分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0/ `2 r8 o% F7 o2 W6 y
, ^7 ~1 g9 d" v5 c8 k8 o
  1. [PHP]) i: n) P1 a- z0 I; B
  2. $ L8 p1 w9 T" T' [% A
  3. ;;;;;;;;;;;;;;;;;;;7 c* T# \2 p$ w$ b; p
  4. ; About php.ini   ;& l; ?* E; Z/ f: J) V: j7 A  Y
  5. ;;;;;;;;;;;;;;;;;;;
    : t6 \$ J$ U; k0 D; t$ ]
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ' W9 O2 h# c5 p
  7. ; configuring many of the aspects of PHP's behavior., j+ g! [4 A7 q; Y' f0 _9 L
  8. 5 c, L- S1 b- f. z
  9. ; PHP attempts to find and load this configuration from a number of locations.
    # E+ r: E* [/ T) S: }0 ^
  10. ; The following is a summary of its search order:8 v, R2 @( ^/ H, N
  11. ; 1. SAPI module specific location.
    ! G  `3 D) I! R' a
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)' B3 T0 L, ^# j4 t
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)& r0 @4 F6 K) B# i9 |
  14. ; 4. Current working directory (except CLI): k5 j6 m. Y8 z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    # e/ n+ F, x9 Y
  16. ; (otherwise in Windows)# R" p) d4 Z; D7 q) T
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    - w3 J  V: Q. \7 L, ]) U/ k2 i
  18. ; Windows directory (C:\windows or C:\winnt)
    : _& R" s, H1 N" c  X- ]
  19. ; See the PHP docs for more specific information.
    ; B0 V6 v9 i" f" z7 ~  N
  20. ; http://php.net/configuration.file) Q! i, H6 y; i# R! ]
  21. - @; K' |8 U1 T/ D- q( n) ]
  22. ; The syntax of the file is extremely simple.  Whitespace and lines1 i/ g5 Z3 J% \
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    % p9 [; v3 r" A# u* H6 Y6 o2 W
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though2 z1 y) ?3 G$ n6 u+ j
  25. ; they might mean something in the future.  @+ ?. f' r. i6 O  q6 y. S5 u5 y1 t& D

  26. ; h; Q/ Z6 z" ?6 J( T
  27. ; Directives following the section heading [PATH=/www/mysite] only
    2 c  ^7 l1 X9 }/ ^
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    / r+ J7 R, @! B# m4 Z
  29. ; following the section heading [HOST=www.example.com] only apply to6 i* Y* s6 M0 R% u, {
  30. ; PHP files served from www.example.com.  Directives set in these5 B  n( t+ D+ j) E9 I
  31. ; special sections cannot be overridden by user-defined INI files or1 V5 X/ W: ~  N8 g0 Q+ r4 |
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under: k$ ^4 U" c# b8 y: O2 O
  33. ; CGI/FastCGI.9 f: E6 G  \, n) v
  34. ; http://php.net/ini.sections- m$ A6 |  q# k, C& t4 P4 K" `/ V

  35. - B9 z- W1 i/ g8 @* B; E7 D$ b
  36. ; Directives are specified using the following syntax:0 S9 H" m  ?: M7 z3 W
  37. ; directive = value
    3 h; [3 r0 `6 ~/ i0 @+ t. c
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.% Z5 k" e( T- f; u6 i/ C7 ~
  39. ; Directives are variables used to configure PHP or PHP extensions.- @. Z7 ~% X% L" f2 q7 Q1 ^
  40. ; There is no name validation.  If PHP can't find an expected
    , {. r" v/ i  f, q% ]3 N
  41. ; directive because it is not set or is mistyped, a default value will be used.! J3 B+ K" W! ^2 _" l' R4 f3 t# I! z
  42. % V& i0 L! r0 T: W' f& P- l
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one' [0 g1 t0 P( ?8 b
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    2 P% b" L: p( t# l" c9 Q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a- f2 M+ x8 O" B1 R6 o3 i& X. Z& ]
  46. ; previously set variable or directive (e.g. ${foo}). `9 U; Q3 J# f2 `3 u' C( h1 X/ f

  47. - N3 E7 ^. F) |, x( @& L2 e
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:8 @- _4 ^& c7 B% ^# y
  49. ; |  bitwise OR9 m! X6 R/ Y- N7 \9 w
  50. ; ^  bitwise XOR' L/ K* x9 a" m+ |+ T4 ~- T
  51. ; &  bitwise AND
    $ w  p! `" J* ]0 c9 w$ O# y2 d
  52. ; ~  bitwise NOT3 F. B7 n8 }4 p+ h3 r2 J# z
  53. ; !  boolean NOT
    7 O3 C5 l8 h; j# K+ b  z
  54. % S9 e5 ^: A) J3 P! ~- M
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.1 o  J3 R- {3 }4 ^( r7 x0 Y' Q0 Y
  56. ; They can be turned off using the values 0, Off, False or No.
    ' V1 {) U6 k4 V" l

  57. * c8 M6 i% w; V" D9 t
  58. ; An empty string can be denoted by simply not writing anything after the equal
    # n  x& E' A+ p' C
  59. ; sign, or by using the None keyword:6 L6 j0 ^' u& x

  60. 4 s8 d7 A/ d' k- h% S; n1 L
  61. ;  foo =         ; sets foo to an empty string
      E9 l3 t7 I7 g
  62. ;  foo = None    ; sets foo to an empty string" @( ]% A$ C9 \. \' G) J
  63. ;  foo = "None"  ; sets foo to the string 'None'
    $ T4 l* m. `6 J* o4 ]0 i/ u
  64. 3 C% y; h  p" I6 `. p9 W
  65. ; If you use constants in your value, and these constants belong to a
    2 \( J4 E0 s: q9 f3 k" G5 d5 [( y
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),, u6 o4 r: \/ N0 z
  67. ; you may only use these constants *after* the line that loads the extension.
    4 b' B9 U6 w1 l
  68. # J3 a4 y7 n3 ^5 o
  69. ;;;;;;;;;;;;;;;;;;;) r  x+ h, Y' R: \% p
  70. ; About this file ;6 S1 a$ n" B% K0 g  ?) A
  71. ;;;;;;;;;;;;;;;;;;;+ I, Y+ \1 D' ^9 M" J8 \
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
      G% t- i0 ~" b
  73. ; in production environments and one that is recommended to be used in" q: w: h/ I9 E* J/ I; S
  74. ; development environments.8 f1 l& J; \1 Q

  75. ) F9 ]' ?) S. W  O; Z/ {* ?
  76. ; php.ini-production contains settings which hold security, performance and9 I7 c6 ~) h" r' F) h) y  {) }. X7 t
  77. ; best practices at its core. But please be aware, these settings may break
    : x) K! u5 \6 [9 r- ]8 x* R
  78. ; compatibility with older or less security conscience applications. We
    / D# X* a9 d' \) l. ^
  79. ; recommending using the production ini in production and testing environments.
    & I7 y+ U6 ?* R- F9 |" l) k- J, N

  80. + |" U8 K( w: z# O" b
  81. ; php.ini-development is very similar to its production variant, except it is
    " X3 O* F0 J7 H
  82. ; much more verbose when it comes to errors. We recommend using the
    ! v8 {3 F' B. A0 L6 Q
  83. ; development version only in development environments, as errors shown to
    3 X  H! S- P6 h  |8 ?5 @* P) K* P0 G
  84. ; application users can inadvertently leak otherwise secure information.
    " V8 Z, J" M  h
  85.   S5 G% X* `0 g2 z9 V/ R2 p
  86. ; This is php.ini-production INI file.
    ) D- m; ~1 o8 R) [
  87. 6 e: Y1 L4 Q& L/ W3 f, f7 g
  88. ;;;;;;;;;;;;;;;;;;;
    ' Q4 m+ [) \$ J' H5 d
  89. ; Quick Reference ;0 H0 H7 o1 u7 W
  90. ;;;;;;;;;;;;;;;;;;;
    & U/ Y+ k. v2 y! J
  91. ; The following are all the settings which are different in either the production$ e& d) R. z- l; c; p
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    + x9 S( Z% k% l3 \: m
  93. ; Please see the actual settings later in the document for more details as to why. D7 c. A9 A; ~/ k; F
  94. ; we recommend these changes in PHP's behavior.
    4 S( ]( s9 }/ u$ }0 c# f

  95. & x6 G5 l5 v2 f' s3 M, T" \
  96. ; display_errors: {; f. t2 _' n3 b# c
  97. ;   Default Value: On. C; H: D8 b+ ?8 }8 _  K7 E3 |/ R
  98. ;   Development Value: On( Z2 v/ b0 t; s/ j5 V* X8 R
  99. ;   Production Value: Off
    . H) S2 E0 F9 P
  100. $ }: }: E1 [* J3 F5 |" m
  101. ; display_startup_errors
    2 a% [9 p& }# X+ m# l
  102. ;   Default Value: Off
    6 d2 g2 u2 ~% T/ c' r. |
  103. ;   Development Value: On- D. P; U  R) \9 H
  104. ;   Production Value: Off8 H! E) Y; I" ~4 ~

  105. # m& T# f  l4 `
  106. ; error_reporting
    9 O5 K3 x- T, J  ^. K# l9 I
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED: F6 J# l% ]0 _" a9 m: q- e. g! m" X! ~
  108. ;   Development Value: E_ALL* }( q- q+ C: n+ ]% L2 r, c2 @
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 u+ a) u, r. S+ X, M8 J# \
  110.   n* F/ D( M, b2 _1 s
  111. ; html_errors1 I+ V: r) j, U6 m9 V4 [
  112. ;   Default Value: On
    2 K; o7 G" }* C" Z" g. I! B; m
  113. ;   Development Value: On" j, |3 Q  {3 E. s7 m- x
  114. ;   Production value: On- `' P' ^; S7 b/ Q  \% O

  115. 4 e1 A+ l9 w& \7 z4 f
  116. ; log_errors
    9 |4 F( x% O" e* ~, G( a' C
  117. ;   Default Value: Off
    8 L. G$ f6 o8 m8 a& E2 c
  118. ;   Development Value: On) S- N# E" @" @9 [
  119. ;   Production Value: On
      U3 x! v! N& _3 J  D! P! P
  120. 9 ^$ X# L2 {; ?2 Q: ?! g" x
  121. ; max_input_time& k& X; f9 M5 r$ j6 J& w
  122. ;   Default Value: -1 (Unlimited)9 c9 b8 u7 @0 c' j7 v" }
  123. ;   Development Value: 60 (60 seconds)* R- Q( n+ i: u2 M) |6 s
  124. ;   Production Value: 60 (60 seconds)
    $ ]0 v, ~' \' `7 P

  125. 7 Q& B6 ]0 q8 c8 i' ~) _  y
  126. ; output_buffering
    ! _3 I7 m2 H* \# Q8 n
  127. ;   Default Value: Off
    ! w" l! M. J1 Z
  128. ;   Development Value: 4096
    / s( t! R* C9 Q
  129. ;   Production Value: 40968 e) @& U) J' i+ e; h2 p; B2 ?9 }

  130. 8 C8 l7 I% R: l9 r
  131. ; register_argc_argv9 i) }' c/ b  E# _3 f" r
  132. ;   Default Value: On
      ?/ Z9 i6 k! h! x) O
  133. ;   Development Value: Off
    * x1 ]; t. ~/ X
  134. ;   Production Value: Off/ [: t( |+ l& J

  135. ) ~6 S2 D% z+ e5 a9 u. A6 n5 ?
  136. ; request_order
    6 J+ i2 _, v& e" z
  137. ;   Default Value: None" d7 U0 ~2 ?$ R
  138. ;   Development Value: "GP"' e% y- s  Q: ^. d
  139. ;   Production Value: "GP"+ O! o4 o5 O* X9 f2 \. y

  140. & q& r, t) w& x+ U+ U% @
  141. ; session.gc_divisor
    8 X4 }" {) ]+ o3 `5 c. h4 ~
  142. ;   Default Value: 100
    , ^" w# X0 u& C( {( l  @
  143. ;   Development Value: 1000
    4 b. P) D( B. l2 S9 c
  144. ;   Production Value: 10004 L; X% t- b( V0 n. z0 f. m5 Q: v

  145. 3 ]" U! s6 L0 f0 ^& E* n- x: L
  146. ; session.hash_bits_per_character
    8 P5 g% P0 k8 u  j9 p: |
  147. ;   Default Value: 4. s+ E' z6 n0 x9 P. h/ M4 G
  148. ;   Development Value: 5
    6 a- d6 l! N% x2 e2 O  d: A
  149. ;   Production Value: 5
    ; W5 h: a! A& Q$ P8 w8 o2 U
  150. . i' X  [/ c' s2 M8 S
  151. ; short_open_tag
    ) p3 @; Y3 d+ f& M3 f" E/ [7 {
  152. ;   Default Value: On3 H- F8 `+ `# ^5 v
  153. ;   Development Value: Off: \; }7 e+ _+ u. W! \- w+ i4 B9 u
  154. ;   Production Value: Off4 B+ b5 w- b5 ]

  155. ; B$ ?0 @+ L+ H* k  i0 j
  156. ; track_errors
    ( a9 o* V* W% B( e+ \& _4 m/ K5 H
  157. ;   Default Value: Off
    5 c; o9 Y' o% }
  158. ;   Development Value: On. v+ S! M$ _0 P* K7 P! |+ ~
  159. ;   Production Value: Off/ h0 [, o$ s: S$ {9 u9 ?8 b, e

  160. ) u9 U0 @$ P' W7 q* x
  161. ; url_rewriter.tags6 s; @5 x& f9 @/ T% M1 H9 f
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    , M( |  K, p& T1 n$ Z4 ~
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 _9 C" l* H% _3 d0 }
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 W4 {: q0 C8 e3 V

  165. 5 l0 q7 I- g3 E( a* a- v
  166. ; variables_order
    6 u/ I8 [! C8 Z) X
  167. ;   Default Value: "EGPCS"
    : Q2 d* |6 a: N$ w
  168. ;   Development Value: "GPCS"- ]4 u8 q5 R: j1 d5 _
  169. ;   Production Value: "GPCS"
    5 _2 \9 ~" S" _0 y; `" T" o* a

  170. & G' [3 ]9 a- y, \
  171. ;;;;;;;;;;;;;;;;;;;;( l) r- j! s2 @& P
  172. ; php.ini Options  ;
    , S2 e& l3 M% ~
  173. ;;;;;;;;;;;;;;;;;;;;
    1 o* ?. Q: u& t4 g4 j
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"9 T  {+ s+ Z: C: w
  175. ;user_ini.filename = ".user.ini"8 P& T2 j3 l: B$ g8 N. ^7 x% d; Z

  176. ) A. z( ?4 @6 S
  177. ; To disable this feature set this option to empty value: L1 H( Y5 h2 }, l5 |1 z6 H/ p  c
  178. ;user_ini.filename =5 Y; e7 ]4 i/ C& U% ^
  179. 5 w; Z7 n; H1 d  g4 V1 R
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    , N* @- U# O# @: z/ m" L- e* u9 _
  181. ;user_ini.cache_ttl = 300
    ; c0 G, P( f2 z, o: k3 p1 m0 B

  182. : v; @; ^( P6 k- V# N+ w( s" |
  183. ;;;;;;;;;;;;;;;;;;;;. G: B9 a- U2 z* u' N
  184. ; Language Options ;
    # n) |- b+ G3 A; W
  185. ;;;;;;;;;;;;;;;;;;;;
    . j* G  C6 j" c
  186. 9 ?; L4 ]6 b# r9 S1 O* p1 N
  187. ; Enable the PHP scripting language engine under Apache.- A" ~& n7 `' h( M9 y( ?
  188. ; http://php.net/engine
    6 l3 E+ F' P  Y9 H* H5 i8 ~- {) o
  189. engine = On
    6 ~( i4 A: O" m5 `
  190. ! J; |/ @2 L' ~$ g
  191. ; This directive determines whether or not PHP will recognize code between
    ! o2 m4 v) j/ \+ x
  192. ; <? and ?> tags as PHP source which should be processed as such. It is7 I9 Q! @* _# ~7 _: W. h4 ?( Q
  193. ; generally recommended that <?php and ?> should be used and that this feature& i. }8 N% o1 A
  194. ; should be disabled, as enabling it may result in issues when generating XML9 A& C% I8 E5 q  F
  195. ; documents, however this remains supported for backward compatibility reasons.8 E0 S! }! k& E8 C2 G
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    , |0 M5 r$ R4 S* h  E( A; `5 v% r: D
  197. ; used regardless of this directive.- p' U6 B. |- d. D8 Z! B* U5 B8 Z
  198. ; Default Value: On3 h2 K4 d9 K+ T3 m, m3 {
  199. ; Development Value: Off/ Q9 f& ~, O4 t& M1 X; H! L
  200. ; Production Value: Off
    % B8 ^3 W1 E% [' _4 z4 e
  201. ; http://php.net/short-open-tag
    9 G% w# k& X6 h: v  c! Q% X+ M$ k
  202. short_open_tag = On( [& I+ j9 t/ H% D/ ~$ ^) S5 m

  203. 7 Q9 [' Q8 y# }7 v$ k# @
  204. ; The number of significant digits displayed in floating point numbers.) s* y" r+ r5 a% r
  205. ; http://php.net/precision% @3 s7 Y' b2 H( l$ a) ~3 e2 ~
  206. precision = 142 R* {! i# o1 Y' K7 _9 Z9 v* `
  207. ; S/ o, d( X% H3 C
  208. ; Output buffering is a mechanism for controlling how much output data
    ; N3 S# S: q6 Z2 f# j1 c) w% h
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ' j# l; a; ~5 A1 A5 U6 P
  210. ; data to the client. If your application's output exceeds this setting, PHP0 ]" t6 ^0 L) r) U5 \6 ]* {
  211. ; will send that data in chunks of roughly the size you specify.  j- a1 X: c, T. c
  212. ; Turning on this setting and managing its maximum buffer size can yield some+ _# s7 e. d: J7 D
  213. ; interesting side-effects depending on your application and web server.3 a- C' A* O0 p) o, |9 U; p( Z) ]
  214. ; You may be able to send headers and cookies after you've already sent output4 R: d! q6 F7 g6 G& g6 w5 ~
  215. ; through print or echo. You also may see performance benefits if your server is
    0 F9 o! g1 ^3 }# `' Z
  216. ; emitting less packets due to buffered output versus PHP streaming the output! e8 O9 u- A! q0 F3 g8 c
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance2 t3 W! B4 A3 T( B
  218. ; reasons.2 S3 K. W" W( T! N) U4 _( T5 \, `$ e
  219. ; Note: Output buffering can also be controlled via Output Buffering Control7 z6 a- I7 S6 y) Q7 Y% v
  220. ;   functions.% \0 Q. n" a/ z" C- m
  221. ; Possible Values:
      g  M0 q6 M) G# G
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)! ?) q) m& \# J9 }, P( S9 Z# v
  223. ;   Off = Disabled) i8 q7 O$ Z! h7 `. w& l
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.9 {) N5 U- ~5 d# g2 |9 j2 w
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    & q) `4 _: ]( Z- f
  226. ; Default Value: Off
    & }/ r- ^0 s- G  x4 o* S
  227. ; Development Value: 4096
    * P1 P5 ~+ W3 L% n  M% ?  r
  228. ; Production Value: 40960 z" _# a' W: _8 X0 y
  229. ; http://php.net/output-buffering
    & A) _' h- F! x: ^  g8 n
  230. output_buffering = 4096! N$ I1 o& K4 j; d4 [% c, T5 [7 `. Z2 [
  231. + v4 J* \7 H- l% U& K( J9 X, p
  232. ; You can redirect all of the output of your scripts to a function.  For
    5 ^# @5 ~' Y- a
  233. ; example, if you set output_handler to "mb_output_handler", character
    ! d: O- I, f% i# L* R6 d3 K
  234. ; encoding will be transparently converted to the specified encoding.
    + B! h1 ]6 t& {/ [# r6 p, e, U
  235. ; Setting any output handler automatically turns on output buffering.
    . k0 _' G4 @# F8 F$ [! ~
  236. ; Note: People who wrote portable scripts should not depend on this ini: F/ ?' z; b' }( B  j
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    3 s1 K+ Z& h8 e) ~9 q% Q3 o
  238. ;   Using this ini directive may cause problems unless you know what script
    ) T, R* P7 _$ L+ q& m
  239. ;   is doing.
    4 V& N, c7 W: ]# M/ D5 H& @% {
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"4 v) J4 i% q5 C4 {$ K
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".$ v( p& d  a5 Y. w& D% `
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    1 }) Z. y3 ]0 ?
  243. ;   Instead you must use zlib.output_handler.
    & I' l, a, u3 p
  244. ; http://php.net/output-handler
    ( C$ y: W  Y' [5 o5 @8 {' t9 S5 |$ b4 d
  245. ;output_handler =
    0 Y  K5 Q  P' Z* @

  246. & X' f3 F0 k1 |. e7 I
  247. ; Transparent output compression using the zlib library
    6 W5 a$ R7 g$ v# k
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size' m/ V* w+ @7 k8 U8 O; G0 ^. p
  249. ; to be used for compression (default is 4KB)
    4 T% H# b( A% t  i
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    / f7 F. }: M7 x% C1 Z
  251. ;   outputs chunks that are few hundreds bytes each as a result of' I) s9 j: a$ A6 I8 Z
  252. ;   compression. If you prefer a larger chunk size for better9 H+ T/ X5 V6 d9 ?, |
  253. ;   performance, enable output_buffering in addition.1 L0 J  T* A  V4 [+ H. C
  254. ; Note: You need to use zlib.output_handler instead of the standard3 h& @2 s+ E7 Z( o% N, T
  255. ;   output_handler, or otherwise the output will be corrupted.6 j$ F- s9 f3 P4 J" R7 q
  256. ; http://php.net/zlib.output-compression
    + A% m2 C4 j) J( U
  257. zlib.output_compression = Off
    ( J8 r+ E% I: U3 x+ \
  258. 8 ?; B9 N3 ~5 U  D/ O% M
  259. ; http://php.net/zlib.output-compression-level+ J* I' ?. x, ^% T: J1 u
  260. ;zlib.output_compression_level = -1
    & _& }* S; E; [  W

  261. ' d( ?1 g1 ?% u3 f! s* l
  262. ; You cannot specify additional output handlers if zlib.output_compression0 r5 y+ w. J# E
  263. ; is activated here. This setting does the same as output_handler but in( }" t& P, A. b, L/ t
  264. ; a different order.
    * M& ]" Y" u* \; C
  265. ; http://php.net/zlib.output-handler8 }: ^, D  o( w' w
  266. ;zlib.output_handler =. ]/ }& i# ?! ]1 n' s

  267. 0 ?$ }2 n* @% n" T% {
  268. ; Implicit flush tells PHP to tell the output layer to flush itself( w; x% b2 Q$ |* V/ l' Q; P
  269. ; automatically after every output block.  This is equivalent to calling the9 A. B. `! J" b3 \1 O' {+ F8 R
  270. ; PHP function flush() after each and every call to print() or echo() and each
    1 a1 A% T0 x6 s8 G  S
  271. ; and every HTML block.  Turning this option on has serious performance
    1 i0 [0 j4 O/ x; F& N8 k. ~
  272. ; implications and is generally recommended for debugging purposes only.7 F& Q# t( \8 F( I, B) k. Q  V
  273. ; http://php.net/implicit-flush
    $ A+ H8 }/ n, O" E. w4 Q3 u
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    & e+ U2 B6 t' b5 L! x; B
  275. implicit_flush = Off
    2 C; u5 q) f* s  \

  276. ' w& \& d" G! l9 f4 p; T. h5 |
  277. ; The unserialize callback function will be called (with the undefined class'  L5 r" w' }4 a
  278. ; name as parameter), if the unserializer finds an undefined class& f$ e: Y( \& O! @% L
  279. ; which should be instantiated. A warning appears if the specified function is1 x+ X$ B$ }4 H1 A+ R3 t* g! Z0 v& O
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ' d4 e* A7 V' A8 H
  281. ; So only set this entry, if you really want to implement such a! M' m  U/ `: V- E
  282. ; callback-function.1 z* o- @; D* r2 ~6 V8 h; U/ P# _
  283. unserialize_callback_func =0 \: v# d9 h5 n7 m6 L
  284. ( W: ]* O4 U( j& n/ V
  285. ; When floats & doubles are serialized store serialize_precision significant7 S6 q; G7 m1 q1 a) `, B( T8 i
  286. ; digits after the floating point. The default value ensures that when floats
    % w  `+ ]/ _( f
  287. ; are decoded with unserialize, the data will remain the same." r7 C+ G( k7 T5 I7 w; ^
  288. serialize_precision = 17
    / E4 c) O6 d3 k: m8 e4 r, h

  289. , z& w' |8 M! b
  290. ; open_basedir, if set, limits all file operations to the defined directory! G4 p- a5 v! p* O
  291. ; and below.  This directive makes most sense if used in a per-directory
    1 d8 {+ ~2 r. z: \
  292. ; or per-virtualhost web server configuration file.
    7 e0 _; I7 P) f0 A% T
  293. ; http://php.net/open-basedir
    . ~9 a- c& x! {( Y$ L0 ]
  294. ;open_basedir =9 N5 n6 h; o1 v

  295. & P' }2 `9 R  K$ E+ l7 I' d
  296. ; This directive allows you to disable certain functions for security reasons.8 g; g" c; P5 h- Z4 S' \
  297. ; It receives a comma-delimited list of function names.
    0 C' }. u1 |; {" I
  298. ; http://php.net/disable-functions6 O: |$ j5 X' j6 F9 K# t) }" C
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru' u; K+ T) e- }' N. _" |

  300. " t5 Y& e7 ]" }
  301. ; This directive allows you to disable certain classes for security reasons.: ?* N6 H5 W; g) n/ J
  302. ; It receives a comma-delimited list of class names.7 `' x6 S. W; [
  303. ; http://php.net/disable-classes
    , ]8 o" m+ }5 A
  304. disable_classes =' v  \# ^& ?6 _) V

  305. 9 D. c; P3 K6 e9 ~( J1 h
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in& C$ w8 ^. p5 S& Y! J& z7 d8 M6 h: v
  307. ; <span style="color: ???????"> would work./ j/ c2 K4 H! _4 x6 e
  308. ; http://php.net/syntax-highlighting' |) O* g- k1 c5 B
  309. ;highlight.string  = #DD0000
    % k7 W8 t# i3 O7 q0 H' @! a
  310. ;highlight.comment = #FF9900: T! J& x9 p. K( R, A- i" j
  311. ;highlight.keyword = #007700" S; u7 N, x; k# e0 p
  312. ;highlight.default = #0000BB
    ( q  ]& H, p! d/ E4 o  c/ o" k
  313. ;highlight.html    = #000000$ i6 T7 ]- s" J/ V) [3 o6 I
  314. - ?  p; _) ?/ Q. h# z' v# B1 c
  315. ; If enabled, the request will be allowed to complete even if the user aborts5 E5 L( G$ z4 }: \  `, I
  316. ; the request. Consider enabling it if executing long requests, which may end up7 _5 W- `# }# _8 _
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    6 p. ?/ I! H" D7 b  X' [; _
  318. ; is to disable this feature.4 s4 K! V( Y% E+ Z& A2 u
  319. ; http://php.net/ignore-user-abort
    + l0 S/ M' T( \6 f; @
  320. ;ignore_user_abort = On
    . j% [& G7 Q* D% }3 l

  321. ( v5 V& H9 L# b6 J" i9 W+ I' V
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    7 B8 H4 H" Z1 u6 m7 w2 o# H
  323. ; be increased on systems where PHP opens many files to reflect the quantity of+ @- G6 [& b3 _* B, @3 K
  324. ; the file operations performed.
    9 ^2 X% h9 o) y3 _
  325. ; http://php.net/realpath-cache-size
    3 z( Q7 R. ~, |4 K# n1 C( O
  326. ;realpath_cache_size = 4096k" x/ h  M" |5 r" K* D

  327. ' U: ^4 a+ D' m5 U; F
  328. ; Duration of time, in seconds for which to cache realpath information for a given( r' ]* ?1 T, X. p- K  i0 I' \6 ?
  329. ; file or directory. For systems with rarely changing files, consider increasing this: z3 g8 A. ]9 p5 V7 J: @
  330. ; value.
    % A& f0 u' \* v; ~: q
  331. ; http://php.net/realpath-cache-ttl) ^. y2 f; s* a
  332. ;realpath_cache_ttl = 120
    . ~. N' W4 e, u$ t- e5 n
  333. 8 [/ s1 Z1 A/ D4 B" T
  334. ; Enables or disables the circular reference collector.* q- t. D: f& D/ d$ ^
  335. ; http://php.net/zend.enable-gc
    8 B  E- w5 D1 f, K; _: q. k! q
  336. zend.enable_gc = On
    ; _3 R2 F' b3 b  @
  337. , e, F1 ^/ p5 V; C
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    / _7 ~/ s" Y- u: j0 P  {
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such- c( U& W2 i: V8 Q
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ( _; O( R* g! y$ g' a: r( ]3 r; z
  341. ; Default: Off
    ) W" U6 C& L8 z' b+ J/ r
  342. ;zend.multibyte = Off
    * q" J8 b' x. T& }

  343. # f4 D7 e  U) I8 m$ R* B
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    / B4 p9 e; y  Q$ ~! B7 X" _
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    6 x2 P& r/ d: o9 x' v1 G" |$ a2 \+ `
  346. ; Only affects if zend.multibyte is set.
    ( }* @5 g' [2 O$ Z
  347. ; Default: ""
    + k9 s' p& l( o* H
  348. ;zend.script_encoding =
    0 H& Q+ N& t" H8 F  y7 `

  349. $ C$ }6 s* Q4 ]4 c
  350. ;;;;;;;;;;;;;;;;;0 u% S  Z3 J, e" D5 k! `3 a
  351. ; Miscellaneous ;! R' f  [$ P, h
  352. ;;;;;;;;;;;;;;;;;
    # g4 B/ l+ c0 U

  353. 9 a8 p- E' c+ q% {8 Z, z- {4 `
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ! e$ R8 |' |* \0 N
  355. ; (e.g. by adding its signature to the Web server header).  It is no security5 v. ?! u6 o" E
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ; ^" g: N; W5 V0 F% A
  357. ; on your server or not.  P4 B% k  i. A2 H
  358. ; http://php.net/expose-php
    ' u) J  Q3 B0 _
  359. expose_php = On
    # u8 U0 K0 L: E' A. ?& r3 r
  360. ) d; k" Y6 j7 ]. `" }7 G
  361. ;;;;;;;;;;;;;;;;;;;
    / O6 ?, A5 M4 j1 l, y
  362. ; Resource Limits ;
      c/ s$ D) g1 O
  363. ;;;;;;;;;;;;;;;;;;;
    # l- A9 K8 Q. t+ Y, t3 s* L, B% ]

  364. % T4 N- \7 I/ Z( L
  365. ; Maximum execution time of each script, in seconds
    / e) `5 Z2 X0 j% [% l
  366. ; http://php.net/max-execution-time$ L9 |, M; ?* y
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI: n# F' |7 S2 h4 }
  368. max_execution_time = 300
    6 {% H9 m  t3 E1 r' x5 q
  369. ; v6 o, N& e( N- Z
  370. ; Maximum amount of time each script may spend parsing request data. It's a good) w: T8 k6 G5 v! d/ f
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    $ g# L8 V4 s# X* N" }9 d- X  f- o0 d
  372. ; long running scripts./ b; c. P7 R3 S0 K  W
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI! T% z6 e. x5 N) ^
  374. ; Default Value: -1 (Unlimited)
    ; S( ~3 `3 S9 W# d) R' h
  375. ; Development Value: 60 (60 seconds)# f- S& }8 \( s5 U8 P$ I3 k" P( Q
  376. ; Production Value: 60 (60 seconds)
    * t) w, c2 R* a- A# @6 Y3 D3 C, X
  377. ; http://php.net/max-input-time
    # C) b& d, ?# v$ U4 W
  378. max_input_time = 60; j# D. e! z; S$ T

  379. / [5 i' |' F1 m: d# Y; Y( c; Q# a
  380. ; Maximum input variable nesting level- ^/ V1 l: s8 S- F+ @8 T+ J5 a
  381. ; http://php.net/max-input-nesting-level
    ) q! M  H1 O  q: k' b" {  A" m
  382. ;max_input_nesting_level = 64, F1 A6 C$ p* y) h% m
  383. / H  G- V; r6 B' e7 ^1 C% P" {
  384. ; How many GET/POST/COOKIE input variables may be accepted/ d; b% l1 _, l2 d$ d1 v. O6 ~+ C
  385. ; max_input_vars = 1000
    & T3 y3 N# ^% z$ ]" t0 p/ S2 f
  386. 8 l: E' z+ J/ E' m( s- k
  387. ; Maximum amount of memory a script may consume (128MB)
    - a' J3 Y) j' ~( a& T% S
  388. ; http://php.net/memory-limit0 [5 T2 C2 F$ ~4 V* @; Z
  389. memory_limit = 128M
    5 |! P2 `% L  W1 _& W
  390. / _0 W3 Z5 `4 m% H" A
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , ^* N4 p5 S) K0 l
  392. ; Error handling and logging ;% f! `2 Y8 t9 s, t4 R+ R
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    5 ?* w! `) x; `: M! S

  394. 4 y( n% A) m2 Z$ U3 v# T
  395. ; This directive informs PHP of which errors, warnings and notices you would like* U( X8 v; `) {( Q' T" ~
  396. ; it to take action for. The recommended way of setting values for this' ~5 h- c0 ^/ m; z" {& n
  397. ; directive is through the use of the error level constants and bitwise
    9 O/ l  _& m8 A- x) \, B, z
  398. ; operators. The error level constants are below here for convenience as well as8 c+ G/ X" Z3 O# l6 t, O; Q
  399. ; some common settings and their meanings.9 {/ V$ V8 q$ y- X9 n' e( K4 a3 _
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT" c0 h& M5 G% T! O! T6 j. s! }& G0 |
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and, d5 ?7 B* G' N' k  M
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    - [" W( a( o# J3 p
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    " J! X, Z8 j6 j# q5 ^3 q! Q9 g) l9 l  v
  404. ; resources complaining about best practices and coding standards. That's what
    9 W2 @$ M- Q$ I" F  ?
  405. ; development servers and development settings are for.' S, E1 X! U, c8 ^1 J
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    0 [. q7 U1 l/ |
  407. ; means it pretty much reports everything which is exactly what you want during4 m0 j  b, N8 [0 C
  408. ; development and early testing.
    ) R7 b8 L: J. p4 U
  409. ;; g0 H: S$ J, V+ U3 o/ I6 e* w9 r& A: B
  410. ; Error Level Constants:
    # }* N  q+ D% H& c4 \
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)( o- N5 \% \& U7 a# c+ ]
  412. ; E_ERROR           - fatal run-time errors, |" H: e' M* C% A4 B! `( E+ d
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    3 K. B" C- W' }! t! r* ]+ x
  414. ; E_WARNING         - run-time warnings (non-fatal errors)! Q6 c0 M3 d# t  `" o3 b
  415. ; E_PARSE           - compile-time parse errors$ o7 x# d: a# A  l# E
  416. ; E_NOTICE          - run-time notices (these are warnings which often result) X- N- ^+ \. R. W4 v
  417. ;                     from a bug in your code, but it's possible that it was
    + P. x( {' m2 H9 M
  418. ;                     intentional (e.g., using an uninitialized variable and9 r: A' ?9 h  Y- n8 B3 y# ?& I  q: D
  419. ;                     relying on the fact it is automatically initialized to an5 m* Y6 z) h* P# R8 }6 N
  420. ;                     empty string)) r1 Q  y1 }0 s0 j2 g4 w
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes4 R( e: T1 L  ]; T# G1 E) k. W  M9 l
  422. ;                     to your code which will ensure the best interoperability
    $ v' M4 ?4 p. w3 O! K
  423. ;                     and forward compatibility of your code
    7 d; U7 [% e0 C+ `6 R4 B+ ]
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup* S1 Q' p9 P/ Y' @, L
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    % ]6 ?; h) Q* O1 o: n* t; y
  426. ;                     initial startup
    ; y. O, K- r0 S( L
  427. ; E_COMPILE_ERROR   - fatal compile-time errors( y5 H6 T: k$ m
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    " z) w3 E7 s) T/ @" d
  429. ; E_USER_ERROR      - user-generated error message
    4 l( {* ?7 E3 V
  430. ; E_USER_WARNING    - user-generated warning message
    ) V: q  U& r! Z0 n
  431. ; E_USER_NOTICE     - user-generated notice message
    3 [. S5 |# C# W3 l" [& G
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    . E% O& C2 u  r* V1 T# G5 k
  433. ;                     of PHP: ^: \5 ~* E; a
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings- w2 s9 E. Q5 j1 Z8 Z! S
  435. ;: Z5 f) C. A( Y' `' w0 {
  436. ; Common Values:
    2 }* v0 O* c$ W9 M
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)9 e$ B+ r+ ?! I& K6 e
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)  {, j0 R+ P! N- k, y: @, v4 i0 V7 ^
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)0 L! w. d+ n2 k0 G/ Y+ m) N
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)' `3 R) j8 X0 w% p
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ( A' a1 q& _' q: E; {* O7 q: D
  442. ; Development Value: E_ALL
    + x- w' P" l7 Q" t0 q" U
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ! M, b. G2 }% B
  444. ; http://php.net/error-reporting
    ' d( t- Q7 L! `4 j# @
  445. error_reporting = E_ALL & ~E_NOTICE6 }% S& L5 Z$ i6 |

  446. 7 D' E5 W  D& G9 t: E0 v
  447. ; This directive controls whether or not and where PHP will output errors,* |& d0 y% t- N& W* L2 r
  448. ; notices and warnings too. Error output is very useful during development, but- y9 \9 y0 E" L1 q, X0 m: `9 S
  449. ; it could be very dangerous in production environments. Depending on the code
    7 ]7 ^& N4 o$ Z. F# u
  450. ; which is triggering the error, sensitive information could potentially leak' b. X9 v0 m3 X  d4 A# Z
  451. ; out of your application such as database usernames and passwords or worse.' ]- }4 ?( u' I# v( ?$ q/ V! H3 q
  452. ; For production environments, we recommend logging errors rather than
    : ]& }: m. f: A3 \, v- n
  453. ; sending them to STDOUT.
    $ l/ \& |. W* o; `  }
  454. ; Possible Values:
    " U, A! L6 c6 b0 O/ Q
  455. ;   Off = Do not display any errors
    4 N1 ?' Y( f. _) l
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)9 ?% X! i5 l, T6 K* P
  457. ;   On or stdout = Display errors to STDOUT( J3 d7 O0 U5 G, s2 ^
  458. ; Default Value: On$ h! l# \3 ]- w
  459. ; Development Value: On
      E8 B. O" g# [# S) f6 X
  460. ; Production Value: Off
    5 ^7 l1 J2 ^$ }/ _
  461. ; http://php.net/display-errors
    1 e( [' w' l( s2 o1 x
  462. display_errors = On
    ' U+ a2 M8 B' @0 {2 D" x1 t- Y

  463. 7 @. }: y3 ~( \
  464. ; The display of errors which occur during PHP's startup sequence are handled' U1 Y0 v  m! ~: x6 F. e
  465. ; separately from display_errors. PHP's default behavior is to suppress those; s. t+ @7 ]7 {8 b$ ~, q' m" b/ b
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    2 p. k8 m( a0 ^# k. t
  467. ; debugging configuration problems. We strongly recommend you. K; r* U/ H3 Z
  468. ; set this to 'off' for production servers.
    + R6 U% R6 @, f: w5 D& I# V
  469. ; Default Value: Off
    1 @. {5 ^8 |/ C5 F3 W6 Y: h
  470. ; Development Value: On! [9 i! |* d/ X* l* K, j# J4 y
  471. ; Production Value: Off9 o% D- y/ S$ x% Z
  472. ; http://php.net/display-startup-errors
    ( V) S5 v# B4 h1 R
  473. display_startup_errors = Off( Z& _: k4 V% L- a9 ^

  474. $ F; B' o0 |+ Z8 D4 a! q, X
  475. ; Besides displaying errors, PHP can also log errors to locations such as a3 m, k& b+ R5 X
  476. ; server-specific log, STDERR, or a location specified by the error_log  T* J0 B! i' y8 a& g
  477. ; directive found below. While errors should not be displayed on productions$ q9 v$ A, }2 G' s$ B; `
  478. ; servers they should still be monitored and logging is a great way to do that.* _9 J) t  ?9 j0 u* H# A# A( R5 m& ]
  479. ; Default Value: Off! P. F, f  i' [$ N9 a: S0 ?
  480. ; Development Value: On/ u1 M- u5 z' _) U/ c( I
  481. ; Production Value: On
    ( Y) I  y* F  a0 @
  482. ; http://php.net/log-errors/ \; l5 |( @3 t
  483. log_errors = On* ~2 b) T: O7 a' @5 Y- |1 P

  484. ! L7 }9 X$ y1 P7 }* P) l+ D
  485. ; Set maximum length of log_errors. In error_log information about the source is3 n9 \* q3 z% k* v( p
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    3 d. h# c, {  l6 g! i' j
  487. ; http://php.net/log-errors-max-len+ A: {" D" u  v
  488. log_errors_max_len = 1024
    8 K: o% t7 X+ `5 o& i
  489. 2 S% E6 H( b3 t4 t) ?  m% d
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same( v. i% S0 \  W7 l8 T9 d6 Q
  491. ; line unless ignore_repeated_source is set true.
    $ T" Q. }- P% ]/ o: ]" z
  492. ; http://php.net/ignore-repeated-errors
    + j' P# d# r" U; m5 y5 x5 v
  493. ignore_repeated_errors = Off  X. X; G9 v. X) ?& s

  494. ' Q$ w9 u: T* K0 E- S' L
  495. ; Ignore source of message when ignoring repeated messages. When this setting' W/ `( H* V$ h  c3 H0 d
  496. ; is On you will not log errors with repeated messages from different files or
    7 v: U* v; C* h' F. l, T/ I* b
  497. ; source lines.
    5 ]0 |3 Z1 u0 D# k- P1 O, u
  498. ; http://php.net/ignore-repeated-source$ k- l/ n( t1 m8 a1 J& j% V6 |% o
  499. ignore_repeated_source = Off3 O+ @. ]' w4 w# R, o
  500. 8 V: D  ?( ^; L# `( x4 H
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    & L. [$ b' w1 c- _1 `6 t
  502. ; stdout or in the log). This has only effect in a debug compile, and if& j! Z; M1 C% N- z+ y1 X
  503. ; error reporting includes E_WARNING in the allowed list
    " {) f0 F6 ]$ m5 V6 |7 K, w' l
  504. ; http://php.net/report-memleaks
    ; E, ]( i! y' C. b+ t8 U
  505. report_memleaks = On
    / s6 J1 H5 P2 V
  506. : D' @, Z! _0 t
  507. ; This setting is on by default.: ^, E) i8 `) \) U
  508. ;report_zend_debug = 0
    % ?& v7 ^" d$ ^' m7 W
  509. 9 v! }+ y0 f1 ~. o, j
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    2 r( n6 I' ^8 e/ X- l3 G/ \; [
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    * [3 Y0 d8 p/ E
  512. ; however be disabled on production servers.6 h) s* N2 G- e* ?, l) y& R8 q" @0 q
  513. ; Default Value: Off5 m2 W0 z! n% T. y# E
  514. ; Development Value: On
    , ~3 n' s3 B& e8 P5 f1 W3 w) b, J, T
  515. ; Production Value: Off
    ' }' e3 P* U9 ^* S0 `6 g
  516. ; http://php.net/track-errors$ I4 D9 l3 S  t" J8 w! n
  517. track_errors = Off
    2 l; B  d9 E( m  V6 j

  518. / ^. N" Q4 e4 c4 Z  ~
  519. ; Turn off normal error reporting and emit XML-RPC error XML% x$ H" {4 j- N6 c, u% ~
  520. ; http://php.net/xmlrpc-errors
    ' F5 A+ }. i# K+ S& l+ T
  521. ;xmlrpc_errors = 0
    , R: W' c1 ]" h5 q& S, u1 N
  522. & L) X9 }, `/ y1 d; N/ o+ T
  523. ; An XML-RPC faultCode8 f: R* q) |4 e1 E- q
  524. ;xmlrpc_error_number = 0
      u: S( \( C* p6 j% {: b8 K
  525. . y: x% F. a7 z7 k
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    . Q! ~7 F3 l7 z, e
  527. ; error message as HTML for easier reading. This directive controls whether
      t8 f1 _" h. |4 @: L  \
  528. ; the error message is formatted as HTML or not.
    - ?. _+ V% C! |) v" z' f1 j$ @
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI6 W; Q8 v+ F) Q" R( \+ Y& }
  530. ; Default Value: On( b+ X% k; _" j9 s: Q; L& j2 I
  531. ; Development Value: On  i3 F( M$ F. L, m* Z, ?8 Y
  532. ; Production value: On
      {  Z" S5 b8 N* R
  533. ; http://php.net/html-errors9 m, j7 f: d) Y4 x/ A
  534. html_errors = On
    ; _: J" s% ^* E3 b0 v% L( {

  535.   u) h! g: g7 }
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP2 ~) |9 r+ a  I1 h& c' v
  537. ; produces clickable error messages that direct to a page describing the error$ S+ |6 \+ E, ?( D
  538. ; or function causing the error in detail.* c! `: o. C7 z7 E5 _: Y2 ~
  539. ; You can download a copy of the PHP manual from http://php.net/docs3 b) }2 b2 e2 h8 f
  540. ; and change docref_root to the base URL of your local copy including the( e* a: y8 j' B( V8 p0 P
  541. ; leading '/'. You must also specify the file extension being used including
    : A8 y+ M# L( L
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    0 p5 O! _. `' ^7 M, }5 A; G4 H
  543. ; case no links to documentation are generated.
    ' S4 [" e% G, {3 N. D7 T% A
  544. ; Note: Never use this feature for production boxes.
    & T) k' C! z. S$ ~3 j
  545. ; http://php.net/docref-root* [& `; R* C% u+ Z6 S
  546. ; Examples  p3 ~9 U* _, b7 ]4 |
  547. ;docref_root = "/phpmanual/"* ?/ [+ W. p1 p9 _, a2 y1 `
  548.   }& ]) D" I  v8 e- D) y4 g
  549. ; http://php.net/docref-ext$ M' A0 P# D+ D3 y, V
  550. ;docref_ext = .html
    ! t$ |% F( M" x  n; z, o9 |3 t

  551. , Y) B6 _5 J! H/ W+ F  `; P
  552. ; String to output before an error message. PHP's default behavior is to leave1 g( Y# R. H" P$ t; X: L' L$ a4 `
  553. ; this setting blank.
    & u- e$ K% b# A: F
  554. ; http://php.net/error-prepend-string
    6 o  l, }* M3 L7 u% @
  555. ; Example:* E6 b( W5 k+ B" s# L5 c
  556. ;error_prepend_string = "<span style='color: #ff0000'>"7 G- s/ }+ o. Y5 ?9 m
  557. 6 @. o( S* J. [2 J& R- A  f, c
  558. ; String to output after an error message. PHP's default behavior is to leave
      j. B: k7 q* V' H3 E4 S7 Q
  559. ; this setting blank.( [6 d4 o3 P% V( [
  560. ; http://php.net/error-append-string
    4 p8 r7 q. N6 X+ F5 n6 h. Y6 G
  561. ; Example:
    6 [+ i" S# G5 G" g
  562. ;error_append_string = "</span>"
    & y, s0 `, Q" h% ~  A- i$ W/ G
  563. 4 p( B/ J+ X' X% f$ {# M2 u" e. U
  564. ; Log errors to specified file. PHP's default behavior is to leave this value* e, C' e% Y7 n
  565. ; empty.2 M# r3 P. t% p& p" r' @( a% ?
  566. ; http://php.net/error-log# |/ _& u6 f3 m$ Y* Y* V9 @) `/ w2 k
  567. ; Example:1 n2 L6 c0 v6 C7 [
  568. ;error_log = php_errors.log
    2 p, P6 X4 j6 p$ g, Z2 x
  569. ; Log errors to syslog (Event Log on Windows).
    6 f6 D) E. v$ O9 a" r
  570. ;error_log = syslog
    0 V( g! @* ~2 `  t# h8 o( q# g( h
  571. 7 e# f$ ^6 a- @9 k7 M
  572. ;windows.show_crt_warning
    + m- s6 F) H3 a* m+ D( H
  573. ; Default value: 0
    * T& `, p: n* j: y: H! k
  574. ; Development value: 0
    + Q" I! @& `* j& W+ o0 B1 d
  575. ; Production value: 02 Y5 Q% C, o# U) [0 Q

  576. ) E. h& X6 T! @% K% |" ?
  577. ;;;;;;;;;;;;;;;;;
    1 `$ z; j0 S  }
  578. ; Data Handling ;6 e' b+ t0 \% s, m# l1 w% G
  579. ;;;;;;;;;;;;;;;;;
    ' a, L/ ?$ v  A3 _2 g( J# M

  580. ) j; w( B& y% }, E3 l; D& X
  581. ; The separator used in PHP generated URLs to separate arguments.
    " Y  f/ ]1 r! {- B* |# E
  582. ; PHP's default setting is "&".
    3 u. u0 R. M5 R9 l
  583. ; http://php.net/arg-separator.output+ x# X5 h$ Q: ]* E3 S* `
  584. ; Example:
    / x1 Q7 z0 n7 [" O1 N/ O
  585. ;arg_separator.output = "&"
    " K. l5 Q+ U/ W4 M5 m2 J3 f/ x
  586. ! t& Y8 k. G# l* L$ X9 F
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    * Y) l$ y5 ?- t  r3 U7 E
  588. ; PHP's default setting is "&".& L  I4 q1 y$ {! p
  589. ; NOTE: Every character in this directive is considered as separator!
    0 N$ x; D: v) j' N; f8 }! ]; Y
  590. ; http://php.net/arg-separator.input* O4 z' D$ J1 b/ |
  591. ; Example:
    ) s4 o% s. W( }) Q
  592. ;arg_separator.input = ";&") ~7 e: E. ?. W( E& I

  593. ' I" m! t5 S4 @" @8 r  m
  594. ; This directive determines which super global arrays are registered when PHP" t' ?5 ]( P* }+ C$ e
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    % T0 t: w3 O  N0 U3 X! y
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty, k, }% m1 N5 H; O3 l5 g
  597. ; paid for the registration of these arrays and because ENV is not as commonly, ]' A5 m4 i6 s3 J! W
  598. ; used as the others, ENV is not recommended on productions servers. You
      |6 i0 X' H: ~! _; o( g6 C# |# Z
  599. ; can still get access to the environment variables through getenv() should you" S- k  i8 g6 y5 F. c0 x
  600. ; need to.$ F) t$ X+ [7 z- B. p
  601. ; Default Value: "EGPCS"5 U  O8 g/ E& T: k' T, ?
  602. ; Development Value: "GPCS"
    & h* ]6 r8 J3 ?" j) h
  603. ; Production Value: "GPCS";
    2 H: t( N! J6 r% v+ ]5 X8 ?
  604. ; http://php.net/variables-order
    ) R5 u+ u! P7 G7 j
  605. variables_order = "GPCS": g+ b) A6 i9 L( @' m+ f
  606. " }. R7 j* E/ t) k
  607. ; This directive determines which super global data (G,P & C) should be$ q/ l+ m4 F4 K( f0 P, D2 ?5 y
  608. ; registered into the super global array REQUEST. If so, it also determines  G) e, E, @9 k" G+ n2 Q
  609. ; the order in which that data is registered. The values for this directive! }* Z* d/ X* R( `+ R5 {1 @! k
  610. ; are specified in the same manner as the variables_order directive,
    . f; E1 ^/ O; n! Q# Y# D
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set7 k+ \. ]6 i5 v
  612. ; in the variables_order directive. It does not mean it will leave the super
    7 l0 f8 M$ N: D3 ^" H8 ~
  613. ; globals array REQUEST empty.
    + I- I- q5 e3 ]9 l$ R5 s$ M% P$ d
  614. ; Default Value: None; g3 ~7 \5 N, q& F
  615. ; Development Value: "GP"7 ]$ B7 J+ M  e) G& n- V* s+ U! m
  616. ; Production Value: "GP"
    % G+ C- V8 u3 a6 o& ~: O
  617. ; http://php.net/request-order1 q  x6 @- O* u1 h/ @* F9 v7 ~
  618. request_order = "GP"
    & F, F: [  C- i! }. [/ i3 I

  619. 5 B6 r% _! M: b6 z0 T: p
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ( X, s" z* z4 i8 e/ L$ b9 H7 B
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script; a: R* `# P6 S! l! N
  622. ; is invoked. $argc contains an integer representing the number of arguments- @! Q5 p+ {" w% H6 f) w9 A) C
  623. ; that were passed when the script was invoked. These arrays are extremely
    ' K, L5 P1 X# W$ C& L" l9 ]
  624. ; useful when running scripts from the command line. When this directive is
    - O. @6 y! ?5 q- @' U" ?
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    2 ]/ d3 P8 f7 X* r: z2 G
  626. ; a script is executed. For performance reasons, this feature should be disabled# Z$ `0 j6 V4 K7 r
  627. ; on production servers.
    7 e( V  `# A, ^; w+ {+ d
  628. ; Note: This directive is hardcoded to On for the CLI SAPI6 F6 Z6 @8 Q, k$ e  A: M
  629. ; Default Value: On2 ~2 h% w: F. t4 y! F; ]5 d
  630. ; Development Value: Off' d, i1 ^* R* O
  631. ; Production Value: Off: L9 g2 k2 \) T5 X7 O4 h# R
  632. ; http://php.net/register-argc-argv' g+ ~( x8 B: T" D
  633. register_argc_argv = Off
    - a; x3 r. y: G8 U' e

  634. + W* T9 D9 {- @
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
      P: m7 Y/ n7 v
  636. ; first used (Just In Time) instead of when the script starts. If these8 K; j2 i) w/ ~% A) O* A
  637. ; variables are not used within a script, having this directive on will result
    4 b- s* W* I: G6 x' }9 X, z4 Y
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled+ ]: x4 k* r/ C& o" ^+ {. n/ H
  639. ; for this directive to have any affect.
    1 D* `0 O2 u: _- G$ P  h2 ?
  640. ; http://php.net/auto-globals-jit( P( e# K# P' U( {
  641. auto_globals_jit = On
    / x2 q0 `0 }8 x1 X7 Y9 L. }5 R
  642. ( N0 `7 f7 A. c4 g& X& [
  643. ; Whether PHP will read the POST data.
    ) R$ @* ]2 u3 M) V- _
  644. ; This option is enabled by default.3 a: d* [! x7 R& T! m0 |
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST  N% q! M0 ]3 t9 D8 |
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    2 v# p6 n% S' Z" J; `6 ^. ]
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    5 v' u# ]& L/ H2 Z: e
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
      J7 h. f( a% f* P7 S* Y
  649. ; http://php.net/enable-post-data-reading" J, k: M4 P; g9 I
  650. ;enable_post_data_reading = Off
    - m  o& r  |! a, g! S  L. N

  651. 7 n+ K7 @( {7 w& G1 o$ Y) t
  652. ; Maximum size of POST data that PHP will accept.
    ; A- y. n7 ]% h' M) x( n
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading* M0 h# `% r+ C! h$ S/ h
  654. ; is disabled through enable_post_data_reading.+ H6 Z* m7 J. c' ~) u1 A
  655. ; http://php.net/post-max-size
    7 G; y, }. ]! q& P0 q7 A( e5 r
  656. post_max_size = 50M
    0 @. J! L" [7 x& |

  657. 4 j) O) X6 U( z9 \' _
  658. ; Automatically add files before PHP document.
    5 W1 ?- ]7 T0 m* H
  659. ; http://php.net/auto-prepend-file; G" p9 {2 ]) V, U) p1 m; I5 l
  660. auto_prepend_file =, C, o5 x' @4 z6 x( B  C
  661. 4 X, O0 ?4 h9 R7 f; L  I% J+ o0 i
  662. ; Automatically add files after PHP document.; K9 ]1 o, B) _" \
  663. ; http://php.net/auto-append-file
    9 y6 N3 h$ A) T7 B% j7 n( n; k& l
  664. auto_append_file =
    0 v6 i% \5 z7 S1 X# H& P% D  \) e1 v3 w

  665. 7 Q; \! h% ^4 B& X+ T' ]; t
  666. ; By default, PHP will output a media type using the Content-Type header. To+ D" f% Q' R  }& I" w/ A  K2 s1 P
  667. ; disable this, simply set it to be empty.6 ]6 ]# D, G. U+ C  z- W& k
  668. ;8 Z+ X8 C+ w+ ^
  669. ; PHP's built-in default media type is set to text/html.$ _& V$ K- j' {, E8 F& ~! k
  670. ; http://php.net/default-mimetype
    9 D( B& K6 ?% ]2 ]2 C
  671. default_mimetype = "text/html"9 O' c  {7 w( O0 B. `

  672. $ `! p6 {, z( B" m- n
  673. ; PHP's default character set is set to UTF-8.# a2 |9 T* n5 E1 ?1 g6 c% `1 ]
  674. ; http://php.net/default-charset4 y. h8 t5 K& Z' `; F) j, c2 R7 \
  675. default_charset = "UTF-8"1 B) a8 ^1 S0 y$ H
  676. 6 {' |$ w3 R* A
  677. ; PHP internal character encoding is set to empty.3 [: I) {$ B1 G& F3 S9 x" L: v! N
  678. ; If empty, default_charset is used.
    $ k2 {" l0 o) f/ h# J# w$ x) f* ]( P
  679. ; http://php.net/internal-encoding
    2 [3 P4 V  ?; H7 v. E* k! m
  680. ;internal_encoding =5 m8 m2 F$ u1 u4 G' S9 d) x% q

  681. 7 d. i; y3 u( z% w" E
  682. ; PHP input character encoding is set to empty.
    ) ^6 u# m2 s7 g
  683. ; If empty, default_charset is used.6 g8 i2 s$ c) v3 V5 t' N0 t2 p
  684. ; http://php.net/input-encoding/ C+ q$ ?# H' ?" w3 C) d
  685. ;input_encoding =+ Y* }# T; G$ D3 i% R4 m
  686. * l# @* q0 q" c. d- |
  687. ; PHP output character encoding is set to empty.( ^+ l6 A. e/ Z5 A3 r) ^* y
  688. ; If empty, default_charset is used.
    9 Q2 M) q3 z3 M/ I8 p2 L& Q/ F
  689. ; See also output_buffer.
    4 `% g' P6 I* z7 i9 r
  690. ; http://php.net/output-encoding
    & G1 F! C5 s& a8 m1 H$ b
  691. ;output_encoding =
    9 [% S1 P/ w# C
  692. : u8 z2 P' s. z+ E+ S: H1 Q
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    8 T& q2 S9 L. x8 G7 x- I5 n
  694. ; Paths and Directories ;
    # q0 Q# l$ w# @8 E
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    # D1 ~2 @4 m; ?# o0 ^# ^

  696. 2 ?+ G0 v% s: n& t0 j% x" y( T0 l) |% s
  697. ; UNIX: "/path1:/path2"
    ' R3 U1 W9 t1 Y9 a) Q/ u2 [
  698. ;include_path = ".:/php/includes"
    + f0 J0 J- S2 M" R1 c0 o
  699. ;
    5 q, b; B( M1 }- h6 G+ U/ S: s
  700. ; Windows: "\path1;\path2"
    / v7 w  N1 t' l) w; C/ E6 S) r
  701. ;include_path = ".;c:\php\includes"
    # ^$ i  g5 ^9 h' ^, Y& a' {6 Z
  702. ;) b' ?* q/ P5 d2 G: A
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    0 l. F3 M& F, W$ c9 m2 v4 C9 ]/ G
  704. ; http://php.net/include-path- j4 b; V# N& ?0 }- x+ [! O( a- W

  705. ) @4 L% V% m8 r; Y. p
  706. ; The root of the PHP pages, used only if nonempty.
    - \. i; u/ d2 t& R3 m5 J
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    : d9 c9 ^" p- A- G3 Z
  708. ; if you are running php as a CGI under any web server (other than IIS)
    " Z' k: v9 q7 l8 }: a9 ^/ q  r
  709. ; see documentation for security issues.  The alternate is to use the1 y- z" Q- Y* d  T8 l
  710. ; cgi.force_redirect configuration below6 m, G' q" E$ Z: m7 y7 O9 o, V
  711. ; http://php.net/doc-root
    ' U) o) P" Z: {6 L% [: U
  712. doc_root =; B& `8 V9 |% j0 o

  713. / D. s' d/ [2 r$ D
  714. ; The directory under which PHP opens the script using /~username used only
    8 t8 L/ t. ^- x* ?* u
  715. ; if nonempty.
    : U% e4 K# j6 h( n+ c
  716. ; http://php.net/user-dir
    ( ~- v! g5 ]  P  Y% X
  717. user_dir =9 `6 T7 U( k% {" w$ _" |

  718. ; G; P, V. |$ c6 }
  719. ; Directory in which the loadable extensions (modules) reside.
    0 K4 R$ v: E0 ^/ ]  ]: V) j6 @
  720. ; http://php.net/extension-dir
    + g. s0 b' N! a  X
  721. ; extension_dir = "./"
    ; l+ y2 x, y8 I; ?
  722. ; On windows:; n% H; ^& z& A5 `6 Z9 e/ R9 C
  723. ; extension_dir = "ext"
    / |# p( V! I1 F8 x7 O
  724. ' O3 A) B1 X. l
  725. ; Directory where the temporary files should be placed.
    7 O) m4 H+ Q( z; l
  726. ; Defaults to the system default (see sys_get_temp_dir)
    4 y* b2 Z0 r$ Q$ p8 e0 F
  727. ; sys_temp_dir = "/tmp"
    ( o, H6 s( M# ~/ i
  728. : z& N0 h8 ^  @  \( K) i  q) m4 u
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work5 S1 H, V8 q+ [( f: F* m5 m. s
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically; p8 u2 l- e6 j0 |
  731. ; disabled on them." H/ w( q2 k2 }9 f) v# ]
  732. ; http://php.net/enable-dl
    3 J" j6 C: u0 n1 j# w  [: p: ^: o* ^# v
  733. enable_dl = Off
    ) S, i5 ^, K- R7 k/ }# Q! o# p) h
  734. , I9 f9 y/ `0 t0 K& a8 P4 h
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under% R8 d# k  X7 M6 R" N
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can0 o6 H* Y8 h) K6 E
  737. ; turn it off here AT YOUR OWN RISK4 x& y' S" N- w
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    9 [0 e; S* w$ e; {3 v
  739. ; http://php.net/cgi.force-redirect
    1 y; H! _% B/ Z" e7 K
  740. ;cgi.force_redirect = 1& @' z7 F+ J6 A  b
  741. & ]& x6 i$ g# m- J( I
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ) t/ ~( a# z" j( h: P) S9 K' e" l% y9 a
  743. ; every request. PHP's default behavior is to disable this feature.: w* r- \. W9 }" \
  744. ;cgi.nph = 1
    : H0 y& X& V7 s1 |/ `8 b; Z
  745. 9 L8 E2 O* i5 ^
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ) d: D; R# a7 @5 c
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP0 B& N4 H& K* k
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    % h/ I2 I+ ?* b/ Q
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ' |! W0 W) l# D4 M* J: m' t. ^
  750. ; http://php.net/cgi.redirect-status-env
    ( a* n2 z" ~$ H" {0 u
  751. ;cgi.redirect_status_env =
    . _% K8 I/ s( g0 l

  752. 1 T  r* ^8 k4 G& B
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's2 j! t$ w9 P* n; p2 ]0 B
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok% f  l9 T+ v7 {0 X+ |
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    1 W2 E; R  M: m; w$ ]' n) A
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    # s% Z) G1 Q: f7 M2 m
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ' l+ Y" U& Q) S, B6 Z3 G" ]
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.' Z/ _4 H. Y2 b4 t" B6 k/ c
  759. ; http://php.net/cgi.fix-pathinfo
    ; h6 u! p4 X2 r2 B3 M5 G/ L
  760. cgi.fix_pathinfo=1
    - |& P9 l5 z% d8 t, ^
  761. 6 O" M' Q2 G: n, J* a' V% o
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    # p/ S/ O) N+ U. V
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    8 n0 b5 y0 L8 J# u( R
  764. ; http://php.net/cgi.dicard-path
    , n1 O3 B! f- e3 _
  765. ;cgi.discard_path=1
    8 i$ p7 [" L/ ^9 W" t
  766. 8 m' V5 t" r# s9 f
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate0 p) O) d5 Z3 N8 P4 W
  768. ; security tokens of the calling client.  This allows IIS to define the1 I. J7 g. ?# M, b# x4 t9 K) ?
  769. ; security context that the request runs under.  mod_fastcgi under Apache9 ~$ w. K% {  Y: ?' S
  770. ; does not currently support this feature (03/17/2002)$ e8 o5 P! ~6 j
  771. ; Set to 1 if running under IIS.  Default is zero.2 ]) G# u; q, \- q- s& R. n" B
  772. ; http://php.net/fastcgi.impersonate
    / ?$ G0 h# X% ?
  773. ;fastcgi.impersonate = 1
    6 z; k/ t6 i6 ?/ H! J0 d+ h, g
  774. 1 n+ d" n& Q' ^
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    + u2 @  B: ^9 I, |2 g2 d% M
  776. ; this feature.- A$ i8 K7 r7 @1 ]' E
  777. ;fastcgi.logging = 03 l, B8 m" N& ^' y6 _
  778. 0 M' l9 D! O  c
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    5 H1 o5 Y7 [0 `0 y9 i0 B, E2 W+ W
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that+ E# V7 M: A" d
  781. ; is supported by Apache. When this option is set to 1, PHP will send( [' k3 v6 }- k6 J0 [/ u
  782. ; RFC2616 compliant header.
    9 z! P  e& U( I9 R$ V2 O
  783. ; Default is zero.: r8 l, q! O! Y1 V
  784. ; http://php.net/cgi.rfc2616-headers
    3 A- e( @3 s4 f7 M2 B9 n! ]
  785. ;cgi.rfc2616_headers = 0
    " M' b5 T2 Y7 b( c6 _" Z* M$ h

  786. . [7 x4 [; g7 e5 w% p
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!" U7 y+ S7 `' _6 _1 z4 x) ~
  788. ; (shebang) at the top of the running script. This line might be needed if the
    * N1 M" j: y& O1 v: k
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI- U- a1 i( l% Z
  790. ; mode skips this line and ignores its content if this directive is turned on.
    9 ?6 d4 m* b6 n/ @, [* t! n3 x
  791. ; http://php.net/cgi.check-shebang-line9 Y4 G: K& i+ ?+ |1 K- Q
  792. ;cgi.check_shebang_line=1
    ( h* N( O% G1 e+ L

  793. % Z0 a" l9 H0 J: ?/ s; k* I
  794. ;;;;;;;;;;;;;;;;
    # m3 ~  f2 Q, b- }  t$ E# n
  795. ; File Uploads ;+ W. {$ o9 c- T% e0 O' `& S3 j% F
  796. ;;;;;;;;;;;;;;;;
    5 b' w- V  }; G% S% s
  797. ' ~: I( H+ m3 C* M. h
  798. ; Whether to allow HTTP file uploads.
    : `0 J  e7 \# X8 N6 J
  799. ; http://php.net/file-uploads
    3 C6 S6 f6 t; `
  800. file_uploads = On9 `, O" p8 o+ d) `

  801. / c9 M2 `* J% X, x: C7 J
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    / |0 G# t2 E- E  @# H/ ?: h7 S# X0 z
  803. ; specified).5 u6 q7 @! b  Q) ]
  804. ; http://php.net/upload-tmp-dir1 d; V8 r1 h4 O, W! R' \
  805. ;upload_tmp_dir =
    " O9 S; J8 ]& L" j1 f) C6 p
  806. 5 S; ~! f0 h$ b% S
  807. ; Maximum allowed size for uploaded files.! n9 ?7 g& g! i% H, V
  808. ; http://php.net/upload-max-filesize" M; `. _* r* }* ^% U) D# r/ K
  809. upload_max_filesize = 50M
    ) R) Y3 L$ L' ~* x9 l1 {7 t
  810. 7 u- q+ e" |# ]* l9 c3 G
  811. ; Maximum number of files that can be uploaded via a single request
    0 ?$ ^! l# f2 j' F/ f9 e8 W
  812. max_file_uploads = 207 l) m  s2 b+ O* h
  813. * `; L1 J3 ~! J- x+ G9 w
  814. ;;;;;;;;;;;;;;;;;;8 G2 Y8 h/ G4 s& s
  815. ; Fopen wrappers ;8 s  K7 \% M$ t( ]
  816. ;;;;;;;;;;;;;;;;;;
      a+ \* P/ e; D, C  n" a/ d' M" C/ Y

  817. . Q( H- y+ u: ^5 `, g6 p
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    . e. v9 K9 i: R: F9 w$ g, v5 y
  819. ; http://php.net/allow-url-fopen
    ' ~6 z" ]1 y7 K& x
  820. allow_url_fopen = On2 q0 s# a: Q( m
  821. $ T7 t+ h8 j$ |. L5 s6 {
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files." b/ u" i) R% C$ K* d, [4 K) a, [( y
  823. ; http://php.net/allow-url-include$ }1 J* r9 p) D) L3 J% G
  824. allow_url_include = Off5 k$ P4 p' `7 L$ W4 @& X2 y
  825. 6 x5 N" w2 M# i/ G- ]$ j1 ?
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    4 P' Y5 ^6 V& F, T& l) Z+ s* `6 Z
  827. ; for this is empty.
    . M2 s# ]( w1 W( w/ F
  828. ; http://php.net/from! T4 B: c) }* ^7 A! [2 }
  829. ;from="john@doe.com"
    % T9 ~/ B* ~* U& u# _
  830. ! M! T9 j; K: s- d7 w
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    9 A: ?& b4 G2 t8 d6 i$ v! i3 A
  832. ; http://php.net/user-agent
    - ]% u5 T- Y# d1 n# w
  833. ;user_agent="PHP"/ F$ @! N, e! Z3 g1 M

  834. ) |1 g0 k" M) ~  B- f, J
  835. ; Default timeout for socket based streams (seconds)
    & V% d) E$ A# Q1 B6 A3 Q
  836. ; http://php.net/default-socket-timeout
    ! P$ Y+ K& R/ U+ A
  837. default_socket_timeout = 60
    + t% i0 C5 }8 C# ~

  838. 0 O# U  D5 }6 l7 J; O# }; Q
  839. ; If your scripts have to deal with files from Macintosh systems,
    4 a6 l/ e2 G* a! g6 P9 v
  840. ; or you are running on a Mac and need to deal with files from$ c6 t6 x& c6 w8 g( w8 @' T
  841. ; unix or win32 systems, setting this flag will cause PHP to! o7 H8 L5 u3 X# a% V; r
  842. ; automatically detect the EOL character in those files so that
    8 d- d# ]. n5 ?& s
  843. ; fgets() and file() will work regardless of the source of the file.
    0 |2 h$ I' K4 }9 s
  844. ; http://php.net/auto-detect-line-endings" v0 W8 W$ R. h) }( G
  845. ;auto_detect_line_endings = Off" N4 S# v. N; F, ]  C5 m
  846. - L5 Z) g5 s6 t9 o0 U
  847. ;;;;;;;;;;;;;;;;;;;;;;
    , V, D: ?% o1 k! j" X
  848. ; Dynamic Extensions ;9 P- H' b& F! ]4 ~) Z! n* ^
  849. ;;;;;;;;;;;;;;;;;;;;;;. w7 Q* C3 c( |/ l* Z

  850. 9 ^: I- Y- K5 s5 m# |
  851. ; If you wish to have an extension loaded automatically, use the following, s; h7 }, x2 r# a! }- L
  852. ; syntax:3 E0 A1 W  z  v
  853. ;
    . E& B7 E- D2 o% f. z
  854. ;   extension=modulename.extension; P% a$ e' g, E5 D. M& x, ]; s8 y
  855. ;+ r/ P: N: x& ^) R
  856. ; For example, on Windows:; Z  f; o" J6 m% z8 _1 p/ S; g
  857. ;
    8 J" ?: E7 v5 h! Z2 m8 W
  858. ;   extension=msql.dll8 @9 }. I: a/ A. g. e
  859. ;
    1 |+ g7 Z2 ]3 y* O( ?- Z0 _4 N& l3 a' Z
  860. ; ... or under UNIX:4 q$ \3 M. S% s# B; x; z( n7 ]
  861. ;
      g+ Z' g1 K' |( ]3 _, d
  862. ;   extension=msql.so! \7 `1 J* l& _: N; f8 A
  863. ;
    0 {1 Q8 z( j( P) I7 ~2 I7 B; l0 h
  864. ; ... or with a path:
    - j* I, k; c& ?, d, X1 \4 D
  865. ;* J/ d* Y2 C4 Q! g7 }4 o5 F8 d7 T& p
  866. ;   extension=/path/to/extension/msql.so- S8 s: H5 o  o) \/ |
  867. ;# A$ @* p* }( ]7 g& T; t
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ! e; H) r. n: A( q. l4 v) m" Y
  869. ; default extension directory.
    1 L2 P7 r5 e/ H4 ]
  870. ;% H3 t$ l8 O9 R7 Y. G! F; P
  871. ; Windows Extensions* Z: Q- L5 {7 V) |" ^
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    # n' Q9 @6 X8 N  v. c( K2 h; D
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    & X  R% d- G3 C: P5 J
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    4 V, K( Q1 A. r7 @' c* N# o& n
  875. ; Be sure to appropriately set the extension_dir directive.5 k; P8 u7 B: K2 {8 f9 J
  876. ;- L+ j- ^* B# O
  877. ;extension=php_bz2.dll
    4 Q! _, Q) d, K. A) n# f
  878. ;extension=php_curl.dll, ]) @3 r, @' C1 G  f/ m( j: s& k2 Z
  879. ;extension=php_fileinfo.dll
    , ]% z+ K& O" L( g0 r
  880. ;extension=php_ftp.dll
    ; l$ y1 [: g# v( i: u$ U
  881. ;extension=php_gd2.dll
    + h/ G: x  K& J" z, m+ n
  882. ;extension=php_gettext.dll8 X* M3 M, E4 E* Y
  883. ;extension=php_gmp.dll# n$ ]* W9 s* k
  884. ;extension=php_intl.dll% E( ?! D6 Y. d. H
  885. ;extension=php_imap.dll
    * R  x. ]+ Y' H- H
  886. ;extension=php_interbase.dll
    # `0 f6 J+ _) Q* N2 l6 C
  887. ;extension=php_ldap.dll
      W  A8 q$ r. c+ r; S1 F
  888. ;extension=php_mbstring.dll
    ( N, B( D6 g& |) H8 D2 a. \& h
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    7 P/ X$ {0 |6 ?" C( u' q
  890. ;extension=php_mysqli.dll1 E/ I6 c+ s7 P
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client4 q  G( k4 J7 d* d  b
  892. ;extension=php_openssl.dll! s' Z9 ^' i+ h
  893. ;extension=php_pdo_firebird.dll+ x+ B+ Z; i5 ?
  894. ;extension=php_pdo_mysql.dll
    # W* K7 n- `) W) F* v* g! S, B
  895. ;extension=php_pdo_oci.dll, I! v! L! u  F8 Z- j/ z$ t* s& Q
  896. ;extension=php_pdo_odbc.dll
    ; z" [! L' Y7 g* {
  897. ;extension=php_pdo_pgsql.dll1 F- X5 q& l. Q5 ^( {9 X- q, p, _
  898. ;extension=php_pdo_sqlite.dll7 G# t. b1 o9 ?
  899. ;extension=php_pgsql.dll
    9 Z4 u# Z8 E; f6 ~  u
  900. ;extension=php_shmop.dll& j9 }# D4 X) a& N+ g" Q( ?
  901. # u2 }' |' {) ?4 V( P7 z* C1 J+ h
  902. ; The MIBS data available in the PHP distribution must be installed.! T  \4 q: c9 A
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    % I- G$ K! c. n2 X
  904. ;extension=php_snmp.dll) v" @* X. U, m4 W+ y2 Z% x" a
  905. . L6 [4 m6 m+ f7 \/ j9 j
  906. ;extension=php_soap.dll
    8 I4 d) E$ J! D# M5 g, J/ ]
  907. ;extension=php_sockets.dll
    * H% Q2 J9 o* O
  908. ;extension=php_sqlite3.dll
    % \9 Z) O% j' |7 Z+ m% c9 [) A
  909. ;extension=php_tidy.dll& x% o! m6 h! n5 N, M( ~3 P3 n, y
  910. ;extension=php_xmlrpc.dll- H- r. c, u4 k4 h. x# ]
  911. ;extension=php_xsl.dll) \9 v5 f9 M$ A/ g( x$ A  O" O4 v

  912. # L6 A5 r4 j- p' Q
  913. ;;;;;;;;;;;;;;;;;;;
    " X# T/ _2 Q+ n7 z  M4 }
  914. ; Module Settings ;
    " P  V& F# j+ t
  915. ;;;;;;;;;;;;;;;;;;;% z3 |& Z* s+ Q$ u/ Z) J6 h: U
  916. . Y2 c4 q9 p% C* T2 Y
  917. [CLI Server]
    * G% O4 a" b0 V( s% [. w$ {
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.6 Y( U- D" N1 k! M2 U% q
  919. cli_server.color = On# Y9 K9 G7 Z7 m% ?
  920. 8 K8 T2 B* p& F& f$ o3 G
  921. [Date]
    4 k+ j: O4 S( y" b( V
  922. ; Defines the default timezone used by the date functions
    + w9 j- b9 s, i
  923. ; http://php.net/date.timezone
    . I" |" Y% Z6 `
  924. date.timezone = PRC
    ( y. v* w! f. Y7 l" n

  925. 1 @" X- t0 ^% U! s' @
  926. ; http://php.net/date.default-latitude
    . T- ^, C" P7 l  ?
  927. ;date.default_latitude = 31.7667
    * t6 Z! h) q. u4 O* d7 v

  928. . }. v% C/ R2 O
  929. ; http://php.net/date.default-longitude9 }$ f3 z9 g- k& y* o0 g
  930. ;date.default_longitude = 35.2333
      |- ]3 }* d1 a( U/ V

  931. / n% a1 Y, ]8 D
  932. ; http://php.net/date.sunrise-zenith
    8 L9 k$ ^3 e7 L2 t
  933. ;date.sunrise_zenith = 90.583333
    * H  ~8 K, }, T- A9 O- z% E5 V2 @
  934. . g, x5 |, G# R
  935. ; http://php.net/date.sunset-zenith
    5 \1 M1 M6 B% [% _; {
  936. ;date.sunset_zenith = 90.5833339 X0 J- x' S2 e4 x/ p  z. N

  937. ) t) v. y7 H) p4 }! W& {" u" B! X4 Y
  938. [filter]
    # M5 |& W9 G% L2 ]  z
  939. ; http://php.net/filter.default, S. d; h$ L+ P7 G* E. z
  940. ;filter.default = unsafe_raw7 q; h$ t! L0 A/ ?) ]

  941. ' ]+ I+ S: @# e2 z0 [3 h! {
  942. ; http://php.net/filter.default-flags
    ' w( i) J( g$ M- t4 E! m
  943. ;filter.default_flags =- Y2 N  v4 y9 N& v3 }- Q. ^0 G! Y0 q

  944. 6 l' c% ~! X  d! R
  945. [iconv], i0 L8 r( w( x/ G* c& ~
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.0 `$ T$ N% i6 S+ s: j) j; L5 E) O7 `2 f
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
      G/ h! Q9 K* J" h9 n$ H
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding  m; v- M) h# \9 l% a
  949. ;iconv.input_encoding =
    ! W2 n% @6 W: P) U% f
  950. 6 A3 r5 @& Z! Q
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead., s! w* V" N8 ^% e
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ {" a6 E$ N3 u# K$ x& x4 g5 |
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / D: A, u  N+ i
  954. ;iconv.internal_encoding =* @6 {) k2 q# C* i6 G
  955. ; r6 ?  [" d- k: |$ U4 S
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    + J- Z" W7 E: ^
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.9 I  T1 |1 Y( l! Z* r6 `
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding2 g" v. m1 m  n6 }  u3 z
  959. ; To use an output encoding conversion, iconv's output handler must be set
    . j' y# z4 q, F9 p
  960. ; otherwise output encoding conversion cannot be performed.: q3 V1 X& z3 X
  961. ;iconv.output_encoding =) S* o6 y2 ~6 Y2 l; z, ^

  962. # e- V: p% x& B/ d
  963. [intl]
    8 N2 c+ Q0 S6 Z* ~, _
  964. ;intl.default_locale =
    " L# q  C, [, `% S9 K8 m1 w
  965. ; This directive allows you to produce PHP errors when some error
    , {1 T6 o% }2 e& r. G
  966. ; happens within intl functions. The value is the level of the error produced.
    ; ^& L, H, K* u7 _, e% g- `& D
  967. ; Default is 0, which does not produce any errors., z3 ]7 A9 p5 M* s7 Z- X, d
  968. ;intl.error_level = E_WARNING# d: `! Q+ D+ \9 ^
  969. ;intl.use_exceptions = 0
    8 K' b" ~, k: F4 r, i

  970. : d# z( x* v% ^( H
  971. [sqlite3]
    * }+ A* p9 P/ V% ?/ }, w8 \, ~
  972. ;sqlite3.extension_dir =$ B' v* D. W; P/ M
  973. 6 b: t% A2 h" o+ p
  974. [Pcre]
    % K  |8 B8 O+ `. l  w  s( Y
  975. ;PCRE library backtracking limit.
    # X/ K% V/ j0 ?; B- s* X
  976. ; http://php.net/pcre.backtrack-limit) n, i! Z* D  Q( z9 g7 N* i
  977. ;pcre.backtrack_limit=100000
    1 R5 s& x# i& Z, i" z
  978. # ]" s3 F, P8 Q2 B5 M
  979. ;PCRE library recursion limit.4 }7 j  @1 W: D6 w" c5 s+ u% W
  980. ;Please note that if you set this value to a high number you may consume all4 v8 v; ^5 W1 K
  981. ;the available process stack and eventually crash PHP (due to reaching the% r, N4 B0 R  }2 D  O" G; \, ^$ U
  982. ;stack size limit imposed by the Operating System).$ D; A: \( B2 i. t$ V- S2 W3 ~; |
  983. ; http://php.net/pcre.recursion-limit
    , _  k. [0 d" |# y; Q  M3 d- f
  984. ;pcre.recursion_limit=100000
    5 R4 `; w0 ^7 K5 z6 O

  985. 2 q* G: `! V' @& u0 i
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    5 j7 b4 N% P* G, I7 t# p7 P+ @: Q
  987. ;library to be compiled with JIT support.
    9 u: _* ^! R. F, j- x" p5 c
  988. ;pcre.jit=1: u: f) n: n1 c( r

  989. ' _; i2 o5 H0 o& |2 I- [: d
  990. [Pdo]
    ' m. S% U* P7 \6 `. B
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    8 i% C2 g8 F7 m- i6 M
  992. ; http://php.net/pdo-odbc.connection-pooling
      j; ?& ^( x$ G: H9 m7 ?
  993. ;pdo_odbc.connection_pooling=strict) X9 R- u3 J; i! A
  994. & g/ U' C5 u, e& K( r
  995. ;pdo_odbc.db2_instance_name1 L# B# e# q) F! u

  996. ( V- ?* m0 B1 ?2 _, `5 B
  997. [Pdo_mysql]# j# U% k. n4 m( t; y1 ^
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache8 I7 L4 m2 p% H0 F) |: `/ r$ Q$ ^
  999. ; http://php.net/pdo_mysql.cache_size
    , j$ F! ~4 ~$ S/ W" `8 d
  1000. pdo_mysql.cache_size = 2000
    5 Y* }% X  l% C6 V

  1001. 4 S) _# Z/ g& C) ?# W' f, V
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in( P; R7 m3 f( p; F% V8 x7 r
  1003. ; MySQL defaults.1 v6 [2 ~  Z$ o. e8 x
  1004. ; http://php.net/pdo_mysql.default-socket" B  \* g' w4 C% L- i1 N* d
  1005. pdo_mysql.default_socket=! f+ \* U- _, C+ }
  1006. 7 t2 v7 }. r( Q/ c7 h2 ~6 }
  1007. [Phar]
    ( ~0 J  |5 T+ V1 G, m# j
  1008. ; http://php.net/phar.readonly
    & ^8 c8 o1 L# g* R5 f
  1009. ;phar.readonly = On+ l: W9 i5 p! h/ x/ J, m) ]
  1010. 5 e# z, M3 A$ z( i  g% q" E. M
  1011. ; http://php.net/phar.require-hash- l7 _% Y2 n$ \+ W; p9 \
  1012. ;phar.require_hash = On
    & Y! @5 G4 @8 h# M3 c
  1013. ' y$ S9 Q% F/ M; i1 X
  1014. ;phar.cache_list =
    % a5 z; B- |7 i- P" T- {

  1015. ) V) U  n1 L; {$ {
  1016. [mail function]$ t5 M7 p6 _% h) G  T+ r% p
  1017. ; For Win32 only.
    4 P( l4 |* L# w9 S
  1018. ; http://php.net/smtp$ a; W/ p# h# I" Q: R9 k
  1019. SMTP = localhost
    8 U, B0 _5 Q- J. r7 v+ E8 ]8 R; r
  1020. ; http://php.net/smtp-port
    * r7 U' A' ]  G  o" H. Y
  1021. smtp_port = 25
    9 l* `$ k4 L$ X9 F
  1022. ; v# i# @: V. [7 h& x( a1 M% `
  1023. ; For Win32 only.! @9 O% v  J! M& }: H# e9 Z
  1024. ; http://php.net/sendmail-from5 t% _) I5 w5 D6 L4 a* c5 U
  1025. ;sendmail_from = me@example.com
    8 x) [9 A  U. Z0 J& Y2 X2 C8 ?

  1026. . b' W% I& V( {4 |1 K
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").( B( C5 t1 \( k7 D7 p" t: k
  1028. ; http://php.net/sendmail-path+ `, |' c* a, _/ d6 X
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ; V, F6 F* _* J: n# S9 U

  1030. & G" r( r5 Y( y( ^( c3 c
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ' p* [/ @# r8 ]6 r
  1032. ; to the sendmail binary. These parameters will always replace the value of/ {2 P( Z+ N! w+ z' o
  1033. ; the 5th parameter to mail().1 W8 \" _& }" ~/ C3 t7 t& p: [
  1034. ;mail.force_extra_parameters =
    ( N+ [# \+ ~* `
  1035. 4 Q$ }$ l# b, e! T, m
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename1 ~- w8 X& F* t: x
  1037. mail.add_x_header = On2 T' n7 P6 R. ]3 _; u' V1 U% o
  1038. ; Z3 i% Y" O8 e. R7 V. O
  1039. ; The path to a log file that will log all mail() calls. Log entries include) {' R+ Y8 z, h8 l8 g) ]
  1040. ; the full path of the script, line number, To address and headers.
    $ Q4 ?% p* r. Y5 a
  1041. ;mail.log =8 a/ m( s. r5 l1 d  {) B; H
  1042. ; Log mail to syslog (Event Log on Windows).9 B7 z& z# k2 m: ]- s
  1043. ;mail.log = syslog
    ' m( E: \5 K3 o9 z5 o$ X

  1044. ! |: @& p4 K$ I6 s8 Y, e
  1045. [SQL]. _2 T- K) `3 |7 W
  1046. ; http://php.net/sql.safe-mode/ |3 Y+ H' t" ]% J& V2 I
  1047. sql.safe_mode = Off$ c! W+ n. R' _$ a

  1048. 5 H& A/ z! k+ R% A2 K0 U
  1049. [ODBC]
    - }$ J: H% L/ p
  1050. ; http://php.net/odbc.default-db" A+ R/ ~; \$ X' t. G( T5 ?  {7 n
  1051. ;odbc.default_db    =  Not yet implemented
    $ a$ A9 V) ?1 C6 k0 U$ F" [! U
  1052. . w9 A" f9 ]. y, Y7 y, H
  1053. ; http://php.net/odbc.default-user
    ! ?* z5 t5 u/ a4 z$ w
  1054. ;odbc.default_user  =  Not yet implemented0 r* g' G+ h- _6 W3 e5 i$ P

  1055. ' T1 t7 {/ K. P
  1056. ; http://php.net/odbc.default-pw! ~. K$ N" S; C, a
  1057. ;odbc.default_pw    =  Not yet implemented/ ?% ^1 n$ o- g0 Z2 `9 [

  1058. $ V6 l# C$ n4 B
  1059. ; Controls the ODBC cursor model.3 R' w( i  T; h/ R+ g+ x3 ]" o! F
  1060. ; Default: SQL_CURSOR_STATIC (default).
    % q6 q& z9 X$ T1 m
  1061. ;odbc.default_cursortype
    2 ~, w8 I4 U' q. X; S$ V: Q
  1062. # g- ~: H9 n* f- p
  1063. ; Allow or prevent persistent links.; L  k( R. v0 A7 |4 O
  1064. ; http://php.net/odbc.allow-persistent2 j* X! r+ h6 |& {+ J; x
  1065. odbc.allow_persistent = On
    1 E  z, A1 s5 k0 K! I3 c
  1066. 2 t) g5 S; n, ~$ m
  1067. ; Check that a connection is still valid before reuse.* |& t4 n. s- x4 k, k& ^; ~$ q
  1068. ; http://php.net/odbc.check-persistent
    6 M+ S% J% ^6 s3 t" ~2 _
  1069. odbc.check_persistent = On! \" Z$ a0 |/ p3 v

  1070. 7 T  _/ j0 k$ ~9 M" E! x1 f
  1071. ; Maximum number of persistent links.  -1 means no limit.  K1 M: r, v$ P) ]% B
  1072. ; http://php.net/odbc.max-persistent6 s! l. n7 u4 A0 }
  1073. odbc.max_persistent = -1( q- i9 r9 J6 Q; \6 v
  1074. 1 k8 J' Z$ ^  P
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 Q) j% B5 O& K$ f
  1076. ; http://php.net/odbc.max-links
    & K, d2 F( p* U& X# s- @3 b
  1077. odbc.max_links = -1
    ; N! w5 R+ ]0 x. ^9 w4 p5 U

  1078. ; ^7 W# y3 K  B$ s* v; N2 Y
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    $ w4 N# F  Z$ w0 v/ C  W# F
  1080. ; passthru.
    : c$ R3 \) i5 G5 S1 U
  1081. ; http://php.net/odbc.defaultlrl! b$ q* j% k5 ]: m5 y% _4 Z4 d
  1082. odbc.defaultlrl = 4096: M) P1 W$ d7 k' d

  1083. 1 \4 t% k' n. r9 l( F  }) u5 y
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.; _" T+ l) p' ]2 V- Q
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    : Y- X; j+ O% s9 O! `8 D: H. l0 a
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    + B) m0 j5 i, t/ Z) y
  1087. ; http://php.net/odbc.defaultbinmode2 b. b+ n' t( t, U! ]
  1088. odbc.defaultbinmode = 16 D& v. t' l  Q% A" y
  1089. ' G- _5 @$ j( S0 D: d3 G
  1090. ;birdstep.max_links = -1& M( r* X* S7 j

  1091. / a3 M. x/ K" i& o; E
  1092. [Interbase]
    3 }6 V' p- Y$ c' Z/ E
  1093. ; Allow or prevent persistent links.
    & b( v! q6 l0 p0 }  l
  1094. ibase.allow_persistent = 1* u7 \' a! A! A9 _' S) @; ?6 c

  1095. 5 N" M  e. J  Z  ]# `5 r2 _! r
  1096. ; Maximum number of persistent links.  -1 means no limit.) t" q, Z6 P$ b& f
  1097. ibase.max_persistent = -1
    ( k) \# [. M& |, l  v5 s

  1098. , M* Y6 j& [+ h' s& D0 R. @
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! u$ x8 C' s; |) F3 O
  1100. ibase.max_links = -16 `& W$ }! H2 V9 C
  1101. 8 \3 w* S+ O/ P2 _- y
  1102. ; Default database name for ibase_connect().
      h) \: ^  J: [! V  W1 L/ r1 S  Z
  1103. ;ibase.default_db =. P7 J' i, z9 v1 y% a/ g5 `
  1104. , S  a4 D! E0 i% z! N
  1105. ; Default username for ibase_connect().% o" M0 {, S5 P9 M( K
  1106. ;ibase.default_user =( ]# `2 I- ]4 x+ p

  1107. " B1 A% `7 Y) l; ?; p0 \2 r4 i' j
  1108. ; Default password for ibase_connect().
    5 L. b) P4 w8 |
  1109. ;ibase.default_password =% H/ E1 t6 h4 e
  1110. / E  U$ K/ Y# h- L8 l
  1111. ; Default charset for ibase_connect().
      b, S, L3 t. w
  1112. ;ibase.default_charset =
    $ H5 r3 G+ i% t2 E6 j
  1113. - ~3 ^; ]2 I) e/ p+ A
  1114. ; Default timestamp format.) P0 S2 F- G8 a+ W8 w+ |, y, i
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    5 D' q  \" X* u% h7 t2 p
  1116. 0 [' H  h' Z: i
  1117. ; Default date format.3 x" y- o0 A5 Y! h4 j6 A2 s
  1118. ibase.dateformat = "%Y-%m-%d"
    3 z9 y: _. l( B0 o- |

  1119. # Y# T/ O5 [4 J: L9 p" t  \# G
  1120. ; Default time format.
    * s+ r, R% x: G1 p) g
  1121. ibase.timeformat = "%H:%M:%S"; O) x7 S8 \0 v4 ~

  1122. $ Q, D% u  V8 e
  1123. [MySQLi]0 D: N, G% p$ J
  1124. 9 t7 d! R. ^& k- q% j% t7 Y
  1125. ; Maximum number of persistent links.  -1 means no limit.! L3 X9 j8 _* k# l, _
  1126. ; http://php.net/mysqli.max-persistent
    - V+ S! H6 z& ?
  1127. mysqli.max_persistent = -1
    + k# W- n! C( i$ c6 y- i
  1128. * h4 P) }1 ]6 w4 X5 W  a  n
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    & `2 N; i1 [! ]1 ^7 {, D
  1130. ; http://php.net/mysqli.allow_local_infile
    % w* l/ o4 J/ V+ k! S3 ^
  1131. ;mysqli.allow_local_infile = On
    & q6 `3 }" U6 g. A2 O( D# M( q6 _

  1132. + c! R, O4 m5 X# @8 s4 H
  1133. ; Allow or prevent persistent links.
    * Q' O6 Y8 m2 Q8 b" `+ j) `" m
  1134. ; http://php.net/mysqli.allow-persistent
    : \+ W' p& u5 E& o
  1135. mysqli.allow_persistent = On
    9 r" r2 g1 f: s( q) c

  1136. ! Y) x" g( Y$ M% z# l; h
  1137. ; Maximum number of links.  -1 means no limit.5 m! T4 [5 D# W; S$ `$ P$ o, Y
  1138. ; http://php.net/mysqli.max-links
    ; R# z) D3 n9 r  j% v
  1139. mysqli.max_links = -1) }8 L# {8 K- o# X2 p
  1140. ; t( f& y- W7 N) Y1 ~9 v
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache9 j1 d. G( u0 H1 `4 b: l
  1142. ; http://php.net/mysqli.cache_size; O  N6 `3 {5 h( P" h1 w' A
  1143. mysqli.cache_size = 2000
    + Y  L( C/ u9 q. t( b' ~( }1 v! @

  1144. * F  n$ A6 C/ v
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use; g$ w8 J/ o& [2 ^7 z
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    " V) A$ d, D: K8 ^* M/ p3 Z, Q. A# S7 T4 O
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    " y$ y: c* K. r2 \4 v+ F+ l; ~9 U
  1148. ; at MYSQL_PORT.  p) `, v+ H4 X, v+ A3 ^5 L
  1149. ; http://php.net/mysqli.default-port
    / K+ h* L& P; q0 B
  1150. mysqli.default_port = 33066 c6 Q1 [+ i$ k4 O; Y

  1151. 1 X$ K. P, z( f9 u" ^
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in& }( n- ]' D- h2 |6 j7 `/ k
  1153. ; MySQL defaults.! c9 v7 I0 C& W* D1 F$ \3 v
  1154. ; http://php.net/mysqli.default-socket2 p+ G7 A! a% m" ?3 m
  1155. mysqli.default_socket =% L( a  `2 v$ G' ^
  1156. " i. {: J- k, O$ |
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    % Y1 V7 D2 A. H. s3 J4 F% v
  1158. ; http://php.net/mysqli.default-host
    , W  S3 Y  B1 a; U" L0 q. S* R
  1159. mysqli.default_host =  H3 p" }) L9 C& w
  1160. + e/ l, Z+ W2 |- M* V" U
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).& l4 a" x: r/ J5 `5 [9 o
  1162. ; http://php.net/mysqli.default-user2 i* h0 {! W. m3 i) k  Z
  1163. mysqli.default_user =
    $ `) @. q  D% N1 p( K2 |4 N2 V
  1164. 8 @% _, U# Y/ q, f: P% M, q6 Y
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).  C5 W- N# ]" g! b% r
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    9 b; Q# T* x4 ~8 H/ e& f' Y
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    9 z4 [% X1 C* Z; H' O3 j
  1168. ; and reveal this password!  And of course, any users with read access to this$ ~, k! u" D9 w' Y9 u- g% `
  1169. ; file will be able to reveal the password as well.5 r5 s1 E, X; b8 j
  1170. ; http://php.net/mysqli.default-pw
    4 A8 k3 f. w$ O
  1171. mysqli.default_pw =5 M& }4 r5 L! y  |" ^1 B5 H$ `

  1172. 2 b  m+ N% M7 r
  1173. ; Allow or prevent reconnect+ `& L3 H4 w: f9 k2 O
  1174. mysqli.reconnect = Off$ H3 R0 v% {# U8 S

  1175. 6 L6 R4 O; u6 I$ y; r+ u* ?
  1176. [mysqlnd]5 Y9 F1 `: R( v4 u8 o
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    5 b' X7 e) G* r2 Y% }0 ]
  1178. ; used to tune and monitor MySQL operations.
    $ y) w6 K( V- X; p  V
  1179. ; http://php.net/mysqlnd.collect_statistics+ p2 F( K, ^4 v  V6 K# X' z- ]! }) R
  1180. mysqlnd.collect_statistics = On9 N2 S' F' i" q8 E; ~0 k' h* R

  1181. 2 d* j+ E9 ]/ C7 C% {' ^7 e: l! W' v
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    5 U" t; x( ~, s# S% u" f/ g! q
  1183. ; used to tune and monitor MySQL operations.
    ; ~* P& w1 m. o5 f+ q8 X
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    7 a( k1 ]$ y* ^3 R. U& n
  1185. mysqlnd.collect_memory_statistics = Off
    ' `! W6 ?, n/ Z# G; d6 D# |" I
  1186. 5 ?4 m  Z: a' ?+ h' L
  1187. ; Records communication from all extensions using mysqlnd to the specified log. U3 d7 R8 `. }4 A( s; B
  1188. ; file.# x6 Q/ W9 H' U3 o
  1189. ; http://php.net/mysqlnd.debug5 m7 s5 q. |4 n" H
  1190. ;mysqlnd.debug =
    9 o% ^2 x+ b1 q5 U7 O  k- V9 q3 I, ]

  1191. # U1 A4 J7 d0 l; W  b/ b- I5 K
  1192. ; Defines which queries will be logged.
    . }+ {: Z; e! E* y" T3 V
  1193. ; http://php.net/mysqlnd.log_mask) ]# Y" m# {. i+ F
  1194. ;mysqlnd.log_mask = 07 J  E" W  @5 o8 X

  1195. ) M- {2 T0 t+ N8 n. _( {
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.! V7 I& D  t6 l, U; h
  1197. ; http://php.net/mysqlnd.mempool_default_size
    ! P9 k( ^# R8 a  s  _$ [0 w
  1198. ;mysqlnd.mempool_default_size = 16000
    % _& S& m9 W4 N3 V9 i
  1199. 2 [! n, q9 k; q% I
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
      h5 D' C3 \# ~9 P
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size9 q5 K5 c$ ]3 `0 i' o& R
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    : s$ m9 X/ k8 G+ s3 U
  1203. 2 K- N: X; {6 Z! F$ u
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in6 g, \! V4 C9 b3 s* A9 R; _! P) s
  1205. ; bytes.
    . `: p' \  t+ k& m  h+ p: t
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    3 x# X& ~) Z1 a! b
  1207. ;mysqlnd.net_read_buffer_size = 32768- [/ ?9 B! n8 q, Z' }+ o7 G; Y
  1208. ) x, V7 c4 [5 q& v
  1209. ; Timeout for network requests in seconds.
    ( v3 p. L' l. ?& v
  1210. ; http://php.net/mysqlnd.net_read_timeout+ M2 B$ c' J' y9 u/ a1 E
  1211. ;mysqlnd.net_read_timeout = 31536000
    6 C2 x( f. a+ Q
  1212. . \. b+ H- B. n% A  \8 G* B
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    6 S  ^  R+ R0 d* k4 a* n
  1214. ; key.
    / w( F, b3 U7 E  b! D- M" r
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    " U% ~0 @4 v. t* `+ ~/ t
  1216. ;mysqlnd.sha256_server_public_key =
    1 z3 j! l7 ^$ t8 V  l0 k8 T

  1217. / e$ c0 K4 ?5 d
  1218. [OCI8]
    0 S. c4 k$ d) u1 ]; B) k( M" C

  1219. 6 z* [8 L' e3 k+ t) X
  1220. ; Connection: Enables privileged connections using external
    0 P8 _& B) t+ Z% P" [* ~
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)9 U: j, ^6 v3 ?' {9 a
  1222. ; http://php.net/oci8.privileged-connect
    ; I+ @, v: Z  N
  1223. ;oci8.privileged_connect = Off
    6 V' ?1 B; y" f, B
  1224. ' c) S% ?# o, z3 _
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    - j9 |1 V. E  _/ [+ S
  1226. ; process. Using -1 means no limit.' a5 @' l) S. x. M. Y1 X8 n( q
  1227. ; http://php.net/oci8.max-persistent
    2 J, E' r2 g9 P
  1228. ;oci8.max_persistent = -1
    , D- L8 U/ K  ~+ c. [' r

  1229. , @9 S% [. V- c- D& g, j2 S
  1230. ; Connection: The maximum number of seconds a process is allowed to. H0 u0 t" T* A0 \# s! D
  1231. ; maintain an idle persistent connection. Using -1 means idle
    9 C" S! t& U/ P5 y! }4 s6 ?
  1232. ; persistent connections will be maintained forever.$ E  E9 ?2 I% h0 z' T
  1233. ; http://php.net/oci8.persistent-timeout9 ?) P2 ^: ^2 l
  1234. ;oci8.persistent_timeout = -1
    $ d. R0 J: }1 w

  1235. + I+ M6 S2 Q" l* c
  1236. ; Connection: The number of seconds that must pass before issuing a
    # v* Y6 S! l  p, S6 ~6 q+ {
  1237. ; ping during oci_pconnect() to check the connection validity. When2 P( U  J2 ]* z) L9 R0 q
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    3 }8 G$ c$ {! F. G2 K! T
  1239. ; pings completely.
    . o9 `- {! T! p% W9 a
  1240. ; http://php.net/oci8.ping-interval: Z) ?) c2 |  M0 C; P4 U5 Z  l! \/ P# J
  1241. ;oci8.ping_interval = 60
    & I, i* V; r% O) q# s; d

  1242. 0 H* Y+ l* q4 d" ?1 i5 e8 N7 j
  1243. ; Connection: Set this to a user chosen connection class to be used
    2 P9 P6 e8 h( J6 L
  1244. ; for all pooled server requests with Oracle 11g Database Resident& J* b# Z. _  f% }; `7 G
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ! W& Z1 X7 @, F' b. o, ]7 M) H
  1246. ; the same string for all web servers running the same application,1 x6 }+ {7 Y9 E; d5 S% m& |
  1247. ; the database pool must be configured, and the connection string must+ M: @5 N0 U, E8 G0 B4 N
  1248. ; specify to use a pooled server.
    4 {* l4 [3 |3 T/ L5 ?4 h
  1249. ;oci8.connection_class =! n# y  J. e3 ^) z

  1250. 1 k9 c- h! u  R; Y9 S7 [! X  Q
  1251. ; High Availability: Using On lets PHP receive Fast Application% J4 W. f! B1 }3 `: @- w$ y9 H( B* b
  1252. ; Notification (FAN) events generated when a database node fails. The$ M- F0 N3 o- D/ s) J- ]
  1253. ; database must also be configured to post FAN events., n7 \$ \. X# n8 L. Y" r6 E8 T
  1254. ;oci8.events = Off% ^$ }3 ]) L( F# N7 a
  1255. ) f4 [9 F5 [. U4 b
  1256. ; Tuning: This option enables statement caching, and specifies how
    " f9 {3 e; x' ?* G; U
  1257. ; many statements to cache. Using 0 disables statement caching.
    1 C* W# ?- r+ h( n/ w
  1258. ; http://php.net/oci8.statement-cache-size+ f9 E1 J( z* x0 c
  1259. ;oci8.statement_cache_size = 208 H! x! O! I' P% s0 d: F

  1260. ' i1 v  e) o: u3 b3 g9 `! ?& v
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    7 w/ Q# ~5 u$ W' e, k" F, W
  1262. ; rows that will be fetched automatically after statement execution.0 m- H" ?& H" h% [" J+ g
  1263. ; http://php.net/oci8.default-prefetch
    ) b" Y9 B; [4 q/ A
  1264. ;oci8.default_prefetch = 100
    ( d' u" p8 K, s) C% ?, F5 T* F
  1265. % i8 |% |# F5 u8 X
  1266. ; Compatibility. Using On means oci_close() will not close
    ) E3 @( C5 Z5 u( O( b5 ]
  1267. ; oci_connect() and oci_new_connect() connections.
    ! _" t) ]% O" e/ \
  1268. ; http://php.net/oci8.old-oci-close-semantics- G6 d8 K/ q! ~; o3 v( C
  1269. ;oci8.old_oci_close_semantics = Off7 h  Q1 f* |: U& _0 r3 q# `8 ?
  1270. ' _* h" i$ H# y% j
  1271. [PostgreSQL]
    0 p, V4 i% A2 y/ V! @
  1272. ; Allow or prevent persistent links.
    " b8 W+ B( H1 @8 m1 ]: L) Y9 \+ |* f7 p
  1273. ; http://php.net/pgsql.allow-persistent' h: i% J8 X: @; \6 ]
  1274. pgsql.allow_persistent = On
    ! V7 ^. Q5 V9 s  N. x: A
  1275.   K  D# c& W& O- h, I
  1276. ; Detect broken persistent links always with pg_pconnect().
    $ a& R/ F  t  c" C, b+ F
  1277. ; Auto reset feature requires a little overheads.5 U; [( Z& `" r6 D
  1278. ; http://php.net/pgsql.auto-reset-persistent, a# p, o7 b4 q* a( P/ P
  1279. pgsql.auto_reset_persistent = Off
    ( K* l" l: R9 D; e7 Y" T3 l) Z

  1280. ( \; I% u. G# g9 r; u
  1281. ; Maximum number of persistent links.  -1 means no limit.: w' a! V( L. K( Z# A5 ^; [" c9 b
  1282. ; http://php.net/pgsql.max-persistent" C6 U5 B2 u3 \
  1283. pgsql.max_persistent = -1
    0 Q# _! t- c1 w0 w0 {. x, D

  1284. ) e- [5 k. U" O: \/ U
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    2 g9 i6 s. y9 E" Q! u
  1286. ; http://php.net/pgsql.max-links1 N) ]- P; u1 ?
  1287. pgsql.max_links = -1/ m5 e. P" e! O! `" R5 [+ D6 ?+ I, e

  1288. 8 V: a3 p2 w6 U8 K9 f
  1289. ; Ignore PostgreSQL backends Notice message or not.
    $ G5 M8 C9 E. b6 i+ ]8 z
  1290. ; Notice message logging require a little overheads.
    " Q# A$ M; p$ I( R: B3 K" T  U
  1291. ; http://php.net/pgsql.ignore-notice
    # S8 u6 ^& E% w- Q/ Y" P+ |. K' H
  1292. pgsql.ignore_notice = 0
    9 i: d/ u+ {. h3 X3 A+ A6 g; m0 w
  1293. " L% }0 H5 O9 L
  1294. ; Log PostgreSQL backends Notice message or not.
    9 Y# R- a$ R  b7 O" D
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.- n$ p  {7 @' X  ~
  1296. ; http://php.net/pgsql.log-notice
    1 _( N& j. `9 y" n' d" j& V) i
  1297. pgsql.log_notice = 07 b  ~2 x! u  R+ w! o# P

  1298. " J8 L. M9 Z* O# u/ x/ t& R4 G
  1299. [bcmath]
    7 S( s7 v, S# Q6 K9 t( `
  1300. ; Number of decimal digits for all bcmath functions.
    2 L5 u  i! {, O3 _. J5 p
  1301. ; http://php.net/bcmath.scale. I7 v+ k+ G( {0 R- ?) R! K/ C3 d
  1302. bcmath.scale = 01 o1 Z5 n7 ~9 T1 U1 U- ^, w

  1303. 5 X0 K- F1 D; ^' U$ H) {7 d! O, W
  1304. [browscap]
    9 `. {1 F+ ?1 R. |- l/ d9 A% K) ?
  1305. ; http://php.net/browscap1 X" ~8 ]0 u; d$ x6 w
  1306. ;browscap = extra/browscap.ini& e, D2 j$ m6 Y+ E
  1307. 7 n& |7 ~+ S( L: k7 t
  1308. [Session]
    ( l" G' E% }8 n1 N$ k
  1309. ; Handler used to store/retrieve data.
    % E. G. ~2 |) K) e. `' P
  1310. ; http://php.net/session.save-handler6 d& H, h3 ]5 M9 m
  1311. session.save_handler = files
    ) m% x& K9 @- i/ n% G% V
  1312. 6 \9 c/ Q  l  ]. l
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    : c. ]* f7 d0 U1 H9 b
  1314. ; where data files are stored. Note: Windows users have to change this% _- @3 @( F, `/ T1 l. N' o
  1315. ; variable in order to use PHP's session functions.% n: |$ ?, Q  ~
  1316. ;$ Q/ s. p3 {; Z! d2 k* X
  1317. ; The path can be defined as:
    % E; k& O. W6 R9 ~% j! T
  1318. ;
    3 o9 q/ S* o. G7 P
  1319. ;     session.save_path = "N;/path"
    1 \7 v2 [: |- l( |( p9 g7 `. I
  1320. ;
    ) H/ ^1 \* G4 K( N/ z+ F
  1321. ; where N is an integer.  Instead of storing all the session files in
    2 }' E* G2 _1 H) G$ f1 D
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    9 q; o" U3 b5 y  c. v: b* I* r
  1323. ; store the session data in those directories.  This is useful if
    3 q0 h! K' f7 n" U/ p
  1324. ; your OS has problems with many files in one directory, and is
      p/ v+ a4 o: K1 p- u* H  B$ F
  1325. ; a more efficient layout for servers that handle many sessions.1 k9 R2 R5 A$ g8 p7 j  |
  1326. ;
    # R: {9 y3 h- M- g1 P: O
  1327. ; NOTE 1: PHP will not create this directory structure automatically.' }: i# v) R& i6 X: P/ h
  1328. ;         You can use the script in the ext/session dir for that purpose.% v. U( {: J2 o: `3 `1 r+ R
  1329. ; NOTE 2: See the section on garbage collection below if you choose to# t" g2 f! m1 U- G1 N0 _& F& n. ^
  1330. ;         use subdirectories for session storage, [# ^; N; J. i( G; _% b' Z: B; E
  1331. ;5 A# [' m* `0 @/ I
  1332. ; The file storage module creates files using mode 600 by default.
    4 ]2 z$ ^% K0 g  g3 X
  1333. ; You can change that by using# v& q  o' s0 Z+ y6 o+ l3 U
  1334. ;
    6 h$ v; M1 v" S; V8 d
  1335. ;     session.save_path = "N;MODE;/path"
    6 T1 E: E+ U2 \" I. c, P6 x
  1336. ;9 L5 U$ c' ?- D1 G
  1337. ; where MODE is the octal representation of the mode. Note that this
    " ~! p3 ?' ]& @; D0 ?
  1338. ; does not overwrite the process's umask./ T8 s6 x9 ]9 z$ a  ^1 n; M* z
  1339. ; http://php.net/session.save-path" Y" [6 R. m  v" v) i& j% W2 L2 T) S
  1340. ;session.save_path = "/tmp"0 S) A& s% ~* c: u6 p* |; T$ v
  1341. 4 M' ]- K) v: b" o
  1342. ; Whether to use strict session mode.
    4 b" e/ }8 r- r2 G: B6 k
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate4 L. t  x" B- V2 z8 E6 z
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects, C+ V; T$ V9 J0 ?1 M* b
  1345. ; applications from session fixation via session adoption vulnerability. It is% G& C% ^& J2 u, T: j& _
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    % z; e( y  C2 R4 H; s: L
  1347. ; https://wiki.php.net/rfc/strict_sessions6 ~( E6 Z  t4 _$ Z4 q5 Y. t
  1348. session.use_strict_mode = 0
    - O  C8 W: u& h( o4 `9 ?' `
  1349. . t/ J# U3 y6 i  s4 `
  1350. ; Whether to use cookies.
    + B( `# ~' y2 F* g" _& u
  1351. ; http://php.net/session.use-cookies' W9 k" t) k# P, q
  1352. session.use_cookies = 1
    # V/ n; P4 Z& n+ G9 F

  1353. 0 E2 ^5 w3 g! c, n, U
  1354. ; http://php.net/session.cookie-secure
    6 F& q! y" }! t+ O( J9 F
  1355. ;session.cookie_secure =- k7 T7 U' }6 ?; f: B9 e9 Y
  1356. * X  b$ V: ?# ]9 k1 R& `
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ! w2 _5 q: H7 P9 J, U+ T
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    6 }) k' P- P' m
  1359. ; session hijacking when not specifying and managing your own session id. It is9 S: K" T4 A: p8 d
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.) g# V* e6 R0 u6 g) ?. a7 Z
  1361. ; http://php.net/session.use-only-cookies, r) B* K  Z) `, ?9 ?0 u
  1362. session.use_only_cookies = 13 R4 |, J4 o# J, X) j. Y, @; e# T
  1363. : L, a' M6 w! j& H( {, F, Q1 C9 \; S
  1364. ; Name of the session (used as cookie name).
    + F- v; w; C% h! R! b7 E
  1365. ; http://php.net/session.name* r  A7 R* B5 x, n
  1366. session.name = PHPSESSID
    + W: h- ~( C! H5 U+ j9 ?3 x! L
  1367. $ k; l7 n' T% m) O
  1368. ; Initialize session on request startup.! m  w% {" u) i2 N2 ?
  1369. ; http://php.net/session.auto-start; }# B% y; Y5 x$ h  c8 M4 r% @( x4 @( z. u
  1370. session.auto_start = 0/ y; Q2 w( ~. |8 h7 w

  1371. - m5 M; C; O0 y; r( l
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.3 f8 a7 i% V) S; }2 Y' u
  1373. ; http://php.net/session.cookie-lifetime
    9 m+ N% v+ G# |: {: f5 D7 V5 ~
  1374. session.cookie_lifetime = 05 k9 ?9 g3 y7 ]/ N

  1375. 1 U0 h4 L* k4 E  C- X* k
  1376. ; The path for which the cookie is valid.! l. A0 ]5 L. B, R) T1 ^
  1377. ; http://php.net/session.cookie-path
    , u+ Z7 M1 N) k5 S
  1378. session.cookie_path = /. Z4 C# d1 [4 a0 z! Q

  1379. * n% W& q/ {2 M/ |) w  K
  1380. ; The domain for which the cookie is valid.
    3 S+ ]5 |% w1 f
  1381. ; http://php.net/session.cookie-domain/ O/ U1 J: ?4 J7 S. A, E
  1382. session.cookie_domain =! A+ C' }7 P" t3 D8 g( _# b
  1383. 9 \9 P( }9 w; s5 t( h8 j2 S
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ! Z: q* [& V6 g) ~" T
  1385. ; http://php.net/session.cookie-httponly
    * p* j( n; ^( c; p7 T) F2 k
  1386. session.cookie_httponly =
    + m' a1 a( f; z- r9 y  r/ H& u
  1387. # B9 A8 _" ]* O1 f1 v4 c5 E- p* U
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    8 {/ h# x7 _' H/ E3 G$ e
  1389. ; http://php.net/session.serialize-handler: q( d) p, }- K6 O& p' J
  1390. session.serialize_handler = php* G' n5 D, B" y; Q( B7 `( O3 e
  1391. & X( t7 c* }/ Q  b: ~$ r
  1392. ; Defines the probability that the 'garbage collection' process is started, H. i1 C, \0 q5 {
  1393. ; on every session initialization. The probability is calculated by using
    4 ^) s) _8 b& P* W/ M: N. L1 A
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    4 E. Y2 T1 A8 X
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    % a. m3 h7 c: P) U+ Y9 s- G
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance$ t. v" z: K( u& Y: L+ J$ s
  1397. ; the gc will run on any give request./ o, F* H. Y4 v
  1398. ; Default Value: 1
    ( [: X7 M# M  h+ W/ o% a( q
  1399. ; Development Value: 1
    * e: b$ b3 C5 t
  1400. ; Production Value: 1) y8 C0 z' ^3 S$ |1 W
  1401. ; http://php.net/session.gc-probability% r% h0 W: R0 z6 g- x# T
  1402. session.gc_probability = 11 [& i2 h" l# X
  1403. 8 o7 k% b3 @( u( ^/ c/ f* `, k" ~
  1404. ; Defines the probability that the 'garbage collection' process is started on every" X) X- M/ \# w  _1 Q% u
  1405. ; session initialization. The probability is calculated by using the following equation:6 V, ^3 K* P6 k3 h# ~' z, U( O
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and  U) X7 t: T/ d9 O
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    + X! w3 m( y) `. {6 ?$ I2 e4 }* i7 O( F+ H$ Q
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    / h$ @8 U4 S" X# [! _" {; J0 |
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ( W3 O+ r+ d* q0 m3 s2 G3 @3 J$ ^
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,6 k& b, X  L# E! i% G5 d+ V9 M8 W
  1411. ; this is a more efficient approach.8 b6 ?2 r% h" B/ S1 i6 L* x0 R
  1412. ; Default Value: 100; `1 {' E# y2 K
  1413. ; Development Value: 1000; U: N# u& K/ F$ O
  1414. ; Production Value: 1000# |# x0 ^; y4 U9 a: Y+ }  a& L
  1415. ; http://php.net/session.gc-divisor  Q- V, R! [9 k
  1416. session.gc_divisor = 1000' e9 g& t& u7 D* i; G0 a: P
  1417. ; h! l# i" Z/ _+ X4 W
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    6 }! X& z3 u) E4 f3 {- V
  1419. ; cleaned up by the garbage collection process.
    7 C0 l& Z2 n# y1 r1 @
  1420. ; http://php.net/session.gc-maxlifetime
    , r1 \" X* X4 e
  1421. session.gc_maxlifetime = 1440
    # v2 u2 [0 F: Y# E3 I: N" S
  1422.   s3 j! U1 K* X4 D& K+ @; p+ V1 P
  1423. ; NOTE: If you are using the subdirectory option for storing session files/ }* o" H9 o- K5 {  V$ |. D
  1424. ;       (see session.save_path above), then garbage collection does *not*/ }( r, K" ?, G+ [/ M* T
  1425. ;       happen automatically.  You will need to do your own garbage4 [$ w0 f5 N* z6 j4 T, k
  1426. ;       collection through a shell script, cron entry, or some other method.. ^' N2 F' K5 e5 [4 r+ F
  1427. ;       For example, the following script would is the equivalent of
    ! B( }8 f6 f) b4 M* o2 |6 S
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    0 P, d& L% O& o( C- ~. O
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm4 \) j9 G; S% f0 q  V8 C+ M. i

  1430. ( p3 ?/ ^# C5 ~- `) w$ D
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    : K0 F3 n% H# \! w' u. G
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    " q! m+ w+ r( C5 g, J7 r+ K
  1433. ; considered as valid.$ V8 m- f4 P9 h# A$ D& _, Y0 f
  1434. ; http://php.net/session.referer-check
    ' `& I' R' p* A; \. `
  1435. session.referer_check =
    $ \5 v3 t' |0 i1 ?6 _& Z

  1436. ) S" `' l  [) o; C. e$ S
  1437. ; How many bytes to read from the file.
    ( a5 L! C3 d, o) T8 _
  1438. ; http://php.net/session.entropy-length! u* V% F! p( b7 y  ]! @
  1439. ;session.entropy_length = 32
    4 C( l, S7 m" o0 ~4 \- u
  1440. , @6 O( R+ W4 b3 o
  1441. ; Specified here to create the session id.
    ' b1 A9 s5 i. ]3 ?; _* v
  1442. ; http://php.net/session.entropy-file* }0 Y# U1 k/ S  a$ B
  1443. ; Defaults to /dev/urandom$ x9 h, z" Z( x# P, i1 f
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom5 x6 X% B; x2 P! `' k5 d) y6 O
  1445. ; If neither are found at compile time, the default is no entropy file.+ e) v  Z  M6 b" ]9 @
  1446. ; On windows, setting the entropy_length setting will activate the
    + c" {/ Q4 f: G0 F6 [, S! Y# O: X
  1447. ; Windows random source (using the CryptoAPI)
    & _' |5 y& z9 W" z/ f" q
  1448. ;session.entropy_file = /dev/urandom
    - N4 ~5 d* G" |3 h% C$ A  Z
  1449.   {* N+ ~8 F# d6 M! i* B3 ^
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    " g/ W* \, |6 z' X2 t% K" M
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ! F% L) r  l$ Z3 y$ h. J- s4 z& U
  1452. ; http://php.net/session.cache-limiter
    4 _- c: D  f2 ]) \
  1453. session.cache_limiter = nocache- m6 P+ d1 f0 c2 v$ ~$ D

  1454. 9 k  x, h! x- N+ P
  1455. ; Document expires after n minutes.1 J, e9 a2 y4 z  M+ c5 K5 c
  1456. ; http://php.net/session.cache-expire
    8 t: Q, z+ X$ H4 C7 l
  1457. session.cache_expire = 180
      P# Y$ \& l% |8 }

  1458. 1 C( x& z% }" [7 H/ E: E
  1459. ; trans sid support is disabled by default.+ U% a4 h/ R% C5 b0 ^) q/ Q  `
  1460. ; Use of trans sid may risk your users' security.% ~+ D1 G: t( I' ]& q, h* i
  1461. ; Use this option with caution.# \" q2 I. R* L/ h# h5 I4 j
  1462. ; - User may send URL contains active session ID& K1 v. l4 o! V+ p7 o1 s: |9 M. Z; o
  1463. ;   to other person via. email/irc/etc.) S  S2 [9 U# \  C/ N6 e' `; m
  1464. ; - URL that contains active session ID may be stored
    ; m" N5 d6 a2 Y+ v# l; W1 z
  1465. ;   in publicly accessible computer.
    % [* C2 ~. A* \. s& Q
  1466. ; - User may access your site with the same session ID3 [& H2 Z# O: S# d7 L' p
  1467. ;   always using URL stored in browser's history or bookmarks.
    5 p% }) h0 R* m/ \0 ~; z1 Y+ ]" T
  1468. ; http://php.net/session.use-trans-sid) Q( W% _# P! D! _; @. l
  1469. session.use_trans_sid = 0, I7 }' ?2 E8 U! z8 J3 l( f6 a: G

  1470. & \$ }8 Z2 E# C" E$ U/ _( B
  1471. ; Select a hash function for use in generating session ids.
    5 N! n: o# Q5 u- m* t
  1472. ; Possible Values! J: m8 d* C( X2 d2 O, m, ]8 w# i
  1473. ;   0  (MD5 128 bits)4 Y8 k3 S* p* U8 q! P
  1474. ;   1  (SHA-1 160 bits)
    ; o) W% v' M+ _+ a' e
  1475. ; This option may also be set to the name of any hash function supported by
    8 v0 I: _" K* t+ }
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    1 b2 i; L2 R' A( X) A& f/ `
  1477. ; function.
    7 _- V" Y' G! F. c
  1478. ; http://php.net/session.hash-function2 ]0 y5 h2 M$ C0 K
  1479. session.hash_function = 0
    7 x5 N( }" ^" t
  1480. ) R$ r/ m; P" @9 h
  1481. ; Define how many bits are stored in each character when converting# M( r) ~% ]( W2 x6 N
  1482. ; the binary hash data to something readable." N  ~/ m; v9 J& q; x
  1483. ; Possible values:- Z) d" Q1 W7 B9 `) ^1 U" N: E
  1484. ;   4  (4 bits: 0-9, a-f)
    2 q. @) v2 N* A5 ]" S
  1485. ;   5  (5 bits: 0-9, a-v)
    ( O6 b0 c5 s+ Z: U  w( A# v
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","). I2 b' b7 w$ R+ m. b% f- c, S3 u
  1487. ; Default Value: 45 L* |' s0 @0 e
  1488. ; Development Value: 52 R, @# c& r9 v0 U- f2 Q
  1489. ; Production Value: 5+ V. {8 x1 F/ P; d
  1490. ; http://php.net/session.hash-bits-per-character
    3 ~0 r& y2 S! m  \: _: R$ N' z- T' R
  1491. session.hash_bits_per_character = 5' y. A1 i( r% s. r5 N4 J
  1492. % x2 U6 p0 |  @% P
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.- \2 ^. Y! y; q/ E; I0 I
  1494. ; form/fieldset are special; if you include them here, the rewriter will' ^' v. l. K5 G, `! _
  1495. ; add a hidden <input> field with the info which is otherwise appended5 I3 M4 m( J- o1 Q/ Y5 }3 q
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.! g, f+ q  A7 Q: K* k4 o
  1497. ; Note that all valid entries require a "=", even if no value follows.
    " {7 k# g, _, k8 v2 [. j  `
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="5 P% F: Q3 |" p, X, @
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 a' h. u8 F+ y. B4 Z+ B
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 a1 @2 b% H' W! o0 [
  1501. ; http://php.net/url-rewriter.tags
    " C# h. a7 _4 c5 d
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    * R9 j  f/ `' R- C, Z
  1503. 8 C, m3 }) _& k3 a3 n! P% _
  1504. ; Enable upload progress tracking in $_SESSION
    $ h8 v, J4 c7 |
  1505. ; Default Value: On
    ( C8 h5 b+ m) w* J
  1506. ; Development Value: On
    ! n" t# R  u# ?% l  I
  1507. ; Production Value: On
    & M( u& s: Q7 h) {5 M( k3 m5 w
  1508. ; http://php.net/session.upload-progress.enabled8 Q% ]/ x3 Z7 k' X) n. n
  1509. ;session.upload_progress.enabled = On) X; c. z4 u! z4 J9 M/ [
  1510. 0 ?  N1 G; t, k. o+ N) K
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ) X" |' J# C; [
  1512. ; (i.e. upload completed).5 _1 S. p6 |) ~; M
  1513. ; Default Value: On
    $ L3 z0 G$ x2 n1 t+ v
  1514. ; Development Value: On
    8 e; Z: s2 s0 c. K( U
  1515. ; Production Value: On
    ' n  N5 u  Z. x, n
  1516. ; http://php.net/session.upload-progress.cleanup/ [$ ~8 H0 g4 d6 Z, E, n+ N
  1517. ;session.upload_progress.cleanup = On6 k3 c8 n" f, `' ?' I8 D0 y

  1518. + }# O0 M+ y; M/ v1 W
  1519. ; A prefix used for the upload progress key in $_SESSION
    8 ^& B: A8 D- b6 g0 P% _' l
  1520. ; Default Value: "upload_progress_"
    + f/ K) ^0 A- i) D
  1521. ; Development Value: "upload_progress_"* `& N# o) W0 e. f  l
  1522. ; Production Value: "upload_progress_"" \+ }# m$ {/ L' U% c
  1523. ; http://php.net/session.upload-progress.prefix6 |( `$ w0 F  Y2 ~; u6 v
  1524. ;session.upload_progress.prefix = "upload_progress_"
    # o7 u( ?- n2 c" ]0 d; }) }

  1525. + J$ I& g# J' y* A, x
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    / q& E$ ^+ p- S' k# U
  1527. ; containing the upload progress information
      }# k7 P7 e# P2 Y  r  h' Z6 I
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"+ g* W! k" O; M% y" l) [( z
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"+ F) t+ P4 r  o8 N( x2 p* z* b  c5 r
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " I: q& h. j, S+ W
  1531. ; http://php.net/session.upload-progress.name7 X5 b0 P0 J! ?: }, q% ^
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
      r" {) M* b- T3 D

  1533. ) e1 h2 l" U& ~. C1 O6 O
  1534. ; How frequently the upload progress should be updated.
      M! @3 @; J: r& f2 m) Z) g+ b
  1535. ; Given either in percentages (per-file), or in bytes
    4 w  U, P. e0 }9 a3 @! ]
  1536. ; Default Value: "1%"
    # r" W( X5 R* |2 Q3 Y
  1537. ; Development Value: "1%"
    2 g3 E, w! v  |& |+ L3 D
  1538. ; Production Value: "1%"
    / K- c6 q9 E1 L# m/ j; l4 X
  1539. ; http://php.net/session.upload-progress.freq) E! s* c' j; d5 L
  1540. ;session.upload_progress.freq =  "1%"5 u  d; ], P0 p4 a7 s+ K6 @. ]

  1541. & y4 y7 \% E" _, [9 M0 }
  1542. ; The minimum delay between updates, in seconds
    $ c' t; z4 G. C8 f" f) N1 n' ?
  1543. ; Default Value: 1
    9 l6 P; Q3 Q. n/ R
  1544. ; Development Value: 1
    " D, e) i" ^( Z8 F6 t" W" K
  1545. ; Production Value: 1) C/ g6 m8 |0 P+ S# O
  1546. ; http://php.net/session.upload-progress.min-freq
    6 ?" K0 w! d/ w+ r- J* u+ z
  1547. ;session.upload_progress.min_freq = "1"* m& Q9 x' C& m+ K5 r. `# L; ]  p( J

  1548. / v: ~# y$ I4 @
  1549. ; Only write session data when session data is changed. Enabled by default.# N% `  o2 e7 b3 J5 y5 E6 @8 ^
  1550. ; http://php.net/session.lazy-write
    ' m, C+ a9 O, C0 o8 M9 ~* @/ O5 d$ ~; s
  1551. ;session.lazy_write = On
    2 g0 b( T5 c" s* E7 ^
  1552. 3 w/ Q% l2 e/ e2 S) B
  1553. [Assertion]& o: p# P$ s+ Y7 p- X4 {
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    5 Y" S& S: M5 A2 ~7 j
  1555. ; -1: Do not compile at all
    + d. c+ T, z* [' F9 b0 ]8 A, C
  1556. ;  0: Jump over assertion at run-time
    , z0 g4 w3 u$ g
  1557. ;  1: Execute assertions: P8 {  F- B- h+ B! U6 ~
  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)
    $ ]8 G. G1 g' M! J6 k8 R
  1559. ; Default Value: 1: A  q" W- S' b0 y0 v9 q5 {, l8 `
  1560. ; Development Value: 1
    * X. ^) s9 v; m
  1561. ; Production Value: -11 p1 R' K& V% n
  1562. ; http://php.net/zend.assertions
    2 Z% x0 L. Q9 x! p
  1563. zend.assertions = -1
    " t$ r; e4 H- j' J* k0 P5 Z

  1564. 5 F6 j) J: Y3 i; D! K- B* ?, y* u
  1565. ; Assert(expr); active by default.) O' J  T% d: s: X! Y% e! O" |6 a& [
  1566. ; http://php.net/assert.active
    3 m. ?0 r  c% n- C# n, z
  1567. ;assert.active = On$ |8 v: N. j8 U3 p
  1568. - F# t% w3 V! D" U0 `; S
  1569. ; Throw an AssertationException on failed assertions
    % O8 \6 b7 n9 T( ^
  1570. ; http://php.net/assert.exception
    , H2 Z9 m0 Q8 e$ C0 Q8 E
  1571. ;assert.exception = On
    . `8 p/ U" [  y5 h# Q
  1572. ( ~  i/ X. {8 G* w
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)6 i) i  ^8 k/ p2 D$ e8 d
  1574. ; http://php.net/assert.warning
    8 N! i8 K9 j/ l: Z7 F- l3 @
  1575. ;assert.warning = On  }# g5 f" W* U) c) f

  1576. 2 {1 A& d, C2 f& Y! B% {  c
  1577. ; Don't bail out by default.
    $ h) N. L  U' h' J
  1578. ; http://php.net/assert.bail
    3 @1 \  ]6 |, A
  1579. ;assert.bail = Off" h  S) R3 {4 K

  1580. 4 G# `0 z0 a$ r( \) ?6 `- V
  1581. ; User-function to be called if an assertion fails.
    4 [1 d: i* A/ l
  1582. ; http://php.net/assert.callback
      n  x  E9 N* h8 h; n- Y4 m
  1583. ;assert.callback = 0) {' `# S! ~. S5 \4 o" T7 i

  1584. " J) h! Y1 i. F4 k  O, h  x6 d
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    4 V8 b% g" a* M
  1586. ; error_reporting(0) around the eval().
    / o/ I" a2 A* H
  1587. ; http://php.net/assert.quiet-eval& o: C' U# ]4 N7 i/ _2 \( X
  1588. ;assert.quiet_eval = 06 h2 w  \& `; U# {8 Z1 w5 U1 N

  1589. 2 ^1 j: W2 d+ D: J) `
  1590. [COM]
    + t- }  }* K: }+ `& k1 o
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs- _% m* b  A+ R2 j  Q
  1592. ; http://php.net/com.typelib-file! `) q# n# ?# c" _9 F
  1593. ;com.typelib_file =
    ' n6 V5 \  w# d- T

  1594. : b! ~9 g* {3 \# w, N5 ^  ^8 ~0 ~
  1595. ; allow Distributed-COM calls) L. h# _6 q$ V0 W8 k1 J! g
  1596. ; http://php.net/com.allow-dcom! E. q; _; `( d$ r/ \- J
  1597. ;com.allow_dcom = true  l2 Y/ F1 G1 E6 O4 C% A
  1598. 1 k9 q, X+ l# Q  T0 r1 q
  1599. ; autoregister constants of a components typlib on com_load()
    - S5 w: `% ]( L' ^# s
  1600. ; http://php.net/com.autoregister-typelib
    # A8 a- B0 I* e/ k0 d7 B2 F
  1601. ;com.autoregister_typelib = true' k/ r* P4 Z. V7 [

  1602. " |0 k3 c9 W1 C+ K
  1603. ; register constants casesensitive
      [) K1 [& k/ Q  P1 H- X* ^
  1604. ; http://php.net/com.autoregister-casesensitive
    # @) c* ]! \; I( S1 @
  1605. ;com.autoregister_casesensitive = false
    9 i8 ]% ?* c: p

  1606. ; U! f/ b4 f* _- |" l& m3 T- _
  1607. ; show warnings on duplicate constant registrations
    $ b: u, H+ H% _' h) }
  1608. ; http://php.net/com.autoregister-verbose
    7 R1 d- }) n9 J3 l- l
  1609. ;com.autoregister_verbose = true! L* E3 @3 P. Z

  1610. + O: G" c* T! U; c+ k" k
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    $ @, e" o$ ]4 ?
  1612. ; Default: system ANSI code page
    % p( \2 t7 C& h0 c- R+ p
  1613. ;com.code_page=
    & I, G' ~6 ~. \3 L( T$ W, X) |; R
  1614. 7 L3 h, l* b. j- [
  1615. [mbstring]
    , Q: W# X; L" `& @0 T5 o
  1616. ; language for internal character representation.
    $ c$ D# L5 z4 D9 J# ~3 {0 s
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    - ?6 n: W; R: {8 K+ m: d1 Y
  1618. ; http://php.net/mbstring.language- X2 g: S6 E( ^" S% B. ]* I
  1619. ;mbstring.language = Japanese4 t+ G# q; @: s/ s5 }9 H
  1620.   n8 C% d7 e4 t4 R
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.& l8 K: J3 k  k5 b* P" _
  1622. ; internal/script encoding.: i  V4 F7 W/ o
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)& W) b( d' n9 b# q
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    % J0 b& ~; }+ a, J7 H* D
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% X  a' y2 \0 R( f4 V$ a- b
  1626. ;mbstring.internal_encoding =* F7 H1 [6 h+ V. ]3 W' a

  1627. + U4 G4 k. U; y$ W6 ?% D$ V" O
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.& ?. G) D) {. R
  1629. ; http input encoding.
    / l7 K9 a& l$ X) Z$ x
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    * u9 C+ d# |+ @7 j  R" R+ ^. q
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
      l& a  y; k$ g: f
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input/ I2 V8 D4 \, N6 o: i1 ~7 m6 s  n: k
  1633. ; http://php.net/mbstring.http-input9 M: W9 Y4 C" m3 W: L1 [& l4 i
  1634. ;mbstring.http_input =
    3 C, n/ F4 s, }0 t% G0 g. [5 l

  1635. 5 j  |4 q& u" E$ `/ N0 V/ @1 L
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ' x. x( _6 v( d$ j1 |7 e4 l. \
  1637. ; http output encoding.
    5 _7 a& v' A& {0 e! ?1 V  u5 g
  1638. ; mb_output_handler must be registered as output buffer to function.
    , u$ j1 @6 c, q2 b
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used., V! I3 a  m# B3 g0 g9 m: h/ C
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    9 h$ |( i- h4 c2 r9 U' g
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    6 ~2 W5 m+ y+ l! o, ?
  1642. ; otherwise output encoding conversion cannot be performed.
    % H& Z. a/ [3 J: h. y, ~
  1643. ; http://php.net/mbstring.http-output
    + P( {" h6 k8 r! Z1 H% e9 N6 j
  1644. ;mbstring.http_output =
    4 u- u: z. Q8 @# Q
  1645. 3 h: o* @$ u1 \& G
  1646. ; enable automatic encoding translation according to
    ) @  h  Z* |8 J
  1647. ; mbstring.internal_encoding setting. Input chars are' i' _0 A) Q2 c. Y- j+ w# q: u  ~1 E
  1648. ; converted to internal encoding by setting this to On.. j0 F  {) y+ R% k; C9 {
  1649. ; Note: Do _not_ use automatic encoding translation for
    , }( t7 U) d1 X  j
  1650. ;       portable libs/applications.
    # z! t# _. V% ?+ ]
  1651. ; http://php.net/mbstring.encoding-translation& E3 ~1 k1 I9 d- a5 h) r
  1652. ;mbstring.encoding_translation = Off
    " f: r9 N4 b3 S( a( |; @; |, W# a

  1653. * J8 ^) w4 B( r) b! u$ @/ R
  1654. ; automatic encoding detection order.
    , _; O  H& m; n) n
  1655. ; "auto" detect order is changed according to mbstring.language
    5 _: @7 R8 G' D; T! W. U
  1656. ; http://php.net/mbstring.detect-order
    ) J- s  A) e; b' y$ `( m/ d  ^3 w
  1657. ;mbstring.detect_order = auto# J4 ]; t' k/ L( T% E! V

  1658. & V0 L, S* P5 e' I
  1659. ; substitute_character used when character cannot be converted
    3 Z2 g1 G$ l( J' g" m, j
  1660. ; one from another
    7 T6 v) i* S) u* t" T/ J$ ~
  1661. ; http://php.net/mbstring.substitute-character
    $ x5 l7 E& i2 l
  1662. ;mbstring.substitute_character = none4 L6 K7 ~( ~5 t( A2 P

  1663. 4 L9 P& ~- ~" P; k, l
  1664. ; overload(replace) single byte functions by mbstring functions.
      @. l/ }' {- E1 g
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),8 k3 z. b  R  L
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.& v" ~1 j: }) H9 D) V4 {
  1667. ; For example, 7 for overload everything.& s7 ~$ E# j$ j) ?
  1668. ; 0: No overload# m6 }. v# n2 u$ e
  1669. ; 1: Overload mail() function
    ( p1 r3 C  E3 v* e
  1670. ; 2: Overload str*() functions
    8 S# {3 A# @6 n7 d5 j
  1671. ; 4: Overload ereg*() functions$ v7 R) c/ x' |4 ]1 O
  1672. ; http://php.net/mbstring.func-overload: E& _8 I# ]+ b) N- i) F
  1673. ;mbstring.func_overload = 0
    3 S, M. ^- h& j( p& W* G

  1674. 1 ~7 F8 y" H0 j6 D( O
  1675. ; enable strict encoding detection.
    6 S* `6 P* M7 D6 D8 ?# N- n
  1676. ; Default: Off
    5 N5 \/ {2 R: ^, c4 _
  1677. ;mbstring.strict_detection = On
    5 r4 K9 N" ~& B' H: H1 o
  1678.   {5 S3 u6 j1 |; e5 h: Y% {. N' g
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    # y- F! U9 p. M3 D- ]' e
  1680. ; is activated.( @7 g* j  h" ^9 y5 ?4 l' G" L
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)* e4 p+ n8 ^6 f9 x( x; K( ]: G
  1682. ;mbstring.http_output_conv_mimetype=
    ' S1 X* C" U9 }( U- S
  1683. & e. Y) _0 w7 z  F1 E4 S
  1684. [gd]
    : b" O+ v+ S; X4 `: o4 u9 l
  1685. ; Tell the jpeg decode to ignore warnings and try to create) D2 q" l! _( Y
  1686. ; a gd image. The warning will then be displayed as notices6 J1 q& a/ y# h
  1687. ; disabled by default
    + g1 U! U7 F  ?0 h" H" V: M: t
  1688. ; http://php.net/gd.jpeg-ignore-warning
    - {2 [$ w9 }6 Z/ A
  1689. ;gd.jpeg_ignore_warning = 0- n% E/ z/ {" k" \
  1690. * Y$ w# Z6 O4 ]3 |8 ?
  1691. [exif]
    " R( q6 W7 ]* \
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.$ A8 `* R! ~' S0 g
  1693. ; With mbstring support this will automatically be converted into the encoding' c7 Z9 _% j  y7 z# X
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding9 N2 D: V3 K- q
  1695. ; is used. For the decode settings you can distinguish between motorola and7 S% W" `  ?! T( R" m& n
  1696. ; intel byte order. A decode setting cannot be empty.* O& H4 j! r7 H# W& I+ Y$ w  Y4 _$ D" H3 E
  1697. ; http://php.net/exif.encode-unicode
    9 e4 w& g& d% o
  1698. ;exif.encode_unicode = ISO-8859-15
    ( w5 ~$ U4 K, j' O1 D+ S. z

  1699. 6 v4 p7 y5 ^0 r. ?# |
  1700. ; http://php.net/exif.decode-unicode-motorola
    3 S* d' @1 O: O4 x7 j9 U2 `( M: A
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    ' o6 Y9 v: ^6 i8 q. B8 B! w8 n" M

  1702. 9 E' V* V; f) q9 o3 v
  1703. ; http://php.net/exif.decode-unicode-intel
    4 v) f- L2 x& B6 `
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    % A4 H4 l( }: ]: D* D# i
  1705. $ M- e! G- G3 I$ E' w
  1706. ; http://php.net/exif.encode-jis9 I# n$ R( h7 C8 ^5 B9 z
  1707. ;exif.encode_jis =' M' [* m" ~, z" a3 x- {) s5 o

  1708. " G* w. ~7 {) v
  1709. ; http://php.net/exif.decode-jis-motorola, T. ~6 M. |5 q+ z# P
  1710. ;exif.decode_jis_motorola = JIS
    ( F7 F4 D7 E5 A2 S3 y! F. @- s

  1711. ) c. k3 c; t1 Y: G2 ^: k2 f, Q# ]
  1712. ; http://php.net/exif.decode-jis-intel$ Q9 z, D% R1 L: h
  1713. ;exif.decode_jis_intel    = JIS9 U9 t( U0 k+ T- e4 s

  1714.   j: p" k7 d5 t4 ?+ f4 a# G
  1715. [Tidy]( [& c. U' `$ Z6 ^0 j7 i+ G# G& ~
  1716. ; The path to a default tidy configuration file to use when using tidy' l, X$ ]$ c3 S% D1 B0 A6 ?% V) y
  1717. ; http://php.net/tidy.default-config
    $ v6 Z6 `7 H4 v# `* j0 K
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg8 ~' D- T2 L" ~9 a. s; Y

  1719. 9 w/ e: M7 ?, E+ U6 Y! X1 Y
  1720. ; Should tidy clean and repair output automatically?
    ; r0 O: b* _  o& `2 Q! j# `8 t
  1721. ; WARNING: Do not use this option if you are generating non-html content
    - L1 F7 ^: D6 |4 x1 Q
  1722. ; such as dynamic images4 F. n& d; \) [! s
  1723. ; http://php.net/tidy.clean-output  ~' n0 z0 x, U  A5 S  H( X  f
  1724. tidy.clean_output = Off0 L+ t- O/ [% o
  1725.   O' r: t; t4 j8 q4 Z0 F4 }/ q
  1726. [soap]
    2 J  I- g: I% V
  1727. ; Enables or disables WSDL caching feature.
    4 E0 h/ \4 k1 f9 h2 p, @; s
  1728. ; http://php.net/soap.wsdl-cache-enabled: ~1 C; ^. `% G
  1729. soap.wsdl_cache_enabled=15 b- U, i9 ]' m
  1730. ; D1 e. s  w, {2 F; K4 Q' w( z
  1731. ; Sets the directory name where SOAP extension will put cache files.7 @+ A. T" r' n+ c# Q8 L1 \% `& y
  1732. ; http://php.net/soap.wsdl-cache-dir
    ) p/ ^) `# \5 z/ M$ X% R
  1733. soap.wsdl_cache_dir="/tmp"
    3 r1 z, Q, `# ?; u1 C$ N
  1734. 2 g! p2 F% U* @! Z' z
  1735. ; (time to live) Sets the number of second while cached file will be used
    0 t, X0 }* w  g' ]8 Z# P- \' O
  1736. ; instead of original one.* n3 X8 W8 R- i9 N& K2 J! A
  1737. ; http://php.net/soap.wsdl-cache-ttl( D5 k5 P: V7 d+ {
  1738. soap.wsdl_cache_ttl=86400  z' d6 l/ l  L
  1739. 5 p- I+ \1 m! o8 w* m. F1 Y
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache): b- O9 w# _3 ^0 j, @! }
  1741. soap.wsdl_cache_limit = 5
    / g! A0 s+ J. b

  1742. + u; S2 W, G$ C* Y) H2 \9 h
  1743. [sysvshm]
      Q) {: x2 X5 G$ {
  1744. ; A default size of the shared memory segment* Y. U8 p* w& N  w) _
  1745. ;sysvshm.init_mem = 10000# c0 q% p) \5 ^, I

  1746. 0 u; s( K8 m& u& B, o# O
  1747. [ldap]4 y4 h9 S+ c% i7 z% l5 f
  1748. ; Sets the maximum number of open links or -1 for unlimited.& i8 T( o; _5 ~9 F! t
  1749. ldap.max_links = -17 y4 C& H5 `3 P" G
  1750. 7 _: q' q. A2 s2 _( f) y
  1751. [mcrypt]  O, l! h% o$ B$ M- S  M: E
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    * m& Z) U0 L( I5 n$ i* [) Z

  1753. . v4 p* _7 P" A6 q& p' J1 A2 L
  1754. ; Directory where to load mcrypt algorithms
    - ?0 Q0 f. e% V% y
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ' ~, H0 @; v: x
  1756. ;mcrypt.algorithms_dir=
    2 L6 Y1 y6 T  ]! j9 y

  1757. ; c5 ]% M! D: q, @, m, t  V
  1758. ; Directory where to load mcrypt modes# R9 J& @% F( N$ Z  {
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)( d- ?5 Q6 e+ {+ Q
  1760. ;mcrypt.modes_dir=* B/ r& b% T5 ]4 P3 S, T' H0 a
  1761. 9 [0 a$ G' Z* p3 v( l8 w
  1762. [dba]
    . _9 V8 V, M. k4 M- J0 {
  1763. ;dba.default_handler=
    5 i& C0 R0 J# t, h0 I
  1764. % N. x3 u8 J% c. r( ]7 \3 w
  1765. [opcache]
    + T) D1 C& s+ [# ?/ w! O- C1 i6 V
  1766. ; Determines if Zend OPCache is enabled" P# D5 _5 F& Y. [
  1767. ;opcache.enable=0
    & L) w# {+ {4 U7 b1 D  _9 E) ^- Q

  1768. # V% [8 i0 q' y3 d3 s/ b
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    & n. _6 G) O5 F. D1 S3 d) e
  1770. ;opcache.enable_cli=0' Z( E" Q9 s' o9 X

  1771. / v( W. g: Z1 I7 i3 Y% U
  1772. ; The OPcache shared memory storage size.; f$ F# z5 u& L* k/ m1 g; _4 \
  1773. ;opcache.memory_consumption=64
      U! f- p2 R6 H5 R

  1774. . D. W7 B# `4 N9 p. N0 J8 [# F
  1775. ; The amount of memory for interned strings in Mbytes.
    0 q$ P1 }0 U2 V. E& B
  1776. ;opcache.interned_strings_buffer=4- h! I% [3 }8 J$ R, ?7 t% I* o

  1777. : C/ t" B' ^% H
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.# c, K. }5 l. ~9 n) ^1 o
  1779. ; Only numbers between 200 and 1000000 are allowed.( @7 N3 t( s7 P. q0 G5 T
  1780. ;opcache.max_accelerated_files=20001 @2 v; {0 g- C8 t

  1781. 0 c0 q' \% \9 P( R8 ]7 g) D
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.) T( j. w7 k  `  |
  1783. ;opcache.max_wasted_percentage=5# Q" i% q) v9 J9 ^1 e

  1784. ( L, q! y: C- n1 X/ f
  1785. ; When this directive is enabled, the OPcache appends the current working
    : ~. Z4 U/ U/ A, \  u9 r( n7 S
  1786. ; directory to the script key, thus eliminating possible collisions between9 I6 g- _1 B; F
  1787. ; files with the same name (basename). Disabling the directive improves
    : w4 n* j) l, _& M+ O
  1788. ; performance, but may break existing applications.! o8 t* R; ~' ?: P2 o* Y2 e/ Y* I! i
  1789. ;opcache.use_cwd=18 u) z1 d0 U: X: y! b2 R
  1790. ) |) f% U' y3 E) m) p/ W6 \
  1791. ; When disabled, you must reset the OPcache manually or restart the
    & ^! b, t, d% d( n" f2 [
  1792. ; webserver for changes to the filesystem to take effect.) K, R! L/ @, C* }$ ~% p/ H
  1793. ;opcache.validate_timestamps=1
    " z$ I; k* J: o4 I/ t

  1794. ; x9 Q  u/ I" b* I5 ~
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    0 Z- Q" D$ M3 Y# A
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ; V! b9 L3 p) b2 U" j
  1797. ; once per request. "0" means always validate)& w1 f$ o/ Y/ C
  1798. ;opcache.revalidate_freq=2+ J5 F$ y. O6 t" I' g4 @8 a( o

  1799. 3 K: n* n0 x0 O3 B
  1800. ; Enables or disables file search in include_path optimization
    8 H6 ^, A1 \) Q
  1801. ;opcache.revalidate_path=0
    ; [7 |; O0 j! _/ z' V

  1802. 5 s0 v% B1 u" c) D6 e, N3 t. M/ ]* k
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the/ b' f  ?- ^' h3 I  I
  1804. ; size of the optimized code.% C# o0 _  L2 [% y! v! e* f0 J
  1805. ;opcache.save_comments=1+ B; \) W, e0 J- ^. d

  1806. 1 @, p, K1 {. B
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    9 s3 {$ E( m- i2 \
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    " n: k' t2 W7 G7 l
  1809. ;opcache.fast_shutdown=06 X0 ]/ }4 ?( E; ]8 ?) ]  q

  1810. ) l0 o$ A1 @0 d4 u6 g
  1811. ; Allow file existence override (file_exists, etc.) performance feature.4 k/ I" V; k" ^) ~
  1812. ;opcache.enable_file_override=0
      I3 y; v+ a* L+ `. G& k
  1813. ! E; a$ Z; L: W1 M! \: B
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache1 v4 W2 M( a1 A% I2 [" ~
  1815. ; passes
    7 }5 P; J& W  s) H1 j
  1816. ;opcache.optimization_level=0xffffffff" B% j9 v+ z' N: r' R' d6 i) g

  1817. ' ?$ U# G2 V9 Z) H1 w( o- o
  1818. ;opcache.inherited_hack=1
    ! y, o6 H6 q8 k5 D6 e: I
  1819. ;opcache.dups_fix=0$ E! y) D8 r8 c, `3 I

  1820. & v& p( x- F& J  ]4 b
  1821. ; The location of the OPcache blacklist file (wildcards allowed).; m9 K- Z8 a3 R( h8 S8 y% ]7 |
  1822. ; Each OPcache blacklist file is a text file that holds the names of files4 P; h9 t/ h: E
  1823. ; that should not be accelerated. The file format is to add each filename4 m5 r% i! A6 B- K9 F: o! k
  1824. ; to a new line. The filename may be a full path or just a file prefix
    % C/ w2 v7 m; ?0 j$ I" D( U: u+ N! Q
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www3 k: ]$ ], O& l1 X, p
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).$ k( R, H4 a4 z
  1827. ;opcache.blacklist_filename=7 [+ m. {2 z, E4 t! t5 b

  1828. $ U% Y1 g$ i' P7 U6 f! K; [8 Q% F& i
  1829. ; Allows exclusion of large files from being cached. By default all files
    , u* j! o& a  v5 L4 ]- j
  1830. ; are cached.
    $ `7 Z7 X: W* S8 m9 }
  1831. ;opcache.max_file_size=0
    0 p1 s0 O, p& x& z5 U% e
  1832. 2 C7 u) N  w4 U: j
  1833. ; Check the cache checksum each N requests.& B3 K7 T; J+ b# L# Y2 k
  1834. ; The default value of "0" means that the checks are disabled.& m+ A  E: P3 e# n$ l  d' [
  1835. ;opcache.consistency_checks=0. f' H+ A$ \; a

  1836. : e+ a  ^9 c% i, ~7 R: C
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    * F6 l( E& V% i0 M( K# c8 u
  1838. ; is not being accessed.
    1 Z  R( Y# f/ X% m1 p
  1839. ;opcache.force_restart_timeout=180! F3 {5 L7 l# K9 `

  1840. ! ?+ O7 t% J; j" }5 E) D6 \
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    7 Z- x5 x2 W' c0 y1 ]4 c$ o- o
  1842. ;opcache.error_log=
    - l: H7 U& f0 b) t# O3 B/ H4 Q; w

  1843.   t  \9 p5 S# T6 \5 h' T
  1844. ; All OPcache errors go to the Web server log.
    - `. j* U" I! \: t  d" U
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    & F) H& j& r3 ]1 J% d) P2 z( l
  1846. ; You can also enable warnings (level 2), info messages (level 3) or" y; [( B. i& X; t% q
  1847. ; debug messages (level 4).
    + Q( m" l/ _7 @' |( O, G
  1848. ;opcache.log_verbosity_level=1& g4 S* z; i) j
  1849. 3 p6 [. L# _- n" w2 k
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    3 ?. k# a% D0 P, v: R7 o$ w4 z
  1851. ;opcache.preferred_memory_model=# K+ n0 U; W0 K3 r1 N8 w: [0 Q+ Q

  1852. 1 C, l/ S& x2 f+ V
  1853. ; Protect the shared memory from unexpected writing during script execution.0 ~7 m' |% j7 Y9 `2 B' w6 t7 N
  1854. ; Useful for internal debugging only., N0 u" T1 [* B. K
  1855. ;opcache.protect_memory=0
    $ d8 A: V/ w  J6 n7 y
  1856. / t5 A2 _% _! r  M( r: d
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is, D( b/ U2 P3 [3 ^
  1858. ; started from specified string. The default "" means no restriction2 z% B7 ^+ n0 j$ T7 G
  1859. ;opcache.restrict_api=
    0 h/ c5 v$ V! X2 b; {
  1860. / K) {) b; Q1 _
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP4 L! m1 N5 C* r. ^- m! ^- c
  1862. ; processes have to map shared memory into the same address space. This. X# c- N- M" I
  1863. ; directive allows to manually fix the "Unable to reattach to base address"! P% R# _5 |4 r5 I
  1864. ; errors.
    1 t/ y6 t, ^1 M' C( s
  1865. ;opcache.mmap_base=
    0 J% y. J  p3 ~' j3 H# x: j8 A  K

  1866. & }+ r* K. p1 \- o
  1867. ; Enables and sets the second level cache directory.
    $ h+ T! _8 l* O4 I
  1868. ; It should improve performance when SHM memory is full, at server restart or
    4 W- `5 T3 F9 I( Q! p0 o  a
  1869. ; SHM reset. The default "" disables file based caching.' ^9 [" H/ N* g1 O) ^* J& W$ t7 \
  1870. ;opcache.file_cache=0 r' Q- T8 z0 n6 c
  1871. 2 U( T( t7 C' o0 e1 s1 G3 k7 x
  1872. ; Enables or disables opcode caching in shared memory.0 v: O( K2 P& `2 t+ V+ t
  1873. ;opcache.file_cache_only=0$ \7 C3 }8 W( j7 ~8 v

  1874. ) c  u# |/ n: y% p" i2 U
  1875. ; Enables or disables checksum validation when script loaded from file cache.$ A' v' d  k+ A- q! Z' n
  1876. ;opcache.file_cache_consistency_checks=1
    " t% N- }4 m9 P* w

  1877. 8 I* l2 }$ z0 N0 J4 }$ b/ K
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to' S0 E/ D# O$ i1 r/ Q
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file# F: K7 C! |2 P, a
  1880. ; cache is required.
    - E7 |3 j/ c1 k' }; u& n3 T. e
  1881. ;opcache.file_cache_fallback=1' W& c: V- |; D0 N- I4 o7 n) t4 o
  1882. / M3 B8 D- L  f/ _$ p' K
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    ! s8 T% A2 e. k* L( t% W7 Z- Y7 x! J
  1884. ; This should improve performance, but requires appropriate OS configuration.
    - G. E+ b7 U, Q& q) F
  1885. ;opcache.huge_code_pages=1# E8 B5 l8 v6 z& Z% c

  1886. + \( m9 p, q8 l+ R8 ^% _, r& C
  1887. ; Validate cached file permissions.  Y2 g( p3 @$ m8 p$ m0 [  \1 J
  1888. ; opcache.validate_permission=0
    . x" ^( D0 B( S8 i! j

  1889. ) v. m5 J; ?9 w  d% q
  1890. ; Prevent name collisions in chroot'ed environment.. U, P( z  m/ u
  1891. ; opcache.validate_root=02 H' A1 s- B' U' p
  1892. " C5 F. i% H7 m6 g
  1893. [curl]1 ?# b. F6 [) Z# R' h
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an' s0 r; u  F+ t& b- _2 y7 o8 O  y# @
  1895. ; absolute path.
    ) O3 |6 H8 `: y/ t; [
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt0 C6 r8 y: ?" m: U+ {; `/ B6 w

  1897. " {# M& s0 B5 I& j1 r. O4 L' x
  1898. [openssl]. D$ M; g6 o! z! \  R2 V* p
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem9 L1 w, P, {8 i7 I1 C7 a
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ! G! M" G+ L$ y& W  ^3 A$ J9 j5 v
  1901. ; not specify a value for this directive as PHP will attempt to use the7 w: I3 m- y# c5 ]* y* H4 q; j* n
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    & U0 O( P) l  Z, R
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ) R4 N' K9 k1 y: P* f
  1904. ; option.+ D; f7 F5 j3 p6 b2 d0 {& i
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    - B9 W  i8 A2 x) R8 V0 l- m

  1906. . \" i& H, ~7 W5 K/ Q9 h
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    % }; a; N4 B. u# u  [" \& e
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    # q# J6 B8 `. O7 p' `
  1909. ; certificate. This value must be a correctly hashed certificate directory.& O+ B/ H  X% x- C; C* r; T
  1910. ; Most users should not specify a value for this directive as PHP will. L+ `- G) R( Z8 N
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    - K$ I6 L( E) I, x& O1 O
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    2 T/ f: t# }( P& m- e. O
  1913. ; SSL stream context option.
    % V; T! Q% J$ W- `/ {) d. j; K
  1914. ;openssl.capath=# G0 _, O. Q4 p) W$ C

  1915. 4 |7 W' X9 [. ~
  1916. ; Local Variables:
    1 w) j; L3 T- j) N; q. g; \& _% M
  1917. ; tab-width: 4
    ' T$ Y0 v5 c  w; X& v( }! n; a
  1918. ; End:9 n! A' i  F" u) h+ @# d

  1919. . {: t( d0 K- d) }; s* G
  1920. ;eaccelerator; x3 S! r1 a# R7 m1 b
  1921. 7 P% k! ~" q: b4 e
  1922. ;ionCube9 C4 t7 K. t, n, w/ x8 P
  1923. ! K7 m2 t" {  i9 W8 S
  1924. ;opcache/ g) z& [3 @  v2 [

  1925. 4 B# M  o- J' e# H& H! L  g
  1926. [Zend ZendGuard Loader]; _7 w& i: C4 m; H- R* G( V
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    + m7 }* g) ^( u" f' ~
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    9 Q% l: s  v8 t7 R6 B
  1929. ;zend_loader.enable=1
    . |  |# ]. P, C
  1930. ;zend_loader.disable_licensing=0: g: }8 F3 Z4 v# f/ K6 n  h  U
  1931. ;zend_loader.obfuscation_level_support=3
    9 A) O5 k5 v" T! F! v
  1932. ;zend_loader.license_path=
    3 D  [8 |/ ?6 T

  1933. 0 ?$ L8 M1 x* b% E+ e
  1934. ;xcache
    ; }0 \( D; `; k0 _

  1935. 5 X" _$ a' v: B- b, b) n1 Q
复制代码

% o1 f" G& M7 \0 A
* y% x3 h* C# B/ w0 A+ H! I/ p' K& t9 T! X
. l  z* U$ ~7 _  l: Q; T
, A3 f8 v  |/ P' D% x" x- c+ f$ Z

6 h0 r/ C, [% W- ?; H* N0 \0 N5 o* t, K
PHP5.6版本原始设置8 L& @8 f3 Y! d( z7 g2 ^

5 H; x( M" g8 @' h
  1. [PHP]
    % n/ f# W2 m( r* @1 u! F3 c

  2. * G1 T$ q% G, A6 L4 d0 k. ~$ u
  3. ;;;;;;;;;;;;;;;;;;;
    5 a3 u) H5 j) X4 _
  4. ; About php.ini   ;/ B- ~7 `, M8 k
  5. ;;;;;;;;;;;;;;;;;;;
    : E6 R) N, f% d7 q
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    / U0 W3 U7 i$ A$ U+ S
  7. ; configuring many of the aspects of PHP's behavior.
    3 a5 L6 q, M* B2 q' {
  8. - f4 j4 e+ F0 A" R
  9. ; PHP attempts to find and load this configuration from a number of locations.
    $ G1 z7 w5 P2 l# n8 n  z3 P
  10. ; The following is a summary of its search order:
    3 ^: C, @6 I, {6 v& n
  11. ; 1. SAPI module specific location.& r/ `$ L. g- c, R
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)* }) j; B6 @5 n: g8 k
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    & {7 S6 {; s( i: n7 _( `: [
  14. ; 4. Current working directory (except CLI)
    0 ]+ f8 S- r( A& L9 z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP" H8 y2 o* N+ q8 [7 Q3 z
  16. ; (otherwise in Windows)
    ) ^8 e' `, \4 ?7 e
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ( w& p+ T3 H9 Q
  18. ; Windows directory (C:\windows or C:\winnt)4 R1 Q5 e  H* O, Q
  19. ; See the PHP docs for more specific information.
    ; \8 w, `- \- y& i
  20. ; http://php.net/configuration.file* I7 I$ P" `$ p
  21.   X# `. {4 j6 |9 C" m
  22. ; The syntax of the file is extremely simple.  Whitespace and lines7 ]& L! L  K5 x9 D8 _$ u# `
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).5 Y# ~4 Q) `. N6 S, S8 r
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though1 m4 C7 z$ W, q3 T  |+ U
  25. ; they might mean something in the future.
    - n" [- |. @3 d+ ]
  26. $ k: g$ b  a6 _" c- r" C3 E: k# U
  27. ; Directives following the section heading [PATH=/www/mysite] only9 |1 R" Y, g( d5 u% @1 H1 q3 K
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    + W8 B/ a% |  w, a; Y+ |) I& @4 G
  29. ; following the section heading [HOST=www.example.com] only apply to) [& Q# t/ u- g/ m5 x, g% P( V/ q
  30. ; PHP files served from www.example.com.  Directives set in these5 Y# C' a% D5 o* s
  31. ; special sections cannot be overridden by user-defined INI files or
    7 l# T! g6 N: ]7 O" m$ p0 e4 Z# J
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    0 M- q6 n) I; J% n4 j3 e! K
  33. ; CGI/FastCGI.( `/ q' H" ]4 M: r
  34. ; http://php.net/ini.sections
      {5 V* v$ m6 `$ c% S0 J2 d
  35. , A' a& ]" h4 @: ^& M
  36. ; Directives are specified using the following syntax:% G3 v; w9 H" i- Z/ N
  37. ; directive = value& u* [: B& H# p* [! I0 n
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.. b7 Z5 u) Y( u8 p
  39. ; Directives are variables used to configure PHP or PHP extensions.6 {- I! q+ V/ I4 n$ k' `8 e
  40. ; There is no name validation.  If PHP can't find an expected
    , v5 v9 i! G9 Y
  41. ; directive because it is not set or is mistyped, a default value will be used.' \& Z8 R4 S/ }* i( r( {

  42. : ~9 y& n6 R4 j
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one% U/ Z; \5 a2 s' x8 a
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    % i3 [% w0 }) l0 d1 l3 P  P
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ( @/ k: V1 l: W* }! ]) W
  46. ; previously set variable or directive (e.g. ${foo})9 L' R- S! X% z5 b' f0 G
  47. 9 G( `) d  p) C+ W$ b" O8 z" A( X
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:& r' X# B! h0 T. r+ m7 e% g6 V0 ~
  49. ; |  bitwise OR
    6 M; e9 J* E8 U) u
  50. ; ^  bitwise XOR. N1 e# D5 J- L9 e
  51. ; &  bitwise AND
    4 D( M4 l' A  j( H
  52. ; ~  bitwise NOT/ X/ P! }) H8 S1 A' N( U# M
  53. ; !  boolean NOT) k. r0 e7 Q7 T: x

  54. 5 u% w1 `0 A  k9 r
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.: C# d( O4 o7 x9 `
  56. ; They can be turned off using the values 0, Off, False or No.
      M6 {" a5 }3 @  j5 l! C9 H- d, i
  57. / m/ p/ x# r( W; P
  58. ; An empty string can be denoted by simply not writing anything after the equal
    8 _- m) \1 P( y) ]
  59. ; sign, or by using the None keyword:
    2 X" F+ I& F+ u# H' t" L! A

  60. 8 u* }* l- ^" y1 e! |
  61. ;  foo =         ; sets foo to an empty string8 e: b; W) C. L& {# A
  62. ;  foo = None    ; sets foo to an empty string
    ) A1 Q+ D, a# x7 [
  63. ;  foo = "None"  ; sets foo to the string 'None'! c4 E# J+ F$ x

  64. % b6 h  H; X" B4 H1 t' F5 N' f6 P
  65. ; If you use constants in your value, and these constants belong to a: l) y# c: }8 F- A, H" ]  B
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    3 P8 m% ^8 |% M% K; X
  67. ; you may only use these constants *after* the line that loads the extension.
    ; n4 h1 U0 f$ D; ^2 j1 ^1 P3 L; y

  68. 2 \' G! c6 L* T7 Y0 p
  69. ;;;;;;;;;;;;;;;;;;;( ?( L) H6 w, S5 @3 D0 d
  70. ; About this file ;
    4 }3 c6 c* A% _) R
  71. ;;;;;;;;;;;;;;;;;;;: a* }# g; W/ u% H2 |& o. b' h
  72. ; PHP comes packaged with two INI files. One that is recommended to be used1 |! Q' x. ]$ N- d7 m0 O* m3 f
  73. ; in production environments and one that is recommended to be used in
    ( y7 M. U7 F0 ^5 [7 q' h: @7 S( m
  74. ; development environments.
    , f. ^/ ~$ _" A4 Q% Q

  75. $ J( w4 c! E+ \) j& I8 K$ E( m! B
  76. ; php.ini-production contains settings which hold security, performance and
    " H$ R1 |9 F, v' \( r" V+ p
  77. ; best practices at its core. But please be aware, these settings may break* l  |6 w) I; ~; n
  78. ; compatibility with older or less security conscience applications. We
    3 M: ^. P: p) w; T) i1 V
  79. ; recommending using the production ini in production and testing environments.2 f3 q$ B+ b& x% x% a7 ?

  80. 0 @. L1 T/ q1 C3 c
  81. ; php.ini-development is very similar to its production variant, except it is
    # _0 B% M$ O# G% J) {- {4 n" M, j4 @
  82. ; much more verbose when it comes to errors. We recommend using the
    & l& \" F' x! p1 ?
  83. ; development version only in development environments, as errors shown to% u; f" J; M. N
  84. ; application users can inadvertently leak otherwise secure information.
    # M- q- @! `! Q# o6 Z

  85. ) P& _3 K$ W3 U' c0 J
  86. ; This is php.ini-production INI file.5 u1 _* Q/ B& m* C0 N! Y

  87. % a- Z2 j: [: t% q, X/ l( w# `
  88. ;;;;;;;;;;;;;;;;;;;% j. r/ F( q- A  ?5 z
  89. ; Quick Reference ;* R' ~# Q# i& H6 ~
  90. ;;;;;;;;;;;;;;;;;;;
    / L' a" i( i) t
  91. ; The following are all the settings which are different in either the production' h' ?1 }) N" K# q
  92. ; or development versions of the INIs with respect to PHP's default behavior.8 N: u! i, y) t# i" Y
  93. ; Please see the actual settings later in the document for more details as to why" E9 {6 j7 I3 T! Q5 l, L4 y
  94. ; we recommend these changes in PHP's behavior.
    + y9 l* O$ s5 X8 S

  95. + B- g9 b* F) P, L
  96. ; display_errors, N4 x! y6 _6 `- K4 V
  97. ;   Default Value: On5 J; @$ ^' Y$ l# }9 y& K- |
  98. ;   Development Value: On
    3 s; K! O% z  g9 f5 J) q3 ?5 P
  99. ;   Production Value: Off$ |  J9 w2 u' g  W  c; V/ t, P

  100. 5 f2 e2 j" C3 b; o' C
  101. ; display_startup_errors; B3 d" h  i: |3 s4 ~* B( h4 `
  102. ;   Default Value: Off+ r5 U( b5 V- Z+ C6 c- A
  103. ;   Development Value: On
    & W: ?  ^9 d' z, B1 ^
  104. ;   Production Value: Off
    " F2 }. l2 E; c
  105.   u. N& r  k8 g0 V+ ?. t
  106. ; error_reporting
    , }. d$ _/ }( z
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    + h( r+ b( }1 l; H$ {
  108. ;   Development Value: E_ALL
    5 T1 K( Z# S1 q
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ! i+ z3 B: z. i

  110. 3 y4 {+ O+ t7 m! v
  111. ; html_errors
    , O# H3 I6 W0 d- |2 W- O
  112. ;   Default Value: On4 [6 x+ X$ q  a' F! W. O
  113. ;   Development Value: On/ G, A" X. K2 G' y+ m4 r
  114. ;   Production value: On# ]0 q" @1 a1 _3 i) J; j) h
  115.   j3 E3 N2 O) K3 t4 s6 \' |1 t3 x# Q
  116. ; log_errors* }3 d: D/ }' r$ R
  117. ;   Default Value: Off/ n# i( F$ V" w  o
  118. ;   Development Value: On
    " W, r1 _# Z/ n& q. v7 J
  119. ;   Production Value: On- C" K! H5 Y0 F) E2 w

  120. + X  o2 p, u1 P8 e  l% B' d4 U/ a) M
  121. ; max_input_time
    ' [9 C' ~9 u9 U
  122. ;   Default Value: -1 (Unlimited)
      p7 @, u" m! Y: F# t8 j3 F
  123. ;   Development Value: 60 (60 seconds)
    * P# ~5 C& K, m4 R1 z
  124. ;   Production Value: 60 (60 seconds)
    6 X2 d( X6 m5 d9 c6 e0 j% D
  125. 5 p, E8 c/ S7 R5 N3 M! _5 O
  126. ; output_buffering' b  Q$ v. p% ~2 I3 u6 k, ?9 e
  127. ;   Default Value: Off
    4 i' P7 N# S' b( X" s
  128. ;   Development Value: 4096& S# `$ G+ c+ X* ^- e
  129. ;   Production Value: 4096
    1 C" h6 E$ m" e' g1 G

  130. * v7 ?1 j( Q# M2 j; \1 B, N* B
  131. ; register_argc_argv& m. Z+ }( Y0 i* A) Q" T
  132. ;   Default Value: On5 |0 f; h& R; z* t
  133. ;   Development Value: Off; E5 C3 o" T: S' z: h  G& T
  134. ;   Production Value: Off0 C+ N" p/ j2 a# d8 \$ m
  135. 6 k1 t1 F0 R. o! G+ U
  136. ; request_order
    6 }4 u0 ~; @3 B- L
  137. ;   Default Value: None, e+ S; {9 d5 w3 g0 X# b9 n. G) p
  138. ;   Development Value: "GP"2 z4 i0 M' k" Y2 a
  139. ;   Production Value: "GP"
    7 U1 W9 s* h/ }6 |* N$ }8 [
  140. 2 t8 U6 k+ P- B9 a4 M
  141. ; session.gc_divisor' E+ ]$ X! G3 Z5 u
  142. ;   Default Value: 100) m6 U9 N$ z% @: z3 R6 _( Y$ g
  143. ;   Development Value: 10008 p1 d3 ^, F% F  M* q) v5 e
  144. ;   Production Value: 1000$ c( B; u; d8 T/ g; g
  145. ' }& Z  T0 K% I4 C. b& o3 T
  146. ; session.hash_bits_per_character
    * _' ^  v7 Z- @; P+ r: W
  147. ;   Default Value: 4" g1 n- L: z: L/ f
  148. ;   Development Value: 51 ?2 t  F. S: g  Z" Z* l+ \' Z6 v- X
  149. ;   Production Value: 5! i! N) e' ^( v8 b
  150. ! b. G; b1 G& V8 H1 Y3 |8 Q+ V& p' J
  151. ; short_open_tag
    4 k+ `$ l7 d, B# A) U
  152. ;   Default Value: On) o) M* M# L' g& w) G
  153. ;   Development Value: Off
    & h" K. _0 A( t* G" W; \3 E) M; a
  154. ;   Production Value: Off1 j+ g* F/ M0 [

  155. 4 o- s3 I8 u* h7 ?2 h
  156. ; track_errors, l% j7 ?; I3 X4 k
  157. ;   Default Value: Off
    % N6 h# _) D% e) R- x
  158. ;   Development Value: On
    3 \) n! U/ D- Z% t9 y% O/ A( y
  159. ;   Production Value: Off
    . Z: B! J; Y' J) E  l: {! f4 r
  160. 9 \; X" U; Y" `$ ?* u; D
  161. ; url_rewriter.tags' _7 j+ k* k& @/ Z
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="" _, W: r  l  a) D
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( ?0 I$ h, o- M. X2 A& _
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 g9 a% j4 ?' D' S; K% l% t

  165. % u$ Z- ], h( _6 \5 s" w
  166. ; variables_order
    ' [7 u6 |- Z6 o2 W; G
  167. ;   Default Value: "EGPCS"2 ]0 Q3 N0 {& @% p1 u( s3 }
  168. ;   Development Value: "GPCS"
    3 a, [6 u8 n4 p
  169. ;   Production Value: "GPCS", R3 i' P0 L& L+ w) Y& g

  170. 4 K- W: T7 c; ]* L% |1 U+ E
  171. ;;;;;;;;;;;;;;;;;;;;
    + W' R! w: U% E' c8 E* g
  172. ; php.ini Options  ;
    2 G& u, w+ w" ^
  173. ;;;;;;;;;;;;;;;;;;;;: m% p6 o7 M, |& h1 w1 N7 z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"9 o( V1 _5 Y% O& ~$ ^
  175. ;user_ini.filename = ".user.ini"
    4 j1 C) z9 S# S9 _. ^* y
  176. . }( b* N9 j3 ?% \! g
  177. ; To disable this feature set this option to empty value
    4 D. m: @; I2 [) r6 A; `; u  g
  178. ;user_ini.filename =
    . ^+ E0 `  L( V6 f; J& ^( R( V
  179. % M, f* ~+ R' d5 }# y6 I# Y
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)2 L) A: o; l1 T% _) H
  181. ;user_ini.cache_ttl = 3004 {/ V4 t, y; r% M

  182. 1 v' Z+ i6 r8 ?! w' N
  183. ;;;;;;;;;;;;;;;;;;;;7 j7 m( i) q0 l2 Z' m6 h
  184. ; Language Options ;
    4 v4 q0 j0 H; v2 G5 P2 ^
  185. ;;;;;;;;;;;;;;;;;;;;1 j1 d# w0 V$ Y( F/ d

  186. 6 D8 O( i% C$ r7 C* g5 I3 z. K6 p5 T
  187. ; Enable the PHP scripting language engine under Apache.- u: [* @: I; ^% u5 {6 x
  188. ; http://php.net/engine
    3 ^0 D0 L1 |6 h2 N
  189. engine = On
    ' Q9 N6 ~5 b& x7 b5 c

  190. $ ?* n/ B/ X. ^$ i, f
  191. ; This directive determines whether or not PHP will recognize code between
    " q( `  t8 L" \  m, I" W, }
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    " p; Q- X) d  L2 v/ }8 l) U
  193. ; generally recommended that <?php and ?> should be used and that this feature3 A2 ?2 ?! S1 {  Q2 ]7 t/ D3 r6 }
  194. ; should be disabled, as enabling it may result in issues when generating XML
    . J  T( Z( e+ a+ n5 \
  195. ; documents, however this remains supported for backward compatibility reasons.5 `! p: ?2 k2 z( n8 R/ _
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    5 p+ `& V0 T2 v% A$ Q+ f
  197. ; used regardless of this directive.
    9 v9 b1 o6 g9 n7 T) F
  198. ; Default Value: On
    5 h7 a- J& j& ]. h
  199. ; Development Value: Off2 D" B$ p$ n+ F6 r$ v1 l
  200. ; Production Value: Off  a* r- y3 R2 Z
  201. ; http://php.net/short-open-tag# {  P# s% g! M5 p0 c  D- K) G# d
  202. short_open_tag = On
    3 m0 K8 D8 K$ Z6 \, @2 F3 Z

  203. . |+ Z8 c. h4 d0 [
  204. ; Allow ASP-style <% %> tags.! c" W" C$ _6 |9 s6 ]) A% r
  205. ; http://php.net/asp-tags2 E: k( s& G) }2 p& K& I
  206. asp_tags = Off
    7 c7 [5 R' K% n/ N1 x

  207. ' V  B1 P5 z* g
  208. ; The number of significant digits displayed in floating point numbers., |! @/ W4 f0 ~
  209. ; http://php.net/precision
    1 g) `( D0 L* e4 o" e4 x) @
  210. precision = 14
    ) Y2 q/ u9 L- m; S3 O, O3 ]
  211. ' `: b! A9 K" X) E3 P
  212. ; Output buffering is a mechanism for controlling how much output data' C4 p9 n6 r: z- s  |7 f
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that6 P- }+ K0 Y+ Z  M$ y* V( a" U4 b* X
  214. ; data to the client. If your application's output exceeds this setting, PHP
    8 _9 t( ~, f- ~% T
  215. ; will send that data in chunks of roughly the size you specify.
    4 C9 I- r  s6 H( b3 [
  216. ; Turning on this setting and managing its maximum buffer size can yield some4 k$ C/ t9 s$ |: v2 i! J
  217. ; interesting side-effects depending on your application and web server.
    & q. B0 Y; @! o$ C- U5 r
  218. ; You may be able to send headers and cookies after you've already sent output
      ?, I" B5 ~2 k) c! ^. m, I
  219. ; through print or echo. You also may see performance benefits if your server is
    / H* R/ y. U) _1 A. B* V
  220. ; emitting less packets due to buffered output versus PHP streaming the output# ^) k" o* l' C5 U. W! K
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance  d8 A7 q! @. X
  222. ; reasons.' W1 [: j  t6 i! N1 l& b
  223. ; Note: Output buffering can also be controlled via Output Buffering Control1 w8 ]: L6 D/ P0 r/ p7 C" e
  224. ;   functions.
    3 ~) i- U; n3 C1 U- s. p& W
  225. ; Possible Values:
    / I! ~2 S( @+ P" g3 q9 t
  226. ;   On = Enabled and buffer is unlimited. (Use with caution), K& Z% R) ~# B; N; i, W& s
  227. ;   Off = Disabled
    * v: w) p) o+ L$ {$ A- L4 i+ _
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.! d, K# H$ q5 b" @
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    " o  x9 L4 e. c0 B8 g4 T  a# m
  230. ; Default Value: Off9 b! q: j+ ?/ G: y  }
  231. ; Development Value: 4096& A* g  f9 l3 Q* s
  232. ; Production Value: 4096
    # ]8 I! T. q8 r( R) i. j
  233. ; http://php.net/output-buffering! W: c$ k# R3 V2 H7 b2 M, g  u  s
  234. output_buffering = 40961 \: O4 a- L# p
  235. & p6 {- p! b: ^1 ^5 E9 n
  236. ; You can redirect all of the output of your scripts to a function.  For
    3 g5 J( U" g2 a/ @1 ?& x
  237. ; example, if you set output_handler to "mb_output_handler", character
    " T4 S* o+ X9 u! V  ?
  238. ; encoding will be transparently converted to the specified encoding." u  q2 K( T5 D' v
  239. ; Setting any output handler automatically turns on output buffering.' I  ?7 u0 H3 H
  240. ; Note: People who wrote portable scripts should not depend on this ini
    3 V; T% c9 _. ?. w! X
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    / ^$ x# t$ c+ u0 m4 h* g: F9 T) d
  242. ;   Using this ini directive may cause problems unless you know what script
    1 n  B3 d/ q& @( H/ B4 P3 |& C( \
  243. ;   is doing.
    ( Q$ d* R7 `  E/ a( Q. n
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    0 E5 _/ d) Q4 F  S* K" V/ M( z* c( S
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".  s" F2 c; t, F( j
  246. ; Note: output_handler must be empty if this is set 'On' !!!!$ O  i6 s# O9 G
  247. ;   Instead you must use zlib.output_handler.
    ( a$ ]4 k) ?2 a, g/ l, d
  248. ; http://php.net/output-handler
    ; a! z/ U; S- e! \. ], z& l, W& M( Q
  249. ;output_handler =
    % l  R* m# v- S, K# d- m9 e
  250. - F+ P5 [+ y+ n- ]
  251. ; Transparent output compression using the zlib library. f0 B9 v, w2 p( T; q
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size- b! ^( P8 l/ g. r. e. k
  253. ; to be used for compression (default is 4KB)2 t  ]% D: }3 o: {7 @# M* N
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    * D5 \: A. _: i7 A
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    # i0 `4 ^1 d# F" z/ W% I) A
  256. ;   compression. If you prefer a larger chunk size for better1 ]! e7 P' v2 F
  257. ;   performance, enable output_buffering in addition.
    - e) R) ^2 S2 U8 Z' ?
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ' C! @: r, Z4 B' V9 q; \( W
  259. ;   output_handler, or otherwise the output will be corrupted.6 o  `1 u4 t" A8 F
  260. ; http://php.net/zlib.output-compression6 i5 ~% ^7 ]4 P# E( S8 q
  261. zlib.output_compression = Off
    " [4 n$ E! E) g8 w; E5 p
  262. 7 j4 A, m4 u1 W% c1 g
  263. ; http://php.net/zlib.output-compression-level
    7 P& f  g. C0 p, ^$ d7 H
  264. ;zlib.output_compression_level = -1
    ; t8 p5 S7 O$ n7 c0 t0 K" f0 d. k' }

  265. / O- ~, [) [! x8 P) [; F
  266. ; You cannot specify additional output handlers if zlib.output_compression) K, M5 q: U4 ?' g$ ]$ A
  267. ; is activated here. This setting does the same as output_handler but in
    ; N) F$ B# t( O4 j) o% r/ o
  268. ; a different order.
    $ p, l/ o, m. e* a$ Q! \, d
  269. ; http://php.net/zlib.output-handler
      _, g; o7 v0 z) _; n
  270. ;zlib.output_handler =
    $ P- f5 H- `- Q% I& f
  271. $ X, m* j$ ]( q6 m% o
  272. ; Implicit flush tells PHP to tell the output layer to flush itself/ C8 h0 c, O% ], w
  273. ; automatically after every output block.  This is equivalent to calling the
    * y6 Z0 n1 ?" l2 a6 w) B# W
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ( _1 A3 i7 m' {1 D1 P
  275. ; and every HTML block.  Turning this option on has serious performance
    : a  y6 n% N# V3 P- X2 @
  276. ; implications and is generally recommended for debugging purposes only.
    9 v( ]+ j* b9 I6 T
  277. ; http://php.net/implicit-flush( f1 T0 c( T3 T: F: h3 }( U- b
  278. ; Note: This directive is hardcoded to On for the CLI SAPI7 H" d1 {6 T6 `  z  p4 s1 A
  279. implicit_flush = Off* Z: _8 |1 J0 S9 Z9 b
  280. * }- b4 A8 k5 G$ d2 u2 J
  281. ; The unserialize callback function will be called (with the undefined class'
    8 F! O, H' C* B1 b* ^( X, k' l
  282. ; name as parameter), if the unserializer finds an undefined class
    & i% _, Q& e# r7 }
  283. ; which should be instantiated. A warning appears if the specified function is
    ; ~# A/ e+ W( t& _- o- s
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ; K, M- N5 P2 @- i
  285. ; So only set this entry, if you really want to implement such a$ M' w% @3 Q7 l0 p
  286. ; callback-function.1 h& F2 Y5 L7 u
  287. unserialize_callback_func =
    8 B- i' y+ ^0 x& {

  288. - ]& }8 W" \8 X8 c2 Z4 ~" f! _* Q
  289. ; When floats & doubles are serialized store serialize_precision significant
    & d" }: U# y7 O6 F6 f  ]
  290. ; digits after the floating point. The default value ensures that when floats- T- q- Y4 {3 y8 p5 l4 H, x
  291. ; are decoded with unserialize, the data will remain the same.
    . e4 y$ d. ~. W' b7 h$ h  K+ q
  292. serialize_precision = 17" s* y, u3 h2 S1 Q  ?9 ~# d# P

  293. $ ?3 F3 S2 H' g: i* f
  294. ; open_basedir, if set, limits all file operations to the defined directory
      q  }2 X- Y) l9 G/ y" F4 ~  j
  295. ; and below.  This directive makes most sense if used in a per-directory
    ; h9 f- K  D+ ]% ?1 f
  296. ; or per-virtualhost web server configuration file.
    0 S( g' }; ?  n/ r  `
  297. ; http://php.net/open-basedir( ?) w6 P) |9 `% b3 S7 s$ ^! y1 a" p! [: r
  298. ;open_basedir =; x# [# U6 m) j& o6 v) z
  299. + {3 }; H# `4 G
  300. ; This directive allows you to disable certain functions for security reasons.' X% u) v' P) \5 R5 o1 @9 J6 z+ J. Q
  301. ; It receives a comma-delimited list of function names.; R+ _' {% [; [' I7 s' |
  302. ; http://php.net/disable-functions! V4 ], A# k* t) {$ M
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ( U" F- \5 o( R$ r

  304. 4 W+ G! m  P8 _  A' u# j# s& D
  305. ; This directive allows you to disable certain classes for security reasons.
    0 s" u- H7 ]. o9 o& R, c8 W
  306. ; It receives a comma-delimited list of class names.8 W# }+ k+ y7 K9 i, u+ u" o3 g
  307. ; http://php.net/disable-classes
    + F9 q* I* B$ ]# r
  308. disable_classes =" t" }9 _7 L8 p/ W) |

  309. * U" l& e% x( t* Q
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    # ?9 h# @3 C3 r) W1 Y5 N4 E3 f
  311. ; <span style="color: ???????"> would work.
    ' m# _7 L1 W  u9 F. f; D
  312. ; http://php.net/syntax-highlighting
    " m  A) u2 v: w
  313. ;highlight.string  = #DD0000
    # o2 T  v4 Y/ T" f% _. k4 F
  314. ;highlight.comment = #FF9900
    7 J) \- c5 S  B  u0 \8 Z: L
  315. ;highlight.keyword = #007700
    7 z6 r* L# A' d$ c( G! Y3 v
  316. ;highlight.default = #0000BB
    , L8 V, g0 ~) S* O9 Y" j
  317. ;highlight.html    = #000000
    + t9 H& n9 m  T( _: g- J4 Q

  318. 0 }- w1 P) A/ @) I( C, V+ [
  319. ; If enabled, the request will be allowed to complete even if the user aborts% p8 @% Y3 t. G$ |! `( W+ _
  320. ; the request. Consider enabling it if executing long requests, which may end up
    + Z0 O9 M1 ^# b3 m
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior+ P& I, t4 z* X% b1 L3 G2 S. w
  322. ; is to disable this feature.5 Z1 R' G  m  x& Y: K$ y; o# t# C# {$ `
  323. ; http://php.net/ignore-user-abort4 p4 n& n. J: y. M" s
  324. ;ignore_user_abort = On/ q6 R' m$ M* a% |* z4 w

  325. / m. w% [4 `+ j! P
  326. ; Determines the size of the realpath cache to be used by PHP. This value should3 C( a( w' b7 a6 V# h! h& q
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    8 O- P, {$ Z8 M3 H- J6 W
  328. ; the file operations performed.; j: Z4 ~6 g- l1 }
  329. ; http://php.net/realpath-cache-size/ \2 T2 L- e8 k, D. a% Y
  330. ;realpath_cache_size = 16k7 w9 f: _+ {2 i/ n3 m, a; f$ [

  331. 4 \' K. M1 p7 ], @- P1 Z$ Y8 S
  332. ; Duration of time, in seconds for which to cache realpath information for a given, [, q' k1 U$ L$ A  S+ w3 p8 ]
  333. ; file or directory. For systems with rarely changing files, consider increasing this1 o7 U+ @% L9 S9 C. d) G$ O- s* v
  334. ; value.
    # D' Q( c: g% U, s- ?
  335. ; http://php.net/realpath-cache-ttl
    ( I- [: u2 R: ?$ `0 X
  336. ;realpath_cache_ttl = 120
    # ?5 J" A2 p; @* ^' E, W8 u

  337. 6 D0 m: V, C+ e  y; ]
  338. ; Enables or disables the circular reference collector.
    & {4 E0 y( w9 r# S: N5 S" t, T- @
  339. ; http://php.net/zend.enable-gc
    & ~4 S8 {; h# u$ e# P- P& O
  340. zend.enable_gc = On/ H; R: v+ Q( B+ C# l, C: g8 M

  341. 5 u0 b1 G/ t& t' l5 X. y1 M
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    - ^; e7 x( B% M" Y0 f7 n+ E3 }* T+ s
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    5 ]5 O; U2 X5 A
  344. ; encodings.  To use this feature, mbstring extension must be enabled., m$ |4 N9 ^' `8 I- F! {9 Y& A+ [
  345. ; Default: Off
      f" t2 ]  q2 @* |' P$ i8 m) A
  346. ;zend.multibyte = Off
    : j# F6 w8 ^0 c! a
  347. 2 l- O7 ~# Y/ d/ R6 l1 \! `) L1 X2 ]$ X
  348. ; Allows to set the default encoding for the scripts.  This value will be used8 a1 ^* E) D- q( M
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.0 v% E. d% P) G8 N! G; b0 a2 y/ y
  350. ; Only affects if zend.multibyte is set.5 \+ t. K9 k/ v# R0 q' E& U
  351. ; Default: ""
    ( v- n) l3 W- z7 g/ g9 V+ U( H
  352. ;zend.script_encoding =7 B. D* f: J/ l+ q8 J# F- k

  353. 2 s) i7 t1 _2 F, W0 M
  354. ;;;;;;;;;;;;;;;;;
    4 z( v; t/ G' m% Q
  355. ; Miscellaneous ;6 u! a3 r2 I5 f4 l7 P
  356. ;;;;;;;;;;;;;;;;;
    ( [% S+ O4 b3 H
  357. 6 j+ K! f; K/ c) Y1 [
  358. ; Decides whether PHP may expose the fact that it is installed on the server6 l! h  K$ l) E3 L' z
  359. ; (e.g. by adding its signature to the Web server header).  It is no security8 s  N7 W: y8 s' m( e1 G7 z
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    1 }4 m, g% l! G
  361. ; on your server or not.
    8 y6 x8 Y4 w; e! r3 c" y7 K
  362. ; http://php.net/expose-php' p1 e8 Y: F% ?
  363. expose_php = On
    % m- U# F3 S+ b2 P

  364. + `( R; J9 J# E% k& s3 X+ J
  365. ;;;;;;;;;;;;;;;;;;;" C8 I: S7 `& K4 e
  366. ; Resource Limits ;
    6 s" m$ k$ w; p, J! n, R9 l$ {
  367. ;;;;;;;;;;;;;;;;;;;
    $ z* q' G3 K+ T- w% ^4 B) B

  368. ; U* s* J$ [$ M/ h# B& q- [* N* @
  369. ; Maximum execution time of each script, in seconds
    ) P( x& f9 T9 T0 U. ]8 |& v) C
  370. ; http://php.net/max-execution-time
    6 k: \+ H  G) O/ H% c3 f4 b3 z- V
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI: C, H2 ~* M& \: w+ P
  372. max_execution_time = 300
    ( i' G3 ?5 V  B' w5 I8 T
  373. 5 G9 g6 I% a- S9 S; Y+ R( \
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    0 {  |7 h  e' ^$ ]; E
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly+ E3 ^2 P1 ^( n& c. o
  376. ; long running scripts.
    7 G) U$ m& K  ?( g+ H- q
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    % d! o) E: o( B* W/ h9 T% Y7 n
  378. ; Default Value: -1 (Unlimited)' T2 ^# E9 V, I2 N+ T) V, V8 ?
  379. ; Development Value: 60 (60 seconds)' p+ y1 d) ?1 i$ f% R
  380. ; Production Value: 60 (60 seconds)7 m3 r2 r5 U. K0 E% }
  381. ; http://php.net/max-input-time
    " z' J* Q, ~! T+ F2 A
  382. max_input_time = 60
    8 R1 B4 V$ C9 }. ?  K% C

  383. , z6 r6 D2 |" E5 u8 q" r7 D
  384. ; Maximum input variable nesting level6 m# {% Q) O1 f' j4 `6 O6 ~4 V
  385. ; http://php.net/max-input-nesting-level# q  x9 B7 @4 Z* P% I
  386. ;max_input_nesting_level = 64" A  R$ o' m6 M/ z  t
  387. 8 t  k* A, w, S4 \* A5 [' Q
  388. ; How many GET/POST/COOKIE input variables may be accepted
      z* m. U* p7 u: s0 x
  389. ; max_input_vars = 1000* k" b0 g8 N) L  w2 Z* V! y
  390. 4 R& Z' d% d' t- a9 E
  391. ; Maximum amount of memory a script may consume (128MB)* S+ R" R! n4 `: e" N: ?
  392. ; http://php.net/memory-limit
    . U% y0 p0 ?7 G7 B, ~2 r
  393. memory_limit = 128M5 D9 d3 S6 d! ^

  394. - `$ q6 u, `" ^/ j6 g
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) ?7 O8 s+ z. R+ O2 R/ F+ p
  396. ; Error handling and logging ;
    $ i7 [# Z8 j$ s1 j7 _+ |
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    - @+ \7 p, f/ {! d  J% `
  398. - s2 T0 y& c1 `0 i6 ?# F+ ~
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    # u; Q5 g/ g8 j6 L$ b
  400. ; it to take action for. The recommended way of setting values for this
    ; a5 C. w" t: h" [; Y
  401. ; directive is through the use of the error level constants and bitwise% k. G: a  m" i) {8 t
  402. ; operators. The error level constants are below here for convenience as well as$ p4 P+ b& ~: m# Q$ }' `) e. T
  403. ; some common settings and their meanings.2 R- t( p$ z; k. a# J
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    : k# p+ R5 B! A, u6 m" x  @% M
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    $ U% Y2 q6 D- d5 m
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    ! O: }  b! I8 h1 ~; I7 D
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    $ _8 B! o  J* a1 Q4 x/ R
  408. ; resources complaining about best practices and coding standards. That's what
    6 H! f4 J8 q4 e' p) }
  409. ; development servers and development settings are for.
    7 |$ M% m6 N. N: `" O( K( t
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ) W" b& K/ Q( U0 U
  411. ; means it pretty much reports everything which is exactly what you want during; k0 O1 q: B; y# U
  412. ; development and early testing.) S3 M' [; e1 `
  413. ;
    3 f! t. M5 |/ t6 T" Z, S" p: j9 @
  414. ; Error Level Constants:
    5 G3 B0 i6 @, E# E  n
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! O1 s! T# p. V! e
  416. ; E_ERROR           - fatal run-time errors' g1 n- E3 H  X
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    : A5 S7 q& Y- R5 h/ J
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    & B( ]2 @& ^" ^6 O. H
  419. ; E_PARSE           - compile-time parse errors
    2 e& U) I  X1 k1 [4 ^9 M: G4 a
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    1 M7 u. }! O; H- s5 U
  421. ;                     from a bug in your code, but it's possible that it was8 c8 N0 }% U8 L# A
  422. ;                     intentional (e.g., using an uninitialized variable and
    % U. e6 X) a) G( K" D" j
  423. ;                     relying on the fact it is automatically initialized to an
    & I- s& ]9 n6 \9 ?% q; s5 C
  424. ;                     empty string)
    + p' @  }' p2 c
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    " p, ]; B1 \8 t  n. }8 G- |
  426. ;                     to your code which will ensure the best interoperability
    * Z  u/ ?& L- N- u
  427. ;                     and forward compatibility of your code' V* S7 p+ Q8 B/ v% w* W; f! ~* i
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup& [( u4 Z: F2 m, T! [: Q  t
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
      [- i6 Z/ T2 u, u
  430. ;                     initial startup
    1 G" j. c6 V% G! }
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    5 h+ e0 h; n+ A- x
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)) m+ L) h: z  S! n# X; X
  433. ; E_USER_ERROR      - user-generated error message
    " \# ]- E2 N9 ]1 a- `. C( H
  434. ; E_USER_WARNING    - user-generated warning message
    2 U# K. x5 Y; T. i, @
  435. ; E_USER_NOTICE     - user-generated notice message' U# l+ x1 S, a$ F) v) J
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    " y- W; E- `1 ?+ F& m+ `
  437. ;                     of PHP/ v; g1 o$ G$ a0 T/ x* n% B9 }8 S
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    % n& n; ^- u* f
  439. ;
    ( P- ?( e* l7 n. ^$ z
  440. ; Common Values:1 c1 ~0 ^" s+ w& j1 R# D  i
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    $ L3 G4 I0 T5 z! u* f) X$ v
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)/ L3 I% G" D) |% b: ?5 \  M4 k
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    5 X/ K. o2 W+ @8 P1 }' h- e* l! B2 L
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)7 e1 O8 d! `/ r
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED7 H4 H) S# w& O" B& {4 y6 ?+ N2 R
  446. ; Development Value: E_ALL
    6 [: h) p% f6 i# A: n% _, `
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT$ \- b: F9 s' U& b5 l
  448. ; http://php.net/error-reporting9 V; \5 U( i& @
  449. error_reporting = E_ALL & ~E_NOTICE  [5 c- z6 d; j7 _2 m

  450. 2 b2 J, S+ j& s; z6 k1 q
  451. ; This directive controls whether or not and where PHP will output errors,) M5 d; N9 y% k$ G0 z
  452. ; notices and warnings too. Error output is very useful during development, but& h: g* c  G* o2 H
  453. ; it could be very dangerous in production environments. Depending on the code
    - ]% `+ h. C- t) |& p- f8 ]
  454. ; which is triggering the error, sensitive information could potentially leak
    3 G5 N0 Z" `; \1 r: r6 y3 ?: L! M
  455. ; out of your application such as database usernames and passwords or worse.
    ; ^0 S3 n* a: O$ F: `8 b
  456. ; For production environments, we recommend logging errors rather than
    7 a( P" t: ]  z/ k
  457. ; sending them to STDOUT.. I; d: y' c6 Y; n, I
  458. ; Possible Values:1 I. ]$ g( i" W, Y+ Y" t
  459. ;   Off = Do not display any errors
    : m# s% s5 ?0 f! m( I7 n
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)5 W$ M. i" Y& r; ^8 @; b) r+ o9 d
  461. ;   On or stdout = Display errors to STDOUT
    / `: w1 v7 w0 |; b4 Z, l' B
  462. ; Default Value: On- g  m$ H: Y6 ^9 _( \. X
  463. ; Development Value: On0 ]# A/ W# H9 E% q  U8 T
  464. ; Production Value: Off
    ; c2 k- j- a/ q' n
  465. ; http://php.net/display-errors% p. w, u, q7 ?! v
  466. display_errors = On
    ' }9 d% g1 M* U2 V6 h
  467. 8 Q( u$ d7 t  }# x3 |* [
  468. ; The display of errors which occur during PHP's startup sequence are handled
    / t" C& E  |3 P2 Q7 j
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ) ]/ L7 R2 `7 O& i3 T
  470. ; errors from clients. Turning the display of startup errors on can be useful in2 N' i! t7 r4 G$ A
  471. ; debugging configuration problems. We strongly recommend you2 i# {9 S  _" [6 p: M6 m8 P1 J
  472. ; set this to 'off' for production servers.
    / }3 R* |" L: u( y7 ?0 C
  473. ; Default Value: Off! N: i" N+ g: m2 S+ ]" r7 z
  474. ; Development Value: On
    4 M2 E: j- G, r$ _
  475. ; Production Value: Off! \2 X% a. n1 l  A8 l
  476. ; http://php.net/display-startup-errors
    7 J) C0 s% ]' ?. {& {- ?* p- ^" a3 {
  477. display_startup_errors = Off
    & C2 w' R: ^/ ^; ?

  478. 5 x+ V# u( H3 h
  479. ; Besides displaying errors, PHP can also log errors to locations such as a6 l4 n7 M+ X, G6 @2 _+ e$ I9 ^
  480. ; server-specific log, STDERR, or a location specified by the error_log. h5 a$ N4 R* R' a8 z
  481. ; directive found below. While errors should not be displayed on productions0 X) r& r& F: j5 ^' F
  482. ; servers they should still be monitored and logging is a great way to do that.
    3 a3 o( ?! f8 B2 B1 b0 i1 E/ j5 E
  483. ; Default Value: Off. L9 N! e8 U% I; f- P7 u
  484. ; Development Value: On
    " y% L) ^  m! t: @% Z. x0 b2 S
  485. ; Production Value: On
    . @8 [" w, U6 ^/ m, W
  486. ; http://php.net/log-errors; o& ~* h1 [" C5 x% V% D
  487. log_errors = On
    $ {$ e8 _; Q8 Q& U" L

  488. 1 ^4 o9 `; |$ c
  489. ; Set maximum length of log_errors. In error_log information about the source is
    8 s, d1 t5 D! ~, N1 b/ O
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ' t+ T0 S/ O9 d$ x1 }* ~$ {
  491. ; http://php.net/log-errors-max-len& g* T8 r6 h" P5 P1 h4 }
  492. log_errors_max_len = 10248 t% A( ~9 V+ I" R, v9 l. F

  493. % E1 Z, g8 U- }1 R. e
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same/ }4 ~- n8 s4 _% l( m6 ]! J
  495. ; line unless ignore_repeated_source is set true." n  F+ n, m$ P7 j. D! u
  496. ; http://php.net/ignore-repeated-errors; f( o/ Q* I* R8 v+ }5 m9 I' }
  497. ignore_repeated_errors = Off* `  V' W) L. e1 E
  498. ! z$ t3 R- S. ^/ @/ y
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    % [) g' W5 @5 j& O' M6 G
  500. ; is On you will not log errors with repeated messages from different files or! A) f" B7 S! H4 O6 J+ ?% c. m
  501. ; source lines.
    " D2 S) T3 F) K* t# }- g6 P/ E
  502. ; http://php.net/ignore-repeated-source
    7 I0 s- I+ [, A9 I, N, w
  503. ignore_repeated_source = Off
    . X1 {( f* N  Q! f& r

  504. + Q; Q5 w, V% @3 b+ T
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ; Z1 l. M  M. S$ P
  506. ; stdout or in the log). This has only effect in a debug compile, and if2 v7 c8 \& s3 N1 C8 |2 Z
  507. ; error reporting includes E_WARNING in the allowed list
    % L* N3 v7 {% ?* Y+ O
  508. ; http://php.net/report-memleaks
    3 j4 I6 D, Z  `- e
  509. report_memleaks = On( H0 o6 }' E, O" q' q1 @3 ^1 n
  510. 1 z9 `( y6 l( V) X6 m
  511. ; This setting is on by default.
    . s5 B, c/ I6 s4 g2 J, A/ c$ a
  512. ;report_zend_debug = 0( v3 Z6 d$ g8 N& {  K' @  A

  513. 2 ~$ [) H! U8 o+ }/ T6 u2 O3 e
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value$ ^' N3 u9 W: t0 S% W. Q$ m
  515. ; to On can assist in debugging and is appropriate for development servers. It should& f' h& ]5 N, |& i
  516. ; however be disabled on production servers.
    ) j' w. X# [6 Z4 C
  517. ; Default Value: Off
    $ C8 l) P, [: _" j" j# A/ ^
  518. ; Development Value: On4 D8 ?2 j& e; b
  519. ; Production Value: Off& U  U* i4 O3 g+ I) L6 q
  520. ; http://php.net/track-errors
    - U5 h1 d8 h6 `8 `
  521. track_errors = Off
    ) x" o2 J. `, J' L& Z: @- d+ K+ o' I

  522. ; s* X9 f3 b- X& y2 p% G
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ) ~3 k2 C) e5 q; i
  524. ; http://php.net/xmlrpc-errors
    4 q2 A2 V7 ?& M6 X* `& J( c
  525. ;xmlrpc_errors = 07 y# N: z" S- {, G7 @  a: y

  526. 3 j7 I9 }/ t* L" o
  527. ; An XML-RPC faultCode
    8 V/ ~; @. ~) q$ r: P3 q& r4 P
  528. ;xmlrpc_error_number = 0
    ; ?5 Z% p5 i$ @, X) T

  529. 0 d* P+ P% r* V1 I9 F; j
  530. ; When PHP displays or logs an error, it has the capability of formatting the: l5 G6 X5 r+ M, f
  531. ; error message as HTML for easier reading. This directive controls whether% @: i# ]2 ?* x) N& ]5 }- O
  532. ; the error message is formatted as HTML or not.; j) h) R7 }; o; M$ }6 X( G
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI  Q1 J) o  e( Z
  534. ; Default Value: On
    - w9 Q9 t9 U9 P) B6 ?
  535. ; Development Value: On
    % p' k9 s: z0 S8 G3 \
  536. ; Production value: On5 e) P0 h% G2 N! b9 v4 \8 n) ?
  537. ; http://php.net/html-errors& N& m8 d8 g; a+ E
  538. html_errors = On
    - \) f  y6 p; C" l$ r6 J
  539. % d+ _3 f. B8 w# \0 E) l( M
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    6 T, b( P. ?% s& J3 V
  541. ; produces clickable error messages that direct to a page describing the error
    - B  a% r& ?0 H$ Y1 Z2 x# c5 e
  542. ; or function causing the error in detail.& B0 e. F2 ]8 l; z$ r8 R
  543. ; You can download a copy of the PHP manual from http://php.net/docs1 U6 T" g- Y2 ?& v0 f
  544. ; and change docref_root to the base URL of your local copy including the
    " u3 L# [* U- k, e+ ~
  545. ; leading '/'. You must also specify the file extension being used including
    1 G8 }" F. y( M1 a
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ( X  R3 F- c4 f' [
  547. ; case no links to documentation are generated.
    " _+ Y% ~! y$ c5 B0 Q1 o
  548. ; Note: Never use this feature for production boxes.
    1 W; T, e  X4 |: v* n% O) T
  549. ; http://php.net/docref-root" s/ f: x2 F7 ?
  550. ; Examples& g. G$ N5 Y. L8 J7 o7 o
  551. ;docref_root = "/phpmanual/"
    ) ?( Q% }2 i5 c' h3 _

  552. . T, ~. S  P' c( w  l
  553. ; http://php.net/docref-ext, B* P: A& L! I# u6 L# n% `" Z
  554. ;docref_ext = .html
    ' |8 j* S% C- }; j: r' {1 |2 F
  555. " p2 t+ {, @# ]/ P+ m
  556. ; String to output before an error message. PHP's default behavior is to leave5 Y5 w3 m" X( ?! C; B
  557. ; this setting blank.2 J6 j/ W; ?' ]' X( R$ l
  558. ; http://php.net/error-prepend-string6 a5 v4 C! L. W) I1 }% @) A/ ?& ^
  559. ; Example:2 r/ e  v$ V! f3 ]" J1 b3 u
  560. ;error_prepend_string = "<span style='color: #ff0000'>", i6 ^6 p9 a9 B% u# T" q% R
  561. ! k+ l3 f$ V' L6 Z0 R# O+ j: w
  562. ; String to output after an error message. PHP's default behavior is to leave
    & Y" G0 z& b9 }4 G- S9 \0 ^, F
  563. ; this setting blank.# }% M" `$ _7 x+ M- m
  564. ; http://php.net/error-append-string6 x- G! n$ L5 U( w
  565. ; Example:: R$ R7 l/ b& D
  566. ;error_append_string = "</span>"
    ' s, Y% I" j& D$ X
  567. 0 J8 u% w( X" L* \
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    * ?! [, ~+ s4 C( I
  569. ; empty.
    8 F! O9 y+ z4 |. d8 V5 j8 w" |1 w$ c: P
  570. ; http://php.net/error-log* y' Z' G% \2 @- a
  571. ; Example:* ^6 h9 e# Q/ l
  572. ;error_log = php_errors.log
    " }, f5 E) N! K
  573. ; Log errors to syslog (Event Log on Windows).
    9 x  Z. {5 Z7 g0 }
  574. ;error_log = syslog
    ( K( x+ p- Y+ n8 R, y2 ]
  575. / U  P: r, r+ _# B* _
  576. ;windows.show_crt_warning
    ) Y9 o2 v; t0 ?$ f5 F/ c
  577. ; Default value: 0/ o: P) S" a! r# j3 ^  F
  578. ; Development value: 0$ \% \" b8 D# j+ S# b+ [( j, D
  579. ; Production value: 0
    5 M' I# q% c  c% C5 q" S; t7 w

  580. ! }* h/ I" L& X% }
  581. ;;;;;;;;;;;;;;;;;
    ! k4 \  q* A/ Q' u% `5 o
  582. ; Data Handling ;
    & P0 N2 G  b# ~) x0 t; i& a
  583. ;;;;;;;;;;;;;;;;;- \$ B7 J4 X5 A8 E0 B' T

  584. % R- s2 Q2 L3 u( N
  585. ; The separator used in PHP generated URLs to separate arguments.
    * b* ~; _& B/ o& A2 F: W. h9 w
  586. ; PHP's default setting is "&".
    ; a, Q1 _  `! i' z( \* }) `
  587. ; http://php.net/arg-separator.output
    % _1 X4 `; Q6 k: Y: W
  588. ; Example:) t' M+ n: N3 x/ h  r: W( q  l+ T0 S, V
  589. ;arg_separator.output = "&amp;"" T* {- A% s* N* O: Y
  590. & q0 v, P, [6 e7 @; [
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ' Q- `6 d' W7 K* b5 n9 o! \8 t$ v
  592. ; PHP's default setting is "&"., y0 ]7 @. F% e! y" c2 G8 u
  593. ; NOTE: Every character in this directive is considered as separator!
    * [5 p* c! w9 g/ o) R+ C, F
  594. ; http://php.net/arg-separator.input
    9 \* C% i1 k( H6 m
  595. ; Example:  d' @$ p0 h) @& }1 m
  596. ;arg_separator.input = ";&"! W9 Z3 K3 ^! H, P
  597. 8 ]8 L& U9 g$ i/ a4 x; @
  598. ; This directive determines which super global arrays are registered when PHP
    $ C$ j, h. z- b- s+ {4 a) _6 H
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    * O( N! [+ W# C" N
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    . h9 X7 ^8 J7 b
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    $ U5 [4 ~' \) x# [( d6 C2 W
  602. ; used as the others, ENV is not recommended on productions servers. You
    8 D, f) r, H: `" A) Z5 C/ K! `2 O
  603. ; can still get access to the environment variables through getenv() should you" A8 `7 [3 T/ D" Q% E: t! o7 e
  604. ; need to.4 L& `5 z, l* z+ Z+ ^$ r% {
  605. ; Default Value: "EGPCS"
    ) `+ `  \; M1 ]7 }7 g. Y
  606. ; Development Value: "GPCS"
    & l8 v1 o  t8 P% Y% E" x1 ?
  607. ; Production Value: "GPCS";
    " C0 |, Q$ X( Y& X
  608. ; http://php.net/variables-order
    * x8 c8 ^/ C! \/ N
  609. variables_order = "GPCS"
    # ^3 ]) a! f; X" H+ H8 \* [3 e8 @  V

  610. % F" t( W" Q, \: g$ ?
  611. ; This directive determines which super global data (G,P & C) should be
    8 p+ `( }: u& D' u0 S
  612. ; registered into the super global array REQUEST. If so, it also determines
    # J! s$ I% D. }
  613. ; the order in which that data is registered. The values for this directive* N3 m# B3 U# w/ T
  614. ; are specified in the same manner as the variables_order directive,
    : \7 h+ c. C5 e) s: V
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set0 e& d9 C1 m, M0 g5 o# _
  616. ; in the variables_order directive. It does not mean it will leave the super) B. P6 R1 i" r1 V8 o8 P+ z2 d
  617. ; globals array REQUEST empty.
    $ |* {  q. |0 V. b2 r; u3 ?
  618. ; Default Value: None8 o, W7 h- \; y1 ]( \# i# J
  619. ; Development Value: "GP"
    : |- {0 F8 c% j: \
  620. ; Production Value: "GP"
    . b6 z' R" f2 u. U9 c
  621. ; http://php.net/request-order5 X5 F  s2 r' `  K0 `! _" X: J+ X
  622. request_order = "GP"  _/ E7 j! `8 `
  623. + J; B, ^& z: c$ w5 S4 R
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    ! D" X0 {( o. z8 q  c/ P4 K) E& {* `
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script; w1 g7 r4 D4 x0 T: A1 c
  626. ; is invoked. $argc contains an integer representing the number of arguments
    3 a8 A' z& {  g( c+ W% f+ d5 c! n
  627. ; that were passed when the script was invoked. These arrays are extremely
    : |  h; x0 S5 v$ G, {: I
  628. ; useful when running scripts from the command line. When this directive is
    8 ~. H; P5 b- I: w3 [/ |
  629. ; enabled, registering these variables consumes CPU cycles and memory each time+ h. A1 {" O( m5 F; r: G! b$ h
  630. ; a script is executed. For performance reasons, this feature should be disabled
    1 r, O2 r; O/ m, @7 ~/ |( g5 M
  631. ; on production servers.7 F/ ^. F' `- t2 T' `) K( @
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    , X0 _' [4 d2 D4 C" z/ |( ~3 G
  633. ; Default Value: On0 n; a5 c1 ~  X" v) S, L# Q
  634. ; Development Value: Off
    8 @0 r6 A. o) Z
  635. ; Production Value: Off
    % \! f4 n9 b5 l! h! \% V
  636. ; http://php.net/register-argc-argv
    - N3 {$ C$ d5 J% C) p
  637. register_argc_argv = Off
    , }0 b# S% y: T: m( s6 h4 Z) A( c

  638. * I6 F- h4 m% P! V' f  z
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    - Y+ y4 ~4 L9 Z& k# E4 S8 ?
  640. ; first used (Just In Time) instead of when the script starts. If these# b  Q2 z3 U; d' o% e. N+ u
  641. ; variables are not used within a script, having this directive on will result6 S0 E0 B! N% Y7 e/ m: X) J( S
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled0 `8 _3 ~4 E' J2 ^7 T4 p& f
  643. ; for this directive to have any affect.
    & E" M2 p3 ]$ w; a3 R
  644. ; http://php.net/auto-globals-jit
    7 U- i" {( E$ T# G% a1 x. w
  645. auto_globals_jit = On6 P) |+ F. S) N/ Q
  646. 7 x) j( ?# E% }  B8 g
  647. ; Whether PHP will read the POST data." I8 `4 z( @& A! n" t# [
  648. ; This option is enabled by default.
    - N9 {8 q" a3 `! Q) k' J3 V
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST5 m7 N9 @) q) j3 p/ U
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    & ]6 b. V" m# ?/ o9 _
  651. ; POST data will be through the php://input stream wrapper. This can be useful/ H, {9 m" w( K, g* J
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.. m: ~! z, ~& |  h2 s) p: A4 J/ w% }
  653. ; http://php.net/enable-post-data-reading% l6 f9 p  P6 W
  654. ;enable_post_data_reading = Off; {( I4 p/ V: B3 ]' m& q

  655. 9 h, L; X  y5 f4 n; E+ k1 D$ T
  656. ; Maximum size of POST data that PHP will accept.$ @: N2 L& X% D5 L  e6 C2 x
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading( E  O# K. a8 E+ ^/ z( n6 K
  658. ; is disabled through enable_post_data_reading./ h- ?9 S  X3 R/ K3 J. h
  659. ; http://php.net/post-max-size
    & x* B0 s% F( `' u. n
  660. post_max_size = 50M
    . z  ~0 [0 U5 s  O
  661. 7 N0 y! W; J" M3 j
  662. ; Automatically add files before PHP document.( R$ S  w6 A: @2 W7 `4 ~
  663. ; http://php.net/auto-prepend-file
    + f( T7 v% o' c* o+ u# m4 Q9 A
  664. auto_prepend_file =6 y" ]1 f! E: a+ V0 Q" {. F. y" d! i
  665. & J9 Q( h( P" }6 h0 ~' P
  666. ; Automatically add files after PHP document., }2 H" X6 @1 j& v4 W
  667. ; http://php.net/auto-append-file
    , Q6 f3 A9 N8 C" Y- e
  668. auto_append_file =1 ^) E; O5 c$ O2 g5 W8 G: ]' i( s
  669. , z! }( w( m3 [, ~/ a7 E
  670. ; By default, PHP will output a media type using the Content-Type header. To* d- W1 _5 P& M) j: b3 V/ o! I0 v
  671. ; disable this, simply set it to be empty./ }7 P" u! P0 N5 R5 K
  672. ;
    7 _" h! {# |3 e8 W6 V. f" F, c/ r  \% @3 w
  673. ; PHP's built-in default media type is set to text/html.
    9 J6 I. i3 t3 ]$ |
  674. ; http://php.net/default-mimetype7 ^( r* q+ O3 Q- _! y' \
  675. default_mimetype = "text/html"
    + G4 |& @, V) {4 E

  676. * @- y0 X1 R! T
  677. ; PHP's default character set is set to UTF-8." Q( E8 S5 C" w% l! T
  678. ; http://php.net/default-charset9 I8 u6 @. q) F
  679. default_charset = "UTF-8"
    ' b* p" n3 o; U( `) x

  680. 1 H+ [- H$ x' L' Y* n
  681. ; PHP internal character encoding is set to empty.
    / F/ A. m2 a" M8 v* C- O3 y8 d
  682. ; If empty, default_charset is used.) f$ t( s! R4 N7 n- I
  683. ; http://php.net/internal-encoding( g) i) W6 s0 D! S" ]
  684. ;internal_encoding =
      c6 D2 w3 N6 s& _

  685. 9 J2 H# h9 i$ o$ D# m" G3 x
  686. ; PHP input character encoding is set to empty.
    ( Q0 ^1 H( b' P2 Y; j5 y
  687. ; If empty, default_charset is used.2 Z% `  J: y: ~2 \
  688. ; http://php.net/input-encoding/ Z. {3 R6 G8 [# u+ Q/ J/ B/ m& |2 \
  689. ;input_encoding =7 A( T7 e* j, u9 Y
  690. " j9 o# g" u+ X0 f' Y& y
  691. ; PHP output character encoding is set to empty.
    7 S; c! w: L+ u; |( u2 c
  692. ; If empty, default_charset is used.: _  T) l* p/ h) j+ o5 x5 N
  693. ; See also output_buffer.
    ! d$ T, M( r6 d% i5 ]  ~2 q% R. {
  694. ; http://php.net/output-encoding  o. H! X6 o1 U1 Z3 y
  695. ;output_encoding =
    $ @* I( I. S3 L7 x# ]& s# `# |
  696. 1 c6 X0 u! N' C" D  [' j* E" p/ C
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is$ l, s  b/ k' O7 D+ b( @
  698. ; to disable this feature and it will be removed in a future version.
    ( g% ?1 g3 x9 a4 K
  699. ; If post reading is disabled through enable_post_data_reading,
    & y/ T$ T2 s; p' H
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    5 |" Q$ P* f( p2 j% f
  701. ; http://php.net/always-populate-raw-post-data
    1 u: P4 X7 T" w9 K6 O, ~: d
  702. ;always_populate_raw_post_data = -1+ }$ K. i' u+ H$ R/ P

  703. 3 |/ n6 l0 ~  u9 x3 N5 z3 r0 a
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ) J) g4 F! Z$ Q6 h* P+ a
  705. ; Paths and Directories ;
    ( F! W- T+ `- u% v5 f. P
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 X& @$ c' Y5 H" P1 @) w
  707. 8 D+ M& q4 H' A3 `; }
  708. ; UNIX: "/path1:/path2"
    6 a% Q4 _! T" F2 e5 B
  709. ;include_path = ".:/php/includes"* R* ~& `! W. E, _  j7 v1 q- t# w
  710. ;
    $ D# |+ G; t4 ?3 m- u6 L
  711. ; Windows: "\path1;\path2"
    6 `8 g: }7 N& i1 g6 P$ \* P
  712. ;include_path = ".;c:\php\includes"- E2 `) e% _+ N  I
  713. ;
    $ i  S& y- n1 h
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"0 ?: U% l; W3 G2 n0 l, e6 @- q
  715. ; http://php.net/include-path- L* s6 T; u% w5 L6 O5 [

  716. , S& P: l& R1 v" i+ i4 w7 A9 P
  717. ; The root of the PHP pages, used only if nonempty.
    / ?  I8 z% r6 T* S& D' Y
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root' L- W/ R* e4 H
  719. ; if you are running php as a CGI under any web server (other than IIS)
    1 [; m7 Q# Q6 @# V% f3 i
  720. ; see documentation for security issues.  The alternate is to use the
    / e/ G" N8 v$ y' B/ Z
  721. ; cgi.force_redirect configuration below
    4 S2 q" m/ o& n% W2 S( M
  722. ; http://php.net/doc-root
    - T7 L$ x1 z( N3 S1 {6 S& |
  723. doc_root =
    : Q6 Y8 D, n! e3 Y

  724. 4 M8 f/ V: `7 ~% S
  725. ; The directory under which PHP opens the script using /~username used only
    % i% X* {0 [- f, x$ k6 x& G
  726. ; if nonempty.
    : g0 M$ }3 E. y  g# V' f- ]
  727. ; http://php.net/user-dir* j' F. S3 U# I  q9 ^6 a
  728. user_dir =! y6 P/ a6 r& Y% \6 K3 |+ Z" b

  729. 9 U% U4 l! H1 ^0 i
  730. ; Directory in which the loadable extensions (modules) reside.
    ( B5 b9 d# w7 v, X8 l1 T: Z7 K
  731. ; http://php.net/extension-dir
    / L7 w) T5 q  Z9 z& d
  732. ; extension_dir = "./"" ?; F+ d0 F+ s2 D+ K2 F" n
  733. ; On windows:
    % e  k' t* N" J7 E8 k1 K0 c
  734. ; extension_dir = "ext"
    * u  o! \; O) i- N( V4 s1 v% p

  735. ( W7 Y' O7 }, B, K1 x( X( Y- Q
  736. ; Directory where the temporary files should be placed.' T0 E+ M2 l5 ^' f
  737. ; Defaults to the system default (see sys_get_temp_dir)$ x" t2 M) ~+ @; H2 o
  738. ; sys_temp_dir = "/tmp") g. u8 T' A9 S, m  i* m2 m8 X

  739. 0 C% G1 j* Z' }# S
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work3 o8 M( a; a( }) a
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically& X- Z4 X; R6 o% @5 p% c( }6 `( q
  742. ; disabled on them.+ C* T9 ^2 I- p' g' B
  743. ; http://php.net/enable-dl
    1 O4 m! j! j' w* N; K
  744. enable_dl = Off
    % v2 A; A- z/ O1 Y: `5 [- n
  745. ) B2 J6 l  M1 _3 T. [/ H% \' g
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    0 G0 a8 s& K# R! f
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    $ Q7 m7 L9 r* J. J
  748. ; turn it off here AT YOUR OWN RISK
    & W- }. \0 R2 v$ T& Q* m
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**- x7 N. C/ w4 j! i8 X' u& O
  750. ; http://php.net/cgi.force-redirect
    $ Q4 q! j! L9 {' J
  751. ;cgi.force_redirect = 1
    7 G1 X! x0 C4 p) B2 F4 T, V

  752. : v3 X' @' ]  }, V' z
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with, H+ O: @. `, ~& b; y# x
  754. ; every request. PHP's default behavior is to disable this feature.
    ! ~& ~: {& J% h. E. w
  755. ;cgi.nph = 1
    6 m1 `9 D' x% Z' \4 R0 h

  756. ' J2 ~& d1 P- g
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    , H8 _  j- Y/ c
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP5 y: B0 {. @: g) X# T' R3 }
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
      Y4 M' \! J; F2 _  ^3 i
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    & F4 l  A7 o0 z# F
  761. ; http://php.net/cgi.redirect-status-env' ~( W% t- ^3 b7 ?
  762. ;cgi.redirect_status_env =
    ; J8 _' {' }) g$ @

  763. 9 Z9 R7 s  i6 H  t% f! {8 F/ S
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    / c2 @2 i9 k$ |; D! C% M
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok" Q' j1 T1 M0 N2 p& J% ]% \
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ; n0 l" b' }  g6 R$ k8 a* M
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting+ h6 W. o. g* a" ?  V! w  r9 P2 c) Z
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    # [( ~7 t5 f7 i8 \' p% w
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.0 L$ V( }4 ~" h9 _
  770. ; http://php.net/cgi.fix-pathinfo
    4 N, Q3 l; c% J( T% ~- K7 p# }
  771. cgi.fix_pathinfo=11 e, N, p! m$ H

  772. # h  b# s/ n3 F- Y8 A, t
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside- ?* \6 B& \9 k! @. r. I
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    $ ~# P* b! }- C+ x0 K
  775. ; http://php.net/cgi.dicard-path
    3 P' ?# I( j1 t2 q* }% {
  776. ;cgi.discard_path=18 v9 I7 W: \5 a% G% o! _3 |2 o2 L5 h2 A

  777. ) Z; Q; t' s) U* {' U) _( Y! ^
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    * l* }/ h- z# I& w
  779. ; security tokens of the calling client.  This allows IIS to define the: ]. w8 ?- o2 H* h2 W4 s! m. E  [& F' R
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    8 x0 D  r  P- A6 k- b9 ]' f0 D) a% ?
  781. ; does not currently support this feature (03/17/2002)
    ! u1 g- i! q& p8 `8 q
  782. ; Set to 1 if running under IIS.  Default is zero.
    0 i! A: w+ B5 c
  783. ; http://php.net/fastcgi.impersonate
    3 V. y. L: S+ U5 y
  784. ;fastcgi.impersonate = 1
    4 l) W. B" W: n& Y& w. k
  785.   _) s$ T; g6 c  B9 {1 _, o
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable0 ?& \* E% C, }# Q! f
  787. ; this feature.% n3 J$ g8 ]& t# J
  788. ;fastcgi.logging = 07 ]7 m4 J# g2 k! b3 r
  789. : X2 u( q: c% `* f
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to# V. O+ d, d4 [3 t
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    9 K8 }( e4 F! o7 p$ _8 @$ v
  792. ; is supported by Apache. When this option is set to 1, PHP will send5 O, s" G. a/ h- b9 ]9 f" c
  793. ; RFC2616 compliant header.1 S/ G& [+ i: Y5 g) h
  794. ; Default is zero.: n7 \, t1 f! `3 X7 \9 c" i
  795. ; http://php.net/cgi.rfc2616-headers
    % V# W" E4 x. B/ ~
  796. ;cgi.rfc2616_headers = 07 j8 W) p, `( X& m

  797. ; I. G5 d. @& |1 z8 S$ R6 p& h
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!9 [: m/ a2 p5 F3 I: x$ t
  799. ; (shebang) at the top of the running script. This line might be needed if the
    0 b$ Z8 Z% u0 [! [
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI) @6 t( T& q: P
  801. ; mode skips this line and ignores its content if this directive is turned on.
    5 s8 o( b7 |; a7 E
  802. ; http://php.net/cgi.check-shebang-line
    0 D4 j+ H! H4 u5 h5 k6 W& T! z
  803. ;cgi.check_shebang_line=1
    0 S& o& }: n8 O; i4 @, D0 x# [' N
  804. ; [  `7 S! l! k: H; Z2 |" |
  805. ;;;;;;;;;;;;;;;;
    - W+ t& ^, ?4 K% D) ~
  806. ; File Uploads ;
    ( A6 h. A( R6 _3 r) I
  807. ;;;;;;;;;;;;;;;;0 [2 w/ s0 u# s4 m+ _7 V
  808. $ ?9 n$ t) u3 Z0 S* h  i+ J+ }$ U% x
  809. ; Whether to allow HTTP file uploads.# f) L& j: G: q0 l
  810. ; http://php.net/file-uploads
    1 p. k2 U" h- \
  811. file_uploads = On
    0 _! u( T0 F5 o
  812. 6 w) J% x2 o3 ^! m) U
  813. ; Temporary directory for HTTP uploaded files (will use system default if not5 _! C+ |  |, }* I4 m: \
  814. ; specified).. P1 D) t+ z) U% y$ I
  815. ; http://php.net/upload-tmp-dir; [8 B0 p, U0 R/ W, {
  816. ;upload_tmp_dir =
    : {7 `, X2 |) i/ r1 {& f! j

  817. 6 c& J3 i  P+ a( L
  818. ; Maximum allowed size for uploaded files.
    & V! c& t& B6 `  y. _% U/ I
  819. ; http://php.net/upload-max-filesize
    ; p" Z# G  H, q( X
  820. upload_max_filesize = 50M
      W" Z5 B4 L* N. |& Z5 R6 Y

  821. 2 f, s# I# s6 q! S% F) C5 j
  822. ; Maximum number of files that can be uploaded via a single request
      X3 Z1 @6 ^$ q
  823. max_file_uploads = 208 z7 e8 n0 A1 s' ^, A- W1 J

  824. & D5 D( o0 F* Q! x9 s' T0 h
  825. ;;;;;;;;;;;;;;;;;;
    ! A" m- G+ f! z
  826. ; Fopen wrappers ;
    ) c+ f. o! D3 s, L+ W  ~
  827. ;;;;;;;;;;;;;;;;;;
    ; n- I' x4 \6 [9 M- X0 n+ r
  828. ' s$ V, x9 l+ X! x% U$ E
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.1 k; G. I& C) ]; A( M
  830. ; http://php.net/allow-url-fopen
    6 K4 `" d( N( F  \" @% }
  831. allow_url_fopen = On' s# o$ X2 q0 u4 C6 W

  832. - z1 g' M0 c2 \0 h
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ' n7 h  M# e) g3 S( {- I
  834. ; http://php.net/allow-url-include
    # m! q* J( R. H& t$ h# l7 E3 k% R5 y
  835. allow_url_include = Off/ ]6 h# O' v$ i# K; H3 n) a+ y

  836. ) l' y5 o/ v# w0 d, y; j
  837. ; Define the anonymous ftp password (your email address). PHP's default setting0 b9 h0 G" L! {* ]1 j
  838. ; for this is empty.( u6 c5 [1 ~4 E9 L( e% L
  839. ; http://php.net/from: O  X6 \, d6 c4 n+ _3 t5 O  l% l1 T
  840. ;from="john@doe.com"5 m- I, ]8 g- B* z3 V, D
  841. ( s3 d. p" G3 ]. ~+ }* M
  842. ; Define the User-Agent string. PHP's default setting for this is empty." V4 B$ d% V' I) f: T& ~6 ~
  843. ; http://php.net/user-agent
    % u! d6 U6 D* w2 G+ D; R1 ~
  844. ;user_agent="PHP"
    " h2 l  w+ u7 Q6 Z

  845. # k5 x7 N: q4 X! H- X; k& _. T
  846. ; Default timeout for socket based streams (seconds)0 W# m* _' D' ~$ G, a* S
  847. ; http://php.net/default-socket-timeout
    0 Z; Z( H+ |" m2 C# c
  848. default_socket_timeout = 60" K5 d1 V6 ~: f' X

  849. 2 M. ]/ J* M* h0 }
  850. ; If your scripts have to deal with files from Macintosh systems,9 T; t+ M% d& k5 u# @
  851. ; or you are running on a Mac and need to deal with files from2 p: j; k( U9 g0 M% q
  852. ; unix or win32 systems, setting this flag will cause PHP to
    5 r8 F3 G& h) D2 y' q1 ?
  853. ; automatically detect the EOL character in those files so that
    & m/ `' s2 u$ ?8 Q) t7 p
  854. ; fgets() and file() will work regardless of the source of the file." z! W2 y1 t6 m$ m
  855. ; http://php.net/auto-detect-line-endings
    # K( X$ X3 Y0 `  w$ k  V; t
  856. ;auto_detect_line_endings = Off
    5 U. Z" H( m* h% S, t

  857. 6 E9 d3 `" ]0 h1 F/ K/ R1 k
  858. ;;;;;;;;;;;;;;;;;;;;;;
    / ?5 m( `2 h2 R  A& u0 N5 p$ z
  859. ; Dynamic Extensions ;
    5 p7 Q# j0 s8 L# _$ v! V3 `
  860. ;;;;;;;;;;;;;;;;;;;;;;0 ^2 E2 k, W: t7 A. [

  861. 2 e  Q. b- Z# V; [: @/ X
  862. ; If you wish to have an extension loaded automatically, use the following
    ( g) o( S2 @6 J* F8 n3 a
  863. ; syntax:
    , [0 w1 z8 z4 u9 c
  864. ;
    0 Q* Z4 G  t3 p% B5 x7 w
  865. ;   extension=modulename.extension
    + T: c' G! S/ g: ^5 F  c6 L5 z2 l
  866. ;4 _+ p7 m3 u3 Q( H; b, V
  867. ; For example, on Windows:8 M% t$ g( d+ d9 r+ v) l
  868. ;
    - A- W* X( E5 f! j
  869. ;   extension=msql.dll
    , L( K& K) R7 h% J  M  ~3 C. V3 h
  870. ;
    6 Z6 ~3 ?7 p: }( `
  871. ; ... or under UNIX:; k1 R3 L9 r7 y; t, h
  872. ;
    % q. ~( s8 B# m# u5 y( Q
  873. ;   extension=msql.so1 _  W5 N( o- I
  874. ;  O) Y5 {* [& @4 v  K' @4 s
  875. ; ... or with a path:/ Q$ Q  B& W$ L( x: I9 [+ P$ Z
  876. ;
    ' [( Z1 j  j6 H( q
  877. ;   extension=/path/to/extension/msql.so7 ?/ ~, }; v7 p1 P0 w
  878. ;8 i1 I6 e8 q' \# b
  879. ; If you only provide the name of the extension, PHP will look for it in its
      W1 h) \, F& i' {
  880. ; default extension directory.
    ) Z9 J$ B; A  ~" w
  881. ;% j/ J! z& ]7 {$ k8 R
  882. ; Windows Extensions
    & p- |0 J; L4 x$ C1 C, n  \( x
  883. ; Note that ODBC support is built in, so no dll is needed for it.0 E, u& a+ d7 w2 {
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    5 Q* `& E  V2 K; N# B
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).# M& Y0 z7 V3 S; z) b
  886. ; Be sure to appropriately set the extension_dir directive.
    8 c! Q3 _/ q) `7 s2 U
  887. ;: V; C( c, i' E( a
  888. ;extension=php_bz2.dll; n5 w; _* c. L. v. q+ Y% A2 Q
  889. ;extension=php_curl.dll: X2 E% S* B2 l2 ?' o* k$ |& G# p
  890. ;extension=php_fileinfo.dll7 J0 U- {' y- t& p( z& L
  891. ;extension=php_gd2.dll& O0 F, u% v, R4 t+ d
  892. ;extension=php_gettext.dll
    / g8 g8 n, v  S, f$ M$ ]/ H& z- L% V
  893. ;extension=php_gmp.dll
    ! |3 h* }% ~5 T# J) p
  894. ;extension=php_intl.dll6 ]3 p( [: ]& X6 K' o; j( D
  895. ;extension=php_imap.dll; m9 U% o; b. ~! [4 N1 O
  896. ;extension=php_interbase.dll$ A7 d9 H2 E4 J- t; S7 ^
  897. ;extension=php_ldap.dll/ y" ~4 T0 Z: L3 L
  898. ;extension=php_mbstring.dll; d& U+ y' S/ u, G) T. c5 w8 h. m
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    / h5 v& j( ~8 B6 J  A+ t& u* T6 y
  900. ;extension=php_mysql.dll
    " h% B- E0 I7 v, Y$ `, @7 M
  901. ;extension=php_mysqli.dll
    . [3 K! D& C, G% }
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ; a0 Z; ]5 r9 I9 P
  903. ;extension=php_openssl.dll3 l7 V2 F$ n: j( |
  904. ;extension=php_pdo_firebird.dll7 _# P) T0 W2 q+ v5 V' N  H
  905. ;extension=php_pdo_mysql.dll
    2 O6 \; I) g& f. r" v1 m
  906. ;extension=php_pdo_oci.dll
    3 }7 l9 h+ B/ c2 ^
  907. ;extension=php_pdo_odbc.dll
    & m, H4 I3 N* p' n' C
  908. ;extension=php_pdo_pgsql.dll0 U  [" j% F2 s3 |, j3 ~
  909. ;extension=php_pdo_sqlite.dll
    , c& u; f: A% t0 @. }$ W
  910. ;extension=php_pgsql.dll
    0 J, S; T# X% o3 k! G
  911. ;extension=php_shmop.dll
    " W0 V6 g, Z9 @) X3 v

  912. / Y! t1 D7 Y  p3 y$ C
  913. ; The MIBS data available in the PHP distribution must be installed.
    % d' Q$ I' F/ d( z3 A6 Y
  914. ; See http://www.php.net/manual/en/snmp.installation.php , G3 x$ J3 I' k, `
  915. ;extension=php_snmp.dll2 ]0 f1 p0 r# w1 L9 M2 L$ b
  916. 2 p2 c/ k! L7 e+ H; @1 c, y
  917. ;extension=php_soap.dll
    $ z+ G% v  _, c% I0 L, U! |
  918. ;extension=php_sockets.dll
    & M- W6 J! Q- q/ L5 G: b5 F% }* c: O) e
  919. ;extension=php_sqlite3.dll4 c, T! u, P. n0 p3 n! \  l" B1 u
  920. ;extension=php_sybase_ct.dll+ h, m" O) G7 Q' Z0 a
  921. ;extension=php_tidy.dll
    ! h' t# T: Q  f$ Z! H9 d
  922. ;extension=php_xmlrpc.dll/ h3 u& ?7 E# Y4 r% ^
  923. ;extension=php_xsl.dll
    8 ]. \0 ^% Q) }8 `% D6 b

  924. , T% ~$ c3 w5 Q0 g1 T' ]8 b. X) z
  925. ;;;;;;;;;;;;;;;;;;;
    * b4 x8 p, z+ g- m
  926. ; Module Settings ;
    . Q2 K+ Q* e1 U: i% j8 j
  927. ;;;;;;;;;;;;;;;;;;;
    6 K' U. y- Q+ L* h. [( I/ i$ B
  928. , w' _9 e9 {/ G4 j9 M" {
  929. [CLI Server]
    0 X) \( S2 I, e9 ?$ m# {8 E
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    8 l' E& d3 Z4 A; z& }( T
  931. cli_server.color = On
    4 F4 F/ Y% S( Q# N2 ^

  932. " S) U$ c; }, Q! P9 k- P- A
  933. [Date]
    / B3 J  Y: Z) A) E* z/ M- H- N6 s* ?
  934. ; Defines the default timezone used by the date functions
    . P. R$ b6 R  Z. q: ]; Q
  935. ; http://php.net/date.timezone1 [& s. c; P- ], J$ S: Z
  936. date.timezone = PRC5 [7 _% P6 `- q+ w

  937. + E4 u* a! Z! i# o# }7 w  R6 _2 b
  938. ; http://php.net/date.default-latitude, m  @# o7 g+ @' c) g3 z7 g
  939. ;date.default_latitude = 31.76675 h0 H+ O" j! ^/ m% h

  940. - i* H8 W! @) i
  941. ; http://php.net/date.default-longitude7 o3 x8 m" ]" P6 `0 `; c* i
  942. ;date.default_longitude = 35.23338 o$ o* p, x7 v6 S) E4 \# M3 g9 ?

  943. ) h. w- S- ~; ~4 w/ @( L3 n
  944. ; http://php.net/date.sunrise-zenith
    7 S( A4 e7 e% L3 C
  945. ;date.sunrise_zenith = 90.583333
    1 d* @) ~# J8 d1 D5 l, T+ ~" l
  946. + Q* z/ `  n% w6 D/ ~& r
  947. ; http://php.net/date.sunset-zenith
    & }( ^' R' q: x) \0 I; \
  948. ;date.sunset_zenith = 90.583333  ]$ g& I3 i, V" v2 m) r

  949.   `* `% j5 [$ X1 n% t
  950. [filter]
    / k! ^% J- Y9 l" I5 ^* C0 ^
  951. ; http://php.net/filter.default& B9 L/ e* E: s  g; Y4 x2 H4 D( G
  952. ;filter.default = unsafe_raw6 F! a+ _( h' Y4 `4 E+ y$ k

  953. ; Z5 K7 S8 h% O! U. m
  954. ; http://php.net/filter.default-flags
    4 @9 U$ d# o) G/ R2 m
  955. ;filter.default_flags =
    7 {, U5 y; `( D1 l" @% D4 J

  956. . k& `- R! l. M
  957. [iconv]
    6 z% r+ o2 ?* J0 V) X
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    5 ?4 T# `* o' o
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    . D! I8 f) \- N+ c! f
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    $ I" @6 W, n' c9 X+ ^$ B
  961. ;iconv.input_encoding =
    9 N% _) I, e7 S  W! l
  962. : w: u1 z. Z) ?. [; f6 T- T7 p. @
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.+ c" `6 f6 l* w
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 ~! w6 g* h7 U+ v
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    5 g& B8 n/ O: D+ `: P- \3 v
  966. ;iconv.internal_encoding =) f# x  n; Y3 m; p2 M' N
  967. ) C& W2 o3 [- p, ]5 [
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
      Y( b5 U% |% E, S) k
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.3 V; X* V! Y$ w* n2 @8 g
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding5 x: ]! X9 M! ~7 m4 f
  971. ; To use an output encoding conversion, iconv's output handler must be set
    & |1 g4 Q, z, C" A
  972. ; otherwise output encoding conversion cannot be performed.; T1 G: W; g7 ~
  973. ;iconv.output_encoding =
    1 L. d* }0 o# Q: b- ~
  974. 3 f. O& X- i- C
  975. [intl]
    4 I2 B% h. ^6 p! {( v8 J
  976. ;intl.default_locale =3 P2 ~1 u* Q, v0 f9 d
  977. ; This directive allows you to produce PHP errors when some error1 @- i9 C% S, `1 x( c7 e6 c
  978. ; happens within intl functions. The value is the level of the error produced.( {: `* a& x; y' D  ^4 k
  979. ; Default is 0, which does not produce any errors.
    2 }* q: b8 G/ J0 s7 o: k9 r% X6 s
  980. ;intl.error_level = E_WARNING
    5 Y6 Z- u( S% Y' I/ X4 r. g& b
  981. ;intl.use_exceptions = 0
    9 b, G7 X; Q5 `

  982. , ?& v; v. C7 _# @
  983. [sqlite3]/ z5 S' }. H4 ?3 F( ]! y9 O3 g
  984. ;sqlite3.extension_dir =6 t% w2 W. Q7 [$ Z
  985. # s  M8 S; k# L9 s
  986. [Pcre]
    * I3 n0 c- D0 _' j" j" L3 K7 z
  987. ;PCRE library backtracking limit.
    ; W$ q& @$ o7 E( n
  988. ; http://php.net/pcre.backtrack-limit
    . g2 v7 a7 F3 Y3 x! Q' x$ t
  989. ;pcre.backtrack_limit=100000
    ( M  y( t& C( E7 g* A

  990. * i1 m0 j: {4 |% L+ _
  991. ;PCRE library recursion limit.
    " l. k5 n2 W) `- {) ]
  992. ;Please note that if you set this value to a high number you may consume all- s3 Y5 @9 K1 S8 O- c
  993. ;the available process stack and eventually crash PHP (due to reaching the/ Y7 J; p* Y+ U. }) a& @& q+ m/ w6 `
  994. ;stack size limit imposed by the Operating System).
    ( F' i# E+ R- i" A. N! J: L  Z
  995. ; http://php.net/pcre.recursion-limit
    2 L' }6 a: z: p* Y
  996. ;pcre.recursion_limit=100000
    2 D- }8 U4 e2 F
  997. ; G  |( L- z( e
  998. [Pdo]
    9 r; F$ H& f* p& ~# H
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"+ K3 w; x4 x9 r/ N1 P
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ; b. m; Y0 X3 X' B# L8 Q% e5 T
  1001. ;pdo_odbc.connection_pooling=strict
    9 ~2 d; D* S7 c, H

  1002. / F/ I5 h& c2 u% l
  1003. ;pdo_odbc.db2_instance_name
    $ q- D, |3 S6 E9 z
  1004. 8 h  b# T7 f8 X8 U, ~: v0 Z) w
  1005. [Pdo_mysql]
    , ?8 e* Y' u6 s. _. ~
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ L2 n( k: f  O- K) c
  1007. ; http://php.net/pdo_mysql.cache_size
    ' P3 {7 ?8 |. Q' X
  1008. pdo_mysql.cache_size = 2000" V! y; n7 Z+ l# W4 b5 `4 S: ?

  1009. " A& o8 w% A2 u9 K
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 t! ]0 Z; r, f- a% t7 q/ l
  1011. ; MySQL defaults.
    7 M( i1 W4 w3 V. [  t3 T" O4 i- h1 ~
  1012. ; http://php.net/pdo_mysql.default-socket
    , n8 o7 g' F& l" I5 R" k% J. w
  1013. pdo_mysql.default_socket=0 r& ~5 E- ^: s3 b* D- t' i
  1014. % ]9 v2 H; Q) L7 g/ d- t7 c
  1015. [Phar]
    7 b  c& G  d# C
  1016. ; http://php.net/phar.readonly
    & j0 n$ y( C. X, m
  1017. ;phar.readonly = On0 e1 j* C9 O. e1 _

  1018. : G9 l+ @' C3 j) V& |
  1019. ; http://php.net/phar.require-hash3 n/ ]0 v  ~# r  l
  1020. ;phar.require_hash = On
    8 ?, g$ s! G  [9 k; f

  1021.   Z' f* J' |; v9 I. G. ^. m
  1022. ;phar.cache_list =
    / d! z  z' s: {: X
  1023. : }$ ]" z5 z, _8 A. I4 z
  1024. [mail function]
    1 k( a" ^8 I2 h* r  S
  1025. ; For Win32 only.
    , `0 P& G: U8 h: X2 y1 l5 e2 H
  1026. ; http://php.net/smtp& G! A: ^4 M# k. S. U/ k
  1027. SMTP = localhost1 T; K" x% ?& [& |% }7 o
  1028. ; http://php.net/smtp-port7 U/ C" ^, g. u) j! N( T3 \0 W
  1029. smtp_port = 25
    / X- s2 E1 E- U& X0 P

  1030. 1 q3 m$ ?# B: J( Z4 N, n
  1031. ; For Win32 only.
    ' M& y9 c* u6 f! U8 f
  1032. ; http://php.net/sendmail-from: L4 A' [, n; S( |; k  c" z
  1033. ;sendmail_from = me@example.com
    5 ]1 g0 M# T( f5 I& `) h5 W

  1034. 8 W$ R& M) A; T( |- _4 G( V
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    5 B3 d( ?3 N- d# s' t
  1036. ; http://php.net/sendmail-path
    6 R- E6 B% E, [8 R4 K$ k/ M7 J
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    1 Y# o+ c3 k' x# e4 q
  1038. . A9 Z; u9 ?2 i2 p9 S) D) s
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    6 n! t& k# u7 A3 @7 X( I4 ^
  1040. ; to the sendmail binary. These parameters will always replace the value of% A/ g' A' r( S0 R+ o
  1041. ; the 5th parameter to mail().  O; a% b4 E! R) d7 h! @; M* l
  1042. ;mail.force_extra_parameters =
    2 Z+ x" @/ z3 i. g

  1043. 3 R8 i$ O9 X6 f) y
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename% ~# m! L: q' f
  1045. mail.add_x_header = On
      O+ X2 Z& j) e8 _$ }, f- N
  1046. + f; {  O8 y8 C; [! P
  1047. ; The path to a log file that will log all mail() calls. Log entries include) H/ E+ ?# z, K9 w2 A9 g9 K0 M
  1048. ; the full path of the script, line number, To address and headers.
    , S5 i' b8 d* h4 Y
  1049. ;mail.log =
    4 l# |6 X7 N5 Y% q! G: i  R8 M
  1050. ; Log mail to syslog (Event Log on Windows).3 y1 P; B5 |3 k! z$ N9 k& O7 D
  1051. ;mail.log = syslog
    3 e& F- W; O6 W

  1052. ) ]: Y. M7 T! x$ T+ [& D
  1053. [SQL]
    5 }1 K5 B: P5 u$ `4 L1 Y, N9 A4 }  ~
  1054. ; http://php.net/sql.safe-mode
    ) h9 f1 Z; w: ^6 l% i% @: S
  1055. sql.safe_mode = Off% l  Q0 J  h5 [% W- S) Y
  1056. 7 _) L+ k8 I$ c, ]5 H2 f
  1057. [ODBC]
    6 _1 j* N) B) Z6 a) _; c& C0 n- r
  1058. ; http://php.net/odbc.default-db
    7 S0 i) Y3 W+ z" I. e
  1059. ;odbc.default_db    =  Not yet implemented# S: y# N1 \; u, |, m" _; E& ?
  1060. ) @- d" K5 ^, C- X6 |: p1 ~) B
  1061. ; http://php.net/odbc.default-user% B, y- h/ D3 n7 n( D! m
  1062. ;odbc.default_user  =  Not yet implemented5 @, u% p& ?# g: `  }
  1063. ! T% B3 o: g: c& _' Y; B
  1064. ; http://php.net/odbc.default-pw8 f) t2 |$ Z* B! F: I
  1065. ;odbc.default_pw    =  Not yet implemented
    - {' T/ H" C" Q* N4 `: B2 v
  1066. 9 G% N' u; @9 M9 G1 `3 Y4 \7 l
  1067. ; Controls the ODBC cursor model.
    2 c7 ?( U) o- }- \! G
  1068. ; Default: SQL_CURSOR_STATIC (default).
    1 L8 z2 [3 N! [; x7 o
  1069. ;odbc.default_cursortype, X4 L7 F5 ^7 S5 k
  1070. ; o1 ^# T8 T$ I& W6 l
  1071. ; Allow or prevent persistent links.( x0 u1 X5 ]! ?$ L4 S. v
  1072. ; http://php.net/odbc.allow-persistent
    9 Z  M5 b: B6 Z0 x
  1073. odbc.allow_persistent = On6 ~& a- ?9 o# f0 j5 b

  1074. ( p8 w, U7 k5 d
  1075. ; Check that a connection is still valid before reuse.( q4 Y$ I; t0 b' T; K
  1076. ; http://php.net/odbc.check-persistent
    ; }9 {; T; y$ w# y1 R+ T! @
  1077. odbc.check_persistent = On/ E3 q, N# H" j! ?4 o4 z# R" i

  1078. 9 x1 }/ Z7 ~( w! ?* v# ^
  1079. ; Maximum number of persistent links.  -1 means no limit.
    ! i, d6 a' ], ?2 M
  1080. ; http://php.net/odbc.max-persistent. N2 `5 b% D( [, C. }: H8 B/ i; x7 G
  1081. odbc.max_persistent = -1
    " O1 O8 s1 ^& S: f8 V: |* w

  1082. + p6 @- M! J! G; D% h$ w
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . `) d# M, f6 n$ L% a6 m2 q
  1084. ; http://php.net/odbc.max-links
    . b8 _; B2 D4 o' k/ W# Z$ M
  1085. odbc.max_links = -1
    - i7 ~/ a0 Q0 X% P% z, h

  1086. , }. c' R1 o: {; ]
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    1 K+ `0 Q, J; M) b* `4 G
  1088. ; passthru.
    4 H/ f! @0 \, l, B# }
  1089. ; http://php.net/odbc.defaultlrl
    $ ~. e7 M. V3 Z
  1090. odbc.defaultlrl = 4096
    ; e# [7 @! @5 P1 s

  1091. 5 T& ~3 ~( x% o$ W! F
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    4 f4 Z( ?2 o" P$ C
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation4 f" h# ]3 ~  n" O" T( ]( {
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    1 ?3 ~3 g# Q4 h$ ?
  1095. ; http://php.net/odbc.defaultbinmode& k+ A/ R. z5 }' l
  1096. odbc.defaultbinmode = 1- \5 i$ _: C% {" \# v" C0 R- r

  1097. # R6 S: m$ y% w3 k
  1098. ;birdstep.max_links = -1) S0 B# M& N5 p% x7 x

  1099. 4 \8 o$ n1 G* ^4 u9 m2 [
  1100. [Interbase]4 v# U6 e; Y* Z
  1101. ; Allow or prevent persistent links.
    ; F: ?9 P) h" h$ O4 V1 i9 v
  1102. ibase.allow_persistent = 1
    2 L; G' X. U; O, W0 `
  1103. 1 H. ]; _  R& b+ V5 Z9 Z1 A
  1104. ; Maximum number of persistent links.  -1 means no limit.
    $ M; o! F' d6 ]( N, t# B
  1105. ibase.max_persistent = -17 n/ V2 C, U$ n. W# p& i7 k9 a
  1106. ' [! t( q! `) l" G7 e# @
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 J# E, z* J9 R/ `# B
  1108. ibase.max_links = -1
    3 Q9 @3 |3 l0 I3 v2 ?6 P

  1109. 8 H' d1 f- E2 t$ r2 i
  1110. ; Default database name for ibase_connect().
    9 e! ]5 C' n, N' m: K7 D6 h
  1111. ;ibase.default_db =
    - P# Y! v& [3 Z5 o6 V8 ~  w
  1112.   Y# u: F+ b1 M- u+ B  v' V
  1113. ; Default username for ibase_connect().
    : t6 d6 n4 m4 S- V
  1114. ;ibase.default_user =9 v2 i& G" e( ?+ G7 v- J3 q5 O

  1115. " X1 q# G3 |" C9 [6 ?
  1116. ; Default password for ibase_connect().6 \# N& S1 ^4 X
  1117. ;ibase.default_password =& ]5 o$ \& X% m- ^! [$ H7 J

  1118. & {/ h7 ~1 l+ k4 x, ^& e! I! D
  1119. ; Default charset for ibase_connect().8 q- _9 L: h8 D% l# {0 o) m( R
  1120. ;ibase.default_charset =6 X" ?! `0 N- f, G+ n7 `/ r! v
  1121. 4 S, b% ]! V- i
  1122. ; Default timestamp format.
    ( M( ?) A' Q. M- s2 _6 {
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    + Z* g. P5 \4 h% }

  1124. , s) M& |- f7 f: _" Z& N- g& [
  1125. ; Default date format.7 a+ n8 ?- @) X% x
  1126. ibase.dateformat = "%Y-%m-%d"
    ) {- {; S# l# M% p1 a% K" i

  1127. 4 A  l8 ]* R$ o; i4 [6 f( X! E& W) i
  1128. ; Default time format.2 r+ e: U* x) h& r# f. L
  1129. ibase.timeformat = "%H:%M:%S"" _+ Y$ H! d  b$ F

  1130. 5 G* y; y* o9 ~8 J) o
  1131. [MySQL]
    + f# m. P2 W0 v! L) j3 ^/ a
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements) M! f+ i- B% d$ ~
  1133. ; http://php.net/mysql.allow_local_infile8 `% a7 W7 V6 d% M) `
  1134. mysql.allow_local_infile = On: l  {* S5 ]; }- L
  1135. , I% A1 C2 V$ U* V! A
  1136. ; Allow or prevent persistent links.
    6 I  R8 m  `7 @$ l9 R
  1137. ; http://php.net/mysql.allow-persistent
    3 t( h6 o' c" s6 A
  1138. mysql.allow_persistent = On, u0 t. r  P! j' K+ U& G2 k. ]
  1139. 1 V* p& [. b$ z+ @! f* x
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - E8 v. n& f5 R; v
  1141. ; http://php.net/mysql.cache_size* C# S. C6 _' Q. t' I: K
  1142. mysql.cache_size = 2000
    " Z$ j( B0 E* ^$ ~4 i1 b; a
  1143. , ?; k! e3 @2 e0 X6 g
  1144. ; Maximum number of persistent links.  -1 means no limit.+ h: j; h' n3 t: V4 U3 |
  1145. ; http://php.net/mysql.max-persistent
    ; b9 E2 J" J: O; f) g
  1146. mysql.max_persistent = -1
    9 x0 T+ w7 B$ w' A
  1147.   S& L' F1 D. A
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit., X& N3 f' G. [; `$ A# P8 K1 m
  1149. ; http://php.net/mysql.max-links
    . @. ~5 T$ r5 S( E8 e4 _& K! C. m
  1150. mysql.max_links = -1" U8 b0 f0 [* o

  1151. 4 t3 x+ m5 N; O
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use/ i) g* g2 K& ~0 w( L( \9 x
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the3 F& C1 D" u3 a$ x/ p- [) I: w
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    " Q/ b1 o" c8 g) @2 h. |. i0 S
  1155. ; at MYSQL_PORT.+ s# x6 B) T# d4 ~# W" v
  1156. ; http://php.net/mysql.default-port
    6 y) D8 A4 q3 Y' F2 E* t. O
  1157. mysql.default_port =
    2 O9 n; \0 `8 r5 M9 ?2 e

  1158. $ b' p) F6 L, @1 m+ T  N
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 l" [5 l; \4 d! Z' [4 S' v. c
  1160. ; MySQL defaults.
    8 L5 \1 J) h$ y9 ^% H2 o& U
  1161. ; http://php.net/mysql.default-socket! S- M6 I- H& [' q( U' v, N
  1162. mysql.default_socket =
    6 W+ `" i! i+ I3 ^6 b4 z

  1163. ! X6 t4 r+ s" K' Q6 S
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).8 }' `! n) F4 ?& e' d1 F  Y# j
  1165. ; http://php.net/mysql.default-host
    ; |, Y0 S9 U6 L- d
  1166. mysql.default_host =
    ; y9 i: C/ U9 t0 @

  1167. 3 q' Z$ m6 j% e6 e# F! D7 D! ~
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).& s8 x3 _3 ]# `) a
  1169. ; http://php.net/mysql.default-user
    6 a2 A$ x( |# J9 b# i
  1170. mysql.default_user =; b( h+ U- ~6 i) r. c

  1171. 8 S, f/ _3 W/ F- X0 y9 L
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    % c+ q2 L3 ~3 e. P; M5 {
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    : u! X; }. w4 `' F( F2 P8 b
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")6 T! ?# N. b$ F( g! _& O
  1175. ; and reveal this password!  And of course, any users with read access to this0 ^; v+ A1 v: I1 B/ ^0 A) O/ _
  1176. ; file will be able to reveal the password as well.
    8 m( E. R. {9 x) N, S  P: k) y
  1177. ; http://php.net/mysql.default-password: }5 h' u; p2 b: ~; `0 h6 P( X5 }
  1178. mysql.default_password =$ F" L6 U( r4 g6 m% Q8 x" j
  1179. - k$ M& [" D( G" ^3 P0 e
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    - p+ L# q. c  }$ G
  1181. ; http://php.net/mysql.connect-timeout! c" E! N- H: m! c/ X: j
  1182. mysql.connect_timeout = 605 D2 l: |! I5 L- }* F

  1183. 9 J: M3 O. T4 c/ s. i$ e- E# k
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and: V& B. `; R- ^; x
  1185. ; SQL-Errors will be displayed.
    " l; \8 z7 u1 g9 e8 M" _
  1186. ; http://php.net/mysql.trace-mode
    3 Q; o" R8 Q" `1 O" r& `
  1187. mysql.trace_mode = Off. w- O) Y: W! `% t

  1188. 3 g: F7 e- ~( N+ U+ @  q
  1189. [MySQLi]' J4 P3 p3 Q$ R! G6 x$ C
  1190. 6 u4 ~7 N- [- Z
  1191. ; Maximum number of persistent links.  -1 means no limit.8 M. |# ?5 g5 P% ~; X1 X4 G2 a
  1192. ; http://php.net/mysqli.max-persistent; z1 G/ @# D$ N2 l, Z
  1193. mysqli.max_persistent = -1
    : y# V# A) k& z# _) C* R: m( j# P

  1194. 6 `; K7 N: a: Y5 o1 c
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    6 K6 d5 E+ d+ _+ N& i* C. j# U" I& Q
  1196. ; http://php.net/mysqli.allow_local_infile- q1 Q* c; `3 [$ u3 B5 P% ]8 G' ~# t
  1197. ;mysqli.allow_local_infile = On3 i. y9 J" M! i, P3 }  m

  1198. . N7 t4 g. s  s* {6 D
  1199. ; Allow or prevent persistent links.
    ! D7 I. U. l# A
  1200. ; http://php.net/mysqli.allow-persistent
      S$ u+ i- t7 Y- u; o
  1201. mysqli.allow_persistent = On8 L* _* ~- m, n+ f: O
  1202. ; ]. u+ [4 A9 `3 K& F# [  l
  1203. ; Maximum number of links.  -1 means no limit.
    " N3 J3 N# d/ s" S8 a/ G
  1204. ; http://php.net/mysqli.max-links* Q# r& x7 O. k" r
  1205. mysqli.max_links = -1$ t2 g8 Q8 f9 c: B4 R0 s
  1206. ! l+ ~8 ?1 D& Q( s1 [" D
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 ~( H! b* H& q
  1208. ; http://php.net/mysqli.cache_size( A( u( p, W4 |" ~9 y, O7 O
  1209. mysqli.cache_size = 2000
    # i) [! j& x/ w( R1 j9 @

  1210. $ p- K# J7 b* v" S0 ~% t3 d
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    " F' m9 [/ b1 Z7 J2 q/ j. N! ?
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    / M) @7 [5 o0 C/ T
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    8 W$ B& k- [6 n: e1 m
  1214. ; at MYSQL_PORT.
    $ K# K" g: ]; ]: i; B
  1215. ; http://php.net/mysqli.default-port- y  s3 y: I+ N
  1216. mysqli.default_port = 3306) Z0 z6 m( U& x5 |. s/ U% M0 b
  1217. $ G' s, i4 N+ e7 C% l
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in# F3 f' ?$ u* B) f2 t: q
  1219. ; MySQL defaults.4 C9 N- ?  Q& R( T
  1220. ; http://php.net/mysqli.default-socket
    # j# \/ S9 l+ o1 c9 ?, N1 ]; D
  1221. mysqli.default_socket =# ]6 K7 o8 e6 h# j" q
  1222. ( X3 L: Y" \1 M. i% U/ ^
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).. s9 w8 [, W) \0 Z7 w7 P- N6 I, z
  1224. ; http://php.net/mysqli.default-host/ Y2 v7 D. d: K% p% d+ m
  1225. mysqli.default_host =* Z7 z% ?0 |# Y5 j( J8 G7 A9 K
  1226. " Y- j' U, y3 H$ O& I
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).$ Z( ^& n4 h' g4 ^7 G4 Y1 }2 n) p, w
  1228. ; http://php.net/mysqli.default-user
    2 F5 C! t! Q0 J" c! K% U' y- Q- Y
  1229. mysqli.default_user =4 f$ s: T- k3 o9 q$ B
  1230. * Y* I2 o9 d% R
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).: l3 K' T7 z! j  E" I
  1232. ; Note that this is generally a *bad* idea to store passwords in this file./ w7 y$ q8 d  _! c  J
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")7 Y% j  r( y! L# ?) P
  1234. ; and reveal this password!  And of course, any users with read access to this
    $ o$ _8 ]( i" i9 v+ ?: f9 M$ I. U
  1235. ; file will be able to reveal the password as well.4 i# q9 E- H( s. {  @& n$ G: }
  1236. ; http://php.net/mysqli.default-pw; v% j" L$ k% M( G; Y/ f( |# O
  1237. mysqli.default_pw =
    0 P1 N, \) a) C% [/ y9 n+ Y* D
  1238. 7 G( G; R# z5 g+ e" }
  1239. ; Allow or prevent reconnect& C2 K' c* M% k" V
  1240. mysqli.reconnect = Off" r5 }4 ^+ @* O+ b* D: L; E

  1241.   o$ _" ?  C, q' r
  1242. [mysqlnd]
    * C% t) c! s) R' a% K* z( q1 i  `
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    : J$ o6 F: w3 Q' N% Y* K9 y
  1244. ; used to tune and monitor MySQL operations.
    7 G7 `2 q8 Q" p6 {5 C' f- F1 n
  1245. ; http://php.net/mysqlnd.collect_statistics
    % {9 \; W% c2 f2 T9 d. y% D
  1246. mysqlnd.collect_statistics = On
    0 B; Z# [" [- _. R
  1247. ) s+ _. v) x; E) n
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    - R2 m3 k( L& C1 S
  1249. ; used to tune and monitor MySQL operations.
    2 o3 m" \9 O5 e3 J. m5 ?' P
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    & T6 y! s$ Z! X- ?9 J1 j
  1251. mysqlnd.collect_memory_statistics = Off
    ! L: T9 t5 D* E

  1252. . r. ~* J6 _& `0 p
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    9 g/ Y3 Z; M, I8 b9 m( W
  1254. ; file.
    0 o! F; ^! q$ k8 N; v$ L
  1255. ; http://php.net/mysqlnd.debug
    7 D: c' N* d9 k, o9 h2 p& w$ m
  1256. ;mysqlnd.debug =
    1 Q6 o* d/ u2 O4 g
  1257. 5 {' B+ c9 b8 o# d3 S
  1258. ; Defines which queries will be logged." h: i* M% f: D1 e. l8 U2 c7 q# o
  1259. ; http://php.net/mysqlnd.log_mask
    6 O9 b5 p+ x3 v7 S
  1260. ;mysqlnd.log_mask = 08 J; r6 G0 w, ^; V) l! }( Y
  1261. , B( y% \- `; h: n9 h$ u0 s0 d. A
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ' w6 e# `5 K/ t9 V1 ~. }
  1263. ; http://php.net/mysqlnd.mempool_default_size
    3 ~" w* w  [# b/ h0 J7 q! v" d, `
  1264. ;mysqlnd.mempool_default_size = 16000
    * k* G; B% Q8 a4 _
  1265. : d$ g/ G) u2 }( \2 m
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.  e- a- ?% w2 A" \0 y' u
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size6 t; b! V5 L3 t4 _, P' i
  1268. ;mysqlnd.net_cmd_buffer_size = 2048' J; b0 x8 w* J9 h7 v! B8 e6 X& ?

  1269. ( T( ~# O& W2 T& Q* Y
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in4 H& Y0 w" r3 L& q. k8 b$ U5 r* t
  1271. ; bytes.7 i1 v7 s. e1 X/ K
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    ' C* k3 S1 u! F8 N& r9 r! k0 K7 V
  1273. ;mysqlnd.net_read_buffer_size = 32768; o& z/ X: T$ |0 [, {8 r9 i/ }/ C* a

  1274. ; q/ o8 x9 w6 M; R+ G6 K& I8 h
  1275. ; Timeout for network requests in seconds.
    + j0 d: y0 i+ Y2 H# Q4 Q; D3 P
  1276. ; http://php.net/mysqlnd.net_read_timeout8 }2 @% [; z& p+ D
  1277. ;mysqlnd.net_read_timeout = 31536000
    % {  a7 [4 f' k0 c: j! f

  1278. 6 J" X; N& y" F- J
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA! L* O8 c' R+ w) J) l9 g4 A
  1280. ; key." D: w2 I, B3 W" E8 O. f
  1281. ; http://php.net/mysqlnd.sha256_server_public_key; z  S4 y$ n/ b
  1282. ;mysqlnd.sha256_server_public_key =5 M) P* U& q+ O

  1283. ( t- N6 X3 }) s  W
  1284. [OCI8]" n' j" z0 c. C% h* h3 d

  1285. 3 p1 U2 W- p$ R! w% T1 q/ Z
  1286. ; Connection: Enables privileged connections using external. ?7 n  |. q( N
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA); }2 y$ o! L" g( g
  1288. ; http://php.net/oci8.privileged-connect
    * j: V, f! K) n# r2 A
  1289. ;oci8.privileged_connect = Off/ r: Q0 W  H# U0 ?$ B% a! L( e
  1290. * B) [( h3 k. |
  1291. ; Connection: The maximum number of persistent OCI8 connections per: `% r* a6 _. n! b$ n/ i
  1292. ; process. Using -1 means no limit.1 g& F) }7 e4 P+ b: f3 h% q; D
  1293. ; http://php.net/oci8.max-persistent
    4 b8 Y/ M1 ?* z6 O4 g
  1294. ;oci8.max_persistent = -1( h) {* W! b' m( m& s2 E

  1295.   I& Z  f( {+ O! o8 G
  1296. ; Connection: The maximum number of seconds a process is allowed to
    1 D2 D6 V+ i$ A1 `) W' F
  1297. ; maintain an idle persistent connection. Using -1 means idle6 [. y3 z0 B6 f; {; B8 W8 _( k' c
  1298. ; persistent connections will be maintained forever.  L( u1 L$ j% E" w
  1299. ; http://php.net/oci8.persistent-timeout
    0 k9 C& N  \7 G! M0 O! Z4 u
  1300. ;oci8.persistent_timeout = -1
    # F0 s0 K2 A/ G  g" U! T
  1301. + \/ U3 L. V4 t+ m5 E
  1302. ; Connection: The number of seconds that must pass before issuing a
    . j# m4 c! i5 Q1 C% ^) \
  1303. ; ping during oci_pconnect() to check the connection validity. When4 E' _! H2 O& @. i& s% K4 r& a# h2 h' H
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    0 Q7 k$ k% F' `2 {
  1305. ; pings completely.
    ' R9 @) t% Q, m; F8 Z4 _
  1306. ; http://php.net/oci8.ping-interval
    " B; V2 F, S  y9 z5 i
  1307. ;oci8.ping_interval = 60
    ( Q% g2 K4 l6 W# W' Y. i* J
  1308. 4 G- [0 \) q* \! s" y, B
  1309. ; Connection: Set this to a user chosen connection class to be used# q! j- y: @1 n0 A  F: S7 |8 ^+ g/ V
  1310. ; for all pooled server requests with Oracle 11g Database Resident7 F; g# r" N% l! E
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to: ^& t& G* O0 f% j
  1312. ; the same string for all web servers running the same application,  X! ~, s6 J: l. z. W
  1313. ; the database pool must be configured, and the connection string must/ ]. F. [1 L* m  F
  1314. ; specify to use a pooled server.$ Q; S  f* {$ h0 `
  1315. ;oci8.connection_class =7 h7 r( F& H9 g; `

  1316. 4 _- P5 I7 ?5 I! R
  1317. ; High Availability: Using On lets PHP receive Fast Application; P! w+ t" a/ T; t3 [2 F8 h; ]9 {
  1318. ; Notification (FAN) events generated when a database node fails. The. T& A5 n& l; |" H! _* q, m
  1319. ; database must also be configured to post FAN events.
    9 \/ @' o# n# o1 F6 _0 e
  1320. ;oci8.events = Off
    3 I! [+ o% t, ^: m+ b' b( ?" ~

  1321. ' I5 n5 Z/ d! R* }
  1322. ; Tuning: This option enables statement caching, and specifies how
    / l: U: L1 g0 S
  1323. ; many statements to cache. Using 0 disables statement caching.5 F) Y% b# S6 h
  1324. ; http://php.net/oci8.statement-cache-size
    3 r# [( X! N2 C! T, U
  1325. ;oci8.statement_cache_size = 20
    ' m5 u) h4 f" ^, T

  1326. ; s0 E1 b  W( g( g. Q# i, ]$ Z) \
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    ) e# N) w& v7 c% s+ N8 J, `5 ^
  1328. ; rows that will be fetched automatically after statement execution.  g) I$ }( n+ s( A7 z2 R% b
  1329. ; http://php.net/oci8.default-prefetch
    + P. H4 v! X0 p; L0 a
  1330. ;oci8.default_prefetch = 100
    ) [- A' x7 ]& P6 Z
  1331. / |& D3 ^! u' }; S) w/ G
  1332. ; Compatibility. Using On means oci_close() will not close
    - Y0 k* h1 }3 A  p9 C5 @
  1333. ; oci_connect() and oci_new_connect() connections.
    ; }& T& @* ?7 y7 q: i1 ~$ m$ r
  1334. ; http://php.net/oci8.old-oci-close-semantics
    ! @/ o9 J# Y4 [( U& e0 z3 H, m
  1335. ;oci8.old_oci_close_semantics = Off9 R$ p6 y. }3 g/ X7 c$ G- l4 g
  1336. . f2 j" o( r" x  i. \4 e
  1337. [PostgreSQL]
    ' B) f: f# W7 K8 q
  1338. ; Allow or prevent persistent links.
    % h& e! E; s$ a) u5 J2 O
  1339. ; http://php.net/pgsql.allow-persistent4 @8 k+ i; t6 G( s7 o( ~. c7 l* |
  1340. pgsql.allow_persistent = On0 T( c: q0 F6 V/ ~2 W6 Y0 v
  1341. & L7 W0 d; r9 F$ C2 N0 O
  1342. ; Detect broken persistent links always with pg_pconnect().1 g7 z  N* m9 j7 q/ Z: _8 }
  1343. ; Auto reset feature requires a little overheads.+ S! ^# A- A' y# m
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ; U  u8 M/ n) T% `( ]0 j- M
  1345. pgsql.auto_reset_persistent = Off: m3 u5 h8 e+ u* X+ N. F8 F

  1346. " W+ x' z4 a; u: E
  1347. ; Maximum number of persistent links.  -1 means no limit.
    9 h/ e' C+ d/ A
  1348. ; http://php.net/pgsql.max-persistent2 S9 G* e  o" g& y1 ]( l
  1349. pgsql.max_persistent = -1; ^7 N8 d2 X* i4 g" d

  1350. " B. o& Z/ N( d  B
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    % w/ z6 D1 E/ `- v3 y
  1352. ; http://php.net/pgsql.max-links8 G, F9 m+ |% e3 `6 W/ ?
  1353. pgsql.max_links = -17 h7 R1 j. U  X+ _% r
  1354. ' i6 t; q% j: U
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ' S: B8 O% b% a. f
  1356. ; Notice message logging require a little overheads.1 v# K( d) t/ f6 a8 u
  1357. ; http://php.net/pgsql.ignore-notice
    6 m; }9 E7 g$ M; c, l" ~3 ]
  1358. pgsql.ignore_notice = 0
    9 Q! m# W5 {0 d3 o" h) U

  1359. ! T1 w, u: ~7 a
  1360. ; Log PostgreSQL backends Notice message or not.
    & V  F+ b: J6 z$ i, t+ W
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.  ]3 e8 i* |0 ~+ V
  1362. ; http://php.net/pgsql.log-notice; \, f4 X2 {, K$ K. s3 s; K! @+ @9 M
  1363. pgsql.log_notice = 0
    ( q3 _' k4 |! q. \0 u' x3 E2 I
  1364. 4 X1 H  @; e% ]7 P/ k, w
  1365. [Sybase-CT]
    0 t, @# t7 Q) Y$ I/ y' |7 w
  1366. ; Allow or prevent persistent links.5 }- P( q6 ]" K. W: V; J
  1367. ; http://php.net/sybct.allow-persistent) r: m- y, i' \* \
  1368. sybct.allow_persistent = On3 f9 v1 `" q' U

  1369. 1 n: {# n) _' t/ \& `1 v) z+ X# k
  1370. ; Maximum number of persistent links.  -1 means no limit.
    / I+ i! Y) S& ^7 A1 s1 T3 J9 V% \& ]
  1371. ; http://php.net/sybct.max-persistent$ [" _+ Z/ {1 l7 W8 ]. z
  1372. sybct.max_persistent = -1
    % p3 {' X2 T6 Q# O4 N$ {
  1373. 6 }5 ^* n& [0 z
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: m) A3 Y. ?2 c8 k8 h4 J' Y- Z
  1375. ; http://php.net/sybct.max-links
    " E( v' |) @, V" ~& W7 i
  1376. sybct.max_links = -1
    ( F. A+ X( A  `9 J% B) T

  1377. - ?" d# O) E2 C+ K/ \0 O. X7 p
  1378. ; Minimum server message severity to display.
    + ]* K  @: P% Y! D# j
  1379. ; http://php.net/sybct.min-server-severity
    5 y0 p9 X# X3 [
  1380. sybct.min_server_severity = 108 W6 }, i. P' f  \) X* h$ @! k) E
  1381. ' R* n8 I3 O* ^! G- ~  p
  1382. ; Minimum client message severity to display." f# x& c# s% y
  1383. ; http://php.net/sybct.min-client-severity# q7 M  H$ w! S) [) e
  1384. sybct.min_client_severity = 107 {( g9 y! H$ G) F/ q

  1385. " Y# r. |) t" |5 ]# p- o
  1386. ; Set per-context timeout8 T% ^0 |( u% r8 N
  1387. ; http://php.net/sybct.timeout
    . k5 S0 C# D; A3 L
  1388. ;sybct.timeout=
    ( X; d- T* }. Y4 ~; _

  1389. 6 [9 z4 d9 c0 W0 [" o5 H
  1390. ;sybct.packet_size
    ; K6 R# _" }, \: p6 P2 Q- z

  1391. 8 r6 ^/ E. ]7 i5 M. s! v) [
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    ) c( d0 B1 H$ d3 P: \
  1393. ; Default: one minute
    0 l/ C6 z1 p, b! S
  1394. ;sybct.login_timeout=
    9 a& O( A$ l* h* n0 s, M( H4 f
  1395. 6 ^( R$ w- [6 j6 e& I( N/ m
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    . Q' W$ D; h1 V
  1397. ; Default: none( Y8 i! h0 G* f- a
  1398. ;sybct.hostname=
    - `0 J- G) N% Q  i- c

  1399.   |$ ~1 d& f: H- |% U7 x2 @# S. C1 w' ^
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    % O0 A; ?! x1 P) R# Q+ f( t" C1 ^
  1401. ; Default: 0
    $ X& H3 k% C5 E" u* `9 X1 {+ V1 \
  1402. ;sybct.deadlock_retry_count=; H8 [, u2 i  s/ X

  1403. ' i( z: @* q+ r+ z
  1404. [bcmath]
    9 g; k3 U) t) L" j
  1405. ; Number of decimal digits for all bcmath functions.+ m0 ]3 B. m  s8 F( g* ^9 ~
  1406. ; http://php.net/bcmath.scale
    0 I0 L# u  j1 w! O
  1407. bcmath.scale = 09 ]! T* m+ S6 X6 H8 D( x7 ]8 ?
  1408. & e# }  N8 h% k* P
  1409. [browscap]( h7 f  U8 g  W/ p% k5 L: ?" H
  1410. ; http://php.net/browscap5 o5 Y$ @* @! M
  1411. ;browscap = extra/browscap.ini! s" Z- J  R1 ]  H4 |; B$ g' T' P0 y1 D
  1412. * K5 A( e/ b& H6 I+ m+ a+ n
  1413. [Session]* @4 W% [6 j+ o! l2 t
  1414. ; Handler used to store/retrieve data.
    , G3 N; j: w' u& s: J* H
  1415. ; http://php.net/session.save-handler
    1 ~1 ^; ?# S* c
  1416. session.save_handler = files
    : P. m5 A3 j, i+ C) z
  1417. : p$ v. e+ Z. r7 Y" Y0 l- g
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    6 e' Z5 j, b, f
  1419. ; where data files are stored. Note: Windows users have to change this
    * a3 T0 `. m1 K' s6 B
  1420. ; variable in order to use PHP's session functions.
    ) s# o8 u; e7 ]+ Z* c# X
  1421. ;
    $ |! }% ^+ v- x9 T: o$ g: M+ w
  1422. ; The path can be defined as:
    0 Y! M& v+ C8 J, [# J
  1423. ;+ z3 ]) h  \" o2 y4 S% U- Y
  1424. ;     session.save_path = "N;/path"
    - K" \/ u' Y1 Y2 D) B& ^& U' O
  1425. ;- B, v5 ~' m0 ]7 u7 }% @) R
  1426. ; where N is an integer.  Instead of storing all the session files in
    & |: ]+ I$ q+ d2 y. Y
  1427. ; /path, what this will do is use subdirectories N-levels deep, and. [( h1 G" N; J
  1428. ; store the session data in those directories.  This is useful if
    # p! K9 f5 Y8 W' o
  1429. ; your OS has problems with many files in one directory, and is* Y+ R8 O1 O5 u! ?, z
  1430. ; a more efficient layout for servers that handle many sessions.
    7 W! h2 K- O4 H" i
  1431. ;
    # g4 V+ s" `3 j3 e5 c$ ?
  1432. ; NOTE 1: PHP will not create this directory structure automatically.' m! w. E  V* O9 _
  1433. ;         You can use the script in the ext/session dir for that purpose.7 A1 j* r4 H( E1 R- U6 i
  1434. ; NOTE 2: See the section on garbage collection below if you choose to+ j2 Z  U+ C$ ~% R. c0 i& Z9 I8 i
  1435. ;         use subdirectories for session storage
    5 `: g7 B7 a6 z' r3 d& |5 Q. d
  1436. ;
    : d/ ?2 K* A4 n; u8 q' L2 P; n
  1437. ; The file storage module creates files using mode 600 by default.) k% a( V; O: Y6 q3 d! E; X& y
  1438. ; You can change that by using* b, z0 w5 H% r
  1439. ;0 Y- p  ?& j2 }; H. k1 I$ _
  1440. ;     session.save_path = "N;MODE;/path"4 ]2 n+ W! }, n4 d
  1441. ;9 `- M: v5 {& q4 ~6 M
  1442. ; where MODE is the octal representation of the mode. Note that this
    & S+ ^9 J4 m+ g: E, n8 {
  1443. ; does not overwrite the process's umask.7 R4 u( l* n) h" n6 z; o
  1444. ; http://php.net/session.save-path* R0 W: L+ k" O3 H5 B* y" n
  1445. ;session.save_path = "/tmp"
    0 T5 K+ ]( R; h. t' F/ T3 _3 U6 X

  1446. 5 \  o; a  Z/ `; Z% Q/ N4 e7 R) T" r
  1447. ; Whether to use strict session mode.
    6 s# U' V1 U' C5 n8 W
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate0 b6 s0 C$ R# d) R+ R8 Q# s
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects# }! C) ^9 ?  F8 l6 x4 e
  1450. ; applications from session fixation via session adoption vulnerability. It is
    & _3 h3 p: l; y  \+ d" P' F
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.7 ?; w+ ^/ G1 ?: K+ h/ p/ B; d
  1452. ; https://wiki.php.net/rfc/strict_sessions
    6 k  G; t  f# p- I
  1453. session.use_strict_mode = 0* j8 c! t: y6 p% f8 i. w
  1454. 1 S. \& [" c6 e9 S
  1455. ; Whether to use cookies.
    . R; Y7 P3 m) D; ^$ F, E5 ~
  1456. ; http://php.net/session.use-cookies0 u" b: R; a0 H4 _4 [7 e6 j: P
  1457. session.use_cookies = 1
    9 Q& K$ X1 a' i: t0 i$ E6 d. ]* E
  1458. 5 _7 L8 f8 R3 m; w& i
  1459. ; http://php.net/session.cookie-secure, I* n& R9 d) {# x! {' ]% O0 o
  1460. ;session.cookie_secure =
    ' C! d& Y( w& [% k, b! G
  1461. 3 U: ^1 V1 {' _9 h' z3 ^
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    1 c: D. ^* V2 b; e2 ^5 z/ m2 v' b
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    ) ~! U+ d& X' o& c0 K  z6 y
  1464. ; session hijacking when not specifying and managing your own session id. It is1 G, P$ a1 ]& O2 v& V! U
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.' b; Q6 i) P& }" m  U# i
  1466. ; http://php.net/session.use-only-cookies
      D3 `- S- [2 A2 t0 ?
  1467. session.use_only_cookies = 13 ~1 ~) {4 W9 f* _# D- N  E2 h3 F8 }

  1468. ; r% \3 u6 S, b: a! t
  1469. ; Name of the session (used as cookie name).4 C+ A4 v( w: W. G' l, u, ]
  1470. ; http://php.net/session.name
    0 U, D9 w- W" S* m# X
  1471. session.name = PHPSESSID0 _5 l- @1 n1 \3 h# ]8 M2 C6 D
  1472. 7 n' s# V' o8 Z- E, r0 ]
  1473. ; Initialize session on request startup.& W* V3 ^' |5 t1 \1 B! K
  1474. ; http://php.net/session.auto-start
    ; h' X, d8 r. m8 _
  1475. session.auto_start = 0* ^4 D' g) Y( E; j7 V0 Z1 `
  1476. 5 l7 P& @0 G1 T# y5 i2 j. ~
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    $ r0 I; x" \/ e$ m
  1478. ; http://php.net/session.cookie-lifetime  W  Q2 g+ R# [2 M$ n
  1479. session.cookie_lifetime = 0: P4 }0 O, I' t' V% E7 `3 ?! c

  1480. ) n; S7 w& E7 T8 w
  1481. ; The path for which the cookie is valid.
    . A1 K7 P: V. @5 u1 J8 e* ]
  1482. ; http://php.net/session.cookie-path7 `" Y$ L: ~6 h" x
  1483. session.cookie_path = /( x* f8 W9 R. o
  1484. 5 b' H$ D8 y7 j; k7 E
  1485. ; The domain for which the cookie is valid.
    9 @% m  a/ o" N% l. [% d, k
  1486. ; http://php.net/session.cookie-domain! }2 a* ~1 z" R2 T+ ^  g5 e/ m- I/ G
  1487. session.cookie_domain =4 s; [8 f+ D" @

  1488. 4 s+ N9 r: `  C  `8 o' [
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.4 r5 d* ~$ q; `* \, e2 x, l4 j
  1490. ; http://php.net/session.cookie-httponly  F' a* g+ {$ ?, v' ~
  1491. session.cookie_httponly =# K9 \) A/ \) G/ z: l

  1492. 8 h+ L' u1 Q3 d/ e5 M- e
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ( z. x3 y* s$ X# n
  1494. ; http://php.net/session.serialize-handler
    ( q4 ~2 ]" J* t6 y+ E; C% J. O9 O3 o% F
  1495. session.serialize_handler = php4 o& y) ]- O7 w

  1496. 6 }) M' R# `" m* ^+ t' N! Q7 @
  1497. ; Defines the probability that the 'garbage collection' process is started
    5 a! e) ^( _, e+ G6 |' E' c1 ~
  1498. ; on every session initialization. The probability is calculated by using+ i  u+ r2 j( E9 Z1 M
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator  z' e* o# }6 _4 {
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    . r/ L9 L; g4 U9 A5 d6 U
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    1 F6 m- h- P# J7 P0 Y; s
  1502. ; the gc will run on any give request.' y1 I7 U8 H# i2 x
  1503. ; Default Value: 1
    3 [0 R7 G' O& j. n
  1504. ; Development Value: 1
    * g/ F4 v! E  K+ T
  1505. ; Production Value: 10 N9 Z  m" W% P; r" c# g$ g& y
  1506. ; http://php.net/session.gc-probability
    6 G3 D" P! D) J: `
  1507. session.gc_probability = 1
    & m0 A0 S% Q4 r  Z+ e

  1508. . l9 N* ]2 o7 g
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    7 H7 w7 K% \5 D, T. Q
  1510. ; session initialization. The probability is calculated by using the following equation:/ c  @; c- w3 s
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    % Q/ f; n3 u8 w! \
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    # z! ^5 ]5 ]# P- m& X/ T
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    & ]* d: r5 X0 S
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    7 |! W) M* a7 Q3 W; e( @# u" x
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,, |$ O  g8 K+ J
  1516. ; this is a more efficient approach.
    % L0 g/ C! q& C* N3 D% q% [; T
  1517. ; Default Value: 1007 `2 Y5 J" `% f$ e4 Z
  1518. ; Development Value: 1000: C  ]' T5 p7 S1 I
  1519. ; Production Value: 1000
    * @+ q% @" k' _* U" X$ I/ Q
  1520. ; http://php.net/session.gc-divisor
    0 f$ `9 p4 @- s' Q. `+ X+ G, u
  1521. session.gc_divisor = 1000; _( z) P0 w6 `, ?+ d! A, L

  1522. $ k! D* T# X% \% M  p7 ~
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and% L* |  c5 v1 }& f  ~  u: d
  1524. ; cleaned up by the garbage collection process.* @, Q* v4 N+ X9 k3 k; R
  1525. ; http://php.net/session.gc-maxlifetime' P9 e% [1 x: A% J/ t) K
  1526. session.gc_maxlifetime = 1440# C6 _+ f0 P* |: p

  1527. ! W3 I1 K0 v5 d* X* I8 J
  1528. ; NOTE: If you are using the subdirectory option for storing session files" C8 A1 b/ u( q- e) j0 ^( r
  1529. ;       (see session.save_path above), then garbage collection does *not*
    8 r1 V, r4 C3 A8 V9 w
  1530. ;       happen automatically.  You will need to do your own garbage; C8 h" S% F% w) M) d
  1531. ;       collection through a shell script, cron entry, or some other method.# c) ^% d# j: }8 l
  1532. ;       For example, the following script would is the equivalent of
    3 D; I' y3 |; G; K6 @
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    : q; m4 d; j2 m1 ~5 R) v4 l0 F
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ' s! e. ?! x- O! v

  1535. 9 j5 \3 ]; P6 f
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.8 ?% r- I1 H  s8 F8 K
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    , X4 a, \& E  h* u. i, X
  1538. ; considered as valid.
    ! C& q# Z; U$ E; h
  1539. ; http://php.net/session.referer-check
    / Z- D9 }, k& q. v
  1540. session.referer_check =
    # }- ~% N1 F% [3 z0 j- X

  1541. " {6 [8 J; Q& r& Y
  1542. ; How many bytes to read from the file.$ R' D9 [; ]# {  g9 G5 i
  1543. ; http://php.net/session.entropy-length, y- n, r7 D( E; p
  1544. ;session.entropy_length = 32, V9 c0 e5 e3 k: L  j7 G1 C
  1545. : u. @1 Z/ l; Y$ d* ^" p/ k% m
  1546. ; Specified here to create the session id.% w1 e! x- T8 J" Z9 i3 X
  1547. ; http://php.net/session.entropy-file
    9 ]; Z. r" E/ y2 ^& ]3 z4 A
  1548. ; Defaults to /dev/urandom
    - Y( x5 h; C3 V
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom# T" @' S+ Y2 E  z- M. {4 T
  1550. ; If neither are found at compile time, the default is no entropy file.
    $ S8 t& F+ Q) ~2 \& L6 B
  1551. ; On windows, setting the entropy_length setting will activate the' H% {0 J: k0 R+ T8 {0 n
  1552. ; Windows random source (using the CryptoAPI)! h0 o" v. h' h; W7 ~
  1553. ;session.entropy_file = /dev/urandom
    : M" Y' @- a8 o
  1554. ; G( q2 M. K0 V( s3 K  B5 p. K# g
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects  ]7 Q0 t  d! a0 f: C! L
  1556. ; or leave this empty to avoid sending anti-caching headers.+ g/ n+ {" M+ G
  1557. ; http://php.net/session.cache-limiter
    % w! u+ r- p2 \. Z- X! h& O6 M- q
  1558. session.cache_limiter = nocache; Y- L4 _; f. e. F8 E2 ^3 c8 y) p+ S

  1559. ! C% ]# b2 d1 j
  1560. ; Document expires after n minutes.5 j4 j( G9 A) b, \
  1561. ; http://php.net/session.cache-expire0 z  w7 X! }# }& I2 v1 L$ [
  1562. session.cache_expire = 1804 l! B! R- {. I

  1563. # V4 `% D+ P7 P2 ~7 Z: ~
  1564. ; trans sid support is disabled by default.) q; P$ I" u- f$ g( h9 C
  1565. ; Use of trans sid may risk your users' security.2 Y# ?. E6 e5 b2 _& Q
  1566. ; Use this option with caution.5 Z8 E: p' Q: T
  1567. ; - User may send URL contains active session ID
    0 ]2 M' J3 T( }+ s( _% L% h
  1568. ;   to other person via. email/irc/etc.
    " N' }8 G9 [9 ]! M
  1569. ; - URL that contains active session ID may be stored
      X/ ~1 o" D  i1 M
  1570. ;   in publicly accessible computer.
    % Y* V- V) S5 _+ O; O8 Y4 b1 C' N4 l
  1571. ; - User may access your site with the same session ID# _7 f5 x- D. i' F5 j
  1572. ;   always using URL stored in browser's history or bookmarks.; k0 A3 u' v3 X( ~, M& E
  1573. ; http://php.net/session.use-trans-sid
    ! _( s! m; N: G8 c
  1574. session.use_trans_sid = 0+ {3 \. p1 R6 E6 s/ Y% E" t. I# l3 s

  1575. 1 ~) W, Y. H" w. W, l
  1576. ; Select a hash function for use in generating session ids.0 n. [3 @& M2 a. a0 y: ]: Z2 a
  1577. ; Possible Values# F2 V4 B2 [/ m) s2 s
  1578. ;   0  (MD5 128 bits)
    0 w& V) N+ [) y+ M! T+ }5 m
  1579. ;   1  (SHA-1 160 bits)  u# \& S: A5 {" H
  1580. ; This option may also be set to the name of any hash function supported by
    % B% J& x' n3 P- |( @- Z6 p! G
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()/ m% c/ _4 L  z7 ]; S: R+ ]
  1582. ; function.9 b! Y- e6 b+ E+ R: J0 U
  1583. ; http://php.net/session.hash-function
    8 l2 \, L! {8 |" O
  1584. session.hash_function = 0' }! f8 p3 p# y6 F: x5 X* p
  1585. 7 k4 w7 }" I$ d) [' t9 s
  1586. ; Define how many bits are stored in each character when converting
    9 X2 s5 m# h: U$ I
  1587. ; the binary hash data to something readable./ u, X- r2 r+ v. g
  1588. ; Possible values:# N3 a+ D# |$ R# j6 a# u
  1589. ;   4  (4 bits: 0-9, a-f)
    : f. Q6 o2 [4 d$ ]
  1590. ;   5  (5 bits: 0-9, a-v)
    & \% n1 _9 k. j  G& B
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")) J* E/ b) y) t  v
  1592. ; Default Value: 4( h: V) l) B2 {% ~3 ~! [
  1593. ; Development Value: 5
    % Z; b. y+ L& m8 O! q& }  Y
  1594. ; Production Value: 54 L1 f* @" H% M. m$ E. N
  1595. ; http://php.net/session.hash-bits-per-character
    % _2 T% F: M/ ~: i% U- k
  1596. session.hash_bits_per_character = 5
    8 P0 e0 R: z" H5 `# \

  1597. 2 q/ Q7 {3 [' O2 u8 [- B
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ( S( g( `) A/ M1 U$ i
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    * o2 R* ]( ]# @: V+ E6 P
  1600. ; add a hidden <input> field with the info which is otherwise appended# z+ G% d. V: o4 w9 h8 M; i
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    5 {8 F) b" P3 N/ m9 S
  1602. ; Note that all valid entries require a "=", even if no value follows.! I/ F4 a) E8 V; D9 M3 a3 f
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    . y5 n/ h& Z( i& Y3 v+ t* U2 ~
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 O3 i0 {3 U3 P$ g7 P% f
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 J8 H( J" O+ C
  1606. ; http://php.net/url-rewriter.tags# A' D" B  x3 _% g
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"1 n+ a( i! ~5 U/ W
  1608. : d$ E& ]4 x) `
  1609. ; Enable upload progress tracking in $_SESSION% H% R2 {! C( P; Q  j  U
  1610. ; Default Value: On
    ; o3 f$ j  v! L6 O, u. M
  1611. ; Development Value: On
    4 F5 d" G: o8 l. |% K# t, G
  1612. ; Production Value: On: f1 T- `) }' e- F+ c8 n' Z
  1613. ; http://php.net/session.upload-progress.enabled3 ]' |7 H: W9 o
  1614. ;session.upload_progress.enabled = On1 D0 m( D+ d8 y9 {2 E

  1615. 8 [# D4 j: ?! i5 }) v6 g
  1616. ; Cleanup the progress information as soon as all POST data has been read
    0 p% O+ I; @% ~; x! L
  1617. ; (i.e. upload completed).7 W* ^5 ?$ q" d: h
  1618. ; Default Value: On4 R3 ?( K3 R$ k3 k0 ^/ E
  1619. ; Development Value: On2 s7 q; ^! |4 ~, Q
  1620. ; Production Value: On
    7 D* z6 u, {3 h7 J/ k
  1621. ; http://php.net/session.upload-progress.cleanup+ r. W) d, d/ H
  1622. ;session.upload_progress.cleanup = On7 D3 _6 \/ K- r. @: z0 X2 N# _
  1623. / q" ^7 _  A) X& L
  1624. ; A prefix used for the upload progress key in $_SESSION8 v$ T; T  A4 h: ]
  1625. ; Default Value: "upload_progress_"! |, [) \+ a# k' }) c8 V7 X
  1626. ; Development Value: "upload_progress_"- d) E3 j2 w0 N: D
  1627. ; Production Value: "upload_progress_"
    . q* G" Y% |  `2 ^4 ], j/ p' F
  1628. ; http://php.net/session.upload-progress.prefix/ L# b& ]1 t9 ?3 P) `
  1629. ;session.upload_progress.prefix = "upload_progress_"$ y! \& Y! H: a# h- E' {2 e

  1630. # N1 j3 n! u4 F
  1631. ; The index name (concatenated with the prefix) in $_SESSION. d7 B2 _1 s( R1 v$ L* u! E
  1632. ; containing the upload progress information
    2 q  l; G1 m5 d9 g% e. ?+ ]1 k2 m
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"3 r' G+ Y  J. r' ^/ T
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"/ O' k/ W  I& @- e; Q4 f
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : g6 |. \- |5 N  q# |
  1636. ; http://php.net/session.upload-progress.name7 W3 a: M) R* D
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"# m. L/ d& |& l: I* P$ X4 m1 p

  1638. 4 s$ Q" J" v5 b& v$ h. e5 ~3 I' i
  1639. ; How frequently the upload progress should be updated.! j# |) T$ F) _
  1640. ; Given either in percentages (per-file), or in bytes6 q: W% V8 K" v: f& p  U9 F8 C
  1641. ; Default Value: "1%", ^2 {, w; d( _  D
  1642. ; Development Value: "1%"' g* J; y6 G5 D( I
  1643. ; Production Value: "1%"
      |/ W3 A% ~9 g
  1644. ; http://php.net/session.upload-progress.freq
    9 i/ G, I$ ?" l) d: {
  1645. ;session.upload_progress.freq =  "1%"( T( }" K4 e3 c( F1 Z
  1646. 1 X2 H  J, \8 X& z5 Y: L
  1647. ; The minimum delay between updates, in seconds" w* v3 C3 s( h$ ]. y, p, P$ L
  1648. ; Default Value: 1
    7 L- n6 O# f6 g" @- x  U6 t
  1649. ; Development Value: 1& X! N8 h: }' I- M8 N0 |
  1650. ; Production Value: 1
    # V7 U5 _2 Z% K) R9 G1 r' `/ c( S
  1651. ; http://php.net/session.upload-progress.min-freq
    & q/ `- |5 [+ J
  1652. ;session.upload_progress.min_freq = "1"
    , E* B( j9 F. @' Y* [. o
  1653. . ^& ~8 ], g- {: q8 V# M8 T3 r
  1654. [MSSQL]
    + K8 Z/ ?- \# H" o, B
  1655. ; Allow or prevent persistent links.& u( D# V& u8 @. c7 I2 ^
  1656. mssql.allow_persistent = On
    2 Y8 \, O8 H1 d
  1657. . e+ U; E: X5 P  E5 U9 U
  1658. ; Maximum number of persistent links.  -1 means no limit.5 A7 A! H4 ]7 G
  1659. mssql.max_persistent = -19 E+ I! B$ H+ x. G
  1660. ( |, P+ ~" U: k3 r7 ?/ ], p
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.& v7 E; Q, F4 G& L8 N0 O
  1662. mssql.max_links = -1; s' E6 z/ s1 E/ a

  1663. 9 Z7 S- d# Q: U! N
  1664. ; Minimum error severity to display.
    4 g$ p) H  X8 V: W5 R
  1665. mssql.min_error_severity = 10' A3 G6 k5 H6 t' S* o1 A6 d
  1666. , q5 R2 t. |! R" `+ c* \* @/ k# g1 }
  1667. ; Minimum message severity to display.: x- o) y! ?9 s" [
  1668. mssql.min_message_severity = 101 f3 ~% u# N5 P2 D3 a' y

  1669. ! P0 J" t9 i0 G% [0 F, }
  1670. ; Compatibility mode with old versions of PHP 3.0.
    & N) L" U' ^7 p& _
  1671. mssql.compatibility_mode = Off
    5 B1 X3 `- U( ~" `2 s9 `7 E
  1672. 3 m8 }* ?; d/ Z- v  t
  1673. ; Connect timeout, e& y' ?4 B& R
  1674. ;mssql.connect_timeout = 5$ O) J* `/ c% J4 S% }$ o4 |2 ]2 d8 d
  1675. , E; o2 Y1 ]& w
  1676. ; Query timeout. E/ i4 Q5 g5 B' G; U1 g* r
  1677. ;mssql.timeout = 60" O! G* S2 F6 z0 d

  1678. ; g) G. F' s9 j' s/ U8 A
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    1 u3 r, m. j/ X' l2 P
  1680. ;mssql.textlimit = 4096
    7 x7 r9 \+ @" g; s0 b0 P8 f
  1681. + I% J) H9 n- p# D: J' b
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    2 z" |4 {) a1 q3 F
  1683. ;mssql.textsize = 4096
    . ^6 D# G/ Y1 d. s

  1684. + D/ R0 z9 d; z2 f8 }2 F
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.  {* Z  a, ^- {3 h
  1686. ;mssql.batchsize = 08 i3 K; X( G  g2 @5 g; T& G" t
  1687. $ p/ p" x- X$ ~- \
  1688. ; Specify how datetime and datetim4 columns are returned- N2 M* F$ p4 U: [* t
  1689. ; On => Returns data converted to SQL server settings
    ( Z+ Z4 a  x3 G/ v7 N1 V
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss; K# l0 \7 W# Y, F$ C
  1691. ;mssql.datetimeconvert = On9 k# H+ a# z4 E) g! L

  1692. " h. p5 a4 q: v# \
  1693. ; Use NT authentication when connecting to the server
    4 V/ a0 J0 Y9 U1 h5 L  ~
  1694. mssql.secure_connection = Off
    ! X6 O# m% U3 y# _: s
  1695. - a. ?1 [" a) A8 [
  1696. ; Specify max number of processes. -1 = library default: J! |* q- T  l/ k; j) b
  1697. ; msdlib defaults to 25# f! H* h' O8 Q
  1698. ; FreeTDS defaults to 4096
    9 P/ S2 s$ I7 O  z! _: b
  1699. ;mssql.max_procs = -15 d9 V! n- Y( n  }7 l; P
  1700. # F! W5 L* a; @% z8 ^: H$ {
  1701. ; Specify client character set.
    % c7 _' K, y9 @
  1702. ; If empty or not set the client charset from freetds.conf is used
    $ _# K) k% U$ K4 ~; H2 `, {. W' Z
  1703. ; This is only used when compiled with FreeTDS7 g% }$ V* ~/ r6 K+ j! _" C, W
  1704. ;mssql.charset = "ISO-8859-1"
    $ P6 T5 v5 g4 s
  1705. 8 T& i1 h3 T* ?7 `
  1706. [Assertion]$ V7 R* _' N! t" s! s, k
  1707. ; Assert(expr); active by default.
    ) c, n/ S  k' v. L- r
  1708. ; http://php.net/assert.active
    8 l  j$ X' R3 a6 g: V5 N3 ~4 S
  1709. ;assert.active = On
    ) z: @, q! v" S+ O1 j6 E) O# M) M

  1710. % g) @+ V# ~. s! `3 ]  F3 m
  1711. ; Issue a PHP warning for each failed assertion.0 M; j9 k" u# d
  1712. ; http://php.net/assert.warning
    4 {% K/ M' {: L+ K# R" x3 U
  1713. ;assert.warning = On
    $ ?1 Y  j) B8 d* y) d0 A
  1714. 6 e+ h1 q" l9 p8 o' w
  1715. ; Don't bail out by default.
    ) R1 t" J; a* ?; T- j# s3 z& {3 e
  1716. ; http://php.net/assert.bail4 q4 W0 C. F. G3 V  S. V/ l
  1717. ;assert.bail = Off# a" ]9 W& L& d& t7 m
  1718. . x% f9 T9 n# ?& x* R
  1719. ; User-function to be called if an assertion fails.
      F+ v! M& v/ E4 ?% j; n
  1720. ; http://php.net/assert.callback
    - {1 h& I% k& X
  1721. ;assert.callback = 0
    0 p) b) N7 m; ^

  1722. 7 Q. r+ d- j9 U+ b' u) `# N
  1723. ; Eval the expression with current error_reporting().  Set to true if you want  v6 L& X/ [1 I4 R9 O
  1724. ; error_reporting(0) around the eval().) @% v! ]$ _  Q& ]8 H/ K, P. l
  1725. ; http://php.net/assert.quiet-eval4 l( v+ l  b# x
  1726. ;assert.quiet_eval = 0
    ; p- p, ^/ o2 S. Q- v7 j

  1727. ! k) T5 j' t" {1 m7 A& V( `& S
  1728. [COM]
    0 ^" X) _5 o3 j+ b& D7 K/ u3 K
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    1 f; [3 e: Q1 C: i0 M) n
  1730. ; http://php.net/com.typelib-file( i4 X/ O2 n& H% Z! @
  1731. ;com.typelib_file =
    1 m1 L, S( _9 o; w- q/ f

  1732. ! a, S# l6 I; ]2 _
  1733. ; allow Distributed-COM calls/ ^; k  V6 C& y8 V4 n' M
  1734. ; http://php.net/com.allow-dcom
    . U* u( ]+ W+ ?! p7 y) Y2 O  Q: K
  1735. ;com.allow_dcom = true
    3 T6 e2 T4 J6 N6 G

  1736. 6 w! d) p0 T0 U- ]& \, A
  1737. ; autoregister constants of a components typlib on com_load()4 E/ A9 R% M5 o* @7 e4 C
  1738. ; http://php.net/com.autoregister-typelib" V' @4 p) m3 b8 X7 e/ G
  1739. ;com.autoregister_typelib = true
      Q3 q2 T" G) Z8 j
  1740. , J/ U! s7 ^8 v; c3 x
  1741. ; register constants casesensitive
    ) f: `7 R  Z9 w9 K9 Q9 D( S5 E, W5 y" F
  1742. ; http://php.net/com.autoregister-casesensitive
    * O+ U! v* W' Z: j$ t$ R, x
  1743. ;com.autoregister_casesensitive = false8 z9 }. k, o2 I# S& d
  1744. / ~/ S6 L: ~& ^5 k2 l
  1745. ; show warnings on duplicate constant registrations
    % Z& ^3 E2 E' F# E: X6 n  h
  1746. ; http://php.net/com.autoregister-verbose& k  w- @# u2 R- `- o' i$ i
  1747. ;com.autoregister_verbose = true5 ^* o3 q1 d; _: X; a7 v+ w' e
  1748. % e- G9 S% e6 X
  1749. ; The default character set code-page to use when passing strings to and from COM objects.1 o# c8 m7 q  N/ `! h2 y
  1750. ; Default: system ANSI code page& G; G6 t5 u5 p. o7 w! I
  1751. ;com.code_page=/ f4 e' e2 x$ x  h7 _4 U
  1752.   O( m, T( c* h; u  Y2 z
  1753. [mbstring]
    - E  y' B* T' F3 X+ y3 m  }( f! l
  1754. ; language for internal character representation.; ^3 C9 ~, i$ H. _; w
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    : x% y$ S- p( s
  1756. ; http://php.net/mbstring.language
    " z, A9 Y' Z  ^7 C7 r9 Y" D
  1757. ;mbstring.language = Japanese- T% z& |3 N+ u& w0 x3 c- s
  1758. 1 Z& h! S5 x- h9 v3 e
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 f) Q* }, Y# v
  1760. ; internal/script encoding.
    2 W& h. X: {" ]8 |! P
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    % `- L6 I/ ~' h6 u
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
      h9 j; S$ r6 v/ H6 r" Y* Z
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding* R3 L8 n: ~4 `4 W. h; X
  1764. ;mbstring.internal_encoding =# \" o! C) Q' x# ~/ ?. s

  1765. ) G1 g+ L' V4 r6 k( v* z1 y5 [) n
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    1 N; g! _1 ~, N! U2 h* ~% k) v
  1767. ; http input encoding." L1 s) N8 U# C/ E
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    ) v( w' w! M0 w7 H9 r- `, ^" @
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    7 `8 w& t# b- h
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input& n5 R4 g1 _# d& h. T
  1771. ; http://php.net/mbstring.http-input
    - [6 p. N# g7 B/ K
  1772. ;mbstring.http_input =
    + Q* f8 O$ v+ z7 p* M0 x# x
  1773. $ d' f( }, P" U4 r2 v
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.6 H8 }. B0 a' d. e4 P0 q: B/ X
  1775. ; http output encoding.
    4 v1 V' `6 C" a; L6 p8 I4 h$ K5 e
  1776. ; mb_output_handler must be registered as output buffer to function.
    3 e# H" \9 V. Q
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    . R3 e; `% D/ p7 Z3 Y
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    & E8 i; z' D. U) l
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    5 K, ?- M0 P% \. o: x9 n3 X- R9 h$ l
  1780. ; otherwise output encoding conversion cannot be performed.
    3 z3 j3 z  Z/ f+ a" n- U: K
  1781. ; http://php.net/mbstring.http-output
    ( ~7 c; u, w' ^! Q  b" C
  1782. ;mbstring.http_output =
    9 P' `) u- Y* N( }! H
  1783. 1 w8 k" i6 @" a; |, W. I. H5 q
  1784. ; enable automatic encoding translation according to
    1 i. x# g3 x3 U7 a6 R( T
  1785. ; mbstring.internal_encoding setting. Input chars are
    ! l9 f& w# @" [1 z; H  w
  1786. ; converted to internal encoding by setting this to On.: T# [% b2 Y* r1 ^7 t/ `5 X
  1787. ; Note: Do _not_ use automatic encoding translation for/ h0 P' j* w1 [8 v! }' G
  1788. ;       portable libs/applications.2 _& m8 i/ t4 [7 I# f  P8 F4 F8 _+ e
  1789. ; http://php.net/mbstring.encoding-translation5 m" }+ w7 o( B9 w- N
  1790. ;mbstring.encoding_translation = Off
    * z/ ~+ v$ d9 g& D" p
  1791. # L" F4 Z- E- a! `
  1792. ; automatic encoding detection order.
    - {2 Z- d# K. [4 T$ u4 k# L8 ^) j
  1793. ; "auto" detect order is changed according to mbstring.language
    2 {7 z! J. B) h7 X5 Z
  1794. ; http://php.net/mbstring.detect-order" x8 l1 e# m: s) z# O+ G
  1795. ;mbstring.detect_order = auto/ c$ W; Y: t2 {; [8 W( K7 `

  1796. 5 U+ p! K; _  J
  1797. ; substitute_character used when character cannot be converted  T8 k% M6 @: n6 F( Z
  1798. ; one from another1 S4 X. p+ |+ L# W+ _, }
  1799. ; http://php.net/mbstring.substitute-character
    4 \, m) O9 U# |  S, l+ T+ w
  1800. ;mbstring.substitute_character = none8 t6 D# W8 q4 S

  1801. ' ?- r9 [; ^- p9 O( p
  1802. ; overload(replace) single byte functions by mbstring functions.8 z2 a) z6 o7 s( X! E# ?
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ' U$ B# h" `7 p  p# w% y
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    5 C5 c, v0 t( i
  1805. ; For example, 7 for overload everything.
    $ c% t  T8 _& b
  1806. ; 0: No overload
    . i0 i  r1 x  Y' c/ O; m
  1807. ; 1: Overload mail() function
    ! ]+ d- q6 O6 P/ y9 j  U& l
  1808. ; 2: Overload str*() functions: j$ [" v+ {  d  W& F
  1809. ; 4: Overload ereg*() functions
    - [6 k+ [' r  n+ x1 J8 y1 g% p" O
  1810. ; http://php.net/mbstring.func-overload
    ; Q# R8 S' s8 k+ p/ N
  1811. ;mbstring.func_overload = 0# N4 R7 ~" ~% X0 \
  1812.   P& M4 J+ m5 t+ S( |. w
  1813. ; enable strict encoding detection.
    . d) T6 Z& O+ x7 x9 k2 p  Y+ |/ A
  1814. ; Default: Off
    " F; w& k$ U8 V  y, i  Z
  1815. ;mbstring.strict_detection = On
    5 K4 d4 q( q4 `8 _
  1816. 2 ~$ }. }2 m' k
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    + S0 X$ m! v. y( x' `' v5 e" d. \
  1818. ; is activated.
    5 ]; `) Y, T( u8 J
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ' i8 Z7 F$ }, q; }  }# f9 m' j
  1820. ;mbstring.http_output_conv_mimetype=8 p2 D  |) M6 ]/ o; K

  1821. # H  ]$ q+ W  B/ ^4 [6 j5 q
  1822. [gd], k0 j! {" x2 l  y
  1823. ; Tell the jpeg decode to ignore warnings and try to create9 H' ?5 d6 m' Y. M$ A: `9 E' a
  1824. ; a gd image. The warning will then be displayed as notices( t$ A! k/ _! {# M  @
  1825. ; disabled by default
    $ K' H# y% ]$ t) f: W8 s: ]) M
  1826. ; http://php.net/gd.jpeg-ignore-warning
      f) {2 B6 R( Q' c# e
  1827. ;gd.jpeg_ignore_warning = 0
    - B5 k, m3 r/ [4 y( Q
  1828. , X/ }* V2 H; x+ C* }
  1829. [exif]
      t# \* R' r: f% U
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ) |7 R1 O) M/ d. |5 u
  1831. ; With mbstring support this will automatically be converted into the encoding
    ) c( o3 \$ E/ R6 m
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    : G" L' ^3 |* p  ~. P
  1833. ; is used. For the decode settings you can distinguish between motorola and
    ! J* z- Z# |# S- t4 E4 i
  1834. ; intel byte order. A decode setting cannot be empty.+ D1 X; r4 v7 E; \! u1 M
  1835. ; http://php.net/exif.encode-unicode
    ! v/ M8 n" [  ?8 o2 ~. O# R$ g
  1836. ;exif.encode_unicode = ISO-8859-15
    / x# {) s2 v- ?* {

  1837. 7 K2 ^4 Q0 \: R' a1 P
  1838. ; http://php.net/exif.decode-unicode-motorola
    6 F5 ^5 s) O0 g. r5 l# {) \! b
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    # \' o* x5 Y3 Y

  1840. ' L2 q- F  U2 A$ w' ]& P8 [
  1841. ; http://php.net/exif.decode-unicode-intel- d1 r+ p: k( U
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    5 `8 t2 ~: i; m8 G; g. {, `" G
  1843. : t! |# h7 q6 l: z% d) P7 f8 y6 A2 e3 _
  1844. ; http://php.net/exif.encode-jis& m$ ^* U; e3 U, F$ p, N5 C
  1845. ;exif.encode_jis =% ^; K, E/ i# h" b3 ?! M$ n+ ?- e  v
  1846. 0 ?: Y4 X9 ], C
  1847. ; http://php.net/exif.decode-jis-motorola! q; ^5 g# J; s! T: \; q
  1848. ;exif.decode_jis_motorola = JIS
    ' J7 ^# H" k. q  S: W$ A& _
  1849. : B. G. P2 N2 J7 ^, ^1 {
  1850. ; http://php.net/exif.decode-jis-intel
    ) J+ ]* U4 f1 F4 l
  1851. ;exif.decode_jis_intel    = JIS: V/ ]" r4 V$ g; Z
  1852. 1 L( ]$ {9 A) T, E
  1853. [Tidy]
    4 e% P7 s0 ]9 c' l1 k( ?7 W
  1854. ; The path to a default tidy configuration file to use when using tidy
    7 M) `+ R4 n) L) `
  1855. ; http://php.net/tidy.default-config
    5 p# |. @- u$ a- e
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ! X* O& \; S; C

  1857. 3 X1 k/ m6 P% r  N% @! B
  1858. ; Should tidy clean and repair output automatically?( H8 b" f; ^! I' P$ C
  1859. ; WARNING: Do not use this option if you are generating non-html content  S/ b1 v6 ]  R8 ?0 Z
  1860. ; such as dynamic images
      q( y1 X. n' |! L, s* z1 a8 q& H
  1861. ; http://php.net/tidy.clean-output
    * H# ?$ W/ y; W0 e
  1862. tidy.clean_output = Off$ @& ^3 b0 Q' f; ]$ h1 O
  1863. : f( v- V4 o3 [: b" R" Y, R
  1864. [soap]
    + l# C. k/ o5 J% B' a" K7 @9 {
  1865. ; Enables or disables WSDL caching feature.
    / F8 w3 _! N9 A
  1866. ; http://php.net/soap.wsdl-cache-enabled1 y" I/ Q2 F, |% h" K" y( S
  1867. soap.wsdl_cache_enabled=11 X) g6 S! }1 s( M2 l( h+ p% y* K8 `

  1868. 7 P2 F  Y- M# ~( Q: K$ e$ A$ C
  1869. ; Sets the directory name where SOAP extension will put cache files.3 P: h# E9 b1 d, Q( i
  1870. ; http://php.net/soap.wsdl-cache-dir
    ) J$ j) g# m7 }
  1871. soap.wsdl_cache_dir="/tmp"
    7 b& }/ A( p% q) m/ V( @: {

  1872. : Q4 c- P5 P; [0 B1 m8 p
  1873. ; (time to live) Sets the number of second while cached file will be used- N( w- o9 q1 `; i9 H4 Q
  1874. ; instead of original one.
    . y6 ^; _: w, z% }8 Y9 D
  1875. ; http://php.net/soap.wsdl-cache-ttl
    ) E8 t$ m4 r4 k& V( B3 O
  1876. soap.wsdl_cache_ttl=864002 j( g( g5 W! K$ _2 u

  1877. & p( o/ I% l4 q1 V- C
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    3 T" A5 M" ?2 Q$ Z8 S: |9 d$ x
  1879. soap.wsdl_cache_limit = 53 s, d6 K" u7 K5 `# @

  1880. ' j. l7 F5 m# b4 u( W
  1881. [sysvshm]5 j7 C7 D' z! E) x% e
  1882. ; A default size of the shared memory segment) Y  O6 ?6 B6 R' R% e
  1883. ;sysvshm.init_mem = 10000* }* [6 K2 P) h& U0 {/ A
  1884.   X) Y: R+ u2 n* ~
  1885. [ldap]
    ( D7 J6 [# Y  v* G/ V
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    5 h' k& ~5 E# Z5 ~7 q
  1887. ldap.max_links = -1+ i1 K9 t5 B* x2 _

  1888. # a0 p, Q/ v+ Z# [
  1889. [mcrypt]
    6 z- ]) A1 t- m5 _
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open8 F1 n9 q3 z; f0 z* c

  1891. 0 b4 j  f6 u4 e9 \
  1892. ; Directory where to load mcrypt algorithms, o; k* N. l% l/ {
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)8 I; j8 m7 E. \2 Q+ ?5 a# H
  1894. ;mcrypt.algorithms_dir=, T5 A6 I* d& O' [* \+ x& i

  1895. 2 B% Q' [; H0 g$ o5 W( h4 Y& ~
  1896. ; Directory where to load mcrypt modes
    5 E% M% a" l2 m" ^
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)$ z. D4 G+ j1 ?/ T  c
  1898. ;mcrypt.modes_dir=' a. F2 u" z) B. }! Z
  1899. 1 _& _4 G5 s+ D- p1 P; v' |
  1900. [dba]8 J' M4 h4 A# S, ]5 s# `+ N1 V4 C4 k
  1901. ;dba.default_handler=
    ) y2 Y0 z% y: \8 ^
  1902. + t( R/ U4 d7 k1 T: E
  1903. [opcache]! s9 e8 C# @1 E; U% p  W6 p
  1904. ; Determines if Zend OPCache is enabled8 B: P* Q$ _4 ?/ t% O8 Q! a
  1905. ;opcache.enable=0
    - X" W- S3 x' m4 m8 U
  1906. & K. o8 W' @- e
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    1 D+ f# Z( ]9 W* L- L6 n1 M( K
  1908. ;opcache.enable_cli=03 D1 T; U1 |& q1 G+ Y& i
  1909. * u0 v- T" i# R" C2 n! u# n4 i
  1910. ; The OPcache shared memory storage size.: {: ?& J6 M7 p+ x; Q5 W0 \# a+ h5 {' M
  1911. ;opcache.memory_consumption=64
    1 o3 U3 ]: Y9 V
  1912. 0 P6 d4 l3 \9 Y, B5 u
  1913. ; The amount of memory for interned strings in Mbytes.3 S: f/ f$ c* K/ p( s
  1914. ;opcache.interned_strings_buffer=4
    . G9 `! j+ D. Y

  1915. 5 \" e# H7 ~" {& E4 H* K5 T
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    / ~+ g! Y, s# x; h$ W+ e  U5 u- L
  1917. ; Only numbers between 200 and 100000 are allowed.) S+ K6 z5 l- a) u/ }  g
  1918. ;opcache.max_accelerated_files=20001 X0 ?/ h5 R; n% W+ Q1 _0 X- H
  1919. : K! l- q" V% T
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    + s3 |" x7 ]( }; r, K
  1921. ;opcache.max_wasted_percentage=5
    : l  w  w. l4 J) g

  1922. 2 J" N, l, m3 s
  1923. ; When this directive is enabled, the OPcache appends the current working
    + A& I% ]$ J/ a
  1924. ; directory to the script key, thus eliminating possible collisions between
      d- \, L; L% ?* Q2 x2 J
  1925. ; files with the same name (basename). Disabling the directive improves
    " b* `$ @1 O$ q# j
  1926. ; performance, but may break existing applications.* H  x. X9 h: O2 B( A/ r; r* p
  1927. ;opcache.use_cwd=1/ q( F" Y. \  R6 h

  1928.   B7 e) H- ^! e5 X( M
  1929. ; When disabled, you must reset the OPcache manually or restart the7 Y  e0 ~, Z( \6 `3 s+ N4 Q$ ^! L
  1930. ; webserver for changes to the filesystem to take effect.
    $ O) h8 w* D9 A. C
  1931. ;opcache.validate_timestamps=1
    ; n- |! g$ K8 f9 [9 K

  1932. $ X5 ~2 `1 z+ Q
  1933. ; How often (in seconds) to check file timestamps for changes to the shared4 }; ?/ z* ]$ F6 O
  1934. ; memory storage allocation. ("1" means validate once per second, but only/ n$ y, F6 S+ _7 K* R" U
  1935. ; once per request. "0" means always validate)# S* u: h% v2 @( Z
  1936. ;opcache.revalidate_freq=2
    2 w+ V" U/ @. m# {  q9 x" c* ^% {4 F

  1937. % W5 Z7 I3 v9 ~2 B' R+ b
  1938. ; Enables or disables file search in include_path optimization
    , s$ I3 _8 b5 f1 B
  1939. ;opcache.revalidate_path=0
    5 P  ~5 I. E& E1 A. f
  1940. . l6 u: k: }( L/ z5 @9 ~6 X& t. ^
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the( O+ F6 p4 b/ d6 ^
  1942. ; size of the optimized code.+ }* b* O8 n& b5 A+ `1 u
  1943. ;opcache.save_comments=1& L# D3 P) `; \- L; r

  1944. $ `! r0 X) P4 L3 ^% q+ I2 p, i
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"$ d1 t- y% p% B4 R/ s/ s& I
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    3 g* S) {1 \8 f2 P" i3 L' Y
  1947. ; that don't need them anyway.
    0 Q4 F% H: H, {4 i8 m, i1 R5 \
  1948. ;opcache.load_comments=1& J7 \  I+ |6 I. Y% x% G

  1949. - |- S8 n% Z; O7 G6 e3 ]8 @2 f
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code  C* \* Z( J8 i0 q
  1951. ;opcache.fast_shutdown=0# `3 o: e9 h6 s2 c( ]6 W, \/ p& w

  1952. & C3 i! p. T: H' z2 G4 x5 C0 f# @, G
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    # K# ^8 i+ m! `5 E4 s  n& t
  1954. ;opcache.enable_file_override=0
    5 y2 z- o8 |0 s2 J

  1955. ! J$ l* B, w4 C8 K" G- ~9 T3 W
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache/ L7 b" J* x; U+ g' t9 t
  1957. ; passes
    ( P! }7 s; `0 X
  1958. ;opcache.optimization_level=0xffffffff& F+ `) y: i* }8 s5 \
  1959. 1 Q/ J, e6 q8 `8 ?" y5 i' r, U
  1960. ;opcache.inherited_hack=14 p4 u* v0 P& T0 W
  1961. ;opcache.dups_fix=0( f4 i; E. W8 L" M

  1962. ( n' s' q8 A) H. a' v* N& s% |
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    5 Z3 z) N+ B2 i* r  Y& v8 w
  1964. ; Each OPcache blacklist file is a text file that holds the names of files% L3 P6 t& T+ [: N8 k
  1965. ; that should not be accelerated. The file format is to add each filename# H. r+ r5 _2 w* K" ?
  1966. ; to a new line. The filename may be a full path or just a file prefix
    $ C! \$ f  T- b& V% e8 O. O
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www9 U( I- Z1 K2 w2 R
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments)./ Y- Q( J6 s% x% H- Y3 f1 c
  1969. ;opcache.blacklist_filename=
    / ?4 E; m$ f: T/ l: L

  1970. 4 B9 z" I0 C; a5 w
  1971. ; Allows exclusion of large files from being cached. By default all files
    + N+ w% p: G. t7 K* h5 c5 P
  1972. ; are cached.8 V( z4 Z( S8 t. I6 T+ ^0 M# G7 e
  1973. ;opcache.max_file_size=04 P$ o" k; C+ r) O7 t* c( V7 R

  1974. . i. P1 _9 C. Q2 s" a
  1975. ; Check the cache checksum each N requests.
    ) ~7 G/ a$ M, J  v& ?0 Z- K" S
  1976. ; The default value of "0" means that the checks are disabled.
    8 U2 }$ v2 C" D% D# Y
  1977. ;opcache.consistency_checks=0) j) ?4 J: D2 O: l' j

  1978. * e' u4 ]$ f% w  A
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache% c: r0 O3 R/ s( R6 f9 q
  1980. ; is not being accessed./ O0 r; C( ^0 C9 j, M' i1 n
  1981. ;opcache.force_restart_timeout=180
    ! E9 }2 C. D# m( _4 n
  1982. 2 t: u  N( g& H/ \% I+ ~1 N
  1983. ; OPcache error_log file name. Empty string assumes "stderr".' j  D' _8 M% ~2 ~6 `6 h
  1984. ;opcache.error_log=
    - l- S5 y5 x, T/ K$ b

  1985. , |& Z  _' H6 A2 G3 ?+ F
  1986. ; All OPcache errors go to the Web server log.. d* e) |  A. q: s4 {3 F0 c: |
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged./ B8 K/ L5 p! _1 Y- y+ _4 f
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    % w' \: K+ Y$ }) R7 b
  1989. ; debug messages (level 4).' `7 q6 ^( k% Z! T/ L
  1990. ;opcache.log_verbosity_level=1$ t% l! k2 w/ j. E$ p

  1991. * x: E  Q3 [0 w
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    1 }' `7 N# O# u8 C6 i
  1993. ;opcache.preferred_memory_model=
    2 t( z) c" D- a9 Y  ?

  1994. " `8 l1 }) _$ U/ L7 ?! s" W+ h
  1995. ; Protect the shared memory from unexpected writing during script execution.7 j+ M" S$ ~' s3 q$ p
  1996. ; Useful for internal debugging only.3 Z0 Y5 h' j; Y  \2 V+ s
  1997. ;opcache.protect_memory=02 C1 k; w( L) t7 ^5 t8 f

  1998. 5 U. y% Y* u% c7 |
  1999. ; Validate cached file permissions.
    0 J* i+ ?, |# N$ {
  2000. ; opcache.validate_permission=0
    & g% K/ [* W# y# q3 [
  2001. ; u8 t; `% A) L0 N8 X) H7 C* a! Q3 F; r
  2002. ; Prevent name collisions in chroot'ed environment.* g# U9 ~5 _2 R: U' c* n( G
  2003. ; opcache.validate_root=0/ Y- v2 P8 K+ }: e! F
  2004. . ~: n2 W) b6 A( C/ Z  y) l
  2005. [curl]
    % s- d( L5 {) z# B% l, U
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an! `4 {6 m' l( T/ p
  2007. ; absolute path.
    - s4 {0 o4 q6 A. W; G+ O7 X  d
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    9 m! S+ l6 M# X; M# N

  2009.   {8 X' g' u5 d8 N/ e2 p
  2010. [openssl]
    ( w( h/ f# G# N. T: L; p+ H* w3 m6 c6 F
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem: w6 S- r- b8 T* V- ^4 ^5 m
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    - `( p  U/ C$ y9 X
  2013. ; not specify a value for this directive as PHP will attempt to use the
    4 _# i2 k4 ]% k: _
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    4 m! }9 B' U& v$ \
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    8 d- G. G1 y- a& l# P1 a2 d
  2016. ; option.
    6 s) g! G6 M- S' y1 P& W9 I
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt, H, r$ K. F  _+ I2 g

  2018. % `2 [% _8 O8 p/ A
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the/ y  x+ c0 Z0 y  y/ l9 N
  2020. ; directory pointed to by openssl.capath is searched for a suitable& {# @+ F9 |# d& _5 D, d- k
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    3 [& u9 N7 Q  [
  2022. ; Most users should not specify a value for this directive as PHP will1 R' `# t( E7 y% \
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,( x" J% p/ e  ^% B3 H
  2024. ; this value may still be overridden on a per-stream basis via the "capath"! {0 E& \& i4 l" ?5 Z# J) N
  2025. ; SSL stream context option.
    " w, c4 w: a+ Z! C
  2026. ;openssl.capath=
    ) x& v! ?$ p6 u1 z/ o; T

  2027. # w: q' R+ p8 a1 z! o# n: p
  2028. ; Local Variables:
    ) E. g, ~2 j" ~; p" s9 T$ y) Q; @$ I
  2029. ; tab-width: 42 Q9 u$ w: C7 {  ]9 @. v5 b
  2030. ; End:  W6 _" P$ b  Y1 n2 D

  2031. ( J7 Q* l& T$ b  m% E+ ~; M
  2032. ;eaccelerator
    ) O- T* C: z" q: y8 G  `
  2033. 0 u: ?8 |/ V9 ~& b2 w4 v
  2034. ;ionCube
    ' W7 f5 [2 G( O" Y1 J
  2035. 3 `) v% r& G- o' _2 n8 S  w
  2036. ;opcache
    9 Z& G- b0 U) u1 D$ l; A% N
  2037. : y& s" S& s8 [9 }& b# [( a4 L
  2038. [Zend ZendGuard Loader]
    ( X% E* ]: X" ?$ h' K8 e# Y
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    7 e; z; U  H5 V- G  v! v9 @7 }( p2 I
  2040. zend_loader.enable=1& z6 u" t8 U- X# a3 x2 ~
  2041. zend_loader.disable_licensing=0
    4 u! g) J: e' n/ P9 \; t
  2042. zend_loader.obfuscation_level_support=3, n) B! L$ i5 [- |+ h/ |, v& V6 u2 B
  2043. zend_loader.license_path=1 ?: ~! ^5 s: g) K
  2044. 4 F) k3 S8 e, s  ^/ b
  2045. ;xcache
    0 ~/ _( ~2 T2 j6 W7 E

  2046. + k5 d8 C' C) G
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146927 V# s2 V3 y5 Q5 ~1 B2 F# A# F, {8 ?1 R

2 `8 W9 F0 G/ v) `
) q3 L3 O) o! d! z1 n) DDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
  h! L3 n4 {8 ]9 {; K7 x& w* h5 n& G, i+ F" D( u5 ~; o5 e
Discuz!程序版本选择:7 q; h: D: g+ U1 P
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,3 E1 e/ d3 A* g9 K  B
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
+ L: h9 A# o5 `4 k3 G4 `, @% FDiscuz!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。1 o) T& p* g" u

0 I  V% m3 \+ N( W* V' h# I: W7 o3 sDiscuz!插件模板版本选择:' ]6 A$ n' J7 }$ B( y
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,6 M) R: U6 A6 P+ W- S1 g
针对这个问题做个统一的普及:
' b$ f$ S: v# P7 B4 MX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。- w6 D0 V2 S) L
9 C$ H8 _8 Q# Z/ V3 ^. z7 k) b
所以
  n; S9 P- G3 j+ G4 O& r7 Q适合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的二级域名。
2 e! |) L9 J* N" t: D  ]6 k  E打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
$ k  v' X" W9 N, n0 T! n3 V注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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