分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.07 Z6 w: x6 G) k" c
+ M! N0 S9 O. Y( n. S
  1. [PHP]5 u& q7 g1 J/ t. G
  2. - q. s3 q' K! U/ N
  3. ;;;;;;;;;;;;;;;;;;;
    9 i. g2 F1 J( w
  4. ; About php.ini   ;
    8 K* [+ P, ?" N, H* l1 J# {
  5. ;;;;;;;;;;;;;;;;;;;
    " \# a1 R! p! L' m# {
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    & {& [! @- o; k$ t- l+ d
  7. ; configuring many of the aspects of PHP's behavior.
    4 F6 w6 W. Q& f

  8. 2 o4 Z# h# F, I
  9. ; PHP attempts to find and load this configuration from a number of locations.0 j9 a  o/ t; Q( d, _
  10. ; The following is a summary of its search order:
    + o7 m' A% v7 o
  11. ; 1. SAPI module specific location.0 X5 G4 N# x5 N. q: q
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)5 U; `, i' Y2 v$ |# {" K' g' U
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    1 @3 Z: Z8 l; i4 c9 U
  14. ; 4. Current working directory (except CLI)* l, E; F4 y$ o2 ^1 X- U
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    2 ?3 b% b' F7 Q( e/ F8 Y
  16. ; (otherwise in Windows)6 C# N4 p' b! H
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    3 o. B$ N4 @# R% S7 Z5 j
  18. ; Windows directory (C:\windows or C:\winnt)7 e1 Y% L0 I6 G9 x# k* N
  19. ; See the PHP docs for more specific information.6 |$ g- k6 A0 g+ e
  20. ; http://php.net/configuration.file
    - _5 u# u+ x  M7 ~" f

  21. 4 m6 w0 q. R9 R
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ( O5 F6 a6 f. m! O$ z5 _
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).# Q. A/ M+ ~5 @. s" U
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    5 ~* c4 m5 ?' g/ z! a
  25. ; they might mean something in the future.
    1 S  ~( B: Q$ b3 ^
  26. 9 E6 f) A. _' m* p
  27. ; Directives following the section heading [PATH=/www/mysite] only
    & J( o6 \; y8 O( S
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    & c4 Q4 F9 a- l1 ~& r
  29. ; following the section heading [HOST=www.example.com] only apply to1 S; m& [1 U, \# W1 q) i
  30. ; PHP files served from www.example.com.  Directives set in these
    $ z( c! p; z# S$ o2 h$ ]8 q
  31. ; special sections cannot be overridden by user-defined INI files or
    ' a1 ?2 |# [$ D; t0 f7 e
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under# E( S2 E8 c4 G: j
  33. ; CGI/FastCGI.
    7 {1 J2 v9 m$ n7 M, r! ]# X5 R
  34. ; http://php.net/ini.sections
    ! S! n4 U! D' `
  35. 5 v$ x# d) ]1 s6 B5 E
  36. ; Directives are specified using the following syntax:3 T! @8 q! Q- }2 X% t$ _- A3 _" L0 {
  37. ; directive = value, ^' _9 f4 }- H3 d1 l- F5 A; r) b  [
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.9 ~+ x% R+ t# `: A' Z& R
  39. ; Directives are variables used to configure PHP or PHP extensions.5 K2 M1 e! x& c0 a
  40. ; There is no name validation.  If PHP can't find an expected1 y. X: r; _4 g( X" k
  41. ; directive because it is not set or is mistyped, a default value will be used.% m, c8 g8 V) k4 j

  42. % i, Q9 k& y3 s" [+ B6 f8 f
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one& `3 n0 j0 P$ ]4 X- Z' p
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    3 y  u4 t. A0 |1 L. K" K7 `" B1 O2 ?
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    , {# T& c. Z* E) J
  46. ; previously set variable or directive (e.g. ${foo})
    : Y0 l! c# m, Y. y6 {  t
  47. . k6 B+ ]( w1 p5 h  m
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ! A  F. v" q- s% W
  49. ; |  bitwise OR
    0 s) L/ g% W1 P! F2 a! I. Y3 g) T
  50. ; ^  bitwise XOR
    ' b' F8 a* R9 B4 ^) y8 M3 `; n
  51. ; &  bitwise AND
    + ~; o2 E' h( B4 b! A; \( d; M
  52. ; ~  bitwise NOT4 d, r4 p2 _  t( I9 I
  53. ; !  boolean NOT7 N# o( k6 t  d; K  o) R0 r' T$ V

  54. / N$ P, s1 x" n' G; N+ L4 E( f
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ' l) V. M# H1 I. e. O
  56. ; They can be turned off using the values 0, Off, False or No.
    ' Y, A1 i* |1 y$ W, A# H

  57. - I0 [/ R! M4 Y' }! Q- g* X
  58. ; An empty string can be denoted by simply not writing anything after the equal
    . i* W1 x3 d7 \4 N. v; r
  59. ; sign, or by using the None keyword:4 x6 H7 X0 R8 q1 v" X; ?4 U& z9 y

  60. ( g8 |* n' i; G, L% x0 p
  61. ;  foo =         ; sets foo to an empty string( p( v5 `1 q3 p. [+ N$ q
  62. ;  foo = None    ; sets foo to an empty string
    " b  n" r6 L9 O6 E. |3 n
  63. ;  foo = "None"  ; sets foo to the string 'None'1 }  X( p7 W7 j9 s2 k2 ^/ z
  64. % w8 y$ I/ P" I# _0 w- N8 D
  65. ; If you use constants in your value, and these constants belong to a6 K! I$ U" v* }9 q4 u7 Q
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    % @; \  y$ S$ v$ P0 n! T' C% ?! d
  67. ; you may only use these constants *after* the line that loads the extension.: E4 t% e1 ?8 `9 M: ^
  68. 3 Q, L5 @4 {, R8 v" }
  69. ;;;;;;;;;;;;;;;;;;;
    ; m: j3 _& n. W8 t
  70. ; About this file ;
    & q/ `+ x$ z* m
  71. ;;;;;;;;;;;;;;;;;;;% i; V7 p3 L2 k1 N; k2 B) U
  72. ; PHP comes packaged with two INI files. One that is recommended to be used0 y& _5 L  w) Y1 w% A' ]
  73. ; in production environments and one that is recommended to be used in1 i  }9 G8 `5 r0 |# Z& Y- A
  74. ; development environments.& q! e: }  e  I7 w# Q% H  E

  75. # b" ~$ S" {! N/ ~0 m' |
  76. ; php.ini-production contains settings which hold security, performance and* }8 P; t  A, P! h. ^- h! _: d; @
  77. ; best practices at its core. But please be aware, these settings may break; L1 W7 e7 l& Q3 a8 l
  78. ; compatibility with older or less security conscience applications. We1 O! D# m- ]  t* K. P8 h# T
  79. ; recommending using the production ini in production and testing environments.7 I$ L+ U2 B* L' A( o) @5 P

  80. % |8 R" A2 B: N! w) P! D' Y" c, a
  81. ; php.ini-development is very similar to its production variant, except it is
    5 H+ v. [% s; \+ u9 g& x. F. ?
  82. ; much more verbose when it comes to errors. We recommend using the! h9 X$ e) e, G9 M1 M
  83. ; development version only in development environments, as errors shown to9 g4 h8 s' [  i$ r
  84. ; application users can inadvertently leak otherwise secure information.
    + b/ D: _. b3 s! f1 u' b/ D( k

  85. 2 `1 U4 g9 H# ^+ G4 Z, Q
  86. ; This is php.ini-production INI file.+ ?8 h* S$ |$ j4 k5 @. k

  87. ; d; W5 I# J& }( V
  88. ;;;;;;;;;;;;;;;;;;;
    ; O, z% x$ O8 J4 w# G+ Q/ E! T
  89. ; Quick Reference ;( F: A4 a. g) o
  90. ;;;;;;;;;;;;;;;;;;;( R; h7 e" d+ D- C! {  ]' ^7 S6 ^
  91. ; The following are all the settings which are different in either the production
    8 I5 F  \! S' Y7 y2 I/ T
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    : l* u) U! t1 T$ L- L% G4 A
  93. ; Please see the actual settings later in the document for more details as to why
    $ _: W4 @* n) @& Y/ x$ E
  94. ; we recommend these changes in PHP's behavior.
    " e8 y0 G' i7 V/ Q) r4 P

  95. & I7 Q: b" ^3 B7 i8 }' b
  96. ; display_errors; \+ b& h/ m/ o2 g# b6 N
  97. ;   Default Value: On/ z2 Q1 G; M" E$ @# Z1 z6 ~# Q
  98. ;   Development Value: On; |9 O& q" v$ N! o
  99. ;   Production Value: Off" _% M+ N2 n& j* p6 R

  100. " m; P& z, ^3 y. e0 ]* c  X/ Y" @: `8 A
  101. ; display_startup_errors' y, P( {1 `& [, C$ p+ O: p9 j
  102. ;   Default Value: Off
    ; N' N9 A. {' @: c
  103. ;   Development Value: On
    - X# s4 \+ a# i+ l
  104. ;   Production Value: Off
    6 A" i: v, J" j. T1 B: o6 H$ g( q
  105. ( i* s" L8 C3 C5 l$ A; @) {( {) R
  106. ; error_reporting3 z' f* t) O; E7 |# x3 q0 E* Q
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED6 V1 S7 m; E" D, q9 n6 t( h
  108. ;   Development Value: E_ALL
    . G* S8 c* B7 L6 w; j! s9 a
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT8 e2 M# v; v) F

  110. 6 `+ o6 h" y  n+ W5 ]
  111. ; html_errors
    ! X7 C% I1 n' @  X; A: T0 V
  112. ;   Default Value: On
    3 u2 I) X( `6 I' a2 C  h0 g. U( Y
  113. ;   Development Value: On
    , I6 V, C+ t. U1 s0 G6 s% A$ y
  114. ;   Production value: On
    # w/ x  j5 N2 z7 ~& D& p
  115. 4 }' @8 }- u  k# [& y- D4 D
  116. ; log_errors7 M: Y( K/ g& k2 {1 X) u
  117. ;   Default Value: Off' r1 F2 v& K0 H( H! k: D0 O8 \
  118. ;   Development Value: On
    4 c! Z& m! q* A
  119. ;   Production Value: On4 l0 c0 y$ Q) \% _" |

  120. ) B) B8 K! O' a# s
  121. ; max_input_time
    ' J, t/ R3 N! _3 q
  122. ;   Default Value: -1 (Unlimited). O  ^9 f+ X$ f5 {9 N' Y8 g5 ~9 B' L
  123. ;   Development Value: 60 (60 seconds)0 _4 B, r% S! g9 v. M; u
  124. ;   Production Value: 60 (60 seconds)
    + J! H* Y9 ^5 J2 h- Y! K

  125. . O8 Z9 x& o6 }
  126. ; output_buffering" u: H- J) [; K# K" i: B
  127. ;   Default Value: Off% e; q, @" r3 l+ J4 ^9 T2 K
  128. ;   Development Value: 4096
    2 N/ K) y0 o- k+ G# |
  129. ;   Production Value: 4096
    - f! Z: ~& @5 z+ L% [0 d7 k

  130. . N+ s" s2 q$ H& ?
  131. ; register_argc_argv8 }5 `4 L. W# ~
  132. ;   Default Value: On2 c# v' O$ m0 e* O
  133. ;   Development Value: Off/ ]( |$ S6 q( o" I
  134. ;   Production Value: Off- f+ S! X5 J5 ~7 S7 P
  135. 2 v: o; W" e. b7 r
  136. ; request_order
    9 b6 p8 ^& b# S! `$ @1 d
  137. ;   Default Value: None# _0 \+ n1 y9 x* E+ H" F
  138. ;   Development Value: "GP"5 m: I, v( }8 j  Z
  139. ;   Production Value: "GP"
    4 `8 J( T% b% V" i
  140. 9 c" z: \) u' K& M( j
  141. ; session.gc_divisor
      g, Y. E% K2 z- S
  142. ;   Default Value: 100+ R: C' ?6 _# ?
  143. ;   Development Value: 10003 r2 y' z2 l7 l( k4 h8 a/ o& ^
  144. ;   Production Value: 1000  S5 b+ c9 l  s

  145. + F. n$ Q: n. ]/ S7 U
  146. ; session.hash_bits_per_character& X6 K8 Z9 x6 m
  147. ;   Default Value: 4
    ) H, b* c$ K0 [) P# U
  148. ;   Development Value: 5- @* j7 ~& e9 q4 n
  149. ;   Production Value: 57 x+ A3 _% K: k

  150. 1 K$ L) Z+ {  i5 b& ~2 ~
  151. ; short_open_tag+ H1 E- O5 N0 i" ]' c$ d/ B1 A
  152. ;   Default Value: On
    ( c# }- j' i6 w- V! `
  153. ;   Development Value: Off7 R5 G8 ?, A4 ^# Z! x- r
  154. ;   Production Value: Off8 T! H1 S) u* u, B" G3 _4 {

  155. . T. p4 D) f4 h$ M2 y+ I* p
  156. ; track_errors
    0 `/ ~' [0 ~2 V' d) g4 W
  157. ;   Default Value: Off
    * J. s. E' y& E- z$ r+ \2 w/ o8 _8 T
  158. ;   Development Value: On+ v8 K& \- d0 `9 K" }( y
  159. ;   Production Value: Off4 m% N4 B4 e+ r8 O9 h

  160. ( T5 H  |. v4 {5 T9 K3 G
  161. ; url_rewriter.tags
    4 r/ k" @+ [+ |% `  s) }( O4 Z
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=": w6 C' W2 t! l3 }: K2 o
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 p; J* a# C9 S8 s6 Q5 r
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", @9 B3 h% q, g4 R2 M# P# e& J

  165. 9 i1 q: {8 x7 r/ W7 K; M: j
  166. ; variables_order
    3 V) n) }( w* o- e
  167. ;   Default Value: "EGPCS") w  p( }& \5 m$ S/ _) b
  168. ;   Development Value: "GPCS"
    : n1 Y7 R0 k. }9 d% t6 V6 \8 E0 B. E
  169. ;   Production Value: "GPCS"4 W4 V8 H" [6 I, s7 ~
  170. 2 t, |7 ]2 R7 W
  171. ;;;;;;;;;;;;;;;;;;;;( V8 d) Z, i( ]! _
  172. ; php.ini Options  ;  D2 b3 \  E. k: s4 u# @
  173. ;;;;;;;;;;;;;;;;;;;;
    ! Z9 Z. x! M) K5 [. m, k; D# C
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"+ q$ L/ g/ T  c
  175. ;user_ini.filename = ".user.ini"4 e# W2 s9 N7 g! E9 e  y

  176. 5 t' g+ r( P  k* f% ^! J  u) j
  177. ; To disable this feature set this option to empty value
    * g. ~4 N3 o5 }! [# g" l8 W' ?! V
  178. ;user_ini.filename =& {- i6 A$ R: j

  179.   U! |( p! r: Z3 ]* w8 C! {: N& P9 V) O
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)& Q0 J. ^4 P1 G* t8 m" U" W
  181. ;user_ini.cache_ttl = 300) j7 \5 a, y5 m4 U& `: v
  182. ; D( C6 i7 F8 d9 _0 |* K( c/ f
  183. ;;;;;;;;;;;;;;;;;;;;. G+ o7 J8 ~, Q- H! J3 r
  184. ; Language Options ;. i6 o, \: x8 B
  185. ;;;;;;;;;;;;;;;;;;;;3 ~5 m1 j$ A# e( o
  186. $ A% y, I) \9 r0 {7 X( q" O0 _
  187. ; Enable the PHP scripting language engine under Apache.+ I7 }. i/ V6 O4 k
  188. ; http://php.net/engine
    7 K: j( I3 D7 `) z7 L  e! }/ o
  189. engine = On
    . F2 w' x  u. z+ x4 r# X
  190. ; i+ J. o4 a4 P
  191. ; This directive determines whether or not PHP will recognize code between, m& [6 _3 l8 j' u; [9 |( X
  192. ; <? and ?> tags as PHP source which should be processed as such. It is; P7 l" `5 [/ O, I
  193. ; generally recommended that <?php and ?> should be used and that this feature, j4 @% _4 h% Q5 f
  194. ; should be disabled, as enabling it may result in issues when generating XML
    * B/ K+ c0 l1 W( z; x# p8 @
  195. ; documents, however this remains supported for backward compatibility reasons.* \+ Y5 T) N  ^
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    - k6 O# `! j4 A) H" a/ |
  197. ; used regardless of this directive.
    , w/ W/ I) l0 x% }" e6 o
  198. ; Default Value: On) U# Y& }! ~* o
  199. ; Development Value: Off" c3 q0 L! ^% g1 g4 ^1 L  C
  200. ; Production Value: Off
    1 o: I, z2 w' Q3 {# E6 d* r
  201. ; http://php.net/short-open-tag
    9 Q$ @2 z3 y5 h, C( s
  202. short_open_tag = On
    8 H8 N4 J. e3 }) w* f" k
  203. 0 p3 O4 t1 f' N. @
  204. ; The number of significant digits displayed in floating point numbers." u1 M! W0 J' [# E+ Q7 [/ R3 c
  205. ; http://php.net/precision' ^8 W1 _/ c5 ~
  206. precision = 14: H5 L9 j+ P3 q
  207. " K# X6 r) D1 |, i: q# [
  208. ; Output buffering is a mechanism for controlling how much output data
    8 t5 @) \! K+ F/ b1 m& t
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that" F5 M: X: o) o- h8 e( G2 G
  210. ; data to the client. If your application's output exceeds this setting, PHP0 j( p* h( M9 U1 S5 E: d
  211. ; will send that data in chunks of roughly the size you specify.7 v9 \6 E  }- H) |$ @: a
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    , M  l/ U+ h( H8 Q  B
  213. ; interesting side-effects depending on your application and web server.  U' m1 n; J0 V7 C( |5 g
  214. ; You may be able to send headers and cookies after you've already sent output
    ) D" f5 Q# J; n! X
  215. ; through print or echo. You also may see performance benefits if your server is% u  z" g) R* \
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    % V8 N2 Y- |( i7 {* g0 Y
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    & P7 B! i0 q: b( k
  218. ; reasons.
    9 c: W8 j# ^$ S% t! n0 W5 P2 N
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    0 F/ `/ n4 l% _9 l& c
  220. ;   functions.
    . w4 N9 c4 |. O# g5 T1 R
  221. ; Possible Values:5 Y3 P5 Q% t( o! S/ N* T) f/ H* k
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)$ l" y7 W. R& r9 g8 S
  223. ;   Off = Disabled
      I# n% }9 W$ s
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    9 p. o1 e- C. C
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI: j" t  l. D+ O0 P/ o7 o
  226. ; Default Value: Off
    ! T/ P/ x* k" |2 F# ]" S
  227. ; Development Value: 4096
    7 J* k* D* @# r- F7 m8 Y
  228. ; Production Value: 4096
    4 d" I) h5 f! ]& b
  229. ; http://php.net/output-buffering+ c3 E& n% P. `3 e4 |
  230. output_buffering = 40963 h  h0 W/ W# k) O+ ]9 Z+ a

  231. 6 Q3 _7 @3 d$ L7 Z
  232. ; You can redirect all of the output of your scripts to a function.  For
    2 l/ d& X% d) x4 B: U! f
  233. ; example, if you set output_handler to "mb_output_handler", character
      H$ B, l/ u% v$ H% `. ?
  234. ; encoding will be transparently converted to the specified encoding." ^& p* v/ i" I. T& Q
  235. ; Setting any output handler automatically turns on output buffering.; S  _+ i& y; n' s; {$ s
  236. ; Note: People who wrote portable scripts should not depend on this ini
    ! G. [7 o+ J$ S8 N: g1 t
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    ! a* B" w2 L  c
  238. ;   Using this ini directive may cause problems unless you know what script1 p$ s; X0 r( E
  239. ;   is doing.. Y+ v6 V$ n) A" y5 a
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    3 a3 u3 ]7 s4 j/ v2 ^; O" ~
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    + Y# h: y* w7 g5 w
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    3 H1 [" U6 @( x$ U! }6 O
  243. ;   Instead you must use zlib.output_handler.! @1 r( b* g2 x, E- [) O( u5 F
  244. ; http://php.net/output-handler
    ( O. {! {& ~8 N6 P3 }* @2 E" q
  245. ;output_handler =4 N- J! R% a6 _

  246. 5 i' P  U7 A4 |: i/ Y& ^
  247. ; Transparent output compression using the zlib library
    6 w6 Z: y2 W& x
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size% {0 g6 ?( R6 n( P& [, Y( z
  249. ; to be used for compression (default is 4KB)3 x5 J( c! Z0 U4 j! y
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    * q4 T! v, _. ~& q! v6 ^# N
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    2 e6 L  H9 s* X5 W$ j
  252. ;   compression. If you prefer a larger chunk size for better" o9 d8 H$ X/ {3 q) _  p
  253. ;   performance, enable output_buffering in addition.2 G. h. y6 s  N+ X5 x% ]/ K! V/ ]; c
  254. ; Note: You need to use zlib.output_handler instead of the standard% G, g6 O3 H3 m% N% o9 q
  255. ;   output_handler, or otherwise the output will be corrupted.: }# E0 w/ V, C& Q/ y$ [6 x. [
  256. ; http://php.net/zlib.output-compression
    ! w$ E1 t  r* @! }& {5 f6 ]8 \
  257. zlib.output_compression = Off7 d  n' n) f8 ^  \# I" i  ?: t
  258. 4 w9 L1 R/ n- @4 p
  259. ; http://php.net/zlib.output-compression-level& q7 \' ~( f5 `6 _/ Q. _/ `6 z
  260. ;zlib.output_compression_level = -1  f5 d' ?6 Z1 o7 Z* T

  261. " K9 u* N& i4 ]( j5 q& @' C
  262. ; You cannot specify additional output handlers if zlib.output_compression* i0 H2 K) X+ K7 _; L1 G0 P
  263. ; is activated here. This setting does the same as output_handler but in! t* W" H; D' {( t/ K
  264. ; a different order.
    . B, n7 ]& l# V6 P1 {! r
  265. ; http://php.net/zlib.output-handler
    8 r6 D- s  X% C
  266. ;zlib.output_handler =2 `) b) U  h0 \

  267. * W* K; g- K0 x8 k1 h9 V' B  ^
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    # Y7 Q9 z1 M" X9 ?' U3 ?
  269. ; automatically after every output block.  This is equivalent to calling the" ?3 [3 \2 o5 ]
  270. ; PHP function flush() after each and every call to print() or echo() and each9 J% V, S5 }0 j* ~6 @7 n& f+ U
  271. ; and every HTML block.  Turning this option on has serious performance
    % n8 }6 r. k) K  D8 T& W6 Q
  272. ; implications and is generally recommended for debugging purposes only.: P9 \- Q+ v1 y1 Q$ I
  273. ; http://php.net/implicit-flush
    8 i6 h9 ^9 o- v( r9 E  N
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    : v$ g3 V( Z% q! Q: b. _8 V* O4 o
  275. implicit_flush = Off$ d+ m1 E9 ^$ s
  276. / u/ w/ L8 S# S+ C5 ]
  277. ; The unserialize callback function will be called (with the undefined class'  n& @( G2 I7 W. z! {
  278. ; name as parameter), if the unserializer finds an undefined class
    5 _$ O- x. O9 U' l$ W2 _2 r- W8 X
  279. ; which should be instantiated. A warning appears if the specified function is. I$ @" k# Y# P* w& l
  280. ; not defined, or if the function doesn't include/implement the missing class." D; ~$ @; K# F* }, O& j  D
  281. ; So only set this entry, if you really want to implement such a
    7 T6 e1 W4 s4 R* ?. ~2 X  a. J8 j
  282. ; callback-function.
    / p" \/ R- ~- ]0 A
  283. unserialize_callback_func =
    : T8 i% |) }, i2 u5 H

  284. + v& p5 b: J- W1 ~
  285. ; When floats & doubles are serialized store serialize_precision significant
    5 S: ~  e' E  Z- ^" u
  286. ; digits after the floating point. The default value ensures that when floats
    0 s/ d: K8 K% d6 |+ u$ C% _1 t: @
  287. ; are decoded with unserialize, the data will remain the same.; t7 f7 h& }1 H
  288. serialize_precision = 17
    4 X9 ]7 K; Y, D3 `

  289. , a! B' w0 M8 J) W7 e) {7 B5 b" I5 \
  290. ; open_basedir, if set, limits all file operations to the defined directory
    . H% B( V  x3 h' X
  291. ; and below.  This directive makes most sense if used in a per-directory+ w8 X9 B  T# i* c3 w6 A2 K# Q0 n
  292. ; or per-virtualhost web server configuration file.) o& x5 G1 m$ K- J( \; ~- l
  293. ; http://php.net/open-basedir
    / e+ D* K- _3 X& n- u- l
  294. ;open_basedir =, j" k2 Q. J) L& x% M0 V

  295. 5 f- m3 ?  Q$ c9 v
  296. ; This directive allows you to disable certain functions for security reasons.. E9 E; P5 x$ k3 v# u9 [: F  Y
  297. ; It receives a comma-delimited list of function names.
    ; `/ U; m9 W# c
  298. ; http://php.net/disable-functions3 T: H! {( I7 c: v
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    & j' j9 ~6 s9 X! A$ I$ Z7 X: Y
  300. + ^/ ~3 j  c# e9 y: n5 v- x7 Y+ q5 p
  301. ; This directive allows you to disable certain classes for security reasons.2 l  M9 @8 v; z4 D8 h: b5 t$ U
  302. ; It receives a comma-delimited list of class names.
    " [; ?& ^3 c) v3 x3 o
  303. ; http://php.net/disable-classes
    , L7 K5 z: L2 b1 i, n8 O+ c  t( f8 B8 e
  304. disable_classes =, M) g& v2 I  g2 g
  305. 9 J& f% W) ?5 r/ {. l  a; X
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in: h/ A8 M$ ?+ o/ N( \6 E7 S
  307. ; <span style="color: ???????"> would work.
    + ]5 U  @+ @" z4 F# `
  308. ; http://php.net/syntax-highlighting/ T" n" n. R) C4 X9 ^4 ]4 W
  309. ;highlight.string  = #DD0000) k) x! N: l1 Y4 E% a
  310. ;highlight.comment = #FF9900
    6 A3 @7 M2 j7 `. i* d
  311. ;highlight.keyword = #007700# v8 Z% H/ O) Z; U1 a
  312. ;highlight.default = #0000BB3 Q/ k8 e2 g# o/ C
  313. ;highlight.html    = #000000- _/ y  G$ q  s+ _% H: |$ q: Z( m, h

  314. " v' E# j) V  c  ^- e* N
  315. ; If enabled, the request will be allowed to complete even if the user aborts0 b1 p$ v$ e  {" ?% Y: F
  316. ; the request. Consider enabling it if executing long requests, which may end up
    8 g" V9 C6 X5 r
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior% x( J1 o2 g4 z9 b& k: `& u& ?) Y
  318. ; is to disable this feature.
    * e; K& ~5 ?9 D: {
  319. ; http://php.net/ignore-user-abort3 v! b, @* v, ?! s
  320. ;ignore_user_abort = On4 ]8 G) t$ }: w9 ~& K3 \

  321. " |* R$ j7 q. H4 d1 a( G
  322. ; Determines the size of the realpath cache to be used by PHP. This value should9 L1 W8 i' t+ K( p
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    " H- v. ]6 t! Y0 L+ K/ c/ y8 I/ g
  324. ; the file operations performed.
    ; @) X5 Q& a2 p/ W! J
  325. ; http://php.net/realpath-cache-size" R* n. }4 _) m$ @
  326. ;realpath_cache_size = 4096k; x8 O, T. K" z

  327. 8 r9 j1 F' A" n: i
  328. ; Duration of time, in seconds for which to cache realpath information for a given: [" M4 k& O1 B8 ]4 a
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    8 p% I8 x. [+ o% h0 ~6 @
  330. ; value.8 s; M4 w5 ]# I) H! `: [
  331. ; http://php.net/realpath-cache-ttl9 U* F! c( `! \. @$ _- v
  332. ;realpath_cache_ttl = 120
    " s& t3 H4 ^& }" J. s& Y2 g
  333. ! y, K2 G) ?  ?: e- ]8 X" h# e! h
  334. ; Enables or disables the circular reference collector.
    - I" G2 U0 v$ ^( Q
  335. ; http://php.net/zend.enable-gc
    0 o2 h; L% L8 u- K
  336. zend.enable_gc = On
    " J5 t6 E7 B3 Y
  337. + d) Z4 E/ e1 k- v4 B1 _$ A5 i
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ; d3 e1 M# [3 {" D* r2 F3 u
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    6 M& L- I0 @! E$ s
  340. ; encodings.  To use this feature, mbstring extension must be enabled.; i1 Y+ W8 Y1 S( ^% C
  341. ; Default: Off+ C6 T% W. x& B
  342. ;zend.multibyte = Off& V. ]! W7 w/ c% t3 c  Q/ ]

  343. $ k# R( T- ]* E# `% s% t5 m0 Y
  344. ; Allows to set the default encoding for the scripts.  This value will be used' n! @: S. i" s% X* @8 q/ M. E) E  N' Y
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    " m- Y# K- ~  G; z
  346. ; Only affects if zend.multibyte is set.
    # E4 `% O& U8 R$ w" E8 }9 F
  347. ; Default: ""
    % ~5 l/ z8 @) X9 Z( ^5 V4 ]
  348. ;zend.script_encoding =
    6 Z$ B8 Y% i3 T* c' M. j' ]
  349. ) e, r9 n6 T' X, h' E: B) c8 O
  350. ;;;;;;;;;;;;;;;;;
    - Z6 t  o4 w$ I
  351. ; Miscellaneous ;1 a( ?* Z6 R: G% W
  352. ;;;;;;;;;;;;;;;;;
    ( }. G$ h5 O+ @/ @8 c

  353. ( F/ M1 r! w: i$ i
  354. ; Decides whether PHP may expose the fact that it is installed on the server. N  D! O2 @: [# ?- a
  355. ; (e.g. by adding its signature to the Web server header).  It is no security/ \9 W$ s$ e  v0 |2 B
  356. ; threat in any way, but it makes it possible to determine whether you use PHP% X( C4 u% M1 }  g
  357. ; on your server or not.
    5 K- ~$ N* H* }* |4 U$ J. g8 U
  358. ; http://php.net/expose-php
    1 M! @- P& C, Q
  359. expose_php = On
    $ L, J3 j; `0 @. a3 P4 V
  360. $ J; v) j; \) Y0 p: u9 H+ M/ R
  361. ;;;;;;;;;;;;;;;;;;;
    0 q/ k7 p5 d+ ?% n
  362. ; Resource Limits ;
    + b( p/ k6 S1 }. b2 H- |' e
  363. ;;;;;;;;;;;;;;;;;;;
    % T( w  t* ?$ a9 i2 K& W. M

  364. - Z, K0 Z2 Q( f3 h/ C" P
  365. ; Maximum execution time of each script, in seconds
    & q  q* h$ f8 |0 h7 k) F
  366. ; http://php.net/max-execution-time
    ' U( Y' \4 b6 w' f8 X+ M
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI$ ]& a; Z6 U0 u1 J5 H; m+ @0 j
  368. max_execution_time = 3000 P( H( u9 J/ k% X. J5 Q
  369. " v9 a% w8 J" k" f0 x/ n# {
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
      N* d+ L" I7 @+ J
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly3 d& \# n. L5 C* d9 \: J7 A
  372. ; long running scripts.
    " ?8 `4 M) u/ V0 l+ V
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    " W' ~% B# {5 f
  374. ; Default Value: -1 (Unlimited)! r& h$ U7 j3 h: l5 n3 o" y  ?
  375. ; Development Value: 60 (60 seconds): _" Z3 ]& C( V' h( U" R
  376. ; Production Value: 60 (60 seconds)
    ; |" L$ d  J# x& J
  377. ; http://php.net/max-input-time
    6 l+ p' N2 P* ]! H% K# T& G
  378. max_input_time = 60
    8 _* o7 s4 f6 \& b
  379. 9 F6 P+ Q2 e6 s0 \. b& T. P3 `- g
  380. ; Maximum input variable nesting level
    9 w1 G/ r. x- B% ^7 ?6 \- x5 P% H
  381. ; http://php.net/max-input-nesting-level" I/ L+ n! d- i+ e5 Q, K/ N
  382. ;max_input_nesting_level = 64$ K$ U" g: P- M% \! B
  383. 6 _: k9 H9 U2 [7 m
  384. ; How many GET/POST/COOKIE input variables may be accepted9 R( c, i$ k  ]
  385. ; max_input_vars = 1000
    ' a+ `7 `3 z% d

  386. 1 e$ ~2 b6 r; |; U0 P# n
  387. ; Maximum amount of memory a script may consume (128MB)/ Y/ Q- q, Y  p, e# N
  388. ; http://php.net/memory-limit. T0 V- T$ q5 R( M1 r' g# x
  389. memory_limit = 128M0 }/ ], T' Q/ I
  390. , [: P& P5 Y% c8 k3 F
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ' e" g% u8 P: n# Z
  392. ; Error handling and logging ;
    , X, w8 K: V6 o; o1 D
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;! s( r! }# ^; F, ?2 e5 G1 J
  394. 3 O$ d  ~+ y3 S( e5 B; k8 I  n! X
  395. ; This directive informs PHP of which errors, warnings and notices you would like; R2 E& K8 u; ^) ]/ `
  396. ; it to take action for. The recommended way of setting values for this
    4 A0 }+ P8 }+ r9 ~) g5 E2 u3 z. K
  397. ; directive is through the use of the error level constants and bitwise, ]4 n3 \. ^: k! [$ w5 ~* b: W
  398. ; operators. The error level constants are below here for convenience as well as; D) L. l5 ^) X0 q1 Y7 c5 p% M% L
  399. ; some common settings and their meanings.; n8 S5 B' d  \; G2 g8 k7 i% W
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT) h' `6 X' y$ ^, T
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    % B; W" B3 J/ E" X" H8 Q
  402. ; recommended coding standards in PHP. For performance reasons, this is the8 ]9 k/ L0 d; P/ q' A
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    6 y4 y3 {! R8 M' i3 c. I
  404. ; resources complaining about best practices and coding standards. That's what: ?! R: H; r2 _# w: M; i) e
  405. ; development servers and development settings are for.3 f1 e  t: C; W3 S' L! ~
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    6 x0 w0 O8 z4 F
  407. ; means it pretty much reports everything which is exactly what you want during
    & H5 @* H) R- G, A
  408. ; development and early testing.
    0 {4 k' m& g# F; @: r8 P9 S; k
  409. ;: S1 B' d; _) t2 w( Y9 p* m  E
  410. ; Error Level Constants:( w  A! e' v# {9 r7 J4 d
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    # R. `" _$ ~1 C( n: D/ X! \( o
  412. ; E_ERROR           - fatal run-time errors$ D$ ]: g: \" M: h" @
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors" l/ T) h+ \+ S$ ~! L& r
  414. ; E_WARNING         - run-time warnings (non-fatal errors)+ w( J5 G# P' U4 D3 Q
  415. ; E_PARSE           - compile-time parse errors
      }0 b! e! v0 F. N2 U
  416. ; E_NOTICE          - run-time notices (these are warnings which often result% ]  Q2 p, \% B0 d
  417. ;                     from a bug in your code, but it's possible that it was
    7 L: C+ I0 `7 w/ c. Q3 {
  418. ;                     intentional (e.g., using an uninitialized variable and
    ! z" m- D* T: Y; Q
  419. ;                     relying on the fact it is automatically initialized to an
    : I1 Y8 N" Z0 O# s9 C
  420. ;                     empty string)
    + R$ M, h: s2 {$ ^. v5 M4 q
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ; q, R& g  X* z
  422. ;                     to your code which will ensure the best interoperability1 A( L0 C3 b1 b: q
  423. ;                     and forward compatibility of your code" d3 b) u( ~- T1 A4 T
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    * }$ M7 I( e% d* g* P' O  R( m; z
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    1 V* U5 a1 [  w0 }' ?
  426. ;                     initial startup
    9 G4 b) Q5 c4 t: m4 h  x6 g' z
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
      t) _7 b0 j0 y" Q
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ) u- D# S7 g- ?9 a6 s& T$ B9 G
  429. ; E_USER_ERROR      - user-generated error message
    " y) i9 O9 }6 V6 c3 S
  430. ; E_USER_WARNING    - user-generated warning message
    ; U( e6 f( A; {4 a1 m2 u  L
  431. ; E_USER_NOTICE     - user-generated notice message' E1 B) |1 K! n4 s8 \
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    / _! f9 i/ I# F( Z! K
  433. ;                     of PHP
    ( D8 A/ k/ }3 i0 q
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    5 ~* r% k2 A; B; A
  435. ;- @4 Q2 ?9 b; Y; ^' N
  436. ; Common Values:
    2 v# X! c' A( @' ?1 l; ~
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    # A3 C- X+ J4 r/ K
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    3 ~7 L7 h' A8 }) m/ c( e# B
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    4 R4 y$ `9 \( W; I" a
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)7 F: _) E% _& M' E; @0 v
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , K+ @3 [( X% l
  442. ; Development Value: E_ALL. }4 K* ~* m& H2 a* }3 `
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    8 e4 V" F4 C; @! d
  444. ; http://php.net/error-reporting
    8 m; C3 p: t# U  h! F4 D$ R) {
  445. error_reporting = E_ALL & ~E_NOTICE7 r8 n* Z- c4 _# m8 m( K5 _

  446. 3 B0 k$ ~+ O' r+ b* x8 l/ c" ]( l
  447. ; This directive controls whether or not and where PHP will output errors,9 A( E# _* p0 v1 g( B: E
  448. ; notices and warnings too. Error output is very useful during development, but
    ) y3 m6 M6 l+ t0 T$ H" H9 K" c# u
  449. ; it could be very dangerous in production environments. Depending on the code2 Q% \$ p3 d/ x
  450. ; which is triggering the error, sensitive information could potentially leak
    . q" o6 g! R) _' q2 w% B( q# z
  451. ; out of your application such as database usernames and passwords or worse.! ~% n7 \. B. t
  452. ; For production environments, we recommend logging errors rather than
    ) C8 Z0 G  k! ~# ^. P( Z: W
  453. ; sending them to STDOUT.
    / `: g2 B1 E( A' `8 e) R
  454. ; Possible Values:
    - h3 a5 ~; B( B3 H. @( q6 n
  455. ;   Off = Do not display any errors9 }( g2 \, I1 n2 h8 \& d2 L; }
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    6 l+ }" v( {3 x; c7 ~8 ?  ?0 E7 ]
  457. ;   On or stdout = Display errors to STDOUT" e3 G" T/ r/ B$ [! e& W
  458. ; Default Value: On
    : i( b/ \1 y2 t* @( V# A+ l
  459. ; Development Value: On
    * k- |$ Q/ E6 D3 v1 H9 z  T$ }# c
  460. ; Production Value: Off
    : e6 a, S' d3 X6 L. O* a+ s
  461. ; http://php.net/display-errors
    # I9 N- @5 }6 ^
  462. display_errors = On! X4 E; P% P% p
  463. : Y4 J& |" D7 z. S2 r
  464. ; The display of errors which occur during PHP's startup sequence are handled. n8 u9 Q$ L5 _
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    9 o# B6 @8 {! K2 i
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    $ `8 ~( J( \! ^
  467. ; debugging configuration problems. We strongly recommend you
    " d" T/ r  s1 I  S
  468. ; set this to 'off' for production servers.
    5 h/ C* z, N# R. L) T3 l' Y6 s
  469. ; Default Value: Off* g1 b) k( ?4 L/ |
  470. ; Development Value: On
    : k5 \" a& a& i) g9 [
  471. ; Production Value: Off
    + b/ |) T! R5 p% c% M+ P, `1 V
  472. ; http://php.net/display-startup-errors' W# X! I, R" y8 N& Y
  473. display_startup_errors = Off
    $ M; `+ f; t3 v& w/ y- B- h& d- p5 S
  474. 0 j$ m( X( \0 R3 K' `2 i& @
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ! \: T  q. o: c
  476. ; server-specific log, STDERR, or a location specified by the error_log9 h# y& t; T0 P
  477. ; directive found below. While errors should not be displayed on productions- U3 t7 a7 k" d2 F8 ?! a( q1 [
  478. ; servers they should still be monitored and logging is a great way to do that.
    6 c8 b! }: S% J1 x- G
  479. ; Default Value: Off" q3 `" s* z1 R0 v6 V
  480. ; Development Value: On
      D) @6 z3 u2 w/ n: W* w/ g& I
  481. ; Production Value: On
    & [+ T8 ], K' V, F
  482. ; http://php.net/log-errors
    ; q+ @, c4 \8 _# {0 N* ]
  483. log_errors = On" _% [2 {9 \% \6 c
  484. ( s8 J$ @5 g& w# W  j( ~
  485. ; Set maximum length of log_errors. In error_log information about the source is7 Y" u$ e) C& Y9 w# O; Q
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    & H7 x! A. n& g# t: |0 V
  487. ; http://php.net/log-errors-max-len3 D8 V, D, H$ o4 u* v  r; U8 p
  488. log_errors_max_len = 10247 h0 w  b- A* x: g: J5 R

  489. 7 W  J0 H: ~1 `; X. o) P
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same+ T; i) o+ S' x- {$ ?2 g  t% r5 S
  491. ; line unless ignore_repeated_source is set true.- ~! }  R" \2 s4 a" |
  492. ; http://php.net/ignore-repeated-errors# {1 j/ X; ?" q. W
  493. ignore_repeated_errors = Off
    9 }( N& w2 R9 V5 w7 \
  494. 0 {0 L9 |* c% f1 A* V# u' ?
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    1 V! V4 L8 C; v1 S
  496. ; is On you will not log errors with repeated messages from different files or
    ( B  M/ n6 d5 w1 T& ^" `
  497. ; source lines.. L. t9 m" R1 q/ W$ {. K& s
  498. ; http://php.net/ignore-repeated-source
    , D- K5 L% t1 \) p* b# z- t
  499. ignore_repeated_source = Off1 t+ t& J+ E5 T# i5 t' K" i$ m0 q

  500. , P2 Z, e) h& U, S
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    % X' l) j. W* Q" X( V
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    # j, I1 [: s4 c' E( g- _
  503. ; error reporting includes E_WARNING in the allowed list/ ]/ K/ ]2 u& `, P* W2 h6 F
  504. ; http://php.net/report-memleaks4 V& H: x! m" [( v& @. d
  505. report_memleaks = On/ _3 E2 S! A" U7 t( e
  506. 9 G" L$ u* W7 z, n+ O0 R+ ?
  507. ; This setting is on by default." \3 x4 V" w- p, @, T- m0 r
  508. ;report_zend_debug = 0
    1 i0 G) z! t* T2 @! h, _
  509. / l& o; g$ T; F' ?
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value' b( p$ Q2 B, Y: [
  511. ; to On can assist in debugging and is appropriate for development servers. It should* ~5 _/ j* v3 p2 P% ?' j
  512. ; however be disabled on production servers.4 G) G$ |$ \! D* Q
  513. ; Default Value: Off
    4 _  H+ z% b% `7 S
  514. ; Development Value: On6 }# {4 z* f6 i2 N4 d
  515. ; Production Value: Off$ J1 g( f% ~, B) l5 V- L
  516. ; http://php.net/track-errors
    ! y0 U# p: Y- d- [4 X9 I
  517. track_errors = Off0 T. C/ o/ c" `2 X$ m1 h
  518.   g9 N! B" k( j2 A+ Z
  519. ; Turn off normal error reporting and emit XML-RPC error XML- G* g" i# K& B+ u3 ]- o
  520. ; http://php.net/xmlrpc-errors; o8 t8 z- o2 p  ~1 e# Z8 L' M) n
  521. ;xmlrpc_errors = 0, @4 p  j, c4 b9 D. Y( V: q0 K7 \
  522. * u& ]0 v; y* n
  523. ; An XML-RPC faultCode
    # A# J4 O$ R2 }. `
  524. ;xmlrpc_error_number = 0; a% ~) m  C$ E; q9 R
  525. : T8 U' G! x4 j* @8 A2 w8 `7 ]  p
  526. ; When PHP displays or logs an error, it has the capability of formatting the4 e- I7 d- m4 B
  527. ; error message as HTML for easier reading. This directive controls whether0 ~; A/ n" D& q& G, }6 H3 p
  528. ; the error message is formatted as HTML or not.2 n4 g/ K, k6 R, p  F1 F
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI* M2 |- c  F/ s- T) K/ j, F0 x& d
  530. ; Default Value: On5 H4 _4 n% U2 V1 `
  531. ; Development Value: On
    9 I/ X7 Q% e6 Y% S4 \* ~9 P% l; ~
  532. ; Production value: On3 V( e) N! J% p* C- t
  533. ; http://php.net/html-errors
    * q* N( _- ]1 h" {/ P4 e$ h% c9 ?
  534. html_errors = On' r  ^* _; e' z$ w- R( D8 W
  535. # @  Y. v0 q5 y
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP4 S# k3 ?! k" Y2 E9 _5 f
  537. ; produces clickable error messages that direct to a page describing the error
    & K. C5 O, Q, O+ a1 w
  538. ; or function causing the error in detail.
    ; S& n0 t0 G" U& p& q+ M3 J
  539. ; You can download a copy of the PHP manual from http://php.net/docs' ?$ s$ v1 {4 M. ]
  540. ; and change docref_root to the base URL of your local copy including the
    . C* N' D& z+ [0 i& P  v6 }
  541. ; leading '/'. You must also specify the file extension being used including
    9 S# }) F" g9 N% i
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which( _4 e9 s# s- K3 N, l# {
  543. ; case no links to documentation are generated.
    9 m( O. B8 J( B# n
  544. ; Note: Never use this feature for production boxes.
    . P2 j: n4 m' p9 g4 W. A
  545. ; http://php.net/docref-root
    3 {7 ^* d5 u) U" \& K
  546. ; Examples
    6 G! a: W1 l# v( g
  547. ;docref_root = "/phpmanual/"
    3 v0 W$ J0 b' A) x: ?

  548. 6 X& b, d! d/ `, v  Z5 ]
  549. ; http://php.net/docref-ext0 {+ A2 I5 W& u! O; U, g6 T. k
  550. ;docref_ext = .html
    0 x% j3 ~/ A) h. K' r
  551. 1 W; ]% f: \* b( L
  552. ; String to output before an error message. PHP's default behavior is to leave2 x) F1 I7 ^6 E7 M' b
  553. ; this setting blank.
    . N3 X- s+ \( ?0 ?4 b
  554. ; http://php.net/error-prepend-string
    + P: A1 [* \0 o) o& X
  555. ; Example:
    ; p4 o* w6 a, D
  556. ;error_prepend_string = "<span style='color: #ff0000'>"9 X5 Q: I" L9 ?$ H# c1 n
  557. . y3 v) u1 N; Y. \
  558. ; String to output after an error message. PHP's default behavior is to leave$ H' w0 y1 L8 P# P4 |3 X
  559. ; this setting blank.
    $ ]3 H( Z0 b5 E
  560. ; http://php.net/error-append-string, k) K0 s  u" S
  561. ; Example:
    4 s( \7 ~) ~5 o( E
  562. ;error_append_string = "</span>"' j; T( ~4 ]: s+ q; f9 r' b4 ?

  563. + s2 V2 w# z0 A1 a7 G3 x2 t" S
  564. ; Log errors to specified file. PHP's default behavior is to leave this value; k* P9 d1 `# j9 I0 m5 |/ q2 q# I
  565. ; empty.
    ) [  S( P, K* D" u4 b& g7 S$ D$ L
  566. ; http://php.net/error-log* n& }7 v; Y4 }2 k% W4 h/ t3 ]
  567. ; Example:
    8 w( a: \1 G' n
  568. ;error_log = php_errors.log
    ) U, S3 i9 b  u+ l# S' }8 a* R8 D0 W
  569. ; Log errors to syslog (Event Log on Windows).$ k, l0 P7 q) @6 u
  570. ;error_log = syslog
    8 o' N" m/ X# ~

  571. 4 v6 U( w; u1 j( o
  572. ;windows.show_crt_warning- K6 A" b: K7 \- d# ?( X% t1 M
  573. ; Default value: 0
    ( k" _# |: }% w5 I+ U: N, d, Q8 P
  574. ; Development value: 0& n: K3 r1 [* A
  575. ; Production value: 0, u' |5 Q# Q7 a) `
  576. * y6 z+ c8 ^# i4 a0 V
  577. ;;;;;;;;;;;;;;;;;! j9 v$ X) {( e& c; H
  578. ; Data Handling ;
    / K, Z" _4 g* P" R
  579. ;;;;;;;;;;;;;;;;;
    % u# M4 U2 ?# s) o* E

  580. ' C) P" c% u( s& G8 ^% Y5 ?
  581. ; The separator used in PHP generated URLs to separate arguments.9 P! f% _" q- Z& S2 f
  582. ; PHP's default setting is "&".# T$ u2 ?1 w2 @  p( q9 F: C
  583. ; http://php.net/arg-separator.output0 M1 r' o/ ^- K
  584. ; Example:
    3 q* e% d" j* l+ w) Y
  585. ;arg_separator.output = "&"5 o7 Q2 o+ \- C. O
  586. " k" \8 n( y6 ]
  587. ; List of separator(s) used by PHP to parse input URLs into variables.) E# ?. W" N$ h; o1 w
  588. ; PHP's default setting is "&".
    $ V8 q& \8 O. m- \3 u& g
  589. ; NOTE: Every character in this directive is considered as separator!
    3 O( O* ^4 ~5 Z, r
  590. ; http://php.net/arg-separator.input
    6 G0 T( e" L* ^3 D$ Y
  591. ; Example:3 U* I8 F. r1 c1 T' O3 }8 Q8 u
  592. ;arg_separator.input = ";&"
    3 J4 r( s' c+ M7 ]

  593. 6 T, I: c% Y- o& ]1 h$ H  e% z
  594. ; This directive determines which super global arrays are registered when PHP  c' ^' {/ g' z7 _$ _, P! u
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super/ v& y& `0 j. z
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    0 ~+ d8 V8 k2 n
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ; P+ d' }0 X+ x& D4 U
  598. ; used as the others, ENV is not recommended on productions servers. You
    : r. }! W4 T& ]) V
  599. ; can still get access to the environment variables through getenv() should you9 I# |; k) T3 Y6 L
  600. ; need to.
    : _9 C0 e- c0 k
  601. ; Default Value: "EGPCS"
    : }% k& Q# q( a2 V
  602. ; Development Value: "GPCS"
    1 p2 t9 K$ ?' h6 \
  603. ; Production Value: "GPCS";
    1 @$ X- P! M5 e8 v; U) r
  604. ; http://php.net/variables-order
    ! a1 c* k" A% X1 O
  605. variables_order = "GPCS"
    7 q# K# p9 p* g5 A3 f
  606. : A6 C; U; t  M) z8 i9 d
  607. ; This directive determines which super global data (G,P & C) should be1 m" n2 A3 }+ N, v
  608. ; registered into the super global array REQUEST. If so, it also determines
    / H, R6 n! R1 T& A! u* N
  609. ; the order in which that data is registered. The values for this directive9 I  l* M2 I' D0 L
  610. ; are specified in the same manner as the variables_order directive,; ~4 Z" {+ C4 Z3 `0 l2 w
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    : ?8 i1 e7 B1 ?
  612. ; in the variables_order directive. It does not mean it will leave the super% q! R! n2 K& u
  613. ; globals array REQUEST empty.5 S- w. H' \( ]- J) p( J
  614. ; Default Value: None; n; m2 Z% I2 {6 o3 Z1 c
  615. ; Development Value: "GP"' _7 n9 M( v, I7 {0 O9 Y
  616. ; Production Value: "GP". _7 V. a$ _" X6 G3 y; c
  617. ; http://php.net/request-order# f2 j& _' s4 ^, u) O
  618. request_order = "GP"
    % ]" `3 w* ]* b% \) W

  619. 0 Y8 L, A$ |7 y: e: e8 h" j
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    0 z6 d. q( a7 r0 N2 v
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    * T/ F& _$ `& v- j% O/ \% z2 D; r
  622. ; is invoked. $argc contains an integer representing the number of arguments- C# M# F; V+ c( p/ Q9 U1 P
  623. ; that were passed when the script was invoked. These arrays are extremely
    ! {9 s: g) S9 h0 A/ A$ |2 e
  624. ; useful when running scripts from the command line. When this directive is4 e# n  m  y# H# j  [. E0 O4 }7 w
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    6 D' l5 r6 C. r, U. X
  626. ; a script is executed. For performance reasons, this feature should be disabled" p+ A3 r3 F7 p+ U+ N: j
  627. ; on production servers.
    + Q6 a) F( U6 ]  B" R
  628. ; Note: This directive is hardcoded to On for the CLI SAPI/ X2 s8 |! e. w& v' B
  629. ; Default Value: On
    ( V* Z' E6 g2 J! \/ z- \8 B& {
  630. ; Development Value: Off  g3 x0 @! |+ q0 w3 s
  631. ; Production Value: Off
    2 h5 H& U- C+ R( w3 Y9 r
  632. ; http://php.net/register-argc-argv
    ! \6 i# q4 s  f4 T
  633. register_argc_argv = Off
    8 F' X4 K+ ?+ ?# ^
  634. ; N6 ]$ P$ M: P% D2 E; E6 Y$ s
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're% B# t3 x% u6 ^, z- ?
  636. ; first used (Just In Time) instead of when the script starts. If these% v, J- T8 X. L6 v8 C& C
  637. ; variables are not used within a script, having this directive on will result
    2 x9 X8 Z- y# r+ a' T1 l2 ?7 A
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    1 U7 ^. S, t2 u; h. h( S: c
  639. ; for this directive to have any affect.
    . \# K+ s; v" h' a& c2 h
  640. ; http://php.net/auto-globals-jit  ~+ ]* j4 Q  Y7 }- C: |' u
  641. auto_globals_jit = On& v4 o' _& {9 M8 _" P7 x" h* D6 z
  642. 3 H4 k$ e  e) ?: x
  643. ; Whether PHP will read the POST data.6 @4 J& ~; a. b8 J" D0 M
  644. ; This option is enabled by default." `+ F+ O+ l; r+ y6 ~
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
      L. q0 E. r) K1 j" K
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    0 k0 Y: z1 V& U- U" k! s. x
  647. ; POST data will be through the php://input stream wrapper. This can be useful9 |0 @4 F& S/ [1 n$ {7 n- k
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.1 T: h3 [! k* C! r% |1 B
  649. ; http://php.net/enable-post-data-reading
    6 Z; V9 y8 c" y7 h: [
  650. ;enable_post_data_reading = Off7 n6 b/ S5 `6 S7 r0 Q" e0 @# o
  651. ! @# Q! i3 |6 {8 v' ^" B; {; a
  652. ; Maximum size of POST data that PHP will accept.6 U- p& c) T9 E  I  p8 |  y
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    9 V/ n- b! f6 t0 _' {
  654. ; is disabled through enable_post_data_reading.
    & R5 l: c+ q+ t9 t# p
  655. ; http://php.net/post-max-size8 ^; M6 ~# ~& P: B4 {0 C) J1 x
  656. post_max_size = 50M' Q: ?" ]* W) B: A* Y
  657. # K9 h7 r! c; k( o9 \, N- \
  658. ; Automatically add files before PHP document.
    8 H+ x: x* c5 Q7 c5 w
  659. ; http://php.net/auto-prepend-file
    ( l5 ^2 W$ b- }: U
  660. auto_prepend_file =
    % i2 ~' R6 c+ G, x( I4 S4 C0 w5 P

  661. : D7 o5 U/ F$ B: b
  662. ; Automatically add files after PHP document.
    $ C; b# S4 n  I
  663. ; http://php.net/auto-append-file
    5 a0 g1 h& J" s+ [
  664. auto_append_file =
    : m& v2 [" Z+ D; |! j- E
  665. : Y3 _/ m$ Z: m% j7 v7 E5 X+ U$ P
  666. ; By default, PHP will output a media type using the Content-Type header. To! ]) d( T8 i8 S# A
  667. ; disable this, simply set it to be empty.4 f  m5 T' u. n2 i, `. Q, |
  668. ;3 u7 I! W& a! T! W
  669. ; PHP's built-in default media type is set to text/html.% }2 j- |+ S6 S1 S' ^  z1 e
  670. ; http://php.net/default-mimetype, f# Q8 S( R/ W, }6 {
  671. default_mimetype = "text/html"
    , ^# _* r. `, k# s; }1 A

  672. . m0 `3 h4 [! V( ]
  673. ; PHP's default character set is set to UTF-8.
    # s/ S2 v8 ~$ t+ I, r0 v/ F0 n& B
  674. ; http://php.net/default-charset- E0 z. v. W' T% L3 R& _1 Q+ W1 A
  675. default_charset = "UTF-8"! ]) P* x" x( u) U( a0 @2 X
  676. 4 l- k/ ~6 z. W! b
  677. ; PHP internal character encoding is set to empty.
    . E, O: d; C' H+ w  {/ D. h
  678. ; If empty, default_charset is used.
    ) F  ?  g1 v8 h1 J
  679. ; http://php.net/internal-encoding
    % W7 A* x$ p1 ]6 t/ S
  680. ;internal_encoding =" X" R, w, X# |# q6 }: D& j) g" Z
  681. ) q$ q. u, v: W, x% Z
  682. ; PHP input character encoding is set to empty.
    ' s& X" y% V! i
  683. ; If empty, default_charset is used.
    6 H  I, k% C5 C: k3 b
  684. ; http://php.net/input-encoding
    / t  R$ P* N: A- ]9 B6 \0 M# ^
  685. ;input_encoding =3 e  C1 n5 [- Q4 \  e) Q& H6 p
  686. 6 R- s! s9 R  M! o6 N3 n2 k
  687. ; PHP output character encoding is set to empty./ U& I( n2 ?, D" C) e) H# }9 P  T
  688. ; If empty, default_charset is used.
    * H6 _& E9 |1 Y: v5 a7 T  Z
  689. ; See also output_buffer.
    # v7 O% h- A" X
  690. ; http://php.net/output-encoding
    0 f6 W6 Q; ^: H
  691. ;output_encoding =
    ; M4 a  S5 B) D# {

  692. ! m$ ~1 \- b( E5 L  l) S6 H( {
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;$ G! U, B* G0 |/ _( {
  694. ; Paths and Directories ;' y; i) z$ `. Y' E, {$ I/ H6 F
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    7 r7 I3 }; _+ f' K

  696. . h: D- T, Z2 J# a, C- r& O3 [
  697. ; UNIX: "/path1:/path2"
    8 r6 g0 L: @$ `! z* I
  698. ;include_path = ".:/php/includes"
    2 p6 r; ~9 ]& v
  699. ;4 Q! v; w# Q1 A  S* V8 f
  700. ; Windows: "\path1;\path2"
    / A0 S" p5 f2 V4 I& M$ F6 L; y
  701. ;include_path = ".;c:\php\includes"9 v2 O6 U; ]; h) l$ P4 R5 E( n
  702. ;4 s) P8 k1 D  w( g
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    1 V: M1 X9 A' s
  704. ; http://php.net/include-path
    . H' U/ C' y2 v4 G% ]& ]& q- _! ~

  705. 6 [3 ]9 W: k' J: W
  706. ; The root of the PHP pages, used only if nonempty./ S$ D: X& a4 a1 P; @. w
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root  x" L0 L6 h, t# q0 J$ g" u8 {
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ( p7 K. t# S& x, Y6 j# d
  709. ; see documentation for security issues.  The alternate is to use the
    8 g* J+ o) Z) L( P$ Q
  710. ; cgi.force_redirect configuration below
    2 y; Y# a3 w; Y9 u
  711. ; http://php.net/doc-root
    % t' A: `! j& F! y! D
  712. doc_root =
    . |4 I" r) ~+ p8 L
  713. / X4 ?, z# \) R+ q8 @
  714. ; The directory under which PHP opens the script using /~username used only
    + K  Q& G$ ]6 [, S
  715. ; if nonempty.
    & ~2 w4 A$ J1 q* o* ]0 \, R' Q
  716. ; http://php.net/user-dir5 H. s6 O; [* u$ o. Q
  717. user_dir =6 D% G4 R3 u6 W  l! q, d
  718. + Z! \8 n* u# M7 e8 B, P; q
  719. ; Directory in which the loadable extensions (modules) reside.
    / R- ?3 Q6 p0 ?4 h9 B$ r
  720. ; http://php.net/extension-dir
    + r/ H: E# i! ?. Q* `
  721. ; extension_dir = "./"* g7 g; Q9 Q  u* C
  722. ; On windows:) U$ P4 d) }3 R( L
  723. ; extension_dir = "ext"
    ; x2 E5 i3 s( s5 S( S

  724. 4 ?. n; ~$ P; N# C9 k. [0 C
  725. ; Directory where the temporary files should be placed.. y% m5 X1 q- P9 ]5 r
  726. ; Defaults to the system default (see sys_get_temp_dir)+ r4 _" e1 X# [' e# p& Q
  727. ; sys_temp_dir = "/tmp"; r0 e6 h- Y9 H8 [. m

  728. 8 n6 p* D! D1 v; ?4 U3 J) b
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work3 Q2 Q3 J2 R6 B5 ^
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ! U( Z0 U( u6 X" C2 w, U. N' H
  731. ; disabled on them.
    - Z5 a* x% L; ?* Z
  732. ; http://php.net/enable-dl
    : J! B9 z1 e4 Q, J6 B' S$ W
  733. enable_dl = Off/ v8 U/ L& m8 p: X$ |, C$ K% r
  734. 8 v' B. R) \2 R% f7 W3 X
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ! I* C( E5 q# T) B# e. \
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    5 `$ ?4 n: [8 r' L1 C
  737. ; turn it off here AT YOUR OWN RISK5 |( s8 I  A  Z8 D
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**! Q7 J4 j0 @. f7 k0 W# B8 Y
  739. ; http://php.net/cgi.force-redirect- f6 Y7 J5 s+ w7 {( j+ t! o* i
  740. ;cgi.force_redirect = 1
    7 f5 l$ k' n( i, T0 ^
  741. ( H6 T* {  o; B6 O' K
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with; c7 E4 r* ?2 t6 U& a7 t' k  \
  743. ; every request. PHP's default behavior is to disable this feature.
    + V. n( d# ^  a5 G: ]. ?
  744. ;cgi.nph = 1
    . ~/ A3 S' _! K. C
  745. # s( e8 J- J8 U( r- ~  i' Y1 s; c' T4 }
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape6 G8 X9 c% ^* r! W4 P
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; D7 l- }2 n' r" C
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    % J6 k; X6 ^0 C" |
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.- U6 F4 {* ?, o' a' j. P+ x: e
  750. ; http://php.net/cgi.redirect-status-env
    # `2 C- F. r* `2 m" @9 F/ ~$ @2 K# Y
  751. ;cgi.redirect_status_env =: u- J% a$ A  b7 H

  752. * W: o8 Y# l0 o' @! V' a6 _( ~5 a
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    . {: c7 Y3 d8 [' a5 C
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ( j+ v4 E9 h8 }  t4 x
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ( R5 K/ B5 X( k) I+ ]* V. _0 y  W' r
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting- \( T1 n. I0 l+ A1 N
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ( F9 e! X8 `1 G
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.% j# D. L9 s( u! i
  759. ; http://php.net/cgi.fix-pathinfo
    * ]9 g; i4 N4 y3 B$ J1 h; H
  760. cgi.fix_pathinfo=1  T# [6 h4 W4 g5 ~. d& {% D
  761. 6 |7 @, ~2 ~  \. A" E
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside6 `+ B5 w; O1 X$ k% l7 U6 j1 W
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    . k: b; W; ^& R: L/ U; H1 O  V
  764. ; http://php.net/cgi.dicard-path8 W8 R& W# n$ L" S. Q+ z
  765. ;cgi.discard_path=1
    ! M" j- `: \2 D) @

  766.   u" `6 {1 u! f5 V% @
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ! U- p5 h; x3 C8 d# W$ I
  768. ; security tokens of the calling client.  This allows IIS to define the0 D8 F! M: m9 i+ S/ i5 O7 C
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    : ^% u$ [0 q! o/ p! j( x
  770. ; does not currently support this feature (03/17/2002)
    1 A6 t2 n3 B3 @( z" X# h: Q
  771. ; Set to 1 if running under IIS.  Default is zero.
    ( _; \8 u4 `! |. h/ c
  772. ; http://php.net/fastcgi.impersonate
    # }) a9 x" d1 i) l
  773. ;fastcgi.impersonate = 1. q% h% d+ U! _4 a! I( i( G; W! [" |; |

  774. " x4 p! T4 h* j* v9 R- G% D
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ) l* B3 b  B2 l! ]
  776. ; this feature.
    : q4 i) h/ Q/ I) R6 z/ L$ N& E
  777. ;fastcgi.logging = 0
    6 K( X4 a  n% ^3 `; {. U" e
  778. : S' P# G8 O$ X, W" `0 ]
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    : o. z1 `' a" M; o0 W0 R' y: \6 }
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    " a% O5 A+ c1 S' p2 ]8 k0 E
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    + m: z. [) H- P+ ~4 P+ U
  782. ; RFC2616 compliant header.; S- r3 k7 L3 M3 y) S% s  z
  783. ; Default is zero., _/ ^1 P8 C8 l' V
  784. ; http://php.net/cgi.rfc2616-headers# g6 X% @( B0 h. S5 d9 x
  785. ;cgi.rfc2616_headers = 0% c5 C3 V2 z$ x$ T* P+ G
  786. 0 r; |( M7 ?+ E- j. V, j$ G
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    * s0 z5 J3 I. y
  788. ; (shebang) at the top of the running script. This line might be needed if the$ O3 f8 v* v) P
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    6 e! u- x9 E3 ?
  790. ; mode skips this line and ignores its content if this directive is turned on.
      r6 ~8 D$ R/ p# B8 Y
  791. ; http://php.net/cgi.check-shebang-line
    3 O/ ^& O  |" }; e' E
  792. ;cgi.check_shebang_line=1
      M# e! f9 a6 j! E! G$ ~
  793. ; D4 E9 a8 E% U7 ~" J; ~5 q9 ?
  794. ;;;;;;;;;;;;;;;;
    ( `$ z* v9 a6 n* s& v
  795. ; File Uploads ;( f; _, h( @) `2 c; ~  @
  796. ;;;;;;;;;;;;;;;;
    % ]4 N" R' `; Y# v0 u2 Z# E
  797. - S3 a, Z8 \" o& ~2 P7 w" ~" d
  798. ; Whether to allow HTTP file uploads.. K, H. Q- c# h# H; S
  799. ; http://php.net/file-uploads
    " V# S( ]/ u4 o* g( n4 @9 a8 S
  800. file_uploads = On2 ?. h- z. ~2 ?4 `' `$ l; I/ `

  801.   t# \! D! C( F! C2 ], R
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    - }2 {$ U# p  F$ ?1 s
  803. ; specified).
    / L8 w5 d( k4 X/ x  x. ]3 \4 J
  804. ; http://php.net/upload-tmp-dir
    2 r& R0 |4 y  H" v
  805. ;upload_tmp_dir =, J5 k- M5 U2 ]9 h& j

  806. ( ?; V9 A' T" F: g5 y- H
  807. ; Maximum allowed size for uploaded files.2 {  h% f6 b4 {2 N" y7 \
  808. ; http://php.net/upload-max-filesize9 U$ d2 c% ?2 Q! s; i2 u: F
  809. upload_max_filesize = 50M
    - y: L2 z9 p$ n5 s9 h/ y

  810. & g- L: t/ s3 d6 W( q. v; f
  811. ; Maximum number of files that can be uploaded via a single request
    6 ^; b. \. r+ }1 O# _9 Q4 a
  812. max_file_uploads = 20* P8 ?4 }: M" v; k  Z% p/ }6 N9 M4 |( D
  813. 8 h5 T- \3 J) Z8 Y+ A
  814. ;;;;;;;;;;;;;;;;;;* O/ o( y: S0 s+ n% X
  815. ; Fopen wrappers ;
    ! f  E7 q4 Q* {7 k, y/ H0 F
  816. ;;;;;;;;;;;;;;;;;;
    2 |3 i/ r  q2 w+ x( H

  817. # Z) P, [- u5 |& f8 [% \
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    / ]; b8 J" o0 ~
  819. ; http://php.net/allow-url-fopen
    . V2 A. N/ Y- L" _; ?# M
  820. allow_url_fopen = On* S& j3 |) Y2 x! w9 ~
  821. ; k) @; _. x* Z; M2 q; X# [
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ) i+ }  r# j) m0 Z$ K! j' [
  823. ; http://php.net/allow-url-include1 k- G9 d! ]( @$ P& A
  824. allow_url_include = Off
    % y9 ^; }7 f* K+ j" N! |- S

  825. ; O% n. x- s/ J1 ?, [  T9 G
  826. ; Define the anonymous ftp password (your email address). PHP's default setting+ @% b  t* t. `+ B3 r
  827. ; for this is empty.
    7 k* |) o6 u+ k' _' I
  828. ; http://php.net/from
      d. J% z4 a$ p% V! e  E
  829. ;from="john@doe.com") h8 ?. J% z( H- g+ }. |
  830. 5 ?; e1 D2 O7 i' v9 ~
  831. ; Define the User-Agent string. PHP's default setting for this is empty.! N; v7 w; m# }( q
  832. ; http://php.net/user-agent
    + Z% `$ i' K$ g" T# [; l5 X
  833. ;user_agent="PHP"( e5 q/ U, m/ T7 T5 u& h3 b7 ?

  834. ; p6 v# O7 V6 p% ~% u$ Z
  835. ; Default timeout for socket based streams (seconds)
    9 ~. f0 _/ z* c8 r) h0 ], N( j
  836. ; http://php.net/default-socket-timeout: V+ Y( g7 c6 N) S/ O3 J$ @' W
  837. default_socket_timeout = 60" T4 g: v2 L1 G

  838. 3 d3 m" `, u2 \2 f# G0 u/ a
  839. ; If your scripts have to deal with files from Macintosh systems,- m* s9 b% q- J9 H
  840. ; or you are running on a Mac and need to deal with files from
    3 H! D0 V! ~: \8 \. x
  841. ; unix or win32 systems, setting this flag will cause PHP to
    1 d3 d6 J( h6 `& |3 r- a+ S8 Z
  842. ; automatically detect the EOL character in those files so that! G4 `3 F5 d2 h1 c$ l
  843. ; fgets() and file() will work regardless of the source of the file.# \4 V9 Y6 c1 b: a& O9 ]
  844. ; http://php.net/auto-detect-line-endings
    " K1 k1 H8 J+ R& C/ r0 K, I
  845. ;auto_detect_line_endings = Off/ y' |% D0 M9 n. ^& K

  846. 6 c! C. m& j# }3 O/ Q
  847. ;;;;;;;;;;;;;;;;;;;;;;
    ; y9 ^6 B9 {+ w+ b
  848. ; Dynamic Extensions ;
    9 y7 d7 y& j* O; N: `
  849. ;;;;;;;;;;;;;;;;;;;;;;
    : o: Q) ^. y" z5 _- e: O
  850. ! e8 B3 a* o8 x. B  C
  851. ; If you wish to have an extension loaded automatically, use the following, Q$ \! Y) u) u' i' x/ |  j
  852. ; syntax:
    / V8 ~4 S) P! v3 |$ y: {6 U
  853. ;
    " Z$ |2 q( d# u8 [& L2 R# A7 I: x9 ]1 P
  854. ;   extension=modulename.extension; i% _" G) M( B0 P/ \' [
  855. ;; N; T9 F( ?/ h2 S
  856. ; For example, on Windows:
    9 R5 J1 \! Q- E# o, h" L; Y* j
  857. ;
    $ F6 B& O) ~# W4 `2 n" C' r1 a/ H
  858. ;   extension=msql.dll
    # U8 O- O( i. H  Q7 H& ]- y% n
  859. ;) `( O7 O7 E; ]& q, p+ L2 G5 n
  860. ; ... or under UNIX:
    + L6 s- R. D" i: g
  861. ;5 K9 i4 c5 w# J/ A0 W; V6 C
  862. ;   extension=msql.so
    * p; @8 d3 z7 D
  863. ;
    & Z( U( X* ?  n% \( j5 h6 j+ `3 `
  864. ; ... or with a path:2 x5 h; x0 \0 {1 d- Q( B  }
  865. ;8 j1 e2 F0 z0 [, G0 z9 O
  866. ;   extension=/path/to/extension/msql.so" i& P% \: Q0 d/ U* l4 h
  867. ;
    ) D/ p2 A- i$ F" \: H: `
  868. ; If you only provide the name of the extension, PHP will look for it in its
    $ a2 |9 @, w3 _5 V
  869. ; default extension directory.
    ! e( h& A; ?4 X# P5 u7 K( o
  870. ;
    : X( V% q1 X' V: E) z, p
  871. ; Windows Extensions& G/ J6 ^. ^% ?0 a. m3 y8 u3 b' @
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    5 i- g% U/ S* h5 n/ s
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    ; Y# u1 @# b1 Y; a0 ]6 v; m; h9 f
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    & C5 S0 h7 k: g  U) b# E* U3 r* _
  875. ; Be sure to appropriately set the extension_dir directive.% @4 X. [+ z. {: R6 G/ R' \2 Z
  876. ;0 M. [" H2 C$ ~5 I3 I' K* N
  877. ;extension=php_bz2.dll( t, C" |& ^, N, k
  878. ;extension=php_curl.dll
    3 d0 F" g, ]' a) y6 z! A
  879. ;extension=php_fileinfo.dll4 W* n- c4 j. O
  880. ;extension=php_ftp.dll3 [" Z- u: Z3 K9 v
  881. ;extension=php_gd2.dll, c& U/ F- _/ |: u
  882. ;extension=php_gettext.dll
    / w0 t+ F) u+ j" V- f
  883. ;extension=php_gmp.dll
    6 j5 Z  X. ]" [6 g. {
  884. ;extension=php_intl.dll
    5 f! l) h" P: [8 r5 G8 H
  885. ;extension=php_imap.dll$ b+ Q* B& f  ]5 M
  886. ;extension=php_interbase.dll% Z& ?' U) p. _# D
  887. ;extension=php_ldap.dll
      e% }" v5 p5 L* ]9 G# U
  888. ;extension=php_mbstring.dll
    - a: g2 _3 g. }6 g
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    & D) o+ Z; {# k# i3 c
  890. ;extension=php_mysqli.dll
    + P  H+ I* K- g: @% U. g/ A- {
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    6 p1 E8 V' L# Y5 Y* f/ d
  892. ;extension=php_openssl.dll
    & O3 v  @% Y$ m% f3 q
  893. ;extension=php_pdo_firebird.dll
    ! g; b3 W, l4 c6 a
  894. ;extension=php_pdo_mysql.dll
    . k, x  s  y( N5 R- Q6 k- |9 ^
  895. ;extension=php_pdo_oci.dll' a( z6 G/ q6 P" s
  896. ;extension=php_pdo_odbc.dll
    . e; @& A* C# L, m4 P: y
  897. ;extension=php_pdo_pgsql.dll, z4 Q* J/ t0 Q" T
  898. ;extension=php_pdo_sqlite.dll- ?- ?! F/ j( H5 R8 `) x3 A
  899. ;extension=php_pgsql.dll
    7 u9 t& F0 {; H
  900. ;extension=php_shmop.dll
    + }: z- Y5 O; J7 W& q" |

  901. & |3 g$ ?: ?6 a: e! d( [
  902. ; The MIBS data available in the PHP distribution must be installed.4 z9 H( T8 g7 A0 Z3 i
  903. ; See http://www.php.net/manual/en/snmp.installation.php) i' B3 f0 ]; C' Q8 S
  904. ;extension=php_snmp.dll
    . `1 D6 a: d  l

  905. 6 }! l/ K* ?8 D- {" ^4 _
  906. ;extension=php_soap.dll
    / `6 q# s6 V, |. Z6 h: M
  907. ;extension=php_sockets.dll
    $ ]; ?1 B/ @! z0 U
  908. ;extension=php_sqlite3.dll! j) F7 S8 M. A- e
  909. ;extension=php_tidy.dll+ i) @# b( C1 Y0 O" a. d
  910. ;extension=php_xmlrpc.dll5 T0 T- z9 `4 H0 [. D. F% u5 U
  911. ;extension=php_xsl.dll
    # {$ `, \. U  M% w, A, P
  912. $ b% m+ J% b4 O- Y
  913. ;;;;;;;;;;;;;;;;;;;9 \# x  _' h1 a
  914. ; Module Settings ;
    " F6 a3 R( T0 }2 `, s
  915. ;;;;;;;;;;;;;;;;;;;2 E8 J# s. a* l. B

  916. , \$ B! d3 D' U# C
  917. [CLI Server]0 K4 N: V! P0 o& e0 ~- h( u
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    2 g! ?, A1 M4 f
  919. cli_server.color = On
    - t- J3 ~9 `9 e0 Q9 Y$ t+ P5 l* G5 v

  920. ) `0 y, w- w: m0 f! A
  921. [Date]
    , F  `( U9 k( A8 N. Q5 p/ F. O
  922. ; Defines the default timezone used by the date functions
    ) ^% g' @+ m9 N
  923. ; http://php.net/date.timezone. n1 A2 A* K+ r4 h5 h5 |4 l3 o) N  W$ U
  924. date.timezone = PRC
    6 X2 }% M% r2 |3 ]# Q
  925. & Y7 {% g* X0 h& W
  926. ; http://php.net/date.default-latitude! H! r5 b% F+ f8 G  @. u; F, p$ a
  927. ;date.default_latitude = 31.7667
    7 q  k3 F  f& G! K% h

  928. / c; x6 C" Z5 w; ?/ C5 G9 [
  929. ; http://php.net/date.default-longitude
    $ E$ y2 f& g$ A$ l- R" M
  930. ;date.default_longitude = 35.23339 r: C/ w1 O: f6 b$ N& W# Y8 o

  931. 0 s1 u' K. K. B* z% j% Y3 e
  932. ; http://php.net/date.sunrise-zenith2 `+ n$ S& c3 X& _  U
  933. ;date.sunrise_zenith = 90.583333+ O) {, s% `' W% A

  934. 5 z7 M7 T8 x6 e# j& F) `( d. k
  935. ; http://php.net/date.sunset-zenith
    9 U/ r1 ?% p  }2 Q
  936. ;date.sunset_zenith = 90.5833333 Z6 |. v0 e/ U' n" L0 M3 i

  937. : n3 p( T  w6 }$ N: V# ^# F" r8 F, Z
  938. [filter]
    2 {! M  j! `& t* W' @+ h8 f
  939. ; http://php.net/filter.default
    & r2 P! a) z4 r2 A: x
  940. ;filter.default = unsafe_raw' N  `* G5 y4 ]4 U8 c' y; n" l
  941. 0 x  l$ L. }5 K
  942. ; http://php.net/filter.default-flags7 R/ f' x5 B9 B  b( c) Z' h4 Y" g
  943. ;filter.default_flags =
    0 y) K; T$ H  ]5 E5 G
  944. 8 V! `) Z( b+ i* d$ m. x6 q
  945. [iconv]& _2 D( D) U$ E1 ?8 |
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.1 V5 E( c, a2 ]. W
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    9 C  m4 |# `8 V! w6 A( A
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding, X( S# V5 r7 L" g% r
  949. ;iconv.input_encoding =
    1 a6 d8 T7 k4 X$ H  L$ l8 l/ O' K

  950. " {' o  E  s0 l0 ]: q4 y* P
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.* ^2 v- @3 N$ C8 J9 C1 U4 u- L% i- C
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used." V( ]1 _" i$ {  X8 I" ^3 Q
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding- d/ `- c' I4 b/ c( u8 V
  954. ;iconv.internal_encoding =, l; B2 j1 d  a' j( v, ?8 x- h- x

  955. + K6 o! S8 w: @. W/ G
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    7 n* N; [; z1 A# E7 N& a; C) e
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used." P( U8 y5 k/ C: \0 c. a: T) k
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding6 A" `4 p* b2 |* @1 a0 V3 i
  959. ; To use an output encoding conversion, iconv's output handler must be set" i. M4 [4 T% K6 P3 g, s3 L. V
  960. ; otherwise output encoding conversion cannot be performed.
    ; C0 J  U/ _8 M' X
  961. ;iconv.output_encoding =. t, |! E0 \4 Z+ y0 Z# o0 v( t) D) p

  962. ) a9 y* {& V! W/ h- o% u
  963. [intl]
    ; ^; O5 q% Y0 u; h) p
  964. ;intl.default_locale =
    9 `4 P# ~3 f: l
  965. ; This directive allows you to produce PHP errors when some error
    . t2 q- {2 O4 V1 }# \
  966. ; happens within intl functions. The value is the level of the error produced.
    6 h6 e; I1 f6 B/ K( R4 |
  967. ; Default is 0, which does not produce any errors.
    5 V$ I( D1 x: T" J/ d: Q; F
  968. ;intl.error_level = E_WARNING3 e% B/ D; e0 X! l# t  \
  969. ;intl.use_exceptions = 05 b/ n, T: k2 ?
  970. ) D8 I* z( \, d
  971. [sqlite3]* f2 g# X& H, R. z4 ~" {
  972. ;sqlite3.extension_dir =
    : S+ g# h5 b7 }+ B* ?+ V" Y
  973. 0 P5 x4 @- Z- t' b$ C7 N# c& B. v
  974. [Pcre]
    " O- S! Y3 D' s; r5 }+ A# C1 \2 M; P
  975. ;PCRE library backtracking limit.
      I7 E$ T/ N& p+ ?% j) W
  976. ; http://php.net/pcre.backtrack-limit
    7 f' \. Y$ D- O7 Z6 u! g6 \7 @. R
  977. ;pcre.backtrack_limit=100000, I) _) x- y/ Y6 G4 @; ^
  978. ' T& I0 ^4 @2 n+ {& i6 q4 J$ a* N
  979. ;PCRE library recursion limit.& L! x7 B) C, d2 w% M' K! J
  980. ;Please note that if you set this value to a high number you may consume all
    9 W8 y9 p2 U) A; o' q
  981. ;the available process stack and eventually crash PHP (due to reaching the8 b7 Y9 ^0 i3 V$ l4 U8 G
  982. ;stack size limit imposed by the Operating System).% ]: a; j8 @( A: ]' M6 u, J
  983. ; http://php.net/pcre.recursion-limit
    3 J5 p2 P3 f$ x
  984. ;pcre.recursion_limit=100000: ~7 r( \9 O3 O& l7 ^- |
  985. 6 l, X* O2 }# c% u. g
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    2 i$ B3 t1 S) A3 \- x" }
  987. ;library to be compiled with JIT support.
    ; f9 Q3 b6 t1 B) w4 C( s5 H
  988. ;pcre.jit=1
    & o% o3 E2 T4 ~- E* r- [
  989. $ `, @, x# \. V
  990. [Pdo]9 ?: }! J; ]- e/ v. _6 V8 m. _3 K
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"/ G5 P' S/ H+ ^
  992. ; http://php.net/pdo-odbc.connection-pooling% E  K7 v3 b, w, k( u
  993. ;pdo_odbc.connection_pooling=strict
    3 k& D2 }0 ~: R+ A

  994. $ \: q' d: e# d0 }: J
  995. ;pdo_odbc.db2_instance_name! a4 i2 G4 l6 H, i) B

  996. ! N1 B4 i6 A) s- u6 \
  997. [Pdo_mysql]# T5 H. e) d& R% }  P' ^
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + S9 b/ f2 D" s/ F% l' n
  999. ; http://php.net/pdo_mysql.cache_size" [, {! Q, [0 }/ b- G
  1000. pdo_mysql.cache_size = 20001 T6 @- ^! }$ d* ?* H

  1001. 8 c& ~/ p$ s/ `7 T" S
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / V& d+ B6 u0 Z! B2 c/ E, D" N
  1003. ; MySQL defaults.
    9 r+ }  p3 n. S' X
  1004. ; http://php.net/pdo_mysql.default-socket
    8 E/ X3 Q# r! V* Q( q
  1005. pdo_mysql.default_socket=" V6 o  i: R; b  j( ?1 ?8 P5 D! H$ T- i
  1006. 0 i( L; ]5 p8 O
  1007. [Phar]
    ; F+ d+ o5 W& t" P
  1008. ; http://php.net/phar.readonly
    # j+ ]7 u3 a2 k; }  @
  1009. ;phar.readonly = On
    6 f+ t& N" K  _3 F0 G! W; K0 X/ w4 |

  1010. $ M: j" U$ [9 K; q! @! p
  1011. ; http://php.net/phar.require-hash
    * r( r5 T0 K% W- S7 f& ]: F) ?
  1012. ;phar.require_hash = On( D: K* H" G" ^- P0 J

  1013. 9 N' `6 ?0 q2 l# ]
  1014. ;phar.cache_list =  @" l% E: o. }+ W* p1 I

  1015. 7 i+ S1 i/ I8 w2 a
  1016. [mail function]6 c" P! v1 A7 ]5 ]! k4 c! c0 P* S
  1017. ; For Win32 only.$ k4 m+ W: Z+ }$ F" g3 D$ Y' L
  1018. ; http://php.net/smtp' P3 Q! K2 a1 x' S5 C7 `# d  f9 U' w
  1019. SMTP = localhost
    " V* D3 r. a: N$ P" Y
  1020. ; http://php.net/smtp-port& I+ a* |9 X- S. t% }% ?) q/ R( f
  1021. smtp_port = 257 N  p+ O+ D- F" p  l$ z
  1022. 4 t- H, |7 f( i* Q; o
  1023. ; For Win32 only.. ?& r$ Q+ r! n  m! f
  1024. ; http://php.net/sendmail-from$ R4 k: s5 j, M1 R  a5 }
  1025. ;sendmail_from = me@example.com. w" E& N4 L- I7 D
  1026. 8 \2 V" u) B+ E% o
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").8 f0 ]3 \. d( O1 |; F
  1028. ; http://php.net/sendmail-path. h$ V* o* ~# w" P* l
  1029. sendmail_path = /usr/sbin/sendmail -t -i5 x' i" D) b- \! Q8 U8 n5 O, T
  1030. 0 n; V) j; a* w. o3 u
  1031. ; Force the addition of the specified parameters to be passed as extra parameters; j0 p) p8 \, p7 \3 s, G3 C, b
  1032. ; to the sendmail binary. These parameters will always replace the value of+ R  a+ {* j1 C
  1033. ; the 5th parameter to mail().6 u$ O7 i( {! f* E* y9 ]" G$ f
  1034. ;mail.force_extra_parameters =
    + J1 X7 o" Y& |
  1035. 0 ^3 v, [  W8 `: r
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    5 [1 V7 k; W" T' O
  1037. mail.add_x_header = On. t9 B, t1 F: c: c4 z9 u$ j2 T& T

  1038. . k* G6 u- `' q8 X
  1039. ; The path to a log file that will log all mail() calls. Log entries include8 A$ S) v3 c) K+ r& u
  1040. ; the full path of the script, line number, To address and headers.
      r# i4 C" S+ e/ S
  1041. ;mail.log =
    * F8 K% f' E0 u) K% [
  1042. ; Log mail to syslog (Event Log on Windows).! t; C' B( \1 N. z+ i( ]
  1043. ;mail.log = syslog
    - ?6 W3 T" G6 ^+ R6 j- @! q  S7 A

  1044. : `/ d5 \3 J; r. ]' B' k
  1045. [SQL]; a$ U5 ^. a" m8 a8 |1 V
  1046. ; http://php.net/sql.safe-mode, @3 M5 h0 {, @
  1047. sql.safe_mode = Off& C$ p" K6 c/ Q2 b, l6 [

  1048.   j" k7 |. u0 {' B1 U
  1049. [ODBC]+ y/ {4 F2 j; g1 S) `8 V
  1050. ; http://php.net/odbc.default-db' ^, C$ i, ]- D, M. {$ m" x
  1051. ;odbc.default_db    =  Not yet implemented
    3 p5 W9 x# b& E

  1052. ; w" N0 S9 P/ s
  1053. ; http://php.net/odbc.default-user
    , l* O+ u, w, ]& b9 R0 U
  1054. ;odbc.default_user  =  Not yet implemented" y. U% W& g, q5 K3 X0 {0 y7 R  w
  1055.   L# h4 I5 T0 a
  1056. ; http://php.net/odbc.default-pw
    , ?2 y, [5 d0 k& \1 r8 Z* e
  1057. ;odbc.default_pw    =  Not yet implemented
    ) ~0 ?3 S7 b4 ?' m, Q" B
  1058. , Z% t5 q* G* v  N2 M- r
  1059. ; Controls the ODBC cursor model.* `" g: M( t$ g+ n% @% b# _
  1060. ; Default: SQL_CURSOR_STATIC (default).$ q" E% `* v. N9 v) R
  1061. ;odbc.default_cursortype1 l. o4 d3 T  P! P, G
  1062. ' i6 c4 O7 [/ O$ O
  1063. ; Allow or prevent persistent links.
    5 a4 |1 A) N3 [0 d3 K
  1064. ; http://php.net/odbc.allow-persistent/ P  |( i; z( c) \+ V3 g
  1065. odbc.allow_persistent = On  b: _3 ?* |. r% a$ |
  1066. 9 ^2 R# c5 p* o) N2 A" [
  1067. ; Check that a connection is still valid before reuse.
    ) Q' g0 k/ R& r- {$ I
  1068. ; http://php.net/odbc.check-persistent& ?( A/ X! M; E0 t# Q+ a( t' ^2 [% h6 w
  1069. odbc.check_persistent = On) f- ?# Q# l& Q9 `' o, w: j
  1070. 9 |4 S7 L# W" w/ y2 t7 O. h+ N% Z
  1071. ; Maximum number of persistent links.  -1 means no limit.
      @' C4 `! `8 c' G0 Y& r
  1072. ; http://php.net/odbc.max-persistent3 g' K1 G% J+ m" a  O4 M
  1073. odbc.max_persistent = -1, F3 I% h  V, V* t% O  G( Z0 }

  1074. # H: {5 H0 S  P+ G
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 k* k, F4 g: ]: e" A3 A  z+ g
  1076. ; http://php.net/odbc.max-links
    ' c6 u/ A* b4 M- r6 G9 f
  1077. odbc.max_links = -1
    " h2 Q9 o" p4 _% ?" O; ?& w

  1078. ) s$ w- Y# C; b; H9 t& o
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means8 l  @4 ~+ N! R. I4 x# [- |
  1080. ; passthru.
    & {; _# `" T! S0 b" ?' m
  1081. ; http://php.net/odbc.defaultlrl
    ) ?" n) M. s5 E
  1082. odbc.defaultlrl = 4096+ V% W3 ?3 h3 W- x
  1083. ( r# C# t- \* L0 D, L, Z
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    2 F, d8 M8 E( s) g: d' R
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    3 _9 f4 b2 H2 ~) t1 A4 t
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode4 i" M$ I) C* w( D
  1087. ; http://php.net/odbc.defaultbinmode  D9 j( T4 O( I& s/ c7 }- l
  1088. odbc.defaultbinmode = 1( J1 `( t  m9 u- f

  1089. 4 `% N1 @5 \  U9 Y' M/ A5 @7 Q
  1090. ;birdstep.max_links = -10 j( T& |& {" Y' s# i

  1091. & J# T$ v! Z! ^7 a% |: I2 E
  1092. [Interbase]6 C. o. y# `, o8 p7 |
  1093. ; Allow or prevent persistent links.5 C* V1 ?. w' {) F, U' n# H$ g4 `4 _
  1094. ibase.allow_persistent = 1
      c- V! |9 |: ]- @

  1095. " A4 M# j$ f! h( ?( s" z
  1096. ; Maximum number of persistent links.  -1 means no limit.
    8 [" Q$ S( d8 T. ^
  1097. ibase.max_persistent = -1
    4 n# P+ c( q1 Z3 f
  1098. ! s9 T1 k3 K( g7 Z$ m" e
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' K' y& `& }& G- F& r" b- l  d
  1100. ibase.max_links = -1/ @: ?' i3 m  Z# N. O1 K" L5 B
  1101. 6 b' ?1 P1 V" u% w. j! p
  1102. ; Default database name for ibase_connect().8 ^3 b# u% b" h7 v( b
  1103. ;ibase.default_db =% Z8 @  v  J) D1 ?

  1104.   h; q+ I1 k5 J1 `- _: I' C* o9 q# T
  1105. ; Default username for ibase_connect().3 F9 X  I' Y( j, ]2 R; Y* S2 c
  1106. ;ibase.default_user =& ^1 K/ t. I7 F, g( ]' T
  1107. + F$ {& |- {1 @. D9 w) Q2 U7 B
  1108. ; Default password for ibase_connect().
    " _% S/ l/ `% b
  1109. ;ibase.default_password =# Y3 d. ^* g8 a. s8 H) \

  1110. ! ^4 Y( l$ e  x- _0 ?
  1111. ; Default charset for ibase_connect().
    , j& b, i( m+ M
  1112. ;ibase.default_charset =/ G+ u9 l: _  j3 Q) |

  1113. $ l" X6 Y8 V7 Q, W
  1114. ; Default timestamp format.. Z9 B4 a" d' G5 U
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"! C: B9 ]0 a0 p" {

  1116. # [8 Q/ k. Z3 t" a" |
  1117. ; Default date format.
    ' e, r  g1 g; c+ q
  1118. ibase.dateformat = "%Y-%m-%d"
    , I6 b8 W. C+ R  J
  1119. " [  e1 {- @! ~, c
  1120. ; Default time format.  `9 G5 K# U+ e: v- c7 K
  1121. ibase.timeformat = "%H:%M:%S"/ i9 N  \4 o7 w" X" F* u" D% \. U, w

  1122. " m- U/ X2 J) C$ j1 b
  1123. [MySQLi]" Z% c8 E6 k! d- r9 Z% }
  1124. ! N5 ]7 H% q! b" n  j
  1125. ; Maximum number of persistent links.  -1 means no limit.
    5 [% g( R0 H: @) V7 w( Y7 ~
  1126. ; http://php.net/mysqli.max-persistent2 j, R- i8 _/ h- S* D3 y3 J
  1127. mysqli.max_persistent = -1. Y; l- l) C7 G4 H1 B
  1128. 9 E; e/ ^( E2 f0 c+ b
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements. K) w( K' j9 L% K
  1130. ; http://php.net/mysqli.allow_local_infile  a' f; W# u8 H8 F! e: L: ~
  1131. ;mysqli.allow_local_infile = On+ o; Z5 R# M" T

  1132. $ o" b% y$ q7 X$ O8 S: o  r0 B
  1133. ; Allow or prevent persistent links.
    - H: w( @/ P9 v0 h6 \
  1134. ; http://php.net/mysqli.allow-persistent$ Q& U6 t, k# Z  n/ k4 S
  1135. mysqli.allow_persistent = On
    ) L1 }9 p0 z2 _, Q
  1136. 2 H/ A6 v* E4 ?% v6 g
  1137. ; Maximum number of links.  -1 means no limit.
    ' e$ m8 K! o3 B  v
  1138. ; http://php.net/mysqli.max-links- e- g! `% L* U7 _: G) `
  1139. mysqli.max_links = -1
    ! j, @" v! u- D& `- ]

  1140. - W* t# b4 D& F0 x
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; ^) w5 v/ r( J8 S9 c( @. i
  1142. ; http://php.net/mysqli.cache_size
    5 s1 Q9 O' H/ ?" m
  1143. mysqli.cache_size = 2000
    4 v) q  m. t, h1 q
  1144. * G5 @6 V+ b+ I2 Q
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use% ]4 l/ i- ?) S) F( {8 ?- p
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    * n: J8 N- k+ K/ s. P3 A+ b
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look; j, S( |3 s0 V) b, L
  1148. ; at MYSQL_PORT.
    0 s4 y3 w3 ~+ f( i) x
  1149. ; http://php.net/mysqli.default-port
    . I; P/ V: p  J
  1150. mysqli.default_port = 3306
    5 x! t9 t# Z* U

  1151. / B, M2 c% A3 ?# y# F' j6 W9 s$ Q
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in  N+ H  o! h/ L$ x
  1153. ; MySQL defaults.4 h. s. [: k, g9 B; [4 s
  1154. ; http://php.net/mysqli.default-socket
    7 P2 V& g& D- C. ?; Z: O, T
  1155. mysqli.default_socket =! E8 d5 R4 {& c3 V
  1156. ( s8 s- Y" ^2 r3 b1 v
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).- D2 `/ f+ H% \! D$ @; z7 O5 `
  1158. ; http://php.net/mysqli.default-host
    ( o+ Z0 u; b, |0 {! B
  1159. mysqli.default_host =! S8 W: ]9 V$ d' |

  1160. 3 q  {6 K3 Q3 \* }) f* a
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    7 q% R' G1 ^" o' ?& G
  1162. ; http://php.net/mysqli.default-user
    ( B/ |' U# j- w1 s: p
  1163. mysqli.default_user =
    % I% Y2 c5 \  f( d
  1164. 8 Q: o8 l' z& h5 ]$ v7 ]3 ?
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
      A3 k: Q, z' Z  U
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.: U1 O3 @% x: i! h, K6 L. Q; X
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    & d6 K. e, Q8 S# t# d
  1168. ; and reveal this password!  And of course, any users with read access to this
    3 g: w' K: P0 J. D. ?+ J
  1169. ; file will be able to reveal the password as well.8 t5 R/ |" C. [  U4 K4 }
  1170. ; http://php.net/mysqli.default-pw5 O2 b3 K8 R7 V# B
  1171. mysqli.default_pw =
    5 R5 k. R1 w" d
  1172. ' t- H" b9 ?! ^) m+ L
  1173. ; Allow or prevent reconnect9 B1 o5 w9 B0 I+ R( W3 M
  1174. mysqli.reconnect = Off
    3 [! d7 k1 D) a3 ^! d
  1175. 0 d7 E- O4 o0 z: z/ v& Z, O
  1176. [mysqlnd]7 j' N' ^/ ~% g1 U" d
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    3 ]: t: J: l( H
  1178. ; used to tune and monitor MySQL operations.+ a% r: q$ X+ B7 v) z
  1179. ; http://php.net/mysqlnd.collect_statistics
    2 p- K+ m2 r2 l5 j5 ^0 g
  1180. mysqlnd.collect_statistics = On
    % `6 f) [3 C$ Z% t) u3 ]( Y5 v
  1181. - j! p) M% c+ w  F
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    , O. H) g" W1 f. I+ g: G
  1183. ; used to tune and monitor MySQL operations.
    ! A5 R- S1 |! p: M; m$ u
  1184. ; http://php.net/mysqlnd.collect_memory_statistics) s* x) {$ a& B$ \/ j
  1185. mysqlnd.collect_memory_statistics = Off
    ( \) M  [! z. m8 ~! d
  1186. 6 O7 D- C/ C: j0 Y8 y( @
  1187. ; Records communication from all extensions using mysqlnd to the specified log! \# |9 o3 S' S7 x
  1188. ; file.  r: W/ J) y3 {0 L3 a2 y9 Y9 P
  1189. ; http://php.net/mysqlnd.debug; v5 i: X9 z& }) W* a
  1190. ;mysqlnd.debug =( a1 h% a- Y7 y0 y+ W; T" `
  1191. % `$ h+ F: p0 g+ B  n7 ?7 _/ W
  1192. ; Defines which queries will be logged.$ R! o& V2 i9 B; t- E
  1193. ; http://php.net/mysqlnd.log_mask& f7 v3 ~( K. D  M# H) d! X! ^
  1194. ;mysqlnd.log_mask = 0
    4 k$ n$ h7 l3 _4 h* H* f" P4 {
  1195. 6 N# q+ A1 H% u6 k  I8 ^
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    % Z- `, F' X& y$ x
  1197. ; http://php.net/mysqlnd.mempool_default_size' b  ?% f! x; t3 a% L! |0 M2 C
  1198. ;mysqlnd.mempool_default_size = 16000! x- ]& ^; z: J; g
  1199. , ]: j( s2 O6 s$ s  E
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    5 F2 a5 A8 \/ w8 t7 W9 p' a
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size) e. T& ^" O" Q4 T
  1202. ;mysqlnd.net_cmd_buffer_size = 2048( P* j  x$ u. ]* U2 q2 D; G
  1203.   h1 ?7 \. I4 C6 n" A% ~
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in, ]! B* T) c+ I5 A7 N$ \1 e* K& A
  1205. ; bytes." [) Y3 ^7 k# ~, \1 O- z) J8 y  W
  1206. ; http://php.net/mysqlnd.net_read_buffer_size& @; I0 N" O( O- |# |( A, E3 U
  1207. ;mysqlnd.net_read_buffer_size = 32768
    + T7 s0 W$ b4 h& X1 ?

  1208. * G4 s! d" t, M3 A
  1209. ; Timeout for network requests in seconds.
    4 X& o6 T7 V6 I& Q" ^; b
  1210. ; http://php.net/mysqlnd.net_read_timeout+ W9 C8 E9 `2 w) p9 d
  1211. ;mysqlnd.net_read_timeout = 31536000
    7 d1 Y- ?  N5 L; M% c

  1212. 6 _" Z' |( [* |5 G7 w
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    4 j( f5 C9 J  y% b
  1214. ; key.* ~. t7 |8 U4 p& z, {* v
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    " ?0 o5 b$ M, U
  1216. ;mysqlnd.sha256_server_public_key =
    , m8 j/ e/ W1 N- l

  1217. 1 ]+ n+ P' N, T; @7 E
  1218. [OCI8]3 t8 ]( v( L# k1 g
  1219. ; u8 ~( K# _1 _7 g" s1 r, Y3 \* ~
  1220. ; Connection: Enables privileged connections using external
    ! M1 B5 Y8 Z7 x  B
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)& r7 P* ~$ P4 }7 o" {1 b
  1222. ; http://php.net/oci8.privileged-connect
    & P+ O1 l, p5 N& ~
  1223. ;oci8.privileged_connect = Off
    2 ~" F  l7 f6 f" f% z
  1224. . Y* ?( \: A# A: X
  1225. ; Connection: The maximum number of persistent OCI8 connections per# S! Z" _' Y2 b+ S* O) z$ K
  1226. ; process. Using -1 means no limit.
    8 c3 w$ Q" Z. V$ \: n. {% U: L/ Z9 W
  1227. ; http://php.net/oci8.max-persistent
    ; W; m; `, [+ W9 @8 Z' @
  1228. ;oci8.max_persistent = -14 F/ e/ G. i" Q9 G
  1229.   U5 T6 j# ^- N+ M9 |, v
  1230. ; Connection: The maximum number of seconds a process is allowed to9 m* w/ o4 S* m# F
  1231. ; maintain an idle persistent connection. Using -1 means idle
    . f5 I4 a3 o! J9 ^. @! j5 d9 O, A
  1232. ; persistent connections will be maintained forever.) L- k) \7 R& Y
  1233. ; http://php.net/oci8.persistent-timeout
    # z8 q4 o; k+ G$ |
  1234. ;oci8.persistent_timeout = -1/ K& l& x) ?: R& }3 Q

  1235. - b+ g  b' \. C$ E, z
  1236. ; Connection: The number of seconds that must pass before issuing a: c0 e- F( s3 t0 F) A4 b" w7 L; ]
  1237. ; ping during oci_pconnect() to check the connection validity. When
    ) U+ \- M7 w1 @
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    " @/ w, L; {$ b5 b0 ?
  1239. ; pings completely.
    ! {# g2 k: z% i% x8 E- U/ D
  1240. ; http://php.net/oci8.ping-interval9 S  b3 s* v, \2 }
  1241. ;oci8.ping_interval = 60
    , ]' j4 C- {, b* q  ?
  1242. 6 c/ s7 D  }# `2 q2 A/ }: W. v
  1243. ; Connection: Set this to a user chosen connection class to be used
    + V, G$ d3 g- g, Q) I
  1244. ; for all pooled server requests with Oracle 11g Database Resident2 W* p: V! J9 m2 F4 t
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ; F2 p2 x4 k  b9 F2 V
  1246. ; the same string for all web servers running the same application,/ M. _/ Y  c$ F6 i  ~3 T: a+ m6 |, [* v
  1247. ; the database pool must be configured, and the connection string must' _, Z! Y3 J; A. U& O
  1248. ; specify to use a pooled server.
    " O$ L4 z! B" ^, v, \( {
  1249. ;oci8.connection_class =
    0 T& f) ^* n$ y) `! A
  1250. ) g2 F  F8 d, V* `; A) T
  1251. ; High Availability: Using On lets PHP receive Fast Application
    7 P# @2 K. d0 S5 F4 L5 L
  1252. ; Notification (FAN) events generated when a database node fails. The# f: Z5 T% M! @! Y+ A' x
  1253. ; database must also be configured to post FAN events.5 _0 J% n; N" j! e7 T% }' f
  1254. ;oci8.events = Off
    7 L# E" }. _) e  q" g* {
  1255. . R8 o/ ~; i' J6 Z
  1256. ; Tuning: This option enables statement caching, and specifies how. j# z4 A4 U7 T+ I# r
  1257. ; many statements to cache. Using 0 disables statement caching.
    ) Z4 M- H# O! a: g8 r) U, T: Z
  1258. ; http://php.net/oci8.statement-cache-size7 {7 Z! }/ q( c3 a- c
  1259. ;oci8.statement_cache_size = 202 @, L5 o' s3 P& \' E+ T) b) C
  1260. # q0 ]& l3 |' @# b
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    9 k( u0 J7 A* q0 r* Q
  1262. ; rows that will be fetched automatically after statement execution.4 @1 b  y2 \' P
  1263. ; http://php.net/oci8.default-prefetch2 Z2 L6 T5 j0 k9 A  y7 l
  1264. ;oci8.default_prefetch = 100) w# n' q$ Z' I4 }# c+ q; D

  1265. % `3 k: M( ^; _1 I+ }/ |' e# R
  1266. ; Compatibility. Using On means oci_close() will not close
    - h# }1 \  R& R' P( S
  1267. ; oci_connect() and oci_new_connect() connections./ V# Q. F9 z5 e
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ' @: P; [6 ?% T" _/ D
  1269. ;oci8.old_oci_close_semantics = Off1 ~' z" e) n& q+ t5 @
  1270. 6 a# m- ^7 f6 X1 z# [* x  o
  1271. [PostgreSQL]
    7 |$ s. M- x) D  Q' C! \3 Y, m
  1272. ; Allow or prevent persistent links.
    ( t; [1 Y5 h$ _  S% s9 z
  1273. ; http://php.net/pgsql.allow-persistent
    ( ^: J9 d8 q% E8 c/ N5 m' |% r* n7 h
  1274. pgsql.allow_persistent = On" f4 G# U* H# x- m
  1275. " d4 N7 ?3 ~0 g: O8 R
  1276. ; Detect broken persistent links always with pg_pconnect().
    + b5 y9 c/ t5 Q' P' G
  1277. ; Auto reset feature requires a little overheads.
    7 p1 v, j  G$ V* E! p
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ; Z7 ?* p& u! ]
  1279. pgsql.auto_reset_persistent = Off2 W2 N1 S3 z9 m

  1280.   V9 s  B& g( m8 ]& o
  1281. ; Maximum number of persistent links.  -1 means no limit.
    1 k: B7 y; J& X5 E. V' ~
  1282. ; http://php.net/pgsql.max-persistent
      l+ n5 v4 z5 [# Q- {% T9 d
  1283. pgsql.max_persistent = -1
    ' F0 _: q  n1 o  m- E
  1284. : L. g% h! Y; d. `7 q8 x' Q
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit." G  O- }% a, a% O& s# G
  1286. ; http://php.net/pgsql.max-links, H6 t4 m, X: f0 u# \6 ?
  1287. pgsql.max_links = -1/ H- f0 v, F. e8 O' N0 u
  1288. ! U1 m/ W+ R0 ~9 i
  1289. ; Ignore PostgreSQL backends Notice message or not.
    6 D" R8 A, n9 H& Q% E; `  Q
  1290. ; Notice message logging require a little overheads.
    " s' N: O8 l, r1 f+ ]
  1291. ; http://php.net/pgsql.ignore-notice  j4 W8 d6 i0 c8 P( @6 A7 w3 N
  1292. pgsql.ignore_notice = 0
    2 p' n! a' R3 F/ C. I6 E
  1293. 5 Z$ }+ ~7 y' j7 w$ b! }9 S& W
  1294. ; Log PostgreSQL backends Notice message or not.5 ~, z) @7 f4 q# p; A6 ?8 n5 A
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.1 D  d# `4 H/ q$ C8 ]' y
  1296. ; http://php.net/pgsql.log-notice( h* [  [0 \& I% t. U. R
  1297. pgsql.log_notice = 0/ k: q0 e; f; Q7 c
  1298. ' v! o3 v, y* y+ W" u9 \* p( B% ^* [
  1299. [bcmath]
    : `6 q2 x7 v# ~' i/ J; O; h2 @( `7 v
  1300. ; Number of decimal digits for all bcmath functions.+ y* H1 B: {& m( I( V* g0 e
  1301. ; http://php.net/bcmath.scale
    # ^0 s8 Y, s0 b1 |- k5 u4 w
  1302. bcmath.scale = 0
    * U+ o2 R9 f$ b8 F

  1303. ) z; ^( a% K! j/ |5 K% G6 [
  1304. [browscap]
    ! D1 y& W& o6 x( x" Z* I
  1305. ; http://php.net/browscap
    / l. H: P+ B' d3 c* j) ^5 ]$ p" X
  1306. ;browscap = extra/browscap.ini# O. n& m% V) ^- ?
  1307. * D1 X) i1 @; k( Y. ?/ j9 z
  1308. [Session]
    * v: r  w0 N  ]$ r. E8 ~
  1309. ; Handler used to store/retrieve data.; G2 B& P# K& b7 f
  1310. ; http://php.net/session.save-handler) V* l+ k9 J* c# H* t$ {
  1311. session.save_handler = files- @8 Y2 i; M1 v' ~. P4 Y

  1312. ! T8 U5 r1 G/ f9 U6 [
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    + e6 w: {, @! B
  1314. ; where data files are stored. Note: Windows users have to change this& J3 J& ?3 d) P' d
  1315. ; variable in order to use PHP's session functions.  d' m0 x3 M. F  Y5 d8 o
  1316. ;, ], I* W& N/ N- e# G9 s8 V$ Z8 \+ U
  1317. ; The path can be defined as:* |& o/ _* _5 G4 K: x7 ~
  1318. ;9 D4 _/ C$ u' e& r- b4 v
  1319. ;     session.save_path = "N;/path"
    7 L6 [$ m  Z0 L  G/ \/ D
  1320. ;
    7 J7 w; t- \% W9 M
  1321. ; where N is an integer.  Instead of storing all the session files in6 }' C; m3 p8 y( }+ Q8 [
  1322. ; /path, what this will do is use subdirectories N-levels deep, and/ ~& `0 b* ^) C
  1323. ; store the session data in those directories.  This is useful if3 h, p  L( e4 f) U& |5 ?( H
  1324. ; your OS has problems with many files in one directory, and is
    ; [' B6 Y8 ], d& A
  1325. ; a more efficient layout for servers that handle many sessions.
    9 B7 L1 H% n! G0 [2 M
  1326. ;" R) b5 \3 p$ ?) l- t# `) _
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    . u7 w; v: o/ D& o0 u
  1328. ;         You can use the script in the ext/session dir for that purpose.
    ( G& h$ a0 ~" z1 Z% K) F+ E2 _0 c
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    $ J3 |; ]" Y, l' h
  1330. ;         use subdirectories for session storage- K; c. s- Z. P8 V
  1331. ;
    : w1 s0 s" D" d2 E
  1332. ; The file storage module creates files using mode 600 by default.; c  l: m. c4 H& s7 o
  1333. ; You can change that by using5 W5 y! m6 N$ s# x5 r* ~8 p
  1334. ;
    ; r/ Y1 y+ C# {- b
  1335. ;     session.save_path = "N;MODE;/path", W4 O* e- Q% d% t8 P8 W
  1336. ;
    $ W# I: o- v! j) H6 D& P& a
  1337. ; where MODE is the octal representation of the mode. Note that this
    * e3 [. I, ]& l
  1338. ; does not overwrite the process's umask.
    " K9 U" x/ ]1 Q) _/ s. J5 @7 o$ g
  1339. ; http://php.net/session.save-path) O4 k1 t1 ^+ x8 d% K- n$ X
  1340. ;session.save_path = "/tmp"
    7 Q( ]# _) R9 x. ]3 x' m5 c2 p2 N
  1341. " }6 T2 f' O) [3 N8 D4 ]8 w  D
  1342. ; Whether to use strict session mode.
    % N" \# j3 T: ?" P" Y
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    $ k1 p- r3 d1 j* _
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects: p' m' S: P) K0 q; b7 f4 _
  1345. ; applications from session fixation via session adoption vulnerability. It is
    8 P5 O2 Z& p; u, v
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    5 q1 [5 R1 U6 f7 x. V# i" k
  1347. ; https://wiki.php.net/rfc/strict_sessions
    / u: t% F5 @1 m: a& p0 o; r
  1348. session.use_strict_mode = 03 |. C+ A, d& `3 k- U' n" _
  1349. * k3 Z( _4 `2 ~2 E9 i3 v
  1350. ; Whether to use cookies.
    6 r" i' a" @" X; S/ ]& G' R' W7 X$ g+ t
  1351. ; http://php.net/session.use-cookies
    ' X& T1 x& Q. I, |
  1352. session.use_cookies = 1
    1 @& [: [4 k8 ?7 o. r6 Z' B6 Z
  1353. / e: [4 {. n. S0 N
  1354. ; http://php.net/session.cookie-secure
    : K" w' a" H3 p0 H$ E
  1355. ;session.cookie_secure =
    . `% @8 @9 b5 J5 S" W; N
  1356. , X3 Y/ X$ ]+ l8 M& g7 D
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    / v" h4 O% o) V4 {6 j  P2 `% E' w
  1358. ; the session id. We encourage this operation as it's very helpful in combating& K4 O" N' \* x% D  K
  1359. ; session hijacking when not specifying and managing your own session id. It is
    * U( h8 W/ B- C+ [" P$ z$ B- I3 N
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ' R; N; h/ Y, T9 I5 o. S
  1361. ; http://php.net/session.use-only-cookies% O  B, {7 }$ ~( O6 F6 }7 U
  1362. session.use_only_cookies = 10 c* ^% ^6 \5 \, `) E7 C& I
  1363. % v# x% O# c: q8 D' k8 F
  1364. ; Name of the session (used as cookie name)." c1 U8 M& Z1 I) W4 A- P
  1365. ; http://php.net/session.name
    2 ?% @7 R8 S! `' F
  1366. session.name = PHPSESSID& a% K3 M0 J; T. c

  1367. # X: X* x+ R- B- W2 y
  1368. ; Initialize session on request startup.
    2 X: z* D# c: l- r7 W  j
  1369. ; http://php.net/session.auto-start" u% n9 l- ?9 I; N. A4 V
  1370. session.auto_start = 05 t; X. T/ N2 a4 K" ]
  1371. # l; E* f# `9 t) U' Z; d2 ?
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.: [7 @1 x  \: Y
  1373. ; http://php.net/session.cookie-lifetime
    3 G3 `* d- T' p" D8 B2 c6 t: k
  1374. session.cookie_lifetime = 0, L  d5 T  `6 k- D- F+ j5 r

  1375. 8 e/ D' g% \- k) Y- o4 B9 [  h
  1376. ; The path for which the cookie is valid." S  F& F3 E+ F* E6 I* ~
  1377. ; http://php.net/session.cookie-path% b0 G$ w! ^+ h1 J& d
  1378. session.cookie_path = /, M' c/ b1 b) r$ T* k8 M

  1379. - s( e& K9 b' V7 l6 q4 [
  1380. ; The domain for which the cookie is valid.( z3 [/ c# B5 T* e( ?! J; ]
  1381. ; http://php.net/session.cookie-domain
    $ C4 Y  @% K/ z% \2 ~
  1382. session.cookie_domain =$ T( f" i! E. o( `
  1383. . s1 m1 @5 E: }# n
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.4 Q# S% \0 L# l; N3 b* R3 }
  1385. ; http://php.net/session.cookie-httponly
    ) u  j8 F+ I8 m+ N8 s( n
  1386. session.cookie_httponly =
    9 E7 D2 f( x" ~8 U2 L! m* s) p& m3 D

  1387. 8 t9 b5 u( r& T) g
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    9 c  [6 K+ k% ^/ Z( W. O8 H
  1389. ; http://php.net/session.serialize-handler
    $ |7 u- M4 [* @5 O. B9 q6 }
  1390. session.serialize_handler = php
    - H2 e) S6 \$ H; w1 C

  1391. ( S3 y  {6 G8 T" [6 {, @; _
  1392. ; Defines the probability that the 'garbage collection' process is started5 o* A8 b7 Z% u; E
  1393. ; on every session initialization. The probability is calculated by using
    / `; H/ j& X: N8 C$ v3 D" p
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator5 n: s- c9 K& f; s
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1  c0 L: i6 N' H9 w* U# N! `3 a
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 T& \! W( W; J& U- `
  1397. ; the gc will run on any give request.1 w2 R6 N8 {$ H+ S
  1398. ; Default Value: 1% v0 j( N0 g. F, U* X1 u
  1399. ; Development Value: 1
    ; q$ _  D; Q. a$ t- M
  1400. ; Production Value: 1
    ) H# _; v& g+ c/ v
  1401. ; http://php.net/session.gc-probability# Q' H* S( j6 d- }+ R
  1402. session.gc_probability = 1
    3 \3 }  }0 p, a  l8 r; A
  1403. + ~: \9 |  y$ [9 |, |0 n
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    * N# o0 s& Z6 N8 C; z, o
  1405. ; session initialization. The probability is calculated by using the following equation:* Y3 g- K! i0 ~
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and+ N; Z9 B, X+ n% Y2 Y
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    $ l* w/ R* [0 V* d: H( z
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) D- E- B5 f1 v2 S
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    6 {, g# e2 w' r/ N7 t' Y" L
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,3 k; r: s7 B" n" i
  1411. ; this is a more efficient approach.
    9 N4 K# C$ }) }( F
  1412. ; Default Value: 100
    % X6 A8 j9 d7 j& i3 \# e( `
  1413. ; Development Value: 1000& Y: w' }- G; V' k& ]9 s# E
  1414. ; Production Value: 1000  f* v3 N! Z5 D7 \
  1415. ; http://php.net/session.gc-divisor  T5 q2 N; R0 _7 B6 i! x1 Y% l
  1416. session.gc_divisor = 1000
    % K& G, w3 E, p9 }
  1417. - m$ E3 O% g; h0 H7 M) d* F
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    $ B! ?0 b, L" ?; T* g$ d
  1419. ; cleaned up by the garbage collection process.8 R6 L3 ^% P& r+ ]* R
  1420. ; http://php.net/session.gc-maxlifetime
      G. W8 ^) Q7 c
  1421. session.gc_maxlifetime = 1440
    # M- q: y( n) ~- o5 X

  1422. / f, A. q, \) \' _/ N5 T3 N
  1423. ; NOTE: If you are using the subdirectory option for storing session files. X9 C6 A7 ^* L& w! ^  n. X
  1424. ;       (see session.save_path above), then garbage collection does *not*
    # q( U! k. A3 W  `( V
  1425. ;       happen automatically.  You will need to do your own garbage1 Z+ J/ t' F2 a
  1426. ;       collection through a shell script, cron entry, or some other method.# p2 w# Z) I0 }) _1 g# O' S3 k
  1427. ;       For example, the following script would is the equivalent of
    $ E% t8 c6 J: O' E; f/ N
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):* Q, h* k; E0 d: V- o
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm" `* ~9 W1 z$ D- [1 `

  1430. * ]" ?% @9 U' e8 d
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.# O4 `* {. R! z' h1 i! Q
  1432. ; HTTP_REFERER has to contain this substring for the session to be8 b, y2 F8 b( T! Z' v
  1433. ; considered as valid.
    ' u% T0 S) G0 p! z5 ^
  1434. ; http://php.net/session.referer-check  |5 G' g" N' y
  1435. session.referer_check =9 v3 |3 Z' T) ]7 F

  1436. 6 H9 W/ ?6 \5 g. ~( u7 `
  1437. ; How many bytes to read from the file.
    % {! E& r) q5 B6 e( C( Z
  1438. ; http://php.net/session.entropy-length
    9 v& h& e/ Y6 W8 B/ t; ^
  1439. ;session.entropy_length = 32, t/ b0 z: r1 G0 a% @& S' C

  1440. ! T& S" A/ H+ q) F$ j8 O1 P& D! }
  1441. ; Specified here to create the session id.
    - b1 ?% q2 |" J. n$ W5 [9 z
  1442. ; http://php.net/session.entropy-file
    9 p  [' M  u" L
  1443. ; Defaults to /dev/urandom
    & Y) K7 D) ]+ W; M3 ^& T
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    2 V! ^# d9 ~& a; m
  1445. ; If neither are found at compile time, the default is no entropy file.5 M# k7 o3 s, _& m5 O
  1446. ; On windows, setting the entropy_length setting will activate the
    . b' S: Y# p0 i) \
  1447. ; Windows random source (using the CryptoAPI)1 S! Z, V2 H6 @! e
  1448. ;session.entropy_file = /dev/urandom9 B, q4 z# ]! O% S) a

  1449. 0 |$ e% G# K' ]- M9 k
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects9 u; L8 J9 n. _5 L2 \$ B
  1451. ; or leave this empty to avoid sending anti-caching headers.
    / k; E  u1 ^' q' @+ U2 A" x, f
  1452. ; http://php.net/session.cache-limiter
    / g: S) L1 G& U( b* {- {  r3 x6 P
  1453. session.cache_limiter = nocache
    6 z0 t8 e8 w3 [+ D
  1454. ( Q+ b" T. |& N; t% I
  1455. ; Document expires after n minutes.
    4 o. x9 B% e: V0 X6 g$ n1 p- g
  1456. ; http://php.net/session.cache-expire9 D4 i" y" v& C9 j6 v& ~
  1457. session.cache_expire = 1801 N7 F6 L- j; O2 Y* B

  1458. : W' @( T8 W8 E- e7 J  x. ]' c; F
  1459. ; trans sid support is disabled by default.( O! P8 X/ p2 v* y* m9 h, A
  1460. ; Use of trans sid may risk your users' security., R/ o( e# H8 ]. Z$ G9 y& U  ~& u
  1461. ; Use this option with caution.+ x' w( u! w1 y( ?2 ^! u
  1462. ; - User may send URL contains active session ID1 w, k3 G5 t# f# t& K! {, Q5 P# D
  1463. ;   to other person via. email/irc/etc.; T% [9 J. R( H. K% |$ G
  1464. ; - URL that contains active session ID may be stored
    / n* N9 p9 D: J" z% k" W+ p
  1465. ;   in publicly accessible computer.4 J! J2 x) S* Q) f( h
  1466. ; - User may access your site with the same session ID. w6 \8 v9 ]" ~1 @
  1467. ;   always using URL stored in browser's history or bookmarks.9 |# _9 a( l0 Q) |; S
  1468. ; http://php.net/session.use-trans-sid0 Y) _2 B. `! I" Z
  1469. session.use_trans_sid = 0
    . f/ v2 O- N5 V$ H; `

  1470. 4 o: i2 E( s& M: n
  1471. ; Select a hash function for use in generating session ids.
    4 @4 S! f5 P0 p  ]& Y* j. ~
  1472. ; Possible Values
    ! [. E0 K8 o+ n! _
  1473. ;   0  (MD5 128 bits)
    $ d( D6 G+ C, o4 p2 |+ _8 t$ G
  1474. ;   1  (SHA-1 160 bits)2 t" D0 O- S# y' y( \: _* c
  1475. ; This option may also be set to the name of any hash function supported by* G( y# @  _4 F/ Z1 D7 @! c8 \
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    # g* Y# `; L$ \9 ]6 {6 ~
  1477. ; function.3 [1 C. ~0 [+ i: Y, Q; }1 Z8 z$ ~
  1478. ; http://php.net/session.hash-function
      K  i) S  z- _% @, ?2 b
  1479. session.hash_function = 0
    8 a5 l: P% O- u0 [

  1480. 4 R, Q7 j* v/ R* ^- }/ h* X! F
  1481. ; Define how many bits are stored in each character when converting
    2 {5 L/ V9 H  I! u$ u6 M8 P( ~4 ]8 ?
  1482. ; the binary hash data to something readable.
    3 a* b6 m" Y8 h
  1483. ; Possible values:
    9 {3 N& T' C' w
  1484. ;   4  (4 bits: 0-9, a-f)' G3 P/ X& b) R5 o! Q  R
  1485. ;   5  (5 bits: 0-9, a-v)
    ; w% A8 U% h3 T+ C
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")' b5 n1 w4 i' G
  1487. ; Default Value: 4
    , x1 o0 \& ?. R6 |  {
  1488. ; Development Value: 5
    5 W% e# j) G' k+ N6 H7 }. t
  1489. ; Production Value: 5* r% Y2 I6 D2 V+ F" g
  1490. ; http://php.net/session.hash-bits-per-character
    8 `. A4 }& ]7 a4 M& Z( g" x! u0 C! B
  1491. session.hash_bits_per_character = 5
    . E7 `% s+ b! P; t+ ?  ^, K7 W
  1492. $ Q2 P7 {8 i4 K
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.. v+ @% }; l' O0 a7 \: J
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    # m8 W/ n+ |: c- r
  1495. ; add a hidden <input> field with the info which is otherwise appended; d$ X# S" V/ q$ L6 O. ?. d% F2 Q
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
      ~: G% P3 j" V2 |' E5 `
  1497. ; Note that all valid entries require a "=", even if no value follows.& [% I+ N/ |9 _) Y5 H4 K+ y4 p
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    . N( ~! E1 {0 c( F
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"3 J4 B" Q9 ?% F2 T, ^7 p
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 ?7 r; a: |2 |& ^& F* i; M5 [
  1501. ; http://php.net/url-rewriter.tags
    2 D0 J8 l6 K& k: l* m' W3 }
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! b9 V6 B. C* R0 O$ R7 r' a

  1503. 4 {7 E/ @+ k' e9 Z. I3 x9 c
  1504. ; Enable upload progress tracking in $_SESSION
    7 X  n! j5 r4 x9 k$ U+ K0 ~8 b
  1505. ; Default Value: On4 p2 }+ }+ r) K) x4 i
  1506. ; Development Value: On
      W: p1 J  }( \1 X
  1507. ; Production Value: On# A# x5 @( X, y/ T1 s
  1508. ; http://php.net/session.upload-progress.enabled
    : _' [+ Q7 K( `7 O; u. ~
  1509. ;session.upload_progress.enabled = On
    9 c& U5 S$ F" c

  1510.   n& j, S0 J  u. R+ J6 l
  1511. ; Cleanup the progress information as soon as all POST data has been read! l% q) f0 r% t, o$ Y, v: G
  1512. ; (i.e. upload completed).) A! T+ d& k% {4 [, ?% k
  1513. ; Default Value: On
    : E( H, a, k  n2 F+ ^8 F& o* a
  1514. ; Development Value: On- y/ `/ p3 }. Z: E
  1515. ; Production Value: On5 O* R  j% V* Y# E$ R. `7 d
  1516. ; http://php.net/session.upload-progress.cleanup* N9 [! b/ F3 V9 w- g- D# x- e
  1517. ;session.upload_progress.cleanup = On" B9 G' z6 ?6 \: p0 D
  1518. 0 X' u' `, Z0 E- Q8 T0 F  v" ^- O* I
  1519. ; A prefix used for the upload progress key in $_SESSION- J$ B+ y$ o4 `0 m5 P. f
  1520. ; Default Value: "upload_progress_"* ^6 u' w  G# ^/ Q8 ^; @! A; o9 [
  1521. ; Development Value: "upload_progress_"
    # q! {  r3 O* W' V9 b
  1522. ; Production Value: "upload_progress_"% m  B% W+ M* f) P
  1523. ; http://php.net/session.upload-progress.prefix& ]6 X5 l/ r' Z' x: f
  1524. ;session.upload_progress.prefix = "upload_progress_"
    : _- ]" `+ O; g
  1525. : k9 {3 [! s9 s5 W+ p. J3 ]6 G( p4 R
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    0 S1 O( b- Q; R6 C7 T  }
  1527. ; containing the upload progress information7 ^  z# Q8 `7 m7 F5 A
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"; G+ v. s3 o% {3 M) m3 _0 t% T, {
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 o8 q7 I0 p) Q: J
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"% j9 G& R3 ^& G* v1 @' b
  1531. ; http://php.net/session.upload-progress.name
    3 N- G' ]3 G8 r3 c3 s6 t% E
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"2 P0 ^5 K, e( V3 s; ?$ m9 Q

  1533. 3 c- U2 z5 E* m6 E% p' T% @
  1534. ; How frequently the upload progress should be updated.
    * Y  C1 `" r1 y7 o4 H, b
  1535. ; Given either in percentages (per-file), or in bytes% Y; r' S. A% [- ]5 p
  1536. ; Default Value: "1%"  L( s, x8 h2 L. N3 |! [1 `
  1537. ; Development Value: "1%"
    3 k/ K- |' [3 `. m( Y
  1538. ; Production Value: "1%"$ O  R7 I" ]% ^3 N  G2 T
  1539. ; http://php.net/session.upload-progress.freq
    ) [+ @1 r. G; c- T1 z  e: R
  1540. ;session.upload_progress.freq =  "1%"( X2 e3 f, J7 _; h& b! `
  1541. 6 w6 v7 e9 j* g/ N' y) b
  1542. ; The minimum delay between updates, in seconds) S8 I, O* f$ S/ g% S; F
  1543. ; Default Value: 1/ [* M3 x  o1 c0 S
  1544. ; Development Value: 1
    6 B: A. }8 f( c" d/ x2 i9 D
  1545. ; Production Value: 12 Y+ P! C; K8 |* [; O  \; n) R
  1546. ; http://php.net/session.upload-progress.min-freq
    3 C4 R1 C1 C9 ]7 T' U
  1547. ;session.upload_progress.min_freq = "1"
    8 [6 o' h) H. P
  1548. - M! J2 ~9 o9 J0 |; L, ^& J  V
  1549. ; Only write session data when session data is changed. Enabled by default.
    . `+ G9 q+ `7 P& w  P" C) U! Q
  1550. ; http://php.net/session.lazy-write
    ) L  ]9 n. \) w' `) W6 ~: p
  1551. ;session.lazy_write = On6 \$ `9 o. M( ]( q8 ~5 a
  1552. 8 i- ]  `: ^+ ?: r8 h
  1553. [Assertion]4 A, K( s( ]  ^$ j2 p
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time), }/ O. e1 I# l# }$ b! ^6 I" t
  1555. ; -1: Do not compile at all9 O, W. L! Y3 W) n
  1556. ;  0: Jump over assertion at run-time
    + x7 k9 i1 l1 y5 T: W8 q, V1 C1 I5 o: _
  1557. ;  1: Execute assertions
    : W! O2 ]4 i# t3 [" d) y
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)( I, k' Z% ^) v3 m
  1559. ; Default Value: 1
    + O3 H7 ?) N- k- [  O- O' o6 c3 x
  1560. ; Development Value: 1
    ! \( ]7 a; i8 r0 B' h" X9 f
  1561. ; Production Value: -1
    2 u$ t# Y4 ?' d% ^
  1562. ; http://php.net/zend.assertions
    + _% U1 S& ]: w0 |+ Y
  1563. zend.assertions = -12 O  \4 e. h2 \( L" V1 e9 f1 o6 B# t2 Z

  1564. 2 k+ u% X; l" a
  1565. ; Assert(expr); active by default.+ ^$ a, A7 L2 F
  1566. ; http://php.net/assert.active9 v  }! E4 q) ^8 L5 ?
  1567. ;assert.active = On7 }( V0 V6 I4 ^; |
  1568. 2 _3 Z7 Q8 d' R' z& D1 U
  1569. ; Throw an AssertationException on failed assertions2 S" C' L' c- N+ t7 }, R# e
  1570. ; http://php.net/assert.exception/ S; H# A3 F9 G0 L
  1571. ;assert.exception = On
    8 m4 H8 v8 L+ X1 f% m- r
  1572. " s7 y# N, g3 L& Z/ w
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    ! Z) b" F$ r$ o! N: n0 Q5 F  b
  1574. ; http://php.net/assert.warning
    8 {7 g8 ]) ^% `+ P' [( @
  1575. ;assert.warning = On
    3 h7 I/ J' d8 {9 ^- S% y

  1576. & U# }! v- Q3 X) u  _' R
  1577. ; Don't bail out by default.  e1 d3 E6 R4 C
  1578. ; http://php.net/assert.bail0 n0 b$ t: O4 R! M! K6 [5 |
  1579. ;assert.bail = Off
    ' F' v# a" l7 G$ ~$ W4 a

  1580. ! Q5 f3 _9 v) w& v# f
  1581. ; User-function to be called if an assertion fails.. C" {% c) A, z+ o
  1582. ; http://php.net/assert.callback
    : J; G2 s! s: M2 W& }/ @
  1583. ;assert.callback = 0# \& T+ P# Z+ z5 O) i) t0 ~
  1584. 8 ^- b, m5 a- Z/ v) u3 [4 G  R
  1585. ; Eval the expression with current error_reporting().  Set to true if you want: }, e8 C- |4 g# T
  1586. ; error_reporting(0) around the eval().
    5 Y) Z8 `' }  s. C5 _1 [
  1587. ; http://php.net/assert.quiet-eval
    ; d. O; c1 T& z1 {# ^' h
  1588. ;assert.quiet_eval = 0% Z' Y0 I8 n) C1 y+ ?$ o
  1589. " Q; p: A+ ~  g& ?3 a
  1590. [COM]
    * }4 ]( @. n- p) D7 ?
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs# b6 O3 K- D0 C1 u# L  m1 B
  1592. ; http://php.net/com.typelib-file/ r& p* ]3 l! b- c, A: B/ o7 `
  1593. ;com.typelib_file =0 N" M6 k, m! E1 L0 T( z

  1594. ( W  E5 v) p4 }  [8 ?
  1595. ; allow Distributed-COM calls% `' A- d6 q$ X1 O& y, \
  1596. ; http://php.net/com.allow-dcom0 y/ w" x+ {4 q3 c1 ?$ r5 |
  1597. ;com.allow_dcom = true& T3 _7 O$ V4 r: X& e
  1598. 2 Y( v6 ?9 W! F0 H' t4 {
  1599. ; autoregister constants of a components typlib on com_load()
    - L6 E9 H) d2 }; d
  1600. ; http://php.net/com.autoregister-typelib* F; }1 Q. x* Z4 f5 u+ G
  1601. ;com.autoregister_typelib = true; s, S" f4 ]7 R7 x

  1602. & ^" w) X! n  [# G' v! w
  1603. ; register constants casesensitive
    ! g3 d8 D- Y, E  y: F8 q9 @6 d
  1604. ; http://php.net/com.autoregister-casesensitive
    ( g' ~, Z; o* O7 n& o( X1 l
  1605. ;com.autoregister_casesensitive = false  O* \( v  P, W- p
  1606. : _+ n; ~' w9 `
  1607. ; show warnings on duplicate constant registrations
    ; I: Q0 t" d* d2 t% v
  1608. ; http://php.net/com.autoregister-verbose
    ' |; h7 j1 F) k$ e5 i
  1609. ;com.autoregister_verbose = true* w5 L: x* w* j7 H; V$ v- r6 y
  1610. # x2 ^9 J7 ^5 ]. @0 g4 g8 b
  1611. ; The default character set code-page to use when passing strings to and from COM objects.' B5 l- S7 b. v1 g5 J2 Y
  1612. ; Default: system ANSI code page5 _, t2 I9 K$ B% V* l" t$ f+ `' R
  1613. ;com.code_page=( l9 z) g. ?( F% P
  1614. $ t9 A/ a# _& x+ R  p, x0 ~
  1615. [mbstring]- g: y; d  M9 y* Y1 [; O
  1616. ; language for internal character representation.  z0 t! t6 k0 {8 m3 J( _3 O
  1617. ; This affects mb_send_mail() and mbstring.detect_order.% K' y: p8 c# z$ {: L( l/ o4 J
  1618. ; http://php.net/mbstring.language
    5 W; p' J/ _9 n* v+ F
  1619. ;mbstring.language = Japanese
    ( D! A( Y- {: A9 j" p6 z# r5 u

  1620. 1 }: {8 t- e; p1 G3 D% ?
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 |3 ?% K  q) V& M9 [2 m
  1622. ; internal/script encoding.
    * {6 h, g) q3 A. N( Y7 Q/ T' @
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    & p+ Q0 c3 o' M6 D
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . h: E5 N& v& i3 M% M, h
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding6 t+ L2 T) _$ ~0 h. o5 v
  1626. ;mbstring.internal_encoding =
    % s1 p( x! x6 q2 s6 v( g

  1627. 4 h( t- N3 d* G7 q
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    1 e9 s" a' a3 p: ?  T' f" e  u
  1629. ; http input encoding.
    6 B# F2 K) m* z3 Z
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.# I$ _2 T, K1 E( d. W  g( P
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    , \4 x* P, r0 S8 ~# y$ k
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input- J$ ^8 P7 l0 B
  1633. ; http://php.net/mbstring.http-input6 j# u& _: m+ Z8 p6 a0 `# ^4 [
  1634. ;mbstring.http_input =
    " c) ?$ @/ g, _8 E1 t* ^
  1635. % G* C4 A/ U7 O9 Z: u# D
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ) G6 p7 O- H/ O% O  H/ v9 Q
  1637. ; http output encoding.
    ) G+ O4 A. Q# y% t! s) R% a- K
  1638. ; mb_output_handler must be registered as output buffer to function.! [" n# x- D" L3 E, ?
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.8 @( L1 l- [# f9 k7 `
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ' b, X* F/ V6 }3 }
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    0 Q) a" X- e4 V. F% m
  1642. ; otherwise output encoding conversion cannot be performed.
    * k$ O/ U; m; w5 T7 T( l
  1643. ; http://php.net/mbstring.http-output( [/ C" p3 _: X& N$ C2 A) ~3 A8 n
  1644. ;mbstring.http_output =
    9 b' d+ |' l: T) g; i1 ?
  1645. ( t9 i  R3 T( h( t' \
  1646. ; enable automatic encoding translation according to
    $ g! J! h3 r' w0 `! C3 L% Q7 T6 O2 t
  1647. ; mbstring.internal_encoding setting. Input chars are( g8 q" r* _' i
  1648. ; converted to internal encoding by setting this to On.3 n9 g6 x4 F5 ~. Y# z9 n3 |
  1649. ; Note: Do _not_ use automatic encoding translation for3 h7 x6 Z0 x5 \5 o+ [, n
  1650. ;       portable libs/applications.
    $ I* w, i  i9 }8 n% B  q
  1651. ; http://php.net/mbstring.encoding-translation- r/ h3 k) E, u9 I5 a1 C' e# |- B
  1652. ;mbstring.encoding_translation = Off
    , ]6 q  w* z: y! g1 x5 W% k4 y
  1653. ' S0 T% @# a4 h1 G+ A' ~
  1654. ; automatic encoding detection order.
    2 K' w# c1 V- }
  1655. ; "auto" detect order is changed according to mbstring.language, X9 W6 S7 ]" K; T
  1656. ; http://php.net/mbstring.detect-order
    ( O9 b* t2 R/ W! @
  1657. ;mbstring.detect_order = auto
    - s5 w8 I' P! {" h+ \2 n( q" a
  1658. ; t: Y- h. _: Y5 Q" }4 M) ?
  1659. ; substitute_character used when character cannot be converted
    6 r, O/ G. P; R6 R6 @* c, d) ]7 Y; y- A
  1660. ; one from another
    ! b  M1 f" m, n  w& M; P
  1661. ; http://php.net/mbstring.substitute-character5 H! \( n8 |  J2 Q8 D
  1662. ;mbstring.substitute_character = none! G# T3 j# j3 k! D* U& Q
  1663. # {9 X+ z5 h' R6 |
  1664. ; overload(replace) single byte functions by mbstring functions.
    ; _9 m7 b1 Y( X, @4 e0 I1 ?, S
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),# Q% |  H7 E4 F3 W# g3 R4 f% l, p
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    # y9 N9 \; Z! V# F, T1 d9 ]9 }. i
  1667. ; For example, 7 for overload everything.4 h! d$ ~/ N# |% p3 b, D/ B; M# `
  1668. ; 0: No overload; C2 K# {+ d1 Q+ ]5 H
  1669. ; 1: Overload mail() function
    4 y8 s+ R" J/ s
  1670. ; 2: Overload str*() functions& J8 i* h4 E1 Q7 w$ @
  1671. ; 4: Overload ereg*() functions
    / P; J0 ]! @  C# _
  1672. ; http://php.net/mbstring.func-overload9 B  _9 y! Q7 U: d  p, h* y7 r
  1673. ;mbstring.func_overload = 0  Q5 A; C. L3 }- m/ e; ]
  1674. 6 C: A9 L4 ]$ @, |7 _6 j6 I# r
  1675. ; enable strict encoding detection.& [: @, J( k) P) J
  1676. ; Default: Off
    9 v( ~) W2 I  A  Q
  1677. ;mbstring.strict_detection = On: \; e; B7 }# D
  1678. 2 H# h1 g/ i5 Y+ R3 e- a# }3 K/ U
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    / t% j! L+ o0 {5 H: z- |0 F( h
  1680. ; is activated.8 x" C  z+ N& |4 H' M$ i8 y( J1 U
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml), {9 M( G3 Z' }+ w
  1682. ;mbstring.http_output_conv_mimetype=
    : z# c3 B! \$ I3 m. c% k# N
  1683. ! x( ]- p9 P% t
  1684. [gd]
    % a0 L# ]# W3 U& h8 W+ L' R
  1685. ; Tell the jpeg decode to ignore warnings and try to create6 |. B$ U7 J6 X4 @  o0 P% J
  1686. ; a gd image. The warning will then be displayed as notices
      d7 Q2 ~, H1 A( q: F: @
  1687. ; disabled by default$ {# J4 M% I' v' O8 _4 j
  1688. ; http://php.net/gd.jpeg-ignore-warning. f9 {1 E9 t* p2 x0 |* V
  1689. ;gd.jpeg_ignore_warning = 0
    # i; w' z- Z# C" x' }
  1690.   P: ^, A8 M$ ?6 N( T
  1691. [exif]
    ) P" v) f8 j) A( h0 j
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    8 T, [8 @: i4 E  G6 K% P+ V; F
  1693. ; With mbstring support this will automatically be converted into the encoding
    3 x+ j% Z: ]; h2 c9 j" l$ s
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ; K7 l4 N/ Z7 c: ^
  1695. ; is used. For the decode settings you can distinguish between motorola and- o  }5 F# R) b7 F: Q
  1696. ; intel byte order. A decode setting cannot be empty.
    ! J: }* B! y, h0 y5 y3 A4 F8 X
  1697. ; http://php.net/exif.encode-unicode
    8 K8 G, a: A6 E& T4 s
  1698. ;exif.encode_unicode = ISO-8859-156 h( p- p% j2 r* r( W& p; k9 T, n

  1699. 2 f% s; t' W6 U1 k
  1700. ; http://php.net/exif.decode-unicode-motorola0 t8 w$ T' G9 A
  1701. ;exif.decode_unicode_motorola = UCS-2BE) [' v$ Q5 Y" P- T! b2 V. \  W& L
  1702. 0 b- d$ H! k5 R7 I9 u: a
  1703. ; http://php.net/exif.decode-unicode-intel9 K7 L4 Q9 P/ V7 Q
  1704. ;exif.decode_unicode_intel    = UCS-2LE! W$ D9 o2 V1 \+ Z, K

  1705. 3 i6 W8 }+ B4 S$ |
  1706. ; http://php.net/exif.encode-jis
    8 E9 p) Z5 t% e# Y. J$ V* [
  1707. ;exif.encode_jis =& k$ M( s  T! p9 X& ?

  1708. 7 S& C% O3 _8 K. R; _
  1709. ; http://php.net/exif.decode-jis-motorola  D, ?5 D( E- O4 F2 M
  1710. ;exif.decode_jis_motorola = JIS
    0 Z/ n  z$ g- Q; n8 n1 I2 M

  1711. 4 k2 z8 Y! Z, Y' K' S- P
  1712. ; http://php.net/exif.decode-jis-intel
    1 p+ j3 K8 u0 J- C: k& R! c
  1713. ;exif.decode_jis_intel    = JIS
    / }# }! S4 [5 K( [
  1714. , L+ r2 X" _3 \
  1715. [Tidy]8 A, F- {: L, @; [1 B+ P
  1716. ; The path to a default tidy configuration file to use when using tidy
    8 y2 q, i! r% ]" v6 L# D
  1717. ; http://php.net/tidy.default-config7 @% v; _2 U0 P
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    6 m1 ^$ H- z7 d# `" m( d/ y* g

  1719. - f0 f8 ?3 L4 z6 y3 i) h+ `% y5 o
  1720. ; Should tidy clean and repair output automatically?9 h7 l- O2 f/ T6 q, i
  1721. ; WARNING: Do not use this option if you are generating non-html content
    9 A; O4 t0 L4 @) `
  1722. ; such as dynamic images) I7 h- B% H9 U4 Q" d- E. q
  1723. ; http://php.net/tidy.clean-output* N" |! W3 f0 l: U2 q0 c. M. n
  1724. tidy.clean_output = Off
    ; H( j* ]# f- z+ y9 |& y: H( l

  1725. 3 A$ [2 v7 r9 G  D( H
  1726. [soap]% f/ `, n9 c: R* d$ e
  1727. ; Enables or disables WSDL caching feature.$ `2 Z: P: y; s0 F! w& ^; L* H% h5 a
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ' m; o+ D: d" y
  1729. soap.wsdl_cache_enabled=1, y1 \% J" g6 |2 v& w' \
  1730. ! Q5 H  Q& L: U5 e
  1731. ; Sets the directory name where SOAP extension will put cache files.+ |/ l) n* G0 v# l# @* [* }) y; ]
  1732. ; http://php.net/soap.wsdl-cache-dir6 W, c# o; W1 h0 s' p+ U3 g# D
  1733. soap.wsdl_cache_dir="/tmp"
    # F, Z+ I" {* {9 w6 g

  1734. 8 u3 b& p* W* b
  1735. ; (time to live) Sets the number of second while cached file will be used- j( t& H8 ~& P% p/ L' e/ J
  1736. ; instead of original one.
      \7 j" C: u' B3 Q& Y+ g! W/ o% m
  1737. ; http://php.net/soap.wsdl-cache-ttl
    % `' _# ^0 D- B3 L
  1738. soap.wsdl_cache_ttl=86400. e( v: B2 u- O- F3 U
  1739. ' ~4 O" ]* K/ `. R7 s
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    " B$ ?0 \' `7 T
  1741. soap.wsdl_cache_limit = 5* g$ r  w. l' T
  1742. 5 S: q; k' U1 t; {- F5 ^5 [) f7 j
  1743. [sysvshm]
    * V" R; Q! ^  Z7 {
  1744. ; A default size of the shared memory segment
    ! n5 _. o( ]" A! u) q4 e
  1745. ;sysvshm.init_mem = 10000
    + W) C" h" \& w+ H$ f# |% u

  1746. 1 Y" ^: e0 _% d9 n
  1747. [ldap]
    + w0 `& n4 j' G* y0 X6 d  u
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    6 X" z' ?' R  ^+ k0 B
  1749. ldap.max_links = -18 C6 X4 N. R% W- v. \# D

  1750. & p. p0 Y! U$ i1 D# P3 o
  1751. [mcrypt]
    + D  G7 Z: A6 t* n' X- [" ?2 W+ w
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    9 H: Q8 ^! `: n2 P3 @

  1753. 8 ^8 y8 a& ]# ?4 ^( \
  1754. ; Directory where to load mcrypt algorithms* R+ _2 \; f( _/ G- ~
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)3 E9 K  s* a( y) f( Q5 e
  1756. ;mcrypt.algorithms_dir=
      b: a6 J2 N0 x9 Z

  1757. 9 P, a& M# w. ^! i: Z2 o( ~" I" t: |9 q
  1758. ; Directory where to load mcrypt modes
    " U3 T, Z9 b) ]2 E) a4 [( Z1 D
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    * l& ?& C+ t; D4 f4 Y; V, ]
  1760. ;mcrypt.modes_dir=9 R1 K! Y. o% J+ C- \7 A# `
  1761. 3 \6 |1 K4 @, r* p2 v3 Z
  1762. [dba]. H; ]) e& `5 Q- }6 p
  1763. ;dba.default_handler=
    ' J2 E3 q2 L, y

  1764. & b5 N1 O% a. h/ T1 e
  1765. [opcache]! _5 ~1 T" Q+ Y; k
  1766. ; Determines if Zend OPCache is enabled6 I$ y& t6 Y) F6 Y" F& |+ a& M. O
  1767. ;opcache.enable=00 X4 D: _3 V& q$ c6 @$ L/ b; @; f/ T
  1768. 9 F' Z, i+ b9 [
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP+ N  D2 ^% ]2 H5 Z& N4 E* B8 ]
  1770. ;opcache.enable_cli=0
    5 _4 N% i7 g  ?! S" z1 h9 G
  1771. ; h& p  ~3 N+ Y6 w: x: T7 \
  1772. ; The OPcache shared memory storage size.3 v- S7 _- s, I5 V8 H
  1773. ;opcache.memory_consumption=644 x" J! i) z8 A( v! _0 D
  1774. . p" B- F0 L, G; ^# `
  1775. ; The amount of memory for interned strings in Mbytes.
    7 p2 Z$ ^. i) b! w  ?
  1776. ;opcache.interned_strings_buffer=4
    . D% G/ q  T* x
  1777. ( ?& p, e( A# j5 S: m. G
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    . o. B) H9 ~6 d( L- o  b
  1779. ; Only numbers between 200 and 1000000 are allowed.
    * S* p! g4 o& X
  1780. ;opcache.max_accelerated_files=2000
    6 C) n/ T" Y! j/ t) ~0 T0 s' [
  1781. $ p0 X( A/ r9 L5 I
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    / w& G% a7 \3 x9 ~$ n! i3 G3 Q
  1783. ;opcache.max_wasted_percentage=5* F3 D" B6 {8 _# ^& A- O* q

  1784. + k. I. ~# K' Y9 ]) ^- @( W
  1785. ; When this directive is enabled, the OPcache appends the current working; O) a1 i4 U5 W6 Q/ `& D
  1786. ; directory to the script key, thus eliminating possible collisions between$ e8 Z/ l2 t: C
  1787. ; files with the same name (basename). Disabling the directive improves3 n6 `, s$ |4 i( o- ]8 g( P
  1788. ; performance, but may break existing applications.3 R1 \5 d5 |" h  E
  1789. ;opcache.use_cwd=1% Y& P' j7 [. g0 y" G( l

  1790. ! F9 v) O3 s# t# t
  1791. ; When disabled, you must reset the OPcache manually or restart the( c6 l/ j  X0 a+ M4 w, o1 P
  1792. ; webserver for changes to the filesystem to take effect.7 ~: y9 I! ]* O+ l
  1793. ;opcache.validate_timestamps=16 r' R# `0 q3 r) Z7 u
  1794. 2 Y! _& [9 m/ Q
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    # k6 h0 S$ F2 i& L7 r) g: L
  1796. ; memory storage allocation. ("1" means validate once per second, but only& z- h) a( b# x
  1797. ; once per request. "0" means always validate)
    3 i0 E5 l( n: a9 s7 h. h9 x
  1798. ;opcache.revalidate_freq=2
    5 W4 w8 R) F4 `3 O$ P

  1799. 3 x8 t2 ]6 y' t) Y3 A" j' [9 }* P& |
  1800. ; Enables or disables file search in include_path optimization
    - Y. S5 M- b7 Y1 z% E. _
  1801. ;opcache.revalidate_path=0( D7 c2 k2 P; N0 K$ b+ O% l7 z. }: q

  1802. 8 e# ~# k' A0 o2 Z; f" L
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    , p+ {# B7 ]4 u
  1804. ; size of the optimized code.
    & Y1 @' c1 N+ p5 u8 s+ W
  1805. ;opcache.save_comments=1
    6 w4 D5 E# K1 e. r

  1806. 0 x; }- {* J# p
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ! u6 N$ {+ k5 e- h3 I! x" y
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    6 A9 Q+ p* A8 }. P  c2 J
  1809. ;opcache.fast_shutdown=0
      M" p4 @" E# o; v! E& _5 X

  1810. 6 W9 ~: a! ?0 U' Z
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    * x1 L- y" m/ y6 G
  1812. ;opcache.enable_file_override=0* S; F/ a7 c; o8 F% s0 }4 j
  1813. / d: s9 b3 s$ p/ H
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    / G5 u- D+ n( ~; e8 |; [
  1815. ; passes
    # s5 `/ c) E3 w" Q  b
  1816. ;opcache.optimization_level=0xffffffff3 |1 z+ `  e- x4 n
  1817. 4 N+ H1 a, |0 _/ d
  1818. ;opcache.inherited_hack=12 c/ C5 B9 {; j
  1819. ;opcache.dups_fix=0
    ' b9 W3 j5 E! o7 J
  1820. / b* {  e/ w9 ~0 s' `7 ~: m& F; y) s/ i
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    ( v. S* r. W, `, n
  1822. ; Each OPcache blacklist file is a text file that holds the names of files0 E8 Z' H/ s# ^3 |. A
  1823. ; that should not be accelerated. The file format is to add each filename. P- G0 S) W. j' v- U3 I/ b4 x! _
  1824. ; to a new line. The filename may be a full path or just a file prefix& ~* _8 C4 f$ S
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    " A! ]& C3 Z& t4 i; E+ K& Z
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    % [2 w8 x7 r) K
  1827. ;opcache.blacklist_filename=
    ' \; {' l. d* t3 Y/ i

  1828. $ r: c4 n9 L* F  F6 y- @- O6 X9 |
  1829. ; Allows exclusion of large files from being cached. By default all files* ?2 G+ w* @! S+ a) i  ]; s% O
  1830. ; are cached.7 z1 j  A3 F) M8 V
  1831. ;opcache.max_file_size=0
    2 y" b3 }+ K7 {. b. r3 u. N

  1832. & N1 D+ M7 V$ r7 L( k0 n( y
  1833. ; Check the cache checksum each N requests.  s9 n0 }- I/ ]: ~: G- l
  1834. ; The default value of "0" means that the checks are disabled.; y3 ^. D3 I  O0 Q5 W/ Q
  1835. ;opcache.consistency_checks=0
    3 w6 }2 l3 M# W
  1836. ; e. a0 t' X0 }
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
      ]4 \3 ^; \2 s5 ^$ b6 N- Q
  1838. ; is not being accessed.
    ' ~8 {8 b/ @  a/ X# x; Y4 l
  1839. ;opcache.force_restart_timeout=180& s$ e1 b# ^' _: B- i$ O% h
  1840. # ?% r2 i/ }+ L) y1 o1 Q0 y' G
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    3 S  ]8 ~" B3 p1 Q* L  {( J2 u
  1842. ;opcache.error_log=5 g6 c( l: |/ D
  1843. 0 [( `" F0 @6 e8 B4 m
  1844. ; All OPcache errors go to the Web server log.
    0 O+ a6 p0 R1 L
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.  v+ l% V, {# l; I2 c
  1846. ; You can also enable warnings (level 2), info messages (level 3) or0 l  o( j: ?. k
  1847. ; debug messages (level 4).% Z5 _) J+ m/ M$ b! N' j
  1848. ;opcache.log_verbosity_level=1& v- r! q  u2 E8 ?" @, O+ _
  1849. + ~) Q, P. {+ S6 T7 p& o% |' O
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    / J- M0 x0 P# d; H0 ?
  1851. ;opcache.preferred_memory_model=5 K0 L# |9 D) ?; y0 C+ x7 p
  1852. 1 Q, J  S& ^9 N: C; t
  1853. ; Protect the shared memory from unexpected writing during script execution.& l* t- V# [. Z* i7 Q/ h+ {
  1854. ; Useful for internal debugging only.
    2 m" \# s  f. Q- e2 l; z7 A& @) A
  1855. ;opcache.protect_memory=05 G5 x" V( K( X( a2 n/ v

  1856. , z9 @8 Z! f4 a' M, j
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is! M" @$ x" c. }! ?4 C; d9 ^
  1858. ; started from specified string. The default "" means no restriction
    2 X# w; I3 ^% f# n1 b/ u
  1859. ;opcache.restrict_api=7 H, x/ H; D" N6 k* t) F# e6 X

  1860. & t5 h/ O5 J! R$ y
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    " k4 ]0 J$ A  k
  1862. ; processes have to map shared memory into the same address space. This8 T4 M! k: |5 {6 E" q) @3 |! [
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    0 B, C, U5 M. R+ {/ g) z0 l0 G
  1864. ; errors.. J' ]- |" m( ~0 m! G# X
  1865. ;opcache.mmap_base=
    7 ~; [/ }0 t7 Q$ R

  1866. 2 o1 a% A. d' I1 I
  1867. ; Enables and sets the second level cache directory.- e( b* r: i" {
  1868. ; It should improve performance when SHM memory is full, at server restart or
    5 U& M4 o9 O: c  ]) j
  1869. ; SHM reset. The default "" disables file based caching.3 k" O" H& M: E! v5 Y7 a
  1870. ;opcache.file_cache=
    3 m( K6 A0 m% w
  1871. 2 V. {. v+ e0 Z% j$ q
  1872. ; Enables or disables opcode caching in shared memory.
    " C2 t" h4 d& e' M0 U# g+ @8 Q
  1873. ;opcache.file_cache_only=06 Z; l/ C8 J6 G  d

  1874. 7 e; F2 g* e7 j4 m0 ^
  1875. ; Enables or disables checksum validation when script loaded from file cache.4 _* b' }+ f, y  X& k, d$ ~# a
  1876. ;opcache.file_cache_consistency_checks=1) k$ I: E/ a7 T& s& ]

  1877. 0 y4 q! U+ h. A  v
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
      e3 ^1 `! p& N$ x6 I$ I% _2 [
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    . F( z1 N% Z% Y4 Q- m- R
  1880. ; cache is required.
    - P% X3 L/ q( ?1 n! T) _* |/ j
  1881. ;opcache.file_cache_fallback=1) _, M8 {* t+ |4 E3 J0 y0 l, p
  1882. 4 I7 O; ?  N% @/ ^$ o
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    . z3 q- p' c* o5 l- F* X
  1884. ; This should improve performance, but requires appropriate OS configuration.* E3 J# x2 Y' Q5 i. j( {* \, W
  1885. ;opcache.huge_code_pages=1
    , }8 t( `/ Q3 W: K- C
  1886. * r1 h  @+ e9 n/ p: e
  1887. ; Validate cached file permissions.4 W2 L8 c5 E9 p
  1888. ; opcache.validate_permission=0. D$ b6 Q- O% e3 C/ ^8 ~
  1889. ( h5 o; l0 D) s- P: }
  1890. ; Prevent name collisions in chroot'ed environment.
    * l1 D" W4 o$ e# A* p, B
  1891. ; opcache.validate_root=0
    - M( X/ O$ ]- N) y6 R

  1892. - F1 Z. w( c; E  k$ q- O2 i
  1893. [curl]* a! H, d6 O' t; E- f( V; q* s
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    3 s; L9 o9 z) Z6 M' h' d
  1895. ; absolute path.
    - E  N# d! r$ w; |5 O1 i7 m
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt* P" s4 V$ P0 e; z' W4 `* K' R

  1897. 2 A, M& W! M/ A/ Y" ~
  1898. [openssl]' Z( M+ N6 Z* w* v8 h6 a% K
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    4 W4 ]$ W$ V( U- |% k; |3 {+ v1 e4 Y
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should$ J4 k( P' c0 S4 `+ ?
  1901. ; not specify a value for this directive as PHP will attempt to use the
    . Q6 e, B# [! J3 A
  1902. ; OS-managed cert stores in its absence. If specified, this value may still* ~1 C$ A/ }! L) R
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    8 S7 j: }! D! ]; x, M4 l
  1904. ; option.
    ; A" p( I. ^; v8 j( T4 y. k
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    9 B& j6 ]. r- k7 |) o" A
  1906.   o6 y8 [( d6 J$ v2 @- W4 N9 J
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the$ ?5 a1 i! e! z6 S$ i; N' G, g
  1908. ; directory pointed to by openssl.capath is searched for a suitable. L' Q4 ~0 j$ ~: k  |8 {, a! I+ }
  1909. ; certificate. This value must be a correctly hashed certificate directory.9 _% F6 B- O8 K& E9 [8 b
  1910. ; Most users should not specify a value for this directive as PHP will1 W/ E/ t7 y( @
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,& i* J0 Z4 O/ R( S8 q- z
  1912. ; this value may still be overridden on a per-stream basis via the "capath"# e7 `- b3 Z( |/ D$ i
  1913. ; SSL stream context option./ d' J. U3 c' L# F8 \
  1914. ;openssl.capath=& Z& j$ A- K* `: ^" D

  1915. 6 O8 ]# u) \1 J' s; {) H2 T* K
  1916. ; Local Variables:* m: @9 W) r+ c/ U
  1917. ; tab-width: 4( ~6 H6 x9 v8 I" E/ b$ |
  1918. ; End:
    7 b* `% I. ^; Q3 s

  1919. , M/ \# {/ h" G1 `2 d
  1920. ;eaccelerator- ?. h0 V3 I3 h- u, f4 U4 \
  1921.   f/ C( l4 I3 x
  1922. ;ionCube
    # Q$ {4 Q% ^: B" _6 q% y

  1923. 7 z1 O& C% C( r% M: A4 j% w# b
  1924. ;opcache7 Y) Z# t, r4 [) \. C

  1925. " a/ R$ ~6 O8 Z$ R1 c; K
  1926. [Zend ZendGuard Loader]" n: p3 {# S/ w; d3 p( m
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ) g, r: K& o9 U( u) f
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    . V6 k9 q: r  l
  1929. ;zend_loader.enable=12 Q/ u! C3 G' }
  1930. ;zend_loader.disable_licensing=0
    8 k3 t6 v) \3 V3 b" }+ b& w2 q* v
  1931. ;zend_loader.obfuscation_level_support=3; k) P' E5 @+ L8 \
  1932. ;zend_loader.license_path=
    ; L1 P! w+ }+ p* P6 z- L& i& @
  1933. ; ^, `7 F% i4 M0 g
  1934. ;xcache
    & W( l+ S1 Z) b) C' C$ X# n
  1935. , J/ i% z3 B3 V% A& w5 @
复制代码
$ a8 f# o$ k4 ~4 m: ?: B
" C0 W  w( _1 ^/ \0 {% u

; W  _# {/ _' U- l0 ]" b' E+ i  C- L7 e5 K7 k+ R; }5 k6 J

, Z: N* o: w1 U# n, g2 f' a
  M( _  o4 W2 F$ w& }0 g$ H+ |) F- |( V7 w+ I+ X
PHP5.6版本原始设置+ n3 F; w! F9 ~

+ Z2 B+ {' e  Z6 }8 x8 p0 s
  1. [PHP]+ y* G+ T5 Y* a) q* Y9 i

  2. . G0 u/ P, b* B$ `2 t2 U0 D
  3. ;;;;;;;;;;;;;;;;;;;' `8 Q6 S+ Y7 o. w
  4. ; About php.ini   ;# ]4 w4 P# `5 @) `) V5 ^+ b3 ~
  5. ;;;;;;;;;;;;;;;;;;;
    3 y' C( ]- m: n. T
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ( S8 X( Q% v- I
  7. ; configuring many of the aspects of PHP's behavior.
    * n* X3 i& P' ?8 h9 y# b
  8. ' _/ _8 P) C- A: t' Y$ V
  9. ; PHP attempts to find and load this configuration from a number of locations.- M4 p' e' Y( w! R5 x' E
  10. ; The following is a summary of its search order:
    " |- X$ b( K6 v) w, e, j
  11. ; 1. SAPI module specific location.
    9 B; |+ L7 q  D1 c/ U
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)! l: K" F4 v, T% c$ v% s
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
      ?+ O5 n# d' C( _3 x* J
  14. ; 4. Current working directory (except CLI)
    ; ^2 N6 h! i; z' n- N7 W/ i
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    , ?( @7 h+ Z. x/ q' K4 C$ f2 w
  16. ; (otherwise in Windows)! ?) k4 l, T; u7 T; _7 ~! G
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    * C0 k: q; C9 \! C3 T3 v* s. x
  18. ; Windows directory (C:\windows or C:\winnt)
    ( h1 n3 y2 h, ~' D, z
  19. ; See the PHP docs for more specific information.
    : ]. }9 z7 W- }9 r- g  ?
  20. ; http://php.net/configuration.file; i2 o( R- ~/ {0 a

  21. & M/ k2 |, K1 n4 r- x3 x6 W
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    + c' \4 j, u2 T8 s6 K3 ]% H! a
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).0 k; ^# ~- Q0 T. |6 S! ]5 g
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    2 @& M) S. J' v6 N7 F7 o+ P6 J
  25. ; they might mean something in the future.) Z+ a; w& d8 G! Q8 ~0 |& o0 r
  26. 9 n0 U' F/ p1 h$ [- B+ T( |
  27. ; Directives following the section heading [PATH=/www/mysite] only
    - o- ?5 F# X! V' J) k2 _
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    7 Z/ |- n7 S: g: i. d; H
  29. ; following the section heading [HOST=www.example.com] only apply to
    $ Y9 {; Z& |7 A! r8 E, q. Z% K
  30. ; PHP files served from www.example.com.  Directives set in these
    1 Z5 ^- i- n) B' o8 z* j
  31. ; special sections cannot be overridden by user-defined INI files or
    . ~8 m8 t: m" K5 w% \3 Z
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ; F1 O+ x- |. f
  33. ; CGI/FastCGI.
      t# f5 [  Z- Z# [7 Z# E
  34. ; http://php.net/ini.sections# p2 s3 S# V: N8 Y* Y5 c
  35. 6 z  r- N& f$ J* |5 r
  36. ; Directives are specified using the following syntax:& a! [' V' f3 }3 ]. i& Y, `# y; R- {* Z
  37. ; directive = value4 V; _  i9 ~8 e0 w1 `8 F
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.. @5 B, n- X6 v; V  _
  39. ; Directives are variables used to configure PHP or PHP extensions.
    # s, o& J3 Y  H
  40. ; There is no name validation.  If PHP can't find an expected+ f, G% p" B3 j1 m+ G
  41. ; directive because it is not set or is mistyped, a default value will be used.
    + X" G9 h) ?1 ]4 Y! W' S
  42. 6 m5 W7 n3 \  a. D" m; `
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one- g! d5 t( V2 j9 j6 ]8 H
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    9 Z& x& U( K; A; P- A
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a3 o$ C0 f7 C, ?) X. v0 n
  46. ; previously set variable or directive (e.g. ${foo})
    * d! Q; z% O5 [3 S

  47. ; ~+ `2 f2 d8 x( W& j4 o
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ; ]0 D9 R2 I. k- Z/ M; m
  49. ; |  bitwise OR: P3 z) O5 s9 T) F3 V4 ^
  50. ; ^  bitwise XOR
    : r0 Q( }, T0 L' ~3 [/ Z
  51. ; &  bitwise AND
    6 Y! S# l  z) H
  52. ; ~  bitwise NOT2 |7 J, S5 ~6 b! e. H
  53. ; !  boolean NOT# Z) w' e& u4 I5 U
  54. & J7 z! R7 N3 U6 z! j* j, n$ K
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.4 d* w* ~. e- Y/ X& a8 V2 T
  56. ; They can be turned off using the values 0, Off, False or No.
    * D3 t% q- N" }' E# E
  57. ( ?$ u, E+ \* ?# n' K
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ) M- F* R7 D  s5 U: ]9 A: F3 G
  59. ; sign, or by using the None keyword:
    # q' }+ t& o0 a  r6 q$ \

  60. % r7 _/ W3 V7 y* W% m3 r/ o
  61. ;  foo =         ; sets foo to an empty string/ ~& O) Y' v% v5 T
  62. ;  foo = None    ; sets foo to an empty string: n# [, B2 d2 S4 |4 O1 C
  63. ;  foo = "None"  ; sets foo to the string 'None'7 `# C$ ~. p. O4 V. {1 q' m
  64. 8 s. {. ]9 |0 r3 E
  65. ; If you use constants in your value, and these constants belong to a
    " k# M5 n1 o3 C& K' ~, `& ~
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & D, u/ d5 ]% ?2 S' A3 [
  67. ; you may only use these constants *after* the line that loads the extension.2 R! R/ Y9 m' F+ \0 b

  68. # x. _# d- [2 B" i; q5 j* @) K
  69. ;;;;;;;;;;;;;;;;;;;4 y$ ~$ m: z& d6 }4 V3 d% z+ ~
  70. ; About this file ;
    & h- u, ~% O$ d9 [, G& r
  71. ;;;;;;;;;;;;;;;;;;;
    6 P& N* {1 E$ `
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    1 h! w3 ?. `3 X1 g6 `. @6 E5 W
  73. ; in production environments and one that is recommended to be used in
    ! F1 ^4 @+ t5 R
  74. ; development environments.
    8 _/ ?2 D% m; r

  75. & L( z0 e( R' }* f
  76. ; php.ini-production contains settings which hold security, performance and
    & K: Q. F7 n- l; w( [% K
  77. ; best practices at its core. But please be aware, these settings may break0 `. T& Q1 b; \7 t! I
  78. ; compatibility with older or less security conscience applications. We$ @: n2 N7 y3 c' d5 ~: _
  79. ; recommending using the production ini in production and testing environments.5 N3 ]; r2 B/ o: @# ^! Y

  80. ' W+ w4 |- W) q7 p( V
  81. ; php.ini-development is very similar to its production variant, except it is$ ^- o% `& y% L; F# F
  82. ; much more verbose when it comes to errors. We recommend using the
    4 U, a& N  i# o  @" o8 U' j
  83. ; development version only in development environments, as errors shown to# W. h/ a" }1 n5 c& W% E- i- }
  84. ; application users can inadvertently leak otherwise secure information.1 W& W" X9 N" Q: A& U0 D+ b6 u

  85. / q8 T  e* O9 V" X6 O0 z6 c! z
  86. ; This is php.ini-production INI file.
    ! w; |) E. e# w1 R# j
  87. . O8 q0 v6 b8 O: G1 _2 c- h  J5 \
  88. ;;;;;;;;;;;;;;;;;;;
    9 @' X. |2 E+ d1 _0 n8 Z( M
  89. ; Quick Reference ;! X2 k' h3 B5 V2 k5 P" G6 m
  90. ;;;;;;;;;;;;;;;;;;;
    9 ^: H' K4 p& M8 n! N, ^
  91. ; The following are all the settings which are different in either the production4 a! i0 S) p' o* j- N9 W
  92. ; or development versions of the INIs with respect to PHP's default behavior." m2 x" e5 x5 E1 {
  93. ; Please see the actual settings later in the document for more details as to why
    0 M& X3 d5 f+ o8 @
  94. ; we recommend these changes in PHP's behavior.: D4 v0 @2 F# l1 K- x  ?. ?+ ~

  95. & _* W" @7 M4 l; `! R; L  {( c* \
  96. ; display_errors
    " Z. p4 k" w2 U* u% K
  97. ;   Default Value: On
      R  D  h) M, D9 p; U, g9 W
  98. ;   Development Value: On) J2 f* z# T7 m+ r- d: ?
  99. ;   Production Value: Off
    2 L( U9 u2 I( H: e# E

  100. & }$ @5 R! C8 c) z' V. |+ i
  101. ; display_startup_errors
    " m' o$ c' M% ~! V; y
  102. ;   Default Value: Off9 H% F! B9 e4 \! G' O  m5 c4 F
  103. ;   Development Value: On
    $ f* y0 K' Y7 X$ L
  104. ;   Production Value: Off
    ) m4 {2 X( ?/ F6 j! L

  105. " v& m1 [* J  m' y
  106. ; error_reporting9 M; R) C# s7 j7 T
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , t7 j4 Z8 t. ^6 D4 t, \
  108. ;   Development Value: E_ALL4 {7 V5 m$ K; a5 I  Q! o( n; J
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT8 n( E6 r$ M( q, {
  110. . o& j' ~& F: ]$ O8 N+ ]9 E
  111. ; html_errors
    : ]8 o: F" E/ P& S4 q8 T+ k
  112. ;   Default Value: On
    " w+ ?/ A0 t& K" h/ d) r) ^
  113. ;   Development Value: On
    ; S0 J# s* Q8 I3 r' M& L; Y
  114. ;   Production value: On" S/ b9 ~# y) C4 a- ?4 U) N) E

  115. / ?3 R; D  |" Q" n7 p5 L! Y/ r1 z6 U
  116. ; log_errors  f* e' J9 j9 O7 \
  117. ;   Default Value: Off' @' X2 h7 Q( o5 T6 G0 @
  118. ;   Development Value: On! M# c1 u7 i" }- g
  119. ;   Production Value: On
    7 Z. y+ G+ X$ E! s

  120. 5 j9 I/ b8 U3 k: U& {4 U
  121. ; max_input_time- Y2 F4 R( y1 V# r, U" q/ f
  122. ;   Default Value: -1 (Unlimited)- J. m  h9 B0 m3 }& }
  123. ;   Development Value: 60 (60 seconds)
    / y& s/ g% `0 L; e
  124. ;   Production Value: 60 (60 seconds). b1 F4 g' B( r' R. S

  125. # Q7 K( |( X& P+ M) X: |+ p0 ~
  126. ; output_buffering
    & o* _, ?2 {  t; H' X
  127. ;   Default Value: Off' B' ]% C- b, S* y( i
  128. ;   Development Value: 4096" L) Z  T- X/ g& _* Y8 }3 S8 N
  129. ;   Production Value: 4096( K4 r/ y% b* K- |7 l! f
  130. + a* d0 [& x9 d% F+ I2 e" O
  131. ; register_argc_argv& B- n5 O$ l- P/ r
  132. ;   Default Value: On3 a/ }$ f% X: b! |% X
  133. ;   Development Value: Off0 U5 m5 t3 W# C  {
  134. ;   Production Value: Off
    $ w, s  M. n, {, z* H
  135. 0 Z) |) N8 H$ Y% @
  136. ; request_order
    + _, n: \  T4 G! [5 P) z
  137. ;   Default Value: None
    ( a/ H. t! w0 x2 Z) @
  138. ;   Development Value: "GP"
    8 n7 p: P5 O% Y" ]  [
  139. ;   Production Value: "GP"( v4 ~: v& L4 h1 k, x; D

  140. 8 R  J9 _3 r& _! q! W/ I
  141. ; session.gc_divisor
    2 Q4 I2 h4 r1 u" F7 p/ e# F; w9 O7 T
  142. ;   Default Value: 100
    ( j" ?* A2 T4 ^% t
  143. ;   Development Value: 1000
    # f0 u  Y1 V1 e# v! }, m
  144. ;   Production Value: 1000, n2 |# c0 [2 U7 H0 y

  145. # U& u( \/ V2 q0 N" u% @
  146. ; session.hash_bits_per_character
    / Z$ {1 m% D0 f
  147. ;   Default Value: 40 X& G* c9 I% e5 X: M! V. \
  148. ;   Development Value: 5/ O1 W3 T. m# I8 b5 y
  149. ;   Production Value: 53 ~" U; K5 O1 @. r) ^: ~3 Q, M% W: R

  150. 3 _% N. H/ c, N+ ?# e
  151. ; short_open_tag
    % D# X- t# D" l) i, g2 b
  152. ;   Default Value: On
    0 `# X+ q2 d& F2 q: P! d
  153. ;   Development Value: Off* k2 l7 F/ ?/ }" l0 L0 y( q; l* M
  154. ;   Production Value: Off& B+ [9 S+ W2 k: }/ t4 x' V

  155. 8 G& z% T7 m- m3 d) [3 i# V3 j
  156. ; track_errors
    8 Z- v4 x& V8 ~- |% n
  157. ;   Default Value: Off* w( `1 k# y* Y% q3 Q: \
  158. ;   Development Value: On
    , w4 ]* F$ ~3 `9 J- v2 u
  159. ;   Production Value: Off& s3 |2 E$ Q3 B
  160. / m0 f5 L8 r1 W9 p
  161. ; url_rewriter.tags8 v& e4 @; Z) e( j; |
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="" P& j8 d, d% k1 ]
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + K, @4 w0 a- @1 B' G2 f3 K
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( n- w5 L' o* [# ]4 A% {

  165. 7 ~# ]' V: l7 P, D
  166. ; variables_order0 t8 o( T/ v! G0 \2 p, \
  167. ;   Default Value: "EGPCS"
    6 J/ y1 \9 M& T
  168. ;   Development Value: "GPCS"& n* _4 g4 g9 R& F
  169. ;   Production Value: "GPCS"$ g* C1 C9 j# k
  170. 0 r/ I5 G, [1 D! J
  171. ;;;;;;;;;;;;;;;;;;;;
    : w$ _( r0 ?$ U' E9 W
  172. ; php.ini Options  ;
    0 @% U# `: w6 B8 W$ h, x0 r% ^
  173. ;;;;;;;;;;;;;;;;;;;;+ c4 `2 {( k  z+ [6 j3 j  Q
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
      S5 H$ A$ j; T
  175. ;user_ini.filename = ".user.ini"
    / B! ^* c, V- H- L% N) x
  176. ! i) s6 j9 U1 C2 v" B* k$ j3 Y
  177. ; To disable this feature set this option to empty value/ k+ O6 ~/ ^) m3 o: N$ ]
  178. ;user_ini.filename =
    / \. e& \6 X) {4 f, n! R) O
  179. 6 ^" X" B" z% B0 f0 M& [
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ' B! D) W( q1 r4 d% H
  181. ;user_ini.cache_ttl = 3008 t5 o; p8 n; V1 \$ N5 Y! w* q
  182. 3 [3 t3 [1 e/ @; q! K+ P
  183. ;;;;;;;;;;;;;;;;;;;;9 |" Z/ l0 L$ `# [! g7 g: C# A
  184. ; Language Options ;
    , F: H' s0 s% i; H& ?9 `
  185. ;;;;;;;;;;;;;;;;;;;;# ~+ t5 f2 [5 ~# N4 N
  186. ! n$ f  q; G' A, e0 l+ G5 S
  187. ; Enable the PHP scripting language engine under Apache.
    - o" S, c8 r( G+ Q
  188. ; http://php.net/engine* U1 Z7 {  I# h
  189. engine = On
    . R8 X3 I) `% @7 M* \# E' Q; O

  190. ; \# H% `$ v) _/ y9 k
  191. ; This directive determines whether or not PHP will recognize code between: A; q4 C+ a. Q3 ?
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    - V. I$ A: ^4 H1 a' p& ?
  193. ; generally recommended that <?php and ?> should be used and that this feature) d  I! T$ i9 o
  194. ; should be disabled, as enabling it may result in issues when generating XML
    3 f; ~. N, a- t5 S, V
  195. ; documents, however this remains supported for backward compatibility reasons.8 P$ f, D$ C) z6 @8 n
  196. ; Note that this directive does not control the <?= shorthand tag, which can be" b- x9 `) [' K2 x
  197. ; used regardless of this directive.5 W0 d$ z7 p$ J4 ~; R. X
  198. ; Default Value: On8 |, t; z: G5 W' I  Q3 E* ^- x
  199. ; Development Value: Off
    # i% t) j5 N  T) ]) L: V5 f# E
  200. ; Production Value: Off
    5 z! N) K- x  A0 v9 {/ b
  201. ; http://php.net/short-open-tag$ T8 R) w0 B7 G; x
  202. short_open_tag = On
    6 f/ x2 S1 P* C

  203. * |. [; V6 g9 b2 _  [
  204. ; Allow ASP-style <% %> tags.0 \5 a" j9 b  Q% h9 }: p
  205. ; http://php.net/asp-tags1 x" f0 l5 c! k
  206. asp_tags = Off% v! y) N! C4 q4 ^# }9 l) i- m

  207. 1 J  \8 q( D4 H, T4 V1 e  n
  208. ; The number of significant digits displayed in floating point numbers.5 N. `1 I- X5 Z
  209. ; http://php.net/precision* @5 L# u. m4 L+ |
  210. precision = 14$ d/ T$ g+ D; w) N3 ~6 m" K( x

  211. 3 B+ G- S! K* C% B& a
  212. ; Output buffering is a mechanism for controlling how much output data
    1 r0 C" q4 g# q( H9 l# {
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that/ v# u" @7 \2 T5 q: n- e7 K0 _! H
  214. ; data to the client. If your application's output exceeds this setting, PHP3 f5 N  Y( r% U- e$ [
  215. ; will send that data in chunks of roughly the size you specify.
    8 r; J/ H# P% c' N7 u9 b
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    8 s( z, C3 ]" _: x+ g0 j; w7 }
  217. ; interesting side-effects depending on your application and web server.
    8 ^3 V% M) o7 Z$ m" M# Y+ z7 E' i
  218. ; You may be able to send headers and cookies after you've already sent output
    0 [2 I* q6 }* B
  219. ; through print or echo. You also may see performance benefits if your server is3 e- f0 O$ p6 P
  220. ; emitting less packets due to buffered output versus PHP streaming the output, a8 F3 q- j0 k1 ~& @; x
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance% J! ^- S3 N! o. H4 @
  222. ; reasons.. Q, Z) r7 u5 \  m0 u
  223. ; Note: Output buffering can also be controlled via Output Buffering Control8 q3 C# z. M! ?8 s) T: @
  224. ;   functions.. Z5 x. k! I; u8 |
  225. ; Possible Values:0 n8 {' K% _; {. D% Y( @3 F
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    9 L, z. U1 x$ V2 E9 z) L9 _
  227. ;   Off = Disabled
    8 ]5 q, n  x. m/ _
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.6 [7 g) }+ r7 O
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    % g- _" k6 [5 j. B) r/ I
  230. ; Default Value: Off  X0 b1 U# o; Y9 H
  231. ; Development Value: 4096
    1 Y1 D5 q, u* _4 ?5 V! a
  232. ; Production Value: 4096# g, k. G0 j8 j4 @+ [
  233. ; http://php.net/output-buffering
    2 D' g" I% [# }
  234. output_buffering = 40963 a: H' ~4 K. Y% Z0 i

  235. 0 n  {+ T* o+ \1 v* e) t
  236. ; You can redirect all of the output of your scripts to a function.  For
    ! P5 Z5 H2 {$ d0 a
  237. ; example, if you set output_handler to "mb_output_handler", character! l1 Y! M! |( \+ Z9 y
  238. ; encoding will be transparently converted to the specified encoding.
    ) T- @$ S- k# t+ v
  239. ; Setting any output handler automatically turns on output buffering.
    " j$ s& D2 M6 T3 b% z# }! x2 i
  240. ; Note: People who wrote portable scripts should not depend on this ini/ E+ u5 o' e* e8 E
  241. ;   directive. Instead, explicitly set the output handler using ob_start().; P+ e+ l* n% i4 w2 J- [3 [) j
  242. ;   Using this ini directive may cause problems unless you know what script
    5 d0 l8 I+ p% `$ u7 Z' L* q
  243. ;   is doing.% y3 i8 f9 q# t1 F
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ( i2 V9 q, t8 h2 J- k. Y- q
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".5 N' u! T; F0 I: h. Y/ ^7 O7 Q: f
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    6 J8 |- |3 k, o& W
  247. ;   Instead you must use zlib.output_handler.
    1 m$ v  Q$ z& \1 E& t
  248. ; http://php.net/output-handler/ r0 m5 R* w7 i/ I; r* y' p1 ?( l0 |
  249. ;output_handler =
    5 F, \( ^% \+ D8 G$ W# J, ^" L
  250. ' `0 l3 ^  W0 F9 z+ Z  `, g: A
  251. ; Transparent output compression using the zlib library
    : g; c6 S% T( P3 ]: B3 V4 S
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size$ T3 |+ ~4 ^. C0 V1 r- C$ P4 f
  253. ; to be used for compression (default is 4KB)
    ; E9 P4 Y/ \- k" l$ V0 a/ M2 h; V
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP1 t( `! u( M/ n' M0 j0 G
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    # [- H, t$ G4 |
  256. ;   compression. If you prefer a larger chunk size for better
    * J1 f. Q% R, ^' E+ u
  257. ;   performance, enable output_buffering in addition.1 ], u0 U* \6 j1 R2 N3 b0 T, Q
  258. ; Note: You need to use zlib.output_handler instead of the standard- D( t: z( N7 z9 U
  259. ;   output_handler, or otherwise the output will be corrupted.! W$ O: v3 F$ ]( x* J' q/ n3 d
  260. ; http://php.net/zlib.output-compression: V! S1 S; a3 \: I; t# |# g
  261. zlib.output_compression = Off
    * F9 ]7 f% M5 x/ ]) |& W3 ^
  262. 0 O- i4 R& P4 q" g8 f
  263. ; http://php.net/zlib.output-compression-level
    , S" S7 w6 q  F2 `( C
  264. ;zlib.output_compression_level = -1
    & x: J7 ]6 i# V( Y
  265. 6 E$ W1 A5 @$ ^# Y; G
  266. ; You cannot specify additional output handlers if zlib.output_compression
    9 J  \$ ~  E7 D3 x0 ?
  267. ; is activated here. This setting does the same as output_handler but in* [# ]* N$ j6 j
  268. ; a different order.$ O0 L4 U5 u: J" \8 A' _
  269. ; http://php.net/zlib.output-handler
    ' d; L: c; N" H4 r" O
  270. ;zlib.output_handler =! S9 b1 G, i- B
  271. 3 w6 d$ P) [* x9 }
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    6 [# K* c/ J0 x0 T% P( f0 }0 ~- y
  273. ; automatically after every output block.  This is equivalent to calling the+ L  C. N# e$ \, n- \3 n( N* i3 n
  274. ; PHP function flush() after each and every call to print() or echo() and each9 Y8 n% u- u, ~. {
  275. ; and every HTML block.  Turning this option on has serious performance
    0 B' Y4 z1 a( D3 S: h, A% O/ N
  276. ; implications and is generally recommended for debugging purposes only.1 s$ Z( d# h6 Q1 @8 v
  277. ; http://php.net/implicit-flush
    , f. A" g$ I3 W" X/ @) k
  278. ; Note: This directive is hardcoded to On for the CLI SAPI2 U% R* Z. Z! [3 s0 U. a4 O3 q
  279. implicit_flush = Off, W" b& }1 ~4 f$ G
  280. 1 P% w, P2 s* |& K% \( N
  281. ; The unserialize callback function will be called (with the undefined class'
    " W# N1 A$ h1 I* O( [8 O  O
  282. ; name as parameter), if the unserializer finds an undefined class
    1 H0 `& o: N6 d! Q
  283. ; which should be instantiated. A warning appears if the specified function is1 s2 k- E8 f) I; d+ K/ F
  284. ; not defined, or if the function doesn't include/implement the missing class.
    7 C; t- m0 x& f0 N% `8 q
  285. ; So only set this entry, if you really want to implement such a( `: ^* ], ]% ]+ x% C. J4 p
  286. ; callback-function.
    ( m; N" R  P* ^* x1 \6 V
  287. unserialize_callback_func =  K$ f/ P. d! \* @2 |5 Q4 G
  288. 3 q% u) r, [' U% F' u
  289. ; When floats & doubles are serialized store serialize_precision significant1 [# S; X% L" W. W: s
  290. ; digits after the floating point. The default value ensures that when floats
    2 P" E7 |9 m5 b7 |  R( m5 b
  291. ; are decoded with unserialize, the data will remain the same.: v  a) z1 l& E. w. J, o2 C# e
  292. serialize_precision = 17
    ; b( A  ?( ]5 R

  293. ) t" o0 `+ D! g0 D3 r
  294. ; open_basedir, if set, limits all file operations to the defined directory
    " r6 g, ]3 T/ ^) t3 j0 x2 x9 P
  295. ; and below.  This directive makes most sense if used in a per-directory
    : P4 o7 O$ C( @0 J$ `
  296. ; or per-virtualhost web server configuration file.! a1 l+ M) o! |3 L) K0 O
  297. ; http://php.net/open-basedir
    ! g6 x1 o) l( N" j5 q$ x5 \$ Y) H
  298. ;open_basedir =8 s! s4 ?, H. {" k" z

  299. 8 m" @) w* b" A9 k. w
  300. ; This directive allows you to disable certain functions for security reasons., p+ S9 t- Q% \9 \4 D3 U
  301. ; It receives a comma-delimited list of function names.$ F1 J: y- ?, V, D) L4 T  m
  302. ; http://php.net/disable-functions
    ( B0 K* G2 b  N9 h: I+ b
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru5 n1 y. q( G1 v) J1 T, u+ _

  304. ! k2 u) Z1 A  I( _( w: t
  305. ; This directive allows you to disable certain classes for security reasons.4 s0 D1 \+ K4 k6 W
  306. ; It receives a comma-delimited list of class names.0 y; ?! S1 ~( [; q2 c; T) c
  307. ; http://php.net/disable-classes
    ) z* L" H- `% J
  308. disable_classes =3 i4 ?+ D/ ~+ P- i

  309. 0 Q2 f9 Z0 c5 o8 k
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in* Z# g/ m; a/ r: ^2 d, S
  311. ; <span style="color: ???????"> would work.
    0 V4 b2 e; ~. P3 p
  312. ; http://php.net/syntax-highlighting& f: m* o. ^. s9 X
  313. ;highlight.string  = #DD0000( b3 A  {5 z% |: a
  314. ;highlight.comment = #FF9900
    " e. G$ U* Z0 z+ g! Y4 d# O+ v
  315. ;highlight.keyword = #007700
    2 ^1 m! C$ R, ^. Q" `
  316. ;highlight.default = #0000BB
    + G+ K& G8 Q$ [8 `! c6 O
  317. ;highlight.html    = #000000
    + A, M9 g: N1 O5 O4 Y8 B; E

  318. 3 G" j; r* I5 r# o8 L7 ^
  319. ; If enabled, the request will be allowed to complete even if the user aborts" @5 _3 N" `) R7 X. r
  320. ; the request. Consider enabling it if executing long requests, which may end up
    , o/ H8 u( E- \; [% o
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior2 d& l6 D4 h9 B3 b
  322. ; is to disable this feature.8 H2 Q& I: ]  D, b4 f5 x* P
  323. ; http://php.net/ignore-user-abort* `3 U9 O3 e/ P( ?$ N9 l$ p, ]
  324. ;ignore_user_abort = On
    8 x' V3 ~9 n2 y
  325. / s8 c0 d0 S* N: I, h' s' U
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
      O7 r! W9 {) F8 l( S% G1 t
  327. ; be increased on systems where PHP opens many files to reflect the quantity of+ u/ o) K0 A9 |% }$ ~& y& z' m: g
  328. ; the file operations performed.* v' Q3 w* G8 V2 [
  329. ; http://php.net/realpath-cache-size
    ) @! m) C# u1 a, ~" P
  330. ;realpath_cache_size = 16k1 z) R+ o; B: z- h
  331. ; Z, r: b3 G  r2 n) I8 N+ U
  332. ; Duration of time, in seconds for which to cache realpath information for a given7 t; |2 Y: a& q& X5 s; }
  333. ; file or directory. For systems with rarely changing files, consider increasing this5 R, R8 K# [4 ], n
  334. ; value.
    1 x% }- I  W5 F4 I) `. C2 f% `
  335. ; http://php.net/realpath-cache-ttl( c3 I) X" G6 w7 ~/ o: }% z/ }* }
  336. ;realpath_cache_ttl = 120
    8 I4 \6 l: W( Y7 h3 `

  337.   Q, M) ?5 n' {3 B3 f8 l" s7 w
  338. ; Enables or disables the circular reference collector.
    6 c2 {2 b: u5 y' R+ {2 ]  F
  339. ; http://php.net/zend.enable-gc
    8 B* S0 b  r$ r0 j
  340. zend.enable_gc = On: T& f" D# g& P( Q
  341. # F2 _5 d' x+ n
  342. ; If enabled, scripts may be written in encodings that are incompatible with' q9 y3 L9 F' L7 w: D
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    0 X7 \: H# ~6 Y/ L1 J
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    , m8 g. O! r! E/ Y/ t' i0 B# c/ i
  345. ; Default: Off
    * d* f: ?) m2 }5 T% u) ~
  346. ;zend.multibyte = Off: R! W# ]. y* p6 c2 R2 v0 a

  347. 9 g9 s; c# K: z0 L; [. c# Q
  348. ; Allows to set the default encoding for the scripts.  This value will be used* n2 M/ U# K, g
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ; |( S3 h& y. E3 I
  350. ; Only affects if zend.multibyte is set.
      y! c/ A) H/ [( R
  351. ; Default: ""% G( [* s* R& b3 S4 Y
  352. ;zend.script_encoding =: E3 m+ l2 B! Q0 t9 F  G2 \

  353. ; y$ n5 X0 O5 d) l
  354. ;;;;;;;;;;;;;;;;;4 p4 K4 n/ O# i
  355. ; Miscellaneous ;  R" N4 i1 ^' s6 F7 \) j5 \, X$ i9 j
  356. ;;;;;;;;;;;;;;;;;. X) ~$ T; f& O4 Z) i/ B
  357. ) Q* Z5 G! P3 H" ~  q
  358. ; Decides whether PHP may expose the fact that it is installed on the server/ z7 x6 y2 B7 A- g. x
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    $ C4 Y: W) \. E
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    ! J$ Y6 L' m5 c& |5 j1 _& @6 o
  361. ; on your server or not.
    " ^/ d5 {' D( H6 |' m
  362. ; http://php.net/expose-php
    * l! ?& J! O/ m, O5 h5 q. W$ c
  363. expose_php = On
    5 c9 B( _! ~% o7 G1 }! c  }
  364. " {5 [6 u( e  @4 z5 V6 F
  365. ;;;;;;;;;;;;;;;;;;;
    6 [4 @1 H" K6 g, X
  366. ; Resource Limits ;
    ' x$ n2 l! W* W8 W1 W! G5 U
  367. ;;;;;;;;;;;;;;;;;;;1 g3 z9 ^9 F& u$ e, ]

  368. + \+ E# @8 E) ~, L5 W+ C9 V5 w
  369. ; Maximum execution time of each script, in seconds
    $ `9 k7 }* K+ ]
  370. ; http://php.net/max-execution-time
    % ~2 H% O2 G: E4 O
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI: y1 T) v# K# c. e4 O6 M
  372. max_execution_time = 300
    " ?9 e- c; u5 P, P6 i
  373. 5 L0 P  a+ x1 i) m. `7 y1 d7 P7 Q
  374. ; Maximum amount of time each script may spend parsing request data. It's a good* Y+ ^; o+ s% l5 c' Z0 e, }
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    : N: g) R; H$ P' v; M/ }
  376. ; long running scripts.9 s2 B6 N, Y/ w" H
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    - W# ~. x- O" u8 D
  378. ; Default Value: -1 (Unlimited)
    3 u9 ^7 t5 p, Q+ H/ D2 G- v$ e
  379. ; Development Value: 60 (60 seconds). m& a2 v4 a+ H: l
  380. ; Production Value: 60 (60 seconds)7 q3 _% \3 @* k1 C. ~" w5 b  e
  381. ; http://php.net/max-input-time
    8 Y) A9 }! E; f! b
  382. max_input_time = 601 ]& j, @" k% v. d  Q

  383. # {8 B+ r7 z8 V  M
  384. ; Maximum input variable nesting level, [7 z" E  d% b/ Y2 _. A2 w
  385. ; http://php.net/max-input-nesting-level6 i& [: q6 [4 k- x& x. M4 t& K# ?
  386. ;max_input_nesting_level = 64
    : w4 N  U! s/ t; D$ @5 O

  387.   C% [9 m) W" Q( B' C9 t3 ]& ?
  388. ; How many GET/POST/COOKIE input variables may be accepted8 a' k% s2 l8 L' _" A' v3 I. z3 M
  389. ; max_input_vars = 1000. H) K- {, l" E

  390. " t+ h! I$ q; u$ b0 \& t0 k' K+ K! e
  391. ; Maximum amount of memory a script may consume (128MB)
    ) q+ ^, V* ]3 L$ N
  392. ; http://php.net/memory-limit
    . J% b" t& d* o- K, G) i- f
  393. memory_limit = 128M
    8 Y: d5 G  L0 ^2 Y

  394. 1 T2 e, {; G" y: R7 K+ G% u. y  M* k+ }
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 f$ L" l% v5 K' m$ s4 {
  396. ; Error handling and logging ;8 j* i1 _) \: P$ z) x9 P
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $ d2 o5 V7 Z6 l0 [% L- O7 c* S

  398. ! W5 L9 w1 ]/ s" B% R7 O  Z. R( l
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    & k# A: [5 K: `! l2 `
  400. ; it to take action for. The recommended way of setting values for this# \, p7 d/ A% D
  401. ; directive is through the use of the error level constants and bitwise
    2 }; G. Z1 d4 _  `
  402. ; operators. The error level constants are below here for convenience as well as/ C7 e# e# v; `8 }* D7 p
  403. ; some common settings and their meanings.
    * k% o8 v3 ~( ~
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT  u3 Y) Z& D3 S5 s# h. ^
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and! M& H3 \# `# m# @
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    # I  U9 t2 @8 A- H
  407. ; recommend error reporting setting. Your production server shouldn't be wasting- K; @/ _3 R; ^9 |; F; |
  408. ; resources complaining about best practices and coding standards. That's what
    6 \$ o0 W9 ~( {. Q9 _3 C
  409. ; development servers and development settings are for.
    ! k3 B" @9 i8 Z8 i& c
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    3 D# u. V4 M5 Z  V2 v
  411. ; means it pretty much reports everything which is exactly what you want during
    $ F- U" v, l. {& y' D' y) _& i
  412. ; development and early testing.
    % g; d0 n9 {- J% {
  413. ;
    4 |; G" ]+ O4 z0 V3 H# e1 ^& g+ b( }
  414. ; Error Level Constants:5 j6 K8 l4 j) B+ l( j
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    6 `' O7 f$ f; K+ I& U; [8 e
  416. ; E_ERROR           - fatal run-time errors
    : y& N$ D) Q; J! A) d) u
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors4 @" f- w5 w- r; j  U7 W: U* ?- E- ]/ b
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    ; W2 O6 ?: E/ P3 o9 f1 [7 m' |6 g
  419. ; E_PARSE           - compile-time parse errors/ I2 K  n$ p( z" h" {. }8 @
  420. ; E_NOTICE          - run-time notices (these are warnings which often result2 A) y' [6 {" s  E* `& b1 I
  421. ;                     from a bug in your code, but it's possible that it was
    6 k7 w+ I6 X- L8 F2 k1 n
  422. ;                     intentional (e.g., using an uninitialized variable and) ]9 G% k4 B! C+ v9 l2 ?
  423. ;                     relying on the fact it is automatically initialized to an
    , H, b# ?; U$ }1 |; @: [/ B2 W
  424. ;                     empty string)
    ) ^, R, M, H% B/ n
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes) n" J' q& X' t. H5 z7 q
  426. ;                     to your code which will ensure the best interoperability
    - i, B4 J& f- L. ^8 H
  427. ;                     and forward compatibility of your code
    ' f: [2 I1 f& K& M9 \+ `$ U
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup7 Y" a! R2 j8 S' B' e1 x
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's6 I8 V% P5 h# O) D" w$ C
  430. ;                     initial startup
    ' n  n. X# f6 I1 t
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ( _% ?: X/ p0 @6 H1 L
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)4 U0 R6 F$ d. r& E# }; }/ J
  433. ; E_USER_ERROR      - user-generated error message
    : D2 L1 V* c. c! b, F' d+ B! J" s
  434. ; E_USER_WARNING    - user-generated warning message
    ( |( u) w: R+ d1 ~. O& d) o, U$ M
  435. ; E_USER_NOTICE     - user-generated notice message+ ~% I7 b: }& E
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    , ?( S% u: C4 w( I7 ?" d
  437. ;                     of PHP
    / B6 n! f) A) j5 M& j. @5 u
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings+ W7 N2 ?) z  w8 e$ W4 H
  439. ;
    # I- a- J5 Y  o' i% C
  440. ; Common Values:
    8 Y% ]5 c2 d' W1 |; e. h
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    + k) Y0 b7 N* ]* f/ Y8 v
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    3 P; M- K( d  l/ ?1 t) ?
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)1 B4 E; t$ B( J( v7 m
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    3 }1 W- w4 W: k! w& u
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    - s' n9 R; {9 r. T3 S/ ^
  446. ; Development Value: E_ALL
    ) B6 {5 i) y* M
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , S+ M  F3 o& ?* U2 ~( f, i9 v7 w
  448. ; http://php.net/error-reporting
    % A+ }# y' o- |2 C- N4 g; ^% M2 L
  449. error_reporting = E_ALL & ~E_NOTICE1 y: V4 ?$ h: W4 t! B: L' E
  450. 6 Z4 X% c; E7 M  h/ E: ^
  451. ; This directive controls whether or not and where PHP will output errors,/ h5 u5 \% f, z* L6 v
  452. ; notices and warnings too. Error output is very useful during development, but
    % U+ M; O$ N0 G( Q9 M
  453. ; it could be very dangerous in production environments. Depending on the code
    $ a1 ]# r3 z% ]! t
  454. ; which is triggering the error, sensitive information could potentially leak
    & [# K2 x" R# ?- p
  455. ; out of your application such as database usernames and passwords or worse.9 C! [: `0 m% j$ P2 \6 T2 r  O9 P
  456. ; For production environments, we recommend logging errors rather than7 o3 m' \  Y' Y
  457. ; sending them to STDOUT.; k: t  S# t! B; w" y- }
  458. ; Possible Values:/ c3 v/ D" b; X* g! m. p$ I
  459. ;   Off = Do not display any errors, m% E  q# a6 O6 J8 @" [' b
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)3 a& k2 r. ]/ Z8 o9 @3 p& Z( m
  461. ;   On or stdout = Display errors to STDOUT
    8 b% W. J5 O9 u" A
  462. ; Default Value: On  u7 d* d- x* B) U, ^1 o( ]
  463. ; Development Value: On
    9 A* Z4 p& w0 A' v7 h1 d
  464. ; Production Value: Off9 l% e% I* z/ x* t$ W4 C
  465. ; http://php.net/display-errors; A6 o, ?6 z5 M
  466. display_errors = On
    0 j- |; @: k- k3 p! x/ V* ]" N
  467.   |4 S) \8 G& X5 w! ]% a2 p
  468. ; The display of errors which occur during PHP's startup sequence are handled2 f: y% f; C% Y8 v) Q  g* s
  469. ; separately from display_errors. PHP's default behavior is to suppress those# i$ i3 s$ _# @; U* A
  470. ; errors from clients. Turning the display of startup errors on can be useful in: R0 z/ f* D5 v( w+ d4 E, @
  471. ; debugging configuration problems. We strongly recommend you
    . b& n$ g- ?3 W# {/ P1 I
  472. ; set this to 'off' for production servers.1 D, k& ~/ N' j9 a; i* D
  473. ; Default Value: Off3 F) Z4 C) n2 G' {
  474. ; Development Value: On
    ' t! N6 q2 d( q- B
  475. ; Production Value: Off
    + C2 z9 w7 ?; u) _
  476. ; http://php.net/display-startup-errors! V( l+ _- ~6 d
  477. display_startup_errors = Off- w, m% I) v+ C; H' j" l
  478. 3 N7 Z* n& h7 x+ j! g) X6 P
  479. ; Besides displaying errors, PHP can also log errors to locations such as a8 |9 h3 D* M1 Q9 R: k: Q
  480. ; server-specific log, STDERR, or a location specified by the error_log0 t- ]; k  W' m3 _4 m5 A
  481. ; directive found below. While errors should not be displayed on productions
    , o; E/ g, {: z3 E. T
  482. ; servers they should still be monitored and logging is a great way to do that.
    # I4 u& q& I/ h6 X' {2 X: [( e
  483. ; Default Value: Off( `5 z$ R! k% l2 @! U
  484. ; Development Value: On& P( [6 X8 \8 l
  485. ; Production Value: On2 U% n  X; w! h' `7 d
  486. ; http://php.net/log-errors/ r* Q  \2 {/ V7 x+ F
  487. log_errors = On
    ' [, k+ U2 q( A; H- o( c' e+ g

  488. ) I- f3 a5 }0 Q' G
  489. ; Set maximum length of log_errors. In error_log information about the source is, Y2 j# o- F0 t8 P& O& H( T
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.4 I) p# _6 T/ U  z+ w5 @8 a
  491. ; http://php.net/log-errors-max-len$ c* [" H% ^3 ~. O, u& D/ U% m' L
  492. log_errors_max_len = 1024( A; i, l' @9 @; u; @) R/ t

  493. 5 @$ w% d. w4 x8 Y0 T9 c, f: ^
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    5 l# g' J% a( U
  495. ; line unless ignore_repeated_source is set true.
    9 @4 u6 ]" @6 Y0 ?" }+ U- b
  496. ; http://php.net/ignore-repeated-errors- n" F, ~! z# V* [, J
  497. ignore_repeated_errors = Off0 n: G) j& m8 f1 G* r" i4 s

  498. * L. X0 v  a; f5 A
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    0 |3 q- x# x" g9 F5 i7 d! i! y
  500. ; is On you will not log errors with repeated messages from different files or  X/ d6 p1 m- b1 \7 q4 P0 T
  501. ; source lines.
    8 M  T' z% L+ e, M4 T# M) X% |
  502. ; http://php.net/ignore-repeated-source
    ! D0 Z# d. a/ Q2 y2 A
  503. ignore_repeated_source = Off
    9 D" D% p) d) E2 K) P) G2 @# F

  504. % w" ~# p$ |, L8 C* h
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on: \. m- D& e1 X$ A4 l  v( M
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    8 r0 V8 i$ Q' g3 h
  507. ; error reporting includes E_WARNING in the allowed list
    8 ]. a! W: u  P9 a9 e
  508. ; http://php.net/report-memleaks% O2 A4 z! i7 m1 z$ m  I
  509. report_memleaks = On
    8 t7 H& w) u9 |, u; _- U

  510. - v" {7 H( g2 N, A/ q/ z" U
  511. ; This setting is on by default.$ q& N/ d3 ]  c3 ~# O5 t
  512. ;report_zend_debug = 0! ^  r& E1 J; ?3 |  \

  513. ) @5 X8 r& s$ ?" Y
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value/ {% c" o' E8 U- x
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ' O# }- T. V' Q/ A8 E$ T+ ~' D/ t
  516. ; however be disabled on production servers.
    6 W7 U3 i3 t7 {6 i) q/ U9 @" Z9 d
  517. ; Default Value: Off" a$ W  G/ z( m' _: r9 Q( z
  518. ; Development Value: On' d9 }& i  H; j) |6 q5 b: Z0 c
  519. ; Production Value: Off  P. i8 Q% l. b* n
  520. ; http://php.net/track-errors
    4 W( ?" t& N0 A) M, a4 @8 U  [" p3 \
  521. track_errors = Off( J! s8 \( H$ |0 @( Q

  522. . {- r" S) {' m9 e
  523. ; Turn off normal error reporting and emit XML-RPC error XML8 F1 F) Q5 J- y  N6 l+ j# x& ~' v
  524. ; http://php.net/xmlrpc-errors( C4 }: x- ^3 J) c
  525. ;xmlrpc_errors = 0, o' e: o4 W3 }7 G
  526. * V1 E0 |4 f; Z4 V% M" R3 N8 F, }
  527. ; An XML-RPC faultCode
    - _9 R- d* z; S, _9 S& D
  528. ;xmlrpc_error_number = 0# g6 I1 z5 v0 Y) c( h% j
  529. 3 y/ I8 e( p& L0 `  p' y/ z
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    & W( w1 l/ p+ |% M3 d- M& m1 h
  531. ; error message as HTML for easier reading. This directive controls whether
    / j: P1 d: g5 z" p
  532. ; the error message is formatted as HTML or not.. J* l+ `5 o1 c: Q
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI! X, N- B# c  q
  534. ; Default Value: On  O7 a4 C: H/ F+ [) j( d
  535. ; Development Value: On
    6 v& N- z; |$ h* e
  536. ; Production value: On
    4 ^/ I" S* `; O' t8 h" n
  537. ; http://php.net/html-errors' P2 W8 R! x, c, |2 N
  538. html_errors = On
    ' X) {4 y! }; ^5 ]

  539. 0 q9 J9 b) v( n5 H1 j1 D& |
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP+ U" K( F3 }: v
  541. ; produces clickable error messages that direct to a page describing the error4 Y6 t) J, L9 _! I" i& F; H# G3 p
  542. ; or function causing the error in detail.
    + ^1 D0 F7 ^: Y% Y) J( C5 I
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ' J/ w7 n9 |( [- ^3 I. q$ |( `
  544. ; and change docref_root to the base URL of your local copy including the6 q& Y  i7 b6 h+ t
  545. ; leading '/'. You must also specify the file extension being used including
    6 F: j2 }) w* |" F  d
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which7 q5 h) P7 q% z
  547. ; case no links to documentation are generated.& t1 J( V  E/ Q2 ]% M  k# n1 H
  548. ; Note: Never use this feature for production boxes.3 n+ ]& a# f( C0 M* O2 L. w1 F
  549. ; http://php.net/docref-root$ r# ^7 X0 P. e3 |$ F
  550. ; Examples  d9 A' e" ?9 d: ~2 O4 J
  551. ;docref_root = "/phpmanual/"' [9 s: A$ U) f. f

  552. $ p) b$ J/ T. Y; R$ @# |6 v9 w* p
  553. ; http://php.net/docref-ext- n2 [, h! K* O
  554. ;docref_ext = .html
    # R  ^, v2 X% e; J" E8 F$ s3 }1 P1 `! R
  555. 5 `$ v* _0 l3 ~" L& i
  556. ; String to output before an error message. PHP's default behavior is to leave
    % D8 e  e/ @6 ]. z( ^' J
  557. ; this setting blank.& g& u6 N# P  h
  558. ; http://php.net/error-prepend-string
    7 P0 V( m( r. ^9 S/ n
  559. ; Example:
    + Q9 J: c/ V" s* J9 l8 I, x. J! D
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    - ^# ~! N/ R" g+ v9 Z2 ^: h% {

  561. 5 C2 f2 y' D* N
  562. ; String to output after an error message. PHP's default behavior is to leave7 n3 B* u4 j0 |! V
  563. ; this setting blank.
    % r1 U" X0 ~0 L" S6 d/ U& D- q/ b
  564. ; http://php.net/error-append-string4 _4 C' r& a- X( v* x% v
  565. ; Example:( P0 J' R: l" O2 n# F! \$ i
  566. ;error_append_string = "</span>"1 T1 o  F" L: Z2 {2 B- X3 H, K) [

  567. $ [) P1 _" s" d' l7 @
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    " X, N3 ~; x1 k* U6 z" B
  569. ; empty.
      N0 ?5 t4 L; `% J" D
  570. ; http://php.net/error-log1 _% w0 P: A4 J
  571. ; Example:
    * z3 [: K5 A$ ]  T8 z9 x
  572. ;error_log = php_errors.log
      F9 f9 E; [$ w3 W* s9 N- O
  573. ; Log errors to syslog (Event Log on Windows).2 J8 o2 N; n6 H; S! }( F* e
  574. ;error_log = syslog' `4 a7 C; u6 c5 c& H

  575. " g! l2 q; X: }3 F  Q5 x$ |
  576. ;windows.show_crt_warning
    1 R+ R# B/ _8 Q2 H
  577. ; Default value: 0
    . @8 Q( i! C4 C. m  \$ h2 f
  578. ; Development value: 0
    % d" ~! u7 E' p1 G( T
  579. ; Production value: 03 f0 s; x# j; o. d7 i1 x* u$ E% q

  580. / O* r' B& d4 L& y& O
  581. ;;;;;;;;;;;;;;;;;
    % [: Z) b( P% |2 F
  582. ; Data Handling ;. ^6 u' `, K: j; m( Q
  583. ;;;;;;;;;;;;;;;;;
    . h0 m& z; f9 S% H, M/ h! G

  584. : h' ]8 b1 y, z2 U" w/ J
  585. ; The separator used in PHP generated URLs to separate arguments.
    + i( q" w- L+ V0 m5 A9 M
  586. ; PHP's default setting is "&".
    7 E* M" C$ N8 I4 W* o# Q( T" l
  587. ; http://php.net/arg-separator.output
    / u; E8 X' V2 W9 N# ]' g* r
  588. ; Example:
    ) |# \. i& h6 Y/ M. U8 H
  589. ;arg_separator.output = "&amp;"; b* _2 O1 B- b3 m% b5 T4 V7 h! V
  590. : _% z: q% s5 J3 E2 q
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ' A3 U# ~3 @5 Q  H
  592. ; PHP's default setting is "&".
    # \% ~3 X/ b8 p9 s* ]' z
  593. ; NOTE: Every character in this directive is considered as separator!: T& N& I( o$ X, v
  594. ; http://php.net/arg-separator.input
    & I; c; F. B+ {8 Y4 K; r
  595. ; Example:1 l, Z: n# a  C
  596. ;arg_separator.input = ";&"! Q, f# b# O! J3 b' x! j( l% b, Z+ n
  597. # e: g  ~! W3 W1 u! M
  598. ; This directive determines which super global arrays are registered when PHP0 k( z2 I3 k+ {$ p3 ^; i4 L& q6 B
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ( r  M  j6 f% Y6 J
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty& z, [5 p0 h; b3 F. q: t
  601. ; paid for the registration of these arrays and because ENV is not as commonly; d  `1 U- @5 r* v# o: {: b! ?
  602. ; used as the others, ENV is not recommended on productions servers. You3 V9 j, x2 g0 e. L; M. B
  603. ; can still get access to the environment variables through getenv() should you
    3 X9 h6 p. p$ h/ H+ D% Z0 j
  604. ; need to.% K  t/ F) N) J, }0 b
  605. ; Default Value: "EGPCS"
    6 f/ s( Y  g- o) @+ O! D
  606. ; Development Value: "GPCS"6 g, n$ H* u5 w* ^+ c7 F
  607. ; Production Value: "GPCS";
    ; o) J* \9 M5 b( p9 j
  608. ; http://php.net/variables-order
    ( h1 m% O2 _) v) S1 z
  609. variables_order = "GPCS"0 U9 X! h( ?% @

  610. : X! @) J5 M! Y) W6 W1 O" k; r
  611. ; This directive determines which super global data (G,P & C) should be% A* m- C/ h' p; v
  612. ; registered into the super global array REQUEST. If so, it also determines( {3 R9 E1 D5 B7 E, M( z
  613. ; the order in which that data is registered. The values for this directive
    & e" A) c/ q4 H4 a0 d
  614. ; are specified in the same manner as the variables_order directive,( B0 P2 |* n; g' V
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set7 q! d9 y3 Y6 o0 Q; U+ e' M9 M) m
  616. ; in the variables_order directive. It does not mean it will leave the super: m  S% h: \$ K# t9 l! w
  617. ; globals array REQUEST empty.
    / k( _# x: f# R7 F$ N
  618. ; Default Value: None# l& r( i$ i6 k
  619. ; Development Value: "GP"" T$ j1 g4 U0 H# d
  620. ; Production Value: "GP". k# x/ G$ N3 Z  f4 D  U
  621. ; http://php.net/request-order! ^3 Y0 Y2 C0 G2 D5 _; p
  622. request_order = "GP") h- M7 Q$ q8 l- J
  623. . j2 ~* l3 S- D9 {
  624. ; This directive determines whether PHP registers $argv & $argc each time it, @# r' \  A( c5 o: }7 z* Q# |
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script9 K0 g5 Q) Z5 J0 S. r+ t
  626. ; is invoked. $argc contains an integer representing the number of arguments
    7 F' I0 s# M  Z" A! `1 L
  627. ; that were passed when the script was invoked. These arrays are extremely
    5 K8 T( w" D% S: [! `2 x
  628. ; useful when running scripts from the command line. When this directive is
    * K. @/ j4 F  F4 i) c
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    4 [( g2 }: U" M$ h: i( O, o5 I. q4 N5 u+ N
  630. ; a script is executed. For performance reasons, this feature should be disabled5 S2 z9 `' L7 H7 t8 e$ I# h* R
  631. ; on production servers.+ }0 L: V0 k/ ^, k. P
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( x7 z& \2 V' L; c# v
  633. ; Default Value: On$ G( n% f! B' e3 a2 \
  634. ; Development Value: Off. g9 B: P; z8 {0 W3 P+ L/ Q) s. o
  635. ; Production Value: Off
    ' k, w* c/ r6 a- Y+ A% b7 p; ~- Q
  636. ; http://php.net/register-argc-argv
    . C5 m, _  o( C' r5 t( Y9 d# Z
  637. register_argc_argv = Off( s# V+ h* K$ t+ z
  638. 2 x" X7 h/ `$ J6 Z# _9 Y% G
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    & U; R1 V! u7 m4 j
  640. ; first used (Just In Time) instead of when the script starts. If these; A5 t, ~5 `2 P9 r7 C- d. t
  641. ; variables are not used within a script, having this directive on will result- \1 u  Z1 k# U% W( G" f
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ; \2 d( B8 w7 B! J0 x) m- x" P
  643. ; for this directive to have any affect.
    , [. V- e& N$ T; U9 b1 P
  644. ; http://php.net/auto-globals-jit( X) K# [/ L7 u7 ?7 p4 }0 M: g  u
  645. auto_globals_jit = On
    . M! O: Z  j) R; x0 e/ x/ y

  646. & `5 L: V$ k+ f% @7 U
  647. ; Whether PHP will read the POST data.
    + u5 E7 `. p( s
  648. ; This option is enabled by default.! U5 `+ u$ Q3 p, N* U
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ) P& Y: W* H# u. K9 @! k& g2 P
  650. ; and $_FILES to always be empty; the only way you will be able to read the' e: M& u3 V: Q$ X0 T5 Z/ L
  651. ; POST data will be through the php://input stream wrapper. This can be useful" y1 \4 _, [' e( `" m4 g9 b$ c! M
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.8 L  U4 y7 h  B
  653. ; http://php.net/enable-post-data-reading
    ! r3 \# M) x1 }9 C: p( f; W
  654. ;enable_post_data_reading = Off4 ]$ i6 e, B# a

  655. # L$ |# i5 E  Q) E1 H, e
  656. ; Maximum size of POST data that PHP will accept.8 ]# X& M1 r$ N1 E' A
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading4 i* v/ ?$ M; l. r" h- J
  658. ; is disabled through enable_post_data_reading.7 c7 F. {+ q( f
  659. ; http://php.net/post-max-size
    ! H: ], P% Z  C2 a9 P
  660. post_max_size = 50M; f7 t2 Y% e6 |+ U

  661. - H7 ~6 q5 G: j, S
  662. ; Automatically add files before PHP document.
      r& {8 U/ s1 h9 C" X
  663. ; http://php.net/auto-prepend-file
    8 `, K$ W' j+ `  P
  664. auto_prepend_file =
    ! J# s/ |' H! V9 ~
  665. 2 y$ k8 C5 g; x% A! j
  666. ; Automatically add files after PHP document.# Q6 S2 f) ]: q! z+ V- @; z% C
  667. ; http://php.net/auto-append-file; ~1 b: b9 o  J. x
  668. auto_append_file =
    ' k+ h, h$ e2 e, v- R

  669. 4 P- d( Y+ N$ t* S( }& f6 V2 ^
  670. ; By default, PHP will output a media type using the Content-Type header. To
    . L9 d# f1 e7 D0 S: T
  671. ; disable this, simply set it to be empty.
    / \* D& T! O8 T: I7 K# V) O
  672. ;
    3 ^% m' O% `+ W* r* ^" ]8 b( m+ p
  673. ; PHP's built-in default media type is set to text/html.
    ) G0 [3 k' I! ^' \- E2 i4 s
  674. ; http://php.net/default-mimetype
    1 l' o+ u( P" a/ A3 m  ~! d
  675. default_mimetype = "text/html"
    ( c/ b( w1 J3 M

  676. 8 f, D4 S2 W% U$ H
  677. ; PHP's default character set is set to UTF-8.
    1 q  J5 R- S9 ]% J% M: w
  678. ; http://php.net/default-charset
    : g( y) G) K5 F& T9 f
  679. default_charset = "UTF-8"
    0 s, L) j, K0 R( N5 _9 A) C
  680. & S2 u% y: d, o
  681. ; PHP internal character encoding is set to empty.) ?  `/ _* V2 @, {: t
  682. ; If empty, default_charset is used.
    5 A; w8 R% d' V
  683. ; http://php.net/internal-encoding
    7 p5 S6 k2 S5 h$ I
  684. ;internal_encoding =
    9 \% {+ F/ N4 x
  685. 4 k! e/ ~3 U6 E8 d3 H5 d/ L5 b
  686. ; PHP input character encoding is set to empty.
    - v2 J7 o- n9 Z. U, }5 L0 k8 n3 n
  687. ; If empty, default_charset is used.: ~5 r7 @! I9 w) i
  688. ; http://php.net/input-encoding
    1 {1 C4 K' }% ]) O  m
  689. ;input_encoding =7 ]0 Z  y! j8 l4 k0 f, w

  690. 2 g: o7 h) k# B! n" g
  691. ; PHP output character encoding is set to empty.5 M3 {4 w9 X/ L
  692. ; If empty, default_charset is used.
    2 k+ `$ e1 o" e" N* ]4 ?1 X
  693. ; See also output_buffer.
    / k' T& B" C: ]- P
  694. ; http://php.net/output-encoding
    5 F) f. E; l( `1 ?
  695. ;output_encoding =
    ; A6 @. G& n: W7 S' J" e

  696. , {! ]- p5 M3 J) B, ^
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is. }+ L# T& c4 L
  698. ; to disable this feature and it will be removed in a future version.
    1 }: r* g9 O  O3 [! Z/ N6 z6 @
  699. ; If post reading is disabled through enable_post_data_reading,
    ) ~* `6 _+ W! c- Q+ X; W2 ]
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.$ [1 Y) m  @( Z/ T; p# D8 J3 A
  701. ; http://php.net/always-populate-raw-post-data
    ! b" n( ], @/ s: J
  702. ;always_populate_raw_post_data = -1
    + J0 c; b1 j* C7 J3 y% A

  703. 5 v) q3 B+ H+ }, h" |
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;% M7 Y! ~! `* w
  705. ; Paths and Directories ;( }0 ~) {; R; V9 g+ {
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    + I* o6 U  U  m3 q2 B& l1 `
  707. 8 ]5 [2 ~8 }( }5 \  ]+ w1 P+ E
  708. ; UNIX: "/path1:/path2"
    3 S" K( O4 x0 y$ P
  709. ;include_path = ".:/php/includes"; _  \2 V4 h3 T' ?
  710. ;; {& G- x$ [4 \$ Q( w& U
  711. ; Windows: "\path1;\path2"1 m, L! S! i/ F8 ^+ n7 W
  712. ;include_path = ".;c:\php\includes"
    % k+ g% [2 X+ N9 w8 L5 n0 l5 K
  713. ;
    * H' G* [) @  [: q3 L: [
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"  n: c8 q) E# q5 g7 @3 |
  715. ; http://php.net/include-path$ Q- Z1 R4 o3 F" G$ t

  716. - J) W% W) h7 ]8 s
  717. ; The root of the PHP pages, used only if nonempty.) e/ R* Z  h! C
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root0 {; U. b$ f$ r" w) M
  719. ; if you are running php as a CGI under any web server (other than IIS). i+ P5 f# [. X6 C  m
  720. ; see documentation for security issues.  The alternate is to use the
    2 r' O/ v" J4 u1 u" L# p
  721. ; cgi.force_redirect configuration below
    , g1 D! \1 q1 A, U) h, p
  722. ; http://php.net/doc-root# @: u2 j/ H4 p! U0 y
  723. doc_root =% M% M' w9 t4 v
  724. ! F3 Z5 i- ?9 p$ m2 ~! A- J, x* _/ }
  725. ; The directory under which PHP opens the script using /~username used only
    8 c+ z7 X$ [$ m
  726. ; if nonempty.
    + K! m& F% J4 |' o
  727. ; http://php.net/user-dir$ N8 `  U  i- @; [! Y- v. h
  728. user_dir =6 j' A3 d2 W+ K( L/ b

  729. 7 H) }5 P6 g* O, d4 P4 L2 p
  730. ; Directory in which the loadable extensions (modules) reside.
    ! i1 r3 d+ @$ j: H
  731. ; http://php.net/extension-dir
    ' w) M% q. H4 w. N6 ^4 }( ]+ y
  732. ; extension_dir = "./"
    0 P! {- g% c4 N2 \6 o6 n
  733. ; On windows:
    3 D, Z0 E. \$ g# r+ l& n6 Y1 ^
  734. ; extension_dir = "ext"
    8 D+ X3 H' |* ^) D7 U

  735. ! n+ r, k. I% q* K1 ~
  736. ; Directory where the temporary files should be placed.
    5 x' E3 n* [& D3 B1 A& [
  737. ; Defaults to the system default (see sys_get_temp_dir)+ Q7 x& e0 P2 H0 H, v
  738. ; sys_temp_dir = "/tmp"+ X7 N* k4 y# v+ U

  739. ( U8 D1 V4 W' ~) t
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    , L7 S. x7 j  u2 Q
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically: t1 j& G* O$ S
  742. ; disabled on them.% s3 y6 X/ @0 _7 @9 P2 U
  743. ; http://php.net/enable-dl
    1 m) j! X8 b# L+ ?8 e5 _- j+ e
  744. enable_dl = Off! k. P0 b- [' I; G; x  K
  745. ! a+ F6 d; C' f
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ; c- T" `4 O8 K1 ^
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    0 ~- F6 T# T9 A. m, m0 C5 Z, g
  748. ; turn it off here AT YOUR OWN RISK5 x$ C6 g$ L: B4 ]0 L' U1 o
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ( O( l, `% w) Y  d3 l
  750. ; http://php.net/cgi.force-redirect/ [! Y* n) x3 X; s: ]$ _
  751. ;cgi.force_redirect = 1' |0 A* V" r$ u1 A6 h

  752. 9 y' n# i/ Q# z
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ! l8 I$ q4 V- S7 v* c7 `3 w# g; ^
  754. ; every request. PHP's default behavior is to disable this feature.5 `. V2 L* V" `$ I4 a
  755. ;cgi.nph = 18 T, D$ {( U2 }

  756. 2 f% o5 B) Z, S  @
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape9 z& H3 G0 Z+ [' n, S" x
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP% u5 I" V* U7 ~' c+ O
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ' j0 d9 p# S; F6 y: ]- z2 I5 b; w
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    / K6 u& k% O9 _+ `; {
  761. ; http://php.net/cgi.redirect-status-env
    2 m& u1 i. a0 P* {
  762. ;cgi.redirect_status_env =
    - g  O( X( K4 |
  763. 8 d2 ]9 d; r6 t
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    3 u) x2 M% Z% u0 \! ~. U
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok% m4 C  R' }% D( B. T
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting0 h& Y' C5 J! U$ j
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting6 M& f$ q. T( w3 ~/ x
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts; {: O' `- c( k* K) b! {0 w
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.$ f! r4 B- H+ @. T
  770. ; http://php.net/cgi.fix-pathinfo/ u) O7 q2 H) `* ~6 v4 A2 K
  771. cgi.fix_pathinfo=11 C; @; D% k) E3 g' L4 J
  772. - N& T; K" P3 E. H; y# h
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    & @7 k" K& F' e* X2 h/ T
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    + v+ H( g! X# n& n( W
  775. ; http://php.net/cgi.dicard-path6 g) [6 R6 J1 b# ~3 A
  776. ;cgi.discard_path=1
    " U9 r! Q& a8 a8 n! s. W
  777. 6 F% t/ \5 z# Y; ]6 |2 @% k, q
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate* k0 i" X# T, |! Q( z6 G2 u
  779. ; security tokens of the calling client.  This allows IIS to define the
    5 d) N5 [2 k0 H, E& _5 ^
  780. ; security context that the request runs under.  mod_fastcgi under Apache$ L  M7 N0 N! v, L3 \! `& e
  781. ; does not currently support this feature (03/17/2002)7 M' m9 R/ F7 ]" o& f4 i' f9 V' c; @
  782. ; Set to 1 if running under IIS.  Default is zero.
    2 B# e- W2 C+ @  Q+ H- X/ D( v8 \
  783. ; http://php.net/fastcgi.impersonate5 ^0 D- r; N$ }/ K
  784. ;fastcgi.impersonate = 1* j2 f$ C" Q/ y2 S; [* W
  785. 3 ^  f- d: p5 \- \: C
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable! J  `6 i! T$ d5 b5 s. p
  787. ; this feature.
      D/ ]  r, E4 r
  788. ;fastcgi.logging = 0
    ) M- o$ M- L, e* o) J$ j3 Z) d3 ^

  789. 8 P) Z* Y$ v" u7 }; k- \
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    0 I" @/ j$ G) T  n# W8 u0 b; q
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    " E0 {4 z  n; ]! P' E' M0 ]
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    + G: ]# S2 X5 a' V2 k' b
  793. ; RFC2616 compliant header.
    9 U7 R- q( B; `, {2 Y
  794. ; Default is zero.
    2 v) ]9 u. h( \0 r8 Q* y* X
  795. ; http://php.net/cgi.rfc2616-headers
    ( i0 r+ D7 C' H3 l
  796. ;cgi.rfc2616_headers = 0# [5 l5 \4 K* O4 K

  797. 1 {3 g; X- x6 X" }
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    4 @1 `7 G7 ^/ f9 ~( S! q; o
  799. ; (shebang) at the top of the running script. This line might be needed if the
    % |- k7 g' I- E4 ~3 V; S5 x' P
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ( M# f$ O: I9 u; {' N
  801. ; mode skips this line and ignores its content if this directive is turned on.
    " Q0 k- _  |: S* Z5 `5 h7 Z$ J# K
  802. ; http://php.net/cgi.check-shebang-line9 E% f/ R; `8 C9 g
  803. ;cgi.check_shebang_line=1
    % ^5 z, _* M3 t- v( \8 R
  804. ! Y. a& T/ M" ~4 x" [4 J: j& K, t% \8 }
  805. ;;;;;;;;;;;;;;;;
    8 n3 k1 a: }/ G! g
  806. ; File Uploads ;
    % Z( ^5 ]3 @, ^& d+ i
  807. ;;;;;;;;;;;;;;;;
    $ T1 ^$ X) o4 A6 u% D

  808. 9 P- E3 E3 y5 o" T7 _3 V$ Q' S
  809. ; Whether to allow HTTP file uploads.% r3 x1 F- O  u( [# O& S' P2 @- [
  810. ; http://php.net/file-uploads1 e$ W3 D9 D* U" `# `
  811. file_uploads = On
    + P' d' ^. l% m5 U: p4 r. |' T
  812. 1 Z3 T  c3 J. m' k% f/ U
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    . K; s4 z9 @0 [0 W# {2 ]0 x6 C0 _
  814. ; specified)., z/ l' n2 N4 N/ S+ E
  815. ; http://php.net/upload-tmp-dir
    3 e, f' E4 X9 \  N
  816. ;upload_tmp_dir =$ A* x" G3 X: d, y7 F7 M
  817. ' \" i" g) e) H: H% y: P6 V2 M5 J1 y) U
  818. ; Maximum allowed size for uploaded files.
    $ G# h" L4 t6 A  w1 Q
  819. ; http://php.net/upload-max-filesize
    4 \/ h$ o+ ]* |' A
  820. upload_max_filesize = 50M0 M) t: c$ ~9 P2 F$ U
  821. $ @, K! q; A+ z+ y6 D
  822. ; Maximum number of files that can be uploaded via a single request
    * ^3 [1 A2 `( V# [; B- K& G
  823. max_file_uploads = 20+ v; r; T4 k7 W, z/ B3 o' @( O1 Y

  824. + |; \8 I2 A5 j* P4 N2 M& I) h8 D
  825. ;;;;;;;;;;;;;;;;;;
    $ N- v6 M( Y# r9 Q; T6 {1 w
  826. ; Fopen wrappers ;
    ! M0 ~; q. @$ L3 e' G; {1 h9 L
  827. ;;;;;;;;;;;;;;;;;;/ U( w- @& Z+ G9 j% ~+ m
  828. ) r/ P/ U' j! b
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.- {/ E2 n! ~% R
  830. ; http://php.net/allow-url-fopen
    ! {; o5 i0 S7 A2 i
  831. allow_url_fopen = On, O: ^- @! {9 n. J3 J8 G, A4 \
  832. ; F0 J8 Y% m5 A8 y% x
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.. D8 o) ~( F" Y
  834. ; http://php.net/allow-url-include
    / K$ @+ J3 a1 i
  835. allow_url_include = Off" H9 @: q8 K* y5 o1 d* M. [1 k

  836. % \7 F# }; P$ w& {4 v; C
  837. ; Define the anonymous ftp password (your email address). PHP's default setting& d; I- H, z' d
  838. ; for this is empty., N/ ~, L% [! J* G: T
  839. ; http://php.net/from
    % T) K7 D5 ^- h0 A; f
  840. ;from="john@doe.com"
    5 ?' u3 ?6 Z8 \5 q/ \/ o5 ?
  841. " I3 q/ W8 f& J$ t, q
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    9 W* q( P7 m% E- o7 l; v) {; o/ L" [
  843. ; http://php.net/user-agent
    ( k" m" k; p3 D+ o" E: q
  844. ;user_agent="PHP"4 Z/ [! ]5 A, k" f& K
  845. ) _  e: e, i0 P7 u
  846. ; Default timeout for socket based streams (seconds)
    : S$ u+ Y; }: A) o1 X' ^. v
  847. ; http://php.net/default-socket-timeout
    0 ?4 I" Q0 \& @" H1 }
  848. default_socket_timeout = 606 p/ t6 d8 u) Q2 x$ \9 e: h
  849. $ s7 \! x# c* I: v" Q4 i: q
  850. ; If your scripts have to deal with files from Macintosh systems,  B9 \9 Z8 ^$ ~- [- M% g6 b
  851. ; or you are running on a Mac and need to deal with files from
    , N; m4 B5 t3 i* j9 ?! p
  852. ; unix or win32 systems, setting this flag will cause PHP to
    6 E% C- u% s' k! z  Y/ H
  853. ; automatically detect the EOL character in those files so that
    9 m- W6 ]" g; B6 C
  854. ; fgets() and file() will work regardless of the source of the file.
    ' ]5 ]8 l/ O( ?) l  u
  855. ; http://php.net/auto-detect-line-endings; X( J9 J& [4 d( M4 n4 y2 @/ g
  856. ;auto_detect_line_endings = Off$ g8 O" d/ u8 L9 J+ @

  857. 6 e$ ?& g& U: M" a+ f8 O% x
  858. ;;;;;;;;;;;;;;;;;;;;;;
    7 b% K# Y8 r% t% G0 S
  859. ; Dynamic Extensions ;- p% A, f5 U/ X7 s/ `' G2 e
  860. ;;;;;;;;;;;;;;;;;;;;;;
    # L: D3 R3 X0 I1 E

  861. ! k5 h  D( A( @" x
  862. ; If you wish to have an extension loaded automatically, use the following* z$ F( S; Z& b% E% E! L
  863. ; syntax:" Z- C, o" t6 h. ^
  864. ;
    ) [' P) f0 b& s7 I
  865. ;   extension=modulename.extension( L/ R( H# b3 ?9 ]. J5 D2 t6 _
  866. ;! M2 n1 x& q0 l4 O
  867. ; For example, on Windows:. c( `5 K/ d2 h. L/ ]/ c; p
  868. ;! ~9 y- e2 r- L5 M& ^: X. R
  869. ;   extension=msql.dll
    2 m/ W  a* ~! e6 a
  870. ;6 O6 ~# H$ m" l; c: R/ T
  871. ; ... or under UNIX:
    0 C6 V; Q. S( t& r- X" |
  872. ;
    ; ]; K; P2 P' ~( V+ b  \( j' E
  873. ;   extension=msql.so. g6 b9 o4 E" \
  874. ;
    % r: U. G) ?+ z: B0 |* O
  875. ; ... or with a path:
    - W8 S, C9 w0 t6 J4 a) n# p0 Y
  876. ;
    * c/ a4 m* X4 q5 O5 @2 U8 {2 L
  877. ;   extension=/path/to/extension/msql.so4 L" P. x: V) g! i1 x: l
  878. ;
    ) k0 V2 u* B* L$ o& d. i: Z4 J* o
  879. ; If you only provide the name of the extension, PHP will look for it in its
    % w! |, A3 p, w0 s- i
  880. ; default extension directory.7 f. F$ p8 V; c3 i" Q2 q9 r
  881. ;5 L) o$ I6 Q- \8 z. `) I' S
  882. ; Windows Extensions
    + Y/ x" ^1 [( x* P
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    7 p2 D+ R& O/ y/ ?4 \- z
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    : N* ?( g: ]- X2 ?  j+ B
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).( p3 L3 R' {* U7 M
  886. ; Be sure to appropriately set the extension_dir directive.
      }# d! p5 O3 V; C- x( V
  887. ;% ?9 L0 N: ?# k% _, b
  888. ;extension=php_bz2.dll
    5 V/ C, X7 Q: L6 ~; c& [' y5 q* @9 a
  889. ;extension=php_curl.dll
    4 k0 l3 Q" S) g! V/ L8 [& A
  890. ;extension=php_fileinfo.dll3 r+ F5 \& B  y2 j; K0 G
  891. ;extension=php_gd2.dll
    4 n7 P1 e0 P- \  |' h8 w0 r1 Q/ b
  892. ;extension=php_gettext.dll! ~- d: `0 @1 x: k" C  m
  893. ;extension=php_gmp.dll9 ~4 I, \9 B4 ~% A! ?6 R
  894. ;extension=php_intl.dll
    & V6 [9 q5 n" b) [- X+ [
  895. ;extension=php_imap.dll
    . C' q& J+ e; P9 y
  896. ;extension=php_interbase.dll
    8 g  Q5 b' Z& q. M5 d
  897. ;extension=php_ldap.dll
    ( v/ ~' m3 U  j1 I" J$ J' R
  898. ;extension=php_mbstring.dll+ y. [& [& S- O  u0 g9 Z
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    6 L1 D& r2 Q6 a1 C& R
  900. ;extension=php_mysql.dll
    + e# D1 ^$ q) {: Y' j$ p
  901. ;extension=php_mysqli.dll' x9 k3 F" W  L7 }/ k
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client- [% t4 r: `# s  C% M5 ~
  903. ;extension=php_openssl.dll9 H" K2 I  o0 w# M
  904. ;extension=php_pdo_firebird.dll
    * X5 P  Z& p& y% J/ Z1 U
  905. ;extension=php_pdo_mysql.dll( T2 T% G8 \# W" F1 u$ G
  906. ;extension=php_pdo_oci.dll6 ^8 Z. {& N5 @, o
  907. ;extension=php_pdo_odbc.dll
    3 T9 \, [9 M3 q9 F
  908. ;extension=php_pdo_pgsql.dll
    6 U# u; j$ z' t+ W! K# v4 T
  909. ;extension=php_pdo_sqlite.dll( G" W: J) T9 ]5 ?6 s. a5 e! A5 b
  910. ;extension=php_pgsql.dll3 s) x. X, x7 }; Z! N! k$ Y6 U- {" _
  911. ;extension=php_shmop.dll
    9 p6 t$ Q# o, h* q1 S. _# t" Y
  912. / B' t" f5 `; C% v0 ?# t
  913. ; The MIBS data available in the PHP distribution must be installed. % Y  w" L# Q. p: |; Z
  914. ; See http://www.php.net/manual/en/snmp.installation.php $ l# h% l" B1 S: a; d) q$ O! E
  915. ;extension=php_snmp.dll
    0 {! v- y1 h- F

  916. ; k" |( u$ m' b% b* L. A; l
  917. ;extension=php_soap.dll1 f; }8 |) I4 j8 ?0 r3 I
  918. ;extension=php_sockets.dll
    9 Q2 ?" j7 z9 v5 [4 W8 s4 K
  919. ;extension=php_sqlite3.dll( }( m5 V0 o4 M' z% ]
  920. ;extension=php_sybase_ct.dll, S1 R" E/ n* {# b) c6 h
  921. ;extension=php_tidy.dll
    6 Q' r8 T' n: g  C/ J
  922. ;extension=php_xmlrpc.dll) ~- m/ v5 x* }( k+ t" {5 \  ~) Y
  923. ;extension=php_xsl.dll- m* v* l& T+ f7 ?- ?$ h1 w
  924. / C, _; k% |! z5 s' H/ k
  925. ;;;;;;;;;;;;;;;;;;;* M& Y% O; B# h( g; }
  926. ; Module Settings ;4 @1 p& d6 e1 ~" \9 l1 v; ?
  927. ;;;;;;;;;;;;;;;;;;;5 L1 c, I* C  m3 w$ K- S4 b- J
  928. : I# V- ^1 x8 F" O
  929. [CLI Server]
    + l, u' P7 h# V2 C6 I: B& }" c1 x
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output./ }! C. r; \2 o* N* `& E
  931. cli_server.color = On5 M! O. \. G9 O8 K* T5 u
  932. 9 ~* ~6 C- e) z$ b
  933. [Date]- e4 A: ~2 J7 A
  934. ; Defines the default timezone used by the date functions1 r; I% D* y4 d7 }: z- L5 D$ G4 f: n' J
  935. ; http://php.net/date.timezone' W( b8 L3 \5 u8 K* W
  936. date.timezone = PRC
    1 Y! I$ a; f2 f: K( |/ d

  937. ' N0 o3 t9 E* `3 m5 h, P0 Z4 |
  938. ; http://php.net/date.default-latitude0 i' I3 W4 W5 {! ]( U
  939. ;date.default_latitude = 31.7667
    8 \( [3 H3 K8 B* J* l/ r5 {
  940. 8 q. K: U1 i' t1 @+ w: ?
  941. ; http://php.net/date.default-longitude
    : Q- e# l6 ~9 M7 ^5 w
  942. ;date.default_longitude = 35.2333
    , b. e3 W2 B' @; o

  943. 8 c. K9 r* g/ a+ G0 ]1 u
  944. ; http://php.net/date.sunrise-zenith) H# {) h" c2 l
  945. ;date.sunrise_zenith = 90.583333- f& k3 N9 i8 r( y: r- |

  946. 8 [% H4 M2 y; |2 F
  947. ; http://php.net/date.sunset-zenith4 F. U# R9 \3 E
  948. ;date.sunset_zenith = 90.5833338 u; C: I* `+ ]% [( T- J

  949. 9 |+ D$ F2 p& E" k& i( G; `5 W2 \9 }4 a) D
  950. [filter]
    & c5 `! _0 n" G* l! T/ j
  951. ; http://php.net/filter.default9 X; b5 `: C3 L. \! o5 p+ h( `( O0 N
  952. ;filter.default = unsafe_raw
    4 J, Q! E. A* [3 ~# O+ U4 T
  953. ' j9 L8 [% w: x* e0 U( m6 |2 |
  954. ; http://php.net/filter.default-flags
    % F5 R7 z% ?8 J# f
  955. ;filter.default_flags =
    - q. K4 |; g1 ]" O8 J

  956. - J8 g. r. U# {# |0 a
  957. [iconv]
    8 F& l: f  H9 c3 v
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.; w0 P: j; A. _, Y6 a2 X' ]% C
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    " y5 }- M6 N2 A" P! D  x( h7 f
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    0 `9 z2 Q( `- t* |. e  B/ u
  961. ;iconv.input_encoding =  n1 m5 E: C6 r7 f

  962. 9 P- R) z  d2 h5 v) x: C0 k
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    : F$ G0 z$ {/ r, B
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.% |7 ]/ L. T" H; v
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    6 ^4 S( o* q6 R5 h
  966. ;iconv.internal_encoding =
    " [7 Z" p6 l% }7 o/ m

  967.   t8 d0 D& B. f- P" D
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.. l+ j8 f5 \( w- K- {+ T
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    % `  k0 _! o( B
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding4 \9 I6 {; n* s  \
  971. ; To use an output encoding conversion, iconv's output handler must be set
    8 p2 p& }  R) v+ H2 s9 A
  972. ; otherwise output encoding conversion cannot be performed.
      d3 i9 X; h# Y5 i. o
  973. ;iconv.output_encoding =0 c; R0 V  Y' k5 j! C8 }

  974. % {. i- i8 R5 t9 \' Y7 B8 C. W% M! W
  975. [intl]
    2 W$ N; w6 }, E% B1 g
  976. ;intl.default_locale =; M& z: A4 o1 n9 ?9 ~4 O, t
  977. ; This directive allows you to produce PHP errors when some error
    5 M1 a: z( z! a( g7 R
  978. ; happens within intl functions. The value is the level of the error produced.1 h& I6 @2 N" @: v5 v( j+ b
  979. ; Default is 0, which does not produce any errors.  F. s& H% _* r+ K
  980. ;intl.error_level = E_WARNING
    ( R) ^; g( ?' c* J
  981. ;intl.use_exceptions = 0
    & N7 @. T4 U# H* H% s

  982. # l% _5 |( p2 q4 |0 m, G
  983. [sqlite3]
    " T2 t+ \  j5 e2 w& y% q
  984. ;sqlite3.extension_dir =# H! u  V3 A5 I! I5 P4 `* D
  985. 5 S. a* m$ Q& N% A0 s" N
  986. [Pcre]
    " E* @, H, t0 H# j8 }7 I7 ^) v3 ^
  987. ;PCRE library backtracking limit.% ^( }! T2 j4 ~# |
  988. ; http://php.net/pcre.backtrack-limit9 X5 a7 H- d' O5 m2 L2 W: f
  989. ;pcre.backtrack_limit=100000
    % I. j7 ^& g# g8 u: h
  990. 1 [" J. S2 M3 o; \2 D8 a# s2 E
  991. ;PCRE library recursion limit.
    2 S4 A; _/ c9 N# w) p
  992. ;Please note that if you set this value to a high number you may consume all
    ' m- M! T+ V' a
  993. ;the available process stack and eventually crash PHP (due to reaching the' O6 O' C: N- I, @+ d
  994. ;stack size limit imposed by the Operating System).
    ) ~# d9 W* g4 I" x' E
  995. ; http://php.net/pcre.recursion-limit. N) V8 y# M; S' i7 W2 z: l+ ]
  996. ;pcre.recursion_limit=100000
    . d8 U4 t9 b) S4 n0 X! w
  997. ! f& n$ V% ]& O% e8 B! {
  998. [Pdo]9 n- }0 r  Y) G
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off", {( r  ^* x: J8 E
  1000. ; http://php.net/pdo-odbc.connection-pooling
    & w; ^0 H# R; ]) l5 a
  1001. ;pdo_odbc.connection_pooling=strict
    6 X( ^- j6 R/ e. x# s7 j$ y# s

  1002. 6 ^# a. M  e8 f/ H+ P! p
  1003. ;pdo_odbc.db2_instance_name( N" Q0 w! Z* B7 u5 v2 s; O  n
  1004. $ N4 M* {& ^& C" l0 z" G
  1005. [Pdo_mysql]
    9 X# L. \3 J1 R+ q% y4 ^1 g7 k
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! V5 p  q$ H$ P% _
  1007. ; http://php.net/pdo_mysql.cache_size
    : @+ p6 e! U% k( A; V
  1008. pdo_mysql.cache_size = 20009 l8 c! ], i. K+ D, Y- \

  1009. + e6 a4 x* H/ I) y: s) B' ^  @
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in# a4 i0 |' f% p  o* l' X/ m7 w9 L
  1011. ; MySQL defaults.# {/ D7 u5 d( |6 m
  1012. ; http://php.net/pdo_mysql.default-socket" G8 \, q& i' o& w
  1013. pdo_mysql.default_socket=
    * x! t. V0 ]. ^% }
  1014. + Q9 W. [, Y% \' [0 _( j) U! ]! Q
  1015. [Phar]
    8 c; }8 Z: Z; E8 I0 ^
  1016. ; http://php.net/phar.readonly
    4 j- y  L( k7 b# z9 Y( N# C% ^2 M6 E& L
  1017. ;phar.readonly = On
    / l2 @+ g- y' t! j1 I

  1018.   T8 J+ Q! b, \# M: i
  1019. ; http://php.net/phar.require-hash
    # S8 `0 V0 @( h8 i
  1020. ;phar.require_hash = On4 s9 g& Q# I' @) m/ k9 c. o
  1021. % X4 I- N6 Q. f/ w8 \
  1022. ;phar.cache_list =
    + h$ a% [2 k) ]1 D
  1023. 6 |7 v! M8 q" w3 x" Q
  1024. [mail function]! J4 ~, C$ L8 V+ v$ k0 R! R
  1025. ; For Win32 only.5 _( \) [5 g8 Q3 q
  1026. ; http://php.net/smtp( ^$ w/ Q# L0 x9 T' j% @& K
  1027. SMTP = localhost9 @$ T2 w! J. d/ E5 A- [
  1028. ; http://php.net/smtp-port% o4 O5 s4 |" v/ l
  1029. smtp_port = 25
    ; W$ ]. I. E+ F/ c$ i
  1030. # B$ x$ d/ [$ N' E6 e  f$ g
  1031. ; For Win32 only.9 S! s6 j, g, i8 R
  1032. ; http://php.net/sendmail-from) c5 r% o4 c2 m
  1033. ;sendmail_from = me@example.com: K! _# D0 @% X+ j

  1034. 2 t" F; a1 |8 E
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    & l) j0 D1 J) w- A9 Y, h6 j/ k: h
  1036. ; http://php.net/sendmail-path
    2 ~' l. s6 p* M! X# R  c
  1037. sendmail_path = /usr/sbin/sendmail -t -i  w* E) I8 a2 t" J9 l8 `0 I% C
  1038. 0 Z+ H$ e6 [5 f! M- K) C  c" b# J
  1039. ; Force the addition of the specified parameters to be passed as extra parameters, f9 ?& w0 x6 u# ?9 w+ Q
  1040. ; to the sendmail binary. These parameters will always replace the value of
    $ w4 a* y, p0 D; w+ e
  1041. ; the 5th parameter to mail().
    $ }2 n1 k8 H# l( t& ~. x0 {6 I
  1042. ;mail.force_extra_parameters =
    ! D% d+ l- V: j) G6 s
  1043. 9 k, i# H( f( k- o8 c/ v! a
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename% U4 ~: L5 l2 l# t, g  _
  1045. mail.add_x_header = On+ E- r. g, r7 F* C2 m

  1046. ! s$ A4 \- v6 ]" ^$ ?8 V
  1047. ; The path to a log file that will log all mail() calls. Log entries include3 T$ X$ F5 S% X0 T% v, c3 s+ o
  1048. ; the full path of the script, line number, To address and headers.8 z8 T: a% I; h, ^) d
  1049. ;mail.log =1 d" E9 M! X# e
  1050. ; Log mail to syslog (Event Log on Windows).
    ( B2 U& P. X/ d! S" |
  1051. ;mail.log = syslog  M) P3 g2 Q  ^' k- Q

  1052. : v% f6 b2 I: F6 q
  1053. [SQL]
    & l9 F+ y0 V: N; e9 G
  1054. ; http://php.net/sql.safe-mode! `, O1 e; u, l3 A/ Z
  1055. sql.safe_mode = Off
    ' G4 i9 B/ H5 \! M) {

  1056. ' t2 n4 u8 G. R8 a4 f9 b
  1057. [ODBC]
      K( @4 Q: b+ l! r
  1058. ; http://php.net/odbc.default-db3 G2 e# B! h2 V! c4 W! R
  1059. ;odbc.default_db    =  Not yet implemented& `2 T. N/ b8 C. v- p5 X3 ], v

  1060. : ?; t$ E) l1 ~, B
  1061. ; http://php.net/odbc.default-user
    % Y% J, m! r9 s# q( p( M! \
  1062. ;odbc.default_user  =  Not yet implemented9 G4 h, D2 {/ ?) `! }! @$ l1 n

  1063. 2 ^7 P; p! }$ R# q7 L2 t; A
  1064. ; http://php.net/odbc.default-pw+ z- W. C' B# q
  1065. ;odbc.default_pw    =  Not yet implemented
    5 {# P, g4 C( K0 v  s* L

  1066. / j! B' p; N# v9 y- U
  1067. ; Controls the ODBC cursor model., ?6 F5 U9 u4 O0 ^3 j+ N6 G8 o; @
  1068. ; Default: SQL_CURSOR_STATIC (default).; Y  k( u8 N! V& Z1 @0 c
  1069. ;odbc.default_cursortype4 y/ F& B5 l! ^' \; @
  1070. 7 ?2 b  M6 F( N) N2 t
  1071. ; Allow or prevent persistent links.6 Z2 G/ u* O9 _: j; F7 U  _8 ]* l3 y
  1072. ; http://php.net/odbc.allow-persistent
    3 g7 R! q6 y' L7 }  p! c* e. K9 j
  1073. odbc.allow_persistent = On: D" b* O7 f: P( W! i% O4 H0 V
  1074. 8 I  `/ A/ L# Z2 b
  1075. ; Check that a connection is still valid before reuse.6 b; J6 K/ h6 i
  1076. ; http://php.net/odbc.check-persistent
    / c: S# k1 W6 h4 g0 T! E
  1077. odbc.check_persistent = On" I) Y  G3 z3 @! q1 }+ M( Z
  1078. 7 R  u5 R" v9 n4 f7 @
  1079. ; Maximum number of persistent links.  -1 means no limit.2 q0 v6 ^" a6 n5 Y9 ]
  1080. ; http://php.net/odbc.max-persistent
    / p2 x9 p" F3 e9 Z4 W" P6 ^( _: H/ N+ {
  1081. odbc.max_persistent = -1
    $ \# _' e. x4 q0 `9 ~- e8 z# ]

  1082. 2 A6 e% X% [5 T4 C1 P
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; j  O+ `* k  K! @$ t9 @. ~6 `
  1084. ; http://php.net/odbc.max-links
    & d  C8 P$ `0 b4 o
  1085. odbc.max_links = -13 H% y( W& x  y! h( `
  1086. % o7 T# J/ X# k# b
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means& \4 h: G# X( f# o5 u4 K- {
  1088. ; passthru.
    4 z; \* B6 ?2 ?$ k% U' |
  1089. ; http://php.net/odbc.defaultlrl
    1 B& H1 r+ [5 h6 y+ E
  1090. odbc.defaultlrl = 4096
    ; n# N' Z: b4 s$ E$ U( R
  1091. 3 m6 S9 y. n" L$ G( e- F6 g) y
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.- e& \  t0 F8 K1 v* A, m
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    / G# r* D5 c" g8 ]7 D. j
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode6 G) I6 i7 Y& p
  1095. ; http://php.net/odbc.defaultbinmode
    / m1 K* u. `  g$ Q: S& j5 T
  1096. odbc.defaultbinmode = 17 B3 \2 N' q) l, I% ~

  1097. % w9 u0 N# l& @
  1098. ;birdstep.max_links = -19 g  W3 i) L9 {( o# v5 G# p7 B- t
  1099. % r. w* t# S% c' w
  1100. [Interbase]
    7 b6 e$ c5 C" }9 w
  1101. ; Allow or prevent persistent links.
    / e& {. |. }! E  D
  1102. ibase.allow_persistent = 1/ a6 Z# ?4 w$ a

  1103. # w4 j$ \" u3 S& ~3 \; \
  1104. ; Maximum number of persistent links.  -1 means no limit./ S- u1 M9 c& r/ I
  1105. ibase.max_persistent = -1  K4 R. Y) r7 [6 C. u
  1106. 6 x6 I, P% ?2 p! U4 m
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 y/ L' g- R; M6 [, `9 {7 a
  1108. ibase.max_links = -10 @6 `) o: z8 ?0 A- {& N

  1109. ( |7 j  g) f$ F. Y' `4 z8 [- d
  1110. ; Default database name for ibase_connect().
    9 `! r+ A% |1 \* ~
  1111. ;ibase.default_db =1 R8 g2 Q- ?' x" H* M& S
  1112. 6 D3 H5 P# j* C5 X9 U0 u( O: y
  1113. ; Default username for ibase_connect().
    * C  f3 l2 U3 j4 J" w$ h
  1114. ;ibase.default_user =, @, L) c2 `# Y* \1 D+ i
  1115. / Y, q) k! R4 Y2 U* W
  1116. ; Default password for ibase_connect().
    : S3 O! {; p1 v: q, _9 o
  1117. ;ibase.default_password =
    # `1 B) Y5 z( E& o7 E: d/ N
  1118. . `: B1 |& W& Z. _0 z
  1119. ; Default charset for ibase_connect().
    / o# C, r  s/ |! _/ ]
  1120. ;ibase.default_charset =# U  i+ p1 w: S0 b% a" j$ w

  1121. 3 g& A5 T7 T  \5 w
  1122. ; Default timestamp format.& I1 ~+ d4 _! m+ V
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    & m) O, [4 A. j/ E1 I; o& U9 \# o

  1124.   e! n6 O4 {' a
  1125. ; Default date format.
    8 h1 X3 B  j, F# p9 v+ V
  1126. ibase.dateformat = "%Y-%m-%d"
    ( R, n. ^& n. e' S3 X; A: y
  1127. : j* \3 R! B% Q" o  ^& ]
  1128. ; Default time format.- W, }5 }" y* p' ]9 J& e
  1129. ibase.timeformat = "%H:%M:%S"/ k: m2 m5 v+ R/ ?; ^- F2 J

  1130. 8 B6 H6 K" _( T5 S0 T% ]( K
  1131. [MySQL]
    2 R. j8 r9 g. c. y6 ]1 p# `: O6 |
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements/ N" ?7 I6 j7 l+ i2 `
  1133. ; http://php.net/mysql.allow_local_infile4 g0 Z) Q/ F9 {
  1134. mysql.allow_local_infile = On
    . o. V: j. _1 `

  1135. % n9 O/ n+ C5 V# y$ N& X+ w0 {
  1136. ; Allow or prevent persistent links.  w9 O, d/ T4 T! v  U3 l
  1137. ; http://php.net/mysql.allow-persistent# ]8 E5 \4 p& T* r$ b
  1138. mysql.allow_persistent = On( f8 n& b' I" y3 n9 `- m
  1139. 2 ]/ V! T2 p; Z8 O( e' v% i
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    * Y3 b* M/ T4 l# j
  1141. ; http://php.net/mysql.cache_size
    # N5 v4 b$ z$ F" \
  1142. mysql.cache_size = 2000; s- w" C: h9 D$ X& m$ B  S

  1143. 0 w! I, Q6 S9 q7 s% ?1 r
  1144. ; Maximum number of persistent links.  -1 means no limit.
    3 D/ V7 C; f' i1 m, J
  1145. ; http://php.net/mysql.max-persistent
    0 O2 r4 q9 n: }' l5 i
  1146. mysql.max_persistent = -1
    # O% ^  d8 X8 C- ~' n
  1147. - c* R3 c: R, w, U4 b2 z7 h/ Q
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      U4 e+ I# e% l5 f
  1149. ; http://php.net/mysql.max-links
    - l6 D# S5 j/ P
  1150. mysql.max_links = -1
    & J, s  H# F$ C4 r1 W5 @

  1151. + s7 S& ?5 {0 q* {  E# l9 f6 N
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use4 G; s& [: s6 C9 H  I9 _! J
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    $ z9 w0 r: q7 J% G! q- ^$ Y
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    0 ~2 O- w: s% I6 {
  1155. ; at MYSQL_PORT.
    ; W, c$ R" O- o* U0 n
  1156. ; http://php.net/mysql.default-port
    , `/ R. q& l' B; A8 }' Z
  1157. mysql.default_port =' y# L( v) M5 _
  1158. 1 H/ z. R$ k$ X3 i! y
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; M5 J) l4 E0 n1 l2 s" k: }% K3 F
  1160. ; MySQL defaults.
    , N3 j4 v* ]$ L5 @* y% d
  1161. ; http://php.net/mysql.default-socket
    : l4 [- u0 ?% L: Z3 S' \
  1162. mysql.default_socket =
    5 O; L  D. _# U1 K1 S

  1163. + q! h" @- H  }# c  C6 q
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    - h7 k0 l" m( A  M' j: L
  1165. ; http://php.net/mysql.default-host( ?2 {6 }% f7 j5 m" B
  1166. mysql.default_host =9 w& ]: s8 f' g/ A7 ^2 |3 ?

  1167. " n! x$ s7 Z" N/ M- A! m$ ]9 W
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).! G5 v. c5 P6 X; }+ T7 C
  1169. ; http://php.net/mysql.default-user
    8 i& Y+ i& J, }  b) r3 q/ p8 p
  1170. mysql.default_user =
    $ e2 P. F0 N1 R/ S
  1171. / w4 H  R$ }: `1 B  }& o( U( j# {
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).* V; F7 _( I5 L3 }1 H# M
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    2 {# L8 M% |2 J
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    2 \' c: z! S1 `* [3 X6 C0 }* `9 ~7 q
  1175. ; and reveal this password!  And of course, any users with read access to this& d0 f( Q2 ~: [- {  P% K
  1176. ; file will be able to reveal the password as well.
    # {* {* C' X: r- h0 R
  1177. ; http://php.net/mysql.default-password! Y9 _: G# n' K$ T
  1178. mysql.default_password =' j; @6 ]+ W  j3 q

  1179. / p8 g& K# k$ Y9 `
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
      N* L% ]( Z' j4 g- k: m7 J& n2 D
  1181. ; http://php.net/mysql.connect-timeout% O- V0 G8 Y1 m* S3 p) q7 g; k  v
  1182. mysql.connect_timeout = 60
    & y2 s3 m8 k/ I1 `
  1183. & y9 l+ G! k' Y* _7 }! M* I
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and. Y: t( P' D( D) E
  1185. ; SQL-Errors will be displayed.
    - ~" Z& q- I6 f0 C
  1186. ; http://php.net/mysql.trace-mode2 C6 J: j: k4 g
  1187. mysql.trace_mode = Off) ?2 v) o1 N; A7 O: z
  1188. ; {! j) [+ X3 u* _
  1189. [MySQLi]0 H2 F. n( N+ m6 u, Z) q
  1190. * g' \- O9 z0 |
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ; Z: V9 _5 u/ C6 @
  1192. ; http://php.net/mysqli.max-persistent
    ; c9 R5 r5 X5 |% D
  1193. mysqli.max_persistent = -1
    & t, }% d6 t( f2 ]! H) i% i

  1194. ! K5 G& @/ t# p; R
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements  }7 I9 w# G4 M( Q0 H: u# N$ g
  1196. ; http://php.net/mysqli.allow_local_infile) ^; i) l$ o7 {/ p5 N. X" k7 }
  1197. ;mysqli.allow_local_infile = On- V( b/ z; ]# ]1 E- V
  1198. 8 `& i' Z4 S) B' E8 b8 D
  1199. ; Allow or prevent persistent links.
    ( g+ S  Z0 W1 V# @
  1200. ; http://php.net/mysqli.allow-persistent
    ( ?5 ?$ {) D' Z
  1201. mysqli.allow_persistent = On0 \5 p' j+ b! C

  1202. 5 u& s8 N: P2 {) d
  1203. ; Maximum number of links.  -1 means no limit.
    6 [& o1 V, D/ _- P5 w' y
  1204. ; http://php.net/mysqli.max-links! [! z: y3 D% c: ~- j3 w$ `7 L
  1205. mysqli.max_links = -18 z, z5 O+ Y- Y5 E+ n' ?

  1206. ' \4 {0 i. @$ w7 f6 O* o6 P
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # P; [( n* p- K6 b# c
  1208. ; http://php.net/mysqli.cache_size% Q" B0 {, p: b# J6 Q5 S9 v
  1209. mysqli.cache_size = 2000
    . h, R+ }4 l* _9 |: I
  1210. 7 R% `' R, z+ ~+ ^% o# L: v1 h
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use: P/ i9 K9 C+ O' n0 l7 i' Q
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the, q8 M# D% W4 G6 c2 l, D; X. y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look$ i! |* X5 i2 q* W
  1214. ; at MYSQL_PORT.
    $ p% I, ^" \/ W
  1215. ; http://php.net/mysqli.default-port+ I5 X) X7 B. ?0 s$ w6 u# s2 X
  1216. mysqli.default_port = 3306, g- R! Q& W' p7 ?
  1217. ) S$ s. _# s0 h. ^6 C
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " T/ {( f6 _8 e& H& ^, r: ?" r" A- s
  1219. ; MySQL defaults.
    4 c* t1 R& ?: D
  1220. ; http://php.net/mysqli.default-socket7 F7 l! F7 g. N( W: {" y
  1221. mysqli.default_socket =( q2 t) F$ P3 r. P0 Q/ U

  1222. 3 D% D+ |  f/ ]" n: [
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    % ~: A' `. |) L7 A7 Y- W
  1224. ; http://php.net/mysqli.default-host+ p- N+ I+ s9 p. X3 ~
  1225. mysqli.default_host =
    4 c/ t. q; }. ~
  1226. 8 m/ j' q* z# [1 _0 L, [
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).2 E1 \  ~' I  l9 r8 x
  1228. ; http://php.net/mysqli.default-user/ Y& u! S5 V% ]( _2 ^  g
  1229. mysqli.default_user =
    ) f3 o& W, K, Q+ P0 b" o
  1230.   r& B% @3 G( z: N3 w4 c' `
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    3 a1 P6 l1 f* H. c* q6 P5 o0 g
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.; r) _' k+ e' _! D4 K
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ' A/ w+ Z, X: r0 x1 f
  1234. ; and reveal this password!  And of course, any users with read access to this
    ; O4 `% `+ Y3 c6 ~
  1235. ; file will be able to reveal the password as well.) U% _1 q- M/ G0 ]* R
  1236. ; http://php.net/mysqli.default-pw# }! \* c4 \' {4 h) F3 A( g# C
  1237. mysqli.default_pw =6 M# \! F- S) ^8 Z0 w# J
  1238. 4 Y  K/ a/ b1 D9 ]+ V  d, S, r
  1239. ; Allow or prevent reconnect, o" N) {+ a9 M
  1240. mysqli.reconnect = Off
    1 ^" E0 c6 ?& R1 L( s

  1241. 0 ^3 ~& e- m$ H
  1242. [mysqlnd]
    . h1 {9 I! T0 C2 y: y5 n
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    1 X7 C$ F! _+ [* F4 @* W9 s% r
  1244. ; used to tune and monitor MySQL operations." _* q4 {3 x" Y$ b  r
  1245. ; http://php.net/mysqlnd.collect_statistics+ w* M& ^$ e5 `2 w0 N9 {4 P
  1246. mysqlnd.collect_statistics = On
    " y& R; B3 D% V4 ?9 K, b1 g4 W
  1247. 8 D8 X6 U; v; R9 `6 h$ d
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    0 Q7 U3 P5 T2 O0 q+ ^0 u
  1249. ; used to tune and monitor MySQL operations.1 S0 o. k/ v3 [
  1250. ; http://php.net/mysqlnd.collect_memory_statistics9 t$ ^* X4 R2 ^8 R0 _' U- a% v
  1251. mysqlnd.collect_memory_statistics = Off5 ^* N. t& I8 a. v* H

  1252. 2 w& _. W1 i8 T$ v9 M' y
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    & _- \) K, o7 C1 V" [1 |8 `
  1254. ; file.7 X" A' {1 j& |$ Q* h9 b3 l! K
  1255. ; http://php.net/mysqlnd.debug
    5 y) Y  H* M8 D
  1256. ;mysqlnd.debug =* C& ~' ]- P4 s$ j6 b) ]

  1257. ) T/ @/ [& y2 o- s. Z
  1258. ; Defines which queries will be logged.
    4 I- ~8 o/ t  E
  1259. ; http://php.net/mysqlnd.log_mask
    ) t$ P8 X* d. R+ ?, l
  1260. ;mysqlnd.log_mask = 0) f& b7 [. f8 W+ E1 Y% W

  1261. 4 X3 F  d. }* U, \; Z8 U5 i$ M
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    " y/ a" |( [0 A; S5 s. D
  1263. ; http://php.net/mysqlnd.mempool_default_size9 a+ Z- j& U6 N6 ^9 j( z/ n
  1264. ;mysqlnd.mempool_default_size = 16000
    ' S: ~) v9 u  ?

  1265. / v+ b' T1 M& M8 a
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    4 h5 n- R3 L, A  F2 ?7 n( v* Y
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size) g9 V4 b1 c( F  H4 t
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    / K2 C$ x) _3 C* B6 g8 c" S

  1269. ' U* n( x& V# ~) u$ B% |
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ( z: `% |5 M; c; K7 E3 a
  1271. ; bytes.
      i7 p3 w5 E8 ?
  1272. ; http://php.net/mysqlnd.net_read_buffer_size- \/ i# b+ \7 ^
  1273. ;mysqlnd.net_read_buffer_size = 32768" O3 I" p" D9 d5 O/ m) E' D" h
  1274. # D2 y/ B' Z, y2 `" m
  1275. ; Timeout for network requests in seconds.5 o" J: }2 B9 d0 f" i
  1276. ; http://php.net/mysqlnd.net_read_timeout
    & i" S% r+ |0 `9 f+ f% r2 c
  1277. ;mysqlnd.net_read_timeout = 31536000
    & t# P& M. ^" H4 `3 N
  1278.   @( P  T8 B7 ?2 G8 [' I; i
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA+ w- j4 j9 s) a  O8 M3 C
  1280. ; key.
    ! I  R+ i+ S  v7 k! j7 |4 N* K. V
  1281. ; http://php.net/mysqlnd.sha256_server_public_key' c& J- W7 Q( S0 [8 ^4 c" T
  1282. ;mysqlnd.sha256_server_public_key =
    . V: o# Y8 a* p' g; |0 Y- k( o

  1283. $ w$ O7 a3 c. {( T: W# U
  1284. [OCI8]" s" e2 n: n2 _7 @' J$ I( i5 ?+ F! t

  1285. 5 N) K1 z% U( i5 s; D; S0 D7 a
  1286. ; Connection: Enables privileged connections using external
    2 F4 d# _" _- Y9 A, h
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)! Z( r8 s2 A/ R8 U. q7 h
  1288. ; http://php.net/oci8.privileged-connect. Y5 h5 t+ n2 H8 T
  1289. ;oci8.privileged_connect = Off
    * w1 J3 r! G9 O* S. ~7 q

  1290. ! R5 `6 a# W% f
  1291. ; Connection: The maximum number of persistent OCI8 connections per, L/ p: ~% U1 u  z
  1292. ; process. Using -1 means no limit.
    5 J, e* L2 L: c+ O8 O2 Y% b
  1293. ; http://php.net/oci8.max-persistent+ P. _; s4 r7 F( P, |
  1294. ;oci8.max_persistent = -1: ?; D: o# b# U% S
  1295. 6 k" {* n: D2 W# J" w0 ?8 D  k
  1296. ; Connection: The maximum number of seconds a process is allowed to/ i+ V; V; x! }; G+ ~( [3 E
  1297. ; maintain an idle persistent connection. Using -1 means idle  y! E- o9 v+ P5 j: w
  1298. ; persistent connections will be maintained forever.: ~( b; f9 s+ H( R- ^" r3 y
  1299. ; http://php.net/oci8.persistent-timeout& n, P' X% _' v) e, |/ e! t% O
  1300. ;oci8.persistent_timeout = -11 Z$ ]/ F! b7 q+ v) y7 X3 G8 A

  1301. 3 a  e* W9 t( O- p: l) h
  1302. ; Connection: The number of seconds that must pass before issuing a/ S$ ^/ X! D6 ?  a
  1303. ; ping during oci_pconnect() to check the connection validity. When
    6 s# E. {1 d$ v# l) m9 h7 e8 r
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables( W/ G, U4 B* m  V, Q2 D
  1305. ; pings completely.
    & q( ?4 m1 ^: c9 K: A4 k  L
  1306. ; http://php.net/oci8.ping-interval
    ( m/ P' Q4 k  l4 }7 j; B# m
  1307. ;oci8.ping_interval = 60& {" @; v! C# b. k1 @

  1308. 7 W* {0 v- n% J: Z- H* k
  1309. ; Connection: Set this to a user chosen connection class to be used
    # i; c9 u* G9 S: F, h9 X" U7 U
  1310. ; for all pooled server requests with Oracle 11g Database Resident- O+ y( [% W1 @: _" o
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to0 S! s2 }9 ^6 F: T" b4 c
  1312. ; the same string for all web servers running the same application,
    ( y1 P. Z0 [% P0 Q: C# e
  1313. ; the database pool must be configured, and the connection string must3 X; n  g0 S" s. j$ L. b+ A3 u
  1314. ; specify to use a pooled server.8 B! P$ j* a/ V; _
  1315. ;oci8.connection_class =
    ) w6 b- m9 d5 i; w

  1316. ' m! m# |% U  |0 @2 K% G! ?/ [
  1317. ; High Availability: Using On lets PHP receive Fast Application
    7 M8 S2 m# |7 r. l
  1318. ; Notification (FAN) events generated when a database node fails. The
    9 V( w  f! ?: Q1 Q. O) }% l. W1 Z
  1319. ; database must also be configured to post FAN events.2 p9 L/ u& b4 N4 ^  {9 h
  1320. ;oci8.events = Off
    1 ?6 `3 \+ n1 d$ O' a6 Z
  1321. ( H% a' N, c% l7 K9 b5 s
  1322. ; Tuning: This option enables statement caching, and specifies how
    . ~4 n) d0 f7 k, a
  1323. ; many statements to cache. Using 0 disables statement caching.& \& U; X8 `. A9 C: H
  1324. ; http://php.net/oci8.statement-cache-size
    * g/ \& ?# v1 d3 m/ F% j
  1325. ;oci8.statement_cache_size = 20, H3 S, d, k& b7 D
  1326. - N' l' X* u7 K; @  \5 r1 E
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    , E* |" e9 F2 I- p( Y" n8 y
  1328. ; rows that will be fetched automatically after statement execution.
    ) x% P& W/ l( c: `( w0 t" B* m! ^
  1329. ; http://php.net/oci8.default-prefetch0 A8 y: L; F& x5 w
  1330. ;oci8.default_prefetch = 100/ j2 R6 I5 ~  k& N* A
  1331. 9 e( f# J- b# C( p+ j- u6 J8 F- h
  1332. ; Compatibility. Using On means oci_close() will not close6 w' `( |) }1 q* j* I+ E
  1333. ; oci_connect() and oci_new_connect() connections.% F: H6 u" S$ J- U
  1334. ; http://php.net/oci8.old-oci-close-semantics& J, N& h) {9 H) _: O- M8 q. x- @
  1335. ;oci8.old_oci_close_semantics = Off3 g$ n* V, t8 `9 a7 [

  1336. 7 e6 ?5 \& n( X7 q" t- ?" o, j8 |! a1 s
  1337. [PostgreSQL]1 b8 @! v, s; i, A" L5 e# S% V# h% G* o4 f
  1338. ; Allow or prevent persistent links.7 V, V) y3 ^; Y% v- k; X
  1339. ; http://php.net/pgsql.allow-persistent
    4 L! v3 v/ C; L
  1340. pgsql.allow_persistent = On+ e3 E+ h7 p/ j) w# b# w/ `9 D" @
  1341. 3 y  d! S3 z* F3 H- S) ?' l6 g* n
  1342. ; Detect broken persistent links always with pg_pconnect().4 z& {0 D. J' R. N
  1343. ; Auto reset feature requires a little overheads.
    8 O: W! g+ ^  E  B! ?% K: ^
  1344. ; http://php.net/pgsql.auto-reset-persistent
    6 Z1 Y6 F" X/ I- R1 y/ e  R( O
  1345. pgsql.auto_reset_persistent = Off$ Y' s# F2 o* z' ]1 A6 }# {

  1346. 2 k8 v+ b2 ~( D1 x6 [
  1347. ; Maximum number of persistent links.  -1 means no limit.$ |5 P( Z3 l/ e+ W& q3 `/ e! }
  1348. ; http://php.net/pgsql.max-persistent( L4 T' @) ~2 V7 Z
  1349. pgsql.max_persistent = -1
    " g8 t' F% T# M, v: ~% @# j2 ~

  1350. " u; w) b5 w: Z- `
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ' x9 S% a% [' s0 V! E
  1352. ; http://php.net/pgsql.max-links; `* G  p( J% g) l/ R/ J3 [& D
  1353. pgsql.max_links = -1
    7 b% Y# k4 t, N- k# I4 d0 w

  1354. ; B( Y5 b$ f; m
  1355. ; Ignore PostgreSQL backends Notice message or not.8 G% D  B9 b: `3 _4 q. g, Z
  1356. ; Notice message logging require a little overheads.9 B8 A! h# E9 h/ L
  1357. ; http://php.net/pgsql.ignore-notice; s) N4 A# a# r( \' K# a& @7 P
  1358. pgsql.ignore_notice = 0
    ! v+ F# k  u9 u9 ~4 a+ Q. p

  1359. * m3 i0 i1 J3 v# n+ o, ^) ~4 e" W
  1360. ; Log PostgreSQL backends Notice message or not.
    8 x" p8 H- g! w& N6 |7 M
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    4 O2 T- p  s: x/ m- T9 B
  1362. ; http://php.net/pgsql.log-notice
    ' X0 R( X" M+ Z2 ?8 x$ _
  1363. pgsql.log_notice = 01 k) Y1 Z. Z9 N

  1364. ) J' e& Y, y" q/ R
  1365. [Sybase-CT]3 @/ z2 x; N) ^$ G( }8 ~* G
  1366. ; Allow or prevent persistent links.
    $ m  a- H6 E5 X6 a5 j4 S) d8 G/ X
  1367. ; http://php.net/sybct.allow-persistent$ d: P5 e0 y& u. u0 \% {) I
  1368. sybct.allow_persistent = On# o  \2 E% j* v' r8 e3 o2 M) L

  1369. 4 H: d3 l& T0 z+ s0 U# M3 C+ `
  1370. ; Maximum number of persistent links.  -1 means no limit.
    . h" q+ U3 v# N) [
  1371. ; http://php.net/sybct.max-persistent
    . T9 P( u' G1 b7 @1 s
  1372. sybct.max_persistent = -1
    / x& m1 @" h! n' i- M  U; v

  1373. 8 F# F. ?5 `% O6 H) H
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! }8 A2 O' J9 G6 T
  1375. ; http://php.net/sybct.max-links
    % V. x; O+ x6 H% a! F8 b5 k# |5 o. o
  1376. sybct.max_links = -12 H  w. n4 ?" k& V! M! a4 V* o
  1377. 8 Y1 H& e0 b) F8 Z. }
  1378. ; Minimum server message severity to display.
    # J2 G8 k; c- b5 m1 a; Y8 @6 q
  1379. ; http://php.net/sybct.min-server-severity6 a/ W: ?; R! p+ h; _2 {- a
  1380. sybct.min_server_severity = 10
    ! o/ g6 Z& J$ T1 F! _% d
  1381. - ~5 ^, P% g+ m# V! e
  1382. ; Minimum client message severity to display.
    7 l- d. S6 P% S# q+ U
  1383. ; http://php.net/sybct.min-client-severity" ]0 L! w2 B  ~4 ?
  1384. sybct.min_client_severity = 10
    0 d  ~4 \; S5 v, n1 o

  1385. . F' l5 M' R/ L$ V. ^; l
  1386. ; Set per-context timeout' f7 M& t9 z. Y* u2 m' T
  1387. ; http://php.net/sybct.timeout
    ; a) O1 k. M+ L& x; O/ q: l5 @. u
  1388. ;sybct.timeout=
    5 B$ H: k% a- J9 @. m1 O) b

  1389. # y) t. U4 Y0 r) e! ]
  1390. ;sybct.packet_size
    $ Z0 P7 @/ S& ~- C7 x6 A! y

  1391. ) C. {3 K! O! |, u
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.0 t1 j/ L( m& ^* y% g+ p3 g0 T
  1393. ; Default: one minute) e( Q  n( c3 k7 l6 [0 |
  1394. ;sybct.login_timeout=
      x3 v. v4 Z6 H$ D; ]2 _7 [. d. x
  1395. - \. E' T$ x$ l( b7 `- d
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.1 X$ R9 v, z1 P: M* U, b+ u
  1397. ; Default: none
    - I8 ?7 ^7 _# O* S5 a% h8 N. t
  1398. ;sybct.hostname=7 m6 m0 z- r* D" m' [5 t, ~
  1399. - G6 D9 N  Q. g3 w& C' H
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    % u# _8 u( [4 L# Z1 F3 I
  1401. ; Default: 0
    4 W: B0 R8 I. l7 T! C% W4 j$ \
  1402. ;sybct.deadlock_retry_count=
    $ s4 P/ n& E0 Z
  1403. ! [9 J+ U' F" _5 a/ N
  1404. [bcmath]
    % H) A/ t+ i$ \9 p9 h* ?  U
  1405. ; Number of decimal digits for all bcmath functions.
    : V! T% _3 I7 X' h' L) w% y  |+ N
  1406. ; http://php.net/bcmath.scale  c, S7 t! F9 F( {8 R. S
  1407. bcmath.scale = 0
    & d* w8 L) }" I. u6 G0 i
  1408. ( ^" D+ k5 G7 S. W5 k+ s
  1409. [browscap]
    2 K5 K; D) Q( H( v: L
  1410. ; http://php.net/browscap
    ( P3 q# v! h6 b- ~- e3 d3 R4 {5 z
  1411. ;browscap = extra/browscap.ini
    ( R9 w. ]/ m# x- I
  1412. ) D6 n0 O) e1 s6 l0 L! L6 E
  1413. [Session]
    & }$ v% f3 H* d! y
  1414. ; Handler used to store/retrieve data.; E" l3 h3 ]+ v
  1415. ; http://php.net/session.save-handler2 g+ F7 I4 ?, l' D2 Z4 c1 X1 f4 D5 }( P6 ]
  1416. session.save_handler = files
    0 |* S5 U+ v0 G
  1417. : N* p( l2 I, n/ C3 F' _
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    , a+ P. u' e. T
  1419. ; where data files are stored. Note: Windows users have to change this& v9 V5 g( e; \
  1420. ; variable in order to use PHP's session functions.
    ) V9 ]$ L% d6 v, I5 W. z
  1421. ;6 ^6 L3 }5 e4 s* c
  1422. ; The path can be defined as:
    / Y6 ]- q5 B2 S0 w9 ^
  1423. ;
    / I& {5 S  A  F; D7 L
  1424. ;     session.save_path = "N;/path"
    1 @6 |4 s- S% O, r* D
  1425. ;
    $ }- ~2 Z9 R4 N' D- R# j8 B, e
  1426. ; where N is an integer.  Instead of storing all the session files in
    1 y' y( F" J; a3 `
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    4 M) T+ c  p# ]' H
  1428. ; store the session data in those directories.  This is useful if
    ' Z. Y6 q- j+ J: l* d
  1429. ; your OS has problems with many files in one directory, and is( N1 O7 ?( k6 }
  1430. ; a more efficient layout for servers that handle many sessions.7 w2 {1 _1 L% q8 {0 @
  1431. ;
    - r# ]4 q5 e$ |1 B
  1432. ; NOTE 1: PHP will not create this directory structure automatically.0 R9 \9 }8 H6 _* w# V: |
  1433. ;         You can use the script in the ext/session dir for that purpose.* j" I7 H& M" j6 u$ J5 N
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    2 |* _+ x, T( f' W! H+ e  R
  1435. ;         use subdirectories for session storage
    ) f3 K. K; D6 ]
  1436. ;) B4 s. u/ N! S9 ^! Z
  1437. ; The file storage module creates files using mode 600 by default.) Y" p4 P5 P3 @
  1438. ; You can change that by using
    ; K4 l: M$ B! J
  1439. ;0 j  B0 o1 G1 M" e+ z* ]; S" w
  1440. ;     session.save_path = "N;MODE;/path"3 X8 n. z: M/ W  {, p  `
  1441. ;
    9 C  G' H/ l7 |$ x
  1442. ; where MODE is the octal representation of the mode. Note that this
    $ G$ Z; N. G  x9 G: d- ?9 q6 U9 {; J
  1443. ; does not overwrite the process's umask.+ Q- s. L! H. I" ]* c; t/ J7 f
  1444. ; http://php.net/session.save-path
    & S& A! [- P7 U- {
  1445. ;session.save_path = "/tmp"% V  S" b+ g  c" W: {9 ~

  1446. 2 y1 I) c0 t- K9 ^3 S
  1447. ; Whether to use strict session mode.  `& ?0 w9 G$ {8 `: |, N
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate3 j, d4 @# E& {9 B2 g
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects3 X% {( Y" ]; F% b; @' t
  1450. ; applications from session fixation via session adoption vulnerability. It is
    7 \" {% S# c" q# P
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ) k1 F6 n4 k& G/ n* |$ j5 O. Q
  1452. ; https://wiki.php.net/rfc/strict_sessions
    ! `9 B9 X5 O4 j
  1453. session.use_strict_mode = 0
    # p2 |: r# j6 R0 ~- _# P4 L
  1454. / r0 t/ o0 S% `- r! q& d6 [. J
  1455. ; Whether to use cookies.
    2 n7 m9 ]2 @) H
  1456. ; http://php.net/session.use-cookies# z* h! _4 I0 c  t5 R( Q
  1457. session.use_cookies = 1$ s8 B0 H! y* u+ L) ?8 k1 y

  1458. ) r1 `$ t. H9 ^0 H" V6 ^9 D
  1459. ; http://php.net/session.cookie-secure% ~9 P& Y  S) P4 C2 V5 T
  1460. ;session.cookie_secure =! S% o  Q) V/ ?  t: I# x

  1461. * w  V: E9 G5 P) O
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining, H  j( g& e7 i0 D) m- M: i! z
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    8 D" ^# a# s! k8 f/ b6 Y5 @, I, E
  1464. ; session hijacking when not specifying and managing your own session id. It is6 w! ~5 i5 E6 Y
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.$ q9 \* g7 G9 @6 B  Y" A
  1466. ; http://php.net/session.use-only-cookies4 d' g8 u! l" k( U
  1467. session.use_only_cookies = 1/ |+ w; h) V3 [5 U: q
  1468. : H. g  Z6 a0 w4 [
  1469. ; Name of the session (used as cookie name).2 x- h3 j" l. o* ?* p0 D
  1470. ; http://php.net/session.name
    7 T- v6 V' y" f0 J$ E
  1471. session.name = PHPSESSID
    7 V( o4 P1 S& N

  1472. 1 J" Q" `9 A8 N% Z
  1473. ; Initialize session on request startup.1 ~3 `* b' w. R. \) i
  1474. ; http://php.net/session.auto-start
    0 |* C! ], v# x9 j4 O* O
  1475. session.auto_start = 07 o, i7 R$ K" D* o3 X

  1476. . H% ~) D% i6 u0 L/ ~/ B
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.0 {) |+ j/ M3 O$ Z
  1478. ; http://php.net/session.cookie-lifetime% r6 Y6 N/ [8 B: I
  1479. session.cookie_lifetime = 0( e; H9 C# K) v2 F

  1480. ' C/ J* o$ [/ [+ q# g1 `
  1481. ; The path for which the cookie is valid.8 E* L. m1 J9 n& l4 Y1 }, E' l1 D
  1482. ; http://php.net/session.cookie-path
    & L" I; }9 V5 n2 C) b/ G
  1483. session.cookie_path = /
    3 g, z& P, g. c/ X! ~; }- O# _7 w4 x

  1484. $ E0 n) r" m  |* N  \: i
  1485. ; The domain for which the cookie is valid.. c$ [9 e! ]  I0 w; ^. z
  1486. ; http://php.net/session.cookie-domain
    5 F- C4 e* j$ [: I. R* Z
  1487. session.cookie_domain =
    ) a, ?5 P0 O4 p% @* C

  1488. 2 P8 p, b  [% \8 X
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.) S5 m) g% D8 [) E, h  ~" X7 i; v
  1490. ; http://php.net/session.cookie-httponly
    6 ?5 b0 V3 B& T% J3 f
  1491. session.cookie_httponly =8 \3 A/ o+ s$ d; u; B
  1492. ( z( V# A& r& R, j( k# r/ R/ w
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    # R) u+ F. W  w) E, u% A
  1494. ; http://php.net/session.serialize-handler
    2 ?  z: m& c9 o  [
  1495. session.serialize_handler = php# h. X' |7 p. \( Q6 S$ `3 |6 H' j
  1496. " M% e( ?9 v5 b$ m* w7 V
  1497. ; Defines the probability that the 'garbage collection' process is started
    ! g8 Q6 m! {5 R6 T4 X% k1 B
  1498. ; on every session initialization. The probability is calculated by using! F- {) q% ?+ N5 x* T2 |+ x
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator4 p0 T& m4 y! g) h9 d# R
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1% L8 s8 P) c3 A1 t& c' ^
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    - G8 L) h& W: d% ?0 Z+ \9 Q
  1502. ; the gc will run on any give request." b) G9 [1 G. X8 \) B! Z
  1503. ; Default Value: 1
    ( [( a" D: t  ?0 ~' D' ]
  1504. ; Development Value: 1+ }: J+ F; m) H% Z
  1505. ; Production Value: 10 s6 a- y7 k3 m! ?
  1506. ; http://php.net/session.gc-probability
    5 U" i( f0 n4 L# M: t5 \  @
  1507. session.gc_probability = 14 n# E5 n9 F8 Z" \6 q9 s8 X) t
  1508. 1 z, W; P( d, \6 i
  1509. ; Defines the probability that the 'garbage collection' process is started on every7 f( ~3 \" B; E1 D
  1510. ; session initialization. The probability is calculated by using the following equation:
    - r3 R) K( Z6 U8 [  s
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    : s, }2 f' n* z- f) V* V' \+ L% S3 I; a: P
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1" r1 G: @$ Z6 N# X: s: }
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance0 c0 h  ]  O  A+ p2 `. c4 n
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    * A  U/ g1 Z& L) `
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,! a0 I9 {8 I4 g4 o7 J* h
  1516. ; this is a more efficient approach.
    $ m: q( ^7 _9 y  A" r) A; e/ F
  1517. ; Default Value: 1002 K  F/ ?0 D" w8 V+ b6 F
  1518. ; Development Value: 1000$ ^. w7 m/ x% b2 `
  1519. ; Production Value: 1000
    - m+ v' [2 ^: Q& z& Q/ N
  1520. ; http://php.net/session.gc-divisor
    ( K% H) T# A. V! e, @
  1521. session.gc_divisor = 10006 A" e+ V  h  G, Q* z9 g- a& g/ ?

  1522. 9 w) \; A, z# `1 R  a  q1 U2 W
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    / H8 J4 v8 T, W* w
  1524. ; cleaned up by the garbage collection process.# r& H" W; a2 R. w$ f$ _1 s7 v( r
  1525. ; http://php.net/session.gc-maxlifetime# w0 k1 w  Q; n6 Y5 j/ `
  1526. session.gc_maxlifetime = 1440) ^8 V$ ^! {3 P; l2 `$ b4 A( H

  1527. 2 R" S& j* i0 X  ?  B
  1528. ; NOTE: If you are using the subdirectory option for storing session files
      ^/ t+ Y, W' @" |
  1529. ;       (see session.save_path above), then garbage collection does *not*
    & g# g: f8 |+ s
  1530. ;       happen automatically.  You will need to do your own garbage7 d2 w: s7 `  K1 M$ B; P1 b
  1531. ;       collection through a shell script, cron entry, or some other method.
    . R: Y  `7 {: ?# v/ q+ p3 X6 O1 ~' J3 ?' F
  1532. ;       For example, the following script would is the equivalent of% ]/ s) r4 K  H/ N* @; ^
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):8 W' y& |0 }( ~6 u! Z' [* u) P
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    0 d# C  X5 G$ D- z3 T: }

  1535. $ V( R6 J& q0 L" W" ]
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.! F$ S+ c# K! g0 x$ \8 ]5 B  ~& Z
  1537. ; HTTP_REFERER has to contain this substring for the session to be9 {/ n7 A7 |2 S0 U' _! t  p8 _
  1538. ; considered as valid.9 D% c2 Y, x- ]1 M& M8 \3 I  }
  1539. ; http://php.net/session.referer-check, ^% W; v6 o9 C" ^; P
  1540. session.referer_check =) h9 a, ?# I- E  m6 N- J

  1541. # c, V4 K3 ?- i9 s- ^
  1542. ; How many bytes to read from the file." [- k" I, ~3 V: F9 T
  1543. ; http://php.net/session.entropy-length
    / T$ @  Z! P" ^6 }
  1544. ;session.entropy_length = 32
    4 m9 I3 e  V  v' I% ?, T
  1545. / C1 M2 c" n5 M2 a" ?
  1546. ; Specified here to create the session id./ Z. `- O7 O! v# J4 Z# F' `1 U, p
  1547. ; http://php.net/session.entropy-file
    : o! a# k5 v  U) J9 x: P
  1548. ; Defaults to /dev/urandom
    9 l# W& y5 Q3 j/ \9 X
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom: D" _1 |" k$ ?, ]
  1550. ; If neither are found at compile time, the default is no entropy file.
    5 e" p7 {) C- B: T. ]: w" F+ u5 i0 t
  1551. ; On windows, setting the entropy_length setting will activate the
    6 e. R" {: i& l) r7 H; P
  1552. ; Windows random source (using the CryptoAPI)7 ~' Z/ O* e+ {: D8 G
  1553. ;session.entropy_file = /dev/urandom
    & x1 ^* \8 N/ L1 r, {
  1554. # G: o+ Y6 w2 T9 F: J
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ; {# R/ Q& C" B7 a& z  f- G. A
  1556. ; or leave this empty to avoid sending anti-caching headers.
    ; W2 U9 z5 l8 d8 d, O- j
  1557. ; http://php.net/session.cache-limiter  l8 Z7 Z5 ]0 Y! ^
  1558. session.cache_limiter = nocache  a- H/ {" D$ A3 W; {1 K# E* p
  1559. 0 I' [6 w2 b: k; E) N( S, E
  1560. ; Document expires after n minutes.
    3 x. `! {+ d9 Z7 L
  1561. ; http://php.net/session.cache-expire
    , H& ^- A& {2 C2 D. _
  1562. session.cache_expire = 1803 {. S8 e6 v- M9 J2 y5 G
  1563. " h7 N; }4 i% Q
  1564. ; trans sid support is disabled by default." q* t+ r3 y- O5 `. D5 q
  1565. ; Use of trans sid may risk your users' security.
    ) l  @$ }- _  h+ D2 I- r. W+ U
  1566. ; Use this option with caution.
    + m, {9 S+ B/ H- _1 }
  1567. ; - User may send URL contains active session ID
    9 t; a8 {1 O$ U; ~" M
  1568. ;   to other person via. email/irc/etc., Z+ H7 I1 G9 S2 C: g; j6 v6 f- N
  1569. ; - URL that contains active session ID may be stored
    ' f+ b% J1 X  D/ r5 A( r! W
  1570. ;   in publicly accessible computer.
    , b% Q) p/ }5 i- }& D, H
  1571. ; - User may access your site with the same session ID$ W7 ]9 \9 N5 V# x
  1572. ;   always using URL stored in browser's history or bookmarks.% ]0 f; ^  ?% w9 r
  1573. ; http://php.net/session.use-trans-sid
    * D- R6 j* e# e1 H/ C
  1574. session.use_trans_sid = 0
    4 t) b( D' a8 c- L

  1575. 9 G* H4 A8 a0 R
  1576. ; Select a hash function for use in generating session ids.% ?  Q6 ^" |7 s) z' u
  1577. ; Possible Values9 w; O- F$ J0 u9 Z7 ~0 |! \  x; K
  1578. ;   0  (MD5 128 bits)
    6 s: i+ u# M# }# P, g/ K1 @
  1579. ;   1  (SHA-1 160 bits)
    " @" @- u  W' ~$ d: }; Z& \
  1580. ; This option may also be set to the name of any hash function supported by
    , K9 W, y% b3 ?# |) s# D
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()/ J1 q, N- G8 x% F
  1582. ; function.
    ( V/ B& ]& J8 J  r- i
  1583. ; http://php.net/session.hash-function
    9 j2 z1 g7 h5 ?1 f9 W- H
  1584. session.hash_function = 08 W2 {, M1 e4 ?( F

  1585.   x4 A' S: Q( z, ~( o
  1586. ; Define how many bits are stored in each character when converting# X& \8 h- N# p" l4 V  M/ S
  1587. ; the binary hash data to something readable.' F  a' ~" l. p2 M5 x4 e
  1588. ; Possible values:- S0 `! n- O8 o% m; T- }2 G$ H' w
  1589. ;   4  (4 bits: 0-9, a-f)- a2 H4 E" W% {$ y1 _; A' G
  1590. ;   5  (5 bits: 0-9, a-v)
    9 g- C+ W$ j5 F/ g  G
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","): v) Q% E! S2 P5 B. K9 j0 V; C
  1592. ; Default Value: 45 w% @. l- U) b/ P* A# D' F; u: Y
  1593. ; Development Value: 51 \, G; S. b) r* u0 y/ M
  1594. ; Production Value: 5% ?! W9 _" J- E. g7 M
  1595. ; http://php.net/session.hash-bits-per-character/ D1 I" }# d% L
  1596. session.hash_bits_per_character = 5$ u  b+ N5 J' ]8 C% L. Q  k
  1597. 8 m5 \3 _( w5 L: Z. K/ d% y& a6 q
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.) H, ]" l7 W1 }5 y% ]
  1599. ; form/fieldset are special; if you include them here, the rewriter will
      _& e1 w" r* X* Y) V0 t. ^7 i
  1600. ; add a hidden <input> field with the info which is otherwise appended) O/ Z: _2 J, _( y) i
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.) _9 i7 `) O5 N6 E, c# Z1 U# r0 x
  1602. ; Note that all valid entries require a "=", even if no value follows.
    $ o; U3 c) `5 R! p$ I' V/ E
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    % ^6 @8 f- y' l* t5 ^" K9 f
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( G2 E( z2 k! T
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 A' T# B4 |' w9 q  d; J' x1 H
  1606. ; http://php.net/url-rewriter.tags
    # G- ?4 f- o+ O
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    . W6 R; ?. U/ `1 r. o
  1608. 1 L! D! Y0 u9 q
  1609. ; Enable upload progress tracking in $_SESSION9 s- Z, x1 u8 X, _) x# v* a8 B, A
  1610. ; Default Value: On* W/ O2 E! D# p
  1611. ; Development Value: On
    1 }$ z; G+ [; E: w1 J, N
  1612. ; Production Value: On: ?+ |% W$ T0 m: s
  1613. ; http://php.net/session.upload-progress.enabled
    $ I- a8 Z2 d& Q1 f7 a; \: Z& D
  1614. ;session.upload_progress.enabled = On) o1 w2 X* O( H) o
  1615. " m* P) z5 V; M
  1616. ; Cleanup the progress information as soon as all POST data has been read
    8 {% f4 w+ C4 p% X
  1617. ; (i.e. upload completed).
    / W; S  A/ V- \; j5 d
  1618. ; Default Value: On
    5 z+ v: |& p5 K; r% K/ T+ N, a
  1619. ; Development Value: On
    0 n% J) f: w1 W0 {. @
  1620. ; Production Value: On
    , q6 k- N8 n2 k$ U! @7 a& a8 k; x) W
  1621. ; http://php.net/session.upload-progress.cleanup
    - a' p! Y1 a( O# h$ V( ]# \# K: e
  1622. ;session.upload_progress.cleanup = On
    0 i' w8 S; I& ?4 o

  1623. ) b& |" p( H" n+ x! V* A
  1624. ; A prefix used for the upload progress key in $_SESSION" d. `7 z6 }3 s, F+ r/ m8 @
  1625. ; Default Value: "upload_progress_"
    ' W3 g6 Y' P0 i4 J* Q! x3 F
  1626. ; Development Value: "upload_progress_"3 |5 R4 }: I* l' B8 t* Y1 F
  1627. ; Production Value: "upload_progress_"
    $ R% y  p  i9 B- u" _% h2 U/ V
  1628. ; http://php.net/session.upload-progress.prefix
    + s+ N8 l9 x  o; W
  1629. ;session.upload_progress.prefix = "upload_progress_"
    5 v% @; u- P' Z  b

  1630. ' D& |4 F2 O8 l
  1631. ; The index name (concatenated with the prefix) in $_SESSION* I- C# u% W, X1 V
  1632. ; containing the upload progress information! j! d8 t9 t0 Y: `' U) P
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
      X* l6 V6 j; E
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS") h0 s. I4 \5 M5 S5 @% ^% I$ e0 p. `9 R
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 Q  V; e. U3 p
  1636. ; http://php.net/session.upload-progress.name
    ( D7 s& Y3 {4 H$ X6 W+ t% I
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    * N: b4 o2 [# L. J9 M

  1638. . |) r8 T2 `! Y" @
  1639. ; How frequently the upload progress should be updated." d' H% L* ~/ v6 D: c) Y
  1640. ; Given either in percentages (per-file), or in bytes8 u5 j0 a! k9 `$ P* u
  1641. ; Default Value: "1%"
    2 f) o- V. p5 }5 }. }
  1642. ; Development Value: "1%"
    ) v6 P% z2 {4 H+ O
  1643. ; Production Value: "1%"
    ! z4 L3 y7 U, ?" h' Z- s$ f
  1644. ; http://php.net/session.upload-progress.freq
    ! u3 i! ^- N7 M' Y- ~) X  V
  1645. ;session.upload_progress.freq =  "1%"
    - u. R" i# c( h, ?6 n% g% a

  1646. " r& T% d4 V% @' N( z6 i+ l0 h- K
  1647. ; The minimum delay between updates, in seconds
    ; Z% H3 x# p2 x3 {* U* M
  1648. ; Default Value: 1
    1 z; d+ |6 e+ t2 j5 X
  1649. ; Development Value: 1& ^2 x: X: x; t, [5 Q
  1650. ; Production Value: 10 ]& U8 m: U% r: I5 ^
  1651. ; http://php.net/session.upload-progress.min-freq( d: C! R+ {' U/ F
  1652. ;session.upload_progress.min_freq = "1"4 b3 v  L# n5 k; R  L
  1653. 0 b$ C% a+ h/ @7 n
  1654. [MSSQL]. |! H4 T2 q9 @- i5 k
  1655. ; Allow or prevent persistent links.$ _- p/ H, l9 [
  1656. mssql.allow_persistent = On
    5 K" h8 ^7 Q5 m* r0 ]2 |

  1657. / u0 H' K5 O1 \5 w( }( S
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ! S- a5 o. N8 R+ k% C
  1659. mssql.max_persistent = -1# i% |0 j4 `1 v, t# h
  1660. 1 c8 d0 I) m$ M1 s9 ]
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.! u( F* z8 Q& L8 Z, p* A
  1662. mssql.max_links = -1
      u8 @4 D7 R& J: e3 C

  1663. 5 u" a% F1 J8 ?. c! Z: J1 q
  1664. ; Minimum error severity to display., Z! H& q0 v/ l, p  M6 A- M
  1665. mssql.min_error_severity = 10" Z" s' c) h5 O( J1 D* D- p

  1666. 9 C: h$ \/ @5 S9 w
  1667. ; Minimum message severity to display.$ I9 p, X7 z  A# S9 k
  1668. mssql.min_message_severity = 10
    * a! [- Z# p* Y1 v/ ~9 R: n

  1669. ( ]2 O* |+ \% A2 k4 f
  1670. ; Compatibility mode with old versions of PHP 3.0.1 H; p0 z# V0 ]) V
  1671. mssql.compatibility_mode = Off; A, @1 y  `; w' [2 }
  1672. + j/ J% _. ], ~
  1673. ; Connect timeout+ b* X# M% G% ?8 B$ P, ]! S$ {. z. {
  1674. ;mssql.connect_timeout = 55 N/ g3 ~7 v& K: S$ ]  ?/ Y+ ]

  1675. + J- \# ~$ T8 Q8 m4 v3 X, c' O
  1676. ; Query timeout
    / O6 ]" _8 ^6 F" g- q
  1677. ;mssql.timeout = 60
    0 ]5 Z. r3 g/ c! d2 r
  1678. 2 `3 D% L0 m" D1 V3 F4 v2 y) k+ C: Q
  1679. ; Valid range 0 - 2147483647.  Default = 4096." T, P. i, g2 r# n
  1680. ;mssql.textlimit = 40966 m; _" F8 v3 Q; L
  1681. 8 y" ?+ H, q# [4 s, F+ w8 R
  1682. ; Valid range 0 - 2147483647.  Default = 4096.# c& B: r( t- B4 O5 m
  1683. ;mssql.textsize = 40963 _  g7 r+ r1 w% h* H2 b

  1684. 7 v  R- y- o' ?1 j
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    8 p5 Z$ ]/ h# ~3 S) i0 S5 }
  1686. ;mssql.batchsize = 05 X9 F+ V$ c7 g& N* n6 k8 F

  1687. % ]; K! @/ J+ a6 X3 r5 W: l$ T
  1688. ; Specify how datetime and datetim4 columns are returned
    0 ^1 `0 b1 [5 }* K
  1689. ; On => Returns data converted to SQL server settings: a3 F* x' t) u; [$ @( D5 _
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ! ?' S; Q7 t2 [2 d7 A
  1691. ;mssql.datetimeconvert = On* O3 t8 `( i! s* U6 K
  1692. # \. y' Z: M" f. Y1 m. s3 j
  1693. ; Use NT authentication when connecting to the server5 n8 ~* @$ L$ t8 P$ N# ~
  1694. mssql.secure_connection = Off
    ! V4 B  @' P2 v. F; H# Z* s

  1695. 6 L8 V& c- q( Q
  1696. ; Specify max number of processes. -1 = library default
    + X% q1 W; f# k* m" v4 g' v4 v; z9 ]) `
  1697. ; msdlib defaults to 25
    9 B/ y8 K- ?5 N% w4 h* t) E& z
  1698. ; FreeTDS defaults to 4096
    3 r* i* `/ a: q" f! g. O
  1699. ;mssql.max_procs = -1
    & @2 C9 A9 R0 J0 }8 O, e. ]% |
  1700. 7 G) q  a' r8 ^% j( Y! c' y' v- h
  1701. ; Specify client character set.+ S5 N0 ~6 y( U# `
  1702. ; If empty or not set the client charset from freetds.conf is used
    - f: a3 x6 H& }) G4 t$ U2 m6 z4 d  I
  1703. ; This is only used when compiled with FreeTDS
    0 `/ w7 ?' B2 W4 |1 m/ Z$ w7 [
  1704. ;mssql.charset = "ISO-8859-1"
    . W8 ^! Q  R( U& i

  1705. 6 _3 b% P6 O1 o
  1706. [Assertion]$ n2 g; }9 u8 [5 [
  1707. ; Assert(expr); active by default.( h5 c; \- w5 B& l
  1708. ; http://php.net/assert.active
    , K2 o1 u% o; \
  1709. ;assert.active = On
    2 [0 }) a4 ?7 F7 t) g: \- I/ N

  1710. 6 S) T- j' C; E2 e* }* R& y8 z
  1711. ; Issue a PHP warning for each failed assertion.
    & }! ^- G4 S6 D, c
  1712. ; http://php.net/assert.warning# l4 e# q. z" P$ v: S0 n( \
  1713. ;assert.warning = On
    " A& d- z1 c% {% |) F8 A# ?
  1714. / K9 g" I- i3 u; E
  1715. ; Don't bail out by default.* o  T) l4 T+ C. ~4 D
  1716. ; http://php.net/assert.bail0 w! J5 U& B1 Q# P2 f, D
  1717. ;assert.bail = Off$ a4 C+ o9 y+ d, p* E  k* ]& ~
  1718. ) ~  p, x% B, k
  1719. ; User-function to be called if an assertion fails.: B& m" a, i0 }4 y  }
  1720. ; http://php.net/assert.callback" e; r# N% n% Y0 X, C5 q  `
  1721. ;assert.callback = 0
    , z% p. |; Y% a
  1722. " Y6 X- b- P! _8 m7 y( Q
  1723. ; Eval the expression with current error_reporting().  Set to true if you want) S( {6 N9 }# q8 B) t  _4 e+ q- U' s
  1724. ; error_reporting(0) around the eval().
    7 x0 V5 D4 O* k
  1725. ; http://php.net/assert.quiet-eval
    4 k. F/ I0 _& H- u8 h
  1726. ;assert.quiet_eval = 0
    + K. y1 T! R% ^" G* F1 T
  1727. ( [# [/ t5 Y" g+ R, f
  1728. [COM]
    2 i7 @2 V/ [: ~( J* L9 V! }0 v
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs! |% _6 o# b2 k/ e3 b
  1730. ; http://php.net/com.typelib-file8 |$ w- D$ f; w, _
  1731. ;com.typelib_file =
    " @4 w; j1 B( g$ ]

  1732. , E5 @4 i( L: ]# e# W3 |4 M. m
  1733. ; allow Distributed-COM calls
    0 H) t- o/ k3 `- p
  1734. ; http://php.net/com.allow-dcom
    ' U) y, D/ c) K" |" S& ~; D0 c) w% C! x
  1735. ;com.allow_dcom = true! k( t1 R  V- q9 }) w

  1736. " }5 y$ E& _$ w/ J
  1737. ; autoregister constants of a components typlib on com_load()
    - w& s8 \, q' B* _9 I
  1738. ; http://php.net/com.autoregister-typelib
    7 P( z' f0 {3 n) y8 ~
  1739. ;com.autoregister_typelib = true( B+ d$ w* R) Z4 z# r

  1740. # f* N9 V6 N0 s) v
  1741. ; register constants casesensitive' \: w- S9 J# u: H1 Z
  1742. ; http://php.net/com.autoregister-casesensitive; O" h) N( y% j+ f# y
  1743. ;com.autoregister_casesensitive = false
      x7 z3 E* I$ g; v' N( l1 }

  1744. 3 A( `7 ]. I, q, I, Q4 H
  1745. ; show warnings on duplicate constant registrations
    8 V' m# d+ E/ ^# k& t3 E0 h  f# h
  1746. ; http://php.net/com.autoregister-verbose
    4 d0 n( I+ E1 l# j% q  ?
  1747. ;com.autoregister_verbose = true- k& u4 _- o3 T% H
  1748. , t& ]2 j. W5 j: d7 \& B" b
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    / {  z9 l4 D5 g
  1750. ; Default: system ANSI code page7 H' W2 {: ~6 D& [0 I& P
  1751. ;com.code_page=
    . K. ]% ^, N, h9 O3 b) b; t
  1752. , l8 ?( g' g/ y( c1 ?
  1753. [mbstring]+ c$ G0 G& c. N7 Z7 T5 H+ Z
  1754. ; language for internal character representation.- t* D8 p0 S- V$ W& R0 X" _
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    7 i  e) T+ g, v- [& ]' c+ Z
  1756. ; http://php.net/mbstring.language
    5 S$ [$ i5 e3 q" ~
  1757. ;mbstring.language = Japanese
    1 d/ i4 E+ o% S) y! t4 r

  1758. 2 R- P# j6 m% O  \! p  R! g1 R$ c4 l
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.: k3 {' S2 N* a+ e4 O/ m8 [5 q
  1760. ; internal/script encoding.
    4 G( o' L% Y4 ^0 ]/ J
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*). M( L' U; ?4 H1 y) H9 |! L7 \
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 m. y. h* i( O! `. f
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding* a, ]7 L1 L- y5 h
  1764. ;mbstring.internal_encoding =
    & F; Y  m. G: c
  1765. ! _9 f5 V; |; X6 W7 [$ u: |! b4 e
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    % |( t; `$ E' r4 U
  1767. ; http input encoding.* T  a8 J8 j6 ~" T( p
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    0 t2 O+ J7 U, Y* a. R
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.7 l9 u& h, e+ H/ o0 w; t
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
      w5 Z+ X. \2 N) h
  1771. ; http://php.net/mbstring.http-input" f+ g$ j# j, q4 ?
  1772. ;mbstring.http_input =  e  u! c8 f4 O  Q3 n" |
  1773. # b, ]) d, F# G9 C; H
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    3 M7 @% K6 u# p6 B
  1775. ; http output encoding.
    ' e& r& a9 W: p
  1776. ; mb_output_handler must be registered as output buffer to function.8 F3 M: W5 r  \, x
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.4 w+ D, c2 S$ V( M1 n) ~
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output0 t" K( b  Q( z7 F1 [
  1779. ; To use an output encoding conversion, mbstring's output handler must be set# P) B; M& Q, M6 Q3 Z
  1780. ; otherwise output encoding conversion cannot be performed.
    ) z4 F9 j1 Q- K
  1781. ; http://php.net/mbstring.http-output
    5 U" T1 K) {: E
  1782. ;mbstring.http_output =* @0 G0 p; V& P" ?3 B& B! u

  1783. 2 I  X5 |% f& }' Q0 x& k
  1784. ; enable automatic encoding translation according to9 E1 Z  g) l9 a' o: X4 m
  1785. ; mbstring.internal_encoding setting. Input chars are
    ' c. e4 D" u% _1 q8 W% _3 L# ~
  1786. ; converted to internal encoding by setting this to On.
    * K6 s0 b: ]$ s
  1787. ; Note: Do _not_ use automatic encoding translation for
    7 d+ ]7 t5 S" V" U) @( Q5 F; v0 ?
  1788. ;       portable libs/applications.% w  v9 R' h0 `) e# e# Q
  1789. ; http://php.net/mbstring.encoding-translation( B6 z. `* ]! s/ u" L' N- C3 W* C
  1790. ;mbstring.encoding_translation = Off' _2 H% B1 H6 `6 ^# i" J, d

  1791. 6 i5 U4 \4 C& r  e' w- e' V
  1792. ; automatic encoding detection order.) y9 e9 N' A) J/ ~
  1793. ; "auto" detect order is changed according to mbstring.language
    & \, @3 M9 z, y7 G5 Y! V5 l, r
  1794. ; http://php.net/mbstring.detect-order# q4 U$ U& V" ?2 u5 J
  1795. ;mbstring.detect_order = auto
    ) A6 K: _$ P. ?3 R

  1796. ) z0 O4 C+ i7 b" e2 v
  1797. ; substitute_character used when character cannot be converted
    9 V3 k: M2 g. ]
  1798. ; one from another/ }, I. h% \/ T+ ?: t: k
  1799. ; http://php.net/mbstring.substitute-character9 W3 [; h7 w3 S+ R2 M' }5 I9 K1 O- a1 x. F
  1800. ;mbstring.substitute_character = none
    6 \. H' y+ G1 l% H

  1801. 7 u7 }  R+ m1 F0 e% s; C& ^
  1802. ; overload(replace) single byte functions by mbstring functions.
    $ o) s8 H  V/ d6 o
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),1 H' R  {$ Z% B: n8 _% `( R+ H1 q& Y, U
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.8 z7 h6 k* y! X, U- g
  1805. ; For example, 7 for overload everything." n1 P, B0 U# I2 F! @8 L
  1806. ; 0: No overload
    , y& B( k6 l; d  k* G: g
  1807. ; 1: Overload mail() function
    " A- c0 T- T8 N( j" N
  1808. ; 2: Overload str*() functions+ @  {. u6 k2 \% ^6 l) X. }; l" k
  1809. ; 4: Overload ereg*() functions
      I7 M3 ~/ k6 u$ t4 O
  1810. ; http://php.net/mbstring.func-overload
    , |! ~8 q+ d" s2 H
  1811. ;mbstring.func_overload = 0% y; t' g3 B; m+ X, ?$ R& |+ Z/ A
  1812. 4 N# g, H# S4 D* l6 Q: ]
  1813. ; enable strict encoding detection.
    8 G8 N8 k! h* P6 ~! J* O; M
  1814. ; Default: Off
    ! E) C7 N! S5 U2 }4 Y
  1815. ;mbstring.strict_detection = On
    $ r# W& U" C- s4 B1 X6 j! q
  1816. ; }0 J1 a3 K1 Y3 [
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    4 Q! a# f4 C  J/ N# @3 Z8 E, A# V" \/ y7 \
  1818. ; is activated.: B& B7 b2 c5 `) ^3 d7 q
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    7 C$ k' r* \# e" v$ A
  1820. ;mbstring.http_output_conv_mimetype=
    * W8 a9 Z+ ], q; s
  1821. 3 K( I' _& X3 m4 @
  1822. [gd]
    0 m+ F8 a5 d* z5 Z; u9 d: I) \
  1823. ; Tell the jpeg decode to ignore warnings and try to create1 l! T. N  R( C
  1824. ; a gd image. The warning will then be displayed as notices
    . ]0 f0 k5 M1 X# b' _
  1825. ; disabled by default
    / W# n/ Z4 G% v* P1 U! L4 G  `0 ^+ W
  1826. ; http://php.net/gd.jpeg-ignore-warning
    : s4 Q) H$ |& b* `! I& U
  1827. ;gd.jpeg_ignore_warning = 0" R( m& {, j) x; s/ }3 a8 w$ L  S

  1828. / Q% Q1 n) i. T9 ~2 |! [
  1829. [exif]% R! f' f2 R) y: e( H
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    * k! M  G- j$ Q- A: |. D" X( _
  1831. ; With mbstring support this will automatically be converted into the encoding/ r" B% y  i: r, p: w, R$ Z
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    , O6 Y0 ?; I) b/ @6 i5 j: m
  1833. ; is used. For the decode settings you can distinguish between motorola and
    / J; F. F1 Z% j! p/ v2 n5 k! Y
  1834. ; intel byte order. A decode setting cannot be empty.$ r. K6 p0 c. i$ l8 g
  1835. ; http://php.net/exif.encode-unicode: U( J$ |$ z" w0 H& ?
  1836. ;exif.encode_unicode = ISO-8859-15  h  e# J6 p2 K" @% L( m/ [9 o+ E/ I

  1837. & u4 g; A4 I8 g! _& M2 f
  1838. ; http://php.net/exif.decode-unicode-motorola3 _$ f7 a4 t. X$ v- C  E+ B
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    ) h# J* `) U, V" S
  1840. , G3 A" P  v6 @% u) N
  1841. ; http://php.net/exif.decode-unicode-intel' |, ^" d$ _4 _" t
  1842. ;exif.decode_unicode_intel    = UCS-2LE6 A0 r: k8 o  Z! d5 R3 g3 Y
  1843. 5 ]2 o7 D8 k) A! e5 E9 }
  1844. ; http://php.net/exif.encode-jis0 T) k+ z* B/ m9 H" j9 X2 ?
  1845. ;exif.encode_jis =* p9 c6 z! t, M; K  u- Y
  1846. # L9 d6 n2 Y& P) R6 s* [3 R- Y  x! `: P
  1847. ; http://php.net/exif.decode-jis-motorola# k' A- E$ U2 L5 w# T! b' Q! ]
  1848. ;exif.decode_jis_motorola = JIS4 c* ^0 h$ P  ]& {' V, y% C. m

  1849. , ]* O7 E) S/ E  x) j2 v
  1850. ; http://php.net/exif.decode-jis-intel3 E5 ?4 L9 W; f+ H7 a4 f$ h
  1851. ;exif.decode_jis_intel    = JIS
    6 ?; t" ^  L1 R1 T, E2 T- \

  1852. 3 J' _* z* i! d8 K. z
  1853. [Tidy]
    ' @$ n" ^* L: ~/ z
  1854. ; The path to a default tidy configuration file to use when using tidy
    ' C. G% C* E; E, i( B' H1 i7 |4 o
  1855. ; http://php.net/tidy.default-config3 f: ]8 Z; V. n" q0 L
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg. }0 y! O3 S& `7 t) b
  1857. $ {9 e' D; G. `( U$ X$ n& M2 V! Z* g
  1858. ; Should tidy clean and repair output automatically?
    3 i, z% v* M6 n
  1859. ; WARNING: Do not use this option if you are generating non-html content
    % h0 U& |% ^/ D8 V, [# J. B# T
  1860. ; such as dynamic images
    & U% F- m9 x2 n' [
  1861. ; http://php.net/tidy.clean-output
    0 _1 i- U% l- z# u' W
  1862. tidy.clean_output = Off
    , j  P5 T. P9 b. a9 q

  1863. 2 _( H, z3 W0 ]' C5 c# f0 O
  1864. [soap]9 {. Y9 o5 p# b2 j
  1865. ; Enables or disables WSDL caching feature.
    & N4 \! F% g  }2 R: ]
  1866. ; http://php.net/soap.wsdl-cache-enabled
    3 W% U9 Y9 z) F
  1867. soap.wsdl_cache_enabled=1* s0 x$ \) G0 V/ Q
  1868. ; v) ^3 a. W  s& D( z
  1869. ; Sets the directory name where SOAP extension will put cache files.+ F" h& j4 L* m* A+ j
  1870. ; http://php.net/soap.wsdl-cache-dir
    $ |9 R/ T1 f! N) N4 j
  1871. soap.wsdl_cache_dir="/tmp"
    5 m# s+ n9 m" a8 X1 K) A/ O

  1872. 9 ?7 j8 e! U# u
  1873. ; (time to live) Sets the number of second while cached file will be used! H; R% A0 {4 s2 t: U
  1874. ; instead of original one.( m4 W/ G8 P/ B9 a
  1875. ; http://php.net/soap.wsdl-cache-ttl/ T9 b6 ?* e% N$ B$ d5 r
  1876. soap.wsdl_cache_ttl=86400
    % k) H3 d1 `" s2 o+ g
  1877. ' [2 }: p. x3 H' G1 r
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    0 x: w9 e1 X; _* U
  1879. soap.wsdl_cache_limit = 52 W5 [. }/ [  m, ~9 l* x. s

  1880. & i) `( v6 v+ w, O+ |% l
  1881. [sysvshm]
    " X+ S, \6 _+ s
  1882. ; A default size of the shared memory segment% z% A2 h" g3 h/ |5 G; ^
  1883. ;sysvshm.init_mem = 10000- i4 t' j# ?! d8 p3 Q4 K. \
  1884. ( @& B5 _) b( g  v
  1885. [ldap]' x& A8 o5 |: B: O
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    % B3 J& y( j+ M  i' ^* `
  1887. ldap.max_links = -1
      Y) p0 z0 a0 I' B/ M" S
  1888. 8 x! t. ]$ d* d3 w2 {
  1889. [mcrypt]
    , B  N6 f+ _8 z; o% e2 f! C
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open3 ?# p- f! M' b0 X

  1891.   m4 r) m0 [. S; s
  1892. ; Directory where to load mcrypt algorithms
    + h* [+ ~' D) F$ d' k
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), ~8 P2 i$ Z% ~1 o8 b) V. C
  1894. ;mcrypt.algorithms_dir=3 k' b' W$ c% g  F6 n4 v  n

  1895. ( f# J& a$ @1 O* n& k
  1896. ; Directory where to load mcrypt modes
    9 A% A. z+ q0 N
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)) `, u$ G. F* ~3 m+ e
  1898. ;mcrypt.modes_dir=
    + ^% q8 ?$ w5 ^

  1899. , {: F- E( ]. y
  1900. [dba]
    - F8 j% t6 w" L- O4 s8 D+ o
  1901. ;dba.default_handler=
    ' I% P' H2 A8 ~3 `( f  b, X( b
  1902. - T( e# F' t, Q7 b9 a+ b
  1903. [opcache]
    - _8 u. u# o, U
  1904. ; Determines if Zend OPCache is enabled
    9 B% A3 X0 M) k& ^! n7 r0 B# Y
  1905. ;opcache.enable=0
    ) q, U0 Q) s: g% E& ~% {( m0 d
  1906. 1 N- V" O# ^# x8 E8 p1 `4 t
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP$ M' E5 K# _& E
  1908. ;opcache.enable_cli=0
    - E% ]" F: N7 R& s& Z8 ~( e8 `
  1909. - z, e/ E0 r2 ~0 F
  1910. ; The OPcache shared memory storage size.
    3 e/ @) v8 S; l! m5 o
  1911. ;opcache.memory_consumption=647 c' N2 s' T1 u  Y' v; F
  1912. 1 I4 a/ [& b8 j9 {! P
  1913. ; The amount of memory for interned strings in Mbytes.! D0 E7 z  g# C$ `
  1914. ;opcache.interned_strings_buffer=4
    , U0 c4 ^" I% W, L7 e8 \; ]

  1915. $ L& R. V1 w5 m+ ?
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.3 z9 o) b. l: a
  1917. ; Only numbers between 200 and 100000 are allowed.
    ( z7 c6 R* [& t% g
  1918. ;opcache.max_accelerated_files=2000
    : u  X+ z' ]/ P& `" }0 o
  1919. 1 |' b+ V, X: L
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.$ Q+ C8 T. }" U8 _4 z7 P8 I1 @
  1921. ;opcache.max_wasted_percentage=5
    9 }4 V) V6 I8 f$ Q) ]& G
  1922. + ^2 R! s9 t8 |* R
  1923. ; When this directive is enabled, the OPcache appends the current working
    % M' G- ~2 y) G0 o& h2 `: ^
  1924. ; directory to the script key, thus eliminating possible collisions between' x: J0 E4 x# N0 b1 b( s
  1925. ; files with the same name (basename). Disabling the directive improves
    7 `5 A7 {2 s# S3 t( c
  1926. ; performance, but may break existing applications.3 N6 K/ q/ @* }2 i" y
  1927. ;opcache.use_cwd=1& a2 j1 q4 _: ?/ I4 ]( ^7 i
  1928. . v4 y" @+ o1 y' c  M- g
  1929. ; When disabled, you must reset the OPcache manually or restart the' y2 s' {* @- q  d6 z1 G
  1930. ; webserver for changes to the filesystem to take effect.+ s+ [$ L& H! U3 l9 }; Q, x# c
  1931. ;opcache.validate_timestamps=14 b5 h7 v  l  u; Z9 p1 R5 j+ _
  1932. ' z. P. p; Q9 B; [7 v8 e
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    8 s0 m6 }/ Q2 m6 v+ v
  1934. ; memory storage allocation. ("1" means validate once per second, but only' g2 C; L4 w: g  i! D3 C% Q
  1935. ; once per request. "0" means always validate)
    . g' u0 ?- m) |
  1936. ;opcache.revalidate_freq=2& P( |! c, m: ]9 H! a8 @

  1937. 6 ]1 {, w" C% N$ P- ]+ S
  1938. ; Enables or disables file search in include_path optimization
    2 x7 ~. v  S- \+ z
  1939. ;opcache.revalidate_path=05 m  ~' J, m9 |* }, X
  1940.   v1 A: t( m+ L4 G- ]4 t
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    % M* u) c& ]4 j/ O& e
  1942. ; size of the optimized code.' F3 Y/ _% [) L7 q$ K2 U) ^
  1943. ;opcache.save_comments=1) ?" @" w2 t+ {0 V( q' k
  1944. % }! z) a; g% Q8 g( }- q- w- c; X
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"0 I+ N; E8 A5 Q7 V
  1946. ; may be always stored (save_comments=1), but not loaded by applications  R7 l2 ^% a+ W/ j1 Q" j! z/ k
  1947. ; that don't need them anyway.
    + P+ p) ~' j9 B, E
  1948. ;opcache.load_comments=13 u) E! F. R  h' {- Y
  1949. # q4 F  U2 R) B- ~( }* A# |( ?: v
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code2 a4 V( u- x0 I. u' Z
  1951. ;opcache.fast_shutdown=0
      w% F  y. c9 }$ o* i# Y

  1952. : W  E* \. M5 @. T; E2 _( {* |
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    0 O& _  N- r* J5 Z6 C) h' f
  1954. ;opcache.enable_file_override=06 t+ k2 y* z% T# ^9 h1 _: E

  1955. . U. u5 N+ y; Z- j; I1 e5 Z0 C/ L9 o1 {
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache+ ?0 T4 Q) u( Z% [8 y  p' H
  1957. ; passes
    ( e  n& x* R9 {% H% G
  1958. ;opcache.optimization_level=0xffffffff
    ( r1 L% [0 X3 D$ n
  1959. 6 ^5 {# G0 l- @. [& y; w: P
  1960. ;opcache.inherited_hack=1
    5 u# U' {1 T$ Y2 b/ Z2 V
  1961. ;opcache.dups_fix=0
    7 q+ p! H% ]# p
  1962. / @- L) q  t2 _% q% j- Z% M
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    4 q( s, k7 l3 H
  1964. ; Each OPcache blacklist file is a text file that holds the names of files+ u& G. y/ A; x/ K
  1965. ; that should not be accelerated. The file format is to add each filename! E+ U' l/ `1 Y; R
  1966. ; to a new line. The filename may be a full path or just a file prefix
    $ p8 w) @8 ^5 x: l' V
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    0 {8 V0 O; H' C, v
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments)." _' @- m/ e$ [, \' T
  1969. ;opcache.blacklist_filename=
    ! D; I* [+ d4 K. R2 C

  1970.   |) \% [$ u6 d/ p* }9 |8 K
  1971. ; Allows exclusion of large files from being cached. By default all files, B) q2 L% l& S8 Q# ?( \
  1972. ; are cached.
    $ e# X$ |8 [+ r, ?; ^; |& [
  1973. ;opcache.max_file_size=0: |- s9 q5 p/ O3 f6 p, o- e+ l

  1974. 1 [  k; P1 Y8 R4 q9 t" H
  1975. ; Check the cache checksum each N requests.
    & A! m, r. z% G! {
  1976. ; The default value of "0" means that the checks are disabled.1 }0 o5 L) P* p( A
  1977. ;opcache.consistency_checks=0
    # O6 X- ]4 y* E8 A3 j$ _, u

  1978. 7 U& z/ J3 N! N5 o3 J- b
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ; e! G+ b4 Y8 h: [; h+ h
  1980. ; is not being accessed., E% b( k) x; q; ^- F/ [; G
  1981. ;opcache.force_restart_timeout=180) m2 q( r2 r5 c8 L1 Q+ ^
  1982. : k) G5 x5 j6 G0 U
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ( r) |  g' P7 K& A% Z$ e- S6 ~$ M
  1984. ;opcache.error_log=+ `: U! B/ j! `; Y# ~, @
  1985. ' N8 g7 {4 _1 ]. i) Y
  1986. ; All OPcache errors go to the Web server log.! H9 W# [; a( t! d( G
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.# \/ |4 e: h- ~
  1988. ; You can also enable warnings (level 2), info messages (level 3) or& h4 H# ?. A8 }. E5 n. |* k
  1989. ; debug messages (level 4).& H. Y' `+ d  w: [- q/ y
  1990. ;opcache.log_verbosity_level=1
    " U2 h; q. u/ ^  U
  1991. ) K6 H* X$ H& l9 \
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.  Q. o2 j- u3 w2 E, _
  1993. ;opcache.preferred_memory_model=2 e4 L+ ^! |) ]/ R# @) C9 K/ m1 e

  1994. % f( ^, e  i  t( h7 ^
  1995. ; Protect the shared memory from unexpected writing during script execution.# m  I% H6 x; F9 u/ p& U) @
  1996. ; Useful for internal debugging only.  A4 n; N! ^3 m5 A( |; g, e
  1997. ;opcache.protect_memory=05 G4 Y2 `  n+ f; Y" t
  1998.   \, [+ n( W$ L6 h$ J, b
  1999. ; Validate cached file permissions.0 I: ?# e( c& l2 ^& ]8 U, ^# `
  2000. ; opcache.validate_permission=02 }* H. n) l( F

  2001. 1 n; J$ a/ F: |2 g5 R& _" G
  2002. ; Prevent name collisions in chroot'ed environment.# R  g8 c3 N" B7 z* x+ M9 g
  2003. ; opcache.validate_root=0
    - P; Y1 a  z7 X/ c0 B
  2004. 5 t: X, J+ U9 k) Z( [
  2005. [curl]
      y1 P7 u! @+ h2 O0 |! F0 o8 G
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an+ v% a. |" q# E: e' ?" {
  2007. ; absolute path.
    9 ?0 j$ {+ i0 b4 q
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    + @0 ]! J6 k& D0 |4 W: E9 T5 S

  2009. & }1 ~2 b7 n7 N0 P$ ]! V
  2010. [openssl]8 V0 F' {5 M- O1 g* h% f, o0 I5 m# U
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    6 S: w6 J; a5 z! F
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ! u& Q2 e# G2 M2 k
  2013. ; not specify a value for this directive as PHP will attempt to use the
    # q* j0 `" e- W
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    5 p6 o- T* E4 g# \, I
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context$ t0 b* c" ^, \
  2016. ; option.7 x* ]5 E8 h7 a* p
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    $ q8 Y/ [" x: i+ n3 b& J
  2018. 5 N  s9 Y/ T* a% @
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    & A! w; v  [) ~6 C8 w$ \
  2020. ; directory pointed to by openssl.capath is searched for a suitable/ V. s7 C4 G) m6 q0 X* F' ~
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    9 @8 F$ v* e0 j& j
  2022. ; Most users should not specify a value for this directive as PHP will. z. M' D8 g) ]. \0 I3 d
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,8 Q$ q+ k, `& c) d7 T
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    / S& D! b( v' o8 q  L& s. G
  2025. ; SSL stream context option.4 w) I1 E4 w" O, n
  2026. ;openssl.capath=, U; p' K$ A* d+ i
  2027. # x! l* o) R; d4 V+ I" G" U
  2028. ; Local Variables:
    - U, w6 q: F3 V4 l( {
  2029. ; tab-width: 4
    0 @0 B  f) F: J# m  D
  2030. ; End:; F) Y* Q" E9 ?. ^+ p% k& G3 |( Q

  2031. 9 r' z* X  e& K* C( i4 {- Q
  2032. ;eaccelerator1 R5 H- D# y5 J' h
  2033. 5 C0 p# s) ?4 p2 l+ i
  2034. ;ionCube
    5 ?  H4 n; @) H2 E  M5 U9 p  e9 i
  2035. ) t* \9 d+ Q0 Z
  2036. ;opcache
    ( Q# V+ Z) e6 f( O3 t
  2037. * i2 ^7 ]: W: H; |) A
  2038. [Zend ZendGuard Loader]
    1 Z* a7 b" [7 |+ L: L, I
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so; o" ]0 x' C+ W4 m6 z
  2040. zend_loader.enable=1
    : a5 G: _! j/ @" {/ O) d+ I
  2041. zend_loader.disable_licensing=01 z; R0 E: X2 Y+ z+ ~' l* Y7 R
  2042. zend_loader.obfuscation_level_support=3
    # W" a7 |3 N  I/ t
  2043. zend_loader.license_path=2 a, D/ ]8 r0 p6 O# k3 G- P

  2044. # I2 Z) E. n& Y
  2045. ;xcache
    1 I* Q) W. y3 ~# K/ ?4 {7 ^1 n

  2046. ( c( [7 K; I: f. S, d1 ]% U
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692. I0 ^/ [7 F  e% J2 |3 k, ~  ~
( U" G7 Q7 _" c: U% M; `
4 P, T) `4 _* H* W: m
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
. E) F  v+ ]2 Q( d3 l. I6 ^
% E7 [, I6 b$ s5 E/ fDiscuz!程序版本选择:( R8 n* Y- W) E. v: T1 k
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
/ h) g$ y" g0 Z1 U* A9 o5 ~不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:0 E, Q9 g5 u! |4 ^
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。. A8 V4 @, B+ c

+ K0 u  G; ~' F# s3 Z# Q" pDiscuz!插件模板版本选择:) o/ q$ B) t- a" H% d) z
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,$ _0 W  ?, y: {6 g, e2 a
针对这个问题做个统一的普及:. n. h1 ?3 P% H0 I1 w
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。8 ~+ Q4 x/ n+ G) F

2 m$ ?  M# ]$ v所以7 D" d6 v, G' G1 v" k) K
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
3 I5 Q% M9 S8 P( B1 o# K4 @3 |( Q' |打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。8 i% v4 h8 K9 N% G- q! i, d6 I
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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