分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.05 ^  e3 u) |- C# w

+ @5 w/ B7 g# W2 P# y& {
  1. [PHP]
    0 ]1 E0 s! W2 i" l9 x5 i0 ^/ q+ L
  2. # e/ `5 N. T3 Q' C% u% S! M, T
  3. ;;;;;;;;;;;;;;;;;;;
    , d) u- X: z  v* I
  4. ; About php.ini   ;
    ! ~; D! B) |% e$ w+ \
  5. ;;;;;;;;;;;;;;;;;;;
    , a& T. d& }% X, w7 H1 a
  6. ; PHP's initialization file, generally called php.ini, is responsible for  U9 g! s) V# B/ f- D
  7. ; configuring many of the aspects of PHP's behavior.
    # r. Y% E% L( @  w& d2 n. q# y
  8. / E7 L$ V5 m1 I9 P( `
  9. ; PHP attempts to find and load this configuration from a number of locations.( W/ q* c3 ~  D, @( n. t
  10. ; The following is a summary of its search order:
    ) a4 G+ K& l" @8 O2 Y/ W! b
  11. ; 1. SAPI module specific location./ H: `! v0 s! u& ]
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)+ i8 h% c3 H: m; G9 x
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ! [- O# k/ t9 l! v7 Z
  14. ; 4. Current working directory (except CLI)1 s) k  T# h$ B6 ?
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ! O3 Q% j& Y- n* m
  16. ; (otherwise in Windows)/ v. t1 J) _3 ]  {( _% G
  17. ; 6. The directory from the --with-config-file-path compile time option, or the' p( r8 A1 s% t- o2 `. Z3 n
  18. ; Windows directory (C:\windows or C:\winnt)* E+ `6 @; z% M; @* V2 p$ y
  19. ; See the PHP docs for more specific information.. G/ e; U1 n, R) o& i6 R7 J
  20. ; http://php.net/configuration.file
    9 B/ U4 k1 |: `/ }* W

  21. ! S/ Q7 D  I+ i. s3 k  y
  22. ; The syntax of the file is extremely simple.  Whitespace and lines4 O! B/ U6 C9 ~
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).0 W) d: i7 Y; U' ^/ f# x( g' L
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    * R3 B: w9 o7 O
  25. ; they might mean something in the future.
    ; U* K  W0 U4 g: G9 R$ @! k

  26. 1 \; L4 R8 v+ m  e. z* c# i
  27. ; Directives following the section heading [PATH=/www/mysite] only& j$ G4 ^. k  d1 i5 K* h
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    / P( U  A, s. u% S) @& t/ Q' g0 i
  29. ; following the section heading [HOST=www.example.com] only apply to
    6 e5 @' D+ L8 F
  30. ; PHP files served from www.example.com.  Directives set in these% z  f3 y3 J- K! \% N0 f
  31. ; special sections cannot be overridden by user-defined INI files or. E. T2 q$ p1 V. `# g8 }
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under9 {# q8 M) y+ o4 i
  33. ; CGI/FastCGI.
    7 [8 W% |/ h8 E
  34. ; http://php.net/ini.sections
    0 }/ S' U' D# W( {6 [. a: M" Y& M

  35. 6 l; i9 n  y! ]# e8 \) E: [
  36. ; Directives are specified using the following syntax:
    , N. d) H6 n* p8 r; a/ d, ^
  37. ; directive = value; F9 {" U& ?' ]4 n/ G5 [! A
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    $ R4 x% C. s. _
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ' r+ m: @) x. r
  40. ; There is no name validation.  If PHP can't find an expected$ x# Q/ M/ ~3 d: j# M1 {3 J
  41. ; directive because it is not set or is mistyped, a default value will be used.! N; {8 E2 z# [

  42. - ^1 a& B0 ~+ u8 P# r: ^2 G
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one" |" Y5 C0 Q- ^* B2 P6 l
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression" G; A6 _5 s' D! L( u+ s
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a. `% x3 r1 [% _( r: Q  B
  46. ; previously set variable or directive (e.g. ${foo})
    ! _* t! ]0 N3 Q4 e: P. V+ `+ s* b
  47. * j( _. e9 |8 r/ }! S+ b0 ]% e# s
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:, P0 K( f; v7 x7 Y$ C7 @/ ^& p/ g
  49. ; |  bitwise OR
    % S$ h. G; z+ r; U
  50. ; ^  bitwise XOR
    8 ^5 Q0 J. F+ L" i
  51. ; &  bitwise AND+ m' c& |. m) |4 e
  52. ; ~  bitwise NOT
    $ i8 j. O5 `2 f1 x
  53. ; !  boolean NOT
    1 Z/ H; D9 p8 G( L7 v& A

  54. : Z5 P0 D4 F* u: `4 \7 j, Z
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.& y+ s; j. X7 l% S2 B" n; b
  56. ; They can be turned off using the values 0, Off, False or No.
    . e: r2 Z( E% a% o
  57. + j6 A1 S! x/ Y9 f/ x
  58. ; An empty string can be denoted by simply not writing anything after the equal
    $ Y* K; q9 k# x! y6 q1 g
  59. ; sign, or by using the None keyword:
    ! M4 P5 Z! Z; B8 v9 o7 B
  60. * S: e$ L2 d* q" y# c+ \% |0 l8 H
  61. ;  foo =         ; sets foo to an empty string" X1 `, [2 o9 h0 A' _
  62. ;  foo = None    ; sets foo to an empty string
    : g( \) `2 r- r0 ~
  63. ;  foo = "None"  ; sets foo to the string 'None'
    % i( X( ?% |' C3 O+ e+ E0 F# R# `; r

  64. 3 V6 [  f) V# |" L
  65. ; If you use constants in your value, and these constants belong to a( \) K: U- k; E
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),' }& C7 y0 c$ |9 ^
  67. ; you may only use these constants *after* the line that loads the extension.
    ; u0 L( v! o1 A6 z2 ~* W+ w# `

  68. , Q6 H$ Z4 z* E  _: h- y
  69. ;;;;;;;;;;;;;;;;;;;
    ' ^% n: j: u5 G. v- T8 \: `* g
  70. ; About this file ;
    . X) r6 g+ Z5 p/ g, J0 N
  71. ;;;;;;;;;;;;;;;;;;;0 K' c% Q3 q2 Y1 `  W1 t: N
  72. ; PHP comes packaged with two INI files. One that is recommended to be used! [6 k) ?" y2 {$ d
  73. ; in production environments and one that is recommended to be used in
    1 u2 B9 O# E+ T& A* ^" y
  74. ; development environments.
    ; T$ ]7 t1 j" a. Q8 ^

  75. 1 p: f  A' j. Z  s+ I5 S3 {
  76. ; php.ini-production contains settings which hold security, performance and6 O0 c% x* C2 b- Q4 s( l- ~: f
  77. ; best practices at its core. But please be aware, these settings may break- N7 y% f' F. L7 l
  78. ; compatibility with older or less security conscience applications. We- _0 ]: b4 X% _6 a! {1 i# _7 _
  79. ; recommending using the production ini in production and testing environments.
    % n  T! V- ]" _, e6 B1 y

  80. $ Q( F7 y( u" L1 W9 [
  81. ; php.ini-development is very similar to its production variant, except it is6 L/ A; ?/ w/ O
  82. ; much more verbose when it comes to errors. We recommend using the3 N9 K% V* v8 J7 T/ Y. @+ G
  83. ; development version only in development environments, as errors shown to! o3 k8 h  ?, v: |2 D6 h
  84. ; application users can inadvertently leak otherwise secure information.
    4 b% x, ]- p( T. y
  85.   o/ j6 `9 J; _/ W& e; A% ?
  86. ; This is php.ini-production INI file.
    1 k, S5 v! H! a$ C5 p# C2 F- V( u
  87. , a9 c$ a# e* i, h9 c
  88. ;;;;;;;;;;;;;;;;;;;
    5 W* O9 E- P9 B9 ^$ I
  89. ; Quick Reference ;8 }2 V& n" @1 \6 y; n& W' d# r
  90. ;;;;;;;;;;;;;;;;;;;: B  F- i. \: Z. I
  91. ; The following are all the settings which are different in either the production, ~8 Q% H$ R2 I3 W/ J
  92. ; or development versions of the INIs with respect to PHP's default behavior.# f- B0 e2 z) v. g! J3 M
  93. ; Please see the actual settings later in the document for more details as to why
    - C+ t1 R2 J/ D  u' t, `& ^
  94. ; we recommend these changes in PHP's behavior.
    + ?1 {' \& a5 a. d

  95. - p+ l/ S- T. e: g( a  o
  96. ; display_errors
    ' D, D! t% m* w% f
  97. ;   Default Value: On# _2 D$ B. k4 V$ A& N4 @# o
  98. ;   Development Value: On
    ; Y5 p# s. k) e: Y' y3 `  u  k. B
  99. ;   Production Value: Off
    ( d/ f! V+ r. t" f& j' M

  100. % k9 L: C2 I2 F9 n; g7 V; I% v- f
  101. ; display_startup_errors* {8 A  c1 Q. H+ j8 I7 b
  102. ;   Default Value: Off6 x+ q1 A; ^0 \9 F- U5 I
  103. ;   Development Value: On
    - A. D" W% K" e" m$ E
  104. ;   Production Value: Off
    ( Z) L  f+ o9 x5 x7 H

  105. 3 ]' ~7 m+ M1 n) W: v
  106. ; error_reporting  G5 h5 @( O# B9 z' a
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    6 Y# v3 P; h1 I3 R
  108. ;   Development Value: E_ALL
    : W* x$ D; E# J8 C$ ?, }
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT; w( i& ~9 N0 L
  110. 6 W( h9 a7 u/ H4 t
  111. ; html_errors
    - H- T2 s8 S0 e6 `1 }
  112. ;   Default Value: On* p. `0 }: P* \7 s: P
  113. ;   Development Value: On* f6 F- g% {: v  y
  114. ;   Production value: On
    / {+ @. u! \# o6 p# I1 }2 a# n& b
  115. , N  p' [0 N- @; S5 B
  116. ; log_errors- L! ^% n0 j. ]* C
  117. ;   Default Value: Off
    0 T* A' H* ]3 P9 g3 @! u
  118. ;   Development Value: On: ]6 R$ @/ c7 `" G" s* P
  119. ;   Production Value: On4 u! h- v3 |  \2 K' v+ v
  120. ' J+ [* S! @; g7 B0 }
  121. ; max_input_time4 d# b, r- r' T* F! o* e
  122. ;   Default Value: -1 (Unlimited)
    / T4 k5 y" ]+ f' Y, o& u
  123. ;   Development Value: 60 (60 seconds)0 @' u' z0 e( B( Q; Z; R' V6 e
  124. ;   Production Value: 60 (60 seconds)
    : [& m% Y) T) r4 `, Y

  125. ' o# I/ Q8 E0 Y. V6 `4 ]
  126. ; output_buffering
    " W2 B2 K5 s7 c
  127. ;   Default Value: Off
    / ]( R6 F4 ]2 W$ V8 D
  128. ;   Development Value: 4096
    0 r2 Z2 G" y. V# h- x, ?9 K
  129. ;   Production Value: 4096
    : i& F& X7 N% B. |0 k
  130. 9 X. s+ X( }1 h7 j& u
  131. ; register_argc_argv
    " n, m" V3 x( M& k" k
  132. ;   Default Value: On- m9 ^! m. o& ]" N4 O4 J, [
  133. ;   Development Value: Off
    ' a8 ^; N2 ~2 z4 e5 o1 N9 q  L
  134. ;   Production Value: Off
    1 y# C! T" ]  `
  135.   z( c; H. R- X' Y$ w+ s
  136. ; request_order
    $ A5 q# L7 W! J; b- r) ]
  137. ;   Default Value: None2 y: G7 ^( k, N! p3 }2 N! i/ M
  138. ;   Development Value: "GP"
    + n( i9 H! a) ?7 H
  139. ;   Production Value: "GP"+ R& Y: [- A" Y1 p2 u2 J5 f
  140.   R# H% e% X9 m, u, v* Y- x8 R
  141. ; session.gc_divisor; C; R* w; ]6 U$ u6 ?  t" U  f6 N
  142. ;   Default Value: 100
    % [/ y* Z3 x: j5 @
  143. ;   Development Value: 1000- j! F% |8 s; H4 f5 ]- r: u
  144. ;   Production Value: 1000
    2 ~# ?. y: }. j; ?- l7 Q
  145. 1 z0 [0 V+ i8 i* c6 y% R
  146. ; session.hash_bits_per_character
    9 T' Y) T8 o8 w, L1 b3 F
  147. ;   Default Value: 4
    ( P& H7 y/ B+ G. j- c8 n( s2 c
  148. ;   Development Value: 5: l* a* p0 b2 \4 X" g8 z
  149. ;   Production Value: 5
    1 U. F9 u& R- p) D6 y
  150. , y. i, [. A! ?* r4 d
  151. ; short_open_tag  R5 e# }/ c6 m* _4 N
  152. ;   Default Value: On: X; d$ s4 ]) ^. P/ L. ^8 Z, x
  153. ;   Development Value: Off
    ' d5 \' U1 o6 V  G1 I* H4 @: V5 W  V
  154. ;   Production Value: Off: Y/ t. y- Z6 n& o3 B5 \

  155. , B% P" S4 A$ C0 x3 s/ o
  156. ; track_errors
      I. ~. c5 c0 |7 [; X/ c
  157. ;   Default Value: Off0 l& o1 \5 O9 \# l5 q
  158. ;   Development Value: On
    . z$ y: t+ I% P& h( t* r6 t
  159. ;   Production Value: Off- D1 O, |$ ?2 F, @, g

  160. . O: q* c0 I( x( p3 C/ {2 T
  161. ; url_rewriter.tags
    # _% q, ~; ^- S6 R1 y
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    & a; J" a) G2 _9 S/ x+ s
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) e) P- }9 h! l$ C3 T' b) ^
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; [% q, K9 x! W/ |

  165. ) ~: W: ~; ]( z& W
  166. ; variables_order: E" w. ]3 q, q/ M
  167. ;   Default Value: "EGPCS"# t4 W- D- E. n7 a+ U% r
  168. ;   Development Value: "GPCS"
    ) u* {* l8 V* n
  169. ;   Production Value: "GPCS"
    # P' ^% N$ R' `; f

  170. / ^7 j3 X1 s2 M9 A9 N; `. i: u9 P4 l4 T  q
  171. ;;;;;;;;;;;;;;;;;;;;
    1 T8 l) A# }% A7 J! d2 m. _6 U$ w
  172. ; php.ini Options  ;9 L; Q3 W3 ^4 V2 o0 z: c4 [
  173. ;;;;;;;;;;;;;;;;;;;;
    ) _& F. ?& D) Y5 c0 e% P0 D
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini". g, Q: W7 G8 ]: H9 c9 p
  175. ;user_ini.filename = ".user.ini"
    / {  b4 ^8 o$ q+ }0 f% |4 K& f
  176.   _- f$ L0 ^/ u( ~# u& P/ U9 v
  177. ; To disable this feature set this option to empty value
      L- Z* R* f$ ^
  178. ;user_ini.filename =
    ) H4 _  ]0 V" H- O

  179. - u# I; i# D" \6 V% t: a
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)2 n+ ^& g# c1 ?
  181. ;user_ini.cache_ttl = 3009 t2 }5 j- ~+ |: }) ^* _

  182. # }  L" o0 p( u- K- g# C
  183. ;;;;;;;;;;;;;;;;;;;;1 p8 ?: a* n8 {  E- M  q& B3 n
  184. ; Language Options ;0 ^* K8 ^: Q( o9 \1 c
  185. ;;;;;;;;;;;;;;;;;;;;, D$ n$ B( s' Y1 O7 T! f

  186. : d. `4 a' W$ f; Y
  187. ; Enable the PHP scripting language engine under Apache.
    , B3 A- w$ B/ H9 o$ C
  188. ; http://php.net/engine( V' k, z* M) y& m2 @' G2 F, y
  189. engine = On" w9 W" |2 H8 C& n- M

  190. - s8 P9 X+ j( [# M( z
  191. ; This directive determines whether or not PHP will recognize code between( |6 q& L' d: I1 Y  f5 ?
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    % J0 j7 p3 ]# m7 D3 d5 Y
  193. ; generally recommended that <?php and ?> should be used and that this feature
      c$ Q( H' {/ ^  R$ R" h# X5 i' ^
  194. ; should be disabled, as enabling it may result in issues when generating XML* n8 s* @; E2 n3 T# V
  195. ; documents, however this remains supported for backward compatibility reasons.9 W5 I: g+ j. }. n' Q6 A
  196. ; Note that this directive does not control the <?= shorthand tag, which can be! ~% [% Z5 J5 }6 n# m$ t3 T
  197. ; used regardless of this directive.
    7 Y5 f$ Z* c0 ~, N
  198. ; Default Value: On$ ~. B! p9 }+ I- ~
  199. ; Development Value: Off( o/ z- m4 t( B5 i! N
  200. ; Production Value: Off
    % T6 @* H1 `& N: `5 H
  201. ; http://php.net/short-open-tag) u: x+ N3 V: h; \
  202. short_open_tag = On
    5 o$ ?1 _& n1 g8 c( F! D( T
  203. $ s; N& [7 |" f9 G/ q
  204. ; The number of significant digits displayed in floating point numbers., y9 h& s" F9 ~
  205. ; http://php.net/precision3 c" {7 n) m, J3 e; J
  206. precision = 14
    . ~# r* K$ Y0 z1 Y6 f5 O( f
  207. 1 v: r) ]# ]# \  n. O
  208. ; Output buffering is a mechanism for controlling how much output data; [7 B& ]2 i' ]7 a
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    3 Y  r( {* ]& g& u# ~9 Z' \- B" h# i
  210. ; data to the client. If your application's output exceeds this setting, PHP! H# b. Q$ o) p' A: b/ x4 i# c
  211. ; will send that data in chunks of roughly the size you specify.
    8 w2 A$ [. Z0 R0 t5 {  V
  212. ; Turning on this setting and managing its maximum buffer size can yield some
      h) z, T8 y4 f& X, z
  213. ; interesting side-effects depending on your application and web server.7 l9 J9 g" q6 P% V
  214. ; You may be able to send headers and cookies after you've already sent output
    ) L" O7 E. u8 Q! ~( l
  215. ; through print or echo. You also may see performance benefits if your server is
    " I9 I* W6 t0 N# m/ z5 g
  216. ; emitting less packets due to buffered output versus PHP streaming the output& t/ G3 p+ w- X+ T3 e- A1 Z
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance, D# L; w2 `: i, F7 q8 T
  218. ; reasons.8 ?# H5 m- x- d( d4 n- J8 `
  219. ; Note: Output buffering can also be controlled via Output Buffering Control3 [, U/ m  e  W. n
  220. ;   functions.  [, _; n, Z- M7 g
  221. ; Possible Values:$ ^) q2 @1 ?6 j0 h1 _9 Z; q9 u
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)$ L' @. F9 m& i- }! S( _
  223. ;   Off = Disabled
    . W( K( k3 [7 J! r* D- W3 z+ f0 S
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ; F6 k8 L" z  @8 x( {$ i
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    . {0 @/ x! k  l3 ]( i5 r
  226. ; Default Value: Off' T- W! {5 B1 B: Z& n0 g* k
  227. ; Development Value: 40963 T7 b: B& I9 c# D: E, B# n
  228. ; Production Value: 40961 n7 Q0 q2 N. K8 }8 g" |1 b& v
  229. ; http://php.net/output-buffering$ s8 k& U/ D. f  @/ h. [
  230. output_buffering = 40968 b, K7 t* M" h( u: A6 M
  231. 1 {* w: W$ E! q! I# p0 }# p
  232. ; You can redirect all of the output of your scripts to a function.  For
    8 w. k* k1 J: @- X. x* r
  233. ; example, if you set output_handler to "mb_output_handler", character0 x$ c  q5 o7 x
  234. ; encoding will be transparently converted to the specified encoding.
    * |0 q2 L1 w: d" k1 g- N
  235. ; Setting any output handler automatically turns on output buffering." O$ {3 j9 v3 s2 U# ?, i
  236. ; Note: People who wrote portable scripts should not depend on this ini& v1 `8 \6 t# b% }, P' S2 ~
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    : }7 I' R" J! Y# q7 `3 ^: A
  238. ;   Using this ini directive may cause problems unless you know what script+ S1 T# b1 r5 C: k4 B
  239. ;   is doing.
    6 F* Q5 x( U2 t9 H
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    * @7 {* d; X- W9 ~# q7 O7 |' P: N; X
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".- F3 e+ I1 M- {* @$ _9 y4 `
  242. ; Note: output_handler must be empty if this is set 'On' !!!!; h$ _+ O" K  k8 k# B2 s8 Y
  243. ;   Instead you must use zlib.output_handler." u0 A: {# g3 [3 z# |' l2 M; u! x
  244. ; http://php.net/output-handler8 H. v1 C6 f1 Y) P: l8 z$ \' \
  245. ;output_handler =4 R: }0 V6 \7 y2 N( h
  246. & c2 J( c6 Q7 H& C$ h0 M$ v4 l
  247. ; Transparent output compression using the zlib library: c" C& C: `+ p  p( S9 R! {
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size) q' o0 a) |, `( z: r; Z8 F- t
  249. ; to be used for compression (default is 4KB)
    2 r- O, l  s. k- p, e+ y
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP: A- r9 d; ~3 o' Z
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    6 |& }% x5 X; F5 L- p8 V6 }1 A
  252. ;   compression. If you prefer a larger chunk size for better
    ) F$ [. p9 J9 M2 T1 S
  253. ;   performance, enable output_buffering in addition.
    ) d0 L) r  h! l
  254. ; Note: You need to use zlib.output_handler instead of the standard
    + I# p4 m( s/ L" w+ A) m
  255. ;   output_handler, or otherwise the output will be corrupted.* F' W$ P) M" o/ F" ?. x! U
  256. ; http://php.net/zlib.output-compression8 l( M5 }& q  ]0 B$ v
  257. zlib.output_compression = Off
    4 Z! e" u0 k1 m# L/ @4 y% f# G

  258. . t! J0 I" {* t$ y. N/ K4 \0 g
  259. ; http://php.net/zlib.output-compression-level5 v+ l# H4 b! {% |$ o) E
  260. ;zlib.output_compression_level = -1
    # Y- l9 Y! X( e& w& d" z
  261. ! S; m0 i% S0 E$ Q( J- m
  262. ; You cannot specify additional output handlers if zlib.output_compression. R! ]6 e# {+ S& j) y. ]" `
  263. ; is activated here. This setting does the same as output_handler but in9 y* r; @! `8 m
  264. ; a different order.
      ]1 |! }0 {# _( s& L/ ]
  265. ; http://php.net/zlib.output-handler
    ) v. z& _8 M4 D( q0 c
  266. ;zlib.output_handler =+ Z" b- d9 t0 ?1 F" o) b! W$ L
  267. 6 I1 D, Q8 G* M; {2 A0 Y3 ^! w4 V
  268. ; Implicit flush tells PHP to tell the output layer to flush itself: V0 T1 ?( w; l
  269. ; automatically after every output block.  This is equivalent to calling the
    ) H8 f2 Y" \% p8 G, A6 C9 R3 m
  270. ; PHP function flush() after each and every call to print() or echo() and each) t2 |  r5 Y4 R
  271. ; and every HTML block.  Turning this option on has serious performance
    ! F' G6 R: b" w7 T5 m
  272. ; implications and is generally recommended for debugging purposes only.; [* `2 H4 _/ _) S' Y( I* I5 |
  273. ; http://php.net/implicit-flush
    ( a5 f4 _1 ^1 W
  274. ; Note: This directive is hardcoded to On for the CLI SAPI4 d* H3 q1 p) B1 K6 {$ k7 d/ ~& ?7 W% f
  275. implicit_flush = Off
    5 C5 T% f- n. h* g

  276. 3 B5 Z+ M! E4 d
  277. ; The unserialize callback function will be called (with the undefined class'
    $ M, X* Q, r% {! R
  278. ; name as parameter), if the unserializer finds an undefined class0 P( H2 C! I% @# l4 W
  279. ; which should be instantiated. A warning appears if the specified function is9 }. o: q" L: N2 s% D1 }, o9 e
  280. ; not defined, or if the function doesn't include/implement the missing class.. e( l7 t- B4 O( a8 O' C) B4 M* t! r8 q
  281. ; So only set this entry, if you really want to implement such a
    4 w3 m* H9 D8 X  Z) w1 A
  282. ; callback-function.
    ! W9 ]+ Y# @) ^! x2 v! E3 z
  283. unserialize_callback_func =+ z! X  x/ C. j

  284. / H+ M) }" ~- c; q3 N9 j
  285. ; When floats & doubles are serialized store serialize_precision significant
    % f* h3 e9 t& F; p2 H# v
  286. ; digits after the floating point. The default value ensures that when floats
    1 `' K# q4 r5 ~: m7 d3 G
  287. ; are decoded with unserialize, the data will remain the same.4 _  V# A$ `- \: W  ^
  288. serialize_precision = 17& Y* H2 h5 w/ A' [, n
  289. , T, i" F# O6 @* n
  290. ; open_basedir, if set, limits all file operations to the defined directory
    % e( P8 i# X0 y/ L
  291. ; and below.  This directive makes most sense if used in a per-directory. [7 G; O/ X6 Y. I% F
  292. ; or per-virtualhost web server configuration file.% B! l6 i0 G2 q# {  ], P( |
  293. ; http://php.net/open-basedir
    3 C: j8 U4 |+ E
  294. ;open_basedir =
      x2 i* {& i* T* a5 a& x: G9 F* P

  295. # f& }9 p2 ]2 }
  296. ; This directive allows you to disable certain functions for security reasons.
    6 u+ Y2 G5 N1 C+ j+ C
  297. ; It receives a comma-delimited list of function names.
    : V4 b, r# \' W% ]' V$ u' |
  298. ; http://php.net/disable-functions
    8 d5 u$ t# r  ^4 }
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru0 r7 p( j1 D$ V
  300. $ E( ?( L7 m, z( d0 ^7 m( V1 @3 h' T
  301. ; This directive allows you to disable certain classes for security reasons.+ T2 W( W* Q7 c/ l
  302. ; It receives a comma-delimited list of class names.. V/ Z  d, F7 d, F# ?+ ?0 Y
  303. ; http://php.net/disable-classes% N) D+ s! @2 Y: O# T3 n! c
  304. disable_classes =
    3 m' n2 d5 y0 {) ^8 L

  305. 3 U# S. _% h3 _2 z) F: H
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in0 {* J9 _6 J3 c2 C4 ~
  307. ; <span style="color: ???????"> would work.4 ~8 G4 s+ j6 ]. F; F& u* X3 v
  308. ; http://php.net/syntax-highlighting
    ! e  X8 [9 c; m) h  Q$ k- ?9 _
  309. ;highlight.string  = #DD00008 N8 r+ A. B" b4 {" g1 }( P  w, r
  310. ;highlight.comment = #FF9900
    " w- k  {3 ^* T. V) `# ^: d$ Y6 W
  311. ;highlight.keyword = #007700; y7 U3 Y& x8 w7 P
  312. ;highlight.default = #0000BB
    4 P- y, x5 ?( ^4 i5 q! ]
  313. ;highlight.html    = #000000
      u+ H5 d4 u, q. g; s1 |0 d

  314. ! i* }! v: K2 F% }+ D0 e9 v3 U# h4 D
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    5 N) S- L' l3 W
  316. ; the request. Consider enabling it if executing long requests, which may end up* Y4 s$ e5 D: f7 u: t9 T2 G2 e  T
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior# `. g* M4 \' a- i; U) w
  318. ; is to disable this feature.0 [2 N; x7 {6 m3 S( @' c- X
  319. ; http://php.net/ignore-user-abort) u2 v+ I; Y/ n( v4 z& ^) F  c
  320. ;ignore_user_abort = On1 v+ X1 A" x7 W

  321. 5 P7 ~8 e. G* e4 [8 x6 y( Q
  322. ; Determines the size of the realpath cache to be used by PHP. This value should) G7 C9 W% t& K
  323. ; be increased on systems where PHP opens many files to reflect the quantity of* |( C" l& s- a: z5 s
  324. ; the file operations performed.) D' j/ z. Y% K9 f, y
  325. ; http://php.net/realpath-cache-size! g! Q& m- q9 O/ |  D
  326. ;realpath_cache_size = 4096k
    " h1 B8 Q# w' x( w  `/ I. l
  327. ; h9 Y7 N+ x- D0 X
  328. ; Duration of time, in seconds for which to cache realpath information for a given3 s* B' y% f; A4 @5 R
  329. ; file or directory. For systems with rarely changing files, consider increasing this# N5 n8 W9 }8 i3 B. n
  330. ; value.
    1 g1 @" ?& }. L  k0 ~( [
  331. ; http://php.net/realpath-cache-ttl* g, A+ B, A) i" {7 {$ ^
  332. ;realpath_cache_ttl = 120, c8 V  E2 w: C5 @
  333. ) H" S  b& T* f5 m$ a
  334. ; Enables or disables the circular reference collector.% y1 P5 m# d$ X& p! @4 D( z
  335. ; http://php.net/zend.enable-gc6 K/ z  Z# y: n
  336. zend.enable_gc = On: M4 j" s! e1 m9 ~8 b

  337. 1 l0 M, B! a/ o1 q
  338. ; If enabled, scripts may be written in encodings that are incompatible with, L* _) ]) `1 ^  r5 x- H1 c
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    0 K* ?+ x4 y; T
  340. ; encodings.  To use this feature, mbstring extension must be enabled.9 E  n2 e9 t* C% Y" y6 C
  341. ; Default: Off2 v2 A1 X6 {3 c& }& {' ]# Y$ m
  342. ;zend.multibyte = Off
    : Y: v7 A9 ~# d; ]

  343. . R" u1 ~: p9 j/ ^2 {4 Q
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ' ]! q, f! F4 Y
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.6 C% A3 c1 g! s  Q# I2 t5 q
  346. ; Only affects if zend.multibyte is set.
    9 c' a5 g7 o$ M+ r) B8 u: Y
  347. ; Default: ""  n/ U: d6 m+ C2 Z
  348. ;zend.script_encoding =( i# M) y8 w# C8 C5 E
  349. & s- v" ~/ k( u1 S, X
  350. ;;;;;;;;;;;;;;;;;4 V+ V) t- d7 K3 l
  351. ; Miscellaneous ;) ~5 Q! `. C; W4 p
  352. ;;;;;;;;;;;;;;;;;
    & I. `: a# A" k9 ?, O4 C

  353. ( O$ r/ u5 ]: y$ {) e' {7 S/ k, \
  354. ; Decides whether PHP may expose the fact that it is installed on the server8 g. M& d- S. }* T2 I/ ~+ [
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    8 P* g8 C' q* x. ?$ G* J* q
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    7 k1 l5 ~  i7 P" G* I/ V
  357. ; on your server or not.
    3 d% m' k' R2 b; S
  358. ; http://php.net/expose-php+ g* {$ X* X# h
  359. expose_php = On
    # ?+ R: y! n/ r& ?- ]+ D- F3 k

  360. 9 G' O9 ^  U& S' w
  361. ;;;;;;;;;;;;;;;;;;;7 j& k* w. J4 a8 v2 |) C4 |
  362. ; Resource Limits ;7 n9 h8 n; a% C1 S2 A# K: Y: M, ]( Y
  363. ;;;;;;;;;;;;;;;;;;;
    1 h) U/ w. z4 ?" E- b' C

  364. 4 D3 Z7 n. W  c/ B) o3 t; i
  365. ; Maximum execution time of each script, in seconds6 O7 M, [1 f" l1 {; S
  366. ; http://php.net/max-execution-time& Q  B) [& B8 Q6 R
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ) r$ U) b* D& P1 Z
  368. max_execution_time = 300$ v0 y7 Q7 Q1 d) M2 c" u8 j9 x7 J  o; O
  369. " F% q3 ^& w  _
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    0 o4 }6 A6 l- f3 @. c6 r
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly6 i$ ~* f: R# q
  372. ; long running scripts.! A9 }/ p( S+ N3 {3 V' A3 s7 S
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI2 t! e. v7 ?5 I1 k
  374. ; Default Value: -1 (Unlimited)1 A& |1 E' {; d- x% o1 G$ T
  375. ; Development Value: 60 (60 seconds)
    7 t# w7 i3 }; j1 _
  376. ; Production Value: 60 (60 seconds)
    " z7 l8 A9 u, g8 C1 X7 Y! `
  377. ; http://php.net/max-input-time- ]+ k5 Q. T, A2 o  \
  378. max_input_time = 60) z5 u" m: n, K' U( k7 M, |/ o

  379. 4 R$ q: a3 ^3 M! j% g
  380. ; Maximum input variable nesting level
    1 }  L" h3 S+ v- n6 y6 i6 N
  381. ; http://php.net/max-input-nesting-level, b' V# w6 W% I
  382. ;max_input_nesting_level = 64
    5 d6 @% c! u- v: `5 c
  383. 4 @( a( A. \7 g2 a: ~6 r# g
  384. ; How many GET/POST/COOKIE input variables may be accepted
    6 _$ w8 ^3 Z( i4 I
  385. ; max_input_vars = 1000
      |8 g4 n( o/ n+ M1 H) I
  386. 3 C: A) N+ @! b. v% H3 k
  387. ; Maximum amount of memory a script may consume (128MB)7 x2 @1 M" ?* c7 k" K2 @1 z
  388. ; http://php.net/memory-limit1 v( R9 s/ X$ |$ Q  n
  389. memory_limit = 128M
    7 L" C* s6 o8 G; o

  390. ' X. r1 ~6 t% f5 h6 G
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;/ k9 z/ n1 W! K! C$ Y% D
  392. ; Error handling and logging ;5 [) n6 w0 F# @, Z- C: q" s8 O
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , `: o$ Z! {/ i9 q! p. T7 F+ T
  394. ! }% M- L1 W! m4 v- q/ O
  395. ; This directive informs PHP of which errors, warnings and notices you would like: [- @. M" y0 F- ~4 |! F
  396. ; it to take action for. The recommended way of setting values for this/ u( M: Y0 }- E3 B# g* e  X
  397. ; directive is through the use of the error level constants and bitwise
    $ [( m5 Q3 V$ y, Y8 Y' q1 w$ u- X
  398. ; operators. The error level constants are below here for convenience as well as
    ) v. J  y! [1 m/ K3 a# [9 H& \
  399. ; some common settings and their meanings.* S4 ]6 t7 J. T: b) s0 m  o5 l
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
      x4 J- Z2 V8 e: K3 ]& y! s1 |
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and+ x  V6 D. c1 G1 J
  402. ; recommended coding standards in PHP. For performance reasons, this is the7 r* g3 J, ], v2 N: q
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    . n3 e4 _% m' k( U0 y, u0 K0 T
  404. ; resources complaining about best practices and coding standards. That's what. {: `. b. a) G) x' ]( _
  405. ; development servers and development settings are for.
    - n" U3 l! ?* ^6 D1 M9 G; A
  406. ; Note: The php.ini-development file has this setting as E_ALL. This( U4 K! j4 G: p+ c
  407. ; means it pretty much reports everything which is exactly what you want during
    9 U" M4 T: @, o# c5 a
  408. ; development and early testing.
    # [; G% E/ J8 d: I; Q
  409. ;
    8 V2 f; i, Z; N0 J2 v$ m$ S
  410. ; Error Level Constants:, q- j3 M: a5 a! F, J
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ' m; y% O2 Z9 E- X) V8 L& W
  412. ; E_ERROR           - fatal run-time errors
    8 M, ^4 P/ a' Q1 t
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors, Z! t  b8 N% l7 O# B
  414. ; E_WARNING         - run-time warnings (non-fatal errors)$ Y$ L: u' v" i* e4 v3 V/ S  o
  415. ; E_PARSE           - compile-time parse errors
    . r+ P2 X; q( T. |% z. J, I
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
      v9 L; h$ G8 K; ~' }! z
  417. ;                     from a bug in your code, but it's possible that it was
    4 L' A+ d1 S, ?0 Z, P
  418. ;                     intentional (e.g., using an uninitialized variable and6 B& M+ ]" S; R  v7 ?% l6 Q9 m
  419. ;                     relying on the fact it is automatically initialized to an8 j# j5 d1 k7 y. b. ]2 G
  420. ;                     empty string)5 i# l1 G' R5 n6 R1 R" m
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    # o, i/ T: L7 b8 ]
  422. ;                     to your code which will ensure the best interoperability
    4 Q3 p; a* i; ?2 O' p
  423. ;                     and forward compatibility of your code! q5 I6 J& _. }7 @% l
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    7 ^1 z" |0 G. @  T, ]' |# j* c
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's, I$ z! z( P' n8 P+ A( ^
  426. ;                     initial startup
    7 L2 o" c& ]$ o6 Y
  427. ; E_COMPILE_ERROR   - fatal compile-time errors* b& l  }0 }3 Q5 M3 X# J* ]) M8 I
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    " v) z2 d7 y8 H6 P* x
  429. ; E_USER_ERROR      - user-generated error message8 g3 V0 A6 t9 B6 W
  430. ; E_USER_WARNING    - user-generated warning message# h7 s" W3 x5 E" @
  431. ; E_USER_NOTICE     - user-generated notice message! N4 x6 ~# L* B7 j" J% N" H5 D' I$ o
  432. ; E_DEPRECATED      - warn about code that will not work in future versions; S# g. x- C. E! |# R9 \
  433. ;                     of PHP) Y+ b' z/ L9 d+ Y' X8 [
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings$ K  V' x$ j8 ~
  435. ;( J  g5 H+ p2 m8 G4 d$ D( ~
  436. ; Common Values:
    ) O; V7 S) |' z3 w; U; m% C' H# O0 B
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    . I- g! j( T/ k, k
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    0 O# e+ A  D" ~& ]# j5 X1 @
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    4 y% D0 A# Z2 i  E0 A% f) y$ [
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)7 U# G2 H6 x6 {1 ^- J
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED. Z" ^/ W( p  h1 L1 l1 E5 n( m
  442. ; Development Value: E_ALL. A  _/ o; @2 z# X/ a
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT$ ~" l9 ~7 {  e" F
  444. ; http://php.net/error-reporting
    $ M, ^2 H# [! D! E  {6 G
  445. error_reporting = E_ALL & ~E_NOTICE
    , s! p- q. _7 t

  446. % V/ k' H1 Z6 [) H4 E/ j2 p& H
  447. ; This directive controls whether or not and where PHP will output errors,
    ( H  q9 G5 Z; G* d. [) h% g) G
  448. ; notices and warnings too. Error output is very useful during development, but
    4 c  I1 y, x, p3 P* |( s& I
  449. ; it could be very dangerous in production environments. Depending on the code
    ( L3 o) P' ?+ J
  450. ; which is triggering the error, sensitive information could potentially leak
    : l- ~8 T: K; D8 @
  451. ; out of your application such as database usernames and passwords or worse.& t" \* ~* C3 I* x0 B
  452. ; For production environments, we recommend logging errors rather than
    , }% w5 C4 h: a2 v7 `- h% R
  453. ; sending them to STDOUT.
    5 k$ H2 M- p0 s
  454. ; Possible Values:2 K, q) d9 @5 P, \6 t  K$ d
  455. ;   Off = Do not display any errors
    2 g5 N  f! b2 G% ^" B( [4 E) j
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    8 |. {- e, y! e8 A& t2 W; K
  457. ;   On or stdout = Display errors to STDOUT; K1 y7 g8 G, {' H7 l) E) n
  458. ; Default Value: On
    0 M$ r* ^& O& W# a5 A4 K& P
  459. ; Development Value: On  K2 ?1 ]/ z% p
  460. ; Production Value: Off
    ( d3 {, `& s# h1 I/ J4 U, W% f
  461. ; http://php.net/display-errors
    : A2 x4 ^. k0 o* o: s
  462. display_errors = On2 z; u5 `" N: y

  463. 8 C8 W' e( Z3 t, f! k
  464. ; The display of errors which occur during PHP's startup sequence are handled1 n9 P! s4 F0 a3 g9 @) F% \
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    7 S  A( X" Q* j: l" j
  466. ; errors from clients. Turning the display of startup errors on can be useful in: J* @: ?8 Q3 Y2 l  @9 B
  467. ; debugging configuration problems. We strongly recommend you
    1 @0 a% |) A: Q
  468. ; set this to 'off' for production servers., ?4 u9 u# `; j+ r  s. `7 v
  469. ; Default Value: Off
    1 z  {( U: C8 {4 c1 N+ a
  470. ; Development Value: On! Q' E  L6 |- k1 d
  471. ; Production Value: Off
    9 u' X) U- u& |0 F
  472. ; http://php.net/display-startup-errors
    ; W; B0 ~; Q7 l
  473. display_startup_errors = Off+ x. f8 S- U" e
  474.   b3 y/ u+ b4 \
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    % |# }* k  I: Z* W2 r( F) a1 B& g
  476. ; server-specific log, STDERR, or a location specified by the error_log
    . N0 l+ V5 ~4 g6 }/ \
  477. ; directive found below. While errors should not be displayed on productions5 `' R7 }" b/ @4 d$ J. f7 p' r% Q3 [
  478. ; servers they should still be monitored and logging is a great way to do that.
    - Y4 b5 a) Z: \5 {
  479. ; Default Value: Off
    : j" g% r( U: |0 ~* d6 o* o) ^- s
  480. ; Development Value: On) @- Y3 N4 h) \
  481. ; Production Value: On
    " v, F4 M3 f$ D$ _, {
  482. ; http://php.net/log-errors0 s8 X* V) Z: k4 |3 O9 L
  483. log_errors = On
    6 g  `- `, [- ~

  484. 2 c, R: T% ~6 O" b. W
  485. ; Set maximum length of log_errors. In error_log information about the source is8 u! }% n% d+ x7 ?
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.2 Q: A, i0 y; Z# s+ r
  487. ; http://php.net/log-errors-max-len+ M0 I4 i& T& I; X' T5 o
  488. log_errors_max_len = 1024
    ; l6 l6 z: R0 b2 ~

  489. " X* g% O% a7 v6 U9 d8 I
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    8 [0 T  W/ {7 C* M2 j5 Y
  491. ; line unless ignore_repeated_source is set true.* |  R& T  A) T6 ]! R+ B* E
  492. ; http://php.net/ignore-repeated-errors
    ) T% {% }, k! D  U% l1 v- m
  493. ignore_repeated_errors = Off
    , U- q) {$ M: `- K

  494. 1 [/ n+ X0 v3 F1 s+ X
  495. ; Ignore source of message when ignoring repeated messages. When this setting$ z2 p$ Q8 j7 `7 T0 u
  496. ; is On you will not log errors with repeated messages from different files or, T( {% ~+ l7 N0 g
  497. ; source lines.% |' F% e# G( |& l  ?
  498. ; http://php.net/ignore-repeated-source: P3 x: k2 Q7 m8 i& e8 s  ~8 W3 S6 K
  499. ignore_repeated_source = Off
    4 l2 J$ I4 R; T6 p7 c5 P9 R$ T

  500. 8 C6 ]- ^# W  k
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on& V" }' t" Z; ]5 K* P& y6 S1 c1 N# Z
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    . A4 t  Q7 J# M* \! B, U
  503. ; error reporting includes E_WARNING in the allowed list
    8 a3 O  x" j6 C0 _, V6 {9 V0 o
  504. ; http://php.net/report-memleaks+ D; ~0 a* U% {1 T
  505. report_memleaks = On+ e  w1 w$ [7 h9 {4 Y( ]& ^
  506. " h/ Q1 R) U. g2 X8 P
  507. ; This setting is on by default.
    9 m% d8 H* I5 o6 R0 e
  508. ;report_zend_debug = 0
    ! z0 ~) _" T" h  ~% v

  509. ! b7 w  e+ g4 X  T- P  d4 o+ z7 H
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value. _2 A- M  M4 o! [% i
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    2 P& D" O, t$ y% O$ Y4 _6 c
  512. ; however be disabled on production servers.
    * ?4 D7 }, M- q3 b9 ^/ `. S; s& m' M7 {
  513. ; Default Value: Off
    6 ^, D( [9 I* g1 y, j, H: d6 z
  514. ; Development Value: On7 h) m' n% ?. r) N& w4 S+ M
  515. ; Production Value: Off
    9 [6 H+ ~% J  M1 l& {& ?
  516. ; http://php.net/track-errors% r* _" W7 }. [3 ]' `$ y
  517. track_errors = Off' f5 s* w4 l( V

  518. 3 d; W* d7 \6 ~; \# u) S! Q* X
  519. ; Turn off normal error reporting and emit XML-RPC error XML! S2 N" B( ~& n; U
  520. ; http://php.net/xmlrpc-errors
    . o  D7 D+ l& A. f, b2 [
  521. ;xmlrpc_errors = 01 @- U+ M. J$ o- l* C* |

  522. 7 I' p+ l* u) R# ]# O
  523. ; An XML-RPC faultCode, Q& f, K* S1 `  Q
  524. ;xmlrpc_error_number = 00 T0 O- n/ o2 n

  525. ! u3 \% @2 f' W5 p7 G
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    % O1 p) H& X% M, F& Z+ e/ H9 y' K8 U" ?
  527. ; error message as HTML for easier reading. This directive controls whether5 T3 d" M+ I5 k1 M
  528. ; the error message is formatted as HTML or not.
    ( M9 x, p) f0 Y
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    8 o  W3 p9 v/ J9 E( T2 Z$ I
  530. ; Default Value: On
    5 ]# v/ ]+ m4 T% W" q
  531. ; Development Value: On
    1 X: e4 H$ L  I0 T
  532. ; Production value: On0 f8 J# [2 d, o9 k( X
  533. ; http://php.net/html-errors
    ( n, z* f7 F. U7 d# e
  534. html_errors = On
    : Y' Q4 n- F0 E* V
  535. : u" c& N' A. Z3 w* }/ }; a
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    , x  b% W4 f/ M7 N) u6 [. |2 \, a
  537. ; produces clickable error messages that direct to a page describing the error
    7 i7 f. L+ {1 C  l/ S' N
  538. ; or function causing the error in detail.
    * o( I3 @$ v" x' y8 i; b5 Y$ h6 N
  539. ; You can download a copy of the PHP manual from http://php.net/docs) Y9 w4 G' z: @8 S7 F3 I
  540. ; and change docref_root to the base URL of your local copy including the
    / s' t: v/ s. t% i; F
  541. ; leading '/'. You must also specify the file extension being used including% P' A7 Y! g, f5 x. K9 v6 U7 J
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which6 ]5 b# T1 [" g) j% @# Z! n2 B, @
  543. ; case no links to documentation are generated.  V3 y0 z# T0 {: @7 @
  544. ; Note: Never use this feature for production boxes.
    9 S: M" t# h2 x, |0 _
  545. ; http://php.net/docref-root: o0 D* y; J+ V/ \  B; r: v
  546. ; Examples3 P+ V# e( F: i8 c
  547. ;docref_root = "/phpmanual/"
    . R5 C4 o. e- r/ O& y# O/ [( f* x

  548. * k8 p7 b" z8 }" s9 Y& k
  549. ; http://php.net/docref-ext: x+ \( p9 @/ }& e: v
  550. ;docref_ext = .html& @' u+ V8 y2 ]

  551. % X2 p, U. b8 B8 z: h0 n4 f: Q. Z4 U
  552. ; String to output before an error message. PHP's default behavior is to leave- D  B1 W+ x0 l7 u0 O9 a" i7 |; _
  553. ; this setting blank.
    9 y2 p- ^; f1 w! t; G
  554. ; http://php.net/error-prepend-string) I( k2 u/ M/ {; E+ r! v0 g: D
  555. ; Example:1 `$ i! H" K) S& [# U6 K
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    & I4 P' x! P2 ]

  557. . b0 z0 v( l" {8 g5 _3 Z
  558. ; String to output after an error message. PHP's default behavior is to leave
    4 _: W: o! \: y: g* j
  559. ; this setting blank.
    : F4 K! y4 i2 U  g4 m" q
  560. ; http://php.net/error-append-string
    3 U' W% F( D. m
  561. ; Example:
    , R1 t3 M* t3 X' G6 U# X- m
  562. ;error_append_string = "</span>"
    / w" Y: ]( I- Q) k' A
  563. 0 i: l9 |, x. W. z: J
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    $ @& O0 S2 I0 u& z
  565. ; empty.8 I) [% j3 `% G0 [0 e, b7 s. f
  566. ; http://php.net/error-log
    . F7 X; [; t7 J& M0 k
  567. ; Example:
    0 h5 a0 b9 f, Y' Q2 P
  568. ;error_log = php_errors.log
    : R2 K( i: i; n4 T
  569. ; Log errors to syslog (Event Log on Windows).3 p5 V+ i. Y6 {' Y, m
  570. ;error_log = syslog% D  ~8 ]  U! f
  571. 6 S5 U( {. P0 j( t
  572. ;windows.show_crt_warning0 O# J9 d' v' R& r; P: C; X8 ^
  573. ; Default value: 04 H+ v- H8 _( W; P/ y; F& e
  574. ; Development value: 01 d. R$ ~! J' b/ c' E
  575. ; Production value: 0
    : z$ `2 ~5 y6 C" S0 ?
  576.   |3 m* Q' {1 s) n2 d9 i
  577. ;;;;;;;;;;;;;;;;;
    7 l6 e3 H" D& c! Q
  578. ; Data Handling ;
    0 |0 r3 k6 o. ~: |
  579. ;;;;;;;;;;;;;;;;;
    2 ?& S2 t/ `4 M. N2 P

  580. * o0 m8 @  D1 K" m; H
  581. ; The separator used in PHP generated URLs to separate arguments.! c+ [" P  K1 g6 _8 ?# Z
  582. ; PHP's default setting is "&".
      J! o" ?% U+ O! K0 U, e
  583. ; http://php.net/arg-separator.output4 o6 S8 |) o0 Q: l% q
  584. ; Example:
    2 p4 U( Y  F4 {1 D0 y
  585. ;arg_separator.output = "&"% `: A+ v$ G2 ?9 S- X
  586. " S# v7 I% N4 i- L7 N# P3 E6 c& ?
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    % A) c: N7 O! v8 Z/ a' L# K
  588. ; PHP's default setting is "&".* D3 m, {0 K3 m: E- N
  589. ; NOTE: Every character in this directive is considered as separator!
    / F+ Z! {  Y! b% `& L
  590. ; http://php.net/arg-separator.input6 n; x$ u6 H( k, [7 ]& d
  591. ; Example:% ?8 g! ~- W) F& f- l8 I6 }, x% h
  592. ;arg_separator.input = ";&"$ O* |# K4 |* ~, v  L. f
  593. % H. S- M' a: R  A- r+ {6 O. I* @
  594. ; This directive determines which super global arrays are registered when PHP4 P5 G0 d( E3 h
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    1 B% D- K4 h2 z# R& Q+ |
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty+ N9 Z4 `) I' U( \2 V9 y
  597. ; paid for the registration of these arrays and because ENV is not as commonly: @( w( u/ Q$ S% L# O
  598. ; used as the others, ENV is not recommended on productions servers. You( M! G  h/ D& W& G, g
  599. ; can still get access to the environment variables through getenv() should you
    3 K: B3 d0 ]- s  V6 J$ ]
  600. ; need to.5 j8 w* [3 p3 K; m/ w
  601. ; Default Value: "EGPCS"  U8 T" U8 m" Q5 y
  602. ; Development Value: "GPCS"
    # f# z+ A6 k4 @$ P) q' F
  603. ; Production Value: "GPCS";
    / y) M& E: P& K4 [
  604. ; http://php.net/variables-order
    - ?# T: b$ i8 L( S/ W3 x3 E
  605. variables_order = "GPCS"
    * J* d2 f; a8 A& U2 D* L( E7 u: H& F
  606. * b1 b6 B. Z3 }1 f% e7 Q9 {4 l
  607. ; This directive determines which super global data (G,P & C) should be
    / ^" c. g; F( p% ]& Y6 g6 K
  608. ; registered into the super global array REQUEST. If so, it also determines
    $ i! i/ C' T! v9 f1 M
  609. ; the order in which that data is registered. The values for this directive+ n- Q: q3 S( K  h
  610. ; are specified in the same manner as the variables_order directive,
    ; E9 W9 E: i( O" c% V
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    , L# U  Q' i2 d$ X, M
  612. ; in the variables_order directive. It does not mean it will leave the super5 g. |1 U, c' ]$ l; A# e% c5 }
  613. ; globals array REQUEST empty.
    ! [- i1 y' t. k8 d) H* j7 Q  H
  614. ; Default Value: None/ f  Z4 I/ |' [" ]6 E
  615. ; Development Value: "GP"0 ~- _8 X' X4 [& B6 L! U
  616. ; Production Value: "GP"
    # v/ R4 F$ m* f7 S
  617. ; http://php.net/request-order
    : C3 ]( {- l3 y6 b8 d# I
  618. request_order = "GP", o+ v$ N+ @7 r! T8 g

  619. / e6 q5 F5 `* Y4 Q
  620. ; This directive determines whether PHP registers $argv & $argc each time it& K# w0 f' `( m2 o5 @* T
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    3 d8 z5 Z9 d4 m8 {
  622. ; is invoked. $argc contains an integer representing the number of arguments0 |' i. }1 u! u/ r  ~, s9 E
  623. ; that were passed when the script was invoked. These arrays are extremely& k: r6 K+ {# \; j
  624. ; useful when running scripts from the command line. When this directive is) }: i% U! u/ f" |) i
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    + B" {. U5 D0 h4 {
  626. ; a script is executed. For performance reasons, this feature should be disabled" O( f8 [; o4 p. a) J8 ]
  627. ; on production servers.. z" k5 e4 S4 a5 j+ x$ J) D
  628. ; Note: This directive is hardcoded to On for the CLI SAPI  @: H& I: R, p
  629. ; Default Value: On
    + I7 Z- E& p" [5 c5 }; T: ], a
  630. ; Development Value: Off
    ' w' a( T. h/ S# ~) [4 R) N
  631. ; Production Value: Off
    . F6 t. M4 H7 M1 }! g
  632. ; http://php.net/register-argc-argv
      Z: Q; ]: M6 [4 S, Q, P$ n  \
  633. register_argc_argv = Off
    % F: w0 a! P7 r* D9 f1 `* ]1 C
  634. 3 n  K+ x- f) [# G% I: z
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    0 Z& ^% @! X: {7 p* W# G
  636. ; first used (Just In Time) instead of when the script starts. If these
    7 c& }+ o& B4 d. T
  637. ; variables are not used within a script, having this directive on will result2 d8 }$ j5 n1 F* z7 |6 w/ K
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    5 Q  e2 B) y" `8 ]# N' a0 K
  639. ; for this directive to have any affect.
    $ A: T0 ^/ R3 r4 t0 S
  640. ; http://php.net/auto-globals-jit6 q9 M( a% q( S
  641. auto_globals_jit = On
    5 L  ?2 m, L6 J+ z4 l

  642. ; s* W- n; w( @9 B. n$ z
  643. ; Whether PHP will read the POST data.
    9 p" L# f% n8 F( e( _7 J
  644. ; This option is enabled by default.
    - U' I( P5 L+ z
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    5 Z) g- z; F: b  m, U4 Q2 K
  646. ; and $_FILES to always be empty; the only way you will be able to read the& V8 k! q1 r$ m) h% X: v1 ]0 P
  647. ; POST data will be through the php://input stream wrapper. This can be useful0 W5 t( s8 W: V! H
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.6 q) Q# }0 B- x4 ?+ |
  649. ; http://php.net/enable-post-data-reading
    , l9 M3 l3 e, B- X/ W
  650. ;enable_post_data_reading = Off
    # x4 x: u2 m& C1 {. Y. `+ z& r9 t

  651. : g+ }' i: t+ c& V, N; R$ @1 u
  652. ; Maximum size of POST data that PHP will accept.
    6 ]0 v6 `2 S2 n% h& O' t( m0 N
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading2 O- e& Q3 ~' M1 P) B) A6 _& }
  654. ; is disabled through enable_post_data_reading.
    8 e& W0 U. V7 `/ d  _
  655. ; http://php.net/post-max-size
    3 f) X; F+ L) ]0 Y5 \! s& X1 c
  656. post_max_size = 50M9 Z. C' A0 \' R/ ^

  657. 6 ~1 P+ h/ h1 l3 l% K. x8 u8 D0 a- W
  658. ; Automatically add files before PHP document.
    . @6 S# |; y: e! G8 T% e9 Z
  659. ; http://php.net/auto-prepend-file" T' `$ z0 `, `5 K" n8 Q. t- P
  660. auto_prepend_file =
    . L" O/ H! m; C9 @! D

  661. / F8 X- Z1 P9 }7 a0 e1 C4 W
  662. ; Automatically add files after PHP document.
    1 C' }' G9 ]) X1 \
  663. ; http://php.net/auto-append-file
    ( z; z# F' e0 K+ e
  664. auto_append_file =
    ) D4 Q8 z0 `! a" P2 p# f1 m
  665. : c* t$ U% x2 w; E
  666. ; By default, PHP will output a media type using the Content-Type header. To' I& |" F2 S$ l7 _2 d
  667. ; disable this, simply set it to be empty.% j1 {7 w) p6 W* `6 L0 [
  668. ;
    ( ^) l+ A1 D4 z( j# a1 p% i6 t
  669. ; PHP's built-in default media type is set to text/html.
    2 N$ O! D$ J4 [- e% b
  670. ; http://php.net/default-mimetype
    2 L" ?! J% Z8 M( X  A0 k
  671. default_mimetype = "text/html"; {! F1 \) C) W& l( J

  672. % h! S  R& }# I/ E0 s0 p! ?0 k
  673. ; PHP's default character set is set to UTF-8.
    ! N9 S; @. s+ c, f% R8 P
  674. ; http://php.net/default-charset0 g2 C/ E! v0 q8 o: E! w! _
  675. default_charset = "UTF-8"' C/ k$ \# A+ n0 m& u

  676. ' Q$ R4 `% Z3 W8 c8 ?0 Q
  677. ; PHP internal character encoding is set to empty.! N$ O, l$ X. P( Y8 T4 r* `- f
  678. ; If empty, default_charset is used.+ W  ?8 H! T: S+ E1 S, x
  679. ; http://php.net/internal-encoding
    1 X7 Y; u) X4 n" S. f% Y* m
  680. ;internal_encoding =
    4 M8 l- E- W4 H( x) l
  681. & R$ R9 A( `" X" d3 @
  682. ; PHP input character encoding is set to empty.
    - m& C0 Q4 o' T9 N2 y- ?5 X% `% W
  683. ; If empty, default_charset is used.
    * G' P% ^& U% m2 L
  684. ; http://php.net/input-encoding
    ) W( T& [5 K* v  j6 T* Y
  685. ;input_encoding =
    ) _2 V9 t8 Q- P

  686. 0 Y1 R8 x( s7 U! |% \6 v2 n  R
  687. ; PHP output character encoding is set to empty.
    / |0 @# V) G3 V9 g$ P* f/ }
  688. ; If empty, default_charset is used.
    : \1 {; c; R5 }. a
  689. ; See also output_buffer." Q/ d: |2 V2 o( Z- V( ^" [
  690. ; http://php.net/output-encoding, d9 U" t+ X# W' Z' a: [
  691. ;output_encoding =/ g( O8 H6 e# |, ~3 b
  692. / o5 P( b# G' z2 l$ w+ Q- e" k$ h
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    5 [* Z0 Q% Z7 t4 I; h
  694. ; Paths and Directories ;
    ; Z( T) k. i4 q; n) A1 P& r% U9 v
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;0 ^& F9 {1 c% m# U1 D$ h% y" i
  696. 9 y7 q* e# _7 _2 f  n
  697. ; UNIX: "/path1:/path2"
    " h$ \7 f+ `4 s4 e- g
  698. ;include_path = ".:/php/includes"
    / Q( \: s" {- P
  699. ;
    : @! w5 w# B( H2 }0 ~
  700. ; Windows: "\path1;\path2"
    8 D' ?" S9 s- y2 k+ e, }, n
  701. ;include_path = ".;c:\php\includes"+ \1 Q9 H) Q# V  W
  702. ;1 e0 Z: X6 N* k' a% {% L# |
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    + U5 I; E6 S- D
  704. ; http://php.net/include-path- t$ N) e! |) ?0 t+ V) `3 O

  705. 4 n2 B) L4 ~6 z3 `& V
  706. ; The root of the PHP pages, used only if nonempty.
    3 d; L" O/ X! c" S* F2 \
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root  n( j7 M7 K6 l6 a% M8 d* X0 j9 B
  708. ; if you are running php as a CGI under any web server (other than IIS)
    # _5 |0 p. j* S7 K7 Q8 W
  709. ; see documentation for security issues.  The alternate is to use the
    * t* l7 d/ y4 h7 i, O3 l
  710. ; cgi.force_redirect configuration below& Q% _/ W  L1 T: E
  711. ; http://php.net/doc-root2 v$ d& V" R! h
  712. doc_root =
    + F2 E* l, W' g+ r1 a6 w( x
  713. ( I& X( H: t5 j; v
  714. ; The directory under which PHP opens the script using /~username used only
    6 o9 d- r; U. e
  715. ; if nonempty.- f! \; I  {9 V' I  v
  716. ; http://php.net/user-dir
    , d1 B. {9 [+ Z5 q$ W& K1 j/ ~
  717. user_dir =1 o% I5 ~8 @9 k6 T1 g

  718. # [' X7 i$ p3 E$ c% y
  719. ; Directory in which the loadable extensions (modules) reside.
    1 Z! {& w) y# F7 o* s5 r/ \! q- L
  720. ; http://php.net/extension-dir" c5 s4 v$ D$ B: p0 r0 G" g; t
  721. ; extension_dir = "./"
      B1 X& k) U  k; J4 R8 f
  722. ; On windows:. F; Q# h% `+ W# p
  723. ; extension_dir = "ext"
    - d' {9 }" ]( F0 b( y5 ?, `; ^
  724. & E: D8 P$ N8 D
  725. ; Directory where the temporary files should be placed.
    2 o5 O8 G9 Z5 o* V/ E  |
  726. ; Defaults to the system default (see sys_get_temp_dir)
    / l  c: r1 K5 y
  727. ; sys_temp_dir = "/tmp"# Z$ u6 _- }% t& Z3 j. C" s

  728. 2 V; v4 Q/ Z4 J+ Z. h' m  Z; R
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    % ~7 Y* X3 [  a
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    9 O. X0 R, b7 ~1 \$ B4 p
  731. ; disabled on them.
    . P+ e6 {( `* Z' M
  732. ; http://php.net/enable-dl1 `( i5 C- P5 S" {8 _
  733. enable_dl = Off+ ~* u; _; ^: s$ z' M. {
  734. % @, S  b) n+ Q) C* P
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under6 Y9 @5 e9 U1 J8 B
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    * q: M0 f' ?* E# k' J" z  k6 u. U
  737. ; turn it off here AT YOUR OWN RISK
    8 N: c" ~. d7 f% V' b# G
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
      B; Q0 J- c5 o4 L- E! w  X
  739. ; http://php.net/cgi.force-redirect
    " ^0 R# ?) f- S! y* u2 M7 ~% {
  740. ;cgi.force_redirect = 1
    " e# \. z. I3 Q7 ?# V/ `

  741. 3 E% Q: @" l# J6 i, H' [
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    . M+ l7 d  M5 O; s) c5 a. U2 u
  743. ; every request. PHP's default behavior is to disable this feature.
    , ]' F$ y0 Y: c' F" B/ ~" D
  744. ;cgi.nph = 1
    % z- I, c9 g' f
  745. 2 z& M0 X( V$ H( w9 H3 a& J
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape7 x7 D6 b/ m' B/ v* \8 ~8 O  D. U
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
      r! [& w( ]) e* G8 U9 l
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ; Y2 a* x0 d" y8 N
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    . A% ?8 U/ h/ [6 [
  750. ; http://php.net/cgi.redirect-status-env% ^( T5 P/ `/ O  F5 G
  751. ;cgi.redirect_status_env =$ G& V' B* ?2 X, f
  752.   R* G' N7 C' i9 _2 S
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    $ K) T8 [! U( m9 {: H9 ^
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ! X$ M( {# ^# z: @& T3 f  `
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    : l4 R& B. m& p+ h
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting* s! O3 z5 u0 G5 @: y
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts" m- A& d  H, j9 K
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    7 [! D5 o5 v8 y  V/ J! s
  759. ; http://php.net/cgi.fix-pathinfo7 _6 `; c/ E1 r5 ]: i% {7 s) A
  760. cgi.fix_pathinfo=1
    / w$ L4 t" d! S4 L% Z! y

  761. 8 F7 X8 R& J( a
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside! D( W% p$ c" [4 l
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    6 i" G8 @& \, b
  764. ; http://php.net/cgi.dicard-path/ B* |, r2 z7 d( H7 m# k2 r0 H/ ^/ L
  765. ;cgi.discard_path=1* r" y& }1 Y2 o3 c2 g/ u  I
  766. * u. l4 W; d+ X4 I0 K' ]8 c+ y6 ~
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    9 S4 W4 ~- o4 l- y1 B# c
  768. ; security tokens of the calling client.  This allows IIS to define the
    ( [9 m! {2 D4 y1 r# ~- x/ Z
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    5 y5 G# }8 `1 K& l& Z( ?1 v7 P4 {' ?& P
  770. ; does not currently support this feature (03/17/2002)& e3 h  a% |/ h; t) Q3 q1 u6 u2 f+ q
  771. ; Set to 1 if running under IIS.  Default is zero.1 i& K$ w; C1 P5 r. A
  772. ; http://php.net/fastcgi.impersonate
    / c* d0 Q6 K1 U- R  _8 J7 I, p
  773. ;fastcgi.impersonate = 1' L* J  h; f+ J( M' B
  774. - Q3 m3 `% ?' Y& p& b
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable" Z) h# t  C* {7 s3 W8 X4 ]3 f
  776. ; this feature.: j3 p1 O2 I/ C) E0 T7 s" k
  777. ;fastcgi.logging = 08 ]# Z0 J3 [( r# D

  778. 0 K4 a# f: m) L. X$ D# N4 h! e/ u* H2 ~
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    1 ?: s9 ^7 a# ^
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ; w. a; G5 ]  A/ @% U0 h' E
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ( |) o8 T5 @% d' R) c1 P) }
  782. ; RFC2616 compliant header.: `2 i# L7 Z' G0 R
  783. ; Default is zero.
    / H$ n3 _: r- I7 D" Q; r( q6 o7 `9 k
  784. ; http://php.net/cgi.rfc2616-headers
      u$ Y$ e, `  K: L# }6 o' J
  785. ;cgi.rfc2616_headers = 0. M( }3 f( _% M0 K
  786. & y; R" `# W' V
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ( e9 f" V# h2 V6 _4 P3 q
  788. ; (shebang) at the top of the running script. This line might be needed if the
    ; \/ N* r3 K7 P, K7 |9 {
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    8 t% {2 M/ }1 C2 @* i
  790. ; mode skips this line and ignores its content if this directive is turned on.2 H" A3 {3 D' i- I% L5 R/ s- g
  791. ; http://php.net/cgi.check-shebang-line; x( c6 ^4 x9 @* C
  792. ;cgi.check_shebang_line=1$ ~* y; v/ t( X- R% Q* Z7 {
  793. 8 [) Q6 [' A8 C9 x6 A" t7 I
  794. ;;;;;;;;;;;;;;;;  c1 s( H* N5 Y8 S9 Z4 H
  795. ; File Uploads ;
    9 Z7 H  x1 |8 a& d+ H" I! M; W
  796. ;;;;;;;;;;;;;;;;, M% s% X4 e1 [) b+ d$ q! s

  797. 1 h0 R) u" \" u: T$ ?8 n
  798. ; Whether to allow HTTP file uploads.1 c) ?& C: R- P- g6 k7 ]$ _4 z
  799. ; http://php.net/file-uploads
    2 f9 `- A  s  x7 ?8 \, U5 x( p
  800. file_uploads = On2 J' V9 W4 C, U& h3 M# p; W7 N
  801. , n( S2 N& P+ w, b# e9 p* V& z
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    , U7 U9 B5 _# w) N( a/ Q
  803. ; specified).
    ( N3 V* v# A9 e& E" ]$ E. }
  804. ; http://php.net/upload-tmp-dir4 `4 i, T  ]; j0 U5 G& E4 V5 B, {
  805. ;upload_tmp_dir =2 ^4 X# N4 g. z! |, s0 y  C! I

  806. & z/ g  S* m0 X' i+ Z
  807. ; Maximum allowed size for uploaded files.0 Q4 B4 R& a3 h5 [
  808. ; http://php.net/upload-max-filesize
    $ e. c+ _% O# E6 T  F
  809. upload_max_filesize = 50M- V" o- Q* s9 _  D3 \* U
  810. : P, A3 r: z$ p# A
  811. ; Maximum number of files that can be uploaded via a single request; I. d) n# G& S# l$ k, O
  812. max_file_uploads = 20. s1 k8 S4 R; U

  813. " D0 E( r# [3 O3 |2 D4 j
  814. ;;;;;;;;;;;;;;;;;;
    : ^  ]; r$ C1 O% t$ t
  815. ; Fopen wrappers ;0 S6 \5 ?/ @2 {" e+ W. f1 s" O# p
  816. ;;;;;;;;;;;;;;;;;;9 `) w5 M( R& I
  817. 1 U, I5 @  o# m
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    9 w5 O1 R: ^3 f5 }0 L3 ~5 E/ A
  819. ; http://php.net/allow-url-fopen; t$ }0 G! y) w" y5 Y% ?7 r; D2 t" c6 z
  820. allow_url_fopen = On
    8 i* l0 s0 o3 a4 C6 p: u
  821.   E& o3 M' |5 C7 m, ~1 C( M# W4 I
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.6 _) t5 v+ }0 L3 N, m4 P- h
  823. ; http://php.net/allow-url-include* Q( j6 E+ H- K0 r2 F
  824. allow_url_include = Off
    / g( Y0 k8 |4 H
  825. 0 P# \8 ]" x8 l( d, G. l
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    5 D5 M" R) G& G) ~
  827. ; for this is empty.& o- A. Z' c9 [! {3 F* H
  828. ; http://php.net/from
    % Q. [! H$ s- w" v. g: w7 R& o( @1 E% k
  829. ;from="john@doe.com"4 V6 U- d+ U0 A
  830. / v* k2 W3 j3 `5 {2 O
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
      N, e8 b; n, N3 U0 q$ S
  832. ; http://php.net/user-agent
    ; b7 N& a+ Q  U7 Y
  833. ;user_agent="PHP"
    ; V* a1 v5 B3 g+ }/ U
  834. 3 T6 ^3 t& b2 b
  835. ; Default timeout for socket based streams (seconds)) K7 S4 j4 P" c
  836. ; http://php.net/default-socket-timeout
    & E2 s; j9 E$ n- ^  s( ~
  837. default_socket_timeout = 60
    - q  _: {# {, ^! {3 I
  838. ! v7 K. e* m6 @3 z5 Y* Z5 L( }
  839. ; If your scripts have to deal with files from Macintosh systems,
    ! V8 s/ F$ T) r' R$ d
  840. ; or you are running on a Mac and need to deal with files from
      q$ ?* [$ y* T; [$ _' w! J
  841. ; unix or win32 systems, setting this flag will cause PHP to
    ( n( l# J4 s; u4 S* l& ^- ^+ B
  842. ; automatically detect the EOL character in those files so that" g& g7 p" o( }  T  H. B0 h8 x$ I+ k
  843. ; fgets() and file() will work regardless of the source of the file.
    7 R$ o+ B' a9 u- M2 r
  844. ; http://php.net/auto-detect-line-endings
    3 r: `( ^6 @- G* _, u3 L' N: A
  845. ;auto_detect_line_endings = Off
    # X0 n, F$ R4 S' a
  846. * V/ r& A6 J  N$ e6 |7 c& n
  847. ;;;;;;;;;;;;;;;;;;;;;;
    7 {: j/ c; E6 R8 Q9 ^5 X
  848. ; Dynamic Extensions ;6 ]6 u! ?7 ?4 P8 T1 S
  849. ;;;;;;;;;;;;;;;;;;;;;;2 \8 M5 A9 ]' T3 N) q; A+ `
  850. : d- d7 u4 T" C1 m! r) O2 |
  851. ; If you wish to have an extension loaded automatically, use the following. X5 d3 K1 f$ _4 ]9 z
  852. ; syntax:
    8 ?3 O! u3 ^4 J, q" F% A
  853. ;& |: x6 G& Z& _' z2 P& e- [5 d6 ]/ U
  854. ;   extension=modulename.extension
    & H! O4 O, @4 ]* J
  855. ;( w9 s4 c9 }( U' q2 m% \; ~
  856. ; For example, on Windows:, O2 i8 \9 M' K# Y- Q
  857. ;9 R; Z* t# ]# {( Q
  858. ;   extension=msql.dll( c, i+ b1 f1 I/ B
  859. ;
    - f* O' G2 I" ?# T5 S
  860. ; ... or under UNIX:
    3 \) \8 p; d( B+ q/ W
  861. ;9 {' s5 K2 y. [4 z, U
  862. ;   extension=msql.so
    * U( a& U/ v$ v8 v& J
  863. ;
    5 I, w. n% z; ^0 q" m! x1 V
  864. ; ... or with a path:
    / O( L2 Z* A7 K+ C# P2 @% n5 j
  865. ;
    , \+ L: c1 }# j( r) ~1 ]
  866. ;   extension=/path/to/extension/msql.so8 |8 K/ ~( U1 H% r6 N
  867. ;
    2 ?0 Z3 |+ c: h+ q$ s
  868. ; If you only provide the name of the extension, PHP will look for it in its
    3 M) W3 W% |. j7 o6 l
  869. ; default extension directory.
    / ?! H" j9 E" j' o9 h4 H
  870. ;; A; r7 E! R7 `5 D2 c: H4 l" O
  871. ; Windows Extensions
    + X) w- B0 c' g- i) W; T
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ( |9 A3 E- M$ ]: }7 s' M
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)( D: F% V: j+ u; }
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    " y6 D, \& a  C* s8 z( ^  C
  875. ; Be sure to appropriately set the extension_dir directive.0 r/ N9 v% e4 t5 D6 x0 ~- F
  876. ;' K! \1 q/ q: E% r  P  W
  877. ;extension=php_bz2.dll/ Q! _1 m  |1 ]$ ]% e; g
  878. ;extension=php_curl.dll$ `/ L) i  x# l! i6 f" ]
  879. ;extension=php_fileinfo.dll
    7 d( F/ g( r! _3 f: q! P: Z2 ?- ^
  880. ;extension=php_ftp.dll
    ; H' }1 Q- B  h
  881. ;extension=php_gd2.dll$ x: A6 N, Z4 H, q8 T& s& \
  882. ;extension=php_gettext.dll& M% W! R; u7 {- N! Q
  883. ;extension=php_gmp.dll
    * d2 S2 z; G3 M: D9 b# k
  884. ;extension=php_intl.dll" @  \1 Z5 L3 W8 z! [
  885. ;extension=php_imap.dll
      C! H& |6 o% Y+ r) B4 C
  886. ;extension=php_interbase.dll
    + k3 d) P. N6 e) R4 @  Q- J
  887. ;extension=php_ldap.dll
    & c$ j3 N1 O* f6 K* ]7 O
  888. ;extension=php_mbstring.dll
    - ^4 ]' O$ g  \# i4 f
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    8 `: \3 y4 R: Z7 `2 z
  890. ;extension=php_mysqli.dll2 p. D& s/ q2 z! X
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
      q3 u8 x. f/ }8 x# o7 A
  892. ;extension=php_openssl.dll
    4 A/ y1 l7 I' r+ v+ ?" d' r4 t
  893. ;extension=php_pdo_firebird.dll( q) C9 p' Y. g" t
  894. ;extension=php_pdo_mysql.dll
    , W) C. b$ U0 s8 K- s* V
  895. ;extension=php_pdo_oci.dll! P( [/ M( t* T- Q7 m/ {; y/ }
  896. ;extension=php_pdo_odbc.dll8 v3 l4 |8 ]$ u0 d& Z1 ~, I
  897. ;extension=php_pdo_pgsql.dll
    * g5 ]& a2 L1 x7 F3 C) R' }4 t$ ]- g
  898. ;extension=php_pdo_sqlite.dll
    6 [. x4 U+ F+ j) H+ m$ m
  899. ;extension=php_pgsql.dll" ?6 L9 x3 M* Q- T4 @
  900. ;extension=php_shmop.dll+ W# _& f& p; w8 B
  901. 7 `7 K* B: D0 n* j+ b7 `
  902. ; The MIBS data available in the PHP distribution must be installed.
      [) e7 n, c" X7 F9 @" _
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    - Z; `6 n8 P5 ~
  904. ;extension=php_snmp.dll; }' E6 [$ Z; c7 i/ [/ k

  905. & f% R0 v" V0 ^6 X
  906. ;extension=php_soap.dll
    : ^# v+ a# E+ L& }7 Z) Y1 C
  907. ;extension=php_sockets.dll
    ( ]) C3 @  G/ N" U( v8 @# s
  908. ;extension=php_sqlite3.dll
      ]8 s+ a, I8 a+ {4 U% T
  909. ;extension=php_tidy.dll1 v# F2 J* e5 q
  910. ;extension=php_xmlrpc.dll7 q. F+ u) [0 L- d3 o8 ^" c
  911. ;extension=php_xsl.dll
    8 A# P, s2 R+ d3 a

  912. , s8 Y. R# A) ^7 k; e0 }' j& _. H
  913. ;;;;;;;;;;;;;;;;;;;
    + }. \3 C# n; T: @( X4 O
  914. ; Module Settings ;
    , y* N7 \' A- _3 B1 l- c
  915. ;;;;;;;;;;;;;;;;;;;$ N6 S- O+ `! D" t0 x* Z/ ]

  916. 3 q5 I; v6 Q' X7 e: q" {( l
  917. [CLI Server]' _$ e4 ^% J0 U/ D  H  @
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ; \4 g7 n, O% G/ \6 V% ]
  919. cli_server.color = On2 F0 q8 r1 Y1 X: ~* b

  920. 1 W1 l4 G/ N6 Q: ^. U
  921. [Date]/ q6 v. g; @3 Y) }/ t: D
  922. ; Defines the default timezone used by the date functions2 G" u' z4 |6 g0 _! t# E& E& u3 q& v
  923. ; http://php.net/date.timezone' \0 r+ f. S" n9 d' u
  924. date.timezone = PRC" \6 ~: h5 G/ @/ Z/ N9 i# m: `

  925. . r  A/ u, K6 ^' Q; g9 U
  926. ; http://php.net/date.default-latitude
    2 L" Z, _* G% z  c
  927. ;date.default_latitude = 31.7667( f% S# ^2 h9 r/ W5 F; W
  928. 9 x' v% f6 X$ \) ]8 o" F
  929. ; http://php.net/date.default-longitude, G: g+ O; n5 H' k  b  ?  z
  930. ;date.default_longitude = 35.2333) D9 b5 I& h; `8 f$ _0 n" G

  931. " d5 ]" g8 y9 k/ v2 `* h: K
  932. ; http://php.net/date.sunrise-zenith# g) H6 q# Z* d6 }) P/ n
  933. ;date.sunrise_zenith = 90.5833339 b$ }7 \8 i% v2 g2 {  X
  934. % M5 g, D7 |5 u
  935. ; http://php.net/date.sunset-zenith0 v7 U# ]1 c6 v+ |1 h; L( u2 [
  936. ;date.sunset_zenith = 90.583333
    $ K" n5 d# t! |1 ]8 t6 x$ M! S

  937. 8 P6 C* y$ J, u" K
  938. [filter]3 J" H3 g) |& I, \5 d! K
  939. ; http://php.net/filter.default4 B& Z7 G  Y2 p/ L7 [. f7 _/ \
  940. ;filter.default = unsafe_raw' r+ U# C8 c* R6 A! z3 ^
  941. ! k2 u, B' D: j. q, e$ t
  942. ; http://php.net/filter.default-flags4 E6 p% M9 n1 O- \; l! g
  943. ;filter.default_flags =
    + F+ _3 ?  C: i  B& P
  944. ' q' {% L  M! V; j( {' l
  945. [iconv]
    3 [( v+ H, N& L3 X; O/ n6 {; j, k
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.+ e# D" U1 F7 Y: e) N" u' t
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.- b9 T. Q+ T# r, V: D8 E
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding; |! n4 y1 {* b& j/ |6 G( o; Y! b7 g
  949. ;iconv.input_encoding =5 e7 ^- C9 t: }" F& _) `: X
  950.   @. t4 f9 B4 g6 H; n
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.$ T; B! s6 \- l& C1 A* O
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    2 J! @) z! A) f
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / F3 n( `0 O0 D/ o, {
  954. ;iconv.internal_encoding =
    / o. g3 z% _# T- i; L# _6 p
  955. 9 z' w4 w, ^; e/ {8 w" [
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 ?9 T; L( S1 O9 t) r7 a! Z
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used." c0 H) P' v' o5 K# l" {
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ( W: R: ?0 y2 Z7 j/ t7 L7 f
  959. ; To use an output encoding conversion, iconv's output handler must be set; p- o% N9 E+ y. t& ]
  960. ; otherwise output encoding conversion cannot be performed.
    8 y9 w0 v2 d, e+ Q
  961. ;iconv.output_encoding =4 |& ]: z( R% l/ a' j: d6 h: p
  962. 3 ]3 K$ M1 ^, E/ [6 d  o7 N
  963. [intl]
    3 p( {: {; \$ p. R- h/ W7 M' Y$ K
  964. ;intl.default_locale =
    3 K: t: q' m  z- k3 y: Y# f
  965. ; This directive allows you to produce PHP errors when some error1 M& L* q$ l3 h2 p) g; f( U
  966. ; happens within intl functions. The value is the level of the error produced.7 R  Z/ i2 Q0 e, I. O# R6 i9 B
  967. ; Default is 0, which does not produce any errors.
    1 D' U  L  F* |, r; [8 J  {: e
  968. ;intl.error_level = E_WARNING
    3 o; @6 f) A: G$ n8 z2 }3 g
  969. ;intl.use_exceptions = 0$ s+ b3 M" h7 k, S. R2 l
  970. : W0 W9 k$ X# A1 k1 {9 Z$ p9 Q
  971. [sqlite3]
    - j6 \3 N) E3 k% t
  972. ;sqlite3.extension_dir =
    9 \5 }0 W; v7 t& }- m0 v0 p

  973. 3 l1 G0 [% s2 o) s& j5 N" I8 D
  974. [Pcre]0 F* i+ r2 p. X( A$ v
  975. ;PCRE library backtracking limit.
    - z8 G6 A$ l8 U, E$ E( e
  976. ; http://php.net/pcre.backtrack-limit) J# _& J" y! m; }5 u# J
  977. ;pcre.backtrack_limit=100000
    % p6 X2 n9 m$ Q# E, q" H8 x

  978. 6 i8 o% J/ N# L8 L  N# f( s
  979. ;PCRE library recursion limit./ T1 S3 E' k' m1 F
  980. ;Please note that if you set this value to a high number you may consume all
    1 Y% m- y) Q( Z# K3 x
  981. ;the available process stack and eventually crash PHP (due to reaching the
    + L7 _- b  T- [! B! G5 i1 b
  982. ;stack size limit imposed by the Operating System)./ {+ v% O' T7 X; |& r" W
  983. ; http://php.net/pcre.recursion-limit) F5 O/ V& C' ^9 K- F
  984. ;pcre.recursion_limit=100000, t0 I) ?, H& X- E# x

  985. 4 X3 v( v3 W9 r  b
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    % }% w! ?7 q, U1 a8 q, c# o2 F, t
  987. ;library to be compiled with JIT support.+ k" d  O( e) i$ u
  988. ;pcre.jit=1( B: n7 e1 X. J* |  Y+ K

  989. 8 H* w+ f" [3 Y: s% T/ y5 G0 g
  990. [Pdo]; c! F0 d( T; ^8 }$ V
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    # g6 q6 o3 ~. N  j# Q/ I
  992. ; http://php.net/pdo-odbc.connection-pooling6 I5 X* k& W2 ~6 i; {/ J, d
  993. ;pdo_odbc.connection_pooling=strict+ Y, x2 e2 K. X

  994. # U5 f- g. C) Q6 C. K
  995. ;pdo_odbc.db2_instance_name
    8 E" a+ J1 W* t+ \! k# M; u$ V
  996. + D% {! B! f$ e: L& o. y" F4 c
  997. [Pdo_mysql]: M+ B! X& p& {! h+ g6 z& b
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . z. T/ a2 x. j
  999. ; http://php.net/pdo_mysql.cache_size
    + k5 d$ y0 H6 I3 H4 U! v
  1000. pdo_mysql.cache_size = 2000
    : {  x1 q6 K  ~3 p( G
  1001. " f3 @$ P2 Q& `- \7 x1 c/ y
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in# ]3 P2 ^1 c8 z: [1 S; h: s3 l
  1003. ; MySQL defaults.. L+ C$ {  d$ ~; A2 g2 _
  1004. ; http://php.net/pdo_mysql.default-socket
    " _5 I) |# d* l" R% K; \
  1005. pdo_mysql.default_socket=7 F' n4 P3 K% w4 C3 o' _
  1006. 5 K5 ?7 @5 Q1 P. J- r1 A
  1007. [Phar]
    " E5 a% k+ D( K) ^3 g2 J, ~6 t# x
  1008. ; http://php.net/phar.readonly
    9 [3 }  n6 @4 ~- {& q$ _
  1009. ;phar.readonly = On
    1 f- |2 K) G; d9 G# ]
  1010. / }2 L7 N6 ]: p0 D! |9 n$ h+ y+ D( E
  1011. ; http://php.net/phar.require-hash2 c" h* k! K/ {$ c( g
  1012. ;phar.require_hash = On/ h: y- A, F" I
  1013. " S! {* k' h. X: k4 T* o
  1014. ;phar.cache_list =
    - @+ b% v+ @& B$ @# K! l! p

  1015. * P+ x8 s% S& C; H! m
  1016. [mail function]
    1 A. v, j& f; v
  1017. ; For Win32 only.
    - H, {5 n8 T* o) Q# H& ^
  1018. ; http://php.net/smtp$ s! L0 j# p1 c+ q9 l
  1019. SMTP = localhost; ^' C* c( B; X( o& C$ x" ~/ E- ~: R, l
  1020. ; http://php.net/smtp-port
    ' j: |3 }$ u1 t% ^5 B: ]' e
  1021. smtp_port = 255 Z; h$ @) K# h# \5 u& R. ?

  1022. ; D3 Z$ q* O+ A1 @
  1023. ; For Win32 only.
    6 x9 x9 @* M) R3 @& g! n
  1024. ; http://php.net/sendmail-from2 |8 x+ N! l& Q+ }
  1025. ;sendmail_from = me@example.com  T; [. O& ]) G. b: {7 J; F

  1026. + C! \4 p$ O6 _) \9 c+ o7 P
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").$ n) C3 ^; s, w$ O" @3 i
  1028. ; http://php.net/sendmail-path
    . ^* L& q) p. U
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    3 k- v$ V' V2 c& f6 X9 h
  1030. 7 }4 a8 K. i& G/ \
  1031. ; Force the addition of the specified parameters to be passed as extra parameters* G: y7 X( H" S' g! @9 H) k9 o+ _! Z
  1032. ; to the sendmail binary. These parameters will always replace the value of: v+ {4 [$ \" h$ g" C1 B
  1033. ; the 5th parameter to mail().
    ' O4 \% m% ?$ s+ n% ~: b+ g4 m
  1034. ;mail.force_extra_parameters =9 d+ s# n- e: ?0 q; q

  1035. : J. {: n# ~; P/ K! |
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename, P2 C- g8 i) H  M$ U' q
  1037. mail.add_x_header = On% U! Y% G- C6 O9 y( L+ R* P

  1038. 3 P: A; b1 K0 Q8 }1 j
  1039. ; The path to a log file that will log all mail() calls. Log entries include% d9 E: I* k) B) ]1 c+ V. M
  1040. ; the full path of the script, line number, To address and headers.0 C& S. A8 s6 Y' W( s0 P/ |
  1041. ;mail.log =/ L! d" k. w7 j$ F* x4 }
  1042. ; Log mail to syslog (Event Log on Windows).
    % }4 G( T+ b/ G5 y: }5 P
  1043. ;mail.log = syslog
    3 n" L- ^" M; t" g/ z

  1044. : u$ g' `0 C  f+ s2 D5 [; H- U
  1045. [SQL]
    / S$ Y  ~/ m6 E- M$ M3 M
  1046. ; http://php.net/sql.safe-mode+ u+ E2 @: Z) Q" C/ K
  1047. sql.safe_mode = Off( h  z# r) Q; D" U6 g' P0 O% v

  1048. % v5 _/ ?6 V* ?# L% K1 |
  1049. [ODBC]; B# K9 @1 a" l- l
  1050. ; http://php.net/odbc.default-db; x$ S( N" o" }2 g9 w( `- |
  1051. ;odbc.default_db    =  Not yet implemented
    ; H5 V2 m/ C7 b3 m' y% b

  1052. 5 U/ K. p/ m9 s, O. k
  1053. ; http://php.net/odbc.default-user: Q, X. p) h4 ]! }, y' H' q/ o
  1054. ;odbc.default_user  =  Not yet implemented0 W6 N2 d3 v* A0 ?6 m$ D- F
  1055. * q% C* c5 l4 w: S6 b# n6 j
  1056. ; http://php.net/odbc.default-pw
    4 s: W1 [2 p% S/ m0 ?  W
  1057. ;odbc.default_pw    =  Not yet implemented" L$ Y- {+ @$ X0 A2 Q8 @

  1058. : K6 y0 x5 P0 C* j
  1059. ; Controls the ODBC cursor model.
    % ]$ M( z7 @+ y  n6 g  Y9 H$ `3 {
  1060. ; Default: SQL_CURSOR_STATIC (default).# _: l. Z6 S  A7 d7 |3 V8 B' ~: }
  1061. ;odbc.default_cursortype
    " U# h+ ^6 R7 y( C! @/ d8 W

  1062. * i2 I: X; h1 K, ~4 [3 E* q
  1063. ; Allow or prevent persistent links.' A% o* _/ |" C6 q# y
  1064. ; http://php.net/odbc.allow-persistent
    0 y: t) X( I) M
  1065. odbc.allow_persistent = On5 D7 O/ |. u. `

  1066. ) c, ~+ O8 }, z" g9 V/ ~) V" E  K9 X
  1067. ; Check that a connection is still valid before reuse.7 `, `, Y( ~+ ^3 K- R6 h( G  i3 g5 P
  1068. ; http://php.net/odbc.check-persistent% ?3 O$ H, Z* u5 [" a- y
  1069. odbc.check_persistent = On
    ) c3 v6 M( }$ M+ f0 q

  1070. ! Q9 H  s. ]/ ?% K2 l
  1071. ; Maximum number of persistent links.  -1 means no limit.! }" g# C0 w- s+ U. \1 ^
  1072. ; http://php.net/odbc.max-persistent. a3 R8 @' R+ C$ P& B
  1073. odbc.max_persistent = -1, i% W9 D7 J& [6 p' Q- C

  1074. 9 E2 C# V+ R: J) ~( Q$ V4 Z
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; d8 {( _0 Y2 f* f( @* f
  1076. ; http://php.net/odbc.max-links
    " F: T! Q* `, |' i
  1077. odbc.max_links = -10 D! p4 s  z2 S0 V1 m
  1078. " P# b6 F1 Z& ?8 g2 d; m
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means" l$ [% a* y+ O, d
  1080. ; passthru.6 t7 N0 e* p6 C# f) |5 K
  1081. ; http://php.net/odbc.defaultlrl5 x9 ^! Z  Z; p- c
  1082. odbc.defaultlrl = 4096& C( b" T$ b, V8 d6 m

  1083. , S5 X, ~4 J* b( l9 H1 [
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.& e& j. X: E- x# n* u
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation4 i( A; [1 E2 z1 m0 R0 i' u
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode4 l+ f& J# x% \" ^: s  M! `
  1087. ; http://php.net/odbc.defaultbinmode6 Q8 t* E$ h! I+ g
  1088. odbc.defaultbinmode = 1
    : a4 Y# q5 J+ U7 ~: o. l3 I' k8 T: P
  1089. , r) F$ [1 o; K3 }$ _. _2 D
  1090. ;birdstep.max_links = -1
    * |8 }$ M+ X0 ]5 {
  1091. 8 `9 F* a' C' _& @* j' C- l+ c
  1092. [Interbase]
    2 ?/ z  m% f/ d# g- E* o# c2 U
  1093. ; Allow or prevent persistent links.
    ( J1 {4 {: R$ h5 }: _! i, x3 |
  1094. ibase.allow_persistent = 1
    $ }! {# z! `1 X! b3 E4 ]
  1095.   X+ D$ u) ]7 T
  1096. ; Maximum number of persistent links.  -1 means no limit.
    6 B6 H9 X/ o& A6 K# {# q$ r+ P( J
  1097. ibase.max_persistent = -16 p( N; h: U  @" S& y" \9 x0 n
  1098. 6 Y! A, e* O4 t. y$ I$ A
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& ^4 ]! N1 H2 |  c/ }+ c+ ?
  1100. ibase.max_links = -1! A: q8 g0 z2 j5 o3 T4 A
  1101. 5 I$ w9 D8 V% i$ F4 l
  1102. ; Default database name for ibase_connect().0 J" M  `9 a/ v6 X" r
  1103. ;ibase.default_db =% B0 E- d3 a1 u8 Y' `
  1104. : g) o5 d2 I+ p5 N8 V' v
  1105. ; Default username for ibase_connect()./ ?5 G$ B8 e  w4 |# L
  1106. ;ibase.default_user =
    " {! E% k' l6 ~8 ^4 g
  1107. ' z, H( U) y. ]2 i( u( Q
  1108. ; Default password for ibase_connect().1 _8 ^* _0 o6 \
  1109. ;ibase.default_password =% O# k5 N5 `7 `

  1110. % j7 \4 t6 Y; o% e6 j
  1111. ; Default charset for ibase_connect().
    ( V5 Z% t  ]# b5 W
  1112. ;ibase.default_charset =
      a/ _6 d# X: l& `
  1113. " U0 t* r$ Q2 P$ A- [5 r
  1114. ; Default timestamp format.
    8 t  C" N, m9 Y; v! P
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    5 O& J3 l# V* f3 r; b
  1116. 7 U  G) o3 n/ A2 e+ o5 E
  1117. ; Default date format.
    : n, `1 l4 \5 C) h
  1118. ibase.dateformat = "%Y-%m-%d"
    8 n* x* P% _5 G' H# _# d

  1119.   A0 o7 T: N: o4 F+ }
  1120. ; Default time format.
    # X2 M( |; B( }6 W
  1121. ibase.timeformat = "%H:%M:%S"
    8 x3 o3 E3 f, l* ]) l

  1122. " f2 E. w0 T, B2 @
  1123. [MySQLi]
    ' i' o; ]1 _  y* E

  1124. # [& O# a0 K. d) S7 X, _/ V" |
  1125. ; Maximum number of persistent links.  -1 means no limit./ O) E' w- r" |5 q- X
  1126. ; http://php.net/mysqli.max-persistent# ]5 M$ I& a4 x$ q
  1127. mysqli.max_persistent = -1( g5 s7 s# ~/ H/ z% \. [8 Y
  1128. , e9 k$ z" F) c$ P. V3 |3 F
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    : d9 Q% m) r2 ]+ W
  1130. ; http://php.net/mysqli.allow_local_infile
    ) ~4 M% x7 z0 [; ?0 l9 C
  1131. ;mysqli.allow_local_infile = On
    5 I7 I2 o2 o, F) A) |. U7 C
  1132. " W  {$ t, ?! o6 K3 V
  1133. ; Allow or prevent persistent links.7 H  n5 X$ p9 a9 b8 N$ F% b. R
  1134. ; http://php.net/mysqli.allow-persistent
    1 H. P: z* B# W: e) _- [+ Y
  1135. mysqli.allow_persistent = On% e2 g& v8 O0 o; S/ B
  1136. ( f5 U( W8 }8 \4 L$ K- h9 y
  1137. ; Maximum number of links.  -1 means no limit.  e+ a+ w( ~' G1 E2 \6 u5 W' y5 Y( T9 f
  1138. ; http://php.net/mysqli.max-links. y( R, h9 D; E1 t7 s. q
  1139. mysqli.max_links = -1" X& O6 l/ \) M, s+ E5 Z

  1140. ' ?$ t3 O8 ^$ v; D: q1 v* S4 B
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache# l- B6 F$ p' m6 }2 d
  1142. ; http://php.net/mysqli.cache_size
    * ?( a  f' F2 @
  1143. mysqli.cache_size = 2000
    % w$ ~# r' D+ H& {. I

  1144. 4 O# y4 M3 D: Q) X$ ~$ ~
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ' g8 |! U$ k/ o0 `; Z  f
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the" k/ o! C! M: ^/ Z+ D8 @  p
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ' N2 y5 V( l! E) c; \! y
  1148. ; at MYSQL_PORT.
    ; Q% ?  W: M; y( ?  I
  1149. ; http://php.net/mysqli.default-port
    ( E) A! A5 O1 g1 @% ~5 ^: b' f
  1150. mysqli.default_port = 33062 U. Y" b2 n( I# a# U( @6 s

  1151. ' g! M) }* R+ f& P( m
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 d9 P& V" }$ [4 ]2 |
  1153. ; MySQL defaults.8 u2 ]' r, [+ e9 b; x; @/ {) b$ b
  1154. ; http://php.net/mysqli.default-socket
    ! C+ _1 f" ~- ]- }
  1155. mysqli.default_socket =3 ~2 [  P. v+ K4 \: L( d

  1156. & Y) }( h. r7 V; K& D
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode)." k' s7 o6 g9 l+ V% [, o. s9 f
  1158. ; http://php.net/mysqli.default-host$ k) C! E# z/ b/ H
  1159. mysqli.default_host =& p. i5 _' C) f  V5 v( ~
  1160. 1 u0 `& j8 J5 h' t6 V7 S
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode)., F0 |  T  H- p8 P
  1162. ; http://php.net/mysqli.default-user+ G7 s9 `4 t3 t( D- k+ Z
  1163. mysqli.default_user =, V  Y4 e) N# ]1 m9 ^# ]$ u2 W
  1164. 0 Z! B" u8 z: o+ L, |# ^9 L# m
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ; V1 H( c, Z: Z/ \6 C/ o
  1166. ; Note that this is generally a *bad* idea to store passwords in this file./ D; v2 M* N/ C9 H' E3 [
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    : n3 C: u3 a, b; E
  1168. ; and reveal this password!  And of course, any users with read access to this
    ( ^% }9 ?. ?4 b( {) k( B
  1169. ; file will be able to reveal the password as well.$ V! A8 U/ O! Y6 t3 v) F# G0 O. `
  1170. ; http://php.net/mysqli.default-pw- P9 V# f5 _+ P+ u  }, ]. M6 D  L
  1171. mysqli.default_pw =
    : ]6 D2 }" I+ C: g8 j3 c# V2 f

  1172. , P) W7 e5 O( y2 h! ]( s. d, @, t
  1173. ; Allow or prevent reconnect8 O3 `% x7 U: c' Y
  1174. mysqli.reconnect = Off
    0 s2 ^+ G, P$ e2 \* v
  1175. # r1 b6 J  ^( H9 ~/ {) e# K
  1176. [mysqlnd]
    % p! y+ h" E6 w3 I+ w) M8 C" C
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be2 i% T6 U2 W# O5 Y9 c7 p5 _
  1178. ; used to tune and monitor MySQL operations.
    3 s/ I& {; }9 }3 v" K) E. `" G
  1179. ; http://php.net/mysqlnd.collect_statistics5 _1 V. g' N! h2 F
  1180. mysqlnd.collect_statistics = On( u5 k, z( }' ~% l) }3 M& k% ~

  1181. 9 O6 m, l0 {) G% L
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be4 N2 o# d$ B: t$ K; u
  1183. ; used to tune and monitor MySQL operations.* J. G% |1 E4 _" b
  1184. ; http://php.net/mysqlnd.collect_memory_statistics+ U7 Z$ J$ F; P5 n
  1185. mysqlnd.collect_memory_statistics = Off$ y# L9 K* y( ^7 {: n4 Q7 q
  1186. 2 f& T4 T2 ], N
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    , U9 X3 K% t: d4 ~& P" j; ^* h8 U
  1188. ; file.
    # l; ^% F( n. u. F" A
  1189. ; http://php.net/mysqlnd.debug6 ?0 \. v" |4 j  T& ?% `. ]  E
  1190. ;mysqlnd.debug =0 S" |3 n. I% k7 Q- r) D5 o4 w4 j

  1191. 2 f- }+ M% r% V0 u) C
  1192. ; Defines which queries will be logged.
    3 t( C1 N# _+ d. |) ]7 }
  1193. ; http://php.net/mysqlnd.log_mask* [5 b; U- Y' K. w3 F$ K; {
  1194. ;mysqlnd.log_mask = 0% m" U3 t$ X" p3 X
  1195. ! x3 l* I" P4 U( S
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.# N: \& s/ b4 N2 x' Q3 p8 S
  1197. ; http://php.net/mysqlnd.mempool_default_size, W# g5 ]! O: \" K* |* l
  1198. ;mysqlnd.mempool_default_size = 16000
    , ?. Q  M+ H9 u, |4 a% e

  1199. - Y8 Y# Q% C* D4 R- _; W+ D( j3 n+ b
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    2 D0 e' ~- s  a5 T8 [
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    0 c2 G3 E6 N9 Z$ W
  1202. ;mysqlnd.net_cmd_buffer_size = 20481 ]* s" ^/ E& }! G( s! m# Y. _8 x, C

  1203. + ?2 T! D" L5 r
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ; E# @( Z3 I; A* C
  1205. ; bytes.8 k+ N* d# Y% W& B' G5 r# X9 K# X
  1206. ; http://php.net/mysqlnd.net_read_buffer_size0 `; Y8 }0 w$ f. f# r
  1207. ;mysqlnd.net_read_buffer_size = 32768
    + F/ R5 R! H- z8 D5 e

  1208. 7 ]- p$ X( q/ B* {% G; _' f! K4 E! W
  1209. ; Timeout for network requests in seconds.
    & F; _7 A1 E7 D1 J5 i, o' h
  1210. ; http://php.net/mysqlnd.net_read_timeout  g# U/ _% D* T+ C: a+ [: P
  1211. ;mysqlnd.net_read_timeout = 315360009 Z8 z! A5 c% r1 d7 p$ d9 B
  1212. ' D5 y" ~6 `+ B) v  H) v, P! |
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA, ^& X* z) n$ G7 O# q. B8 i7 z
  1214. ; key.
    / \& J, t3 G, r
  1215. ; http://php.net/mysqlnd.sha256_server_public_key5 W' F0 x' C# ~5 `, z1 u
  1216. ;mysqlnd.sha256_server_public_key =
    7 B+ Z* l4 p" d- q
  1217. % s" g9 f6 H  l& f! ~& v; `3 O: o
  1218. [OCI8]
    & w+ n; c/ ]/ O' N

  1219. % O% P! J* I7 P0 `! B' l: t
  1220. ; Connection: Enables privileged connections using external: d3 {# x: L+ R/ A+ O; w
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    9 j% O# H" @' d9 f4 W: H
  1222. ; http://php.net/oci8.privileged-connect% k8 ], o$ o3 P  |6 N/ {
  1223. ;oci8.privileged_connect = Off
    " `* m( `! V! b$ j6 K- |) T

  1224. + \! t2 L7 S" I6 m
  1225. ; Connection: The maximum number of persistent OCI8 connections per% q* R( U# q2 ^+ b# w  s9 f# c
  1226. ; process. Using -1 means no limit.- _# W1 V2 @9 p2 o7 h8 b/ C" `) T0 i4 Z
  1227. ; http://php.net/oci8.max-persistent
    + i/ ]9 v1 K! f* u- N- f) I
  1228. ;oci8.max_persistent = -1  y. ]( n; D$ m2 i0 |

  1229. & K! Z; w6 t% i* G
  1230. ; Connection: The maximum number of seconds a process is allowed to' E6 U9 }9 j/ w2 t7 [
  1231. ; maintain an idle persistent connection. Using -1 means idle+ I9 p% `- K+ t4 D' b+ m
  1232. ; persistent connections will be maintained forever.6 ^6 N: ^9 Y  v
  1233. ; http://php.net/oci8.persistent-timeout1 e( ]" q" r7 O0 j+ [# {
  1234. ;oci8.persistent_timeout = -1
    7 k& a4 s- S  Y9 [" }7 f, s0 x: _
  1235. ( U9 S! T. U: o$ I& A0 Z5 C
  1236. ; Connection: The number of seconds that must pass before issuing a: N, [6 v* ~9 P1 X$ }  e% v
  1237. ; ping during oci_pconnect() to check the connection validity. When
      @$ R8 a/ _2 e2 _, k0 T1 i9 l
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables; W# k4 [4 N- j/ F
  1239. ; pings completely.
    ) ~3 S! y0 u3 n2 f/ F% D( e
  1240. ; http://php.net/oci8.ping-interval; b" @% g; U; R8 e6 J* d
  1241. ;oci8.ping_interval = 60
    . ]5 {" R( }, P

  1242. - ?" Q! Q6 J" `: p. J/ A
  1243. ; Connection: Set this to a user chosen connection class to be used
    6 o2 f3 U, a9 Q5 l
  1244. ; for all pooled server requests with Oracle 11g Database Resident( g, W' u3 B3 R
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to" y7 S4 \. e, _
  1246. ; the same string for all web servers running the same application,
    + U/ S: g7 ^3 k9 c- {+ V0 I* E0 g# y
  1247. ; the database pool must be configured, and the connection string must7 O, X3 ~% T1 r7 F6 U
  1248. ; specify to use a pooled server.
    3 L% {0 \* M9 X+ c2 A! R! j
  1249. ;oci8.connection_class =' S$ M5 W' n8 R0 C1 N
  1250. : s9 u  O  z; [1 D" G3 B# L1 _
  1251. ; High Availability: Using On lets PHP receive Fast Application& z5 K* `1 t8 L/ b& K
  1252. ; Notification (FAN) events generated when a database node fails. The
    % j* Q+ @: P5 C. u3 z* Z
  1253. ; database must also be configured to post FAN events.
    4 U# K' r7 }* U" E: z
  1254. ;oci8.events = Off
    ' v# ]+ Z" G3 x( E6 [
  1255. 9 ^; g$ }8 Y7 v/ \5 l! f) e1 `
  1256. ; Tuning: This option enables statement caching, and specifies how
    - }) q1 U) |9 x+ X3 d& P/ H1 Y8 t
  1257. ; many statements to cache. Using 0 disables statement caching.
    7 i9 z6 r- a+ A3 M1 s4 _4 j
  1258. ; http://php.net/oci8.statement-cache-size
    4 q/ u8 O- }: n0 Y" q1 H
  1259. ;oci8.statement_cache_size = 20
    7 k8 ?" Q9 p! l

  1260. ' I2 Z  _3 ]1 }$ T
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    $ `4 w, M2 k( I5 d* M2 }
  1262. ; rows that will be fetched automatically after statement execution.; q9 ^. `, {8 k$ z
  1263. ; http://php.net/oci8.default-prefetch5 q. a  H& d# ?6 I# q' A% G! P
  1264. ;oci8.default_prefetch = 100
    % f. M) o9 ?! I2 D
  1265. 0 O( p8 S4 I& p$ B6 @; R
  1266. ; Compatibility. Using On means oci_close() will not close
    * g2 u, I1 y' Z1 U% ]8 _/ D5 ?
  1267. ; oci_connect() and oci_new_connect() connections.5 Z4 t0 B+ D. y9 @1 l
  1268. ; http://php.net/oci8.old-oci-close-semantics
    - ?1 R5 R/ J! f# C
  1269. ;oci8.old_oci_close_semantics = Off
    5 `$ Z! O1 V' x5 p

  1270. # n  s1 f( n9 F8 _5 v2 L
  1271. [PostgreSQL]
    . r/ U# ?% K8 d4 _  c- i
  1272. ; Allow or prevent persistent links.
    9 r- W$ Z8 @3 P$ R/ A4 H& b
  1273. ; http://php.net/pgsql.allow-persistent
    8 T4 l0 ^9 V$ V7 W( b: ]
  1274. pgsql.allow_persistent = On- X2 p3 L4 Z9 p; V, W% U

  1275. 1 D; S( }1 u2 l2 u' U
  1276. ; Detect broken persistent links always with pg_pconnect().! _! U( _3 @% V2 r* W( ?0 f
  1277. ; Auto reset feature requires a little overheads.# P& n# @3 u* _; |. T2 y6 x
  1278. ; http://php.net/pgsql.auto-reset-persistent
    - p- ~$ x7 u; A0 l2 s- @' J
  1279. pgsql.auto_reset_persistent = Off5 @9 q/ o: K. [# D

  1280. # i  T! a* m3 A
  1281. ; Maximum number of persistent links.  -1 means no limit.
    $ O' c% j  y. f: L# T1 e4 x( T
  1282. ; http://php.net/pgsql.max-persistent
    1 P, d1 |& N# O8 y) m
  1283. pgsql.max_persistent = -10 \8 G6 c6 T/ W' d% {3 S

  1284. 2 R! O/ j. f% [  E# q7 B
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.: \. `9 |; A+ n
  1286. ; http://php.net/pgsql.max-links2 V1 G+ ^; L* U2 c4 x- z
  1287. pgsql.max_links = -1
    # o$ U8 o# s2 s, ~3 w
  1288. + M# s& ]! f% b  n" U3 ^; }
  1289. ; Ignore PostgreSQL backends Notice message or not.: W  @0 I8 q5 l& x( b# c
  1290. ; Notice message logging require a little overheads.
    ' I7 |% B* z+ M) E
  1291. ; http://php.net/pgsql.ignore-notice4 I6 A! d- h* u5 c7 D2 L0 w$ |
  1292. pgsql.ignore_notice = 0! L, \  ^- i1 `0 G5 N3 a6 I
  1293. 1 y( f" k- D0 f; S3 K: X6 v* g
  1294. ; Log PostgreSQL backends Notice message or not.
    / h" G1 N) g4 a1 d
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    5 t4 @/ W% {- i( N
  1296. ; http://php.net/pgsql.log-notice+ q1 A; o6 h) S
  1297. pgsql.log_notice = 0
    ! j" ?# w( z. Q; P) n0 n: B

  1298. . q: D5 I# S. N  G' I- j
  1299. [bcmath]
    $ s8 V" C1 e" `
  1300. ; Number of decimal digits for all bcmath functions.- w* E! H& ?; q! r( l. G
  1301. ; http://php.net/bcmath.scale, h2 ]* V$ x$ u6 q2 \% Z
  1302. bcmath.scale = 0
    ( A, c( v; r. u, E9 p
  1303. & @2 H0 }, l# V" }+ ^1 c
  1304. [browscap]9 h  O- K8 q0 L/ N. w# |
  1305. ; http://php.net/browscap
    2 \/ {- U1 i( X/ w
  1306. ;browscap = extra/browscap.ini
    - L7 w, R6 O4 E9 J0 I# n* m
  1307. " \/ Y2 x9 l! c# l6 |1 S1 V
  1308. [Session]
    6 g' T+ e; j( Y8 e+ ]! d) H8 F
  1309. ; Handler used to store/retrieve data.8 \6 V  X* f  R4 y+ a! v) S
  1310. ; http://php.net/session.save-handler
    6 W4 M. ?8 S3 N+ z
  1311. session.save_handler = files8 A4 C" y9 M4 k8 l
  1312. / V  ~* z7 s! z9 F3 R3 t+ Y
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    & [, H8 Q/ n, K5 M% {& {
  1314. ; where data files are stored. Note: Windows users have to change this
    7 j7 x( Y* B+ M0 _+ O; W4 ~$ E
  1315. ; variable in order to use PHP's session functions.  H# E. t3 r$ f) D8 h; m
  1316. ;
    " I8 r  l" d; V) r
  1317. ; The path can be defined as:$ k5 t. n) O& M* V* F
  1318. ;5 v( ~$ z9 `' [/ n! ?
  1319. ;     session.save_path = "N;/path"# \2 t* d% s7 }/ w) ~
  1320. ;
    9 X& l7 q6 ?  D" z' o( [/ W
  1321. ; where N is an integer.  Instead of storing all the session files in; l6 u, D5 ]; b% {, m! ~9 d
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    1 }' [4 D" C+ s& |
  1323. ; store the session data in those directories.  This is useful if
    5 a7 q* x* g: v& R3 K+ M
  1324. ; your OS has problems with many files in one directory, and is/ ~2 z! g) F3 Q# |
  1325. ; a more efficient layout for servers that handle many sessions.
    + V# g$ a1 |4 P$ z0 F1 B3 d* M1 O
  1326. ;
    1 j/ m; v: ]0 T: ^: X/ c% o4 ^
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    * d' E* c/ J; U% N
  1328. ;         You can use the script in the ext/session dir for that purpose.
    8 L& i3 X) U! D3 r4 o2 D8 i$ F
  1329. ; NOTE 2: See the section on garbage collection below if you choose to2 @, f5 h) e5 W/ {
  1330. ;         use subdirectories for session storage
    & z# y$ q9 M- `& s
  1331. ;: }( X& v4 ]2 X' K0 ~/ `6 K; R
  1332. ; The file storage module creates files using mode 600 by default.
    5 }7 t) W( `, A6 X
  1333. ; You can change that by using
    0 M) g# U0 @0 I$ V! D1 r
  1334. ;, z* a) {3 R/ w! e" U
  1335. ;     session.save_path = "N;MODE;/path"0 g% ^1 h7 v1 x+ d$ o' r( M
  1336. ;2 V1 @" |3 L& X/ B- X
  1337. ; where MODE is the octal representation of the mode. Note that this
    9 f, ^( i; e" P% A; i$ @: C6 y
  1338. ; does not overwrite the process's umask.. e0 T5 m7 Y( r0 c
  1339. ; http://php.net/session.save-path
    $ Q: r# P( D# H+ b/ u" Q
  1340. ;session.save_path = "/tmp"
    * W0 L1 m0 Q( H( N: ~
  1341. 7 H4 j$ k5 I+ w9 G4 H
  1342. ; Whether to use strict session mode.
    ) q# W' q  U: |0 y2 A; b, i' o* |
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ' R- U: K! F* s7 p# H2 J
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    + M7 J, n( `* B* N% q7 \, f& O
  1345. ; applications from session fixation via session adoption vulnerability. It is
    0 d+ I0 P5 X/ L! H3 R' b
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    5 v2 r( F9 {" j0 b. N" t
  1347. ; https://wiki.php.net/rfc/strict_sessions2 {% \9 j$ B* N* s8 J4 Z
  1348. session.use_strict_mode = 00 l( \. H& J0 Q2 e# }+ v1 R

  1349. , X# T. o$ d. e# ^+ `" S
  1350. ; Whether to use cookies.3 T8 b" v3 L; i
  1351. ; http://php.net/session.use-cookies( l7 z( v7 L% P+ Y
  1352. session.use_cookies = 1
    * Q' k) @/ o7 |' ^

  1353. : k& X2 t0 o, T2 J; U, x0 `9 U
  1354. ; http://php.net/session.cookie-secure3 Q4 u6 M- X' B, b3 h  k2 f- X
  1355. ;session.cookie_secure =0 _0 s6 Z0 H' t# }# b2 O" g

  1356. 4 H) s& H6 K, r7 P
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining/ w/ T+ u7 d1 U2 m
  1358. ; the session id. We encourage this operation as it's very helpful in combating) K" M0 E  {. N" Y
  1359. ; session hijacking when not specifying and managing your own session id. It is
    + v& L3 o3 o/ L, E* m
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    # j: A0 E8 D+ C& V
  1361. ; http://php.net/session.use-only-cookies
    ; u6 y/ {2 f' G% w9 {
  1362. session.use_only_cookies = 1
    ; U  }3 }& U# C. s% o7 q' m+ Q
  1363. # _& l  x) V: A! ]+ O5 c5 p5 ]
  1364. ; Name of the session (used as cookie name).' S3 y: k$ `6 x6 Z2 {
  1365. ; http://php.net/session.name
    $ O0 `% K2 |3 h  ]. P3 l
  1366. session.name = PHPSESSID& ^3 g$ M; A9 E$ C% l" @4 u
  1367. ( g: _3 \+ [$ n* @( J
  1368. ; Initialize session on request startup.6 |5 W: v$ }  L' N
  1369. ; http://php.net/session.auto-start' _+ m" k0 I6 h" G
  1370. session.auto_start = 0
    ( y9 Q% U9 e% i9 T8 g! ]

  1371. : D# l! B  ~7 [3 h) W& J1 ?
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted./ ~7 D& i- K, g/ G
  1373. ; http://php.net/session.cookie-lifetime
    ) J) n* C: M9 i' f
  1374. session.cookie_lifetime = 0, r3 d  @3 `; M4 d- g5 K

  1375. - a1 J$ ^1 \4 i
  1376. ; The path for which the cookie is valid.. d* ?$ S( |" y; s) Y2 J& n
  1377. ; http://php.net/session.cookie-path  s1 p+ W) r2 o% K  E
  1378. session.cookie_path = /
    # y# v: g- e2 V" ]
  1379. ( a" B: [$ l" n' o) ^: W* i! x# X
  1380. ; The domain for which the cookie is valid.
    7 I8 o! g0 ?& r2 O* `
  1381. ; http://php.net/session.cookie-domain
    7 W& K1 U" l/ z2 w- d9 {4 w# g
  1382. session.cookie_domain =
    3 M& F1 i! h7 G  D4 a# ?4 }& k; O1 C' H

  1383. & c% i" o+ Q2 N# a4 A
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.# f+ W* c. I8 F* L
  1385. ; http://php.net/session.cookie-httponly: a/ M1 S2 r- a
  1386. session.cookie_httponly =
    0 K1 S5 }% |4 W. m- d& ~! ?

  1387. 2 E. j7 E( G. d$ I; r
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.; I* P, V7 @+ A6 l* y
  1389. ; http://php.net/session.serialize-handler9 L8 t! n* ]" x& J
  1390. session.serialize_handler = php+ X$ ^4 ^3 b& S: Q! q+ {
  1391. - F, J/ D$ e9 V, ~- q8 n# F! m
  1392. ; Defines the probability that the 'garbage collection' process is started( }' x+ Q+ ~" g: g0 s. m
  1393. ; on every session initialization. The probability is calculated by using8 ?7 C$ C4 ^- e9 }, ~+ k" A
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator7 `/ N! l% r! h  A. M0 o9 P! D( |
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1$ D: L* W) A8 F8 i$ e/ ^
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ' Z4 o0 o$ S2 I* N# m* i& k
  1397. ; the gc will run on any give request.+ k6 E- ~: w, f* G3 a
  1398. ; Default Value: 1
    " Y1 j# G8 U/ g( B! Y1 f# j& ^
  1399. ; Development Value: 1
    - V' e8 c9 Q( E  t7 H& m
  1400. ; Production Value: 1
    5 F, M: c3 N* {) n) m6 c* m7 j
  1401. ; http://php.net/session.gc-probability
    ; T) j! x, ]+ Q. C  U+ t9 C; s
  1402. session.gc_probability = 1
    - b7 _2 ]/ Y  e4 `
  1403. - B* D9 B) m7 U5 T6 e
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    # d, o" b2 j1 ]  `! P3 ^, u
  1405. ; session initialization. The probability is calculated by using the following equation:
    , t! D( M/ t5 M/ L
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and0 M8 R) Z. b. Y+ b7 r
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    5 j& @* q5 y2 p# j' r
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    5 Z! x  k- E) {7 |5 n
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you8 t' g1 b8 Q/ e7 S* S- q$ F$ B
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    $ `6 i5 M3 b4 i+ Y2 M5 w2 y; i
  1411. ; this is a more efficient approach.
    4 q! t' q0 H" c2 K( A# ]
  1412. ; Default Value: 1002 K% S8 ^  v5 F. ]7 v+ l# @" p
  1413. ; Development Value: 1000- ^: J( X) S4 j: m+ y
  1414. ; Production Value: 1000
    & O8 n) [2 ?, }  R! c
  1415. ; http://php.net/session.gc-divisor0 n% ^" G. O1 X6 h, r" Y
  1416. session.gc_divisor = 10007 m5 v3 L& y- s- w

  1417. ) A% z% N& `* p5 B: O9 \, n; q
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and6 M1 S9 K5 G& W1 Q- _6 F
  1419. ; cleaned up by the garbage collection process.
    4 i+ B, ^) e. j* F
  1420. ; http://php.net/session.gc-maxlifetime
    / T% U" s6 r, F4 n/ c
  1421. session.gc_maxlifetime = 1440
    . ^' m& [, Q' ]) a* a: r/ V9 P
  1422. * K* m; u. ?1 E' o5 m5 T
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    ' ?1 A8 `! a) @
  1424. ;       (see session.save_path above), then garbage collection does *not*# a) x; \  P: G* ^* [
  1425. ;       happen automatically.  You will need to do your own garbage
    4 I8 A# o. p. f9 J! R8 Q8 l( l! w
  1426. ;       collection through a shell script, cron entry, or some other method.  \6 ?! K6 w. i" i+ s
  1427. ;       For example, the following script would is the equivalent of" h' H9 ]1 I2 ^4 U) o* j
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ) U& B+ B8 S5 R* K
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    , l# z2 I; n6 r* x+ b. z
  1430. / _/ H7 E3 r+ y# k4 K$ U
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    / O2 i" R4 T' M3 G" m
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ' O/ I' ~% }4 M; O8 ^
  1433. ; considered as valid.
    9 j8 d# a* M+ O# U3 K* p7 b$ A
  1434. ; http://php.net/session.referer-check- v& f5 v( Z/ J
  1435. session.referer_check =
    3 z* b% ~+ |) x, h- Q8 t
  1436. ( V/ @2 `- X5 D" u2 j
  1437. ; How many bytes to read from the file.( z& J, Y' m8 Y& U) S
  1438. ; http://php.net/session.entropy-length
    7 E% V2 R, x0 Q2 Z8 a
  1439. ;session.entropy_length = 32- h; G9 ~" m! h5 F# R% ?

  1440. 8 j% }+ X1 w$ e8 m. [3 p
  1441. ; Specified here to create the session id.( E0 \! m3 N( r6 a: K
  1442. ; http://php.net/session.entropy-file$ G! N+ l' [( M' i4 e* I+ h1 y
  1443. ; Defaults to /dev/urandom
    0 h4 t7 D9 u+ }0 _0 x
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom$ P0 {$ P1 k# Y5 m! F) \/ Y3 T# ?
  1445. ; If neither are found at compile time, the default is no entropy file.
    * Y# D" z. \, `5 W, Z/ h
  1446. ; On windows, setting the entropy_length setting will activate the9 A8 G7 R9 z/ }3 T" n( z* o
  1447. ; Windows random source (using the CryptoAPI)- e- Y* `0 r9 L7 b/ B
  1448. ;session.entropy_file = /dev/urandom
    7 i) Y" M, {1 |% }7 m) N

  1449. ; W  ^9 n3 c9 R  c' A! d  |
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects4 m. M1 O0 l5 A8 v5 ~$ c. N2 O
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ' S, i: J! }) ~+ j0 U
  1452. ; http://php.net/session.cache-limiter; w; q6 b9 k. s& L9 Z) i+ ]
  1453. session.cache_limiter = nocache9 N6 x+ d6 C5 t1 _3 @( ~% x
  1454. ) @& j2 H1 X* F6 E
  1455. ; Document expires after n minutes.9 e* S8 l& X6 Z0 v, `  o: Y+ \4 a
  1456. ; http://php.net/session.cache-expire
    1 r* x$ A  e. C9 J3 A. I
  1457. session.cache_expire = 180
    4 }( ?' e+ r7 i

  1458. - Z: k$ B$ E4 i- u4 [
  1459. ; trans sid support is disabled by default.. A- C' M  b* o2 `
  1460. ; Use of trans sid may risk your users' security.
    % ^- r( w3 @( v6 Y$ d6 |9 G
  1461. ; Use this option with caution.
    6 Q% v7 V( B* f: d- ~0 J. K3 Y
  1462. ; - User may send URL contains active session ID
    2 Y% D) n. C2 y6 ^
  1463. ;   to other person via. email/irc/etc.7 R1 R: I* g& [8 b  I, H
  1464. ; - URL that contains active session ID may be stored
    : v, s' P. O4 Y1 c' N/ \/ u
  1465. ;   in publicly accessible computer.
    + [4 p6 |* z( g. v' `2 Z
  1466. ; - User may access your site with the same session ID
    ( E: |8 g" t$ g2 _# ^2 M
  1467. ;   always using URL stored in browser's history or bookmarks.
    7 u4 o2 j4 A+ ~
  1468. ; http://php.net/session.use-trans-sid
    % ^, S) E' x0 j6 z4 _  G
  1469. session.use_trans_sid = 0
    ; ~8 o( _  B, g0 v6 S9 k
  1470. 7 |; j  H( ]6 D5 e. [9 K) D- `
  1471. ; Select a hash function for use in generating session ids.  k! i4 ]6 ~' P4 T
  1472. ; Possible Values9 H0 ?4 Q2 w! d9 h
  1473. ;   0  (MD5 128 bits)
    2 P) g8 Y. _% L/ p
  1474. ;   1  (SHA-1 160 bits)
    7 t, S9 e7 n* f- ]9 e
  1475. ; This option may also be set to the name of any hash function supported by
    : d% ^5 S/ X* \7 t3 T
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    , x- [- {* P5 |) }4 `7 @5 l/ |8 Z
  1477. ; function.
    ! E# E: @7 o- K( ]& z6 `1 J
  1478. ; http://php.net/session.hash-function
    $ ~: }" k9 Z. r- W9 M/ t4 }
  1479. session.hash_function = 0& ]- a3 w6 V; u, u8 F

  1480. . R9 `  G, P& C( M
  1481. ; Define how many bits are stored in each character when converting. X! u( V3 s  c7 o$ e" [. b
  1482. ; the binary hash data to something readable.7 l. X( z. I& W& q
  1483. ; Possible values:
    & f" {9 [/ B: W6 G8 D
  1484. ;   4  (4 bits: 0-9, a-f)( L2 [0 B0 A5 Y# V- E  F* n6 c
  1485. ;   5  (5 bits: 0-9, a-v)
    * A- x8 I( H; a$ C4 W% m$ [4 E
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    . \& d. t% o) Y; W" b, V9 R
  1487. ; Default Value: 4
    . Q" X( I4 V5 H3 q  |7 o
  1488. ; Development Value: 5
    + A; D! i" u* U3 E2 S+ n: s, ~
  1489. ; Production Value: 5
    , g2 V: y4 |5 s; G
  1490. ; http://php.net/session.hash-bits-per-character* w; M' D& e" r$ m: J& h# H5 A% s
  1491. session.hash_bits_per_character = 5
    $ i) B0 b6 \! z/ k$ V' Q, D3 p

  1492. ( ^- |- x: m3 H0 J7 T/ y! _6 [
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.7 J% @7 G0 E. y& \
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    7 p$ I: s. B7 l' r7 l
  1495. ; add a hidden <input> field with the info which is otherwise appended
    + p' N% m+ J6 d( B& n9 M
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    / I0 t, r, f5 I1 U, {9 E
  1497. ; Note that all valid entries require a "=", even if no value follows." d& S$ \* y0 y% K
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ( M1 p. @7 \" d( b( E  S0 z
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 h# `) O% ]$ K# |- O7 m
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( m4 N( u0 F' E  R8 M2 Y; H
  1501. ; http://php.net/url-rewriter.tags# h1 H5 ], ]" z
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"4 k; p3 B1 S1 o) Z

  1503. * `( ^; @; k, ^7 _. Y& j/ b
  1504. ; Enable upload progress tracking in $_SESSION
    * A5 c# w+ i% l: X
  1505. ; Default Value: On
    1 u- I) W5 X# i
  1506. ; Development Value: On0 Q3 u7 R8 ~9 M& S$ Q, ?
  1507. ; Production Value: On
    ! [$ \9 d: a2 V1 }
  1508. ; http://php.net/session.upload-progress.enabled$ [% h3 z* Y: j$ ~4 ?+ `* [
  1509. ;session.upload_progress.enabled = On
    ( F. ~" k1 p7 M6 V% u
  1510. 7 |5 S( H, g8 g' i" l9 @6 n* O
  1511. ; Cleanup the progress information as soon as all POST data has been read" Q/ N; h& ?) h2 c+ ]+ J: k
  1512. ; (i.e. upload completed).
    1 P! a  U& B7 k# P4 h
  1513. ; Default Value: On
    6 V# h- F# S" X; v8 ^: u6 |1 O
  1514. ; Development Value: On
    + f5 E9 r+ K+ j$ z1 P7 F3 |
  1515. ; Production Value: On) S9 F" u1 ^/ l1 X! t% l9 U
  1516. ; http://php.net/session.upload-progress.cleanup
    ( U7 ^6 x/ {' V' n4 ~. S1 I
  1517. ;session.upload_progress.cleanup = On
    $ P( {- X( @' ~! z1 R# l
  1518. 4 ^: G+ l+ f' L6 i3 g1 ?
  1519. ; A prefix used for the upload progress key in $_SESSION" c. U, a' W2 V. E, D' S) Q! @
  1520. ; Default Value: "upload_progress_"
    # ?- J- w8 v% _* b+ k) s
  1521. ; Development Value: "upload_progress_"
    ! K* j" T2 H/ O" O
  1522. ; Production Value: "upload_progress_"7 q8 N6 `, e* h' Y/ _& m) G' Y; s
  1523. ; http://php.net/session.upload-progress.prefix
    8 v$ o, X  ?5 S0 b% }* ?
  1524. ;session.upload_progress.prefix = "upload_progress_"1 Z0 C3 N5 T# f. o1 o

  1525. 6 H; C# ]( P) u
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    * _3 r5 [$ x6 T
  1527. ; containing the upload progress information- J7 u. n0 @+ ]/ i5 h7 F0 d
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"; ^+ Q  F$ S3 D# m; G
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . x( Q( C, |: t; T
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 Q4 J% {! g* L: j
  1531. ; http://php.net/session.upload-progress.name* k) ]7 y( \, n+ @9 S1 z8 x0 t
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"  }% F* [: x# }
  1533. 5 v' \9 f' @8 j! t0 N
  1534. ; How frequently the upload progress should be updated.
    9 z8 X6 r% W0 Q. w6 W% L7 q
  1535. ; Given either in percentages (per-file), or in bytes
    $ ]* |5 n) n. g' f; K
  1536. ; Default Value: "1%"4 |8 q6 r9 i# H4 ?7 g
  1537. ; Development Value: "1%"
    + c# |5 q  G# T
  1538. ; Production Value: "1%", {) M7 v. z% d1 Z
  1539. ; http://php.net/session.upload-progress.freq
    ) Y2 O1 N! I" G. f. M9 C9 y, c
  1540. ;session.upload_progress.freq =  "1%"& t+ S; O5 n/ V* w9 t$ x- b; l/ {

  1541. & y, r9 M, f0 r: V* P3 ]
  1542. ; The minimum delay between updates, in seconds/ K& k$ M9 m( f  {
  1543. ; Default Value: 1
    2 m# Q* O/ _) q0 y& n
  1544. ; Development Value: 1
    5 S9 L& W( L: O- M7 }2 c
  1545. ; Production Value: 1
    ( y& J& {; k. b( ~+ v8 Y: P2 ^6 |
  1546. ; http://php.net/session.upload-progress.min-freq
    6 ?, U+ S/ r( |/ Q5 X: k4 q0 c
  1547. ;session.upload_progress.min_freq = "1"3 v) V7 y$ {1 z1 I" s

  1548. - J- U% j' i& P5 U0 z  O0 i; g
  1549. ; Only write session data when session data is changed. Enabled by default.
    # o. N, R/ k" \6 G- v" y! M$ R
  1550. ; http://php.net/session.lazy-write1 t$ r# N6 f8 ~
  1551. ;session.lazy_write = On5 p: K' z3 m: p4 Y
  1552. ' b' ~* G+ n+ K
  1553. [Assertion]
    8 o( b, I2 K5 _5 _
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)6 Y- Y) k/ J, C
  1555. ; -1: Do not compile at all4 s/ _) |: F: K4 {
  1556. ;  0: Jump over assertion at run-time
    3 e- O* N4 y* _( h0 R
  1557. ;  1: Execute assertions* l% P& G' ?1 [
  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)
    2 b/ o  A) i* k- ]$ @
  1559. ; Default Value: 18 q7 T1 f8 n% Z' o; n& m
  1560. ; Development Value: 1
    ' E2 H# U0 H: F# N7 y8 z/ F6 b
  1561. ; Production Value: -1
    * K$ L9 ?! A" {
  1562. ; http://php.net/zend.assertions. |  Q  o2 d% S! H6 |# b
  1563. zend.assertions = -1
    1 S) c5 B6 B$ _! q- S9 J0 Q, r

  1564. , j  I4 C8 e" q( U: ~9 t6 c* W
  1565. ; Assert(expr); active by default.5 v7 n0 i( d# U
  1566. ; http://php.net/assert.active) _6 j, u- ]1 {1 }
  1567. ;assert.active = On
    ) n7 A) }2 N; o- c' j

  1568. ! j/ X1 {6 [$ d
  1569. ; Throw an AssertationException on failed assertions
    9 b% U+ V; H" J
  1570. ; http://php.net/assert.exception: F+ Y0 @$ X8 q- A" N; b
  1571. ;assert.exception = On
    + M( m) e# A/ s; o
  1572. / K& j2 r7 p$ `. S" W+ j6 j1 o
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active). O( i8 A" `2 x6 A8 L: B3 o6 O
  1574. ; http://php.net/assert.warning
    $ j) Y, ?+ b; [% t* E
  1575. ;assert.warning = On6 ^* J6 ~1 F' m

  1576. ' z8 C1 N* n3 [7 V3 H+ L
  1577. ; Don't bail out by default.' e9 G3 q) k4 D0 t& b: N, `
  1578. ; http://php.net/assert.bail3 D8 T8 l/ Z0 v
  1579. ;assert.bail = Off/ \& d" f7 l& X3 `% j  n9 E
  1580. 5 c3 N5 M5 G1 L
  1581. ; User-function to be called if an assertion fails.9 t' F# m9 f/ _& f
  1582. ; http://php.net/assert.callback
    7 L, y. b, A  r, {
  1583. ;assert.callback = 0) u/ s( Z$ G  H$ P
  1584. 9 b$ C! c" t' C# |& a, }2 {3 `4 E
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ; F4 L% P' W% d7 j  X: o% p
  1586. ; error_reporting(0) around the eval().  I0 }; J7 ^& q
  1587. ; http://php.net/assert.quiet-eval
    - b0 |2 N4 r1 O& M/ d
  1588. ;assert.quiet_eval = 0
    " n) E: K% z( R$ x2 h1 o5 o0 D

  1589. ! i2 o0 I- h. c, @0 P
  1590. [COM]
    ) T2 `3 V2 r6 C  [* b
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs# ?$ a* M% m& `; e" C0 {1 J
  1592. ; http://php.net/com.typelib-file
    - X; d0 ^: w5 D
  1593. ;com.typelib_file =) L& |' b. [$ _8 ^1 h1 Y- u

  1594. ; y+ S6 E' _$ Q7 l( ~, @% j
  1595. ; allow Distributed-COM calls# \8 U7 O1 Q: M( n, c  I+ {( m% s
  1596. ; http://php.net/com.allow-dcom
    & l2 |! c& i- ~7 ~" Z0 o4 e( p
  1597. ;com.allow_dcom = true  }; k! Z* S0 d8 r' x2 Z. Z2 }
  1598. # ?) S3 M3 }3 z: i
  1599. ; autoregister constants of a components typlib on com_load()
    9 R" h% F' h2 W
  1600. ; http://php.net/com.autoregister-typelib
    , k, C6 ]1 }& E5 `& h3 _) G$ ~2 M
  1601. ;com.autoregister_typelib = true* h" `9 z/ E( p" [

  1602. % k4 a0 c, g& J. Q  Z6 V) g
  1603. ; register constants casesensitive3 i* J* _- S+ o- M/ u9 D3 _
  1604. ; http://php.net/com.autoregister-casesensitive
    3 c2 i$ `- s. e, t
  1605. ;com.autoregister_casesensitive = false
    8 y, w+ _/ T* E

  1606. 3 b1 P1 W# F- z9 V( B  B
  1607. ; show warnings on duplicate constant registrations- A* X! [. x. `3 j
  1608. ; http://php.net/com.autoregister-verbose
    0 t' _! k  \* @3 a+ T- U! v# |
  1609. ;com.autoregister_verbose = true
    8 w3 }( k4 \/ Q! T
  1610. 7 C4 [4 V2 I% Y9 V# k% n" ~) K$ Z
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    0 V" ?9 T; v; Q
  1612. ; Default: system ANSI code page
    , H( `( j0 V1 D7 R5 |8 X0 f
  1613. ;com.code_page=
    . n/ o6 ~! t& X1 k; l
  1614. ! F/ f# A1 l8 m5 I
  1615. [mbstring]  R+ V) ~9 {9 k- a& z
  1616. ; language for internal character representation.
    4 M1 e" b" z3 {4 D
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    6 U& L/ o- b6 ~7 [$ r! c
  1618. ; http://php.net/mbstring.language
    # Q' o/ h; a0 S8 }& R/ u
  1619. ;mbstring.language = Japanese
    ( J; V0 e& c! H
  1620. 7 r' x, F1 Q  e, K" S) x- b5 g
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.* ~4 V4 D# U- g2 c3 E
  1622. ; internal/script encoding.
    & j3 @  D! H6 K( [0 A; Q, w) z# z
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    7 t: o8 J. k4 z! B$ C8 b5 J
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    - O8 h$ ^" _) V+ E/ o- i$ z
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding4 w1 t9 T# R# ]$ |/ [, U( D: ^
  1626. ;mbstring.internal_encoding =
    / S! b- Z+ V+ c2 k# S( w" @5 Y

  1627. ) {# E: V+ ~* L
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.* _( R& k2 A6 q5 x! V
  1629. ; http input encoding.
    3 {+ T( H9 d9 I5 g8 o
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.  {- T* X3 K' L8 v5 F
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    9 Q4 `9 h7 H0 }8 y
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    . H: Q4 d9 T; v& u
  1633. ; http://php.net/mbstring.http-input
    ) N8 ^3 Q) B$ d( r- Z
  1634. ;mbstring.http_input =
    % {( l7 C& [" R* g, l
  1635. 1 k: h5 Q4 v6 k( P
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    7 K8 x+ M/ o/ G
  1637. ; http output encoding.
    " J9 A6 c; Q/ e4 T
  1638. ; mb_output_handler must be registered as output buffer to function.
    - j) f; I: S) l( \8 Q
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used./ H  P# L7 b0 Q0 J% p9 q
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ; M- q' G! Q4 R1 L6 W
  1641. ; To use an output encoding conversion, mbstring's output handler must be set3 u. n: g& R: Z) L  T8 R1 Y
  1642. ; otherwise output encoding conversion cannot be performed.
    # @+ n6 S# u, n" g3 d$ N7 l
  1643. ; http://php.net/mbstring.http-output
    ' k, A: q2 |  _+ O; W$ C
  1644. ;mbstring.http_output =& a3 j9 \2 `( ^7 i
  1645. + s. d# b: e$ g6 ]
  1646. ; enable automatic encoding translation according to
    9 P  s% a+ }4 |) {% q3 n; L9 \& W
  1647. ; mbstring.internal_encoding setting. Input chars are) R" V+ c* N( ^: K# z0 }2 e' L% Z
  1648. ; converted to internal encoding by setting this to On.
    / c& k3 D) ?* Z5 y3 J
  1649. ; Note: Do _not_ use automatic encoding translation for
    7 ?" l; q) B1 x4 N: p
  1650. ;       portable libs/applications.+ b  Z* S' n2 {+ }
  1651. ; http://php.net/mbstring.encoding-translation, K) e. Q- d8 C( M9 F
  1652. ;mbstring.encoding_translation = Off
      y$ m. ^8 B( B/ s5 d- d0 o
  1653. 0 V1 C, f$ W, }! w. ]1 |5 ?4 [
  1654. ; automatic encoding detection order.1 N4 E+ l$ }: K; i. h
  1655. ; "auto" detect order is changed according to mbstring.language
    : r; T, a0 l' Z7 _* }
  1656. ; http://php.net/mbstring.detect-order: {+ M2 Q7 c5 o. ?1 K& K5 p5 S9 q
  1657. ;mbstring.detect_order = auto
    1 B  Z) k  C* p7 K! s2 z- s
  1658. $ l: I: O* `( g" _  u
  1659. ; substitute_character used when character cannot be converted
    7 H, f( t* h- \, I# l
  1660. ; one from another
      r8 {5 k, b0 Y2 O1 Q+ p4 Z
  1661. ; http://php.net/mbstring.substitute-character. A' [: f9 c, X2 E& f
  1662. ;mbstring.substitute_character = none0 L& f  c% f2 Z! ~. f

  1663. & C' J8 c8 h  Q- G9 @
  1664. ; overload(replace) single byte functions by mbstring functions.
    # o3 c" h: @- d2 j/ ?4 X
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ) R/ S8 K* i- [( N+ ~
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.- ~3 g' O5 n  h5 b, H* m6 r/ G
  1667. ; For example, 7 for overload everything.
    * e; k5 E+ W4 {5 ~' m
  1668. ; 0: No overload
    7 s# [) J& P4 r: Z
  1669. ; 1: Overload mail() function- |3 C  c$ X1 |7 |  ~% Q
  1670. ; 2: Overload str*() functions
    $ P. `% `6 i" U9 ^0 K0 [
  1671. ; 4: Overload ereg*() functions% Q/ r) }( ^- j: V& d
  1672. ; http://php.net/mbstring.func-overload/ V0 f0 |# y" ]$ H1 x0 L; g8 p/ Z
  1673. ;mbstring.func_overload = 0
    5 h' @" a- v0 h; _9 I

  1674. + O4 T6 t# s( t( l) q' ]
  1675. ; enable strict encoding detection., |2 e) k+ z9 e/ ^+ r
  1676. ; Default: Off& C5 M4 O. L2 i& t# P
  1677. ;mbstring.strict_detection = On. M! y' N2 p  b6 g8 Q$ B# e

  1678. 2 s& X" O" ^+ H/ Y" [) H
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    8 K* g1 l/ r! L
  1680. ; is activated.
    5 `+ O! h7 X- I$ ~: Q0 r+ z
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    7 J. Z- V2 J) |2 W- z% z. B
  1682. ;mbstring.http_output_conv_mimetype=
    + T2 ^% N+ _6 p- K0 f" J' O
  1683. 9 L( v4 z# V7 v9 f
  1684. [gd]
    ) v: Q" A/ x4 V
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    # M5 D9 z- A" P4 D. C
  1686. ; a gd image. The warning will then be displayed as notices
    1 E" {3 I" z( ?4 o7 ?
  1687. ; disabled by default
    5 F, W: @2 D! d/ L0 m
  1688. ; http://php.net/gd.jpeg-ignore-warning
    * \3 T' V3 o2 Q. h: d
  1689. ;gd.jpeg_ignore_warning = 0
    * M+ I2 A& A8 Z" c- B7 J, c5 I

  1690.   T$ V- V$ V0 Q
  1691. [exif]9 M2 A, K1 k& s) ?8 V$ ~4 d
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    % ?3 @7 ~+ a: F+ g
  1693. ; With mbstring support this will automatically be converted into the encoding
    6 q, v- J$ E" g. L( G
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    - B9 o; P: a% z
  1695. ; is used. For the decode settings you can distinguish between motorola and6 a/ Z  M3 e. j  h! _6 R- v2 P
  1696. ; intel byte order. A decode setting cannot be empty.% h8 f. {5 @0 S9 V& L, n
  1697. ; http://php.net/exif.encode-unicode
    7 q; M; I6 T! ]. u) x* p
  1698. ;exif.encode_unicode = ISO-8859-15
    0 \5 H+ J. x# E. K; W% `
  1699. % G$ c! q/ f: r$ }& o) @
  1700. ; http://php.net/exif.decode-unicode-motorola
    , I: E( ]8 c' t+ d* e
  1701. ;exif.decode_unicode_motorola = UCS-2BE- ~) ]) b4 I8 i

  1702.   R, M4 @* {3 ~1 s) l+ {: _
  1703. ; http://php.net/exif.decode-unicode-intel. }$ S: i7 a2 ?% i
  1704. ;exif.decode_unicode_intel    = UCS-2LE$ j2 K% V- O! N2 ^: O
  1705. 3 t2 y) `' {" f3 }0 c
  1706. ; http://php.net/exif.encode-jis& P9 n; n$ B) b! w; b8 q
  1707. ;exif.encode_jis =4 X. v2 j$ m8 S- U

  1708. 5 h3 q8 s6 s, f- L8 v2 ^
  1709. ; http://php.net/exif.decode-jis-motorola" i! o! F5 C! B4 X# `/ N' C
  1710. ;exif.decode_jis_motorola = JIS' z- b% U  ]4 b* I/ y
  1711. 6 ~! V/ F) z/ O7 o, n) E% ]
  1712. ; http://php.net/exif.decode-jis-intel" W% e) h+ r. b) _2 D
  1713. ;exif.decode_jis_intel    = JIS; h/ V6 Z% C$ K$ z% J( Q4 _( n
  1714. 6 D3 b! H- F8 |/ ?# @: [0 ^0 `2 R4 v
  1715. [Tidy]
    . j4 k, U; n9 W6 V; ]; F
  1716. ; The path to a default tidy configuration file to use when using tidy
    , j( e% Z* `/ W! j3 f6 ]: ^8 ^
  1717. ; http://php.net/tidy.default-config
    # j7 S' i/ Y; \$ h& B! H
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
      u' X9 z7 K1 |8 Q$ W
  1719. 3 w9 i' i1 ]2 L, @
  1720. ; Should tidy clean and repair output automatically?" y0 |; q  t- u. G8 ?
  1721. ; WARNING: Do not use this option if you are generating non-html content
    3 ]/ ^+ u8 y: R0 ^  I: ~& Y
  1722. ; such as dynamic images
    1 j( c8 `( K% h  z
  1723. ; http://php.net/tidy.clean-output
      t' V/ G% n9 _: ?) a7 s3 n
  1724. tidy.clean_output = Off
    0 Y. h1 G4 `& ^

  1725. ! N* Z8 W; m/ y+ E2 u7 ]
  1726. [soap]2 ]3 [# x0 h/ @+ c0 Y
  1727. ; Enables or disables WSDL caching feature.
    ' z- M' t8 S! P6 `1 @, ~
  1728. ; http://php.net/soap.wsdl-cache-enabled8 r/ j) B; Q1 ?2 W% Z
  1729. soap.wsdl_cache_enabled=1
    2 K" K! R+ o& B" P1 k
  1730. - l! g: h; ]- p$ @
  1731. ; Sets the directory name where SOAP extension will put cache files.2 b8 ?. b9 w. W, ~
  1732. ; http://php.net/soap.wsdl-cache-dir
    5 W6 j# [! M; n( X2 f
  1733. soap.wsdl_cache_dir="/tmp"' S" I$ C# h* G4 c+ O. y3 ~* h$ f
  1734. $ K6 q  M# b/ n' L$ x
  1735. ; (time to live) Sets the number of second while cached file will be used
    # o! h2 ?9 w# V
  1736. ; instead of original one.( W5 V: g7 [. X0 Y$ O2 Q
  1737. ; http://php.net/soap.wsdl-cache-ttl+ n& I; U, w$ z5 H% ]9 X
  1738. soap.wsdl_cache_ttl=86400
    ; m5 V5 t5 O5 c' w" S: i

  1739. / m2 R+ e8 F. n1 |
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ; Z2 E3 A8 j1 m* e
  1741. soap.wsdl_cache_limit = 51 o* [& q# L% z2 I, L7 I) j
  1742. 8 ~, v9 m! L1 {" F, m
  1743. [sysvshm]
    , ^4 d( j0 u. Y, ?
  1744. ; A default size of the shared memory segment
    3 K6 R/ o8 l9 t, _6 R% p# |5 \, A
  1745. ;sysvshm.init_mem = 10000
    $ b' w/ S$ r$ d- N, t
  1746. 0 c2 r( ^% m& h' K7 v# O: |& m
  1747. [ldap]* u  m. f9 Z5 O5 g* _6 m" Y
  1748. ; Sets the maximum number of open links or -1 for unlimited.7 ?) S+ Q5 \7 T$ X1 u- v( t6 t
  1749. ldap.max_links = -1
    " J$ X7 p9 T5 g% L+ \
  1750. " D5 F# B+ R) L+ n( b
  1751. [mcrypt]( ^" v/ j8 ^( M6 d
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    , Z4 z; n; y# ~: |1 Q8 U1 M
  1753. 0 B) j3 p# l" ^$ I/ U, a1 g! u" \! B+ z# H
  1754. ; Directory where to load mcrypt algorithms& y: G9 H- }2 N! I2 D
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 S( `- m! C. z0 I$ d
  1756. ;mcrypt.algorithms_dir=
    % x' h* z: r. z! [& M
  1757. 6 A- }$ }$ f! l; R: {( {
  1758. ; Directory where to load mcrypt modes
    ( m- Q6 v$ {/ F" E* M- z
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)# n9 f4 }& v- X9 C
  1760. ;mcrypt.modes_dir=9 H& j) Y6 t. c  f+ D' V0 e0 j
  1761. + C1 Q. z! l) a" ^- j3 ?, {
  1762. [dba]' K5 w) Y  E2 [1 V# l
  1763. ;dba.default_handler=( s8 k5 @& b) m8 Z- t1 q  W) v! D
  1764. 8 s/ k/ c+ ?& ?
  1765. [opcache]
    , `' p" c# j% O6 ?1 H' }
  1766. ; Determines if Zend OPCache is enabled/ q1 n2 @5 L# r  D
  1767. ;opcache.enable=0
    & c; a: b/ A$ M7 S

  1768. ; i7 {! ^. V9 |( A5 P* g
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP5 b5 q" C8 A- S
  1770. ;opcache.enable_cli=0
    : ?1 L( Y2 O2 y. Z
  1771. ; i  i. a1 ~& c% ]. g( K8 w. u2 Y
  1772. ; The OPcache shared memory storage size.
    - c0 M3 m) c( Z: d2 j7 f  P% a
  1773. ;opcache.memory_consumption=64  j8 O9 h; m4 `8 r
  1774.   |0 Q7 A% k. q0 ]/ F
  1775. ; The amount of memory for interned strings in Mbytes.
    ( T+ Q  w7 y& J1 u& ?( |& K
  1776. ;opcache.interned_strings_buffer=4
    ! r# B& e' C; Y- O0 v9 o; ^
  1777. 4 i3 J4 V0 p5 o
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    8 t, R$ _6 m: x# S+ Y, q' }8 W. L
  1779. ; Only numbers between 200 and 1000000 are allowed.* K% d3 W% R) s, H
  1780. ;opcache.max_accelerated_files=2000
    $ C3 H( k* `. `) O( t4 G4 U

  1781. 3 B" K( ^. S# r$ C7 {
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.# ?: q  H# y6 ^8 k
  1783. ;opcache.max_wasted_percentage=5
    . Y/ j% c7 D+ ~! H9 l" r& K7 [
  1784. 2 q7 U$ I) z$ `$ \+ r- X  j
  1785. ; When this directive is enabled, the OPcache appends the current working
    - k- R6 t$ ~( w$ t1 _: O8 K; W5 }
  1786. ; directory to the script key, thus eliminating possible collisions between
    9 G' i- |8 y9 Y8 g
  1787. ; files with the same name (basename). Disabling the directive improves9 h/ |& k6 Q% Z) A% r8 @
  1788. ; performance, but may break existing applications.
    & O8 g6 m: A$ f
  1789. ;opcache.use_cwd=1
    2 M  o0 M* }; A9 e, y) \

  1790. 5 A* d, M6 L4 g* A- ~( v3 i/ ]% l
  1791. ; When disabled, you must reset the OPcache manually or restart the
    , E1 x% f4 P+ K' J9 W& G- k
  1792. ; webserver for changes to the filesystem to take effect.; W7 g: T1 j3 ]2 _6 w+ u
  1793. ;opcache.validate_timestamps=1
    - T# U) `( P8 U/ ?  I# a2 x
  1794. " T9 M, k2 _7 d1 W& a1 ?
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    1 |( _8 k* u& s/ |
  1796. ; memory storage allocation. ("1" means validate once per second, but only9 E6 Y- A5 [* M
  1797. ; once per request. "0" means always validate)
    ( d. i" S4 Q! I  x4 F" [  n
  1798. ;opcache.revalidate_freq=2$ R& n$ ?1 s) N2 F

  1799. ; b& Y0 q3 x! E* e
  1800. ; Enables or disables file search in include_path optimization. I; t) u1 z4 O3 p+ Y! N
  1801. ;opcache.revalidate_path=00 Y# A2 h- e& G) J8 D1 M( n

  1802. / U- I$ [& {; u4 w' J! S! _: j
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    , a! I1 {8 R/ J$ e) {" i( \
  1804. ; size of the optimized code.
    1 k; c/ Y* F- J& R- v
  1805. ;opcache.save_comments=1
    1 L" s# }# `" s- a+ q- Z

  1806. % A3 t; _+ r. i* ~' w
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    6 @2 G( Y% Q4 b% W1 X( C
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    % c: g6 `0 r3 J, ]) W  l
  1809. ;opcache.fast_shutdown=01 \, \7 s7 j% V, u7 M! H/ q' v
  1810. ; V/ K$ ]) O3 z% u7 @  t
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    3 t# V  S6 `9 _
  1812. ;opcache.enable_file_override=0/ \# K7 q1 x( H+ w$ K7 Q

  1813. ' i, b! t$ V& J: d1 I& ]  r
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache& |$ M7 X6 g3 s$ Z+ f
  1815. ; passes
    : D  l  v# B# ?) \5 n
  1816. ;opcache.optimization_level=0xffffffff
    ' e# t  a( e# B4 ~- e+ A" X" R# m

  1817. $ ?8 c) j" ~( c& ?9 W+ G
  1818. ;opcache.inherited_hack=1- C# {: d7 M& \: {6 B2 @
  1819. ;opcache.dups_fix=0
    2 {6 a/ A, G! p" Y$ R* r
  1820.   L( w  x0 W5 _! \
  1821. ; The location of the OPcache blacklist file (wildcards allowed).8 [$ j+ A3 v; h+ L) e9 S6 L5 n( v
  1822. ; Each OPcache blacklist file is a text file that holds the names of files, }8 U7 n% P8 O' S" _# V* i
  1823. ; that should not be accelerated. The file format is to add each filename
    " `8 q. [5 B- U+ d" T  k! E
  1824. ; to a new line. The filename may be a full path or just a file prefix
    : s# t, }+ T( ^: Z4 d! s
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www9 n/ r9 W4 _" R5 d: i( H+ K$ R
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    * ^) v3 L3 L, B* Z$ R# G
  1827. ;opcache.blacklist_filename=
    2 h+ I9 ^' p$ v% B
  1828. 7 {4 u% ~) E* ~- P  _# o
  1829. ; Allows exclusion of large files from being cached. By default all files
    5 _, Y( e' m0 {& }: Y8 \
  1830. ; are cached./ ]/ K3 q8 r8 F+ [# G
  1831. ;opcache.max_file_size=0
    7 l8 o! O5 ?: Z( I3 R

  1832. 6 y* c: b9 ^/ K$ F' S& [
  1833. ; Check the cache checksum each N requests.
    4 o( o/ r% z& K6 h, o
  1834. ; The default value of "0" means that the checks are disabled.2 G% r: z" f; a
  1835. ;opcache.consistency_checks=03 E: S- f7 ^6 g6 K7 x3 Z
  1836. / D- x/ N+ B" T, i0 x; o$ ^
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    0 _- L; {/ l' n
  1838. ; is not being accessed.
    ! n% }% I  M, ~) S
  1839. ;opcache.force_restart_timeout=180- a, P$ B1 [+ Q& M
  1840. % ~" K, O+ u! C; C
  1841. ; OPcache error_log file name. Empty string assumes "stderr".+ C8 t7 O, B2 i9 c; T
  1842. ;opcache.error_log=7 w+ a; s$ |. e8 |5 P+ D9 W

  1843. 3 l& {! F8 [. m
  1844. ; All OPcache errors go to the Web server log.
    ( V+ p: K$ d9 }
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    " D. D7 m: I4 a1 \
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    $ ?; D: w7 u3 B9 g/ a
  1847. ; debug messages (level 4).* l" ~. C* d) C/ x1 Z5 B$ ~
  1848. ;opcache.log_verbosity_level=15 }: g6 W, i0 h" E2 P
  1849. 4 [% j  y  t) z
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.6 y) [, x; a, T/ J( Q- h; t' R
  1851. ;opcache.preferred_memory_model=
    & M4 f9 r2 \9 X# G0 q! H5 X; D
  1852. 5 `/ E3 g8 {4 ~! i8 ?, r& p$ f) ?
  1853. ; Protect the shared memory from unexpected writing during script execution.
    3 @- w  ]- E/ O8 b4 P' R
  1854. ; Useful for internal debugging only.
    : F9 C4 p* b% X5 Z5 y& r6 s
  1855. ;opcache.protect_memory=0$ R6 a) a/ a" V; p, u( K
  1856. * `. m" f* A' u4 r1 Q) O
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    " P$ o. d. T8 q5 j6 y
  1858. ; started from specified string. The default "" means no restriction
    : W* p- Z3 _& E, u5 k
  1859. ;opcache.restrict_api=
    ! n! d- `4 ~) i( h+ J% _

  1860. " j9 U  ~* d* S2 Z' n
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP6 d4 \9 e1 T; t7 G& D& E4 X
  1862. ; processes have to map shared memory into the same address space. This
    - H8 R0 K+ k6 [/ m% r# _1 h. g2 L
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    4 i% E/ W5 D2 S) z+ ]- d
  1864. ; errors., e% v, c# B; n5 W
  1865. ;opcache.mmap_base=$ w5 n9 T5 m: u; t' O

  1866. 1 i& x" G+ K+ M6 m4 w
  1867. ; Enables and sets the second level cache directory.
    6 S3 s7 d; z$ Z! E# }
  1868. ; It should improve performance when SHM memory is full, at server restart or- P2 O% y9 T3 O+ m
  1869. ; SHM reset. The default "" disables file based caching.+ f0 k" z# u6 A7 }& f
  1870. ;opcache.file_cache=
    , V; ~, V8 o5 e! S$ t* ?' S

  1871. , t4 a( U! i/ u/ T: Y9 K1 L: Y
  1872. ; Enables or disables opcode caching in shared memory., f; \) ^( {5 H5 V# V( }- G
  1873. ;opcache.file_cache_only=09 `5 G- J, B. r( L/ Y

  1874. & f7 K4 z2 Q7 I6 n7 S# t
  1875. ; Enables or disables checksum validation when script loaded from file cache.7 _* J  k* q7 c, a. X# _% t
  1876. ;opcache.file_cache_consistency_checks=1; G6 G2 x% q8 h7 R8 r  N5 Q

  1877. 1 U6 g; |0 x3 ~# Q) t; O
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to  b- e6 [7 R; L: b
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file  m  @$ y- I; v; K! M! Z
  1880. ; cache is required.0 ?% F2 i( k# c6 g; H& q* \
  1881. ;opcache.file_cache_fallback=1* i  U% v3 D6 g' {, H& x* ^

  1882. 7 R& m0 K# O& r# Z% e9 f
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    6 ]$ @0 `! `6 U! W
  1884. ; This should improve performance, but requires appropriate OS configuration.
    + d8 N# I8 g+ {  |3 \( w3 }
  1885. ;opcache.huge_code_pages=1  U; U8 X# q' p5 S- M' K4 A

  1886. $ S1 P9 F/ F: a' Z
  1887. ; Validate cached file permissions." K# n& O1 m1 t+ L2 q, q
  1888. ; opcache.validate_permission=09 c, Z: Q% |, U' b# l

  1889. 8 Q4 H4 W6 S' x. W) ?! k" {7 C& }
  1890. ; Prevent name collisions in chroot'ed environment.9 T6 t# y/ `( O
  1891. ; opcache.validate_root=0
    # J0 v6 o0 D" t6 Q  N. g7 [
  1892. ' k# s! q4 ^' a1 w, a% H8 Z
  1893. [curl]
    & j) b. T  v, w2 W5 W6 s$ i2 W
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an3 }/ o! l8 h+ L. ?$ U/ F- L( N
  1895. ; absolute path.
    5 j, G; N. X8 C% B
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ( N( c1 G* C# G& k- Z% |

  1897. ; P/ i( A4 Q$ C2 e8 w0 E, U) p
  1898. [openssl]
    7 n# h( i' Z- ~/ K$ Z0 a
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem3 e" |* O/ ~; s. ^5 a: O
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    2 _) N; n6 \8 y; Q* _
  1901. ; not specify a value for this directive as PHP will attempt to use the! _( g6 l# |2 z2 f! J
  1902. ; OS-managed cert stores in its absence. If specified, this value may still2 F$ b# i  D( D/ G6 f* }; M1 m- ]8 f) _
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    3 C$ \8 c' r- ~6 \' m7 Z. i% g$ ^
  1904. ; option.
    ; y) m/ M8 @4 e* t1 a6 T
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 K8 C  V3 [  G

  1906. / ]9 _+ y* B- Y- o
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the5 n8 X3 R; d0 O8 N/ p: D
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    $ h" v4 I5 h+ g# \* T# s
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    3 V' N% e2 b' S# g" K7 _
  1910. ; Most users should not specify a value for this directive as PHP will* b+ l* N6 f# F. X
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,8 g. g& s0 l' b" X- d; L
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    9 ]% C9 U1 {- c9 M; S
  1913. ; SSL stream context option.
    8 {+ P' r+ S4 O1 d5 f3 X
  1914. ;openssl.capath=. {& U# t, Z; j8 V, U. {- s+ t  `
  1915. 3 {+ ?: c% V# K4 r4 _3 n7 O/ h; Z0 s
  1916. ; Local Variables:
    $ B, R4 A$ o; T, F4 t
  1917. ; tab-width: 4; R- [8 b9 e; i
  1918. ; End:
    - Q4 \1 f# K+ }. H1 [

  1919. . \. `- t2 k$ Z0 e; C
  1920. ;eaccelerator
    ! W3 ]+ R( S& Y7 G. R* t8 x
  1921. 8 C' b, Z, B2 X  c1 Y0 h
  1922. ;ionCube
    , L5 B, G$ P* u) `) ~3 c

  1923. 5 |5 P3 c) u! _
  1924. ;opcache( G/ r3 O7 g- y# D2 z7 s# I

  1925. - g, W# c! O1 P' o$ y  _* |
  1926. [Zend ZendGuard Loader]& a7 [1 z$ M8 D! o
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    4 `& x8 }9 x2 G  |# u! t
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so& r; G, x) @' w" u  L; r; E" {
  1929. ;zend_loader.enable=17 m& G/ j9 D0 z+ G' W  \: `6 h2 d" P
  1930. ;zend_loader.disable_licensing=0% ^1 |8 M/ J2 D! c( ]) o. r0 e
  1931. ;zend_loader.obfuscation_level_support=3* \- W( C* Z  ~; G
  1932. ;zend_loader.license_path=0 J6 I, D* t0 a. ^+ ?

  1933. " |2 s, p* {0 C% P- s. p6 d5 ?
  1934. ;xcache* x/ G: @6 Z- K2 H  q' M& H" D2 _
  1935. / B/ }8 w; H+ O1 a
复制代码
! L& r" `% W- U' G! c- U. J
8 C" K2 b: ~& B$ j

6 I2 D( \& e( o0 o! R6 S
: s+ c1 n8 O+ J
9 J, f8 M' n: a- H4 ~) D. B) i# }  c2 [0 h' @5 U# o% Q0 c+ c
/ J3 Z8 O% D, D& [0 V) P& o* E
PHP5.6版本原始设置7 g+ F# g' t$ q7 A
3 c+ B5 B+ Q  X( V0 B
  1. [PHP]- l; N' o: @8 ~% q1 B& r* T* I

  2. / n$ i! A' B" I$ H+ p
  3. ;;;;;;;;;;;;;;;;;;;( l$ _9 }( I5 S, \% w3 D, ~
  4. ; About php.ini   ;" P9 S, R' G, L" l! Y
  5. ;;;;;;;;;;;;;;;;;;;
    * w4 k1 }, B' U& Y% s  f2 g( Y
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    6 `8 ?! U' {( ]/ ]# p1 Y" ~
  7. ; configuring many of the aspects of PHP's behavior." Q7 ]8 W$ E6 F  @4 m- i+ W$ z* n$ z8 c+ g
  8. ! m  t" ~4 n' ~6 @
  9. ; PHP attempts to find and load this configuration from a number of locations.
    # G/ k( k3 V+ f* {& R7 p, Y" p
  10. ; The following is a summary of its search order:  p6 }* L7 C8 P$ L* ]' I: x
  11. ; 1. SAPI module specific location.9 y! i3 U* s3 C* ~- ]$ f4 U
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0): l- S' t; u6 s( a7 C
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)0 `# G( I5 S$ ~% O  M
  14. ; 4. Current working directory (except CLI)# f4 c# X- b! [( @& F: e3 _
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    9 C, [3 b" w2 x! A. s. o
  16. ; (otherwise in Windows)
    / _) A. u5 y# n. C
  17. ; 6. The directory from the --with-config-file-path compile time option, or the9 A1 k2 ^+ K0 n( a+ h6 U0 @
  18. ; Windows directory (C:\windows or C:\winnt)
    & b/ J% g% Z5 i- B( M, x2 {
  19. ; See the PHP docs for more specific information.3 I" |* E. b" R' @  b
  20. ; http://php.net/configuration.file/ [7 u$ B( a6 I% n* J: {
  21.   |$ b' w: c: ~( J: a) E
  22. ; The syntax of the file is extremely simple.  Whitespace and lines/ f" ^  ^4 _; O4 q
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    9 T1 l- |1 n2 h; W( U
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though0 h6 S/ ^% H, @! J, i6 \
  25. ; they might mean something in the future.
    ( I+ W7 A* r! X- Y' i- \
  26. 5 `: b' O+ s& U+ m7 v: w
  27. ; Directives following the section heading [PATH=/www/mysite] only
    1 L, M- j, d* O' P# X$ y& j% j3 X: E
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    / [# U4 f, {; `% q0 |5 l' d
  29. ; following the section heading [HOST=www.example.com] only apply to
    5 t( f9 K  _& S4 n  Y: B
  30. ; PHP files served from www.example.com.  Directives set in these
    6 G& f% w4 Q5 j' o8 L( t
  31. ; special sections cannot be overridden by user-defined INI files or# D6 Q  |7 y# m( B# U
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under0 A# @5 E& z3 D5 z9 V
  33. ; CGI/FastCGI.8 L7 l9 D1 r8 c) i9 ]1 h, F7 K* p
  34. ; http://php.net/ini.sections
    * F: ^2 w' d* r: O; g3 U

  35. / d$ P, L4 `8 A7 o
  36. ; Directives are specified using the following syntax:
    5 y' M3 c+ b" e+ Y4 d2 z9 b
  37. ; directive = value; n! ?$ n8 R1 A$ ]/ ], k6 C  M+ w
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    9 ?3 K+ y' h0 T" G$ z: O
  39. ; Directives are variables used to configure PHP or PHP extensions., k! v- w" t$ O6 }2 {
  40. ; There is no name validation.  If PHP can't find an expected
    % f' R0 y; B" }1 J7 |0 _0 ~, g
  41. ; directive because it is not set or is mistyped, a default value will be used.2 i2 n% R! K1 U# c) n3 j9 Z
  42. - T+ H, m2 B% Q. a. _9 o9 z  ^' r
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    5 ]* a4 B( g8 c
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression7 o3 D$ Q3 P1 u& ~
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    2 \) A' S' C: p
  46. ; previously set variable or directive (e.g. ${foo})
    6 ]. l7 @  g" W4 I

  47. * b0 }7 e% f# ^2 W% \
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    5 f2 D) ?6 s/ v0 p- Z
  49. ; |  bitwise OR
    0 V# k/ r  b3 F" D7 l8 Y) o
  50. ; ^  bitwise XOR( A/ x; ~1 c% f3 v* R$ o6 h
  51. ; &  bitwise AND9 F/ j" Z; X: Y9 \7 ^) X) G
  52. ; ~  bitwise NOT0 N4 V1 ~7 ~- \4 Z9 B6 r  C
  53. ; !  boolean NOT
    1 D3 M( ]9 M) E- T9 S

  54. 2 p% H* k0 ~4 n0 @% ~3 y2 ~+ A, b
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.9 Y3 O. S1 [4 a# b9 O# _) }3 K
  56. ; They can be turned off using the values 0, Off, False or No.
    # V) I, L" C- R% \, _

  57. 7 A7 U8 M' V' N. u* Z  F7 b! a! u
  58. ; An empty string can be denoted by simply not writing anything after the equal. U/ [" Q0 O# |* S& z. p
  59. ; sign, or by using the None keyword:
    ' R6 I) W3 l" w
  60. - W$ {: Y5 F) U. B: A
  61. ;  foo =         ; sets foo to an empty string0 t+ d3 n; R/ A9 z: {! S0 U8 |/ K
  62. ;  foo = None    ; sets foo to an empty string+ L' I  B9 C) f9 r* N  {
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ) i! A; S/ O/ v. Q, H8 I

  64. * T9 ?. i' N6 C
  65. ; If you use constants in your value, and these constants belong to a
    . c' j, v+ M7 o0 Q# w& @0 W
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    4 @! H2 u" ]) \) K2 l
  67. ; you may only use these constants *after* the line that loads the extension.
    1 K6 p+ H5 b% K1 |3 M
  68.   e% a0 Z/ ]) b0 D
  69. ;;;;;;;;;;;;;;;;;;;
    7 A. ~+ {4 i/ h" K; x
  70. ; About this file ;7 D+ D$ g4 r5 |0 I8 |
  71. ;;;;;;;;;;;;;;;;;;;8 ]- E$ F% @) x3 n
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ; ~, l' v' p/ u4 _7 X, \1 J3 C
  73. ; in production environments and one that is recommended to be used in- }# C, l- Z. {9 \- i
  74. ; development environments.
    : k$ |$ ?+ w# t1 s/ s' u: [5 Z9 \
  75. 4 h+ Q; M) W. A$ @
  76. ; php.ini-production contains settings which hold security, performance and
    1 I  P6 q3 R# r6 l/ S7 X
  77. ; best practices at its core. But please be aware, these settings may break
      b: ?3 i* F6 x6 w
  78. ; compatibility with older or less security conscience applications. We
    ( W5 x/ ~7 I7 |
  79. ; recommending using the production ini in production and testing environments." c+ p1 Q8 h' I; c. M2 B8 L
  80. 6 j8 d% y/ f. x/ C3 q! W) ]/ o
  81. ; php.ini-development is very similar to its production variant, except it is  g- y( L2 H% e0 a6 O
  82. ; much more verbose when it comes to errors. We recommend using the
    5 a# P( l% r9 c' Y# [
  83. ; development version only in development environments, as errors shown to& N/ t. q" C6 a" ]7 `2 m  ~; s
  84. ; application users can inadvertently leak otherwise secure information.# s/ \8 c! K, r) r. Z( T& N2 U5 U
  85. ' |2 F4 w: w# }) d
  86. ; This is php.ini-production INI file.2 s7 a3 O/ I  p7 x

  87. / c' j# P5 B* i. g+ V
  88. ;;;;;;;;;;;;;;;;;;;
    ! N+ j4 h5 L# b- j/ L, c' c2 o' G! r
  89. ; Quick Reference ;; J. T) X" R4 S, i' {0 B
  90. ;;;;;;;;;;;;;;;;;;;
    * p+ p/ q& M/ |5 k! U
  91. ; The following are all the settings which are different in either the production: E" l# U5 [' `* t7 |9 f
  92. ; or development versions of the INIs with respect to PHP's default behavior.: i% v3 J. u" e, @+ J$ w
  93. ; Please see the actual settings later in the document for more details as to why* t8 [* g9 f; k
  94. ; we recommend these changes in PHP's behavior.
    + s8 n2 |5 j" S! N8 L
  95. * h! x: s, E3 t" C
  96. ; display_errors; D' R( T8 e2 _% u& {
  97. ;   Default Value: On1 Q2 g6 |2 U7 w. d  u
  98. ;   Development Value: On& q8 U- V, @- j/ O) j1 C
  99. ;   Production Value: Off
    & b$ X1 F& N$ G1 U6 N4 r
  100. & I  P; {( Q. t
  101. ; display_startup_errors
    / k, s% r! n* n% r
  102. ;   Default Value: Off/ ^: K) Z6 P' u5 y
  103. ;   Development Value: On
    + Y# L& \0 C* c" ~/ Z+ ^, o2 Y
  104. ;   Production Value: Off
    9 T3 M& ?: D4 W, X
  105. 1 {3 ^% L' _0 N  e
  106. ; error_reporting* ^7 z2 v. B8 u
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 @3 T- E( j2 u, E  R* }
  108. ;   Development Value: E_ALL
    - O- `; Z) B% @& n9 n
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT: _8 y  M  ]! W9 c2 F

  110. : G2 g& d6 x6 B2 g; N6 J
  111. ; html_errors" }+ |! A+ q1 B0 {* l
  112. ;   Default Value: On  W( c% J: K0 T# [- j0 S
  113. ;   Development Value: On9 R1 |) D* ?6 ~- p, o# S
  114. ;   Production value: On
    4 O! L: n+ f: b$ ~, k' `: B
  115. 7 X; x, y. p# Q. [; T
  116. ; log_errors* S- l: J6 k2 g; ~) _
  117. ;   Default Value: Off
    ; r7 Y$ O8 B# o6 i* i% \
  118. ;   Development Value: On* B6 B# H3 j2 b+ m  q* |
  119. ;   Production Value: On
    $ i$ c3 n8 ?: O  e/ l* i
  120. ( }8 E9 {: D8 P3 ]- ^8 M
  121. ; max_input_time
    ) ?0 Z1 O/ u& D3 q# S5 p, K
  122. ;   Default Value: -1 (Unlimited)
    + Y1 ^5 ]& W' G) X
  123. ;   Development Value: 60 (60 seconds)2 Z! ~' i) b4 q0 \! O& H
  124. ;   Production Value: 60 (60 seconds)8 u, a7 e( ^0 [4 u0 D" v

  125. ; Z8 H- M. P2 e/ I# E3 `
  126. ; output_buffering
    ) x! s; ]- ~2 Y4 [
  127. ;   Default Value: Off3 Z2 \5 `- E3 m% c
  128. ;   Development Value: 40968 g% Z! \4 k& Q0 g
  129. ;   Production Value: 4096
    + P, q. w9 t2 k
  130. 7 N) S  G& N3 f+ _$ |( E, j5 |
  131. ; register_argc_argv; Y+ _2 y+ ]7 ?% ^( q
  132. ;   Default Value: On  g) t: [6 A7 F7 ?
  133. ;   Development Value: Off
    % W" B. h/ Q+ Z  v
  134. ;   Production Value: Off
    : a5 f) Y/ w) S* V7 g
  135. 1 D$ k$ k$ H8 g( P8 V
  136. ; request_order4 ~; r0 a& X2 l. K! o5 {* o. _9 B
  137. ;   Default Value: None! R! g. r$ r7 v8 I7 j& j5 X+ L
  138. ;   Development Value: "GP"
    " E  o7 ]& r# O3 e7 k
  139. ;   Production Value: "GP"
    ; z* c3 c3 L5 w( x

  140. $ b/ b0 n& B# w" U4 \* z
  141. ; session.gc_divisor
    3 a/ v; u$ b* Z- U9 h* A: Q( q$ n
  142. ;   Default Value: 100
    " U; }2 K( w; ]. ], ?- F- V& g
  143. ;   Development Value: 1000
    8 q/ h0 Q$ [! s" K: h
  144. ;   Production Value: 1000* Y: i% M' i! g8 I7 Z
  145.   W2 e  Z% x; v( s3 Z
  146. ; session.hash_bits_per_character# @5 ]! p+ y4 |5 d% L
  147. ;   Default Value: 4
    ) ~9 S! M, A9 G& [8 `8 A2 Q
  148. ;   Development Value: 5
    6 A$ I% Q" ]* J, z# \
  149. ;   Production Value: 5
    . N# w" Y' l+ g4 `* t

  150. 9 i7 u) x3 H3 u" |: ^. u0 c/ s
  151. ; short_open_tag
    " a/ j8 G* c! F" `' f0 m$ r0 y' a
  152. ;   Default Value: On
    # v( f& X3 g  [/ y
  153. ;   Development Value: Off5 x- d9 j5 w/ M. _
  154. ;   Production Value: Off* p: ~. e( o' k- b' I

  155. 9 T: x1 D) J7 Y1 \
  156. ; track_errors! A. O( W+ \: e+ Y+ e7 X
  157. ;   Default Value: Off, T1 V( u/ |* {4 v9 Z
  158. ;   Development Value: On, f/ P+ T+ [! a, P. m4 K, Q
  159. ;   Production Value: Off
    7 J4 I- r4 y3 |0 |; p8 w' P# c5 ?
  160. - f* Y7 H# r& g  e. W
  161. ; url_rewriter.tags! e7 g& x2 a. H: Y
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    3 M% P/ p5 b- d9 }- I, x
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 U  g9 {% Z. @$ f: ^
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) S; g* i9 B2 G) h) h; {" r4 b

  165. % V  n4 {0 G  K$ T0 P; A4 b
  166. ; variables_order
    : R/ _2 {% i' M, F4 k3 i1 O
  167. ;   Default Value: "EGPCS": W, {( Z% n; w% o
  168. ;   Development Value: "GPCS"( X# @, Y0 S  O4 q. Y; ~0 D
  169. ;   Production Value: "GPCS"$ \2 X' t4 u- s: R. }

  170. ; X4 a2 @3 u( U3 p# k
  171. ;;;;;;;;;;;;;;;;;;;;
    , b- V+ f$ w7 ~1 A: ?. A& A
  172. ; php.ini Options  ;
    0 z! C+ _+ ^: J7 T- |/ M4 d
  173. ;;;;;;;;;;;;;;;;;;;;+ q) _, B- n7 U# B
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"# w* o3 n- @1 P$ _4 l
  175. ;user_ini.filename = ".user.ini"+ h8 B" b: m6 k: K6 @2 Y0 \0 B! Z2 F

  176. 1 b# H5 p: _( O0 X
  177. ; To disable this feature set this option to empty value4 y/ d' @& N8 o
  178. ;user_ini.filename =
    : Y5 c- O+ e( {  u9 c2 A

  179. # Q- x9 @. F- S9 G' }$ ]6 P; M
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    $ w. G$ @2 F. e: t* t5 Y
  181. ;user_ini.cache_ttl = 300
    & d  @- L* s4 T: }  ]9 I

  182. 6 o/ c; P& w6 A  E3 P
  183. ;;;;;;;;;;;;;;;;;;;;1 r% h9 d0 b# s. q
  184. ; Language Options ;
    / t% A- V- K  A- C) E5 A: K; \; K& r
  185. ;;;;;;;;;;;;;;;;;;;;( b, \6 S6 `5 M6 r/ R

  186. * K  }, Z, l+ H. I; \+ J! Z
  187. ; Enable the PHP scripting language engine under Apache.
    5 `  `  o1 ^" m. s5 j" b
  188. ; http://php.net/engine
    4 b6 D9 R- A, Q6 b% j4 z0 {3 h
  189. engine = On
    2 G3 Q! g+ F8 |* _9 m
  190. 3 F: L7 U1 _8 Q: k1 n2 h
  191. ; This directive determines whether or not PHP will recognize code between
    ' q6 B5 ]; I2 l+ z4 n
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    8 s7 X% y, N4 l1 ~
  193. ; generally recommended that <?php and ?> should be used and that this feature7 ~" e9 u/ I% M3 i) B" R& h6 R
  194. ; should be disabled, as enabling it may result in issues when generating XML
    $ N* J  M. w' C- T9 @4 l
  195. ; documents, however this remains supported for backward compatibility reasons.9 `5 f& t2 w2 j' X  y$ D
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    4 X, K. i1 K4 U2 K$ D: C) A
  197. ; used regardless of this directive.
    ) _6 @' ^8 E. i! k3 n( u8 C7 l
  198. ; Default Value: On
    ; ]: ~$ k6 g4 d2 a1 t  B3 D# h
  199. ; Development Value: Off+ J" g  V2 L* Z' f  b, [$ \7 W
  200. ; Production Value: Off& v9 N( V6 Z9 N+ _
  201. ; http://php.net/short-open-tag
    4 x! X; U. D4 _8 V
  202. short_open_tag = On
    " R! \0 {# ~* h' x8 i1 I% Y% C
  203. & X# W% @6 f7 L1 ]
  204. ; Allow ASP-style <% %> tags.
    : @- \/ d1 [' Q6 |6 F7 j
  205. ; http://php.net/asp-tags
    9 Q+ [* ?7 M& S" e
  206. asp_tags = Off
    * ~: M/ u9 N8 m1 \
  207. & R: n- b, ?  |# ^2 h
  208. ; The number of significant digits displayed in floating point numbers.
    ( Z: p8 S0 ]: m% ?+ e( E4 b  N
  209. ; http://php.net/precision6 H* f( f* o  L; \
  210. precision = 14
    ' l4 r/ k# Z. ?. O+ e0 U" w4 r
  211. ' F6 F- h6 q' ?" m/ |& ]
  212. ; Output buffering is a mechanism for controlling how much output data. ~2 i3 {# a% E3 s: l
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that$ i1 N; i" f# Y" v- v, _, `, H! z
  214. ; data to the client. If your application's output exceeds this setting, PHP8 E5 {, Z/ y8 D
  215. ; will send that data in chunks of roughly the size you specify.' B7 I3 r9 s$ \  W9 I# u; K2 W
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    3 p4 x' @, }2 D/ r7 ^
  217. ; interesting side-effects depending on your application and web server.
    % ^# Z3 w* y2 b/ P
  218. ; You may be able to send headers and cookies after you've already sent output+ `8 O  [1 H( I) R$ f* l1 ~& n* C
  219. ; through print or echo. You also may see performance benefits if your server is+ O) v2 `& o' B& u$ E
  220. ; emitting less packets due to buffered output versus PHP streaming the output# Y, q; Y9 N2 |' ]4 A2 m
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance5 [9 O. F( T, R$ I5 I; A) {0 ]% T
  222. ; reasons.
    0 v8 B. [% c4 \5 L) Y0 W
  223. ; Note: Output buffering can also be controlled via Output Buffering Control; k3 j8 G, b0 W
  224. ;   functions.* [  y9 R: P! U% k. j2 f2 L
  225. ; Possible Values:
    ; U& x2 h" z: f
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    % C  C) }3 v/ Z; S1 b6 b
  227. ;   Off = Disabled/ a4 K  x4 l5 s$ p1 \3 v7 k
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes." _! l+ H% h+ \7 P4 I1 W
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI" v# p+ f- z! O
  230. ; Default Value: Off% l8 i4 d) _9 u: y* b# L
  231. ; Development Value: 4096
    # q( b0 Q- m# U4 G8 I4 `
  232. ; Production Value: 4096( M) y  F9 l0 }9 E
  233. ; http://php.net/output-buffering
    ' j; u$ ]$ f- F
  234. output_buffering = 40962 V  o) {! g8 k
  235. ( k; d/ L" m- G: u9 V
  236. ; You can redirect all of the output of your scripts to a function.  For* J7 w# I, h7 a0 b9 V
  237. ; example, if you set output_handler to "mb_output_handler", character6 i& j6 u- H( k3 y
  238. ; encoding will be transparently converted to the specified encoding.+ p/ g0 Y) m1 T& W0 C' ?. B0 b
  239. ; Setting any output handler automatically turns on output buffering.
    & k: s1 g1 u) J$ Y2 O
  240. ; Note: People who wrote portable scripts should not depend on this ini
    . G6 K  o3 A$ E5 }% v
  241. ;   directive. Instead, explicitly set the output handler using ob_start().' D5 w- g  o5 v; T$ h) f
  242. ;   Using this ini directive may cause problems unless you know what script
    % X3 {# e2 w  ?6 v+ o* O7 {1 V
  243. ;   is doing.
    6 u2 o3 T3 H! P: n5 Q
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    % R0 R( a9 D8 [1 L4 T8 S
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    : k) }# a" b' w4 ?; t+ Q% |
  246. ; Note: output_handler must be empty if this is set 'On' !!!!8 A+ D# x1 D; _) H/ K9 g2 O  _( ^9 [, Y
  247. ;   Instead you must use zlib.output_handler.
    ; L2 r7 ^! n7 T9 O; @
  248. ; http://php.net/output-handler
    1 B+ [' D  P; l0 i& H
  249. ;output_handler =. k+ w/ M1 l1 L# [
  250. ' S( j& y9 [0 g# D
  251. ; Transparent output compression using the zlib library
    & m$ s+ [! a1 N, B  k! F9 t8 I
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size0 @# p. N2 L) w
  253. ; to be used for compression (default is 4KB)
    , q- X, C. X. L* Y* m2 p. i5 L7 n* C
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
      Y* L# Y; D) B( m( c
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    4 m8 l: v4 Y' J7 m2 v: h* y8 o4 H  [
  256. ;   compression. If you prefer a larger chunk size for better
    0 f" h: \1 C. A5 s2 d" O; m6 }
  257. ;   performance, enable output_buffering in addition.
    9 C- ^4 t5 t5 r$ b5 ^& W
  258. ; Note: You need to use zlib.output_handler instead of the standard
    1 K0 Y2 q6 o0 v; I* m; u
  259. ;   output_handler, or otherwise the output will be corrupted.
    ; B+ J' [( w! ~  V1 s
  260. ; http://php.net/zlib.output-compression/ s4 s, L: i( a: b7 I) }- @( B3 f
  261. zlib.output_compression = Off% }' U3 r! Q1 B; [0 t) g# u
  262. ; h' d" A6 G* {; \
  263. ; http://php.net/zlib.output-compression-level
    ) P2 j5 S7 E- H4 p5 J9 |
  264. ;zlib.output_compression_level = -1
    ; O9 V+ `* s5 Y2 F

  265. 2 B: b% A9 V! B# @; ^0 C
  266. ; You cannot specify additional output handlers if zlib.output_compression$ r5 C- w$ _1 z7 W2 a2 o( Z" @5 P7 `
  267. ; is activated here. This setting does the same as output_handler but in
    , v0 g/ ^$ k. i6 z2 h
  268. ; a different order.
    + f0 J4 m# Z+ p4 }4 L6 Z
  269. ; http://php.net/zlib.output-handler& U' {' V' K& i; F; y: X
  270. ;zlib.output_handler =; Q- V" R# X4 b+ w. p% J: c5 e

  271. 2 t: A; {9 `4 `  Q5 Q% g
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    / E. K8 z: G$ D' t+ }/ b6 e/ w
  273. ; automatically after every output block.  This is equivalent to calling the
    & ^+ C# s% u1 }" `! u7 K
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ) ?+ ?' }5 p' N
  275. ; and every HTML block.  Turning this option on has serious performance
    6 u* a* L) h! C
  276. ; implications and is generally recommended for debugging purposes only.% {" \& I' f" k7 Y$ S
  277. ; http://php.net/implicit-flush# b  G1 \. _1 y1 G3 K2 j
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    * N+ t7 k$ _1 |  n9 J# ]
  279. implicit_flush = Off
    ! D* F+ N. F2 o

  280. 4 s( g! y% y, U9 V  h( n; a
  281. ; The unserialize callback function will be called (with the undefined class', K# g! V" O% x6 g
  282. ; name as parameter), if the unserializer finds an undefined class
    8 @; y* ?  L2 E4 D# u; G
  283. ; which should be instantiated. A warning appears if the specified function is
    : }" t! R, u* m- H( m$ U
  284. ; not defined, or if the function doesn't include/implement the missing class.
    , N; z6 w$ W! t; U4 I% y/ C
  285. ; So only set this entry, if you really want to implement such a- {) q7 L- K5 _/ _- m1 E! s
  286. ; callback-function.
    # v8 L& W$ h  u
  287. unserialize_callback_func =
    # f$ j# o: j8 v% s) o2 B9 R

  288. 5 J  F' [: o; m. X1 z" I- ]  g4 u/ r
  289. ; When floats & doubles are serialized store serialize_precision significant4 Z6 f+ j" [& E$ a6 f
  290. ; digits after the floating point. The default value ensures that when floats: G0 Q2 d6 @9 A: c+ q
  291. ; are decoded with unserialize, the data will remain the same.
    & K- ~7 S) @% X
  292. serialize_precision = 17
    % b7 R9 ]5 E7 ^* h4 [. y6 G
  293. # b) ^% [5 |- s! m4 q+ u
  294. ; open_basedir, if set, limits all file operations to the defined directory! W( `, y3 h! [* V. A% e0 \4 c" Q# O
  295. ; and below.  This directive makes most sense if used in a per-directory; C& {2 R: @" K1 ^9 d
  296. ; or per-virtualhost web server configuration file.
    9 j. S/ {+ p9 f+ C, i) l2 Q! B& {
  297. ; http://php.net/open-basedir
    + q' m/ @/ K! q$ y$ c
  298. ;open_basedir =
    - _1 `! U: P* Y0 j: P* @0 K
  299. : h' j7 r  [) ?! M  {
  300. ; This directive allows you to disable certain functions for security reasons.5 i/ i2 \; L8 l, H( ]/ \$ U1 f
  301. ; It receives a comma-delimited list of function names.
    : y( s3 e/ n3 S! x2 x1 X% r8 G
  302. ; http://php.net/disable-functions' V  e; ]" P+ y  E- I; }
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ; D1 N9 l7 u2 E
  304. 5 q) ^' L; J0 h+ h7 P3 Y
  305. ; This directive allows you to disable certain classes for security reasons.
    , P+ O# X1 b9 _' [: P4 y% c" b
  306. ; It receives a comma-delimited list of class names., J' e9 i. w2 T* F+ f
  307. ; http://php.net/disable-classes4 d/ B( X9 d; ]' j# C) Q- [5 U5 \
  308. disable_classes =( p& @2 \( p9 H' U
  309. 4 K5 r/ @7 X# ^, Y( X
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    # C. ?8 U8 U$ A* G
  311. ; <span style="color: ???????"> would work.
    / V2 |+ ^; N  U: W
  312. ; http://php.net/syntax-highlighting: U4 D/ _7 {0 b: g7 ]; R8 j5 y
  313. ;highlight.string  = #DD0000
    ( g" c- r8 l2 Z" W* u1 W
  314. ;highlight.comment = #FF9900  N' \# @0 E" c  k: d0 Z; e5 L
  315. ;highlight.keyword = #0077007 w* j0 X* V8 R) \1 a) a: g
  316. ;highlight.default = #0000BB/ C+ d5 ]8 N1 [* H
  317. ;highlight.html    = #000000
    8 h  @! m" B- q, x/ N! S

  318. " n; x4 f2 F4 J) ~- l/ c
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    9 H& @5 Q0 m. z/ ^- e
  320. ; the request. Consider enabling it if executing long requests, which may end up5 u, X! z/ ^  i1 K
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    5 L0 K6 e0 Q, C9 j' l& E/ P
  322. ; is to disable this feature.
    ! e! g$ d" }$ D
  323. ; http://php.net/ignore-user-abort
    - t9 L) k. h% ]6 q
  324. ;ignore_user_abort = On3 L3 L3 c# u( W% l! d+ W- k& i
  325. * S& X% B3 e. q3 ]) e1 t9 c: j6 u1 F) u
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    3 A6 O) S- I: Z( C/ a6 c, x
  327. ; be increased on systems where PHP opens many files to reflect the quantity of2 {' i! m- L4 P: q& i% K
  328. ; the file operations performed.# T0 m- D8 [$ z
  329. ; http://php.net/realpath-cache-size, T& t+ i6 _) X3 }$ D5 q  T8 Q
  330. ;realpath_cache_size = 16k8 Q" F" {' y4 a; S& C

  331. 7 X: t! H  @" Z! E
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    5 q- b) d* a. D5 \# U0 j
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    4 K* u( x( t' K. V5 q
  334. ; value.) Z8 C1 N5 {9 v% @9 i
  335. ; http://php.net/realpath-cache-ttl
    : a" V9 s# A; k0 b. N8 T) j
  336. ;realpath_cache_ttl = 120% b, u& a# w6 \4 G* C
  337. 3 e8 z3 B& f" z: ]# M6 n; z7 R
  338. ; Enables or disables the circular reference collector.  G" s$ L6 k* A$ @  k
  339. ; http://php.net/zend.enable-gc: H9 ~' j8 P$ T. b
  340. zend.enable_gc = On
    . T! ^4 X8 B* \0 _$ K  C, R& C2 U

  341. 1 J* j; F) n" [" ^- t
  342. ; If enabled, scripts may be written in encodings that are incompatible with. a% z% l, O- j9 R% v1 ]
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    , o, z0 B2 }( }& b; {7 y( s4 u  L
  344. ; encodings.  To use this feature, mbstring extension must be enabled.5 }5 q' C7 \; P2 E) J, K. ?- m, T
  345. ; Default: Off2 i4 r* X0 p; i- u! l
  346. ;zend.multibyte = Off
    7 B1 S. m# P+ U% \/ o7 {
  347. ) t- k" i' u! g8 f9 s7 r: r
  348. ; Allows to set the default encoding for the scripts.  This value will be used+ Z& K* f; ^9 W5 ^
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.- B' {6 V! b* j9 N- q' _5 T5 o, K) H, N
  350. ; Only affects if zend.multibyte is set.
    & d+ f1 R8 E( \1 q& a5 N/ R' `
  351. ; Default: ""
    3 ]% E3 M9 p" U% Q
  352. ;zend.script_encoding =# F+ p* `1 Z1 b* P4 i0 s/ m5 d

  353. 3 J+ S0 \1 n+ D& F! S5 D+ L# r
  354. ;;;;;;;;;;;;;;;;;* p$ c% c- K/ ?# F
  355. ; Miscellaneous ;1 _& ]" O9 e3 J3 Z6 S- [1 O
  356. ;;;;;;;;;;;;;;;;;  x4 ?6 H6 r8 G. P6 T; c/ O$ s3 A
  357. / _, }  q+ ]9 g2 I
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    ; o+ @% Z0 e+ c- S* i* F' v' i
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    5 D3 w" M" Q  B" _( a; L8 Z
  360. ; threat in any way, but it makes it possible to determine whether you use PHP. e/ `# C2 K& I7 D5 }" Y# u
  361. ; on your server or not.& E% f  r5 |/ G; ]. u1 T
  362. ; http://php.net/expose-php
    ' V8 q: [5 N& ~1 x" }
  363. expose_php = On
    8 o9 v8 Q2 |5 V0 ]! s
  364. - s& a: d. ~) G7 X
  365. ;;;;;;;;;;;;;;;;;;;- g" H+ H# v  |% s
  366. ; Resource Limits ;
    ) D+ R" \1 n7 U( P# ~
  367. ;;;;;;;;;;;;;;;;;;;
    # a7 n: R5 O  H8 E% C" T1 o: o

  368. / k0 V4 [9 i! h8 V! J
  369. ; Maximum execution time of each script, in seconds2 T# l  {3 g# G' N6 ~5 R8 ~8 K
  370. ; http://php.net/max-execution-time& r- P) t# y8 \' l4 w+ ]0 ~( _
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI0 |! M: W' ~5 ^  J  R5 Y1 h( o
  372. max_execution_time = 300
    " z4 v& a+ p: x. d/ s% ?  o; u
  373. ( D: B' M  [; i4 n! F* q( N, F+ p
  374. ; Maximum amount of time each script may spend parsing request data. It's a good! B+ e  s+ e) B: u* R: d
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ! R( i! u7 u& \  h% R
  376. ; long running scripts.
    4 f6 V" D  `  z* G4 r
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI; E3 q* i) r! p* b" O& h5 }# y: [
  378. ; Default Value: -1 (Unlimited)& n( B6 o/ I. j# Y
  379. ; Development Value: 60 (60 seconds)
    + X+ ?" |6 d3 h
  380. ; Production Value: 60 (60 seconds)
    ! v0 Y- l' W/ W: T  W% B
  381. ; http://php.net/max-input-time% h, i/ }( ]- I$ u" a+ q
  382. max_input_time = 60
      I0 c$ {0 I2 T' m

  383. * ?) w; ^8 x: u5 ^( z
  384. ; Maximum input variable nesting level) q8 o/ R& v! g- P
  385. ; http://php.net/max-input-nesting-level; A& d' ?- S8 d, q8 y( S
  386. ;max_input_nesting_level = 64% e) I7 U* x* k- W1 ?3 Q! o
  387. - V; x+ H6 d, M4 y
  388. ; How many GET/POST/COOKIE input variables may be accepted. q1 l# j# Q# J$ ?" C+ P
  389. ; max_input_vars = 1000
    0 Z5 y: x- I; x- I7 j9 A5 M4 i; i4 k
  390. 2 T; L& r; q' B1 C3 @
  391. ; Maximum amount of memory a script may consume (128MB)* M: h" A* Y- w3 P' B+ d2 x
  392. ; http://php.net/memory-limit
    ; A8 I8 O0 ]5 {# T- e
  393. memory_limit = 128M
    / p- a6 t4 |# X/ y( W

  394. 9 M+ x/ i  D& o
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 Q" ~' B8 |: S( @9 O2 V
  396. ; Error handling and logging ;
    3 j0 x' y3 n: r# u! m$ B' ^
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 y1 a3 z8 V8 v0 r# l
  398. 6 w  n2 I; |# Q8 b. N; ^4 C
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    % E9 t6 X( ?- f; i0 F" u
  400. ; it to take action for. The recommended way of setting values for this
    ' t8 a6 ?0 Q8 G# i0 @. c
  401. ; directive is through the use of the error level constants and bitwise8 e0 ^9 M. x7 Z! c
  402. ; operators. The error level constants are below here for convenience as well as- c& V$ Y! u: Z. ]( @! H2 \3 h
  403. ; some common settings and their meanings.0 m* z+ n( B: _7 ]
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT# F& _+ N- _% C; P% s
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and/ b  G# s1 ~* J& `. n: D8 N+ [
  406. ; recommended coding standards in PHP. For performance reasons, this is the9 p3 k# {/ S/ T3 x! E/ d- c& s
  407. ; recommend error reporting setting. Your production server shouldn't be wasting5 n# f/ o3 _" v( l; z0 j1 R' Y
  408. ; resources complaining about best practices and coding standards. That's what
    ' @& g: m0 R, O7 C( y2 P. m4 M9 r
  409. ; development servers and development settings are for.
    6 u: K- ^9 I( y9 b) h4 o
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    1 ^2 R  J; r) X  Y' @, E
  411. ; means it pretty much reports everything which is exactly what you want during
    ) c$ [& w" p+ \
  412. ; development and early testing.! w4 D8 D' i  O! q$ v; P. N* w% |7 f
  413. ;$ s" g/ e- |! P. @
  414. ; Error Level Constants:
    ) f/ g# M: I) T. Z
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)9 W# D5 B% h) l: g: F: V
  416. ; E_ERROR           - fatal run-time errors/ d% `) c. h8 Y. l: f# ^# J2 l
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors+ a* j/ U* w% Q
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    # n# D/ O+ }3 ^; Z3 j& K$ D8 S
  419. ; E_PARSE           - compile-time parse errors
    3 f0 u! s+ a& V; Z0 m4 n1 Z
  420. ; E_NOTICE          - run-time notices (these are warnings which often result/ ]0 R% {7 a7 m5 t% b! J+ O
  421. ;                     from a bug in your code, but it's possible that it was( r0 |! K+ w0 Q) T1 J
  422. ;                     intentional (e.g., using an uninitialized variable and
    3 i+ W, z0 C5 x# |* C# V
  423. ;                     relying on the fact it is automatically initialized to an
    6 @! S9 z# z. m- J" U( }! J/ e
  424. ;                     empty string)# s" h+ s7 A1 v; _0 @
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes$ z* s  e1 y/ Y8 g! t  l6 ]
  426. ;                     to your code which will ensure the best interoperability
    ; ?9 T6 h9 E9 v
  427. ;                     and forward compatibility of your code% E) M0 q# k6 u+ f8 R% c  d
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    * F+ W4 C1 s. e  _
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's) Y5 Z$ j# J+ }9 j4 b
  430. ;                     initial startup
    8 g9 t/ ]) _6 g# H; n# A
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    / l* h* U8 M8 g, T& g5 G& \
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    - \* M/ _: r) W  L5 G- V2 U
  433. ; E_USER_ERROR      - user-generated error message. h! y! @8 K/ |6 X1 E
  434. ; E_USER_WARNING    - user-generated warning message, s/ Y/ G, c- N: I4 m
  435. ; E_USER_NOTICE     - user-generated notice message
    . ?3 }2 {& H( G  c- I
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    : f. R/ D3 v) Z
  437. ;                     of PHP3 P; ?( X/ n+ ^3 ~) O- Q9 H! {7 E, Y
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    * U6 ~3 n) [8 t, ~
  439. ;
    9 _* o; Z: Q& r$ d, Z1 ~' O: [
  440. ; Common Values:1 Y; L8 v5 U( G) f1 A! ~( p( v3 F
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    , d9 }! V, Z" R& [) t' b, ?5 A
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    * I% z  M  k( d" m, I# J9 E
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.): Z# g5 N' A" O! b
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)/ E1 `/ p9 w, j6 u6 n4 h) P
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED& k: G1 a  ?0 o: @2 F
  446. ; Development Value: E_ALL" E! ?1 x- M' `
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT" r7 C: K( H: f" w4 {$ Z& ?% h
  448. ; http://php.net/error-reporting/ t, F2 o% I$ c  @# }
  449. error_reporting = E_ALL & ~E_NOTICE
    * ?+ E! f& v' N

  450. . d0 O; J# L3 x3 l
  451. ; This directive controls whether or not and where PHP will output errors,2 A/ H' Y0 `! {
  452. ; notices and warnings too. Error output is very useful during development, but3 V/ B- e6 W$ s. o7 _
  453. ; it could be very dangerous in production environments. Depending on the code* l, z" c( G+ {
  454. ; which is triggering the error, sensitive information could potentially leak
    ' [- Y! k5 Z( R  S0 F- F" G
  455. ; out of your application such as database usernames and passwords or worse.
    9 D# g" S9 w' f
  456. ; For production environments, we recommend logging errors rather than( U/ x( n/ _( c# v: M; T
  457. ; sending them to STDOUT.( f4 w' R9 y$ b- k. E  ^" H
  458. ; Possible Values:
    5 U9 p% D8 a3 x5 C- b/ U
  459. ;   Off = Do not display any errors6 E& ^' B. e; I; I! f
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)' e. n- k6 h$ {3 m% G
  461. ;   On or stdout = Display errors to STDOUT
    5 r8 l) q3 u$ j; ^- r& S4 O
  462. ; Default Value: On
    * c6 q7 S) M* P4 V* p9 _
  463. ; Development Value: On
    ) a. }# ^- b8 t1 U  a. a
  464. ; Production Value: Off
    ( \9 F+ @8 W4 M
  465. ; http://php.net/display-errors
    1 Q6 X! F+ r: `7 ]5 S2 m
  466. display_errors = On
    5 W" n' k# d. E
  467. ) e# T* E* b7 b, t4 n* ^3 H
  468. ; The display of errors which occur during PHP's startup sequence are handled. ]" |; Y( c- U% i- Z* H
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ; Q. Q% |6 m0 y' \4 g
  470. ; errors from clients. Turning the display of startup errors on can be useful in* v' n$ p5 J1 g( b4 t$ d( @
  471. ; debugging configuration problems. We strongly recommend you
    # U% {5 |! M( O$ f% v4 b
  472. ; set this to 'off' for production servers.% z, `2 y, `' ?
  473. ; Default Value: Off& G! @2 i1 {! M' V  m
  474. ; Development Value: On
    7 r5 \- d9 o8 m( a! e
  475. ; Production Value: Off
    / x( U7 r  Z& P& v5 D( A
  476. ; http://php.net/display-startup-errors
      {  P. S4 x! _( q* {( x- Z% a
  477. display_startup_errors = Off
    4 Z- I/ j8 m  p% I4 \

  478. ( ?6 m; [0 b7 H# a% q& L8 Z
  479. ; Besides displaying errors, PHP can also log errors to locations such as a' I( ^2 x9 n- q; n/ S
  480. ; server-specific log, STDERR, or a location specified by the error_log3 U0 p. G* I4 o. h% l7 f
  481. ; directive found below. While errors should not be displayed on productions& l5 s% g* L4 s. g3 M
  482. ; servers they should still be monitored and logging is a great way to do that.# ^- P2 Z. l- \
  483. ; Default Value: Off3 E4 t6 B& q! K# x8 u
  484. ; Development Value: On
    7 |3 u6 V  a% r) `* a& p/ g
  485. ; Production Value: On/ I! E1 \' g: s
  486. ; http://php.net/log-errors
    ; h; u$ U* k- n
  487. log_errors = On9 |& Q0 P5 @8 k9 j6 o/ y

  488. 6 S, Z; H7 c) X
  489. ; Set maximum length of log_errors. In error_log information about the source is
    " T' u. H: @, T" w( \& B0 r
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.) x8 f) U* m3 Z; P
  491. ; http://php.net/log-errors-max-len1 b! F+ _7 t2 r9 `; p
  492. log_errors_max_len = 1024( g9 ?" T  |' x3 q" `4 `/ G

  493. * p+ X  P& M6 u5 X
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    3 T& K4 t$ `" G: O' S' l
  495. ; line unless ignore_repeated_source is set true.
    7 X  \) j5 |3 r* h* C4 u1 v  \
  496. ; http://php.net/ignore-repeated-errors: H2 j5 @9 h( y& [; o" D6 G3 h
  497. ignore_repeated_errors = Off% Q! M. E  ]/ A7 L- g; f6 [

  498. 0 e! r1 x5 B) ~: ]* N! A4 A
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    - E3 `& O# r9 y/ ]  a5 Q
  500. ; is On you will not log errors with repeated messages from different files or2 t* o/ b# e  l' R2 U6 }
  501. ; source lines.
    $ x8 s  R% f7 H  |, w1 E! ^
  502. ; http://php.net/ignore-repeated-source
    2 K- I9 }' l1 x' Q
  503. ignore_repeated_source = Off
    2 b- C7 R" w4 p3 J& [# W

  504. # a7 e0 Z- t' y
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    / F9 [% B  o/ F( G1 {% V3 P
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    " K0 F  O3 j4 Z" o' x" b* `& Q
  507. ; error reporting includes E_WARNING in the allowed list
      O2 v: m+ O! L8 r& [* ^
  508. ; http://php.net/report-memleaks2 F" o( q; _' H- R0 V( M
  509. report_memleaks = On
    9 ?: a8 a! W) }* L& e
  510. 3 e7 k, N. Y" a0 I
  511. ; This setting is on by default.# O4 |- _* W. q, X- L  L& b# h
  512. ;report_zend_debug = 0% k& r' l7 m: H2 R3 q; p
  513. ! ^" a- u. e1 b
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    % N& _$ U. T/ s+ w: `3 O
  515. ; to On can assist in debugging and is appropriate for development servers. It should9 O/ m5 ^+ a/ ~) d
  516. ; however be disabled on production servers.0 D4 _1 z0 `1 r1 i
  517. ; Default Value: Off
      J# v* H9 O4 L2 s9 M5 N2 [, p
  518. ; Development Value: On/ C9 `# y% w& U6 ?7 Q% x
  519. ; Production Value: Off. i) J9 _8 c3 d+ z7 E- W/ K/ t
  520. ; http://php.net/track-errors
    ) M: D: ^2 F9 H: f' w/ W
  521. track_errors = Off
    ) G) y8 P9 R- s

  522. . |6 @: X8 b6 C
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    " ^9 g- X0 H5 V2 h# h- k8 x( n3 y
  524. ; http://php.net/xmlrpc-errors$ a2 k) I3 K2 U
  525. ;xmlrpc_errors = 0
    - B4 f0 i* H& U2 G9 t! b' x' A

  526. ! O; q5 S, w. {0 C" ~
  527. ; An XML-RPC faultCode  B: R$ m6 u& z* Y3 R3 R
  528. ;xmlrpc_error_number = 0" ^( Z# k$ Y% b0 W

  529. : u1 Y2 S. T9 X: n) F
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    " ]9 X; h* B8 T4 H
  531. ; error message as HTML for easier reading. This directive controls whether/ n: s) O5 c$ |7 ^( j0 ], y
  532. ; the error message is formatted as HTML or not.! y8 j" k- R: T! [' X
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI. a% C- `' ]# z# M, n! X, w
  534. ; Default Value: On2 C6 M/ z9 y+ B+ ^3 w0 _1 h
  535. ; Development Value: On/ ?7 o* |7 M( C
  536. ; Production value: On7 ?: D4 X4 i. H: B/ ^) j4 |
  537. ; http://php.net/html-errors
    ( ~* Z1 @) ]$ E1 a) B+ \
  538. html_errors = On. h. r3 j9 v: v0 a' S

  539. " E( l) `/ q. t3 _$ h* S
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP) o6 u1 [! k3 h1 e
  541. ; produces clickable error messages that direct to a page describing the error+ i5 }, L9 R7 U  Z
  542. ; or function causing the error in detail.; j. o# d2 E; E. W" N
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    / T/ R4 l+ Y& s8 r2 _
  544. ; and change docref_root to the base URL of your local copy including the
    3 {9 f+ N1 T! }8 k8 [7 i7 ~+ `$ v
  545. ; leading '/'. You must also specify the file extension being used including
    # v* O! Q. @# Q6 ^3 L5 ?6 k! g
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which' u+ {7 [, U. X" X* O  H: H
  547. ; case no links to documentation are generated.( g0 ?1 i8 A2 j& W! _
  548. ; Note: Never use this feature for production boxes.) ^4 }" S  I3 f* `( a6 H  E& ~
  549. ; http://php.net/docref-root
    8 }: N- j7 c; V( E" v
  550. ; Examples
    $ h1 A. M9 `3 F5 y" l" u: W
  551. ;docref_root = "/phpmanual/"3 w3 |/ [% g; l
  552. ) }& [* @3 v+ ], ~
  553. ; http://php.net/docref-ext
    % d" @, V6 |* a5 n) z8 @
  554. ;docref_ext = .html
    - R0 R( `. B6 Z) h

  555. 0 ?0 {9 z! i+ f5 ~1 Q; @% R
  556. ; String to output before an error message. PHP's default behavior is to leave+ V. O3 }9 k0 f$ m
  557. ; this setting blank.
    4 G) ^1 {( C+ E; U2 c% v5 h# |6 ~: J
  558. ; http://php.net/error-prepend-string6 o5 `: y" L& @( h* M! j5 V
  559. ; Example:; w! N6 L9 I% ?. O6 ]' s: \3 X% Z! }
  560. ;error_prepend_string = "<span style='color: #ff0000'>"7 ?, [: I& o5 B- L  D2 z0 s3 a
  561. 2 H$ ]( \& L- U' q! a
  562. ; String to output after an error message. PHP's default behavior is to leave4 g; `/ @) v+ E- u: s- P0 U
  563. ; this setting blank.$ W" x4 s/ d# N- u5 p, q3 S1 w) r1 I. I
  564. ; http://php.net/error-append-string
    ) c& \7 X3 L. _3 O- X, c/ {
  565. ; Example:
    ( |* d5 b& e1 v: a0 h% [) m. J
  566. ;error_append_string = "</span>". w4 w( h1 ^) U6 K/ ^; ]2 H

  567. 5 r# j3 {: D0 I
  568. ; Log errors to specified file. PHP's default behavior is to leave this value7 a2 H% N2 ~+ @: R) h8 F3 z
  569. ; empty.3 l" N5 h( B  J0 d4 d5 |
  570. ; http://php.net/error-log0 n8 p# R0 ^8 p% `( Q4 u
  571. ; Example:
    2 y$ T7 ?  p! Z# A7 K# p
  572. ;error_log = php_errors.log! f" }# l+ x9 s5 C
  573. ; Log errors to syslog (Event Log on Windows).! ~( S# z8 O$ o- n
  574. ;error_log = syslog
    # P: V% z. Z1 O: i. Q

  575. + b" z7 J" `$ n* M
  576. ;windows.show_crt_warning- ^: D- E( V6 W/ M* ^' x1 v
  577. ; Default value: 0. @/ x. X! h  Q
  578. ; Development value: 0. f$ F7 v" Y- {- B) v" r1 I
  579. ; Production value: 01 s( o" t) z( a$ X1 |/ J

  580. / c6 C( c2 a5 d8 ?9 I7 t2 }. ]
  581. ;;;;;;;;;;;;;;;;;2 c* V1 l% ?5 |, M: l+ J
  582. ; Data Handling ;
      T5 h- ?3 i1 F5 |3 _4 B
  583. ;;;;;;;;;;;;;;;;;& r; P# |! {1 c: N! V9 r2 q

  584. + c) g. Z0 d  ?+ Y' }" G" Y$ ]
  585. ; The separator used in PHP generated URLs to separate arguments.
    ! g1 Z& r% m+ Q
  586. ; PHP's default setting is "&".
    6 i. Q- D0 Y7 d; C
  587. ; http://php.net/arg-separator.output- p+ A& k& Y+ l
  588. ; Example:  }3 R0 @( q* e8 e! s
  589. ;arg_separator.output = "&amp;"
    1 v0 J& |2 G( P1 @5 ^0 ^
  590. # X( ?7 `+ x3 D6 ?
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    . l, C( F; j3 q
  592. ; PHP's default setting is "&".
    0 h+ ]/ v6 A' d
  593. ; NOTE: Every character in this directive is considered as separator!- {: t4 S$ l  K8 S) M9 w2 _6 U
  594. ; http://php.net/arg-separator.input. ~; D* P! l- s5 i$ [2 P9 m$ s: }
  595. ; Example:
    , L1 R" c  w0 `2 ^" u: w
  596. ;arg_separator.input = ";&"  d$ z. _$ V8 P! [2 O+ s9 h

  597. & F' z* ^8 H- g
  598. ; This directive determines which super global arrays are registered when PHP& V) F* m* l3 }# T
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    - @& u. R, X5 |. w+ O
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty) i9 z2 e% x( B5 L+ J5 _  S
  601. ; paid for the registration of these arrays and because ENV is not as commonly6 Z% e0 n5 |& r
  602. ; used as the others, ENV is not recommended on productions servers. You: N1 M0 Y7 i* y4 R1 J& g6 a9 ?
  603. ; can still get access to the environment variables through getenv() should you7 w. @7 `+ P0 G% O) m
  604. ; need to.
    . x1 E0 s& W. k. W# F- M0 f2 i, I
  605. ; Default Value: "EGPCS"
    2 r0 U1 I( n* e8 a
  606. ; Development Value: "GPCS"
    7 _7 A2 J- |% s2 |1 C+ T
  607. ; Production Value: "GPCS";
    , T9 f$ I1 Q8 p/ b' H, J
  608. ; http://php.net/variables-order
    1 T; A( U3 y+ F# j1 H
  609. variables_order = "GPCS"  z' q/ l+ h3 F8 K' m8 X

  610. $ |# u7 A9 Q5 H- d! j' ~0 y" p
  611. ; This directive determines which super global data (G,P & C) should be) T) v4 A: h0 H9 }! }; _
  612. ; registered into the super global array REQUEST. If so, it also determines  e1 }3 C7 a% [3 q
  613. ; the order in which that data is registered. The values for this directive4 `3 K& K  P) Q% A7 D/ ]1 K, V1 C
  614. ; are specified in the same manner as the variables_order directive,5 d# ^! x5 y. d; M
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    1 f% g9 p4 G7 {) j9 h( v3 u! Y
  616. ; in the variables_order directive. It does not mean it will leave the super
    # l& H! n; O; X4 i. O+ S4 f
  617. ; globals array REQUEST empty.  A& f1 u. f* ~3 S, r! q
  618. ; Default Value: None# }7 v+ e$ H$ p0 t9 e
  619. ; Development Value: "GP"
    ) K0 m3 l, c( @8 f
  620. ; Production Value: "GP"' B) u5 ~3 G; M6 [* X3 s
  621. ; http://php.net/request-order
    1 ]; V, {7 I, }9 v; S7 ?( A
  622. request_order = "GP"
    3 u5 ^+ ]& Y: T; m! p; X' }

  623. 6 t% I. l. [. ^4 S  H/ j
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    , b  a/ v* Q5 w" Z+ i
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script$ _$ L( @( ]# w; y3 T$ e. c
  626. ; is invoked. $argc contains an integer representing the number of arguments5 \+ Z. ?" w& E0 `% z6 U
  627. ; that were passed when the script was invoked. These arrays are extremely
    , ?4 n# A3 q) i
  628. ; useful when running scripts from the command line. When this directive is) K6 K) k& r, S, p3 K: |$ g& h
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    1 y" N0 ?8 I# }
  630. ; a script is executed. For performance reasons, this feature should be disabled% A0 B" t8 N8 b3 T+ d
  631. ; on production servers.9 O( [" W( O9 ^* m/ ^
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    " R; ~9 C( m4 J0 l2 B2 }4 i  Z, A5 ~
  633. ; Default Value: On4 O' _  }7 u& P4 G
  634. ; Development Value: Off  Q" @' ^2 V8 b9 G
  635. ; Production Value: Off
    : F" ]$ a5 Q8 ~1 m5 x* P+ X: x
  636. ; http://php.net/register-argc-argv
    ) [* H8 d* E2 R6 N$ e" J
  637. register_argc_argv = Off+ C3 I' @9 v. D7 \

  638. / X- e8 p1 b" z& v$ V# K) W' u
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're7 a0 w- q4 [3 Y- L: t
  640. ; first used (Just In Time) instead of when the script starts. If these1 u( C% {' P  `' n) y1 A
  641. ; variables are not used within a script, having this directive on will result$ c; |4 e" j, ^" _7 j
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    9 ?7 t+ K& R0 \+ V: W& I
  643. ; for this directive to have any affect.9 U9 U2 E8 J: W, J! G3 F" E, ^
  644. ; http://php.net/auto-globals-jit
    4 m# X9 V* D& Z" W' S8 F
  645. auto_globals_jit = On% |7 ?, W0 b* k- ?+ u
  646. # x$ G6 K1 R% V0 x% n
  647. ; Whether PHP will read the POST data.3 n! Z. p9 ]+ a
  648. ; This option is enabled by default.
    & q7 h4 v' e3 O1 |  B; Y
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST0 }( h5 ^, X# s- N+ P7 t
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    3 z, N. G8 d6 D. c& p5 b  r
  651. ; POST data will be through the php://input stream wrapper. This can be useful9 i2 D6 H4 |) N8 V/ R6 ]9 ^
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    / ^3 v9 T$ Z2 L+ \
  653. ; http://php.net/enable-post-data-reading
    & F' T$ w% T/ n
  654. ;enable_post_data_reading = Off
    9 @% \7 a; y; A7 N  B# s4 g+ ^
  655. : g5 d$ q8 s9 @0 z
  656. ; Maximum size of POST data that PHP will accept., }3 Y6 P# b) t* I& V' L
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading; _5 ^: N% Q5 ?1 t8 u- ?
  658. ; is disabled through enable_post_data_reading.
    ' E9 ^5 y' z. E% X# }
  659. ; http://php.net/post-max-size
    ) ~5 B4 J) Z( n
  660. post_max_size = 50M* M2 O* O# h" p" ?

  661. : q8 ~4 n" X! D1 A& k
  662. ; Automatically add files before PHP document.! V) V0 G! H* K) Z" u7 _/ [
  663. ; http://php.net/auto-prepend-file
    & b7 A- O  X* P0 k
  664. auto_prepend_file =0 T* G- o% o0 L/ b) d1 Y, q

  665.   s1 |+ a6 e0 o5 Q7 T
  666. ; Automatically add files after PHP document.
    * A# b  ]0 ?8 f5 a( i: K
  667. ; http://php.net/auto-append-file1 k, t. P5 s* R! T3 M
  668. auto_append_file =
    ) b% ?+ f, }* n0 y5 X# {* Y
  669. - W4 R; G2 S0 n: m
  670. ; By default, PHP will output a media type using the Content-Type header. To
    / O: a& _& i+ ?  X  V; V6 W8 w
  671. ; disable this, simply set it to be empty.
    & E+ G( k& {1 N
  672. ;
    / U" ]% X1 u, ?! l$ E) E
  673. ; PHP's built-in default media type is set to text/html.
    / f/ W& R, p, e" d( v8 E- w3 W, D
  674. ; http://php.net/default-mimetype
    . U6 _! m5 z( K( K/ k/ n+ A  Q# B8 X
  675. default_mimetype = "text/html"$ K. S# a% W6 ?' B& F+ x

  676. 4 c: i% x6 j& A6 w" x
  677. ; PHP's default character set is set to UTF-8.( {4 q" i7 P3 i8 d) k4 k9 `
  678. ; http://php.net/default-charset+ M. e* B  |5 N# J% J4 U0 ?' l0 D3 u$ e
  679. default_charset = "UTF-8"
    / Q& {, z0 P% G: Z
  680. % P, d' U0 J; B* P0 i) M+ k
  681. ; PHP internal character encoding is set to empty.4 G: m2 Y$ |5 t4 P0 M4 S
  682. ; If empty, default_charset is used.) f. F- Z* C7 p
  683. ; http://php.net/internal-encoding# P- V6 j! [& v5 S. p$ f
  684. ;internal_encoding =
    & f' y* i& P6 m) Q/ z
  685. ; b# y  D# |7 Z+ x& J( m
  686. ; PHP input character encoding is set to empty., D1 d, ]+ {* E) W
  687. ; If empty, default_charset is used.
    8 v& ^! g/ ~) C1 T8 |. `
  688. ; http://php.net/input-encoding" b  j9 p+ i4 Y( b5 B* s- v
  689. ;input_encoding =
    2 I7 b' S6 S; S3 J8 j+ ^  J( d

  690. - ]$ A6 J3 q( G
  691. ; PHP output character encoding is set to empty., @/ G9 W7 V7 I3 A
  692. ; If empty, default_charset is used.* {" X9 S# |" T8 R6 _, [/ }
  693. ; See also output_buffer.5 v3 l; N, c; a* D6 M' V% {
  694. ; http://php.net/output-encoding9 R8 @8 q! d; s( r) n; g
  695. ;output_encoding =
    2 X* B0 ]  S+ n9 {2 o8 K- f

  696. $ U0 }  k& Y! d6 e( M
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is" l' g9 I$ h( J  K6 V$ q0 w0 R
  698. ; to disable this feature and it will be removed in a future version.
    6 k. B7 E- U/ R2 n8 T9 o
  699. ; If post reading is disabled through enable_post_data_reading,
    $ D: @' @$ U0 w; h9 l# U& H3 C2 f
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    / w$ |$ [1 N& {7 H4 S) e- E
  701. ; http://php.net/always-populate-raw-post-data
    8 p+ t) p6 ~/ ^$ z* O2 m8 x
  702. ;always_populate_raw_post_data = -1
    3 {# d$ F6 }" W2 R  C7 x

  703. : Q7 ]; a; v( k* s
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;$ \1 s1 ~4 t8 y8 e; D2 Q9 y6 O8 {" W
  705. ; Paths and Directories ;) x3 I4 \, S' A1 {" P) u1 N8 d  A$ n# _; r
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    - N* a3 ?% {7 Q' ?  j9 k" h- F$ K

  707. ) w# R% X, T  ^& c- g( y, n" V
  708. ; UNIX: "/path1:/path2"' W5 v2 Z" \. Q8 H% {) J
  709. ;include_path = ".:/php/includes"% k3 U) ~: h- ~( ^
  710. ;& G; ~9 w/ s) K, m
  711. ; Windows: "\path1;\path2"6 Y( c( q( Q9 l: }
  712. ;include_path = ".;c:\php\includes"0 f- V  y& [: C+ m3 J7 V
  713. ;9 }/ A2 t+ R2 x# V! q
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"' j& i4 m8 A9 j) ^* T; \
  715. ; http://php.net/include-path8 n! I2 Y5 a# ?( q  s8 m3 w
  716. 9 U/ r! ^% ~5 V7 K6 K- E9 h/ i" T* `$ u
  717. ; The root of the PHP pages, used only if nonempty.
    ( t5 D- t# _) z. h! c
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root: X2 Q* x. A- _
  719. ; if you are running php as a CGI under any web server (other than IIS)2 ?9 T( k) m7 u) o& k: c+ e0 e2 X
  720. ; see documentation for security issues.  The alternate is to use the) c& |0 O* N0 R! i' T' }' y
  721. ; cgi.force_redirect configuration below6 ~2 _. S0 I9 R# x3 P9 G4 J# F6 k
  722. ; http://php.net/doc-root
    1 y# d( `1 Q  |1 G) p
  723. doc_root =
    . r3 N4 `+ u1 \" f, c
  724. * O( l/ f$ N1 o1 }
  725. ; The directory under which PHP opens the script using /~username used only( z  Z0 m, V8 G+ g' }2 _
  726. ; if nonempty.
    & j+ K3 V1 c4 O1 J$ l' [
  727. ; http://php.net/user-dir
    # c9 _4 G$ g: W( T, V& p
  728. user_dir =
    3 y: x+ t9 B. z9 R0 W5 x# S

  729. 9 R" g2 d6 O0 S) k, A3 I2 G  O
  730. ; Directory in which the loadable extensions (modules) reside.2 y9 x* f& s" b  X1 |- M
  731. ; http://php.net/extension-dir9 [* x  F0 D" T" t4 u
  732. ; extension_dir = "./"8 {$ ]2 B# w! u8 S+ w& e% B
  733. ; On windows:
    ; L/ _# N7 t4 b6 J6 F* ?2 ], ]$ t
  734. ; extension_dir = "ext"
    : `, D- l3 |! T6 E& ^
  735. + w% c+ T% `2 c+ f& ^" c% u4 K
  736. ; Directory where the temporary files should be placed.
      T+ s' x/ r% |$ D
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ' v2 k; q- G% g& N6 T. x3 I/ O
  738. ; sys_temp_dir = "/tmp"
    5 \# H9 [0 U' H

  739. , U: p: x* K* z3 b! U7 M
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work. V7 w! N3 z7 C- E0 {
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically; H1 u# V/ j5 p+ P
  742. ; disabled on them.
    2 t0 N1 D7 D" u. V; Q
  743. ; http://php.net/enable-dl
    , W3 x- Z0 ?( I) p+ q( {
  744. enable_dl = Off
    * \6 ?2 }$ T. c: h  _

  745. , D6 k" u% Q5 D( y- j7 N% G0 S. M
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under( n" Z: }/ t6 }& U
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    & s' E5 I; e3 L5 l7 t$ D
  748. ; turn it off here AT YOUR OWN RISK
    : P3 @, Y6 a' I8 [4 t
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    , V- q- B( t) A
  750. ; http://php.net/cgi.force-redirect
    4 P& }: i" p5 `. M. Z
  751. ;cgi.force_redirect = 1
    ! ^- f, E( ?! r# b% |* ?5 K
  752. # r. Z: j7 O! \* r
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    * s' z0 \  G: e* T( \
  754. ; every request. PHP's default behavior is to disable this feature.
    2 F$ M9 A& x% A8 v
  755. ;cgi.nph = 1
    % e3 A- |7 I# B: E* [7 z4 K
  756.   y& f4 ]' G( B
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ; l6 P2 a- c3 c. C8 X7 w
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP0 B( _! @3 R) l- B5 [' Z0 [
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY; a6 n% q" ]' f( t. l
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    . ^+ W& `; x$ d3 ~1 @
  761. ; http://php.net/cgi.redirect-status-env
    6 U4 t  _/ Z! y, l" R, f, Z! f
  762. ;cgi.redirect_status_env =. S/ X4 [4 b4 d  b% [8 X/ n+ y

  763. 2 v4 e$ t& F# T; z
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    , s4 P8 Y" r- T
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok2 G7 U* J# [5 y
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    2 @5 F8 j& p  w8 O0 v
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    7 q! o% J$ @# q* W+ T, q( S! N
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
      h+ b7 ?9 s7 Q9 A
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    / B+ k4 Z! f- r- ^+ t" l
  770. ; http://php.net/cgi.fix-pathinfo1 ~: H6 U1 g8 j) [; X8 `' [
  771. cgi.fix_pathinfo=1! t+ I6 z) |5 i# J( a
  772. + Y9 l3 s; g( F2 ~5 h. U) B6 P
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside: f, r- H) j3 t
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    - i- X- a# |! @- m: f6 _
  775. ; http://php.net/cgi.dicard-path- d+ y$ N3 G5 r, z
  776. ;cgi.discard_path=11 E' G2 g  |, a( F; X+ C

  777. 3 r1 s& x5 K( T+ O4 g8 x* ^
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate! ]% j) y* C4 M3 w; p6 J
  779. ; security tokens of the calling client.  This allows IIS to define the  R% i- ^4 M3 d
  780. ; security context that the request runs under.  mod_fastcgi under Apache( {7 }; Q, \4 S  x) c  A! |0 r* `
  781. ; does not currently support this feature (03/17/2002)# [4 K" X: C) P# A. `
  782. ; Set to 1 if running under IIS.  Default is zero.3 M6 s2 R1 {( p5 ]5 }
  783. ; http://php.net/fastcgi.impersonate; j* ^4 K( s; z/ J
  784. ;fastcgi.impersonate = 1. B% |9 U; V) @9 Y2 B0 v
  785. + h! }# n) j! H, w, U3 R
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    : R  F! J# u, ^& H" W+ g
  787. ; this feature.0 H" n3 x% Z& u4 v3 {
  788. ;fastcgi.logging = 0
    ) }/ _+ {; X3 L. X
  789. 4 \/ \0 _+ Z9 \2 y1 b( S( e$ i: T
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ' W$ P, F. i) x+ P
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    - U. K9 c+ y$ V/ u( |7 q6 q. e
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    & U7 l0 S. e6 }9 B5 i
  793. ; RFC2616 compliant header.% c1 o+ F6 o& N+ Z8 B6 x
  794. ; Default is zero.
    7 E- Y& u8 W' T* |4 u
  795. ; http://php.net/cgi.rfc2616-headers% O8 ^$ R- w9 t; l. M* L( I- `) M
  796. ;cgi.rfc2616_headers = 0
    $ {  ]0 U$ ^, U" E8 n/ j
  797. ; J( W, z* Z/ _* g
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!2 U; d' |5 f" t
  799. ; (shebang) at the top of the running script. This line might be needed if the
    2 c, }" g4 ?" E* i
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI6 j; q7 C6 {; s  ^: S
  801. ; mode skips this line and ignores its content if this directive is turned on.4 d( B( m# f- \+ @" k. x/ y  b+ x- M( E
  802. ; http://php.net/cgi.check-shebang-line0 {7 }5 ]4 o* a. H$ ]
  803. ;cgi.check_shebang_line=1
    + L/ g* v: R( t3 c& i' Z2 J; X
  804. * X& t5 O# F$ }, j: ?+ A! y
  805. ;;;;;;;;;;;;;;;;* a+ ?0 @  P8 L% V6 A% M
  806. ; File Uploads ;  [  a+ }. Y+ |
  807. ;;;;;;;;;;;;;;;;5 _& e9 B6 H% {. X' q7 U4 M& L
  808. ! P5 V0 B. i# X& n4 v- j
  809. ; Whether to allow HTTP file uploads.* Z4 I  p6 e7 I: N/ V) m+ u
  810. ; http://php.net/file-uploads
    ' n8 Z# ^5 |0 R1 E
  811. file_uploads = On
    ! D' B8 q0 g) j8 Y* E
  812. - t  U( w9 X7 f
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ; |. M7 }% ~1 {0 C1 G7 S. j
  814. ; specified).
    : Y# x9 G6 P' ?. V' \
  815. ; http://php.net/upload-tmp-dir" q  z" @5 H; ]$ F, ~* k' K  `
  816. ;upload_tmp_dir =+ M. O$ f& @5 }* Q' W
  817. 8 a# H3 R4 V, {
  818. ; Maximum allowed size for uploaded files.
    % J3 R; C6 A2 e' p- K
  819. ; http://php.net/upload-max-filesize1 f2 H# |; j+ Q! F4 L3 H& Y4 H. ~! f
  820. upload_max_filesize = 50M
    / X/ Y1 {$ u( x$ W6 |6 h
  821. ( f# f" h. U* R1 c/ Z
  822. ; Maximum number of files that can be uploaded via a single request; o# w% t. G& R: ]4 J/ I4 p- J" @
  823. max_file_uploads = 20
    0 n, z9 h- h: v; {7 r
  824. 2 s. O" ~8 {$ b2 b
  825. ;;;;;;;;;;;;;;;;;;
    % k1 i, c3 z4 t, Q( _+ |' f
  826. ; Fopen wrappers ;
    2 y6 o& ~. `! K0 ?! Z' T5 d& V8 H
  827. ;;;;;;;;;;;;;;;;;;6 a0 g" ]! A+ {
  828. ) J1 e( I: P. N
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    % l  x: _3 b8 w1 {
  830. ; http://php.net/allow-url-fopen
    - N/ l* e4 A5 i1 P) M$ P; _
  831. allow_url_fopen = On% w3 T/ _5 B/ N

  832. ' }+ {, t4 Z6 B% k
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    9 p/ C( m  Q1 z$ {
  834. ; http://php.net/allow-url-include/ |# ]& `& t" U3 g/ V
  835. allow_url_include = Off
    * r( R, _) k. m: e
  836. 9 p- J, A. ^# \
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ) e0 t: I* w7 W
  838. ; for this is empty.
    ' `6 f( j% \. i. Z! j+ J$ B: P8 h
  839. ; http://php.net/from' [# M+ Q) ?* K
  840. ;from="john@doe.com"
    $ ~8 @  _; I5 v

  841. - K) u% }6 V! z9 {  J1 M
  842. ; Define the User-Agent string. PHP's default setting for this is empty.- {  O: s* i! q; a/ b, s8 ~
  843. ; http://php.net/user-agent
    1 T& N/ B8 E% U7 L) L( h% Y0 R
  844. ;user_agent="PHP"+ i# C% j" Z' b, I
  845. 9 o3 N  H, h$ J. _- d3 g7 F
  846. ; Default timeout for socket based streams (seconds)5 n9 z) V2 L  N# a; g& ?  L" p
  847. ; http://php.net/default-socket-timeout
    ( g: G) I5 g4 x6 T6 t* T% ^, K
  848. default_socket_timeout = 606 P) a* y9 P  t: r; W  D

  849. " h/ W# t8 a- O7 u
  850. ; If your scripts have to deal with files from Macintosh systems,4 f0 y+ `! \% ]5 z! B
  851. ; or you are running on a Mac and need to deal with files from$ ~. `$ ]6 \& a- X: d4 @
  852. ; unix or win32 systems, setting this flag will cause PHP to9 |( t" y  M- M9 ?# K" s6 ?# x: |: o
  853. ; automatically detect the EOL character in those files so that
    2 o* A4 k) H2 @0 W, o5 f2 W9 n
  854. ; fgets() and file() will work regardless of the source of the file.
    6 G* D3 ]" [3 ]/ L% n. S! O4 K9 K8 K
  855. ; http://php.net/auto-detect-line-endings5 j7 Q6 w( k, [, O. p
  856. ;auto_detect_line_endings = Off
    ; A9 l; C( M6 l
  857. ; E: @6 n) @2 l+ s
  858. ;;;;;;;;;;;;;;;;;;;;;;
    % i  x' _2 V1 r& b* f
  859. ; Dynamic Extensions ;
      U- m4 Y9 x# d0 T7 n! E+ o
  860. ;;;;;;;;;;;;;;;;;;;;;;
    8 T4 \2 }7 d$ J3 n) j

  861. # E* a/ y0 o+ l5 |1 R8 s
  862. ; If you wish to have an extension loaded automatically, use the following3 ?- B4 }5 C# G$ @% H, O
  863. ; syntax:
    % @5 z0 ^( U8 J) Q* \' {2 E9 q% u
  864. ;
    ) X0 o* S2 M# `3 v% K1 D
  865. ;   extension=modulename.extension
    * X9 Y5 L$ m& o) u
  866. ;
    / F! ~4 m; ?: Y, k! w- g( E3 f: I
  867. ; For example, on Windows:( Q) o6 r# P/ D2 f: Q% G, |2 L
  868. ;' N" ~. l3 }$ ^% B8 W4 x$ H5 k- c1 m
  869. ;   extension=msql.dll
    5 D! K3 r4 x0 {( K3 r7 F8 }
  870. ;
    & n6 u8 E* o* v
  871. ; ... or under UNIX:
    : |7 X  _5 t6 b9 q' D* J
  872. ;8 W& J: h& D! W+ ]
  873. ;   extension=msql.so
    ' W5 m$ P- l5 @' w) P
  874. ;7 m* t# y; B, \
  875. ; ... or with a path:
    9 V& z7 _8 R( `8 N( N
  876. ;
    - V* d4 z5 K. `. [: [6 ?& q0 k
  877. ;   extension=/path/to/extension/msql.so
    $ U% O9 Q- x% N# d% m- h8 c2 P0 c
  878. ;
    + @5 o4 }7 S, l% }9 Q) d) |* I
  879. ; If you only provide the name of the extension, PHP will look for it in its
    4 _, k! w; `( f0 s
  880. ; default extension directory.
    - s3 _6 Y( ^$ X0 W' B  R1 S
  881. ;  b5 T' f" \; ?, ^2 n* Z; N
  882. ; Windows Extensions3 P9 ~4 B  B! G- u. x; y
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    - y0 v" \' n+ n" N7 V; h
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    1 G; h. Z8 B5 a9 m+ Y' f
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).  A! p" S0 c" L/ }/ h% H6 v# H+ M
  886. ; Be sure to appropriately set the extension_dir directive.
    $ C  _* I, f! k6 g8 _8 |& p" ~
  887. ;2 H; [  }* d6 c  U% ]9 {
  888. ;extension=php_bz2.dll
    3 F1 X& r& q8 E4 J) c5 S. F* w
  889. ;extension=php_curl.dll' L' m& j9 m2 \1 T4 x
  890. ;extension=php_fileinfo.dll
    * M% Z, x# q" S2 _8 Z( k6 ?( k) s
  891. ;extension=php_gd2.dll
    , d9 B0 Y1 C3 c; Z0 V  l5 j, G; s$ P4 k
  892. ;extension=php_gettext.dll1 w9 _3 I; \4 |; i% e
  893. ;extension=php_gmp.dll* c  d+ d5 d8 u5 K
  894. ;extension=php_intl.dll" x# g/ f  z' a
  895. ;extension=php_imap.dll- N( B9 W( z* c8 l+ \
  896. ;extension=php_interbase.dll5 T3 T% o$ ^! o+ d$ x
  897. ;extension=php_ldap.dll/ y2 h' j' ?4 I; a
  898. ;extension=php_mbstring.dll) @0 v' `9 {6 ~9 c: [2 N; e) p
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    + \% t; v3 f: O6 H+ z% E
  900. ;extension=php_mysql.dll* e  `6 g0 u+ c  d3 k1 i+ K8 u
  901. ;extension=php_mysqli.dll+ I2 y0 N( _" Y. S" W
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client! E  x, N, f! d9 x/ y+ _& E
  903. ;extension=php_openssl.dll
    * Q! D0 [4 b' ?! V( ^
  904. ;extension=php_pdo_firebird.dll/ g1 j" q3 u" K. L/ [9 W+ u
  905. ;extension=php_pdo_mysql.dll; L- @/ v/ I, s2 j- P' \
  906. ;extension=php_pdo_oci.dll
    ) m4 b* M, H( T$ \1 P
  907. ;extension=php_pdo_odbc.dll
    + a7 ^/ U8 b9 v, J
  908. ;extension=php_pdo_pgsql.dll4 w) y5 G( a% d1 ~# w+ q
  909. ;extension=php_pdo_sqlite.dll
    0 W9 o) R) L. U- c
  910. ;extension=php_pgsql.dll! Y+ }2 S2 X1 {9 H% o
  911. ;extension=php_shmop.dll
    4 j$ j" x. e5 @7 p
  912. " G4 W# J% a1 O  R" I
  913. ; The MIBS data available in the PHP distribution must be installed.
    ! a  u% Y  q* ]
  914. ; See http://www.php.net/manual/en/snmp.installation.php . t% l- D1 y% u  p: k! ^2 g) l0 [
  915. ;extension=php_snmp.dll) [, _" K0 F0 ^7 H. d

  916. & L1 h! z, a; g9 a6 t
  917. ;extension=php_soap.dll
      v0 J/ U) S' z$ ~
  918. ;extension=php_sockets.dll. D  F+ k& R; M9 m
  919. ;extension=php_sqlite3.dll
    ) C$ s' a# W  A8 ]4 K% ]( \1 \
  920. ;extension=php_sybase_ct.dll
    # |% G- {  k0 X% B
  921. ;extension=php_tidy.dll: p& L0 M, I* ^) E+ E
  922. ;extension=php_xmlrpc.dll. D1 L+ g9 v/ K' b- R! i
  923. ;extension=php_xsl.dll2 G) X+ c. K3 ]: x  F  L
  924. " m- {) o$ d. }8 K; E: |7 Q$ P! N
  925. ;;;;;;;;;;;;;;;;;;;
    - z$ G+ ]6 W6 T  H
  926. ; Module Settings ;% W3 i6 Z% X3 D3 Y1 Y0 h# Y% X
  927. ;;;;;;;;;;;;;;;;;;;& q' w2 L, P6 M' |7 Y0 v5 o
  928. 7 O: A1 ?1 i" g  w; _2 m- v
  929. [CLI Server]
    8 |* U+ M7 }+ ~- T4 \# H
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    , j, ^  H9 E2 l
  931. cli_server.color = On
    # c# @0 Q- z, v# P" X

  932. 8 `6 c, g" x- M5 |
  933. [Date]
    7 L) G) r- A* c$ M: j  ?
  934. ; Defines the default timezone used by the date functions0 v( d& t* F, i: \6 H3 S
  935. ; http://php.net/date.timezone
    : z7 o1 G3 c/ j) k/ ~* g
  936. date.timezone = PRC# R5 P4 y5 }' ?7 {6 W+ @
  937. 4 _2 S9 x" |$ O$ d* y5 ?2 W
  938. ; http://php.net/date.default-latitude/ q; Y& L8 I9 g6 l
  939. ;date.default_latitude = 31.7667
    1 Q# ~0 U7 K. \! [7 V

  940. 5 s) p) U+ n2 z
  941. ; http://php.net/date.default-longitude
    " |# @! T" B; ^: j1 a3 C
  942. ;date.default_longitude = 35.2333
    % G2 `, a4 H( T

  943. 7 `/ Q2 J& ]3 B% }  R: V
  944. ; http://php.net/date.sunrise-zenith
    . X4 i( O$ T' Q* |* g  |& j6 @. b
  945. ;date.sunrise_zenith = 90.583333
    8 t6 J1 [8 ]9 v. n6 k2 j- c

  946. 3 f1 d2 R  _( m' ?$ U
  947. ; http://php.net/date.sunset-zenith" X: u  j& |3 ]5 y" R9 l
  948. ;date.sunset_zenith = 90.583333
    7 f- ^( q3 a& X) n+ O
  949. 3 m+ r0 ^  o/ F8 h; R4 v
  950. [filter]; I' e2 l/ o  p9 L
  951. ; http://php.net/filter.default7 E& a' u9 Z$ M3 i( a* N8 ^
  952. ;filter.default = unsafe_raw8 y" o$ b- l+ X8 K
  953. - f# g3 |# |  f" V& X
  954. ; http://php.net/filter.default-flags3 k, f9 e/ S* s
  955. ;filter.default_flags =
    . ~% I: B6 z6 t
  956. 3 {/ C' v" d4 p( Y5 x, x
  957. [iconv]
    / K) r1 k" E- I
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    4 _( {5 _3 |0 _/ O
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    % G0 {. Y/ _/ T2 Y5 ~  y
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    8 u2 j! q% z9 Q2 _+ ~2 H; ^; ^
  961. ;iconv.input_encoding =  n4 Z% C  D/ u# c/ A5 x
  962. $ O* E. ~0 E7 m/ z: |
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.! N  {4 g/ A& x1 g1 _' }; ~8 t( D
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    0 m+ `; I$ R3 ^; T, t& [
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , {9 }  A% _5 \4 _- E' a) v
  966. ;iconv.internal_encoding =
    ' f0 }, O& f9 w3 E, W! d0 W! A' S! X( n

  967. ! Z& l. R0 r5 M+ ~% s: [0 u' k. U
  968. ; Use of this INI entry is deprecated, use global output_encoding instead./ O) C* |# w; P* y" |
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    . }' f! K' M$ c4 D8 K
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding0 }  O- [8 y, a
  971. ; To use an output encoding conversion, iconv's output handler must be set
    9 W$ n! ?2 J9 q: m) m' [$ p
  972. ; otherwise output encoding conversion cannot be performed.; b8 B; q, H" M
  973. ;iconv.output_encoding =
    6 K; K( f, F9 J
  974. ! ~2 t+ x" F" N
  975. [intl]& u+ W, ~# J4 G% Y6 q
  976. ;intl.default_locale =" ]7 Y  V7 d6 C
  977. ; This directive allows you to produce PHP errors when some error" U4 C) C, J- y" Q" |: c
  978. ; happens within intl functions. The value is the level of the error produced.
    ) o4 N) \  ]" Q: g; {- r
  979. ; Default is 0, which does not produce any errors.7 s) v6 p" y1 P5 R, a" X
  980. ;intl.error_level = E_WARNING
    4 L6 n4 D& S2 a3 U
  981. ;intl.use_exceptions = 0: F: t0 W5 M! c. h! W

  982. : |! e7 K- a( ^% H3 @# ~& V% a. w
  983. [sqlite3]
    . W" S* R$ @, k( `- B4 _
  984. ;sqlite3.extension_dir =- @  Z6 l5 ?$ ]- ^: a. w1 j

  985. 3 w) k5 V  R% R  h
  986. [Pcre]
    1 n$ ~) Z  {3 A
  987. ;PCRE library backtracking limit.
    & J7 m9 J- `$ h5 q" }! B! ?  P
  988. ; http://php.net/pcre.backtrack-limit
    : q6 |9 u# D$ z/ V4 H, F2 d
  989. ;pcre.backtrack_limit=100000
    ! g5 X: o  N1 Z# `7 |: o1 w

  990. & |7 N! ]7 F# [" d
  991. ;PCRE library recursion limit.2 {6 [2 [/ j, ^9 x
  992. ;Please note that if you set this value to a high number you may consume all
    + j' r7 V/ N3 H* k" s
  993. ;the available process stack and eventually crash PHP (due to reaching the) k$ S4 t  X' Q  u( f9 W
  994. ;stack size limit imposed by the Operating System).
    5 g( K8 B( S% e4 F' S/ D, q
  995. ; http://php.net/pcre.recursion-limit
    $ v$ Y2 ~* V* K6 m  v
  996. ;pcre.recursion_limit=100000
    , F1 Z( M: m" _$ P

  997. : K, E, _/ G+ H+ F% s% I" h
  998. [Pdo]0 ]- }- v0 S* t+ h, \
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off") P% Z7 h: d' M! i$ q& L4 A& x
  1000. ; http://php.net/pdo-odbc.connection-pooling
    2 Y  P, X% M1 N$ D
  1001. ;pdo_odbc.connection_pooling=strict; C9 W: v7 w" ?1 H9 X
  1002. 9 t# u. [; H9 h/ D& n- N
  1003. ;pdo_odbc.db2_instance_name
    / i7 k( m% b1 n

  1004. / t+ k( J: V7 W5 H4 Y
  1005. [Pdo_mysql]8 |. m( Y' P' s5 Q/ c* r3 T* G
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache" }5 W# P0 B9 L( m/ N  G( T
  1007. ; http://php.net/pdo_mysql.cache_size
    1 V% g& N# s7 Z) K1 u
  1008. pdo_mysql.cache_size = 2000% q4 j3 ]% I2 c4 M' S8 w

  1009. $ I! r5 p- v7 C3 l+ x) Z
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) R6 }, C& F* ~7 G+ z
  1011. ; MySQL defaults.
    9 I# o. R* x0 t0 F) {
  1012. ; http://php.net/pdo_mysql.default-socket; u0 G+ H$ l- p  Y, Q
  1013. pdo_mysql.default_socket=% [: c, j0 d+ d* A( ^4 t8 c

  1014. : d- S, @6 m# x3 G# E. F  P
  1015. [Phar]
    - G4 U& _: d: M9 A8 t) z8 {- y
  1016. ; http://php.net/phar.readonly
    6 u! U9 A: H& @- J
  1017. ;phar.readonly = On
    + C( K& T: \9 n9 M6 `, p" h4 N4 |

  1018. ! n* R6 p% J8 ]& E0 g" J
  1019. ; http://php.net/phar.require-hash1 U9 |, c  R) w' H
  1020. ;phar.require_hash = On
    % {/ e5 o8 T3 y) r+ T

  1021. 4 S" {& u- S1 t
  1022. ;phar.cache_list =
    4 Q5 ]* I- [5 f4 L- G; a+ p7 p& x5 s
  1023. 0 T, i. G. G" C3 _. K) x
  1024. [mail function]
    $ ^( _* @/ F! b( r
  1025. ; For Win32 only.; F6 P) \# F1 m; s! o; |
  1026. ; http://php.net/smtp2 |% Z0 c; }, g* E( e
  1027. SMTP = localhost
    # Z0 l* d; U! }  p  y3 r" k# W+ h2 n
  1028. ; http://php.net/smtp-port. P& ?3 g% _' g1 S0 V2 Y7 K, V7 r9 ^
  1029. smtp_port = 25# q- l4 F+ A5 O8 K9 W) w# g1 M: m

  1030. 8 j5 N) f1 ?# ^8 \- _' k7 W7 D4 w
  1031. ; For Win32 only.3 I3 k& j' D7 j2 q2 G
  1032. ; http://php.net/sendmail-from
    + z: T4 `8 ?# H2 t& |" Q
  1033. ;sendmail_from = me@example.com
    7 V1 Z( `5 w2 M! u

  1034. & x" Q8 J. \) P9 A- _2 P: x
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").. @7 h- W' i1 W4 ]" z7 t( c
  1036. ; http://php.net/sendmail-path2 @" B* \/ N  |: U2 A( O; v
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    ; D7 m% H# u3 a7 k% x% C! y
  1038. 9 L4 p) @- M# C0 K$ H9 n& l
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    # S  z4 r# p: p; E% p
  1040. ; to the sendmail binary. These parameters will always replace the value of# J* N. |% h* ?; v( p7 c6 Y
  1041. ; the 5th parameter to mail().
    . j5 v( J5 d2 {$ F' m' C8 O
  1042. ;mail.force_extra_parameters =
    ' ~; B, Y- Y- M" J

  1043. ; N) i3 r1 S, ~! ~- e# I
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename+ t0 C: j+ k6 p5 [& J: L
  1045. mail.add_x_header = On1 `# p; K( \8 ^3 ~5 X& x/ Q/ p

  1046. 7 l! ?5 q1 S# p; ~2 k8 d
  1047. ; The path to a log file that will log all mail() calls. Log entries include. C3 {# g- n5 O9 N0 w% ~
  1048. ; the full path of the script, line number, To address and headers.. b% i: C8 c, @) m
  1049. ;mail.log =
    " y. i( U" b" @* }
  1050. ; Log mail to syslog (Event Log on Windows).
    # [6 C# Q+ Z3 y+ E, S5 _2 ?& G
  1051. ;mail.log = syslog: J$ K: I9 ^, o) J7 N+ a' a! |' @

  1052. - [; Q  }/ x1 E- y) a
  1053. [SQL]
    ( p# q! V0 w# A+ v! K3 C
  1054. ; http://php.net/sql.safe-mode* @0 u. B9 K  @4 p, Q
  1055. sql.safe_mode = Off8 S" y+ {3 }! a0 w. s8 ~8 {! A
  1056. ; c# K  X4 y$ `
  1057. [ODBC]* _( b* a& Q9 ]# e/ w# P, U
  1058. ; http://php.net/odbc.default-db, D9 Z- J3 x* D- b0 ~
  1059. ;odbc.default_db    =  Not yet implemented; n' e7 }3 j9 a0 @: C0 K) I

  1060. : y' u- T0 j% r
  1061. ; http://php.net/odbc.default-user
    / D) ]2 ]0 q* G% K- [! s4 K( A
  1062. ;odbc.default_user  =  Not yet implemented. E) b( V/ R% p1 {" c& w9 v6 [/ D

  1063. . ]% p( t2 y6 S6 u
  1064. ; http://php.net/odbc.default-pw
    9 |8 D5 I/ v6 W* I
  1065. ;odbc.default_pw    =  Not yet implemented
    7 F. x  o8 t! f  }$ w

  1066. 9 V! b; W4 [2 k. Q+ p  A5 o# D$ m
  1067. ; Controls the ODBC cursor model.
    ( U% M! g, `+ ?, x; J9 T
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ! z" h6 m9 Z) \) O+ ?. W
  1069. ;odbc.default_cursortype& n9 U) W) v0 v2 y5 g, B7 j
  1070. 8 ]0 |( t2 y1 z0 ^7 }8 N7 x- F
  1071. ; Allow or prevent persistent links.
    6 R8 ]4 b# ^) R2 T" f' S" m
  1072. ; http://php.net/odbc.allow-persistent
    # r% t5 V$ w% x: _% n. t
  1073. odbc.allow_persistent = On
    7 I! I0 \' y% L+ E; h! a

  1074. # g6 ~# {/ ~8 i% R
  1075. ; Check that a connection is still valid before reuse.* t8 H) _7 ~9 c2 ], v" I  c- g9 j
  1076. ; http://php.net/odbc.check-persistent
    . z; m& t- a! x5 G
  1077. odbc.check_persistent = On
    " @" a7 J0 o, w' S' M$ t+ ~

  1078. ! M& `" p. I) v
  1079. ; Maximum number of persistent links.  -1 means no limit.) d. n( G0 {7 Z. P6 I3 c% B( j
  1080. ; http://php.net/odbc.max-persistent8 G7 W" n: f8 W5 r6 `- L8 z% _
  1081. odbc.max_persistent = -1  v$ ]1 S2 `+ A3 Z% P# d
  1082. . Y5 {5 J7 I* U# L' X2 P: E
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 y1 c& m' Z$ A/ D" R9 N! z& x3 i
  1084. ; http://php.net/odbc.max-links
    * |5 |/ Y0 Y: n( m* k: ]% S& x
  1085. odbc.max_links = -19 G: ?$ ~* p2 I3 d6 z5 I- [

  1086. ' [, P. d" [. _& X) E2 V
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means' {4 I4 X$ ~$ O5 i) l
  1088. ; passthru.
    3 J7 A8 l) f: o4 e1 p' B
  1089. ; http://php.net/odbc.defaultlrl
    " {- l8 o9 y! |+ G+ a1 B
  1090. odbc.defaultlrl = 4096
    ( K* ^) v6 K3 W: u% D( |, x$ O
  1091. ( u: x: v! ]& Z/ @% V
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    , Y7 q& J5 N% O. Z7 L, B
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    - h- S# r2 Q2 c5 M' n0 i# x
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    6 F* d& T( w# ?% Y
  1095. ; http://php.net/odbc.defaultbinmode6 x, g' P; O  U- ]' `# W
  1096. odbc.defaultbinmode = 1
    " F# V' F' X5 P
  1097. / y( s) m+ m; B8 ]. Y) v
  1098. ;birdstep.max_links = -1/ ^- I( w: }1 z& z$ Y

  1099. & C+ i+ S: n8 P7 q
  1100. [Interbase]
    5 c, _/ I& e8 h/ L
  1101. ; Allow or prevent persistent links.
    ( o" W& |, k' H0 {
  1102. ibase.allow_persistent = 1
    2 j& D; l! ~/ h) g5 \3 H
  1103. ; z/ h: K4 e, [! c9 j
  1104. ; Maximum number of persistent links.  -1 means no limit.4 ]' b0 [( r7 Q* G' H! \, e- L) ~
  1105. ibase.max_persistent = -1
    6 [$ N% i! a0 F* Y) G) O6 K

  1106. 7 x5 l/ w% m& M( y1 e( ?3 L! a
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.+ B! k, N9 P6 E
  1108. ibase.max_links = -1' v, o& x2 l) p& ]
  1109. 9 W/ o) i- L. I3 ]& {& a
  1110. ; Default database name for ibase_connect().* s% L6 Y+ N* y- t; I; j* ~9 C
  1111. ;ibase.default_db =
      }, `' M7 K" b/ V7 ^
  1112. 7 m" t4 {  K# h/ C' K. Y
  1113. ; Default username for ibase_connect().- k1 U( r0 `# v2 S0 L  i
  1114. ;ibase.default_user =/ h. J; F4 R* t: n
  1115. ; ]! f! w, i* s; x
  1116. ; Default password for ibase_connect().
    3 D+ Q; x$ n; [  H! I* b1 R# V. _# T
  1117. ;ibase.default_password =
    & t/ q3 W1 ?$ d0 {  R5 |+ `

  1118. 6 i; x& z2 g# p$ g+ ]. s) M. k
  1119. ; Default charset for ibase_connect().! a- }1 b: }; C# \2 Q
  1120. ;ibase.default_charset =) }' X' z& h6 D# m4 u" i% R  w

  1121. . F( C; O) D( D  A
  1122. ; Default timestamp format.9 \* m2 k9 L+ ?" z' u
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    $ @: g. ?* A8 f
  1124. 4 h4 n% B' j* Y/ }; s' `1 i% _
  1125. ; Default date format., r/ G/ o& a9 ^2 x
  1126. ibase.dateformat = "%Y-%m-%d"
    1 n" ~7 a; J: u4 |" P  b0 [6 C$ p

  1127. + m' }- c' Y; @1 J7 }0 V/ c
  1128. ; Default time format.- @- [$ o" M; A* ~8 T9 K
  1129. ibase.timeformat = "%H:%M:%S"+ x0 G7 ?+ c& |# @+ h3 v  o
  1130. ( h$ E& K* \8 ^& R  N2 _
  1131. [MySQL]( ?: R" `  D1 H( p( }5 @0 x" V5 |
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    : H' Y8 q6 ~( E# |
  1133. ; http://php.net/mysql.allow_local_infile
    / u- R4 ^2 F. R* A
  1134. mysql.allow_local_infile = On
    / O- L7 e3 _6 V, o7 y* A, _
  1135. * i6 w* R& x, i/ b
  1136. ; Allow or prevent persistent links.( b  @! l, l. x) U& j/ N$ q( L
  1137. ; http://php.net/mysql.allow-persistent
    . O; ?" M7 P, A0 P3 l
  1138. mysql.allow_persistent = On0 i" p, Y2 z, Z, ~9 K& y

  1139. . G8 X* U/ v( X
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    8 z% R( J/ a2 X3 P2 u
  1141. ; http://php.net/mysql.cache_size- X" n. v- C2 D) F2 O* v; G3 ?3 d
  1142. mysql.cache_size = 2000
    2 Q! H7 S+ `9 F

  1143. : [; x: ]! @3 K1 B- ~7 `
  1144. ; Maximum number of persistent links.  -1 means no limit." T8 s2 x+ [- e
  1145. ; http://php.net/mysql.max-persistent
    2 G" d9 L# y- `; c0 g
  1146. mysql.max_persistent = -1
    ' \( ~5 F* @1 h+ P% u( J& F8 P

  1147. ! U% n) `% ~! x# y# I, x* {/ v7 R
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 k; }' q5 k! j: f" Y; v
  1149. ; http://php.net/mysql.max-links
    # q- G& A  ]$ Y7 j; Y
  1150. mysql.max_links = -1$ h# W! v. I. ?& ?  p
  1151. " q! s9 V  k+ Q" {8 s: I  d$ K7 J
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use5 I; M$ U2 I$ c
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ! O2 I9 |7 ]# G& @" V  \9 @. m: X
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ( q  I+ b( z+ o' t& @1 ~
  1155. ; at MYSQL_PORT.0 k* u; v* L7 ?/ F0 i, \' [! i
  1156. ; http://php.net/mysql.default-port( f; F; m2 l. l( o, s
  1157. mysql.default_port =
    $ m& j" |) w8 D+ A

  1158. 0 D! o' t6 r! n3 m
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ' F! w" {. v1 S( y) _
  1160. ; MySQL defaults.
    ; v% o/ K+ Q* v; t0 w
  1161. ; http://php.net/mysql.default-socket5 C1 C) N* ]) q2 `
  1162. mysql.default_socket =0 Q+ a1 a7 W9 l4 C! p0 ~

  1163. / |% a; _0 {  l0 F* l9 t3 |
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    7 ?( R' ^4 F7 t: O' q4 A# `+ U0 t( P* N
  1165. ; http://php.net/mysql.default-host3 ?! A' s4 Y, f5 |: n& Z
  1166. mysql.default_host =/ z% v/ K3 r# u1 H$ D- E$ ~" h

  1167. / q1 ]' q' m3 n
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    : _! a; ^  g/ a; H1 x6 W8 b
  1169. ; http://php.net/mysql.default-user9 n. ~6 x+ f7 N. {- A  q# t
  1170. mysql.default_user =; Z$ z" @- B* Z" K; M& z7 i% i
  1171. , s  k7 I3 W) ^  P
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    9 Y2 q7 E- j* T  I6 U) [; u
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.  h$ K  f: g# x# p. N' i) f+ d* i6 a
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ' X- T) u) |$ o
  1175. ; and reveal this password!  And of course, any users with read access to this- g/ Y5 V7 E4 s  N/ e! J
  1176. ; file will be able to reveal the password as well.$ E7 i4 b" d, x
  1177. ; http://php.net/mysql.default-password. d! i" M% w8 v/ e( g. i6 n, \
  1178. mysql.default_password =
    ! U) `+ j8 P$ j, y4 V

  1179. 1 C8 U0 y" F4 Y, w4 K: }
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    : G* `. Z" O0 P+ m5 y
  1181. ; http://php.net/mysql.connect-timeout
    % d( ^$ ?- d! J
  1182. mysql.connect_timeout = 609 a: {1 [2 S0 H2 s

  1183. 7 x% z2 g# U9 `9 h# U2 T
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    + M, C& U8 k0 n0 e1 T4 K: w
  1185. ; SQL-Errors will be displayed.; F! W; p1 i3 G
  1186. ; http://php.net/mysql.trace-mode
    + S9 n, i% x8 ?: f6 ^$ \
  1187. mysql.trace_mode = Off
    / v$ Y' W* A. ^8 H/ ~4 d7 e4 u, {

  1188. # x6 r; n/ @8 r8 n
  1189. [MySQLi]
    3 |8 [7 e& B4 y" N

  1190. 8 C$ ?- O9 i1 m9 _% M
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ' V  r3 Z/ `6 u4 w
  1192. ; http://php.net/mysqli.max-persistent- [8 U9 [1 w0 M) J0 B
  1193. mysqli.max_persistent = -12 ~6 J* y- @% Z, y" c' k8 Z
  1194. 6 x5 d, J2 u" q9 }% G9 T$ F- Y
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements1 _% I$ Y. B* f  e/ F" R3 T
  1196. ; http://php.net/mysqli.allow_local_infile% b$ L1 I$ q, P# G
  1197. ;mysqli.allow_local_infile = On
    $ K- {/ \. k3 R8 j% p2 z
  1198. ! I$ c: H, W, Y
  1199. ; Allow or prevent persistent links.: f7 z& v5 N+ W' @; \
  1200. ; http://php.net/mysqli.allow-persistent& ?/ J. f% |, B! o
  1201. mysqli.allow_persistent = On- R' F% x5 W8 J3 h  T! p" y
  1202. 5 A$ E2 y7 H7 a4 H+ P3 [; [
  1203. ; Maximum number of links.  -1 means no limit.
    8 C8 H# j. b: n3 h6 E" ]1 _
  1204. ; http://php.net/mysqli.max-links$ O5 T6 a  Y2 {" l. U, {  y
  1205. mysqli.max_links = -1
    7 s9 D1 F0 s! t8 c7 j

  1206. / H" `/ G. Q5 [. S, e1 v! L
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    : F: ^$ e( l9 Q, M
  1208. ; http://php.net/mysqli.cache_size
    / U% h6 c+ ?- d* r1 I" x
  1209. mysqli.cache_size = 20006 {( J" I2 B0 Q

  1210. ) S$ C$ q# A$ ]( \/ |0 r5 j; H% p
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use' m# s  P9 g/ n3 m2 h
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    $ P& w$ ?! s: [9 D! w
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look+ I0 J- B5 G8 V5 G2 {0 o
  1214. ; at MYSQL_PORT.. K- d6 R/ Z: L
  1215. ; http://php.net/mysqli.default-port
    . e" C* o% y3 X( D; ]  X5 S
  1216. mysqli.default_port = 3306* ]7 R; ?: O: ?( }7 h& c4 D

  1217. - g5 y+ n* t0 K/ @, k8 ?. _( o
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in' P6 Q* J9 r5 ]- c
  1219. ; MySQL defaults., H4 c1 o+ e9 w5 W& N  k, z
  1220. ; http://php.net/mysqli.default-socket# S5 ^3 o- G$ T- Z
  1221. mysqli.default_socket =
    . k# C$ ^; X8 H* R- Q

  1222. ( ?, S" q1 o7 b6 }8 M8 ~
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    0 I7 D& }. R8 A3 {  U
  1224. ; http://php.net/mysqli.default-host0 y3 \3 J' d% g! `, L
  1225. mysqli.default_host =
    / \- B6 A: F" B  p  M; I- D

  1226. * T7 J: _2 ~6 R5 [8 m* W
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    0 i& i1 z  }8 @/ z: C' e
  1228. ; http://php.net/mysqli.default-user+ R8 x6 J6 f# r! z
  1229. mysqli.default_user =+ Q* e" a# Q( m
  1230. 5 Z; ]; ]* i7 b- Q2 s2 V
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    # d+ L8 l0 l. N. O
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    # X7 ^" V4 j/ C
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")& o6 G5 @8 k$ Y
  1234. ; and reveal this password!  And of course, any users with read access to this
      c% J0 O1 W9 [
  1235. ; file will be able to reveal the password as well.
    6 h! n; M5 {2 z+ x1 I3 Y8 G
  1236. ; http://php.net/mysqli.default-pw. k9 d) I9 A0 j1 z
  1237. mysqli.default_pw =% ^5 u; }- l, l; E. ]3 Z
  1238. ) b8 W) |- @# i3 `9 e
  1239. ; Allow or prevent reconnect5 t. w- a* |* d+ `6 _0 l1 R
  1240. mysqli.reconnect = Off; G) `5 e% f5 {, q2 B
  1241. 3 Z$ }6 ~7 {! d# V+ l6 N: U! A
  1242. [mysqlnd]
    $ [, F  O8 L" T( Y! }' J
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be$ t' C3 @! ^( i  a7 v" Q8 x, m
  1244. ; used to tune and monitor MySQL operations.
    6 m5 u$ i# w, N& o1 H3 K
  1245. ; http://php.net/mysqlnd.collect_statistics* e0 N2 g) r! `+ d* l* Y. k. A7 Z
  1246. mysqlnd.collect_statistics = On$ p7 C0 I2 X+ H
  1247. + ~: e6 K& f% S7 b$ P; `
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be  v0 D0 R: j+ B$ K, ?" g& B, D0 X
  1249. ; used to tune and monitor MySQL operations.
    $ K$ Z6 m4 ~3 |3 e# o) ]/ S1 @  L3 Q) f
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    7 V6 ?, o* D: f! _
  1251. mysqlnd.collect_memory_statistics = Off4 U( Z9 a0 V! o: U# U8 H
  1252. ; j9 d3 q- \% s2 O% Q/ X. F% l
  1253. ; Records communication from all extensions using mysqlnd to the specified log! G. {! c# ?' S5 z& e& F1 k
  1254. ; file.
    0 Z' U* G& q, F6 e- e# y' h
  1255. ; http://php.net/mysqlnd.debug2 _- d$ T% j5 X- y, r$ ^0 F
  1256. ;mysqlnd.debug =
    8 L( G7 N) r+ t) z' Y2 }- }

  1257. 7 [" O- O# H$ Q- L- I/ Q& V
  1258. ; Defines which queries will be logged.; P3 z( _9 `. S3 M! g! U
  1259. ; http://php.net/mysqlnd.log_mask) k5 ?0 e0 s9 p8 o( W# H
  1260. ;mysqlnd.log_mask = 0
    4 q. J3 ^/ M2 X% Q1 F# j
  1261. : P4 b6 G/ i/ E  ]. B6 V' w3 a
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    , O: ], X: G4 D  ^3 M2 k
  1263. ; http://php.net/mysqlnd.mempool_default_size: ]! k* V" D0 W9 \
  1264. ;mysqlnd.mempool_default_size = 16000
    / |$ F' E& l# u  V0 d

  1265. 5 h6 m9 U" }. h' c3 ?
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    + ~4 e$ z- d4 h& {- r" [! Y
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size( g6 B7 e4 U* u2 C
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ( D2 L( J% d4 G9 p. M
  1269. ( x) h0 m, {3 M
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in0 |# U/ a# [: S2 u5 I; k
  1271. ; bytes.
    3 a5 r- M- w. w% C5 Z
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    , F# [4 H! t2 E& f
  1273. ;mysqlnd.net_read_buffer_size = 327682 s1 R  o" B: o0 z
  1274. . _# o/ N: |, O  q& ?7 a2 ~
  1275. ; Timeout for network requests in seconds.  s) c# j4 X; G3 i
  1276. ; http://php.net/mysqlnd.net_read_timeout
    $ z/ x: _& G- E$ \; f- G  u$ ]9 s
  1277. ;mysqlnd.net_read_timeout = 31536000
    2 M0 K' H8 }: X9 t

  1278. ' `3 a, f0 w3 C; z& r* t- m8 R( ~
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ( W5 l' [- m# F& h& y  T$ V7 P7 E
  1280. ; key." \7 N6 s& ]& o0 y4 a) O
  1281. ; http://php.net/mysqlnd.sha256_server_public_key2 ~4 t4 m; Y: R& y( y8 V+ f) m
  1282. ;mysqlnd.sha256_server_public_key =
    ! y  ]1 r+ r: J9 _0 x

  1283. ! Z3 N$ q% H% l1 a1 o
  1284. [OCI8]
    0 A  j! V0 Q/ T6 ]; f1 {
  1285. - b' D8 ^" T7 Q. I: u; |$ f! [* U
  1286. ; Connection: Enables privileged connections using external
    $ r: v) D9 {" k7 w, H5 X7 u
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    6 F- i. X9 r9 [2 ~  V- d4 S! T
  1288. ; http://php.net/oci8.privileged-connect+ }& m% ^' f8 w8 a! U$ D) d& z, ?8 n
  1289. ;oci8.privileged_connect = Off7 Q: l- U# k; w- `' B  K5 t

  1290. / F# U# v& O8 y7 Q' Y0 o
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    . Y, L+ X; V9 I3 t1 t# m
  1292. ; process. Using -1 means no limit.
    4 ?$ p/ U3 ^( w
  1293. ; http://php.net/oci8.max-persistent/ p' Q, Q) @3 C: a+ @4 x
  1294. ;oci8.max_persistent = -1) J6 d  `, W0 ]$ T/ |
  1295. 1 [. f# [2 X7 Z0 g9 |+ c
  1296. ; Connection: The maximum number of seconds a process is allowed to: }% C( C" }. ?9 o  V! V, K- X; Q
  1297. ; maintain an idle persistent connection. Using -1 means idle
      k6 Z- _2 d/ t% K6 o# `0 A9 D5 z7 {
  1298. ; persistent connections will be maintained forever.7 F+ j; j# I4 v& k$ o0 o5 y4 ]4 x
  1299. ; http://php.net/oci8.persistent-timeout
      D, y; S) X( v& x  G
  1300. ;oci8.persistent_timeout = -1
    7 d5 }$ P' P: L/ Q2 R2 i

  1301. $ n0 q& q/ d* A% S# t) Q
  1302. ; Connection: The number of seconds that must pass before issuing a
    / A$ x4 W* j: O8 q0 P' R) {
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ' f$ {) f' ?5 z2 o
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    . t( `& Z) m$ M4 N& a) s. r" x
  1305. ; pings completely.
    ! h7 b" C5 F0 e8 R1 b
  1306. ; http://php.net/oci8.ping-interval
    ; _* i* m  C0 z* O! Q
  1307. ;oci8.ping_interval = 600 ]* G4 q& i* B; s( x/ b

  1308. 0 V6 Z4 u' R; e+ @4 n' J' _
  1309. ; Connection: Set this to a user chosen connection class to be used$ _  Q* H$ X5 |6 Z% I
  1310. ; for all pooled server requests with Oracle 11g Database Resident4 R3 _4 m2 Q, k
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to: i/ q( `  _: o) Q# ?
  1312. ; the same string for all web servers running the same application,* D6 J: {' e: U2 n3 M3 e
  1313. ; the database pool must be configured, and the connection string must
    ' i/ @( ~3 Q6 q+ ~9 B; G
  1314. ; specify to use a pooled server., {! ^5 T' f7 G
  1315. ;oci8.connection_class =  O3 O& B- Z  Y* r! ?) h

  1316. # u$ s3 m9 _6 D) z. k
  1317. ; High Availability: Using On lets PHP receive Fast Application
    " \/ z6 M1 [4 m$ ]5 K3 \
  1318. ; Notification (FAN) events generated when a database node fails. The
    % w5 ~4 w6 A) O0 o5 U( {3 m
  1319. ; database must also be configured to post FAN events.
    8 O5 T/ I3 [, p$ @; e, N% X
  1320. ;oci8.events = Off
    ; A# Z+ |, \( k3 ?# \
  1321. 4 g9 v7 G0 y* |3 e, o
  1322. ; Tuning: This option enables statement caching, and specifies how( L" ?4 y/ e: G) s5 i: D) q; a( R
  1323. ; many statements to cache. Using 0 disables statement caching.3 ^  l- o. R% U: G+ L9 i
  1324. ; http://php.net/oci8.statement-cache-size
    " O. o, b- y2 e9 E
  1325. ;oci8.statement_cache_size = 20
    # R: [# |" x3 M  g! i; d7 N
  1326. ; k1 r6 L: `: Y4 D
  1327. ; Tuning: Enables statement prefetching and sets the default number of2 T/ e) Y4 g0 _$ c4 Q- p: _
  1328. ; rows that will be fetched automatically after statement execution.
    3 @) J) z& ~) ^6 |) f( Y1 Y
  1329. ; http://php.net/oci8.default-prefetch! i6 B9 O# }  M# n) @$ i
  1330. ;oci8.default_prefetch = 100, M* }  U" a1 `* G1 q+ G- w
  1331. 2 [; M# u" N% J& y; W
  1332. ; Compatibility. Using On means oci_close() will not close4 H' s( M1 U6 m# Y) J+ B
  1333. ; oci_connect() and oci_new_connect() connections.
    2 \& x8 m# e5 h2 M3 r  w6 C" R- U6 [
  1334. ; http://php.net/oci8.old-oci-close-semantics3 p4 s4 q2 i4 \+ w
  1335. ;oci8.old_oci_close_semantics = Off2 o: ?/ w# \/ `; Q; b+ J  b7 r

  1336. . R- @& O# r, R+ D+ [
  1337. [PostgreSQL]
    # J+ \: a/ U: J
  1338. ; Allow or prevent persistent links.
    1 d# u$ \& v7 a; i; ?; k, U
  1339. ; http://php.net/pgsql.allow-persistent2 n! f6 E3 h5 k
  1340. pgsql.allow_persistent = On
    5 x3 H$ a( ~6 i# M8 ?! t
  1341. 3 ?4 j6 U" m# L) I6 j0 J0 [4 d
  1342. ; Detect broken persistent links always with pg_pconnect()., ^- m) C/ o6 k' s3 l' u0 R* w
  1343. ; Auto reset feature requires a little overheads.
    ' F- w" O0 D& b- E
  1344. ; http://php.net/pgsql.auto-reset-persistent
    , q5 X6 N# [) T* x+ q, J8 u; E) f' |
  1345. pgsql.auto_reset_persistent = Off
    ' R7 T: S, r0 \; w2 j' i
  1346. + C4 J8 Q$ ]1 G: Q2 ^0 {9 A
  1347. ; Maximum number of persistent links.  -1 means no limit.
    - y! v. ~( v3 e% _$ _* t$ ^) f
  1348. ; http://php.net/pgsql.max-persistent
    4 Z2 B' A! O! x
  1349. pgsql.max_persistent = -1
    ! e# M. a: w3 p

  1350. ( @, I/ G7 d8 E, v8 m9 B. q
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    + W* P# f2 F2 B# p& T) M) @" Q
  1352. ; http://php.net/pgsql.max-links3 p) b; s6 }; w$ F, l5 b' @
  1353. pgsql.max_links = -1
    - G+ \% K6 s# }! I% h0 N7 `
  1354. : u5 l& `4 H2 D% ~6 H
  1355. ; Ignore PostgreSQL backends Notice message or not.! R) i$ K; j& U  c
  1356. ; Notice message logging require a little overheads.
    0 Z4 X# V8 ^+ A3 Q0 H
  1357. ; http://php.net/pgsql.ignore-notice& F% z. U9 c5 {5 Y# \( S1 s
  1358. pgsql.ignore_notice = 0
    : ^7 Y& L( C6 J; v7 u3 @# r/ p" y) t

  1359. / j4 [' d/ t# ~; c0 y# l
  1360. ; Log PostgreSQL backends Notice message or not.& x- m9 o' d$ I4 y% L
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ( a+ M" T* [& D+ D; y' j# p! [
  1362. ; http://php.net/pgsql.log-notice
    " K$ }5 L) z& J: i3 g: m4 g$ f+ E
  1363. pgsql.log_notice = 0
    : |* D+ l# Z" a: ?

  1364. * k4 W- w: _. I# ]' u/ t
  1365. [Sybase-CT]: @, M3 j/ r0 F; P; u) e. }7 \! }
  1366. ; Allow or prevent persistent links.
    % Y; `& |; G9 \3 D; d0 ?, D
  1367. ; http://php.net/sybct.allow-persistent6 I8 |) w0 ~  V
  1368. sybct.allow_persistent = On9 Z5 C( Y+ u+ K0 ?9 Z
  1369. ! m' ^" t, c5 C" H
  1370. ; Maximum number of persistent links.  -1 means no limit.
    + p8 ^0 M7 @7 f* z) h5 U& w
  1371. ; http://php.net/sybct.max-persistent9 {1 ?, ^% q# o
  1372. sybct.max_persistent = -1, R% a1 r  r' K! M0 T- j& r
  1373. 8 p, z: j% j6 K$ ?0 z
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." z, c* \, a  t8 K* y
  1375. ; http://php.net/sybct.max-links4 O, g  n" Q6 F9 a5 H
  1376. sybct.max_links = -1
    ( @3 d, P) _9 Y* q7 p% Z

  1377. $ E6 Z+ j$ Z8 Q; h  a
  1378. ; Minimum server message severity to display.
    & H& t- u+ b, I( ]) W; m1 u7 F
  1379. ; http://php.net/sybct.min-server-severity
    ! z7 }+ K. [' o3 i
  1380. sybct.min_server_severity = 10( _* R8 T+ S7 y9 v% @/ I

  1381. 7 I! M- E' p, Z- v5 L# _. i
  1382. ; Minimum client message severity to display.
    $ S) a, w/ g+ h4 h5 A! ^
  1383. ; http://php.net/sybct.min-client-severity. k+ y9 x5 ^# Y2 m2 V, x& b! h
  1384. sybct.min_client_severity = 10. Q, {  m' c, m/ Q6 M, Y
  1385. . D$ d, D; c  ?1 u/ s/ @
  1386. ; Set per-context timeout, A) i  k0 L4 {3 X1 l% a: O5 j
  1387. ; http://php.net/sybct.timeout/ w" P- r- I) u8 L: {, A
  1388. ;sybct.timeout=1 {! a2 m. g2 G* O  z! E, C
  1389. 9 m  g  [0 r& `. A) f
  1390. ;sybct.packet_size1 ]5 q# ~2 |: Z4 j& E5 q
  1391. ! N$ v% A2 D  w5 n
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    " J. s- l$ ~4 Q
  1393. ; Default: one minute
    , j9 g2 Q8 w- e6 ?- K0 [2 F' C
  1394. ;sybct.login_timeout=& Y' d, @8 R0 a& b% N) M$ G

  1395. % q5 n, H( x9 x9 s$ \2 j+ `4 H
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    & s! q3 [/ y7 `* D# Q- a2 `
  1397. ; Default: none
    # ]0 p3 _: p" g
  1398. ;sybct.hostname=
    $ E$ B9 m9 L& M" J: T  p# Z

  1399. ! _' u+ J: _% l
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    5 Z& M. S4 P7 l; H" A( W( w+ X. ]
  1401. ; Default: 00 C2 @9 m/ u) W% I# W! O/ ?. Z' B
  1402. ;sybct.deadlock_retry_count=
    4 k3 h% }2 l# c' s. p0 q, ^
  1403. ! Z. H7 O3 u' a' P% y4 _, C" R
  1404. [bcmath]
    5 b1 N$ S6 Y& z( g
  1405. ; Number of decimal digits for all bcmath functions.  P5 S) o) S1 ?+ Q# s+ ]4 Y
  1406. ; http://php.net/bcmath.scale
    4 [4 m3 K; d  W* U4 ]% Q
  1407. bcmath.scale = 03 {' r, K2 _9 a+ f+ R
  1408. 2 M  T+ m5 Z2 g& e
  1409. [browscap]
    2 s; q* |$ n4 q  _
  1410. ; http://php.net/browscap  |+ N/ ?# |' `) G- h% A+ p  @
  1411. ;browscap = extra/browscap.ini
    3 K' v* D, E  b

  1412. * l. S( Z0 ~1 r% Q2 A5 s
  1413. [Session], K! j8 ~, m& e9 j7 F
  1414. ; Handler used to store/retrieve data.4 |1 m8 B8 L, e; {2 P
  1415. ; http://php.net/session.save-handler
    / u. r5 |8 m. h- r
  1416. session.save_handler = files' [% J/ w+ e5 Z/ S+ Y  Q

  1417. 8 I1 N* S! p! E% @& E) G; H
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    $ i6 c4 Q5 X0 g$ z) l
  1419. ; where data files are stored. Note: Windows users have to change this0 o) y2 ~1 b; H6 P
  1420. ; variable in order to use PHP's session functions.
    ! O4 J  e0 i9 y+ y1 Z" L7 }9 u  I
  1421. ;. g9 G8 o7 k0 T: u1 k) p( d
  1422. ; The path can be defined as:
    & u$ b" V! z. R+ b5 b
  1423. ;
    0 ~& B4 i9 ^/ s' _
  1424. ;     session.save_path = "N;/path"3 Y+ U& O$ j# u; O( ?* D9 `& n! w
  1425. ;/ ?! _% K0 p8 H1 d
  1426. ; where N is an integer.  Instead of storing all the session files in6 ?% }( N  q, ]# P. n( c' i9 R  |
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    ! ?/ |8 F! _+ I6 }
  1428. ; store the session data in those directories.  This is useful if
    4 X5 u4 M; d, d  A5 \& k
  1429. ; your OS has problems with many files in one directory, and is
    ! o2 ^0 U! V* G4 ?# t5 W
  1430. ; a more efficient layout for servers that handle many sessions.! g0 a9 t3 {0 C: d  Z( u  l) Z  P, L% B
  1431. ;, f# l6 k6 \$ G+ B4 O. y3 [* ^
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    " m5 r! V1 D( c% F- ], o) m* ?/ q5 E
  1433. ;         You can use the script in the ext/session dir for that purpose.
    , M3 h- X4 H4 e& i
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    3 E' @7 N# L- L
  1435. ;         use subdirectories for session storage
    / ]+ ~" O/ a( M( p
  1436. ;) I: Z, V9 _9 j  e# ?+ V9 V
  1437. ; The file storage module creates files using mode 600 by default.
      `: o! x# S* {- Q' X; Q/ l
  1438. ; You can change that by using
    $ O' T: F" a8 {( B  V
  1439. ;
    7 A" U' B2 \& S, P  q2 V
  1440. ;     session.save_path = "N;MODE;/path"9 a" Z7 F% \5 z  h" Y" [
  1441. ;
      z' z; @# D# ]5 z* z, I  @5 ?8 |
  1442. ; where MODE is the octal representation of the mode. Note that this5 j1 J, \  j) y8 g# \6 d
  1443. ; does not overwrite the process's umask.5 Z$ n# Q$ e6 l0 {) }- W% A
  1444. ; http://php.net/session.save-path* D" `* N1 A. a2 H4 L' E) }
  1445. ;session.save_path = "/tmp"
    " O0 }% D" j) u* B4 M
  1446. 4 Q  @4 O3 T2 U4 b- D. I7 @. z
  1447. ; Whether to use strict session mode.! l/ `! n6 Z4 M# g/ T% r  a
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    8 m: W# U) `: w
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    3 C# M6 |% y5 N/ I5 U& ^. S5 w' H% n
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ( F0 D# e9 x7 H0 K2 m/ q1 \% K
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.# m% g. L! r7 C. `
  1452. ; https://wiki.php.net/rfc/strict_sessions6 n+ B; C3 k* D4 c! w( b
  1453. session.use_strict_mode = 07 q7 f9 t- l$ I. i' y, T5 \
  1454. ( G+ S1 i  N! ~3 D5 w, ^* M# E
  1455. ; Whether to use cookies.
    ! }! L* v5 ~  F5 j$ O' {
  1456. ; http://php.net/session.use-cookies5 ^6 {/ Y- Q& W' ~6 Z
  1457. session.use_cookies = 1
    2 D' U7 |: I2 Q" M
  1458. " h2 k& l: u4 t4 X( h, r
  1459. ; http://php.net/session.cookie-secure
    9 V( G* B3 i& N0 F
  1460. ;session.cookie_secure =* O1 ~! _# W0 o: I) j* C2 r' |

  1461. * V9 s+ D" U' H* [0 \+ ~/ i- M
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining8 [. t' B* n) m# X7 k5 J
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    ) x: A6 G0 _- P# I) Y/ |
  1464. ; session hijacking when not specifying and managing your own session id. It is7 R, }4 Z; I# W" s0 P
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.( k# h8 ?$ B; g2 f5 D; u% ?- N' _8 P
  1466. ; http://php.net/session.use-only-cookies$ F+ E. j* O$ I  p
  1467. session.use_only_cookies = 1
    + `$ [, I, [1 W: T+ x# j; W$ [. w

  1468. 2 d7 P1 h# g$ o6 J. P/ _$ s  T
  1469. ; Name of the session (used as cookie name).8 R2 r6 z3 w/ b# S
  1470. ; http://php.net/session.name  _) ]- u3 _: v/ h
  1471. session.name = PHPSESSID
    & b. W) M+ [) L. T- K: W! @0 ~$ F  `* o: ]
  1472. ) ?' K1 E% ~: v
  1473. ; Initialize session on request startup.
    4 e( ~2 u: ]" b; a  p, T
  1474. ; http://php.net/session.auto-start, H* X4 l+ }# r6 q) M) g  R
  1475. session.auto_start = 01 [- [$ d; v* A. q
  1476. ( A" |! ?0 p* J- H+ H# [; ~
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.( O9 P- p, o% o& T
  1478. ; http://php.net/session.cookie-lifetime
    4 K. T4 q$ ^' H$ `$ ?
  1479. session.cookie_lifetime = 0- I: ?' g9 M% S6 W

  1480. - t: {( S9 E9 H% h  D
  1481. ; The path for which the cookie is valid.: B$ ?9 r1 D9 J
  1482. ; http://php.net/session.cookie-path
    3 b% |% s# M& \* Y; Z' U
  1483. session.cookie_path = /
    # k2 `, F+ z: `

  1484. $ Y1 n" K$ v5 U& O' y% {
  1485. ; The domain for which the cookie is valid.
    0 ~. `, m; ?: c" X; M# n' v, i
  1486. ; http://php.net/session.cookie-domain/ S* q5 J4 w' r' z& U
  1487. session.cookie_domain =
    - E5 N& |3 @, J. w

  1488. " y% M9 X  j( D: G
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ( c( w$ I' Q3 i* J! Q, C/ b
  1490. ; http://php.net/session.cookie-httponly8 Y& w) Z: ?1 W7 a. i8 u
  1491. session.cookie_httponly =
    % g3 Z2 Z$ V! _0 q6 J

  1492. + h" I& ~- s2 @( j" W( @
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    3 \) V# n+ [) @: @2 r
  1494. ; http://php.net/session.serialize-handler
    ) @$ C, Y6 A* H. h
  1495. session.serialize_handler = php
    ! D7 }' [( G; d: \! x
  1496. / J) a% s, c5 s. t. e2 v& y1 J
  1497. ; Defines the probability that the 'garbage collection' process is started% Y2 C% J+ T5 _# b3 J
  1498. ; on every session initialization. The probability is calculated by using* ?; l- V) |7 i- M
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator0 d' I( s" A+ J7 B/ d8 N5 ]
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    1 F) h2 o. A) _/ H+ ~. L1 P
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    1 z; t4 j3 l9 f7 G' A; p
  1502. ; the gc will run on any give request.: C7 Y+ W: O4 `# {1 M  w# w
  1503. ; Default Value: 1- J$ s% j6 t* O  ^, }7 {. V
  1504. ; Development Value: 1
    % ~8 H: T" b% K; H1 b, S; _. e
  1505. ; Production Value: 1  U) l: P# W  H. C' ]3 x! [3 O
  1506. ; http://php.net/session.gc-probability+ ~. e/ a/ z$ M% L2 w4 x1 E
  1507. session.gc_probability = 1$ z; B! U+ m6 A, V; M* o
  1508. ' R& [0 O& L1 W5 U5 w8 u/ F$ h) c
  1509. ; Defines the probability that the 'garbage collection' process is started on every- z$ |" Y/ u  A
  1510. ; session initialization. The probability is calculated by using the following equation:
    : p) r4 b9 S; T2 N' y& k
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and. X8 e. C0 ^7 s9 Q. h
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    / u3 s2 G% b: i2 k- P
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( j, f5 |4 k& J, A
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    , J& P& O& @( S5 B# v- x
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,) j- G+ Z* I; O3 c5 u, C1 F, H
  1516. ; this is a more efficient approach.% Y: M. C; B$ v- Y0 I
  1517. ; Default Value: 100, Z, W" x% t& s9 G. V
  1518. ; Development Value: 1000+ A. ~; Z, B. ]. X
  1519. ; Production Value: 1000$ l' ?  R* x' o% L1 J3 u/ M" E! p
  1520. ; http://php.net/session.gc-divisor
    6 _% B/ a: T0 O" o5 d
  1521. session.gc_divisor = 10006 S. b) ~  I. h8 J; M
  1522. 3 _3 J, M, f+ V
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    ' k% c( F, q$ F
  1524. ; cleaned up by the garbage collection process.
    2 z; S# A$ d4 p; R$ c. U
  1525. ; http://php.net/session.gc-maxlifetime
    1 ~9 Q8 w3 m2 x5 I- I: o
  1526. session.gc_maxlifetime = 1440
    % s8 m* H8 Q- I! \% f
  1527. , q) d# J0 T4 M) H; @
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    % p' P' }3 ?5 f2 h/ u, G
  1529. ;       (see session.save_path above), then garbage collection does *not*
    5 z5 J% g" P9 D
  1530. ;       happen automatically.  You will need to do your own garbage' M0 I) p, l6 @) m, i
  1531. ;       collection through a shell script, cron entry, or some other method.0 y/ v, |9 g& i5 i
  1532. ;       For example, the following script would is the equivalent of: q1 q- d' i9 Q$ f! c$ A
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    4 y6 Q9 z+ g& A3 U- r* {  v
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    1 m) ]* |% G$ N& z9 l6 B7 Z0 r- v
  1535. + G2 [/ v) n, \# u' Z
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    : p3 b# x' b# r2 _
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    * R$ q4 I) N" s7 q5 R
  1538. ; considered as valid.% l+ G6 e1 ]4 d1 G
  1539. ; http://php.net/session.referer-check
    6 n1 o6 h. E3 x7 g9 ?, M
  1540. session.referer_check =
    / a3 B. _' M& ]$ g5 R( C' s

  1541. ! U9 C9 u7 H& N
  1542. ; How many bytes to read from the file.
    & ^# o2 M' N) C7 B% N- e* K" w0 \
  1543. ; http://php.net/session.entropy-length8 Z. K  k, w) S& g0 \
  1544. ;session.entropy_length = 32) |4 L- M4 r5 f
  1545. # ]' ^  r& {# n1 }( @- m
  1546. ; Specified here to create the session id., Z* K5 }, Q& G. x5 b
  1547. ; http://php.net/session.entropy-file
    9 J* |6 N4 O- V* m- G4 S5 r
  1548. ; Defaults to /dev/urandom
    : V% d( O. z, x- ]
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    " Y" B; g# {$ }; ?1 D  c
  1550. ; If neither are found at compile time, the default is no entropy file.
    ! n% Y! s. D; R
  1551. ; On windows, setting the entropy_length setting will activate the# e2 n$ ~% K; O* m) P
  1552. ; Windows random source (using the CryptoAPI)
    ' S/ V" J0 I4 I" L+ N
  1553. ;session.entropy_file = /dev/urandom: O" b) {3 g7 c, F. T% ]5 p9 L

  1554. & g7 u, I! g+ v5 c2 r4 A
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects7 h  k+ f$ {, b; L
  1556. ; or leave this empty to avoid sending anti-caching headers.
    2 o" Z0 E5 v; j2 P" i9 v* c5 T
  1557. ; http://php.net/session.cache-limiter/ r" f; Y) O  k$ e$ W
  1558. session.cache_limiter = nocache
    * l4 M: d" P& a5 y7 V0 J$ b$ f

  1559. 3 D* B1 X! @' `" K) k4 d; u+ J& |( o3 n, C
  1560. ; Document expires after n minutes.( J( C; K% Y7 q
  1561. ; http://php.net/session.cache-expire
    - O# L- t3 e" X$ p, `, _. {2 x7 x
  1562. session.cache_expire = 180
      w- Z. ]! X' A/ Z
  1563. + h1 l" M: e& U
  1564. ; trans sid support is disabled by default./ l$ O4 f" a1 X( A7 a0 s3 P* l$ D
  1565. ; Use of trans sid may risk your users' security.) m. n' ^2 P8 p1 A( Y) c
  1566. ; Use this option with caution.1 `2 k8 ^) r! ]( X
  1567. ; - User may send URL contains active session ID: r! w$ o, x/ R
  1568. ;   to other person via. email/irc/etc.
    0 {/ A5 Q7 V* A5 o
  1569. ; - URL that contains active session ID may be stored7 Q1 T+ n) F) ?$ h% g* m5 \4 u6 z
  1570. ;   in publicly accessible computer.
      G% m1 W. S& O& ^1 V2 e+ R, g% A
  1571. ; - User may access your site with the same session ID; m4 D) T1 I  y$ S  ^; f6 L4 y% E
  1572. ;   always using URL stored in browser's history or bookmarks.. ?( A* I+ S+ r/ W
  1573. ; http://php.net/session.use-trans-sid, E1 Q5 F" y% [* w9 N
  1574. session.use_trans_sid = 0  L' B3 c/ i* Z
  1575. ' F1 R% I8 `, U* }
  1576. ; Select a hash function for use in generating session ids.
    8 i  d% Y. ]+ U' g
  1577. ; Possible Values
    8 P) W: a/ u- c! b4 H  r* @
  1578. ;   0  (MD5 128 bits)
    . [$ f0 s% h0 X$ S- X
  1579. ;   1  (SHA-1 160 bits)
    ' z3 w* j; h9 v: ~; K' q3 E
  1580. ; This option may also be set to the name of any hash function supported by2 s( V; ]$ L- t8 ]1 t$ R" y
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()% Z6 S/ ^' Z9 ]& M6 q5 M
  1582. ; function.8 g4 e5 T5 ], k6 Z! q7 _* x
  1583. ; http://php.net/session.hash-function
    3 d1 e( h% o) {& `
  1584. session.hash_function = 0- k, v5 o: Z( `: g0 y" f$ m

  1585. 1 X( @" w% W5 \
  1586. ; Define how many bits are stored in each character when converting
    - t; ]6 s, N( f" k& D7 E. C
  1587. ; the binary hash data to something readable.# Y# V( D& r4 g
  1588. ; Possible values:6 W" E  ~6 l1 W* i% z5 Z
  1589. ;   4  (4 bits: 0-9, a-f)
    7 b# L+ u4 s, K. v1 D8 D) K
  1590. ;   5  (5 bits: 0-9, a-v)
    / \2 C: x  _4 b# d' B4 l- l9 I  |: q
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    3 o* Z% ^, Z% M+ ^# r- S8 H
  1592. ; Default Value: 4
    3 l3 d3 F( e, d/ z* A
  1593. ; Development Value: 5+ y' b2 \7 Z+ T$ V
  1594. ; Production Value: 5
    8 l# t' C5 j  s3 c1 U9 T1 ]3 `2 C
  1595. ; http://php.net/session.hash-bits-per-character! [9 D" [, }# a
  1596. session.hash_bits_per_character = 5
      Z5 I% W+ g, C+ s0 O/ U
  1597. , A2 ~) K5 R0 v2 \' E. v
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
      N. {8 [7 P6 k1 O! \' f. @
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    9 A, ~9 @. [" E* Q
  1600. ; add a hidden <input> field with the info which is otherwise appended
    : V7 |* n4 y# i6 P# {& j: O
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    2 f, C7 P$ U' }) ]) s; P
  1602. ; Note that all valid entries require a "=", even if no value follows.- N0 D- C  h# P, Z& G0 }
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="/ p5 C/ J+ g, f% }1 ?' g6 o$ |
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      e% h- t7 O0 q+ j& J3 G% H, v
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 V; h! W- D; l6 U
  1606. ; http://php.net/url-rewriter.tags
    ) s' O, B2 b; m
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    - H. }. A3 f! f! g, c
  1608. / r6 E8 r! M- R9 G
  1609. ; Enable upload progress tracking in $_SESSION
    ) _7 C: k1 L/ T6 u
  1610. ; Default Value: On
    4 G& s6 v: Q0 A2 i. m$ k
  1611. ; Development Value: On
    * f9 m6 H; H, J  F  k  t8 _0 X
  1612. ; Production Value: On4 w& k" p3 `: f
  1613. ; http://php.net/session.upload-progress.enabled
    3 ?: B8 N- S  k; o, o: S
  1614. ;session.upload_progress.enabled = On
    6 `; [4 Z+ R. l  I2 v( A

  1615. 1 o. d# `( D. y& u2 p9 p
  1616. ; Cleanup the progress information as soon as all POST data has been read
    9 Z* p/ I9 b: f1 a4 X6 q% W& i
  1617. ; (i.e. upload completed).
    $ ^! t4 s5 R' i: U; F7 q& S4 D
  1618. ; Default Value: On
    ( C1 u! v7 ^8 `# v
  1619. ; Development Value: On
    2 E* s! q% i! H7 D5 s/ ^& S* {
  1620. ; Production Value: On
    & p* V, H6 _" {+ k3 k7 r
  1621. ; http://php.net/session.upload-progress.cleanup
    * |2 ~; Q8 g! }( |/ v+ l" }$ j! O
  1622. ;session.upload_progress.cleanup = On
    2 K0 }# J& _; T# ]; v; ^1 ]. V/ H
  1623. - a( F) z% U; `" o0 V
  1624. ; A prefix used for the upload progress key in $_SESSION2 P. N" G9 A8 z! P' n, F7 R" \- ?% ?
  1625. ; Default Value: "upload_progress_"
    0 p1 @& t. ~/ z
  1626. ; Development Value: "upload_progress_"& s; r, v$ j, [0 t: a% @8 ?2 F
  1627. ; Production Value: "upload_progress_"
    * d7 V' ~5 ]+ ~2 j" g; D+ @7 N
  1628. ; http://php.net/session.upload-progress.prefix8 _' f' c  v8 s/ q" _& W: [
  1629. ;session.upload_progress.prefix = "upload_progress_"
    7 Q7 ?' T# R) ?, s0 f: X3 s
  1630. . `. g! g$ W6 B5 j3 ?/ M
  1631. ; The index name (concatenated with the prefix) in $_SESSION. J; R5 S# ^/ r' x8 N- ?
  1632. ; containing the upload progress information+ ?/ g3 |  e1 C& b6 j
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"1 J& M. L0 v" w. I' A
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"; g' f9 I- |; h( p4 {3 }% M
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
      e4 X2 m1 t1 z6 f7 ?- o* l' e
  1636. ; http://php.net/session.upload-progress.name  Y* K8 Y2 ^+ c; d
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"/ C. t+ m- M( g' u% A  Q( `

  1638. 0 W* q- V- s) o- \
  1639. ; How frequently the upload progress should be updated.
    / d; ^# D0 E9 Z0 U" e8 C; `
  1640. ; Given either in percentages (per-file), or in bytes: D6 d# a8 L* F2 h: B" V0 V% k
  1641. ; Default Value: "1%"9 g+ g1 y% {0 s! Y7 |6 Q" Q0 \
  1642. ; Development Value: "1%"6 D0 n6 [2 F. m. W' ?0 W1 l, C
  1643. ; Production Value: "1%"
    . j* |' A* v9 A1 n9 s; G& R
  1644. ; http://php.net/session.upload-progress.freq
    7 c) n/ Z1 f# S3 t
  1645. ;session.upload_progress.freq =  "1%"# `, Y9 @) [( p& c) Y

  1646. ! R  n" s4 c/ P) E6 ~
  1647. ; The minimum delay between updates, in seconds4 X; H: b7 Q5 ?, X  y
  1648. ; Default Value: 1
    - g5 E% y7 K2 e) F
  1649. ; Development Value: 1
    % c' J. I3 G! Q( f
  1650. ; Production Value: 1
    5 D: {, a. y, E0 r
  1651. ; http://php.net/session.upload-progress.min-freq' c) H$ I% F3 V: q8 ?- n* y) T
  1652. ;session.upload_progress.min_freq = "1"
    2 W+ _0 ^. T) Z2 w3 F! l# f% w

  1653. ( q1 J, j: q) j5 B1 ]
  1654. [MSSQL]8 s3 f  E; y6 D, g7 B! e
  1655. ; Allow or prevent persistent links.
    : H  {7 w9 A+ C9 j7 l/ I2 E, s
  1656. mssql.allow_persistent = On) z: R. N+ Z7 y! Z. r9 }
  1657. 6 i2 _2 P+ O; H! J) n  }3 u# q- y
  1658. ; Maximum number of persistent links.  -1 means no limit.
    , U( ]8 E0 M" F* o
  1659. mssql.max_persistent = -1
    6 U" Z* X( L1 _" o: V: n9 d# \

  1660. 7 X% S1 p( b/ U' @& p: s
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.% [+ b# s- H2 D( W+ x
  1662. mssql.max_links = -1
    ; [& ~9 o6 Y' c; L- O+ v0 i

  1663. + J# l. _1 m3 J- {  i
  1664. ; Minimum error severity to display.* K) }3 u. F- o% a- E1 z3 A
  1665. mssql.min_error_severity = 10
    1 s6 B; j- o  s0 i( l1 \9 ^7 Y( o* B. T
  1666. + S; v6 Y; |. x2 h1 R
  1667. ; Minimum message severity to display.8 Y3 Z; z6 b' [- L8 A7 I
  1668. mssql.min_message_severity = 10; ^; |" _  _6 H% H/ g
  1669. - ]; M2 L1 q7 D6 \
  1670. ; Compatibility mode with old versions of PHP 3.0.
    2 j$ _; ^$ k# w4 x: Q
  1671. mssql.compatibility_mode = Off
    ) p& T4 [  e- G& H! s  [

  1672. ' b1 V9 c- o& R9 ]: N
  1673. ; Connect timeout  V3 J, @* N- [8 y5 e* V
  1674. ;mssql.connect_timeout = 5
    4 u$ {$ q; @, u, d9 K
  1675. 2 A6 ^; d2 s( m8 ?9 _5 W
  1676. ; Query timeout
    6 X* K9 a1 V8 `1 q+ O8 o4 C0 I5 @
  1677. ;mssql.timeout = 60
    7 D' Z) D6 a$ ]" H, s# B% X" j
  1678. 7 L9 z+ G: j4 [- }" C
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    " L; h' N/ u$ _+ k/ e. c/ R
  1680. ;mssql.textlimit = 4096
    9 Q, t; t1 }+ @# R$ }/ P! _
  1681. 0 @) b9 [% z$ ]" O% B1 l
  1682. ; Valid range 0 - 2147483647.  Default = 4096.# o" s' K& O4 b( n' I( w/ ^
  1683. ;mssql.textsize = 4096
    & P5 h' Q! @9 H' [7 _
  1684. ( Z. c7 F. M7 k5 L2 M3 ?- y
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    ; X' [  [% l1 ?& |1 E
  1686. ;mssql.batchsize = 0* a7 E  B7 z4 \$ N+ V

  1687. 1 r" n& L) `* L& N
  1688. ; Specify how datetime and datetim4 columns are returned
    & k) U  K. v, _  V0 i1 @
  1689. ; On => Returns data converted to SQL server settings) g4 l7 l( t/ G. g3 i) F% u
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    $ w; d$ z! ]" G6 i
  1691. ;mssql.datetimeconvert = On
    0 Z2 A3 ~8 H0 s" {# q7 ^
  1692. 3 \. X; a. ]2 U1 Y, d( ~4 s
  1693. ; Use NT authentication when connecting to the server
    ) H8 C/ ?5 Y  Z$ w
  1694. mssql.secure_connection = Off; p# z6 O% ]% W

  1695. - V, J% v7 I8 O8 B- g' ?+ _* y) s
  1696. ; Specify max number of processes. -1 = library default
    / h; |( C' O5 D) b
  1697. ; msdlib defaults to 25
    $ J6 ]  q2 H% W% ?; Y8 `9 J
  1698. ; FreeTDS defaults to 4096
    & [8 b/ B5 ]2 s: t& F6 P; J
  1699. ;mssql.max_procs = -1( G, e9 Q- E) ?2 G( |: H. R& |( e

  1700. 7 d+ K( D6 m& G, ]% D
  1701. ; Specify client character set.; D, K2 U9 {" e$ T- Z
  1702. ; If empty or not set the client charset from freetds.conf is used
    & T# k4 j; ?2 H2 {) i
  1703. ; This is only used when compiled with FreeTDS
    ) i- m$ v6 C/ X8 f+ P3 a/ i2 q
  1704. ;mssql.charset = "ISO-8859-1"% ]9 Z# J$ m7 p3 S0 n! Y
  1705. 1 n" W7 e# Y1 t( r  Z1 Z  ^: [
  1706. [Assertion]5 V+ Y  {9 P: f
  1707. ; Assert(expr); active by default.
    9 j9 f0 d8 H  M* Y- v$ f
  1708. ; http://php.net/assert.active" C# U- g" e/ |3 H" w
  1709. ;assert.active = On. V. c* K+ T+ f; S- a
  1710. 7 r# q! T3 }; ^8 {; \; u$ p
  1711. ; Issue a PHP warning for each failed assertion.% O  g$ j$ z0 ^+ P* O
  1712. ; http://php.net/assert.warning0 N: }" S. r) m/ z( t) Q, @
  1713. ;assert.warning = On
    3 _* t) ~% O$ l8 A

  1714.   _" q* R8 i' y6 X, ]. {6 M
  1715. ; Don't bail out by default.; r- o$ s% E# z
  1716. ; http://php.net/assert.bail
    9 ]- d0 Y& L0 u/ B: s9 D
  1717. ;assert.bail = Off" s& B; Z" k2 E- `2 s. G
  1718. 6 p/ B7 }9 ]- C9 C
  1719. ; User-function to be called if an assertion fails.
    & ^. {5 H% ?$ f+ Z$ p
  1720. ; http://php.net/assert.callback
    ' H. y" {: K; h
  1721. ;assert.callback = 04 Q* V0 @7 i, \8 w* h
  1722. 7 i& X  E' J. W: X( I) s
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    ! f8 R9 p; _- ~, Y3 S
  1724. ; error_reporting(0) around the eval().
    4 h; c8 \( L  c% [; `# |% y( N; S% W
  1725. ; http://php.net/assert.quiet-eval0 w+ q6 N, `; e5 j8 H- s" J  S
  1726. ;assert.quiet_eval = 0
    , `& ~. t  r" b) E7 T

  1727. : f. Z( L& J- a7 i$ {% \  J1 z
  1728. [COM]6 t# T1 S, f* d+ C3 s% B% [
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ' Y  }5 D4 K: L
  1730. ; http://php.net/com.typelib-file
    7 d5 E8 ]+ z+ @8 P  |; L
  1731. ;com.typelib_file =
    ( D! [/ K9 x/ r

  1732. " Z; A/ L2 L4 v' X" t4 S5 I, N) t
  1733. ; allow Distributed-COM calls: _  ]! S9 @$ f0 y5 b. L8 G+ G
  1734. ; http://php.net/com.allow-dcom  e# j! N, O3 L( T$ j7 ~
  1735. ;com.allow_dcom = true" \; h$ T3 N! z
  1736. - E& f+ z, i% |+ ]5 V
  1737. ; autoregister constants of a components typlib on com_load()
    6 Z- S' Y: J9 Z7 ?
  1738. ; http://php.net/com.autoregister-typelib! _# M- R- c, u
  1739. ;com.autoregister_typelib = true
    . V; @6 G! y- ^0 \
  1740. 6 w& h/ i2 Z) D& E& J* O
  1741. ; register constants casesensitive# j+ I% a& ^1 E$ u$ R* p# B: a$ K
  1742. ; http://php.net/com.autoregister-casesensitive( J5 Q: ^- I' w* x9 n
  1743. ;com.autoregister_casesensitive = false5 |2 h& L  T! h! }9 L4 m$ Z
  1744. 6 D4 b* o" l" n9 f
  1745. ; show warnings on duplicate constant registrations
    & S( K4 ?) ?0 S
  1746. ; http://php.net/com.autoregister-verbose5 X0 d  F: I' g' h$ \
  1747. ;com.autoregister_verbose = true
    $ F9 E. @1 X' ~+ X# @: s1 b8 p
  1748. 1 p2 f& W' z0 E& \4 U
  1749. ; The default character set code-page to use when passing strings to and from COM objects.' m' f1 ]( g5 i1 Y- w& s
  1750. ; Default: system ANSI code page
    - q2 `. U! Y; l7 b4 J: ~  k7 e
  1751. ;com.code_page=
    ! e$ |" z8 S- \6 u3 z
  1752. 8 M5 L. n0 E* y# Y' r# B# g
  1753. [mbstring]
    7 h% g) Z2 T* S% h
  1754. ; language for internal character representation.
    & `, u0 o5 t1 v/ S# p0 b) v' k
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.5 J" L9 b$ O2 @/ r* |) V
  1756. ; http://php.net/mbstring.language  [, H. f+ |( N- k: O- R- F- _
  1757. ;mbstring.language = Japanese
    " F5 |$ l4 o# P5 \: Z0 a

  1758. . H3 N/ K. h$ P% f1 a/ A
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.: |3 J- g' K+ ^0 W2 R8 v
  1760. ; internal/script encoding.
    & M, o9 j0 a9 M4 V& S  W; m
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)) S* j5 O; o& s! Y! U
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.+ [6 T$ C# U( o6 }
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding$ a3 y6 r  g& T7 Z- F
  1764. ;mbstring.internal_encoding =0 h0 t  M- {5 s8 v% i
  1765. 7 y& Q3 |4 i8 A  O
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.! ^3 T. z( r+ x% I
  1767. ; http input encoding.6 c. c; e/ C) D
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.9 A2 d' A) d- c4 ?6 }$ U. h' }5 H
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used./ I  O6 q) Y- {$ j0 ?. e
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    . z: |; H# ^. O9 M& V
  1771. ; http://php.net/mbstring.http-input
    4 P  u, l! n2 J: K  y' ~" q
  1772. ;mbstring.http_input =" T/ f7 K6 f9 m  X7 q

  1773. . y' a. T5 {$ Y, Y! \
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.3 l4 ~  d. z& w) x6 r
  1775. ; http output encoding.
    9 |0 t1 |/ ?: j( s3 Z% |8 z
  1776. ; mb_output_handler must be registered as output buffer to function.
    9 v6 @' v# g6 L* K1 \1 o" ^( Q
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used./ F4 [' z! {* L4 d: r
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    * _/ u& W% T- O$ }$ Q
  1779. ; To use an output encoding conversion, mbstring's output handler must be set. J8 I/ d9 E: X  l2 q: Q
  1780. ; otherwise output encoding conversion cannot be performed.
    5 D8 x, k6 C9 A0 c! m' c( d
  1781. ; http://php.net/mbstring.http-output6 k* M# v0 Z8 A( S' h( j4 b
  1782. ;mbstring.http_output =% X9 u8 e* N4 I% a, }5 Z4 a9 H5 j

  1783. 0 f( M  s# p( {- l7 G+ p
  1784. ; enable automatic encoding translation according to
    - l. c1 X1 k9 U+ H1 j
  1785. ; mbstring.internal_encoding setting. Input chars are
    2 \, f0 M* d! ^5 m
  1786. ; converted to internal encoding by setting this to On.4 P4 L3 Z* O( E* j
  1787. ; Note: Do _not_ use automatic encoding translation for
      f6 n0 D* ^/ x
  1788. ;       portable libs/applications.3 a" u3 H1 o2 w* ?* f) q' N
  1789. ; http://php.net/mbstring.encoding-translation
    0 d: P0 g  h5 ^! K/ F
  1790. ;mbstring.encoding_translation = Off
    , z9 W5 s' o+ i" E& H# e' N

  1791. 5 l4 i! B% R9 ?, C  O. m
  1792. ; automatic encoding detection order.
    % ~3 d) ]9 u0 z" \. C
  1793. ; "auto" detect order is changed according to mbstring.language: D7 R( j) z" d1 u% n
  1794. ; http://php.net/mbstring.detect-order/ ?6 i7 L& Q; l* ^0 x6 ]
  1795. ;mbstring.detect_order = auto0 P+ k, s2 b0 G* g) V' i! E
  1796. . R. w; g. g2 R+ w# V& h6 H
  1797. ; substitute_character used when character cannot be converted
    / `8 z1 c2 V% [2 e: t' r. P
  1798. ; one from another0 U+ P1 B2 N3 Z3 U( E
  1799. ; http://php.net/mbstring.substitute-character/ E  x4 @9 u4 N% E
  1800. ;mbstring.substitute_character = none9 P4 _$ x; ~: q4 M: X9 S
  1801. # n7 G; `5 e; o9 k
  1802. ; overload(replace) single byte functions by mbstring functions.; w$ _+ i$ [' A2 \
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),5 e" H9 d  l: r
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.- c3 q' X: n" V; ?' x) S
  1805. ; For example, 7 for overload everything.
    . j" T+ J0 ~, A& E3 T
  1806. ; 0: No overload
    9 `) C& F' t* `7 g& }
  1807. ; 1: Overload mail() function& l( |* O0 e) I+ [) D/ v
  1808. ; 2: Overload str*() functions
      _7 I) y/ H3 [5 r4 p9 N/ C
  1809. ; 4: Overload ereg*() functions/ M, p4 x3 m9 }7 O4 [
  1810. ; http://php.net/mbstring.func-overload
    . ~  I, K; l; O: z- B; L* ^
  1811. ;mbstring.func_overload = 0
    ( E: H- }- J* a

  1812. 3 z* y, }% u  C  N/ A& y
  1813. ; enable strict encoding detection.3 d% R8 Q$ t' u1 U$ l. v3 C2 ?9 y
  1814. ; Default: Off
    7 W4 C6 V3 p. `
  1815. ;mbstring.strict_detection = On
    & j7 z  _9 t8 u2 P+ O4 c

  1816. ' X$ L" D$ P' I  M: l
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()) ?9 C" m! n0 q5 }' ]
  1818. ; is activated./ y& {2 t' M  C4 }9 Q# x7 a
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    + ~, k, k  h8 m2 Z
  1820. ;mbstring.http_output_conv_mimetype=
    0 B0 c/ H# |) Q
  1821. ( M! p$ Q" o* @! A: _: R
  1822. [gd]% Y9 b( G$ s' O- _' l, E" u4 U
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    4 C5 `7 y  |$ c5 o5 y
  1824. ; a gd image. The warning will then be displayed as notices
    ' u4 J! Q. _$ u' O( T* G
  1825. ; disabled by default; T! B* G/ t; Z) E
  1826. ; http://php.net/gd.jpeg-ignore-warning
    7 A' k$ U6 f6 v* S$ |- I- R9 }" w
  1827. ;gd.jpeg_ignore_warning = 0
    & e4 {1 w, m; g8 f; P# O

  1828. $ S9 f! _5 t1 S" v) w# u' o* }
  1829. [exif]( |) ]0 q* u: \
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.. H( s$ W+ }. h# |! |
  1831. ; With mbstring support this will automatically be converted into the encoding
    ! ?% |( J5 X! w% u  I
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ( [1 L1 S' ]* J5 I4 ?
  1833. ; is used. For the decode settings you can distinguish between motorola and
    " @  n2 d" ]2 I5 C! i
  1834. ; intel byte order. A decode setting cannot be empty.
    4 g: n1 _3 ^" O3 a4 A! [; S8 ~! I0 O
  1835. ; http://php.net/exif.encode-unicode
    / k9 w3 V- r, A1 }. A& c
  1836. ;exif.encode_unicode = ISO-8859-15
    ; k$ {" C1 H( w) g

  1837. 0 Z  P' e+ c3 G/ ^1 }: ~
  1838. ; http://php.net/exif.decode-unicode-motorola
    ) Y" A3 t: h. F8 L7 C
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    2 j- t& `2 L+ o

  1840. 9 c8 \' q7 n. R# d( b: X1 o
  1841. ; http://php.net/exif.decode-unicode-intel
    , ~* e# s( R/ s* t5 U6 V% R
  1842. ;exif.decode_unicode_intel    = UCS-2LE
      Q  T1 o2 d' _& A" b
  1843. ( l( W+ S. Z  W; O& [
  1844. ; http://php.net/exif.encode-jis* N) _8 a7 U- ?) T) \
  1845. ;exif.encode_jis =
    5 V0 E6 U: F/ m) K; z$ }4 T; F

  1846. 5 M. s8 _8 t! F+ `0 L  E
  1847. ; http://php.net/exif.decode-jis-motorola) O3 P& v& m  }  [5 D6 B+ T# v" m/ r
  1848. ;exif.decode_jis_motorola = JIS
    * a6 H1 `" n8 ?9 A' ]

  1849. ( _) U% Z; C& `! L- y- \: {3 m
  1850. ; http://php.net/exif.decode-jis-intel$ M+ {) o7 K5 w/ [& t
  1851. ;exif.decode_jis_intel    = JIS
    ' _$ O0 U4 Y  Z; ~1 z+ V4 X% e
  1852. 4 n% i* B) ~& v: K+ M
  1853. [Tidy]
    5 }1 D3 |3 B/ ?4 p9 f% X- t
  1854. ; The path to a default tidy configuration file to use when using tidy$ ^/ j& m2 |" ^/ `7 v
  1855. ; http://php.net/tidy.default-config" E( z! y1 ?+ f( }% G  ~4 V5 u
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ( H1 G8 J: u/ k: N( H

  1857. $ Z. M, l1 Z0 o
  1858. ; Should tidy clean and repair output automatically?9 C( F- s- h2 S9 _* `4 c8 o9 r
  1859. ; WARNING: Do not use this option if you are generating non-html content
    5 `. \2 F8 M. o; ]) P5 C% a
  1860. ; such as dynamic images
    6 G4 ~. g" ?( e; d) Z4 z+ e
  1861. ; http://php.net/tidy.clean-output% Z. _8 L; j3 {1 x0 R, l( p
  1862. tidy.clean_output = Off
    5 e5 |/ b; F, R- W( V

  1863. - n( M' P2 F3 ~1 y) n- {" i
  1864. [soap]+ L: \3 j# b9 k9 ]
  1865. ; Enables or disables WSDL caching feature.9 o$ Z9 E' f7 |& y4 k& M+ X# x3 i
  1866. ; http://php.net/soap.wsdl-cache-enabled
    & g  w; V, `3 J  Z4 _$ P* H2 s" H1 Z
  1867. soap.wsdl_cache_enabled=1. M3 }  A/ f  Y! Y1 n" c7 k
  1868. $ X; F& e. b5 c4 _- p
  1869. ; Sets the directory name where SOAP extension will put cache files./ x1 {. p' r7 @9 v! R0 u" p0 m
  1870. ; http://php.net/soap.wsdl-cache-dir
    + w- D2 I0 o* A3 y& M) o
  1871. soap.wsdl_cache_dir="/tmp": Q! L/ x5 M2 _5 b; y& b

  1872. 9 N0 n) o1 N, w' `
  1873. ; (time to live) Sets the number of second while cached file will be used" f0 b$ h7 R9 U
  1874. ; instead of original one.* X" h- L  q7 i! S$ b/ K
  1875. ; http://php.net/soap.wsdl-cache-ttl- Y9 e5 f0 i1 s, o" V
  1876. soap.wsdl_cache_ttl=86400
    ( d" E9 B6 z& N+ P- }9 ?# K, A
  1877. 1 O, i% w, n; `. P# `* v6 o
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)3 _4 C, f( @1 s: g1 f. t
  1879. soap.wsdl_cache_limit = 50 U& ~" R" s, R) u6 i/ H# T3 x$ \
  1880. : U, `( Q/ X$ l
  1881. [sysvshm]
    6 P+ L# d+ X3 x6 p
  1882. ; A default size of the shared memory segment
    7 w+ h9 _. j$ x! [% }+ W6 y
  1883. ;sysvshm.init_mem = 100001 l9 O3 G  A8 p7 d
  1884. # Q8 s' V$ b" j4 W; U: [
  1885. [ldap]/ N$ ?8 H' F3 y$ |5 p. F
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    5 K( b9 G$ Q, P2 L
  1887. ldap.max_links = -1
    % s  }1 }9 r* A# K

  1888. + w$ o" J* m) y; ^2 F( E/ K
  1889. [mcrypt]
    6 w9 K3 Y7 O" Z& K: e
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    $ X1 u+ I9 q/ L6 a, ?3 N
  1891. # K- [* k- @' ^: {- m$ T# l: W  k
  1892. ; Directory where to load mcrypt algorithms
    ' t" N" O7 u4 U6 u, _! ~
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    / a+ b% P2 H& L0 ~
  1894. ;mcrypt.algorithms_dir=
    , t, T7 v. |1 ?% y
  1895. # \$ |5 r9 ^( z* D
  1896. ; Directory where to load mcrypt modes5 F& Y& D8 p9 @1 {( O3 R
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)+ g5 x9 g: B. R  q9 ^5 V* t$ e
  1898. ;mcrypt.modes_dir=
    3 |/ Y8 D3 u! P& ]* ?0 y
  1899. 7 f5 g! W; ?0 J2 D, T4 \* H
  1900. [dba]
    5 D; n: H  E" b/ _5 g% [. M
  1901. ;dba.default_handler=7 n7 q0 Z: y3 ?2 H
  1902. 0 x4 z3 X; x; O, h; n' \) o
  1903. [opcache]
    + ?9 S/ s6 ?8 ?( c. i  s9 h5 g
  1904. ; Determines if Zend OPCache is enabled7 r2 o* K/ ?5 ~, {; \  f1 n& Y
  1905. ;opcache.enable=0$ b2 `' |4 i  E& d. \

  1906. / j& q0 q  ]; h* F  g8 Y# K9 y) _
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    - T- X" c& p7 s( ^4 [
  1908. ;opcache.enable_cli=0+ e4 h& e  E4 d8 a. m3 [
  1909. ( x, Y$ V* g! c% B' U! D9 q
  1910. ; The OPcache shared memory storage size." K- O; C! v4 a4 e" g
  1911. ;opcache.memory_consumption=645 V% K  x( J) ]0 o! g: H

  1912. ! v, p& z2 }2 Q
  1913. ; The amount of memory for interned strings in Mbytes.
    . Z/ `7 b, q2 ~3 g* g
  1914. ;opcache.interned_strings_buffer=4& n# z3 X6 p' E! E5 q6 `# x; g
  1915. 7 w- M: Y$ S5 `
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    1 Y# U$ w6 M$ y4 ^. z6 Q8 q6 j" F
  1917. ; Only numbers between 200 and 100000 are allowed.6 \) d. W4 u1 \$ j9 R& \$ b+ p
  1918. ;opcache.max_accelerated_files=2000- g" s' H, g0 S& e: o

  1919. 2 V) s! z. o+ r! i1 ]
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.5 O7 r9 X( G; }) L3 ^6 p; Q
  1921. ;opcache.max_wasted_percentage=55 Q% `( A& Q. S4 ~3 v$ F

  1922. - Q4 T! e. M  s( G. R: T  H2 a
  1923. ; When this directive is enabled, the OPcache appends the current working' j. p" h4 n1 z0 E" M/ @
  1924. ; directory to the script key, thus eliminating possible collisions between
      U1 k- j8 P( `4 W+ G' h- a7 u8 W$ D
  1925. ; files with the same name (basename). Disabling the directive improves
    ' j2 k8 I6 F/ n
  1926. ; performance, but may break existing applications.$ T  Z: f0 |( F5 x* ]. }- o
  1927. ;opcache.use_cwd=1
    8 z4 ]! P5 w$ G6 g7 b- G
  1928. ' @, r# M( f+ @2 k
  1929. ; When disabled, you must reset the OPcache manually or restart the+ r% {/ b! ^* S& ?! S
  1930. ; webserver for changes to the filesystem to take effect.
    5 Z. u$ x5 p# ]2 b
  1931. ;opcache.validate_timestamps=11 f) ~( E/ c8 Y- O

  1932. : U5 t' f1 [$ P/ Q; W2 j: s
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    ) \( N0 Q9 \& `# A1 B
  1934. ; memory storage allocation. ("1" means validate once per second, but only1 [9 f% @+ h8 ^  P
  1935. ; once per request. "0" means always validate)" K6 l7 u5 `2 ?5 v
  1936. ;opcache.revalidate_freq=2  T- O/ C( M! i) g, Q! L1 W* H9 V

  1937. 0 B) t9 L9 `" N5 U& p9 v* k6 K* }
  1938. ; Enables or disables file search in include_path optimization
    + x' q9 v; D$ K( i1 n6 }. ^
  1939. ;opcache.revalidate_path=0
      |* f- ^8 i# Q1 y0 N3 ?

  1940. * m  V6 g6 E8 N
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    # U4 _, x1 O( W  F, q* B
  1942. ; size of the optimized code." z, Y, A7 N+ U$ V- b4 P8 o! R! m
  1943. ;opcache.save_comments=1, d" M5 Q& z6 j4 C: s: R& T! ?/ q$ m7 ^
  1944. 4 B2 u3 d& G: X9 v8 A. q4 @+ k
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"# ?9 y  L* X$ _: n7 [; m0 I
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    2 ]* b! b& b6 p+ o5 ]
  1947. ; that don't need them anyway.
    6 B! H* `1 M/ U/ N$ N
  1948. ;opcache.load_comments=1
    " A+ \2 }- U. h0 t
  1949. ! ?3 R6 x5 |/ Z. P' Y! F
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code5 q+ `7 s5 `) W. @; H, D
  1951. ;opcache.fast_shutdown=0
    5 w  F. J4 q3 M! H, g- Y+ a0 A

  1952. + w9 s1 d; b" M! [- ?" Z
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    7 q5 \2 R0 z2 ?' Z
  1954. ;opcache.enable_file_override=0* w3 C& W; W. A( C, o3 s3 p
  1955. 4 w1 [0 x+ q1 W- |5 q
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    " y" C. k/ x) g, x- q* H+ M
  1957. ; passes7 g, K& T2 W$ C5 N$ j5 R: H
  1958. ;opcache.optimization_level=0xffffffff0 _8 O7 `6 R: F% h* [

  1959. + |% e( T" ~( M0 O# @
  1960. ;opcache.inherited_hack=1
    6 D* T7 x& F- v+ f' K6 x
  1961. ;opcache.dups_fix=0
    2 I  I* c# d5 X: k5 C
  1962. , l  h! c4 y( J0 L
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    # ^$ {/ g! i: C( c% _0 y% K, p
  1964. ; Each OPcache blacklist file is a text file that holds the names of files8 g: `1 r& B7 b$ ?7 s! b# L
  1965. ; that should not be accelerated. The file format is to add each filename
    , p8 N2 \! X0 J/ f+ s% I% ~
  1966. ; to a new line. The filename may be a full path or just a file prefix
    8 R$ \& o0 i) @+ y  E2 H
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    / S: b- m5 f5 b$ X: Z7 X5 z
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    % |  F: O* u" g% p  v" t
  1969. ;opcache.blacklist_filename=
    $ V8 ]9 A+ F( A; t7 d: W) e; e5 D

  1970. ' F* F+ S* |" u' u& N/ k
  1971. ; Allows exclusion of large files from being cached. By default all files
    9 V, @$ J7 x6 r5 X: j
  1972. ; are cached.
    & _4 }& i" D5 B. p/ }2 X  O
  1973. ;opcache.max_file_size=05 R& L; ^; b  J3 K; J6 \/ W

  1974. ) R1 `! I4 h  {2 G( H% z
  1975. ; Check the cache checksum each N requests.- R. w( K& }6 Y: m  u) X: C
  1976. ; The default value of "0" means that the checks are disabled.
    9 Z9 P! h  C: g' |
  1977. ;opcache.consistency_checks=00 R! t- ?0 M; t; t

  1978. - Q2 o2 P' s5 h+ ?5 X7 {) C
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache- v! J1 g3 X6 S( P. {9 [: V8 n7 g# v2 N
  1980. ; is not being accessed.
    , h/ H" Z/ h$ V
  1981. ;opcache.force_restart_timeout=180
    6 c1 y1 u/ g+ ~6 C$ H

  1982. " H8 l" v5 T, w; ]  X1 }
  1983. ; OPcache error_log file name. Empty string assumes "stderr".7 }# q1 ~" T4 F9 X6 t6 U
  1984. ;opcache.error_log=3 Z( d) z) I) Q0 i$ P0 a
  1985. , q& _) b9 \  @8 i, E% {' ]# v! h
  1986. ; All OPcache errors go to the Web server log.
    ; w$ V( K$ T6 r/ i
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    4 ~" O; s* \4 {: H8 h$ Z
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ) G8 I- I" Y0 d5 _+ p8 f
  1989. ; debug messages (level 4).
    ) c5 v7 p: v) k" Q/ b( {5 U
  1990. ;opcache.log_verbosity_level=1$ G, H* l0 l/ B8 W

  1991. - l4 s+ U3 q' \5 y  Y
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    $ b# H8 \" l* |" B. D7 A) z
  1993. ;opcache.preferred_memory_model=
    8 a  C+ \. P& \' I4 b4 m
  1994. / e3 S$ v# I' {1 }$ J; _+ c/ j' y
  1995. ; Protect the shared memory from unexpected writing during script execution.
    & b  ?% ]3 e" `
  1996. ; Useful for internal debugging only.' q: A$ e) u) f) b# E
  1997. ;opcache.protect_memory=0' m; X1 G8 @6 K$ n

  1998. & ^2 r1 g  U* h3 C- {
  1999. ; Validate cached file permissions.$ ]# A0 S# ]- _+ @
  2000. ; opcache.validate_permission=07 V) A) `% X; N* E& r- f9 o0 A
  2001. ( V( U" n; D" P1 K4 Z
  2002. ; Prevent name collisions in chroot'ed environment.
    ' l- u& D& \# m! ~# V) V( C8 t
  2003. ; opcache.validate_root=0
    5 v# p/ Q3 f5 b! ]" M  F4 m  Z8 s1 B

  2004. & x. ~7 R6 o" d( ^( U
  2005. [curl]! K! o- z) L& K9 B( y
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    1 v! r5 S/ F- d4 D; |6 m# N" f1 M) m+ L1 Z
  2007. ; absolute path., Q) N8 A. y/ P
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt# `+ R& ~" ^) e" e1 ]) ?% P
  2009.   g1 B* w# {8 ~7 Z0 q
  2010. [openssl]4 }) r2 L2 J; S( W. n' F( M
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem2 P, V2 c% |- e* x6 k1 ?
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should- F/ ]% D6 {' U( y( F8 L5 |9 k7 l
  2013. ; not specify a value for this directive as PHP will attempt to use the  Y3 u. G2 v% N
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    , G) A1 i% q; ~% h) C" u
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    . J4 t# Y  X; W8 b% B2 T8 d" |
  2016. ; option.7 y( C- L; {' @
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    - A4 j# f) m: o) ~: G

  2018. 2 [+ k5 V$ `6 H; }( `
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    9 k1 ]! @) x1 h3 @8 |. U& ]
  2020. ; directory pointed to by openssl.capath is searched for a suitable6 K; R. n* K+ ]5 L5 [. v1 `
  2021. ; certificate. This value must be a correctly hashed certificate directory.! d3 K" l" n% r5 Z- s1 C3 S. V. {- f
  2022. ; Most users should not specify a value for this directive as PHP will7 M" U6 U8 S2 Q8 ?+ N! C/ r
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    5 T" z- w+ @" r8 C$ N, ]/ }
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    $ n" P. J$ ]5 Q
  2025. ; SSL stream context option.
    + P) C5 i7 ?# Y- B  `$ e4 z& ?
  2026. ;openssl.capath=$ W& c) Z9 S; }/ r4 I5 V! e

  2027. & g) `7 Z3 g/ c5 z1 b/ b
  2028. ; Local Variables:
      q- @+ K5 C* G8 F* _3 X7 d9 `
  2029. ; tab-width: 4* {* C/ J3 r+ X, R
  2030. ; End:3 i; v7 ~& M  h7 L/ `5 ~
  2031. % E5 W- B+ Q$ F+ I3 A
  2032. ;eaccelerator
    ) ]8 y6 `( z; p, r4 ?( @

  2033. $ r6 ^  v( R. x' u' }- |
  2034. ;ionCube# `$ d$ B% N/ v1 ^2 m2 V
  2035. 7 C3 v" L  J5 o1 F! A( o$ x5 [
  2036. ;opcache
    2 H/ K* e# ?; Z  G# z6 N2 j

  2037. 9 Z- D5 `0 t: ]# J" j) B
  2038. [Zend ZendGuard Loader]2 W: {: |4 G4 H: p7 W7 c1 Z. {
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ( n" {4 Z8 @. B  T. X6 B! i1 _
  2040. zend_loader.enable=13 u; t; a3 c" N' X
  2041. zend_loader.disable_licensing=0' f7 a  b, V5 S( Z; g7 d; d+ y
  2042. zend_loader.obfuscation_level_support=3/ t, [) l" f+ ?- F/ S0 {' o
  2043. zend_loader.license_path=7 c1 K, ~, m: ]
  2044. ! x; l, \# v* P: O0 W
  2045. ;xcache+ Y  ]$ o& @$ a" r# E

  2046. & |" V6 R5 R0 A* H6 z  t$ Y
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692# u, G4 Q5 |3 P

7 j3 `& b) X8 R' `7 c2 ~& J9 r* {
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,2 W/ J# B5 V, n, O8 D

0 b6 b7 Z' k. IDiscuz!程序版本选择:
/ w+ j- v& r1 E; f+ Q. n; t6 A3 D) w站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,* |* k5 @# ^8 x% U
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:: Q# H7 D3 X' F; G6 u! ^- m7 h* L
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
. Y/ t+ Q$ H' |7 _) J* n
' U: N% }3 |3 v* YDiscuz!插件模板版本选择:9 X7 m* N4 X% Q7 K+ O, B: z, f( @
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
0 x6 s0 k$ Y0 G% p. M/ I9 v0 W针对这个问题做个统一的普及:
# o$ ]1 @0 n& R5 AX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
8 x6 a; m- @! @; a
  k  C( u* t4 T! C6 r所以- J1 I& a, ?6 X5 [- D8 x# F
适合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的二级域名。; z) h$ E3 ^  B- k. k' P
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。8 g/ ~, H) l# t, r; ?$ V- @& ?
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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