分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
9 B; d( E$ {& ?6 D! v3 e5 P4 {5 f! J! I% F
  1. [PHP]
    6 b  H/ E- _& \4 `( J7 U: s
  2. % W* ]# i& L8 J
  3. ;;;;;;;;;;;;;;;;;;;
    : {' j8 g/ E8 t6 Z  d2 \8 S5 g! |/ [
  4. ; About php.ini   ;  Y% ]) P- W% S7 S; t9 R
  5. ;;;;;;;;;;;;;;;;;;;9 @/ o7 u8 m5 V0 S$ |9 {
  6. ; PHP's initialization file, generally called php.ini, is responsible for! R% b, o! V/ D
  7. ; configuring many of the aspects of PHP's behavior.) J4 |' g, Y# o6 a+ c8 s8 F& W" H

  8. 2 ~; F1 ^4 Z2 d% S; ]5 y7 x0 w
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ) W& _  @9 q' ?7 s1 V$ @
  10. ; The following is a summary of its search order:3 Z  A" X, Y4 q/ B+ p+ z, _+ P
  11. ; 1. SAPI module specific location.
    - {0 B' w; ~) `' }) S8 D
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    , u  C0 B3 j4 ^, F6 K, [
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0), ?/ z) h4 [6 i& s% N
  14. ; 4. Current working directory (except CLI)
    $ q: S$ _* t  t
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    6 S1 W0 I- R) T, ~& K- p, o
  16. ; (otherwise in Windows)
    . k6 V1 N2 l  K/ B  L# j. z
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    - T! @* ]' F: I1 `- H# Y
  18. ; Windows directory (C:\windows or C:\winnt)
    # K- C0 H( k9 j' t6 g% D. T
  19. ; See the PHP docs for more specific information.3 `. [3 r4 B  b6 L
  20. ; http://php.net/configuration.file0 U$ ~% B- B& a- Y2 i  B: U  \, p

  21. 3 `4 T" z$ S7 v
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    0 g8 ~9 N5 Y3 X& e  x+ B
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    + ?: }" P' j$ n; P3 s
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though/ f; p4 C1 f& V. O0 y, K
  25. ; they might mean something in the future.
    & ~' _/ S4 M% N8 A

  26. 4 j7 k# F. \  ^* J6 t  k
  27. ; Directives following the section heading [PATH=/www/mysite] only" k7 E: m' e5 V: X
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    / x* _; H# }7 r* J
  29. ; following the section heading [HOST=www.example.com] only apply to, N, L& Q) X0 j/ q$ T! @
  30. ; PHP files served from www.example.com.  Directives set in these9 n7 r4 Q- a2 Z) c1 k
  31. ; special sections cannot be overridden by user-defined INI files or; B. v% ]! Z& i8 c% Q, M3 L
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under8 @9 i3 m8 X* e& p
  33. ; CGI/FastCGI.
    " a& x* C2 r0 g; R% }
  34. ; http://php.net/ini.sections
    ' ]1 ^$ ^* Y4 M

  35. ! V8 V- t' S' _! @  g9 P5 m- l: C
  36. ; Directives are specified using the following syntax:
    ) _' c& M  b, M1 d1 @+ O* e3 X
  37. ; directive = value
    . ]6 L! W- U6 @8 B  B
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ( u: P7 ^! l- f6 D- |# a
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ( f$ W$ q  r, G" o, y) H# A
  40. ; There is no name validation.  If PHP can't find an expected* E  v. m( X" N1 G; K- g  K
  41. ; directive because it is not set or is mistyped, a default value will be used.+ Z* C$ M9 A) L. X  M, K
  42. 3 d$ s+ T0 w6 s& e# h
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    - |1 t+ Z; `7 S7 t/ R& j
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression: S" n7 Q5 w* x
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a4 X( @2 D$ B6 @/ `) A% L3 A
  46. ; previously set variable or directive (e.g. ${foo})2 I- `% y4 h2 \3 R
  47. " Z% F5 k" d; V- ]) |
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:% Y. e4 E1 C: d; j$ |5 k+ [2 {
  49. ; |  bitwise OR5 y0 J% k9 i' ]6 @: L5 g+ \
  50. ; ^  bitwise XOR: s1 I" j9 ?3 f/ W. _5 W: {% e# q
  51. ; &  bitwise AND0 S% D2 m2 t4 l0 _, ~% e! L
  52. ; ~  bitwise NOT
    9 d4 g' ~) a5 x2 ?/ {4 M  H. _
  53. ; !  boolean NOT1 l! Z# x1 ?; j3 y; C
  54.   i6 u9 b( D1 j4 w* L
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.- C0 @/ B3 m5 \' A/ {; J, G
  56. ; They can be turned off using the values 0, Off, False or No./ i3 S) A3 t) D- t# F" r- w. m

  57. ( ^: x2 Q+ Y5 R* Q6 E) L
  58. ; An empty string can be denoted by simply not writing anything after the equal: N( b7 r8 i% a  a- y! b
  59. ; sign, or by using the None keyword:
    . [$ r& R. t: p5 i4 B+ h2 \
  60. 0 ?" o  f- p* v
  61. ;  foo =         ; sets foo to an empty string
    6 M$ V- ]7 T  m1 L1 C" k
  62. ;  foo = None    ; sets foo to an empty string; g) O" j; h. T3 w- o4 Y
  63. ;  foo = "None"  ; sets foo to the string 'None'
    0 N4 H5 k2 `1 E- o
  64. % Y  M1 d" O. t6 [$ y# N- b- s
  65. ; If you use constants in your value, and these constants belong to a3 w- ^* v' @( ?  C7 T  d
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ! ^/ h! m/ x" N& _; t, V5 c
  67. ; you may only use these constants *after* the line that loads the extension.
    # \* e( K: V) k( M9 E
  68. # t! ~4 N+ N# S% }6 V! w
  69. ;;;;;;;;;;;;;;;;;;;' c7 D: |# ?/ p
  70. ; About this file ;9 C" S, w- O/ q0 {
  71. ;;;;;;;;;;;;;;;;;;;; a  x7 P' x& @& C
  72. ; PHP comes packaged with two INI files. One that is recommended to be used( P/ y( R7 a1 S9 m9 z( i8 i
  73. ; in production environments and one that is recommended to be used in
    , w0 L" @# Q! U6 ^! G: M
  74. ; development environments.
    * K, m+ |! a0 d5 B, `+ v4 c
  75.   \* p; g  ?1 b, B, P/ H6 c
  76. ; php.ini-production contains settings which hold security, performance and
    ; G* `( a. }; ~* h
  77. ; best practices at its core. But please be aware, these settings may break
    5 F9 Z& h! [. D3 F1 M3 |
  78. ; compatibility with older or less security conscience applications. We6 l) D8 I6 P# K' z) _% H
  79. ; recommending using the production ini in production and testing environments.
    ) Q9 {0 y+ c  F' P2 i
  80.   N; d) H1 y3 c: s
  81. ; php.ini-development is very similar to its production variant, except it is' E. l% W' h6 D6 V
  82. ; much more verbose when it comes to errors. We recommend using the
    % m9 H' l' U/ k1 I" A7 Q) J
  83. ; development version only in development environments, as errors shown to
    0 i, \; d  \7 Q/ B  X4 _$ X
  84. ; application users can inadvertently leak otherwise secure information.
    6 N' T8 {' |# s2 u. o$ R. E

  85. 9 Q& e/ L$ Q1 ~" q: U
  86. ; This is php.ini-production INI file.4 C7 E# p8 Z* s
  87. 4 J- K& F/ y* a* b
  88. ;;;;;;;;;;;;;;;;;;;
      y4 K- k  w& V# D6 p% f4 ~
  89. ; Quick Reference ;
    4 Y% @9 Q: C* o1 A
  90. ;;;;;;;;;;;;;;;;;;;
    3 V. B/ B4 R0 N, o( J& q- `
  91. ; The following are all the settings which are different in either the production
    ) A- X' m# d% X' K9 [7 B
  92. ; or development versions of the INIs with respect to PHP's default behavior.4 t, U; q2 r, c3 e, ]  Z
  93. ; Please see the actual settings later in the document for more details as to why5 O, m1 {9 O; N) P8 b, w
  94. ; we recommend these changes in PHP's behavior.
    5 ^' K; G0 [2 O2 P

  95. " X( _/ J) p4 U5 H. f& i$ l
  96. ; display_errors
    6 d; E  G- }1 Q7 g( ^, y0 Y4 J0 ^
  97. ;   Default Value: On
    ( F9 a6 A! B( g' x
  98. ;   Development Value: On$ p, w$ F$ @- O' k4 e' m4 H
  99. ;   Production Value: Off9 t6 b. G3 a' l
  100. + q3 L/ P# l( n& S% B
  101. ; display_startup_errors
    . v* F" c, {* }% f* t
  102. ;   Default Value: Off, b0 |0 t- c- I  W* M& {. ^4 W4 \: [
  103. ;   Development Value: On8 \2 Y  r7 |1 E; n) L
  104. ;   Production Value: Off
    ' K' ~& V5 G) f: Q" L6 w" S
  105. ; q) S% g/ {6 _( C# J
  106. ; error_reporting
    ) G% j" o7 Z2 r! X+ q: a
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , ?) M7 R, d- g1 z! O' n7 ^# M" o
  108. ;   Development Value: E_ALL. c* k/ R; ]. @
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % x% N4 R0 X, C$ c
  110. 0 A. K8 s5 V" A( f
  111. ; html_errors" i4 w8 x+ ^* t, j$ k! q; u
  112. ;   Default Value: On
    $ s4 x0 Y3 p4 C5 S! N1 W
  113. ;   Development Value: On
    4 ^! B% N0 S1 h0 ^' F- p
  114. ;   Production value: On3 b3 d. u* [3 W  p' u4 J( U
  115. - n) f% M0 C8 t5 @7 J( n: z4 w
  116. ; log_errors* U  I7 w# T9 l8 ?/ D- T' I
  117. ;   Default Value: Off3 C9 J1 A' e4 V7 X  v
  118. ;   Development Value: On
    , |( }: v" @5 V
  119. ;   Production Value: On; ]% f7 ~" a, k) s$ I0 U, y
  120. : c: O/ \) b( a. S% Z
  121. ; max_input_time1 z2 K' m  Y. W$ B
  122. ;   Default Value: -1 (Unlimited)
    7 s& a: i. G8 _+ Q4 D# N0 ~, C
  123. ;   Development Value: 60 (60 seconds)# J7 y2 p; r1 {! u8 e8 l$ g5 c# V
  124. ;   Production Value: 60 (60 seconds)
    % k4 N& y% G$ e' T) \$ @+ j& W& L
  125. " ^. ?3 ]; S! E$ Q# D7 y
  126. ; output_buffering% ^9 J* S4 D& u, ?7 R- `
  127. ;   Default Value: Off
    : Q$ g& u0 p+ W, R: X* F
  128. ;   Development Value: 4096# ^' Y! K3 u4 s
  129. ;   Production Value: 4096+ ?/ `4 q) `7 j4 K

  130. & C# E+ v" I& i' ^1 u0 u' Y. M" H
  131. ; register_argc_argv- `6 g5 F8 |. D( B
  132. ;   Default Value: On
    5 e: N8 L! {. Q
  133. ;   Development Value: Off2 X- M  ?. e. q& h
  134. ;   Production Value: Off
    % S( k8 ?* ^# I! \9 t4 t
  135. 1 A( |+ V' ~) S( j+ J5 `# e
  136. ; request_order
    9 }8 W+ q+ E" A  B0 B5 k* [& c, C
  137. ;   Default Value: None" g$ F' f5 i4 G" n
  138. ;   Development Value: "GP"& P" U6 x4 f3 |0 {/ y5 U; l
  139. ;   Production Value: "GP"% v: \, E) e( D9 U5 ?

  140. % k& d9 q2 P& P9 {# r' }- b
  141. ; session.gc_divisor
    " c( }; Y7 s$ v0 g
  142. ;   Default Value: 1003 Q7 X9 l8 t) v+ h& i
  143. ;   Development Value: 1000
    ' y* @1 Q; C" c  \: |) [; |  y
  144. ;   Production Value: 1000) H, Z1 q* u& K- n; @

  145. : j! c' z. X& a. b1 P, y
  146. ; session.hash_bits_per_character
    ) i1 ?0 x$ \1 [2 H6 y1 N' p0 F$ o
  147. ;   Default Value: 40 M0 T- c2 \) K. _; t: X1 T* a
  148. ;   Development Value: 5
    * o: q! X) w& Q2 m& ~& [/ u
  149. ;   Production Value: 5
    : ~% l) z. V+ P4 k1 H

  150. - X1 m5 j6 B- X; T
  151. ; short_open_tag
    % m4 c8 V0 V2 H5 C. ~" r7 e( e0 x
  152. ;   Default Value: On
    8 G5 Q( u! R. T7 t$ p* q+ g& U
  153. ;   Development Value: Off+ ?  J7 e0 H+ H. r7 b
  154. ;   Production Value: Off; x' C/ ~# S9 ]  c0 M
  155. ) N3 y- O. @  b( N  l1 j
  156. ; track_errors
    0 f4 q. M9 [6 g8 O) H' r
  157. ;   Default Value: Off( i" e8 D  k2 b( R9 l  |# |; H0 f3 K
  158. ;   Development Value: On0 C! p+ N" K/ I9 d1 ?
  159. ;   Production Value: Off
    / X# @" n  t% h1 v- u

  160. 8 \( y$ Y+ ~0 U" C' p
  161. ; url_rewriter.tags
    + w* e* J  E! e) j4 z& X. w. t
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    5 Q6 y( w$ P1 E+ x1 V( C( q7 a
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : G8 j' x3 j% A5 l
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry": ^( ?! K! p- H: F3 `0 G
  165. 3 d- A( G4 G% b% z4 q6 z
  166. ; variables_order
    ) _( d2 w! ?$ }4 Y
  167. ;   Default Value: "EGPCS"
    & F. e* Z3 p* ]4 R% ]
  168. ;   Development Value: "GPCS"
    + ~+ N3 [7 V, d
  169. ;   Production Value: "GPCS"
    4 Y7 s9 N6 b+ e  m( D# w1 ~0 T6 i+ X
  170. & ]0 |' V6 M8 k2 X6 T
  171. ;;;;;;;;;;;;;;;;;;;;5 X& m: G" ^: z4 o( P2 {% E. y
  172. ; php.ini Options  ;
    ) t+ i- z- }5 \8 E) |0 ^& }; _
  173. ;;;;;;;;;;;;;;;;;;;;6 _4 y6 ~  @% t$ x; |1 J
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"# B0 B# k$ F2 m1 z8 L- C7 [) P
  175. ;user_ini.filename = ".user.ini"! c! l6 i% W- i- |5 Z9 c) [$ j+ {
  176. , R: L% e( S9 \  @8 a' z' `5 g
  177. ; To disable this feature set this option to empty value0 h3 Y% t+ e# I' ?5 T
  178. ;user_ini.filename =
    # w* w" A: z3 Z: d

  179. ( L* @. _& K5 X( {
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    7 |4 C" u6 x( i$ \
  181. ;user_ini.cache_ttl = 300
    , |! K$ a9 Z, `- w, {. w% s. z
  182. % q  b( C5 j) Z& w5 e% o
  183. ;;;;;;;;;;;;;;;;;;;;; U/ I8 t6 l, ?) N+ c% d
  184. ; Language Options ;4 N* _! {+ U6 N. F( _0 t, V
  185. ;;;;;;;;;;;;;;;;;;;;
    6 ~/ |6 q5 p8 p+ E  o2 C- o( |+ O
  186. 0 p' ^! K6 P3 J' c; J* X; z2 ^
  187. ; Enable the PHP scripting language engine under Apache.
    : A1 i# L: p% n7 j
  188. ; http://php.net/engine
    $ z. y$ c' p# o0 p) S1 W
  189. engine = On; O0 C6 i. j# e

  190. . F9 o( @: ^; ^0 A/ o; _0 T, O5 x
  191. ; This directive determines whether or not PHP will recognize code between, p6 s2 Z0 {. N# u! v, J
  192. ; <? and ?> tags as PHP source which should be processed as such. It is' X! F3 `) r+ y1 l0 r5 E
  193. ; generally recommended that <?php and ?> should be used and that this feature! E+ M. _- W- ?# o7 c4 [" d
  194. ; should be disabled, as enabling it may result in issues when generating XML  y/ ]: y- ^" M
  195. ; documents, however this remains supported for backward compatibility reasons.* y' O' [" d3 _2 t
  196. ; Note that this directive does not control the <?= shorthand tag, which can be) V* v1 S% e4 t  L  |
  197. ; used regardless of this directive.+ w/ [3 g% V* g+ j" I+ C
  198. ; Default Value: On+ Z" H/ F$ A" J* z
  199. ; Development Value: Off
    1 z+ M( ~" x: h
  200. ; Production Value: Off
    # }# Z$ _9 J3 q* C
  201. ; http://php.net/short-open-tag
    & i: U, k( J8 x1 K/ o- N) p9 P
  202. short_open_tag = On
    # n2 v; F# F& M+ Q
  203. # P1 C7 ~" d9 Y
  204. ; The number of significant digits displayed in floating point numbers.; b% `( u/ i; s! \
  205. ; http://php.net/precision) P9 ?) G8 m$ j( T* V
  206. precision = 14: H! b2 d. x+ q! C$ B  R/ k
  207.   S/ X# D) ^3 f) B* T
  208. ; Output buffering is a mechanism for controlling how much output data7 x4 V) x+ I1 b: q- a
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that+ P# l* x5 N& S* K0 F# x3 X
  210. ; data to the client. If your application's output exceeds this setting, PHP
    7 ?0 z7 W3 b' b) b& p! m% _# J- G6 K
  211. ; will send that data in chunks of roughly the size you specify.
    + {) h. O% w- `2 S0 N
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    ( u( N; [) U# Q# y! X& V
  213. ; interesting side-effects depending on your application and web server.) q7 i* ?1 Q3 H
  214. ; You may be able to send headers and cookies after you've already sent output5 |! D( {9 L# Z7 I& |
  215. ; through print or echo. You also may see performance benefits if your server is5 J  w3 a: F, \0 f6 |* A3 V- n, P
  216. ; emitting less packets due to buffered output versus PHP streaming the output3 b+ ^7 I- v, H3 z, n8 B
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    0 ]* |- J* x) L3 K* J1 D7 D
  218. ; reasons./ E5 v( C' }/ ?% J- s; W( o
  219. ; Note: Output buffering can also be controlled via Output Buffering Control7 _- j. ?$ G2 u; ~& G& a1 ]
  220. ;   functions.
    ( M. K3 F- c" d+ ?3 R4 ]/ [
  221. ; Possible Values:
    8 B  G  Z4 G' F* q
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)* x; W1 E$ i* O, U
  223. ;   Off = Disabled  _- o1 j8 s0 C
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.- s- u, x1 \5 l" ]% Z
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    5 k! d, r% @9 W' |# s( w) |
  226. ; Default Value: Off
    9 z* G) u8 F1 l- r
  227. ; Development Value: 4096
    * b- T: q0 h0 ~
  228. ; Production Value: 4096
    * Y: q( e9 I& t3 f9 z6 \8 {1 L
  229. ; http://php.net/output-buffering7 c9 Z6 `. ]9 q2 O0 t, e
  230. output_buffering = 40963 s# Q2 q& Q$ h/ a' v/ T

  231. 8 ]8 X! X( h1 a4 C/ T5 I
  232. ; You can redirect all of the output of your scripts to a function.  For
    , R& v1 a) B) C8 ?* F. j4 z
  233. ; example, if you set output_handler to "mb_output_handler", character- g. B+ f* J8 s; a* J  F
  234. ; encoding will be transparently converted to the specified encoding.
    ! A& J# y. G7 j; z; V
  235. ; Setting any output handler automatically turns on output buffering.
    ) V+ B  v3 D  z4 V! h' N& n; d, C
  236. ; Note: People who wrote portable scripts should not depend on this ini- u& Z  ~6 j8 ]3 V, F
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
      a% H+ u+ H& w9 {6 M. `; ~  B
  238. ;   Using this ini directive may cause problems unless you know what script
    & V# L/ q' e5 c7 w- G' a! o
  239. ;   is doing.
    8 n, x- ]: ~+ g- u$ W+ J
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    / n: Q  V+ {* y  M
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    3 `' g, v% h! ?2 ]3 H
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    2 ]* o7 e! _/ Y% _2 n# Q. P% }, d
  243. ;   Instead you must use zlib.output_handler.
    / Z- K% d% d+ u" I9 Y
  244. ; http://php.net/output-handler; ^3 l5 }8 A3 y- L
  245. ;output_handler =
      @$ c, H* I( e0 o4 Q7 U6 X3 z" w
  246. 8 M# O- A7 p; @; T2 F
  247. ; Transparent output compression using the zlib library
    # u- L; Z" h6 [! c. P5 K( Q
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    7 p) V* u5 c* [, q( W0 I7 z
  249. ; to be used for compression (default is 4KB)% \8 Q7 |1 f3 f
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    % }0 }# q$ K; w, H
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    ! I  `7 N7 f. R; N' Q
  252. ;   compression. If you prefer a larger chunk size for better
    ' @8 q3 e9 o/ J: v
  253. ;   performance, enable output_buffering in addition.
    ( R; X8 Z) J3 t
  254. ; Note: You need to use zlib.output_handler instead of the standard
    5 q& ]. d. ]9 R2 f2 C  }1 P/ D
  255. ;   output_handler, or otherwise the output will be corrupted.
      S, r1 Y4 A) v7 _+ [& N
  256. ; http://php.net/zlib.output-compression% B( N! V4 U1 f
  257. zlib.output_compression = Off
    * k- a" T  f0 [# q
  258. + g1 ~! d) p! M8 d, z
  259. ; http://php.net/zlib.output-compression-level+ d# V. Q$ k; B! X! S+ O
  260. ;zlib.output_compression_level = -1' p2 Y7 r% h5 B
  261. ! H  A7 F4 y. K( Y
  262. ; You cannot specify additional output handlers if zlib.output_compression
    / k3 Q1 f; g$ k) i
  263. ; is activated here. This setting does the same as output_handler but in
    * s6 a$ l6 |; Z( ^9 C
  264. ; a different order.
    ) v  L# k" u+ _  x: U/ Y
  265. ; http://php.net/zlib.output-handler
    * o" i( s9 {) e- {
  266. ;zlib.output_handler =
    , y4 C; a; V" S9 y

  267. / Y0 G" @  x4 l+ q6 S6 c7 E
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    & X; U& Y' Y2 f! e
  269. ; automatically after every output block.  This is equivalent to calling the
    8 r: |1 F' _' k) _8 L7 d
  270. ; PHP function flush() after each and every call to print() or echo() and each
    ' v/ a, |0 q8 z  G" P2 }
  271. ; and every HTML block.  Turning this option on has serious performance
    ) C6 {4 ?) M% v7 z' ^& C5 N
  272. ; implications and is generally recommended for debugging purposes only.
    1 ^5 C; l/ B7 |
  273. ; http://php.net/implicit-flush2 C3 e- F8 P0 \' [( ^" ^
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    # ^. K6 ~# ~2 z& G
  275. implicit_flush = Off( Y. E/ v/ o. \5 y8 x

  276. ! E" i- X7 w- v5 k
  277. ; The unserialize callback function will be called (with the undefined class'* q# x, A, ^$ h4 {
  278. ; name as parameter), if the unserializer finds an undefined class
    # G% ?" c& o" g8 m7 b
  279. ; which should be instantiated. A warning appears if the specified function is
    1 F6 C$ O! o, l; }
  280. ; not defined, or if the function doesn't include/implement the missing class.3 M2 t" s8 @! Q9 w: O/ O
  281. ; So only set this entry, if you really want to implement such a
    - D8 V. n- F+ ~% Y* B4 o' y
  282. ; callback-function.- _" I8 a$ p7 C% S- Q' |4 s8 \9 b
  283. unserialize_callback_func =+ Y+ I4 x5 l7 j' @7 c# o. ^. I
  284. ! y. g* O' ?! c% Y+ l; j7 [* V
  285. ; When floats & doubles are serialized store serialize_precision significant- I* [# d  C9 E6 C% Q
  286. ; digits after the floating point. The default value ensures that when floats
    + r7 p& P# y6 v2 U3 y/ w9 D
  287. ; are decoded with unserialize, the data will remain the same.2 c# u# B8 o5 W1 \
  288. serialize_precision = 174 q* p" X' ?: i- C1 [

  289. 1 P) b9 I- g6 w  p2 ~' c% K
  290. ; open_basedir, if set, limits all file operations to the defined directory2 T2 g! l; t3 g. [
  291. ; and below.  This directive makes most sense if used in a per-directory7 h7 L0 U$ G6 N/ }  O: Z
  292. ; or per-virtualhost web server configuration file.& m5 }+ J* K2 |: N0 V
  293. ; http://php.net/open-basedir& v& e# z, b: \
  294. ;open_basedir =/ m0 A- d. X' I. H; y1 X

  295. - F9 M+ P( z2 p  U3 g
  296. ; This directive allows you to disable certain functions for security reasons.: {8 P' u! ]1 C2 h9 c
  297. ; It receives a comma-delimited list of function names.
    1 g7 b' W- {) U- @; O
  298. ; http://php.net/disable-functions4 J3 g4 A4 A' w. A
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    4 c/ r. s: J; f
  300. 6 q  e* e9 {7 Z/ V
  301. ; This directive allows you to disable certain classes for security reasons.
    9 R6 |. Q5 I; E! C, a" w2 d
  302. ; It receives a comma-delimited list of class names.
    + e9 g1 O3 T* @
  303. ; http://php.net/disable-classes
    + Y3 d! J, e7 b5 `: Y
  304. disable_classes =
    & h+ A' w5 N6 r8 a% x
  305. 6 e2 F+ e+ _" e) O
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    8 V" `0 Q# O/ E" R$ i4 G: w+ L
  307. ; <span style="color: ???????"> would work.
    3 P- }0 Z6 b/ w2 [4 r' D
  308. ; http://php.net/syntax-highlighting. t+ _- K% Y& Z  r( U
  309. ;highlight.string  = #DD0000
    8 u# Z1 R$ G9 x2 r" N
  310. ;highlight.comment = #FF9900$ p4 P' X, M* o, @
  311. ;highlight.keyword = #007700
    ( c- F) l: U& `+ n
  312. ;highlight.default = #0000BB) e  R9 t( }2 w9 ?; n! N) P
  313. ;highlight.html    = #000000# {* [: f6 E9 g: f

  314. 0 X" D4 D6 k. k, H2 @' ~. f
  315. ; If enabled, the request will be allowed to complete even if the user aborts, Q" }5 S' l+ Z' R" M# D7 m0 ~3 X
  316. ; the request. Consider enabling it if executing long requests, which may end up
    4 n0 |( |" q+ B) W" L, t& c
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    % Y8 ^. ]; U" m+ l3 U5 A0 x- j5 O
  318. ; is to disable this feature.! A1 N- I7 h8 s% W4 C3 Z/ i
  319. ; http://php.net/ignore-user-abort7 o. G. }# I3 b! _1 a2 ^( e
  320. ;ignore_user_abort = On$ W  Z" w* `1 j0 n6 J4 {: t/ ^
  321. - _1 x8 c5 L; ]! r3 h
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    7 [. B1 e% A1 O, v+ ^0 y7 m
  323. ; be increased on systems where PHP opens many files to reflect the quantity of2 y* p0 S2 w' L- M0 C9 W
  324. ; the file operations performed.$ o+ L0 U8 j) x# M
  325. ; http://php.net/realpath-cache-size
    , Q3 Q' q/ V8 \* D
  326. ;realpath_cache_size = 4096k
    * O" B* c! A- j

  327. - m6 J: i1 a& }( W# B
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    7 g) G/ E  C0 }+ K7 M: w0 V
  329. ; file or directory. For systems with rarely changing files, consider increasing this/ \8 M9 b. o# P7 f# l. V0 y
  330. ; value.
    / Q4 A0 @9 K4 l, k" j* T
  331. ; http://php.net/realpath-cache-ttl
    / j: S2 I* ]5 J  F" J* y
  332. ;realpath_cache_ttl = 120
    / G+ J8 `4 f1 V( N$ u8 Z
  333. / z2 P" t6 N+ R8 v( h+ V
  334. ; Enables or disables the circular reference collector.
    % I# {+ i5 M: E5 Y- N2 V5 F6 d& i
  335. ; http://php.net/zend.enable-gc2 G( X2 o& P, m3 J
  336. zend.enable_gc = On
    ) L) a5 n7 A/ ^( ?& m/ i8 `: o$ Z

  337.   I9 v1 |1 n' m5 b/ B
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    & p% {4 D6 u% \8 ]& i
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    / Y! ^2 F! E2 d0 o5 h$ I
  340. ; encodings.  To use this feature, mbstring extension must be enabled.6 U( \+ ~9 G0 w! a% W* w5 B
  341. ; Default: Off# k" y& i, X, }3 i
  342. ;zend.multibyte = Off% l2 ~8 v( P8 c( j
  343. 4 C" n/ w; r, }6 D( T8 x. `, `
  344. ; Allows to set the default encoding for the scripts.  This value will be used* b, E8 ?7 B/ D& ?7 b
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    - c! d3 r8 J3 Y
  346. ; Only affects if zend.multibyte is set.7 ^: \! n) T1 X+ g; i; h0 f
  347. ; Default: ""* U, J) S$ |, [% n' x8 Q
  348. ;zend.script_encoding =+ X* {: P1 \6 a8 _8 l) h3 g! ?

  349. ) f# X. e5 ~4 Z+ k' r  Q& v
  350. ;;;;;;;;;;;;;;;;;
    9 c4 `( L; f5 K4 A# m
  351. ; Miscellaneous ;2 t" X- \7 @4 M% M* P
  352. ;;;;;;;;;;;;;;;;;# \+ g- W% N/ }+ k# U( J

  353. 2 n" x& g' ]2 K. `
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    " @% l# v2 S% W6 t1 d
  355. ; (e.g. by adding its signature to the Web server header).  It is no security' }. h# {) i6 t+ I7 N
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ; E+ U: b8 B2 V. I
  357. ; on your server or not.
    0 N0 B) \8 X/ t" d- G) ?$ P
  358. ; http://php.net/expose-php
    : w8 I* I8 q1 v9 y. k- t* \4 Q% D
  359. expose_php = On% K& t. |3 i$ ~3 j2 W1 Y

  360. & R7 G( T$ @$ r1 g4 c3 p! l
  361. ;;;;;;;;;;;;;;;;;;;. z& E  w3 H9 T
  362. ; Resource Limits ;
    * U' F' h3 R: q, ]8 p5 {& e
  363. ;;;;;;;;;;;;;;;;;;;5 u# x5 h5 i! S& Z/ y/ B

  364. ) |* f1 X1 ?5 @/ X3 X2 ]+ q/ u3 G
  365. ; Maximum execution time of each script, in seconds' _! l/ k+ o7 h7 L; }7 o& w" U
  366. ; http://php.net/max-execution-time7 l, f! m8 {- |# X" p. |! Y
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI+ m" L, b+ ^3 e6 L+ [$ X3 k
  368. max_execution_time = 3001 v+ e5 m+ N( h

  369. " ~! q6 N$ C, F2 z+ b" I; \
  370. ; Maximum amount of time each script may spend parsing request data. It's a good* t" i$ V! X5 \2 P
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly3 @. |+ K% x6 z* [- z# h( g( ~
  372. ; long running scripts.
    # {; U$ v0 ?6 A$ I
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI" f4 ]: [* ]5 A5 @- D7 J" \
  374. ; Default Value: -1 (Unlimited): ~8 K; e+ ^- x1 _# Q. _6 K! J
  375. ; Development Value: 60 (60 seconds)9 K# h$ U" M, t
  376. ; Production Value: 60 (60 seconds)- e' K* o: y1 r# Z  D& `' U
  377. ; http://php.net/max-input-time
    9 G  S" K5 t& ~& s: q: r& v- A) A
  378. max_input_time = 60
    ' I# A+ `  j5 u& O5 u* [8 j0 R

  379. 1 {' I# F7 J2 [" N/ K6 B' q$ S+ c
  380. ; Maximum input variable nesting level( K; X5 c. G" Y$ W" B! l0 [) a
  381. ; http://php.net/max-input-nesting-level
    ' p& \  s  z* t( Y
  382. ;max_input_nesting_level = 641 }. r" y! e$ H- f" L6 n

  383. , }5 i  [' q. c6 b
  384. ; How many GET/POST/COOKIE input variables may be accepted
    0 r! G0 Q$ s  h
  385. ; max_input_vars = 1000
    - @4 c. W3 [- J& @7 [" y2 ]
  386. & a/ W, K7 |! [% b& ~1 U5 k
  387. ; Maximum amount of memory a script may consume (128MB)+ ?! Z' r: a5 V4 s" p3 @
  388. ; http://php.net/memory-limit8 u4 ^8 |; v( z' r1 I
  389. memory_limit = 128M; c  e, t0 G! u( U, w3 Q6 K
  390. 3 l7 u7 t% q, U0 {; Z  L
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    # G! ?- u9 [3 @. ^; w5 V) F
  392. ; Error handling and logging ;
    : X4 G( [' G' i# x1 y, d
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;! I- ~" C) ]  @0 U8 q- F
  394. & f! e# `& Y0 k! I+ m  o; b- D
  395. ; This directive informs PHP of which errors, warnings and notices you would like( ~; G1 }  S5 j2 ^* U! q( Q. |
  396. ; it to take action for. The recommended way of setting values for this9 Q, k- u6 d0 r( t. F5 e
  397. ; directive is through the use of the error level constants and bitwise; O4 y. T$ \9 c3 R5 x; L6 ?  ^
  398. ; operators. The error level constants are below here for convenience as well as
    8 t1 w" D3 ?! `- y. S$ A& Z
  399. ; some common settings and their meanings.
    ( F1 y- k2 n) D1 \7 e8 }# j
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT) z3 J- j* l1 I' s
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and5 U1 I4 [4 A* y' j; V. v9 o
  402. ; recommended coding standards in PHP. For performance reasons, this is the8 F2 j9 W) {1 ?  S
  403. ; recommend error reporting setting. Your production server shouldn't be wasting) b9 r$ |1 L# V) C+ j7 c
  404. ; resources complaining about best practices and coding standards. That's what1 E* A: U% ?/ X. u4 A3 I
  405. ; development servers and development settings are for." B+ g( @- i& X2 [& G: c
  406. ; Note: The php.ini-development file has this setting as E_ALL. This2 m5 c* Q$ G/ V4 [$ R
  407. ; means it pretty much reports everything which is exactly what you want during4 E; {! E$ \! j' k; {# E6 J
  408. ; development and early testing.
    % Q: F; l$ p9 ]( _4 M
  409. ;
    6 G' P! I/ a' q4 U" Q2 D, `) ~
  410. ; Error Level Constants:
    6 f6 t2 [% W$ Y$ @' @3 h% H" P; [
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    4 I' K9 R4 _! [+ }% ]2 B3 E* d
  412. ; E_ERROR           - fatal run-time errors* {1 z& K; b3 Y: l2 Q& m+ ~
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors: j+ r- f( Q3 O$ Q
  414. ; E_WARNING         - run-time warnings (non-fatal errors)! j$ A% N+ M3 b/ y/ A1 |
  415. ; E_PARSE           - compile-time parse errors
    4 ?4 v1 Z/ y7 W2 b1 u. o8 f
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ' E2 P. b2 c  _5 Z. s* v4 p
  417. ;                     from a bug in your code, but it's possible that it was
    4 G" W* D! l/ k7 N
  418. ;                     intentional (e.g., using an uninitialized variable and% i7 g" a6 J" ^+ j/ T
  419. ;                     relying on the fact it is automatically initialized to an# D8 i0 i0 a" @$ m
  420. ;                     empty string)
    * J  J* r2 `$ `9 ]
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    8 M0 s& O5 b& {( ^. |) \. b
  422. ;                     to your code which will ensure the best interoperability$ n) `/ x% o3 {& A
  423. ;                     and forward compatibility of your code# m. e/ I5 q3 I& i- Q( `" T9 Y7 w
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    9 Y2 U5 R* J% L0 s' }' i9 o5 T
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's: v; w+ K& v8 ]6 Z; F
  426. ;                     initial startup9 u- G6 G2 e; |  E" b9 }: i
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    2 B# N! d6 L  E0 Q/ h# ]* `
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    $ c2 ?* Q- ^0 x( D
  429. ; E_USER_ERROR      - user-generated error message8 X9 l, n7 U; n1 _. |
  430. ; E_USER_WARNING    - user-generated warning message
    7 w: R( y* _3 z: n, v2 V
  431. ; E_USER_NOTICE     - user-generated notice message+ I, w# T3 }1 I! {, H1 j  w! `
  432. ; E_DEPRECATED      - warn about code that will not work in future versions. ^3 s& m' t- `! L# r
  433. ;                     of PHP
    2 S, N! [$ \% W& E7 o9 A9 ]
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings& {- j$ y) K, |* b. V  Q2 O( Y
  435. ;0 ]$ c  c/ D! |
  436. ; Common Values:1 w9 U' }8 D' ]7 V+ @9 L
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)8 Z3 p& \9 Z% z/ v. A' j' ]( t, @! m
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    * {0 w8 U; E( C. V* {' t( N: S3 f
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)# _+ e: k5 N: O/ Q. a
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    2 P2 f' ~2 |7 B6 K
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # y* v3 W/ \8 e* b0 G/ G
  442. ; Development Value: E_ALL
    / s% d0 M3 C3 b, h2 K6 J
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, F$ ?; d: n1 c# S
  444. ; http://php.net/error-reporting. p) w# G) h- i  D  x5 o# g
  445. error_reporting = E_ALL & ~E_NOTICE
    4 B% Z, o  h4 }, L

  446. 0 \/ B6 O1 B& s* D
  447. ; This directive controls whether or not and where PHP will output errors,
    * W( E* Z2 A1 o' q7 p7 H
  448. ; notices and warnings too. Error output is very useful during development, but" `* v+ I! c* o3 B* p
  449. ; it could be very dangerous in production environments. Depending on the code/ A& u  F4 T) |8 T9 ~9 F
  450. ; which is triggering the error, sensitive information could potentially leak% x1 i9 e! A" Z7 `! P  N3 Q" o+ D, R
  451. ; out of your application such as database usernames and passwords or worse., g8 a4 @, @7 P6 E  ?0 z# }0 Q6 E
  452. ; For production environments, we recommend logging errors rather than5 {! v* M( c( ]$ b
  453. ; sending them to STDOUT.6 \# ]. X8 w" u; j4 X5 ]# O* q3 J8 k
  454. ; Possible Values:$ w. \5 ^  [+ p: k0 N! h8 K9 ~
  455. ;   Off = Do not display any errors% l+ K, v! i) J4 d
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    $ O% M# \1 L& i: M: w) k
  457. ;   On or stdout = Display errors to STDOUT: I" B0 |: `8 ?, t# p7 T( a, B
  458. ; Default Value: On  Y' j/ {0 l$ F
  459. ; Development Value: On1 m3 n9 g& E1 n# j$ J( c- \
  460. ; Production Value: Off" \1 v- i2 c: z9 [$ r5 g1 O
  461. ; http://php.net/display-errors7 r: X* E+ k0 E  Q3 r& x( X
  462. display_errors = On& t6 Y- i3 O& l* `. X% W" r
  463. & p' r' T7 S, K! y3 b3 F% O
  464. ; The display of errors which occur during PHP's startup sequence are handled
    $ D9 z5 L) w% {! r) F# Q
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    $ _8 d) P3 Q# B# \' ^! H
  466. ; errors from clients. Turning the display of startup errors on can be useful in2 ?+ v" J$ q+ [6 L1 ^
  467. ; debugging configuration problems. We strongly recommend you
    9 r# T. P3 `  E- N( C& x5 k
  468. ; set this to 'off' for production servers.
    1 b" [, C0 G) h1 a2 V* K8 H
  469. ; Default Value: Off
    # t4 D! S( A7 C' x/ J
  470. ; Development Value: On
    7 S& I% e/ n1 G# I$ m
  471. ; Production Value: Off
    6 Q! m; l0 C9 [! R
  472. ; http://php.net/display-startup-errors( T( Y! X3 S2 r. {' ~3 N
  473. display_startup_errors = Off
    / X3 F/ ^# Q4 j3 A1 Z

  474. 0 y! v2 m) P2 ?! S
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    7 R( z+ X* _3 E! F+ C3 l5 j
  476. ; server-specific log, STDERR, or a location specified by the error_log  c; S: V8 w. S! P: f4 }
  477. ; directive found below. While errors should not be displayed on productions
    % G( R! i! S# L& x/ C6 L
  478. ; servers they should still be monitored and logging is a great way to do that.4 ?% M3 h3 g$ a; R5 x  ?" E& M
  479. ; Default Value: Off
    % [7 D0 E1 E( ]7 y8 o& ]( |0 \
  480. ; Development Value: On' ~( z  ?3 I% n" c& \% h4 H7 }" @
  481. ; Production Value: On7 V) L( x  d  D' \, C9 {
  482. ; http://php.net/log-errors
    8 K& Q0 Q& E! k& i' n* w
  483. log_errors = On1 ]2 C, J0 K/ k' t' o
  484. + [* j) w3 a2 E% p
  485. ; Set maximum length of log_errors. In error_log information about the source is7 h" }! G: M/ l- j$ g
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    : S5 r; c- H% r* c9 Z
  487. ; http://php.net/log-errors-max-len1 R6 e& H" R3 a/ `' _
  488. log_errors_max_len = 1024
    # M+ |) \7 O: L) R" b

  489. : u3 s* I9 k3 ^4 ~3 F) m) R
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    # B/ z; ?* s# g9 ^/ K9 Y+ L
  491. ; line unless ignore_repeated_source is set true.- R) ^$ D/ l0 }6 U: e4 u! Q& F
  492. ; http://php.net/ignore-repeated-errors
    : ]! j5 i: v" c9 N
  493. ignore_repeated_errors = Off
      h5 g* ]7 p& |. ~* \
  494. - S$ Z1 S3 g) C: E6 c
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ; _7 b) N7 d* O6 B5 W
  496. ; is On you will not log errors with repeated messages from different files or
    2 j4 a' C/ J1 t8 `( q  W/ Q
  497. ; source lines., j+ b4 b# ]& V" k. E/ X
  498. ; http://php.net/ignore-repeated-source( P0 _' J$ d( D& W1 d) q4 v
  499. ignore_repeated_source = Off- r' F$ [2 C) U& F& k$ u& A( j
  500. 4 l1 H1 E5 ?/ `
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    # o9 f; D1 ]8 w8 O, J
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    + \1 E+ L! p' I( W. y2 T9 C2 R
  503. ; error reporting includes E_WARNING in the allowed list
    / N0 N4 o1 J5 Z
  504. ; http://php.net/report-memleaks
    ) O5 ^$ o# \' v; L% b1 _, V3 A' X. D
  505. report_memleaks = On5 g9 X0 Y* P& t  r  x. w6 J1 T& ]

  506. ' u6 `3 f$ k# d, T
  507. ; This setting is on by default.
    ' x) r% V- q5 o' j# d' n2 Q$ N# f
  508. ;report_zend_debug = 0
    0 H2 _* T2 l! t; c& R" t

  509. 1 H% F% M" A; `! \
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    0 L0 o9 @* f+ |0 B; @
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    7 A1 ^/ J* N! L; X' g9 M- w
  512. ; however be disabled on production servers.. N# W2 w5 L) Z3 G! G1 r
  513. ; Default Value: Off
    $ d/ ?) F% X0 a1 b% T# {
  514. ; Development Value: On5 }* d) a' f2 F( ]8 r2 Y* o% F- L) _
  515. ; Production Value: Off6 Y# m5 `: D4 y! ~: e
  516. ; http://php.net/track-errors+ T% ?7 _) q0 _6 C+ Q, G  X( l
  517. track_errors = Off
    " x# m: h/ O) X

  518. 0 M- ^" C& _" i. Q7 x
  519. ; Turn off normal error reporting and emit XML-RPC error XML7 ^' x1 q. w! d% [
  520. ; http://php.net/xmlrpc-errors& v2 W6 ?3 t/ u2 c1 z
  521. ;xmlrpc_errors = 0" Y3 l7 L( G# S" h5 w8 J
  522. / F% s' M! X3 M  P
  523. ; An XML-RPC faultCode" D9 X3 }7 h; l/ r* ^) a
  524. ;xmlrpc_error_number = 0  r+ S/ T$ q  N! ~+ C: F* U# ?

  525. . N8 Q9 C1 S. J6 N7 n' \3 H9 I
  526. ; When PHP displays or logs an error, it has the capability of formatting the  z' V$ B+ D, M$ }
  527. ; error message as HTML for easier reading. This directive controls whether
    1 x8 f6 M0 }8 {, X$ x7 v; V' o
  528. ; the error message is formatted as HTML or not.
    - \& ^8 G0 e! F9 e7 p! F
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI1 e( @& K4 I$ s! F
  530. ; Default Value: On3 t& s/ a: P2 T3 W0 z, L
  531. ; Development Value: On
    5 a$ l7 |% P" u  k/ V
  532. ; Production value: On& x1 Z( Y3 Q' G: I- T: q
  533. ; http://php.net/html-errors
    5 x6 h9 ]# S  O- C+ Y
  534. html_errors = On% \- O" i! O; R$ N& H  S7 ?
  535. 6 M& D6 g/ q- \2 B; h* i5 m% {
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP# ]- d7 u. Z8 O6 m8 ^, ^8 A
  537. ; produces clickable error messages that direct to a page describing the error
    2 }" W# Y4 q1 F7 |3 V. @
  538. ; or function causing the error in detail.
    8 w0 x; P: y  f0 j  U
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    $ C$ [  r% C" w% ~* f; @
  540. ; and change docref_root to the base URL of your local copy including the/ @4 M( U, r& u) Q
  541. ; leading '/'. You must also specify the file extension being used including
    2 l% V1 d7 N2 n( j
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    + d1 f: y* o! |( r
  543. ; case no links to documentation are generated.. F( m! m% e! |5 U+ v- @
  544. ; Note: Never use this feature for production boxes.
    ' Q' K0 p( a1 T) Q
  545. ; http://php.net/docref-root
    4 U) G8 T4 V: U8 V, T; |
  546. ; Examples
      W- q# D/ y9 |3 A; [; ^. h  J
  547. ;docref_root = "/phpmanual/"
    + z" K/ r7 z) ~& D0 l" c/ D
  548. 3 U0 a$ g! l! e9 n4 f+ B
  549. ; http://php.net/docref-ext. h7 ~& T" o3 p( m2 c
  550. ;docref_ext = .html" q- {+ o" R; l) |/ k

  551. $ ~$ B$ r9 M1 U7 A4 E% g* b
  552. ; String to output before an error message. PHP's default behavior is to leave
    9 b# d  L+ t  N" `3 [7 K3 E& E
  553. ; this setting blank.8 `- w7 k) A1 B
  554. ; http://php.net/error-prepend-string) r, N& k0 q0 F* C# f- [8 A: x
  555. ; Example:
    ; K; m+ D& T1 t* W; X& H0 |/ y* y
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    " O7 s1 a: |5 J" v6 ]" t
  557. + L- X7 ?- @$ y9 Q( h, `/ c+ k
  558. ; String to output after an error message. PHP's default behavior is to leave) R& I# ]# a) C* G) w
  559. ; this setting blank.
    ( y( }6 O7 r6 I( n  m: r
  560. ; http://php.net/error-append-string  K, T$ |  B+ @
  561. ; Example:
    7 F8 k7 f* q/ I$ @; M7 X
  562. ;error_append_string = "</span>": j: w: f* y& }2 G! R- D2 Q! ]

  563. & h" u+ j; Y4 n# o
  564. ; Log errors to specified file. PHP's default behavior is to leave this value. ^( C0 A  y; Q% J
  565. ; empty.7 a3 g% W/ k) o$ N
  566. ; http://php.net/error-log
    3 S' t& `  |4 [. V  o
  567. ; Example:
    / j3 I; L% K7 ?* D
  568. ;error_log = php_errors.log* b  X- r& d1 ~+ g. {  \
  569. ; Log errors to syslog (Event Log on Windows).
    " i# @$ m/ k/ f# N) C7 V( _
  570. ;error_log = syslog7 T  g& B+ S3 v/ W% V  b- U4 ^

  571. ! s; t9 b* T5 L/ u, ]
  572. ;windows.show_crt_warning2 a  X/ s' i( c  [% X
  573. ; Default value: 0
    5 q$ ~- @$ W8 C* ?
  574. ; Development value: 0: {, R* y0 [! V# S0 g
  575. ; Production value: 0
    . Y: M  z& X8 K1 M2 d$ T

  576. $ x& l& f* }& U! s
  577. ;;;;;;;;;;;;;;;;;
    2 I9 `$ A( g% Z/ _  K
  578. ; Data Handling ;0 s! R/ K3 u' [# _7 E5 g- j% a0 o
  579. ;;;;;;;;;;;;;;;;;
    1 e7 j( H/ Q) i3 J6 y5 J
  580. 5 Y* C4 X: I% C- ~. u& n
  581. ; The separator used in PHP generated URLs to separate arguments.
    ! C0 e1 l: `8 J* A1 ?
  582. ; PHP's default setting is "&".
    ( i% K0 }  P4 x3 ]
  583. ; http://php.net/arg-separator.output4 X6 z; ~: O& R* L- K( `
  584. ; Example:# i" ^6 `# B! a0 A5 ?3 q
  585. ;arg_separator.output = "&"% C" |! ]+ u# c4 u

  586. : k/ ^; \) J* y: w# N5 ]
  587. ; List of separator(s) used by PHP to parse input URLs into variables." i7 W: \6 Z8 s6 f% E
  588. ; PHP's default setting is "&".
    . K' b6 `8 }' q, m. _) r, w
  589. ; NOTE: Every character in this directive is considered as separator!3 P; b  i) K9 O; }" ~2 ?! j$ K/ ?
  590. ; http://php.net/arg-separator.input
    6 n2 q* I* e7 o9 A1 Y
  591. ; Example:
    ' j, d1 @$ N9 Q) P1 m
  592. ;arg_separator.input = ";&"3 y, o# G9 J: y8 D( U8 M& y
  593. + h  Q' I, C3 M7 `2 ^5 Q. H
  594. ; This directive determines which super global arrays are registered when PHP2 O( A  M8 z* u( e) S0 U# @
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    1 [7 L7 q4 i% w7 Q* m
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty9 g  b; a+ d. a
  597. ; paid for the registration of these arrays and because ENV is not as commonly2 z/ D0 B4 q1 a( M! I
  598. ; used as the others, ENV is not recommended on productions servers. You
    * R8 G3 V0 j, y2 f- X$ p. z! b: W
  599. ; can still get access to the environment variables through getenv() should you
    , J- O' L" r. ]- _. w
  600. ; need to.- x1 K/ N4 \; H. F% e
  601. ; Default Value: "EGPCS"
    " J/ ?& I/ I5 P; ~/ Z3 \
  602. ; Development Value: "GPCS"" c; D/ T* C0 d  `; Q
  603. ; Production Value: "GPCS";
    + z3 ^9 u" s4 n
  604. ; http://php.net/variables-order* k5 `% s- ]* D. Z, D8 Q/ Y
  605. variables_order = "GPCS"
    1 h5 H" a5 |0 H

  606. ! R8 b! a/ w5 ?! G& R$ V- c
  607. ; This directive determines which super global data (G,P & C) should be2 ]& N- o4 t# M; Z, H+ A$ {& @" w
  608. ; registered into the super global array REQUEST. If so, it also determines) {7 I7 {( P" ^
  609. ; the order in which that data is registered. The values for this directive
      G% [! N. O3 z) @% l" }1 z# V, N
  610. ; are specified in the same manner as the variables_order directive,/ p+ H1 A2 s# L0 r5 P: l- p
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    . n% \2 D/ }$ A# [  K
  612. ; in the variables_order directive. It does not mean it will leave the super8 z0 x4 w+ X" P3 O
  613. ; globals array REQUEST empty.
    1 o0 L6 y9 ?- Y) b+ S# M. I
  614. ; Default Value: None+ [8 f+ ?* ?3 H/ {/ I6 \2 B  W
  615. ; Development Value: "GP"
    ; Q* A& ]; q0 r" ?& Q7 I( P/ K; H- b* y
  616. ; Production Value: "GP"
    8 K" j0 B5 ]% b5 u1 f$ l9 U* ^: {
  617. ; http://php.net/request-order
    ! g! ]) H/ A6 \
  618. request_order = "GP"
    / y8 L9 M$ R( R  h$ `! c
  619. 2 u* c& R3 r9 {0 n
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ! @  T$ Z8 b! b9 Y' ~/ g
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    8 h! y/ m2 ^& J3 m
  622. ; is invoked. $argc contains an integer representing the number of arguments# W% d9 k' l6 F6 B
  623. ; that were passed when the script was invoked. These arrays are extremely
    # D- l& t* |% D5 O4 F
  624. ; useful when running scripts from the command line. When this directive is
      W- \) ?7 q! \2 r/ A+ D! B
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    + t8 e. g' x3 M& \7 _
  626. ; a script is executed. For performance reasons, this feature should be disabled2 @8 n( ^5 B8 t
  627. ; on production servers.
    2 J1 \/ Z5 B3 w
  628. ; Note: This directive is hardcoded to On for the CLI SAPI9 M" k4 ]8 V7 I
  629. ; Default Value: On* Y& u! Y+ @& a; R2 V& j- F
  630. ; Development Value: Off5 G8 T9 d' [6 E$ J5 W
  631. ; Production Value: Off% k( X$ G4 q# Y8 r$ `
  632. ; http://php.net/register-argc-argv
    ! e# Q- z1 j+ D' @" c1 [
  633. register_argc_argv = Off4 L7 ]8 ?5 u) Q' {1 s+ l
  634. % Y0 I4 f, ]. j3 Q1 {
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    / F  j" e9 l% T; I9 h$ H. j) h
  636. ; first used (Just In Time) instead of when the script starts. If these* q1 T; {! j7 s0 _/ o8 z
  637. ; variables are not used within a script, having this directive on will result
    : T/ P- a! ?3 c2 `9 H/ O
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled$ U/ h. u' x% b. |( V0 w8 p1 L
  639. ; for this directive to have any affect.
    * [! W7 D$ i. W6 Z
  640. ; http://php.net/auto-globals-jit
      [6 K3 _: z0 y1 ?
  641. auto_globals_jit = On* }: k! s  H9 G3 _5 ~7 R! S
  642. 3 p8 p1 |0 j. F
  643. ; Whether PHP will read the POST data.
    2 O, d! o3 r0 [' f! g
  644. ; This option is enabled by default.9 d- n: u  i$ m) \
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ) p, C: `4 Q$ M" o0 e1 J
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    0 A- o" {  z/ f7 p5 H) P3 B
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    9 @7 \6 c7 h5 O5 M5 e
  648. ; to proxy requests or to process the POST data in a memory efficient fashion./ g+ g- T, \' L- D7 H* z. i
  649. ; http://php.net/enable-post-data-reading5 k8 Z! ^! |! W% s4 p8 v& M
  650. ;enable_post_data_reading = Off
    ; \, f* w' c; w$ p: S
  651. 3 `# C( B" ]' g; l/ C
  652. ; Maximum size of POST data that PHP will accept.
    + w5 O; }0 U; b$ y0 d
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    , X& b4 C% a- S% m0 m6 L
  654. ; is disabled through enable_post_data_reading.  y! E# [& v2 t
  655. ; http://php.net/post-max-size
    8 b% `& D& J! O. C1 [
  656. post_max_size = 50M6 ~0 y/ B% X- M9 H

  657. 6 R' t: i! w* `0 D2 d
  658. ; Automatically add files before PHP document.+ Z5 M  t  j' y" H7 I
  659. ; http://php.net/auto-prepend-file
    ) H, s" f9 y3 |- P& w7 n
  660. auto_prepend_file =, y! v8 M& ~5 j
  661. 1 D' L7 M( `7 z) @
  662. ; Automatically add files after PHP document.
    6 Q7 Q& O7 ]- X+ {- H: g2 E
  663. ; http://php.net/auto-append-file
    ; U' n, D* Z. f# D% p$ b
  664. auto_append_file =) C! v. j1 A+ W9 l

  665. 6 n# K. g; r# y" }
  666. ; By default, PHP will output a media type using the Content-Type header. To
    , z8 f  i' T0 N6 N; x5 p2 S
  667. ; disable this, simply set it to be empty.( _3 a+ O/ B! L1 m. e/ }
  668. ;# S3 H* \# ^) ]' P6 s- }
  669. ; PHP's built-in default media type is set to text/html.9 w! v& c2 y) X: M" h  f# l" i
  670. ; http://php.net/default-mimetype. n2 S& q& f6 m
  671. default_mimetype = "text/html"0 y. B1 a" h- P% @6 |  I/ x
  672. / d( S& m( o) E; g' h
  673. ; PHP's default character set is set to UTF-8.
    & \! d* Y7 p, a8 f- }2 i/ v. ^
  674. ; http://php.net/default-charset" X. @0 w2 I( R7 \4 @0 t2 e3 b
  675. default_charset = "UTF-8"
    & u( _1 A/ E& [% ~" p+ z2 n1 \0 Q
  676. 1 P8 M- W6 j) R0 D4 U
  677. ; PHP internal character encoding is set to empty.
    3 v4 q/ A& N. d& X* k
  678. ; If empty, default_charset is used.$ O  B& ~& J; Q* f2 ]4 w
  679. ; http://php.net/internal-encoding
    + L; e2 X% G  [% \; K9 E4 x
  680. ;internal_encoding =& ^6 A; E# k2 p* Q  I  m
  681. / \$ n6 m1 t5 v
  682. ; PHP input character encoding is set to empty.
    4 y# y' O5 H' P! x1 g
  683. ; If empty, default_charset is used.
    1 ^; S% \, t- r# f
  684. ; http://php.net/input-encoding% [# E1 C4 K+ y
  685. ;input_encoding =  k9 p& K* K0 h1 J

  686. 8 ^5 {2 a8 m. d6 p6 v; B
  687. ; PHP output character encoding is set to empty.& S) F5 e4 P, [' `/ T$ b
  688. ; If empty, default_charset is used.
    0 v$ Y; B# m' F
  689. ; See also output_buffer.
    ' C8 C! r) v) u- A3 _- g9 Y4 U
  690. ; http://php.net/output-encoding$ ?" n* c/ }  h+ m( Y
  691. ;output_encoding =8 M/ B- c/ d$ }4 W
  692. % Y$ D* G; _* L$ R2 M  g$ p" Z
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;7 e4 l- q) ?( R( o
  694. ; Paths and Directories ;7 {+ Q8 j- `4 B! L: F8 c. t: C
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 O% n* H9 ^+ g0 d

  696. ! N1 V0 ~9 z  x% F+ m9 t* @
  697. ; UNIX: "/path1:/path2"
    , `8 U- V" ]2 Y% K# \1 b3 t
  698. ;include_path = ".:/php/includes"
    ( G. t4 p8 `4 S0 }3 w
  699. ;
    : S, C: C8 f9 `! d7 W
  700. ; Windows: "\path1;\path2"
    0 U3 G8 v* ]. t7 m8 J( u
  701. ;include_path = ".;c:\php\includes"% X% F, b  j0 l! c( M0 F! x) Q+ ]/ s0 _
  702. ;
    4 H6 H0 m1 R" {4 ?+ a# _% n8 H
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ; ?) ]) ]: b) M& [* ^# X
  704. ; http://php.net/include-path
    & b! z; }. O1 u# ~, h

  705. $ B" P4 }0 R  @7 o
  706. ; The root of the PHP pages, used only if nonempty.8 a& L0 w; t; K/ V2 z& J4 Z; {" H* i
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    9 i- s9 ?* Q3 `/ x. J
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ' Q& H" F$ [! [! O1 K
  709. ; see documentation for security issues.  The alternate is to use the
    : l$ [6 m9 h5 n5 v2 \6 L# b! ]) u$ y
  710. ; cgi.force_redirect configuration below4 _& E$ P' Y) f( {9 [# x: [$ w
  711. ; http://php.net/doc-root' O6 g! ~, |6 i8 Z% n9 I
  712. doc_root =: p9 Z, L  |7 L1 o- }- a6 F

  713. * g5 W& N% C2 y1 {8 w* M! d: ^
  714. ; The directory under which PHP opens the script using /~username used only3 b) |! u8 N3 i
  715. ; if nonempty.- E( A. b" `; M9 J4 j
  716. ; http://php.net/user-dir
    8 O0 {7 A) q) [* l
  717. user_dir =! l: e- Q$ {; T% B7 ]  c) X9 Q
  718. 6 s! b: X% z! A6 E- [! _
  719. ; Directory in which the loadable extensions (modules) reside.
    & Y$ g0 ^0 e, o+ w" X" O; V
  720. ; http://php.net/extension-dir
    % O; z* b# W  s% F2 w/ s
  721. ; extension_dir = "./"
    ! P3 T# J2 }, q! v4 V( o* A3 t
  722. ; On windows:
    ; M# d  }6 l4 t
  723. ; extension_dir = "ext"
    6 p  S( F# c0 d/ u1 w

  724. & R) Q' k- f/ u
  725. ; Directory where the temporary files should be placed.
    ' W8 _" c1 v: m& m4 ?
  726. ; Defaults to the system default (see sys_get_temp_dir)9 ]: x- w7 v! Y0 i1 i, E
  727. ; sys_temp_dir = "/tmp"" K$ d( P7 E2 L- k. m$ M' I' I

  728. ) t. Y1 \- o$ A7 D, }7 p; p8 p7 U% W
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    3 s; b# K9 ]% a. R$ j; N, G, i
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    9 ]& Q4 E9 L7 F8 ?) U- j! @) y! M
  731. ; disabled on them.. v# p1 h5 k, w9 r' f
  732. ; http://php.net/enable-dl7 o6 l7 x% o9 P$ k3 s$ S; L
  733. enable_dl = Off
    2 P, g' E- N" |: k8 D

  734. , G1 L1 s6 {8 \3 r$ U& n' g
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under4 K& f" @, w( \* Q) R8 \; z  V* W
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can0 m$ c# v1 h- [9 n
  737. ; turn it off here AT YOUR OWN RISK6 S' A  M# S) n4 G6 f/ r2 H
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**/ D/ R# `$ g' ]* d  B
  739. ; http://php.net/cgi.force-redirect9 H* T) n$ V2 I5 U2 Z7 W
  740. ;cgi.force_redirect = 1
    + J- \1 g& U% X- Z$ Z# c* z

  741. 0 v' }1 \! V* j4 I' \
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with+ F# k; Q# {6 U* K: E
  743. ; every request. PHP's default behavior is to disable this feature.
    ' h, z0 B2 G' m6 e5 V, F; }
  744. ;cgi.nph = 18 n( z) v. l( C* D6 \3 K; s3 o+ K0 i
  745. 7 D7 s0 r3 B  v+ y- B9 i: n
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    $ K8 x$ Q2 S" S& \0 y. |
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    4 F( B) [( \  V4 P/ X- r
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY( m4 y8 u# h; ~! X
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    * C+ t! l. L7 O. x( A9 e
  750. ; http://php.net/cgi.redirect-status-env0 r2 ~- d: f) {7 m9 M/ _3 W
  751. ;cgi.redirect_status_env =; A+ `7 p& m& E# S  r7 t/ a

  752. 0 X0 K' @7 Q' H/ }: x
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's4 r6 s/ q6 u$ C5 T& i
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok1 q! E8 W9 S  L7 z2 w: v2 j: W
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    8 W; j4 s# Z9 }/ H+ B0 Z
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    0 X- {: G% p/ C/ g
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts2 Y; `* t' l/ J' `
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    # |# \, n! h+ C! T5 [
  759. ; http://php.net/cgi.fix-pathinfo8 E& E: r1 A6 O9 E  \( K6 h
  760. cgi.fix_pathinfo=1
    2 n( y, M- `7 u5 [0 k" W0 a5 ^, _; S# B
  761. 3 a7 l* E6 i! W5 {, V; K
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside7 A$ t8 E+ w8 M0 \8 J
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    % p; s) J: C4 e' g2 y2 ]6 o
  764. ; http://php.net/cgi.dicard-path, F" M+ @* [: O* [8 \% S
  765. ;cgi.discard_path=1
    * A4 T% |' s: d. y; r+ {- D

  766. 4 r7 c  r: b2 g
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate) e; X4 }$ y" H" Y
  768. ; security tokens of the calling client.  This allows IIS to define the* j$ Y5 M4 }" B, B+ b
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    # ^- c0 c$ r# Z+ _! |' E
  770. ; does not currently support this feature (03/17/2002)+ S$ Z' R1 x: p$ Y4 K
  771. ; Set to 1 if running under IIS.  Default is zero." w) |) f5 D- z% j
  772. ; http://php.net/fastcgi.impersonate. P5 Q, r* N# M$ ~# j0 y0 o
  773. ;fastcgi.impersonate = 1) w# W! z( ^& ]9 H) G' a- g9 @

  774. 5 r1 L" Y5 J0 x* E0 [
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ! y* h9 u$ U1 O, @8 {
  776. ; this feature.
    1 k! g* ?! s0 G: `; {# Q
  777. ;fastcgi.logging = 0/ p7 c4 k  j0 Z3 L6 s+ M: ^5 n

  778. ( o8 a- D* H& Y9 W
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    . C; H1 d3 U' H1 h8 @
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ' S' l) B5 f+ |; H: @6 ~
  781. ; is supported by Apache. When this option is set to 1, PHP will send8 n. F+ J: i. [; Q0 k1 D
  782. ; RFC2616 compliant header.
    2 k- q. b: E( ]
  783. ; Default is zero.
    3 m' h' [) H6 ~( R5 \( k7 d
  784. ; http://php.net/cgi.rfc2616-headers% Q2 s5 O/ {  d6 f. \
  785. ;cgi.rfc2616_headers = 0
    $ P* w0 s1 l  J1 C0 R

  786. 3 m/ m/ I' g) f
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!* g3 S! q  {0 u! h
  788. ; (shebang) at the top of the running script. This line might be needed if the. H% e- {0 t1 P; }) {, c- \8 G
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI' B2 \- F  W8 B6 p
  790. ; mode skips this line and ignores its content if this directive is turned on.
    9 [3 z- ?; E; Z% o# I/ {5 Q# k' u2 |
  791. ; http://php.net/cgi.check-shebang-line
    * b( B% Y# d) ~: |, P
  792. ;cgi.check_shebang_line=15 s8 Z3 |0 @" k
  793. 2 |( n- J$ l0 }! O+ z5 P
  794. ;;;;;;;;;;;;;;;;6 s: m' \; ?: @8 B0 m6 x% c
  795. ; File Uploads ;
    . z1 T! G( n* ]0 U: J9 ?
  796. ;;;;;;;;;;;;;;;;
    3 \0 L( L( u" h& M- j/ u

  797. + Q( b: P; J1 }) _+ K0 Z
  798. ; Whether to allow HTTP file uploads.- ?, c% k) r( g3 G7 c+ U2 {% @2 C
  799. ; http://php.net/file-uploads7 F3 h" {  l4 K6 f
  800. file_uploads = On
    0 F! [) r- d# b1 G! ~

  801. ! z* C0 C5 _! F* o: K
  802. ; Temporary directory for HTTP uploaded files (will use system default if not7 S. }( t* X# G, ]! `
  803. ; specified).
    9 p! }7 A; n1 P) ~" F0 {
  804. ; http://php.net/upload-tmp-dir, q; W! `* E" F0 J+ `, I2 ?; X
  805. ;upload_tmp_dir =
    ( x3 a) \8 }1 U8 E9 x! i: ^1 x
  806. 5 ]8 ]- \: T0 d9 v! ]! \
  807. ; Maximum allowed size for uploaded files.& h! R# ?8 V3 w- i; s$ y
  808. ; http://php.net/upload-max-filesize3 T& n! ^# l# A; Q; {
  809. upload_max_filesize = 50M
    8 [& G/ D! b; ~8 L
  810. * y! V! D! A5 b6 u; I; O
  811. ; Maximum number of files that can be uploaded via a single request
    6 q! h- w- N& \+ q+ g# ]
  812. max_file_uploads = 20$ }: |, e& F9 D$ u# u1 N# Y
  813. # u# ~& q0 h! G- `8 n
  814. ;;;;;;;;;;;;;;;;;;
    2 d8 z. F9 u% u+ a% {5 C; ]
  815. ; Fopen wrappers ;
    % y$ z# ^0 E( d8 z
  816. ;;;;;;;;;;;;;;;;;;
    / P: V1 i2 c! b: r, V/ w

  817. 1 `+ e  c2 ]1 P! C
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.0 J; M4 l/ R9 f7 h5 l
  819. ; http://php.net/allow-url-fopen
    9 ]5 r0 b0 W9 n! I9 f8 a, q, F
  820. allow_url_fopen = On6 I* l5 ]8 G' u9 V  s: V; W

  821. ! j2 B( M9 q* A" G# s- e
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    8 m8 M# Z6 w' u3 s' y
  823. ; http://php.net/allow-url-include
    ' B1 X5 g/ j. g
  824. allow_url_include = Off
    9 w8 a# B4 ^. X
  825. / e4 b& ?1 ^8 c  A
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ( w  t5 P0 a/ m) \6 L! Q
  827. ; for this is empty.' p! m/ Z' ?& L& @
  828. ; http://php.net/from1 L1 @) u0 ?1 s' j0 m5 J
  829. ;from="john@doe.com"! G% L3 f- z8 C% |2 X$ t
  830. ) c6 c$ C4 l' t& i* O  \! A+ G
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    & R& ~5 i# F  ~% X* {$ V$ A; O, z4 w
  832. ; http://php.net/user-agent* l! }/ b& t3 K: \
  833. ;user_agent="PHP") W% H3 J. Q0 G5 |% w
  834. : p5 g5 b8 v; s; R6 d
  835. ; Default timeout for socket based streams (seconds)
    % N2 t' D2 d" E( s
  836. ; http://php.net/default-socket-timeout5 [5 F" k4 o/ {5 V5 [
  837. default_socket_timeout = 60
    $ J% b+ Z7 {- `& m- O+ E  T( x

  838. . x, E' ~3 i& Y* j, I3 e* U6 U
  839. ; If your scripts have to deal with files from Macintosh systems,' O" @) `/ K. ], n& h: }
  840. ; or you are running on a Mac and need to deal with files from+ V8 H0 E& ?8 ?  S; T! L5 [
  841. ; unix or win32 systems, setting this flag will cause PHP to
    8 Z# B& i+ R. r) n8 a9 G) ?
  842. ; automatically detect the EOL character in those files so that$ k* l3 O: m# c9 z
  843. ; fgets() and file() will work regardless of the source of the file.
    ( P1 d: U' O( M+ T
  844. ; http://php.net/auto-detect-line-endings
    / h! `0 [* I: E7 P
  845. ;auto_detect_line_endings = Off4 i' t9 q0 z3 l9 e& U' J

  846. 4 g. ~' q8 ?- D2 T4 m% p
  847. ;;;;;;;;;;;;;;;;;;;;;;( `! E( X' N! k) \
  848. ; Dynamic Extensions ;
    , _; [  Y! @* c# U/ m
  849. ;;;;;;;;;;;;;;;;;;;;;;
    0 `' ]" J- c8 Y5 C1 t. A0 C

  850. " L, @/ g4 }  {2 h* B. {
  851. ; If you wish to have an extension loaded automatically, use the following
    ) W/ Z3 p+ J9 T9 K8 e3 G
  852. ; syntax:
    5 `) t5 D2 a' I3 `2 N6 P7 h* K
  853. ;
    ' _6 Y& v2 p9 p; l3 B- z3 \
  854. ;   extension=modulename.extension
    ; N8 S5 h  R5 }: z5 P9 K5 v
  855. ;
    5 O: w( \  r2 H9 ]$ i
  856. ; For example, on Windows:( u* w& ]6 Q: b5 V9 H
  857. ;) X- Y/ `! K: ^* m& {! z
  858. ;   extension=msql.dll* n6 i# r% V* T8 l/ v3 f4 Y
  859. ;
    . ~+ [# t" U4 ^) \0 \6 {- O. J
  860. ; ... or under UNIX:' p- J1 ]# P1 ^3 |
  861. ;  E" O9 j: b& U1 V3 n
  862. ;   extension=msql.so
    ! Y: J' ^4 i: c9 ^9 a  R4 E
  863. ;
    ) u$ k" F; J/ i+ k
  864. ; ... or with a path:! _& v8 e: O! F2 i, W
  865. ;: _" \% C5 {2 Y: n9 r! y" y
  866. ;   extension=/path/to/extension/msql.so4 }  |) U2 {: S) @7 X5 X
  867. ;
    ) R! r" |# G( ?5 ]6 ?+ {; a$ \
  868. ; If you only provide the name of the extension, PHP will look for it in its
    4 v+ B' Q; s& m) r8 [: R
  869. ; default extension directory.
    ! }; @1 `( _( a7 c8 U
  870. ;! e7 j  ?7 g. s; M& B1 B
  871. ; Windows Extensions: _6 ]0 U# U0 V) b- r( C
  872. ; Note that ODBC support is built in, so no dll is needed for it.2 s. y) d7 g  t1 o: ~1 D) _
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)  c, A9 n. `6 x
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).! |; N; f3 j9 g+ m9 k
  875. ; Be sure to appropriately set the extension_dir directive.. l) q, E, d3 E6 q; v! q/ Z3 a
  876. ;$ X6 ?" V) i2 G) E
  877. ;extension=php_bz2.dll# d' C% A4 f0 B8 q
  878. ;extension=php_curl.dll
    . F. U4 E- l' h
  879. ;extension=php_fileinfo.dll
    " R4 c/ ^0 `, B$ F3 I  S! l2 H0 L
  880. ;extension=php_ftp.dll* Z# G7 K" X# i- Z+ i, `+ |+ d  C
  881. ;extension=php_gd2.dll
    1 H% k1 t3 Y' a( `
  882. ;extension=php_gettext.dll1 n1 t2 m# G& h, t1 ?- O) T7 w
  883. ;extension=php_gmp.dll
    ) R# ]7 I4 J9 X( Y3 ]0 w
  884. ;extension=php_intl.dll! ~: s0 h& h- D. l) M) K! Z
  885. ;extension=php_imap.dll5 ^/ e5 j6 X. k5 E
  886. ;extension=php_interbase.dll( Z4 h9 E6 x5 {# s$ L! q9 Q, e
  887. ;extension=php_ldap.dll+ @" X9 [; M/ ?
  888. ;extension=php_mbstring.dll+ |( D' L$ g5 i; M8 [
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it7 {% C( `8 h4 X2 f
  890. ;extension=php_mysqli.dll, i0 R: W0 \& N- f2 N
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    9 J2 T; R. S7 p9 Y/ |
  892. ;extension=php_openssl.dll
    4 Y* `  e9 @) x$ D
  893. ;extension=php_pdo_firebird.dll
    ) y9 D5 j" ?* P' H8 S' M- w( L7 v
  894. ;extension=php_pdo_mysql.dll  A) E- `$ x( _' e& E, d0 Z
  895. ;extension=php_pdo_oci.dll+ o8 H2 ]7 K0 T8 s% m# Q
  896. ;extension=php_pdo_odbc.dll
    9 M( ?8 D4 R5 `$ f
  897. ;extension=php_pdo_pgsql.dll  B" Y' U- C9 U" c1 O; _/ @6 o% V, f
  898. ;extension=php_pdo_sqlite.dll
    $ R3 o$ D! V+ l  |- t# a- c
  899. ;extension=php_pgsql.dll4 M8 A4 \+ u! `, I3 j6 K6 q  @: R
  900. ;extension=php_shmop.dll8 P# F- @% w1 I; l4 h: W. b
  901.   ]: r  [. N4 e6 m: l5 @  i0 b
  902. ; The MIBS data available in the PHP distribution must be installed.- {* S7 a, h$ m5 Z# U" L7 N0 v+ d
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    4 I! i! ]/ D7 a( q' g
  904. ;extension=php_snmp.dll2 M1 H  W, o* V+ x: d
  905. ; H8 H, R4 T$ w3 M* e1 y! u( J
  906. ;extension=php_soap.dll' J( a$ K) ]" A2 ]: P  {3 l
  907. ;extension=php_sockets.dll8 B: S# N! y* I7 ]  O+ d
  908. ;extension=php_sqlite3.dll
    : a6 j' @4 C( B8 p' ]! ]
  909. ;extension=php_tidy.dll$ V1 i7 o& L0 D8 @/ W+ E$ Z
  910. ;extension=php_xmlrpc.dll
    ' i) x3 Y; f" d3 W, u- [
  911. ;extension=php_xsl.dll7 B* G* E- k4 B# S

  912. : P: [% S" Y; `, h
  913. ;;;;;;;;;;;;;;;;;;;2 L0 ]: j( N. C' s
  914. ; Module Settings ;5 w0 t; s1 U4 n% d. p1 E8 e) Q% P5 m; M
  915. ;;;;;;;;;;;;;;;;;;;8 e: R; W+ s! M3 N

  916. ( b0 z2 j( I9 y5 D$ n" T
  917. [CLI Server]: x" d/ q- A, w; R' y% P% O
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.4 W2 b" {6 O, h8 f2 P" J! ]& A! w
  919. cli_server.color = On$ c/ G$ X5 u7 r( _2 Q

  920. & r0 b  `% c- A5 ?% L
  921. [Date]
    0 B$ z' [: {( T# j# Q+ V' a- K
  922. ; Defines the default timezone used by the date functions
    % f# @5 A& t; Y9 q
  923. ; http://php.net/date.timezone6 L4 A4 ]% P8 D" j
  924. date.timezone = PRC& z4 j; {. r6 q# L" Z* ]" z  [
  925. 4 g% ]1 G: j0 }
  926. ; http://php.net/date.default-latitude
    1 v) ?& Z( [4 y1 Z. X
  927. ;date.default_latitude = 31.7667
    4 x% q1 G$ r. F' N
  928. - x! U$ z9 {& o% X+ y6 G! r
  929. ; http://php.net/date.default-longitude
    & b  K, A# _* w
  930. ;date.default_longitude = 35.23332 I! Z# u+ q8 }
  931. & Z% E. I! C$ C" r( j
  932. ; http://php.net/date.sunrise-zenith" J7 N. N" r7 ^* Y5 \) y
  933. ;date.sunrise_zenith = 90.583333
    ( v- l# ^- a* i9 b; Y
  934. ! Y9 V, s; b" K
  935. ; http://php.net/date.sunset-zenith& E% J) h/ f' I) f
  936. ;date.sunset_zenith = 90.583333% B& f- \6 _  T! d. R8 }5 b+ D
  937. - N4 I5 g4 o: ^  F4 T: [% @% ~' Y
  938. [filter]4 s9 ]& m) o7 I( R" o
  939. ; http://php.net/filter.default: Y2 U8 d% Q  |4 G9 n5 Y( p
  940. ;filter.default = unsafe_raw3 R& ~1 `* b; V! p' ?5 A
  941. $ U, `$ S" U1 \9 x3 a9 y3 |
  942. ; http://php.net/filter.default-flags- I# n$ F$ W- Y* h' E4 E$ K7 t
  943. ;filter.default_flags =
    - w; b# V3 F6 L& L

  944. ( s7 g6 j( |/ G, p  W) o6 p8 Z
  945. [iconv]* v2 _$ ?+ f, H7 O' O3 g/ y
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.# ?; W$ _) q/ Q# U% g- O
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    " Y) z; ]4 ]3 X" b  z8 @5 d
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    & O0 a: |) e% K, K* X# ]* F9 X
  949. ;iconv.input_encoding =# {+ `- F# A9 y% ^
  950. 3 x5 ^+ g  i. E) b
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.$ `* e8 h! n6 S
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    " H  `4 h+ ~& ~8 t7 c
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    # w; j+ V8 m' f* Z
  954. ;iconv.internal_encoding =
    / G5 y& l% n5 X1 m/ _7 w% n: P

  955. # p% f2 ~8 j  k( n0 \
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    3 J: D. \* ], Z
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    5 B% I. \$ ?' I, V" l6 d% g
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    3 ?7 l( ]) U) Z+ A
  959. ; To use an output encoding conversion, iconv's output handler must be set
    ; g! _" Y9 S7 h4 }1 L5 a# A: R, A
  960. ; otherwise output encoding conversion cannot be performed.
    4 ~, P, C5 _* X5 o2 N* t
  961. ;iconv.output_encoding =
    ! h1 |" l  W$ z) k/ I' f

  962. ! r( C9 t3 t8 t* P, k. c0 t0 r  ]' u- M
  963. [intl]
    % O' x9 J* G2 I$ Y8 m+ F
  964. ;intl.default_locale =! ?( M3 J! d0 ~+ B) X
  965. ; This directive allows you to produce PHP errors when some error
    ' U3 f9 R  \) Z- \5 H
  966. ; happens within intl functions. The value is the level of the error produced.
    5 B) [  c. S! B6 C/ i' Z/ {( i$ H
  967. ; Default is 0, which does not produce any errors.
    % u% [  ^5 F; r8 X* M- K+ N
  968. ;intl.error_level = E_WARNING
    ( B+ e% \) Z3 v+ i. R
  969. ;intl.use_exceptions = 0
    1 v1 A2 x5 i! e3 W3 b0 `6 `
  970. 0 x/ ~/ S1 q; b" F( h9 o
  971. [sqlite3]
    " `  g( P+ W+ }
  972. ;sqlite3.extension_dir =) C: b* N* z# X2 V! H) X
  973. $ e3 B2 u4 n7 I& Y
  974. [Pcre]
    , Z3 A# U; p* H( u6 ~" I# k0 j
  975. ;PCRE library backtracking limit.
    & N9 _: J8 g1 ~0 l7 h
  976. ; http://php.net/pcre.backtrack-limit
    4 I2 M! z+ r0 i1 d! t1 d! \1 A
  977. ;pcre.backtrack_limit=100000; N" R( V( V& [4 ~, {& Y
  978. - C" O+ \8 J* D; g9 u) o* Z" C1 A9 o
  979. ;PCRE library recursion limit.
    # t7 z& j6 p' v# W! t3 g$ q0 L
  980. ;Please note that if you set this value to a high number you may consume all
    8 M0 ?% C# T0 X
  981. ;the available process stack and eventually crash PHP (due to reaching the9 h/ P; L7 w& {2 n6 Y0 B1 p( v
  982. ;stack size limit imposed by the Operating System).# L4 K) L: i6 _- C6 c2 O6 O" V3 F
  983. ; http://php.net/pcre.recursion-limit
    1 x/ d8 u: m2 k7 M+ q0 `. ~
  984. ;pcre.recursion_limit=1000002 l9 o, r* }; b( K9 l3 W, x
  985. $ }1 c- O* [0 v8 ?% A3 Q
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    2 p2 _3 S& g5 N- g  d: s
  987. ;library to be compiled with JIT support." p* Y# w8 C8 H. g5 L
  988. ;pcre.jit=1
    3 \4 k! |1 _& J6 Y- \5 \( B

  989. % y9 k7 A4 B6 B% \4 [; C: y
  990. [Pdo]
    9 H' i/ L0 M7 @/ q/ s
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    6 N& S, C6 w2 w% b4 S  F
  992. ; http://php.net/pdo-odbc.connection-pooling: W5 |; C* V+ u( B
  993. ;pdo_odbc.connection_pooling=strict
    $ Q. c7 ^1 H( A! d- f6 A

  994. 5 @* Q& }: q; Y2 u8 {
  995. ;pdo_odbc.db2_instance_name9 y6 u0 u+ [  h! F& s4 |0 w) w

  996. 0 b3 y6 Z" N% i1 h
  997. [Pdo_mysql]' `0 O- m3 `" t  y1 [4 O1 ?
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    : f2 c; t% d- n* e$ w1 l8 Z
  999. ; http://php.net/pdo_mysql.cache_size
    9 T$ ^: t# q5 K7 G4 ~  k
  1000. pdo_mysql.cache_size = 2000" @, V/ A, `0 M1 C+ {/ u/ e
  1001. 6 j5 a6 @2 s1 K# k
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : W3 [6 g$ a4 s
  1003. ; MySQL defaults.2 |$ ]1 W! E2 a0 i; T$ r2 J
  1004. ; http://php.net/pdo_mysql.default-socket
    9 {$ t6 f% C: L6 V6 K! i
  1005. pdo_mysql.default_socket=
    9 I" `* H3 B6 A7 V

  1006. 4 R  W$ g4 F2 J7 \% h
  1007. [Phar]; {8 W3 d* B  C  l8 L
  1008. ; http://php.net/phar.readonly
    * |. |+ I  Z; _/ j/ u% f2 K
  1009. ;phar.readonly = On
    $ s3 C* _# s/ N% ]

  1010. ' f- j1 n$ y$ Y. f+ Q* U
  1011. ; http://php.net/phar.require-hash
    5 U: A, Y% g( d; t: r% \
  1012. ;phar.require_hash = On  a" b3 F, ?6 i( @! r+ N/ }( a
  1013. 5 E2 R1 i$ j. ^1 a2 W
  1014. ;phar.cache_list =
    1 s6 H% G% f8 L  Y
  1015. ; B  d- n. j# |
  1016. [mail function]: j6 ?0 ~$ |* N3 d7 n$ f+ C% \$ y  ^
  1017. ; For Win32 only.
    6 Z* [- A5 W; U4 e  L
  1018. ; http://php.net/smtp
    7 \( U' S+ c3 [5 y
  1019. SMTP = localhost& b1 o2 j, p- U3 M7 @
  1020. ; http://php.net/smtp-port
    ) u( i  i, ?. E% \
  1021. smtp_port = 253 u: ]. H7 V  q  D" c6 p
  1022. * S" Q/ u5 t5 J- q' M
  1023. ; For Win32 only.- Z0 T* `' l  b* d
  1024. ; http://php.net/sendmail-from# x/ D, C; [2 g0 x$ R
  1025. ;sendmail_from = me@example.com
    " X  I( I- H$ p  ^2 z5 H

  1026. " a& U0 I: k9 Z* n
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    5 p2 _* y4 k6 D% w
  1028. ; http://php.net/sendmail-path
    : `6 m2 a) b" E% N4 o; E
  1029. sendmail_path = /usr/sbin/sendmail -t -i! m1 I/ i5 W% ^/ ~! w1 |  L( @; X9 T
  1030. 1 _4 W& M, O% _: v0 U6 ?
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
      X$ K3 G! w9 i6 W6 G. O' h- ~( X
  1032. ; to the sendmail binary. These parameters will always replace the value of+ Z8 ^$ j, d  \: r) N; B
  1033. ; the 5th parameter to mail().
      b  [- W% L' C5 L8 S  _! P6 M
  1034. ;mail.force_extra_parameters =3 I7 e- b5 g0 b  k0 c+ Z( B

  1035. 1 l% J  ?# _( e1 ^: o
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename: b% c' G( Y/ r! M* X
  1037. mail.add_x_header = On
    8 }' q1 R7 ~8 L' Q; D7 a
  1038. 1 u$ Y4 G1 I% c, @
  1039. ; The path to a log file that will log all mail() calls. Log entries include0 \+ p! S1 I- }! z3 n( S
  1040. ; the full path of the script, line number, To address and headers.+ b! s; m# `% g- ]7 ~
  1041. ;mail.log =+ |/ f; ]4 ]$ v; E
  1042. ; Log mail to syslog (Event Log on Windows).6 t0 ~* H  Q; J& o  [0 w  k4 i2 p
  1043. ;mail.log = syslog( ?& j! q/ Q  X6 m! X. a+ D
  1044. : H* U- u- e; D) y' b; r( u
  1045. [SQL]
    ! @4 h% p  d8 S% \0 a% L( r9 v: H
  1046. ; http://php.net/sql.safe-mode
    1 ?6 W, z2 U: k# s. ^* ]% p' M+ j
  1047. sql.safe_mode = Off
    $ O  R- j0 u# }6 r$ @5 f+ z

  1048. % e- P1 ~8 F2 B9 F/ S: C8 \
  1049. [ODBC]
    # h  }3 i1 O2 K8 ^$ S6 a, z
  1050. ; http://php.net/odbc.default-db
    8 E) r- j6 \% ?& R& A; _. {. U. A
  1051. ;odbc.default_db    =  Not yet implemented
    0 f! P5 E- n% L' p$ F

  1052. ; u7 N; Q8 E9 s6 U6 c5 Y
  1053. ; http://php.net/odbc.default-user% T* K0 b2 c+ h6 S2 h1 F" S" R
  1054. ;odbc.default_user  =  Not yet implemented1 w- q' E4 d* d  @% Q" |9 S+ W8 X
  1055. # |/ |' x+ j- @7 m! j7 {4 c8 @
  1056. ; http://php.net/odbc.default-pw
    " A$ p8 W4 \" K
  1057. ;odbc.default_pw    =  Not yet implemented
    # z2 L; h( i2 G2 e
  1058. / B; g3 F- v- |3 \
  1059. ; Controls the ODBC cursor model.
    5 f! k; t  ?* z0 r+ u
  1060. ; Default: SQL_CURSOR_STATIC (default).1 h, K( N0 X8 y' D' H0 u
  1061. ;odbc.default_cursortype
    # B" l2 ?1 o8 y8 y+ ?+ i8 A

  1062. 3 C4 K4 Q$ d: T. k6 Q, c: A, P
  1063. ; Allow or prevent persistent links.
    $ G( z5 M) U; L
  1064. ; http://php.net/odbc.allow-persistent2 [5 G" ]) ]& Q# J. Z. x
  1065. odbc.allow_persistent = On5 s: t# l; S! s3 U, J. a2 w

  1066. ' v5 ?& s1 P( f- V
  1067. ; Check that a connection is still valid before reuse.0 Z( U8 V+ O1 w8 |* h3 a
  1068. ; http://php.net/odbc.check-persistent$ n" U1 a3 t4 j2 ^+ [4 P
  1069. odbc.check_persistent = On% p$ E: ^$ u- `! h

  1070. # R0 W4 ?. E1 F4 m  x+ |
  1071. ; Maximum number of persistent links.  -1 means no limit./ c2 q& r" E8 J+ z! @3 X4 l
  1072. ; http://php.net/odbc.max-persistent# C: R$ u  S% p% r0 u4 ]  X6 L% v1 t
  1073. odbc.max_persistent = -1
    % [- m7 k/ q5 D4 M. @

  1074. % O4 c  [& Y" p% Z
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ! E: {& w4 ]# v9 D% k: K
  1076. ; http://php.net/odbc.max-links
      V3 ?: U$ u7 O3 w! X/ q/ j' a2 z
  1077. odbc.max_links = -1
    $ ^  P. ~0 a9 F& [# Q! ^5 F0 C% k/ e

  1078. ) ~1 H6 r1 f6 v9 Q% o- F
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    6 E. u* i3 s* }: B% M! b2 X
  1080. ; passthru.
    5 l& p2 ?3 N7 C
  1081. ; http://php.net/odbc.defaultlrl) J  k- N# \! F1 o$ O" F* }1 U" A( G
  1082. odbc.defaultlrl = 4096
    * _8 s- V. v& a- k
  1083. ; I# ~. |* z6 v% r. S5 U. l& W
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
      O# R& P7 m6 J1 Q$ h0 A
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation3 k) B  [. d/ X* d
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode3 k# g9 R( H& e. u: k
  1087. ; http://php.net/odbc.defaultbinmode
    0 a! D+ i  i( C, R' M6 Q
  1088. odbc.defaultbinmode = 1
    ( R" _* y% P* J

  1089. , a/ c) s) t! o  P- F
  1090. ;birdstep.max_links = -1
    9 V; o7 u7 c# E" ~+ S, N) l
  1091. ( P, d7 Q9 Q  K6 l
  1092. [Interbase]
    / B4 j  |. r  b: G
  1093. ; Allow or prevent persistent links.& U9 Y1 Z& K( J- p( ^: T
  1094. ibase.allow_persistent = 1" E1 Y( L9 m1 _7 [' P# N
  1095. # w+ }  ~& U! Z' M
  1096. ; Maximum number of persistent links.  -1 means no limit.# T! r. E: m3 {3 M0 N/ _: B$ R7 A5 F
  1097. ibase.max_persistent = -1
    * B4 S# u, t* c* p! o

  1098. 0 Y( Z9 j% }% y, N, v
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    + ?' U$ u4 {. g( a) j" C+ d; k
  1100. ibase.max_links = -1% C' G; G* _% y& A& z/ E
  1101. 7 \' m. _0 e  _/ ~
  1102. ; Default database name for ibase_connect().2 G1 f1 h7 ^' E  t: \7 {; R0 w7 }& J
  1103. ;ibase.default_db =  @. }' P! S% j" v% B

  1104. : @* X( W' ?: z) T5 z, w
  1105. ; Default username for ibase_connect().# Q' |. J( f7 g% l2 x' A" k
  1106. ;ibase.default_user =% |. P& |6 e3 L& Z5 f6 e

  1107. 9 ?5 Y7 S  E' s
  1108. ; Default password for ibase_connect().
    4 Z: B, r+ n9 b3 j
  1109. ;ibase.default_password =
    ( Z( W- D) _' H+ D+ Y$ ^+ h
  1110.   p* G$ b& n# F8 E
  1111. ; Default charset for ibase_connect().
    7 S5 b, B# S1 x
  1112. ;ibase.default_charset =
    . X' }' ~1 |' F4 u

  1113. - x; J& E* N! w' `( ^' k8 W$ I0 A
  1114. ; Default timestamp format.
    5 P& }8 J/ ~, N7 T8 L1 F+ R: A
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"3 d- g* F% q6 z

  1116. 8 m5 j9 E* j( h% c" s2 ^
  1117. ; Default date format.) L& s( H& p6 D$ I
  1118. ibase.dateformat = "%Y-%m-%d"
    ) N/ C: c. t6 n/ ?" }* Q9 C" h
  1119. ' v* w. ~, L& i9 V3 k" Y
  1120. ; Default time format.7 t8 b! A6 G  O( D# [' F
  1121. ibase.timeformat = "%H:%M:%S"
    2 c& A5 E; o/ t( d
  1122. * ^1 B9 i! V' o5 K
  1123. [MySQLi]8 ]: f" ?1 G0 B5 K/ c+ U" {/ U! Q
  1124. # h+ H" y+ w# y3 h
  1125. ; Maximum number of persistent links.  -1 means no limit.6 k) T( _* _. r2 |) @
  1126. ; http://php.net/mysqli.max-persistent
    : E! q$ h, F$ ~
  1127. mysqli.max_persistent = -1
    3 t* X- p- f" Y
  1128. ) Q$ N" y% F; q% I- g1 x/ {
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    7 o# C6 \) u( }/ n  N+ ?
  1130. ; http://php.net/mysqli.allow_local_infile' ], n) X  c7 v9 _9 X/ E$ z
  1131. ;mysqli.allow_local_infile = On
    6 s) b  [% E  g7 b; H
  1132. ' C" B. t; G2 {5 w9 g
  1133. ; Allow or prevent persistent links./ B) \$ D5 a/ T- g
  1134. ; http://php.net/mysqli.allow-persistent) s; r% a8 U4 L7 ]
  1135. mysqli.allow_persistent = On' s- c2 O$ t" q. B; z0 a& @4 A
  1136. $ S8 i' W7 a; b  B! Q* I" |
  1137. ; Maximum number of links.  -1 means no limit.7 @2 P  i% F$ Y" R. ]
  1138. ; http://php.net/mysqli.max-links
    . b  f+ F4 M0 }6 D+ t
  1139. mysqli.max_links = -1% }! F( W. g* B- l: I) ?; b/ v

  1140. 7 v! H0 ~. ^# D9 m( [6 Q# F
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! n9 H9 l7 |4 i% [
  1142. ; http://php.net/mysqli.cache_size% g6 u  \( [* {# x- F9 v
  1143. mysqli.cache_size = 2000
    . o1 M0 q4 w) Q8 E; f
  1144. 7 m7 B) p% Z" {- `; t' X& k6 {
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ( p( F" p! s5 G# d! G
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the, u! z% i4 c$ l& ]1 ?
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look3 e* M. h2 S2 [4 d2 O
  1148. ; at MYSQL_PORT.
    5 G7 f6 w3 s( F$ V
  1149. ; http://php.net/mysqli.default-port% [$ @8 t! i! _" }0 N0 A7 R
  1150. mysqli.default_port = 3306$ K9 v; Q1 A- V. l" O$ p- u

  1151. ( A; ~$ t! S' |) V, E& O6 K2 `
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 V2 [* T3 F/ h, B1 g* [
  1153. ; MySQL defaults.
    6 W) u) m; H7 p- {% j
  1154. ; http://php.net/mysqli.default-socket5 `. h0 `5 [$ e3 B$ q6 p- |/ m/ N$ g
  1155. mysqli.default_socket =
    6 w2 A$ C& F0 z7 Y; I5 W

  1156. ' i( r4 ~0 }6 X+ S. o1 N8 ~) r
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    & p$ I* m" E6 Y$ r/ a2 L# {) E* z" z
  1158. ; http://php.net/mysqli.default-host' Q- W+ s* ~8 I
  1159. mysqli.default_host =
    # v+ H5 o. S1 X& c: N& j7 f

  1160. 5 b# \* F( Y. Q1 B) o  ?& G
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).& ], x$ x% t& s& l9 f6 E
  1162. ; http://php.net/mysqli.default-user8 p' v8 B2 H  b; c) z: R
  1163. mysqli.default_user =5 p  `6 y8 S( d2 ]3 n7 W& e* O

  1164. 9 I* |( M8 Q! d/ p
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).- |1 q% E2 I- X  z
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.- l" P% u& L) u  w2 c* ~
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")" b2 h4 R, Y1 Z$ }5 |& o
  1168. ; and reveal this password!  And of course, any users with read access to this" _4 A3 Q$ `  o: \
  1169. ; file will be able to reveal the password as well.
    + V0 D3 V9 g, H
  1170. ; http://php.net/mysqli.default-pw
    0 {+ r- ^: n6 j; d1 O2 S4 G
  1171. mysqli.default_pw =
    2 h1 p4 W- f7 K1 X
  1172. , W$ ?& i3 _3 Z$ E! ]$ s2 p
  1173. ; Allow or prevent reconnect& F7 f8 G( O+ c8 L& ~  w- j  r* C% e
  1174. mysqli.reconnect = Off
    5 p" _; h( [' n) j# L
  1175. # i; ^/ [# m2 T2 N$ p. j/ J& B2 v5 l
  1176. [mysqlnd]
    / O4 J4 ?8 Z% P- ^  u0 W
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    + D/ d. B6 R5 b% t# G5 J& T2 O
  1178. ; used to tune and monitor MySQL operations.& y' D/ P4 v" |
  1179. ; http://php.net/mysqlnd.collect_statistics9 a$ L; S* i$ X1 E/ n  y
  1180. mysqlnd.collect_statistics = On) K5 K+ ]! S  U8 Z4 q

  1181. 6 N* X! M; h8 a) I* n: M2 i. o, z
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    0 o$ ?. C1 G- \  D, k$ K
  1183. ; used to tune and monitor MySQL operations.- u# g- V$ l( q$ D1 R) w/ r7 T: m7 @
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    6 R4 _0 B# B4 t) c
  1185. mysqlnd.collect_memory_statistics = Off1 a2 M- Y" ]. D) q* U
  1186. 7 ~6 p  K' L4 k0 L( M
  1187. ; Records communication from all extensions using mysqlnd to the specified log$ z3 Y% I) b6 O- s4 r: S
  1188. ; file.
    & p: e1 P& D+ i3 z9 {/ V4 ]: A+ H
  1189. ; http://php.net/mysqlnd.debug
    # }- P( r+ D" P% g( s+ _- C7 z& i
  1190. ;mysqlnd.debug =1 O/ q1 H/ A$ o

  1191. 0 x& R  f# E- z, B5 N
  1192. ; Defines which queries will be logged./ A2 V4 A- D: M$ s9 x
  1193. ; http://php.net/mysqlnd.log_mask
    " z5 z$ E2 [; [1 Z) v
  1194. ;mysqlnd.log_mask = 0
    % N. o/ d3 c- _3 H! ?* ?

  1195. ( f4 O0 C4 G8 i, h' L
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.# L6 ~" [+ N5 J2 O  o0 s0 L; }
  1197. ; http://php.net/mysqlnd.mempool_default_size9 \$ X& t7 V. z4 D" R
  1198. ;mysqlnd.mempool_default_size = 160004 _: E, V6 X( [+ w

  1199. ! \' P3 i2 f/ X; D
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    8 p5 C) ~  S! z) s
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    . m: B9 P) Q: R! D
  1202. ;mysqlnd.net_cmd_buffer_size = 2048: @0 ^- Q, d3 `1 U$ K
  1203. 7 F4 l+ `  @0 j' ]) _0 E1 t
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in) x: \1 n0 H+ t, U" X$ p
  1205. ; bytes.* {* ]3 H, }' V, |  A
  1206. ; http://php.net/mysqlnd.net_read_buffer_size; R" p9 ~& s% W6 u
  1207. ;mysqlnd.net_read_buffer_size = 32768
    & v5 W& ~0 Y3 P2 X3 a5 p" B
  1208. 0 B; }6 s7 V5 Z
  1209. ; Timeout for network requests in seconds.
    3 F9 w1 m+ L1 E7 P: ^/ D7 U! s, B
  1210. ; http://php.net/mysqlnd.net_read_timeout
    4 T5 D  s8 j5 e) W
  1211. ;mysqlnd.net_read_timeout = 31536000
    " a1 n0 s7 C0 |# q8 {) S* {& a

  1212. / D7 H! a+ C$ F7 ~  \
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    - y7 ]+ o) h4 x2 p( Q0 \( B- @
  1214. ; key.
    2 R- ]- x  h* _
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    . Q+ ?) ^) {& D1 X9 X6 n
  1216. ;mysqlnd.sha256_server_public_key =
    7 o3 @8 m5 v# m# J9 m$ B

  1217. ' R% P1 |% l6 M: F
  1218. [OCI8]
    ; Z3 _" e. l+ w! r
  1219. ' U3 B$ l' P! p
  1220. ; Connection: Enables privileged connections using external
    8 {+ _6 S" T7 E/ f5 J
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    : R6 Q! d9 a8 W: \! W$ U/ f
  1222. ; http://php.net/oci8.privileged-connect# h; M# B  B5 f" e/ n
  1223. ;oci8.privileged_connect = Off
    $ V& `6 @2 F% a' `+ G7 K6 ^) ~
  1224. 1 l( F2 ?$ X$ b, E
  1225. ; Connection: The maximum number of persistent OCI8 connections per4 C7 M6 B# D/ ], m% d7 ~
  1226. ; process. Using -1 means no limit.
    ' x: A, P8 H$ a) s3 j# F% B* s
  1227. ; http://php.net/oci8.max-persistent( ~# P+ d1 _7 I+ G* o
  1228. ;oci8.max_persistent = -1
    $ O7 j4 ^; h. x% z' _5 r6 }

  1229. + s2 z7 [9 R7 @+ ~' \+ K. p/ i
  1230. ; Connection: The maximum number of seconds a process is allowed to
    ) C* v* c  ?- _8 T0 v. n/ T
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ! ?1 A3 A, |5 F. D6 q
  1232. ; persistent connections will be maintained forever.
    ; u, D1 `/ j+ N7 g, E! f8 H
  1233. ; http://php.net/oci8.persistent-timeout; l$ o: O8 e  q2 S! ], P
  1234. ;oci8.persistent_timeout = -1! z6 W  H" ]1 C. \7 M
  1235. * l+ f. H5 i2 f4 m- V+ O
  1236. ; Connection: The number of seconds that must pass before issuing a
    5 J3 B( `# n$ ]1 ?5 y
  1237. ; ping during oci_pconnect() to check the connection validity. When1 z+ n# X6 W" w" J6 a( _5 ?8 N
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables; q8 M5 w: f4 h" S* Z3 x
  1239. ; pings completely.
    # Z8 H& {2 b, m( A/ b, @- A
  1240. ; http://php.net/oci8.ping-interval- {' o( i2 P. r; g$ N1 i
  1241. ;oci8.ping_interval = 60+ c: c" i, A' k6 i! w* e% C/ [
  1242. # ]) A& W8 v5 p# |4 @# W
  1243. ; Connection: Set this to a user chosen connection class to be used$ U9 e- w# x1 }/ s) q, t
  1244. ; for all pooled server requests with Oracle 11g Database Resident2 w$ T* _. }# r4 q% y
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    8 H( K% S* y- x% f) H
  1246. ; the same string for all web servers running the same application,% l, c+ x5 ]& P! n5 t: A1 B; p
  1247. ; the database pool must be configured, and the connection string must/ V3 V. Z4 R4 E" V2 {
  1248. ; specify to use a pooled server.+ ]9 e; Y( C! e: g3 [
  1249. ;oci8.connection_class =
    ( o" l& P- t5 p" O

  1250. 4 f& i  f! J3 d$ |0 C7 c
  1251. ; High Availability: Using On lets PHP receive Fast Application
    1 ~$ j0 R3 o3 N$ J* R* K+ `
  1252. ; Notification (FAN) events generated when a database node fails. The2 @2 j* X+ C% l% U
  1253. ; database must also be configured to post FAN events.1 J9 I: v" x4 ~( |2 H4 b: H) b( E
  1254. ;oci8.events = Off
    ( d+ f3 x) h! ~' b
  1255. $ a  D* V3 t) U: e* a1 Z/ c& M5 ~; C* J
  1256. ; Tuning: This option enables statement caching, and specifies how
    , Y* R7 h  S+ _! u/ q7 d
  1257. ; many statements to cache. Using 0 disables statement caching.3 w4 k. ^0 U/ W$ p: ~/ u7 A! h
  1258. ; http://php.net/oci8.statement-cache-size
    . s$ X7 Z+ A1 ~1 z( |
  1259. ;oci8.statement_cache_size = 20$ Q# K2 [9 A8 T) c; W" z* A

  1260. + E- a9 b$ q: c3 A& D9 L
  1261. ; Tuning: Enables statement prefetching and sets the default number of# ?+ ^* m; c0 g) c" c. j
  1262. ; rows that will be fetched automatically after statement execution.* A1 }7 }3 w- P" m5 q/ D! ?
  1263. ; http://php.net/oci8.default-prefetch, w6 Z# b; `" p/ Q. S' {% k- O& o) P9 ^
  1264. ;oci8.default_prefetch = 100/ j) p3 ]) n; F: Y/ ?; v

  1265. $ T5 a) L4 Z# x1 G0 E
  1266. ; Compatibility. Using On means oci_close() will not close8 q9 g7 f3 K7 }) K* l$ {+ T
  1267. ; oci_connect() and oci_new_connect() connections.  I: H" P5 P  D: d
  1268. ; http://php.net/oci8.old-oci-close-semantics# j( Y: t" L1 r( o# ?* t8 d( v
  1269. ;oci8.old_oci_close_semantics = Off' E- M! {5 L. \$ J

  1270. 3 n* p: w# N/ U0 y& [- ]
  1271. [PostgreSQL]
    * Y3 p4 t3 ~$ i+ w$ I# N5 ~
  1272. ; Allow or prevent persistent links.
    % R$ ~; R* @  w! f9 b: ^7 T! t: H$ S
  1273. ; http://php.net/pgsql.allow-persistent# d* N! ?+ u6 \5 U- v9 J/ U1 ?
  1274. pgsql.allow_persistent = On9 H9 o0 [5 A# G( \0 L

  1275. 1 i0 F0 q0 V1 J8 z
  1276. ; Detect broken persistent links always with pg_pconnect().8 f) P9 H0 a; f, S7 S8 K& D' f
  1277. ; Auto reset feature requires a little overheads.
    * z1 A: L% H+ l( {% q& B8 z" m
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ) n) A, n: {7 K+ Q. s( ^3 n$ G0 E+ X
  1279. pgsql.auto_reset_persistent = Off, A+ E% ^5 f/ u# `; a0 [1 m
  1280. ( G2 o% g1 t/ i* f0 T
  1281. ; Maximum number of persistent links.  -1 means no limit.' P5 p, u1 F5 o  Q# O
  1282. ; http://php.net/pgsql.max-persistent" T5 i0 i7 Y3 o: u1 A
  1283. pgsql.max_persistent = -1
    " P! ]7 R: w* Z* B" R' L
  1284. 2 n) y' ^2 I8 I# [5 F0 F
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.4 i( }; `1 {4 @% f8 g
  1286. ; http://php.net/pgsql.max-links6 T6 G9 X/ _0 J7 G1 H. N* ]1 H
  1287. pgsql.max_links = -1
    + T$ g# q, A$ u. i" d/ q9 I; i
  1288. / g$ P: T9 ^6 A! l4 ^) ]- A
  1289. ; Ignore PostgreSQL backends Notice message or not.( }/ `. @6 H& P+ {
  1290. ; Notice message logging require a little overheads.2 Y4 S% ~1 p  ]: k% ?% S/ Q
  1291. ; http://php.net/pgsql.ignore-notice) z& F% _  C4 p3 E
  1292. pgsql.ignore_notice = 0
    & x- o) n& v4 V6 m
  1293. 9 o' X0 w" n9 d# @% s
  1294. ; Log PostgreSQL backends Notice message or not.0 B) j, t7 D3 q4 c0 v! t
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.3 z" B' O) n. k! Z( t$ ~: \
  1296. ; http://php.net/pgsql.log-notice6 B" R# T  a  R& h# ^# {
  1297. pgsql.log_notice = 0  n" D( c( U. z
  1298. # ?! A( `* i8 z" C9 N7 M
  1299. [bcmath]4 V% B) h1 T) w# F& s: [
  1300. ; Number of decimal digits for all bcmath functions.$ [- i( V5 E* k* r& w6 Y
  1301. ; http://php.net/bcmath.scale
    . q- R5 S8 H' S6 O$ z
  1302. bcmath.scale = 0# |7 ?/ I4 \$ A, O2 Y
  1303. ; \9 {" Q& a3 E- Y5 w' t; W
  1304. [browscap]
    * |; k  f6 B% ~/ Q, k4 t7 Q
  1305. ; http://php.net/browscap
    8 k5 E$ Y1 n6 D; c$ }
  1306. ;browscap = extra/browscap.ini
    / a' I* P8 ~2 Z; h' d" l
  1307. ) Q0 r1 r/ v9 N/ B; \. Y; L# u
  1308. [Session]
    6 y5 y/ G, K$ q, J' j
  1309. ; Handler used to store/retrieve data.
    + _" ^0 s% G$ d) y3 x7 M
  1310. ; http://php.net/session.save-handler; Q' ~4 t; O: ]9 d, V# b$ o1 a
  1311. session.save_handler = files! w& X4 i( t# f' B
  1312. 2 e" B- J9 @, Y5 _
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    2 t' O3 z; _/ L7 F
  1314. ; where data files are stored. Note: Windows users have to change this
    5 `% j6 N. t3 R  p& \2 _- |
  1315. ; variable in order to use PHP's session functions.' w. ]; v& b4 v( O) `
  1316. ;
    ! H" q3 S( C# C
  1317. ; The path can be defined as:
    - Q- P7 Y) M0 H% Z9 i
  1318. ;
    : @9 F( I/ U" I
  1319. ;     session.save_path = "N;/path"
    4 J/ w  f* e* w2 ~6 m9 u9 E0 B: v/ Y
  1320. ;
    ; L3 U4 A/ j4 g; [! i! V
  1321. ; where N is an integer.  Instead of storing all the session files in* n* l" r5 }& P4 X% {. b
  1322. ; /path, what this will do is use subdirectories N-levels deep, and) \, E  R8 _. o, Y/ e) D
  1323. ; store the session data in those directories.  This is useful if
    - \! V1 n, q+ P, c* Y
  1324. ; your OS has problems with many files in one directory, and is
    ) Y2 B8 W' ^* g4 s$ f6 |7 ?1 |
  1325. ; a more efficient layout for servers that handle many sessions.8 `9 B6 x! j4 h  k, J. W
  1326. ;
    7 m# G* F6 y7 e" m$ i" I
  1327. ; NOTE 1: PHP will not create this directory structure automatically.9 y5 D: @+ @  a: Q, d
  1328. ;         You can use the script in the ext/session dir for that purpose.
    $ e' w2 w( @. [9 a# F
  1329. ; NOTE 2: See the section on garbage collection below if you choose to! t6 Y' n5 m3 y  |8 E1 W9 D
  1330. ;         use subdirectories for session storage
    & M& b9 m- A- P% `: W0 h
  1331. ;% o. u  o1 L: P/ ?( P# A
  1332. ; The file storage module creates files using mode 600 by default.+ }& l* j0 Z$ Z$ W
  1333. ; You can change that by using
    ' n' \; y0 [  f# k) S; B3 W
  1334. ;! t8 S) W6 u  @+ G# [5 D4 o
  1335. ;     session.save_path = "N;MODE;/path"
    . [8 M0 O2 z5 ]# w
  1336. ;
    2 H! ?# {5 H/ |. w8 r" z8 A
  1337. ; where MODE is the octal representation of the mode. Note that this
    - ?$ N( P  l/ c3 G1 ?
  1338. ; does not overwrite the process's umask.* f9 o; O' J/ G* z+ }; V# a# V
  1339. ; http://php.net/session.save-path* G; n! O5 j( L" l. d! y; P1 T. p8 w
  1340. ;session.save_path = "/tmp"
    4 A/ J6 E) J9 Z( R( e  m& [2 K5 `
  1341. , `; @7 G5 }& [4 A: E$ h8 L
  1342. ; Whether to use strict session mode.
    2 s$ J4 l% V5 u
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate0 ]7 x. S) Z8 E, H+ K' W/ \' S" u
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    $ _, h2 c/ y6 E) U* L* J2 F
  1345. ; applications from session fixation via session adoption vulnerability. It is' ]( R* ]; z: I- n' b
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged./ y: }: I: a1 q1 V3 F0 h; a+ C
  1347. ; https://wiki.php.net/rfc/strict_sessions' f, R5 Z' A* t( _) v
  1348. session.use_strict_mode = 05 S$ E3 K2 c  n3 Z- ^" F

  1349. ! i1 \% V2 r" M- P. m/ A# v- r
  1350. ; Whether to use cookies.
    8 u" i+ ?  m8 y3 I% G) x$ r
  1351. ; http://php.net/session.use-cookies
    7 x- T3 [+ S/ G$ f9 r
  1352. session.use_cookies = 1- b# r9 _3 L4 N: B" D4 _% J% z
  1353. ( j6 J0 I& M$ k# r# k- E
  1354. ; http://php.net/session.cookie-secure
    * E9 ~/ F8 H' q8 n4 p! g* ~1 n
  1355. ;session.cookie_secure =
      K3 y6 N$ ]& a' W# `3 [

  1356. : ]1 U9 N+ j' Q$ t- S: Q
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining# P7 B3 S5 y& s' W: t  d* ]) E9 c
  1358. ; the session id. We encourage this operation as it's very helpful in combating' Q% x' E7 Y5 W% J2 ^, l
  1359. ; session hijacking when not specifying and managing your own session id. It is
    , f' ]5 \/ \( f
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.4 H" M/ Q6 M5 `5 v  s& d' ], H
  1361. ; http://php.net/session.use-only-cookies2 O3 \! {9 B' u' v6 g, T% Q
  1362. session.use_only_cookies = 1& M' P0 T3 L' }/ O

  1363. / f4 F' h( e# N2 Q7 n6 E
  1364. ; Name of the session (used as cookie name).
    + R. u+ L: e  \$ A+ R
  1365. ; http://php.net/session.name
      S, p' d9 g- N2 O
  1366. session.name = PHPSESSID
    - W' L9 u% R0 o/ ~, j0 _3 S6 |

  1367. " h7 u$ ?2 p2 {7 ~
  1368. ; Initialize session on request startup.
    - W6 }" [9 x, h8 {5 q
  1369. ; http://php.net/session.auto-start
    9 E2 Z1 O4 y3 v3 J. q" Z
  1370. session.auto_start = 0) d2 p7 T' J$ v3 x7 r9 K5 P
  1371. ' \9 T: b5 y( {3 j
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    # m! B  b, i, g
  1373. ; http://php.net/session.cookie-lifetime
    * V. u1 J9 M$ d. G  L: b
  1374. session.cookie_lifetime = 0
    7 s4 O6 U4 u7 s/ N
  1375. ! w2 ]+ E" L! _
  1376. ; The path for which the cookie is valid.
    ) H+ J, S) G$ Z0 O5 `& f7 t3 m
  1377. ; http://php.net/session.cookie-path
    * H9 j1 @* s# T3 V) D; D. c9 P
  1378. session.cookie_path = /5 n- X" B6 ~" q; R1 Q: n
  1379. / S( h: e+ A: n* j
  1380. ; The domain for which the cookie is valid.
    8 O& x, q/ y; {
  1381. ; http://php.net/session.cookie-domain
    2 F8 I* K; a6 f
  1382. session.cookie_domain =
    $ C- ]$ G! s5 [7 l
  1383. , G6 ^/ s0 i# D4 E, ]& z$ @
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    , F$ j" j4 D& q! ]
  1385. ; http://php.net/session.cookie-httponly& @2 |* ?5 U2 Z$ B6 w% ~9 ]3 H
  1386. session.cookie_httponly =
    ) V3 @+ b. X0 p' p

  1387. $ h7 A) j3 A' i( s" Q- L! _
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.( W; E+ I9 a& A- E) E/ {
  1389. ; http://php.net/session.serialize-handler( o4 m4 q7 ~2 p" {- i. l, ^6 H
  1390. session.serialize_handler = php
    " c: J9 c) r: T, W2 Q# u. w

  1391. 8 \3 z& v5 u( c
  1392. ; Defines the probability that the 'garbage collection' process is started9 S5 Z- l4 S$ ]/ H
  1393. ; on every session initialization. The probability is calculated by using
    ( h: k- {0 _2 y+ H7 T, y# I0 N
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator: w& Q! c' }. p  [( U9 x
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    4 d3 o+ l8 W) [# S! Y' k7 n
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    & t2 ?0 M, Y% j* B8 z: [& G
  1397. ; the gc will run on any give request.$ c% r& ^) `. G) C6 K' n
  1398. ; Default Value: 1  e, F0 M4 M3 B1 ~5 @& ^
  1399. ; Development Value: 1
    # G! O3 U$ @9 B( w
  1400. ; Production Value: 1* Z- c, R8 n$ X( r
  1401. ; http://php.net/session.gc-probability
    9 e9 w+ S) X! d; j8 V1 _& a8 y' _
  1402. session.gc_probability = 1
    7 p( D$ i5 z9 c7 ^
  1403. ' I0 h* z0 K3 p4 d
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    + t) |, b. ]  W. _5 z
  1405. ; session initialization. The probability is calculated by using the following equation:
    * f( h6 k- U$ n/ `) p6 o$ t
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and* p& y" `# z* S! `
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1& t# y3 _7 X& U# E+ `6 f3 _
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance  U2 a4 A4 ], V' y  d' }
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you1 \( }7 E9 D) E; D  b
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    9 Q! Z, R( {; s# W+ ]1 ~
  1411. ; this is a more efficient approach., z) b: T/ \+ A- A; x& \$ e, C
  1412. ; Default Value: 100$ `, }" V# i: |4 O
  1413. ; Development Value: 1000- m, e* {/ h5 O, I
  1414. ; Production Value: 1000
    0 J; v8 {( O: @5 M1 ^
  1415. ; http://php.net/session.gc-divisor" Z6 l4 k: `5 z6 O% S; [/ Z
  1416. session.gc_divisor = 1000
    ; G+ b  G; r- o) l4 B1 A) @

  1417. 8 v  c) Q& i3 y* ?8 h
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    , t( X$ l! ^$ g- e3 |
  1419. ; cleaned up by the garbage collection process.
    " l% p, l7 p5 M6 @, i
  1420. ; http://php.net/session.gc-maxlifetime
    / K5 z/ }+ `" c) Y! l4 j
  1421. session.gc_maxlifetime = 1440" {$ ]# [$ T$ w! O" L! M

  1422. ; r9 j8 f1 _% ]3 u8 h2 p
  1423. ; NOTE: If you are using the subdirectory option for storing session files9 y  H' ~2 n& _- ]; V" \
  1424. ;       (see session.save_path above), then garbage collection does *not*( Z0 Y8 `% u; W+ X
  1425. ;       happen automatically.  You will need to do your own garbage7 d3 {- p' j6 `- M' l( D! }
  1426. ;       collection through a shell script, cron entry, or some other method.' P7 p0 c; l% i- o6 y8 J; a" o
  1427. ;       For example, the following script would is the equivalent of
    9 E. ], p5 o( |1 V9 Z4 L
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ' O% x5 N3 }  a6 \) `
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm5 C1 _' t+ d! {( q( n, I& n
  1430. 1 ^, n& Z: ]( i6 L4 ]2 v
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.4 E6 l# v, \# k, V/ I) o( W
  1432. ; HTTP_REFERER has to contain this substring for the session to be, z8 H. ?! z0 [; I, O
  1433. ; considered as valid.
    " Y* T- P+ l, h% t$ F
  1434. ; http://php.net/session.referer-check
    & r: h  e/ R# Q$ O- }7 d, @- S4 Y
  1435. session.referer_check =# L. J  ^) @7 d. W
  1436. * M  f# Y! t, n
  1437. ; How many bytes to read from the file.
    9 c) s9 W% c5 I5 I, i4 l  E5 G2 D2 N7 c
  1438. ; http://php.net/session.entropy-length; K6 U+ W; w4 m. j& }
  1439. ;session.entropy_length = 32
    ; L( F( l, l3 k0 l8 r* X0 j% o, s
  1440. , z2 H+ B# X/ j! p6 U' }
  1441. ; Specified here to create the session id.
    - a  i8 w2 f$ L7 {
  1442. ; http://php.net/session.entropy-file. D+ T1 q; H' ]/ J2 V
  1443. ; Defaults to /dev/urandom6 `6 Y5 H1 W( l1 E& r6 F! v
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    3 ^5 n1 F. T: V- g3 Q
  1445. ; If neither are found at compile time, the default is no entropy file.
    6 y/ v5 ^# Z; ~
  1446. ; On windows, setting the entropy_length setting will activate the
    % Y- V" c# r2 P. N
  1447. ; Windows random source (using the CryptoAPI)
    - q7 w& X+ n5 S8 Q# r
  1448. ;session.entropy_file = /dev/urandom
    . _3 f" _* S7 O

  1449. / M4 ~# ~, }' @& Q) ~8 N/ X
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    3 H6 a' w* S  `6 }
  1451. ; or leave this empty to avoid sending anti-caching headers.: i! C- \# f% P- n
  1452. ; http://php.net/session.cache-limiter# f( |7 F3 P) H9 [1 m/ Y
  1453. session.cache_limiter = nocache
    * H! R4 l4 }' l  H8 m/ G
  1454. - ^" i) p# Y9 j% u8 O
  1455. ; Document expires after n minutes.
    % l+ B* q% e9 Q0 b$ C. U
  1456. ; http://php.net/session.cache-expire
    - C* e2 B) `! {: c
  1457. session.cache_expire = 1802 {0 I. R% b. `/ m4 L( {

  1458. 2 I9 e' Z1 M% k- z4 u
  1459. ; trans sid support is disabled by default.
    2 D$ b8 t% ]+ V% V/ e, L
  1460. ; Use of trans sid may risk your users' security.+ \: U! m' V% j" c
  1461. ; Use this option with caution.
    & r* z# p3 s1 G7 A5 ]" l
  1462. ; - User may send URL contains active session ID
    ' v4 }3 }' e4 M! @5 B+ ?
  1463. ;   to other person via. email/irc/etc.
    % Q& S! {3 [# \- E7 d
  1464. ; - URL that contains active session ID may be stored
    + V3 A. O3 j% n: Q6 L* k
  1465. ;   in publicly accessible computer.4 k3 T5 W  q7 E' v
  1466. ; - User may access your site with the same session ID, L) F8 Z' d. t( s
  1467. ;   always using URL stored in browser's history or bookmarks.
    2 v, t5 u, j' j4 k& e. F
  1468. ; http://php.net/session.use-trans-sid  e1 V) v5 b8 {; B% S
  1469. session.use_trans_sid = 0
    8 T- q5 f$ f+ s* C& @# q

  1470. 2 b5 _8 q3 Q7 G, U; ]
  1471. ; Select a hash function for use in generating session ids.
    + H0 \* m- G- E* J6 l. o) m
  1472. ; Possible Values
    , F6 i/ l- }6 L/ i+ ^# k
  1473. ;   0  (MD5 128 bits)9 ]4 t- R  b4 S- e% t) d; f
  1474. ;   1  (SHA-1 160 bits)
    # n; A- p, M/ a8 j  O. ^/ @" f, s
  1475. ; This option may also be set to the name of any hash function supported by/ R8 V4 @* t+ g) e: Z2 P* `
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    + P+ X( I. Y0 T: C! r
  1477. ; function.
    3 j. N) Q) E( S* d. V+ E
  1478. ; http://php.net/session.hash-function! Z$ |; R1 |5 M$ V# S
  1479. session.hash_function = 0
    7 G, J% o0 x' D4 s8 ^; T% b
  1480. 5 K1 \) P" L0 S$ a' d. Z5 Z
  1481. ; Define how many bits are stored in each character when converting: O' y& }2 [. x! E  E; Z* R. o( N
  1482. ; the binary hash data to something readable." r& s% z; E0 x- b
  1483. ; Possible values:; ]* i. `- t' C! q  {" q
  1484. ;   4  (4 bits: 0-9, a-f)
    & p, a4 \' }; m, B# P+ J5 A( R
  1485. ;   5  (5 bits: 0-9, a-v)
    & v, {3 C) V& w9 g/ z
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    0 u" i! Y- Z2 D( i+ x
  1487. ; Default Value: 46 y+ g3 i# G/ B0 Q1 G6 d
  1488. ; Development Value: 50 q( j5 |+ }& V$ {" O
  1489. ; Production Value: 5' _. I" r$ t& H6 q1 g
  1490. ; http://php.net/session.hash-bits-per-character
    ) `' B/ D4 a2 n
  1491. session.hash_bits_per_character = 5
    : f4 c; S' H( J- \/ p/ Q
  1492. ) n& W6 g3 M  f4 i9 G
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    # p- J- T7 c$ q! B3 A  {8 ^
  1494. ; form/fieldset are special; if you include them here, the rewriter will  i% C; y0 D* e- E2 q
  1495. ; add a hidden <input> field with the info which is otherwise appended: c$ p) I7 h* K$ j' A$ r$ {8 k* l
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    - o+ B; j0 Z. x0 Y% T& u/ n. k
  1497. ; Note that all valid entries require a "=", even if no value follows.
    $ r/ B7 s6 Q; y$ F% O
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="5 z1 ^* x/ X  t, H* ~% Z; P
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% P( h( k; F! z* p
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 X" G  H% ]5 {0 E! b
  1501. ; http://php.net/url-rewriter.tags  r6 T% W% F7 r  [1 s( W# i+ Z
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"2 ^% y6 ~- y1 B, I/ y4 {

  1503. 6 r* ?. }8 c2 o) a: i5 N) Y
  1504. ; Enable upload progress tracking in $_SESSION3 a  F  S/ k% Q  ^. G" E% _  A
  1505. ; Default Value: On
    ! C, g, p. Y' f+ l$ J0 ], T8 A
  1506. ; Development Value: On
    ! T' Z* `0 L6 b+ g, g5 P7 W5 W8 v
  1507. ; Production Value: On
    ! K0 ]% k3 d6 F* }) o6 x/ {" R
  1508. ; http://php.net/session.upload-progress.enabled+ b/ x- |  b2 R9 s5 O8 K1 Q
  1509. ;session.upload_progress.enabled = On
    " a. H& q) w0 p6 L+ n

  1510. ) ]$ X! G* C0 j
  1511. ; Cleanup the progress information as soon as all POST data has been read* G/ u- L5 N; Q3 G, \; ~  S5 ]
  1512. ; (i.e. upload completed).. v# C# t3 V( @3 C$ `2 v
  1513. ; Default Value: On
    7 q4 _' b+ z. O. z
  1514. ; Development Value: On
      Z, E' r9 N0 W. W8 U- C
  1515. ; Production Value: On
    % ^! S( |# c0 _; S  j* h. @- J' `
  1516. ; http://php.net/session.upload-progress.cleanup
    7 J7 q3 z% X" v$ G, I% i# N
  1517. ;session.upload_progress.cleanup = On
    ' g- d$ e8 J" c8 x' x, w' G! c

  1518. $ p$ v# d# }1 E) ]# W7 Q% _0 \
  1519. ; A prefix used for the upload progress key in $_SESSION
    3 C9 x. Z# |) {+ V% S+ a8 ^8 S
  1520. ; Default Value: "upload_progress_"9 z' S7 u4 V. @
  1521. ; Development Value: "upload_progress_"
    / O% b' [: _4 B6 N; G
  1522. ; Production Value: "upload_progress_"' Z; C8 b1 p- F2 E/ Z* O
  1523. ; http://php.net/session.upload-progress.prefix
    + y1 k  K1 O1 N8 N0 p1 T
  1524. ;session.upload_progress.prefix = "upload_progress_"
    4 U& I5 |8 X, G) `1 I2 ^

  1525. 5 O( y- P5 ]( ~( F4 p
  1526. ; The index name (concatenated with the prefix) in $_SESSION$ I# T7 Z1 n. ~0 @" ], }" S" N& P
  1527. ; containing the upload progress information& k/ m9 y1 b/ ?; x
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"  I- j: X1 x( n* `* K0 I) Y0 A
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , I$ C3 @( i  a
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! \+ z" C& h& o  K/ w9 K
  1531. ; http://php.net/session.upload-progress.name6 u8 Q6 M; e8 Z* ?1 N
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    # r$ b4 \3 ^5 t* N) T8 S
  1533. ; u; C! w7 x2 ]# E, W5 O
  1534. ; How frequently the upload progress should be updated.) B& R. M- M1 e
  1535. ; Given either in percentages (per-file), or in bytes! K3 N, y& z2 t+ X2 a$ [4 Z
  1536. ; Default Value: "1%"- m: W5 u3 u! y2 [& J0 x6 D
  1537. ; Development Value: "1%"; d5 K0 u( D; [# Z8 ~$ M6 d
  1538. ; Production Value: "1%"
    * Y) y# Y* H3 y5 Q+ S* I) A
  1539. ; http://php.net/session.upload-progress.freq
    - u3 c0 ~6 i5 a9 V  G! v8 ~+ B
  1540. ;session.upload_progress.freq =  "1%". e7 E# ?1 n" \7 v$ r7 I0 {

  1541. 8 r2 }9 v# D0 ~  F8 V7 N5 A
  1542. ; The minimum delay between updates, in seconds* U8 o8 v* y$ J/ \0 Q
  1543. ; Default Value: 13 C" [! I2 W# v3 B9 Q1 ~' \0 n6 d: ^
  1544. ; Development Value: 1( f  c, o$ ]- l8 H$ p
  1545. ; Production Value: 1
    ; _: U  U+ B$ R  P9 `  p$ {3 S
  1546. ; http://php.net/session.upload-progress.min-freq
    7 Z+ I8 m! |. o% k1 x
  1547. ;session.upload_progress.min_freq = "1"
    3 E" a+ e. F1 n4 |* Y" y3 c3 V3 n

  1548. : o- n, J8 ^( A- m  E4 s
  1549. ; Only write session data when session data is changed. Enabled by default.
    : v* t* h" ^6 R# d  x% t( `0 e* M: g
  1550. ; http://php.net/session.lazy-write
    ' Q" v. ~. M# [7 c* O3 ?) ?  K% ^
  1551. ;session.lazy_write = On
    ) I$ O9 t& [, L+ z: }

  1552. & p% f# L- M. U: }# ?
  1553. [Assertion]" k. T& f1 e7 ]9 S
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ! e! q% t, l5 A* x1 t0 Z
  1555. ; -1: Do not compile at all
    ! `" X/ m9 }2 [/ W' r9 L
  1556. ;  0: Jump over assertion at run-time0 H8 I1 G2 j0 e5 q; G5 f
  1557. ;  1: Execute assertions* q, D2 U6 o8 V0 O
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    3 T1 {- B+ r7 G. E  i+ J5 @
  1559. ; Default Value: 16 m# ^! {3 T5 z% S
  1560. ; Development Value: 19 {& i2 x: z# V) R1 m8 l
  1561. ; Production Value: -1
    + w" @% n# p. D) [0 Y- n% |: u
  1562. ; http://php.net/zend.assertions! ?7 Z9 d" l! q2 m
  1563. zend.assertions = -1" ?: a' w6 D) w1 d3 y
  1564. - D0 N) Q8 I1 N! s. p7 J  F
  1565. ; Assert(expr); active by default.
    % }% V3 f* i% \. R
  1566. ; http://php.net/assert.active3 p: ]- [$ B2 @- E  L
  1567. ;assert.active = On
    0 {* _) G& I& n" \2 c) x! R7 H5 u
  1568. . S6 }6 |0 G* ]  m" [7 U$ q. w
  1569. ; Throw an AssertationException on failed assertions
    ) o4 W' B/ c' H! O5 m/ I. c: S" U) }
  1570. ; http://php.net/assert.exception; }* k: K5 T# i. u: M5 x0 U, N
  1571. ;assert.exception = On
    + b/ K, _/ Z* r5 E5 X2 }

  1572. / I: h! r& A& V% M4 R# r
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    3 @8 O" W1 y0 S4 }+ d: Q
  1574. ; http://php.net/assert.warning
    - h. h7 H" D  f! m& w
  1575. ;assert.warning = On5 H: R$ F2 ?) O3 \

  1576. / ?4 y8 S) t, w" M9 Y# [; l
  1577. ; Don't bail out by default.
    ' E6 `4 m2 u% T: l* v$ S
  1578. ; http://php.net/assert.bail/ m( N. m2 v$ N5 H6 {
  1579. ;assert.bail = Off
    , L0 a$ L" o. {3 y* U3 [8 g
  1580. ) E  P  T: }0 ~3 Y) P+ S
  1581. ; User-function to be called if an assertion fails.
    , K1 b3 u. _- g1 G9 K
  1582. ; http://php.net/assert.callback$ w0 q+ u/ ~$ R6 H4 n
  1583. ;assert.callback = 0
    0 B$ J- T2 L- H9 u# v
  1584. 1 r9 a' {2 K6 x& G8 R
  1585. ; Eval the expression with current error_reporting().  Set to true if you want" }2 ^8 \4 G4 d% i0 F+ S2 V6 N' V; F
  1586. ; error_reporting(0) around the eval().
    6 [* C5 x- p) A
  1587. ; http://php.net/assert.quiet-eval
    3 S8 A7 a% {" h; _6 b; M
  1588. ;assert.quiet_eval = 0
    & O( E/ o  C6 Z$ h  B
  1589. 5 n5 ]. ?5 c7 {/ A
  1590. [COM], u& B& x1 e" ]& W9 S+ V3 Y3 V
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs% N; E9 k9 ?. A0 X1 x
  1592. ; http://php.net/com.typelib-file) k. C" h2 E+ D0 {6 y4 ~8 v% H
  1593. ;com.typelib_file =
    " ]+ k: [0 o* C6 U- D$ o* w$ R

  1594. " ?' C1 t( G. ?7 i4 v! P. W" P
  1595. ; allow Distributed-COM calls% S, O8 j4 L2 N+ }" r, g6 M, s
  1596. ; http://php.net/com.allow-dcom
    9 n& g* F4 a2 R0 ?  Z3 c# Z9 J. l
  1597. ;com.allow_dcom = true
    - y* l2 {- y* r5 V% @/ t3 @9 S
  1598. # Y" x! h. u& Y1 e" O9 n+ H: v
  1599. ; autoregister constants of a components typlib on com_load(), t  w2 l; y2 R% p, V4 ~
  1600. ; http://php.net/com.autoregister-typelib7 e  `, F7 E$ D! s" X  i1 c( ?
  1601. ;com.autoregister_typelib = true# E1 x- b; G8 S8 x
  1602. % G( H3 k% p3 s* s
  1603. ; register constants casesensitive+ f  v; r' [& _, B: x
  1604. ; http://php.net/com.autoregister-casesensitive
    ; G6 m% F. @* B+ C: @
  1605. ;com.autoregister_casesensitive = false
    - T/ B  K& E: T! [4 R& ?
  1606. $ J, J+ _; J3 R; o
  1607. ; show warnings on duplicate constant registrations
    9 X  a/ c; o* W- g; b  c
  1608. ; http://php.net/com.autoregister-verbose
      F* {! P. ~8 [4 X8 Z
  1609. ;com.autoregister_verbose = true" P+ l2 y9 \" c' K0 p1 ?) q: H

  1610. $ B& R# M8 S7 Q' S7 [4 C8 j  I
  1611. ; The default character set code-page to use when passing strings to and from COM objects.% ~* K: `4 \7 B% X: H0 D- a3 P9 G) x7 l
  1612. ; Default: system ANSI code page
    / ~6 k: E. a0 k7 P: u1 K1 {/ p
  1613. ;com.code_page=6 I/ [) b8 F2 ]! R1 ~/ u
  1614. & P' z9 M5 b# r0 T6 |3 g) R
  1615. [mbstring]
    3 m/ S* r. Z& S/ z# O
  1616. ; language for internal character representation.
    ) b& v1 D* K4 ^- e
  1617. ; This affects mb_send_mail() and mbstring.detect_order.; G, K5 I( ~3 P% U. l! W5 j
  1618. ; http://php.net/mbstring.language6 |5 t& o, p7 ?" [$ U
  1619. ;mbstring.language = Japanese
    / ]- r0 L/ v: g( e* y

  1620. ! D7 q" d3 E' @" Y
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.6 S! Q4 i: |4 d# T8 E4 r6 E
  1622. ; internal/script encoding.1 e$ x8 b3 p% M8 m
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    * N7 i3 `$ E1 P
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 z/ S5 E' B/ M$ p9 v/ i5 X
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 G: a) N( v" U' H1 Q* z
  1626. ;mbstring.internal_encoding =; B5 S4 o5 T9 d/ W: U  V# u

  1627. : |! u2 z$ _- p$ D4 Q/ W
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    0 x8 x- ?; j' ]0 v
  1629. ; http input encoding.
    9 L& Q! r& j6 C# E  l
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    . M1 }1 @: e2 n  F7 f; J0 `7 E$ p
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    % D! J. y6 ~; ]3 ?8 f8 {
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input% `4 X) Z% Y" y7 q. e9 h& f
  1633. ; http://php.net/mbstring.http-input4 k$ k* n7 s/ H- [& p3 L
  1634. ;mbstring.http_input =8 \! ?" M/ P$ u* e2 ]

  1635. ) H& w1 B: P5 Q$ ]
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.4 s$ [. m! B6 H" G* N7 \8 h
  1637. ; http output encoding.
    . W8 c7 @$ s4 K7 i* |
  1638. ; mb_output_handler must be registered as output buffer to function.. a% n+ Y5 x$ q$ _' J# t! S; j
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    6 m* P  H6 A$ }+ Q
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output- u& H& P6 m& i$ d
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    # z7 k5 U$ m! Z1 S
  1642. ; otherwise output encoding conversion cannot be performed.
    ( k7 ?9 p0 p2 c" k8 N
  1643. ; http://php.net/mbstring.http-output, o8 s% G6 O" ?) i* B3 p% ~- ?
  1644. ;mbstring.http_output =
    % e- @& S5 t$ ^; N0 ]& [
  1645. 3 Q7 h  w; w$ w4 t3 l
  1646. ; enable automatic encoding translation according to1 R) Y3 A7 e: h: ]$ F, r. [
  1647. ; mbstring.internal_encoding setting. Input chars are! A: f3 S+ p( h" v2 r
  1648. ; converted to internal encoding by setting this to On.
    - y+ `* E- b1 V5 Q/ m, J% s6 Y( X
  1649. ; Note: Do _not_ use automatic encoding translation for
    * @4 }. {' ^. X/ h: g
  1650. ;       portable libs/applications.4 ]+ e& t" ?8 Y' S( h
  1651. ; http://php.net/mbstring.encoding-translation2 J5 a2 Z; z  F$ Q
  1652. ;mbstring.encoding_translation = Off" U- ?1 x, D3 R) T! _( p

  1653. " O8 W, ~8 D3 o' G. Q
  1654. ; automatic encoding detection order.
    : m% D  ~) M; d5 L3 `7 z7 @
  1655. ; "auto" detect order is changed according to mbstring.language
    & X! F' l% f( Q5 B7 [
  1656. ; http://php.net/mbstring.detect-order: m1 m- [' ?5 B- q) A
  1657. ;mbstring.detect_order = auto4 g6 `3 A& C/ P5 U+ w( v* Q

  1658. $ x* t  P( C! A1 [2 K
  1659. ; substitute_character used when character cannot be converted
    : P/ D3 s. M$ [' d
  1660. ; one from another
    : g; p6 Z0 I; a; e4 g  f
  1661. ; http://php.net/mbstring.substitute-character
      Q* Q: n& l6 s1 t5 G2 E& \
  1662. ;mbstring.substitute_character = none
    & b4 d2 `, Y% |7 n2 R
  1663. % H; t7 b6 i8 C$ t: N6 }7 O
  1664. ; overload(replace) single byte functions by mbstring functions./ |# f& k; v- j' ^
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    " Q4 O7 w7 V$ Q( H& s6 L3 z& r
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.! e/ M  |. a& L* ]5 W
  1667. ; For example, 7 for overload everything.
    - O) ~% ^' h) t9 H; D
  1668. ; 0: No overload* y/ u2 D7 A+ c; q2 U' d/ F
  1669. ; 1: Overload mail() function
    ( x- o8 o3 T$ R4 {. w# u- c9 D
  1670. ; 2: Overload str*() functions+ `- c  J7 U: Q- O
  1671. ; 4: Overload ereg*() functions
    % u: F: {  W# U
  1672. ; http://php.net/mbstring.func-overload7 r/ K6 v* f0 E
  1673. ;mbstring.func_overload = 0
    2 S: b: x4 D* |4 D5 |
  1674. 6 M; s/ Y. ~+ u: U
  1675. ; enable strict encoding detection.0 z+ B; {3 V. ~# u
  1676. ; Default: Off  G9 {# m. w* z  u5 R" V% ]- J7 c6 s
  1677. ;mbstring.strict_detection = On9 J8 T$ y7 K' E4 K1 p5 D; R: v

  1678. : Y/ v  ?  S% d; W' t1 e5 o' U
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()% U6 ~5 k7 r( U# U5 L* @+ Y+ j% O
  1680. ; is activated.0 e8 \) }9 F. A, e
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    # A2 l  i! p, n$ x8 ]
  1682. ;mbstring.http_output_conv_mimetype=
    / t6 I+ H/ J  q4 l9 F5 N

  1683. ! W  E- W& h( X( \1 \5 @, y4 k
  1684. [gd]
    # V% f2 B2 M6 Q8 n  ~% d  b+ h
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    9 k# d3 y5 }8 U0 Q5 h; {9 Y  \7 c
  1686. ; a gd image. The warning will then be displayed as notices
    6 l) Q" z+ O+ K9 a# Z# x; W  I2 p
  1687. ; disabled by default. P: K2 `/ S0 V& g1 ]: U
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ) L# M' p' w4 e, d6 W" c  H# R
  1689. ;gd.jpeg_ignore_warning = 0  q, \; Q) k0 H9 g* y
  1690. " s" p+ L% A4 v9 C
  1691. [exif]
    / L. P7 y2 F* z3 J/ q
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS., E$ E$ M+ A) \+ _# }( p  {( t3 ?
  1693. ; With mbstring support this will automatically be converted into the encoding  Y. q# _% j2 D6 u  |
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    3 g+ d/ c: x& ^! \, u& m2 O
  1695. ; is used. For the decode settings you can distinguish between motorola and# z* P% G4 I' d
  1696. ; intel byte order. A decode setting cannot be empty.  P0 o- h0 M. q; `7 U% h5 ^
  1697. ; http://php.net/exif.encode-unicode- J" u, U& ^8 _
  1698. ;exif.encode_unicode = ISO-8859-15: r# @1 ]3 M6 ?
  1699. 1 N3 Q  W: I' u$ A$ Z7 A
  1700. ; http://php.net/exif.decode-unicode-motorola8 |  ]8 E+ V$ c( u% f
  1701. ;exif.decode_unicode_motorola = UCS-2BE0 j7 {0 B/ x7 V$ Y

  1702. 3 f; P  E2 |# ^8 o9 H, N
  1703. ; http://php.net/exif.decode-unicode-intel
    - a" i+ k0 w0 J. g* _
  1704. ;exif.decode_unicode_intel    = UCS-2LE; u; h+ ~/ A  i/ |
  1705. 5 E1 |  x' G. B1 Z* c
  1706. ; http://php.net/exif.encode-jis5 X& L4 ^/ w/ |3 h6 P: I
  1707. ;exif.encode_jis =5 Q, |3 ?& Z, M
  1708. $ o8 w/ @6 M0 @5 R  V: s! u
  1709. ; http://php.net/exif.decode-jis-motorola2 `0 ~- I" j1 F! P; M  P
  1710. ;exif.decode_jis_motorola = JIS4 T! @0 j9 h1 n, [
  1711. + \8 o  P2 q" @: m1 _
  1712. ; http://php.net/exif.decode-jis-intel" _. |3 r1 Y& l" B4 r; V/ ^
  1713. ;exif.decode_jis_intel    = JIS( G! L5 u8 L7 f# X. O  t( |

  1714. 7 p. f; U! q  c* ]6 ^7 r& G
  1715. [Tidy]4 I" v: ?( L- X1 y4 w" h
  1716. ; The path to a default tidy configuration file to use when using tidy
    ( ]% P& Q' S3 E0 H* r
  1717. ; http://php.net/tidy.default-config! ?/ j2 ?/ d1 l5 {
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg) D' X# x) s1 r6 k0 T
  1719. % D4 |. Z1 p8 Z
  1720. ; Should tidy clean and repair output automatically?
    9 g$ Q* ~1 i& V6 a
  1721. ; WARNING: Do not use this option if you are generating non-html content
    # |7 o& X7 ?8 B% d6 N( \
  1722. ; such as dynamic images9 s1 d$ d3 g. |+ H* ^
  1723. ; http://php.net/tidy.clean-output" i/ K2 Q8 W8 t0 Z+ I& M
  1724. tidy.clean_output = Off
    + I7 @  w' g6 O+ b0 S) n9 ?
  1725. + }: b& n# k, W! F$ H  w
  1726. [soap]
    ! Q, ^" G9 c( t) z
  1727. ; Enables or disables WSDL caching feature.
    0 X2 W4 c5 c) q1 g: K
  1728. ; http://php.net/soap.wsdl-cache-enabled- @+ t# H. h3 V& Z- z
  1729. soap.wsdl_cache_enabled=1
    4 {( {! y7 @* n* W1 W

  1730. * P, p$ m; `* w0 f, c
  1731. ; Sets the directory name where SOAP extension will put cache files.
    + S5 I- o  o. g% O7 a; ?
  1732. ; http://php.net/soap.wsdl-cache-dir
    + ]' L. }1 b# F
  1733. soap.wsdl_cache_dir="/tmp"& w& l  l- b- O0 y7 G4 Q* p. k

  1734. " ~7 i9 |) p( Z6 _
  1735. ; (time to live) Sets the number of second while cached file will be used! c! l+ [; M7 M2 ?; u4 A* u
  1736. ; instead of original one.0 n& j. ~. F" g
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ( M  Z  o: r) _3 Q! l
  1738. soap.wsdl_cache_ttl=86400
    # ?/ y; n7 N  @( N2 {! N& r0 ?

  1739. 4 |" ]! C. T! E: ^
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)1 N* [( G6 n! k: N' C: o" F0 z! ]
  1741. soap.wsdl_cache_limit = 55 ]. r1 E- h* t0 l; r/ G6 w- r) L! F( A/ Z
  1742. 7 g% @, ?5 d2 J* ?1 E
  1743. [sysvshm]
    " Y+ j4 h" H" A5 R/ u$ k
  1744. ; A default size of the shared memory segment  i, O8 n( |) y6 U+ n
  1745. ;sysvshm.init_mem = 10000
    9 t6 k& j6 e% q( `: j8 y

  1746.   f9 \. z/ \- t: i: W
  1747. [ldap]1 H  R. E: A/ D$ ~) ?$ v% \4 q1 A
  1748. ; Sets the maximum number of open links or -1 for unlimited.; s( V) ^, g, f' C4 V- Z& K
  1749. ldap.max_links = -1# A. x/ k4 U+ p2 C+ w
  1750. ( A5 j1 f3 k) o8 F# p. i
  1751. [mcrypt]
    ' u. F9 _$ a( q9 t) R: w
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    4 r1 [! G% u3 k0 p  \$ k4 [, S! ?
  1753. % r0 Q3 L8 p* a* x: W
  1754. ; Directory where to load mcrypt algorithms( x* O6 N, s4 ]& z
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)1 _4 D! \: m. ~( @  W7 ~
  1756. ;mcrypt.algorithms_dir=
    ( l1 w9 ~4 w# c) K, u" I

  1757.   T/ u+ Y: R# u7 \  d7 n/ G
  1758. ; Directory where to load mcrypt modes' F' E$ T8 D) U2 b4 V
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)/ |# n( r4 m! H" G. l
  1760. ;mcrypt.modes_dir=/ u/ Q" V5 x9 l
  1761. 2 ?3 u  y( Y; E
  1762. [dba]( z/ M: G; U: S, J9 b
  1763. ;dba.default_handler=
    / l1 f6 R3 m1 P# W0 X
  1764. 5 s- L" O) W) t2 C, T6 q4 {* y* \
  1765. [opcache]
    5 D/ V  O% b; N2 l+ h0 j% B
  1766. ; Determines if Zend OPCache is enabled, \) j( t6 z" o  V( {9 i
  1767. ;opcache.enable=0
    & J9 c2 M9 c1 J5 V
  1768. * d8 d% Y$ T3 A+ S. ]2 Y
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP  U- y" X3 v* d- E4 A) G
  1770. ;opcache.enable_cli=0
    6 G  K: _5 ?+ j( X/ B& e+ }
  1771. ( z2 |! D' n. ~5 {
  1772. ; The OPcache shared memory storage size.; R/ F, t+ T, Q& b
  1773. ;opcache.memory_consumption=64
    7 h4 H9 i# u: D

  1774. 2 F, @3 T- D* J. X6 E: C" _, [/ c
  1775. ; The amount of memory for interned strings in Mbytes.
    % w' M+ e" ~3 ]- Z- ~8 T" i
  1776. ;opcache.interned_strings_buffer=4  t( j% @8 l. u, L& [0 W6 O# a
  1777. 8 d7 H9 M9 g: B: h$ O3 a/ Z
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.% J. I9 h) q' b$ e/ z1 B5 m
  1779. ; Only numbers between 200 and 1000000 are allowed.
    0 G1 b: |- `, z  b, Q' e$ |! ]
  1780. ;opcache.max_accelerated_files=2000
    9 r3 h+ \  Y$ B  ^8 s/ u
  1781. ! e# M1 X, u) L2 I8 N: c
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.! s  A6 G" x8 W6 \
  1783. ;opcache.max_wasted_percentage=5
    " B. z2 Z! R8 w3 S) G% C, i' f
  1784. / D' j) q. b& p, y. L" j- d7 [4 l
  1785. ; When this directive is enabled, the OPcache appends the current working; ]3 ^, t" i4 n' W
  1786. ; directory to the script key, thus eliminating possible collisions between- \2 l  A4 ~2 z9 c* H/ b! b
  1787. ; files with the same name (basename). Disabling the directive improves
    / Y  ^* f7 L; V, k: Z! t, o
  1788. ; performance, but may break existing applications.4 g% y6 G4 ?# u0 W9 i
  1789. ;opcache.use_cwd=1
    ; L; M6 q  y7 v! ~. F, F
  1790. % e# \: S" X! K) n6 b
  1791. ; When disabled, you must reset the OPcache manually or restart the
    # E. `: Y6 x! Z5 B, c' @0 d
  1792. ; webserver for changes to the filesystem to take effect.
    ) Y7 P' e5 K: o3 [8 \& h0 o/ I
  1793. ;opcache.validate_timestamps=1! U  ?1 |/ _7 f
  1794. % n) o6 F5 E9 @! ]+ B: p' Y. \3 Z
  1795. ; How often (in seconds) to check file timestamps for changes to the shared5 {/ k- V" y% J7 a
  1796. ; memory storage allocation. ("1" means validate once per second, but only6 j1 w+ S% F9 Z
  1797. ; once per request. "0" means always validate)
    % Z! f- d7 o( N& T' B( p% ?1 P& C
  1798. ;opcache.revalidate_freq=2
    " c; W' T) m  Y. q4 g1 }

  1799. 6 G$ w; Q* A& p( O! l: i1 B
  1800. ; Enables or disables file search in include_path optimization
    1 `5 u7 z1 {& [- m) c" g
  1801. ;opcache.revalidate_path=0
    # p8 q6 V  B; ?* h7 s  L
  1802. $ f7 I1 K  F: G* p; C
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    / _* [; O7 g2 U% K4 g+ L+ p$ Y1 c- W
  1804. ; size of the optimized code.
    , L7 @' h% f6 \, e* q8 K0 v
  1805. ;opcache.save_comments=1. J6 c! b( O/ j2 i- L: I
  1806. 6 J2 O0 V1 }' D# {6 D( d: k& V8 H
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code( C- J$ {% ]. d
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.7 X- R0 }& q, A( G, P% f
  1809. ;opcache.fast_shutdown=0
    3 _5 \& y1 }/ _/ Y; D* O8 E  m

  1810. 7 u. a8 c! T0 |. I4 E% e+ g  S  W7 n
  1811. ; Allow file existence override (file_exists, etc.) performance feature.3 q$ `2 P- x4 Y
  1812. ;opcache.enable_file_override=0
    6 a  C- Z- ]# M! b" T. [( J( o" q: [" ^
  1813.   |8 e, U+ e6 ^( K) J& `( d$ X
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache4 R* K$ n" \0 J) e9 z( T
  1815. ; passes
    $ Y1 u" \3 b" l7 N
  1816. ;opcache.optimization_level=0xffffffff
    ) o6 P8 K6 I, s- X
  1817. 9 K7 \8 p- f6 p- Q, S7 p3 [
  1818. ;opcache.inherited_hack=1
    4 @8 V7 d9 ?7 f6 \  _& W
  1819. ;opcache.dups_fix=0% N0 Z" l6 n; c8 l2 T% S& j- @! B; h
  1820. 3 i& s' {- M  `
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    8 D. M& |8 L! q# d& f+ b
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    2 g/ t( L4 c, a$ t
  1823. ; that should not be accelerated. The file format is to add each filename2 Z" B1 n, u! L1 p3 i9 q
  1824. ; to a new line. The filename may be a full path or just a file prefix
    0 c* t" j& M) X  l0 R
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www' B; J! G5 E$ J* r2 e; V
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    # G" s; x- x; {' @/ d' V
  1827. ;opcache.blacklist_filename=$ G, X. q& h0 r# d) @
  1828. 2 b% I# f$ a. G4 }6 p
  1829. ; Allows exclusion of large files from being cached. By default all files
    7 k: M( T3 R( m7 m. ]5 }
  1830. ; are cached.0 J5 S7 d4 b" M" B: t
  1831. ;opcache.max_file_size=0$ Z$ t/ z2 n# K# }# z
  1832. * k. U; L4 @7 S# o& }9 b
  1833. ; Check the cache checksum each N requests.
    8 K/ j( I; A+ P; o: B
  1834. ; The default value of "0" means that the checks are disabled.& c8 h1 T7 I  B3 A: N5 Z' [4 q) b
  1835. ;opcache.consistency_checks=06 }! e" I+ F" G9 Q! z/ G9 S
  1836. 2 {9 M  N2 E, K0 H8 H& w) s8 q1 c
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    4 K  z" y: n7 o& \9 q
  1838. ; is not being accessed.9 }1 K2 @/ y6 T+ r( ]3 \! ^
  1839. ;opcache.force_restart_timeout=1808 u. ?6 d. U: u- D8 Z- |2 y
  1840. 8 H3 Q* K& L7 t8 O
  1841. ; OPcache error_log file name. Empty string assumes "stderr".4 x( V! B, {7 k  c4 M) z* @4 R
  1842. ;opcache.error_log=
    " m. e7 ^2 v6 T
  1843. 0 B# j: }% s3 `& h# m
  1844. ; All OPcache errors go to the Web server log.
    ; H2 ?6 y& p# e
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.! g2 f9 `- u' L& x2 @4 G
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    . i1 Z4 x! t* S, K+ z' ?
  1847. ; debug messages (level 4).* `- P/ A; T% y. ^8 B
  1848. ;opcache.log_verbosity_level=1
    1 z/ `+ e  e* F  r% p. V- Q
  1849. / @! }+ h6 ^# k5 q
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    9 U, @, _# u) d5 k) `
  1851. ;opcache.preferred_memory_model=
    + G; b! Z0 E* E
  1852. " Q, T" d1 L1 ]. K* s+ k( x; I
  1853. ; Protect the shared memory from unexpected writing during script execution.
    5 W' g% I  r2 b
  1854. ; Useful for internal debugging only.8 p$ A$ c( j$ C) o- ^3 U; A8 j
  1855. ;opcache.protect_memory=0
    5 J2 a; N9 A4 n4 |8 N

  1856. * @$ f7 k, {0 P, y, [- t. \$ Z
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is3 f7 ~# M+ k% c
  1858. ; started from specified string. The default "" means no restriction6 G5 ]: K3 d# e* e
  1859. ;opcache.restrict_api=
    8 O. T/ `, X/ t4 A* K1 I- B1 b

  1860.   U: }8 x* P2 b. h' {' u
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP6 U$ L" t1 V5 U/ f; T$ x6 B
  1862. ; processes have to map shared memory into the same address space. This. M% u; }( u$ e8 i
  1863. ; directive allows to manually fix the "Unable to reattach to base address"- E% s# S, A3 k# y
  1864. ; errors.7 ]1 K1 M6 D$ `" R  O* z
  1865. ;opcache.mmap_base=: b5 \* ^; d8 C& \4 ^! A

  1866. 8 d) N7 V4 P. b- i5 u0 ?) S
  1867. ; Enables and sets the second level cache directory.4 p( q* d9 d( h, Z9 [. y
  1868. ; It should improve performance when SHM memory is full, at server restart or8 N+ L4 Y' I$ F  Y
  1869. ; SHM reset. The default "" disables file based caching.
    5 Q; [% H" I" C0 p: t
  1870. ;opcache.file_cache=( S; M6 @4 a! ^" Y

  1871. 1 v( f5 x+ t! S5 r) V- M
  1872. ; Enables or disables opcode caching in shared memory.0 C7 ?8 |8 n) r" f- ]' X) N5 `
  1873. ;opcache.file_cache_only=06 f7 I8 _9 j; l. t& `+ T
  1874. # O, y! o5 v+ _- r* y1 e' ~
  1875. ; Enables or disables checksum validation when script loaded from file cache.2 A0 @1 d- j# v$ y3 z7 w* ]
  1876. ;opcache.file_cache_consistency_checks=1( n- @6 y9 E! G& `: q% E) M$ G

  1877. & Y. v6 J# U3 N
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to- C5 r6 {3 y8 n) ~$ }/ i) f
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file) A* F: ]1 Y% T% t5 g4 c# `2 A8 f
  1880. ; cache is required.% \- h& A8 _0 `  G0 w/ E$ T
  1881. ;opcache.file_cache_fallback=1
    0 m. m7 k2 Z5 h( w& w3 y
  1882. + V  M" A7 @: I  c1 j4 t' {
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.8 p4 X/ u7 J) U3 C$ G$ H
  1884. ; This should improve performance, but requires appropriate OS configuration.  `- d2 s( i7 q* z1 }
  1885. ;opcache.huge_code_pages=1
    / w; L3 s4 I& Y3 _6 ?+ L6 G" M

  1886. 9 W' n( h( w. a" _6 w8 L, I
  1887. ; Validate cached file permissions.
    & z: t2 g6 P/ |( B5 t* N
  1888. ; opcache.validate_permission=0
    ' Q4 u7 }6 ?4 E0 i$ ^7 ]- [

  1889. % G" g( p# J' x
  1890. ; Prevent name collisions in chroot'ed environment.
    ' {# h+ p" B, G/ m, {
  1891. ; opcache.validate_root=0
    # i8 K# P1 M0 [: L* p+ i& W
  1892. - \& @4 Y; W+ j; I7 _, h
  1893. [curl]
    ; a! M/ Y& p0 g; a& n
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    / K; T5 Q8 }( D8 r3 j# l# F3 N* n3 z
  1895. ; absolute path./ ~; `8 N1 X: C4 `' w- _. R, |# O
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
      ~. m3 }; d4 U* w! o! G

  1897. 3 c1 K0 \+ {2 {8 j' |& M
  1898. [openssl]
    , W! ]* v: X" R
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem% F( c9 S! z4 J# M
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    % P; N2 L" U! N# v8 z0 k
  1901. ; not specify a value for this directive as PHP will attempt to use the, M+ Y; K( j5 [0 p% k& V) c
  1902. ; OS-managed cert stores in its absence. If specified, this value may still# x7 H' m/ Q) g: h4 F; z. p
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    " _! V+ k. u# u3 s
  1904. ; option.
    ) s: k( E% }3 f! k
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt. O) \2 u/ [$ V& n1 r! b! z5 y+ {
  1906. ' r0 p- K+ p9 {/ r2 H
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the7 y! S: g# V7 O7 w6 f( B9 |
  1908. ; directory pointed to by openssl.capath is searched for a suitable& ~7 I9 H" c1 N3 c7 R
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    " R6 S2 C8 U7 G! d& v. {. ?
  1910. ; Most users should not specify a value for this directive as PHP will
    . I7 V! O1 |  k: s$ \
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,2 c0 U/ O: A1 V0 C& C! Y
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    2 P# f+ H% I) m* S5 l  I
  1913. ; SSL stream context option.
    " t% y) u2 s# Q- U0 y# O. B
  1914. ;openssl.capath=
    , o3 U$ b9 Y: X( f& V* @

  1915. ! v8 A  d0 E4 ]0 t6 k" {8 _
  1916. ; Local Variables:
    5 o! m% n2 D8 o9 d! `
  1917. ; tab-width: 4
    & A( F  `% x/ l+ n8 U( v/ m
  1918. ; End:7 o4 K, H$ U4 T, R8 L0 o2 T
  1919. - K. d1 ^9 q& p' G* R3 V! d
  1920. ;eaccelerator0 E/ t* K( y4 \4 c8 _

  1921. ( w+ W' M* E2 l
  1922. ;ionCube
    ) |, x  a# E9 m
  1923. 1 \3 \9 A! _. e8 k6 N3 h) g6 B' d1 G
  1924. ;opcache. U* m  e$ f$ S5 z
  1925. , m" N( J( g9 ]% d
  1926. [Zend ZendGuard Loader]
    8 z4 }0 h! F  N- I* S2 R
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    8 G( H( `: V% Y
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so: k  t5 N. y8 s4 n
  1929. ;zend_loader.enable=1
    # |+ \/ t: \6 D2 U! A1 ?6 x/ _
  1930. ;zend_loader.disable_licensing=0# e+ [; ]* _) O1 Q+ q, t
  1931. ;zend_loader.obfuscation_level_support=3
    & e  T  D5 r% S) T9 H  Q% e0 w
  1932. ;zend_loader.license_path=/ T' y3 u5 R0 j& G8 D- b6 M/ H

  1933. : v2 j! G3 V* B( ]9 v" j
  1934. ;xcache
    1 U; c& c7 Z. a8 s; T
  1935. & |4 z; D5 U3 [5 S4 R
复制代码
7 w5 V4 C( I0 h$ ]2 m
$ n: }4 b# w. P5 ]; I4 i
$ `: V. e; {) t7 o. n5 F! P  I
+ }# v# ?3 c/ L* u
$ k: l. [; m# b4 I3 p
+ U' M, `. t8 d* i7 J0 j8 b0 m
8 d$ R( S8 l  h9 e% w
PHP5.6版本原始设置
6 }0 z! P6 A" U( z9 }: Q  G4 x- h# W2 G4 v
  1. [PHP]8 S! O( b* J+ H( K2 q
  2. + y9 W$ p( Z% s
  3. ;;;;;;;;;;;;;;;;;;;0 F+ n# A1 X+ x% z9 M
  4. ; About php.ini   ;! O: J( W4 c6 a" Y( s. `; E5 O  }2 K
  5. ;;;;;;;;;;;;;;;;;;;
    : C# l# W0 |1 B, L% E# ~. S7 Z4 y
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ! r- \! @1 G% C2 V. \: O
  7. ; configuring many of the aspects of PHP's behavior.
    & E+ P+ `8 X8 Z& f8 Z
  8. ! I; d6 k4 \1 O* f
  9. ; PHP attempts to find and load this configuration from a number of locations.4 V0 w9 l1 y3 ?; ~; n4 ?
  10. ; The following is a summary of its search order:
    & W, i; Q: C7 @1 v
  11. ; 1. SAPI module specific location.! Q9 B' p0 [- Y, x9 p; s- u
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)6 Q2 ^  T6 ?, \' U3 i1 Q# P
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- k- W1 E3 E* e( i8 x3 C% L
  14. ; 4. Current working directory (except CLI)  [) c* q1 n& n8 Z3 Y! C# @
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ! I! q( l$ ?" U6 v- u% s6 Z
  16. ; (otherwise in Windows)
    ' \+ W5 Z7 I( ?
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    9 a' s8 ?) d) Q0 N/ t
  18. ; Windows directory (C:\windows or C:\winnt)# ^  \) q1 b3 \: P
  19. ; See the PHP docs for more specific information.& y( G  N" z/ u4 M% W3 o% d
  20. ; http://php.net/configuration.file
    # r. n! U8 m; d5 e* t- L) z. p
  21. 9 x# W$ `) f$ X1 \7 H, m
  22. ; The syntax of the file is extremely simple.  Whitespace and lines1 g" k/ q, {. j4 y: z
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).- ]# c- j: _% {
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    # |) ?% Y- g- |! E
  25. ; they might mean something in the future.
    7 K0 F$ {' ~, R6 g! a- M3 w
  26. 5 {4 H8 g* M) i0 g& B% G
  27. ; Directives following the section heading [PATH=/www/mysite] only
    / Z9 S7 S) F2 ]$ o
  28. ; apply to PHP files in the /www/mysite directory.  Directives& z* s& X7 _2 h/ k; Q8 n
  29. ; following the section heading [HOST=www.example.com] only apply to' Q+ V, i: [1 i$ k% {! J+ }) |& l
  30. ; PHP files served from www.example.com.  Directives set in these
    7 Q4 h) V) c% q6 l4 T
  31. ; special sections cannot be overridden by user-defined INI files or
    ) M) H7 [+ q9 T6 `
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ! h( T0 f3 L* `5 `; e# e
  33. ; CGI/FastCGI.
    ( l! A9 Z9 K4 a4 F3 s
  34. ; http://php.net/ini.sections& a) k3 N5 Y  L% K+ e0 _9 H

  35. * J+ O1 V: _& z: W
  36. ; Directives are specified using the following syntax:6 ~( ?) I" U; ~* i$ N
  37. ; directive = value* D& q/ L) E  ~, S8 Z3 q6 w4 u
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.0 U" X, }+ b+ L: ^2 X3 k- O
  39. ; Directives are variables used to configure PHP or PHP extensions.9 Q* D4 t. Y3 P3 `3 I7 |# I! k
  40. ; There is no name validation.  If PHP can't find an expected4 {8 O3 f# a; m2 n8 T
  41. ; directive because it is not set or is mistyped, a default value will be used.
    $ Q# J5 O6 J$ H2 v

  42. : D% S# u) ?# P: A) [* w- t
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    * `3 I: c6 {- X9 K: r
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression+ V4 U& ^% w3 q+ n  z; h* L. s
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    " n6 n1 T3 E, z, o6 P  l
  46. ; previously set variable or directive (e.g. ${foo})
    . D! G% l+ z1 j5 s
  47.   y! d8 z! y' G1 [3 T: d, ]
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    4 x6 q6 j) q) J
  49. ; |  bitwise OR
    ' }& i, E4 k9 A" T
  50. ; ^  bitwise XOR
    * h- t9 _2 n1 i( L
  51. ; &  bitwise AND
    + r* q: n" Z( @& F' A# p4 @' a
  52. ; ~  bitwise NOT
    * F8 e0 j  f" U) E" M
  53. ; !  boolean NOT1 q# T/ P# q* I' U. ]
  54. ) S$ P8 n. e% T4 v$ R& E
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.% G$ \: g/ B- ^5 h( h
  56. ; They can be turned off using the values 0, Off, False or No.
    . N6 n0 G: L5 c' f$ D

  57. 4 B: D0 b0 |$ v! `! `' X2 D% c# H
  58. ; An empty string can be denoted by simply not writing anything after the equal
    + N/ ?; Y: K/ q% c3 }0 z$ P4 I
  59. ; sign, or by using the None keyword:( _8 q% I$ z/ n  @0 O

  60. $ J9 Q  O3 A5 m" R/ B% v
  61. ;  foo =         ; sets foo to an empty string
    ) @( ]0 z0 @5 m
  62. ;  foo = None    ; sets foo to an empty string
    2 m: v+ a9 W# J
  63. ;  foo = "None"  ; sets foo to the string 'None'
    # U4 c) r' t1 `2 O2 v' v
  64.   y* q' v6 F" }6 Q% ]& ~
  65. ; If you use constants in your value, and these constants belong to a
    . h3 O; s2 T7 x+ O, Y. C+ e
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),: g1 q3 @( S. c" N
  67. ; you may only use these constants *after* the line that loads the extension.4 `1 d$ l6 S& N# Q
  68. / h6 n& t  A! e( j) q5 ]" ^
  69. ;;;;;;;;;;;;;;;;;;;
    6 c+ U1 H# _5 P' O9 I" J
  70. ; About this file ;
    % G9 ~5 _- @8 e- b; q
  71. ;;;;;;;;;;;;;;;;;;;
    3 R* {/ H, b8 V) A( d: C: i! d, t
  72. ; PHP comes packaged with two INI files. One that is recommended to be used7 y7 m" J+ ^$ ^2 s1 i; k3 W
  73. ; in production environments and one that is recommended to be used in
    , c9 s. W! l  l4 b0 f3 J9 W! E' n
  74. ; development environments.
    / r8 _1 O' ?  ?! j) q
  75. * n2 y7 Z: ?0 X2 I# D
  76. ; php.ini-production contains settings which hold security, performance and
    9 G# s. n0 }: b, D* N+ T
  77. ; best practices at its core. But please be aware, these settings may break
    7 Q! R0 c# B' H, e- \8 H' g
  78. ; compatibility with older or less security conscience applications. We
      ]1 r' y8 G3 Z# {4 [2 [& x4 [
  79. ; recommending using the production ini in production and testing environments.
      g4 w( I! b! Z! H2 o  ]: M& F

  80.   |. M' E- V: r- X
  81. ; php.ini-development is very similar to its production variant, except it is
    $ v5 H2 U7 t* A8 X9 [( l
  82. ; much more verbose when it comes to errors. We recommend using the( x/ U$ p: D+ [5 }
  83. ; development version only in development environments, as errors shown to4 j3 ?' [, n( H5 K7 ]
  84. ; application users can inadvertently leak otherwise secure information.7 ^8 \( D" L5 y- m& T

  85. 9 i: v8 W& Q4 S( U( o7 U7 ]
  86. ; This is php.ini-production INI file.
    7 E$ e* q$ C. t6 b, O
  87. " R' P9 u3 R" F4 Z1 b  X7 R5 t- m
  88. ;;;;;;;;;;;;;;;;;;;
    % \! W( Z6 I" D- M4 d
  89. ; Quick Reference ;) [3 ?, c2 ^) U# N
  90. ;;;;;;;;;;;;;;;;;;;4 E  L/ O- _) j: C
  91. ; The following are all the settings which are different in either the production* C! l4 Q7 x, h* Y+ h
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    9 P6 e0 B' K. e2 c6 \7 e
  93. ; Please see the actual settings later in the document for more details as to why
    9 m: u& ~: y6 E' @( m9 q
  94. ; we recommend these changes in PHP's behavior.
    8 n7 B) d( ~- r9 Y) @' b5 r/ W: ~
  95. 6 h& s. T1 q9 y6 f
  96. ; display_errors
    * s; N; t7 ^8 N  u% e2 |
  97. ;   Default Value: On
    7 b# l; p1 v7 C9 @4 @
  98. ;   Development Value: On" t) Y" Z) t. S- u/ ]" E& n" o
  99. ;   Production Value: Off
    8 t# _) R7 S2 ^# A
  100. : A) g' C3 f$ d0 h0 `3 R
  101. ; display_startup_errors8 ?- g, u0 k6 _* @
  102. ;   Default Value: Off7 u. t$ X, B5 Z- X! I
  103. ;   Development Value: On
    . d0 P( X3 e8 c9 s$ \' t' t
  104. ;   Production Value: Off& h) f' [0 X- \& x) y! U! U# E' \
  105. + ]* y0 |) T5 L9 [. z, O% ]
  106. ; error_reporting: P+ }% E5 _+ t; m5 u5 U9 J! J
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED, M2 x1 o( \$ g0 \
  108. ;   Development Value: E_ALL
    $ s) a3 s0 N  f( v) ^
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    0 r9 r3 H, j* z% T, V2 [

  110. % H! b* ?, V0 V# C1 e. [- M% J6 o  d
  111. ; html_errors( O/ Q( n; m- n* z
  112. ;   Default Value: On) j. ]9 O( h# _7 N
  113. ;   Development Value: On5 s4 u9 M: v; C4 b" T+ k- l+ }
  114. ;   Production value: On
    2 C, }. d' G+ O

  115. " @1 M7 r3 Y, Q6 ?
  116. ; log_errors4 n/ d  j, o2 J% w+ ~7 w& s
  117. ;   Default Value: Off
    0 P& B5 W& G' w/ V6 ~6 x$ a0 a
  118. ;   Development Value: On
    # J  l! g: F; L
  119. ;   Production Value: On% u& \& v% h0 e# t
  120. $ e6 d; z/ M9 H7 `+ `
  121. ; max_input_time/ `  ]" T0 C5 K0 K
  122. ;   Default Value: -1 (Unlimited)% e1 u0 |) _4 b0 v' F: i% }
  123. ;   Development Value: 60 (60 seconds)
    : X) u( m- b9 E" y
  124. ;   Production Value: 60 (60 seconds)4 s2 {( |! }5 H7 e
  125. / B( {- n8 f, |" _6 i4 H8 W
  126. ; output_buffering
    4 D) s: R! r7 {5 {  B; _
  127. ;   Default Value: Off; ?0 v! M8 m" Z( n9 O
  128. ;   Development Value: 40969 `8 X3 y/ K( {/ x
  129. ;   Production Value: 40963 l0 j. Y# A, a' P; k

  130. ) B! g7 v* Z+ h- P3 R
  131. ; register_argc_argv7 s: i7 d5 ^- H: [- S
  132. ;   Default Value: On
    7 m1 s7 f) R+ x( l2 M
  133. ;   Development Value: Off& U0 l8 {4 Q; j2 N8 V3 ^
  134. ;   Production Value: Off1 A) X6 n4 P! a& N# w, i% e; \: [) C  H

  135. " r0 h2 z1 w/ ?- a% u# r* C3 v8 r
  136. ; request_order
    , k0 Q* x6 ~( P/ O
  137. ;   Default Value: None6 S) o% d$ R6 F% z  Q4 \
  138. ;   Development Value: "GP"
    & T: {, Q( c- @
  139. ;   Production Value: "GP"* B1 k7 E5 \. `; c, X

  140. / l  L& w9 q. I
  141. ; session.gc_divisor- n5 t, }2 j+ W, |
  142. ;   Default Value: 100
    6 X' U6 e. S* \" \3 j
  143. ;   Development Value: 1000
    5 G! s. j& d3 j1 n  Z
  144. ;   Production Value: 1000( Z0 r6 {" n# H6 d- g% g0 [9 L5 P3 o+ R

  145. , y" A( Y8 _# o) z" m
  146. ; session.hash_bits_per_character
    " y2 E! F( q5 o9 ~- M4 [
  147. ;   Default Value: 4
    . M' J1 @* P9 r* {6 r5 k( k
  148. ;   Development Value: 58 z% Y1 s3 B+ |! c3 h
  149. ;   Production Value: 5
    1 v- [  Q; v6 A2 y

  150. : U1 r& k& z* _3 n
  151. ; short_open_tag# @! _/ ?( a  v
  152. ;   Default Value: On
    & L0 ~0 l/ X  O! t1 l# g; f" B
  153. ;   Development Value: Off
    / @  `5 w/ h% n, G
  154. ;   Production Value: Off. {3 j% J( q# |' ~- z8 s! b
  155. 7 E' I8 p* b! Y
  156. ; track_errors
    / R! e# W' H) _: Q6 {8 x/ [4 S
  157. ;   Default Value: Off* h) B1 Z; v; b) _- E, b  }7 F
  158. ;   Development Value: On+ v$ ^5 m4 R" @* x6 g0 g
  159. ;   Production Value: Off1 `+ _" v6 b; k
  160. 8 C5 J! O8 ^6 g  p( q% y6 r
  161. ; url_rewriter.tags. A3 R, E# i: G2 W. h9 R' F
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="! R7 y6 G! l* R( w7 s
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & ?: c8 O2 K6 f, N& D) K
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & E1 z9 e7 ~/ G$ J$ w. l

  165. ; z* g1 T( ^) o, u. g/ {7 s3 ]
  166. ; variables_order6 Q. v* X. P8 _! j6 k0 D
  167. ;   Default Value: "EGPCS"" ^. q* V4 w5 _# w, k3 D: V) x
  168. ;   Development Value: "GPCS"# n1 |9 q( J7 u0 X$ J: Z$ y
  169. ;   Production Value: "GPCS"+ p5 P$ ^) }( \7 E

  170. - P, z6 s7 _- V& a
  171. ;;;;;;;;;;;;;;;;;;;;( a; n- ]" _3 s( e9 f
  172. ; php.ini Options  ;
    " v' N; @  Y, f4 E
  173. ;;;;;;;;;;;;;;;;;;;;# B; T- s% I& @# X! m! j. t
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    3 A' a3 o9 K; c" e
  175. ;user_ini.filename = ".user.ini") ]8 U6 I  M$ p! e2 B

  176. : P1 P' K' M1 H% P
  177. ; To disable this feature set this option to empty value- T+ `: P* {( K! y' T: |) H# |: J
  178. ;user_ini.filename =: A5 w$ r) A1 u9 u- V  [

  179. / c+ O% N" R( T1 V/ j. }- b& w
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)* G2 @2 ^, l& P4 e# C3 r, d
  181. ;user_ini.cache_ttl = 300
    ( n8 d" S! B  R+ \" z3 O6 {
  182. , d4 d& {6 }3 J& H# j! ?* q& t9 B
  183. ;;;;;;;;;;;;;;;;;;;;
    / a' a8 o9 F9 V8 K; l9 J7 S: X
  184. ; Language Options ;
    ( D+ |& \- ?) b2 Q- l: }" D
  185. ;;;;;;;;;;;;;;;;;;;;
    4 x/ \" Z8 E+ p* a$ @$ y
  186. ' u/ Q+ M& ~0 P5 O' Y8 Z+ B; i
  187. ; Enable the PHP scripting language engine under Apache.
    3 R3 T' ~- ^0 q) l9 q
  188. ; http://php.net/engine
    + i9 ?+ N2 R, t& T
  189. engine = On
    4 c0 b4 [4 i" @; U. N$ j8 L7 C4 _5 G

  190. , A6 |  E1 Q/ J" X: d+ E+ Q
  191. ; This directive determines whether or not PHP will recognize code between9 e3 y* O) K# w3 W2 \  c2 K; `6 o
  192. ; <? and ?> tags as PHP source which should be processed as such. It is" L0 ~3 G0 p7 r% b, S4 c
  193. ; generally recommended that <?php and ?> should be used and that this feature
    & }- a7 y7 t8 ?
  194. ; should be disabled, as enabling it may result in issues when generating XML6 F$ b: [# u2 a- |
  195. ; documents, however this remains supported for backward compatibility reasons.$ |, ?. d! M9 ^: \- U
  196. ; Note that this directive does not control the <?= shorthand tag, which can be2 r- [- b6 {( W# ^8 x  T
  197. ; used regardless of this directive.
    3 m! k! w# w. n. |# q
  198. ; Default Value: On
    * X8 n, p! ~1 z5 s; e; X1 K& E* z& \5 f
  199. ; Development Value: Off2 _- f7 A  Y. s( u8 ]2 I' x' m
  200. ; Production Value: Off
    $ W; v3 g) j6 @7 Y6 i# r
  201. ; http://php.net/short-open-tag
    * {9 e" i( D' L- _
  202. short_open_tag = On
    ; y# l* H+ T! ?; S& R

  203. ) _* Y* v5 x; n- u
  204. ; Allow ASP-style <% %> tags.
    ; O' Y* C0 U. ?, ]& ^
  205. ; http://php.net/asp-tags
    5 U3 f2 i* m% q4 v: i4 ~" I6 G4 I
  206. asp_tags = Off- C2 D6 q2 Y' N) x

  207. 0 _* a3 m( g, ^+ _7 h
  208. ; The number of significant digits displayed in floating point numbers.
    4 l/ `5 d' @# ~
  209. ; http://php.net/precision
    , C& R5 P+ ~" g; q# R
  210. precision = 14
    1 i$ h$ z5 M0 U& b! C$ k
  211. + v- \/ s4 G4 a3 V1 M4 k/ E6 y! ^) y" z6 V
  212. ; Output buffering is a mechanism for controlling how much output data8 {5 q  f. K+ V. y/ t0 l
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    : J2 \0 J7 q7 b) s& b/ W  n
  214. ; data to the client. If your application's output exceeds this setting, PHP; F6 Z5 h1 O7 M8 W$ ^9 }$ D
  215. ; will send that data in chunks of roughly the size you specify.
    0 L9 R- T# o+ P; F  }9 \
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    " y, H; w& d1 G  ?+ Z+ y9 p
  217. ; interesting side-effects depending on your application and web server.& y; ^% l  D1 q1 ^% |- m
  218. ; You may be able to send headers and cookies after you've already sent output
    1 E. A- J$ Y7 j. h. W0 u
  219. ; through print or echo. You also may see performance benefits if your server is1 x; m' o4 L4 H: c! M
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ( l6 `+ e* t' d- Z5 ?) I
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    # ~3 G' D  n0 S( E1 _
  222. ; reasons.
    ) R# C+ U) ~# R" y
  223. ; Note: Output buffering can also be controlled via Output Buffering Control6 O1 V/ O$ A: R$ f- P+ [
  224. ;   functions.
    # Z- A+ u# ?5 s4 V( H
  225. ; Possible Values:, t* }2 v& |# X0 q' G' A7 l$ M
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    5 J' Y2 r8 z* J# c/ I+ {
  227. ;   Off = Disabled
    7 [; b& x# P. K8 \
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes." L; s- s1 }% t4 v- `) i
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
      A/ T9 w5 y; Y; t; b
  230. ; Default Value: Off6 A6 Q, M3 O5 h! a; \
  231. ; Development Value: 4096
      m" @5 w1 W" _- d! n/ P3 ^! R
  232. ; Production Value: 4096# Y. h" A( t/ N# y! G
  233. ; http://php.net/output-buffering$ ~4 E1 [  v& K- p" D
  234. output_buffering = 4096
    3 [  p/ v2 `( q/ p

  235. % ?0 l+ a& p7 n: H; W
  236. ; You can redirect all of the output of your scripts to a function.  For
    / B4 z. H. j6 ~; X% F7 }
  237. ; example, if you set output_handler to "mb_output_handler", character
    7 H% O' v3 W3 E  h' Z! j6 q; C
  238. ; encoding will be transparently converted to the specified encoding.7 W, G8 F  d* `# z, @  S8 {
  239. ; Setting any output handler automatically turns on output buffering.5 n( j1 _% X/ l" g+ [8 W: [
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ) s) |5 e: i$ L6 ?; v
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ! g; n/ E# v/ P' J' z
  242. ;   Using this ini directive may cause problems unless you know what script, ?" e2 A- Y  D/ Z' a# _
  243. ;   is doing.
    # c% b. b6 E* Z" w$ c4 W) i% [
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"; N2 P1 k5 S9 s" n" |: V; p) L9 y2 K) V
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    8 }" j" t3 @2 R& y3 v
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    1 R7 V& ^! o* w
  247. ;   Instead you must use zlib.output_handler.
    + e) H, N2 T6 |  z( {2 B( Z) f/ W$ S
  248. ; http://php.net/output-handler3 R! _. @# l- i7 V3 h' }7 H
  249. ;output_handler =
    ! I6 a9 m( H+ B% n. v" s
  250. & Z/ e( s1 B) P* ~
  251. ; Transparent output compression using the zlib library, @6 U, ^% F% P- I8 o
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    % V9 d  c/ |4 C) O! a( ?9 a
  253. ; to be used for compression (default is 4KB)2 `/ U# R- d7 z  ^' s
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    + Y; E: r1 w$ @
  255. ;   outputs chunks that are few hundreds bytes each as a result of. O! ~; t. V( A5 `
  256. ;   compression. If you prefer a larger chunk size for better
    5 e* O: K6 L' P; L; K
  257. ;   performance, enable output_buffering in addition.8 Q; a, j3 w, w9 h4 Y
  258. ; Note: You need to use zlib.output_handler instead of the standard
    / j6 W! W/ z* }; d
  259. ;   output_handler, or otherwise the output will be corrupted.
    . e: K) ^  {" v0 F  R9 F
  260. ; http://php.net/zlib.output-compression9 P0 m3 h# T5 m% k$ \
  261. zlib.output_compression = Off( `. O0 J( _2 }; y# L: E" X# L! Z
  262. / y  c- S) p+ N/ [, L! r) f
  263. ; http://php.net/zlib.output-compression-level) n* |8 v" ?8 n0 b  T
  264. ;zlib.output_compression_level = -1
    ' M+ x, Q; q: z0 K/ R  ]
  265. 6 c) R( O  z. R, w/ a
  266. ; You cannot specify additional output handlers if zlib.output_compression! A6 J. d; b2 l' l- J
  267. ; is activated here. This setting does the same as output_handler but in* ]% G' f2 ]/ X6 b4 X
  268. ; a different order.5 j6 T4 {' e8 I' L2 y
  269. ; http://php.net/zlib.output-handler( R( {* h! Q9 o: P
  270. ;zlib.output_handler =
    9 K' q1 k1 Y2 F1 ~# Y+ s

  271. . z: @) P: e: Z; R$ j9 d1 V& j
  272. ; Implicit flush tells PHP to tell the output layer to flush itself* y" @( [1 A7 v" [  ^
  273. ; automatically after every output block.  This is equivalent to calling the" }1 }9 d5 d/ C, Y( ~) g* ^
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ; L' Y; \! m' _# p4 z6 \# B1 t3 o5 a
  275. ; and every HTML block.  Turning this option on has serious performance
    % C$ S: l% R! d# @: C  F8 S0 c
  276. ; implications and is generally recommended for debugging purposes only.
    : d& ~  C8 N3 X  i" m1 V9 P/ [
  277. ; http://php.net/implicit-flush
    : D9 s  V: k' N9 F
  278. ; Note: This directive is hardcoded to On for the CLI SAPI8 {' }' l1 `  r
  279. implicit_flush = Off
    8 B5 J) y# X0 L0 d" S
  280. 4 s1 J2 A' j9 ?: m7 j
  281. ; The unserialize callback function will be called (with the undefined class'% Y3 _( o/ G. W! m2 P/ ~% h3 O  I
  282. ; name as parameter), if the unserializer finds an undefined class# o% z& d1 m! _8 h9 r1 y: T
  283. ; which should be instantiated. A warning appears if the specified function is
    9 S) r; T: e. S% a. V( W
  284. ; not defined, or if the function doesn't include/implement the missing class.6 i+ a- G" z3 N: s1 j
  285. ; So only set this entry, if you really want to implement such a
    : h- K& B% d7 N3 ^( W" u
  286. ; callback-function.* u& I$ I0 c( ], @8 R
  287. unserialize_callback_func =) T9 r& j) ?9 l2 _

  288. * `0 E4 @8 J, S; f! D* N) u' @2 u
  289. ; When floats & doubles are serialized store serialize_precision significant
    " O  D# z6 H: c; x9 c- S
  290. ; digits after the floating point. The default value ensures that when floats* x( J! y; B6 ~. @' G; C% `$ w
  291. ; are decoded with unserialize, the data will remain the same.
    3 E# e' t' N4 G- t& u  v1 K
  292. serialize_precision = 17! v3 y, u+ F  R0 m& e" o

  293. 4 O3 `* o) i6 V2 K4 h! A
  294. ; open_basedir, if set, limits all file operations to the defined directory
    5 J' @. H8 J  \! a- P
  295. ; and below.  This directive makes most sense if used in a per-directory
    . g6 v- B) q$ p9 L7 Z* @. i7 ~
  296. ; or per-virtualhost web server configuration file.; C3 ], d" U+ H
  297. ; http://php.net/open-basedir, J& _' `+ q% n' c  G
  298. ;open_basedir =
    ' X) ~  K2 a: a/ o

  299. $ [! f% a5 ~3 p" V5 u$ A
  300. ; This directive allows you to disable certain functions for security reasons.
    0 V* j- p" w: S# N2 f& g: [, V5 u
  301. ; It receives a comma-delimited list of function names.
    + G! S. Q+ k5 s7 o! }8 x+ C
  302. ; http://php.net/disable-functions
      O% l) |/ Q3 F! p( |2 y8 `
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    2 Z, q5 n. B4 E( y3 O% \7 x
  304. ( o, P8 x9 e; m$ K) M
  305. ; This directive allows you to disable certain classes for security reasons.& g% k: H' ~! B* T
  306. ; It receives a comma-delimited list of class names.
    & |# D- }" p+ k1 E: k2 T2 ~* w" B
  307. ; http://php.net/disable-classes
    " R$ g; o! ?* w$ O( ?. T
  308. disable_classes =# i$ Y- [* l$ U- F( z( Y/ Z8 l0 |

  309. 3 h# k9 B4 T: M5 b; {. d% i
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ' r+ y% m( M7 P
  311. ; <span style="color: ???????"> would work.6 }9 W: i2 x* t" `$ m+ ]' O8 }
  312. ; http://php.net/syntax-highlighting3 z6 p4 k, {1 ?+ g4 U8 H+ B& h
  313. ;highlight.string  = #DD0000
    9 Y: _' ~) X( f7 i& K/ q
  314. ;highlight.comment = #FF9900
    % L$ C/ q& T7 d- ~* r5 ^- I9 m
  315. ;highlight.keyword = #007700& R$ @$ O- ]* |) N, c  `( f
  316. ;highlight.default = #0000BB9 @$ l1 Z! ]1 R2 b3 r
  317. ;highlight.html    = #000000$ p+ ], G2 ]) H" ]0 G/ ?% F7 X9 ?

  318. 0 z+ c+ n+ Z/ Y' o. H
  319. ; If enabled, the request will be allowed to complete even if the user aborts1 T/ X. d- l/ o9 U, B5 n# I& @1 E
  320. ; the request. Consider enabling it if executing long requests, which may end up
    2 E+ X- g6 ]9 e" w7 a. |+ c
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior9 l  |& G6 B6 p9 R
  322. ; is to disable this feature.
    7 L; F" R# j, Z8 ?/ ?7 _5 H
  323. ; http://php.net/ignore-user-abort( m: x, r" I& i2 e& I" Z7 V* C
  324. ;ignore_user_abort = On
    " _3 [* d+ F% p5 j1 N7 |

  325. 2 C& F* a2 E( `  Q; m1 O! ?; I
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    $ [. r# ]) |% q9 D, ]* r& h
  327. ; be increased on systems where PHP opens many files to reflect the quantity of3 E' r$ H+ G" n/ l1 ~* B7 L
  328. ; the file operations performed.
    ' ?: R8 K' _. \% X  ]
  329. ; http://php.net/realpath-cache-size# ~4 ]  `. c, P* @9 w
  330. ;realpath_cache_size = 16k% e  r, _) `* U0 y3 u& z2 ]
  331. ) {1 U  _6 `& E, n& G. @5 v# v, }
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    ' R  ^, B5 @3 o( v# f
  333. ; file or directory. For systems with rarely changing files, consider increasing this3 o; w1 L. {' X. C' r
  334. ; value.
    8 `& A6 g4 a) k9 l$ j* I& R
  335. ; http://php.net/realpath-cache-ttl) {0 T2 Z5 J# T0 \- K
  336. ;realpath_cache_ttl = 120- M3 R% y- z9 [6 J
  337. 8 ^* E9 H+ E4 K/ x$ J) M! ?
  338. ; Enables or disables the circular reference collector.
    & |  U; I4 f$ i9 L4 z7 V8 R
  339. ; http://php.net/zend.enable-gc6 x" s8 E. m8 p, S
  340. zend.enable_gc = On
    1 t( B% {+ o& A- D

  341. % T  m# G* {2 }% [* f4 |
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    + Q% O: e; ~5 C" M7 l# |2 [
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    * u7 p* t, U- {
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    6 S* b# B( g7 \& }* V0 g; z
  345. ; Default: Off( y/ E: @; u+ Q( O+ @" i; W6 M7 U
  346. ;zend.multibyte = Off/ h/ j7 Y. c+ n! O! T
  347. . \4 A$ ?1 I/ ?1 a0 D( l8 m, j
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    ! p) s+ k4 D% V$ b7 H8 D0 ^& V
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    / e3 z2 m' O& t7 `/ {( f) C+ B( p
  350. ; Only affects if zend.multibyte is set.- j2 A5 O' ~! w. A* ?; d6 W
  351. ; Default: ""
    8 Q  E' ^; c* F" \/ x7 M
  352. ;zend.script_encoding =
    8 n; n6 ?0 f- H, U

  353. ! R# o. B: w2 H
  354. ;;;;;;;;;;;;;;;;;! _9 ~( ^! v  J5 k7 Q; |; M
  355. ; Miscellaneous ;
    0 ]" @; y8 J$ w4 K6 M& G
  356. ;;;;;;;;;;;;;;;;;7 q' q9 M* U0 q
  357. & H1 ^" A. n& z8 K; q1 {
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    : {) j1 i8 ]2 l5 ~5 t
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    8 R$ D& E: M7 w$ a# T0 \9 l$ O
  360. ; threat in any way, but it makes it possible to determine whether you use PHP* B; V2 o* _9 t+ _. f, x4 W& f
  361. ; on your server or not.
    ) v6 U& _& ]# ]. r0 q
  362. ; http://php.net/expose-php
    , o# j! j$ l; A' f  {
  363. expose_php = On
    - S+ z: N  e0 [  g" V6 d
  364. ! F% r  c' s3 l; T: T
  365. ;;;;;;;;;;;;;;;;;;;
    8 q+ G% `8 q" |
  366. ; Resource Limits ;" I8 J4 G0 l% ]- G
  367. ;;;;;;;;;;;;;;;;;;;
    9 O8 y/ }5 ]- m9 s. i

  368. 6 V4 Y# B3 S, f: ~
  369. ; Maximum execution time of each script, in seconds
    5 I) S8 |7 U$ H+ t( G$ p0 ~
  370. ; http://php.net/max-execution-time
    5 s  J3 B% N" v3 D3 E5 V& S
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ( ~6 C  k9 t" V
  372. max_execution_time = 3000 V% [( n% x- W( x; n3 E5 s

  373. + ^9 i5 F. `; O
  374. ; Maximum amount of time each script may spend parsing request data. It's a good% J) R' A  w0 }9 O* F
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    0 ~; b/ Q$ d/ o. [* y7 b( J* V; o) f
  376. ; long running scripts.
    ' O' N- |# K+ P) y0 {9 W  D% g; E
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    9 p2 I* i, \; y$ c$ B
  378. ; Default Value: -1 (Unlimited). O# A$ G" n9 U# m" w
  379. ; Development Value: 60 (60 seconds)' f& F' s( V8 K5 u' O/ s- M
  380. ; Production Value: 60 (60 seconds)2 K' I! R: g+ \) g1 b
  381. ; http://php.net/max-input-time
    , J* b# K" Q) d9 }
  382. max_input_time = 60" i7 i9 y( R6 X8 Y
  383. " l; ~$ k  z- a2 k0 `
  384. ; Maximum input variable nesting level0 e  _; z' h/ `9 g4 _
  385. ; http://php.net/max-input-nesting-level
    ! x% r. b" K& E' B% p' S) u
  386. ;max_input_nesting_level = 64
    * s' n! L$ p% F2 Q1 S- v

  387. + K7 d5 x7 D( b5 N
  388. ; How many GET/POST/COOKIE input variables may be accepted/ q2 n. w5 n5 L% [1 `6 }
  389. ; max_input_vars = 1000( B% p: h9 j; u

  390. 3 i6 q$ A( ~* K" o9 A8 Q5 \
  391. ; Maximum amount of memory a script may consume (128MB)- |; D3 W* z# j! @' j3 T7 H( K0 u
  392. ; http://php.net/memory-limit1 \' C# f, v( w& P
  393. memory_limit = 128M
    : ?! _3 k* g# {1 D! g$ F

  394. % t( F2 m3 H" q9 J6 e
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $ q1 P, T# ~1 c; E
  396. ; Error handling and logging ;2 H/ U5 Z. n- |8 y; I0 h0 S% {
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 T6 g/ f3 i: h+ v, f, X9 n6 J
  398. * ^+ \% O6 P7 l' W' H* C  j
  399. ; This directive informs PHP of which errors, warnings and notices you would like- O& D9 F+ Q) K8 t% h
  400. ; it to take action for. The recommended way of setting values for this
    ! M' |6 }/ o' g
  401. ; directive is through the use of the error level constants and bitwise
    8 M$ i$ u8 V3 s0 n
  402. ; operators. The error level constants are below here for convenience as well as
    $ C0 r3 J$ a" }8 l: k6 r
  403. ; some common settings and their meanings.
    : R3 i( O2 n9 d3 K) A6 N% E  \- ?& [
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
      S% ~: p: j" f" u3 }7 |
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    . P+ Q" e9 z) g* K/ u) x7 R1 N
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    & ?7 O" `# |+ t( W7 l/ ^0 O
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    + r# D, b2 O1 E- f$ p9 j  d! c
  408. ; resources complaining about best practices and coding standards. That's what
    + t* z( I. x% D$ H; L+ D! f3 c6 F
  409. ; development servers and development settings are for., F" w  f, u1 P, _0 U. s$ D
  410. ; Note: The php.ini-development file has this setting as E_ALL. This6 g, _% S, e9 H. V! v) l
  411. ; means it pretty much reports everything which is exactly what you want during
    & ~* _! }, h. M4 ~# ?* i( K
  412. ; development and early testing.
    + k) k, A3 ~2 d& N( R  {
  413. ;
    3 n1 ?, l0 T8 C4 p) p  q2 q1 y
  414. ; Error Level Constants:( c8 |$ I5 {4 X' Z1 i$ o: X
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)2 f  w4 _" K9 D3 a" {8 M
  416. ; E_ERROR           - fatal run-time errors
    * S+ r, T5 W3 ~; g
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    " t+ }: o. \! L3 R3 g; P& i
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    4 n/ U0 F/ |$ p! c, |: J  Z
  419. ; E_PARSE           - compile-time parse errors6 u/ ?# }4 X, |* A/ o* V
  420. ; E_NOTICE          - run-time notices (these are warnings which often result/ j1 x; z' U. P# ^- b% F+ F+ J
  421. ;                     from a bug in your code, but it's possible that it was+ K% V* k. r: B! f# {
  422. ;                     intentional (e.g., using an uninitialized variable and
    7 M$ t' O) s/ v1 p
  423. ;                     relying on the fact it is automatically initialized to an  p* J! c+ [' ^7 P$ }( \6 F! x: q8 ]
  424. ;                     empty string)6 j& t, C. Y! R& a" b
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes2 N* c* j) Z& H, ~6 @. s* u" x8 Y
  426. ;                     to your code which will ensure the best interoperability& B$ [/ A" p1 O8 J
  427. ;                     and forward compatibility of your code
    . ~" W7 m$ j$ n. F
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    , c* X& X( V* t* [
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    $ R: A; a/ p  K; {! E* j6 T0 I+ ^
  430. ;                     initial startup
    & [& ?3 H) B8 G6 y7 M" B( Z
  431. ; E_COMPILE_ERROR   - fatal compile-time errors; Y  p9 z( T% O
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors); a8 l% |3 q! F$ `* v: A( e% j
  433. ; E_USER_ERROR      - user-generated error message
    , }: U; r3 C' _; V
  434. ; E_USER_WARNING    - user-generated warning message8 A$ @+ R9 u- U+ g! i
  435. ; E_USER_NOTICE     - user-generated notice message# a7 g0 o1 Q6 Z9 d. W5 Z$ I$ @' Z
  436. ; E_DEPRECATED      - warn about code that will not work in future versions7 c0 Q! `9 _# H# [" P$ l/ F' }, U
  437. ;                     of PHP9 w* }/ z( g6 a1 e# a0 P! y) _
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ! `8 G6 x" o8 `
  439. ;" ^2 Y# S  L7 _2 T' C
  440. ; Common Values:
    3 b0 k9 }/ R7 E0 F& z. C3 Y- F
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ! w4 g( D: O; k3 Y
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)' q% ], |) r3 T- N. }* L' b
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    8 X! c2 o1 m/ w: |9 D& ]
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ! L  M! W4 e% }, a( |2 R+ H  S6 _
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 @7 k& h  x6 b; d  ]. `
  446. ; Development Value: E_ALL* z0 r8 D3 B: W7 \
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT) P( V* E+ q7 W' O+ T
  448. ; http://php.net/error-reporting$ x1 U; v7 V1 {3 H) f& I: m9 [
  449. error_reporting = E_ALL & ~E_NOTICE
    7 A5 p4 R6 S, a# G/ F% \
  450. * l+ b9 o5 m2 w( [
  451. ; This directive controls whether or not and where PHP will output errors,' g* H1 I$ ]6 G) _# u
  452. ; notices and warnings too. Error output is very useful during development, but
    : H: t- M0 A. |9 }
  453. ; it could be very dangerous in production environments. Depending on the code
    5 F" ]" k) N$ j5 X
  454. ; which is triggering the error, sensitive information could potentially leak
    8 ~3 {# V7 }" c& |! r0 G
  455. ; out of your application such as database usernames and passwords or worse.
    # P! x# \# B5 g9 X
  456. ; For production environments, we recommend logging errors rather than5 o- B# r' H6 c- l2 R9 \
  457. ; sending them to STDOUT.+ p9 {$ f4 L6 k  u1 ]" V6 f8 K( [) N
  458. ; Possible Values:2 M8 G& T2 P" q* \) s
  459. ;   Off = Do not display any errors
    ) N/ [; f+ E# S' [7 M. K1 ]; a) ?" U3 l
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    * P3 l8 B7 o! x, R" f( L
  461. ;   On or stdout = Display errors to STDOUT# }8 n6 j0 ~, Z  v$ {% e
  462. ; Default Value: On
    ; F( p- P; P$ ]( [# F. T* Z
  463. ; Development Value: On
    6 I- h1 |/ ]3 T/ G; F
  464. ; Production Value: Off+ A, g3 ^( ]0 F
  465. ; http://php.net/display-errors- U, O/ S2 o) n, W0 c3 _
  466. display_errors = On+ j2 R6 G, D! R( q4 v
  467. 2 i* m7 r' H9 M$ }, Q; I
  468. ; The display of errors which occur during PHP's startup sequence are handled
    : r0 j/ ^% z* Y5 a, M6 k; O, r" ^
  469. ; separately from display_errors. PHP's default behavior is to suppress those% b, c$ ]# L. H4 N
  470. ; errors from clients. Turning the display of startup errors on can be useful in, x4 Z4 @9 z+ T" ?! D
  471. ; debugging configuration problems. We strongly recommend you
    0 G/ S5 m( |5 W- x
  472. ; set this to 'off' for production servers.4 L% p1 y7 c0 v! i9 v7 `
  473. ; Default Value: Off
    * L4 m! i$ S: W8 j" I% P  J& W
  474. ; Development Value: On1 m$ J& I# @: Z0 y" K
  475. ; Production Value: Off! J* u( j2 z8 n1 G, e% Z
  476. ; http://php.net/display-startup-errors
    1 e. S  j9 r4 c$ H) s8 [: {
  477. display_startup_errors = Off
    ! y) `7 V; Z6 G8 _/ ~7 u

  478. - C) y. ~( M8 c) v4 k
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    5 h% E, I5 y+ }3 u: I) ~
  480. ; server-specific log, STDERR, or a location specified by the error_log) ^+ M2 R7 _. {* d3 L
  481. ; directive found below. While errors should not be displayed on productions
    2 }" c- ?; u3 a& ~
  482. ; servers they should still be monitored and logging is a great way to do that.
    * E8 Y! c$ A- L
  483. ; Default Value: Off1 j% O" X- ^8 ^2 E, s
  484. ; Development Value: On
    & d" g+ V$ t% J& y5 b
  485. ; Production Value: On
    - A1 j/ t$ N: Q6 |5 P
  486. ; http://php.net/log-errors) G% L, c/ u; s; w: J8 j4 D1 u
  487. log_errors = On
    ' `+ e9 T5 ^: X5 y& X' x
  488. ' E9 R3 I" {% Z  m, b
  489. ; Set maximum length of log_errors. In error_log information about the source is
    3 P8 C. e& p0 m
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    6 f) I3 Q9 T' d! O/ m! W6 R# n
  491. ; http://php.net/log-errors-max-len- ]  D% P+ R6 |  H2 o' b
  492. log_errors_max_len = 1024
    + @4 h) v) w  K& C3 N

  493. : L$ A2 H: @" G/ k$ @6 `8 i# c
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    % O! I  S4 ?+ i' @
  495. ; line unless ignore_repeated_source is set true.
    9 L) o! c( }! B+ Y8 n' ^
  496. ; http://php.net/ignore-repeated-errors1 {  ~/ b; Q8 ^9 W
  497. ignore_repeated_errors = Off
    1 O0 w: d8 ~, h7 I8 S. z

  498.   Q, C6 U0 T1 _& r6 o1 V! W
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    + t3 ^& y, C7 m& ]9 j) s' s
  500. ; is On you will not log errors with repeated messages from different files or$ G3 d  ]6 v8 H$ d% b: F
  501. ; source lines.
    1 s& e2 D0 \) H6 C! E" n
  502. ; http://php.net/ignore-repeated-source
    7 Z7 y) ~3 {7 B, i
  503. ignore_repeated_source = Off
    * z* @3 v: }; f/ i
  504. % g4 O7 M9 [* E# J* ^/ l9 p- g
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    , L  h- a% [0 Z$ B2 C8 h
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ) F5 }8 U4 g: I
  507. ; error reporting includes E_WARNING in the allowed list
    ; L& T" w# ]* R3 S" W
  508. ; http://php.net/report-memleaks6 i1 l+ \4 G$ ^' i
  509. report_memleaks = On
    ! h$ i. f* S/ L2 o# c
  510. ( y2 y2 i3 N# l
  511. ; This setting is on by default.
    4 C, f; r; F2 A
  512. ;report_zend_debug = 0& }! {% g& f4 p! ~& {

  513. 5 g1 z7 S* [$ U' b4 [1 Y
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value: Q1 a: L; @1 Z- J, u: I
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    5 e! Q1 u% R, z. z/ s# R
  516. ; however be disabled on production servers.
    $ t" y' Z: {! U; _5 Y% G" b
  517. ; Default Value: Off
    * E" M! ?9 d, U) Y5 I; t* g, u) C
  518. ; Development Value: On0 j% j% Y; S6 R: g. b* _7 B" W
  519. ; Production Value: Off2 J/ ?4 h  \" t7 s& `0 p
  520. ; http://php.net/track-errors
    3 \3 k8 [9 O4 D
  521. track_errors = Off
    ; ~- k5 g" h% Z
  522. ; g$ m0 J$ n' N6 M
  523. ; Turn off normal error reporting and emit XML-RPC error XML0 f. j/ m. }- S- `4 v8 f6 C
  524. ; http://php.net/xmlrpc-errors
    1 W) {9 ]. h2 s* _( t" b( {
  525. ;xmlrpc_errors = 0: z* A4 D2 D% @" _0 J
  526. . ]0 U7 {" R  q9 y
  527. ; An XML-RPC faultCode
    ( V' Z8 N8 C2 P2 e# o! _# Y1 x
  528. ;xmlrpc_error_number = 02 S& P* Q5 A. l1 m9 Y8 s

  529.   r: N" Z- T( _8 w% s' [  e
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    , o# V/ ^1 p; C
  531. ; error message as HTML for easier reading. This directive controls whether
    5 n" f1 W! h) L1 \; F) z
  532. ; the error message is formatted as HTML or not.' G4 X* B9 H! d* a6 N  _
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
      o2 w( K1 Y7 K: @
  534. ; Default Value: On) t: H" {! v' `* y
  535. ; Development Value: On
    * G' M- ]. |, F) V& J
  536. ; Production value: On
    2 b9 `' V4 u* v
  537. ; http://php.net/html-errors
    - `( S" @/ {: F! f
  538. html_errors = On
    * Q$ r0 h& `( j& Z0 o
  539. " i# z3 N$ C4 |- d, n
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP/ R4 X. I: Y8 {; ]0 G) V) V
  541. ; produces clickable error messages that direct to a page describing the error4 [* t+ ]* ?  G. z" L
  542. ; or function causing the error in detail.# R) R" ]+ s0 o. L
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    $ ^2 e/ @' y  n% x5 n8 |  ~$ L# }
  544. ; and change docref_root to the base URL of your local copy including the$ V& |( l' R' m6 V  s7 x
  545. ; leading '/'. You must also specify the file extension being used including6 A& |" g( m# ^& Q
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which7 Z( q/ s/ X7 B" p8 f" W7 C) \3 f
  547. ; case no links to documentation are generated.5 q* C/ a& S/ z; g3 \7 B! q
  548. ; Note: Never use this feature for production boxes.8 `7 Q  @1 a! p
  549. ; http://php.net/docref-root% ?7 Y1 }% y+ K1 e% h: A
  550. ; Examples: F1 z0 [) E3 U: @. L
  551. ;docref_root = "/phpmanual/"
    " d' n1 H3 E! f3 \2 E! t

  552. / Z- v! R4 d% P  i( b- n( H
  553. ; http://php.net/docref-ext
    / G3 o, C- F/ S& B
  554. ;docref_ext = .html
    ) m% U1 \0 `) R& s1 c& Y' ?. s6 F

  555. , d& K$ h, `! k3 Q
  556. ; String to output before an error message. PHP's default behavior is to leave
    8 q/ Q# O1 @1 A! B( P
  557. ; this setting blank.; t1 V2 r5 v( M) X+ [' r7 t8 y- W& r
  558. ; http://php.net/error-prepend-string
    / n. Y0 J. ]& d- Q
  559. ; Example:
    $ x, t* W) v! B1 T
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    4 z% O! ~+ G0 Z4 o$ w  v; l

  561. / Q& w; d& I8 y. t4 ?8 b
  562. ; String to output after an error message. PHP's default behavior is to leave) k) a0 h% Z  |5 U" O% c
  563. ; this setting blank.
    6 T, Z& a# _) D& ], Y9 u; ?8 f( x2 ~
  564. ; http://php.net/error-append-string# ~& P! D- Z, Z) q
  565. ; Example:, b& f2 }# `" C6 V) n; G; |
  566. ;error_append_string = "</span>"
    6 n3 T( z5 M2 d- U- X0 t

  567. 5 H0 z0 U, t( f, ?
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    7 G- I$ z9 k# ^/ C7 M1 e
  569. ; empty.
    1 ?5 @" }! M1 G8 _8 A
  570. ; http://php.net/error-log
    / f' \0 b7 c$ N. t2 a+ ?) H
  571. ; Example:4 i+ l0 @  o- c
  572. ;error_log = php_errors.log
    8 m" ?: e9 d- Q0 I3 `6 s% b
  573. ; Log errors to syslog (Event Log on Windows).
    , \6 k# ^! L8 p8 g! w" p
  574. ;error_log = syslog
      }! S7 \9 ]3 l# {( \# L

  575. 6 |+ _; D* S3 N" M
  576. ;windows.show_crt_warning
    9 P8 y6 Q. g# k5 Z  i" O9 H6 y; v
  577. ; Default value: 08 g: |9 {& L! U; Q
  578. ; Development value: 0
    4 r* H2 e4 I+ ]% ~  t9 y& `
  579. ; Production value: 0
    . e6 B) I1 H' T/ Q$ a: `

  580. 0 B5 h  n% ]% ^0 R7 c, P# }
  581. ;;;;;;;;;;;;;;;;;+ V8 m3 ~5 W0 k* m7 b% G6 S/ |9 |
  582. ; Data Handling ;
    ' z$ ]7 d1 d0 f. w0 }5 J
  583. ;;;;;;;;;;;;;;;;;( Y: y8 l3 x8 S* d6 C. Z4 D$ C
  584. $ s0 S/ b$ k$ e5 [) d4 f
  585. ; The separator used in PHP generated URLs to separate arguments.
    & |$ `7 p0 {* l/ s; ~5 O6 ^- @
  586. ; PHP's default setting is "&"., B% }. a/ p9 _# ~$ s
  587. ; http://php.net/arg-separator.output, D7 }* ?4 @  }# U* l5 G) q
  588. ; Example:" P  G6 G# q% v, R) D, z& `
  589. ;arg_separator.output = "&amp;"
    ' K- U! e0 V& f& L

  590. - ^4 p( o2 Q* a
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    7 l1 l; V  z6 |
  592. ; PHP's default setting is "&".( {" A3 ]" E; `* b8 @$ M) V: j
  593. ; NOTE: Every character in this directive is considered as separator!5 E1 `6 z. {0 B+ i, f
  594. ; http://php.net/arg-separator.input
    : |+ ^0 {$ {! }( q$ b3 {
  595. ; Example:/ x$ T, v7 u4 x. y" ?0 T$ s
  596. ;arg_separator.input = ";&"
    7 y1 |0 L, F: K  l9 G; [1 {0 M: N6 S
  597. ( O) W" g3 N8 X) k7 a- V9 V, F% f# u' y
  598. ; This directive determines which super global arrays are registered when PHP0 X) h( L4 {4 b# h- e
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super3 Z6 [- X) S7 |! v/ H
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty% ~& f9 Q( K# G* b
  601. ; paid for the registration of these arrays and because ENV is not as commonly, W1 y" ~0 ]  o6 }3 F. k& B" b
  602. ; used as the others, ENV is not recommended on productions servers. You* B2 H5 S3 t! R7 k8 e0 U. p
  603. ; can still get access to the environment variables through getenv() should you$ y; z+ I; w* V9 L5 _
  604. ; need to.
    ! U8 J* `4 m  R4 d  i
  605. ; Default Value: "EGPCS"
    * S0 B: m5 p1 }6 c6 w, Z
  606. ; Development Value: "GPCS"
    - g+ ]9 Q, H8 {0 d
  607. ; Production Value: "GPCS";
    ( q' o; f/ v: |/ F
  608. ; http://php.net/variables-order
    & f1 D* R8 m& a# Q
  609. variables_order = "GPCS"2 X/ Q( a, P* e5 \/ N

  610. 4 }* X6 v. `& v; w3 E8 a
  611. ; This directive determines which super global data (G,P & C) should be3 q. ]; u/ @6 A- B9 M" q
  612. ; registered into the super global array REQUEST. If so, it also determines  ~6 z7 ~' g( Q9 ]
  613. ; the order in which that data is registered. The values for this directive
    2 C7 ^" C% \: J( P' R
  614. ; are specified in the same manner as the variables_order directive,
    ; t1 a7 Y6 r; n) _+ G& k$ q. F' \: F
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    $ Y/ Z8 w* a3 G; l  I, P
  616. ; in the variables_order directive. It does not mean it will leave the super
    " C0 I# R$ Z& N+ `7 D
  617. ; globals array REQUEST empty.
    4 ]8 ~5 c1 c9 v% _9 y. v
  618. ; Default Value: None
    . g. }- l" t9 p4 `% ?( K9 n5 b, f) q
  619. ; Development Value: "GP"6 G% v/ c* ?/ O% O5 ^0 R0 v
  620. ; Production Value: "GP"
    . m6 F& Q9 K2 K0 l* o- o
  621. ; http://php.net/request-order
    4 M2 X5 Y4 D$ |1 q9 @$ E
  622. request_order = "GP": v, e1 l! L+ C, C: ^$ w$ ]: W
  623. . Y' Q# }7 d/ S& \% E( n9 f
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    / e" s0 P6 A$ r
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    # i( a+ A1 [" t" t) A
  626. ; is invoked. $argc contains an integer representing the number of arguments: d6 g# x/ |8 `' T2 X
  627. ; that were passed when the script was invoked. These arrays are extremely8 q4 X; O% e$ v
  628. ; useful when running scripts from the command line. When this directive is
    1 D6 k. Q0 A6 i
  629. ; enabled, registering these variables consumes CPU cycles and memory each time* E  y9 B: e9 E7 R. s# r
  630. ; a script is executed. For performance reasons, this feature should be disabled) n" p2 b) b! J8 m0 }/ M
  631. ; on production servers.
    * ^2 g/ P  v. i
  632. ; Note: This directive is hardcoded to On for the CLI SAPI2 G, v. P/ X" [' _. X3 {3 Q& x6 J3 a
  633. ; Default Value: On
    . T% ~4 {- f! U, r1 E/ G
  634. ; Development Value: Off
    * ^6 G) E6 F% L3 @% p
  635. ; Production Value: Off
    8 @& R3 t0 M% E4 `: [
  636. ; http://php.net/register-argc-argv6 E0 x& U& X# z. b' w4 H
  637. register_argc_argv = Off
    / Z; U7 Q: E' p* L# T8 V

  638. ( @) N: M5 X3 Z' z' ?+ Z( Q
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
      d& j* f3 }5 E. h# V
  640. ; first used (Just In Time) instead of when the script starts. If these7 l9 f: m0 u6 _8 b( a
  641. ; variables are not used within a script, having this directive on will result
      [, K4 }. i9 V# ]
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    / _2 s; ^( W8 i- ^: |3 F; _) j, d
  643. ; for this directive to have any affect.4 D0 w, l; C0 I5 K2 B9 [4 D& x: U
  644. ; http://php.net/auto-globals-jit! X& e/ A6 o* c9 J
  645. auto_globals_jit = On
    1 Q- G) ~6 E0 _1 g. N; L

  646. " j. e5 x! g, c( z$ g
  647. ; Whether PHP will read the POST data.
    + a0 Q  @! Y& m7 G0 S
  648. ; This option is enabled by default.: t/ V" }: c, r" [* H4 ?5 K
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    1 u' M$ h! f' o$ Y! H+ r* Z
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    & {/ x* v( U! K+ A
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    1 T# u( }4 D5 }$ w/ U8 ^2 E
  652. ; to proxy requests or to process the POST data in a memory efficient fashion." H5 P" M) N$ h
  653. ; http://php.net/enable-post-data-reading
    2 f( l: J. _$ [; Y2 T: m/ _
  654. ;enable_post_data_reading = Off
    4 o4 I. y: m8 w+ ~: g
  655. . b" c5 `1 e- q! ?
  656. ; Maximum size of POST data that PHP will accept.
    3 i" @: {" a' ^2 j: i5 f
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    - ]" m/ I7 D& S6 b
  658. ; is disabled through enable_post_data_reading.- |# t% P! m$ w, t
  659. ; http://php.net/post-max-size
    # y6 n! M5 b/ z4 Z, a3 K* f
  660. post_max_size = 50M
    ' c4 g* v& F, d1 w* I
  661. + `: D; z: R9 M) r" Y+ j
  662. ; Automatically add files before PHP document.
    ( o/ z0 l) T+ E+ O+ [5 w. t5 l
  663. ; http://php.net/auto-prepend-file3 k% X/ T/ X2 V- @4 r
  664. auto_prepend_file =
    1 F& K( N% F6 k, {& H( j7 g

  665. 0 o: G& T2 P" B
  666. ; Automatically add files after PHP document.
    5 e1 U! R  j  _( a/ S- L
  667. ; http://php.net/auto-append-file8 {9 `- V; E" }; c+ Z$ ?1 q
  668. auto_append_file =
    * Y: _9 c% B6 J/ p
  669. 6 c$ U- `; f; I( o4 x* p$ U
  670. ; By default, PHP will output a media type using the Content-Type header. To
    . K6 W8 s, S* p
  671. ; disable this, simply set it to be empty.9 l8 P6 p  e+ Y# M9 i$ A. j/ V
  672. ;
    - i% D/ I" _% f/ \, v) _4 s( P
  673. ; PHP's built-in default media type is set to text/html.
    0 s+ C& a; S+ N5 O* {
  674. ; http://php.net/default-mimetype- g$ K5 D9 P; B8 D" l
  675. default_mimetype = "text/html"
    3 V  i& c/ p& b
  676. 5 I6 y6 X0 |# F& a$ D6 f4 O
  677. ; PHP's default character set is set to UTF-8.
    * ^6 ~% r5 }* j% u
  678. ; http://php.net/default-charset  X) [5 y2 p" j2 h  J5 N4 P+ S
  679. default_charset = "UTF-8"
    6 [: U* D- r# M9 j+ B6 h
  680. 3 H  n7 I' ~4 t! A, U& n
  681. ; PHP internal character encoding is set to empty.
    . i& _1 I  w% g# H  t) J! E0 _
  682. ; If empty, default_charset is used.
    0 I# \9 i9 B7 r2 w. p/ G7 a
  683. ; http://php.net/internal-encoding
    1 j7 A/ l3 C# o. N+ c0 T" [6 V
  684. ;internal_encoding =* ^' s3 w5 A* D# Z# m9 k

  685. 8 z2 W% x8 T; Q& ]) [
  686. ; PHP input character encoding is set to empty.7 c& B) n4 Y) `, e' p+ G! N5 [
  687. ; If empty, default_charset is used.
    6 I: ~4 W: }* }' t4 _
  688. ; http://php.net/input-encoding
    5 X) N/ w& x/ S; ~% ^
  689. ;input_encoding =% i0 i* h; U# K

  690. ( W9 t  V1 f1 ^. _- s, |* R
  691. ; PHP output character encoding is set to empty.
    ' `" J1 L" R) P
  692. ; If empty, default_charset is used., K. p0 \/ |5 I% o0 B) g# j9 K
  693. ; See also output_buffer.( H9 ^- e6 q. m
  694. ; http://php.net/output-encoding& D8 w0 _6 ^0 y
  695. ;output_encoding =
    " n1 i3 N# I9 D9 W3 K
  696. $ ?  A- T- ?: b% o2 A, s
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    " T# p4 l2 V+ O
  698. ; to disable this feature and it will be removed in a future version.
    + Q$ V& m( k1 g1 B% f$ Y* w3 u. m
  699. ; If post reading is disabled through enable_post_data_reading,6 ~% {* M! q; `) ?' O" r7 z8 o1 f
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.9 ~. l; K, H4 U3 S' u3 j5 b
  701. ; http://php.net/always-populate-raw-post-data. [3 I: d- q: T% U) t: v6 z
  702. ;always_populate_raw_post_data = -1
    - S* Z3 ~+ @, \  s9 G
  703. 2 [% C. _. c3 Q  E& [
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;9 O5 m6 h+ y$ `; n
  705. ; Paths and Directories ;
    1 {, i" }: a$ y( M" k7 i7 M8 u
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ ?0 i4 p- `% Y# c5 D  l

  707. . g/ z1 `3 `, n  x. ]3 S# z4 o: |
  708. ; UNIX: "/path1:/path2"
    # k' p; j7 B; n" e# v' W3 n$ ]
  709. ;include_path = ".:/php/includes"
    5 H- q4 z0 q, ]! C7 K8 o$ B/ f
  710. ;& @. h9 V, q5 R. k: p4 `; m
  711. ; Windows: "\path1;\path2"
    3 [1 I5 T& b5 u# p
  712. ;include_path = ".;c:\php\includes"
    4 v9 |$ g* L6 Q" ]# O3 j
  713. ;
    + k3 w2 n- ^- q; I( H( z5 G6 \) n
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"/ x) ^4 X3 t" Q4 d9 [& k: \
  715. ; http://php.net/include-path
    ) D& }) g) u, P, W2 n
  716. % b1 \+ h9 c% p: u* U' P
  717. ; The root of the PHP pages, used only if nonempty.
      t- b! Z% m+ {( z8 `4 ?. v( y+ j
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    3 S% x) D, L. X, ~
  719. ; if you are running php as a CGI under any web server (other than IIS): Y; z( L  ~. L5 o5 d- ]2 W
  720. ; see documentation for security issues.  The alternate is to use the. O0 w0 ]! Q% l
  721. ; cgi.force_redirect configuration below
    ) U) E  X! Z! T. `
  722. ; http://php.net/doc-root
    ; ~& I9 X  s7 M
  723. doc_root =% C, O4 k; }8 I7 _5 e3 G7 Z
  724. 1 u4 |4 K3 ^6 K4 w
  725. ; The directory under which PHP opens the script using /~username used only* h, o. n  C9 @3 J  F0 y
  726. ; if nonempty.
    # k- d9 j0 N8 k7 J  G
  727. ; http://php.net/user-dir4 i6 S. {2 E6 H
  728. user_dir =
    ! c9 T, X% O; x6 G: A

  729. 7 y2 g; {8 P: d/ \/ X/ V
  730. ; Directory in which the loadable extensions (modules) reside." B# a6 d3 F' r: I, q$ r  B
  731. ; http://php.net/extension-dir
    ! I/ Z, t% F% }
  732. ; extension_dir = "./"5 {0 a$ y8 L5 S& y/ V2 @2 ^
  733. ; On windows:
    0 `! I  S# I1 x) P( u3 M1 H
  734. ; extension_dir = "ext"
    & C8 v$ M3 I4 }1 i
  735. 4 h. ]* m0 M, {
  736. ; Directory where the temporary files should be placed." y5 Q+ ^( I6 h3 y0 n
  737. ; Defaults to the system default (see sys_get_temp_dir)7 F! E% [4 _$ F( x9 Q* J. d
  738. ; sys_temp_dir = "/tmp"1 }; Z# O1 H# \; {! j& |1 f
  739. ) o: {2 G# Z% X/ |
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work2 K6 A2 R# }4 O- b( V. r7 \
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically" b4 S$ _8 Q. x$ o& Z
  742. ; disabled on them.
    % K# b& S0 A' t/ ]/ {6 i
  743. ; http://php.net/enable-dl7 d$ D4 p; l& l3 S3 K
  744. enable_dl = Off
    ! a: {! u, c6 }) W3 j
  745. , c1 i- Z. j' z. t# h. X9 ?( H
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under/ V+ d0 Y5 @4 d2 p
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    9 V$ E$ ]; i, P- Q* v! T. ^
  748. ; turn it off here AT YOUR OWN RISK3 v4 T( A9 T2 G9 q$ f" V/ i; d
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**; f3 `7 K8 w, O  F
  750. ; http://php.net/cgi.force-redirect
    , ?+ l  I$ _4 ^5 ~9 o: V" Y
  751. ;cgi.force_redirect = 11 J; _. ]+ c9 L& B+ ^, P
  752. & B+ `+ b4 s( C/ w; o
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    . R+ g; K  \6 i$ Z" h$ t& N9 B
  754. ; every request. PHP's default behavior is to disable this feature.
    & K) x/ {1 `, G/ `% W
  755. ;cgi.nph = 1
    ! |! X1 N1 {  F8 P: [/ f

  756. . i) p1 s/ U; e( n
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    3 S' ~9 q7 ]" j0 u
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP6 z- o  y. m4 K
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    8 c3 l$ s6 e- T- u! N4 o
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.; z; n7 l+ d& |* R- z& v
  761. ; http://php.net/cgi.redirect-status-env0 s. O1 w$ d8 P5 v, A" y8 ~4 M6 B( f
  762. ;cgi.redirect_status_env =
    9 h* m- U0 r6 Y: Q0 |6 y: _' w( ^, I( ~
  763. 7 D- O# y- T% b5 j! C4 Q
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's5 j) v9 F7 _- X% c3 K/ u
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    , b7 y( m' O' T+ k
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    8 V' T4 |# C1 Y  ?6 O$ N; w
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    $ t- n4 o/ L4 F& [( V) Q
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    " H/ n6 f3 W5 `6 v7 H+ _' G" C* r
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ( K8 a6 o! D( N! Q; X. _2 L
  770. ; http://php.net/cgi.fix-pathinfo" w4 P2 q% U. f! ?9 U" c& |* c
  771. cgi.fix_pathinfo=16 l/ E9 ^; }, P8 m

  772. ; Q0 _+ B  ^5 }8 J" F& a" |
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside, }1 ]7 A, k4 _- _  l/ \
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    5 E; ^. i; N6 w. a+ S& T
  775. ; http://php.net/cgi.dicard-path
    : L  {3 t0 e2 |" z/ X) C. Y
  776. ;cgi.discard_path=1
    % k. L0 i; n; M0 W  p5 J

  777. 5 u' n: `( H+ F# {2 ?0 F
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    3 l( c. u/ v& j
  779. ; security tokens of the calling client.  This allows IIS to define the$ _: `+ {0 k3 h; C/ k1 _; n8 U
  780. ; security context that the request runs under.  mod_fastcgi under Apache$ z$ A2 n; \4 W3 `" o
  781. ; does not currently support this feature (03/17/2002). ^, b3 V5 `% \9 J
  782. ; Set to 1 if running under IIS.  Default is zero.
    . ]0 }8 y6 p3 a5 K8 ]
  783. ; http://php.net/fastcgi.impersonate
    , t' |5 G3 j" u" F4 h- u# L9 j) D5 L2 l
  784. ;fastcgi.impersonate = 15 X8 R( [  z# K* e, @: U
  785. * W  O2 Z5 y5 ~; D" X( G
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable7 K% A6 {, O4 h; l& B( Z
  787. ; this feature.& B8 Z7 q9 ^0 G& t
  788. ;fastcgi.logging = 0
    * F3 Z- b. R1 B# A, t

  789. * Q, Y: C/ k/ [
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ! `( c* j& A! `
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that7 k# W+ d3 O" ]2 s8 u2 t
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    9 W* p* O$ S) d
  793. ; RFC2616 compliant header.( E8 ?2 R$ S9 e% t/ a
  794. ; Default is zero.# {9 i+ g2 c: `8 `0 ~
  795. ; http://php.net/cgi.rfc2616-headers
    # ]4 n, C) y  x# _0 o! j! H" r
  796. ;cgi.rfc2616_headers = 0- f3 Q  ?, B) V/ r8 x. u$ @  L! A7 E
  797. , R% L) q. k( y* }! D! h
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!/ `- p8 C3 Z" D3 m( w
  799. ; (shebang) at the top of the running script. This line might be needed if the; }1 N' o' r8 X1 Y
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ' V8 Q: d2 p) z* r9 X% x
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ' i4 @/ T+ S4 B7 f8 z5 I! Y9 P3 \
  802. ; http://php.net/cgi.check-shebang-line
    & ~1 h# b, s) V
  803. ;cgi.check_shebang_line=1
    2 @2 x# ~$ i2 A0 {
  804. 2 `9 c; B% C9 ^$ `. u  Y4 u  h" M+ e
  805. ;;;;;;;;;;;;;;;;/ m) Y, }% k8 c( {6 V
  806. ; File Uploads ;
    , O/ [' l, _/ _3 J/ e1 v
  807. ;;;;;;;;;;;;;;;;
    ; y$ ]  d5 l# z9 p) v

  808. ( t3 r' A' y8 W# p1 [
  809. ; Whether to allow HTTP file uploads.
    $ O$ q8 ]! y8 s, a% i5 n
  810. ; http://php.net/file-uploads
    / j+ u: R/ J2 B5 h: a8 I
  811. file_uploads = On
    / |  N' J" R/ V4 B: `

  812. 8 }. ]9 e0 ^; f6 F+ N! u' i
  813. ; Temporary directory for HTTP uploaded files (will use system default if not  x  _2 L9 P, y
  814. ; specified).# D0 E8 Y; h& S; d4 k
  815. ; http://php.net/upload-tmp-dir
    " i9 c1 O: z2 @3 g+ }; {
  816. ;upload_tmp_dir =5 c$ p5 F' ~) S6 M: b* D7 E
  817. 5 B6 {: }# |2 S6 G/ v
  818. ; Maximum allowed size for uploaded files.
    : M. j. B* x6 T# `- A% h+ v& C; e
  819. ; http://php.net/upload-max-filesize4 K3 q* ^5 D+ U/ y
  820. upload_max_filesize = 50M
    9 |. x. c# H& h% u
  821. ) {1 V% G6 x: }7 m8 H" u
  822. ; Maximum number of files that can be uploaded via a single request
    7 E. k. U& v% M# z# Q8 F
  823. max_file_uploads = 20
      q# d) l" ~  X) m# v4 \

  824. ) r6 W4 q5 s" ^6 C6 Z1 @
  825. ;;;;;;;;;;;;;;;;;;; N. `: Y' H$ M: z6 O+ _! ?/ ~0 E
  826. ; Fopen wrappers ;
    7 E  X: C$ a! t+ A+ Z1 c: |& T# G, C
  827. ;;;;;;;;;;;;;;;;;;
    ! G0 W( m1 z' g: S, K. L
  828. : R7 u& R4 c3 ^) a0 `4 E, m
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
      k4 O, F/ D+ _4 n
  830. ; http://php.net/allow-url-fopen7 \  D; O& P! i& P% F! ^% k3 Z( E) Y
  831. allow_url_fopen = On9 i" h/ p% g8 E. e$ ?; w
  832. " q3 y) t: ^- N# T
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    5 S& ]. u8 \. M9 h) @  x- d7 ~6 k/ }
  834. ; http://php.net/allow-url-include
    * }8 N. w8 [6 }9 f: ]
  835. allow_url_include = Off2 Y/ g3 Y4 V  ?2 Q3 p

  836. 6 P$ t+ t" Q  k. Z" A) ]
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ! N% @: t: V( \
  838. ; for this is empty.7 @" j/ F8 J4 h/ Y7 x5 I  Q
  839. ; http://php.net/from
    ! y2 J  Q2 b: S9 _- D$ `
  840. ;from="john@doe.com"* U8 Z) J9 H. W4 _
  841. " A0 x$ Y% q5 q$ W( u
  842. ; Define the User-Agent string. PHP's default setting for this is empty.$ k, W8 M: X2 V) _5 E0 D/ K! o0 K7 D
  843. ; http://php.net/user-agent
    $ I" g! Q  r8 }& C# j, }: t
  844. ;user_agent="PHP"6 E! a1 V' a  Y
  845. ; F* n! ]" I, \" z0 u' D, W
  846. ; Default timeout for socket based streams (seconds). p6 s( \) r' {2 A' T
  847. ; http://php.net/default-socket-timeout
    1 m+ t" \/ ^; W, e7 p$ f; I6 {
  848. default_socket_timeout = 60" z# o( D- b* D( o6 Z8 Z

  849. 9 c4 x* t: o: b0 @9 G* r7 f
  850. ; If your scripts have to deal with files from Macintosh systems,: R: b- O5 k; @) h$ u3 ?
  851. ; or you are running on a Mac and need to deal with files from
    2 V0 r# I# K4 F& U) V/ Q
  852. ; unix or win32 systems, setting this flag will cause PHP to3 g* W+ @7 Z! ^. n+ S4 i, g8 T
  853. ; automatically detect the EOL character in those files so that
    & `+ P! I. B" @0 f, S; g
  854. ; fgets() and file() will work regardless of the source of the file.
    # |# p" p& G8 w/ ~% m9 E
  855. ; http://php.net/auto-detect-line-endings9 ]& S/ _' v+ S% l9 t- n# x1 ^$ P
  856. ;auto_detect_line_endings = Off
    . e' \5 V1 r; D

  857. 5 {& W; a/ d! S- p" Q6 A
  858. ;;;;;;;;;;;;;;;;;;;;;;
    6 P3 e) q$ K5 a0 \: K  e
  859. ; Dynamic Extensions ;
    0 [4 r$ o6 _. [- H6 Y8 _* g
  860. ;;;;;;;;;;;;;;;;;;;;;;+ P" b9 D4 t* ?: S9 E& |3 T: u) h

  861. # F+ x% l3 \8 z; R% O/ O) o) G) M4 w
  862. ; If you wish to have an extension loaded automatically, use the following8 W" x( m) ]3 p* b5 f5 Y
  863. ; syntax:' p; P4 g+ r0 k, V
  864. ;5 p' V; N- m9 \4 }
  865. ;   extension=modulename.extension9 {8 U1 r( }: X1 @/ S* G# k; T
  866. ;  B  R+ P. d+ z1 H0 m
  867. ; For example, on Windows:; ^- T9 o" I# B
  868. ;
      b  s/ X9 y, v/ D1 [' b2 R& ~
  869. ;   extension=msql.dll
    ; k$ k+ P9 y- @" A0 s
  870. ;# F' X1 T  x0 g; \+ P- ~
  871. ; ... or under UNIX:" S; B! l5 V$ t+ z9 n& _' S" x- L
  872. ;. x( A# j: n- t
  873. ;   extension=msql.so
    ( U3 _* s4 D( i7 F; c9 c
  874. ;
    + E9 F7 T+ Z# D& ~3 s( s& d  U& L
  875. ; ... or with a path:
    % J" |' a8 V5 A6 G' u
  876. ;
    0 j; y- L0 m* C6 v1 G& t
  877. ;   extension=/path/to/extension/msql.so
    2 K. H: z+ c! _* l. U  Q" j
  878. ;/ m: C5 f+ m# Q$ n/ V5 ?  i
  879. ; If you only provide the name of the extension, PHP will look for it in its  [" n+ ]" w  x% J2 [; f
  880. ; default extension directory.
    ( }/ U. u$ F0 p' ]0 k! p3 `
  881. ;
    ; s7 f4 U" W; |; e; B: J
  882. ; Windows Extensions
    / U8 t2 P. T& z6 Q
  883. ; Note that ODBC support is built in, so no dll is needed for it.4 g, |/ R" Z# x& ^
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)7 i4 \  L$ u  ^. Z
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).5 g9 e" u0 W0 v3 Y+ O
  886. ; Be sure to appropriately set the extension_dir directive.( G: B2 J, {' h# E( j5 E
  887. ;6 a6 v0 ?5 P  W; ^! ^" F: B& Q5 C
  888. ;extension=php_bz2.dll6 l: `7 q. \! j9 k! i1 f
  889. ;extension=php_curl.dll3 p, a$ |3 s/ i2 n3 o% w
  890. ;extension=php_fileinfo.dll1 E, A* o6 v5 e) h; Y6 w% `7 W
  891. ;extension=php_gd2.dll
    ' a$ G  B4 r! t; E- i. P- Q
  892. ;extension=php_gettext.dll% {: P* l+ p/ t4 o* _+ V
  893. ;extension=php_gmp.dll
    6 o& \, c4 {  n- l2 H& I$ T3 R6 I
  894. ;extension=php_intl.dll
    5 u' d* H  M! k7 H8 P
  895. ;extension=php_imap.dll! e# D" l% x7 O9 e8 z# T. {  l
  896. ;extension=php_interbase.dll
    % u; M( g# G; c6 n+ A0 V
  897. ;extension=php_ldap.dll# a9 Z0 u. _' d3 L2 n3 I
  898. ;extension=php_mbstring.dll
    1 x0 E3 {- P8 J) ^4 E) \( C* p
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it% z, g  c& t7 {* O( a! ^2 Q
  900. ;extension=php_mysql.dll( K: K& `# L9 U& @* P
  901. ;extension=php_mysqli.dll7 `, m6 q! n! ?1 P( L# Y. o
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client- b' @3 h/ j$ j9 l- t$ Z6 V5 W
  903. ;extension=php_openssl.dll: A+ W" m. j; q
  904. ;extension=php_pdo_firebird.dll; _5 ?" }. X7 t" q/ k. S) Z
  905. ;extension=php_pdo_mysql.dll, B9 t, t: M  W; J$ |7 D
  906. ;extension=php_pdo_oci.dll3 }9 z  g; o2 o2 M. X8 c
  907. ;extension=php_pdo_odbc.dll
    5 E. ~6 I( a3 Z1 d  x
  908. ;extension=php_pdo_pgsql.dll- g' r6 e: x5 W& P9 @
  909. ;extension=php_pdo_sqlite.dll" G! [/ }) f; d0 h4 U1 ?
  910. ;extension=php_pgsql.dll  H' z+ P2 z# |8 `
  911. ;extension=php_shmop.dll" p( N6 H. H/ U5 }
  912.   i% l  o6 B4 Z6 p& L+ v- ?
  913. ; The MIBS data available in the PHP distribution must be installed.
    6 i9 v# d7 H% B" ?$ L: W
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    % _6 w5 b/ r' j( \
  915. ;extension=php_snmp.dll! b4 C% e0 H- j9 O0 D

  916. - p9 e8 q3 [7 \' @1 ]1 E  z) r. B7 k
  917. ;extension=php_soap.dll
    . v, [# j$ Q! f; f
  918. ;extension=php_sockets.dll
    0 B* N3 I( J6 w7 d* t
  919. ;extension=php_sqlite3.dll
    0 Z3 N6 i* I# W! `7 s
  920. ;extension=php_sybase_ct.dll
    . H& L7 ?5 ]! q# d
  921. ;extension=php_tidy.dll
    1 {6 S' ]- c' D5 Y" t" s: S1 e
  922. ;extension=php_xmlrpc.dll
    # |& w& R7 V  x
  923. ;extension=php_xsl.dll9 ]) {- M: `4 H% ?' h6 m3 G

  924. 3 \, P2 S! ]1 l( V& k0 F2 c
  925. ;;;;;;;;;;;;;;;;;;;% e3 |; k- i+ v' R" {  T
  926. ; Module Settings ;
    / ?, `; }1 B3 R0 F9 O" y) q( `
  927. ;;;;;;;;;;;;;;;;;;;: q# S6 H' L3 F: a% r3 v
  928. 8 w9 }* {& U) v& ?6 |
  929. [CLI Server]
    4 N2 V7 \8 N7 H3 U
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ( W1 U; ^3 ]/ A) t  A
  931. cli_server.color = On/ I, u+ }  m7 l. z$ x/ r

  932. , U( Q2 g6 V- t) E# W5 @
  933. [Date]9 S/ l* g, K" T2 Q2 b3 V
  934. ; Defines the default timezone used by the date functions5 q3 f+ G! F+ _8 p+ H
  935. ; http://php.net/date.timezone
    * z& t/ H, W/ y. _! C% I9 L1 d6 ^
  936. date.timezone = PRC
    # K2 S8 \3 T3 U, ^& }7 \
  937. # L8 L6 r8 U2 C* L9 o7 w. O5 n0 P* _
  938. ; http://php.net/date.default-latitude
    & I( S# @1 W( ]* K/ ]6 G
  939. ;date.default_latitude = 31.7667! t) z0 ~. |. a& \! L* ^
  940. / o) Y% N6 b7 }: Z2 L# I: J
  941. ; http://php.net/date.default-longitude0 l- o/ L1 @6 W- g. z! l% _
  942. ;date.default_longitude = 35.23334 B/ q: e! S- y  X1 L# b4 f
  943. / p/ O* _* g/ l# x
  944. ; http://php.net/date.sunrise-zenith1 a( [. i% G2 c; @6 E' [
  945. ;date.sunrise_zenith = 90.583333
    ! E/ R& @! A/ G' J5 r

  946. - M4 B5 h* Z9 u; Q! e& m
  947. ; http://php.net/date.sunset-zenith
    ( x7 R' b& q. `: u. O
  948. ;date.sunset_zenith = 90.583333# X. J* e) Q* s( }+ t
  949. % x5 c- Q, Q8 S7 ~
  950. [filter]$ V6 ]" B; L  q# B  Q
  951. ; http://php.net/filter.default
    2 q( U9 ~% S  A
  952. ;filter.default = unsafe_raw, q8 |" W, Y9 }& G$ e
  953. * g8 G  s1 W: k
  954. ; http://php.net/filter.default-flags
    2 z. N; u5 T2 h/ i1 p
  955. ;filter.default_flags =4 }: }* n+ Y% S; M) P( i
  956. & }0 M9 q2 N2 S
  957. [iconv]
    ; L% X* U2 u# g4 Y' a
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    4 M9 q$ |5 v( ?/ ~. F8 o" C
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ' \0 b4 e! I. F/ `5 v4 Q& _* [
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding8 T' M2 t  S! x
  961. ;iconv.input_encoding =
    5 P" L5 K" T& U2 Q; |
  962. 3 z! A6 x0 M) w8 X6 ]" ~
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 M$ m. w2 v3 n: N6 ~$ d9 r
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : O$ N: {1 {, K1 z5 W: T$ L4 s6 \
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    7 ?0 n- b2 j! Q% }' Y
  966. ;iconv.internal_encoding =& }9 y( g' O7 U, k+ B& {

  967. 9 T: e: t- N1 Y" b
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.& ^$ K9 M2 Z- h( ?5 E9 T
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.7 X2 f; C( N  s
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
      h% E7 V+ [9 C' @
  971. ; To use an output encoding conversion, iconv's output handler must be set
    1 w- J1 X* R4 n: C4 L& R9 O+ E
  972. ; otherwise output encoding conversion cannot be performed.+ c( o3 q3 A! \8 k8 f
  973. ;iconv.output_encoding =- o6 Y( a$ t0 `/ f4 u$ w7 j
  974. " c; s, t% [* Y
  975. [intl]
    1 q& E1 E" X* _7 ~% c0 X. ~
  976. ;intl.default_locale =
    , X. T* _2 `" B* Z1 P6 u: h
  977. ; This directive allows you to produce PHP errors when some error. m  s. h/ h& a& b, W
  978. ; happens within intl functions. The value is the level of the error produced." V  x) h. p8 |% K1 u
  979. ; Default is 0, which does not produce any errors., Z8 m4 _; \; [/ u4 g
  980. ;intl.error_level = E_WARNING- y/ L! `7 f  K6 q( w! F/ p
  981. ;intl.use_exceptions = 08 C! W1 \4 a) N+ a% b6 k
  982. % f8 s/ H" |- F& S
  983. [sqlite3]
    * l" N( S8 H: W/ }
  984. ;sqlite3.extension_dir =- L5 i+ o, T- }# o. L! R; ~' \
  985. * T) j3 K9 [; X) O: ^# `# Z$ P/ @7 S( F
  986. [Pcre]
    ; X' F; V! H' \) s( T4 A' P% l
  987. ;PCRE library backtracking limit.' ^. J" z- u. m- U
  988. ; http://php.net/pcre.backtrack-limit6 [/ d' W- S; ~" ?9 n! q/ F
  989. ;pcre.backtrack_limit=100000
    " r7 `; q/ \  [. P  n& ]: ]
  990. : c  z/ Q8 r; V8 p8 [% V3 Y* G
  991. ;PCRE library recursion limit.
    & I$ J+ P" [7 W$ E8 h
  992. ;Please note that if you set this value to a high number you may consume all0 Y% r4 k  y1 T: Q* p
  993. ;the available process stack and eventually crash PHP (due to reaching the
    ) [! G* Z+ w7 p, O" `
  994. ;stack size limit imposed by the Operating System).
    % j9 f+ _( Y/ v$ F
  995. ; http://php.net/pcre.recursion-limit" T- j  h% R, E6 L. C3 l1 b7 C3 ]
  996. ;pcre.recursion_limit=100000' i& y5 ]! b) K3 ]! R

  997. ' w# X- e' r9 v8 J
  998. [Pdo]2 U3 R# Q8 C$ ^( {
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    : N1 x: p2 D. `4 R5 o
  1000. ; http://php.net/pdo-odbc.connection-pooling  v( s# L# K; [2 z2 F3 e; \. o& P
  1001. ;pdo_odbc.connection_pooling=strict
    ) i1 p3 S( ?: V; R* c% A0 \
  1002. 9 k" V6 ~/ C5 W( e
  1003. ;pdo_odbc.db2_instance_name
    - _$ f$ ]! f; V2 n, V9 b' ~

  1004. 7 l! V- c) P$ l" h* B, S7 b8 l
  1005. [Pdo_mysql]
    2 K# A4 N* J+ b
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    7 _4 ^& m5 t+ f" E
  1007. ; http://php.net/pdo_mysql.cache_size8 L/ I3 H2 `" G6 c- X" q: N9 H% _8 @
  1008. pdo_mysql.cache_size = 2000
    # Z" Z: J# O% E2 Q# F- _! n3 w

  1009. 6 _" N, \2 v! R: ~& T0 C* D  y
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    , F, [2 b0 Z% t: K
  1011. ; MySQL defaults.
    % t# u$ q: [/ P
  1012. ; http://php.net/pdo_mysql.default-socket( I( ?+ w9 S5 f6 \( Z: I5 ~
  1013. pdo_mysql.default_socket=
    6 l. ]9 y; C- T! A2 l

  1014. 5 }) ~3 J1 |% L8 |; L
  1015. [Phar]& N9 L0 y& D% x6 w% k3 V# K( u1 A
  1016. ; http://php.net/phar.readonly
    ( w4 D8 g5 H; T' B8 F. N8 l
  1017. ;phar.readonly = On* C: r: K1 [6 [. |

  1018. ; s7 I# e4 s" B2 @8 f
  1019. ; http://php.net/phar.require-hash
    " w; |% X" w3 l" l$ N, [. x/ z
  1020. ;phar.require_hash = On
    6 d3 r( v( }9 M
  1021. 5 {: C  R  q* m6 Q9 D
  1022. ;phar.cache_list =
    & ~5 F" F% U* @; ^8 d5 r
  1023. 3 R: `& o) {1 `4 x7 a
  1024. [mail function]( a  d+ B) q  g! v  [% ]4 y) `
  1025. ; For Win32 only.4 p) a+ Q# K& A
  1026. ; http://php.net/smtp
    3 I: g6 \) t( {
  1027. SMTP = localhost5 n6 R( ?9 r7 O  d
  1028. ; http://php.net/smtp-port8 N( V( k! b) s: H- D' {" Y
  1029. smtp_port = 25" i5 t% G# v# }( s

  1030. $ }0 a: _, Y, i: n
  1031. ; For Win32 only.
    ) H0 g9 Q. b+ {
  1032. ; http://php.net/sendmail-from
    : W  H! [. `2 k
  1033. ;sendmail_from = me@example.com
    2 E6 M( q3 R4 m. p3 _0 `7 m# {. r

  1034. + \& l1 H: \! B: [- Q9 ^+ H
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").5 w$ w3 O% r( A, G. _, ?2 j& P
  1036. ; http://php.net/sendmail-path9 i; [, G" C) o0 q% C+ X
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    5 F6 p# X+ ^- ^6 l
  1038. & F  E( E& P! W8 a
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    / m) M- I  k1 s
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ) A5 H1 i/ z0 y5 x; x9 D8 W
  1041. ; the 5th parameter to mail().* G! H7 U4 }" g' P6 H( X' F
  1042. ;mail.force_extra_parameters =( X0 p, W0 Y! s& f0 K

  1043. ; }" t/ Y$ _, ?
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    , x: ~: A# a6 g0 I8 g& s
  1045. mail.add_x_header = On6 N3 m9 b4 k) E# P% X+ t7 [) y+ _
  1046. ) L  y8 `3 n3 E: N! Q" Y
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    1 O4 L. L: h3 a2 z! Q$ D
  1048. ; the full path of the script, line number, To address and headers.
    5 G& o: X6 O+ w
  1049. ;mail.log =9 I2 k! U* |: r' H
  1050. ; Log mail to syslog (Event Log on Windows).9 e+ Y# a$ F8 W) \
  1051. ;mail.log = syslog3 V0 `1 ?' w* J# B1 q

  1052. * L0 g2 U2 n3 g$ @9 |% S4 W
  1053. [SQL]8 ?; Z( N* H9 s8 X
  1054. ; http://php.net/sql.safe-mode
    ' h. V# q2 V$ H3 F$ y! [5 k
  1055. sql.safe_mode = Off
    * P8 k* R3 W1 C% y! F' }6 B
  1056. ' P' z& K) n* _% W8 {
  1057. [ODBC]
    # v. K% v6 q) _5 q
  1058. ; http://php.net/odbc.default-db
    ' V: `* |: Z( A; |
  1059. ;odbc.default_db    =  Not yet implemented
    + a; j( X* ?: f+ e  t6 G0 l0 o; I

  1060. 9 V# N8 r. d  B
  1061. ; http://php.net/odbc.default-user
    6 p0 S) m2 \- a. B: Y6 ?& G
  1062. ;odbc.default_user  =  Not yet implemented) Q: w: m, `1 i' A6 v

  1063. ; n7 b; Z  `) {: I/ J7 y! R. [
  1064. ; http://php.net/odbc.default-pw
    % \9 n* A# r9 _. j) g0 G! j5 o5 U
  1065. ;odbc.default_pw    =  Not yet implemented& @8 w( G) Z" S
  1066. 9 I; v- L8 X1 \+ @- `* `
  1067. ; Controls the ODBC cursor model.& Z* k3 G6 x% a4 i7 c1 g; C% e
  1068. ; Default: SQL_CURSOR_STATIC (default).; x* k6 r4 }0 `: g* Y) Q0 Q
  1069. ;odbc.default_cursortype$ b4 X' k7 I7 [& v7 |4 e0 o% y

  1070. " d  ]  D# B: O
  1071. ; Allow or prevent persistent links.2 H' t( `, b- g* f# |
  1072. ; http://php.net/odbc.allow-persistent! z4 r0 h5 U- O! ?0 H  X, [& O
  1073. odbc.allow_persistent = On
    & t& B% W1 l# |! o9 N

  1074. $ A7 e6 d9 R2 T; `; J, W8 Z& d
  1075. ; Check that a connection is still valid before reuse.* H  h" U" W0 \
  1076. ; http://php.net/odbc.check-persistent: ^" U) Z/ T' G
  1077. odbc.check_persistent = On6 @+ X9 w' d5 O0 ^$ F: v0 v0 e

  1078. / I0 c4 e, j! T6 L
  1079. ; Maximum number of persistent links.  -1 means no limit./ [( x5 l( G- G
  1080. ; http://php.net/odbc.max-persistent
    ! w5 S* q: o! E- f* f, `6 ]5 j0 F! ?- o
  1081. odbc.max_persistent = -15 o) c' d* g9 \

  1082. 1 i# E) ~0 Y2 p4 b1 m. w
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& Y: P9 c8 V! U- K# c& O. c
  1084. ; http://php.net/odbc.max-links7 Q1 ]( h1 ]1 y+ K. c5 }: r
  1085. odbc.max_links = -1
    5 Z6 ]6 Z# Q) i4 v# ]
  1086. 7 c6 \, q* Z8 H
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means- o# s3 z. _, y5 ]
  1088. ; passthru.
      J! y' i; |: W  ~. K3 G6 w
  1089. ; http://php.net/odbc.defaultlrl
    5 t, P; w$ y0 g& ^9 v8 y
  1090. odbc.defaultlrl = 4096( h3 v6 ?5 i7 s- ^* U8 B) g
  1091. - }3 k& r1 D0 D- N* P
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.2 [; `0 {" @. s) g' M) e# [
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    1 `1 H; J" Q/ \6 G/ v6 d8 k
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    6 \# D6 U4 s9 n* Q6 m! _
  1095. ; http://php.net/odbc.defaultbinmode
    ) F: P3 F9 A( n) g- g  P
  1096. odbc.defaultbinmode = 1% w8 m+ V& [7 p  g/ a9 d3 j
  1097. & m) M. r% t- h5 u8 G
  1098. ;birdstep.max_links = -1
    : b( i7 L' s% N

  1099. 3 \: M5 i( q) b7 U( x* |
  1100. [Interbase]
    2 G6 {  y8 J: \  T8 ?- M
  1101. ; Allow or prevent persistent links.
    . W* y! f1 q& W/ t+ h
  1102. ibase.allow_persistent = 1# e8 \# c5 d7 ^8 ~  _/ W( ^2 Z
  1103. - N* y* X! n3 o. V
  1104. ; Maximum number of persistent links.  -1 means no limit.
    9 _1 X& x- A0 _( ^. E* Y
  1105. ibase.max_persistent = -1( a6 [% r1 a+ J2 K( Y
  1106. 4 |- J7 r: R& B$ n
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 P4 `) }2 o+ k& L& X
  1108. ibase.max_links = -1
    - Q$ p5 u2 o4 u" V6 z
  1109. + T2 l' }( h* D4 ~
  1110. ; Default database name for ibase_connect().5 t7 R9 i/ x0 t/ N1 W0 ]' {
  1111. ;ibase.default_db =
    4 W+ r7 U$ K0 Y) N5 U! s9 X3 o+ x, D

  1112. ' X; O5 {5 h2 S7 I
  1113. ; Default username for ibase_connect().
    ! a, W& v! b5 P6 c% Z# k( U5 [
  1114. ;ibase.default_user =& }& e) L- g$ a
  1115. . x# m6 a" O+ l
  1116. ; Default password for ibase_connect().
    2 J* `6 `& X. @9 D) ~6 s0 D8 g
  1117. ;ibase.default_password =
    % q+ |, w4 E- A/ n$ P6 h; i# f

  1118. " ~- g6 V6 ]$ {1 g0 ?  f2 P0 W
  1119. ; Default charset for ibase_connect().+ m6 }& @- f+ }2 x9 c5 _  E4 T1 E
  1120. ;ibase.default_charset =
    3 }; y7 h% J7 y7 U
  1121. 8 |1 E% I  V' c( o2 H
  1122. ; Default timestamp format.- P! z  w. S* J( ^- d* E
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"9 a/ K2 ?; H, t" K; s; T+ |
  1124. + }, o7 _- C$ e! c5 V  r
  1125. ; Default date format.
    ; j* N: ^! p6 U' f1 Y, [
  1126. ibase.dateformat = "%Y-%m-%d"- t, f0 M+ {2 N5 v4 a
  1127. % j0 L7 O+ K& P" v2 @7 D" }
  1128. ; Default time format.
    - {5 g5 u: |+ r% j
  1129. ibase.timeformat = "%H:%M:%S"
    2 y' D& d6 q) B$ N

  1130. 2 a  N; W9 ?& E
  1131. [MySQL]3 a/ L2 ]- @! {5 J
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements: l: G! c* |7 j3 b
  1133. ; http://php.net/mysql.allow_local_infile5 n1 E' K7 m* ?3 H( c2 f
  1134. mysql.allow_local_infile = On
    . g2 n- N2 b3 _# m/ R7 }& H  {$ u4 h

  1135. 0 z) p5 q7 W8 S1 Q# e. G3 \+ d9 u* t9 o
  1136. ; Allow or prevent persistent links.2 _7 w3 p$ B; O% `6 c
  1137. ; http://php.net/mysql.allow-persistent$ L3 E  O& O- {, `
  1138. mysql.allow_persistent = On
    3 F' Y7 j7 N- C4 o9 z

  1139. ) ^1 c* d% f6 H# Z# Y3 N
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! z% F* z: w0 I7 `
  1141. ; http://php.net/mysql.cache_size
    ( o. d% T7 n- O8 e# V0 N" S
  1142. mysql.cache_size = 2000
    . `: ?! _! `: `* x8 v" ]4 d
  1143. 8 C# g9 t+ b& Q' f, {: s# y  N& r; Q5 ~
  1144. ; Maximum number of persistent links.  -1 means no limit.- k; ?. ~3 [  q4 V) m% t7 e
  1145. ; http://php.net/mysql.max-persistent
    $ ?. n7 O5 T- ~, ?4 k, W6 Y! N
  1146. mysql.max_persistent = -1
    ! A: |- b. K: N  D0 r
  1147. 5 l3 `  ]+ Q* Z& h; {1 n# F% e( {) w
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 E" k6 r4 n$ b! O
  1149. ; http://php.net/mysql.max-links
    ; }  B- _7 j1 p9 [" i1 L2 q  q
  1150. mysql.max_links = -1
    # R, q8 E, t+ S: J% N
  1151. : g7 @9 P3 M4 f
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use  i2 V# {/ G( G: f2 L9 ]
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    4 v  C1 l" h& C
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look5 k$ ?- H5 Q& g
  1155. ; at MYSQL_PORT.. {2 p' m! a1 h, @
  1156. ; http://php.net/mysql.default-port, X8 Y: d! `5 N  \( R
  1157. mysql.default_port =
    & f0 ^! G' E1 K; r
  1158. ! n& s( v- E8 r8 z
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + t# Y* k1 Z+ V; Z' N& c9 k
  1160. ; MySQL defaults.
    4 h6 q7 Z; S3 M, W5 q" K
  1161. ; http://php.net/mysql.default-socket
    - X, S$ U) d2 I7 N/ n; G+ S
  1162. mysql.default_socket =
    * L5 k6 G$ Z8 d2 f  ^
  1163. 1 E+ U2 p, l0 E  O/ C) d$ u
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    * H" I6 D6 W- g  C7 \
  1165. ; http://php.net/mysql.default-host
    5 T+ M0 g4 N* k% i( v( c
  1166. mysql.default_host =9 Q" n/ ^' V: V3 A: _9 n; D2 q

  1167. & c% {5 C" i) g- r. q
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    6 l- J* h) @( [+ @, R$ l
  1169. ; http://php.net/mysql.default-user# q8 q2 b8 m- `( w1 ?8 }5 G" Y" n
  1170. mysql.default_user =: u% P% d8 V, \( h0 @: f' u: l. _

  1171. ) Z* Q2 ~, k. O2 r% Y
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).% @/ o& N. U7 u$ p2 Z2 N! ^
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.1 f# y; T5 l4 I4 D
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ! Z' L  {3 o( \1 R( X
  1175. ; and reveal this password!  And of course, any users with read access to this
    4 f  f& w+ e! z' h" [0 P$ N
  1176. ; file will be able to reveal the password as well.0 I/ m* i8 f2 }. e1 v
  1177. ; http://php.net/mysql.default-password
    . V$ v- u0 Z  R0 Q4 @
  1178. mysql.default_password =
    0 L3 a+ D. z* G  J

  1179. 7 D& I, T( i& \' ~8 N0 ]
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    9 q1 G+ @0 h* R' Q- `  b
  1181. ; http://php.net/mysql.connect-timeout
    * \8 f# P( m' _" i& Q# v6 W' A5 s
  1182. mysql.connect_timeout = 602 c+ C' }! I$ k$ A( I
  1183. 5 t& |% C4 b4 J
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and& R, C( g9 ]+ _  c2 ^8 ~9 q' s! Q
  1185. ; SQL-Errors will be displayed.
    1 ]  H" n+ Q( H$ P  }2 d' l
  1186. ; http://php.net/mysql.trace-mode
    3 `, [% H% [' E
  1187. mysql.trace_mode = Off
    + D; h5 e. H, F4 J) P" i- h

  1188. / Q' K$ n' H) Y( Z$ A1 U
  1189. [MySQLi]
    ; T( m- x0 R- e; f5 y4 J; I
  1190. 9 V/ @5 G6 H( A- S
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ( K& [% a% @4 V
  1192. ; http://php.net/mysqli.max-persistent
    6 g0 u4 F* U0 O  g' T$ d
  1193. mysqli.max_persistent = -1$ {; C' f* T) g/ W' j8 ?* i7 w' a

  1194. ' S3 U. X- T' s2 w1 y$ [# K+ }3 |9 h
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements3 u8 H# y* U2 G9 J
  1196. ; http://php.net/mysqli.allow_local_infile3 q; E2 O4 P9 o2 Y, \
  1197. ;mysqli.allow_local_infile = On
    " d  h) O% V$ a( y

  1198. 1 t  N: I  f% z! m3 v) t
  1199. ; Allow or prevent persistent links.
    . S6 }& m, R1 E7 o
  1200. ; http://php.net/mysqli.allow-persistent7 F/ H1 z- v2 a6 f1 z0 _( y
  1201. mysqli.allow_persistent = On( @5 A( l) N& @9 h; j7 Z# D
  1202. ! E/ P# y) u* K% r, v8 n( Y
  1203. ; Maximum number of links.  -1 means no limit.; p6 S( f# r( m/ m. S
  1204. ; http://php.net/mysqli.max-links+ L4 C  y3 q( ]4 H2 e) s6 \% l5 W
  1205. mysqli.max_links = -1
    , o. r0 z. v+ W+ @

  1206. 4 p4 w1 N9 u2 p/ S- A4 b
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    : r2 T5 p5 o: j% s$ J
  1208. ; http://php.net/mysqli.cache_size
    9 i0 h% r$ T, S! f
  1209. mysqli.cache_size = 2000$ H- _9 X" W: M1 k

  1210. 2 j6 N. i# V& R
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    0 k/ S* E; W5 N
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    3 q, ?, W3 \. q4 x" w1 E
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look& o4 J. [+ B" t( Y+ I
  1214. ; at MYSQL_PORT.2 f+ h3 }" p: W1 _
  1215. ; http://php.net/mysqli.default-port% D+ h# W# ]) C. k8 g
  1216. mysqli.default_port = 3306
    1 N* e( [2 D+ d; _+ M/ Q# C/ Z
  1217. 9 S. u: @2 z% F: k' r
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & \( [  {( k2 C" g
  1219. ; MySQL defaults.( i4 U) U' ]' {
  1220. ; http://php.net/mysqli.default-socket
    + }. s* M7 O/ @0 r& M: m7 u% a5 \8 ~
  1221. mysqli.default_socket =: a8 f5 Y6 p% B) \! j5 T

  1222. 1 d1 L" R9 k8 L4 T
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    2 N' e2 z6 ?, F2 t% @( j
  1224. ; http://php.net/mysqli.default-host
    . b. K# e0 v2 X3 {/ E
  1225. mysqli.default_host =0 `# V3 x0 z$ U5 a2 V0 N. b+ L
  1226. 9 K) d! l( u+ F/ G0 V
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode)." H3 [" {. l. E( l! q6 g
  1228. ; http://php.net/mysqli.default-user" N5 P( H- D2 U% `! C, m
  1229. mysqli.default_user =
    . N- y2 u8 X5 ~, a" Y

  1230.   _$ U" [7 g  B/ A
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ( d+ V* v  P4 s. u3 }# e; [6 d6 `. Q
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    , X" {3 V) @/ l* v& L) k
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")  ]5 K& A: ^. k' N. u1 x, X
  1234. ; and reveal this password!  And of course, any users with read access to this
    / L; E0 @& l" J% Y
  1235. ; file will be able to reveal the password as well., \& R" @9 q( K: _1 z
  1236. ; http://php.net/mysqli.default-pw; B3 v* o8 _: T$ B  ?
  1237. mysqli.default_pw =
    , i  o& A% R, _+ X

  1238.   I1 U( B1 Y/ ~
  1239. ; Allow or prevent reconnect& ~% E; x4 C! |$ _: D
  1240. mysqli.reconnect = Off/ n6 |0 B: `! }$ i

  1241. ) c! A' K- @" j" `! R
  1242. [mysqlnd]
    0 K* [6 S4 B5 f3 |  I
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be$ x7 L2 B; F, d5 H
  1244. ; used to tune and monitor MySQL operations.! C; z; D4 @! _1 }9 ?. a' A" D
  1245. ; http://php.net/mysqlnd.collect_statistics5 c3 [- }) G  {4 h3 S1 U3 K
  1246. mysqlnd.collect_statistics = On
    # j( T' O! U2 E( n, v3 X
  1247. 9 c5 h" h* q: B% `: P' Q$ M
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be, K: e+ X+ j1 P# ]% I$ D( g# d
  1249. ; used to tune and monitor MySQL operations.
    - U5 S7 {+ w. I5 h
  1250. ; http://php.net/mysqlnd.collect_memory_statistics5 Y7 M; p! n" h/ x* f' [; N3 l( e
  1251. mysqlnd.collect_memory_statistics = Off
    7 h+ ?* M8 P) J- i# E% t

  1252. + d; z* p0 A% |0 I3 e; t/ H" S
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    " d0 k* _" b$ b% G
  1254. ; file.
    1 K$ O- Y/ P8 O* I, `
  1255. ; http://php.net/mysqlnd.debug
    1 @+ t! a9 z& Z8 D/ r
  1256. ;mysqlnd.debug =
    - v$ ~& x* K/ M% ?# _4 A! L! I2 P0 _; y
  1257. 1 \. K: T, t  Y% t1 s0 ^1 D% I, R
  1258. ; Defines which queries will be logged.7 Y; z1 m) ]# k& `1 m  J+ Q
  1259. ; http://php.net/mysqlnd.log_mask
    ; A& z( c3 J, n! ~: J
  1260. ;mysqlnd.log_mask = 0+ O0 }; }% B% q7 ?; _6 t- b5 w
  1261. ' b4 M" w5 T: u; u/ O; j
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.0 r" Y8 w' O% r1 s& K8 k$ b
  1263. ; http://php.net/mysqlnd.mempool_default_size4 c& a4 U. j) C' t
  1264. ;mysqlnd.mempool_default_size = 160001 T# L1 O! _$ n8 o8 b

  1265. + U" M/ `1 I# e! c4 o
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.4 m: I$ L7 m' M( y0 W9 D- Z
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size7 b- Y% Z  m4 B# N; A( ?' F
  1268. ;mysqlnd.net_cmd_buffer_size = 20481 A  G1 s  T0 ?
  1269. , V& ]4 k: y) ~) p; L3 [
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    % ], Z( `4 E/ [/ C; N
  1271. ; bytes.) [$ e. D1 f& ?! I
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    , [: _% t  Q2 @7 n2 Q" z# `* O
  1273. ;mysqlnd.net_read_buffer_size = 32768
    8 B, ?- z! x3 @0 D
  1274. / o4 q, o! K' }8 d
  1275. ; Timeout for network requests in seconds.
    * g: _/ h; ]  Z% i
  1276. ; http://php.net/mysqlnd.net_read_timeout5 H, K1 U1 ^2 ?: E
  1277. ;mysqlnd.net_read_timeout = 315360001 s( e) X. ^( _* y4 z9 r

  1278. 6 \" g( o9 |1 V/ H- |
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA& n; T# C- L" }' u; l: p
  1280. ; key.
    0 M( Z' i5 u9 V9 s
  1281. ; http://php.net/mysqlnd.sha256_server_public_key" w+ }6 s' ?$ a. g2 P  E
  1282. ;mysqlnd.sha256_server_public_key =! |9 P' P+ g- T( H& v9 t6 N

  1283. , z8 G; ~5 V  @" {+ @3 r$ n
  1284. [OCI8]4 O3 B5 o/ `: t$ U$ p' p% g. {

  1285. . i6 S) r% e% x. P& m/ z8 @
  1286. ; Connection: Enables privileged connections using external
    9 V# o" Z6 o- o: s/ w
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    9 {, J8 A$ h1 v
  1288. ; http://php.net/oci8.privileged-connect
    : e4 S( ~$ [: ?( ?  m" o) ^
  1289. ;oci8.privileged_connect = Off; Q/ N' {6 t" Q5 v5 u3 o* B
  1290. & @1 N) F7 V. f& S6 J
  1291. ; Connection: The maximum number of persistent OCI8 connections per7 M- M* ^/ @( r6 D+ a
  1292. ; process. Using -1 means no limit.
    4 r  {& ?9 y/ R$ l( @
  1293. ; http://php.net/oci8.max-persistent
    ; X% n- N( C( M9 G
  1294. ;oci8.max_persistent = -1! t/ I; J( U' X( n1 D5 [1 s: s3 D, v

  1295. 6 Q: `" A6 ~7 [
  1296. ; Connection: The maximum number of seconds a process is allowed to) v( M: b8 D# Y$ I6 D
  1297. ; maintain an idle persistent connection. Using -1 means idle
    9 H- P% z/ n/ ^+ l% `7 N- f% h" o, m! q
  1298. ; persistent connections will be maintained forever.. Y  x1 d7 d% q' E
  1299. ; http://php.net/oci8.persistent-timeout( D" W  V% L1 I3 ?6 C9 M7 P5 q) J
  1300. ;oci8.persistent_timeout = -1
    ( i* E6 r; W0 T0 n: H6 L

  1301. " u, O/ u- H! c$ B" U) t: _
  1302. ; Connection: The number of seconds that must pass before issuing a& ~7 ~) @; g% u4 |" [6 z% t
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ) l: k3 ^, ], Q' s0 Z
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ( D, c, {1 [/ Y/ S  B
  1305. ; pings completely./ \% M1 m) X3 {( X0 P  p
  1306. ; http://php.net/oci8.ping-interval
    / N& m+ G$ c* @2 n0 q  S
  1307. ;oci8.ping_interval = 60
    , P5 I& }9 S4 w. X

  1308. * a6 C  @+ `9 u# b* u
  1309. ; Connection: Set this to a user chosen connection class to be used
    & o5 O! Q9 y9 U0 s2 ?: M1 I
  1310. ; for all pooled server requests with Oracle 11g Database Resident0 g% W+ O1 R& j' @& ]$ ^) \
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    % _4 Y/ n6 ]- E5 [: y" d
  1312. ; the same string for all web servers running the same application," Y! A. L, a3 w7 {. K3 g
  1313. ; the database pool must be configured, and the connection string must
    / h$ `! l1 z9 w6 u
  1314. ; specify to use a pooled server.* b3 F; @  X: P
  1315. ;oci8.connection_class =
    * ~2 h4 V) {! V9 w; P: x- D
  1316. 7 s# j1 M+ H% d; ~; Z
  1317. ; High Availability: Using On lets PHP receive Fast Application' M* M( o" H- K  F
  1318. ; Notification (FAN) events generated when a database node fails. The  ^( ?. ~: y) ?" p! f9 ^3 J& b/ M) ~5 _
  1319. ; database must also be configured to post FAN events.) N1 }# \3 J* ~6 ~* D
  1320. ;oci8.events = Off4 S0 {9 O; j2 I9 l$ e

  1321. 2 p; I  H. v# P( C
  1322. ; Tuning: This option enables statement caching, and specifies how: n+ M/ E* C6 V: f
  1323. ; many statements to cache. Using 0 disables statement caching.
    2 x, K2 R3 A: C. c, W
  1324. ; http://php.net/oci8.statement-cache-size: c& b/ z4 a: g" \( v0 J5 X
  1325. ;oci8.statement_cache_size = 208 j; h( D( ^, T; i

  1326. 6 V8 y0 w, P, u$ j  w* |$ e
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    * _1 V2 V  F  [
  1328. ; rows that will be fetched automatically after statement execution.$ B  w4 z; z( s3 a' M$ @
  1329. ; http://php.net/oci8.default-prefetch
    3 u3 L/ B, j" x- J% t; k) u# G
  1330. ;oci8.default_prefetch = 100. b1 G- S! U$ J, w  @0 c

  1331. " `. _/ Z/ O0 g' b
  1332. ; Compatibility. Using On means oci_close() will not close! ^( n8 W4 R& w0 Y5 \  u8 R+ g
  1333. ; oci_connect() and oci_new_connect() connections.5 D3 ?7 b% g8 P5 s
  1334. ; http://php.net/oci8.old-oci-close-semantics
    ( L0 K; \" t& ]; Q0 Q$ ?( n
  1335. ;oci8.old_oci_close_semantics = Off
    , Y; |! n+ d' K$ C& b

  1336. . v- s% Q. N- _+ e2 f3 F; u
  1337. [PostgreSQL]
    5 ~8 r2 N$ x1 Q8 b, [) t3 [" l
  1338. ; Allow or prevent persistent links.- m: T3 |& w- k# T8 o/ m( B
  1339. ; http://php.net/pgsql.allow-persistent/ P3 N+ i0 k7 Y5 @
  1340. pgsql.allow_persistent = On6 F0 g7 o" m; K+ a& {% Y

  1341. / b" Z& D; O% P6 b" k
  1342. ; Detect broken persistent links always with pg_pconnect().
    6 J! o- I: M( F( r7 d+ |
  1343. ; Auto reset feature requires a little overheads.
    % g; V7 ~! a* y4 p  @9 {" e
  1344. ; http://php.net/pgsql.auto-reset-persistent
    + d# o- O7 {1 M" j" ]
  1345. pgsql.auto_reset_persistent = Off
    0 H' L) x1 F* Z% S4 [+ h9 x5 u# t
  1346. " ]# Z8 K1 A+ V% R# s4 M# L% Y
  1347. ; Maximum number of persistent links.  -1 means no limit.+ Y/ j5 E, G) r9 q5 `- J
  1348. ; http://php.net/pgsql.max-persistent
    * c, c6 j: W. B- f
  1349. pgsql.max_persistent = -1$ X& X  o. v, B. o" a, ?& r

  1350. $ O- @( Z" J6 v9 s* A2 @$ d
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.8 [) @) f- Y; ?" |% u
  1352. ; http://php.net/pgsql.max-links
    3 {2 P- m0 N. e: J; r9 ]" n( P) P
  1353. pgsql.max_links = -1; C& C4 W; ~) y

  1354. 2 y1 Q% |; `+ b! ]& P: A
  1355. ; Ignore PostgreSQL backends Notice message or not.# T4 c7 m9 n  J( G3 d
  1356. ; Notice message logging require a little overheads.
    8 s" y/ c  [; T- e3 a
  1357. ; http://php.net/pgsql.ignore-notice, p+ J$ ~; H% W+ d4 R4 v0 P
  1358. pgsql.ignore_notice = 0
    . _) ~4 a1 P. ?7 D7 j. T
  1359. + `$ @* R2 a' F
  1360. ; Log PostgreSQL backends Notice message or not.
    4 g0 H" D- @" B; ^. `3 {
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
      g2 r4 f" B* D# V5 M3 Y7 e  _
  1362. ; http://php.net/pgsql.log-notice% J4 e( ?* T, |) I7 D
  1363. pgsql.log_notice = 0
    8 H) F! N$ ]% m( @) Z& l& o
  1364. 2 |% C* D$ @) v
  1365. [Sybase-CT]
    & A( L! t3 o* c# d
  1366. ; Allow or prevent persistent links.7 c( j3 @  y' O( S
  1367. ; http://php.net/sybct.allow-persistent
    : I) e. @% ~9 _
  1368. sybct.allow_persistent = On& r* E' N) Z% S4 f* @1 |

  1369. ; m; k; o0 N8 A# B
  1370. ; Maximum number of persistent links.  -1 means no limit.
    / j/ r% i9 C" J0 C7 b/ k, ]2 Q0 }
  1371. ; http://php.net/sybct.max-persistent6 t  a& H% N; I. L' [8 U" a4 i  B4 u
  1372. sybct.max_persistent = -1
    6 H; _. j! n' Q& q) @& z
  1373. 0 ?) r. F% p: V- s& q$ {
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 D% u' N$ E+ [# _! J- k/ C6 o
  1375. ; http://php.net/sybct.max-links5 g9 y- n# g( x/ |' @
  1376. sybct.max_links = -18 r0 F: Y/ I& {) F& I7 O
  1377. + M2 X$ ~5 m8 d
  1378. ; Minimum server message severity to display.
    2 z# a. b, q5 k2 p/ [" O6 j
  1379. ; http://php.net/sybct.min-server-severity
    3 |0 g3 N1 U  u- z8 ?* [
  1380. sybct.min_server_severity = 10& j% h, R9 _3 x+ h% t: K  y8 o; S
  1381. ( E6 ]. {+ I% Q! b
  1382. ; Minimum client message severity to display.& ]' m0 P& d9 U4 E* Z" S" n
  1383. ; http://php.net/sybct.min-client-severity
    % _% D; K: n6 _& p1 a, u; s
  1384. sybct.min_client_severity = 10
    & w4 d) E$ _7 H6 I6 x

  1385. # J4 R- X. T7 i& F
  1386. ; Set per-context timeout1 N: r# ^* @) h1 o5 B
  1387. ; http://php.net/sybct.timeout$ e: `6 ?4 h$ x% k& a) c! h
  1388. ;sybct.timeout=! a1 L' `% Q- l" N( J

  1389. $ l0 Q' f4 |3 l2 \
  1390. ;sybct.packet_size' c: m. `* R0 q4 Z: r5 X

  1391. , x2 l( k/ D: r
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    ' R5 b6 W7 B, O$ F; i+ P  |% N
  1393. ; Default: one minute
    / R2 v! p2 J6 b# V# e+ V
  1394. ;sybct.login_timeout=
    , ?" L9 [' A' z% `# p
  1395. ) @5 Q, E9 p) `0 U
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ' D( h1 m3 h; b" w
  1397. ; Default: none8 ~0 s5 ?5 B9 _
  1398. ;sybct.hostname=
    ' w: l2 v9 J7 x9 b8 f0 ?. a
  1399. - b, }$ l: a4 Z5 X) k$ W; X& w
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    7 J# J) ^" Z8 e, t/ ^/ N; D0 ~
  1401. ; Default: 0
    1 f4 G1 d2 s+ i) t2 M4 H
  1402. ;sybct.deadlock_retry_count=, i; a; g* F% \3 m# _

  1403. - h, ?# H+ b2 D* Y$ \
  1404. [bcmath]9 |# h) @- W* ~9 s/ T
  1405. ; Number of decimal digits for all bcmath functions.  A  A7 G% h8 |3 s% v
  1406. ; http://php.net/bcmath.scale" R2 v$ n& F2 s- S' u; P3 I
  1407. bcmath.scale = 0$ L5 L8 f& T- F9 z6 h; C! _1 S

  1408. / `( ^9 I" Y2 ~; ?
  1409. [browscap]: P+ u* ]# x8 ^8 D$ @
  1410. ; http://php.net/browscap9 R/ V/ ]! t7 Z
  1411. ;browscap = extra/browscap.ini
    % N1 I$ j1 l$ P3 u
  1412. - M& r" ]6 }0 P4 K
  1413. [Session]
    . r# U, i: v9 [# A
  1414. ; Handler used to store/retrieve data.
    4 j3 q' m7 _3 o$ M
  1415. ; http://php.net/session.save-handler9 C! t; M8 W7 e' f  p; l  ~
  1416. session.save_handler = files
    5 o% O0 @$ |: F! |# t& S1 X

  1417. : [: a& m0 r4 [( `
  1418. ; Argument passed to save_handler.  In the case of files, this is the path3 f' z+ E# P7 R  M, y& `$ j
  1419. ; where data files are stored. Note: Windows users have to change this
    8 ~9 z5 _/ z$ v7 o1 [5 {
  1420. ; variable in order to use PHP's session functions.) o6 q/ p" X9 P" a# s# u" w" u4 ]
  1421. ;1 ?9 `( G4 O7 p$ Q' I8 [* i
  1422. ; The path can be defined as:
    . Z: r3 F/ Y' Q- C+ G
  1423. ;' l3 k! x) i& D* R  J- e7 h: o, h  x
  1424. ;     session.save_path = "N;/path"
    ) j* c/ e# ]0 J9 u3 z4 V* ?+ y
  1425. ;
    * w  Q! {/ a: r9 c6 ^
  1426. ; where N is an integer.  Instead of storing all the session files in$ X) c6 B8 c8 Q
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    ; @( P" q1 @- _* F
  1428. ; store the session data in those directories.  This is useful if2 |8 F0 o5 F; @6 b, v
  1429. ; your OS has problems with many files in one directory, and is
    3 e# }+ d& O! P, B1 N! h& _8 {4 Y
  1430. ; a more efficient layout for servers that handle many sessions." I9 c+ L9 {6 v
  1431. ;" i3 `& M+ A6 o
  1432. ; NOTE 1: PHP will not create this directory structure automatically.- A1 o0 a! z# i4 r
  1433. ;         You can use the script in the ext/session dir for that purpose.
    & ]/ B; D4 V: d- y3 z" ]
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ) [3 Q* _$ |! c) o
  1435. ;         use subdirectories for session storage6 w2 ?  y- e* V1 J4 p& O% I# L
  1436. ;" X5 B0 |& k1 R4 Q, s# \% d
  1437. ; The file storage module creates files using mode 600 by default.
    " `) {! P. [7 [6 n: K% L
  1438. ; You can change that by using
    - `+ ~) {4 ^' F7 J5 Y- {
  1439. ;
    ' n& J4 b! N/ |( I
  1440. ;     session.save_path = "N;MODE;/path"
    2 \- l. T, Z* ?" }+ ^0 E
  1441. ;
    5 I+ Z& u% a; R; T
  1442. ; where MODE is the octal representation of the mode. Note that this
    , X$ ^# J8 t2 _7 X/ ], w7 j: O! h
  1443. ; does not overwrite the process's umask.5 Z) X. o# y7 |7 V
  1444. ; http://php.net/session.save-path* e3 s3 }3 w7 g% |0 v" X$ g! g
  1445. ;session.save_path = "/tmp"
    ! t8 j! P9 B% K( n5 A0 j+ U# V
  1446. ( r$ g! R3 \. k" h" l5 M, a
  1447. ; Whether to use strict session mode.
    % C& ^& k- i& C% p: w7 J8 r
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate1 C4 z7 j/ q+ ~
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects! i7 n+ z4 K' ~
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ' }: Z$ u/ F( {
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.. x' T& i- O; u. Y) |$ b1 W
  1452. ; https://wiki.php.net/rfc/strict_sessions0 {: s1 p' s* x7 w* D4 g+ n& O
  1453. session.use_strict_mode = 09 u: ^$ F' W4 ~: f$ `0 F, S1 [
  1454. . X8 X5 `5 n: J
  1455. ; Whether to use cookies.( V' y% H; q+ p: N3 z5 j+ @
  1456. ; http://php.net/session.use-cookies
    & ^% f7 c  n2 W% y
  1457. session.use_cookies = 1
    5 D) K! v. x; `
  1458. ' g" j4 {7 L, u: e1 N; _
  1459. ; http://php.net/session.cookie-secure2 a: z1 H4 P# H- P1 C2 f5 j
  1460. ;session.cookie_secure =6 c' D2 o0 C) I) w

  1461. 0 W, K" _- N/ `
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining7 a2 @# T) t0 ?6 T" H9 |! T
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    3 v, c  O1 ]8 }1 r' D& |
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ( F8 |: E* g2 X
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    - I: w7 l/ o8 q$ G1 f3 ~. V: m9 @% }
  1466. ; http://php.net/session.use-only-cookies/ b% a0 Y9 o2 r& e& H
  1467. session.use_only_cookies = 1
    ' F* V+ ~3 v7 a8 X, e. Z1 o

  1468. 6 n$ h6 {2 X8 B: u) f* H' Q9 F
  1469. ; Name of the session (used as cookie name).
    , A( i7 o0 _- F
  1470. ; http://php.net/session.name5 y, C! X& [9 g# {. D
  1471. session.name = PHPSESSID
    # Z  u3 T6 e  Q" B* l$ k* T
  1472. 6 m6 ~* I# w7 G" X3 i* I8 O
  1473. ; Initialize session on request startup.1 W$ i. e' N* o0 }# S
  1474. ; http://php.net/session.auto-start
    - g6 h; p$ d- u6 o
  1475. session.auto_start = 0
    ; B: `, V$ u0 S$ L
  1476. 5 O5 R$ m4 f0 q* W2 Z$ X
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    - y8 v1 T4 u! N/ V
  1478. ; http://php.net/session.cookie-lifetime' f$ h( g0 @" U( @
  1479. session.cookie_lifetime = 0
    / V5 w- m) w4 y
  1480. / t1 Q6 t4 g4 _
  1481. ; The path for which the cookie is valid.
    ; _2 p4 D$ G+ K4 |7 p4 H# n+ K, ~
  1482. ; http://php.net/session.cookie-path
    3 z+ J' O* ~1 _/ w5 o( s
  1483. session.cookie_path = /
    7 N, u2 ]8 H. a" G$ Z' p) D  ]9 T

  1484. 0 U- g6 J! W4 o; @- P1 _4 m
  1485. ; The domain for which the cookie is valid., u7 X8 S3 `. H  L' Q. G2 }' G
  1486. ; http://php.net/session.cookie-domain
    & _( k8 }& X3 _+ f# c
  1487. session.cookie_domain =
    ; G( t8 W/ E- X* _5 L( z
  1488. - e2 M" a4 R: e  D3 y# t( v
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript., i! n4 n! m' ^: v4 v
  1490. ; http://php.net/session.cookie-httponly/ e) X4 F7 _- ?' y
  1491. session.cookie_httponly =+ _8 v/ f/ H" Q- J' Y9 g5 o

  1492. 1 z$ l% [- G% x# h+ _
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.- s# A" p8 ]' _& P$ w
  1494. ; http://php.net/session.serialize-handler- l5 G5 ]# v3 ]2 ~$ [4 t! }
  1495. session.serialize_handler = php
    0 U3 j! T" \( X: D, b; P

  1496. * M. i  a0 \+ W3 ^' {
  1497. ; Defines the probability that the 'garbage collection' process is started
    - I: F+ g9 @- y1 e
  1498. ; on every session initialization. The probability is calculated by using  P9 E# l1 s& J9 p+ b: ^
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    * z0 [; g* @7 T' j3 A" _# _% N# ^
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    % J7 B6 h" B) i
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance% C% ^  O/ Q9 K* j) R, C2 b, d
  1502. ; the gc will run on any give request.% ~9 W. w$ g) ]8 ~& ]
  1503. ; Default Value: 1; P- Q8 W9 o$ n9 L
  1504. ; Development Value: 1
    - T) M) ^) h' Y! H
  1505. ; Production Value: 1
    ! E. K5 ]' P; ~0 ~3 d8 Z1 U
  1506. ; http://php.net/session.gc-probability2 I; w) \3 M6 H
  1507. session.gc_probability = 1
    + v$ R" f: V5 v/ _5 @& S/ t

  1508. " C, \$ v! S* A) h" e  ^
  1509. ; Defines the probability that the 'garbage collection' process is started on every% p4 U+ v( V, m. t" G3 y( S
  1510. ; session initialization. The probability is calculated by using the following equation:8 o7 h5 Q. o# u& E2 T! }, m
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and% }9 J1 P% K) o( Y  V# |6 }9 J
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    7 j" @8 g! z- N: o& P+ y3 k
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance4 ?' d+ `; s) y# X# Z5 H) |* p$ O: v
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 u9 _* }, h. i9 s, ?% |6 t
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ( M! r, Y0 n  |6 G7 ~5 `
  1516. ; this is a more efficient approach.
    6 d7 [+ y2 E3 g) X3 S8 z. ~
  1517. ; Default Value: 100
    8 s$ ]4 o* s- Q, P
  1518. ; Development Value: 1000
    : J: T; a8 o% h7 q
  1519. ; Production Value: 10005 {! i( J% O8 b/ j# f
  1520. ; http://php.net/session.gc-divisor% Q+ s) H' i0 i9 B8 M  i, z* L7 e) c
  1521. session.gc_divisor = 1000
    5 B4 r8 ~8 Q' |
  1522. ! T  E  B! A9 ^; }/ z3 B) b* X
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    0 J. y# m& s; K# [
  1524. ; cleaned up by the garbage collection process.
    0 S/ j; K: r! L) r8 g- P
  1525. ; http://php.net/session.gc-maxlifetime' F; t% k- }" b5 ^6 }' ^
  1526. session.gc_maxlifetime = 1440
    " ]* B0 o; @( y6 c& x  I2 L5 n
  1527. % i+ I+ @* h$ j( ^( H) |! p: A
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    / u, V% {3 q7 d- u
  1529. ;       (see session.save_path above), then garbage collection does *not*
    + P; L, [4 H# X4 Z. \
  1530. ;       happen automatically.  You will need to do your own garbage6 V8 [% H+ j3 N/ E$ H1 V
  1531. ;       collection through a shell script, cron entry, or some other method.2 ?- g) o% C5 E) X6 |
  1532. ;       For example, the following script would is the equivalent of$ K1 m( H4 w; k7 q# `3 A" F  O3 T. C
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    , u1 C) n" ?! X0 ?7 Y
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm. c; o5 C  j5 I( n# n( V9 s
  1535. % l) v4 ]0 n( w; ^5 \( ?. O' k  t4 d
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    0 ]: U) W! k0 K5 I  W0 J: b
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    1 P1 G7 m6 O! I: M
  1538. ; considered as valid.
    , a7 w% _; q5 V1 s1 g& k
  1539. ; http://php.net/session.referer-check1 |) h' P" x% A+ S! q: v
  1540. session.referer_check =& ?0 H' f7 \2 `* t0 h3 F  |

  1541. - [( C1 W$ r9 B6 n+ e
  1542. ; How many bytes to read from the file.8 n( G. O& M5 [9 `7 c8 D" ]+ g
  1543. ; http://php.net/session.entropy-length3 F9 U8 d; q* \. n5 g4 a9 Q3 ^+ b
  1544. ;session.entropy_length = 32
    4 T! ?6 @- K/ i) V  n

  1545. 7 F( Y; S! f) I2 y7 F2 R
  1546. ; Specified here to create the session id.6 _9 y5 U- G1 R
  1547. ; http://php.net/session.entropy-file
    & b' B6 V  d0 |6 b( G; w* s" O
  1548. ; Defaults to /dev/urandom
    " i: g: ?& J1 t# L2 ]% n
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    . J/ r  x1 C  P% S1 C
  1550. ; If neither are found at compile time, the default is no entropy file.( \- O" W. T: ?' p( ^0 `+ x& v' G  l
  1551. ; On windows, setting the entropy_length setting will activate the
    / a5 o; Z/ H9 D7 a0 {4 [
  1552. ; Windows random source (using the CryptoAPI)3 t4 }+ U  y2 \7 I- R, Q4 ?3 ~
  1553. ;session.entropy_file = /dev/urandom
    " N) ^* \- k$ A+ p& T8 L+ S
  1554. % Q! e  }& T' I# |( b& v# o
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    * a" l- i( \& v) ^
  1556. ; or leave this empty to avoid sending anti-caching headers.( p. Y% K7 [1 l6 X6 q! h
  1557. ; http://php.net/session.cache-limiter
    8 ~0 ~# Z( B: P, Z( |
  1558. session.cache_limiter = nocache
    ! K, A2 D2 t8 v6 U* H4 \/ ~! D$ b" O
  1559. , T4 C! O, t" q- q8 G# G
  1560. ; Document expires after n minutes./ Z5 u- z+ @" h4 N6 ^
  1561. ; http://php.net/session.cache-expire! V# H4 g& Q/ j  R8 ~
  1562. session.cache_expire = 180
    : @2 n& ~8 T5 Q, q
  1563. $ ^: _+ z7 P! p# d2 B
  1564. ; trans sid support is disabled by default.! c, j7 R; y+ F3 r( X
  1565. ; Use of trans sid may risk your users' security.* w# t( r1 v* O5 d! m0 @  q
  1566. ; Use this option with caution.& \! t9 h3 K/ y8 |, g
  1567. ; - User may send URL contains active session ID
    4 B' C* \8 F4 J
  1568. ;   to other person via. email/irc/etc.
    ; |- h7 e' r. [+ g$ B
  1569. ; - URL that contains active session ID may be stored
    + q4 p! U! {3 X  i( m, M
  1570. ;   in publicly accessible computer.- A6 _$ B8 S* z& c
  1571. ; - User may access your site with the same session ID
    , v$ G) V2 `5 a3 j1 t9 D- [, ~3 f
  1572. ;   always using URL stored in browser's history or bookmarks.6 y0 J9 F- J" U2 j0 `" Q) Z$ Y
  1573. ; http://php.net/session.use-trans-sid
    8 Z! ~9 d: F" K$ {; R8 a
  1574. session.use_trans_sid = 0+ t9 o8 {8 F4 G

  1575. 8 W; p! A% S' u; `
  1576. ; Select a hash function for use in generating session ids.# u* W" i: s# k1 z, V, A7 ~
  1577. ; Possible Values, _$ q+ p, s6 X4 q2 J3 Q
  1578. ;   0  (MD5 128 bits)
      O! l% E3 o( ~9 c' z. V0 w2 `* p/ \
  1579. ;   1  (SHA-1 160 bits)
    , J. t0 \2 B) Q9 L
  1580. ; This option may also be set to the name of any hash function supported by( _7 `- @% E+ U
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()7 |0 v2 k* j- z7 Y9 C4 A
  1582. ; function." x9 i5 o) ^3 l* a
  1583. ; http://php.net/session.hash-function
    $ ^3 h) {8 y1 G
  1584. session.hash_function = 0
    4 z" G$ |: x- \0 k% u) B; d

  1585.   R! J6 [+ d. b& c
  1586. ; Define how many bits are stored in each character when converting9 H0 n3 _: Y; v' o
  1587. ; the binary hash data to something readable.9 S# E8 j6 V7 {: v; U1 v
  1588. ; Possible values:
      b6 Y: X7 H- \( a; s/ N  X
  1589. ;   4  (4 bits: 0-9, a-f)0 t2 ~! `8 |3 U: C2 \
  1590. ;   5  (5 bits: 0-9, a-v)0 u8 u! }! Q" b& b" f
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    & O* e' O) n- N2 M8 ]
  1592. ; Default Value: 46 _( k$ \9 W) q0 X9 b
  1593. ; Development Value: 5
      F; p" b0 }# u/ c! p7 G
  1594. ; Production Value: 5' g7 J' w" Z$ c8 U" ^+ f" R$ W
  1595. ; http://php.net/session.hash-bits-per-character
    ; Z) k* f- `# g: F# x
  1596. session.hash_bits_per_character = 5
    3 y) N/ V6 R7 w1 o; q' R+ w2 Q

  1597. 6 R5 b( n: l1 w; C  o6 B
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.- a& p/ ^, r5 ?. `0 R5 L2 X
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    / F6 ?4 G( E  K% i' e
  1600. ; add a hidden <input> field with the info which is otherwise appended, d- x  E" C; v
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.4 N  ^1 T7 V3 g( b# J
  1602. ; Note that all valid entries require a "=", even if no value follows.
    / l4 D3 f* N5 ~, H$ q
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    5 m% o5 I5 n6 J0 k+ z
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  `. Q& v& k1 X
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  x: K5 j8 [: t; E7 {: z
  1606. ; http://php.net/url-rewriter.tags
      q- A9 D' u" O4 n& u, t/ O
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"/ {: Q9 P! \: V* z* J- Y+ v3 ^( L
  1608.   F' M  W# `2 T  a# [* n
  1609. ; Enable upload progress tracking in $_SESSION
    ) l7 [2 q2 Z: D& g, x4 y, X# b  j  H4 q
  1610. ; Default Value: On  n+ F# D: @+ Z
  1611. ; Development Value: On) y6 {% \. {' r" j5 c: L2 f
  1612. ; Production Value: On
    , M0 Y' o, [, M# E3 j  p9 D3 M
  1613. ; http://php.net/session.upload-progress.enabled3 v# ^# ^, v( U, {' s+ Q- h
  1614. ;session.upload_progress.enabled = On5 {4 ^, b" Q1 d1 a7 ~7 \4 Y8 \4 S
  1615. ( _. \' N/ L' i' T6 ^
  1616. ; Cleanup the progress information as soon as all POST data has been read; r9 v5 U9 T9 P, a* w$ b$ c7 N
  1617. ; (i.e. upload completed).
    ; p9 @5 a% K) E+ |% P
  1618. ; Default Value: On: ?# v7 S; r% D9 I) H% K
  1619. ; Development Value: On( h( ^( j7 C8 W5 P
  1620. ; Production Value: On
    ! P+ ?7 }1 r# ^9 z' X; ?9 r, v
  1621. ; http://php.net/session.upload-progress.cleanup
    $ l/ x4 i. T6 i# p/ O$ v0 R; R
  1622. ;session.upload_progress.cleanup = On# b" y& @# e$ W8 D# n

  1623. ! d: n$ h- l. [" R/ G
  1624. ; A prefix used for the upload progress key in $_SESSION
    , b, W8 K; ?1 h9 M  X+ w$ S9 x+ I
  1625. ; Default Value: "upload_progress_"  P% p% q# }" W& y; d9 |  |$ H
  1626. ; Development Value: "upload_progress_"0 Z/ `- P- k8 G! ?7 l8 k
  1627. ; Production Value: "upload_progress_". E3 }0 }' T3 b8 _
  1628. ; http://php.net/session.upload-progress.prefix; J; T2 P6 p& Z4 J3 r4 S0 X7 L: B
  1629. ;session.upload_progress.prefix = "upload_progress_"" O+ d; H& C4 e

  1630. 8 H* ?  b7 G# v% J: M* x; j8 j- p8 \
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    1 f& p) k& K$ W1 e9 T7 N# ^: Z
  1632. ; containing the upload progress information% O% G3 U4 O* |! l
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 ^( r  \9 b6 z* J( F2 E
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS". V1 Q$ K+ k* t3 U$ F
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
      B: I3 n: U* s# X4 r1 E
  1636. ; http://php.net/session.upload-progress.name! J* \5 W% v& ~0 W
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    / @2 A( m0 L1 P

  1638. * r! Y4 {# w( }# I/ b
  1639. ; How frequently the upload progress should be updated.
    5 b, x/ Q6 l5 O! `  B+ X0 W
  1640. ; Given either in percentages (per-file), or in bytes
    ) r) g. u4 r- B7 F) }: N
  1641. ; Default Value: "1%"
    6 U% _- ~1 r" [# b
  1642. ; Development Value: "1%"
    4 `! Z7 @" d# i; z+ ^& R
  1643. ; Production Value: "1%"
    9 I4 r9 n& b: S# K# K% `6 |" ]  }
  1644. ; http://php.net/session.upload-progress.freq
    , {& ^2 }& ^6 C
  1645. ;session.upload_progress.freq =  "1%"
    1 S; H; s  Z/ r! y  Z* s8 D5 g* r

  1646. ! l. W- s' C* s8 F" d; ]
  1647. ; The minimum delay between updates, in seconds& W) o0 ^$ H6 ~) e/ Y, v( s
  1648. ; Default Value: 1
    8 g3 T2 J5 w) k7 T$ j9 M; G
  1649. ; Development Value: 1/ C# ^5 U! z' _8 ^
  1650. ; Production Value: 11 y4 f0 w9 l% t! h7 U
  1651. ; http://php.net/session.upload-progress.min-freq
    1 j. y8 q& K! F( B1 N2 w" S
  1652. ;session.upload_progress.min_freq = "1"
    0 k% }& X4 u9 z
  1653. - O; [: q/ k& u$ A6 ]+ D* K
  1654. [MSSQL]
    4 k- f" l  k' l" [
  1655. ; Allow or prevent persistent links.) l7 y2 h* \+ p, m" U
  1656. mssql.allow_persistent = On* k8 Q% @$ A5 D! N6 U) ]9 F
  1657. . d7 Z$ w# q0 s
  1658. ; Maximum number of persistent links.  -1 means no limit.
    " K7 L  k" \7 b6 L( F6 M8 ?6 |
  1659. mssql.max_persistent = -1" `% L* |  U: ^- o

  1660. , d) I4 V0 g5 H* S& l
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ; C! W1 s8 G( N9 n3 R
  1662. mssql.max_links = -1
    8 S  Q) w( a! s+ J) a
  1663. - l- [; w" t5 w- `  v- _
  1664. ; Minimum error severity to display.
    - H1 ~" K8 \% n9 k
  1665. mssql.min_error_severity = 10$ G5 H( K: s: K6 X( U) t' \

  1666. / l) L  E/ [0 E5 V
  1667. ; Minimum message severity to display.- t3 Y7 E7 y4 e& L! a: X
  1668. mssql.min_message_severity = 10
    4 ~- \- t5 i" ~9 Q8 L- f

  1669. ' Z  o. B4 n8 Z' \% s, s
  1670. ; Compatibility mode with old versions of PHP 3.0.
    9 I8 B6 w( O0 n" L! ^, I
  1671. mssql.compatibility_mode = Off$ _, R7 O) r6 r% i; B
  1672. 9 k, b% Y2 g/ E4 I# C! i
  1673. ; Connect timeout
    . j2 [4 i- f: Z: }* c
  1674. ;mssql.connect_timeout = 5
    ; J$ |- g: \5 b. P, N
  1675. , T! b2 t7 w0 `
  1676. ; Query timeout# d# q2 F; _2 E% _! n
  1677. ;mssql.timeout = 60$ ]( A  W" V4 U! C! Q

  1678. : u. L/ ]9 s! y  C9 `3 i
  1679. ; Valid range 0 - 2147483647.  Default = 4096.- F) k( v5 [5 g
  1680. ;mssql.textlimit = 4096
    , g: b$ [0 c: g7 z
  1681. 3 e7 Z( d$ F' `  S& {! G0 I+ a
  1682. ; Valid range 0 - 2147483647.  Default = 4096.9 \3 q+ J; \+ l% {: F  S
  1683. ;mssql.textsize = 4096
    4 W/ p; i. Y# Z' \  S& K  Y# G) s+ {0 o  D

  1684. % e1 x" j8 U1 h+ A# K
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    + `6 T5 \* v# ^, E& a
  1686. ;mssql.batchsize = 0
    1 g* `* G0 F; p" T; s8 M  {

  1687. & U4 c  J3 `. H( y8 M
  1688. ; Specify how datetime and datetim4 columns are returned
      F! j! i/ c! m. z
  1689. ; On => Returns data converted to SQL server settings
    5 m4 P, Y8 S5 V; l& Y- z4 k0 M" n1 w
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss1 W+ K" T; F0 K- E) a( \5 \
  1691. ;mssql.datetimeconvert = On
    # R% e4 ]5 C; g1 d
  1692. - R2 ]+ C8 _3 k3 l! D
  1693. ; Use NT authentication when connecting to the server
    ; P8 Q$ B; A+ i& m0 I4 ?
  1694. mssql.secure_connection = Off2 W, N. e+ F1 ~- l6 \& d$ A: f7 J
  1695. - g1 `" ?2 c9 k  }
  1696. ; Specify max number of processes. -1 = library default$ O# u( ?) z/ b- X+ n: ]
  1697. ; msdlib defaults to 257 ?8 O9 t) _* l, a4 [
  1698. ; FreeTDS defaults to 4096. Q. u6 F% A) w% C: B$ I- X
  1699. ;mssql.max_procs = -1
      M' X( ^: g+ c/ b! v
  1700. 7 B; ]- j, q- c# D
  1701. ; Specify client character set.$ D1 n/ _1 d% ~9 Q# k& z
  1702. ; If empty or not set the client charset from freetds.conf is used$ C8 S) \7 @- x7 R7 f# [+ F
  1703. ; This is only used when compiled with FreeTDS
    3 l9 m) m( ^' O) t# q8 Z
  1704. ;mssql.charset = "ISO-8859-1") v7 q- b* e; t  m$ @

  1705. & \% s% n8 @7 l
  1706. [Assertion]
    4 z8 y7 N8 t/ Z' H
  1707. ; Assert(expr); active by default.
    1 l9 X: H# `4 \( w
  1708. ; http://php.net/assert.active
    6 r$ t) q0 Z4 C9 j) g9 `: w0 M
  1709. ;assert.active = On
    6 y8 K! [  O7 ]6 G
  1710. , W6 o. w% ]6 h% B. i  H8 n3 z1 D
  1711. ; Issue a PHP warning for each failed assertion.  v: i1 l( N3 P4 q
  1712. ; http://php.net/assert.warning& I' }$ j& o7 {. r
  1713. ;assert.warning = On$ J! A+ G; Q- m/ C7 i& r

  1714. , X: r8 }. a/ d
  1715. ; Don't bail out by default." @/ m6 M% _+ f
  1716. ; http://php.net/assert.bail$ Q8 J% S: Y  m3 U! v7 b+ s% k
  1717. ;assert.bail = Off5 |* h$ V3 h6 _+ y
  1718.   s0 ^- d- O  O! \
  1719. ; User-function to be called if an assertion fails.
    3 ~; i9 z" _0 \2 {5 `% F: J% M: w
  1720. ; http://php.net/assert.callback2 U) a0 t4 l4 ?: X, n- n
  1721. ;assert.callback = 0& n! Q9 g, e# |2 G: I! E* x
  1722. $ I5 X; A/ M! j5 [1 I7 \
  1723. ; Eval the expression with current error_reporting().  Set to true if you want0 F3 L% e9 q+ A7 o9 ]$ x
  1724. ; error_reporting(0) around the eval()." g# n% L5 o& U8 _5 i2 u* M
  1725. ; http://php.net/assert.quiet-eval0 o/ `8 [5 {! y
  1726. ;assert.quiet_eval = 0* ]) g! R  ~* L1 k  ]% U0 w$ R' N
  1727. 0 C9 ]6 s) o4 z6 t# I1 d& i+ z% w
  1728. [COM]
    1 B" u& i1 {; m/ ]% _9 Q
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    " S% A( j% g5 X
  1730. ; http://php.net/com.typelib-file8 l7 h% K- }, o+ e- B, b# P" p
  1731. ;com.typelib_file =
    7 a& u8 E, Z% G8 w$ R3 i

  1732. % i4 K3 x( b. i2 ?. e0 e
  1733. ; allow Distributed-COM calls
    0 |5 M9 m) f& S6 p
  1734. ; http://php.net/com.allow-dcom
    $ `* c% d8 I( s4 W5 `
  1735. ;com.allow_dcom = true
    + a2 w% |5 a" h1 d2 L/ m

  1736. : o( E) |4 ^/ G0 d
  1737. ; autoregister constants of a components typlib on com_load()
    # b. A' t! H/ d) U( {
  1738. ; http://php.net/com.autoregister-typelib
    / Q+ D4 v( F" k1 Y3 @* A  n* y! |2 |
  1739. ;com.autoregister_typelib = true
    . Z' ^* G! E$ _% i
  1740. % z' _; `- M: ^& ~7 k- E9 C, C
  1741. ; register constants casesensitive
    1 l$ A) }: S7 l5 b7 ?$ z2 x
  1742. ; http://php.net/com.autoregister-casesensitive
    1 k7 [& ?* Y8 F* J
  1743. ;com.autoregister_casesensitive = false
    ' W  \, v$ q; W/ p5 |/ C
  1744.   F$ Z6 F2 u* h  t% |: ^
  1745. ; show warnings on duplicate constant registrations3 b* p6 z$ n$ H% w# u. ^
  1746. ; http://php.net/com.autoregister-verbose7 k9 N$ T6 X+ o; F
  1747. ;com.autoregister_verbose = true
    4 s+ ^2 [9 Z8 m6 ^7 y, G
  1748. 4 Z9 M4 G- e* a7 n
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    * E6 v+ H0 }% g1 u; k
  1750. ; Default: system ANSI code page
    ! \# m- y7 o# P; a. w5 y! ?0 K8 U
  1751. ;com.code_page=! J  N1 [/ @+ ?& C! e+ F/ ~  e
  1752. + y* I2 B& C7 Y  m' z6 m
  1753. [mbstring]
    , u) h/ m9 o# O
  1754. ; language for internal character representation.& B! Z6 {7 \! Q) z
  1755. ; This affects mb_send_mail() and mbstrig.detect_order." {( G! e! Q' X' t. B" W
  1756. ; http://php.net/mbstring.language
    ' @  p9 s4 l  C( e) e" M
  1757. ;mbstring.language = Japanese: t2 J$ D" O4 X+ M
  1758. 9 G8 R' s9 \, w4 F: z1 z- h- l
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.) M# D" t) J5 X3 d, M
  1760. ; internal/script encoding.' ?( W5 l( ?" X, a) Q0 G8 P6 Z
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)7 [! q# Q& W/ k* F
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.' q2 R0 l+ `& N: G3 k
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    " Q. V# ?0 {) ~  e& ]$ J
  1764. ;mbstring.internal_encoding =# I9 K4 [9 F: y4 S

  1765. . V) C. M  K7 j2 [
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ) W7 u- K6 f7 b9 J% @# J. U1 t
  1767. ; http input encoding.
    5 q$ G% _! i, B
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
      K$ _* S3 A3 k: K
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    9 @, ~! B, K, X' C
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ' X9 n; G8 P5 _; h/ w
  1771. ; http://php.net/mbstring.http-input
    8 {+ ]8 p  Q) _& E
  1772. ;mbstring.http_input =
    8 i% o( v# S% t8 }( Q, M+ o$ M" ]

  1773. - M) }+ F; d6 ~; M- L! |
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ( @& ~$ @6 H" j! x: l* O
  1775. ; http output encoding.; _% }2 |1 x  V4 j
  1776. ; mb_output_handler must be registered as output buffer to function./ x; c. J7 y' @& O: S, W, j7 L' O
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.# [4 ^* D' g% o8 s, j
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output4 q7 G9 ?+ f, m: ?8 V
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    4 R! ]: A$ [; l, {: b
  1780. ; otherwise output encoding conversion cannot be performed.
    & Q6 K3 `2 U; b1 v1 K& n
  1781. ; http://php.net/mbstring.http-output2 ?( t. v4 d7 L2 C
  1782. ;mbstring.http_output =! E* _. {0 @5 @/ g
  1783. 9 e% L7 @9 M3 m) `" Z( k- R( O0 ]: w
  1784. ; enable automatic encoding translation according to
    8 Z6 H1 j) J/ J& _+ w+ }
  1785. ; mbstring.internal_encoding setting. Input chars are0 O/ A' G  `* C+ y: P' i
  1786. ; converted to internal encoding by setting this to On.! p& j! ~( _* I. ?5 W! G: @
  1787. ; Note: Do _not_ use automatic encoding translation for
    8 u$ f8 Y0 G1 A0 q* {
  1788. ;       portable libs/applications.
    + d7 r/ N$ t* P& t( u  ^
  1789. ; http://php.net/mbstring.encoding-translation
    1 j3 E5 x% m2 P& \+ n7 H; _& g
  1790. ;mbstring.encoding_translation = Off
    ( d9 C2 K- @8 ?/ N6 B. W5 N$ r

  1791. ' o) D  |0 V* n5 ~
  1792. ; automatic encoding detection order.: N8 u1 N! J1 S* d" M8 m
  1793. ; "auto" detect order is changed according to mbstring.language# n5 C% l3 g' k, A% ~1 G7 f
  1794. ; http://php.net/mbstring.detect-order5 G% a( r4 m2 \( A: e
  1795. ;mbstring.detect_order = auto% ]( M. ^0 S8 A0 G* R! w
  1796. , B5 ?& y2 E& m; k- I
  1797. ; substitute_character used when character cannot be converted5 k  J) f3 a1 v* ^+ Q$ M
  1798. ; one from another
    $ s" n% y2 L3 L$ x% i& X+ j9 [
  1799. ; http://php.net/mbstring.substitute-character
    " a- Y, n6 G9 ^+ u/ y0 U1 ^2 ~
  1800. ;mbstring.substitute_character = none
    * s: c  f! F. @8 F

  1801. ' {+ @+ N; N7 N5 w& f  U) P
  1802. ; overload(replace) single byte functions by mbstring functions.: o9 M+ Q8 a0 R, o( v- I- O3 K3 J
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ( P& p# l- W9 C7 R9 T3 T: T
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.' j5 d# c; T9 W
  1805. ; For example, 7 for overload everything.0 x. N" ?$ A( \0 ^9 Q" Q
  1806. ; 0: No overload
    7 o1 ^) H, M% y$ U
  1807. ; 1: Overload mail() function5 [. W+ Q" B& l" M) z0 z
  1808. ; 2: Overload str*() functions0 n" M5 [! x' Z0 d1 u6 z! D
  1809. ; 4: Overload ereg*() functions! Z% S) A" N$ M% J% D( {
  1810. ; http://php.net/mbstring.func-overload
    $ N! j8 R* u: d9 m
  1811. ;mbstring.func_overload = 0
    . X- }# z8 [6 g/ x3 B2 X

  1812. / D9 h8 l' I; g$ Z+ W
  1813. ; enable strict encoding detection.8 @. S9 r6 }; z
  1814. ; Default: Off
    - n( J4 q( E7 w( u! T
  1815. ;mbstring.strict_detection = On. z) _/ [% {3 N
  1816. + Q7 |# X' r6 P$ u- P
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler(); O; ], w% }. D% ]0 u0 V
  1818. ; is activated.- q) w0 a6 I/ Q/ k  L$ h
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)3 G) _; y; {/ |  h* Y* J
  1820. ;mbstring.http_output_conv_mimetype=3 t3 m. {  P9 O" H; ~6 a" `) r

  1821. ! h  S" d5 p$ K0 ^) a& y
  1822. [gd]" I* C. I: l( M: `6 m- K
  1823. ; Tell the jpeg decode to ignore warnings and try to create# f& e( n. P7 p" x4 {; }- [
  1824. ; a gd image. The warning will then be displayed as notices  M' u  E. }" v/ W* T8 p) B: N7 T
  1825. ; disabled by default
      h: ~0 B* b' Z, M/ @; W. k0 N
  1826. ; http://php.net/gd.jpeg-ignore-warning
    6 f+ ^" R3 k4 S) q# b
  1827. ;gd.jpeg_ignore_warning = 0
    / m# [( H# g9 f% d: ~
  1828. + k' J% O& @9 t, o6 O) ]
  1829. [exif]
    - U! l" n5 q8 n, v% [3 Q
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
      ]% f6 r5 n7 z
  1831. ; With mbstring support this will automatically be converted into the encoding& N1 _/ R5 ^  j& x  L6 f1 G5 {
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ( C, T; P3 o- R, F9 Q. X; Y
  1833. ; is used. For the decode settings you can distinguish between motorola and9 c: e' Z7 k8 d7 j0 w# ?
  1834. ; intel byte order. A decode setting cannot be empty.* P3 c* }% G) l- `( m1 T
  1835. ; http://php.net/exif.encode-unicode
    9 }& i% u2 G7 g8 o7 X. S
  1836. ;exif.encode_unicode = ISO-8859-15
    6 X+ }( ?2 A4 _
  1837. ; K' N1 L" ?% H' ^8 B
  1838. ; http://php.net/exif.decode-unicode-motorola, K$ j, M* ?( X+ K( `/ G4 Y
  1839. ;exif.decode_unicode_motorola = UCS-2BE+ e& V" B  |5 c: T- s. }. G3 E

  1840. $ C. c2 ^9 G* W' o0 j2 k7 Z; w
  1841. ; http://php.net/exif.decode-unicode-intel
    7 y1 r% j! P4 a8 q" K( W3 p. [
  1842. ;exif.decode_unicode_intel    = UCS-2LE* O  F) l, e7 R" Y3 r8 p

  1843. 2 R2 Y' w; q2 s+ e0 R9 g4 V* @; L
  1844. ; http://php.net/exif.encode-jis
    / B$ e. B% J4 m# n3 H. `
  1845. ;exif.encode_jis =& A3 v# Q/ x$ u/ x5 T& J

  1846. 7 `4 L' n5 p" g5 Z* c2 i
  1847. ; http://php.net/exif.decode-jis-motorola
    ' o8 z6 ^3 B# V+ ]& q. A/ A" |) _. R! R
  1848. ;exif.decode_jis_motorola = JIS3 @0 q2 z. B5 \' x8 r

  1849.   {1 h) x% V- U+ }8 m
  1850. ; http://php.net/exif.decode-jis-intel
    2 M2 p# L' \0 H& o( E  T
  1851. ;exif.decode_jis_intel    = JIS& }) ]" h0 f! U, J% B& w4 t) t

  1852. $ R3 C/ X; O: k% N9 e) V. P
  1853. [Tidy]9 k# S+ l. t- P9 f
  1854. ; The path to a default tidy configuration file to use when using tidy
    # p. A% T6 E% N' L8 V# J& z
  1855. ; http://php.net/tidy.default-config1 f/ T8 M2 H4 F9 }  x
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ( m+ }9 F$ ]- y; t
  1857. # U7 C2 C2 m) ~  }  Q
  1858. ; Should tidy clean and repair output automatically?
    # @1 P+ j, i- J. }$ m
  1859. ; WARNING: Do not use this option if you are generating non-html content
    2 ]' D: T, l8 m: a6 k  V$ s
  1860. ; such as dynamic images# Z$ q+ I4 U, F) q  \& z
  1861. ; http://php.net/tidy.clean-output
    # V, V3 m+ J6 y8 j, f9 k
  1862. tidy.clean_output = Off4 h+ y9 I7 R, P* L" S) ]

  1863. 6 K5 q( s, \2 r
  1864. [soap]' \1 ^2 }. v* |( t
  1865. ; Enables or disables WSDL caching feature.
    / b1 ?* |8 W& q, u8 T9 W
  1866. ; http://php.net/soap.wsdl-cache-enabled
    % M7 R9 n% A' y) b# B4 n$ g
  1867. soap.wsdl_cache_enabled=1
    8 ^2 L- i" d7 w( ]/ V
  1868. / v( g* [! U7 f7 l0 o
  1869. ; Sets the directory name where SOAP extension will put cache files.
    ' }8 v+ V8 [/ O) Q9 r2 A* [" o6 s" G% s
  1870. ; http://php.net/soap.wsdl-cache-dir+ `1 R+ E9 b, N
  1871. soap.wsdl_cache_dir="/tmp"" B% U5 F: v: U6 _& c$ `  \( a" A# p

  1872. 5 l* {5 m& V( x; q- Y
  1873. ; (time to live) Sets the number of second while cached file will be used1 a$ ~# ]* q- r, D& R
  1874. ; instead of original one.) f$ m) `1 H. s" B
  1875. ; http://php.net/soap.wsdl-cache-ttl
    ! _9 E8 o- D" {. y* ^1 V
  1876. soap.wsdl_cache_ttl=86400: O' q& n4 F0 V. s
  1877. ) c. N5 \9 o9 D
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    1 s* o/ A4 d0 P; R( H! B9 q
  1879. soap.wsdl_cache_limit = 57 f  I" t9 M- s: i/ S, D4 `
  1880. 2 `' T% p2 H! o
  1881. [sysvshm]
    + g9 z1 u$ m7 E, t
  1882. ; A default size of the shared memory segment! p5 F% o% Q9 B6 [$ E; R1 F* z; f
  1883. ;sysvshm.init_mem = 100001 j1 h1 P: n" w: ]2 D
  1884. 6 q: k) u: e9 _) s* s- @
  1885. [ldap]/ F& z5 Z& Z' V+ ?
  1886. ; Sets the maximum number of open links or -1 for unlimited.& K. b; |& ]" M# k' Q
  1887. ldap.max_links = -1
    ' z/ r: b2 U% @# J

  1888. 4 n( |( c: f6 \( l; P
  1889. [mcrypt]
    ) N' a$ u0 L0 g' y# H
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    5 i$ O% c1 B0 [& `: `0 [
  1891. $ ^: }" U0 q# l2 s
  1892. ; Directory where to load mcrypt algorithms
    3 h0 F/ K; o, M3 ~
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 l' S+ I2 i0 s! D
  1894. ;mcrypt.algorithms_dir=0 H7 t& Z# W! y2 Q% A- y

  1895. # E: B& e- f+ Q9 B) e# t: h+ B
  1896. ; Directory where to load mcrypt modes: o  `) H( z1 g  o4 v6 u3 L4 H" l
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)) H. v$ u& V, z
  1898. ;mcrypt.modes_dir=7 g+ Y# ]  Z1 C$ T
  1899. ' e  z; g! p: F, _/ |. L6 {, ]* d
  1900. [dba]# G- d% w/ ?) ~  {4 N
  1901. ;dba.default_handler=
    : [! D: @' [! e  i1 t3 t
  1902. # ^3 \3 l$ O! |6 ?' K
  1903. [opcache]+ I( P$ S3 ^; u; E: d! ~
  1904. ; Determines if Zend OPCache is enabled
    . T: U4 J5 l) }1 z8 y+ T7 B
  1905. ;opcache.enable=0% j1 t7 s+ j7 p9 g5 {
  1906. - z8 W, b# \' W8 O& o
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP$ a3 [4 F* n9 B; D5 f
  1908. ;opcache.enable_cli=0
    1 u  V$ C) |9 d3 L$ a

  1909. : O4 J; h; `0 d$ q2 D2 G3 q
  1910. ; The OPcache shared memory storage size.
    5 P" O4 g1 {1 Y( X. x. y: X2 Q
  1911. ;opcache.memory_consumption=64/ Y. d! Z! ?" H/ A
  1912. 7 v: E2 i* i4 }0 }7 }/ U
  1913. ; The amount of memory for interned strings in Mbytes.
    1 U( g6 ]$ X8 S+ g; c
  1914. ;opcache.interned_strings_buffer=4- H- o% \; a8 A6 F
  1915. ! q1 l* S) S% O9 Y
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    / W/ P1 J8 s: ?& q0 ~, j% a
  1917. ; Only numbers between 200 and 100000 are allowed.1 T- j8 f- N3 @' w+ W
  1918. ;opcache.max_accelerated_files=2000
    ' G( z1 n9 a, U( Q1 d) O
  1919. 1 Z& n' @0 U, ~# k
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.4 N% d; q3 m! t: B1 L/ W
  1921. ;opcache.max_wasted_percentage=5) X2 W* X, W4 O. ^- @4 O
  1922. 3 K( w' A* R' X- n7 t. p& g- Z
  1923. ; When this directive is enabled, the OPcache appends the current working. Q: O1 k* X1 w: a2 z0 Z5 D% ~1 Y
  1924. ; directory to the script key, thus eliminating possible collisions between" v' T& s* v1 Z7 P2 }4 k
  1925. ; files with the same name (basename). Disabling the directive improves
    $ s( Q7 X  I' r( R1 Y7 o5 U! T, |  u
  1926. ; performance, but may break existing applications.
    5 C# }$ ?0 ~8 P: p0 O/ I
  1927. ;opcache.use_cwd=15 v8 l/ _  _4 w; b1 B

  1928. : x' }# Z9 _' O3 w2 O! ~7 N! K
  1929. ; When disabled, you must reset the OPcache manually or restart the
    % h: j, s/ w+ S7 u5 N
  1930. ; webserver for changes to the filesystem to take effect.
    / S' Z; h6 L* r6 {! [9 ^- ^* w  D  X+ A  U! d
  1931. ;opcache.validate_timestamps=1
      @- p! m: K; o% D
  1932. ! u5 n: y/ b7 u* c
  1933. ; How often (in seconds) to check file timestamps for changes to the shared% w9 h" R: p" c2 l  [
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    : R- K7 o6 b  x1 \# I( D, W
  1935. ; once per request. "0" means always validate)9 `6 b# E% Q+ J$ p
  1936. ;opcache.revalidate_freq=2
    & X7 U" q8 a8 x; ^. u8 @9 Y% x
  1937. ! e) u% W6 x8 G8 i
  1938. ; Enables or disables file search in include_path optimization4 n8 d" d0 E. R4 ~
  1939. ;opcache.revalidate_path=0
    6 G# w( T. s3 G9 n9 J5 H& Q% B3 n
  1940. ! u5 r# Y2 Y+ K- |5 h
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the' F% c+ K) m% Y2 O
  1942. ; size of the optimized code.
    9 l  Q- s4 A( }; T
  1943. ;opcache.save_comments=1
    7 p0 w" X$ N8 Z- ?' u

  1944. $ a, U. m5 b7 ]# W! ?) G) w  B: k- g7 x
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    # h6 |% i/ K) U5 B. s8 I2 t" i0 ~
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    # O2 K7 r, b6 K% d1 J/ z5 d& D7 e
  1947. ; that don't need them anyway.+ |5 k) {( X3 b; }3 U
  1948. ;opcache.load_comments=1
    4 v' V! w6 v% B. v! Z! E

  1949. + p# m; ^1 U: |  J
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code0 c! j; m9 i0 D/ {- e0 s9 ~
  1951. ;opcache.fast_shutdown=04 I$ l! b* X8 x! J( v) t

  1952. $ S+ m. y& @9 V) f  V
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    , q' }  {, P" B' @
  1954. ;opcache.enable_file_override=0
    4 w  r; L4 ~9 N% o! V: M" Q
  1955. 8 X  Q( ?) o4 W3 Z# g
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ! C- K' ?) ?- p
  1957. ; passes; m8 r2 j% N2 s4 U2 Z
  1958. ;opcache.optimization_level=0xffffffff8 K* a, q% p( `8 y1 c6 h) f

  1959. / J9 [, e" }) O) j$ W
  1960. ;opcache.inherited_hack=1
    # f* X$ L' l4 B1 \
  1961. ;opcache.dups_fix=0
    # `" ?1 Z7 i3 {$ t% d
  1962. % \% c3 E+ z1 b. o4 k" Z
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    6 K$ C/ Z: O0 N
  1964. ; Each OPcache blacklist file is a text file that holds the names of files4 E* _1 f0 z. j1 `1 N6 E1 [' F( b
  1965. ; that should not be accelerated. The file format is to add each filename3 h  V: a, B" l
  1966. ; to a new line. The filename may be a full path or just a file prefix% S! }2 t% f- k: n  d
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    # Y1 N; ?% f! }8 Z
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).+ v, ]# c0 ]1 G: x/ D
  1969. ;opcache.blacklist_filename=
    ) B  h5 `( g3 j+ E9 K6 [

  1970. " \5 B1 j! d" I  o
  1971. ; Allows exclusion of large files from being cached. By default all files, e- G% L9 Y2 e5 e
  1972. ; are cached.6 L* r( A( P4 @4 s* Z7 `: Z
  1973. ;opcache.max_file_size=0
    + }: [9 {( A& I5 p5 k
  1974. * I1 w; h7 b0 B. \; d# _
  1975. ; Check the cache checksum each N requests.
    % a# R  q4 E9 o$ V, F+ c- d8 [; ?
  1976. ; The default value of "0" means that the checks are disabled.3 p% M, k. }* l3 r
  1977. ;opcache.consistency_checks=04 \# U6 T6 V9 L* V( u7 d
  1978. 5 o8 ?' u, D% \7 E  [/ F5 y1 d' D
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache' N& s( d6 T# a  M8 c9 L* k
  1980. ; is not being accessed.  K" Q' C/ p% g9 I; s1 l
  1981. ;opcache.force_restart_timeout=180
    + T/ c! {6 |! t* C; i
  1982. 5 Q- W6 k; A6 g9 c( \1 n9 a2 _! m
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    7 T) E% t& _' W8 \; T5 |* \! t
  1984. ;opcache.error_log=
    * s; p7 J7 V7 {

  1985. " x9 N3 X$ i0 s& I
  1986. ; All OPcache errors go to the Web server log.* P5 T+ d! N/ }: t. `' d, y
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    9 d% _3 c0 m4 Z9 u
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    # }% Q2 K, @8 \5 p8 _0 K% Y
  1989. ; debug messages (level 4).5 C4 ^% }: ?& z  Z6 R7 U
  1990. ;opcache.log_verbosity_level=13 r. i/ E2 N- {4 T

  1991. $ [8 I# a9 I! E1 D& N
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.. e" x* R5 n' C# f
  1993. ;opcache.preferred_memory_model=+ Y7 S$ B- \/ T% n6 \" Q% K1 h
  1994. 8 H+ U8 V0 g* P
  1995. ; Protect the shared memory from unexpected writing during script execution.) _: _, |" o$ \9 i* i) @4 [" y
  1996. ; Useful for internal debugging only.
    3 Y  J: y" ?" |, m0 b
  1997. ;opcache.protect_memory=0% Z$ \+ u6 R& n

  1998. / w6 S% N- r9 D  t0 U% I
  1999. ; Validate cached file permissions.7 L6 R, O8 ?7 a0 M; \
  2000. ; opcache.validate_permission=0
      q+ v0 W" z" |3 v
  2001. 0 W; ^  M5 w3 Y) V# f
  2002. ; Prevent name collisions in chroot'ed environment.6 J2 `. w" y* Y" I  f8 u% V
  2003. ; opcache.validate_root=0$ ^% t4 F0 {+ Q  ~: ^% z( E& Z+ U

  2004. 4 \9 k- z6 `2 U, |3 n7 H
  2005. [curl]/ n/ K( H. k* W8 Q! ~. }
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an5 i( D: F  ^9 z; c1 ~
  2007. ; absolute path.
    + {( e+ S) H: E/ n- {
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    + |; l8 `& D/ d" [
  2009. # u' g2 ]5 L  h. e6 G- ~# W
  2010. [openssl]8 [( C" F) S) f3 O/ i) j& g
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ; P" P8 z$ P' H; k
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    . K  t7 v( L; V  |& c
  2013. ; not specify a value for this directive as PHP will attempt to use the
    & ?' I1 r$ T$ h) J" ^4 m
  2014. ; OS-managed cert stores in its absence. If specified, this value may still- ?0 ?0 t$ r! Y3 _( U
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    % R; R; Z" m+ G) i0 q. O
  2016. ; option.5 g% A5 |5 S2 i$ L+ ], r" K: R- w
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 I8 |8 E. H8 p+ O2 s( p

  2018. . L# G2 ]1 E7 N8 }
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the! `& [. @% l& B# X1 Y  d
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    5 }+ t( T$ @1 C
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    - l. z# B1 g9 d; ^$ \% B  \
  2022. ; Most users should not specify a value for this directive as PHP will
    ) c" M" }9 \# m" P% T1 `6 \
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,& K3 H! R  R% L* l! l$ f& o" W8 N7 H
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    + P3 {& J* u2 Q" t
  2025. ; SSL stream context option.
    ) k2 |) g7 Q! ?2 w% Q6 [3 p% u
  2026. ;openssl.capath=
    " O- F! Q0 E8 r4 \7 V
  2027. 3 u1 V9 e( F9 V7 x4 \
  2028. ; Local Variables:
    , p5 M9 ]! |7 m. G
  2029. ; tab-width: 4
    $ C* t: s* T3 {! Q( \
  2030. ; End:
    8 n: R* D* h3 C5 C/ i9 Z/ p6 u
  2031. ! G1 t& e1 M- A% C" x
  2032. ;eaccelerator. f5 r! D1 Q1 Z, l
  2033. 0 l, k  c( t/ w. \% f8 K4 Z# x
  2034. ;ionCube
    $ Q$ V! E# F6 e2 U  A/ q: b! s  f
  2035. 3 j' k0 j' }) }; k& o4 u7 E  u+ Z
  2036. ;opcache
    / f& N) r! ~4 H8 O' `6 Q4 v5 Y
  2037. $ k- e( U$ r2 |( k" @
  2038. [Zend ZendGuard Loader]. Y6 M1 V* f  m) ^& _) A
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so+ S9 q+ d( u9 X* |' M1 B0 [8 n& Z$ B
  2040. zend_loader.enable=1
    ( X7 u# Q. N! ^2 c  q5 J/ S/ l! B; q
  2041. zend_loader.disable_licensing=0
    ) A* K* V9 _2 c5 a4 j2 X7 W
  2042. zend_loader.obfuscation_level_support=36 L. i0 \; C7 o" R! n
  2043. zend_loader.license_path=6 n2 ]$ R2 k; f! i# E
  2044. ) e+ W7 j: q' {
  2045. ;xcache6 M0 F, ~0 {* x1 E7 R" g
  2046. 6 ?' {- ~/ u2 _
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
+ }5 W: }% K( ~1 u6 o5 |7 L. d  m
' D% j% p% j: t, B' [) Z9 `: j- j; m: i8 \* C
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,+ k" Q+ g: ?8 B% _8 u9 D* x" I* |

8 Z; U+ q  [* Y2 QDiscuz!程序版本选择:% ^4 N- J1 L/ I( w6 `2 L
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,8 W8 B1 T2 g* ?4 t6 R
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:1 [9 z& Z1 L$ ^3 B$ T' M! N. `6 X/ E
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
9 Z& H( n+ I7 ]' s
( x: D  X2 X- Z4 M9 [Discuz!插件模板版本选择:. H3 r& w( S0 t2 R0 p' M6 M
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,* o8 D7 X& h% Z  g
针对这个问题做个统一的普及:/ O8 s5 J* F; [' i. P, w" z
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。- y, ^( y2 U1 `9 B4 o' ?3 s
) X9 [( r/ i, h! A- H
所以
7 \( X, ^0 ], t& l; L2 c适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
. e& \+ q2 P% J! `! {打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。2 h# {8 C! T5 Y8 k% e+ H- ]
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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