分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
2 O% d( t/ o! Y( A8 ~7 J4 r! V+ d2 {, P$ A; R5 L8 ?8 F1 ~
  1. [PHP]% b6 Y0 l4 Q) N3 l1 b$ D
  2. " [, y4 v4 a1 M9 H8 M1 h7 p4 P
  3. ;;;;;;;;;;;;;;;;;;;
    , o: t) |) I% v' L* w' H, P! ?
  4. ; About php.ini   ;* p5 c+ m' g- f; P
  5. ;;;;;;;;;;;;;;;;;;;/ J! J1 l  L6 G7 B+ M
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    9 C6 R3 _0 a- R
  7. ; configuring many of the aspects of PHP's behavior.8 \/ x0 w; x) U, l

  8. 2 J( d5 q4 G. _9 W  u4 T
  9. ; PHP attempts to find and load this configuration from a number of locations.& o3 a( Y( B# N+ w. u
  10. ; The following is a summary of its search order:7 H# W: n6 {; C
  11. ; 1. SAPI module specific location.! b7 x1 _3 ^: }0 B/ P6 h! e' A, V
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)( W1 g: \2 u; b- f6 E' n
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)0 ^7 r0 Z( Q7 P# p2 Z% ^
  14. ; 4. Current working directory (except CLI)
    0 B6 X5 i9 [* U
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    9 e, Z* T; h: S. ~
  16. ; (otherwise in Windows)
    0 r. C6 o  C" H" y* h" S
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    6 g! h8 q# D0 p- i: J2 C2 z: L
  18. ; Windows directory (C:\windows or C:\winnt)7 H5 O5 s3 f8 M5 k/ y* R6 K
  19. ; See the PHP docs for more specific information.2 c7 e6 n) P! \/ F3 x4 m$ y. R1 E
  20. ; http://php.net/configuration.file
    - n/ r2 |5 G2 ~' K3 n' G. N
  21. . a1 o& z0 Z" D  r9 B
  22. ; The syntax of the file is extremely simple.  Whitespace and lines% L  ?! m# g$ R% j" b. R% y' j+ I
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).7 ^5 E, {; S; l9 b" O- v
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    , C% j3 I9 p  A
  25. ; they might mean something in the future.# j- E) X+ s( u2 f* d' k( R( t/ ~
  26. + L: u+ T. Y9 x1 l8 m
  27. ; Directives following the section heading [PATH=/www/mysite] only4 F+ w. r  }+ ^" |; N
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    0 J& b' \( @0 R: }
  29. ; following the section heading [HOST=www.example.com] only apply to
    % ]# H& [$ P4 J. O( e0 N
  30. ; PHP files served from www.example.com.  Directives set in these/ ]3 l0 p$ ?4 X- }5 D' e
  31. ; special sections cannot be overridden by user-defined INI files or
    8 t/ A$ k& [% s% H1 @) E- O
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    4 Q3 t4 V: ^3 x9 X3 k  k& }
  33. ; CGI/FastCGI./ ?/ z7 [* e7 G' |0 D1 x
  34. ; http://php.net/ini.sections
    / I9 D# n7 K: A8 R

  35. 5 t6 Q5 j& x  b' p3 m) d+ n
  36. ; Directives are specified using the following syntax:
    + h( h" g: h" a9 Q$ {* k& X  d4 k( s
  37. ; directive = value
    2 M6 _8 n: D" B
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.0 y& [5 c0 u( S, M1 v- k. M: _& F
  39. ; Directives are variables used to configure PHP or PHP extensions.
    * s; C8 D" x+ A( ~
  40. ; There is no name validation.  If PHP can't find an expected) D* T3 T* F% |6 t8 o3 l; D
  41. ; directive because it is not set or is mistyped, a default value will be used.  @9 V# F/ y) |: @! F5 M
  42. * ]% t/ B7 E( L( k5 l# b
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one: k. _9 M" {' z! N& {( P6 I
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    + Q, V& j: h# h& \# t8 A2 j
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    2 l+ R: J  C( s4 J" e: D
  46. ; previously set variable or directive (e.g. ${foo})2 S8 M. Z4 W" w8 _. v  V. D4 a3 D

  47. . K. ~! J! ~$ h& j/ z5 t
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    & J) B+ M' Q6 K3 r. O
  49. ; |  bitwise OR
    0 X- E: a( K- o% F( q
  50. ; ^  bitwise XOR
    ! Q2 ^: j0 V' b6 o2 O$ E( c
  51. ; &  bitwise AND0 E% U# t: @+ n" Q3 f% S9 f& j
  52. ; ~  bitwise NOT, Y% G* w) L2 {7 S, Y4 M- c& l# S6 [
  53. ; !  boolean NOT9 j, k) f, g9 a* A
  54. / V- j9 K, ~  `: a$ y: k7 r+ S
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ) }+ g1 j+ z" R! S1 Z; o+ p* u$ W
  56. ; They can be turned off using the values 0, Off, False or No.- l& _4 B, U3 k# G4 h' @
  57. / ]( E* y* V  v  d- ~
  58. ; An empty string can be denoted by simply not writing anything after the equal
    4 g' b" i' j9 g; I. `5 y' X: P
  59. ; sign, or by using the None keyword:
    0 `8 e; i" k, f9 N7 I
  60. 2 P! Q3 b7 v0 k
  61. ;  foo =         ; sets foo to an empty string
    7 L) T  s3 [4 z3 o
  62. ;  foo = None    ; sets foo to an empty string8 x- p; l3 L3 C: o
  63. ;  foo = "None"  ; sets foo to the string 'None'
    & s3 t& X8 M' C! c" a) f

  64. " `  D9 F0 F( t7 r- S9 t
  65. ; If you use constants in your value, and these constants belong to a
    ' a9 |7 U9 }* v# T$ K
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    " w- V7 c6 F3 D+ g) d2 P# P" S
  67. ; you may only use these constants *after* the line that loads the extension.6 a; ]/ Q& g* ^8 O0 N
  68. . S4 S& N: R# ^* b* c. o  r& A( T
  69. ;;;;;;;;;;;;;;;;;;;
    0 `3 r$ ^( x- Q7 T4 L
  70. ; About this file ;/ P! }7 k$ O, [/ U6 O. p
  71. ;;;;;;;;;;;;;;;;;;;2 ^7 `$ I2 Z8 T8 p) Q: v
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    * k( G: M8 J  v8 f- G8 B' l
  73. ; in production environments and one that is recommended to be used in
    $ [. Q2 n7 [' I9 S4 q
  74. ; development environments.# t! m9 S! P$ a# I  H: q- H! ^

  75. ) V, m- _( m/ J* Q; K' t: @
  76. ; php.ini-production contains settings which hold security, performance and/ ^2 F# w/ [& F( C- S% S9 J2 B
  77. ; best practices at its core. But please be aware, these settings may break
    ! }" [  {1 R$ F0 D
  78. ; compatibility with older or less security conscience applications. We
    1 m9 X% ^' P% o  @7 ^' n" @
  79. ; recommending using the production ini in production and testing environments.
    3 t/ O. Z6 j2 J

  80. % Y/ n) B* \, e
  81. ; php.ini-development is very similar to its production variant, except it is- z, ^! v: g) ]1 c
  82. ; much more verbose when it comes to errors. We recommend using the
    1 l$ ?, i  D& U/ [) _
  83. ; development version only in development environments, as errors shown to
    3 N" Q- f* G  j! w* B
  84. ; application users can inadvertently leak otherwise secure information.
    ) g9 V4 _: ^: l5 c

  85. & b% z* Z  Q+ w+ M3 W
  86. ; This is php.ini-production INI file.
    $ ]8 X4 f. m* R; D2 y6 P; ^1 u

  87. * g. b, Q4 ?9 Z. v7 u) J
  88. ;;;;;;;;;;;;;;;;;;;) Q. Z! R/ _- m/ L) N! N
  89. ; Quick Reference ;
    2 }9 I3 [4 y. M1 J2 j. Q
  90. ;;;;;;;;;;;;;;;;;;;/ [- n6 E. M9 ~5 C( D+ _
  91. ; The following are all the settings which are different in either the production: W/ h. a! s! H8 ]
  92. ; or development versions of the INIs with respect to PHP's default behavior.1 q/ u3 j. O$ ~# a! Z( D
  93. ; Please see the actual settings later in the document for more details as to why
    - m5 s) k/ `( K0 M3 m& u( D! U, u+ O3 m
  94. ; we recommend these changes in PHP's behavior.
    ; O4 l1 N' J8 u" X  m7 A5 H/ w! b
  95. % U. ]( O: Q9 v4 q
  96. ; display_errors4 d8 q. J' h, ^; T1 D* s, d$ o# ?
  97. ;   Default Value: On* N9 o- l- ]6 ~% X
  98. ;   Development Value: On
    8 M: \' r* O& h5 s* i& H6 z
  99. ;   Production Value: Off
    . H" u5 w8 ?: w" i' V$ s
  100. + \! z; ?- H  _& p" c
  101. ; display_startup_errors
    & Y& W, D3 k3 F& \) s5 F/ U
  102. ;   Default Value: Off
    ; d1 [! E+ [  I  C, _  @
  103. ;   Development Value: On
    2 U7 ]0 i+ m( \
  104. ;   Production Value: Off3 n$ d& l5 K7 Y2 |0 n" x/ S

  105. & V- W0 i! l1 ]3 j
  106. ; error_reporting
    1 t+ V$ d$ ?; P: D0 ?' F  u
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ s% ?) a  E2 R" n/ \4 Q
  108. ;   Development Value: E_ALL8 Q! B$ n$ G3 Y3 T9 }
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT; g, \3 e. Y, W3 G9 T$ M

  110. 3 Q' x: ~9 O; |9 C3 q+ |
  111. ; html_errors
    2 h- t: o8 o$ V% @/ a' U8 |, _0 @
  112. ;   Default Value: On
    3 _% b7 i# G' M: P6 @" o2 |( {
  113. ;   Development Value: On
    5 Q. U/ A* V4 M( I: W
  114. ;   Production value: On
    0 Z, X* _4 y) \
  115. , u' n7 }6 B/ S5 @
  116. ; log_errors
    : W# q! G9 O9 e9 {$ M+ v. O; Z
  117. ;   Default Value: Off; ?* I6 p# P5 j; \3 m; j4 {- p
  118. ;   Development Value: On2 Q$ s! m. w1 f* ]$ B0 J8 b8 ?' j
  119. ;   Production Value: On
    $ b: n3 x- m$ _& {
  120. , ^- f$ n7 M! W  U: C$ r
  121. ; max_input_time$ A4 T* M4 c+ R2 ]
  122. ;   Default Value: -1 (Unlimited)
    $ H, H% j  A. |" s( O7 K" ?
  123. ;   Development Value: 60 (60 seconds)- Q! }2 `1 W) t
  124. ;   Production Value: 60 (60 seconds)
    % h3 T  p7 q1 D3 N

  125. ( ~3 [, k3 n1 j! F7 A
  126. ; output_buffering
    3 K5 K% w% M: d7 ^  f3 ]
  127. ;   Default Value: Off
    3 P3 _* ^7 F! g8 ~% j9 E
  128. ;   Development Value: 4096
    / B5 S& V$ D5 p6 Y
  129. ;   Production Value: 4096
    9 ]4 e! S! U6 _7 c3 m6 V

  130. . G' b: x- A% K+ v5 x! l( J) i
  131. ; register_argc_argv2 y# _( D: e- [0 H( G7 N
  132. ;   Default Value: On
    7 A  Q+ a5 u# k3 b0 @
  133. ;   Development Value: Off
    # s0 h) M1 Z- c1 M% ~7 C0 a
  134. ;   Production Value: Off
    0 d7 I9 e- `! X0 o/ O5 W4 g6 D

  135. ) m4 s; W7 T  T
  136. ; request_order4 U- E4 n; Z5 y
  137. ;   Default Value: None
    - Z4 L. Z1 P0 R: T6 Z
  138. ;   Development Value: "GP"& L( t; g$ n' i0 [+ e
  139. ;   Production Value: "GP"
    ) h% w: s% P8 t9 K9 J! x3 s, l
  140. 6 k1 d& C1 f8 S* E: Y* f* ]4 B* [
  141. ; session.gc_divisor
    2 U9 P3 f, n; d. g+ t
  142. ;   Default Value: 1005 U6 \: z' G" C/ y6 `
  143. ;   Development Value: 1000
    ( r' G! b* q: \6 V) f
  144. ;   Production Value: 1000: V: b  A( m& D! J

  145. ) i1 V: @/ s3 z
  146. ; session.hash_bits_per_character/ e0 S+ e* P+ T, l  @; d
  147. ;   Default Value: 45 ?6 x7 w: |  @" Z
  148. ;   Development Value: 54 r0 Z1 x# @7 m! }2 u% {
  149. ;   Production Value: 53 L9 r" T2 u8 f/ c

  150. & p! f1 w! U& h# I
  151. ; short_open_tag
    ) J) \$ q4 f- L/ W4 J
  152. ;   Default Value: On; Z' u0 i; l9 l  j1 P0 [
  153. ;   Development Value: Off* Y" k$ j- W! e3 J/ _
  154. ;   Production Value: Off
    ! f: F4 b) [) c* ^: s

  155. $ D5 d: f; p- b. K8 `1 j
  156. ; track_errors
    ' T" C4 q! Z( M& H/ S6 S1 N
  157. ;   Default Value: Off& R" t% H7 a; J, K
  158. ;   Development Value: On
    6 K5 [7 _9 |+ |, u+ L# e
  159. ;   Production Value: Off, G: x8 V0 x) Z1 B% a6 V1 D' k
  160. 0 u7 W7 Z- v; A$ W
  161. ; url_rewriter.tags
      k- L9 w) G4 R2 P+ U$ m
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="% c* ]" i: Y* |- Z, ]& r! X/ x
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 ?' Q0 E! D' L! \# ], H
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , ~& w5 o  U$ |" f3 U7 J) R
  165. ( f2 G$ U, c9 F( L8 I0 l! C3 @
  166. ; variables_order
    ( i5 g, q% D, H4 j( K" {7 O
  167. ;   Default Value: "EGPCS"
    . E7 f9 M9 K8 X0 y, \: m3 i# @
  168. ;   Development Value: "GPCS"
      ~: G1 F. }! s4 y
  169. ;   Production Value: "GPCS") E- v  D) W( Z6 y
  170. ) r3 f) c4 I5 ~0 J. F
  171. ;;;;;;;;;;;;;;;;;;;;
      u( j: C* G3 o) z8 {
  172. ; php.ini Options  ;8 C+ `9 y8 X+ t, d* K
  173. ;;;;;;;;;;;;;;;;;;;;/ ~3 C5 B/ U: S3 {* w9 y
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"8 X. P% ]  h" p) \8 T( R0 ?2 Z
  175. ;user_ini.filename = ".user.ini"* U0 P6 Z; }# G& [3 N+ N* P* B

  176. $ P# R9 V1 a& |; n0 ?% _
  177. ; To disable this feature set this option to empty value; H( s( `* [7 `  b) m& _" Y8 g
  178. ;user_ini.filename =! F8 \" R$ V* D* T- {* D! u

  179. : D' n# U: D2 s& Q& q
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    + B% X  ], l. |) f) ~4 r
  181. ;user_ini.cache_ttl = 300% m+ r/ `# o  X9 v1 S" H

  182. ' W  x% Q$ H) H9 A8 w/ h& ]% R
  183. ;;;;;;;;;;;;;;;;;;;;
    ) Y4 t6 W) |5 b/ d, T9 q" Y2 k
  184. ; Language Options ;1 f$ u8 Y$ K* F- ^& k+ _# |
  185. ;;;;;;;;;;;;;;;;;;;;
    9 n, U# ]1 f- G

  186. 4 I/ U( u4 T, I
  187. ; Enable the PHP scripting language engine under Apache.
    4 M* H+ x- ^* _' Q  Q& s
  188. ; http://php.net/engine
    5 e- n- C3 t0 j/ T7 r! }
  189. engine = On
    7 N: O" o! P6 _3 Y! s1 M! @
  190. / W: P/ a$ ]7 l
  191. ; This directive determines whether or not PHP will recognize code between
    + S0 l3 T2 H8 t6 E! H+ M
  192. ; <? and ?> tags as PHP source which should be processed as such. It is- p% k7 @4 i) _: e$ o" _. o5 W
  193. ; generally recommended that <?php and ?> should be used and that this feature
    1 h9 b# `4 T+ g0 {
  194. ; should be disabled, as enabling it may result in issues when generating XML
    8 P$ r$ Y  f7 `" i3 A
  195. ; documents, however this remains supported for backward compatibility reasons.
    ( h& C; @0 C+ H3 a2 L- U
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    / t/ h- U7 W8 K
  197. ; used regardless of this directive.' V4 e* a! L( s5 c9 h6 |
  198. ; Default Value: On
    * n* c5 O* J9 \8 S" p% I* V
  199. ; Development Value: Off
    # T8 E9 d% h$ h& s2 C6 N9 {; ]
  200. ; Production Value: Off
    " g! ]* s, j& C2 a. x
  201. ; http://php.net/short-open-tag% [* y7 M1 ?5 M( s
  202. short_open_tag = On% r# Q: U: G) {) o
  203. 5 \  s' I/ }7 f* i9 r
  204. ; The number of significant digits displayed in floating point numbers.
    0 S( l1 W$ x: B4 Q5 v. V3 F' A
  205. ; http://php.net/precision
    + c( d% \$ }" T5 [
  206. precision = 14
    8 V! K7 m' l% p, R; F
  207. 7 D5 \& X6 u$ f: Q9 l9 Y
  208. ; Output buffering is a mechanism for controlling how much output data
    & `; _, |% u/ h0 _7 d
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that8 N" u3 v# \+ R4 l, ]9 t' G
  210. ; data to the client. If your application's output exceeds this setting, PHP
    5 j! {: L. f$ ^1 t
  211. ; will send that data in chunks of roughly the size you specify.. B7 J4 v: ~" ^+ u; `' h
  212. ; Turning on this setting and managing its maximum buffer size can yield some. P: O9 l! X+ }+ R" X5 Q
  213. ; interesting side-effects depending on your application and web server.
    8 f" n: D: k1 ?) M, ?7 h& k8 m
  214. ; You may be able to send headers and cookies after you've already sent output
    / \. f$ h! u$ q/ T
  215. ; through print or echo. You also may see performance benefits if your server is9 a( P. R, t: I2 t! f- c
  216. ; emitting less packets due to buffered output versus PHP streaming the output9 `( L- I1 b, S
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance) K) A4 ]. A$ E
  218. ; reasons.
    7 J! \* k" J2 _; [! j8 l
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    , W+ L6 R" {+ b& S: z
  220. ;   functions.
    - C4 O$ L9 a/ V0 g) Q5 g0 a( R
  221. ; Possible Values:
    0 Z, g6 ^" I9 ?  z
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)/ p+ C/ y0 _) K' }/ M
  223. ;   Off = Disabled# _2 |# p# N  D7 C& I) o& c
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    9 h1 o- ?0 ]/ `7 {
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    0 J4 H: r. W: O2 S# t
  226. ; Default Value: Off
    ' Z' f& W8 i( G% }8 ~! b
  227. ; Development Value: 4096, `5 F5 P3 `" w' [( k
  228. ; Production Value: 4096
    . H0 f! ?& L! T, ^2 g) s
  229. ; http://php.net/output-buffering
    8 r, A* ?: p, D- x/ T
  230. output_buffering = 4096  X, j5 i5 H( a, H* i

  231. 1 U1 d  A  E/ e
  232. ; You can redirect all of the output of your scripts to a function.  For
    & p" R4 ^& n* |$ r9 N
  233. ; example, if you set output_handler to "mb_output_handler", character
    ! r9 D* t1 U1 f; o3 k" S
  234. ; encoding will be transparently converted to the specified encoding.5 F( V+ \) \1 J" K2 {4 h
  235. ; Setting any output handler automatically turns on output buffering." S+ |$ W, [. d( M2 g
  236. ; Note: People who wrote portable scripts should not depend on this ini! `. `  x- y, i# l" q
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    & J: f' ]6 A& q0 @
  238. ;   Using this ini directive may cause problems unless you know what script
    * P1 ]4 Y* m* j- S- H  P+ ]
  239. ;   is doing.
    6 n9 ~9 t8 W3 a* F. u; \
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler", j" V: x; n2 l
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".3 b8 A" E' C, I. z0 h9 U
  242. ; Note: output_handler must be empty if this is set 'On' !!!!& ?4 M5 |, n  L
  243. ;   Instead you must use zlib.output_handler./ s1 a! g, q( z8 ^
  244. ; http://php.net/output-handler
    / E; _- C0 l- |) w, ]$ J2 ]2 g
  245. ;output_handler =) ^# \9 u8 q) m$ K/ ~

  246. . m+ G; F2 b1 @8 f2 X5 P
  247. ; Transparent output compression using the zlib library2 T4 E) R" b+ H; A0 K% G
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size9 i5 z+ m8 d& p' R: c3 v3 s
  249. ; to be used for compression (default is 4KB)
    ! R2 M) ]! u, b. P
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    # L! z+ J0 }( h" E: Y( a/ e
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    7 D+ E& f; U8 l1 p% M- |' }/ Q3 }
  252. ;   compression. If you prefer a larger chunk size for better4 [2 `# s+ r9 N
  253. ;   performance, enable output_buffering in addition.6 K2 b7 d+ u& _9 t
  254. ; Note: You need to use zlib.output_handler instead of the standard& W8 Z, H1 Q7 W! H! F
  255. ;   output_handler, or otherwise the output will be corrupted.' l, V+ u1 e* T  M- {9 H& X
  256. ; http://php.net/zlib.output-compression
    ( n- M% X" t/ c% K% N
  257. zlib.output_compression = Off5 c" V3 @  j- e1 c: a  E

  258. , p. q: }" {/ ]7 k  z! }
  259. ; http://php.net/zlib.output-compression-level
    1 m) \- F- r5 v5 j, _5 c
  260. ;zlib.output_compression_level = -1
    2 E' ^$ M$ `4 _! G
  261. ) x2 ^- G- X( [6 ~# @6 s
  262. ; You cannot specify additional output handlers if zlib.output_compression
    6 |2 L7 [$ {6 ~2 Z
  263. ; is activated here. This setting does the same as output_handler but in- B  L1 q; j& p3 X1 e; g
  264. ; a different order.! O6 ^1 V) |: i- S/ [+ Z$ _+ K. G
  265. ; http://php.net/zlib.output-handler
    * [7 E  ~- T7 K' O
  266. ;zlib.output_handler =1 v4 f5 Q, h* o: I3 m3 R
  267. , q; u$ _+ x2 Y3 H' Y* h' b/ ?( o
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    / m6 E9 Y6 K; Z  ?  j$ P
  269. ; automatically after every output block.  This is equivalent to calling the
    9 E3 Z3 N$ r$ e! Z6 J) F4 a) p
  270. ; PHP function flush() after each and every call to print() or echo() and each4 M5 g8 T4 e, v& n% p
  271. ; and every HTML block.  Turning this option on has serious performance
    , c8 C" d" k* g; Y
  272. ; implications and is generally recommended for debugging purposes only./ L: F& m2 f8 G
  273. ; http://php.net/implicit-flush0 w  E! w5 n0 g
  274. ; Note: This directive is hardcoded to On for the CLI SAPI9 l' |& L, f5 l8 ~
  275. implicit_flush = Off
    8 \- e) a9 k; w' O8 y- |# Z( g

  276. . ?; ^$ s+ Y/ e4 N
  277. ; The unserialize callback function will be called (with the undefined class'! x5 t! ^. U; n  r( n& B8 E
  278. ; name as parameter), if the unserializer finds an undefined class
    0 x5 P( ^3 U' q& ~1 [
  279. ; which should be instantiated. A warning appears if the specified function is
    1 ]4 t/ O5 q. j/ B
  280. ; not defined, or if the function doesn't include/implement the missing class.
    . }7 B+ y, c: \  v( y$ n
  281. ; So only set this entry, if you really want to implement such a, |: `3 I" B% {2 Y4 d
  282. ; callback-function." d* C% a4 n& k' p
  283. unserialize_callback_func =6 H, d4 A/ }" Y( g& j

  284. 9 _8 W- P% H% V' W6 f
  285. ; When floats & doubles are serialized store serialize_precision significant
    7 r+ T. M. s6 i5 k$ T
  286. ; digits after the floating point. The default value ensures that when floats; |1 O* Z. M+ H% ^) N
  287. ; are decoded with unserialize, the data will remain the same.( n9 W& p+ F' ?( |. v+ t3 d
  288. serialize_precision = 17
    . x( y. x  P. g- B; ?3 L

  289. * P( t5 d% ~9 f/ x+ {% }6 y' ~6 S
  290. ; open_basedir, if set, limits all file operations to the defined directory
    0 e& ~7 A; N0 b1 e9 W
  291. ; and below.  This directive makes most sense if used in a per-directory
    " @+ o3 Z6 r: E' m3 E
  292. ; or per-virtualhost web server configuration file.( N& y: U0 Z& H; M; v& e- v
  293. ; http://php.net/open-basedir
    3 l& Z2 n: O  V
  294. ;open_basedir =
    ) n2 W7 \& ^: y4 i( j0 q- d% W* e8 w
  295. 2 u% A. r+ x) I
  296. ; This directive allows you to disable certain functions for security reasons./ m9 c- V, n0 \: N3 H5 U2 f" w
  297. ; It receives a comma-delimited list of function names.0 A! Y; c, B7 _0 s' P
  298. ; http://php.net/disable-functions9 X8 y# ^1 e. B+ {6 U6 @" d
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru+ n) Z% a2 ]4 ^' G0 |

  300. & V; A! O2 e) g3 b
  301. ; This directive allows you to disable certain classes for security reasons." P7 A* g9 R, b3 I2 x5 W, V
  302. ; It receives a comma-delimited list of class names.
    + I: o  L7 y; R4 x* F, H' f( Q
  303. ; http://php.net/disable-classes
    7 h8 ]9 a/ c: z0 l( K
  304. disable_classes =# V/ S9 \) t* U" I3 F5 f2 f
  305. 7 c$ e5 o# Z+ u, W9 j
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ' e3 a5 m. B# W# _! y9 J# Q
  307. ; <span style="color: ???????"> would work.0 F: N7 q  |5 q0 Z
  308. ; http://php.net/syntax-highlighting8 k9 X0 k( Y" ?; A
  309. ;highlight.string  = #DD0000
    8 W1 H: i- l! [* G
  310. ;highlight.comment = #FF9900! v( V0 G! j! C" s
  311. ;highlight.keyword = #0077003 M* @! F& G) u% F6 e" {
  312. ;highlight.default = #0000BB& |) O0 n6 I2 n7 O4 g- G$ @. {  |7 b
  313. ;highlight.html    = #000000* B! [  M/ P! @9 d
  314. ! b: F' P% C4 y# S1 |; p
  315. ; If enabled, the request will be allowed to complete even if the user aborts1 G2 \. q7 t7 W( Z8 `- U
  316. ; the request. Consider enabling it if executing long requests, which may end up9 t' r! l& g) ^& B3 S' U
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    & r( k: c; u4 c( `7 y
  318. ; is to disable this feature.) y& _. e5 N  ]& j6 `8 u
  319. ; http://php.net/ignore-user-abort
    2 @' o& ^/ R+ E
  320. ;ignore_user_abort = On/ e% \9 {& h1 M  v3 S, Q& ]3 U8 X
  321. 2 q: Q# \5 O( z4 K( e  f
  322. ; Determines the size of the realpath cache to be used by PHP. This value should! Z' w- K4 F# l- @) }. N: s
  323. ; be increased on systems where PHP opens many files to reflect the quantity of; x5 S; B3 ~( a
  324. ; the file operations performed.
    : p1 P) h$ {8 |& ^0 {( G
  325. ; http://php.net/realpath-cache-size8 G- Z8 E' ~; M  q, R
  326. ;realpath_cache_size = 4096k
    & E$ ^& m6 K# p* e/ s
  327. ( b: b/ n6 L+ i& k
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    $ b* p! L# K. l) ?9 U
  329. ; file or directory. For systems with rarely changing files, consider increasing this4 I% w) N6 F. T" Q& ]$ K3 V6 A. b7 S
  330. ; value.
    4 w, v7 ?+ t0 T  H; m7 B) e0 p! Y, R
  331. ; http://php.net/realpath-cache-ttl# d2 v9 r1 Y" ~$ g0 k" {
  332. ;realpath_cache_ttl = 1204 c3 X' b) N& e
  333. 6 d/ O9 `5 \; P+ {; U
  334. ; Enables or disables the circular reference collector.
    " ]& s/ z3 k3 N/ ?. U4 O3 p
  335. ; http://php.net/zend.enable-gc
    % ^% H6 Y  j: M5 u. L0 f. I7 b
  336. zend.enable_gc = On3 X: ^# j1 ?: T6 `1 [

  337. & P# e( `% p9 S& Q( M
  338. ; If enabled, scripts may be written in encodings that are incompatible with' L) g( ]8 m$ g# K
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such. J2 n' K7 g5 k6 S- x
  340. ; encodings.  To use this feature, mbstring extension must be enabled.$ H; v% v! t5 _) e
  341. ; Default: Off
    ' F- O# q' {( d/ H# C) m
  342. ;zend.multibyte = Off
    3 X1 C7 ]( P+ E8 `4 w

  343. 7 ^/ z7 _4 W: p0 b+ n; G0 @, s+ G9 u0 _/ G
  344. ; Allows to set the default encoding for the scripts.  This value will be used, G/ l8 M( M/ Q0 Z( `, v/ C
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    8 n3 v# z, B' R, z- o
  346. ; Only affects if zend.multibyte is set.
    8 _4 S: y8 f& M9 u, C
  347. ; Default: ""& a; R# a" Y  }  B; Y5 H
  348. ;zend.script_encoding =) \  X8 \  p/ S

  349. . a7 T% f2 M2 p* ]8 ]: e/ V, r
  350. ;;;;;;;;;;;;;;;;;& t' A4 a; A& O' n3 @
  351. ; Miscellaneous ;+ ^, d. m1 r# p* J+ d4 y7 A
  352. ;;;;;;;;;;;;;;;;;
    . o! W, p4 j! l3 I) o* I
  353. 3 T" ~( H4 @. Q* @& Z, a! A- g9 X' {7 U
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ( a* w" K$ i. [+ f! u, E. h& J
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    7 R9 n& Y; O, }
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ; s. J3 [! Q4 M# d& T5 N
  357. ; on your server or not.
    # l8 M0 w" z: H# x  H
  358. ; http://php.net/expose-php8 Z1 F* r+ Y0 @+ P, C
  359. expose_php = On9 C7 `& {* [+ S: y! s9 Z
  360.   t8 _# J5 h/ x" z  j6 ]
  361. ;;;;;;;;;;;;;;;;;;;5 r  g) T8 o6 B& V' a) F. Q
  362. ; Resource Limits ;$ f" [+ Y1 Z) p, n
  363. ;;;;;;;;;;;;;;;;;;;
      C6 r2 q% F+ ?- L. G8 |& t# k
  364. 6 Q$ a( {, |7 y$ j6 U4 M( j) l7 v
  365. ; Maximum execution time of each script, in seconds! i7 \$ [: l: ~. R& C
  366. ; http://php.net/max-execution-time
    6 m" h" E& f1 W# x3 }; s
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI; F+ e2 S' x* P
  368. max_execution_time = 300% F( S2 m! m: l+ ?$ [9 Y" w

  369. 2 W% X$ M1 `. M" B9 }0 E- X& s9 [( Z
  370. ; Maximum amount of time each script may spend parsing request data. It's a good1 P$ f* D/ [/ e3 Q% \$ I: @. ]
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    9 O+ m$ E+ n7 |
  372. ; long running scripts.
    ; Z& }8 R5 S: _. b
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    3 x! C/ Z. R8 X4 T$ j2 [5 }% f$ Q
  374. ; Default Value: -1 (Unlimited)6 R' n$ ?  {6 E! G: a/ J
  375. ; Development Value: 60 (60 seconds)
    ' W+ u5 i! {3 P7 p& I( [
  376. ; Production Value: 60 (60 seconds)1 F2 C( E' o! k" U/ M
  377. ; http://php.net/max-input-time, `0 n3 e3 x, Z: c* u
  378. max_input_time = 609 K- \3 j7 t, z1 t4 x
  379. # x' j1 S) L3 Z2 p9 ~
  380. ; Maximum input variable nesting level4 v: T' X+ v$ X/ y
  381. ; http://php.net/max-input-nesting-level( n2 ]8 y) p8 X- y+ M
  382. ;max_input_nesting_level = 64
    / m$ ?) m: k( c: i
  383. 8 V, [- e3 R; F% y2 Q4 t$ x
  384. ; How many GET/POST/COOKIE input variables may be accepted5 V, ?* ~. A: t
  385. ; max_input_vars = 1000; f, D" k9 w& @+ D1 V+ c4 F
  386. 8 J, {% ?/ Y2 J/ n
  387. ; Maximum amount of memory a script may consume (128MB). P- B, _5 @' }5 I6 B! d2 _
  388. ; http://php.net/memory-limit
    8 q% G: R1 K: T+ l/ p
  389. memory_limit = 128M
    / V# l* I9 ^& m4 {, ^' p; b
  390. 9 G- Z9 @' v$ L) _
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( @4 d! r( e2 x" ~
  392. ; Error handling and logging ;# s- Y2 f4 b. @
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;. e* Q) J0 }" a' n1 w$ p( H
  394. / V! c. a$ Z7 d2 a
  395. ; This directive informs PHP of which errors, warnings and notices you would like. G6 J( J' y# K5 ?  u; ]+ _
  396. ; it to take action for. The recommended way of setting values for this  [5 L, y# w! \2 l' y
  397. ; directive is through the use of the error level constants and bitwise
    0 i: N* w* f) e6 l' G8 R+ l
  398. ; operators. The error level constants are below here for convenience as well as7 d9 X$ A0 |3 {' N- A1 J/ [
  399. ; some common settings and their meanings.
    , X% v& v& ]! ~, `  T3 w+ r
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT+ r7 q  g; U+ e8 I  E& X* P$ x
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    % n1 N7 G/ k( |0 E+ U
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    2 e$ {# W9 ^) Q. R5 J
  403. ; recommend error reporting setting. Your production server shouldn't be wasting: c+ B, q0 ~- V$ F: J
  404. ; resources complaining about best practices and coding standards. That's what
    " Y- z7 K+ P0 a; s) _( J% m
  405. ; development servers and development settings are for.
    ' T& F! B6 v1 j; J
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ) z8 F! p1 z/ T5 D
  407. ; means it pretty much reports everything which is exactly what you want during( I) D! @- I# m2 J* o/ P: X9 v
  408. ; development and early testing.
    ; |( l8 F6 c! f5 |
  409. ;9 A) y. A- ~. i  }
  410. ; Error Level Constants:
    - \/ ?' A) v! y. S
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)* L8 a4 ~$ Z; ]5 N; O0 P. j2 u
  412. ; E_ERROR           - fatal run-time errors. ?( i0 y9 T2 A! ?
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    2 Q2 k7 @) Y3 H. h5 C
  414. ; E_WARNING         - run-time warnings (non-fatal errors)$ n& E+ f+ |7 w
  415. ; E_PARSE           - compile-time parse errors5 W# c! r, q; B" c- i. R
  416. ; E_NOTICE          - run-time notices (these are warnings which often result4 W1 a# r: b: k; @) ^
  417. ;                     from a bug in your code, but it's possible that it was
    2 V! J/ G& d: T6 A' b
  418. ;                     intentional (e.g., using an uninitialized variable and$ k9 P; P) u- U, ^( F
  419. ;                     relying on the fact it is automatically initialized to an0 |! I4 K: V0 @9 Y
  420. ;                     empty string)7 `! I; }4 o( n! s
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ! \* L6 ^' `0 b
  422. ;                     to your code which will ensure the best interoperability6 @( H- N1 C  A* Y6 I
  423. ;                     and forward compatibility of your code$ {) I, d+ C$ e; p- U
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup/ B1 X$ n2 ~: S; r7 `( I0 j
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    , q3 k$ u0 e( V: W2 I  A
  426. ;                     initial startup5 U1 g: v7 S, A* M$ g0 g
  427. ; E_COMPILE_ERROR   - fatal compile-time errors! f& ]( V+ g; p
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)6 M9 G$ L6 i- E7 G
  429. ; E_USER_ERROR      - user-generated error message4 l; T! `. x; l8 }" M  Q3 W2 o
  430. ; E_USER_WARNING    - user-generated warning message
    & V7 ~7 j& U& o3 V8 R9 @# R
  431. ; E_USER_NOTICE     - user-generated notice message' @* F" U0 B9 [; k
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    , A) _2 s7 A5 G: p
  433. ;                     of PHP
    0 `/ L% f4 J( }  S" n
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    0 |7 L7 ^% l8 N% J
  435. ;
      O6 S" b# h# G# P$ ^" B2 K) U
  436. ; Common Values:& e$ s/ X! C+ n6 C2 P/ X* Y
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)# ?' o3 Q3 a2 L$ q' r" D2 w
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    $ D6 `. l+ e& T3 Y
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.); w0 j1 S$ P6 `2 o0 h
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)( m" W0 \, [* n
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED9 @1 `- j; Q9 o& H: }" O
  442. ; Development Value: E_ALL
    $ r7 ?( M# h# V2 R
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, Y* N. e) H! H- E1 O* l
  444. ; http://php.net/error-reporting1 X3 s! ^6 Z& T6 ?# I. ^
  445. error_reporting = E_ALL & ~E_NOTICE0 ^9 L+ o& r5 [& \5 g% l9 o

  446. # v, Q3 b  b" D0 m5 i: M  ~
  447. ; This directive controls whether or not and where PHP will output errors,( b5 h7 q5 c" e2 S, j
  448. ; notices and warnings too. Error output is very useful during development, but, m; X6 P4 b4 Z, T' ?# m3 ~, B
  449. ; it could be very dangerous in production environments. Depending on the code
    3 i, m' T* {. ^' L  f$ m/ p" j
  450. ; which is triggering the error, sensitive information could potentially leak8 v. x8 b5 h# A6 @1 J% A
  451. ; out of your application such as database usernames and passwords or worse.
    3 N4 j, D4 w  g6 d
  452. ; For production environments, we recommend logging errors rather than. P1 F* H2 s* \' t( E
  453. ; sending them to STDOUT.4 a( |! G2 y$ C
  454. ; Possible Values:
    / z5 L6 Q) M) v" O6 ?- `2 [
  455. ;   Off = Do not display any errors5 [: ]% f, t' V1 a/ r  k
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)+ Y' F, E9 r+ d, s
  457. ;   On or stdout = Display errors to STDOUT; [0 f( \) s) F( D+ J6 r* o. y
  458. ; Default Value: On% j8 i: \4 e7 S  p
  459. ; Development Value: On
    5 C' T$ w+ W- {9 Z, V2 R8 X1 g% e
  460. ; Production Value: Off" ?% U! H1 m7 J# z" K9 y- E0 H" r; ]
  461. ; http://php.net/display-errors
    8 z, a. V8 S* A3 z8 N7 n/ b5 l
  462. display_errors = On3 m6 K6 Y! K8 p% R. ?7 @

  463. " N2 E# m! e5 `4 |
  464. ; The display of errors which occur during PHP's startup sequence are handled: R: {+ P  n6 p. P: |3 p, [2 B
  465. ; separately from display_errors. PHP's default behavior is to suppress those6 ^! O, @, n# E
  466. ; errors from clients. Turning the display of startup errors on can be useful in5 e* D' f; g( I6 B" C
  467. ; debugging configuration problems. We strongly recommend you
    + M2 _, m6 g6 I- R. \. I" M1 K: n+ O
  468. ; set this to 'off' for production servers.
    5 M5 F/ {$ O. a' K8 H# w3 J5 G% X
  469. ; Default Value: Off
    ; Q. A+ L  K; l% W7 C
  470. ; Development Value: On
    8 F+ c7 m' X6 i$ P
  471. ; Production Value: Off; J& N" F- S8 `% A
  472. ; http://php.net/display-startup-errors! n9 r1 ^; F4 E4 _1 Q
  473. display_startup_errors = Off2 X0 G( d" |8 g: i- c; Q* E! k9 W

  474. * E. o5 o5 A3 F
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    3 D3 z* e3 z, p* `2 V: }: D0 }) C" h
  476. ; server-specific log, STDERR, or a location specified by the error_log
      n0 c* y1 x: a5 `
  477. ; directive found below. While errors should not be displayed on productions
    ! ~1 f7 F+ a+ ^( z  o5 P4 v6 n
  478. ; servers they should still be monitored and logging is a great way to do that., q* ^" C7 c9 @0 }0 S
  479. ; Default Value: Off# N$ }. V/ y+ Y# I; F- k9 Z+ R
  480. ; Development Value: On( i' ~9 Z6 v$ S  X
  481. ; Production Value: On; o/ {- }, R  v! L8 P0 b0 r
  482. ; http://php.net/log-errors7 X" ?* o1 ^2 D5 C
  483. log_errors = On7 P9 a3 M0 }8 O. ^. @) R

  484. " N: m! v0 Z1 n" b
  485. ; Set maximum length of log_errors. In error_log information about the source is" y, H. }  B+ C
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all./ R* M1 P8 k5 n& c- d9 h
  487. ; http://php.net/log-errors-max-len
    ( L% z( Q+ E( O$ ^, C$ U3 i
  488. log_errors_max_len = 1024
    . i) }3 A- V# ^1 n0 ]0 X! \- l

  489. ( D* U! ^4 j! V* S$ Z) W2 r
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
      F+ e: c; I$ W, b/ D! y
  491. ; line unless ignore_repeated_source is set true.1 V: y3 [& s* t
  492. ; http://php.net/ignore-repeated-errors: r, n1 |, A2 ~! K4 r% i
  493. ignore_repeated_errors = Off
    ; C1 l* N/ E8 K( @: N7 K0 h

  494.   N2 r9 l: j) e& ^9 D2 e$ q! c
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    * p; z( t1 L) X
  496. ; is On you will not log errors with repeated messages from different files or
    * T0 B" x+ m1 F' D: \2 y7 n& G# o" x6 n
  497. ; source lines.
    5 @. C! O; V& j/ X
  498. ; http://php.net/ignore-repeated-source
    3 R) D5 Y: v! Z4 e5 e: W
  499. ignore_repeated_source = Off3 ]- h" W) Z6 H
  500. 2 \3 Y. z/ w. f+ _3 V. I
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    0 U- J( @/ y8 M: q' C  H
  502. ; stdout or in the log). This has only effect in a debug compile, and if1 C$ q8 H! ^% r4 H: @
  503. ; error reporting includes E_WARNING in the allowed list( J, S* D4 `: C8 J. e+ q* A
  504. ; http://php.net/report-memleaks
    # R' A6 Z' x6 _! a* r9 E
  505. report_memleaks = On- d4 J" V5 Z3 `) E6 {8 {

  506. 7 a* ~) u& S. u8 c
  507. ; This setting is on by default.! \: n, N3 y6 e. G. c' x
  508. ;report_zend_debug = 0( y8 N, ?( K5 ?: n

  509. $ @" @& h0 b9 }) J7 b. A
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    , T5 E* ~; n% n- D5 g. \
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    , B  R- S$ r0 m
  512. ; however be disabled on production servers.+ t9 z& ?) Y# n' O
  513. ; Default Value: Off/ _8 }1 z1 @8 F3 M* Y
  514. ; Development Value: On
    * Q. U9 X. ^7 A7 Z# y/ w1 {
  515. ; Production Value: Off
    2 f% c" ~* N* C/ |7 E
  516. ; http://php.net/track-errors
    " q/ f$ g4 ^# {' l$ i$ i! W2 u
  517. track_errors = Off7 s! M& u! C! `) a
  518. 1 S+ A: U2 J- F
  519. ; Turn off normal error reporting and emit XML-RPC error XML( R0 p4 J  g  V" w6 g6 e4 b
  520. ; http://php.net/xmlrpc-errors
    & `; j* e4 A0 b6 O+ r$ G) N
  521. ;xmlrpc_errors = 0. }3 [2 j6 o6 K5 q4 y+ B, i

  522. $ _5 Q  B& E- W- X, }: E7 z
  523. ; An XML-RPC faultCode' g6 u  y  \$ x8 ?) ~
  524. ;xmlrpc_error_number = 0! }4 L9 q6 c% C2 o7 v! Y6 f/ _
  525. ; B% N' V# a4 J! ]6 P
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    4 D5 j8 l" s7 D0 d) Q
  527. ; error message as HTML for easier reading. This directive controls whether
    3 I. B# M9 g+ ]: m0 s" x
  528. ; the error message is formatted as HTML or not." t* [, f( y- J. A7 ^2 Z- U8 j) p
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI% ~! g4 l# J6 u) x
  530. ; Default Value: On
    4 g3 X* C; g! a; y2 K5 D" T
  531. ; Development Value: On! J6 A1 J6 @& O, U; V
  532. ; Production value: On
    5 E; R6 u; ~+ b) Z
  533. ; http://php.net/html-errors
    ( ~4 T5 N# ^' `$ J
  534. html_errors = On
    1 T& k2 U& _) z) N

  535. 4 B% H0 f, I* N9 j# W7 r
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP  v" F% E  r# F0 g: ?$ @
  537. ; produces clickable error messages that direct to a page describing the error/ i0 w' G5 @4 t1 N' ^1 C% ~
  538. ; or function causing the error in detail.
    2 S! p" d5 ~. s) P" Y
  539. ; You can download a copy of the PHP manual from http://php.net/docs5 H, E! t* _7 _8 k; z2 J8 t
  540. ; and change docref_root to the base URL of your local copy including the
    + A6 o$ y, C7 E' v8 A+ M+ i+ O
  541. ; leading '/'. You must also specify the file extension being used including
    & W" H* W- A, }
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
      q- f' l5 i5 ?: e9 x" L
  543. ; case no links to documentation are generated.9 Y) Q6 B/ s- _. ~4 A" b9 t
  544. ; Note: Never use this feature for production boxes.
    , A, E" r1 u& p6 C* @
  545. ; http://php.net/docref-root
    9 z6 s$ n! T$ @
  546. ; Examples8 k# s+ s* b; t7 P. J9 ]4 T" C
  547. ;docref_root = "/phpmanual/"
      {9 C( s% t; k& \: z! z
  548. ' c5 y( {/ Z' |* Z) O; Z9 \$ ?
  549. ; http://php.net/docref-ext* e# O1 S; \. S
  550. ;docref_ext = .html# c* y5 W2 j# n( k! w1 k; _
  551. * O- T2 I1 U( q: I
  552. ; String to output before an error message. PHP's default behavior is to leave
    ( V# f# Z: S1 u& A' v: y: f5 K
  553. ; this setting blank.
    + ]& r. e* v+ ]9 u
  554. ; http://php.net/error-prepend-string
    # h: g6 `. g2 Z, W% W9 S! i
  555. ; Example:
    7 ?) z7 G. O( q! [  ~5 V' n2 o$ j
  556. ;error_prepend_string = "<span style='color: #ff0000'>"! y7 m/ U$ G5 B

  557. ; v+ x3 R% N- G7 E% C' |
  558. ; String to output after an error message. PHP's default behavior is to leave
    3 ?% I( i& V+ F9 {: v" h7 _; H
  559. ; this setting blank.! T0 U8 q  E9 V. [. P9 d+ d5 }
  560. ; http://php.net/error-append-string
    7 j0 Y+ c+ a4 I% h, ~3 U
  561. ; Example:
    ( ?2 Q" w9 h6 m
  562. ;error_append_string = "</span>"  p* J  I' U/ O) o& v# `# O0 }1 _
  563. 0 I, ^$ Q5 B& L; |9 N# G
  564. ; Log errors to specified file. PHP's default behavior is to leave this value$ v% O/ K: q9 `$ X# N, U
  565. ; empty.
    # v4 Q# V+ B3 K. h
  566. ; http://php.net/error-log
    - Q* |2 O' k# Q3 C
  567. ; Example:
    . b+ p9 U/ C3 d: t0 V6 r
  568. ;error_log = php_errors.log
    6 m3 j% S" C+ p& G, N8 D* o6 I
  569. ; Log errors to syslog (Event Log on Windows).
    7 ~5 t% c9 b0 A0 c
  570. ;error_log = syslog7 r* y# f7 e1 K8 p$ r, M
  571. 4 j7 M6 n0 g2 ?" E- T5 S+ Q9 V; `, \* _
  572. ;windows.show_crt_warning5 J% i6 B# I* U7 T
  573. ; Default value: 0
    ) k: E7 a( N8 z' \
  574. ; Development value: 04 c6 C1 M/ C- a  M
  575. ; Production value: 0
    ! G7 K6 h; g( o% N$ U1 g& J8 e

  576. & b* C; h% S# r0 P
  577. ;;;;;;;;;;;;;;;;;
    ( N1 C8 T7 V/ X) G
  578. ; Data Handling ;
    3 z; x& M% e. F# T4 K4 \. T
  579. ;;;;;;;;;;;;;;;;;
    + m1 {$ |8 U. n2 _
  580. 0 N4 v  k& q& ?# Y
  581. ; The separator used in PHP generated URLs to separate arguments.8 t$ o) V1 w1 \/ v/ z) S
  582. ; PHP's default setting is "&".
    5 i, U5 t1 w0 p4 q* U. u- _
  583. ; http://php.net/arg-separator.output) O" k9 r$ h2 _* t# \/ _' C/ o
  584. ; Example:+ O+ I6 h( \# w; T) U4 F: v
  585. ;arg_separator.output = "&"
    . }6 ?: N# @# }( k" `
  586. . y' X  r2 M, C/ U5 H
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    % {: V+ y- N) Y4 W2 {
  588. ; PHP's default setting is "&".! t  g4 T( i0 a' P# \0 u2 V3 {
  589. ; NOTE: Every character in this directive is considered as separator!& U! |  Q/ X2 d2 O
  590. ; http://php.net/arg-separator.input
    # F$ ?/ x( ?4 G/ P# x' R8 g
  591. ; Example:4 E) c7 Z" ?% t+ c2 [# y
  592. ;arg_separator.input = ";&"
    6 H" u# c1 I7 T
  593. / ?/ `  z$ a2 c, G3 [
  594. ; This directive determines which super global arrays are registered when PHP- @! s/ Y9 `" Q' N# A
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    $ q( g- ^8 [4 {$ R8 K+ q, q
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty$ ^0 \8 q  h* @* o+ D; I
  597. ; paid for the registration of these arrays and because ENV is not as commonly+ c( z; B& b2 b
  598. ; used as the others, ENV is not recommended on productions servers. You) G* T6 U' a, A* j' ^' \
  599. ; can still get access to the environment variables through getenv() should you
    ; H2 K% }3 {  T3 J- d$ }/ W5 i
  600. ; need to.
    7 J8 p& U3 ]: s, A
  601. ; Default Value: "EGPCS"
    ; P, R4 x# A/ }
  602. ; Development Value: "GPCS"
    ! e0 K$ G" X9 Z' `8 F; y6 m1 t
  603. ; Production Value: "GPCS";1 Z# |  ]% l5 D8 R3 v. p
  604. ; http://php.net/variables-order
    9 w$ D$ a7 x1 Y- O- Y  j0 ]5 P8 E, \
  605. variables_order = "GPCS"
    % `8 z2 p# }5 w( K  @5 P
  606. - b' r3 ~) h- s) p+ w# {
  607. ; This directive determines which super global data (G,P & C) should be; X  ?% o" i5 v! q' u
  608. ; registered into the super global array REQUEST. If so, it also determines! o! m6 |+ G; W9 t' U
  609. ; the order in which that data is registered. The values for this directive% R2 _+ G; C5 c0 z3 V
  610. ; are specified in the same manner as the variables_order directive,
    ! w* z' v' V2 G/ {
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set0 r9 r% R/ d4 o  X) ?7 }
  612. ; in the variables_order directive. It does not mean it will leave the super
    * p1 @, i. R2 W: l: {7 N
  613. ; globals array REQUEST empty.$ ~4 J) X2 i+ A& e$ B7 _
  614. ; Default Value: None
    9 [7 Q' u; y1 Z/ O/ o+ W
  615. ; Development Value: "GP"/ Q& B$ y0 N1 x- L% D
  616. ; Production Value: "GP"6 [4 n, s) N' T( i& U- ^4 p( e
  617. ; http://php.net/request-order( K4 t' @+ v( W1 G9 Z
  618. request_order = "GP"/ |- h5 F4 ~% z  h7 t

  619. 2 r9 z$ `4 W$ u' O) A0 f2 j9 n
  620. ; This directive determines whether PHP registers $argv & $argc each time it* h  ~' |0 F; K
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script. N+ ~$ M: t0 S3 r* Z/ u% P
  622. ; is invoked. $argc contains an integer representing the number of arguments, t+ V2 T8 @" p: A$ D! w
  623. ; that were passed when the script was invoked. These arrays are extremely( k) m/ @$ i: ?" v  F6 C
  624. ; useful when running scripts from the command line. When this directive is
    * M$ \, v& r: c
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    " w3 f! B, \5 @' Q
  626. ; a script is executed. For performance reasons, this feature should be disabled) C- g2 X5 b3 F3 w+ M/ x; W* x
  627. ; on production servers.3 a/ z8 w+ ^2 v& s. u  g
  628. ; Note: This directive is hardcoded to On for the CLI SAPI5 h% f8 y, I0 j7 _
  629. ; Default Value: On" E1 r7 I# M# @
  630. ; Development Value: Off$ a' V/ n9 p( ]9 A. r6 F& G7 c
  631. ; Production Value: Off
    * A2 ?& |0 Y6 m/ b
  632. ; http://php.net/register-argc-argv
    0 I' M8 {* }) l1 ]9 H/ L/ S
  633. register_argc_argv = Off  g: A$ c. V# Q4 @; C2 v
  634. 8 ]! q; H6 M% Q5 b2 l/ O& V! g5 y
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    # }! S! k8 y- m3 `, N/ d1 ^
  636. ; first used (Just In Time) instead of when the script starts. If these
    % N/ D" \2 e- w% y& w# L
  637. ; variables are not used within a script, having this directive on will result, r/ A8 E: c8 t$ q+ s% i+ v. _# X
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    1 A, u; q( Y% ]) h$ y: j, V
  639. ; for this directive to have any affect.
    & @) G- D4 o  y& ?; _0 h, l: T
  640. ; http://php.net/auto-globals-jit- @% e% o3 w/ j% G+ E( M( E
  641. auto_globals_jit = On
    6 @4 J$ d+ f% E, n

  642. * G4 J" c$ f) i" n
  643. ; Whether PHP will read the POST data.. e/ i5 K0 e# ~6 N) d5 k& w
  644. ; This option is enabled by default.
    ) p: S* x/ |9 @. `) l" C- Y& Y: f
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST/ @$ y- C  q0 X4 O! u' P% L; C
  646. ; and $_FILES to always be empty; the only way you will be able to read the# }% a: ?" f  L
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    - r+ g! a$ ?, e, K& `; b7 M' d
  648. ; to proxy requests or to process the POST data in a memory efficient fashion." m( M& }  Y; y5 C
  649. ; http://php.net/enable-post-data-reading0 q  b5 Z+ b8 a, x# r7 U
  650. ;enable_post_data_reading = Off. e# ^& Z. {! h4 p) X& m) h

  651. ' Y2 s: N/ e0 k) R1 W
  652. ; Maximum size of POST data that PHP will accept.+ I* M, q# P" k! }: S
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
      y3 G( i, S# l# R
  654. ; is disabled through enable_post_data_reading.4 S8 Q. a+ H( k# J) {8 m  i1 z
  655. ; http://php.net/post-max-size2 n- h, f0 N# o. W
  656. post_max_size = 50M8 W3 M$ J/ a7 z& O  `/ w3 }
  657. 1 ]! A3 r# q+ c8 H4 V6 X: Y
  658. ; Automatically add files before PHP document.7 I: @+ p& P/ o4 C9 m$ f/ r! `
  659. ; http://php.net/auto-prepend-file
    ' {6 i/ L4 v9 @1 @5 L: [! p
  660. auto_prepend_file =
    , @( C; s1 b: U0 C' t
  661. ! Q0 w- s9 }, t: I- K+ c% Z$ H
  662. ; Automatically add files after PHP document.) m8 J; `) h8 \8 w8 I0 D* d6 G
  663. ; http://php.net/auto-append-file7 k% J/ \- F- E" J, |
  664. auto_append_file =( P* A4 L: t+ {3 F9 ~. K

  665. 1 l8 \; l" q9 s$ G! h
  666. ; By default, PHP will output a media type using the Content-Type header. To
    ; y% L3 N9 f$ q
  667. ; disable this, simply set it to be empty.
    $ J  N# Z6 A5 U. {9 ]
  668. ;( J, k5 ?6 L' ~6 K, ]) n8 l5 \
  669. ; PHP's built-in default media type is set to text/html.
    9 g7 J/ O- k% N& Z/ y
  670. ; http://php.net/default-mimetype
    ) Q, I: O' h) O* S; Z7 G
  671. default_mimetype = "text/html"# {: m9 `  K/ Z' y- k  T" D

  672. 0 M, }. z* b* y! v7 B/ }
  673. ; PHP's default character set is set to UTF-8.
    . t# E3 ?- a" R2 x. p7 \
  674. ; http://php.net/default-charset6 K% \0 t( G: j+ f
  675. default_charset = "UTF-8", R0 z. r$ b6 m4 ~1 G
  676. ; i  v# z$ z' G, d
  677. ; PHP internal character encoding is set to empty.
      P! G  z* {- H2 e" W8 x9 t9 S5 f
  678. ; If empty, default_charset is used.
    3 P) _' [4 [0 Z- r1 Q) t7 P) d! q
  679. ; http://php.net/internal-encoding
    - W8 A: Z1 ~' n: r
  680. ;internal_encoding =* \0 E  W8 K& G% S, A1 K: y
  681. " C1 L9 i7 r& m( v% p  N7 s
  682. ; PHP input character encoding is set to empty.2 s) i; Z; _' R' I/ J$ Q- `/ D
  683. ; If empty, default_charset is used.
    # M6 \' p% d$ h/ U) K) }
  684. ; http://php.net/input-encoding
    + V% ?+ d: n4 D. E+ w) p8 i
  685. ;input_encoding =; {; |# ~, }+ ^0 z9 A8 p* X

  686. 3 T. [& X- i4 G' s4 [0 |5 T
  687. ; PHP output character encoding is set to empty.
    4 H. P! [  N5 \
  688. ; If empty, default_charset is used.
    2 v3 N7 d$ Z( M6 {9 A9 z# Q) v
  689. ; See also output_buffer.% O4 A8 W9 j% J" k0 s7 Z$ c2 X5 {
  690. ; http://php.net/output-encoding0 v) F5 m7 b; z- ]- R
  691. ;output_encoding =4 a  w0 G5 T' K) ~
  692. : ?  {( }! ]1 I3 M  I3 I' N
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    4 m9 N: m( D" Q; W
  694. ; Paths and Directories ;
    : C- J" \6 @& X, U
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    # X5 A) ~( z* I' @1 J, _

  696. # e, a# N" q5 q: w; X
  697. ; UNIX: "/path1:/path2"  x) Q% |: f) Z& R3 h
  698. ;include_path = ".:/php/includes"
    1 a4 g8 `6 \. j) t) W
  699. ;
    . h' O! T% n. M0 M) H9 H( E+ X- w
  700. ; Windows: "\path1;\path2"
    7 {9 u; q, ]1 v5 o+ }* t
  701. ;include_path = ".;c:\php\includes"
    & ^+ O% w" S/ y7 |, V# ]* i" h( e
  702. ;
    # D8 Z4 N! n1 d& z
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    5 {% q/ E3 @) k0 B+ A, I9 E2 h3 \
  704. ; http://php.net/include-path/ B& [7 r$ E8 ?& j' @, K
  705. * |0 x' ^, @. A# }/ c
  706. ; The root of the PHP pages, used only if nonempty.9 A5 ~& o% O* `$ z2 R& t
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    " j! N" u+ _  U% l6 `4 r5 N3 \) A7 U
  708. ; if you are running php as a CGI under any web server (other than IIS)9 u6 [1 l" F. ~0 n4 s. t
  709. ; see documentation for security issues.  The alternate is to use the+ v2 a9 C6 A2 j3 l& G" A( \' L
  710. ; cgi.force_redirect configuration below+ W/ I1 v2 q% A4 |4 Q4 k( \8 [! N
  711. ; http://php.net/doc-root
    ; n8 R5 n+ |4 L3 T7 m; }! O1 G7 |
  712. doc_root =
    ' b2 B& j' C) A. P
  713. * t% u6 X: C1 I( @; N
  714. ; The directory under which PHP opens the script using /~username used only6 t3 ^- I4 t" n1 d
  715. ; if nonempty.
    " a: }* s# V, x! C. w. z' B
  716. ; http://php.net/user-dir( K# e' h6 |8 o+ v" f4 p% U, `, c
  717. user_dir =: g2 y' D8 e1 S

  718. 9 N* h( B5 p! P' Y9 \' W; y
  719. ; Directory in which the loadable extensions (modules) reside.* P( b9 C0 e9 v
  720. ; http://php.net/extension-dir
    0 g; s/ r! i$ p; Z& I( g
  721. ; extension_dir = "./"0 x9 \( ]% o( V5 y$ K" C
  722. ; On windows:2 `" M' c4 L. {( _$ w3 p, Z
  723. ; extension_dir = "ext"
    ( g5 c% j8 o9 F3 O' X  S/ A/ N

  724. ( [/ H. f$ b5 j5 w" ~0 f, X# U1 `
  725. ; Directory where the temporary files should be placed.& A" g. z, r# b' V- S4 Z& Q/ D
  726. ; Defaults to the system default (see sys_get_temp_dir)6 ]" r6 a+ q& c* i* [0 h$ ~
  727. ; sys_temp_dir = "/tmp"6 }! ^6 B( J$ ]. A

  728. 9 d9 w1 @5 n* b4 s$ z3 L% k
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    - T/ m* ?0 E5 C
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically$ S. b; w$ N; L; s9 C
  731. ; disabled on them.
    . H' }" f' |7 I2 h5 R
  732. ; http://php.net/enable-dl: X  {3 h4 A" Z! S" Z" k
  733. enable_dl = Off
      x2 i& o) d6 c+ W7 a: V+ y9 q
  734. 0 s4 K) a9 Y1 b4 C8 \! v
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under* P2 Y6 K) P( T( E  f! ?
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    + |+ b9 }' S! D2 A
  737. ; turn it off here AT YOUR OWN RISK
    : U1 N- S5 l9 A4 {
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**; o$ y; {4 |$ p  K" R3 g
  739. ; http://php.net/cgi.force-redirect
    / Q* t- m( i/ _* w1 z0 @
  740. ;cgi.force_redirect = 1+ C$ f& X- T( N& u0 D+ `+ i, _
  741. % W' U! z% V! q% O4 x
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with) Z8 S  v$ Q  U9 ]0 j1 W5 z
  743. ; every request. PHP's default behavior is to disable this feature.
    + `+ N! |" w% C8 m
  744. ;cgi.nph = 1
    * U! K: P! \* _9 a
  745. ( |2 A& i5 V- a& j0 ~7 J. b6 j7 Y' {
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape. X; p4 I; Q; d. B1 t" f* P
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP1 n: W3 {* s5 Q4 q: m
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY' l- ]1 ]  v* T& v; e, F
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.( \, Z& X9 t% y% V
  750. ; http://php.net/cgi.redirect-status-env4 b2 @; U$ b) r7 J( E1 a: u* n
  751. ;cgi.redirect_status_env =
    5 A4 T+ n+ U# e/ N/ }1 ?

  752. ) `0 z1 a0 H6 C9 i9 b6 c
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    8 L# G) v% k# s* L# Y2 w9 g
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ) y& N2 v4 B. m; X- o: ~3 J# h6 c  i
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting$ N, m2 t" s+ K; T$ q4 ]
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    3 ?& R# W; ]' n
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts# |+ M7 N! ~& R- e0 A
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    & l" b; j; X  N$ o5 f4 c
  759. ; http://php.net/cgi.fix-pathinfo+ c- I" f9 ~" Y7 b- b( k
  760. cgi.fix_pathinfo=1
    1 n9 S7 z# ]2 k: `+ k( |

  761. . q9 q/ Q1 H1 ^
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside/ E) }* F+ Q& F2 @7 R% y
  763. ; of the web tree and people will not be able to circumvent .htaccess security.+ l5 y% z! g- f0 {, w
  764. ; http://php.net/cgi.dicard-path( Z4 {4 N( M, K+ Z% N. z  W: p
  765. ;cgi.discard_path=1
    ' ^$ Y8 ~, Z: D" H5 m& e& {6 l

  766. - u; D0 T, q# w, a. `* i3 ?0 V/ N
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate3 r' v! f6 u8 f" ]
  768. ; security tokens of the calling client.  This allows IIS to define the
    3 |4 ~1 Q3 q4 ^; e: x
  769. ; security context that the request runs under.  mod_fastcgi under Apache3 r. F3 C9 K+ G) L4 k" n
  770. ; does not currently support this feature (03/17/2002)
    / K- Q2 J" p8 P- I/ E3 J4 @
  771. ; Set to 1 if running under IIS.  Default is zero., o1 ?) \  r/ M* E: q8 P
  772. ; http://php.net/fastcgi.impersonate# V- W- `- Q& u+ c: [
  773. ;fastcgi.impersonate = 1
    ( u) e9 I3 `/ W

  774. , K: ~; g8 F7 |
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    - K+ J* Q& [# K" ?0 u, A# V. x4 h
  776. ; this feature.
    * L) o( p! a, E# Q! }
  777. ;fastcgi.logging = 0
    4 z* r- l* f4 }+ g: j" M

  778. 1 B# c& P; o' f
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to! X9 O$ d+ h" C% Z; y' S
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    1 ^- U( w# u" l: m! d5 v
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    / U) }5 f. p/ z" @# J
  782. ; RFC2616 compliant header.( ~! n- v$ N. E/ I3 a9 P' a
  783. ; Default is zero.$ f3 z1 n0 X* {2 @, \
  784. ; http://php.net/cgi.rfc2616-headers, T) \) c8 d+ x: @
  785. ;cgi.rfc2616_headers = 0& ?+ L  |9 H, f" ^
  786. ' c2 g9 |" _1 f
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!& p* H( _/ _: t3 L$ S
  788. ; (shebang) at the top of the running script. This line might be needed if the
    2 r3 ^# P; |- `4 m
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    1 d' L5 y4 l, w1 Q3 `0 V+ ^9 O4 G4 t
  790. ; mode skips this line and ignores its content if this directive is turned on.. g5 p* Y$ W6 U1 l$ ~: ~+ x
  791. ; http://php.net/cgi.check-shebang-line3 x* G  s! f) v% O9 J8 X
  792. ;cgi.check_shebang_line=1
    - i. F& X1 H* ~5 [' |& _

  793. ( r/ O7 H5 Y+ r
  794. ;;;;;;;;;;;;;;;;( D1 T9 Y8 w3 L
  795. ; File Uploads ;
    9 E+ R1 ?- B3 x, D6 B/ F
  796. ;;;;;;;;;;;;;;;;
    & T+ ~$ J" F6 ?' A2 C* U; ~& j$ o% t
  797. 4 U1 {2 @- c# D! W/ m
  798. ; Whether to allow HTTP file uploads.
    * Q& L! _: @/ O# O4 X  V- D5 M$ r2 O
  799. ; http://php.net/file-uploads
    4 c: q- E7 k# ~' E2 z
  800. file_uploads = On
    7 X8 T0 |5 m# e: }& [" N4 ~
  801. 1 v* |& D# i$ u! D
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    3 f! Z3 v" B5 q: n7 X/ V
  803. ; specified).7 ^* C9 W0 H& y9 e1 s
  804. ; http://php.net/upload-tmp-dir
    " W0 G( x7 ~4 L$ \
  805. ;upload_tmp_dir =  ^' V$ t* t5 L4 A: _
  806. , _/ Q3 U0 Q' E8 I& Q
  807. ; Maximum allowed size for uploaded files.
    ) t; y) l* e3 {! o
  808. ; http://php.net/upload-max-filesize# V- A! b$ u( y
  809. upload_max_filesize = 50M& H& Z5 U- j7 Q" X. @
  810. 2 t8 Z) S9 G  Y& ]$ i& j/ C( d" ?
  811. ; Maximum number of files that can be uploaded via a single request
    4 K3 b, G( j7 p6 R
  812. max_file_uploads = 203 C( V' [: r' [+ y- Z& d7 D
  813. - L: l  ~2 R' A0 h8 t
  814. ;;;;;;;;;;;;;;;;;;
      g3 W2 e1 w- \9 Y/ }0 H  _
  815. ; Fopen wrappers ;7 i5 V3 }8 Y$ C, |4 O- Q; e
  816. ;;;;;;;;;;;;;;;;;;3 c# q. p- Q" k/ {/ h- B

  817. . D, g4 z$ ]8 |! S) Y
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    - |0 Y! n8 P4 H
  819. ; http://php.net/allow-url-fopen
    ; y$ I$ z9 d0 n& e/ P. s" v8 f% ?6 T
  820. allow_url_fopen = On, T! T5 L+ {! a. b& m
  821. 7 B' P  f1 b9 j& {- s1 H% M
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    1 H# }0 X; p, o3 v  J
  823. ; http://php.net/allow-url-include
    - Q2 P6 X, _8 H3 p
  824. allow_url_include = Off
    3 L! `/ I5 u! |2 Z8 {8 ]8 G
  825. 1 A( q6 \' C! \% @. D: v; q$ H
  826. ; Define the anonymous ftp password (your email address). PHP's default setting! d. @% U. R, H( p
  827. ; for this is empty./ V. _2 N, b/ X" O
  828. ; http://php.net/from
    $ s6 [/ P" K" K- W6 x7 w& Z) R
  829. ;from="john@doe.com"
    3 |8 j$ _" K" B2 a) Y
  830. % w( Y; J! U$ Z7 j4 [; f8 l
  831. ; Define the User-Agent string. PHP's default setting for this is empty.: R" Z! O' s  w* U1 ^7 V: Q
  832. ; http://php.net/user-agent  C9 f0 Q+ N+ S- m) B* }% k" G2 v+ w7 \
  833. ;user_agent="PHP"3 j9 s; [: D1 ^0 F9 S* M
  834. 8 |8 a" b9 g# J+ n* @6 l
  835. ; Default timeout for socket based streams (seconds)9 s! {/ Y6 M+ S' `9 F
  836. ; http://php.net/default-socket-timeout3 h9 i& t' L" E' V) N# s! H
  837. default_socket_timeout = 601 C4 j1 f$ a5 D5 V2 H# B
  838. ! z: Y. b% }; w3 }2 [
  839. ; If your scripts have to deal with files from Macintosh systems,
    8 ~1 z5 N; P/ K' E; x* b# f
  840. ; or you are running on a Mac and need to deal with files from, R; U$ m$ x# y, ^
  841. ; unix or win32 systems, setting this flag will cause PHP to
    # u6 ]0 o6 [6 K' q% W
  842. ; automatically detect the EOL character in those files so that# \& J: R  D* }8 J
  843. ; fgets() and file() will work regardless of the source of the file.
    # V# x. j7 P% N( V' u$ h% {
  844. ; http://php.net/auto-detect-line-endings
    4 v- H+ s* x& B$ F  U: `4 i  u
  845. ;auto_detect_line_endings = Off7 \! a- |! i4 v) O
  846. / O1 ~0 n$ J& R/ c9 I
  847. ;;;;;;;;;;;;;;;;;;;;;;/ \7 V( y* D% O( V
  848. ; Dynamic Extensions ;! |4 l/ ^5 l% \
  849. ;;;;;;;;;;;;;;;;;;;;;;
    ) R' W! W* {9 L  Y

  850. - y, k% h& z7 a( q2 E* l
  851. ; If you wish to have an extension loaded automatically, use the following
    ' T" p. ]( y* W2 g3 J: z
  852. ; syntax:
    , p6 o& c2 p4 W- F- r2 ^
  853. ;
    . z% F' S' M( ?  V  L. O/ Q2 ]& s
  854. ;   extension=modulename.extension# V+ O* d1 y+ w" u- P+ |* R
  855. ;8 z' d, C( d- U6 ~
  856. ; For example, on Windows:9 i! l4 J8 `" k
  857. ;7 x9 ?; d5 `9 ^4 ~. _
  858. ;   extension=msql.dll+ t) t( k0 Y4 m8 c" d
  859. ;, t8 F8 k# z; R% ]% |8 c- _+ J# H0 G
  860. ; ... or under UNIX:
    5 i! v- p% f# z, o, }% C3 n
  861. ;
    3 f3 k" O/ @" Z; w  u$ S
  862. ;   extension=msql.so
    / W. U' Q1 @" b$ Y+ y# {
  863. ;
    ) r* ?3 m" d4 _! r
  864. ; ... or with a path:4 k7 b1 e/ O& }% `* A
  865. ;/ V5 A& `1 _5 ^. x
  866. ;   extension=/path/to/extension/msql.so: J- U9 {& o" d( b
  867. ;, h4 F8 i9 n+ w; n, F6 n. M
  868. ; If you only provide the name of the extension, PHP will look for it in its6 Z: y! s8 u; [& Z+ N
  869. ; default extension directory.
      i  t7 ~  Q# |% X* m
  870. ;" ~( D) k: y, {( s4 O5 [/ b
  871. ; Windows Extensions
    * F& ~4 U0 `0 R& `6 }% O$ i: m6 y' I
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ( x: h8 @. g8 {1 C
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    # B; q: H% f( U8 H0 O9 r8 x, x
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).$ n8 }/ P! l# f7 e
  875. ; Be sure to appropriately set the extension_dir directive.
    0 I  L/ @. m. P. }2 M
  876. ;; d7 \  }, _0 p" g( K5 i3 M( c
  877. ;extension=php_bz2.dll, f$ ^  L7 f' s- J. g' _' j/ O
  878. ;extension=php_curl.dll, t  ]7 z# h- x4 c& _: L
  879. ;extension=php_fileinfo.dll6 z2 e" v; x. x! K" U4 k: z. o
  880. ;extension=php_ftp.dll
    / t1 |- M+ B' H0 ]1 W
  881. ;extension=php_gd2.dll
    8 G  X7 R1 {3 P, s3 [3 F, a! m
  882. ;extension=php_gettext.dll$ i2 U1 f; ]5 u8 {
  883. ;extension=php_gmp.dll
    : h2 \) _9 r8 p! v1 Z( w0 H
  884. ;extension=php_intl.dll
    3 h, ]; [+ O/ X8 z+ B5 M/ y
  885. ;extension=php_imap.dll
    7 h4 [# u( A8 ]1 U- O- H( p) k
  886. ;extension=php_interbase.dll
    * w& {4 M" o/ `6 ^- k' p# D
  887. ;extension=php_ldap.dll
    2 Q( @* ^3 V- ]- U7 N7 k& r3 W( ^
  888. ;extension=php_mbstring.dll
    : O5 e! v* G/ K1 J
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    3 q1 v+ B) L9 k0 f" T
  890. ;extension=php_mysqli.dll
    . F( Z, w, H- Q7 h  E" M5 t4 U1 o
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    & F% R) W, x  _( Z0 H9 }
  892. ;extension=php_openssl.dll
    $ ?. w! i0 S" G, c2 U
  893. ;extension=php_pdo_firebird.dll
    : G* a& [0 t, @1 r
  894. ;extension=php_pdo_mysql.dll  c1 G0 r5 Y. v1 f' g9 k
  895. ;extension=php_pdo_oci.dll$ b7 y& R; A! H/ m4 a% V
  896. ;extension=php_pdo_odbc.dll
    5 n! f# [3 `1 G7 A. o% |9 \
  897. ;extension=php_pdo_pgsql.dll
    0 |8 U& {# A! h$ Y' P) f
  898. ;extension=php_pdo_sqlite.dll
    ; u- i5 p: K/ v; k9 Y
  899. ;extension=php_pgsql.dll
    ( H+ m) L9 t6 c+ q$ f
  900. ;extension=php_shmop.dll
    9 w4 O! \" f) z2 }
  901. ' o' O/ v" @. @: S( Z0 u- s
  902. ; The MIBS data available in the PHP distribution must be installed.
    ) K5 y, c! `- U1 J5 p( A; N
  903. ; See http://www.php.net/manual/en/snmp.installation.php" K4 E  v& d& h9 G
  904. ;extension=php_snmp.dll4 a3 T) a- q$ Q* Z8 n
  905. / Z2 A) n* F" R. a- O- |
  906. ;extension=php_soap.dll
    # f! I& H& P7 M7 B" n3 L& K8 s/ O  r
  907. ;extension=php_sockets.dll
    : {. k: v" |4 V& _8 `0 _
  908. ;extension=php_sqlite3.dll
    7 W# }% e% G1 q+ W  ^% Z. {
  909. ;extension=php_tidy.dll
    4 \& y& R* s( R8 p
  910. ;extension=php_xmlrpc.dll' L% a# g9 }& c/ m3 Z" @6 r5 J: Y
  911. ;extension=php_xsl.dll9 x" O8 r$ H7 B/ N

  912. * u! x7 C/ v7 m9 e, f& e$ F: N
  913. ;;;;;;;;;;;;;;;;;;;
    * e# a6 c1 E/ H$ _7 A, K' Y/ c
  914. ; Module Settings ;
    : V" q! Y+ a, U! a* I
  915. ;;;;;;;;;;;;;;;;;;;
    # Z# Q; g: |1 l% _: `9 u
  916. 7 o: Q9 Z- V8 \3 _$ x
  917. [CLI Server]
    - K0 r7 H+ Q9 g- C& b8 A7 ?
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.* S/ x# ^9 l' I2 |* X
  919. cli_server.color = On# p+ P& k& E, {( N# |  {
  920. # F. h" d) r! T+ U7 [
  921. [Date]) E" B# I4 m) j  G% t$ K% s
  922. ; Defines the default timezone used by the date functions
    ; ~) T6 c4 X) n- F! W( k
  923. ; http://php.net/date.timezone
    * C) `/ E. |9 B( |, H
  924. date.timezone = PRC
    2 ?& I, B: |$ s* q

  925. 7 U( v% L( t( f1 Q! n& a
  926. ; http://php.net/date.default-latitude& W9 G8 i/ G( v9 x# I) T5 i$ ?
  927. ;date.default_latitude = 31.7667
    2 M3 I# G. l$ ~

  928. ( C( l; `" k' L! C# D0 n
  929. ; http://php.net/date.default-longitude2 i# m4 E7 a; |5 b' B
  930. ;date.default_longitude = 35.2333* {  C/ m, ]  t
  931. 6 h  x" @$ |7 H1 T* h% @
  932. ; http://php.net/date.sunrise-zenith4 F  ~$ b: s. f- [8 w" g. |9 k3 N
  933. ;date.sunrise_zenith = 90.583333: ]5 o, U. p: x- \& K3 z

  934. $ U: ]& @" W! P- S  X2 @, j6 B
  935. ; http://php.net/date.sunset-zenith5 Y) x( F: p* p
  936. ;date.sunset_zenith = 90.583333) d5 ]$ K! t3 l8 n5 ~( j
  937. % k: |4 }% R0 w
  938. [filter]' }% n% J2 a+ E6 ^+ Q, @
  939. ; http://php.net/filter.default2 d) B$ Y9 z' E2 h
  940. ;filter.default = unsafe_raw
    5 i) O. Z9 _, y! e8 R5 \% o. J

  941. 4 W! I1 f& ?  N% {1 z& i) j5 C
  942. ; http://php.net/filter.default-flags% q% L" o) L! e4 {
  943. ;filter.default_flags =% j' J( I+ g( s0 T6 T- h
  944. 3 n$ R2 j+ ]/ S, R, a4 K
  945. [iconv], u, E4 ^. D( K
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.. ~5 _- u0 d1 y; {+ o2 j3 J
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    1 ^+ L* O8 [: A$ g1 C* {+ X
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    7 D. I7 D; g! H1 Q/ `
  949. ;iconv.input_encoding =# Y- i* |2 h/ \2 q- a

  950. " |2 w* F( p7 Z1 I$ ~$ A
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
      Q. K5 ~4 d0 o  x1 S
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used./ Y) c' M2 J8 D# }
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ! [2 S( x! ^$ f3 \: I+ u1 P$ ~
  954. ;iconv.internal_encoding =7 w' O  O4 A3 Y$ n9 ]' b% E+ b2 r

  955. : l6 K5 C3 j+ k3 x% ^
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    $ l5 ~3 C- U1 l" t
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ( m  m7 C' I( d4 x. L
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding* X, U( B5 ~! W6 T( l  b. X5 f
  959. ; To use an output encoding conversion, iconv's output handler must be set5 M# A" o+ T3 ?* a  U# g# |8 W
  960. ; otherwise output encoding conversion cannot be performed.0 g0 m! K% @" k% {' S+ E
  961. ;iconv.output_encoding =
    ( m: O9 h2 |: M( F* l; e7 l
  962. 7 ]" R: x5 {3 H
  963. [intl]- @* t5 c; r1 O# D8 b
  964. ;intl.default_locale =
    3 v& _2 S  K  k) R9 V  R
  965. ; This directive allows you to produce PHP errors when some error' ]6 E: R. _9 p0 z2 ?. p
  966. ; happens within intl functions. The value is the level of the error produced.0 c# H* D9 j* c$ k  u6 k! K5 K
  967. ; Default is 0, which does not produce any errors.
      z1 ~& K6 m. l, P( [
  968. ;intl.error_level = E_WARNING. X6 k0 L" p/ f0 s6 r4 @
  969. ;intl.use_exceptions = 01 |3 e$ s1 D: M* m
  970. 5 E  ~- r4 v/ O/ j6 \- B
  971. [sqlite3]
    : O7 T& ?5 h; H0 t
  972. ;sqlite3.extension_dir =( @) W2 X& E1 S, r0 v* _8 N) o

  973. ( `6 c% b% O8 l+ a
  974. [Pcre]; \0 a; p8 {" K! j8 I# I
  975. ;PCRE library backtracking limit.- z3 c; ?0 z( S, \  x
  976. ; http://php.net/pcre.backtrack-limit8 ^. h% E% l8 O  U
  977. ;pcre.backtrack_limit=100000
    2 t' i1 L; W' R# d& `8 L6 f; i
  978. 5 p# U7 e' ~8 j. V4 }6 I, p# `. `
  979. ;PCRE library recursion limit.
    5 {% E% O4 I0 x# {1 u
  980. ;Please note that if you set this value to a high number you may consume all/ I4 ^- p. B/ M$ R+ V" B7 }/ I
  981. ;the available process stack and eventually crash PHP (due to reaching the
    4 s1 \3 ~# i  i- i
  982. ;stack size limit imposed by the Operating System).' g; e5 e* Z0 G# l% Z6 S" F
  983. ; http://php.net/pcre.recursion-limit3 L3 {7 d4 I  Y3 E  B+ i0 R
  984. ;pcre.recursion_limit=100000
    & u/ E! h: j* J$ N8 u# f

  985. 8 y* W4 p" X1 w7 S' ~4 X: Z, S% W
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    8 J, L8 Y+ p0 s( {  h7 ?
  987. ;library to be compiled with JIT support.
    8 \' B6 D) u  T4 x, s/ {+ T( q
  988. ;pcre.jit=10 o& p/ S/ J& N$ {8 u: e. {

  989. & N6 f, b6 ?, K4 g) j9 A4 V
  990. [Pdo]
    " M* E0 P; ?/ y) C' F
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"' Q5 a0 A7 p  b# s; y4 S. J
  992. ; http://php.net/pdo-odbc.connection-pooling
    4 o* b1 U8 u1 @5 P5 ?
  993. ;pdo_odbc.connection_pooling=strict
    & l/ y9 W* m0 I! E* v
  994. 0 s8 e; v6 u  H- a
  995. ;pdo_odbc.db2_instance_name
    2 m2 H9 T2 f$ P- w" j0 H7 a" Y

  996. ; |4 h. C: M& D; E( |& I
  997. [Pdo_mysql]
    6 k3 W2 g" j+ G. c0 ~' J
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache! [2 Q( V& b) ?/ Z$ ~) l
  999. ; http://php.net/pdo_mysql.cache_size
    9 D; j% c+ e* q  y$ N3 f
  1000. pdo_mysql.cache_size = 2000
    6 _2 Y% V7 s. |( b+ v7 p7 X

  1001. & B) c  m- |3 V/ P6 p
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in! D; o+ q7 X1 i1 I9 p1 H; y
  1003. ; MySQL defaults.
    - \- Q. m. x' K0 A* ?
  1004. ; http://php.net/pdo_mysql.default-socket
    9 y- r+ R& {1 m; Z$ Q
  1005. pdo_mysql.default_socket=% ^. ^: P# B8 T" \

  1006. / a# m8 l# N0 W3 l/ e9 @# r
  1007. [Phar]% w7 a" z$ ]) V8 Z
  1008. ; http://php.net/phar.readonly
    6 _$ _4 K8 j' d, P  i: p% I
  1009. ;phar.readonly = On2 ^8 t9 p9 a$ ?( ]+ W4 |% P. M8 Q8 ^
  1010. 1 N& p: w4 M0 j# v  g$ y
  1011. ; http://php.net/phar.require-hash9 X, M) `, l8 t& ~9 v4 B- P0 U$ Y
  1012. ;phar.require_hash = On
    , c" F; l* {# g# ~! Q4 L6 U
  1013. % z# f. o) s5 u3 L  ~/ M
  1014. ;phar.cache_list =2 Y9 R/ E% j6 f, ^' ?) |, i
  1015. * ]: C) N5 }$ y7 V  Y6 h; P/ J
  1016. [mail function]
    $ O- P) |; i6 c: b2 k7 d
  1017. ; For Win32 only.) a3 W( e5 s8 ^2 ]; ^
  1018. ; http://php.net/smtp
    % m2 O0 R/ C" V8 A; D4 b+ X; Q
  1019. SMTP = localhost
    . Q" ?& }+ M8 l! u
  1020. ; http://php.net/smtp-port8 ?, m4 v4 ?: L  g, Y3 e
  1021. smtp_port = 25+ t5 Y3 y# ?% o
  1022. 0 [. p  F9 c, `* R6 q9 X
  1023. ; For Win32 only.
    , N4 C! z( p* g+ [: K" o. B
  1024. ; http://php.net/sendmail-from
    1 J0 G1 A8 c4 v  o% Q) y8 y. l; V
  1025. ;sendmail_from = me@example.com- X4 E) y- W- @. r' ]+ d: t% C4 Q0 _
  1026. ; t3 W( u: U" F9 b
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").6 Z" p4 Y5 r4 t6 a7 ]3 |5 ], r
  1028. ; http://php.net/sendmail-path
    : }* I! ?+ R7 V& W) y( H+ I
  1029. sendmail_path = /usr/sbin/sendmail -t -i% x9 }* ~" g* l. j
  1030. + @' m. C  }+ ]3 B2 M- N
  1031. ; Force the addition of the specified parameters to be passed as extra parameters- v+ V- X- O" v
  1032. ; to the sendmail binary. These parameters will always replace the value of
    & u5 }" y# c) e% T6 c
  1033. ; the 5th parameter to mail().) M' h# E( U: p
  1034. ;mail.force_extra_parameters =3 t) r: A: y5 w6 f: q. d7 f6 d
  1035. & v; e- [0 I7 K+ i3 l3 Q  ?
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename/ s6 [3 D" y7 b
  1037. mail.add_x_header = On; B) X+ n+ f8 v5 E6 f

  1038. , h$ Y! ]9 O" H1 H8 o
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ! V: J& K& q" A  |/ ]1 z
  1040. ; the full path of the script, line number, To address and headers.
    ) k9 v2 M+ f0 O% H0 M
  1041. ;mail.log =
    5 y8 h# A( w4 |7 j4 I1 n5 [
  1042. ; Log mail to syslog (Event Log on Windows).- ]! l# c. P; Y
  1043. ;mail.log = syslog
    ' W  t% Q1 k2 x) v

  1044. . d( |7 D/ Q3 E7 z  ]7 T
  1045. [SQL]
    " o; ~5 Y3 d+ h3 D8 H
  1046. ; http://php.net/sql.safe-mode0 U+ b0 A% N" t/ r* u  f
  1047. sql.safe_mode = Off
    " m# V5 ?2 G6 P; |7 a+ \, D( E

  1048. - q  K) l4 V2 @% |
  1049. [ODBC]9 X3 R7 Z; h$ N+ H) F% e6 H9 N* Q
  1050. ; http://php.net/odbc.default-db
    ! g8 i* F0 }8 A( u# G1 p  w
  1051. ;odbc.default_db    =  Not yet implemented+ a" x  F0 \9 N3 v8 i' D

  1052. 6 ?& ~2 P7 K) z0 [6 h+ D
  1053. ; http://php.net/odbc.default-user
    2 o& O* X7 u- ]
  1054. ;odbc.default_user  =  Not yet implemented
    / i$ A: \1 I! C3 k

  1055. ' [- V; L0 _- ?* @$ [2 p
  1056. ; http://php.net/odbc.default-pw$ z9 W2 A; F/ |* F$ y
  1057. ;odbc.default_pw    =  Not yet implemented9 l. s9 I, _) l7 `3 O
  1058. 0 ?$ |( D' X# e
  1059. ; Controls the ODBC cursor model.
    ( X# Y; X; r/ _0 L
  1060. ; Default: SQL_CURSOR_STATIC (default).
    5 q7 `* J3 Y8 Y9 q
  1061. ;odbc.default_cursortype
    9 Q& F  m9 o) I5 |' y

  1062. 4 |  b7 t2 w0 g7 {" L) J
  1063. ; Allow or prevent persistent links.# y& H/ b6 A: ~1 z* ]( g; _
  1064. ; http://php.net/odbc.allow-persistent( a( V# F7 m8 f# V' n5 i# u
  1065. odbc.allow_persistent = On) X7 W) J& g0 Z) }- D) S
  1066. + y! K* z# F6 H6 B
  1067. ; Check that a connection is still valid before reuse.* V, x" v; ^; Q+ K% V
  1068. ; http://php.net/odbc.check-persistent6 N# t0 J; G& ^+ P
  1069. odbc.check_persistent = On
    7 h! I4 W7 I# z' g" P+ \. q  X* Z
  1070. ) K6 C0 R  F$ P) y' I
  1071. ; Maximum number of persistent links.  -1 means no limit.
    0 c4 B- H3 U7 e. ~: s
  1072. ; http://php.net/odbc.max-persistent
    ' P2 j1 ]' E: d0 [8 `7 l/ Z
  1073. odbc.max_persistent = -14 c; d7 e3 f- K0 h% A5 q. S: ?2 Y9 }3 Q
  1074. : a& M* u1 r4 E# V7 U% G
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 D! A$ `! R  B
  1076. ; http://php.net/odbc.max-links
    # b. |+ |; H, Q2 T& V, F: \3 `
  1077. odbc.max_links = -1/ c( u3 q& @, G) j
  1078. ! D+ k4 }4 t4 r9 O) `
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means  z# b# w6 i7 D2 ~  {2 R( u
  1080. ; passthru." ]; v; J2 X, `9 z
  1081. ; http://php.net/odbc.defaultlrl
    ' J7 Y/ w; s! r* P8 e2 C" d* @
  1082. odbc.defaultlrl = 40960 ?8 h+ S: T" B3 E. G" Q2 K
  1083. 7 T, `! Y( k3 |1 E% j: H: G8 T; H
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    * l8 L7 m$ h# g( @
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation/ J" ]6 f8 U. i4 e6 H
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode! L  x$ E( f8 I! f4 x9 M
  1087. ; http://php.net/odbc.defaultbinmode3 e+ c6 R7 p- g+ f
  1088. odbc.defaultbinmode = 14 j5 n$ |( H( x9 I% O

  1089. . _# ?! s5 W% e5 p. z/ V
  1090. ;birdstep.max_links = -1  W6 U! l7 [1 D5 T
  1091. . |' O$ p) _5 @7 p
  1092. [Interbase]: y+ p2 W$ C% {4 \& ]& S- W. C2 W
  1093. ; Allow or prevent persistent links.
    ) O9 k: ?2 c- E5 h" \$ y4 o( ~& H6 G7 r
  1094. ibase.allow_persistent = 1
    / C( L, F$ A' S5 {+ t0 H" g" a9 ?3 r

  1095. ' W$ Q% Y& X" h' _! ?1 k
  1096. ; Maximum number of persistent links.  -1 means no limit.
    $ l( h2 N4 V$ b
  1097. ibase.max_persistent = -1
    ; g# Y" ^3 e! |0 O

  1098. ! Z& z1 G% p& a3 S% C% _# \6 S
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 R/ x. M- f+ y9 ^
  1100. ibase.max_links = -14 v9 v- F1 |3 y! Q* Z

  1101. 4 f4 }7 F; I. ~: z
  1102. ; Default database name for ibase_connect().
    7 ?/ f$ ^9 E9 f! q3 v! W
  1103. ;ibase.default_db =
    , B- m9 i8 Y. [# A% @( t

  1104. ; N! b2 G" O1 P, A& `: v
  1105. ; Default username for ibase_connect().
    8 }7 }5 F: \$ D* }; R% n; S
  1106. ;ibase.default_user =) c- B& K  ?! N) `

  1107. + }  W0 e$ D  M0 B- P$ s, B
  1108. ; Default password for ibase_connect().
    1 m5 O; C! M" x/ j
  1109. ;ibase.default_password =
    + J% a  d( X) u+ H
  1110. 7 Z& C3 d* Q7 e3 Z1 Y) q3 S2 U3 r
  1111. ; Default charset for ibase_connect().
    / B; r. k7 c/ b( g5 n% F* s
  1112. ;ibase.default_charset =7 b/ ], H& Y& S0 a
  1113. 2 _/ V8 J$ g; R7 M9 k- J$ J! P; X
  1114. ; Default timestamp format.
    / N3 K1 I4 X# q9 u1 |3 o  C
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    , h/ t; U. N9 P$ s
  1116. 0 w7 q. z. O- L& Y0 L. [- i
  1117. ; Default date format.  r5 t$ T' i8 t0 U! ]7 h" y
  1118. ibase.dateformat = "%Y-%m-%d"$ M1 @& Q& h- v3 p+ Z6 J
  1119. - n: b& l( X" `  P+ ?6 }$ Q
  1120. ; Default time format.
    $ D2 S: W( I: p. o& D; o& B% C
  1121. ibase.timeformat = "%H:%M:%S"8 x4 m. Y% e$ [( @6 `. B4 M5 V

  1122. ( G1 I1 t( f2 E; n" E$ t
  1123. [MySQLi]
    , P2 d, d; d( }3 }& p7 L
  1124. * P8 Y! F6 X, C1 A
  1125. ; Maximum number of persistent links.  -1 means no limit.: Y9 W0 C: z2 r2 o1 w( ~
  1126. ; http://php.net/mysqli.max-persistent6 m$ C) a+ P! V9 A
  1127. mysqli.max_persistent = -1
    ; V3 K) [, q, D+ O# y- s
  1128.   W! C1 A+ i" t3 u1 Y9 n* E
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    % [! z/ H, ^. k
  1130. ; http://php.net/mysqli.allow_local_infile% Y, s* Y: m. O% I
  1131. ;mysqli.allow_local_infile = On+ f! j' @' {! \9 }6 C& i2 Z

  1132. ) {$ {% N1 Z$ N9 E8 P6 ^
  1133. ; Allow or prevent persistent links.
    $ k/ B% ^% K( Z$ v
  1134. ; http://php.net/mysqli.allow-persistent) G) e6 t! g, g: A. e
  1135. mysqli.allow_persistent = On# _/ r0 F) P: G% p! |% U7 A' F
  1136. 6 r% m( S+ E$ E4 o
  1137. ; Maximum number of links.  -1 means no limit.
    ' J% M0 u: a) z5 k
  1138. ; http://php.net/mysqli.max-links
      n2 i8 X% A+ ^) S, o2 {% ]
  1139. mysqli.max_links = -1
    + }: F0 t8 h6 n/ P5 ~
  1140. - ]$ j% Z; a+ S0 o5 c2 N  O
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache. E# W, u  e9 h: \3 {% [3 P4 i
  1142. ; http://php.net/mysqli.cache_size
    , i4 s# i! o8 {( e3 _1 g
  1143. mysqli.cache_size = 20008 f9 y' p/ P3 {0 }1 T

  1144. 1 o: f( Y* n* d+ O3 t
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use7 B1 x, W8 M' c1 ~/ Z
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    / i: a9 ]: ^) a& @2 S% U
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look  v# n1 |1 p  d! N' x
  1148. ; at MYSQL_PORT.
    / D# U0 _; e6 H
  1149. ; http://php.net/mysqli.default-port
    * b% U# ^$ C- w) q
  1150. mysqli.default_port = 3306% J/ {8 {' ?  Y- ^

  1151. 4 f' v/ r  ]- w  R0 ]
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ' r) U4 e- f% j
  1153. ; MySQL defaults.6 a% K' U9 t5 u5 u6 X( V
  1154. ; http://php.net/mysqli.default-socket, `3 ^6 b- q3 @; H  F! i
  1155. mysqli.default_socket =! S2 t6 M" V$ `  f8 r6 E

  1156. 5 \2 ?! _" i* L$ W+ G4 W: T
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    4 h5 H% h4 w# x. \" S' `; w1 F
  1158. ; http://php.net/mysqli.default-host/ p' L- r1 A% w+ M8 M
  1159. mysqli.default_host =
    # P- y& F( }3 P! W4 \& c

  1160. ) r- l0 Z* j1 O, g  ~- S1 a
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    - v! m6 _* V, @2 l
  1162. ; http://php.net/mysqli.default-user
    1 M3 W  `3 P' Z; C* u
  1163. mysqli.default_user =
    ' Q* S' w8 ^8 [, M" `
  1164. " z% w/ h. N: G: M& U8 B7 W
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).: j0 j/ w) A, c  K
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.+ D3 @& I& C" w; R2 W1 K
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")1 j  s4 ]5 ~4 \! c
  1168. ; and reveal this password!  And of course, any users with read access to this
    " H) T+ V% A8 O) z
  1169. ; file will be able to reveal the password as well.
    ' E  t/ Y3 c0 p  M- T
  1170. ; http://php.net/mysqli.default-pw/ b5 `$ t( k7 q! Y- Z% m
  1171. mysqli.default_pw =7 B9 k: W, c2 g4 H& _# \. K

  1172. - h0 K, J  I7 i5 e+ x* I
  1173. ; Allow or prevent reconnect
    0 ]; a5 m: }- V3 _( N/ m& G0 h
  1174. mysqli.reconnect = Off: z6 H; P6 l5 }! T) n0 k4 I
  1175. , m4 D0 F* \( F9 X- S
  1176. [mysqlnd]
    1 X1 E% P6 q. ~5 q: @# j# Q
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be8 Y9 L# `0 v- {+ I0 Y, Y- t
  1178. ; used to tune and monitor MySQL operations.
    6 E, u; ]5 ~- f& q& R2 i4 b5 w
  1179. ; http://php.net/mysqlnd.collect_statistics0 Z+ R/ t5 Y5 x
  1180. mysqlnd.collect_statistics = On/ ~6 x& j" o5 I" U3 c  C

  1181. + c! r: A! o! r: z% H5 K' N
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be5 X5 V/ R3 V7 D
  1183. ; used to tune and monitor MySQL operations.& e4 x9 G* r7 m" T
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    $ ~) f" K& {. n. L: J3 }0 A
  1185. mysqlnd.collect_memory_statistics = Off0 ~2 ?2 F' @. x7 E( U( {$ v! }" f) T8 U
  1186. 4 e( I5 i1 v! V/ _
  1187. ; Records communication from all extensions using mysqlnd to the specified log' y: V6 P. u  X+ l* D( `
  1188. ; file.
    ( z3 m' L3 O7 Q8 \5 h7 `1 x
  1189. ; http://php.net/mysqlnd.debug- N% u3 E3 c: N1 M9 B8 ?8 q
  1190. ;mysqlnd.debug =, c: Y* y* x5 v! `" m

  1191. 6 P& q; ?& O% i; C  e; k3 F: Q
  1192. ; Defines which queries will be logged.: M1 M$ h% F# d1 d
  1193. ; http://php.net/mysqlnd.log_mask
    & C1 b, r- S+ n. u* X1 W
  1194. ;mysqlnd.log_mask = 0
    8 C4 t& Y$ m: R# T
  1195. # I" p) L7 w7 z8 h
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    # j9 s' [, }8 t- m  |1 F) t4 P
  1197. ; http://php.net/mysqlnd.mempool_default_size
    . H: t5 f( x& d- k% K+ c
  1198. ;mysqlnd.mempool_default_size = 16000$ n; D# P- g+ E

  1199. & r8 |' P( Q  M0 u
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes./ u" V9 q4 P8 b/ x. K$ N
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    * e. B/ g0 P( \: u, F
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    , u4 p. F2 \) \$ q: V/ A

  1203. , e) [1 l8 D0 @. d! M
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in! K$ N. G6 h9 u( @- p  P; ^
  1205. ; bytes.
    , g/ H; Z$ J$ I2 A4 b& Z! ^8 a
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    + G% V% G, e0 k+ [& R6 A
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ' j$ g+ a% s% Z9 a+ r( z# h$ w& Z
  1208. # T0 n1 t$ C5 D) L/ u: F- [
  1209. ; Timeout for network requests in seconds.
    ! o9 m& O5 o2 c$ V4 K
  1210. ; http://php.net/mysqlnd.net_read_timeout1 d: [* p( Y8 O) F& \
  1211. ;mysqlnd.net_read_timeout = 31536000
    + v! K3 J, H6 |2 @. y2 @7 |

  1212. ; l7 }! a3 Z! o
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA5 j5 o) R. i9 \5 q, k
  1214. ; key.
    + q: `1 @% o( X$ F4 m# W
  1215. ; http://php.net/mysqlnd.sha256_server_public_key4 @, T& I; _0 M4 D$ k
  1216. ;mysqlnd.sha256_server_public_key =2 ], t& s; w6 v
  1217. 3 {1 D, ^+ M, L5 r( E) b3 `
  1218. [OCI8]
    * Y" X& S% J, O' `8 K+ o! {

  1219. ; ^) s2 w3 L  J0 F+ u: V! X
  1220. ; Connection: Enables privileged connections using external7 B$ S5 z9 P0 A
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)( I9 K0 U$ B' G( S- ?
  1222. ; http://php.net/oci8.privileged-connect
    # a9 \# O# n4 z
  1223. ;oci8.privileged_connect = Off
    ; j1 ]  e! p6 y7 ?
  1224. ( J8 E4 |4 ]9 a& D. i! f4 Y' Q: n
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    8 U5 C: W3 @6 r: A3 e; c+ W# L
  1226. ; process. Using -1 means no limit.
    + G, `1 j# E% w7 y* t
  1227. ; http://php.net/oci8.max-persistent
    ; n/ M% y) b8 N/ w: J& N* t
  1228. ;oci8.max_persistent = -1& m6 Y$ C9 w4 z2 T# P. B4 t, N  x: q

  1229. # I5 H; _% d0 Z5 ~4 A% Y
  1230. ; Connection: The maximum number of seconds a process is allowed to( E4 i! \/ q8 V$ ~$ }8 u( O+ n
  1231. ; maintain an idle persistent connection. Using -1 means idle4 p3 A  P$ [$ V/ N# r
  1232. ; persistent connections will be maintained forever.) w- Y7 _4 B8 S7 J0 R8 k3 G9 k
  1233. ; http://php.net/oci8.persistent-timeout8 w% Q$ D: S2 l% y/ _
  1234. ;oci8.persistent_timeout = -1
    7 e6 t3 Z" b7 @" |  ]
  1235. # W: D3 i% U+ n! D+ N* V$ t( ?
  1236. ; Connection: The number of seconds that must pass before issuing a
    ( u1 P, Q% v, `6 a. t! p
  1237. ; ping during oci_pconnect() to check the connection validity. When
      [& s2 R" k4 S! L$ W
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    : d$ K+ x. ^5 B7 w) ~; }2 k# {5 \
  1239. ; pings completely.: O$ _) L# |' J1 L5 i% w
  1240. ; http://php.net/oci8.ping-interval
    - J+ a* A7 \$ k1 [
  1241. ;oci8.ping_interval = 60
    8 J' A6 ?! z9 U

  1242. 1 [/ A% d' e" a0 U4 L8 n; c4 _
  1243. ; Connection: Set this to a user chosen connection class to be used
      D6 P% A' n+ `
  1244. ; for all pooled server requests with Oracle 11g Database Resident1 z# Q; j( a( B: P- |! m% O
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    . ~5 ]/ G( K- ^# j4 z, z* v/ l- N: A
  1246. ; the same string for all web servers running the same application,
    & p1 w+ q# S* V  I- P1 {
  1247. ; the database pool must be configured, and the connection string must% g% b# O5 l9 X
  1248. ; specify to use a pooled server.( W* \* p5 ^- Z( C( P, S3 X
  1249. ;oci8.connection_class =1 Q+ x% p& \; H

  1250. 9 A- I0 A9 Z, P! |, r! p
  1251. ; High Availability: Using On lets PHP receive Fast Application! x0 h0 k3 A: Q* z7 {# ?5 y
  1252. ; Notification (FAN) events generated when a database node fails. The& Z: t& X  z  ~7 F. }! U
  1253. ; database must also be configured to post FAN events.* J  E  N/ j" q6 A* Q7 l
  1254. ;oci8.events = Off
    5 t: s1 d7 w$ j' N& d. b

  1255. 6 B& p6 ^7 y7 ?
  1256. ; Tuning: This option enables statement caching, and specifies how* k8 z5 e' B3 I5 V! t  Z. S1 H/ d7 }
  1257. ; many statements to cache. Using 0 disables statement caching.
    ( p; d( H8 X! N7 j
  1258. ; http://php.net/oci8.statement-cache-size( S) p( a) g9 [4 \3 s
  1259. ;oci8.statement_cache_size = 20
    7 d( o7 n! I2 H
  1260. . X2 t4 y' l' `* ]$ K; c  _- K4 ~& Q
  1261. ; Tuning: Enables statement prefetching and sets the default number of4 o* T; t9 F' q- E
  1262. ; rows that will be fetched automatically after statement execution.
    ( P9 B% r( l# X" f8 X7 w4 o
  1263. ; http://php.net/oci8.default-prefetch2 y7 C% e% d, Z8 {% q2 b
  1264. ;oci8.default_prefetch = 100
    5 ~+ U8 g+ S: G9 n3 V- h. n

  1265. # P9 A& l  }5 S3 O/ x. P
  1266. ; Compatibility. Using On means oci_close() will not close
    ' w" u& O: m( R2 Z( w* x- T
  1267. ; oci_connect() and oci_new_connect() connections.
    : f8 @; i: d' v" P
  1268. ; http://php.net/oci8.old-oci-close-semantics
    9 A- x# V+ e' ~4 f$ o. r7 Q
  1269. ;oci8.old_oci_close_semantics = Off
    7 @7 {3 o; g: N: `) b
  1270. 4 ?- p& G7 C( R8 W- P2 f7 M
  1271. [PostgreSQL]
    * Z+ A& r: m  J- ]/ p
  1272. ; Allow or prevent persistent links., s6 r2 S! V, a8 w" Q7 {2 h
  1273. ; http://php.net/pgsql.allow-persistent
    0 Z2 B: G& I6 S
  1274. pgsql.allow_persistent = On
    - \; a2 o4 }* b! K
  1275. 9 `. L/ i$ R  ^4 S
  1276. ; Detect broken persistent links always with pg_pconnect().$ |2 w" }/ U/ U. M2 l* P& R8 M4 x8 H
  1277. ; Auto reset feature requires a little overheads.
    8 c! b  H5 ?* B# `
  1278. ; http://php.net/pgsql.auto-reset-persistent6 `4 w3 B: G( h1 m
  1279. pgsql.auto_reset_persistent = Off
    & v% g2 m$ X1 b/ }1 t) b( s

  1280. ; [8 o$ l' z+ f& l% U3 I; L# h
  1281. ; Maximum number of persistent links.  -1 means no limit.1 E7 J9 C9 ?+ F! I- b$ t
  1282. ; http://php.net/pgsql.max-persistent: D" Q/ r* F' C  j
  1283. pgsql.max_persistent = -1
    6 d* [( g. a/ c, J4 g
  1284. 5 f, T& S9 B$ \5 [8 g
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    $ y% g7 O, k8 G" m- k
  1286. ; http://php.net/pgsql.max-links
    9 b; C. J6 v% g: x) g: Q
  1287. pgsql.max_links = -1
    ( c% h/ L/ Q! Q- {9 O  u1 ^; i% ~

  1288. : ]8 B5 x" y% n- G: x
  1289. ; Ignore PostgreSQL backends Notice message or not.* ]& x* _. z2 R
  1290. ; Notice message logging require a little overheads.
    ( g' |9 k0 B' C0 R9 n$ x, V5 Q! F" L
  1291. ; http://php.net/pgsql.ignore-notice
    0 |* U8 }& n6 H. H0 }) u+ ]) i
  1292. pgsql.ignore_notice = 0/ j' q% t1 Y5 m8 V
  1293. + f: a: ~7 n4 `2 u, G, E
  1294. ; Log PostgreSQL backends Notice message or not.
    , y9 @5 M' j7 ~( V
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ; n* k3 H7 R& i
  1296. ; http://php.net/pgsql.log-notice
      j  u" L; I& K3 v7 J6 N
  1297. pgsql.log_notice = 0
    & e, Q8 i% A6 a7 _% E

  1298. 3 ~4 n' Y# Z5 n% y
  1299. [bcmath]7 w4 C' |* o/ v5 ?8 a" H
  1300. ; Number of decimal digits for all bcmath functions.% T$ Y7 [/ O2 W. Z! n" m5 v
  1301. ; http://php.net/bcmath.scale5 L$ O9 a' S# t: g) q( m( Z8 G2 p9 D
  1302. bcmath.scale = 0
    2 Q4 ]1 K; n% ?# H6 x& q5 b
  1303. # A: S' }# n1 ~0 ~
  1304. [browscap]
    $ o% I# u5 s3 P7 {1 r4 a' p3 I
  1305. ; http://php.net/browscap
    4 z# H% T  Q! ^! n$ M
  1306. ;browscap = extra/browscap.ini, b6 l- d( ^2 j+ |+ i
  1307. 0 \8 `7 i0 U) U- ]. s
  1308. [Session]2 Y8 a8 y+ q+ U* v% o9 H
  1309. ; Handler used to store/retrieve data.) I+ F/ W9 F: ~6 L( J! M, G
  1310. ; http://php.net/session.save-handler, d! u) E( B3 N* t' ]0 n, U( K- p4 m
  1311. session.save_handler = files6 k  {7 H8 a2 ~9 }0 U4 w. ]+ S

  1312. / X4 r- {$ B$ d3 P
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    7 Y# T+ H+ U# R0 \
  1314. ; where data files are stored. Note: Windows users have to change this
    4 x  l; s" R6 _" D  y1 s" ~
  1315. ; variable in order to use PHP's session functions.3 g% C) `% t9 O4 v) E" e
  1316. ;9 G6 W2 c2 a) D$ c% K  b
  1317. ; The path can be defined as:
    ' n" m8 L2 Y+ m. F
  1318. ;
    7 ?! b& A# _. Y: y3 h$ h& i
  1319. ;     session.save_path = "N;/path"
    ! C6 a* W' |& t8 |- w2 B  M
  1320. ;" X: `4 W0 e; z: w  V# j7 U
  1321. ; where N is an integer.  Instead of storing all the session files in5 X2 A( [! k0 o8 s+ R; H; Z
  1322. ; /path, what this will do is use subdirectories N-levels deep, and& _1 G, w. K9 J6 V
  1323. ; store the session data in those directories.  This is useful if6 f3 m7 H5 C$ l* _' f5 i
  1324. ; your OS has problems with many files in one directory, and is' T( ~8 }; f. U, I6 c% M; ?& C
  1325. ; a more efficient layout for servers that handle many sessions.
    6 j# T, f5 Z2 K
  1326. ;
    + {- W5 f7 _) b+ [% z
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ; X6 `! w1 L, X$ d& A4 z
  1328. ;         You can use the script in the ext/session dir for that purpose.
    3 p* M1 ]! \: z7 Q
  1329. ; NOTE 2: See the section on garbage collection below if you choose to% f3 o1 }, m/ [7 q4 b1 b* |
  1330. ;         use subdirectories for session storage2 w/ p6 J5 M; m  h+ e
  1331. ;) v6 w/ F6 ?3 \2 R4 x* k
  1332. ; The file storage module creates files using mode 600 by default.4 y0 A& b" t* {1 H9 j
  1333. ; You can change that by using
    6 h2 }( c) T  ?( _( R6 o- y
  1334. ;
    0 d' Z8 M: h+ q$ Y) i) n; }
  1335. ;     session.save_path = "N;MODE;/path"
    8 w( B& P% \$ l6 m' ^
  1336. ;) l5 W" e6 h, D3 |) i
  1337. ; where MODE is the octal representation of the mode. Note that this( M  W- P9 [0 y# Z- e2 y, u
  1338. ; does not overwrite the process's umask.
    1 U# @/ c' b  Z! ]
  1339. ; http://php.net/session.save-path! M3 y& H: J0 `) j( U  L9 O
  1340. ;session.save_path = "/tmp", h7 D% z7 E- p/ N0 k- \3 f0 P' i1 f
  1341. , t+ E# m1 F: _; S
  1342. ; Whether to use strict session mode.
    5 o. ~/ s4 l5 j& n( c/ W
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate% }2 o/ n( r  [
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    1 j. f# L! X/ {
  1345. ; applications from session fixation via session adoption vulnerability. It is- K$ g" i' `; y% ?8 g+ h1 u9 L
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ) @3 ], Q6 T+ Z
  1347. ; https://wiki.php.net/rfc/strict_sessions2 N& ~# X  q( N! H) D5 D, H2 d! |1 @
  1348. session.use_strict_mode = 0
      p6 h& ^' }0 A
  1349. " j  c% e6 ~9 ]2 K7 `4 E" a
  1350. ; Whether to use cookies./ n' u! X' w  E8 v$ A
  1351. ; http://php.net/session.use-cookies
    0 g) y0 H8 a! V$ w9 S
  1352. session.use_cookies = 1
    6 o1 K- U* j$ r. u  m

  1353. 1 j7 c  s; _( E; q# [& W
  1354. ; http://php.net/session.cookie-secure6 P/ f$ @1 k7 v& v% L
  1355. ;session.cookie_secure =
    * V/ H# w* B3 r4 e* p

  1356. 1 d$ f6 A* r8 ~
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining! {, j3 P* Z( P
  1358. ; the session id. We encourage this operation as it's very helpful in combating& [5 U+ t8 ]6 H2 G" v
  1359. ; session hijacking when not specifying and managing your own session id. It is
    8 z( A6 Z0 J0 ?9 }5 k9 c2 T( H
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.8 z% K2 t' C! i2 f
  1361. ; http://php.net/session.use-only-cookies* _& L' _" f8 h: N# e% _% i. m
  1362. session.use_only_cookies = 1: O" M7 C( U* ]" ?+ F

  1363.   u' j# a5 k7 l0 r4 q( M0 y4 l
  1364. ; Name of the session (used as cookie name).
      o) U  K& G. M1 n& D; Y! S
  1365. ; http://php.net/session.name1 e; h$ c* v. x' p
  1366. session.name = PHPSESSID! M8 h6 ?, P. Q/ X9 l% t
  1367. ' t5 v, [! e$ l; w
  1368. ; Initialize session on request startup.
    * K7 z( M6 U5 Y3 S8 d& ~
  1369. ; http://php.net/session.auto-start  b4 T) Z: I$ M  t; C
  1370. session.auto_start = 07 K3 t  S6 g  P/ X9 \1 e
  1371.   \! Y0 l5 q7 @0 n6 `5 o; b
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.4 ]5 B# O' D) t( q7 j4 c
  1373. ; http://php.net/session.cookie-lifetime
    & H) o& N- N- e: W- X
  1374. session.cookie_lifetime = 0
    . [1 K3 x0 ~% d- o" C5 `4 M+ M+ m

  1375. : [+ S* S* a% }' I; `$ Q) z
  1376. ; The path for which the cookie is valid.& o- |1 m8 f3 ^+ W  z- L0 n
  1377. ; http://php.net/session.cookie-path
    3 Y, `* b" N8 ^- y
  1378. session.cookie_path = /, {  u8 U1 i0 o

  1379. ' w+ T2 T* I" v2 {
  1380. ; The domain for which the cookie is valid.
    3 ?1 S7 t7 D1 K: T
  1381. ; http://php.net/session.cookie-domain
    8 A, C" C9 S! \: t$ p
  1382. session.cookie_domain =- B% B9 A) B5 }1 k( [1 K
  1383. + F7 e3 o# O$ p: O
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    9 Y0 s  ?0 @) i0 X9 T6 }
  1385. ; http://php.net/session.cookie-httponly" q# S7 B1 g8 \9 J$ A  h: ]; ?
  1386. session.cookie_httponly =
    - t- _4 m3 S0 R
  1387. - B2 M/ c3 U" D8 l+ f0 ~
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.$ N% g( g1 N5 z7 d3 J
  1389. ; http://php.net/session.serialize-handler
    4 x- J/ ?1 M/ I; J* l3 H# X7 [
  1390. session.serialize_handler = php2 [* d/ a! |% s; I& m
  1391. 7 a9 y2 A$ G8 ^5 v4 ?0 ]$ u. i
  1392. ; Defines the probability that the 'garbage collection' process is started
    ( T. \2 y8 j2 [4 s( n; C
  1393. ; on every session initialization. The probability is calculated by using7 t6 l" D* z. P0 ]2 n- F+ a
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator. e. a  _9 ]5 ]6 O
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    " c! [# V( `8 A4 n1 f5 h3 v# g4 \* E
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance0 m7 @7 @8 U' P# r1 {5 U
  1397. ; the gc will run on any give request." h( V& N: |9 z8 K0 ]
  1398. ; Default Value: 11 ~1 W3 A) z  U$ O0 G
  1399. ; Development Value: 1. C% o- c3 _4 f+ [7 v+ u, y
  1400. ; Production Value: 1
    ' I+ T, u$ H5 O# `
  1401. ; http://php.net/session.gc-probability* G3 }: G: S, d( Q8 ^+ l1 N6 ^
  1402. session.gc_probability = 1- {- }! z! I% v! ^# }0 y' b

  1403. 9 l' s$ b% u4 Q( @. A/ b
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ( t  ?* j2 M0 K4 V4 l  i% n6 E
  1405. ; session initialization. The probability is calculated by using the following equation:; q  a1 h2 T& o% D* Y# n
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    1 E0 R% l) g( H7 {. H: ?/ ]  o  [
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1  A: |0 p5 l9 X, x- ^1 m5 \
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 F* j2 _0 A1 I7 \, l+ B' [1 T: g* n
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you. c+ g6 R+ t6 Q' {7 @
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    $ L- J% O$ h  X" G) ^) t: K* p
  1411. ; this is a more efficient approach.3 o4 m2 L1 m! V7 ?5 n/ C
  1412. ; Default Value: 100! f/ @+ z9 v! l5 ~$ _  L
  1413. ; Development Value: 1000. G* y* b% c/ T2 [/ ]; k) p1 k$ l0 T
  1414. ; Production Value: 10003 ^2 D1 l4 ?7 d' y% J
  1415. ; http://php.net/session.gc-divisor& Z  l5 T' ?  k! g
  1416. session.gc_divisor = 1000
    + O4 |) I# `+ F0 z- o
  1417. : h1 {  U$ Z3 A6 P; \  V* a
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    . F6 Z( L; J) Q# k6 ~  F" [1 M
  1419. ; cleaned up by the garbage collection process.
    ) b! S# ]- Y, \9 z0 ~/ @; ]2 Q8 D
  1420. ; http://php.net/session.gc-maxlifetime+ X/ s/ N1 ]1 e
  1421. session.gc_maxlifetime = 14406 E1 I/ H3 t+ X) ~* V- H

  1422. - X; o& \. ]% S/ }, ?
  1423. ; NOTE: If you are using the subdirectory option for storing session files1 y& J* y, m/ ^  d8 G. y
  1424. ;       (see session.save_path above), then garbage collection does *not*5 D) z" }7 v" B8 l0 l9 U8 n2 P
  1425. ;       happen automatically.  You will need to do your own garbage/ `" f0 q$ H0 p/ Z5 W5 @- R& D% d
  1426. ;       collection through a shell script, cron entry, or some other method.
    9 Y/ k1 i; Y1 K, _0 h2 Y3 {+ i2 G
  1427. ;       For example, the following script would is the equivalent of- w  h3 R( t0 d7 W
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ! L4 U; v& c! b! [! G" b, T
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    6 v) M8 ^" h! ]5 Y$ t- |$ h0 y
  1430. + M/ _/ H/ f, r% V' F4 _
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.# r, @# e: {% J5 s" A
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    3 x+ {1 t; `1 I: h
  1433. ; considered as valid.( f' x0 O! N: [9 {* P
  1434. ; http://php.net/session.referer-check
    5 F. L3 w4 ?6 N8 U4 F
  1435. session.referer_check =/ L7 ]8 z& H# Z& w
  1436. 1 a, \. {5 h* Z& L
  1437. ; How many bytes to read from the file.& L2 E0 N' s& Y
  1438. ; http://php.net/session.entropy-length9 c* Y* C3 f% {. V# k
  1439. ;session.entropy_length = 32
    # H$ b9 }! p( J+ }3 V

  1440. & _. ~" W) _8 R: [0 y
  1441. ; Specified here to create the session id.
    + J2 I9 ]0 t3 P3 o4 B
  1442. ; http://php.net/session.entropy-file
      e0 y; X7 H- G' l* ~, V
  1443. ; Defaults to /dev/urandom/ S* w) M0 r$ t6 J' o1 R3 W. Z9 u
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom3 ?; H3 q% M* ~$ S0 v
  1445. ; If neither are found at compile time, the default is no entropy file.( l" Y' d  j" [
  1446. ; On windows, setting the entropy_length setting will activate the! Z) [0 _* ^% c: ^! j9 S# R( c
  1447. ; Windows random source (using the CryptoAPI)
    & [- e/ }% o/ z& j  t$ ]' T
  1448. ;session.entropy_file = /dev/urandom+ F; X" @% z) }& F

  1449. , T0 ~2 c6 l( v; R* S$ e
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    9 J5 t) {/ S6 o8 ?
  1451. ; or leave this empty to avoid sending anti-caching headers.
    9 @5 D9 R- o$ B; j% l. G
  1452. ; http://php.net/session.cache-limiter
    2 e" V1 k9 U  L0 P9 f* v
  1453. session.cache_limiter = nocache
    % L5 Q0 E7 Q3 ]9 C& B8 b2 h

  1454. 1 R% I: K) x# M' w
  1455. ; Document expires after n minutes.9 i5 K/ O: ?7 O" i5 R
  1456. ; http://php.net/session.cache-expire
    ; T# ~/ ^$ n- z- T. E( P3 }# U2 F
  1457. session.cache_expire = 180& m  D+ k4 P! x; r* y
  1458. 2 h6 @& M" Z. S4 g2 F
  1459. ; trans sid support is disabled by default.# G$ M' X/ b! t' Q0 g3 ^) ~
  1460. ; Use of trans sid may risk your users' security.
    ) L) Z; S9 [" q- X8 c; W& I. S+ d
  1461. ; Use this option with caution.6 F' d3 Z' `8 t9 ^9 ~) r1 T+ R
  1462. ; - User may send URL contains active session ID
    $ ^$ f2 T0 H5 _
  1463. ;   to other person via. email/irc/etc.
    5 r( Y0 s1 i3 N+ h, Y6 J# C
  1464. ; - URL that contains active session ID may be stored0 z, x5 k+ H" i' g; T
  1465. ;   in publicly accessible computer.
    , ?6 I6 a  _- O. v4 X
  1466. ; - User may access your site with the same session ID
    : C& [: g  N" A, L" n$ \4 ?
  1467. ;   always using URL stored in browser's history or bookmarks.
    8 N  O; a% T2 R! a6 Z) s
  1468. ; http://php.net/session.use-trans-sid* R% s& k# Z& L% C  J  t$ R
  1469. session.use_trans_sid = 02 k: L" k9 u0 j6 V) ]) W6 P

  1470. % \0 F: V% i. t& d
  1471. ; Select a hash function for use in generating session ids.
    # P1 }, _$ W8 c- c
  1472. ; Possible Values
    5 P5 k, r; C) r
  1473. ;   0  (MD5 128 bits)
    8 i' b+ ]) H) [; n5 z; D
  1474. ;   1  (SHA-1 160 bits)
    : g3 s9 D! [/ W7 K- f/ m: s
  1475. ; This option may also be set to the name of any hash function supported by- ?/ M! {) d5 m/ r8 P
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()& c$ V! b! B" J# x( g$ u, I
  1477. ; function.! d% g9 t  \% W  Q* k
  1478. ; http://php.net/session.hash-function" v9 \% B' V9 A! c& U3 E. K
  1479. session.hash_function = 0$ N4 e4 y: i3 g2 ?/ D
  1480. - T% Z1 i. `; w# x
  1481. ; Define how many bits are stored in each character when converting+ I8 T9 p* i& z. l' K
  1482. ; the binary hash data to something readable.4 y- \$ K- b2 D2 n! [! ]
  1483. ; Possible values:
    ; o. `0 _9 S# _8 w1 c. M0 C
  1484. ;   4  (4 bits: 0-9, a-f)" }5 O! X3 b+ t! v
  1485. ;   5  (5 bits: 0-9, a-v)4 }  k0 p: I1 D1 `! ^. S! U; ?8 u
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    7 w$ f  h6 }( j8 w
  1487. ; Default Value: 4' ^0 j4 z/ p4 H+ L9 M
  1488. ; Development Value: 5
    / u6 u* k1 Z& D& c
  1489. ; Production Value: 5/ P4 n0 N. e" G; ]1 k7 q, V
  1490. ; http://php.net/session.hash-bits-per-character1 Y0 _: y4 g1 U6 U$ J7 g: t' D
  1491. session.hash_bits_per_character = 5
    : ~7 C# x+ ]1 G0 \

  1492. 9 _) {' |( H# A2 a/ A! `  B
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.! f1 m$ ~9 o+ D9 j' R
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    7 y9 j  d! H  |  m4 n% @$ N
  1495. ; add a hidden <input> field with the info which is otherwise appended4 c, f- S+ o) C: b
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ) r4 ?: O2 u4 l+ [. C; J
  1497. ; Note that all valid entries require a "=", even if no value follows.
    + n# f7 s, {0 w
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    " n2 @% o3 }. D! `
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry". F8 P* O  h- D' I
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' f# @; m/ G  c- R9 O( c- s" j
  1501. ; http://php.net/url-rewriter.tags
    " Z; `" K: c9 [( |' A/ u
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry": A- x3 R8 p% m3 A0 ]& D. U$ D2 j
  1503. 8 `7 Z' Y% j! J9 W9 u) P. X
  1504. ; Enable upload progress tracking in $_SESSION
    2 G2 D# _5 o- e; j4 V7 d- V; y
  1505. ; Default Value: On
    7 {9 `# P: c* e6 p! \" w
  1506. ; Development Value: On& ]8 @. g4 ]; h
  1507. ; Production Value: On
    9 K$ J9 B/ C4 H' x% U
  1508. ; http://php.net/session.upload-progress.enabled
    & \( A+ M: f3 O" C5 `
  1509. ;session.upload_progress.enabled = On  O2 i6 h6 E$ f* r
  1510. 5 `% F/ c- Z+ Z/ r7 f
  1511. ; Cleanup the progress information as soon as all POST data has been read
    & Y1 X' r/ j" P$ M
  1512. ; (i.e. upload completed).
    / X9 X: B( O) |% D  A4 I
  1513. ; Default Value: On
    ' Q: M! r: T( t7 o/ p* M* V
  1514. ; Development Value: On8 D' u) _# G$ ?+ ^7 J/ f4 P
  1515. ; Production Value: On) v2 `7 y  S4 {0 |# i9 ^3 U1 E0 e  f
  1516. ; http://php.net/session.upload-progress.cleanup  y* C0 @, H/ W1 |3 N2 ~
  1517. ;session.upload_progress.cleanup = On+ g$ `9 B% ^0 [; E5 n* Z; P

  1518. 5 D" l: s  Q  F0 s" G! }6 v2 D  H
  1519. ; A prefix used for the upload progress key in $_SESSION
    3 M- j1 O% N* C% `  a  ~* f
  1520. ; Default Value: "upload_progress_"6 b, @# C- C! Z
  1521. ; Development Value: "upload_progress_"
    5 S$ M" |$ N% l# n
  1522. ; Production Value: "upload_progress_"8 g: b- G( b: O) ]9 p! M1 b
  1523. ; http://php.net/session.upload-progress.prefix4 n/ Y3 D5 V; x: Y/ ~, G& c
  1524. ;session.upload_progress.prefix = "upload_progress_"
    1 i1 U% ~" M: f

  1525. * N, h; b6 V7 L1 D1 C/ H
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    0 B) W5 ]1 h) A8 x
  1527. ; containing the upload progress information
    1 S  R: N6 z0 ]5 {
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * H. R4 U& ^" ^0 F1 D0 t. _9 O
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"+ ]9 N4 t1 O8 \2 ~4 |+ z
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS", `1 i/ \6 H$ G' u9 G
  1531. ; http://php.net/session.upload-progress.name0 B& M8 f) ]/ _; O
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"4 z1 m2 i2 D8 d6 z

  1533. 5 G/ R  g, n. H2 G
  1534. ; How frequently the upload progress should be updated.1 R, s  y# m- H8 @$ H2 o
  1535. ; Given either in percentages (per-file), or in bytes' M- y, }% r& C' L, @6 m
  1536. ; Default Value: "1%"
    " T2 N) Z; d: R6 s
  1537. ; Development Value: "1%"9 Y" B0 U2 T# J( Q; E
  1538. ; Production Value: "1%"
    $ x! E% u7 R* X9 P1 m
  1539. ; http://php.net/session.upload-progress.freq
    - u$ q% K) i* @! a+ h( t
  1540. ;session.upload_progress.freq =  "1%"3 M" H# W) `% `

  1541. ; O$ u" s4 [7 N2 D" q" @
  1542. ; The minimum delay between updates, in seconds
    % y; e2 ~" \8 G2 W
  1543. ; Default Value: 1: o$ k% D( F: `7 w$ E2 X" o; A
  1544. ; Development Value: 1; o+ ]) m9 f( C/ B, a! |  L" T0 e
  1545. ; Production Value: 1
      e' l9 j% J* ~" u8 ~1 X/ Y4 b- y
  1546. ; http://php.net/session.upload-progress.min-freq
      J( r0 N- Z- X7 N
  1547. ;session.upload_progress.min_freq = "1"
    ) H* C( E* \. c- ^0 ?! l4 w

  1548. % p" I1 z  U3 e& x$ _; b# m
  1549. ; Only write session data when session data is changed. Enabled by default.# d9 Y! }% w) v) J% m( l2 S9 J1 S
  1550. ; http://php.net/session.lazy-write
    6 ]" O5 k- Z& T9 r/ t3 Q4 n
  1551. ;session.lazy_write = On: P" D+ P8 s" B  m2 f4 b

  1552. # y: e0 p/ J. h5 R0 ^: T
  1553. [Assertion]' z0 c" o3 |' P4 O
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time). T; Z/ a& q; n
  1555. ; -1: Do not compile at all
    + o! J/ T' J; d' b
  1556. ;  0: Jump over assertion at run-time
    9 E: o$ v9 G: |, E7 F: p* f
  1557. ;  1: Execute assertions* F6 r( C2 S$ O6 I) A# H; V! }& f/ t
  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); o/ }9 f/ Q' w# M
  1559. ; Default Value: 1
    2 i3 x! G+ ^% u
  1560. ; Development Value: 1
    % p! ]" i' m) Z  l9 g/ S
  1561. ; Production Value: -1: J' n7 N/ W; R
  1562. ; http://php.net/zend.assertions& k( P1 P* X1 v* U9 J
  1563. zend.assertions = -18 w/ `1 u& c8 X. J  B
  1564. " e( j( v; ?" a) }* U( x
  1565. ; Assert(expr); active by default.
    7 j) h9 d% O9 }  Y* h
  1566. ; http://php.net/assert.active+ ]$ M# x  P) T- a0 t/ x7 K
  1567. ;assert.active = On8 Y3 Q7 Y  W0 B5 \0 |/ C+ D5 f

  1568. 5 \0 J7 U, B6 w! q7 K
  1569. ; Throw an AssertationException on failed assertions" {0 Q( g8 _2 O4 h  z+ c
  1570. ; http://php.net/assert.exception
    % P1 i" `* N& P6 @! c3 K
  1571. ;assert.exception = On
    ; `% j" M: w. d! n) k; K" `

  1572. 1 c7 O% ~5 d+ I6 l# K0 x" J$ @7 ?
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)8 e( g& T6 ]. m
  1574. ; http://php.net/assert.warning
    & d5 _& U9 k$ Z; B3 E4 J# c: {1 r
  1575. ;assert.warning = On" p4 T" V, z/ `* E6 Y$ V

  1576. % ~+ k" s- m- Q7 u( I/ @; {- b
  1577. ; Don't bail out by default.  g- o! ~/ @# Y9 m' Q$ v4 I
  1578. ; http://php.net/assert.bail% _% o# n. b) r! I4 p" P4 \
  1579. ;assert.bail = Off( g+ x& I) ~6 n
  1580. - n; q& E* V% B
  1581. ; User-function to be called if an assertion fails.0 ^2 o# i7 g+ H' u; M  o
  1582. ; http://php.net/assert.callback
    8 p  O& \# }$ k3 E/ ^
  1583. ;assert.callback = 0) \- Z+ c! o8 `; b: t

  1584. ! k: `+ U7 \# N5 ~% a
  1585. ; Eval the expression with current error_reporting().  Set to true if you want! p' t; n6 A& ?5 N
  1586. ; error_reporting(0) around the eval().
    % I! J) ~, E) x$ @, h/ u% W; [
  1587. ; http://php.net/assert.quiet-eval1 T1 v: `6 h' [9 `9 t: b( c1 G. @' T
  1588. ;assert.quiet_eval = 0
    + X. U# C4 R3 `9 y% }2 X

  1589. # F7 J  M( d: h8 G- ^
  1590. [COM]
    $ |3 H6 l: @, `
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ; ^7 |3 a2 A4 f, `) m% O/ x  y
  1592. ; http://php.net/com.typelib-file
    # L1 l  l% E8 O/ B6 l
  1593. ;com.typelib_file =
    : d$ J5 O# w+ \1 B+ z7 K  |/ V2 O% S
  1594. - c% X& t, N8 \1 s+ W+ E
  1595. ; allow Distributed-COM calls: t0 a7 H, V! H. P% Z) [
  1596. ; http://php.net/com.allow-dcom
    " X3 E- _) ?4 U. [5 e# e
  1597. ;com.allow_dcom = true/ f' i0 ]( _. O$ l8 s# L

  1598. " y2 H: j1 s! [. C: Q, {, S
  1599. ; autoregister constants of a components typlib on com_load()4 b( j$ |# h3 `3 n- [3 [6 S
  1600. ; http://php.net/com.autoregister-typelib3 I8 k5 g- `' _5 b
  1601. ;com.autoregister_typelib = true
    * ?3 o6 w( H% {( i4 ]# @* g1 C

  1602. 7 n, P& b4 F; L6 w! @* o
  1603. ; register constants casesensitive' q$ A7 K0 r# p6 `& u$ r. ^, t6 D
  1604. ; http://php.net/com.autoregister-casesensitive1 F# F9 V' ?' a+ X/ l4 A4 F
  1605. ;com.autoregister_casesensitive = false7 v, G5 r( p& S+ R+ u+ z

  1606. ; S: z; ]! g4 Q) a  j( g# F) c
  1607. ; show warnings on duplicate constant registrations. I+ z( [4 b5 P5 h
  1608. ; http://php.net/com.autoregister-verbose: I( Y2 T' S* T$ H5 L) G) g/ B
  1609. ;com.autoregister_verbose = true3 p% t0 N' A$ {# @( R- D0 _5 W
  1610. 9 b" ^# @3 P6 B% ]% j3 _- G
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
      m0 M" P% w0 s" |
  1612. ; Default: system ANSI code page6 z* J& {: e5 X' {' h) b& t
  1613. ;com.code_page=( T9 e1 M# h- U/ k/ y

  1614. 9 I4 r9 W; m5 o+ E( H5 W! M. m
  1615. [mbstring]
    9 O! n; q5 ]3 E' d& {8 s% a% K. o& x0 j
  1616. ; language for internal character representation./ [$ k0 d) ~$ f" k. g8 _
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    - O* P8 t3 u; z% l
  1618. ; http://php.net/mbstring.language
    , N, j; r2 o/ A+ a. d: g5 h+ r
  1619. ;mbstring.language = Japanese$ }( _1 |+ m% a8 N

  1620. - F! |2 E" U  o+ ]0 B' F: J0 N
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.) y, Q% E$ U3 r9 |% i" \. L6 r1 x
  1622. ; internal/script encoding.
    0 u0 P  v* K/ B" `% t1 Y
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)4 ?8 m  j1 p' f
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    9 _2 q( i% h1 b6 p0 w+ H; L
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding  v6 ^- V5 p) A& l1 a, ^1 c5 J0 d
  1626. ;mbstring.internal_encoding =
    ) y) O7 j* @7 p) q0 F

  1627. ) ]4 Y4 {  Y: y) @9 U0 W
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    . P9 m- z  ~# Q, V7 x8 F
  1629. ; http input encoding.
    9 C, I% |# y9 ^- T. K1 r
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.! [; A1 |! Y0 E" q
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    7 o7 C  U' M* F* P+ p- y$ ~
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    0 B5 V' P8 G, u8 c3 O6 f5 k
  1633. ; http://php.net/mbstring.http-input
    & z* q. R6 C4 z7 n) T' q
  1634. ;mbstring.http_input =  a  `/ R. m/ w' g& ?; `
  1635. 1 Q+ @% t5 ?8 B* w% {. B: e
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    / v0 ]* j! l1 {- J. a
  1637. ; http output encoding.
    " E  x1 n. m0 \0 ~% c' r
  1638. ; mb_output_handler must be registered as output buffer to function.
    8 G0 ^$ U* f$ w( D0 {
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    + `: T3 C; Y0 m9 o7 K
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output$ ^9 f) g3 J( U9 c+ a
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    4 t9 t* c' j1 L7 A, N1 E
  1642. ; otherwise output encoding conversion cannot be performed.
    1 k. k8 k" `3 W. F! K+ C
  1643. ; http://php.net/mbstring.http-output
    , d+ V4 U5 ?9 b$ \3 h
  1644. ;mbstring.http_output =
    # q# l1 b- D2 R

  1645. " B1 P+ v* R& ^' U7 @% c% U0 v
  1646. ; enable automatic encoding translation according to5 w. x3 w) F2 U) x# H1 Y* R
  1647. ; mbstring.internal_encoding setting. Input chars are
    $ F/ N9 d+ f+ F4 I& B, |+ J; j
  1648. ; converted to internal encoding by setting this to On.
    1 W9 \) u4 \& [
  1649. ; Note: Do _not_ use automatic encoding translation for
    % o' B8 e* b9 a7 U8 j% \- S1 o
  1650. ;       portable libs/applications.! |1 A/ F8 X; O
  1651. ; http://php.net/mbstring.encoding-translation( R1 ]" Z3 q, R& ]
  1652. ;mbstring.encoding_translation = Off7 i( ~* q9 Z/ |0 X# g
  1653. 5 t# {+ A8 x* K2 {' N
  1654. ; automatic encoding detection order.
    3 k- y- e. L# @2 k2 y* S- x
  1655. ; "auto" detect order is changed according to mbstring.language
    8 v- @4 V3 M/ e8 S: s) b( p
  1656. ; http://php.net/mbstring.detect-order
    * b9 k4 {/ Z) d" n
  1657. ;mbstring.detect_order = auto
    ! Z& E  S: U, w

  1658. . u% D3 N) r1 c4 Q+ u; ?# [# i
  1659. ; substitute_character used when character cannot be converted
    % H7 t4 q4 M* T
  1660. ; one from another3 G+ k1 `+ C. M: ^7 q7 O" C
  1661. ; http://php.net/mbstring.substitute-character
    + Y9 [% H* v% h9 t7 n
  1662. ;mbstring.substitute_character = none. R, S& j" X) d
  1663. % d# R$ u9 U( X. t
  1664. ; overload(replace) single byte functions by mbstring functions.4 g* O* g7 G: F" }
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),& s2 f1 x& Y2 X! D6 e' m
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    5 p* B& {: u1 N& ?# |/ [
  1667. ; For example, 7 for overload everything.& x- f1 y: F" {- f" l2 j, A6 w8 ]) ~
  1668. ; 0: No overload
    + O, W2 O! Y! m  U6 {
  1669. ; 1: Overload mail() function
    / i% Y/ u$ l1 @
  1670. ; 2: Overload str*() functions) F. m( t/ q/ d) Y& b" E: K1 g# A  v* o
  1671. ; 4: Overload ereg*() functions
      Y* e$ I3 s3 Y8 M' ]6 L
  1672. ; http://php.net/mbstring.func-overload
    ' Y9 _" I) M: P( Y
  1673. ;mbstring.func_overload = 0) C+ n$ G/ h% A: v

  1674. 6 G4 b+ Q) a% N8 y; p, ?1 `3 ?
  1675. ; enable strict encoding detection.4 f4 M: M4 F* f
  1676. ; Default: Off
    6 ^0 p$ |( ?$ l+ U6 d
  1677. ;mbstring.strict_detection = On
    5 l4 K4 ^* L/ b* Y; X
  1678. : H5 m0 ]3 a( ]$ e9 `0 l
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    . D6 f9 O. s( f2 B' N/ n! v4 y8 N
  1680. ; is activated.1 B. s, I- z/ C$ H+ ?2 S: K
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    . A2 ?1 W) z  D+ n7 K& W
  1682. ;mbstring.http_output_conv_mimetype=0 C* w# m" ]/ j* R. i* D/ H' O

  1683. % A+ a" V4 Y: D7 H# z. ^
  1684. [gd]
    : A! }/ b% R, h' Z
  1685. ; Tell the jpeg decode to ignore warnings and try to create' V0 R7 k6 c3 }  }+ F" p
  1686. ; a gd image. The warning will then be displayed as notices
    : j) t5 k5 R7 e- R' C% X
  1687. ; disabled by default" k# h) a" _* S9 G
  1688. ; http://php.net/gd.jpeg-ignore-warning( f7 C* J9 N) b9 m1 a' O% M
  1689. ;gd.jpeg_ignore_warning = 0+ C! @2 D' @9 z* e

  1690. : Z# g* O" B; O9 J! H6 ]* ~- B6 \
  1691. [exif], ]) L; Z  k# A( U/ Q
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ; G, ]0 t$ q, c/ t5 h% s7 }
  1693. ; With mbstring support this will automatically be converted into the encoding# l+ ]$ s, ~, z* p# X9 h
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding( Q1 ]1 ]/ X7 P; a: {
  1695. ; is used. For the decode settings you can distinguish between motorola and+ ~8 c, P7 C$ F2 V, Z* n& x/ L0 J. V
  1696. ; intel byte order. A decode setting cannot be empty.1 ~) o/ U7 n0 U5 R7 V
  1697. ; http://php.net/exif.encode-unicode8 F: [# _) q, f' B$ ^3 W) U; k
  1698. ;exif.encode_unicode = ISO-8859-15( O: Y  P5 u# M

  1699. # Y# f) q+ I" V. ^: x1 U
  1700. ; http://php.net/exif.decode-unicode-motorola! z; f: j! x* G# d- u- e, }
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    , |9 Q* @6 }) a8 e$ W

  1702. % x" @0 D7 v) P2 p8 C
  1703. ; http://php.net/exif.decode-unicode-intel7 ]8 L0 q6 V8 S2 g6 v
  1704. ;exif.decode_unicode_intel    = UCS-2LE: _0 Z. X3 p+ Y8 A, \8 h' i
  1705. 8 e. d+ S+ X8 _; o6 Y- @- }' l
  1706. ; http://php.net/exif.encode-jis  B' h5 i0 @: ^% r2 b0 f5 a6 }
  1707. ;exif.encode_jis =* ^: `1 G5 j( M6 |0 ^
  1708. 1 R3 N; ?& I: l, F5 S
  1709. ; http://php.net/exif.decode-jis-motorola
    1 ?+ Y; H# G2 l- s( l0 O
  1710. ;exif.decode_jis_motorola = JIS
      x3 _7 z& G2 _$ w' A; z

  1711. 5 V! j- S9 @6 l
  1712. ; http://php.net/exif.decode-jis-intel  t! @6 X8 N4 \( K
  1713. ;exif.decode_jis_intel    = JIS. P  ?5 W  q& I9 ^, B( E- }
  1714. / g# J# _# w$ @( B  X
  1715. [Tidy]9 C5 b) }* }' y4 V- A
  1716. ; The path to a default tidy configuration file to use when using tidy/ v: O6 c4 r! ?
  1717. ; http://php.net/tidy.default-config
    ) \& ~5 H4 v# S" J8 s; _" @6 C
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg& q6 K6 i" g0 Z. @% K  ~& |5 {' k1 T
  1719. 9 H) s: n5 S" N7 q3 Y; \
  1720. ; Should tidy clean and repair output automatically?' L' n, ~8 j7 @) T
  1721. ; WARNING: Do not use this option if you are generating non-html content3 V! \1 {1 F$ N3 ~6 ?9 S
  1722. ; such as dynamic images
    - M2 Q+ }& L- s9 M& c+ u: K, G5 X
  1723. ; http://php.net/tidy.clean-output
    % k2 L- t: O/ M1 V3 o/ r
  1724. tidy.clean_output = Off
    ' M5 @" s+ ?5 m  c+ E4 O

  1725. " T& y* \8 x8 Z2 Y
  1726. [soap]
    + C* R5 s3 C. _) ^! ?
  1727. ; Enables or disables WSDL caching feature.
    9 X9 b; E! P9 D, k' M
  1728. ; http://php.net/soap.wsdl-cache-enabled
    # A  J* `# k$ \# ~
  1729. soap.wsdl_cache_enabled=19 E; O- u/ @6 c- Q0 O+ e3 g

  1730. 8 A' Q$ C, R3 W( v( s. X
  1731. ; Sets the directory name where SOAP extension will put cache files.
    + C: d' Y7 ^" u  \
  1732. ; http://php.net/soap.wsdl-cache-dir. k* {/ Z0 k! L, \) d
  1733. soap.wsdl_cache_dir="/tmp"1 Y3 r; V+ m9 b8 q# A! l. V, Y" P
  1734. 5 g. H9 K! y5 |
  1735. ; (time to live) Sets the number of second while cached file will be used3 g  E, ~* Q7 i% t: I8 h
  1736. ; instead of original one.
    5 g* Q! j% T0 C  F) H$ E
  1737. ; http://php.net/soap.wsdl-cache-ttl: E, @) j3 b4 n* x
  1738. soap.wsdl_cache_ttl=86400& K& |5 }0 h. d9 }1 \7 F
  1739. 2 m# w5 H% i1 X% I5 P
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    2 U/ |8 @$ N+ M- J( d
  1741. soap.wsdl_cache_limit = 5" \$ I& F, r- J0 p

  1742. " a3 y2 D1 J: V1 J( _* J7 n
  1743. [sysvshm]
    % v0 q  _) D# R5 P8 V% J- Y7 X6 v
  1744. ; A default size of the shared memory segment
    5 ~8 V8 R& r& F" N
  1745. ;sysvshm.init_mem = 10000
    1 `1 t" S  S1 J$ m$ I" ]
  1746. 4 r( G: E- j# v2 M. g
  1747. [ldap]9 k, k8 k% E% L6 v2 k% t
  1748. ; Sets the maximum number of open links or -1 for unlimited.4 _3 V" Z4 o* ?$ w& `( U7 t4 p
  1749. ldap.max_links = -1% \: P$ s2 W. W+ `: h

  1750. + T5 M4 M0 G, q, G
  1751. [mcrypt]" Q# @/ U. q% l. c& V7 j' H( z
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    6 \/ f! n% K+ u6 W- P: O
  1753. & Z) Q3 N/ L0 Q- M  {
  1754. ; Directory where to load mcrypt algorithms- [' j$ K! p- [" G7 x8 [1 Z( K
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)- V# s, U* E$ I, Z
  1756. ;mcrypt.algorithms_dir=
    6 O2 W2 w" y! }. Z+ c) H) V3 k
  1757. - S2 U8 P- x/ N4 L( @2 b! K5 N- j
  1758. ; Directory where to load mcrypt modes
    3 o6 f+ V' E4 ~3 j% V, m' z8 w
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)8 ]& q2 P$ V+ X3 h) \1 g- j; {0 j5 s
  1760. ;mcrypt.modes_dir=( U+ H4 S; Q" L; B/ N3 c  l$ q7 U
  1761. 5 ^* {( d( n; N( L
  1762. [dba]; v; Q5 L7 I0 B: |$ Y' j, D
  1763. ;dba.default_handler=$ i. J$ K: |. l8 H

  1764. 8 A& B4 g+ I2 Q
  1765. [opcache]
    1 l2 O2 \) r* k, n( \$ }! |$ s
  1766. ; Determines if Zend OPCache is enabled
    % W# g% s: \5 f6 o
  1767. ;opcache.enable=0
    # p" m$ d3 ~( e" Z7 o  }

  1768. 9 G3 B9 D- `4 I6 z
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP* m$ U! o9 T* n7 @8 c1 C* V( J
  1770. ;opcache.enable_cli=0* [1 |( r" h9 `% H! V( I( s
  1771. 4 e/ o: P9 ^. C( _
  1772. ; The OPcache shared memory storage size.) l5 z0 t3 A9 s2 ]. C4 C
  1773. ;opcache.memory_consumption=64
    ! ^/ j5 x. J6 v9 [! }

  1774. / E9 K6 Z4 Z, |3 D* H- D% z# |
  1775. ; The amount of memory for interned strings in Mbytes.
    / l; X7 K; r- o) G) l
  1776. ;opcache.interned_strings_buffer=4" D# Z( ^* U8 Q! B
  1777. / q$ N6 V. M  h' a# y
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    8 n! F. I( T, M6 D: i; r
  1779. ; Only numbers between 200 and 1000000 are allowed.8 i6 T0 ?# e9 H( R" j; }
  1780. ;opcache.max_accelerated_files=2000
    " k  ^# s8 `* N) Z

  1781. 2 y  p! l  K$ ]5 A6 ^7 g
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    * q) u  e: N. r# \* ?0 ?8 h
  1783. ;opcache.max_wasted_percentage=59 X5 L  g) Z; |: Q: O
  1784. " Q+ k. m( r8 f; w# H
  1785. ; When this directive is enabled, the OPcache appends the current working1 P; ~! E5 a0 I/ ^( K: Y
  1786. ; directory to the script key, thus eliminating possible collisions between
    . }7 q: [  W. c+ G% v) u5 a
  1787. ; files with the same name (basename). Disabling the directive improves/ ]1 {; v- R5 w
  1788. ; performance, but may break existing applications.
    $ [& `2 O2 t& \9 @* E
  1789. ;opcache.use_cwd=17 K6 s1 _( T- ^, \
  1790. ! w7 u4 P3 k% X  C$ l+ i
  1791. ; When disabled, you must reset the OPcache manually or restart the+ G$ _9 J+ p# w! D
  1792. ; webserver for changes to the filesystem to take effect.
    & h: h8 }( i9 z% d+ d# j" N
  1793. ;opcache.validate_timestamps=1
    6 @0 l$ m7 H9 ], W

  1794. 8 j3 _) s' s. ?5 G6 t! ?3 s5 `
  1795. ; How often (in seconds) to check file timestamps for changes to the shared- ^6 ]) A/ e$ {# M3 e% }
  1796. ; memory storage allocation. ("1" means validate once per second, but only7 n9 W* A5 k8 c. \! d
  1797. ; once per request. "0" means always validate)' f4 K' U) R7 Y1 G
  1798. ;opcache.revalidate_freq=2  l+ V2 ?( z' \6 T9 U$ j

  1799. / f7 g( A; d7 O+ _( b  q
  1800. ; Enables or disables file search in include_path optimization5 N3 s2 c9 T7 t) G$ Q  i
  1801. ;opcache.revalidate_path=0
    * ?" }) {6 u9 v' g5 K" E: T- a
  1802. ' m9 |  z% |5 b1 {4 N) C
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the1 R, y9 n3 b! ]. X6 ~$ ~  s
  1804. ; size of the optimized code.. S( Y9 E3 N. m  C8 G: q- a
  1805. ;opcache.save_comments=17 C: G4 q/ n8 `
  1806. % |; _, y- b( V! k
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code" c- L, u8 r# J1 J
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    1 |6 X6 H/ x0 j8 l( p  K3 P
  1809. ;opcache.fast_shutdown=07 X, _7 ]3 C( A3 N$ e
  1810. 8 X( O, d, p0 H& N9 N  |
  1811. ; Allow file existence override (file_exists, etc.) performance feature.9 L! g& W+ P7 A& v
  1812. ;opcache.enable_file_override=05 _$ r$ F! N) [  ]% c

  1813. & E+ y, r7 D3 {5 h& {
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    % b9 q* z/ K# h8 P
  1815. ; passes. s7 L( {- H' e( g) V
  1816. ;opcache.optimization_level=0xffffffff
    " ], e# [, M' E: n# R

  1817. & e/ X% f4 C0 [# h0 Y# H+ h
  1818. ;opcache.inherited_hack=1
    ' F: v' b, m6 H3 _7 p" P+ m, g
  1819. ;opcache.dups_fix=0
    , i, e. A: ?1 Z% S* v
  1820. ( V) P1 c( X7 p( L" h1 G' l
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    # V+ w/ e0 F) U* t5 @- e9 y7 s/ q" o
  1822. ; Each OPcache blacklist file is a text file that holds the names of files& N4 s# X6 W! h4 @* }
  1823. ; that should not be accelerated. The file format is to add each filename
    3 d3 |5 S6 {. c5 E2 q2 g6 p) v
  1824. ; to a new line. The filename may be a full path or just a file prefix
    - p* r3 d- }- j
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www  i5 u# p, O7 K/ @  t0 _3 h
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).6 d6 s) w5 l1 ]! n
  1827. ;opcache.blacklist_filename=- l$ c& n4 {! t. L0 k* I- n

  1828. 6 [+ A2 _3 P6 |+ g1 u  n- o) ?
  1829. ; Allows exclusion of large files from being cached. By default all files" m+ C$ T0 @5 z( }
  1830. ; are cached.8 Y" {- ?) f# P2 w* c' F( d
  1831. ;opcache.max_file_size=0
    ' C3 F* S% B, N! N
  1832. # ^) [; n8 K  P
  1833. ; Check the cache checksum each N requests.
    ' b3 X5 m& h2 h1 C/ o4 J  d
  1834. ; The default value of "0" means that the checks are disabled.% V& k4 r9 {4 u3 w) o9 ?) j- X
  1835. ;opcache.consistency_checks=0
    8 d& _7 w+ \# }/ e& Q( C9 n' w, }, y
  1836.   e1 U  j; P; e3 G5 s! ]- g
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache. x* {+ h) d! O: g( _
  1838. ; is not being accessed.
    7 ~  \6 `3 f9 Q/ @2 r
  1839. ;opcache.force_restart_timeout=180- a, `& F0 _+ ~7 I" k6 ?- c7 `6 W3 d
  1840. 9 A' E7 C# p1 C/ o$ E, ]
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    3 H" m( u6 q1 w* `, s
  1842. ;opcache.error_log=( n7 |$ F. H8 ]

  1843. 5 B, L" f0 `& {$ L$ n" l9 D% o4 c
  1844. ; All OPcache errors go to the Web server log.0 w4 F* z# x- T4 f( T7 E
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.% F; R$ P" T$ y- w
  1846. ; You can also enable warnings (level 2), info messages (level 3) or7 j; B) ?: h/ t
  1847. ; debug messages (level 4).; |( {$ }/ s: @  ^4 \
  1848. ;opcache.log_verbosity_level=1
    0 }$ A& [: g( x! }3 ^1 T0 C6 N

  1849. 1 W" G9 u7 l' |" f, `
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.- N( K9 n5 U4 L2 _& k/ z- B. n
  1851. ;opcache.preferred_memory_model=  m, l$ ~# \* c( V' U
  1852. ; m$ B( P. ?) G8 I' P
  1853. ; Protect the shared memory from unexpected writing during script execution.* _: f8 R9 ?4 b9 u9 D0 N
  1854. ; Useful for internal debugging only.  }- n1 Y$ t. g  C, \8 N4 n
  1855. ;opcache.protect_memory=0# K! s+ E- _4 n2 @
  1856. 0 L; [+ B7 ~6 P) `: F( z0 j$ ^2 |
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is6 S; l! f1 u4 s+ F' P$ [
  1858. ; started from specified string. The default "" means no restriction
    7 W/ V8 X( H; }/ S7 l& D: M
  1859. ;opcache.restrict_api=
    ; A, ^) @: l. `1 o  w/ m' S

  1860. 1 E# `; d9 q2 C1 v
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    ' D# U7 U9 m1 c2 y! s
  1862. ; processes have to map shared memory into the same address space. This' s# _4 }; b1 P& [
  1863. ; directive allows to manually fix the "Unable to reattach to base address"8 k  |# M% j" |: x
  1864. ; errors.! o0 v6 ~* c6 t4 \  E8 \- A, u6 G+ N3 \
  1865. ;opcache.mmap_base=, q1 ]" L3 G5 J( ~

  1866. 0 [8 e2 p3 f4 K, l
  1867. ; Enables and sets the second level cache directory.. p% {7 k' b" i/ |1 c
  1868. ; It should improve performance when SHM memory is full, at server restart or
    7 T2 t/ e! S- ^& L
  1869. ; SHM reset. The default "" disables file based caching.
    ( l1 E  o% ]) b; n5 b  {" G0 ~$ R
  1870. ;opcache.file_cache=$ C/ p% X* O/ `: m
  1871. ' @( v0 e* C% X" ?
  1872. ; Enables or disables opcode caching in shared memory.1 N: V1 a1 l+ C4 W
  1873. ;opcache.file_cache_only=08 B% |& G  E: b" q% ?) H
  1874. ' \2 Y& @+ s* n( G( v( ~
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    : E: j0 Q) V9 a6 A/ C* F& l
  1876. ;opcache.file_cache_consistency_checks=1; |) K8 G- C+ G. v2 u8 ]

  1877. 5 |" c0 }' U0 S6 T! a6 D. w
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
      X4 @; E( Q2 \- p" ^" |
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file, d1 D9 M' Q8 a9 n% N+ P/ V& s( M
  1880. ; cache is required.3 k" R7 Z$ m# i( c  P
  1881. ;opcache.file_cache_fallback=1
    ) F( t0 c& U" u* d  G+ N$ _: N

  1882. 7 @+ W; g- M& Y* C7 y
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES./ M, x. E/ R1 ^  `, Q& F, K8 `
  1884. ; This should improve performance, but requires appropriate OS configuration.. j0 ?& i. t- W; Z/ v
  1885. ;opcache.huge_code_pages=1* u0 F& e- c1 |, I$ z

  1886. ( I8 D: L' e. R0 d; m
  1887. ; Validate cached file permissions.
    $ ]  J) C" J  I4 s% _9 V
  1888. ; opcache.validate_permission=0$ z5 X( R( k" A  Q2 d$ a
  1889. 8 L3 v- J& A" ?0 j
  1890. ; Prevent name collisions in chroot'ed environment.
    % g6 I5 S6 _( x& `, f4 z" m3 c* B
  1891. ; opcache.validate_root=0
    : n% K: G' A- B3 f7 }" k: Z5 j# k

  1892. / Z! u1 M4 f- M) B' j: z; M
  1893. [curl]2 h# A# \, y( e. l6 X) u; H
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an# V2 |! \4 Y! I% g( b  X& x
  1895. ; absolute path.3 j6 e( }0 t/ H7 b
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    $ _7 j' }1 C" I& r  C, M

  1897. - a0 M: W, e4 f( T
  1898. [openssl]! @" s! e# k  W& b; }0 _1 ]
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem- I2 M% j; _+ u1 @
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    5 w; e. Q* \7 [( m( o9 K, p
  1901. ; not specify a value for this directive as PHP will attempt to use the
    6 \& B( `( X9 C3 S
  1902. ; OS-managed cert stores in its absence. If specified, this value may still. G! w8 P. {8 e  k- `$ N4 s; W
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    % ]6 {9 N2 ~6 m$ H
  1904. ; option.
    ' ~$ B" ?5 y, r/ F8 `
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    0 s: U1 Y. }: }4 A

  1906. ' G* z8 w5 g* x5 N+ y) h
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the. c0 T$ }- N9 n
  1908. ; directory pointed to by openssl.capath is searched for a suitable$ ~3 `* Y4 f* d6 e
  1909. ; certificate. This value must be a correctly hashed certificate directory.2 C6 j* k" S, }$ v  E+ N- i
  1910. ; Most users should not specify a value for this directive as PHP will
    . G8 F; P: B% ~! q, }
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,* M1 V9 F6 `4 s- `2 C9 Z* h
  1912. ; this value may still be overridden on a per-stream basis via the "capath"- H3 p2 }" u; _4 t0 t5 @
  1913. ; SSL stream context option.. t0 j! c# ~+ e
  1914. ;openssl.capath=
      l4 u( q+ X; C+ t

  1915. % F4 F1 t& S7 V! u5 O( v' @" s) i
  1916. ; Local Variables:6 U9 n4 P. z7 \: x" [
  1917. ; tab-width: 4  g7 ?/ p% i; Z3 z9 Z
  1918. ; End:8 s7 w. m* G( u4 \

  1919.   J7 q0 x3 g! g* k: B' {  n
  1920. ;eaccelerator
    6 l+ \1 K5 h, g- C0 n
  1921. ! ^3 b/ e, n8 y0 _- e' V
  1922. ;ionCube
    ( ^) a  h5 L6 b
  1923. 4 m: o  Y" n( A0 _2 I' Y
  1924. ;opcache
    $ i) x, {; @# A3 {7 e" w1 J) E
  1925. ! `% Z/ [6 x; ~
  1926. [Zend ZendGuard Loader]. }6 n. m4 ^6 M. K
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    % ~) q6 N% b, [. g0 D  k0 W% o, l
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so) [3 R0 D3 u$ V9 u1 }+ }1 u' [
  1929. ;zend_loader.enable=1
    ; K/ i, P2 @. ~, }# g1 l0 y
  1930. ;zend_loader.disable_licensing=0' I% l* K5 Z8 [: n  C4 w1 V2 V
  1931. ;zend_loader.obfuscation_level_support=3
    : k) D3 d! q' |& k# H. d" w, U
  1932. ;zend_loader.license_path=
    : V) [% S( r6 N( i6 J0 l4 K/ k
  1933. % o  }) g$ z# J# W. F
  1934. ;xcache
    ! ^6 b& Y' _) f# {* c; U0 H9 u
  1935. 2 f/ B- M. f4 K1 L0 D7 p
复制代码

. _2 J3 t* `! w  \8 ]6 m; J
' c# Q8 ^  w/ e# |! ]/ U7 P
" J( d) D8 H/ ?' N/ K5 i
0 R, }! |5 a% }" b# o* [
  o% F; [, q5 I/ m3 v$ z: y
9 q9 V% L# `7 ]; K/ d2 q7 {3 D) V# o# v8 o! }3 _' f
PHP5.6版本原始设置! n  z: B, X& e  ~. H

/ p; S% L0 Y9 g& K5 \  n9 z( z1 D
  1. [PHP]
    5 F0 }1 w% Y5 }% w! z
  2. 2 d) K( X. F$ ?  M+ R
  3. ;;;;;;;;;;;;;;;;;;;
    - E' b7 Y6 n9 o2 p
  4. ; About php.ini   ;
    4 J5 N2 F/ a% k/ n! {! ^) e
  5. ;;;;;;;;;;;;;;;;;;;
      u6 S8 n5 s& J
  6. ; PHP's initialization file, generally called php.ini, is responsible for8 w; n* C/ |4 Q3 D6 Z7 Z; n8 s& d
  7. ; configuring many of the aspects of PHP's behavior.2 m9 h8 w- _. Z  K

  8. 2 B3 k$ U8 F2 H# D$ c3 m; y1 ]: n) |  B2 ^4 y
  9. ; PHP attempts to find and load this configuration from a number of locations.: n- b) `0 f5 ?+ y
  10. ; The following is a summary of its search order:& P6 ?. }  e7 n9 C! }
  11. ; 1. SAPI module specific location.: u  `* r& e; z+ l/ a9 t6 k
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
      n: U2 w( Y4 J/ r  K
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    + @: v, E! X# O5 {
  14. ; 4. Current working directory (except CLI)
    $ B8 @2 |  i8 q
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ( x2 g$ W3 w# @: ?) ]: f
  16. ; (otherwise in Windows)
    , w" h! P  D# r: f) Y
  17. ; 6. The directory from the --with-config-file-path compile time option, or the* Q# \9 x8 O  N" ^5 H! F5 s
  18. ; Windows directory (C:\windows or C:\winnt)
    ! ~5 C: ]' y- B
  19. ; See the PHP docs for more specific information.$ a* O9 L" r3 j; U' b9 o
  20. ; http://php.net/configuration.file, e7 u/ }) V, H) i- ^. I! O
  21. & L$ F. T/ @4 A5 l$ A+ o* l) R5 Q
  22. ; The syntax of the file is extremely simple.  Whitespace and lines4 {  u$ K) N' K2 Y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).) |( @+ Q# m1 g" S2 n2 p
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    7 Z) l8 k2 M- X" A. d2 o* ?
  25. ; they might mean something in the future.
    : \& E3 W3 S! z) T/ k$ d- D6 _' w

  26. 6 \) f  @. _' s5 F/ f4 m
  27. ; Directives following the section heading [PATH=/www/mysite] only! m) y6 b8 V7 b
  28. ; apply to PHP files in the /www/mysite directory.  Directives# |, _+ \0 S7 k+ Q( a2 s
  29. ; following the section heading [HOST=www.example.com] only apply to
    2 T3 H( W4 L$ i) _: M
  30. ; PHP files served from www.example.com.  Directives set in these0 f; D/ ?1 O& `. n
  31. ; special sections cannot be overridden by user-defined INI files or* c% C7 Q( H, ^& Q  `1 m8 S
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    6 g# z+ B) G$ Y9 ?4 ~2 x
  33. ; CGI/FastCGI.
    & l. Z3 f2 q$ W; c0 d0 H
  34. ; http://php.net/ini.sections
    ' p$ T/ `4 L' ?9 z

  35. " J$ I: J2 ^9 h6 [6 A* [" j  m( O) R
  36. ; Directives are specified using the following syntax:& t  q: b0 u, A5 u. o" W/ x) y: ?
  37. ; directive = value  X1 x* W, U2 G+ R# ?! C" K
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    + }/ n7 f4 k! A5 [
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ; E; U8 |+ E& \
  40. ; There is no name validation.  If PHP can't find an expected
    $ D  h& K% [4 l( N
  41. ; directive because it is not set or is mistyped, a default value will be used.
    " ]. r  x# M0 s6 k4 w. ~# ^

  42.   w" r: l# H* I7 D7 g* u5 t
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one5 X; A$ y/ D% K" v- S* U' H4 s0 j6 [
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    - g' K" S% ^& D! \( v# w& O
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    2 f# l# P4 [# k$ c
  46. ; previously set variable or directive (e.g. ${foo})
    & {) ]2 r; q& H5 Y, F
  47. . P7 I' C  d" Q; R. @
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:  U& t' s( H* f* x. ]) s, S, @
  49. ; |  bitwise OR
    6 V; o, `( D( ~
  50. ; ^  bitwise XOR9 V+ v& G* N, L& W8 E
  51. ; &  bitwise AND7 G; W$ ^$ z* o
  52. ; ~  bitwise NOT1 S# \7 g/ o. G6 Y2 m
  53. ; !  boolean NOT
    # C5 f4 r; Z9 o3 c! }- b- K7 m2 a

  54. / X. d5 m' s! _" S1 V5 \
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.# c6 d% `2 l, A; @$ k; D8 f
  56. ; They can be turned off using the values 0, Off, False or No.
    1 a7 E' y$ I6 y9 t# Q2 K+ L- R
  57. : y$ r. h# x2 @6 ^( i3 k3 L
  58. ; An empty string can be denoted by simply not writing anything after the equal: C! U6 ?' j' i+ f$ o
  59. ; sign, or by using the None keyword:& P# z2 f4 k8 O5 H6 O9 ]9 d

  60. / ]" A! V" v! X
  61. ;  foo =         ; sets foo to an empty string6 r3 M6 l8 H4 j. z& @3 {) ^
  62. ;  foo = None    ; sets foo to an empty string
    0 h. @2 o0 @1 |, T$ \; ?
  63. ;  foo = "None"  ; sets foo to the string 'None'9 F/ O7 a5 ~! \" {1 t

  64. 4 V2 M9 W+ U$ x( C' j. `
  65. ; If you use constants in your value, and these constants belong to a1 K7 B3 I3 ?3 C" K
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    * E- f  |, Q+ Q8 l5 I. t( _! u
  67. ; you may only use these constants *after* the line that loads the extension.
    8 K" e) l; a. j2 ^1 C: R5 a
  68. $ U+ B! p9 p, H7 p8 i
  69. ;;;;;;;;;;;;;;;;;;;
    % D7 Z# W. v" d* U' R
  70. ; About this file ;. B' m( V  Y& a/ j
  71. ;;;;;;;;;;;;;;;;;;;
    % r# r( G1 X5 W3 T9 |
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    , @: k$ C9 E2 \8 K$ m2 H
  73. ; in production environments and one that is recommended to be used in
    # Z  _* S3 r4 T: N' D! h/ @" @
  74. ; development environments.  a4 l3 ?; c9 \3 q

  75. " r8 K9 b1 l4 ]4 K' y: {0 |8 S
  76. ; php.ini-production contains settings which hold security, performance and% ~7 f7 u  t- ^, o* v8 _- @
  77. ; best practices at its core. But please be aware, these settings may break
    # H: S% E2 K7 x% Y. C# s
  78. ; compatibility with older or less security conscience applications. We
    # W' R2 f5 U1 h. T3 @& F. D( g
  79. ; recommending using the production ini in production and testing environments.
    . H2 u( M/ Q% b# P- x! t# c0 A

  80. ; e, L& N% L: ^& F& O
  81. ; php.ini-development is very similar to its production variant, except it is
    6 {" s- z2 r0 |, \9 s
  82. ; much more verbose when it comes to errors. We recommend using the
    + G: m% ~$ o1 z8 ]1 S: J' o9 [
  83. ; development version only in development environments, as errors shown to
    : c/ ?+ P: t$ G  h
  84. ; application users can inadvertently leak otherwise secure information.
    5 o8 }& D7 ?4 Z$ h

  85. - V: c  M2 `4 B$ A
  86. ; This is php.ini-production INI file.
    # \+ p) j; }* ~  h* ?* l5 q/ H

  87. . a+ Q6 C+ f( `, f8 z6 C6 l3 I
  88. ;;;;;;;;;;;;;;;;;;;( g: U+ A: [7 w* p& A
  89. ; Quick Reference ;
    1 |2 y6 t) @8 U+ j
  90. ;;;;;;;;;;;;;;;;;;;
    . r8 O* |& W0 u+ Z2 c5 h, d
  91. ; The following are all the settings which are different in either the production
    4 E/ V  A# X! z) |3 {
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    . N  J" m, s* @) }3 d
  93. ; Please see the actual settings later in the document for more details as to why
    , d& W) f5 I$ L& ]/ y0 T( W
  94. ; we recommend these changes in PHP's behavior.* f8 N8 [$ o3 [
  95. 5 t4 D$ }$ m) f8 a9 k& B0 g
  96. ; display_errors. d0 L& ]1 U$ P- v' C
  97. ;   Default Value: On
    & O3 f/ Q% W; h: U( x2 ]' e+ ^4 p
  98. ;   Development Value: On
    # ]( p+ \# Y0 D9 v% G$ u" g
  99. ;   Production Value: Off7 b1 }/ Z, ?" n4 n5 d, @4 E

  100. 0 L& W) Y8 v2 r# y5 P; V
  101. ; display_startup_errors
    ! z: |7 T5 d  O' {( y- d" k
  102. ;   Default Value: Off$ O* q' K" ~! K! T: l7 J, t
  103. ;   Development Value: On2 r! J" m" H* t# ?: k4 \# Q% T3 {3 @
  104. ;   Production Value: Off! B  ?, |& `* T" |& _
  105. / |( B6 D/ _( [/ L5 A/ d! v0 |1 ~
  106. ; error_reporting
    / I' b, g* i' t" S
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED/ G5 M$ \5 Z) p. }, _
  108. ;   Development Value: E_ALL
    # Y% Q9 D5 h' I- L! W6 G
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 v/ R. h& C+ s! w* ?/ s) f2 [: \

  110. ) y- D: s% w4 P! i4 Q% f
  111. ; html_errors' `$ p+ h% H4 ?- r! m5 w
  112. ;   Default Value: On9 U. o/ ^: M2 E) e, i; u
  113. ;   Development Value: On
    , Q/ j& C! i  `0 F
  114. ;   Production value: On' T  y4 ]' }0 O% z3 m7 D: P4 d
  115. , b. u% q4 w1 C# }$ ^1 L
  116. ; log_errors3 y0 p5 G) F2 g9 O, t6 X
  117. ;   Default Value: Off) r$ `& [; i7 y
  118. ;   Development Value: On7 ~3 |! R5 l9 N: p1 L' @7 \, R
  119. ;   Production Value: On
    * z0 f. ]% k  \) I- }% v: }6 ?

  120. / b! k5 Z$ n$ C, t9 B
  121. ; max_input_time
    ! S3 d- P1 v% Q9 s
  122. ;   Default Value: -1 (Unlimited)
    3 J- K  [$ G- o& f# D
  123. ;   Development Value: 60 (60 seconds)
    ) b. ]9 \5 b9 p6 m
  124. ;   Production Value: 60 (60 seconds)
    ' U1 B( Q8 e% Y

  125. 5 x: J3 [1 l- X) Q: A* ^6 g
  126. ; output_buffering
    % d9 G* ?- |% @
  127. ;   Default Value: Off: V1 a) j/ p6 I: ?% ^+ C
  128. ;   Development Value: 4096# N' q! L# y! f% D6 V+ J$ l
  129. ;   Production Value: 40965 V- ^2 s, B$ D5 y
  130. * o; Q* C, J4 W( L7 H0 w  x
  131. ; register_argc_argv
      T, [4 \" c5 [: W
  132. ;   Default Value: On
    2 l" H6 ]- E4 _$ n# R( I
  133. ;   Development Value: Off$ S- ?6 S  S  X5 \# z! O# m
  134. ;   Production Value: Off* ~/ v# \; k9 j" x; K
  135. 1 P/ V6 X6 l& k
  136. ; request_order2 i" r% t9 E/ Q, v( W
  137. ;   Default Value: None) _. Q0 f* H+ K, \
  138. ;   Development Value: "GP"8 ?  T# B6 J$ p! Y
  139. ;   Production Value: "GP"0 \! |7 A7 m, \# G! l/ |5 F* ]! u
  140. $ x( Z7 ^% S) k2 n2 b+ V
  141. ; session.gc_divisor
    * a, I, d  R- v# x* m! L4 [
  142. ;   Default Value: 100
    ! [/ j2 |( i. B9 N$ ]( V
  143. ;   Development Value: 1000, i% `1 P& j, F
  144. ;   Production Value: 1000' I; E% [# D' N

  145. 9 E8 }9 W; F/ r
  146. ; session.hash_bits_per_character
    * `+ ~/ p/ X+ P: b
  147. ;   Default Value: 4
    2 _1 ]3 k1 U2 q2 E7 Q- I% {
  148. ;   Development Value: 5" r& d+ _1 C) q5 l& S
  149. ;   Production Value: 5
    # q2 z+ I) m* U% h( A  b5 l  \7 e
  150. : A0 p% H# K: ~9 G
  151. ; short_open_tag
    , o( y2 h& k% R8 k
  152. ;   Default Value: On
    ! t" G- z2 }  Z* o% e
  153. ;   Development Value: Off$ f* q& u! {' b* c4 m* b1 i( U# W
  154. ;   Production Value: Off1 x6 b' x( }# E  X+ L

  155. ! c2 z$ j8 a9 M9 P' V7 D7 [: k, G% [
  156. ; track_errors
    " G( u; P  {" \" s
  157. ;   Default Value: Off& J0 w7 k4 W- f9 [# u
  158. ;   Development Value: On
    + r( {) o/ ?" R- Q2 i. ^+ C
  159. ;   Production Value: Off. S4 N9 E- j2 ~2 i! x0 N9 k
  160. 0 u9 e, b+ g. M1 }$ N  [! K, q; X$ Z
  161. ; url_rewriter.tags0 q$ b! C+ v0 X6 p2 J5 Y' n
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    , N6 I0 G5 j0 X% e4 b
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": u2 C! W  E3 V: x& W
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 f* e( ~& b) n$ _  f) L0 @( h

  165. ' o0 j- d$ ?: x& W2 R
  166. ; variables_order% D( L+ X1 M( C, }
  167. ;   Default Value: "EGPCS"
    ; h: `# t, T5 f. U: k' Z( q
  168. ;   Development Value: "GPCS"+ [  i& N! N* [& `! c
  169. ;   Production Value: "GPCS"0 Z7 @# N/ w/ T' S" @+ }

  170. 9 q% c& n5 }: _8 d) @
  171. ;;;;;;;;;;;;;;;;;;;;
    8 U3 g) F( m& m5 L( e0 E
  172. ; php.ini Options  ;8 F8 T$ w: d0 F: a/ i4 }  X$ G
  173. ;;;;;;;;;;;;;;;;;;;;
      C8 N  X: d2 j
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"( g0 ~4 S4 F4 ~; N
  175. ;user_ini.filename = ".user.ini"
    ' A' W8 ^& j% d: X6 x; s3 E* ]. Y% ~

  176. # r9 r% D+ g: O9 l: x! h( h: n' x0 \
  177. ; To disable this feature set this option to empty value
    2 s% U  l& x8 y0 b7 S& v# [; Z
  178. ;user_ini.filename =
    8 O4 l5 b- X5 p, J+ T/ Q. s
  179. , l4 R$ X+ L- U( _$ r3 [
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)  D/ L, B5 d3 ~6 W6 W& D
  181. ;user_ini.cache_ttl = 300  A% S7 N( h! a. l8 u% G
  182. * z9 H5 W3 |! a, `, w4 a
  183. ;;;;;;;;;;;;;;;;;;;;
    7 E5 C6 Q: G* W1 A4 D
  184. ; Language Options ;
    * _$ R  o* H% ^2 x' P  A
  185. ;;;;;;;;;;;;;;;;;;;;
    1 ?; V6 x6 f8 k' Z& X5 z% }
  186. : K1 u/ J8 n7 f: d9 G: e
  187. ; Enable the PHP scripting language engine under Apache.7 b6 J) G* k5 B
  188. ; http://php.net/engine+ ]- q7 E1 p/ p6 D
  189. engine = On$ C8 N# L( f. V3 ?

  190. 1 [0 S5 n# k' D# S
  191. ; This directive determines whether or not PHP will recognize code between8 J8 F6 n0 ^8 }7 _3 N- n! ^
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ! W& T% Q( j; _
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ) p$ |! P1 B8 @7 A$ A
  194. ; should be disabled, as enabling it may result in issues when generating XML
    . I2 ]5 H) `& F" S
  195. ; documents, however this remains supported for backward compatibility reasons.
    , p/ B  `+ t$ z8 @
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    & T% f* N2 I) o8 N) j1 i% l! r+ c
  197. ; used regardless of this directive.8 {; l  r$ s5 ^6 O; I& g
  198. ; Default Value: On
    / A1 b) G( _" V
  199. ; Development Value: Off! A  R8 i6 Q3 O. L- k
  200. ; Production Value: Off1 I  F* Z. M2 I8 q
  201. ; http://php.net/short-open-tag
    " Y1 w& ?% D7 x+ {4 S2 {
  202. short_open_tag = On
    0 w5 k# E8 z4 {& f/ j
  203. 9 p1 T2 k! w% I/ l. z
  204. ; Allow ASP-style <% %> tags.
    ( R: A/ R  K0 d6 {( c# N8 y
  205. ; http://php.net/asp-tags' C' T7 c. A5 T" u' g. v
  206. asp_tags = Off
    8 {- y; X' e0 o0 i0 [

  207. , @$ {8 g8 I5 f7 p5 t& w& W  F; Z
  208. ; The number of significant digits displayed in floating point numbers.; n6 I3 D6 r% c! T* ~! a9 r6 M( ]" N
  209. ; http://php.net/precision% T/ w8 K; S" B, h8 i' m5 K+ R
  210. precision = 14$ S& M. f. M8 v
  211. # E- c' O9 y; C1 w' k  q0 A( C+ ^7 n
  212. ; Output buffering is a mechanism for controlling how much output data0 {" B7 ~& p8 D# ^4 w4 k& t, `
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
      g$ c! Z! ]3 u  ^- N5 O7 M/ T. z
  214. ; data to the client. If your application's output exceeds this setting, PHP
      N6 F, D$ i; P
  215. ; will send that data in chunks of roughly the size you specify.! N8 t% J, ]  a) K
  216. ; Turning on this setting and managing its maximum buffer size can yield some' n  l! W8 T8 B2 w8 d/ l
  217. ; interesting side-effects depending on your application and web server.. M6 p$ m  H* J& e- A' l4 M1 D
  218. ; You may be able to send headers and cookies after you've already sent output8 L$ U- w& v) T/ w
  219. ; through print or echo. You also may see performance benefits if your server is& j( I- H1 B- [+ N/ ?
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    % [- A& v9 \- C, }  e7 w
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    * D- I! q5 y) \$ O4 o
  222. ; reasons.; `! o2 w6 r' k- u, q  z& o
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    + z2 w8 Z% o7 q* D) K7 G/ k
  224. ;   functions.0 Z' e! H! A! x: b- Z
  225. ; Possible Values:5 z. G0 K: J9 n) Y/ Y" F: P; f0 R
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    * ?9 A3 D' }) ~7 B# A# T2 T1 O/ c
  227. ;   Off = Disabled
    9 c, e- Q1 ]4 L; U  Q
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes., Y( E& S. u9 q3 R
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI  \0 D4 b- ^* }( f0 J8 V: I
  230. ; Default Value: Off
    ( X2 v0 f$ P+ R: `. e$ V
  231. ; Development Value: 40968 a3 j* @5 M: H# A9 E
  232. ; Production Value: 4096
    / a5 d; C. H) K. c( J) N" S; K. x
  233. ; http://php.net/output-buffering2 L' z& `2 V' }/ n6 L; w" ~
  234. output_buffering = 4096% p3 k/ A- _5 w" ~

  235. 0 M4 B  d* J- A
  236. ; You can redirect all of the output of your scripts to a function.  For
    4 o. _& S$ Y/ _+ o$ ~" m! l
  237. ; example, if you set output_handler to "mb_output_handler", character
    8 y' j) K. {7 L& [' m
  238. ; encoding will be transparently converted to the specified encoding.6 s& q, G- w1 t; N, u
  239. ; Setting any output handler automatically turns on output buffering.
    + {1 Y2 `) v2 c9 V; `
  240. ; Note: People who wrote portable scripts should not depend on this ini
    % d% m. ]! @, F9 }! l# \" b& t% f
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ' ^  F. O) W  d2 o2 T2 r
  242. ;   Using this ini directive may cause problems unless you know what script
    3 J3 k+ ~* R* D7 F$ v5 t- c' i
  243. ;   is doing.# a1 `" i- w+ ?. }) W; _
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"7 K* }) z3 E  E5 b/ X
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".$ g  y7 [0 U" y( L  t+ u8 @
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    6 w: m2 y' o; a: ?/ s
  247. ;   Instead you must use zlib.output_handler.
    " @- o9 K' Q7 E. o0 {" K
  248. ; http://php.net/output-handler+ c2 D7 `4 D1 C
  249. ;output_handler =
    $ @/ x+ J; ?) A3 i& G
  250. . h1 X# L% \+ ?# y1 t; Y, B
  251. ; Transparent output compression using the zlib library
    3 J" R8 n# K% E! @  t$ P  D' n
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    $ H1 e1 a6 Y1 n+ f/ h7 n
  253. ; to be used for compression (default is 4KB)
    5 X4 p- G- ^; e; ]; k
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ( M: W' g! Q% q/ [6 u
  255. ;   outputs chunks that are few hundreds bytes each as a result of( [' n% s4 t" h- @; y# s# n
  256. ;   compression. If you prefer a larger chunk size for better
    2 O* P, M  h/ N0 o
  257. ;   performance, enable output_buffering in addition.
    ( [) C  U$ \; \4 l& V5 c7 ~) X
  258. ; Note: You need to use zlib.output_handler instead of the standard$ [' o+ {! q2 ]4 Q
  259. ;   output_handler, or otherwise the output will be corrupted.
    9 M0 Q4 B5 N/ P6 Y/ t0 h  C2 ]+ u( Q
  260. ; http://php.net/zlib.output-compression
    - F5 {% A3 K+ ^# H! l6 X6 ]' P
  261. zlib.output_compression = Off! l1 _  T1 f$ \& d  q8 s$ A

  262. & ?* a2 q; g" {* C4 T! q
  263. ; http://php.net/zlib.output-compression-level1 @- m! U0 K1 T; _; {& z6 @
  264. ;zlib.output_compression_level = -1
    7 P8 l- s# K& p! R- ^0 X7 x
  265. 4 P' L, _% n$ T: o  r" R" u; l
  266. ; You cannot specify additional output handlers if zlib.output_compression8 D+ X, p) P7 T) Q  H
  267. ; is activated here. This setting does the same as output_handler but in
    4 b- |% n& I5 v( C
  268. ; a different order.8 Z, q+ w3 b8 R( ^. U! E9 j* W
  269. ; http://php.net/zlib.output-handler, `1 R% r& O6 i
  270. ;zlib.output_handler =
    ' {, R0 @& y( |5 q
  271. 4 B) s+ H1 v1 [' a3 u
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    , C) Q, P8 p' a$ ]: U
  273. ; automatically after every output block.  This is equivalent to calling the
    $ q( e& ~. v, F5 Y; p/ u9 l
  274. ; PHP function flush() after each and every call to print() or echo() and each8 b% e2 V) n  t+ R/ t! y3 L
  275. ; and every HTML block.  Turning this option on has serious performance/ |+ A% L) {1 H) x
  276. ; implications and is generally recommended for debugging purposes only.
    " Y1 d5 s( O9 @" S0 U$ n
  277. ; http://php.net/implicit-flush
    9 }: `( {! D6 T5 I
  278. ; Note: This directive is hardcoded to On for the CLI SAPI5 b) n3 B9 o/ S
  279. implicit_flush = Off. G) y- S$ P4 a4 \
  280. 2 {4 v8 ^4 \3 ^0 L8 V9 i
  281. ; The unserialize callback function will be called (with the undefined class'
    ) G& I4 ]! d5 {9 ]  w" D
  282. ; name as parameter), if the unserializer finds an undefined class
    5 m$ R  G) X$ g$ C
  283. ; which should be instantiated. A warning appears if the specified function is$ X5 @* p$ O# s) X
  284. ; not defined, or if the function doesn't include/implement the missing class.
    " h+ }  h! L2 l$ O
  285. ; So only set this entry, if you really want to implement such a
    5 s3 L, Y. G3 r" l: y/ a1 S- g
  286. ; callback-function., p4 X+ Q) J  k/ |, B8 b" z
  287. unserialize_callback_func =6 j' P- o7 w( l2 ]* Q
  288. $ s3 W5 L! ]# u" c* M
  289. ; When floats & doubles are serialized store serialize_precision significant+ \6 p+ o7 }" A; A4 s/ U2 n( N8 n
  290. ; digits after the floating point. The default value ensures that when floats: Q% p+ m; {- @" x2 k: d: P
  291. ; are decoded with unserialize, the data will remain the same.
    * ^4 O7 p. H+ R, z, ~
  292. serialize_precision = 17
    4 e6 u1 m: }) d. R
  293. 1 m* b, l: ?8 c: \  F. W, F* s( p
  294. ; open_basedir, if set, limits all file operations to the defined directory
    + B) S7 A# g* L& g+ F
  295. ; and below.  This directive makes most sense if used in a per-directory
    7 \( ]& W! `: U8 h
  296. ; or per-virtualhost web server configuration file.4 j  g! a  c8 Q  m
  297. ; http://php.net/open-basedir
    ) ]' z2 D; H4 G9 h( u% d
  298. ;open_basedir =4 B8 I! S/ T+ t% ]

  299. ! ~) W) C  ]9 k0 K9 {8 D9 L( ]
  300. ; This directive allows you to disable certain functions for security reasons.
    ) D2 d9 `, z* \
  301. ; It receives a comma-delimited list of function names.5 z5 g2 I0 p3 y2 v% G" G. n
  302. ; http://php.net/disable-functions
    7 B0 P' r* m, }+ X! D/ \/ V4 m
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru. O# w6 M( t4 r' h5 R6 X

  304. 3 ~7 S9 N9 O2 V" N/ j! A, l
  305. ; This directive allows you to disable certain classes for security reasons.
    6 E3 H7 R, n: D- J
  306. ; It receives a comma-delimited list of class names.3 D) R" l) j$ E9 F
  307. ; http://php.net/disable-classes3 u' m: J* j1 H, d* q, [/ ]1 a
  308. disable_classes =/ Y( J, f) T) N) t! e2 V/ _
  309. 2 w" J. D1 u# g
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    . L* o9 F% Q) ~' r
  311. ; <span style="color: ???????"> would work.
    4 w6 ]. s$ \% L3 X
  312. ; http://php.net/syntax-highlighting+ H9 [1 D/ e" k2 H' C! S8 y
  313. ;highlight.string  = #DD0000& l3 F8 e; c5 ^9 z2 u
  314. ;highlight.comment = #FF9900
    - A8 P3 G3 v+ h; T9 ]$ ^1 n- @% y
  315. ;highlight.keyword = #007700
    : h. |1 H3 e6 C$ `0 W
  316. ;highlight.default = #0000BB  |8 f; z; l9 q! z( N
  317. ;highlight.html    = #000000! N5 s3 T8 o* x4 _% A7 r

  318. 8 {) E. {: v+ {/ m
  319. ; If enabled, the request will be allowed to complete even if the user aborts$ w# f4 R: P: ~9 L( L$ d
  320. ; the request. Consider enabling it if executing long requests, which may end up( Y# ?: V& D$ B, z; c
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior  J8 N7 j) I, h% u
  322. ; is to disable this feature.
    7 ]$ c: `2 D4 Q- Z
  323. ; http://php.net/ignore-user-abort
    0 l2 [5 C+ l7 |2 j; H! g: J
  324. ;ignore_user_abort = On
    : v, i: u1 o) G# h6 p* _! M" x
  325. & l" ?1 }" z4 f8 \* s
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    4 n; j( c3 A: }1 _; u9 `
  327. ; be increased on systems where PHP opens many files to reflect the quantity of' X' y5 p4 ^& Z7 K
  328. ; the file operations performed.1 k/ Q& _/ T1 V1 J6 e. \* C2 i
  329. ; http://php.net/realpath-cache-size
    / b" q$ t7 X8 t; B# V
  330. ;realpath_cache_size = 16k, P* m9 W7 l& ~" w) S

  331.   z, q7 E/ c% r1 u% _9 e% o/ Z
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    7 \  u* m  ?9 u# q  A# j
  333. ; file or directory. For systems with rarely changing files, consider increasing this- L1 P: L& w* ]7 p$ t
  334. ; value." Z4 j, |2 F+ g! y% U& s1 f
  335. ; http://php.net/realpath-cache-ttl
    3 ?9 [, e. w6 u& o
  336. ;realpath_cache_ttl = 120* {7 _/ n: {/ }% F* |
  337. 7 u4 W4 z; i( r7 P, j
  338. ; Enables or disables the circular reference collector." y& x2 j& \" @7 g" |
  339. ; http://php.net/zend.enable-gc2 f3 t; M7 ~: Z4 v
  340. zend.enable_gc = On. P1 w7 ^6 r# ^  F& O$ j
  341. 6 p; e; I( A( H# y0 c( h
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    + d- a2 K+ F/ o! M% R5 g
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such! J6 d) S) O( p- U' @, I
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    ( x+ e: ~, _: L( c
  345. ; Default: Off+ X6 `# j( J, H( Z5 y
  346. ;zend.multibyte = Off
    3 _: y  F/ D6 f  `* z3 J5 u
  347. 4 n7 O0 P' z9 W
  348. ; Allows to set the default encoding for the scripts.  This value will be used" x. j6 s: f. v! j" Q8 Z
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.. A9 k' @; z) O/ i7 c. B5 D- f& _- v
  350. ; Only affects if zend.multibyte is set.
    : M4 y" I" B6 N' X) ]3 q
  351. ; Default: ""% ~1 \) A& y: f, m) s( {$ E
  352. ;zend.script_encoding =2 j( Y% }8 ~/ Y2 S+ L4 y# K

  353. 5 j8 W% F9 r, Z$ r
  354. ;;;;;;;;;;;;;;;;;
    8 T$ K( d- G1 O* @& M% _/ q& `
  355. ; Miscellaneous ;
    5 g/ Q  y* S0 v* n- F6 m
  356. ;;;;;;;;;;;;;;;;;9 f$ E( r8 c5 c6 z
  357.   N+ ~; k; r3 r- _% G
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    5 }6 g# Y- O  O0 u
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    7 b1 i+ }; W- y7 J; ?6 F
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    & A9 X' R/ P  v# e2 E" x
  361. ; on your server or not.- E! M/ O+ t! I; J0 ~# r
  362. ; http://php.net/expose-php
      N  H' I0 _" K
  363. expose_php = On
    - F2 c. {% z6 R( Y; p$ r

  364. % C# \/ K0 d8 K9 \+ @
  365. ;;;;;;;;;;;;;;;;;;;( `: K% A: W- |6 J- k
  366. ; Resource Limits ;  c! i1 C9 O& R: E  l
  367. ;;;;;;;;;;;;;;;;;;;
    1 q; {  g3 D' q, X+ z+ ?

  368. 6 C6 v8 |) Y1 u- D1 R5 p5 Q
  369. ; Maximum execution time of each script, in seconds
    0 V6 t4 P: m8 d$ M# @" M) y; N+ I
  370. ; http://php.net/max-execution-time1 ?3 F  O8 {7 K
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    4 e) ~% H1 ?4 X# G" j* J1 z3 X
  372. max_execution_time = 300+ L. T7 N) [# L" ~% F, k
  373. 0 |, {+ t; C" ^6 Y3 w0 V" ?4 e, ]2 }
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ) A3 r: h7 J* M, d6 ?3 J7 x( ^
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly- G! Z1 J" R9 J8 D2 o" H- {
  376. ; long running scripts.
    0 Y/ c" X2 k/ g" M5 r
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ( A; R# d5 l, L% s/ f: ^: t: z0 g
  378. ; Default Value: -1 (Unlimited)- P# X* L, O5 O% a" w# T: Z4 s
  379. ; Development Value: 60 (60 seconds)) s. s9 e- z  P; R# @' o
  380. ; Production Value: 60 (60 seconds)$ ~6 t# T( x* b6 e8 _
  381. ; http://php.net/max-input-time
    ! Y0 E$ {9 e6 b, n3 \. O5 Q
  382. max_input_time = 60( n* H7 d4 L+ m1 @  f3 |0 g/ M
  383. 7 M* {" I% `* y; k" b; n4 ?  U
  384. ; Maximum input variable nesting level3 F3 ~; P2 Z* G# w! i
  385. ; http://php.net/max-input-nesting-level
    ! s+ T  s) q5 F+ y) R. i
  386. ;max_input_nesting_level = 64
    2 u2 w7 u* K$ c- X* Z' ]  |5 W% p

  387. * v1 y$ e$ a: {* c# R: G" Y. {" P8 q
  388. ; How many GET/POST/COOKIE input variables may be accepted
    9 m$ j- T: t0 n! C" c1 t- m* C
  389. ; max_input_vars = 10008 H' R( e( h; H+ o0 y6 C. [9 a
  390. $ w' h4 X* }% S
  391. ; Maximum amount of memory a script may consume (128MB)/ i8 a+ h& Z" G
  392. ; http://php.net/memory-limit
      t& e' J. Z; G- h
  393. memory_limit = 128M4 O8 p4 H- G$ Q# z4 _" [
  394. 1 y& u) Q& U, l5 m9 q
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $ n0 }$ D+ B& n: T# Z! i0 y
  396. ; Error handling and logging ;. n8 ]* ?; X  p; z
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3 x+ g; p# E% `- y7 Y

  398.   J+ k( r5 Q/ S
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    8 d) p: x  T* P7 v2 y. H4 h/ V
  400. ; it to take action for. The recommended way of setting values for this
    + g: o3 s. I. l% K3 x6 E9 o6 U7 F; t
  401. ; directive is through the use of the error level constants and bitwise
    . V+ y+ ?# M; h3 Q7 H% u: Z% z
  402. ; operators. The error level constants are below here for convenience as well as; H5 r. Q1 L! J# S9 _- @; u$ S: V
  403. ; some common settings and their meanings.& t8 ~' Y) B* L$ K' L1 A2 k
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    1 @% o! N' H+ @1 E
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and8 d! ^6 w/ n) d. R/ g$ _, ?
  406. ; recommended coding standards in PHP. For performance reasons, this is the) {  F, G; R5 p8 E# ^
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ! g0 E" c7 P1 g# g9 Y
  408. ; resources complaining about best practices and coding standards. That's what$ c8 U) l+ F: j: i7 z
  409. ; development servers and development settings are for.
    + R% |$ G/ g3 T# F# l( c
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    3 E: m* a3 S) H
  411. ; means it pretty much reports everything which is exactly what you want during
    9 u, L7 W, l9 c# X' G8 Z
  412. ; development and early testing.
    ! b. W  U0 d  D% I. ]$ S3 |
  413. ;1 [8 X$ F: t) R/ f: ]! o# x
  414. ; Error Level Constants:" I/ D1 Y0 h" {$ ~& \  v% o0 W
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
      A5 z; g7 `4 y$ X
  416. ; E_ERROR           - fatal run-time errors
    ' I) L) N& M. S- y: x0 G7 o# E& O
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ; q, ?# C1 U' a) [- C
  418. ; E_WARNING         - run-time warnings (non-fatal errors)$ ]) b) u8 [% ~1 ~6 Z8 [& H2 ~
  419. ; E_PARSE           - compile-time parse errors4 p# L" ~# b. P' Z3 [3 ]5 F
  420. ; E_NOTICE          - run-time notices (these are warnings which often result/ m- `# f  a) d/ f7 b) k9 D' }! ?
  421. ;                     from a bug in your code, but it's possible that it was  u. J# C* l/ l1 e
  422. ;                     intentional (e.g., using an uninitialized variable and3 F2 L5 P9 V! o  x
  423. ;                     relying on the fact it is automatically initialized to an
    8 t  `! B/ Z. D0 l; y! g
  424. ;                     empty string)
    & Z9 y9 F* x+ K, B3 j  \
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes. N5 t7 }# J" \+ D1 |3 x+ J# l
  426. ;                     to your code which will ensure the best interoperability
    / a: K0 i9 I5 |( X  M' r8 L
  427. ;                     and forward compatibility of your code
    ( t/ U" ]2 J$ ]
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup0 R) J5 O& ~: |- @5 v! Q: _9 l5 K. Z
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's, x2 r+ c7 E1 E8 V- B( S7 [. x
  430. ;                     initial startup, M; N2 M( ~0 _( }4 p& I
  431. ; E_COMPILE_ERROR   - fatal compile-time errors3 d7 n( `/ P# Z
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors); [; u  [" X, ]: i
  433. ; E_USER_ERROR      - user-generated error message( q1 R! v& ?7 i
  434. ; E_USER_WARNING    - user-generated warning message
    ) w# c; Z  u1 @. {+ q1 h* V# }/ A
  435. ; E_USER_NOTICE     - user-generated notice message! W5 H3 I! A- E  t
  436. ; E_DEPRECATED      - warn about code that will not work in future versions/ r7 Q9 M+ N' N/ o8 Z, ?# u  O2 ]
  437. ;                     of PHP8 J3 P  j* o  m" }1 o$ h
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    $ D9 G% m3 D8 ?4 R  C/ ?
  439. ;
    & k9 a4 i$ o2 g' ~1 [
  440. ; Common Values:
    $ `" y4 H, l$ t! J) K. [
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    1 b" D% t  `# e# X! G5 C
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    + @1 A0 Z; Q* m! A- ^$ R9 _, c
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)* z, l2 s1 }8 e4 Z7 m' m. {! a
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)+ g0 E/ N# k9 N# ^$ `- q
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  B" o6 o# I6 u/ s4 }7 U
  446. ; Development Value: E_ALL/ a( e4 E8 L, j4 n& ^, v
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 ?# c* Q1 o$ N5 E4 R
  448. ; http://php.net/error-reporting
    + r- T/ W' ?6 Z3 b; @, o4 w3 Z
  449. error_reporting = E_ALL & ~E_NOTICE" S0 g7 g4 Z9 C% b5 M4 s7 I7 g6 V
  450. * \! A2 w( {# N& J" Y+ e
  451. ; This directive controls whether or not and where PHP will output errors,) ^" S8 Y4 ]$ Q7 N, [7 R/ L; u
  452. ; notices and warnings too. Error output is very useful during development, but
    - d. q% y# O$ s
  453. ; it could be very dangerous in production environments. Depending on the code
    . R* C9 v2 ^  o6 ?2 k4 s3 B
  454. ; which is triggering the error, sensitive information could potentially leak) _, _" O; |# f& M7 V
  455. ; out of your application such as database usernames and passwords or worse.2 n* V6 k3 [; V
  456. ; For production environments, we recommend logging errors rather than; I7 l( c+ @/ r( o: X- f* n2 Y
  457. ; sending them to STDOUT.. l8 p( W9 E/ {% r) S4 e3 _8 h( @2 n
  458. ; Possible Values:; a. I% u0 I) v& P- I3 z
  459. ;   Off = Do not display any errors
    - w) @3 v" m1 E3 H  X
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)/ K9 [& N6 M' I2 e
  461. ;   On or stdout = Display errors to STDOUT/ d! x& i; W  a3 d
  462. ; Default Value: On; A* y7 _( t# N/ D8 c& k. F; Y) Q
  463. ; Development Value: On
    0 H4 {- r: q* M1 s* b. P) A3 Y
  464. ; Production Value: Off
    " z+ O2 q% X% G, I( l1 C) f
  465. ; http://php.net/display-errors
    9 \  a% B) w) d  j" j0 |
  466. display_errors = On+ Q2 O3 z: B" n+ r# v0 T
  467. 0 L- T+ L- A  k( ~- T& S; h
  468. ; The display of errors which occur during PHP's startup sequence are handled6 E2 \$ t0 P( x6 z  P
  469. ; separately from display_errors. PHP's default behavior is to suppress those7 r8 S4 }6 @7 j5 h- @
  470. ; errors from clients. Turning the display of startup errors on can be useful in
      L( V7 V! ]7 |/ I- G
  471. ; debugging configuration problems. We strongly recommend you
    6 Y# T" p, [# @& q* |) A& r$ t$ c- A
  472. ; set this to 'off' for production servers.% K0 h" M1 e% L3 @& s4 Y
  473. ; Default Value: Off
    : c; p7 m) U9 T1 b
  474. ; Development Value: On
    6 H' N( a/ ~5 C' e( z  w
  475. ; Production Value: Off
    # I& @% ?+ H* A; @2 \; l
  476. ; http://php.net/display-startup-errors
    1 B4 @$ B1 S  o- _
  477. display_startup_errors = Off
    3 F" F0 f8 u' y# \3 P/ z$ Q! L

  478. : `% @7 }. S, S0 G* x: I. z
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    + o$ q4 l0 F( H& i9 E0 ]) R1 g- A
  480. ; server-specific log, STDERR, or a location specified by the error_log
    , H5 r0 n7 {7 C  b0 @1 ?  y; Z
  481. ; directive found below. While errors should not be displayed on productions2 w5 u8 \8 l" K# d- o1 d
  482. ; servers they should still be monitored and logging is a great way to do that.
    # r2 l' [2 S3 }% }& u
  483. ; Default Value: Off0 H) [  a3 [) R2 g! g
  484. ; Development Value: On
    4 t& p/ c* j! o- F7 {
  485. ; Production Value: On. |+ x! q- Y3 h6 `5 a. F) {( z2 {
  486. ; http://php.net/log-errors
    ) y: e9 `# F" ?6 ?' i5 O
  487. log_errors = On# b. T" K3 j: ^4 C! o
  488. 1 ^- `8 B- x- `) q5 ^: M7 _0 p
  489. ; Set maximum length of log_errors. In error_log information about the source is4 h1 b2 [' M. B4 G1 h6 R
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.0 A$ n& N& n5 }  ]9 I/ d
  491. ; http://php.net/log-errors-max-len
    % d8 Y7 \0 J: m0 Q) h; Z
  492. log_errors_max_len = 1024
    8 O; k- n/ j8 \+ v' M  Z
  493. / j/ H2 G2 Q+ i; q0 Q/ N; s
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same! O; s" b9 X- Q4 b/ `
  495. ; line unless ignore_repeated_source is set true.0 a, b; X, w" X
  496. ; http://php.net/ignore-repeated-errors4 i. l: z! D6 o7 v
  497. ignore_repeated_errors = Off. f( F* @& e: U& e; X# a) i" a$ h
  498. 2 {9 s+ C6 ?. W9 l
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    9 K1 J. F" [8 i
  500. ; is On you will not log errors with repeated messages from different files or# r( d- H' F& e, y
  501. ; source lines.
    ( V3 r& S0 h7 S. _
  502. ; http://php.net/ignore-repeated-source! x* {. e- W, n7 Y
  503. ignore_repeated_source = Off, B, S" O5 S0 Y2 m- F/ d

  504. 8 x* C- D6 {* P1 v8 ^: Z7 q
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    7 t/ `. O) Z9 s* M! ~/ P
  506. ; stdout or in the log). This has only effect in a debug compile, and if/ v0 P# P$ E6 |2 P- {4 g
  507. ; error reporting includes E_WARNING in the allowed list
    & [6 t2 z" ~9 |8 s( \; p
  508. ; http://php.net/report-memleaks6 g) `4 q& `( E/ j) R
  509. report_memleaks = On
    $ u9 T  Y4 d; o
  510. % V5 j/ G. f4 H& m3 b
  511. ; This setting is on by default.
    ; n- u+ a3 q6 }7 N0 g
  512. ;report_zend_debug = 0
    ( p3 `6 ?% D$ O# V

  513. 8 n! g; v' d: s6 N
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    9 J8 p, L1 x5 k/ T+ e1 D4 y3 @
  515. ; to On can assist in debugging and is appropriate for development servers. It should" e5 |* `& a1 }& \7 G" b. ^
  516. ; however be disabled on production servers.7 @  f6 O, Q$ x' \- V# N1 H
  517. ; Default Value: Off- E2 z' W% y$ `8 t
  518. ; Development Value: On
    ! L6 I: y5 ]- y( x( L6 H
  519. ; Production Value: Off. |6 C, @7 L6 o; i& }
  520. ; http://php.net/track-errors
    / k5 D4 F2 D+ y$ \- Q. h0 ?3 v% f
  521. track_errors = Off
    ' R5 h# ~! L1 M
  522. ! V. O1 E& d0 E" a2 }$ Q7 c
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ' i- k( o5 {2 S3 r- n
  524. ; http://php.net/xmlrpc-errors. l! X0 O/ N) L
  525. ;xmlrpc_errors = 0
    4 O5 n$ A' C% E+ d: g* A. _4 p
  526. * b4 a4 b# @$ i3 u0 t# j! a
  527. ; An XML-RPC faultCode' c  m, h* O! l& p* j
  528. ;xmlrpc_error_number = 01 i/ g6 g" S3 ?' i2 S6 H  {

  529. 0 ?/ F/ R% `6 C* [8 W
  530. ; When PHP displays or logs an error, it has the capability of formatting the
      t: S! _4 ?* i2 S$ b
  531. ; error message as HTML for easier reading. This directive controls whether
    / k- t- C9 t  v. A; \5 k: Z
  532. ; the error message is formatted as HTML or not.
    & S2 V9 d9 N# P  X' c
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI9 L1 \9 [. y1 w$ x
  534. ; Default Value: On
    % w: O2 k( [5 o9 X  n3 \
  535. ; Development Value: On
    ' A* x4 D6 Y; _0 J4 u3 b# G# ^6 l
  536. ; Production value: On5 X8 Z4 r- ?* t
  537. ; http://php.net/html-errors
    9 B/ a" q+ R7 v2 o
  538. html_errors = On9 C: l. K% V1 c

  539. # |5 q2 \4 D/ v$ y5 z" ^7 e
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    . A6 I9 ~8 X4 v6 l5 R
  541. ; produces clickable error messages that direct to a page describing the error8 g. {! Z0 }4 d: q
  542. ; or function causing the error in detail.  h  p. S( k. m8 T/ {& t* \' T
  543. ; You can download a copy of the PHP manual from http://php.net/docs3 o- v$ x+ A# ?* }8 R* R
  544. ; and change docref_root to the base URL of your local copy including the4 ~7 p) d  ~6 v2 d* o/ \3 Q
  545. ; leading '/'. You must also specify the file extension being used including
    , @/ ?; _9 ]9 c. x, B
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which% }9 Q. ?6 J6 z
  547. ; case no links to documentation are generated.
    ! V8 Z. I$ c8 X; o/ F2 n
  548. ; Note: Never use this feature for production boxes.7 ~  ]7 |/ F  b5 d$ U/ x
  549. ; http://php.net/docref-root
    2 \7 A8 j. t1 ]! h
  550. ; Examples9 s- K  K; J. Y7 B
  551. ;docref_root = "/phpmanual/") f  T/ {' W3 J, `+ Q& r
  552. . \8 x0 H' V$ R& n: k! |; L, s
  553. ; http://php.net/docref-ext
    / C# z* W9 T7 h) R7 l$ n6 ~
  554. ;docref_ext = .html9 m: H* ^7 V( a- k7 {1 z

  555. 3 T% {7 B* s) {6 t6 A5 B
  556. ; String to output before an error message. PHP's default behavior is to leave( m6 C# Y- d  N
  557. ; this setting blank.' S8 h& h1 ]3 a( n: s8 e4 T6 n' V
  558. ; http://php.net/error-prepend-string6 e& |8 w6 `4 X* s
  559. ; Example:
    % i( ^; Z' L+ m7 p  a
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    % {( o( ?/ E# X" ^+ `% t

  561. % m+ q. V2 D" K/ m; w: s# G& x2 u
  562. ; String to output after an error message. PHP's default behavior is to leave+ W9 Y( j+ u' C) `
  563. ; this setting blank.
    : s3 i, U* c. \/ b* ~
  564. ; http://php.net/error-append-string
    # c3 R* w0 W+ g1 X; ~( |
  565. ; Example:
    $ ~2 R  c# k) J! ^6 b
  566. ;error_append_string = "</span>"
    / a  K: y  y' g' s

  567. : q; B0 V; w5 e5 o) t; F
  568. ; Log errors to specified file. PHP's default behavior is to leave this value- j' r) X; D( g( f2 P( u+ _  z1 M/ a! s
  569. ; empty.
    7 r) D3 Z2 x; a# w
  570. ; http://php.net/error-log
    % G& F" m5 ?5 K0 L
  571. ; Example:1 ~6 ?5 t+ {; ^
  572. ;error_log = php_errors.log8 d2 N& s3 Q: i, H
  573. ; Log errors to syslog (Event Log on Windows).- e% w0 W/ M  Q. e% H6 ]" @
  574. ;error_log = syslog
    8 c  Z# I, a" s

  575. 0 D# {; i2 P$ ?9 F, U. I
  576. ;windows.show_crt_warning  y- q9 b! v) W0 q1 Z  K: Y6 c4 c
  577. ; Default value: 0/ o) i/ L' c* `$ J4 _. ]$ @" D' m
  578. ; Development value: 0) v) K$ h" j4 T$ H5 s
  579. ; Production value: 02 U* ?* W8 y: A* s: u& K& I1 H
  580. . T( X* L8 r( a
  581. ;;;;;;;;;;;;;;;;;
    5 f& G; K4 y5 K& ~/ @
  582. ; Data Handling ;
    : m7 ~1 q  }: ?, Y
  583. ;;;;;;;;;;;;;;;;;& q7 z! H) w: C

  584.   f/ ]# t" n- N' U7 V1 h; J
  585. ; The separator used in PHP generated URLs to separate arguments.# \3 ^( P8 \/ [1 ]6 I; y! T
  586. ; PHP's default setting is "&".
    " k/ b( W6 Y4 h0 K4 m
  587. ; http://php.net/arg-separator.output
    5 b5 b/ c& s5 y- Q
  588. ; Example:
    ( V" [$ |* V- b+ X# v( t6 l
  589. ;arg_separator.output = "&amp;"( j- R. I. z2 I  v

  590. 5 J1 [. K9 Y! i, u
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    - s  i4 @) {  ~1 O
  592. ; PHP's default setting is "&".+ c- i6 b2 v. |- ]! b# _
  593. ; NOTE: Every character in this directive is considered as separator!
    4 O; {8 ]+ @! O5 U, X
  594. ; http://php.net/arg-separator.input
    + j+ K, u4 ]& a: M/ L
  595. ; Example:
    7 q0 _4 O/ P$ G3 k) h; L) P; ]! d
  596. ;arg_separator.input = ";&"5 T) `6 T7 q- T( E& p) ?

  597. $ T" Y5 J7 S2 f1 _
  598. ; This directive determines which super global arrays are registered when PHP2 k) L/ x" L9 s, `" N2 ^7 m  C
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ) i/ v! s' ?0 l/ u) d# F) x8 ~, l
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    , p/ @9 y# J, h* f& U" X- A6 W
  601. ; paid for the registration of these arrays and because ENV is not as commonly0 G( K1 @* p2 c# p! I+ t
  602. ; used as the others, ENV is not recommended on productions servers. You
    , m# [7 ~2 D0 q' R* v- N
  603. ; can still get access to the environment variables through getenv() should you
    8 e& R, I. n0 H# @% v9 Q$ `' {
  604. ; need to.0 q$ D; _: \8 ~* ]8 v) Q  X
  605. ; Default Value: "EGPCS": j5 @) l1 u3 z& n+ u' D" Q9 f# J+ o
  606. ; Development Value: "GPCS"/ ?$ l" U% B! [2 z
  607. ; Production Value: "GPCS";
    " b  T, G1 W( U5 }8 g9 L7 L( ~# ^
  608. ; http://php.net/variables-order9 d! a1 x7 b) f0 X7 F
  609. variables_order = "GPCS"
    ' ?, _9 e5 i$ M5 Z; ~6 y
  610. # G7 o% b& v3 n! z! a
  611. ; This directive determines which super global data (G,P & C) should be
    + J: N+ T/ O6 \/ {- X
  612. ; registered into the super global array REQUEST. If so, it also determines
    6 Y" e& D; H( p# m: g+ w, n
  613. ; the order in which that data is registered. The values for this directive
    $ x/ u4 W, s4 A4 v; c' D8 \
  614. ; are specified in the same manner as the variables_order directive,; e" x2 B$ p2 z) ]: Z  g! L, q9 M
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set" y7 D! e: D$ f$ ~
  616. ; in the variables_order directive. It does not mean it will leave the super
    0 g! l& I- X! ?3 [& t# D9 [  m) ^7 v
  617. ; globals array REQUEST empty.6 o, J! B2 Q* v: ^* Z( F! Q" J! k) K1 T
  618. ; Default Value: None
    7 L: @4 H% M2 n& t% y
  619. ; Development Value: "GP", u! F8 L( J, M. s) k
  620. ; Production Value: "GP"& r( p% z( \+ T2 O. V
  621. ; http://php.net/request-order
    ) }+ T- ^7 r) ?6 Y/ s* ~
  622. request_order = "GP"
    1 E( ~! M$ @4 R8 M+ l
  623. 8 B1 i4 ~( \) {* f# x- X! y2 A
  624. ; This directive determines whether PHP registers $argv & $argc each time it' C  ^$ s0 C4 P8 f/ s* N: I' A
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    # {4 I/ p  f' Z; ^6 E
  626. ; is invoked. $argc contains an integer representing the number of arguments4 o+ D9 V. d$ V0 i: o6 @" O' I
  627. ; that were passed when the script was invoked. These arrays are extremely. ]! ^2 V  h7 V; V* m' y
  628. ; useful when running scripts from the command line. When this directive is
      d# c" K: h  U" |2 w
  629. ; enabled, registering these variables consumes CPU cycles and memory each time( m/ ?7 @! \! Z8 x6 D# ^
  630. ; a script is executed. For performance reasons, this feature should be disabled/ p. `4 e  ~- C! c7 P' ]5 X8 |
  631. ; on production servers.4 ?, K$ R2 n* d; q; f' J
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    9 @1 h. q' L1 P
  633. ; Default Value: On" A) i4 U2 L* z
  634. ; Development Value: Off
    8 U7 w- ?; }; T3 r$ b
  635. ; Production Value: Off
    1 b7 w$ I' O1 c
  636. ; http://php.net/register-argc-argv5 j9 E  T7 C1 h( W% M# E
  637. register_argc_argv = Off, H: V7 S% j% X7 L5 e# n$ w
  638. . u# M  y. d3 X! k+ u5 u9 o$ M! I8 I
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're) U) m/ j+ O0 q
  640. ; first used (Just In Time) instead of when the script starts. If these& b- @' U: b, h' |( A# e
  641. ; variables are not used within a script, having this directive on will result
    & E5 A, \. x- J& S; H
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    , p8 a+ v' K( E* z
  643. ; for this directive to have any affect.4 r1 g! `" _8 p# V8 E2 C& O
  644. ; http://php.net/auto-globals-jit
    ) X5 U- H- k! K+ r
  645. auto_globals_jit = On2 M& P% g9 x& w4 m& p4 l

  646. + O4 W$ L2 c  R% m3 a
  647. ; Whether PHP will read the POST data.
    ! J3 [, ]; v/ U) u! l+ M
  648. ; This option is enabled by default.7 P6 {4 s4 s+ s! ?
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    & ~! E- {5 m" G) v5 V
  650. ; and $_FILES to always be empty; the only way you will be able to read the( X, z: }& h1 E9 i4 K' e
  651. ; POST data will be through the php://input stream wrapper. This can be useful6 ?- J1 Y2 r, M" m8 z7 J5 a
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.) ~' K$ a6 U8 ]
  653. ; http://php.net/enable-post-data-reading8 r/ Z: [, T/ O5 r7 I6 {. ~/ a% G- l
  654. ;enable_post_data_reading = Off" m- z! ]* f7 F4 j6 P+ e
  655. 8 b8 T2 p, V9 d$ T1 J/ k
  656. ; Maximum size of POST data that PHP will accept.8 W4 M3 M$ p: h" u' f7 b/ y% f
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ' e! G" _$ ~: J* R6 n* P4 `* W# L
  658. ; is disabled through enable_post_data_reading.
    2 Z, y* K+ `6 {, F! _2 O' _' S# J
  659. ; http://php.net/post-max-size& N3 j0 E4 s' V( j
  660. post_max_size = 50M
    0 ]2 n; @; w, p, n4 x9 I/ n
  661. - J4 i( B& o" ~( o/ z
  662. ; Automatically add files before PHP document.3 J% w: m7 c, y- e/ [3 r, ^
  663. ; http://php.net/auto-prepend-file
    8 s* b8 _4 c. d' u
  664. auto_prepend_file =' Z2 O9 u+ D" L

  665. ( i( h9 p5 o2 V* E+ R
  666. ; Automatically add files after PHP document.
    9 w" s2 {# l. d* H  c: E3 A
  667. ; http://php.net/auto-append-file! ?/ ]/ i$ q* `# P, U; C* k
  668. auto_append_file =
    0 V* M: e4 H  O, P+ g, c$ s) l- ~. k

  669. 8 o' s" F  N& W: v: U* H. t! X
  670. ; By default, PHP will output a media type using the Content-Type header. To: ~( U+ y! L# h2 d
  671. ; disable this, simply set it to be empty.. ?  b: k$ b/ l9 I. m) H* B- Q- A
  672. ;5 t2 T; g0 a. \" u
  673. ; PHP's built-in default media type is set to text/html.1 O) W( k+ X% s
  674. ; http://php.net/default-mimetype$ q9 B- F2 u3 |! X5 g, s" m
  675. default_mimetype = "text/html"2 t( @8 z+ A, R+ N. X/ N) j+ t5 [
  676. . H) {& `$ y/ G7 N) ~  ?& N* X, V/ \
  677. ; PHP's default character set is set to UTF-8.
    + A' h- @2 o6 s, ~" b+ W% ?- Q
  678. ; http://php.net/default-charset" C; A) z+ P, y5 m
  679. default_charset = "UTF-8"
    9 `/ J2 V5 ^$ C# J5 I* J

  680. * M. v- ~2 G# Z7 G* Q
  681. ; PHP internal character encoding is set to empty.2 V4 H; o7 s3 d# o, s5 w3 V4 c
  682. ; If empty, default_charset is used.
    ! B- ~$ h& q: C! L/ J
  683. ; http://php.net/internal-encoding+ v$ N  \& ^% P$ n  x1 U
  684. ;internal_encoding =! k3 m: @# n2 ?/ x* l9 h4 C
  685. 1 e3 M2 s+ d% H8 s# o
  686. ; PHP input character encoding is set to empty." G2 @+ o& d6 P% K1 ]: B
  687. ; If empty, default_charset is used.
    5 d; i$ G" s% f4 v; y- Z
  688. ; http://php.net/input-encoding: q5 ]: w1 I' L/ f2 Q
  689. ;input_encoding =
    ' l/ S0 n/ _$ ~' p0 `

  690. ; S) l  l' O% L3 n
  691. ; PHP output character encoding is set to empty.$ g! c7 E! p8 g
  692. ; If empty, default_charset is used.7 K3 _" ~* q6 `6 F
  693. ; See also output_buffer.- G' b1 Y3 f! ?+ _& Y) g
  694. ; http://php.net/output-encoding
    9 c- w8 K! \) z( U* t. P0 r
  695. ;output_encoding =
    2 Y; l7 ~) C  b0 w! X

  696. 0 Q$ |: ]+ Y' k) f6 i' y
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is5 f  v' C+ h, o# H+ x, d/ L
  698. ; to disable this feature and it will be removed in a future version.+ D% W- O& [6 `# V7 L
  699. ; If post reading is disabled through enable_post_data_reading,2 I, ~% Z1 V0 y" z
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.' }2 p, l) b1 h8 b
  701. ; http://php.net/always-populate-raw-post-data# D* T- C; a8 Q  l' k
  702. ;always_populate_raw_post_data = -1
    ( n. l  F$ @) H6 U6 A( Y- A: u

  703. - D/ k; b3 R4 U0 ~" T7 I
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;6 B1 a: i6 I3 R+ s) V
  705. ; Paths and Directories ;
    * V7 y3 q6 o5 [0 Q1 ~+ [/ V/ M0 \
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;) q4 t) ]' P9 ?  t8 `
  707. % J0 o. Q5 W" A" x, _
  708. ; UNIX: "/path1:/path2"
    ( |8 S8 ~0 j" y9 s& S
  709. ;include_path = ".:/php/includes"
    ) l; ^! [* h' ~: v) G/ J+ h+ x; N
  710. ;$ ?9 s+ l7 c+ N* n3 I$ B1 U
  711. ; Windows: "\path1;\path2"
    ; h! h3 O9 Q, ?# x, ^* H  l
  712. ;include_path = ".;c:\php\includes": K1 ]6 Q( R- t8 h3 Z
  713. ;; B5 q8 o- C; B2 j; B) G5 |
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    9 @5 N* A* c4 X' k. B3 T/ f
  715. ; http://php.net/include-path
    + m$ ?8 z2 _7 Q; Z! }1 A2 @

  716. ) M$ L1 n1 C4 N0 [  S6 b' V
  717. ; The root of the PHP pages, used only if nonempty.
    0 M& ]+ N& ]9 c& y
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root& p- n- \0 {8 D+ b7 P! D
  719. ; if you are running php as a CGI under any web server (other than IIS)/ r' c$ Z2 {( t+ g8 O- k& |
  720. ; see documentation for security issues.  The alternate is to use the/ Q1 L- k# U( V1 ]( Y
  721. ; cgi.force_redirect configuration below
    3 ]5 B6 b9 \* ~; h3 ^2 j8 o
  722. ; http://php.net/doc-root* B9 {0 q0 v% l% D$ b; {: S
  723. doc_root =! P+ c$ i5 K( M

  724. $ X  E' P& e- R! p' ^
  725. ; The directory under which PHP opens the script using /~username used only2 y# K- O6 ^; j/ S! _% a4 w
  726. ; if nonempty.* A" T; V' a  ?
  727. ; http://php.net/user-dir
    ' m% c* x2 P! u; v* z
  728. user_dir =
    : E% ]+ x; w; b7 I6 |6 k# B2 V
  729. 6 X9 F4 J. g5 w( x- ?" ^- f) T
  730. ; Directory in which the loadable extensions (modules) reside.& r4 S8 ], ~5 T$ {; J
  731. ; http://php.net/extension-dir/ l- \$ Z( u6 {7 `
  732. ; extension_dir = "./"
    ! I" S6 M+ P) k
  733. ; On windows:
    0 Q0 t1 n+ B  E: q% V8 l, k
  734. ; extension_dir = "ext"4 o7 ^! C2 E: W0 a0 {
  735. ' h6 T+ `6 {1 {3 r1 \8 _& [+ o
  736. ; Directory where the temporary files should be placed.: d  C2 n6 q; P& w/ b: `6 `/ ~
  737. ; Defaults to the system default (see sys_get_temp_dir)1 O5 s  i" x& W) y( I7 K0 k. q3 T
  738. ; sys_temp_dir = "/tmp"
    8 j" S. K8 D  c
  739. ; M+ c, S) S- L6 D7 x
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work  t/ w$ u3 g% k( q4 h
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically" j  d& [. y5 r4 S& S/ w, A
  742. ; disabled on them.5 e" s( H6 _0 q
  743. ; http://php.net/enable-dl; l& F( N! s) I- B
  744. enable_dl = Off# l  s1 h1 f6 ]& o: D; E8 V
  745. . F# o1 V; y& u2 A/ L9 `
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under' R2 d2 Q% M" O
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can4 ^, \) p3 ~  G% x1 G  b+ W: Q
  748. ; turn it off here AT YOUR OWN RISK+ P* X, m8 l! B% P5 t5 Y$ g
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**( j6 B& C% `: `  |
  750. ; http://php.net/cgi.force-redirect
    $ o3 n2 S6 ^5 v: G6 c, n
  751. ;cgi.force_redirect = 1
    5 D8 a- T4 N8 J/ q' r
  752. 6 i9 ]+ R& ~+ ]
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with( c0 j7 V5 H3 A" `( I$ Z' R
  754. ; every request. PHP's default behavior is to disable this feature.
    ' e  J# r3 v6 Z
  755. ;cgi.nph = 1( F5 L, p6 e7 u
  756. 6 ]  q0 z# F7 r5 Q4 ~2 d0 c4 T. S
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape9 N7 B2 G. Z6 }. ~
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP% H8 a6 I: i% |9 C
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    4 o) \8 |6 d; Y; }
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ; V* u0 |1 B8 c. _
  761. ; http://php.net/cgi.redirect-status-env
    : u0 \6 s: J6 Z/ N& B! f: U
  762. ;cgi.redirect_status_env =% ?+ }  T* i# Q% Y
  763. , P, o4 Z* |; m+ V" J, U& M& M% {9 p( Q2 X
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    5 q" x7 p8 k/ a# N9 e1 A7 x  D0 M
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok$ g# y* Y. o6 V2 p
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
      e9 c; A& ?: M$ m9 Y
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    : U" W8 f! h& J3 B
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts; ]3 r% k. L; j. [# G& F" e2 s
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED./ J7 h! L; B7 @/ t0 f
  770. ; http://php.net/cgi.fix-pathinfo5 F* G) a7 l  L- s* h& h
  771. cgi.fix_pathinfo=19 I. l$ R9 G: \# _

  772. 4 f9 z8 }, M( Q/ m( J
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ( j2 V3 a! T# }- k
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    . m7 z1 \0 i. u8 i- x# H0 B
  775. ; http://php.net/cgi.dicard-path" T! n+ Y1 j1 X6 A
  776. ;cgi.discard_path=1
    ; i5 Z- ], q5 Q' |

  777. # e2 a) U+ ~$ [7 _- v
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate9 C- `2 l& Y/ b0 C' Q
  779. ; security tokens of the calling client.  This allows IIS to define the
    . @4 d0 b! }! {9 y
  780. ; security context that the request runs under.  mod_fastcgi under Apache2 m& _6 q4 d) m5 g" m
  781. ; does not currently support this feature (03/17/2002)) w+ B% i; o8 S* z3 b: ~) U  J
  782. ; Set to 1 if running under IIS.  Default is zero.
    ! e. P- Y6 U8 _) Y
  783. ; http://php.net/fastcgi.impersonate
    8 }, O) f+ O' j6 j" O, l
  784. ;fastcgi.impersonate = 1
    ' O9 S0 @) {) f

  785. 9 p$ o4 J. w, C% J* g
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    $ B- Z! {8 l/ n) G
  787. ; this feature." T! N1 w$ W+ D) Z& W( S$ b
  788. ;fastcgi.logging = 0
    / J$ K+ u- O/ O( k4 J
  789. % I7 C# ~) j& K$ S" A/ L" g
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to( \* j5 r: k+ Q8 \! r! ?
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that. ^: r- Q7 p) B9 V5 Y2 u
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    6 e4 k+ q; U1 f: ^8 J. O$ `
  793. ; RFC2616 compliant header.
    ) g5 E( g/ J  \" Q
  794. ; Default is zero.
    8 H0 r1 _; L/ e2 h
  795. ; http://php.net/cgi.rfc2616-headers
    8 O9 m0 A" E0 R! [  Q" w, x
  796. ;cgi.rfc2616_headers = 0) d/ E. Z4 ]# m( m- O* {; {

  797. 9 A/ V3 H' W: C% {, Q, k- ^
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    3 w6 y* p% a8 N1 C) n' z6 i" K4 r
  799. ; (shebang) at the top of the running script. This line might be needed if the
    2 c. v; A. A; P; A! F$ v
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    2 K+ x' K4 [+ A5 k" V! n8 b
  801. ; mode skips this line and ignores its content if this directive is turned on.. I$ W  ~% t& z+ @0 |, R$ u
  802. ; http://php.net/cgi.check-shebang-line% m% H+ {3 Y& q0 V. R) n. t
  803. ;cgi.check_shebang_line=1( E4 L5 [$ O) e+ A2 b$ x' J

  804. ' X9 O0 }3 T& a0 D* B. L( o
  805. ;;;;;;;;;;;;;;;;. b, B) i' m0 _. W1 X
  806. ; File Uploads ;
    + b% R+ f7 S- l" G. b
  807. ;;;;;;;;;;;;;;;;2 o* ~1 Y8 l& b
  808. - j) Y# ~  f+ c5 i
  809. ; Whether to allow HTTP file uploads.
    4 g+ P7 w' F4 ]" y
  810. ; http://php.net/file-uploads6 C+ j/ E) S1 ~7 w0 T
  811. file_uploads = On
    $ P/ h0 W; U# ?( P

  812. # `5 d3 G! b, c4 Y
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    . {+ t% A+ I; G( E2 d) p
  814. ; specified).* u0 @+ f: _! a. Z+ H
  815. ; http://php.net/upload-tmp-dir: m8 V+ p/ P' d( o) ]* F
  816. ;upload_tmp_dir =6 c5 V! N# Q5 G0 e' E* L

  817. . a; \, O8 `- W/ l/ f* s
  818. ; Maximum allowed size for uploaded files.
    2 w2 x( P1 Y/ j$ s0 R  k/ F- Y$ k
  819. ; http://php.net/upload-max-filesize
    # g$ W$ ]) ?. W/ k
  820. upload_max_filesize = 50M
    1 ~5 X9 a& D7 I

  821. 1 h6 M) o- M9 C8 x9 l) e
  822. ; Maximum number of files that can be uploaded via a single request' |+ q+ @2 \0 P- B" z
  823. max_file_uploads = 201 U/ i  J1 A, E. o

  824. 4 G( I' c* p, b, E1 ]! E& x
  825. ;;;;;;;;;;;;;;;;;;
    , ?1 T  \2 X) V' B9 V+ E3 ~7 K
  826. ; Fopen wrappers ;$ B9 G. L1 W& p% o4 [2 v( Q; z
  827. ;;;;;;;;;;;;;;;;;;
    . N9 o+ p5 i/ }) [# K' R% y
  828. " Y5 j$ N- Y9 P  \
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ) q  v. t4 S* O, X/ F
  830. ; http://php.net/allow-url-fopen
    2 k; r8 O) t1 n, n
  831. allow_url_fopen = On! o3 v0 M4 Z; B2 W$ @2 r
  832. + ]6 u1 u8 {/ j
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 o9 b# Z3 w* e. p3 j( k& ?) J
  834. ; http://php.net/allow-url-include
    * K" o( Z4 g+ [$ W
  835. allow_url_include = Off. i/ `$ A2 E0 N* |1 U0 M
  836. + _8 B. ^8 O/ `3 @: F- [; b
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    $ V+ P0 W; ]3 a+ I; z. T: l$ p" f
  838. ; for this is empty./ a; w- u# h; ~
  839. ; http://php.net/from
    0 e3 o2 k) k5 f4 Y: ~
  840. ;from="john@doe.com"1 @8 Q3 x* t- U/ y9 t% R; T1 ~

  841. * a) [" {+ X. [. P( p
  842. ; Define the User-Agent string. PHP's default setting for this is empty.- D, Y5 g- c# f
  843. ; http://php.net/user-agent8 L& P) d% O# r1 N3 }# u6 a
  844. ;user_agent="PHP"" I! c) O+ G% ?1 E& q
  845. ; t6 M3 U3 K% p3 y( w' |2 g5 m
  846. ; Default timeout for socket based streams (seconds)
    2 v' E# ~& c( \7 T
  847. ; http://php.net/default-socket-timeout8 U8 v2 j9 Y0 F" X
  848. default_socket_timeout = 60
    / s4 `2 I" p  ^- Y, A

  849. 6 C/ b" K" U' y4 C, P4 q. Y
  850. ; If your scripts have to deal with files from Macintosh systems,; ?" B$ J; a7 H# o
  851. ; or you are running on a Mac and need to deal with files from
    - G& x+ J* m6 e! u% ^
  852. ; unix or win32 systems, setting this flag will cause PHP to* u; W: Z, y$ l. [0 L; W
  853. ; automatically detect the EOL character in those files so that
    " l% l  U( L% n! _, ]
  854. ; fgets() and file() will work regardless of the source of the file.
    & W9 R# Y9 F& M  N4 S' n% [% u
  855. ; http://php.net/auto-detect-line-endings! u( v6 g0 u* Q- m5 P
  856. ;auto_detect_line_endings = Off' f# M7 P9 x8 e/ t0 V9 z
  857. $ h2 r/ Z5 s. T
  858. ;;;;;;;;;;;;;;;;;;;;;;( n: f8 k* p/ u6 r1 L
  859. ; Dynamic Extensions ;$ @! c1 |1 z1 E. [# n. @% d
  860. ;;;;;;;;;;;;;;;;;;;;;;8 y4 K1 N! a' D5 k9 f; u/ ^
  861. 3 `8 E: Y; ~7 |$ k+ w
  862. ; If you wish to have an extension loaded automatically, use the following0 A! E5 V4 ~, P2 k
  863. ; syntax:6 q) ]+ p& J7 \& q
  864. ;
    $ t+ @+ _0 D* w' y1 h$ c
  865. ;   extension=modulename.extension  D5 H+ C" p3 m8 R
  866. ;  |/ x( ?# @! z1 \9 ~' e
  867. ; For example, on Windows:
    9 H! {) W6 M; |6 o/ n* I
  868. ;' O9 r7 k, n& ]. B/ }* G& |0 s
  869. ;   extension=msql.dll  u4 w+ w# s; F0 q+ f4 i& k
  870. ;
    # u1 O; u9 E( {8 y( ]
  871. ; ... or under UNIX:( U4 x) i' c( D% y* V
  872. ;
    / P* d, n! D+ |( Z; ?! ^) `
  873. ;   extension=msql.so1 H/ r& J" @4 O. M- d7 g
  874. ;
    1 o6 Z. p% k0 B+ [2 e& i0 Q
  875. ; ... or with a path:' ], p6 W: x) ]
  876. ;
    , O( V# y# W/ Q
  877. ;   extension=/path/to/extension/msql.so: p5 h! H8 M* F: ]$ p6 f; g' _
  878. ;
    ) S- Y4 o) C) t, ?8 z) A' L
  879. ; If you only provide the name of the extension, PHP will look for it in its
    & b" ~* g; Z8 U4 Y- m7 o
  880. ; default extension directory.
    7 O3 @' \# J4 E5 L
  881. ;
    & h, r6 ]$ X/ B
  882. ; Windows Extensions4 N9 M: q% ~2 |/ |) h) l# N! @
  883. ; Note that ODBC support is built in, so no dll is needed for it.7 I& m4 H+ y8 ?; S7 b1 h
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    6 f( f& k$ I2 P2 s% {' r
  885. ; extension folders as well as the separate PECL DLL download (PHP 5)., g) Q; a1 Z8 H2 b4 r$ V( e7 p
  886. ; Be sure to appropriately set the extension_dir directive.
    % V: b/ M1 R; f- d2 A
  887. ;* u# X3 J! e& j( s4 I
  888. ;extension=php_bz2.dll
    $ \- M4 {$ Q- t1 V% C
  889. ;extension=php_curl.dll
    / S" }0 @+ O$ h
  890. ;extension=php_fileinfo.dll
    + y& S2 K5 C1 Q: b" c8 {  `
  891. ;extension=php_gd2.dll* Y- M% S/ j* `. y2 u( T1 u# `5 ]
  892. ;extension=php_gettext.dll
    8 p: M* c* Y& P% G, I
  893. ;extension=php_gmp.dll
    # G) ]* t, ]' o* n7 z! C
  894. ;extension=php_intl.dll
    ' B1 Z; ^( i& d8 J  P/ _
  895. ;extension=php_imap.dll
    ! a+ w2 \$ i) e1 B1 f
  896. ;extension=php_interbase.dll
    " n+ i$ B, u8 G6 K9 U, P7 _& d, i; ]
  897. ;extension=php_ldap.dll% `0 P* g& C6 V6 F0 A7 B; U
  898. ;extension=php_mbstring.dll3 {; h- R. E0 K" o
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    1 B! m2 G: X% M5 A; H9 J8 R% ^
  900. ;extension=php_mysql.dll
    # V3 T/ k1 ?! b, M) t
  901. ;extension=php_mysqli.dll; L  o& N) g; M- T! p1 r% v
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    / h* ^! J' [  X0 ?. G5 F; u
  903. ;extension=php_openssl.dll
    & _9 }$ i; x" P% d- \( m( O, j4 d* h
  904. ;extension=php_pdo_firebird.dll
    , C' \. t8 t0 h, n9 F9 X
  905. ;extension=php_pdo_mysql.dll8 P" n  q+ M. P' w" C- T! x
  906. ;extension=php_pdo_oci.dll
    5 ~- ~- ]; O- w8 i( b2 _' d
  907. ;extension=php_pdo_odbc.dll- H- M, c) N, T8 _, M/ T
  908. ;extension=php_pdo_pgsql.dll4 t/ w2 [% k- A- d, u
  909. ;extension=php_pdo_sqlite.dll
    4 _, |; a- v6 A7 b, l1 `" k1 Q
  910. ;extension=php_pgsql.dll
    , ]* E1 b! u; `( ]
  911. ;extension=php_shmop.dll# o& D3 Y! r9 x* m+ J
  912. ( M9 O* B# }) T0 Y+ }
  913. ; The MIBS data available in the PHP distribution must be installed.
    4 @7 B. ]4 P3 X( i+ Q
  914. ; See http://www.php.net/manual/en/snmp.installation.php - R' `3 g6 d2 g! v; ?
  915. ;extension=php_snmp.dll$ H( p/ e/ C6 c. h* _6 O
  916. $ V" J( ^9 A) A7 M" l# E
  917. ;extension=php_soap.dll& w* w3 m1 ^7 i8 u  [7 J
  918. ;extension=php_sockets.dll
    8 _$ J2 S/ f  f- ^' I
  919. ;extension=php_sqlite3.dll
    4 \# @$ P6 H# t; H* k  k0 j
  920. ;extension=php_sybase_ct.dll
    4 {3 i, T* k2 a& B4 W$ s9 }( a3 ?
  921. ;extension=php_tidy.dll+ P9 U" ?2 v: G) c
  922. ;extension=php_xmlrpc.dll
    & c4 S8 k3 \/ ?0 n/ J% j: ]+ J9 p
  923. ;extension=php_xsl.dll
    ( T; v4 T  p( i; o  k
  924. 1 V( b( [7 P9 B: R! Z  ]
  925. ;;;;;;;;;;;;;;;;;;;
    * }1 w& Z" q/ g: k/ K) k. \, S
  926. ; Module Settings ;
    6 p+ x- k* v: G" o, u8 k3 y$ O! Z: F
  927. ;;;;;;;;;;;;;;;;;;;
    / c4 U8 E2 d' [% Z

  928. 6 e2 Y) W) e/ m* Z/ f: h
  929. [CLI Server]9 W* j% C3 Q) f* v$ v! H% E9 l
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.& ], F" i* f5 N3 z
  931. cli_server.color = On
      Z+ h4 V5 \2 [) B) ], B) |

  932. . ]. |% |+ ~6 r# p# _) _$ S
  933. [Date]5 B8 ]+ Y5 A5 |! q% H7 A+ C
  934. ; Defines the default timezone used by the date functions! v! B4 @5 o8 H
  935. ; http://php.net/date.timezone
    - Z4 r9 ^. W, j# ~
  936. date.timezone = PRC
    % B3 P' h2 b+ ~$ m& F8 h* p1 e
  937. ( `7 e: A% ~) n* X
  938. ; http://php.net/date.default-latitude
    " Y6 e8 Z0 c# a0 ?% Y
  939. ;date.default_latitude = 31.7667
    7 ~9 R6 o' h* c$ q0 e

  940. 7 ^" ]' o6 d( O/ g+ Y
  941. ; http://php.net/date.default-longitude
    $ B6 f% A/ g6 R5 f8 {/ y+ X1 _
  942. ;date.default_longitude = 35.2333
    / \9 b$ H+ X: F3 ~

  943. ; |. j0 R( z0 {8 ^6 k: {
  944. ; http://php.net/date.sunrise-zenith6 K) L: q. m' x5 H/ p# w% K3 |$ G1 A
  945. ;date.sunrise_zenith = 90.583333
    9 G3 Z6 q/ t+ N% Z& c  W+ U
  946. 2 |, H; L& S; r7 G: ]
  947. ; http://php.net/date.sunset-zenith
    0 Z$ L0 B" e9 y+ k! x+ E
  948. ;date.sunset_zenith = 90.583333' c/ c$ z1 b7 ^. W4 u
  949. 5 t# N2 M5 A$ F3 S0 k7 u# j) p
  950. [filter]
    ! n; e; @5 J$ L) K5 ]. V0 r/ p
  951. ; http://php.net/filter.default
    & e5 J, U: U* w& T1 `( _( l
  952. ;filter.default = unsafe_raw. F/ z3 X  ]9 N: `- d

  953. # N/ r& u* h7 a) B5 A* j
  954. ; http://php.net/filter.default-flags" D0 n) _" T' W; O$ x# k+ L
  955. ;filter.default_flags =+ y* R2 B! S0 C8 N: _+ A; G
  956. 1 _* A+ E) d2 V
  957. [iconv]3 x1 g+ N0 }" c7 B, K! i
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    9 _8 {+ h% v0 C& i8 A$ A7 \& v
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    3 {0 c% L# G; k) X4 S
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ' o/ S" e9 F& x2 \0 N2 A
  961. ;iconv.input_encoding =
    " j7 O  c: C+ `3 K- k8 \
  962. + F- @3 x1 w! z3 y/ _
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 ^) i1 S7 _9 |. t9 n( m
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.0 F! g# W5 F0 ]7 @: J2 X: E9 h
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    % s- z) \; N  V) {
  966. ;iconv.internal_encoding =
    : Z0 Y; q% F: ]7 l( `5 ]1 p9 K

  967. ! n+ R! c- ?- f: _5 g* p1 j, k
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.  t) U) v" `4 V) Q9 G& F
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    1 t0 h- T6 H$ C" X- H, m; A
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding' A# c7 c, C: N3 w
  971. ; To use an output encoding conversion, iconv's output handler must be set( l0 t# g- f( s) K9 G
  972. ; otherwise output encoding conversion cannot be performed.$ H( s/ x7 u' D/ m
  973. ;iconv.output_encoding =
    / ^7 O! P1 g8 Q) o6 n8 p2 M, y
  974. ' H. p: p- ^; v6 r! o: E
  975. [intl]! _# P4 z# `! M) k
  976. ;intl.default_locale =  ~/ J& i/ Z: N- j* _
  977. ; This directive allows you to produce PHP errors when some error
    " j" L3 B3 R, [+ H2 c
  978. ; happens within intl functions. The value is the level of the error produced.
    $ ^% X  B! _6 l; ]7 z! R) w
  979. ; Default is 0, which does not produce any errors.% z$ k  _/ t# H/ x
  980. ;intl.error_level = E_WARNING. R, k' H. t# k+ y. c
  981. ;intl.use_exceptions = 01 i7 P9 x0 N! M2 @6 z
  982. 2 \! z6 J* G& y1 U* r
  983. [sqlite3]  G5 T; W) X/ [. d+ r- J0 X/ d
  984. ;sqlite3.extension_dir =$ y, N3 t- I  p* R

  985. % b% g; G4 Y7 N5 }+ q: ?
  986. [Pcre]
    * Z2 y( T, {/ T; }0 Q6 l9 L) D9 D6 \
  987. ;PCRE library backtracking limit.
    ( }- [/ [3 x2 q% }8 v; S/ V
  988. ; http://php.net/pcre.backtrack-limit
    / `3 Z0 Y2 U- v+ q) |$ Q4 Q
  989. ;pcre.backtrack_limit=100000
    3 u( J3 j, D3 O! N% W' l

  990. & f% ~+ k" }4 u+ o6 \2 @
  991. ;PCRE library recursion limit./ N6 Y* O9 Y' E8 s# H
  992. ;Please note that if you set this value to a high number you may consume all- J/ J8 T4 A4 M1 G4 q' {/ }6 [/ G
  993. ;the available process stack and eventually crash PHP (due to reaching the
    ; b( V3 g8 p" Z  @, q
  994. ;stack size limit imposed by the Operating System).
    0 }  L6 m0 v5 c, ]5 C
  995. ; http://php.net/pcre.recursion-limit& e# J& r$ I8 K. N* w2 W$ M  ~
  996. ;pcre.recursion_limit=100000
    2 u3 t/ ^  F7 I7 s* P9 ]& F

  997. - T# w$ _& t1 U1 H4 I7 C2 P
  998. [Pdo]
    * e9 u! V4 M) S6 R6 c5 i
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    0 l$ g$ x7 m2 ^9 A3 P' {
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ) L% n, W9 H9 U3 u. g) j$ }
  1001. ;pdo_odbc.connection_pooling=strict: i4 S6 D% S; v
  1002. % I, Y) a' C: F: i: _) i1 M9 e
  1003. ;pdo_odbc.db2_instance_name
    ' B* B4 n* i& z' F( ]5 n8 l7 K
  1004. 2 Z- E4 b# l$ ~, P$ i' K& e
  1005. [Pdo_mysql]
    + Q% E9 K: x5 a+ P1 l/ U' P; k4 z
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . F/ b& r# A# F
  1007. ; http://php.net/pdo_mysql.cache_size% I* \  O) n. P, X# I
  1008. pdo_mysql.cache_size = 2000
    . M, j! L6 i3 P! ~2 W' w# R
  1009. ( n  U5 D  A$ k$ K) \
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in6 u3 j9 p$ L8 U1 O$ y- O3 u  l! P7 S
  1011. ; MySQL defaults.
    7 o! G9 z1 V5 v- {$ z
  1012. ; http://php.net/pdo_mysql.default-socket
    * c, y; |0 k# T* X  z6 [  {# V
  1013. pdo_mysql.default_socket=
      h- o; i6 s  A8 W  ]6 ^

  1014. % s1 U# m5 `+ B" l9 ~
  1015. [Phar]
    0 h6 _/ S, m5 s7 S. C( j
  1016. ; http://php.net/phar.readonly- I, N$ l' Y2 q# [9 B; }% q; K
  1017. ;phar.readonly = On8 a1 m2 l. l7 L( M

  1018. ' Z' C4 o# U: T( t1 [3 Y
  1019. ; http://php.net/phar.require-hash9 I5 j  D; o3 \. f- \: u& B$ z
  1020. ;phar.require_hash = On# ^) j" N3 a0 C/ |0 w

  1021. + ?. G' `- |: p8 E8 f* v" Z
  1022. ;phar.cache_list =
    / R9 b- j  P# K' p

  1023. . l' ?* Q4 l9 A: H! `& j
  1024. [mail function]
    / g+ x0 l% Z5 V4 F. Z% U$ l
  1025. ; For Win32 only.
    ( u) i/ Z1 p# J8 i: T2 Y
  1026. ; http://php.net/smtp
    : R) ?  j; k  I' m- c
  1027. SMTP = localhost
    + g+ s" x" w  ]4 k
  1028. ; http://php.net/smtp-port
    4 `9 G; s5 i6 O. g7 ^1 O
  1029. smtp_port = 255 C/ g* B0 r2 {) b1 |/ n7 F. X
  1030. % E/ G( l+ l- ?* t) y9 i; l
  1031. ; For Win32 only.
    6 J/ s) A5 T7 t) L! F3 _* M
  1032. ; http://php.net/sendmail-from
    2 c4 `- u/ B# j7 ]: l- i3 D5 c
  1033. ;sendmail_from = me@example.com: U5 t5 o" ?5 o9 H/ v2 L
  1034. ( R0 j: S' A+ c* c4 X( y
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    % l+ u( }+ `  `9 _  {; Z3 k
  1036. ; http://php.net/sendmail-path/ h; b! U1 q- I
  1037. sendmail_path = /usr/sbin/sendmail -t -i
      d+ f- {/ i! g5 Q

  1038. 1 C1 q6 R- a5 O+ V, O. `
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    # d6 z0 B9 u3 F) Y6 P$ a9 A
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ' n! l7 i$ Q' X
  1041. ; the 5th parameter to mail().
    2 [3 I: ^6 x3 a# l! P; l! `8 c
  1042. ;mail.force_extra_parameters =
    2 {; l- _, W, r" d& ~
  1043. % @% h. b' @7 [) N  J0 x4 m
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename0 e* l! Z! z; O
  1045. mail.add_x_header = On
    . X0 e5 l, |4 J+ ]: c

  1046. - d0 z; h1 Q8 e" `8 A/ `# H; x. T
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ; |( [7 ?% C6 K! p
  1048. ; the full path of the script, line number, To address and headers.2 A1 o% }$ T; \2 h: p6 b6 {6 t
  1049. ;mail.log =
    : [$ i% p# N) t5 j1 D5 i' L$ n
  1050. ; Log mail to syslog (Event Log on Windows).
    1 P* @% d' V" |1 G& z2 Z4 u
  1051. ;mail.log = syslog( h$ W0 Z' g# m& t
  1052. ) R% E& D0 b$ h  E! D' a. V2 z
  1053. [SQL]
    + K0 b4 e% @8 f8 P& t1 P2 G
  1054. ; http://php.net/sql.safe-mode
    * q* b: h' T( h  Z
  1055. sql.safe_mode = Off! N/ e! U/ E: a. S! H4 ?! a

  1056. * G8 [- ]4 ^  o- \4 a  P
  1057. [ODBC]4 f, S+ i: Z- z  G% C9 _
  1058. ; http://php.net/odbc.default-db+ t$ z( Y' Z) O
  1059. ;odbc.default_db    =  Not yet implemented$ N# @: C! P$ w/ d( R

  1060. , f) }. o# {+ A: S1 z
  1061. ; http://php.net/odbc.default-user
    9 Z3 t8 ^4 e) V2 l
  1062. ;odbc.default_user  =  Not yet implemented
    1 o' |, ^0 \) @, m' J# R% A% ?; ]

  1063. 8 N6 V' v$ g7 K& }% j: ^
  1064. ; http://php.net/odbc.default-pw
    7 e0 H7 l$ d# ?( O
  1065. ;odbc.default_pw    =  Not yet implemented/ F9 u% U# \& |( Y& w% X

  1066. + ^3 V# k  w. C+ B4 l
  1067. ; Controls the ODBC cursor model.
    " L8 Z1 y4 q; G
  1068. ; Default: SQL_CURSOR_STATIC (default).. m, G/ h1 P  c# H: K  G3 i
  1069. ;odbc.default_cursortype" c9 B& L" G6 Q; q6 ^2 G9 F

  1070. ; |8 [& o) G" ^# B6 q, F5 M
  1071. ; Allow or prevent persistent links.
    ! _+ _/ ~3 Y5 p) E
  1072. ; http://php.net/odbc.allow-persistent
    - s7 }2 ]9 l7 T) b
  1073. odbc.allow_persistent = On
    6 s! u+ y- [  U: h  J- @

  1074. 6 L$ U, h/ C4 n6 Y
  1075. ; Check that a connection is still valid before reuse.
    ; z$ N% Y0 t4 S2 f3 a
  1076. ; http://php.net/odbc.check-persistent4 o% d* N7 s4 m' d( v* o4 R$ B
  1077. odbc.check_persistent = On
    8 J( J3 h! {9 G( G: G
  1078. 1 e+ _+ Z; l3 {
  1079. ; Maximum number of persistent links.  -1 means no limit.# ]: l7 L* i4 |* c0 u1 _3 O( @" P) X
  1080. ; http://php.net/odbc.max-persistent
    + q7 \: M1 a  A
  1081. odbc.max_persistent = -1, _9 f4 C! n- ^& B

  1082. : B7 S4 P3 l3 j% n
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      `8 X7 _. J. F$ U
  1084. ; http://php.net/odbc.max-links
      e% s& j) J1 {  i$ T( J! ?
  1085. odbc.max_links = -1
    % @. P! [' b! ?" M0 X  o0 F: j0 J2 d  l
  1086. 3 Z# T; i6 m3 R/ x4 _7 G
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means( o, Z4 [1 ^+ k9 W; ~7 u+ J
  1088. ; passthru.) |! Y0 ^) \' O! I( ?2 v  C: g
  1089. ; http://php.net/odbc.defaultlrl4 h: c  }9 I' |8 k, d( d
  1090. odbc.defaultlrl = 40962 P4 h4 M; y) n4 p- H  t# J

  1091. 2 e2 V1 Y& O, D1 b; w
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ) N) V/ A' Q6 K8 n& P# q0 K
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    / O; _; h5 W5 c
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode9 x; J0 w" ^, k2 d3 W+ J/ h
  1095. ; http://php.net/odbc.defaultbinmode6 @" |7 j: X% x2 x
  1096. odbc.defaultbinmode = 15 y+ n; W0 [1 }% ?. a

  1097. ' s$ Y5 m! l4 P2 t2 g
  1098. ;birdstep.max_links = -1
    ) u: Z* Z9 O( i( t! ]4 k) Z/ C

  1099. * C) T! t$ p0 z; Q  \; b; k- \% g5 @
  1100. [Interbase]
    2 [( F% ^$ C7 g$ P) O9 A
  1101. ; Allow or prevent persistent links.8 C* O) i/ p6 T  N2 T# T
  1102. ibase.allow_persistent = 1* ~" V3 R; ]1 m5 h
  1103. % C$ M! A% E( e! C& D2 U
  1104. ; Maximum number of persistent links.  -1 means no limit.: C1 }  h8 N" l7 X7 {4 u
  1105. ibase.max_persistent = -1
    ; w) u" Z9 U8 n1 P/ o
  1106. & S% [/ g! {2 G& Z/ @, m; G
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.  b% P% l; [, w- }/ o& p7 B
  1108. ibase.max_links = -1
    3 o% l" n* r+ M% D2 {. X  u
  1109. + H2 n9 ~* \: H8 k( f
  1110. ; Default database name for ibase_connect().
    + a8 f% t0 d' `4 b
  1111. ;ibase.default_db =
    # J  V8 L$ x( M, G$ C* H3 K

  1112. . S8 N* S; v5 q0 n
  1113. ; Default username for ibase_connect().: l% n5 _9 j5 ]5 V: E
  1114. ;ibase.default_user =
    1 l: T& v0 s. ]3 I

  1115. $ |" m! e0 ~* t" n" h# T8 \- W, d9 z2 |
  1116. ; Default password for ibase_connect().
    0 V6 l0 g6 X( G. x
  1117. ;ibase.default_password =
    ) v3 d" n! S) h' n7 b1 k+ ]

  1118. ( P% S& Y+ y" a7 e
  1119. ; Default charset for ibase_connect().+ K7 ]5 r6 N) L3 d
  1120. ;ibase.default_charset =
    1 t8 t+ x. c* Z& v5 Z. x
  1121. # T0 Z7 F& I6 l7 A5 g3 B& v
  1122. ; Default timestamp format.
    0 N1 C3 K: J; O9 ?  }/ K
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"6 y" n6 ?% R5 @: m5 q& }( _
  1124. 1 W& Z; R& U: v; U2 ^
  1125. ; Default date format.
    2 A$ y* s# \$ l( I3 N; ~6 j0 @: q' C
  1126. ibase.dateformat = "%Y-%m-%d"
    ! U, g( d) E' Q8 h2 K: V- h
  1127. 3 B0 C( [  d& U/ L: I
  1128. ; Default time format.) K' R; q. P  m/ X2 G4 E
  1129. ibase.timeformat = "%H:%M:%S"
    " V+ ^% ~; M& S; y, k0 G% f7 q
  1130. ; L# `0 ]- _6 p; ]1 h
  1131. [MySQL]
    2 `+ ?& D  u! {, e: C' a6 E
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements0 R4 n) f# m& [7 P7 I
  1133. ; http://php.net/mysql.allow_local_infile
    ; U: ^) y, ~2 |$ Z. c( Q' L
  1134. mysql.allow_local_infile = On
    ! E. S4 W) n4 B  t5 d

  1135. / }2 K0 g' q/ L. F* `: H1 q/ g; v
  1136. ; Allow or prevent persistent links.
    4 S( p1 l) I! `
  1137. ; http://php.net/mysql.allow-persistent1 p- \1 Y& _) G& W% [
  1138. mysql.allow_persistent = On5 j, @5 w" U' x% Q" A/ j; h/ u

  1139. ' j- C2 N7 d9 n
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache) y- y8 F1 @+ Z8 e. D2 ^5 ^* k+ @, V
  1141. ; http://php.net/mysql.cache_size8 T4 H2 I# j% F& L8 S7 X. F  A
  1142. mysql.cache_size = 2000' u6 n$ Q6 O* x6 V
  1143. % F. j5 V7 W' q9 q( _
  1144. ; Maximum number of persistent links.  -1 means no limit.  a+ b% K- T2 z1 `7 h
  1145. ; http://php.net/mysql.max-persistent* E7 Z/ h* U  F" R# b& L. F0 Y0 |
  1146. mysql.max_persistent = -1
      h, ?+ r! P" j7 N, k5 a7 a

  1147. 7 d6 x+ t  K6 N* E/ d
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 d7 r" |+ u2 w
  1149. ; http://php.net/mysql.max-links
    ' g# e1 e) J4 r
  1150. mysql.max_links = -1  o0 _# L3 R& w+ r

  1151. 4 i3 Y3 m! m& \: a* _( M
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    ; l; x: s( y; K; L0 u
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    0 @2 y. V4 d# T# ~
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look# s$ n$ r. J% R  w
  1155. ; at MYSQL_PORT.
    7 r! q1 N3 f3 m6 v2 N; b
  1156. ; http://php.net/mysql.default-port
    ) i& z4 ~& X. u( B# C' ]
  1157. mysql.default_port =
    5 C: k8 y) b  E  Y) b

  1158. 1 d- [  w- f- X) E
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " h; Z; _# Y0 C- X8 k
  1160. ; MySQL defaults.
    - t. Z) P% p3 c4 z7 Z, ?- `9 _
  1161. ; http://php.net/mysql.default-socket- c$ G6 Y, G3 x4 J
  1162. mysql.default_socket =
    6 j3 t1 n6 B! t7 G  C
  1163. 6 f/ y/ o& s; s+ j: v
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).5 s) g8 w' h! J" s3 @
  1165. ; http://php.net/mysql.default-host
    4 j2 f8 W1 d% ~  x' U  R
  1166. mysql.default_host =$ C+ p) y- ^6 A
  1167. ) L  ~6 s' T7 T+ h1 `4 I
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    5 D0 f# p1 v# g
  1169. ; http://php.net/mysql.default-user/ J4 N2 J7 A0 Z( Q6 \4 j, e
  1170. mysql.default_user =% U- E8 C. a# m' _0 y" o

  1171. 8 ?- i. s6 ]% ?) ^' e$ H" a+ R/ |
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).  u: \) z" P6 ~- M7 v4 X
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    % I  [, i9 K# b/ F0 j. s' I
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")9 `- [; q1 @5 Y6 a# C- F
  1175. ; and reveal this password!  And of course, any users with read access to this
    / m1 \6 d6 b, m/ ^; O; D* G; x( h
  1176. ; file will be able to reveal the password as well.7 a+ |( a% j! x" n  D4 ~
  1177. ; http://php.net/mysql.default-password
    , @5 C% P' g0 w0 N3 D
  1178. mysql.default_password =% e2 |) @6 t" E9 w1 y
  1179. 7 x2 n# o$ C/ n* e
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit) I4 \8 Q( c3 w% V- W# V
  1181. ; http://php.net/mysql.connect-timeout1 Y8 B& c' Y1 r: c9 A
  1182. mysql.connect_timeout = 60
    / I; \: S9 I% O2 r; e: _
  1183. 6 \; S8 z3 Y4 N' H: b% J
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and$ P6 t8 }$ t4 s7 f- i  f& a- k) j
  1185. ; SQL-Errors will be displayed.
    ) Q' U" W0 S- \3 ?0 e
  1186. ; http://php.net/mysql.trace-mode
    5 G) p/ o% Y, G1 h/ N
  1187. mysql.trace_mode = Off
    ' j' {$ O' o# s0 F& n% }& e* n/ L) ?
  1188. - c% Y9 g: ~; E6 \: {( `
  1189. [MySQLi]% z" S5 y$ W3 L5 T- x! y
  1190. - g& q& @+ p5 h7 U2 [5 r
  1191. ; Maximum number of persistent links.  -1 means no limit.
    + N7 ]: W5 Y+ {- k  D' x' I6 l7 O
  1192. ; http://php.net/mysqli.max-persistent
    9 q" k5 X: [* R6 m3 M, [/ ~1 t6 B
  1193. mysqli.max_persistent = -1
    ) P2 B# m: ]/ P7 M
  1194. ( A* _0 g6 h) C/ `* f$ s# @, e
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements; B& r5 @' j7 ^$ e9 _. Y% u
  1196. ; http://php.net/mysqli.allow_local_infile
      |6 ^7 Y, {! B, E3 j3 \
  1197. ;mysqli.allow_local_infile = On4 u" s. H  ?& ~# w5 _- `) d

  1198. ( z! B; R+ G  o1 G# e
  1199. ; Allow or prevent persistent links." C/ O! g2 R/ @( \0 P. k5 g' @
  1200. ; http://php.net/mysqli.allow-persistent
    2 R: h$ z0 X! Q" ]2 n9 @# X+ z
  1201. mysqli.allow_persistent = On
    - a- }" p- [- U- X# D+ O" v: E8 P

  1202. 5 a& y8 I2 O6 J3 @
  1203. ; Maximum number of links.  -1 means no limit.7 G; X' b# z5 N0 ]' r( h5 E9 a& S
  1204. ; http://php.net/mysqli.max-links
    $ E5 i0 \  W+ d  ?# S1 Z% k/ G8 _
  1205. mysqli.max_links = -1
    . L1 |, t0 `: a! k
  1206. 2 M1 l4 K1 u% Z1 s# Q4 [
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 M  ^! G5 D" e8 q) x/ q
  1208. ; http://php.net/mysqli.cache_size7 @7 |9 s9 O' e$ k2 g: a' m( S
  1209. mysqli.cache_size = 20000 S+ _" k+ ]8 j6 c! z# _
  1210. / L4 Q3 a* L5 Q! D# I( Q: J+ i
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    & b* j# G+ E' y. h. w1 I
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    4 t4 F2 @5 f5 b% o0 g2 I! Q& W  Q
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look3 q! {6 {  u/ \& j: t: W) W
  1214. ; at MYSQL_PORT.
    - z0 [% l& I: P5 b
  1215. ; http://php.net/mysqli.default-port0 {8 l! U& u! [
  1216. mysqli.default_port = 33064 G- p# j. C9 a  q

  1217. * G; |4 T! P! |6 n* K
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in" ~: ~' J% X  m; G& k% s0 |. x
  1219. ; MySQL defaults.3 d( H$ W' q, T6 [5 `2 H
  1220. ; http://php.net/mysqli.default-socket
    : m7 [: a; {' S6 C
  1221. mysqli.default_socket =
    ; G5 N/ \1 {' r4 y" m
  1222. " q. N* M, B# G! _6 B' L+ P
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    * l0 F/ b$ F, h: |
  1224. ; http://php.net/mysqli.default-host/ I( f2 r* h, ~6 D* r  J* |
  1225. mysqli.default_host =( \, R! t2 h4 d! Z. D  J/ X

  1226. " @  c; N; V: r8 i- T; a
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    0 X# ~4 l* M, I! j
  1228. ; http://php.net/mysqli.default-user
    4 l. M+ ^) Z2 ?% X% M
  1229. mysqli.default_user =$ r, @* P1 e4 |3 Z" q
  1230. 9 H( V( x& _1 v; i2 S# w
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).) I+ w, m0 Z6 _/ ~; q, G; ~
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.0 ^4 l/ Q  C, ]' G
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")3 V, p4 y. m1 O
  1234. ; and reveal this password!  And of course, any users with read access to this. [& W4 d8 U/ ~2 E$ [. i+ x0 g! @
  1235. ; file will be able to reveal the password as well.
    # B( ^4 u. F8 d/ {
  1236. ; http://php.net/mysqli.default-pw. X5 T0 N( t* b6 H& L$ b! B1 J
  1237. mysqli.default_pw =
    ( K0 w! ^" }: j2 d6 K9 l

  1238. * I- D4 k* @( |0 a
  1239. ; Allow or prevent reconnect! ^: i! t, {1 t) G
  1240. mysqli.reconnect = Off$ {) K6 e/ |" l* y7 k

  1241. - S% _, a. K/ m* E) N
  1242. [mysqlnd]
    : C0 x# u, n1 a" `+ Y- E% a. c
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    / X2 \) ?  a& y
  1244. ; used to tune and monitor MySQL operations.7 Y/ r0 Y. O9 _9 T2 d1 {
  1245. ; http://php.net/mysqlnd.collect_statistics
    " W. l6 F/ V. E1 X8 B# u0 g
  1246. mysqlnd.collect_statistics = On- ~' S- {9 u* t2 H
  1247. 6 _) j6 F/ }) G% }. I& a
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be# f; X7 q* }/ {6 W, Z  e( b
  1249. ; used to tune and monitor MySQL operations.; i! G7 [/ X9 d- \8 H1 |
  1250. ; http://php.net/mysqlnd.collect_memory_statistics" s, P/ [  R7 ]
  1251. mysqlnd.collect_memory_statistics = Off+ n. o( v* T5 h( U8 B
  1252. + D+ g, @* q6 J7 E5 s
  1253. ; Records communication from all extensions using mysqlnd to the specified log5 f+ o) t1 R% k% O. `# J$ @
  1254. ; file.
    " n8 V4 L0 l+ j! B5 w
  1255. ; http://php.net/mysqlnd.debug6 r2 n) S$ {* E8 t6 y8 Z. [3 g: Q
  1256. ;mysqlnd.debug =
    ; i7 N/ g& @5 h# }! c
  1257. $ E9 V! d' p$ h, M
  1258. ; Defines which queries will be logged.
    4 x- @4 l  D. _7 P
  1259. ; http://php.net/mysqlnd.log_mask
    5 U/ G8 l9 [5 t3 o
  1260. ;mysqlnd.log_mask = 0
    8 Y4 q8 G& ]- S' m9 \; i8 I/ z
  1261. ! ?3 P) F, F/ A0 \! A; p
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.$ j$ N* h& s0 V/ w+ \8 V
  1263. ; http://php.net/mysqlnd.mempool_default_size3 d% f, ^/ |9 c2 Y- d/ h) a- |
  1264. ;mysqlnd.mempool_default_size = 16000
    / ^6 E; R' U. j* g, Z1 S
  1265. 1 j- V- X) P  E5 T; d4 e; J
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.6 T" x6 q6 |& C1 F: y( x: k1 w
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size* S$ s: ~" Y2 ^; B% L6 n% t
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ( ?" y! x  U6 \4 Q+ e' d0 ^

  1269. 1 U5 `- M& }' s8 q% _$ b/ \
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in) R( e$ O+ b( P8 T
  1271. ; bytes.
    9 D1 b( Q/ k/ q5 ~6 f
  1272. ; http://php.net/mysqlnd.net_read_buffer_size( d3 K% s: k$ ^1 x' K7 e4 W
  1273. ;mysqlnd.net_read_buffer_size = 32768
    $ z# D& ?% G' @2 w! ]

  1274. 3 r: t% v: W9 m' |1 f* ^
  1275. ; Timeout for network requests in seconds.
    4 a! D1 g9 ]2 S9 i  B- I1 M
  1276. ; http://php.net/mysqlnd.net_read_timeout
    * O" |# `! ^# {- K) U
  1277. ;mysqlnd.net_read_timeout = 315360009 a" z4 Q- }1 z4 u/ D
  1278. 4 c; j4 f, a& g' j2 A
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA+ b+ |; s+ D& p. I: w9 i8 m
  1280. ; key.# e/ y# r* ]& b( i2 q; J
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ) y& h! Z$ V/ r& E
  1282. ;mysqlnd.sha256_server_public_key =2 c" G& n5 l3 J) N# A6 z
  1283.   S- e7 k7 O7 p9 [! L
  1284. [OCI8]
    0 C4 R- [# L+ Z, U  M0 R! m
  1285. + Q8 O; ^( y3 [' @, I, K3 s3 q- j
  1286. ; Connection: Enables privileged connections using external9 c- e3 {3 K/ x" ~
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    8 i1 W8 {- H% s& a  V
  1288. ; http://php.net/oci8.privileged-connect
    & i$ k4 _$ l  |4 a( p  ?
  1289. ;oci8.privileged_connect = Off
    8 W5 n. o2 ]$ t8 I* I* C
  1290. ! a- O5 k/ B- \& P/ |% X0 ^4 R
  1291. ; Connection: The maximum number of persistent OCI8 connections per+ B2 G. o0 K6 f( d
  1292. ; process. Using -1 means no limit.
      }. R9 l- Y4 t& X
  1293. ; http://php.net/oci8.max-persistent4 e% K$ M8 O, `9 @# H+ C/ ]$ O; x
  1294. ;oci8.max_persistent = -15 `) q; E. `0 o3 p$ B; _
  1295. , {6 C1 h9 S$ d2 f. I2 i8 E# q
  1296. ; Connection: The maximum number of seconds a process is allowed to
    & x. u& s' r' H5 l
  1297. ; maintain an idle persistent connection. Using -1 means idle4 Q9 Y( z* Y* n% M1 u
  1298. ; persistent connections will be maintained forever.% f8 ^5 B" Y: D- W- |3 }
  1299. ; http://php.net/oci8.persistent-timeout
    + s6 w& g3 J8 y
  1300. ;oci8.persistent_timeout = -1
    3 g$ u3 d0 h+ m% s( V3 l, b. ^

  1301. 4 ~1 M* Y; D' v. F  ?2 m
  1302. ; Connection: The number of seconds that must pass before issuing a( v- I8 D. C" G
  1303. ; ping during oci_pconnect() to check the connection validity. When
    3 J9 b* a) N* L
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    / d( A7 V" R  o' w" W$ R5 N
  1305. ; pings completely.
    ' Z) P$ e" d4 A/ g
  1306. ; http://php.net/oci8.ping-interval
    $ S% S' j: c& _& L3 [, E3 {1 G
  1307. ;oci8.ping_interval = 60* i- X" C# }+ x* K6 }! C
  1308. ; D8 f! a  C+ ]
  1309. ; Connection: Set this to a user chosen connection class to be used
    / T) V" F  X1 P. k$ h  l
  1310. ; for all pooled server requests with Oracle 11g Database Resident5 q+ ~' q: M! e. p4 V0 n4 h2 D$ Q; l
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    4 J: z/ W$ m0 ~  R( H
  1312. ; the same string for all web servers running the same application,. }, Y6 N# r3 Q1 A# O* p& N- ^
  1313. ; the database pool must be configured, and the connection string must
    5 p3 s* y# n. {5 k5 P% R
  1314. ; specify to use a pooled server.. g) `9 V1 e' g2 j2 B
  1315. ;oci8.connection_class =
    " B4 u- Z" J& @. q4 F: C+ q
  1316. : B$ s  Z) S; _
  1317. ; High Availability: Using On lets PHP receive Fast Application4 g6 L  g( w% w% N5 R
  1318. ; Notification (FAN) events generated when a database node fails. The
    " X9 j7 M6 r% H$ }! M# _
  1319. ; database must also be configured to post FAN events.4 `( ~* L; P' L8 P: T& R  i* n
  1320. ;oci8.events = Off
    9 }& x/ @7 h3 C& U- A3 @- R& o3 f
  1321. 1 g8 ^# o% p6 h' ?
  1322. ; Tuning: This option enables statement caching, and specifies how
    4 g% r* z; B7 K9 y: O2 t6 s6 y
  1323. ; many statements to cache. Using 0 disables statement caching.
    ! a; h0 W( O/ l& k1 r' M3 Z
  1324. ; http://php.net/oci8.statement-cache-size* Z) Q7 X* `3 L+ ?- [' j! p( e
  1325. ;oci8.statement_cache_size = 20& ]' K: q' }) b& Q) G
  1326. $ q7 K. N+ Y; i5 _( W* j; s
  1327. ; Tuning: Enables statement prefetching and sets the default number of9 c' ^; g7 _  s# P1 o
  1328. ; rows that will be fetched automatically after statement execution.
    . p+ z, q' Q8 L; g
  1329. ; http://php.net/oci8.default-prefetch
    ; F8 E' h2 f: Z7 k: n$ F
  1330. ;oci8.default_prefetch = 100& f) G; b; r, ~* L! @, f

  1331. + \) y" t# o& Q8 Y0 B0 a+ h
  1332. ; Compatibility. Using On means oci_close() will not close- X  }% A9 Y& x4 }
  1333. ; oci_connect() and oci_new_connect() connections.
    - g* c& N" _, Y2 E- W& V
  1334. ; http://php.net/oci8.old-oci-close-semantics/ L( y% D2 ]) _
  1335. ;oci8.old_oci_close_semantics = Off+ {" Q! |$ ?* X- K
  1336. 1 U7 b% P( g4 {0 i6 N+ I* j# R9 F# a
  1337. [PostgreSQL]
    5 _+ j( v* p. z8 l: q0 F2 f  R& @8 [
  1338. ; Allow or prevent persistent links.) i( Z: Y1 b' M9 o  w
  1339. ; http://php.net/pgsql.allow-persistent
    3 b! U$ i( e6 @* \  X
  1340. pgsql.allow_persistent = On( U* `1 l1 x0 S* C. G" w* z4 B' |

  1341. % _: ~( v2 Z- K2 ~* C( p4 H# W1 ^+ {' b
  1342. ; Detect broken persistent links always with pg_pconnect().
    $ v" r: v. ?+ ^6 J3 j8 x. f0 |
  1343. ; Auto reset feature requires a little overheads.4 S6 s- E: b  ]; d5 }# G& S$ S% [
  1344. ; http://php.net/pgsql.auto-reset-persistent
    4 G; X3 e( c# q7 j. Z( s, I" @
  1345. pgsql.auto_reset_persistent = Off
    # f; `' E0 K3 T- A) j7 Z

  1346. , }. U' z6 g& T; y6 o, y8 ?
  1347. ; Maximum number of persistent links.  -1 means no limit.+ Q; L7 C* K' H3 \8 o, r6 m2 R$ ]5 s
  1348. ; http://php.net/pgsql.max-persistent( T% I) q' [' F1 |1 l' c2 f5 Y- [
  1349. pgsql.max_persistent = -1
    2 n  w0 [) _; C1 o+ q: u6 u

  1350. , y3 n6 H  e* y- h) t0 O' z2 @( l( J
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.# X( u0 p8 O; t9 w8 Q5 Z/ H
  1352. ; http://php.net/pgsql.max-links
    . b" q& e0 a/ C. t* P/ ]
  1353. pgsql.max_links = -1  g: x: g$ h, |7 m6 u- c$ f
  1354. 3 w5 z& o1 i4 D3 V/ `
  1355. ; Ignore PostgreSQL backends Notice message or not.2 J" N: k  @$ S. j: Y% J
  1356. ; Notice message logging require a little overheads.: G& j& z2 ~0 \) b$ W' y& u* n
  1357. ; http://php.net/pgsql.ignore-notice
    # f: K" }, W0 k+ N/ Q) A1 `
  1358. pgsql.ignore_notice = 0
    ) l2 A/ X0 l% h+ a/ a
  1359. 7 e; W- n1 {) }
  1360. ; Log PostgreSQL backends Notice message or not.! n1 ~6 G8 S6 p$ |& J/ m
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    2 e5 z8 p$ v: I: H. D; y. v
  1362. ; http://php.net/pgsql.log-notice
    * x5 A7 o& C2 s5 N
  1363. pgsql.log_notice = 0# A& Q5 c1 C9 z7 M3 o; ?

  1364. # E% J5 `7 @' A1 |7 f& }1 G
  1365. [Sybase-CT]
    $ R7 m1 \" `5 l8 w, _
  1366. ; Allow or prevent persistent links." T, C. J" q' x& ^5 D/ _
  1367. ; http://php.net/sybct.allow-persistent) I9 v- ^2 e; p
  1368. sybct.allow_persistent = On
    ' S, G0 m3 t+ z/ j8 G
  1369. . {* r5 i) \1 u4 Z
  1370. ; Maximum number of persistent links.  -1 means no limit.. I2 r7 `* z9 M. W3 [2 J
  1371. ; http://php.net/sybct.max-persistent
    3 S+ R# x$ r' `  l* a( X' I, f9 f
  1372. sybct.max_persistent = -1
    0 r+ O; ^: v  ?) M  j

  1373. 2 S6 E. V+ S6 E
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & Q0 d4 F9 z9 u5 D# s
  1375. ; http://php.net/sybct.max-links7 o# S" n, }  x2 z0 U8 v/ B- x
  1376. sybct.max_links = -1
    % n! W7 r4 ]. W9 e6 r* t
  1377. 1 f1 u# P6 ~; {
  1378. ; Minimum server message severity to display.
    . J. |& K; X) Y
  1379. ; http://php.net/sybct.min-server-severity- T2 }* M+ g" Z& b
  1380. sybct.min_server_severity = 106 _" j2 s5 R$ D2 c5 B) q
  1381. : y6 J: b+ v7 ^) G' x/ C6 H5 ?
  1382. ; Minimum client message severity to display.
    " _$ t9 O" T) ?& \. ^; C. H
  1383. ; http://php.net/sybct.min-client-severity6 z: ~% `9 o% [9 {6 ^$ w
  1384. sybct.min_client_severity = 103 S- L" Q" r) F1 R) W
  1385. 1 C9 x8 P4 W3 \+ |8 n# \
  1386. ; Set per-context timeout
    ; s0 a0 q, n3 K
  1387. ; http://php.net/sybct.timeout
    " B% c' C1 g- D% M. c' i$ e
  1388. ;sybct.timeout=- Y4 ^. @) J' @) E* U
  1389. / G  {, u: A5 Q9 n
  1390. ;sybct.packet_size4 [5 @. t; i; W( x5 Y* c

  1391. ; d* h' v# W  N
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    7 u( e  Y$ {; C- U% o$ N
  1393. ; Default: one minute
    6 d4 M) ^9 A  u  i* O2 {) e
  1394. ;sybct.login_timeout=
    : b- Z: {3 E  S% y1 @
  1395. 7 Q# R7 ^9 j* L) x4 z, z
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    1 w) t5 L% m4 g7 R+ W2 ~
  1397. ; Default: none
    6 f, Q. [! ~! p5 T7 O8 ^
  1398. ;sybct.hostname=0 Y) n1 v2 H( h. B6 V( V! J% T  ^: ^8 l

  1399. 5 E3 D' x5 X9 V! d# f9 ^
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    3 p' m) {6 J& X3 @( o! b9 }
  1401. ; Default: 01 U( T6 C) _- E: p; P
  1402. ;sybct.deadlock_retry_count=* C  `! U- Q+ B1 t; O

  1403. 0 M  l' Z- b( y4 I) ]
  1404. [bcmath]1 }/ p4 N( T* A
  1405. ; Number of decimal digits for all bcmath functions.
    - ]: B) U+ w0 Z* T( {/ J$ G  m0 ]
  1406. ; http://php.net/bcmath.scale  k! n; o5 |6 d+ x+ z6 W# g6 U" j
  1407. bcmath.scale = 0
      t, @; T; _* }* \$ x

  1408. % P$ x1 K  ]+ F5 p0 G
  1409. [browscap]
    6 j' A5 D  r* w9 r) V
  1410. ; http://php.net/browscap
    ) D  v5 l* ]; T7 F
  1411. ;browscap = extra/browscap.ini
    9 G, p: X* F) J2 U: F4 A  P

  1412. * h' L7 [! p' Z0 W# M- v
  1413. [Session]
    ! L3 o! R2 `% |, o, N% e( ]5 C' Q
  1414. ; Handler used to store/retrieve data.
    # }- y! \  x. \& N. z
  1415. ; http://php.net/session.save-handler
    0 Y' H$ ]( O  q
  1416. session.save_handler = files; @- e5 T' U& r1 p
  1417. % g9 v8 g, F( l9 @: a
  1418. ; Argument passed to save_handler.  In the case of files, this is the path& N( A2 \* w! U5 L
  1419. ; where data files are stored. Note: Windows users have to change this
    1 M1 o8 ], w) o  X" V
  1420. ; variable in order to use PHP's session functions.
    5 ]( V& F% n" C& Z# e- |1 M
  1421. ;
    ( a  O8 Y7 X' g2 z3 d& D4 X
  1422. ; The path can be defined as:5 w5 S; \- D7 `* N* }/ n- F6 G
  1423. ;
    . t, h" z- u1 V* s  C" r( }1 Z: ~" o
  1424. ;     session.save_path = "N;/path"
    % e2 I& {$ J/ _) p
  1425. ;
    0 M; E6 c7 i; i
  1426. ; where N is an integer.  Instead of storing all the session files in
    * k& D$ [/ o' H* x! @9 e
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    / v1 S) [! a8 w& V5 F# i
  1428. ; store the session data in those directories.  This is useful if
    0 m1 @) O5 f" R& ]& Y
  1429. ; your OS has problems with many files in one directory, and is! Z6 ?+ F6 F* P: a) S: I# {6 w
  1430. ; a more efficient layout for servers that handle many sessions.& z0 S: N5 s0 @* R* s# k
  1431. ;
    * z$ _4 }7 m/ d2 z0 M5 f
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    & p" [' a( e8 v. k6 \/ h4 Y' M6 {
  1433. ;         You can use the script in the ext/session dir for that purpose.
    & g! J8 z# Y2 V2 L* L4 D
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    3 G4 U; j0 R+ ?- A
  1435. ;         use subdirectories for session storage; \5 C8 A5 V( v
  1436. ;! o8 o) d/ e/ |( q
  1437. ; The file storage module creates files using mode 600 by default.
    1 K3 }3 p& P3 R0 C
  1438. ; You can change that by using
    : d/ M( _+ H, D4 G8 u. o" V# t
  1439. ;
    3 [1 C8 e8 I, h8 z
  1440. ;     session.save_path = "N;MODE;/path"
    # V; a: {! X/ G* N
  1441. ;
    2 d- {- e% j+ S% F3 P
  1442. ; where MODE is the octal representation of the mode. Note that this9 t, ?0 W4 d- W  ]8 p' ?) ~7 w
  1443. ; does not overwrite the process's umask.6 v1 M2 g+ }" m, U' _
  1444. ; http://php.net/session.save-path
    9 T+ C1 \/ T8 y( L" H2 G
  1445. ;session.save_path = "/tmp"7 j$ m7 |( u6 D- q
  1446. 3 t) x" P) O$ G7 w$ J; i+ S6 H
  1447. ; Whether to use strict session mode., ^9 Z& u9 I' i
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate4 _/ Z7 q: I: M+ r9 E
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects6 W  f/ ^; W  L- |* ~
  1450. ; applications from session fixation via session adoption vulnerability. It is
    5 E. A7 L" B& T) w" I2 }
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
      T" p9 e: K- P2 g
  1452. ; https://wiki.php.net/rfc/strict_sessions
      X: v1 s, O0 U/ b4 {1 L; w, q4 ]
  1453. session.use_strict_mode = 0
    ) i8 e2 T, Y% `' K
  1454. . y+ R$ ?. ^+ B
  1455. ; Whether to use cookies.
    1 w# T% a# h* u
  1456. ; http://php.net/session.use-cookies* d9 X% R; H& c/ ?
  1457. session.use_cookies = 1
    7 q* `: J: l# E# P1 l' g

  1458. ) Q* G- }4 J3 a3 S7 A
  1459. ; http://php.net/session.cookie-secure2 o# s) ?8 r2 M6 Z. g0 V  J  n
  1460. ;session.cookie_secure =
    , T$ d; Y/ I/ d( k6 h
  1461. * _% A- q5 P8 `$ f+ }% C
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining$ j, R; h* ]2 v: S4 q, g* p
  1463. ; the session id. We encourage this operation as it's very helpful in combating
      W; c3 k5 H1 ~: v$ C5 M# ]- n
  1464. ; session hijacking when not specifying and managing your own session id. It is1 g# r. ~. R7 t& p
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
      S) v. g4 Q& `
  1466. ; http://php.net/session.use-only-cookies6 b; d6 [  W6 ~5 i/ U7 V& H
  1467. session.use_only_cookies = 1, }$ g$ T" j$ p5 q1 w' D+ J0 v
  1468. / l; A) v+ H% c/ z# ]. x+ l1 o+ o
  1469. ; Name of the session (used as cookie name).
    & Q* c+ O0 ^* {: H5 z- B0 ?6 ]1 S
  1470. ; http://php.net/session.name
    7 @' `9 C+ t# k9 A; c+ F' ]! b, F) Q
  1471. session.name = PHPSESSID
    1 x' F  w6 z1 B" h' K- H' f: |

  1472. * \1 m* A9 E1 N8 `5 ]  Y4 ^
  1473. ; Initialize session on request startup.
    $ q, E; N  ]% j6 ]3 V# E& z- ?
  1474. ; http://php.net/session.auto-start: r0 |- h/ i" D" p7 S% q
  1475. session.auto_start = 0& J6 H2 @: Q8 {/ ~

  1476. " I9 e5 q# W0 ?+ n$ C  D
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ! M$ X% D; K  t8 h
  1478. ; http://php.net/session.cookie-lifetime7 J% U( g; I8 x( A0 a
  1479. session.cookie_lifetime = 0
    1 s$ C" [" U. L0 w; U' b" w  D) U

  1480. ( u4 `: ^8 x3 b& A! X2 d* |  a
  1481. ; The path for which the cookie is valid.
    ) `* S- a( D% ]
  1482. ; http://php.net/session.cookie-path
    0 z8 w/ @; ~( n, k
  1483. session.cookie_path = /2 j+ f: h7 c) N
  1484. % z$ M( s* v0 N& b- _4 G' [
  1485. ; The domain for which the cookie is valid.. B6 A7 S" G. H$ l1 a
  1486. ; http://php.net/session.cookie-domain4 d8 X: R7 I0 O% N8 R/ C+ ]
  1487. session.cookie_domain =
    ( m, P; E3 j, ^

  1488. 1 b7 U5 W6 Z  I" a; q, F
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    3 z2 a1 P: [) C1 O, s/ y
  1490. ; http://php.net/session.cookie-httponly4 R3 y% e1 s' H6 q: S- i* ]
  1491. session.cookie_httponly =
    8 e' D! \: A# @! N
  1492. ! D6 W0 W/ |4 P1 D& J4 z, {, ~, Y* `
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.( x0 Q* y$ Z' W/ v6 g8 }3 \* [
  1494. ; http://php.net/session.serialize-handler' u* e9 y/ l, \1 @' K# [
  1495. session.serialize_handler = php
    8 M$ Y- S: o6 V/ B# p& Z* P* C

  1496. * M3 O0 u7 O0 m5 e: K/ v9 h
  1497. ; Defines the probability that the 'garbage collection' process is started
    6 m5 g1 Y8 ]# Z$ A* {
  1498. ; on every session initialization. The probability is calculated by using
    - s$ X' O2 K5 Y
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    8 k) `. k% R- W" `6 L# u
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 16 ?" E* R6 @4 |0 ]
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance: a+ p9 l. h- @* L& I4 x- G' R% ^
  1502. ; the gc will run on any give request.' ~' J( p; N0 m
  1503. ; Default Value: 1. e8 y. @, u/ K& a) o2 \
  1504. ; Development Value: 1+ T4 _5 ]5 B( Y
  1505. ; Production Value: 10 r4 C. P: J: @0 d& ~
  1506. ; http://php.net/session.gc-probability
    $ y' h& i. l( w5 p& e0 r7 I) f
  1507. session.gc_probability = 1
    $ Z/ U1 ^2 a/ l$ P+ V2 f

  1508. ( p* D# K/ u& V+ ~9 t! s
  1509. ; Defines the probability that the 'garbage collection' process is started on every: d8 z8 {5 Z# ]4 ]
  1510. ; session initialization. The probability is calculated by using the following equation:
    2 x1 v% v, C! U8 q) `# `
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and# D  s! o: A& ~! A, [+ r/ _4 C
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1& n6 ^5 A9 a1 Z# ^7 b2 N; n2 l9 [
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    % d. A9 o' e: k
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you8 W6 Z9 L" n8 x2 t2 C" K" P
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,( D' {6 p$ V/ Z* `0 X; z
  1516. ; this is a more efficient approach.+ d% K8 g0 H) E$ m7 e
  1517. ; Default Value: 100
    ! w) S2 a8 x6 n6 U% d: @% }* G  \
  1518. ; Development Value: 1000
    # c* [4 w# z  D( a+ Z1 n
  1519. ; Production Value: 10004 Y5 Z5 M2 R- j( k
  1520. ; http://php.net/session.gc-divisor
    - a. @' \! I& {
  1521. session.gc_divisor = 1000
    0 L0 ^4 K4 }5 e: X' C

  1522. / k! @  u3 i/ ^1 p% B
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and' U. {, l8 ~5 t8 L- Y) o$ D3 ]
  1524. ; cleaned up by the garbage collection process.
    ! m7 I! e- D# t  V/ z
  1525. ; http://php.net/session.gc-maxlifetime4 X  ?, @' |2 c7 U, u- n
  1526. session.gc_maxlifetime = 1440
    - ~: {1 E, N0 C; _9 g+ h% B% ^
  1527. / R# D2 D. G; B
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    - h! ^: M' }+ W& ^9 S* a
  1529. ;       (see session.save_path above), then garbage collection does *not*' c1 I, b5 c! k' {& i+ ^
  1530. ;       happen automatically.  You will need to do your own garbage# n0 U, K, W4 W
  1531. ;       collection through a shell script, cron entry, or some other method.
    7 v6 }% S% M! b. ]2 D  `
  1532. ;       For example, the following script would is the equivalent of
    " m, [2 d1 q' S' T. S
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    3 q* [. V# n4 @2 C: I. ^
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    $ D8 E: |" L+ t, R, X" L+ d

  1535. / e2 Z5 M' b' H" ^6 y0 E( a  @. Q
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    & {- [/ Y; h+ S0 }% g6 D1 c
  1537. ; HTTP_REFERER has to contain this substring for the session to be- m3 _& f  G' [
  1538. ; considered as valid.+ r* {8 |5 h: f( p
  1539. ; http://php.net/session.referer-check% [- }. S- H* G* d/ a. `9 c
  1540. session.referer_check =8 |5 M! S" L7 T7 n7 S" j

  1541. 6 G' K( T# E0 M7 ?+ P/ \) {+ b
  1542. ; How many bytes to read from the file.6 x( s* X5 u: o+ p, g4 R: s
  1543. ; http://php.net/session.entropy-length8 \' j! k; x$ P7 y/ G/ y
  1544. ;session.entropy_length = 324 F2 t' @5 e  N  U
  1545. ! I' X' O5 b7 M6 ]& o. ?) ^: m
  1546. ; Specified here to create the session id.- J- q3 G2 p  t6 Z  K1 O3 [
  1547. ; http://php.net/session.entropy-file7 D; L$ l9 I5 `* S  k! h" g( i  Q6 X" c
  1548. ; Defaults to /dev/urandom; ^3 B3 ~1 W* y5 n# e
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom& S, @( B" O4 S% i' B2 G& @2 r
  1550. ; If neither are found at compile time, the default is no entropy file.
    ( \6 P  e9 J0 x0 R& d6 ]- M
  1551. ; On windows, setting the entropy_length setting will activate the9 G; C: V2 l; f( ?2 s% E; n# r  A
  1552. ; Windows random source (using the CryptoAPI)
    + ?7 z- C! Y1 S, g6 E( R4 O
  1553. ;session.entropy_file = /dev/urandom
    ! |# o* ~0 X4 j8 T2 u

  1554. 9 m/ \- f/ i+ Z/ ~: |
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    & z! X* h. J% R
  1556. ; or leave this empty to avoid sending anti-caching headers.
    3 M! w' z0 {  S# h/ |8 M- _
  1557. ; http://php.net/session.cache-limiter
    0 i7 c# o9 x- U* ]: |( k8 m2 }! w
  1558. session.cache_limiter = nocache# W1 O+ q, }$ A3 h& [+ v$ B0 G' y

  1559. + H( R7 ?5 B+ q& _* {
  1560. ; Document expires after n minutes.
    : T2 @: {1 z0 v3 h7 |- B8 M- _
  1561. ; http://php.net/session.cache-expire
    3 d! u  T/ \! s: B
  1562. session.cache_expire = 180, z, u7 \0 ]4 a8 p9 {9 H. \
  1563. 9 |# w# V7 s& S) f$ V
  1564. ; trans sid support is disabled by default.* W7 b0 o& P/ I7 o
  1565. ; Use of trans sid may risk your users' security.
    7 k: g' E- P/ T5 O5 d
  1566. ; Use this option with caution.( Q" \, ?3 F" B& D
  1567. ; - User may send URL contains active session ID
    # G; {+ m8 o( z; K; Y, b
  1568. ;   to other person via. email/irc/etc.3 G1 @& T6 W- J9 f/ c
  1569. ; - URL that contains active session ID may be stored
    # L8 w" ~. K4 V: P, k+ E* `0 [; r
  1570. ;   in publicly accessible computer.2 C4 U+ w# Y5 I4 _
  1571. ; - User may access your site with the same session ID
    1 n; j- r4 z+ m, c( ]* r
  1572. ;   always using URL stored in browser's history or bookmarks.
    9 c3 @' d& d* E* k4 S+ ^4 V
  1573. ; http://php.net/session.use-trans-sid
    , r* J  W! {+ g3 k  c
  1574. session.use_trans_sid = 0# Z  I; x$ u2 I6 G( a% A

  1575.   y( N- H- S# p+ J, C; |2 o
  1576. ; Select a hash function for use in generating session ids.
    , q  _  \, y. m
  1577. ; Possible Values# i  ?, B6 C9 U$ Z
  1578. ;   0  (MD5 128 bits)
    4 {# k: w5 }, g8 O& X
  1579. ;   1  (SHA-1 160 bits)
    + E+ z' K9 D7 C3 g! _
  1580. ; This option may also be set to the name of any hash function supported by" j3 t6 F- n, p4 S
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    . f6 W3 r( ^5 f7 |: t! K6 \
  1582. ; function., l+ M. m; `0 q( q( b# X* d
  1583. ; http://php.net/session.hash-function
    7 N( ~; P% u. w. T& c6 e6 w
  1584. session.hash_function = 07 l- N4 j: c* V& f& M6 ^1 A3 D: }

  1585. , i! X) g% `5 q* M1 F) X1 y
  1586. ; Define how many bits are stored in each character when converting3 R4 _. [% ^+ u" m4 m8 g; `
  1587. ; the binary hash data to something readable.
    8 [* t" c$ @3 E
  1588. ; Possible values:
    2 T2 s$ V! A2 f& ?$ J
  1589. ;   4  (4 bits: 0-9, a-f)
    0 R) y  ~9 v, J" K) s* u
  1590. ;   5  (5 bits: 0-9, a-v)2 a1 Y: m$ Z0 n2 ?* K% }, T
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")( c: f7 T3 r4 k; L! T8 ~
  1592. ; Default Value: 4( |' E: e. R) Z5 t: y9 A- S: j
  1593. ; Development Value: 5. i8 y. ~3 y  y! f
  1594. ; Production Value: 5: N" y9 \, p6 ^- `
  1595. ; http://php.net/session.hash-bits-per-character0 z0 L  z  _# K9 H3 |: v" E2 g% [) r5 S
  1596. session.hash_bits_per_character = 5( E) l5 Z$ ^8 l/ D! n, l* g  Y* _! f
  1597. 1 N8 b8 Q: z" q+ r- k
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ( q2 V' P2 L% x4 a3 v- _
  1599. ; form/fieldset are special; if you include them here, the rewriter will9 R+ O* X2 b( o4 w6 L/ ~8 ]/ T
  1600. ; add a hidden <input> field with the info which is otherwise appended
    6 P2 v0 ^2 J( d+ O7 ?3 c* Y
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    0 |8 n* b* {4 p/ _9 x) @/ v/ S. F
  1602. ; Note that all valid entries require a "=", even if no value follows." K# i1 Y6 D: Y( W
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    8 J6 R7 b6 j! Q: ^& `' j. q- E9 t
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' @1 S4 q$ ?% ~% K
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' ?$ E6 R! L; a
  1606. ; http://php.net/url-rewriter.tags; S8 L2 v& k6 F
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    # L' B0 }; I' m4 x
  1608. - ~; n0 S9 P8 ^9 ]
  1609. ; Enable upload progress tracking in $_SESSION
    2 `/ |) _! S( Z0 r1 W
  1610. ; Default Value: On
    : d4 v: u& a3 b' q6 u8 U; t- n& b
  1611. ; Development Value: On
    7 j1 K' o5 o) H5 g! F0 ]+ C' w/ O( ~
  1612. ; Production Value: On
    ! f% f8 v6 b  C+ y! x4 U6 z+ I
  1613. ; http://php.net/session.upload-progress.enabled
    + U& I" b6 Y4 Y0 C% D0 S
  1614. ;session.upload_progress.enabled = On; [( p' ?* s. I# ^1 j

  1615. ; I; t( m# a  ?" z, y) }
  1616. ; Cleanup the progress information as soon as all POST data has been read
      {# c8 i$ L; ]: E. J" {
  1617. ; (i.e. upload completed).
    # d  Y6 C" ^4 g0 h
  1618. ; Default Value: On
    9 O) Q+ E( u: t5 ?; @" n0 [
  1619. ; Development Value: On
    0 P( @1 I# ], i) e2 J  P6 ~8 Y
  1620. ; Production Value: On
    * E4 ]4 |. E$ {9 V; O" c9 m$ Y
  1621. ; http://php.net/session.upload-progress.cleanup
    & [9 O$ l8 Y7 r1 I+ Q
  1622. ;session.upload_progress.cleanup = On! n3 _- u/ P) h

  1623. , W; n8 H/ ~5 P( ~8 l0 z. G: q0 p
  1624. ; A prefix used for the upload progress key in $_SESSION
    * T% x4 q* w3 T9 V( [! T. ^
  1625. ; Default Value: "upload_progress_"# J9 ~! C! d+ i( d7 h2 [
  1626. ; Development Value: "upload_progress_"# z2 d' A+ p2 [' A$ n+ ^  @5 v3 V
  1627. ; Production Value: "upload_progress_"
    $ S; ~: ^( z7 A$ Z) j4 z* p) W- L
  1628. ; http://php.net/session.upload-progress.prefix
    ! O0 k! q2 Q# V7 Z; K! }8 T
  1629. ;session.upload_progress.prefix = "upload_progress_"
    $ F2 Q/ h0 _/ b. p( b

  1630. ( J+ F8 q8 ~8 i. H0 X" P
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    % |. U% L' {: H
  1632. ; containing the upload progress information
    : \  ~7 }) g( C
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    % z8 d" ]( M7 _( H. L7 _+ X
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 g3 e* c1 R% v; z" r" o2 |
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # }, n8 j$ g" _% a+ X$ n  H
  1636. ; http://php.net/session.upload-progress.name5 p- B3 u' W& b
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    # g* q2 V  D- \0 p5 u$ m
  1638. 0 C# z# y" N3 P5 P0 ^6 q# n2 x
  1639. ; How frequently the upload progress should be updated.
    - l" Z7 r, w$ F, t9 H" ]
  1640. ; Given either in percentages (per-file), or in bytes9 ]8 V* n% w1 `( x- Y6 U
  1641. ; Default Value: "1%"
    & P4 y0 ~* L$ P; _+ \" A) X
  1642. ; Development Value: "1%"
    ) A2 x* ^7 p/ p5 m7 J- y
  1643. ; Production Value: "1%"
    # N% X7 w6 d  t
  1644. ; http://php.net/session.upload-progress.freq
    # g  A. h' m' K$ J
  1645. ;session.upload_progress.freq =  "1%") Q. X" J2 M. n. Z" U

  1646. ; L" }2 N  c; T6 W1 E. ^- l# v
  1647. ; The minimum delay between updates, in seconds
    & I: Y1 B% d! m/ O5 E& I
  1648. ; Default Value: 13 G% X& a$ P4 u; c% R8 V4 d
  1649. ; Development Value: 17 j  J2 J8 g) J
  1650. ; Production Value: 11 Q2 v0 e, U4 z
  1651. ; http://php.net/session.upload-progress.min-freq
    # t. I/ f/ o6 D
  1652. ;session.upload_progress.min_freq = "1"3 b, T- [$ ?! t" F$ I
  1653. / k( P  [: {0 a
  1654. [MSSQL]
    + I" H0 D! u5 A+ l4 ^  t
  1655. ; Allow or prevent persistent links.( H$ x3 K8 q" q0 [
  1656. mssql.allow_persistent = On
    & s2 v% ^/ z% W  R; t, ^9 c

  1657. % @$ m( j0 P8 I# U7 l; B
  1658. ; Maximum number of persistent links.  -1 means no limit.6 q( }2 a  X1 S9 ^5 U
  1659. mssql.max_persistent = -12 L0 r! B2 B+ _1 [& C2 s0 u

  1660. 6 P+ H. l; L' v$ h
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    3 F1 a9 {( W. z$ r+ q! C
  1662. mssql.max_links = -1
    * I% v" O2 i$ }, S; u) S8 T) }7 k) H

  1663. # W/ E/ z0 h# W' R
  1664. ; Minimum error severity to display.
    7 I8 V# x+ g# o7 m
  1665. mssql.min_error_severity = 10
    1 U) ?! N4 D- k. i5 c( N
  1666. - _, L' G; W  D7 Z0 a- U
  1667. ; Minimum message severity to display.
    - F$ ~8 J: c( ^" A5 D6 r: ^
  1668. mssql.min_message_severity = 10
    & N# j" t5 R  }) ^/ F

  1669.   q- ?& y  S7 N3 P
  1670. ; Compatibility mode with old versions of PHP 3.0.2 \6 }4 K# {6 N: a1 r6 R) s
  1671. mssql.compatibility_mode = Off
    6 c. l  W  V! g& g# w9 K- T  a

  1672. 6 X( t+ p  v. e6 b, R  o
  1673. ; Connect timeout1 ]8 F3 I' b& l& k. {$ K
  1674. ;mssql.connect_timeout = 5* L, T  x3 T9 N$ V  k- \8 @

  1675. ' r* C* @+ E1 Z% N- E( Z
  1676. ; Query timeout  E2 ?' b: A* [5 l+ S
  1677. ;mssql.timeout = 606 y3 k$ C" O8 b6 ]0 D+ ]

  1678. ( V- p( d1 K" I8 D6 h
  1679. ; Valid range 0 - 2147483647.  Default = 4096.5 Z" X2 G* X$ x. y! @. V( d$ s" D. x
  1680. ;mssql.textlimit = 4096
    8 ]" l1 O# c8 p9 s5 w& c& J  ?
  1681. , ?, ?' m- t1 `2 |4 V, T' v5 x/ z5 |$ [
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    & O. `4 C% w, R1 E9 Z: O
  1683. ;mssql.textsize = 4096
    ) C: K- _* }, T( B5 V

  1684. . l5 l1 L1 V# ^8 D* K, _
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    0 v+ s) d. ]0 I" T( x+ x7 j+ A% X
  1686. ;mssql.batchsize = 0
    , u& p8 ~* b6 Q9 _. I6 g. _
  1687. " K! Y/ Y8 _1 E; I( R0 j* @" d
  1688. ; Specify how datetime and datetim4 columns are returned9 s/ v1 M, N6 e6 a5 {$ J% y
  1689. ; On => Returns data converted to SQL server settings# _3 r! K3 l, I6 F& Y) X
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    - p* l1 e' i- z: U
  1691. ;mssql.datetimeconvert = On# E! i# w/ O' l8 k" B

  1692. ( @; c: L: O# e) C; M
  1693. ; Use NT authentication when connecting to the server
    / I. d  A+ Q) W- P6 @5 t. r% }
  1694. mssql.secure_connection = Off
    & u3 {/ `6 ^5 |  K

  1695. 1 N. _- Y. k2 _/ K5 Z* h
  1696. ; Specify max number of processes. -1 = library default& `, E; ~! R# G9 q9 A* R1 m1 S
  1697. ; msdlib defaults to 25! o" m* o- N3 @9 X, G
  1698. ; FreeTDS defaults to 4096
    5 y! g7 y% [, U5 ~5 j# ?& A) x
  1699. ;mssql.max_procs = -1
    5 w: ^0 d& B4 @% f6 ]% H

  1700. 1 E; T& u. {! V
  1701. ; Specify client character set.& v1 p( S. m* A' C6 c5 D9 W  \+ z
  1702. ; If empty or not set the client charset from freetds.conf is used
    , P3 U" E" q- y9 u+ F, V9 q* K0 G
  1703. ; This is only used when compiled with FreeTDS; {" K/ W& D! |( P
  1704. ;mssql.charset = "ISO-8859-1"
    ! f3 A+ @3 c5 o& p* `- h

  1705. 9 O- d& Q) _% v/ V; ?
  1706. [Assertion]
    % F# i! n& E) l+ c
  1707. ; Assert(expr); active by default.1 L  L' U" c( m: V
  1708. ; http://php.net/assert.active! y& r* L6 d1 Y, U
  1709. ;assert.active = On
    3 a/ ]4 E- Q3 x. |2 k

  1710. ! Y9 Y# }) f) E1 e
  1711. ; Issue a PHP warning for each failed assertion.$ A& m- |5 [+ A: l% R
  1712. ; http://php.net/assert.warning
    6 K" w6 B6 x2 I' ~" ?# s* \
  1713. ;assert.warning = On( _9 z; T& ~: c" h
  1714. ' X) q9 Z! g& S  [& @* F
  1715. ; Don't bail out by default.
    7 U1 F6 [* ]% v9 ]6 g
  1716. ; http://php.net/assert.bail
    . x& B+ I: q% Z
  1717. ;assert.bail = Off
    ' A) F1 m7 B) i+ v" h% ^7 t4 [
  1718. ! b5 V9 g$ i0 P2 }& u$ m6 G
  1719. ; User-function to be called if an assertion fails.  M* _: o& r6 {6 Y8 m, ^" z) s
  1720. ; http://php.net/assert.callback
    1 H- s* f/ M, Z6 N$ w: U" o4 v
  1721. ;assert.callback = 0
    & A+ v: k) b9 S8 d; l! c3 Y) W0 v8 g

  1722. 3 d7 V8 [" [$ i
  1723. ; Eval the expression with current error_reporting().  Set to true if you want/ C7 w: x9 q' c$ @  p! V: X
  1724. ; error_reporting(0) around the eval().
    , I4 ~' n8 n( P- r# F
  1725. ; http://php.net/assert.quiet-eval
    " w8 M! a: q# y; L6 O+ L1 L
  1726. ;assert.quiet_eval = 0
    ( u/ y3 h7 i9 K# a

  1727. ' w0 J8 [' r, L1 x* d7 i
  1728. [COM]+ a5 e* R4 L6 C2 b9 S6 A# L
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs! D+ r  V* L$ z' ]2 Y4 C, f) `
  1730. ; http://php.net/com.typelib-file! O7 W- R6 l) k' Z9 B) Y
  1731. ;com.typelib_file =& t: |- E& ]. w; ^( r

  1732. 3 g; N1 G  ~  c& E0 ?. h4 q
  1733. ; allow Distributed-COM calls
    ( o  y' j+ u+ x: n2 k( u
  1734. ; http://php.net/com.allow-dcom
    ) ?9 W% K7 S' M
  1735. ;com.allow_dcom = true8 k9 A: a9 C- m# t' z

  1736. 9 M2 H1 w5 s* o+ h7 W
  1737. ; autoregister constants of a components typlib on com_load()4 i* W/ e3 j: Q9 I  M
  1738. ; http://php.net/com.autoregister-typelib
    : a* `7 @- ]- F
  1739. ;com.autoregister_typelib = true
    . u; e2 _8 i$ @2 G

  1740. ( @) p$ P9 K/ T
  1741. ; register constants casesensitive
      d" n+ C! f& I! o( S
  1742. ; http://php.net/com.autoregister-casesensitive
    4 ?$ _7 Z9 P5 t" Y
  1743. ;com.autoregister_casesensitive = false
    ! ^  e: v- L/ E9 c
  1744. : y  {/ @. k  n
  1745. ; show warnings on duplicate constant registrations0 r# [8 G+ {- B3 G- B
  1746. ; http://php.net/com.autoregister-verbose6 s) P" u. S! @# z' x
  1747. ;com.autoregister_verbose = true
    - q' n9 {8 V9 M8 h
  1748. 7 U5 e6 @7 [' u2 [" }
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    9 i  Y; b. N8 W& d9 Z% z
  1750. ; Default: system ANSI code page5 `5 _7 \" o4 [1 U
  1751. ;com.code_page=" i& h7 k7 D) h
  1752.   w, _4 d5 A7 g% V; t
  1753. [mbstring]
    ( r8 P; P" t& C2 H' N: v  h
  1754. ; language for internal character representation.+ y  X; @  a, F: ~
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.  I) I. [* ], P) x$ c
  1756. ; http://php.net/mbstring.language
    / U) D: m# W1 ^4 c2 S
  1757. ;mbstring.language = Japanese, y+ }6 ?7 n1 z9 \
  1758. " j5 s6 z4 @/ g4 g4 F5 K7 R
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ' P* e' @' K$ I
  1760. ; internal/script encoding.6 X/ K* ?/ K; ^# }0 f7 A/ }, h8 b
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)$ M* R: N( {1 P) X& _; J
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.4 W, ^  y0 e# l' Y5 t
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 o/ U6 i" H, I; \
  1764. ;mbstring.internal_encoding =
    % L7 h& _. x2 g2 f
  1765. , a! C7 d  U5 O: Y; a# y5 j
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ) D9 ]6 ^& _& [0 r! c6 I
  1767. ; http input encoding.
    6 {' V% S  i8 X, R
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.' e2 t: h$ W8 `- W
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.( w( t5 M4 u. R$ ^+ |, x9 I# D
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input9 t9 b0 F& H6 N' A
  1771. ; http://php.net/mbstring.http-input0 b3 z" n7 u# M9 j) a: l
  1772. ;mbstring.http_input =
    7 l, V; r0 f, w5 z4 R  i8 A

  1773. 1 m4 o9 r, t( O3 l& \5 r
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.3 m6 V- h% u$ z  L
  1775. ; http output encoding.
    7 Y" {) b$ \: L: W
  1776. ; mb_output_handler must be registered as output buffer to function.
    & S# \% n, K, @2 ^1 E9 q
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    . g- Z& j6 _6 }$ V0 l- Y
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output! y2 j& _0 l; v4 T
  1779. ; To use an output encoding conversion, mbstring's output handler must be set8 ?1 c5 A6 O3 v/ k
  1780. ; otherwise output encoding conversion cannot be performed.
    , e# L9 q: B' U* T
  1781. ; http://php.net/mbstring.http-output
    + O  U8 a) W2 [
  1782. ;mbstring.http_output =: c- R: t+ _; v/ K
  1783. ' |$ e5 Q: \" V# i
  1784. ; enable automatic encoding translation according to; ]- f  s; H/ w, S
  1785. ; mbstring.internal_encoding setting. Input chars are
    ' A" _# r2 d8 r
  1786. ; converted to internal encoding by setting this to On.
      q' o; w# T/ n8 U/ q- u
  1787. ; Note: Do _not_ use automatic encoding translation for
    # H5 W# ^$ q) ?6 R& S; x4 f
  1788. ;       portable libs/applications.& [$ B" m" W' x  O( N0 S
  1789. ; http://php.net/mbstring.encoding-translation
    1 f0 J  ?0 Z2 q: W% H
  1790. ;mbstring.encoding_translation = Off
    & H  J. ^& v) r; s
  1791.   I  Q! `7 @# E- X. K& t( g. j
  1792. ; automatic encoding detection order.) J. M: a' v/ n" `
  1793. ; "auto" detect order is changed according to mbstring.language
    5 e" w, X  ^8 [* L/ t
  1794. ; http://php.net/mbstring.detect-order
    5 X; D9 n( A! J7 B( s
  1795. ;mbstring.detect_order = auto! T  i5 H/ D, q. `
  1796. # g& n1 K, M7 Y' e( ~  b- r
  1797. ; substitute_character used when character cannot be converted$ h4 |. e+ I) @. R' S: K# F  I  S
  1798. ; one from another8 d- M% m' Q7 \
  1799. ; http://php.net/mbstring.substitute-character% q$ m; v1 q* I' ~" n$ D0 f5 c- v
  1800. ;mbstring.substitute_character = none
    8 r! @* x7 e6 v: U4 d, H
  1801. " w1 s! P8 n( ?& D/ }
  1802. ; overload(replace) single byte functions by mbstring functions.
    # u# D! a, v% d3 T" E! T; M
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),( u) W3 K' I, P& {. Y. r
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    . u( f6 z# z+ e& }
  1805. ; For example, 7 for overload everything.; |& S8 L5 a7 M" |* a" v9 z
  1806. ; 0: No overload/ o- _4 `. M* O" N& }
  1807. ; 1: Overload mail() function2 _3 m% W" P: w' j6 w
  1808. ; 2: Overload str*() functions2 |+ P# l' a) s7 S2 v
  1809. ; 4: Overload ereg*() functions5 W1 w/ |' {; U9 H0 S& H! v
  1810. ; http://php.net/mbstring.func-overload+ u& i6 ~& T$ P. C) S) Z
  1811. ;mbstring.func_overload = 05 _3 B9 M6 X3 O, s1 p' X# l

  1812. , V6 j( Q) {$ G0 S% X
  1813. ; enable strict encoding detection.% d: t: E) Y1 b+ Q6 Q; r! C6 j
  1814. ; Default: Off  j  r6 i2 r1 q- Y
  1815. ;mbstring.strict_detection = On
    ' K# \0 Y$ V1 ~: I

  1816. + f% b% j6 H6 a* }+ t; _/ P4 b
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()4 ?. ^! l5 d4 l
  1818. ; is activated.
    * ^/ S: h: H7 t- P$ w
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)- Z; M7 Y& j2 Z: y. }  O5 Q
  1820. ;mbstring.http_output_conv_mimetype=
    4 V3 Z! ?5 w7 Z1 U8 T& D1 m0 c: w
  1821. 6 C" P# M- g. J: X, [% N, D* G/ [
  1822. [gd]
    9 `2 B( `  c0 {! Y' C( B( s
  1823. ; Tell the jpeg decode to ignore warnings and try to create( Y7 o  {$ o! x9 ^, k% ~1 c
  1824. ; a gd image. The warning will then be displayed as notices
    + l7 K% m1 o5 _3 Y" _; r
  1825. ; disabled by default+ B  x+ a. x$ K$ w% S/ d4 o
  1826. ; http://php.net/gd.jpeg-ignore-warning
    4 R+ B4 _( n) G3 E. V! j+ p
  1827. ;gd.jpeg_ignore_warning = 00 y; W/ C1 L+ E

  1828. 9 `5 \/ |; f2 m5 Y) O) j* a
  1829. [exif]& X* U- [6 W  u1 r2 p% @
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    6 K: x% x/ C% m1 E
  1831. ; With mbstring support this will automatically be converted into the encoding
    # F7 `) l9 L, P
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding+ N, p) r, f# r, [7 e8 m# u
  1833. ; is used. For the decode settings you can distinguish between motorola and- ~9 v/ C7 }( y0 V  n
  1834. ; intel byte order. A decode setting cannot be empty.; J  |; p. v7 Z9 L% Q
  1835. ; http://php.net/exif.encode-unicode
    : s  B- u; K! R
  1836. ;exif.encode_unicode = ISO-8859-15' s& L/ |  V3 Y- s
  1837. 6 |" o; F& {7 U8 o; x& \
  1838. ; http://php.net/exif.decode-unicode-motorola8 N0 n3 p7 i* e8 t
  1839. ;exif.decode_unicode_motorola = UCS-2BE7 t4 [8 S3 ~; e; h2 I
  1840. % V& U$ G) F9 y/ }: N4 u
  1841. ; http://php.net/exif.decode-unicode-intel) V( F% a$ W5 [6 C6 S( v9 N
  1842. ;exif.decode_unicode_intel    = UCS-2LE9 v; i6 T7 c3 a* K5 v0 u
  1843. ) m7 n7 G9 ?& i% D8 V) w' e. ?8 F
  1844. ; http://php.net/exif.encode-jis
    $ q& @- D* M5 N# d
  1845. ;exif.encode_jis =1 m+ ?* \: s8 `5 n+ e$ @6 S

  1846. 7 Z7 A& u( e+ p$ I9 E
  1847. ; http://php.net/exif.decode-jis-motorola
    + D9 A4 ?" l: V, }9 K5 a1 A# i
  1848. ;exif.decode_jis_motorola = JIS) `, ?1 }0 z. p. j$ P* I

  1849. , }; X% W9 O- B4 G! _2 {8 f& i
  1850. ; http://php.net/exif.decode-jis-intel* `0 Q& ~; |0 g" q
  1851. ;exif.decode_jis_intel    = JIS
    2 f& Z; H" x& r" h7 j

  1852. ) d! Y! J* Q$ o) G& U
  1853. [Tidy]
    7 e6 [/ g* D: B4 L
  1854. ; The path to a default tidy configuration file to use when using tidy
    8 v; f4 _  H8 t- z2 Z
  1855. ; http://php.net/tidy.default-config
    " l; h: y) k+ Q
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg) O1 A- B: n) z4 K! W
  1857. 1 x2 ^' s  p; v" |' |; }/ y6 P
  1858. ; Should tidy clean and repair output automatically?* q: V) J2 {1 U: D" Q* f" G
  1859. ; WARNING: Do not use this option if you are generating non-html content* [9 p3 T6 Q" Y
  1860. ; such as dynamic images9 F  |$ k0 _6 s" w' k' E$ B6 c8 w
  1861. ; http://php.net/tidy.clean-output7 G) A; m: b8 l! ]
  1862. tidy.clean_output = Off
    6 s0 @  M& O. M

  1863. 4 x3 x( d6 S$ t9 |1 S2 i$ F0 Y/ l
  1864. [soap]
    ; }* q! g& o6 y5 ~: i, n  r4 s
  1865. ; Enables or disables WSDL caching feature.1 a: F* D4 E$ A/ t7 q: F
  1866. ; http://php.net/soap.wsdl-cache-enabled
    . ~+ h4 b9 g1 X! k# @
  1867. soap.wsdl_cache_enabled=1
    ' _8 L% @! H& S+ Q6 G6 k' z
  1868. ! @5 [+ B* ~$ ], R/ D# K( g
  1869. ; Sets the directory name where SOAP extension will put cache files.& n& o3 g, v& V# Z6 Z
  1870. ; http://php.net/soap.wsdl-cache-dir
    1 B( S; [, b$ v7 ^
  1871. soap.wsdl_cache_dir="/tmp"2 M6 o* L' g6 I0 R6 G* Z& U
  1872. # `: Z# W/ o/ v. m: [/ `
  1873. ; (time to live) Sets the number of second while cached file will be used% l# _+ `  h  I) w
  1874. ; instead of original one.: j7 F0 ^. `, _- }
  1875. ; http://php.net/soap.wsdl-cache-ttl8 v- L/ N3 E- _3 a9 a
  1876. soap.wsdl_cache_ttl=864007 X/ k9 S* j2 z( ^
  1877. 3 g- o6 z; L! [  ]& G. U) F/ r  B3 b
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    / _" y9 y# Q; ~
  1879. soap.wsdl_cache_limit = 5
    # }5 d, @1 r& j7 F1 t! p5 w
  1880.   }+ e( q; w; s9 q) |* B% G
  1881. [sysvshm]
    $ y1 W5 `* e5 S: B' J7 E4 c% R' N
  1882. ; A default size of the shared memory segment
    ' e5 R+ ]' X2 |, p6 I
  1883. ;sysvshm.init_mem = 10000: [+ `7 M$ d  V5 F+ W

  1884. * v4 [$ d6 Z7 \+ E
  1885. [ldap]
    % ?! Y# B* u4 V4 [
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    % k, l/ x" n& A7 O/ P$ |. G
  1887. ldap.max_links = -1
    6 s- x* ^* ~2 O1 }* B. U' b
  1888.   }/ }/ J! k3 ]; x
  1889. [mcrypt]( X( O5 v, g3 z
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    0 |% ?5 W- \  _2 k) ~

  1891. & ~! X, Z- S7 Y9 ?) a
  1892. ; Directory where to load mcrypt algorithms! N% a6 M. |! l  [" W* J& N+ ?
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    . i+ T5 X5 J' z# A' [9 f- }* z( d
  1894. ;mcrypt.algorithms_dir=# H  W% j" p9 O7 X
  1895. 0 a) p7 T: z2 x, @/ s0 J
  1896. ; Directory where to load mcrypt modes; q; x" g6 c. @9 d+ o* U
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; u! U1 D( ?& D$ P
  1898. ;mcrypt.modes_dir=
    1 |6 R2 b: A, D" P% X7 S4 v
  1899. 4 y2 N$ M; R7 V( g6 w* o1 f; U- j
  1900. [dba]
    0 _. \* {9 T* X% b6 w- R
  1901. ;dba.default_handler=
    6 c: N  D) H8 e+ B. I7 M2 P

  1902. ) u# l( m6 ]' }6 b0 D
  1903. [opcache]
    4 v0 |3 w3 Y8 W6 P# Q1 r' ?  s# h
  1904. ; Determines if Zend OPCache is enabled4 s( ~' S2 y3 `1 ^% N
  1905. ;opcache.enable=0" R- A& |! u& K# W1 \6 I3 x

  1906. 5 L* c# [* @' k* z% o0 {
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    2 g- O# Q$ i7 I2 c! l. v
  1908. ;opcache.enable_cli=0* V2 p4 H; R: U2 b) I$ H

  1909. % q0 H6 A- t7 l2 u3 l8 w9 W1 q
  1910. ; The OPcache shared memory storage size.
    0 k3 Z7 ^2 n* ?5 @! s
  1911. ;opcache.memory_consumption=64
    * i" T7 t7 C3 c8 }  Y; Z& z  ^
  1912. - ~- q" U9 b+ j0 ^9 I
  1913. ; The amount of memory for interned strings in Mbytes.3 f9 L8 o* ^2 W
  1914. ;opcache.interned_strings_buffer=44 m1 @1 b2 ], O1 i8 f
  1915. * Y/ e2 x, `. R" z7 Q1 i
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.1 {& D' K5 A# v# F4 p' h+ \+ S
  1917. ; Only numbers between 200 and 100000 are allowed.
    4 G$ H8 C9 i; q9 k" m+ Y& A
  1918. ;opcache.max_accelerated_files=2000$ ~2 M7 m4 ?8 t! d
  1919. # M, i% i. G- E; h1 j4 q! {) G
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    0 s+ X, I/ Z4 ?% Z, K
  1921. ;opcache.max_wasted_percentage=59 B5 m2 A& i! F8 ^  ~
  1922. 9 x# ]1 r+ Y- l! {
  1923. ; When this directive is enabled, the OPcache appends the current working
    , _: u* M) R9 n  U! ?" H7 X
  1924. ; directory to the script key, thus eliminating possible collisions between
    - T) W! ?; l( |; h) K
  1925. ; files with the same name (basename). Disabling the directive improves1 [& o" U+ s9 l" f  u! [" N
  1926. ; performance, but may break existing applications.- `6 i, @/ F! y( F$ X! r5 F
  1927. ;opcache.use_cwd=1
    5 X8 J7 I4 p# u- q9 h
  1928.   W! O9 O8 O$ d1 {  i# G- c
  1929. ; When disabled, you must reset the OPcache manually or restart the4 \) T& @& F7 U9 C
  1930. ; webserver for changes to the filesystem to take effect.! ]& g; y0 U' n8 K& t% \9 i: {$ a
  1931. ;opcache.validate_timestamps=1$ N- s' Z( K8 ^5 l
  1932. & a/ T* u5 S7 U* s6 H! c2 z
  1933. ; How often (in seconds) to check file timestamps for changes to the shared$ h1 a5 |' I/ n" o: x: H0 j0 `
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    6 q( U, m0 s# v
  1935. ; once per request. "0" means always validate)
    ' @, ]$ \4 v# x: s7 y  q5 e+ S
  1936. ;opcache.revalidate_freq=2
    , m( F4 B& ]0 L# O

  1937. ( u/ W2 D% k/ S4 }, F
  1938. ; Enables or disables file search in include_path optimization
    - l, n1 c/ ]. U4 ~" _
  1939. ;opcache.revalidate_path=0/ h  f- ~: a: u3 e5 _$ a& R" U
  1940. 8 {. o9 s" P: t, k  h2 L: o
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the0 A6 T( Y  v6 i& w, O: C1 g5 {) L
  1942. ; size of the optimized code.
    & A3 h3 e% S1 B* h" M2 l
  1943. ;opcache.save_comments=1. a8 I: E& o6 o& k# l

  1944. 0 J$ W: X9 R, ?; L) q* ^
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    , D7 G, c, J/ ~( }% `
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ) t" W' E- U1 ~& x  s
  1947. ; that don't need them anyway.4 i/ ^3 ^& \- n
  1948. ;opcache.load_comments=1
    : k% q% T6 F: e0 k& d# _: y6 n5 r

  1949. ( q' ?- L3 Y, Y( @+ X
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    * e  i( M# _2 ~7 i
  1951. ;opcache.fast_shutdown=0
    1 u) C  I- G# T" K' ~. L* u/ o- c

  1952. / O4 W, \' t: D9 Q9 g' Q6 u$ l
  1953. ; Allow file existence override (file_exists, etc.) performance feature.0 m; X7 n! u9 n6 D, V* v1 U( J
  1954. ;opcache.enable_file_override=0
    ! W- G& ?+ R: P

  1955. % Q( _+ _9 U7 d6 q' S
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    2 w7 K/ @( c  p' k
  1957. ; passes
    : z! Q! M; b9 q5 H
  1958. ;opcache.optimization_level=0xffffffff
    . g, C6 {5 l1 H

  1959. $ z0 f- O+ w2 x' ~: @! x0 T
  1960. ;opcache.inherited_hack=1
    4 e2 v1 L; z, ~( E+ p) H
  1961. ;opcache.dups_fix=0, r' T! P' |# t8 j" A4 A

  1962. : `7 v# g: g$ m  q" E
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    " ?- [0 g* n6 |6 t) S) O" r
  1964. ; Each OPcache blacklist file is a text file that holds the names of files9 z" N: O2 M7 W' a* g% W! h. I
  1965. ; that should not be accelerated. The file format is to add each filename
    / z  v; U  D3 f- r$ N8 z
  1966. ; to a new line. The filename may be a full path or just a file prefix
    " x7 Q! t, ]1 r& G* b& q$ r/ k
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    2 Z3 G2 i0 p$ Y0 `/ ~9 e& \  t! a1 V
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    $ k8 P7 q6 c( G; ]& F
  1969. ;opcache.blacklist_filename=! P8 {+ t! Z- r- }4 I1 T

  1970. 7 M5 W0 [/ b+ u) x
  1971. ; Allows exclusion of large files from being cached. By default all files
    / |2 |& Y) X; O
  1972. ; are cached.
    ' D/ c7 w# i2 d& A: W: V
  1973. ;opcache.max_file_size=04 x8 \5 y/ p3 U4 {: y( c* D
  1974. 4 c6 ~, ^+ E: N
  1975. ; Check the cache checksum each N requests.
    $ U% G, j6 E+ ?6 x, ^, z' N
  1976. ; The default value of "0" means that the checks are disabled.4 q1 j& [) `0 F5 T7 |" W
  1977. ;opcache.consistency_checks=0
    ' }' F; v, @0 o: U5 h7 d
  1978. 1 ?& r7 ]. m3 s, `% U( E, }  h
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    - e+ x, `- u) M0 h! c8 d- t
  1980. ; is not being accessed.
    6 O: ^6 |- E" [  p/ n
  1981. ;opcache.force_restart_timeout=180' G4 t- @. E8 Z9 d4 r6 P7 ~! L: u
  1982. 6 }' w' ^" I, o" C# \( ~2 n; x# F
  1983. ; OPcache error_log file name. Empty string assumes "stderr"./ M# T# c- [4 j  J
  1984. ;opcache.error_log=
    9 c& v  C! z- V7 X( Z2 y
  1985. # ~+ p1 {3 A; L$ y
  1986. ; All OPcache errors go to the Web server log.
    8 X1 \2 h# P1 g( z
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    : ]; R& J8 s8 Z
  1988. ; You can also enable warnings (level 2), info messages (level 3) or" @$ w1 x) d$ a' Z
  1989. ; debug messages (level 4).
    $ P+ n. F8 S7 M; `( r
  1990. ;opcache.log_verbosity_level=1. a! c; }# i; V9 `) T8 j5 ]

  1991. : T: t6 p3 d/ v5 _, _8 u9 W
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    . k/ o, A, e% z
  1993. ;opcache.preferred_memory_model=$ h+ |, H. x6 s0 a

  1994. ! V1 W  ]* h5 l$ a: Q1 f. P+ a+ I* o
  1995. ; Protect the shared memory from unexpected writing during script execution.
    + J5 K& b) S3 `7 Z+ e+ V. K4 Q  L. Q
  1996. ; Useful for internal debugging only./ Z9 r! r3 \. l* T. Q
  1997. ;opcache.protect_memory=0- F& R# T7 `" j1 O
  1998. 1 D0 d4 ~" D8 d' j
  1999. ; Validate cached file permissions.) G& q* f# }1 v6 B  _3 a
  2000. ; opcache.validate_permission=09 F, W* s" A; k; f# s1 L9 L
  2001. 9 o/ X4 }7 s* K# R# k& ~
  2002. ; Prevent name collisions in chroot'ed environment.0 R/ v" H4 e$ _% X
  2003. ; opcache.validate_root=0
    8 m, }- Z2 @0 e- c$ x) [
  2004. 3 Z. m+ }/ h) S; b! F6 @; z  D7 s
  2005. [curl]# G9 I/ Q* t4 K1 l3 E% z
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ) D( x; u2 u/ q/ [% {; `4 Y
  2007. ; absolute path." y# G( a' {: Z& e4 Z& D
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt9 w( a5 e# T( P1 {% F0 V

  2009. 2 e# w% j+ ~0 z0 [  S7 Z
  2010. [openssl]: Z7 p: C& i+ |% |8 Y: L3 R
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    * n: f' Z0 z5 p2 T$ d1 Q
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    : k; b7 D+ t0 |; s& t( Y
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ; V" e4 P5 ~6 E$ J( m4 l
  2014. ; OS-managed cert stores in its absence. If specified, this value may still( E& R& U0 F$ ]2 b  I* Y7 a
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    0 R/ X5 I& s  p' S( r7 X. n7 s
  2016. ; option.9 r7 _5 H4 @2 G8 Y
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt' B) a3 {4 B7 g% l. M- n

  2018. ) w5 Q2 [+ Z, N! ?0 T# Z; z6 e
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
      Z* J4 C7 w8 i( b, p8 K
  2020. ; directory pointed to by openssl.capath is searched for a suitable# }0 G9 }6 [9 b2 X
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    1 g# S- w4 r$ {2 N* |0 e
  2022. ; Most users should not specify a value for this directive as PHP will
    . v% a2 ], _% W4 e' [% K& c: d: o6 Q
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,0 H  }, X, Z( t0 f
  2024. ; this value may still be overridden on a per-stream basis via the "capath"0 i! `* l; z) N# ^6 ?6 |* [
  2025. ; SSL stream context option.. L2 K4 b) n( t# e
  2026. ;openssl.capath=
    8 c0 q' t; f  w8 q& K2 m1 D4 g
  2027. / _4 B" H2 c! B1 p
  2028. ; Local Variables:* _& K$ s+ h$ F# g
  2029. ; tab-width: 48 r, e: t& R  t, s+ s, q
  2030. ; End:+ [3 r. k+ g# K; H% r" W

  2031. 6 _9 t6 N5 h, q9 n
  2032. ;eaccelerator
    3 w! G( D( T& F3 ^, u: L

  2033. + g4 W! X9 ~# H4 _# [
  2034. ;ionCube
    8 z# s- B) p2 i7 m  x% k* V6 t

  2035. - p" p  `' h5 S4 P9 r6 Y) y1 a
  2036. ;opcache5 j$ h3 N. d: d2 u
  2037. ; C7 [! N) Z1 [- [+ O  V
  2038. [Zend ZendGuard Loader]
    : U8 H, ]9 @! V2 l: \% A% Q
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so4 o- P$ p" Z( U  G
  2040. zend_loader.enable=19 O$ U* `1 I3 U1 \3 {" o2 O
  2041. zend_loader.disable_licensing=0
    * Z$ r$ p% {( u) W$ W' h4 G7 t
  2042. zend_loader.obfuscation_level_support=3
    ) `) Q9 i. U5 Y5 A
  2043. zend_loader.license_path=
    ! l4 [6 S4 C! D" h: I/ i4 o$ J( c

  2044. : n4 K" u4 _7 ~* J. n& N
  2045. ;xcache
    . V/ x: c( c3 M- B; j7 r* u
  2046. ; U0 W0 t4 `: }! J3 P' ^, d# G
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
/ G8 p, X2 E; q  E
( L- d. c1 y6 F7 c# t" j. m+ f+ z! e8 {8 l' e7 y
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
. E! j0 |- W) |  }$ k: k, V- B# Y* O: `( I5 O7 B7 z; ^4 U
Discuz!程序版本选择:& u: n* @+ D4 P7 u+ ?/ E" i
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
: e/ o- C5 P5 h1 X0 r不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
) ^9 _- ^1 S& uDiscuz!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。
0 O' D# x9 H  L$ |! o7 V" j* r" K2 p# m+ W
Discuz!插件模板版本选择:
3 w2 P2 s3 d7 l/ P- M很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
3 z7 Q3 d& D- C5 a针对这个问题做个统一的普及:
* C) H8 C, V: T# \* y* @" XX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。( c" ~! j. A+ N$ C! g" U

! S5 P; [, r  V1 t' i9 P5 p. n所以
( q& t0 ]0 y3 @+ ^+ C. h适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。/ i1 i5 E5 i' G  ^+ E4 l
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。1 a% ]( B7 s  U* r9 x9 b
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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