分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.09 h& f! Z) @  E3 d7 F9 Z

( ~2 i* I. \0 `$ ^2 a' e7 `
  1. [PHP]0 P5 s: u$ r- G  Z% l
  2. & L0 C( q, B% K4 \) k
  3. ;;;;;;;;;;;;;;;;;;;
    6 [  A6 R- N7 ~! [9 T
  4. ; About php.ini   ;
    , H- u% M" G+ i) y- {6 ?( d4 x7 R
  5. ;;;;;;;;;;;;;;;;;;;+ Y0 H- c5 ^% M0 T: ^
  6. ; PHP's initialization file, generally called php.ini, is responsible for8 t& W. ?7 j: P' z3 n% N
  7. ; configuring many of the aspects of PHP's behavior.
    - v2 u" J9 I; _, z) C5 Z/ _' k8 d' ?  x
  8.   a- [7 U$ t/ r- H; S
  9. ; PHP attempts to find and load this configuration from a number of locations.. L* ?" l- \7 U- t/ T
  10. ; The following is a summary of its search order:
    % b4 K; s* W4 T" k9 E; C2 b* |4 W5 f
  11. ; 1. SAPI module specific location.4 l4 U. f7 h' O
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)7 _5 B0 W9 b2 e' w
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ) M  t, v, c- H+ v' s, |, [
  14. ; 4. Current working directory (except CLI)
    4 m9 G+ U6 U1 Y4 M
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ( D0 B% U" b. k- w! t) ^4 n
  16. ; (otherwise in Windows)# F- D) z* d, j& }4 ~8 B
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    2 S  E4 [+ f/ m! h0 }
  18. ; Windows directory (C:\windows or C:\winnt)
    0 Q4 ~! ^+ {% A0 W
  19. ; See the PHP docs for more specific information.' X/ O, @/ z3 @6 X
  20. ; http://php.net/configuration.file) O7 K9 n7 Q& n% g" V

  21. 5 z1 l0 M( z) `! h. [6 s4 h* a
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    & n5 G3 J" j, Z9 z+ x; L
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).: R% L/ c; S5 O. ^8 o, H* o
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    " u; W! n. k% _6 |! d$ d7 T; ?
  25. ; they might mean something in the future.- e8 E7 u7 f1 _* C' v2 u

  26. 6 F) v6 o4 @$ Z  d
  27. ; Directives following the section heading [PATH=/www/mysite] only) Y/ }- [# U2 I' t. [1 b* o
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    & V7 {% s; P6 w2 b% @' y0 u+ R! j- y
  29. ; following the section heading [HOST=www.example.com] only apply to
    0 c' C- G' T0 _- z  }
  30. ; PHP files served from www.example.com.  Directives set in these3 M9 P" W: Z5 G3 X
  31. ; special sections cannot be overridden by user-defined INI files or/ @. [' n6 A+ K; Y, f/ N5 s
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    6 v) P- |9 _4 H
  33. ; CGI/FastCGI.
    " y) Z/ [4 Z* ?. {2 ~. q) a# X
  34. ; http://php.net/ini.sections
    # D+ F* E# r' p( g& ?

  35. 0 S4 a  q; Q; |" \& d
  36. ; Directives are specified using the following syntax:( Q3 N- m/ ]4 p/ K! ~9 o8 @
  37. ; directive = value% d6 m, p8 \8 P4 O) ^
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ; L9 L  C. @9 G) u5 u" @
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ( Z2 R" V3 U& D1 Z' I! f- M
  40. ; There is no name validation.  If PHP can't find an expected
    0 G6 }! v6 [" y; C( q# t1 d
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ( b% b9 U0 q! q" D- t0 J
  42. 2 L( o$ U& N: X2 U- l
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ( D# n2 _( w4 p6 |" l  |" l* A
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    : y) |1 ]  S* a! H  L8 c
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a1 ^2 O5 B7 J) h" e' j
  46. ; previously set variable or directive (e.g. ${foo})
    . Z) m) b6 M- v9 |8 G$ \6 }; a

  47. $ O8 U$ z) `9 J" B4 ~
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:; z9 P  m$ X  ^# b
  49. ; |  bitwise OR
    4 b- K$ A; @8 x% `7 N
  50. ; ^  bitwise XOR
    % [8 \9 E2 `0 o$ Q' P
  51. ; &  bitwise AND2 }) R; y4 H/ V* c5 O
  52. ; ~  bitwise NOT
    8 o/ o3 q! Y4 \$ G8 `
  53. ; !  boolean NOT6 o3 A7 B0 O  L5 a5 A3 E
  54. ! g$ J6 F  e3 y1 K" A
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.3 Y' n, O' \/ M/ O- C# ?
  56. ; They can be turned off using the values 0, Off, False or No.# `# e4 w) J1 j$ H( i3 I3 {% ^. }5 ^

  57. $ ~; T: `0 w; V7 Q6 t  Z
  58. ; An empty string can be denoted by simply not writing anything after the equal9 i( U# E+ q3 ]8 \3 F5 N
  59. ; sign, or by using the None keyword:
    " b$ i: w% ]6 \

  60. : n  W7 d% X" l7 q+ W) x3 u
  61. ;  foo =         ; sets foo to an empty string7 u: U: |3 X% K$ J# h/ I0 ^$ C1 U
  62. ;  foo = None    ; sets foo to an empty string6 p3 J0 ^( g6 ]7 E( y+ z" x% t
  63. ;  foo = "None"  ; sets foo to the string 'None'$ P; _4 D% {& `- B( n* k2 o
  64. - I) S; }7 V' j0 o5 W
  65. ; If you use constants in your value, and these constants belong to a
    * w7 J' Y7 |) r3 y" E# R
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension)," {& T; o4 J4 @0 U0 s
  67. ; you may only use these constants *after* the line that loads the extension.0 a# f7 O8 \' m3 s2 {% ?

  68. 7 V2 V/ E8 b9 |" y- t! A: U
  69. ;;;;;;;;;;;;;;;;;;;
    0 x' U/ m5 K7 Z. c9 a" w
  70. ; About this file ;
    & E! w4 B  T2 x  C5 J
  71. ;;;;;;;;;;;;;;;;;;;
    4 _: a9 Y, _) k9 w" Z! [
  72. ; PHP comes packaged with two INI files. One that is recommended to be used0 |# c! S2 n( R# x
  73. ; in production environments and one that is recommended to be used in0 w' J1 }% q: c7 O) Z. P: q
  74. ; development environments.8 e% ?1 }# S6 L! X  X" q
  75. 1 s* z- C$ U0 Y7 O
  76. ; php.ini-production contains settings which hold security, performance and
    + \) [( @6 w% U. ?
  77. ; best practices at its core. But please be aware, these settings may break
    ! Q# D7 V2 Y+ ^( S' h* ]( v
  78. ; compatibility with older or less security conscience applications. We
    ' t3 c# `) S4 Y5 ~4 g
  79. ; recommending using the production ini in production and testing environments.
    4 k. k; d; l' M0 ~( R

  80. ! [. C% n  Z8 X4 s. A5 u- U
  81. ; php.ini-development is very similar to its production variant, except it is
    ( N2 c% e; o* R6 C5 L5 k- B
  82. ; much more verbose when it comes to errors. We recommend using the; ?" M$ n) k! z$ A7 \- W( Z; J
  83. ; development version only in development environments, as errors shown to
    ; l5 A* G( K3 b9 M; |; K- d
  84. ; application users can inadvertently leak otherwise secure information.6 P* M% U. d6 m) ?+ U; U  R* E9 k

  85. 9 v3 j% v! Z9 `# V* @8 D6 L
  86. ; This is php.ini-production INI file.
    % X8 F3 K- D0 h" E7 l6 b
  87. 7 S% b  z; K8 d5 M; h7 G' h; |
  88. ;;;;;;;;;;;;;;;;;;;
    0 d% L, O& v, b2 b+ V, [& G& Y
  89. ; Quick Reference ;
    8 U  U/ Z$ i# n" B+ I; N( ]- V
  90. ;;;;;;;;;;;;;;;;;;;
    ' B6 Y- [% w  N7 R( R
  91. ; The following are all the settings which are different in either the production' J6 V$ U3 ?) e% x$ b+ |
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ) ]" u% g6 G# S/ m3 B+ u1 w) K
  93. ; Please see the actual settings later in the document for more details as to why
    4 ~9 v" M; m* Z7 q0 q* Y+ W
  94. ; we recommend these changes in PHP's behavior.5 y+ B9 g# w" e4 k4 G" Z) _  i9 n
  95. 7 e" j6 x4 c5 F9 d
  96. ; display_errors* {( f7 ?& L! J8 B6 X
  97. ;   Default Value: On
    , Q8 l# ]; R. A4 s: n' z9 c
  98. ;   Development Value: On
    1 U# W' Y% m! v3 u9 o
  99. ;   Production Value: Off
    $ S  H( z* W7 J0 b, s2 r* U

  100. & z3 o3 }  Z( _+ S* c% ~- @
  101. ; display_startup_errors- a9 ~& Z" B( z/ {+ |; h+ a
  102. ;   Default Value: Off3 ]. f! R5 l/ w
  103. ;   Development Value: On
    / o* I8 g' e9 s
  104. ;   Production Value: Off4 [7 y9 I( D# v! J. a) H; x

  105.   T4 U5 V" y4 Q; g
  106. ; error_reporting% h6 b, M1 A0 p1 Z& ?* M
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 b9 D$ m* x1 t$ n7 p% d6 }6 c+ q9 @. a, {
  108. ;   Development Value: E_ALL; y% N/ T+ j1 X: o
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT' ?7 I* `1 {# N1 f( n# ]: [  x) k
  110. 4 ]$ K. G  L! U  @* E4 ~
  111. ; html_errors
    ) M; S7 e  j! m% }) B* K
  112. ;   Default Value: On
    & f9 o: Y8 p; Q  \9 _
  113. ;   Development Value: On
    & `! U3 }$ b. o, t; W  F0 a5 s8 z
  114. ;   Production value: On! J5 [0 |* ^" R" k6 r1 }
  115. ( c: l" {! d8 r5 W/ t& ]+ ?; f
  116. ; log_errors
    - s# K; Z9 T+ m  k( y
  117. ;   Default Value: Off$ q: j. C" [# }: a1 ]
  118. ;   Development Value: On8 {  \3 B( q8 r# e1 y0 p
  119. ;   Production Value: On
    0 V) E3 n/ }$ s% z, E
  120. " ^4 N1 S# c/ z7 _5 {
  121. ; max_input_time
    ( s& W2 w* P! l$ T# |4 B. K
  122. ;   Default Value: -1 (Unlimited)
    7 K% j) e2 Z6 a. ~: }( _. a
  123. ;   Development Value: 60 (60 seconds)
    ) g: F' [) ?: K0 a* R
  124. ;   Production Value: 60 (60 seconds)
    * z8 a+ I7 X+ T/ s* B4 v$ |: D
  125. : H$ u! B1 H; T$ X1 z& ?
  126. ; output_buffering$ Y& S0 m+ N/ \
  127. ;   Default Value: Off% ?+ w* h5 ^% D. V6 z8 ]/ V8 R$ R
  128. ;   Development Value: 4096
    - A' @7 o8 n. E9 t; j
  129. ;   Production Value: 4096, I1 S/ E" i& V& D

  130. ! ~8 [6 `2 g, J7 Z
  131. ; register_argc_argv& Y4 |, @$ c. x* {5 D
  132. ;   Default Value: On3 j+ R! x8 s! o) J
  133. ;   Development Value: Off% G$ D2 f3 j  G1 q& E
  134. ;   Production Value: Off
    - }& a8 J) H5 V
  135. ( `" J( o* ]0 d% C- E
  136. ; request_order- O7 L: k( w- x; E  l
  137. ;   Default Value: None8 L6 e( h0 f; s! b1 [% m: y! F- j
  138. ;   Development Value: "GP"
    ) V. a4 I  w6 V! Z
  139. ;   Production Value: "GP"
    : |' B+ W5 }; ]8 }5 i4 A6 L0 |  |9 F

  140. $ P) @& l# r6 B9 d1 C
  141. ; session.gc_divisor; b) b( f; ]" |5 S
  142. ;   Default Value: 100% M: R' i4 v4 v; N1 K
  143. ;   Development Value: 1000
    ! R+ m% \- S$ m+ @( T  n
  144. ;   Production Value: 1000* J; j* X+ h  f* l8 m' \

  145. ' e' }* q2 y- r/ [: i
  146. ; session.hash_bits_per_character4 U5 ^) Y& m% B9 ~1 N6 h! |
  147. ;   Default Value: 4; F& D; u1 ~: v) f
  148. ;   Development Value: 5
    5 _( C0 s' ~/ |; l$ r* f" j
  149. ;   Production Value: 5+ O) ?. i- s: b# Z; Q% o

  150. 2 V" G0 e$ ?- I; ~! W1 z
  151. ; short_open_tag
    3 ?8 H* S+ a' }" `/ G# A. g
  152. ;   Default Value: On
    9 `; @! g1 w6 M
  153. ;   Development Value: Off$ a7 \5 p' n: g. h" k' U
  154. ;   Production Value: Off
    $ x! X8 P# E& k$ k+ W  o: X% b

  155. ( k; `8 h0 i& W* j# L- R6 n
  156. ; track_errors7 u5 x" X3 p. n. f; V
  157. ;   Default Value: Off
      b& @' \( o6 J; j
  158. ;   Development Value: On
    . O/ N7 L$ |7 P2 H1 |, B
  159. ;   Production Value: Off( A4 M: d( x3 t
  160. 6 y# R5 y) V) I. Q% S3 m( Z
  161. ; url_rewriter.tags5 e/ s- C$ y0 [5 k3 B
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=", Q2 N$ a$ [) ~% O+ S. _3 L
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ P: c! E" l- z( f+ j8 G; |
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / V/ y; s6 ~, u
  165. ) X3 ~! t% K" ?
  166. ; variables_order
    ) Z) N2 L# q" o. l7 W# h+ X, n; c
  167. ;   Default Value: "EGPCS"6 r' _0 |7 J8 f  F7 y  C9 z. _  D
  168. ;   Development Value: "GPCS"% ^& k; \/ U- t8 @2 N
  169. ;   Production Value: "GPCS"0 L; Y% ^" {; Y  \) [
  170. . R: X9 ~+ J. H% [8 y: n+ ?, d3 t
  171. ;;;;;;;;;;;;;;;;;;;;. V9 R6 k" `% O  b4 I
  172. ; php.ini Options  ;
    9 u1 p' O) p& t  ], L. N4 i
  173. ;;;;;;;;;;;;;;;;;;;;" z( E- ^, B7 [$ H- m9 y
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    5 k3 w0 q9 b3 t+ A# k' f
  175. ;user_ini.filename = ".user.ini"
    ) h8 t, h* C* s# u" o
  176. + T2 r' a6 N1 f) L
  177. ; To disable this feature set this option to empty value5 u# R& P! j, e$ f
  178. ;user_ini.filename =3 V+ u2 f1 V  |2 S
  179. 3 N/ r0 D# i: h) B+ z4 @
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    3 S* H* _1 R9 a& {0 O
  181. ;user_ini.cache_ttl = 3006 r, o! Y0 R3 I
  182. : g! c) v6 ^. A# z: {+ c) P4 b" q$ p2 g
  183. ;;;;;;;;;;;;;;;;;;;;
    + D: w/ t6 x' g0 Y% O
  184. ; Language Options ;+ I/ k. H  b2 R
  185. ;;;;;;;;;;;;;;;;;;;;
    ! |- G% b- s: L
  186. 0 @  X, |$ t0 w& H" b/ n3 q
  187. ; Enable the PHP scripting language engine under Apache.
    8 w, E0 ]# j" y1 Y  s( U0 m' M
  188. ; http://php.net/engine
    + @: Z3 D4 g2 h+ a
  189. engine = On
    * w3 O' |; J- J' j

  190. 5 k+ E: C) _" E/ O. p- w
  191. ; This directive determines whether or not PHP will recognize code between
    2 F2 P6 Q0 S8 |* @2 b; G! m2 @
  192. ; <? and ?> tags as PHP source which should be processed as such. It is3 c% P1 A9 F9 D) h! e/ {# W+ o" j3 X! H
  193. ; generally recommended that <?php and ?> should be used and that this feature- P# c& H" z3 V: O1 ^& R
  194. ; should be disabled, as enabling it may result in issues when generating XML
    0 f. A0 v0 L: i% q6 x' I: N
  195. ; documents, however this remains supported for backward compatibility reasons.* W' n8 T4 }0 k; o7 n8 v0 K0 u
  196. ; Note that this directive does not control the <?= shorthand tag, which can be* j' F# g% z+ y" _9 x
  197. ; used regardless of this directive./ u6 k8 H6 y# t8 x, n* m* P. t, e
  198. ; Default Value: On
    ! Z6 }5 }/ T$ v. d, O! i9 S7 r
  199. ; Development Value: Off% v, |7 U( R2 r& V
  200. ; Production Value: Off
    8 }! I( {( J$ L$ s% h) r
  201. ; http://php.net/short-open-tag
    + w0 l9 o8 d, K7 g  Q7 M2 `6 U
  202. short_open_tag = On% g/ |: t6 M  w; D

  203. $ f# a7 V3 Q( \+ z4 u+ A3 |+ |
  204. ; The number of significant digits displayed in floating point numbers.9 j5 P1 B; e3 }  a% }
  205. ; http://php.net/precision+ j& `4 @" X0 E& o; P
  206. precision = 14
    " q" M9 d# u% T, X' o3 |% d' k; s6 [3 b
  207. ; Y6 V& ~: G: x  k* f  B. ^
  208. ; Output buffering is a mechanism for controlling how much output data4 f; L. H7 [7 b  _5 d! Q
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that, p" j1 ^7 O" Y9 d- T+ I
  210. ; data to the client. If your application's output exceeds this setting, PHP7 L! L- f6 \( l; P
  211. ; will send that data in chunks of roughly the size you specify.
    + u4 o& g! j! ?$ g5 E( G8 k( ]! V
  212. ; Turning on this setting and managing its maximum buffer size can yield some# m' W0 ?; W  X. R& r4 e
  213. ; interesting side-effects depending on your application and web server.
    ( U9 A4 k0 T5 l" I2 z
  214. ; You may be able to send headers and cookies after you've already sent output+ V" p" K/ w6 y0 ]
  215. ; through print or echo. You also may see performance benefits if your server is, {' d2 |6 }5 V; {& }
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    & P' p( x8 |# W  ]* @
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance1 m' m1 m3 O" |, i' X3 Z% |
  218. ; reasons.6 }/ {/ G9 ^* _, j1 u1 G7 k+ s6 ~
  219. ; Note: Output buffering can also be controlled via Output Buffering Control! a" ]. [& o' y  c! n$ k7 D% C
  220. ;   functions.
    % ~2 u5 S# P, ^
  221. ; Possible Values:
    1 e7 \9 N5 ^' L! q2 {( S" ]
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    2 O2 Z1 b/ A4 d$ Q- _4 @
  223. ;   Off = Disabled
    " {+ Y( }+ y$ U/ j
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ' x: k4 r: L; `
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI  Y6 ?: Y1 X% _7 r/ R! ^( z) B
  226. ; Default Value: Off
    0 o$ y( R: ^% S5 s* Q) y
  227. ; Development Value: 4096" a8 x* }: a+ l4 A9 ]9 D6 @5 o
  228. ; Production Value: 4096
    , M+ ]6 d; b; ]9 P8 j% y
  229. ; http://php.net/output-buffering, Z/ T! O6 t/ S; c, M( N5 M  j
  230. output_buffering = 4096* C, a1 x4 X, e3 D; g
  231. ' }( p8 K$ g& n* T% B
  232. ; You can redirect all of the output of your scripts to a function.  For# @0 |4 ^/ `/ u( c3 H
  233. ; example, if you set output_handler to "mb_output_handler", character
    ) t3 q! t# q3 P/ F  ^5 u* I7 _
  234. ; encoding will be transparently converted to the specified encoding.
    4 d5 j  h: k  ~/ \7 j! [9 l0 d, z
  235. ; Setting any output handler automatically turns on output buffering.6 y+ v! [; }- g9 }  O
  236. ; Note: People who wrote portable scripts should not depend on this ini
    7 z* W  B+ Z* b3 d2 G
  237. ;   directive. Instead, explicitly set the output handler using ob_start().+ E9 T* y6 W" l3 v1 w" L
  238. ;   Using this ini directive may cause problems unless you know what script& t; f, x9 X* B& k7 V# p
  239. ;   is doing.
    / Z' L* w  W7 P$ f
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"! y. Z% V0 u7 y% @' \% H
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".- s* h( M- \. a7 q+ d( Y+ g
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    , C! P6 G" V$ p; Z
  243. ;   Instead you must use zlib.output_handler.
    - H, ]- ?% |8 _- U0 n' a
  244. ; http://php.net/output-handler
    ( S& i' |! ]$ Z% \! D0 z. e5 I
  245. ;output_handler =' b6 i8 Z% a" z6 D% }8 @! L' j
  246. ; ~9 x" w1 E3 t* U, k9 C
  247. ; Transparent output compression using the zlib library
    # |3 p  a* M3 ~& R8 I
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    6 m( r1 X; k; p4 z
  249. ; to be used for compression (default is 4KB)
    6 Y% A! L& G1 s1 J
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ) _- m, r4 W+ ~- E3 s; H+ P, H, e
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    & m9 q( P2 D1 e
  252. ;   compression. If you prefer a larger chunk size for better' ~, q# D+ R5 N
  253. ;   performance, enable output_buffering in addition.
    % H1 ?/ |2 Z; m6 Y" L
  254. ; Note: You need to use zlib.output_handler instead of the standard! [: {: a8 y7 h4 @; y  f- r
  255. ;   output_handler, or otherwise the output will be corrupted.
    " K$ P5 o7 m! U# s( f& ], K
  256. ; http://php.net/zlib.output-compression
    9 k) \/ F& p1 v8 u
  257. zlib.output_compression = Off' }# K) w' b  k& t6 R
  258. , T, S) a  t+ e
  259. ; http://php.net/zlib.output-compression-level
    # t8 w6 Z& o$ G6 q' I
  260. ;zlib.output_compression_level = -1
    : K' P: f: b- G( U% Z) w1 v5 [
  261. 9 s: |5 l* J8 h5 I: M/ p
  262. ; You cannot specify additional output handlers if zlib.output_compression. i# R+ \$ R. P
  263. ; is activated here. This setting does the same as output_handler but in
    6 g  ]/ n1 ^2 A& b& W8 i
  264. ; a different order.
    8 [! @0 u! Y% I7 ^: J+ b  w/ B: g3 b  y
  265. ; http://php.net/zlib.output-handler3 f- N& m! |2 ^4 i2 E; r# s) R) R2 j
  266. ;zlib.output_handler =9 }/ w; V+ Q5 @3 K" h1 P3 Y6 c

  267. ! \" w4 v0 z' o, `. C
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    * {% q+ z, Z9 A* [
  269. ; automatically after every output block.  This is equivalent to calling the
    8 u" L& e% i# H+ n) e, X
  270. ; PHP function flush() after each and every call to print() or echo() and each
    * ^* q- S6 H+ @4 ^0 g* ?  |
  271. ; and every HTML block.  Turning this option on has serious performance  B( J- P. m. s; U5 U5 _3 U( n1 {
  272. ; implications and is generally recommended for debugging purposes only.
    . h6 I) i, m% D5 [! O, D) l
  273. ; http://php.net/implicit-flush
    # d7 `% R- E% p! l
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    : P# s0 B% M% L' e" O
  275. implicit_flush = Off
    0 V2 i( H2 f9 w; t9 s+ o

  276. , P: f' e- Y8 G/ X6 a
  277. ; The unserialize callback function will be called (with the undefined class'
    , z" o0 Q9 l" ~7 X- {* x0 t
  278. ; name as parameter), if the unserializer finds an undefined class
    ( _/ B2 c; J; u
  279. ; which should be instantiated. A warning appears if the specified function is
      k) t( Q; }% \8 I4 R
  280. ; not defined, or if the function doesn't include/implement the missing class.- X% `5 n8 p6 j: p* A+ I
  281. ; So only set this entry, if you really want to implement such a/ _% |, l; e2 Q  N
  282. ; callback-function.
      }) W6 c2 Z2 @3 u
  283. unserialize_callback_func =6 Q3 ]; X) G, y0 `7 U8 V0 j
  284. " ^% J3 X4 o9 l0 p6 t+ m3 K% D3 |
  285. ; When floats & doubles are serialized store serialize_precision significant4 k. C4 I  R  p) X0 E
  286. ; digits after the floating point. The default value ensures that when floats% r; i' `. i9 k
  287. ; are decoded with unserialize, the data will remain the same.5 d+ r: ]* ]$ E, q$ m+ D6 \
  288. serialize_precision = 17' I0 Q3 g' _% Y& a+ {9 B+ k& T" a
  289. 5 |1 u  M: P5 v
  290. ; open_basedir, if set, limits all file operations to the defined directory1 w5 r, O" Z1 y/ E
  291. ; and below.  This directive makes most sense if used in a per-directory2 ?; E2 U$ J( U1 b- w: \. _# }
  292. ; or per-virtualhost web server configuration file.
    7 \: {+ N( {$ G0 Y; }9 u
  293. ; http://php.net/open-basedir  G- H- a, O. o" i6 ~
  294. ;open_basedir =; d' h8 J( U2 p; I6 y
  295. 1 P1 d) j. K) y9 O; R6 I5 F
  296. ; This directive allows you to disable certain functions for security reasons.: B: x7 o4 O" X! O5 j  V" Y
  297. ; It receives a comma-delimited list of function names.. l' q/ {! l0 n
  298. ; http://php.net/disable-functions) E1 L) e, M, E$ q* a
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru+ q( C) x1 y" o8 z

  300. & L. ?/ U( m* l5 ]2 ~  m5 H
  301. ; This directive allows you to disable certain classes for security reasons.
    4 O) `. L) y; q# D2 ?( L
  302. ; It receives a comma-delimited list of class names.
    $ E8 I! y/ ~/ @
  303. ; http://php.net/disable-classes. V/ N8 K( q9 S, L; R
  304. disable_classes =6 X% A" `2 M6 v1 R
  305. 8 E- R* d$ t' b; y7 G
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in% k( k! M9 X$ m  R  E: `' D1 T
  307. ; <span style="color: ???????"> would work.
    7 C  T0 S" L5 o6 w" F
  308. ; http://php.net/syntax-highlighting
    ; D2 y; @( |- ]" w" G
  309. ;highlight.string  = #DD0000
    / q! Z$ |( v( w  h
  310. ;highlight.comment = #FF9900
    0 S4 k& `0 P  k3 p  b
  311. ;highlight.keyword = #007700& c2 }! m$ Z1 O% Z- s" F$ w5 a& c1 \
  312. ;highlight.default = #0000BB
    7 S  T, p; v7 V( S1 U6 Q; u$ s
  313. ;highlight.html    = #000000# [5 C; [' G' ~9 O+ @
  314. , F7 c# [( V$ a% p' N& ^& V
  315. ; If enabled, the request will be allowed to complete even if the user aborts8 Z* b. d5 C0 h4 I5 v$ j8 K0 e- ?
  316. ; the request. Consider enabling it if executing long requests, which may end up
    1 q0 R* u9 E- V0 ]
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    - A& S3 `3 K! U$ c% T
  318. ; is to disable this feature.
    . Y& Z& p1 m* n
  319. ; http://php.net/ignore-user-abort& X& O, U0 y# n! N
  320. ;ignore_user_abort = On8 L# |+ x4 o( P/ E2 w. m
  321. / [" S1 t. ^* I: F% z
  322. ; Determines the size of the realpath cache to be used by PHP. This value should* S# B$ o! |) N/ `% E$ m9 R7 Q
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    0 i) O6 U6 U7 I* r
  324. ; the file operations performed.; x1 b' s$ b% q! g% L5 c) Y
  325. ; http://php.net/realpath-cache-size
    " n; j7 v- ]& S! u8 C
  326. ;realpath_cache_size = 4096k  I- `0 L* n: _2 q3 @+ U- Q
  327. 5 T' A- n. @- V2 _- `
  328. ; Duration of time, in seconds for which to cache realpath information for a given( Q, Y. v4 q$ m' l: L
  329. ; file or directory. For systems with rarely changing files, consider increasing this" J/ p! J* w8 i2 ^. U
  330. ; value.
    9 @- O/ Z- s0 N' M
  331. ; http://php.net/realpath-cache-ttl
    0 j" G# L, H# ]0 p2 b7 E2 e+ ~
  332. ;realpath_cache_ttl = 120& z9 {0 y2 @' i- t/ D2 }

  333. # m- I3 n9 S- v8 S; s
  334. ; Enables or disables the circular reference collector.+ d0 k) x* d# u6 I* i) W
  335. ; http://php.net/zend.enable-gc# B8 N# N8 L8 ^$ v( x9 u
  336. zend.enable_gc = On
    ! U# r& \+ J' {( b

  337. # y# \1 m0 a$ K% ?1 ~" _
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    + h8 K+ B, e5 Q$ H& j
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such" F# |9 U. c% Q' P" w6 l. z
  340. ; encodings.  To use this feature, mbstring extension must be enabled.) D+ z/ o. X; j- w1 h; }
  341. ; Default: Off
    , S. a; O0 O/ s& k1 _  w% G& ^8 |
  342. ;zend.multibyte = Off
    . d. n$ ~$ u: I6 ^
  343. + g  N+ ?. f* o8 W5 l+ S, `% I+ O
  344. ; Allows to set the default encoding for the scripts.  This value will be used2 o) S9 `# s, z. @5 k
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    2 \, B5 |6 o3 f1 u2 h1 U
  346. ; Only affects if zend.multibyte is set.
    2 @9 l6 w' [2 p# J+ a1 b. |
  347. ; Default: ""
    1 J3 V5 ?$ b# r! [5 ^
  348. ;zend.script_encoding =
    9 R( V8 J1 _( C5 T
  349. 7 U' f& t/ y8 P8 |- f
  350. ;;;;;;;;;;;;;;;;;
    , k9 w% z/ O6 E6 n- h
  351. ; Miscellaneous ;
    # Z; F# ]% U9 N) c1 M0 z* T' x* X$ @
  352. ;;;;;;;;;;;;;;;;;
    ) h, p6 f' e& b# y9 V
  353. 0 Y/ [4 Y6 f% K; T6 }- @
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    6 x( i5 o! Y" L' I0 n  D  W
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    - x& b) R+ y. N4 l; N9 |7 M
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    3 G" M8 R5 @/ Z! T* s
  357. ; on your server or not.$ D: s2 M' \" X- _/ G
  358. ; http://php.net/expose-php
    ' U7 i$ F7 E( ]" M* u( A' B
  359. expose_php = On# Z, T1 ^0 \0 c% @3 }4 S- _  k

  360. 7 |2 W( O1 Q" A- r: V1 w9 g. t0 x' y/ z
  361. ;;;;;;;;;;;;;;;;;;;
    ( n3 O- y1 p0 f
  362. ; Resource Limits ;( }8 q% F3 Q2 ?! x4 l1 K
  363. ;;;;;;;;;;;;;;;;;;;
    ' M# V- E  u: @( i$ Y9 x
  364. / }. n( F( k2 }' P; G) Q! n$ |
  365. ; Maximum execution time of each script, in seconds
    : x. X0 d; Q  L2 T9 L& j) ~
  366. ; http://php.net/max-execution-time: J6 w5 x7 D# a
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ; i  `( P7 W, f6 A  P
  368. max_execution_time = 300
    6 \. Q+ |% n: j% q8 U
  369. * A( d  _" Q4 ?
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    : M! a, q' p, }' B9 f
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly% v+ y* D+ H# R+ a
  372. ; long running scripts.
      z+ j$ f# u' b0 S5 j5 d+ g
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    * r  H0 m/ ^: p( O  {
  374. ; Default Value: -1 (Unlimited)
    ; b9 B0 C# f2 k+ s% c
  375. ; Development Value: 60 (60 seconds)
    3 ]9 P9 o* O! {1 n' ?
  376. ; Production Value: 60 (60 seconds)/ s  x9 A7 \( ~$ F, e4 a% ]
  377. ; http://php.net/max-input-time
    , m/ D$ D- i7 h1 }( f" h
  378. max_input_time = 604 _$ ~( E8 l* G! t1 \" {
  379. , L  i, V* ^! u! w8 n! @2 F
  380. ; Maximum input variable nesting level, _0 O) P) x( e# ^: [, J; w
  381. ; http://php.net/max-input-nesting-level9 c; a3 p9 R7 D5 y( i
  382. ;max_input_nesting_level = 646 H" X+ U# m4 E& I
  383. 3 w0 p! G" o3 A) v
  384. ; How many GET/POST/COOKIE input variables may be accepted
    2 W( O1 M, w# V# A! z4 M# w
  385. ; max_input_vars = 1000: Z: K( [. D) Y: M" L& h
  386. ! r8 c, P+ {- f0 \( N  S
  387. ; Maximum amount of memory a script may consume (128MB)) o, j! R! ~( _3 ]' j
  388. ; http://php.net/memory-limit
    5 k: N* R* L' h% x$ |
  389. memory_limit = 128M$ W0 o, q* p' v) `0 [

  390. ( c' G: L% Q5 S/ }; Z- ?1 |
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 X. c2 g/ S, W1 g8 ^$ H" j$ w
  392. ; Error handling and logging ;5 T+ ^7 B" g# @4 p- Y
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    - G5 T7 k& `( ?0 G; g* x6 F

  394. 6 L  g6 F2 n8 w, _0 q) s$ j( [: z
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    : g  ~3 J) X2 J& z% @+ Z+ T' N
  396. ; it to take action for. The recommended way of setting values for this8 l) T  {1 Q3 l' D# V: i
  397. ; directive is through the use of the error level constants and bitwise
    . I+ _# R/ N. G( K0 p0 \
  398. ; operators. The error level constants are below here for convenience as well as
    / |/ L- b6 Z# z) f( g) g
  399. ; some common settings and their meanings.+ b; t  e  `  X+ `
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    # n, }, k# L9 J5 G6 q% q
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
      V  C! n; B& D$ o1 V0 a! r
  402. ; recommended coding standards in PHP. For performance reasons, this is the  T3 G  w$ g) k" V- R
  403. ; recommend error reporting setting. Your production server shouldn't be wasting1 b2 e( \6 u4 F9 q& N6 O
  404. ; resources complaining about best practices and coding standards. That's what+ o: C! j  i1 K2 M7 c" @" `
  405. ; development servers and development settings are for.
    / R( y& t* X% g* P: H9 o. n
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    % B  h! B' v. f; A& v7 Q
  407. ; means it pretty much reports everything which is exactly what you want during
    + G$ a# X, E4 Q* g
  408. ; development and early testing.  O4 R0 {0 S0 \9 m; d
  409. ;  h0 b0 j' i' e: k
  410. ; Error Level Constants:
    $ \9 o3 y0 p6 j+ `- s% Z; _& W4 F
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    3 J- j8 X" }/ {$ G) |* A( s- }: @
  412. ; E_ERROR           - fatal run-time errors
    6 U. T. M2 E9 p8 Y, ^# U% f
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    2 c# K6 _! E9 N; A4 R: A; A
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    " {; M$ n" X9 `8 W0 x3 i
  415. ; E_PARSE           - compile-time parse errors! [# Z8 N3 H' p! I" h( g
  416. ; E_NOTICE          - run-time notices (these are warnings which often result# \1 q* a! {1 H! b$ X
  417. ;                     from a bug in your code, but it's possible that it was5 X3 q5 k' n: R0 y1 `6 m2 I
  418. ;                     intentional (e.g., using an uninitialized variable and
    + y2 X5 T' F9 t0 i+ G* F
  419. ;                     relying on the fact it is automatically initialized to an# R' j2 w' @3 _, F, g
  420. ;                     empty string)# J: U2 b6 {( x3 _" M- y
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes" m4 i1 ~5 q9 m* s- F
  422. ;                     to your code which will ensure the best interoperability2 M6 j* C, {1 N5 U9 }
  423. ;                     and forward compatibility of your code
    8 D2 b! L0 Z+ B. u& U& A0 w
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup5 C5 \# b7 @; F+ _. U7 O
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    , Z; v; _8 l8 F3 m( o4 U, J8 C, s7 |
  426. ;                     initial startup6 C9 u6 h" {! D9 c9 g
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    # H) p7 s2 _; U, Z* `8 E- U' x
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ; t: Y5 I3 F' n0 u4 x* _
  429. ; E_USER_ERROR      - user-generated error message5 n! {& k9 m9 v
  430. ; E_USER_WARNING    - user-generated warning message
    ( [+ v- h4 Y! c/ w
  431. ; E_USER_NOTICE     - user-generated notice message3 m; N! X  P* d* r7 L$ R
  432. ; E_DEPRECATED      - warn about code that will not work in future versions) o) S- C+ k  Q  Q* X+ L2 [
  433. ;                     of PHP
    % W0 k0 v( l% J* h  c
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ! g1 u, K" N9 O
  435. ;
    : G6 y: [  N2 z. H$ g0 E
  436. ; Common Values:1 K, C( R& f2 F' m; q
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ( f/ Q/ _. e: H* z, S  f
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices). l% Q4 `* l$ ^
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)6 O! W' B% O( o
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)3 e1 z2 {' q6 b. u
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    3 D6 x  U! F' q, C3 M* C# ~
  442. ; Development Value: E_ALL
    ! K8 l# k. c# D( }6 t' M
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT) y/ ?% s6 K1 b$ x/ Q( ?6 G% E# i
  444. ; http://php.net/error-reporting) W/ _$ r. a' K3 T4 K) `3 |
  445. error_reporting = E_ALL & ~E_NOTICE
    0 S0 F, m! @( d! \( p, X8 n

  446. / A3 d8 W( A& l. l1 ]! o2 k. _
  447. ; This directive controls whether or not and where PHP will output errors,' Y* z  e/ Y3 `% |) _) ^; x: N+ ~" I
  448. ; notices and warnings too. Error output is very useful during development, but
    , C3 Q6 Y. C2 u( `  D8 d3 L. L
  449. ; it could be very dangerous in production environments. Depending on the code
    * [9 q3 C' {1 M
  450. ; which is triggering the error, sensitive information could potentially leak
    : G' h# p& `; s" v& j: q) q
  451. ; out of your application such as database usernames and passwords or worse.& v: K& q$ U/ Y" F( @  g
  452. ; For production environments, we recommend logging errors rather than
    ; I0 }+ C3 W, ^
  453. ; sending them to STDOUT." X. }8 ]' s7 i4 x
  454. ; Possible Values:
    - p# Y& C1 B. I* J4 N- n3 d2 J
  455. ;   Off = Do not display any errors
    $ o& G7 Q/ B% I1 Q2 @* J: J& d
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ! [" x- r; ?- o; r3 T/ ~
  457. ;   On or stdout = Display errors to STDOUT" A$ `& ?% Y8 ~+ O0 ], P3 U7 T
  458. ; Default Value: On' Q9 w& n% L/ Z( M
  459. ; Development Value: On! w! h1 V/ }* M' [4 u
  460. ; Production Value: Off
    8 Q5 r: _$ `$ P# ?) `7 M
  461. ; http://php.net/display-errors
      }5 B4 ?7 E% d5 v
  462. display_errors = On
    4 K5 X, K" ~  B6 @2 x  S+ h

  463. 4 p; k1 e: I9 S% s( F0 F$ ~$ i! f
  464. ; The display of errors which occur during PHP's startup sequence are handled
    ) I: [% s0 f2 T3 U
  465. ; separately from display_errors. PHP's default behavior is to suppress those4 U, w  v; Q& Q! C3 \
  466. ; errors from clients. Turning the display of startup errors on can be useful in7 M2 K  c) T6 R
  467. ; debugging configuration problems. We strongly recommend you
    / R# D: D7 X$ w  ^
  468. ; set this to 'off' for production servers.4 p; c2 {) g8 \' A0 t) ?9 T
  469. ; Default Value: Off
    8 B: K6 {: G' b! B5 c
  470. ; Development Value: On
    2 l; y- ?4 A( H4 _5 F8 [5 g
  471. ; Production Value: Off
    6 w  K' z' t0 r7 r. `, N
  472. ; http://php.net/display-startup-errors
      x! q7 ^1 d) c# g; [* D+ C
  473. display_startup_errors = Off5 r* B6 \+ L7 R; z" _7 O# y1 U2 v
  474. ( F+ ~7 \3 `, r- d2 y
  475. ; Besides displaying errors, PHP can also log errors to locations such as a3 K# c1 s1 X/ H" c) S
  476. ; server-specific log, STDERR, or a location specified by the error_log
    ' g6 r, Q2 ^3 @) [8 J
  477. ; directive found below. While errors should not be displayed on productions
    3 C( Y, [( k/ ?6 B: b
  478. ; servers they should still be monitored and logging is a great way to do that.
    , ]) X/ X* ^: ~& ^! k2 j+ S" m5 q4 @
  479. ; Default Value: Off
    3 E; ~; l( g8 K- y& o
  480. ; Development Value: On
    ' t  A2 U0 U& ~4 ~( Q
  481. ; Production Value: On
    ) ?3 g, B+ s5 a! x
  482. ; http://php.net/log-errors, I/ p0 O/ a1 C
  483. log_errors = On
    & b# f, t( C2 S
  484. & j$ ^5 R, ~" o
  485. ; Set maximum length of log_errors. In error_log information about the source is
    4 {8 [7 Q  @# j, J0 V
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all., c0 k" }8 ?# a/ f: m8 {
  487. ; http://php.net/log-errors-max-len
    2 l, Q9 A% o0 R, }
  488. log_errors_max_len = 10248 w+ X/ m- {' f& z6 S

  489. ' N9 I$ V1 {+ x* H
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    6 I8 i8 r# a9 |/ @
  491. ; line unless ignore_repeated_source is set true.! E+ @1 C" S0 [8 ^" t
  492. ; http://php.net/ignore-repeated-errors
    4 x4 L' D: D( ?0 D5 u  U
  493. ignore_repeated_errors = Off
    ( H% K3 p) N: ?9 Z5 x
  494. ; M. }$ n$ t- K! U5 F0 S( a! D
  495. ; Ignore source of message when ignoring repeated messages. When this setting: a* a% b2 ]2 @3 [+ d( S+ ]! x2 H
  496. ; is On you will not log errors with repeated messages from different files or
    8 n2 [1 D/ w; X& O! s
  497. ; source lines.
    : j5 q5 o  V. m1 U2 b0 \  f
  498. ; http://php.net/ignore-repeated-source
    ; v$ x  P! H; D
  499. ignore_repeated_source = Off
    - s$ F" n5 v; v, u: q
  500. : t) T# [) B1 P; b
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    4 n" X# L# W& M( Y  q1 t. P
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    , S' f* h0 W. O
  503. ; error reporting includes E_WARNING in the allowed list) U$ s7 Y. x: a' B+ ?
  504. ; http://php.net/report-memleaks
    , |+ Y* G9 w( d
  505. report_memleaks = On5 K2 i  ^# B3 k1 B

  506. ; K# W6 y$ m2 D2 s, ]  M
  507. ; This setting is on by default.
    7 N( `2 e9 Y) g$ t- h+ g5 Q% U
  508. ;report_zend_debug = 03 T+ l* ?& h4 |, m# k9 v( G5 D  `
  509. ) \) I: X% Q2 O9 I+ ^$ |
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ! E; b& g* ~  c
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    $ X* v, _$ n: d* [
  512. ; however be disabled on production servers.
    5 ~+ O' E1 J( b3 T
  513. ; Default Value: Off
    " _8 t# V6 h* N$ c  q- A0 U% K
  514. ; Development Value: On% E6 J6 m, z! S9 v3 L) H5 b: k; m
  515. ; Production Value: Off% m9 G) @2 c: A! \9 Z
  516. ; http://php.net/track-errors
    + k1 B" e" q3 c9 v2 {
  517. track_errors = Off5 i. V( y; q, D  J% j  ?
  518. $ {0 w3 j9 ?7 @$ \( O/ V- e
  519. ; Turn off normal error reporting and emit XML-RPC error XML- W2 h# {4 h: X; E- L% b0 p
  520. ; http://php.net/xmlrpc-errors" U! D  d: V# a- i* H# J! W( @
  521. ;xmlrpc_errors = 0- d. |5 R6 @2 @. f0 H
  522. % i4 W. R  y* T+ E5 u
  523. ; An XML-RPC faultCode
    # h% s1 P; H; S4 z) G' n6 F8 Q2 j
  524. ;xmlrpc_error_number = 00 p6 E  v9 U* i/ m! h) {+ |0 q

  525. / M6 p3 L, \( E/ s7 q5 d: g+ u: C
  526. ; When PHP displays or logs an error, it has the capability of formatting the9 {! o- o9 S7 K8 D" W1 ]
  527. ; error message as HTML for easier reading. This directive controls whether4 ]* M- o8 P; b. A8 d8 _
  528. ; the error message is formatted as HTML or not.3 d- @# M6 b$ B" c
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI, T: w; J/ _: c1 c- M3 Z2 R
  530. ; Default Value: On
    9 |+ |  f7 D8 y( r
  531. ; Development Value: On
    " h% i( ]6 ], Y  T
  532. ; Production value: On
    0 t4 \8 M- k5 F
  533. ; http://php.net/html-errors
    3 D+ p0 ?6 _( c" y4 F
  534. html_errors = On
    4 p! d5 {+ j# B+ v  g3 m

  535. * _7 N+ A1 V; E5 T5 j( Z. k0 c
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP  o  H8 i/ H6 |& w  ~
  537. ; produces clickable error messages that direct to a page describing the error
    6 S# S0 M+ x7 G7 M
  538. ; or function causing the error in detail.
    # b9 [& u! x4 w6 I& C% J
  539. ; You can download a copy of the PHP manual from http://php.net/docs/ f4 _8 V2 `/ c! v0 y  z6 x9 ?
  540. ; and change docref_root to the base URL of your local copy including the9 x8 R9 X) s% j! v6 N/ {  ~4 |1 h
  541. ; leading '/'. You must also specify the file extension being used including
    ( ~( O1 d8 s+ ]
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    1 \9 B" j" t. g- O
  543. ; case no links to documentation are generated.1 |3 t2 K( e) h, n4 A+ R
  544. ; Note: Never use this feature for production boxes.
    : o4 x1 |4 c- r: Z7 }4 X+ D
  545. ; http://php.net/docref-root2 K9 Z; r2 r: S$ y. U2 U/ D+ n
  546. ; Examples
    - G  K+ q* I  [" }$ Q7 X
  547. ;docref_root = "/phpmanual/"1 |% O/ i$ O% P

  548. , ]# {8 m" |" b
  549. ; http://php.net/docref-ext( _& b1 H5 @6 j
  550. ;docref_ext = .html
    2 i1 U8 Q) |  Y' L. c
  551. & ?( i7 k0 o, m0 X5 p* [
  552. ; String to output before an error message. PHP's default behavior is to leave
    1 Z; ?2 b/ J& u- R' `! q0 ^0 A- v
  553. ; this setting blank.* X3 J& M2 h' w3 K  ?/ T( j
  554. ; http://php.net/error-prepend-string
    7 _# x1 F9 j8 ^- _/ R! W! {
  555. ; Example:
    . Z! N3 w0 s- q/ {- {7 o9 u, }6 J
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    , w7 q, ]: X+ K+ V) ~8 b; I5 l
  557. 6 \! `% m8 ~4 F) b1 ]+ F% ^& W$ p& w
  558. ; String to output after an error message. PHP's default behavior is to leave
    9 W4 z+ ]/ i, e- }5 Q. Z
  559. ; this setting blank.7 O/ H, ~' {. |) O; j
  560. ; http://php.net/error-append-string7 k% ^2 _/ H, z  n' t
  561. ; Example:
    * L8 p% D8 K  q: f8 Y
  562. ;error_append_string = "</span>"
    4 G. |7 o; s8 E# ]/ Q: ]( W
  563. 5 |2 G8 K0 s3 }. X. H  S1 G
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    * W% C! {3 |  a2 S/ }9 ^! }% U
  565. ; empty.
      I  }9 Y% F' E5 t+ W. V& {9 J
  566. ; http://php.net/error-log
    " G9 v$ ~" \: Q, y9 `. g
  567. ; Example:
    1 R1 X& G3 e4 j* r  c$ C
  568. ;error_log = php_errors.log
    ; L' N) R) [0 b, w! l# N9 L
  569. ; Log errors to syslog (Event Log on Windows).; H# l8 Z1 J" |. O, f' \$ Z
  570. ;error_log = syslog
    6 _# k; a! Z3 f/ s

  571. & O; a: D) V% j) ?
  572. ;windows.show_crt_warning. C) O9 @1 k; j" Y; v% O( r
  573. ; Default value: 0$ @  l# p3 W* {# |1 h% g
  574. ; Development value: 0* a/ P7 F- I$ R" f3 M
  575. ; Production value: 03 i. [& a# Y: z/ J5 T1 l' n' W! j
  576. 9 W0 A( @2 t$ G# Y% h+ Q3 M( C
  577. ;;;;;;;;;;;;;;;;;  f& v0 n5 K; |$ |; G8 T3 p5 `
  578. ; Data Handling ;2 Q3 e5 G3 p: l5 K) t
  579. ;;;;;;;;;;;;;;;;;
    ) F: B* t4 u# [% _. i' `
  580. 8 b6 v0 {3 F4 r& @( b% Z6 p8 e
  581. ; The separator used in PHP generated URLs to separate arguments.3 H% a. n; S" f( Z* Q3 j
  582. ; PHP's default setting is "&".
    * s5 L( e6 P( \! E2 d
  583. ; http://php.net/arg-separator.output
    " w" L6 l. q# [- c& R0 [( {- B
  584. ; Example:) d8 P0 n7 ]& f1 @1 z" k6 m
  585. ;arg_separator.output = "&"& j- j* {% u2 _4 C0 h
  586. / |) h+ U1 q9 n- _- r& n
  587. ; List of separator(s) used by PHP to parse input URLs into variables.6 s$ U8 |, Z. F5 r
  588. ; PHP's default setting is "&".7 d$ @9 Z" B$ l( t/ P
  589. ; NOTE: Every character in this directive is considered as separator!, x) n9 y* t: U. g6 J1 d0 m  L
  590. ; http://php.net/arg-separator.input
    / m5 Z3 {. Y# W9 J' ?
  591. ; Example:; d# o  l0 d( i6 c
  592. ;arg_separator.input = ";&"
    ! g& v0 B7 ^! h0 x. o* B/ M5 [

  593. 9 E! F: K( c1 ~
  594. ; This directive determines which super global arrays are registered when PHP9 `3 B& j1 y5 X, \) k9 }, Z0 c
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    2 m$ f; D8 Z% S' c% B
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    - _* ~& F0 V# d, I5 E1 `  [
  597. ; paid for the registration of these arrays and because ENV is not as commonly8 i1 Q# Q  r6 R# ~' x/ }
  598. ; used as the others, ENV is not recommended on productions servers. You
    3 Y/ _, X/ q1 u/ G# d
  599. ; can still get access to the environment variables through getenv() should you
    ! J4 H9 y( v; G- w& Z5 k+ I, f% m
  600. ; need to.
    9 b: j: t1 Y5 Y- X, v
  601. ; Default Value: "EGPCS"% z0 `) ?& V, g9 k
  602. ; Development Value: "GPCS"
    . K8 g) ]7 L9 m2 b* ?9 A
  603. ; Production Value: "GPCS";, b" h0 t: T2 i/ V9 _$ A- }4 h
  604. ; http://php.net/variables-order
    4 z! Y1 K0 t, Z  Z# ^5 K  m, a" \
  605. variables_order = "GPCS"
    - e* d1 ^! a: [( V+ e* P% ~
  606. : l' n0 y  X6 M  [
  607. ; This directive determines which super global data (G,P & C) should be. G, z2 m6 D* i. B7 n* P* N$ c! u
  608. ; registered into the super global array REQUEST. If so, it also determines
    ; C7 N+ C$ a' j3 C" ~5 E8 m) c
  609. ; the order in which that data is registered. The values for this directive
    5 d1 S: h" _# U0 p
  610. ; are specified in the same manner as the variables_order directive,1 X; R7 D9 F% M( H: U/ y, ]
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set- E6 f0 K! t8 W* k1 l' J1 O7 a
  612. ; in the variables_order directive. It does not mean it will leave the super
    # X0 R* c, y, T; f1 o( j
  613. ; globals array REQUEST empty.# J. z0 \7 f) D. e9 z. w
  614. ; Default Value: None
    . i3 }, e/ Z. q! U/ ^4 o% I
  615. ; Development Value: "GP"2 R: t& [5 w* M! b: M
  616. ; Production Value: "GP"
    , f3 a$ N5 E9 q7 z) C, C3 @+ O
  617. ; http://php.net/request-order8 `# L+ k$ ~) v$ y  j2 R) E- H
  618. request_order = "GP"6 ^$ }* u. V) C& v7 Y. K
  619. ! M# A( Y( M. ]. T: w
  620. ; This directive determines whether PHP registers $argv & $argc each time it6 n" t0 o( P7 X3 ~( l1 e0 \; ^; Q
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    5 r6 m  ^* X+ G- A9 ~
  622. ; is invoked. $argc contains an integer representing the number of arguments3 ^) j5 i9 E# ]
  623. ; that were passed when the script was invoked. These arrays are extremely
    & q: L' Q( G+ P& f; L9 X9 Y( U
  624. ; useful when running scripts from the command line. When this directive is# \3 D: q# M5 v1 ?: \+ T  d
  625. ; enabled, registering these variables consumes CPU cycles and memory each time# Q/ J% u8 \3 s5 s) {9 v
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ( F: C1 b1 S! T6 |7 @% |
  627. ; on production servers.0 h7 L8 a6 V1 J4 m/ q  t$ T1 g' K# p
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    + _1 j% Q3 ]8 q( f  ^4 G
  629. ; Default Value: On
    ' }: v: B& S7 ^8 ^+ W& J
  630. ; Development Value: Off3 q- ]% r1 Y  q5 g3 l7 ^
  631. ; Production Value: Off5 v( l' ]' j0 O7 t
  632. ; http://php.net/register-argc-argv
    : b5 \, K% R; t; w8 H
  633. register_argc_argv = Off
    ) X9 C/ u$ J9 ]' T8 r

  634. $ E8 ?5 @' K# J! Z6 h& ?
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    , T& |# e% }5 J* M3 I$ A
  636. ; first used (Just In Time) instead of when the script starts. If these
    $ g4 ]+ |8 k. o9 G8 O* b0 D
  637. ; variables are not used within a script, having this directive on will result
    . U/ i2 W/ p# F3 [1 _8 h4 w7 {, M
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled' i5 |: r( ^; G/ z" c8 ~
  639. ; for this directive to have any affect.$ R1 d" l, A" N/ u" E& Z9 Q
  640. ; http://php.net/auto-globals-jit% n7 l2 b7 a6 C2 N. U( a
  641. auto_globals_jit = On
    " y4 g0 s3 e( T- X
  642. 3 ~5 t- R, i4 S( |, d# s
  643. ; Whether PHP will read the POST data.0 T! j9 A$ f7 |% V9 y, z
  644. ; This option is enabled by default.0 O  n! n4 z# k, J' C; c& J% H5 g: r
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    1 `3 j: z8 T! D2 v/ r1 y
  646. ; and $_FILES to always be empty; the only way you will be able to read the
      u4 h. J8 t; s) M3 h6 Y
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    & |" {' h* c3 g" y2 f
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.$ i" v6 B* x. h. i
  649. ; http://php.net/enable-post-data-reading$ v4 D8 G( }6 p) `+ M
  650. ;enable_post_data_reading = Off
    7 P  f' H2 ]* z8 e8 |! _' U8 d
  651. # f* `& ~2 Z. e5 l" a/ B/ l/ A
  652. ; Maximum size of POST data that PHP will accept.* Z2 A* }7 O: E/ y, a
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading+ s& ^$ |1 F9 P
  654. ; is disabled through enable_post_data_reading./ n5 Z+ @. q! u8 D! p0 A, v. g2 q/ ]
  655. ; http://php.net/post-max-size, X) E7 n9 O, X. u% n4 @
  656. post_max_size = 50M7 T' d, a1 O+ Y7 A/ i% S. H  Q
  657. 4 b7 l7 E4 V0 ]% f9 E7 L
  658. ; Automatically add files before PHP document./ r" q6 h7 X. p" H( I
  659. ; http://php.net/auto-prepend-file/ Z7 d" u  \0 a- g9 _
  660. auto_prepend_file =
    7 Y0 [8 ?5 p: a" E, l

  661. 1 y- {$ ~# k# p( I1 s
  662. ; Automatically add files after PHP document.
    # J4 e0 x0 _/ U& r
  663. ; http://php.net/auto-append-file
    ( k+ R% ~$ ~' M6 H9 U
  664. auto_append_file =. h4 x  {$ t! A* s* {3 }
  665. 8 V6 `7 O* i7 K' u& `& x9 d  X
  666. ; By default, PHP will output a media type using the Content-Type header. To
    # E: Z- [) H/ A% c) o3 n+ W% p
  667. ; disable this, simply set it to be empty.
    ; Y* \( a. [- @% u/ K+ T
  668. ;
    & j/ g6 S9 q3 j: s
  669. ; PHP's built-in default media type is set to text/html.# r% E: A2 E, q0 l8 |
  670. ; http://php.net/default-mimetype8 ?6 W% B4 k2 q& h4 x+ v
  671. default_mimetype = "text/html"1 l6 f( }# [7 @0 s0 J; C' O+ N

  672. 1 O, J4 x) v5 s% ?' f
  673. ; PHP's default character set is set to UTF-8.
    ( _1 @9 _- C1 A
  674. ; http://php.net/default-charset1 J" D5 w5 ~; f# h6 ^
  675. default_charset = "UTF-8"
    & D  |/ q. V( S' A  b) U; j1 M

  676. / G/ H7 M% B$ v9 Y* N: i! e3 ]
  677. ; PHP internal character encoding is set to empty.
    ) v2 a* @; v9 ]/ a: t
  678. ; If empty, default_charset is used.: g8 Y6 }: v5 n' w' b8 W* u, y% x* |8 S
  679. ; http://php.net/internal-encoding4 x8 H* W9 u. Z
  680. ;internal_encoding =1 r( r, G; d2 A4 d; ^2 g: v) D: j
  681. 3 s1 f3 D9 J& M5 {3 I
  682. ; PHP input character encoding is set to empty.
    , S/ ~, Z2 E- |% b+ ~6 W9 x: C% Y* A
  683. ; If empty, default_charset is used.6 A: E  d' O; j$ w% a$ h
  684. ; http://php.net/input-encoding; u" b" I9 l: d8 w
  685. ;input_encoding =
    & L2 s9 o7 C7 f4 J+ U1 a
  686. ) B! I! ^( m; D- N
  687. ; PHP output character encoding is set to empty.8 ]/ o. A- r4 b. x# ^% K
  688. ; If empty, default_charset is used., C. m: P2 k, e2 D  }+ `
  689. ; See also output_buffer.
    * N( m% T: Z0 _- m4 N- s# P
  690. ; http://php.net/output-encoding
    8 q; _( H/ Y: t" {) \* f7 y5 e7 }3 }) |
  691. ;output_encoding =" J& H* ?+ B9 ?$ A# ~
  692. 8 f9 I% `0 _8 o/ E2 U8 d0 s
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;0 ?6 I3 n+ v8 N- S% `* V% H/ _$ n( h
  694. ; Paths and Directories ;
    * v6 X# S, q$ u7 x
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    6 A+ r9 I* t/ k! ~

  696. 7 m* S/ f* v% H' s! ]/ e; Y
  697. ; UNIX: "/path1:/path2"; X1 C' a! H3 ]# `$ `
  698. ;include_path = ".:/php/includes"
    # J1 D) R; t& B
  699. ;0 O4 U/ A' n6 o) I" A
  700. ; Windows: "\path1;\path2"1 l' H9 a) Q9 s% C8 G! e" @
  701. ;include_path = ".;c:\php\includes"
    ! M! e3 p- a7 c& M
  702. ;
    ' e1 y. L- |+ @4 t; l- f; M
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"# ?* V  H4 F: {- m0 C& g2 y$ z7 v
  704. ; http://php.net/include-path& o4 x: h2 \- T- }4 i4 g% i" c9 B
  705. 2 K9 J# c6 a- e3 _( r
  706. ; The root of the PHP pages, used only if nonempty.
    # s* I0 u5 V% |: F
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ; o, l0 m& p" I! `# f" `/ M
  708. ; if you are running php as a CGI under any web server (other than IIS)
    / {8 t; Y4 }6 m
  709. ; see documentation for security issues.  The alternate is to use the5 [' Q% [  b2 {% I
  710. ; cgi.force_redirect configuration below3 [5 I4 s' ~+ g! \+ |% [
  711. ; http://php.net/doc-root
    0 h  R* A) z; J9 j3 \
  712. doc_root =5 D+ @. U+ L1 a+ Y' p4 {3 N, q1 y

  713. $ @. Y: R$ U6 N$ L
  714. ; The directory under which PHP opens the script using /~username used only
    5 J" D7 o' a3 {1 X2 L
  715. ; if nonempty.
    , k) ~- h# f5 X$ E  g( {+ Y
  716. ; http://php.net/user-dir* i# m7 k5 w. G) J) _
  717. user_dir =2 ^; W: E, i2 c2 ^* l$ k7 y

  718. 6 c6 C- E; }4 }$ t2 z$ a
  719. ; Directory in which the loadable extensions (modules) reside.# j8 Y$ N, j5 A
  720. ; http://php.net/extension-dir6 V' U: q$ |) T8 j! P
  721. ; extension_dir = "./"! r( F* G4 B% \
  722. ; On windows:
    7 H6 X* P* e9 e, t  p
  723. ; extension_dir = "ext"
    9 {* a* j' M; k- h6 a3 X: `- B4 l
  724. ' I% B+ d( S- V" D( V% n& Y, N' C9 k. T
  725. ; Directory where the temporary files should be placed.
    ( m4 ]/ w+ W/ s) E$ W0 U; e8 q# ]
  726. ; Defaults to the system default (see sys_get_temp_dir)  k# l6 u4 m3 C  g  v6 k7 e
  727. ; sys_temp_dir = "/tmp"4 \4 H- w7 A) P$ {' A. ^

  728. # z( w& J- x9 w0 H& K. X
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ! R) ^( r0 U0 n8 G- T' P' q8 k
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically8 t) t5 F# D- Z8 q* ~8 C7 i# }6 C
  731. ; disabled on them.
    , k1 ?2 S# x- y# _/ H/ O
  732. ; http://php.net/enable-dl; v9 ?4 H/ k# ~, Z: n
  733. enable_dl = Off- J4 G0 C. J( X

  734. , G  [& y2 B, D  x2 X! {
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under  v% |1 [  y0 s# e
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can1 R3 S7 z# b1 i5 E( a3 V3 M2 O
  737. ; turn it off here AT YOUR OWN RISK
    . _! }8 Y! Y; H- j" |: F" p9 D
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    + e3 i+ l0 Z3 w' K; l
  739. ; http://php.net/cgi.force-redirect
    ' c# h# l9 H0 d* l
  740. ;cgi.force_redirect = 1. x7 s: v) o$ \+ R

  741. 8 l+ w( C, \# |
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with3 w6 }' V5 T  }6 z* q: j
  743. ; every request. PHP's default behavior is to disable this feature.
    ! I$ e5 W7 w/ |! x2 l8 N: r
  744. ;cgi.nph = 11 k( f9 E: X* e
  745. * _, g, n6 l3 Q4 T5 l$ A
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    . d& g4 J) y# r- W2 h3 S  S
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP  N$ c4 K: {3 m( i
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY5 q; z1 D  R% k# \9 _
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.# @# b3 [8 B: Y% Z& `6 ^6 d
  750. ; http://php.net/cgi.redirect-status-env
    2 v, h" }( m+ Q% f7 G: `% K+ |
  751. ;cgi.redirect_status_env =
    , K+ X" J' E2 V9 u0 O# m8 m) N

  752. * }- H  \2 z* f" Y% e8 X: S
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's5 o% C* y) F5 k
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    : R* a1 ]' B% b; U$ g8 V
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting, T% o' R  V! [1 \6 A4 s
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    5 ]8 q4 ~7 I6 B: x
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    # u; K) ?0 O8 b
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ) [, b7 @) S8 W! i
  759. ; http://php.net/cgi.fix-pathinfo; X9 W; `6 \) k' P1 I( D- Z# V
  760. cgi.fix_pathinfo=1
    $ m- Z6 }+ i* f1 C2 |$ I% j

  761. % l; F5 A/ O5 B1 y) ^
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    , V: B# D+ l7 k- {. ]4 Z$ ~( p5 w
  763. ; of the web tree and people will not be able to circumvent .htaccess security.% e; o" }7 f+ X* t  a: `; q' l9 @
  764. ; http://php.net/cgi.dicard-path
    1 ^+ n6 D" i& w4 Q) W2 a
  765. ;cgi.discard_path=1
    , k9 T6 Q! c8 j" ]) E

  766. + \/ j* N) l! K: Z- V
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    4 m$ X, Y5 I) W8 s
  768. ; security tokens of the calling client.  This allows IIS to define the
    - M# c; s9 d4 s
  769. ; security context that the request runs under.  mod_fastcgi under Apache3 w7 e8 N- Q* J( D
  770. ; does not currently support this feature (03/17/2002)3 P# v! A. e6 T& k4 I! s/ N8 I
  771. ; Set to 1 if running under IIS.  Default is zero.4 A" e8 ?0 ?0 Y9 J3 l
  772. ; http://php.net/fastcgi.impersonate
    , e8 }: p1 ~# _* W
  773. ;fastcgi.impersonate = 1+ _, Q4 s' N1 ?" S0 E

  774. 3 ^: V; L$ g0 j1 l% a, p' T  h
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable* S# h; l0 K0 ^. n$ I/ @
  776. ; this feature." O# w% `- ]0 f4 m) [
  777. ;fastcgi.logging = 0' O% q! s! w5 M

  778. ; M4 N% g& ]7 D) w
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to, d" U. j2 F- r, E( b# i) D" e0 Y" u% q1 U
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    5 e' }- X+ h: M% ^2 a+ C" I
  781. ; is supported by Apache. When this option is set to 1, PHP will send  E& e7 i) z1 t/ g1 W# v( B
  782. ; RFC2616 compliant header.
    " O: Z" m) d" I* b0 t1 e
  783. ; Default is zero.1 y' S) `/ X) [, R, D
  784. ; http://php.net/cgi.rfc2616-headers
    8 J# @/ v  ?  a* J  X- W
  785. ;cgi.rfc2616_headers = 0" D/ \: F7 n9 x) b% x% j

  786. - f8 \/ S5 u4 k; x9 T
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    # V/ d$ y+ j+ B: {+ c7 j% ~* L- ^
  788. ; (shebang) at the top of the running script. This line might be needed if the
    8 J$ G) r3 C, _  L, y
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    " ^( Z# S4 P! o% x& U7 `3 _- I% t8 a
  790. ; mode skips this line and ignores its content if this directive is turned on." W: q: n- S" X; A/ }) j
  791. ; http://php.net/cgi.check-shebang-line! {' D0 V: s' ~9 _/ m% z
  792. ;cgi.check_shebang_line=1
    4 {* y6 v5 f! M( c/ J7 `* O( E, p6 ~

  793. ) ]( c: ?/ i$ q' u; ~  t
  794. ;;;;;;;;;;;;;;;;6 u- V  b: d: W
  795. ; File Uploads ;: C3 n  ^+ I4 d
  796. ;;;;;;;;;;;;;;;;
    , k5 ?1 y7 q1 r& Z
  797. ; h4 c: m' W6 Y# K
  798. ; Whether to allow HTTP file uploads./ d' j, d2 s) O4 U- A3 \: y
  799. ; http://php.net/file-uploads3 i3 [5 Y/ P. f. s% t
  800. file_uploads = On1 M. L6 g. G# }6 V4 J# _! @

  801. / q! W7 b( d, V& {+ [: W6 n
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    2 L! S5 M9 W& O5 W, R1 k
  803. ; specified).
    * A: u- G+ U+ t2 f9 `  o
  804. ; http://php.net/upload-tmp-dir
      k- J( Z4 l' Z/ q) C
  805. ;upload_tmp_dir =
    % Z5 q  [* y$ \# N  k' T" o, n9 T& t
  806. 1 {3 W# R/ C- y  Z2 M
  807. ; Maximum allowed size for uploaded files.
    ; d* [7 p- ?4 D, |& p* G( g5 w
  808. ; http://php.net/upload-max-filesize
    # e" \0 d6 _0 _9 S5 ]+ J8 x
  809. upload_max_filesize = 50M
    & k' z8 @4 F' {& h- ]
  810. 5 n1 o( r# H) ]$ J- i3 t  @& W
  811. ; Maximum number of files that can be uploaded via a single request
    7 l8 U# q' Q  x# K6 ?: y
  812. max_file_uploads = 20. T7 y* E7 u. Q
  813. 5 f. n$ G9 m+ C' `9 ^$ l0 u* B
  814. ;;;;;;;;;;;;;;;;;;
    4 d8 Z+ L6 U2 }* D# s6 N2 j
  815. ; Fopen wrappers ;; _6 G0 s) V" t) A$ o7 q0 g
  816. ;;;;;;;;;;;;;;;;;;
    , y, _, K% i8 M

  817. , o' a- {) d1 Q3 C; }) t, E
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ' B% m! u" r/ |+ @- R
  819. ; http://php.net/allow-url-fopen
    : j4 h3 i( U# O& [3 ~9 A7 r
  820. allow_url_fopen = On# U, ~7 S% X7 n: _

  821. 1 V! t0 X& }+ n, N& m
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    - b* c& U% x* @( O7 Z( P& o/ O* y
  823. ; http://php.net/allow-url-include+ W( {' w$ @- z" K+ E
  824. allow_url_include = Off
    , r7 y$ c8 m  Y1 M

  825. ! g* S! M$ y+ W+ O5 A" M5 m* L
  826. ; Define the anonymous ftp password (your email address). PHP's default setting& T, f' _( k4 z5 L" u
  827. ; for this is empty.
    1 |9 ^; V" D' H2 ]6 [3 V$ P
  828. ; http://php.net/from
      U8 C6 z; @; h4 w2 {7 x' y' A% O
  829. ;from="john@doe.com"* m" P+ a0 k0 T' _; `. b7 Q$ U

  830. * m* f7 [6 h3 [' v% g
  831. ; Define the User-Agent string. PHP's default setting for this is empty.8 C  C  L0 Y0 K
  832. ; http://php.net/user-agent- h1 T& E& `) @5 `/ y3 B! c
  833. ;user_agent="PHP"5 T  A% b) a% Q( Z1 l5 @3 w

  834. - u4 U$ `+ I# {5 p- @
  835. ; Default timeout for socket based streams (seconds)
    $ }; l+ H4 x5 v4 ~2 V6 M' H
  836. ; http://php.net/default-socket-timeout/ y6 J- t5 C$ d0 L' }
  837. default_socket_timeout = 60
    6 d! d; l- _: t5 P% f* j9 H, c$ Y9 D  `

  838. 3 A- G9 {' s* X- c% [2 |
  839. ; If your scripts have to deal with files from Macintosh systems,
    ! t* m# Q" l$ A/ [% o+ N( j% {
  840. ; or you are running on a Mac and need to deal with files from
    % C" t, x' C/ v, B# T7 e) n5 s
  841. ; unix or win32 systems, setting this flag will cause PHP to  R5 w  R% c2 t" g/ u9 `2 L
  842. ; automatically detect the EOL character in those files so that
    : t9 v/ @1 E5 @: V+ ?/ _0 k
  843. ; fgets() and file() will work regardless of the source of the file.
    # F7 }! [! T& b3 k
  844. ; http://php.net/auto-detect-line-endings+ C8 @0 ~1 \) u3 G* M4 o6 \4 J
  845. ;auto_detect_line_endings = Off
    : |2 s* w* s  e$ }7 p: O
  846. # K& t7 P+ [) e9 h) u
  847. ;;;;;;;;;;;;;;;;;;;;;;
    / ]3 A; y0 n- r$ K" G! V
  848. ; Dynamic Extensions ;
    5 {4 Q1 o; a  q3 E- v
  849. ;;;;;;;;;;;;;;;;;;;;;;0 G7 O* B/ G( I+ E% ^6 _

  850. ; A3 b. l5 U7 A+ o
  851. ; If you wish to have an extension loaded automatically, use the following
    3 ^* |8 A, @' F4 |5 U
  852. ; syntax:, P1 `/ T& v0 d! `
  853. ;' Z# r) N  [7 _( [& \$ N4 ]
  854. ;   extension=modulename.extension
    " t2 L2 D+ n% K+ P
  855. ;6 y" k( J) N# h. m# N
  856. ; For example, on Windows:* f; H) I. N' Q  S" m' R- C3 u
  857. ;: B) A8 i+ ?) F7 K5 X4 v
  858. ;   extension=msql.dll
    ! I$ |. V# O5 C. z) `: w; w
  859. ;# J$ ~( u: P# Y" w) H# |
  860. ; ... or under UNIX:
    2 i) a0 ]7 C9 k9 m9 F6 t
  861. ;- w7 E" |" s" m
  862. ;   extension=msql.so
    + q* {" ^8 ?* z8 J8 [
  863. ;
      |- k1 o3 n9 `6 P! g) o  y* T
  864. ; ... or with a path:! W) ~3 V) ~2 y% U* c& [
  865. ;
    6 M+ R) u1 L) }/ Q% x2 ]$ e
  866. ;   extension=/path/to/extension/msql.so
    - L) p1 M. j0 e7 n# Z
  867. ;' v7 l, }% t; v; r. V/ \% W' L
  868. ; If you only provide the name of the extension, PHP will look for it in its5 r  \! |+ ]( l/ z
  869. ; default extension directory.1 z4 K+ l$ K' G/ d' h$ e
  870. ;
    $ }5 Q2 I1 [7 {5 e' s  O
  871. ; Windows Extensions! v: E6 q0 S, d. m* }$ `0 z
  872. ; Note that ODBC support is built in, so no dll is needed for it.2 p& O9 |9 M  o' S
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)8 P6 @6 A/ ~0 J5 o& j" D6 D1 k+ W4 P
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    5 E* V1 T, o; D3 ?0 G: o- J
  875. ; Be sure to appropriately set the extension_dir directive.. x) Y3 {9 n2 y# I/ a3 K4 o
  876. ;
    1 S) l: v5 K8 v
  877. ;extension=php_bz2.dll, p+ R, E3 k$ w4 `1 X' Z
  878. ;extension=php_curl.dll( K6 a2 j; [( }% B! D* |  e
  879. ;extension=php_fileinfo.dll
    5 A, o& `  U4 |7 m/ h
  880. ;extension=php_ftp.dll
    ! y! p- T; T& ^- b; B
  881. ;extension=php_gd2.dll! O3 \0 S  X6 }) u3 e! x
  882. ;extension=php_gettext.dll5 N8 J) K4 O& e
  883. ;extension=php_gmp.dll# E0 U" U- }1 n
  884. ;extension=php_intl.dll9 i& I7 c7 b' a( I8 ^- t
  885. ;extension=php_imap.dll- p! ]3 f+ q8 R5 ^7 O2 w
  886. ;extension=php_interbase.dll
    , I, ], }. S5 C
  887. ;extension=php_ldap.dll0 E; s/ Y5 H* c9 F
  888. ;extension=php_mbstring.dll
    " p9 A, R6 j9 ~; I
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    : [( Z# c: y% A" |3 K: Y3 }
  890. ;extension=php_mysqli.dll
    - X- A) y8 L7 G4 c4 e5 ^0 e* R
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    - l/ Q* L9 W' O( J( Z% `
  892. ;extension=php_openssl.dll: k5 n$ y+ u* @; Q' G' u* @
  893. ;extension=php_pdo_firebird.dll% P( [# A/ \$ m* ]% y4 Q
  894. ;extension=php_pdo_mysql.dll
    ! ?2 o* u2 X( `
  895. ;extension=php_pdo_oci.dll4 x" ?# H& o, f' F  t% p) a
  896. ;extension=php_pdo_odbc.dll
    6 m( G6 L1 f" p# j3 b
  897. ;extension=php_pdo_pgsql.dll
    0 R$ H3 e3 O: s
  898. ;extension=php_pdo_sqlite.dll% f* X9 R. j) P; \0 C
  899. ;extension=php_pgsql.dll
    ) K: m8 j- {; J3 _
  900. ;extension=php_shmop.dll
    * N. U" Q# ^3 `/ C' `  _% t  J
  901. 4 v5 P" X! K+ r" _& N' ^/ ]
  902. ; The MIBS data available in the PHP distribution must be installed.
    2 K7 l6 Q2 F& [* o6 ?' G8 f$ j- v
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    4 F: L1 h2 j& @6 J5 d
  904. ;extension=php_snmp.dll
    " l8 Z  b) I. [7 @0 K
  905. " f9 F5 @" I1 E6 B- L" f2 [
  906. ;extension=php_soap.dll7 i7 @( X7 S$ \' c
  907. ;extension=php_sockets.dll; h$ q7 A. E- r8 D' R
  908. ;extension=php_sqlite3.dll
    : M# n5 f& |5 e$ O* k' ?4 o
  909. ;extension=php_tidy.dll
    + i7 ?: Z# n/ ]6 Y& u% R( l4 p+ E
  910. ;extension=php_xmlrpc.dll3 W/ l6 X* r9 P3 d4 s/ |6 R. C; f
  911. ;extension=php_xsl.dll$ c6 t! i9 ^, v# W: ?4 D: a& b

  912. ; J) T: L- c  |
  913. ;;;;;;;;;;;;;;;;;;;3 R3 \* _5 z" e- B
  914. ; Module Settings ;& _: `; j" @( d; F' Q
  915. ;;;;;;;;;;;;;;;;;;;
    : m) A6 B$ q2 y1 M: m, P! P/ @
  916. 2 p8 V9 y  v/ `
  917. [CLI Server]/ K4 W# g. s0 ^
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    / ?  B5 I7 E9 P& M5 a7 ~
  919. cli_server.color = On% I* H) Q/ F2 t; n

  920. 5 \- J, L0 ^" B; u
  921. [Date]9 a5 g4 A' i- |
  922. ; Defines the default timezone used by the date functions' e$ c1 D  Q0 k( G
  923. ; http://php.net/date.timezone5 _0 ~3 g0 M) t
  924. date.timezone = PRC: ~. ~. \# y3 I5 f7 ^
  925. ; B" C" ?  \$ T: O& I
  926. ; http://php.net/date.default-latitude- [' p; y5 c$ P3 T" U  t
  927. ;date.default_latitude = 31.7667; D5 x5 s; F2 N$ a- c

  928. ) [9 ~5 i6 B+ z
  929. ; http://php.net/date.default-longitude8 T& W' J6 Z3 P" [
  930. ;date.default_longitude = 35.2333& A, }7 M2 ]) z% J% h+ K

  931. % W; y* u8 ~4 f) w9 T. H
  932. ; http://php.net/date.sunrise-zenith" }) W! m/ B  {! {: l
  933. ;date.sunrise_zenith = 90.5833332 j6 `. v( H0 `  I/ A- f$ A7 [

  934. 0 ~) z8 G7 X% d$ Y1 G& ~
  935. ; http://php.net/date.sunset-zenith5 [- w: G, b# `. o
  936. ;date.sunset_zenith = 90.583333
    $ g- U; p. P) b0 T% q8 `

  937. # Z- Z( Z4 k% ^# H( y/ k
  938. [filter]
    , A+ B3 ~" R& @, W; @: x
  939. ; http://php.net/filter.default
    ! S. v3 a* {1 X% L4 p8 N
  940. ;filter.default = unsafe_raw
    8 M+ k* v, ~! W# Z4 |8 L
  941. * b' |" Q8 P7 o+ _  b; }
  942. ; http://php.net/filter.default-flags
    ) N" Q/ H/ P, E# O
  943. ;filter.default_flags =8 l$ A1 D! ~) r8 ]/ n* s
  944. 1 c1 p5 i# W: _7 e  f
  945. [iconv]8 u4 G  N% V9 `5 r
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ' B6 g0 h8 C# p- E: i4 B; q; u
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.* {4 ?3 P* c: b" H% S
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding9 {" @/ T3 q& O+ U( v: U8 C) m
  949. ;iconv.input_encoding =
    ( i; R1 L$ l1 {1 u! \
  950. * U4 A% C# T7 C7 ]  B
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    % M9 t5 V" g1 e) G" W; s9 }
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., b. n) ?1 {0 Q- K
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding( q- F- z, x/ X, }0 p  p; o
  954. ;iconv.internal_encoding =
    & p5 Q2 ~: F  O8 R$ t" Q/ p; n

  955. 1 W/ r6 W( w( m! e+ l
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.: m/ c( U9 S2 K; f
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.& d/ M* p* Q; h$ g
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ) ], C, c" X, s) q9 ^
  959. ; To use an output encoding conversion, iconv's output handler must be set
    7 e. Q2 K( P5 @4 X6 U* Y
  960. ; otherwise output encoding conversion cannot be performed.+ f" I5 P' v) a+ d) D( T1 q
  961. ;iconv.output_encoding =; q- k$ B& c2 I7 c" x, r  i1 h4 G

  962. ( S; o2 q. x8 O: F& z
  963. [intl]# @$ R- I. {8 A# Y, @
  964. ;intl.default_locale =
    # ~/ a  P  k' {! h
  965. ; This directive allows you to produce PHP errors when some error
    * {4 u3 m! U* D2 a. f
  966. ; happens within intl functions. The value is the level of the error produced.
    % i6 Z" h# p* S- z- O1 p+ [
  967. ; Default is 0, which does not produce any errors.
    7 a/ R+ x  A( t4 T4 O# o
  968. ;intl.error_level = E_WARNING7 e# F: |$ O5 J
  969. ;intl.use_exceptions = 0, W& U+ [; Z8 h0 a- x( u

  970. ' l% \; w" |  Z1 N6 X
  971. [sqlite3]
    " L/ h0 X( c: H( G* U% K+ I
  972. ;sqlite3.extension_dir =
    $ f1 r& u) T7 J3 W1 {7 N: A
  973. 8 V5 ^" B, a' f" f* a7 M) z' c  P
  974. [Pcre]9 T& {, Y/ v$ ?# Q
  975. ;PCRE library backtracking limit.9 {1 u2 s& `/ }6 N
  976. ; http://php.net/pcre.backtrack-limit6 S" L9 o4 O4 H6 Y7 f
  977. ;pcre.backtrack_limit=100000! @5 x& w- d( P! ~

  978. 4 p& _& @; T; i3 L# Q# U
  979. ;PCRE library recursion limit.
    ! Q3 b! T8 P. I4 z) K
  980. ;Please note that if you set this value to a high number you may consume all
    . Y  O0 F  e2 O& M$ a3 u, Z# ?
  981. ;the available process stack and eventually crash PHP (due to reaching the
    % P# n+ T1 R/ G0 H1 N
  982. ;stack size limit imposed by the Operating System).9 o" |! u7 h  d& a2 {
  983. ; http://php.net/pcre.recursion-limit! h  m# K3 J* p3 m0 l  Z
  984. ;pcre.recursion_limit=1000008 B( L. s; k8 S

  985. 1 O% T) V, a- Z0 ~
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    ' z; _4 K% q) k8 G
  987. ;library to be compiled with JIT support.5 j* c' _: H4 n! y6 ?* g) Y& s
  988. ;pcre.jit=1
    ! Y, |2 [& f% I# |9 @7 k+ z

  989. 8 M: _4 ^, e+ N4 G- m: b1 A
  990. [Pdo]- [0 U3 U$ U8 A9 d" d7 Y/ R/ e
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"5 j2 M  ]. ~8 {; \; B/ k& l
  992. ; http://php.net/pdo-odbc.connection-pooling
    ( H0 v* D5 C  K# x* f* J
  993. ;pdo_odbc.connection_pooling=strict
    : w* p" V1 c  q* B8 W! b; j
  994. 1 h' G. q3 _, N. S% Y! e
  995. ;pdo_odbc.db2_instance_name
    , w$ k4 D3 a- U7 y; c
  996. - n; i# j' z* p  o0 h9 Q
  997. [Pdo_mysql]6 {: L+ K& z4 k" k/ h( W/ A
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - k# U* F5 l& U! N
  999. ; http://php.net/pdo_mysql.cache_size: B/ z% D7 ~" g- t* d1 B
  1000. pdo_mysql.cache_size = 2000
    3 N0 p0 S- C9 B
  1001.   B  c, ~% U1 K. G7 h0 e
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in+ n# G, x% |' d) N" x
  1003. ; MySQL defaults.
    1 |% z! G. U8 m
  1004. ; http://php.net/pdo_mysql.default-socket
    0 D( |& k  F; x$ S
  1005. pdo_mysql.default_socket=/ [& @8 C/ f# o  z0 L- D
  1006. + N* J; y3 ~* c" |5 L$ L
  1007. [Phar]
    5 h' q) E* R, k, y8 o& V* ]3 @( k
  1008. ; http://php.net/phar.readonly6 h4 e4 t% Z) Q# B9 X* @1 }
  1009. ;phar.readonly = On
    5 C8 a% e5 y' b( i0 q
  1010. $ x3 f2 X' b; F! j
  1011. ; http://php.net/phar.require-hash
    6 P) u) x5 a$ ]4 u( `! j" z
  1012. ;phar.require_hash = On7 }, m& L( _7 |6 ^3 Y

  1013. 5 E, d6 R/ _% j
  1014. ;phar.cache_list =
    ( M) {5 n! M) x' u+ @2 l2 A

  1015. % Z; \7 ]' F- h1 D, @- u
  1016. [mail function]* ^' ?/ f+ H; k  B, ?
  1017. ; For Win32 only.
    1 m* Z. ~) V- t2 e$ V2 i0 `
  1018. ; http://php.net/smtp
    4 g/ `7 P( B4 c  y" J0 E
  1019. SMTP = localhost
    4 `9 K' V5 P2 L; V
  1020. ; http://php.net/smtp-port1 w! U) `0 `' I- I7 u/ e3 A
  1021. smtp_port = 254 `  ~' K2 n2 j+ {- p$ z
  1022. 2 N9 e7 r( _8 s1 q9 m" K8 m8 \
  1023. ; For Win32 only.$ @  q2 S* F3 r+ I
  1024. ; http://php.net/sendmail-from( a- g' I# b3 g6 `0 R$ B
  1025. ;sendmail_from = me@example.com! f6 g8 H" k# N$ i
  1026. 5 T* R. P8 d8 q
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    $ d) R" G6 r# ]& K! W; J6 Y1 p' Y  \5 H
  1028. ; http://php.net/sendmail-path/ Q, ^. {& j2 U1 t1 o
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ' C" {# s1 D8 K4 }2 {
  1030. 5 M  G5 m5 [! n9 w. {0 @
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    2 \8 k; C( I3 {) X) ]2 X! c
  1032. ; to the sendmail binary. These parameters will always replace the value of
    7 O# G0 H8 \: ]8 W; G8 g) D
  1033. ; the 5th parameter to mail().! A; f9 i9 u% F( u5 u6 Y1 E% f( K
  1034. ;mail.force_extra_parameters =
    1 i9 w! |4 l3 S) ?) L4 ?
  1035. ; m0 ^& P. x" C1 d0 P
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    2 k/ e2 V  Y8 b9 p
  1037. mail.add_x_header = On: n4 l: y1 F- ~, B8 v8 x: l
  1038. 4 W4 N1 d' v0 N  `# Y( W9 ?) q) E, ~! x
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    4 o* ]7 p- @% s2 p' g
  1040. ; the full path of the script, line number, To address and headers.2 v2 I' p" K2 l0 Z' v1 R# P4 o
  1041. ;mail.log =! [6 r6 B7 I; m
  1042. ; Log mail to syslog (Event Log on Windows).
    " S4 V7 {2 h# n' y. S
  1043. ;mail.log = syslog5 ^3 \( M. u* C7 s

  1044. - ~; j3 e, |- n) L# E
  1045. [SQL]
    ( _& C; Y  L) R% P+ q
  1046. ; http://php.net/sql.safe-mode, V! e5 w9 I" F  q
  1047. sql.safe_mode = Off( F: b& ^' b1 g+ K8 I; `
  1048. ) |* A8 [" I: ~: `
  1049. [ODBC], W- G# _# s0 e
  1050. ; http://php.net/odbc.default-db: x; F3 G" r* R) w% U
  1051. ;odbc.default_db    =  Not yet implemented' P# B4 O; @/ c7 q+ \

  1052. / i$ o$ x: _- b
  1053. ; http://php.net/odbc.default-user: U& E. e& @* s  U8 o
  1054. ;odbc.default_user  =  Not yet implemented
    % i: v7 z8 R) X6 R- x

  1055. ( l  Y& q1 F. ~" h
  1056. ; http://php.net/odbc.default-pw3 Y$ E0 F& S) k2 X( u" b, v9 {
  1057. ;odbc.default_pw    =  Not yet implemented* c: x: v8 N8 ?# `/ R" C# n+ J: f
  1058. : t* B! h, D: z$ W- Q- V$ V
  1059. ; Controls the ODBC cursor model.' [. ~. p% \" V; |) \
  1060. ; Default: SQL_CURSOR_STATIC (default).
    / S5 u) \) B9 l* t2 X* s$ H
  1061. ;odbc.default_cursortype
    3 M- ^' {0 r# Z/ v+ t- y' k
  1062. 4 P% E3 l& f& d9 ?# V
  1063. ; Allow or prevent persistent links.
    . Y1 ~7 y" f& {' D$ ]7 ^
  1064. ; http://php.net/odbc.allow-persistent
    / l- b) a2 S* D8 M
  1065. odbc.allow_persistent = On9 U( h6 K; k9 y) H5 z' r
  1066. # U. b9 F( M8 Z+ q0 g. A- G
  1067. ; Check that a connection is still valid before reuse.8 I; e' V7 w' H6 U% I
  1068. ; http://php.net/odbc.check-persistent/ N) C( a4 a  a% F9 n% z6 Q
  1069. odbc.check_persistent = On
    ' D- S! a" E/ e" v1 B( g. q

  1070. ! m# F, p2 Q0 ^/ w3 k$ z9 f
  1071. ; Maximum number of persistent links.  -1 means no limit.
    1 O+ C& C0 N% V! Z' T. O
  1072. ; http://php.net/odbc.max-persistent
    4 ]" I8 v8 Z* Q! r# k, o
  1073. odbc.max_persistent = -1
    & ~2 o! Z' G- }/ L( `2 f
  1074. & Q6 K8 s* }! K% N8 _7 q
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; k, K8 |8 J  r0 W, Y
  1076. ; http://php.net/odbc.max-links0 e8 J+ Q/ l% }2 B
  1077. odbc.max_links = -19 S' }% ~4 }' C. _2 L, i4 i

  1078. $ ?/ j/ z8 K5 z, v0 w. O5 E
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means$ j5 o7 N  W: |0 A) z/ H2 M
  1080. ; passthru.
      k  w- N( w+ X3 \) P' k
  1081. ; http://php.net/odbc.defaultlrl. L8 F1 ^+ r% k5 |9 Y
  1082. odbc.defaultlrl = 4096$ Q  D- p& _( {' L

  1083.   K$ S9 Q' u, F, t- Q% l" i% b
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    2 I3 q, J9 m1 b: B+ o% {- y, m( L
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation+ g4 D1 F: N6 U1 ~
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    7 S$ x8 M& T9 S6 `
  1087. ; http://php.net/odbc.defaultbinmode
    / Z! P1 o& _2 Q/ H" M8 S& O" z
  1088. odbc.defaultbinmode = 1; ]. Q3 N4 X, v, \
  1089. 9 |: R8 v% P* Y
  1090. ;birdstep.max_links = -1: h# [, X+ a6 E8 W! y9 q9 j
  1091. . r: Z2 K, w& C' X
  1092. [Interbase]. \5 O7 ^) a, q1 z4 ~' b# L
  1093. ; Allow or prevent persistent links.; Y: I# G, {9 \% v/ q9 v' J- m8 ]2 G
  1094. ibase.allow_persistent = 1
    # X! ?+ L: z3 L' K& h
  1095. 8 V0 _" u, o  z2 j: Q: j
  1096. ; Maximum number of persistent links.  -1 means no limit.
    # e# }% ]) J5 M2 M, B, }
  1097. ibase.max_persistent = -1
    ' u  h' d) B( V5 {. n& ~" x+ `, q

  1098.   x/ W7 {" u+ i
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ) |( o  X# [- E- o* R: V
  1100. ibase.max_links = -1
    # n) L) b8 z3 t0 J: F4 l
  1101. 1 @/ S" L6 @, @7 H0 r
  1102. ; Default database name for ibase_connect().
    4 ?4 Q/ W, e( X3 r, F4 i0 ~
  1103. ;ibase.default_db =
    ( v! Y% q5 ~  H& `4 A8 f* A
  1104. % z. V  J1 P7 i; i) h4 C
  1105. ; Default username for ibase_connect().5 q/ W% L5 d8 r% G
  1106. ;ibase.default_user =; o7 _5 v) M8 \. N1 M" h3 A
  1107. 4 Q8 j4 K" P, W+ p* M3 k0 W" J) F
  1108. ; Default password for ibase_connect().
      W: U, C" _  Z$ a
  1109. ;ibase.default_password =* S/ Y" ~4 `4 T

  1110. # t% |1 E8 _2 |. A$ k
  1111. ; Default charset for ibase_connect().
    7 T5 A( \5 \; c7 R; T
  1112. ;ibase.default_charset =4 }: {3 f+ A  Q, t+ q3 R4 z% O& R
  1113. , t8 Z! g" H1 e# J
  1114. ; Default timestamp format.
    $ j' I- z- v6 X: j& d6 C' Z
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"! R4 E% P9 M% J6 X& e
  1116. 8 T2 @+ ^9 Y4 @( U& [
  1117. ; Default date format.. ~5 S- c3 w7 B8 C' t! d$ b
  1118. ibase.dateformat = "%Y-%m-%d": Y$ `6 b4 |+ H' m% A/ Y- B1 u
  1119. 4 @- L4 d9 f5 |+ |. G9 F- m6 ?6 [
  1120. ; Default time format.
      d* X1 M$ i  z
  1121. ibase.timeformat = "%H:%M:%S"
    % {' ~0 Z! E! b" L9 p: T4 S

  1122. 3 G, o  {) U4 @( }) v, b
  1123. [MySQLi]
    : W0 [! d0 J' {

  1124. $ y0 b# ^+ h& _9 |
  1125. ; Maximum number of persistent links.  -1 means no limit.
    * c( H& K: r! l/ u+ {) y! a
  1126. ; http://php.net/mysqli.max-persistent
    # v3 b6 X8 |* j3 Q5 c( S
  1127. mysqli.max_persistent = -1
    2 J7 q5 ?4 E; K+ S9 U

  1128. ( `: ~! j& c$ U' G/ Q4 Z- L5 W
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements; k) d; R2 H0 n( U
  1130. ; http://php.net/mysqli.allow_local_infile- u* v- Q4 i8 [+ V" g$ R  v; p, C
  1131. ;mysqli.allow_local_infile = On
      P, E( H; M$ Z& E& ]& w8 _( U

  1132. $ ^) V" ~2 D# n
  1133. ; Allow or prevent persistent links.2 J9 p  j" o$ f3 p* j
  1134. ; http://php.net/mysqli.allow-persistent
    : r( J- m' o7 Y6 q9 `' a! k. ^
  1135. mysqli.allow_persistent = On
    & n% Y, O6 V) n3 V& L) f" F
  1136.   O2 ~% I- H- ^7 P# b
  1137. ; Maximum number of links.  -1 means no limit.& p  l' }' T' h
  1138. ; http://php.net/mysqli.max-links0 `: S" u( `, U% S( X6 G
  1139. mysqli.max_links = -1% P+ d: P2 r/ d$ ^: J
  1140. - u; v0 d5 H2 k) ?9 s0 M7 }4 n
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    7 j; a: M# L, c$ `( y
  1142. ; http://php.net/mysqli.cache_size
    " H9 y% `9 u( D7 t
  1143. mysqli.cache_size = 2000' P; F& z' \8 u1 W8 _- [6 L) _% w
  1144. 4 k* {" I& W: [+ A% e
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    5 ]5 v6 d) ?  Z! |% f( c
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ k) |0 t, m7 f$ b7 l3 y
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    1 x6 o8 C! t2 ]' {7 j% }( @$ g
  1148. ; at MYSQL_PORT.
    3 c; O5 K' K8 {
  1149. ; http://php.net/mysqli.default-port
    1 o# o# y* d6 i$ S4 s
  1150. mysqli.default_port = 3306
    . P. S9 W  L) D9 A/ M1 n: b% Z1 V7 k
  1151. % i9 V9 i% ?' i/ V
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in+ p4 r$ m$ `( c" w! @8 V; C$ p
  1153. ; MySQL defaults.
    6 @$ O4 n+ [* E* `
  1154. ; http://php.net/mysqli.default-socket7 z6 W  ]( }$ N
  1155. mysqli.default_socket =5 l( i; ~! d0 J
  1156. / B( j1 ^0 f* ^
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).2 ]% c/ `! t0 |/ z" E
  1158. ; http://php.net/mysqli.default-host
    4 o5 w. G8 X# l2 |* t, O
  1159. mysqli.default_host =
    % Y. _% Y+ z+ z# F. F, F3 J

  1160. - I2 _- G8 H! H0 q5 K2 G+ z$ s1 h
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
      }7 T# X  I8 G, d6 k' H$ d! C
  1162. ; http://php.net/mysqli.default-user: g+ e) Z' q8 o3 l: w; _; H
  1163. mysqli.default_user =! u5 F+ q- v9 B$ P' K
  1164. 0 W. W: x$ w9 X" A8 r# q$ t
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ) R4 L* I8 {' j4 U# Z
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.3 x8 X: F2 u) x9 M2 X6 [
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    " H" Z  u# ?  E) d' r
  1168. ; and reveal this password!  And of course, any users with read access to this5 D% W) u, V( }7 l. C
  1169. ; file will be able to reveal the password as well.
    * ^& e& I8 W( }* y- {9 z; C
  1170. ; http://php.net/mysqli.default-pw9 j3 D7 K6 V# X( ]' J' A
  1171. mysqli.default_pw =
    . S( K8 F, i4 `# a
  1172. & V/ n' o$ `' m
  1173. ; Allow or prevent reconnect2 ]' M3 z7 j! c
  1174. mysqli.reconnect = Off  C; n3 o5 {9 |. d2 i4 c) E! r: M
  1175. ) j% O- g4 D5 g( C- ?
  1176. [mysqlnd]
    8 D/ _% P" c' b2 D0 f0 _0 C
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    4 Y% l% [! I- t# z" a" I, r
  1178. ; used to tune and monitor MySQL operations.
    0 D7 n; B# f& M8 }3 Q, N  U) [
  1179. ; http://php.net/mysqlnd.collect_statistics, n8 u8 Y; W( W  g0 S0 X  r+ q
  1180. mysqlnd.collect_statistics = On2 l$ ^. b, W# N. C  r& U- L

  1181. : e, q, Z9 D# l$ f6 {( V+ R$ S; E
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be) k$ }! i& W4 _5 c
  1183. ; used to tune and monitor MySQL operations.! r" R" p% g- f' d9 R
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    9 o; |6 J% x( w( C- S0 s0 o
  1185. mysqlnd.collect_memory_statistics = Off* y$ m, i" e) c! O9 O/ s' @: U3 x
  1186. / }" t( P, V. a% `+ [
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    & m) b) F7 b% Y$ }# w/ K
  1188. ; file.! Y0 z$ }: |/ O9 {' M5 o
  1189. ; http://php.net/mysqlnd.debug
    ! U! z7 n) Y% T7 H0 K5 w, D& g
  1190. ;mysqlnd.debug =
    + J) w$ e4 E# ]# |- S0 ^
  1191. ; i, j+ d! D; j- ^2 ?! n! [
  1192. ; Defines which queries will be logged.+ e& i: f: l) h0 U! c8 \) T
  1193. ; http://php.net/mysqlnd.log_mask; s6 |: [% `; H  I5 j# l- Q" ?- q( I
  1194. ;mysqlnd.log_mask = 0
    5 k3 N/ T+ j; g9 z5 L1 L. ~2 F
  1195. " M( s2 o( h7 p" m7 O( q
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    , ?/ k2 h6 x3 ~8 e+ J% r( k
  1197. ; http://php.net/mysqlnd.mempool_default_size
    # d4 h# n# n% H- h: g, c  C
  1198. ;mysqlnd.mempool_default_size = 16000
    6 O* d1 _8 N2 W- c6 z7 v6 ~

  1199. , U5 P1 V8 l5 o- u2 h
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.7 h  }# j% l" H) D# S, a5 h
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    " I' e5 o+ {2 |9 m+ F; F* M
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    ( W* e9 w. y" ?5 z

  1203. 7 n# C) q6 H9 r+ X
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    . _  P. z7 X9 G
  1205. ; bytes.
    * O) ~! q5 l9 d& A/ @
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    3 B( F8 z$ y, ?) `6 Y; e
  1207. ;mysqlnd.net_read_buffer_size = 32768$ X" L9 x! z" I3 w( R; ]0 E  C
  1208.   C/ Y! G" G$ x( d% e* }& \
  1209. ; Timeout for network requests in seconds.' w6 b% I5 T1 L  A3 \. A3 ^9 R
  1210. ; http://php.net/mysqlnd.net_read_timeout
    / L' x: O8 u5 B
  1211. ;mysqlnd.net_read_timeout = 315360000 m1 J% \" W, S& R

  1212.   y# b1 R- t$ n
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    % l4 B, }# c" b( h7 G1 M! L
  1214. ; key.* m; T% s1 R' D4 {0 X
  1215. ; http://php.net/mysqlnd.sha256_server_public_key0 ?, V* ~% M6 J) j
  1216. ;mysqlnd.sha256_server_public_key =
    3 f  p; Q3 z' I3 N. F! I6 G
  1217.   ^! |+ ]' O8 d7 @
  1218. [OCI8]
    ! m( @% I8 Y* o; Y0 Z9 N
  1219. ) \' Q- p0 g. p( Z+ M: g7 t( ^
  1220. ; Connection: Enables privileged connections using external
    8 Q. K; ~# I- y; i
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA): \3 I4 Z* J+ b4 P4 i( k8 k
  1222. ; http://php.net/oci8.privileged-connect$ [$ M( X, B  _: G+ o3 M
  1223. ;oci8.privileged_connect = Off
    ( ?2 K/ O7 d1 C
  1224. - k4 s8 u* L' J' U. J4 j
  1225. ; Connection: The maximum number of persistent OCI8 connections per
      ]- e9 T7 |+ S8 n* T0 Q! u" D- H
  1226. ; process. Using -1 means no limit.. z0 ^* @, W9 @  i: U
  1227. ; http://php.net/oci8.max-persistent
    / x! W+ Z% i1 d- A# s* B/ w+ Z/ q
  1228. ;oci8.max_persistent = -1
    7 f9 y; ?" y% }  n' d2 t
  1229. 9 r) j5 ]- s# g3 G" A; w- \, _0 C
  1230. ; Connection: The maximum number of seconds a process is allowed to
    0 g. D( P7 L) G0 J
  1231. ; maintain an idle persistent connection. Using -1 means idle1 V8 B0 U7 g9 T
  1232. ; persistent connections will be maintained forever." P+ o1 a- ]3 {; K, ^
  1233. ; http://php.net/oci8.persistent-timeout
    ( d& e: E  h; J
  1234. ;oci8.persistent_timeout = -1
    ; O+ T0 m2 B. |; k; X6 u3 X

  1235. 0 G& s; c6 ^3 F. u1 B
  1236. ; Connection: The number of seconds that must pass before issuing a
    ) f; @( g8 ?6 c  ~6 j" T. j: ^
  1237. ; ping during oci_pconnect() to check the connection validity. When
    # M6 c* v/ h( t" [( P* B
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables" O  M0 d! w% R, p# u
  1239. ; pings completely.
    # M4 l" r7 Q' e( j& e: X! [
  1240. ; http://php.net/oci8.ping-interval  b* ]' a( A$ k, ]. o, F
  1241. ;oci8.ping_interval = 60
    1 s+ f; W2 z6 T% m2 u8 s7 ~

  1242. . q1 N# P: \& k3 P( X1 T3 w( C
  1243. ; Connection: Set this to a user chosen connection class to be used
    + J: r  @2 c6 I9 j9 C& K0 Z
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    5 T1 W  z# Y3 O
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to* [% C/ X7 q  b  p
  1246. ; the same string for all web servers running the same application,5 F' M& A9 Z- @' P4 Z
  1247. ; the database pool must be configured, and the connection string must
    . G1 E0 X3 h: J" Q: C3 j9 Z
  1248. ; specify to use a pooled server.
    4 u# k% l% E0 h
  1249. ;oci8.connection_class =, S" ^+ r: g4 r5 ]/ }& ]

  1250. ! T3 U4 U. w( u) P& `
  1251. ; High Availability: Using On lets PHP receive Fast Application+ S' ^0 f/ k) F6 J, q
  1252. ; Notification (FAN) events generated when a database node fails. The
    0 w; ?9 ]. u1 W7 H/ m
  1253. ; database must also be configured to post FAN events.: [# f  |5 l/ F# l, p, z$ v
  1254. ;oci8.events = Off
    ) j' f8 ^8 @* q
  1255. - ]5 F8 b; c- p" X' Z
  1256. ; Tuning: This option enables statement caching, and specifies how
    + L. I: J1 Y! ?, W; G5 ^
  1257. ; many statements to cache. Using 0 disables statement caching.  E8 B1 A7 e2 x4 w
  1258. ; http://php.net/oci8.statement-cache-size. l4 B- z. u; P3 M2 {  {9 p# g
  1259. ;oci8.statement_cache_size = 20
    * P6 U% X1 G2 _3 |5 q3 t0 o
  1260. + {( _; {: K. m8 ^, q
  1261. ; Tuning: Enables statement prefetching and sets the default number of& J6 ~0 a' B% K0 l+ l5 K; _* _
  1262. ; rows that will be fetched automatically after statement execution.
    8 i2 J& w, l; ?. i! _
  1263. ; http://php.net/oci8.default-prefetch
    * i% `: T6 N2 ^9 a3 \
  1264. ;oci8.default_prefetch = 1000 i) h$ v; i1 W; d$ b
  1265. $ p/ }: |& ?7 F2 |2 I: v1 {
  1266. ; Compatibility. Using On means oci_close() will not close) D7 {& c8 j$ z0 {% G9 ^
  1267. ; oci_connect() and oci_new_connect() connections.8 p( `- r% s: o7 S1 s/ s
  1268. ; http://php.net/oci8.old-oci-close-semantics4 _* w8 c$ K' c; o
  1269. ;oci8.old_oci_close_semantics = Off( }- `' `. z; h  o1 _# }

  1270. " Y) _2 c+ T% }
  1271. [PostgreSQL]
    . C* N% _4 N! Q
  1272. ; Allow or prevent persistent links.7 y/ o9 m/ P  u" Y
  1273. ; http://php.net/pgsql.allow-persistent7 y' M$ ^4 u% b2 j$ D
  1274. pgsql.allow_persistent = On  w. _0 \) {; d1 S

  1275. 6 E: u4 o6 r# G4 }6 Z2 i- p1 p; a2 w
  1276. ; Detect broken persistent links always with pg_pconnect().
    5 S6 w5 [( q6 G+ w1 T/ I: C
  1277. ; Auto reset feature requires a little overheads.
      B7 Q8 j) S% R% u5 Q* e2 R
  1278. ; http://php.net/pgsql.auto-reset-persistent: Q: L  n# }4 K' r
  1279. pgsql.auto_reset_persistent = Off
    % z# f0 G; Z! b- T& N# L

  1280. / Q1 W7 V8 W' X/ q3 D" S  k
  1281. ; Maximum number of persistent links.  -1 means no limit.
    % h+ J; D# G$ v2 z# I- k% X6 \
  1282. ; http://php.net/pgsql.max-persistent) N7 ~- v! ?1 X7 n5 J4 b
  1283. pgsql.max_persistent = -1( B+ ^# Z. B8 T& W

  1284. % _; X- ^3 y4 @2 A7 i
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ; g# A4 M7 S# }' ?% P
  1286. ; http://php.net/pgsql.max-links( m; b: \; f9 B; R. i) ^; S
  1287. pgsql.max_links = -16 K0 c4 S* P4 {* Y; I6 E: w' B

  1288. . S2 @" q; T6 _# V: P1 W$ g& a
  1289. ; Ignore PostgreSQL backends Notice message or not.2 n: ~  O3 a( \, M+ j3 S
  1290. ; Notice message logging require a little overheads.9 y- I; @0 \9 W. l  ?
  1291. ; http://php.net/pgsql.ignore-notice
    ! _4 H  o$ e& g8 ^1 J5 x
  1292. pgsql.ignore_notice = 0
    9 R, H) [: J- h5 V- m6 r

  1293. $ s9 e  x" S' A" }0 r( t8 g
  1294. ; Log PostgreSQL backends Notice message or not.
    4 j8 a: n# _+ i/ t# ^7 |( |
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    7 A+ k: A! M4 U* q! |
  1296. ; http://php.net/pgsql.log-notice: e! C( G; S/ E" y# I  Z
  1297. pgsql.log_notice = 0
    / m# ^- h( w3 d# G2 n+ q/ F

  1298. ( p# Z: ~7 M, V* {) V- Z, g
  1299. [bcmath]6 K! E3 @. C) b5 _1 q
  1300. ; Number of decimal digits for all bcmath functions.( R0 r4 p$ a  j; M1 L1 {) |
  1301. ; http://php.net/bcmath.scale
    3 k" e& a3 R- ~' l: e8 H
  1302. bcmath.scale = 0
    / c4 I% P& R9 _  W: x' `
  1303. 4 v# r: A- ]& G
  1304. [browscap]
    0 c$ b" }0 M$ L0 w! @7 w
  1305. ; http://php.net/browscap# Y- G" A4 R, c+ {6 X! I$ {/ G; K
  1306. ;browscap = extra/browscap.ini- h" u7 {; ]& P& t- `

  1307. : E0 v! O  _  f* J2 A' i
  1308. [Session]& L( I" a2 n4 F; G: t
  1309. ; Handler used to store/retrieve data.3 ]% N- q8 o  h1 B  y
  1310. ; http://php.net/session.save-handler$ x/ v1 c2 f! u$ k( ~6 O
  1311. session.save_handler = files
    3 _6 y8 k& n, ^4 a& M/ m  e- A5 b! J
  1312. $ f) g) S: w- u  {+ ^+ p& G9 Q
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    * i1 t- I) B5 L2 @
  1314. ; where data files are stored. Note: Windows users have to change this  S( n/ R6 F8 v. E: D
  1315. ; variable in order to use PHP's session functions.
    / W1 Y. v( S- t' N
  1316. ;4 H' L0 l2 M8 U! m9 X
  1317. ; The path can be defined as:
    & [) B- [9 `) S0 P/ v
  1318. ;/ |5 v# L* I2 R  c- W' C
  1319. ;     session.save_path = "N;/path", r0 \8 f4 W( O2 G
  1320. ;
    1 p/ j. ?: G: q3 P6 b- f( `! M) s* l- t9 u
  1321. ; where N is an integer.  Instead of storing all the session files in' U& y: F! @0 y8 r# W: a9 K- t! X8 z
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
      ]8 N  G( x, f6 l2 j' `" v
  1323. ; store the session data in those directories.  This is useful if
    2 ?, Q- ^. ?8 E$ b' l; R+ \8 P% b
  1324. ; your OS has problems with many files in one directory, and is( f8 c5 `3 d* B! j' C
  1325. ; a more efficient layout for servers that handle many sessions.) C, i0 ?, k5 |( f
  1326. ;
    8 l4 d  R8 j. c0 @
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    * C! A- `+ I" u; y+ a
  1328. ;         You can use the script in the ext/session dir for that purpose.& I6 [3 L- Y# `
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    2 \4 B) P3 M6 |& L, @7 y6 U
  1330. ;         use subdirectories for session storage
    ( ]* M% j/ k/ v
  1331. ;2 q8 V: T/ M8 r
  1332. ; The file storage module creates files using mode 600 by default.% W# }( F) w! h" R
  1333. ; You can change that by using
    ' l8 U5 _; u" H# [' t/ o% P
  1334. ;7 a5 D* f' b( u
  1335. ;     session.save_path = "N;MODE;/path"! |" B* P2 {) P: D. x# J' [/ I3 ~
  1336. ;
    # D1 v' e5 X/ t1 {+ q  N4 O) m, m
  1337. ; where MODE is the octal representation of the mode. Note that this
    , C- b/ r8 `/ r3 |# v- T+ A5 ]
  1338. ; does not overwrite the process's umask.8 y' m. P5 D" K* y9 w, V+ B
  1339. ; http://php.net/session.save-path" f1 q5 A# R0 e% @  G' Y3 A1 |/ m
  1340. ;session.save_path = "/tmp"
    " u& [( U# p- A

  1341. - U3 w8 `( j4 ^- v1 n$ p
  1342. ; Whether to use strict session mode.
    9 r' K; A- L: w. D& s6 R3 r% U) @/ `
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate1 |# u( j$ M6 \. s& t7 ]4 }! P0 }
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects& R, i% u/ ~8 G( j, J
  1345. ; applications from session fixation via session adoption vulnerability. It is
    9 r8 k' J3 l- N. S# J
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.1 [; R/ a. o  [
  1347. ; https://wiki.php.net/rfc/strict_sessions! x9 P' F/ K! q) U
  1348. session.use_strict_mode = 0
    / L2 C# p& A! j" w$ E( R. H
  1349. 0 Q) S$ a/ _& e* \% j5 ~
  1350. ; Whether to use cookies.
    2 B+ f' `+ H0 G1 D0 M( u
  1351. ; http://php.net/session.use-cookies  B# S0 |3 D1 ~# [5 Y
  1352. session.use_cookies = 1
    & c7 L8 {9 j- J0 V: T

  1353. 7 D# x; ?0 b: W, X' _
  1354. ; http://php.net/session.cookie-secure
    ! O1 G3 [& I  B$ G8 d. f, n. Y
  1355. ;session.cookie_secure =' k8 q1 P# B, g6 J
  1356. ' M0 U6 Z- j3 z, T8 \  G- u
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining- y. o8 G1 d/ L1 R; |7 |
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    , b5 l8 |8 s/ ]. e/ @* `
  1359. ; session hijacking when not specifying and managing your own session id. It is
    ; v; v4 w/ p3 M- l- J- F: H" y
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    1 c8 H6 @8 ]# F# q* v2 K
  1361. ; http://php.net/session.use-only-cookies! e" B  L. m5 v) f5 v3 O% Q; B
  1362. session.use_only_cookies = 1
    0 b6 {- b8 A6 r. c
  1363. 4 u" y0 i0 A9 G" I
  1364. ; Name of the session (used as cookie name).  J0 _. X& C. _" w
  1365. ; http://php.net/session.name( v9 w8 p9 q7 Q+ c/ [% T! a
  1366. session.name = PHPSESSID& N- @1 k: t6 k- p3 L

  1367. / @6 d+ o3 f% z# w' f# x
  1368. ; Initialize session on request startup.
    7 O( `2 c7 X1 \8 u; [7 @! g& T2 R
  1369. ; http://php.net/session.auto-start
    ( L3 A3 N3 O; m2 q$ M' z5 f3 }7 U
  1370. session.auto_start = 0
    - H! {) J  z4 q8 I2 b
  1371. 2 O, R1 c7 X2 q5 w8 O$ u
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    9 {# v# \3 g% N8 _! x/ h
  1373. ; http://php.net/session.cookie-lifetime) n# M0 u6 o7 b6 e) b+ @
  1374. session.cookie_lifetime = 0
    & B+ L2 J9 z/ F3 L1 Y0 ?; _1 Y
  1375. " S% p, s2 b1 j% H
  1376. ; The path for which the cookie is valid.1 E+ A5 y  U% p7 X
  1377. ; http://php.net/session.cookie-path
    0 F, h) f' ^: u; O; ~
  1378. session.cookie_path = /
      y( _' {1 X9 a0 j& O
  1379. / j- S# h& _6 H& [; d  P
  1380. ; The domain for which the cookie is valid.
    7 B5 t$ e) H1 N3 b3 e, Q) ?" A/ p+ A
  1381. ; http://php.net/session.cookie-domain/ M4 ?8 k+ b* U5 }1 x$ ^; V
  1382. session.cookie_domain =+ p0 s/ K! W- c, T0 b9 g1 W  F
  1383. ( t+ [" t% L  \' O! a
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.2 {  K+ }8 C. B# O+ s, H: [
  1385. ; http://php.net/session.cookie-httponly; z% O5 s' @. k" i
  1386. session.cookie_httponly =
    : D8 X9 d4 U5 M4 T5 \0 @

  1387. 7 J# q2 _) v' I4 L
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    7 k# n  ?3 Q- d: d4 P( I# Y& x% {- o
  1389. ; http://php.net/session.serialize-handler
    " Z" H1 g: d; ~$ E
  1390. session.serialize_handler = php
    9 W* |; U' L3 V9 `. Y8 h
  1391. # Q" U5 k6 l; A
  1392. ; Defines the probability that the 'garbage collection' process is started6 V! G( {. J8 V6 ]5 P5 H4 J, C  ?0 P
  1393. ; on every session initialization. The probability is calculated by using
    $ @5 }! \, A5 F! c) u6 D0 h5 S* u
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator: |! v" G4 v( t- Y
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 14 t" {- f$ ~3 @5 x3 H
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) `  n% U3 R" M, @7 }
  1397. ; the gc will run on any give request.; b  w# i) _  r6 U4 J. Y& {4 [
  1398. ; Default Value: 1, ~. R6 `$ g- f" f6 \# S
  1399. ; Development Value: 1; Z+ H# r3 `+ R
  1400. ; Production Value: 1
    1 s3 J' G; b- p# [6 U# r% t6 C; f9 @
  1401. ; http://php.net/session.gc-probability6 c8 ?: l1 x+ ]
  1402. session.gc_probability = 1
    3 {0 d1 d* _4 x1 R3 d- T
  1403. 5 R4 W- ~0 R, B6 }( w4 W0 T
  1404. ; Defines the probability that the 'garbage collection' process is started on every7 i' n3 M" f) [+ D0 ?, y
  1405. ; session initialization. The probability is calculated by using the following equation:) ?& B# B( J) N2 T/ `& w
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    0 T( n2 b5 s2 v! _0 [: ]- E
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    2 ?/ t3 e" |* l. R
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 i, X" I5 c! L: _: v7 P( Q
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    3 V$ b, d% F) A4 P. P
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,3 O' k& a) f+ k# Y$ h
  1411. ; this is a more efficient approach.
    : W4 t2 H! V- v# B' [, q
  1412. ; Default Value: 100: v% K, a) G1 R# c) ?" X
  1413. ; Development Value: 1000; e  t0 M; a1 r* g& {
  1414. ; Production Value: 1000* Y5 O/ A% f; W
  1415. ; http://php.net/session.gc-divisor
    0 v  ?# I8 h% Y# v, L+ h
  1416. session.gc_divisor = 1000  u2 a/ |" l5 ]# f! J/ U
  1417. 4 i8 x+ e; d- Q. i% X
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and" G$ T: c5 c, I2 S4 x/ z/ x
  1419. ; cleaned up by the garbage collection process.
    / k5 s, a$ k: r7 Q/ x( n
  1420. ; http://php.net/session.gc-maxlifetime4 F' e% v/ I2 E3 k! l
  1421. session.gc_maxlifetime = 1440( t# A  ]% ]! _' Z0 b' J$ R+ {
  1422. 0 Y: q+ R1 n: s4 g) V8 j: ]
  1423. ; NOTE: If you are using the subdirectory option for storing session files8 T, S, t; e; [$ L# T6 q
  1424. ;       (see session.save_path above), then garbage collection does *not*
    7 u+ d4 W$ o% Q& t9 j
  1425. ;       happen automatically.  You will need to do your own garbage
    8 p- L5 Z4 h+ ~; D+ O, L
  1426. ;       collection through a shell script, cron entry, or some other method., g5 e+ `5 K" U) R3 y
  1427. ;       For example, the following script would is the equivalent of
    % d% G2 q, T" L( H) L& n0 @( N
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):( }  u3 \4 Z  }
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm, D. M4 i% U- B/ w) i& y6 X8 P
  1430. $ i* n  B  ^( C0 v1 b5 Y
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ' t! Z5 |# ~6 z* O" U
  1432. ; HTTP_REFERER has to contain this substring for the session to be/ X6 w% I! F; B) Z8 S2 T
  1433. ; considered as valid.
    + B& c  M: S& i. n" \9 @
  1434. ; http://php.net/session.referer-check
    8 {$ w7 S( O5 \/ ^& ~* z+ i
  1435. session.referer_check =7 b: [5 W9 y0 w3 ^  g
  1436. 9 }5 [  N# o; _% @' {3 P  |& F
  1437. ; How many bytes to read from the file.
    7 Q" @+ G; o6 {8 ~/ y% B
  1438. ; http://php.net/session.entropy-length
    ! x% _  M3 S. Y7 T4 n, m
  1439. ;session.entropy_length = 32
      ^8 S: {) L* g# d$ T8 ]
  1440. + `: \+ X6 f( z+ A/ V
  1441. ; Specified here to create the session id.
    " W) O$ O- A  b2 m: T
  1442. ; http://php.net/session.entropy-file
    . P, k8 _7 B! v% a- o+ a) r
  1443. ; Defaults to /dev/urandom) C) l4 |$ B$ b- t! ]1 Q# S3 D
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom- I& y1 C( {! D" `
  1445. ; If neither are found at compile time, the default is no entropy file.1 x. ?1 ]  \* x6 N
  1446. ; On windows, setting the entropy_length setting will activate the
    / m, S' o# c2 o4 w0 ?; g
  1447. ; Windows random source (using the CryptoAPI)9 i5 p% D9 k2 r6 F
  1448. ;session.entropy_file = /dev/urandom" t' p4 m0 X* U4 E6 j  ^, o

  1449. 6 q4 k- H" W1 t. `7 q, H) c
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects; M" C/ \: _( M3 X% K2 m
  1451. ; or leave this empty to avoid sending anti-caching headers., {7 V3 S* o9 H* ?' y# T- |
  1452. ; http://php.net/session.cache-limiter; I' f) G+ m* `4 s7 r' b
  1453. session.cache_limiter = nocache3 e3 ]1 Y% Y4 j6 [3 ]& ~* g% a. X

  1454. 0 |1 |7 @0 @# |1 X
  1455. ; Document expires after n minutes.4 c# ]7 g3 X$ b4 a& E2 x& H; ~
  1456. ; http://php.net/session.cache-expire, S, `; L2 I- n( f0 T* q  o1 k
  1457. session.cache_expire = 180
    ' R4 `* d8 G) _3 e& N

  1458. + u: _, [. D8 @" `) S! D
  1459. ; trans sid support is disabled by default.
    % N- A/ S; k# u# u8 N
  1460. ; Use of trans sid may risk your users' security.
    $ o. J/ z/ O- j0 B- R5 r
  1461. ; Use this option with caution.
    . W# ]5 S5 _) o0 ?4 q' S
  1462. ; - User may send URL contains active session ID
    6 F$ c. j3 D* p3 E# u
  1463. ;   to other person via. email/irc/etc.
    + x4 |' f" w9 t& M1 m+ i& P
  1464. ; - URL that contains active session ID may be stored
      O9 U+ N; d+ S4 V! \& W- Z% _
  1465. ;   in publicly accessible computer.
    9 v7 ~) J8 W9 Z$ K
  1466. ; - User may access your site with the same session ID! G+ S1 t% O) F
  1467. ;   always using URL stored in browser's history or bookmarks.8 M8 h8 {* w; f5 q& n
  1468. ; http://php.net/session.use-trans-sid
    - [0 }' K- M- L5 b
  1469. session.use_trans_sid = 05 C0 p' n& J" Z; k) {8 u! o
  1470. ) n. a9 b2 Z! _$ f4 R
  1471. ; Select a hash function for use in generating session ids.
    $ b( i* U7 i; a- f; \1 D
  1472. ; Possible Values
    5 p) \# P5 i+ D2 d7 e
  1473. ;   0  (MD5 128 bits)
    ! V* C8 ^# |+ z6 r
  1474. ;   1  (SHA-1 160 bits), W9 ~9 K* M5 _9 x' t  b
  1475. ; This option may also be set to the name of any hash function supported by
    5 v3 i) B' ]" O' R8 ?6 x
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ! {( s6 r$ X  b4 ~+ k
  1477. ; function.
    9 f3 ~4 p' V3 r. M8 a( c' K
  1478. ; http://php.net/session.hash-function
    ( \  k8 g. o$ T( P8 o8 ], d/ L
  1479. session.hash_function = 0
    ' U7 ^5 R. O( S9 T3 ~' _
  1480. 1 t8 e6 W" v5 {' n3 g( t
  1481. ; Define how many bits are stored in each character when converting
    7 a, M4 h3 G' R6 z6 q
  1482. ; the binary hash data to something readable.* [5 x( A# f& u; g
  1483. ; Possible values:% }. S+ |5 |: `1 E3 m8 ?) V
  1484. ;   4  (4 bits: 0-9, a-f)
    - Z5 B+ i% ~( U  o' B) `9 J6 `
  1485. ;   5  (5 bits: 0-9, a-v)
    + J. o% ~5 A8 p) a& h8 [- J0 T- A
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    , n# p! m- S; Y0 |2 H
  1487. ; Default Value: 4
    4 z% y& p" q( l) P2 p  I- C+ s
  1488. ; Development Value: 5
    & X1 w1 S* ?) j: ^9 T8 J4 p
  1489. ; Production Value: 5
    4 i" `' f7 p2 l$ o, f/ k; e
  1490. ; http://php.net/session.hash-bits-per-character! _% C% D0 T5 ^; h' g( V
  1491. session.hash_bits_per_character = 5
    ! ^3 D/ @5 U; I' v7 C
  1492.   ?  ?# r' L- |0 k* E
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags./ j) {/ H- n3 D
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    " c: v5 E) M' C$ A
  1495. ; add a hidden <input> field with the info which is otherwise appended% F7 j! l, x4 v1 S
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.5 F# g) j& R% }- p
  1497. ; Note that all valid entries require a "=", even if no value follows.
    5 B0 a  ?7 ?3 _' V
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ! a: U; g" v4 w/ R* ]2 k' I( h2 A# T
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " [7 T' f# v3 z+ u5 Q0 W- ^& z; |
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 d  q2 }# T; ~' |, ~4 |) y
  1501. ; http://php.net/url-rewriter.tags
    , {; F; ]. G0 T3 X
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( }; E  h# ^+ c0 h8 X
  1503. * o3 {6 Y* P$ B0 v3 v
  1504. ; Enable upload progress tracking in $_SESSION) N$ l: [3 P, T
  1505. ; Default Value: On
    2 z3 p- K4 [) P3 M, o( |
  1506. ; Development Value: On
    ' X+ M. X. _  U; o) z+ H* L
  1507. ; Production Value: On4 `/ Q  d6 @" c5 a7 f. d
  1508. ; http://php.net/session.upload-progress.enabled9 I$ a- b3 i6 c" d$ I' y, g+ C
  1509. ;session.upload_progress.enabled = On
    * i* S$ C/ E. o/ n) I; g4 l) B

  1510. 5 k# }8 g( G& Q/ E+ x4 B$ K% V5 P
  1511. ; Cleanup the progress information as soon as all POST data has been read
    7 Q; Y3 W) R) S  N9 Y2 J3 b
  1512. ; (i.e. upload completed).
    2 q, i7 J. f: M. z5 F
  1513. ; Default Value: On8 `& h7 x2 M4 d# X! X
  1514. ; Development Value: On
    0 Z( _. i9 ^; ~" w% L
  1515. ; Production Value: On
    / S4 ?; r5 M) ]( c  f/ O" E& Q- L
  1516. ; http://php.net/session.upload-progress.cleanup# k, z& @( B" D3 I( V8 r5 h: B- b2 e
  1517. ;session.upload_progress.cleanup = On% q! i/ ^1 ~: x- ~% H

  1518. 2 R0 [; }7 W5 @8 m% `5 F8 L& z
  1519. ; A prefix used for the upload progress key in $_SESSION  A/ u  l( ]0 v& W% B
  1520. ; Default Value: "upload_progress_"
    . S: r( Z5 d' `& U# C
  1521. ; Development Value: "upload_progress_"
    * Y1 b, l6 B; O+ y: a( K, T
  1522. ; Production Value: "upload_progress_") Z" H5 `) o9 P& f& n/ {) ~( d
  1523. ; http://php.net/session.upload-progress.prefix! u6 z: I9 R0 o
  1524. ;session.upload_progress.prefix = "upload_progress_"& {0 _+ r' g" ^" U# q1 m9 R

  1525.   I1 U; Z' h# _$ f2 R
  1526. ; The index name (concatenated with the prefix) in $_SESSION' F% }2 X4 |5 c# K
  1527. ; containing the upload progress information
    3 t5 z# [! N0 R! A2 Q7 {1 d
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS", ~. c: m* ]3 z- l+ u  h' Q0 k
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + p1 l$ M7 `8 }
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 [0 J  p3 }0 b# M/ s
  1531. ; http://php.net/session.upload-progress.name% N$ f- O' l- f5 t: T$ U8 I2 I
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    & O+ S) r* }3 v

  1533. 0 a; _+ ^; p) Q: P4 Z) |3 \$ F; i
  1534. ; How frequently the upload progress should be updated.% s+ L: F3 x  S3 y2 ^# }/ |
  1535. ; Given either in percentages (per-file), or in bytes+ l% T  d9 x) q' a$ M
  1536. ; Default Value: "1%"
    3 R, b( t2 h" Q) o+ p! X; o: K
  1537. ; Development Value: "1%"1 v3 x2 Y& E% ~% `. ?
  1538. ; Production Value: "1%"
    $ c# \8 B( s. x, y# U$ I
  1539. ; http://php.net/session.upload-progress.freq
    : G  N8 ^$ f  _: P5 O7 `* t
  1540. ;session.upload_progress.freq =  "1%"
    6 s: H6 W9 l1 G. k
  1541. - {& F' D$ E; L; G- q: s
  1542. ; The minimum delay between updates, in seconds
    ' u7 y4 H" n7 ^3 Y* [' x& m" r  ]+ {
  1543. ; Default Value: 1
    ( C6 c3 {% O; T4 a% y
  1544. ; Development Value: 14 ]7 O% w4 o; J' n. B+ f
  1545. ; Production Value: 14 X) i) d" D0 [
  1546. ; http://php.net/session.upload-progress.min-freq, H8 E3 H7 P3 x+ k7 s( g
  1547. ;session.upload_progress.min_freq = "1"
    7 W- [, l+ K3 o" D" i
  1548. . ^: B! j' T- |0 T
  1549. ; Only write session data when session data is changed. Enabled by default.
    3 @+ m0 |' w) h# B7 D8 [  Z
  1550. ; http://php.net/session.lazy-write
    : e; R# H, y" u$ l" d* q, p
  1551. ;session.lazy_write = On$ q" |' y4 e& N
  1552. # z/ ~' M5 ]  }8 [0 ?% p1 `
  1553. [Assertion]# M! Y3 |( }; {6 ?: b! J
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    - V2 z0 T( N. a- Q; m' [5 E
  1555. ; -1: Do not compile at all
    ) I2 ^6 J2 `( w" a! h
  1556. ;  0: Jump over assertion at run-time3 R) L6 j0 W/ q. X! E
  1557. ;  1: Execute assertions, o% Q) ]5 y$ U+ r1 S* s% E
  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)
    1 i$ T8 w$ O& b, e# M5 Y9 |
  1559. ; Default Value: 14 V% t; i; S* w6 i
  1560. ; Development Value: 1
    , w4 d  U, ]  w8 ]& v8 C( b
  1561. ; Production Value: -1) e7 U* T8 @. W6 m
  1562. ; http://php.net/zend.assertions
      M5 K7 s4 z6 l
  1563. zend.assertions = -1
    0 V* x  e- X! p6 r

  1564. , J/ u5 Z5 ^2 |
  1565. ; Assert(expr); active by default.
    9 y- M; ^9 |) R! F. S
  1566. ; http://php.net/assert.active
    , V  N  q4 Q1 z8 K3 ]. r
  1567. ;assert.active = On( N- l1 k  j; H& p/ U) P# J& Y0 ^

  1568. 5 _  I' U5 c# w, L* a) I' U  [
  1569. ; Throw an AssertationException on failed assertions5 C) l" n9 m  S; L5 m1 r
  1570. ; http://php.net/assert.exception
    ' ]" o, Z4 o2 `
  1571. ;assert.exception = On4 a$ w: [4 u, r' U4 s  h/ |4 }
  1572.   W1 n4 ^. a: e; Q
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    / v& C) ~; t5 U8 e9 k  ~9 Z
  1574. ; http://php.net/assert.warning' b2 p1 |. A; U1 ~
  1575. ;assert.warning = On  U5 u# V3 E& G# s; z
  1576. 1 M3 E* B: u1 ]! O/ F. }
  1577. ; Don't bail out by default.( ?* d5 N" y+ m& j: R
  1578. ; http://php.net/assert.bail
    9 n( a  K2 W+ D
  1579. ;assert.bail = Off4 u& d1 Q+ c) U' v

  1580. 2 A6 e7 @! ], P& R
  1581. ; User-function to be called if an assertion fails.2 T; {! Y( Y% S* o9 l- P1 |; B5 R
  1582. ; http://php.net/assert.callback
    0 ?  _$ q4 j, K* L. Y6 c. Z: E, E
  1583. ;assert.callback = 09 f( w* M4 D4 K: Q
  1584. * |4 A; t1 X# t6 m. q9 l
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
      Z, D3 U1 m! Q' X0 [
  1586. ; error_reporting(0) around the eval().
    / }  s7 |9 v1 O7 A
  1587. ; http://php.net/assert.quiet-eval
    ' `$ d! L: Z) W: Z0 f% z
  1588. ;assert.quiet_eval = 0% b- f/ D# O4 Q+ A  D& X) t! p
  1589. & o2 b8 n5 E7 ^  U2 D4 X* R
  1590. [COM]" r9 Q' E' Q( J" Q1 Q
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    7 M: i6 @: ]" W& G
  1592. ; http://php.net/com.typelib-file
      P2 h9 x- v6 [( w' `( l6 w9 {  `
  1593. ;com.typelib_file =
    . y2 K6 a$ M  @1 J5 j8 Q
  1594. : V3 f+ B$ n9 h) z3 I: s
  1595. ; allow Distributed-COM calls
    ' l% u! z' N3 }  E; w, [
  1596. ; http://php.net/com.allow-dcom" k. k( L* x- {1 ^, `
  1597. ;com.allow_dcom = true
    7 @6 Q  i7 f- ~5 _

  1598. 6 C- M3 w- w3 ]6 u7 k5 e! T
  1599. ; autoregister constants of a components typlib on com_load()1 [* P3 G' v, n
  1600. ; http://php.net/com.autoregister-typelib; E3 F. ?$ L" l& U2 ~0 B4 k% y  V
  1601. ;com.autoregister_typelib = true% {7 e- x. T4 V) w: ?; O7 Y
  1602. % z( I2 s: B# e$ r6 n0 _' h
  1603. ; register constants casesensitive% Q( _/ o8 U) ~6 W+ I8 I! I0 ~
  1604. ; http://php.net/com.autoregister-casesensitive
    . W4 U8 X+ m: S! l' @# k; K  V
  1605. ;com.autoregister_casesensitive = false% ~% ]$ V" z- T+ S' q
  1606. 8 r# ?# A; l" g7 o( c+ Q- F1 G
  1607. ; show warnings on duplicate constant registrations1 d3 [  o5 _2 Z. R# N6 K# N
  1608. ; http://php.net/com.autoregister-verbose
    % j# A3 B( j. o- I
  1609. ;com.autoregister_verbose = true
    8 v: C" ^" F" v0 B
  1610. 5 ]7 z2 c7 @% G( E
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    , T' o; x0 c: z6 n3 i
  1612. ; Default: system ANSI code page7 g* ]/ O9 N4 |
  1613. ;com.code_page=
    7 C# ]+ q: I  o) b
  1614.   P, l0 I2 I3 \+ `7 x
  1615. [mbstring]1 ~$ U+ V1 N0 ?) H0 L! P
  1616. ; language for internal character representation.
    % r" Z1 ~# K$ }) P
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    7 @* a# W6 m$ C3 R: C" c3 y  q7 b' m2 ]3 W
  1618. ; http://php.net/mbstring.language
    0 W% k" y; ]& @+ N! {$ n
  1619. ;mbstring.language = Japanese
    7 z) @# E1 R% z! P& D- L5 g
  1620. 6 f, r, H+ ~9 C
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " w6 I+ |0 s! `5 c, L5 w$ y; V
  1622. ; internal/script encoding./ Z1 T2 d$ ~5 I
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    6 _/ p5 K: H' K) D
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : ^. y& h/ t7 w% l" x
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding2 Y" ~% w" F$ _8 `
  1626. ;mbstring.internal_encoding =
    & _- B  f+ U4 k8 J) T3 H

  1627. ' a9 \. U, B; A+ y; H. M1 h
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    , ~' g( i2 O( L0 `
  1629. ; http input encoding.: y5 ?, G+ n% A
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    2 E" f1 J$ X2 }6 R! m
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    / ?4 {  h; K) W, z' R
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input, @0 H3 H$ `# |1 h
  1633. ; http://php.net/mbstring.http-input, c4 y  n) r* o
  1634. ;mbstring.http_input =
    4 W, t4 T# j6 M0 l  A& ~# s
  1635. : A- }! B- g' g/ D+ Y
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
      Q: W/ n) S, i* \; P
  1637. ; http output encoding.; h8 L, W& x1 F6 g. R  L2 Z: ]
  1638. ; mb_output_handler must be registered as output buffer to function.
    # u4 X0 l* Q" _* y8 A
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.8 k! l) i2 Y- x# y7 C0 }9 B+ s
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output" A# @1 q; H$ {2 r+ \
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    # J8 Z2 b2 o, V( O
  1642. ; otherwise output encoding conversion cannot be performed.
    + Z2 j/ k& p* a2 F; M1 G# p
  1643. ; http://php.net/mbstring.http-output" b+ L" S( V/ S/ F! Y# m
  1644. ;mbstring.http_output =4 `" H, V( V% O; Z7 l+ o( V' {( y$ [

  1645. 1 ?2 ?6 k0 d! G# {7 E7 A: _
  1646. ; enable automatic encoding translation according to
    ' x2 `9 E% }! D# a- S3 Q
  1647. ; mbstring.internal_encoding setting. Input chars are
    ! |# _6 V/ \, l* C7 |" o
  1648. ; converted to internal encoding by setting this to On.# J4 f; G4 g1 L/ p1 S
  1649. ; Note: Do _not_ use automatic encoding translation for9 `% D: `* b/ c* K& x0 R4 ~$ o1 o
  1650. ;       portable libs/applications.: b+ {# R5 |! z' r
  1651. ; http://php.net/mbstring.encoding-translation
    ' m0 E& ]5 ^" m: V$ f
  1652. ;mbstring.encoding_translation = Off# \; I& L0 D( E
  1653. ( c# _1 [1 Q" ?, G
  1654. ; automatic encoding detection order.4 }" A% D8 b# _1 k
  1655. ; "auto" detect order is changed according to mbstring.language
    8 e/ D0 M3 {0 h
  1656. ; http://php.net/mbstring.detect-order
    4 I4 o3 S. s! y# T1 l7 g
  1657. ;mbstring.detect_order = auto
    " {2 H) u/ S; l8 c8 S3 I

  1658. 9 u- b8 f' w; O# g# t: m# T4 p
  1659. ; substitute_character used when character cannot be converted
    $ Z# C- I) [% q9 T; c) ~" w* K
  1660. ; one from another- R' U! K1 k0 \& |, @8 c) J% }
  1661. ; http://php.net/mbstring.substitute-character
    1 P/ t3 [! y, h# m, M
  1662. ;mbstring.substitute_character = none' p3 _- q6 Q$ a- g" ?

  1663. 0 ]1 g; T! x4 }. a: ]8 b, Y
  1664. ; overload(replace) single byte functions by mbstring functions.
      {* s, d, e& u' O' x% W+ W
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),; n8 Z# i) S& d0 F1 c3 I# y
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    9 {5 D, P$ K! Q2 \& H; o7 y
  1667. ; For example, 7 for overload everything.* `) P, n4 c) v
  1668. ; 0: No overload
    , q) E5 ^1 t* B& \6 \, E1 t! o% M
  1669. ; 1: Overload mail() function* |* t/ w- w" F$ B( a) C- }
  1670. ; 2: Overload str*() functions
    8 w" T6 l8 Z4 y8 S# c+ H
  1671. ; 4: Overload ereg*() functions
    & E& `7 S( v( y: C2 t$ W" V8 k
  1672. ; http://php.net/mbstring.func-overload1 X" O2 w* Z# v; t
  1673. ;mbstring.func_overload = 0
    9 F6 _! J5 E, A9 v
  1674. " |# L; ]2 s' ?; Y) O
  1675. ; enable strict encoding detection.
    3 Z" L. o9 d* U$ [" M# ~
  1676. ; Default: Off
    8 s% Y% ^2 w  Y" o: q: Z0 j2 G
  1677. ;mbstring.strict_detection = On
    " P+ X* s- \' E8 G& h# i% f
  1678. 4 j7 F4 @: s, q$ B& g5 A
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()& ]7 p! h( t7 e0 C- W- z2 e/ [; ^
  1680. ; is activated.
    6 E9 b8 Y. ~' _" K( {0 p
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)  l5 b6 p  A: k5 ~% D) }
  1682. ;mbstring.http_output_conv_mimetype=; e# |3 I$ L; w' O3 M3 E2 U1 m% F
  1683. ' E4 V5 x! \5 s# t. v
  1684. [gd]2 e" x% ]) b# J9 r; g( c
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    7 ], t2 _3 y' r% v' ^
  1686. ; a gd image. The warning will then be displayed as notices5 G" Y  `5 i7 I0 Z; X: v
  1687. ; disabled by default2 p8 Y% B% e$ B" q9 N/ t6 S2 J
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ! c. |9 u5 K9 {# v
  1689. ;gd.jpeg_ignore_warning = 0- }+ C2 O. X$ p+ z8 B
  1690. ( c1 y( i, @+ K: b
  1691. [exif]8 i* G# {4 Z$ }1 Z$ e
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    . L6 L- X9 H1 }; Q. w/ W
  1693. ; With mbstring support this will automatically be converted into the encoding
    & \$ W' l/ E2 m" E
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding7 O1 P6 {  G" N
  1695. ; is used. For the decode settings you can distinguish between motorola and8 c! z1 c# n8 m
  1696. ; intel byte order. A decode setting cannot be empty.
    7 @5 I2 ^" \# n! M8 c
  1697. ; http://php.net/exif.encode-unicode
    9 h0 j9 D, x2 Z8 \( U
  1698. ;exif.encode_unicode = ISO-8859-15
    * J: D9 O8 ?5 G# c+ e
  1699. + C0 _- u% U( w' I
  1700. ; http://php.net/exif.decode-unicode-motorola% a+ C/ {! t$ P* S) g* ]  o
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    3 T0 }( o0 Q: m- W4 C- Q2 I

  1702. , R! i) _7 g" ~) X, [0 m0 A- f$ Z2 l
  1703. ; http://php.net/exif.decode-unicode-intel
    . }+ C  j6 c1 N- H
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    3 j1 ^5 O0 I' j
  1705. . K5 o& z8 k, `- c7 N2 w$ k2 S
  1706. ; http://php.net/exif.encode-jis+ }& x; C& |: I. K
  1707. ;exif.encode_jis =
    : T# H, T3 A$ _& B9 B, Y# ^

  1708. 0 _% c' t7 m( v5 P. N& K9 g2 G
  1709. ; http://php.net/exif.decode-jis-motorola1 r0 d$ J4 {  w, o
  1710. ;exif.decode_jis_motorola = JIS
    ; |& _: @3 U0 a4 |' o
  1711. 5 G0 Y$ g0 v, J4 ~5 _) U! I/ |3 A
  1712. ; http://php.net/exif.decode-jis-intel3 ?' s: E$ V" g
  1713. ;exif.decode_jis_intel    = JIS
    ( I4 ]5 Y* z4 f

  1714. - P  S; _# ]( M' Y
  1715. [Tidy]9 I! g' n7 c# c+ X& H
  1716. ; The path to a default tidy configuration file to use when using tidy
    & M) g6 U  T3 V. `/ [7 g- B
  1717. ; http://php.net/tidy.default-config
    % g; l8 J3 A$ j
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg% p" B$ S: ^4 t: c0 _0 |* Q
  1719.   s1 o/ W/ I" U
  1720. ; Should tidy clean and repair output automatically?
    5 Z, V* Z5 U' z
  1721. ; WARNING: Do not use this option if you are generating non-html content$ Y, b- E2 J& @* b% ^/ b1 ^7 j' O
  1722. ; such as dynamic images
    ' N! U1 U, J  w
  1723. ; http://php.net/tidy.clean-output& Q1 i6 V7 J% g, @9 z
  1724. tidy.clean_output = Off4 F7 R; j  O: f0 `* M
  1725. # o1 p3 u5 ^. p) V( i# U
  1726. [soap]
      u8 x: {% c' m5 b4 l4 a2 w
  1727. ; Enables or disables WSDL caching feature.
    2 z" I9 Z: c1 C- A4 T8 q
  1728. ; http://php.net/soap.wsdl-cache-enabled, G5 j' k- D5 O, a6 l% O6 t- I; \$ y1 u  }
  1729. soap.wsdl_cache_enabled=11 a7 R0 |3 w' Q; O

  1730. 6 }7 Z& G3 \0 U: Z' o0 D# b6 u: c: \; I$ E& b
  1731. ; Sets the directory name where SOAP extension will put cache files.
    " f* l  s  z) P
  1732. ; http://php.net/soap.wsdl-cache-dir
    . [3 a; v. B$ Y2 ^- d
  1733. soap.wsdl_cache_dir="/tmp"2 g( J: g4 @% S+ {3 b

  1734. / f% _3 u- d( t0 Y
  1735. ; (time to live) Sets the number of second while cached file will be used
    5 @/ u9 V8 h5 X  k  L( `
  1736. ; instead of original one.: e7 S" O3 s1 Q( |
  1737. ; http://php.net/soap.wsdl-cache-ttl- }6 K  o" }+ Y, Y8 }: E
  1738. soap.wsdl_cache_ttl=86400" D7 P6 l& A9 M

  1739. + x- a5 \( I! l: ?
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    6 R. l2 |! a2 R& U/ g9 z- k& g
  1741. soap.wsdl_cache_limit = 5
    3 M% ]. F# ]8 h0 P/ W/ N

  1742. , ^) ^$ l. S- _! P' Y4 F
  1743. [sysvshm]( u* O- c1 S, q4 l5 {! H3 M# Y
  1744. ; A default size of the shared memory segment
    6 |( O" b) E- F! s0 s: w! ]9 Y
  1745. ;sysvshm.init_mem = 10000, }2 |5 h" A$ b5 X
  1746. ) I# E" F. A# s( b7 d3 \- L8 ~
  1747. [ldap]
    : E- l7 C' X1 s) N& w2 s4 ?
  1748. ; Sets the maximum number of open links or -1 for unlimited.: ^6 j& Z2 ~  q, Z7 @# g
  1749. ldap.max_links = -1
    $ w- P/ ^& F' U# M

  1750. ) Q! P6 q# V- U8 c$ q' N3 p5 c. N
  1751. [mcrypt]
    / G% R6 ]8 p7 U' p; a
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open' m# M& G+ m6 @) l5 _0 Z

  1753. 6 X; l* M& E9 p0 g3 Y
  1754. ; Directory where to load mcrypt algorithms
    ) ^0 ~) q! h$ K
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)' M) c  l/ J/ c( b, ]  {
  1756. ;mcrypt.algorithms_dir=
    , o# \) h) @9 ?
  1757. 8 q' R- d) F, w
  1758. ; Directory where to load mcrypt modes
      ?( U+ q$ q- I. Y$ H- J
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    * `1 b7 X* l0 L- Q
  1760. ;mcrypt.modes_dir=3 o) L% Q+ N4 m  K  p  s/ K
  1761. & \+ E- D9 S5 M2 y4 W1 a" b8 X7 u
  1762. [dba]. }5 Q& @9 q, }% i
  1763. ;dba.default_handler=
    / N: R: ~( [" J

  1764. ! f: D6 S0 y2 |3 V6 o" H7 \/ F8 {
  1765. [opcache]
    # B8 _; A9 b3 X8 ?: h
  1766. ; Determines if Zend OPCache is enabled; o/ ]' h) X5 {2 O& ]
  1767. ;opcache.enable=04 x4 q0 R# L3 `/ I$ W; T- |
  1768. 6 f6 [; o9 ^" m$ e7 d
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    . \( g. \3 u7 {/ M2 e/ w
  1770. ;opcache.enable_cli=0. F1 H. [- x" n! P

  1771.   ~' @" R* u7 B' V/ M; \
  1772. ; The OPcache shared memory storage size.
    4 e' o6 ^- X' B1 f  v
  1773. ;opcache.memory_consumption=647 h0 O6 R% |: E9 `& T; j
  1774. 6 n. r. x$ O' R& n5 [( R0 Z* p, A
  1775. ; The amount of memory for interned strings in Mbytes.
    , ~7 m# U9 h7 U6 J! |
  1776. ;opcache.interned_strings_buffer=4, _" E  B- u2 @
  1777. 8 j8 `6 V5 Y9 v, G
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    1 x; Q* ^2 [6 e% g
  1779. ; Only numbers between 200 and 1000000 are allowed.' V2 a9 C1 w5 J5 \3 ]5 r* d( i6 F/ s/ ~
  1780. ;opcache.max_accelerated_files=2000
    : l) ?& G3 d! ~" ^

  1781. 1 }. ^' ?2 `: k$ z: ^' \
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.; }$ \$ e; r$ n2 e* Y; U$ D
  1783. ;opcache.max_wasted_percentage=5
    9 [) D% {0 j7 F3 x- D
  1784.   o9 s- w. a) M* b$ Z! M4 V
  1785. ; When this directive is enabled, the OPcache appends the current working* ]1 o7 V( o6 B1 M5 a. {+ t( c3 l
  1786. ; directory to the script key, thus eliminating possible collisions between4 F' x, f9 g6 _7 o# ^$ o& M
  1787. ; files with the same name (basename). Disabling the directive improves+ b& e. Q9 [. _4 f! }9 R
  1788. ; performance, but may break existing applications.
    ( p, I  {" t% _) G
  1789. ;opcache.use_cwd=1; a7 A5 T/ E" I+ S! Z

  1790. ) D7 }9 x7 K3 w8 O7 @# Q6 I8 d* m
  1791. ; When disabled, you must reset the OPcache manually or restart the
    ' V7 D) I1 X1 A6 Y: R4 k; [0 {! ]! A" [
  1792. ; webserver for changes to the filesystem to take effect./ G: e. S" V" x( l! p
  1793. ;opcache.validate_timestamps=11 w" L: V. L+ h5 S. A7 r, Y
  1794. 5 R$ x' d" B8 p0 q! p
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    - k/ v- M- l3 }. N  q
  1796. ; memory storage allocation. ("1" means validate once per second, but only4 n' H1 e0 C" }$ s5 t) R0 i
  1797. ; once per request. "0" means always validate)) T  L  {0 {* S* M  I
  1798. ;opcache.revalidate_freq=2
    4 |" D  X2 `" E; _4 I
  1799. 9 |9 ^4 I. t3 f- p
  1800. ; Enables or disables file search in include_path optimization
    ; k2 X: d8 x! F0 Y, t. e* M
  1801. ;opcache.revalidate_path=0
    ) I; b4 n$ ^$ u
  1802. ; G4 L! X7 X" c8 \  E
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    + I6 @# w& j* h
  1804. ; size of the optimized code." p2 W3 Y8 C8 _5 E7 j8 O) Y
  1805. ;opcache.save_comments=1  \8 @8 V  F/ ^, a# |1 C
  1806. # z) [  L+ P% I8 D
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    0 D3 U- \% Q" T! Z" ]
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.- |  L  s6 W8 F- `2 B& P6 u
  1809. ;opcache.fast_shutdown=0
    ; m$ p7 t4 T: l6 P* d. q
  1810. # T5 G6 E  ^# E
  1811. ; Allow file existence override (file_exists, etc.) performance feature.! k' a! y! V4 [5 S% A
  1812. ;opcache.enable_file_override=0
    ! }4 k. G1 _$ E  Q

  1813. ! O3 g: I" ?! j# y
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache& O1 R6 d) {$ b" S9 B
  1815. ; passes! i' M% j& X, r7 ?. R5 P, k$ @
  1816. ;opcache.optimization_level=0xffffffff5 o3 m- E5 H' G# C  M: ^

  1817. 5 d% e' J2 |; q- h
  1818. ;opcache.inherited_hack=1
    ( }6 ~. a9 A. B6 G
  1819. ;opcache.dups_fix=03 x$ R3 a2 i6 X! D) T0 s
  1820. " j; s9 U4 E& m7 t
  1821. ; The location of the OPcache blacklist file (wildcards allowed).. ]0 ]$ |+ E" s# S6 K, v, D
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    ( r1 r/ o+ P0 b6 \$ C
  1823. ; that should not be accelerated. The file format is to add each filename- J( G/ w. S$ u, G; a: U: _( G9 G
  1824. ; to a new line. The filename may be a full path or just a file prefix
    & O6 M3 S/ Q+ v. Y& e2 D/ P. Y
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    " l! O, m7 R% [8 R6 F4 y% @( m1 s
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).9 r2 K5 q8 W8 g& m: B: \' ^2 [
  1827. ;opcache.blacklist_filename=- i; f9 D6 ~2 ~# k5 b, L# Z& P8 R

  1828. $ Y6 g& r1 w+ o6 t3 K" t
  1829. ; Allows exclusion of large files from being cached. By default all files
    & U% y. S( A# X, d2 o
  1830. ; are cached.7 k* L. ?6 }3 }. s! C, e; F8 ^; q: Y# p
  1831. ;opcache.max_file_size=0
    , d. f. K7 m$ z0 c* {; q
  1832. - O+ o% W; f9 i% O0 d/ K  g3 U
  1833. ; Check the cache checksum each N requests.
    / h, Z  y0 l- H2 P/ A8 C2 j( ^3 O& [3 U
  1834. ; The default value of "0" means that the checks are disabled.
      u2 _1 r$ q' z1 _4 R3 y7 e
  1835. ;opcache.consistency_checks=0
    7 I/ `, ^& e9 x! w+ b
  1836. , b, X4 C0 ~6 b0 W) g& S
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    3 T$ ^+ q! m3 B
  1838. ; is not being accessed.' h+ G+ h/ I; N; C, A
  1839. ;opcache.force_restart_timeout=180
    1 K' H+ S& v+ ^2 Y6 b' Y0 k; i% k* b

  1840. % q+ J8 P2 K9 S; \/ k- `
  1841. ; OPcache error_log file name. Empty string assumes "stderr".( b6 l# s/ X# d. @
  1842. ;opcache.error_log=
    3 H4 Q3 t0 X: n
  1843. " A+ X1 K3 z+ `( f' S6 b. w
  1844. ; All OPcache errors go to the Web server log.2 \+ D1 D3 J( H- \4 q: ?
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    6 D) }" G5 S# ?
  1846. ; You can also enable warnings (level 2), info messages (level 3) or$ X3 _: ?. i7 ?. M" `. m
  1847. ; debug messages (level 4).
    ! {/ I% v  L3 ?1 ]7 j5 X7 G
  1848. ;opcache.log_verbosity_level=12 ~9 w) H1 k7 [: `  g* X
  1849. 9 K$ ~" V. Q( n/ V; r9 w6 S8 y, s
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    * }/ \5 W' `8 L! J3 E# w' u2 R1 v
  1851. ;opcache.preferred_memory_model=  T' Z$ p9 {* N" V7 A- o
  1852. 7 T2 H0 M9 h) Y
  1853. ; Protect the shared memory from unexpected writing during script execution.6 V( c$ [, }& f% d* E
  1854. ; Useful for internal debugging only.9 ^/ ]+ S6 S3 x2 {9 N  A8 x
  1855. ;opcache.protect_memory=0
      w# @8 o* P+ x* I7 N5 O

  1856.   L, g4 ]2 r8 V8 {/ b; Y
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is" l. V% b; e9 y" W) X0 v# a: X1 u
  1858. ; started from specified string. The default "" means no restriction
    ' I' W+ Y- |+ ]* p1 ^2 h+ T
  1859. ;opcache.restrict_api=
    6 M# ]' j7 u% z/ z6 A/ y* c( c

  1860. ( _% h$ u0 T0 u: {
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP# [  ]6 b, x  N  W! X7 z
  1862. ; processes have to map shared memory into the same address space. This' }. \2 ]3 W( J2 Y6 v
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    . Y$ w7 ~/ O7 Y& V- ?# p
  1864. ; errors.4 d& Z% v. m8 X/ b
  1865. ;opcache.mmap_base=, Z. k1 i1 O" s0 t7 ]
  1866. - Q. d$ v$ d3 ]2 }: ?9 x
  1867. ; Enables and sets the second level cache directory./ d0 ~% l% }; b3 k7 [( s$ _3 @
  1868. ; It should improve performance when SHM memory is full, at server restart or) p8 i2 T% k' E" g! G
  1869. ; SHM reset. The default "" disables file based caching.; k6 Q5 t& n9 n, \7 x9 p! P7 b
  1870. ;opcache.file_cache=  t7 P$ E1 l# U, l. A8 X4 l" S+ \

  1871. 5 B( m0 W; t' U: D" L5 @1 p/ y- ]. \+ l
  1872. ; Enables or disables opcode caching in shared memory./ X* o$ ^. V; d6 }9 n& }5 W8 }
  1873. ;opcache.file_cache_only=08 B' |7 A6 e! I! b! {; c+ e6 s

  1874. 5 A& r5 {% B. t# ^2 |; [8 `1 N
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ) R; u8 f* i; J
  1876. ;opcache.file_cache_consistency_checks=1
    7 o) H" y2 P5 r  p

  1877. + A' J0 Z4 |, [+ r
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to# k( b: z2 @' k1 d3 d
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    . s1 ?2 P* ?, k; o- ]3 B! k8 F9 q
  1880. ; cache is required.
    1 [5 o1 v# p( m9 r
  1881. ;opcache.file_cache_fallback=1
      o. ]; L' |3 A7 ]8 v1 {6 n' S- _
  1882. . s% ^/ Y! _' m
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.5 q7 p% D3 C; d4 c
  1884. ; This should improve performance, but requires appropriate OS configuration.$ \* H4 ]' d3 _4 P4 s
  1885. ;opcache.huge_code_pages=1
    " {+ k0 J4 G4 b, t7 `& b) D
  1886. ) t% p( u9 f% C5 U( u5 ~% X. Y* {
  1887. ; Validate cached file permissions.: t9 e' O+ [+ H9 _8 @9 f  s
  1888. ; opcache.validate_permission=0! L) K5 ^% X) {6 ?) Y
  1889. 7 x2 I, Z3 f' P4 T& c9 P; Z
  1890. ; Prevent name collisions in chroot'ed environment.8 R  ]/ N9 c6 y- I2 {( J+ N6 l
  1891. ; opcache.validate_root=0
    - {% q+ R6 x( q6 u
  1892. % k8 H5 P! J& e  J; l2 h" b2 K
  1893. [curl]/ f0 x5 y8 t! a) i9 q/ r9 Y
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an; D3 W$ F5 D3 j8 [- d
  1895. ; absolute path.2 w' H* @9 T" o0 }1 \0 I* j
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    - X/ {/ Q3 s- m* e2 [: ^9 b* ^

  1897. ! ]% ~) ^* q% I- p7 \/ J& M4 }3 [" y
  1898. [openssl]
    + f- f  A4 v0 K7 p  F1 D9 {3 h# w+ |
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ; N0 ?0 k' n7 L5 O5 Q
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should# s$ C5 t& }  h
  1901. ; not specify a value for this directive as PHP will attempt to use the; _$ l% V  w, f& q" x1 d* x
  1902. ; OS-managed cert stores in its absence. If specified, this value may still  M+ K9 m+ V8 I- V
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context, n& D# [$ n& S% d* ?" [
  1904. ; option.0 T* q( S0 d( e: A& e% e5 v
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    - V! K) ]6 j) ~6 R9 M( j

  1906. & M0 I7 [+ g& [# X  m* _
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the' D' H/ E2 v6 E8 T
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    & R7 B2 a0 @/ F& e) G8 w1 l/ B
  1909. ; certificate. This value must be a correctly hashed certificate directory.5 |3 V0 o2 `7 n* M; r# t) ], c$ M
  1910. ; Most users should not specify a value for this directive as PHP will0 k( J/ B: K( E: ~
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,+ N5 Y9 m# _. d+ f: b
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ; q. y( |& Q' O# b  ]1 h, d
  1913. ; SSL stream context option.
    1 K: b" n# w1 w# @8 y+ O
  1914. ;openssl.capath=
    % K/ d% k, m1 ], w+ {

  1915. - m& i) W+ x' q  X
  1916. ; Local Variables:
    : n  v5 g% I' F- X+ D7 z# S2 o
  1917. ; tab-width: 46 R: x% F. S9 c
  1918. ; End:
    ! \$ s( `$ W5 W; z8 O+ c2 T$ {
  1919. & P& P) O% _! m4 M; O) W' @
  1920. ;eaccelerator
    / X# s* _! y9 b) H3 b/ i# Y
  1921. * q. W/ P" M4 O$ K% w
  1922. ;ionCube
    9 S/ n1 a) H) T/ }" x

  1923. " w+ l% R/ A# g* x5 n9 v
  1924. ;opcache
    , Z, n/ S$ e+ a* J
  1925. . Z+ R4 s9 O% |* @
  1926. [Zend ZendGuard Loader]& R6 X% W& K2 l0 h7 Z
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    2 a: H) P# i4 _5 Z3 [; A: w
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so  O. \$ I" c! X0 R0 W5 T1 N
  1929. ;zend_loader.enable=1
    ' A; m0 F6 \6 \( v- j6 l
  1930. ;zend_loader.disable_licensing=0
    - b# j( ]$ b3 w  b
  1931. ;zend_loader.obfuscation_level_support=3
    ; e6 \5 @! I1 @9 f  f! F
  1932. ;zend_loader.license_path=
    , {4 ?4 H4 F+ [& U1 ^. s' |
  1933. ! ]$ r: _, z& q
  1934. ;xcache' m( i9 O% M  O
  1935. $ B' F4 s6 \/ v  J+ u0 M$ h
复制代码
2 s  D0 t) Q0 z. N$ O  R1 F/ \
# y" T4 d1 ?* I( O; ]) @* H# F
! o  [2 U/ k% f9 C0 s2 W
/ R* ^' h- w9 _6 Z' Q

7 }1 G5 M. i1 ^7 ~; W9 @1 |0 H4 b; c! ^- q! I9 J

' R7 I3 f! \$ o! q4 D. l' mPHP5.6版本原始设置
& A1 c4 f0 G! Q/ `  p' e
8 B) Y$ [0 y2 V5 o, n
  1. [PHP]. C: v# `6 M) X& N
  2. % v# i+ L& n+ G( R: G
  3. ;;;;;;;;;;;;;;;;;;;
    ' o( L  L) N# u8 {" b% e
  4. ; About php.ini   ;- I( P& p4 x, H- O' A
  5. ;;;;;;;;;;;;;;;;;;;- M' O9 n/ h5 o. i+ v8 W4 L
  6. ; PHP's initialization file, generally called php.ini, is responsible for3 J: Z3 x! ]& |) D# `% l2 C
  7. ; configuring many of the aspects of PHP's behavior.# z2 y5 V8 z9 G' I
  8. 3 h; w7 b; L! |' t
  9. ; PHP attempts to find and load this configuration from a number of locations.% `4 z3 Q0 n8 ]+ J4 w2 Y
  10. ; The following is a summary of its search order:
    ' s1 }; V: y% M* {2 ~4 j9 _! |
  11. ; 1. SAPI module specific location.
    # m4 a# o) o. E8 [) |2 g
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)& x+ X) d# ~9 `5 [% v
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)& I( l7 _1 t  Q! k. q
  14. ; 4. Current working directory (except CLI)* X2 E9 `: I, i  c* H$ N# B) |
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    $ e" T+ m: x+ X" t: y+ j
  16. ; (otherwise in Windows)( x$ ~5 P/ I( Q; I
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ' ~+ }4 @- F! q6 R1 R3 c
  18. ; Windows directory (C:\windows or C:\winnt)4 O  N* Z6 ^5 G/ |
  19. ; See the PHP docs for more specific information.
    / Q. b1 b( X! i( l0 r
  20. ; http://php.net/configuration.file9 ^( n) U+ A8 {
  21. / |& |: P9 _" d; d
  22. ; The syntax of the file is extremely simple.  Whitespace and lines+ K) c/ i, ]% C8 s) n4 s+ Y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).0 \+ ^5 z) P' I* w4 P
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though# |: [) K% `0 ^: w- [) S
  25. ; they might mean something in the future.
    & Z" T2 ^0 i" C  U; ]) E1 P2 }/ N+ t
  26.   u" F4 |# ?. U. H+ Z+ I
  27. ; Directives following the section heading [PATH=/www/mysite] only4 v8 x3 v4 _: G  c( e. p
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ) A( L9 g7 C* d, l) V, U
  29. ; following the section heading [HOST=www.example.com] only apply to, o9 Q% q( D7 ?' W/ l1 g
  30. ; PHP files served from www.example.com.  Directives set in these; }" L% F2 `5 z* S) ]( e% ~
  31. ; special sections cannot be overridden by user-defined INI files or; X. v6 T1 X4 e# @7 b5 e
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    2 O% F) x8 ?0 C- g; j
  33. ; CGI/FastCGI.
    " O( R* E5 @$ l! M  d
  34. ; http://php.net/ini.sections6 g( Z2 B6 u: y/ o
  35. 9 O8 q, A" G- w8 N
  36. ; Directives are specified using the following syntax:
    % b& N4 q) W* c  c" {
  37. ; directive = value
    ( [4 i+ q8 N: y( V/ T! k' U
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar., E3 Q0 }, o* Q7 J
  39. ; Directives are variables used to configure PHP or PHP extensions.
    6 o( H  ?/ g! ]" E% ~7 @- _
  40. ; There is no name validation.  If PHP can't find an expected
    2 o5 j3 V* a* L+ K
  41. ; directive because it is not set or is mistyped, a default value will be used.
    " A# k4 A# ^) A4 Q/ U# h
  42. & |7 p# I2 A% D  H
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one) @/ T% I7 D* T% F9 F
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression& K6 t6 |  p# S+ [; u( D8 \( P2 O  Q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a4 J" s& [) v4 d9 `
  46. ; previously set variable or directive (e.g. ${foo}); M* G. e9 H6 G0 _, O

  47. ( [6 E0 o  M8 O7 W3 d
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
      Y: N1 x9 z" y% K8 V0 F7 M
  49. ; |  bitwise OR
    1 O: }4 L6 }0 v+ z5 h# ~
  50. ; ^  bitwise XOR. D+ `" H2 Q- S+ E7 O* N5 j
  51. ; &  bitwise AND6 J7 ?/ M: h4 R$ m6 v
  52. ; ~  bitwise NOT
    - j  Q4 u" u1 r6 ?$ I
  53. ; !  boolean NOT$ r9 g# H/ I5 M, `
  54. % u& v. }8 @9 a0 g
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes." g7 E! [" b3 Q
  56. ; They can be turned off using the values 0, Off, False or No.
    " |. }; g$ x5 b: v

  57. # t  G1 A# U( f! l0 L, u2 |7 t. d
  58. ; An empty string can be denoted by simply not writing anything after the equal) S9 g2 U# X: [0 E: m. h1 q
  59. ; sign, or by using the None keyword:* v. I3 s9 Z( l. z9 E; ~
  60. ) J* k5 Z/ X1 I3 q, T; `% G
  61. ;  foo =         ; sets foo to an empty string* K2 P% J4 Z% `8 |" E0 H
  62. ;  foo = None    ; sets foo to an empty string
    : {/ p' k" c/ ^$ I
  63. ;  foo = "None"  ; sets foo to the string 'None'
    $ v5 d/ C% n5 M' p
  64. * L8 k8 I* i9 [( }
  65. ; If you use constants in your value, and these constants belong to a' |8 |+ Z  Y3 f7 l. y0 G
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    : P9 H: q8 \, S9 }8 r- k% i
  67. ; you may only use these constants *after* the line that loads the extension.1 S/ d9 p; O5 j9 x6 m! S
  68. 5 u) ~- w# q# ~5 @' W
  69. ;;;;;;;;;;;;;;;;;;;
    . D( O% @' e0 v' h, ^$ q6 {
  70. ; About this file ;1 F6 r% W( v* q$ j1 F" A7 e5 u
  71. ;;;;;;;;;;;;;;;;;;;, [! Q& o3 K9 O( I: [
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    $ V. a, m' S1 o6 |) j; i# X! L
  73. ; in production environments and one that is recommended to be used in
    & {; Q1 U# w9 T: n+ T6 c8 V
  74. ; development environments.
    / a6 K+ p+ I) c

  75. # P$ N& s( U: N& @$ P4 X
  76. ; php.ini-production contains settings which hold security, performance and
    & H2 y! J# l+ A. A( }: V) C" h: l
  77. ; best practices at its core. But please be aware, these settings may break
    - a" N1 Q4 F8 r; _
  78. ; compatibility with older or less security conscience applications. We  ~& O+ {# X9 {  E4 O" k' ~
  79. ; recommending using the production ini in production and testing environments.
    6 W5 T/ g6 I5 W, M) n

  80. 6 G9 f1 }3 D1 c5 `
  81. ; php.ini-development is very similar to its production variant, except it is
    3 v5 e& D! U0 |, [8 @1 N
  82. ; much more verbose when it comes to errors. We recommend using the: V3 [6 Z( }% W, m2 s+ |+ T
  83. ; development version only in development environments, as errors shown to
    / c4 m% _/ o* B, Y
  84. ; application users can inadvertently leak otherwise secure information.. A& t4 D7 `4 o* w/ f. O
  85. 1 ~/ f+ |6 C" n& f( y) |
  86. ; This is php.ini-production INI file.: y3 @3 w1 G5 i) c5 y. L

  87. & O3 P! s; ^6 D
  88. ;;;;;;;;;;;;;;;;;;;3 n7 ?: V; k& K5 A& m
  89. ; Quick Reference ;( P: ~9 A- z% g) S8 c0 z1 N
  90. ;;;;;;;;;;;;;;;;;;;+ X, U" P) B" P% g$ j$ b  [- W- B
  91. ; The following are all the settings which are different in either the production3 G8 P3 m7 E& @  N8 s  U
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    9 w7 x! S# y$ ^8 h" ~
  93. ; Please see the actual settings later in the document for more details as to why+ O# E. A, H6 A% C$ P( i' k
  94. ; we recommend these changes in PHP's behavior.
    + w% {; ]+ |, n' W
  95. * S% R  C) u8 C2 A  U
  96. ; display_errors
    + ?2 |# J( D& f3 r( L
  97. ;   Default Value: On
    & C8 y- C* k$ g, g
  98. ;   Development Value: On
    # t4 m6 s8 F' C: J0 U) @) q  M0 i
  99. ;   Production Value: Off5 ?/ L: h# U* D' b2 S4 H
  100. 0 ~/ X. q2 F2 T
  101. ; display_startup_errors
    5 G( N- }( O# [: F, b
  102. ;   Default Value: Off
    / r; ^- A, W' v; P9 d/ A  N* X- @$ y
  103. ;   Development Value: On4 R: m" T+ [/ G1 M# O  {% {( d
  104. ;   Production Value: Off
    2 h" h, {8 Q4 l* S1 e
  105. ( h7 _, Q: B2 {% w
  106. ; error_reporting
    1 t+ Q- ~& ^: m/ Z) p* m
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; r" G/ o+ f% O# p/ I  N, b8 [' Y
  108. ;   Development Value: E_ALL6 g4 }5 m* J6 C5 g* t: c
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT* c. m1 j1 M4 A' v+ X; e2 G
  110. $ b( p+ C% Q8 M6 V1 o1 M0 J+ W
  111. ; html_errors
    9 _) x4 h& `- m, q5 U: m- E4 G
  112. ;   Default Value: On+ m4 |3 H+ t, q. V4 u9 C6 L9 \# r. h
  113. ;   Development Value: On
    8 J# B3 c. ]" g$ f; D
  114. ;   Production value: On
    # c. K- I* H0 ~0 I0 X! Q9 ]
  115. . A' C/ e0 ~1 Z6 B& I+ `
  116. ; log_errors
    1 l) z( y1 V/ {; U/ r, _% a. l
  117. ;   Default Value: Off
    ! @$ ~- l4 m" Y# n) B# S
  118. ;   Development Value: On
    2 Z& q3 U, r- Q1 q: C4 k  j
  119. ;   Production Value: On8 W6 V3 j6 R1 A. K

  120. * N, T6 f* B4 x4 ~8 w% l) ]
  121. ; max_input_time
    4 m4 p, r6 q8 G+ `
  122. ;   Default Value: -1 (Unlimited)
    ' _. a( N. v! F0 K& c# g$ @
  123. ;   Development Value: 60 (60 seconds)
    5 t, C- v) r2 L, Y% w- s
  124. ;   Production Value: 60 (60 seconds)6 _3 o& [6 Q1 ^" p% M' {

  125.   h, Y4 t# O! [+ P  {
  126. ; output_buffering
    5 D8 G! ]6 Y# E9 i3 j/ Y
  127. ;   Default Value: Off
      X% Q! R' |* b' u6 R5 A
  128. ;   Development Value: 4096
    , p2 [, ]* R0 C9 P. T6 s# E
  129. ;   Production Value: 40965 v; l2 v0 w$ Y+ i

  130. 9 f- k5 K& m; a  ~& Z  t; g' e
  131. ; register_argc_argv. n9 \2 g0 [, c3 t  A% ?
  132. ;   Default Value: On% y4 N3 |4 _2 C- G- z4 F
  133. ;   Development Value: Off
    ( V$ a$ Y' @0 q
  134. ;   Production Value: Off' ]8 B% p# s5 Y3 S( Z& @
  135. & H4 y& c6 |7 w! R5 ~% u
  136. ; request_order. D5 ^# M6 x* H7 \( G! P
  137. ;   Default Value: None
    - J2 b) |& H: Q- ~+ n# J& v  y8 Q
  138. ;   Development Value: "GP"( l$ v6 G, Z. N
  139. ;   Production Value: "GP"$ n% d* G& d3 D( L5 l' z$ W

  140. / _( h; i; h) p" {
  141. ; session.gc_divisor
    # @. ^8 r& F/ b7 ^- m4 V
  142. ;   Default Value: 1002 W" ?& W9 ]9 ^( S1 f8 V: G
  143. ;   Development Value: 1000
    2 r2 S; O# x5 i& X) y2 A
  144. ;   Production Value: 1000
    + @5 P, x1 |. H' |8 y
  145. 9 w6 \+ H0 }! _
  146. ; session.hash_bits_per_character
    . H. }" w5 ?% G) i# R
  147. ;   Default Value: 49 [6 G, J0 d' [! l; P: K
  148. ;   Development Value: 5
    6 V5 D4 Y2 D. h6 ^. I
  149. ;   Production Value: 5; K6 ]2 l9 }2 C
  150. 8 h) Y- E0 F* L6 k- x. `) r
  151. ; short_open_tag
    + \" V; O4 x! f
  152. ;   Default Value: On
    5 s8 J3 s( o7 o0 [. c: {
  153. ;   Development Value: Off/ M2 w, I3 m' P' ]
  154. ;   Production Value: Off  a; Y; j3 L. W8 G; D
  155. / d9 N3 \: d# ~
  156. ; track_errors) K; H% C8 h+ M0 x, X! |
  157. ;   Default Value: Off. D3 T2 A1 H" ^* v+ Z  ^+ r( m  y
  158. ;   Development Value: On* x: j3 _+ D8 y7 j2 H# V- C9 f
  159. ;   Production Value: Off' ~" x$ u0 l# E1 E( X8 t. A4 l
  160. 0 P7 ?' _% N2 N
  161. ; url_rewriter.tags2 H5 E6 O% b& }! u+ S* B
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="0 R& M' Z& _% G% Q" s! h9 Q4 ]4 [
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 i  i2 L6 K; s  e& c3 m
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry". H' K% {' J, A* e: I9 Q
  165. # A. r5 E1 h' D6 s8 E* p# l$ i
  166. ; variables_order
    - u9 F+ y0 y& A, o: D: _4 ^
  167. ;   Default Value: "EGPCS"
    ) f4 i, C3 ^5 }! c
  168. ;   Development Value: "GPCS"
    ( j9 u: P! j  i( G
  169. ;   Production Value: "GPCS"
      c" @' K9 \: X* i% e

  170. ) @8 j  o5 g7 u3 u, i
  171. ;;;;;;;;;;;;;;;;;;;;; `. f, L8 |' U
  172. ; php.ini Options  ;1 Y" i: i7 K2 V- n7 ^) m
  173. ;;;;;;;;;;;;;;;;;;;;' D) Y8 }! ?& F- r* n9 k
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    * ]! @9 y2 ?. [  Z) z/ v7 R
  175. ;user_ini.filename = ".user.ini"
    * I1 I2 R) p. U( r0 R

  176. 6 A6 t/ g- s! r+ |" K
  177. ; To disable this feature set this option to empty value: m+ u# _9 O- z; M) s, y
  178. ;user_ini.filename =& O0 Q$ J9 N2 V( T: u
  179. ' e9 X5 y) X' j7 s$ E$ n6 L: S
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    * g2 O9 w4 R' r; N9 X
  181. ;user_ini.cache_ttl = 3006 T3 I. \1 |  E0 |+ T1 e0 h0 m, c, i
  182. / O( ]: w; T+ @* g) j9 j
  183. ;;;;;;;;;;;;;;;;;;;;. e$ j+ m  {# w! Z4 P) T
  184. ; Language Options ;
    6 i9 ~$ g; l0 h1 ?
  185. ;;;;;;;;;;;;;;;;;;;;
    1 v0 R  p9 `8 U
  186. 7 n4 r) g& I. M/ j7 C- I3 g
  187. ; Enable the PHP scripting language engine under Apache.
    " L$ Y$ w/ Z) I. v; ^2 E
  188. ; http://php.net/engine: c: ~7 _4 p( L6 C! E! V! u0 c
  189. engine = On
    8 k! K% F9 }) e

  190. 8 k! h$ s% p+ c5 Q5 ~6 j* @7 C
  191. ; This directive determines whether or not PHP will recognize code between
    : B3 `. B4 ?3 B. s' Z+ \  B5 x
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    * I6 L+ e5 V9 e2 `  w2 A" ?
  193. ; generally recommended that <?php and ?> should be used and that this feature
    " b. E4 V* u4 ~/ P* E
  194. ; should be disabled, as enabling it may result in issues when generating XML
    * E( f7 `9 z3 l0 T" g  u
  195. ; documents, however this remains supported for backward compatibility reasons.
    ( D( x* F+ ?3 l7 U
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    4 E' f: S: K+ s' Q; H6 w! |
  197. ; used regardless of this directive.
    ( k& k- v, f" _1 v
  198. ; Default Value: On3 s& f+ s; o* I( u6 ?
  199. ; Development Value: Off
    * g* r$ L9 W" f+ l$ _- r2 E$ O9 P
  200. ; Production Value: Off
    0 x# b% J! o) D+ a% X
  201. ; http://php.net/short-open-tag" F( l! ]# o6 A5 s& j# B
  202. short_open_tag = On7 u/ J! c9 L8 Q& d1 J
  203. . ^7 G# c0 P0 Z
  204. ; Allow ASP-style <% %> tags.+ E8 F, ?# I) D7 N$ x6 u& T6 }
  205. ; http://php.net/asp-tags" Y. Y# c0 B1 m. @0 k! A
  206. asp_tags = Off+ e- r' {7 B# U
  207. 3 ?& d# j, g; W
  208. ; The number of significant digits displayed in floating point numbers.4 S) K1 A+ ?' a$ B
  209. ; http://php.net/precision
    9 n7 J2 [- k7 r. p! F
  210. precision = 14
    & A, }5 o+ E: b

  211. ( |1 l: D& x" t
  212. ; Output buffering is a mechanism for controlling how much output data
    : `* y* x! M* t# e  I( |6 {6 d
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ! R, C# k- N6 i" h' U: a- f
  214. ; data to the client. If your application's output exceeds this setting, PHP4 `- S) b+ s1 c1 |# x; o
  215. ; will send that data in chunks of roughly the size you specify.
    9 M6 G/ J7 F$ `: p* m
  216. ; Turning on this setting and managing its maximum buffer size can yield some. P% q6 ]7 c$ k
  217. ; interesting side-effects depending on your application and web server.
    ! T4 N+ w" T- _) O
  218. ; You may be able to send headers and cookies after you've already sent output8 x) ~% l/ |) B! P
  219. ; through print or echo. You also may see performance benefits if your server is
    0 T3 R3 k/ p* C  j. E6 z/ P
  220. ; emitting less packets due to buffered output versus PHP streaming the output
      m7 ]5 m; U0 g' z5 }0 S
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance0 J/ S' q  o; ?9 H3 ]9 c
  222. ; reasons.
    , u; Z; X! m0 G% D3 l
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    . z  I0 P# [4 u: N2 d: B1 b: @# U, T
  224. ;   functions.* l0 g! D& i. p# o6 A- p* W
  225. ; Possible Values:
    7 o2 Z6 o, I: n3 e: I4 s, E7 P
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)/ t$ J' h" L, c9 k9 A5 I: o& S) N) g* _
  227. ;   Off = Disabled5 e7 G2 J. X( @: h1 `
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    7 {! @2 R' Y+ X6 d
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    1 K% w) k# ?5 u9 q* ]
  230. ; Default Value: Off
    0 d/ \+ L( E. u$ a9 W2 ^7 r# u
  231. ; Development Value: 40964 K  x1 M, S- D5 G, d
  232. ; Production Value: 4096. d; i: u0 o1 w& B6 [
  233. ; http://php.net/output-buffering% u6 a% r! R! ~* _+ P* A: K* {
  234. output_buffering = 4096) u8 j4 F; d# K( `
  235. $ z4 A* D% Y5 ?: |  V
  236. ; You can redirect all of the output of your scripts to a function.  For9 G+ q8 i& C( [, \% u; Q
  237. ; example, if you set output_handler to "mb_output_handler", character) `9 b* d- l, b7 T8 J; P
  238. ; encoding will be transparently converted to the specified encoding.
    6 m: D1 ^% I, F( Y, b' M* b# x
  239. ; Setting any output handler automatically turns on output buffering.% ^- B. q' c  `& b1 a7 d: v
  240. ; Note: People who wrote portable scripts should not depend on this ini
      B  p2 \! E) A9 ^6 M+ J. D
  241. ;   directive. Instead, explicitly set the output handler using ob_start()., I4 g% O% o4 _7 e. I+ Q
  242. ;   Using this ini directive may cause problems unless you know what script
    / @) n8 F$ f2 h1 X) B+ C
  243. ;   is doing.
    0 V8 t$ u5 c" D7 C; Q
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    5 J% k; I' l! Q7 _& b( q/ I
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".% V0 f* O6 _0 Y7 u: U
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    - s) ]% a& o1 a2 C8 P/ O/ G
  247. ;   Instead you must use zlib.output_handler.9 T; q  u: N4 X* q
  248. ; http://php.net/output-handler6 W( u0 Q3 b0 ]6 }# l
  249. ;output_handler =
    7 e8 _% Q/ f" |* t8 l- R

  250. ( b4 P( [" f" s- @* ]
  251. ; Transparent output compression using the zlib library
    * b! i) T+ h) U; I$ m, [' [
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    $ g5 F( c. K* V* F5 S' s. K% h1 U
  253. ; to be used for compression (default is 4KB)
    1 K4 _' _& s* z( v) o6 u
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ; R( |1 z) V6 D3 S( [$ J) t
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    # I* s  J8 ~- N! }, B
  256. ;   compression. If you prefer a larger chunk size for better
    / n8 n. B0 s( T8 t- V+ b+ |( D# W
  257. ;   performance, enable output_buffering in addition.
    - ~* J; S* V( m  J+ p# \& G: I
  258. ; Note: You need to use zlib.output_handler instead of the standard
    4 c( N; }8 n+ H7 C0 j  C
  259. ;   output_handler, or otherwise the output will be corrupted.5 B, T! W. _8 B% [; T8 b
  260. ; http://php.net/zlib.output-compression, P( F, R- n2 \* {) p3 r
  261. zlib.output_compression = Off$ W  o  Z' O) j
  262. 8 g8 t4 j0 W5 e9 F
  263. ; http://php.net/zlib.output-compression-level( ~$ u  G! J; ^$ N
  264. ;zlib.output_compression_level = -1
    & p1 \- J1 N" M4 Y

  265. ) U' `, F% i/ G5 E6 G( I
  266. ; You cannot specify additional output handlers if zlib.output_compression
    9 j( F! n! w* ~( p8 M, R+ B
  267. ; is activated here. This setting does the same as output_handler but in
    % C2 S; [% S2 Z! @7 i2 t# F4 F
  268. ; a different order.
    , Y7 U7 i, h3 b( T. s9 m
  269. ; http://php.net/zlib.output-handler1 a) E  c/ H& C8 l9 o
  270. ;zlib.output_handler =8 c. Q4 F, e5 D- K; N- W7 e0 r  D3 _

  271. . A, r& x) Y; e7 N$ l- I
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ; c5 N3 y6 Z+ Y
  273. ; automatically after every output block.  This is equivalent to calling the- D/ Q" O0 B9 l! z( h1 V
  274. ; PHP function flush() after each and every call to print() or echo() and each
    5 q8 n* G2 a1 H# P" l7 J9 {2 _3 B0 v
  275. ; and every HTML block.  Turning this option on has serious performance
    & T4 z8 m3 K/ Q
  276. ; implications and is generally recommended for debugging purposes only.
    : p' ~1 L3 g/ y( X1 U
  277. ; http://php.net/implicit-flush# }: t" h4 b" x8 W* U
  278. ; Note: This directive is hardcoded to On for the CLI SAPI- p. J+ W2 Y- a9 u( x' d7 r
  279. implicit_flush = Off
    : `' h# T4 {) d9 B6 u
  280. 4 M7 R. d5 K. f6 x! c
  281. ; The unserialize callback function will be called (with the undefined class'
    ; D, {3 l0 Y5 \- n1 g
  282. ; name as parameter), if the unserializer finds an undefined class# `% Z4 _- E! q" R. f5 A* e
  283. ; which should be instantiated. A warning appears if the specified function is: w* w; ]* L+ V0 r5 P9 m
  284. ; not defined, or if the function doesn't include/implement the missing class.
    + i* }" v, r- ^& l3 B7 O3 ^; [
  285. ; So only set this entry, if you really want to implement such a2 ?6 J; G, U' O3 f* R8 m# P" \. Y% H1 K- V
  286. ; callback-function.8 i0 d# N5 b& u% t9 A* Y8 T9 r  {* x
  287. unserialize_callback_func =: |! v( M& Y6 `6 g  ^; [: p

  288. + u1 z, w- H$ L+ Y3 Q
  289. ; When floats & doubles are serialized store serialize_precision significant0 C+ n8 |4 a8 G9 v- r& t
  290. ; digits after the floating point. The default value ensures that when floats
      ]7 l; r( x, v; h: B
  291. ; are decoded with unserialize, the data will remain the same.3 ]" J( r9 Y! S. M- `
  292. serialize_precision = 17( I: O0 v3 \; b) r
  293. . y6 r: t' Y/ i5 S) k3 G0 Y
  294. ; open_basedir, if set, limits all file operations to the defined directory
    4 X1 d: d8 I% A2 l0 T% D; v
  295. ; and below.  This directive makes most sense if used in a per-directory
    1 [6 ^. E4 S( I" t9 |- ~3 m
  296. ; or per-virtualhost web server configuration file., n" q* }, a; h- x
  297. ; http://php.net/open-basedir$ C8 Q2 i* ~- e# X; P6 z
  298. ;open_basedir =7 y% C, T+ b7 J6 i  y  _2 C" u* E

  299. & u3 R* p9 E  s7 u" C
  300. ; This directive allows you to disable certain functions for security reasons.
    ! J2 k* b) y) x+ H2 ]
  301. ; It receives a comma-delimited list of function names.- d* u! R: l3 U0 }) I: W" H
  302. ; http://php.net/disable-functions# j" ]* n; P. D. J3 L
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ) Q) o. [8 Z, T% R3 h" G0 Q, t

  304. 4 K  X! v  V" ~1 ]# `
  305. ; This directive allows you to disable certain classes for security reasons./ w# R9 Y; k7 j" I6 _5 f
  306. ; It receives a comma-delimited list of class names.$ f2 V9 T3 o: f/ J
  307. ; http://php.net/disable-classes* r* l6 w" G: d, l  {
  308. disable_classes =$ y1 t  _. T' C3 ~

  309. ! {; A' P1 i0 A9 G4 a5 N
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in1 D$ G$ v# B' F; \
  311. ; <span style="color: ???????"> would work.
    9 d% k' F1 O3 @% U$ M
  312. ; http://php.net/syntax-highlighting7 b4 u. n# R% H% g8 e+ w- ]
  313. ;highlight.string  = #DD0000: L. V6 r( z/ K7 U8 X
  314. ;highlight.comment = #FF99009 h$ I) N' [# e' E& s
  315. ;highlight.keyword = #007700
    ) o6 p3 v0 n; N( k: `
  316. ;highlight.default = #0000BB0 n6 z1 R2 G$ p0 i
  317. ;highlight.html    = #000000
    - a! K( [7 y+ h) c

  318. $ a+ j4 X; t" r7 e9 H8 |( i) }
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    : V1 ~$ E# h% I! Y/ y
  320. ; the request. Consider enabling it if executing long requests, which may end up& X& O9 \0 s/ r( [" ?7 h7 t  F
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    * M5 ?( Z, [3 h& @
  322. ; is to disable this feature.8 M; C) b8 ~3 B- K$ ]0 j4 ~
  323. ; http://php.net/ignore-user-abort. l: g% V1 o3 z" q$ q& h8 C
  324. ;ignore_user_abort = On
    4 x- w1 G& V# `, ^  b/ g

  325. % W9 |6 y3 N: V! Z, Y* U9 e! h
  326. ; Determines the size of the realpath cache to be used by PHP. This value should3 w3 w; S- I; f" ^8 B$ \, j, c
  327. ; be increased on systems where PHP opens many files to reflect the quantity of3 `* Q3 e) ]# A0 E# f
  328. ; the file operations performed.4 J* Y5 X' a' M6 Z& u
  329. ; http://php.net/realpath-cache-size
    ( g! J6 [" p1 q9 V, j- a
  330. ;realpath_cache_size = 16k' a3 H" f2 j$ }- ]

  331. 1 U8 }1 t& O; N1 O0 J5 V  D
  332. ; Duration of time, in seconds for which to cache realpath information for a given% H: {4 N/ d" B5 N4 K! K7 P3 q
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    . b, Q/ o: n& m3 p9 Q1 W; X
  334. ; value.# t" f- L  E4 A! H( A2 `: i; I' [
  335. ; http://php.net/realpath-cache-ttl( Z0 H+ k( u3 c" S& f0 `5 I/ N
  336. ;realpath_cache_ttl = 1207 r" V8 g& o# g* E
  337. 3 ~0 u7 x. V) ^! t: m
  338. ; Enables or disables the circular reference collector.
    9 e, I- D! e$ u% q$ k0 }! r
  339. ; http://php.net/zend.enable-gc8 e$ s; [& W' G# ^% {. R# O" V
  340. zend.enable_gc = On  y0 G8 _4 p7 E4 s# M

  341. % y8 }3 k% _9 [& g& u: z3 ~
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    1 B* V5 }  u+ Y4 D, G2 \- d, m4 O
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    : b: k$ X* p8 l- x- ~
  344. ; encodings.  To use this feature, mbstring extension must be enabled.- u1 l6 t* e+ z% R4 O
  345. ; Default: Off- J: y3 Q; X2 f2 a  _/ J' j
  346. ;zend.multibyte = Off. |+ [( f; Z' L6 N. b$ T( u* k5 ?, d

  347. : t" ~8 ~: Y2 d* W/ V
  348. ; Allows to set the default encoding for the scripts.  This value will be used1 ~* ]9 m8 B2 c' S0 Z0 U" [
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
      Z$ P0 F# G/ [1 v! M. P8 H
  350. ; Only affects if zend.multibyte is set.) x$ K, ~" r$ c5 n/ q
  351. ; Default: ""
    5 i! d0 Z2 l7 m
  352. ;zend.script_encoding =- a7 ]! @/ `, }7 m! V+ N
  353. , `0 v8 n# K- Z
  354. ;;;;;;;;;;;;;;;;;- |0 \/ }, \- n8 ?; {
  355. ; Miscellaneous ;) ~7 V) L' f9 H3 i; ]
  356. ;;;;;;;;;;;;;;;;;9 t" A( }5 ]/ L5 E3 ]

  357. 5 H& U. i0 o: i8 m) e7 ?9 b; V
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    . ]* x" M, Z. K4 e
  359. ; (e.g. by adding its signature to the Web server header).  It is no security' T+ [" D* N8 G1 L
  360. ; threat in any way, but it makes it possible to determine whether you use PHP# q0 d; I; l- d) ?
  361. ; on your server or not.
    ' P- [+ z  U" `5 B( C( r
  362. ; http://php.net/expose-php
    ( t- k- }9 J+ E
  363. expose_php = On
    , c% N: h5 y( z  y" O; }9 F
  364. 7 w- A1 A2 u$ X6 E7 Z- a
  365. ;;;;;;;;;;;;;;;;;;;
    6 G" e8 n: m; B% z! F5 r7 Q
  366. ; Resource Limits ;$ |( N9 S# k+ V* q0 K. _" ~
  367. ;;;;;;;;;;;;;;;;;;;" D+ Z# o* z2 |9 o- t

  368. # V, L. U, d- s; g
  369. ; Maximum execution time of each script, in seconds
    7 g( ?* B8 p$ d
  370. ; http://php.net/max-execution-time( p. e$ C  ], [' n6 C7 {
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    + g8 [" F8 e1 f2 p. C
  372. max_execution_time = 300. K  F& c! }- x4 H, j# s, v

  373. ) w2 P- |8 G, L. [
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    * e% F( ]% t4 g* P# }  b
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    3 `# v1 K) d, O+ Q. N
  376. ; long running scripts.
    , {) F4 o0 i) i1 B
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    2 S  q4 z8 X* N4 e: K
  378. ; Default Value: -1 (Unlimited)7 V( z( K0 J7 x5 H6 w
  379. ; Development Value: 60 (60 seconds)
    7 D8 u2 _/ \) n4 ]7 q* K
  380. ; Production Value: 60 (60 seconds)
    # I* U+ |0 Z: y' j6 o
  381. ; http://php.net/max-input-time
    8 e: l: `5 u4 l+ o0 ~' x* [: m0 R
  382. max_input_time = 60
    # a+ S" X: d. n5 Z

  383. ; }8 D5 O8 v7 @4 J& I( ]. K, I( @. d
  384. ; Maximum input variable nesting level
    & Q" O" U4 v9 m: h9 ?8 m
  385. ; http://php.net/max-input-nesting-level/ y! W6 e3 K+ R. O  O
  386. ;max_input_nesting_level = 642 Z: w" Y/ `. A+ Y

  387. / J5 E2 {6 L1 y! g0 B
  388. ; How many GET/POST/COOKIE input variables may be accepted
    ; u7 \) ?7 }2 E3 `6 `8 k: p: ?
  389. ; max_input_vars = 1000' f" _! H$ y9 s" |- c! }
  390. 5 T) D1 r' B; ^8 Q$ M- z
  391. ; Maximum amount of memory a script may consume (128MB)
      C6 ?, `) s3 R2 k) j7 x* x
  392. ; http://php.net/memory-limit
    % x7 \0 J! p) @; j: h
  393. memory_limit = 128M8 L; r5 d  w  |: e
  394. 1 {/ O) f' W3 {1 I# @
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    # q7 ?0 l! |+ a" M2 c4 m
  396. ; Error handling and logging ;9 s4 K9 Q9 J+ c8 u" _1 P
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 p" M5 L% r$ W6 n! l0 {

  398. . U. T7 g) R" @8 j5 o5 ~' y: W; d! n8 m3 _
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    2 a. r8 V2 L2 Q. @1 I
  400. ; it to take action for. The recommended way of setting values for this" t: ?' h  y/ g9 w# m
  401. ; directive is through the use of the error level constants and bitwise# g7 J0 c. E  G9 G. C8 A
  402. ; operators. The error level constants are below here for convenience as well as2 \9 q  T' x0 O
  403. ; some common settings and their meanings.( m3 B, x$ O5 B2 |
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT( t; ^9 i- S3 V1 u
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and1 }/ g5 W- ?. _9 K* h$ Y
  406. ; recommended coding standards in PHP. For performance reasons, this is the1 }, I4 p7 s. l; M& Q# f0 z8 O
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    4 w% o! U- W; Y' C" ~: f
  408. ; resources complaining about best practices and coding standards. That's what
    # |, K9 C# ]% r
  409. ; development servers and development settings are for.
    , j3 J# J0 V- h: Z3 b# u5 l- O
  410. ; Note: The php.ini-development file has this setting as E_ALL. This$ a/ Q+ n$ M% k1 n' L
  411. ; means it pretty much reports everything which is exactly what you want during! m# d9 c9 d" K; W
  412. ; development and early testing.
    + m4 l/ _, G  g( o  U
  413. ;$ w3 i3 O, k6 Y! ^3 m5 B/ \
  414. ; Error Level Constants:$ ^% r2 r" o% w( R  Z
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    7 V# Q2 j4 T# |: j/ z( n
  416. ; E_ERROR           - fatal run-time errors
    3 n4 R+ q1 y; m# a
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    8 j+ `2 L/ k5 I0 c+ G  [. P" M
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    + Y7 T& L. u1 a
  419. ; E_PARSE           - compile-time parse errors, Q( k$ Y- y, G" Q; Z& H/ L, ?
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    % H0 _4 ~( L+ R- b( d: H
  421. ;                     from a bug in your code, but it's possible that it was
    ' E" F' a: D5 F( M; n, f
  422. ;                     intentional (e.g., using an uninitialized variable and/ f- @- O, Z! |6 A5 u
  423. ;                     relying on the fact it is automatically initialized to an
    ) L' Z  x5 c$ B5 d7 I0 \
  424. ;                     empty string)% Y" O9 p# u. o& k
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes8 G, A8 }, U" Y1 a' @7 }2 O
  426. ;                     to your code which will ensure the best interoperability- R& d' X2 U) U3 i
  427. ;                     and forward compatibility of your code
    : E% r' v1 v' f# E- _2 \( B
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ( o8 p; Q: e* J, U
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's% c5 q- X7 K" J# F: X0 d
  430. ;                     initial startup
    # e4 }  j& ]* H7 o- g, P5 J) i
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    : D9 T3 z7 s+ h
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)7 S6 s0 A" W5 k- x1 c5 B( @
  433. ; E_USER_ERROR      - user-generated error message
    5 k+ C5 I- |% Z9 D( Y
  434. ; E_USER_WARNING    - user-generated warning message
    2 R& s, [% [- K! G4 m6 o. z: T
  435. ; E_USER_NOTICE     - user-generated notice message
    ; ]. D& m& n0 F& `  R# ^
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    & ?$ X) M0 @# ^; h3 o
  437. ;                     of PHP
    : j8 Z/ T) X+ x
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings! [* O- W1 d% B4 m# V# T# n! j  I
  439. ;
    : K* g4 ]7 G# R  `' q
  440. ; Common Values:! J2 h5 C2 u3 G; S5 o. M
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ! C4 d) P+ ]* n7 o6 Q
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ( o$ F( [7 J3 G, X# B; S
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)1 Y1 @' T1 D( Q- l- F* K! l
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    , v; q3 x, [  [! d  b8 @% T
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 G; I) o( r! u1 `8 F/ U
  446. ; Development Value: E_ALL/ w) @+ T1 N( r6 w
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT! \' ~) N% n* b. Q: Q9 H0 N: K
  448. ; http://php.net/error-reporting& S; g6 m7 p& ^, t( M# n
  449. error_reporting = E_ALL & ~E_NOTICE
    $ `0 \1 t6 B4 X

  450. ' x3 ^4 U) N3 S8 I  T! I3 [4 ]
  451. ; This directive controls whether or not and where PHP will output errors,+ ]$ y  z9 \. ^. b2 `1 f
  452. ; notices and warnings too. Error output is very useful during development, but9 Q( I5 `$ Z4 k
  453. ; it could be very dangerous in production environments. Depending on the code5 }: O% E0 L; l* G% M0 H$ w
  454. ; which is triggering the error, sensitive information could potentially leak$ a, I% R9 Z9 {# f. P0 G
  455. ; out of your application such as database usernames and passwords or worse.
    1 i2 E8 K% g' M) C0 {7 x6 P( w
  456. ; For production environments, we recommend logging errors rather than
    * k( T: i" f7 H! u" U/ r
  457. ; sending them to STDOUT.' k# X2 ?$ t) k$ f) u7 d8 c
  458. ; Possible Values:/ i' H5 `1 U) _, s
  459. ;   Off = Do not display any errors
    9 c, i0 R/ g  g% u" ^! J5 L
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)% v- D! S4 F# [* X
  461. ;   On or stdout = Display errors to STDOUT
    ! g  Y; }8 [. P/ r
  462. ; Default Value: On4 E$ Q- V1 j6 H
  463. ; Development Value: On" @' k6 Z9 l2 Y8 B. W6 t9 {
  464. ; Production Value: Off- a0 q+ l3 T! Q& K# p
  465. ; http://php.net/display-errors. C/ d8 i4 o& m9 }  ~+ B9 y
  466. display_errors = On
      t" p0 T9 R8 j  o+ f  a+ \+ R

  467. 0 E' {( q' ?  [
  468. ; The display of errors which occur during PHP's startup sequence are handled- _( m: g/ p1 M( m" C! n  q8 ~  b
  469. ; separately from display_errors. PHP's default behavior is to suppress those, Y$ d! }: J1 c) G, _! ~
  470. ; errors from clients. Turning the display of startup errors on can be useful in- A# B. B) O* ~; }3 V7 S
  471. ; debugging configuration problems. We strongly recommend you
    ; }- ~; v7 x/ c
  472. ; set this to 'off' for production servers.
    # H' v. f4 o. C6 L0 G
  473. ; Default Value: Off
    ! u. `+ p- N2 n5 K
  474. ; Development Value: On# e" U) r. k  S9 R  g) j
  475. ; Production Value: Off
    ! N8 [( f! K4 C7 T5 F' g% C
  476. ; http://php.net/display-startup-errors9 z: V8 S7 p; r  e$ m6 l
  477. display_startup_errors = Off( ?+ V1 {3 X' E- ~; Z; {
  478. / v! k" `) o: ?
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    6 W- T1 i) ?6 D
  480. ; server-specific log, STDERR, or a location specified by the error_log% n; n: A+ S3 Q2 l$ j
  481. ; directive found below. While errors should not be displayed on productions* X" C; A9 M, O8 t  F  U9 _
  482. ; servers they should still be monitored and logging is a great way to do that.
    + M' d3 W' N& m6 g) H
  483. ; Default Value: Off; D; d# s" a! m
  484. ; Development Value: On- {2 B6 k) Y/ A* M
  485. ; Production Value: On4 G, F, R' p/ p, U( Y
  486. ; http://php.net/log-errors  M$ a8 v& a7 e! t" c& {
  487. log_errors = On+ C+ Z' ^; p6 v8 Q2 V" p4 q

  488. ! K) b8 l% Z0 l: t/ \6 I
  489. ; Set maximum length of log_errors. In error_log information about the source is
    # {/ \0 o7 a, M8 T. Y" X
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.% s: w' ~; n, ~2 L$ Y3 b9 D& T
  491. ; http://php.net/log-errors-max-len! f5 F! Z! R& i5 ]2 e2 ~! `
  492. log_errors_max_len = 10249 C, f4 G6 X. t( K) s
  493. 1 L% Y& p" n9 k% K4 V: w$ Q; G: {
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same: F' C" ?. @; W
  495. ; line unless ignore_repeated_source is set true.( k  l4 v: x# \9 d
  496. ; http://php.net/ignore-repeated-errors
    4 N% L7 ^! I9 Q( t- \
  497. ignore_repeated_errors = Off+ `( g( X2 t( H% _

  498. ; D2 E  D; N! `" j
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    5 n5 }# T0 ]* Q- B; i
  500. ; is On you will not log errors with repeated messages from different files or
    6 ^3 n' C0 |/ F# ~' I  Y  r
  501. ; source lines.
    1 o0 f2 z# f" p7 A% y# X
  502. ; http://php.net/ignore-repeated-source% t/ H1 U$ N4 T, s% W
  503. ignore_repeated_source = Off
    # q* m( A$ ^8 L% C; x

  504.   S% j" n: g4 Q3 ~* h; z) O
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    6 k, W: z% Z, Q9 r
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    . ?) e. Q0 @: F5 C! u* Q# t
  507. ; error reporting includes E_WARNING in the allowed list
    1 A# F5 R5 j6 G  U
  508. ; http://php.net/report-memleaks
    8 l6 o5 c( z; l% d8 b5 y
  509. report_memleaks = On
    / R" @+ L) J! H" l; W8 E

  510. 0 t# L8 w( Q" @( U
  511. ; This setting is on by default.& a, y3 N+ Y+ O" I$ Q
  512. ;report_zend_debug = 0
    # e" X1 p) X7 y
  513. 0 ^3 H2 S! N" p4 o6 z9 P& i4 m$ j
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value+ x6 i; U0 Y) f4 I
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    8 `) H9 j4 w! Z) A! `
  516. ; however be disabled on production servers.
    6 ]2 U1 n' m9 J  {/ L" Q
  517. ; Default Value: Off% ~# H: g; _+ ]7 x8 t+ J. \
  518. ; Development Value: On, w0 F- i) \( v: W2 q. j5 v
  519. ; Production Value: Off8 O8 s1 ^% v' X+ Z) h9 x( I
  520. ; http://php.net/track-errors' `. r; T1 C/ M
  521. track_errors = Off6 _+ h3 I) }9 D) \8 r. S! D- s

  522. 1 I* b5 {6 W7 i) E5 `
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    + C" B- ~, G7 P. C2 [8 ]- {% L7 Y
  524. ; http://php.net/xmlrpc-errors7 |, f+ L) C. @- p) s+ L' S; B7 ?
  525. ;xmlrpc_errors = 0
    / x, I2 e6 ^# h) t) C% S# e/ X
  526. ) X' V2 h5 }& w% y0 m
  527. ; An XML-RPC faultCode2 r' U0 |: ]9 z( ?
  528. ;xmlrpc_error_number = 0
    6 V0 Z  M7 p5 p
  529. : _3 p+ y& U- b* S. H
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    , z0 @1 A6 A! G3 o0 X2 A. G
  531. ; error message as HTML for easier reading. This directive controls whether8 E* k2 ^* L" l5 C! Q! r! Z3 s
  532. ; the error message is formatted as HTML or not.. d$ G$ N# Z1 ^  X% @
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI0 X- {/ O# u+ i; z7 y+ X  ?8 h
  534. ; Default Value: On- A! \  r, m; M$ x& |& m
  535. ; Development Value: On
    ) T1 b7 _7 S$ }
  536. ; Production value: On, P$ _; G4 \+ ~: ~
  537. ; http://php.net/html-errors9 K4 Q# @* j2 B! x% H9 e( g
  538. html_errors = On
    1 e& M9 }2 [$ I) N  {4 A& b

  539. / f' _7 G& [! Z2 [" Z* |& Y
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ! V$ D; @9 ^2 A. h: {
  541. ; produces clickable error messages that direct to a page describing the error
    . v; z$ t4 j! V# {4 c% ~9 s, ?
  542. ; or function causing the error in detail.4 W' e' I  b* `+ |* x; M( Z- J
  543. ; You can download a copy of the PHP manual from http://php.net/docs1 R  e3 P* h% f7 \1 ~2 K  k5 t
  544. ; and change docref_root to the base URL of your local copy including the! {4 O- J( [' {* X4 ~4 a
  545. ; leading '/'. You must also specify the file extension being used including; {6 L$ y# t( Z" j9 ^
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    / H# j& o5 U/ ]. p& I8 s( L# @, a
  547. ; case no links to documentation are generated.& I5 @7 G9 N( m! d8 d' e$ ~' k
  548. ; Note: Never use this feature for production boxes.
    5 z- D- b+ J- R4 C0 h8 n
  549. ; http://php.net/docref-root
    ) V* B: Q, I. `% Y3 w
  550. ; Examples
    % t3 x, u, A; g" W
  551. ;docref_root = "/phpmanual/"! _. w' O3 [; s- p

  552. ; |& R( @, p2 V9 S1 {8 p  D) w
  553. ; http://php.net/docref-ext
    5 m. h* `% o8 _) t2 z
  554. ;docref_ext = .html8 Z/ ?+ n/ L$ W0 t/ j
  555. 2 \/ @+ o: Y) N
  556. ; String to output before an error message. PHP's default behavior is to leave+ ^. B) Q; b/ M
  557. ; this setting blank.
    , x) z& s5 X. n8 |! \6 R3 r/ n
  558. ; http://php.net/error-prepend-string, E/ F& X& w) h1 {/ P8 g9 y
  559. ; Example:! I3 K& X7 x* Y6 d4 B
  560. ;error_prepend_string = "<span style='color: #ff0000'>": a5 m- H) [$ M' n; l6 X
  561. ) |* T, a2 u* {
  562. ; String to output after an error message. PHP's default behavior is to leave
    " r' d- ~2 t1 n. z
  563. ; this setting blank.8 Z1 N: O" o( u# c# N
  564. ; http://php.net/error-append-string
    " [2 T' ]* i, k; q5 `! K7 u, _
  565. ; Example:0 J) Y0 r9 t% A- H7 f
  566. ;error_append_string = "</span>"
    " G' }( H; m3 U. `( ~- `
  567. ! Z: P: E9 I" n( b
  568. ; Log errors to specified file. PHP's default behavior is to leave this value. ~0 d3 x# `6 ^/ b8 ~/ J
  569. ; empty.9 b  V$ R6 P' m) L5 e
  570. ; http://php.net/error-log' ?) B6 ~2 ~3 v
  571. ; Example:. X  a3 r2 @, b* {6 T
  572. ;error_log = php_errors.log
    8 V9 y+ b! I7 K7 ]2 Q
  573. ; Log errors to syslog (Event Log on Windows).
    : B0 h$ L  q3 v: H4 g
  574. ;error_log = syslog
    ' e9 n- ~' B4 o* U! c# z) X
  575. - }+ V  z5 ]$ }# g
  576. ;windows.show_crt_warning( X- P( m  M1 A$ ]& L" A% d& C) _
  577. ; Default value: 03 g% s% b* N8 F0 z
  578. ; Development value: 0
    ' r) l. X! {& S" u- T1 P- K" N
  579. ; Production value: 0
    1 w! j0 ^8 o8 M0 j

  580. 7 J- p& d) F; {' @
  581. ;;;;;;;;;;;;;;;;;" O4 b! u6 _$ [3 V' X+ B- p( R
  582. ; Data Handling ;
    ) q! q2 [% L9 l( u
  583. ;;;;;;;;;;;;;;;;;7 G  d: J8 z) I" V
  584. 3 {* V( S( `+ F$ _
  585. ; The separator used in PHP generated URLs to separate arguments.4 B6 n2 j5 e5 s4 B/ x
  586. ; PHP's default setting is "&".
    ) }! T3 O' F( l: c. N6 T
  587. ; http://php.net/arg-separator.output
    , R; W  z; O6 h# b7 ^' r3 o7 b  |
  588. ; Example:- L" A1 r$ E, e: @
  589. ;arg_separator.output = "&amp;"
    0 I* w* k: `6 d2 ~, a! h

  590. , L! Y/ `7 x$ y! K: S! n" G; |
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    4 p6 v2 o" H+ t
  592. ; PHP's default setting is "&".
      \- i) ~$ q- U0 H4 `
  593. ; NOTE: Every character in this directive is considered as separator!
    / H, u) H7 C( d0 n" I% v2 y/ A  q& m. f
  594. ; http://php.net/arg-separator.input
    / H$ J) T2 N( |" n$ W( T% ~
  595. ; Example:
    / U# O* ~- T7 m
  596. ;arg_separator.input = ";&"! a! ~$ e+ d6 y

  597. - n5 D! ]/ ~7 D1 j7 {( R
  598. ; This directive determines which super global arrays are registered when PHP; h' w& P3 O4 j, J. x" g4 t
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    + A( n( F' T+ l1 A) D
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty$ E; M6 r$ `$ v! ^* w
  601. ; paid for the registration of these arrays and because ENV is not as commonly5 w' \, J) J. u. s2 H4 W
  602. ; used as the others, ENV is not recommended on productions servers. You) e' r$ |$ g. T
  603. ; can still get access to the environment variables through getenv() should you
    9 \) V' G1 ^# ]: B8 @! r
  604. ; need to.
    & f9 c- w: n7 s
  605. ; Default Value: "EGPCS", b7 ~, V2 Y0 T4 M, d4 q' r, M- l/ Y
  606. ; Development Value: "GPCS"
    * r1 q* }, A) P' u+ P
  607. ; Production Value: "GPCS";6 M3 L7 [, F) P8 J3 z. Y
  608. ; http://php.net/variables-order& ~8 p# x4 F% t# \) [
  609. variables_order = "GPCS"
    2 X: ]& ^' ?$ X! H7 e
  610. 3 k% @& h5 w# J) x
  611. ; This directive determines which super global data (G,P & C) should be+ Z$ {% D7 q8 O; V6 W0 Y
  612. ; registered into the super global array REQUEST. If so, it also determines! ^7 y/ Z- U: g& s' q6 g
  613. ; the order in which that data is registered. The values for this directive
    6 E1 Z3 n" X3 m. D( `9 S) L
  614. ; are specified in the same manner as the variables_order directive,7 r) k' n/ h. @1 c" b
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ( \1 R4 e8 D0 h- I& l$ a7 H) t
  616. ; in the variables_order directive. It does not mean it will leave the super
    / |, p. K- R4 \9 q; I/ s
  617. ; globals array REQUEST empty.
    : M; _6 ?) }! o6 S, J. _- {
  618. ; Default Value: None
    2 U6 W4 [/ d& Q5 n. d: ~) p
  619. ; Development Value: "GP"8 H6 I, x" n9 r( m" j/ J. B/ J/ D
  620. ; Production Value: "GP") o5 ]  @, D: u0 |- e6 `1 B: i
  621. ; http://php.net/request-order  G3 s4 m  ~/ M1 t1 K
  622. request_order = "GP"
    7 p9 @* i- N) ]9 n
  623. 0 ]% W/ R# M, j7 q2 r* U/ [
  624. ; This directive determines whether PHP registers $argv & $argc each time it6 }% c7 x7 H4 w' T; D# z
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script& _# |) [1 m& z; j5 z5 [
  626. ; is invoked. $argc contains an integer representing the number of arguments0 C3 H3 ?1 e5 i
  627. ; that were passed when the script was invoked. These arrays are extremely
    ! o) B* |) G, ^! ~( m9 Z& n
  628. ; useful when running scripts from the command line. When this directive is
    " q  e3 u' z/ w$ w5 F
  629. ; enabled, registering these variables consumes CPU cycles and memory each time5 k! X! w7 d. d1 N
  630. ; a script is executed. For performance reasons, this feature should be disabled
    8 h9 d  `- e, G5 c  ~/ W( @, W3 q& P
  631. ; on production servers.
    * o; L: K. ^7 j$ C2 w
  632. ; Note: This directive is hardcoded to On for the CLI SAPI) I9 ?& T; F) {
  633. ; Default Value: On
    ' O  R' g# W: w% X* G
  634. ; Development Value: Off
    / T& t9 ~; V7 m. W+ R
  635. ; Production Value: Off
    % n/ M! H0 b! j! [
  636. ; http://php.net/register-argc-argv  |) ]- s# R! [& i. N
  637. register_argc_argv = Off
    5 m" x. b8 K% f' e

  638. 1 |" ~( K# M5 w" x  S$ c
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're" u! E( N0 [3 ]
  640. ; first used (Just In Time) instead of when the script starts. If these9 @+ I$ G4 G, k, ~1 N
  641. ; variables are not used within a script, having this directive on will result
    3 `. q6 q9 E+ R% N% [+ ]
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled4 q- f' K% y7 d) z. K; p
  643. ; for this directive to have any affect.: v9 d! \- r+ I, a6 E: J6 y' y1 {
  644. ; http://php.net/auto-globals-jit; i! b4 Y! c, Q6 n0 Z& d4 B
  645. auto_globals_jit = On
    # c4 {7 X6 b% c3 i: e  X6 \. `
  646. ' v9 K8 c. K/ y# q' i' i
  647. ; Whether PHP will read the POST data.( V0 N5 b$ c/ s( ^! Q  w
  648. ; This option is enabled by default.0 s5 b* ?5 T+ v; S
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST) r" T+ d# b1 K; U& O1 W' o% Q
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    : H# w& C$ }5 u4 @8 L* G
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    4 R+ |% U, L. e8 ~9 n. Q7 J- Q
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    : n0 B' G8 I4 G7 N, i. N: H
  653. ; http://php.net/enable-post-data-reading% Q8 P8 c% c5 F, u9 c' [
  654. ;enable_post_data_reading = Off2 W/ x: y% n+ U
  655. . U, ~# X! n+ t: Z
  656. ; Maximum size of POST data that PHP will accept.
    1 y  z, ?* t' X% I8 g
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    - ?2 W: m1 c, E$ k4 ?3 A6 L  A
  658. ; is disabled through enable_post_data_reading.( P0 L, O# R0 F
  659. ; http://php.net/post-max-size
    ; `/ l! I& s+ ~
  660. post_max_size = 50M* j3 [) E6 Q6 x  j

  661. 1 K- [* E1 q' l8 V) b2 h7 F
  662. ; Automatically add files before PHP document.8 v  a: P* H# p
  663. ; http://php.net/auto-prepend-file' g) M: R) J& c7 V
  664. auto_prepend_file =# D6 f# _; i; ]# e0 w
  665. ( R' O- _3 I# s# G/ D( @
  666. ; Automatically add files after PHP document.
    2 X, ]8 `! `$ d1 w1 r0 a; C
  667. ; http://php.net/auto-append-file1 P- W( F- B/ i; p( _# D7 O
  668. auto_append_file =& I! e3 k& [- Q+ V- ~1 ]
  669. " Y2 o9 P2 n" K( i' s* J
  670. ; By default, PHP will output a media type using the Content-Type header. To% Z; B8 L8 {' F" d  }1 H
  671. ; disable this, simply set it to be empty.! a4 U3 d  P. T. k
  672. ;. A- E, _# `% q6 J! y& \
  673. ; PHP's built-in default media type is set to text/html.! k6 o. \9 A( }8 [: l, N3 l) U1 e5 |
  674. ; http://php.net/default-mimetype
    0 Y( G# e' M7 p
  675. default_mimetype = "text/html"1 n* k0 x0 k+ h: y3 Z* i8 ~9 r3 f
  676. * O+ z8 x/ J7 Z) j$ x; x4 r! R. Y
  677. ; PHP's default character set is set to UTF-8.& J3 l; t: H& T- S( z7 }$ e1 P7 f
  678. ; http://php.net/default-charset
    ! r2 v- h! ]) G# m( {3 O* s% Z7 a
  679. default_charset = "UTF-8"
    " o$ G* _$ _; G& h- V  W

  680. / ?2 T' f; S, e/ ]; N1 E
  681. ; PHP internal character encoding is set to empty.
    5 _6 P& ?3 w7 W4 M
  682. ; If empty, default_charset is used.
    4 j( x) h3 f" g* `
  683. ; http://php.net/internal-encoding
    1 S8 h) O+ D" Z  R+ }+ D
  684. ;internal_encoding =
    / i3 m  ]" R+ Y# z
  685. 0 a! s' W0 G5 p/ ?6 B. {( A
  686. ; PHP input character encoding is set to empty.
    + _+ |! v- ]: s
  687. ; If empty, default_charset is used., s+ l% t9 S' G: W; O1 c/ \
  688. ; http://php.net/input-encoding
    - F/ u5 I8 ?0 z. I; G- `
  689. ;input_encoding =
    ; V0 z% `7 T4 h! {- @  \

  690. : W. C  S* h6 e1 b( Y
  691. ; PHP output character encoding is set to empty.
    # M4 \6 \& J( t4 Z7 Q
  692. ; If empty, default_charset is used.! V# k( ?5 \# `" A- e
  693. ; See also output_buffer.6 m4 N  ^- h# f* `1 z
  694. ; http://php.net/output-encoding
    , ^. a8 z7 |' I8 {. l0 K% o4 ~
  695. ;output_encoding =: w9 m8 |- p/ M* v4 O+ \

  696. 4 j: y: _6 R6 [
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is- V, F$ \6 r, s8 O# E% m
  698. ; to disable this feature and it will be removed in a future version.
    # Y) m8 S9 A, G+ a
  699. ; If post reading is disabled through enable_post_data_reading,
    0 ?5 x5 Y) X% E( q- V
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ( L* G1 ^8 a, f* n3 m
  701. ; http://php.net/always-populate-raw-post-data
    ( @" n) q. H* n4 w
  702. ;always_populate_raw_post_data = -1
    % w" P7 R2 F# p, J, q  B
  703. ) M9 Y, ?/ s* J- J$ v& C
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ ^/ b( X) q; K7 d* l- i, t! i; z# O2 V
  705. ; Paths and Directories ;
    $ M+ k* X: {* v# S. Q; T- l5 S: l
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    , ^) N( i3 I% n* ~1 O" c! Z  \

  707. - M  R' i7 \4 Z/ S9 }' V4 v6 f
  708. ; UNIX: "/path1:/path2"5 ^. U- p/ l% R$ f7 z
  709. ;include_path = ".:/php/includes"+ T- @8 d4 K& e9 k" B
  710. ;' \7 E+ b# h; l, Z
  711. ; Windows: "\path1;\path2"6 `4 g. j, T3 i
  712. ;include_path = ".;c:\php\includes"
    7 X) L  l* K. |# R
  713. ;
    + R$ u! t/ o' [1 r5 o
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    : s( A0 d, \9 u4 S" F
  715. ; http://php.net/include-path
    ) l) P0 D" T. l* y3 e1 j1 ?4 C6 ?, j

  716. 6 d- y8 c; z& L& T# k
  717. ; The root of the PHP pages, used only if nonempty.: F1 I! b) l; X
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root( U2 D2 y- [1 z7 M
  719. ; if you are running php as a CGI under any web server (other than IIS)
    9 o3 P7 @& t: b# h" \3 b% w* o" D! o/ ]
  720. ; see documentation for security issues.  The alternate is to use the2 |4 F) H, F$ Z$ j) B
  721. ; cgi.force_redirect configuration below
    5 n. b8 l" a* }  \) F
  722. ; http://php.net/doc-root7 W1 @7 j* h6 `8 H: \2 n  {! Y
  723. doc_root =2 [  a: c9 y' r0 y, r8 L5 D

  724. 0 L. p- I/ q- s* R! Z
  725. ; The directory under which PHP opens the script using /~username used only" }# q7 |3 w4 D3 N# m
  726. ; if nonempty.
    & [: ^2 h- W& N' o/ b
  727. ; http://php.net/user-dir0 |/ H) p9 I9 x  ?8 i* ^5 Q0 W
  728. user_dir =+ O2 H( G- l+ D& \$ l. }! _& Q
  729. . B' N) j5 j/ i! e4 K; d
  730. ; Directory in which the loadable extensions (modules) reside.5 g. c+ P/ ^, e. T8 r& a" D
  731. ; http://php.net/extension-dir
    9 X+ d4 o$ A+ c# A7 R7 s
  732. ; extension_dir = "./"2 p, r# i, {* T5 N3 h7 B  Q; Q( o
  733. ; On windows:
    . I) ^1 E! @. O2 [$ B- s; e
  734. ; extension_dir = "ext"
    $ q6 w; g* I$ G) n6 s
  735. $ i1 G+ y' V8 s. l5 N
  736. ; Directory where the temporary files should be placed.
    0 f! L3 ]9 ]% d0 C; _7 S' Z, e
  737. ; Defaults to the system default (see sys_get_temp_dir)
    : }9 r% O- a( V& Y# c
  738. ; sys_temp_dir = "/tmp"' J' a, n% P" M# L- |

  739. $ G3 H+ ]0 C4 }
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    1 a: r  P  e" o
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    & W( n+ i9 p0 q! g# _; [5 s- O% Z: ]( B; O
  742. ; disabled on them.
    , c0 f' d4 G2 O  Y) @. _7 j3 l2 A6 v$ t
  743. ; http://php.net/enable-dl- E( P7 A1 [: m! d
  744. enable_dl = Off% \: z/ t" q+ F% o! b7 @& q% g, K
  745. 0 i# h" H1 i. j2 E9 b
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under& w! i) D; J, q) j6 V, h
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can' \. i7 \8 L, z3 [4 t7 F
  748. ; turn it off here AT YOUR OWN RISK* F& v+ m: J, L2 E, L8 Q  a: ]6 n
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    , g& W  C  W) y3 R# ?
  750. ; http://php.net/cgi.force-redirect7 K% ~1 j7 ]( \8 W7 l1 s$ k2 H$ W
  751. ;cgi.force_redirect = 1; W5 d- W( B- z* q( Y: t5 R
  752. 6 x' m- I" j; C1 T  K2 B
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with3 G3 X6 q7 Z5 \, X; p6 N
  754. ; every request. PHP's default behavior is to disable this feature.
    9 _4 R6 y, |9 v
  755. ;cgi.nph = 1! N! }! W2 @5 Y

  756. 0 w( N3 w6 Q  X0 t. _/ y- M2 y) d
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    & I% E* F' b% B# m
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    3 w' e) ]- Z9 w% M( B
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY, P+ _" H2 J1 y4 m  l6 x$ F
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.3 f7 Z: r, p% i9 M: z. f
  761. ; http://php.net/cgi.redirect-status-env
    ( [3 J- g8 p5 G, n9 s
  762. ;cgi.redirect_status_env =
    * J/ b+ R! r0 y2 O$ v. z" c

  763. 7 j! ^* d0 X# f" G. g/ o9 V+ e' [
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    / U% v' i6 J) X) a' v; [
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ( }& n/ @. ?0 q' k; Z! k
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting! a0 b5 H: t9 N
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting5 p% {- i: Z6 \. v7 v/ C
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts6 p( r' q( R5 L2 M2 l* F
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ( W% R% S; B1 r' U+ y* a  R
  770. ; http://php.net/cgi.fix-pathinfo; d# C! [0 d1 V$ J8 ]7 l
  771. cgi.fix_pathinfo=1
    + @3 j4 ]0 i; w+ v4 g$ E. u$ Q
  772. ! H& I& M/ e! A% [$ ^1 O
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    # w. S1 x2 l  f. e2 t, K
  774. ; of the web tree and people will not be able to circumvent .htaccess security.- d1 y) x& o! L
  775. ; http://php.net/cgi.dicard-path* N. `% W% _9 `8 G$ G  E4 v
  776. ;cgi.discard_path=1
    7 J& K0 J+ K" Z' H' Y4 x) J/ K

  777. / q8 I7 M4 i6 D3 O* |
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate& ~% g3 i# d7 b0 {! F' F2 L
  779. ; security tokens of the calling client.  This allows IIS to define the2 g! t* ~7 `3 [6 Z9 T2 o3 [
  780. ; security context that the request runs under.  mod_fastcgi under Apache( M# X: l) _, b+ [& \8 u
  781. ; does not currently support this feature (03/17/2002)
    ( Z2 b# L2 H6 F! z' Y, m
  782. ; Set to 1 if running under IIS.  Default is zero.4 m1 c3 k  ^5 M4 f
  783. ; http://php.net/fastcgi.impersonate$ J$ {& s- _$ a. V  ~: B) r
  784. ;fastcgi.impersonate = 1
    ( E3 R- @. T! z9 `; c+ }

  785. 9 a- Q& C  w! _! \$ I; @  Z
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable9 g( q; P; Y, [6 _- V$ R" z9 w  V
  787. ; this feature.
    . n3 r4 ?0 X1 V
  788. ;fastcgi.logging = 07 C6 ~+ g. o1 j' F+ |1 S% o
  789. % N/ U) s% e4 k' s" K
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to  }1 ^  x# F' o2 a( b/ w9 N6 S
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    9 z  N1 e6 ?. e& Q% i# F
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    9 o# j7 N2 ^% A' h& u1 P
  793. ; RFC2616 compliant header.: x; j1 r- B2 h& t& Z1 p
  794. ; Default is zero.9 C: ^% o- r/ \2 [9 i
  795. ; http://php.net/cgi.rfc2616-headers0 U0 T" H, j: w( b! U
  796. ;cgi.rfc2616_headers = 03 ~8 J: R8 W5 m0 h# @

  797. . g# [3 K/ A, ?" I) ?5 P6 b) X% I
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!  Z5 l8 N5 r% i& g) {% @
  799. ; (shebang) at the top of the running script. This line might be needed if the. W2 i$ C$ M4 V2 r" q9 C+ t
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ; g- N) l* F5 x8 v3 [# I  [
  801. ; mode skips this line and ignores its content if this directive is turned on.
    : j) I4 }3 j; a4 R4 Q5 N, r
  802. ; http://php.net/cgi.check-shebang-line
    ( ?" G  t/ ]; [. S8 a% s/ v0 O  h
  803. ;cgi.check_shebang_line=1
    / K$ Q9 r9 K/ N) z4 ^
  804. % \4 l8 d& i% _' B
  805. ;;;;;;;;;;;;;;;;
    . }, y/ J8 g! W
  806. ; File Uploads ;- J) r$ T1 W/ Q6 ?7 ~
  807. ;;;;;;;;;;;;;;;;
    0 h- h: r9 u; K6 Y

  808. 8 c3 k( Q- K6 W0 ?; P* m! b
  809. ; Whether to allow HTTP file uploads.. ^8 e1 r+ p" }
  810. ; http://php.net/file-uploads
    : V" q, A/ P, D/ j7 i2 z& J. l7 M
  811. file_uploads = On
    " \; P& e  u& T# _( Z
  812. ' s# E9 r2 J* x5 T& J
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    / I6 L0 ^9 K$ C7 U+ w! d1 j! X" {
  814. ; specified).: V8 I; q; m7 Y3 p4 _4 g1 P
  815. ; http://php.net/upload-tmp-dir
    ) @2 E9 m6 Q. H) T, Y1 h
  816. ;upload_tmp_dir =
    & T- l; T2 f" X& K: d  p" c
  817. 6 L4 ?. r. V- q7 Q+ T5 R& |4 s% _
  818. ; Maximum allowed size for uploaded files.* H6 Y( I8 N4 y$ `* X, l
  819. ; http://php.net/upload-max-filesize4 K+ k2 X3 w$ Y' @4 [1 C; V
  820. upload_max_filesize = 50M4 v3 ~* s8 J  D4 B, Y
  821. 3 k' V. G0 R! x- {* G3 @& S( `
  822. ; Maximum number of files that can be uploaded via a single request- A1 f7 o, b4 U8 L7 c
  823. max_file_uploads = 202 x# g! }% f7 G6 X4 B( o0 S

  824. 1 N3 X! f3 w; t
  825. ;;;;;;;;;;;;;;;;;;0 J/ U4 f8 B4 }$ L
  826. ; Fopen wrappers ;" b! I% E; A/ ?  e1 Y9 Y% i
  827. ;;;;;;;;;;;;;;;;;;
    7 Z- B5 h# y* F: E9 p% N

  828. , {" d. ]$ H) t; S5 }
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.) c6 Q+ O  v+ K9 Q8 W5 `* X
  830. ; http://php.net/allow-url-fopen* Q3 u7 q( r8 P/ B) k
  831. allow_url_fopen = On
    ! M& M% V9 Q5 o+ ?3 ~

  832. 0 G% l+ _( w* ?8 L1 w! r
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    " q9 t' C* p* q. n! ?- ]
  834. ; http://php.net/allow-url-include
    ! l0 @% r2 x( d4 Z7 _
  835. allow_url_include = Off
      n, g1 Y0 N& p# y0 L% A  w
  836. 3 w- s# d4 K0 `: [# ^
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    4 [* i$ x$ E8 D
  838. ; for this is empty.
    0 Z. C7 c7 N( r
  839. ; http://php.net/from3 p2 w( k8 ?3 m$ f9 U) d
  840. ;from="john@doe.com"
    4 W' P5 p7 Y/ T, a' Y9 v
  841. 3 j" F  b% a5 i, B6 ~. ?
  842. ; Define the User-Agent string. PHP's default setting for this is empty.2 j6 r1 Q6 L, @4 B9 d+ X
  843. ; http://php.net/user-agent" S) Q  i6 F/ M
  844. ;user_agent="PHP"' o. E2 C( i8 v9 @, f
  845. ) {0 `: W# o  x
  846. ; Default timeout for socket based streams (seconds)
    1 M( ?0 l$ E" W
  847. ; http://php.net/default-socket-timeout
    $ b+ ?" I0 D* u7 ^/ U& O  S
  848. default_socket_timeout = 60( E% F* |$ \& ^6 k. z& i/ \7 b% B

  849. : S/ H8 J  m* ^4 L, E8 W
  850. ; If your scripts have to deal with files from Macintosh systems,
    7 M) a* _+ }+ z3 u2 b3 }
  851. ; or you are running on a Mac and need to deal with files from# R9 ]2 x0 a. m. r1 n
  852. ; unix or win32 systems, setting this flag will cause PHP to
    3 T( h6 j& V2 Z. D- y' X: H
  853. ; automatically detect the EOL character in those files so that
    6 ~( j% M# @% q$ D* m/ m
  854. ; fgets() and file() will work regardless of the source of the file.
    . K" }& p3 D% R* m1 }+ b, g9 c
  855. ; http://php.net/auto-detect-line-endings( p7 P' C6 \* C7 t3 P$ R
  856. ;auto_detect_line_endings = Off
    : S! w$ k6 P$ Q9 Z) V/ g

  857. 8 I  v6 r9 o# ]) ~
  858. ;;;;;;;;;;;;;;;;;;;;;;
    6 L9 F& N# b% r9 L8 X; ]
  859. ; Dynamic Extensions ;
    : k+ g) `2 n- F# v  J% N: J; W3 t
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ' _3 {' h0 O3 }$ G& o; V$ t* S
  861. % _0 \) m' x& w- j8 p, ]' I" _
  862. ; If you wish to have an extension loaded automatically, use the following
    : Q& e! ^- ^4 S; _8 G( f3 O- s
  863. ; syntax:
    & E! [# C- g9 x; P" X, W: E
  864. ;
    $ ~7 S, L6 P/ p0 p% w8 l
  865. ;   extension=modulename.extension
    / G& E. K. B' h6 e
  866. ;  ]) G9 O3 S2 C$ Y
  867. ; For example, on Windows:, F* b9 C6 p, Y7 f
  868. ;
    , [- c! p$ A2 T+ p, e" Y
  869. ;   extension=msql.dll9 n7 U3 Z- t" f! O# ~9 U
  870. ;
    : _$ `; T& q, S: p- g, e; p8 X
  871. ; ... or under UNIX:) U" ^& J2 {: @$ U2 X
  872. ;6 \- ^, U6 s3 N& o9 [! p  S( [
  873. ;   extension=msql.so; B+ Y0 U/ ~. b9 Q
  874. ;
    : ?( i3 K  B9 u
  875. ; ... or with a path:" ^4 O9 z. y& I0 P; D
  876. ;1 W) S6 f5 m: S7 D7 j( ~
  877. ;   extension=/path/to/extension/msql.so( s! \- A% j5 A
  878. ;
    % O/ m8 u4 Q' T; B0 |' t
  879. ; If you only provide the name of the extension, PHP will look for it in its
    , Y, q; l* E' V0 O0 ^; n( o1 Y
  880. ; default extension directory.
    : J& `. u+ k. @2 A& @
  881. ;
    ' S$ C+ l# Z( t& ]; ?! ]7 R$ h
  882. ; Windows Extensions0 [: V: c: }7 }) l  ?; j6 Z
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    7 Q5 b) F7 L+ {
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)! e+ B- u9 E: R" B
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    3 z4 g5 V5 q* X8 Y0 }
  886. ; Be sure to appropriately set the extension_dir directive.# z  }$ g5 ^- s* G" s- {& S! c
  887. ;
    , o9 L0 }# K$ f+ `5 Q: g
  888. ;extension=php_bz2.dll; T; t! [, g# T
  889. ;extension=php_curl.dll
    + Y0 ~* x; I+ _1 ?
  890. ;extension=php_fileinfo.dll7 _, _7 @4 T, u( Q) y: T
  891. ;extension=php_gd2.dll/ @; J* m8 Z7 |1 y
  892. ;extension=php_gettext.dll
    + y0 R9 }8 C% B) H  Q& j: B
  893. ;extension=php_gmp.dll/ }! Y2 v& b; e( z2 r7 H
  894. ;extension=php_intl.dll. I; p2 v" f: \& }* o' ^
  895. ;extension=php_imap.dll9 A3 R( k& v- _0 \* Z$ |* Y4 }
  896. ;extension=php_interbase.dll5 m$ S( e. _9 @: x1 J, t
  897. ;extension=php_ldap.dll
    4 N1 q! k) Z% o5 O
  898. ;extension=php_mbstring.dll( k! }- Z: r8 F" U8 w' U; o% z$ C& X# X
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it/ }! \5 ~. z/ Y% H
  900. ;extension=php_mysql.dll
    7 n# `% B; x$ @3 t; Y
  901. ;extension=php_mysqli.dll
    ! ]4 W  t: B1 D. p1 E/ x
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    , e! y3 {) p' z
  903. ;extension=php_openssl.dll
    " v4 u4 {4 C1 {3 \/ a  Q2 A
  904. ;extension=php_pdo_firebird.dll9 M( _  d0 M% {* x: D
  905. ;extension=php_pdo_mysql.dll
    / A) d* j: c+ G, Q3 P. i8 z, G
  906. ;extension=php_pdo_oci.dll
    ( t# T3 J- c8 K* B$ w
  907. ;extension=php_pdo_odbc.dll
    5 _* m2 r: c5 \# N* |
  908. ;extension=php_pdo_pgsql.dll
    - ~( `/ s3 t6 J6 c
  909. ;extension=php_pdo_sqlite.dll
    8 U; O( q& D8 j5 ~% X$ G8 [4 ?
  910. ;extension=php_pgsql.dll
    2 T9 C. y' u1 M
  911. ;extension=php_shmop.dll
    ( K* x; v; O! I

  912. ) F% i( `( `$ c& Z- q& n
  913. ; The MIBS data available in the PHP distribution must be installed.
    # @& o! O- Y( O1 z, N
  914. ; See http://www.php.net/manual/en/snmp.installation.php / U  S' A' H4 ^) H: h
  915. ;extension=php_snmp.dll
    4 R2 T8 I( A' d7 Q
  916. : R: J# f# b* @, h* x
  917. ;extension=php_soap.dll& J4 P  X6 X7 T, C$ s
  918. ;extension=php_sockets.dll6 Q7 W, m+ E! [8 c) r3 l3 P7 N
  919. ;extension=php_sqlite3.dll
    ) s$ j0 M, a  g& b
  920. ;extension=php_sybase_ct.dll  ]  h  {+ D! _5 _# \
  921. ;extension=php_tidy.dll" \% ?  z3 _/ J. |* K5 i3 P& h3 @
  922. ;extension=php_xmlrpc.dll
    5 w$ u* c9 A+ G! j7 }
  923. ;extension=php_xsl.dll
    * {8 q& m" M& G( V' @$ d; A

  924. - V2 m' r4 v- I0 _2 v! ?" y
  925. ;;;;;;;;;;;;;;;;;;;
    ( j. {. o: m: o2 O2 F1 p- M9 z8 T& }
  926. ; Module Settings ;
    - b+ r* Q3 o5 T- u+ A
  927. ;;;;;;;;;;;;;;;;;;;
    4 K% ?  e, c- v! K

  928. 5 k( e: u% Q8 k1 b6 |
  929. [CLI Server]9 _/ j7 \) C. f& r6 f+ F9 v2 C
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.# g9 L+ a' ^2 L4 f
  931. cli_server.color = On
      w/ t3 J: i+ p0 x* Y

  932. 2 y$ ^2 B+ x9 z% Y
  933. [Date]
    6 |: W1 T% F: n% i# i, a# _
  934. ; Defines the default timezone used by the date functions
    8 H3 M; Q5 h6 x" r" m
  935. ; http://php.net/date.timezone8 D( b# C# `1 z- O
  936. date.timezone = PRC: \, M' W& g4 O# n

  937. " x, Q% ?3 [9 B, c
  938. ; http://php.net/date.default-latitude
    9 w. `9 r: s0 q
  939. ;date.default_latitude = 31.76677 J+ _' T( h' i3 a3 B
  940. & q* P/ G3 [' T% y1 {6 X' ]3 B5 \
  941. ; http://php.net/date.default-longitude
    + j/ Z  W4 \9 p8 r
  942. ;date.default_longitude = 35.2333
    . y+ y3 |" j$ a- [4 B& P
  943. + r  ]. i9 m- Q8 |( ?5 W& U1 g
  944. ; http://php.net/date.sunrise-zenith
    % a# J- W- E, o
  945. ;date.sunrise_zenith = 90.583333
    5 w. G3 ^+ Y+ y- {
  946. + i- n; v9 }9 h9 J' |. U! S
  947. ; http://php.net/date.sunset-zenith: t1 I5 U* [( A9 U1 z1 R: |: t
  948. ;date.sunset_zenith = 90.583333
    ' ]# K5 W- [8 T6 \# ^. ~
  949. * v( F9 h+ O' L+ ~. M, w" \% K
  950. [filter]
    0 L+ a" K: ~  N! H% M1 ?. g
  951. ; http://php.net/filter.default
    # E. Z, r4 V. g) ^. g9 _+ S
  952. ;filter.default = unsafe_raw
    - B5 f1 _& @0 P6 ]  D

  953. 8 Q0 x( u/ A& X& a. W5 N
  954. ; http://php.net/filter.default-flags
    % z( q+ f6 \+ h
  955. ;filter.default_flags =9 j! w$ v) W. k0 _- Z: M4 X1 `' g

  956. * t8 A  V- s6 B) [- a9 z6 F/ K
  957. [iconv]
    8 @6 ^0 G$ l- v8 Y1 l$ S
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # [2 r& m8 O# p3 e
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.9 ?& Z: i) [" e4 E' c
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding- C" T6 `" f3 i" f
  961. ;iconv.input_encoding =
    1 `! O' e1 |. C4 y8 _$ P) L
  962. 3 x2 m: ^1 |1 L+ r  o( Y
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.0 M; A  U0 X6 @' a) J, w# _' e
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    " v8 [2 v4 e8 Q& |5 L" G# `
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding6 t8 Q" s- J" m5 \
  966. ;iconv.internal_encoding =4 {6 d1 p7 Z$ l" E! x+ W
  967. 4 {: x7 R$ o) K9 O
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.4 B& T1 h, y$ b# A7 v
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.& P* Y% w* X' R, Y: H
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding% l- a& e( h' p& v/ ^5 _
  971. ; To use an output encoding conversion, iconv's output handler must be set
    7 R+ [6 ^" x4 v* y% f
  972. ; otherwise output encoding conversion cannot be performed.: Q/ v" H4 `# p* B. o: ?. a
  973. ;iconv.output_encoding =! h9 a: F1 w8 @9 U( T% g6 e* b; ~

  974. & h& n  B' _9 a' E; z
  975. [intl]
    * q, U7 E, M3 d3 E, {& }' ~) k! p
  976. ;intl.default_locale =
    2 k4 r' b/ L1 u* c$ u& N" {9 x
  977. ; This directive allows you to produce PHP errors when some error
    ; C; {* R9 Q3 U' T5 Y6 q) g
  978. ; happens within intl functions. The value is the level of the error produced.
    9 K1 D) i& R2 d% A2 V9 m! h6 H
  979. ; Default is 0, which does not produce any errors.
    . G& T6 L, Z8 K( N: Z; W. Q7 {% e
  980. ;intl.error_level = E_WARNING
    8 E: Z& l! y7 o6 n" I# ?
  981. ;intl.use_exceptions = 0
    6 {- Z$ p  P7 G, B3 E) V, x' W
  982. 8 J3 `1 A& o$ O  e
  983. [sqlite3]
    6 i# f5 c0 a& I- _
  984. ;sqlite3.extension_dir =% Z- G8 t- J7 B1 J) I3 V9 }9 b/ q

  985. 8 L' g7 o  \5 k! f* i" `4 `2 A2 a
  986. [Pcre]) [, z0 ]7 V' ~/ K' F
  987. ;PCRE library backtracking limit.
    3 `0 n% R! E/ {5 r8 v, m1 w
  988. ; http://php.net/pcre.backtrack-limit2 a5 Q) q  y& x2 O  @& w
  989. ;pcre.backtrack_limit=100000
    4 A* J4 r9 n/ e

  990. 2 q, V. u1 J. q: j9 q
  991. ;PCRE library recursion limit.( H( O' J% [7 ], A4 n! l/ \
  992. ;Please note that if you set this value to a high number you may consume all
    ( O. g' c: _* v4 a( B
  993. ;the available process stack and eventually crash PHP (due to reaching the
    1 Z9 j# A, [' x" r3 l$ K+ d  T
  994. ;stack size limit imposed by the Operating System).6 M. S6 r1 x2 o
  995. ; http://php.net/pcre.recursion-limit# G4 u2 A) Z' m/ R; h. }
  996. ;pcre.recursion_limit=100000
    : x- z+ ~* j# E: G3 I

  997. & c  E5 M5 X9 F" O' X
  998. [Pdo]
    * t- }  `8 g: f, u; n1 G4 j1 v; c
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ' L( Y" z9 W6 Y! d& `
  1000. ; http://php.net/pdo-odbc.connection-pooling$ |' X  f1 C! c& J
  1001. ;pdo_odbc.connection_pooling=strict8 U8 Q0 ?/ i. U/ c5 a& M$ C5 P0 o! q7 Z& y: r

  1002. ( t! T5 y; |1 P5 E- g: r
  1003. ;pdo_odbc.db2_instance_name
    $ O1 Q5 g% M* p' _6 g

  1004. ' }  H6 o1 Y& ^
  1005. [Pdo_mysql]5 H; u6 a" p2 j% x% [0 K: [! U, k
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / T1 G* N/ v- w7 C+ N
  1007. ; http://php.net/pdo_mysql.cache_size0 M" A0 U5 d- Q6 I
  1008. pdo_mysql.cache_size = 20007 s# J, J0 k1 L4 X' W" q0 P6 p

  1009. . @! v9 U) u8 k* q; S6 A& H: ^
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & ?" t$ S( E1 C  O
  1011. ; MySQL defaults.
    9 L9 @" Q$ i) x- C; v; C; a, X
  1012. ; http://php.net/pdo_mysql.default-socket# f) k, r; M- {" W
  1013. pdo_mysql.default_socket=* p& c' R" g  f5 X! |

  1014. 5 W% l/ Q- F9 O* G0 d' _1 q
  1015. [Phar]
    3 `9 m* ?: b; {. K- x( \) ~
  1016. ; http://php.net/phar.readonly
    9 _5 X! b$ M0 I# H$ b+ B' E
  1017. ;phar.readonly = On) \. H# V2 F0 l5 ]- K: P  C
  1018. ' N  ?# Z9 k5 }! A% |  m
  1019. ; http://php.net/phar.require-hash" H/ h2 ?3 b1 U6 E6 R: E1 i
  1020. ;phar.require_hash = On
    0 ?8 i, a3 R' e5 P( e
  1021. " j! ~) v+ x3 @: p
  1022. ;phar.cache_list =
    + ^6 _9 y9 q8 }

  1023. ' _3 I7 m- i) \) }: O: H- `5 H* c
  1024. [mail function]
    + i  }% Q* K$ m- e
  1025. ; For Win32 only.
      z6 N( W; @  I  l& j
  1026. ; http://php.net/smtp
    4 i2 b/ {6 @( p! l+ G" H0 J
  1027. SMTP = localhost
      G* z1 @& a( V
  1028. ; http://php.net/smtp-port
    6 U2 [5 e$ O4 f7 a8 t4 d( e% N
  1029. smtp_port = 25
    ( _& a' j! |8 M8 B5 H: ]

  1030. ! F9 X; O/ R& v# Z8 a3 i
  1031. ; For Win32 only.0 v9 [9 L+ `9 `6 m
  1032. ; http://php.net/sendmail-from
    : N7 b* E6 v( q+ l& q3 U$ ]
  1033. ;sendmail_from = me@example.com
    - G' S: a4 y* h- O0 e) u
  1034. 5 X) Q* _1 W3 t7 Z' f
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    2 q" n# ~' W# I3 S5 w! S# `
  1036. ; http://php.net/sendmail-path
    : u: e; O* j% B2 l
  1037. sendmail_path = /usr/sbin/sendmail -t -i  y" j; M8 v8 r; C

  1038. # t' A* o8 F# `: o, Y* k0 G
  1039. ; Force the addition of the specified parameters to be passed as extra parameters, t: \" I/ ]6 @) T! k7 E
  1040. ; to the sendmail binary. These parameters will always replace the value of
    2 Q6 R  r/ v) `! }+ _6 f3 s1 ]- N# W, p
  1041. ; the 5th parameter to mail().
    # x% G+ }, }( ~( ~
  1042. ;mail.force_extra_parameters =
    , Q8 Z9 ?* K# X; [- f

  1043. + z. I) \6 x# g9 [
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    # F6 \  E( ^/ \7 p0 ~' G
  1045. mail.add_x_header = On7 m0 v5 Z4 ?0 J; y& D
  1046. " o$ U2 p* n5 w9 R+ v; A
  1047. ; The path to a log file that will log all mail() calls. Log entries include0 j" ^& S. Q- b' B" T
  1048. ; the full path of the script, line number, To address and headers.
    ; X  |  Z* @8 X5 e2 t
  1049. ;mail.log =
    9 w' |1 w7 e" [: T
  1050. ; Log mail to syslog (Event Log on Windows).+ y3 y# F+ ]- c) H; `! u
  1051. ;mail.log = syslog8 `0 w! Y. D9 i$ b  j) x# V1 t2 Y
  1052. ' @% _* I+ z) t0 X# y
  1053. [SQL]' e0 e& d* c5 {9 N
  1054. ; http://php.net/sql.safe-mode
    9 Z! J3 {) i( U0 W) K- w
  1055. sql.safe_mode = Off
    ' o; L7 f( |; d2 @: W

  1056. / M: C% u' v3 }, ~; c
  1057. [ODBC]7 t1 l( h# b  b
  1058. ; http://php.net/odbc.default-db+ Q% {+ [1 ?; n  _( l. X8 g
  1059. ;odbc.default_db    =  Not yet implemented
    4 y$ p% W* x0 D& C" n* Q+ E4 ]6 J# |

  1060. 1 c/ `- s' g3 e, U( E- W, }
  1061. ; http://php.net/odbc.default-user
    4 l0 D2 P; L9 b/ D' ]: G5 M
  1062. ;odbc.default_user  =  Not yet implemented3 T6 T# T% `, e8 U

  1063. " k. o  z$ C  @8 Y' H8 l" b
  1064. ; http://php.net/odbc.default-pw
    & q, N# A) v- i0 y1 U  s8 ?
  1065. ;odbc.default_pw    =  Not yet implemented( Q. |% f" i6 D( ^3 u; u3 L9 {
  1066. 9 [; Z6 V5 D6 Q5 y# K
  1067. ; Controls the ODBC cursor model.. `* r9 b* ?6 e2 e& i  R$ I/ F
  1068. ; Default: SQL_CURSOR_STATIC (default).
    8 z# B' [6 d) \+ l
  1069. ;odbc.default_cursortype' N$ q$ s+ \" X% D; A

  1070. 0 O1 u1 d2 A3 z+ i/ W
  1071. ; Allow or prevent persistent links.9 a* P0 c4 D! B2 l' v9 }
  1072. ; http://php.net/odbc.allow-persistent9 I& K) L# _7 q5 P0 C7 W
  1073. odbc.allow_persistent = On
    & T: I. h$ v6 G$ o

  1074. / Z6 m; N( |- o9 X( Q
  1075. ; Check that a connection is still valid before reuse.
    & N" f4 n$ T+ n1 w
  1076. ; http://php.net/odbc.check-persistent1 |$ T( w5 Q9 p: e$ O6 C$ ^7 a
  1077. odbc.check_persistent = On6 h# S( K" F( S( g
  1078. 8 c' @! y5 D9 p+ {' @) a7 ?' @' I' h8 a
  1079. ; Maximum number of persistent links.  -1 means no limit.
    9 x) W4 [! u0 a$ v8 Z' B
  1080. ; http://php.net/odbc.max-persistent- N% t+ s  ?" R5 `' M1 y
  1081. odbc.max_persistent = -18 R9 w. @( r7 O. o5 ?6 ~: l! `

  1082.   t, m. P5 a; M) B
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- {, P5 {6 W. K4 @* w4 v+ y1 c
  1084. ; http://php.net/odbc.max-links
    $ f/ F. X( f7 K3 r0 n
  1085. odbc.max_links = -1/ f" r$ D7 d1 R$ {$ `) S% r' }

  1086. # C* e/ D4 |4 [6 d7 [2 X
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means4 ]  D' O' l9 {  F2 [  p+ m
  1088. ; passthru.1 ~& g3 L! W& i) n! @3 ~2 u
  1089. ; http://php.net/odbc.defaultlrl
    7 ~5 ?! ~  |! R, v1 r
  1090. odbc.defaultlrl = 4096! q8 p. a/ ~: h3 g1 |
  1091. 2 q# {( ~& ]) Z
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.* \  E; C+ D9 d
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation1 \# e% X# d9 i1 Q0 j) P- |
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode& F- n) }( j0 v$ Q9 ~
  1095. ; http://php.net/odbc.defaultbinmode$ m# T, ^) T+ g5 l% r: V
  1096. odbc.defaultbinmode = 1, v) l+ O4 {9 M2 @
  1097. 0 H: |6 L8 d( ]6 ~8 b9 p# n) B- M
  1098. ;birdstep.max_links = -1
    2 z6 l; }/ N; H0 a* v
  1099. 9 n9 Y! R2 k3 z
  1100. [Interbase]% c& L+ N1 X, d4 @' k* n5 D
  1101. ; Allow or prevent persistent links.
    . O: F" y3 Q4 C$ y) {% j2 Y
  1102. ibase.allow_persistent = 1) S1 I1 f& k0 A$ o* E

  1103. 0 B! M* k# s9 H: F5 w8 E
  1104. ; Maximum number of persistent links.  -1 means no limit.
    : T+ h: ]& D9 t% a) b
  1105. ibase.max_persistent = -12 n! K1 _. Y4 q/ o& n$ i# t& v
  1106. - M; S' Y' X2 k, q3 O% S
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( _& A+ b7 s) {' C
  1108. ibase.max_links = -1
    ; x$ T; Q% E; t+ A# n% @

  1109.   }/ V3 R, A2 ]- L
  1110. ; Default database name for ibase_connect().
    0 j- a/ Z7 X7 T
  1111. ;ibase.default_db =
    " e: Q" ?' M8 W! H2 _' S
  1112. 8 C; |8 M& `+ m+ t
  1113. ; Default username for ibase_connect().
    4 L8 d) Y) B4 |+ y0 m( S
  1114. ;ibase.default_user =! o- p. q/ j. R: h4 x! `. ~) }3 L
  1115. ' x/ G$ Y4 v, G: u& }% C
  1116. ; Default password for ibase_connect().$ p/ {3 S+ j4 s; q
  1117. ;ibase.default_password =/ l, p, u' I& e1 f) q

  1118. " s( t0 [; Q: c$ _' p8 m9 m
  1119. ; Default charset for ibase_connect().1 M1 X7 {8 x. e
  1120. ;ibase.default_charset =. {6 M; `& |; V0 e5 y8 C
  1121. 5 q  {! w" R/ n# a+ m0 ^9 e6 \
  1122. ; Default timestamp format.
    - I" z" E9 J6 ^2 M9 q  O/ b
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ' b+ Y+ L; t* k- g, e8 M7 r
  1124. / _7 j* @3 k* Z& a# ?
  1125. ; Default date format.
    ) [: C+ Y% N6 J0 C5 J$ Q3 i# x
  1126. ibase.dateformat = "%Y-%m-%d"; z) m3 D7 ?" {/ n! {

  1127. 1 Z3 m& g5 F0 Q2 V
  1128. ; Default time format.. n+ k9 R' g: X2 ^5 W; v
  1129. ibase.timeformat = "%H:%M:%S"
    ( H' B4 g: U  r& w- r- ]
  1130. 6 S. E# K, \) A) i0 L3 f
  1131. [MySQL]* x! v/ j, `9 U8 m; Z" v
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    - D; C" ]5 ^+ p
  1133. ; http://php.net/mysql.allow_local_infile
    3 Y; k$ M, C, W% p3 x
  1134. mysql.allow_local_infile = On. X7 p. U; c1 G0 A+ C
  1135. * P' z' |! o+ Q! _
  1136. ; Allow or prevent persistent links.: ], q5 u/ S. C, S( h8 y
  1137. ; http://php.net/mysql.allow-persistent
    % s- C2 f# B. X0 S; k
  1138. mysql.allow_persistent = On$ D$ F* R! t. ]1 e& O. E4 g
  1139. $ U  K2 \6 l. e# D$ C* o( H
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 s: z! N1 X- B9 ?% G$ c
  1141. ; http://php.net/mysql.cache_size
    5 R) u& `+ N0 H9 n! t
  1142. mysql.cache_size = 20004 d8 ^5 h% E4 `
  1143. , v; x1 q' I  H
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ; S8 m% u! a# ]9 V
  1145. ; http://php.net/mysql.max-persistent
    . ]; N2 _% H( B# W
  1146. mysql.max_persistent = -1: A+ t' O8 d" c  O
  1147. $ H6 d2 D5 b5 @1 z, ]  S
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 t0 h2 [5 J- I4 z
  1149. ; http://php.net/mysql.max-links4 ~) R5 f) F. ~" g+ o
  1150. mysql.max_links = -1
    / U2 k% \! c/ x2 Y5 S) K% g

  1151. 9 |) w$ h% I2 i, _+ h& V& ]
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    & m$ l; \, O' C! e$ v" j) S5 B
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the0 n1 o! x" K  U4 O
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look& K6 u) N: P2 p5 B
  1155. ; at MYSQL_PORT.4 F+ _  }, y7 X7 u( c
  1156. ; http://php.net/mysql.default-port
    0 ~+ z& D: y9 T7 \& E
  1157. mysql.default_port =
    # r) e% L# B: @9 ^+ D7 H6 Z  C+ f3 @
  1158. 0 _2 T7 P6 k  o1 g/ j
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 p8 E& d$ @% ?$ s: E) _
  1160. ; MySQL defaults.% E( r( d( ?% A: o
  1161. ; http://php.net/mysql.default-socket
    + \' j7 ^$ e5 X' G2 i% y% N- C6 q  T) k
  1162. mysql.default_socket =& T# Y, d* u" A1 L$ b
  1163. 5 D" X9 R+ p/ I9 j  H' {5 }5 u
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    8 r* K; k7 j4 P! x
  1165. ; http://php.net/mysql.default-host0 s7 C) n# L& K9 H: @8 Z
  1166. mysql.default_host =  M7 f5 z. V* V1 R- r! W& q

  1167. 8 T6 s$ U( V+ W: @4 }4 J# @- ~
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).5 O9 e3 _+ M; v3 Z
  1169. ; http://php.net/mysql.default-user
    $ b2 h" n' u4 R
  1170. mysql.default_user =7 a( e9 F# k' O; a9 t- t) ?2 E
  1171. ( I  p1 x) q* ~$ q& @+ b0 n7 x
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode)./ ^% J7 e  U. i0 ?2 n, v$ w& O
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    1 h" s1 W) ~1 \5 p+ a+ L
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    , T8 u9 G; w3 h! z6 q7 O) I9 }; ^
  1175. ; and reveal this password!  And of course, any users with read access to this* m3 ?4 ~# E2 G  i( x
  1176. ; file will be able to reveal the password as well.
    ' v: k" }$ C5 {3 |* \
  1177. ; http://php.net/mysql.default-password
    8 ]2 `1 N+ a7 J/ `
  1178. mysql.default_password =
    6 k2 b% _% E" {: M* X
  1179. , l4 p0 X$ ]6 [! o  n
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    % H+ y, t& f* C+ D1 T# E
  1181. ; http://php.net/mysql.connect-timeout  H  e8 a$ X1 r6 u: J0 B
  1182. mysql.connect_timeout = 60# [+ i1 u, ~1 ^/ X
  1183. ( K* o  m5 I& t( i" o
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and5 d- B1 a* L1 e4 Z! B+ h
  1185. ; SQL-Errors will be displayed.
    - C7 W& B" ?$ Y% _6 P3 S
  1186. ; http://php.net/mysql.trace-mode( ?/ c& p7 _0 A
  1187. mysql.trace_mode = Off
    9 W* o: A4 \2 X5 b% c
  1188. : i( v0 {9 h& G% u( n5 n
  1189. [MySQLi]
    + H1 z0 ^; B9 F4 S1 I

  1190. , k0 w6 H5 P. O
  1191. ; Maximum number of persistent links.  -1 means no limit.& v5 Y4 I4 }, c. w+ A7 U
  1192. ; http://php.net/mysqli.max-persistent0 q' y* Z6 b) K+ k
  1193. mysqli.max_persistent = -1
    - F& u% n" h* I
  1194. 3 Q6 z( u5 r( D% |- K: B1 ?! t' ^
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    + g! u. U  W( M+ V. U' M
  1196. ; http://php.net/mysqli.allow_local_infile
    3 E- C. y5 l2 M" s6 [  x. f
  1197. ;mysqli.allow_local_infile = On; K: n! P+ F5 G
  1198. 7 y3 F5 V( x' ^! h3 [/ u
  1199. ; Allow or prevent persistent links.( A: y% v2 I" A5 T" D
  1200. ; http://php.net/mysqli.allow-persistent
    % {9 I; B: c$ {$ K& H1 Q/ H
  1201. mysqli.allow_persistent = On$ @9 L3 ^. ]& C: O- k
  1202. ! v: Q; e* |4 \$ C$ @
  1203. ; Maximum number of links.  -1 means no limit.
    6 z$ |1 B) p3 u' Z6 P  g
  1204. ; http://php.net/mysqli.max-links
    7 |2 F6 W, b0 a2 z9 j
  1205. mysqli.max_links = -1
    5 C! F& R2 d/ g6 ^, ]2 _5 o- E

  1206. & C  R5 o9 q" e$ G  @
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    3 m! F9 N& J+ _0 x
  1208. ; http://php.net/mysqli.cache_size
    8 a' t, D7 X* ?* J: w( X1 t. b
  1209. mysqli.cache_size = 2000
    ; |9 m4 l& L& `9 J; Q/ o

  1210. 3 w5 B# K9 M3 F. Q
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    1 {" _. R# z/ A% n. J% N
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the: o8 `2 j0 B9 d" x
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look  H1 L4 C4 Y4 \% M- B0 p
  1214. ; at MYSQL_PORT.
    " I' ^7 i5 p0 v* X. U6 l& O$ S
  1215. ; http://php.net/mysqli.default-port+ K/ \4 c- E) B4 w3 n6 N
  1216. mysqli.default_port = 3306
    , U4 ~* f4 W' a2 n0 l4 z! ^' {
  1217. + l& {4 y; S  k2 B, ]0 O
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 H+ {+ X  ~& Y1 ]5 W# Q
  1219. ; MySQL defaults.
    6 W( O+ a+ o! G- N; o1 F. j
  1220. ; http://php.net/mysqli.default-socket' [! c" h( m" i2 S6 ^8 E  K
  1221. mysqli.default_socket =3 r2 Z. f; y* c3 k& Z1 f
  1222. $ p& _1 l# b4 C7 y* T/ I
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ) ~  ?# @3 U, J* e! f% g: o
  1224. ; http://php.net/mysqli.default-host- O2 d! Z  d3 t* e
  1225. mysqli.default_host =
    2 @9 T( |& p' \/ N, p
  1226. 7 W, j8 d; M/ L
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ' `. H1 I) x- G
  1228. ; http://php.net/mysqli.default-user
    * m0 w2 T7 h1 Z( d0 ?! v
  1229. mysqli.default_user =
    4 \. v, Z7 g, v+ A8 Y  b& z

  1230. " R& i& K- C( U) x% I4 H' i2 G
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    0 Z+ w$ {; F: d+ ?; I. p
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    * c; Y! a/ Z' `7 C3 J
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    * [+ f9 C/ x, z& g0 r
  1234. ; and reveal this password!  And of course, any users with read access to this% S( P+ v" D8 j2 H% l6 c
  1235. ; file will be able to reveal the password as well.
    # U2 S: b; R# a( Q1 T, z; p, f
  1236. ; http://php.net/mysqli.default-pw; M! Q# [, F/ C: z" \- R
  1237. mysqli.default_pw =; b9 [* F& o- p+ |% L
  1238.   @0 u8 S% S+ }1 a+ q9 @
  1239. ; Allow or prevent reconnect( B/ ?" G2 Q; @( k3 Y
  1240. mysqli.reconnect = Off  e+ z3 T* Z+ P8 N- Z/ P7 b
  1241. , E6 B, G" H! M' U
  1242. [mysqlnd]2 i) M' b# x6 N( [# Q
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be: I" v1 d) p( a$ I0 |0 x& a
  1244. ; used to tune and monitor MySQL operations.! n+ \9 d: k& I% a* o& \9 S
  1245. ; http://php.net/mysqlnd.collect_statistics" d6 J8 c+ E8 z# `, {: V. l
  1246. mysqlnd.collect_statistics = On" a; S: F) T& Q, M
  1247. # j/ N1 n8 n! B5 A8 Q3 S9 m
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be* \8 C) V3 V9 c8 ?* q
  1249. ; used to tune and monitor MySQL operations.
    ! T1 n+ m5 Z, }7 D. T. q
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    5 ]. N4 A) g# {- N8 S. p$ W
  1251. mysqlnd.collect_memory_statistics = Off) }' B# ^3 N8 y0 @& k( V/ i! K! q

  1252. - Q6 x8 d% @9 @* r, v. U
  1253. ; Records communication from all extensions using mysqlnd to the specified log) X! y5 D) g5 F& N6 a! L+ z
  1254. ; file.; y$ s9 Y" L0 \( k3 y
  1255. ; http://php.net/mysqlnd.debug
    5 ^, \* Y* H0 h4 N
  1256. ;mysqlnd.debug =: Q# R8 t! Q% S2 w3 l) Y4 I( s' u
  1257.   B: Y5 n! _( h2 P9 @
  1258. ; Defines which queries will be logged.( s# T. j6 k0 @* t
  1259. ; http://php.net/mysqlnd.log_mask
    2 w; y7 |0 j6 ?8 c2 v& v5 b
  1260. ;mysqlnd.log_mask = 0
    * I0 u4 V+ F" z. i% n

  1261. . V  W8 B' e: R4 W- d  L
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.# M9 i% i6 ]& z4 D7 r+ H2 c
  1263. ; http://php.net/mysqlnd.mempool_default_size) [& X9 G# m, {
  1264. ;mysqlnd.mempool_default_size = 16000
    ) D! Q8 I" G( Y/ S* U9 p& t
  1265. $ s5 L( a( I1 I. I
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.  r2 a: w, f9 s+ r
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    7 i! d( K7 K0 Z& }
  1268. ;mysqlnd.net_cmd_buffer_size = 2048' {& f/ p, }2 `" l( _* i
  1269. 9 o1 O$ X* p4 n4 k
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in* W: O- s! x# g) [0 b
  1271. ; bytes.
    : {1 `$ j' P0 ^: l2 _/ S9 A
  1272. ; http://php.net/mysqlnd.net_read_buffer_size3 ?7 a/ q3 h3 ]  C" J$ _' E
  1273. ;mysqlnd.net_read_buffer_size = 32768/ _+ T) _3 ~, G" @* P- F1 V& v; a

  1274. ) V! v; p4 w& x5 R
  1275. ; Timeout for network requests in seconds.6 V# [' l9 e$ |5 i
  1276. ; http://php.net/mysqlnd.net_read_timeout
    4 T0 u, {/ _! G  e# [+ d
  1277. ;mysqlnd.net_read_timeout = 31536000
    9 N" G+ I( D- C, L

  1278. - M  i; _# l6 N+ w6 G
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    # v6 h$ l6 S+ r2 n- k# Q5 c6 }
  1280. ; key.
    3 R, J8 G: a2 K: q/ j5 H
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    - ^' v  u' @' s; A
  1282. ;mysqlnd.sha256_server_public_key =6 ?* q2 u* q2 y1 A! D0 u8 ~, H
  1283. 1 e6 w7 S. N: g( q" N! |/ Z7 ^& V
  1284. [OCI8]
    # ~5 r. E8 M3 [1 {
  1285. ' T. J/ U9 Q+ p* d1 n+ P
  1286. ; Connection: Enables privileged connections using external
    : M& e) c( Y. H3 A9 {- t; q3 h) y" h
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ; p0 l2 y: r" B4 f* q
  1288. ; http://php.net/oci8.privileged-connect% c# u6 ~" L# a! Z
  1289. ;oci8.privileged_connect = Off
    , j# f* c% t1 q4 m: @

  1290. % _5 i9 d3 ?+ h4 x7 n
  1291. ; Connection: The maximum number of persistent OCI8 connections per2 [7 y0 l* S! x- V3 y0 a+ @( ?
  1292. ; process. Using -1 means no limit.
    3 a% Z8 b% r. {. q9 W6 D  I( ]
  1293. ; http://php.net/oci8.max-persistent
    0 n  w  V' Z" r/ \" P; x/ M6 t0 ^
  1294. ;oci8.max_persistent = -1
    - f0 |2 F: Q& z+ D# I
  1295.   d- i! |: w9 v3 G- O& y0 h
  1296. ; Connection: The maximum number of seconds a process is allowed to
    / c# p( E" Y9 }) O% C0 F
  1297. ; maintain an idle persistent connection. Using -1 means idle
    + W) B: q& T$ y5 r/ V! j
  1298. ; persistent connections will be maintained forever.
    . w/ V/ S1 S) N
  1299. ; http://php.net/oci8.persistent-timeout
    0 t' i  a3 g, _6 Q1 D4 q
  1300. ;oci8.persistent_timeout = -1
    ( J, g+ ^  G, b
  1301. ( o" _) z  O# ]  g$ K
  1302. ; Connection: The number of seconds that must pass before issuing a/ d$ W1 l3 E; O5 H* z( o7 P5 Z% Y
  1303. ; ping during oci_pconnect() to check the connection validity. When
    , l/ s1 J: }! C
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    7 L  v" e+ O( n
  1305. ; pings completely.* Z9 P8 W5 d. W5 j$ r* `" ?
  1306. ; http://php.net/oci8.ping-interval0 G5 ~3 y3 p6 @% ]# k9 S! _
  1307. ;oci8.ping_interval = 608 F0 O) u) }( H% ^# e5 M% x

  1308. - ~) f4 v0 c5 w/ B
  1309. ; Connection: Set this to a user chosen connection class to be used
      Q0 c0 g  v" U8 ~+ h0 ?
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    3 N, b! ]' _( I" w( p
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ' a+ S# s+ D* K3 T2 l# I/ I
  1312. ; the same string for all web servers running the same application,
    5 T# S' K* p" V
  1313. ; the database pool must be configured, and the connection string must
    4 ]0 ^% q& r0 @! q4 n4 _$ T
  1314. ; specify to use a pooled server.
    3 X4 B- e0 G# I) l$ w: @
  1315. ;oci8.connection_class =' N5 Y, p; D2 j: `# K' K! \( R

  1316. 9 {$ Q( a* C! H' R: N3 H" u: k
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ! J: @, J8 o3 @9 n' P. b
  1318. ; Notification (FAN) events generated when a database node fails. The
    ) w  T" c: I; B- a2 [
  1319. ; database must also be configured to post FAN events.8 F. P% w5 R7 Y# w
  1320. ;oci8.events = Off! O  `# ~& W" j1 [
  1321. # L- c8 Z! Z" _; ]3 {" c* f
  1322. ; Tuning: This option enables statement caching, and specifies how! _9 R/ Z, f  ~$ d
  1323. ; many statements to cache. Using 0 disables statement caching.
    4 E- W! d0 {$ u/ u+ b8 I
  1324. ; http://php.net/oci8.statement-cache-size' f( v5 _* j% D3 p! u) l
  1325. ;oci8.statement_cache_size = 20$ J9 E8 N1 w  H  {

  1326.   C- `7 x( F, a0 \- Q: F& U
  1327. ; Tuning: Enables statement prefetching and sets the default number of) P' o6 i& M' G4 G" s
  1328. ; rows that will be fetched automatically after statement execution.) _( e5 c% `0 v" x
  1329. ; http://php.net/oci8.default-prefetch
    + ]9 g  ~- V" p) D
  1330. ;oci8.default_prefetch = 100" `6 C7 e# Z4 C4 b- ?+ W% f

  1331. " r: K8 v( f1 Z9 R
  1332. ; Compatibility. Using On means oci_close() will not close$ X/ \, H* L  E+ |
  1333. ; oci_connect() and oci_new_connect() connections.
    9 @5 h& c+ k( G
  1334. ; http://php.net/oci8.old-oci-close-semantics9 Y  `6 ~! V& f7 M$ W3 y' d
  1335. ;oci8.old_oci_close_semantics = Off" C+ L% z0 P7 G# M6 [
  1336. ! ~" C' ~  Y  m, {7 A5 j2 x6 O
  1337. [PostgreSQL]
    & N: E' t& j/ `+ k" E! D0 j
  1338. ; Allow or prevent persistent links.
    , n0 d# J4 m& ^6 H" U7 B" D
  1339. ; http://php.net/pgsql.allow-persistent
    ' o* O- S) ]3 p" j: V% Q
  1340. pgsql.allow_persistent = On
    3 c6 J2 a1 J; z- g7 P

  1341. ; Q: F  e4 S1 [: Y
  1342. ; Detect broken persistent links always with pg_pconnect().
    0 c9 Z' }( {  G) J! Y9 |9 u
  1343. ; Auto reset feature requires a little overheads.: c" r9 F5 J  i  b
  1344. ; http://php.net/pgsql.auto-reset-persistent! q; L/ R& z7 g# L' A' v8 |  f
  1345. pgsql.auto_reset_persistent = Off$ U1 N/ Q- T' V
  1346. 0 ~. K: |5 C7 E( Q
  1347. ; Maximum number of persistent links.  -1 means no limit.
    3 M  d4 P/ l  v3 ~3 E/ U
  1348. ; http://php.net/pgsql.max-persistent
      C/ W7 a  ?+ r! d- q5 }3 Y5 ^
  1349. pgsql.max_persistent = -1* t) n: o# o, @

  1350. 7 I$ ~: [) {5 D/ V' O4 w0 {# }) b5 Z
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ Q9 n7 K7 R2 t( h
  1352. ; http://php.net/pgsql.max-links
    0 r& A  A/ Q# @: n! e
  1353. pgsql.max_links = -1
    ) k  e4 n+ W; h3 d
  1354. / ^4 N% b9 l/ x: Z
  1355. ; Ignore PostgreSQL backends Notice message or not.9 l+ ], T6 f4 s1 c$ h
  1356. ; Notice message logging require a little overheads.) J2 p6 i% @' ?: ^1 j2 B  h1 ~! H
  1357. ; http://php.net/pgsql.ignore-notice$ D* P: v4 y7 \& S# f' E5 o
  1358. pgsql.ignore_notice = 0
    ) H2 I9 [) r' `
  1359. 7 K5 O2 f% K3 R! q' M
  1360. ; Log PostgreSQL backends Notice message or not.& z$ l0 Z! A  J! u: w
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ' e4 F' I7 D, G2 `" a( W
  1362. ; http://php.net/pgsql.log-notice
    ( f# F7 r, P# ^9 s5 A) T
  1363. pgsql.log_notice = 0
    , v" x, ~/ Y2 p) R% k

  1364. 4 K- ^4 b. f, t# }1 t/ k. H/ W  ]
  1365. [Sybase-CT]
    ! N. h3 M0 w) E  D# m2 W4 k
  1366. ; Allow or prevent persistent links.) U1 S, S4 N+ ?: N, L! i
  1367. ; http://php.net/sybct.allow-persistent0 {. k1 d# ~" V% L
  1368. sybct.allow_persistent = On
    0 h* X$ l, T+ m

  1369. ( R" O/ i' P8 `: e  [) ~
  1370. ; Maximum number of persistent links.  -1 means no limit.
    - B# R# ~8 w: z% j1 Y7 h5 u0 m
  1371. ; http://php.net/sybct.max-persistent: H7 \: D# l) ?) X# e, w
  1372. sybct.max_persistent = -1
    0 o% l) @6 L: Z5 j2 ~
  1373. - Z) S8 [5 H( i
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 j; t. ^+ ^5 r) R0 l5 n
  1375. ; http://php.net/sybct.max-links
    ; _+ Y' x+ a/ Q, f0 g& J
  1376. sybct.max_links = -1
      R( _6 j4 F+ D' y3 F

  1377. - b8 Z% @: W" C" ^. w
  1378. ; Minimum server message severity to display.
    , V7 S  t' g) Y8 f+ M- u
  1379. ; http://php.net/sybct.min-server-severity, V/ U  W+ @/ |$ s. v7 g
  1380. sybct.min_server_severity = 10
    ) E% L) S1 S; t; c
  1381. 1 x$ ]; N7 b) k* @  E
  1382. ; Minimum client message severity to display.' V2 u' o% k/ ]7 x. n
  1383. ; http://php.net/sybct.min-client-severity+ @3 E& {5 C4 f. a
  1384. sybct.min_client_severity = 105 `7 `$ Z! j- d- T/ r

  1385. / ?$ x. v) Y  ?  D) d3 m! S
  1386. ; Set per-context timeout
    4 j- M% K8 S4 c$ ~9 d
  1387. ; http://php.net/sybct.timeout
    * _9 G( X& `4 o" X- S& i$ k
  1388. ;sybct.timeout=( t9 T  F) G2 d* R
  1389. 1 g; |2 a; S& m) J& G( c) M
  1390. ;sybct.packet_size
    ; ?! o1 W" W. [3 B

  1391. , G- R- K% d0 O
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.9 Q; k0 }$ _1 j: {4 y" ]- ~6 v, e
  1393. ; Default: one minute4 G1 g9 m# g( W! e
  1394. ;sybct.login_timeout=
    * D4 {$ k% O0 a( L3 s5 e

  1395. / v3 ^6 F  @' x5 ~
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    " n8 W8 ^) X& k8 r; ]
  1397. ; Default: none
    5 i2 Q1 m9 j$ Q$ n
  1398. ;sybct.hostname=  t& P# Q# J" l  Q* W* T6 Z  d

  1399. 7 x+ `4 D3 X& s( X
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    3 x' s% l1 r6 }
  1401. ; Default: 01 t# [% f; }5 f
  1402. ;sybct.deadlock_retry_count=
    / H& N  a& y# P% a8 x

  1403. ' e8 w' F6 f2 `. i/ L
  1404. [bcmath]& o6 m+ Q5 M! l1 Z3 i" ?% v! s
  1405. ; Number of decimal digits for all bcmath functions.
      W5 T/ V% r  s) r
  1406. ; http://php.net/bcmath.scale9 j" W) m: o; S1 u: z0 y7 R
  1407. bcmath.scale = 04 e0 Z" P4 |! {. L, V' {

  1408. ; p# `' w/ N# {- `
  1409. [browscap]6 |( V& c/ e3 o! v# O4 m: X3 g& X
  1410. ; http://php.net/browscap
    6 p. Z( U: a! J& x
  1411. ;browscap = extra/browscap.ini
    4 w6 X" D( a6 O5 H
  1412. 7 L' E! V- n- y
  1413. [Session]7 o. a$ \( n+ Z. M3 E, O* g
  1414. ; Handler used to store/retrieve data.: h$ U: o+ h  j( [: ?
  1415. ; http://php.net/session.save-handler
    0 K- {& T  X& `8 p7 L
  1416. session.save_handler = files
    7 u; q8 @( P+ }9 ?& ~# m* E
  1417. # W* I6 @% w# b0 S4 h) J2 c
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    . C0 p4 u+ @( v5 ~/ `4 t# J
  1419. ; where data files are stored. Note: Windows users have to change this: [  o) T$ p1 H, J2 Q3 O7 a$ Y
  1420. ; variable in order to use PHP's session functions.8 [& Q8 ]# W6 q$ W: v+ T
  1421. ;
    & G; ]/ ~, X' x4 i2 ^1 F1 }
  1422. ; The path can be defined as:5 j$ {7 m+ n: v5 W" D
  1423. ;5 [' \7 L! d- W( K# Q
  1424. ;     session.save_path = "N;/path"1 S0 K5 T+ F7 B4 U2 D7 P
  1425. ;* B$ D$ ?8 {8 f, @5 T
  1426. ; where N is an integer.  Instead of storing all the session files in3 a6 F) p  P3 m7 Z2 y/ x. g
  1427. ; /path, what this will do is use subdirectories N-levels deep, and' d! L+ N" A' E0 j
  1428. ; store the session data in those directories.  This is useful if
    - ]2 e" K# y- J. p7 O* o/ A
  1429. ; your OS has problems with many files in one directory, and is3 X# R& W; n( L) ], L. N
  1430. ; a more efficient layout for servers that handle many sessions.
    " ]6 H/ K( G4 \: B& I% l# M
  1431. ;( N' T1 ^8 _# o7 S1 k5 p! X
  1432. ; NOTE 1: PHP will not create this directory structure automatically.* {; e' p2 B* f/ u& o. r
  1433. ;         You can use the script in the ext/session dir for that purpose.( M! D" E4 e  K9 m# T( S
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    / _% `1 H: {- w
  1435. ;         use subdirectories for session storage) |. m# L  J9 X* X7 d, G9 u! y3 L
  1436. ;
    8 S* `& c3 K9 h7 Y/ z& W
  1437. ; The file storage module creates files using mode 600 by default.
    , _  q5 m1 W& r. c
  1438. ; You can change that by using5 e% r& b" ?  N. g& ^" w! ~" j
  1439. ;
    5 y3 g* ^9 o' j3 a
  1440. ;     session.save_path = "N;MODE;/path"
    - J! V  T. |+ n* x
  1441. ;5 _  ~$ `! T, I
  1442. ; where MODE is the octal representation of the mode. Note that this7 U  E& a1 c# k& ]
  1443. ; does not overwrite the process's umask.% a" i  n& a* W' c
  1444. ; http://php.net/session.save-path1 g% O3 j- P5 F) v  z/ e
  1445. ;session.save_path = "/tmp"
    & N2 K* y- N. a$ e! K# V9 R" q
  1446. ) i3 ]% R6 S% [& v' w+ b* Q
  1447. ; Whether to use strict session mode.( p  n% v: X7 b9 A
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate' v1 U) b2 S7 B: U: k: a) l
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    5 V- `( U% Z) `
  1450. ; applications from session fixation via session adoption vulnerability. It is+ O" p/ Y8 d  @& K- G/ ^5 e( H
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ; f* s3 f: ]) {
  1452. ; https://wiki.php.net/rfc/strict_sessions/ V& G  \: f1 a
  1453. session.use_strict_mode = 03 Q% I* L8 R4 @5 ]
  1454. ; p( V5 R% c. `. c, @
  1455. ; Whether to use cookies.
    5 i# K% c  }: |4 l
  1456. ; http://php.net/session.use-cookies; U* b  T3 x# x& E. g( [* E& x
  1457. session.use_cookies = 1
    & e; H; g/ A& p8 U: h3 \

  1458. + U8 m$ ~/ {3 Y" ]7 H" z' @
  1459. ; http://php.net/session.cookie-secure
    " l2 O' E5 Z# v' s2 U* X* f
  1460. ;session.cookie_secure =+ a/ U2 ], ]6 R# Z/ j

  1461. + ^4 ]  F% a; [8 b
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ! q/ V: C/ [2 Y) o# e" F: V" p
  1463. ; the session id. We encourage this operation as it's very helpful in combating* i' R8 ]: Z- S4 B1 D% ~
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ) E, k4 w( a! N
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.7 J- j# L4 r) O+ u
  1466. ; http://php.net/session.use-only-cookies
    # U5 E3 F8 n& }! X/ H4 c8 Q
  1467. session.use_only_cookies = 1
      t, [3 a9 ~, b3 r, C

  1468. 7 ]& L) x* F9 ?- s+ x
  1469. ; Name of the session (used as cookie name).9 C  L5 j; X& G, _7 @
  1470. ; http://php.net/session.name
    2 `3 \1 E  C7 o2 m2 L" _! w7 ^
  1471. session.name = PHPSESSID) f7 E0 F) j0 ~0 J

  1472.   B+ R4 M1 H% ^" g; s
  1473. ; Initialize session on request startup.
    : t- s! _. W1 }& j, @1 m
  1474. ; http://php.net/session.auto-start
    % s0 ^; ~" h$ O) L( d" [7 H; b' R; f6 p9 q) K
  1475. session.auto_start = 0
    ! C. t. y6 ~  ?! Y
  1476. - k% ^( q6 R* U; o6 I) q7 l
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted., b/ P; u$ N  L' c. [: s
  1478. ; http://php.net/session.cookie-lifetime. k- N/ S9 C3 U  |4 I
  1479. session.cookie_lifetime = 0
    ; g0 e9 R8 E' P7 w

  1480. 9 h; z" j  o% }+ o2 I2 z# o! K
  1481. ; The path for which the cookie is valid.
    & o5 L  D- `7 w( A# n" f
  1482. ; http://php.net/session.cookie-path
    ! b- g' P3 {! w5 o
  1483. session.cookie_path = /
    5 T. S7 r0 B" [8 V. I

  1484. 3 n1 c& L$ ^) V% Z  {/ D7 X
  1485. ; The domain for which the cookie is valid.( m  L3 c, `( K! {- g
  1486. ; http://php.net/session.cookie-domain
    ; f2 d3 j: O. b
  1487. session.cookie_domain =" J& P. [$ d! O0 `5 \# h* o
  1488. . I. V7 R; t( n% E. w/ E9 f& ~) B
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.: o, U8 J( e& J7 ^6 H* A0 G* J
  1490. ; http://php.net/session.cookie-httponly$ D4 z$ Z  @# {9 ?
  1491. session.cookie_httponly =
    : I7 |3 _. T. ^4 M! z/ u

  1492. - q$ ?+ B# j$ C6 x1 ~+ N
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.  a6 ]# u- F1 j- G
  1494. ; http://php.net/session.serialize-handler4 @2 Y7 s" K+ }
  1495. session.serialize_handler = php4 ^: c; q# f7 S
  1496. * z- Y) R" {3 _1 Y  K) D' C; `
  1497. ; Defines the probability that the 'garbage collection' process is started- f4 O4 v, N9 }  n4 o/ I: V# P
  1498. ; on every session initialization. The probability is calculated by using& Q! B' x! g) N1 p5 l/ D
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    3 `  c, Z9 G: I% o; x1 \3 v
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    * j. g) h. O7 h. f' G$ {
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    1 k# Y% N' P. |9 N3 X; r$ k/ e- ~5 T
  1502. ; the gc will run on any give request.
    " m, s, E5 |- G2 W5 v
  1503. ; Default Value: 1, f" b' ~  A  ?
  1504. ; Development Value: 15 t8 D+ h9 P, d: A  \0 K
  1505. ; Production Value: 1, ]$ Y1 O" b# u  Z% I
  1506. ; http://php.net/session.gc-probability" A- Z/ \/ A/ v: r: b$ ]9 [1 M
  1507. session.gc_probability = 1
    6 t% S* W* H# f" c2 ?  ]& y7 }

  1508. / B$ s; `* u0 [5 R0 g9 v
  1509. ; Defines the probability that the 'garbage collection' process is started on every5 _! e: b6 M: O6 j. a# I: v
  1510. ; session initialization. The probability is calculated by using the following equation:1 c5 O! R, l6 i) W- {9 R
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and2 q/ k5 b$ D- R9 z1 C+ @  w6 T
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    : ?/ w" I# V- D6 |6 [, ?0 L& C
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 O! B$ P; L5 t6 s' @: e& u; w
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you& j# Y, F5 j! d, y0 ^
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,, S, S/ F5 J, H; }2 q0 ]
  1516. ; this is a more efficient approach.
    # ^& ]2 @) l( @. c( q% G6 e; \
  1517. ; Default Value: 1008 [& O1 v, r* T
  1518. ; Development Value: 10002 U  _; e- V( P( F* g3 B" G0 K
  1519. ; Production Value: 1000
    - ~# U0 r, L5 s8 [9 a1 J3 ?
  1520. ; http://php.net/session.gc-divisor2 H, o/ D! R- d& [. l; |% I) g9 v5 r
  1521. session.gc_divisor = 1000# b. r. U& O) e2 y+ K! k) C

  1522. ' s' G" Q. p# v" a- I9 D/ g" F. p
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and* Z1 X# H4 H4 r+ m. ]9 E: _% A) n8 J2 t
  1524. ; cleaned up by the garbage collection process.& S# G! D0 K/ K! j6 ?. U
  1525. ; http://php.net/session.gc-maxlifetime1 }1 S: E+ o3 y! v6 Y' l% F6 G
  1526. session.gc_maxlifetime = 1440
    # d- z# w/ x5 c* I, v
  1527. ! O- @0 o' g1 K4 i0 p
  1528. ; NOTE: If you are using the subdirectory option for storing session files3 ~' ?( c( z5 I' |' S/ P8 P
  1529. ;       (see session.save_path above), then garbage collection does *not*, L/ ]  r& u+ ^) l9 @) J
  1530. ;       happen automatically.  You will need to do your own garbage1 L0 ]  m. ?" a/ w  k% f3 w
  1531. ;       collection through a shell script, cron entry, or some other method., P' h5 H& F* b  P7 j
  1532. ;       For example, the following script would is the equivalent of! n5 h8 C* y7 g- d4 ~$ y
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):- U7 Q5 M. ~6 V4 p3 e& ^
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    $ B8 L9 ]3 Y: @+ m. l- _
  1535. 7 N, _) {' k9 {* X2 k& e
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    6 L- w0 m6 f( a' Y7 j1 ]: h3 y% h/ |% o
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    , K# w) b3 r/ ~; v0 C6 q# K
  1538. ; considered as valid.) k6 w$ b. A4 L6 v
  1539. ; http://php.net/session.referer-check, P- N% G5 ^- r8 l# {, a% h
  1540. session.referer_check =0 ~4 ^2 z2 U+ N

  1541. - \7 R2 `! [, `" T, D/ }+ S
  1542. ; How many bytes to read from the file.
    : Z# X# U' @1 p6 G; }. y2 z
  1543. ; http://php.net/session.entropy-length
      x  ]; i1 t3 }3 Y
  1544. ;session.entropy_length = 32
    / I: g9 w" ^4 n) |- P; J6 d

  1545. 2 V- c/ `* l2 m' Q" E
  1546. ; Specified here to create the session id.% [, ~4 s0 g) S
  1547. ; http://php.net/session.entropy-file
    3 n" Z  i1 l' j- I9 q* A
  1548. ; Defaults to /dev/urandom
    ; P. z  D4 w9 J2 p3 Z
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom4 n, V' M, H. C3 i) F
  1550. ; If neither are found at compile time, the default is no entropy file.
    7 W! L- ^  `+ S& w
  1551. ; On windows, setting the entropy_length setting will activate the
    & E' Z4 r# J- }8 R2 R. Q& y2 Q
  1552. ; Windows random source (using the CryptoAPI)4 V- @9 H6 {+ v' H- ?8 S6 Z2 ?4 _0 o+ t
  1553. ;session.entropy_file = /dev/urandom
    , c3 q1 F- G1 l
  1554. " a8 I3 ?- ?1 ~7 o, n' v2 U9 \
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects, I" G( @3 N* m4 f1 T$ |
  1556. ; or leave this empty to avoid sending anti-caching headers.
    " a, Y. ^8 I: }' A$ A
  1557. ; http://php.net/session.cache-limiter4 {% Y+ ^3 K: d, _
  1558. session.cache_limiter = nocache/ [9 k, s( ~& h2 O% R( ~
  1559. ! k' P8 o5 M5 K; _; _
  1560. ; Document expires after n minutes.
      G4 @+ L) E; l1 v
  1561. ; http://php.net/session.cache-expire- h3 f# M/ I0 {- T3 B4 p
  1562. session.cache_expire = 180# {$ Y+ I! ?  N6 K3 W' J- r

  1563. - _' ?2 L, q. L8 F9 ^0 b
  1564. ; trans sid support is disabled by default.
    # g# _0 k/ r  K0 U
  1565. ; Use of trans sid may risk your users' security.! P0 @  l1 y' v. J
  1566. ; Use this option with caution.: c$ m5 Q$ n- }3 k
  1567. ; - User may send URL contains active session ID
    # U  i7 j% j) [2 G9 l
  1568. ;   to other person via. email/irc/etc.! X( Y' F$ E8 C- V& n0 z! ^
  1569. ; - URL that contains active session ID may be stored
    1 p* }. a: Q9 \
  1570. ;   in publicly accessible computer.
    : a2 I! l; R: N( @, X/ c, S" b  ]
  1571. ; - User may access your site with the same session ID+ ?) F/ `. H% g6 y% y
  1572. ;   always using URL stored in browser's history or bookmarks.
    # G; \  e) D6 P" y! T* C  P6 f
  1573. ; http://php.net/session.use-trans-sid0 l/ ?, b- N- y: ]5 q  n4 z% _; l
  1574. session.use_trans_sid = 0
    % d( ~0 H* [* [- N

  1575. 5 K0 q; x& i2 g: {2 W- w8 N0 a
  1576. ; Select a hash function for use in generating session ids.
    ' d1 W9 _  ^5 z
  1577. ; Possible Values
    7 _1 `( X! W7 R2 K
  1578. ;   0  (MD5 128 bits)
    ! W& _  D3 F; c/ s
  1579. ;   1  (SHA-1 160 bits)
    ; Q0 h& @8 W8 X3 S* i2 H
  1580. ; This option may also be set to the name of any hash function supported by3 ^$ X* {. J) H4 O' V
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ) y% k% G- t+ d' k) s  Y/ u+ n
  1582. ; function.
    , |. s8 X9 S5 o
  1583. ; http://php.net/session.hash-function" ~* ~2 C' d/ d6 J& K
  1584. session.hash_function = 02 `& ~( J$ i- D9 G  [, V

  1585. $ E! q- E! w: g7 Z3 x# h5 F
  1586. ; Define how many bits are stored in each character when converting; t7 ~- q7 }* j$ Y
  1587. ; the binary hash data to something readable.; ?+ y% f. w* D6 W+ e% ]6 ~( o$ C* I
  1588. ; Possible values:6 H0 F( k) t3 r: u; N+ T: s6 C
  1589. ;   4  (4 bits: 0-9, a-f)
    . O8 ^! r% R3 Q8 ^' L% `
  1590. ;   5  (5 bits: 0-9, a-v)
    / s  V. K" }) X. D
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    , j; b% |; X$ ~, T8 @
  1592. ; Default Value: 4
    ( i, K  V  ]4 D5 f% B
  1593. ; Development Value: 5/ ~; Z) p% L) k. A
  1594. ; Production Value: 5: M/ u: j( @  W( x
  1595. ; http://php.net/session.hash-bits-per-character
    4 p3 N% q1 T/ U) u6 v' J
  1596. session.hash_bits_per_character = 5
    ' @1 k$ I* B/ X  Y
  1597. 1 M! B/ @; t: ]* b6 F; c
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    , a( n. V* |/ W
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    # L* {' Y1 j: r  a5 R* y4 `1 g
  1600. ; add a hidden <input> field with the info which is otherwise appended5 j( y9 h, G7 k. b4 }: w
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.  r- P, Q% t+ p) K& B
  1602. ; Note that all valid entries require a "=", even if no value follows.
    8 T4 V$ e! t4 P
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="5 ^- U9 g( j. K" P$ r! N& L1 n8 `. ~7 c
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 \1 z. ~, {; p: c- H' @* Y. \
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 K& U( ?" b& q+ _( P
  1606. ; http://php.net/url-rewriter.tags
    " v; r( g. y& z1 ?6 g3 @
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    % S, |% F) c' }1 ]+ G2 w

  1608. . G  a8 a: |$ d( D8 x9 r8 `$ V3 v+ L
  1609. ; Enable upload progress tracking in $_SESSION4 _" h  w  Q+ t
  1610. ; Default Value: On
    ! W; n. Q" }) P; ~3 l8 q5 Z
  1611. ; Development Value: On
    - x- t* \' T- ~  H, b
  1612. ; Production Value: On
    % W- M* V4 ^, _4 k8 [
  1613. ; http://php.net/session.upload-progress.enabled% @+ W8 Q" r% g
  1614. ;session.upload_progress.enabled = On. q- V6 I; G3 h4 G

  1615. 4 v; x4 a' Y% i. w
  1616. ; Cleanup the progress information as soon as all POST data has been read; A, V: E7 R+ y0 }; n4 j% ?
  1617. ; (i.e. upload completed).
    6 L) q( E; i: Q) _6 w' S
  1618. ; Default Value: On/ h; ]5 `( x* c6 A1 j  P/ [
  1619. ; Development Value: On
    . a& b3 @( v( f' I! Q) m
  1620. ; Production Value: On7 U/ L- P+ z2 A7 k
  1621. ; http://php.net/session.upload-progress.cleanup* e( j6 z# m/ a: x& ]3 X
  1622. ;session.upload_progress.cleanup = On. P0 T- W0 j9 M* ~( k( K

  1623. " j/ f$ T, Y1 ^0 G
  1624. ; A prefix used for the upload progress key in $_SESSION
    , t1 I$ J& g2 o& m. o% H
  1625. ; Default Value: "upload_progress_"
    % h! ]1 ?, K2 b: f+ G+ f
  1626. ; Development Value: "upload_progress_"
    / g3 H! F1 j' @3 H! ~! t3 j" O
  1627. ; Production Value: "upload_progress_"5 h4 M' d9 p. [0 ~, v9 S! K. w! q1 [
  1628. ; http://php.net/session.upload-progress.prefix
    9 f5 i1 I$ K8 ?5 k+ P( h0 _
  1629. ;session.upload_progress.prefix = "upload_progress_"
      w0 a. Q7 H5 \, J
  1630. 7 k" k4 p5 Q3 C, G2 U1 {
  1631. ; The index name (concatenated with the prefix) in $_SESSION7 l% I9 d# d( H" X. F7 d2 a! k
  1632. ; containing the upload progress information5 Z, R- {6 U3 f; R9 H+ l6 R
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"1 v/ M( E; H' x
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"; L' p% a! N( r; p
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"7 D- [/ j' H: N2 r1 X3 d/ u
  1636. ; http://php.net/session.upload-progress.name
    ! S  Y; `* V. h' j- U1 t- O
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    . L3 K; v; r6 x2 v: z/ }4 @
  1638. , b2 u7 e+ u: u% {  S6 ~
  1639. ; How frequently the upload progress should be updated.
    1 h  F/ i- G# v8 l3 c$ Y7 G
  1640. ; Given either in percentages (per-file), or in bytes# m/ |" Z9 y2 t# U8 p
  1641. ; Default Value: "1%"; F; Q2 M1 D9 W' ~% I$ c- {0 [
  1642. ; Development Value: "1%". n: Y5 j  j3 v9 r! q" w* H
  1643. ; Production Value: "1%"5 Y1 Z% n6 a, Q. K; A
  1644. ; http://php.net/session.upload-progress.freq
    , N% {" I& s; g5 C, F
  1645. ;session.upload_progress.freq =  "1%"- M* X; f3 k5 O* I$ F2 ]5 D. {* m( I4 ?
  1646. ; {$ z) N, v/ ?0 K; [( S
  1647. ; The minimum delay between updates, in seconds% t" S! p+ m8 ~5 ?8 n# F$ y
  1648. ; Default Value: 1" K) M8 t. }$ T0 @" a9 E
  1649. ; Development Value: 1
    " n% |  ]9 d8 ]* T" _: V) y
  1650. ; Production Value: 1
    $ d) B% X' W6 u9 e1 V% E/ ^
  1651. ; http://php.net/session.upload-progress.min-freq( b6 \: H5 v2 M7 J# ?) b) Q8 w
  1652. ;session.upload_progress.min_freq = "1"- T4 Z: z/ a9 S. G: ~4 c
  1653. - t5 S7 r) t4 N7 S. E: i6 k" M7 t
  1654. [MSSQL]: Z4 Z0 S/ p+ P
  1655. ; Allow or prevent persistent links.
    ) J6 C$ E5 W! g5 f8 z# l
  1656. mssql.allow_persistent = On. H) r6 z! \2 t* ?6 r
  1657. 2 I- v! ~4 Z7 @& ^0 U
  1658. ; Maximum number of persistent links.  -1 means no limit.% t' ]6 c* E9 ^  M& Z1 U
  1659. mssql.max_persistent = -13 j$ o9 v' ~; ~* D
  1660. ( k  n4 y8 J$ o* P: d
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ) z3 [" O  }0 K. M9 {1 M7 a
  1662. mssql.max_links = -1
    % b$ ~3 ~6 h4 K% U! s' t+ c0 {. n6 F

  1663. 6 `8 I. X, _. t& ?2 `
  1664. ; Minimum error severity to display.
    $ `) K# f$ s8 g& R" |4 m( W1 K
  1665. mssql.min_error_severity = 10; Z7 t" |7 t0 B( V2 D1 V. \
  1666. 1 v3 ?! x' j! V7 O5 Q& w
  1667. ; Minimum message severity to display.4 Z0 \# k) b+ i& g: h5 U
  1668. mssql.min_message_severity = 10& e( T4 J; M& ^7 c& x& K1 q8 P5 i
  1669. " _6 j0 n( J# h3 T& P
  1670. ; Compatibility mode with old versions of PHP 3.0.
    * ~3 X" V* }' k: ^$ O7 ?$ ?3 e- h
  1671. mssql.compatibility_mode = Off7 ]! O& v2 W: }2 q2 t& |
  1672. 2 E& Q3 K2 Q6 c. i5 J5 H# f+ P! j
  1673. ; Connect timeout( k7 v5 o8 r! E) `1 u6 I9 O# G5 f+ C
  1674. ;mssql.connect_timeout = 58 ^+ `/ j( E0 j8 _! u4 d3 R* |1 W
  1675. % D; E5 c( J  X& y
  1676. ; Query timeout( x& p! B/ h" `. F$ ~- h5 t, J" n
  1677. ;mssql.timeout = 60
    7 p5 F. A& P" c
  1678. , d$ D' T1 ^& A. a+ k9 x) \3 V. J" k
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    . d+ V5 m5 D, c* Y
  1680. ;mssql.textlimit = 4096
    5 @- f" K" H8 C+ F1 O9 M" y

  1681.   X$ A! t) t4 p" E5 l- F. @
  1682. ; Valid range 0 - 2147483647.  Default = 4096." m8 L" A" u; T4 P6 Z
  1683. ;mssql.textsize = 4096' Z0 f) n$ x" v. A

  1684. 7 [7 a" t, M- e# S
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    4 E( O! U* k6 W3 J# b) r
  1686. ;mssql.batchsize = 0
    & X3 b+ @+ d( Q. u/ x
  1687. & i' `, x7 U/ n9 q5 T  T, A7 O
  1688. ; Specify how datetime and datetim4 columns are returned: `# [2 S1 k0 P4 w# Q+ `; p" {
  1689. ; On => Returns data converted to SQL server settings' [! O) f/ x. H, e( F! ^( U6 x- x
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    + n( h) c$ M# V. P
  1691. ;mssql.datetimeconvert = On1 Z* n( c8 d; Q/ b" d! N( L# y
  1692. ) U) b6 W9 T* p
  1693. ; Use NT authentication when connecting to the server
    3 @( m7 M' i5 O6 f& @& I7 \, H
  1694. mssql.secure_connection = Off
    6 }7 e  K& c& I6 i
  1695. 6 l. e$ H; N* E( X
  1696. ; Specify max number of processes. -1 = library default
    ; a6 F( A$ A  q4 d! g0 n
  1697. ; msdlib defaults to 254 e2 G5 \; q/ [
  1698. ; FreeTDS defaults to 4096
    * U( A% }/ }4 r0 V2 A/ b/ h
  1699. ;mssql.max_procs = -1
    7 G. O5 k$ |% d$ t) s7 s5 Z
  1700. 0 q- T( o6 c" Z, s
  1701. ; Specify client character set.
    ! Y  e+ @9 H+ u
  1702. ; If empty or not set the client charset from freetds.conf is used) i, \6 M/ j5 |( n! J2 g* \
  1703. ; This is only used when compiled with FreeTDS
    % O0 Z; {" i/ v6 J& ]9 O
  1704. ;mssql.charset = "ISO-8859-1"' \6 W  \4 s8 g

  1705. , o$ P( V5 I; I! a
  1706. [Assertion]9 b8 z: c/ F4 `. T$ P$ J
  1707. ; Assert(expr); active by default.
    1 |3 L; ], x3 l+ p) O, J
  1708. ; http://php.net/assert.active3 d" c7 S# i& J( y
  1709. ;assert.active = On
    4 x; ^! e) d& `1 l, B+ y( F

  1710. . [2 C& n0 w6 d5 A; s: U
  1711. ; Issue a PHP warning for each failed assertion.2 m; ~1 y. [! ^; w
  1712. ; http://php.net/assert.warning
      u1 l5 G; f& L, n
  1713. ;assert.warning = On0 R' C& ~8 S2 B3 v+ a2 P) D5 f9 t+ n

  1714. + C6 Q7 Y% _2 j
  1715. ; Don't bail out by default.
    2 D& y9 x3 O4 `) A% B/ W* g2 z" L+ r. c
  1716. ; http://php.net/assert.bail* [7 I6 w0 i4 I2 t; I+ f
  1717. ;assert.bail = Off: N7 W6 T: R, n; O, `

  1718. 0 n7 H# L. w" Z" m9 I. ?3 M7 G
  1719. ; User-function to be called if an assertion fails.
    9 m% X6 P  f/ S' s
  1720. ; http://php.net/assert.callback
    5 P6 S4 _. f5 p3 B
  1721. ;assert.callback = 07 @! d# |) i6 C1 e6 F3 l
  1722. % |1 p) `3 F, X- w  y5 D
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    $ `) _* `% p+ _  F1 _; p
  1724. ; error_reporting(0) around the eval().) }/ G' f5 o3 A
  1725. ; http://php.net/assert.quiet-eval
    " W; n+ W- J: |* ^! K
  1726. ;assert.quiet_eval = 03 @# A3 C2 J" F

  1727. , U1 G& {- Z: U( X3 f- a/ x
  1728. [COM]) w0 F: q4 D1 J- P6 H+ X
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs% i3 M- o3 Y, x. l7 L" R
  1730. ; http://php.net/com.typelib-file
    % X! @, Z% h' e" n0 i: L3 {5 O+ T  j
  1731. ;com.typelib_file =# I1 n; ~2 a6 R* H9 Y" x# K. ~

  1732. 0 a9 I/ b' ^5 ]( M3 a$ Z
  1733. ; allow Distributed-COM calls2 _! B, c0 s8 ?& n  h& t
  1734. ; http://php.net/com.allow-dcom5 @" Z2 E5 b0 h3 j
  1735. ;com.allow_dcom = true
    ( v* Q' E; N4 j; [# }
  1736.   m# f) f) `) R, Q) a. q6 U3 c
  1737. ; autoregister constants of a components typlib on com_load()
    ( ]0 E9 l% r9 t& d7 y  y# H
  1738. ; http://php.net/com.autoregister-typelib8 ^0 Q2 g( U9 ^! K2 I- W
  1739. ;com.autoregister_typelib = true
    - t5 z+ A( s9 w5 J5 S: ^

  1740.   z6 e7 K  C5 Q( h6 T9 ^% N
  1741. ; register constants casesensitive* y" L/ _# @6 ?) @  _/ ~% F
  1742. ; http://php.net/com.autoregister-casesensitive1 H) }3 k% t5 e8 _1 F1 S8 t0 _
  1743. ;com.autoregister_casesensitive = false, d( I) ]- i, e
  1744. " ~4 V9 y5 U' k* f2 T
  1745. ; show warnings on duplicate constant registrations. k" {4 a, i; [$ q4 j
  1746. ; http://php.net/com.autoregister-verbose. O2 U; `: u7 |
  1747. ;com.autoregister_verbose = true# n: A: A0 v. A1 d
  1748. 0 s0 M, C, J3 \' @0 e6 h* j$ B
  1749. ; The default character set code-page to use when passing strings to and from COM objects., S$ |5 r+ \1 z) ]& o+ h: C1 f
  1750. ; Default: system ANSI code page: m* M- B8 b, l5 r
  1751. ;com.code_page=4 P+ U- M  R) t$ M# m& x

  1752. ) u5 I& {- h, z# i4 ]8 x2 q5 ^
  1753. [mbstring]- m* q+ K( q; r+ F6 e$ _1 C
  1754. ; language for internal character representation.+ u' V6 |6 G# M/ Q& o
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    5 _# g( `1 r* }8 I6 C
  1756. ; http://php.net/mbstring.language
    : n; B4 T7 o! U; L% u& i
  1757. ;mbstring.language = Japanese- h5 `4 l6 ~( M) M6 P. O

  1758.   `# W: O  U) r
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 c( E3 T, Z% z! M6 {$ j$ [/ A
  1760. ; internal/script encoding./ X% G2 }+ u& P' g# C* q
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)- @( [( i4 Y* \- S
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.0 g0 H) ]: g# ~
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    % _( G9 U. Y" \: r3 n
  1764. ;mbstring.internal_encoding =
    & o: L1 Y! {5 _- r0 d

  1765. ' O4 J5 M& T5 j9 L( q' y% u
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.: u7 L( A' ?! w
  1767. ; http input encoding.5 ^: H" y/ I4 X9 n# E
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    . A2 a& H% B! `8 m& S
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.8 C7 w2 O# l9 l5 J3 m. O/ Z) {
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    # w9 Q9 S  ^) G+ [4 m. U
  1771. ; http://php.net/mbstring.http-input
    ) e5 r# W9 C) P
  1772. ;mbstring.http_input =$ p: W' ~5 W: @1 ^
  1773. & @: U* w! j/ I$ V
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.! Q% `; n& d% ]8 ?8 h! l0 M
  1775. ; http output encoding.
    , n2 t: g5 G- b9 _9 R  m, j) W+ ^
  1776. ; mb_output_handler must be registered as output buffer to function.; t& O) r) b8 P5 N# r6 |1 v3 a
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.: b% T. }2 A" Q; [$ r  j- i
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    7 ?7 A- O: {3 Y9 Z$ J
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    5 L, l: P! D& B* O
  1780. ; otherwise output encoding conversion cannot be performed.- y0 q+ A! M# j( a! ?7 ]5 B0 F( p
  1781. ; http://php.net/mbstring.http-output
    : g1 }$ u; `* \7 z# I% J2 r
  1782. ;mbstring.http_output =# V/ I  m# O- s* {) _
  1783. $ u/ c- ]5 g8 E2 p0 @3 U  @
  1784. ; enable automatic encoding translation according to7 J4 j9 J3 @  q- v7 K) v9 T
  1785. ; mbstring.internal_encoding setting. Input chars are
    7 I" c5 d2 A' A+ l
  1786. ; converted to internal encoding by setting this to On.
    ; @3 y& U- V( q
  1787. ; Note: Do _not_ use automatic encoding translation for% [+ N  F- ~+ Z+ Y; ]! g  r2 c$ H
  1788. ;       portable libs/applications.
    2 x* ], f' o! H; C$ P+ ?
  1789. ; http://php.net/mbstring.encoding-translation
    - w8 D+ u- _6 f0 n/ r
  1790. ;mbstring.encoding_translation = Off
    ' V1 _+ J  P0 n$ p7 k

  1791. / T9 z- [4 [+ y0 V+ b4 m
  1792. ; automatic encoding detection order.
    , q  Q2 q; z3 j) \. }
  1793. ; "auto" detect order is changed according to mbstring.language6 M$ {1 b) w$ h8 p1 v
  1794. ; http://php.net/mbstring.detect-order
    ! M" @4 x  w2 d2 c2 F
  1795. ;mbstring.detect_order = auto" \, S" a8 P* ]  ~; W: n& F
  1796.   c# X) _( I  z7 g$ b4 D
  1797. ; substitute_character used when character cannot be converted# u8 G7 A  }) k0 h5 X
  1798. ; one from another
    & h% t) N2 U& n. n7 z' u
  1799. ; http://php.net/mbstring.substitute-character* {! J# {* j# j# h' w9 Z$ P
  1800. ;mbstring.substitute_character = none9 s) Y1 d2 J/ D+ E

  1801. + Z1 Z7 `1 |; ~0 N. D) H7 M  x
  1802. ; overload(replace) single byte functions by mbstring functions.
    4 U8 h: e# N: @, ]1 k
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    * K' O( I9 Z3 v9 ~
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.1 c3 l% F9 A$ {
  1805. ; For example, 7 for overload everything.
    8 t3 B7 n0 ^$ a7 y% D
  1806. ; 0: No overload
    ) @" a& C0 f# U4 K
  1807. ; 1: Overload mail() function; q4 q5 X" S. v4 H1 x/ s  s
  1808. ; 2: Overload str*() functions
    0 J: a6 P5 M4 v) e- k0 v
  1809. ; 4: Overload ereg*() functions0 b- h% b7 [$ w; w$ t
  1810. ; http://php.net/mbstring.func-overload( Z% L+ B9 a1 `( a) C
  1811. ;mbstring.func_overload = 0
    % l2 N- a) [3 {0 \) U2 ~: P. N

  1812. & Q9 d- g9 R6 ]& U
  1813. ; enable strict encoding detection.. A% R* t3 ~1 V7 a+ O8 T8 {
  1814. ; Default: Off
    7 L7 G6 d9 [$ M& v, i2 Z0 l
  1815. ;mbstring.strict_detection = On+ U: M7 h4 w6 q! l6 `

  1816. ! z, i) v3 a- P' a  X6 Y& [
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()  T! J# t# k: \8 d9 k8 g) t" S$ }
  1818. ; is activated.
    1 X  C3 L/ J9 U: V7 R7 T9 j3 k  ]
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)! N! l7 m+ h7 I+ I0 i& D, m
  1820. ;mbstring.http_output_conv_mimetype=
    . m0 ^, b( z% S6 T2 ]

  1821. ' y4 s/ ?$ J: m6 `/ J, {/ U' S3 d
  1822. [gd]/ u; K1 Z% w. q( P3 i; }
  1823. ; Tell the jpeg decode to ignore warnings and try to create; \# d6 B' W/ `% I  l3 i
  1824. ; a gd image. The warning will then be displayed as notices% o/ t# s. p4 Z3 s9 h* T6 A1 z
  1825. ; disabled by default* P4 A& [; P  O" a+ B; t$ i
  1826. ; http://php.net/gd.jpeg-ignore-warning. [+ n( j6 t" i6 t1 d+ y
  1827. ;gd.jpeg_ignore_warning = 0; y: O8 i$ e7 T% k

  1828. ( u/ V9 F2 T8 |  [) G  I) k' K5 {8 k( u
  1829. [exif]
    ' y/ f! n2 j" o& l
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.. m: V" W. G" n; k0 V! v
  1831. ; With mbstring support this will automatically be converted into the encoding. D. i  k: Z) ~. }+ `8 k
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    # L/ b: I/ }8 c6 t$ V3 x$ y4 u: [
  1833. ; is used. For the decode settings you can distinguish between motorola and! g4 ?- f# ^# }7 l( B
  1834. ; intel byte order. A decode setting cannot be empty.* t7 c7 H+ J6 C1 g# _/ Y- }
  1835. ; http://php.net/exif.encode-unicode
    8 R0 g2 J' F/ O. ?3 D
  1836. ;exif.encode_unicode = ISO-8859-15" n! J' l% x4 Z2 j- g
  1837. ' a5 V; G1 U* g8 a* r- i% E
  1838. ; http://php.net/exif.decode-unicode-motorola% h  H  j' S6 L& J* ^! h
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    & b3 C6 b. O4 S
  1840. : g9 _( w/ F4 \, a6 |' @1 @
  1841. ; http://php.net/exif.decode-unicode-intel, O$ j" S% t# ?5 I' t0 d0 f
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    " f# c5 A/ b1 F/ c/ h. R
  1843. & e; d' x5 o( V4 R
  1844. ; http://php.net/exif.encode-jis
    4 x% m2 }& s8 _& s- a2 o7 _# F% M
  1845. ;exif.encode_jis =
      s" P8 m5 z( O

  1846. ( R0 a" O0 C; G0 M; d
  1847. ; http://php.net/exif.decode-jis-motorola
    $ U6 [3 t, j  B9 F
  1848. ;exif.decode_jis_motorola = JIS$ {: B% V# A: D7 ~" f' O: E1 f
  1849. * W: S$ o" l2 }. Z; q2 ^4 L
  1850. ; http://php.net/exif.decode-jis-intel$ ^: r4 r! s1 _- b. G7 r4 Z
  1851. ;exif.decode_jis_intel    = JIS, O! w4 z0 e2 [7 ^& H

  1852. 5 Z7 F8 |- U. _. q
  1853. [Tidy]3 v$ z; U  D* [& u% z6 A/ @
  1854. ; The path to a default tidy configuration file to use when using tidy+ A& O$ Z: b# k3 b4 p3 Z9 a
  1855. ; http://php.net/tidy.default-config* z! P& B& Y% y* n5 o5 f- _
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    - z' T5 Z. v1 g: F9 c9 Y' \' V& D

  1857. * g% A1 l0 l1 N  Y1 T
  1858. ; Should tidy clean and repair output automatically?/ g" L4 n2 d% F$ Y: `% E# k- p
  1859. ; WARNING: Do not use this option if you are generating non-html content
    # H* J4 N8 _' S: O
  1860. ; such as dynamic images# y% g: u5 a, G( D
  1861. ; http://php.net/tidy.clean-output( S3 y3 W2 g' f8 W4 P3 f
  1862. tidy.clean_output = Off
    1 ^. I; q7 o7 i9 B9 {& W. g
  1863. 8 a2 p  H# z( `- z2 g  ]3 m, V
  1864. [soap]
    5 ~  o7 Z% Q8 }0 J* H# q. I
  1865. ; Enables or disables WSDL caching feature.& v- y. \& d3 W, k+ f
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ; i$ c6 h, @9 w2 u
  1867. soap.wsdl_cache_enabled=1
    0 Y* D) V* s* D0 c; _9 l+ e
  1868. 7 r, d9 h% W. ]* A
  1869. ; Sets the directory name where SOAP extension will put cache files.' S$ L5 S; s5 b5 Z- {4 R- M( S
  1870. ; http://php.net/soap.wsdl-cache-dir
    $ W4 @' Z1 Y6 H% @  [+ s6 F+ N
  1871. soap.wsdl_cache_dir="/tmp"* |% L# Y0 n' J! K4 A
  1872. 4 `0 M) v$ G! v" ~+ I+ m
  1873. ; (time to live) Sets the number of second while cached file will be used: b# P$ r- w2 M3 F0 @3 m
  1874. ; instead of original one.7 m" U% `3 h  {( {+ p0 b+ ?$ \
  1875. ; http://php.net/soap.wsdl-cache-ttl( I6 _/ u8 k) C( n* o5 g- e
  1876. soap.wsdl_cache_ttl=86400
    ' s# E/ r2 ?7 Y! g& m
  1877. 7 V+ W- B, ]' `5 \/ q9 S
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)) r& ?# ~4 ~+ H! }
  1879. soap.wsdl_cache_limit = 5! M$ v, ?, X) }& s( i% a. R
  1880. # ?8 H) k, X- h  K
  1881. [sysvshm]
    % V1 A7 s9 {  g. `& N% L( n4 t/ C
  1882. ; A default size of the shared memory segment
    ; p9 g- N) d2 p
  1883. ;sysvshm.init_mem = 10000% P( I1 C: ^9 t; N
  1884. & i- M* a7 |* X9 X. R! ~/ B
  1885. [ldap]0 J& p8 N9 i* t
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    0 ?, l7 ~0 J' w
  1887. ldap.max_links = -1
    - K* ~' l7 Y* h# b% \
  1888. 5 d4 g4 _& C4 ]2 u8 K5 x1 [
  1889. [mcrypt]
    ) c+ k  |- J, R
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open* @9 i% |1 C$ \4 g
  1891. 3 v& F3 Q3 d7 P7 P
  1892. ; Directory where to load mcrypt algorithms8 q0 B0 i1 Z, m$ Z
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)! u1 f( P3 ^% d8 q; m: ^' }
  1894. ;mcrypt.algorithms_dir=
    4 p1 n8 o& ~) a3 Y! u- N
  1895.   ]) U. Y" b8 L6 F& ^$ c$ Q
  1896. ; Directory where to load mcrypt modes: P' j- _, j1 s/ M
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)" f3 a6 N6 b, }  I& B: B7 u4 y) n3 |) f
  1898. ;mcrypt.modes_dir=8 x$ e8 O/ Y( r3 [! W* ?; ~

  1899. 9 V1 b  {6 A* r0 ?5 x+ r
  1900. [dba]
    % z' H7 g  G0 u8 e  G! Z
  1901. ;dba.default_handler=' e, B$ B* O; J& _6 z6 I" D
  1902. + g2 ?6 y/ j* i* g7 [; F
  1903. [opcache]% m' z7 Z7 }9 |% F
  1904. ; Determines if Zend OPCache is enabled
    6 G! A% P* G& k0 G
  1905. ;opcache.enable=0
    ; `+ g' Q7 B$ @8 [1 b- v7 L
  1906. 9 s2 @/ ?8 ~6 T3 i
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP! e) a  _3 L; }, c, }
  1908. ;opcache.enable_cli=0
    ) }, o8 n4 i  L6 O4 S
  1909. & N5 e6 w% V3 |; q
  1910. ; The OPcache shared memory storage size.
    1 s& P6 L+ I& u6 S
  1911. ;opcache.memory_consumption=64& T* V. v1 o! U

  1912. $ \/ E& I$ a+ k# ?9 v3 ]
  1913. ; The amount of memory for interned strings in Mbytes.
    % y  @1 a* N: g
  1914. ;opcache.interned_strings_buffer=4
    3 J/ E, W- V% |8 E" g; }% |- c. j: @

  1915. 2 C5 @: o4 z+ l+ `. E4 {7 @
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    1 o6 ~0 k2 G; l0 V  ^6 ]
  1917. ; Only numbers between 200 and 100000 are allowed.0 E& E: i- k! p8 [
  1918. ;opcache.max_accelerated_files=2000
    9 F8 S3 [6 Y4 r3 N0 r7 Z

  1919. 1 v8 R; V) F! |( `
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.5 ?+ P5 n& S2 b" S1 R! r' p
  1921. ;opcache.max_wasted_percentage=5
    4 s1 }0 L9 Y. X, G) p1 o' X3 k

  1922. & z  \" h0 B" i6 H! b  j, \0 `
  1923. ; When this directive is enabled, the OPcache appends the current working
    2 S$ @; C  g" m, T0 d0 f( f1 G
  1924. ; directory to the script key, thus eliminating possible collisions between5 B3 S" O  S) S  G; O
  1925. ; files with the same name (basename). Disabling the directive improves
    9 A8 S9 h% h; ^: X$ R9 H* F
  1926. ; performance, but may break existing applications.5 ?4 {  j+ M3 o9 ]. b
  1927. ;opcache.use_cwd=1& _$ o! ?) M9 g3 T$ f# Z

  1928. 8 S9 [7 O' L  X  I
  1929. ; When disabled, you must reset the OPcache manually or restart the
    / |4 z; \  ^- H2 M: `& T2 n
  1930. ; webserver for changes to the filesystem to take effect.4 G* _5 _& Y  i: r( l" u+ s5 ?
  1931. ;opcache.validate_timestamps=1' Y0 s+ F) H" Q( Y6 K0 j2 [6 p+ D

  1932. 7 _" W9 w1 w* ]) z. D! [! Q
  1933. ; How often (in seconds) to check file timestamps for changes to the shared  F+ C5 F( t+ S6 D4 u7 N( t# K+ a
  1934. ; memory storage allocation. ("1" means validate once per second, but only5 d! S3 z( i4 \) |$ P# G
  1935. ; once per request. "0" means always validate)
    ( ], S  |8 p+ h5 C/ B9 ]( [% B
  1936. ;opcache.revalidate_freq=2
    4 Z/ U1 }; O1 L2 [8 W! F( Q
  1937. + r3 O. q$ y# i- t  B4 E
  1938. ; Enables or disables file search in include_path optimization' v# c8 l- Y( W5 l& r/ O8 g+ }
  1939. ;opcache.revalidate_path=0
    ! s. w, `( [( F; j" c9 X! @2 Z: A0 P

  1940. 5 K0 e4 s6 I& [+ Y
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) X9 H! e) |# r9 ?& S% R& `
  1942. ; size of the optimized code.# }) t) u9 [+ T" f
  1943. ;opcache.save_comments=1  M- _! O2 S& @; k

  1944. 6 t+ m$ O; c5 R9 n& o) v* N: n
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"9 l- W8 a' F, s' X5 c7 N& G/ Y
  1946. ; may be always stored (save_comments=1), but not loaded by applications% a% T4 O  p- w' o6 J$ l. P
  1947. ; that don't need them anyway.& u! z2 X6 Z4 [  h0 C
  1948. ;opcache.load_comments=1; C: B- ~# c: z4 o
  1949. 0 @/ g; X! O0 }" ]/ @/ h& R: @
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code0 l, f2 m1 V; s# ^! P! n6 S
  1951. ;opcache.fast_shutdown=0
    # P8 S8 S) h1 B2 r7 ?/ Z& H- _

  1952. 4 V: c8 E$ C5 W6 g1 }
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    : a/ k! Y2 v& h+ L) W8 Q$ i2 ^2 c) S
  1954. ;opcache.enable_file_override=0
    7 ~- Z2 P1 c$ y, l6 o8 g7 U

  1955. ; W1 ]( ?$ q. K6 [# f" D" H
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    6 r' E  Q# H, ^- T
  1957. ; passes# l8 d, f7 S' j
  1958. ;opcache.optimization_level=0xffffffff
    8 x0 ]% b4 g- M3 D" b. i

  1959. 0 v; C' @8 _7 o0 ?' F' ?
  1960. ;opcache.inherited_hack=1
    ' C# H$ w) x2 M
  1961. ;opcache.dups_fix=0& v' ]( o: f( `8 O

  1962. - k* h3 W4 `+ B0 }. d4 p- y0 [2 e
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    ' l& W9 C; e' Z3 ]2 o8 H
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    3 Z* e( B6 U% ?& a, l3 S
  1965. ; that should not be accelerated. The file format is to add each filename, H" e$ p' J2 W9 Y1 c+ T3 W
  1966. ; to a new line. The filename may be a full path or just a file prefix
    7 `, K3 F) J* C, d* s
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    , _0 S& x" O0 X3 x
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).- \# S2 e3 h8 L/ Y3 K, S7 w- ^* Z
  1969. ;opcache.blacklist_filename=
    9 b7 p! ?7 M! P1 w) n! w
  1970. 6 Z2 N. h# h# i1 a& f
  1971. ; Allows exclusion of large files from being cached. By default all files
    0 H; c2 W5 G& x; B# r& R8 r
  1972. ; are cached.8 D( m( R9 O1 u8 E
  1973. ;opcache.max_file_size=0" x, G8 C4 |8 B' c+ [7 }

  1974. ( H6 S& d; |. e1 p9 P' R% n
  1975. ; Check the cache checksum each N requests.' u+ w: T# c$ [
  1976. ; The default value of "0" means that the checks are disabled.
    $ g- M' }, S% w9 W
  1977. ;opcache.consistency_checks=0
    * U- e0 q( T! Y$ R- @, M2 [, }+ Y$ _
  1978. / r) p) v( ]; l+ ^3 e! A- A
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache( Q+ }) }6 t; g  V; X/ t
  1980. ; is not being accessed.
    4 j9 v6 k# r. r& a2 H) x8 S
  1981. ;opcache.force_restart_timeout=180
    7 ?# k# u# {5 V+ @% H* ]- {

  1982. 0 ?3 U7 R' _& f6 _* G/ {
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ) a; \9 J/ S# \/ N
  1984. ;opcache.error_log=! s+ i9 r4 G. |1 k4 o* W5 _9 ]

  1985. 7 w  L; J: M- r6 Q
  1986. ; All OPcache errors go to the Web server log.
    + P2 Q# ~' _* _7 e9 M# ]) j, l
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    5 ]- Z2 [4 \$ W  G  M
  1988. ; You can also enable warnings (level 2), info messages (level 3) or$ K# F) i. B+ f$ @$ v
  1989. ; debug messages (level 4).. A  S6 F6 X3 [9 H: E" G; I
  1990. ;opcache.log_verbosity_level=1% b, Q. k% q1 R& [6 s
  1991. ) N% U, l% H( J
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.6 T0 ]! U* i  I% u+ F' `
  1993. ;opcache.preferred_memory_model=& q/ ]  s+ M" J& k0 ^+ f

  1994. . s! I+ t9 t3 T7 Q& K
  1995. ; Protect the shared memory from unexpected writing during script execution.  ^' y* `" _% O% H0 e# a" C6 H: h
  1996. ; Useful for internal debugging only.
    $ I+ h- g# ^0 N$ b# [% {
  1997. ;opcache.protect_memory=0
    ; f# l9 |9 h& p% ^. r( \
  1998. 9 L. b/ F& q# k4 ^
  1999. ; Validate cached file permissions.1 |: q. D  S+ C( o
  2000. ; opcache.validate_permission=0
    : ]" l1 o) J6 ^- S6 O  L6 w' q
  2001. & a: o( ]/ w) }4 T- D3 Q
  2002. ; Prevent name collisions in chroot'ed environment.$ Y. h& j: }! v' T
  2003. ; opcache.validate_root=0
    + Z* ]- u9 I! g' e
  2004. & P! c: ?  B, f" S) Y; ~
  2005. [curl]
    & ~! q' n; d9 o* K; B; _/ U3 R- O
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    - U. H9 j/ \: c0 k, D- t
  2007. ; absolute path.' b3 B! o) j: Q" ^4 h
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt" l+ J1 ~/ N( W3 r8 f  F0 ]
  2009. 8 m, q9 U3 D; n, g
  2010. [openssl]2 y$ y/ s0 y1 m1 o
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem" @% K) l, ]0 Z
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should7 i; L, }4 d$ L) Z4 @9 E
  2013. ; not specify a value for this directive as PHP will attempt to use the9 e! U8 u! Q8 j
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    * G+ G5 \9 b9 ^$ T5 U! @# I2 U
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    5 j+ I. m% a8 g
  2016. ; option.4 P* i/ A$ N: \. V- R0 ]
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt7 ^2 L5 n& Z9 H- E
  2018. / R% `. b6 \  P# Z
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    7 E9 l6 u6 K+ W( B$ U4 N
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    / `# D0 ~% }; ^+ H) R* H
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    1 D2 x$ L0 C  [5 {! u
  2022. ; Most users should not specify a value for this directive as PHP will/ P1 C9 v5 g9 c* J- H3 e/ q- p; c
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    $ o7 G* P. Q5 z: f9 u9 f% H3 v5 h  ^, Y
  2024. ; this value may still be overridden on a per-stream basis via the "capath". ?! K, g5 X# L. h
  2025. ; SSL stream context option.
    ) b0 Q, P1 J- }# k
  2026. ;openssl.capath=! A- I8 o8 Z6 f, i
  2027. ; S- L% h% q/ l( R5 ~
  2028. ; Local Variables:! A" k2 E& L- ]& m; N' q, X- ^2 S
  2029. ; tab-width: 4' s4 g2 U( {. M& I; c% ]8 d; o% Y
  2030. ; End:
    0 R" m$ c/ u# O" M
  2031. 8 x; h8 H6 }$ C6 y' U% d5 ^1 T
  2032. ;eaccelerator7 s! [/ c; |; g2 w  p) ^' j
  2033. $ c  V0 R8 |/ m2 z2 O$ n2 V% N
  2034. ;ionCube  c  |7 e. d1 @7 g1 D6 t
  2035. # s  [, E3 c2 r# H7 ^) e" V! V
  2036. ;opcache
    ; E7 O9 S. `4 f/ q4 l  X

  2037. ! x5 g- w! [" ]- a- x1 l
  2038. [Zend ZendGuard Loader]7 p2 m  D' i$ s2 a
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    7 w) A* B6 o* G6 B" |8 O  D
  2040. zend_loader.enable=1
    9 `8 O6 q0 x8 `) N  P
  2041. zend_loader.disable_licensing=0
    " R0 W  I' |% E9 q  x) w
  2042. zend_loader.obfuscation_level_support=3% a/ J+ W# r8 A( u
  2043. zend_loader.license_path=
    6 n$ a/ k/ ?" ^7 N: n2 v& H
  2044. 8 T6 i" f; C/ F2 ]5 K) p
  2045. ;xcache* u) G: m+ s2 v0 h. W

  2046. + G9 C% }3 M- \: R# R" t* W; G
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
: U& h* T& s2 H# K, y/ J2 J+ X4 s: B3 @  }+ Z1 ^0 ]! J
: x. Y' e8 s2 k9 v% Z! D
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,  g  Y; ^5 `( i

! ]+ ^, t+ _- F' z: R! b! h& iDiscuz!程序版本选择:% b$ e- t" C; s  v: b' c! j
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,& v" m4 ~. ]' U3 O
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:4 N# H5 K; i8 _; k9 n$ z
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。
& [, B$ Z- V7 R# U! }' |; R7 Q, x. P
! P5 n- W8 o- X+ |Discuz!插件模板版本选择:
1 P3 M. R/ R8 x3 y6 p- q很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
- b5 M0 |. u' l3 a- `2 E1 L- e针对这个问题做个统一的普及:- a, f0 y% o" R2 T& b. l% U' A/ V
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。0 E  P* G4 Z# P2 o, _+ [7 S% s

' N; k3 d, u6 A所以
$ W  F7 ?: ?- [$ H适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。( e/ \7 `* R0 m7 w0 ^. B& L
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
+ q* U7 P( o$ G5 q/ \6 h注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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