分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0/ ^" I  |% B2 X6 e* u" Z

' g7 p# c( H1 l! M, g
  1. [PHP]
    + I% z/ i; F: u' F

  2. # N& @6 q5 F$ i9 [: z3 Y" ^4 ~3 a
  3. ;;;;;;;;;;;;;;;;;;;
    ; ^3 M2 w0 M4 W5 R
  4. ; About php.ini   ;: F. ]7 l! ~7 c; _
  5. ;;;;;;;;;;;;;;;;;;;
    $ o% K3 e$ |1 w- G
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ! T; o2 M6 w, P1 A% K
  7. ; configuring many of the aspects of PHP's behavior.0 X) {. Z6 N% T* y" g
  8. 3 h8 B$ p$ y# s% a, r# C! E+ D
  9. ; PHP attempts to find and load this configuration from a number of locations.& z: J( S3 j( a* q, Q4 l/ {. v" t- v4 u
  10. ; The following is a summary of its search order:$ T7 ^5 j  v- G$ ~; k- T# G
  11. ; 1. SAPI module specific location.& `& w8 V2 V! O/ b+ j. o
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    , S0 x6 |, k: a; D$ O/ |( T: z9 a
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    & m9 r" Q, G8 q; L: S7 ]' Y5 x
  14. ; 4. Current working directory (except CLI)
    9 x5 ?7 J& V0 I0 e0 K+ @6 D5 r
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP! c0 `; R: [' W2 D
  16. ; (otherwise in Windows)8 S+ \9 ^9 G! A' Q
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    5 n- |# T) t/ P  q, o/ P, @5 Z, f
  18. ; Windows directory (C:\windows or C:\winnt)+ x- f' V9 b/ b4 ^/ e* p! e
  19. ; See the PHP docs for more specific information.6 K$ U. e- |! G
  20. ; http://php.net/configuration.file6 t: @- Q7 D. ]) t+ K

  21. ' }& T& V4 A% Q& ]
  22. ; The syntax of the file is extremely simple.  Whitespace and lines5 E" E% x  K4 B4 j) s: k
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    1 i- m- G  {1 \" t3 Y* t- Z
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though( ]: |0 V# p! ?
  25. ; they might mean something in the future.
    $ W4 w- p: o! z2 H6 c& j1 x

  26. ( n( w, ]+ s, S1 ?1 L
  27. ; Directives following the section heading [PATH=/www/mysite] only
    0 q6 L% H3 x& X$ |/ Y( s' r3 f
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    , I3 K: X) ]( g% J- Z. g5 Y
  29. ; following the section heading [HOST=www.example.com] only apply to
    2 x3 I, {7 T9 @: w7 ]
  30. ; PHP files served from www.example.com.  Directives set in these
    * J/ S4 m) H% @* c5 k) _9 w
  31. ; special sections cannot be overridden by user-defined INI files or# i& ~( g7 n+ w; Z2 }
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ; f% x9 E6 b+ U7 O: C# r7 I+ A9 Q
  33. ; CGI/FastCGI.3 {: h) t; ^2 l9 m' n0 j  z
  34. ; http://php.net/ini.sections$ c9 S4 f2 V4 ~- a3 J! |, X

  35. 6 ]- z$ E, A5 J& h# e
  36. ; Directives are specified using the following syntax:/ M% I. |) N3 x  A4 u) U' C& F
  37. ; directive = value
    ; W8 @7 p9 b. ?: x0 f$ j8 [/ `
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.. T, A6 g, d1 D: p! W3 c
  39. ; Directives are variables used to configure PHP or PHP extensions.
    9 W) D5 C+ t( i
  40. ; There is no name validation.  If PHP can't find an expected/ ^, o; v% N3 i* o8 u# Q; [6 {
  41. ; directive because it is not set or is mistyped, a default value will be used.; _" G+ M7 u7 o
  42. $ n0 l! |0 q% r* ?
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ) V% h/ K8 A2 o# I- s% l) |
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    # C) q5 J7 D$ r) ^" z# \' S* F
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a: t4 d2 q0 @, H- @3 x& M
  46. ; previously set variable or directive (e.g. ${foo})8 o0 A, K0 |0 l6 h

  47. 3 z5 j2 Q& Z" ?# T' j
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:' l3 F5 D( J$ m1 b9 G4 |, Q7 I
  49. ; |  bitwise OR+ @  g% \6 `2 F! K- u
  50. ; ^  bitwise XOR3 t* l7 G+ k  @+ N7 S- M7 C
  51. ; &  bitwise AND! }( t/ y# U; n2 `4 a) _' q
  52. ; ~  bitwise NOT
    + o1 K3 ]( j* J' u
  53. ; !  boolean NOT
    4 [8 a% V+ W9 p% M6 {3 a; f- y) g" A
  54. ' L! c& r1 b: J, V1 e% r' Z1 a
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.- o6 H/ k8 j+ H- w5 X" W
  56. ; They can be turned off using the values 0, Off, False or No.
    6 N3 y7 c* z7 |9 m# O6 {

  57. " C% X& P  ^$ R4 }& P
  58. ; An empty string can be denoted by simply not writing anything after the equal7 `5 y' k" D  s4 D+ {# g6 D
  59. ; sign, or by using the None keyword:0 {9 v  t3 F5 H4 O

  60. ' E# e( z2 S0 z& h
  61. ;  foo =         ; sets foo to an empty string
    ; j0 [- r+ I# n$ ?& B, z
  62. ;  foo = None    ; sets foo to an empty string: |6 C  d7 x9 p
  63. ;  foo = "None"  ; sets foo to the string 'None'! n. i! ?& V6 ~9 F2 ]' j
  64. $ e9 w) r. M. g0 [
  65. ; If you use constants in your value, and these constants belong to a) J+ |+ e. b4 Q5 V, u2 E+ K$ J
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension)," x  }0 M# p! Q! i
  67. ; you may only use these constants *after* the line that loads the extension.
    % D# A4 i7 v% P. n7 ]

  68. 2 \, \2 ^. B9 P  c- n; k2 ]3 n; T
  69. ;;;;;;;;;;;;;;;;;;;: ~$ z4 M  W4 C! ]; {
  70. ; About this file ;
    * d- y6 f) M" {  y5 [8 ^
  71. ;;;;;;;;;;;;;;;;;;;0 r: V& \  S" @* O$ H
  72. ; PHP comes packaged with two INI files. One that is recommended to be used* L' t0 E9 z! S) H3 M* f6 p
  73. ; in production environments and one that is recommended to be used in0 m, j( @: H3 Z/ e/ j
  74. ; development environments.5 y3 ]- s5 C6 Z" J
  75. , f+ p: @& d* [
  76. ; php.ini-production contains settings which hold security, performance and
    7 y$ i* I9 k% x% I
  77. ; best practices at its core. But please be aware, these settings may break; n6 p  u* p' }0 w( r& s, m
  78. ; compatibility with older or less security conscience applications. We
    . a! f0 _6 @0 i' z# b+ A5 T
  79. ; recommending using the production ini in production and testing environments.
    ( s* t1 S% `, a$ M8 t+ x; ~8 g

  80. & n' P8 _3 z5 Y
  81. ; php.ini-development is very similar to its production variant, except it is
    / G4 B9 M; Y0 `" e6 G# a
  82. ; much more verbose when it comes to errors. We recommend using the) i- J) w, N0 f. j7 `9 G
  83. ; development version only in development environments, as errors shown to$ j6 k3 S( c( N2 P2 d! V) Z; q
  84. ; application users can inadvertently leak otherwise secure information.! A* I+ I  G8 ]1 Q2 q. |

  85. 0 z+ x  S2 d3 {  G5 f
  86. ; This is php.ini-production INI file.
    # u5 q1 {& s# Y
  87. ' w3 r) A5 q% E9 g* d
  88. ;;;;;;;;;;;;;;;;;;;
    ( @' R! |6 \6 q  U# a0 D
  89. ; Quick Reference ;
    2 C: c1 d. q/ O' Q8 [* y2 D  ~
  90. ;;;;;;;;;;;;;;;;;;;2 u7 S+ F. B0 f/ X. f3 u/ o8 E1 z
  91. ; The following are all the settings which are different in either the production
    8 j7 s8 s) R+ M4 O( M2 H9 _
  92. ; or development versions of the INIs with respect to PHP's default behavior.5 S+ p# L) Z  i+ c
  93. ; Please see the actual settings later in the document for more details as to why3 u8 S: n1 [% Y6 T
  94. ; we recommend these changes in PHP's behavior.
    3 o- S6 V8 ], }( U+ K" f3 j- b
  95. 6 F. J+ ~; d+ X; L
  96. ; display_errors5 s- P. |5 X( V* N, ?9 P; I! N6 u
  97. ;   Default Value: On
    * F3 Y# U5 t/ F
  98. ;   Development Value: On8 `: H' Y* l/ Z5 `; b; b3 C
  99. ;   Production Value: Off% [7 H4 f  _! ^/ {& l9 d# M
  100. : O4 J, H' R- o) v: V+ [
  101. ; display_startup_errors4 w/ m% g- a7 A
  102. ;   Default Value: Off
    " g# d1 I* B6 G/ D6 i" ^
  103. ;   Development Value: On
      p# v$ Q2 H. C" j8 ?& Y0 `
  104. ;   Production Value: Off7 u8 T4 i, u- j9 U  `& H0 u/ s

  105. ! s1 A' {  s2 m: {0 a$ w
  106. ; error_reporting
    - H' R$ a7 t& C3 P
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  U6 q7 c) f0 S5 i4 c6 i
  108. ;   Development Value: E_ALL
      q7 D, @! }( `" c( D/ h& K
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT4 V+ e; n8 h  j% X# Z+ F  c& n

  110. $ V+ ]9 e2 \) H; @
  111. ; html_errors/ i; [! g: C9 ^. v, x' h9 Y; m
  112. ;   Default Value: On8 Q% X) u* ]$ m' E* d. X
  113. ;   Development Value: On8 X5 Y3 Y" b, @) g1 O
  114. ;   Production value: On
      _$ v, S' r# ]: ^
  115. ! q4 Q/ Q. Z  `2 s4 @' |
  116. ; log_errors$ x7 d# t* R5 H3 d, S6 ^0 N5 G) X
  117. ;   Default Value: Off
    * \1 C: Q: B+ j
  118. ;   Development Value: On+ d+ S1 V8 p3 }3 P$ q# I& x  H. [
  119. ;   Production Value: On# p, n) S6 b" N7 u3 p
  120. 0 G% ]  L  V; k. S. e
  121. ; max_input_time
    9 M* [) F$ @  a6 ?0 N2 }/ m, \
  122. ;   Default Value: -1 (Unlimited)- f$ {$ @% P% P. X& i1 O* Y
  123. ;   Development Value: 60 (60 seconds)) d7 C8 c, k, z2 T
  124. ;   Production Value: 60 (60 seconds)8 X7 u7 ^' F- n% v8 O
  125. & I  Y. w  H) \9 R% f( J: s
  126. ; output_buffering: F  [+ ]- n, T1 E7 o! Q' Z* g
  127. ;   Default Value: Off
    ) O& p7 H' G3 @: n/ A! l
  128. ;   Development Value: 4096
      f) s3 F+ d9 _: F( d0 P9 t8 D# i
  129. ;   Production Value: 4096% ^: _% \* o: ~) E6 J; ?. X4 B& M' [

  130. 1 V5 f, N+ I+ g/ w9 f2 ~
  131. ; register_argc_argv
    * I, L7 s$ h3 ]1 E
  132. ;   Default Value: On0 J1 E* q4 y) R9 w" x! w/ _6 n: {' B
  133. ;   Development Value: Off  \7 K( ^4 G# n5 l
  134. ;   Production Value: Off3 U% \1 s0 u( D5 {
  135. 4 I% ~- K1 P9 b( N- U2 i( [& ~5 T
  136. ; request_order7 P8 w' j& g4 s* G% O" L# @
  137. ;   Default Value: None3 O( M3 I/ k. {* I. X: E' M' \
  138. ;   Development Value: "GP"( W  p* v: l3 O3 r
  139. ;   Production Value: "GP"
      c6 m3 i1 O& ?$ W; A6 X7 N
  140. 7 n5 m$ b9 R* R
  141. ; session.gc_divisor
    0 L/ C$ p0 H8 ^; D9 [/ G
  142. ;   Default Value: 1001 f6 |5 g3 G- q, a1 q  ~4 O9 G
  143. ;   Development Value: 1000
    4 u# {& b. E& `0 W
  144. ;   Production Value: 1000! d: m6 S8 [  \, d2 e0 Z' c

  145. + m! U3 y+ E0 }# a) L5 t) v
  146. ; session.hash_bits_per_character
    ( H2 E5 A, y* ?: g5 P
  147. ;   Default Value: 4
    * [# O$ I) J0 R$ X- f
  148. ;   Development Value: 5) k  u+ ~9 Q! F+ o& }9 t1 B
  149. ;   Production Value: 5
    : c: }: c  z. h% r

  150. 5 |9 I& A. b; q4 n8 ]( P
  151. ; short_open_tag5 M9 c5 N+ S9 J9 U. W. i
  152. ;   Default Value: On8 [8 T/ \6 p1 B7 U6 W+ X. m# h/ n
  153. ;   Development Value: Off' L1 n3 h  n8 }7 S, m3 M
  154. ;   Production Value: Off, b; t' e' V. f6 `8 D* e

  155. - L4 v) h/ V/ M7 \
  156. ; track_errors
      y  C- }3 N; V& F. A
  157. ;   Default Value: Off, l* R# F& O" g
  158. ;   Development Value: On2 S9 Y# k% b& l
  159. ;   Production Value: Off* j( q/ p! Q+ ]4 L' J: }9 K

  160. ; x# I+ K% o1 ?# |4 S5 _
  161. ; url_rewriter.tags& O3 b& x& z9 t- t. o4 A  \
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ R3 R! b7 K5 ?" a  W: L
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 F, B8 q* C* I4 ^5 q, D/ `
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") ]. R% [/ k" X( g) ]

  165.   Y6 Y# ^  o7 p1 m4 t* Z
  166. ; variables_order5 D1 F4 [& b0 [; d8 ?  `* l1 ?
  167. ;   Default Value: "EGPCS"0 H; V0 E5 u& k/ J6 i1 G! q8 D
  168. ;   Development Value: "GPCS"2 u/ U% E- R5 s/ h% K4 o
  169. ;   Production Value: "GPCS"/ h( t- n3 K+ T5 @/ ?6 {! u/ O+ {' m
  170. ' P; w- r, e; j& h
  171. ;;;;;;;;;;;;;;;;;;;;' n/ _5 a/ x4 v1 A
  172. ; php.ini Options  ;
    $ U: |8 L4 L- z
  173. ;;;;;;;;;;;;;;;;;;;;7 t& a* @( g, O! F( [
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"7 K, \/ s2 X. \% H4 {' f  ~# t. }
  175. ;user_ini.filename = ".user.ini"3 L, _1 [+ _, v9 U( v

  176. & G* l. E7 ~) j
  177. ; To disable this feature set this option to empty value7 q/ `* ^1 i3 v8 L
  178. ;user_ini.filename =
    ) m9 d. G2 l! v. A- ^. R5 j; N  @
  179. , Y4 A% O( r" V, X5 Z: @6 P
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)1 M% j) s# m7 I/ }7 y
  181. ;user_ini.cache_ttl = 300
    " v, Z' B8 w+ u( E! f
  182. % f: C$ z8 V' A% m) Z
  183. ;;;;;;;;;;;;;;;;;;;;
    ; b; R$ ^/ `4 u5 [
  184. ; Language Options ;
    : ]: ?# r1 d  S
  185. ;;;;;;;;;;;;;;;;;;;;0 r5 l+ Y0 d0 c  g7 h8 m
  186. + D" g4 D3 e1 f5 N/ z) @( a# }$ S
  187. ; Enable the PHP scripting language engine under Apache.
    ' I, S  h" N0 D1 W7 g# {" w- i+ B
  188. ; http://php.net/engine
    5 M% i: m3 r1 i/ m- w1 g
  189. engine = On
    & J& ^  b$ ?0 y$ C  R1 P

  190. & \+ |9 A$ }3 t% E( m! v/ ^/ v
  191. ; This directive determines whether or not PHP will recognize code between9 y  A% J# h5 e5 [8 _
  192. ; <? and ?> tags as PHP source which should be processed as such. It is5 d) Z& |0 C; U# N
  193. ; generally recommended that <?php and ?> should be used and that this feature
    9 L% z# P+ h+ k7 ~
  194. ; should be disabled, as enabling it may result in issues when generating XML
    " y7 Y6 L5 U/ K' d7 b
  195. ; documents, however this remains supported for backward compatibility reasons.; r( e1 h6 {" z0 B! E
  196. ; Note that this directive does not control the <?= shorthand tag, which can be" Q$ U0 e; q) `! `& H3 V: \( S$ w
  197. ; used regardless of this directive.
    : P8 d& U- s6 Q- I7 c8 H/ V; L3 A
  198. ; Default Value: On
    9 Q( W& j6 H. v8 P# u1 J
  199. ; Development Value: Off* A: n2 _$ g* c6 V
  200. ; Production Value: Off% C! O% Q- f: M* V" t
  201. ; http://php.net/short-open-tag. H: W* v& k: K: n1 ?
  202. short_open_tag = On2 W6 E9 _( k/ V( _
  203. 9 L* ~, j3 T; j
  204. ; The number of significant digits displayed in floating point numbers.
    % R/ U; x1 ^( T( K& {  Q/ D6 K
  205. ; http://php.net/precision  ?/ x5 j* g; S( m& G; E4 b8 W
  206. precision = 14( q; @! c; R0 F. M  R6 G
  207. * G: J4 M% ]& Q0 w) z. l
  208. ; Output buffering is a mechanism for controlling how much output data
    0 d' v$ [* Y) l% l+ F/ N+ ^) o
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that) Q. f, M3 d# j
  210. ; data to the client. If your application's output exceeds this setting, PHP
    ; Q; `4 X* l: Y2 }
  211. ; will send that data in chunks of roughly the size you specify.8 k! ^+ a$ `+ ~8 E% d' b
  212. ; Turning on this setting and managing its maximum buffer size can yield some' G; d9 v) i6 N, f
  213. ; interesting side-effects depending on your application and web server.
    : d9 I8 u# z& u* Z
  214. ; You may be able to send headers and cookies after you've already sent output9 I, F$ C$ B. X8 r* Q, Q+ y# G
  215. ; through print or echo. You also may see performance benefits if your server is
    ! b1 _1 R0 Y$ ^" H
  216. ; emitting less packets due to buffered output versus PHP streaming the output, P) R  _5 ?; G
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance& v5 Z& `. a% |4 z4 C
  218. ; reasons.5 F2 o* M: o! i
  219. ; Note: Output buffering can also be controlled via Output Buffering Control% t2 @5 w' \: \9 L) ^
  220. ;   functions.
    1 C- j: G% {; P( ^: J3 P2 e# g
  221. ; Possible Values:
    . n! e9 Z2 j/ a5 H/ Y* z
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
      X. |5 Q; t( A! R
  223. ;   Off = Disabled2 C$ V5 \* A2 e+ Q
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    6 B# ?( ~, Y9 L8 R6 I# z
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI) }% Q- }& x- N
  226. ; Default Value: Off
    % `9 E) P+ G4 e6 j7 S( X; {
  227. ; Development Value: 4096
    : n4 i7 F% o) f( h, `
  228. ; Production Value: 4096
    4 |! N& d9 N, x$ B
  229. ; http://php.net/output-buffering
    ( Y. B8 I5 v4 ]. R5 p4 _0 I
  230. output_buffering = 4096% W% S* N' V( M% V/ M
  231. ! G( S! s9 a6 ?+ Q
  232. ; You can redirect all of the output of your scripts to a function.  For
    " d7 y6 b6 f: Y. v9 {  Z" n& x: Y3 s
  233. ; example, if you set output_handler to "mb_output_handler", character; I$ {/ \+ u, _0 t4 |+ {+ _
  234. ; encoding will be transparently converted to the specified encoding.
    6 V0 f$ E! y: y
  235. ; Setting any output handler automatically turns on output buffering.) {: ?9 B- S$ i4 i) n% c, w
  236. ; Note: People who wrote portable scripts should not depend on this ini# Y" v, |' v4 J' q6 D5 R
  237. ;   directive. Instead, explicitly set the output handler using ob_start().4 ~5 O9 D6 \: L: a$ S2 x! H! X
  238. ;   Using this ini directive may cause problems unless you know what script. Q4 W5 m0 E4 Q+ C
  239. ;   is doing.  H# w3 a1 H: Q' i3 l' P2 d
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"2 |  D9 s* Z: M" e* ]! x, L/ g
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ! N2 S3 m8 P2 ]1 C& v/ o, q
  242. ; Note: output_handler must be empty if this is set 'On' !!!!( \6 E2 `/ R! x! Y' e8 ^4 K
  243. ;   Instead you must use zlib.output_handler.
    ! r' i# ]/ a  x: O# `9 n  G$ @! U
  244. ; http://php.net/output-handler
    % K$ e5 V( ~! {9 w
  245. ;output_handler =, A( B" M. K0 X
  246. * h# A0 i( m" a( H% \- N8 r
  247. ; Transparent output compression using the zlib library
    % S# `( L  _3 S2 x
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    $ P# y6 M- u5 h. F3 N  w" F
  249. ; to be used for compression (default is 4KB)
      P* E, j; w6 g/ z
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP- W* n# r- d$ ^$ g# K2 C6 ], `
  251. ;   outputs chunks that are few hundreds bytes each as a result of9 @1 u+ R) e+ f
  252. ;   compression. If you prefer a larger chunk size for better
    ) Y  Y) U/ X' O% G
  253. ;   performance, enable output_buffering in addition.
    ' g1 V1 q0 f3 \; V  A
  254. ; Note: You need to use zlib.output_handler instead of the standard
    % v4 X! V0 _/ N" H2 h" t8 \2 n1 w
  255. ;   output_handler, or otherwise the output will be corrupted.
    + s+ I# ?. U% ]: Z, u5 R: t1 o
  256. ; http://php.net/zlib.output-compression
    9 U3 b) U0 q4 w( K9 J1 R# x4 i) f
  257. zlib.output_compression = Off
      [4 ^% H3 q1 E3 a7 W7 v

  258. ; ?0 O+ \7 `2 y5 Z
  259. ; http://php.net/zlib.output-compression-level& M7 v& j5 d5 A4 r" q1 J4 P
  260. ;zlib.output_compression_level = -1( S8 h8 i# a. X% t% _
  261. # D( S" a  f, o/ U/ Q+ A8 n
  262. ; You cannot specify additional output handlers if zlib.output_compression
    7 L4 T9 ^5 _9 o& F) P6 |0 G
  263. ; is activated here. This setting does the same as output_handler but in
    " ]. D- y9 J/ x8 f( A& a
  264. ; a different order.
    # {# r4 N/ r3 f2 S7 z4 c- S
  265. ; http://php.net/zlib.output-handler
    2 w. g$ y% ]8 n0 `! F
  266. ;zlib.output_handler =" b1 o' F4 U  T9 B, i2 u- q

  267. 9 s3 T9 |: G- U- i/ `
  268. ; Implicit flush tells PHP to tell the output layer to flush itself. v2 f, t: w9 h" j0 N
  269. ; automatically after every output block.  This is equivalent to calling the
    ; ]9 h, \; E  F; ]
  270. ; PHP function flush() after each and every call to print() or echo() and each* I. _0 h5 E( _
  271. ; and every HTML block.  Turning this option on has serious performance
      O8 P! H1 M& \: y6 A
  272. ; implications and is generally recommended for debugging purposes only.
    ) m  d  D* J* s% T: I
  273. ; http://php.net/implicit-flush. O0 B5 C, }3 l# l6 b
  274. ; Note: This directive is hardcoded to On for the CLI SAPI, K% }1 F) k1 f4 A- E$ H
  275. implicit_flush = Off
    5 I) d! j8 v  y  f6 i$ ^

  276.   N  T- R( d3 v/ i5 v* b4 S
  277. ; The unserialize callback function will be called (with the undefined class'
    % }: O* M7 h9 ^: U! e4 B- ?2 {  U
  278. ; name as parameter), if the unserializer finds an undefined class
    3 G" A3 Q7 c' [& g" p
  279. ; which should be instantiated. A warning appears if the specified function is5 y7 z4 b9 D; n9 l( @0 m: T
  280. ; not defined, or if the function doesn't include/implement the missing class.- ]0 f7 b2 A% \$ s8 o
  281. ; So only set this entry, if you really want to implement such a
    8 S* O4 L0 @) o& S: P
  282. ; callback-function.
    5 `4 O, u+ |( U( P
  283. unserialize_callback_func =% y5 n/ r' z! k% o
  284. , k  K2 o- ~+ u% u  W' o- `' e
  285. ; When floats & doubles are serialized store serialize_precision significant
    ) O9 T7 L8 q$ Y' C( O
  286. ; digits after the floating point. The default value ensures that when floats  B1 `/ t& W9 J
  287. ; are decoded with unserialize, the data will remain the same., [& |/ R% N' Z% ?  r( S; [- b
  288. serialize_precision = 179 R8 ?! T/ Y9 y, A- g) @$ f& R
  289. " i* |7 n/ g! g; }0 k& `0 `' L! l
  290. ; open_basedir, if set, limits all file operations to the defined directory& l+ a3 D; B! n" }" c
  291. ; and below.  This directive makes most sense if used in a per-directory
    ' _6 W$ b! X. u5 {8 ?! t' T: @; z% I
  292. ; or per-virtualhost web server configuration file.& S) k( h8 F4 p% A# a# L2 b. `
  293. ; http://php.net/open-basedir, K; s, X+ L0 K  Z- _
  294. ;open_basedir =
    ; o5 Y2 u6 ?/ h/ B
  295. # K) e2 ]/ ^( S$ @+ ^& V! L
  296. ; This directive allows you to disable certain functions for security reasons.
    9 d$ X# j6 Y  {- ?' m+ O" u( v2 I1 s
  297. ; It receives a comma-delimited list of function names.
    / c) \( \9 v1 E+ d/ G# d5 j8 Z- l
  298. ; http://php.net/disable-functions
    4 C5 |; M: P* j; @' i0 u1 o% ~" V
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    , j7 P  [8 m! _! @4 o7 w- l. J0 `9 y

  300. 2 U1 R5 T/ ~% @$ P7 C
  301. ; This directive allows you to disable certain classes for security reasons.. L; C: c/ }3 a. y. h
  302. ; It receives a comma-delimited list of class names.8 Z* M/ e# u3 j- B9 v
  303. ; http://php.net/disable-classes
    " N# ?  |9 f& `( B3 i7 h" {
  304. disable_classes =
    0 F4 e' g& B. }% h# d
  305. 0 t& X3 E7 [/ ^! e+ L6 n/ ?! j
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in1 h5 Y! \( k  B; j) C" G; ~
  307. ; <span style="color: ???????"> would work.
    4 g, @! w. R  g2 L& f& ^5 h
  308. ; http://php.net/syntax-highlighting* |7 m/ g0 q& Q
  309. ;highlight.string  = #DD0000& n9 S- |& v. r
  310. ;highlight.comment = #FF9900' L: n! P+ q( |$ q8 T
  311. ;highlight.keyword = #007700
    ) t6 }8 f% k. R$ Y
  312. ;highlight.default = #0000BB
    9 y  @% r9 X) t, q( B* [9 L- X* R
  313. ;highlight.html    = #000000
    9 j  S* i7 l/ V1 M% ]+ ]
  314. 6 G! J% Y% d) j
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    + n0 F* p, {; N! z0 E6 {
  316. ; the request. Consider enabling it if executing long requests, which may end up
    6 v! [! o% p2 t2 o
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior6 }4 @8 H$ S1 l" D
  318. ; is to disable this feature.9 ?9 D3 m* r7 g' n4 V5 {4 h) \% G: T+ M
  319. ; http://php.net/ignore-user-abort
    3 J8 t# o: B) a& B" B' }1 N
  320. ;ignore_user_abort = On
    : F9 N7 y( `: r1 u. n1 f1 [' c

  321. ) v4 Q3 B" X, C! G/ v+ X* }
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    0 d6 G. I, N3 o6 i. L/ s/ L7 Y1 Z
  323. ; be increased on systems where PHP opens many files to reflect the quantity of0 B# J$ z3 g1 D' D4 P: z
  324. ; the file operations performed.
    + g  M+ f( ]" B' T
  325. ; http://php.net/realpath-cache-size. S! O7 W& ]* j3 d5 p
  326. ;realpath_cache_size = 4096k6 G, c& E! }* u  N
  327. , c8 \7 Z& }$ x- O
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ( c  k* ~5 R# r5 }" r% v3 p
  329. ; file or directory. For systems with rarely changing files, consider increasing this# u7 z" ^% O+ L* _9 X$ F
  330. ; value.! r' w5 `5 F! v8 N( U
  331. ; http://php.net/realpath-cache-ttl, b" t0 {: R7 ^7 Y
  332. ;realpath_cache_ttl = 120' v9 C- B* N$ |4 l
  333. . k) Q* L. Q$ K6 K' ~1 u) E3 W# F0 t
  334. ; Enables or disables the circular reference collector.
    ; t, A1 l  {) ^! V( r  C! T8 ^& p
  335. ; http://php.net/zend.enable-gc
    : \3 o  ^  ?+ o1 B9 }" _/ Z: `2 u
  336. zend.enable_gc = On
    & f2 S( _7 W- {

  337. " s9 q3 }- h7 n
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ( Z4 d0 G- g( T( h3 z
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    % U4 p' i4 D/ A; V- j' C
  340. ; encodings.  To use this feature, mbstring extension must be enabled.  {: N0 Q+ t  j1 I0 x% `  S* v! O
  341. ; Default: Off# _8 J, k% y8 S2 }/ y  [) [
  342. ;zend.multibyte = Off
    / G5 o3 {* }- A

  343. ' W+ W" l" y" B
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ) |4 i/ e# E) Y1 o
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ; Y4 L. ?) k. i+ X3 l& _) J& X
  346. ; Only affects if zend.multibyte is set.5 [8 f. Q' f$ k
  347. ; Default: ""; l* E5 N% X1 D) v6 M9 S# z1 Z
  348. ;zend.script_encoding =
    & m8 T# e7 `; y7 d' g
  349. + t9 i2 j( f% k3 A" [; ~
  350. ;;;;;;;;;;;;;;;;;
    + ^( P8 D( {& U( V; @
  351. ; Miscellaneous ;
    ) s3 J2 x0 T* _: b
  352. ;;;;;;;;;;;;;;;;;/ K2 Y% p, w- b: Q# A9 u  C* p9 R
  353. 8 M1 }( n6 n$ P
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    + t1 |( E5 ]5 g" a! d  a
  355. ; (e.g. by adding its signature to the Web server header).  It is no security% [/ J9 X; G& S4 x9 \+ L
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    / y2 u$ D8 O, w' ^! W6 ~
  357. ; on your server or not.. V. I8 W, ]4 \$ x5 x3 R
  358. ; http://php.net/expose-php
    3 \! C( t2 l& h" O/ T& H7 k
  359. expose_php = On
    + z# O' i& _$ U& q1 u7 C, s
  360. 5 b, D: B4 g+ i7 Z
  361. ;;;;;;;;;;;;;;;;;;;& m2 f1 j4 B, @, z. s1 g
  362. ; Resource Limits ;
    " h) l8 l+ q2 U; g& n2 [
  363. ;;;;;;;;;;;;;;;;;;;
    8 J9 H( n7 V) }$ v0 c0 s
  364. # q& R2 G  k' Y6 w6 G, x8 E) H* k) ~
  365. ; Maximum execution time of each script, in seconds/ n  Y! V) ^' R
  366. ; http://php.net/max-execution-time
    2 V; Y- t) E3 [3 `5 f
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    & E7 [3 l6 M1 _; U% a* @
  368. max_execution_time = 3006 @+ e" F9 a7 o* g
  369. 2 B5 G0 ?5 ^1 S! w) n( N& @  e( K
  370. ; Maximum amount of time each script may spend parsing request data. It's a good3 j! M/ @) V5 N. [8 V/ x: ^& t
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    / \% @  p4 ?1 J+ E: k
  372. ; long running scripts.
    ) _  d9 B4 X3 p' g. P9 K& T
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI% p+ ]$ S$ Z( o
  374. ; Default Value: -1 (Unlimited)* Q8 v6 {/ s1 N4 b+ Q3 K) p& e) O
  375. ; Development Value: 60 (60 seconds)
    ( x; k4 d/ Y) Y( X# A# z/ K
  376. ; Production Value: 60 (60 seconds)
    : W7 `! g6 [/ Y/ K
  377. ; http://php.net/max-input-time
    : |! M4 n0 U2 K' ~
  378. max_input_time = 60% q# {8 X' i4 o$ j0 P6 q- m% w( O2 x

  379. + E" J4 B: }0 u
  380. ; Maximum input variable nesting level- M' T+ V  X4 R/ ^/ w
  381. ; http://php.net/max-input-nesting-level1 \) r5 j2 n, r- V! F- m) }$ `
  382. ;max_input_nesting_level = 64
    3 K( S) O5 f& E% ]- t
  383. 9 g6 M9 u6 N9 n- f8 A1 u& b8 ~* F8 |
  384. ; How many GET/POST/COOKIE input variables may be accepted
    ' H, m, e; _+ b& |6 R) h; ?
  385. ; max_input_vars = 1000# J2 Y2 }% x8 n7 H4 B7 N

  386. 6 @+ h" C9 L' w) f
  387. ; Maximum amount of memory a script may consume (128MB)
    0 E# A0 N/ J6 G. b# ^; E8 K
  388. ; http://php.net/memory-limit) m; h2 q; _, w4 U
  389. memory_limit = 128M
    2 v7 J% w" J& E7 `( J" O; y; j

  390. : p+ M  i6 W: Z# h8 c& A  H& ?/ E
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    . |( E. U+ D: K$ _* _+ o
  392. ; Error handling and logging ;
    % Z7 S8 X" a8 {8 @" O' R
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    + W/ @4 F9 Z6 J$ F5 \1 u
  394. $ p$ c* p. N8 q
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    2 N3 J9 C% ~' c. t5 b6 O
  396. ; it to take action for. The recommended way of setting values for this
    ( Y' j! T( W' B2 d" k: N( {
  397. ; directive is through the use of the error level constants and bitwise
    # H! Y  o% ?. M. ?* N
  398. ; operators. The error level constants are below here for convenience as well as
    - i! D7 r3 c8 ~9 K, d! Y, n8 w
  399. ; some common settings and their meanings." |4 m5 U' ^! s( K' L: V
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    , ^7 ~( u/ d" {0 M* `
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and" U2 @% [1 Z( Z5 `) S- g2 e
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    ; P# y9 S% ]3 G0 v/ Q* n; j
  403. ; recommend error reporting setting. Your production server shouldn't be wasting; Z! t( c4 X0 j2 q5 m/ W
  404. ; resources complaining about best practices and coding standards. That's what
    3 l; J1 [( i' D- p, ^# a- v4 ^
  405. ; development servers and development settings are for.
    0 Z7 Y0 \! V2 P, J
  406. ; Note: The php.ini-development file has this setting as E_ALL. This' ~- y0 P1 Q8 ?1 e# G/ r( s: }
  407. ; means it pretty much reports everything which is exactly what you want during8 M, Q5 C1 _" r$ f8 @. x3 z
  408. ; development and early testing., a: V! M) Y2 [$ W
  409. ;8 q! h5 {8 q& D; L( _
  410. ; Error Level Constants:
    ) r/ L( h4 M% A; c# `# L
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)% W: U; C3 E6 {: \) w
  412. ; E_ERROR           - fatal run-time errors+ o6 a3 [0 x# }# g  R' V! r
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors, U  R( g2 f/ }$ Y4 M6 p
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    + a& u. Q9 w; h! [! E. w
  415. ; E_PARSE           - compile-time parse errors
      U* f2 W# g; F, L5 C  f; _: ^6 [
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    4 v% d6 u1 s  b2 I5 H2 I  {
  417. ;                     from a bug in your code, but it's possible that it was
    8 F( Q+ E$ N" O9 Q, W
  418. ;                     intentional (e.g., using an uninitialized variable and
    & M; ^+ n. ~6 B$ A. o' Z" j, `
  419. ;                     relying on the fact it is automatically initialized to an
    ) N9 [0 R" _4 ?
  420. ;                     empty string)! L& p& G8 T, C
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ' j; k. n7 z/ v/ x
  422. ;                     to your code which will ensure the best interoperability
    / A" z9 p- q5 _
  423. ;                     and forward compatibility of your code% y+ T( m2 ]  ^4 I# c! h
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup! Z/ _& X. L* F) u, C* A
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    0 |6 x* [' m- Z- D/ T% u
  426. ;                     initial startup+ r; r+ B+ `1 z( d7 z
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    : I1 r( O5 N  N) R' s3 H
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    * t, l9 R# F8 @9 p1 Q2 l
  429. ; E_USER_ERROR      - user-generated error message
    $ h1 V1 _0 Q- o, k& ]7 U2 D
  430. ; E_USER_WARNING    - user-generated warning message' ]9 |# b3 C/ w5 z" U
  431. ; E_USER_NOTICE     - user-generated notice message
    ) d4 [* C6 I6 |( n
  432. ; E_DEPRECATED      - warn about code that will not work in future versions' W, q8 f6 ?8 {
  433. ;                     of PHP- _% v$ p# o" |* v
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    + Z- \3 D# v* `: Z: a
  435. ;
    1 _. P  v2 V0 K$ _
  436. ; Common Values:
    1 D, a. u/ h  ?( R  ^; ^- `8 [
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)  A( K$ }1 c; A6 k6 Z& E
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    7 R* r" x4 D% I4 z0 W9 |- _
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.), ?% ]4 Q: a& g/ x
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors), K( Y0 @* ]/ v7 M6 W4 |  V
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    + U& K; y( u5 {3 X0 t+ m
  442. ; Development Value: E_ALL
    0 d9 T) x4 g" R
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT. \/ c: K5 G& q2 Z+ C' |
  444. ; http://php.net/error-reporting; F9 w* j! Q" P0 u5 |  T0 r
  445. error_reporting = E_ALL & ~E_NOTICE
    6 A" J  g, v5 _/ ^$ m

  446. 6 r# b5 F+ @- X" C5 h% |
  447. ; This directive controls whether or not and where PHP will output errors,
    8 K  M: d( [) b- [+ P" j3 M5 t
  448. ; notices and warnings too. Error output is very useful during development, but
    0 o5 }& G3 H) Z7 b! W; N3 P
  449. ; it could be very dangerous in production environments. Depending on the code7 J7 O5 M. h8 D" @+ |$ d8 Y! E- P
  450. ; which is triggering the error, sensitive information could potentially leak$ A" D1 ^8 T3 s# ^' ^( Q, i; q
  451. ; out of your application such as database usernames and passwords or worse.! N6 r  g  l3 Q8 }
  452. ; For production environments, we recommend logging errors rather than
    & Y- q" x1 u" ]0 ^& f8 d, G
  453. ; sending them to STDOUT.
    9 |. ~! A& U3 O' L# O
  454. ; Possible Values:
    9 N+ M. V/ _% ]8 x- w$ \
  455. ;   Off = Do not display any errors
    4 E% C$ W: O8 ]
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    1 @+ ]  `0 e9 U; ?7 C  |
  457. ;   On or stdout = Display errors to STDOUT
    * @; U$ D9 h+ C3 y
  458. ; Default Value: On- U9 \' w& W9 h3 V; r9 t3 u8 }
  459. ; Development Value: On- P, b" T* ~3 F0 K+ X: R
  460. ; Production Value: Off; R# v! t8 E. D) V& d
  461. ; http://php.net/display-errors4 s0 G% ~9 D' u1 i7 D( T
  462. display_errors = On
    . u4 V6 D- o* K2 K& g4 K. E. F

  463. / k3 C" i. y5 R0 n: u/ S
  464. ; The display of errors which occur during PHP's startup sequence are handled
    ) R8 `# d9 F1 q* }& s
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    / @+ s9 |( f/ S, I1 F
  466. ; errors from clients. Turning the display of startup errors on can be useful in2 q* o0 L9 D# k: u2 @) }, g/ p; w
  467. ; debugging configuration problems. We strongly recommend you5 J6 ~9 b. C: V: U4 o; O
  468. ; set this to 'off' for production servers.0 z4 ]* r7 O8 o4 N* }
  469. ; Default Value: Off
    % U: @8 M8 _( y" n6 a
  470. ; Development Value: On
    - M! s& K2 ]' @$ V9 r$ J( U: J
  471. ; Production Value: Off3 F- f+ [; h/ }+ c" K1 y1 ~
  472. ; http://php.net/display-startup-errors9 H4 x- W- H9 I& R' `0 R+ n/ c
  473. display_startup_errors = Off# D+ D% i# o; I4 ^' ~

  474. 4 _. f" ~. t7 |9 }0 w
  475. ; Besides displaying errors, PHP can also log errors to locations such as a  r6 N2 d8 g1 J+ o+ S2 U
  476. ; server-specific log, STDERR, or a location specified by the error_log1 i2 p  E7 v0 \. D$ I
  477. ; directive found below. While errors should not be displayed on productions
    8 C) y3 [# R8 \) d. x1 s
  478. ; servers they should still be monitored and logging is a great way to do that.8 I( n) T9 |0 m7 G
  479. ; Default Value: Off
    / `& C% @% Z, X( r1 i, G4 V
  480. ; Development Value: On( D- Q1 e+ K, H9 @( Q: \7 q' r
  481. ; Production Value: On
    2 ~9 m/ X3 y' i  Q7 y- y
  482. ; http://php.net/log-errors+ J, ~$ J( S  V; I
  483. log_errors = On
    + E- V! W: }: \, x
  484. # X4 L6 u  C" I. n, B7 ]$ m8 c( n
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ' p& ?! t. t' o' T' G
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
      e/ {& V& F7 `, ?" X4 @- W
  487. ; http://php.net/log-errors-max-len1 M4 J9 f( e  {7 ]
  488. log_errors_max_len = 1024
    8 p% |" f% l7 ?

  489. & N3 k3 ~; M+ s" v
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    % C1 i+ }3 H9 g8 m
  491. ; line unless ignore_repeated_source is set true.0 M3 t) _6 P5 }, ]; h0 ^# c+ }/ B
  492. ; http://php.net/ignore-repeated-errors  f3 f" y( i4 |" `& _! T
  493. ignore_repeated_errors = Off) i, l$ ?9 ^4 y! _8 a' F
  494. 3 N0 c2 t0 ?0 g0 [3 G: s( W
  495. ; Ignore source of message when ignoring repeated messages. When this setting- ^7 L" G/ n* Q. t: q3 S
  496. ; is On you will not log errors with repeated messages from different files or
    , u3 f) U. H' c" @5 E% R9 o
  497. ; source lines.  Z7 H+ w) J1 Q1 i7 y$ b: h
  498. ; http://php.net/ignore-repeated-source4 t1 [4 [. j$ Y* l; I
  499. ignore_repeated_source = Off  b( s- F5 k0 c, l! b7 ?
  500.   |; I& F, C+ k; D1 {
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    8 `" J0 D  z0 l3 Q+ H- r
  502. ; stdout or in the log). This has only effect in a debug compile, and if& b. w$ }. w! ?. T" g
  503. ; error reporting includes E_WARNING in the allowed list7 C. v5 V6 D4 Q' C$ {/ f3 L' C
  504. ; http://php.net/report-memleaks, V: d: {5 o5 b! d1 f6 X" `3 f+ r
  505. report_memleaks = On
    8 p1 c$ r8 p$ X
  506. ; m+ p% w$ D! k' f! ^
  507. ; This setting is on by default.
    * g$ R3 _" c# O) ^# x
  508. ;report_zend_debug = 0# r2 U, V( q! _& l

  509. 9 b* u; t. k) x. E
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value( Y6 S* u; j8 U1 _
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    . j: l: v3 I/ c6 b$ A$ o
  512. ; however be disabled on production servers.$ z. |: V! T6 [7 r  {1 ^6 a7 C4 h) t
  513. ; Default Value: Off
    : \  \3 b) V1 F. R4 |
  514. ; Development Value: On  U8 ?7 Z! p  L5 S! i2 ?1 H
  515. ; Production Value: Off
    . _# r( F0 W7 u2 l! m8 ], c6 `
  516. ; http://php.net/track-errors$ v+ b8 s7 W# i
  517. track_errors = Off6 I' N" X# ]) ]6 v

  518. / ]' q" |) _# x
  519. ; Turn off normal error reporting and emit XML-RPC error XML. [- a- T0 r' Z. [6 V' ]* v" C8 i
  520. ; http://php.net/xmlrpc-errors
    ' A- k1 e: D! s7 g
  521. ;xmlrpc_errors = 0
    8 R8 d. j' r9 H9 Q, t: ~

  522. * h3 t& g# B3 \4 p7 v% @% y/ @
  523. ; An XML-RPC faultCode+ j4 P. }9 C; Y" ]6 _) V
  524. ;xmlrpc_error_number = 0, i7 b5 N) D4 [) D# F
  525. % {8 y; }% s' m
  526. ; When PHP displays or logs an error, it has the capability of formatting the* T& Q- i, a7 m3 s- Y
  527. ; error message as HTML for easier reading. This directive controls whether' V* C( O9 P# A8 d/ ?; t" A
  528. ; the error message is formatted as HTML or not." V$ ]8 U3 m( G' t9 ^
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    2 p; P9 ^& c1 \  L. \
  530. ; Default Value: On
    - ~: M0 U6 W9 @/ d; l
  531. ; Development Value: On: x+ T1 _$ w5 G2 j
  532. ; Production value: On
    " C, J5 B( d/ p9 U& y) D
  533. ; http://php.net/html-errors
    ; p, e2 Q6 \0 S3 r! ]$ ]4 x) Y
  534. html_errors = On
    , B7 Y! ?" ~: S, i( N; t6 t
  535. ! \3 b$ B. O5 {8 V
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    . `0 z. e5 z2 Y1 K3 [( c0 W
  537. ; produces clickable error messages that direct to a page describing the error
    5 }& L, x1 Z# ~2 ]  v, X
  538. ; or function causing the error in detail.9 l# r+ @. {& k
  539. ; You can download a copy of the PHP manual from http://php.net/docs0 N# w, O7 y0 L% q" \
  540. ; and change docref_root to the base URL of your local copy including the& C# A8 J. @& ~0 ~
  541. ; leading '/'. You must also specify the file extension being used including
    % E* i( Q6 W6 H' y8 a
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    # ]% Z. d' A% J& ^
  543. ; case no links to documentation are generated.
    - N; a8 J  M  z
  544. ; Note: Never use this feature for production boxes.
      \# J! [" X/ n% @* y
  545. ; http://php.net/docref-root5 \3 h3 Q, H0 t% @, g
  546. ; Examples
    % u5 g7 s: {( U) X9 a# O$ t, v
  547. ;docref_root = "/phpmanual/"
    ; E; r" {+ d( f* l

  548. & ]5 H% u+ i  D
  549. ; http://php.net/docref-ext3 I5 r/ V0 J" g) h6 d2 j2 ^
  550. ;docref_ext = .html( I- P, s9 ^: {7 ]# _' g
  551. ; S/ f# K# _, w0 G6 `0 ?/ l& r+ a5 f
  552. ; String to output before an error message. PHP's default behavior is to leave
    9 J+ }, j$ H: B8 o
  553. ; this setting blank.7 X& T- P- s2 v; M! n+ R6 r& l
  554. ; http://php.net/error-prepend-string
    ' L0 X% l8 h, R% V4 t; O
  555. ; Example:
    9 [/ ?. g5 }# c" S
  556. ;error_prepend_string = "<span style='color: #ff0000'>"4 O( a( g* D3 z

  557. . v# `+ A; c0 s. |  Q
  558. ; String to output after an error message. PHP's default behavior is to leave6 k' z& k2 q* U& L2 X  u& C
  559. ; this setting blank.
    1 c( M! P; ]9 Z6 v$ ~
  560. ; http://php.net/error-append-string) l8 B7 W& L1 B7 D, _4 v( W
  561. ; Example:
    0 U2 I: h' O& D4 b) _1 Y( z( o
  562. ;error_append_string = "</span>"
    4 |' n' c! a$ ]  R

  563. * E7 x9 I7 M0 u7 B
  564. ; Log errors to specified file. PHP's default behavior is to leave this value2 W# o% @* \! O$ u- @
  565. ; empty.
    , ~9 R/ O1 \4 @' V
  566. ; http://php.net/error-log
    " p# T% `! R) k
  567. ; Example:
    6 E0 @1 E7 q# a. v1 d
  568. ;error_log = php_errors.log
    & _' e" A4 v/ ?5 ?
  569. ; Log errors to syslog (Event Log on Windows).( D# ]# v* G: U9 {0 n* e! D
  570. ;error_log = syslog
    0 @9 g  N' ^, [  S$ E  C6 L
  571. 3 @2 ]& @. m2 `# Y
  572. ;windows.show_crt_warning
    5 }6 M2 B5 t3 ?) {9 {9 D
  573. ; Default value: 0- q6 ]" Q1 O% x' R! @. u" e# a- t
  574. ; Development value: 0
    / `" V* T- q5 Q2 ~8 u9 U) g
  575. ; Production value: 0$ v# }6 P+ T1 t% A
  576. % v7 z, l8 w3 H+ g" \
  577. ;;;;;;;;;;;;;;;;;7 T' n  w1 T' Y6 b1 P" P
  578. ; Data Handling ;
    / P/ s* s3 i* |! W; Q
  579. ;;;;;;;;;;;;;;;;;! m+ T! f9 D( L: X3 ?
  580. # x1 j, v, ~# _9 q% R! L
  581. ; The separator used in PHP generated URLs to separate arguments.' h# h) o( ?; d, `7 C
  582. ; PHP's default setting is "&".' {2 k2 h& F' M( i. w
  583. ; http://php.net/arg-separator.output
    + `4 ?3 D! k# y; C
  584. ; Example:( N6 d" T) e8 R$ ~# d0 H  f8 N
  585. ;arg_separator.output = "&"6 r. O; P& N3 \8 l& K, `

  586. 6 p: j3 r9 [" b! K1 K! ^) B
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    , J. U5 m- n* w0 n
  588. ; PHP's default setting is "&".9 O5 Q; d  E, C9 J# {" C" l( m' M7 Y
  589. ; NOTE: Every character in this directive is considered as separator!7 {& s+ p6 q0 }) G9 d/ Q3 B
  590. ; http://php.net/arg-separator.input
    0 D, C' x5 X  Q0 [" K: G, q; S
  591. ; Example:
    & M! @* B0 l5 u" V
  592. ;arg_separator.input = ";&": k! [6 V, t6 J0 O. O# g* k
  593. 4 w) ]6 S/ \  l7 h8 u
  594. ; This directive determines which super global arrays are registered when PHP6 S  L0 e/ R$ D6 M
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super0 D" o! h8 q3 d* u: m# ^$ O
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    # l% G: H& V3 R+ @  _# V2 J$ C- Z
  597. ; paid for the registration of these arrays and because ENV is not as commonly+ O; ]8 R1 h- m" I7 D
  598. ; used as the others, ENV is not recommended on productions servers. You
    ; `& }2 U+ V+ t) l# H! i/ H
  599. ; can still get access to the environment variables through getenv() should you
    . T: A1 |( f, A% p& m. t* h* w9 a
  600. ; need to.1 X- z4 }: O: G5 l' m
  601. ; Default Value: "EGPCS", ~- E- l0 ~6 e4 Y
  602. ; Development Value: "GPCS"
    # `" ]# S& z+ P; ]: e% ]
  603. ; Production Value: "GPCS";: L- b) p+ Y3 m8 `+ m- B
  604. ; http://php.net/variables-order3 b! I4 d  @" H( ~
  605. variables_order = "GPCS"
    % u" E# V% t1 `& d! i
  606. 2 ]2 A, u3 n( @- X  g( j- P
  607. ; This directive determines which super global data (G,P & C) should be
    # C4 }. V% {- g6 m- K9 c  q
  608. ; registered into the super global array REQUEST. If so, it also determines
    ; h- Q3 j* L9 I6 ~# h+ w
  609. ; the order in which that data is registered. The values for this directive: \7 B: @9 s: n" C2 `, }
  610. ; are specified in the same manner as the variables_order directive,* m6 X4 j: k  e
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set% P; c  a) \* z1 k; j% m
  612. ; in the variables_order directive. It does not mean it will leave the super" f7 B) f9 P. Y  H# f8 C
  613. ; globals array REQUEST empty.+ G1 G& m  j2 O* b5 c$ u
  614. ; Default Value: None5 S- @% |" u3 f& G/ h3 k
  615. ; Development Value: "GP"
    9 K( O5 X* C, v5 L
  616. ; Production Value: "GP"
    4 U% m( m/ i! _6 u
  617. ; http://php.net/request-order
    ' c2 m9 @5 I' P1 J; k
  618. request_order = "GP"
      e& S# Q+ ?! e* a; ?; q

  619. 3 i( @5 R. J+ X( y1 j/ P1 y
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    5 ?/ a; J# z' z2 U
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    6 Y& u! o" }+ ]& e- l' k* l( g
  622. ; is invoked. $argc contains an integer representing the number of arguments. n) m5 M0 d0 T1 O
  623. ; that were passed when the script was invoked. These arrays are extremely# R/ \& U% q  p# F
  624. ; useful when running scripts from the command line. When this directive is
    0 `5 A8 H% Y3 r2 \7 _; b: k
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    , V3 E9 ]6 S6 {+ i
  626. ; a script is executed. For performance reasons, this feature should be disabled% p) x) X, E+ W/ i% j% @
  627. ; on production servers.: |4 g. p5 W- X- `+ g" V
  628. ; Note: This directive is hardcoded to On for the CLI SAPI9 {  n0 e7 O& \4 w, u
  629. ; Default Value: On* _; t  E: }$ o% h. R5 r% }
  630. ; Development Value: Off
    ; y% {* {) i, u7 k# \. j
  631. ; Production Value: Off
    . z/ y1 o) k$ S! m2 B
  632. ; http://php.net/register-argc-argv
    # y. N, a6 z) m0 h% X# t
  633. register_argc_argv = Off0 _* h* r8 }3 E
  634. + _$ d0 R# I1 T: Y+ W! D
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're% w$ Y4 j6 j1 f: M; F
  636. ; first used (Just In Time) instead of when the script starts. If these. ^0 k6 [& i; K. m
  637. ; variables are not used within a script, having this directive on will result
    % c; R  h7 v* M  ^- F/ ?
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled4 G6 q: [) z5 Q- I5 k
  639. ; for this directive to have any affect.
    2 U9 W: T2 J, R0 E3 a& c( `( U
  640. ; http://php.net/auto-globals-jit6 U! \# j; A) ~. M! ]$ U, z( t
  641. auto_globals_jit = On, J1 B; n& }% B- c$ u" V3 ]/ M/ {

  642. 4 P4 ]$ \, c+ V, i
  643. ; Whether PHP will read the POST data.
    " r& ?+ ~7 H% d- `$ @" }2 z: i
  644. ; This option is enabled by default.$ x8 k0 {1 W9 j3 Y1 [$ ^
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    8 \! ^6 l% _- z9 F$ g
  646. ; and $_FILES to always be empty; the only way you will be able to read the! x$ W) P; ~5 w: n0 i" V- d
  647. ; POST data will be through the php://input stream wrapper. This can be useful7 ]. b9 J4 `; p
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    2 @% Z, B4 u! M' c8 R
  649. ; http://php.net/enable-post-data-reading+ a5 H  K4 J  p' n4 u! X
  650. ;enable_post_data_reading = Off$ ?* ^& F0 W0 R: j# z7 H' N2 h

  651. , Z" l$ Q2 h6 Y+ q1 e/ p
  652. ; Maximum size of POST data that PHP will accept.
    " X7 z4 d1 G' C6 G% w
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading# L7 K6 k" r$ t, r% C
  654. ; is disabled through enable_post_data_reading.
    ( `, D# W& e- A$ \: x! [
  655. ; http://php.net/post-max-size" W1 D* V2 s' d. `% z
  656. post_max_size = 50M; K# ^- Q1 F% y) B& o( q" f

  657. ! C3 v  Q5 S  f# v; Y
  658. ; Automatically add files before PHP document.
      ^  [, g6 F" k; A$ Y2 A% U
  659. ; http://php.net/auto-prepend-file7 W6 e# F. H4 M, Y7 V( f
  660. auto_prepend_file =  U8 F. @! x- [! k- u

  661. ) V' j' p6 S9 {& \2 E
  662. ; Automatically add files after PHP document./ ~  h% B& Y5 v' }+ f
  663. ; http://php.net/auto-append-file4 R5 I4 t# @6 F2 b/ e1 {* i* G
  664. auto_append_file =
    5 @6 y: J3 ?% c0 |

  665. 9 g4 {/ t) r, Z$ W
  666. ; By default, PHP will output a media type using the Content-Type header. To
    4 _+ V/ {, f; ?- x! i! c
  667. ; disable this, simply set it to be empty.
    8 _) P+ B/ @8 P+ E% w: ~! `! E
  668. ;+ v# G8 X2 Y/ s
  669. ; PHP's built-in default media type is set to text/html.
    ( T- y7 O3 R; D. J
  670. ; http://php.net/default-mimetype& {: j0 {+ ?7 J# ~4 C
  671. default_mimetype = "text/html"
    / {. l9 Q7 M" G9 w
  672. 1 c/ x& H; j9 @/ l( m
  673. ; PHP's default character set is set to UTF-8.
    0 B+ l- Q' D% x+ e" _9 U) j
  674. ; http://php.net/default-charset3 F- `2 H1 r0 U% \
  675. default_charset = "UTF-8". |3 i) j$ W. ~) ?; @, T+ p
  676. & x5 `$ ~/ p0 v% J8 `
  677. ; PHP internal character encoding is set to empty.
    8 g1 Q) F6 D" C7 x3 I' \# r. C9 J
  678. ; If empty, default_charset is used.
    7 c+ T8 T( T( @7 V/ r3 L/ b4 X
  679. ; http://php.net/internal-encoding, s5 g  O$ }0 ?5 Y, Z- V6 N. c
  680. ;internal_encoding =
    + W, y; F' m7 z5 E; m: _
  681. ) j1 F# G) W$ t$ D7 Y  ?6 k2 t
  682. ; PHP input character encoding is set to empty.
    8 j1 Q! l, D: v: e8 \" X* n
  683. ; If empty, default_charset is used.0 j5 C0 t; ?* A2 ]
  684. ; http://php.net/input-encoding
    ' ], p$ a8 Y; [( j8 \3 W2 s+ ]
  685. ;input_encoding =
    ' I! n) u; }, W! S
  686. - b% g% E/ u5 B: `" V8 i
  687. ; PHP output character encoding is set to empty.
    ) r! Y! V) g8 c2 I5 `9 D9 {. D- Y
  688. ; If empty, default_charset is used.
    $ a" p* `- ^) k6 z
  689. ; See also output_buffer.
    . E4 u7 l8 j% k) O2 |0 T; G( P
  690. ; http://php.net/output-encoding% V0 g2 t3 r! K" W' \
  691. ;output_encoding =
    ; q& r6 k/ C2 y% x
  692. . O  T# N* ?% \3 P4 A
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;1 O0 {) A" S: J2 M! E/ s
  694. ; Paths and Directories ;- b. C5 C' U' q9 |1 k- p1 w# |1 B! _0 \
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;* Y" ^' g% e9 l: E
  696. 0 \2 B) l, p0 i% s  ?7 X. a
  697. ; UNIX: "/path1:/path2"
    - w, m9 E+ w% ~5 W
  698. ;include_path = ".:/php/includes"
    4 o0 r  D4 k( h" g1 \+ U) M- m
  699. ;3 n* k, l3 s2 e7 p& N9 ~/ {0 q
  700. ; Windows: "\path1;\path2"
    ; w8 ]! {1 [6 j! E) q0 s4 [
  701. ;include_path = ".;c:\php\includes"
    1 j$ H' J6 c# L) Y8 w* [: v
  702. ;
    $ H- p7 H% L+ Z4 D* Y
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"0 M$ g& F) b: S! f6 `
  704. ; http://php.net/include-path7 Z' L7 Z( r2 G+ s. g# J% U1 J

  705. ) o  Z! _- H* E$ X. ^: y
  706. ; The root of the PHP pages, used only if nonempty.
    9 q' x6 p7 B7 z7 ^& ~
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    * k% }, _- G- g; t) \! G
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ' q% k2 }5 W: D3 _0 W  x
  709. ; see documentation for security issues.  The alternate is to use the" z" Z! V: p' O6 N$ y  ~$ u9 R
  710. ; cgi.force_redirect configuration below
    * i8 o2 A* t5 D  ~
  711. ; http://php.net/doc-root) a# A! Y; \# U: g. ~
  712. doc_root =) q/ |( B& t( p0 s3 S

  713. ; P* V. q8 g+ {
  714. ; The directory under which PHP opens the script using /~username used only
      c- R. |/ _: A7 `( c
  715. ; if nonempty.6 b; W9 t) t6 R" h
  716. ; http://php.net/user-dir" O- D) B: n1 ~4 D
  717. user_dir =
    & ]8 G9 m. o3 w$ K. t
  718. ' F* W% h6 l$ R/ z- z1 ?3 p6 f
  719. ; Directory in which the loadable extensions (modules) reside.
    ) A  T- H, W; I: W) A( ^
  720. ; http://php.net/extension-dir
    9 q9 o8 t3 r$ b2 v  }0 R
  721. ; extension_dir = "./"
    " p5 @( n8 h6 h) [7 `( O! I0 C( n
  722. ; On windows:
    / `9 d8 D' @7 Z+ _' ?2 u
  723. ; extension_dir = "ext"' F% D3 {5 ]4 E, Z4 D  m

  724. + R/ l/ n$ a2 J7 A: @% L
  725. ; Directory where the temporary files should be placed.) G) p. A: [3 A( v8 H& w
  726. ; Defaults to the system default (see sys_get_temp_dir)! M% t& n4 `' X: L# x0 q9 t" \, x5 N
  727. ; sys_temp_dir = "/tmp"
    - x- B' `% E9 Q; F1 U, T& X

  728. / O- W' I, u8 {" x, u
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work% Z/ r! I$ e4 `  |. @" T6 ?/ d/ X' m
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically+ n" [8 J# R1 k% y3 K& ~
  731. ; disabled on them.
    ! O# G. p$ Y* p
  732. ; http://php.net/enable-dl
    6 j" T& {2 F+ I2 ]! P" ]* W  y
  733. enable_dl = Off
    & Y$ n; {& T9 u9 Q
  734. & S2 ^1 L4 t. A, [1 m0 f3 A" Z
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under: \) c7 W' C4 `1 j2 X( l5 U
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can1 N2 r8 ?7 S  T! @1 G0 D0 B: Y$ m
  737. ; turn it off here AT YOUR OWN RISK% f1 ]" S% }8 B4 B
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**1 [7 s6 W+ x2 d( Z  G
  739. ; http://php.net/cgi.force-redirect0 F3 s2 I! u7 @7 P7 e# ]
  740. ;cgi.force_redirect = 1
    . X# x2 S, W4 ^' f5 S9 i1 `
  741. ) r4 ~8 X. _, J: ]9 M
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    / L' Q+ z3 W# B; |4 ?* d/ v
  743. ; every request. PHP's default behavior is to disable this feature.1 W" q, ]9 }3 m$ `' {) s! q8 h: i
  744. ;cgi.nph = 1$ v  r1 S/ q" k$ i

  745. ; w4 o  p2 z8 V$ C) p6 D8 s6 b' e1 g
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape& S0 f) m1 C) A, L  ]
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP7 O& c6 _& S: ^8 o/ \0 x- m
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    4 m( O8 N6 {0 q2 u4 m
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    , P7 f$ S4 A# I- J! V7 M: f( [5 H
  750. ; http://php.net/cgi.redirect-status-env
    + z# N! @+ d2 A
  751. ;cgi.redirect_status_env =$ l7 I6 y' s2 N+ G
  752. # ]2 i4 n2 |4 a/ n1 O# [
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    1 R8 e  h4 o' o2 Y3 Q- W
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok* u7 U& ~5 \' N- G7 N* \
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    " s+ m7 G; x+ q  f# ]+ P0 L
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    8 r. U. |, a" C9 o8 S
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts4 _2 o4 h4 ^0 \7 [/ F
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.7 d! g+ d( M4 b- W; [
  759. ; http://php.net/cgi.fix-pathinfo& l8 d4 H8 q7 [) G# s$ Y
  760. cgi.fix_pathinfo=17 i0 T9 S  f3 L& e* Q" J0 r. T" I

  761. + x7 S/ ]9 W) H; \, g/ }
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside, \' C/ K2 y( U$ G0 H2 {, e
  763. ; of the web tree and people will not be able to circumvent .htaccess security.  }7 i1 h" r( _* o
  764. ; http://php.net/cgi.dicard-path0 h  ~' g: o/ j* r
  765. ;cgi.discard_path=1( l2 N. ~8 m5 s' a4 i/ a- T+ h

  766. ! F0 L1 @% ~8 I  H& G1 k/ U" T" J( e3 l
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate" O, X) x' m2 k5 N( n
  768. ; security tokens of the calling client.  This allows IIS to define the8 B$ F' U% a) {" ]
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    6 [' o+ x* B# T" o- ?
  770. ; does not currently support this feature (03/17/2002)5 [5 G, @7 v/ U  \& x, s
  771. ; Set to 1 if running under IIS.  Default is zero.! R* z8 F  o, W% h+ H
  772. ; http://php.net/fastcgi.impersonate0 E9 Q7 a% Q' n1 X  C# U
  773. ;fastcgi.impersonate = 1& m1 S8 \- t/ R/ J1 D! s$ j0 @
  774. + V2 q3 ~, l8 ]. m1 y8 v
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable+ N8 J! I0 v# C1 G  ?! H( d
  776. ; this feature.* }& y$ S2 \; \; y& F
  777. ;fastcgi.logging = 06 r+ |( X# g6 _' u2 a. |1 Z- L" q

  778. 3 O: M6 U+ n* j% P  F
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    0 ?  q5 j! S4 p% i& @* i3 Y
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that$ z( O! g9 q( O$ i* O' a9 q( y% j
  781. ; is supported by Apache. When this option is set to 1, PHP will send& z: X( \6 ?9 z
  782. ; RFC2616 compliant header.
    $ G, i( B: w" _0 Z* Y7 m9 W2 w. A
  783. ; Default is zero.
    9 Y6 K! j3 ]& _3 ^. [
  784. ; http://php.net/cgi.rfc2616-headers
    7 Z1 H/ R* \+ F. \) B6 S! Z
  785. ;cgi.rfc2616_headers = 0/ q# E9 \, s" ~
  786. , \* k0 o' w5 f9 x4 {7 F
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!# v. x2 B4 R% g8 N1 z# y
  788. ; (shebang) at the top of the running script. This line might be needed if the3 G3 a1 ~8 _, M% C" Q& v# f
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI- [3 p5 z' L/ R: ^% j2 D( e
  790. ; mode skips this line and ignores its content if this directive is turned on.
    7 l- P) m5 w/ v6 Y  w8 E
  791. ; http://php.net/cgi.check-shebang-line
    + v, @4 d* s8 U5 ?0 a0 Y& s0 P
  792. ;cgi.check_shebang_line=1
    % {6 f+ }) f! S  f$ X5 |6 l
  793. : t( c# X5 |  ^
  794. ;;;;;;;;;;;;;;;;
    : v# ?! I, Q. ]1 ?, \  c
  795. ; File Uploads ;
    ! u% G6 E% A1 b% m6 Q2 h5 i
  796. ;;;;;;;;;;;;;;;;
    ' p$ ?+ Z4 |/ B" V% d& [: H
  797. % A; w) b' h/ b7 E, B: @& h! A
  798. ; Whether to allow HTTP file uploads.
    + B# }! ~. V& X' L: t* V4 P  C
  799. ; http://php.net/file-uploads
    ) z1 b, F, H9 G% y& O5 t1 b$ @
  800. file_uploads = On: L9 m) H) P9 _4 r) x) o; g
  801. 2 c3 u! n2 ?, i; S- F% t  ]
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ; O- T" ?: S$ R  D+ s# ?; x: @
  803. ; specified).2 l+ g: Q5 l" ?& R
  804. ; http://php.net/upload-tmp-dir$ K2 i7 C4 Q2 z% u  [4 Y: k% i5 @
  805. ;upload_tmp_dir =! i* o! i  |/ ]6 A# `+ Y6 [0 @

  806. ' f8 `5 M/ P- H
  807. ; Maximum allowed size for uploaded files.. a- Q+ b6 A; A& R1 K% X) a% f
  808. ; http://php.net/upload-max-filesize: V0 _7 p2 F  F" H0 M( R0 g; l
  809. upload_max_filesize = 50M
    & w/ j2 O0 ~5 k; i. e4 V8 ]

  810. 0 O$ p; g" h9 j( M7 A5 P5 q
  811. ; Maximum number of files that can be uploaded via a single request, m6 M6 ~9 }- Q3 @
  812. max_file_uploads = 20; }0 \& g/ ?+ }% m& b

  813. ' r) Q7 G0 c6 \5 R" ~( E/ c0 B5 X
  814. ;;;;;;;;;;;;;;;;;;9 b8 }! y0 G8 K6 k$ W6 f) q6 M& }
  815. ; Fopen wrappers ;  s( J( Z% R, D
  816. ;;;;;;;;;;;;;;;;;;+ I% p* U2 S9 Z+ Y& v* P; Y
  817. 0 h- q: t, R/ t
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.9 a% n- A. }7 x( u5 e- _5 R
  819. ; http://php.net/allow-url-fopen8 C8 w" `- k4 y% v; d1 R
  820. allow_url_fopen = On- g& U$ a' m' ]2 [% h' Z5 b
  821. ' r9 s" X5 R' A
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    9 |' S! w5 T+ `8 z0 n
  823. ; http://php.net/allow-url-include
    0 Q/ a% y6 D: m9 x9 D: u3 ?: }
  824. allow_url_include = Off
    ) f1 J2 A# r3 F* O' N7 m7 t
  825. + j# s3 h: z; q' ?  L
  826. ; Define the anonymous ftp password (your email address). PHP's default setting- ^% X: j+ U' [
  827. ; for this is empty.! Q8 T# A2 O7 _5 a
  828. ; http://php.net/from% ~$ X4 a$ ~2 Z- {% u0 L2 u
  829. ;from="john@doe.com": [% D% E( m3 n" ~" K+ h

  830. , f2 u6 g0 F( Z/ s: t+ D, c
  831. ; Define the User-Agent string. PHP's default setting for this is empty.) F, D0 X8 I+ i" T3 x$ n
  832. ; http://php.net/user-agent. n* k4 ]0 j/ t
  833. ;user_agent="PHP"- k0 g/ b% o4 G  b1 z

  834. - e, ^0 q0 c4 x; W: d# n' y) q
  835. ; Default timeout for socket based streams (seconds)
    " S7 [5 Y5 N% E6 d! g
  836. ; http://php.net/default-socket-timeout
    5 t8 X3 A' H2 a5 f5 p  j4 ^8 K
  837. default_socket_timeout = 60
    ' t/ m' S2 W- J
  838. * y9 a2 u( H& w( h5 ?1 D& }+ `0 d& E
  839. ; If your scripts have to deal with files from Macintosh systems,
    7 r. ~' _% q  C. w, |
  840. ; or you are running on a Mac and need to deal with files from
    : t3 T% O+ B( S& B' ]+ A' ]
  841. ; unix or win32 systems, setting this flag will cause PHP to# m6 A: o' y" [6 G
  842. ; automatically detect the EOL character in those files so that
    5 ^! E) O# d" w3 R3 f+ H* _2 g
  843. ; fgets() and file() will work regardless of the source of the file.2 d& v$ T) b& R1 b- L. ]
  844. ; http://php.net/auto-detect-line-endings3 a8 B' |4 P: F: _! E( L! a+ @
  845. ;auto_detect_line_endings = Off' d6 n3 K: @6 E9 p- h
  846. ; e0 U# y6 U' @+ W% b4 U0 P. I
  847. ;;;;;;;;;;;;;;;;;;;;;;
    0 t: G8 s4 G3 P" K8 J! Z! G
  848. ; Dynamic Extensions ;3 S: e$ i6 O0 t: n
  849. ;;;;;;;;;;;;;;;;;;;;;;8 B. T( L; [- s3 U  v

  850. ; i" y0 J3 g- [/ s- x" w) }: K
  851. ; If you wish to have an extension loaded automatically, use the following6 Y8 C! V3 h$ ~# S! Z9 ?' ^' i! R
  852. ; syntax:
    2 v4 z2 h* f( o3 u
  853. ;
    $ ~* C) [/ R& `+ ?8 e: Y! G
  854. ;   extension=modulename.extension
    0 P7 N" B  j5 t
  855. ;
    : |9 r  o9 F& @6 P/ p
  856. ; For example, on Windows:
    : V5 g5 [# a) ^6 l) S. O  q  @
  857. ;1 l7 y& j# |  G0 [  o) Q2 s8 Y
  858. ;   extension=msql.dll
    , R4 P& E& L6 ~3 p9 n/ t
  859. ;6 `( M$ I" \. o0 {; W3 S$ U
  860. ; ... or under UNIX:& T0 n7 X; w0 f; ~! {' y7 W
  861. ;
    9 ]$ Y' ]+ C. S% B9 ]3 W9 a
  862. ;   extension=msql.so
    + I7 O( k$ E2 `8 N& j2 k
  863. ;
    + k# S% `6 a) R+ m
  864. ; ... or with a path:+ A1 C. k7 x  u& t# X; k
  865. ;
    4 a- A+ d# A- Y- h) e
  866. ;   extension=/path/to/extension/msql.so
    ( P9 ?- P5 r5 R: e
  867. ;
    & C- q# a- q+ O) l3 m, X
  868. ; If you only provide the name of the extension, PHP will look for it in its6 `% t" ?  D$ A; Q9 l
  869. ; default extension directory.9 T; Z: P3 W. t$ i) e' k' I
  870. ;
    ' z- W8 V/ U0 A: }5 j
  871. ; Windows Extensions1 ?/ i( |+ G/ J1 P% w5 }3 W: A
  872. ; Note that ODBC support is built in, so no dll is needed for it." [3 h5 ~7 N8 u' ?( T  T) E7 Z
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    8 h9 H' t( C" a$ ]- e! v  H
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    6 ~% R0 ?3 q* ~, j# B0 h8 v  n9 _
  875. ; Be sure to appropriately set the extension_dir directive./ h' \; R& @# y/ c
  876. ;) j; Z% d" {5 I  V
  877. ;extension=php_bz2.dll% R5 y& z# _; B$ H
  878. ;extension=php_curl.dll
    9 D( l. J1 Q9 r  }5 l8 X
  879. ;extension=php_fileinfo.dll$ `* m' H$ h6 X3 o: n
  880. ;extension=php_ftp.dll
    + V6 U# |: h+ e: r
  881. ;extension=php_gd2.dll! p1 U% F, t2 h3 V! O- `: J: U2 q& C
  882. ;extension=php_gettext.dll
    6 I; J1 n% W8 q# E+ v4 D
  883. ;extension=php_gmp.dll
    1 b) `# B6 E! q* ^
  884. ;extension=php_intl.dll
    7 i; i$ X1 T) e/ R0 t& u2 l4 s
  885. ;extension=php_imap.dll
    , s0 ]7 i0 r' l4 p
  886. ;extension=php_interbase.dll' N  e: M9 E* e: N. C
  887. ;extension=php_ldap.dll
    ( Y* i# x. L1 [; Z" ?; y! r; N' }- v
  888. ;extension=php_mbstring.dll. r! j, p0 O. _0 m1 S3 W2 r) p9 @/ r
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it/ d% ~% V- I) z' s. X9 W; T
  890. ;extension=php_mysqli.dll
    % P3 s) l3 L3 x  p& f- w
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    " ~' [5 O1 ^8 I! e* P4 [
  892. ;extension=php_openssl.dll3 |; y% C+ K. k; _3 J' G9 [
  893. ;extension=php_pdo_firebird.dll" p' H& i' T/ U: U! M! {
  894. ;extension=php_pdo_mysql.dll1 ~7 ^0 }. a$ z9 z* [+ f
  895. ;extension=php_pdo_oci.dll
    5 u2 ^7 t! G5 T) V
  896. ;extension=php_pdo_odbc.dll
    . V4 S+ N! F: `3 j: s! m
  897. ;extension=php_pdo_pgsql.dll
    / _, Q* o* @* i( ~/ r  D
  898. ;extension=php_pdo_sqlite.dll
    , L! U6 Z& W; c+ c; R
  899. ;extension=php_pgsql.dll
    , a) W$ p/ n3 M, z
  900. ;extension=php_shmop.dll5 }9 f0 A. T+ r$ s

  901. / m$ o4 O$ b* p% U, h2 ]
  902. ; The MIBS data available in the PHP distribution must be installed.8 G: c2 }' c; T; x) G
  903. ; See http://www.php.net/manual/en/snmp.installation.php; c7 @9 e" O$ D- t% V% S9 ?! A
  904. ;extension=php_snmp.dll; ^# g" i  N8 O- [$ w
  905. # f9 J: W' ^9 Z: X
  906. ;extension=php_soap.dll
    9 i+ b% H, c: b2 ]" m& K
  907. ;extension=php_sockets.dll9 J& J' L2 _1 e; Z: @$ W: j# q
  908. ;extension=php_sqlite3.dll
    ) P& D+ K- e1 ~2 H
  909. ;extension=php_tidy.dll8 G, z# Y' i5 H0 |2 s
  910. ;extension=php_xmlrpc.dll
    " `, L+ C1 X$ `. O: B
  911. ;extension=php_xsl.dll( \: K* Q: q# ]9 J1 B9 y, @8 z

  912. 6 Q8 \* s; ^. O' U* |" X
  913. ;;;;;;;;;;;;;;;;;;;$ T& k* Z' C* Q: D6 C
  914. ; Module Settings ;
    , T5 p$ p. x/ l6 }0 P% g
  915. ;;;;;;;;;;;;;;;;;;;
    9 K7 P# ^' V" X1 r9 s- d( v9 i  q! r

  916. 9 s4 D- O7 M6 L- K. `
  917. [CLI Server]
    0 Q+ [' M2 z0 V: Q( q0 B! W- ?
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ' g* `2 q8 v2 x2 _2 G) E
  919. cli_server.color = On
    ) ~/ B$ a% g- \- i2 n& ?  i
  920.   b( ?8 h" P; u2 Z
  921. [Date]
    " p& g/ |* z& }$ E! Z2 d
  922. ; Defines the default timezone used by the date functions
    + v4 W4 W5 b3 {: z' E* S0 {
  923. ; http://php.net/date.timezone
    " l+ J# y1 \3 [; m3 t9 c, ~$ }' f
  924. date.timezone = PRC% H, Z- `3 f8 g# c; v$ h
  925. 8 C8 J, B2 k2 ]+ {7 p; G
  926. ; http://php.net/date.default-latitude3 l( m' M5 S. ~2 r9 P, n
  927. ;date.default_latitude = 31.7667
    $ L" z! C( M6 y: l+ F! j# l
  928. ' U7 J# {" @5 n  f: a- x% W
  929. ; http://php.net/date.default-longitude2 K( t# J, K) ~- L
  930. ;date.default_longitude = 35.2333
    & v2 ^  A* X1 p0 O& x

  931. 4 _( ~& v  ]* E$ S. g+ F
  932. ; http://php.net/date.sunrise-zenith. p( U* P6 [( a9 V
  933. ;date.sunrise_zenith = 90.583333
    / }" i2 ]- P% M9 v2 ?" G! e# _# D

  934. : T) h. e- h) X, U3 k
  935. ; http://php.net/date.sunset-zenith
    / ?) m! E+ `7 v+ a5 G
  936. ;date.sunset_zenith = 90.583333. n9 I& _; `6 W- M/ g0 S) A

  937. / o8 o9 A/ h( N4 L7 Q" ]% Z
  938. [filter]4 j* N. _/ s' s3 c( [
  939. ; http://php.net/filter.default7 c# A3 x6 V  @
  940. ;filter.default = unsafe_raw# _% j- ~* r  B% O: A# M
  941. ( H% t9 Y* x) `% h
  942. ; http://php.net/filter.default-flags
    ( L0 w- v' y6 x# Q) K5 P
  943. ;filter.default_flags =
    . W- Q; x  {) Y& s$ Y, \

  944. 5 _4 [  }: Q8 m) y, c  w
  945. [iconv]+ g0 U: q, ]8 A/ o' `1 P  |( V! \
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    - [3 S, h4 e) _* @7 z8 M& I$ ?% E
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.6 O* v1 E3 m5 B& J1 p2 J
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    7 o0 Y( T% F2 L3 S3 m
  949. ;iconv.input_encoding =4 a" M- Z) m5 J0 C" i. q. f9 S
  950. # L. k: C5 s/ f% v% w
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    * X  C0 D. d% ]$ B
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ; m+ Z1 B7 s* U2 D& b  D6 `  T5 o
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding& a, o/ X! |. n6 }( U
  954. ;iconv.internal_encoding =9 ]5 g  A1 \9 M5 ^  u( H
  955. 6 r- b  e- g! E5 g" i
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    # C. F) ~5 f5 D% Z  K
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.  G9 t+ ]" X- ]  u( n
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding- ]) b& `7 ]" @- x" @- l+ T
  959. ; To use an output encoding conversion, iconv's output handler must be set+ D2 _) C( A7 J& ]
  960. ; otherwise output encoding conversion cannot be performed.8 t4 F9 y4 h' r5 u7 S2 e7 x
  961. ;iconv.output_encoding =4 g' s0 m" N3 f. @& O
  962. * ~4 Z; d% q: `$ S. O" |2 o
  963. [intl]; [% y4 j" F4 j) A8 Y
  964. ;intl.default_locale =
    5 D7 H: G1 r! e. F1 \' c
  965. ; This directive allows you to produce PHP errors when some error
    + L# e3 w& W1 ~7 p  Z: i
  966. ; happens within intl functions. The value is the level of the error produced./ i% |1 W: b3 [8 y1 Q
  967. ; Default is 0, which does not produce any errors.0 V: {. C4 o# c4 c
  968. ;intl.error_level = E_WARNING
    2 c% o: Q- q2 P3 F! k& B0 G6 ]
  969. ;intl.use_exceptions = 0
    ( R) y( E6 K, J) n7 z

  970. ) n8 }# G0 \7 O+ A7 X0 n; c$ k" T
  971. [sqlite3]
    ; J0 W+ ^; I+ x
  972. ;sqlite3.extension_dir =- O+ A3 J) B# P* s
  973. & _% P5 B' y/ ~" M9 {+ @
  974. [Pcre]
    ) z" ]8 X2 s9 D' \% ^5 y
  975. ;PCRE library backtracking limit.
    * n- ]4 ]/ ~7 w
  976. ; http://php.net/pcre.backtrack-limit
    # K& y% ~! @* E( K% w; W/ W0 g& b
  977. ;pcre.backtrack_limit=100000/ A7 m) e3 _- H- ^+ K- y

  978. ; ?% b7 t: z+ @, f3 r4 s1 a' f& y. j
  979. ;PCRE library recursion limit.6 c. l* o2 Z6 C; [
  980. ;Please note that if you set this value to a high number you may consume all0 M% p& O  o/ H/ V; P' Q7 V: C9 o" H
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ; ]( U* E0 ^8 C
  982. ;stack size limit imposed by the Operating System).. y' Z! \% O8 }  b; D
  983. ; http://php.net/pcre.recursion-limit
    8 G: F0 b" ?  b& F+ Q- P
  984. ;pcre.recursion_limit=100000
    6 C( ?9 f- r9 ]+ u6 i; [3 k3 b

  985. ! @3 d( S; P, s' r: {  @* w. |7 f
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    3 `4 c9 @" Z6 A# E6 H2 W
  987. ;library to be compiled with JIT support.2 x. l: ^6 A: \" {8 E2 L
  988. ;pcre.jit=16 G0 [/ o3 _. J: n' X# C

  989. , \4 ^1 N8 F  t# F8 n. d4 Q5 k
  990. [Pdo]
    ( \. H" S2 _1 E7 J  s; ?1 v$ m
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"8 l+ f+ o- n: E, p8 {
  992. ; http://php.net/pdo-odbc.connection-pooling
    ( Z; J( Z! R3 }' F
  993. ;pdo_odbc.connection_pooling=strict
    , [9 e0 P3 R" @' X. L
  994. 5 t& k( N* H' ]7 }0 V
  995. ;pdo_odbc.db2_instance_name* a1 M7 x  D- t; J. W
  996. ' A0 Y' h7 S* f: O7 F4 x# r, H! ]
  997. [Pdo_mysql]
    ! m7 u6 J8 z" m5 `0 Z
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ n' l5 h$ B! P! \% u
  999. ; http://php.net/pdo_mysql.cache_size
    $ N7 d2 y, l' K1 q9 c. Q
  1000. pdo_mysql.cache_size = 2000
    : i6 o8 C: x, a1 P) Q+ \
  1001. 7 p  e& ^6 Z3 C: }7 U$ ~
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in6 h3 x! R+ q2 Z+ }8 ^% w
  1003. ; MySQL defaults.
    ' m' P& u- T8 W7 E) }, M
  1004. ; http://php.net/pdo_mysql.default-socket! |! {: \' ]& W9 K, d1 u" r6 B
  1005. pdo_mysql.default_socket=
    ' |( I- ?: l4 P" X, }

  1006. 5 L% Q* n0 v& G8 g
  1007. [Phar]. G* [  n+ d! |4 r! |
  1008. ; http://php.net/phar.readonly3 K* s1 C. P8 k) d; S9 r& C' z
  1009. ;phar.readonly = On
    7 n- ^* f+ a: U; @0 E" [: R1 p# O" h

  1010. 1 n3 G' m# b! l1 p' @& q
  1011. ; http://php.net/phar.require-hash7 V0 `! s5 ?# _9 a2 Z
  1012. ;phar.require_hash = On
    2 _: [1 [. Y3 h/ D
  1013. 9 G" D7 S; p# x! b1 Y
  1014. ;phar.cache_list =# m+ w: O. y- p

  1015. % b. m  T+ @8 D9 |% l2 F
  1016. [mail function]
    $ d6 T# g) F  I9 H* m
  1017. ; For Win32 only., F/ t2 I! a, b5 [: C% G  K
  1018. ; http://php.net/smtp! G' I+ A# o' A+ q; C2 f& {) l
  1019. SMTP = localhost) a. J* @: `; j0 `0 I, b6 q4 C
  1020. ; http://php.net/smtp-port+ ]  u  e. B. }$ r0 p3 h: u1 A: P
  1021. smtp_port = 25# T- l0 p& H; a9 g" ^

  1022. # u  _. g5 M$ ^# y8 H) w9 w; v4 u4 r4 r
  1023. ; For Win32 only.4 a7 m' o6 t, o
  1024. ; http://php.net/sendmail-from5 e* \7 \4 [) y
  1025. ;sendmail_from = me@example.com
    9 w8 W* a3 }8 [4 v9 _; S
  1026. , W5 d5 J, Q4 F/ d1 n
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ( O* L6 T9 l* y& _% e) u! _$ Z
  1028. ; http://php.net/sendmail-path6 m% S# M( \5 Z; a! l$ A/ p
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    9 s2 G) M  {- z( @9 w/ w

  1030. : B* P3 l* n5 W* y; D3 H
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ; a4 I1 L: w' i1 A
  1032. ; to the sendmail binary. These parameters will always replace the value of8 W$ A* W4 G% G3 Y) e
  1033. ; the 5th parameter to mail().5 Y3 _5 H% V( }1 Q- S7 A" K
  1034. ;mail.force_extra_parameters =* \# A/ H: }5 j( E. E  L
  1035. 8 a$ q. K9 r5 {! S
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    3 O1 m$ Y* O2 ]1 q( ?
  1037. mail.add_x_header = On
    9 o4 I; D* c5 F' o0 Q9 F7 T2 B

  1038. 0 B" {2 e; q- |' R
  1039. ; The path to a log file that will log all mail() calls. Log entries include6 T) p  d3 g  q: c1 |
  1040. ; the full path of the script, line number, To address and headers.
    2 ]  L& w* Q& Q( R2 [, Q: X
  1041. ;mail.log =
    $ n! A- v  l8 z* m8 d1 t- e" x) Z, P
  1042. ; Log mail to syslog (Event Log on Windows).
    6 |$ {9 |2 X3 i8 o" L1 K
  1043. ;mail.log = syslog& b0 I+ F( i- P& {& a+ d! o5 q
  1044. 4 S1 y: O' ]% _5 e
  1045. [SQL]
    6 R, s% C2 N% \$ V+ d4 j% C
  1046. ; http://php.net/sql.safe-mode
    : @0 x: A5 @3 C* V, q
  1047. sql.safe_mode = Off7 O3 v& M* x* x$ s- R6 `& Z7 \

  1048. ' ]: Y) M+ X" i+ z
  1049. [ODBC]) _. b3 ~) G- S! f6 A
  1050. ; http://php.net/odbc.default-db
      O3 n5 f" S  j5 K2 W* U' Q
  1051. ;odbc.default_db    =  Not yet implemented* r; B7 D/ ^/ [; U
  1052. : N1 I7 t5 @/ P4 @, ^
  1053. ; http://php.net/odbc.default-user0 G0 @% t. t2 ^  a! |
  1054. ;odbc.default_user  =  Not yet implemented
    . S' H) r( {6 E% I$ y; P1 S) \
  1055. * `8 E3 F, @3 F0 W
  1056. ; http://php.net/odbc.default-pw3 s) B' }3 t7 u+ ~2 {" Q
  1057. ;odbc.default_pw    =  Not yet implemented+ |( J! f* z& u1 d
  1058. 3 e$ Q8 a1 K* b
  1059. ; Controls the ODBC cursor model.9 J" l! I! u' G& [! y7 j9 p
  1060. ; Default: SQL_CURSOR_STATIC (default).* P1 ?4 n3 `+ M; {- E- k
  1061. ;odbc.default_cursortype
    2 u* {$ e9 I& i0 `# K
  1062. , J  z1 _$ I7 u# e+ j+ R
  1063. ; Allow or prevent persistent links.
    , [9 @7 }  @; y
  1064. ; http://php.net/odbc.allow-persistent1 p0 i% C. X- n0 d5 f8 q! U
  1065. odbc.allow_persistent = On
    4 c4 g1 A: ]6 ?4 K# v. P& N
  1066. & x# c* ]  B! j8 K) D9 O
  1067. ; Check that a connection is still valid before reuse.! d; t6 w' u; j( @* o& E
  1068. ; http://php.net/odbc.check-persistent
    ; L. g2 P2 E/ F4 M4 v* e
  1069. odbc.check_persistent = On& ~: N6 d' r# ~  Q$ h1 h+ Y8 S

  1070. $ G9 d; o: Z, r8 J
  1071. ; Maximum number of persistent links.  -1 means no limit.  Q9 e# M+ T+ _0 Q/ }' d$ k
  1072. ; http://php.net/odbc.max-persistent7 G" z0 j2 s: g' W
  1073. odbc.max_persistent = -1- o- E, ]6 A5 C0 `

  1074. + K3 l# F5 h& R6 v( T5 {
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." c3 Q3 e1 R1 k4 B, l6 _. b1 m
  1076. ; http://php.net/odbc.max-links4 c  B; p1 T1 t# [8 O9 J
  1077. odbc.max_links = -1
    5 k* \/ V& p" e$ M' d

  1078. $ ^0 U* n; Y3 P) U! R0 }
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means8 B" c* [! ~& ^1 \' W
  1080. ; passthru.* Z. N5 f0 I# w0 K- T& o
  1081. ; http://php.net/odbc.defaultlrl; ]/ B3 t, @- x/ ]% ^
  1082. odbc.defaultlrl = 4096# L9 q1 N' |1 _$ l+ S' [& ^5 G7 e
  1083. . m% w! N9 {0 O5 L  N0 d( A- ]1 ^
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.* o1 L/ J" o; k
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    $ p$ k# F, O& ?1 R$ t
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode) _  x/ F, r* j: |4 U
  1087. ; http://php.net/odbc.defaultbinmode
    * E" l% ~' I3 O
  1088. odbc.defaultbinmode = 14 P' {- E4 E' B$ v/ P: B3 u" x

  1089. 6 y9 ]" O5 K6 L  J* [
  1090. ;birdstep.max_links = -1
    . K: S" s$ F! I# V. Q

  1091. ' y7 e7 ^/ b! |& k9 T* Z/ ?
  1092. [Interbase]
    0 f. ?3 d6 \  P& P
  1093. ; Allow or prevent persistent links.* {1 X. |% A5 {
  1094. ibase.allow_persistent = 1! z8 ^; y* [9 y8 f4 O9 }

  1095. 1 A7 t) E* `: c2 N, z& T7 X" g
  1096. ; Maximum number of persistent links.  -1 means no limit.* T4 e% ~. M4 f
  1097. ibase.max_persistent = -19 l0 t$ i( W! d) {( U% u& m9 a
  1098. 6 W  j. O' T7 N$ R3 ~0 }( ~$ l! H
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 j5 y6 x! n1 e# p$ H$ K
  1100. ibase.max_links = -1
    & v: t7 H5 c" |8 h

  1101. 5 b% D8 l5 }9 J# B2 P
  1102. ; Default database name for ibase_connect().) C& ]" r% o* c0 ~/ _
  1103. ;ibase.default_db =
    ' k3 i; Z% ^% H6 t

  1104. ) H8 D* O* f6 n0 m2 O
  1105. ; Default username for ibase_connect().
    . P( c  ?. G- x9 S7 v
  1106. ;ibase.default_user =
    8 R- v2 z' U$ B" W9 }

  1107. ( T4 c6 X2 h) N& R7 V3 L# m
  1108. ; Default password for ibase_connect().! z; @" r8 l  J, @" D5 [
  1109. ;ibase.default_password =
    - E' S/ k" c; q$ \7 `9 |7 W1 r% [

  1110. & x0 l6 @6 \7 G
  1111. ; Default charset for ibase_connect().' Z3 j; a# a/ K# ?- A4 l+ V
  1112. ;ibase.default_charset =7 S! n; {5 A5 A" M1 N

  1113. ' t7 o( V+ H" q3 t2 l8 K
  1114. ; Default timestamp format.! G" t! ]2 t9 R
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ! K" x  V* }, x, c0 }; Y* D
  1116. , r6 l/ X; V3 T0 x  v7 _8 t$ y
  1117. ; Default date format.$ B5 |$ ]. J1 F/ [6 X& m8 T
  1118. ibase.dateformat = "%Y-%m-%d"
    : ?# r3 o4 K. l$ M( O. C5 S' e9 Z
  1119. ! D7 N2 c& p5 Y7 T; H) ?
  1120. ; Default time format.
    9 i  w. T: k) b7 B
  1121. ibase.timeformat = "%H:%M:%S"/ A+ F- ]8 S* N& L

  1122. ' w% B* v# R$ [6 }$ W
  1123. [MySQLi]0 J) |1 ~3 V$ z9 n( I5 W) Z( r

  1124.   W1 h  j/ u! T# a" i9 C& U
  1125. ; Maximum number of persistent links.  -1 means no limit.3 |7 P- q" _; T, f( L
  1126. ; http://php.net/mysqli.max-persistent
    ) {' A7 {8 z! {
  1127. mysqli.max_persistent = -14 @! {" k; {% k% u! n- A* i
  1128. % ?" Z: s7 t( Y+ \; j1 b
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements! M4 [  c( h4 V2 l* a9 g
  1130. ; http://php.net/mysqli.allow_local_infile
    # {' _$ ~' T; B8 Y- U
  1131. ;mysqli.allow_local_infile = On
    , k( Y4 s: z8 ^
  1132. % s# ^4 l! I! K# f. o4 U
  1133. ; Allow or prevent persistent links.4 t# p0 T  L. I( G
  1134. ; http://php.net/mysqli.allow-persistent- |) f7 H$ B: y. N( L/ L" D9 J: l' {: p2 s
  1135. mysqli.allow_persistent = On
    ! p! T  G9 m" G& \+ v

  1136. , U% P3 G  \+ [7 g7 m6 Q9 I
  1137. ; Maximum number of links.  -1 means no limit.5 ]' A% K) p7 [2 x; N# I* D5 m0 ~
  1138. ; http://php.net/mysqli.max-links
    5 W" s, B) i* E9 Z0 O. {
  1139. mysqli.max_links = -1
    , Z  K' v% ?8 K! T* f

  1140. ' l; R' J1 r8 ^: J" l. j! _
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache& J9 j1 f* Q1 k9 Q" ~
  1142. ; http://php.net/mysqli.cache_size6 [( f5 U0 G( P* W: \) Z
  1143. mysqli.cache_size = 2000
    5 }' B9 U4 E7 X/ b! W& E
  1144. " ~. j8 R* Z, k4 {% P# F9 {4 K
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    " C+ N3 I' \6 f1 w' m  l4 f
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    4 S- O3 x! @+ N2 A- J
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    5 e8 E$ X, x2 b( l. J8 X, m+ Z
  1148. ; at MYSQL_PORT.0 `0 S3 z4 q- {; U
  1149. ; http://php.net/mysqli.default-port: D, `; L+ U( W0 I: z
  1150. mysqli.default_port = 3306% ?+ U4 Q' t8 R3 e3 S& b
  1151. ( ?  Z6 i, P/ x/ U+ o
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in5 V* P) D4 f6 E
  1153. ; MySQL defaults.
    % b1 `: v' K6 G* k# t- H
  1154. ; http://php.net/mysqli.default-socket
    - q# L, l, {0 |) U
  1155. mysqli.default_socket =( n/ C, m8 \' C& \
  1156. 0 g. M1 Z+ o* p. L
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode)., j( t& k& m  L9 C
  1158. ; http://php.net/mysqli.default-host
    * l9 H3 U1 g2 {6 J3 Y0 U
  1159. mysqli.default_host =3 U$ O) b' T& c9 I4 ~' f

  1160. 5 Z- X" _) @( {* g% _3 S; H6 w
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    4 f: M* O# Y3 m
  1162. ; http://php.net/mysqli.default-user
    " ^! m( R5 A; a/ G3 U  f* e
  1163. mysqli.default_user =# U4 G- O  _( w/ b, o. e  _

  1164. , ]) P2 P' ], {7 O2 U+ y4 O/ r* X
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).& \$ \& f, H" E6 a2 ?
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.4 W/ }- U0 E4 I
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")- ]4 b6 ~+ E# `: U0 U1 D2 ?2 o
  1168. ; and reveal this password!  And of course, any users with read access to this
    " C/ S$ ?' w( V) L6 l
  1169. ; file will be able to reveal the password as well.
    " a- m. A2 l( J, l, H& D8 n8 t. [
  1170. ; http://php.net/mysqli.default-pw" e' B, s& M  A; a
  1171. mysqli.default_pw =
    $ h% @! M$ Q! n3 n

  1172. + O# f7 X+ B. h& o# h5 h
  1173. ; Allow or prevent reconnect. ^5 D- d$ i4 [4 X3 o- V% g+ i$ K
  1174. mysqli.reconnect = Off
    4 B) D+ {0 P9 b6 W" p* y

  1175. 4 A! T/ \: [- P3 |0 R  w: Z1 v* v5 W
  1176. [mysqlnd]
    1 t0 d  c) d7 j9 K
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    7 {" M- Z: }2 v
  1178. ; used to tune and monitor MySQL operations.6 k* h; X2 H/ }, d/ d7 F
  1179. ; http://php.net/mysqlnd.collect_statistics+ x6 o/ F* a9 b% M! p& w% y
  1180. mysqlnd.collect_statistics = On' ^' k/ ]. @. E) m# j8 C& h; x

  1181. 9 T2 P0 C4 f' H6 x; F# |. ~
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be4 H8 A% p% v3 p  B' E+ S
  1183. ; used to tune and monitor MySQL operations.# F2 K% u$ ~* e+ F) r1 O
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    8 E# g! }# P; m! C4 f7 _1 z$ b1 z: c" @
  1185. mysqlnd.collect_memory_statistics = Off+ o" p5 U3 C2 O$ D
  1186. : n! t' I9 |! E+ j! D9 A
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    4 p  i$ i# k( z+ w7 D4 c! `$ ~$ Y
  1188. ; file.2 m& H9 O/ F1 B7 {! A
  1189. ; http://php.net/mysqlnd.debug4 \; k! a* T5 h/ W4 f' p
  1190. ;mysqlnd.debug =
    % O0 g& J/ u; ?% D/ [* z! u5 x0 k( v

  1191. ) C8 B, C! j, _# q  B; }7 m
  1192. ; Defines which queries will be logged.  R+ N1 `* H: r8 x- o7 ^
  1193. ; http://php.net/mysqlnd.log_mask
    # ]8 H, @- s5 y9 _& ]
  1194. ;mysqlnd.log_mask = 04 [! x; l9 P3 Y2 {

  1195. 5 ], u0 `0 ]+ `3 `) [5 ?7 d
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.8 ]/ m7 j# I* h5 u
  1197. ; http://php.net/mysqlnd.mempool_default_size4 y& e& R8 @+ Q& {8 e' z+ n( J
  1198. ;mysqlnd.mempool_default_size = 16000
    3 O0 T  \* b& d3 p

  1199. 7 q" `. y8 b% ?$ ?$ S$ l
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    6 A5 o: c# X' n& s- T0 v
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size) a$ m; G! W+ b7 a
  1202. ;mysqlnd.net_cmd_buffer_size = 2048) I4 P9 A+ f" W
  1203. % Y5 [- Z' C* V/ _" J& r% x: t1 ?
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    & x) v5 _: y" h5 H
  1205. ; bytes.
    2 m& r) l; R( q2 |6 L
  1206. ; http://php.net/mysqlnd.net_read_buffer_size0 Q4 F0 y% J& u( o- V
  1207. ;mysqlnd.net_read_buffer_size = 32768" K( O. O- `8 i/ U; a2 n5 G* b, @
  1208. % |7 a: ^2 y% n1 O( `0 b8 ]
  1209. ; Timeout for network requests in seconds.2 d# ?. e0 g% A
  1210. ; http://php.net/mysqlnd.net_read_timeout, U* s2 p3 P& t
  1211. ;mysqlnd.net_read_timeout = 31536000
    * a  a# I' s6 s

  1212. , l' y" l# ?5 `0 \# F
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ( e1 z. u* B) I( X- U; R
  1214. ; key.8 C3 m: a6 V0 s' ~* w2 W) g6 F
  1215. ; http://php.net/mysqlnd.sha256_server_public_key8 Y, r- i( n5 X+ b2 V+ z
  1216. ;mysqlnd.sha256_server_public_key =
    ) B3 W7 F# N7 x4 g, [+ N
  1217. 7 y7 n+ Y+ Q, t" P/ S' B0 E* a
  1218. [OCI8]
      H* L* o3 f& M5 v% J9 f% g) k& M

  1219. # M. b! m) v0 {  j& G8 \
  1220. ; Connection: Enables privileged connections using external0 p5 M6 P5 y7 D' Y
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    3 }( \+ A! q0 l: `8 [( p! a$ t9 Q' V
  1222. ; http://php.net/oci8.privileged-connect
    - R8 `  h( r5 m: B
  1223. ;oci8.privileged_connect = Off& h9 J- P, D3 _8 A& o) l. O& q2 R

  1224. ; W9 \) M" J, I+ }7 S
  1225. ; Connection: The maximum number of persistent OCI8 connections per7 V3 f+ \6 h+ o$ m1 L
  1226. ; process. Using -1 means no limit.# p3 @1 V6 `* \  x
  1227. ; http://php.net/oci8.max-persistent7 @' X8 L  ~8 |- q. f% {5 z1 U  `+ }
  1228. ;oci8.max_persistent = -1
    6 N9 e- ?: w' @
  1229. ( z% S( I5 E2 \( y3 A" x
  1230. ; Connection: The maximum number of seconds a process is allowed to$ e4 w. g9 E  B0 ~
  1231. ; maintain an idle persistent connection. Using -1 means idle
    8 z6 `7 e& S, b! ^: _
  1232. ; persistent connections will be maintained forever.2 z1 N, j6 j5 T. t
  1233. ; http://php.net/oci8.persistent-timeout* Q* w4 T5 L  u
  1234. ;oci8.persistent_timeout = -1
    - [  F0 v& M6 {* }: p1 I

  1235. . s" t( F' F! o1 i0 A- I6 k9 d
  1236. ; Connection: The number of seconds that must pass before issuing a! Q; [: W! G; P% K$ D1 O: T! D
  1237. ; ping during oci_pconnect() to check the connection validity. When
    . Z6 z  }) J6 ?0 D
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables, t+ e- p" V/ S5 l8 t: ]
  1239. ; pings completely.
    ( S. M$ U6 z* U5 v# I
  1240. ; http://php.net/oci8.ping-interval
    " U6 d- b6 w* s
  1241. ;oci8.ping_interval = 60
    ) \3 P1 @/ g- H  N7 d7 j& i/ h2 q

  1242. * r1 \% U$ G- ?8 M' y
  1243. ; Connection: Set this to a user chosen connection class to be used; I; b  p6 {+ L
  1244. ; for all pooled server requests with Oracle 11g Database Resident2 i, _8 F& x! s& \6 _
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to4 A- Y) x6 P0 \! Z, {
  1246. ; the same string for all web servers running the same application,$ F/ O9 }1 @/ D3 n9 @& D4 q
  1247. ; the database pool must be configured, and the connection string must
    9 G" V# L1 L5 O2 B* F: h7 g
  1248. ; specify to use a pooled server.( K# ~5 t5 [& S4 L. `
  1249. ;oci8.connection_class =
    4 v0 n; \' R5 J  ^* E, n! h4 @/ b

  1250. 2 s$ ~. D+ L& ^+ ~/ z$ |
  1251. ; High Availability: Using On lets PHP receive Fast Application  h3 w& E6 k" h7 ~$ Y9 M
  1252. ; Notification (FAN) events generated when a database node fails. The& u1 O9 K- Y# G5 ^
  1253. ; database must also be configured to post FAN events.
    1 W3 {( l+ Z. q& J
  1254. ;oci8.events = Off
    - L4 s1 O0 d8 f8 S) K
  1255. 2 o. F$ I* W) t# j5 z' T9 P
  1256. ; Tuning: This option enables statement caching, and specifies how0 m# E7 ^/ g, N4 H
  1257. ; many statements to cache. Using 0 disables statement caching.
    : E9 s5 X$ w! L
  1258. ; http://php.net/oci8.statement-cache-size
    . _3 p7 s6 l, @7 m1 N6 G" x, {
  1259. ;oci8.statement_cache_size = 20. B4 A$ v/ x+ i
  1260. 9 \# i! N  _" h7 s: D) ?% ?# [
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    2 Y( S7 r/ [* ^0 K* g
  1262. ; rows that will be fetched automatically after statement execution.
    ) a0 `$ r. V" s
  1263. ; http://php.net/oci8.default-prefetch
    ! \7 t; K$ P. G/ R2 M
  1264. ;oci8.default_prefetch = 1004 o3 @, _% [+ c1 E# z
  1265. ( @+ L1 i, }! J: x
  1266. ; Compatibility. Using On means oci_close() will not close+ d6 v9 W3 ~6 m( _: w3 W) H$ [
  1267. ; oci_connect() and oci_new_connect() connections.3 {) d+ G9 k# ]6 T7 H+ M
  1268. ; http://php.net/oci8.old-oci-close-semantics
    , f. V$ a5 f5 Q$ o5 B7 A1 y
  1269. ;oci8.old_oci_close_semantics = Off; d5 P  i+ w  u5 T7 C/ H$ X4 M
  1270. 5 B: Q( l+ D) o, l. D4 n: P& a
  1271. [PostgreSQL]
    ; y1 {, E. X& y* D- `; c% f: s
  1272. ; Allow or prevent persistent links.) c/ |& M2 P& p2 P( F7 k
  1273. ; http://php.net/pgsql.allow-persistent2 N8 Y9 t, K# d* J: b9 P
  1274. pgsql.allow_persistent = On1 [0 Z! r2 n' c
  1275. 7 `5 f4 N: \, @/ l4 a
  1276. ; Detect broken persistent links always with pg_pconnect().8 Y3 h8 D0 _" G& n+ U
  1277. ; Auto reset feature requires a little overheads.
    " a& Z7 c) Y, h; }
  1278. ; http://php.net/pgsql.auto-reset-persistent
    6 R+ z( t% S6 y
  1279. pgsql.auto_reset_persistent = Off8 o" u( W& ]( Z+ r. p+ d2 Z
  1280. # y" B, s9 [: I3 a( G9 q4 ]
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ( |0 U* d: _1 Q1 O6 I
  1282. ; http://php.net/pgsql.max-persistent8 P" @% O! f1 B0 d' [1 e
  1283. pgsql.max_persistent = -1; y  _) ~' z' H3 q( R0 X! ?

  1284. 5 H! h" R* s2 ^0 I
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    $ R4 @4 o* g/ Y  s7 L
  1286. ; http://php.net/pgsql.max-links( ^8 p! P  f! a; O" ]' ?1 M# e( q
  1287. pgsql.max_links = -1
    ! i% F" M5 ~+ ]) [  \0 U

  1288. ; K$ t5 B0 @/ l& D! o# g. T
  1289. ; Ignore PostgreSQL backends Notice message or not.
    : R; b- I: n; L1 P) j
  1290. ; Notice message logging require a little overheads.' Y* |9 Y- J6 u# `3 H3 w( M
  1291. ; http://php.net/pgsql.ignore-notice# p+ |; O  \  S9 |
  1292. pgsql.ignore_notice = 02 c  p8 t! `  I. ^- z

  1293. 5 O: f6 R0 [" w  r+ G" T
  1294. ; Log PostgreSQL backends Notice message or not.
    , O6 y+ e; x( d+ s
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    . H) V$ ?+ m% _! c- E' V4 Q
  1296. ; http://php.net/pgsql.log-notice; v$ X& V' @* t5 a. v% e
  1297. pgsql.log_notice = 0
    6 o5 o; n7 y  f! i

  1298. 8 i& u4 D+ E/ o8 O1 Z6 u
  1299. [bcmath]8 t5 y0 U: G* C3 ]+ p! X2 x: m
  1300. ; Number of decimal digits for all bcmath functions.. u& D, A6 F( P- q9 ?
  1301. ; http://php.net/bcmath.scale5 r2 W; }; P0 W8 c& b7 Q# N
  1302. bcmath.scale = 0" T& w) h2 R# Y/ d4 E

  1303. * u' n( Z2 I( G1 Q) u
  1304. [browscap]5 F3 e: V: G8 M' ~. x
  1305. ; http://php.net/browscap$ R) Q. m- |# J3 K7 N; `; f# S
  1306. ;browscap = extra/browscap.ini9 I: Z" y2 `  e5 K; ~( `" j

  1307.   V7 k0 p0 V8 f5 R
  1308. [Session]
    5 ~2 i3 y; W  B( C! {; f
  1309. ; Handler used to store/retrieve data.6 d, v  W0 x: X0 J* W
  1310. ; http://php.net/session.save-handler2 G; X: N7 d& ?( e1 v+ w
  1311. session.save_handler = files) }  j5 Z) C0 F  O' w0 n" W6 Y
  1312. - S) }. R# @, P: f# v( e0 J$ k
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    / Z8 r' P$ r6 ~5 z& u+ j
  1314. ; where data files are stored. Note: Windows users have to change this
    * u7 U1 T, _2 j* b
  1315. ; variable in order to use PHP's session functions.
      n) \6 Q) K! }' n9 K# x. \3 D* U5 [
  1316. ;
    9 N/ H$ N4 r1 y. o9 d+ X$ |
  1317. ; The path can be defined as:
    7 u( k/ l; r8 T) D- j
  1318. ;# m- d5 f8 n& N. k
  1319. ;     session.save_path = "N;/path"
    . ~: N& Q9 [# C, V1 W
  1320. ;; _- [! o4 \- a
  1321. ; where N is an integer.  Instead of storing all the session files in% k& z& f" Z+ S0 q, F
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    4 e) v2 R4 p+ Y/ e
  1323. ; store the session data in those directories.  This is useful if8 O; D0 U* a% w1 ]7 u
  1324. ; your OS has problems with many files in one directory, and is
    & d8 m7 S5 f  v! C
  1325. ; a more efficient layout for servers that handle many sessions.
    " U  @4 w6 f3 e
  1326. ;
    ( U7 n( e+ ?( ~7 b: R( Q
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    4 m4 D4 }( K9 Z: ?: z; ~
  1328. ;         You can use the script in the ext/session dir for that purpose.
    . [6 r9 `- o. r7 x- S7 N/ h/ K
  1329. ; NOTE 2: See the section on garbage collection below if you choose to8 Z$ x$ b1 W; y  L; g: ^9 c
  1330. ;         use subdirectories for session storage
    , R' N( v+ k! Q( o
  1331. ;
    # P3 z+ V4 D' S5 s% J- ]
  1332. ; The file storage module creates files using mode 600 by default.( O! ~* ^/ `; [" ^" w
  1333. ; You can change that by using
    ; ^3 G( y& n# g8 t# P% A5 S- ]( P
  1334. ;
    1 L+ O0 p& y4 \5 S
  1335. ;     session.save_path = "N;MODE;/path"
    9 m$ k! I7 I1 v$ G4 i0 J( C
  1336. ;1 Q% d; K7 l" z8 d7 w" v
  1337. ; where MODE is the octal representation of the mode. Note that this: B5 I9 J5 k, ]/ j# P/ |2 W0 T
  1338. ; does not overwrite the process's umask.! }( N9 `2 r  K' m* s5 f1 g
  1339. ; http://php.net/session.save-path4 a& k# X* c- N
  1340. ;session.save_path = "/tmp"6 |& G* k' c" s% ?' c
  1341. 0 m. V* u) x/ u! y; ^
  1342. ; Whether to use strict session mode.
    2 R% _) _  W9 D1 F, b# C/ [4 X: {, i
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate: \; i/ u' u7 z3 h* @; @0 f* H
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects0 w. \; a8 I. Z( ?; }$ _
  1345. ; applications from session fixation via session adoption vulnerability. It is
    / g  H, S1 d2 y! y9 ]1 I
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    4 `. D5 U! T/ M5 d/ l1 O
  1347. ; https://wiki.php.net/rfc/strict_sessions6 P6 G6 D1 B, k1 y( ^; c
  1348. session.use_strict_mode = 0
    4 J/ J. s! n: c: l
  1349. 7 j" o9 W: F$ D
  1350. ; Whether to use cookies.
    3 w0 Y4 T5 l4 y0 W
  1351. ; http://php.net/session.use-cookies
    - \. a0 x# d$ o7 I2 A
  1352. session.use_cookies = 1
    4 s% f3 K* l1 H; o+ Q9 c6 }

  1353. # @- r  d% Y  ?" R" i+ \. }
  1354. ; http://php.net/session.cookie-secure# E/ O: b$ Y) f
  1355. ;session.cookie_secure =5 I7 a1 m. k, A. ?
  1356. , L' H& ~8 Q! z. ?: w9 p% u
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining! u4 z! Z' C% `. r& [
  1358. ; the session id. We encourage this operation as it's very helpful in combating( i; C. H& a& i) T7 J; i
  1359. ; session hijacking when not specifying and managing your own session id. It is
    & y& P8 C9 f( x' c* Q- }7 X  @
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.+ L, U, s* X& z1 U9 a6 x6 F0 ^
  1361. ; http://php.net/session.use-only-cookies- P. q' v8 @) O* X
  1362. session.use_only_cookies = 1& L% T; p) T7 Z5 P- g& ^
  1363. ; p/ H/ e- L: X6 h( @
  1364. ; Name of the session (used as cookie name).1 e# Q% Q" a* n' t
  1365. ; http://php.net/session.name! \0 K- E+ m. K; n4 e# r9 b: G
  1366. session.name = PHPSESSID
    3 J+ ~0 r' }! {# d4 W  r

  1367. ) O4 I, [: M1 p+ ?) V( W/ B+ [: X
  1368. ; Initialize session on request startup.
    - T+ r2 [3 S- q8 N5 i" Q; i1 Q
  1369. ; http://php.net/session.auto-start
    . L  }5 c9 k9 k2 k8 E
  1370. session.auto_start = 0
    $ j; `8 i0 ], x& h
  1371. ) o. f" H; g! h' `
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.) s4 ^% }' Q& r
  1373. ; http://php.net/session.cookie-lifetime9 x& f$ D" i& ]! d5 C
  1374. session.cookie_lifetime = 0
    : [3 F, `2 c' i) @1 Z, x- G. j

  1375. & k: B! I. o! Z3 J$ `
  1376. ; The path for which the cookie is valid.( T- K$ v! ]4 F# {
  1377. ; http://php.net/session.cookie-path
    / ^6 J  m3 p/ T$ }/ I
  1378. session.cookie_path = /
    : [/ y! Y3 s- g% s( }# l2 Q( n
  1379. 5 k  J" d# i4 l6 T' ?
  1380. ; The domain for which the cookie is valid.( Y; x( s! C3 M4 d6 w5 x
  1381. ; http://php.net/session.cookie-domain( o1 H+ g- ^2 P  L" K& l
  1382. session.cookie_domain =
    ' ]7 d2 v+ T8 O) ?  t4 ]2 U! ?
  1383. % P: C8 x0 p4 X  T$ e% |* f& J8 v
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    1 X6 l" G7 `) f8 ]
  1385. ; http://php.net/session.cookie-httponly4 ~: L6 E# \  W0 Z2 F1 I
  1386. session.cookie_httponly =5 B0 `4 b1 C; R: p, b4 J/ E( m

  1387. ; B- y2 d/ D; r
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.% C5 l) r) Q8 D4 Y) y
  1389. ; http://php.net/session.serialize-handler/ \8 o) V4 b! L- g2 P% z. N+ [' r1 q
  1390. session.serialize_handler = php
    ; F; z( @6 I" p2 i, k, `! @+ k
  1391. # D: `6 l3 f: J8 T- \( t
  1392. ; Defines the probability that the 'garbage collection' process is started& T! c+ P8 z/ h( C
  1393. ; on every session initialization. The probability is calculated by using, h7 z) u+ ?7 L- `
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ) I  r' K& C: p- T% c- t
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    2 X; p* O* ~- W; Y8 F
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance, h3 ^8 d$ C; ]+ Y: w) F& d" N
  1397. ; the gc will run on any give request.5 g: Y+ ^3 C9 @  e9 U# J0 |* D$ F: m
  1398. ; Default Value: 1
    ! d# e  D* C5 d. [# @/ \
  1399. ; Development Value: 1& R/ P5 p# _9 g7 w0 o7 f$ |
  1400. ; Production Value: 1
    ; a! Z) c# r$ X" V" A) [: g+ o
  1401. ; http://php.net/session.gc-probability& V7 s: {9 e4 E2 e, c
  1402. session.gc_probability = 1
    8 N/ W5 I& R7 c
  1403. 8 q: h  D* G! w5 E6 Z8 c0 M
  1404. ; Defines the probability that the 'garbage collection' process is started on every% Q! W9 M- J! K1 [
  1405. ; session initialization. The probability is calculated by using the following equation:/ `5 e: q' j; U, v- }7 R
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and2 y* ]7 K+ t) X) J4 G* T
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    1 `8 }2 G, @3 ^2 P
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
      q& g1 @5 ~5 ]; G  n
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you" R! j% k+ ]8 U7 k3 t& n/ V! f
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,1 g: |! F; Q3 T& `1 P( P3 p
  1411. ; this is a more efficient approach.0 Z1 D/ K) I, H4 ^" V
  1412. ; Default Value: 100: v' [3 H- Q6 X: ]/ r* N/ f
  1413. ; Development Value: 10001 j9 p5 G2 c. c, @) I
  1414. ; Production Value: 1000( a: C" z4 t3 o$ k5 ^; g# u
  1415. ; http://php.net/session.gc-divisor) d8 d2 C: @% |3 h. ^( `3 M3 U
  1416. session.gc_divisor = 1000
    " e! N+ P+ m4 i* O! F4 }$ V, d# c

  1417. - _% B8 n& J3 B0 L# L
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    8 p6 r8 F5 e! c, }% E6 A: v9 ^
  1419. ; cleaned up by the garbage collection process.
    9 i7 e& l  u# c
  1420. ; http://php.net/session.gc-maxlifetime
    . G% a% L6 l0 a  D
  1421. session.gc_maxlifetime = 1440
    . }+ \+ p% G; b- J' {9 t5 Z2 L

  1422. ) `* g+ l% ]" ~# t/ n
  1423. ; NOTE: If you are using the subdirectory option for storing session files( M" |* R  Q' a; M$ W5 C/ B
  1424. ;       (see session.save_path above), then garbage collection does *not*
    0 r6 Z, ]$ Z8 N2 T
  1425. ;       happen automatically.  You will need to do your own garbage
    ! G, q/ D# j: h  b2 K" ^
  1426. ;       collection through a shell script, cron entry, or some other method.9 }- S) U: Z: r2 o" i. X
  1427. ;       For example, the following script would is the equivalent of
    * |" y- Z7 W( _8 ]
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):" a8 }1 m$ S/ a- Z- l
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm" S5 l* p# R* F. J8 N3 {

  1430. + |# k& u7 M  R
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    * d; C* r" V' S2 V2 w1 {+ Q% a
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    4 M* _2 t) B+ l, P1 L& G$ O
  1433. ; considered as valid.
    ! A/ O5 m  Y8 X  O$ g* U
  1434. ; http://php.net/session.referer-check4 B0 k: N* b. I& p3 y. s# n
  1435. session.referer_check =
    & H0 M: ~+ q8 x4 ]
  1436. ! c' U" K1 `' u  z) j2 |
  1437. ; How many bytes to read from the file.
    - Z7 w7 T' e" H; p: f5 B
  1438. ; http://php.net/session.entropy-length/ P8 r( N7 f1 ?) p4 O6 n7 \
  1439. ;session.entropy_length = 32
    + i* H" ^8 {2 @- `# z

  1440. 8 u: D3 A+ L8 z' b" T1 u# x3 Z
  1441. ; Specified here to create the session id.
    ; O# k0 ]6 ^: p( p- u" \- j2 H: e
  1442. ; http://php.net/session.entropy-file7 y+ ]  x4 ]. I) J
  1443. ; Defaults to /dev/urandom
    9 v# e0 z3 D1 x6 H  i, _+ p
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom) b& p8 l# k% q1 t4 S& _
  1445. ; If neither are found at compile time, the default is no entropy file.
    0 z* e2 D; M5 ^8 N9 h+ }4 I
  1446. ; On windows, setting the entropy_length setting will activate the9 y8 ?; ]# m) s
  1447. ; Windows random source (using the CryptoAPI)  v; N$ i* ~: v
  1448. ;session.entropy_file = /dev/urandom
    * H5 a$ B! I! m* c

  1449. 8 r0 [4 o2 M# m  t6 p% H" C$ S0 [
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    - a. Q% i( C. ?
  1451. ; or leave this empty to avoid sending anti-caching headers.
    . M4 W/ q  H. I- z
  1452. ; http://php.net/session.cache-limiter
    4 B4 J! I5 p, H+ {$ P5 @: ^) m$ f
  1453. session.cache_limiter = nocache
    3 |1 _9 ~# j8 m$ {' `5 c
  1454. - l$ H9 L0 N2 Q( M+ k# X  T, S
  1455. ; Document expires after n minutes.
    4 H* `$ F4 G! h) H7 J) f
  1456. ; http://php.net/session.cache-expire# I6 S" f3 }2 {/ Y1 p. w1 Y
  1457. session.cache_expire = 1805 y0 A  ]- D9 j) a& [) D/ G7 a

  1458. & ^. l5 b! L3 T' M
  1459. ; trans sid support is disabled by default.
    ( p7 u5 G& P8 w2 D( c# C% l' }
  1460. ; Use of trans sid may risk your users' security.* Q4 O  E$ }2 k' M2 L: `7 q
  1461. ; Use this option with caution.0 c3 H# q: M- |
  1462. ; - User may send URL contains active session ID
    ; _, ^0 A/ L; D5 `4 X' \; ^1 c( n
  1463. ;   to other person via. email/irc/etc.+ ~# Y  ]: h- I. i" N
  1464. ; - URL that contains active session ID may be stored1 R8 A6 Z2 j. V) ~: S$ _
  1465. ;   in publicly accessible computer.
    ' d' r, K/ O* X' E: K* ^5 {
  1466. ; - User may access your site with the same session ID  L) M; ?9 p$ U+ l2 [4 s+ Y
  1467. ;   always using URL stored in browser's history or bookmarks.% r2 j4 C# }# q2 j6 Y- R8 G' F
  1468. ; http://php.net/session.use-trans-sid/ T0 a, Q; W3 h3 b# N2 T
  1469. session.use_trans_sid = 0
    . y& F8 Y9 R3 T4 P8 D, \

  1470. - A$ ~# I7 ^- d* S+ j* Z
  1471. ; Select a hash function for use in generating session ids.
    0 w+ Y; Z. d6 ]# s% r( v' ^
  1472. ; Possible Values) S8 @- e/ K) T5 Z
  1473. ;   0  (MD5 128 bits)
    ) w+ o- ]) g  f3 |. S/ A2 M
  1474. ;   1  (SHA-1 160 bits)) S) k( o' ~) {3 I% k* u
  1475. ; This option may also be set to the name of any hash function supported by. E3 w% k9 _1 w( [- R
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    * M; L" [$ ?" b0 Z, a
  1477. ; function.
    . g5 K7 B! I6 u4 _) C7 s
  1478. ; http://php.net/session.hash-function. a" g- [- ]" A  J. g
  1479. session.hash_function = 0
    2 \7 F0 o- I+ _0 u/ i

  1480. ; i* E6 Z7 _) M+ X' {7 J
  1481. ; Define how many bits are stored in each character when converting' y+ }! N' Q2 K5 g; @
  1482. ; the binary hash data to something readable.
    0 ?. i" G: V* _  Y4 s% c
  1483. ; Possible values:
    . ]8 r* E  L& N
  1484. ;   4  (4 bits: 0-9, a-f), `$ [9 l( f( t1 H6 A4 ~! y
  1485. ;   5  (5 bits: 0-9, a-v)
    7 ~) ?. J4 j/ a% D$ c2 G. ^
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")0 m/ b$ k8 U: ?" l3 u( C. H
  1487. ; Default Value: 4
    9 b2 \0 K6 r6 f  ?" Y6 j! ]) Y1 H
  1488. ; Development Value: 5
    3 i5 B7 c) B! f9 q! e7 N, W6 o( k
  1489. ; Production Value: 5
    1 H; {1 ^, |  Z+ u5 v1 c
  1490. ; http://php.net/session.hash-bits-per-character
    5 |1 F' t$ b0 N$ `$ u4 }
  1491. session.hash_bits_per_character = 5% H" l; R5 ?0 v; q2 x
  1492. # f9 V- \& Y# p6 b) t
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ! @% W: h; ^+ b) D1 C
  1494. ; form/fieldset are special; if you include them here, the rewriter will6 J. r2 q2 q6 h; h2 D( l
  1495. ; add a hidden <input> field with the info which is otherwise appended; t: q7 ?- T& F5 ~3 q- k3 A  [# D  |
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.2 Z( z- o6 y1 [
  1497. ; Note that all valid entries require a "=", even if no value follows.
    . Z4 M- @* G. m' o# C
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=": q3 Z1 ]  I# P! D1 @
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 O8 I# w+ G! _: C$ R# s: S
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 G* [. K& a6 D  _0 A* O
  1501. ; http://php.net/url-rewriter.tags
    $ j1 E8 I$ P) X# Y
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"/ v$ s* ^( H" v0 g& I  ~' U' ]
  1503. 1 ?$ Z! N) W0 g" z- a
  1504. ; Enable upload progress tracking in $_SESSION! s% N) ?3 p3 x9 D7 \. c  }- i( _
  1505. ; Default Value: On; k3 L9 K" m7 E# {  V! I$ P0 w
  1506. ; Development Value: On- k" H! c. W" D3 J  f, [5 A
  1507. ; Production Value: On6 |8 D8 p: n/ M4 x+ X
  1508. ; http://php.net/session.upload-progress.enabled' d: G, s. c. o+ T; N
  1509. ;session.upload_progress.enabled = On6 z- r: Z+ D7 j
  1510. $ e! r6 J" J% x9 w
  1511. ; Cleanup the progress information as soon as all POST data has been read
    # r% {: v. e. L, `6 m% [
  1512. ; (i.e. upload completed).& K. Q* o3 ?8 n1 h" `
  1513. ; Default Value: On; o# T, C" b/ }- t% D9 r
  1514. ; Development Value: On: g2 }# |+ I3 p2 X+ o+ U& N! Q) Z
  1515. ; Production Value: On
    2 E' d9 {- M) e$ C) e% L( Z! v( C
  1516. ; http://php.net/session.upload-progress.cleanup- x) [- \/ u4 J  H1 }
  1517. ;session.upload_progress.cleanup = On1 Q0 n+ _& p/ o% T4 A1 J
  1518. % N/ e; F/ J2 o
  1519. ; A prefix used for the upload progress key in $_SESSION0 g$ o" ]1 ]! I: z% T7 J5 P
  1520. ; Default Value: "upload_progress_"
    % P8 u) d6 C3 G/ |/ h2 F' c
  1521. ; Development Value: "upload_progress_"
    7 X7 m& w& j1 t
  1522. ; Production Value: "upload_progress_"  j: y9 U% Z; p5 r8 \! M
  1523. ; http://php.net/session.upload-progress.prefix+ P% U7 [" P& y5 f6 ^& m# a
  1524. ;session.upload_progress.prefix = "upload_progress_"1 C2 [3 d4 B! h  ?- g
  1525. # e5 k# h4 q' ~" }' {% o% Z% {; z) E
  1526. ; The index name (concatenated with the prefix) in $_SESSION" {$ v( v9 U# R1 W/ P. u5 k
  1527. ; containing the upload progress information
    ) f2 g, K1 y+ u- e; ~( g% H0 w
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 a2 h4 g; @$ \2 Q: N) K
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) t; z4 Q8 s! T' i# S- \
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"" I4 J7 @* E0 S  z( I4 ~, j6 h
  1531. ; http://php.net/session.upload-progress.name: {/ P$ A, o+ x* E( k
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ) _0 {( N5 ?- q' f  A0 |

  1533.   i; A1 _, R1 K* k% D5 H/ c" }
  1534. ; How frequently the upload progress should be updated.
    9 b) J! I% _9 o. G* {* J  S
  1535. ; Given either in percentages (per-file), or in bytes
    - s! w" A4 k3 z3 |/ Z
  1536. ; Default Value: "1%") p: U2 N( W8 [% U, u
  1537. ; Development Value: "1%"
    $ D& k! m, N' v* D) k6 Z+ {$ l
  1538. ; Production Value: "1%"
    . I) R, q: ?& d# t1 T
  1539. ; http://php.net/session.upload-progress.freq7 _7 ]8 W' v* J1 J- ^
  1540. ;session.upload_progress.freq =  "1%"
    7 K% m1 Q* p; W$ Q  N; f& B
  1541. / Y2 v) D' a; T* Q% Y2 m7 H7 c
  1542. ; The minimum delay between updates, in seconds% N$ `; }+ U  @" C+ I5 ~% Z
  1543. ; Default Value: 1: H$ T4 s4 A" z
  1544. ; Development Value: 1
    $ [; N" i- x* e- i) ~. r
  1545. ; Production Value: 1- G- x# Y' t/ G. ]+ R
  1546. ; http://php.net/session.upload-progress.min-freq5 Q' y* |* @3 b. c2 V
  1547. ;session.upload_progress.min_freq = "1"' B! Q1 d5 r! \
  1548. 0 s. ?+ C- N9 ~6 ?" j) p8 |
  1549. ; Only write session data when session data is changed. Enabled by default.
    ( R+ k) _7 q7 h8 U4 F2 n- {+ ^
  1550. ; http://php.net/session.lazy-write
    4 I6 e' y( a% I6 y4 x4 t' b( s0 S
  1551. ;session.lazy_write = On
    - j! O4 X! T9 T! _5 l

  1552. 9 P4 Q* M: V: t; }1 A$ X
  1553. [Assertion]
    % B) j! b6 T7 h* n* X2 N0 S
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)+ Q0 Y0 F, j+ F7 B2 S
  1555. ; -1: Do not compile at all
    / U: j+ X4 r% N$ K, A
  1556. ;  0: Jump over assertion at run-time& |" B& g8 ~* Q
  1557. ;  1: Execute assertions; f9 s# i: \1 k; R2 d9 I
  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)
    + ~$ Z5 a* u. f( T& y
  1559. ; Default Value: 1
    ' L8 `3 \# E4 B
  1560. ; Development Value: 1  V4 D0 }: s( c/ [0 n+ y# o1 W
  1561. ; Production Value: -1
    & [; W, `- g0 h3 i! h- c
  1562. ; http://php.net/zend.assertions
    4 F9 h4 A  F5 s+ @# r
  1563. zend.assertions = -1
    4 x+ s! x$ }1 |2 k3 n# y

  1564. 0 H( m) f+ |& d1 f
  1565. ; Assert(expr); active by default.2 ^5 S+ G2 X- h+ j) n
  1566. ; http://php.net/assert.active
    8 x$ {: E$ z  m. A& n% D# b; z
  1567. ;assert.active = On
    , H1 X; ~( N/ r+ P, Z0 e

  1568. 5 D0 c0 J6 }6 T3 f/ ^
  1569. ; Throw an AssertationException on failed assertions+ d8 \. f- W1 u: q: P' a' f1 [
  1570. ; http://php.net/assert.exception
    7 R( H, e8 d6 d* S$ J
  1571. ;assert.exception = On
    9 l0 C# Y, ?6 M; _5 ~- H) D% N
  1572. # V7 Y4 U# \# k4 W
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    + z2 s8 o3 H% Y* N2 f% U; q, W
  1574. ; http://php.net/assert.warning
    ; |' k2 O6 \9 {
  1575. ;assert.warning = On
    2 B8 }/ c5 f' S2 {
  1576. 0 W9 H8 `7 P) v) }3 p' |  i
  1577. ; Don't bail out by default.0 \8 N) V' H2 b( q
  1578. ; http://php.net/assert.bail
    ( _3 Y6 R7 A* c) i" }9 V
  1579. ;assert.bail = Off/ P$ f8 R+ Y  X# F: ?3 }; t
  1580. 8 G/ ~# M" K/ d/ V
  1581. ; User-function to be called if an assertion fails.
    , p5 l/ Z4 o5 `+ l+ R* J& a- _' @
  1582. ; http://php.net/assert.callback
    ) j* e6 G" h1 ^- v2 N
  1583. ;assert.callback = 0% v4 f2 L  m" ?# k1 K0 y8 S
  1584. , P! K& s7 @( K' ~
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    : a2 ^! K, {* o+ L: w$ Q
  1586. ; error_reporting(0) around the eval().
    2 p5 y9 U  I! D; @( a$ Y( R* }
  1587. ; http://php.net/assert.quiet-eval% p6 C7 C; i9 C% K, [
  1588. ;assert.quiet_eval = 0; J7 h# W, W5 [

  1589. ' L3 _1 w4 c& O& g
  1590. [COM]
    8 N* e% X) t, h! J6 c& p; ?- K: R+ Q
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
      c6 V% M8 V' W6 y: n& n. y
  1592. ; http://php.net/com.typelib-file+ Z/ I3 x" n6 I- J& u# E
  1593. ;com.typelib_file =& ]' I( I. @! `) {

  1594. & }! U8 Y. `* n, Z9 s, \$ s& w8 K3 I
  1595. ; allow Distributed-COM calls$ b! z8 N6 U3 ^2 P! Z
  1596. ; http://php.net/com.allow-dcom. t! w, S8 ~* }8 x7 N
  1597. ;com.allow_dcom = true
    3 Y* R- [3 ]/ q3 O6 z) q& F

  1598. . s6 T. x  Z' {  l: l2 _- G4 A
  1599. ; autoregister constants of a components typlib on com_load()
    - t/ G, y3 p, _  Z; \2 c
  1600. ; http://php.net/com.autoregister-typelib
    2 v4 y& z' g: f2 Q
  1601. ;com.autoregister_typelib = true5 d2 T# N8 X  i3 d

  1602. ( V: }2 ?  O, ?
  1603. ; register constants casesensitive% S, L( [6 {- z
  1604. ; http://php.net/com.autoregister-casesensitive6 n: @0 m( u( d$ k
  1605. ;com.autoregister_casesensitive = false+ s, Z) w2 w" z

  1606. . G5 ^4 o9 h4 @1 j  i$ \) I
  1607. ; show warnings on duplicate constant registrations
    . x5 P0 `; C0 P, T! y5 ?  S7 v- b
  1608. ; http://php.net/com.autoregister-verbose3 }% M6 _% K& C+ Q
  1609. ;com.autoregister_verbose = true! g1 N5 W( x( X/ v

  1610. , @! a0 ^8 f8 c2 i. K
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    # E# F' l. l! @3 T8 M3 y* q
  1612. ; Default: system ANSI code page
    2 _+ \2 A) P! R! V2 \. I! O
  1613. ;com.code_page=
    - u9 A9 |7 S4 j: ~9 N
  1614. ! a* p/ e0 H7 C2 n
  1615. [mbstring]5 J! Q) [' O1 T1 F+ s. Q3 I
  1616. ; language for internal character representation.
    7 `1 e; {' j5 q; ~8 V! Q, M
  1617. ; This affects mb_send_mail() and mbstring.detect_order.; g8 h" k6 }; p8 z
  1618. ; http://php.net/mbstring.language
    9 ^% ?) q5 t' q
  1619. ;mbstring.language = Japanese
    . a4 @  Q3 {2 u! X# L, a' }

  1620. . Q2 r. n% U) l% @1 F. f
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.! r( r6 m0 v5 H, I' `$ D0 d! F7 X
  1622. ; internal/script encoding.
    - Q) F4 a" Q& c7 B
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ' K2 P' x) I( P
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    % s) t" `7 \2 S6 n
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding& p- B" b; O/ a
  1626. ;mbstring.internal_encoding =- O! U% b7 Q4 s0 W8 x0 n7 Z
  1627. ! M! Y8 P, W6 s
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead./ T' H) l! y0 P3 v$ |7 |$ y; n
  1629. ; http input encoding.- h+ v6 @1 S3 `# T# m+ N7 O
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.: m; a* W* t& F9 h) W" w. D
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    " ]. |) v6 r8 N) v2 v9 h) B
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input0 N+ W& h8 w. }+ H
  1633. ; http://php.net/mbstring.http-input" G* e& ?! U8 {( ~
  1634. ;mbstring.http_input =
    + ]: h* E0 ]3 s4 s$ v; q1 L* j
  1635. . R, V" F- M, p' M
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 @  @. e5 R- L* t
  1637. ; http output encoding.8 t0 K, O7 X$ @; [. N9 ~3 z+ c! @
  1638. ; mb_output_handler must be registered as output buffer to function.5 F& Z: o7 b0 K1 R% f
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    % ]& H% @8 O& X- l
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output2 t' ^0 v' f- [# v. B; U
  1641. ; To use an output encoding conversion, mbstring's output handler must be set) W/ c% G! P; ]. W' }/ A% A' f; n' T
  1642. ; otherwise output encoding conversion cannot be performed./ e; c2 Q, \: P1 H
  1643. ; http://php.net/mbstring.http-output8 I4 Y0 P* \; _
  1644. ;mbstring.http_output =/ L; `0 r! u/ I$ u* \! d
  1645. 1 K" |2 T% I0 s5 p: [% v6 s% u  t
  1646. ; enable automatic encoding translation according to, K. e1 o: [8 l0 m" I# |4 w
  1647. ; mbstring.internal_encoding setting. Input chars are, ?" ^0 l8 E4 e* l4 M8 \
  1648. ; converted to internal encoding by setting this to On.
    : l6 [* e3 _0 Y7 q; e
  1649. ; Note: Do _not_ use automatic encoding translation for: n0 \2 b" c$ ]7 R2 Y) v
  1650. ;       portable libs/applications.
    2 F0 d( B! \$ @3 \% }
  1651. ; http://php.net/mbstring.encoding-translation
    ( _! g/ c  ]9 Q! D1 p
  1652. ;mbstring.encoding_translation = Off
    ; L, e2 N. _/ E1 \1 m7 h
  1653. 3 A3 h% _8 g, q+ ]
  1654. ; automatic encoding detection order.
    $ v" R' z: g6 ?. |( S% q1 W) t
  1655. ; "auto" detect order is changed according to mbstring.language
    7 x# L9 c2 n+ L7 H! W' x
  1656. ; http://php.net/mbstring.detect-order3 O, S6 y8 G+ W# W7 r# Y
  1657. ;mbstring.detect_order = auto
    ! R+ v) N$ ]  M0 Y3 M+ W. |

  1658. ( n3 J& q. W% y0 f
  1659. ; substitute_character used when character cannot be converted- P$ m5 K. D# Z7 @9 T8 ?
  1660. ; one from another
    ( j, I2 n1 ?  G! N/ i& n2 T
  1661. ; http://php.net/mbstring.substitute-character
    4 k3 i" X& r7 N$ n9 z
  1662. ;mbstring.substitute_character = none2 m9 v  _& d0 a4 M& p, O

  1663. ) Y% l  `: {( E; t0 p& e- [& O' R) E
  1664. ; overload(replace) single byte functions by mbstring functions.
      d1 v" s3 o& @
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),: V2 s; h. V. ]1 a
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    6 @+ n4 u) b- p) U. w0 ?) C8 b
  1667. ; For example, 7 for overload everything." {. p0 B) {4 V$ W
  1668. ; 0: No overload
    4 l5 B4 y  ~# `/ k; ?. g4 V3 P
  1669. ; 1: Overload mail() function
    % w' v1 Q# k# q/ `* B
  1670. ; 2: Overload str*() functions
    + d! ~& j* t5 L* I+ y
  1671. ; 4: Overload ereg*() functions7 H) g6 R# y' }6 z  `8 B
  1672. ; http://php.net/mbstring.func-overload
    - o- ~# x" h+ a3 ]0 [) S
  1673. ;mbstring.func_overload = 0
    2 v1 W3 [9 z5 J" X# U

  1674.   e% d( f2 z+ M, x
  1675. ; enable strict encoding detection.
    - s. W, X5 j% i) t3 W: Y1 G
  1676. ; Default: Off
    : r( u) P; {2 T
  1677. ;mbstring.strict_detection = On$ r! I; v2 u# @+ D1 z# D4 |9 n

  1678. : ~6 ^9 q6 C( K- z% ~
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    2 t# `; {+ R/ _/ i0 @7 V0 g
  1680. ; is activated.3 P6 ^# T+ x+ \/ Z
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)' b" O, y* k" v  ^: t
  1682. ;mbstring.http_output_conv_mimetype=
    * ~; g% H6 o9 o

  1683. - @, |' V1 m9 G- w: W5 `) B
  1684. [gd]
    ( [/ \2 t2 x; Q/ C9 Y9 }) a" J
  1685. ; Tell the jpeg decode to ignore warnings and try to create( ]; p% K/ Z8 W  o
  1686. ; a gd image. The warning will then be displayed as notices) u9 s7 C( ]9 t4 p2 s9 [0 S
  1687. ; disabled by default
    ( W5 s! l4 @2 D. b
  1688. ; http://php.net/gd.jpeg-ignore-warning
    8 V+ T+ A  Q, F' b
  1689. ;gd.jpeg_ignore_warning = 04 j( o2 k, P: Y, Y: d' i

  1690. 2 ^9 [) N+ b( @5 ?- o' C( z: z, O' K
  1691. [exif]1 R% R) m7 [- h" J
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ( O; q/ h$ t* M7 s: _3 F) {$ k
  1693. ; With mbstring support this will automatically be converted into the encoding) t8 W1 H! w: j5 ?) O! Y' T; n
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding+ H' j: d" {" N9 N" b" N, s
  1695. ; is used. For the decode settings you can distinguish between motorola and. l% J( O1 o3 {- F5 j$ U* _
  1696. ; intel byte order. A decode setting cannot be empty.
    : K* D; }2 v0 u6 q# a
  1697. ; http://php.net/exif.encode-unicode
    ( t9 |/ S( L! |) {9 F
  1698. ;exif.encode_unicode = ISO-8859-15
    - P+ n3 `6 C& B' X; M9 m

  1699. & d  Y) h$ ^% e' k
  1700. ; http://php.net/exif.decode-unicode-motorola9 P! a# \. H, t% l* L
  1701. ;exif.decode_unicode_motorola = UCS-2BE6 W, {$ S, ?6 z6 t* [8 P

  1702. 3 d+ W/ T4 W4 j9 A4 D& u  {$ I# H
  1703. ; http://php.net/exif.decode-unicode-intel
    % \' ]. \7 l7 H2 g
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    7 n" e; k' f6 u1 R! A2 q
  1705. 5 E/ @% v. K. S
  1706. ; http://php.net/exif.encode-jis
    7 Q# f# L/ G. b# V. D# f
  1707. ;exif.encode_jis =/ O# ?5 F6 u* M" a1 o
  1708. # N8 c8 c" _& r
  1709. ; http://php.net/exif.decode-jis-motorola% N3 ]& Y  X$ ?$ w& h
  1710. ;exif.decode_jis_motorola = JIS
    . @' r1 U) L6 b3 X; [7 M! _
  1711. 7 j1 V% G/ ^' ^! f$ R
  1712. ; http://php.net/exif.decode-jis-intel
    ' O* G! n0 e! s
  1713. ;exif.decode_jis_intel    = JIS) d7 w1 P' l: w  k
  1714. $ H) a* {& r2 i! ^5 b3 ^
  1715. [Tidy]7 `4 k- h8 z5 Y# e9 `- B
  1716. ; The path to a default tidy configuration file to use when using tidy
    + y- N3 u, {9 f, P; D
  1717. ; http://php.net/tidy.default-config
    & R/ J- o( w( n  |. h# r
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    8 y& R& ]3 J+ |$ F
  1719. 5 w9 j/ ^6 O1 w+ K* h
  1720. ; Should tidy clean and repair output automatically?
    , [4 l3 I* D; Q6 C: d( \
  1721. ; WARNING: Do not use this option if you are generating non-html content! z$ M5 S, A$ k" y/ Y+ \% N  {& @
  1722. ; such as dynamic images
    : p1 O9 e- z" D2 ?* _' l& u4 e: S
  1723. ; http://php.net/tidy.clean-output
    0 u7 J" v5 I+ y. x, j0 Q) `
  1724. tidy.clean_output = Off
    - C$ R" m$ Z# l: M

  1725. ' G6 Z$ f. c8 l) d
  1726. [soap]4 A4 z/ @. e; e: F: y& s
  1727. ; Enables or disables WSDL caching feature.( q! b$ A; D: I7 Z! ?
  1728. ; http://php.net/soap.wsdl-cache-enabled4 h4 @0 e5 D2 f6 a1 s) ?1 t) U
  1729. soap.wsdl_cache_enabled=14 ]- r# S, |2 a# r, M( E
  1730. $ I7 ?& X0 b. N
  1731. ; Sets the directory name where SOAP extension will put cache files.. L" N( f& W# Z3 f
  1732. ; http://php.net/soap.wsdl-cache-dir  g0 e; |* t7 u
  1733. soap.wsdl_cache_dir="/tmp"9 ?, W+ ]5 A/ u, @  O1 b

  1734. * {! K2 L' b- r# l
  1735. ; (time to live) Sets the number of second while cached file will be used& r2 c: y  z  b4 h; Q
  1736. ; instead of original one.9 p$ {  _* w, O  s$ H3 v6 v- z" v0 h
  1737. ; http://php.net/soap.wsdl-cache-ttl3 u" p: d5 ~3 W
  1738. soap.wsdl_cache_ttl=86400* k$ N; f) P4 d4 p

  1739. ! d1 l: m" ~% D7 }
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)! A, @( l" [: p+ |* u; ?
  1741. soap.wsdl_cache_limit = 5
    9 ?% x5 j( Z9 q8 _. _! J
  1742. , k( _( H# b  U  f6 N
  1743. [sysvshm]
    % p/ a) E4 c/ R* L/ @% D4 W
  1744. ; A default size of the shared memory segment
    - V0 I* R/ T' f; j
  1745. ;sysvshm.init_mem = 100003 l$ C9 |9 K9 a8 R, E& J9 s' t
  1746. + ?/ N" M. U( V8 s* J6 \" H
  1747. [ldap]6 {4 P+ |- N1 m+ ^1 M
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ( ?, R* k9 d/ `; K
  1749. ldap.max_links = -1, ~+ \5 t) d5 v8 L+ y
  1750. / o* S- G7 @( J% A$ p
  1751. [mcrypt]% ~1 Y- n* A( F* u9 i4 s) p' w
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open! [: H' F$ M9 Q0 E
  1753. ; C" H( x+ `- m5 y
  1754. ; Directory where to load mcrypt algorithms4 i2 b: K; K8 @% Y
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)' E9 z) E2 A4 Q. d
  1756. ;mcrypt.algorithms_dir=
    # ]1 y6 O5 C/ v" z3 ^

  1757. ' `, E) e. e( f6 i* s4 W
  1758. ; Directory where to load mcrypt modes; x- w& f) L& O- \$ O
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)2 E+ `- x' n7 \
  1760. ;mcrypt.modes_dir=
    " `( e2 q+ l  ~+ s1 @7 J
  1761. 2 q+ N: c0 Y0 u- @/ u; [. Q
  1762. [dba]% L5 \( X- A. e( b- `/ Y
  1763. ;dba.default_handler=
    ( p' O; v5 ~! B9 b! y% K7 q

  1764. 3 L+ U8 R; j1 Z9 F
  1765. [opcache]
    # }  k1 Z9 d4 R
  1766. ; Determines if Zend OPCache is enabled
    4 p6 m' s. i( x( g. I' r8 z
  1767. ;opcache.enable=0: w9 e; @" b0 D. U/ i! `
  1768. 5 V0 c; z  e4 ^) ]
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ; F# ?1 l( [. A# I8 b
  1770. ;opcache.enable_cli=0
    1 t" z. Z# s+ J9 M( L0 I( B; ~

  1771. 8 |/ _9 ?0 A& @* ]9 f4 e" p
  1772. ; The OPcache shared memory storage size.% ^" {' c" k+ ^/ D. l3 e
  1773. ;opcache.memory_consumption=64% x! O$ Q( V5 c& |) ~# q
  1774. 7 f4 k  E8 |0 o. G0 h% @
  1775. ; The amount of memory for interned strings in Mbytes.& C5 B8 `( ^4 ~. o6 f
  1776. ;opcache.interned_strings_buffer=4
    : O" X6 K4 w6 J: S8 z

  1777. : |# N6 _9 z# F
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    $ m7 {; d1 W& f% z
  1779. ; Only numbers between 200 and 1000000 are allowed.
    % |  p# f+ ^4 b* h+ T. t/ l
  1780. ;opcache.max_accelerated_files=20005 F( ], i- K. F% @" }) L  t

  1781. , n# d1 C9 I7 B; K2 G3 O
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    , a- k  k9 ]1 ]; N+ b# i, {$ t! R6 T
  1783. ;opcache.max_wasted_percentage=5
    0 c1 O# o1 C4 b' i; p

  1784. - M/ C" b( b0 C$ s0 k0 T" i
  1785. ; When this directive is enabled, the OPcache appends the current working
    ( `: C/ ~0 z, w( E6 A
  1786. ; directory to the script key, thus eliminating possible collisions between
    0 S! D9 Y. Z5 c) i' K
  1787. ; files with the same name (basename). Disabling the directive improves4 B/ a) Z# J( E' I! N  r& m
  1788. ; performance, but may break existing applications.
    8 a; v* k# `7 S+ g: T, j# t
  1789. ;opcache.use_cwd=12 e! P, f" V# i! c7 @9 R* S
  1790. 2 J/ Y+ F4 n6 A8 R  B0 M
  1791. ; When disabled, you must reset the OPcache manually or restart the
    6 [2 A$ t/ x; c
  1792. ; webserver for changes to the filesystem to take effect.( f7 l5 w7 }3 A3 e4 W
  1793. ;opcache.validate_timestamps=1
    7 W( b6 S" r7 Q) N9 C1 R7 Q. X/ I
  1794. 8 L' E8 }: h* i7 K! c" `7 |0 ]; `
  1795. ; How often (in seconds) to check file timestamps for changes to the shared8 D& [. ?! O) x$ z
  1796. ; memory storage allocation. ("1" means validate once per second, but only7 M1 P' C: _& ]; r7 f
  1797. ; once per request. "0" means always validate)7 N( C  ?/ k/ b3 Q
  1798. ;opcache.revalidate_freq=2
    8 H* W! a; ^; w. R* ?( U4 K: f# v
  1799. * t% w+ c* K& [, n6 m
  1800. ; Enables or disables file search in include_path optimization
    4 f; w/ ?% G+ s( r1 Z0 D( s
  1801. ;opcache.revalidate_path=0
    . q" u+ ^9 A5 g3 S1 u
  1802. 2 u, B% _% X+ l' b; Z% s# n. n: s% }4 V
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    1 \- M  m( r. p* N& @% q
  1804. ; size of the optimized code.- z8 ~+ s- n2 K) S( K) v
  1805. ;opcache.save_comments=1
    $ A1 a3 A4 {& D( w6 I

  1806. # {4 M$ t) H" I# h1 E$ E
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code; t- h' o3 S# {3 H
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.% k/ o+ b5 t6 k) h8 D9 ?" c2 W& Q
  1809. ;opcache.fast_shutdown=06 P/ P7 I9 e/ [. I7 a
  1810. ( f# Q1 }' D6 K8 \$ @9 v2 U6 @
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    ) C* {: T1 X! J/ E1 I! g* U1 y- o
  1812. ;opcache.enable_file_override=0
    ( a3 O; }6 W& }# i2 O0 n

  1813. ) F# p. Y7 p& U+ l) M2 F2 a4 ~1 ~! t
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache: v+ j) Y8 B7 x+ V3 U/ T
  1815. ; passes; B& l& D4 S2 I+ [8 S5 W! Z
  1816. ;opcache.optimization_level=0xffffffff5 I6 B7 X5 E4 h( Z& k2 e
  1817. / c9 u' u! G& U' R) z
  1818. ;opcache.inherited_hack=1
    + S- u$ [9 o4 D4 n, w/ a0 t3 ?* N/ a9 _8 p
  1819. ;opcache.dups_fix=0
      S# X% Z+ |& d- E( y

  1820. 0 l$ v" r2 M7 N* P* [
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    $ n( Z8 E! o) p! g% a! X2 G# X! D
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    9 k" F. S1 T5 M) J# Y% \, v7 _
  1823. ; that should not be accelerated. The file format is to add each filename
    5 p8 u5 E" C9 v0 M; z" l! q
  1824. ; to a new line. The filename may be a full path or just a file prefix9 F- K2 c1 }; g+ }- a& Y  c
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    : g0 W. U" `# U4 G$ L$ S, u" [
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    7 G, G0 F2 y1 l+ O) X( b3 M. E
  1827. ;opcache.blacklist_filename=% ~" H5 w0 {. i: h. Z$ S

  1828. , _: I9 v/ o& y+ h$ S
  1829. ; Allows exclusion of large files from being cached. By default all files
    / q6 `# z% K( ^+ R9 f: ~
  1830. ; are cached.1 W  v! g8 |7 U9 L" I
  1831. ;opcache.max_file_size=0
    4 J7 p7 n" i% t  }" p! W, |- l' x

  1832. - N. y2 y# R# C2 l4 e: Y$ p
  1833. ; Check the cache checksum each N requests.
    " s2 b5 \7 l; _+ k
  1834. ; The default value of "0" means that the checks are disabled.: [8 P! c" `4 ~" R% t
  1835. ;opcache.consistency_checks=0
    4 X) ?& B$ W% l, g( U! g1 ?+ |

  1836. ! K  g" n$ X3 E7 \( r
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    3 h0 Z; A. W2 W" R; F) A
  1838. ; is not being accessed.
    ; M* }( u5 y, r& F9 Y6 `
  1839. ;opcache.force_restart_timeout=180
    2 ^: G, n$ ^! r# l

  1840. . {, S/ C; i- H3 H3 q
  1841. ; OPcache error_log file name. Empty string assumes "stderr".$ a2 M) Y% E7 l2 o+ \  ]
  1842. ;opcache.error_log=2 ~* R5 C( p& \. o. X9 n
  1843. ! n! M3 Y3 U6 `
  1844. ; All OPcache errors go to the Web server log.2 R8 `) R( q& q. C3 b& V0 f
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    2 q7 I- {. ~  s6 P& E/ d
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    ' s2 Y+ z4 x1 N, u2 L9 K
  1847. ; debug messages (level 4).9 w) |$ `+ |" S- D9 I1 M% H. r8 D
  1848. ;opcache.log_verbosity_level=1
    - f- I, r* @# V' l8 I

  1849. 9 r/ q. {- P# X( h
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.+ ?$ P, O; e1 ^/ N! P6 b
  1851. ;opcache.preferred_memory_model=" J: Z0 T9 [$ T  \0 ?1 Q- X& q; e* t
  1852. 2 J3 M/ {" O5 v( O1 b
  1853. ; Protect the shared memory from unexpected writing during script execution.0 f/ g$ I* w8 T) P+ N
  1854. ; Useful for internal debugging only.; {2 a( ]1 Q: V% n  ?
  1855. ;opcache.protect_memory=0
    8 p; t3 M: v; L* B9 ^3 l% [9 I
  1856. # T6 s* S* ]! m4 y/ A+ M
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    6 v& G" D  G5 g. ^
  1858. ; started from specified string. The default "" means no restriction9 W/ ?8 p5 n, }
  1859. ;opcache.restrict_api=! z* ?) J2 [. d& @( s

  1860. + y+ i  @% D% f3 `1 ?2 Y! C/ i
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    1 d0 w* ^- a4 K" K# e3 D9 A
  1862. ; processes have to map shared memory into the same address space. This9 L* {9 s0 D1 Z4 l  E: T( c
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    & l, H1 ~! R2 X6 m$ I
  1864. ; errors.
    * D9 |% W: z8 g$ Z' D1 m3 Q
  1865. ;opcache.mmap_base=  q' }6 ]1 [8 q- l9 N6 |
  1866. 9 X2 W4 @5 v# m
  1867. ; Enables and sets the second level cache directory.9 e, Y: V. V  {0 Y% [9 X2 h- F
  1868. ; It should improve performance when SHM memory is full, at server restart or
    7 o# i) k6 d% q# M
  1869. ; SHM reset. The default "" disables file based caching.
    ) X& j0 p+ u+ D3 X. G, y
  1870. ;opcache.file_cache=
    1 o' g4 i9 {1 r9 \# h3 S5 E1 Z( A9 Q

  1871. + D8 i2 t. X3 Z! q' B
  1872. ; Enables or disables opcode caching in shared memory.
    $ ~" z6 s, s, H
  1873. ;opcache.file_cache_only=0
    4 M7 e! Q* v/ h, G' S2 Z" w
  1874. - \+ r3 R& G% P1 b' Q! t5 u
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    * m1 |5 f: f/ l! A, |# W- w
  1876. ;opcache.file_cache_consistency_checks=1- p. p9 k1 k, o  N( U
  1877. & R0 \" j+ B) C3 n: i+ F
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to7 i. i) A2 q. H4 w, o5 A' |
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file9 v- `: j& Q( ~' L
  1880. ; cache is required.1 r" F& n  O5 k& ?! J, U. b  R' K6 E
  1881. ;opcache.file_cache_fallback=1
    & R! U# y: c# B

  1882. 1 d) E( g. D, B! p4 r
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.5 {/ v* G( C  S4 a1 h! d
  1884. ; This should improve performance, but requires appropriate OS configuration.2 T+ u! X4 a' Y/ d) A
  1885. ;opcache.huge_code_pages=1
    " C1 ?+ _  P# `7 L7 q; L

  1886. 8 s# a; A: h. i" U' a) b6 }
  1887. ; Validate cached file permissions.9 `; Y, s& m5 |# [2 Q3 G
  1888. ; opcache.validate_permission=0
    # L5 ^4 V1 x% ~

  1889. 4 l+ I) }, n! P, w( {9 q
  1890. ; Prevent name collisions in chroot'ed environment.3 h0 [1 L8 U8 j  Q, V; e9 E) q* w
  1891. ; opcache.validate_root=0
    ) r7 s: p2 C$ _$ z6 f& y

  1892. 8 E! l/ E# C) I
  1893. [curl]2 r3 D% ^# \' h0 }6 `+ @
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ' Z, h1 j: y7 q* X3 Z
  1895. ; absolute path.
    1 ]7 j& Q! w8 T1 W9 }9 m
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt2 b; F: B# J( Y+ _

  1897. $ H3 t6 |5 I: H/ _  J. z
  1898. [openssl]
    * L2 k2 @/ e3 O2 y3 ]0 j
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem8 @0 g( o4 ]% ?3 F& i$ w
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    " `* ^; y5 @/ g. Y1 z
  1901. ; not specify a value for this directive as PHP will attempt to use the. K( G% R+ Q/ F9 O2 @3 ?
  1902. ; OS-managed cert stores in its absence. If specified, this value may still# ?. P8 R8 n; V8 a  ]
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context% [( m" I# q& G) n+ u" T; l/ r7 e8 `9 U
  1904. ; option.2 o( B. H: @* @% G* y. |9 p
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt9 w! d) G: A$ u* I+ O1 k
  1906. - S" O1 M' o) {9 z
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    ! i. l6 b# G: a2 U. G9 }8 M
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    7 W6 }* w: y; G6 l+ c. Q+ @4 C
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    2 ~! T6 K3 L! G/ H/ _+ O
  1910. ; Most users should not specify a value for this directive as PHP will8 d, [2 {  N& w5 a) X. ~( c+ w9 C
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,: m7 w$ n  v; l9 L  r$ B
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    : A, H3 q/ i6 Q. Y
  1913. ; SSL stream context option.
    5 ]. D" |; w2 E$ M! [$ b& f- {2 b
  1914. ;openssl.capath=
    ) ?( Q' }) }; f. w

  1915. 5 K+ S& H/ x8 O' w! Q0 @3 d3 ^; z
  1916. ; Local Variables:7 B; F/ u8 L9 V' K- t! L
  1917. ; tab-width: 4
    1 v, {2 t% Q; n& U' U
  1918. ; End:% k6 a3 I& E0 O' Y, a- ~0 ^' v" z

  1919. ! M7 j" x4 b+ _3 X0 |+ g+ `- p
  1920. ;eaccelerator0 n! v+ R9 `( ~8 p' I4 a) c

  1921. + a: `8 I8 @0 G0 x
  1922. ;ionCube" W7 D& m: j" \8 u- M# E( q
  1923. ' \4 |3 r$ P( F: W& O9 A+ s
  1924. ;opcache
    - F& R3 F  q; D. W) I' }
  1925. 0 H* K7 h9 S2 N
  1926. [Zend ZendGuard Loader]
    % Q' V* W8 x" Y1 w8 l: l: D( b: R
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    9 O( b  i5 o8 m
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    9 l$ w# a1 P1 c* Q
  1929. ;zend_loader.enable=1
    2 o# Q6 a* y$ s3 p8 r
  1930. ;zend_loader.disable_licensing=0: g! }  n6 e3 |; @& E9 U
  1931. ;zend_loader.obfuscation_level_support=3
    $ Q% n1 W& x* {
  1932. ;zend_loader.license_path=
    + n- o5 e  v  l, K0 f" j

  1933. $ K, l# u$ m5 w6 x6 U4 t1 v4 T
  1934. ;xcache
    2 n+ l6 ~' X; o  G
  1935. & J" q+ n; {- S8 p) ]1 x( B- D0 d( K
复制代码
2 e, G/ h2 ]9 h+ f

0 j, c4 M# A, f9 T
" [3 W( h& N9 [2 w1 s, [
" [; w8 ]- e, K" N/ G
! o2 G+ J4 V" {! g; O. Y6 U/ r
; k% {( Z- |( G& P$ Y6 W7 A
( [7 @/ a4 l1 a, {; o  A, [PHP5.6版本原始设置
4 b5 b1 r9 S/ |0 Q+ f0 i  t& [& }+ X/ @0 s( I4 b
  1. [PHP], r/ Q/ P  f8 l$ i9 m
  2. " k1 j2 t$ q7 O  M* l: ?; W
  3. ;;;;;;;;;;;;;;;;;;;% r, d$ U1 B: F* G5 R
  4. ; About php.ini   ;- L  K8 _+ U: o' D
  5. ;;;;;;;;;;;;;;;;;;;
    8 [( `! l2 W9 F1 C6 j
  6. ; PHP's initialization file, generally called php.ini, is responsible for2 Q. u- E4 d8 t3 y% k& y' z& q
  7. ; configuring many of the aspects of PHP's behavior.
    % W, C3 J; Q: m2 c* E* v

  8. % ^/ a! p- h) Q. t6 l( p* g  e
  9. ; PHP attempts to find and load this configuration from a number of locations.
    * n) ~0 E! s. Y7 `& A
  10. ; The following is a summary of its search order:
    % X- z2 I, W: \2 o6 d( \' g* L1 Y" K
  11. ; 1. SAPI module specific location.
    4 S# S3 b" k3 j
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    9 h! J8 n# A: B. A% ^' D1 J
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)2 N9 R2 b5 v% T$ U0 x2 ?% ~4 t- Y
  14. ; 4. Current working directory (except CLI), c5 T" E( ?/ v+ J! C
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP# P: U6 n! ?8 ]8 D
  16. ; (otherwise in Windows)
    / z( B0 _* N+ L9 \. C9 X
  17. ; 6. The directory from the --with-config-file-path compile time option, or the1 d+ g% d) e7 A; o& h9 s+ R" N
  18. ; Windows directory (C:\windows or C:\winnt)
    . R# `% k, O2 B8 m4 v5 H( o9 i
  19. ; See the PHP docs for more specific information.# u, K8 i& y5 c( D2 ^4 e/ |. t
  20. ; http://php.net/configuration.file
    , `( @  E" \! O. w' c
  21. . m7 I% o% L; c. i& A# `5 @" _7 l
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ! F. ~0 I. x: b# b2 ~# p& v  w9 z4 ~
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    4 }3 I) ?, j0 R+ V$ l9 o5 O# Y
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though5 X7 i$ E) x7 I% H6 d, n: x8 s
  25. ; they might mean something in the future.
      q, x: U7 q- x5 S0 ~
  26. 6 a2 Q- l8 i& E# P
  27. ; Directives following the section heading [PATH=/www/mysite] only
    2 d8 z* R7 s) T) l% k1 S6 g! n3 U. r
  28. ; apply to PHP files in the /www/mysite directory.  Directives9 I- B: `# t% h3 D, t
  29. ; following the section heading [HOST=www.example.com] only apply to
    / n) @" l& ~. E  y3 Z& O' e
  30. ; PHP files served from www.example.com.  Directives set in these9 T9 m) _9 B6 a
  31. ; special sections cannot be overridden by user-defined INI files or; V# E- `# P4 P/ o/ X& y+ l6 Y% w
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ) c! {% A5 u( A+ y
  33. ; CGI/FastCGI.; v1 G7 S( l+ ?" o
  34. ; http://php.net/ini.sections2 n- k- n0 d  [0 x" X& Y: Y7 e# |

  35. ( A0 ~; }. ]% \' H2 Y
  36. ; Directives are specified using the following syntax:& Y8 E% x) ?5 q, H
  37. ; directive = value
    . t" V6 `: L( c8 Z) j( O+ [
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    - i+ c. R& U: d* |% \
  39. ; Directives are variables used to configure PHP or PHP extensions.
    $ F9 H0 |; N) G6 P& J1 E
  40. ; There is no name validation.  If PHP can't find an expected2 p$ y/ o5 `/ d! N: U* f6 D
  41. ; directive because it is not set or is mistyped, a default value will be used.# a, S* f& d! M' ^
  42. # e5 z, _5 Q. `& W( K
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one0 V5 y2 T1 I" }* @
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression' D' x- H" R% z4 H) x
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a& h* Q, A, c% {$ g" y4 i
  46. ; previously set variable or directive (e.g. ${foo})
    8 Z3 n0 a% a! D/ {3 |; U

  47. 0 l! ]8 ?8 o1 |% Q& r; n* B* k
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    5 U! @  a( n' R
  49. ; |  bitwise OR) B+ x7 x5 {9 W, s0 h' b8 |/ L- R
  50. ; ^  bitwise XOR
    6 F4 [& L9 Q% F6 ~4 F
  51. ; &  bitwise AND
    : }; ?0 U# {. U
  52. ; ~  bitwise NOT0 |$ k5 e6 ?. d
  53. ; !  boolean NOT: B- ?* p- h( J
  54. ; u2 ?7 v4 A+ U+ m
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.- a7 \3 L+ z0 g  I8 L0 N
  56. ; They can be turned off using the values 0, Off, False or No.
    + Q6 o; A3 i% ]
  57. $ Y" o6 H( t+ I, ~( L
  58. ; An empty string can be denoted by simply not writing anything after the equal$ m& s- u1 r$ h) \/ w+ Y% |* l6 l8 B
  59. ; sign, or by using the None keyword:
    " s1 V. ?1 i9 d

  60. & \0 }+ v' T0 [0 M- ]5 ~$ z8 |
  61. ;  foo =         ; sets foo to an empty string& j6 {, R0 B3 ^$ ~4 h/ o
  62. ;  foo = None    ; sets foo to an empty string; r+ H. o* m$ r/ c0 @1 d
  63. ;  foo = "None"  ; sets foo to the string 'None'0 R; d/ d) |$ |! Z5 x0 p5 t

  64. 3 h. X! C/ S8 d7 n7 P
  65. ; If you use constants in your value, and these constants belong to a
    ' {0 M# F. r  a3 m9 |1 y: z0 T% v
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & a9 b' B" k$ w$ @# P' N
  67. ; you may only use these constants *after* the line that loads the extension.
    ' o- k! b- d4 r* o# |

  68. - Z/ [# ^4 ]& E& O
  69. ;;;;;;;;;;;;;;;;;;;/ I! E1 B% d# H& F" o
  70. ; About this file ;. T  s" z0 d4 T$ I3 C; h
  71. ;;;;;;;;;;;;;;;;;;;
    ) M# {, q3 v6 y# o$ C7 S) [" A
  72. ; PHP comes packaged with two INI files. One that is recommended to be used3 u& |! C( b* G  ^! j3 ^
  73. ; in production environments and one that is recommended to be used in
    0 \5 r; }) c, n, I
  74. ; development environments.
    . Y- n" C  [2 g) L; H2 j! x  O
  75. 3 B0 T2 W' k- |) ?  ^
  76. ; php.ini-production contains settings which hold security, performance and  q. P8 r( `7 T& Y. M, E4 R
  77. ; best practices at its core. But please be aware, these settings may break8 m- f1 c, b. y
  78. ; compatibility with older or less security conscience applications. We
    1 g" A# @7 E+ c
  79. ; recommending using the production ini in production and testing environments.
    / p# d8 C$ K2 V7 Z3 ?, p
  80. 2 ]. v' R0 L7 Z9 a5 d
  81. ; php.ini-development is very similar to its production variant, except it is/ I3 l1 M- e$ i6 ^4 x
  82. ; much more verbose when it comes to errors. We recommend using the
    0 z; s0 O2 W6 _. ~+ x8 T- V
  83. ; development version only in development environments, as errors shown to( S, Y/ [, J- ?1 Q
  84. ; application users can inadvertently leak otherwise secure information.) k, X1 l5 f6 @4 V; g

  85. 2 G; Z3 ], k  I2 \0 v) ]7 l: I- ^
  86. ; This is php.ini-production INI file.% {! ?. k4 L9 |  |! v3 D% b% U

  87. ! x; {/ U/ Q* |
  88. ;;;;;;;;;;;;;;;;;;;
    4 l0 T+ n1 t: R+ d% }
  89. ; Quick Reference ;4 c6 w7 [, m2 c) A9 @* I2 m
  90. ;;;;;;;;;;;;;;;;;;;/ @1 S5 Y2 y, t; e$ w: |2 W! J) |
  91. ; The following are all the settings which are different in either the production0 m) p& c: q+ t* v9 j7 Y$ z
  92. ; or development versions of the INIs with respect to PHP's default behavior., q0 p. Z. R: b: V+ h
  93. ; Please see the actual settings later in the document for more details as to why
    ( v7 Q+ n4 }6 R% \+ X6 I
  94. ; we recommend these changes in PHP's behavior.
    2 _8 M2 D: m, o$ l8 i/ \0 b3 F) @. U
  95. / v( r- ~7 ]9 n0 Q7 b3 A9 r
  96. ; display_errors
      I7 \3 o& ~8 V' h9 H& i
  97. ;   Default Value: On: N5 n7 o* z+ j
  98. ;   Development Value: On0 \& x$ `$ U" H# Q
  99. ;   Production Value: Off
    ) J  p3 W( L7 \# O/ Q
  100. ; K* O' `0 a) V3 g- H, P5 y
  101. ; display_startup_errors
    2 i8 E) a3 n2 Q8 s* K5 ?
  102. ;   Default Value: Off) b1 Y! E' y2 e( z+ B4 p& z7 e
  103. ;   Development Value: On
    ' N2 ]  G/ N! z
  104. ;   Production Value: Off1 U& x# H' k/ U

  105. * D9 |, S+ A, _( Q! g; A
  106. ; error_reporting
    + ^' M- ~/ S4 ?& }3 i
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  a$ m; \3 m! D3 c) I  J
  108. ;   Development Value: E_ALL% ^* n, z# {, f; J
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT) f: {# t1 w! i0 w% I" Z; k% o7 v0 Z
  110. 5 s+ f. U  m$ n1 A( C5 D
  111. ; html_errors; i& a9 U. M" U( e
  112. ;   Default Value: On
      k5 m; E) s( `. [3 _2 _5 }/ P
  113. ;   Development Value: On
    # d6 V/ P/ Z$ X2 @( V) B# [$ k# J
  114. ;   Production value: On
    8 Y- g; h% o& a1 u% m: p

  115. 4 W* z+ ~1 ?  c/ c* [* w* e7 S6 {7 t
  116. ; log_errors
    5 e, W7 o8 Y, k1 d7 {
  117. ;   Default Value: Off
    ' ~5 h8 _- [3 X) f
  118. ;   Development Value: On( m4 n/ P. c; K
  119. ;   Production Value: On% A/ ^) J' N% b) R7 _  s( A9 M

  120. + g) `$ f' b  z2 V
  121. ; max_input_time
    % r$ j8 f5 d* i# r2 w% o
  122. ;   Default Value: -1 (Unlimited)
    * Y3 R( P% s# ?9 |: U
  123. ;   Development Value: 60 (60 seconds)% ^3 C  E) P; z# P: f% r3 u
  124. ;   Production Value: 60 (60 seconds)
    - Z# g/ ^3 f$ K/ Q/ H
  125. / c1 u: N8 f2 I
  126. ; output_buffering6 O  h. }$ m0 Z, E. p: h" m% e
  127. ;   Default Value: Off; a! h3 \0 B% \8 _' m" P' r
  128. ;   Development Value: 40963 p0 y8 z' r' Z8 X! K
  129. ;   Production Value: 4096. M$ ~4 D& w2 f' k" a! S

  130. * N4 s6 x1 z2 z* ~6 {: F6 D
  131. ; register_argc_argv
    9 ]7 `1 l; ^2 e/ \  a$ s
  132. ;   Default Value: On
    " A0 r8 {$ P) ~! h
  133. ;   Development Value: Off
    ' u; i8 C# [; D" o
  134. ;   Production Value: Off6 a6 {, k; c" ]- @& U* j: p9 n

  135. 3 [7 u; v+ q3 i; m- a; S
  136. ; request_order
    ! w) h6 g2 z; V' J, a1 \: p' ?
  137. ;   Default Value: None; D5 s, e7 h* ~$ y. t* N
  138. ;   Development Value: "GP"/ |$ M1 A" D. x! u
  139. ;   Production Value: "GP"
    9 p! u5 o+ _* _* [  U* G
  140. & [7 t$ l8 w( i" y7 K
  141. ; session.gc_divisor
    3 [  Z0 m' i) y$ |' y5 r& V/ l
  142. ;   Default Value: 100
    ! t; \, _6 e- M8 i
  143. ;   Development Value: 1000
    * K6 l$ w9 C3 y) n$ \
  144. ;   Production Value: 1000. f7 Z# i* }7 n0 f2 V- Q
  145. 8 W9 J: Q9 z; @- v2 U0 S
  146. ; session.hash_bits_per_character
    & L5 [. Y; c2 v6 Z
  147. ;   Default Value: 4: G* b& s+ S% x3 l) k& [
  148. ;   Development Value: 5, c4 L" |/ ]. @5 s
  149. ;   Production Value: 5( b; I2 v( U5 m+ x

  150. " s# [& |% x& U9 g7 k* j' j: w
  151. ; short_open_tag
    7 r$ Z0 ^* J0 u- d7 ~# x
  152. ;   Default Value: On9 N) B2 k$ D- |: U" {
  153. ;   Development Value: Off
    6 D. t, f" p" K/ X0 ~# W1 @" o0 b
  154. ;   Production Value: Off2 q# X" G8 I+ ?

  155. ! D" U. `) ?3 M$ O  U
  156. ; track_errors
    2 a9 N4 d( ^# l+ A- M; z: ^
  157. ;   Default Value: Off
    # w( N2 |9 J" B# o( @, i1 I+ r* J* l
  158. ;   Development Value: On( l' e* d9 R) e2 J! v
  159. ;   Production Value: Off( u: _7 _4 H. Q2 S0 f+ o1 V
  160. & w0 v% R: S" z$ C, |/ G& f
  161. ; url_rewriter.tags
    6 A2 Q) }2 Z1 H6 O/ I
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="# X, S* Z# Y: S; S5 ]
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 |1 G, {$ O9 l! }
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & W5 G7 a5 r0 _! F
  165. 8 c3 w: L" |- U+ H
  166. ; variables_order
    - K1 u; S. A3 o& C8 S. f
  167. ;   Default Value: "EGPCS"
    9 g! `7 n' i+ G# q0 y/ Y- f, F
  168. ;   Development Value: "GPCS"
    0 b1 y% `% X: h* X& H
  169. ;   Production Value: "GPCS"! P" ~6 s4 E- r2 s( A! V

  170. - H- v( T/ O$ Z8 V  k$ x
  171. ;;;;;;;;;;;;;;;;;;;;
    " o' {! F0 o2 a% H* [- q, D
  172. ; php.ini Options  ;
      z( J% `, v( t) R7 Y8 A2 @, [
  173. ;;;;;;;;;;;;;;;;;;;;. G2 t3 }0 v6 t/ c. @
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    " N/ _: k" P: M. i9 u
  175. ;user_ini.filename = ".user.ini"
    7 [9 L9 s1 }9 _

  176. * x5 s+ m2 T3 Y9 y
  177. ; To disable this feature set this option to empty value
      v- |. \0 U1 f2 t6 e4 }
  178. ;user_ini.filename =% o' j$ x! h5 W! |
  179. 3 B$ E+ {8 B( {. m, T& h4 u9 q
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    8 W0 O4 L6 a3 b6 p5 s0 h
  181. ;user_ini.cache_ttl = 300, k, j& \$ W8 X8 G
  182. 5 v: u3 U5 M4 z0 [
  183. ;;;;;;;;;;;;;;;;;;;;, T! Y3 S) n1 d8 D* f6 Z0 F: `, k
  184. ; Language Options ;
    % T" L7 E' {! H6 }; i9 Y
  185. ;;;;;;;;;;;;;;;;;;;;
    9 _/ Q8 V- r5 H. k4 L/ y7 u

  186. , m( r% E7 u3 ]5 ?7 K* p+ u. n' Y
  187. ; Enable the PHP scripting language engine under Apache.9 _9 _) \% r8 n9 M3 c+ \5 @
  188. ; http://php.net/engine3 k6 j- h  |6 C/ T0 F- `
  189. engine = On+ R4 }- e, b9 v7 G" n+ D3 Z* {* e
  190. , k& m) l9 G* u% B% J
  191. ; This directive determines whether or not PHP will recognize code between
    ! l) r+ }2 X! E. K2 P4 L
  192. ; <? and ?> tags as PHP source which should be processed as such. It is8 H8 U6 d1 s1 n9 T  ^  v# `
  193. ; generally recommended that <?php and ?> should be used and that this feature% `( U& p9 r- z- e* M1 F& h
  194. ; should be disabled, as enabling it may result in issues when generating XML
      E. e+ A* k9 m4 L: J) }9 H& l9 T
  195. ; documents, however this remains supported for backward compatibility reasons.
    * S  k5 [# V. ~- u0 d4 d
  196. ; Note that this directive does not control the <?= shorthand tag, which can be. T' @4 z# D" J; A% q9 o
  197. ; used regardless of this directive.& a! b2 y- z7 a1 K2 j: Z, r4 F
  198. ; Default Value: On* [& F% k$ ?& _8 p" b8 w
  199. ; Development Value: Off: s" o- P/ r/ ~+ t+ F# G
  200. ; Production Value: Off
    / N. B! w0 D4 [* u, c3 L. g
  201. ; http://php.net/short-open-tag
    / }5 N8 |; p) ?; Y1 E/ s
  202. short_open_tag = On
    ' l& c, g4 d0 @' A4 \  X# d
  203. 2 e4 c9 T, B+ `. t
  204. ; Allow ASP-style <% %> tags.  s5 v) M, a  u: E$ a3 x. p8 O
  205. ; http://php.net/asp-tags
    0 g; o0 x$ g. x9 _% Y/ n6 y
  206. asp_tags = Off
    4 }4 e* F5 `) B( P& e* f& ?: w" y/ |

  207. 4 o/ _) F3 @8 F; F
  208. ; The number of significant digits displayed in floating point numbers.9 W- O) B7 ]5 Q" o7 h/ F5 o
  209. ; http://php.net/precision
    " p7 i2 y4 x8 N7 K; Z  ?  `
  210. precision = 148 X" T4 L: X+ c4 ]! P% m7 T7 g

  211. 8 H' s4 _, m5 G6 [+ u! v3 A6 ?% p% N
  212. ; Output buffering is a mechanism for controlling how much output data
    9 {0 @' ?/ l# T6 T! J% O& {" Z
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ' A+ H* e+ ^; p1 \
  214. ; data to the client. If your application's output exceeds this setting, PHP5 S7 D2 L# y) F
  215. ; will send that data in chunks of roughly the size you specify.
    ; ^% Z0 }0 y6 f4 s1 n, P, g# h
  216. ; Turning on this setting and managing its maximum buffer size can yield some+ f" T# r9 k) ^0 P
  217. ; interesting side-effects depending on your application and web server.
    % j( d+ Q2 J0 _& ^8 _
  218. ; You may be able to send headers and cookies after you've already sent output' u; a, f: @4 u9 r' s
  219. ; through print or echo. You also may see performance benefits if your server is) d8 c" l4 B5 @9 u
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    2 y7 X! h) }' I
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance% z) j4 T8 K0 Y( l9 E2 ]+ H+ u
  222. ; reasons.$ k& t7 O8 x& |6 o5 n! k5 A
  223. ; Note: Output buffering can also be controlled via Output Buffering Control& c5 b8 R- x" ?' [1 J( r! O
  224. ;   functions.
    4 K$ ?/ J* ]# |
  225. ; Possible Values:7 I; D& M* w) Q1 G6 J6 T2 }
  226. ;   On = Enabled and buffer is unlimited. (Use with caution); |/ _( S& `/ z* m
  227. ;   Off = Disabled8 s' m' F( ?4 W, `' e
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    # ^5 x9 O9 T6 n* W$ X3 C+ A
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI8 G; v+ T+ H3 _9 |6 }
  230. ; Default Value: Off0 t4 `+ X' ^( n( n0 @; }
  231. ; Development Value: 4096
    / h% ~  X1 t7 F+ w& O& J
  232. ; Production Value: 4096! M8 d8 c* c; L# |
  233. ; http://php.net/output-buffering
    ( X7 U0 n/ E+ T( o) ~! t- ~
  234. output_buffering = 4096
    5 S& f4 A% X, @: A& P, w

  235. ' Q1 C1 q7 m$ Y- q( f' L- f- f
  236. ; You can redirect all of the output of your scripts to a function.  For! m* V7 S& }! l
  237. ; example, if you set output_handler to "mb_output_handler", character/ V  w; x) `; F9 n
  238. ; encoding will be transparently converted to the specified encoding.! _5 p/ p) ~7 g) e) Q
  239. ; Setting any output handler automatically turns on output buffering.3 _9 S$ Q, A+ S0 }0 x; _( L
  240. ; Note: People who wrote portable scripts should not depend on this ini$ S% I6 f) ^! d/ G1 a0 z
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    6 y+ d  Z2 O4 Q
  242. ;   Using this ini directive may cause problems unless you know what script! h/ z+ P1 e! K! M0 L; K4 ^
  243. ;   is doing.
    8 F7 s5 T0 X$ U$ D5 T
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"  t4 `4 L1 d# Q$ y
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".# D* T' b$ w8 ?5 U; c8 M4 e
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    $ h# w( G* n% ^, }% b# [
  247. ;   Instead you must use zlib.output_handler.; |/ R5 |2 J9 Q  C) H
  248. ; http://php.net/output-handler% t3 h" h1 |4 P9 Y
  249. ;output_handler =) @* o) n$ m- C1 S1 |

  250. ' I: L# H; T7 b( A
  251. ; Transparent output compression using the zlib library2 K8 @& k- m' p/ y
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ( L. R: g" D/ ?6 w3 b# }/ r" l6 b$ V& m8 h
  253. ; to be used for compression (default is 4KB)
    , ?% J/ @6 b1 v6 i
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    $ M9 c- C6 P; t; w. D- i/ K" l
  255. ;   outputs chunks that are few hundreds bytes each as a result of/ d0 P" _! ]/ F7 L$ [6 K. _
  256. ;   compression. If you prefer a larger chunk size for better
    8 K! q+ H# X! U4 A
  257. ;   performance, enable output_buffering in addition.% A9 l4 V5 ?/ B# q4 O% B
  258. ; Note: You need to use zlib.output_handler instead of the standard
      N4 {' K  R9 l0 {( @
  259. ;   output_handler, or otherwise the output will be corrupted.
      E3 [5 Y9 e9 M8 l
  260. ; http://php.net/zlib.output-compression
    ) p" v7 [2 [" b# ^5 _( p9 e% q
  261. zlib.output_compression = Off& ]7 X, O1 j1 o. _$ {

  262. , J4 c, Y: @1 v! d+ k. z
  263. ; http://php.net/zlib.output-compression-level3 k$ m$ Z5 k0 U+ ]& U  S
  264. ;zlib.output_compression_level = -1
    2 i6 V2 H- w" l8 X, R$ t
  265. 6 D( B3 S: @8 E- {3 v- ?
  266. ; You cannot specify additional output handlers if zlib.output_compression( t2 H' x3 _4 K1 @% M5 Q1 `, W  e
  267. ; is activated here. This setting does the same as output_handler but in; B- k! G9 U6 ^* n
  268. ; a different order.( v  I" `0 {2 O6 i
  269. ; http://php.net/zlib.output-handler2 C! }( T8 S$ I4 d
  270. ;zlib.output_handler =; v1 e" B5 u+ G* \1 Y
  271. & c0 ^1 s% R1 k6 e  l1 F# y
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ) j) \. o) {% l& S1 C/ s+ |0 C
  273. ; automatically after every output block.  This is equivalent to calling the
    # n& r/ y" h: x
  274. ; PHP function flush() after each and every call to print() or echo() and each
    + g( k7 |7 R$ L0 c+ _% {
  275. ; and every HTML block.  Turning this option on has serious performance
    / s0 ~5 z. f- U! z* W5 |
  276. ; implications and is generally recommended for debugging purposes only.' k9 V. v1 V$ d7 b
  277. ; http://php.net/implicit-flush
    - p8 N# M$ x0 T! h0 @
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    , z. U& \( Y$ T" G/ I8 m; L9 O
  279. implicit_flush = Off
    - r, B2 K1 f2 M2 [. U
  280. % C9 Y4 g7 S4 X' i1 `
  281. ; The unserialize callback function will be called (with the undefined class'& \! D) s9 W0 t4 [/ Z/ u! t
  282. ; name as parameter), if the unserializer finds an undefined class6 i) b' P" E, `# f+ `. e7 t
  283. ; which should be instantiated. A warning appears if the specified function is1 A" L3 s; U% k
  284. ; not defined, or if the function doesn't include/implement the missing class.. V( R1 h* `6 _2 H
  285. ; So only set this entry, if you really want to implement such a" g' b8 _/ ]: _& f6 h' c. `
  286. ; callback-function.
    # Z- v- ?6 d" b9 W% H+ `
  287. unserialize_callback_func =. G- V: s5 g) Q8 ^4 ~% C. |& u
  288.   Z+ y) A, t2 l% S% R
  289. ; When floats & doubles are serialized store serialize_precision significant
    . H- k) C; k5 n6 K- Q$ F- _1 R
  290. ; digits after the floating point. The default value ensures that when floats
    ! n; h+ a6 N- V* }
  291. ; are decoded with unserialize, the data will remain the same.
    0 o% `. \: R. G, E& S. |5 u
  292. serialize_precision = 17
    ( m: r+ b3 l( [% F$ t+ |7 I8 J

  293. - @' ^6 n& D$ @, ?, r
  294. ; open_basedir, if set, limits all file operations to the defined directory
    ) v) M  D8 O; q( @4 c5 U5 l! @# d
  295. ; and below.  This directive makes most sense if used in a per-directory
    ; w8 h% J; x9 n% k. T: b
  296. ; or per-virtualhost web server configuration file.5 ?! H" o0 W  @  h; j7 ]/ X4 f
  297. ; http://php.net/open-basedir1 b! y& b& V3 n8 C3 I% y2 s# z
  298. ;open_basedir =3 x8 _- ?0 H/ ^- E( K1 O
  299. : R& H1 y0 T7 O8 g
  300. ; This directive allows you to disable certain functions for security reasons.
    " i. a1 q3 h; N% _3 f2 ~" U& w
  301. ; It receives a comma-delimited list of function names.5 j$ _( {% p8 O) ~3 m
  302. ; http://php.net/disable-functions
    " O( K- K5 Q: _" [3 U0 O
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru) ]7 T5 a  `0 x9 X0 _( }
  304. 3 e3 [; n4 `& t
  305. ; This directive allows you to disable certain classes for security reasons.
    1 @, }  M1 t$ y# f( ~+ f$ t/ L: e
  306. ; It receives a comma-delimited list of class names.) _! l4 _2 \2 ^# _  |- i7 t
  307. ; http://php.net/disable-classes
    4 r1 q, S7 @# P! c" k: r4 ]
  308. disable_classes =2 e, I% O% T. Z# k1 q
  309. + }% a9 ~1 l4 Y. o0 i
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in- \: A5 y: k8 h3 Q1 X
  311. ; <span style="color: ???????"> would work.
    5 S  l  B$ u8 Y7 ]0 G/ y) i
  312. ; http://php.net/syntax-highlighting
    - g$ T3 l! C# Y3 @( {
  313. ;highlight.string  = #DD0000
    & j' e- ~& N* b  K  l$ p3 _( p
  314. ;highlight.comment = #FF9900$ e& C; c4 p* ^$ Q6 C. t
  315. ;highlight.keyword = #0077008 E0 E! x% B5 x* j( L. l
  316. ;highlight.default = #0000BB
    $ g- H8 c) I0 {; i
  317. ;highlight.html    = #000000
    & S$ [. A' U) ]' x
  318. $ J  L# c2 c; m. B
  319. ; If enabled, the request will be allowed to complete even if the user aborts9 ~5 ~; P0 L7 l+ I* l
  320. ; the request. Consider enabling it if executing long requests, which may end up& d) ]8 z) u: t
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    8 o: U, S; q' ]% R4 I) a% A# w2 p
  322. ; is to disable this feature.( Z7 R9 ]" ~# {, r# Q& p, i
  323. ; http://php.net/ignore-user-abort( Z/ l( \% w+ ]: H- t
  324. ;ignore_user_abort = On
    % h! o6 Q" L2 u' R  a- B1 M

  325. 1 h! T1 [. a8 J
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    ! x# }; N& F' t. ~6 h& }$ ^2 b" |7 s, M
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
      b# A* y/ \3 ?8 @) U, H# e
  328. ; the file operations performed.
    + N& W' }( }3 C. _; e
  329. ; http://php.net/realpath-cache-size
    ) \. z! q) i: `
  330. ;realpath_cache_size = 16k
    ( P) D: m- ~2 O* Q3 _
  331. 8 U( B$ G0 k3 ^2 d
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    6 P. u1 U% ?0 \" P& M
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    & G3 a$ A" U9 x( e6 \* K
  334. ; value.
    . N. b* v: j' C; w, I$ {! N
  335. ; http://php.net/realpath-cache-ttl/ D! \& R9 o3 \
  336. ;realpath_cache_ttl = 1201 }! k" L$ ]+ o# X  P
  337. / S) G1 x: N0 ~
  338. ; Enables or disables the circular reference collector.1 K1 W5 {+ ?) O5 a
  339. ; http://php.net/zend.enable-gc3 _/ z# Y- I* s/ |/ ~+ P9 |
  340. zend.enable_gc = On' Q$ ^6 p- A$ s' S% t) Z5 R4 }

  341. : S) v& z" x0 q1 ]
  342. ; If enabled, scripts may be written in encodings that are incompatible with+ Y! q% u% A. D0 A4 h  b
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ( n8 r5 L( y8 p6 p  X
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    5 \) ?# ]3 n# y6 g( n+ H
  345. ; Default: Off" Z4 }8 ~& T( O7 {
  346. ;zend.multibyte = Off
    6 E( u. q$ f. N5 }! T  B: E/ ~

  347. 8 M9 ?! P6 _/ ?
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    5 b5 }6 [2 ^* t9 ]5 v7 [
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.# O: @. F9 U# `: ^" m/ h
  350. ; Only affects if zend.multibyte is set.( Q# D8 |" Z8 D1 O" z3 D
  351. ; Default: ""  N+ V9 o, }, r6 X
  352. ;zend.script_encoding =# ~7 u8 Q& j2 d4 h
  353. ' C1 O! D) Y8 s: n. x0 \9 T7 |4 o
  354. ;;;;;;;;;;;;;;;;;
    0 K/ `1 K% l+ J! y
  355. ; Miscellaneous ;
    0 H# N4 h# I, b# L/ z; j6 e
  356. ;;;;;;;;;;;;;;;;;: }% ^, ]( \6 H2 {1 [

  357. + p3 f6 f. T4 S9 e; X
  358. ; Decides whether PHP may expose the fact that it is installed on the server2 p+ c% G- e4 G9 h4 \8 b# O
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    9 v& Z( Q9 a3 K  B6 g
  360. ; threat in any way, but it makes it possible to determine whether you use PHP) F- o; L' z% b! w6 r
  361. ; on your server or not.
    ; {1 _$ M$ U% L! W+ U: K: Y
  362. ; http://php.net/expose-php) ?( R. v* z0 K- |3 M- ^
  363. expose_php = On, f- ]$ F. e0 S* y) k
  364. 6 C* b, }% i, k" M) |& @
  365. ;;;;;;;;;;;;;;;;;;;9 ~; E& M5 Q+ L9 M: x
  366. ; Resource Limits ;6 T0 R* I$ j2 f
  367. ;;;;;;;;;;;;;;;;;;;
    . l6 X* t: v& |

  368. 9 B* c+ M9 B  h& k
  369. ; Maximum execution time of each script, in seconds
    & Z( t! S9 M2 i: _4 C) i3 B
  370. ; http://php.net/max-execution-time% R  Y) H; m7 ]8 g( t$ S/ S
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI% L6 t+ _. ]) O! N
  372. max_execution_time = 300
    6 w( L4 s$ c5 x& i+ Q- |5 y

  373. 9 y6 Q+ L0 j" h6 L1 ^9 O
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    8 O( g6 `) K8 V
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    , v- }5 S0 f4 S) O* O
  376. ; long running scripts.
    5 E  b! [9 m6 ?3 K$ @2 x9 J1 l1 x  h1 G
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI) w, \3 q# Z: V
  378. ; Default Value: -1 (Unlimited)' b/ ?- F/ g$ Y7 @
  379. ; Development Value: 60 (60 seconds)
    2 C: G6 x4 D( {
  380. ; Production Value: 60 (60 seconds), R, N3 g3 b4 u% }2 [. Z
  381. ; http://php.net/max-input-time
    % r6 e- e/ `$ t2 c7 O
  382. max_input_time = 60* p% w3 D- M3 e) w

  383. 7 A2 ^  D  w* f) x+ i5 a
  384. ; Maximum input variable nesting level6 b0 z7 X6 }% c
  385. ; http://php.net/max-input-nesting-level! q* [7 j! x! Y6 }# p
  386. ;max_input_nesting_level = 64# d* i+ K; X5 d" r/ a
  387. ! n1 M8 e* F% v  [$ w$ n
  388. ; How many GET/POST/COOKIE input variables may be accepted! a; p/ s1 r/ j$ A% J" H7 _
  389. ; max_input_vars = 1000
    ' S+ }0 X, j# ^' }# I9 F- z3 H

  390. 4 G3 y0 U$ ^8 F# \8 h
  391. ; Maximum amount of memory a script may consume (128MB)
    8 H  G, z0 w9 Z8 u  D6 {
  392. ; http://php.net/memory-limit3 V4 r& ^  I: R
  393. memory_limit = 128M) B1 e6 _6 d! q: D) w( A3 \
  394. ' o: a* L+ W6 B5 j; y
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;% i3 ^# M4 G3 }) k/ r+ V
  396. ; Error handling and logging ;
    3 n; \/ p0 L( ?* E% x! m0 K: X
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    5 w' G7 E/ Q6 _8 o1 l* `
  398. . w9 N1 {' s. a# w) u
  399. ; This directive informs PHP of which errors, warnings and notices you would like; M9 \7 ^& O+ X, S
  400. ; it to take action for. The recommended way of setting values for this+ p1 Z# M7 {; _  e4 U  m7 u# j
  401. ; directive is through the use of the error level constants and bitwise
    0 Y7 X; u+ V5 L7 K
  402. ; operators. The error level constants are below here for convenience as well as9 F) ~/ d' g$ r" m/ G# ^/ h
  403. ; some common settings and their meanings.3 L0 s, _6 |0 `* W: F( j
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    5 Q* z9 ~8 L" U8 j  b3 X5 f
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and$ c9 Z& e7 |. w- C
  406. ; recommended coding standards in PHP. For performance reasons, this is the; ^! @! S# n. I, X( T' K
  407. ; recommend error reporting setting. Your production server shouldn't be wasting: u# B/ V5 g/ F  Q
  408. ; resources complaining about best practices and coding standards. That's what* ?' Q3 P4 V3 t8 f
  409. ; development servers and development settings are for.
    % B5 q9 E9 V" R" ]  R- `
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    . L0 v. g( ^$ N7 l$ B, m( ?2 I
  411. ; means it pretty much reports everything which is exactly what you want during/ q3 N* @. [! K
  412. ; development and early testing.( H7 T4 p9 m" M
  413. ;8 o% H, O. ~! m6 a1 s
  414. ; Error Level Constants:
    ; v( ?* ^! W, |/ s, T/ i
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    4 z/ a, P4 ?5 d
  416. ; E_ERROR           - fatal run-time errors9 P( {) ?0 l& E6 M2 b5 R# j! E
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors( B, Z) y4 u9 t
  418. ; E_WARNING         - run-time warnings (non-fatal errors)/ h9 D, G, h/ n8 |! L
  419. ; E_PARSE           - compile-time parse errors" T* h7 t; v. I. P& h. u$ G% x9 H+ B$ k
  420. ; E_NOTICE          - run-time notices (these are warnings which often result7 _+ c# s5 E: x# [
  421. ;                     from a bug in your code, but it's possible that it was* Z4 }9 h# q/ l4 K% p
  422. ;                     intentional (e.g., using an uninitialized variable and
    * S8 ~& A9 `  `+ [
  423. ;                     relying on the fact it is automatically initialized to an
    7 s2 `  v9 q  q+ r
  424. ;                     empty string)8 P4 X0 N0 T$ e) Q
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes* K2 H1 z+ g/ u
  426. ;                     to your code which will ensure the best interoperability$ b: Q8 p7 P% W! f
  427. ;                     and forward compatibility of your code2 k. f( r. ^, e4 U) Y7 b
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    * v, V3 P" P2 X: s! V, X
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    $ }. T9 c9 h# A) Y: \
  430. ;                     initial startup$ S% |7 [8 n' S- T* P
  431. ; E_COMPILE_ERROR   - fatal compile-time errors1 r, c! S* I1 J
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)' O( D6 L8 |9 N/ N, F0 s
  433. ; E_USER_ERROR      - user-generated error message
    0 w  X7 [, a; Z5 K" k/ `
  434. ; E_USER_WARNING    - user-generated warning message
    ( d( G9 C. j7 A0 C: [
  435. ; E_USER_NOTICE     - user-generated notice message
    2 ^) r- ?. O' Y# t5 M! N
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    4 l) J% p/ \; i: d! I
  437. ;                     of PHP" c3 a, i) ^* b
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings+ a& ^, e7 P. y2 j7 E
  439. ;5 T1 k' f) `4 i* @9 Q
  440. ; Common Values:1 P- v" ~" y) M1 c" S: f0 E0 }$ V6 P
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)1 `/ a  X2 W' m; o( m6 Z$ V
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    3 B/ q4 l5 m# ~' V! x
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    , J( \3 o! W3 ]$ {; A* ^
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)& l/ N2 S' Y9 B/ l) Y
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED! J7 p4 A- T! U, {( C
  446. ; Development Value: E_ALL
    4 `" m. x" R4 T& `
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT) I# `6 K9 a1 k6 y/ H) S
  448. ; http://php.net/error-reporting
    0 e: \& Z; X2 M( W8 w, S' U5 Z" V/ q
  449. error_reporting = E_ALL & ~E_NOTICE
    + O8 G- N% C0 F0 R( ], u1 `: V
  450. . N7 ?4 z5 T* H8 O' w
  451. ; This directive controls whether or not and where PHP will output errors,
    + G3 [* a2 I1 @
  452. ; notices and warnings too. Error output is very useful during development, but4 }$ k2 I6 `8 Q5 Z5 R7 d: f; Z
  453. ; it could be very dangerous in production environments. Depending on the code
    . Z0 B% B- A- x3 m+ X8 M2 ^8 V
  454. ; which is triggering the error, sensitive information could potentially leak! A, U6 \& W- Y! b! K1 Q
  455. ; out of your application such as database usernames and passwords or worse.
    3 ^# F8 Q) F; _3 V, E! [
  456. ; For production environments, we recommend logging errors rather than
    . S4 u7 ?- i0 w" ]2 I2 ^; P, Q) @
  457. ; sending them to STDOUT.
    : e: j. \1 R0 `' {; N# n" {
  458. ; Possible Values:3 A3 E; `6 E8 @$ x( f
  459. ;   Off = Do not display any errors) B* K0 x+ q. N  S+ a" \2 A. _, N
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    . F) T# q. _& |
  461. ;   On or stdout = Display errors to STDOUT
    7 T" c1 p/ b  ^
  462. ; Default Value: On
    ; F% b) \0 S6 F; i5 h' Q4 ]
  463. ; Development Value: On
    4 P* x# j* A6 e$ E: ]6 R: c* I
  464. ; Production Value: Off; L' q9 S$ h. h' [: y- M
  465. ; http://php.net/display-errors$ C% t& z' y; Z; u& G1 m, z$ p
  466. display_errors = On6 V% ]* C3 J# B2 v2 A+ P5 N; ^8 Y

  467. ' u& D. q. G% i/ C" o
  468. ; The display of errors which occur during PHP's startup sequence are handled
    . z8 d) Z& f3 }, w
  469. ; separately from display_errors. PHP's default behavior is to suppress those" W( p. R, E7 ?' j
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    . i# k  p1 T/ P4 `5 b! T3 ~8 V
  471. ; debugging configuration problems. We strongly recommend you7 j$ i6 }, y' y) G4 z
  472. ; set this to 'off' for production servers.6 B+ f4 C8 v; r
  473. ; Default Value: Off: q3 |, a& R4 D# |0 }
  474. ; Development Value: On: T7 y, Q/ J$ n# Q
  475. ; Production Value: Off  s! {! O: T5 Y) C+ F: [1 Q
  476. ; http://php.net/display-startup-errors" ~3 G3 s0 i5 B3 L+ W
  477. display_startup_errors = Off; s& ?) K- V$ W. i4 F( R% K$ h

  478. " @9 K1 e3 F& N! ]
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    + t" r* |  I" S  T* e/ p  t: }
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ( o5 w' x1 c# w( @! z
  481. ; directive found below. While errors should not be displayed on productions
    3 @3 Z- D) e! a( Y2 {
  482. ; servers they should still be monitored and logging is a great way to do that.
    9 k" M/ s2 D$ _0 U8 @; k! B
  483. ; Default Value: Off# u/ f" R$ y' {! i; m6 r& c
  484. ; Development Value: On  H, Z9 \" W% h: ^
  485. ; Production Value: On# O7 v; h0 R% a1 \
  486. ; http://php.net/log-errors
    2 Q$ a3 X& S7 f0 y" Y6 _
  487. log_errors = On
    ' W9 J! a$ O! S# ?! _! V" M" N
  488. 8 n0 Y% P5 [# T  \; R
  489. ; Set maximum length of log_errors. In error_log information about the source is
    * {3 n3 J( H8 N
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.8 E* F# S# }% H
  491. ; http://php.net/log-errors-max-len0 y; W6 G  c0 ^
  492. log_errors_max_len = 1024
      [8 l0 a7 s4 A/ }9 N# R
  493. 5 j* y9 U4 l* u9 M& b1 y
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ) m& ]8 e; z! r  w4 n; p3 \" S
  495. ; line unless ignore_repeated_source is set true.
    0 ~" W' G  O* p' E
  496. ; http://php.net/ignore-repeated-errors
    1 E9 F9 I0 m* l
  497. ignore_repeated_errors = Off
    6 n" }0 Z7 W. Q$ K" y( t& r
  498. 3 `# i; _8 ]7 W. M* g3 q  l! T; \
  499. ; Ignore source of message when ignoring repeated messages. When this setting, J) Z+ N5 S1 F% v+ a: G# ]  I
  500. ; is On you will not log errors with repeated messages from different files or
    # ~% T6 @# d2 \
  501. ; source lines.* l; @/ _0 u* b6 |6 S
  502. ; http://php.net/ignore-repeated-source- g  J6 d$ s0 a( {3 s+ P# K
  503. ignore_repeated_source = Off* |' Q) _% m8 u7 q' Y
  504. ( i6 H2 J( h& W  v  i8 L( Q8 c
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on% [  L# ]. v+ ]
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    - {2 R$ `* N* d! ?
  507. ; error reporting includes E_WARNING in the allowed list+ d3 g8 S: ]' G3 x: i
  508. ; http://php.net/report-memleaks
    8 ~$ q& ~% _. u
  509. report_memleaks = On. @- ]0 O3 n1 z" x& S) W+ ~$ q
  510. ; [; r  n) {0 X8 J% N, v
  511. ; This setting is on by default.0 S) Z% q: y; g3 e/ {
  512. ;report_zend_debug = 0
    ! Y2 j, ?/ T4 p; \

  513. ( T" j) t5 R, H( J# g- \! N! U# o
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    5 E' S) Z( W- m
  515. ; to On can assist in debugging and is appropriate for development servers. It should0 `& M' q2 E, p- u
  516. ; however be disabled on production servers.
    ! S$ Q; y: v; U3 q
  517. ; Default Value: Off
    " M) R( l6 i, m
  518. ; Development Value: On
    + U+ X4 _4 C0 v3 P& I" D3 ~
  519. ; Production Value: Off
    . p2 G9 |9 t. {; J" i$ ?% u8 W( m
  520. ; http://php.net/track-errors
    " Z% `. {6 ?1 [' h
  521. track_errors = Off2 h3 w4 a4 |) B6 X
  522. 0 n/ Y0 z6 b4 V) t7 a
  523. ; Turn off normal error reporting and emit XML-RPC error XML" y0 c. p* Z+ T2 b& t4 |
  524. ; http://php.net/xmlrpc-errors2 ?; @5 y7 N7 G. ?& _" C3 y
  525. ;xmlrpc_errors = 0+ X: j# D, @# l) K7 x9 C

  526. $ a; V! G% u( e
  527. ; An XML-RPC faultCode( a% [/ o5 k1 n# W! C+ J- n
  528. ;xmlrpc_error_number = 0
    0 Y" n1 d4 ?# s5 d5 G; ~% \
  529. $ J: m! b0 B& ?& R! z. g
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    # p% U3 E. p0 `* s# ~2 O
  531. ; error message as HTML for easier reading. This directive controls whether& m; n4 \0 B5 x0 a/ x; ?
  532. ; the error message is formatted as HTML or not.
    2 A( J3 @) R$ y! U% p8 {6 ~4 A: A0 R
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI7 x2 L) x0 i, E$ {! Q6 t( F
  534. ; Default Value: On
    + O% M' c* S) b: Y  L! [
  535. ; Development Value: On3 n2 }/ V7 S, q; ^" v1 ~& }- F! m
  536. ; Production value: On1 o+ `5 j. e9 |( W6 q+ M: ~, n
  537. ; http://php.net/html-errors
    " a$ W0 K) m2 }! d
  538. html_errors = On
    6 T& r7 X. o  m0 r# c
  539. 6 i4 \/ S; _. N
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    3 r7 J$ D7 ?8 x+ @" x1 c
  541. ; produces clickable error messages that direct to a page describing the error
    8 P$ }- `' N' d4 R
  542. ; or function causing the error in detail.9 x$ }- D7 Q. z* [5 i% z
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ) y7 d5 _- o: X! \+ l  j* K
  544. ; and change docref_root to the base URL of your local copy including the
    - N$ C# k, {6 [8 R2 l  N( z
  545. ; leading '/'. You must also specify the file extension being used including. m! K3 }5 P* a  d
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    4 [' {& X, i2 ^- e7 M2 v5 \: C  v
  547. ; case no links to documentation are generated.& J) ~, r/ U# Q  d# m6 `2 ~
  548. ; Note: Never use this feature for production boxes.+ k- g1 }1 f3 Q; }# Q" F& j
  549. ; http://php.net/docref-root) F; Y) U% k3 n. F! R) [$ _! {
  550. ; Examples
    9 H3 t% B8 v0 O$ B$ |* f+ @& y
  551. ;docref_root = "/phpmanual/"& C; W- q0 r) b+ H* ?' y
  552. : a% \* y1 j8 Y1 K; p" g+ _
  553. ; http://php.net/docref-ext' v6 T, R' m4 g
  554. ;docref_ext = .html
    ' o, o$ }1 x" R! }9 W
  555.   v6 e+ ^* A7 W& f. ]4 W  l
  556. ; String to output before an error message. PHP's default behavior is to leave7 H, l$ ?( ^* ^. T9 o! a: t5 W2 w
  557. ; this setting blank.+ \' i4 t  w6 [( s3 B4 k
  558. ; http://php.net/error-prepend-string8 X1 v1 S. d7 K% y2 ~2 m- L1 r% o
  559. ; Example:. d1 j  l, M& N  L$ Z7 E) y" V
  560. ;error_prepend_string = "<span style='color: #ff0000'>"( r4 z, D2 U; W, z

  561. * Z+ ^# G5 ~& N2 M9 m
  562. ; String to output after an error message. PHP's default behavior is to leave5 \' @/ K+ j! k7 u1 M
  563. ; this setting blank.4 ~! U( v- F% u$ A
  564. ; http://php.net/error-append-string
    $ R4 @( _" D2 O8 {: X$ R3 S
  565. ; Example:7 _+ o' g8 i9 O$ _# v
  566. ;error_append_string = "</span>"; v1 U' E6 I# j" y

  567. , l5 e1 |4 }  p% X, I- J
  568. ; Log errors to specified file. PHP's default behavior is to leave this value3 `1 U4 _4 O7 ^- p) k1 d; {
  569. ; empty.6 S* e' ~: F2 s  X( }3 F
  570. ; http://php.net/error-log* ?6 _+ d$ z& r0 E0 |% O8 J6 p
  571. ; Example:& ^1 Q) f* T3 r1 f& ~5 W4 o0 z
  572. ;error_log = php_errors.log' q) P/ H3 q' v
  573. ; Log errors to syslog (Event Log on Windows).9 Z0 O5 g$ l' I2 ?& j( t# R
  574. ;error_log = syslog2 a9 H! B; B! T  z2 d3 U+ S

  575. 5 A  w( K4 H+ P0 G, D$ ~
  576. ;windows.show_crt_warning
    8 z! S( N! Y% V2 e1 [$ }. n9 V5 _- l+ d
  577. ; Default value: 07 _$ ~* [3 s/ b( D. I
  578. ; Development value: 0
    + o/ A. U  @% m1 W
  579. ; Production value: 0
    & ~& h# p0 y% q( |1 e4 V( @

  580. ( d& d! e" V! E  C2 n
  581. ;;;;;;;;;;;;;;;;;
    , X/ ?3 y+ d- L5 e
  582. ; Data Handling ;3 ^) t1 a  M* E
  583. ;;;;;;;;;;;;;;;;;  `# w) Z; W; A. ]5 [4 P. m7 Q

  584. & x! B2 J5 k  Y
  585. ; The separator used in PHP generated URLs to separate arguments." ^5 i2 z0 z) h. u/ P
  586. ; PHP's default setting is "&".
    - i, `" ~) k) y( O0 K! ]- x
  587. ; http://php.net/arg-separator.output
    5 |& [/ q, s4 X$ B
  588. ; Example:
    5 z1 \5 R* E4 F2 b! g2 ]$ w
  589. ;arg_separator.output = "&amp;"/ T' V2 z; _% S/ Z' b

  590. # C$ p  D$ ]6 g& ?
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    8 e+ r; f1 |. ?6 |+ C& f
  592. ; PHP's default setting is "&".; ?3 q( u3 X: t" e
  593. ; NOTE: Every character in this directive is considered as separator!
    5 y, ?2 i" Y4 R; ~3 E! T
  594. ; http://php.net/arg-separator.input
    0 \' u" O) m% ?* w1 M5 J$ Z- ^0 L" n6 U6 d
  595. ; Example:- d  p( G9 \0 e4 U" ]6 E9 {
  596. ;arg_separator.input = ";&"$ \$ \0 ?4 L) G# R1 a% v9 }

  597. 1 j+ e5 S% o+ B1 y+ [1 Y
  598. ; This directive determines which super global arrays are registered when PHP2 r# f% T) l1 l' G7 ]
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    3 e# Y* f" Y& e$ K3 D0 G8 R
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    # G+ `' Z- j5 C" y; n
  601. ; paid for the registration of these arrays and because ENV is not as commonly' C) `: c6 h6 B! b9 P- }
  602. ; used as the others, ENV is not recommended on productions servers. You8 O1 x: Z( n. T
  603. ; can still get access to the environment variables through getenv() should you, I' @$ n( x. m8 d% f2 A3 y7 A4 z
  604. ; need to.
    3 \2 K9 q; [& s& N+ a" s3 S% E
  605. ; Default Value: "EGPCS"
    ( `8 }3 F- V" x, ?" Z
  606. ; Development Value: "GPCS"7 ?% N3 r2 W  A+ P2 q* K
  607. ; Production Value: "GPCS";2 `" T+ y+ g% r3 o, F# v' r# g( f. P/ U
  608. ; http://php.net/variables-order
    ' J9 V# X) V: f8 t8 v) M
  609. variables_order = "GPCS"
    & \' o6 w" I' G( O; v6 v8 b" b& c

  610. & W' x1 }' j. I' N6 x) ~
  611. ; This directive determines which super global data (G,P & C) should be
    6 d  E: G1 V+ j! t
  612. ; registered into the super global array REQUEST. If so, it also determines
    : z% @' N$ Q# ^
  613. ; the order in which that data is registered. The values for this directive' K" G' W) Y+ `. u" k
  614. ; are specified in the same manner as the variables_order directive,
    : Z, M1 g! O( `! z, D/ y/ g
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set3 M+ f* x% }. u2 T0 `+ [; i
  616. ; in the variables_order directive. It does not mean it will leave the super
    ! N- O! M, D* [- q
  617. ; globals array REQUEST empty.+ }5 Y/ p8 [8 L# N- X9 ~- W
  618. ; Default Value: None
    + Y! y$ f3 J& M" S" v' ?
  619. ; Development Value: "GP"
    ; @) V- P$ |! c, R" g
  620. ; Production Value: "GP") s/ ]0 H+ T- Y/ b. A9 D3 [
  621. ; http://php.net/request-order$ G" a  G6 I0 L9 z
  622. request_order = "GP"# s: o$ O! c4 C, }- b

  623. 1 b1 E& X. Y) k* m* d. v
  624. ; This directive determines whether PHP registers $argv & $argc each time it) k" m" J1 b# H# K, p1 K, T
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script3 q2 }0 Z" l5 E+ w2 U6 J+ |  }1 U  D) G
  626. ; is invoked. $argc contains an integer representing the number of arguments- ~- w" w/ S4 E8 ~8 v+ O7 L2 j* F! s
  627. ; that were passed when the script was invoked. These arrays are extremely
    % G  |) Z- O/ q: E, X4 H6 f
  628. ; useful when running scripts from the command line. When this directive is1 l: d7 b/ k1 L1 `8 ~3 c+ N, e8 z
  629. ; enabled, registering these variables consumes CPU cycles and memory each time  O! v0 t; D" t6 Y
  630. ; a script is executed. For performance reasons, this feature should be disabled
    6 q- ^% |' [! G
  631. ; on production servers.
    " w, Y5 r2 ~5 D; S2 j
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 X7 _: A4 K! d
  633. ; Default Value: On
    / ]8 F5 h4 v: W- w
  634. ; Development Value: Off- @4 f1 o6 I. [" e) [
  635. ; Production Value: Off2 P% y  C4 t+ k( n8 H# q+ O
  636. ; http://php.net/register-argc-argv  ?0 ?2 s2 a0 Q
  637. register_argc_argv = Off7 x/ |- O8 j" n% @+ Y, |6 ]3 w* N
  638. , V* ]$ Z1 \2 N  W
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're' c3 y" i1 T- ~4 O9 r9 D6 I8 Z5 r
  640. ; first used (Just In Time) instead of when the script starts. If these: P  s5 H% G3 ]
  641. ; variables are not used within a script, having this directive on will result
    & a- f6 _9 h; s" `
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled  l# Z. ~) ], n& l1 S8 X/ t* o
  643. ; for this directive to have any affect.
    7 `0 p. ?. j2 ~4 F. K
  644. ; http://php.net/auto-globals-jit- u9 S) r0 x/ X: E2 {
  645. auto_globals_jit = On. t% m  o1 c9 p, h0 S2 `

  646. ( v* g* o0 L( P" S1 n
  647. ; Whether PHP will read the POST data.
    ! @1 W. E5 L+ S5 [
  648. ; This option is enabled by default.
    3 D$ `+ \  L2 e$ n9 K
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST: y* O. @5 a  K1 O. P! Q) }
  650. ; and $_FILES to always be empty; the only way you will be able to read the! m* o7 g+ p' Y* J1 A6 \+ ?
  651. ; POST data will be through the php://input stream wrapper. This can be useful$ D) d' T' A- H3 i. k: y
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    + a+ a9 Y/ P# d1 ?  ?* q! V
  653. ; http://php.net/enable-post-data-reading
    8 o9 Z/ T% ^1 R
  654. ;enable_post_data_reading = Off; e/ x: H5 u( k7 |$ m
  655. ! }3 _$ e' O9 V5 u7 o/ ^7 L1 W
  656. ; Maximum size of POST data that PHP will accept.5 F  E3 M* K2 @$ A) R
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading( Q& k( q4 [# L2 o0 C4 A6 n
  658. ; is disabled through enable_post_data_reading.! y7 z* b( P/ J  g4 ~, z
  659. ; http://php.net/post-max-size. R$ v3 e! b6 n. y$ \
  660. post_max_size = 50M: n4 {$ y. y5 Q1 Z" Y* c
  661. 0 `9 }& |: [' h% z! f. b
  662. ; Automatically add files before PHP document., c0 b" h# v; H/ P) \2 _  z
  663. ; http://php.net/auto-prepend-file
    ; e# ~# L. J9 a- Y4 a) v2 Z
  664. auto_prepend_file =
    ( `- o) }8 f$ l  c8 I

  665. 7 Z8 P$ [- d  N7 H* A: z$ A2 c
  666. ; Automatically add files after PHP document.
    : h# u( {' a; k2 y
  667. ; http://php.net/auto-append-file9 z  w" y) A- n" h* U0 n! d
  668. auto_append_file =. O5 D6 h) u2 e+ V2 w( L

  669. " J& i, @- e! D: h
  670. ; By default, PHP will output a media type using the Content-Type header. To7 F, _. l% ~& T1 ]7 `# h
  671. ; disable this, simply set it to be empty.
    * @( ?5 h. @! B9 Q4 \- r$ }
  672. ;
    . h- w+ b. o6 A1 s; p: A
  673. ; PHP's built-in default media type is set to text/html.
    " E2 d5 j3 N% G( D, T! \7 B
  674. ; http://php.net/default-mimetype$ n3 k; [& x+ C7 [3 v
  675. default_mimetype = "text/html"1 B7 u6 e4 A' U* G  t  v' a7 O( c
  676. ( q6 @8 j7 M/ `& `+ M' b
  677. ; PHP's default character set is set to UTF-8.* T' g+ H5 f. v+ ]4 L
  678. ; http://php.net/default-charset9 K8 z. l$ V5 _0 v0 |! r
  679. default_charset = "UTF-8"
    5 B: I+ w# W* w! c

  680. % G1 s7 t  M7 j
  681. ; PHP internal character encoding is set to empty.
    5 ]4 i0 {' Q- u2 P+ |
  682. ; If empty, default_charset is used.) g( h8 j" x$ e$ _
  683. ; http://php.net/internal-encoding
    0 e1 P# U+ O2 m- t3 e
  684. ;internal_encoding =
    4 a0 h* N$ Z" I9 r. U

  685. 4 |; H; a8 m6 Z' p
  686. ; PHP input character encoding is set to empty.6 p& n" n1 L4 X) ^1 E3 ^+ `1 r8 }
  687. ; If empty, default_charset is used.9 U' I6 Q( s* ^
  688. ; http://php.net/input-encoding
    ' u- S4 @1 `. I# B0 F
  689. ;input_encoding =
    , W8 R  f+ L* `$ M3 Q
  690. $ U+ T+ s8 ?. _: f5 J# X
  691. ; PHP output character encoding is set to empty.
    # a2 V7 \. j! ^; I1 M7 G" F
  692. ; If empty, default_charset is used.4 U* L- i5 A4 Y
  693. ; See also output_buffer.
    8 D- w% G, b. U4 J) l  `& L( @
  694. ; http://php.net/output-encoding
    / j- J# s7 Q& L( ]- m7 ]2 J: d
  695. ;output_encoding =
    / V" e8 Q2 H7 D5 m

  696.   b1 G7 j4 `3 ]
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is7 P2 F% A* }3 ~% l
  698. ; to disable this feature and it will be removed in a future version.
    . v- `. S& @4 U
  699. ; If post reading is disabled through enable_post_data_reading,9 x0 @$ z3 o/ {; `! _" c; `
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    # z4 e0 ?& `  i4 S
  701. ; http://php.net/always-populate-raw-post-data
    9 V6 b# Y& G! e4 r! D
  702. ;always_populate_raw_post_data = -1& x; J9 i' D+ z) D. }

  703. 3 o' E3 ]+ ]: V' S! j% X
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    , ~' ^& L3 g3 S  G! A" h
  705. ; Paths and Directories ;
    6 ?" h; ], K7 y' X0 E
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;; I% B3 a% l" x+ s, Q
  707. ! i# k7 G0 K" Z4 F, ^2 R5 H$ k
  708. ; UNIX: "/path1:/path2"- o7 B8 u1 m6 w8 W7 P, e  Z
  709. ;include_path = ".:/php/includes"
    0 f! R& b7 ^7 K
  710. ;: j( |  \* _0 }+ C
  711. ; Windows: "\path1;\path2"' \* A3 T6 V" e
  712. ;include_path = ".;c:\php\includes"
    . x# P6 f/ G* I* C( O; s& b. C
  713. ;) G; {% F# {% `( m. N! r8 @
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ( G; w4 P" i5 F
  715. ; http://php.net/include-path" A$ ~" H2 ?2 r0 D' X) w+ @( [; y- M

  716. 6 x" _# \1 s- k* k4 \% n% ]
  717. ; The root of the PHP pages, used only if nonempty.& p1 V2 n; \. `0 f& g
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root' U. V2 g2 c1 x# [' T
  719. ; if you are running php as a CGI under any web server (other than IIS)' b$ {* d! I7 r$ n$ f( p8 d
  720. ; see documentation for security issues.  The alternate is to use the
    & N, Z$ w+ B/ n
  721. ; cgi.force_redirect configuration below/ L5 ?) B7 _* S$ b5 F" _% ]
  722. ; http://php.net/doc-root
    2 q" {9 ]" g4 D& f% _% ]
  723. doc_root =
    ' Y% u8 E/ x( D! u; o  _8 z$ t

  724. 5 x& r/ c8 l  n' M( y' R$ g. @. _
  725. ; The directory under which PHP opens the script using /~username used only
    6 j3 E! i( U% r7 k2 x) ]2 @, p
  726. ; if nonempty.
    $ x* l7 W$ T" o
  727. ; http://php.net/user-dir
    $ S, e( F: ~/ \7 W* K0 o) G( b# G
  728. user_dir =
    1 ?3 V7 t9 m1 P; c0 |# N- p
  729. 0 b1 T0 P: s' I8 C
  730. ; Directory in which the loadable extensions (modules) reside.
    4 f" G7 F) D! W
  731. ; http://php.net/extension-dir! v  M. z2 m7 U0 t2 K; {" I0 F) B
  732. ; extension_dir = "./"; F; i; }( [% n: y6 W. w% k( z
  733. ; On windows:# N6 R1 O9 M# o8 x3 n# j0 \' R3 u
  734. ; extension_dir = "ext"
    ' E/ l# N' d6 [9 r& g0 D

  735. # W$ S' u& b* j+ R( z& r5 `# ]
  736. ; Directory where the temporary files should be placed." h+ a, b! D  m6 ]' ^$ p
  737. ; Defaults to the system default (see sys_get_temp_dir), }- s+ W6 ?" C1 O9 |
  738. ; sys_temp_dir = "/tmp"9 v( O5 f8 v7 u

  739. 5 F8 l9 ^7 n$ e  O
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    " L5 o% d! v9 ~. ?( s* p. N8 V
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
      n, t$ X* L7 ~" g% C* V" g5 L- H
  742. ; disabled on them., X! f+ Z) B" n8 a  j/ p- @
  743. ; http://php.net/enable-dl0 S9 t& t( R  a$ J8 J- \
  744. enable_dl = Off; ?) t( D% B, I  H, X5 U0 L6 }

  745. . f+ D6 I+ Y; X1 ]5 I+ Z  B
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under1 l' e. o3 m( M% t
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ( F: C, E9 ]' r0 Y; C% L$ ^
  748. ; turn it off here AT YOUR OWN RISK0 d0 t( i1 c9 x" i
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    8 w6 u0 x+ m; U. J$ H) k8 z
  750. ; http://php.net/cgi.force-redirect* V* i6 V  Q. V! `5 i' o. ~. {
  751. ;cgi.force_redirect = 1
    4 j% @+ M: t% o' e  I
  752. 4 I' q/ [- v" O" C5 z( B, d
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with7 u0 p& L) p. Y% H- D, }6 F, K# V! \5 z
  754. ; every request. PHP's default behavior is to disable this feature.
    4 T& c0 E$ _/ ~+ c4 z9 M
  755. ;cgi.nph = 1
    2 E7 N3 Y; O0 j
  756. + P9 s- X; i- s" `6 F; @
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    0 k4 p" A% q2 Y. V5 @
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP0 y& B  ~7 L  ~; Y; s
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY: T% d) G' d6 [$ T$ y. g7 i
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.' K. p" a  a; q& _
  761. ; http://php.net/cgi.redirect-status-env! C9 ^0 L: r; q3 u1 ~5 J7 o, `. k# @
  762. ;cgi.redirect_status_env =' l0 k+ X2 v- ]! h- L8 T
  763. % ~; y' x- c- v* r; I4 _& R
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    5 I9 c8 R9 R3 o0 D. \8 k
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok. u3 W; [0 K  g5 j6 B3 M
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting1 v) i+ _6 d$ i- X7 i7 K
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    0 e9 K" I& u. @9 ^
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts' V$ C+ ?' p( e) M. Y3 x6 U9 [
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.& F3 g% V1 E- k: q
  770. ; http://php.net/cgi.fix-pathinfo" k/ D8 t$ D7 C5 H
  771. cgi.fix_pathinfo=1
    2 z7 x+ l+ {9 W& k# E! H) I
  772. % q& y& n- S5 G6 |
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    $ |- a+ c+ G; C( d
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    5 i7 l5 m; V8 S3 i
  775. ; http://php.net/cgi.dicard-path
    ) K5 a* O, s8 q. _. g
  776. ;cgi.discard_path=1  v8 g9 [' c! X) k

  777. / W* Y7 S  R  j/ p2 z
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ) Z* C$ o5 h! A) l: E+ v- z
  779. ; security tokens of the calling client.  This allows IIS to define the
    & r; J6 l2 E! s- D
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    ; G# b" w% E. @0 [) o
  781. ; does not currently support this feature (03/17/2002)
    9 {+ t% {+ H- V+ c- f* n
  782. ; Set to 1 if running under IIS.  Default is zero.
    5 L9 {) E& {! b9 c5 q- ^
  783. ; http://php.net/fastcgi.impersonate
    - O" ^! h4 r6 @5 q3 Y; L
  784. ;fastcgi.impersonate = 1+ w" v0 {( l3 s3 [! K* _( V
  785. 6 I, ]1 z( \. h) |, p: n* w) H
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable" i# m# z# Q$ ~$ ]% F3 V& A
  787. ; this feature., ~0 A" C9 i! X$ D' K+ Y
  788. ;fastcgi.logging = 0
    , Q" m, D  \7 r6 w( F

  789.   {. m2 N: M0 b& L& u) q. q
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to% y+ w6 e. Q; y
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that/ x( ^: z5 K. T- _5 Q2 U1 H( Y. L
  792. ; is supported by Apache. When this option is set to 1, PHP will send
      ~+ }/ k7 F# ^4 e& o/ }8 z
  793. ; RFC2616 compliant header.2 r/ c: v- b7 _* w
  794. ; Default is zero.6 P4 Y1 E6 q9 f$ }9 T5 z. b6 F
  795. ; http://php.net/cgi.rfc2616-headers' G* v* D  v7 M. a) r
  796. ;cgi.rfc2616_headers = 0
    * n: a* T( H! M

  797.   T& i+ }( w) \3 @
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!8 @) c8 Q8 o7 ~2 e- a' {& ^
  799. ; (shebang) at the top of the running script. This line might be needed if the
    - J, j9 t  [- _2 e4 _- l
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    - U9 k" Q/ ^2 A, ^; [
  801. ; mode skips this line and ignores its content if this directive is turned on.
      r! T  c% w2 R0 B8 \9 ^
  802. ; http://php.net/cgi.check-shebang-line6 ~% t$ P5 ^: F) W' ^9 [3 a
  803. ;cgi.check_shebang_line=1
    " I6 V/ j" n* U1 b$ X( ?. W4 ?

  804. ) N/ T& j+ O) C- f
  805. ;;;;;;;;;;;;;;;;$ F) ^7 h* s) N" l! u5 ?! y
  806. ; File Uploads ;
    & X5 b7 b1 x  o: ?4 u: u
  807. ;;;;;;;;;;;;;;;;  `( U( I! E  H! W) u. @
  808. - }# F' C* q! ?" e5 J
  809. ; Whether to allow HTTP file uploads.- j# R6 }# M. A& m
  810. ; http://php.net/file-uploads! F/ p( N7 B7 y2 J/ J& X7 s+ p* E
  811. file_uploads = On
    ) K) V7 e" E# x, G! Z3 w. j

  812. , u2 y$ ~2 R. a5 E
  813. ; Temporary directory for HTTP uploaded files (will use system default if not, m4 X  V: f" f1 L0 _, M3 u0 K
  814. ; specified).
    + y- W4 {* ?1 S" x3 J! T& S5 N8 ~% O
  815. ; http://php.net/upload-tmp-dir
    " K1 u5 v$ a6 L9 `
  816. ;upload_tmp_dir =( G- w, @: i6 _9 d4 v8 g/ `2 {

  817. . W6 M, ~# I3 c/ u5 I& X& C  D
  818. ; Maximum allowed size for uploaded files.% i8 `5 o. s1 b" R
  819. ; http://php.net/upload-max-filesize& n- J; m3 X( f
  820. upload_max_filesize = 50M
    " p9 O" N  V5 A2 q6 q0 h
  821. ; T5 Q- x* K5 d9 g+ {$ K
  822. ; Maximum number of files that can be uploaded via a single request
    3 n, g$ O; e$ e* ]; c
  823. max_file_uploads = 20
    % o3 Q; W- Z+ z* V: {/ m
  824. ' x6 y" q9 r1 r. @
  825. ;;;;;;;;;;;;;;;;;;
    * o% m, R9 W0 A$ T% d! z1 v( K
  826. ; Fopen wrappers ;4 S* v* y$ g1 _
  827. ;;;;;;;;;;;;;;;;;;$ b( H: x4 Y. p' \/ y0 i  c
  828. 8 s! ?: k- E9 P8 J% c3 e# i
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.# J. s* |8 L( W% C$ O! {1 ]
  830. ; http://php.net/allow-url-fopen
    2 E/ I* f3 B& n8 ^
  831. allow_url_fopen = On/ U1 v" I) N* h$ o

  832. 6 r5 j2 I+ ~! i: C# S0 i
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    + P4 T7 t2 P8 n# p7 v9 D6 d# R
  834. ; http://php.net/allow-url-include
    / K# ?. }% r# k: R! j$ m: R1 O2 B
  835. allow_url_include = Off6 y$ o. o' O/ g- H
  836. : E. O7 i; @9 a$ \! N5 ~
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ) m" |; l9 n( N1 `% ^
  838. ; for this is empty.
    3 R4 w" f4 t$ P# j! g
  839. ; http://php.net/from
    ' o' `- X: i8 E7 I8 Z
  840. ;from="john@doe.com"4 Q- y& u( ^# S$ C; v

  841. ) x3 i. z0 b' g) l1 C5 Q% `1 S9 E, `) o
  842. ; Define the User-Agent string. PHP's default setting for this is empty.0 H. @2 ?: |. `) G4 H
  843. ; http://php.net/user-agent
    % v( g9 T0 ]1 o' J
  844. ;user_agent="PHP"
    5 V0 W7 J2 b) W( ^
  845. 7 c9 a% R. P  x7 l# x, E: K9 s( q
  846. ; Default timeout for socket based streams (seconds)
    + B7 {: k, _# t0 C* Q6 @8 }' Z5 O) r
  847. ; http://php.net/default-socket-timeout5 c# a1 F7 D; F* b$ F1 V2 O0 |
  848. default_socket_timeout = 60) n2 y7 i$ T! M" r# X/ |- t8 C

  849. 2 h! Q( P( [: @$ a) {0 J# {7 ^
  850. ; If your scripts have to deal with files from Macintosh systems,
    , M/ c5 w/ S/ D# ~9 }1 |! U9 L
  851. ; or you are running on a Mac and need to deal with files from( b  k7 d5 f6 f. v. s1 J4 `
  852. ; unix or win32 systems, setting this flag will cause PHP to
    5 [+ P. h/ W0 g! _* I
  853. ; automatically detect the EOL character in those files so that
    " j; g2 u% _# o+ L' y$ {
  854. ; fgets() and file() will work regardless of the source of the file.
    # c* U* U% S4 P) A8 s/ H8 a+ ~) I
  855. ; http://php.net/auto-detect-line-endings0 A/ A% c7 E, w) P* `! m  c3 e
  856. ;auto_detect_line_endings = Off
    7 j" \+ d! q8 @1 ?+ t! ^/ F; i

  857. ; M- G! }3 w: \/ i4 s/ y( \  S( y
  858. ;;;;;;;;;;;;;;;;;;;;;;* Y: J4 g) G" g  v
  859. ; Dynamic Extensions ;7 p" j) D2 [. B
  860. ;;;;;;;;;;;;;;;;;;;;;;
    4 I- O  ^/ V( t, y' D, |$ _$ E
  861. . e6 C9 D# F. u' k  |2 l! _
  862. ; If you wish to have an extension loaded automatically, use the following( P8 P! F3 _6 s6 w/ T# M8 t
  863. ; syntax:3 g9 C* p9 P3 U
  864. ;6 j/ z3 W6 c2 S$ P% T0 E; H4 t  U$ n
  865. ;   extension=modulename.extension2 O& q1 a/ B8 d  b' m9 L
  866. ;! b: V- H/ u6 T$ q# Z" W9 ]
  867. ; For example, on Windows:7 J+ ?4 E/ v* R- S" Z$ X. w
  868. ;5 N, F  c1 a5 d; ^# z
  869. ;   extension=msql.dll3 C" C, w" c+ T# C: q" N1 i2 c
  870. ;
    + p3 a6 `. k$ D9 U
  871. ; ... or under UNIX:
    / p& q- M" x5 J! r/ N, _
  872. ;* |% k5 l  z7 ~
  873. ;   extension=msql.so& I- n% U0 Y  x* g) N- E  R% v
  874. ;( `1 L, c( r7 y2 q" J" X, ^' h0 ^
  875. ; ... or with a path:
    ; q$ x+ z" n9 W0 [
  876. ;
    9 B, d+ D0 w4 D, ]5 _7 A
  877. ;   extension=/path/to/extension/msql.so7 T" m- m. P# C0 Q0 H& e9 P
  878. ;( T) K* V# [* @& }
  879. ; If you only provide the name of the extension, PHP will look for it in its
    # C  E; p& _7 ~  I- j
  880. ; default extension directory.
    - r6 x+ I, B) p9 s$ [+ n
  881. ;
    $ b! q: f0 v( f9 H4 A2 \
  882. ; Windows Extensions
    ) `$ P7 P. p! T; g
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    . A& Z( J# i& U4 p; k7 D- @% W
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)  W0 i5 h# P/ U
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).$ @) L' d; ]$ q: j
  886. ; Be sure to appropriately set the extension_dir directive.4 H, j0 z2 ?7 k
  887. ;
    0 ^- j# q9 `! H# L
  888. ;extension=php_bz2.dll
    $ F1 t# I  s+ l0 t
  889. ;extension=php_curl.dll# F" J" l8 C( F5 J2 v" h, {! J
  890. ;extension=php_fileinfo.dll. }7 S6 G; m7 h) \* A4 O2 F
  891. ;extension=php_gd2.dll% C5 j6 f$ f* p( R; p; a( r
  892. ;extension=php_gettext.dll% z- S8 ]: F- [" E2 t, G/ G
  893. ;extension=php_gmp.dll6 p, t$ z) ~0 d- r- n3 y& B
  894. ;extension=php_intl.dll. X- |0 N: m/ S5 ]0 v8 i
  895. ;extension=php_imap.dll; y9 l2 K  C$ K
  896. ;extension=php_interbase.dll- X/ ?3 [' {  `7 R& Y/ Z3 R' I
  897. ;extension=php_ldap.dll* J) L! f% ?$ d) Z& H
  898. ;extension=php_mbstring.dll& M2 i8 }7 X  @" F8 T; _& f
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it- [" X) t/ J1 M+ W: u- H
  900. ;extension=php_mysql.dll
    , ]& k- Y/ k/ R4 x6 t2 v. c
  901. ;extension=php_mysqli.dll
    7 I9 ^" ?  p# ?# u& R
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client9 P) i$ z/ w( A. c) C
  903. ;extension=php_openssl.dll
    % ?7 `5 v# n0 ]3 \7 G% H6 G
  904. ;extension=php_pdo_firebird.dll
    % P) A  ^5 s. i6 D4 Q
  905. ;extension=php_pdo_mysql.dll
    5 ~  |/ E; B* [& c
  906. ;extension=php_pdo_oci.dll
    : t% F& S  b6 c0 z+ H
  907. ;extension=php_pdo_odbc.dll# z. b! R% m5 U# j% B4 I
  908. ;extension=php_pdo_pgsql.dll
    1 g2 c4 N6 z9 N' c( D' j
  909. ;extension=php_pdo_sqlite.dll1 N8 z7 i$ C0 p: W+ L
  910. ;extension=php_pgsql.dll
    * j" l# z/ a/ y* Z
  911. ;extension=php_shmop.dll
    : A- D0 E1 r" }+ O5 e- Q$ k' d

  912. $ c$ l) I0 A$ p+ i) Q
  913. ; The MIBS data available in the PHP distribution must be installed.
    ! V& A) \& N+ O4 B" B9 `* O
  914. ; See http://www.php.net/manual/en/snmp.installation.php ) g5 Z; V5 O1 n0 p) B8 z5 D% L
  915. ;extension=php_snmp.dll0 j9 s- ]  R0 L. v, _

  916. " V) {' k% r5 R0 L  x
  917. ;extension=php_soap.dll
    6 f  F1 L, n, O1 l
  918. ;extension=php_sockets.dll
    6 b  ]; y1 p  A, L2 H; c
  919. ;extension=php_sqlite3.dll
      |. U/ l5 ~8 ~$ d2 R
  920. ;extension=php_sybase_ct.dll
    ' i# {. i* x7 h! s1 C
  921. ;extension=php_tidy.dll. b8 L+ [9 B  u8 a- O7 B
  922. ;extension=php_xmlrpc.dll3 b2 J( Z1 W# j2 M
  923. ;extension=php_xsl.dll
    ) y& |% O  Y% J" a
  924. 8 s  X* a" {, ]& L! [2 O  t: Z0 e
  925. ;;;;;;;;;;;;;;;;;;;" G2 I, ]1 b/ J+ o/ b
  926. ; Module Settings ;3 G+ E1 b, j  [% K4 c* x  U
  927. ;;;;;;;;;;;;;;;;;;;7 N, v6 @( X  _: a' k8 c

  928. , t" ?5 B* I" l7 ]$ K
  929. [CLI Server]) u4 X8 X* S% |8 P: O
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.# H* Z! M" ?8 M' v3 C- z( V
  931. cli_server.color = On. I* Y; P* k7 h* U

  932. * U3 A* ]0 b  u0 a8 y& `
  933. [Date]* ^1 }# M& L* ?3 U; v) H. g
  934. ; Defines the default timezone used by the date functions
    4 A" V: b; a: \) X
  935. ; http://php.net/date.timezone
    * z* J* P0 W" D+ [
  936. date.timezone = PRC
    $ \$ a, U. C. @' h

  937. ! l9 _7 r6 j# Z  A) J2 }+ P! c& T
  938. ; http://php.net/date.default-latitude! k8 g8 V# Q+ O1 `  S
  939. ;date.default_latitude = 31.7667
    ' Y( W5 Q$ N$ q) {5 |( v8 W5 |( t5 z
  940. ( t& h, x& O! u* E4 r
  941. ; http://php.net/date.default-longitude
    " m" f  `: f- L7 m0 V, h, h
  942. ;date.default_longitude = 35.23331 G. j+ y, X! I* C; U

  943. 4 |2 y0 S7 {6 H' E  G6 H& }
  944. ; http://php.net/date.sunrise-zenith" C# i, [  _" H* B
  945. ;date.sunrise_zenith = 90.583333
    # Q, e6 z% M( j

  946. / I6 J% N+ Q' [( @+ w  m1 c% y
  947. ; http://php.net/date.sunset-zenith
    6 c9 d. X- d2 K0 g4 P5 ]: a, J, s
  948. ;date.sunset_zenith = 90.583333
    ; b! Z1 ]) E# D% u

  949. $ e2 i$ g; m5 M
  950. [filter]: a2 b/ o5 `3 ]7 T: ~* _
  951. ; http://php.net/filter.default8 U6 g+ ~# s: X
  952. ;filter.default = unsafe_raw
    & N$ M6 P4 |3 J6 g( m! ~

  953. $ ~3 `, ^7 y4 ^; X
  954. ; http://php.net/filter.default-flags
    % }  c9 }/ U- e6 H% J9 l
  955. ;filter.default_flags =/ d1 Z" R! V; n

  956. / i: p+ D' F2 H' _$ q
  957. [iconv]
    * o$ t" x7 r# R" x  h! u/ i
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.! v- I+ \: a& P# z8 H$ e) U
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    2 i% S: h6 b. y5 t/ a
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ! `' e( C7 q) s# J! J% C4 U, r
  961. ;iconv.input_encoding =
    2 l) F1 {* K$ J3 \

  962. : B& @& k( @, F/ v% |3 T( i6 N! n. c$ s
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.2 f6 |% U3 `3 z1 c  Y( G8 i" A
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.* \% U" t0 z' x! T% ~+ m
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , w+ ~& D6 G0 a
  966. ;iconv.internal_encoding =
    . a" H1 \( Y4 B- W" z8 M

  967. 1 D1 @' y% J  |+ |) t* f' ~
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    5 {$ u$ R$ d$ ]% C6 t
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.' F& w+ J/ v% Q7 c1 C
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
      N( z1 K/ B* R" A' m; m+ C
  971. ; To use an output encoding conversion, iconv's output handler must be set6 U* v! h/ t$ a5 T
  972. ; otherwise output encoding conversion cannot be performed.
    # E9 T7 I- @  R2 y2 H, i/ v5 r
  973. ;iconv.output_encoding =
    6 d0 w3 F' A; n
  974. , }# ~5 ]3 w! f6 z% F* }
  975. [intl]6 t" P0 N! |/ A3 R
  976. ;intl.default_locale =
    # E+ n- [( U( E5 X" N6 p
  977. ; This directive allows you to produce PHP errors when some error7 V; S! p; ]% \, `4 o/ ^
  978. ; happens within intl functions. The value is the level of the error produced.( k, b+ [$ ]5 q. E. G
  979. ; Default is 0, which does not produce any errors.
    0 Y; X9 @. r' a  `4 W4 I
  980. ;intl.error_level = E_WARNING
      V7 p- w! y, Z, C+ b; |& y% v) @
  981. ;intl.use_exceptions = 0
    7 ~8 U& Y" L" P+ Y( R# e
  982. 3 U0 b9 u0 ?* j; K7 t. q
  983. [sqlite3]  \( ]8 Z8 Y7 P% o% b5 r7 X/ H1 K" ^
  984. ;sqlite3.extension_dir =
    : t* W; k/ @& `) A3 G  A& x5 Q& J, p
  985. $ o2 n1 \* o% V* q7 v- D
  986. [Pcre]' W5 B$ _1 o( \  T
  987. ;PCRE library backtracking limit.
    4 X" w! ~8 J! `# U- ]! ^9 |
  988. ; http://php.net/pcre.backtrack-limit
    # X6 ?9 ~! z0 B9 A' ]2 o
  989. ;pcre.backtrack_limit=100000
    ' n2 t) E+ u9 R5 c9 K

  990. 4 g' g: ?/ J9 O$ l9 ]& ~
  991. ;PCRE library recursion limit.
    0 h/ G% n' {/ f$ p; F( O
  992. ;Please note that if you set this value to a high number you may consume all2 \; l0 E! o6 {1 a' M+ h
  993. ;the available process stack and eventually crash PHP (due to reaching the0 z" [* w! Z5 `/ H  e; e
  994. ;stack size limit imposed by the Operating System).
    ; i" h1 j8 s; ]
  995. ; http://php.net/pcre.recursion-limit
    * Z1 p7 `1 d! N, J3 K1 t( P1 F: g
  996. ;pcre.recursion_limit=100000
    + s0 i& v( B+ t$ v+ N- `
  997.   p  Y/ L# C" ?* Q& |$ x+ W
  998. [Pdo]
    - ^' K$ J4 Y' O8 X' ]4 S: }
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    # U* N7 z' @+ S3 R- M7 z( Q  T
  1000. ; http://php.net/pdo-odbc.connection-pooling0 }0 m& I6 X% h
  1001. ;pdo_odbc.connection_pooling=strict8 A% H! g# V- k" \& n' \

  1002. - g0 o. Y! D* W0 `1 v9 g
  1003. ;pdo_odbc.db2_instance_name
    1 p, {% \( d  a6 \

  1004. 4 E# w( f5 f6 }
  1005. [Pdo_mysql]# ^) B& w: r+ V9 ], k" f3 K$ l
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( m  l/ T8 p4 Z0 f6 n9 x* c
  1007. ; http://php.net/pdo_mysql.cache_size$ t3 a% y2 h# Y2 T- u
  1008. pdo_mysql.cache_size = 2000
    0 j% n1 j* t. u$ X5 t
  1009. ! v2 m9 Y% a8 `6 y' i3 b
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " `- [2 s: Q1 S7 l
  1011. ; MySQL defaults.
    " I- A( M! F( t) g7 S
  1012. ; http://php.net/pdo_mysql.default-socket
    # `; v+ W' c5 M( e  [: O% |
  1013. pdo_mysql.default_socket=3 J. t8 t; [1 {

  1014. " D! e( V, f$ l& a( B. D) B
  1015. [Phar]. i2 i* P1 y0 K2 Y
  1016. ; http://php.net/phar.readonly* u4 M/ g7 K0 i/ J9 D2 N$ l+ z& B
  1017. ;phar.readonly = On
    5 K& F# N# E1 X! M+ j5 j2 ~( g* V3 |+ E

  1018. " g( t6 V7 m  Q3 P( T
  1019. ; http://php.net/phar.require-hash
    % b. r: ?; b0 l& M# `
  1020. ;phar.require_hash = On
    ' @( R) b- g! x7 [
  1021. " O% a; t4 k" Y" V
  1022. ;phar.cache_list =) U: ]9 i; a, U; m: a

  1023. ; T* l1 a' Y+ `& |0 q: ~
  1024. [mail function]
    & M. W  h! a8 ?
  1025. ; For Win32 only.
    ' s- w3 h& T5 D
  1026. ; http://php.net/smtp: x  D+ u0 R8 C3 q: |+ n
  1027. SMTP = localhost- O2 S& I  e  T# ?" X
  1028. ; http://php.net/smtp-port
    8 M- z4 \: {% w. h
  1029. smtp_port = 25) i/ ]( x- P2 R

  1030. $ L2 d, {/ I' K+ W0 x
  1031. ; For Win32 only.! R, j  l5 h0 e; H3 o! J& C
  1032. ; http://php.net/sendmail-from
    & _& Z) g7 I9 M0 W; {1 l9 ~
  1033. ;sendmail_from = me@example.com7 g$ [+ `5 j. ?8 a5 r6 b1 w
  1034. ! z/ H+ U  A0 A& Y' O  ~  L
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    6 j/ A9 G% g( n) Z, x
  1036. ; http://php.net/sendmail-path7 W5 d) l; E' X# g% n
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    6 C) b7 F' d5 j/ W# ?; O0 e& c

  1038. - ?; F1 G# C9 o1 \6 N' b+ s! O
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    - N: ~0 p: J- S6 ~1 z/ Z$ P/ |& y! O
  1040. ; to the sendmail binary. These parameters will always replace the value of
      j4 [/ t* Q6 G
  1041. ; the 5th parameter to mail().
    : x" \% n- z8 e0 U* y( u, t
  1042. ;mail.force_extra_parameters =
    9 A+ S% b" `: P' H8 ^/ ?$ F
  1043. 7 c/ w; U! J  F1 a$ e0 ?3 k0 H
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename! l4 k/ c0 L7 u9 N) ?
  1045. mail.add_x_header = On. C* q+ p1 c) S7 }/ x
  1046. 3 q) \4 @! X' c
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ; \6 U1 f3 z3 r( Q8 C  J7 o
  1048. ; the full path of the script, line number, To address and headers.7 T9 R( t# T( W7 E8 d3 _
  1049. ;mail.log =
    ; k' U5 r! S0 U: C8 J3 A" `& Y
  1050. ; Log mail to syslog (Event Log on Windows).
    . y3 W2 r0 X% D% V% j
  1051. ;mail.log = syslog% q4 T4 ^- k  l1 J% m

  1052. - ^8 v. r% p4 V' K/ e3 k
  1053. [SQL]
    8 `5 x/ R: l& w& Q. l1 J# h& Y) l
  1054. ; http://php.net/sql.safe-mode
    + X7 S' C1 @0 d7 D# V
  1055. sql.safe_mode = Off6 b) y8 k7 B) f8 a7 n

  1056. # p/ {& y2 h% J/ B! n
  1057. [ODBC]
    " }6 j& v8 o5 o5 O2 |8 C( [
  1058. ; http://php.net/odbc.default-db
    4 R/ X& T/ o' |3 P0 ?+ K: ^% ?  I- D
  1059. ;odbc.default_db    =  Not yet implemented
    0 {4 s9 h" x- H% i% b8 L
  1060. - P2 h) i# s: j, k
  1061. ; http://php.net/odbc.default-user9 t+ o2 w+ O/ m9 v
  1062. ;odbc.default_user  =  Not yet implemented
    + \- v5 q; K/ _" [; Q" ^

  1063. , g3 v) v3 K" [# b3 K0 }
  1064. ; http://php.net/odbc.default-pw( o1 I: A  J% x8 Y9 ?
  1065. ;odbc.default_pw    =  Not yet implemented& p' l: N7 P8 r: |; C  W
  1066. ! q) N1 ~* |/ y# a* {
  1067. ; Controls the ODBC cursor model.
    ( H5 c- J; ^) k2 X" @, ~1 ^
  1068. ; Default: SQL_CURSOR_STATIC (default).$ G& ^- j, `6 l2 t
  1069. ;odbc.default_cursortype6 [; G# y$ e) b! V- m4 \0 P
  1070. 9 a6 Q; e7 p3 z' Z4 y1 ~* W  R
  1071. ; Allow or prevent persistent links.$ G) k) V5 d  _: \
  1072. ; http://php.net/odbc.allow-persistent. E3 P  i4 z) v+ i
  1073. odbc.allow_persistent = On
    % Y0 m# g+ w: h. E

  1074. - V8 G  c  Z6 s! c! i
  1075. ; Check that a connection is still valid before reuse.
    1 v2 F* c% x0 p6 y' S0 P
  1076. ; http://php.net/odbc.check-persistent
    # k# J: ]2 n% _# h& J7 c1 b5 I
  1077. odbc.check_persistent = On' S, g; i5 X% A/ P" r' k

  1078. 1 I3 c) A$ r( E; X, x
  1079. ; Maximum number of persistent links.  -1 means no limit.! j$ d. ~8 g' j# n) y. @
  1080. ; http://php.net/odbc.max-persistent7 w2 d. F" r% z
  1081. odbc.max_persistent = -1
    0 i5 V2 T4 ^1 X2 K

  1082. . F3 y  h7 I, g3 w+ L6 E
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.( D; K4 h1 `  g% a+ r& A; n" ^3 C
  1084. ; http://php.net/odbc.max-links# ^! {) a8 |& ?6 i0 ~
  1085. odbc.max_links = -1
    - U2 l' g0 j( w) K; _! }9 G/ l
  1086. / G0 \6 W7 P0 m  k+ i% }5 b6 E
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means5 |) e# q/ z" A
  1088. ; passthru.
    + r, G9 u' y# h8 `  z
  1089. ; http://php.net/odbc.defaultlrl
    & x) m5 l, m5 S9 Q1 u
  1090. odbc.defaultlrl = 40965 z- M# D: B6 z( P  f% U

  1091. : w2 W; v6 F: C$ n" f0 J
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.( }. b% S+ b$ w9 I
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    % [5 |1 P' q; B: R; `
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ! x9 M7 `9 u' B6 N
  1095. ; http://php.net/odbc.defaultbinmode8 g7 z. Q* J7 k5 @, E
  1096. odbc.defaultbinmode = 1) x5 @$ }$ ]% b. A1 s. a

  1097. 4 @4 h; c. {. X2 a9 U( p9 Q& R
  1098. ;birdstep.max_links = -1  k  y' k8 R5 Z- W; Z4 j
  1099. ' I+ ^2 O6 `( H7 _- W! ~
  1100. [Interbase]) t! J6 b, g: l& W8 _
  1101. ; Allow or prevent persistent links.; C' R  v& W4 d/ ^
  1102. ibase.allow_persistent = 1$ c$ m& F# z/ I- G; O; H" Z6 C

  1103. ) Y* n; ?& W' [+ x# M- i
  1104. ; Maximum number of persistent links.  -1 means no limit.
    3 g/ ~' W: ^3 }6 L4 O' a/ P% \
  1105. ibase.max_persistent = -1
      u  X2 j0 P3 C, W

  1106. 0 u: g/ l' ^2 i1 b% ]9 g1 O2 L( Q# I
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & n- O( `  [8 E6 g4 a
  1108. ibase.max_links = -1& A2 Q) g' X! V# B
  1109. " |( p9 i' P& x9 ]3 d: L" s3 k
  1110. ; Default database name for ibase_connect().+ `' r1 |# Z7 a& j+ b
  1111. ;ibase.default_db =9 m7 y4 `0 q& c0 o0 [0 a4 P6 r! k

  1112. " G9 _' m! j" ^+ d4 V4 X! c; L* N3 Z
  1113. ; Default username for ibase_connect().- S0 r" W6 c3 V
  1114. ;ibase.default_user =
    + B3 K3 J" |* `% B, Y
  1115. 6 h3 v* K' c" B# A
  1116. ; Default password for ibase_connect().
    % X7 ?) f- f  C/ c
  1117. ;ibase.default_password =0 C. ]* q  S" i; \6 F: h8 j

  1118. 3 U0 E4 h! {. v) f5 S8 F  ?
  1119. ; Default charset for ibase_connect().
    4 L2 Y( a5 x$ Q/ a
  1120. ;ibase.default_charset =
    3 q0 `3 P# M/ D( V/ D9 ~: B8 i9 X
  1121. ! V9 Q- @5 W: @- `
  1122. ; Default timestamp format.1 Q1 i. s1 G" S# o  w" M
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S". }' n/ @( r& h- m% O# d
  1124. 7 M1 U8 [# @) ]3 ^) a$ E
  1125. ; Default date format." R# r" h: s. U5 L4 p& m5 l+ s; u
  1126. ibase.dateformat = "%Y-%m-%d"/ K) |* Q& j8 L1 ]

  1127. / v3 H2 [* q5 ]" b# @3 q0 e6 }
  1128. ; Default time format.9 m2 R( r/ u# H3 }6 k
  1129. ibase.timeformat = "%H:%M:%S"
    9 U1 k, Z: e' X% i( y) a
  1130. 3 v% d2 ]3 N3 [5 E
  1131. [MySQL]
    2 n$ |* I( K* v) C# v  r" ~; j
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    / j, I$ T: o8 f9 t. ?9 j
  1133. ; http://php.net/mysql.allow_local_infile
    8 m6 _0 |- }/ ~  u1 D3 v
  1134. mysql.allow_local_infile = On# ^) Z% b  }3 `

  1135. ; m0 X2 c8 b* b+ R- V/ t" u9 v
  1136. ; Allow or prevent persistent links.
    # H* _1 U1 ^1 `( h  a* H
  1137. ; http://php.net/mysql.allow-persistent: r% J- }; h6 I
  1138. mysql.allow_persistent = On4 ?3 e! n0 w. c; ?% M
  1139. 3 J! A! o) p! b
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache% {8 @. F- C; X0 ^8 W
  1141. ; http://php.net/mysql.cache_size
    6 e/ c! A0 S; t( X1 h* c4 V% p# \
  1142. mysql.cache_size = 20004 u% q! \- n2 y
  1143. ; G  o1 h1 r/ p; g4 s
  1144. ; Maximum number of persistent links.  -1 means no limit.8 v  d! y$ v* L* z  X. G8 k
  1145. ; http://php.net/mysql.max-persistent% H$ `5 Q$ E9 v- `6 y& u3 m
  1146. mysql.max_persistent = -1  l6 c! o' j6 Z1 {: D
  1147. * T; {! S- x* n: @/ U$ p8 m! p
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 F8 I7 W& W) [: w. t
  1149. ; http://php.net/mysql.max-links+ w* Q( t: a- `7 S5 s9 L' g
  1150. mysql.max_links = -1, ~  M9 ^& s% M( h
  1151. 7 I4 u$ {% ^9 u/ j/ a9 B6 w$ I! n
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use6 s: H( H' j6 V0 G' i6 @# }
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    + ]) R# v0 m* P
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look2 H, W2 F4 }  P) a, n( D
  1155. ; at MYSQL_PORT.! D" N+ `# G, @% V2 K
  1156. ; http://php.net/mysql.default-port
    9 l- K9 ]0 b/ g, {9 u! j
  1157. mysql.default_port =
    0 @) w8 t0 ]/ p+ r% b

  1158. ( x8 Q% \: y/ v& r' b$ x6 g
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ! N1 G) y4 q& h$ d& r
  1160. ; MySQL defaults.7 p8 a3 X1 R* ~7 a7 w4 K: E- q
  1161. ; http://php.net/mysql.default-socket2 q5 J! I6 U/ e: j" Z& m" R+ P& G  {
  1162. mysql.default_socket =
    6 l; [( _) F* @& |7 d. u' n& H8 Y

  1163. % X: _' n) r+ M. e+ X
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    7 A6 F* n" Z4 r
  1165. ; http://php.net/mysql.default-host6 I" A3 C, E* b$ ^% l
  1166. mysql.default_host =
    # X5 k, d: l$ e: y4 I% Z3 B" ~
  1167. - s' a! k3 `( ]9 S, u$ E6 B0 v2 j
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    3 G$ {5 O; o. }* j  ~- z  I% }
  1169. ; http://php.net/mysql.default-user) p, O, ]/ c0 e- s
  1170. mysql.default_user =
    ) H( t# [. I7 X9 M& b

  1171. ) T/ E  r+ D: k: H
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).! _3 b! K; Z9 f1 D5 f
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.& C- F* j. l& O7 H
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")* k  I+ ^$ x5 L! K7 G
  1175. ; and reveal this password!  And of course, any users with read access to this
    0 F9 W( y  ?4 L7 q
  1176. ; file will be able to reveal the password as well.# P8 o% ^' ]3 k4 l
  1177. ; http://php.net/mysql.default-password
    1 J  n+ q! k* R4 H
  1178. mysql.default_password =, X% p! Z' O8 F9 i
  1179. 3 W  F; S- E8 {! e# J, _
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit- ^. k. i- B8 o: @
  1181. ; http://php.net/mysql.connect-timeout: |. `4 C  }$ t5 C
  1182. mysql.connect_timeout = 60
    # Z0 X% I( T2 w9 b# R
  1183. & F& q6 F5 `0 `' q
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and$ m! _. f0 `4 Z
  1185. ; SQL-Errors will be displayed.
    ! O2 G! G/ L+ S. ]7 o
  1186. ; http://php.net/mysql.trace-mode
    # {- i' B7 h  {1 V. g2 x
  1187. mysql.trace_mode = Off# M" i- x/ X0 n5 j/ O# W% V, _

  1188. " K  @( T. d9 B# _1 t1 a3 V9 n; W
  1189. [MySQLi]2 _" a6 g- W$ G' j' n2 w

  1190. + i" v( }2 r8 D) ~
  1191. ; Maximum number of persistent links.  -1 means no limit.
    # T) U0 V$ t! }, Z/ K3 Y
  1192. ; http://php.net/mysqli.max-persistent% J/ ?8 L* C. [) Z4 q
  1193. mysqli.max_persistent = -1
    7 B  h" o$ y- z) f

  1194. & [. W, o3 y' h+ b7 X8 q$ @$ ?
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements9 h$ x( h; [" g+ b
  1196. ; http://php.net/mysqli.allow_local_infile' [# G: n( t. j' ?; X# H
  1197. ;mysqli.allow_local_infile = On, J4 v( t& S+ Q; {
  1198. 7 T1 Y" u! P: E8 u! Z; n5 t9 l4 O
  1199. ; Allow or prevent persistent links.' k* k: Y. i' P6 d5 d7 P) c
  1200. ; http://php.net/mysqli.allow-persistent+ f+ _" ]9 T+ x2 D
  1201. mysqli.allow_persistent = On
    + X+ `/ s4 q8 H( d  `
  1202. 8 y/ {* J5 p, ?; O, P# s0 @
  1203. ; Maximum number of links.  -1 means no limit.
    * E$ x8 p% m# s' Q5 i) y
  1204. ; http://php.net/mysqli.max-links
    5 Q% o" I) z" v/ {+ G
  1205. mysqli.max_links = -1' m8 [5 Z9 q& k: s, ~" u0 {' H
  1206. ) W% C9 x  Y/ |, H( n
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # g) N! H' k# K! Z4 I
  1208. ; http://php.net/mysqli.cache_size
    ! t9 b; Q$ ]$ c! x) ^3 I& f* X% X8 e
  1209. mysqli.cache_size = 2000
    9 f+ n7 W7 ]/ O3 K8 A
  1210. 2 j9 t0 l/ j7 _! a
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
      v4 V4 X' W! X4 H1 l
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    # o$ _; r  y# M
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look8 g/ x8 ~5 }; T) g, a; i
  1214. ; at MYSQL_PORT.) B1 r+ P% z( u
  1215. ; http://php.net/mysqli.default-port
      W! d3 s1 K# _* a8 Y" U0 `
  1216. mysqli.default_port = 3306
    7 F( Y2 c3 I: i: r& G3 |0 v

  1217. 1 V* |4 N) O, M& W6 h: ?( u
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in8 b$ R7 t" r$ D+ L; |
  1219. ; MySQL defaults." v+ z8 K$ Z8 ]9 S
  1220. ; http://php.net/mysqli.default-socket
    9 U. K5 w& a% u. ^& |% |
  1221. mysqli.default_socket =$ ?! W" N! Y! \
  1222.   C) r6 A0 K1 l1 Q" H4 `1 Y: e
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).5 p1 b5 R2 e* I! E
  1224. ; http://php.net/mysqli.default-host. M) k8 O( ]( c' L- N
  1225. mysqli.default_host =; `) e2 f, q) X6 G
  1226. # E# t0 H; K$ V* L1 ^
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).. K3 f9 G# N9 U( N" R, U% R" b9 Y, W' x
  1228. ; http://php.net/mysqli.default-user) }! D7 m  l0 I, r5 |$ G
  1229. mysqli.default_user =
    8 B$ F; T5 f; w, R

  1230. # q9 C0 x# |8 z! y! l7 V
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).' f. Z$ a$ n  q0 J$ x5 o' X( y- N6 R
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.; @$ B: x4 w, k5 E1 ~" B$ j0 g
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")$ U+ w3 Q5 ]* d( t. p0 w# I: ?
  1234. ; and reveal this password!  And of course, any users with read access to this
    ' ]* i  B& N2 T
  1235. ; file will be able to reveal the password as well.7 J; G. G% u, v$ I0 M4 J
  1236. ; http://php.net/mysqli.default-pw8 q3 [7 }! I/ F) I& N( e4 m
  1237. mysqli.default_pw =3 H1 `; l# b' v

  1238. * b% e) }* c! v, a. X3 V0 P6 B# i
  1239. ; Allow or prevent reconnect
    * |; M3 `+ G' V0 U& B5 a1 o# y" @: n
  1240. mysqli.reconnect = Off
    * Q% Y+ [% f! O. k2 F8 R

  1241. ( t- _  y  |2 N& ?( ~0 r) S
  1242. [mysqlnd]
    / |5 b& D; K/ e- z" j6 {6 B1 |# G
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    : X& Q1 z& u3 c7 s6 g+ b# M
  1244. ; used to tune and monitor MySQL operations.
    , H6 b# p' Z: u& I8 R1 u- g
  1245. ; http://php.net/mysqlnd.collect_statistics  P7 b; b2 j' ], p2 z
  1246. mysqlnd.collect_statistics = On9 e1 o9 s, |8 b
  1247. ' G5 R$ ?8 C: t, r: B
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be8 ~- |- g: W" f+ w" S5 [
  1249. ; used to tune and monitor MySQL operations.
    ' G4 \$ M3 B; [# {5 i" r  u
  1250. ; http://php.net/mysqlnd.collect_memory_statistics# C5 M0 Q1 B6 \: ~+ I2 N9 K
  1251. mysqlnd.collect_memory_statistics = Off9 J0 e5 h3 m' C* f9 ^0 g
  1252. 0 L1 r; ~6 f4 w# c- k
  1253. ; Records communication from all extensions using mysqlnd to the specified log+ V8 S4 O0 A! J6 d% h# ]8 D( Z1 F
  1254. ; file.9 b! i' e& y8 Y3 K
  1255. ; http://php.net/mysqlnd.debug
    ( a4 [6 e) F) X9 F* w
  1256. ;mysqlnd.debug =
    0 p7 z% W5 g% G
  1257. + _" p& `5 v: z; a( O3 F# |" ?
  1258. ; Defines which queries will be logged.7 P# s$ t' `  e; R( q
  1259. ; http://php.net/mysqlnd.log_mask7 z+ e1 a& |* U9 M7 H8 g! _
  1260. ;mysqlnd.log_mask = 09 D! U# V/ D- ^+ p4 u4 z
  1261. & P; n$ X# H# _5 [1 Y
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    8 p7 S  d+ p2 N& a2 H
  1263. ; http://php.net/mysqlnd.mempool_default_size
    . F) l1 S" t( d& `) c) X( d
  1264. ;mysqlnd.mempool_default_size = 16000
    5 o! d) H# R$ w0 _

  1265. 6 R0 Z/ l0 a3 K- S' P) C7 F
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.9 m4 p- O6 C4 h" p0 t# c0 c
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    6 y- i+ H* u3 C( P3 N4 Q0 s. {9 Y% L
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    3 ^  `( w; P& n/ ]4 V
  1269. 0 P0 r, g  m& P2 Z' s5 j
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    8 }( S4 O5 h$ J6 z% Y
  1271. ; bytes.
    + D4 u. M: M* X  \
  1272. ; http://php.net/mysqlnd.net_read_buffer_size+ C. Z3 U1 R5 J2 P0 l/ w
  1273. ;mysqlnd.net_read_buffer_size = 32768$ I6 h' a% ]5 {
  1274. ) B; _  H& V, o: ]( s
  1275. ; Timeout for network requests in seconds.- }* ]& V& H# Z/ n" T9 J1 e
  1276. ; http://php.net/mysqlnd.net_read_timeout
      m, A* L5 |& w, c+ Q# B
  1277. ;mysqlnd.net_read_timeout = 315360002 P0 i+ G+ Z5 w+ ~+ N

  1278. 4 |6 q! e; S4 _2 d2 |! d3 Q6 N! f2 n
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    $ C# Z4 e4 A, K; c# [/ ^( W+ D) M! ~
  1280. ; key.: k: ~8 k! H  m" d
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    1 X& U1 ], ~3 J) K+ ?- K
  1282. ;mysqlnd.sha256_server_public_key =4 p8 M8 u! x5 P; z) `

  1283. # H1 W  H* ~% ?5 f) \# j* E
  1284. [OCI8]
    0 R4 {7 {8 N4 B/ v' S& e$ `% C

  1285. ) N$ x: ~) K* `- ?$ n/ k
  1286. ; Connection: Enables privileged connections using external
    ( \! p/ e% x. r& K) p
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)5 X/ G) W$ d  ]0 P* y% Y4 D
  1288. ; http://php.net/oci8.privileged-connect2 I7 b; W  |5 N
  1289. ;oci8.privileged_connect = Off
    % ?+ s; @. D% Z! W

  1290. 2 A0 t  z, @3 ^: Z' H
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    / o/ |8 u& c( q
  1292. ; process. Using -1 means no limit.
    - C7 F4 E) ?" u1 t' I
  1293. ; http://php.net/oci8.max-persistent
    0 U6 I! `6 ?: L& h
  1294. ;oci8.max_persistent = -1' G+ g% Z% U; O: f5 J
  1295. $ z, M- z) s) H/ c) c- E* Y& v
  1296. ; Connection: The maximum number of seconds a process is allowed to' A2 K+ R3 j9 ~: _. o
  1297. ; maintain an idle persistent connection. Using -1 means idle
    . {% P5 A" S0 {) R4 N9 c
  1298. ; persistent connections will be maintained forever.5 s! B# j2 k, l
  1299. ; http://php.net/oci8.persistent-timeout
    1 I* u" u3 O% E% o" n4 @
  1300. ;oci8.persistent_timeout = -1
    9 J6 a3 ^& Q& U. a2 b) g+ _, q. R

  1301. * Y: `# o3 _0 T3 l  U, [* `! k
  1302. ; Connection: The number of seconds that must pass before issuing a
    / c" |9 Q' g1 `$ v+ F, k) L
  1303. ; ping during oci_pconnect() to check the connection validity. When7 a* t# C5 B+ @* _6 S6 E/ D
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables: }' t' }" `: O; z
  1305. ; pings completely.
    1 X* y$ j; b( p/ x% q; F4 G+ b  C2 a# V
  1306. ; http://php.net/oci8.ping-interval
    * M$ U4 o  m  }$ v, h; Q6 {( a
  1307. ;oci8.ping_interval = 60% B( W: k2 V$ q  V8 N" X/ a7 p

  1308. , h4 i: ?! L7 Y+ W$ B
  1309. ; Connection: Set this to a user chosen connection class to be used, R. I8 v2 M3 p+ W% I
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ( n" D% U! A9 l" y& d5 V( c
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to, E+ j( L6 I+ z- K8 A7 N& Z# S9 D5 }+ t
  1312. ; the same string for all web servers running the same application,( d, S) {4 n9 K( g6 _
  1313. ; the database pool must be configured, and the connection string must6 d/ @3 A; ?- w; S$ J. I! B! k/ U
  1314. ; specify to use a pooled server.! ^6 A& [& _: u: F  n  J
  1315. ;oci8.connection_class =# F5 O! m6 @; Z& \+ J  U

  1316. , g8 Z: A) O7 m" W' V" k6 S
  1317. ; High Availability: Using On lets PHP receive Fast Application, f$ t& o" [, c9 t- \6 e2 w% Y' B3 V/ [
  1318. ; Notification (FAN) events generated when a database node fails. The
    - d! V/ G' c' q' R" O% ]* d
  1319. ; database must also be configured to post FAN events.
    , w4 s) n$ p9 H3 {
  1320. ;oci8.events = Off* a5 }( }; |, ^; {4 A: ^6 X" b$ c

  1321. 5 D* \- `7 E' Z7 p- Y% x
  1322. ; Tuning: This option enables statement caching, and specifies how
    # H& F, V5 p  J9 u( h
  1323. ; many statements to cache. Using 0 disables statement caching.8 B" `' {7 v9 f  t# m+ B
  1324. ; http://php.net/oci8.statement-cache-size% I& K6 j, {1 ?2 I
  1325. ;oci8.statement_cache_size = 20! n4 ]1 y, _4 X- K+ e" C0 s
  1326. + ~! `0 |) U3 X8 R! m* Z
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    * ~! F$ I. V8 M. s1 P3 w
  1328. ; rows that will be fetched automatically after statement execution.7 b7 y! ~5 k# ^8 f/ x
  1329. ; http://php.net/oci8.default-prefetch0 A2 F9 [  ~" o4 n# ?
  1330. ;oci8.default_prefetch = 100
    9 _% }# @! F& B% d

  1331. ( R- ?4 g% m( n  w# N, U( [
  1332. ; Compatibility. Using On means oci_close() will not close6 B/ X: g5 I& W1 m. l
  1333. ; oci_connect() and oci_new_connect() connections.4 L! j1 T3 l  X3 Z( R) g
  1334. ; http://php.net/oci8.old-oci-close-semantics
    2 U! J3 ^* F( m* C
  1335. ;oci8.old_oci_close_semantics = Off
    ' h9 Z+ R# r- W. W: [: W9 q

  1336. ! m6 B, _! z% U/ k( h( h0 R
  1337. [PostgreSQL]
    0 I3 U$ R" o7 B4 t* `2 C
  1338. ; Allow or prevent persistent links.2 C& m6 W% _& w4 E# w
  1339. ; http://php.net/pgsql.allow-persistent
    $ G1 a/ u+ @. B. ?' Q: Q
  1340. pgsql.allow_persistent = On
    ; Z! w1 d3 F/ c4 Y! b

  1341. , p! R0 h6 U: k* I& Z
  1342. ; Detect broken persistent links always with pg_pconnect().
    8 J$ H" Y, p7 v& ^2 x6 W
  1343. ; Auto reset feature requires a little overheads.
    ; o+ ^4 p1 r! K( X, c7 I- L
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ; x4 w" @  U% w8 {+ k  W9 N
  1345. pgsql.auto_reset_persistent = Off
    / K: P4 n6 i7 F
  1346. + j4 G( K5 P2 ~1 O! m& W
  1347. ; Maximum number of persistent links.  -1 means no limit.2 G; [5 E) j0 d4 f  i; p. ]+ j
  1348. ; http://php.net/pgsql.max-persistent
    0 @) t8 q6 @* `+ x  {
  1349. pgsql.max_persistent = -1
    1 [% z+ @/ q# X5 y1 b2 v3 V' r
  1350. ( w) V) x& C$ M3 G
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.4 }, I6 g6 K+ X5 A+ s
  1352. ; http://php.net/pgsql.max-links
    1 a! A4 ^4 H$ B. h6 [
  1353. pgsql.max_links = -1
    % H9 Y0 \4 l. @+ N$ E

  1354. . ?4 \6 w- Q: }& ~2 W* n, \- E; g
  1355. ; Ignore PostgreSQL backends Notice message or not.* N3 ]7 |+ h' u7 r, o
  1356. ; Notice message logging require a little overheads.
    1 d+ W0 H% {+ @, t# h. |1 J
  1357. ; http://php.net/pgsql.ignore-notice+ D0 v. Z0 u) Z/ d5 t. B0 k
  1358. pgsql.ignore_notice = 0
    5 i5 I3 _6 |9 Y+ }% W# d

  1359. " M- q- d5 r$ P3 R7 ?5 Z1 j
  1360. ; Log PostgreSQL backends Notice message or not.
    - p. r5 u2 }6 g; k7 {
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.1 C9 `# `  G4 w- E
  1362. ; http://php.net/pgsql.log-notice7 R1 i' [/ s! B& @$ r$ W5 z/ f
  1363. pgsql.log_notice = 04 l, J0 Z& f* |6 b
  1364. 6 M* l. Q2 ^0 r! g( m! g
  1365. [Sybase-CT]
    % J9 L6 q( D0 m) r+ i# V8 l
  1366. ; Allow or prevent persistent links.. d" Y9 X3 z- k2 L! W; g0 v
  1367. ; http://php.net/sybct.allow-persistent4 \. |! G" l+ a# e$ \0 R0 Z# w
  1368. sybct.allow_persistent = On
    " K+ k/ }- _- T; f; f* |+ P6 G9 Z
  1369. . b' ?3 \) j, W: |6 ~
  1370. ; Maximum number of persistent links.  -1 means no limit.% u0 p' h2 `1 ^& P2 c* v  ?
  1371. ; http://php.net/sybct.max-persistent
    ' V" I* G0 \5 j, S7 V
  1372. sybct.max_persistent = -1- I9 [, Y: ?* A$ ]

  1373. # {: q0 o/ @) a2 Z, X  ^* y: @% P
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* R& @7 R9 y8 i6 h
  1375. ; http://php.net/sybct.max-links' g* H& t! t$ @" l( c$ B
  1376. sybct.max_links = -1
    7 u8 n* ^' Z' H! s  o4 A
  1377. 6 M- |: [/ E% U
  1378. ; Minimum server message severity to display.# e. a; G9 t! }4 o# j: Q! f
  1379. ; http://php.net/sybct.min-server-severity6 u. f8 }% x; t3 x( J) O
  1380. sybct.min_server_severity = 10& ^  {$ B9 Z- c) }" `; C5 X3 r6 {! Z  |
  1381. 0 M( T# n% C6 U: [5 G; F- D
  1382. ; Minimum client message severity to display.* {: y0 A9 m6 w9 k! G  i/ o# K
  1383. ; http://php.net/sybct.min-client-severity! k% k  ]$ ?" ~7 [1 k
  1384. sybct.min_client_severity = 10
    7 M  h% K* B6 V

  1385. 9 `" B+ D/ ~3 x; ~: ~+ f
  1386. ; Set per-context timeout' x. \! K2 A' p2 j) j  ^
  1387. ; http://php.net/sybct.timeout  q" |4 N1 W" Q  G, q& h
  1388. ;sybct.timeout=
      m/ N( `+ W* W3 U8 |& u5 y6 j! c
  1389. ) B; y8 W* N" y; y; D/ D
  1390. ;sybct.packet_size
    0 w( [& B& G0 L" v+ \
  1391.   V" x1 {1 N2 h' [/ o# I! Y, z  u+ o
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    / z, E$ s) @+ S2 B! o9 p4 e( G
  1393. ; Default: one minute! s) W1 e4 x1 _7 ?& A- w5 t
  1394. ;sybct.login_timeout=8 a6 o3 H' J$ x* y" h! T. Y$ Q
  1395. " S4 X- Q8 o% D1 i$ }0 Y  S- L+ I
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    7 S& u$ Q' @) e
  1397. ; Default: none8 Q0 W. E0 n# q' J5 C0 O: w
  1398. ;sybct.hostname=, y; p! _* h3 W9 V; V& \: t( ^
  1399. % z& E( l8 ], g
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".3 \0 q$ [7 Z. b1 f: I/ \
  1401. ; Default: 0
    0 ^  J. E7 y. F% c( G7 a
  1402. ;sybct.deadlock_retry_count=
    7 ?7 v/ x$ i9 K5 E
  1403. ) P1 z' c% a3 i4 a+ }/ _
  1404. [bcmath]) N+ u* ^( ]$ g: v+ L3 K# f
  1405. ; Number of decimal digits for all bcmath functions.
    2 j+ ?* Z+ s' x5 U2 z  l' y
  1406. ; http://php.net/bcmath.scale
      p, V1 }4 T- }/ \9 x
  1407. bcmath.scale = 0* F; T% ]& Y! G' J3 ]6 ?/ |

  1408. : D8 V% @" Q- z$ U* c8 }3 c
  1409. [browscap]) w4 |# S* B. l
  1410. ; http://php.net/browscap
    * r) u2 T4 T" s1 `
  1411. ;browscap = extra/browscap.ini' I/ B: Z6 o% l

  1412. ( n" y! d1 _* L7 \
  1413. [Session]/ `" e: E( w& D5 s9 y8 m3 S& u
  1414. ; Handler used to store/retrieve data./ w, W' L+ s5 X/ K. I
  1415. ; http://php.net/session.save-handler% I1 p( Y; }' s" t8 R7 n. ~1 J% P5 D
  1416. session.save_handler = files
    6 ]- V& n  a- @: G' C
  1417. 8 |4 }2 X5 ~) s' x1 [7 w
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    % p( X$ r/ z  Z9 {- e$ V- p$ S
  1419. ; where data files are stored. Note: Windows users have to change this: _# g8 ?) r% G- _+ k1 Z
  1420. ; variable in order to use PHP's session functions.
    ! |3 p' W5 |  u3 Q9 D/ g, I; B/ F4 r
  1421. ;% S# S- ]7 g8 G( ~
  1422. ; The path can be defined as:; g" }/ p' C  r3 |
  1423. ;
    ) r8 w9 Q9 L8 G5 t. Z4 |0 y
  1424. ;     session.save_path = "N;/path"# T+ {$ i0 I; b# I5 _. N$ c0 y
  1425. ;
    ( e4 N# n  C: a$ ?
  1426. ; where N is an integer.  Instead of storing all the session files in
    $ A) A8 K" r5 q4 L5 G) P# U& ~
  1427. ; /path, what this will do is use subdirectories N-levels deep, and# y/ ^  ~+ L$ L6 ]6 [3 }# Y
  1428. ; store the session data in those directories.  This is useful if
    5 i3 d# h% k3 Z. e' n0 y
  1429. ; your OS has problems with many files in one directory, and is& a9 E+ f0 u. R# g8 u
  1430. ; a more efficient layout for servers that handle many sessions.. F2 ]5 M1 A: `  O; b3 M9 b3 D+ b
  1431. ;$ ]6 `( Q5 B- w5 N3 C
  1432. ; NOTE 1: PHP will not create this directory structure automatically.: b2 s) x$ X5 `4 F& n6 a
  1433. ;         You can use the script in the ext/session dir for that purpose.5 K! `  }. b2 w, \
  1434. ; NOTE 2: See the section on garbage collection below if you choose to/ j/ N; K. R" A# R3 x+ B  ]& Z
  1435. ;         use subdirectories for session storage
    0 H( g6 G0 h( d& j2 Y
  1436. ;: b" c; }$ o! W$ Z5 o
  1437. ; The file storage module creates files using mode 600 by default.
    3 n/ r# p! x/ l& t/ G' f
  1438. ; You can change that by using
    0 j/ i' _1 z! ^: m  }
  1439. ;$ t: c$ e) X7 c! e" ?2 B' ]
  1440. ;     session.save_path = "N;MODE;/path"
    : Y) P0 ~8 |  K+ B" T6 P. `4 B
  1441. ;: z& B2 h4 u; f0 H8 b. ?& @
  1442. ; where MODE is the octal representation of the mode. Note that this
    0 E  w1 Z3 ^5 k6 \% C: U
  1443. ; does not overwrite the process's umask./ J# W* w1 e4 G
  1444. ; http://php.net/session.save-path
    9 h# l4 S. R' V6 {3 C
  1445. ;session.save_path = "/tmp"
    & @; d4 j9 C# H
  1446. & f+ q: z: {, r3 X5 |; ~2 E
  1447. ; Whether to use strict session mode.
    " I7 t* L1 C8 c) U, _* C) ]' o
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    1 w# x, J' N2 A( u1 t
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    # J+ Q# i4 J: }% A# q8 `
  1450. ; applications from session fixation via session adoption vulnerability. It is4 ~+ J4 x  c) [! ^$ j2 \/ m% B
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.' g  c! O, m' H2 z2 i
  1452. ; https://wiki.php.net/rfc/strict_sessions
    : b5 x. G' \, v2 Y: C9 q
  1453. session.use_strict_mode = 0
    $ m" i0 s0 ?) p' o9 s
  1454. ' @/ I- _% n+ X3 c( _& H/ g6 X& @; X
  1455. ; Whether to use cookies.
    , @3 s4 H6 m0 {* S) u: H3 ^; b
  1456. ; http://php.net/session.use-cookies# H8 F! ~0 d: u7 T
  1457. session.use_cookies = 17 L! i9 [- u, r( i5 B4 I- C

  1458. , l& s" Q1 Q6 |3 A. |; J- P5 B
  1459. ; http://php.net/session.cookie-secure
    8 [& G! V! ^+ e: y, J
  1460. ;session.cookie_secure =$ r6 ?( B* v# a" T; k" {

  1461. : I) D# X  ?% u: v
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining' O! `6 R0 R8 ~" e- K5 @: n
  1463. ; the session id. We encourage this operation as it's very helpful in combating% K  i2 ~; S/ G1 y) ~3 V9 a# m
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ) w: \$ m  y* K% d8 f! w/ M
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.9 g  v+ h- H+ L6 E$ v( z1 ^
  1466. ; http://php.net/session.use-only-cookies( o5 }# K! M) S. o) G- H6 ^1 G9 A
  1467. session.use_only_cookies = 1
    ( b5 B# t7 Y( k+ T  n" s
  1468. 3 n& ^: g' _  {$ w
  1469. ; Name of the session (used as cookie name).
    . c0 K/ X9 l8 Q  d5 {% C3 g
  1470. ; http://php.net/session.name" n4 l, D9 W1 x. [. p
  1471. session.name = PHPSESSID
    4 C! c8 n3 I- I/ |$ W

  1472. 7 y2 Z# A; C7 C. n+ O( ]
  1473. ; Initialize session on request startup.6 g( r4 r0 `& M( ]" J
  1474. ; http://php.net/session.auto-start
    ) P* v$ z3 f, r4 N) U  ~5 w& F/ l
  1475. session.auto_start = 0$ q5 |1 l! J  X+ Z1 o

  1476. ! `9 V: \& w! I0 b! |6 t, a$ W
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    $ p: F+ T( w6 E% x8 I
  1478. ; http://php.net/session.cookie-lifetime' q& J# A- u/ y- `1 @$ ^7 _
  1479. session.cookie_lifetime = 0
    1 x! x: B: {' D" ]

  1480. 1 O/ g4 K* {7 V
  1481. ; The path for which the cookie is valid.
    , `* y$ g: E; ^2 u
  1482. ; http://php.net/session.cookie-path
    - u; D# a0 J+ G! t; N$ `! B9 S
  1483. session.cookie_path = /
    # D+ p2 a' r; v% F. K& M; ], K' z

  1484. 7 p# m" r  s$ G' Z/ S2 ^) v) U
  1485. ; The domain for which the cookie is valid.
    + J% a8 Z' r8 x6 L- z
  1486. ; http://php.net/session.cookie-domain% B2 e5 o& T+ m( w- Z
  1487. session.cookie_domain =  M; B4 Z+ _" O! F% G

  1488. * @! v( C3 V2 P  W' J
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.* d) W  |/ P' h& Y
  1490. ; http://php.net/session.cookie-httponly
    % k# x4 E2 v+ g1 L5 t
  1491. session.cookie_httponly =
      |6 F3 i. t+ k* Q, V( i
  1492. ; o8 P* x2 F# C7 y9 e7 i
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.' x" g/ l1 Q) A
  1494. ; http://php.net/session.serialize-handler: l6 X0 v* p4 D9 D8 W1 q
  1495. session.serialize_handler = php
    4 h! z- s0 R( ~
  1496. # e5 l. W" T6 ]/ E
  1497. ; Defines the probability that the 'garbage collection' process is started
    0 c; w8 T1 }2 @7 @) o6 N
  1498. ; on every session initialization. The probability is calculated by using, u/ m  V: x6 d7 [, Q' |: c
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator, e4 M' B  |% x+ a
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1% M. T) A, Q, z1 q4 j/ z. F
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance5 h4 g4 t: K; c7 }* p1 ]
  1502. ; the gc will run on any give request.! H7 x* A/ k; z. x5 a) G' `! |
  1503. ; Default Value: 1
    & F+ c- q" p4 W+ F/ ^2 f" K
  1504. ; Development Value: 16 l" Y( m! Y+ M$ b9 k! b
  1505. ; Production Value: 10 O% [9 V, k! n, j( h+ J$ @
  1506. ; http://php.net/session.gc-probability
    . I# y9 n7 I( x6 G, M0 n
  1507. session.gc_probability = 1. j# v5 g( B. L3 s' e

  1508.   {, O1 A8 B% x3 Q& g; T  a
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    5 s6 }, \) D! p4 a' B4 t
  1510. ; session initialization. The probability is calculated by using the following equation:
    ; T' j% Q0 H8 x/ G0 o
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and$ z# A/ t! q" v5 \/ A; B; z+ s8 E4 L
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    1 ?' ]3 F1 G/ K8 ~3 O
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& }  R/ M3 N" |' i% o
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you( z, ~% O7 m3 ^# S' ]
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ; W( D5 T9 ~. n* h. ~
  1516. ; this is a more efficient approach.
    8 N0 l: T, I! i$ {
  1517. ; Default Value: 100* `( Z$ W" k! f# \5 [1 I+ j
  1518. ; Development Value: 1000* O/ E: t7 {1 Y* _
  1519. ; Production Value: 1000
    5 C" p  D. J$ y3 n( n
  1520. ; http://php.net/session.gc-divisor
    / d2 s0 ]  D3 a& z% N/ A
  1521. session.gc_divisor = 1000
    % b, v) g( q9 {& M: g

  1522. + G  R( Q" u5 z
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and1 W% }& ~% n& b
  1524. ; cleaned up by the garbage collection process.
    2 A+ J3 I  C/ L& {' C& e' t
  1525. ; http://php.net/session.gc-maxlifetime% h7 @0 o3 u. x( N  |" w% {, b
  1526. session.gc_maxlifetime = 1440
    0 b! f) ~0 B8 Q& x; G2 K

  1527. - S( |0 d0 h- X+ N
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    + P  ^4 S  v8 w3 R9 ]0 K" d
  1529. ;       (see session.save_path above), then garbage collection does *not*- T0 N* A- x" ^! I0 J+ ]) W
  1530. ;       happen automatically.  You will need to do your own garbage
    4 G8 Z. u. u. L( N
  1531. ;       collection through a shell script, cron entry, or some other method.
    . y) @; Y5 C6 l
  1532. ;       For example, the following script would is the equivalent of
    , C4 F+ H9 g5 b* w; x3 E
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):& ~2 P: u( R7 a/ T
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    , G' U0 c+ _: ]4 U* t) u

  1535. # f+ n' t' ^( Y
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ' W6 _& \6 R7 @2 D$ F+ ~; f8 ]
  1537. ; HTTP_REFERER has to contain this substring for the session to be4 O" Z% [4 g: @. E
  1538. ; considered as valid.
    / x: p, Y0 G( |. M& |+ B, J$ K
  1539. ; http://php.net/session.referer-check
    / y3 J. F: C7 F4 q1 X: o
  1540. session.referer_check =
    " }! r3 X: a4 S3 f
  1541. , ]; Q9 H3 x$ ~
  1542. ; How many bytes to read from the file.) _; H0 b. B  X. _7 h0 ?1 w4 c$ A
  1543. ; http://php.net/session.entropy-length& i0 A% X& D1 u) h! j* v
  1544. ;session.entropy_length = 32, M) i/ v, _0 W
  1545. , r$ w. ]7 l- b9 @& t& _# A% N
  1546. ; Specified here to create the session id.+ Y" j  T* E$ D: P4 ?
  1547. ; http://php.net/session.entropy-file7 ^1 L: d) E8 u( O; H" E
  1548. ; Defaults to /dev/urandom4 A; l& p9 y. L7 Y' C
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    / E" ^1 L( [7 U& V! U
  1550. ; If neither are found at compile time, the default is no entropy file.
    8 e2 Y- E3 d' h$ G+ i8 z
  1551. ; On windows, setting the entropy_length setting will activate the
    6 V' ^5 _+ N3 E2 M2 T1 R
  1552. ; Windows random source (using the CryptoAPI)
    / P( e1 e2 y% w5 L
  1553. ;session.entropy_file = /dev/urandom4 z( F0 S2 m3 K9 k8 V; d) r/ \/ Y8 |
  1554. ' y4 P8 Y; H* M$ q4 R3 @
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    - _+ z5 L8 R/ [! X- [
  1556. ; or leave this empty to avoid sending anti-caching headers.# r6 [2 @" j% F/ R7 Z; Z3 ~
  1557. ; http://php.net/session.cache-limiter4 n0 w. X! U' Y& v
  1558. session.cache_limiter = nocache4 Q6 f" I$ v0 d
  1559. ; y) O& R7 Y: k
  1560. ; Document expires after n minutes.- S' b" ]' f3 r( P" B8 S0 I/ A
  1561. ; http://php.net/session.cache-expire
    3 N% ]$ ?- u- Q. o/ I. p' `, v& H
  1562. session.cache_expire = 180# A- u/ e. k. [) [/ A& g# o

  1563. ( `9 A6 X1 R" E) \6 C5 J
  1564. ; trans sid support is disabled by default., w5 o+ Y( d& N- y5 e. y! P
  1565. ; Use of trans sid may risk your users' security." ?$ l' {. N* o* h; Z1 y9 ~
  1566. ; Use this option with caution.4 W  v( k' o/ c) I6 ]# q2 b; T
  1567. ; - User may send URL contains active session ID# T$ z& `$ d" J4 Y( V/ D3 k! m
  1568. ;   to other person via. email/irc/etc.
    $ \2 i' f6 f( e  ^% c& Z
  1569. ; - URL that contains active session ID may be stored4 `3 N6 X- e  @9 R1 g& t
  1570. ;   in publicly accessible computer.
    2 ^& V  P. ^4 k" q
  1571. ; - User may access your site with the same session ID
    * G( L( y4 x; u2 h; R
  1572. ;   always using URL stored in browser's history or bookmarks.
    , P( l) J% }$ A0 y
  1573. ; http://php.net/session.use-trans-sid
    5 \1 f6 b: v# Y0 e
  1574. session.use_trans_sid = 0
    % v3 E$ `/ P. q; P

  1575. # z5 w# n$ i% W2 T( H' W! Q5 l
  1576. ; Select a hash function for use in generating session ids.3 b9 F4 F3 _  @. |' ?  E7 M& c
  1577. ; Possible Values8 d" b' q# e9 i1 [: j0 q( [& A
  1578. ;   0  (MD5 128 bits)
    - d% X, ^3 [2 a  i
  1579. ;   1  (SHA-1 160 bits)
    % C/ v  K8 a4 N/ n+ I$ i% ?
  1580. ; This option may also be set to the name of any hash function supported by
    2 w0 i$ t1 U5 _" F# j2 p# a2 s, x/ |
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    & A" }8 b- o) Q0 B" y2 ~
  1582. ; function.0 v5 b0 u7 ^0 n. T3 x" X
  1583. ; http://php.net/session.hash-function6 h- k- ?# P) y; _8 N! y/ }
  1584. session.hash_function = 0( @, g& y4 }6 z5 y
  1585. 6 W: a, n+ i* w! `
  1586. ; Define how many bits are stored in each character when converting
    $ j0 i4 E) J& I
  1587. ; the binary hash data to something readable.6 ]) F; ~# [# v5 }  h: F
  1588. ; Possible values:
    8 V2 N3 v; |( ~% M: n% c& P
  1589. ;   4  (4 bits: 0-9, a-f)
    . I# S: H; f& h% D. {) v
  1590. ;   5  (5 bits: 0-9, a-v)0 b8 ~% q1 J1 Z" t/ v
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")2 m4 s$ ^5 X) k$ w9 ?; \
  1592. ; Default Value: 4' G8 C, P2 }& V% \0 s) W" N
  1593. ; Development Value: 5
    1 d4 P7 n; ~: B) J' L  N* u
  1594. ; Production Value: 5  \5 A' S& g' Q; o" c  }
  1595. ; http://php.net/session.hash-bits-per-character4 \9 Q% v1 x5 N- p2 `/ P
  1596. session.hash_bits_per_character = 5
      B. x& l0 G/ ?) V) w
  1597. ) V& K' x4 E# K; M7 J" d, g: F$ X6 O
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    / ~2 ^0 v: r  T5 G+ C+ }
  1599. ; form/fieldset are special; if you include them here, the rewriter will3 a1 W( S: I1 E+ j3 s
  1600. ; add a hidden <input> field with the info which is otherwise appended
    . e* K8 S* L% D% D/ C
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.* u6 c) V& C# S9 D& d6 T
  1602. ; Note that all valid entries require a "=", even if no value follows./ T+ \3 Q3 D' W/ h3 T3 J
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="3 k3 g1 X/ K/ l0 K0 J/ H! s' S9 x6 N
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / S! j$ e$ R  E0 f8 d
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" l* `/ {1 @( E" ?- n3 k' Y
  1606. ; http://php.net/url-rewriter.tags( T& n- L3 h  C3 S  f7 ~. J+ i$ v
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry") d- i4 B1 p! s9 m+ C9 N: D2 Q
  1608. 1 r0 q4 r' T( {3 ]0 S6 @
  1609. ; Enable upload progress tracking in $_SESSION
    ; t0 X  Q. b& U  P# z( c8 |
  1610. ; Default Value: On
    4 [3 C( M) P- B( d  W- k6 d
  1611. ; Development Value: On
    - s5 k, S  g* {- T0 s' ^
  1612. ; Production Value: On
    3 @1 ^  x" m7 ^
  1613. ; http://php.net/session.upload-progress.enabled: T& ^- \7 F6 B7 X& [
  1614. ;session.upload_progress.enabled = On& L, L2 d2 o7 @9 R

  1615. 7 c, l" u6 b8 }: z- q9 R
  1616. ; Cleanup the progress information as soon as all POST data has been read+ M* H) b1 |) Z+ N5 A
  1617. ; (i.e. upload completed).
    $ P" N5 w& h: j/ g$ ~
  1618. ; Default Value: On
    0 P( B9 x% |6 F, F. V4 j
  1619. ; Development Value: On
    ) j; F2 y2 r& E3 o3 z) @- F
  1620. ; Production Value: On9 P3 h! [( v; R. K
  1621. ; http://php.net/session.upload-progress.cleanup/ |  `* o  G4 `& K: }* z
  1622. ;session.upload_progress.cleanup = On
    / k) {% {( {& O# w# b8 {
  1623. 5 c' X2 T. D# _) p3 e5 s3 v
  1624. ; A prefix used for the upload progress key in $_SESSION
      Z8 G5 _/ u) L; R- q
  1625. ; Default Value: "upload_progress_"
    ( D( T0 Y+ s" Z! p! o3 p
  1626. ; Development Value: "upload_progress_"
    4 ]5 V* L; v; U1 \. k9 H
  1627. ; Production Value: "upload_progress_": a$ w2 O1 Y9 n+ _9 ?
  1628. ; http://php.net/session.upload-progress.prefix* _  e7 F3 Z8 x  {
  1629. ;session.upload_progress.prefix = "upload_progress_"
    3 V7 l+ K3 [( o! \4 Z

  1630. / O5 b8 Y4 T- G8 S; J% k
  1631. ; The index name (concatenated with the prefix) in $_SESSION0 j* R# u1 A$ U! _0 y
  1632. ; containing the upload progress information8 |3 V; y$ e3 R* q6 j* F
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"6 j* b' g6 P  d* K, ?- J
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 {2 M+ t- B* X
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"" n) k  d* X7 \' A
  1636. ; http://php.net/session.upload-progress.name
    3 d9 U: d! ?3 B/ ^
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"( p9 O5 P# c  H
  1638. 3 O2 N& Z. B! U6 m! C
  1639. ; How frequently the upload progress should be updated.
    7 M0 ?# }2 G6 I5 u
  1640. ; Given either in percentages (per-file), or in bytes
    ( Y3 F7 Q0 E7 I3 m
  1641. ; Default Value: "1%"
    % l4 W# b4 i5 g- m/ i
  1642. ; Development Value: "1%"! o( e, x# ?6 O: Q9 _
  1643. ; Production Value: "1%", f/ ]! K* {' j2 X* P! H* g
  1644. ; http://php.net/session.upload-progress.freq# s# o$ _& e9 x6 T8 k" ]/ D9 l+ @( v% Q) s
  1645. ;session.upload_progress.freq =  "1%". I* N) _0 D' c4 s  Z3 }0 }

  1646. & q, _# f( N, H4 s
  1647. ; The minimum delay between updates, in seconds
    . @- L. Y. b9 Z( J- {& ~6 e8 G
  1648. ; Default Value: 1
    . t# y1 b2 C. ~# c
  1649. ; Development Value: 1
    ' z; c1 a% S) u6 ?$ ], ]
  1650. ; Production Value: 1
    6 `- j+ `: e. n. K. D; N
  1651. ; http://php.net/session.upload-progress.min-freq
    - q9 q: q' m. {' e  R1 ]9 S: ]
  1652. ;session.upload_progress.min_freq = "1") q* H( T+ b# w

  1653. , A% f; t; M" n
  1654. [MSSQL]
    7 J2 _; c* d( a% X7 Q: S
  1655. ; Allow or prevent persistent links.; P5 N) Y9 @9 K/ e2 e2 F: V$ a* X& i
  1656. mssql.allow_persistent = On
    7 s- [( I8 B7 a  W

  1657. - N  ^1 o' e1 i2 }. Y0 l! `
  1658. ; Maximum number of persistent links.  -1 means no limit.
    7 w4 g0 r5 M) |4 S# V0 x5 [
  1659. mssql.max_persistent = -1
    ' s3 i6 W9 @" r7 w  J$ \6 k
  1660. + T5 e3 P: }- ?/ x. i4 X! W
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    : a, f; Q- M% V- T, s5 \: \4 k) z
  1662. mssql.max_links = -1
    " c" h0 J$ I' [( ^/ t1 ]& `
  1663. 4 X' q* K0 x8 I$ q
  1664. ; Minimum error severity to display.. h+ a! m& _0 D( U( v% x
  1665. mssql.min_error_severity = 10
    2 Z4 @$ t" ~1 H) Z
  1666. " q% K" C% S- F, L, j) o. o
  1667. ; Minimum message severity to display." `% V0 a  {2 h# [( q+ e2 S0 O
  1668. mssql.min_message_severity = 10
    2 w( B! H, L. m9 M, q7 ?
  1669. 2 i8 S1 P4 c) K# j: {/ r8 e
  1670. ; Compatibility mode with old versions of PHP 3.0.* `* [1 k% z2 e& p5 X) d
  1671. mssql.compatibility_mode = Off/ _2 }; }: {/ }& x  S
  1672. 7 |4 d8 L9 ^8 a* H+ X9 @$ M3 g
  1673. ; Connect timeout5 m0 d1 T/ \7 F6 o: g- x
  1674. ;mssql.connect_timeout = 54 Z% Z! |' d! \8 y. h, A  @) r

  1675. 8 O; w) _/ x. k$ f2 r
  1676. ; Query timeout9 B( n  s$ c4 D! c
  1677. ;mssql.timeout = 602 S# E8 {" ^$ a: h% m% b

  1678. # Q+ c0 g, `# a5 N$ O- r
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    5 ^- Z0 y) t- B/ U9 l# v4 m
  1680. ;mssql.textlimit = 4096& W  ?" X" B. p3 {, R' [' t

  1681. # _- w8 D! n7 r+ P: Z
  1682. ; Valid range 0 - 2147483647.  Default = 4096.- I5 d: r8 r6 O; T" f- Q
  1683. ;mssql.textsize = 4096! @  K7 _# G4 `/ p2 L
  1684. & q* R2 ~: d$ n2 l3 E% U4 ]& C
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    & Z4 n6 e' s8 {5 j7 K0 n( V3 U
  1686. ;mssql.batchsize = 08 c; z4 g1 b. L8 V* k) V! Y" Z
  1687. + N% V4 ?; a  C+ Z2 G+ W7 ^3 {
  1688. ; Specify how datetime and datetim4 columns are returned
    7 L9 Q- W/ I+ [! v2 z* @
  1689. ; On => Returns data converted to SQL server settings
    5 ~4 _6 C# g7 O# i/ u8 U
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    7 u# V, Q9 r6 [& U6 `; E
  1691. ;mssql.datetimeconvert = On, n; q; C& |! B! U( ]

  1692. 6 Y" o+ ]0 z7 N+ H1 X5 k
  1693. ; Use NT authentication when connecting to the server  d1 g4 M2 `, V2 i) l- @! T
  1694. mssql.secure_connection = Off1 o3 U  g9 `2 X2 P( r- Y% i& f
  1695. 8 [- u( Q3 w) P
  1696. ; Specify max number of processes. -1 = library default
    7 [. C4 w4 S$ X
  1697. ; msdlib defaults to 25
    " z( c* w8 p$ N4 r+ H
  1698. ; FreeTDS defaults to 4096
    ( D% F8 V) E5 g' c4 }5 _* d9 U
  1699. ;mssql.max_procs = -1  t& y+ a: H* D( m! q6 H4 y4 h7 c$ Q
  1700. 2 g8 h; ?, |! A
  1701. ; Specify client character set.
    9 q2 ?+ O- }3 S: p$ d
  1702. ; If empty or not set the client charset from freetds.conf is used6 Y8 q2 C, J; j# R9 E
  1703. ; This is only used when compiled with FreeTDS
    $ {7 H* Q2 d1 S8 t) j6 W! H  u
  1704. ;mssql.charset = "ISO-8859-1"
    1 @) u2 j$ B3 T4 }
  1705. ) Q6 O" [0 N( k- ~9 _
  1706. [Assertion]
    ' N7 d/ C) M* \5 e4 g1 h
  1707. ; Assert(expr); active by default.( p" E) Q6 n" b
  1708. ; http://php.net/assert.active* I- N3 b+ Q! @- O  e8 r# X
  1709. ;assert.active = On: a2 u* ]/ T/ @; N& @* q
  1710.   T8 H' y+ H3 t! q' D* L
  1711. ; Issue a PHP warning for each failed assertion." j3 _7 h' U9 l0 \' t
  1712. ; http://php.net/assert.warning
    5 H5 k3 A! t: `0 L" |( r; a
  1713. ;assert.warning = On
      F& @+ r2 T' C$ \# r9 h: |
  1714. ( [: ~3 P# M0 Y% y$ k
  1715. ; Don't bail out by default.
    ( ~  c  ?$ O( e4 V0 D  o7 C
  1716. ; http://php.net/assert.bail0 {1 m( J2 z% a( e( o) m
  1717. ;assert.bail = Off4 F) p* O4 i! S; r! k2 z' g4 x  J

  1718. ; Z3 B; D+ B8 I$ I0 m- j6 E! m
  1719. ; User-function to be called if an assertion fails., c$ }$ x  _" v! v
  1720. ; http://php.net/assert.callback! {) Q% f( c0 q" u! O0 B
  1721. ;assert.callback = 0( F1 y5 H0 ]* C6 T# l6 w. [

  1722. / A+ @) c9 K+ c: T
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    9 |! h5 p' _, W% l4 {/ Q# s
  1724. ; error_reporting(0) around the eval().6 i& d, }8 X0 G* i2 b9 F
  1725. ; http://php.net/assert.quiet-eval, k! G8 _! [; X, _/ ~
  1726. ;assert.quiet_eval = 0
    : }+ k  Y0 o4 [

  1727. + }  k+ o2 p4 [; j% [! \: U
  1728. [COM]3 g) c2 S) Q4 A
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
      [4 |5 G0 ?2 j6 O5 X0 m' h
  1730. ; http://php.net/com.typelib-file
    + P7 e) ]. F+ N7 C/ K' k6 X
  1731. ;com.typelib_file =! D2 K+ s5 r, p4 W! G# e. p
  1732. % B& a) }/ H2 w# @! Y
  1733. ; allow Distributed-COM calls
    & l, t" z3 \  q$ |& ?: |9 j4 G  ~
  1734. ; http://php.net/com.allow-dcom
    4 t4 U2 E: @* X) p6 x
  1735. ;com.allow_dcom = true
    7 r" G& O# D. H$ p8 K4 n5 G" b
  1736. ' ^$ k. n' k' c8 @4 F
  1737. ; autoregister constants of a components typlib on com_load()
    ! `, V, @3 q7 ~/ `4 u
  1738. ; http://php.net/com.autoregister-typelib0 ~4 ?) X1 F; p$ S
  1739. ;com.autoregister_typelib = true
    + I  N3 u, |- v
  1740. % o5 s. o' J5 C
  1741. ; register constants casesensitive
    " N- d/ I7 y) H* ~
  1742. ; http://php.net/com.autoregister-casesensitive  L3 }8 r* h& x  Q& X$ E& u
  1743. ;com.autoregister_casesensitive = false3 W, p& ?/ C9 u% _+ C2 \
  1744. 7 r) M" C: F  R% B3 l
  1745. ; show warnings on duplicate constant registrations7 m7 {! q# ]; c2 Q; |
  1746. ; http://php.net/com.autoregister-verbose7 Z3 ^0 P) G: ]9 j# g
  1747. ;com.autoregister_verbose = true6 {/ @+ v8 k' k2 q, R( _' p
  1748. 5 k/ M: y8 u' q: x1 n, O
  1749. ; The default character set code-page to use when passing strings to and from COM objects.# U2 E3 e& O8 E8 @# H1 D! o5 m3 y
  1750. ; Default: system ANSI code page
    ; D8 V! C; S  F: u9 M8 f
  1751. ;com.code_page=
    5 r. L3 X" a' m# m; D
  1752. ! ]2 w( V+ z, M! S7 {* m  x, G
  1753. [mbstring]
    + n- N! E1 F/ X$ y
  1754. ; language for internal character representation.! f# h: g2 E+ I% ?
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.# X& d" Y" ?- |; V( u6 O
  1756. ; http://php.net/mbstring.language
    . k  W! |& w: T& Z
  1757. ;mbstring.language = Japanese
    * H, K. X9 [- o  w  W
  1758. ! H" w4 j2 ~' ^& j% g
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.! u) G/ y7 j8 W3 d* W9 ~
  1760. ; internal/script encoding.( @' a' @7 t7 F: T6 j
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    # Y: g2 x7 v/ y  p* A
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.' v5 [/ ~4 O# K& P0 `) g6 {6 {
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
      D$ ~) p9 w- b2 v! Y4 x$ d' l. b
  1764. ;mbstring.internal_encoding =
    0 n- m2 G( K0 y4 J/ Y/ [. A% L
  1765. ! O4 J+ W1 @# t
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    : N9 K0 y# O$ H. Z7 p
  1767. ; http input encoding.
    ' Y, S, X' w( ~& w
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    / K. x) A. Y* \6 [- g: E1 w6 ~
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    % A9 F& V; w/ E1 L% F/ ]7 G
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    3 t2 Z2 R+ H) ?2 N% i" Z
  1771. ; http://php.net/mbstring.http-input# W( C7 D5 C' [* |  [# i* t6 `# B
  1772. ;mbstring.http_input =
    % C2 _- O/ U7 ~: c0 F- V0 E2 m  s: Y" p

  1773. 9 [8 l* ~# u  u( t& F. }
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.$ f  [  w" M9 t( i/ q! t
  1775. ; http output encoding.
    " j# `- }0 N4 z* E3 M+ n" Q
  1776. ; mb_output_handler must be registered as output buffer to function.7 H& W0 [* u9 T+ [7 @& F% J/ Y
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.$ I6 ^5 X$ t7 Y  q# G  T
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output" Y( c# n" W+ o8 S
  1779. ; To use an output encoding conversion, mbstring's output handler must be set4 z8 }  y3 j1 @: J
  1780. ; otherwise output encoding conversion cannot be performed.1 I9 B; [  @! |6 u6 `1 L1 n
  1781. ; http://php.net/mbstring.http-output9 C9 A, e) n4 y! U1 }1 @4 q
  1782. ;mbstring.http_output =
    : |& E9 J7 e/ ]# {6 Y0 X; Z; R
  1783. ; G- I. e4 v2 {0 O0 A2 E+ w8 w
  1784. ; enable automatic encoding translation according to# Z4 t5 i% j/ L! J; b' c
  1785. ; mbstring.internal_encoding setting. Input chars are
    8 t' _$ L5 R2 u1 Q
  1786. ; converted to internal encoding by setting this to On.
      ~& T. m' B5 Q* t# q9 n
  1787. ; Note: Do _not_ use automatic encoding translation for3 w; z3 M# G2 h7 J/ o
  1788. ;       portable libs/applications.
    6 u2 k: U0 M5 C) n* q, Y
  1789. ; http://php.net/mbstring.encoding-translation
    2 w0 v( V- Y4 Q/ @2 w
  1790. ;mbstring.encoding_translation = Off
    : h! \! D' B! Q; M7 s0 F

  1791. ! b8 w! e0 K* A9 g2 h' H
  1792. ; automatic encoding detection order.
    ) x  E" a/ u( U8 m" n% G) X
  1793. ; "auto" detect order is changed according to mbstring.language6 s8 x. \) o! ]4 k% b6 \/ `7 q
  1794. ; http://php.net/mbstring.detect-order8 a6 i5 ~& e& r
  1795. ;mbstring.detect_order = auto% {# y' ]/ I+ m( ]& u9 z1 E8 b' q

  1796. ! E$ M4 x0 l" _  b
  1797. ; substitute_character used when character cannot be converted0 J4 Q* L  Y9 W; l6 O6 x! f2 n- H
  1798. ; one from another
    . n* ^2 j/ v7 N& S4 E) D
  1799. ; http://php.net/mbstring.substitute-character
    $ a! E6 l2 a; S* e7 Y/ s& R! j5 W
  1800. ;mbstring.substitute_character = none
    " v) p# u. k5 k7 v; F' K" n* Y5 x
  1801. $ |2 l. c1 \2 q! U0 U2 D% Z
  1802. ; overload(replace) single byte functions by mbstring functions.
    5 a7 G; d( U+ e2 A! ]) [9 H
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    : R2 j& }5 ]- b, D+ Q
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.2 A5 E* {, P+ g1 d8 u
  1805. ; For example, 7 for overload everything." k1 E; f$ F' ~8 |
  1806. ; 0: No overload  A* k9 S- m; K4 q
  1807. ; 1: Overload mail() function
    - X( y: M  C7 ?" G% [% I; Z& A4 X
  1808. ; 2: Overload str*() functions
    9 w* V+ Y" H$ G
  1809. ; 4: Overload ereg*() functions
    % _  m  B# `' {
  1810. ; http://php.net/mbstring.func-overload% n5 _2 B( ~* F8 G& ^3 w+ {$ M: H
  1811. ;mbstring.func_overload = 0
    # l" g- s1 t" w% P! L: \

  1812. 0 @2 w! ^# }# m" v& ^$ d" _
  1813. ; enable strict encoding detection.
    ( o) ]! a2 Q9 [) g) a' a) C
  1814. ; Default: Off
    ' X3 P6 r* a$ A9 m  ^5 J
  1815. ;mbstring.strict_detection = On/ V$ h0 S, s( {+ h
  1816. % g) s2 [7 ?9 z7 P$ @
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()( ]2 a  O5 L* O' R# z
  1818. ; is activated.
    9 ?! ]* Z8 b2 m8 [' S6 I4 Q) ~
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    # [2 q' F; ]4 N' g, a/ p
  1820. ;mbstring.http_output_conv_mimetype=6 F1 ^; v8 y& C( V  |8 k( z

  1821. 4 ^$ u& e1 g8 b( s4 Z" W
  1822. [gd]
    8 @2 H6 a* ^& s
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    0 a( C' M- c0 G$ P' N. a
  1824. ; a gd image. The warning will then be displayed as notices
    $ R) M! z8 ]: X2 b4 V) p
  1825. ; disabled by default- I6 o+ ^: h: i
  1826. ; http://php.net/gd.jpeg-ignore-warning
    # w/ b7 d; z, r; {' H
  1827. ;gd.jpeg_ignore_warning = 0
    + B- W; V8 K" Q/ c
  1828. ( S4 T% }& X% w* {
  1829. [exif]
    + z! o; K. \% R! b
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    - _; @- r3 l$ E8 m
  1831. ; With mbstring support this will automatically be converted into the encoding
    ) L- X# k9 Q6 e6 c
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    6 D, B% E) ]6 P: d* X
  1833. ; is used. For the decode settings you can distinguish between motorola and
    , [( ?, k$ t0 }
  1834. ; intel byte order. A decode setting cannot be empty.8 F) V2 {7 \  y! k/ O5 `# U
  1835. ; http://php.net/exif.encode-unicode7 r$ E5 }/ D1 M( q
  1836. ;exif.encode_unicode = ISO-8859-15
    : z( L6 S# O% `2 m+ }' N

  1837. / u6 I% s  g8 ]( W
  1838. ; http://php.net/exif.decode-unicode-motorola
    8 n2 ]; V2 c& g) w0 g; f
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    3 a" C/ m0 P0 c3 M' g

  1840. ' R5 i2 V/ @$ `$ Q% {: d; F: L$ z
  1841. ; http://php.net/exif.decode-unicode-intel2 c/ p' v( }3 [# H+ f$ F
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ' x; O( M$ U/ I7 v; ?% w! R

  1843. 0 @$ b7 k; w2 m# w+ s
  1844. ; http://php.net/exif.encode-jis' i6 e# G" r9 D; N; D% }
  1845. ;exif.encode_jis =
    ! I6 N0 x3 l7 A0 j$ i1 x3 n6 b

  1846. ; E( p' b4 f0 h6 c4 B9 p
  1847. ; http://php.net/exif.decode-jis-motorola
    1 x1 g7 \$ D! w/ c/ l. v
  1848. ;exif.decode_jis_motorola = JIS
    " F1 ]& q0 y8 `

  1849. & M: {# p7 r8 ?6 T% H9 ~
  1850. ; http://php.net/exif.decode-jis-intel! x  w* L; A- {
  1851. ;exif.decode_jis_intel    = JIS
    , Z9 D, v1 o( ]( B% \+ q$ C0 l
  1852. $ v3 [& [0 M  n2 S+ q% i( H7 E' X
  1853. [Tidy]
    + `, F( G, {5 ~8 L
  1854. ; The path to a default tidy configuration file to use when using tidy) R: T* l, D) s5 b9 A7 S( K6 Q% ?
  1855. ; http://php.net/tidy.default-config
    8 w( _1 t# ~* i( Y) o
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
      q# N, ?' L" `' c. H; h

  1857. ; b0 N: x; C+ q7 e1 p& e9 g0 C
  1858. ; Should tidy clean and repair output automatically?- Q# U( u- t: \, c
  1859. ; WARNING: Do not use this option if you are generating non-html content
    # k5 _7 e  n# B, @3 A: R% N. Z
  1860. ; such as dynamic images: z0 ?& {$ G" ?
  1861. ; http://php.net/tidy.clean-output
    2 T, K9 ^' b8 b" o5 x1 }  P
  1862. tidy.clean_output = Off
    % J3 B2 k+ X, W3 e4 K7 H

  1863. 0 M. Z2 m& |) v5 G
  1864. [soap]% E9 \& t% i! o- l! `$ v0 f
  1865. ; Enables or disables WSDL caching feature.- k) v! t$ |6 l8 J7 g! Y- ]
  1866. ; http://php.net/soap.wsdl-cache-enabled
    7 z+ T. g7 d& y3 A5 o1 d0 R8 P4 N1 e
  1867. soap.wsdl_cache_enabled=18 ]* Y2 ^- f5 k9 L+ s8 t

  1868. $ j. C/ X  G9 \+ {! z
  1869. ; Sets the directory name where SOAP extension will put cache files.: N  j# q7 c8 B+ j2 t( h
  1870. ; http://php.net/soap.wsdl-cache-dir
    ( |, y& Y/ q6 b$ H( `7 ?4 H
  1871. soap.wsdl_cache_dir="/tmp"& R5 u$ V# _: e( [. ?/ H5 K
  1872. " U( R% |, W3 Q3 w, o" x) ^
  1873. ; (time to live) Sets the number of second while cached file will be used6 p1 k$ q* k; o6 e( h) {: l1 v* J
  1874. ; instead of original one.
    ; m' `4 _& c" w* ~; S
  1875. ; http://php.net/soap.wsdl-cache-ttl
    7 {, D& v  u  }3 X
  1876. soap.wsdl_cache_ttl=864000 m/ K& k5 X' n5 Z

  1877. : u0 P& G# P- U& R1 r
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)" j" g4 A! n6 r
  1879. soap.wsdl_cache_limit = 5
    8 e* J3 v7 t, m; x
  1880. 6 [: S) y. X# n2 H7 F
  1881. [sysvshm]0 W8 S- d+ `  |- D5 g
  1882. ; A default size of the shared memory segment
    5 l$ O' R, D7 o+ {8 c5 J, u
  1883. ;sysvshm.init_mem = 10000
    , E" p; Q9 P1 L1 Y+ `
  1884. 2 G+ `) Q% y1 L
  1885. [ldap]" r. X7 M$ s8 W3 t' j) R- ]1 [
  1886. ; Sets the maximum number of open links or -1 for unlimited.* E3 O) }2 n" X* Q" N2 A* Z
  1887. ldap.max_links = -1
    / |$ a6 l* U: x3 @4 X- ~
  1888. 8 r) U/ J7 U% ~, b* r) P
  1889. [mcrypt]) ]* E  D. c% d; A- T
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open4 @0 ?8 l6 }% g$ Z' O& g) c

  1891. : L* B3 S4 u7 u8 i7 G
  1892. ; Directory where to load mcrypt algorithms3 Q: M( N( n$ I$ b( R
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)( n) p' Q1 [, e% d7 S# c5 o
  1894. ;mcrypt.algorithms_dir=& a" v  q' K% Y7 Q

  1895. % L+ E* u1 v: e* E% z$ w0 t
  1896. ; Directory where to load mcrypt modes
    ( h7 U! q. X& E# |  j8 T3 l
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)$ U! {+ Z+ D$ o( q' W- y; W. C
  1898. ;mcrypt.modes_dir=: o1 H( j/ L' M" E! l2 q# E0 U
  1899. 3 ~: q- I/ P% r- O/ i" o
  1900. [dba]3 S9 e% A) C& Q1 R5 l  D, U& t
  1901. ;dba.default_handler=. u. P2 Z( Q7 E; l

  1902. 1 D1 R: ~6 D4 V$ L  @+ K7 ?
  1903. [opcache]+ m1 N7 h' P8 t5 j" `
  1904. ; Determines if Zend OPCache is enabled
    : H  R9 z* m& R2 I
  1905. ;opcache.enable=0
      l% u$ s( D) s7 W; R, ]
  1906. : a0 \2 l& [( u+ k6 j. N% F9 ?
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP3 W- c! ?0 v# W  o1 r
  1908. ;opcache.enable_cli=0
    5 X% }4 r0 S3 M1 `6 l
  1909. ) d' I) m4 U% a, r! L" o6 `: K7 e) A
  1910. ; The OPcache shared memory storage size.! o4 T* G$ q' {) S
  1911. ;opcache.memory_consumption=64* d, P9 n0 c1 D+ d" W

  1912. - r5 w- ^- v2 E1 L. q
  1913. ; The amount of memory for interned strings in Mbytes.5 h: ^7 |8 P/ X
  1914. ;opcache.interned_strings_buffer=4# {( X( M7 y; F, m
  1915. 0 y4 ~- _$ p0 u
  1916. ; The maximum number of keys (scripts) in the OPcache hash table." [% w- b  l" A/ K
  1917. ; Only numbers between 200 and 100000 are allowed.; M2 G1 ]$ {4 b. q
  1918. ;opcache.max_accelerated_files=2000* R7 p8 l3 ?7 q& [, o3 L

  1919. " X9 i) ~+ O$ P- g: w& |  b4 x
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.; @; V7 |* s; `) i, P* `3 y
  1921. ;opcache.max_wasted_percentage=5
      Y1 f% I# v, ?2 u5 m" K

  1922. 3 u( p; }4 _( _% m
  1923. ; When this directive is enabled, the OPcache appends the current working
    9 r- r) c5 x1 Q" {4 y* V
  1924. ; directory to the script key, thus eliminating possible collisions between
    , W; ^. R1 _5 z( [- R* a; j
  1925. ; files with the same name (basename). Disabling the directive improves' o4 P6 p6 h" B& `
  1926. ; performance, but may break existing applications.
    0 |0 t* e. J* Y  z! m
  1927. ;opcache.use_cwd=11 j* q. H7 A* Z) `$ ~7 j

  1928. 2 F2 `5 e7 G+ `! o
  1929. ; When disabled, you must reset the OPcache manually or restart the
    # o& a/ g1 g( k1 h
  1930. ; webserver for changes to the filesystem to take effect./ k3 k( o7 P* o9 |! z2 `
  1931. ;opcache.validate_timestamps=13 h  C8 B, k4 Z  B& C0 n

  1932. " b' [/ C: B% _, X( z' m3 E3 \
  1933. ; How often (in seconds) to check file timestamps for changes to the shared5 M) e3 g- p: t2 q
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    / n7 X, L4 b7 p% c7 I. z. \
  1935. ; once per request. "0" means always validate)( Y. r4 {* s+ ~4 X
  1936. ;opcache.revalidate_freq=2
    1 G$ }8 N& g7 k. Q  o

  1937. . v$ d- w3 T: G( |% D
  1938. ; Enables or disables file search in include_path optimization
    : ^# z$ I' \/ i
  1939. ;opcache.revalidate_path=0
    3 H3 p* w/ q2 G4 }
  1940. 8 H9 A/ G% L* A4 r( F' N0 d) p4 O* ?
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    6 N7 w5 b6 |' w# a0 o- I1 h  o
  1942. ; size of the optimized code.- v" B  v2 j0 E  w0 }* `9 n
  1943. ;opcache.save_comments=1
    8 j. ~  v1 @. s* L+ z

  1944. : [0 i- b0 a' ]% `/ v' D# m2 J% H
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ( l# e8 t# o2 r# x/ x
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    $ V; A2 V5 u* O/ p! [- ?+ ^; _
  1947. ; that don't need them anyway.
    0 e3 w% d% o- y  J5 Z
  1948. ;opcache.load_comments=1
    - q1 I3 W4 M: R/ ^& J
  1949. & N/ v' E+ r8 h& h( D/ v/ ~
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
      M: g; x& D( C& _' E
  1951. ;opcache.fast_shutdown=0
    + e) V+ V! ]0 Z* a# a3 j% V2 H

  1952. 6 l" E9 q9 k5 b# [/ ?7 U) @( |8 L
  1953. ; Allow file existence override (file_exists, etc.) performance feature.* u5 L- J4 H/ R* g5 {% C! `; Q
  1954. ;opcache.enable_file_override=0
    & }$ }1 g: M. t* O

  1955. 1 e. M5 m& D/ n4 f
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache$ P8 {+ R2 @8 o6 G
  1957. ; passes
    , C- S, ~% s2 h+ H. @& k- n
  1958. ;opcache.optimization_level=0xffffffff
    - ~# H' D( C- g: V0 a
  1959. 1 a; E" z/ I4 X4 l1 B, f
  1960. ;opcache.inherited_hack=1
    * c+ E, |5 \: k
  1961. ;opcache.dups_fix=0
    4 p/ ?8 [8 z9 m$ h, d  j

  1962. 6 M! X( d% x/ Y+ v
  1963. ; The location of the OPcache blacklist file (wildcards allowed).6 \9 S  D8 [/ t
  1964. ; Each OPcache blacklist file is a text file that holds the names of files+ W% p- [+ R0 {3 I
  1965. ; that should not be accelerated. The file format is to add each filename* R: J$ J2 |) B0 `
  1966. ; to a new line. The filename may be a full path or just a file prefix
    1 z2 M0 u$ \1 r1 t. o& j: a, Y
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www2 x, c& ^0 ~+ \
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    2 ~, W: G; y0 i- N  k/ U* _  X
  1969. ;opcache.blacklist_filename=; A% M$ {7 Q( r. T

  1970. 6 G  q: f  U, R3 z" U2 K; j
  1971. ; Allows exclusion of large files from being cached. By default all files) N$ K) H. h% J  L0 ]* ^1 R0 s
  1972. ; are cached.) @  ?* |2 z, j& q+ H# ?
  1973. ;opcache.max_file_size=0; u2 S/ Y/ ], Q' w9 h9 ~
  1974. 1 |+ d+ q6 O  w  R+ l3 a& J
  1975. ; Check the cache checksum each N requests.- J8 `. _: N6 }* q; y" m1 k+ n
  1976. ; The default value of "0" means that the checks are disabled., E. ~% U/ c9 \* z5 ^
  1977. ;opcache.consistency_checks=0
      h1 `) I3 g& \) o# F# E# f# H

  1978. ; E# v6 {; v4 @% i% C/ l
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache$ l/ f$ }2 [7 d2 ^6 H6 _# f
  1980. ; is not being accessed.
    & X. m, @6 o, q- d4 @& k4 y6 O6 N
  1981. ;opcache.force_restart_timeout=180
    1 `" [" `; _, I0 I! x

  1982. ; {) N& k$ ]. R2 T
  1983. ; OPcache error_log file name. Empty string assumes "stderr"." S3 V& ]" ~$ S7 R0 ^% N7 d! P" E
  1984. ;opcache.error_log=
    2 V% C$ V9 _$ B# ~) c, E  U
  1985. 8 I- k$ I9 }2 L7 d7 J% U! Q
  1986. ; All OPcache errors go to the Web server log.
    ! P3 C, Y* l7 V2 O( p+ a
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    9 g# i& M$ G. V9 T
  1988. ; You can also enable warnings (level 2), info messages (level 3) or; h# J/ }$ g2 l4 C
  1989. ; debug messages (level 4).
    9 k; ]) b# x- E4 `1 a, C# p6 V
  1990. ;opcache.log_verbosity_level=13 s( E$ s* `+ @& x5 m; W+ v
  1991. / U" v7 r* |3 o/ U
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.- K2 ?9 h8 H+ e. D4 i+ e
  1993. ;opcache.preferred_memory_model=0 y0 H: t; I8 R4 Q' m" m  j
  1994. - Z: F6 ~1 G6 k, P1 D* G/ e( y
  1995. ; Protect the shared memory from unexpected writing during script execution.
    1 Z" R! Z" u& R  X9 |; u3 p" G
  1996. ; Useful for internal debugging only.0 w* a0 d+ N* w% C/ @3 ?8 {) g
  1997. ;opcache.protect_memory=0
    ! k9 z4 V1 F) W7 j
  1998. ) P) ^7 l& c0 D  `3 a- `) f
  1999. ; Validate cached file permissions.
    ; c& F# I9 T& G8 g6 H2 H
  2000. ; opcache.validate_permission=0
    / y1 D  c$ \2 z1 E; z4 x; W

  2001. ! c1 Z! h% u6 M1 V
  2002. ; Prevent name collisions in chroot'ed environment.+ }) g. Q2 x. p2 y5 D
  2003. ; opcache.validate_root=0
      W% F+ A5 o/ Q' R, Z+ d! R. t; @: Z

  2004. 5 a( J( q9 U3 b9 Q" @' a( v
  2005. [curl]
    8 g# l& c4 f6 D* G" t
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    * t1 M6 u: z" N4 d# c- i
  2007. ; absolute path.
    ) d2 G8 g+ h! h5 W+ F$ D
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ; k# H9 _  A1 q
  2009.   N8 o1 W; k$ X6 E
  2010. [openssl]
    ) [# a6 [6 a$ O+ D1 J: U
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    7 U; }& r" k6 b+ f5 T1 {. E3 Q* P
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    $ q+ O; }5 v! @, z
  2013. ; not specify a value for this directive as PHP will attempt to use the
    7 z7 b7 Z# m$ z
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ! D2 {8 w6 u# _' U2 ~' D  W8 G
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
      g. B& `1 \8 _! I' j  E% Q
  2016. ; option.- l" {! \; h6 w" Q
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    3 `4 C) r. t8 r7 P

  2018. 0 G! c- a* x. Y" q- l
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    % T: ]( ]7 v' ?0 T- A
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    7 [( A+ t9 n1 j+ J
  2021. ; certificate. This value must be a correctly hashed certificate directory.  `; n+ `: p. [  T5 b" J+ w
  2022. ; Most users should not specify a value for this directive as PHP will. W# s$ T% y8 O: v* a
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    5 Q/ d& c& {/ a, ?
  2024. ; this value may still be overridden on a per-stream basis via the "capath"4 j# G  q- z- A( z/ S, N
  2025. ; SSL stream context option.
    : ^3 n# O6 i5 X
  2026. ;openssl.capath=! f- e! [  T; C+ W! C* P6 l
  2027. . ~& t) I. {$ E7 u1 e* h
  2028. ; Local Variables:7 B# z0 T5 |8 I& i% a4 D! n) X0 W
  2029. ; tab-width: 4/ a4 c  k$ b; L7 ^
  2030. ; End:0 j/ i3 a" U) n

  2031. 8 o' V7 _: D' _* T) h
  2032. ;eaccelerator
    $ ]& r% S5 A) j, v  h0 q4 ]$ V+ v- r# F

  2033. 1 q7 I6 N7 {2 O" u) z+ b
  2034. ;ionCube
    % ^9 l, |9 l' P" v& i
  2035. ! `1 t7 G4 o+ o4 `: z7 Y, N1 s  C
  2036. ;opcache8 C- `/ R( G) n$ q

  2037.   n0 z+ p! |9 I' Q5 C
  2038. [Zend ZendGuard Loader]8 e9 R% b) l$ g- a. B
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    7 D8 F3 O$ X. A8 V  Y
  2040. zend_loader.enable=1: N  S0 k( c# \4 x
  2041. zend_loader.disable_licensing=0
    7 p# ]% P1 f. G& @
  2042. zend_loader.obfuscation_level_support=3
    7 v* |, V. X/ V) U4 _( s! l
  2043. zend_loader.license_path=( R6 X. }2 G* d: n: Q+ C

  2044. ) u  H% A4 x! ]
  2045. ;xcache
    " k, K& w3 A& O# G: @* Z: e

  2046. / w; f. Y3 x+ ?, f3 [
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146922 x8 |! u) k! j9 h) S1 q2 o9 c
1 U) X  Z& `+ R$ c! l2 {. B" {

2 C8 }: o. S( _% rDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
4 ?1 [- ^, D, h- X/ _+ p0 ~  C, b& z$ ^# [3 Z
Discuz!程序版本选择:
- \# z  s( F* S- x' l. h站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
) s. K( k9 P" c不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
7 z1 b# [* x' ^2 [/ z/ p  E* aDiscuz!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。
- o. J* O8 l: g" x) M
" X; @4 d6 V3 bDiscuz!插件模板版本选择:+ d/ ~! c% K! F
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,& R6 Z2 r& o% c" B
针对这个问题做个统一的普及:
: c/ [. T1 d2 `& L' Z; {! \X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。" s: x: f" P1 j# V8 O: M

5 o2 c, Q9 d8 }, a3 V+ i所以
( P* N9 o  Z9 _3 t, j适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
8 K4 A- M7 j4 g- G2 C打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。" y, g" s; X5 W+ a- e
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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