分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.04 g8 ~& q+ z& ^1 L. n) b  p

- N9 Z5 t* u" }( \4 a. h
  1. [PHP]
    . l" {; B3 S9 I. z  m; V& s5 D

  2. . w. w/ T# O0 r
  3. ;;;;;;;;;;;;;;;;;;;: h+ b% ?% q: _+ V( o
  4. ; About php.ini   ;
    7 [" c, N( P. X9 h" J
  5. ;;;;;;;;;;;;;;;;;;;
    8 Y% O% B* v; h% ]% o
  6. ; PHP's initialization file, generally called php.ini, is responsible for; o+ u7 E& D+ A9 K3 h
  7. ; configuring many of the aspects of PHP's behavior.
    1 ^% A6 ?; o' N2 ]: V/ t

  8. / S/ u( n( ~+ |; E7 F
  9. ; PHP attempts to find and load this configuration from a number of locations.) n( D4 F2 U9 N$ P" p
  10. ; The following is a summary of its search order:
    + o4 x  R- O- f, Q4 W: j! a
  11. ; 1. SAPI module specific location.5 I9 E6 `4 q( V
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)5 N8 ^& K$ y. S# G& a
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)/ {- ?7 V2 u. K) ~6 L9 g- h
  14. ; 4. Current working directory (except CLI)$ u  Q* ~  }1 n8 D  m2 L
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP) r% d9 s3 `6 M( N7 q, w( w0 G
  16. ; (otherwise in Windows)
    / A) ^: O. d0 D9 H+ q  V
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ; d! k  G- a5 t8 S/ @  ^1 e
  18. ; Windows directory (C:\windows or C:\winnt)
    # X+ `9 d6 X3 g& m1 N$ Q5 x
  19. ; See the PHP docs for more specific information.
    5 ~2 M4 W* I( E! l: U# r
  20. ; http://php.net/configuration.file
    & `1 ]6 b9 j- C! n' O
  21. & Y& {6 j9 ]7 M' f  \
  22. ; The syntax of the file is extremely simple.  Whitespace and lines9 {) \4 s# B0 m2 P
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).  o1 u3 |) V' {. o6 _" o+ A. w
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    4 E: c" N0 J* I9 x2 _- Z  p
  25. ; they might mean something in the future.
    ! B# h  \5 C2 L1 o3 s) r
  26. ! J8 x5 ^8 X: {# o0 x; ~6 _: i7 G
  27. ; Directives following the section heading [PATH=/www/mysite] only, |$ ^" P$ R; d7 Q* Q
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    7 ?' D) x4 n- ^" E: K
  29. ; following the section heading [HOST=www.example.com] only apply to
    & r# z0 S; s0 t- [
  30. ; PHP files served from www.example.com.  Directives set in these
    4 G3 O" j3 l8 }& L0 {* j9 S6 o7 ^" B
  31. ; special sections cannot be overridden by user-defined INI files or
    ' o& X3 s1 j. U
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    , [+ L5 ?. @9 D5 F. q+ H
  33. ; CGI/FastCGI.
    2 R, R# z2 }% z2 X  D' p" w
  34. ; http://php.net/ini.sections/ f& `2 X/ X& \- G  V
  35. + N4 ~$ T- Z% E; H; T0 s# T' I
  36. ; Directives are specified using the following syntax:
    9 W1 s) `' G: S6 }3 ~
  37. ; directive = value# B0 V0 @+ t/ f  b
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    & O& I$ Y) M& k/ w( ^, J% \
  39. ; Directives are variables used to configure PHP or PHP extensions.
    . @+ D: f* K, y  L- K
  40. ; There is no name validation.  If PHP can't find an expected) {1 t+ s* L! [# ^( y) ^
  41. ; directive because it is not set or is mistyped, a default value will be used.( ?" Z2 g/ a2 V) a! }- E

  42. ' N9 s; X$ h: F
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ) K; R/ ^' b( ~. q, k; f
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    % T, z) Z! I, ?& |$ ~6 ^) d$ f
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a0 l9 I0 w4 ]$ N( ~5 U
  46. ; previously set variable or directive (e.g. ${foo})& \, t' \/ A$ |
  47. , O5 W; P7 Z" @# s2 Y- j
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    & r& P5 Q" a- a0 M8 a
  49. ; |  bitwise OR  y" X# n1 v$ s2 ]# V
  50. ; ^  bitwise XOR
    0 u! B' K  k3 [. e6 v  F
  51. ; &  bitwise AND
    / @. o' b1 o; a  U, E7 b9 O0 Q
  52. ; ~  bitwise NOT& u- O9 y  r& V  b- ^
  53. ; !  boolean NOT5 e7 s. t" W+ _) y3 q- n0 d

  54. ) g0 t2 v; `9 J
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    * l. r$ E& Y' V, g9 L
  56. ; They can be turned off using the values 0, Off, False or No.
    4 a; }. I, I5 i& P% ^

  57. ( I# O2 P' B* q, j. p2 M
  58. ; An empty string can be denoted by simply not writing anything after the equal; _2 `0 M2 r$ ^' \5 w; J
  59. ; sign, or by using the None keyword:% \: ]- I8 q1 U, X- z

  60. % O7 ~- K4 i6 C0 ?' ?$ f
  61. ;  foo =         ; sets foo to an empty string' K+ @' h" u4 v7 f8 L
  62. ;  foo = None    ; sets foo to an empty string
    5 B4 V: |' ]8 S, r, ?3 d) V
  63. ;  foo = "None"  ; sets foo to the string 'None'2 ?* m" M7 G) r

  64. % F5 `. ?2 x% X% |  K% Q
  65. ; If you use constants in your value, and these constants belong to a! y+ r7 M" Z7 h5 u$ E0 n
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    6 R5 j* j7 b9 G; P
  67. ; you may only use these constants *after* the line that loads the extension.
    0 L$ U& T: g8 z8 j. m) D
  68. * ^  n5 _6 C  X  A0 d
  69. ;;;;;;;;;;;;;;;;;;;: ~2 q7 V2 |- V2 s
  70. ; About this file ;
    ! Y$ F! ?6 I) C/ y& G1 p" R% v% I
  71. ;;;;;;;;;;;;;;;;;;;
    / x! c! M- C; m' f3 q5 d
  72. ; PHP comes packaged with two INI files. One that is recommended to be used5 ]8 f7 S4 M" [5 Q: }
  73. ; in production environments and one that is recommended to be used in9 H! B5 k7 {9 e; v% E
  74. ; development environments.
    7 I% `- q# b* x
  75. ) @* s+ f* \# a' j7 b7 G
  76. ; php.ini-production contains settings which hold security, performance and% @8 ~% y' Q8 ^
  77. ; best practices at its core. But please be aware, these settings may break
    9 d/ M; H- s0 O, P
  78. ; compatibility with older or less security conscience applications. We2 \/ q3 k/ ^8 H$ W# M' O
  79. ; recommending using the production ini in production and testing environments.  r: w' e$ K( f, s9 \% Z) Z
  80. 5 h# d0 j8 e: T! l0 K
  81. ; php.ini-development is very similar to its production variant, except it is; y: h1 l# y4 E( p, t. ~
  82. ; much more verbose when it comes to errors. We recommend using the
    ! G- P/ o/ D8 m5 G2 a' H$ {
  83. ; development version only in development environments, as errors shown to. N' |1 m7 h4 [. H' H
  84. ; application users can inadvertently leak otherwise secure information.
    & n( G4 {7 M# b9 m
  85. - F# J( g2 |/ C8 p% h) L& \9 u
  86. ; This is php.ini-production INI file.
    1 }9 w# r+ R3 N* q- T, B  Y1 q
  87. * f' d. M% M6 A. v0 i2 y5 ]- e
  88. ;;;;;;;;;;;;;;;;;;;
    # q' M! x8 m' Q! r6 C3 \8 Z, Y
  89. ; Quick Reference ;
    % a+ ^+ k+ W) K
  90. ;;;;;;;;;;;;;;;;;;;$ L1 g$ R0 n, u6 J
  91. ; The following are all the settings which are different in either the production& q7 F0 F* n$ b5 p5 T& L# O6 U
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ! P; k! S* k- U( ^5 Q4 e8 O6 M
  93. ; Please see the actual settings later in the document for more details as to why
    8 c. M  v) o! u& ]
  94. ; we recommend these changes in PHP's behavior.
    & o6 ^4 m; P% ~1 x, y
  95. / o/ [" _8 W/ `# Q
  96. ; display_errors- n) F* q* N3 m$ i; h
  97. ;   Default Value: On, H  o9 H* c( e' y( H- M& n
  98. ;   Development Value: On
    0 V9 x& A8 X' M: b! l7 W
  99. ;   Production Value: Off
      M# h/ O) u7 O* {/ B3 h
  100. ) N! ~' y: I8 I1 ]( k6 S. p+ i
  101. ; display_startup_errors
    , X  s5 C. q& F; ~4 [
  102. ;   Default Value: Off! j+ @! H. B) R) F8 `5 d8 I( W
  103. ;   Development Value: On
    8 `' m, q# D/ w3 X3 N3 P
  104. ;   Production Value: Off
    0 m% @+ j; R- k1 ~8 G! Z- Z! t, G; {

  105. 3 ~& R5 r  P& D" E
  106. ; error_reporting
    8 F2 o2 N, O3 O8 ~2 z
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    - i& F  n" \. f4 H5 X/ T$ b
  108. ;   Development Value: E_ALL
    6 g! u6 X" R: `5 _& f* o" Y3 U
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ) ]% w$ o" B, Q& a: l, @' M# {* k

  110. . O$ v0 ~8 i. y: Y* g
  111. ; html_errors' k2 J' u( g: x- t
  112. ;   Default Value: On0 [) l0 w' k+ f' m1 G" t
  113. ;   Development Value: On
    9 F6 y+ Y- G! n7 o
  114. ;   Production value: On( v& f2 T; P' \7 H0 ~3 F8 U" O6 H% ^
  115. 8 L) ?; b( c- z6 m7 E! f
  116. ; log_errors7 c* u; n! A. w0 f
  117. ;   Default Value: Off
    ) d0 B& L$ B1 y, ]" D
  118. ;   Development Value: On
    9 @; P0 v2 ~4 r) C5 s, q
  119. ;   Production Value: On# z' @0 w- |' k$ ]
  120. + c& F6 `! \( o/ ?" }1 z/ F- d
  121. ; max_input_time
    : S$ `5 K4 k: Z/ |+ q& \- m
  122. ;   Default Value: -1 (Unlimited)
    8 S/ P, e& B& [. m! H' b
  123. ;   Development Value: 60 (60 seconds)" B1 v& _% H# Y" y! q7 z0 i
  124. ;   Production Value: 60 (60 seconds)
    2 n/ G1 \* u! g: u2 t, S4 h3 F  `

  125. % f) ]- [' o% |: f) L  N) ~
  126. ; output_buffering
    7 Y+ W1 J0 f( r
  127. ;   Default Value: Off
    . [4 r& d7 g. ~+ |9 r% I0 y
  128. ;   Development Value: 4096
    / k! i# D/ ~% s2 }+ ~. k$ [2 X
  129. ;   Production Value: 4096
    ( ?" O+ ?% J/ g' f9 P0 {- g
  130. 2 \1 k" ]6 h5 E+ T
  131. ; register_argc_argv! _, p' T) p4 J9 a
  132. ;   Default Value: On
    , [1 T& J9 S+ p3 p* Q  w( `. t( q
  133. ;   Development Value: Off
    - ^8 i( n2 J/ H
  134. ;   Production Value: Off
    . N' c8 S0 N% ~9 U

  135. ! g" a  Q% V4 i/ o
  136. ; request_order+ ?. A9 B7 |1 D
  137. ;   Default Value: None# ~) ^7 ?- `) ^0 H, i
  138. ;   Development Value: "GP"
    1 G4 K& `6 G7 l  y! X6 h8 o" a
  139. ;   Production Value: "GP"
    $ S- L5 B+ H6 z8 J. X7 a" C
  140. ' m5 h$ X* N5 s0 q, j  \: p
  141. ; session.gc_divisor7 w( e. P4 Z' S9 n+ k$ j5 ?( ^& ?
  142. ;   Default Value: 1007 U8 m) E; G$ x6 i! W
  143. ;   Development Value: 1000( _0 {9 K/ Z/ x8 k$ f
  144. ;   Production Value: 1000
    ! Y) t* U' P- h  j) J
  145. 0 j- V" t; }+ T0 k- u/ D9 Q$ f
  146. ; session.hash_bits_per_character6 H& L; T. f, [0 i. {: e, C" y( E' ~
  147. ;   Default Value: 4- P( r6 |8 z- X7 |$ i0 t
  148. ;   Development Value: 50 Q* C9 G$ ~. y$ Q$ j! x; c) n
  149. ;   Production Value: 55 S$ v8 y8 }4 j

  150. # v5 _; m7 @$ Y, B, {2 v; a) D/ n
  151. ; short_open_tag
    / @: H9 K0 N1 N5 z+ U
  152. ;   Default Value: On$ s! Y1 Y8 H+ L8 Z
  153. ;   Development Value: Off8 ]8 f$ s: ~# N! i( G$ ~
  154. ;   Production Value: Off1 ~$ D' ~6 u, `  W/ v7 S7 G% c5 C! ?
  155. 8 A5 k" X% L9 c$ g: B! c; y
  156. ; track_errors
    - D  \& _2 g# ^/ q6 e( T$ r! p3 V
  157. ;   Default Value: Off
    ) P& F( s) R" h& A6 {5 m6 |
  158. ;   Development Value: On
    3 A/ G+ T: l. G7 A
  159. ;   Production Value: Off
    ; E( y8 w' E: u
  160. - w+ k8 _' x- z: a+ \, l
  161. ; url_rewriter.tags5 u$ ]6 i! D0 M2 r: N
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ( X* ^# Q( N6 \5 W) m) u/ u
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 F# H" ]1 t4 R( b/ a7 P: v! ^3 Q6 `3 J+ `
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : b9 K/ v0 o/ Z8 p" g7 z6 v) K. i
  165. 3 Z) G/ ?8 N: t( R3 n; W2 Z' \
  166. ; variables_order6 J  M5 v% Y& B& @7 _
  167. ;   Default Value: "EGPCS"/ N, C) c2 a' ?9 y; h
  168. ;   Development Value: "GPCS"
    . ^+ j  |# t1 p. Z
  169. ;   Production Value: "GPCS"
    & u- z' ]4 d0 o5 L1 G  O7 Q* u

  170. * v7 X) [8 D7 B& B6 h
  171. ;;;;;;;;;;;;;;;;;;;;1 A% _+ e8 N; N0 L
  172. ; php.ini Options  ;  z9 m% h" o- t) b
  173. ;;;;;;;;;;;;;;;;;;;;& G6 }3 q/ h2 V
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    8 O9 I! h9 G# \
  175. ;user_ini.filename = ".user.ini"4 S- l3 v* R: G5 y' }4 l( A$ |

  176. 9 Q  [4 [2 y) d, K6 Z( {
  177. ; To disable this feature set this option to empty value# X: F4 m1 S9 }9 |2 w  R6 `
  178. ;user_ini.filename =
    ) c+ J) |7 R' J$ z) v" ^' }
  179.   @2 s) L5 R4 {/ P! ]) F7 h7 b
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)+ X) X, W  E7 w/ o* P) O6 W
  181. ;user_ini.cache_ttl = 300
    7 ]1 q" H. N9 v, u
  182. 9 w/ z0 w8 A6 J8 O6 |. J
  183. ;;;;;;;;;;;;;;;;;;;;
    ( T3 d! ^3 B8 d! ]; }
  184. ; Language Options ;+ h" C# u% l5 f4 Q
  185. ;;;;;;;;;;;;;;;;;;;;
    " ?2 O& t2 f: @# s

  186. + e/ o4 W$ ^# {+ k
  187. ; Enable the PHP scripting language engine under Apache.
    . O" n/ l7 u& C* X4 q
  188. ; http://php.net/engine
      T9 W; @4 F1 {6 f7 @( m7 J
  189. engine = On
    9 G# J( e8 I, g5 _
  190. 7 ?: M; ~( R% S: M$ m1 q: H0 G0 b6 m
  191. ; This directive determines whether or not PHP will recognize code between2 O3 f- X! z! ?+ a) ]' e
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    1 H7 A  d5 L0 e* [! Z! E
  193. ; generally recommended that <?php and ?> should be used and that this feature
      f: J- `) f; h' t4 \: x- i
  194. ; should be disabled, as enabling it may result in issues when generating XML
    # |9 A; z4 Z5 m0 P2 I3 q, Y; Y
  195. ; documents, however this remains supported for backward compatibility reasons.2 {" c3 ]" a' E* _
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    7 }* |2 R! @2 @& D
  197. ; used regardless of this directive.6 Y6 Q3 B! v" g- x+ h
  198. ; Default Value: On
    + N7 ?! ^# X* M% S  K4 t; t
  199. ; Development Value: Off
    2 ^  g" l0 Y4 M4 m
  200. ; Production Value: Off
    & P( W' L1 }. b! A# v( }6 W
  201. ; http://php.net/short-open-tag) N$ Q! k$ a4 j3 j, {  k! R
  202. short_open_tag = On8 N. r1 L2 [# J/ S
  203. 9 J* l/ o: D2 K1 U2 N
  204. ; The number of significant digits displayed in floating point numbers.
    - b# Z- y2 _4 B: e3 U" M
  205. ; http://php.net/precision8 o8 D8 k: Y' P
  206. precision = 14
    . }- W4 A( t" F1 j6 P0 ^4 S
  207. % }4 V: a5 b3 D. J3 E% R
  208. ; Output buffering is a mechanism for controlling how much output data) i7 e1 i) ^* b8 X7 Y* W
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that$ R% ]! v9 M6 z
  210. ; data to the client. If your application's output exceeds this setting, PHP
    9 m' V. v3 k+ s# m" S
  211. ; will send that data in chunks of roughly the size you specify./ L; @6 f! Y' g+ {4 j7 F
  212. ; Turning on this setting and managing its maximum buffer size can yield some  ^0 d* I# L/ F1 Q* Z6 c; a8 k
  213. ; interesting side-effects depending on your application and web server.
    8 u( p( t2 y8 q; t
  214. ; You may be able to send headers and cookies after you've already sent output
    9 q# n% i& E: q9 D4 d7 D
  215. ; through print or echo. You also may see performance benefits if your server is
    8 r2 m1 t7 W! j, [6 g2 x# @
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    8 ]9 x0 u( s' u7 o5 s
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance# g6 l3 \& o! F& G
  218. ; reasons.9 ?& @) d, q9 W" F+ M$ E( f: n7 n3 L
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    0 I% J0 V$ X) l6 q6 X& O: Q
  220. ;   functions.; R! E  C, {6 a' y
  221. ; Possible Values:/ ^2 T- P: y" T* K9 P2 W' I
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ! a  ]. y# i. t9 E8 q
  223. ;   Off = Disabled
    - D+ g0 s3 r+ a4 k  J7 Y  m5 W
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ( f- p! h4 @3 h& D9 M% m
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI# s2 n: c* s" a: w' c3 b! w2 j. Y
  226. ; Default Value: Off
    9 I" K' ~- V; Y, |# }2 l" _' S/ B
  227. ; Development Value: 4096
    + c$ b. O$ S3 a* z: P
  228. ; Production Value: 4096' t3 s4 X( }' f$ P1 D/ ]
  229. ; http://php.net/output-buffering9 u: g% Q* x/ E
  230. output_buffering = 4096
    5 U: s2 k0 M; m7 [6 Q

  231. - s- x$ w3 a* y( {
  232. ; You can redirect all of the output of your scripts to a function.  For% {. s9 e8 V0 u5 R9 }
  233. ; example, if you set output_handler to "mb_output_handler", character6 d& W( T; m, P+ }! A4 m
  234. ; encoding will be transparently converted to the specified encoding.
    & L# \; E# ^' [+ m& R2 m; M# K8 E* ^
  235. ; Setting any output handler automatically turns on output buffering.
      W" |  P- V1 X0 c
  236. ; Note: People who wrote portable scripts should not depend on this ini4 Q. o2 |8 ^7 c2 L0 `" g: L
  237. ;   directive. Instead, explicitly set the output handler using ob_start().6 X  {( G) ?8 C. U6 `3 c1 Y& q0 @6 E6 e
  238. ;   Using this ini directive may cause problems unless you know what script# k" R8 O4 a( P$ z4 |& y* w
  239. ;   is doing.
    ( T8 e2 D7 Q' j0 t+ Q
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    6 b. g" g- Y) J9 J: G
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".: o% K2 m  ]+ D6 O( V! {# Q
  242. ; Note: output_handler must be empty if this is set 'On' !!!!: n  U7 l# h  f1 w( [9 a" V
  243. ;   Instead you must use zlib.output_handler.
    . z: N5 [3 H% e3 D
  244. ; http://php.net/output-handler- b, A/ W  J: N0 ~. E4 V& R1 O
  245. ;output_handler =
    ' ~& s8 z8 b9 @2 W/ G3 Y( F

  246. ) d. @5 q/ i4 r; G# k. J0 E
  247. ; Transparent output compression using the zlib library
    ! X/ D% E& u. @
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    % e; ^+ c; e( D& |
  249. ; to be used for compression (default is 4KB)2 `" o" c7 ]) P- w7 l, g0 {
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    - e4 E# ~5 V% ~6 B
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    % \: F2 ^8 D$ n. P- B) a
  252. ;   compression. If you prefer a larger chunk size for better0 G2 \' ~# y* }
  253. ;   performance, enable output_buffering in addition.
    8 U) ?1 k% z; K0 B1 p) `
  254. ; Note: You need to use zlib.output_handler instead of the standard' W( R; W1 Y4 v2 N, H6 y: k/ |3 Z
  255. ;   output_handler, or otherwise the output will be corrupted.% y1 S! A) e: k$ w/ K# c4 j: u
  256. ; http://php.net/zlib.output-compression
    3 P; I, U/ j0 S1 b7 T
  257. zlib.output_compression = Off, R/ r' A" |( M5 h
  258. ! E5 @5 I2 W) e6 u; N: s
  259. ; http://php.net/zlib.output-compression-level
    % l* k# R) {$ ?. ^+ E5 ~! h
  260. ;zlib.output_compression_level = -1
    # ~$ p$ L# A% E7 B3 b' L8 w4 P

  261. 3 o. X/ D. l8 J- g3 ]
  262. ; You cannot specify additional output handlers if zlib.output_compression, j3 S) O3 }- w- O
  263. ; is activated here. This setting does the same as output_handler but in
    & I& H/ @! ?  r4 v$ E6 a, P+ K
  264. ; a different order.4 o$ H, t0 E7 `. t1 ~& S
  265. ; http://php.net/zlib.output-handler
    : m7 a, P" v- }" j# {# O. o: m
  266. ;zlib.output_handler =3 q. g8 J8 Y) m3 {9 `. V

  267. " O5 j% i- M; s! l! [
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    - `9 ~& L5 {0 m$ T8 l  U
  269. ; automatically after every output block.  This is equivalent to calling the
    & n, K6 P+ F  K% Y" E8 _
  270. ; PHP function flush() after each and every call to print() or echo() and each
    % x* D( a6 n9 d" F6 V
  271. ; and every HTML block.  Turning this option on has serious performance9 w2 i. Y& X: Q: ]  o; q
  272. ; implications and is generally recommended for debugging purposes only.
    ) W& x' T( v. w5 v, L6 C$ o4 d6 u+ g
  273. ; http://php.net/implicit-flush
    - _& Z9 b: A9 m9 q. ~# t
  274. ; Note: This directive is hardcoded to On for the CLI SAPI* N0 X+ z! Y' A* f
  275. implicit_flush = Off
    , d/ d, T' p$ ~* \/ e/ r

  276. ; B' J: w! f) `5 A1 {8 D
  277. ; The unserialize callback function will be called (with the undefined class'$ H7 w) _5 I8 Y5 b! e& N
  278. ; name as parameter), if the unserializer finds an undefined class
    9 @0 W$ y) @3 ~# F& [0 i. \
  279. ; which should be instantiated. A warning appears if the specified function is
    ; s3 e% I8 V' e" j
  280. ; not defined, or if the function doesn't include/implement the missing class.: h) b" D  G* X
  281. ; So only set this entry, if you really want to implement such a
    " I6 X, Q& v$ u6 V* h& s; A
  282. ; callback-function.
    1 k. ^% j3 x) v
  283. unserialize_callback_func =
    0 b2 u- {( d( O6 `, n4 B; T
  284. * o% D% I/ y, K
  285. ; When floats & doubles are serialized store serialize_precision significant4 C0 F% x  @0 G) Z
  286. ; digits after the floating point. The default value ensures that when floats! W0 Z8 C( C  H! J2 G
  287. ; are decoded with unserialize, the data will remain the same.; k& ~' E  V% b+ W6 B: D
  288. serialize_precision = 17
    % |1 \/ F) y5 x4 t  b( ~

  289.   |+ ?. i6 @- c0 v- M% o  U6 `
  290. ; open_basedir, if set, limits all file operations to the defined directory$ S: l) Y6 K# `4 \
  291. ; and below.  This directive makes most sense if used in a per-directory0 p! k8 @7 ~6 ]6 k6 o
  292. ; or per-virtualhost web server configuration file.
    / n. R1 E9 r! C5 ^& p# ^' b
  293. ; http://php.net/open-basedir9 O7 w) X8 B7 I& Z
  294. ;open_basedir =2 r; i" B) Y; _) n

  295. 8 I, d9 m' C& U  A
  296. ; This directive allows you to disable certain functions for security reasons.
    ' q  ^! b& E* g+ P- h! U5 r
  297. ; It receives a comma-delimited list of function names.
    & _+ G6 h" Z& r5 H5 d, N
  298. ; http://php.net/disable-functions
    3 j- a% _, U1 E! m. m# a3 {
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    , E$ ~/ ?+ V5 ?* m% B& Y

  300. $ M7 ]0 D, T% F& h/ ?
  301. ; This directive allows you to disable certain classes for security reasons.
    ( E7 J4 W: R/ ~1 M, ?+ `
  302. ; It receives a comma-delimited list of class names.' V" j" Q0 X/ I7 G1 m1 n5 h4 n7 M
  303. ; http://php.net/disable-classes3 V5 d3 G  B* R0 Y
  304. disable_classes =
    % ~) @7 X3 e2 G5 b5 j
  305.   j; {& _3 V, T/ g, h* Q2 E
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in( d( E& f4 E0 h, E7 R4 @
  307. ; <span style="color: ???????"> would work.# b8 u- i: Z) a- G7 f
  308. ; http://php.net/syntax-highlighting( b6 E# Y) Z; T7 f0 A0 t( i
  309. ;highlight.string  = #DD0000
    ; Q5 z5 {. B. m% q
  310. ;highlight.comment = #FF9900
      B: `- [( f# _/ K# D9 v" O5 p/ `( W
  311. ;highlight.keyword = #007700# |/ A8 p( K" P6 O* ]( Q" m2 X6 P
  312. ;highlight.default = #0000BB
    - t- K+ V7 U% e, _" K
  313. ;highlight.html    = #0000009 C+ `) h4 W7 s2 l) k

  314. 6 k0 d7 v* n% X  s
  315. ; If enabled, the request will be allowed to complete even if the user aborts1 J$ ~' o+ B/ ]) R! }. s1 Z
  316. ; the request. Consider enabling it if executing long requests, which may end up; z& x7 D' J+ O: u4 h
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior) h6 E. T* ^/ ~) t8 @
  318. ; is to disable this feature.
      R! z; ?# v' v" z
  319. ; http://php.net/ignore-user-abort
    2 G# S; G) ~% \- H$ C' d6 o: P: Y
  320. ;ignore_user_abort = On
    4 \4 r/ ~2 ^8 h- S$ d0 _, w

  321. ( a' p8 y$ W8 |$ e  ~
  322. ; Determines the size of the realpath cache to be used by PHP. This value should9 ^9 b8 ~1 @( D
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    5 C4 {& `, U/ Y5 J  o5 g! |
  324. ; the file operations performed.
    3 Y" p, Z( }1 s+ T- O
  325. ; http://php.net/realpath-cache-size4 s9 ^9 |( \" i( ~; ]
  326. ;realpath_cache_size = 4096k
    : t( G8 G& r  |$ ]3 h5 A6 X& o
  327.   o' e( A! d" I, k
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ( o' O% V, H4 l5 h
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    ( j4 h( [: ~+ p9 r4 N
  330. ; value.3 h8 L0 y3 U, p1 u! W4 v
  331. ; http://php.net/realpath-cache-ttl
    / s  S2 F8 a" \7 I
  332. ;realpath_cache_ttl = 1201 H7 i! d$ N5 q: E, Q

  333. 9 g# S4 q& m% y5 F6 E* d& b- e
  334. ; Enables or disables the circular reference collector.. t$ ]7 E- _! i7 @
  335. ; http://php.net/zend.enable-gc% I6 ~3 `& V" j4 r: B2 I* q5 w1 u
  336. zend.enable_gc = On" N, H7 r7 v* u7 C2 R: ^7 g- `

  337. " V  H% {: ]* u: h, u
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    / k; j; c& h3 K+ H/ `" q
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such/ n& W  T1 N, m6 p
  340. ; encodings.  To use this feature, mbstring extension must be enabled.8 y4 P4 }# ~% Q3 ^( ~9 D
  341. ; Default: Off
    2 K2 `8 Z/ ^1 c% V- l
  342. ;zend.multibyte = Off
    " ~$ O  e& o6 v0 f+ u) _$ k" s4 ~, W
  343. ) M5 v. G, x* U8 w9 F$ j: Q3 U! J
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    . c+ G# q3 z  a8 G, ]5 ^$ \6 _- i# x
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.5 J% n& T0 a7 Y8 X8 K) B
  346. ; Only affects if zend.multibyte is set.
    1 p: G; t! o- k' H+ |8 ]
  347. ; Default: ""6 q% D7 R9 F8 f
  348. ;zend.script_encoding =
    / {8 k) R5 L- f0 a: N! Z- T  q
  349. 7 a4 @* p: Y' g: o' \
  350. ;;;;;;;;;;;;;;;;;
    ' \3 n% D% B7 d* m/ F
  351. ; Miscellaneous ;, J; x$ U3 |& e# n& V8 Z( f3 D9 @
  352. ;;;;;;;;;;;;;;;;;
    8 g- l- P" G5 t' M( N

  353. - e2 e8 l8 s3 z5 r
  354. ; Decides whether PHP may expose the fact that it is installed on the server. r7 g9 h/ x( c+ J5 s/ E" l
  355. ; (e.g. by adding its signature to the Web server header).  It is no security6 G3 b; Z8 d' v! g2 p3 x, A
  356. ; threat in any way, but it makes it possible to determine whether you use PHP' S* d0 y- s, o- u) r
  357. ; on your server or not.
    ( F- _: r8 b3 \( }7 g
  358. ; http://php.net/expose-php! U7 W+ ~! h) x4 q8 _3 T
  359. expose_php = On1 M/ e' I  Z/ w

  360. - V" H& |9 D' r1 ?
  361. ;;;;;;;;;;;;;;;;;;;+ ?* b' O: I9 w' P; F" C7 d
  362. ; Resource Limits ;! ^- K/ s6 \- ~/ Q& I  X. U
  363. ;;;;;;;;;;;;;;;;;;;. m% I3 j( F7 m' ]+ u
  364. . R( q) F+ S) k, E) i
  365. ; Maximum execution time of each script, in seconds/ y& \% K/ y; W$ A
  366. ; http://php.net/max-execution-time
    * G$ S4 D* H% A9 k
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI4 _& W% @5 A: n( n( J) o8 \
  368. max_execution_time = 300
    * W& B- O6 V) f! i; o& T4 e1 Z2 L
  369. 3 G- d. L6 d; ?
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    : s4 \0 M7 \- D8 G8 V! d
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    0 P4 d+ G. @- A
  372. ; long running scripts./ m; [/ |6 ?1 N2 B# t6 q
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
      B1 v+ s) B8 x5 b
  374. ; Default Value: -1 (Unlimited)
    ) Q( L9 x6 S( C! [9 g3 ?* k' X( \( t
  375. ; Development Value: 60 (60 seconds)
    - g6 T# q0 S' u" g9 {- w
  376. ; Production Value: 60 (60 seconds)
    4 b' @7 `9 v9 V2 i! w, n% D
  377. ; http://php.net/max-input-time& v* @: w( y3 a& c+ V- E
  378. max_input_time = 60+ p1 H1 {& \% U8 H1 m$ |- t* P0 _+ Z
  379. 5 M% ]- f' J) f2 I
  380. ; Maximum input variable nesting level
    ) ?. N7 b5 Z& C: A
  381. ; http://php.net/max-input-nesting-level" w4 W. A; K0 [& I: ?" R1 J
  382. ;max_input_nesting_level = 64, W0 e3 J; q- m0 }  S' I- X
  383. 0 {: A! U5 F9 X( `9 {8 H/ P
  384. ; How many GET/POST/COOKIE input variables may be accepted5 q6 q( B) ^7 j5 f$ z
  385. ; max_input_vars = 10008 v- D+ d5 Q! e( A& _. h
  386. 3 G' B) C9 }$ R) L
  387. ; Maximum amount of memory a script may consume (128MB)
    4 I  N6 Y( M# T# J& T9 |
  388. ; http://php.net/memory-limit
    # j' d" D  G: ?" q
  389. memory_limit = 128M' F5 j" n; F, ~: Q2 a3 D
  390. 2 a- ~( x: r! i3 O! l+ b  Y, E+ l8 }
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Y* w" M% Y4 W5 [3 P6 k
  392. ; Error handling and logging ;
    & r  k( N4 z6 o' Q! r8 Z$ @
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8 c+ W, O6 d1 S' s# s' R' J
  394. " R" I' b) }, _4 J% z3 B
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    9 ], A' h/ X5 B+ O. [
  396. ; it to take action for. The recommended way of setting values for this
    ( ^/ K( A5 k$ P' N9 S8 o) y
  397. ; directive is through the use of the error level constants and bitwise/ I$ d" ?  a7 |" b
  398. ; operators. The error level constants are below here for convenience as well as
    6 }+ u  f8 x/ p# U# T
  399. ; some common settings and their meanings.6 W# e- P& j+ Q! r3 m1 `
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT( {+ }# w( s9 w% f! l. Z8 z
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and8 Y4 K0 o, d7 f' R+ U
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    5 y- V! h2 P+ l$ v& ?; |
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ! L. Z6 s( N* K
  404. ; resources complaining about best practices and coding standards. That's what6 X3 s8 G; v. ~7 d% J3 j) L9 p7 B
  405. ; development servers and development settings are for.
    : y0 I8 r$ T) ^+ Z2 l! I$ F; K
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    6 a5 T  w1 w- I8 _- [
  407. ; means it pretty much reports everything which is exactly what you want during7 j) S2 o- l! V, `$ b5 H
  408. ; development and early testing.
    1 k. F) a, A& J  `% t8 _
  409. ;
    . j- t- r6 _% {. V
  410. ; Error Level Constants:
    7 t! |5 o9 u- ]
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)' D& ]0 i/ }! u* Q
  412. ; E_ERROR           - fatal run-time errors
    ; z; {* s: i6 l7 M$ v5 q
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
      M& a! g; \! t" Q) h
  414. ; E_WARNING         - run-time warnings (non-fatal errors)1 B, q7 T, R$ {. _! q
  415. ; E_PARSE           - compile-time parse errors/ G% D0 F& [+ W  Q" p
  416. ; E_NOTICE          - run-time notices (these are warnings which often result" H( G1 X7 N: u
  417. ;                     from a bug in your code, but it's possible that it was% o) H+ N9 ]" p3 y( P: X5 g$ W; n
  418. ;                     intentional (e.g., using an uninitialized variable and
    " S, ~! |/ ?7 l0 P
  419. ;                     relying on the fact it is automatically initialized to an0 L) y; V& i8 J; l( C; W# o
  420. ;                     empty string)8 t, k' W/ N+ Y+ E/ [
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes4 b' ]$ K# w# l8 a
  422. ;                     to your code which will ensure the best interoperability5 J9 Z/ ^( ~9 s5 i1 _/ J
  423. ;                     and forward compatibility of your code
    , R( S% q/ g; v8 m; E, t; z
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup/ A4 l: C6 ~' J* u$ h
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's! Z  V! }$ N$ n( k0 I
  426. ;                     initial startup
    - [& i" \3 g$ O# d8 l6 R  u; ^
  427. ; E_COMPILE_ERROR   - fatal compile-time errors2 Y3 Z; T3 p% P. l
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)4 |" m1 ~) [5 D& J: O
  429. ; E_USER_ERROR      - user-generated error message! J6 V4 U; o5 T; e0 t' B5 y! R
  430. ; E_USER_WARNING    - user-generated warning message& ?5 B+ t, N5 K0 @8 _9 _
  431. ; E_USER_NOTICE     - user-generated notice message) H! J6 D; A  E6 Z" X1 e& A
  432. ; E_DEPRECATED      - warn about code that will not work in future versions5 f4 x/ o+ R% c! a* w9 ]. {! j9 o  p" s
  433. ;                     of PHP
    0 I* [0 y% f% A! V
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    8 a5 j  x2 E2 f" {! V: o4 j- Z
  435. ;
    6 A' N3 P9 N* q8 S3 \8 N7 c
  436. ; Common Values:
    4 h8 V! [% V/ {
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    9 M: m6 b" h6 ]/ c
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices): C4 D* `0 V, T9 n$ @1 h
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)( y( I6 [3 d8 G
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)7 o% M2 Q8 j2 ]" T7 L- Y
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED: W& @) G  b* D) q
  442. ; Development Value: E_ALL( N2 i- {  v0 ?* s; L
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT8 B) Z3 G" E  o7 r8 u8 s! o& F8 D
  444. ; http://php.net/error-reporting
    ' A% t( l% D, v1 G% ~& H; B( r
  445. error_reporting = E_ALL & ~E_NOTICE9 ^, @/ V4 u. w) T6 H6 M6 a/ F
  446. 5 x9 C  J$ P2 l& [  g. {( w
  447. ; This directive controls whether or not and where PHP will output errors,
    $ t4 _% n4 ]: p: |! H8 p7 f* Y
  448. ; notices and warnings too. Error output is very useful during development, but! N' o' W; X& Z5 r9 r
  449. ; it could be very dangerous in production environments. Depending on the code: Q2 z; _! \4 x8 H
  450. ; which is triggering the error, sensitive information could potentially leak. ]8 G1 r3 s1 X( H- b/ l5 ]/ L
  451. ; out of your application such as database usernames and passwords or worse.
    3 T( Y' @- W7 d# |" P1 W
  452. ; For production environments, we recommend logging errors rather than7 E. J& A% _0 U
  453. ; sending them to STDOUT.2 {7 o  ^+ F: ?0 f$ R0 i$ B6 m
  454. ; Possible Values:, i0 l" o6 [7 [& {# T
  455. ;   Off = Do not display any errors! x2 t( `& h7 W7 K# }6 R
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ; n! g) i: }4 {0 ^; {
  457. ;   On or stdout = Display errors to STDOUT
    + P' R' ^! o1 W, D: l
  458. ; Default Value: On
    * Z, s5 O( C# p9 s: [* o1 _
  459. ; Development Value: On# m" d1 R; K1 F
  460. ; Production Value: Off( m6 ]4 B+ D- I* \) n$ g
  461. ; http://php.net/display-errors; P/ P7 G- y2 P4 g8 G% [
  462. display_errors = On
    " R# t; j  X8 ^$ k4 m
  463. ! G1 F3 Q: K9 D% b6 _
  464. ; The display of errors which occur during PHP's startup sequence are handled
    7 y& m0 h( |* i9 d4 T) h7 f
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    & O6 @) E# K- k6 \. f5 _. R* y
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ; o  Z- t! m7 r4 V$ u: J
  467. ; debugging configuration problems. We strongly recommend you) H: v" ]* f. D3 M( {8 Y) K
  468. ; set this to 'off' for production servers.
    6 H+ m0 E3 b0 A- d
  469. ; Default Value: Off
    6 N- b5 Y- b9 X' T2 q$ k3 E. b
  470. ; Development Value: On
    * V1 G. t  N/ [: o) L7 S+ P
  471. ; Production Value: Off
    6 U' d- z* {7 ]# V, D8 R" a, \
  472. ; http://php.net/display-startup-errors
    - t4 T! D& @+ ^! l5 ^
  473. display_startup_errors = Off5 R, H. L$ e# h7 q& S! u

  474. 6 ^2 p6 t( _" |, i5 L9 n
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    , `% O* i* E, n8 G
  476. ; server-specific log, STDERR, or a location specified by the error_log
    7 |# m  \% k- f$ G7 {  f
  477. ; directive found below. While errors should not be displayed on productions+ h$ U* o% G5 i( z( q/ z
  478. ; servers they should still be monitored and logging is a great way to do that.5 s  B/ z9 t* N0 I' e1 `
  479. ; Default Value: Off6 R' M. O# p( m7 T
  480. ; Development Value: On* U+ ^: i& c9 y
  481. ; Production Value: On
    $ r+ k# J9 o% a$ n
  482. ; http://php.net/log-errors$ I  m  M1 b; q1 h
  483. log_errors = On
    - U0 G6 W! c$ @% ]

  484. % Y2 i$ w9 o. b& A- y
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ! O& Q. b# T* q# W
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.2 K; S7 d: ?" [- ~9 P
  487. ; http://php.net/log-errors-max-len
    4 E' C0 \+ L+ S* r4 J  \+ b
  488. log_errors_max_len = 1024+ O9 c  ~/ J; R& T

  489. ( w6 D/ u. Q: E
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same) ~) K6 C5 F. M4 x3 N0 S
  491. ; line unless ignore_repeated_source is set true.$ o" j+ R9 @& `  K; m
  492. ; http://php.net/ignore-repeated-errors1 T/ B% C. N1 [: r6 J+ x- a
  493. ignore_repeated_errors = Off
    # E3 V4 b8 l' j+ t. X

  494. 0 Q/ Y( S; Z/ ?/ M
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ! P% Y' l" J2 r* k) u( Q8 f7 p2 C
  496. ; is On you will not log errors with repeated messages from different files or
    8 u8 X, b% D$ X7 f/ X* H, v6 G
  497. ; source lines.
    # C, L) }! _  m) Z( ?# \
  498. ; http://php.net/ignore-repeated-source
    ( z& g- d& O+ D& G4 U* K0 h- k5 V
  499. ignore_repeated_source = Off6 E) k" I8 u0 @
  500. 0 P( k8 g- p! `% T
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on! I2 e, P2 @" }- @& t0 E- ]" `
  502. ; stdout or in the log). This has only effect in a debug compile, and if/ I4 k' `, k% D: K0 l
  503. ; error reporting includes E_WARNING in the allowed list9 {  t* A9 G$ e. ~
  504. ; http://php.net/report-memleaks6 X$ S" d5 R9 M8 v# u8 Y
  505. report_memleaks = On, Q9 T: H' B* K& B
  506. & I9 @2 ]$ P; \
  507. ; This setting is on by default.
    1 N6 Y2 [- ?% W+ E* Y$ k" A
  508. ;report_zend_debug = 07 j$ l  h2 r: D

  509. & o% _( \6 y3 e
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    % A( ?1 D; L- G2 @5 d2 F& Q* t) m+ K
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    ) h. n$ L7 i3 |  M; |
  512. ; however be disabled on production servers.' r# @6 S/ P) t% g
  513. ; Default Value: Off
    4 Q8 Q6 r8 L9 Y% ?" ]- b, g
  514. ; Development Value: On1 V0 X4 @& r, x0 x
  515. ; Production Value: Off
    3 n2 X  y# Q9 [% ]; P5 ]9 I
  516. ; http://php.net/track-errors
    " }* X1 h! r7 H& n4 ^& G
  517. track_errors = Off
    : Q+ k3 i! m9 E# }

  518. ; g# G- S$ a9 E+ A! u6 I+ O4 {
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    2 T; K9 \8 r2 Z' _
  520. ; http://php.net/xmlrpc-errors
    % V. a" G: r& {3 a
  521. ;xmlrpc_errors = 0+ @  C1 P0 {3 `

  522. 8 p  k/ D9 @( T0 o; Z/ r+ d0 G
  523. ; An XML-RPC faultCode: t' r* G0 a" v
  524. ;xmlrpc_error_number = 0
      X* h4 m( W% F) I: ]4 v" `

  525. ! F! S# @9 Y) y! S9 X% b1 k
  526. ; When PHP displays or logs an error, it has the capability of formatting the4 q7 M6 C5 f  S( ~3 [5 A5 z
  527. ; error message as HTML for easier reading. This directive controls whether
    ; c7 ]  B  b3 U3 x
  528. ; the error message is formatted as HTML or not.
    % ~7 P- b2 ]. }4 K% ?/ z
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI7 R* z) x/ I6 D' r' ?7 B0 o
  530. ; Default Value: On
    8 z/ _! ?% C8 w, F# W6 w# Z
  531. ; Development Value: On- R# S5 s: y8 p3 X% F
  532. ; Production value: On
    / }1 q2 G$ e6 B2 ^5 m( D) ~
  533. ; http://php.net/html-errors2 a5 b2 d9 a; ?9 D
  534. html_errors = On
    3 E+ M6 w  }; w" ~

  535. - f, Z! D, t. |
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    " ?8 q# ?3 p! [' L6 a: G& `4 M; L9 M
  537. ; produces clickable error messages that direct to a page describing the error- p1 O9 ^0 a+ S# ^3 l# n
  538. ; or function causing the error in detail.1 n3 S3 B. x) [( `, h( D
  539. ; You can download a copy of the PHP manual from http://php.net/docs! u- J2 V& g# q, L! X
  540. ; and change docref_root to the base URL of your local copy including the
    5 H$ ~) b. N& o7 s0 t9 `
  541. ; leading '/'. You must also specify the file extension being used including
    % g- o. T. m( Y3 J
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    . R* r& g: B, R3 s
  543. ; case no links to documentation are generated.* X0 W' Y: `2 j
  544. ; Note: Never use this feature for production boxes.
    ; b: y# A* W3 X& c, C( |4 t
  545. ; http://php.net/docref-root
    8 q6 u3 T" _! V
  546. ; Examples  U! I: o& Q5 J" B
  547. ;docref_root = "/phpmanual/"6 Q" \0 ]( r' i- R
  548. ) S' [6 ^9 W" p/ a9 O$ l
  549. ; http://php.net/docref-ext
    8 y. n4 f1 ?: [7 l* x
  550. ;docref_ext = .html
    $ P8 l7 o$ w- i' o) h
  551. 0 Z. d7 H: g* ~) M! Y% n" r! ]
  552. ; String to output before an error message. PHP's default behavior is to leave7 ^3 b! g* n3 ]7 t" T) j; g/ a
  553. ; this setting blank.5 p: F1 ]6 `) n7 K2 P
  554. ; http://php.net/error-prepend-string
    " ^; k" {' I! W+ B& T
  555. ; Example:& b3 k- {0 l9 Q! W+ g
  556. ;error_prepend_string = "<span style='color: #ff0000'>"% L* m# ~6 D. N' H) B/ |

  557. 8 M9 v( E  E, D
  558. ; String to output after an error message. PHP's default behavior is to leave
    9 A# s6 I0 O, X3 l0 u
  559. ; this setting blank.
    + B/ p' ?; a" P/ G3 `
  560. ; http://php.net/error-append-string
    , t& W, q7 J( L1 h$ K( s0 \
  561. ; Example:" r/ Y7 a5 T& J
  562. ;error_append_string = "</span>"
    : ]$ F6 P" t3 t5 C, U

  563. 9 H+ n8 y1 k- r
  564. ; Log errors to specified file. PHP's default behavior is to leave this value4 p+ ^( A, |8 d8 B
  565. ; empty.3 v. L" P3 P) r- w/ D) J
  566. ; http://php.net/error-log: M0 O+ P- x# K% D; m. L8 R0 \4 u
  567. ; Example:
    3 F3 J) A) ^2 o( s- a
  568. ;error_log = php_errors.log1 ^# a# B( R7 ^- z; b
  569. ; Log errors to syslog (Event Log on Windows).
    - D" i3 `( b+ a( L+ p$ p) s- l
  570. ;error_log = syslog0 e+ l+ b6 w) b/ y: n7 M6 l
  571. * s0 c. d6 y' f7 a8 g: a3 x
  572. ;windows.show_crt_warning
    5 z" S8 c. p, f& q2 j# ?% l
  573. ; Default value: 02 Z/ e6 l/ b  g2 c: C3 O( A
  574. ; Development value: 0
    6 T# w8 p) h+ z1 k- F0 X" c9 y
  575. ; Production value: 0
    6 O( }* G4 e7 T
  576. * T- Y( Q1 g2 s% u8 j( l/ |
  577. ;;;;;;;;;;;;;;;;;
    5 z" d# z9 d( X
  578. ; Data Handling ;
    , `1 G" S% u  I; }, Z0 q8 Y
  579. ;;;;;;;;;;;;;;;;;
    8 W3 L' _1 Q. m' T
  580. ! W+ a: N( U8 f+ c  P. y
  581. ; The separator used in PHP generated URLs to separate arguments.  Q9 f' n' Y5 r3 Z7 `. M
  582. ; PHP's default setting is "&".$ c: o" ^7 u1 Z" I% d# E
  583. ; http://php.net/arg-separator.output( y) C2 W/ [7 G+ {# K9 _$ a
  584. ; Example:  r2 J3 g  l: ?( z, [' g
  585. ;arg_separator.output = "&"  U+ d1 f' L# b' J; e- d

  586. " h  K! ~% R6 W
  587. ; List of separator(s) used by PHP to parse input URLs into variables.1 L- V* D! g) H0 R3 V# Y- i0 V
  588. ; PHP's default setting is "&".; A  T; x, s4 l# o  w- j
  589. ; NOTE: Every character in this directive is considered as separator!$ i: S# z7 e: ^' f! _! Q& [
  590. ; http://php.net/arg-separator.input/ j" a. M+ \5 t# |# c
  591. ; Example:' }8 A% ^) G+ n) P6 s
  592. ;arg_separator.input = ";&"
    3 f/ Y$ D0 [. [+ X% N- z1 \

  593. ; s( v  ~2 S. X
  594. ; This directive determines which super global arrays are registered when PHP
      a; M* i% C9 o8 _. [$ }5 C
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super/ W# J: R  `% J7 |! w
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty+ _& }  Y. r8 [1 e+ O
  597. ; paid for the registration of these arrays and because ENV is not as commonly/ U& c6 P: n8 t! X
  598. ; used as the others, ENV is not recommended on productions servers. You
    + [" n! h& }7 U9 V! `
  599. ; can still get access to the environment variables through getenv() should you
    7 ?& O8 w; ]0 n! d2 x: d
  600. ; need to.; {* |* {# ~  ?: V9 Y
  601. ; Default Value: "EGPCS"1 q. @, ]# D/ o7 K1 {4 m( J
  602. ; Development Value: "GPCS"5 }, h# a& r1 H9 p+ M. A- B
  603. ; Production Value: "GPCS";
    ' Z" y) _# @4 v* T7 @3 g
  604. ; http://php.net/variables-order
    3 x5 q+ R9 T2 o1 l" @# u" M
  605. variables_order = "GPCS"
    $ w  N! e  Y9 X/ l4 J
  606. : E; |7 E6 C* d0 }
  607. ; This directive determines which super global data (G,P & C) should be
    , C. p( a! ~0 X9 [' a
  608. ; registered into the super global array REQUEST. If so, it also determines
    . C2 z% `6 c8 J9 P* m7 M% P6 h2 J
  609. ; the order in which that data is registered. The values for this directive
    : `/ d( R& s, g8 @
  610. ; are specified in the same manner as the variables_order directive,( ~* E  m) m2 m6 j5 H7 G1 D1 x8 g
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set% J3 l$ o' I, E3 r9 j, @
  612. ; in the variables_order directive. It does not mean it will leave the super' c7 l: C; F( B5 B
  613. ; globals array REQUEST empty.
      x1 }6 V- l* z6 ]
  614. ; Default Value: None, l& _" j" U7 j2 D8 W, r- Z( y0 K8 B
  615. ; Development Value: "GP"
    $ z! t& Q/ v5 i
  616. ; Production Value: "GP"! {1 a; \2 r, f* S- ]* J
  617. ; http://php.net/request-order
    : F/ f( b( Y6 H0 @
  618. request_order = "GP"+ p& w0 G. B% y3 N  V
  619. 3 v( X" B$ ^0 z2 b$ l' a2 N7 z. y2 }4 }
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    % H1 |, d% b, N6 {% O- m- i2 l
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script! R+ e' w+ L/ A) x7 V& C) I
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ; i( i3 F. a+ f- M/ y  C
  623. ; that were passed when the script was invoked. These arrays are extremely
    - u: [' m3 E; ~3 _
  624. ; useful when running scripts from the command line. When this directive is
    7 r. g2 P+ A+ \! n; h1 V8 t4 s9 p
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    - [9 W( X* C2 a. m: P
  626. ; a script is executed. For performance reasons, this feature should be disabled" z0 [: W' v/ s0 ~+ l+ m0 k' T$ u- P8 g
  627. ; on production servers.
    ' G! g* c/ O* h! G0 s8 A
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    3 ], M8 m$ G* F0 e/ ?! p
  629. ; Default Value: On- a& j& w" S+ T2 m7 e' ^, B# S/ o
  630. ; Development Value: Off% r4 v9 ]4 b1 ?- z  Y
  631. ; Production Value: Off
    9 k. ?: r6 E: f% B" ~
  632. ; http://php.net/register-argc-argv
    " g- p0 L% W: ?& y$ [
  633. register_argc_argv = Off
    ' J8 ?+ b1 A6 y' z& D+ ~
  634. % `! z, _, g) X& G* C
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're1 t# U" n' Q6 v3 h0 z$ X" N) H7 r
  636. ; first used (Just In Time) instead of when the script starts. If these
    4 [" u- g( A4 D! Z4 q
  637. ; variables are not used within a script, having this directive on will result
    1 V# x' Y  Y, c% ?
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    5 R0 k9 {: h: q
  639. ; for this directive to have any affect.
    $ k) j4 d! T0 s, |% A; c9 s
  640. ; http://php.net/auto-globals-jit
    8 F- q- `& F6 T2 r% M1 ~# V& X
  641. auto_globals_jit = On
    3 E3 Q% E/ M$ I7 g
  642. ' v! @8 x$ m/ P2 c7 ]- v
  643. ; Whether PHP will read the POST data.
    9 h! B0 D. j6 u+ P. q. n' K3 Y/ x8 p
  644. ; This option is enabled by default.
    ' u& s% q# [  i& s
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    : ^! J3 k, P( s$ l% ]! U' }
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    $ r+ D& E$ a. D; b, [! ^' k" F
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ( \: }) v( J( m0 c
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.1 @' E! O* ~$ h% b& a0 p% Z( d
  649. ; http://php.net/enable-post-data-reading
    8 C! S' s' h, f5 R0 q, p2 x0 ~
  650. ;enable_post_data_reading = Off
    : x; i. T6 q% N. l+ @

  651. 9 f9 R+ {2 E7 }8 F, t
  652. ; Maximum size of POST data that PHP will accept.! Y/ b; r( i2 S$ X$ Z& ?' l; P0 I  \3 K9 e
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    $ f+ q2 a) m) ?0 B: Q& r: T- r
  654. ; is disabled through enable_post_data_reading.
    6 x" ?  V5 }0 G5 j
  655. ; http://php.net/post-max-size+ f+ a8 Z/ C7 G$ J
  656. post_max_size = 50M) Y6 U7 Y/ Y% A2 l
  657. 2 j3 c. t. x3 b/ b: h; o- n
  658. ; Automatically add files before PHP document.
    ! |: Z& `9 y; O* K
  659. ; http://php.net/auto-prepend-file
    ! i4 e0 u& L5 H& I$ a1 s7 a
  660. auto_prepend_file =$ C2 s1 B6 E5 a6 u
  661. + Y+ [( R" j) S- v8 B
  662. ; Automatically add files after PHP document.
    ! N( A6 R: K% e/ f
  663. ; http://php.net/auto-append-file
    " Z+ {2 T# K9 X  C2 i+ v
  664. auto_append_file =7 L5 [" O( ~* X7 T9 r

  665. 2 c- O( `- }1 n# K4 j
  666. ; By default, PHP will output a media type using the Content-Type header. To  q% [/ r( I' p2 x) B# k
  667. ; disable this, simply set it to be empty.5 I% p# I9 d1 W
  668. ;
    % s) C- F( Z& \8 z
  669. ; PHP's built-in default media type is set to text/html.
    6 k4 `3 g9 f( C% i0 F, {( c; g
  670. ; http://php.net/default-mimetype
    ! L7 G$ B' G% E& A' e0 f0 j
  671. default_mimetype = "text/html"/ V  V8 N/ R( w5 h4 x

  672. 9 p: r4 s2 G% C" V/ ^0 z1 s
  673. ; PHP's default character set is set to UTF-8.
    4 m+ y& Q0 Y5 X+ P" N: V4 O- P
  674. ; http://php.net/default-charset
    + i8 Q% E* f, @) _! J
  675. default_charset = "UTF-8"
    2 A( y- C9 V7 l9 |; V% r2 P  j' Z8 J
  676. ( ]; D7 |3 ~2 t% T& Z8 D
  677. ; PHP internal character encoding is set to empty.
    & C5 Q9 F. S+ G! P, G; ]
  678. ; If empty, default_charset is used.
    , O$ f* T9 S% P& j: X
  679. ; http://php.net/internal-encoding: Z4 A, {; i/ w
  680. ;internal_encoding =
    ! t' X- R' d: ^1 t9 t
  681. % i7 d% A& u0 e' ~. K0 @; v/ u
  682. ; PHP input character encoding is set to empty.; q$ |1 H" l8 G
  683. ; If empty, default_charset is used./ H4 Q! f  G3 A4 T; i
  684. ; http://php.net/input-encoding$ r" c8 r/ Q- P+ y
  685. ;input_encoding =) U, Y1 t3 X7 h9 u7 ]' R' H- b* A
  686. - Y* R! q2 H- J# ~0 W1 l
  687. ; PHP output character encoding is set to empty.
    # c; ?2 S3 s  a$ X# f2 g, L( J! R
  688. ; If empty, default_charset is used.
    4 t+ H- e' o' V6 m$ W
  689. ; See also output_buffer.8 f* w; Z" l" d$ s
  690. ; http://php.net/output-encoding
    4 F! x# ^( u$ p; U' l
  691. ;output_encoding =# L+ F3 l% M& Y0 [+ \2 x/ f
  692. % B, M; B! m& M" a& V
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;) s& G: x4 W! v! ~, [0 Y7 p1 ?9 P
  694. ; Paths and Directories ;; S% a1 a: T* Z$ I5 {* A" x# ?" y6 ?
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;$ i- M- Y% }6 C% o; l
  696. - j0 I/ o5 y3 u/ N7 l
  697. ; UNIX: "/path1:/path2"! S/ c6 z3 e5 r0 u. y
  698. ;include_path = ".:/php/includes"5 f4 @4 R3 x% E# `) U
  699. ;. e1 S5 Q8 f' }
  700. ; Windows: "\path1;\path2"
    2 l' Z* a0 M3 X' v6 f
  701. ;include_path = ".;c:\php\includes"9 \8 a4 g# s( O2 H8 l
  702. ;' c- X6 M+ |' [! U! V# Y
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    4 w6 `! b8 F. E
  704. ; http://php.net/include-path" E' Q- o+ r4 O7 t3 v
  705. ' G; C2 g/ _7 }" `
  706. ; The root of the PHP pages, used only if nonempty.7 Q  w* d# a$ i; w
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    & F" u, x. j- M% l) |3 x
  708. ; if you are running php as a CGI under any web server (other than IIS)
    3 w8 r% k) R5 q% o  A% d
  709. ; see documentation for security issues.  The alternate is to use the
    7 V# w; }6 J. @2 B
  710. ; cgi.force_redirect configuration below
    4 Q: [, ]( l+ `+ K
  711. ; http://php.net/doc-root
    6 s5 C4 R+ A+ p/ Z& W0 T/ W" P( N
  712. doc_root =+ Y3 t) l4 e) E1 U+ R- R/ C; @# B

  713. * ^8 {# q3 u$ X, a
  714. ; The directory under which PHP opens the script using /~username used only
    8 F( C( A% L' Q+ C# f/ A
  715. ; if nonempty.  j+ g1 p. s* ^0 \7 T3 W. @- x
  716. ; http://php.net/user-dir' a) {% h: m4 S9 @+ i. J" C
  717. user_dir =
    6 r4 Z# o2 J, h' ^9 o: }

  718. . a! e4 [) |# [
  719. ; Directory in which the loadable extensions (modules) reside.4 @: a! V" E6 ^+ E
  720. ; http://php.net/extension-dir
    $ y% p0 {, A$ a8 `+ F
  721. ; extension_dir = "./"
    , N$ d$ o* _5 l1 d' L
  722. ; On windows:
    " D- H' Q5 Y+ t& T/ {
  723. ; extension_dir = "ext"/ Y1 N. F+ g/ ]7 `
  724. ) y; f& [7 I+ e. w) C' G" ~
  725. ; Directory where the temporary files should be placed.
    # i* G  [6 j# h" ~
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ) i* x) B0 Y7 `4 p, b
  727. ; sys_temp_dir = "/tmp"
    ; _7 s1 c- C% U# z6 d& _* y

  728. " }& _% L, }5 {
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work" m6 |8 F7 @2 p3 s, n! ]
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically7 t: {: D; V( P! m! F
  731. ; disabled on them.
    0 v/ J# s' h  l7 g
  732. ; http://php.net/enable-dl( a2 M8 E2 L3 G, A
  733. enable_dl = Off6 z% W2 w8 g! E% z8 f

  734. 5 L5 J* ]$ g0 b# \
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under2 B( _' C7 n6 `! A# [
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    / U& J# v$ B% ?! t
  737. ; turn it off here AT YOUR OWN RISK
    5 y' J8 U8 \: h2 k# U
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    9 f/ ?8 r2 A: O( ~  ?" p% ?( m" [
  739. ; http://php.net/cgi.force-redirect3 x! ?3 R0 s3 ^
  740. ;cgi.force_redirect = 1( k9 |$ z  D5 J

  741. ' n4 w/ ]7 S) d0 U: p, j
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with& k6 |) P0 v  [3 u. Z
  743. ; every request. PHP's default behavior is to disable this feature.
    & D' U* _; f9 k( \1 I
  744. ;cgi.nph = 1
    0 l4 ~% N' W+ w
  745. ; X7 k5 k' q* l& m7 l$ w) d
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    5 y  d+ `) k5 @: m4 T
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP" W. o6 f+ e" f& p" r5 Y+ D
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ! {4 _  p# a- r! p( ]
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.4 F0 ~, W: J* ~0 A+ M3 X  a
  750. ; http://php.net/cgi.redirect-status-env
    . E5 q. |3 p1 \' I; e
  751. ;cgi.redirect_status_env =8 M" }8 @3 B! S" ^

  752. ' {: X6 ^2 H9 ?
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's0 v  w; z, ~, F
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok, N8 \/ j, m. `1 Y
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    1 S0 A8 F+ B8 {0 U
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting/ X/ i! f  n1 F
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    7 U) |) f2 N4 [% F7 c3 K  y, o
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    - @) W) r- K0 y) q. Q+ E5 R
  759. ; http://php.net/cgi.fix-pathinfo
    , J+ Y  K- a* e( @6 X
  760. cgi.fix_pathinfo=1$ P9 F3 v! J; R3 F

  761. ( j: w6 u4 |! L- G% Y& Q$ a
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    - W# D- @; K. i( u+ }
  763. ; of the web tree and people will not be able to circumvent .htaccess security.( e" v9 l9 Q9 G; H
  764. ; http://php.net/cgi.dicard-path
    2 i# w8 A/ ]7 o( r' e/ B& k
  765. ;cgi.discard_path=18 S9 s9 }; Z" w8 i' i
  766. 2 g9 y; z  i" z' n" L' D( f* d& h
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    0 h) x& d- l/ o! X8 T9 m# l9 h- F
  768. ; security tokens of the calling client.  This allows IIS to define the
    : s1 |9 e  G3 S, K- M0 x9 m! K4 O
  769. ; security context that the request runs under.  mod_fastcgi under Apache6 e3 h* k" r+ U' u2 t) F
  770. ; does not currently support this feature (03/17/2002)
    4 q2 z1 z/ ^5 r: O5 j2 s7 [* c
  771. ; Set to 1 if running under IIS.  Default is zero.8 k) O# G) K: W+ K
  772. ; http://php.net/fastcgi.impersonate
    . f, E1 ^' }3 Z  t6 j0 l$ F, ]
  773. ;fastcgi.impersonate = 1. R; x: r6 B. V6 k- R

  774. 7 {. B( }( `9 k7 ~1 Y
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable/ u* G8 U+ G: ]1 C/ O( V
  776. ; this feature.$ M2 w- F9 _: a5 A) Z2 G$ C
  777. ;fastcgi.logging = 0+ ]; n- k- I, j$ n1 f
  778. 6 m' ^$ c) ?- g% v- O4 `
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to: V4 W' E, ]9 `, _. X9 P
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that6 ^# `! t# P* Q
  781. ; is supported by Apache. When this option is set to 1, PHP will send- X5 H1 U# m9 e8 ^% W- y
  782. ; RFC2616 compliant header.0 |; L: u) @' P5 [+ Y
  783. ; Default is zero.
    % I2 x3 g+ m% d- m+ j: ?
  784. ; http://php.net/cgi.rfc2616-headers
    ! }( A  i6 i" l9 l1 L1 d) ^
  785. ;cgi.rfc2616_headers = 0" Z1 M4 ]# H8 b
  786. % O2 S. i, ~. @. h7 F# E
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!0 h; t; Q7 r* u3 a! J! _5 }
  788. ; (shebang) at the top of the running script. This line might be needed if the3 q8 Q9 b, Q- y
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    5 @" ~5 I- S4 Y* G7 u& y
  790. ; mode skips this line and ignores its content if this directive is turned on.5 V' V8 \, ?8 ~2 d5 d# I
  791. ; http://php.net/cgi.check-shebang-line* C( X, a, x; p
  792. ;cgi.check_shebang_line=1
    0 z2 i  k* L0 W( R& E8 n% g1 R
  793. ; U3 b  e3 \' F& n1 M
  794. ;;;;;;;;;;;;;;;;3 T+ A9 |5 t: m$ g, n
  795. ; File Uploads ;
    8 g7 s' D* o4 [* |" }( ]  y
  796. ;;;;;;;;;;;;;;;;
    ; S% d/ R# N$ f, V& i" x# k0 f5 M
  797. 9 E/ W7 N' a* i( `  y2 c
  798. ; Whether to allow HTTP file uploads./ t' h, Z. R4 q& u; j2 ?, ]+ ~
  799. ; http://php.net/file-uploads
    & H2 K1 j* D& E! N3 k4 a) J/ c
  800. file_uploads = On
    ; l4 o5 G5 J+ q3 }' A% p# C- I/ i
  801. . i7 G' L5 Y8 b* L! ~
  802. ; Temporary directory for HTTP uploaded files (will use system default if not% t5 K+ B3 X1 @9 |1 t8 {
  803. ; specified).
    % O* L1 ?( g7 j! ?
  804. ; http://php.net/upload-tmp-dir1 q; Y* P3 C* h+ B, q
  805. ;upload_tmp_dir =- x, O7 ~8 k6 M) i5 e( D3 v

  806. $ U6 v* F% Q9 a6 \8 t
  807. ; Maximum allowed size for uploaded files.
    ) i, L2 U, p4 I7 L. E) ~
  808. ; http://php.net/upload-max-filesize% [4 Q" L; P0 N. [! w5 M& a
  809. upload_max_filesize = 50M
    7 N' q4 |7 c: L9 E

  810. : c# W/ E# y2 k# N% k  u9 _
  811. ; Maximum number of files that can be uploaded via a single request
    $ `' s6 v: x( z. ?$ B* X
  812. max_file_uploads = 20
    ' F+ U" ?5 M6 H; R* {  {
  813. ) Z! m  T9 x. J% P. Z
  814. ;;;;;;;;;;;;;;;;;;- p% Z" i: c* W  u  t) H
  815. ; Fopen wrappers ;( f3 N; B1 b; c. Y4 O6 W% H
  816. ;;;;;;;;;;;;;;;;;;
    3 T0 n. G' d9 e9 M7 W
  817. ( ^. C- {9 l2 m- }% ]$ _: P. ?
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.8 _2 |% {, i1 b
  819. ; http://php.net/allow-url-fopen; d& V! R- i8 |1 J
  820. allow_url_fopen = On
    . H: N5 t* X7 y# x# s. W# d
  821. 0 C( A0 Y+ f6 c
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.9 G$ [9 F8 H. I6 K  E
  823. ; http://php.net/allow-url-include9 W. a- \& `3 S2 Y9 e% T1 [0 D" `
  824. allow_url_include = Off
    : t* J0 j: q" a  q& t: `0 H. R

  825. $ R5 g/ X$ e! _/ j! k0 n/ x
  826. ; Define the anonymous ftp password (your email address). PHP's default setting7 c/ b% p; K$ g; L/ F2 E
  827. ; for this is empty.
    % x" q0 H) ^4 w! e* v
  828. ; http://php.net/from
      G. W0 `9 q, G3 l& m
  829. ;from="john@doe.com"9 ?# S3 X( O7 D" S4 \

  830. $ h- e1 Y1 i. i- ]7 |' A; G
  831. ; Define the User-Agent string. PHP's default setting for this is empty.2 |$ I$ x' C  D% P; V  j
  832. ; http://php.net/user-agent
    2 j, ]) w1 C, ^1 B7 j- ^3 ]% |: p6 J" j
  833. ;user_agent="PHP"$ f2 u& X$ ~4 _. x! K) }
  834. & a; [1 w. Z2 Q
  835. ; Default timeout for socket based streams (seconds)
    " x% N# B' p" \3 K- t
  836. ; http://php.net/default-socket-timeout
    3 \% v4 r0 x0 ~' f1 ?, b) j! [) S
  837. default_socket_timeout = 604 Y. W$ |  h( y4 e. A& G7 a8 }: j

  838. * S( y" O$ G5 O/ \- p6 W
  839. ; If your scripts have to deal with files from Macintosh systems,; C' Z6 o5 y/ K: t$ C! u  e! ~
  840. ; or you are running on a Mac and need to deal with files from
    ) A( S7 I0 H) V# k0 j6 X
  841. ; unix or win32 systems, setting this flag will cause PHP to
    & S! n& S9 H& S$ u; L' c. Z% H
  842. ; automatically detect the EOL character in those files so that
    5 F+ t) o, p% p- h0 A
  843. ; fgets() and file() will work regardless of the source of the file.
    1 ~/ F( Q& a$ h7 [3 V
  844. ; http://php.net/auto-detect-line-endings# P  a  }( k1 m7 l$ ]
  845. ;auto_detect_line_endings = Off$ w. E7 [) q$ Q. E

  846. ; i( |5 F$ d! O5 ^. u2 g2 b; a
  847. ;;;;;;;;;;;;;;;;;;;;;;, ^* U  Y) Q. {+ c) P3 w) v
  848. ; Dynamic Extensions ;( |" Q% k4 [; X
  849. ;;;;;;;;;;;;;;;;;;;;;;
    5 ~* D+ e' j$ ], F0 ]- P$ Q: v

  850. 2 s4 x' _* ?$ X/ g$ N1 X9 t
  851. ; If you wish to have an extension loaded automatically, use the following
    2 j9 R$ U" j7 m8 i# D
  852. ; syntax:2 f* \0 m- `" z% {3 K- l
  853. ;
    . g4 x: |2 Z& s. N! ]: a
  854. ;   extension=modulename.extension8 @& J; k' i3 V) N5 ?/ m4 `! }6 a
  855. ;
    ( D& W; Z3 z6 Y+ q# b; a/ r  e
  856. ; For example, on Windows:
    " j2 `0 A) Y, ]4 A. o3 J- Q8 W% q
  857. ;
      t3 `. C% R9 J% `. R8 O& U
  858. ;   extension=msql.dll
    : r& m  i, b$ D! r, T
  859. ;
    + t' Y7 ~, j$ L4 Q
  860. ; ... or under UNIX:
    6 B4 z7 T9 ]8 G# D1 ]/ x' G
  861. ;, |6 N. q# [: o$ O# z2 H
  862. ;   extension=msql.so
    % a  |" A/ y: Q% {+ E
  863. ;
      b  B( M' _; ^
  864. ; ... or with a path:, g( w7 G7 o" G5 I4 q* ?
  865. ;
    ! J8 j2 L& G, i6 U# ]
  866. ;   extension=/path/to/extension/msql.so
    6 _" q' ~* n; ^, _0 w
  867. ;9 Z# x# J  K) i# ?5 D8 F
  868. ; If you only provide the name of the extension, PHP will look for it in its; h& U* ]% n) n7 \9 I8 a: b$ Q
  869. ; default extension directory.
    ( Q0 |* z4 e: i7 w$ x* M& W4 E8 S
  870. ;% O6 S. T' m. Q1 O" Q( P- C
  871. ; Windows Extensions
    7 S. h' }1 L$ ?6 B/ Z) B
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    . `( n7 d7 H: s7 q" c2 f
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    0 W! l7 a/ r5 @. q8 i" c0 }- u
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).* j( ]6 A- v$ W5 }+ S/ n& h
  875. ; Be sure to appropriately set the extension_dir directive.
      ?# E/ |6 }5 j5 F8 M
  876. ;
    ' T, V( k8 E7 {- j+ n
  877. ;extension=php_bz2.dll9 ~( i7 g& z& ~+ G7 A/ v
  878. ;extension=php_curl.dll" g3 l4 w* ^; d& D% q# j) M
  879. ;extension=php_fileinfo.dll
    7 v- S: W0 [5 I( [) e
  880. ;extension=php_ftp.dll
    0 W. S1 O" P; N5 g
  881. ;extension=php_gd2.dll
    ! f4 r# G4 V! @7 C
  882. ;extension=php_gettext.dll, E, }  N$ ^6 r/ T
  883. ;extension=php_gmp.dll
    ' }' H' o! I. }  ~
  884. ;extension=php_intl.dll5 _0 w) y9 F. [" a
  885. ;extension=php_imap.dll% M4 [" U, D7 x* j/ M) Y
  886. ;extension=php_interbase.dll
    5 R( o! f% Y5 f" E# H8 V
  887. ;extension=php_ldap.dll/ _6 }! ]8 D0 y
  888. ;extension=php_mbstring.dll
    7 M& V8 m* f8 d6 S1 s6 a
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it0 \, M$ E6 y3 u  ^
  890. ;extension=php_mysqli.dll
    9 K: l5 x) i( }0 H: x& A! D; `
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    & |/ }: |9 ~5 J" j
  892. ;extension=php_openssl.dll
    , ?; s4 G5 q5 E) X) D
  893. ;extension=php_pdo_firebird.dll0 k& j% G& y* X; ~
  894. ;extension=php_pdo_mysql.dll) [& H7 ^* t8 y# N/ ^4 b2 N
  895. ;extension=php_pdo_oci.dll0 s  M  T% p5 V1 k. l' S$ d/ u" L' `
  896. ;extension=php_pdo_odbc.dll
    ! t$ o+ {  Y3 R! l+ U9 |" D
  897. ;extension=php_pdo_pgsql.dll6 k$ c, P& u$ F% X; h0 G/ B2 @
  898. ;extension=php_pdo_sqlite.dll
    # A' _9 U# J( R4 j5 m* p
  899. ;extension=php_pgsql.dll
    6 ~% F2 ]  M# D& F! s3 q, Z
  900. ;extension=php_shmop.dll9 U$ @, a2 S0 r

  901. 5 H; W+ L+ F$ C/ Y. K4 W
  902. ; The MIBS data available in the PHP distribution must be installed.5 {7 i, G0 e$ K+ h$ A
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ( h; N+ t5 s3 q7 W: x, B
  904. ;extension=php_snmp.dll8 b, L% L0 @9 A! C! ]5 N! j

  905. , L2 ~( m  M) h/ `8 ]8 S( J
  906. ;extension=php_soap.dll6 e: [# U+ R  ?5 h
  907. ;extension=php_sockets.dll6 a' C/ E7 h" _% X9 Y
  908. ;extension=php_sqlite3.dll
    2 R' L( i" x( E8 w  T- b
  909. ;extension=php_tidy.dll
    ( G+ d" W- Y1 I& s6 y$ {
  910. ;extension=php_xmlrpc.dll
    0 K7 C' {& S2 H
  911. ;extension=php_xsl.dll/ z1 K1 {! r" i; F4 O! t; u: C3 Z

  912. ) c' |9 K5 \% H0 N5 N
  913. ;;;;;;;;;;;;;;;;;;;
    $ h8 x8 r- N6 I
  914. ; Module Settings ;
    7 ]8 V- |+ L/ h
  915. ;;;;;;;;;;;;;;;;;;;
    4 x* ]1 w' A. r5 y$ `" z3 U. z2 ^

  916. 1 f' H, d' [* k$ [$ d9 m
  917. [CLI Server]* T% Q& p0 M+ y  D; U2 v
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.: r5 B: l+ n$ G# q: B$ a
  919. cli_server.color = On
      h0 t  e1 r+ f+ @8 S
  920. ( t: J& G1 V9 B# C1 N. m- r
  921. [Date]
    * V1 f7 ^+ j- v6 {9 b+ ]0 Q+ M' O
  922. ; Defines the default timezone used by the date functions% Z8 c9 O1 b& G9 q6 l0 m% D3 ]
  923. ; http://php.net/date.timezone
    ' y! i8 u* z2 E% b
  924. date.timezone = PRC
    5 ?8 p1 U' r4 {6 |' r

  925. ) p& y4 c: l, k* q  w3 T
  926. ; http://php.net/date.default-latitude( X: i6 _% `' D' V5 b
  927. ;date.default_latitude = 31.7667
    0 a) K+ l& K; y' l' C; W

  928. : U3 t; v+ K3 g4 }; E( S
  929. ; http://php.net/date.default-longitude
    9 ?1 |1 n, a( I& F
  930. ;date.default_longitude = 35.2333; \2 s, A3 e: E2 O

  931. , B& B  @/ j6 s) t
  932. ; http://php.net/date.sunrise-zenith% j4 s& Z5 x( Q: v2 ]
  933. ;date.sunrise_zenith = 90.583333' l! @, F. G0 X$ ~; d' |6 r( h
  934. * O6 n* Q0 @9 ^7 V0 A
  935. ; http://php.net/date.sunset-zenith
    ' |' H; C/ @% N1 i" H
  936. ;date.sunset_zenith = 90.583333* p8 m! Y8 g6 g# w; R

  937. ) Y+ V, D- K9 L( r3 e7 ]( v+ u
  938. [filter]# l: w3 A* y1 B: q; W- Y0 K1 v) C/ k
  939. ; http://php.net/filter.default) A  U* U! C+ P7 R. i
  940. ;filter.default = unsafe_raw( }$ i( v1 ~) @

  941. " p. h/ |' `2 H2 ?- T
  942. ; http://php.net/filter.default-flags% P2 D, l( E1 J. i1 P; y) G5 D
  943. ;filter.default_flags =
    ( D( G% B2 N" i( w. c0 ~
  944.   E2 `% s' O# E8 |7 q
  945. [iconv]
    $ Y( s/ b9 n, a4 `, V! w# S
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.0 D. ^  u; C$ w7 G9 F* {
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    . C! ]( V) J: r0 ]: |3 G! d
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding3 ^* i$ P, ?, G! u4 a6 x; X) k$ s
  949. ;iconv.input_encoding =7 I6 g! M/ @# v, m; k, I

  950. 2 ?4 B% O7 z% Q$ |* v7 O$ X- M" M
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ! n& L" K' C8 T
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.; ~# O5 {/ J" n% _. k8 }
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    6 [8 G6 w3 m( q( M+ S/ x  ]
  954. ;iconv.internal_encoding =
    . E% C5 p' _) @9 X, {7 r* i- J

  955. - ?; R; L$ E+ r/ a' L5 h
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.+ H% o1 c" G; R
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.+ w! }6 a2 Z5 A; r" @8 W" B+ R, L
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding% ], G' B1 Y: U/ t: d
  959. ; To use an output encoding conversion, iconv's output handler must be set
    0 ]; S/ f9 E& l- Y& z
  960. ; otherwise output encoding conversion cannot be performed.
    4 b! H8 F% d! n6 j- }8 e
  961. ;iconv.output_encoding =
    4 k* Y9 v' {; K+ T1 U
  962. ' Q, F: j. v+ z0 g+ e! \4 X
  963. [intl]
    7 ^' d% G2 b; |; D5 e9 z
  964. ;intl.default_locale =# q3 T$ ^! K  F1 f' {' z
  965. ; This directive allows you to produce PHP errors when some error
    8 ?1 v5 A0 ?7 F+ g
  966. ; happens within intl functions. The value is the level of the error produced.
    * A( K7 n% q4 a% e
  967. ; Default is 0, which does not produce any errors.
    & l8 J1 ?5 X, b
  968. ;intl.error_level = E_WARNING% G- J7 N3 @/ j8 c- g9 P
  969. ;intl.use_exceptions = 0
    / D  `6 R7 Z4 [# e6 A
  970. ( o! @0 K  C8 k) |/ n8 T
  971. [sqlite3]+ }) E& U0 S/ B8 v
  972. ;sqlite3.extension_dir =
    " C( Y9 K- i# u- U: c) |0 E* e

  973. % b) E1 F6 d8 Q5 ~8 z# C- e1 s
  974. [Pcre]& N7 _( R" d5 h& ]
  975. ;PCRE library backtracking limit.
    5 N# r5 v: `) Q8 a) z  _: z
  976. ; http://php.net/pcre.backtrack-limit
    3 C; x8 p5 |$ f9 v* B3 \
  977. ;pcre.backtrack_limit=100000
    + P! {) {# X- Y: U8 \+ }6 J

  978. 4 o: A5 D" g+ d1 j0 c) P; \
  979. ;PCRE library recursion limit.5 @. t/ Q- z2 t
  980. ;Please note that if you set this value to a high number you may consume all/ ~2 Z; E" O" {* t* f* i& d
  981. ;the available process stack and eventually crash PHP (due to reaching the: ?  e1 C5 ^8 I1 \2 K+ R
  982. ;stack size limit imposed by the Operating System).9 S8 I5 `# @( }0 \* C2 M: `( U
  983. ; http://php.net/pcre.recursion-limit8 h. @, l: ^" U; ^- V& z4 o- n; A
  984. ;pcre.recursion_limit=100000, W" M% t& q1 s9 C3 M' V
  985. . t3 `/ g! p# m/ `: w# a# x9 r
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    - O9 Q! H  u) L: }; @
  987. ;library to be compiled with JIT support.' v% g  a! D* h" ?) n1 ]2 D( }
  988. ;pcre.jit=1' @8 q9 J  M* e( i6 Q

  989. , O6 N0 {# s0 {2 C! F3 ]+ L
  990. [Pdo]
    8 }' x, F( }6 P5 y! X9 W$ f
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"5 {0 H. f& k3 g9 ^
  992. ; http://php.net/pdo-odbc.connection-pooling
    " ?6 j/ z# a+ V9 M. B) s+ A
  993. ;pdo_odbc.connection_pooling=strict
    . @5 I) j7 Q8 q! y% e5 l! n4 s
  994. + u6 a8 g; X' F7 L6 @2 L) R
  995. ;pdo_odbc.db2_instance_name
    % A/ d0 L& [1 m

  996. 8 y" d4 P& ~& l% o
  997. [Pdo_mysql]0 \) j; \9 N6 b/ K% Q( A9 o6 R
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 H  i$ r+ P+ r, u
  999. ; http://php.net/pdo_mysql.cache_size  V8 h% M/ M; J
  1000. pdo_mysql.cache_size = 2000
    4 q6 v- o# g, H6 ^

  1001. ) d- H7 `' C* @
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in% g; A5 C6 K* C; |: ^6 p
  1003. ; MySQL defaults.9 o' V9 v, V  T2 p2 n8 H
  1004. ; http://php.net/pdo_mysql.default-socket
    % u1 l2 y9 ]0 H5 [/ A" {
  1005. pdo_mysql.default_socket=6 Q. X7 A: `8 z3 m+ S

  1006. . Q' W- x. H8 ]
  1007. [Phar]: |# [1 h% L7 @5 r3 f
  1008. ; http://php.net/phar.readonly
    $ \$ k* d9 a$ B
  1009. ;phar.readonly = On! i* r- S: A% \, T& Z( o# p
  1010. & y% V, w, S' {# b' f& {9 l
  1011. ; http://php.net/phar.require-hash
    . b! t: {4 S; t9 q& @( t( D
  1012. ;phar.require_hash = On
    + v* a8 Y6 J8 F% C: L9 X

  1013. . }: l0 m5 W$ m8 Q
  1014. ;phar.cache_list =
    4 {- F* K2 [4 }9 ]0 B7 H

  1015. ( F7 K9 m7 O. P* R6 T7 f9 J
  1016. [mail function]
    . ?$ x" b& Y, r; F
  1017. ; For Win32 only.& Q2 \- @) N% E0 k& ~' D) s
  1018. ; http://php.net/smtp
    & A% ?2 k4 x: s+ D' s4 H
  1019. SMTP = localhost
    , X  U+ t" R% Z0 C/ T* V0 E
  1020. ; http://php.net/smtp-port; W7 Q+ r6 u5 d# k
  1021. smtp_port = 25
    9 w  W: K" v/ V  B7 _$ R- B
  1022. , G7 u( K7 I+ T& J
  1023. ; For Win32 only.
    - P/ N) b, X% a& _
  1024. ; http://php.net/sendmail-from
    6 u. Z5 J; \7 f5 z; O* F
  1025. ;sendmail_from = me@example.com+ }) b" m2 ]# ], f8 z4 P: @
  1026. & u, Z0 p4 s/ V. b9 [9 ]
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").2 e& I" Q& c% O
  1028. ; http://php.net/sendmail-path* Z5 }* o7 Z+ E6 d
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    6 O( Z' `* ]/ Z& J* l

  1030.   z8 _* S8 ~% q5 D  T
  1031. ; Force the addition of the specified parameters to be passed as extra parameters0 C+ v$ ~! v0 Q. w: {
  1032. ; to the sendmail binary. These parameters will always replace the value of$ J! I2 T' \& |6 B0 q$ X9 X/ D3 D$ u- ~
  1033. ; the 5th parameter to mail().
    ! |- N$ m: q% J! d$ @! x
  1034. ;mail.force_extra_parameters =, D; t9 x* Z; h2 w
  1035. * E5 ?$ G2 B, Y& U3 [& ^
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename) ^  o% W0 W$ @5 D* i9 x# Y; g
  1037. mail.add_x_header = On
    # ]$ H, V6 s2 i/ k
  1038. , Y  S5 @4 {$ i; c
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    $ \) ?' V8 M( N: y+ ^+ `
  1040. ; the full path of the script, line number, To address and headers.- o8 X& O+ [4 Y3 G/ T
  1041. ;mail.log =1 @* h1 o* N5 l" J! P, y* r
  1042. ; Log mail to syslog (Event Log on Windows).. A; v" c0 e/ q+ E; |. _5 Y
  1043. ;mail.log = syslog4 }- [& p, H2 f2 X
  1044. / R: s7 _0 Y. M: Y+ ^9 k/ S1 l
  1045. [SQL]
    + u& J. [5 N+ n# p7 w+ |% |" ?% U, s
  1046. ; http://php.net/sql.safe-mode+ S" h( E8 g9 z% }( e- \
  1047. sql.safe_mode = Off
    4 e# E% q! i: g9 j  s
  1048. 1 h3 N, I. S9 Z! C# Y
  1049. [ODBC]' H" @* Q; o+ A7 t' m
  1050. ; http://php.net/odbc.default-db
    5 R! t( L. y* n0 S* t
  1051. ;odbc.default_db    =  Not yet implemented0 q2 @. e% ~* d3 [. \5 R
  1052. # U$ ~$ J. @% |7 `9 t
  1053. ; http://php.net/odbc.default-user
    & n% X( Y( N9 D' s
  1054. ;odbc.default_user  =  Not yet implemented
    / Z$ g% E& u2 J# @

  1055. ! f3 u8 E. R& ^3 q' }) I
  1056. ; http://php.net/odbc.default-pw7 u2 {4 H( F4 Y+ ?9 y7 |- t
  1057. ;odbc.default_pw    =  Not yet implemented7 x0 A# H  m4 c) k
  1058. ) @8 x5 R! L) M/ e0 Y% s: o" T
  1059. ; Controls the ODBC cursor model.
    : T' g  S( W" U) F. ?
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ! h1 ~6 |( P8 _& |) R
  1061. ;odbc.default_cursortype7 s' k2 [9 I/ j, V. h
  1062. ! |. @3 }. {4 @. x9 D7 w
  1063. ; Allow or prevent persistent links./ s+ p6 {% {) P$ H6 ?4 u
  1064. ; http://php.net/odbc.allow-persistent6 m5 U" |3 {! X% Q5 H6 G' g
  1065. odbc.allow_persistent = On
    6 ]5 u  t* C& v6 F7 K! g+ q8 A
  1066. % L0 d$ L5 d+ k! o  j
  1067. ; Check that a connection is still valid before reuse.
    9 _) `3 a& \4 K& D5 K4 I
  1068. ; http://php.net/odbc.check-persistent' g! W; c, n7 c  G2 I' D* W! ?
  1069. odbc.check_persistent = On
    5 g8 p4 L9 K" d* |" ^5 j0 B
  1070. 0 b( A6 x9 P% Z4 Y6 ?
  1071. ; Maximum number of persistent links.  -1 means no limit.
    7 y0 n2 U. R8 @$ {/ P4 _
  1072. ; http://php.net/odbc.max-persistent
    8 _/ A( ?( \8 i2 K  y" t1 g. m. H
  1073. odbc.max_persistent = -1
    , c& q1 q, L' @
  1074. . U/ h( R5 |% P  v- l
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 ]& w: K" s2 J; v# d: [
  1076. ; http://php.net/odbc.max-links1 r1 ]( |0 X) c3 y
  1077. odbc.max_links = -18 }7 Q. h) j2 v& L- o  i8 w) y

  1078. + Z! E! L/ O! _( A! h
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    3 u5 J, u8 d$ R9 ]3 ~7 S  G
  1080. ; passthru.
    - c5 X, o2 n# c0 }
  1081. ; http://php.net/odbc.defaultlrl
    1 a% ?3 u/ w3 i6 j4 Z% o
  1082. odbc.defaultlrl = 4096- y# s; w4 H# A; P- a( h& W
  1083. & K" o! T) I/ R* z+ t% U  x$ T
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    8 K/ C4 r* a9 A+ N8 H
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    $ C4 P! g" O& U; K* p
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    + d9 q; v5 y- v' G: Q' h0 @5 `
  1087. ; http://php.net/odbc.defaultbinmode
    * K0 [. L; q0 E4 a" u5 l
  1088. odbc.defaultbinmode = 17 [. c: u; B# J/ X* x' ~: |
  1089. " ?# q: C, l/ z7 B8 Q8 C
  1090. ;birdstep.max_links = -1
    5 w- R. {+ y- H6 `1 W# D
  1091. ) D" k* f& d! c* r+ B
  1092. [Interbase]8 e1 U; s5 D  Y
  1093. ; Allow or prevent persistent links.. n- I' x: d. N
  1094. ibase.allow_persistent = 1$ b# d7 @! U/ [
  1095. , \+ J; H5 @1 x9 R( V4 ?8 K
  1096. ; Maximum number of persistent links.  -1 means no limit.7 d) O" E0 W9 I0 z5 k+ _( l. D. P
  1097. ibase.max_persistent = -1; A1 N/ a  ?0 F: k, N
  1098. 6 z9 }& q) l& l) j5 E
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      P8 ~7 C, m& Q+ W8 w4 c! e) g- N1 w5 l
  1100. ibase.max_links = -12 H$ @$ e# U0 Z% ^' Z$ P+ ~2 L4 T
  1101. 0 R  G0 \, ?; I* [) ^3 M3 l0 u
  1102. ; Default database name for ibase_connect().. ?8 V, ?9 c- O, S
  1103. ;ibase.default_db =
    ( v8 Z2 U& p8 y0 b3 q
  1104. 3 C  C; ?0 c& J8 Q, E% e9 G3 }
  1105. ; Default username for ibase_connect().. Z4 S4 X9 G9 J+ S" c- y+ n5 `/ t
  1106. ;ibase.default_user =* u' J5 b& I" b
  1107. 4 V9 D: q* T) l0 v8 y/ y
  1108. ; Default password for ibase_connect().
    8 E6 t% Q' v9 v& ^' p1 u1 X1 r/ y- R
  1109. ;ibase.default_password =" J# B9 G8 H- f5 ^
  1110. , U, g1 i1 B9 A' v; A  ~
  1111. ; Default charset for ibase_connect().7 c! X2 M( W8 Y, R
  1112. ;ibase.default_charset =
    5 f- x" q! q" P" ?  N- R
  1113. " J$ s5 @$ L6 p! ?( i
  1114. ; Default timestamp format.
    1 N7 j5 J. s( N  W
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"- n6 \! c" d" g0 {2 X$ j0 K  t/ B

  1116. ! R" A) D6 @3 f/ P9 S8 K. U& D
  1117. ; Default date format.
    , Y; ^4 E; i& P6 S
  1118. ibase.dateformat = "%Y-%m-%d"% Y; C0 P( f7 z2 r$ d+ ?

  1119. 8 L  {6 B) y7 x$ M& ^
  1120. ; Default time format.* z' ]( x' u& u1 Z% ]
  1121. ibase.timeformat = "%H:%M:%S"* Z* B, }, E, s3 b5 A
  1122. . I5 Y  \( x$ i* M6 Y0 ~/ o$ q
  1123. [MySQLi]9 r0 a' }0 q1 Z" o& ~) k9 B
  1124. 8 U; W$ z7 w& m7 w" F: |
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ( I7 A- x- J0 Q: W$ g( i
  1126. ; http://php.net/mysqli.max-persistent- p' a) s& R. r5 x  G0 n* C
  1127. mysqli.max_persistent = -1( j/ ^' p% h  H
  1128. # p4 _; F9 J) d0 O
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    / C& v/ p, W4 Z) d* K# w$ g
  1130. ; http://php.net/mysqli.allow_local_infile
    ; q2 I; u$ j" n" D
  1131. ;mysqli.allow_local_infile = On
    ; p, b8 i* p" f/ Y- D# M( w

  1132. - q/ P' L8 _" r5 S2 F
  1133. ; Allow or prevent persistent links.
    " X: O3 E) t* W) V- b& {6 r
  1134. ; http://php.net/mysqli.allow-persistent5 u+ m! P) {2 e5 \. E
  1135. mysqli.allow_persistent = On
    + f) E$ F7 E  r2 S
  1136. $ H) H+ b0 g$ x4 F2 i
  1137. ; Maximum number of links.  -1 means no limit.$ {9 j; Z* A7 y
  1138. ; http://php.net/mysqli.max-links$ z6 ]$ i! K7 I4 b0 [8 C
  1139. mysqli.max_links = -1* m* Q1 u9 h( ]4 @9 ?$ I

  1140. - T# w+ K7 j# E+ w/ H2 i3 @
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - q' e1 t. M( Q
  1142. ; http://php.net/mysqli.cache_size8 l. G$ c- M* ]* E
  1143. mysqli.cache_size = 2000
    1 m/ `* K, Q( P2 ?5 q( r

  1144. ' ?& R* i5 o. C
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use5 B6 S& t! X# C1 W- ?
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the/ D9 m0 B$ C( R( f! I! p: D9 z
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    9 ?! k4 C2 z/ C3 D: ~
  1148. ; at MYSQL_PORT.
    ; V2 C; F% P5 e9 w5 m* \% t  D
  1149. ; http://php.net/mysqli.default-port) O3 A: I- O9 a8 P: U3 j' Q
  1150. mysqli.default_port = 3306
    5 e/ [  K! I; _
  1151. - {( W% P! E; ~
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in; t& Z* L% E2 G
  1153. ; MySQL defaults.
    ! E7 P* S; K# w7 {+ ~7 G- [
  1154. ; http://php.net/mysqli.default-socket
    / p8 c3 ^- E1 L) x, N
  1155. mysqli.default_socket =
    & V1 N2 `" o6 J& F5 }: q

  1156. * J5 \! m2 c" P8 {, H) C
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ' F) f6 U. p& r+ K+ K
  1158. ; http://php.net/mysqli.default-host1 T; W" P; F( |- i7 ^: z
  1159. mysqli.default_host =& z9 D/ I% F7 Y# n

  1160. ' s0 x% L2 ]4 v/ C
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    * z! S7 _1 {9 S5 l+ b' l0 S$ S- ~+ i
  1162. ; http://php.net/mysqli.default-user1 R' o8 P. [- m% _: }  e
  1163. mysqli.default_user =
    - s& t  Q+ _" |3 W# B$ {

  1164. * v6 P- ?! ?) F2 [' `. w: H
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).0 l# o. C( b& B: y# d) |$ f' G
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.! c! r4 f- D/ ?6 U$ {; }+ h
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")/ [/ }" |: G7 U- C+ B$ }
  1168. ; and reveal this password!  And of course, any users with read access to this
    & Z5 \+ ]/ L8 [% F4 H& B% M
  1169. ; file will be able to reveal the password as well.
    4 q3 W5 q& O' L$ e# U
  1170. ; http://php.net/mysqli.default-pw
    5 [3 H. u6 b6 S$ W! p/ P
  1171. mysqli.default_pw =/ ]1 }0 ?+ E2 r+ S! {5 o2 {7 w+ G: z

  1172. + I6 H1 F; j3 ~/ P8 o
  1173. ; Allow or prevent reconnect& k: N( `8 U5 G+ \# G
  1174. mysqli.reconnect = Off+ `3 E  y  |; f; z5 a9 p, a4 T
  1175. . P0 S4 s, ^0 P0 V2 \
  1176. [mysqlnd]2 T8 n% \& u$ D9 [# G: T
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    2 W* }+ g) R1 c! P+ b. o7 \
  1178. ; used to tune and monitor MySQL operations.
    9 r" d" }$ O. F+ f+ I8 u6 G* l
  1179. ; http://php.net/mysqlnd.collect_statistics( S" C# w6 K: G0 u( c, g! J# H: ?
  1180. mysqlnd.collect_statistics = On! d3 e. [" T5 `  J) f4 U
  1181. $ r5 R, N* N/ T0 K. R: U$ G
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be8 H. i8 f' R; X# `1 u' E
  1183. ; used to tune and monitor MySQL operations.
    2 |% \2 A! g/ U  E' l
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    ' a7 J7 G+ T/ B0 M
  1185. mysqlnd.collect_memory_statistics = Off
    # L4 N( \) m9 D" Y
  1186. 7 _/ h: I; H5 n6 d2 @
  1187. ; Records communication from all extensions using mysqlnd to the specified log1 C% |) Z  Q) D$ n4 [0 |
  1188. ; file.
    7 u5 i  [# z% L
  1189. ; http://php.net/mysqlnd.debug, Z3 O+ b- ^7 Z6 A
  1190. ;mysqlnd.debug =6 x% R! ]; V2 E4 _' ]

  1191. + ?, _; K0 P" `5 k/ J- q
  1192. ; Defines which queries will be logged.
    8 F3 S" O4 l1 \8 _. E
  1193. ; http://php.net/mysqlnd.log_mask
    " L* W( }$ D6 q& W1 b( ]3 Q
  1194. ;mysqlnd.log_mask = 0
    1 v0 Z; m: f" V9 K/ M+ R

  1195. ) A! o$ [  P9 l
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    " @* U. O, W1 d' T/ W% k
  1197. ; http://php.net/mysqlnd.mempool_default_size
    ) @$ Y8 z5 ~  H8 c' g
  1198. ;mysqlnd.mempool_default_size = 16000
    6 C$ `5 D9 s7 `0 A( H
  1199. * |7 J* Z" \" t- C
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes./ d7 `: Y* I: g' T2 ~
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ! x8 W9 E- u% j( ^
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    $ a, j& _! G, N& i; \
  1203. % d. o' w# L) w" x
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
      }; X7 f( f+ B/ c1 u
  1205. ; bytes.
      K* e1 s: ^, ~' \
  1206. ; http://php.net/mysqlnd.net_read_buffer_size! Z* _' t* J' o, V2 |9 c* }
  1207. ;mysqlnd.net_read_buffer_size = 32768* c! |4 H4 l  I; P

  1208. # j' }; |- c- p+ `  `+ Q" C, g' e# V
  1209. ; Timeout for network requests in seconds." |* k) M% T2 Q- M$ h( U
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ; ]9 L8 S! D! Z& _  q2 q
  1211. ;mysqlnd.net_read_timeout = 31536000
    ' Z0 G6 j: z" @/ c- O  H' R

  1212. 0 b; \7 b' Z- {7 v$ b3 W
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    5 \' S; |5 M; i2 ]7 D
  1214. ; key.  G5 u9 D  Z& L# d1 J( G) `
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    . T1 o8 h7 ]8 J3 D4 z4 G
  1216. ;mysqlnd.sha256_server_public_key =; L3 ^4 H3 l, i" p* [, n0 K  D

  1217. + n& Z" y# i! G
  1218. [OCI8]# @7 x1 U* l3 Y$ b3 [" S7 C
  1219. ; G% M$ U$ c$ L. p+ ^' t* j7 e( f
  1220. ; Connection: Enables privileged connections using external( K2 E7 R$ p2 h
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)- i! J& |9 k( s9 b9 r/ D
  1222. ; http://php.net/oci8.privileged-connect
    6 y1 ?6 z7 m% |1 o0 `
  1223. ;oci8.privileged_connect = Off; \, U0 A, R1 @( P' w! Q. M

  1224. 4 o7 X: Q5 [  T5 Z4 P, w* W
  1225. ; Connection: The maximum number of persistent OCI8 connections per( _( W* a, d) `$ V6 ?3 j( A  o
  1226. ; process. Using -1 means no limit.( j7 i- H; _) K" B
  1227. ; http://php.net/oci8.max-persistent
    % s. I' d* q+ h5 p$ r
  1228. ;oci8.max_persistent = -11 w1 @" ~! ~1 H; I; x
  1229. , O' A3 ~) I; M. f
  1230. ; Connection: The maximum number of seconds a process is allowed to
    ; ^9 d5 |# c4 o
  1231. ; maintain an idle persistent connection. Using -1 means idle. b! e# \8 x7 w
  1232. ; persistent connections will be maintained forever.$ H4 h) Z5 u& b) s- G1 r3 _
  1233. ; http://php.net/oci8.persistent-timeout
    " z5 D7 P$ k* _6 }0 Y" |
  1234. ;oci8.persistent_timeout = -17 A; F0 l2 v, H

  1235. : d* s& @7 M8 ]9 ]5 ~6 V
  1236. ; Connection: The number of seconds that must pass before issuing a
    ( e3 G; `- t' x
  1237. ; ping during oci_pconnect() to check the connection validity. When
    0 w! T* ^" m9 X
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    9 c9 Q1 _' e7 D7 {+ t- _" v
  1239. ; pings completely.
    4 M3 Q, P* K$ h8 d; H/ j7 f! }2 p
  1240. ; http://php.net/oci8.ping-interval
      `. U% f. T& l0 o
  1241. ;oci8.ping_interval = 60( h/ U; T5 `* N3 E: `3 i* k

  1242. 3 k! E0 p  f( _( M$ ]0 U2 N
  1243. ; Connection: Set this to a user chosen connection class to be used
    , f7 R: T0 i3 t; E5 E, f9 ^
  1244. ; for all pooled server requests with Oracle 11g Database Resident
      s( w. D, Q2 {2 Q0 ?: l8 G
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ! N$ W* U/ O# I
  1246. ; the same string for all web servers running the same application,: F" K  X% U- T* Y! k7 X
  1247. ; the database pool must be configured, and the connection string must
    3 T3 o  d9 h9 N/ f/ R3 ?, y' N
  1248. ; specify to use a pooled server.
    , s+ \8 k: C: O
  1249. ;oci8.connection_class =0 V, A) T; S0 M# Y* B/ }" g

  1250. ' x1 u& P  ~% j/ j6 _
  1251. ; High Availability: Using On lets PHP receive Fast Application
    " O8 c, N, L0 }
  1252. ; Notification (FAN) events generated when a database node fails. The9 @$ e$ G6 Z2 ~( _# d" X) L
  1253. ; database must also be configured to post FAN events.( _" a) a1 {2 A
  1254. ;oci8.events = Off! {0 k9 F* @- G/ `0 H
  1255. 5 Z) m+ [3 c  E- X4 z! v7 m1 x+ H
  1256. ; Tuning: This option enables statement caching, and specifies how4 K9 H; ~2 d/ R
  1257. ; many statements to cache. Using 0 disables statement caching.- R- a& e( ^, F$ Y2 D3 a
  1258. ; http://php.net/oci8.statement-cache-size- P8 C6 ?$ e3 g: q
  1259. ;oci8.statement_cache_size = 20
    2 N, Y: @2 H2 @
  1260. ! t, J; [+ \' u5 B1 b! g- U
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    9 {1 x2 @5 g/ l7 B& ?8 Q
  1262. ; rows that will be fetched automatically after statement execution.
    9 Z5 h* ^% p4 w5 ~6 m) B: _
  1263. ; http://php.net/oci8.default-prefetch: V$ V' d" V5 B& ^3 r  P
  1264. ;oci8.default_prefetch = 100# }' v9 M% u) F! o
  1265. 7 y1 o5 n$ Y" Y: U
  1266. ; Compatibility. Using On means oci_close() will not close
    & r1 r, g& M4 |5 w; a
  1267. ; oci_connect() and oci_new_connect() connections.& r9 O0 h7 \% H
  1268. ; http://php.net/oci8.old-oci-close-semantics
    , H8 j, |- ?# a
  1269. ;oci8.old_oci_close_semantics = Off
    : k4 S( S/ ^8 E
  1270. % a, {. k: K7 F
  1271. [PostgreSQL]
    4 J6 y: j7 Y# a) O
  1272. ; Allow or prevent persistent links.1 y$ C) M3 K$ H/ n4 T) i
  1273. ; http://php.net/pgsql.allow-persistent
    # x6 n+ M  L; ]
  1274. pgsql.allow_persistent = On8 U# c& l7 f8 R: J$ A
  1275. + `" |& x9 O" c4 Q( v9 I: p
  1276. ; Detect broken persistent links always with pg_pconnect().
    + y* c* f9 g( g
  1277. ; Auto reset feature requires a little overheads.+ P6 ^6 f7 j: a2 B
  1278. ; http://php.net/pgsql.auto-reset-persistent
    , e7 X$ w3 r3 @. e' g
  1279. pgsql.auto_reset_persistent = Off
    : P% o% e& H2 S3 b6 r3 C

  1280. - g* Z( z* n9 @! @4 `' W! }
  1281. ; Maximum number of persistent links.  -1 means no limit.  }7 ~9 k. l0 E
  1282. ; http://php.net/pgsql.max-persistent( U/ U& q0 ]* M4 Q$ O% R
  1283. pgsql.max_persistent = -10 m: b1 q# S) T3 E& D" S' e9 ?
  1284. $ G9 I5 i! ]9 H$ R3 T; u1 t
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    6 t0 q) P# [6 d' r
  1286. ; http://php.net/pgsql.max-links- X0 N' ~: H3 M+ X# Z
  1287. pgsql.max_links = -1; V4 v8 X6 S* W' [3 W; G

  1288. 0 J7 t6 a3 p- ~, ^( `! W
  1289. ; Ignore PostgreSQL backends Notice message or not./ m- l3 ^* ~) w% D+ v3 w! ~5 q, D! V
  1290. ; Notice message logging require a little overheads.7 i! Y$ I( j; Y: l3 R) h
  1291. ; http://php.net/pgsql.ignore-notice
    + Y, T9 ~( [* r* t$ y
  1292. pgsql.ignore_notice = 0
    1 x/ s* I& F" o* O

  1293. # y6 z: H2 O* q
  1294. ; Log PostgreSQL backends Notice message or not.3 e6 c& w: w4 E/ ?
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    9 {* x  o" r6 x
  1296. ; http://php.net/pgsql.log-notice
    4 K9 ]" r6 g5 `" K+ u& O
  1297. pgsql.log_notice = 0
    5 s' p3 R- Z+ Z* r# G/ `( ?
  1298. " n0 |- e. x9 k# O
  1299. [bcmath]
    7 G( E6 \$ q& Y# ]9 U" @
  1300. ; Number of decimal digits for all bcmath functions.
    / [% y, X. B  u' S* V+ y& z$ [$ e2 |4 V9 ?
  1301. ; http://php.net/bcmath.scale
    & S0 i4 ]1 w( j4 z
  1302. bcmath.scale = 03 }7 y2 O# @1 x3 m

  1303. * a' C! r, m% P( O6 X3 e
  1304. [browscap]  W7 B' l7 p- y
  1305. ; http://php.net/browscap: x  E7 h3 v( e8 g6 I
  1306. ;browscap = extra/browscap.ini, t! U5 q- z7 a1 r; I) Z0 Z1 s4 b# m: \9 X
  1307.   x( E* U! R8 i3 x
  1308. [Session]
    3 I9 L6 f9 C# K
  1309. ; Handler used to store/retrieve data.7 w) H7 Z( R0 ?& A' b9 l0 B
  1310. ; http://php.net/session.save-handler
    2 x" V! |0 y( a8 A' x% g0 t# U# P
  1311. session.save_handler = files/ ^' L+ Y* h6 G+ Y) o) S
  1312. ; ~$ P$ @5 {& Y, x7 y" S+ S* D
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    8 w: @$ m5 |7 a4 u  [
  1314. ; where data files are stored. Note: Windows users have to change this( u$ E. A1 r$ ~/ ~# S5 y$ o
  1315. ; variable in order to use PHP's session functions.& e; T6 g. f% S, P$ R! D
  1316. ;0 b4 Q" q+ A/ H. ~
  1317. ; The path can be defined as:( T) x/ M1 Q; O1 t6 b0 w, z" r
  1318. ;
    ) I1 f0 J% w- a/ d3 ~
  1319. ;     session.save_path = "N;/path"
    ( z: ^: H8 H# t+ B7 c" [
  1320. ;/ S# ]+ O* V2 u; ^; d0 y3 O
  1321. ; where N is an integer.  Instead of storing all the session files in2 W, U$ W2 W  k- y
  1322. ; /path, what this will do is use subdirectories N-levels deep, and1 b% j! W# u/ T% U
  1323. ; store the session data in those directories.  This is useful if
    ) U  d/ _$ I0 `+ z
  1324. ; your OS has problems with many files in one directory, and is
    - q" k4 l6 X: I: J+ q3 Z& M
  1325. ; a more efficient layout for servers that handle many sessions.
    ; p. [: G4 l& z3 g7 d' W. X0 |/ x
  1326. ;
    . e4 o4 M, @) S
  1327. ; NOTE 1: PHP will not create this directory structure automatically.6 ?5 V$ M, O! K' V
  1328. ;         You can use the script in the ext/session dir for that purpose.
    % B  J( W  D" p' J
  1329. ; NOTE 2: See the section on garbage collection below if you choose to; z4 N5 B* e9 @/ T; |9 m
  1330. ;         use subdirectories for session storage
    9 V# h) ]! A" H$ E8 [
  1331. ;
    : H5 C+ ?3 t2 g4 ^0 L; R/ v/ N
  1332. ; The file storage module creates files using mode 600 by default./ N, {# G# \8 X: S
  1333. ; You can change that by using3 j4 O$ {7 I5 |5 f& q4 P- l
  1334. ;
    7 b0 ]6 C# F6 r7 t0 s8 s3 ?
  1335. ;     session.save_path = "N;MODE;/path"$ M* F  u* j1 h  ~, w
  1336. ;
    2 @" [+ S! K2 A* R- M
  1337. ; where MODE is the octal representation of the mode. Note that this
    & N# O  f) T  M5 q. `. U  Q9 E
  1338. ; does not overwrite the process's umask.
    # @1 Z5 `7 C; ]+ f# e. y! R
  1339. ; http://php.net/session.save-path' l/ l# L  R9 }9 a7 B7 o
  1340. ;session.save_path = "/tmp"
    : z2 z$ {6 B8 u5 ~7 G) E) M0 D7 _
  1341. 0 p2 b: R' O/ T3 S& ]
  1342. ; Whether to use strict session mode.) E" H* l5 ]$ e+ i3 P& {7 h+ ]
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate! r2 Z/ c2 Q- |7 A/ \! D( x
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects  _3 g4 P/ Q4 @* L) r- V9 E
  1345. ; applications from session fixation via session adoption vulnerability. It is  d  D' k0 d! y& P6 g4 O
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    $ `! p( I+ s2 u% @: R8 J
  1347. ; https://wiki.php.net/rfc/strict_sessions! z! r! D% C  g6 N5 x1 {, l
  1348. session.use_strict_mode = 00 [' b( b2 x- M6 u) O
  1349.   O( l0 g( C: i8 T" b8 O' j8 i
  1350. ; Whether to use cookies.
    : c2 \; z+ h) w1 d; M1 C1 o; r* d
  1351. ; http://php.net/session.use-cookies
    / J# P: D0 H. K* x
  1352. session.use_cookies = 1
    8 B( o! ^# S& `
  1353.   Q( j( z0 O( T; F
  1354. ; http://php.net/session.cookie-secure8 Y3 [$ v9 K1 u
  1355. ;session.cookie_secure =. w( m$ d+ Q4 Y! y  V

  1356. 5 Z* ?. i: o7 E9 a* t* z
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    3 o3 H' D$ d* P+ Y; z5 M8 i% O1 E
  1358. ; the session id. We encourage this operation as it's very helpful in combating+ c. v% v7 E  d8 }
  1359. ; session hijacking when not specifying and managing your own session id. It is
    3 T7 w' A  o1 Y7 q$ b& b
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    % L1 u* G- }/ V* K) Z8 @
  1361. ; http://php.net/session.use-only-cookies
    ; ~$ ]& i6 x4 p" Z; U. o6 n
  1362. session.use_only_cookies = 1
    9 d" A( G7 v+ @6 w2 B5 c. Q! @

  1363. " B, Y2 E* X8 ~% X# G2 R5 v3 v
  1364. ; Name of the session (used as cookie name).
    / P: j% I; M2 P8 [
  1365. ; http://php.net/session.name$ p+ Z1 {0 p/ o) f) G" ^
  1366. session.name = PHPSESSID+ Q8 y' i# i% h% h$ j
  1367. # M8 c/ ?6 A% K' @7 k& E8 D; r
  1368. ; Initialize session on request startup.7 H+ c/ K& ^0 d. j5 |% }
  1369. ; http://php.net/session.auto-start
    " k5 K) y4 ~1 E& ~& g
  1370. session.auto_start = 09 z1 b/ X/ D# H6 U7 ^% v

  1371. ) v4 r/ ?6 z+ ?4 z8 M. B( B
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.3 c# j' P; U$ R4 Y
  1373. ; http://php.net/session.cookie-lifetime  d9 t! k7 A' O
  1374. session.cookie_lifetime = 0  \& D* }0 z) Q8 y% l( z

  1375. 8 W2 j  U7 t$ [/ \' j2 ~, s
  1376. ; The path for which the cookie is valid.: G' N6 P1 y7 U; F9 T
  1377. ; http://php.net/session.cookie-path9 X( V) E, B6 w" \
  1378. session.cookie_path = /
    7 V$ J# F6 [; ^/ P1 a" {3 n
  1379. 5 h+ ~1 E$ h  ?# \4 k6 b
  1380. ; The domain for which the cookie is valid.
    5 O5 L& O: u4 x# ]; v, T
  1381. ; http://php.net/session.cookie-domain: X* Z# t- e9 T5 z! H
  1382. session.cookie_domain =5 m* i8 q0 l5 e' V7 a  S- O

  1383. ; e1 O$ j% x5 f% m$ h
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    : }5 [: c& C5 g$ \
  1385. ; http://php.net/session.cookie-httponly4 B# g3 A/ I" p4 V4 S& e$ [+ b
  1386. session.cookie_httponly =' ^& k$ ?% g$ R& A0 q/ R, {5 N) k/ @

  1387. ; l: W( V) ?, m/ }+ i& b  @
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.* ^+ F4 U" S# n. u
  1389. ; http://php.net/session.serialize-handler
    " b* U& X* Z- t* w- n/ ~+ I4 J
  1390. session.serialize_handler = php
      i2 |* `7 q, P
  1391. 4 O8 F) x+ C0 d$ V* j) ], D
  1392. ; Defines the probability that the 'garbage collection' process is started6 K, I  y( E. N, O
  1393. ; on every session initialization. The probability is calculated by using9 _1 t7 f( {2 A6 v
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    9 A$ L  Q# W- o/ V% D
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    4 s) g: j/ V8 u4 M  v- P
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance7 k4 Q: Z3 _1 a: }+ X5 N8 d
  1397. ; the gc will run on any give request.
    4 }& Q" V' |$ _# {$ o
  1398. ; Default Value: 15 @8 a" U8 C8 {
  1399. ; Development Value: 1  g5 s" C  f6 \5 F9 g; F* S
  1400. ; Production Value: 13 ^" t; V1 u1 d. C% U) \- t( ^
  1401. ; http://php.net/session.gc-probability
    3 v- ]2 \9 x+ h5 m: E4 j* H
  1402. session.gc_probability = 1
    3 d! l# I/ ^$ f2 _' E& n! t% K& j* Z
  1403. . t7 Q. H4 |* z+ i
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    , F% R9 E3 o/ w" t9 |" T
  1405. ; session initialization. The probability is calculated by using the following equation:- y1 o5 K, l& `* L9 Z( N
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and. y1 ^& F5 Y' O* _5 V9 f  p. Q7 m
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    / Y9 u# @) S. [8 X4 t( I8 O
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance3 W8 U& F$ W0 O5 Q
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you/ p6 d% d# R" I
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    * {+ A2 i) g! `+ h: M
  1411. ; this is a more efficient approach.
    1 m3 D8 l5 R2 J6 ?% l+ c  j4 h0 \
  1412. ; Default Value: 100) V, N8 [7 d+ ~' N
  1413. ; Development Value: 1000( q6 X& d0 ?: _. {+ X9 z
  1414. ; Production Value: 1000
    # k1 ]! G# \: ?9 l" t. g0 x. ?
  1415. ; http://php.net/session.gc-divisor, b- n3 k# M7 X& |) A" W
  1416. session.gc_divisor = 10007 W$ ?( u. Y/ |" D$ _0 r9 `1 E

  1417. * a3 h/ N  @$ l& _; p
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    # W* J' D% ^# ~1 V* p
  1419. ; cleaned up by the garbage collection process.
    % o) l" L& G- k) D
  1420. ; http://php.net/session.gc-maxlifetime
    " D4 d% m9 F9 s7 r: e2 e
  1421. session.gc_maxlifetime = 1440
    7 G+ j2 q8 }8 E2 r! Q' S
  1422. ' i" Y, Z+ l1 X
  1423. ; NOTE: If you are using the subdirectory option for storing session files% v) S) ?5 E) b. w! D9 p
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ' Z% P. `4 w7 b: h2 Y3 b
  1425. ;       happen automatically.  You will need to do your own garbage2 G8 z6 z6 i$ ^5 V8 j. M: C
  1426. ;       collection through a shell script, cron entry, or some other method.
    $ K9 K7 A8 y- p& u& J
  1427. ;       For example, the following script would is the equivalent of
    % P" |4 _: a' Y) C- F
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    & \% r5 T' s$ J4 ^
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ! S( _$ g5 D" p
  1430. 5 v* P# M2 P& f4 k1 f' H
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    9 x) j/ o4 ]" \) N; y
  1432. ; HTTP_REFERER has to contain this substring for the session to be0 l8 i3 V9 y$ ~5 f" I
  1433. ; considered as valid.
    $ C) d# x% x! }/ Y3 l7 x
  1434. ; http://php.net/session.referer-check
    * R  v# ]7 j; o7 M
  1435. session.referer_check =
    , e) U" T( F- B) D5 Y
  1436. . ?' A& ]7 I7 h/ [3 f( p0 E: j$ F
  1437. ; How many bytes to read from the file.: h8 H3 T' Y% l' l7 _7 c8 w
  1438. ; http://php.net/session.entropy-length: F  k# y; J2 [; b! k
  1439. ;session.entropy_length = 321 G2 O- Q) r& ~

  1440. 9 S* C. `  Z( Q+ Q* R* i, l/ d: {+ s
  1441. ; Specified here to create the session id.
    8 m# k" ~' }6 S: _
  1442. ; http://php.net/session.entropy-file9 \5 J+ [% b# x7 @  Q1 s. p
  1443. ; Defaults to /dev/urandom
    2 e7 O: @4 J( k5 l
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom; B' g; w  i6 `  @) [
  1445. ; If neither are found at compile time, the default is no entropy file.
    1 s- P4 p4 e$ H. C& U
  1446. ; On windows, setting the entropy_length setting will activate the2 Y7 R' q- {7 D' F9 D
  1447. ; Windows random source (using the CryptoAPI)
    ) t: @3 o4 b( H5 w/ z  J5 a& \2 {" d
  1448. ;session.entropy_file = /dev/urandom) L6 E( b! A1 i
  1449. 8 L4 h4 g. [) ^% Z& E
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects! k1 I* C6 G) P+ Q  q
  1451. ; or leave this empty to avoid sending anti-caching headers.
    6 }( {- D- y  l- F4 `
  1452. ; http://php.net/session.cache-limiter8 O, b7 P0 w$ b' M, j. F" q% |0 U
  1453. session.cache_limiter = nocache
    : w! m, m) J3 w

  1454. , y; M" Q! u- o9 S1 W* C+ U. \
  1455. ; Document expires after n minutes.
    % e0 [  `$ G0 J3 V1 o8 x8 q/ Y$ N+ e
  1456. ; http://php.net/session.cache-expire* C6 L# W6 q% M) o. _
  1457. session.cache_expire = 1806 @8 e$ q; _8 A% i2 U
  1458. . |: n$ _9 o# c- I9 q
  1459. ; trans sid support is disabled by default.
    " \( i, W0 E3 u6 w
  1460. ; Use of trans sid may risk your users' security.5 G$ o/ d7 A- R: a5 \
  1461. ; Use this option with caution.. Y. ?$ [1 N3 w% O: }4 l  |) `
  1462. ; - User may send URL contains active session ID8 ^% |( Z" X; g/ M. E* R
  1463. ;   to other person via. email/irc/etc.  X2 W+ N6 _4 a6 I
  1464. ; - URL that contains active session ID may be stored* l, N  Y& X1 c+ n
  1465. ;   in publicly accessible computer.9 v# c7 b5 }' m
  1466. ; - User may access your site with the same session ID1 H# B- O$ _' w
  1467. ;   always using URL stored in browser's history or bookmarks.9 V; D$ G$ b( ^4 T( y
  1468. ; http://php.net/session.use-trans-sid
    2 N/ ]  l0 q0 n& W% w
  1469. session.use_trans_sid = 0! c* P' E# T+ p

  1470. - b2 g2 ^& N) I) E
  1471. ; Select a hash function for use in generating session ids.
    7 \6 ]+ T2 T# Z$ u+ c
  1472. ; Possible Values
    # u7 o5 Q! |1 n
  1473. ;   0  (MD5 128 bits)
    0 ]' z6 w3 o2 Z
  1474. ;   1  (SHA-1 160 bits)
    + g' `9 J+ F$ ~8 \$ t3 ]" Y
  1475. ; This option may also be set to the name of any hash function supported by
    ) k$ h( R* ^' W: K1 ^/ b: |
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()6 e8 L+ \* n9 G' J
  1477. ; function.( f+ u& a9 E  v, @8 u5 L9 e
  1478. ; http://php.net/session.hash-function
    , c+ B" g% e) J7 H" c0 E
  1479. session.hash_function = 0
    6 H8 j; k4 ~8 ]# W
  1480. # d0 ]1 k8 g! _! I
  1481. ; Define how many bits are stored in each character when converting
    : b* R* ^' i" Z+ ^) n
  1482. ; the binary hash data to something readable.
    * Z$ P1 m5 I6 `; B/ ^3 s9 f6 h
  1483. ; Possible values:' C6 }" D' [1 M, m6 K' f/ J7 T
  1484. ;   4  (4 bits: 0-9, a-f)2 _  w) H8 l0 l
  1485. ;   5  (5 bits: 0-9, a-v)
    ! z& t# ?& z$ ^, v) q( S6 {" ^
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    + W0 j; o+ Q) X" _6 P2 g1 a
  1487. ; Default Value: 4: Z+ i4 G# N. C1 |4 \
  1488. ; Development Value: 55 G4 W, c% V: G( r' @; S9 [- o7 T
  1489. ; Production Value: 5
    8 F6 {6 i& g0 o: _$ @' Z: R; u
  1490. ; http://php.net/session.hash-bits-per-character+ _5 {; }  `4 r
  1491. session.hash_bits_per_character = 5. M& f9 U4 ?3 ~1 _; e
  1492. : B0 K1 h3 C4 o: k
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.7 T* p. F: x8 V9 f; R
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    $ x& n0 r+ y& q) {" c. A3 z0 v
  1495. ; add a hidden <input> field with the info which is otherwise appended
    0 y) G/ w1 f1 d7 y- g9 C  T) r' y
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.$ O, u, |* P% ~& |# u6 p1 m" v
  1497. ; Note that all valid entries require a "=", even if no value follows.
    + w, s( e1 j2 K% |. i' }. b
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="9 L1 `: F# k- U0 X7 W
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % \7 e$ u: {  d4 b: ~
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' P  w, H& C/ X" x7 N
  1501. ; http://php.net/url-rewriter.tags
    ; _7 d* h1 y2 s' [9 f
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"$ H) u* I$ l, N& E5 c
  1503. 2 n6 c/ e8 i  F4 p! s$ k1 s
  1504. ; Enable upload progress tracking in $_SESSION
    ; J: R3 M/ w3 M4 z: y4 z8 y3 }7 c5 D
  1505. ; Default Value: On
    # R, N) B: C6 G2 R6 y
  1506. ; Development Value: On
    ( T: Z% _$ J7 a5 y) b6 E+ b
  1507. ; Production Value: On8 F0 n7 y4 @" ^, b
  1508. ; http://php.net/session.upload-progress.enabled# |& A) w% }# ~7 M- \+ s
  1509. ;session.upload_progress.enabled = On
    + f. }5 S: u2 M2 R5 m

  1510. - X$ N2 j, q6 ~2 {; k3 S8 G
  1511. ; Cleanup the progress information as soon as all POST data has been read
    5 m! W5 r1 C* s, A5 Y7 ~; J
  1512. ; (i.e. upload completed).+ N8 a' L+ D* Q% W
  1513. ; Default Value: On" u+ F8 C- e" f, k+ z& g/ y
  1514. ; Development Value: On. {5 a0 o- Z' t. W
  1515. ; Production Value: On; z$ K) ^6 P5 @# ^' Z/ q3 T/ l
  1516. ; http://php.net/session.upload-progress.cleanup
    ' {5 |! q  z5 q$ u$ m* e) k
  1517. ;session.upload_progress.cleanup = On8 h1 ?8 q1 a  b9 e/ p' @- B/ H

  1518. + B, S# E  X, ?& G, J" S
  1519. ; A prefix used for the upload progress key in $_SESSION
      E3 E4 l! X8 q8 E7 g
  1520. ; Default Value: "upload_progress_"
    , b0 I* g3 k+ m* @, ]& M
  1521. ; Development Value: "upload_progress_"
    ! s4 I; @0 `+ W6 ]! Q
  1522. ; Production Value: "upload_progress_", N/ @/ z* Y8 K. J# ~1 [
  1523. ; http://php.net/session.upload-progress.prefix' y; u2 n& r# o+ E2 c* \
  1524. ;session.upload_progress.prefix = "upload_progress_"
    - G" _- Y% o2 _

  1525. ; ^% ~; c8 r3 u6 A2 S8 y
  1526. ; The index name (concatenated with the prefix) in $_SESSION/ t% x' V$ f" {5 s( E
  1527. ; containing the upload progress information
    9 u* p! J! I& I$ p1 e4 V( Y
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & L, _% b0 ~% `4 n0 W
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"$ Q9 ~+ t" h( U7 x4 ~6 I8 g1 U
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"* S% p3 W% ?. T% ?1 N
  1531. ; http://php.net/session.upload-progress.name  `5 P3 I; W# g6 c* K
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS": |& M( W2 o9 x( R

  1533. % f4 E6 P, H; a/ e
  1534. ; How frequently the upload progress should be updated.
    * t& M2 {- g9 v' q$ Y
  1535. ; Given either in percentages (per-file), or in bytes
    5 V4 [: \( L8 A* w% u: E
  1536. ; Default Value: "1%"
      [" ]1 u9 g  [1 c1 @
  1537. ; Development Value: "1%") y# q% S3 @' i; o( A
  1538. ; Production Value: "1%"! w# u7 w. F7 W' {
  1539. ; http://php.net/session.upload-progress.freq6 c+ F: e" ~$ @5 U
  1540. ;session.upload_progress.freq =  "1%"- i9 ]( _0 [5 j8 I% f9 d0 F4 ]
  1541. + M6 G9 |  ~. _
  1542. ; The minimum delay between updates, in seconds
    ; O2 x- ~& r2 ]7 L! T
  1543. ; Default Value: 1
    / c- d& I, k7 s+ L  L7 f3 y4 G/ K
  1544. ; Development Value: 1: \- B/ S2 a6 P* z9 `8 D- l
  1545. ; Production Value: 18 T- t, }% V9 H9 u& {
  1546. ; http://php.net/session.upload-progress.min-freq/ A2 O# m6 M% B( G
  1547. ;session.upload_progress.min_freq = "1"
    - I) ~7 e- Q5 J; D
  1548. 8 Y6 `  G0 \8 c# ?  t
  1549. ; Only write session data when session data is changed. Enabled by default.
    1 l% E- k' `3 d) {% c! E
  1550. ; http://php.net/session.lazy-write6 {. e6 ?5 q9 T" [( L3 l7 `
  1551. ;session.lazy_write = On
    ! l6 B' g, h6 N5 K' z: ~7 I

  1552. ) \3 Y6 f% F- @1 i! e8 h
  1553. [Assertion]
    ) X$ B; K/ w: Y6 A* `, @: M/ C
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)! g$ F" n. x8 P4 x) M+ ?' ~( u
  1555. ; -1: Do not compile at all
    $ M1 g5 S( Q& ^. j
  1556. ;  0: Jump over assertion at run-time9 W9 t- w5 v; k3 I- d
  1557. ;  1: Execute assertions* A. M/ ^# Y/ F6 D2 w& k, r1 H
  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)
    5 \$ J' @! ?) d( X
  1559. ; Default Value: 1
    " @& d; G2 i" F! a* {' [" f
  1560. ; Development Value: 1& }' q' l1 h  X5 H# q- D
  1561. ; Production Value: -1% m4 ?% F2 p2 r- e0 U' h+ G
  1562. ; http://php.net/zend.assertions
    ! h8 u/ }, D0 c2 D  w. J' Q
  1563. zend.assertions = -1
    7 h0 R) u0 J. a0 w' z5 p

  1564. & O3 F5 y' S8 p- \6 ~. T) ^
  1565. ; Assert(expr); active by default.
    / i7 i" u7 q- }) _" a  N
  1566. ; http://php.net/assert.active( ~" ^/ X( |9 r9 `. H
  1567. ;assert.active = On. q' x9 C% X4 Z* ^6 p

  1568. , F, R! H1 _) b4 z# K
  1569. ; Throw an AssertationException on failed assertions6 D; F4 V2 k5 w& t
  1570. ; http://php.net/assert.exception$ p$ G& I- J) L( L  t
  1571. ;assert.exception = On
    2 z* S" N' t3 H1 [
  1572. ! I% p1 Z& p/ {
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    7 i' J! S/ w% N: D. q$ }
  1574. ; http://php.net/assert.warning
    , \" G/ W; l+ v3 a9 E
  1575. ;assert.warning = On
    / a. q- M2 F+ q% @8 X+ S1 J( s
  1576. 7 G, G8 t2 I, |/ [8 f6 ^) F
  1577. ; Don't bail out by default.% o- y) v7 d2 o: P& h9 @
  1578. ; http://php.net/assert.bail( G( T3 ^! C# Y+ g& B( W
  1579. ;assert.bail = Off4 m; t8 \( M' J* c3 f
  1580. ; o' Q5 g/ S) k( u7 C
  1581. ; User-function to be called if an assertion fails.
    0 k, P8 p5 g8 I$ l) J
  1582. ; http://php.net/assert.callback
    # H1 d3 N& n; G% y+ |
  1583. ;assert.callback = 0
    3 X: S# {0 ~; p- C. V
  1584. . S  Z  h4 B; T
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    . o6 z7 B! P% w/ a# w' F  t
  1586. ; error_reporting(0) around the eval().
    4 o7 |7 R( @+ M$ M/ R# ?
  1587. ; http://php.net/assert.quiet-eval; z) ^/ Q  `4 y
  1588. ;assert.quiet_eval = 0
    ' ^2 K! ?- T2 W7 T# f% R

  1589. 2 i* ~+ f  @( P( T
  1590. [COM]
    $ S1 F" p& `* T. x( t- [: m
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs2 w; u( W* l8 @
  1592. ; http://php.net/com.typelib-file- X7 X! x# R1 h
  1593. ;com.typelib_file =: w3 f4 b5 J& N: D9 D7 a* P/ B; x" H

  1594. % S+ p0 n! H# u( R( ^* p4 ~; l8 G
  1595. ; allow Distributed-COM calls
    2 u2 _( j5 O1 F  j  @3 D
  1596. ; http://php.net/com.allow-dcom& n( R) N+ Y& @/ {) y7 U- I" M
  1597. ;com.allow_dcom = true2 I# D( h1 V  P2 ~* ~
  1598.   P5 S( a% B; M
  1599. ; autoregister constants of a components typlib on com_load()  ^, e5 _% V" B  w6 v# c
  1600. ; http://php.net/com.autoregister-typelib
    + ?# p" G) _3 \2 ]( A' H* o- |8 F
  1601. ;com.autoregister_typelib = true
    * Q2 Y4 g& F' m# s% S
  1602. & m8 V0 k5 d- L7 c- N
  1603. ; register constants casesensitive
    2 F  ^. C' Z9 p
  1604. ; http://php.net/com.autoregister-casesensitive4 Z3 T' G! x" x( E0 U+ \
  1605. ;com.autoregister_casesensitive = false  N: }" L- X& z9 t% S' ]5 ~
  1606. 4 W9 M$ q8 M; b4 K
  1607. ; show warnings on duplicate constant registrations
    0 B" M3 n+ p  g1 y+ N+ Z* e5 O0 G
  1608. ; http://php.net/com.autoregister-verbose; m, T9 F' f$ M1 ?
  1609. ;com.autoregister_verbose = true
    + s# I2 h) Q8 s, t: ~

  1610. , R! Y, Z  q* ~
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    . N! H: \. A/ e& f1 [
  1612. ; Default: system ANSI code page- m, o. g; O* F- q) c0 \
  1613. ;com.code_page=
    - L6 B- g: C* L: F

  1614. : u0 v4 a  T7 S- f4 w  y6 |
  1615. [mbstring]4 j" \) }; P& U$ X
  1616. ; language for internal character representation.
    5 L! i) n2 w6 u, {2 k8 r
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    1 V* W* Y; _( w7 @
  1618. ; http://php.net/mbstring.language5 C8 X, |2 C/ _7 m
  1619. ;mbstring.language = Japanese
    : t' R) [  \3 w$ F+ B/ D6 P% P9 S

  1620. - h* `  a! F/ Z9 G" a1 C
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    $ |- R9 R% r# X; e2 H
  1622. ; internal/script encoding.
    & ~/ B" W8 L6 X2 G5 _0 S+ E
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)& {9 }! n! S8 a) W
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 ^6 _7 z+ s8 t4 D" K
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    $ ^! K7 h9 J! K( _" R
  1626. ;mbstring.internal_encoding =
    6 R  b$ V6 T( A0 j: n% F- P

  1627. : n, u' c8 @! a% n: D" Y
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.0 p$ i" |* x( \8 e
  1629. ; http input encoding.
    3 c: M. O/ i7 W* x/ Z- P" |
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    % S, K/ U! n. k; M1 c, D. z( R2 Q
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.5 F% S3 Z/ W+ g; n3 y/ N4 R
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input) [9 w" j; T* r! `. |9 y
  1633. ; http://php.net/mbstring.http-input
    1 v( O+ o* D1 R2 m5 r. N
  1634. ;mbstring.http_input =; [0 L0 i4 R* X9 `7 t

  1635. , p+ a. E6 M) I7 J- D# q: |
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead." }7 c( d% ]! E9 H
  1637. ; http output encoding.2 r! ?' d& P- H) W
  1638. ; mb_output_handler must be registered as output buffer to function.# d+ W- K  }! b: ^2 p& r
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.% s- h) U* g7 m, ]- B) }5 i9 \. F
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output! |: O. V9 Q* \
  1641. ; To use an output encoding conversion, mbstring's output handler must be set* d. k$ C3 c  ?% ]1 B
  1642. ; otherwise output encoding conversion cannot be performed.
    ' }9 {6 Q* F# O! M( F1 }
  1643. ; http://php.net/mbstring.http-output9 O/ F% C: s: |6 W
  1644. ;mbstring.http_output =' M! l8 P0 F/ X" h0 W/ H

  1645. # ^! Q* K& R  _6 y; q$ J& f& V
  1646. ; enable automatic encoding translation according to& q$ e. X3 @: X* s; J) j
  1647. ; mbstring.internal_encoding setting. Input chars are
    & O. W* f( a4 A5 ~& y" `- e
  1648. ; converted to internal encoding by setting this to On.
    ' O6 P) u8 \2 ~, Y% Q1 J1 k7 e
  1649. ; Note: Do _not_ use automatic encoding translation for
    + g% q' l% A: J0 i; E
  1650. ;       portable libs/applications.
    % M& A' w3 I# S2 ^6 ?7 |
  1651. ; http://php.net/mbstring.encoding-translation& R5 V' Q$ B. w1 J" T
  1652. ;mbstring.encoding_translation = Off
    0 k6 T3 Q% t% }8 z$ [3 K
  1653. . |6 ~3 O! c# R: i) {6 I* m
  1654. ; automatic encoding detection order.
    3 k: d' \5 _) y4 w- B1 x
  1655. ; "auto" detect order is changed according to mbstring.language, T$ R/ x8 k8 W+ Q
  1656. ; http://php.net/mbstring.detect-order- y6 Q0 V5 m& |: {6 H2 N  D
  1657. ;mbstring.detect_order = auto% j  T  M1 }1 C/ ~: H+ j3 ~! [

  1658. # w: |5 Y7 e5 l/ C3 ~! I9 i
  1659. ; substitute_character used when character cannot be converted- \4 F2 Y0 i9 ?2 _- L
  1660. ; one from another
    1 Y! T2 a8 d" Y0 e+ ]* f7 Y
  1661. ; http://php.net/mbstring.substitute-character
      z4 b( S$ ]0 v9 s" J' {$ u* `
  1662. ;mbstring.substitute_character = none
    $ b, k+ u+ d2 K" g+ D
  1663. $ R1 z5 Q! b$ e6 \, p$ p1 b7 B
  1664. ; overload(replace) single byte functions by mbstring functions.; \( [8 [* ~* I3 }5 o
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ) P3 L3 H% T* G
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.; m1 `  D6 y6 k' j
  1667. ; For example, 7 for overload everything.
    * \! w( c+ R9 H5 D( A" H
  1668. ; 0: No overload
    * @6 q" P/ R8 B. N
  1669. ; 1: Overload mail() function
    1 u" Y; |$ e" }" Z5 ^+ l
  1670. ; 2: Overload str*() functions
    : S1 i% b/ T0 J, w: U
  1671. ; 4: Overload ereg*() functions
    % E% `+ `9 B; S; S- k
  1672. ; http://php.net/mbstring.func-overload
    6 L) p5 A* j+ Z' D
  1673. ;mbstring.func_overload = 0" C1 M, F6 p- }1 R! I

  1674. 8 }5 K. D3 {: D
  1675. ; enable strict encoding detection.
    ! w6 x. T/ T- }
  1676. ; Default: Off
      C5 F! P# Y$ G% m9 `
  1677. ;mbstring.strict_detection = On; Y: b( K3 D5 J  G  `8 D

  1678. ( n# M5 ]$ ^8 M
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()6 B! M" D# o3 }+ l9 z7 o
  1680. ; is activated.
      h( o, E& U4 R9 i
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    3 V* P+ s: ]$ T
  1682. ;mbstring.http_output_conv_mimetype=
    ) E* A) \; Y4 }

  1683. 2 W# _. ^$ O+ _+ C
  1684. [gd]
    " o# p# N, f) E3 o
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ( x& P+ i4 d4 C& G, c
  1686. ; a gd image. The warning will then be displayed as notices
    : P0 Y% `) ^/ ?  G$ d/ V9 l6 k) X
  1687. ; disabled by default
    & X, ?; {9 D9 y' a& ]! M
  1688. ; http://php.net/gd.jpeg-ignore-warning4 T6 T. ~3 Y% s' u) V0 `8 n
  1689. ;gd.jpeg_ignore_warning = 0
    - A- J6 R3 Y3 r" s

  1690.   g6 r& T, C, G+ l* e- ]
  1691. [exif]/ M/ F0 ~; @7 D4 O+ ~  e
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
      d, W" e. H7 x% V
  1693. ; With mbstring support this will automatically be converted into the encoding, T% N$ E% A5 h/ n; P& Q
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    * Q2 u% D9 e( ~" B
  1695. ; is used. For the decode settings you can distinguish between motorola and% u" F6 d2 A6 b4 h% X
  1696. ; intel byte order. A decode setting cannot be empty.
    ' i' B9 n1 x# g
  1697. ; http://php.net/exif.encode-unicode. y. F( [3 B$ R* J' q
  1698. ;exif.encode_unicode = ISO-8859-15( Z7 }6 \9 O$ i% q0 A' w% J

  1699. . q+ V; v( G# }5 P
  1700. ; http://php.net/exif.decode-unicode-motorola
    4 Z) y4 l( i4 G5 r  D
  1701. ;exif.decode_unicode_motorola = UCS-2BE) P% x  @* c3 f3 M" M) q! t

  1702. ! y# c$ `- g8 |- s) T; A; w
  1703. ; http://php.net/exif.decode-unicode-intel; M5 d; k5 y, v) l
  1704. ;exif.decode_unicode_intel    = UCS-2LE& H3 m: ?8 v4 I# v; L

  1705. 4 V0 Q! R# i1 w7 r- ]
  1706. ; http://php.net/exif.encode-jis; a; {; S+ `0 q7 J( n
  1707. ;exif.encode_jis =
    3 [/ t$ h6 W  u8 i" t
  1708. 5 }* f' \$ i4 O: j5 @& i2 f
  1709. ; http://php.net/exif.decode-jis-motorola/ r. o/ [0 p& \+ ~
  1710. ;exif.decode_jis_motorola = JIS
    # i4 ]! j8 B  s8 @

  1711. $ V2 G1 s8 T/ R( v* y" m+ ?# n8 T
  1712. ; http://php.net/exif.decode-jis-intel* e: W  |. P$ ?" f
  1713. ;exif.decode_jis_intel    = JIS
    0 w+ X; J  T' }

  1714. 1 e" U/ O; D& x7 y
  1715. [Tidy]1 U- d" n6 @* J  N
  1716. ; The path to a default tidy configuration file to use when using tidy
    " r8 a! p* t# |' e2 m5 b( k
  1717. ; http://php.net/tidy.default-config2 W/ g# p# F, w+ F# ~
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg& x  R( u0 |6 L1 \/ v4 N

  1719. 5 }- O! |  [7 H( |
  1720. ; Should tidy clean and repair output automatically?
    ' M0 b: g% t6 B+ _0 ~7 \
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ) V" P5 \+ u5 d* I9 ]7 N3 C
  1722. ; such as dynamic images
    $ q4 h" i6 W3 ^4 K7 C9 {& B; ^4 c
  1723. ; http://php.net/tidy.clean-output4 M" G( Z7 f4 Q6 ~# [: R
  1724. tidy.clean_output = Off
    ; k3 n1 v! I' b5 M- }% ]

  1725.   Z! T: z7 E/ ~! C3 v
  1726. [soap]
    + b8 q& K4 H1 c3 g+ @+ \& ^
  1727. ; Enables or disables WSDL caching feature.
    - a6 u# ?( F1 n" \, m; L# }
  1728. ; http://php.net/soap.wsdl-cache-enabled7 S* |( d* B) M  F, a  _: g  J
  1729. soap.wsdl_cache_enabled=1
    : O# L( T7 L$ A8 i: `
  1730. 0 x  Q/ O3 h0 v* y0 u1 x
  1731. ; Sets the directory name where SOAP extension will put cache files.
    6 m  Y+ S; @& o
  1732. ; http://php.net/soap.wsdl-cache-dir
    3 Q& V$ o8 Z! K: V7 L' S. E
  1733. soap.wsdl_cache_dir="/tmp"  |6 I4 Z8 v+ H% @7 |

  1734. % n, h8 B1 r5 X) }' t, x) h7 B
  1735. ; (time to live) Sets the number of second while cached file will be used6 h) s* n8 @+ c1 o  _- Y9 j
  1736. ; instead of original one.6 l! Z7 ?. \" c4 d6 T" J# {
  1737. ; http://php.net/soap.wsdl-cache-ttl
    1 A( a1 L0 B9 W5 E- g
  1738. soap.wsdl_cache_ttl=86400! V/ o% |; o  W# W, a

  1739. 6 r% G8 l0 R, d* m4 f
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)4 [# t+ ^5 |5 F* B6 L, l
  1741. soap.wsdl_cache_limit = 54 Q" Q3 _0 k! R

  1742.   g: u  V1 X8 B# K
  1743. [sysvshm]
    $ A$ R, ]0 D- }1 Y
  1744. ; A default size of the shared memory segment8 x  i& N, X" ~4 J$ X
  1745. ;sysvshm.init_mem = 100001 Y6 d6 l; A& a$ q" k  C( y6 d
  1746. / Y2 @5 v+ ?: R, c8 X: {
  1747. [ldap]3 |3 ]! j% y: E2 H3 Y
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ! u6 `) W7 W; c; O1 h8 k) ]. \0 L* Z
  1749. ldap.max_links = -1/ t+ N) }, n2 l/ K, p2 l: h" ?
  1750. # \1 `1 l2 y) p# J
  1751. [mcrypt]* P1 y# P  G, S3 v" N6 w  E* E
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open. s$ x" b5 i: U1 @8 F3 F

  1753. - |9 U( G3 [: ]% [
  1754. ; Directory where to load mcrypt algorithms
    ) l0 s* \# J0 g5 h$ x+ q$ N1 f# D
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    - a' a9 u" z! ?+ U4 t- R# `6 B, S
  1756. ;mcrypt.algorithms_dir=
    ' R' ^  r8 Y6 O. t3 `. R

  1757. ) [- V. J1 H3 B: ?& P4 T) ^( C1 E
  1758. ; Directory where to load mcrypt modes
    . g+ F3 ]& J' W& s5 \. s1 R
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)7 m! M$ k. [2 i1 E. A- k
  1760. ;mcrypt.modes_dir=
    8 [" z- m% c* K% Y8 C  H/ R
  1761. 5 U4 @% _! p7 d3 o& ^) q
  1762. [dba]2 B, x0 q3 W4 \( l6 t# x3 r1 m
  1763. ;dba.default_handler=9 {% M1 a( q5 U

  1764. , y2 l( s$ s6 h. y  h" H, C
  1765. [opcache]! e( R- J7 C% l- Q6 X) v* _/ R% Q
  1766. ; Determines if Zend OPCache is enabled, N/ c/ W; c( h2 y7 S& _
  1767. ;opcache.enable=0
    9 l! s* _+ E  t
  1768. $ L$ r: S8 F, e" f2 a/ ~" b( A% _
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP8 O" c( P$ d8 ^& W; X
  1770. ;opcache.enable_cli=0: ]8 x$ M( p. m3 P  h
  1771. $ X  I! @- r; X! ?
  1772. ; The OPcache shared memory storage size.4 ]+ ]+ a* {- n1 `3 ~0 A  j
  1773. ;opcache.memory_consumption=64
    ; g& H9 v# T4 n. r) i4 c

  1774. 5 \$ E( X$ L" l
  1775. ; The amount of memory for interned strings in Mbytes.$ L8 k; J! N) N" v, R- \
  1776. ;opcache.interned_strings_buffer=4
    1 q% s/ ?$ ]# e7 G+ {" E& ~: {2 c6 F

  1777. 5 ?7 j& U7 c8 w+ f" j( V* g
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    : f8 ?; u+ D5 x( g* U6 s5 F
  1779. ; Only numbers between 200 and 1000000 are allowed.
    / P* X3 d. U, y/ h0 H8 z5 n' m+ ^
  1780. ;opcache.max_accelerated_files=2000
    % t( u8 w7 |8 Z4 ~  H; J* _

  1781. , X! J4 h* E: Z! J: s7 H
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    / W" [/ U/ m' O; l7 a
  1783. ;opcache.max_wasted_percentage=5: l0 p2 b; c! X* F
  1784. 7 v5 |3 O$ m. i" K4 D) w
  1785. ; When this directive is enabled, the OPcache appends the current working4 U+ \" l: K1 p! s7 I  o) G7 P, L
  1786. ; directory to the script key, thus eliminating possible collisions between
    & t# V3 A. \  f- _$ h
  1787. ; files with the same name (basename). Disabling the directive improves# s$ P1 Z. J& L4 X* c1 D* N
  1788. ; performance, but may break existing applications.
    , y0 u* e9 q3 l+ G3 X
  1789. ;opcache.use_cwd=1
    ; f7 W# p' F' E3 o: ?* v

  1790. * K& r. X" t1 z2 A* b/ Z* @
  1791. ; When disabled, you must reset the OPcache manually or restart the9 }/ w: Z, }6 L' e2 y# Y$ V
  1792. ; webserver for changes to the filesystem to take effect.
    2 e: }4 u8 F- z0 g) x7 N
  1793. ;opcache.validate_timestamps=1+ o- f, `( f$ a
  1794. / F+ d' K, x6 F1 b' v0 L
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    & [- e" M6 W, }, q( q+ k4 F5 N
  1796. ; memory storage allocation. ("1" means validate once per second, but only* Y( h% e+ {! f- d! j
  1797. ; once per request. "0" means always validate)  L# J% Q0 v$ G: w
  1798. ;opcache.revalidate_freq=2
    . S' d2 `% V+ [4 Z. C) \( h) T
  1799. 7 M4 Z$ Q# X" Q% d/ O
  1800. ; Enables or disables file search in include_path optimization
    % Y/ k3 Q! A& Y% X
  1801. ;opcache.revalidate_path=0
    ! a. w3 c3 n% l0 h) T% m6 R

  1802. & e- ~0 m6 T: ~/ G
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    " M& L7 l. J' Q+ c
  1804. ; size of the optimized code.% p) p; k6 `1 G6 _  R5 z5 ]1 [! z
  1805. ;opcache.save_comments=1
    7 J/ [" ^0 t7 |7 j- \

  1806. 6 V% ~- U# ^' f1 G7 W& L
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    # v5 d  A% I5 ~9 I
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    , S5 _2 p5 |) e
  1809. ;opcache.fast_shutdown=0
    ( y9 D1 `! |' @( L0 f# u0 `
  1810. ) ~" B' ^7 K# g! [8 e3 N+ ^$ ~$ @
  1811. ; Allow file existence override (file_exists, etc.) performance feature.% j7 D# B8 X* S; Q# R
  1812. ;opcache.enable_file_override=08 {5 i  t7 ~0 y( B+ f

  1813. # z  t" ]1 A3 A# `9 X
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache1 N/ a9 H5 j% W4 U/ B* y: C
  1815. ; passes
    ( j' V) E8 z" z. F$ Q) T4 b
  1816. ;opcache.optimization_level=0xffffffff
    5 k4 V+ E* L' L: }: o4 O

  1817.   _! V5 \: ^' |7 Z, y0 Z5 _
  1818. ;opcache.inherited_hack=1% T6 m: `' ], o1 ^% n  ~4 V
  1819. ;opcache.dups_fix=00 V% @+ i6 I* l: T

  1820. , G# N7 m5 L1 b* J  g: w& V# P: B
  1821. ; The location of the OPcache blacklist file (wildcards allowed).6 M2 v0 b0 D2 u* r6 R# E
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    # z% h% [) j5 h+ g4 M' N2 m! N
  1823. ; that should not be accelerated. The file format is to add each filename
    ; P! ~4 \$ z* L& Q& i5 {
  1824. ; to a new line. The filename may be a full path or just a file prefix! L/ f( L3 n! W' W4 H7 d  X3 i- i" ^2 @
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www; z4 b$ C. Q" T) J
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).9 o7 }) C4 O+ n
  1827. ;opcache.blacklist_filename=. i7 M# ]( O7 N5 m) p3 n9 Z
  1828. - p% }9 `, C+ T: [, Y
  1829. ; Allows exclusion of large files from being cached. By default all files
    ' w7 Y, }3 v" Y& g7 G& {6 ~
  1830. ; are cached.
    4 W2 R7 {9 f) ?, y) S. C, U/ n! @
  1831. ;opcache.max_file_size=0
    0 ^0 H% m5 z  s" S9 O# X- \$ j
  1832. 6 U  F8 R! Q! D
  1833. ; Check the cache checksum each N requests.
      j7 g) D1 ?7 M& m: {
  1834. ; The default value of "0" means that the checks are disabled.. f* s, x4 l/ z. s6 ?3 {
  1835. ;opcache.consistency_checks=0) G5 q( L5 L- D) S& @; c( r
  1836. . H& e$ x8 V& s7 l8 m  N! C
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache7 A  H- e) o" q! l: Z# K
  1838. ; is not being accessed.: m$ e+ ^& \" }0 d: T
  1839. ;opcache.force_restart_timeout=180" i; }6 {0 ]" i( v# V/ y; S
  1840. 7 O7 ~3 Q) ?$ K, I4 m3 M
  1841. ; OPcache error_log file name. Empty string assumes "stderr".* H5 C$ j! I- l  N
  1842. ;opcache.error_log=
    8 {$ _; ?1 ]8 z% P) U+ P) m+ [5 h

  1843. ; v! w( E$ j+ }9 g
  1844. ; All OPcache errors go to the Web server log.  m% C  g: t* J- z2 L
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.$ {8 n0 V6 S2 i- x
  1846. ; You can also enable warnings (level 2), info messages (level 3) or, [& ~( }1 Y/ C( e+ b3 x
  1847. ; debug messages (level 4).1 ~) o) b. b3 P+ d  O3 n4 M
  1848. ;opcache.log_verbosity_level=1
    ! e8 ^, d- S' _7 c) _7 v

  1849. - {$ D8 A3 l& |
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.3 k$ W* K; H6 k7 T! v, n
  1851. ;opcache.preferred_memory_model=
    % F1 A" ]& a6 [/ S* J& w

  1852. ; v' j: l( N0 B" k
  1853. ; Protect the shared memory from unexpected writing during script execution.3 d0 l, r! D" y9 y; X
  1854. ; Useful for internal debugging only.
      w& ]* J9 k4 N
  1855. ;opcache.protect_memory=0
    ; r( I0 y6 G  b, ?7 A

  1856. 3 d. |  _0 L5 ^8 i$ n9 y: O
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    ( }) z; t* B5 d( U0 l
  1858. ; started from specified string. The default "" means no restriction
    & J$ U) P! k( t/ O
  1859. ;opcache.restrict_api=
    ' a9 n* V- R$ f# W) l' o3 ^
  1860. 1 y( e6 v$ X0 I% A$ a; F( N
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    6 b- j% ]; Q7 K9 M* Y' b% ^3 M9 c: N
  1862. ; processes have to map shared memory into the same address space. This
    3 H( S" s2 _& _" h2 ~% I
  1863. ; directive allows to manually fix the "Unable to reattach to base address"* ]$ n0 C0 e0 B* \3 _
  1864. ; errors.8 g4 Q; g* S% E1 P& w/ K+ z( g
  1865. ;opcache.mmap_base=
    3 L, r4 D, J+ V) n: f% Z- P. D

  1866. & j) n% [, J! Y& I% I8 a
  1867. ; Enables and sets the second level cache directory.
    : x. p0 G: x# e' N0 l
  1868. ; It should improve performance when SHM memory is full, at server restart or
    % n" t2 P- C! `
  1869. ; SHM reset. The default "" disables file based caching.
    & ]! x3 O8 L- B! I
  1870. ;opcache.file_cache=
    * o" [0 f. e( A" D' t' z
  1871. 1 Y. l& d% ]. s) M8 D2 J/ R
  1872. ; Enables or disables opcode caching in shared memory.
    5 F! q0 z- h( n9 |
  1873. ;opcache.file_cache_only=03 i8 s( f& H" j

  1874. 2 z8 @) ?( A+ v) e0 ~$ t
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    . J. _- a1 Q! b3 j4 [4 x# }/ Y0 ?
  1876. ;opcache.file_cache_consistency_checks=1. L; H. i" n0 O/ V* h
  1877. # k& O3 b( d, Z, ]. |: X: R' X
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to. n% x9 t" v) x- h
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file  D) r0 F6 }) B
  1880. ; cache is required.
    ' L: ?3 I) }$ f% i3 [
  1881. ;opcache.file_cache_fallback=1
    ) ~0 n. ?7 }# u+ P( Y/ C" W# C, M
  1882. 3 Z1 n  g/ C& `  l) B7 ?5 V5 q6 A
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.$ {/ T5 I# K' E
  1884. ; This should improve performance, but requires appropriate OS configuration.
    # T3 F, ^3 F: Y
  1885. ;opcache.huge_code_pages=17 K8 M) i' W5 n- {

  1886. * R, ^* v; S+ a- E" H/ |( y
  1887. ; Validate cached file permissions.! P# Z' j! ^8 w. a9 Q' J4 W" J
  1888. ; opcache.validate_permission=0
    " e- S- e- w" c4 p) \6 ?

  1889. ( A9 {- g) t4 S8 B3 b
  1890. ; Prevent name collisions in chroot'ed environment.0 z7 S% N; }& J% g7 e( l; h
  1891. ; opcache.validate_root=0
    ; S9 e) B- T3 F& t' ~# P

  1892. 0 ~) a$ s3 Y) R) V
  1893. [curl]
    ( D1 M! L3 ?2 {  f  b7 V
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an# T* r8 J0 R: [* x% R1 }
  1895. ; absolute path.. l7 i  @+ c9 a7 u5 A* }8 |+ v3 x
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt) u; ]# Y- m& g8 Y
  1897. 6 ?; E- [+ f& c8 Q& `- f
  1898. [openssl]
    ' P2 }. y8 A9 a
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    1 |0 Y" i' @; t; u
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should" @9 _% y/ K3 t% ]
  1901. ; not specify a value for this directive as PHP will attempt to use the2 R  L1 k6 D0 [* x2 g
  1902. ; OS-managed cert stores in its absence. If specified, this value may still) U+ z5 M4 }$ h6 G1 h: z
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    , F$ \9 I6 Q5 J
  1904. ; option.( I+ J" K; o: |( A
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
      w! C) T2 P/ z- [2 h0 O$ q
  1906. / E4 _  o* B  H6 h
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the4 b% x( d5 l6 \
  1908. ; directory pointed to by openssl.capath is searched for a suitable
      h' n( }+ V( Z+ j7 H: K' O" C) Y. ^
  1909. ; certificate. This value must be a correctly hashed certificate directory.7 Z! R# `4 Q# H' v0 n3 ~
  1910. ; Most users should not specify a value for this directive as PHP will
    2 h# j( g( X( |$ m) S+ N
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,) E9 v+ t  T+ A' L$ M
  1912. ; this value may still be overridden on a per-stream basis via the "capath"6 ?' r7 K5 Q# L
  1913. ; SSL stream context option.
    $ a$ p* k0 r% {8 r! N" V
  1914. ;openssl.capath=' {- V, g; ]6 c  z
  1915. 9 z# K+ H8 i0 M8 |& H9 a
  1916. ; Local Variables:
    * n% ~' _) e5 w
  1917. ; tab-width: 4. |& k" q( g: t# O) v7 I
  1918. ; End:
    ( j' m4 D6 }8 b+ F# g
  1919. 0 {2 Y8 W$ p& R7 ]
  1920. ;eaccelerator' C! E9 {5 ], @5 C

  1921. : F% r- ?0 i# f8 I' k
  1922. ;ionCube7 Y' c( t. V& q" c

  1923. $ r$ n) Z# b3 {
  1924. ;opcache# Z7 z, }8 h! A: x1 c# _: a# r8 p
  1925. " l9 ^; C* J: S! \+ {
  1926. [Zend ZendGuard Loader]
    - e7 I6 |6 c# B
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.% z! l: Y( g0 }) ~9 i- M$ {
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so/ w4 C* ?" S6 J0 R! w/ X2 ~
  1929. ;zend_loader.enable=1# |& b; x" `% H# K+ y7 C
  1930. ;zend_loader.disable_licensing=0
    . n, i  R  ?) [9 B2 B4 e$ e3 d
  1931. ;zend_loader.obfuscation_level_support=3
    - V1 I8 S1 N7 ?' G* {# ]
  1932. ;zend_loader.license_path=; }$ ^8 _% p: d, J# Q" H0 S

  1933. ; Q( A4 [4 h; t: a# l. E
  1934. ;xcache
    & N* ]+ `! L" ?7 t+ {  t
  1935. & G" A5 j# S1 M9 ]
复制代码

) E! A- l+ g. d# r! g) c9 A( }* V. H1 W

$ @, O% a- h- M' z, r2 q' N$ |6 l0 a* `. G# N) `
) ?2 E, t& Q( w5 v" j+ B

  J/ g% N. k3 O# }
2 M3 B' |$ ]5 y* o+ NPHP5.6版本原始设置
6 N" H2 Z7 G- E( |/ b- n$ \
$ f; _0 ?! N7 Z6 G4 w- z
  1. [PHP]9 _6 m; E9 a( M( @- J

  2. ' c" J* J5 N9 N% P
  3. ;;;;;;;;;;;;;;;;;;;6 R  X' w& c- G  d) j
  4. ; About php.ini   ;
    / n4 r* n( i# F( `; ?1 y
  5. ;;;;;;;;;;;;;;;;;;;  `4 M* d/ Y/ C$ k' P
  6. ; PHP's initialization file, generally called php.ini, is responsible for2 K* ]( s4 b2 C8 U, s. B
  7. ; configuring many of the aspects of PHP's behavior.
    8 V- W( d" S3 F

  8. 9 {4 a# Q* s! A7 V# z9 c
  9. ; PHP attempts to find and load this configuration from a number of locations.5 J5 {# L2 L0 O( ^- O7 I. w
  10. ; The following is a summary of its search order:
    ( @& [4 I) b0 M6 R3 B( A7 [
  11. ; 1. SAPI module specific location.3 Q7 |8 g& e" c# l( U
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    * i5 P, X* C) f, B; Y' j" [
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)  C- \6 \$ ]! l, D
  14. ; 4. Current working directory (except CLI)
    8 R3 Y+ P% O3 t. H' B
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    " u7 P7 Q. ~* e" F
  16. ; (otherwise in Windows)( H* E" Y8 v* {2 W
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    2 f. X; W% X. |1 E  O  u+ w2 c
  18. ; Windows directory (C:\windows or C:\winnt)
    ' s7 j0 C5 o/ j5 U3 `
  19. ; See the PHP docs for more specific information.' T" |! |. s: C5 u: y
  20. ; http://php.net/configuration.file/ ^2 ~2 L: x4 J( }- L! x& O

  21. ; Q0 g' b) L5 K  e  x4 b
  22. ; The syntax of the file is extremely simple.  Whitespace and lines( e# S, W% D7 r; T
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    4 }9 y) [4 @9 A4 }& h' k8 l
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though/ ~$ x3 Q& h7 a8 W0 Y3 u# G* Z3 N
  25. ; they might mean something in the future.% O% r$ U: j9 W
  26. & g9 h+ c8 |: r( Y; F! @, Q+ O
  27. ; Directives following the section heading [PATH=/www/mysite] only* T/ z  a% F3 T5 j5 ^$ a# q) w/ x& l
  28. ; apply to PHP files in the /www/mysite directory.  Directives, |/ j' Q7 f/ [9 H
  29. ; following the section heading [HOST=www.example.com] only apply to1 d4 R! [$ z% @; c
  30. ; PHP files served from www.example.com.  Directives set in these
    + p+ c9 ^! K1 B/ Y+ \* Q
  31. ; special sections cannot be overridden by user-defined INI files or) Y9 |; a/ d. I' P  _1 {- K
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under) U, c3 `, a% u' P0 p% X/ r9 W
  33. ; CGI/FastCGI.
    ! S. E: D' p. p+ O+ c9 h  s
  34. ; http://php.net/ini.sections; l; \& v9 ?' i/ ]; g" ~. ^+ o8 c
  35. " u  N- x9 G& s1 c
  36. ; Directives are specified using the following syntax:- Y- m! p5 |& _3 z5 J
  37. ; directive = value
    * Z7 \) S( L/ Q9 v5 ~* f4 `
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.7 g% n* f/ a0 F0 `, N7 o
  39. ; Directives are variables used to configure PHP or PHP extensions./ v3 S! e+ x% D# @/ T* f
  40. ; There is no name validation.  If PHP can't find an expected! }& t6 d/ z/ V$ ?
  41. ; directive because it is not set or is mistyped, a default value will be used.4 v% \( c7 ^& B; n: R

  42. * x/ y0 o& D6 m& Q; Y) }0 n
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one( u0 v& i4 s8 S, y
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression( u1 N% w% [( u
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    8 x! I3 S9 F/ ?1 a* Y0 [
  46. ; previously set variable or directive (e.g. ${foo}); _3 [" E8 C* @, }1 s/ V
  47. 8 e7 S3 ]8 f3 H
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:' o4 [7 U5 {. h* R/ M
  49. ; |  bitwise OR1 C! R6 a% g! i: c, \8 q
  50. ; ^  bitwise XOR
    * C0 O6 c  e! I5 @
  51. ; &  bitwise AND
    * l/ H5 }4 Z  P- Y
  52. ; ~  bitwise NOT* r: \- m2 j: h# C' ~2 k
  53. ; !  boolean NOT" E. L& ^8 ]8 I2 q! k

  54. * |, \  `2 S0 n+ d" u& d, ^) {
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.6 Y( D! y+ l2 U1 I: J' Y
  56. ; They can be turned off using the values 0, Off, False or No.; E# n3 k0 x/ a; N# ]( Y" ]( @

  57. % F5 [( N/ g0 V. o1 t( M
  58. ; An empty string can be denoted by simply not writing anything after the equal. N3 b. ?7 U& p; s1 ]" [
  59. ; sign, or by using the None keyword:
    5 a" B3 G9 {# K1 Z; M
  60. ( Y9 W# L, p8 e8 O. v
  61. ;  foo =         ; sets foo to an empty string
    3 q9 H: N5 z$ Z! p
  62. ;  foo = None    ; sets foo to an empty string2 {- f7 d8 h; G( r
  63. ;  foo = "None"  ; sets foo to the string 'None'
    9 K+ h8 G8 x; m' y' t) Q: x0 q

  64. * S) C7 \+ c6 ?! f
  65. ; If you use constants in your value, and these constants belong to a
    ; L4 U& @3 w# q, `  O2 J1 o
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),- }" X) h& C6 g1 O$ }+ R2 g5 ?; ?' W
  67. ; you may only use these constants *after* the line that loads the extension./ W$ z3 q0 k0 k
  68. & b9 X: w- [2 r! m- ~
  69. ;;;;;;;;;;;;;;;;;;;
    # Y0 R0 Q6 L: k# N
  70. ; About this file ;
    ' }2 M+ ?* Y. z; O& e2 \( N3 V1 C5 T
  71. ;;;;;;;;;;;;;;;;;;;
    2 Y9 m( j+ o% M4 u1 v0 R& T5 |8 J
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    % e0 i& b, j4 H+ Z
  73. ; in production environments and one that is recommended to be used in/ i0 S, E5 B- e1 Q5 }8 E, z
  74. ; development environments.
    ( p$ n' n4 s" D2 K

  75. , a3 S# u: [' u  _' f4 X
  76. ; php.ini-production contains settings which hold security, performance and, }6 j& [9 V0 B+ J! X8 `+ v
  77. ; best practices at its core. But please be aware, these settings may break$ Z  u0 N+ T6 a# o
  78. ; compatibility with older or less security conscience applications. We
    3 J- A5 _7 |7 K
  79. ; recommending using the production ini in production and testing environments.7 z7 Q, ~8 p" Q! p2 }* e/ E
  80. # e4 G6 U5 ~6 t0 N+ b. U1 q/ h
  81. ; php.ini-development is very similar to its production variant, except it is' D0 x# u5 p" O  W0 K. v
  82. ; much more verbose when it comes to errors. We recommend using the- N# F9 |% d/ r8 s
  83. ; development version only in development environments, as errors shown to& n3 b4 f5 _9 m' J6 `
  84. ; application users can inadvertently leak otherwise secure information.
    % |) @8 D6 k* s# X& b. o$ D

  85. ; M$ c5 M8 ^' y3 G
  86. ; This is php.ini-production INI file.3 A2 s, N6 U8 h- j# U

  87. ' m4 Q2 B  N# P5 N: k* E3 {3 d+ u
  88. ;;;;;;;;;;;;;;;;;;;9 E! M3 r2 {0 Y- v6 a7 W5 o
  89. ; Quick Reference ;
    " c  |' V- O  z) o' _0 ^
  90. ;;;;;;;;;;;;;;;;;;;8 h* B' x' b0 q; d+ p
  91. ; The following are all the settings which are different in either the production7 P% \8 H. f) p. e& z
  92. ; or development versions of the INIs with respect to PHP's default behavior.9 e  q8 E6 n3 U  ]6 W( U
  93. ; Please see the actual settings later in the document for more details as to why4 [3 z9 L7 U# {9 L1 }
  94. ; we recommend these changes in PHP's behavior.: h$ C6 w# h8 y& T
  95. 2 t3 @$ b. D9 n, C& z
  96. ; display_errors7 M6 s+ C/ k& ?1 v  k7 }7 z
  97. ;   Default Value: On/ N6 ^6 y1 k+ \) X( S" b, U
  98. ;   Development Value: On1 z) ?. H2 G; D  n* U2 C4 K. r0 Z
  99. ;   Production Value: Off
      u' c" b3 y4 m- |

  100. : l8 S- ^" H) R! [! j- [0 ?
  101. ; display_startup_errors3 A+ P6 Y8 @1 C! |# V
  102. ;   Default Value: Off8 T. z1 i! Q' x, Q
  103. ;   Development Value: On
    8 o7 N' q0 B# w. K' r% b4 G( K1 Q% X0 n
  104. ;   Production Value: Off  V0 P, s. K  x, X% c
  105. ( v' e1 S+ u* u0 b1 A% W
  106. ; error_reporting; j( r$ ^/ B! O% y1 X9 ], ~/ D
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED* D4 E. \! C+ y+ i7 _
  108. ;   Development Value: E_ALL
    + v" Q: V3 _  V' R9 ~) s4 ~4 l
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % o- M" }  E. m! Q, _$ Q2 J

  110. ( S( A+ z3 @& A9 a9 e# |. K; K
  111. ; html_errors, b' k8 a& v5 M: y! n! y5 U& L
  112. ;   Default Value: On
    $ h" ]* }0 A  f9 }
  113. ;   Development Value: On( q/ S9 I; J7 \: J" u3 s6 x% @4 C- k4 m) }
  114. ;   Production value: On9 R# A; S9 L6 B# r/ v  w0 E2 ~2 |

  115. . d, o3 w3 _( C" X3 d0 P
  116. ; log_errors8 m4 l5 ^/ g. c* {) |
  117. ;   Default Value: Off, v7 `9 R' p% X5 r8 W0 f9 Y0 l
  118. ;   Development Value: On
    + C6 [: D2 C/ U) K7 |4 h! [
  119. ;   Production Value: On
    7 p% E$ f% ]8 P5 R9 Z$ c! S
  120. 0 K( |4 _, m2 e! c4 _& {/ W" ^
  121. ; max_input_time
    . z  c4 }1 H7 [9 S" v
  122. ;   Default Value: -1 (Unlimited)
    / ^- e; l" x, ?, ^, s  E9 f* [; y3 z+ x
  123. ;   Development Value: 60 (60 seconds)% G/ r! ^' v9 l
  124. ;   Production Value: 60 (60 seconds)& k6 s+ a; M7 E) F  t: w: d
  125. & Y* z1 d# G1 T. ^; m
  126. ; output_buffering
    $ S7 H$ b5 x8 m/ B) C8 ]
  127. ;   Default Value: Off1 K: q' o1 H% G$ ?8 ]% Q3 J
  128. ;   Development Value: 40965 P: l6 H3 N9 ~7 |# h
  129. ;   Production Value: 4096
    % m+ u1 ^$ u: i( D

  130. " x/ K& X2 A* c+ b' ^
  131. ; register_argc_argv
    2 q7 D9 z3 n5 j& _
  132. ;   Default Value: On$ a/ s% @( Q0 K3 P* b* l0 W$ c
  133. ;   Development Value: Off
    . r3 Z, w1 Z- x  r* w: L+ Y5 E
  134. ;   Production Value: Off/ v4 x" p/ {0 X, ^; v

  135. 7 ~/ a8 Z/ u4 D8 Q  p' u
  136. ; request_order
    ; w& R# |, [2 W; V# }
  137. ;   Default Value: None
    5 x) Q. L4 E: X
  138. ;   Development Value: "GP"8 W/ e( s. P7 m3 d0 L
  139. ;   Production Value: "GP"3 R' @2 }! \; w/ ?$ P4 _

  140. $ B$ g9 |7 y/ C$ u
  141. ; session.gc_divisor
    ) d' p! W. l) R
  142. ;   Default Value: 100
    0 u; B7 v: l" H
  143. ;   Development Value: 1000
    : Q% Y. t, S9 j" I
  144. ;   Production Value: 1000
    & |, z9 f: `9 F: y- [$ c9 M
  145. 6 V6 D5 u# [+ H  Q
  146. ; session.hash_bits_per_character( Y0 B- P5 V+ R% M) [+ {- d2 B
  147. ;   Default Value: 46 {* D' e/ T. }+ R
  148. ;   Development Value: 5
    1 w& s; M5 }. A. j8 L
  149. ;   Production Value: 5; ]) L. w: V, D3 N* O$ u* ~* @  a

  150. 1 A7 O3 `- J& _4 o, X% h% h1 Z
  151. ; short_open_tag
    " X' W9 {) k1 E5 \# v" x
  152. ;   Default Value: On
    ( s  A% n* `" e! A& U) c
  153. ;   Development Value: Off# h5 Z- x1 F! s( m6 _2 m
  154. ;   Production Value: Off
      \) E! |6 @' _: n& H

  155. 1 j. U  e/ ^( D8 a# t. U
  156. ; track_errors
    4 P# y7 D. ~! O3 X- w6 `
  157. ;   Default Value: Off9 [+ P9 {% j- z2 }1 _
  158. ;   Development Value: On0 {( R( E) Y# o3 W+ V
  159. ;   Production Value: Off
    3 S5 X, u: J5 j  \
  160. * ]5 W" b3 r9 L7 ], N  f, X
  161. ; url_rewriter.tags. Q9 X& @% [9 d
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="  \. R3 w% A- [
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : Z$ k" `2 `8 `" O6 L: J4 K
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & l& n8 e& [8 c6 D$ V" t

  165. % Q) r/ e2 C3 }! b3 u5 t  |9 U/ I
  166. ; variables_order. @3 v$ H& b# @* U
  167. ;   Default Value: "EGPCS"0 y. M- B1 C( ~2 f8 n5 a
  168. ;   Development Value: "GPCS"
    ! w9 K/ K0 A8 r" f  j; u9 p2 E- Y
  169. ;   Production Value: "GPCS"+ @7 ]  k- T! h2 R% U* d- |
  170. & u; \4 o8 x; o2 _
  171. ;;;;;;;;;;;;;;;;;;;;
    / p5 K9 u4 |2 x2 k$ U
  172. ; php.ini Options  ;& Z* \( `1 c9 v; `
  173. ;;;;;;;;;;;;;;;;;;;;
    , Y) B% r4 A0 H1 U( u! Z2 L* F
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    6 K9 f8 f  S- h' e
  175. ;user_ini.filename = ".user.ini"! L% Y, o: H- e* F; O! ]

  176. 9 P% z6 n/ ?4 X' o5 v
  177. ; To disable this feature set this option to empty value
    " b* k# q3 d: C% @! L
  178. ;user_ini.filename =
    / V' B# X0 `) {* U! E- y6 V: @( V, @

  179. 4 `5 f/ m3 r4 S6 _5 z8 n: L
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)# V0 q2 r# Y2 ?/ c( \  c8 B
  181. ;user_ini.cache_ttl = 300
    $ k- B* {( Y' M+ d7 r: o

  182. & ^% z$ O+ M4 t$ `0 j$ K, i
  183. ;;;;;;;;;;;;;;;;;;;;
    & O8 Y# H3 J3 E. i0 {( G
  184. ; Language Options ;7 t' h) I% E' \
  185. ;;;;;;;;;;;;;;;;;;;;4 ^2 l( N" B: W, v' K, M

  186. 9 P% S2 _# @4 q- d  B( I& p
  187. ; Enable the PHP scripting language engine under Apache.
    , X! }6 |" }2 I, K# }2 _
  188. ; http://php.net/engine& Y" `7 u1 l9 ]0 O6 U; ]$ T
  189. engine = On9 D8 M- v  `$ z6 N, L4 Y
  190. 4 A  W  ?8 K5 {4 E
  191. ; This directive determines whether or not PHP will recognize code between) ?, Q' s: P$ u6 I; Z9 L" B
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    # l1 d" q7 w  U$ y, B* j0 v
  193. ; generally recommended that <?php and ?> should be used and that this feature1 {/ u1 K; B7 Y2 [% C& O3 J
  194. ; should be disabled, as enabling it may result in issues when generating XML
    . g' j) S+ Q9 y" n9 A: X9 a* R
  195. ; documents, however this remains supported for backward compatibility reasons.5 K4 h- e/ p2 l, p
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    * D" S# ?6 A9 e5 ~2 y! z% R
  197. ; used regardless of this directive." K5 P: V" W  {  s
  198. ; Default Value: On
    " Q, n1 b4 v& P/ E" k* Z) O
  199. ; Development Value: Off
    2 w' }* h6 ^# q& q( C
  200. ; Production Value: Off( A# X+ o: E  y1 q9 \
  201. ; http://php.net/short-open-tag
    / q; V' [9 b) ?5 l0 S/ X( f: }
  202. short_open_tag = On* Z% q9 b) _$ m  T) Q) X

  203. ( q8 P" ]% b0 K7 _. b* v! {" R
  204. ; Allow ASP-style <% %> tags.
    : S1 z, Q6 C( N
  205. ; http://php.net/asp-tags) L1 u6 o/ ^5 C& v# A0 a
  206. asp_tags = Off; F1 n; `9 H) @& `0 i. L. ~( i6 O

  207. ) E% U8 ~/ }8 V/ F2 ~/ O" W6 ?
  208. ; The number of significant digits displayed in floating point numbers.; t4 r) u8 t3 J
  209. ; http://php.net/precision
    7 u8 x2 H. O$ j
  210. precision = 14
    + z3 O3 v$ b: ?7 A: T9 f

  211. , K6 G! {5 R9 \0 N! U( e/ q
  212. ; Output buffering is a mechanism for controlling how much output data' h# r  h  v. `
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that5 x! r4 i/ l7 s' z& H
  214. ; data to the client. If your application's output exceeds this setting, PHP
    : N8 I, Z3 g! e1 c
  215. ; will send that data in chunks of roughly the size you specify.  A4 Z# X6 D! H' U, c% W7 D. T
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    5 X! d1 ^. E- @; A
  217. ; interesting side-effects depending on your application and web server.# Q* O" v) j' k" q
  218. ; You may be able to send headers and cookies after you've already sent output1 Z6 Z+ V$ F1 v: [
  219. ; through print or echo. You also may see performance benefits if your server is
    1 |( E, p/ P' w8 V, ~
  220. ; emitting less packets due to buffered output versus PHP streaming the output: P; t5 O8 d) b% X: V7 N& o% W# @
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    0 a  |: W) J! I; Y6 C
  222. ; reasons.
    1 y# U3 u  g4 E  M) w
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    5 g& b/ z- \- ~* h2 }* e
  224. ;   functions.
    5 h! V* Q8 j4 x
  225. ; Possible Values:
    * p6 [0 R4 Z9 r2 N& a
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)- }/ W& T# g3 |/ z
  227. ;   Off = Disabled9 F& h* n; C, Z/ ?) Z; W
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.. C% ]6 z* l* P! s, i; }/ C0 n
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - A/ j  v+ ^' O7 A) w
  230. ; Default Value: Off
    * P! f% F) ?- e& D
  231. ; Development Value: 40960 r9 D" p3 S2 d1 z6 B' B
  232. ; Production Value: 40960 ~+ T6 g( T- o' i9 w2 Z" l# v
  233. ; http://php.net/output-buffering3 I: A0 H6 r7 i/ ]4 c' y1 T2 O
  234. output_buffering = 4096
    ' k0 ]8 m3 c2 s' v
  235. 6 y. e: `/ Q' t: Y0 y  a; i
  236. ; You can redirect all of the output of your scripts to a function.  For
    / u- n$ g& D$ t9 E% P- Q3 I
  237. ; example, if you set output_handler to "mb_output_handler", character
    ! O# Y# Q# w6 U- w3 g
  238. ; encoding will be transparently converted to the specified encoding.
    , z" f" U6 W, U5 C: D) B4 f, P4 m* `
  239. ; Setting any output handler automatically turns on output buffering." o  b& o9 W5 W& E" M# I/ P
  240. ; Note: People who wrote portable scripts should not depend on this ini& H5 q2 A4 X; x/ P( |
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    4 |  S, C$ U. M7 j. K! C- u
  242. ;   Using this ini directive may cause problems unless you know what script1 k7 I( F6 P/ o3 |
  243. ;   is doing.( ?/ f/ c. S  d, T
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"0 d" J+ o8 Y7 ?- _) w% h" Y$ m
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    8 x1 c* r, x0 y3 E' n" s
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    5 f; S8 C+ ]( |, y
  247. ;   Instead you must use zlib.output_handler.. \6 k0 j) C3 R' f! G
  248. ; http://php.net/output-handler
    2 [6 {- Q4 {( B/ _( _
  249. ;output_handler =. C8 v9 l* B: Y6 j

  250. # _: j1 n0 M9 M' Z, o$ S
  251. ; Transparent output compression using the zlib library
    % `0 c* Y! O; S* k* _) T: t/ O7 Q! [2 ^+ S
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    : W* @- b$ k* {' E9 X
  253. ; to be used for compression (default is 4KB)1 O1 V0 P4 V1 T# k" w2 n
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP' j; s1 g7 x  O! y2 v, K
  255. ;   outputs chunks that are few hundreds bytes each as a result of& {9 Q4 N9 y0 \% S3 v
  256. ;   compression. If you prefer a larger chunk size for better
    1 U: i2 ?" E% S6 K
  257. ;   performance, enable output_buffering in addition.
    * ^7 k. T  v( P: x
  258. ; Note: You need to use zlib.output_handler instead of the standard
    . f8 {: M  a8 Z5 X
  259. ;   output_handler, or otherwise the output will be corrupted.$ X% B& ^. b0 L0 ]( p* J. I
  260. ; http://php.net/zlib.output-compression
    . ?  G; k! l+ n8 N3 s  T" m! |
  261. zlib.output_compression = Off
    5 r+ s. @( Q0 P2 E( L6 _- Q

  262. 5 M  P- ?8 q9 s8 ]; |, W; e
  263. ; http://php.net/zlib.output-compression-level+ d1 ~3 q+ o* @$ d- p6 B( V% L5 j8 ]8 ^
  264. ;zlib.output_compression_level = -1
    / u* _; c7 M: i7 A9 M* ~8 I
  265.   m$ K- f0 c: Q1 [' ?
  266. ; You cannot specify additional output handlers if zlib.output_compression
    5 y" h; ^7 K* {% ~5 K! \  I
  267. ; is activated here. This setting does the same as output_handler but in' Q2 e0 U# X0 L! m" W, m) s
  268. ; a different order.
    : Y4 O' d4 C' W
  269. ; http://php.net/zlib.output-handler4 t2 f+ y  C: ^6 [6 q5 I
  270. ;zlib.output_handler =( ^4 ~2 i# K: p* k9 q
  271. / J4 W4 H3 |2 d. S! h6 `/ A' f$ P* x
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    3 @  L4 A& p$ d
  273. ; automatically after every output block.  This is equivalent to calling the8 T# g* {$ p1 k- I
  274. ; PHP function flush() after each and every call to print() or echo() and each9 W/ B# ^" `# a. x! j2 K( P$ F( v( W9 W
  275. ; and every HTML block.  Turning this option on has serious performance4 d4 l$ i/ M9 M1 Z7 A
  276. ; implications and is generally recommended for debugging purposes only.# Q( U' |' j$ J, i3 H
  277. ; http://php.net/implicit-flush$ c: B& S% C  w3 m' k
  278. ; Note: This directive is hardcoded to On for the CLI SAPI+ D% d$ v. Q4 P# U& S
  279. implicit_flush = Off8 Q7 R  `! E% b' o

  280. 7 l# H6 t# D9 r, g/ d
  281. ; The unserialize callback function will be called (with the undefined class'/ Q6 t3 A& l8 m* j
  282. ; name as parameter), if the unserializer finds an undefined class
    ) }8 h9 p; E% S) r8 Y. d8 P
  283. ; which should be instantiated. A warning appears if the specified function is
    7 S! O4 T$ L: a! G$ U
  284. ; not defined, or if the function doesn't include/implement the missing class., {' T5 \+ `6 U$ ?. n$ D
  285. ; So only set this entry, if you really want to implement such a5 p# E2 F4 [1 \- p
  286. ; callback-function.
    ( F4 y: i. ], Y" E* `
  287. unserialize_callback_func =
    $ ]2 M6 z; G4 C3 v

  288. - ~1 i9 }* C1 [
  289. ; When floats & doubles are serialized store serialize_precision significant
    ! m* S* ^, X5 @
  290. ; digits after the floating point. The default value ensures that when floats$ V. q) O" s) A& u/ j
  291. ; are decoded with unserialize, the data will remain the same.
    5 O& k" y% M3 L/ Z
  292. serialize_precision = 17
    3 x; w+ ^' N; R/ K$ Z, O3 S

  293. + b/ v3 B, `" r: @& r4 g9 [# J& l
  294. ; open_basedir, if set, limits all file operations to the defined directory% D9 ?1 r: V9 [
  295. ; and below.  This directive makes most sense if used in a per-directory6 u- L% ]9 n: V4 G0 Z( K2 e
  296. ; or per-virtualhost web server configuration file.( v, B' g9 ?! o3 N. s
  297. ; http://php.net/open-basedir
    ' g: |/ k4 Q. x  b5 n$ p
  298. ;open_basedir =' c% m% T* u" b2 W/ D" d" Z
  299. , j* Z6 z1 n' _+ o& ~0 x
  300. ; This directive allows you to disable certain functions for security reasons.3 W2 ~, H1 k" v9 |' t
  301. ; It receives a comma-delimited list of function names./ r# ?2 s) {6 [
  302. ; http://php.net/disable-functions
    # }5 X, J* v: {8 F- s, G9 |
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru# L) G4 @: ?& J) u' Y/ o

  304.   K: c3 y) x  A4 v& r. `: v7 Z+ k
  305. ; This directive allows you to disable certain classes for security reasons.
    " U) k$ |6 M$ k5 i/ L
  306. ; It receives a comma-delimited list of class names.; j3 L$ A- [3 z8 P6 I9 t
  307. ; http://php.net/disable-classes
    - e: p. Y" c: F7 A7 E1 b" E4 j
  308. disable_classes =
    2 F# {! `; g9 r0 m
  309. & H- ~3 e: O0 i7 N
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    7 Q6 \9 `) T0 d, L1 X. q; q7 _
  311. ; <span style="color: ???????"> would work.
    4 h4 l+ I) `5 Y3 z3 Y% s, E" x# Y
  312. ; http://php.net/syntax-highlighting* g; Y+ i; W' W
  313. ;highlight.string  = #DD0000
    ) Q2 ]$ ^$ ~# |+ _
  314. ;highlight.comment = #FF9900! y9 I' b+ M; P8 s6 o
  315. ;highlight.keyword = #007700
    % i0 P/ P6 ^- T, v
  316. ;highlight.default = #0000BB# ]7 ~; P# g; X; J- B7 A; M% d: Y
  317. ;highlight.html    = #000000
    & s4 C5 E% ~4 _5 X2 M
  318. 8 R, R' M9 v% }3 F9 c! [  h1 ?/ L
  319. ; If enabled, the request will be allowed to complete even if the user aborts$ U& F. j; [8 {
  320. ; the request. Consider enabling it if executing long requests, which may end up! Q; |- d) i8 x6 L7 o
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior' Y5 X# g$ }. _/ W/ V: Y
  322. ; is to disable this feature.
    ; }0 F" E/ [+ L0 D
  323. ; http://php.net/ignore-user-abort
    5 h5 U7 r4 r9 r9 |9 q* w3 w: S
  324. ;ignore_user_abort = On/ N6 q1 |8 g2 n* |7 W; P& R7 ?

  325. " A# _0 o+ s) L1 m/ h
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    5 y# ?; |) x4 b$ G/ u$ Z$ S0 ^& q
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    5 j+ L6 f1 z# }: u# K
  328. ; the file operations performed.1 t/ t9 ?5 F/ O* t* E) e7 v! m
  329. ; http://php.net/realpath-cache-size' d6 h  A5 F6 Q$ q% f
  330. ;realpath_cache_size = 16k
    : R1 ~! Q% k7 R

  331. ( ?1 R, ~& P/ U1 I. Z, C$ E
  332. ; Duration of time, in seconds for which to cache realpath information for a given  [0 H$ H# G) b  f# [7 E# O" H
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    : j$ Z" T  M* j
  334. ; value.
    ! J7 s" u4 b( c, u) o. k
  335. ; http://php.net/realpath-cache-ttl
    ! P- a4 _# C2 l4 ?. m
  336. ;realpath_cache_ttl = 120
    " \3 z5 J$ q+ k8 ~" g8 ^: Y

  337.   {. n2 d. F) u8 R  v  c
  338. ; Enables or disables the circular reference collector.2 a( g* H- ~, ]: O& Y7 {+ `. m
  339. ; http://php.net/zend.enable-gc% t/ b3 ]  v* c8 f7 [! N
  340. zend.enable_gc = On" _% L( L8 d2 P& B
  341. , }" C5 H  z8 o2 c
  342. ; If enabled, scripts may be written in encodings that are incompatible with
      R7 O8 }( a; b4 v& ?
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
      E. r, @4 d5 }1 A7 B) I+ u. U
  344. ; encodings.  To use this feature, mbstring extension must be enabled.' k! \: w; P( Q. H; P1 s, I# L6 y
  345. ; Default: Off9 I9 h) r- a5 o" G9 E. N5 @
  346. ;zend.multibyte = Off
    ' a* T( @/ }/ b. E; h: y

  347. 3 `) A/ G0 r1 ~# X
  348. ; Allows to set the default encoding for the scripts.  This value will be used' t$ w& f" `$ L: a, M4 N- O; t1 n
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    5 r" }( K3 Y1 x  F  f# y
  350. ; Only affects if zend.multibyte is set.
    1 b; [) p8 o( I' q  ]- t
  351. ; Default: ""4 D" G- M" F% X" p2 ]
  352. ;zend.script_encoding =& W; B/ ~, h/ m8 i
  353. : u: R+ N8 v$ A8 M) t9 ~# f8 y
  354. ;;;;;;;;;;;;;;;;;7 z' c" l; P. [6 r
  355. ; Miscellaneous ;
    7 ?8 t7 N* Z5 O9 M$ B
  356. ;;;;;;;;;;;;;;;;;) f# s8 A+ }" R$ j: {$ `! g
  357. 4 N) u) L0 Y: }! b
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    " [6 G+ f: {; j
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    8 b; Z0 u* J' {8 G+ ~/ q
  360. ; threat in any way, but it makes it possible to determine whether you use PHP/ @7 s8 D# _1 ~) w; \3 h! I9 A0 z  s
  361. ; on your server or not.. @* ^- m" @0 ?5 O5 F
  362. ; http://php.net/expose-php
    / Z, ]2 |' o$ H: P8 J
  363. expose_php = On
    , s& A. l9 `) K

  364. # [/ p9 |' q' F! N/ d
  365. ;;;;;;;;;;;;;;;;;;;% H$ R$ ~* w4 ~) ~4 ]
  366. ; Resource Limits ;
      p) A. Q9 _2 h; l/ ]( _
  367. ;;;;;;;;;;;;;;;;;;;# k& ~7 W9 w' C0 |2 j; M! _# U0 b
  368. 0 Q: J" ]4 c6 x  q8 }2 J
  369. ; Maximum execution time of each script, in seconds
    4 r  V/ a3 f  W- A+ @3 v/ \
  370. ; http://php.net/max-execution-time  H5 [8 O( T& V  ?5 _7 t& d
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    3 `. b) q- n  g) I3 ^5 P  l
  372. max_execution_time = 300
    4 {2 S3 ]) c, C0 y% ^- o7 J
  373. / z7 E1 V' S1 M+ P
  374. ; Maximum amount of time each script may spend parsing request data. It's a good' t4 C" r7 `/ t4 m9 l! ?  K) N
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly8 H2 @! c/ s2 o( t$ y: N
  376. ; long running scripts.
    3 n- s  _; A7 s) M" H, E
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    : k+ s1 i8 J( V; U; _  C4 y2 c
  378. ; Default Value: -1 (Unlimited)9 O5 t# S4 k) l* }# |
  379. ; Development Value: 60 (60 seconds)& y' e5 ^! [; H! H& f" i+ A
  380. ; Production Value: 60 (60 seconds)
    4 h9 h$ E8 _( W% l
  381. ; http://php.net/max-input-time/ t6 }6 d3 @! q' {# i6 M  w) B+ r* m
  382. max_input_time = 601 n) ~; U' I4 C) o: V2 J2 h  U
  383. 0 {6 O4 @' E* ]# |: k4 S
  384. ; Maximum input variable nesting level
    + v6 ^% ^% t* _6 r
  385. ; http://php.net/max-input-nesting-level
    0 Y% c5 c& t  b9 i/ h6 `# ^
  386. ;max_input_nesting_level = 646 B/ T( D, a, k" ?( h' W2 g4 r

  387.   q# H5 m9 D5 A4 `3 m. j8 R
  388. ; How many GET/POST/COOKIE input variables may be accepted
    7 x: E: d, [7 \3 q  g/ V4 q
  389. ; max_input_vars = 1000, W" G# `5 X7 }+ v

  390. 0 _. V% k$ `3 w& H) p! ~
  391. ; Maximum amount of memory a script may consume (128MB)) C3 D2 r2 R- Z! ~) ~
  392. ; http://php.net/memory-limit
    $ Y: {" l: O9 G* y! [
  393. memory_limit = 128M- w! i" h; W4 W
  394. ! @& v3 L! E" s0 I7 `
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;% ?4 I; ^" x/ p3 Z# \5 n
  396. ; Error handling and logging ;
    ' q3 I* Q6 O2 }9 t$ ]
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 C* u+ n7 A3 a6 e5 S% }1 W
  398. 9 s( E2 E: K6 {8 D
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    4 m- ^! J% Y1 R9 `* z
  400. ; it to take action for. The recommended way of setting values for this4 X+ `9 |* O) k7 Z
  401. ; directive is through the use of the error level constants and bitwise
    + B1 D6 x; p; r6 R9 @8 [+ a
  402. ; operators. The error level constants are below here for convenience as well as  g; b3 H! y) @: J) N9 V) i
  403. ; some common settings and their meanings." |8 c" {% _- `/ L* V
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    2 f# F% W8 F. E6 r7 H# Y1 b- N5 z
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and4 {$ r1 C0 M8 s+ O
  406. ; recommended coding standards in PHP. For performance reasons, this is the: p; F  e+ L6 N7 Q  L
  407. ; recommend error reporting setting. Your production server shouldn't be wasting. i& S/ Q# n; `) o( D
  408. ; resources complaining about best practices and coding standards. That's what
      v! [0 m" I" Z
  409. ; development servers and development settings are for.
    " R! D  J  d2 r, i, V* d9 K: A
  410. ; Note: The php.ini-development file has this setting as E_ALL. This0 C. S3 l) J5 z2 {9 E4 \# R
  411. ; means it pretty much reports everything which is exactly what you want during
    " a; E% y: X7 \
  412. ; development and early testing.
    ' r! V, c1 R- h
  413. ;9 w# ]8 k; J7 r8 U) ~  V7 Z0 N+ b
  414. ; Error Level Constants:
    * T5 L5 a  _$ U9 Q0 O8 \
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)% B* d1 Z$ p% ^7 ~
  416. ; E_ERROR           - fatal run-time errors7 \6 x; u3 C& D- t
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ! g5 H. ]4 a( y& P  z- m
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    7 t& N6 v. m& B
  419. ; E_PARSE           - compile-time parse errors/ }1 C  g2 g9 D; U: I8 k3 I
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    " Y% @8 G) e7 g# ~$ d) k4 f+ N
  421. ;                     from a bug in your code, but it's possible that it was( p. S* y% H1 i: @+ h$ K, `+ S8 `
  422. ;                     intentional (e.g., using an uninitialized variable and
    . t" C. d8 P$ j3 C  }' }; v
  423. ;                     relying on the fact it is automatically initialized to an8 g/ w7 t/ D- y# I, {) U
  424. ;                     empty string)- Z6 e* R( g7 h" O, O
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
      k" o" n0 R6 Y5 O; v
  426. ;                     to your code which will ensure the best interoperability" f4 N  y8 _/ A# e) G! g/ f1 o7 h
  427. ;                     and forward compatibility of your code
    - @( r# {2 B! f+ D9 ^7 E
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    & _+ e3 A. K4 q" ?4 L
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's. Q+ P5 t$ I, B) U
  430. ;                     initial startup
    1 a6 J/ F3 X+ G
  431. ; E_COMPILE_ERROR   - fatal compile-time errors! D) V# q" f7 Q  R8 y
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    9 I5 ]1 D0 e* y
  433. ; E_USER_ERROR      - user-generated error message
      `  u; U  S1 @1 `+ H
  434. ; E_USER_WARNING    - user-generated warning message
    , v+ h9 E7 H; J7 l3 r" z" X
  435. ; E_USER_NOTICE     - user-generated notice message
    . }$ X, B3 T4 {; e3 Y
  436. ; E_DEPRECATED      - warn about code that will not work in future versions3 l  X; N( E1 w
  437. ;                     of PHP8 y' I  [/ k. r$ ^, J9 r
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ' X1 g+ D: \& }  K% c' y+ @, ]
  439. ;2 p, v* n+ l( @# Y
  440. ; Common Values:% ?- `/ A8 m& M4 L
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)) Z! u, n, @8 k& t$ v7 a3 P
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    5 @! I  A+ i. I
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    / V3 z' j5 q9 c: W6 }* O' Q8 {
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)5 U5 j; w5 m. i. Y  x
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED) C3 ~/ l5 E- y" e. o! [
  446. ; Development Value: E_ALL  ~5 h$ }' i7 I/ Y1 e8 a9 |. G
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    2 \% E+ }( ?+ q4 R3 s& }; V
  448. ; http://php.net/error-reporting
    4 p) e: q! y4 }
  449. error_reporting = E_ALL & ~E_NOTICE8 J' _3 R* I6 q

  450. " k" s+ J& Y& u7 b: v
  451. ; This directive controls whether or not and where PHP will output errors,
    3 X2 |  @$ ]4 @* w
  452. ; notices and warnings too. Error output is very useful during development, but
    0 B  y9 E# @* [$ p" a* h
  453. ; it could be very dangerous in production environments. Depending on the code, l- N* w1 g) ^+ @1 k/ G; ?) ]0 ?* d
  454. ; which is triggering the error, sensitive information could potentially leak3 C7 K* i" W1 j
  455. ; out of your application such as database usernames and passwords or worse.4 R7 i* S+ Q6 T: |% Q! L
  456. ; For production environments, we recommend logging errors rather than
    0 l4 v" {8 y" k$ H3 o) X
  457. ; sending them to STDOUT.- v% b. C6 t, Y
  458. ; Possible Values:
    8 h( y) f9 Q' E# X$ s+ _
  459. ;   Off = Do not display any errors9 V$ M% ^  |1 O! o8 Z
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    / _, ~6 K/ R$ ]* b0 D: K+ x
  461. ;   On or stdout = Display errors to STDOUT  ]' w1 n  q  J2 U
  462. ; Default Value: On
    ; I2 e+ a/ ~0 ]' c% }( d% D
  463. ; Development Value: On% i  F4 i$ X6 f' g0 F/ X2 n
  464. ; Production Value: Off: |+ Y% h. h) c9 W
  465. ; http://php.net/display-errors
    1 }3 ]- B# q+ T+ V( I! T7 I
  466. display_errors = On
    9 A' R7 o; d# B! p* X( \* O- R
  467. + P2 L. L1 |# ~1 ~/ u
  468. ; The display of errors which occur during PHP's startup sequence are handled9 p) D/ \% V* u" C* t% O
  469. ; separately from display_errors. PHP's default behavior is to suppress those5 ?' d* E$ u( b  F- w/ D$ V
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    7 r$ S0 }1 x3 _+ k# z! Z
  471. ; debugging configuration problems. We strongly recommend you
    $ W/ V6 ^6 S" N7 w3 w
  472. ; set this to 'off' for production servers.0 }+ [0 j0 H+ Z- b6 ^
  473. ; Default Value: Off* W" K) O6 D0 O, u
  474. ; Development Value: On  t& C: J+ c/ s* Q# T7 p7 U
  475. ; Production Value: Off5 t; @2 N5 x, ^6 U
  476. ; http://php.net/display-startup-errors
    * k8 N: p6 x. Y: s6 @$ a) n
  477. display_startup_errors = Off& @% P) ?; l! c0 [; l) h

  478. ) ^; F( `* x$ H3 D; ?- C9 C& G; Q
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    8 j2 `) c  m, U/ c( w! p
  480. ; server-specific log, STDERR, or a location specified by the error_log' H6 f3 ]5 s& H' ]+ I
  481. ; directive found below. While errors should not be displayed on productions
    0 J: G' Z; ]- N+ y
  482. ; servers they should still be monitored and logging is a great way to do that.; `6 W# \4 E# Z( O- |3 S
  483. ; Default Value: Off( N  P2 \+ f3 S5 }8 |( u9 p
  484. ; Development Value: On& C1 n* b5 I& ?
  485. ; Production Value: On6 N1 n3 L" s( Q$ P) j
  486. ; http://php.net/log-errors9 C+ [* x7 E* {& |  Y* s. C: |
  487. log_errors = On  `; T$ q- J5 ^6 ~/ K; @
  488. 3 t9 \- X8 P! {4 A
  489. ; Set maximum length of log_errors. In error_log information about the source is- \8 Z! [, q" a: x' S
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.& H: Y) J8 U! T) u3 F1 n6 ~
  491. ; http://php.net/log-errors-max-len3 H) u: Y# d) R7 I/ d
  492. log_errors_max_len = 1024  q) Y' e; I  I' H

  493. $ k$ M3 [+ J# h, S0 f  C
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    # v3 }" x. X; u* E# A% P
  495. ; line unless ignore_repeated_source is set true.
    6 O4 T7 q, A1 o/ k
  496. ; http://php.net/ignore-repeated-errors
    ' r( r! [: I! a" f, P
  497. ignore_repeated_errors = Off
    * \# ]! W' b& m$ i( j, a

  498. : l0 L2 j3 ?6 d' V! B, J2 [. x8 o
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    0 c7 T% D, h, ^, A6 D
  500. ; is On you will not log errors with repeated messages from different files or
      E) E3 b4 z. p9 f9 I, M* g
  501. ; source lines.
    ) I1 @" T' c- h
  502. ; http://php.net/ignore-repeated-source( C& m1 r0 L! ?; X2 Y$ u
  503. ignore_repeated_source = Off
    ) K4 s+ D  b  X! A' p

  504. # o; G3 o# ?. a
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on+ s& s& X( c2 x( f2 A2 h& ]( V
  506. ; stdout or in the log). This has only effect in a debug compile, and if- y( T# d- C2 E/ m$ Z
  507. ; error reporting includes E_WARNING in the allowed list5 \/ E3 l) Z3 a! H1 F/ N* d7 I
  508. ; http://php.net/report-memleaks
    : Q7 w3 e  ^- k9 }0 j
  509. report_memleaks = On* R$ Q2 H4 d  u$ V$ w4 [
  510. 3 b' d6 b; `" J; P4 F& x5 `  g1 _
  511. ; This setting is on by default.
    5 W* `& |. y. P) B/ J
  512. ;report_zend_debug = 0
    : r  [8 f3 v3 ?# F& K0 D
  513. 2 I) d$ W: _7 e* W6 F: N( @
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    / ~8 k1 k4 x8 @# U
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    + s/ y& n; n+ t* `3 d$ M
  516. ; however be disabled on production servers.6 o! ^* _" N0 F' `0 Z' w7 d
  517. ; Default Value: Off
    ; |" m, S: z) }% c' ~$ i
  518. ; Development Value: On3 e+ S- A8 W+ \' w
  519. ; Production Value: Off9 t8 k+ v# }; ~* I+ x' S- ~
  520. ; http://php.net/track-errors
    % |9 B: H& O+ s1 h7 m
  521. track_errors = Off
      \* h% B2 D4 M4 }2 @. a- w* k

  522.   H5 ]/ b- h/ N/ I  f
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    & @4 b# m( e0 v- C  w) A4 ?
  524. ; http://php.net/xmlrpc-errors
    6 f5 Z' D- k# K( H8 h3 n
  525. ;xmlrpc_errors = 0
    $ ?" M2 p, r. x

  526. 5 R) |: g$ u; B  g# ]
  527. ; An XML-RPC faultCode: ?& i7 F( r  B% {. e0 k- o
  528. ;xmlrpc_error_number = 0
    . L' r* T8 K- [7 z
  529. # K6 @: U3 b5 `$ H
  530. ; When PHP displays or logs an error, it has the capability of formatting the  C7 G3 V( F1 b
  531. ; error message as HTML for easier reading. This directive controls whether- p" f0 W* j) V) ?) \7 j. a
  532. ; the error message is formatted as HTML or not.
    9 K' b: Y; p3 B
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI8 Y' D- ?. Q! J# I% e
  534. ; Default Value: On
    9 U& x! G6 J6 o) ]3 k2 b6 |
  535. ; Development Value: On4 K# N5 s0 p' H! h3 d' n1 ^1 Q% O: ]
  536. ; Production value: On
    + Y) I% ~5 o6 A: I9 T
  537. ; http://php.net/html-errors7 G1 r- j/ v2 c* B! i+ v9 B2 u
  538. html_errors = On
    7 T7 P: b" M& S

  539. 6 i2 ^5 b/ k) S5 E/ V
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ; F. H& A, G: l
  541. ; produces clickable error messages that direct to a page describing the error
    $ }8 f0 T0 k" L; d. k/ [
  542. ; or function causing the error in detail.
    6 k/ j. R) N4 E/ A
  543. ; You can download a copy of the PHP manual from http://php.net/docs: }  l3 I. U5 h2 Q% K
  544. ; and change docref_root to the base URL of your local copy including the
    ' ^! o, b' q5 |( t( O: E- i; \
  545. ; leading '/'. You must also specify the file extension being used including. @  D* d2 e% Z4 ?4 W  i
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    # t5 ?, W" M% d# i4 e8 q
  547. ; case no links to documentation are generated." `7 F8 x* O, W: C
  548. ; Note: Never use this feature for production boxes.' Z4 o! f5 a' N# @0 j) Q
  549. ; http://php.net/docref-root- s$ |0 L+ d% R- P( q' G
  550. ; Examples! H. g: s. x8 _! {4 \
  551. ;docref_root = "/phpmanual/"
    3 P0 [0 H8 R6 C0 Q9 Y3 U  a
  552. 2 b& {7 ?4 }; S% |8 H; J+ z' R/ t/ q
  553. ; http://php.net/docref-ext# w+ `9 e6 D( x  Q0 r  L0 U: h
  554. ;docref_ext = .html. e3 h' i: a+ t$ K! |+ `4 I) D
  555. 1 i) Q* u% M; X  [* r. r5 X) q# P
  556. ; String to output before an error message. PHP's default behavior is to leave$ F3 q) V# u* B' k) B  R
  557. ; this setting blank.
    5 l$ v$ t2 G/ I
  558. ; http://php.net/error-prepend-string6 @9 w! U# }9 }, n7 f1 k
  559. ; Example:. }! r8 M) s+ |9 ]2 r* S
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    ! z0 j8 }  k& ^7 ]& U' p) a: @
  561. 5 z9 c0 h+ [9 J5 ^" H& P% U1 r& y
  562. ; String to output after an error message. PHP's default behavior is to leave
    ' t! f2 v$ L( z( E$ _
  563. ; this setting blank.5 k/ V+ c) g8 C6 N0 u- F; D6 o
  564. ; http://php.net/error-append-string1 V: O1 o/ N& ?/ T" e! _6 F
  565. ; Example:* N, W4 e9 y) Z6 B5 s4 u+ D. W6 F
  566. ;error_append_string = "</span>"
    ; N( n' e- S/ h+ j
  567. % v" V5 W3 U$ t( a4 n6 j9 b6 t
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    , [3 s6 N% n( D  W" K
  569. ; empty.+ I1 p- I% {, G# s2 e* W
  570. ; http://php.net/error-log# f$ O3 O2 ^$ b- Q; I
  571. ; Example:
    " @! ]* c5 ?2 R7 n' U  H- O* E
  572. ;error_log = php_errors.log3 s9 k) A* j8 u: f1 L
  573. ; Log errors to syslog (Event Log on Windows).. u& q/ b$ Z. q/ M$ k4 i
  574. ;error_log = syslog
    ) P3 J) w* n0 s
  575. ' z2 A9 k% Y  L) v& w* x  S
  576. ;windows.show_crt_warning
    ( \# B- s" ?+ ?
  577. ; Default value: 0* ~- B" p. e- R' Q! A8 _
  578. ; Development value: 0
    8 L  z4 D/ [: y: f( {# z4 {$ K. H
  579. ; Production value: 02 V) _7 d2 Z# k8 `+ v; o
  580. 0 l- Y9 n' e$ I# m
  581. ;;;;;;;;;;;;;;;;;9 j+ @6 a- N4 N0 w
  582. ; Data Handling ;
    ) E) a( W6 J: Z1 t
  583. ;;;;;;;;;;;;;;;;;
    . p- p0 k1 G* a7 a6 X, O

  584. ' a$ i0 ]2 D' u( O5 x. \
  585. ; The separator used in PHP generated URLs to separate arguments.7 y- H' y# W* H
  586. ; PHP's default setting is "&".
    ' {6 _0 f% O$ p) k+ C2 {
  587. ; http://php.net/arg-separator.output
    - z* i; u6 g6 \  c3 R9 n/ i4 ~
  588. ; Example:7 E6 b) o2 z8 C- Q2 I, x" E+ p
  589. ;arg_separator.output = "&amp;"
    " o1 e5 s# y5 W  O! M4 _8 K
  590. 0 L" G; n9 x/ t* c
  591. ; List of separator(s) used by PHP to parse input URLs into variables.1 I5 |# R" D% X* j- C% O
  592. ; PHP's default setting is "&".2 o- ^9 H# }: _5 x
  593. ; NOTE: Every character in this directive is considered as separator!
    ) G8 M( k5 S# C# W7 W
  594. ; http://php.net/arg-separator.input
    9 D  [- r( W% r
  595. ; Example:
    * I5 a" R. v& F8 B/ e7 D2 v
  596. ;arg_separator.input = ";&"
    0 b+ X3 v- _$ j3 T  X, O# d5 t

  597. % x" X7 o4 |# P
  598. ; This directive determines which super global arrays are registered when PHP7 ]% ?  R/ x! g  \- t+ A, K
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super: _) ?- ^' r7 F1 C, j
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    5 N8 J5 x" R3 o; Y- N) ^
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    , g8 |' ~7 ]% q8 ?) k1 y( v
  602. ; used as the others, ENV is not recommended on productions servers. You
      ^, {  s+ C3 }: J' z
  603. ; can still get access to the environment variables through getenv() should you
    3 j, @8 C& E3 H
  604. ; need to.
    ( T: t: s) \* \' w, Z
  605. ; Default Value: "EGPCS"4 R" T2 c4 Y! R1 X) T0 H/ k, Y* T- G
  606. ; Development Value: "GPCS"+ C- E5 D0 a# M* g. K1 @" X9 z) ?
  607. ; Production Value: "GPCS";. ^. W  F- W( Z; H: F# T$ {
  608. ; http://php.net/variables-order
    2 ^8 s& a& i6 o( q  r) C# E$ v
  609. variables_order = "GPCS"
    ; t# C2 i8 H6 E

  610. ; p8 M; s4 x1 l- Y) }" O) x/ O1 ]
  611. ; This directive determines which super global data (G,P & C) should be
    2 A& F; ]" n) E+ a8 J
  612. ; registered into the super global array REQUEST. If so, it also determines
    ' R* O" ~* h) H$ p8 V4 @; q
  613. ; the order in which that data is registered. The values for this directive
      }- d" l# u8 d% E2 c9 O) n! _
  614. ; are specified in the same manner as the variables_order directive,
    $ |9 {( V! s% I& A9 C
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set1 Z  T* _# P% q, H( S7 A7 j- h9 \  z
  616. ; in the variables_order directive. It does not mean it will leave the super
    " f/ c8 _* t" q4 M
  617. ; globals array REQUEST empty.
      v' n3 X1 U6 s
  618. ; Default Value: None& |; d" @) r- o8 J: }
  619. ; Development Value: "GP"
    8 \8 l* b# w. I0 l
  620. ; Production Value: "GP"5 K8 H* e- ]8 X& m5 P" r6 E1 z: Z
  621. ; http://php.net/request-order  P9 q, C  p: b1 e
  622. request_order = "GP"6 O0 I9 K9 ~, e
  623. & q( E5 s. u% p# ^% e
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    / y& [  u9 H0 n( u. R
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script) Y& A! p- g$ m2 e* T# t- n
  626. ; is invoked. $argc contains an integer representing the number of arguments1 y  O2 c+ X# i2 ]
  627. ; that were passed when the script was invoked. These arrays are extremely8 l$ f/ d5 l8 \  @7 O
  628. ; useful when running scripts from the command line. When this directive is* l8 X; T6 S: O& P; a5 v
  629. ; enabled, registering these variables consumes CPU cycles and memory each time( N1 Y' o( d( C( R/ m* w% P4 c9 n2 n
  630. ; a script is executed. For performance reasons, this feature should be disabled
    * ^9 N3 B! L* E: \
  631. ; on production servers.
    ) k0 m$ A1 c8 ~# s' q- ^4 c5 T5 c
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    % ?: t4 e8 u8 F: D1 ^
  633. ; Default Value: On9 P- f0 U( O+ Z0 e3 |
  634. ; Development Value: Off
    ; v' Q# _; R' `3 \. W
  635. ; Production Value: Off* \5 ]2 H9 a+ ?+ y9 F* B/ ]
  636. ; http://php.net/register-argc-argv& H& z( ]) m8 y4 w
  637. register_argc_argv = Off
    3 Z+ Y% U' ]2 X: d0 M5 ~
  638. - R& M1 ^, ?5 C+ E9 W/ A
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    5 {; u* `/ T9 e& M7 H% g$ P: @
  640. ; first used (Just In Time) instead of when the script starts. If these
    & n* `) n9 n* B7 _; V/ s
  641. ; variables are not used within a script, having this directive on will result5 w" o0 I  F' A. _
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    $ t/ C1 _: A$ E+ N; O* A! B3 P0 ?
  643. ; for this directive to have any affect.
    ( s$ A4 ^$ c' [4 p: E
  644. ; http://php.net/auto-globals-jit1 z. @7 n5 N( j
  645. auto_globals_jit = On
    3 S" [. \2 Y9 q# J9 a5 {6 u. n6 `

  646. : w) ?% h/ ?  ?& @) D
  647. ; Whether PHP will read the POST data.3 V. `0 D$ i. w
  648. ; This option is enabled by default.
    2 t: s  I9 h5 ~, Q! O
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    6 C4 G5 C+ C& ?# t0 D
  650. ; and $_FILES to always be empty; the only way you will be able to read the, x8 l( d: D0 J5 t7 L8 d$ ^  t
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    6 R2 C) J- S+ A2 z
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.! A7 @2 D( O  S3 Q& _
  653. ; http://php.net/enable-post-data-reading% T2 R+ k% a* x) a' S3 O
  654. ;enable_post_data_reading = Off7 Y: ^# U; ^1 e0 R
  655. 0 |) U& n+ |1 f
  656. ; Maximum size of POST data that PHP will accept.
    ( e: ~0 Y, K5 E0 ]
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading6 B9 c" |7 i% _7 V+ N7 U
  658. ; is disabled through enable_post_data_reading.% E/ N$ ?1 |. U4 A) z8 a0 j
  659. ; http://php.net/post-max-size
      `1 _/ L$ y/ X7 N% Y$ T, x
  660. post_max_size = 50M( U$ o- y! y' h2 t% f
  661. 7 A, f  u( I) c5 Z5 @, X2 C
  662. ; Automatically add files before PHP document.
    * y& P% W: b. L
  663. ; http://php.net/auto-prepend-file5 t: H7 I5 j+ E5 \
  664. auto_prepend_file =, M  y8 w' G. r* e. o: n7 _

  665. & y/ B  D* m# P; Q. T0 b
  666. ; Automatically add files after PHP document.
    2 S9 _  A5 i8 [8 m& g
  667. ; http://php.net/auto-append-file
    : ~2 P2 ^, _$ k
  668. auto_append_file =# b" W6 E2 G" E$ Y) |
  669. ) X8 G6 Q% J) a% S8 P/ w5 ~
  670. ; By default, PHP will output a media type using the Content-Type header. To. z: H5 h$ I) s% |/ |
  671. ; disable this, simply set it to be empty.
    - X! u3 O  T+ d# `0 Z
  672. ;$ ~6 b1 U# i  l0 k3 c
  673. ; PHP's built-in default media type is set to text/html.
    5 V( R* j' ~- \9 `
  674. ; http://php.net/default-mimetype
    ' Z% @, I) v8 K
  675. default_mimetype = "text/html"
    + M& S# q: h7 [2 x7 Y, V

  676. 2 ?& _8 o3 X. {- B9 [5 a
  677. ; PHP's default character set is set to UTF-8.  T, U' ?! V+ F/ B+ ~. ]% B7 ?
  678. ; http://php.net/default-charset
    # P2 ?! R" S( u& R6 X
  679. default_charset = "UTF-8"9 t; ?. E' C8 n8 J' G, [
  680. ! B: t: Z5 c# l7 ^2 E8 O- p
  681. ; PHP internal character encoding is set to empty.$ F4 \( b2 @% m' W7 I" Z  O
  682. ; If empty, default_charset is used.0 l, D9 ?9 a. F
  683. ; http://php.net/internal-encoding) V; g; r. Q5 _4 \. e3 X- h
  684. ;internal_encoding =- A6 L& v4 p; P6 X! D

  685. 5 C; Z* S+ J% g$ _8 c9 T
  686. ; PHP input character encoding is set to empty.+ D3 r# n2 b" I4 L* G3 {
  687. ; If empty, default_charset is used.
    ( ]9 p( |6 j9 L8 r6 `) q# W' x
  688. ; http://php.net/input-encoding4 q5 v# _& G% m
  689. ;input_encoding =8 n" Z; `" _( C6 k

  690. 4 V* A1 [* T; }
  691. ; PHP output character encoding is set to empty.
    ' b3 s+ D9 I. n) F
  692. ; If empty, default_charset is used.
    9 N2 E3 F7 d/ U7 d2 j: `
  693. ; See also output_buffer.1 @5 l3 {: M8 D( e) d  I7 O$ N5 W; Y
  694. ; http://php.net/output-encoding4 z. S+ G. Q$ f1 ~  C
  695. ;output_encoding =
    ) c7 z& t3 U" j# W' f0 Z* k: m9 `, q5 t

  696. 8 ^4 d+ o1 h2 F. q5 J
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ) a4 P% N, }) X8 `% J7 C' }, {, B( Q
  698. ; to disable this feature and it will be removed in a future version.
    1 {; Q9 k  G7 R! x8 v
  699. ; If post reading is disabled through enable_post_data_reading,
    ' C/ D* }$ P! W" H4 ?
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    7 O7 V) k8 l* R6 J
  701. ; http://php.net/always-populate-raw-post-data7 N. ~  p9 ?+ D& x6 y; S1 f
  702. ;always_populate_raw_post_data = -1
    # t$ N) Y' G! H1 S& o4 l
  703. $ f8 s1 ^# H+ x- G5 L# ]) J
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;8 N3 a. i2 m; X( T
  705. ; Paths and Directories ;
    ' b% R; k4 x  B9 G& E
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 @/ ?' T, w# w) @; E

  707.   [' j" O6 a) L' z0 i8 d
  708. ; UNIX: "/path1:/path2"8 O/ d6 w3 y* o8 m- P; U& D/ s3 t- k
  709. ;include_path = ".:/php/includes"
    ; Z" J7 _, A7 F! Y* V
  710. ;5 m0 Q/ E1 S5 ]4 s  P8 P
  711. ; Windows: "\path1;\path2"
    - f6 z9 ]' {; x$ {4 \  J  v
  712. ;include_path = ".;c:\php\includes". {+ C; G3 L* ]
  713. ;
    , U& d1 u! K% d3 G# H
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
      i0 U' `, H* o" w( V/ ~
  715. ; http://php.net/include-path9 i, Q, C, G& W" n
  716. 2 Z- @( t; i! S$ H: B0 F+ y0 d9 @
  717. ; The root of the PHP pages, used only if nonempty.
    # b  {6 \$ [% V2 Z% |# |
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    8 s" T7 _8 v: w& A
  719. ; if you are running php as a CGI under any web server (other than IIS). p1 i; G! R  p6 B
  720. ; see documentation for security issues.  The alternate is to use the4 ?& |2 ]2 J1 y
  721. ; cgi.force_redirect configuration below
    ! _: v. f8 s/ f8 ~5 K) z" M! W# ~
  722. ; http://php.net/doc-root0 Z; d" i. m) k: z: _  i% c% d' C
  723. doc_root =
    3 o2 W* z6 G/ e( c; K

  724. . H& n. |9 \" A2 D% ^
  725. ; The directory under which PHP opens the script using /~username used only6 G5 I0 b* Y; t: H- X5 H/ |
  726. ; if nonempty.
    5 k. E0 i7 x6 _& r+ e
  727. ; http://php.net/user-dir
    * H8 f* A4 @# R- E) S# O
  728. user_dir =8 b; s( ~- C6 ?- Y

  729. & R# H" i+ Z( m1 w" |; T
  730. ; Directory in which the loadable extensions (modules) reside.
    9 U+ Y+ Q1 i" q- B
  731. ; http://php.net/extension-dir3 D* J' c4 H: ~. a4 c$ r: S9 U
  732. ; extension_dir = "./"
    7 x9 r7 y1 \) w. \; @7 E9 [) s! u
  733. ; On windows:; f. S' Q+ V( c; }* y0 ^
  734. ; extension_dir = "ext"
    & d7 I9 S( T$ Q* z9 g0 E

  735. / F" m4 |- S9 O9 L+ K5 m
  736. ; Directory where the temporary files should be placed.2 u+ y2 D4 _* E. y" L/ S4 o6 N
  737. ; Defaults to the system default (see sys_get_temp_dir)
    & ~: n, J3 K4 T+ R$ R- A- n# p
  738. ; sys_temp_dir = "/tmp"
    7 J; C+ |5 g) q. E. t, D" R- K: Z8 _  ?
  739. 9 f7 M1 C4 H& \" m6 T
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    , U) H8 j7 C1 R+ r, D% Z
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    * f0 ?/ [' C4 P
  742. ; disabled on them.
    2 v9 q9 ?% t5 e8 @' k% m
  743. ; http://php.net/enable-dl4 B8 Q9 s7 r% h+ T% E' L
  744. enable_dl = Off
    8 y- m, f, k3 G' A9 C
  745. 6 g. E3 t  L  G: c; k3 V
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    0 f5 K7 D4 z* c1 \+ G
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    4 b4 Z6 T" _2 M6 N+ I
  748. ; turn it off here AT YOUR OWN RISK
    & n4 r4 K4 ?) r" y
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    7 L/ A! u  b( v+ {/ G2 m- m3 E8 S
  750. ; http://php.net/cgi.force-redirect) N5 m, l4 i' q5 V, L0 f1 F
  751. ;cgi.force_redirect = 12 a' W& e& `" W$ E; G9 z+ d
  752. 0 ~! _7 G4 }+ J2 S+ s
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with) D3 Q  T+ q. x4 M% u/ B
  754. ; every request. PHP's default behavior is to disable this feature.' m' p7 r" L8 z
  755. ;cgi.nph = 1
    " t+ N- ?/ k. @8 B. l- x! `

  756. ; W2 l5 X9 f+ z7 a1 m7 E+ o
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    4 e1 R8 }; A+ l
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP8 R# w3 h$ a3 J; H$ w* u0 ?% K9 m6 L
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY3 N4 O, W* s5 C2 L( L
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.0 c4 i- `1 f1 f' ?! U
  761. ; http://php.net/cgi.redirect-status-env
    ' b# D8 g6 B9 `; P. q: X  [' L
  762. ;cgi.redirect_status_env =; O6 g' Z0 N& H: |( K6 u

  763. - e( G; F8 e" E6 o( r. j) `; `9 Y
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    0 d- h8 T; ]' L: @- C
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    - z9 r, t- @# W: v7 E
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting: z) |8 N4 Z4 V3 w5 e4 W2 U/ g
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting4 z. i, b. r! v. h
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    , B2 X# _$ m. W6 ?7 a
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    4 d  f$ E% J$ m# p8 p
  770. ; http://php.net/cgi.fix-pathinfo
    ' N/ R, B% G2 J* t3 n- s1 M5 h1 e4 r; o
  771. cgi.fix_pathinfo=1
    7 i. h. A( I3 m* x5 X7 K" R+ {
  772. * B* H1 M: z7 ?( y" k" E
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    $ V0 j1 B4 Z( @2 n# u
  774. ; of the web tree and people will not be able to circumvent .htaccess security., }+ R" T# g& S! u
  775. ; http://php.net/cgi.dicard-path
    . p! @/ r3 y6 G4 Q: X2 X
  776. ;cgi.discard_path=15 t3 H0 v9 {; k5 B2 v" O% Z
  777. 7 q$ ]8 ~  k5 z8 p$ H2 ?
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    * l  D" U* J: i4 X9 Q
  779. ; security tokens of the calling client.  This allows IIS to define the
    6 Y3 w; m! R. u$ g
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    $ P, `; n% f: k' z
  781. ; does not currently support this feature (03/17/2002)% w# d' T, H( w$ L4 e! M
  782. ; Set to 1 if running under IIS.  Default is zero.; K( p; b4 |5 M/ h$ u" [
  783. ; http://php.net/fastcgi.impersonate
    " b8 y4 X3 K5 G0 H7 p+ F
  784. ;fastcgi.impersonate = 1
    . t) V5 O" m3 u& G0 m! q% L

  785. : r6 C$ F# W1 O$ ~. I( S# }
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    6 F- H/ \4 z0 z7 [9 ]
  787. ; this feature.4 W8 U+ j( l& L; n. x/ P
  788. ;fastcgi.logging = 0! r( B7 \/ r$ y7 F7 F

  789. : O5 K  P% ~9 k6 _( p8 i
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    + \3 O7 Y6 V+ e) {2 L% V0 B; V1 E/ u% S
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that( E, k' A) z! ^. Y# t# S  Q
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    . d! e9 F0 e9 R
  793. ; RFC2616 compliant header.
    # B0 \+ O# r( A
  794. ; Default is zero.: h9 i- a2 _3 a3 K* k& l) S. z
  795. ; http://php.net/cgi.rfc2616-headers+ s' T9 P. f# x9 F
  796. ;cgi.rfc2616_headers = 0: G0 c7 q% t1 a. ^1 Z7 Y

  797. , [+ c& V0 g) n  h5 T" D7 s* J
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    2 `/ X, d) g4 Y) x9 I
  799. ; (shebang) at the top of the running script. This line might be needed if the5 p6 F# h$ K3 W1 o4 Q7 I5 T. g
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI+ f, l2 P# s/ m2 A8 B5 ]- w
  801. ; mode skips this line and ignores its content if this directive is turned on.- R- _' \+ L3 B% s- ]4 c) U
  802. ; http://php.net/cgi.check-shebang-line' r; @) q! i" G$ N6 G5 z
  803. ;cgi.check_shebang_line=1
    ( i8 G# D/ r5 |) G

  804. / `. }8 R0 H* O0 a
  805. ;;;;;;;;;;;;;;;;3 a+ w, h/ |+ p% w) V# N- x2 `
  806. ; File Uploads ;
    7 e7 x  A: y- {; a8 ~$ [9 m5 Q" x
  807. ;;;;;;;;;;;;;;;;
    $ [) T; A% G# L% U$ v
  808. ) s, v/ B/ D0 Q
  809. ; Whether to allow HTTP file uploads., K4 t  J9 h5 D2 S* e3 \! h1 {
  810. ; http://php.net/file-uploads+ H+ A5 H! P$ P" `2 @* _3 ?( q! F0 d
  811. file_uploads = On5 a5 k; V& ?" I4 z  e) e( z
  812. & P6 R+ w5 V) Q9 N
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ' h, _3 j" C5 \" ]1 a
  814. ; specified).* n9 U" I  a1 Z6 p" X
  815. ; http://php.net/upload-tmp-dir
    * i5 j4 I( V* R. z* g3 i
  816. ;upload_tmp_dir =+ Y9 ?0 X6 ~4 S$ U
  817. 6 W: V# p! |6 b' I' p: s
  818. ; Maximum allowed size for uploaded files.
      q7 h: W9 w& U5 z
  819. ; http://php.net/upload-max-filesize# R6 C% J, v% Z+ ?& Y. C
  820. upload_max_filesize = 50M! D0 i% N% |7 q! S" N, F  ?; F  S
  821. 5 `' {) M2 e0 {: Z$ _
  822. ; Maximum number of files that can be uploaded via a single request
    ( P! a  @2 ~  r% a, Z2 V
  823. max_file_uploads = 20
    : l" a3 f- ^# o2 q
  824. 7 K/ Y* y8 _7 B- y9 k9 x
  825. ;;;;;;;;;;;;;;;;;;
    $ X% e) P* L9 N$ h6 ?2 z7 ]
  826. ; Fopen wrappers ;3 q7 v, _' f( S  D$ [/ H* T  |
  827. ;;;;;;;;;;;;;;;;;;
    2 T2 E$ J$ I. m) \9 U) |/ t* @
  828. 9 k4 E1 ~  c. S3 \% y7 F9 V
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.; \% N( k0 u' v! |! |7 o2 c9 y
  830. ; http://php.net/allow-url-fopen6 t1 k, ?" L6 E7 x
  831. allow_url_fopen = On5 c3 a8 _0 L4 e4 E8 |% b, r

  832. & r' z- y; r: q: S! U
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files., u, G: q, E; M5 Q
  834. ; http://php.net/allow-url-include
    9 z- Q( D3 h2 B+ N8 I  _5 R
  835. allow_url_include = Off
    3 ]) Y" w2 t3 P1 C
  836. % _  S; t4 k3 E' ~& a% {6 `
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    . s$ m) c% D' d: n) `# x
  838. ; for this is empty.
    . V+ N. H/ V6 s5 L' \- Z/ e2 {( o
  839. ; http://php.net/from* i. y' I9 p- U7 U6 k) q9 K
  840. ;from="john@doe.com"
    # t- O  Y# Z  ~/ m

  841. * V, q+ V: h! q
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    - C# `8 i; g" F: C0 t  s, A6 f
  843. ; http://php.net/user-agent
    3 D, s; A7 B7 B( y7 A4 f
  844. ;user_agent="PHP"# A7 O/ n8 Z, Q, [( q, Q8 V
  845. . u8 {) ], R) L5 `- @2 x* b
  846. ; Default timeout for socket based streams (seconds)
    $ O: i: W; t1 |; n) u: d
  847. ; http://php.net/default-socket-timeout- K3 e# n) l) L  ~2 l4 a- n
  848. default_socket_timeout = 60
    ' l0 D3 d* _8 c; i) u8 e3 x- O, [

  849. 9 v% ]9 A: U, E2 `4 M8 V- w2 A0 m
  850. ; If your scripts have to deal with files from Macintosh systems,
    2 k1 h; Q. ?% J8 ]& F3 W( {* X7 U
  851. ; or you are running on a Mac and need to deal with files from
    # z: |/ V( w6 r( O4 N9 H( T
  852. ; unix or win32 systems, setting this flag will cause PHP to$ l) l' V, O5 b4 I. n: @! M% h
  853. ; automatically detect the EOL character in those files so that
    4 |0 }/ G0 a7 K6 M
  854. ; fgets() and file() will work regardless of the source of the file.% L; |; Z6 O7 X: S( V+ ^
  855. ; http://php.net/auto-detect-line-endings
    # m7 ]! ^3 C: a! Z% u
  856. ;auto_detect_line_endings = Off
    $ p; r6 P1 }0 D5 U; ~1 u

  857. ! T) j, J4 y# |& p
  858. ;;;;;;;;;;;;;;;;;;;;;;
    1 }0 h3 c+ g' M  ~) ^
  859. ; Dynamic Extensions ;
    * Q2 `5 {, `2 ^4 X3 |. X
  860. ;;;;;;;;;;;;;;;;;;;;;;
    0 l- B- c: F. n0 l, T+ I- C; j- Y

  861. 2 y7 v. F+ {; }) ~+ J7 g! C% T
  862. ; If you wish to have an extension loaded automatically, use the following9 |' S5 w8 ^+ w+ x  S% x
  863. ; syntax:" R( O4 M1 c, t
  864. ;, J7 S3 [/ {6 J5 t
  865. ;   extension=modulename.extension
    4 u4 Q( r" B( N# ?+ _
  866. ;0 P( Q1 u3 z7 `
  867. ; For example, on Windows:
    : u. c  ~' J! _5 ]- E, s0 E
  868. ;7 a! H; E9 Q4 {. E! ]
  869. ;   extension=msql.dll$ R9 E1 V4 n; H0 ]4 E2 H4 T2 e8 R
  870. ;0 ^7 q! d, S  N7 i
  871. ; ... or under UNIX:4 `- k: J0 c' w2 ~) o% t% w
  872. ;
    . _3 Z7 I' G( S4 O4 I$ ~
  873. ;   extension=msql.so
    # A) ~! g. @7 B4 U/ P1 J0 L! L2 y
  874. ;
    " `9 l, |" F+ f* S. k1 R+ X
  875. ; ... or with a path:4 |- i8 K8 R7 e+ q+ N$ |( Z
  876. ;
    + @+ J: H7 \$ Q# p- e; h5 G! y. b
  877. ;   extension=/path/to/extension/msql.so4 S$ j  _9 S7 ]1 j
  878. ;
    + u# K' H9 `7 T$ b& R
  879. ; If you only provide the name of the extension, PHP will look for it in its' w+ e% P: V: }9 E2 u6 Z
  880. ; default extension directory., `% K, p0 f1 a& H$ }; N$ |# Q
  881. ;: @2 F8 a4 L* ?" y$ k, Q
  882. ; Windows Extensions
    % ]+ X& O  T. I3 W3 v: p
  883. ; Note that ODBC support is built in, so no dll is needed for it.* Y$ i1 V' y. d$ h. A' l0 n4 U/ `+ i
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    - u  i* F3 N0 ~
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
      M! p$ i: N& L3 |
  886. ; Be sure to appropriately set the extension_dir directive.+ x! V' F/ Y2 x1 [9 `' f
  887. ;
    ( i' R( p( m* s# [4 [
  888. ;extension=php_bz2.dll) J3 C$ m% ?, e+ @' S1 G
  889. ;extension=php_curl.dll$ v" p& |' X/ l5 e, ^2 d: V0 w
  890. ;extension=php_fileinfo.dll
    % O6 E* Z. Y3 t9 H* Z% Y: K
  891. ;extension=php_gd2.dll
    ; t% G3 D" I" k2 `9 w: ^
  892. ;extension=php_gettext.dll
    0 k9 ^' z6 F8 W/ d
  893. ;extension=php_gmp.dll
    3 }9 R: s' a# _1 d8 ~1 `
  894. ;extension=php_intl.dll1 m# t, N- X$ ^7 Q
  895. ;extension=php_imap.dll3 R# A. \* r2 K0 R7 [
  896. ;extension=php_interbase.dll
    + H: q4 k% M! o& K) Z, B2 F
  897. ;extension=php_ldap.dll
    8 a$ p3 s; n: D8 h# @" @* U
  898. ;extension=php_mbstring.dll
    2 w4 d7 n; [1 }& l1 u
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    # P& Q, F- C4 Y1 i% ?0 r
  900. ;extension=php_mysql.dll+ I' M; b' ~; Q8 p
  901. ;extension=php_mysqli.dll! M! U+ U! X7 w! L
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    & g3 B3 t8 c" g" j5 A- A
  903. ;extension=php_openssl.dll
    5 q- j  F  k( z" |
  904. ;extension=php_pdo_firebird.dll
    3 d; {5 e+ Z! }$ f+ M
  905. ;extension=php_pdo_mysql.dll
    % K+ V8 h9 u& m$ E: ]5 C
  906. ;extension=php_pdo_oci.dll
    - W) @! e4 D" z4 I
  907. ;extension=php_pdo_odbc.dll  v" S: Q2 Z6 |! R  ?. m2 R
  908. ;extension=php_pdo_pgsql.dll- x- [3 m' f) C+ ]
  909. ;extension=php_pdo_sqlite.dll) c" g  U6 u# t  m- a2 Q
  910. ;extension=php_pgsql.dll+ x, t- ?# |9 h& \5 ]
  911. ;extension=php_shmop.dll
    4 T: L( n! A/ d) F

  912.   j; U2 S5 y/ U
  913. ; The MIBS data available in the PHP distribution must be installed.
    " I8 ^% A4 s4 E
  914. ; See http://www.php.net/manual/en/snmp.installation.php / \7 s' J3 S3 \
  915. ;extension=php_snmp.dll# Z9 q; n% T3 |
  916. " L1 o, j% D; w# Q4 t( \/ [8 V
  917. ;extension=php_soap.dll
    " R8 a' P4 ~. X& X! ?
  918. ;extension=php_sockets.dll; b" K: a( Y$ ?" k7 R1 D
  919. ;extension=php_sqlite3.dll% y. y+ [' x# V& I
  920. ;extension=php_sybase_ct.dll
      [. O6 `8 A# {
  921. ;extension=php_tidy.dll6 b) H7 Z5 ~5 R' W& c
  922. ;extension=php_xmlrpc.dll# X+ H1 V1 C" |% k% g' H& G
  923. ;extension=php_xsl.dll
    / x2 _6 z' K$ A) V( p) _
  924. ) p% s* n2 F: [2 V# k' k9 A; n
  925. ;;;;;;;;;;;;;;;;;;;
    & K- L0 D; N" t$ R( q
  926. ; Module Settings ;+ R1 g8 V/ j- s, `( ~6 M
  927. ;;;;;;;;;;;;;;;;;;;
    7 h6 r, t4 M% j3 O+ Q% {
  928. 2 s. V3 J; {( Q* E8 C8 f. i
  929. [CLI Server]
    - l( ^2 {7 ^4 `  @- \0 {- U& Q
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.0 T* m, ?# u. j; S/ U
  931. cli_server.color = On" W$ l3 R" K0 p$ M5 e8 W, m" G3 [+ z
  932. 7 `; s% `: A  M# \/ ?2 [5 R
  933. [Date]" i4 o) Q' w5 }/ D/ J; x
  934. ; Defines the default timezone used by the date functions
    " \: r; L2 S7 v) W
  935. ; http://php.net/date.timezone
    7 l8 S2 ^7 d; t7 d5 G
  936. date.timezone = PRC: k5 @+ E) `- Y0 n! H; Y+ i
  937. 2 e7 J9 G) N9 c
  938. ; http://php.net/date.default-latitude
    * V7 M8 {2 q; v" E
  939. ;date.default_latitude = 31.7667* e  I0 Y$ l3 I" \$ \

  940. 9 f+ W0 g. x9 r6 h* a: \% f
  941. ; http://php.net/date.default-longitude
    * C4 i. M. }$ d; A4 {
  942. ;date.default_longitude = 35.2333
    1 M' g5 i. d* x
  943. ; v1 Z- @; O; I, V3 q- e% W0 L
  944. ; http://php.net/date.sunrise-zenith
    ; X- L' X4 {6 C; G# E& v( o
  945. ;date.sunrise_zenith = 90.583333( {: b- h4 V4 G+ p) z/ F" J

  946. ; t# {8 C- k% R; r
  947. ; http://php.net/date.sunset-zenith
    4 k2 u- I2 ^4 r
  948. ;date.sunset_zenith = 90.583333
      \" J" G# G1 G8 K- O9 ^
  949. ( _% Y) G& B' y, n8 v
  950. [filter]# F4 M" m2 _) i& X2 s
  951. ; http://php.net/filter.default2 x& z) \% T9 s7 Q
  952. ;filter.default = unsafe_raw
    0 a& ^8 a% @: ?# x6 i; E
  953. " G- h+ W+ }8 ]) i. H: A
  954. ; http://php.net/filter.default-flags# {. i8 d2 n6 {* {
  955. ;filter.default_flags =7 ?, j# i( m/ |5 W# Z( B
  956. 1 I! k) c9 ]$ e- h$ O) n: J' |- z
  957. [iconv]
    2 T6 E; S/ {/ F& E. Z2 e& x
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.( ]9 k  l, }6 K
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    / A9 J( C# `, ~+ F7 c
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    " f9 A8 u3 X0 k
  961. ;iconv.input_encoding =: k/ d& x2 K% D3 G8 J
  962. 4 T6 I! p" _7 b$ @8 Y) G' p
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ' y* N/ `6 N' O- x
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    2 |: A, E5 E( k2 n/ u
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    - @2 f- I! F( j
  966. ;iconv.internal_encoding =
    . {' Y7 e, J8 l+ b

  967.   {/ |/ h4 d5 V) L+ U4 V
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    & C. g. S$ [. R3 I
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.6 C; [. j* @5 e3 h' b
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    . p* ?' u% p6 _7 l
  971. ; To use an output encoding conversion, iconv's output handler must be set
    ' j7 F9 h2 u: g& a
  972. ; otherwise output encoding conversion cannot be performed.& G1 s! x& ]6 b- C6 z
  973. ;iconv.output_encoding =$ |. b" d% T, R& Q
  974. & {4 @6 H9 N5 F
  975. [intl]
    ) ~+ n8 g+ R; w" [7 t; p* W
  976. ;intl.default_locale =
    : k& p1 N3 W% {% J7 `  L5 s  N
  977. ; This directive allows you to produce PHP errors when some error5 B+ C  H  Y9 r' y9 |0 G' v. d
  978. ; happens within intl functions. The value is the level of the error produced.
    7 ?) h% S. s  g; G$ |
  979. ; Default is 0, which does not produce any errors.
    9 q  t- ]1 }4 M# d+ D
  980. ;intl.error_level = E_WARNING" W6 ~. n! {  `6 A* j' A
  981. ;intl.use_exceptions = 0* p# u: j  c2 L) D( ?/ _
  982.   D9 F0 S9 u0 t- o; r5 V
  983. [sqlite3]
    3 V6 S/ j. p* y' h3 |0 D7 c" K' L) `
  984. ;sqlite3.extension_dir =
    . M  L2 D1 E( x6 h& |% V0 R; x

  985. 7 O5 u( k' w7 z% L3 N
  986. [Pcre]
    $ Y4 ?6 x6 s( Y1 j
  987. ;PCRE library backtracking limit.# l7 w& H  ], k, }. X
  988. ; http://php.net/pcre.backtrack-limit) W2 r" @% ]. I2 B3 u$ n  C
  989. ;pcre.backtrack_limit=100000
    - `# n& P+ O- i6 f; _
  990. - j/ B: ~+ O( p
  991. ;PCRE library recursion limit.1 g& q: o! I, ^; U8 |; D+ @
  992. ;Please note that if you set this value to a high number you may consume all( g# V1 A0 t/ R# f
  993. ;the available process stack and eventually crash PHP (due to reaching the
    : e/ z8 \* m6 j1 j7 a, W* H
  994. ;stack size limit imposed by the Operating System).
    0 k- g0 Q: ~: s' n. g' ?; P
  995. ; http://php.net/pcre.recursion-limit
    - z  }9 C; z  H9 D
  996. ;pcre.recursion_limit=100000
    5 z! _" x% c: E: S3 T$ W
  997. ' }& o) b( W; z2 w- G( ]) [
  998. [Pdo]! I3 b- Q1 j$ S9 `5 ~1 y
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    - n3 u8 c0 d- e# d) F" n
  1000. ; http://php.net/pdo-odbc.connection-pooling, p0 r9 S' V4 Z: M
  1001. ;pdo_odbc.connection_pooling=strict$ h2 l' \1 y8 C0 X8 T* O
  1002. 7 c+ H& i, y* a: l, d$ ^; l
  1003. ;pdo_odbc.db2_instance_name; V5 |- E% d+ j7 B, x8 E" ]: h5 p

  1004. : r- K0 g, y1 @! b8 t
  1005. [Pdo_mysql]
    8 ?# R, J( s2 @+ y" [* T
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache& W% |& C: }' s; h
  1007. ; http://php.net/pdo_mysql.cache_size8 w5 c( G% ^4 |) V# q$ Y, i
  1008. pdo_mysql.cache_size = 2000
    0 G) K6 H% ]6 Z9 W. b# C
  1009. 2 ?: o9 _: E9 _3 W
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 b6 J% q5 |& ~
  1011. ; MySQL defaults.. K- _+ a6 i0 T6 F3 g! @( C
  1012. ; http://php.net/pdo_mysql.default-socket
    * i9 i0 Q# h9 \
  1013. pdo_mysql.default_socket=% i9 y9 f: ^( o3 B  e  ^5 C! p

  1014. ; Z% B. c6 s# w1 ], _4 c5 a7 s& k- t
  1015. [Phar]# Z; p# N' u, u% ]
  1016. ; http://php.net/phar.readonly( t3 V# y/ M! _) c0 L9 ^/ }% |& V
  1017. ;phar.readonly = On2 x# l* u9 i3 y, L
  1018. ! x( I3 x' j8 |
  1019. ; http://php.net/phar.require-hash+ k3 e3 l" c. M! B5 }: V4 @
  1020. ;phar.require_hash = On+ F, I6 G5 b; @

  1021. " l5 l- R" z2 ]" y" k3 f) X/ D$ p
  1022. ;phar.cache_list =
    , R9 z! c. c3 Y' ^; @; m9 @1 g

  1023. 7 f6 T' d( D* H$ G
  1024. [mail function]# k2 Q- ^$ j! ]8 r; k
  1025. ; For Win32 only.
    + o$ o9 t: Q. k. S4 W
  1026. ; http://php.net/smtp
    - v/ t* B2 D2 |. J3 i$ E
  1027. SMTP = localhost
    . M. n0 L0 i! K7 T6 x
  1028. ; http://php.net/smtp-port! g$ Z/ |1 }+ ^+ A7 b
  1029. smtp_port = 25
    5 v# I2 \' j3 I5 m  a1 Z

  1030. / {* }4 N3 r4 Q# p
  1031. ; For Win32 only./ o0 b2 H- K0 U! P/ ?/ m
  1032. ; http://php.net/sendmail-from3 k1 ]9 v7 m8 w) R
  1033. ;sendmail_from = me@example.com
    " ^0 @- V# N) e  _3 x) v( e  j' n2 r
  1034. 1 U1 {2 H2 |' m  A7 }
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ' C, j( t# v# T( B
  1036. ; http://php.net/sendmail-path' N4 s( D" o& _6 z& O) e, k
  1037. sendmail_path = /usr/sbin/sendmail -t -i- f; K6 ]! @( L0 N  V
  1038. & I: w5 Q) @& ]$ k8 K
  1039. ; Force the addition of the specified parameters to be passed as extra parameters0 i+ ^' F: \6 n. ?0 ?" i1 L
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ' C0 G" ]) T" x+ M' u7 x+ M. h4 A
  1041. ; the 5th parameter to mail().8 r& ^. u( R& ~$ X" M  X$ H3 I6 K
  1042. ;mail.force_extra_parameters =, t8 S  N* A% p6 b' Y
  1043. $ v& `% t: I% q$ O- |
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename6 T4 ~; P- q: ?# i: P5 T* h% l
  1045. mail.add_x_header = On( c4 w+ H4 j& a, ~
  1046. ! I7 ^$ R4 y1 i8 Q2 D+ j1 {
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    % L# E2 a, W$ @
  1048. ; the full path of the script, line number, To address and headers.8 M: ^7 I+ q" }$ L. M$ }+ \# c
  1049. ;mail.log =
    " X% m9 g" }# A. T- N& D" g+ r( ]
  1050. ; Log mail to syslog (Event Log on Windows).
    / V/ ^* t# b. O" Z4 U( n& Z
  1051. ;mail.log = syslog
      @5 V1 T2 G4 r4 }! @

  1052. 2 F: |1 F: E, c' q
  1053. [SQL]6 ]2 }% C9 P+ W5 c5 T8 A! n
  1054. ; http://php.net/sql.safe-mode# I* Z/ g7 ]( f! C, @! H& N
  1055. sql.safe_mode = Off
    ! S; `! p8 ?  v: q, k' J
  1056. ! t' d9 v8 E& k  t! w
  1057. [ODBC]) I+ P3 X5 c( S! n6 @( j1 K  }$ {
  1058. ; http://php.net/odbc.default-db7 o# T% }) S, j/ q5 S$ Y
  1059. ;odbc.default_db    =  Not yet implemented7 l4 o* `1 V& P/ s

  1060. 5 ~+ F9 O9 A4 |$ x
  1061. ; http://php.net/odbc.default-user
    ) {: u2 \. K+ T  g* K( Y  d
  1062. ;odbc.default_user  =  Not yet implemented3 e; Z7 k' z4 L

  1063. 9 i6 w  _; \" I  P! Z/ B! N( F
  1064. ; http://php.net/odbc.default-pw
      `, `7 z6 s/ V
  1065. ;odbc.default_pw    =  Not yet implemented! D/ Q9 @0 u+ b4 B7 f% C
  1066. . D  L/ H7 g  ?0 X7 [
  1067. ; Controls the ODBC cursor model.
    - S4 U6 ?3 F% }9 q, b
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ) E  y' M. s4 B$ y8 J/ t
  1069. ;odbc.default_cursortype0 h5 d! R! s( g- t

  1070. ( g# K  D2 M( t$ ~8 M
  1071. ; Allow or prevent persistent links.) o/ U: p: q& Y+ B" R- g0 R  }
  1072. ; http://php.net/odbc.allow-persistent; m0 N6 [% ~6 e8 {9 ^/ t5 w
  1073. odbc.allow_persistent = On
    ( d1 Y; Z% R- {+ u

  1074. 4 V8 y' c$ U: D1 e
  1075. ; Check that a connection is still valid before reuse.
    ) D) r: @4 G6 {9 m; L
  1076. ; http://php.net/odbc.check-persistent* S( m+ U+ f. h' F* O3 T+ E
  1077. odbc.check_persistent = On
    6 J* V5 S* X! f# O
  1078. # A/ u2 M) u8 t/ c1 T
  1079. ; Maximum number of persistent links.  -1 means no limit.
    ! h$ b3 j; R0 o
  1080. ; http://php.net/odbc.max-persistent6 @, i( z6 H+ l/ ^8 q2 o2 _
  1081. odbc.max_persistent = -1! X! |, t- z2 {5 K

  1082. # |: f+ Z8 ^9 B/ Q; \# m7 K2 k
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 Y* e" m) V( C9 Q( ~
  1084. ; http://php.net/odbc.max-links
    . B/ W4 Q4 U: {( F
  1085. odbc.max_links = -16 z' d5 t  M$ P  _

  1086.   F5 {. Z/ F- t- @) T1 I$ ^1 |
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ; l, M, u+ d( p; k; H, R; Z
  1088. ; passthru., M5 |% V5 [9 P% S3 C' c, _; |
  1089. ; http://php.net/odbc.defaultlrl
    5 Z) b+ f+ |* t' ~# w" p
  1090. odbc.defaultlrl = 4096
    , i5 j. n8 H& K0 C5 d. d4 J

  1091. : z: T1 i8 W4 t& I. T2 F9 J% {8 n5 H
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
      ~. d0 L8 Q( t5 _) n+ ?* \9 N
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    1 c7 t3 l% t2 f8 g, _! W, B
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode2 L3 i& I4 f# }& y
  1095. ; http://php.net/odbc.defaultbinmode9 f# h: L5 D2 G7 s3 C( e" `5 A" M
  1096. odbc.defaultbinmode = 1% f% ?7 i9 [. ~# `
  1097. . }  L1 D* l" g1 V4 K
  1098. ;birdstep.max_links = -1: g) U! M% n& k. e6 h
  1099. ( I( A: a, H6 E& L
  1100. [Interbase]1 n" @* _  ^5 l/ N3 B' v
  1101. ; Allow or prevent persistent links.
    ) [, [6 B; }4 e
  1102. ibase.allow_persistent = 1* h$ I( M/ e# C
  1103. 0 J5 z; t" w, G: N" a; e
  1104. ; Maximum number of persistent links.  -1 means no limit.0 r) t/ R) t# c! {, R$ z2 V+ M3 V
  1105. ibase.max_persistent = -1
      @/ r% T  e3 A! z

  1106.   g  _( u5 A5 v0 E5 P* j
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    : g, n) C9 g9 y! C; T& a4 |
  1108. ibase.max_links = -1; h2 f: A& M/ B

  1109. 5 {+ e0 @5 x) T6 E  M8 V/ M
  1110. ; Default database name for ibase_connect().+ b, O* G. c: `0 ?# Q
  1111. ;ibase.default_db =- y8 F% R1 ?4 `

  1112. / a, R! Q3 _* z9 k2 L+ c
  1113. ; Default username for ibase_connect().
    & s/ P# ]% z8 f0 u; }. J; j
  1114. ;ibase.default_user =
    $ V* w2 d2 O4 n  f
  1115. 7 D" x, Y5 ]9 _7 W! Z: v. i8 Y
  1116. ; Default password for ibase_connect().& U( m* T* M9 @9 a0 a
  1117. ;ibase.default_password =
      K- ?- u3 A' z5 E2 o' H9 Y4 X
  1118. 6 {; l: U. I/ w: G3 M. v# w8 J( H
  1119. ; Default charset for ibase_connect()." E$ H; V$ l' k! x
  1120. ;ibase.default_charset =
    # N: Q: S. H4 h# `6 S* g- H
  1121. 4 y( ]2 O+ h3 ]/ S
  1122. ; Default timestamp format.
    * l! f2 V9 p( y) K0 f6 T; q
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    4 v+ m% J* |: ]/ U- ]

  1124. : W# l  Y  C0 }; O( D9 M
  1125. ; Default date format.
    6 N" T* C0 ]& t; O* b/ g, u
  1126. ibase.dateformat = "%Y-%m-%d"
      D2 V; S2 n; x2 |, m7 \
  1127. $ V! A4 h" x7 N. Z8 M
  1128. ; Default time format./ K* l7 B& r' F2 Y2 y0 Y
  1129. ibase.timeformat = "%H:%M:%S"
    7 z: c4 {1 u$ Y' E2 R

  1130. 8 y1 M8 E) Q* t3 j1 u! _
  1131. [MySQL]7 G* J" m& I1 n1 u; G6 W
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements  I2 ^5 ^9 s( n: a, c7 R
  1133. ; http://php.net/mysql.allow_local_infile
    * f( y: o$ e6 @. [- |
  1134. mysql.allow_local_infile = On3 p+ c: e# c* _
  1135. $ \7 Q/ V7 ]* D( A; I6 V+ m
  1136. ; Allow or prevent persistent links.
    6 ?% v7 \, y2 @1 x2 H# E% ~) _2 t
  1137. ; http://php.net/mysql.allow-persistent& v0 d* D* I1 s0 |9 d  [
  1138. mysql.allow_persistent = On
    1 l) \' P& c8 {1 y9 z
  1139. 0 j8 y! w# |- Z  o4 }
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " Y. f2 t! G. s
  1141. ; http://php.net/mysql.cache_size
    + w! a3 |, m0 n& h& A: P
  1142. mysql.cache_size = 2000; j$ _2 t# k: f$ }6 V, L* c

  1143. 0 s- v0 G  _; I$ M
  1144. ; Maximum number of persistent links.  -1 means no limit.5 w5 E) u. N3 K3 x
  1145. ; http://php.net/mysql.max-persistent
    2 M- X3 E+ U2 u: [6 e" k
  1146. mysql.max_persistent = -1
    " l& v! h1 c' E. p# W6 y

  1147. , O2 C* U% e: g/ S; X
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! s. j7 d# h4 y
  1149. ; http://php.net/mysql.max-links$ j2 Q9 Z; N9 ]9 J: V: W
  1150. mysql.max_links = -1- c. M( d# ?. G" ], @

  1151.   S; ]5 Q1 R. R/ {% `1 t
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use, s2 B2 }9 E/ }8 c, M
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
      }) j; ~; z7 P# O" |
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look2 ^. V0 v6 {, ]2 y
  1155. ; at MYSQL_PORT./ J  h7 E2 ^1 u
  1156. ; http://php.net/mysql.default-port
    ( u& K- [5 X+ S1 E1 h3 y
  1157. mysql.default_port =9 P& E& o, {7 D; F

  1158. , u3 \8 E$ y5 p" U
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 b( ]3 s  D+ r; N) c. I" G  o7 ^7 S
  1160. ; MySQL defaults.
    1 R7 n2 Y8 I2 d; d! i
  1161. ; http://php.net/mysql.default-socket  `+ B# _2 S# [! V4 u" G
  1162. mysql.default_socket =* B2 |& g0 `. m  J9 t4 u
  1163. ( I8 f+ b) w2 E) ?4 A/ c
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).6 U. P3 n2 m* ^
  1165. ; http://php.net/mysql.default-host3 Z( \! O7 y) W5 c7 ?0 W
  1166. mysql.default_host =" y" q" Q8 q! ^4 S: a9 ^

  1167. 2 k, E3 n! p' G
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    % |$ Y; V; j' N! S$ F
  1169. ; http://php.net/mysql.default-user
    # g7 K! Z# I: `; H/ g- p
  1170. mysql.default_user =1 M0 |/ `  D; I3 @0 |

  1171.   f# a8 k  |& Z
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).# V8 U7 [" \& W
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    ) u% a3 e" ]- d$ l) V
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ! ~# k, q+ h% Y  K7 T
  1175. ; and reveal this password!  And of course, any users with read access to this/ x7 @  m& J0 R0 z6 [6 ~
  1176. ; file will be able to reveal the password as well.4 Q! c; G( ^/ c/ L# R' k( x. q9 ~
  1177. ; http://php.net/mysql.default-password# [  e. k7 M% s! b- H2 [4 E7 l
  1178. mysql.default_password =$ h  R2 F; a6 w5 @8 P4 u2 k

  1179. . N# ]: F7 `' I7 G5 ]* z) `& @$ q
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    6 L% z( Y+ j: I& [/ J. ~
  1181. ; http://php.net/mysql.connect-timeout
    * H# G* a; L9 w4 y
  1182. mysql.connect_timeout = 601 e8 X' {) P3 `5 c. k
  1183. ' I7 q4 \0 W6 m
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and) ]2 W( D' E2 b; E; F. B/ L
  1185. ; SQL-Errors will be displayed.
    ! F( U8 _8 \4 R- G0 r6 l& H# F0 o
  1186. ; http://php.net/mysql.trace-mode
    6 E' M4 {: ^- w6 s1 n
  1187. mysql.trace_mode = Off; [! L; d( U8 F% h1 o4 t
  1188. 8 L$ c9 B! [8 {, T0 m- E& Q9 W& o& p
  1189. [MySQLi]
    5 u" c: N7 ^+ H5 B
  1190. : t8 R4 T8 e+ \! g) ^0 ]1 v
  1191. ; Maximum number of persistent links.  -1 means no limit.5 B5 }3 `  ~$ _+ ~9 f
  1192. ; http://php.net/mysqli.max-persistent
    $ m$ t8 [  l" o6 O) h
  1193. mysqli.max_persistent = -1
    9 p- Z( ^; Y: x; C- Q8 a5 [
  1194. 6 }+ l& ^& E( N+ K, M. X
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    2 R/ H! Q3 N5 M
  1196. ; http://php.net/mysqli.allow_local_infile
    3 C  h( z  b8 f( y, t
  1197. ;mysqli.allow_local_infile = On: \+ z* i" Y& ^  N2 n1 S+ H

  1198. 2 z: C1 U) O3 \
  1199. ; Allow or prevent persistent links.
    7 R- \7 y& W. O: p* W
  1200. ; http://php.net/mysqli.allow-persistent
    ; `' g( ]; D1 }; Y
  1201. mysqli.allow_persistent = On
    : _- Q% b! ^8 {  y$ _' Q. {
  1202. 9 ~) r' V& N- |$ R
  1203. ; Maximum number of links.  -1 means no limit.  ?5 y; k/ `; R- c: E' H, g% @. j
  1204. ; http://php.net/mysqli.max-links
    " x0 z0 ]/ {7 i3 B( u
  1205. mysqli.max_links = -18 ]  v. I4 p) a- }8 l6 O
  1206. 2 r( Q3 ~  o9 w$ F- v
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    6 q, d' g3 z8 y! I1 c
  1208. ; http://php.net/mysqli.cache_size
    2 }7 Q9 |* u. X# ]2 \/ y, I
  1209. mysqli.cache_size = 2000
    ) O, B, C8 [# L9 |/ |3 _

  1210. 7 @* p# S2 _! [$ d
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use2 N2 N, d- T0 Y6 J! P; l* x
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the9 U' I  f& y+ t; z+ y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    * e" w, G2 `8 D
  1214. ; at MYSQL_PORT.
    ' t0 |& Q' l$ r1 o2 ^: `0 A3 x9 v3 p
  1215. ; http://php.net/mysqli.default-port* u  n8 Y* u3 g0 Y$ |+ [$ u1 M/ `$ f
  1216. mysqli.default_port = 3306
    ' Q  W7 m2 _( \, X
  1217. # W7 g6 `0 |6 L2 R
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 z4 h1 w0 g- t" J: F2 ]1 E
  1219. ; MySQL defaults.+ M! i! w7 U8 v/ G
  1220. ; http://php.net/mysqli.default-socket( m: \- ~4 P) ?4 P. _2 M
  1221. mysqli.default_socket =
    # r" P; A- h' \1 A! z/ K$ I1 U: v) [9 A

  1222. ! z9 M4 d6 ~! ?
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    : c$ x! H0 ^0 e* V, n
  1224. ; http://php.net/mysqli.default-host' g/ N! `# q. ~4 m$ Q$ c' |
  1225. mysqli.default_host =; f5 j& b1 k7 g) H8 O; d+ _) F3 N* {

  1226. # G- x- ?' @& d: G
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).6 @. c' r8 ^+ Z% i' R8 @3 i4 {. k
  1228. ; http://php.net/mysqli.default-user: W) T, c. z/ l
  1229. mysqli.default_user =
    , L; `8 \) s. N/ W, m" i

  1230. 2 ~( S; e  q7 [, p
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    2 E' h( z' ~; I* w$ j. G' \6 D; F
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    - L9 |6 _1 N! z2 m* w6 z
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")5 l1 i! N0 g6 ~: {2 i  `6 B, {: ^1 T
  1234. ; and reveal this password!  And of course, any users with read access to this3 O* a) u* |* o2 E8 H) O6 @
  1235. ; file will be able to reveal the password as well.
    2 C+ L0 @) O9 B' D; y1 B+ l
  1236. ; http://php.net/mysqli.default-pw( U- @! H2 n9 l( s0 b
  1237. mysqli.default_pw =
    0 b, m, Y% P9 \3 p; A
  1238. # L) P) e$ k: u6 N' c; S
  1239. ; Allow or prevent reconnect+ n9 N1 F: W) @7 A: x- y) B
  1240. mysqli.reconnect = Off
    " L8 B) {" k" z7 D& N

  1241. - g8 F3 @  ]- M
  1242. [mysqlnd], U) @5 q8 `0 w. h$ m: J/ j) p
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    . |7 l" Q2 G2 R4 m& L+ D, U
  1244. ; used to tune and monitor MySQL operations.
    6 k0 ]5 D6 D. E' p
  1245. ; http://php.net/mysqlnd.collect_statistics
    3 }% y' C4 ^( x% A1 I& E7 F. ^9 f" Y
  1246. mysqlnd.collect_statistics = On7 o9 ^- Q' E/ M

  1247. " C& z  F, {/ r% Q/ @
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be, V" r& y6 g4 B' b! `- W' o
  1249. ; used to tune and monitor MySQL operations.9 C- M( q$ u% [- Q) S7 m
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    * O, E. c0 b2 x2 Y5 L
  1251. mysqlnd.collect_memory_statistics = Off
    ) k* u# p2 k/ [" }! \3 e

  1252. * X5 |- d% P- |' P7 z
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    % X6 w: ~) k; L' D5 T/ e
  1254. ; file.
    , W" {9 ]4 Y  Q$ o  i. j0 x
  1255. ; http://php.net/mysqlnd.debug
    # F- e6 t* B1 g6 N' @+ ~- v5 G7 `7 N
  1256. ;mysqlnd.debug =
    # n0 S2 P, b; k, a1 m* y8 E5 A" K
  1257. 9 ]- U9 ?- W3 `& s
  1258. ; Defines which queries will be logged.' K# |; @6 W% ?5 |) Y( q3 m* f
  1259. ; http://php.net/mysqlnd.log_mask
    # t: X4 r; M* d) G8 U/ G+ Z; C3 |
  1260. ;mysqlnd.log_mask = 05 x& ?; r* T7 J

  1261. . m2 p$ X; T( h- k5 f5 n, G
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.# a$ K& e5 y3 ^6 T* @
  1263. ; http://php.net/mysqlnd.mempool_default_size" w5 m+ y" Q" F7 h/ c# L
  1264. ;mysqlnd.mempool_default_size = 160000 O4 g4 T! M8 m. ^

  1265. 2 W' c4 j( ^' F, `0 Q3 F8 Y
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    8 @8 x/ E4 m2 R6 o- b
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size" K, s3 T- W  R
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    2 V& j! `, E! E
  1269.   J' j8 \- f& B. t
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    " v- e$ P3 n% u1 E% ~$ s
  1271. ; bytes.
    , D0 q+ F9 v  s4 i, [
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    & Y, R& q1 E5 y- f5 _
  1273. ;mysqlnd.net_read_buffer_size = 32768
    - e7 E& s9 ]3 n9 i0 k+ e( `1 O

  1274. & _. m% ~- ~0 y* S9 I' R' e0 ]' z
  1275. ; Timeout for network requests in seconds.2 L* V& C0 {3 \
  1276. ; http://php.net/mysqlnd.net_read_timeout4 Q" Z' \4 e* Y
  1277. ;mysqlnd.net_read_timeout = 31536000
    5 G; A! j4 _5 [) a- y+ J$ o
  1278. . I8 \9 }! i$ ?! r& E
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA, M6 B, S& Q4 o( y, R% p% `/ `) @
  1280. ; key.
    " e! F6 A- |! W' a
  1281. ; http://php.net/mysqlnd.sha256_server_public_key7 e/ ?# S( Q! X  Z, P) z
  1282. ;mysqlnd.sha256_server_public_key =
    3 r: n0 P1 S2 \
  1283. 2 X* ]( M4 Q9 B6 @) b7 G
  1284. [OCI8]/ h% o7 T3 H" g+ S5 B

  1285. , [2 q. U7 X& o  R9 A8 K, K
  1286. ; Connection: Enables privileged connections using external$ w+ A3 `' k  W; M# _2 {
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    # |  M5 C& e3 u1 V. x( K
  1288. ; http://php.net/oci8.privileged-connect3 {' T  z3 h  s3 |
  1289. ;oci8.privileged_connect = Off; S# Q# r" S3 d5 y! s- f2 q
  1290. 3 X: S* O+ d5 u
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    ! Z* q4 @4 Y1 R. P2 T4 N
  1292. ; process. Using -1 means no limit.
    3 ^* g3 I  ~5 b4 y$ f  u
  1293. ; http://php.net/oci8.max-persistent
    & {2 J. b" y# O  k
  1294. ;oci8.max_persistent = -1
    4 |0 Q5 N* d* R$ ^* b7 d# L
  1295. ! U% g3 V! P$ C+ B9 F% x& Y) K
  1296. ; Connection: The maximum number of seconds a process is allowed to
    & ]4 j$ o9 A. d$ V- `
  1297. ; maintain an idle persistent connection. Using -1 means idle; C: o) t: p" s- K/ O& [& f
  1298. ; persistent connections will be maintained forever.' w* M. b! s4 k, y
  1299. ; http://php.net/oci8.persistent-timeout
    ) o- O* _& J+ N
  1300. ;oci8.persistent_timeout = -1
    % J4 q1 X9 k. K+ `, a9 r. F

  1301. , Q2 ^. s- d2 v+ g- x; \$ P
  1302. ; Connection: The number of seconds that must pass before issuing a0 w8 s/ W& t+ a- h. [1 Y- j
  1303. ; ping during oci_pconnect() to check the connection validity. When: z6 e5 \& \! F8 x# g4 j' Z& {
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables) F0 K# q& k$ A; H
  1305. ; pings completely.
    4 D; S2 m0 m* |. v0 b* `
  1306. ; http://php.net/oci8.ping-interval3 a5 O1 b" V3 A! N& V
  1307. ;oci8.ping_interval = 60+ B: Y& r! A3 ~3 H  ]
  1308. 8 N+ H/ l2 Z$ B, ?6 d
  1309. ; Connection: Set this to a user chosen connection class to be used
    - R  G3 k: }0 P: A5 f9 L
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    5 A6 P5 A1 S3 t2 y. D+ ?" d/ a
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    0 c5 V6 d5 t8 f$ W; U9 T# x
  1312. ; the same string for all web servers running the same application,
    $ F% ~& c$ Q+ H6 ~+ f- d
  1313. ; the database pool must be configured, and the connection string must
    " \- [0 \6 N5 J
  1314. ; specify to use a pooled server.
    % C: V1 X& H1 w* a1 C
  1315. ;oci8.connection_class =
    6 p# [! W6 I& f. a% a

  1316. * s$ Y9 Y* c( }5 J; I
  1317. ; High Availability: Using On lets PHP receive Fast Application. r" _1 h2 z) ~% J0 \( d% r
  1318. ; Notification (FAN) events generated when a database node fails. The
    / d2 f9 O4 {& p1 y# g7 [3 {% S
  1319. ; database must also be configured to post FAN events.! F: b3 G1 h+ v1 w" }
  1320. ;oci8.events = Off
    + T  F% b) e, \6 ~2 V; \  i
  1321. / i% _8 F" g7 ]
  1322. ; Tuning: This option enables statement caching, and specifies how  e0 q9 e" T- [  Q; M  ^
  1323. ; many statements to cache. Using 0 disables statement caching.
    # W1 u& x# p/ A0 x8 Z. X! Z7 M* s- a
  1324. ; http://php.net/oci8.statement-cache-size
    2 p4 {2 e/ ?% q& [5 ^
  1325. ;oci8.statement_cache_size = 20/ B; C& q" Q* m$ [7 L: m
  1326. * k, P8 ^$ |- ^  f
  1327. ; Tuning: Enables statement prefetching and sets the default number of/ F5 o5 N; O  ^7 \! q8 E
  1328. ; rows that will be fetched automatically after statement execution.
    # b# O' G$ g, g5 z
  1329. ; http://php.net/oci8.default-prefetch' `* C3 a: l# d' F" |/ x
  1330. ;oci8.default_prefetch = 100
    : O6 Q0 l* a% e2 _
  1331. / `9 y) P: n5 a9 k; d: U  H+ T! I5 E
  1332. ; Compatibility. Using On means oci_close() will not close
      A2 w6 M- [/ v. d/ ^
  1333. ; oci_connect() and oci_new_connect() connections.7 A7 c6 ^+ m9 g% {
  1334. ; http://php.net/oci8.old-oci-close-semantics
    ; g4 w4 G) R1 W& t  l  o
  1335. ;oci8.old_oci_close_semantics = Off/ t  d3 d5 \( d2 P

  1336. % m% j& g4 T) R" A. l
  1337. [PostgreSQL]  i4 Z, p7 v3 |* ^1 o
  1338. ; Allow or prevent persistent links.5 A* p- B% R- n" S) D8 a; b, S
  1339. ; http://php.net/pgsql.allow-persistent
    7 d4 P1 O' w) ]# T  |, I. o9 y( B
  1340. pgsql.allow_persistent = On
    4 L$ R/ w2 i$ ]9 O% q) Z2 ?: i6 x4 u

  1341. ! ]$ Q' Z, S) ?4 Z$ A
  1342. ; Detect broken persistent links always with pg_pconnect().. u9 n# B" G4 R) u
  1343. ; Auto reset feature requires a little overheads.
    2 l6 s( y4 i7 |
  1344. ; http://php.net/pgsql.auto-reset-persistent& Z; @/ q% s0 E9 d/ T
  1345. pgsql.auto_reset_persistent = Off7 P/ w6 N' Q$ ?, P; S7 S

  1346. 3 V/ \/ O0 h; O; P% X4 B
  1347. ; Maximum number of persistent links.  -1 means no limit.
    , ~' F2 \! D- w% {5 {% ]5 j
  1348. ; http://php.net/pgsql.max-persistent. m0 ?0 J8 Z7 p, q& K: L1 r6 s$ d
  1349. pgsql.max_persistent = -1; F- k- |$ a# t
  1350.   i' W( i) Z7 S9 `5 V
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    , ^7 f2 n+ l7 q
  1352. ; http://php.net/pgsql.max-links! r1 f! H  g& C$ k( Y
  1353. pgsql.max_links = -16 S1 Y4 [; z1 ^) ]  }

  1354. 1 N1 R5 {# u" @" e
  1355. ; Ignore PostgreSQL backends Notice message or not./ l* c- M  e0 E
  1356. ; Notice message logging require a little overheads.
    / o% U5 F0 [7 v2 q! o" h
  1357. ; http://php.net/pgsql.ignore-notice
    ( V7 b' \- l$ C5 D4 k- V
  1358. pgsql.ignore_notice = 0
    ( ]3 A8 M; a: |! r& ^1 y6 R+ f

  1359. , G3 A$ E$ `% h6 b. _( ?& P$ U
  1360. ; Log PostgreSQL backends Notice message or not.5 t) T; D# c- v: O( R" G1 N$ K
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    % C6 z1 U$ H1 t4 B$ @, A) {
  1362. ; http://php.net/pgsql.log-notice
    $ _4 O( h6 M( K
  1363. pgsql.log_notice = 0
    ' ?$ b5 _2 M5 g, w" n
  1364. 0 R( [! m: h/ f( [& L
  1365. [Sybase-CT]
    & T- B, c6 f  n0 v, @1 I
  1366. ; Allow or prevent persistent links.
    0 @/ T4 x9 E1 r0 f" E; ~- H# Y
  1367. ; http://php.net/sybct.allow-persistent# F( |$ N$ d0 G5 m. K, M
  1368. sybct.allow_persistent = On7 ]& X/ O) q  {: {) w

  1369. , \  g9 N& A& D4 m& K
  1370. ; Maximum number of persistent links.  -1 means no limit.: p( d! y0 P5 L0 o; t
  1371. ; http://php.net/sybct.max-persistent) w: O* N5 w. e7 P3 V' j( j& b6 Q
  1372. sybct.max_persistent = -1
    0 {' z2 k8 z3 n( M& y

  1373. , Q& @" \/ S, K: k8 I
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 a9 x* D8 Y7 z( k5 y
  1375. ; http://php.net/sybct.max-links, H5 u+ J, Y$ u& N+ G
  1376. sybct.max_links = -1
    . s5 h  W! A9 R2 f
  1377. ' a3 ?: ~- n+ c, ^4 |) p
  1378. ; Minimum server message severity to display.
    , a+ v: v" L) Q: H1 m& M* R
  1379. ; http://php.net/sybct.min-server-severity
    3 E8 `" c2 s  W: B( D1 P
  1380. sybct.min_server_severity = 10
    ; Q5 s( u6 h( n2 C( I
  1381. 2 A7 ^( J/ ~) d: Q6 N
  1382. ; Minimum client message severity to display.% B3 r: ^5 v7 r4 X- I! W6 w5 a
  1383. ; http://php.net/sybct.min-client-severity/ C9 I1 O$ g2 L" {- U
  1384. sybct.min_client_severity = 10& y% \- Z* w6 d/ v# {- h
  1385. # c# P  D1 I' ]) X2 L
  1386. ; Set per-context timeout
    ; P. P3 ?& k1 g/ o
  1387. ; http://php.net/sybct.timeout
    ! i# u* Z5 }6 L! b1 y' B
  1388. ;sybct.timeout=6 x4 B. Z) ]" T; F# q4 s4 t
  1389. ; m2 x7 ]) m" |. j
  1390. ;sybct.packet_size+ b2 f: F2 ^2 D2 r8 _; g, u4 Y
  1391. 8 C" n' a- v, L1 x# z/ ]
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    6 m1 Z. C+ f/ c' t) }1 @
  1393. ; Default: one minute& P2 ~; K7 Y, _% Y
  1394. ;sybct.login_timeout=
    ; ^) y4 k2 E) m* H! R( W" C
  1395. 6 d* M/ C5 F) M0 H
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.5 [# O! ~' k$ N
  1397. ; Default: none) T$ d* X3 R- y9 n8 Z4 @* _
  1398. ;sybct.hostname=
    $ E% J0 M- k; I
  1399. % S3 l! B. e+ ~1 V6 K, L! Y3 W+ ~
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    4 b7 y/ o" M0 L
  1401. ; Default: 09 \/ k2 @. A' o9 q3 D( K
  1402. ;sybct.deadlock_retry_count=
    % k; a6 w( p9 L/ X

  1403.   R, h- X' [, w; t9 L7 t7 C! ~
  1404. [bcmath]9 S5 N8 J2 A6 t8 {" X
  1405. ; Number of decimal digits for all bcmath functions.
    # R+ A. x, U1 v( N5 |
  1406. ; http://php.net/bcmath.scale. D) Q/ B5 F! H$ D& L) N( K
  1407. bcmath.scale = 0
    . y0 x. D7 D+ M3 T

  1408. $ _& }, o, u- W0 }3 Z2 j6 ^
  1409. [browscap]
    9 `% j; k  d2 D
  1410. ; http://php.net/browscap% H* e0 C. V. o! s( E$ {
  1411. ;browscap = extra/browscap.ini
    $ U- c% d+ z! n$ f
  1412. # y& g' B: j' n* \6 v
  1413. [Session]
    + l3 H- ^2 K! r3 |: I
  1414. ; Handler used to store/retrieve data.
    0 I0 n8 c3 v* A) L
  1415. ; http://php.net/session.save-handler% Y5 O$ z7 P2 j2 Q* L
  1416. session.save_handler = files
    - K4 J& X" K) S3 m1 C0 q

  1417. ) p0 P2 `$ K7 m+ S
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    ) ]( O3 ~7 e% X- e  e& E( ?
  1419. ; where data files are stored. Note: Windows users have to change this
    / m& K' o0 z6 \: V9 l
  1420. ; variable in order to use PHP's session functions.
    5 t; {0 r* j: D# M
  1421. ;$ `% I/ c$ v: Y
  1422. ; The path can be defined as:8 @+ P2 H7 e* `+ Z) M
  1423. ;
    + H* J0 |6 y# m2 i1 V
  1424. ;     session.save_path = "N;/path"
    ; {+ F6 Y; Q; u# k+ I' I; z
  1425. ;9 a# g" w- r# h
  1426. ; where N is an integer.  Instead of storing all the session files in
    " a' U% @  U7 x+ @. o
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    6 m& H, p8 E# I
  1428. ; store the session data in those directories.  This is useful if3 E" U5 J8 X6 J2 n; j
  1429. ; your OS has problems with many files in one directory, and is: I1 p2 I' B) z2 {$ J
  1430. ; a more efficient layout for servers that handle many sessions.
    / T" x8 Q- }1 t
  1431. ;
    - {" n) g$ L: c6 z; H; r
  1432. ; NOTE 1: PHP will not create this directory structure automatically.' S/ Y; V) S- c/ c  ~' I5 U1 F
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ' ]% c' T3 v" t1 g
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    & P2 U. ]% T% p# q+ K9 A% f
  1435. ;         use subdirectories for session storage* ?2 Y/ f' C$ H2 N6 M; S
  1436. ;
    8 x4 F% R- a# ?8 B/ m: X% V
  1437. ; The file storage module creates files using mode 600 by default.6 u+ s3 Z. q7 L9 w+ N
  1438. ; You can change that by using* R  o3 E1 a; a7 w2 D: @
  1439. ;( W4 i; o! q( p- l4 Y" A
  1440. ;     session.save_path = "N;MODE;/path"2 u. l( H- o5 ]5 |, u+ d
  1441. ;5 X/ z* S/ D0 W. p- F% O; n
  1442. ; where MODE is the octal representation of the mode. Note that this
    ; B- d3 z; B( T# C, W3 B0 s
  1443. ; does not overwrite the process's umask.1 \" Z; ]! [* V2 {% m& y
  1444. ; http://php.net/session.save-path
    * W6 m1 N5 {5 I( `
  1445. ;session.save_path = "/tmp"
    2 |  ]. x' k6 v% v
  1446. ' x3 ]" g! E2 D) W
  1447. ; Whether to use strict session mode.
    . k3 p: A' [4 V) S# o
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate+ w5 T( c1 G8 Z' a% U" s
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects: e# d2 G1 G! s) K: G3 f, ]9 h; g* \
  1450. ; applications from session fixation via session adoption vulnerability. It is
    2 L( K  t. a' n; |. H* \& w' Z
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.5 i1 a2 V# }# h; z
  1452. ; https://wiki.php.net/rfc/strict_sessions6 `- ?# E  T: N# g+ n4 g
  1453. session.use_strict_mode = 0
    : G  m- V, U  U2 c) l
  1454. . T4 X' c  h( [; E$ S: p
  1455. ; Whether to use cookies.
    . Y, Z+ H/ z& o9 G2 O
  1456. ; http://php.net/session.use-cookies! B& G* i0 u. o: ]- K9 b6 E/ R
  1457. session.use_cookies = 1' M& Z+ h" Q' w2 m

  1458. 3 R9 U, {9 f' o: \( w; i2 l. Q+ s
  1459. ; http://php.net/session.cookie-secure
    9 s6 n8 R; `$ D% y" ~; i" U
  1460. ;session.cookie_secure =
    ' b( F/ u* ^" x$ T
  1461. : Q) F  n4 T$ h$ f5 I4 l: @2 `
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining! }* H* X8 o6 e* T
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    6 E; B' }, A, U  g! z" t
  1464. ; session hijacking when not specifying and managing your own session id. It is0 O( ?- j6 `* k2 m
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ' m7 }; v" w& ^' E0 Q) t# L5 H
  1466. ; http://php.net/session.use-only-cookies1 Q  B5 H3 o  A: i
  1467. session.use_only_cookies = 1/ i3 |5 o, G' n9 b& a/ m1 g

  1468. ) p$ D; h: L9 R9 w* P& x
  1469. ; Name of the session (used as cookie name).
    & e  c8 P, m6 D* W" a8 k9 c' X
  1470. ; http://php.net/session.name
    + m( z, u/ G- V& \, v
  1471. session.name = PHPSESSID0 ^+ p4 j6 u- y; N

  1472. 9 `  r1 K. ^& y% G
  1473. ; Initialize session on request startup.
    : n- V9 {  [$ R+ T, j6 F: R
  1474. ; http://php.net/session.auto-start; I9 ~. F; [7 k2 ]
  1475. session.auto_start = 0) l( r  m/ {8 V+ K6 ], n* A
  1476. : s* i- l. i) }9 w( Y" P
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.( R: @1 R+ Q: @+ h+ c  U" u: D6 F
  1478. ; http://php.net/session.cookie-lifetime0 K' A0 r5 M0 j) a( |- W# [# A- @7 e
  1479. session.cookie_lifetime = 0' w6 R9 Q. V  r3 u9 D) ]: @

  1480. " c9 x" S4 I  E- l+ u* ]
  1481. ; The path for which the cookie is valid.8 n4 {. R* P/ h7 O0 s
  1482. ; http://php.net/session.cookie-path" Q- O$ }. K0 @) ^
  1483. session.cookie_path = /
    9 \) @. A$ O- h8 x/ {

  1484. ; W. O6 C1 o4 v5 u' l
  1485. ; The domain for which the cookie is valid.
    " j. Q  p! D9 U3 z9 E3 r% ~
  1486. ; http://php.net/session.cookie-domain
    8 B. }( C+ \6 r3 X& \
  1487. session.cookie_domain =6 k1 e. i# M1 l

  1488. + |, K3 H' [5 I8 I7 D: s; p
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    7 o3 B/ Z4 b4 l6 X" L4 i7 j
  1490. ; http://php.net/session.cookie-httponly& u8 M. ~; q; J' i. ^1 ?$ L. ?
  1491. session.cookie_httponly =- D1 `7 W; }6 y9 n; {0 X3 _

  1492. : k. t$ d0 l+ k) l
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
      z; @; ?9 p+ Y  r  E- F# ^- |
  1494. ; http://php.net/session.serialize-handler7 E' t* W& z1 i. N5 {, L2 ]: n
  1495. session.serialize_handler = php! t4 @( a2 c6 |! @
  1496. " g( C( D) c7 }1 o
  1497. ; Defines the probability that the 'garbage collection' process is started
    $ [2 J. T. O# [: q
  1498. ; on every session initialization. The probability is calculated by using( B. W1 e+ C" B: _
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator5 I, p- V! T3 k7 G0 b1 j
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    % L8 e; Y" @4 x; b8 @+ j8 L8 K
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 ?# S# s- |8 ?
  1502. ; the gc will run on any give request.
    $ O6 j6 ?' Z; D- Y" B# @* i
  1503. ; Default Value: 1: I# a" @& H) @2 n' `3 w
  1504. ; Development Value: 1
    9 R$ k5 M% Q% v$ W) F1 z) b
  1505. ; Production Value: 1
    7 S( |  e- q- Q5 A/ C" @! a. e
  1506. ; http://php.net/session.gc-probability' P$ ?5 h6 H  o1 c4 V
  1507. session.gc_probability = 1, m& q- A" k% i4 Y7 W2 y5 _/ u

  1508. / c  M  ]$ U: [" O; v
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    7 H8 q: b) v( ?- t1 n) X9 A
  1510. ; session initialization. The probability is calculated by using the following equation:
    0 I8 h0 J$ u6 ^, l0 ]
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    - i6 c, V: o- }# V7 r+ D
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    " K* R2 q  o/ a1 k
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& J5 E5 D" k0 j! h( \
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you* ^8 v1 q" [: s  N* G6 _9 p1 K
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,. N! }# ~6 `+ Q9 p+ K$ c9 }
  1516. ; this is a more efficient approach.
    1 \" v. q) X3 W
  1517. ; Default Value: 1006 z' {/ C: s' Q1 S$ `9 Z$ d
  1518. ; Development Value: 1000( T* ^7 A1 p% G2 ^
  1519. ; Production Value: 1000' o  e; d, S" t8 Z
  1520. ; http://php.net/session.gc-divisor
    ) K/ [7 N4 i6 q/ U% n# ]  z2 I
  1521. session.gc_divisor = 1000( B+ L  E( N& i: {4 n8 o5 U

  1522. 1 ~% [  _' s0 n" i# z
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    - P4 o. o) X( O1 |
  1524. ; cleaned up by the garbage collection process.. s6 v0 ^' n. f5 n3 u+ X5 ?' q
  1525. ; http://php.net/session.gc-maxlifetime) k: C& [  K3 p- N
  1526. session.gc_maxlifetime = 1440! K" k5 X, B0 {$ E0 B: v

  1527. - W' ~: G1 o' u
  1528. ; NOTE: If you are using the subdirectory option for storing session files- E3 Y$ }: R2 v
  1529. ;       (see session.save_path above), then garbage collection does *not*
    . q" V# o# G5 Y5 G, \
  1530. ;       happen automatically.  You will need to do your own garbage" p& a& y6 x* u
  1531. ;       collection through a shell script, cron entry, or some other method.; h7 ?' q" e* E/ w" R
  1532. ;       For example, the following script would is the equivalent of1 z0 n! a1 _  Z8 |
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):+ V, i4 h9 k5 `8 a
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm: D+ E" T9 D! [& U. q; h  w1 K
  1535. 0 o7 R$ Y+ m, ]1 P
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids." N% S  R6 N5 H* z" {
  1537. ; HTTP_REFERER has to contain this substring for the session to be8 |3 U: `3 ^+ W( g  p7 _0 P, m' }" }
  1538. ; considered as valid.2 Z4 x  v* ?! W
  1539. ; http://php.net/session.referer-check+ D* M( u# S* A: Y
  1540. session.referer_check =6 A( Y, I) `* j$ I: M
  1541. ) R5 I, w6 l3 B, ?, w4 v7 t9 P
  1542. ; How many bytes to read from the file.
    . Z9 J. [$ E, V, t$ M# K8 n
  1543. ; http://php.net/session.entropy-length+ ~5 R9 }  V  a
  1544. ;session.entropy_length = 329 l/ D# p3 r0 Q- Q7 n- l. A% c1 S: Q
  1545. / y/ n$ f/ _- k
  1546. ; Specified here to create the session id.
    0 Y8 g7 k& ^/ K( z6 ^
  1547. ; http://php.net/session.entropy-file
    $ n- C0 E+ p# f7 i7 e/ f
  1548. ; Defaults to /dev/urandom, |- ~! C  k5 q8 [) D
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ) e( Z$ n0 n5 n1 t
  1550. ; If neither are found at compile time, the default is no entropy file.
    , R  a( ?/ l$ U  L3 j8 u2 q
  1551. ; On windows, setting the entropy_length setting will activate the) L7 v% v; {& U
  1552. ; Windows random source (using the CryptoAPI)
    4 u) i; r$ K" ]. V. z* S" E+ ]
  1553. ;session.entropy_file = /dev/urandom
    ) S% o' p  I+ n4 W

  1554. ' \& E. ]6 Y# M: Q5 S+ s/ b, n
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    $ z6 o: [; a8 ~$ p3 T# U0 s
  1556. ; or leave this empty to avoid sending anti-caching headers.
    2 R* z* P/ ]+ ~
  1557. ; http://php.net/session.cache-limiter6 V: `& P: U; m
  1558. session.cache_limiter = nocache6 |8 P* [- D$ J! M* k! D$ i9 o
  1559. " M' o' O* m. m! Z
  1560. ; Document expires after n minutes." L5 {$ U6 u* U& t# d' K
  1561. ; http://php.net/session.cache-expire
    * p  `) l: i' e& e7 N' R4 G( B
  1562. session.cache_expire = 1804 y' B: X% {, j$ J) c2 a+ [; q

  1563. # O# U9 |- m! f/ e3 |
  1564. ; trans sid support is disabled by default.
    / W* i+ n2 b4 ]% J: t! D
  1565. ; Use of trans sid may risk your users' security.5 X2 x$ R  K" n3 Y) ~
  1566. ; Use this option with caution." p( S6 b6 m( N
  1567. ; - User may send URL contains active session ID
    ! E% J2 q% }( S+ |: K  a1 `
  1568. ;   to other person via. email/irc/etc.( V, m9 n' |6 H. h7 a3 M- c9 u
  1569. ; - URL that contains active session ID may be stored
    7 A# @7 a) ]& {. Q; w
  1570. ;   in publicly accessible computer.
    ) k$ X  R) }5 R" [
  1571. ; - User may access your site with the same session ID6 [/ g# `; g. m9 P# }5 T1 r4 X) A1 f
  1572. ;   always using URL stored in browser's history or bookmarks.
    / e9 V" v9 }! A6 w9 ]# ]6 t- z
  1573. ; http://php.net/session.use-trans-sid6 w! J# a( d0 ]1 J% a9 {
  1574. session.use_trans_sid = 0
    7 n) k$ N0 K3 m3 S: `

  1575. ; y' R, n$ D  h, e( d/ ^
  1576. ; Select a hash function for use in generating session ids.6 G" J7 c: E! r  {6 s* L1 h% ~
  1577. ; Possible Values) R2 }+ `* Q3 |/ J7 T
  1578. ;   0  (MD5 128 bits)
    0 L1 R5 ?, z1 ~6 D; J
  1579. ;   1  (SHA-1 160 bits)
    * L% P- c. j2 T* y1 W9 ~
  1580. ; This option may also be set to the name of any hash function supported by
    5 L) q7 |" u) P, n6 ~) W& E
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()/ j/ y- Z( v2 c% p) G' [& F. z8 ]- S! j
  1582. ; function.
    8 J5 ^9 D/ y1 }& `
  1583. ; http://php.net/session.hash-function) o7 ?4 D" q, x& [, W! {7 ~7 {5 f
  1584. session.hash_function = 06 q. }- r2 P+ e9 G# {

  1585. 3 J, W1 S( r+ |, w$ W8 V
  1586. ; Define how many bits are stored in each character when converting6 f/ w) _+ m3 B: `: o4 j. O. A% {8 G
  1587. ; the binary hash data to something readable., f/ O% e/ @9 L2 g
  1588. ; Possible values:
    6 E$ B9 @5 }' C! j
  1589. ;   4  (4 bits: 0-9, a-f)
    ' g" ~1 P, R! ^  k8 N  p4 C
  1590. ;   5  (5 bits: 0-9, a-v)' w! @2 y0 l& ^# b
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    + y3 w& w# g! W+ V# K9 G) s) z
  1592. ; Default Value: 4. y2 S* E: V2 Z$ m& e) U
  1593. ; Development Value: 5- B: J: q3 ?8 [+ d2 P3 A
  1594. ; Production Value: 55 y6 }* {) k) r8 M' \
  1595. ; http://php.net/session.hash-bits-per-character
    * s( G3 w9 c+ n. T/ ~( Z
  1596. session.hash_bits_per_character = 5
    8 s# w* E; i6 P& }
  1597. , q5 C- z0 r+ r9 P( f
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    " o' M8 ^. i4 P# A
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    - I" G( A# m4 W/ \* B3 Y
  1600. ; add a hidden <input> field with the info which is otherwise appended% r$ b0 v; U$ K+ [
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.. M1 o9 B$ A, b* q! q
  1602. ; Note that all valid entries require a "=", even if no value follows.
    ' a- F0 p7 e( t) J3 @2 D, A3 R
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ! N- L4 }2 W; N8 p- h% G
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( ^2 l" o% _4 p# L
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 ?" _0 W9 a* e! h" C) R! ]
  1606. ; http://php.net/url-rewriter.tags" g4 p3 a( S8 f, M
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    * ~4 C( S- V- A

  1608. & Z/ Q+ \' E% _# }& J/ Z; ?% E
  1609. ; Enable upload progress tracking in $_SESSION1 ~. ~6 t7 u* q3 n, N
  1610. ; Default Value: On
    , u0 N3 d6 e# I  P: v2 _  Q, J- \# f
  1611. ; Development Value: On
    , o' w9 M# e* s4 B- ]- p! ~
  1612. ; Production Value: On; r2 j, P) ^& l5 ]& o) ?9 ^
  1613. ; http://php.net/session.upload-progress.enabled
    : {$ ~. i. ]0 @% \: G& Y3 y
  1614. ;session.upload_progress.enabled = On
      b( _7 o5 r; {/ N! N8 _
  1615. $ Q9 n( \& Q5 s: t
  1616. ; Cleanup the progress information as soon as all POST data has been read
    $ y; L4 U) L. G5 v
  1617. ; (i.e. upload completed).2 p2 P3 ?, [2 D
  1618. ; Default Value: On4 L1 l- |" m1 n
  1619. ; Development Value: On
    9 e4 T* {  v2 u. L
  1620. ; Production Value: On
    1 ?& s, x! b$ A" [& J5 e" O6 ]0 G
  1621. ; http://php.net/session.upload-progress.cleanup
    ! E+ Y- R4 t: z9 r1 W' O
  1622. ;session.upload_progress.cleanup = On) S  h- @2 }  c' ^1 c+ H% p
  1623. ; |& T5 {: l) q0 H! @$ S# K
  1624. ; A prefix used for the upload progress key in $_SESSION5 Q& A" R, G1 D3 J; M' b
  1625. ; Default Value: "upload_progress_"
    * }9 l: Z# y) m8 ]
  1626. ; Development Value: "upload_progress_") P7 h/ _# x1 l1 T
  1627. ; Production Value: "upload_progress_": n7 V' q( U  Q/ h
  1628. ; http://php.net/session.upload-progress.prefix
    8 w( w1 t) P8 a: i
  1629. ;session.upload_progress.prefix = "upload_progress_"0 U7 G1 D% S, P) K% t4 V) s

  1630. $ C, ~. A/ k$ c# E
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    2 j/ k9 z1 t! O* C! ~1 r0 e
  1632. ; containing the upload progress information
    8 A2 K- L* H* D
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"- }5 Z1 _, K7 a6 p; u/ ~( Q: T
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"1 L& _2 w4 A$ w
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) D7 m4 \) S' y+ v- e
  1636. ; http://php.net/session.upload-progress.name
    0 g# m/ \; I( x; E: n- I' _
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    8 |4 d7 f) w2 m: D! I9 _- B8 i
  1638. . ?" x1 V/ ]' @: k% m% S5 ?
  1639. ; How frequently the upload progress should be updated.- K6 k* A4 j1 M  V4 X- F# |6 N) i
  1640. ; Given either in percentages (per-file), or in bytes
    6 o) B% x) m8 {( ~( B- D1 V
  1641. ; Default Value: "1%"
    0 ]! K" {, ]3 A* U6 |
  1642. ; Development Value: "1%"  Z0 r6 ~9 _4 ?9 |
  1643. ; Production Value: "1%"( u9 B% u  ?, E% R
  1644. ; http://php.net/session.upload-progress.freq: E* u3 K( {& |% T( o' I
  1645. ;session.upload_progress.freq =  "1%"9 c- T* j3 d6 w8 N$ t+ r

  1646. " C) `3 r% i8 T0 B  B1 j- O
  1647. ; The minimum delay between updates, in seconds( }" {: y0 Q) I# }5 l1 e2 f( K  t$ I
  1648. ; Default Value: 1
    ' B# Z  u  ?; [7 ~. \; P
  1649. ; Development Value: 1  d% _; q7 P, B* c
  1650. ; Production Value: 1
    % R$ s/ S+ d; A7 h" @2 M! ^' D0 I. T
  1651. ; http://php.net/session.upload-progress.min-freq6 M. W% R- K4 D2 n( `
  1652. ;session.upload_progress.min_freq = "1"' I: T9 R- S5 D, @5 Z

  1653. & W- Z6 T7 s! w6 F2 d% {7 t$ c2 \
  1654. [MSSQL]" W! i$ n. u$ }. X- n+ L$ G( y& D: ]
  1655. ; Allow or prevent persistent links.
    1 ]( U7 p9 F  U5 g' e
  1656. mssql.allow_persistent = On7 d( y% i7 @; m3 V! U( b
  1657. % s: _0 [4 L! E+ d/ X2 m7 ^
  1658. ; Maximum number of persistent links.  -1 means no limit.- \& s7 S1 t: V/ Z+ T& `$ b2 b3 o. T6 E
  1659. mssql.max_persistent = -1
    6 M( k7 q$ N, y5 V8 P! k2 H; `
  1660. ' k* c2 }; p& [
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.  F  Y$ s5 w1 }+ H
  1662. mssql.max_links = -1
    / y, R8 P. }' Q: w- E" m
  1663. 8 y, `, ?0 N# \' D
  1664. ; Minimum error severity to display.
    . _* H# _" m0 |! Z, U/ c
  1665. mssql.min_error_severity = 10
    ! n) P, i# p1 r. E
  1666. # |  c9 c2 S0 A/ X
  1667. ; Minimum message severity to display.
    5 R0 E' X9 {5 _. X& L" c
  1668. mssql.min_message_severity = 10
    * v6 q- \  h( s, n4 W' C

  1669. - q1 ~2 r! A$ c5 V
  1670. ; Compatibility mode with old versions of PHP 3.0.) W* O8 d( M5 t" F9 \5 s
  1671. mssql.compatibility_mode = Off
    8 h3 I& X, x9 g% s
  1672. . `8 K6 Y, a$ B
  1673. ; Connect timeout
    ) w) h+ h1 u& a, i% t" V
  1674. ;mssql.connect_timeout = 5
    / L( `( y# p$ G& x

  1675. ' F3 p+ U1 C7 j: R5 ?1 ]
  1676. ; Query timeout, W% U5 B9 b5 s8 ~+ S; B/ c
  1677. ;mssql.timeout = 60
    ; y+ I1 U: L# ?% l7 H4 h0 {" X
  1678. 8 `' M& B. y; d! s' l4 _$ m
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ! T% U( `2 K+ S* ^
  1680. ;mssql.textlimit = 4096
    & p) u) p! p4 e8 o" d: ~6 f& w
  1681. ( y9 W# s6 g* P
  1682. ; Valid range 0 - 2147483647.  Default = 4096./ L3 t( s5 M; {) o; P- v+ ?" V$ b
  1683. ;mssql.textsize = 4096
      f9 ~( R5 s0 T. i' N# a7 [& e0 b

  1684. " @  z9 S. s+ x9 I, |& ]6 M
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    ) G7 s9 T! H0 X& p
  1686. ;mssql.batchsize = 0
    8 X9 K' _3 m! r+ {. u' p7 Z

  1687. 5 j0 w1 `& `) D2 v1 T: I: k2 P" o
  1688. ; Specify how datetime and datetim4 columns are returned
    % g3 k/ h. D* d9 [) P
  1689. ; On => Returns data converted to SQL server settings1 K, _; U2 n1 c. s3 s5 ?; t
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss4 L) A5 T( P# ^) ~# M0 L
  1691. ;mssql.datetimeconvert = On
    8 W; |4 @, }! r7 q1 A1 p9 F

  1692. + O: {% z6 o6 J: ^% m) Z
  1693. ; Use NT authentication when connecting to the server
    $ L! K1 e4 t4 ^' ^2 O
  1694. mssql.secure_connection = Off
    4 T6 t4 ?9 c, M- J

  1695. 6 i& f* q+ c2 k% `/ `# c) R
  1696. ; Specify max number of processes. -1 = library default# O& x+ s+ P2 ~. Q& a
  1697. ; msdlib defaults to 253 M4 p5 z9 w+ i% S  L
  1698. ; FreeTDS defaults to 4096
    ) B1 i- r$ V! X' H
  1699. ;mssql.max_procs = -1, i7 C, N$ _& R) s: x

  1700. 9 z( u6 K# d* z9 D
  1701. ; Specify client character set.: V; R( C0 h0 t  s' {) u9 T7 E3 J, P1 _
  1702. ; If empty or not set the client charset from freetds.conf is used5 ]& r+ n! A( V7 w" e0 G% P
  1703. ; This is only used when compiled with FreeTDS/ B6 n9 {! z2 p" J
  1704. ;mssql.charset = "ISO-8859-1"
    , D5 n: C# j) r5 Y5 V- V3 D
  1705. 7 |# I5 A; s6 L# n% g
  1706. [Assertion]
    ( }% I0 {& {4 s9 x; f+ \- c
  1707. ; Assert(expr); active by default.% a0 R  C/ u# N$ f) ~
  1708. ; http://php.net/assert.active
    3 a& o5 E) [# @: a; z
  1709. ;assert.active = On! N- J2 Q' l% B" @. ~: K

  1710. . Z8 Z7 j: y1 r+ O8 r% I
  1711. ; Issue a PHP warning for each failed assertion.
    " H! K) k9 O9 ^/ ]7 Z+ Y
  1712. ; http://php.net/assert.warning
    " S$ Z  o* Y* e( t  o$ J
  1713. ;assert.warning = On
    * u7 M( e; X! {1 U+ t

  1714. 3 ]7 l) i* e7 Y1 D9 G7 f
  1715. ; Don't bail out by default.
    4 m; n' n8 @  q& B/ f0 f. }
  1716. ; http://php.net/assert.bail
    * K7 K, |( }+ k9 a3 M/ \; C
  1717. ;assert.bail = Off
    - e- j$ T  C* b* \% B
  1718. & i" W9 x, H- l, e! m
  1719. ; User-function to be called if an assertion fails.! f: o6 R7 I, B* R! A6 J: v
  1720. ; http://php.net/assert.callback
    8 U* a- I4 j* ^2 n! @- R* w
  1721. ;assert.callback = 0
    3 h% J1 u* i6 V

  1722. / d& A# d& U# a" e' E) P3 g
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    " X! K; r3 M8 v9 v" a. `  R
  1724. ; error_reporting(0) around the eval().
    5 n2 n) C7 o8 }/ M0 }) L' @  R* C& E
  1725. ; http://php.net/assert.quiet-eval) E  T, w1 [! }
  1726. ;assert.quiet_eval = 0( \- v# C# F! ]3 n2 P) r

  1727. $ u* o2 T* P# Z, e# h& i2 `
  1728. [COM]
    - [+ d4 e/ g1 n$ y% e. ~3 U
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    $ U% k( i: [/ J6 o8 g( Z) e$ w
  1730. ; http://php.net/com.typelib-file
    6 O3 c7 W$ M$ l( S
  1731. ;com.typelib_file =
    9 ~7 w" G2 ^( L& {
  1732. $ E; W# i) x' z3 k/ t) A1 I
  1733. ; allow Distributed-COM calls9 t8 L3 {' x* F7 C1 w. O
  1734. ; http://php.net/com.allow-dcom
    . y& N/ H) A9 J9 P1 U
  1735. ;com.allow_dcom = true
    + m* `9 Z. J: z6 E
  1736. # B3 a3 V6 N! u2 {: T
  1737. ; autoregister constants of a components typlib on com_load()
    ) x/ Q" S8 R/ _
  1738. ; http://php.net/com.autoregister-typelib( @6 f! L8 b4 q, h
  1739. ;com.autoregister_typelib = true$ D  U2 f4 L; Y  N
  1740. ; k, H! h2 d( Q: d- c. f  C
  1741. ; register constants casesensitive
    8 B, x4 `, t4 g* O  j  Y9 x
  1742. ; http://php.net/com.autoregister-casesensitive2 q0 Z7 ]5 k  r: d
  1743. ;com.autoregister_casesensitive = false" f% s5 b2 C8 V& z5 a. ?& t
  1744. ( v2 i# B9 m; G+ X' L, B9 ~! g
  1745. ; show warnings on duplicate constant registrations% d9 x: W9 P$ g, v: l7 W" S7 v
  1746. ; http://php.net/com.autoregister-verbose
    ) N3 y( Y8 T! C3 q- K
  1747. ;com.autoregister_verbose = true) _0 \3 w( s/ r7 L; I

  1748. ( _; U$ A' ~( P( N
  1749. ; The default character set code-page to use when passing strings to and from COM objects.% @) U) X8 _7 Y( y, A9 O7 y6 n
  1750. ; Default: system ANSI code page5 c! e$ T/ u0 z  w3 {
  1751. ;com.code_page=2 _" V- K1 }  d3 F: t$ p9 s7 N" O

  1752. 8 V& E2 U+ L& M- C: B% N' [
  1753. [mbstring]
    5 @1 H, H' l# V' U
  1754. ; language for internal character representation.% a0 e) K: Y1 k7 Z
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.5 a( ~( v2 M5 z. I/ m  s+ G, Z
  1756. ; http://php.net/mbstring.language
    & Y" s: X: c# h7 I& H- G9 J% c
  1757. ;mbstring.language = Japanese; G7 T7 P1 t1 y3 J

  1758. 5 j/ s% L9 h, s( r8 Q+ G( i
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.' r8 z: M, B: Y1 h4 m- R7 g+ C
  1760. ; internal/script encoding.& G# I# A+ x0 j+ x* m3 \, k! F
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)' {/ D0 \( T3 D) U8 u3 S
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ q" _/ z4 p. l9 l7 I
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding, [8 E4 r& [4 [5 o! Y: c
  1764. ;mbstring.internal_encoding =, B) A1 z% n( B
  1765. " q/ \2 h) ?8 Z% x  J" |/ L
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    8 y+ z/ d2 D. `, a4 R# D8 X! q
  1767. ; http input encoding.
    $ ~) k: }' d' t2 x4 K3 o1 n/ @
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    & O9 S. ^* j! r$ K$ j( R
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.- F# y, O  T7 Y; C' E4 n" E
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    : M0 c' M! T; a2 N
  1771. ; http://php.net/mbstring.http-input
    ! Y& X% E8 F4 T# v  }
  1772. ;mbstring.http_input =
    " j3 M: Q+ P; Q

  1773. 0 Y; E8 U6 G$ y3 b8 [
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead., s# z; {* |4 E2 v. l
  1775. ; http output encoding.
    4 ^$ V* W: S0 o2 Y1 N. I8 Z$ X
  1776. ; mb_output_handler must be registered as output buffer to function.
    " h& u! K; W3 ^* O/ O5 ?
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    $ ~- [' F" O8 d: w! {
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output0 o9 ?( }+ l7 X# E* I/ J& @/ q
  1779. ; To use an output encoding conversion, mbstring's output handler must be set0 d3 B$ C! |5 y
  1780. ; otherwise output encoding conversion cannot be performed.# B+ i) @; z* h# \
  1781. ; http://php.net/mbstring.http-output
    & B# E2 M- [( C7 v4 ?$ n
  1782. ;mbstring.http_output =0 ?. V5 f# e  a) X& i0 E

  1783. " G7 `1 I( V3 Y: w3 P) t6 @
  1784. ; enable automatic encoding translation according to" [& A4 O' t& i1 {9 m& T: d1 Z# x
  1785. ; mbstring.internal_encoding setting. Input chars are
    $ g6 |" Y) l7 m* w& i/ {5 u+ ~
  1786. ; converted to internal encoding by setting this to On./ q1 r" r& ?# N" {% O" {; n5 x4 R) x. b9 u
  1787. ; Note: Do _not_ use automatic encoding translation for
    ) T  K' F' B/ f/ J0 x! _5 G. Z8 f
  1788. ;       portable libs/applications.
    , F) O& N( U0 O( d0 X! C8 [9 j1 S
  1789. ; http://php.net/mbstring.encoding-translation3 Q1 V) a9 w* q  n' z6 y, B
  1790. ;mbstring.encoding_translation = Off
    1 F! u4 F9 [8 h8 c% l1 z0 ?
  1791. & g5 i) F. V8 _5 h* ]( c7 f
  1792. ; automatic encoding detection order.! V5 y- f$ ?7 N+ J% {, l6 B8 w
  1793. ; "auto" detect order is changed according to mbstring.language
    6 q2 |% n, g: v5 G: T/ a1 g- ^
  1794. ; http://php.net/mbstring.detect-order0 F  N( [; W: `& ~0 J1 p4 y6 ~
  1795. ;mbstring.detect_order = auto- E5 }+ _& r6 ~. s; B9 s
  1796. 4 J+ {% u" |: G6 d
  1797. ; substitute_character used when character cannot be converted
    5 w/ b  z. P1 Q# \, h& E- c9 V1 O2 R& d
  1798. ; one from another+ P, W, \3 Y1 D2 f4 n
  1799. ; http://php.net/mbstring.substitute-character0 n! q# q" j- ^( ]6 @  C  U
  1800. ;mbstring.substitute_character = none
      ~1 o1 ], R+ ~2 ^4 o4 k# e. \
  1801. ! O( ~, S' @3 \2 `- Z. v
  1802. ; overload(replace) single byte functions by mbstring functions.
    8 ?. ?. x8 z! Y% t+ w
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),4 s" G- `9 w; \" B  g, |
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.% L' w) p  S' z+ n) b
  1805. ; For example, 7 for overload everything.
    3 c; s$ |' j- V1 T
  1806. ; 0: No overload
    . J% S& ?7 v" d" z, I! {: A& F
  1807. ; 1: Overload mail() function, y' {% n+ J1 f8 x1 V
  1808. ; 2: Overload str*() functions2 Q4 w- t3 L( W; ~+ ^0 @  |
  1809. ; 4: Overload ereg*() functions' X  O4 c' L8 c2 g3 s) _' Y
  1810. ; http://php.net/mbstring.func-overload* n! V. Y3 v1 L" ~
  1811. ;mbstring.func_overload = 0
    0 K: P* c! ?( [+ _) j! B3 L7 m
  1812. : N% C; I# `' j$ |2 W
  1813. ; enable strict encoding detection.
    + a; R+ C6 |+ ^2 `
  1814. ; Default: Off
    3 s7 o+ T% c; u& v
  1815. ;mbstring.strict_detection = On
    - e3 G9 i# g% u# m" t* y8 E( D
  1816. ) T% G, l6 Z# T- X; o
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()* D: W7 l+ x/ n: O2 N
  1818. ; is activated.
    * _. n/ ]. m* @3 z" I
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    . w" ]7 P( D' ^- s, z6 {9 y
  1820. ;mbstring.http_output_conv_mimetype=; s7 X& R6 P1 G

  1821. " u- H2 [  ^$ l* L7 V, ^
  1822. [gd]
    & T0 A/ W: k  e
  1823. ; Tell the jpeg decode to ignore warnings and try to create5 k: \0 h- f$ I# ^, S
  1824. ; a gd image. The warning will then be displayed as notices* D  E6 }( M8 u% W4 U5 z
  1825. ; disabled by default; B4 v5 ~5 z# V. I0 a. p! G
  1826. ; http://php.net/gd.jpeg-ignore-warning5 _/ B5 ?- a0 O* \
  1827. ;gd.jpeg_ignore_warning = 09 ~5 T4 @: I0 s/ B; C

  1828. 5 b* j: k7 F' B  @) `. y
  1829. [exif]2 r7 w" \& Q% g8 ~) e' j
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    . F: |. M% p: Z- k; ]4 ?  u) O
  1831. ; With mbstring support this will automatically be converted into the encoding
    - c! w; X" ]; Y6 N
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    " e$ k( z$ Y) g% I
  1833. ; is used. For the decode settings you can distinguish between motorola and
    * Q+ x4 W3 J' a
  1834. ; intel byte order. A decode setting cannot be empty.4 h6 G8 u4 L& E# r( P
  1835. ; http://php.net/exif.encode-unicode
    6 y7 {' x( e/ Y7 @" v
  1836. ;exif.encode_unicode = ISO-8859-15
    + S+ r3 A9 i) ^; ?# B

  1837. ; O7 m/ b% e1 _# b8 D( I
  1838. ; http://php.net/exif.decode-unicode-motorola
    # k% X# y1 Z) C, m8 O, n: h* l
  1839. ;exif.decode_unicode_motorola = UCS-2BE+ F: F! A; b2 |+ D1 @! p0 z1 \' F
  1840. . ~7 F2 C# S, P+ v  g+ N) w
  1841. ; http://php.net/exif.decode-unicode-intel0 n$ |' m3 r% o+ F/ I) X
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    0 r$ W) z" G( ?# p, O
  1843. " @7 V  d* r- R& d* K
  1844. ; http://php.net/exif.encode-jis" ^) D8 @, w5 s. I  o" @% V
  1845. ;exif.encode_jis =
    & G& O# Y( `" S/ ]; K8 R5 P) z
  1846. : Y2 P6 q; J  _+ A+ Z: _
  1847. ; http://php.net/exif.decode-jis-motorola
    # Y0 r' U7 b4 P! j4 r, W
  1848. ;exif.decode_jis_motorola = JIS$ H$ ?4 g! F  T& d$ E8 s
  1849. $ T+ X0 p+ Q7 \) R1 @4 p, s' G
  1850. ; http://php.net/exif.decode-jis-intel% H8 F3 o$ [3 M: `9 e- R
  1851. ;exif.decode_jis_intel    = JIS! |( p; j! ~: W& _9 f, e+ K$ q
  1852. ; V; G) g3 A6 R1 _' Y( ?# v
  1853. [Tidy]
    8 C  ?+ q# g$ P7 b) o' q  M0 b
  1854. ; The path to a default tidy configuration file to use when using tidy; _' E1 Z# r( w$ a2 g; K% \
  1855. ; http://php.net/tidy.default-config2 |% t0 l4 X8 H& ]2 x8 m
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg. Y- S7 j& B4 {4 w7 g, m* f

  1857. 6 K3 h3 A* h4 b( v
  1858. ; Should tidy clean and repair output automatically?
    " N0 b. a! o( g! S  B# E" ~* b
  1859. ; WARNING: Do not use this option if you are generating non-html content% Y# w/ ~: P8 u: d
  1860. ; such as dynamic images
    ! Q7 ^) i- K" v: n8 ~" _/ [
  1861. ; http://php.net/tidy.clean-output
    ) o% S+ |: H3 U
  1862. tidy.clean_output = Off/ V1 p/ ^, F( x- O2 ~% u- r

  1863. ! }* Z2 m) V( X
  1864. [soap]; b. i! f' v) T, {; v$ A
  1865. ; Enables or disables WSDL caching feature.# @) A$ y( \2 r& G# v
  1866. ; http://php.net/soap.wsdl-cache-enabled- T$ V7 x* M: K0 r
  1867. soap.wsdl_cache_enabled=1! V' N5 \& R3 U
  1868. 7 G5 R0 I3 {; d
  1869. ; Sets the directory name where SOAP extension will put cache files.5 @* ~8 I" l% E9 s5 ~- v3 q# A
  1870. ; http://php.net/soap.wsdl-cache-dir
    * ^, D1 P0 |( g. G: G
  1871. soap.wsdl_cache_dir="/tmp"9 ?# d5 J* Z5 E
  1872. + I# P6 |& ^0 M, Y
  1873. ; (time to live) Sets the number of second while cached file will be used& u9 |  F7 `4 H2 F
  1874. ; instead of original one.
    9 m8 W6 i. e4 w- B4 @0 ]
  1875. ; http://php.net/soap.wsdl-cache-ttl) Z# _9 N" P- ]* g4 M9 t. ^# J
  1876. soap.wsdl_cache_ttl=86400
    8 |2 Q! _" `  O0 w9 P( [

  1877. - S0 q' Z7 \( c3 q& N' d
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    & T. q( w1 N6 \, z$ N  `7 B. Y4 S  K* A9 `
  1879. soap.wsdl_cache_limit = 5
    1 n. w- w1 G5 Q2 C. I6 ]* K% r7 d

  1880. . W; I$ \- P8 S4 b8 |. k% P
  1881. [sysvshm]& \& e+ [- Q% V% J( \5 D
  1882. ; A default size of the shared memory segment
    - V6 x  s+ S6 v& D
  1883. ;sysvshm.init_mem = 10000
    / x0 S* J: v3 [7 W6 s! a+ B( G

  1884. - p& g0 }; _- i0 S: ]) w3 b
  1885. [ldap]
    2 M5 y8 E; g9 ?
  1886. ; Sets the maximum number of open links or -1 for unlimited.) X, ]7 D5 z- Y. U2 \' f" Y
  1887. ldap.max_links = -1
      K1 B2 t6 [$ @$ z  E! V

  1888. ( V9 m- [  v5 R$ D' X
  1889. [mcrypt]
    0 u1 k! E; X% t8 @
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    : P5 W" a" d( l% Y& c
  1891. 9 D: }8 L/ Z4 h+ p/ K" r5 r- g8 S
  1892. ; Directory where to load mcrypt algorithms9 T& J6 W4 H4 ~4 j5 b" R
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    # S! Y/ f3 C9 ~" ?
  1894. ;mcrypt.algorithms_dir=
    & e  }' x- K# }1 m
  1895. ; w# [* ?% P9 R* B
  1896. ; Directory where to load mcrypt modes
    # T/ @; |  n0 G( C- F+ |' `# T4 b: b
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt); D( d! q7 q5 o: u2 G. s
  1898. ;mcrypt.modes_dir=
    $ l  A+ K. G  ^9 N2 _
  1899. ! t! N- i* K; s% q5 `- \
  1900. [dba]
    7 B) m3 \# f6 t( J7 b
  1901. ;dba.default_handler=6 C5 F, Q* J3 X* r# l
  1902. % H& I0 ?: R% n$ U( P9 `, C
  1903. [opcache]5 z/ \1 d1 Y% ^. E& b4 h5 h7 u
  1904. ; Determines if Zend OPCache is enabled
    . S$ g3 o/ X0 |# s3 W$ O7 m  ~
  1905. ;opcache.enable=0
    0 K  S! _; [) B' F. ^2 I

  1906. 1 Y& p/ N, J/ @. P7 A, `
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    5 v" P& Y/ Q$ J8 E0 B  z$ J$ P
  1908. ;opcache.enable_cli=09 N& R0 E+ y* W8 G& ?# M3 `
  1909. ' G3 a4 o/ n4 b3 B( H; F
  1910. ; The OPcache shared memory storage size.
    + u1 O. y" l+ T& y+ S
  1911. ;opcache.memory_consumption=64
    ; ]# h; q3 s( L7 U  E/ m

  1912. 2 u( B3 {% k. x# H
  1913. ; The amount of memory for interned strings in Mbytes.7 ~0 w' x. L2 {& U' f7 n! M
  1914. ;opcache.interned_strings_buffer=4
    8 ~+ v" S, ?' ~) N6 ]
  1915. % I) x/ |1 q$ `' c) w, y
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.* _) J! f2 I9 R4 o7 U
  1917. ; Only numbers between 200 and 100000 are allowed.
    ( h  S0 }, X* i: Y. \; I1 W2 h  q- u
  1918. ;opcache.max_accelerated_files=20006 Q" [# {: g& }% u% V$ T% f

  1919. 0 J5 o4 n$ a6 H' ]
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    2 U0 u5 \2 g% U7 Q
  1921. ;opcache.max_wasted_percentage=5% y7 U7 I6 ], C& {, U3 |* V! c$ A

  1922. 3 S9 R5 }0 T# F! d+ `
  1923. ; When this directive is enabled, the OPcache appends the current working
    2 M4 u; M) D5 N/ E
  1924. ; directory to the script key, thus eliminating possible collisions between( I8 Q; e$ m. f+ d
  1925. ; files with the same name (basename). Disabling the directive improves
    " X! Q! c# S$ K3 H5 j7 T* h  D
  1926. ; performance, but may break existing applications.7 _0 I. q0 U. [( V" y* c9 A
  1927. ;opcache.use_cwd=1% W( ?$ X1 F5 u  K* ?4 e
  1928. 5 n/ R) C% v: _. H3 E; c/ ~# m8 e% X4 u
  1929. ; When disabled, you must reset the OPcache manually or restart the
    % T; I2 p+ [9 G! P
  1930. ; webserver for changes to the filesystem to take effect.
    . v4 G' e" [: t) I
  1931. ;opcache.validate_timestamps=10 ~, a9 j# Y) ~9 s2 A
  1932. 0 B" V/ \! `" O3 R2 o1 \
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    1 G8 q7 ?. ^) o/ c# z1 q- ^2 t9 X0 G
  1934. ; memory storage allocation. ("1" means validate once per second, but only7 m0 c; f% j  ^( H
  1935. ; once per request. "0" means always validate)
    6 {0 e0 L2 c+ r' R' _# k
  1936. ;opcache.revalidate_freq=2
    $ w) u/ t4 F+ v" c

  1937. # E: {1 \  R: }1 w% z
  1938. ; Enables or disables file search in include_path optimization
    & i+ m& e! P3 g$ E; C; c
  1939. ;opcache.revalidate_path=06 U" r* }. G+ S

  1940. % b0 O8 S; D( a5 u4 H. Q1 t
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the+ I" J% y; M4 ]) L& N# f
  1942. ; size of the optimized code.
    + z) P$ R4 n9 j/ c
  1943. ;opcache.save_comments=14 F  y6 G% P( h. _& p# o& I9 \

  1944. : ^1 s, h/ e' H# Q0 V
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"$ J3 t1 J/ X$ ^1 c
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    8 z. j, ^, g. g2 R3 E
  1947. ; that don't need them anyway." _3 i. ?" {7 `$ s$ v* h9 ?( l
  1948. ;opcache.load_comments=1
    0 u2 Q6 c3 @, K* n3 y

  1949. " ?1 S* G  E. S( S
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code+ Y5 t0 j6 i9 u5 v' Y% v
  1951. ;opcache.fast_shutdown=0$ ]# G4 i& k& c/ I) y0 s; G( g

  1952. 3 E- x+ H  q" W% I. i
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    & c; L/ n$ b1 |( F8 B
  1954. ;opcache.enable_file_override=0
    % k3 T& f" \0 n) Y$ s$ m7 t
  1955. 9 x7 w: T: h2 [- _
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    " e3 M1 G& ^) Z, L: i: S# g0 F/ D
  1957. ; passes
    - K9 f1 S) X1 p# _1 O
  1958. ;opcache.optimization_level=0xffffffff
    1 G3 m& ]$ p: p$ m7 q" a" H! ?. l

  1959. ( C: s6 u% c: V4 d/ w8 C
  1960. ;opcache.inherited_hack=19 Q  q# i1 A# s, J8 w2 p6 z. }5 G
  1961. ;opcache.dups_fix=0, Y2 ?! p9 f- r- Q; h9 d3 I

  1962. ( o3 W4 K7 x; n; p
  1963. ; The location of the OPcache blacklist file (wildcards allowed).* F- `1 H2 w# A& L3 X
  1964. ; Each OPcache blacklist file is a text file that holds the names of files3 U3 [7 i  F5 d6 m; x! z$ |
  1965. ; that should not be accelerated. The file format is to add each filename
    % F9 J& T5 b8 f5 A
  1966. ; to a new line. The filename may be a full path or just a file prefix: i" V/ D) D) Y( p2 ?# t3 ]9 o
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    & u) K- S4 S# u/ I1 U/ `
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).$ c1 B# K+ Y6 `) @
  1969. ;opcache.blacklist_filename=
    6 o5 Q9 h2 ?' O  a

  1970. * w$ \3 O% h$ w" F+ s
  1971. ; Allows exclusion of large files from being cached. By default all files
    & D% L1 p. W' Y# J3 N
  1972. ; are cached.
    : Z& j: E- P( ?4 X2 }0 r/ N
  1973. ;opcache.max_file_size=0
    1 p* @1 h% @$ ?  X  r/ p* y# v

  1974. 5 W, q. {% N8 Q
  1975. ; Check the cache checksum each N requests.; ?5 s! p7 x2 ]) [
  1976. ; The default value of "0" means that the checks are disabled.
    ; B% G6 ~# I2 ^$ P
  1977. ;opcache.consistency_checks=06 \' f& V  b" m1 m2 ?

  1978. - O0 `4 A- K( r3 U. t( }
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache0 o  ]6 D8 L! ~5 n) V( w; b
  1980. ; is not being accessed.
    2 W5 Y- N! H1 U% v1 I4 p
  1981. ;opcache.force_restart_timeout=180
    - n' U# E3 f- `% Z

  1982. 8 i% K! f+ ]" y7 f; I' [
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    0 `/ y! S. N5 h! D4 W+ ~: e
  1984. ;opcache.error_log=7 M4 g" I# M: J6 I0 E2 ~( f/ R
  1985. , N2 _9 o, }) S
  1986. ; All OPcache errors go to the Web server log.; Z) F0 L; r6 B  U7 P5 F
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ! {# ?- p3 ~# h7 q5 H: X6 L% w
  1988. ; You can also enable warnings (level 2), info messages (level 3) or1 [6 H6 O* E$ D, C. S: _! h
  1989. ; debug messages (level 4).# {/ D2 q" s5 b- D( U' S) j: y
  1990. ;opcache.log_verbosity_level=1; o2 `+ ?* g1 Q. p, a4 W) G, W
  1991. % k0 F0 q  ?4 B8 ~# C' s. V: o1 O
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.' x; D# b" b/ m7 Q
  1993. ;opcache.preferred_memory_model=
    " Y  V9 N& K& l7 j; `
  1994. & X5 M/ D# D6 J1 p( M2 d, g0 `
  1995. ; Protect the shared memory from unexpected writing during script execution.; ~3 N1 ]/ H! u) ]( \0 S! @
  1996. ; Useful for internal debugging only.
      g8 f& G' L) J5 |  e
  1997. ;opcache.protect_memory=0, z  e$ q3 x* V0 L/ K& x
  1998. " \) H' ]4 s+ M. e. V
  1999. ; Validate cached file permissions.
    & ^% r* s( \9 ]/ C  \
  2000. ; opcache.validate_permission=0
    " o. x6 ?- I, l
  2001. ' `/ L3 k, ]! u8 x$ i; L6 D6 d- k
  2002. ; Prevent name collisions in chroot'ed environment., C% [$ l, R. A% N$ p
  2003. ; opcache.validate_root=0* p0 Q  T- t2 T

  2004. , P' s8 s/ m# O
  2005. [curl]
    0 Z/ `# I" J1 H0 j' ]2 P! G
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    1 Q# S& @7 Z+ t1 Q
  2007. ; absolute path.
    % |9 f# Q& o$ e
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ' a% w- s6 `: D8 ^
  2009. * j' w1 S* n, T! ?# F
  2010. [openssl]
    % d, o7 a& X+ u( K6 L; x; l7 P7 \
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ! D+ m$ F5 [) Z
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should2 O$ z- g9 P+ Y2 o# Z+ Q) b/ V
  2013. ; not specify a value for this directive as PHP will attempt to use the
    4 Y' h1 l" j( H2 }
  2014. ; OS-managed cert stores in its absence. If specified, this value may still* n5 F9 [& U+ b+ r
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context2 i& p# @  n# v0 ~# J  g
  2016. ; option.
    ! f8 e/ G: t% J  Q8 D0 I7 l
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt% g3 f, ?4 ~$ i) _7 x" k+ ?  N5 B
  2018. 9 B7 j8 O; z# s9 r  ?: |: S4 S, O
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ; `/ ^+ }/ h$ i
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    . k/ v6 T3 J9 w8 v
  2021. ; certificate. This value must be a correctly hashed certificate directory.1 C3 U0 h: L; Q" ?4 L& P
  2022. ; Most users should not specify a value for this directive as PHP will1 p/ i+ V4 P% d3 v
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    3 v0 M& a  Y' o4 o, Q0 T2 x
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    + p" c8 M# ~# x. [( o2 X' b
  2025. ; SSL stream context option.  H8 l8 u8 f7 t3 C! {6 c$ n1 B
  2026. ;openssl.capath=& [8 N& ?& v: z' o: b& l

  2027. ; q8 K% Q- Z/ Q) K! x$ R# D
  2028. ; Local Variables:
    - O5 h* {* j, r. {) @; Q% O
  2029. ; tab-width: 4
    - _6 R8 E2 z$ R: I; @3 G
  2030. ; End:: C1 U' K7 E3 S( l. @# j8 @

  2031. + Z. Z7 j) I0 A& Y- e9 O
  2032. ;eaccelerator
    ( J4 w( z: x1 `& z
  2033. ' _( C' F7 z/ W% m# w
  2034. ;ionCube! ~! X" K% P6 Y4 w1 w0 j1 B) a
  2035. # T% Z- e8 W" F6 w
  2036. ;opcache  P7 [- k2 j$ S$ Y# p; R( M- y- Y! r% J

  2037. # R$ q) O! q! H( O0 y
  2038. [Zend ZendGuard Loader]
    8 j& g: Z& j5 X# s7 I
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so' g, B6 k) c8 Q4 w; b: O1 j0 v
  2040. zend_loader.enable=1# n5 [; g+ K0 U3 s
  2041. zend_loader.disable_licensing=0
    / w% Z; N0 s9 b5 |+ Z+ P3 U+ p6 t8 T* t
  2042. zend_loader.obfuscation_level_support=3+ B7 T1 F5 K& a0 F9 U1 @# Q
  2043. zend_loader.license_path=1 m3 v$ R0 ~3 ?  E. Z7 M$ B

  2044. - y5 }" c: V1 K8 L6 f
  2045. ;xcache
    2 y' @; f' `8 H+ `! C

  2046. 9 R% }$ q* {* D
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692. w7 g/ z; N$ y* `" Q. s
2 }5 _7 y- i  Q5 x# t
% a; M% f) D  ?' l& d$ p
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
! _( t9 e0 |$ r9 m5 Q: f3 |+ o- L/ R: c/ c) L1 P6 V6 x( }' T' D3 B7 K
Discuz!程序版本选择:
( ]# @- u0 z$ B- V. V, L% q, _0 W! Z站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,- M! r3 c& K9 k1 o9 n0 D6 u$ `5 C
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:4 i9 W8 _5 ]2 y* Y8 t
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。. j7 a1 ~9 l( y# S, K) f" M1 t( K

5 Z3 I- n$ p9 q1 v" bDiscuz!插件模板版本选择:
: C  l! l- k0 j! j1 T0 W+ N. N很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,; g9 V1 _* W& C' y; P6 H# l. q" Q2 L
针对这个问题做个统一的普及:
3 Q1 v6 d; W7 u$ d$ bX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。& d( M4 c0 `. g* z% |% F

, X* ?' {% n2 Y8 `% i' ]$ ~) ~/ G5 G所以
$ `: t0 n! g- ^  P适合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的二级域名。
3 X# @% q9 U$ L) x打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。$ N! M' N5 Q* S2 U* n7 {/ D4 W
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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