分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
' S, t; k. P1 t0 t  Y% a; {" d
+ l& U! g" g  m
  1. [PHP]% |7 S# ?# _- [0 A& @/ c$ Q* W. j  ^

  2. " Y' L! {4 [' A$ g4 Q* c/ H9 E5 Y1 `
  3. ;;;;;;;;;;;;;;;;;;;
      M1 e3 _3 k, {' R$ E
  4. ; About php.ini   ;* g( g2 c$ j: ~9 V( |
  5. ;;;;;;;;;;;;;;;;;;;! q& b3 J- M6 r: \( C
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    9 q' l0 G: F2 L8 ?. z3 }
  7. ; configuring many of the aspects of PHP's behavior.1 s7 _; ^6 Q4 r- X  L

  8. 8 q# Q! O( Q! U
  9. ; PHP attempts to find and load this configuration from a number of locations.  r, ~" O; k+ ?
  10. ; The following is a summary of its search order:
    2 i( |6 ^, F( X0 F9 q9 k! T
  11. ; 1. SAPI module specific location.
    / T2 ]- o/ o% X$ x( u
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)) l. {4 `8 ^: u
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    * I. @9 o6 b" V6 o: |
  14. ; 4. Current working directory (except CLI)
    % m1 G  q1 N1 F' ?
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP! t; a: q& z/ Y1 W# j, Z
  16. ; (otherwise in Windows)
    % s% B9 [" t9 q" R+ }: X$ g; O5 R
  17. ; 6. The directory from the --with-config-file-path compile time option, or the; A* B% O" o. i; Z" z
  18. ; Windows directory (C:\windows or C:\winnt)
    + \& j( g+ v! N% Y3 \2 N
  19. ; See the PHP docs for more specific information.' F8 T3 r3 J# h% \2 r
  20. ; http://php.net/configuration.file9 G# z' F! {. k) s. k  L9 H% l
  21. - p* {6 e" ~9 h! b0 b+ l
  22. ; The syntax of the file is extremely simple.  Whitespace and lines2 n: C6 r" d6 }9 N3 c
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    % V, u7 r1 U* _
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though4 I5 k" R& G$ x
  25. ; they might mean something in the future.
    ) n; b9 K, q0 E9 X' @+ E) d

  26. * ~. t4 \1 C- C+ x1 l
  27. ; Directives following the section heading [PATH=/www/mysite] only
    8 Y6 d$ h6 Q/ v* r7 H
  28. ; apply to PHP files in the /www/mysite directory.  Directives8 T" l; K# j( Y0 i
  29. ; following the section heading [HOST=www.example.com] only apply to
    ( T9 B9 {8 y9 f4 }- B, y$ f
  30. ; PHP files served from www.example.com.  Directives set in these0 h4 z. b1 j. q; C! V: b& A. l
  31. ; special sections cannot be overridden by user-defined INI files or
    8 Q( V) J# o8 _' `4 o7 Z
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
      f8 `, S' n4 y- n, l
  33. ; CGI/FastCGI.
    " K% z4 v* `6 ]7 E
  34. ; http://php.net/ini.sections! V0 a& X  d; u7 C* I7 J

  35. + j6 ^7 \; G. F. p* ~
  36. ; Directives are specified using the following syntax:/ V# c  n7 z: b4 {  |; n, e" H/ ~
  37. ; directive = value
    - r! p: m. l  T* H2 b. R
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar." ]0 c2 J6 _0 s" q0 S( G& V0 }- h* @
  39. ; Directives are variables used to configure PHP or PHP extensions.6 ?6 c* e; t1 u0 h$ _5 t) K
  40. ; There is no name validation.  If PHP can't find an expected
    ! q! V/ h" i! A( Y, H
  41. ; directive because it is not set or is mistyped, a default value will be used.
    4 l* G9 }8 m5 U

  42. / W6 v! r" m* m8 N5 O( q' z
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    - {4 `+ r: n" @
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    , z% p' d0 u* T% |$ Q* t" K
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    0 M* x0 X8 r/ |9 c5 m, a
  46. ; previously set variable or directive (e.g. ${foo})
    , H7 Z# y8 Y" G

  47. ; G) G% i# t# f# [% c. G7 o
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:: G) ~2 E  D  l$ ~( K
  49. ; |  bitwise OR( k, S% P) D( |
  50. ; ^  bitwise XOR4 ?; b# |/ W' _! P
  51. ; &  bitwise AND+ C. ~: W( |* i5 r! u
  52. ; ~  bitwise NOT
    , x. A/ |& @9 |
  53. ; !  boolean NOT% R! n8 T4 ^& s4 e( W( ?  K& v

  54. ! j- m. \: P- W0 e# t: f  q( [
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    * e; i0 e4 A# L% Y4 T* Q- E
  56. ; They can be turned off using the values 0, Off, False or No.* T6 l; C5 B& Z: ]; E
  57. 2 X( z( ~" C6 T0 d0 I
  58. ; An empty string can be denoted by simply not writing anything after the equal3 |' q2 N$ O) f, j, [
  59. ; sign, or by using the None keyword:$ |( G2 b* j7 H. s

  60. # ~+ ~( c  f: {, M7 D4 _% r
  61. ;  foo =         ; sets foo to an empty string6 [* \4 Y9 q1 N7 V# k
  62. ;  foo = None    ; sets foo to an empty string( G* G- Q! t) i& \1 ~$ T
  63. ;  foo = "None"  ; sets foo to the string 'None'
    - x% |6 w* K  o3 _* i5 {+ m

  64. 0 e! V4 `, ~2 ~% l5 }
  65. ; If you use constants in your value, and these constants belong to a1 m3 S3 O* ^& o" t' |" H4 N& u
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    0 c, w7 {5 A, c8 o+ U* Q
  67. ; you may only use these constants *after* the line that loads the extension.
    1 s6 N6 ]" t( }' f; V- @9 i
  68. 9 Q: R2 R. W+ x
  69. ;;;;;;;;;;;;;;;;;;;5 I5 p. @: e6 U# q
  70. ; About this file ;
    ! q' h4 `4 e& w7 P& W+ ?8 C
  71. ;;;;;;;;;;;;;;;;;;;* |- m( Z. K5 ?
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ' B( Z' K: W% o) z* O$ k
  73. ; in production environments and one that is recommended to be used in
    % D7 t4 x  N. S8 U& Z
  74. ; development environments.
    5 H5 V$ o% z; Y' d9 U
  75. 9 ~: U% h* k( v4 w- n5 @
  76. ; php.ini-production contains settings which hold security, performance and
    : h# f8 e: H8 Y9 h
  77. ; best practices at its core. But please be aware, these settings may break* A4 L  }7 S. W, F$ x) W
  78. ; compatibility with older or less security conscience applications. We. P7 X  `; W2 p+ Q* q
  79. ; recommending using the production ini in production and testing environments., @( h8 E+ d+ y
  80. ! T$ \% r' G+ M: p
  81. ; php.ini-development is very similar to its production variant, except it is
    3 \8 ?- F1 _* z# {+ ]' N
  82. ; much more verbose when it comes to errors. We recommend using the
    4 J5 Z. \  ]0 N8 n; ?2 G5 }8 G
  83. ; development version only in development environments, as errors shown to
    " S0 g2 |: g$ O9 Y) w. V
  84. ; application users can inadvertently leak otherwise secure information.
    0 v& W/ g+ H6 E' x5 h7 T: h$ Y

  85. 0 M# a' T* D& C; F7 }; z+ q& Y
  86. ; This is php.ini-production INI file.
    3 R0 N6 U' i8 ]% B  `) y
  87. ( N8 m, l' i" F2 H
  88. ;;;;;;;;;;;;;;;;;;;
    1 P: ^/ U$ \7 I3 L' O* L- z" I+ F
  89. ; Quick Reference ;% m. J7 R# ^) v) _) `' N
  90. ;;;;;;;;;;;;;;;;;;;
    2 Z, P) @3 g! _. z8 z8 |
  91. ; The following are all the settings which are different in either the production
    5 f6 S5 ?# s- J5 B+ A
  92. ; or development versions of the INIs with respect to PHP's default behavior.  [/ v  z. ~7 {. D4 p, t
  93. ; Please see the actual settings later in the document for more details as to why
    ; w2 I- d* k, H* S# `
  94. ; we recommend these changes in PHP's behavior.$ L- R8 g' [, r$ [; s% W2 a# u

  95. ! c* i2 L  w/ Y& f) D- P& p
  96. ; display_errors# d2 t  m6 ?% j+ N& c0 b6 }+ l/ f
  97. ;   Default Value: On
    ' n9 y9 Z% o7 o! d# V! A$ q
  98. ;   Development Value: On
    1 T* Z, f8 ^6 }4 P7 z2 _$ P5 D) n, a
  99. ;   Production Value: Off  ]) T: i* l; I7 O4 ^6 z
  100. " A8 i) T5 |8 n
  101. ; display_startup_errors
    3 m% ]( a2 Z  y* `$ b' P3 F
  102. ;   Default Value: Off3 A2 `0 `1 L. N9 k
  103. ;   Development Value: On
    5 m; n. g, z' w$ N0 n
  104. ;   Production Value: Off
    , S. h( C$ E7 p. F1 w, l. ~

  105. 2 e) y: F  _$ Q; @! W% M, B( ^
  106. ; error_reporting
    # O. ^" |9 k3 \  O) B- _
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    $ @3 |# K4 s. o5 O% P
  108. ;   Development Value: E_ALL
    6 V' r8 T' g) J6 P& s
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 K0 J5 T4 [8 G! b2 M

  110. * B4 Z# n% P& y$ c" e
  111. ; html_errors
    4 R, x( D. y9 x6 N
  112. ;   Default Value: On# x; G$ i) }" a) V6 G2 [
  113. ;   Development Value: On- O! A$ b1 |) N; y
  114. ;   Production value: On
    8 K( Q$ Q; N* a5 s+ m& [6 M

  115. 6 X9 ]" u5 R) p8 Z& `0 B
  116. ; log_errors
    - e$ b9 H3 G: K0 [8 L
  117. ;   Default Value: Off7 @' _# h2 ^2 ]! _
  118. ;   Development Value: On
    3 p- i& G0 k* `( I
  119. ;   Production Value: On
    3 p  f# ^% T, D+ c  g0 O
  120. + B3 T5 e( L  l  i
  121. ; max_input_time0 H8 i( f( ^, Z" j* Y) z4 _
  122. ;   Default Value: -1 (Unlimited)
    ' z" _3 t( j& Z/ |2 J% F( L
  123. ;   Development Value: 60 (60 seconds)
    * Q# |+ }4 u! f$ m3 F' R/ X
  124. ;   Production Value: 60 (60 seconds). `( ~$ c- t1 U; ^
  125. . T$ P2 x; r. z& z( L' K) U& a
  126. ; output_buffering
    . r8 `7 c* D* X3 b- A. \, ]# D( g
  127. ;   Default Value: Off
    ! L9 m3 q4 r& \, Y( ~/ v
  128. ;   Development Value: 4096/ m. W+ X* o5 R3 m2 {* i' _
  129. ;   Production Value: 40962 o, A& m$ D6 Q/ w" ~
  130. 7 \! ~+ O7 E: O: P' Z
  131. ; register_argc_argv
    6 A+ @: `/ ^8 W6 W, U2 @: E
  132. ;   Default Value: On( |1 ?8 j/ U9 i4 a/ {
  133. ;   Development Value: Off
    1 q9 f5 K1 S! t: Y/ ^+ a; J
  134. ;   Production Value: Off
    5 {( S: z& {7 d& ~  K+ S7 e

  135. 8 [7 h% F1 z8 |
  136. ; request_order0 Y$ p; O/ b" B: _+ D% G; U
  137. ;   Default Value: None
    . S$ J2 c- A5 _# }" u, }
  138. ;   Development Value: "GP"
    " C9 \, O$ ]  z& [
  139. ;   Production Value: "GP"
    8 a" Y6 }. j4 b3 `% Q
  140. 7 A; k3 B% B) l" x
  141. ; session.gc_divisor
    . d( g3 ]' r9 a" ?8 W7 \1 J1 r
  142. ;   Default Value: 100
    * {( C8 R* V# B& D+ Z; U
  143. ;   Development Value: 1000
    ) c: b. O" A1 [
  144. ;   Production Value: 1000
    9 {/ j; w% a' V6 }+ s, N) ]6 z1 f

  145. 4 g2 E: Z5 ?; O( Q" u
  146. ; session.hash_bits_per_character. Y! `) s' g, k+ [) O) l
  147. ;   Default Value: 4% @  V( N, z  `3 w( K, [
  148. ;   Development Value: 5
    , d0 g1 o4 ]) r- P6 }: g
  149. ;   Production Value: 5
    : B' B* L' t1 W/ e
  150. 0 A5 Y& Z/ G4 O7 W
  151. ; short_open_tag
    0 u% u& Q/ d$ b* J: x  W2 y0 W
  152. ;   Default Value: On/ O7 K, x( Q, v5 x8 a0 F
  153. ;   Development Value: Off
    4 i: R% O* |0 h8 }# L3 c
  154. ;   Production Value: Off
    $ M2 n# o/ P+ n$ B$ j6 @( o

  155. 5 H/ O# O$ F" k$ A2 b, d$ \
  156. ; track_errors
    1 t* F* U0 H' _8 J& j
  157. ;   Default Value: Off" a5 l3 S1 Q) _; s# G/ k/ g
  158. ;   Development Value: On- H4 K$ ^$ E; y* T
  159. ;   Production Value: Off1 u5 O. F/ \  r* p% L
  160. 3 c  w' A! ]' p' M' N
  161. ; url_rewriter.tags
    % Z/ c/ |5 R. J
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="1 X0 r  f- K, {, K3 \! o
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      z1 R" K, o8 V: c
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ ?0 \6 I0 d: g9 O: A! Y3 J9 G

  165. # T% c8 v7 z2 t* k" e6 @/ [
  166. ; variables_order& l* g6 K* F9 d% ^5 `, V- \9 y
  167. ;   Default Value: "EGPCS"% V1 S' d: J) S; T7 H3 [
  168. ;   Development Value: "GPCS"
    5 H; ]- N$ |( F
  169. ;   Production Value: "GPCS"
    , n, z4 Q0 ]/ w" J
  170. % H6 d! y& x( F; ]! i& l/ u
  171. ;;;;;;;;;;;;;;;;;;;;
    2 |9 R7 z; }2 z- g4 R2 c' _: ]
  172. ; php.ini Options  ;/ e! l6 u* k3 ^3 k; G1 M0 k
  173. ;;;;;;;;;;;;;;;;;;;;
    ! I$ c4 N  ?0 n! F/ n
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ! a' B  a% H+ E! t& o% C
  175. ;user_ini.filename = ".user.ini", B. A. J1 a% _, P: ?

  176. ! f0 V6 f7 W1 w& X5 @. I* W' V9 D- ]
  177. ; To disable this feature set this option to empty value% z' H" S5 s# B
  178. ;user_ini.filename =* Z. {! c$ U3 u4 K: \

  179. ' I3 L! P. g2 F3 o6 l- {
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)  K% V/ Z( |9 J* m# r7 {
  181. ;user_ini.cache_ttl = 300
    : e. U% k; A5 f1 j

  182. : @, R& ?. c( v% Q  b* m8 }3 \
  183. ;;;;;;;;;;;;;;;;;;;;
    ) t/ K, u$ o0 n9 Q% [5 w
  184. ; Language Options ;% X; M! g! e$ F6 z- K
  185. ;;;;;;;;;;;;;;;;;;;;
    ' e; V/ ~3 }$ ]/ E" T
  186. . B9 s9 q6 t% I2 \$ ^# [: b+ t
  187. ; Enable the PHP scripting language engine under Apache.0 h' n' M# E6 z4 _/ d+ J- T  l
  188. ; http://php.net/engine
    5 g1 n) A. R& q3 ]
  189. engine = On
    ; o# s3 t4 Z7 O
  190. 0 |  n, Y& w! R( v" X' _
  191. ; This directive determines whether or not PHP will recognize code between) b; _+ R% H+ u. }! [
  192. ; <? and ?> tags as PHP source which should be processed as such. It is# L: i  F4 Z0 R4 E- R2 V0 H# |% I
  193. ; generally recommended that <?php and ?> should be used and that this feature. j1 o6 v# G% a/ `: P5 K
  194. ; should be disabled, as enabling it may result in issues when generating XML3 `, m6 G2 D1 ?' j4 E8 j
  195. ; documents, however this remains supported for backward compatibility reasons.& Q9 Q5 H8 z% }, ^5 _; J
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    / `! r+ t  u7 G# f2 t% f  i
  197. ; used regardless of this directive.
    0 w! b: k$ M3 ^
  198. ; Default Value: On' k! ]' e2 U* w# {2 r- p# L
  199. ; Development Value: Off2 _& R: d1 {6 m$ u2 K6 p8 E
  200. ; Production Value: Off( F2 |/ B+ x6 V- Y; Z
  201. ; http://php.net/short-open-tag) h. i- w+ B. W. y8 e" f9 x8 m, b! l9 \
  202. short_open_tag = On
    ! x9 k1 g* _8 L/ E* u- x& l, n$ E

  203. 5 z+ ~" U, d0 p5 C: ]* T4 @% U
  204. ; The number of significant digits displayed in floating point numbers.0 J6 ^- K4 h% {
  205. ; http://php.net/precision) G5 v2 X* o7 E& G7 M$ w
  206. precision = 14# H) Z# b& @: \

  207. 2 q! y& u: o' }/ V
  208. ; Output buffering is a mechanism for controlling how much output data  `( M; u& y8 Y: H- w; B1 j
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that; o: i- k. }! X" g/ X
  210. ; data to the client. If your application's output exceeds this setting, PHP! J1 m$ Z2 R. p% z" I
  211. ; will send that data in chunks of roughly the size you specify.
    3 Q1 h/ N4 P+ y$ Z: s
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    & A3 z8 x4 c& U5 b+ s
  213. ; interesting side-effects depending on your application and web server.: `4 s  h9 M8 `1 K- Z
  214. ; You may be able to send headers and cookies after you've already sent output2 x* I" U* A% K% U# l. S
  215. ; through print or echo. You also may see performance benefits if your server is
    # t; K& h. [, A; E; w. A
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    . h1 ?0 X" `5 |4 K* v3 T: S1 f
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance3 U8 b/ z% V; d: ?, ?0 |
  218. ; reasons.; V1 X* L" \4 ?: u# s
  219. ; Note: Output buffering can also be controlled via Output Buffering Control% ?2 K2 A5 h4 n" d
  220. ;   functions.9 w8 `3 a6 A& T: n7 f2 A  w
  221. ; Possible Values:3 W  I) m* g  w2 ^
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    7 b" |0 G" Z" F5 J
  223. ;   Off = Disabled* t0 ?$ H1 C" C; _  f/ R
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    - C1 |! v6 b& ^+ l. h8 |5 Q
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ! N  I/ u) ^& P* ^7 n
  226. ; Default Value: Off
    % E% C1 p, N: K
  227. ; Development Value: 4096
    " B% H9 }+ c# g- u6 D( I! M; g
  228. ; Production Value: 40961 e! [0 v! c+ b7 e% K
  229. ; http://php.net/output-buffering
    : U  o6 |$ C6 t" \5 _
  230. output_buffering = 4096
      @" c, z/ H" H  x4 P, M' @" U. x4 {
  231. 1 {7 l! g$ M, i. L; y
  232. ; You can redirect all of the output of your scripts to a function.  For  R; S, }' P/ j3 [. V1 t3 n8 ^9 `# X  D
  233. ; example, if you set output_handler to "mb_output_handler", character
    9 Q' Q( Q. ]" R" b9 q3 Y" b
  234. ; encoding will be transparently converted to the specified encoding.
    ( L7 Z" U, c& T& g( }
  235. ; Setting any output handler automatically turns on output buffering.
    ; `0 f0 n! k6 O3 k0 v, s
  236. ; Note: People who wrote portable scripts should not depend on this ini/ X) L" }6 w$ Y  H$ C* L
  237. ;   directive. Instead, explicitly set the output handler using ob_start().9 Z# ], m% G4 ?) i4 E
  238. ;   Using this ini directive may cause problems unless you know what script
    % L3 w( n  e4 \; k5 |" r
  239. ;   is doing.0 a! z# G1 \5 S* H) j2 T" X& y
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    0 I: N7 u9 ?, G$ ^. h" w" y
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".' O9 L3 i+ P1 I
  242. ; Note: output_handler must be empty if this is set 'On' !!!!8 O* x" w0 s4 {1 S
  243. ;   Instead you must use zlib.output_handler.
    - q# O9 |4 _& ]3 b! }
  244. ; http://php.net/output-handler% a6 o6 e) z+ h+ I3 E( P: z
  245. ;output_handler =3 O0 [9 _8 z) ^! U% f/ u

  246. 1 s! _: @8 `' v
  247. ; Transparent output compression using the zlib library8 f8 L* B! {) g& w3 ?" |  M% ~  _+ T
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size; s; V& g9 _$ G- m
  249. ; to be used for compression (default is 4KB)) y- E0 j0 q" S5 }3 Q& J1 f" l5 k
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP$ X0 D/ T) G1 E9 }
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    ( D0 s$ W) W" U. F9 W1 Q* B5 d
  252. ;   compression. If you prefer a larger chunk size for better
    , D0 N0 J2 u* G
  253. ;   performance, enable output_buffering in addition.
    . q( s* a. B7 U% Q
  254. ; Note: You need to use zlib.output_handler instead of the standard
    " R, J$ X$ j; q" |1 Q8 T, q1 W
  255. ;   output_handler, or otherwise the output will be corrupted.
    , ~. ]7 x% ?# A- H3 q! T
  256. ; http://php.net/zlib.output-compression  g9 U% K7 Y1 T8 ^3 M
  257. zlib.output_compression = Off- w& `3 z* T( ^0 d' |# o6 Z
  258. " k1 y' G( H1 Q8 H/ B
  259. ; http://php.net/zlib.output-compression-level
    * t/ v- r- y7 t" t
  260. ;zlib.output_compression_level = -1
    & R1 B) j5 v9 k; E2 w2 s$ O
  261. ' l  `# r- i# i3 n' F
  262. ; You cannot specify additional output handlers if zlib.output_compression3 v: [' V7 F8 d3 F
  263. ; is activated here. This setting does the same as output_handler but in" |( C* d4 N; @+ O& e
  264. ; a different order.. a; ^2 U( r: F1 W$ O
  265. ; http://php.net/zlib.output-handler6 s& r4 }* n3 |7 f1 ^5 p
  266. ;zlib.output_handler =) s8 G  }3 q8 n9 g% ~3 k
  267.   @( ~- v5 p9 B) [6 G5 P; a2 _
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    / ^( d& X. i) y- N3 e4 A4 [
  269. ; automatically after every output block.  This is equivalent to calling the
      m& A  ~4 I9 s& D% g( a
  270. ; PHP function flush() after each and every call to print() or echo() and each
    - x" E; B6 c, A3 b
  271. ; and every HTML block.  Turning this option on has serious performance
    ! M5 v$ E# _; u8 @, i) ^
  272. ; implications and is generally recommended for debugging purposes only.
    ( F- x8 z8 H1 F+ C7 p+ S6 P
  273. ; http://php.net/implicit-flush
    $ E6 _6 S$ o0 _- n! d8 y# L
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    ) V: O' G% h( l' @  ^
  275. implicit_flush = Off
    # J/ E, v/ [$ S4 J0 ?  a. Q

  276. 9 E9 c% w7 S6 R! Q5 m1 R# G
  277. ; The unserialize callback function will be called (with the undefined class'
    4 W9 ?" F3 q5 L" z/ A$ e
  278. ; name as parameter), if the unserializer finds an undefined class6 v" l6 G) F% L7 t% h: C+ o
  279. ; which should be instantiated. A warning appears if the specified function is# ?) K0 Q4 }# F* S& s
  280. ; not defined, or if the function doesn't include/implement the missing class.
    0 o  X+ K$ Q- H2 X/ R& D
  281. ; So only set this entry, if you really want to implement such a
    0 h/ X7 {8 ?' X5 L+ `
  282. ; callback-function." d1 |7 U, D/ k
  283. unserialize_callback_func =
    / M6 w6 L7 x- p, _& S/ \9 m2 d

  284. ) g, ^* N* B, F* R/ K( `' [# i( {% o
  285. ; When floats & doubles are serialized store serialize_precision significant
    6 M% [' @  ]; ?# M5 c* \
  286. ; digits after the floating point. The default value ensures that when floats
    + N; j/ A( K% _' w  a
  287. ; are decoded with unserialize, the data will remain the same." {- \$ [) o) E5 X# \7 A
  288. serialize_precision = 17
    4 u5 A  i. a# |/ F

  289. , |4 n8 p& G( o7 [7 r) z# D
  290. ; open_basedir, if set, limits all file operations to the defined directory$ F" X" q$ l  J) t: N3 u# n
  291. ; and below.  This directive makes most sense if used in a per-directory- L5 o% s1 |% d
  292. ; or per-virtualhost web server configuration file.
    9 ?/ @) `6 c3 x6 f6 q0 I2 d
  293. ; http://php.net/open-basedir
    : ^8 _8 c+ d; g1 Y% _, S( v5 G
  294. ;open_basedir =
    6 J$ x5 ~# K; y: U3 D) M; }( F
  295. ( ]9 w1 g: ]+ K( {
  296. ; This directive allows you to disable certain functions for security reasons.2 S/ \; P3 d; a1 y: B7 s
  297. ; It receives a comma-delimited list of function names.  X! P8 G+ H- k% W  h( P/ v
  298. ; http://php.net/disable-functions+ M$ J# U! l9 F4 e2 ], A8 y
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    0 ?. K  o  \8 _0 r) G: \, K* K* N
  300. 6 N8 l1 ]# h9 O0 q- k
  301. ; This directive allows you to disable certain classes for security reasons.$ Z4 D+ j7 {7 F1 y
  302. ; It receives a comma-delimited list of class names.
    9 A9 M- ^; W5 D
  303. ; http://php.net/disable-classes% Q7 T! K5 X  X% |, Y! g
  304. disable_classes =
    # E, t6 n, _2 B+ g8 j
  305. 6 P3 r) }9 w2 e# B6 O  h: C( ~
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    + \- J4 k! }, ^# p% J
  307. ; <span style="color: ???????"> would work.
    % N0 w$ v+ s6 r; E; Q
  308. ; http://php.net/syntax-highlighting; s0 |$ r/ i/ @' Q' A; L" [
  309. ;highlight.string  = #DD0000* C3 G) W4 T! W- N/ P  o
  310. ;highlight.comment = #FF9900
    8 c) P+ G. n: l3 a) \
  311. ;highlight.keyword = #007700/ `* z7 O8 w6 u- A4 h& ^! g% _
  312. ;highlight.default = #0000BB8 g& j  O2 c# {  L7 M
  313. ;highlight.html    = #000000
    ' F, U! q' \$ n1 X3 \5 P
  314. 5 \/ @, z7 _$ R( N* S
  315. ; If enabled, the request will be allowed to complete even if the user aborts5 x, q8 U& a# K+ ?( {5 g6 }5 _7 Z" _
  316. ; the request. Consider enabling it if executing long requests, which may end up% b% v: |& M+ j7 e5 B" a- _( f: ~
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    : K7 X# t; g* X9 R
  318. ; is to disable this feature.' E# O; U2 F2 f1 l
  319. ; http://php.net/ignore-user-abort; J  P4 @1 ^- |1 X+ h3 K
  320. ;ignore_user_abort = On! G# z/ ^* t; G: U$ v9 u) @; L! F
  321. - y9 r) G1 |: j9 v( o9 v/ H
  322. ; Determines the size of the realpath cache to be used by PHP. This value should( G* I6 Q4 s1 _+ h
  323. ; be increased on systems where PHP opens many files to reflect the quantity of, @8 g! S6 e3 \/ z3 A( B3 ^0 O
  324. ; the file operations performed.
    ' X3 h+ u5 _& A. j" C0 R) ^; V
  325. ; http://php.net/realpath-cache-size
    - B% g/ z/ F& I6 q5 E" w8 x) a+ X
  326. ;realpath_cache_size = 4096k
    2 Y% u! e) f, p7 d
  327. ) d% B0 P! e2 N# [8 ?8 b! Q: H
  328. ; Duration of time, in seconds for which to cache realpath information for a given% K! ?9 C9 j' M% f
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    1 B5 I4 u  `7 B. i5 [2 v
  330. ; value.
    0 w. P+ F- j- V2 g. e$ ~' b
  331. ; http://php.net/realpath-cache-ttl% }- W- G4 [% Y$ v. a- g- L
  332. ;realpath_cache_ttl = 120
    - Z" [$ o% C8 F, l8 A# U. F. h
  333. , \1 Z6 b, R8 D! D: h6 D* l& c: P' U
  334. ; Enables or disables the circular reference collector.' l! [( j0 V  i6 j0 d' L
  335. ; http://php.net/zend.enable-gc8 _' E( X* Y( P0 H0 X) {
  336. zend.enable_gc = On# ~( l+ ~( g7 M

  337. 0 U' z9 H3 N; e1 Y3 i4 ?
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ! P5 J2 f  t1 n6 r$ Z5 A
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such1 l- G+ t( N$ d+ x0 x
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    0 C1 z+ y& n- _
  341. ; Default: Off
    , X" n9 r  s* P
  342. ;zend.multibyte = Off' k" X0 G5 V$ M* M' K& y

  343. % p& E" Z1 }! \3 q' a6 N% }
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    0 }  }. y7 j8 I
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    4 Z# }' h% ^: L2 I+ G1 z
  346. ; Only affects if zend.multibyte is set.
    ( k* A9 Q9 C/ ?) A
  347. ; Default: ""
    ( T3 h) j4 M+ |+ Y7 W. }
  348. ;zend.script_encoding =) D' Y- G8 t2 K* W0 E3 ?
  349. 1 {5 C3 r3 m8 I
  350. ;;;;;;;;;;;;;;;;;2 t  n* U/ s" W" m& V4 p
  351. ; Miscellaneous ;; Z8 M( c% P( R
  352. ;;;;;;;;;;;;;;;;;
    5 K+ `9 q7 p( j- a+ r
  353. ' m' s6 z; e! Y- X7 V4 O  B
  354. ; Decides whether PHP may expose the fact that it is installed on the server6 @. ^4 d  g* E) M' M$ j% Q8 C7 m
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    : ?9 D. d' X# b
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ! E. N% [& q8 g5 l2 Z, [, e# K$ v7 D
  357. ; on your server or not.
    % F$ d' Q% G) s# c- X6 A: y- N
  358. ; http://php.net/expose-php
    / Y9 Y( m4 }2 T0 O
  359. expose_php = On
    7 O8 C& @0 ]4 v( i
  360. 5 ]3 D. t3 ^7 G2 H
  361. ;;;;;;;;;;;;;;;;;;;7 C2 W! ^+ [8 M0 o9 n
  362. ; Resource Limits ;! y) ]7 E( D3 f4 H( H
  363. ;;;;;;;;;;;;;;;;;;;+ k" Y8 B3 G7 E! ^2 b- h

  364. 6 S; `4 c$ |' q( b
  365. ; Maximum execution time of each script, in seconds" [6 V& `% t! N. |2 D+ Q
  366. ; http://php.net/max-execution-time
    5 l! v3 e; x$ w- N1 z$ R
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    4 Y% i) |5 A( Y# ^+ P( K% |+ q( z
  368. max_execution_time = 300
    ! _$ h9 n" e- `8 Q) [, A' h' T6 i

  369. $ N6 v; R% [+ I" M' B
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    6 |" d% ]9 U( V% X
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ( N. ], ]% o  d
  372. ; long running scripts.
    . E$ y. n2 Z# I0 D* x. f
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI8 d. V. W. C4 |' p# C% @
  374. ; Default Value: -1 (Unlimited)
    $ k2 @" `% ?) H% P  c
  375. ; Development Value: 60 (60 seconds)/ S/ l9 W6 \; H7 `
  376. ; Production Value: 60 (60 seconds)
    " _! c6 S: D$ c- g2 h# a* \# c/ L; [
  377. ; http://php.net/max-input-time0 k7 P1 W* D3 ^7 q# K
  378. max_input_time = 60
    4 A5 v" e2 n1 M! a) ^; W# C
  379. 6 C) j& Q) ]8 O3 Y
  380. ; Maximum input variable nesting level
    ' ~' r' V: f: a8 x
  381. ; http://php.net/max-input-nesting-level
    4 Y! q# v( j4 ~
  382. ;max_input_nesting_level = 64
    ; _9 ]! F3 g$ X9 q
  383. & J$ f* p( Z) N& [) Y& ^8 ]
  384. ; How many GET/POST/COOKIE input variables may be accepted
    ! C3 C, V/ v$ Q; Z5 L/ v
  385. ; max_input_vars = 1000
    $ i# o8 X& u  I, i) s- |; S
  386. , c/ C6 \& W% F1 A, Z
  387. ; Maximum amount of memory a script may consume (128MB)
    9 l$ M0 @. Z4 u7 d$ O) l
  388. ; http://php.net/memory-limit0 d' D* a5 I7 }: n/ e" p
  389. memory_limit = 128M
    - p; w* f" N; T6 i/ ~4 K
  390.   F0 o* k" F7 M
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5 t' m3 ~' Q  @( [
  392. ; Error handling and logging ;
    - i( P  u; C6 b9 G5 G. _5 x
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7 p' g: U  R# Q: T

  394. ; D; A9 y+ O0 D8 C
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    4 s( E  i" _! C/ ^0 s
  396. ; it to take action for. The recommended way of setting values for this
    , ^) ~3 A7 f% I. [) O
  397. ; directive is through the use of the error level constants and bitwise
    * G$ D/ a. j# m$ Q+ |* G
  398. ; operators. The error level constants are below here for convenience as well as$ l# w# T. }+ _) g0 q
  399. ; some common settings and their meanings.7 A4 o$ k( b4 B& m, N1 `! w: p
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ! t# J+ j# }6 t. F
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ) D7 D7 f! I7 x& s6 [: K; W' w
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    # p! `% e8 y6 E6 v; ~3 b
  403. ; recommend error reporting setting. Your production server shouldn't be wasting' h. A5 I7 @4 T
  404. ; resources complaining about best practices and coding standards. That's what
    + |* L, n( f1 Z1 q
  405. ; development servers and development settings are for.4 s5 l; d3 {( R2 V/ P
  406. ; Note: The php.ini-development file has this setting as E_ALL. This. Z- ^3 E8 E/ Q  O  V0 n6 A
  407. ; means it pretty much reports everything which is exactly what you want during
    2 a  j. [, A# q9 P& m
  408. ; development and early testing.
    : n- ~0 e, z/ t6 G# V, J
  409. ;
    / \% z: s) C* I: F/ b8 h
  410. ; Error Level Constants:4 O' e9 B) V0 d  G7 g- a
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! v2 e& X4 [6 q: }4 X* ?3 D
  412. ; E_ERROR           - fatal run-time errors  K% t/ p& m, p* K4 I
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors# n7 O  F  z$ @5 M$ S5 T4 |6 d/ x
  414. ; E_WARNING         - run-time warnings (non-fatal errors)3 |1 H8 b6 Z$ a2 v0 v
  415. ; E_PARSE           - compile-time parse errors
    2 ^1 k2 ?% W  o! y; o4 D; {: o1 o
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    3 ~0 G, I* ~' E, o5 \# }/ A1 f
  417. ;                     from a bug in your code, but it's possible that it was
    - v9 x9 L' u$ X  B+ d
  418. ;                     intentional (e.g., using an uninitialized variable and2 t  C8 L. c3 Y8 v+ b2 K4 f
  419. ;                     relying on the fact it is automatically initialized to an, g. s; k! T4 ]* j) o
  420. ;                     empty string)* C" b0 x6 ]" E/ S0 }# k  D8 U1 L
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes( J3 {, l  x8 a, N5 p
  422. ;                     to your code which will ensure the best interoperability
    ; o7 z1 U, K7 g6 @6 M
  423. ;                     and forward compatibility of your code
    $ i5 w2 o5 g& G
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup/ H, G6 v& Y5 e6 V
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's* L7 A2 p& ~9 x1 [9 F' R. H
  426. ;                     initial startup
    ; y& `$ m1 |/ x
  427. ; E_COMPILE_ERROR   - fatal compile-time errors# h% E& w, d* o4 ^
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    , l+ m6 x. g' p6 S* O5 Q
  429. ; E_USER_ERROR      - user-generated error message
    * j( @7 M2 ?! ^4 c( f
  430. ; E_USER_WARNING    - user-generated warning message
    & l' l5 @' j2 b0 |
  431. ; E_USER_NOTICE     - user-generated notice message: K& i  l% r1 k$ M4 Z6 h% V4 [. `
  432. ; E_DEPRECATED      - warn about code that will not work in future versions  M. R- P! D6 r, n& V& b
  433. ;                     of PHP! u# U/ o- K- e6 c0 ]+ g  \
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
      Z. y/ h+ J/ D' f+ `* ~7 V' i
  435. ;
    ) L5 [- W. n$ S; ~$ @
  436. ; Common Values:
    0 D: u" P' M: j2 f. p/ a# n
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    0 l# E+ D9 k5 Y
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)! S+ k/ k" _  `
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)& ^* W4 T/ o0 i8 P, B8 m( w7 v& w
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    7 G+ F& r  W9 w. @, k8 N$ v, H' H
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    : H, |+ u& S& Z7 M
  442. ; Development Value: E_ALL1 U' O! J2 F4 g" d% A- M3 Q
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 V3 O2 N8 \2 j2 \8 q/ L8 L  t
  444. ; http://php.net/error-reporting$ K8 w2 [1 o1 {" t
  445. error_reporting = E_ALL & ~E_NOTICE/ D& Z- @- r/ K. x

  446. ) T) N* |1 D) o/ [8 K0 [! {2 s; w
  447. ; This directive controls whether or not and where PHP will output errors,
    - p4 F' B, K( f( l
  448. ; notices and warnings too. Error output is very useful during development, but0 j( Z$ }" f2 ^: a: Q9 g
  449. ; it could be very dangerous in production environments. Depending on the code
    ! ^. b2 F0 z! y& H+ G+ K
  450. ; which is triggering the error, sensitive information could potentially leak
    6 h+ x: r) Y+ J
  451. ; out of your application such as database usernames and passwords or worse.' G* i& {) x8 p. {, c  f: E
  452. ; For production environments, we recommend logging errors rather than$ Y7 x; R. P/ p- L9 J* x% ]8 @
  453. ; sending them to STDOUT.1 X: ], Q9 Y5 ~+ i7 F
  454. ; Possible Values:8 j3 y- v3 s* X8 Q0 l
  455. ;   Off = Do not display any errors, O2 ]. {' ^: u0 H
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    0 {  P5 c) _% N4 v+ I" {
  457. ;   On or stdout = Display errors to STDOUT
    % U' W( F4 A+ X: A, K) C9 }
  458. ; Default Value: On
    + n0 |9 j! M1 ]$ w/ k2 B
  459. ; Development Value: On
      m; L* m0 ~5 ?% J9 ~9 Q
  460. ; Production Value: Off
    9 E' l* ]9 u8 D" l' E& O
  461. ; http://php.net/display-errors
    ( y" l! \3 k3 l7 v% t& I
  462. display_errors = On; M. ?4 L  c# g9 ^

  463. . Q/ F! Q2 k/ v
  464. ; The display of errors which occur during PHP's startup sequence are handled
    5 |, S- ?/ F! X* o. V/ ], [8 x. I
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    9 f' {; m! s: w3 u
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    / K0 m) \- X; W  Y$ N1 j
  467. ; debugging configuration problems. We strongly recommend you
    1 o% Z" _; ~5 m) v5 O: _# o, b/ C
  468. ; set this to 'off' for production servers.% i: o' j% `5 P
  469. ; Default Value: Off* T( b; S. \4 f8 Y! r8 C
  470. ; Development Value: On; `( `% U" Q8 V' D; M$ E! n
  471. ; Production Value: Off' X0 \( a- {: u1 Y* j) V, b
  472. ; http://php.net/display-startup-errors  j6 G+ e7 k. t: u
  473. display_startup_errors = Off# R. U! l% G, Z
  474. 2 e+ F8 u. c' Z! t# q
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    + D# e; A8 E7 [8 N+ X( B
  476. ; server-specific log, STDERR, or a location specified by the error_log2 V/ |  b0 f0 x6 [* R' v
  477. ; directive found below. While errors should not be displayed on productions
    9 O' X. b5 w9 o4 X; m
  478. ; servers they should still be monitored and logging is a great way to do that.
    " f" b' h! U- i
  479. ; Default Value: Off
    , h1 `, M0 \6 `" P2 c/ T
  480. ; Development Value: On
    4 _- A; u5 w* }
  481. ; Production Value: On
    0 M9 p) ]2 q' @, d# m1 X4 B
  482. ; http://php.net/log-errors
    7 c2 J: f9 h- @5 \+ ~) M! N. S. \
  483. log_errors = On# k" n$ g. F5 H- W. M; \; t; o
  484. 7 y' B, J  K# }( O0 F# e
  485. ; Set maximum length of log_errors. In error_log information about the source is
    7 b: J2 e2 _( d# J5 J+ v8 D2 U
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    - j; z/ f- n' g5 |' T+ @
  487. ; http://php.net/log-errors-max-len- k3 v" T; c( T0 n, e5 K! Y: N
  488. log_errors_max_len = 1024
    ) k: e! q, v: m' H
  489. : @3 |* {& K* O: e
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same& a4 Y" g) g' ~' m- I0 I5 Q
  491. ; line unless ignore_repeated_source is set true.6 A9 I4 I% q) b! ]) W
  492. ; http://php.net/ignore-repeated-errors3 G# L8 K; ~2 U" g3 ]* M
  493. ignore_repeated_errors = Off
    % _0 e0 f) q& }  C% ~
  494. % r- M/ u, |5 Q, m- i; B, U2 G
  495. ; Ignore source of message when ignoring repeated messages. When this setting! t7 e/ Y" ~# e$ P1 w( b* h
  496. ; is On you will not log errors with repeated messages from different files or. g  a( d: n& ~
  497. ; source lines.
    - c! o- y8 s6 |* s/ S+ k
  498. ; http://php.net/ignore-repeated-source: R7 ?- {9 b( A
  499. ignore_repeated_source = Off
    ) ]( ]* G8 X& t% R, s8 w4 c. m

  500. 8 T+ C. {  T  M/ N9 p  L) c0 D, D& k
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on0 v6 T9 e+ t( Q0 ^
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ' F2 r3 _" d3 j+ }$ G9 g0 h" ^
  503. ; error reporting includes E_WARNING in the allowed list
    0 Q. T( e9 a7 Y6 E) a- ^
  504. ; http://php.net/report-memleaks5 t& B! F0 k3 Q, Q/ N+ j0 x8 E
  505. report_memleaks = On+ H, x& m2 m! w
  506. ! l$ r! b& o7 F
  507. ; This setting is on by default.( s( ^& j$ f4 L2 H9 N/ B
  508. ;report_zend_debug = 0
    + Q8 b2 n2 K# K' m8 [+ ?( @9 W
  509. ! R2 w5 ^8 e) d/ E. ~6 T) m# W
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value( L( H7 P6 }$ ^2 B) X5 S5 ^
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    2 {; `( {" D9 x$ H0 i& K
  512. ; however be disabled on production servers.  W1 L! g# \4 v9 \9 _
  513. ; Default Value: Off
    ( C8 O& _) [0 i& a" }
  514. ; Development Value: On# _3 h$ G1 J3 Y2 y: r- t
  515. ; Production Value: Off1 ?3 U& E+ b- B# w
  516. ; http://php.net/track-errors7 W. K, R. `: a, x; ]
  517. track_errors = Off
    ( K: P7 x9 }4 A6 n8 h/ `$ X. ~
  518. ( _) I. y* F7 T
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    * E% m4 N6 {( p8 ]& D
  520. ; http://php.net/xmlrpc-errors
    - g$ F0 W3 W+ ~5 S( Q5 L
  521. ;xmlrpc_errors = 02 h" K; o: Q  {/ G

  522. # E4 P+ q% [$ C
  523. ; An XML-RPC faultCode
    7 O# B+ ]- Y. r3 ~
  524. ;xmlrpc_error_number = 0
    # @3 Z* n2 u0 c' {! `

  525. ( r0 X' ~& k0 K: Y7 l
  526. ; When PHP displays or logs an error, it has the capability of formatting the! @* x6 o; z/ f: Q* A, W* D- o
  527. ; error message as HTML for easier reading. This directive controls whether
    6 i. B, ]1 b7 D6 q8 s/ y8 x) [
  528. ; the error message is formatted as HTML or not.' n$ Z) N, q# _1 G' ^
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI" s2 q4 _1 B& L, Q0 e
  530. ; Default Value: On3 A+ J, x3 f7 F9 R
  531. ; Development Value: On
    7 W$ Z# j! g9 l1 g* g; Z0 ~8 m
  532. ; Production value: On8 {0 }7 y7 @# u- ~8 K6 P5 e; q0 Y
  533. ; http://php.net/html-errors- W/ ^+ ^6 V1 b, d% Y0 [4 M* Q
  534. html_errors = On) m+ W8 q# _) }: D& ]9 T6 W4 L6 G
  535. 4 h3 v# u' L. e$ Q$ O( W
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    " [0 z5 p  x* Y( \" y  u
  537. ; produces clickable error messages that direct to a page describing the error- P: o, s1 M; o3 r+ r
  538. ; or function causing the error in detail.# L7 R& B& E, v: ^
  539. ; You can download a copy of the PHP manual from http://php.net/docs0 M% H% G8 Y. Y+ A# r6 E9 ~
  540. ; and change docref_root to the base URL of your local copy including the
    0 s2 T) Q/ b9 e
  541. ; leading '/'. You must also specify the file extension being used including
    5 P8 O: U8 |+ F; q, n! d
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    4 [, @: `8 }4 _
  543. ; case no links to documentation are generated.2 T/ V: j0 [0 P" G/ H
  544. ; Note: Never use this feature for production boxes.3 Q* _/ H2 ?, p4 ?. j. o
  545. ; http://php.net/docref-root4 c! Q  ~, ^. Y
  546. ; Examples
    6 U0 p6 ?$ o' f
  547. ;docref_root = "/phpmanual/"
    0 _! N: }6 }6 n5 N0 v+ {* l- e

  548. * \  D* w+ g* ^+ R# S
  549. ; http://php.net/docref-ext
    7 a' }. B  N" q! X% v
  550. ;docref_ext = .html
    ! {* p5 _7 d7 x2 x; t; ?

  551. & [5 c. F, R. Z. v9 s( {% R" _5 \% `
  552. ; String to output before an error message. PHP's default behavior is to leave7 r) U' y: A3 l$ a- o( c" G
  553. ; this setting blank.  f4 \* v. L% x  y/ f" F0 A
  554. ; http://php.net/error-prepend-string
    . S+ z/ T# m+ B7 y; H& P! o" {
  555. ; Example:
    # h1 K! F. }8 k
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    : C2 p# [! P' Q- Y* {
  557. 3 E1 a' \3 l; \- @) t* L
  558. ; String to output after an error message. PHP's default behavior is to leave
    7 E! v; [3 }5 ^; `- M; B- E1 c* V
  559. ; this setting blank.
    8 C. y" F) c( k9 m! b4 P
  560. ; http://php.net/error-append-string
    * s& I: n  K- }; b$ [1 k% _
  561. ; Example:  o- G/ X1 C4 @, k. X
  562. ;error_append_string = "</span>"! m$ z! E% C% ~; F; q; t
  563. 4 j8 x- r1 {8 {: j  G
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    # I, T$ e, _; H% Y+ m
  565. ; empty.
    ( f9 \- Y' x, M' i
  566. ; http://php.net/error-log, Y+ _! _! t+ {5 k# a
  567. ; Example:
    ! s% X5 b, e: j/ r, `# A* t" u
  568. ;error_log = php_errors.log: Z' W. L1 @% K: M/ H% ^
  569. ; Log errors to syslog (Event Log on Windows).* e1 c7 g' F$ _, R4 E
  570. ;error_log = syslog/ ~( j0 W4 {& V- {5 w. e8 ?" o
  571. + K# _7 X5 t9 ]9 B* z; x7 F
  572. ;windows.show_crt_warning, l* T; l* a1 ~  \
  573. ; Default value: 0
    + n0 p( l/ F$ }, u9 S
  574. ; Development value: 0; n% X8 f' \2 k( p; w
  575. ; Production value: 0+ }0 F* x7 r, r, h

  576. ; P4 K9 Y4 |2 m) q1 M
  577. ;;;;;;;;;;;;;;;;;
    : k3 H9 z; e" W$ s
  578. ; Data Handling ;
      W8 O* g8 W0 @9 v  f* S3 Q+ B
  579. ;;;;;;;;;;;;;;;;;+ w( D: h) }' ~2 Q$ A) m2 s
  580. " s7 _% B/ _2 D% Y. v' [3 J" Q* S
  581. ; The separator used in PHP generated URLs to separate arguments.. B6 R+ H5 P! r6 y0 q& y
  582. ; PHP's default setting is "&"." t" X- i- u: O8 h3 P
  583. ; http://php.net/arg-separator.output- F& \1 E7 b2 s
  584. ; Example:
    4 T; E( O2 _  V8 s3 |. q
  585. ;arg_separator.output = "&"
    ) Q% j( e* g  T; g) h1 s- W

  586. + P9 \7 o* d* D2 M* {6 O
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    2 u2 A7 a2 \9 h
  588. ; PHP's default setting is "&".
    : P! v3 W* @) s7 q7 V! j. l' J
  589. ; NOTE: Every character in this directive is considered as separator!
    5 x( I9 Z& S, O  Q
  590. ; http://php.net/arg-separator.input+ ]# x7 w+ K" }
  591. ; Example:4 M$ S, F5 N+ t4 j, E
  592. ;arg_separator.input = ";&") F6 ^) B% F2 O* F
  593. ' ^4 U2 b: E; A) q  n- e7 o
  594. ; This directive determines which super global arrays are registered when PHP% n5 g! n, J0 }" H# A# j1 u# t3 H
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super; s9 {- Y4 u! d2 j
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    0 P. ]& L, G8 j& r0 D$ j
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    & h! Z6 d9 @+ @3 b6 I# W2 |
  598. ; used as the others, ENV is not recommended on productions servers. You! u$ W0 X& o- j( c2 J
  599. ; can still get access to the environment variables through getenv() should you
    3 E# m( r- o, @1 V# O- p) K" g" I
  600. ; need to.
    1 H  b8 \% d% k$ m# l9 s
  601. ; Default Value: "EGPCS"! f- l( Z. o6 T1 f3 M
  602. ; Development Value: "GPCS"
    2 z; G  p, {$ v/ C# B8 s$ S: }
  603. ; Production Value: "GPCS";/ Q: [/ _2 W' Z: r
  604. ; http://php.net/variables-order3 I7 [. k8 ]5 r7 p3 x* s) h' R
  605. variables_order = "GPCS"# Z6 c; F* x6 e6 }
  606. ( G. ]0 o; W! O' Y9 n9 b
  607. ; This directive determines which super global data (G,P & C) should be) V" R. V5 u3 S; Z
  608. ; registered into the super global array REQUEST. If so, it also determines( ^$ k( ?5 U' t# t! O1 q
  609. ; the order in which that data is registered. The values for this directive
    3 N) i; e' X7 c0 K  Q
  610. ; are specified in the same manner as the variables_order directive,+ f2 A: j/ F$ w( B# \6 M4 i
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set; E4 a+ x4 N$ t% y4 u
  612. ; in the variables_order directive. It does not mean it will leave the super' M0 V4 }0 k0 Y) ?9 X( [9 }
  613. ; globals array REQUEST empty.9 _1 ]! c& H* h- U, j
  614. ; Default Value: None9 g! M5 `- _$ a9 G! d8 l( U
  615. ; Development Value: "GP"
    0 L1 Z3 U0 ^3 e* M, ]% l" P
  616. ; Production Value: "GP"
    - Y1 v# q5 P* {1 w3 o: E
  617. ; http://php.net/request-order
    ! `  l- j6 }8 l/ l
  618. request_order = "GP"0 s, j* S( {: L. \8 N: K6 @' e
  619. / E" |2 \6 a; G) l' ?6 O" y4 w
  620. ; This directive determines whether PHP registers $argv & $argc each time it  J$ b- N/ \% L
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script) d9 q7 A) m- Y( h  `% |
  622. ; is invoked. $argc contains an integer representing the number of arguments2 p+ P' ~9 u! i: c1 Y+ j5 y
  623. ; that were passed when the script was invoked. These arrays are extremely
    - @" d) t2 M/ E! U
  624. ; useful when running scripts from the command line. When this directive is% [) z! U3 B- L; h5 y1 ~
  625. ; enabled, registering these variables consumes CPU cycles and memory each time+ |9 V* y; W+ g$ s
  626. ; a script is executed. For performance reasons, this feature should be disabled- ^7 R  y; E9 X+ \9 X
  627. ; on production servers.5 ]* o" s$ G+ k; I
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 v2 u9 {9 g, W( s) K6 ?
  629. ; Default Value: On
    0 ^6 m0 \( p* @
  630. ; Development Value: Off
    9 j) G0 ]' Y2 H' K1 }0 f. m& T2 [
  631. ; Production Value: Off
    & ?7 ^' Z& Z' d- W
  632. ; http://php.net/register-argc-argv
    - \; _+ X4 s% o
  633. register_argc_argv = Off
    ! k" V; ]8 ]1 ?

  634. - e6 G9 [' R- G0 }4 Y, T
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're0 B& J4 _% M; U5 w9 S- }+ H
  636. ; first used (Just In Time) instead of when the script starts. If these
    * |% X# z( @) T0 v. N; f
  637. ; variables are not used within a script, having this directive on will result) J0 g% K2 k/ ?$ o
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ' y) P) y7 t7 S$ L
  639. ; for this directive to have any affect.6 J! R, b/ H  C1 ^
  640. ; http://php.net/auto-globals-jit
    % a) I5 S2 U4 g
  641. auto_globals_jit = On
    : g+ Q. v8 v5 N( y

  642. & e1 J+ m- x! X
  643. ; Whether PHP will read the POST data.
    9 z, l- i, f( `# u7 g
  644. ; This option is enabled by default.
    8 y1 P' C6 r/ h  [* r/ s
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ; C; P# V! W0 j5 m6 _/ D% i
  646. ; and $_FILES to always be empty; the only way you will be able to read the8 B7 M# S4 k  q
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    1 ^" l# R5 |- Q
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.5 D+ w$ P/ z4 x" Y  E1 s
  649. ; http://php.net/enable-post-data-reading4 b& R! U0 }8 W5 N+ d. k3 L
  650. ;enable_post_data_reading = Off
    * Y$ F) j2 f9 M6 Y2 Z3 o/ V

  651. % I9 P' @& z; D$ R/ R( E2 Z
  652. ; Maximum size of POST data that PHP will accept.2 k- [, K, b6 K- U' F( q5 m( {
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading" S0 c& B+ S+ x% Y& f
  654. ; is disabled through enable_post_data_reading.3 N7 P. ?: G$ Z$ s+ {# r
  655. ; http://php.net/post-max-size
    . B# t- W! k) o0 a' O6 A9 `0 Y
  656. post_max_size = 50M0 j- Q5 |. _8 f. x+ |' |
  657. . X' I2 J, R- W2 v) W4 r- J1 I% O. N+ W
  658. ; Automatically add files before PHP document.
    2 Z0 g2 ]3 u1 O) I; }( I  k# a
  659. ; http://php.net/auto-prepend-file* u5 n6 j0 f1 C# X+ o" n6 X
  660. auto_prepend_file =# D. ~. y" A" z

  661. : [: \% t$ H; p/ E: o
  662. ; Automatically add files after PHP document.
    , r1 v$ H( ?/ n. S7 X% A
  663. ; http://php.net/auto-append-file
    ; F9 M" I9 G5 a4 z6 N6 ]9 D3 U( c) _
  664. auto_append_file =
    $ \& l9 D- [" a7 g; A0 B$ f9 [

  665. % |4 w& [7 m9 o$ ?; o4 {* Q
  666. ; By default, PHP will output a media type using the Content-Type header. To0 V; ^+ b9 A  q2 V' x# ?
  667. ; disable this, simply set it to be empty.
    7 @; [! ~$ {" c9 h8 M! z
  668. ;0 r4 _( P8 t' Q$ v7 @9 c' H
  669. ; PHP's built-in default media type is set to text/html.
    3 q  u5 E: g6 Q" s4 \
  670. ; http://php.net/default-mimetype
    9 u- B$ v2 o1 o9 N' Z. }1 L
  671. default_mimetype = "text/html"
    - }  F/ N& }/ {1 m. x
  672. & R+ N. K5 s; l4 u  H8 n. a- W8 J7 \0 w) ~
  673. ; PHP's default character set is set to UTF-8.% o/ T7 {" y! M. N1 N- F- f
  674. ; http://php.net/default-charset
    . ^& b, i9 K4 ^6 [
  675. default_charset = "UTF-8"" T: L7 _1 A+ ]4 Q' \" c$ J. ~/ x

  676. * A# g3 k; |* Q/ Y. k* c4 [
  677. ; PHP internal character encoding is set to empty.& q5 ]: }  M) J. F  C9 ^- ?
  678. ; If empty, default_charset is used.
    $ `- S' [5 i6 b1 l
  679. ; http://php.net/internal-encoding  r/ {$ W# s& }. A* W
  680. ;internal_encoding =" i' o0 z5 K8 M8 ]1 g3 G; U

  681. 4 p4 r8 F0 C) K. z) y& k
  682. ; PHP input character encoding is set to empty.1 }* x8 l0 c: K, u' f
  683. ; If empty, default_charset is used.! O. K) C& x1 y2 r7 d
  684. ; http://php.net/input-encoding
    8 A6 o  M* \0 k0 C8 \$ L: Z9 G$ ^
  685. ;input_encoding =5 U0 ^5 C. J$ {/ ]. {- [0 v; O. b
  686. " H5 D  U" e" p0 ?' d& c# q* [
  687. ; PHP output character encoding is set to empty.
    8 _+ P3 t4 c( i2 n1 |
  688. ; If empty, default_charset is used.
    0 D& Q1 G; Y1 o& p1 s9 M" o/ T
  689. ; See also output_buffer.% O. l4 A/ v3 D* }- j( J4 u9 G
  690. ; http://php.net/output-encoding
    ' o+ s7 }9 |9 y8 S& \
  691. ;output_encoding =- X' C. \( J! u

  692. " @# A: ~% u4 b, t7 Z
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;2 m! @- G) J1 s- `8 L
  694. ; Paths and Directories ;
    4 @6 E2 A0 @3 s$ I
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    8 t# @5 T9 i) p

  696. 3 s6 p# P! z( X/ b2 H( g
  697. ; UNIX: "/path1:/path2"4 `4 Y! e" I6 `% E
  698. ;include_path = ".:/php/includes"
      B. S  w* O5 s& w, E$ W( j; d
  699. ;- W! j+ q, `3 G* e$ a  M# q, Y5 V! I
  700. ; Windows: "\path1;\path2"8 h1 a  a8 ~! d6 z
  701. ;include_path = ".;c:\php\includes"/ a3 j4 I1 I' W$ m# X6 y
  702. ;
    3 p) b; m8 c' q: W2 {" o
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ; m, y1 R- L4 T, g2 [( R
  704. ; http://php.net/include-path
    ! j9 x# o: d4 N* ?* C& l9 [
  705. ; h5 \* L3 E3 C: ~
  706. ; The root of the PHP pages, used only if nonempty.
    3 m" W, N0 ^$ a  s( z# l. x
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root8 S+ ?, C; |7 f5 u8 h6 c  Y
  708. ; if you are running php as a CGI under any web server (other than IIS)
    9 R% C. ?6 I+ g9 F
  709. ; see documentation for security issues.  The alternate is to use the% x  a# {. \, h$ r
  710. ; cgi.force_redirect configuration below
    & T& M! k6 y6 u( \- C+ E9 m# ^
  711. ; http://php.net/doc-root
    / o0 B3 ^8 _2 _, h4 c2 i4 M( R; P
  712. doc_root =
    $ U, L# s: n  y  E
  713. ( V+ S7 z6 {, ]8 o1 Q  ?) C6 m
  714. ; The directory under which PHP opens the script using /~username used only9 S$ i9 f6 q# o: N+ d/ c
  715. ; if nonempty.
    3 L8 _- y2 w. `% Q& Q
  716. ; http://php.net/user-dir
    ) G" Y. w6 l. A+ O
  717. user_dir =
    9 A- W( ^* ]; g" d3 A9 ^6 A6 |

  718. 9 Y' f+ U. Q( \2 N
  719. ; Directory in which the loadable extensions (modules) reside.
    / a3 T3 G1 C) o4 |) ^3 T* C
  720. ; http://php.net/extension-dir
    * }1 {1 M" ]1 \
  721. ; extension_dir = "./"
    ; k( {6 n9 O7 Q& Y
  722. ; On windows:* i! H; k$ t8 v" G" P; c$ F
  723. ; extension_dir = "ext"
    ! f2 h$ I; h  g% T& ]- }$ g

  724. # J5 z5 K9 Z; P5 m3 U2 q
  725. ; Directory where the temporary files should be placed." e7 ^3 e( ^/ H4 b" \
  726. ; Defaults to the system default (see sys_get_temp_dir)
      U8 v7 s% k  G1 E, ~' q4 m' @" }
  727. ; sys_temp_dir = "/tmp"
    ) W' `9 P. ], P# n: B
  728. , W, {( G8 \5 s+ C' H
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work; `0 N3 N6 z0 C8 Q3 Y
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically; |& b2 T5 Q4 W4 X! A' G2 T
  731. ; disabled on them.
    % y1 c: X* h+ y1 a
  732. ; http://php.net/enable-dl
    ' o% Q( e( E6 V2 i1 b
  733. enable_dl = Off
    , a, _8 D$ b. q2 o

  734. / H0 G! I5 w5 ]4 q" ^3 S3 e+ f
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under. e; a% N- y4 H+ x  c) ^
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can( Q, Z9 t9 r1 _2 V5 f! o
  737. ; turn it off here AT YOUR OWN RISK
    / p) T9 |% L- f
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**3 R* q% Y6 Y3 e* {" [5 g0 J
  739. ; http://php.net/cgi.force-redirect6 Y: y- z) W9 p: K1 i3 y2 r+ h
  740. ;cgi.force_redirect = 1
    , U) Y$ R- \0 A
  741. , Y# [! Y, y+ o) j0 {8 E! x
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with2 C* \, |* i4 {8 [- G4 p" y
  743. ; every request. PHP's default behavior is to disable this feature.
    9 C- Y) w7 j0 p
  744. ;cgi.nph = 1
    " l. X! O& j" \
  745. 3 W, o2 U& \, [& k6 g5 q. o
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape% J* k3 T: z7 K  D
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    , j" g* n/ J0 \/ Q- {: F+ p3 G
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY2 b1 [8 G& k$ |/ n+ T- C9 ^% D
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    % X5 a+ l7 [( G6 c4 a7 Q& T0 b
  750. ; http://php.net/cgi.redirect-status-env/ G7 @! Z/ }' s; G0 w+ M* M
  751. ;cgi.redirect_status_env =+ K: `7 Y, l2 C% `8 O$ k
  752. 9 p2 f( g7 o- J- j
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    + x- O6 L, V( j% ?
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok" n) Y2 ^  P' A0 d+ C% ^4 R7 B
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting0 K1 o3 O4 h9 J' N
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    6 x7 Y4 r) K& U5 ]
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    " ]2 G' R, d8 b. ?% g0 m7 h
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    * ?' H5 t+ d) Z: x0 S: d# G
  759. ; http://php.net/cgi.fix-pathinfo
    2 {  i+ h; i, F
  760. cgi.fix_pathinfo=1
    7 A9 H# L& z, f( \9 A
  761. 2 O6 K3 |: O  \7 ^
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    7 v5 ?7 ]. |  o. r
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    . g% p& m) O* S3 k; C% a
  764. ; http://php.net/cgi.dicard-path$ A4 k3 J, D! Z  M/ V- y& X" y
  765. ;cgi.discard_path=1
    ' T0 a& d: C  l- |/ V* n6 s
  766. ( \, k8 X5 m' ?( O# s9 Q+ z
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate- ]! K* f  p5 Q
  768. ; security tokens of the calling client.  This allows IIS to define the0 K7 X1 J5 o' x+ y
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    ; F- o1 T/ y6 k% ]" a: P
  770. ; does not currently support this feature (03/17/2002)
    4 l, f0 J! R. [2 h8 G
  771. ; Set to 1 if running under IIS.  Default is zero.
    # X; F4 c" o( l- g8 K
  772. ; http://php.net/fastcgi.impersonate  u2 X! e- u3 K& m5 u9 H
  773. ;fastcgi.impersonate = 1' J1 O) e$ G7 A4 k) q) u/ X) ~' l

  774. 5 e: Q8 |+ d+ x
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable/ E0 ~9 k% A: g6 U; }
  776. ; this feature.
    ) _& S% |1 ~/ [/ Y4 c
  777. ;fastcgi.logging = 0
    % Y  ?9 F' C' L+ B5 `6 O( @0 U6 O

  778. # g- r- R5 T# q4 S- o9 d
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ; D- d% ]1 @( c9 ~* L
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that  F9 t1 ^& M0 A  @8 w
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ) p* O1 c% ~2 J& F8 [- c
  782. ; RFC2616 compliant header.2 o$ Y. U. B- o5 I! r  ^
  783. ; Default is zero.
    0 i) l( u" I1 F; R9 A
  784. ; http://php.net/cgi.rfc2616-headers
    3 I1 l" |# |8 R/ |) A0 L
  785. ;cgi.rfc2616_headers = 0
    * _3 J! D; l* H  d) Q
  786. ) P/ E4 J% s7 u' A
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    9 ~. }- O# X1 }
  788. ; (shebang) at the top of the running script. This line might be needed if the
    - x- }* X! d8 J+ I# T" U3 f
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    & A: `$ w# ]  z& y, q* b" N
  790. ; mode skips this line and ignores its content if this directive is turned on.+ u. z8 ^4 n8 U' i' \
  791. ; http://php.net/cgi.check-shebang-line
    ( `5 U) X/ j1 Z4 h
  792. ;cgi.check_shebang_line=1
      C+ W1 O( h3 I! G: N* h! W8 y

  793. 5 w; x) X0 w5 x  L
  794. ;;;;;;;;;;;;;;;;
    ' y) s' s/ Y4 S8 y# h$ S
  795. ; File Uploads ;& H; o8 n1 N+ P5 H+ @+ J" C
  796. ;;;;;;;;;;;;;;;;9 T; |1 G( q3 r: T! N- c

  797. . }3 o" T' I9 U  F6 |# ~, q
  798. ; Whether to allow HTTP file uploads.
    0 p  d) E& v2 j. c" \1 f! \
  799. ; http://php.net/file-uploads9 M1 ]9 x: g- A1 e
  800. file_uploads = On
    ( H. j) I( ~; h9 q2 A
  801. : e8 e2 u9 e7 }; t5 O
  802. ; Temporary directory for HTTP uploaded files (will use system default if not- x9 i& j8 k# P! a! V; D
  803. ; specified).
    2 j0 v; c5 D8 Q/ S4 h
  804. ; http://php.net/upload-tmp-dir
    - z; O1 ?: x0 S7 J' d) A% f* b: g6 B3 p
  805. ;upload_tmp_dir =
    2 H) f2 k% N2 A0 b5 V7 {/ [. x

  806. ; K7 W: V) W, m1 `5 q; Z
  807. ; Maximum allowed size for uploaded files.4 Q- a* r9 E1 X8 N$ r
  808. ; http://php.net/upload-max-filesize8 m- \  T3 ?8 t; l6 Q
  809. upload_max_filesize = 50M! V! N6 ?: T/ u2 `! h1 k; e. t
  810. + q( c) p. N* |# k6 P' U! X% `
  811. ; Maximum number of files that can be uploaded via a single request9 R( `! {; K$ ~9 }4 v9 @
  812. max_file_uploads = 20
    * ?6 z" U' C1 x( [* Z0 L  Z
  813. % L3 u1 P: B5 c: R2 t* m
  814. ;;;;;;;;;;;;;;;;;;
    7 H# f6 K- Y! l
  815. ; Fopen wrappers ;+ S2 R% V+ @+ ]8 ]; p& f
  816. ;;;;;;;;;;;;;;;;;;( E0 q4 j3 r6 `, U, |9 W2 _

  817. : E- b' ]0 R0 M) J1 R: M
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.# }1 |2 I2 t% h( @3 \; \/ R) V
  819. ; http://php.net/allow-url-fopen
    % D4 g  R# P* v" s: F2 L/ a" w( v$ \
  820. allow_url_fopen = On
    6 }" p! K) |- I/ O9 m
  821.   d+ }+ G5 S0 t$ G$ G% Y
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.& k1 A) h/ Y( }9 h5 r/ v" O! @/ y
  823. ; http://php.net/allow-url-include
    - W0 C; ^' v7 o
  824. allow_url_include = Off
    & L/ Q1 g) @( v* H; ]/ z) {

  825. & O$ x+ e* {6 i* N% G8 L3 s" [9 u
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    $ D1 e! g6 ]7 b) @* H8 O
  827. ; for this is empty.( {$ k3 `- [8 l* ~( l# ?
  828. ; http://php.net/from- J& t4 f+ S) P3 D- J+ v
  829. ;from="john@doe.com"
      }7 z' B  m. L9 M
  830. # `- O) N. B* c2 s9 P1 Q
  831. ; Define the User-Agent string. PHP's default setting for this is empty.' L) |) D+ R/ V
  832. ; http://php.net/user-agent
    1 `* ^" F6 Z; I# ^
  833. ;user_agent="PHP"
    # ^* b& @0 n2 D1 ]/ _# t! N; @% I
  834. 0 {6 S; _* ?' D" E+ B, C: g- J
  835. ; Default timeout for socket based streams (seconds)3 M1 Y/ q5 \; N* F; w+ g
  836. ; http://php.net/default-socket-timeout
    8 g+ Q! _% v- X: b4 N% W
  837. default_socket_timeout = 60
    - g1 L& y3 t7 K, S) E" r8 s
  838. ; {% B! @+ N" ]& U5 T
  839. ; If your scripts have to deal with files from Macintosh systems," B3 T. q1 |( e6 t4 ^! d5 s2 B
  840. ; or you are running on a Mac and need to deal with files from6 E0 J! F- ~( b; K0 h
  841. ; unix or win32 systems, setting this flag will cause PHP to2 F8 s/ Y0 K/ X7 M! S( Y
  842. ; automatically detect the EOL character in those files so that
    $ F9 b$ I4 X& z' ]. y( [
  843. ; fgets() and file() will work regardless of the source of the file.8 {$ T4 C7 M, @$ z  l( N
  844. ; http://php.net/auto-detect-line-endings$ s& |6 u- @& K
  845. ;auto_detect_line_endings = Off; a9 p+ e& k; `, q& T: W
  846. 2 e1 c- E3 g: V0 L" |2 D
  847. ;;;;;;;;;;;;;;;;;;;;;;
    & q. V! O' f/ M; w8 \& l3 v
  848. ; Dynamic Extensions ;" @; ~( e6 y3 E/ K; x$ ^5 U# F
  849. ;;;;;;;;;;;;;;;;;;;;;;4 V- o& |$ Y% J2 g3 F! T
  850. # [& f  n' d! q2 @) g/ M
  851. ; If you wish to have an extension loaded automatically, use the following
    ( H. y$ A& I' M' `" P
  852. ; syntax:
    1 u% S0 O  e6 {8 g- P% q! q0 m
  853. ;8 X+ M  |! K+ |# c/ R
  854. ;   extension=modulename.extension, S) I4 w5 K& e3 a$ e4 j3 }
  855. ;3 ^# V% X  p- K/ h! S. i* }3 V
  856. ; For example, on Windows:) y! T/ n$ C" x% C$ r: Z
  857. ;' t+ h2 Y, T6 p* y2 g
  858. ;   extension=msql.dll
    5 }' R) ]# b: u- e
  859. ;
    & j4 s1 \! ^+ g: H7 o  t
  860. ; ... or under UNIX:
    ) q1 \1 ]; F% l2 B# R9 l
  861. ;' \9 Y: q1 H3 _1 A. u
  862. ;   extension=msql.so
    ) _. V; h, r3 f
  863. ;
    # U0 j, {! }% T8 |
  864. ; ... or with a path:+ N, J; Q' W4 r+ K* P( f& [: i
  865. ;3 E% ]* f  C; b6 u4 d
  866. ;   extension=/path/to/extension/msql.so
    * P6 |+ M, ], k1 J- h6 J. _
  867. ;$ T. @1 ]* a( |6 {9 e* k9 N& m
  868. ; If you only provide the name of the extension, PHP will look for it in its& ^$ O7 V3 |/ f7 Q6 h
  869. ; default extension directory.
    ( w0 B! D8 \( o6 O  @
  870. ;6 c: s5 V' D3 S2 d6 ]/ F7 K
  871. ; Windows Extensions% x/ F  u) Q& w7 c3 g% w, D  f7 i2 Q
  872. ; Note that ODBC support is built in, so no dll is needed for it.0 S% [1 a: A9 d8 `3 d5 g5 j
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    4 t- H" y6 Q! g+ L* l# \& U0 a+ K
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    ( I% `# w! v9 f1 c3 }
  875. ; Be sure to appropriately set the extension_dir directive.
    * B7 l" [" B: D, A5 ~
  876. ;
    ' `- w( o! D5 U# R- F) }5 {
  877. ;extension=php_bz2.dll
    8 C/ \& O. g, p& t4 |
  878. ;extension=php_curl.dll( x  B  @" o6 {+ L' \% O/ B
  879. ;extension=php_fileinfo.dll
    , c. k: v+ K: J% G" D% `5 m4 ~/ |
  880. ;extension=php_ftp.dll
    9 _% v* q0 L( z4 @. A
  881. ;extension=php_gd2.dll
    ( V! j' D0 g) M
  882. ;extension=php_gettext.dll+ h+ J( M7 a& s0 N0 g+ V2 @% k
  883. ;extension=php_gmp.dll
    # J5 n# K. @5 ]0 E3 b
  884. ;extension=php_intl.dll
    2 M9 k6 i" l) \' ?" e
  885. ;extension=php_imap.dll
      [, H& L  ~' p# C9 T" V1 a
  886. ;extension=php_interbase.dll0 G$ _+ S0 J: G4 q, O+ o
  887. ;extension=php_ldap.dll
    0 {/ c3 U/ H; a- f
  888. ;extension=php_mbstring.dll
    ( a$ o- S) s, E1 ]; o
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    : x8 s% ?% [! T. w4 l  a
  890. ;extension=php_mysqli.dll" _: Y" v. u8 k! c# g& Z: W
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    % j' ]4 A$ \" k7 O
  892. ;extension=php_openssl.dll  A$ t" c0 R: I$ {! E+ B
  893. ;extension=php_pdo_firebird.dll
    ! B7 C3 Q# c: C5 X) `3 s5 N2 L
  894. ;extension=php_pdo_mysql.dll
    7 _! h* L( X! Y/ d5 h8 I
  895. ;extension=php_pdo_oci.dll
    7 i' g& G8 C/ l  C
  896. ;extension=php_pdo_odbc.dll7 h1 X( f% P5 k* h% F0 C
  897. ;extension=php_pdo_pgsql.dll
    , r: B- K+ ~/ v
  898. ;extension=php_pdo_sqlite.dll
    1 `4 y, T6 l0 ~& a
  899. ;extension=php_pgsql.dll7 U  m5 K/ I; I9 j5 a  K: Q; P
  900. ;extension=php_shmop.dll
    7 h/ r1 m8 I5 T1 p
  901.   S- D$ A$ @: z7 m2 ^% C8 @% t/ v% }5 X
  902. ; The MIBS data available in the PHP distribution must be installed.
    1 Z% _8 G4 y( W+ `9 h! _
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    * H6 j) r" z& ~7 J. h; d" p: |
  904. ;extension=php_snmp.dll5 R  _- @2 [/ w9 V  w* {) Y" n; e9 z
  905. ' W3 z! C, O1 {2 r7 o1 B" B8 E; ~9 b
  906. ;extension=php_soap.dll
    $ w- r6 y  F3 |' N3 p7 [
  907. ;extension=php_sockets.dll, K. x2 P5 f; S7 \/ F
  908. ;extension=php_sqlite3.dll
    . `2 V7 Z9 \. o2 ?
  909. ;extension=php_tidy.dll
    # g% P! a& J. ~* S
  910. ;extension=php_xmlrpc.dll! J( p1 Z5 o$ k( X& W! X
  911. ;extension=php_xsl.dll* `1 @0 {- h7 S2 b5 {8 l1 N

  912. ' ?4 H: ~& N' Q1 Q* }0 r! n. l
  913. ;;;;;;;;;;;;;;;;;;;
    , }/ K0 `: f  \7 ~4 F# s# K
  914. ; Module Settings ;
    2 T& e9 X& @. ?# L
  915. ;;;;;;;;;;;;;;;;;;;
    # [! d7 V- w) }/ t: ]! V8 e) n: r! b
  916. ' N2 Z' n- j& `" w
  917. [CLI Server]
    8 z: Y  M( a& K3 B* `1 J7 f
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    0 m4 }) I$ F1 V' `( f7 E% s
  919. cli_server.color = On
    ' ^: ]9 l, j, K

  920. ! P  [, q* k5 a) V2 a
  921. [Date]& o) ?% H( G+ Z0 v7 h: y1 O' K
  922. ; Defines the default timezone used by the date functions2 P9 s& A- I+ B
  923. ; http://php.net/date.timezone
    ( T) L( t, [9 K# t% o/ k8 |
  924. date.timezone = PRC* J( H) c( ~7 T* P8 D( h* s

  925. / V" D0 s- |% S( f4 m- y# }
  926. ; http://php.net/date.default-latitude" f/ \; p3 A7 ~; k
  927. ;date.default_latitude = 31.7667$ R4 S$ @) _. ^
  928. ; F  H0 ]5 i. z  q2 I0 U/ b# _4 v7 F
  929. ; http://php.net/date.default-longitude
    2 d$ N0 S6 r0 ]! E
  930. ;date.default_longitude = 35.2333# P2 b1 s5 L4 I0 ?- r  D

  931. 9 @- F3 a5 |* n6 P8 a3 W& Q
  932. ; http://php.net/date.sunrise-zenith
    3 b( s$ j) k/ v4 i- Y1 {
  933. ;date.sunrise_zenith = 90.583333& }; E% s* [1 R9 n9 G+ j
  934. ( d, a  D5 ]* {2 x) ~& Y) g
  935. ; http://php.net/date.sunset-zenith
    ; J5 K6 |. Q( n! X
  936. ;date.sunset_zenith = 90.583333
    ! Y2 F5 q/ f) }9 ~2 u2 r
  937. ' N. L3 B3 t- ]: }7 A
  938. [filter]6 p+ |. _; c* q& [: p" D$ R: C" \
  939. ; http://php.net/filter.default, q7 n5 n7 N3 l4 K6 {% l8 c8 E% m+ a
  940. ;filter.default = unsafe_raw
    ) _) G* v/ J% a! O6 h7 l
  941. 5 y& V5 Y) x  g( d+ N6 C# ~$ O4 }! \
  942. ; http://php.net/filter.default-flags, L, H  Q1 S; d: `
  943. ;filter.default_flags =
    & l' l$ s  J5 s  B+ C' W# G

  944. % w" I0 u) u& i- ^7 g7 N. D3 N  I
  945. [iconv]6 S! d9 t, g% |/ e8 l) x& ~4 d
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.( L/ b; Q3 _% m- g: ^
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    3 y) Q/ l1 z& T4 z, O
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding* R# e" A# M; p, f# I) W
  949. ;iconv.input_encoding =; k4 X# w& p7 P$ ]0 t& @& [* M

  950. % q7 D) x3 {& O1 s4 ~% g. w
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 G: c9 m( O; a! r6 {
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used." S" U' Q; m) z* ^7 [
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding4 O3 c  Y. I4 P; M! N
  954. ;iconv.internal_encoding =# C- u( C) C5 p: i2 ?* [" ^4 C
  955. / i) j1 {: N- n* |' a
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    5 h6 @* p" F. \( k/ Q
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.. E, u5 X5 T7 v4 _
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding8 E: x0 `8 v( x: _. A
  959. ; To use an output encoding conversion, iconv's output handler must be set
    & I/ F! D( L# q, U  L
  960. ; otherwise output encoding conversion cannot be performed.% F8 T# m" e/ Y: J
  961. ;iconv.output_encoding =
    * J0 h, \' X0 W! ^5 w, S2 O
  962. ) e6 ?: J' m# q
  963. [intl]
    1 `1 c+ R$ h3 Z" F
  964. ;intl.default_locale =
    / q* E6 W% b6 ]3 c( }% `+ Z
  965. ; This directive allows you to produce PHP errors when some error
    " h1 w' |) j9 o4 }
  966. ; happens within intl functions. The value is the level of the error produced.
    ! E: J. I5 j$ R' t* S6 S" g" w
  967. ; Default is 0, which does not produce any errors.- Y0 _: p$ p  C: Q
  968. ;intl.error_level = E_WARNING
    0 @2 F0 J3 u# Y4 [& B
  969. ;intl.use_exceptions = 0* y# C. M& m: w

  970. 0 T9 k# z9 ^4 I$ `: y5 k" q" S
  971. [sqlite3]
    1 z: w1 D, r, v1 Y6 |4 i1 l6 F
  972. ;sqlite3.extension_dir =
    ! S+ e, \( ^/ _" h
  973. : T* m4 o: R( n) O- ^* w! v% i
  974. [Pcre]0 e/ N9 o( m# e# q" ]* L! u
  975. ;PCRE library backtracking limit.
    ; J9 B4 n; j3 b3 G! K3 B$ D4 G
  976. ; http://php.net/pcre.backtrack-limit
    . M9 H8 L0 Q6 c0 ]  _% r3 y% R4 q; T
  977. ;pcre.backtrack_limit=100000, S( l$ n6 b& Y7 g
  978. , I2 w+ q/ @3 q# r% G; l
  979. ;PCRE library recursion limit.& R3 S5 T# C: O& Z
  980. ;Please note that if you set this value to a high number you may consume all
    6 y# Y  Y& c# m- z: B0 y- l+ n
  981. ;the available process stack and eventually crash PHP (due to reaching the" Y1 w9 L1 Y; a
  982. ;stack size limit imposed by the Operating System).
    4 l) O/ |' C* K& Q+ _: O+ C2 n& C
  983. ; http://php.net/pcre.recursion-limit# G" n+ D1 N- K  p# J
  984. ;pcre.recursion_limit=100000% ^, J, v" J4 I0 [
  985. 6 n4 _0 `7 s" C6 X- `6 H
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    * b4 ]( ?# E' g. z0 J
  987. ;library to be compiled with JIT support.
    . ^/ F2 J. K$ W$ O6 B
  988. ;pcre.jit=1. B7 M, Q& m) T/ ], _( v' M" z

  989. - k( d) C- s% N' e1 i4 f! j
  990. [Pdo]  r5 e' e2 ?* I( S* B/ w
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    $ M& @* ], p! A! `$ q7 v" u
  992. ; http://php.net/pdo-odbc.connection-pooling! Z' U; {( ]. a, P! @
  993. ;pdo_odbc.connection_pooling=strict
    " ~% ^: u$ E: _4 v5 E

  994. & O+ m) n( D7 I7 ~8 E
  995. ;pdo_odbc.db2_instance_name
    . g& r1 q1 H+ x0 M3 |! [. A. a9 J

  996. 5 S  f6 X. @, E2 D, I- U" q
  997. [Pdo_mysql]  ]! X& k# F! |& [* J  P6 V
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache# L2 F1 g$ ^" f& W" q: h
  999. ; http://php.net/pdo_mysql.cache_size7 X  h! z2 p1 I4 U
  1000. pdo_mysql.cache_size = 2000
    ( \+ k- |7 Q3 ~8 H7 g6 \8 x
  1001. ( R! s6 ?$ m) R2 z- V0 D
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in1 b- B2 x- q1 s4 {0 ]+ y! `
  1003. ; MySQL defaults.
    & m% k7 b  t* G* x4 ^) o: X' L
  1004. ; http://php.net/pdo_mysql.default-socket
      y) p/ N9 j0 z& j
  1005. pdo_mysql.default_socket=7 @: `" B+ \$ w( U" ?

  1006. 0 M: W1 U- f( Q$ |' W+ X9 W/ u
  1007. [Phar]7 n, ^4 t: g! E3 q/ [  k
  1008. ; http://php.net/phar.readonly8 n+ c5 ]* g' }: ^' O) K
  1009. ;phar.readonly = On, G' [- ^. K) W; z. Y* k

  1010. ) {6 G- D5 ]4 X$ M) N; ~# D
  1011. ; http://php.net/phar.require-hash
    ' ]% Z% v% Z1 o5 d3 ?# \. l$ W
  1012. ;phar.require_hash = On% L5 ^3 F9 u: N2 Q2 j
  1013. 1 c& Y# f+ G* O) C4 Y' g
  1014. ;phar.cache_list =
    3 ]2 r: |6 E5 z  s% @

  1015. 7 X% ~. ^8 U+ Z( g
  1016. [mail function]; @% {9 |/ Q* v$ G% S& [- `
  1017. ; For Win32 only.
    + K9 T/ v( |! o9 k
  1018. ; http://php.net/smtp& M! Q3 H4 E  G! a! J! D4 w
  1019. SMTP = localhost
    # j- y) k, p9 U+ U$ t& t
  1020. ; http://php.net/smtp-port
    5 x6 B6 `1 L3 w5 k. i2 I$ D
  1021. smtp_port = 25
    + _2 x* N: u) k& }0 s% x

  1022. % V: w! Z0 h, z' t. n0 [7 {! Q
  1023. ; For Win32 only.
    $ P7 L6 D$ q+ |% M: q
  1024. ; http://php.net/sendmail-from0 W1 @) j$ t6 g. N
  1025. ;sendmail_from = me@example.com
    0 U; E) |( }2 J& }
  1026. ; ~) C; @. U& `9 I9 o
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").& a( p% n) J& a/ Y# h1 q
  1028. ; http://php.net/sendmail-path
    5 s- q& ^9 ^5 m, x4 E, f
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    5 F4 s: V; ~7 t1 r& e
  1030. & T6 Z; e5 m% C; {& t1 S
  1031. ; Force the addition of the specified parameters to be passed as extra parameters, F8 h6 l! r; I( w' @" N% K7 A
  1032. ; to the sendmail binary. These parameters will always replace the value of
    $ B9 g6 U0 ?# O5 |. U6 h
  1033. ; the 5th parameter to mail().
    : o+ ~& y0 s4 ]* r% k/ U0 Z
  1034. ;mail.force_extra_parameters =9 u3 @6 v, @1 |% |
  1035. ( }, B- \- i# M1 k- }
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename1 X1 P! b5 x8 T! O+ j
  1037. mail.add_x_header = On
    * I; t2 `3 [5 n& n" Z' _

  1038. 6 K" N- _" p( E, D+ q0 E" L/ _+ X
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ! O' b- O$ b/ V, \
  1040. ; the full path of the script, line number, To address and headers.
    1 \; i2 X  r/ i/ {: j
  1041. ;mail.log =
    " d- C# o, b$ g1 l. H
  1042. ; Log mail to syslog (Event Log on Windows).2 X5 A" I9 v8 i  j- e9 v
  1043. ;mail.log = syslog
    + ]# S; L( c4 k0 i
  1044. # X; `8 A, F) z9 N: F8 i  M9 ]$ W* j
  1045. [SQL]3 r. r9 ~6 M6 ?) j  v- S
  1046. ; http://php.net/sql.safe-mode
    2 n; L6 B$ n9 d! y
  1047. sql.safe_mode = Off* {, R4 F5 Q5 t* [+ f: o

  1048. & K6 M1 L8 o0 U- Q! L
  1049. [ODBC]  z; T+ b2 _' j5 r! j' T5 z6 h2 o
  1050. ; http://php.net/odbc.default-db+ Y( U2 w7 T- H/ ^3 N& f, E
  1051. ;odbc.default_db    =  Not yet implemented
    + X7 D4 R3 e+ ]" {6 H8 m$ H
  1052. 9 x$ C6 `' Q6 G; O
  1053. ; http://php.net/odbc.default-user# z" V% r( [; N) p  P# k
  1054. ;odbc.default_user  =  Not yet implemented
    * `0 V7 D) }/ N

  1055. 3 T, v% v; a6 p$ x
  1056. ; http://php.net/odbc.default-pw
    ' y( U% o, h7 H8 u5 s
  1057. ;odbc.default_pw    =  Not yet implemented
    1 U  _! y: p) C
  1058. ( H& y: E$ t0 H4 d. H' _
  1059. ; Controls the ODBC cursor model.$ S+ [  f% U" _# ]4 ?8 g
  1060. ; Default: SQL_CURSOR_STATIC (default).0 a0 H9 e. V/ B
  1061. ;odbc.default_cursortype; I/ J# K$ R5 u+ c  b' h3 G
  1062. 1 e) q8 j6 ?6 Q* ]7 K- L
  1063. ; Allow or prevent persistent links.
    * y" f: C0 T  [0 K( a
  1064. ; http://php.net/odbc.allow-persistent4 e  B; T4 K# O0 m2 B" I3 l
  1065. odbc.allow_persistent = On; |7 C+ i6 M+ t9 w' m; c9 Y

  1066. 1 C4 T* j2 Q, b4 U7 ?+ ]+ b! E
  1067. ; Check that a connection is still valid before reuse.0 P' M! Y8 O- k4 [9 B- v2 ^+ l" ^
  1068. ; http://php.net/odbc.check-persistent
    & ^: v2 r/ {) t9 a1 S9 L4 S
  1069. odbc.check_persistent = On/ m( ~5 ~# z( ^* e4 [+ z" q5 _

  1070. " R7 `3 \: Y; d
  1071. ; Maximum number of persistent links.  -1 means no limit.
    # F$ t' Q: P- j6 o# V
  1072. ; http://php.net/odbc.max-persistent
    # W( g: X9 q6 ~' w* V# `) s
  1073. odbc.max_persistent = -10 N9 H6 }3 [1 Q3 l9 d/ O

  1074. / Z' {, ^, J( @+ p2 z6 N2 u
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . Y$ W& s  g+ Q& l( g
  1076. ; http://php.net/odbc.max-links* u" x+ m% j: w! r2 l) K
  1077. odbc.max_links = -1
    # s6 l" k1 ~4 Y
  1078. 1 _- I6 j# O$ v5 i: r, F! {0 _: V
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    6 _$ w5 f% W9 ^- t
  1080. ; passthru.4 d* R: d  M0 P& F
  1081. ; http://php.net/odbc.defaultlrl
    7 @8 p! A! `& |( }  h
  1082. odbc.defaultlrl = 4096
    " }0 z/ }$ p# U7 M) {2 ], O1 c

  1083. , l# J: f  e) t8 U) r
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.) g9 D& \7 v# R+ b1 l
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation  Q9 ]* |8 K& ?4 W) b
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode) @7 @3 q; j3 v5 T
  1087. ; http://php.net/odbc.defaultbinmode
    8 ^( q4 ?/ O  t& c
  1088. odbc.defaultbinmode = 11 `+ ~' E* E. h# n& _0 S  ^' `
  1089. ( A! c! K- B8 j* `  P
  1090. ;birdstep.max_links = -1. s! Y, n$ ~+ Z- I7 R' Q

  1091. 3 b. p; S4 ~" o- N/ x9 n( t
  1092. [Interbase]' D2 s9 M0 B0 j* u$ g! _( E3 N& j
  1093. ; Allow or prevent persistent links.9 N# r& R8 N! D6 x* w" B
  1094. ibase.allow_persistent = 1
    0 f" d- I! [! o3 O, D% `

  1095. ( r+ }' Q8 e0 O2 v/ I
  1096. ; Maximum number of persistent links.  -1 means no limit.) F# C* \1 D/ y) h# a+ u6 a2 u
  1097. ibase.max_persistent = -1  N! y: v9 f6 c- K& |: m

  1098. $ H  O3 w- V, K9 A2 u
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.3 A+ R5 N0 |7 w0 Z% \' {
  1100. ibase.max_links = -1$ R3 {0 P1 l: v. T
  1101. # j% z" k6 s$ D/ A) d$ G5 V: z1 M
  1102. ; Default database name for ibase_connect().( y- i7 i3 R& p0 b7 {
  1103. ;ibase.default_db =
    - k; `1 D9 t* F7 K+ f6 H

  1104. 1 m, g: r& Q0 b9 i( s- `, @
  1105. ; Default username for ibase_connect().5 K; H& T9 ~4 L  {* `
  1106. ;ibase.default_user =; P  m3 U3 U! [* k2 o

  1107. 6 A) r7 E& _4 j' e+ b$ l8 z
  1108. ; Default password for ibase_connect().
    : n  S- g, c% ^3 B. e" V
  1109. ;ibase.default_password =
    ( D" F2 E* ^- s

  1110. ( |! O. x% A8 P9 s
  1111. ; Default charset for ibase_connect()., v$ [: s/ ^# O; @" [
  1112. ;ibase.default_charset =# T* v2 S3 c; H" y8 Y3 O+ X1 t

  1113. # h" Z6 ~8 [; u1 J* t/ W( ]) f
  1114. ; Default timestamp format.
    5 i; }7 }, \) g9 I9 j& N$ t
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"" T8 I; x9 q# [+ S

  1116. / w9 v* q  [0 F* A, ]
  1117. ; Default date format.
    * c: I+ F, u( v. V% B8 {
  1118. ibase.dateformat = "%Y-%m-%d"1 V4 A6 f% N+ W+ W  Q

  1119. 5 ?% P7 c" c/ [. p
  1120. ; Default time format.  z+ U8 u5 W# Z0 m8 B
  1121. ibase.timeformat = "%H:%M:%S"* {9 |) |$ L' R& c8 W) u7 ?
  1122. 6 B2 D$ S- }- g2 i/ e0 b
  1123. [MySQLi]
    + L& n0 J- e  k  H9 X

  1124. ! w5 V! L8 G4 ^$ M/ ?# X
  1125. ; Maximum number of persistent links.  -1 means no limit.% k7 Z' K( d: J% Y  F
  1126. ; http://php.net/mysqli.max-persistent& O8 m0 D- g" K, Q3 F
  1127. mysqli.max_persistent = -18 d' r' f+ L; l8 F

  1128. 0 Z1 ]" s2 h: M9 K+ l: D
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements% n( r! p& i' i* i% c
  1130. ; http://php.net/mysqli.allow_local_infile
    / |' M3 c# o0 H$ A1 P1 R; L
  1131. ;mysqli.allow_local_infile = On
    4 F- q  Q/ ]* n# }2 i# K

  1132. * t& G* A: G- f. H" ^) T* f
  1133. ; Allow or prevent persistent links.
    . U* D9 E+ e" _) I
  1134. ; http://php.net/mysqli.allow-persistent
    # b) _! i/ k) p% @9 ^" D! J
  1135. mysqli.allow_persistent = On
    ; Z5 S/ l% q. a6 O, C( h. k
  1136. 6 {5 P8 B1 }- t1 \/ j0 x+ D7 x
  1137. ; Maximum number of links.  -1 means no limit.3 M, i0 r6 M/ s
  1138. ; http://php.net/mysqli.max-links
    2 M2 c7 v8 O( B- E6 o9 ^/ s
  1139. mysqli.max_links = -14 A2 L# r& f, k- A4 K) z& }' Q

  1140. % B' S+ `: T1 m7 h' C( B" R
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    2 ^; y$ c1 n5 U, ^/ j: N
  1142. ; http://php.net/mysqli.cache_size! q6 K) t: W: Y$ [0 U" L
  1143. mysqli.cache_size = 2000
    & d2 U( u  G" c# m5 O; O: X8 I3 h# c2 s
  1144. 7 j7 P- x# H+ D- D$ l( I+ T
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use9 K; N. |2 W3 @, Y: a. S
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the& g' K0 P) j: c1 X3 C  i0 _
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look& j) _) p; D. b7 ~( q
  1148. ; at MYSQL_PORT.5 E& x. ~+ ]8 p: d0 z! u% \6 v
  1149. ; http://php.net/mysqli.default-port. O7 C1 Y6 o0 g! x. Y, n$ l5 j  i
  1150. mysqli.default_port = 3306+ g* j: I6 L& z( [7 x/ @. [! b
  1151. 5 f$ |* u- @; f
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    7 q7 F7 w- v8 }+ I
  1153. ; MySQL defaults.  i: C7 {8 ]9 x& M+ }
  1154. ; http://php.net/mysqli.default-socket& K: {- t- K( T
  1155. mysqli.default_socket =
    ' @5 S6 j5 `$ @. S

  1156. ) e' V9 u+ f( Z% Q/ T
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    * c. m9 s" p+ l$ s# H! r* H  I
  1158. ; http://php.net/mysqli.default-host
    9 M' W9 X' Q% j% C6 s6 A* {. G
  1159. mysqli.default_host =8 \0 ?8 r9 h$ j. F% o, I  \/ K

  1160. 5 E  h0 n% \6 h% T& C) ]
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    $ f9 y6 b2 d" o& C8 K% U3 P
  1162. ; http://php.net/mysqli.default-user) `* k5 n: I: h, N0 g. g, d4 v6 s
  1163. mysqli.default_user =, i" K; K$ s' C( Z% j

  1164. 9 q, q2 w/ T! a5 u# p  j
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    * J3 ~$ M, k& A- t1 X
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.1 b% ^  X8 g9 c4 W: |
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")1 e5 T1 e6 ~) G4 T
  1168. ; and reveal this password!  And of course, any users with read access to this8 v  Z/ h* _) m+ q8 d# w
  1169. ; file will be able to reveal the password as well.
    8 p, w& V# s. ]9 U" l
  1170. ; http://php.net/mysqli.default-pw
    . m+ E& a) x& J# N8 @0 X2 ~
  1171. mysqli.default_pw =
    ; t6 w! `: F" l  X0 ]
  1172. 2 e8 \7 _6 d, k3 p
  1173. ; Allow or prevent reconnect
    " e5 W- [) S( g* P1 T7 D
  1174. mysqli.reconnect = Off
      ?/ D+ X: N* V& K# o

  1175. ' Y$ }: p8 |# l" q
  1176. [mysqlnd]- j" P3 X' ?4 J* e$ q
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    % A6 f/ J4 \$ @) Y  a6 h! O2 ^+ N+ M
  1178. ; used to tune and monitor MySQL operations." ]) {4 p0 }3 W$ ]- R# O
  1179. ; http://php.net/mysqlnd.collect_statistics
    9 h8 l' U" w) T, a) M3 C- b' {
  1180. mysqlnd.collect_statistics = On8 U" r, b6 b! l2 r

  1181. ) a7 u9 a( S. H  I3 F6 M% C9 n* s
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be9 k: a0 A* X9 o) o+ r8 f7 Q
  1183. ; used to tune and monitor MySQL operations.
    . A5 K9 @. R* O# H6 B) G) x) @9 {
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    1 ]/ S! O4 M) p$ J) l
  1185. mysqlnd.collect_memory_statistics = Off
    + ?8 c* T9 h) C& k( A* j
  1186. ' P$ F+ D- a# d4 a9 f/ ?  M- b6 Q
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    " B- X2 W6 t- ^( S6 |. X. e% |3 P3 q
  1188. ; file.
    1 d" l% q" y* [: q7 y% x0 B
  1189. ; http://php.net/mysqlnd.debug
      O6 p- p  y, w& t/ A
  1190. ;mysqlnd.debug =; L1 G2 N, N, l9 G5 I1 g* S
  1191. 6 p- r! ]5 V7 s$ G2 v6 N6 o
  1192. ; Defines which queries will be logged.' y7 E* s  x7 d- l% k* H
  1193. ; http://php.net/mysqlnd.log_mask
    2 h3 l0 ~# c0 w4 q1 }2 O! H  z( n
  1194. ;mysqlnd.log_mask = 08 U2 F% |! i% X5 [0 J. d
  1195. 3 l+ M  _% t( m% B5 _' G0 |5 L
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    3 K: \5 h8 S# C
  1197. ; http://php.net/mysqlnd.mempool_default_size
    8 C; C* w1 S4 W/ S9 |, Y+ s
  1198. ;mysqlnd.mempool_default_size = 16000( Y. Q; P2 o" s# z4 D+ V5 m7 g

  1199. " H! U+ d! U  {
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.- S7 V0 _  ^6 P
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size$ b- t0 v  ]" G. M5 u  {
  1202. ;mysqlnd.net_cmd_buffer_size = 20481 b2 n) _) g) B; }
  1203. ' a# f$ g8 R* [+ v/ q
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    7 t& l; C4 _: j) s, G; `
  1205. ; bytes.
    * x. @& r3 k3 w3 m4 Y' [) N
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    # D. ~; n. j! ]/ a+ W7 ~
  1207. ;mysqlnd.net_read_buffer_size = 32768, N3 a4 ~( o2 Z5 H5 b
  1208. $ J& |" z& _  w, B: y2 O4 p4 p
  1209. ; Timeout for network requests in seconds.
    5 c- H' G) K1 I0 d
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ! J  L+ v% I% Y
  1211. ;mysqlnd.net_read_timeout = 31536000
    6 X8 m: N+ ?. R: c; @) W

  1212. & L' r& g: |! x
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA" _& L. U% b  p% |
  1214. ; key.
    0 P* q! a6 F2 |$ [& H1 B3 V
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    + r; Q& e9 R* s, H0 B
  1216. ;mysqlnd.sha256_server_public_key =
    9 J' \) O2 b, r2 c. L+ q4 S! ^6 ^
  1217. 6 {. h, E% t1 J4 A( W* D5 A
  1218. [OCI8], }# q5 b! G/ i, D- V! Z4 L. M

  1219. 8 ~8 p; \1 s* M& P& y6 o
  1220. ; Connection: Enables privileged connections using external
    3 V: E6 M+ r8 @$ _7 {# y' E' v, n* l
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    * y/ C7 e; D; f: @' C5 V+ R. M
  1222. ; http://php.net/oci8.privileged-connect
    ) {2 F/ C) X' ~! c; }
  1223. ;oci8.privileged_connect = Off& Y# _- ?/ Q; p* {, T: g7 v
  1224. % T4 b( V  }0 ~' N2 h8 B
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    * l9 V$ a' N7 M
  1226. ; process. Using -1 means no limit.
    ! Y" c" U5 t# N) c& T% ?& w9 Z
  1227. ; http://php.net/oci8.max-persistent
    : C& i: y% s! x" J! [+ i  N4 S
  1228. ;oci8.max_persistent = -1
    , i3 U3 I5 k' d9 I( r

  1229. % K! }; b% u+ M4 @  _
  1230. ; Connection: The maximum number of seconds a process is allowed to) V# e" X1 A+ h
  1231. ; maintain an idle persistent connection. Using -1 means idle, ]9 @, ~! ?' Z3 Q1 g. U
  1232. ; persistent connections will be maintained forever.6 k9 D& u) @& o% R- ]& `
  1233. ; http://php.net/oci8.persistent-timeout3 V! O' X8 [# J" n* \0 U
  1234. ;oci8.persistent_timeout = -1% ?" X- R* C& s* ~+ g
  1235. + n- p; c' L8 }5 M1 C2 b8 d
  1236. ; Connection: The number of seconds that must pass before issuing a
    * Z5 ~2 E$ Y; U+ R5 B" }/ {  l
  1237. ; ping during oci_pconnect() to check the connection validity. When4 B: b1 |, N; O% i0 G
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables3 l, ~; k9 U  G  \$ j5 f9 G" X$ l
  1239. ; pings completely.
    * o7 ?" Z* _$ @! ~2 t$ v
  1240. ; http://php.net/oci8.ping-interval6 r& @* Y" E7 A, p3 i4 P# v+ p
  1241. ;oci8.ping_interval = 60
    5 k2 |/ T% k, m, P# ?: c: r

  1242. ' u! s, l! U' Y' S1 g0 M
  1243. ; Connection: Set this to a user chosen connection class to be used2 y+ \. U) }3 U; l4 Y
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    , i+ V& f2 y- }% t( `7 C
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    6 G5 m5 {' [. N# J& J( o! H! u
  1246. ; the same string for all web servers running the same application,; c$ d' P! k' d
  1247. ; the database pool must be configured, and the connection string must
    4 p' g$ l, C; |- p1 d2 F
  1248. ; specify to use a pooled server.  Q1 r2 A- U, [
  1249. ;oci8.connection_class =8 b# v& u) h! F% y' c% C

  1250. 1 D4 P# m- \/ N, ~+ S$ r4 R
  1251. ; High Availability: Using On lets PHP receive Fast Application
    1 Z8 t0 _7 j+ B3 R1 h; N  h9 `
  1252. ; Notification (FAN) events generated when a database node fails. The
    4 @0 j5 D9 ^% U' o
  1253. ; database must also be configured to post FAN events.
    3 S+ Q( ?$ D" u: [! u! t
  1254. ;oci8.events = Off
    9 R; x7 x- J) h  G
  1255. ( T7 X" r' n0 Z
  1256. ; Tuning: This option enables statement caching, and specifies how: T, z& w, K3 A4 P
  1257. ; many statements to cache. Using 0 disables statement caching.
    9 {8 q- h2 N% {: C! W! {( Q
  1258. ; http://php.net/oci8.statement-cache-size
    * Z! I% P; L  K
  1259. ;oci8.statement_cache_size = 209 P) M2 A# c& ?8 B
  1260. % s/ I+ i; G2 j) o' E8 Q- n
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    : G# s0 u/ N5 R0 p0 ?. W
  1262. ; rows that will be fetched automatically after statement execution.
    . x8 x: J$ D( H
  1263. ; http://php.net/oci8.default-prefetch
    8 O. o. j. y) K9 V, y, |% a  D7 ^0 M
  1264. ;oci8.default_prefetch = 1005 @2 Q& V4 h( Z5 a: K8 h: j
  1265. - w& C7 M6 D+ e) k7 o8 B2 ?' p. y
  1266. ; Compatibility. Using On means oci_close() will not close, e# p' v) ]/ V4 J# r
  1267. ; oci_connect() and oci_new_connect() connections.+ a( ?3 ?6 D  A* g4 t+ ]% i4 u
  1268. ; http://php.net/oci8.old-oci-close-semantics
    - y' }" y! l  C" n* L
  1269. ;oci8.old_oci_close_semantics = Off  o8 k$ Y0 }; p) a" J( b3 {% v, L
  1270. 1 i$ j# ~; u7 X; K# A3 r
  1271. [PostgreSQL]
    1 `  n0 S; @# G) m$ E; Y6 A9 S
  1272. ; Allow or prevent persistent links.
    - s  [2 ?# Y7 O) }* n: _# d
  1273. ; http://php.net/pgsql.allow-persistent
    / N: w/ j& k; l: l: \
  1274. pgsql.allow_persistent = On6 Y2 x! x- k! @# C( E
  1275. ( |/ |+ c, G) N) u' z# s  u2 Y
  1276. ; Detect broken persistent links always with pg_pconnect().$ C0 j: V$ d3 E1 }  V# `
  1277. ; Auto reset feature requires a little overheads.) J' _+ `6 J4 F3 H) t; x
  1278. ; http://php.net/pgsql.auto-reset-persistent
    $ ?" p1 Y. ]3 i; C5 l0 ?$ s
  1279. pgsql.auto_reset_persistent = Off. F7 f! t0 e9 h
  1280. % w0 o$ }7 Y, D* u* c' d4 k# [
  1281. ; Maximum number of persistent links.  -1 means no limit.' z1 o. S# k8 g. f/ b. {" M- t0 U  I
  1282. ; http://php.net/pgsql.max-persistent1 \1 A- G: a! S) O
  1283. pgsql.max_persistent = -1
    # R' `- T4 C! D( }. L' F
  1284. ! q6 h0 x0 G/ L  H+ k8 g
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.0 \8 b' H3 l+ S& B) S" p+ o
  1286. ; http://php.net/pgsql.max-links
    . w5 Z( m: B- J& g* y
  1287. pgsql.max_links = -1$ H+ j0 G1 Z5 T

  1288. / a: x" O) c0 c0 c7 g
  1289. ; Ignore PostgreSQL backends Notice message or not.7 ?8 ]. M- j4 r( b1 H. v
  1290. ; Notice message logging require a little overheads.3 \2 X4 M( Z. k$ }$ P. m
  1291. ; http://php.net/pgsql.ignore-notice
    7 I6 g" E% @: Q7 T; w' W9 K/ Q
  1292. pgsql.ignore_notice = 0
    9 Q' u( \* }" W
  1293. ) ^: Q2 D( [. ]1 e# h
  1294. ; Log PostgreSQL backends Notice message or not.
    ; ~3 B, j, `* a$ O4 j
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    , {* Y. t) |/ ]
  1296. ; http://php.net/pgsql.log-notice
    5 W  ]4 I/ F* r( V
  1297. pgsql.log_notice = 0, u/ q% b% c% R" f+ M- ^; _) U

  1298. ; \9 Q8 g; F' C4 q- A4 w; a, [
  1299. [bcmath]
    4 b  D1 o1 @* b; {) U
  1300. ; Number of decimal digits for all bcmath functions.) a% z, `" [" t! ~$ E4 X) d$ S
  1301. ; http://php.net/bcmath.scale6 U) f5 s; g/ ^! \. g& h
  1302. bcmath.scale = 01 d' l! p6 v. [" i( h) g) R
  1303. # B* {1 l( w/ o9 K) b
  1304. [browscap]
    ( p9 ]' D8 u: x; A  d
  1305. ; http://php.net/browscap
    - c2 z( U  J. x
  1306. ;browscap = extra/browscap.ini
    # K* w1 |8 z: @# f4 x+ H, p
  1307. - S) ^; E. C( G* G& F! {
  1308. [Session]
    / z* O- r9 B) u; O# R+ v+ o7 X  B/ t) g
  1309. ; Handler used to store/retrieve data.
    ' H' g( c$ O2 D4 f+ w
  1310. ; http://php.net/session.save-handler
    ' U4 Q3 A, ~7 d0 Z; J0 {4 S2 J" D
  1311. session.save_handler = files, Y2 {* Z1 X' W: ]; k% S# }
  1312. 9 c2 j% W$ t6 e+ G  ?  n. Z
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    ; F; Y' M& C* C
  1314. ; where data files are stored. Note: Windows users have to change this; _  O+ c5 Z2 M$ F7 _) ^
  1315. ; variable in order to use PHP's session functions.  i' X5 l1 E- B+ Y
  1316. ;
    8 N  K, {5 x9 ~# z' l  Q
  1317. ; The path can be defined as:
    * t+ z" l  v7 e6 y+ d. i1 I9 G
  1318. ;
    * r% ^) f: N3 ^  a, ?% X. Q
  1319. ;     session.save_path = "N;/path"
    9 z4 M! M+ Z& }/ |% k. H
  1320. ;
    " J  o$ x# M# E4 P
  1321. ; where N is an integer.  Instead of storing all the session files in. `% Y- d! t7 C8 a
  1322. ; /path, what this will do is use subdirectories N-levels deep, and, m& g; `  D9 F, y
  1323. ; store the session data in those directories.  This is useful if8 P, G1 h# {9 S9 E  H& r) H
  1324. ; your OS has problems with many files in one directory, and is
    % q* S$ A2 ]' \' }) Y
  1325. ; a more efficient layout for servers that handle many sessions.
    * V1 G+ k2 ?) w6 b) Y
  1326. ;
      b8 l+ g6 W' A- l6 a5 {/ W7 F
  1327. ; NOTE 1: PHP will not create this directory structure automatically.% G" i4 [  f/ p( f  x
  1328. ;         You can use the script in the ext/session dir for that purpose.
    # t9 m4 J; Y" F7 e" i
  1329. ; NOTE 2: See the section on garbage collection below if you choose to+ T, u" H' ?; a, a; n
  1330. ;         use subdirectories for session storage- v7 ~& w/ H  h6 W5 L! E( d
  1331. ;$ F6 V& C# \: F' t2 P2 H
  1332. ; The file storage module creates files using mode 600 by default.% {, D) j: o: q% e9 R  q
  1333. ; You can change that by using. ?' i3 o4 T0 k$ f( Y
  1334. ;7 }( ?1 h/ J; a/ D+ G$ _
  1335. ;     session.save_path = "N;MODE;/path"
    % y! D( q" ~( ?
  1336. ;
    ) h( D7 h2 a! ~
  1337. ; where MODE is the octal representation of the mode. Note that this
    " \. l, e! h* F1 h0 a
  1338. ; does not overwrite the process's umask.
    # r" B$ U; T7 Q& U' U5 m
  1339. ; http://php.net/session.save-path
    7 ^: B# Z4 q9 W& c; P& e
  1340. ;session.save_path = "/tmp"8 C3 ~9 `' w+ `

  1341. 6 B, K+ U9 F3 y6 j; a
  1342. ; Whether to use strict session mode.0 {# `. c8 d) F: P( Y, u
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate, ^. q7 K0 L, `( j3 O" f' @
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    $ u- k. n4 A9 Y& n6 x% @& F0 `
  1345. ; applications from session fixation via session adoption vulnerability. It is3 z( {' R# V, c7 F/ [) t/ t
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.# D; }3 q# f# G& x
  1347. ; https://wiki.php.net/rfc/strict_sessions, f$ E3 U6 h9 i! A, ?6 A9 X+ ?
  1348. session.use_strict_mode = 02 e7 B5 \8 x9 P; G3 f6 C7 `

  1349. / v& }' T! I) O9 C  Y: f/ T
  1350. ; Whether to use cookies.
    $ k. Y9 R$ J& r7 j
  1351. ; http://php.net/session.use-cookies
    . g2 j. Y/ X: W- V, w
  1352. session.use_cookies = 1
    ) M4 C$ h' ~6 {% M, N4 o% j7 Z  V
  1353.   ?+ H0 ?4 R1 \. W
  1354. ; http://php.net/session.cookie-secure+ F$ \; m6 o( m
  1355. ;session.cookie_secure =
    / Y. v9 m9 C/ A, s! o  T5 F
  1356. 2 e* _+ v% f& R# Y5 I) j2 @1 H
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    / G2 C( E0 F4 \( o
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    / [" o" M+ i, i* A) ^5 Y
  1359. ; session hijacking when not specifying and managing your own session id. It is
    # W: m6 ?" k! K8 V* F! {+ u  X. l
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.& J) L) E& |2 _( B2 g( @9 O6 Y& {
  1361. ; http://php.net/session.use-only-cookies
    + c5 ?/ G& ]& y& U9 ^" k4 N
  1362. session.use_only_cookies = 1
    $ m! t' C+ o: S. x8 y  O* z
  1363. 7 s: C" _8 i; g( n
  1364. ; Name of the session (used as cookie name).
    ( q1 a6 U( I# w0 Q* z& d
  1365. ; http://php.net/session.name
    8 U1 C0 `1 ^; P6 ^) F3 y
  1366. session.name = PHPSESSID: P4 m  F! H( X1 A
  1367. ) L3 q' L; m, H$ c5 ^6 T( o
  1368. ; Initialize session on request startup./ t& f# \- q' ]/ n9 q7 [
  1369. ; http://php.net/session.auto-start
    " T; t# {9 M7 k% Y. F
  1370. session.auto_start = 0+ `, ~2 u) y) @0 R& s0 b

  1371. + \$ j( p0 o. }2 ~' x4 S
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.: u# j! N, n0 {$ N
  1373. ; http://php.net/session.cookie-lifetime
    0 N( _1 \2 I+ {* A
  1374. session.cookie_lifetime = 0
    8 M, L5 I5 ^: N8 f# y
  1375. 6 I; |5 A! G/ ^- D' X) W
  1376. ; The path for which the cookie is valid.8 k: A9 g& f9 c/ p2 C! N& f
  1377. ; http://php.net/session.cookie-path+ l4 ~% c- [5 W4 R) J. u
  1378. session.cookie_path = /
    : J; X& G# i; _# N8 K; L8 W" G% i

  1379. . x4 }# A. c% y2 r1 d- N1 Z! |
  1380. ; The domain for which the cookie is valid.
      O$ i% p7 U2 q7 Z
  1381. ; http://php.net/session.cookie-domain
    7 n$ c" P. e. e; a$ c  G
  1382. session.cookie_domain =: Y* `2 |6 Q! k$ H$ Q- j) j

  1383. " L- _( B8 k3 N! E" y: {7 Q+ c2 p) E
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    2 _& `8 m+ S( |% d  h. J. q
  1385. ; http://php.net/session.cookie-httponly
    " l6 P7 i5 Z& [) q4 d% S
  1386. session.cookie_httponly =
    ! e7 K2 _2 k9 x7 t+ }

  1387. & A2 I+ k# R& T5 k5 J" F/ d
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.6 W) Y6 U2 d8 k$ v! r7 y) d; r
  1389. ; http://php.net/session.serialize-handler( x$ |$ @0 p8 @! \
  1390. session.serialize_handler = php. C! u  N7 v* C0 O$ u6 o) C
  1391. 0 ^+ b$ g7 q5 W/ N1 {2 V. V% I
  1392. ; Defines the probability that the 'garbage collection' process is started5 U  }0 P2 T  D2 R% v( x
  1393. ; on every session initialization. The probability is calculated by using
    ; u$ ^2 S$ b! k9 R: n/ B; n
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    3 ]" W$ q9 t; a4 f- S( s6 L
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    0 G: r$ |7 p$ l+ e$ o5 ^2 u
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    * x/ }6 U5 I6 J  W8 c
  1397. ; the gc will run on any give request.9 w0 c- c! j( A/ T# h) |1 R
  1398. ; Default Value: 1
    5 k& g/ [! U( G7 G; [! A
  1399. ; Development Value: 1
    - g+ n- i) c6 |/ Q$ \1 L
  1400. ; Production Value: 1, M) `, \: {; s* z0 f( o
  1401. ; http://php.net/session.gc-probability
    6 L' V5 F" n0 l  a; ]! C$ |
  1402. session.gc_probability = 1
    6 l) f6 h. d$ i5 Y2 }

  1403. : C' d' |8 ~6 _) B# H# k
  1404. ; Defines the probability that the 'garbage collection' process is started on every: @$ M& k1 ]7 ^1 U# Z" H
  1405. ; session initialization. The probability is calculated by using the following equation:1 }& C+ a6 L1 E' F. t
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and8 I7 Y' b2 n6 H
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
      F8 K  o9 N" K5 H. K: d4 \* B+ i/ P
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ( x5 l3 w; ^7 }/ v% d0 X
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you& X! H9 ]$ M) l5 \( F, r0 b
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,* c9 Z, d. E/ K* s
  1411. ; this is a more efficient approach.
    2 T/ d% a8 D9 S* s, w
  1412. ; Default Value: 100: {1 c( w1 r3 Q3 m% a+ {
  1413. ; Development Value: 1000: b: r; ]# u: S5 A# |
  1414. ; Production Value: 10004 i6 |- r, c: o: n% Y+ Q
  1415. ; http://php.net/session.gc-divisor
    0 h" V( x5 ]' J
  1416. session.gc_divisor = 1000. C1 c% S( R1 M) k5 v( f+ |
  1417. " z$ b& ~9 c$ p5 o% |
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ) R* N* r7 ]6 u' R0 D' P
  1419. ; cleaned up by the garbage collection process.! ]4 _, j& P3 @) b: e9 e
  1420. ; http://php.net/session.gc-maxlifetime
    ) a2 ?& a; J* r5 m1 n, O/ a  ]) W, s
  1421. session.gc_maxlifetime = 14401 y+ R. Q  H) \7 S7 h* N! `8 i! @

  1422. 4 C$ L% b  s# u; ^
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    , A  g. Z3 H! i- H" b, C
  1424. ;       (see session.save_path above), then garbage collection does *not*" `) Y; U2 B5 h- I; W0 n  j! J
  1425. ;       happen automatically.  You will need to do your own garbage
      \& q! h- w0 D1 Y( t! Y& ~
  1426. ;       collection through a shell script, cron entry, or some other method.
    0 g  t- X, g- y4 Z
  1427. ;       For example, the following script would is the equivalent of$ D3 U4 F; @* T4 W% K
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    % h% D+ i8 O! e
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    . J, R7 x1 G0 W9 A. M' p2 q6 u9 R
  1430. 7 P) V; }! G) X- G
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    + l! ]  }5 M) _- z  j- W
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    / N0 @$ T& H+ t& N2 R
  1433. ; considered as valid.' O$ @  {6 g, W" I, T7 H( D8 V
  1434. ; http://php.net/session.referer-check) E2 @# I' i9 d, [) N
  1435. session.referer_check =
    8 [! K! }7 q% w. Y% X4 i4 p

  1436. 4 c/ V' S1 P: l- @  q
  1437. ; How many bytes to read from the file.. {: G9 i& m6 @' J
  1438. ; http://php.net/session.entropy-length
    & D+ E" E" I7 ?
  1439. ;session.entropy_length = 32
    % i8 u) N. X) x0 Z& E4 x% r

  1440. ; g* [9 J1 {8 o0 ^2 e
  1441. ; Specified here to create the session id.
    3 K' r8 S. M! a* i" Y- a! O5 M
  1442. ; http://php.net/session.entropy-file8 E) ]8 |; j2 q- F) K1 _5 ~3 W
  1443. ; Defaults to /dev/urandom" a: V" `2 v$ h5 K5 U4 ]
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom- a+ t) u% ]8 X+ r
  1445. ; If neither are found at compile time, the default is no entropy file.# x1 L9 V( d& P& z  ~
  1446. ; On windows, setting the entropy_length setting will activate the; M- z+ Q( P- U+ B# {3 W
  1447. ; Windows random source (using the CryptoAPI)/ }6 L3 k* j% n  P) h
  1448. ;session.entropy_file = /dev/urandom5 A+ j) o. x, F

  1449. 2 s! \0 _: t* x) ^
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects) |: m) F  R3 x/ J+ b# e3 X7 D, r: O
  1451. ; or leave this empty to avoid sending anti-caching headers.. T) a0 r  g7 Y+ _  Y7 [$ Z+ f
  1452. ; http://php.net/session.cache-limiter
    " g) p+ O7 n0 ~/ ?5 M' H
  1453. session.cache_limiter = nocache$ y6 Q! Q$ ^& V( |
  1454. + |. @# H( C( R& M% {
  1455. ; Document expires after n minutes.
    - Q! U6 \1 V- c- b+ o6 c9 f% @
  1456. ; http://php.net/session.cache-expire
    # `) o- j0 |: d4 @
  1457. session.cache_expire = 180& F4 s9 C- ], `# I
  1458. * |* Z  T& Q8 f# ]& v
  1459. ; trans sid support is disabled by default.
    ' `7 m% ]% Q3 ^) Q1 G5 n
  1460. ; Use of trans sid may risk your users' security.$ `9 Q$ R' F+ K7 x4 s( H
  1461. ; Use this option with caution.
    % X. n* a* {/ f
  1462. ; - User may send URL contains active session ID
    & a1 V, k3 C& T( k% v
  1463. ;   to other person via. email/irc/etc.# U# H1 G+ [9 x
  1464. ; - URL that contains active session ID may be stored5 f" Q0 ?1 c" o9 ^
  1465. ;   in publicly accessible computer.
    # C* q3 b5 e  l6 N6 F% Q
  1466. ; - User may access your site with the same session ID
    # H- y1 q' [. B0 W7 E9 T$ I# @* J9 ]
  1467. ;   always using URL stored in browser's history or bookmarks.
    2 G( \- `* {4 W- c) c# I
  1468. ; http://php.net/session.use-trans-sid( B6 i5 x+ \! d  z* r
  1469. session.use_trans_sid = 05 }" `+ B* F: ]7 ~7 @7 |: l0 U

  1470. . Y( k/ E* O( ]! d" m
  1471. ; Select a hash function for use in generating session ids.* ?( `" B# }: {, }1 [/ b2 m( T
  1472. ; Possible Values
    : ]% j: f, G/ x
  1473. ;   0  (MD5 128 bits)3 U8 Y. K1 I: \2 g5 E5 O
  1474. ;   1  (SHA-1 160 bits)
    & k3 e8 y! @0 {: l) |
  1475. ; This option may also be set to the name of any hash function supported by' l9 V; k, E2 J0 E$ i& b- y
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos(), @" }- H4 v; s! d
  1477. ; function.
    6 y' U9 H; Y  S& J( B* i! `
  1478. ; http://php.net/session.hash-function) t9 W6 s; a2 o  ?' n% ^. L
  1479. session.hash_function = 0; r5 r+ L# j/ ^0 C! A& a
  1480. 4 |* c4 C7 e2 F
  1481. ; Define how many bits are stored in each character when converting
    " ]  b; K" J" y- N% }+ z. ]
  1482. ; the binary hash data to something readable.
    6 S, \: p  _. E0 W" A% O5 P: }
  1483. ; Possible values:
    9 u) V2 G& N! i; R# U
  1484. ;   4  (4 bits: 0-9, a-f)
    5 I8 x& |" }# I& P
  1485. ;   5  (5 bits: 0-9, a-v)" y2 A# r+ g8 ^' ?" T$ u# e/ [  j! ]
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ) X' w8 K$ f0 V% U
  1487. ; Default Value: 4% J" L) E! N# w/ [( n1 n6 E8 i
  1488. ; Development Value: 5* D4 U9 V. I+ J: P  D% V" B. A
  1489. ; Production Value: 5
    + Y1 b, h' D5 ^0 k
  1490. ; http://php.net/session.hash-bits-per-character
    1 v% u4 B3 Y: |, ?0 i9 u+ ^& q+ m1 ^
  1491. session.hash_bits_per_character = 5) z, Z+ U4 H: Y0 O) I
  1492. 7 P4 i5 ^8 z1 a6 X
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ; ~! i" I  e) o0 e3 J( q, p
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    - y! Y  r3 K( @( y; o% R
  1495. ; add a hidden <input> field with the info which is otherwise appended
    9 F7 O: f6 W7 y$ F9 _: x
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    " V8 ^* x5 ~& @$ Q" q
  1497. ; Note that all valid entries require a "=", even if no value follows.8 o( f/ A3 N6 U+ {2 i: Q3 d3 z6 P) u
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="/ F+ B6 e' A' ~( ~+ \9 L
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 z; |: S1 T: h" {( o* f, W& E
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 O4 S* m- H1 e; Q6 t  @9 V
  1501. ; http://php.net/url-rewriter.tags
    * N; K$ j4 G) f, _9 M  d3 M
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    + a' D! ]4 s0 Q; v4 T
  1503. " m' w* C0 _  b
  1504. ; Enable upload progress tracking in $_SESSION
    ( v2 R# Y' X5 a" {5 m- V
  1505. ; Default Value: On9 Z. N7 o* Y) [2 o1 V
  1506. ; Development Value: On
    ( p5 X% h8 t7 V, m; ]- C* j
  1507. ; Production Value: On+ O8 x( ^0 v. r, e: X6 R
  1508. ; http://php.net/session.upload-progress.enabled, G: a$ g/ L* v. [- c$ w
  1509. ;session.upload_progress.enabled = On/ ?% X8 k# k9 [8 ^& e8 ?
  1510. . q% u0 Q' t0 H2 P2 E* G
  1511. ; Cleanup the progress information as soon as all POST data has been read9 ^7 I0 v! d* F% M5 X
  1512. ; (i.e. upload completed).
    . {6 ^3 J. Y3 j4 ], }
  1513. ; Default Value: On
    . J/ C) d8 a- s. H
  1514. ; Development Value: On
    9 i+ V6 u4 T, N, m( }
  1515. ; Production Value: On; d" [$ r9 G0 ^; G: ~8 l
  1516. ; http://php.net/session.upload-progress.cleanup
    1 B/ {$ f5 Y8 {0 H  @0 Z
  1517. ;session.upload_progress.cleanup = On1 c8 S# O) |" M2 L" B, A
  1518. 5 ^$ @+ _, I2 ]; S, ~
  1519. ; A prefix used for the upload progress key in $_SESSION
    / I+ o$ i& \6 o) m# [
  1520. ; Default Value: "upload_progress_"- D2 i/ K( `/ @* G3 R1 r' B
  1521. ; Development Value: "upload_progress_"
    , I  t! r% E" P1 w' [& H! R
  1522. ; Production Value: "upload_progress_"# c! Y. p# u9 D4 I
  1523. ; http://php.net/session.upload-progress.prefix' [5 G7 O5 f) o/ `  v" k
  1524. ;session.upload_progress.prefix = "upload_progress_"
    2 l" W9 o. \' j$ P8 Z$ _

  1525. . v$ J# s7 b, T; G4 e8 {& ]
  1526. ; The index name (concatenated with the prefix) in $_SESSION+ K* Q; c' k6 W6 s3 B3 I1 ^" }
  1527. ; containing the upload progress information
    ) u$ @) s7 \) Y* O
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 P1 G! @: h" c- P
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 W" u& E) g6 k! X3 _7 y) p
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 Y: X3 x1 w  f. O
  1531. ; http://php.net/session.upload-progress.name
    . t  a, ^' W" ^' x
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"( M( ]" P; W5 e/ A
  1533. * y" [2 y" r% e! v  ]/ K1 r( ^
  1534. ; How frequently the upload progress should be updated.4 _; u  S+ {7 ]5 c6 h& u
  1535. ; Given either in percentages (per-file), or in bytes
    6 W: a2 ?+ q* e& v
  1536. ; Default Value: "1%"3 ^" g1 ?- P% Q* Z
  1537. ; Development Value: "1%"
    ( ], _6 R, x) H  k# i
  1538. ; Production Value: "1%"3 ]1 [" c! q' n: |8 ?. U. [7 L; V
  1539. ; http://php.net/session.upload-progress.freq: F! j3 {& d3 {/ n
  1540. ;session.upload_progress.freq =  "1%"9 ~* R2 Q( h  C# D2 M# E% q
  1541.   e! k  ?2 m0 C; }( s$ H7 a
  1542. ; The minimum delay between updates, in seconds" F3 Z+ G3 P4 E, G8 `
  1543. ; Default Value: 1# d8 ]5 {" A& ~
  1544. ; Development Value: 1' M5 d2 L7 d! y8 _
  1545. ; Production Value: 1
    9 p; ]% U  _! b( t/ K
  1546. ; http://php.net/session.upload-progress.min-freq
    ! n4 @6 k& Z2 U6 v+ ]2 ?
  1547. ;session.upload_progress.min_freq = "1"2 c( [$ o: n5 @' e% c* Y% y; O! I
  1548. 6 A, V! u1 j1 r" L" y% O
  1549. ; Only write session data when session data is changed. Enabled by default.( I$ s# j; g: b* v+ H% s
  1550. ; http://php.net/session.lazy-write
    & N. ~+ V, P2 z# k* k
  1551. ;session.lazy_write = On6 [' R! e$ X; V2 u9 ~7 B/ N- ^
  1552. 6 }% ?: d7 }" i+ X8 T2 `; b
  1553. [Assertion]
    . K5 D6 @% d+ ]' v3 {7 N0 O( o
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ! q* V( J: T6 }: z0 ?/ a
  1555. ; -1: Do not compile at all# p8 l. M, ?; N+ ^+ j7 ]' _
  1556. ;  0: Jump over assertion at run-time
    3 r4 _' W- h! j( o4 }
  1557. ;  1: Execute assertions9 G4 j) Q5 I2 H1 s" e' ~; R9 V1 g
  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)
    : `. i& ?  V& N# k6 l3 E% ?, x
  1559. ; Default Value: 1
    ' h1 Z* H+ {$ I+ k/ _" j- g5 D
  1560. ; Development Value: 1* i7 C; c: z2 k
  1561. ; Production Value: -1) c2 \3 K$ X' }
  1562. ; http://php.net/zend.assertions
    . _; t/ L! X3 s& G% s) o  m& U
  1563. zend.assertions = -1+ N( v6 t' R1 `( [7 p7 ?
  1564. / X- n8 X5 |* x% r1 [& k' O6 U
  1565. ; Assert(expr); active by default.3 ?9 [% {6 g; C  E
  1566. ; http://php.net/assert.active
    2 y; u( p7 E# F( f1 d  S5 ?
  1567. ;assert.active = On% ?" `/ n- R1 ~7 I- e+ ^' ?2 h9 l( k

  1568. * s% F- o; p# N" r5 Z
  1569. ; Throw an AssertationException on failed assertions& u# c; J6 k1 E) Z) d' e  f
  1570. ; http://php.net/assert.exception, k  l5 b  l! @' o& V
  1571. ;assert.exception = On) Q8 w1 P2 a5 L$ D
  1572. 5 D# B" ~8 j% p& i/ b. m) g3 l
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)9 n; Y' c( G* v- j5 T
  1574. ; http://php.net/assert.warning
    8 ?; S' g) b9 P; ~% V. O& R
  1575. ;assert.warning = On
    0 J( j2 Z' o; A( v+ o. Q5 H4 X; o

  1576. " V7 Q* R' z% f6 r" E
  1577. ; Don't bail out by default.( z0 g$ ]! |& L) {! T8 R* ^
  1578. ; http://php.net/assert.bail+ N& V* H& `' y$ V9 n' X
  1579. ;assert.bail = Off
    % N, P+ a" b9 e, T! E  K3 _8 n

  1580. 9 |( k( `7 e& s
  1581. ; User-function to be called if an assertion fails.
    1 |8 N% M, _1 r8 ^; Q
  1582. ; http://php.net/assert.callback
    . G* y. {/ G( B' }8 B9 [
  1583. ;assert.callback = 0- |, o8 G8 a; a; c

  1584. 4 f" X" x8 z5 l2 I# V2 L3 y5 y0 d
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    . v  N! R% V/ m) b' q6 @$ R& S
  1586. ; error_reporting(0) around the eval().
    9 s: s0 c' I  ?. Y* J1 \; T
  1587. ; http://php.net/assert.quiet-eval
    " x% F* f) Z& O; w- B. l0 i- W% w
  1588. ;assert.quiet_eval = 0
    % W9 |) b! k( x) F) n' w
  1589. : ]0 K/ x4 M8 O: s% c3 j9 h
  1590. [COM], n8 g9 f8 S" z9 ]
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    # n6 f2 V9 l% G' m
  1592. ; http://php.net/com.typelib-file
    % y% D2 F6 G1 A% m3 \' b/ P% q
  1593. ;com.typelib_file =: q. t3 F3 d3 b
  1594. 5 D6 d* V1 s+ x- o2 x# ?
  1595. ; allow Distributed-COM calls
    ! q6 V7 G# a) o) Q
  1596. ; http://php.net/com.allow-dcom9 g/ d* ?) q7 w* V
  1597. ;com.allow_dcom = true
    ' x9 w: S4 n, m: T
  1598. . j* y) u1 J% W6 K  X
  1599. ; autoregister constants of a components typlib on com_load()' r" O# h8 M* O2 I3 K: C+ G
  1600. ; http://php.net/com.autoregister-typelib
    + b% c' |. u/ \+ r) i' B
  1601. ;com.autoregister_typelib = true
    % O5 p- X& y1 A0 `" a

  1602. 0 k7 R* `5 i0 T0 E2 x2 T
  1603. ; register constants casesensitive
    ) Z2 C; g7 _6 I- w% G9 K
  1604. ; http://php.net/com.autoregister-casesensitive
    / t# [4 C- E, M9 y8 Z( P% u) a
  1605. ;com.autoregister_casesensitive = false4 I; c( z! I; P& z

  1606. & N! n. s0 C* \4 B- J7 l6 P4 ?
  1607. ; show warnings on duplicate constant registrations
    : C+ w3 g$ X: ?0 A" ^% H
  1608. ; http://php.net/com.autoregister-verbose
    " Y# |2 P4 G5 E( a* {
  1609. ;com.autoregister_verbose = true) X1 l: H0 Y8 t# v# t7 @* E1 R. P; x

  1610. # e7 l- b  Y! [4 }
  1611. ; The default character set code-page to use when passing strings to and from COM objects.2 c. j0 v/ j$ P5 s) |
  1612. ; Default: system ANSI code page
    . V* P# W6 O9 S8 _# q4 E
  1613. ;com.code_page=
    2 [7 [6 _2 p5 N, P" ]( O
  1614. 6 s9 Y& U: }! Y
  1615. [mbstring]9 g9 O7 ^. N+ T. Y2 x. b7 @/ c
  1616. ; language for internal character representation." E2 }) H& i  p8 A. j' g* z; B
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    # Z- R8 g  q& h2 E4 @
  1618. ; http://php.net/mbstring.language
    & n( L" B$ z( p/ i
  1619. ;mbstring.language = Japanese* j; x1 D! E* B4 }( ~" M
  1620. ; N0 g* r9 d4 |. P) c: ]
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    5 V; L; N/ b' x7 I& J
  1622. ; internal/script encoding.6 y2 ]9 v) v5 W- Q6 {. C0 `
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)- Z9 h/ i+ @# O. i3 U7 r% F' W
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.% z  s1 r3 R3 _6 d* E
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 v5 v  ]+ c9 a0 K$ W' U
  1626. ;mbstring.internal_encoding =' ~1 b0 C2 x% s: z$ l: G

  1627. : ?/ D9 l& y, J$ K9 }
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ( e2 n* {1 q0 [. l- _) H
  1629. ; http input encoding.5 U" q4 l. R4 }. k5 I
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    7 ]2 G; w$ P' G- e5 b) l! N6 r9 ^4 i- |
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.) ]/ [" X1 R8 ]. I
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    5 _% P5 ^+ ], C/ d- C3 p' K  C
  1633. ; http://php.net/mbstring.http-input7 m# }+ @) K( [' G
  1634. ;mbstring.http_input =
    6 W* a, ]+ ?0 b5 h2 D
  1635. . V* N, n) _" u  Z5 \( j" G) d
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.: A, n! Z- S4 j% x; \3 y1 q
  1637. ; http output encoding.' S* }0 ]' I# q  }" z
  1638. ; mb_output_handler must be registered as output buffer to function.$ y. k$ @8 r  A* @! x
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    $ x: n7 W% q% f' T  _$ G  d( x6 q; X
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output; i7 K  \/ C, x& s/ v- C& }) n& m
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    7 k+ N% G. g- c* T5 h/ A3 x& u/ J
  1642. ; otherwise output encoding conversion cannot be performed.8 t- e& r. B; }- }# u$ a
  1643. ; http://php.net/mbstring.http-output/ Z+ u' S( r. T7 M% Y8 B6 f
  1644. ;mbstring.http_output =
    0 o( U- }( e0 b0 C

  1645. 0 z7 N- F) \. g: r
  1646. ; enable automatic encoding translation according to! \  H9 m( Y) V0 B$ i& U, g
  1647. ; mbstring.internal_encoding setting. Input chars are
    4 }9 x5 I' b! W3 C. \0 }" P0 U& t
  1648. ; converted to internal encoding by setting this to On.
    : v1 ], z! A% K8 A9 S: w! r
  1649. ; Note: Do _not_ use automatic encoding translation for
    " W- R' q7 H9 G) I6 s' U. U3 z
  1650. ;       portable libs/applications.* p3 }  n1 x  B) v8 c8 V
  1651. ; http://php.net/mbstring.encoding-translation1 C7 ]8 q- b0 z9 a$ A: R; f8 g# j
  1652. ;mbstring.encoding_translation = Off
    . |, N$ o* D! ]- B" H% Q; w
  1653. ) ?  F2 c  I( ~
  1654. ; automatic encoding detection order." ?3 T9 u4 ]  x% C9 S$ R
  1655. ; "auto" detect order is changed according to mbstring.language  N  v2 h; U6 S9 W( o
  1656. ; http://php.net/mbstring.detect-order, \) m+ w, t1 e7 W* K$ i: X
  1657. ;mbstring.detect_order = auto( R6 L* p! k& M. X9 Z
  1658. 3 ^+ o5 H! t! P- m( Q
  1659. ; substitute_character used when character cannot be converted  {5 T* d, E# o. T  M* x
  1660. ; one from another/ j/ _1 A. J* \1 F3 e2 W( I
  1661. ; http://php.net/mbstring.substitute-character% V) D: U# A( q( m- }% v6 P3 B
  1662. ;mbstring.substitute_character = none
    % ^: K6 z2 C; u6 y+ h, f
  1663. 1 o; g% r9 d3 u+ u
  1664. ; overload(replace) single byte functions by mbstring functions.: M3 d: b5 g/ D
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),7 X. |  u% k1 q; |8 t; ?9 _; s% B  D& I
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    5 M0 E0 G3 J4 F+ h
  1667. ; For example, 7 for overload everything.+ e! e% u4 `: P6 V: N
  1668. ; 0: No overload
    ' ?* H9 P  f* D
  1669. ; 1: Overload mail() function
    + P) Z0 i( Q! ^* }# U
  1670. ; 2: Overload str*() functions$ v: ]: u# |; f/ m) ^$ s
  1671. ; 4: Overload ereg*() functions! l- y: t  v# M# J6 p* D3 b) p
  1672. ; http://php.net/mbstring.func-overload! U) K* S8 ?* M/ V- t
  1673. ;mbstring.func_overload = 0
    , F! ~  M$ a5 K2 Y6 m5 ]0 z) S
  1674. ! }: g9 x! g" U" t- [  c9 o
  1675. ; enable strict encoding detection.0 k3 @$ H2 E8 E, n9 S7 k" M
  1676. ; Default: Off& A3 z  e0 W3 q/ A
  1677. ;mbstring.strict_detection = On
    ; I0 }/ R6 I2 B% u$ ]" S; {
  1678. 2 ]2 f. n8 R+ Y, f+ n6 [
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()) a+ Q$ ?: L% C7 C8 U
  1680. ; is activated.
    + a/ a$ r3 ^. b/ |  d  ?7 O/ `
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    # f! q" x" o( }- F- l, X
  1682. ;mbstring.http_output_conv_mimetype=8 V9 B* w2 ?2 }

  1683. / u" ?% W3 K: x$ p+ O1 J: l
  1684. [gd]
    : G, {! o" d$ H, O) F
  1685. ; Tell the jpeg decode to ignore warnings and try to create/ y/ a, C7 l% Q: \6 L" M6 l
  1686. ; a gd image. The warning will then be displayed as notices: g. x. X# ^' U/ T
  1687. ; disabled by default( E% Y$ D! M. }% ]! K0 {
  1688. ; http://php.net/gd.jpeg-ignore-warning3 M* X+ e2 S1 U0 R8 e/ ~; r  r
  1689. ;gd.jpeg_ignore_warning = 0
    ; x$ H0 K7 g/ V$ W  L# H0 {9 m

  1690. # m6 ?9 v; d# D
  1691. [exif]  [% g  z- P8 v! {
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    & u3 q& {* [2 Y) H
  1693. ; With mbstring support this will automatically be converted into the encoding* M; F# b" j7 ^3 R
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding5 n# w& Q6 S' j( [! m& b" N9 Q
  1695. ; is used. For the decode settings you can distinguish between motorola and
    6 T  i5 w3 Z$ |, B/ }0 h) o. z- x
  1696. ; intel byte order. A decode setting cannot be empty.
    5 C! r3 G; M7 i
  1697. ; http://php.net/exif.encode-unicode7 w7 E0 W+ \' ?3 X; e4 o
  1698. ;exif.encode_unicode = ISO-8859-15- R4 ^4 R/ m6 t2 ^9 k4 ^, X6 e# o. o

  1699. ( G6 F& b+ R+ }: e% \* @  t$ A
  1700. ; http://php.net/exif.decode-unicode-motorola
    . F% {, O$ k4 f7 k. o
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    4 k; K2 C& a4 @5 v

  1702. ' ]( e) C; B2 z# Y2 O' _0 P9 b, u' w
  1703. ; http://php.net/exif.decode-unicode-intel
    0 c1 v9 B; j/ M
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    1 l, T. W' a* M% y
  1705. + [8 M: R" i  T! m6 P8 _
  1706. ; http://php.net/exif.encode-jis
    " B0 c' l8 I, [9 X. @
  1707. ;exif.encode_jis =, s: A- A9 B& h% Q) k! H
  1708. # J9 n* `! ~9 S% v- I& v* F
  1709. ; http://php.net/exif.decode-jis-motorola0 Z5 {  q8 d5 y: M
  1710. ;exif.decode_jis_motorola = JIS+ v. A9 J* C9 X; R' S

  1711. 4 \7 T6 I5 g4 }% ~1 O. P
  1712. ; http://php.net/exif.decode-jis-intel
    1 C2 }: G8 @) C7 o1 m9 h
  1713. ;exif.decode_jis_intel    = JIS5 C; g; c" O9 M

  1714. , `, {; o  s: q& N; }
  1715. [Tidy]
    % I% u6 K( ^0 R0 P7 [' ~1 j
  1716. ; The path to a default tidy configuration file to use when using tidy, f0 [' k; h0 L
  1717. ; http://php.net/tidy.default-config7 e! W( g- l2 k% ]
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ! t: C' G( k5 N
  1719. $ O) p' @5 F2 r9 j& I
  1720. ; Should tidy clean and repair output automatically?% {, o  a! U* b9 p
  1721. ; WARNING: Do not use this option if you are generating non-html content
    # ]$ m8 l/ i( U4 F% U' [
  1722. ; such as dynamic images
    8 _: ]& w' g# `
  1723. ; http://php.net/tidy.clean-output  s& Q$ _8 e: ?9 v# F# w# ]& Z9 X$ f  Q
  1724. tidy.clean_output = Off* g- F, o% i# O. ^7 t2 T- S  X3 M  m1 u

  1725. : m5 e! z' w& ]* O; f( V7 H
  1726. [soap]
    ! ]( ?6 V4 v' Q  `! U, |2 v; B
  1727. ; Enables or disables WSDL caching feature.4 m0 q# I$ U8 |9 C7 |+ V
  1728. ; http://php.net/soap.wsdl-cache-enabled
      r4 e0 ]) @' l" N4 X% Z
  1729. soap.wsdl_cache_enabled=1
    / ^$ \* h& B1 H! [0 a" m( H% Y
  1730. & ]  D( `3 _# {; n) w
  1731. ; Sets the directory name where SOAP extension will put cache files.; m0 A- D2 {$ ~: Q" m8 B  k
  1732. ; http://php.net/soap.wsdl-cache-dir! m& t- {1 l  L- r4 a9 U
  1733. soap.wsdl_cache_dir="/tmp"
    6 h' r  V6 t7 ?& E

  1734. % A) w2 X3 z4 P3 M$ f
  1735. ; (time to live) Sets the number of second while cached file will be used
    2 Y; e* f  u) m( H* x# n
  1736. ; instead of original one.
    % S7 J7 B! R) ^) T9 d! @' J
  1737. ; http://php.net/soap.wsdl-cache-ttl
      h% x4 e0 |. V9 c: a; {6 A
  1738. soap.wsdl_cache_ttl=86400  S) ~& K! Q# w7 f4 j

  1739. ( _  b& _  O. Q- K
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)* t4 }& s5 l/ S2 |1 G( a- c
  1741. soap.wsdl_cache_limit = 5
    4 ?& R9 m) e% K# y2 |& ]/ m
  1742. . d4 \8 s- m( z! p5 u
  1743. [sysvshm]
    , Y* i1 B$ L5 z9 P7 y+ O" a% }
  1744. ; A default size of the shared memory segment
    7 I. @; c, d' N. a1 Q
  1745. ;sysvshm.init_mem = 10000
    4 U3 s9 o9 ^+ n6 T. P7 n
  1746. ! |9 p$ T; T! m* i: R# @
  1747. [ldap]5 L! H+ D* q0 M* Z: ]% _
  1748. ; Sets the maximum number of open links or -1 for unlimited.0 R' q; Y$ Q; B9 y/ R3 u1 |
  1749. ldap.max_links = -1/ u( K7 |: N- I; w1 T& m5 P

  1750. , }: _9 p- w& T: |
  1751. [mcrypt]
    2 k8 B) b( f, ~. v* _: k$ y8 Q6 i  \
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open. ], L/ r, ]4 y# i0 D$ I. [/ x" N
  1753. : t% N6 m9 u' z; l- q4 {
  1754. ; Directory where to load mcrypt algorithms6 [: z. T( r% O8 {4 z  p
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)  L9 W3 O" N9 R: G) @
  1756. ;mcrypt.algorithms_dir=% I; G% j  L" V# }
  1757. + q& T+ {; Q! O% f: c/ e
  1758. ; Directory where to load mcrypt modes
    $ [/ j1 G4 d, l8 N' q/ y; x
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)- a4 G$ X- ^1 [
  1760. ;mcrypt.modes_dir=
    5 l6 q6 L9 i# A, e; G0 E- c0 o
  1761. 6 L. C$ A$ k9 D: G4 @& {
  1762. [dba]
    * D4 H1 `3 y$ V' N4 S% g' P
  1763. ;dba.default_handler=
    * x% \1 ]9 H( E* _' T

  1764. 4 [9 m* K: O% z- O& |' G
  1765. [opcache]
    ( \# k3 o) }. _( V, B( d0 B
  1766. ; Determines if Zend OPCache is enabled
    4 b& }* K  D1 C4 R% {6 P! g, \% B5 i. m( h1 k
  1767. ;opcache.enable=0$ O6 B7 t; W  @/ a8 a
  1768. 0 G3 `( J; D3 |( o: T
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    8 V! b& g0 |9 J: h3 k# c
  1770. ;opcache.enable_cli=0
    $ X$ I4 c* o$ C, g5 I) A$ D
  1771. - [, I4 h( i( f
  1772. ; The OPcache shared memory storage size.
    . f* ?; C4 W8 j# a
  1773. ;opcache.memory_consumption=64& S5 e; m0 F5 }  E
  1774. % G6 E9 R/ b6 c& s$ }0 u
  1775. ; The amount of memory for interned strings in Mbytes.
    ( D+ Q. B1 ?9 Q% B
  1776. ;opcache.interned_strings_buffer=4
    6 x. y, a7 T+ o. @2 g
  1777. $ Y' A/ y2 S2 w1 R5 L
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    + [1 T9 f" {. \- ~9 m7 [
  1779. ; Only numbers between 200 and 1000000 are allowed.) U, ^& w# t: L! h9 T% E7 j; E
  1780. ;opcache.max_accelerated_files=2000+ H, S, X" C6 K. l

  1781. . F0 \- V3 e3 c$ u
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    $ I6 q" f) Y0 c+ N
  1783. ;opcache.max_wasted_percentage=50 O0 {; q6 R3 ^4 {$ w1 F- N

  1784. 5 B2 ^3 O5 h' }1 U. ?* o2 l7 q* P; W
  1785. ; When this directive is enabled, the OPcache appends the current working, Q/ _5 c! ?# p6 a
  1786. ; directory to the script key, thus eliminating possible collisions between
    " W; b  b+ h' l9 @* K4 s: F
  1787. ; files with the same name (basename). Disabling the directive improves
    ) Q( A! H: ?2 \
  1788. ; performance, but may break existing applications.
    * _" U5 P3 b: L5 }; C( N
  1789. ;opcache.use_cwd=1; S- O  L7 Q( v

  1790. # l! |! z7 o1 e, _* y6 z9 F
  1791. ; When disabled, you must reset the OPcache manually or restart the
    7 E6 w" r: q# p
  1792. ; webserver for changes to the filesystem to take effect.) L. e. T" a+ K, Z+ a) `
  1793. ;opcache.validate_timestamps=1
    # I% {" F: a* M" R, f  |% W; D
  1794. ) r' z2 Q3 _* ^) h& _' w
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ' A! c. n7 B9 k. J1 y* a/ @
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    . u, h" ?0 e8 M! X+ Z4 Q0 ]9 T
  1797. ; once per request. "0" means always validate)
    % ?1 _; _7 Q- @9 j) K  J
  1798. ;opcache.revalidate_freq=25 J+ V. Y' p! ]

  1799. ) N0 I- A/ G) h- x, w0 d( O, {  ?
  1800. ; Enables or disables file search in include_path optimization" `: A8 j! X% O- J* t& ^7 F# C
  1801. ;opcache.revalidate_path=0
    9 ^! N! r" G+ i) E, [
  1802. ! ]) {# \  S, j2 d6 \. D
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    $ T- w- \4 j4 E$ g! q
  1804. ; size of the optimized code.& B# d3 X/ Y7 L* n! F
  1805. ;opcache.save_comments=1
    3 h: D0 ]7 o/ a/ P! |# t5 l

  1806. 7 K; r0 k) Q9 B
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code) z6 R6 |, _) T' R  i0 o
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    - r- J( M+ {1 q2 S5 ]* }' f
  1809. ;opcache.fast_shutdown=0  n- N# a. x0 y' W

  1810. 1 i6 H; g# r6 n) F- V
  1811. ; Allow file existence override (file_exists, etc.) performance feature.$ ], j3 q# }" h$ S
  1812. ;opcache.enable_file_override=0
    $ d% s  G. d/ N! L7 L) C" _
  1813. 6 b$ V" O8 j; \1 D! `4 G- @  I# Y
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache2 z7 r; T- y, d# i6 d5 p, n
  1815. ; passes
    8 y1 d8 S9 y- X7 |
  1816. ;opcache.optimization_level=0xffffffff
    0 p8 H4 N- G& A1 v- T! A& @, n+ {, U
  1817. 8 S5 d/ s& o, z
  1818. ;opcache.inherited_hack=12 C  U$ X0 H0 D/ r" [' t+ @
  1819. ;opcache.dups_fix=0+ W0 d" R! L$ f% L# r
  1820. 7 K: E+ ~2 x" N3 H  q; v% J
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    * F( y; F" @+ X5 V3 c5 ~6 f" m; N
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    0 A& s  e! i2 a! f4 [  D. P
  1823. ; that should not be accelerated. The file format is to add each filename' Z9 C5 y! F: a5 }' U2 s1 S
  1824. ; to a new line. The filename may be a full path or just a file prefix
    4 b7 I5 a7 O+ `% u; U8 T
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    5 s+ H) |* _: E$ t: ~- M7 A
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    - {+ }" s; ^# s: X+ ?8 z
  1827. ;opcache.blacklist_filename=9 f9 i% p6 ~3 d
  1828. ! V8 e/ F0 ?  ~
  1829. ; Allows exclusion of large files from being cached. By default all files4 J' \% X" r# b- B4 `2 o6 t+ D
  1830. ; are cached.
    2 `) _( c$ J3 P
  1831. ;opcache.max_file_size=0+ Y9 h+ Y' {: D5 L. H, p! B
  1832. ' b+ N  m" h/ P1 |
  1833. ; Check the cache checksum each N requests.1 H, P* c1 \( C
  1834. ; The default value of "0" means that the checks are disabled.
    $ l( b4 H( Q! M. J
  1835. ;opcache.consistency_checks=0
    4 }# Z0 B9 y  p1 R: D( P; I; X0 |0 `* ^
  1836. 5 Y# e5 {# u# G8 M# ]% {7 S) r
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache2 S' u: k6 G/ P
  1838. ; is not being accessed.
    3 {& |8 z) c9 E( u
  1839. ;opcache.force_restart_timeout=180) J- L* F. B8 a3 l, ?

  1840. : Z7 Y0 V; }) j1 f
  1841. ; OPcache error_log file name. Empty string assumes "stderr"., j  ^7 m+ l+ r) }. e: q0 \" R
  1842. ;opcache.error_log=8 {1 T/ Y+ [+ j! n

  1843. ' e5 T, w) U: U* ?
  1844. ; All OPcache errors go to the Web server log.( x* P+ j& X% Y( \$ f
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.3 i% c1 U7 ]" X/ {) i/ y/ w
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    9 B4 w+ H7 K6 ^4 M; d. v
  1847. ; debug messages (level 4).
    * z9 T3 [: s$ Y5 T
  1848. ;opcache.log_verbosity_level=1' D0 n& c: e( B7 v
  1849. 6 D% y" r) r$ A
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide./ H; K) c% X. X' Z
  1851. ;opcache.preferred_memory_model=5 c0 t. U/ |9 ?( k- o5 M! [" o

  1852. 4 t+ O% X3 o  {( Y" z
  1853. ; Protect the shared memory from unexpected writing during script execution.
    # ?) Q2 D9 P9 X. y' h, V5 z7 _  T( H
  1854. ; Useful for internal debugging only.( [3 R  M3 r6 R  v+ R. U
  1855. ;opcache.protect_memory=04 {, y$ f! d2 y0 u
  1856. # W- [6 [$ f# S4 Z1 J7 j0 n
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is7 e6 k0 K( p0 j* \0 @/ m  Y& ?
  1858. ; started from specified string. The default "" means no restriction/ d  f* [7 f; a' c- E- a9 q# o
  1859. ;opcache.restrict_api=, m& Y% v7 J( P/ g; W% S& [; Z9 t) e

  1860. - Q3 V0 F8 w+ u) _0 W
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP" [; I7 R- H# S7 k% u% A, {* \
  1862. ; processes have to map shared memory into the same address space. This
    - S  U9 C# v) Q  g- f0 b
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    : P& m  K0 b' _! |9 C6 i0 i) q
  1864. ; errors.0 ?% o5 a8 F) K
  1865. ;opcache.mmap_base=
      `% n- I6 A1 Q
  1866. 9 H3 A$ G+ ?5 s- _7 h
  1867. ; Enables and sets the second level cache directory.6 J6 F& Z9 O; ~! d; Z+ `" l
  1868. ; It should improve performance when SHM memory is full, at server restart or- D# q" v' J- H3 L
  1869. ; SHM reset. The default "" disables file based caching.
    / W3 \: k2 _8 e( j# l( y
  1870. ;opcache.file_cache=
    , }: z4 v% q0 _8 D

  1871. & t, T( c# \3 W2 x
  1872. ; Enables or disables opcode caching in shared memory.
    0 I7 [' v) o+ F3 e
  1873. ;opcache.file_cache_only=0
    " P' }4 o% ]- q7 h" H* ]

  1874. : j3 i) b8 M5 a! V2 Y3 H, f7 H
  1875. ; Enables or disables checksum validation when script loaded from file cache.% J0 l8 u3 S5 T& m* i
  1876. ;opcache.file_cache_consistency_checks=1! i) `3 r: C& y
  1877. : P& b6 _/ d2 U4 a$ _. R% z; Z5 ]  f
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to% U/ _3 \: e9 _/ C1 @  r# x. o5 S
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    & I! T9 q7 O" H1 G- H( x' Q( i' L
  1880. ; cache is required.6 a0 r2 O$ k; h% X& \7 E9 Y
  1881. ;opcache.file_cache_fallback=1
    ( Z- g# B2 ^; D1 ^+ b( |" T
  1882. # B1 K% U. R1 r3 h* }( h
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.# V, A) O5 a+ N1 a
  1884. ; This should improve performance, but requires appropriate OS configuration.8 F3 ^& {1 b, [2 H$ y; |: N
  1885. ;opcache.huge_code_pages=15 Z! k5 j; @. s

  1886. 3 z" W9 N9 ]3 F; f. x8 ~& A
  1887. ; Validate cached file permissions.( D& a2 ~) c. U6 o
  1888. ; opcache.validate_permission=00 ?- ?) p) ]3 m! q& C

  1889. 8 Y- h' {! Z' R* b/ j
  1890. ; Prevent name collisions in chroot'ed environment.; c5 w+ t+ x& `
  1891. ; opcache.validate_root=06 p* T- r4 W/ p& q2 P

  1892. # e! {  B- h6 M* B& \
  1893. [curl]- c- m  V  k( Q( f: k
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    " \" ^6 D4 m7 g+ N0 e
  1895. ; absolute path.
    / F( S6 Y3 k  F4 l& w2 d# d2 ~9 B
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    % Z) p& y$ y4 e( {5 [! {. t) Q
  1897. & a5 [1 }( _3 O) _4 P7 C
  1898. [openssl]0 ?8 W9 \& D- t, N. @+ M9 s
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    * I5 r8 e5 m  J! t4 V
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should$ v" q  O7 }) q& l( ~
  1901. ; not specify a value for this directive as PHP will attempt to use the
    # T5 A: N+ A7 W  j8 F$ f
  1902. ; OS-managed cert stores in its absence. If specified, this value may still: O2 C/ n, t- A* D. n! Y
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ! ~5 z+ `5 v1 C4 {4 x! W
  1904. ; option.$ a# I& {7 t: y
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    # j" w) _% G. s% [
  1906. , q' j- G$ [+ {7 G9 q% h3 N
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the; `8 w. j# X' f  ~
  1908. ; directory pointed to by openssl.capath is searched for a suitable0 Y- o4 T/ c3 }# I, z2 }, i2 ?
  1909. ; certificate. This value must be a correctly hashed certificate directory.3 n. q, i, U" o
  1910. ; Most users should not specify a value for this directive as PHP will
    9 ?# t9 [, ?0 @& R9 K
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,8 t' B, }5 n, M. q, m9 ?
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    % ~# i- S* }4 ?$ V8 Y0 t
  1913. ; SSL stream context option.+ N0 O  \3 b" i1 N* M
  1914. ;openssl.capath=
    4 w: h: v9 b% x' x  w# [

  1915. , |, Q7 L% w; b% s
  1916. ; Local Variables:
    , P' y+ ?4 k( x
  1917. ; tab-width: 4
    * t' e; T5 U) j8 O6 R
  1918. ; End:
    ! w7 w" n3 c- |: a8 @7 ]& f
  1919. # e+ @- o; P1 k. f  x
  1920. ;eaccelerator
    1 ~4 k, I. ?& `7 }+ X' x3 h

  1921. & k: U+ O( }1 D& |8 n
  1922. ;ionCube- ?9 \9 X9 F6 P) e- P

  1923. - j- J9 l& j! l( P; n0 z! r# j; p
  1924. ;opcache9 |1 \6 E, J# l7 J: I5 E/ H. v5 P: {

  1925. / B; M6 v( Z# t$ ?" R! \
  1926. [Zend ZendGuard Loader]
    . n! [9 J0 o, v8 K- h* {
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line." s; X+ N, ?; S: s2 B5 ?
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    , c$ P5 a: D  ~6 b
  1929. ;zend_loader.enable=1( ~9 v( ^* H/ d; f6 v9 M
  1930. ;zend_loader.disable_licensing=0
    ' W/ Q2 W6 ?* @% a" T
  1931. ;zend_loader.obfuscation_level_support=3: I; H8 O1 U8 Y' A  ?+ J
  1932. ;zend_loader.license_path=  P7 L$ ?. R  X( F: |" W' _

  1933. 3 t* \( I$ K" ~; t2 }
  1934. ;xcache
    , i+ ^) i9 `5 U' O

  1935. 4 ~- c& b8 G* E; E( R
复制代码
/ j' y2 m8 T% U

8 f  B2 a2 [, u8 D2 o2 I' g
4 L6 j/ H, D2 A- ^- U. y! v7 G5 g' h& k+ O9 j" x+ I' Y2 L% i

5 V( d3 T* Y0 S  K% T: m2 R' U/ Z+ N9 B
- E* g6 I% p; Q# y+ V8 n
PHP5.6版本原始设置
* x4 O; H! S7 H6 k
1 x( O, U. p7 ~* {( b' P
  1. [PHP]
    % n- k- [* X: ?$ r3 a
  2. 8 g  P/ ?4 x8 [" r
  3. ;;;;;;;;;;;;;;;;;;;  `  P' C& D2 m0 I
  4. ; About php.ini   ;
    4 f# \5 Y, h- w7 n1 T" k4 a  z
  5. ;;;;;;;;;;;;;;;;;;;
    # R- H" ?0 X' a7 @. y5 q# G: P8 K7 _
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ! g! p- S0 B9 X2 K" c! x" F
  7. ; configuring many of the aspects of PHP's behavior., B* c3 i" l( H( s

  8. - r1 n* D8 f6 q3 P4 U! ?5 l; n- j
  9. ; PHP attempts to find and load this configuration from a number of locations.
    * E2 l( n& a1 ]& s
  10. ; The following is a summary of its search order:
    4 d; W& Q# {' x( H. w# l
  11. ; 1. SAPI module specific location.
    . m( X$ T, N" P0 M' i- N
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    4 F. c* B% w( e6 ]4 b2 `
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ) R, E+ x1 |6 @2 m
  14. ; 4. Current working directory (except CLI)
    + \. s2 W, v4 d, ^7 M. q
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP$ H0 t; J+ y0 u0 i$ a; |
  16. ; (otherwise in Windows)
    7 z; K1 _2 h' x( z0 M  M! s, a% r
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
      X* T! x) D* ^& `) Z
  18. ; Windows directory (C:\windows or C:\winnt)+ S6 ?; K  S) e+ R: S! U
  19. ; See the PHP docs for more specific information.  y: |7 _$ E( x; ^) O) e  L' s( r
  20. ; http://php.net/configuration.file
    ' I4 N  C. e4 ]& |8 H  \

  21. ' X  z$ L; p% C9 U- V
  22. ; The syntax of the file is extremely simple.  Whitespace and lines- d7 n+ o3 r* ?% u  a0 X
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ; r# O6 Y: m) a; V
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    : D! P/ P6 [9 X0 e5 e. o: y' v
  25. ; they might mean something in the future.1 N: A9 H3 r  J% Y; T! [
  26. # ^0 A7 Z' |2 l
  27. ; Directives following the section heading [PATH=/www/mysite] only, H+ x1 K$ Y, X' o9 A# H
  28. ; apply to PHP files in the /www/mysite directory.  Directives0 ]: l  K- T; k4 x0 X) _: N
  29. ; following the section heading [HOST=www.example.com] only apply to
    8 S" C- j& m) e) G) P5 @/ z0 _  o
  30. ; PHP files served from www.example.com.  Directives set in these
    6 T1 C' r) o' G6 ?: V. f
  31. ; special sections cannot be overridden by user-defined INI files or8 O4 ]  A$ D- Y0 ^  ]: K
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    % Z9 J' G, u* a0 t" T
  33. ; CGI/FastCGI.
    + p7 |. G5 I2 A9 ~$ A& ]: C+ z
  34. ; http://php.net/ini.sections
    ' X9 M8 h/ ?6 W( L. _
  35. : ~+ V( ]2 V/ x' v8 l' v% W
  36. ; Directives are specified using the following syntax:) U0 b) h9 J3 q* K( O
  37. ; directive = value& W  [7 }" j5 D: m0 G5 B& e
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.; p% p- R' F0 B( \2 g! F  n1 e. o
  39. ; Directives are variables used to configure PHP or PHP extensions.* s. a8 Y! _/ }. U) z2 G
  40. ; There is no name validation.  If PHP can't find an expected8 N3 U6 Q4 g' G
  41. ; directive because it is not set or is mistyped, a default value will be used.# }  m: U$ [9 x

  42. / L' ~$ I! C6 H0 }
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    2 l% \* F3 E" x/ Q7 L% Q6 C7 |/ N
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    & n- a* Y* u- x) O* Q$ k
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a- z8 |) g1 [8 O7 Q& i) }
  46. ; previously set variable or directive (e.g. ${foo})! O( t: S$ G8 |7 I

  47. " Y, d2 W! S  c: y
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:1 ~/ _3 H) a, D7 ~/ L
  49. ; |  bitwise OR* x" w, ?6 P; U, Q( ^, Z
  50. ; ^  bitwise XOR% j; [- r6 j, {. h! k
  51. ; &  bitwise AND3 `) _5 {0 z4 _
  52. ; ~  bitwise NOT6 F" H4 H( p7 P: E: S
  53. ; !  boolean NOT( F9 [1 K% Q5 @: R1 p+ J
  54. # b' S' \" c. l( `  t. C3 V# b
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ) Y# \8 l! I# Z% g, `
  56. ; They can be turned off using the values 0, Off, False or No.
    : a1 j; z# U4 }/ ~/ s; K$ }4 w  E
  57. * V- X. j. s+ F7 y& s5 Y
  58. ; An empty string can be denoted by simply not writing anything after the equal
    0 E7 P7 r' D( K0 ?! O
  59. ; sign, or by using the None keyword:6 Q3 m# {+ u# s% [8 {

  60. 7 s! e1 P1 v% J9 \( [
  61. ;  foo =         ; sets foo to an empty string! N% w. k* L5 H% ?
  62. ;  foo = None    ; sets foo to an empty string$ L+ V& g/ a) V8 ~. G
  63. ;  foo = "None"  ; sets foo to the string 'None'" ?( f+ t4 I/ l6 t
  64. 5 F8 v- c- l0 [( d; P
  65. ; If you use constants in your value, and these constants belong to a
    7 K  T6 _/ ]! r4 f. z
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),  V: @! W9 q( L; O! E3 J& V
  67. ; you may only use these constants *after* the line that loads the extension.
    , }" o9 F% ]6 w" b
  68. ' d/ X" n# |7 {2 H* a" k6 B% r
  69. ;;;;;;;;;;;;;;;;;;;
    + V  w& [$ d0 Y
  70. ; About this file ;4 T) G2 C9 ~  ]/ \8 U
  71. ;;;;;;;;;;;;;;;;;;;2 _# i9 J' }% l' {+ }
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    " q0 {& F% Q6 T$ ?% V/ |4 P/ H- @
  73. ; in production environments and one that is recommended to be used in
    % {2 e( {0 e" i
  74. ; development environments.
    " c% s# }( Z& t( L7 G' I

  75. * J( E* `+ l, {9 ^  W0 U, Z, k! @
  76. ; php.ini-production contains settings which hold security, performance and+ V9 R& |* U7 O# t( D% S) W  n' `" Z
  77. ; best practices at its core. But please be aware, these settings may break
    * _  T# V0 l3 X" D  x
  78. ; compatibility with older or less security conscience applications. We
    6 \, H3 E- [* F. L! x3 w  I
  79. ; recommending using the production ini in production and testing environments./ E5 j' z8 ?' C& o* a  X
  80. 3 m9 [+ O* N, }' L2 u
  81. ; php.ini-development is very similar to its production variant, except it is
    7 g5 y2 p7 K& O
  82. ; much more verbose when it comes to errors. We recommend using the
    9 W8 f9 k/ i* }
  83. ; development version only in development environments, as errors shown to
    2 q9 l  D) H2 D! f( c
  84. ; application users can inadvertently leak otherwise secure information.
    . K0 U  t( p" o5 L3 A

  85. / H" @8 x4 T' Z. ^6 w
  86. ; This is php.ini-production INI file., I) e& e1 _% a! U( u, {

  87. 0 Q& r8 }0 h8 f' P6 e
  88. ;;;;;;;;;;;;;;;;;;;/ q+ x: y: O' K1 }- n8 q) _
  89. ; Quick Reference ;
    $ S# O) {5 \- L3 z
  90. ;;;;;;;;;;;;;;;;;;;
    * v$ [$ N  U5 Y; v
  91. ; The following are all the settings which are different in either the production
    8 d: C+ K8 k4 _* s' C' _% d
  92. ; or development versions of the INIs with respect to PHP's default behavior.3 [) J9 r4 k( I: ?
  93. ; Please see the actual settings later in the document for more details as to why
    0 {5 {) g5 P' {7 K( I" e/ o& K
  94. ; we recommend these changes in PHP's behavior.2 g, N6 m2 {5 v/ x6 W' k

  95. * s3 r& _7 l, s3 ~& p% I
  96. ; display_errors
    # d! S. T$ y) D: D. u
  97. ;   Default Value: On) o+ T7 h  y3 @9 a
  98. ;   Development Value: On  I1 H# y1 y& N1 P0 X; l
  99. ;   Production Value: Off% Z* O1 @; j, f

  100. ' p" Z3 B. k! v
  101. ; display_startup_errors3 b- \- i  z  z% b/ V# J
  102. ;   Default Value: Off) j1 e% i; q1 l
  103. ;   Development Value: On
    * M4 L4 p. ]2 y' G7 R5 U
  104. ;   Production Value: Off
    ! N+ b# A, n9 a, c

  105.   Y5 _7 \" ^3 X
  106. ; error_reporting" M+ k7 i8 f' ?$ ?6 F
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED0 _' S0 U1 o3 ~) G; T8 _
  108. ;   Development Value: E_ALL
    ' D. e% k& |2 x9 m, K4 J
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 S9 T4 e' p4 r( g, H& \9 q# [( N
  110. # h6 p$ D; `+ h' N, @
  111. ; html_errors! P6 Q$ s) }/ Z
  112. ;   Default Value: On
    4 g, N( G0 g) e9 e
  113. ;   Development Value: On
    * B* G; B& `0 F$ a7 H
  114. ;   Production value: On+ `/ N3 F( F: ]: u9 |8 m/ t) P& \

  115. 5 K- }( g% n- ^# W9 d/ V* }
  116. ; log_errors
    8 r  L! ]' m; J7 b9 \
  117. ;   Default Value: Off
      ]0 F4 F9 U" t/ N* P) h
  118. ;   Development Value: On
    * x: i- }3 Y  g) b9 i4 b' ?) i) y
  119. ;   Production Value: On
    9 R/ d$ i2 A' Y7 o5 P4 M8 H8 H
  120. ' i" [- M# q/ h  q
  121. ; max_input_time
    5 r, L4 I3 P+ T3 P0 C
  122. ;   Default Value: -1 (Unlimited)
    ) R% ]; \1 A% T! |9 `, C8 m
  123. ;   Development Value: 60 (60 seconds)
    % ~/ h6 V+ {4 z) v$ E
  124. ;   Production Value: 60 (60 seconds)9 h/ n* B5 f* A6 W$ \( c+ l! p7 A
  125. 3 x' x% z4 ]' m
  126. ; output_buffering
    ! j4 R# G9 M) J: C# B3 o
  127. ;   Default Value: Off
    / y. Q# k* h' l: a1 d% k* J
  128. ;   Development Value: 4096
    : X0 P+ h* u! c- Y) L
  129. ;   Production Value: 4096
    / ~- `. I3 g& E, C

  130. 2 B: b+ v# l7 m" d/ Z+ ~/ d; W
  131. ; register_argc_argv
    7 ~( r6 A, I: S% r- `1 l
  132. ;   Default Value: On
    0 X! w% t9 I* |9 C3 q" D9 g% L
  133. ;   Development Value: Off3 x, [5 b2 j  N& V
  134. ;   Production Value: Off7 ?# @; }: h( b" v% k% I( v) \
  135. 3 s/ a) P8 l3 ^
  136. ; request_order
    " [, H" ^) L+ p. O
  137. ;   Default Value: None
    " [; h1 x' b1 ^* f+ v% W# ^3 `
  138. ;   Development Value: "GP"$ F8 \0 }0 ?8 J  M- S
  139. ;   Production Value: "GP"( X/ r* @, s& ]  t
  140. 9 K+ l' \4 X! F7 r, t9 h* Y; F
  141. ; session.gc_divisor/ T" ?! p4 J9 }6 b8 Q6 H8 `3 `
  142. ;   Default Value: 100
    " L# s& |2 ~5 U: D
  143. ;   Development Value: 1000
    ! i: B6 g, r5 q. d
  144. ;   Production Value: 1000
    3 u# S! @. G6 Z) C
  145. ) a4 r5 p. x% A* @8 n. S
  146. ; session.hash_bits_per_character
    " K: i& X& R) c, C
  147. ;   Default Value: 4
    7 q  }5 g) g5 b6 @8 P6 u
  148. ;   Development Value: 5
    $ E& i. ?& c) W6 N
  149. ;   Production Value: 55 g- Y" d$ o) u9 H
  150. # r( W1 I! C8 k$ u& H$ e
  151. ; short_open_tag
    2 d9 @) n" ~6 o3 G
  152. ;   Default Value: On8 A& K' t$ r! b& h% V4 u
  153. ;   Development Value: Off8 z+ V6 X' ?. y2 S2 w( n% y3 }
  154. ;   Production Value: Off
    % b: G% n! l. [. ?) t

  155. % h$ m- i; b! I2 B& H. c
  156. ; track_errors  M! I! X0 J: I! p0 x+ {6 X
  157. ;   Default Value: Off- g" R. C& }7 e9 a
  158. ;   Development Value: On
    # ?% ?* n' B. g: B/ `6 G
  159. ;   Production Value: Off
    7 H% n! l# b4 Q1 |. j
  160.   K2 w% k# P! f" H" A0 I/ P: w
  161. ; url_rewriter.tags' Z. p3 _- S; L0 w
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    & N4 z1 p: z2 A1 i, ]
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- J% c3 O- R. B1 @3 `
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & I) `- G4 l7 a  Z" h$ k% c

  165. % y# _5 L: \# |8 ?' U& h
  166. ; variables_order7 q4 M( N" z  T3 O6 D
  167. ;   Default Value: "EGPCS"
    8 o4 _. y; |; N3 f0 C0 [7 \+ G
  168. ;   Development Value: "GPCS"
      P; n+ u9 s3 [/ U. ^; F
  169. ;   Production Value: "GPCS"$ K6 \: N* v. C5 q! P
  170. , G% X- }3 |/ m8 \
  171. ;;;;;;;;;;;;;;;;;;;;0 j2 A& V4 g' v2 a- m$ ]
  172. ; php.ini Options  ;
    7 O7 L$ {; E% D
  173. ;;;;;;;;;;;;;;;;;;;;
    ; }7 P+ a9 U/ k
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    - H/ w+ C# ?& k" X- v) k
  175. ;user_ini.filename = ".user.ini"
    * m2 p' [% g3 ?( X/ n  n

  176. 1 Z) v/ o/ q" y, B
  177. ; To disable this feature set this option to empty value
    2 Q3 ^; Y: x5 p+ Z
  178. ;user_ini.filename =
    4 s' l* |4 J  ~- y2 T8 g, t1 B9 O

  179. , m7 L/ `1 X. i& n0 B- K
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)2 X! w. h+ N6 q9 N  ~% M
  181. ;user_ini.cache_ttl = 300- \+ A+ q& n& I/ F" k

  182. ) t8 o/ K; O  H% i1 N
  183. ;;;;;;;;;;;;;;;;;;;;  m  z: n9 }) n& y) Q! I, @: s
  184. ; Language Options ;: N6 H; _2 m) y  t7 I4 \, K
  185. ;;;;;;;;;;;;;;;;;;;;& \8 \) y/ @& E: `* R; L

  186. 0 D/ v! }/ u$ X+ s
  187. ; Enable the PHP scripting language engine under Apache.2 n: j6 W8 s9 t) f$ Z
  188. ; http://php.net/engine
    4 V1 \4 Q. |1 y: y/ M& l
  189. engine = On
    0 z1 y; Z8 C9 ~  U

  190. ; E7 X& n  ^* `
  191. ; This directive determines whether or not PHP will recognize code between4 v, N6 G. y. I( s0 C
  192. ; <? and ?> tags as PHP source which should be processed as such. It is* i3 D: n0 Y1 r4 Q4 ^
  193. ; generally recommended that <?php and ?> should be used and that this feature
    : \' j. Y- y% P; Z$ ^
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ) H) x# O* z# f" Z; n! b  l+ E3 A
  195. ; documents, however this remains supported for backward compatibility reasons.
    ) V+ v8 L$ j. l$ b
  196. ; Note that this directive does not control the <?= shorthand tag, which can be, h( h6 F9 P; i% ?- y  W3 e: s$ V
  197. ; used regardless of this directive.
    + B5 |7 s3 I% ^2 X
  198. ; Default Value: On* ~0 c& A' a; m/ i" d
  199. ; Development Value: Off
      o* b$ d+ P& {7 t7 c
  200. ; Production Value: Off7 H8 A8 D% }7 o. [/ I* L2 b7 l7 f" S/ x
  201. ; http://php.net/short-open-tag
    0 E$ R3 ?, O  V) ~; ^
  202. short_open_tag = On
    1 _. X8 Y7 |. r$ _% j0 P& n- Z

  203. ; E8 B/ E" e- D3 |
  204. ; Allow ASP-style <% %> tags." q& Y8 c' ?( m& C5 s/ O* Q% p6 s
  205. ; http://php.net/asp-tags
    : E2 T2 F& ?5 o2 c: F& w) w4 p/ w* T
  206. asp_tags = Off* h  I0 @& m+ \" k2 r+ G8 t
  207. . E- C& v) J5 {# Q: h
  208. ; The number of significant digits displayed in floating point numbers., D/ x' Z: |+ N  V( |/ r) w
  209. ; http://php.net/precision
    ; [: u" Q  k( \) `/ G7 `) P
  210. precision = 14; e$ J& q. [9 d3 @" D% G* n& G

  211. ) ^8 ?4 D! _" T/ Q
  212. ; Output buffering is a mechanism for controlling how much output data
    ( d/ H3 u: u0 F4 Z0 Q
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    : s3 W1 h. t: d3 c% C
  214. ; data to the client. If your application's output exceeds this setting, PHP9 u5 _5 X' y9 u4 p; W* O! d( p5 o
  215. ; will send that data in chunks of roughly the size you specify.
      m7 d# d" L' I  m$ w
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    3 B8 ~* |3 {, N1 B0 Q/ l" k
  217. ; interesting side-effects depending on your application and web server.
    " ^$ t1 \$ q' R- p: j
  218. ; You may be able to send headers and cookies after you've already sent output8 v% V: i# D; w+ e
  219. ; through print or echo. You also may see performance benefits if your server is8 u  G, b  w4 S% c1 A0 U( f$ @, E
  220. ; emitting less packets due to buffered output versus PHP streaming the output3 G# ^& [! K1 \. Y6 I. @$ G7 |
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance' f. U4 H: x; L- e% K5 z" U0 t! Y
  222. ; reasons.
    9 g$ b6 C% {/ H4 R5 {- Q, t1 U: i
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    & `2 o1 t( |& f! c' E# Y3 V
  224. ;   functions.
    + `3 E6 [: H! A
  225. ; Possible Values:
      g* x/ R0 C+ u) ?  A
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    6 ~( C6 s8 g8 P  M3 b
  227. ;   Off = Disabled
    9 r" p+ {; r6 N& U
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    3 h: R7 I7 b: p
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # \% i  r: ~# k: m: j
  230. ; Default Value: Off! t6 G  w8 A. a; `" @
  231. ; Development Value: 4096
    8 B6 a! r( r# l* W
  232. ; Production Value: 4096
    ) Z( T. B3 N3 ]  ~
  233. ; http://php.net/output-buffering
    - O& z& h6 v" v/ z/ a. m
  234. output_buffering = 4096
    ; k% `7 r$ S( z$ }5 y
  235. ; {* c* e7 g2 P' z# B5 y& ^0 d
  236. ; You can redirect all of the output of your scripts to a function.  For7 O; y; y5 K0 W& r/ t
  237. ; example, if you set output_handler to "mb_output_handler", character5 G3 F1 z! c! \! f
  238. ; encoding will be transparently converted to the specified encoding.
    - B* c/ u, w- U; B5 G* C
  239. ; Setting any output handler automatically turns on output buffering.9 e6 [; L7 T, x
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ( `! T# J2 H5 F! L1 N5 P
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ' M  f! K0 X' M" \
  242. ;   Using this ini directive may cause problems unless you know what script( Z3 q9 g. `) Z0 s, g& I% k6 ^; t+ P
  243. ;   is doing.5 g! A+ G: d- }; k
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    # i" o6 D5 O# K1 ^2 |# ]2 W% X
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".0 v& |& e3 g) S2 a, a( J" `/ \
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ( Q3 ~& H" J/ G8 T6 w- A# y  t. U
  247. ;   Instead you must use zlib.output_handler.3 E7 }5 n4 F5 G- c
  248. ; http://php.net/output-handler
    4 i# _; W) i/ n% t6 L5 l
  249. ;output_handler =/ m' W4 f* X) Z: c. A3 I! z

  250. ; M! E+ b2 z- E, P, k
  251. ; Transparent output compression using the zlib library8 k: t% j0 l3 ]: y1 {% w8 y6 V+ b
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    3 Q" }  y* m8 C* n4 G
  253. ; to be used for compression (default is 4KB)
    # x7 m7 [& U# F- f. E. f' ]
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    . D2 j4 X0 [" W# x9 \; t
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    8 X7 j$ h/ R4 d
  256. ;   compression. If you prefer a larger chunk size for better
    $ e% E* Q8 J  N
  257. ;   performance, enable output_buffering in addition.4 O" {6 }4 D1 I: h; R4 S5 o* {# q
  258. ; Note: You need to use zlib.output_handler instead of the standard. s3 z5 f( N: T7 j+ j
  259. ;   output_handler, or otherwise the output will be corrupted.$ D. R  |: o' v& M
  260. ; http://php.net/zlib.output-compression
    7 ~  h2 z8 A  _* }! ]- M
  261. zlib.output_compression = Off
    # g0 C- R1 T% V' U! r5 C, S  Y

  262. : C! c# r8 n: q: B  q8 b. O9 y
  263. ; http://php.net/zlib.output-compression-level* x4 Q0 x; A, ^7 p6 i0 B+ X, I
  264. ;zlib.output_compression_level = -1
    4 W( u/ \9 v: T: m3 B: ~: B# R1 \% J

  265. / r' x# m* @8 s) G/ s8 R1 Y7 }
  266. ; You cannot specify additional output handlers if zlib.output_compression( H/ B, u  M: C* M) u+ P. a. d9 L
  267. ; is activated here. This setting does the same as output_handler but in; o8 V5 k9 s$ a& h/ x. Y
  268. ; a different order.
    * {2 y7 K, w$ w. {9 E0 h
  269. ; http://php.net/zlib.output-handler
    ; _$ T1 M3 T& f" v4 p3 @$ w
  270. ;zlib.output_handler =1 \( x4 |2 u9 m

  271. ) Z+ E  g" [# j+ |
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    8 j8 I! a7 G/ j' V9 H9 P% E
  273. ; automatically after every output block.  This is equivalent to calling the. N4 i; U5 n/ r+ O  l* J1 M
  274. ; PHP function flush() after each and every call to print() or echo() and each; ^9 b; Y# @$ L
  275. ; and every HTML block.  Turning this option on has serious performance; k. Q4 ?  r2 v: D, a) g
  276. ; implications and is generally recommended for debugging purposes only.
    ) S# o& \, H1 [; a% h3 {; k: d$ l
  277. ; http://php.net/implicit-flush& H) f- S8 \0 W1 I. Q, H3 P
  278. ; Note: This directive is hardcoded to On for the CLI SAPI! v' _1 J2 E. q1 L! i
  279. implicit_flush = Off0 ]( L* k) j% o

  280. 7 @3 l- K$ D5 X5 F
  281. ; The unserialize callback function will be called (with the undefined class'2 |6 f& V7 X9 r. o5 e2 R% K9 t3 f
  282. ; name as parameter), if the unserializer finds an undefined class
    ) c9 f$ L% P0 A$ a) m( q
  283. ; which should be instantiated. A warning appears if the specified function is4 v$ f+ m+ _  N; k, [% U% ~
  284. ; not defined, or if the function doesn't include/implement the missing class.- L; k( O* @$ C. p1 b2 @' Y
  285. ; So only set this entry, if you really want to implement such a. Q! u4 ]2 k* n, k8 M
  286. ; callback-function.
    1 ]$ B) u2 c2 w) v6 \6 Y
  287. unserialize_callback_func =' u$ y7 e! d! Q# g( B* _4 E) h2 B
  288. : X/ M5 {% E1 N5 g( K4 r/ z) f
  289. ; When floats & doubles are serialized store serialize_precision significant+ x# i  ?, D4 ^+ r" {# U
  290. ; digits after the floating point. The default value ensures that when floats1 y. I9 J8 @+ o" d
  291. ; are decoded with unserialize, the data will remain the same.
    1 K) t' P, |8 |8 k. N9 j2 }
  292. serialize_precision = 177 ?3 V5 |+ }0 t. I
  293. ' e) R: S9 W- r) z
  294. ; open_basedir, if set, limits all file operations to the defined directory/ V4 \7 a1 ~( w' k$ W
  295. ; and below.  This directive makes most sense if used in a per-directory. X7 G9 ^) T4 B* |& R/ g
  296. ; or per-virtualhost web server configuration file.
    " J( g5 w. B5 Z2 o4 i
  297. ; http://php.net/open-basedir7 W$ s& ^. B! c" {
  298. ;open_basedir =1 Y, ^- q' a$ C+ ^+ v
  299.   E# H6 y+ [/ p  ?7 Y. L: r9 A
  300. ; This directive allows you to disable certain functions for security reasons.8 L/ p* Q9 o% i  a- p: l: s  u
  301. ; It receives a comma-delimited list of function names.
    1 ]" Y6 A. p* O- z
  302. ; http://php.net/disable-functions
    , l- r  B3 d  w% L; [
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ) g! q' h  f1 H' N5 R
  304. 2 }. }8 P5 z3 A! W
  305. ; This directive allows you to disable certain classes for security reasons.$ N2 }, P8 m4 {& \. R
  306. ; It receives a comma-delimited list of class names.
    ( V/ i# C/ y) p* u( x
  307. ; http://php.net/disable-classes
    3 u4 H$ T- u. Z) @) N
  308. disable_classes =+ j: g( X8 d' z7 i" Q
  309. 9 b) K$ h/ z% o9 P. [1 I
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in* M3 R; r# U2 b: M! u
  311. ; <span style="color: ???????"> would work.
      g+ {+ _: m0 d- Q# h
  312. ; http://php.net/syntax-highlighting# @; |4 b* B+ P2 p" l/ p
  313. ;highlight.string  = #DD0000
    4 V% `2 O, \7 ~( Q! d6 J# i
  314. ;highlight.comment = #FF99005 g" w% v  c$ N" ~. r2 I4 c( w
  315. ;highlight.keyword = #007700
    % C& u* U* U5 j
  316. ;highlight.default = #0000BB
    & I! a+ k; U* Z( U& `/ b1 P  M
  317. ;highlight.html    = #000000
    : J" Z% b& ?$ G" A- h7 Y

  318. % \, ?9 d& u8 |# F! A
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    1 b8 J, w" ]1 \' a: a$ W" |
  320. ; the request. Consider enabling it if executing long requests, which may end up& Y$ t5 S: Y. U8 o( `
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
      B9 K6 x2 h3 `: O  X% M
  322. ; is to disable this feature.
    ( O# U0 b9 K- c, X
  323. ; http://php.net/ignore-user-abort
    , x( R# ^6 X- O, n8 V
  324. ;ignore_user_abort = On
    / V2 ^8 }! {3 ~" j6 A0 f, W

  325. # i: u; j7 C) A3 ?6 {
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    + \+ _) `4 `/ c$ R, V7 V3 ?; P
  327. ; be increased on systems where PHP opens many files to reflect the quantity of) `8 \8 _$ j) S& S
  328. ; the file operations performed.
    * @7 d: g% @, A7 V7 s* ~/ O
  329. ; http://php.net/realpath-cache-size; S, w! v0 y' n# ^) F; `
  330. ;realpath_cache_size = 16k) _/ R# A# w$ _# K) f: o& z. s
  331. 7 p. |; ^/ k/ c$ d" \4 P- D; G* T1 Q
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    6 I: p2 a$ ~9 h9 b. ?' ?! K
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    6 S* G" n( O; {5 T1 c
  334. ; value.! ~% E8 K: Q7 a: D
  335. ; http://php.net/realpath-cache-ttl
    + E, A) o+ W2 e0 f# X/ L
  336. ;realpath_cache_ttl = 120( L! B7 N5 I5 h7 I+ [  R# Q) ~
  337. * l" _6 L" V( I7 s9 {1 E: ~
  338. ; Enables or disables the circular reference collector.
    % W: O: D% Y- n
  339. ; http://php.net/zend.enable-gc
    , h, _) P8 b: {2 G$ {
  340. zend.enable_gc = On+ l/ w* K" c' D
  341. , u1 \! t9 r7 Z+ z6 L$ u
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    8 o, ]" M# [$ m* U' }
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    6 `6 C" N; S+ \, O/ [
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    , p2 }1 e/ o3 |8 D
  345. ; Default: Off
    4 V3 A: A# x- j1 n$ T' r6 Q( p
  346. ;zend.multibyte = Off
    $ M/ `! A# S9 R) r: _% n
  347. 8 F' H$ b: b) S1 q
  348. ; Allows to set the default encoding for the scripts.  This value will be used' {! @6 @6 J  e! e$ r4 ^/ g* V
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    & X0 ^: x/ D7 |( j$ j' e
  350. ; Only affects if zend.multibyte is set.
    9 J4 e0 h, C1 V4 @7 M
  351. ; Default: ""
    0 Q9 k2 I1 \6 x6 T9 Y: K; I& b
  352. ;zend.script_encoding =5 \7 _$ h, t& r& @+ K4 |: ?
  353. * b4 i$ t5 I% |$ B! z' R- H
  354. ;;;;;;;;;;;;;;;;;
    & w' u! I+ e; Z, Y8 l, ?5 z
  355. ; Miscellaneous ;
    - ^+ k/ ^- ^4 d- T5 U+ o
  356. ;;;;;;;;;;;;;;;;;
    4 c% c' s: d, x- b- F
  357. ! R  Y+ F& T+ _2 D" C$ }
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    3 O/ }% D! q, D5 I$ j
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
      {0 e2 N1 T2 Z% P
  360. ; threat in any way, but it makes it possible to determine whether you use PHP5 i8 Y! o1 u/ z; q
  361. ; on your server or not.
    0 R! d5 U" Q: c! p1 V/ k
  362. ; http://php.net/expose-php8 W+ ?( a: x2 |6 x3 d
  363. expose_php = On0 g5 c$ c/ Y* o  D
  364. * E% D. I. o* [. D' h* x2 i
  365. ;;;;;;;;;;;;;;;;;;;
    # T6 C/ I; m: F: G( v4 V
  366. ; Resource Limits ;, I* I6 k4 t1 {: a  O7 r" y/ S# q
  367. ;;;;;;;;;;;;;;;;;;;
    ( @9 n5 U7 d% [; }$ c. x
  368. ' f' X7 s* y; f3 N
  369. ; Maximum execution time of each script, in seconds
    2 w$ B. ]" d: N" k' R$ _
  370. ; http://php.net/max-execution-time
    3 i8 u# V. {# V% k7 {. U  W3 S: N7 ~
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    5 f, L3 Q* `# [
  372. max_execution_time = 300
    , n. Q& Y  H: K0 J: c/ x2 R3 n

  373. $ F* @; {5 G+ I, Q, ^/ ~
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    & C. w* K: ~0 T3 g, ~; ~
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    3 ~1 c8 K& R; G6 q7 q  z7 t
  376. ; long running scripts.
      A7 z4 H$ G2 ~1 m8 D. L! K
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI  s: A& {. |- K" \) v) \
  378. ; Default Value: -1 (Unlimited)
    5 ?. ^; B. J) ^7 _
  379. ; Development Value: 60 (60 seconds)$ A8 x( D7 B, ?" F4 R
  380. ; Production Value: 60 (60 seconds)6 w  v2 ]0 O. t7 G
  381. ; http://php.net/max-input-time
      ~% i) t2 C1 p! J) A& x( O+ ]
  382. max_input_time = 60$ d& U" E3 D7 S9 B7 M
  383. ' d( b( `% o; k7 s
  384. ; Maximum input variable nesting level* u7 M$ q* J3 A$ ?' U) `5 G
  385. ; http://php.net/max-input-nesting-level. @- p% n8 q2 [, n" D2 o
  386. ;max_input_nesting_level = 64
    * z- ^$ p" n& @$ H* I9 W- h

  387. * A3 d* Y: \' j7 [3 M
  388. ; How many GET/POST/COOKIE input variables may be accepted5 c1 B8 m2 y1 E3 g/ j/ s# }
  389. ; max_input_vars = 1000$ t# s& {+ s" ]( y( E; d% Y/ j

  390.   o$ J* C! _3 n* `
  391. ; Maximum amount of memory a script may consume (128MB)
    ; b- P9 O# F& ?& [- V& N! C; ^$ t' ?
  392. ; http://php.net/memory-limit$ T7 }7 m. t+ s; g' K; R4 E/ ~
  393. memory_limit = 128M
    8 l# j9 T2 ?5 [
  394. : x) L& \: i3 L% X, Y+ B
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $ J. d& ^: U2 M8 e
  396. ; Error handling and logging ;* K- u8 O! K: v! t/ t  [3 O# _
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    4 {& H0 u" ~% g9 y* R

  398. 0 W+ i$ L/ t  _) x' N
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ( O  e; r$ h7 O
  400. ; it to take action for. The recommended way of setting values for this. w5 e7 {  [7 t  U& J+ _7 f
  401. ; directive is through the use of the error level constants and bitwise
      H" G  w- t3 H# h* _- e
  402. ; operators. The error level constants are below here for convenience as well as4 N  ?7 O* s! G2 B* b+ ~$ G( ~3 _5 _
  403. ; some common settings and their meanings.
    ; V( Z  Q  N* T
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT/ k7 J+ m# i$ w: n* o4 n
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    7 ?& a1 i0 o% F0 f4 J( }* C4 t, S
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    * w, _- k9 C* _1 z+ Z: g9 U; P
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    + {  |6 W/ m! m. H- l: o* p
  408. ; resources complaining about best practices and coding standards. That's what: G8 r% r: q2 \& D' C7 P( f  k( \
  409. ; development servers and development settings are for.4 p4 D- G: m( ^! d( `2 C2 b
  410. ; Note: The php.ini-development file has this setting as E_ALL. This& h' c, s% i( K% d
  411. ; means it pretty much reports everything which is exactly what you want during/ U5 D: U0 m* K" O$ d: T7 r; Z5 a
  412. ; development and early testing.8 i% v+ Z5 M4 c2 u: c
  413. ;4 e- {3 V+ n% f4 b9 u' y4 q) L
  414. ; Error Level Constants:
    1 g: t6 G- [, M0 p) h
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    + M1 d2 t& ?" G+ X  F* e
  416. ; E_ERROR           - fatal run-time errors4 v, B2 q5 N5 z( C, B* Y; K
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    5 E( y8 ~. [+ x1 c2 `: h
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    ) \: w4 X- U3 u" [4 K
  419. ; E_PARSE           - compile-time parse errors
    % \7 k. }# q, H$ \, l7 I2 n
  420. ; E_NOTICE          - run-time notices (these are warnings which often result  e3 [$ U5 T- H1 B
  421. ;                     from a bug in your code, but it's possible that it was
    + @/ Y) J7 v( X; E: g
  422. ;                     intentional (e.g., using an uninitialized variable and0 w' X# V- z$ j* N
  423. ;                     relying on the fact it is automatically initialized to an
    ! o: T0 y; p, m4 @# U5 f
  424. ;                     empty string)
    4 z+ C" y& p# e) @- _* q: p& W4 t
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    8 A. Q& A6 u2 x0 F6 I' e
  426. ;                     to your code which will ensure the best interoperability
    - g1 _: N. O2 O$ e
  427. ;                     and forward compatibility of your code, w6 {& Y% c: \' k4 N. W) M
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup* y5 D! ~+ U3 H9 \/ Q
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's" j; P  ?0 @  t0 i4 [9 @4 v% n
  430. ;                     initial startup4 e$ u: }' ^7 \% L$ c+ p+ s
  431. ; E_COMPILE_ERROR   - fatal compile-time errors1 Z6 d! {, J' a  }  B
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors); Q+ g) D6 X$ K: d/ Z
  433. ; E_USER_ERROR      - user-generated error message
    8 V- Q. l/ A# q  ?, e2 X4 V6 [1 J
  434. ; E_USER_WARNING    - user-generated warning message
    * |, C+ Z/ }, H/ L3 @# A' S0 R9 P
  435. ; E_USER_NOTICE     - user-generated notice message
    + d% B% K1 z7 I' T; ^5 w6 s8 i
  436. ; E_DEPRECATED      - warn about code that will not work in future versions* @# G7 h; H$ ]: H& ^  g1 G
  437. ;                     of PHP. k- t! }8 }. |6 _/ b! d
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings; H& r; k" T7 c- J0 G/ y- y
  439. ;
    : x5 W# R0 N6 F6 v7 P0 c
  440. ; Common Values:
    / G3 q0 ~0 ~4 ^1 p7 q: C
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.); A' [1 {( W* s( P5 b& h
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)+ I( F/ @' o4 k% ?4 b& A
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)) s" k: q  j4 t5 ?. o2 N7 k
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ; r: \6 d) s- s
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED6 L3 M) P" H3 g0 x5 [+ I  @. h
  446. ; Development Value: E_ALL
    0 R9 \0 a6 l0 D# I' @4 N+ u8 y
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 J: C1 D' c( t" U! L
  448. ; http://php.net/error-reporting% U6 r4 w1 F( i, |3 p
  449. error_reporting = E_ALL & ~E_NOTICE, l2 K* X, T( @2 [5 q$ W

  450. . R; c4 y# A$ r1 q/ W9 s' p
  451. ; This directive controls whether or not and where PHP will output errors,
    8 F9 ~8 q; g" v3 S0 |8 Y4 f
  452. ; notices and warnings too. Error output is very useful during development, but
    ' d- W/ F7 A& a0 W# o
  453. ; it could be very dangerous in production environments. Depending on the code' n1 l; d) |6 d  i& ^
  454. ; which is triggering the error, sensitive information could potentially leak
    7 L4 ]  ^( V6 g4 ]! X7 l
  455. ; out of your application such as database usernames and passwords or worse.2 w( W# B& V  W0 m* A' J
  456. ; For production environments, we recommend logging errors rather than
    ( ~: R  F0 a. W# W$ \9 t( B8 [
  457. ; sending them to STDOUT.& B% B' }& U. ^
  458. ; Possible Values:
    " j+ H/ `* l2 ?  R8 B
  459. ;   Off = Do not display any errors
    ! Z) M3 t" I- n& ^" W9 P
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)( a5 k3 W( j4 g4 J2 k/ H1 J! s
  461. ;   On or stdout = Display errors to STDOUT
    , ^) `# G) l$ S
  462. ; Default Value: On6 ]) W+ k( {! O
  463. ; Development Value: On& E/ |/ ^( U4 W1 P2 Q' D
  464. ; Production Value: Off
    ) N, }. A6 m% N
  465. ; http://php.net/display-errors
    3 A2 C. }5 v$ @$ K1 a
  466. display_errors = On% g# |$ v) O( V3 B8 J/ \6 u

  467. 2 {7 Y+ m- {% e8 I6 U! `% K- V+ E
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ' P* E# B3 t  W5 g; t2 {
  469. ; separately from display_errors. PHP's default behavior is to suppress those8 ~- P, P* e8 q/ q. t1 `4 V
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    . [3 I% o0 D0 r' |) s5 `; j6 u
  471. ; debugging configuration problems. We strongly recommend you
    ' O  ^- M# U) s0 q2 J/ E
  472. ; set this to 'off' for production servers.; W, G! w' b7 b% g, }
  473. ; Default Value: Off" n2 ~. f9 i' }: H8 Q& K  F
  474. ; Development Value: On" y& \. E8 O9 x: m; }- Y
  475. ; Production Value: Off( G; K& U1 v% N
  476. ; http://php.net/display-startup-errors
    - p- i. a4 Q  _, q
  477. display_startup_errors = Off
    5 F7 {' A( g) C% q
  478. : y7 s+ k$ ^4 k9 l6 D
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    % t4 ]" G! w1 B9 O7 E$ t2 C" S
  480. ; server-specific log, STDERR, or a location specified by the error_log! d: r5 i! @+ B. |) v; w; m( |
  481. ; directive found below. While errors should not be displayed on productions: ~2 M: C/ e0 I4 E6 i9 ?! F
  482. ; servers they should still be monitored and logging is a great way to do that.- D+ Y9 [5 O. C$ O1 _/ I2 E$ b
  483. ; Default Value: Off; N! _0 y4 K1 w* V: v* r3 o( ]# y% G
  484. ; Development Value: On% k, B, r: W& T* @7 q% S; s8 V
  485. ; Production Value: On
    $ D- ~' g! M2 t
  486. ; http://php.net/log-errors/ q" V& L8 A3 ?3 E1 g
  487. log_errors = On
    ' U( l( D; ?/ S1 U
  488. 7 p" k- p& h+ y
  489. ; Set maximum length of log_errors. In error_log information about the source is, W2 i& n4 t9 b) R/ k% s
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    " }& [$ t* e) L* C5 A+ }* s
  491. ; http://php.net/log-errors-max-len4 t6 S1 ], \' o
  492. log_errors_max_len = 1024
    1 K1 I- C8 G. j- D( U4 B( ?+ t

  493. % P* C1 d6 N1 a2 |  A% P
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same! P+ H( r/ i# U' m0 |7 S
  495. ; line unless ignore_repeated_source is set true.
    / F$ Z% R" u7 a1 W; p1 R' H
  496. ; http://php.net/ignore-repeated-errors! i+ {" q2 D4 V+ l  ~8 u
  497. ignore_repeated_errors = Off
    / q' {/ T( M. D! u3 b+ o

  498. : G5 a6 E0 G: {% M: @, t' Q" t
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    & j% ?* G* s$ Y* n9 A) }
  500. ; is On you will not log errors with repeated messages from different files or
    ' V, Q* w2 a8 M' x4 O
  501. ; source lines.
    ' }8 _' l: D1 z3 e  |
  502. ; http://php.net/ignore-repeated-source
    ) m: L, b3 L8 r
  503. ignore_repeated_source = Off
    0 V0 ]0 N& h) Q
  504. + G0 c8 b- i! b- q' ~
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    8 T9 O  _! E+ ~
  506. ; stdout or in the log). This has only effect in a debug compile, and if: ~. @6 B& w( @
  507. ; error reporting includes E_WARNING in the allowed list( g* T* M" J5 g( b
  508. ; http://php.net/report-memleaks0 x  J& u# q; P  i& F# U6 h! Q
  509. report_memleaks = On
    6 n& t* f/ j* L* |2 P, J" q

  510. 9 O  U! u  a6 F( A( n; {# V$ P
  511. ; This setting is on by default.
    " x, N2 e  y6 k& y; }8 b$ R- @
  512. ;report_zend_debug = 0
    8 s' J% }# L( `1 s* R( h8 a7 g' K: [

  513. 8 L& n& l0 f! W( @3 ?/ d
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    0 G  y+ K1 u( I, {
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ! v4 s# g5 V% `# \. m! L6 X
  516. ; however be disabled on production servers.+ I  Y4 d6 ^8 R; G2 Y
  517. ; Default Value: Off3 Y' ]2 f9 p" z- }+ Q8 v5 i
  518. ; Development Value: On
    2 f8 w' D. b% d* j/ w
  519. ; Production Value: Off, J' m, @6 a$ m/ @9 Z3 S0 B
  520. ; http://php.net/track-errors
    # L# R  t8 l! |2 Q" E
  521. track_errors = Off
    3 E5 v/ Q6 u2 Y! Q; K& U, n
  522.   ~% O: R1 f' `( O
  523. ; Turn off normal error reporting and emit XML-RPC error XML5 ^( l: E* d0 ^
  524. ; http://php.net/xmlrpc-errors: P; c- B- m' u, `( h
  525. ;xmlrpc_errors = 0
    * ^2 k! }( J* X! n) m: H

  526. 4 I+ t" c) i% e( |, u: I5 Z
  527. ; An XML-RPC faultCode" x) k8 W  |  `' Q3 \# _
  528. ;xmlrpc_error_number = 0
    + V6 v- y/ i; W0 m7 w
  529. ! _1 F- f" U' y. B& L
  530. ; When PHP displays or logs an error, it has the capability of formatting the$ F. ]! J7 X7 S' Z7 q$ Q
  531. ; error message as HTML for easier reading. This directive controls whether+ u5 Q! N- s  J$ k+ k
  532. ; the error message is formatted as HTML or not.% B. d# l1 w5 G8 H2 o' n
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    4 X& v4 m/ K) h: ]2 ^' B2 I. t
  534. ; Default Value: On
    - f  b$ h1 n, |, P" y! g
  535. ; Development Value: On) i, l0 W4 K5 H7 C: o; L
  536. ; Production value: On7 J( e( Q, S+ q3 b3 |0 n5 _
  537. ; http://php.net/html-errors( M! G' y7 E4 e% K& j: w. c" U
  538. html_errors = On# ?3 b  B$ P* l+ q

  539. 3 |. \% Q& c$ {9 f
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    , h8 l+ h% M, B4 X& \# T  F
  541. ; produces clickable error messages that direct to a page describing the error7 L8 }$ d9 Y! _( H
  542. ; or function causing the error in detail.) E7 ~% H6 k: A5 j4 m5 r( A! F8 H
  543. ; You can download a copy of the PHP manual from http://php.net/docs. w( X/ `1 e% |& }+ k' ~
  544. ; and change docref_root to the base URL of your local copy including the9 p+ M. X  h0 I2 P% W
  545. ; leading '/'. You must also specify the file extension being used including/ x+ r& i0 D. R' Z, l  w
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which' {( A! ~4 Y' P! K# d( W
  547. ; case no links to documentation are generated.' o8 q/ d! O. x& i5 o7 T
  548. ; Note: Never use this feature for production boxes.
    4 ~3 p* d9 P0 f- i/ p$ ^$ A9 T6 [
  549. ; http://php.net/docref-root
    ! c4 ~  p. B. z$ B
  550. ; Examples: j4 k5 f) a9 o7 U; f# ]$ g
  551. ;docref_root = "/phpmanual/"
    . [# q. A) a- O; J; B
  552. ( e, w  d1 H$ w2 ]- w) l
  553. ; http://php.net/docref-ext9 }( D( x9 C1 w" {' Q/ m9 V6 y
  554. ;docref_ext = .html
    8 T) p; @6 `1 k3 X
  555. 8 e4 r, C! w, b6 w
  556. ; String to output before an error message. PHP's default behavior is to leave
    ; L, \- k- ?( y8 i, F5 j) m' f+ k
  557. ; this setting blank.. d" b: S; L8 m5 X4 ~3 _$ s
  558. ; http://php.net/error-prepend-string
    ! _8 N. c* {% D6 t
  559. ; Example:/ k6 A0 v7 j6 m* N9 g2 f, r
  560. ;error_prepend_string = "<span style='color: #ff0000'>"' k1 y2 h; y/ @  @; x. ]) }/ c, \3 f

  561. 7 N7 V1 \/ m: ?7 c4 G
  562. ; String to output after an error message. PHP's default behavior is to leave
    9 ~% A) j3 V8 |# A3 P0 C
  563. ; this setting blank.: L) N; F/ j3 P- @! W2 O
  564. ; http://php.net/error-append-string
    7 e: j! N$ s. }( s6 r: t. p
  565. ; Example:
    . w3 l6 ]' n* `3 b/ x2 ~
  566. ;error_append_string = "</span>"! @7 r" o8 `- b) N  h
  567. : P, ~% w) j+ ~: [& z3 F
  568. ; Log errors to specified file. PHP's default behavior is to leave this value! Q" Y1 T' ~  {6 o1 F
  569. ; empty.
    / e2 w( W1 G& p: c' \; ]6 M
  570. ; http://php.net/error-log0 t% k9 z+ j" k* m) s, `) n$ n% K
  571. ; Example:
    $ N4 o* F3 e! Y/ W) F/ h5 _* H
  572. ;error_log = php_errors.log
      {5 Y5 D/ ~, z
  573. ; Log errors to syslog (Event Log on Windows).+ K  J, u' ~, n- A4 t8 p" @* `
  574. ;error_log = syslog
    0 Z; [# c  o5 s* [/ d! ?

  575. # M, z% W4 [# ?# u6 U0 j
  576. ;windows.show_crt_warning" M0 ]( O* G, r) b" B7 q7 ]$ @9 I
  577. ; Default value: 0
    ; b. X4 Q" }' b5 ]0 V0 R
  578. ; Development value: 0
    " ]9 r$ |: W4 [& \
  579. ; Production value: 0
    # D5 C' x; K/ z$ G9 R7 H6 R) Y/ t
  580. , E& w. V5 t: B! c* j
  581. ;;;;;;;;;;;;;;;;;  f9 R  q2 i9 Z4 P; U/ e% h2 i, m
  582. ; Data Handling ;
    ) Y: C5 r3 U# O2 R
  583. ;;;;;;;;;;;;;;;;;
    : k8 B- f* N% z

  584. 6 C: Q/ E) v7 H
  585. ; The separator used in PHP generated URLs to separate arguments.8 L. X( G# I$ B( }# B- G8 {7 @( Y$ P
  586. ; PHP's default setting is "&".
      K% B& P+ `; N6 k6 A9 y7 r  p3 _
  587. ; http://php.net/arg-separator.output9 ]6 q5 P9 t" [8 [
  588. ; Example:( h9 V" i' d2 I* `$ i% j& F' v! u
  589. ;arg_separator.output = "&amp;"
    ' V4 l4 O1 d/ m0 m7 s* ]: O$ C
  590. ! \) C. c# P; F3 U2 Y
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    $ Y$ y: W9 _0 v3 I
  592. ; PHP's default setting is "&".' r: T: j0 `9 @
  593. ; NOTE: Every character in this directive is considered as separator!
    - H7 D8 \4 t0 ^: Q5 c
  594. ; http://php.net/arg-separator.input
    # \8 \( P- |$ l& B- J
  595. ; Example:
    $ j( F5 ]( A7 z5 A3 h  b
  596. ;arg_separator.input = ";&"
    4 Z  Y- s, V# l! d0 |

  597. ) g/ e6 w8 m! X( k# u, v
  598. ; This directive determines which super global arrays are registered when PHP+ A- r( y& L1 r6 ^3 u
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ( i/ R" i1 w! R) f9 `0 }% ~
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    , T9 t( x$ t" ]7 U
  601. ; paid for the registration of these arrays and because ENV is not as commonly9 ]+ I, H3 |$ t. E& G0 b% c
  602. ; used as the others, ENV is not recommended on productions servers. You
    % M: w4 T# B+ L2 U# M
  603. ; can still get access to the environment variables through getenv() should you
    8 Q7 j3 m4 Y4 B/ ~" d% {9 u/ X
  604. ; need to.
    , h$ Y% S( |4 [1 h! y
  605. ; Default Value: "EGPCS"
      K+ Y. [* i0 k+ x
  606. ; Development Value: "GPCS"$ T+ x6 G5 i/ S3 D8 n2 Q
  607. ; Production Value: "GPCS";, m/ `! H! O! A
  608. ; http://php.net/variables-order
    6 p6 F2 f% @9 M* x6 @0 h; W
  609. variables_order = "GPCS"9 A% [! l3 Z: x8 z1 x
  610. 4 S) n' S) Y8 ?' |0 `3 L1 O* K* Y
  611. ; This directive determines which super global data (G,P & C) should be- h5 E& |5 ^! {* Z. J$ ^
  612. ; registered into the super global array REQUEST. If so, it also determines
    * T4 X5 n7 w9 T- I
  613. ; the order in which that data is registered. The values for this directive
    & e. M) r! K% v5 A0 Q6 H% N- G4 e2 q
  614. ; are specified in the same manner as the variables_order directive,
    % |; @* B, w+ p3 b, L: y
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set  f' p& S, |( ?8 L4 j
  616. ; in the variables_order directive. It does not mean it will leave the super
    3 j5 ?% V' d" V  V* `
  617. ; globals array REQUEST empty.
    , }4 K8 M4 O1 l+ h
  618. ; Default Value: None
    1 v, P: q) H/ B" h
  619. ; Development Value: "GP"4 e, X% n' w4 u; O1 u" l
  620. ; Production Value: "GP"
    8 M- W5 \) b& E2 e2 S
  621. ; http://php.net/request-order
    ( i9 i  S7 U# b; i) s
  622. request_order = "GP"8 W0 |7 B6 k* y6 u* N  j

  623. & u  g9 Y# `- g$ ^9 p
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    9 x5 W0 Z- L) ?8 Y
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script- Q7 N& {. p( @) m& M6 u
  626. ; is invoked. $argc contains an integer representing the number of arguments& X8 D0 ~6 @, r
  627. ; that were passed when the script was invoked. These arrays are extremely
    ( d( c9 R" z1 c( U' a! n; ?
  628. ; useful when running scripts from the command line. When this directive is
    : w$ O% x1 M  h' x% z6 `
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    2 y$ H- r+ i9 T9 z2 \
  630. ; a script is executed. For performance reasons, this feature should be disabled. Q+ F0 N3 Z2 p5 o
  631. ; on production servers.
    - O! `3 ~- w, |/ \8 v5 j: Q' w
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ) i. Y! N' [) r3 F' r0 D
  633. ; Default Value: On6 d, p! B4 c( e& L; J5 H
  634. ; Development Value: Off
    ) S! ~, O, b, N1 p$ \
  635. ; Production Value: Off
    & z5 Q# g" `2 T7 {2 Q
  636. ; http://php.net/register-argc-argv0 H3 O, j. l" i: P9 Y- Q
  637. register_argc_argv = Off
    8 M2 s8 \( J7 L+ J
  638. 8 V# y: u; k( a/ c* w; R2 C4 B
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    0 b% Y4 g# A9 f' e  Z& Q+ Y: M; _
  640. ; first used (Just In Time) instead of when the script starts. If these. M% U, S9 H, Z) a  Y
  641. ; variables are not used within a script, having this directive on will result! ]( N2 ]& ~0 e' e( S: Q
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    3 I2 M+ l  J) N# G- S% M6 j% W
  643. ; for this directive to have any affect.
    8 X4 c* _4 ~; L- [- h
  644. ; http://php.net/auto-globals-jit
    9 a2 B8 p0 w) X. n  v- i) C
  645. auto_globals_jit = On+ B; E% _2 w9 L2 V
  646. : y! C0 M" o9 U7 k( R* b
  647. ; Whether PHP will read the POST data.
    . L$ F8 }. Y- P) ~( @! G
  648. ; This option is enabled by default.
    & i4 {  E- B# H# m
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ' j4 c$ r4 N5 d* U
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    % a) w! t9 j/ y6 ^" t
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    0 `8 f! R5 V: o/ X- E: P$ B2 C
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.* {# \: a( Y# Z; N/ N1 T' `7 R
  653. ; http://php.net/enable-post-data-reading
    7 V3 U0 z) W6 v; T  m
  654. ;enable_post_data_reading = Off$ k" Q0 g# `: C5 ?6 O! e3 k: I
  655. . y# N+ N* f  J' K' L% B
  656. ; Maximum size of POST data that PHP will accept.
    % @+ ?# F9 }2 k+ Y, e4 D
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    " E5 d' f9 p5 r
  658. ; is disabled through enable_post_data_reading., N* R6 ^, M& S$ }% n$ p9 U. T
  659. ; http://php.net/post-max-size
    $ X; K1 W( C7 R: |, ~6 L
  660. post_max_size = 50M
    0 c% D* p; W) F2 b& g
  661. ) y+ Y0 C& V! O: G
  662. ; Automatically add files before PHP document.- v* i+ r: ?9 y. N" K7 u8 c4 E
  663. ; http://php.net/auto-prepend-file
    " _, v1 P4 ?' j3 t2 r3 l, l
  664. auto_prepend_file =8 H0 q! [0 G% l6 H0 A7 |" p

  665. 1 w9 e, V: M0 a; ^! H
  666. ; Automatically add files after PHP document.3 T$ k1 W7 [+ ?) \/ ]8 Z4 t
  667. ; http://php.net/auto-append-file
    . ~0 B2 u2 z- R- N
  668. auto_append_file =
    / W: X5 U) V' `- ~+ I* [

  669. * f/ x6 I8 o" `' Y0 U# h, O8 I
  670. ; By default, PHP will output a media type using the Content-Type header. To
    - Y( S9 @- P, W$ j+ A3 v
  671. ; disable this, simply set it to be empty.& k& f8 g7 D7 i4 H) |
  672. ;
    4 ]: `; K3 C# |
  673. ; PHP's built-in default media type is set to text/html.
      _) r# I, a9 g/ h8 E. B& o# E
  674. ; http://php.net/default-mimetype/ D. P) r+ r1 m
  675. default_mimetype = "text/html"$ L( N8 x' @3 j: m) o# `
  676. 1 _7 r( f/ ?9 X+ h
  677. ; PHP's default character set is set to UTF-8.
    1 C8 T9 w. ^: F. E; H
  678. ; http://php.net/default-charset
    / [/ c4 v5 ~% @0 h6 O5 [
  679. default_charset = "UTF-8"* S' C8 i% q1 n/ O  S% T
  680. $ ^; c: Z7 y+ T  k" s
  681. ; PHP internal character encoding is set to empty.9 j( }9 _% ~# k8 @
  682. ; If empty, default_charset is used.
    , f9 W0 V/ w3 v9 P8 Q
  683. ; http://php.net/internal-encoding
    0 ^: R& H% N  \$ ?  v9 w
  684. ;internal_encoding =  ~" A: r; d; m& l! V) z0 D

  685. ) S+ R( E1 x' L& q5 ]0 o
  686. ; PHP input character encoding is set to empty.
    2 c5 t  e" O, s# \/ u6 M1 l! S
  687. ; If empty, default_charset is used.5 Q9 K) s/ s8 p9 Q  a4 I: X0 {9 ~
  688. ; http://php.net/input-encoding
    - H+ D2 K5 [; i
  689. ;input_encoding =
    7 _% c3 }9 g- m/ j" V% i
  690. 6 k) L( A" d6 {# B, J7 e' |
  691. ; PHP output character encoding is set to empty.
    ! x/ G4 P! S# x6 i! p# u
  692. ; If empty, default_charset is used./ Z( `1 D- d) Q7 E. i
  693. ; See also output_buffer.
    8 @* P+ R$ @5 |
  694. ; http://php.net/output-encoding; t; w# a) n7 \  F; B8 s
  695. ;output_encoding =, ~% |5 M4 a) i
  696. ) t( O7 ?0 O. {
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is+ Q( n& A% j* J- j/ L2 O
  698. ; to disable this feature and it will be removed in a future version.% x, D  \; \' ~4 y- Y, z3 S/ g
  699. ; If post reading is disabled through enable_post_data_reading,9 y: v* g" n1 ?
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.  k! u  o4 [+ c/ `5 R
  701. ; http://php.net/always-populate-raw-post-data
    - V' Y2 {; ~& H9 d
  702. ;always_populate_raw_post_data = -1: Z( j5 B' c4 S0 z/ N! L

  703. . }: m& c. ]: H$ S0 c
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;4 I2 U2 U( s, D
  705. ; Paths and Directories ;
    / ]# H; l  N( q& }  W
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;% ^/ P6 Q6 V1 G1 S  ?, z% B" O
  707. 8 k0 F& `9 x, ]/ K! ~
  708. ; UNIX: "/path1:/path2"0 k2 t7 S+ t- {' ^! e; I2 ?
  709. ;include_path = ".:/php/includes"+ H8 f' k6 G2 i
  710. ;/ `: L! E1 l4 l
  711. ; Windows: "\path1;\path2"
    + D3 ]3 j+ b1 v, v5 M6 W$ w9 _( l
  712. ;include_path = ".;c:\php\includes"  M- I" U) v" F6 q+ H0 s; S
  713. ;9 ^9 c/ m) f8 h4 n! b! L2 ]
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"9 O* v) Q. C% B, d
  715. ; http://php.net/include-path
    - B! i) y" S, A& |

  716.   u& Y/ H% ~' u( t& `  [
  717. ; The root of the PHP pages, used only if nonempty.
    % _8 M# X9 J! j2 N' I9 m- I
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    $ u+ N$ j7 J4 y6 R3 }$ b
  719. ; if you are running php as a CGI under any web server (other than IIS); J/ T0 X0 c+ {2 h, ?
  720. ; see documentation for security issues.  The alternate is to use the, l* d9 Q! B  q2 ?
  721. ; cgi.force_redirect configuration below
    % l  g6 k' U- r
  722. ; http://php.net/doc-root9 v/ u4 H5 i+ U# @9 X/ e3 O
  723. doc_root =4 U) N! g8 R! a! b

  724. 0 n% ~6 C* G" f* m& G3 Z
  725. ; The directory under which PHP opens the script using /~username used only
    ) I/ ?" O$ L5 f( ]& f' ?8 M
  726. ; if nonempty.
    - a  t8 Z- J8 E4 X: P+ K1 i" H
  727. ; http://php.net/user-dir+ o" a5 |) y, E& |
  728. user_dir =/ B* p$ S/ m* A# c) }8 Y8 o

  729. 3 U/ h2 {* X" d, g0 x3 B
  730. ; Directory in which the loadable extensions (modules) reside.! O7 T+ F; J2 O6 _- C
  731. ; http://php.net/extension-dir
    : R2 w' W0 Y0 u  |* |
  732. ; extension_dir = "./". K; M- U, b3 n) B& \
  733. ; On windows:
    7 S% b* O# A; o& l9 f5 ~
  734. ; extension_dir = "ext"
    , o$ a$ k: e% m$ p3 }# K  e, `
  735. . q: P' n& X+ j% L6 v( d- w  d
  736. ; Directory where the temporary files should be placed.
    & e0 h- V2 |8 z
  737. ; Defaults to the system default (see sys_get_temp_dir)% I4 L* @5 s" w0 q6 }  {
  738. ; sys_temp_dir = "/tmp") m, l6 O" V4 e% l' D) A
  739. , `4 {1 B# {' p% \# R4 r9 a. L" c
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    4 ~3 [3 T* N& L2 w% j
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically7 Q  l' T1 s% }9 j" N8 v! B
  742. ; disabled on them.% h4 a' f9 ]2 I1 O, E+ I3 Z3 p
  743. ; http://php.net/enable-dl
    3 D9 ^- s$ k0 E1 t; q
  744. enable_dl = Off
    ( s/ i, X8 T* p; P/ z3 T/ ]% v

  745. 0 I; p% C  d3 }( Z
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under& E$ S& n$ d6 P$ @" I1 o6 @
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can" n: f  n" T$ {2 p4 F% J8 b
  748. ; turn it off here AT YOUR OWN RISK8 ]* a0 b* _& b9 Y3 S
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**- \- m8 X- F. F
  750. ; http://php.net/cgi.force-redirect; C; e7 D. o' w3 ~+ d9 z, E
  751. ;cgi.force_redirect = 1
    % H: O/ P8 j' n1 i* O

  752. " Z* a& z. |5 E& l& e
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    * v( p; w# w$ y" b6 K
  754. ; every request. PHP's default behavior is to disable this feature.. E3 P, ^% [( _" V4 H+ C# X4 u9 ?  A3 A
  755. ;cgi.nph = 1
    ! C$ T5 L5 q: V$ }4 q

  756. ; F2 L. W, Z8 M. J0 n8 u
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    # @/ S$ U0 f7 x3 x6 f
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP7 U2 g. ~' w0 o4 Q1 `
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ) ^' r, x6 b& Q  f  `
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.- j9 R: `' Y3 C
  761. ; http://php.net/cgi.redirect-status-env
    9 ^, U1 a# |% W( F9 }
  762. ;cgi.redirect_status_env =
    9 |/ l; }: s# Y, d9 M: n1 l

  763. % b% ?( T( R( y' `) u  ]- s4 N; O
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's, m: Q& C1 V/ J- X
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok: Y# U7 ]9 m" g, }
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    / G! `3 |5 ~4 n( U
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting' E* ?# k- l3 D0 _
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts7 n- j0 F& U& J9 W* j5 g( U
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    / f- f! x2 D8 A2 N
  770. ; http://php.net/cgi.fix-pathinfo3 q% M" O* X2 s! V: c
  771. cgi.fix_pathinfo=1
    6 U7 O1 N* g; B% P9 [6 y
  772. % S& B5 j' a' b) }" z2 S4 }7 N
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    5 g/ ^. q  U+ w7 `: h" R+ n
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    & U1 `. r% |; c7 o* U3 G. g7 G
  775. ; http://php.net/cgi.dicard-path( ^, E1 f$ z- D8 P# U6 w1 W  T
  776. ;cgi.discard_path=1
    6 O( x3 |' |, D# U9 ^

  777. 8 |* G+ k, d! P/ L) z* G5 ]
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    / Q* f/ j8 c: _* x% `4 K
  779. ; security tokens of the calling client.  This allows IIS to define the& L0 M- P* {' P. s/ W( ]
  780. ; security context that the request runs under.  mod_fastcgi under Apache; v. `  _: b; I* o1 Q& b4 Z) S
  781. ; does not currently support this feature (03/17/2002)
      a& _0 o: T* a! ]8 T  K
  782. ; Set to 1 if running under IIS.  Default is zero.
    4 E/ ^5 Q! q6 a5 F( P
  783. ; http://php.net/fastcgi.impersonate
    . `+ ~! P/ y7 q- q+ d/ T6 i
  784. ;fastcgi.impersonate = 1
    5 M- Z9 J- D7 t% F; Q" N

  785. 5 c$ `+ X' a* s; |
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    . x7 Q# c6 l1 D7 M( o2 e) x
  787. ; this feature.
    / S: j6 `6 B: m+ I
  788. ;fastcgi.logging = 0  z  ^9 C1 A! q. x7 _
  789. + s* n. J; F! I8 S
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    $ f: s: M: G8 _) h4 _
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    * D6 h% ?  }! u
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    + s0 }% w* X+ L& S
  793. ; RFC2616 compliant header.
    7 G6 y1 @6 K2 w4 r, [9 q! Q2 T% h
  794. ; Default is zero.  ]1 y9 `- m' x' E) V! a# e
  795. ; http://php.net/cgi.rfc2616-headers4 j( {( n/ _0 H- j6 n% S! R
  796. ;cgi.rfc2616_headers = 0  T0 t/ b: q5 O0 {' e* x& n

  797. 3 K! l& Q2 w! d7 X& T6 ]" s2 L
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    6 X6 O7 F6 ~0 f% M0 _
  799. ; (shebang) at the top of the running script. This line might be needed if the) Y- }6 g! f: k6 q% y& A
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI/ Q8 {. ~& v0 Y" U; s' F' [+ b
  801. ; mode skips this line and ignores its content if this directive is turned on.: R! _4 o# e) i2 \* y8 @
  802. ; http://php.net/cgi.check-shebang-line' {2 P6 I$ D' D
  803. ;cgi.check_shebang_line=1# `, z& r5 P8 s4 C( `0 }" K/ I

  804. * ^3 ~+ Y. x3 c+ S% x
  805. ;;;;;;;;;;;;;;;;
    # Q8 d; K+ o1 r
  806. ; File Uploads ;* J/ h# Q4 Z$ k8 d: p! c
  807. ;;;;;;;;;;;;;;;;
    ' m' f+ \# m2 I# E: Z+ \

  808. 7 m9 `( W* {, Z- E6 U" ]4 j
  809. ; Whether to allow HTTP file uploads.
    * t: |. B& k5 i4 _4 Q
  810. ; http://php.net/file-uploads
    ' D/ P: C9 T' f) T: F
  811. file_uploads = On
    $ a9 {; o, o" \' J1 k/ N  a" O5 Y
  812. ( G7 I  k# Z- |) b
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    + o+ h& e5 e1 P% p9 S# b
  814. ; specified).
    ) K1 T) {0 A4 C6 c
  815. ; http://php.net/upload-tmp-dir; D" a3 y% i4 S+ ~" J& K, G- k
  816. ;upload_tmp_dir =: a9 H8 k; C; G4 I3 A" k
  817. & B' J: w; X6 v$ d! |5 \! w- u
  818. ; Maximum allowed size for uploaded files.
    8 G+ m# J: ]1 U+ \  ?# f
  819. ; http://php.net/upload-max-filesize
    / r2 v2 S" \1 @9 w
  820. upload_max_filesize = 50M7 x) }1 g) j; ]0 R, {
  821. ! M+ a  x3 T  x5 N  G
  822. ; Maximum number of files that can be uploaded via a single request
    9 C2 c  K* [- o. o, h
  823. max_file_uploads = 20
    ) ?# G, C, Y* g# X6 }7 {- q: R; M2 S) t
  824.   j  y# J8 f2 N) W
  825. ;;;;;;;;;;;;;;;;;;  R3 x& T% {7 m% D9 Y
  826. ; Fopen wrappers ;6 {7 N+ }7 U' Y
  827. ;;;;;;;;;;;;;;;;;;
    * J. E9 \" s8 t$ \/ e' t: _

  828. & A% ]% M- }  {$ i) ^
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    : d" K. ]& \$ N/ |7 x; p% g  G: }" `
  830. ; http://php.net/allow-url-fopen
    $ R$ l8 T0 ~& S  y' z
  831. allow_url_fopen = On
    0 E& _; N5 E# F% y

  832. 9 b- }2 [: L' }4 c
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ! A5 K4 w, S1 X6 I
  834. ; http://php.net/allow-url-include
    - D2 w; M! f- z; }( z, f
  835. allow_url_include = Off
    1 @% E* A) f$ K  w6 [1 Q+ ~* D

  836. - B( k% f+ A4 J/ E# W. k* [  c
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ! ?. P# r/ k1 ^
  838. ; for this is empty.
    5 g$ ^' |$ A' H) K" ?$ h
  839. ; http://php.net/from
    8 s* v' A2 m* z0 z+ H' I. b5 H
  840. ;from="john@doe.com"
      g3 I! e) N. P8 f, z

  841. ) k0 U7 A# n9 |/ ]7 P
  842. ; Define the User-Agent string. PHP's default setting for this is empty.. C" J  n$ j# [, \; e
  843. ; http://php.net/user-agent
    : i1 j% H: K# Q# a
  844. ;user_agent="PHP"
    4 w+ b* {+ s* o2 R

  845. - s7 f, {9 k5 T5 A5 d% G# s
  846. ; Default timeout for socket based streams (seconds)
    - n: ^" z! h7 ~+ k$ O0 m3 n
  847. ; http://php.net/default-socket-timeout
    " d6 ^# K4 v7 S( p- l; H; Q+ L% w: [
  848. default_socket_timeout = 603 }; d2 @: S. A% Y( C7 I7 U
  849. 5 ]9 ~' k1 ?3 [* o( O4 u
  850. ; If your scripts have to deal with files from Macintosh systems,
    ; [' R* V, D) b& b3 T
  851. ; or you are running on a Mac and need to deal with files from
    : t; x5 {1 v4 f9 t% ^. `
  852. ; unix or win32 systems, setting this flag will cause PHP to
    6 t& `9 D9 B1 A9 z
  853. ; automatically detect the EOL character in those files so that
    / Z9 |( m8 |: @$ q; g1 Y) K/ |( K
  854. ; fgets() and file() will work regardless of the source of the file.
    # o9 z+ X0 w( s# |; g/ C+ n
  855. ; http://php.net/auto-detect-line-endings
    6 z- A& @8 M" A% x, p% C
  856. ;auto_detect_line_endings = Off8 K+ ^% J  }; e* F- ?1 Y; ]

  857. / T7 b2 D1 t8 H
  858. ;;;;;;;;;;;;;;;;;;;;;;1 I) Z; N# o3 ~3 r
  859. ; Dynamic Extensions ;
      u% T: _* g1 @
  860. ;;;;;;;;;;;;;;;;;;;;;;$ k/ C! x/ @% ~. B+ j

  861. " x/ f5 ^* S4 \4 S
  862. ; If you wish to have an extension loaded automatically, use the following* C0 `8 K4 O4 |
  863. ; syntax:
    3 V' D/ g) W1 `$ p4 ]4 y
  864. ;
    4 t4 Z9 P, `/ |
  865. ;   extension=modulename.extension
    : l9 w& X# ^; P# C* U' V5 ?5 h
  866. ;
    ( {; @: d( B3 p# j% E! P! p0 _
  867. ; For example, on Windows:2 G/ X# ~4 |( G: x6 g2 r' B
  868. ;
    % U- K1 o9 v3 |% L8 k
  869. ;   extension=msql.dll5 G: [. @% a1 C! H1 k( v' p
  870. ;
    2 e% j6 \' R# }, g3 `
  871. ; ... or under UNIX:
    & m3 ?7 ^# v6 S. y" \
  872. ;
    ) e! }; b1 [% y0 x
  873. ;   extension=msql.so5 W6 y+ ]8 }/ R: K, t
  874. ;
    ! W0 S/ ?. S; Z( z7 A
  875. ; ... or with a path:
    3 p6 i( C) }; d8 a
  876. ;! B& ^/ q1 l4 X3 j
  877. ;   extension=/path/to/extension/msql.so
    ' R2 p5 g: g; ~$ ?8 T( V  |8 T
  878. ;
    ; o+ F' f# d# W1 S
  879. ; If you only provide the name of the extension, PHP will look for it in its
    9 k4 _" a+ m' H9 _" P: s
  880. ; default extension directory.. h" J8 _1 {- W9 A" k  |) w9 N
  881. ;' S, U; Y1 ]# c
  882. ; Windows Extensions
    $ ]" w9 w# T, b$ x
  883. ; Note that ODBC support is built in, so no dll is needed for it.1 s+ a7 F3 S  a1 P$ M! F
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    4 r3 O: s; H$ z* M/ ^6 F: D7 @
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    9 g7 a8 n2 K( x
  886. ; Be sure to appropriately set the extension_dir directive.- M4 D% P; y- q  u' }. b5 D) {( o0 C
  887. ;  d5 [% f: R  _8 ?. H$ `
  888. ;extension=php_bz2.dll# f8 |$ O% n  S/ k/ M! _8 {
  889. ;extension=php_curl.dll$ ^1 e1 ^- P, k, [
  890. ;extension=php_fileinfo.dll
    0 \# J( j% X4 q8 ~
  891. ;extension=php_gd2.dll
    2 j; P" y4 T) \( Y1 Y# l/ g
  892. ;extension=php_gettext.dll
    4 A! O, `0 _2 i- i
  893. ;extension=php_gmp.dll
    " n  D2 ?8 s1 M+ Q
  894. ;extension=php_intl.dll
    ' O( c5 I; m. h( H
  895. ;extension=php_imap.dll
    5 ]5 E7 g# T' c+ p5 d! H2 O
  896. ;extension=php_interbase.dll3 P% I- A% @; z' i# ~1 r/ n! C5 D
  897. ;extension=php_ldap.dll. a: p- f- ^( E* t; t; z2 D
  898. ;extension=php_mbstring.dll& _- F, q! r5 y# U& B
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
      d0 G% O$ F3 r* ]0 m0 S2 S1 V
  900. ;extension=php_mysql.dll
    4 T* c" ~/ |( {
  901. ;extension=php_mysqli.dll
    ! h2 |% {& o# o' g# K# {7 }; r7 k9 q
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client/ U9 v* R% d% j6 I. {/ E# i
  903. ;extension=php_openssl.dll6 n4 @* I% ?% k3 F/ G
  904. ;extension=php_pdo_firebird.dll6 f) S/ t' i: w' B
  905. ;extension=php_pdo_mysql.dll8 h" `/ ?# a- l. i3 D. P
  906. ;extension=php_pdo_oci.dll' F2 N& r4 f6 P4 m
  907. ;extension=php_pdo_odbc.dll% h6 H# E! N) [+ E7 d# H0 O( L- G
  908. ;extension=php_pdo_pgsql.dll/ H; d5 V/ c& R6 r* n; \
  909. ;extension=php_pdo_sqlite.dll
    8 H( n+ M) j. K! w& y0 N5 P
  910. ;extension=php_pgsql.dll
    7 w" j3 u+ g: S' z) {* E
  911. ;extension=php_shmop.dll
    $ l! z- O# `, v0 j) k% M

  912. # g6 V0 }% O: t! r
  913. ; The MIBS data available in the PHP distribution must be installed.
    : Z8 q+ h- v0 b; o# d
  914. ; See http://www.php.net/manual/en/snmp.installation.php 3 l6 k& e' d4 D7 V2 p7 a
  915. ;extension=php_snmp.dll
    6 z7 j) j* J2 l' B( L$ a: H' m

  916. % ~' ^" `- U' p
  917. ;extension=php_soap.dll
    % K# r9 Z( N" q! ^7 n) [0 }* R
  918. ;extension=php_sockets.dll
    / B" i/ u3 n2 R1 t% H5 f1 M
  919. ;extension=php_sqlite3.dll$ y# b  [& i1 l+ z0 O; W* T
  920. ;extension=php_sybase_ct.dll+ f  x" J, W7 r9 @
  921. ;extension=php_tidy.dll
    7 B) M: j7 F: c4 q8 O
  922. ;extension=php_xmlrpc.dll
      s& _) [) x1 P
  923. ;extension=php_xsl.dll
    ; O8 E7 H/ X$ ^
  924. 9 o+ ~9 G: A2 S% u! ]/ H: u' I2 @
  925. ;;;;;;;;;;;;;;;;;;;
    ; d! }/ M1 r. Q/ b5 h
  926. ; Module Settings ;8 w4 j# ?- s: l; J) A0 ?- M
  927. ;;;;;;;;;;;;;;;;;;;/ Y- e3 d; c$ Q/ {$ Z0 `6 V
  928. / _8 B5 \1 L4 d* E5 I7 J
  929. [CLI Server]6 M2 Y* A, M4 F+ b& o$ [6 W
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.! }( A# N& A8 E$ v
  931. cli_server.color = On5 d, z; V2 P! S  w+ ~% a

  932. 5 A/ I5 n; R3 t6 O
  933. [Date]
    + z7 d& B( B5 o/ |- ~
  934. ; Defines the default timezone used by the date functions% P! W2 P% [7 e! B: N8 i0 p
  935. ; http://php.net/date.timezone
    : Y, \; r$ \2 A- s. U' }2 j5 K) J  o
  936. date.timezone = PRC& q# c+ G# k% _% j! Z1 ]

  937. / g% G4 U7 K& z$ n
  938. ; http://php.net/date.default-latitude" Q1 Z5 h. \2 N$ ]/ w' _
  939. ;date.default_latitude = 31.7667
    " X* i/ F) k% }0 n( v0 R" P! T( e

  940. & N& F. i8 D; e% q$ `! m8 `$ X
  941. ; http://php.net/date.default-longitude' Q9 H7 P7 o/ `* W, j' N
  942. ;date.default_longitude = 35.2333
    2 R/ O7 Z; N6 b' z- F% }7 k8 b
  943. 4 ], r1 C2 g) S% b. |7 f0 a* ^
  944. ; http://php.net/date.sunrise-zenith
    * x5 K9 Q7 Z) w) G6 K
  945. ;date.sunrise_zenith = 90.583333
    % i) l" k# a7 @4 f4 l0 w

  946. * w6 v$ i* p( L& H5 v8 b0 L) U/ ]3 r% ?
  947. ; http://php.net/date.sunset-zenith
      A$ k; m9 N2 Q( ~+ P  d8 i! ^
  948. ;date.sunset_zenith = 90.583333
    / U( B; D2 D% ~% @5 }
  949. 8 F2 g3 [  B' o) ^+ o: r
  950. [filter], L: t2 s9 U4 U0 ?4 t3 a
  951. ; http://php.net/filter.default4 `* |& }# s; A6 _8 @
  952. ;filter.default = unsafe_raw5 p: t& r2 x  G' \6 \  X

  953. & Y. i7 H. o+ J
  954. ; http://php.net/filter.default-flags
    . Q1 \3 o( M) o9 Z; H, i+ [/ \6 w
  955. ;filter.default_flags =
    5 _1 O6 _% W' m7 I

  956. ! \0 p3 \% _1 T! W3 K4 B9 g
  957. [iconv]
    : K& `" s2 h" P3 O
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    9 }8 I" @7 z1 }9 r/ c8 N
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.$ |3 e& u: W2 V4 G! ^
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    - Q/ V9 g: }& O/ ?. T
  961. ;iconv.input_encoding =
    : X' X' ]' y% G- o& O9 x' `5 p

  962. ! k  q$ \5 r' H0 ]. c. B* N
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    4 o( d+ P; b. Q" z8 T
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ( E& J# b  H1 {) n
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    $ [$ A0 Q6 y. V
  966. ;iconv.internal_encoding =
    8 ]4 f3 c  u' h, X6 C) M/ v

  967. 3 @: \: P$ A) f/ o- m
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.. b0 n% F3 A7 p# q' ?$ ^
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.6 [- E0 [# I3 j9 ]# b' Y
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ' R  Y* w# c; A2 R- |) ^
  971. ; To use an output encoding conversion, iconv's output handler must be set
    - V' f$ ^0 G. n6 l# ^
  972. ; otherwise output encoding conversion cannot be performed.
    # p3 t3 G/ U2 W
  973. ;iconv.output_encoding =
    2 t! c9 @8 B  h( G* b& |2 i/ S

  974.   ~, c$ B7 E' H# J/ ]( [& [
  975. [intl]
    ! U" D( t8 ^* }0 q( |$ I* |
  976. ;intl.default_locale =$ L% _. [% i- i3 p0 k
  977. ; This directive allows you to produce PHP errors when some error% V! E  B$ s) j
  978. ; happens within intl functions. The value is the level of the error produced.
    0 P, `4 f! ~5 d4 e* l
  979. ; Default is 0, which does not produce any errors.4 ~, |4 z1 n8 b9 j
  980. ;intl.error_level = E_WARNING6 X+ C% J, q" j4 {
  981. ;intl.use_exceptions = 0
    5 _) P: g1 q2 l. e! n' ^
  982. $ s$ A/ B  o- Q! L. {' n& ?
  983. [sqlite3]; ~, i! {& q" ?" l
  984. ;sqlite3.extension_dir =% z  y/ D& O# P4 e. V

  985. 5 f6 g* J4 F- H: f1 \
  986. [Pcre]2 _$ l5 |% n4 R1 R
  987. ;PCRE library backtracking limit.
    9 d( n( r# z6 Q$ R8 m* t
  988. ; http://php.net/pcre.backtrack-limit* Y+ S  T0 Y2 Q# G/ I: ?
  989. ;pcre.backtrack_limit=100000- D4 N/ o3 |  B, k- U

  990. ; W2 R+ f, _$ P! u( \7 k0 m& \
  991. ;PCRE library recursion limit.6 q! a0 v* h! F3 S: g6 w, M3 T% M
  992. ;Please note that if you set this value to a high number you may consume all6 s! ~; k, i( g
  993. ;the available process stack and eventually crash PHP (due to reaching the
    9 Z0 J! F9 ]6 K! M( o8 B+ x/ _% x
  994. ;stack size limit imposed by the Operating System).
    $ Z! n, }; o! @2 @7 D8 z# x: h
  995. ; http://php.net/pcre.recursion-limit' r; V3 R9 k5 X6 a1 F
  996. ;pcre.recursion_limit=1000009 z& L( e3 _* x. X: a4 R
  997. 9 T4 N% P5 X" P; o3 w2 A; N/ {, P
  998. [Pdo]8 a1 w' y; C# K/ n( M, O* s& E
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"; t5 l2 g% R( l
  1000. ; http://php.net/pdo-odbc.connection-pooling, g8 }5 W+ k  Y  ^6 o
  1001. ;pdo_odbc.connection_pooling=strict( |, K8 z5 `6 x* j* d
  1002. 0 e& v9 L- E( ^2 i
  1003. ;pdo_odbc.db2_instance_name% K" Y4 `+ C# ]) a+ m; W7 J; e

  1004. ) q8 R( q5 y+ Y- u5 u
  1005. [Pdo_mysql]  f9 H* Z& [' A& o9 K4 n
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + j4 D  s$ u# C/ o' i8 w
  1007. ; http://php.net/pdo_mysql.cache_size
    6 P, S! p; i1 M& I) H5 l8 C: o$ a
  1008. pdo_mysql.cache_size = 2000
    ) Z* I* _2 k1 T+ i( a
  1009. 1 N2 b* J9 P* |- E* J2 }* B% g
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 A/ K, ^0 m& x. D
  1011. ; MySQL defaults.5 f$ g* F4 N3 n
  1012. ; http://php.net/pdo_mysql.default-socket; \* ?/ G4 ~8 d8 E4 C- S
  1013. pdo_mysql.default_socket=
    0 S5 Z+ X, I' ^" w' F% u

  1014. ; L, z5 p" j3 P
  1015. [Phar]
    2 d9 b- n+ t2 v: {( R  R* y: A
  1016. ; http://php.net/phar.readonly- u- q# P3 c# o5 n/ I( x7 f" W+ _, P
  1017. ;phar.readonly = On
    2 S7 \2 L2 j2 k) E/ j# P+ F
  1018. , O8 \& M  G5 h( A$ Q  H# ~# l
  1019. ; http://php.net/phar.require-hash
    + o/ v9 b! R4 _' f& {5 S
  1020. ;phar.require_hash = On8 @+ F. w" v" \4 J; m, k/ h
  1021. , J7 ?/ C- l! b# b/ z4 x
  1022. ;phar.cache_list =
    ; m9 I# _" ^; Q8 R

  1023. % E. K2 Q" e' F: c
  1024. [mail function]" |$ L1 Y- Z7 J2 K, M; z- q
  1025. ; For Win32 only.
    9 S! l- b# j0 f! N5 p
  1026. ; http://php.net/smtp+ Z0 {$ J) M  V
  1027. SMTP = localhost. m9 i3 {& f2 Q: |1 u1 C
  1028. ; http://php.net/smtp-port, W( g& o9 i: ^/ t2 x
  1029. smtp_port = 25
    2 Y+ i3 R  a4 @
  1030. ! V  x. s7 }- Z1 P2 A: M! |5 R: N* ^- Q
  1031. ; For Win32 only.8 ?5 O7 k, |3 f$ u+ d
  1032. ; http://php.net/sendmail-from
    # B. I$ V9 l7 r' `0 h
  1033. ;sendmail_from = me@example.com
    , [9 w3 a3 O; h  V5 F

  1034. 1 r3 u. }9 m9 s( R6 h
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").1 C- l# O/ S4 m
  1036. ; http://php.net/sendmail-path
    0 n( J+ N2 y) \% t
  1037. sendmail_path = /usr/sbin/sendmail -t -i- X5 o" q. e0 l6 V. K
  1038. # t! O9 a! H" ?+ S1 ~8 N
  1039. ; Force the addition of the specified parameters to be passed as extra parameters" |: L% X5 n7 c3 g7 e
  1040. ; to the sendmail binary. These parameters will always replace the value of# \& D8 J: V/ P% ~: P
  1041. ; the 5th parameter to mail().
    6 o) n8 R0 @# E! h: v# j1 E! d5 A3 Y
  1042. ;mail.force_extra_parameters =, K* B6 c+ L: L7 r/ h/ A  o! ^

  1043. + l# e/ t, g1 ^! W
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename8 t/ x# L9 [: d/ y$ F; c  O
  1045. mail.add_x_header = On- @" y( \3 z6 @

  1046. - b" H( }  {0 m% k
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    9 X7 B' r  M' \. d& h
  1048. ; the full path of the script, line number, To address and headers.
    1 F/ e. d3 Y7 K2 i
  1049. ;mail.log =
    + g! `, B' L2 [2 F- ^. |
  1050. ; Log mail to syslog (Event Log on Windows).! n3 S" {" o: b7 ?7 v! }/ ?
  1051. ;mail.log = syslog2 R! o9 W: h9 S, Z5 T2 |' ~. Y
  1052. + Q" P0 J! ?' c- L8 {2 I# c$ C
  1053. [SQL]
    % B7 I) V! h9 e9 L7 x$ L
  1054. ; http://php.net/sql.safe-mode
      F5 r) E1 Q( k9 d
  1055. sql.safe_mode = Off$ L1 i. V" X* A  L( L
  1056. 4 p/ o6 ^5 g) J7 n; n4 c( H: K! r
  1057. [ODBC]
    8 `% u6 j. Z9 V4 A- J& u: ~7 W5 p+ U
  1058. ; http://php.net/odbc.default-db
    0 ^2 d. h% x9 p9 [+ Q" l; B
  1059. ;odbc.default_db    =  Not yet implemented5 o7 V  }' y6 C: U( t) f- Q/ h

  1060. 6 I$ V; n- l2 ]* e( T4 ]8 ]
  1061. ; http://php.net/odbc.default-user
    9 d& I- w0 z$ }0 ^. b
  1062. ;odbc.default_user  =  Not yet implemented
    ! C" y1 L) O4 K

  1063. 5 r9 h  N+ S( H& k: S# a
  1064. ; http://php.net/odbc.default-pw
    3 l( D& x; V) f$ ?
  1065. ;odbc.default_pw    =  Not yet implemented) _5 a8 f: ?% Q8 E, F2 r! o+ I
  1066. * k$ s  p/ v. i
  1067. ; Controls the ODBC cursor model.! l  I. i6 P" r( `1 I+ }
  1068. ; Default: SQL_CURSOR_STATIC (default).5 N8 P3 s4 t8 \- r& X. R
  1069. ;odbc.default_cursortype
    , t+ `& r7 r& M4 f$ y# k! t
  1070. 3 z1 \" n0 p+ M
  1071. ; Allow or prevent persistent links.
    / E  j4 B2 a' d2 _) z' l$ }9 A# f
  1072. ; http://php.net/odbc.allow-persistent9 K4 q3 T) n6 _$ ~
  1073. odbc.allow_persistent = On9 M9 J/ W7 k8 O2 `

  1074. # d* ~6 c% y5 U- Z1 j
  1075. ; Check that a connection is still valid before reuse.
    0 E8 b" Z; I  |/ N9 h
  1076. ; http://php.net/odbc.check-persistent
    ) c+ f7 N/ T0 H( ^
  1077. odbc.check_persistent = On8 Z% u. K+ L* ~
  1078. 7 T9 E- ^" D. w5 t
  1079. ; Maximum number of persistent links.  -1 means no limit.
    ! U- n. m" y3 ~/ C! s
  1080. ; http://php.net/odbc.max-persistent' i9 }& G& \' Q4 U
  1081. odbc.max_persistent = -1
    5 l  ^- D# s' S$ ~
  1082. ! k: r# ^* C! u0 K7 Y6 k% ~+ @
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." X: B! G+ Y2 @0 Y$ z" M# U3 @/ Y
  1084. ; http://php.net/odbc.max-links
    4 Y7 X/ D5 o/ C
  1085. odbc.max_links = -18 i. t0 p" B% Z0 p* R  e$ x
  1086. 4 \5 y# Y& H: K2 B# S1 {
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    3 T3 n! K. b8 U% z/ V. X
  1088. ; passthru.1 s& H. m* d. ^# J; I& Z
  1089. ; http://php.net/odbc.defaultlrl
    ( N& Y4 J1 _+ B  d7 \
  1090. odbc.defaultlrl = 4096
    5 P! `3 \4 C: Y5 o0 r7 c

  1091. ' S# x& k$ u$ J
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ' X  N; }9 N* e) \4 k
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    6 J4 N" ~  R. }- P  X
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode+ l. W6 `& D; s  v2 G5 n9 c
  1095. ; http://php.net/odbc.defaultbinmode
    7 ^( L7 ~" G" n  `; A0 h2 R0 j
  1096. odbc.defaultbinmode = 1
    / m2 b4 u6 M7 s- k3 O* i
  1097. 3 `+ M4 `2 g5 N) c0 W  o0 t
  1098. ;birdstep.max_links = -1
    - \# B" w1 d- F6 B7 {" G

  1099. 1 _# w. e- Z- e
  1100. [Interbase]
    * u0 v1 [3 G+ o
  1101. ; Allow or prevent persistent links.+ [, Y/ T$ f+ m1 B, S
  1102. ibase.allow_persistent = 1' G4 w& b. k; Y, b, r5 e' b
  1103. 8 a) V$ R( `) P
  1104. ; Maximum number of persistent links.  -1 means no limit.& d: w8 h4 y, W; U3 D0 e3 }
  1105. ibase.max_persistent = -1
    # M2 I& S% z9 M/ @/ w

  1106. 2 {: k* l, D8 C1 \6 g
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# l2 C, E2 _$ H( _, e
  1108. ibase.max_links = -1
    5 H9 f, C9 S: z( ?2 ?" h- K5 Z6 r* e* |
  1109. $ U. G. Y$ R* Z" o' E5 Y
  1110. ; Default database name for ibase_connect().
    3 A; E$ g7 I2 o7 `
  1111. ;ibase.default_db =
    8 _' z1 w2 h. v4 y3 C% T

  1112. - h9 ~2 I" ?' `& _
  1113. ; Default username for ibase_connect().
      m1 C- o! ?0 [; t1 y4 Z: ?( {
  1114. ;ibase.default_user =" O9 ]# a/ V5 x6 @- k2 E: ~

  1115. " K) ~, R: E6 o# q* @" v: U- a
  1116. ; Default password for ibase_connect().
    ) ^) m) V4 a2 h0 T0 M" r
  1117. ;ibase.default_password =
    9 S/ I% T1 ?  |
  1118. 0 S7 ~; Z  }6 W& b
  1119. ; Default charset for ibase_connect().6 O% _* s0 [; g$ `8 J  u
  1120. ;ibase.default_charset =7 h) M/ S; E- \7 O
  1121. 7 B4 t, O! v! I! }
  1122. ; Default timestamp format.- P5 l: h( e( V! {* l) O; C) U
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S") c/ ]4 w9 d( V  T
  1124. + ~: \" F$ o2 }- F, m6 E/ `5 ^
  1125. ; Default date format.% m' V3 `% [' H& U6 t5 J
  1126. ibase.dateformat = "%Y-%m-%d"1 }3 |; i! J9 A1 V- [  ^
  1127. ' t' Y9 Q/ Z6 ?9 ^. o
  1128. ; Default time format.' ~8 [0 Y4 S7 I& }  ^
  1129. ibase.timeformat = "%H:%M:%S"8 F2 h2 a: B, n& \% m- A" O  ]
  1130. ( }! N/ [7 Z. ^; K' T; W# h, r' a
  1131. [MySQL]' l0 S2 [) m$ s" o8 a* y& u
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements' N. S1 M2 n) V4 f# K; g, `
  1133. ; http://php.net/mysql.allow_local_infile
    " w0 _7 @$ C7 E) E
  1134. mysql.allow_local_infile = On
    2 s' U) |' w/ S0 E$ N
  1135. 8 E; G, I& y# x4 g" a) B# `* m& X
  1136. ; Allow or prevent persistent links.' G) b9 s& C. u4 N( ?
  1137. ; http://php.net/mysql.allow-persistent
    ( \0 _! B- G7 v4 |& Y3 m
  1138. mysql.allow_persistent = On
    ( w: b" Y% k9 u

  1139. ( o% |5 f8 ~, g
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ T, X$ B3 W3 I+ R; H, R4 c, w
  1141. ; http://php.net/mysql.cache_size
    - M: b4 G, i! s) Q* `& r/ ?+ s
  1142. mysql.cache_size = 20002 p+ s. ~% O! W$ A; G4 `
  1143. " P9 R1 b2 q) ]
  1144. ; Maximum number of persistent links.  -1 means no limit.; j/ x. f+ y& d- L' q
  1145. ; http://php.net/mysql.max-persistent
    : d, d5 v& X5 K( o9 [: y1 G3 g
  1146. mysql.max_persistent = -1/ p" z. k$ @, Z" t5 R) H4 J. m# X

  1147. & h- ^( B$ l! v; u
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      V3 P6 x' T* U* G) b% ]
  1149. ; http://php.net/mysql.max-links) e9 Y6 X% ^7 I: ]; q* u/ \
  1150. mysql.max_links = -1
    6 q6 W& F8 D3 g7 G! m1 w

  1151. ' G# l6 Q% t1 ~
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use7 \8 }% ?, p6 j' [3 [1 M& k4 l4 \
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the. E" a* _: A" J- X- U) i% j5 \
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    8 J+ Z+ l! y8 M) |
  1155. ; at MYSQL_PORT.% I$ k  b0 V0 ]
  1156. ; http://php.net/mysql.default-port5 A1 x. c1 W4 S1 J, g: I
  1157. mysql.default_port =: U. w% a: \6 I4 {. f9 h

  1158. 9 \3 l" i  f5 B( ^' s
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # Q' j) x; f# }5 x+ U
  1160. ; MySQL defaults.
    / C+ `2 o1 V0 C, C4 J- r& |
  1161. ; http://php.net/mysql.default-socket/ q+ o0 n. X6 Z% O& {- U$ c
  1162. mysql.default_socket =# d( c7 R. r1 P
  1163. 6 D* ]+ B3 i- ^3 c" T
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).8 A0 B# b1 I- ]; H0 h  Z
  1165. ; http://php.net/mysql.default-host. v, H' V/ W( C) ]5 B; U
  1166. mysql.default_host =. z+ O( z& ^. v: A* |9 N. p. _

  1167.   V% @+ \/ h3 R) }
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).; Y& H# G; v" x, T
  1169. ; http://php.net/mysql.default-user8 h  C+ U% J2 N! `3 V0 W) Y. D. q
  1170. mysql.default_user =
    1 p5 {' [0 G5 f4 [

  1171. 3 r8 _1 J2 c( w0 \- M* v' j
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).. Q/ Z# ~! j5 k0 Z9 i" C
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.4 v. ~, k- A1 r# S, p& A- N
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")8 m& G1 z' L2 ]' U# O8 X5 `1 l
  1175. ; and reveal this password!  And of course, any users with read access to this' l' ]2 q- D& [
  1176. ; file will be able to reveal the password as well.( |% R# j/ L/ F+ U" f
  1177. ; http://php.net/mysql.default-password
    ) d) x) i" S' y2 I
  1178. mysql.default_password =$ s+ S0 D7 i9 l: F: c" t/ N8 L
  1179. 8 M" b$ W# I- l* |4 N, R; _
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit/ k; S/ U1 z3 I* V
  1181. ; http://php.net/mysql.connect-timeout( e; {4 F# X: D: k) ~4 ^
  1182. mysql.connect_timeout = 60* i* F) D; ]( O1 g# C/ D
  1183. 5 G# q. b# Z. w; ~7 R+ ~
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    . x, b* Y: k4 Q1 Y1 G
  1185. ; SQL-Errors will be displayed.. A6 I. V; p+ q" T1 H; D2 r
  1186. ; http://php.net/mysql.trace-mode
    + f' k+ T# X+ D
  1187. mysql.trace_mode = Off
    0 X2 e! I6 U. H2 A9 e& N5 {

  1188. + C: e4 X# M- @3 w) v
  1189. [MySQLi]7 }% D/ `1 g+ N. G9 H

  1190. ; y9 }( P* S$ L; l) Y/ I) r8 t' n
  1191. ; Maximum number of persistent links.  -1 means no limit.
    2 J  O3 C" W" U& z1 U( G1 F
  1192. ; http://php.net/mysqli.max-persistent, s9 P4 O- L4 I: r9 M9 m8 Z
  1193. mysqli.max_persistent = -1
    - e" }* e& z+ w

  1194. : p4 u' h; E* C
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements! x. M. r  r+ Q8 S8 d9 h
  1196. ; http://php.net/mysqli.allow_local_infile
    0 g) V5 l+ k, o5 L2 U
  1197. ;mysqli.allow_local_infile = On
    # {0 ^, t# {6 R5 i# ~  l! m* H
  1198. ' w1 ~) H" U$ r) {: z$ L, ^
  1199. ; Allow or prevent persistent links.
    # t7 Y$ V7 s7 H8 P3 g' y2 k% O7 {
  1200. ; http://php.net/mysqli.allow-persistent
    2 q1 ~" \. `; Z
  1201. mysqli.allow_persistent = On
    , S, t. j- v8 A' q) e! X

  1202. - `+ Y, J5 q, M9 t1 O! e# |& ~
  1203. ; Maximum number of links.  -1 means no limit.
    + |5 ]: @$ b% g+ `+ K
  1204. ; http://php.net/mysqli.max-links! \3 Q' G4 m6 g2 A, T
  1205. mysqli.max_links = -1
    ) P# v# t6 @) E! U3 h
  1206. - p9 H! x: s8 q1 d; N2 c
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache4 @1 u' I  O4 A: b& l3 t9 r
  1208. ; http://php.net/mysqli.cache_size) C6 {. |' ]) u1 u
  1209. mysqli.cache_size = 20001 p+ ]2 y2 Z* g2 T- j: h& Q: P) s0 L( N
  1210. ; S8 L/ g! u* U( m! {# A
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    1 R- q7 M$ C' c8 o' B. X
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    7 S$ ?: q& S4 T2 ~0 q$ k0 p
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look  C6 }1 S8 ~% d# C! ^5 Q# E
  1214. ; at MYSQL_PORT.
      a9 x1 s" a3 U; @9 n9 f
  1215. ; http://php.net/mysqli.default-port
    ' X& a! m, W( [
  1216. mysqli.default_port = 3306
    1 X* _: V4 G4 E9 a/ B8 q0 a
  1217. ; z! c. M# I% z9 W  Z5 x. {
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in6 |# G* q/ ~; L  |* J$ i9 l
  1219. ; MySQL defaults.
    # d- }5 `8 y! P4 r( t
  1220. ; http://php.net/mysqli.default-socket1 W$ V5 u) f& F+ x
  1221. mysqli.default_socket =
    ! A! @3 ]8 D. u4 ^* B. A
  1222. ! K8 i' r; F2 ~/ n' w
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).( J2 z6 z( ~9 {3 ^/ d) B
  1224. ; http://php.net/mysqli.default-host
    ' _2 b1 p& Z4 b* ?
  1225. mysqli.default_host =+ c: B' ^% B3 ?4 w' a! c1 Q! A

  1226. / O0 M0 b: N! Z/ q% S/ @1 E
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    $ i7 z2 h$ y' P# o, y" a
  1228. ; http://php.net/mysqli.default-user& l: k& e' C, }2 E1 N. p- H
  1229. mysqli.default_user =8 Y1 |. d) j. {/ c
  1230. % d: M9 S. }# M# r
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).5 @( e7 k3 g0 l4 K! r! O) \
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.- u8 v+ O3 s* k0 M& q% c( J
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ; G+ l% g& X2 Z( b# U) T
  1234. ; and reveal this password!  And of course, any users with read access to this
    0 I4 }5 ]& B- T" ]% v
  1235. ; file will be able to reveal the password as well.
    3 q$ G! o1 D( p' l3 w
  1236. ; http://php.net/mysqli.default-pw
    ) y% G, @' a: f
  1237. mysqli.default_pw =
    8 E, N) j6 a8 R9 A: T
  1238. ) p( r4 {! h/ _  N& X
  1239. ; Allow or prevent reconnect
    , F9 B" l" m. r0 \9 j
  1240. mysqli.reconnect = Off8 _, C# Z' V! r" Z* Y# B

  1241. ; ^8 \$ k  c9 {! n8 I$ s' x
  1242. [mysqlnd]
    4 t: G' O, a1 {, K  v# x+ ?
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
      t, }( u2 d7 _2 J3 M8 s3 p# `$ d/ d
  1244. ; used to tune and monitor MySQL operations.
    ) Y. S* D& w3 g& H- E
  1245. ; http://php.net/mysqlnd.collect_statistics
    . I& P& O: P5 l8 `7 `
  1246. mysqlnd.collect_statistics = On% J2 C- ], W# t+ ~0 r
  1247. $ V0 W3 u) T; x9 N0 a. a
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be9 M# c+ G; l; a/ m
  1249. ; used to tune and monitor MySQL operations.
    8 T* m6 W, |4 g' l
  1250. ; http://php.net/mysqlnd.collect_memory_statistics  N6 N( C, R- Z1 x
  1251. mysqlnd.collect_memory_statistics = Off( x) V) B2 j* K2 v5 l8 W# h
  1252. - |, f; `: B+ d9 z" s2 d: }
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    : ~! w/ |7 o' n* A3 Q
  1254. ; file.& ^+ j7 P5 T, M$ m  E5 s5 o4 i
  1255. ; http://php.net/mysqlnd.debug" }: p: G# l' B: M3 R$ W6 i
  1256. ;mysqlnd.debug =$ x- Q% F, [8 ~/ P6 c

  1257. 2 a6 J/ O& D: g& o' h9 i( L
  1258. ; Defines which queries will be logged.# o  g& [2 I/ M, t
  1259. ; http://php.net/mysqlnd.log_mask" ]6 X+ a: Y0 D) T2 Z+ K* t) `
  1260. ;mysqlnd.log_mask = 0  Q8 i, m4 p* w  ^4 R

  1261. 1 [- j5 {5 |, s# k
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    7 ~6 V9 x# L4 [( Q' \
  1263. ; http://php.net/mysqlnd.mempool_default_size
    3 b" V, y6 @1 ]
  1264. ;mysqlnd.mempool_default_size = 160004 N* C) m' @* r9 J% P
  1265.   |2 a6 @; b5 p) m
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    " k  ~& R7 r" Y1 ^
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size2 M) p6 J# Z' A6 O
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    9 p0 w  q3 o- S

  1269. ; P" e: o8 c/ T4 r6 T. l1 D
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in: x- C% B4 k4 b0 P* Z' ~) Y4 |7 w
  1271. ; bytes.7 `. j& I" z( M. r$ H+ }, s( m
  1272. ; http://php.net/mysqlnd.net_read_buffer_size& q0 p0 J, W* |' C5 A
  1273. ;mysqlnd.net_read_buffer_size = 327681 D8 Y" p9 b5 |+ b

  1274. / G, Y" s( R: H1 E. v* j9 l
  1275. ; Timeout for network requests in seconds., [! C% v: J- r. _5 H
  1276. ; http://php.net/mysqlnd.net_read_timeout
    % s- Q5 g6 K5 O& E% ^0 C
  1277. ;mysqlnd.net_read_timeout = 31536000
    & G) T: F; }8 z5 i

  1278. # k1 J% J+ i# o) K; O6 e* s4 v
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    : D1 b9 K3 i/ G1 N# P
  1280. ; key.& m$ L* H7 q, D- c2 Q3 V  l
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ; ?' @7 v) B8 \; B& k) ]! C
  1282. ;mysqlnd.sha256_server_public_key =' ~2 s  ?' s3 U! g9 W, C
  1283. & C/ s. U: ]1 \, `
  1284. [OCI8]0 ]  B: r5 g# K
  1285. $ U/ T) N; a3 m& J+ H: a" u6 X+ f
  1286. ; Connection: Enables privileged connections using external
    3 z7 V( f% T* f6 q/ C# O
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    6 A- G4 e, C3 Y1 {
  1288. ; http://php.net/oci8.privileged-connect& P- B% C5 T2 j9 L- {8 G  y4 G4 o: F0 w
  1289. ;oci8.privileged_connect = Off
    ' ?* E3 u! W9 W; `3 u

  1290. ' q+ K: K! C2 `1 F* ~; I( Z7 y! P
  1291. ; Connection: The maximum number of persistent OCI8 connections per+ ^3 U7 Q) S# \0 F# W) V! u
  1292. ; process. Using -1 means no limit.2 O1 _7 ^) F" M7 J
  1293. ; http://php.net/oci8.max-persistent
    5 ~% |6 q! U2 F  D4 k
  1294. ;oci8.max_persistent = -1
    * H. |+ v  ~/ b5 V% c, H- p; Y
  1295. ! |& u( h& b- ~; k! t- S3 u' T
  1296. ; Connection: The maximum number of seconds a process is allowed to7 C; w: ~7 a0 C
  1297. ; maintain an idle persistent connection. Using -1 means idle* M4 ^: X. ~: I) d7 e
  1298. ; persistent connections will be maintained forever.
    - g" `& ~' i; A# C
  1299. ; http://php.net/oci8.persistent-timeout2 `7 d: n. Z  m8 w4 J
  1300. ;oci8.persistent_timeout = -1% v" m6 A+ f; V& T8 a
  1301.   A5 Z& T" E8 ~$ L5 }9 B6 `
  1302. ; Connection: The number of seconds that must pass before issuing a, i$ S3 g# C8 E. y' _6 c4 o
  1303. ; ping during oci_pconnect() to check the connection validity. When
    6 w: Y! R  W4 {$ J) S& M; g% w
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables/ v, O$ `3 g; F5 F% o- |
  1305. ; pings completely.
    - o2 c8 K) g. \
  1306. ; http://php.net/oci8.ping-interval
    & r: N+ Q, t% ^, B
  1307. ;oci8.ping_interval = 60
    1 |6 `5 l5 o! r1 T: A; @

  1308. $ P' x/ I" V  ?2 a+ U+ f
  1309. ; Connection: Set this to a user chosen connection class to be used- K8 o4 G3 N0 l! b+ }( ]3 s$ ~
  1310. ; for all pooled server requests with Oracle 11g Database Resident+ h0 l; S& q  \7 P4 b" n8 O
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to0 V, w' N+ u2 j, {: X
  1312. ; the same string for all web servers running the same application,
    : z6 N+ O5 O' x9 r2 F1 [0 d( s
  1313. ; the database pool must be configured, and the connection string must
    # M' M1 S; |9 _  e- b9 o( R% E9 e
  1314. ; specify to use a pooled server.
    & Y& ^* l# W3 N) S
  1315. ;oci8.connection_class =- s- f# |# C( h9 F$ L
  1316. 0 b+ b' b& X( a4 ]
  1317. ; High Availability: Using On lets PHP receive Fast Application1 B1 A' _" r/ \5 ~1 |$ i* v  Q
  1318. ; Notification (FAN) events generated when a database node fails. The
    % Y6 P$ n3 @$ Q. k% R. z) x7 P. ]" n
  1319. ; database must also be configured to post FAN events.
    7 d) m% [& P3 H0 @* n3 o4 Q2 f& E, P
  1320. ;oci8.events = Off
    - U* `  B" r# g- J  z) U* D$ C% p

  1321. 6 ^# M+ M& n! R5 _
  1322. ; Tuning: This option enables statement caching, and specifies how9 d1 ^1 l9 t. [. T
  1323. ; many statements to cache. Using 0 disables statement caching.
    1 L/ i4 \, @% K8 K) j
  1324. ; http://php.net/oci8.statement-cache-size$ R6 N: [& V% v# m/ N1 `4 N& \9 \
  1325. ;oci8.statement_cache_size = 20: s, E& N, u* h' [

  1326. / N8 }5 m% T6 L. ~5 {: u, D
  1327. ; Tuning: Enables statement prefetching and sets the default number of3 E" W$ l* P: L. m- O8 h( q/ e
  1328. ; rows that will be fetched automatically after statement execution.3 T7 L6 I: K7 J* h; l. R* H' M
  1329. ; http://php.net/oci8.default-prefetch
    6 D+ O  t4 C/ V- f) F
  1330. ;oci8.default_prefetch = 100
    2 ]: R% u* i# o! B6 n
  1331. + Y" m9 x# W) J9 z( }
  1332. ; Compatibility. Using On means oci_close() will not close0 b- J( v. X9 x& V0 w3 W$ z
  1333. ; oci_connect() and oci_new_connect() connections.
    2 O# I, G) D; `4 r% k/ w% ^9 d
  1334. ; http://php.net/oci8.old-oci-close-semantics
    ! L8 @; J0 i7 w$ |; j! F, n
  1335. ;oci8.old_oci_close_semantics = Off0 O, p8 V2 C% {
  1336. 5 g- [* _) A& B4 ~
  1337. [PostgreSQL]1 H$ {! G- P4 u% z9 K$ S( c1 |
  1338. ; Allow or prevent persistent links./ v& D7 Y  \) c+ h
  1339. ; http://php.net/pgsql.allow-persistent
    $ m' z% W) o2 u* ?: g) F. J, l
  1340. pgsql.allow_persistent = On
    - L, ?3 l; w7 |+ H7 n" A

  1341. " b4 \6 d- R% B0 L( g3 B8 X
  1342. ; Detect broken persistent links always with pg_pconnect().2 m8 {9 r% [1 h7 p- q4 N  L
  1343. ; Auto reset feature requires a little overheads.+ p' |" ?$ Y+ h3 v" C1 Y$ F
  1344. ; http://php.net/pgsql.auto-reset-persistent
    9 v5 ~7 C% P- R0 x9 ^
  1345. pgsql.auto_reset_persistent = Off
    ! [; y0 R- {# m% X: b
  1346. ! Q+ [3 O; f! ^$ G
  1347. ; Maximum number of persistent links.  -1 means no limit.0 ~- l0 }# a) c4 z8 e
  1348. ; http://php.net/pgsql.max-persistent
    ; l/ w8 J' k5 z2 ]' G% O* X
  1349. pgsql.max_persistent = -1- z6 E' v/ E1 g+ `/ }/ @
  1350. ; G1 J( t$ ~, S% a- x
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.- U: c6 c. {9 v" Z1 n# |
  1352. ; http://php.net/pgsql.max-links: f$ k$ j8 G" _9 ]1 b! s! T4 W" V' _
  1353. pgsql.max_links = -1! ^! [7 g$ g) ^
  1354. / @' D# ~" a$ a7 b& c
  1355. ; Ignore PostgreSQL backends Notice message or not.' D: ^' R$ p5 i. o: i/ I5 f4 ]6 D
  1356. ; Notice message logging require a little overheads.5 J4 E9 c) p: T! M  z, k* w
  1357. ; http://php.net/pgsql.ignore-notice
    7 O$ }) w( M$ o# X; e9 f
  1358. pgsql.ignore_notice = 0- p" Y$ C( H5 B4 }, ~: {/ Y. @+ z

  1359. " u2 o' P' B! X6 m+ M1 X0 Z' d* K# c
  1360. ; Log PostgreSQL backends Notice message or not.7 _5 g! p/ ^1 R/ P, ?
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.( Z8 A3 J6 c% W7 k
  1362. ; http://php.net/pgsql.log-notice5 t) m" P- N' R. p: q
  1363. pgsql.log_notice = 0
    8 W) u. v8 b( ^: ^$ z8 {; {% Z
  1364. & }# }1 \# `7 d: O
  1365. [Sybase-CT]
    ! q1 t& y. y8 q! B3 W
  1366. ; Allow or prevent persistent links.
    8 t9 S' T$ L: v- |1 Z
  1367. ; http://php.net/sybct.allow-persistent" x5 d/ @  ^# q4 J" [& q) |0 V
  1368. sybct.allow_persistent = On2 U0 ]: {$ O+ u) q3 Z0 h  K& s4 L
  1369. - V8 M9 o1 m  O: ^
  1370. ; Maximum number of persistent links.  -1 means no limit.
    # t3 R6 |0 |* E' L4 d! m' ^+ J
  1371. ; http://php.net/sybct.max-persistent
    ! t8 i. R  B2 U* G7 [& }
  1372. sybct.max_persistent = -1
    * D. T2 H; L, O& e# l% f

  1373. ; L/ P, F* P! V7 r2 L
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & t* G7 a4 P0 o+ S& F
  1375. ; http://php.net/sybct.max-links
      u( t& w0 p3 ?' x/ ]0 ~: B8 P0 m" p
  1376. sybct.max_links = -11 m/ N  Y3 B4 o" Y% t

  1377. 7 S# X8 F4 W: D! ^5 H6 z0 i
  1378. ; Minimum server message severity to display.0 W- w# l" D  _) g4 p1 e$ }
  1379. ; http://php.net/sybct.min-server-severity( |" _( f8 j; n6 I3 |
  1380. sybct.min_server_severity = 10
    * J, N3 }  s8 e4 X8 @. \

  1381. 2 N. V0 O' O/ n& u/ t
  1382. ; Minimum client message severity to display.2 D2 |6 e& ]$ m3 _& k6 \
  1383. ; http://php.net/sybct.min-client-severity
    / R* C3 s; u2 H: U
  1384. sybct.min_client_severity = 10
    ! T" q2 X% G( g4 L- u5 c
  1385. ! S6 g' ^; ]5 X" M0 i8 K( n, J
  1386. ; Set per-context timeout6 p% T) ?- _) A( S
  1387. ; http://php.net/sybct.timeout2 Y# ^. }4 S1 F; Z  v8 Z6 T& n6 c
  1388. ;sybct.timeout=  A! J6 y! C0 e7 j& S2 x

  1389. ( u. u0 i& i# R% ?- }9 O
  1390. ;sybct.packet_size; ^$ X2 ]  }2 \
  1391. 5 b1 n6 {& w9 ?+ k
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    # f9 V2 \$ H( ^2 u5 Y
  1393. ; Default: one minute# K8 ?3 E$ r! H/ X* X1 U( J
  1394. ;sybct.login_timeout=
    6 {+ X* ^9 f5 X8 v, y6 h# d

  1395. 1 V0 J* v: D) K, R6 k0 s) Q  K
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.2 a2 ~6 V1 R) M6 p( r. d
  1397. ; Default: none
    : }- Y, O. a2 M; |8 ]' |
  1398. ;sybct.hostname=3 F8 b' o2 D$ W2 p' W: n5 f

  1399. / s2 Z- n3 J. z4 _" J* f
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".5 ^. E5 s+ P$ G: ]
  1401. ; Default: 06 b$ j: a4 p! A
  1402. ;sybct.deadlock_retry_count=! ]3 P, U' h& w4 [
  1403. , b5 L% n4 L( S9 k1 l* u
  1404. [bcmath]7 \  Y" E9 C- q: G3 S) F
  1405. ; Number of decimal digits for all bcmath functions.! P% e' E5 G3 n8 d: z
  1406. ; http://php.net/bcmath.scale
    # G2 F: g. a$ K) K7 F
  1407. bcmath.scale = 0
    ! T  O. _  {7 L/ q

  1408. # {. ^" K3 O2 L3 a8 C7 v5 v
  1409. [browscap]- D6 k6 s2 Y9 s$ ^/ w  Q6 ]
  1410. ; http://php.net/browscap4 c8 C2 t# a# T3 G" X8 z
  1411. ;browscap = extra/browscap.ini$ a$ |! q2 b  Y/ B: G
  1412. 3 r7 l% P. ?1 @/ u! [( l
  1413. [Session]- e- D' P& v: t3 A
  1414. ; Handler used to store/retrieve data.
    8 h; L# U# S  E: k
  1415. ; http://php.net/session.save-handler# x6 j) l$ g8 r3 z- Z% d
  1416. session.save_handler = files
    0 H1 T1 n- B/ L# I- G& x
  1417. - T& l9 M# g  x7 h1 a. o5 d3 {  S
  1418. ; Argument passed to save_handler.  In the case of files, this is the path0 ~, \4 \& j0 U$ d
  1419. ; where data files are stored. Note: Windows users have to change this! F) X' ]4 w; U8 ?+ h: g6 _
  1420. ; variable in order to use PHP's session functions.1 o# i: G6 o: ~0 y4 W
  1421. ;, e) q* C# B7 x4 d7 Z
  1422. ; The path can be defined as:6 w; D. ]6 K6 @' [# q( A8 h
  1423. ;
    , V' V! A  U" I, w2 f4 I0 s
  1424. ;     session.save_path = "N;/path"
    9 `% C! N: K0 ^6 q
  1425. ;* K0 e  _5 t1 ~3 R
  1426. ; where N is an integer.  Instead of storing all the session files in
    ; i4 v3 w( e7 B5 ~1 \
  1427. ; /path, what this will do is use subdirectories N-levels deep, and2 A" b5 E5 r! I1 |
  1428. ; store the session data in those directories.  This is useful if$ [2 a$ r) B1 D+ M6 h* e/ z3 c: Z
  1429. ; your OS has problems with many files in one directory, and is  j5 T- L0 G2 V6 C: _# l( Z
  1430. ; a more efficient layout for servers that handle many sessions.
    ( S% I3 i6 e6 w9 n6 m
  1431. ;
    # O$ S9 J  S. Y  A3 n8 q0 {6 A' ]" Y
  1432. ; NOTE 1: PHP will not create this directory structure automatically.# m  ^( R4 s; U; q; Y) Y& Y* d
  1433. ;         You can use the script in the ext/session dir for that purpose.4 |+ }% Z1 q- {# P
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ) Q7 F6 g) Z$ N$ k/ d4 A2 M
  1435. ;         use subdirectories for session storage
    ! r) k' o4 c( b2 Z
  1436. ;
    / g1 s; y: d' i) P' x; l' S0 D
  1437. ; The file storage module creates files using mode 600 by default.
    ) ]9 B1 |6 \0 |6 _$ V7 W
  1438. ; You can change that by using# d% D. e% G% D' `1 I1 e5 `# p2 @
  1439. ;, l. h+ J3 U) t( }3 o
  1440. ;     session.save_path = "N;MODE;/path"6 t- {- K+ S) i  d3 X$ i
  1441. ;
    , I# p9 a( h# c2 C, I! R
  1442. ; where MODE is the octal representation of the mode. Note that this. I+ b6 J' V; r" w$ ~) L
  1443. ; does not overwrite the process's umask.
    : ?% y. Z* r" K9 z( w, i: \( I2 h( U
  1444. ; http://php.net/session.save-path
    : ?/ g& M2 G& o8 Z
  1445. ;session.save_path = "/tmp"6 c! H- ?) L( ?; e# k! D

  1446. : K+ ^& K: x. V' Y/ h7 P; V
  1447. ; Whether to use strict session mode.
      h6 v* c" X/ r- ^( d
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    $ I' N" F: Y& \6 _
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    9 F% Z  R6 b; ]3 M# D9 y, e+ s
  1450. ; applications from session fixation via session adoption vulnerability. It is
    1 H9 v" b5 r) @& I3 n. l
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged./ P; p+ U2 ~/ d1 Z- O
  1452. ; https://wiki.php.net/rfc/strict_sessions' \  j& {/ ~! h7 b
  1453. session.use_strict_mode = 0* j6 |7 y$ r2 g1 G* {5 b
  1454. 8 l. h" R6 P3 O
  1455. ; Whether to use cookies.4 L% J0 e# q" f: t5 Z6 T% t- r# p! ^
  1456. ; http://php.net/session.use-cookies
    ' b7 F! U& q. ^6 I
  1457. session.use_cookies = 1
    ; |- ^( D2 Y; ?* m  O. J+ z/ y
  1458. ) L( S0 q3 C8 e" W
  1459. ; http://php.net/session.cookie-secure
    ( c/ P  w/ ]+ G) J* X8 c: W5 F& ^5 n0 C
  1460. ;session.cookie_secure =
    4 M" J4 E2 M$ ]' t$ ~' H2 L

  1461. . x5 }7 T# h! ?
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining( ], }# M- ~1 {3 N
  1463. ; the session id. We encourage this operation as it's very helpful in combating+ v, d; P1 _' x9 K8 h
  1464. ; session hijacking when not specifying and managing your own session id. It is0 B; D, c9 r6 P% J
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
      i) i6 H) A1 ?
  1466. ; http://php.net/session.use-only-cookies
    ( e  f% s' R# f1 g% d
  1467. session.use_only_cookies = 1  Z8 A) D- E" M% w. `

  1468. ( |4 G( X6 E- H, O. C5 m
  1469. ; Name of the session (used as cookie name).. T6 }6 o1 I. m* a. ?4 x' @
  1470. ; http://php.net/session.name
    5 N( I" X! s% E1 _* ^2 ^. N1 q+ F
  1471. session.name = PHPSESSID  K8 y; F9 i: b* ~; r1 h

  1472. : V2 o1 a2 F* m2 m; C* N5 ^
  1473. ; Initialize session on request startup.# d9 F# F: Z. Q7 K9 s
  1474. ; http://php.net/session.auto-start/ `% a7 [7 W3 y( @. j: S
  1475. session.auto_start = 0. S5 H5 F) M% j+ P6 K

  1476. . X6 t, A- s% i) I: f( T4 W: V0 V
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.# `0 M: Q2 G7 p- b& Q" x( z
  1478. ; http://php.net/session.cookie-lifetime
    ) Z& C& y9 X6 ^
  1479. session.cookie_lifetime = 0' k* [4 i' J1 K1 N6 y

  1480.   Q! j, Q" g$ h/ \4 c
  1481. ; The path for which the cookie is valid.
    3 A( W$ }. b5 N, _
  1482. ; http://php.net/session.cookie-path! E' }& H, d- a& R  o$ r
  1483. session.cookie_path = /' h3 w  e) V  Y1 _1 p  ]

  1484. 1 B7 P! C& N- q* [3 h
  1485. ; The domain for which the cookie is valid.
      R# S+ t5 R5 y) ?
  1486. ; http://php.net/session.cookie-domain
      |' t! F. ~7 T
  1487. session.cookie_domain =/ E" ~$ m* B3 u9 J8 I

  1488. ( g% i+ o8 `! V# N* y$ v
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.( Q, u# A6 U/ j3 j" v
  1490. ; http://php.net/session.cookie-httponly
    $ s1 e; N4 ], }& ?& z- o) e+ |/ z
  1491. session.cookie_httponly =" }2 Q& Q1 f1 M- |6 Y

  1492. , U$ ~' \+ s& P% Q; \1 ?- |# U
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.( {, T1 [: k! @7 H  P6 y& o- P
  1494. ; http://php.net/session.serialize-handler7 I0 K" S3 g. Q" Y
  1495. session.serialize_handler = php
    5 I. h* `: p( U( R3 A8 J6 i7 i

  1496. " G  L& ]/ a: p
  1497. ; Defines the probability that the 'garbage collection' process is started
    ' a. g) T3 c! Y6 e$ d2 w/ B
  1498. ; on every session initialization. The probability is calculated by using
    4 B4 [9 z, U3 @. \/ H; Y2 y
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator3 @. _8 @/ ?7 T# K2 Y) N  W
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    & C5 M2 s7 ~! J" n
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance; Q. g5 B& h) J% H+ @
  1502. ; the gc will run on any give request.
    4 w) {. O4 W$ N/ I& s
  1503. ; Default Value: 1
    9 @$ S: J7 E' H
  1504. ; Development Value: 18 e' p% i% E0 D2 q4 J
  1505. ; Production Value: 1
    ( `/ F: N4 d/ @! n+ _
  1506. ; http://php.net/session.gc-probability! `1 e) }8 g6 d" B- G
  1507. session.gc_probability = 1; ^$ g" R  x* M  L

  1508. % G; [! K* u/ O$ Q$ S) \
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    0 M2 }2 O$ ~, M' i9 B
  1510. ; session initialization. The probability is calculated by using the following equation:
    , n" q  G0 ^  o+ j/ G
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    # h( Z% ~5 x$ ]5 h- S' `  P
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    % _, X3 Q% K4 |; r! q0 z& |  m: ?$ M/ O
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance1 G; h! P! Z# j
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 a0 R' J: y9 i$ ?4 B( Z2 f% R, M
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,/ e. ]! d2 x. W/ c, D8 U) u
  1516. ; this is a more efficient approach.
    7 v% o( e; A- x( r: W& H
  1517. ; Default Value: 100
    & I# g1 {: d# ?- N, D
  1518. ; Development Value: 10007 R( y+ Z! E3 k- Z5 f# G4 ~1 e
  1519. ; Production Value: 1000
      U4 M1 m! b- A& E3 G) p  o1 J& S
  1520. ; http://php.net/session.gc-divisor
    8 x0 K8 a- H! s0 D3 X8 H+ E# ~. n
  1521. session.gc_divisor = 1000' [' z) O3 w  ^: G$ @7 d
  1522. . N2 S! D3 s8 T' K2 p8 n
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    / V8 H- R1 s: [
  1524. ; cleaned up by the garbage collection process.- o5 r. G" F2 K1 v4 m
  1525. ; http://php.net/session.gc-maxlifetime" o" |# Z/ e1 B3 p4 E
  1526. session.gc_maxlifetime = 14409 }  i0 n& {+ ~$ ~1 j$ C

  1527. 4 n- |5 `$ ^% n' T) L, Z. V  h5 [
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    7 P1 D8 ], K  l+ _- D2 p& N
  1529. ;       (see session.save_path above), then garbage collection does *not*. ]: a' p: k' G; s* H. [2 v) u# V; f" V# H
  1530. ;       happen automatically.  You will need to do your own garbage7 V) K, l# L* v8 M+ f
  1531. ;       collection through a shell script, cron entry, or some other method.
    8 @: C7 `1 f7 \% F5 d  m. M
  1532. ;       For example, the following script would is the equivalent of
    " p( G' o- J2 c5 k  A  h; ^
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ' B3 N' j: X" K9 y7 i% H4 N; x3 S
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm3 ~$ ^, ~, z# ?' o' L

  1535. # u2 @( k. _2 C9 E6 s% U4 e
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    1 p4 u" I3 ?* [: @6 q2 [) i# U4 t
  1537. ; HTTP_REFERER has to contain this substring for the session to be6 C/ `6 H$ _4 s! T% J
  1538. ; considered as valid.
    + C) Y( j! Y( \! K, }7 d4 y: q  c
  1539. ; http://php.net/session.referer-check' C% v% K2 F% [  I
  1540. session.referer_check =
    1 ~& B# {$ `! ]; [+ L3 Q8 n

  1541. % a; S$ H6 K* u6 f' d, s
  1542. ; How many bytes to read from the file.
      w7 x+ p3 _' I/ W5 u  U, d
  1543. ; http://php.net/session.entropy-length8 T! M2 M) n. ~
  1544. ;session.entropy_length = 32
    $ c: V! \1 y% x& h8 {& N. W
  1545. % ?6 [& s5 q6 ]5 O, j! ~
  1546. ; Specified here to create the session id.
    8 c3 \* a/ W: s5 W; g/ H2 J4 A4 |5 c
  1547. ; http://php.net/session.entropy-file
    , U  s. U8 [& @. F# n4 V
  1548. ; Defaults to /dev/urandom
    6 b/ Q5 ]" {" G2 q5 i) L
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    / G- a! I! Y8 `7 \
  1550. ; If neither are found at compile time, the default is no entropy file.
    ' q0 b  ]3 h6 D; y+ L" U# p* P: G! q
  1551. ; On windows, setting the entropy_length setting will activate the+ G5 y6 k/ v  _
  1552. ; Windows random source (using the CryptoAPI)
    : z' ~( A5 g6 a! ]
  1553. ;session.entropy_file = /dev/urandom
    4 c$ N0 i' b0 V4 x0 E$ [

  1554. - |0 S1 J" Z2 V" Q- z
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects8 V+ H  C9 u6 Y4 `6 o$ W$ _
  1556. ; or leave this empty to avoid sending anti-caching headers.+ J# i( t' _# h1 n& b0 n: P
  1557. ; http://php.net/session.cache-limiter
    - Q2 r. q0 {# f( U0 ?& v
  1558. session.cache_limiter = nocache
    " ?' c5 i. t9 Z/ f& L

  1559. 3 E. H* x; r: K' a* ]
  1560. ; Document expires after n minutes.: i1 ]1 j" o* y' n0 u8 O) a
  1561. ; http://php.net/session.cache-expire
    ' Z1 Z" G" C- P3 q0 [" z
  1562. session.cache_expire = 180
    7 A- ], \3 \3 A% H+ }
  1563. 5 _: ]! D7 ~# j0 x' O
  1564. ; trans sid support is disabled by default.
    1 {: w, y0 x; _# I5 X" t' X/ T
  1565. ; Use of trans sid may risk your users' security.
    - D2 @( q  U  ?4 Q) [$ R
  1566. ; Use this option with caution.0 f8 ^; `* W+ M  O6 E# p# M8 h2 ~2 o
  1567. ; - User may send URL contains active session ID: _/ l) Q4 V' Z- n( y6 n9 \( Z" v% o
  1568. ;   to other person via. email/irc/etc." I- ~: L6 h* y) s) Z
  1569. ; - URL that contains active session ID may be stored& N; A; G/ [# }- t
  1570. ;   in publicly accessible computer.
    & S: s, t  o( {' j4 i  K; j) G
  1571. ; - User may access your site with the same session ID
    . R. u/ H0 @7 y5 [4 f5 y% ^4 q
  1572. ;   always using URL stored in browser's history or bookmarks.
    ! V4 {3 n' @6 o3 X0 i9 Q
  1573. ; http://php.net/session.use-trans-sid
    , ~; }" v: \/ h* \$ R% n/ Q
  1574. session.use_trans_sid = 0
    8 _2 j; A; J, `% w+ o

  1575. , |  c6 W6 ~. Q- A, M: @( Q
  1576. ; Select a hash function for use in generating session ids.
    7 O$ E' z$ b9 ]$ p
  1577. ; Possible Values8 m9 R9 t- n4 a
  1578. ;   0  (MD5 128 bits). y( U5 f- s( Y$ y
  1579. ;   1  (SHA-1 160 bits)6 \$ l( h9 g0 u7 W$ b$ Q8 b
  1580. ; This option may also be set to the name of any hash function supported by
    / W" X& ^5 V) Y1 `7 Q6 S
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    . |$ P$ Q6 Q. N% A5 `
  1582. ; function.
    - B* k4 V7 m5 E" [, O( S
  1583. ; http://php.net/session.hash-function
    9 [. Q( O9 I7 P" }# \! Z- p( x% w7 L
  1584. session.hash_function = 0! u$ B3 Z! T* P6 X& @

  1585. . O' K" e, @5 L  d- E
  1586. ; Define how many bits are stored in each character when converting
    6 A3 `( H5 r* O2 o2 a2 L3 x/ S
  1587. ; the binary hash data to something readable.% E, Y" {# I# G; B# x5 p  ?  \
  1588. ; Possible values:
    % {* J2 I8 a$ p3 q9 k
  1589. ;   4  (4 bits: 0-9, a-f)
      U* y; K: v# S. x( s- ^
  1590. ;   5  (5 bits: 0-9, a-v)
    4 d; N5 {9 z" W
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    " o3 L4 J' ^3 r2 o
  1592. ; Default Value: 4  z. y3 @/ q% `1 x+ j2 z
  1593. ; Development Value: 52 q/ F7 x7 v/ i! N' ]
  1594. ; Production Value: 5- x& I/ E* ^8 R( i  H3 \- F
  1595. ; http://php.net/session.hash-bits-per-character
    % ?8 M3 T/ u8 {' _  O/ G. j  g
  1596. session.hash_bits_per_character = 5
    5 ~* K! K# p6 I
  1597. ' w9 Z: D3 \5 s. G7 D
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    / {( b) g- Y% D! s
  1599. ; form/fieldset are special; if you include them here, the rewriter will1 A) R, F5 a" Y) R6 B
  1600. ; add a hidden <input> field with the info which is otherwise appended
    5 `2 M, R  a" d/ c, X& I
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.( \6 o  n: t0 Z* ]- Y' N4 @' ^
  1602. ; Note that all valid entries require a "=", even if no value follows.
    & _2 p- m- Z2 ~6 g
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="7 S" s% T0 g8 `
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % o  U" H7 M1 O  k" p
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ C0 v: B; k! y2 z
  1606. ; http://php.net/url-rewriter.tags
    7 ^. l3 X( A( B7 ]
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"8 S; [' L7 M4 h% W- [& S" Z7 t

  1608. 0 q6 q4 I3 D' x9 _
  1609. ; Enable upload progress tracking in $_SESSION1 P" I+ g5 \- B- q9 ~
  1610. ; Default Value: On2 v; a. k8 @9 g& |; H% k0 a
  1611. ; Development Value: On
    / q* f1 a, r' h' k+ N. r; E
  1612. ; Production Value: On
    , b1 f0 n% U4 [$ v: Q" ?1 V
  1613. ; http://php.net/session.upload-progress.enabled
    / c7 F# G: K$ e+ I6 j/ W
  1614. ;session.upload_progress.enabled = On' l5 W% x$ J' n% |

  1615. & |: B! Z8 h  k& u
  1616. ; Cleanup the progress information as soon as all POST data has been read5 ~0 e+ J# c# U4 |2 ?' B
  1617. ; (i.e. upload completed).
    # X( W, k+ U: l0 {, O
  1618. ; Default Value: On) u6 C1 s" Y* ?3 z, o4 R
  1619. ; Development Value: On
    4 R' I' l$ e5 k
  1620. ; Production Value: On
    ! R/ \2 D7 R6 k* ?1 W: M
  1621. ; http://php.net/session.upload-progress.cleanup) N  ~$ e  _  d" C1 n
  1622. ;session.upload_progress.cleanup = On
    9 T: u: M6 d, \3 y) H3 M

  1623. : B8 C- c1 F  `. m9 {  N
  1624. ; A prefix used for the upload progress key in $_SESSION
    ) }7 e; \9 r4 G8 u2 m+ ~/ M  I% ]
  1625. ; Default Value: "upload_progress_"
    ( J$ R' [. |1 E  b: \# C
  1626. ; Development Value: "upload_progress_"5 a/ z/ R5 k( ]. v: x' `( n* m0 J
  1627. ; Production Value: "upload_progress_"
    4 o7 G0 d$ Z8 w+ s5 x5 ]
  1628. ; http://php.net/session.upload-progress.prefix
    ! D8 \4 P! u7 R& P% ]9 Z. h
  1629. ;session.upload_progress.prefix = "upload_progress_"# g, Y) i1 {4 ?1 T

  1630.   l+ Z! d6 y+ N4 |/ h  X0 W
  1631. ; The index name (concatenated with the prefix) in $_SESSION' V) u6 o( J, P6 e
  1632. ; containing the upload progress information7 F& j! j( i6 e
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"+ `2 l( c6 P* B. y. U. T/ r' `
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 a; V: J( h8 B+ V: [$ s
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"1 v2 _- ^) |6 ^- F# @) p7 e4 b
  1636. ; http://php.net/session.upload-progress.name
    5 O& `3 n+ ~; [( J
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    7 `# w" {+ J  o1 {

  1638. & b% t$ X7 G2 K' U& x% g
  1639. ; How frequently the upload progress should be updated.! y/ o  W" I# M* q/ Y1 T
  1640. ; Given either in percentages (per-file), or in bytes
    $ C; v- {5 R* |0 g
  1641. ; Default Value: "1%"4 {7 g& m0 W6 e9 t! C! p' V
  1642. ; Development Value: "1%"
    ) b0 w2 t( V9 G1 B5 h
  1643. ; Production Value: "1%"+ M/ @' o3 \8 U0 e; R% K) p
  1644. ; http://php.net/session.upload-progress.freq5 r: C5 }- `$ F" Y
  1645. ;session.upload_progress.freq =  "1%"
    / D& d0 N% F0 D

  1646.   i0 `6 a  m& e, x7 K  X& |
  1647. ; The minimum delay between updates, in seconds
    6 D3 D" l$ H1 A) d3 W; y
  1648. ; Default Value: 1
    $ e2 V! Z5 P7 V; O$ K  p4 [
  1649. ; Development Value: 1
    & z% S" [. A) a' Q, r
  1650. ; Production Value: 16 |% J4 `2 U+ i# x) N6 \
  1651. ; http://php.net/session.upload-progress.min-freq2 R; w$ L% E, U7 v
  1652. ;session.upload_progress.min_freq = "1"% f6 \4 F# f) k

  1653. 4 {3 e; {1 T# O( ^; y. l8 E& g
  1654. [MSSQL], Q1 x7 [. H; w1 r2 N4 T0 q2 @- s4 o
  1655. ; Allow or prevent persistent links.
    & T6 G9 L4 g& V9 _7 ^
  1656. mssql.allow_persistent = On4 C* ^8 q+ s# u! B# i
  1657. " K9 y( R9 l3 a* J, P
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ( f& e6 M, H' ]* K8 o2 {
  1659. mssql.max_persistent = -1
    - G. D; {- [, O) x: t

  1660. 6 ]. E* z5 O8 j) v) Q, ?# d4 D0 Y
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ' u4 z$ r: Q, K0 m2 i3 L! G; L
  1662. mssql.max_links = -1
    7 {/ Y- ?+ ?- e; x' t8 L

  1663. ( I* L$ R& t/ T1 ^
  1664. ; Minimum error severity to display.
    0 ?0 j4 u) |' k! }% f
  1665. mssql.min_error_severity = 108 O$ B( v( v2 d4 Q$ S% v$ y4 W8 d
  1666. . @* w& z! n% H( Y" d' n
  1667. ; Minimum message severity to display.
    $ X8 p# y0 j! ~
  1668. mssql.min_message_severity = 10
    - g+ R) C9 ]2 S7 L! i$ c) P' T

  1669.   {3 M2 D; v4 ]: c9 @
  1670. ; Compatibility mode with old versions of PHP 3.0.3 x; f: F  X* c. C6 F- t( Z6 m- C3 r# H
  1671. mssql.compatibility_mode = Off
    ! c0 P) F/ G+ w1 _0 a6 `+ U
  1672. 3 r1 i8 A6 L* E# D
  1673. ; Connect timeout
    9 t' i7 o, d, ?3 G! J5 W0 z7 R
  1674. ;mssql.connect_timeout = 5: ]1 g, p! g% E$ w
  1675. + u% Y- _" g+ H3 B  |& h8 S
  1676. ; Query timeout
    % i4 @; d1 E9 p2 e
  1677. ;mssql.timeout = 60
    : O: q" h/ ~1 n- x: `

  1678. . s+ X0 N: v9 A% n! |; w
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    " b2 ~6 q, O9 x
  1680. ;mssql.textlimit = 4096
      J# |9 G; L) |: ~1 u) Z- v$ k. ]6 p7 `
  1681. 2 m! J5 b" Y0 w* c
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    4 K6 ~$ ?6 Q5 J* e
  1683. ;mssql.textsize = 4096
    5 S- d$ ^& W& a' O
  1684.   t) ^+ W6 t4 }/ l
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.3 b4 W! x4 o: |" Q$ I8 K
  1686. ;mssql.batchsize = 0* i2 s& A) @! K) g* A, M
  1687. : S- H2 g7 L2 G- R  R, q
  1688. ; Specify how datetime and datetim4 columns are returned
    7 v5 e! _6 b# Z: ?
  1689. ; On => Returns data converted to SQL server settings. C7 T# N* E! N" y- c9 A
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss+ K) z; E7 @" D. V% W
  1691. ;mssql.datetimeconvert = On- u% o0 i( T6 }- u' Q

  1692. 8 v3 o; w8 U. _' @. N
  1693. ; Use NT authentication when connecting to the server
    1 K; Y- A( ]8 x# m& n: B
  1694. mssql.secure_connection = Off
    # }8 r: v& B1 W' H

  1695. & [9 o+ a- Z  I& l
  1696. ; Specify max number of processes. -1 = library default# A5 m  o3 Z8 [2 \) T
  1697. ; msdlib defaults to 25
    6 h& R7 L+ x7 ]! h# Z' O5 |
  1698. ; FreeTDS defaults to 4096( ]& }$ h% T& k0 Y) S0 t# E
  1699. ;mssql.max_procs = -1+ q" n, u, w# y% n0 K  ?

  1700. ( j+ o! M9 p: V, y4 n
  1701. ; Specify client character set.
    " i& v$ A; ?' g3 F: F" f
  1702. ; If empty or not set the client charset from freetds.conf is used( N8 U, u. L/ _4 C9 ?
  1703. ; This is only used when compiled with FreeTDS2 h+ G8 h1 y+ ]: N
  1704. ;mssql.charset = "ISO-8859-1"+ w. j2 S3 g8 N( M7 L

  1705. . n% e: ]) |. Z# _- c! @9 d+ U
  1706. [Assertion]
    2 ?- E8 F2 p% C& i
  1707. ; Assert(expr); active by default.: I" _( `; K- O. [4 F9 [
  1708. ; http://php.net/assert.active9 Q8 @( X6 f: W; c3 o
  1709. ;assert.active = On. o) W3 G& j/ r, ]1 H
  1710. ; {+ a1 C  D9 A: u
  1711. ; Issue a PHP warning for each failed assertion.' M3 M( ~- `' t+ G2 ]  U
  1712. ; http://php.net/assert.warning7 h! z+ C( X; i. _6 C6 W0 X
  1713. ;assert.warning = On/ G/ ]. H/ V5 j/ h/ Y6 y$ m

  1714. * O; q: P2 g* c$ B6 r9 K
  1715. ; Don't bail out by default.
    $ d6 _& }7 S( S. k
  1716. ; http://php.net/assert.bail
    ( b; V+ a: P$ T% b5 [6 o& ^% }
  1717. ;assert.bail = Off# }/ Z% O$ c" _. A; B& f

  1718. 2 l8 A* w* p6 n! \! V) G& a0 m$ U, I3 i
  1719. ; User-function to be called if an assertion fails.- d% a; B+ u! H5 J
  1720. ; http://php.net/assert.callback: V' f& Y# T' x: Z- V  `% M, ~
  1721. ;assert.callback = 0% ^1 y2 Z6 N$ h+ a; M
  1722. 1 a+ r) x( Q+ i" i! a' p$ y" z( j
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    7 T5 j, j& i) P$ x0 H1 O, }8 W
  1724. ; error_reporting(0) around the eval().
    " u" t5 u. u+ [0 X2 L
  1725. ; http://php.net/assert.quiet-eval1 G$ }2 ]2 l3 g. `
  1726. ;assert.quiet_eval = 0
    1 V+ c9 s8 D& _+ m3 W
  1727. 0 a  N. b; X8 k% F
  1728. [COM]
    3 A3 h  W2 O6 R# M3 k( }+ {1 i/ N# E
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs1 j2 X0 ~$ Y7 Y- e* T
  1730. ; http://php.net/com.typelib-file2 E8 m" Z4 |: T" K: c2 B
  1731. ;com.typelib_file =
    / L& X. ^! O0 E

  1732. ! o% U$ b8 j( r6 g+ H" l
  1733. ; allow Distributed-COM calls6 N  R) n! J/ B1 y  _
  1734. ; http://php.net/com.allow-dcom' A; t2 `% i1 N/ f8 M
  1735. ;com.allow_dcom = true
    ' y/ v. U9 k9 [' p: J1 _% k* U2 f
  1736. # q2 W3 b* `/ ~, Z
  1737. ; autoregister constants of a components typlib on com_load()* ?0 C" j# ^& `- W8 |
  1738. ; http://php.net/com.autoregister-typelib
    7 U4 p8 N) ^$ `
  1739. ;com.autoregister_typelib = true
    # w' D$ E0 l3 }: ^

  1740. * p  D5 e3 H2 A) w8 _" W
  1741. ; register constants casesensitive: Y3 |& c( I0 a1 S+ T& D; R
  1742. ; http://php.net/com.autoregister-casesensitive* p' b3 z( o* F' {9 E
  1743. ;com.autoregister_casesensitive = false
    # ]' z/ a9 u. i; y# F& W
  1744. " D4 y( N" e) @+ y
  1745. ; show warnings on duplicate constant registrations
    . u1 y* o8 c3 i  Y+ F( g
  1746. ; http://php.net/com.autoregister-verbose3 g/ ?4 r$ C7 e# H5 Y! a: A' X
  1747. ;com.autoregister_verbose = true
    ( H5 |! L" k# I9 Y) u" H6 ]1 ~8 E" y

  1748. ) C0 p+ j/ _% C# r# g: K4 U
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    1 m, s$ j8 e+ A( Q7 G! }- H2 e* j$ C
  1750. ; Default: system ANSI code page2 \0 M. h( l* u" _
  1751. ;com.code_page=: G' k! \( z' _' a' {
  1752. ' z3 ~; Q6 Y& v( ?
  1753. [mbstring]! P6 N, \; c9 S
  1754. ; language for internal character representation.; K6 c; V; [7 h4 n' n
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ! s/ k0 g8 L1 M3 {5 j: F1 D6 g
  1756. ; http://php.net/mbstring.language* B5 @. [( y+ Z+ c% @$ N
  1757. ;mbstring.language = Japanese
    * F* S3 y) a0 m
  1758. 0 m& I3 M, Q& U4 K
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 a' B0 i" c+ R) ~$ ?" }
  1760. ; internal/script encoding.$ X* r& |6 l! [# u  g9 @- H
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ) T1 i5 |" w/ M; V" G/ z
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! c/ S% |2 J4 m# h- v& |9 I
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding& U* s; X) n" K
  1764. ;mbstring.internal_encoding =+ G! I2 B: l  l3 ^  c0 n
  1765. ! a' y# u6 F5 k' G- \( M3 m# S* c
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.! J1 ~1 N( x  P: \5 M! A0 l' B
  1767. ; http input encoding.! t+ k& g7 j6 r& y# A& z# S, F
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.6 u; O* D0 y6 U* ?% I% Z* @4 ]
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    - B! Y' ]; {( a1 _
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    1 k1 ^- ?2 c, d* ?+ P! P
  1771. ; http://php.net/mbstring.http-input2 p4 ]9 D$ z: m5 n
  1772. ;mbstring.http_input =; l3 ~' E+ r  ~* s: C2 [3 Y( @  W
  1773. ) g3 c; {: u2 J& c
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.' Y; @( \! q/ w
  1775. ; http output encoding., N# Q$ u& v, R$ s! \( ?, v! V
  1776. ; mb_output_handler must be registered as output buffer to function.* I: s3 [+ B9 a1 j5 Y* l  q, z
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    1 \6 O/ D( g4 I( N0 \
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output$ ?( Z, |4 D7 a% a# K
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    : p; o/ r8 ?9 R( w" c( M- U" C
  1780. ; otherwise output encoding conversion cannot be performed.
    2 I, y. {+ L. e" c) @: @- V
  1781. ; http://php.net/mbstring.http-output) ~3 Y) N, W0 ?
  1782. ;mbstring.http_output =
    ' q$ r. ^- c% U/ @! I8 ?1 e

  1783. ' O* V. u) Y8 G" X' ]* l0 R
  1784. ; enable automatic encoding translation according to, ?! _7 D' L- z
  1785. ; mbstring.internal_encoding setting. Input chars are0 D/ ~: T. j$ Q. U/ j
  1786. ; converted to internal encoding by setting this to On.
    3 R$ c( c0 q8 O- c! J* A
  1787. ; Note: Do _not_ use automatic encoding translation for
    0 \# Q. M& `- X7 |; K+ X* {9 G3 h8 W
  1788. ;       portable libs/applications.
    - R& ~+ E, c# l& n* m3 u0 C
  1789. ; http://php.net/mbstring.encoding-translation. E1 p; }* O3 m1 e/ ^7 ~
  1790. ;mbstring.encoding_translation = Off- ?& M' C& K5 q: y/ {- x' Q

  1791. ) k" @% e( L: c0 h
  1792. ; automatic encoding detection order.% S  F# l0 ?. G. b: f9 [% E
  1793. ; "auto" detect order is changed according to mbstring.language
    3 r4 b; I: c/ i* e0 F6 t# G9 ?4 y
  1794. ; http://php.net/mbstring.detect-order/ g/ p' d" q- Y; {- ^( `7 |
  1795. ;mbstring.detect_order = auto, [. h4 z7 q' z6 j
  1796. / R' {, W2 }( a: X7 _
  1797. ; substitute_character used when character cannot be converted7 H0 A+ i1 O3 t! L" f# [. v
  1798. ; one from another$ g) k2 f$ L% ^1 N) E& K8 ?# j
  1799. ; http://php.net/mbstring.substitute-character
    8 J. @4 [- r! D
  1800. ;mbstring.substitute_character = none. Y4 i7 j0 c% M% a1 N2 v* Y
  1801. 1 E) W5 s4 s8 |$ A/ ]4 k
  1802. ; overload(replace) single byte functions by mbstring functions.4 p6 g" ~# f: ?9 ?
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),( p6 c8 b. C6 o3 s
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    + L& B6 H4 S7 a2 e( H# o- E. x% M
  1805. ; For example, 7 for overload everything.2 t8 J, k# i9 C3 N& r/ y
  1806. ; 0: No overload
    4 ?( I1 v0 R' w9 [; i% j6 H
  1807. ; 1: Overload mail() function
    2 q+ e# i7 Y  y' ~' X
  1808. ; 2: Overload str*() functions
    ) t9 v4 N  X$ n, t# _8 s
  1809. ; 4: Overload ereg*() functions
    : j8 f, Y% n3 C" c
  1810. ; http://php.net/mbstring.func-overload
    ( S" W+ S" s0 F. i  ~( c
  1811. ;mbstring.func_overload = 0
    * [2 Z  J+ n& P! Z/ h

  1812. 0 F* Z' v/ S( P. K% @8 N: D' `& u* d
  1813. ; enable strict encoding detection.7 V+ q* C( r# y
  1814. ; Default: Off
    3 i, t% E! {# R' U4 k& E9 v
  1815. ;mbstring.strict_detection = On+ ^  a, I, }+ L1 U$ s6 ?( G- ]

  1816. ( j1 z) d, b( n) v2 w
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()( ?) a6 c1 [8 d4 h
  1818. ; is activated.) L6 T: r5 k) V1 \1 n
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ' {$ Y# T, t# m8 e& Z
  1820. ;mbstring.http_output_conv_mimetype=0 A9 E* W, w) J
  1821. ' J8 c0 V, Y3 X/ G: i/ ]
  1822. [gd]: _, M& |! a8 o9 Y. W( O
  1823. ; Tell the jpeg decode to ignore warnings and try to create% }& G" a& L/ Q0 I/ E" I, K
  1824. ; a gd image. The warning will then be displayed as notices
    : e: \0 X2 W6 E, C. Y* H
  1825. ; disabled by default
    : h- }- z6 F. W) {; y% l2 N
  1826. ; http://php.net/gd.jpeg-ignore-warning$ n" [$ N6 W1 I
  1827. ;gd.jpeg_ignore_warning = 0
    & L2 e8 Z1 G/ x- q
  1828. % r) l6 `& h+ d: F2 I4 O
  1829. [exif]* P$ ]0 S% Z9 B. q5 [4 w
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ( Y) ?; W4 d1 l# W1 J6 F, ]; F
  1831. ; With mbstring support this will automatically be converted into the encoding' ?, y9 I2 `  o% o4 [+ T: g9 S- G" A
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding5 `2 Y9 p0 U: ~; Z
  1833. ; is used. For the decode settings you can distinguish between motorola and& p7 h$ f2 F: V# h/ O) E! r; H2 M
  1834. ; intel byte order. A decode setting cannot be empty.
    / z+ M) N$ w3 ^1 G0 I& Z9 r2 ^
  1835. ; http://php.net/exif.encode-unicode
    4 J( N( K- s" O
  1836. ;exif.encode_unicode = ISO-8859-15& E, I! {+ z' _8 j

  1837. ; n+ [) o% i2 r
  1838. ; http://php.net/exif.decode-unicode-motorola- l( l/ C0 d; w5 M. d, k
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    - d" T* R( ?6 I! _/ {/ J
  1840. $ |& ^; X  y# U+ I) c8 U& ^' r
  1841. ; http://php.net/exif.decode-unicode-intel
    ; _8 Q  k& U  h" O& ^' ]
  1842. ;exif.decode_unicode_intel    = UCS-2LE8 L, z+ E2 G- T/ ]) C" \. C) w. r

  1843. / l, q0 W9 }" L2 _4 U2 p
  1844. ; http://php.net/exif.encode-jis
    & j  N* k. R! j, E. O- G
  1845. ;exif.encode_jis =
    2 W* R8 @2 s  Y- \, |8 e7 z) X
  1846. 4 R" }' C! f( R
  1847. ; http://php.net/exif.decode-jis-motorola& s, i* h9 m( b3 n5 ]& ^
  1848. ;exif.decode_jis_motorola = JIS8 f: X2 D# e' x
  1849. * [, H3 H0 A- X9 G8 d4 y, `2 ]
  1850. ; http://php.net/exif.decode-jis-intel
    2 v  j& u2 [( j$ B: q6 |- ]
  1851. ;exif.decode_jis_intel    = JIS
    ( r. t0 \+ L; R0 o) R0 Q4 v

  1852. - C+ D$ W6 D$ x+ @0 C; q& `
  1853. [Tidy]
    ; r4 D0 x1 [2 q! W9 H+ ?4 q; T
  1854. ; The path to a default tidy configuration file to use when using tidy
    9 D4 L' o9 O7 C2 u" e
  1855. ; http://php.net/tidy.default-config7 @" l5 f# \& {- W( {
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    7 k' P# l) l* t& s  W
  1857. ! V% X3 Q4 S% X# \6 ~: g
  1858. ; Should tidy clean and repair output automatically?
    ' l! m1 }3 X) y& f4 e3 L$ s8 |
  1859. ; WARNING: Do not use this option if you are generating non-html content
    * G* u$ y+ j1 m% j: ?+ i
  1860. ; such as dynamic images* j+ `5 I+ C! J' o
  1861. ; http://php.net/tidy.clean-output
    ' l- g) S* U. N
  1862. tidy.clean_output = Off  T! ^9 H# y- w8 a

  1863. , q+ q2 h/ f' C8 h! @7 l
  1864. [soap]; E2 m% X. g" n; J# x5 i; h
  1865. ; Enables or disables WSDL caching feature.
      C% Q$ w$ o6 d6 L- x( {3 f
  1866. ; http://php.net/soap.wsdl-cache-enabled
    : W6 @) M& ]6 z* S5 l9 E9 j# \
  1867. soap.wsdl_cache_enabled=1
    + ]( t: d4 j9 W* z: I5 m* N/ V. H# D
  1868. 8 K, ]( E, Z' l$ B* O' b
  1869. ; Sets the directory name where SOAP extension will put cache files.1 l) M. P' ~' n  j+ a9 y( k- z) @! O
  1870. ; http://php.net/soap.wsdl-cache-dir* f1 |  O; D& B
  1871. soap.wsdl_cache_dir="/tmp"
    2 H8 t1 m, ^8 P- W& {

  1872. 1 X9 H0 [' H# ]/ k" J! ?1 b
  1873. ; (time to live) Sets the number of second while cached file will be used
    0 z6 o) i0 \- f0 C# J6 i& {' ?
  1874. ; instead of original one.
    , y" [2 y+ G" @0 u* L# ^
  1875. ; http://php.net/soap.wsdl-cache-ttl/ b3 i; p; }, E- C/ v' V* C
  1876. soap.wsdl_cache_ttl=86400$ I8 A  G% q1 e. S7 c

  1877. / v1 r) A/ S9 m6 W
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    . S1 _1 A# |: n6 G! v
  1879. soap.wsdl_cache_limit = 5+ O+ J$ `  T  p& Q& P8 L
  1880. 1 ]5 O3 X' a2 g/ D& V& n
  1881. [sysvshm]
    - a) T! H" c% _, D% G( v  K2 E! t
  1882. ; A default size of the shared memory segment
    0 `7 \/ M$ p) F0 {8 k! m3 }' U; B
  1883. ;sysvshm.init_mem = 10000
    1 Y1 I1 N  @3 b# a
  1884. : `# N1 G) G) j* E3 M2 b, S8 \& F, g
  1885. [ldap]- ?$ ?  e1 E5 N; L
  1886. ; Sets the maximum number of open links or -1 for unlimited.' ^. f9 M# b& g' M2 N* I% l2 D
  1887. ldap.max_links = -1
    # e$ y3 i/ P, H. d; q: a  N
  1888. : ?7 y( j4 A3 R1 W
  1889. [mcrypt]+ H5 ?) o& |1 m$ J; f1 n$ V. o
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ) T. c. L4 b0 A) p$ K* U

  1891. $ S' h& ]1 J  ]
  1892. ; Directory where to load mcrypt algorithms
    & v4 |/ D* V, s1 K) S0 {- Q
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ' i2 `( v! X" n% Y  N- ]3 `
  1894. ;mcrypt.algorithms_dir=  Z, [6 x, O" b( S+ a3 @% X
  1895. % Y' @1 ^2 k7 \: X
  1896. ; Directory where to load mcrypt modes2 D2 ?& Y* u5 m8 O& }
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)4 L1 z4 T' v7 w9 d6 }
  1898. ;mcrypt.modes_dir=5 f, E: b7 V9 _: Z0 D& o0 \* E9 l
  1899. : @0 r5 t$ \2 B9 T4 Q
  1900. [dba]' W( Y8 D9 |: ]& O1 h1 v6 Z9 J
  1901. ;dba.default_handler=2 v; C. K3 r: w* b8 M3 _, q# q

  1902. - N$ U1 y; n( t9 u8 |
  1903. [opcache]
    - A, r/ N4 O8 L  {6 O$ Y& D
  1904. ; Determines if Zend OPCache is enabled
    0 q% N9 I. r9 G9 M9 Q$ \' U
  1905. ;opcache.enable=0  v8 Y' d/ J* t7 ~- v6 r& n

  1906. . g, C1 `' @" [7 {3 f* A. ?
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    8 }2 ]) U4 o6 }$ o4 O6 R
  1908. ;opcache.enable_cli=0( I# S1 ^0 C6 V/ {
  1909. ) ]/ a) w+ d2 Y+ F' l
  1910. ; The OPcache shared memory storage size.- ^' C( T- h3 z, k, _
  1911. ;opcache.memory_consumption=64
    1 o; _2 ]3 V2 n
  1912. * P: \- y8 J' @/ o0 W  T0 [6 w
  1913. ; The amount of memory for interned strings in Mbytes.; g) }! i( p$ v8 W) {* I
  1914. ;opcache.interned_strings_buffer=4- b" }# R, j+ [3 J/ P

  1915. ) W- b. D4 U, D3 o! c# S
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.+ p! g2 c( \. n4 W
  1917. ; Only numbers between 200 and 100000 are allowed.5 l8 ]: s# m; z7 C1 v4 L
  1918. ;opcache.max_accelerated_files=20002 ?' o2 D/ {0 K$ |" l7 _

  1919. , G. ?7 D& o; c0 d/ i
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled." e$ i5 X% e6 o6 [& M
  1921. ;opcache.max_wasted_percentage=51 a  i, b: w  Y; q9 X

  1922. * t5 p: h/ F1 S* y
  1923. ; When this directive is enabled, the OPcache appends the current working
    2 ^) x6 p$ Z, y- \
  1924. ; directory to the script key, thus eliminating possible collisions between' K! z& Q& n4 f: \* O0 i
  1925. ; files with the same name (basename). Disabling the directive improves
    * u! s+ `8 ~9 F9 J! j
  1926. ; performance, but may break existing applications.
    ; a" i7 R4 k/ s& C* D1 c4 j: d9 p' ^7 x
  1927. ;opcache.use_cwd=1
    + d, e. A/ p, s7 ?: G# ^' d
  1928. 9 [  A: B2 O# n" k8 i$ S
  1929. ; When disabled, you must reset the OPcache manually or restart the, m& t" x, G# u) _% o  K2 j- C
  1930. ; webserver for changes to the filesystem to take effect.
    . _! M* r2 [/ o
  1931. ;opcache.validate_timestamps=1
    ' n5 {: ?" W: Y2 R7 l) k
  1932. 6 n4 p. q5 G1 Z# ^& Q# z: l
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    * |7 F2 M; q3 q$ Q9 K8 I
  1934. ; memory storage allocation. ("1" means validate once per second, but only! o' `9 J# A$ N* G* W
  1935. ; once per request. "0" means always validate)
    . t$ b, K& f0 ]6 c: `$ h  q$ e& c
  1936. ;opcache.revalidate_freq=2" Y1 J5 R! ?% w5 t3 A% ~

  1937. ! `" m& O7 @* \. a' P- B9 h
  1938. ; Enables or disables file search in include_path optimization. G+ A0 o# E  E( t5 c. l
  1939. ;opcache.revalidate_path=0) ]; |5 t4 q. k& X- k
  1940. ; q7 n+ d2 I, G9 M
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the/ E0 D! Q' P! V/ ]" J
  1942. ; size of the optimized code.
    + j$ O4 q2 C. V0 W1 r
  1943. ;opcache.save_comments=1
    . N4 Z; s+ A: X5 ]4 Q3 }
  1944. ' J1 \" B3 o' X; y/ S2 a
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    # Q& w8 d9 w, Z1 w6 X  l2 Y7 k
  1946. ; may be always stored (save_comments=1), but not loaded by applications& y# H' y, |! y! y. }2 e: r& n
  1947. ; that don't need them anyway.; H9 d0 J8 ~: Z# K2 Y
  1948. ;opcache.load_comments=1# I6 s: s' @+ J9 P6 y/ I* j

  1949. 4 L/ Q) S4 D5 w5 a7 C% h) _
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ' B6 h% t; ^: Y$ h* D! l, P, I! J
  1951. ;opcache.fast_shutdown=0  u3 e" C: N" ^
  1952. 9 j8 F0 Y" B! _& h$ \
  1953. ; Allow file existence override (file_exists, etc.) performance feature.' k( y# I' d0 B$ V
  1954. ;opcache.enable_file_override=0
    ) C; Z( k3 x! @+ D  w

  1955. $ v* V$ b" w( d* p6 A3 g
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    8 J, t. w, `9 V6 U8 S2 T& k$ A" L; i
  1957. ; passes
    6 F* W0 D! z# n
  1958. ;opcache.optimization_level=0xffffffff
    - X% M* C. d( u, d, _. `

  1959. / j2 |0 _' Y- f( z& E; R. L5 ^7 g
  1960. ;opcache.inherited_hack=1
    + U9 p6 f. O5 s8 \" ?1 ~% S
  1961. ;opcache.dups_fix=0
    # \! l2 Z3 c. x  d2 o2 ^6 v0 x+ Z% `2 J
  1962. 7 F) m0 ?9 n, t6 l7 ^2 |( `7 V/ {8 P
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    ; y) c4 F: K' z+ @# i& `' |1 G
  1964. ; Each OPcache blacklist file is a text file that holds the names of files2 K% Q3 o4 {5 F5 {/ k
  1965. ; that should not be accelerated. The file format is to add each filename
    5 J& ~$ c( u7 @. I
  1966. ; to a new line. The filename may be a full path or just a file prefix
    % v/ D, J; f- [$ a/ {9 T
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    : c1 q1 A6 _' T% J6 x- [+ f
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    6 b& k0 H: Q( C# a; l
  1969. ;opcache.blacklist_filename=
    " i9 F; |# v( x0 u

  1970. ; [* }) k/ A+ V8 p9 [: m- ~
  1971. ; Allows exclusion of large files from being cached. By default all files
    9 v$ T$ j  ]5 X/ R3 C5 e0 D) q, p
  1972. ; are cached.
    " X  d; Q8 j; B' r% R9 g8 E
  1973. ;opcache.max_file_size=0
    - Z  H& o# T# T$ {! l/ O

  1974. - Q+ a# P6 ^: h/ v8 h
  1975. ; Check the cache checksum each N requests.
    7 s) f% Z$ \9 d/ Z) f0 O; {; K
  1976. ; The default value of "0" means that the checks are disabled.
    9 B# d' I+ S8 J$ E' I/ J
  1977. ;opcache.consistency_checks=09 }' O  R" H3 M5 r/ u# Z
  1978. 2 ^+ R4 u  X' o+ f' T
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache* A- }' C0 _+ f& b
  1980. ; is not being accessed.
    + J% E7 K+ W: D# C6 p2 a
  1981. ;opcache.force_restart_timeout=1801 _- h0 k) Q# @0 c2 n2 K

  1982. 1 j- c! O- x% l
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    5 ]0 H5 y+ h! ?" {5 F+ G  |# F4 p: f
  1984. ;opcache.error_log=) n+ k( T5 y# `! i* A- D* X9 Z
  1985. ( }* g2 b$ v7 N0 F
  1986. ; All OPcache errors go to the Web server log.  m3 x( s$ ^  }: E/ u" {! p
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.1 D2 Z; \; k+ W* a3 G
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    + `* e" P$ Z- r
  1989. ; debug messages (level 4).
      v$ ^- o: a- d+ _: U# R5 V
  1990. ;opcache.log_verbosity_level=1+ n/ Z0 K$ ~9 H, `& g
  1991. ( w6 X- ?+ w9 g8 v; J
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    6 c$ W+ v: i3 U4 a
  1993. ;opcache.preferred_memory_model=
    : p+ F8 M2 S! U( g5 N1 a# R% \
  1994. ; x6 z2 Z' V) k: z/ m' S
  1995. ; Protect the shared memory from unexpected writing during script execution.
    , n$ z3 U' {- Z$ A) X) S* o6 }
  1996. ; Useful for internal debugging only.
    8 d7 h0 v' Z/ g
  1997. ;opcache.protect_memory=0
    0 j  C1 A. l0 l

  1998. $ ~4 ~0 U4 s: @/ _, y0 {
  1999. ; Validate cached file permissions.  s4 U/ _' E7 m0 d" {4 s
  2000. ; opcache.validate_permission=0
    ) g1 [8 P2 B4 u+ I7 e& Y* }
  2001.   [- e7 p. B( {$ x( v6 J+ a
  2002. ; Prevent name collisions in chroot'ed environment.
      Y: F5 ?5 s9 B, n6 \2 m
  2003. ; opcache.validate_root=0* Y% `+ P. `. Y/ y' y

  2004. 8 ]- C) t3 N- Q
  2005. [curl]
    - R2 x# |# l0 _7 O" x( t1 R
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    * e, x! q# x/ l
  2007. ; absolute path.5 b* n0 B! O; ~' ~
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt. n" s6 r( z8 T5 a6 t7 Q
  2009. , T6 l" G# F5 e3 d
  2010. [openssl]1 i' q9 K( I# o2 ^
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem. Q9 @& r4 p: X1 j+ J# V* [- P
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should/ `/ C$ `" ^3 t+ g6 w7 d3 S
  2013. ; not specify a value for this directive as PHP will attempt to use the: A3 N+ c$ D- I+ p( p3 q8 \3 p
  2014. ; OS-managed cert stores in its absence. If specified, this value may still- ?5 x6 V& |( @. X& F7 I, L
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    % d% X- Q# A3 b. A5 Y4 `
  2016. ; option.
    ( E) y. }( H5 f& E4 K9 f' G
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    2 o7 ?) E1 c. Q  c0 H- K, P6 L

  2018. " ~& v2 c+ z) Z# C) }& p) \5 R/ O- j
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the0 B7 V! }3 s  r; o/ k4 B
  2020. ; directory pointed to by openssl.capath is searched for a suitable, d! i+ c3 a+ {* }6 W4 n7 {
  2021. ; certificate. This value must be a correctly hashed certificate directory.0 m2 @: w% U5 H5 e9 b. d
  2022. ; Most users should not specify a value for this directive as PHP will# z% a  P' H# N7 N, a3 Q& |
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,! ^( u6 I9 A$ t7 T
  2024. ; this value may still be overridden on a per-stream basis via the "capath"& ^& z2 R0 |3 [6 j! u# e+ Q
  2025. ; SSL stream context option.
    8 \3 r/ A% A0 k# J& Y) _0 q
  2026. ;openssl.capath=* k% {6 j1 e% T, Z  l( X

  2027. ! N. ^0 [4 L3 I  o
  2028. ; Local Variables:- k8 F  L0 H& k
  2029. ; tab-width: 4
    . j1 g/ s, U/ u$ U3 L5 z$ l
  2030. ; End:
    ) b' Y' j6 }. a

  2031. 4 I' K* I, e! L* N& I- N7 C
  2032. ;eaccelerator- K$ U" o3 `1 @0 l# ^$ g& _. Q! O
  2033. : {& b- |; r) v
  2034. ;ionCube
    7 o' M2 L1 k4 i' @$ V& [2 i+ R
  2035. + W1 T! V; \- d& j
  2036. ;opcache, e1 W/ U5 y8 b# G- K

  2037. ; |% y4 J" y7 U+ Q) u( Q8 {" X3 y
  2038. [Zend ZendGuard Loader]
    9 D) D2 \- H) k  I
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    $ E. a# w: ~6 u* k
  2040. zend_loader.enable=1& o* x3 t4 x# g7 Q( |" a
  2041. zend_loader.disable_licensing=07 _4 H, f+ j* g; l9 b& w' J; ]  W( m
  2042. zend_loader.obfuscation_level_support=3
    7 x4 Y0 T. L9 o  m$ M# b
  2043. zend_loader.license_path=
    ) p, d5 c! i" ~

  2044. / |, r' u% [5 b# M0 a+ e! B
  2045. ;xcache( D  P! A/ Q# I  E8 o  G
  2046. ' w+ O$ w1 ~# H
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692' x, c5 f3 A7 A( U  M

5 \8 @% D) n7 b5 W, `3 u- _; U2 T  I# h
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
) u7 u5 Y/ `8 l! s) {& h
0 U/ ~8 `# g3 hDiscuz!程序版本选择:
; k1 }$ u( {# T3 F" Q4 E. m5 ?站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
+ _% Z# c. z; s$ u/ ]不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:: }3 d( I+ J8 W' U$ N" U& ^
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。
2 e. U( |1 Q1 c3 o; q5 \( u- G
8 Y0 j( N- k+ h- Z& ]6 {Discuz!插件模板版本选择:
7 y1 p/ i: J0 q很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,# B! r. B, T2 w5 X9 s6 y3 \
针对这个问题做个统一的普及:
" `. k( }0 `7 g4 d3 RX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。6 W% Q; G$ Y( G4 X  |) ]9 p

! e3 L4 I' v* m3 N4 m所以
  N( R, s0 z6 W6 Y6 @适合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的二级域名。
8 G( J5 ?# L# V打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。+ _% C$ Z. _8 g/ f# _" ~1 a; ?
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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