分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0/ C4 s8 Z3 s9 G& M

- U7 k; W* \) F3 v
  1. [PHP]
    " r: A, ]9 h" N

  2. # g3 s  X. u/ c
  3. ;;;;;;;;;;;;;;;;;;;
    % z' h0 L. l$ A* I8 L2 r, b
  4. ; About php.ini   ;7 h+ k* a4 }2 r  t2 C8 Q& {
  5. ;;;;;;;;;;;;;;;;;;;& j: h3 m6 c6 B$ A
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ) x, n5 Y  f1 `. F  f; e
  7. ; configuring many of the aspects of PHP's behavior.: ]; l7 Z/ Z) V5 }+ d

  8. & c% G% ]3 i8 H) ^! V9 `9 v
  9. ; PHP attempts to find and load this configuration from a number of locations.6 \( N( G2 ?0 K0 A8 A
  10. ; The following is a summary of its search order:
    # E0 c" x- v4 c: k$ i6 a
  11. ; 1. SAPI module specific location.
    ' B3 Z' i0 o8 Y2 _
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)9 C; v# J* x9 A9 \, q$ z1 b
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)& M/ d) J8 s; m/ ~' x+ F+ q
  14. ; 4. Current working directory (except CLI)" J  {$ h) q6 {* n/ |6 j
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP7 G6 u) E  U+ H  B! Q
  16. ; (otherwise in Windows)
    1 L& s* }* _8 h5 ^+ g# n' y
  17. ; 6. The directory from the --with-config-file-path compile time option, or the4 f8 o: S( i3 H0 ^% u0 Q* E7 H6 ]
  18. ; Windows directory (C:\windows or C:\winnt)
    & r: G0 t9 b8 t/ a
  19. ; See the PHP docs for more specific information.
    ' h9 ~9 U1 e4 R1 {  b) n9 W5 j' W
  20. ; http://php.net/configuration.file0 t/ Z" O* l1 q# ^5 P3 O4 \: @

  21. 7 k% I7 ^2 ^' _7 q$ ^- C
  22. ; The syntax of the file is extremely simple.  Whitespace and lines7 h0 o1 o- O# Y  H3 h/ O
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).# b# A( W) D! b/ F" r8 H
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ( x# H, H' l9 P' k, k- a' O
  25. ; they might mean something in the future.) e1 {$ g7 U/ q: v7 D% @

  26. ) ?" ]$ h, A4 A3 H$ a
  27. ; Directives following the section heading [PATH=/www/mysite] only
    + N; d" i* U9 E# i
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    % R5 u( [) l( X+ A  R* F* e
  29. ; following the section heading [HOST=www.example.com] only apply to- v0 X% ?" z- l2 w2 k
  30. ; PHP files served from www.example.com.  Directives set in these
    $ A6 u) ~3 E& q. n" |* x, v
  31. ; special sections cannot be overridden by user-defined INI files or4 {1 W$ G- i$ i1 O& d8 @2 y7 w
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under! }: n+ |7 ?& z! L
  33. ; CGI/FastCGI." g+ X, V; P: q" D. a
  34. ; http://php.net/ini.sections
    ) e' ?  O2 w3 r9 X

  35. 4 y- `4 @$ H; r7 s
  36. ; Directives are specified using the following syntax:' [% Z" ]8 M1 Z" r7 k6 s
  37. ; directive = value
    7 p, Z- v5 b1 V( l. L2 O  P2 R4 |+ Z
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    # q8 x- X: g0 e# s9 E2 @8 I  z
  39. ; Directives are variables used to configure PHP or PHP extensions.! t/ x2 K% A! E: Z- N
  40. ; There is no name validation.  If PHP can't find an expected7 [0 i6 u5 y. C9 d3 Q9 ~. T
  41. ; directive because it is not set or is mistyped, a default value will be used.
    & Y2 l& ]* G/ M% L6 t8 s  Q" X

  42. ' S1 U0 z/ f9 S! l
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one. w) W. X* K/ F9 t: s+ X. Z3 S& T' @
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression4 r" \' q  L! g( r4 \
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a$ H+ D( ?2 \) J- P# \* g" N
  46. ; previously set variable or directive (e.g. ${foo})
    ! o: M; I4 }& Z+ Z  c1 E
  47. , A' o* l1 Z4 E. s+ c
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:# T  I8 m- E) U3 }' G4 y' X. I
  49. ; |  bitwise OR
    ; V8 s7 }2 |" W1 _% O* Q
  50. ; ^  bitwise XOR" ]2 @; S  I5 c' @6 s2 @+ o
  51. ; &  bitwise AND
    * F# C0 y# ~& |; O
  52. ; ~  bitwise NOT9 i0 k6 B! c+ c  Q0 u
  53. ; !  boolean NOT3 c/ j0 {3 Z" w8 o+ X$ w( j
  54. 4 O8 \$ L4 s* C. C2 |
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.0 X' o/ o; _5 [! A
  56. ; They can be turned off using the values 0, Off, False or No.5 {' F$ h' d" I3 h- B

  57. 3 }* B0 q) Q: `' N4 A9 R
  58. ; An empty string can be denoted by simply not writing anything after the equal
    5 G- B, V  Z% Z1 Q' Y5 l4 m
  59. ; sign, or by using the None keyword:. D4 d2 l4 I" Q2 j% M$ m; u, g

  60. " ~8 Q+ o3 P* ~" C; Y4 M
  61. ;  foo =         ; sets foo to an empty string
    4 s5 a4 F; t% f6 m
  62. ;  foo = None    ; sets foo to an empty string4 L4 ]' Y! s; c* A  c  a
  63. ;  foo = "None"  ; sets foo to the string 'None'1 w; P0 F3 o# P: O

  64. 3 E& F. `2 r3 R" V* j9 F1 M/ [
  65. ; If you use constants in your value, and these constants belong to a" f. f) j- m$ W, p/ f/ r
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),7 `; h! @1 ]( b! e6 A% K
  67. ; you may only use these constants *after* the line that loads the extension.' |/ J7 O3 Q* _9 f
  68. % ~2 ~$ `% f4 w# g- x
  69. ;;;;;;;;;;;;;;;;;;;
    ' o7 s/ L5 X' w  \
  70. ; About this file ;
    9 M! R" x! P; f" G; v2 H
  71. ;;;;;;;;;;;;;;;;;;;( c* t, w0 @- u: T' M; t, q# }7 b
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
      f3 `, C7 @* `
  73. ; in production environments and one that is recommended to be used in
    ! B- l* }% m4 c
  74. ; development environments.
    & }& u/ V6 W$ M, T$ V
  75. & A/ ?/ m: B7 P+ \9 S
  76. ; php.ini-production contains settings which hold security, performance and& P$ B2 }7 Q4 k5 c
  77. ; best practices at its core. But please be aware, these settings may break
    ( W' t) o- \- O7 D7 p. a
  78. ; compatibility with older or less security conscience applications. We
    " A5 h/ N' S) _- y/ J: `* B
  79. ; recommending using the production ini in production and testing environments.
    ) k3 j4 l# ~3 K& S* D
  80. / d2 e4 z+ T0 U3 ]# B$ B' {; L
  81. ; php.ini-development is very similar to its production variant, except it is  I; C; s# I1 r+ g, x: l
  82. ; much more verbose when it comes to errors. We recommend using the
    # H* |/ }' ^$ _! q
  83. ; development version only in development environments, as errors shown to/ i, H3 n% g) b2 k1 A4 Q
  84. ; application users can inadvertently leak otherwise secure information.3 r# \5 h+ f' h8 I  M7 ?! ?- h

  85. & n9 q6 ?* ^( R/ `; y
  86. ; This is php.ini-production INI file.+ S/ d3 Y3 T  g( c  ?0 s& E! h6 d

  87. 2 e) w( a3 o" ?
  88. ;;;;;;;;;;;;;;;;;;;
    ' S" o; F5 [# N9 W
  89. ; Quick Reference ;/ }6 s, z6 |9 ], V8 ^! ~3 R) y
  90. ;;;;;;;;;;;;;;;;;;;9 @. F. }& Q$ Y+ H! A* O1 T
  91. ; The following are all the settings which are different in either the production
      q$ ?. O; V4 q1 |! j1 y2 t0 S' k5 v
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    + P, {( m8 ^7 ~% x& g0 F
  93. ; Please see the actual settings later in the document for more details as to why! _7 C/ h* q8 D3 Z
  94. ; we recommend these changes in PHP's behavior.0 s5 n2 l0 H8 |# ^+ |
  95. * x# d4 ~) Y5 ~* u1 h  B# t) h7 A
  96. ; display_errors
    $ J+ o. T1 ]4 t  v! T6 B- D
  97. ;   Default Value: On
    2 o& u0 x0 o0 c8 g, h, e
  98. ;   Development Value: On
    3 H* O# B& c" v* C$ ?
  99. ;   Production Value: Off) k; G4 a: p* R% U; U" @
  100. % h- b- Q5 y8 Z# C$ ]1 c
  101. ; display_startup_errors7 h' H1 B4 p3 `! R9 x( S
  102. ;   Default Value: Off
    ' I: s, J7 z) Y7 U
  103. ;   Development Value: On! s% D! R: }8 N, b$ h: a: f
  104. ;   Production Value: Off
    4 a( j/ L; H2 W
  105. ; f8 o5 u  a6 d, l
  106. ; error_reporting
    * N5 f8 P( P+ |- j. M, B
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    % h* U' C* h+ E& J7 V
  108. ;   Development Value: E_ALL7 Z! r: l1 Y7 p& j/ `5 R
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT% d8 K5 [, b  q8 A* x6 c! o
  110. ! e, f3 q4 n( \9 z
  111. ; html_errors
    " S8 U; y& ~# v8 W. Q
  112. ;   Default Value: On
    + a2 H+ S8 E3 q" E  `
  113. ;   Development Value: On4 A% o# W# l6 c
  114. ;   Production value: On
    - B% ^! [, H+ P1 B

  115. % b  {) H! u! U5 b  \+ x2 F' i
  116. ; log_errors
    # t4 s5 \& V* m! M; O. V
  117. ;   Default Value: Off- S4 @$ z, h1 Y& Q& W+ w! f
  118. ;   Development Value: On
    ' A3 ~" E" z1 C
  119. ;   Production Value: On
    # K5 O4 G2 D( K# ^

  120. + ?( W4 C4 P- K1 _" G
  121. ; max_input_time& S$ ~9 `) ^1 y" G, J4 w# c2 Z
  122. ;   Default Value: -1 (Unlimited)
    ) `7 D6 h  w6 f+ G0 d/ E7 w
  123. ;   Development Value: 60 (60 seconds)
    0 V! D3 d- |  D0 d2 t5 s
  124. ;   Production Value: 60 (60 seconds)
    - f$ w1 j! y! q8 R; _7 I& r
  125. / C7 A5 d( U& _" C' o
  126. ; output_buffering* Z) V. Q: k, A) D; q2 J- ~* a
  127. ;   Default Value: Off7 A- J) y$ z; e3 _" Y6 ~
  128. ;   Development Value: 4096! l4 E! h# ~' g8 z
  129. ;   Production Value: 4096
    2 b# S& K( O" y4 b$ \; F

  130. - o4 _  T- p3 s" v# Z  g( O
  131. ; register_argc_argv
    $ ^5 b% R: \: m8 H; I+ g) w& ], e
  132. ;   Default Value: On5 T5 t% e* m. ~7 _, J( m- Z0 e# Z
  133. ;   Development Value: Off
    6 J0 [4 o# F" n1 }2 q$ J5 y/ O
  134. ;   Production Value: Off; p( e- I, n1 x+ {; s# g! `" ^
  135. ( e: `; B# j& p- s$ F6 w, ~/ l
  136. ; request_order
    4 ?; s1 y4 h, \) U  j0 }
  137. ;   Default Value: None+ O& e. S- M: E: F) F
  138. ;   Development Value: "GP"
    9 j0 p; U) e" |  y. k% ]
  139. ;   Production Value: "GP"% x( v, S' w2 r/ H# i( C

  140. . F% \0 }) T# K5 k: M- @
  141. ; session.gc_divisor- n9 A7 i* C% V8 I$ [
  142. ;   Default Value: 1004 E% }6 K. k& K% d. d! @/ G0 e
  143. ;   Development Value: 1000
    ! P8 G- v  `8 o6 J1 |" P7 z
  144. ;   Production Value: 1000
      V! C' X* f9 N, S* R

  145. 8 @. L6 t5 [0 |5 y
  146. ; session.hash_bits_per_character% ~( E$ w/ i! s2 J
  147. ;   Default Value: 41 ^" E! a8 F& n+ e3 `
  148. ;   Development Value: 52 R1 q7 ~8 M* e. g* a2 J. C
  149. ;   Production Value: 5
    3 }+ t) [5 N- X, U

  150. * C2 S" k7 T# S! z6 t2 q
  151. ; short_open_tag6 k1 y5 M& [6 ^: F& V
  152. ;   Default Value: On; u. f7 Y1 y* E2 m
  153. ;   Development Value: Off1 [! C9 i& |5 D; Z) s  [
  154. ;   Production Value: Off
    2 v5 a3 w/ E7 F

  155. 9 _( i6 K6 M; l& ]$ J
  156. ; track_errors
    / J( K0 f7 p. Q+ u! J2 x
  157. ;   Default Value: Off$ L) }4 o* v0 M8 P
  158. ;   Development Value: On
    3 l3 ?1 m) T5 d6 \; F6 ~
  159. ;   Production Value: Off
    ' u  x" n$ g0 X4 h0 P8 ^: [' X/ B
  160. 8 S' O7 i- U$ J
  161. ; url_rewriter.tags/ r% \- g2 T- E! ^& g9 V( U# {
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * K7 L+ \8 m6 J
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 y: ]& Y' W/ [9 M
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  L/ u/ ]2 z: u$ V/ ]

  165. 0 i5 B) i5 `/ x4 }& ?$ X- B
  166. ; variables_order3 v# ~! ~0 j" [" y# Q# W
  167. ;   Default Value: "EGPCS"
    * A* y' r* [- {& i1 C3 I7 `* [6 b
  168. ;   Development Value: "GPCS"$ q, O! S; z1 U' t$ u
  169. ;   Production Value: "GPCS"0 {& h0 [# a6 ], t1 c+ B  f7 Z
  170.   f2 ]/ V) R8 {7 E6 f7 |+ Z
  171. ;;;;;;;;;;;;;;;;;;;;  R0 I  P1 Q9 S, j* L0 G
  172. ; php.ini Options  ;
    ( z) Y" H! z% K0 t7 F
  173. ;;;;;;;;;;;;;;;;;;;;
    0 G! x) D, C, T, Z, L% x' f
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"+ ?, i5 h1 a" P2 I3 Q4 _6 Q' n4 f
  175. ;user_ini.filename = ".user.ini"
      Q& c$ v, ~2 p
  176. ; ]4 Y9 T: K  R3 n5 H. z/ {
  177. ; To disable this feature set this option to empty value8 V# G3 F2 b9 e3 K+ `2 d! Z
  178. ;user_ini.filename =
    ; a) L  k! G8 ~3 G  |
  179. 8 t5 r7 @! x' q% c
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)" S  F0 I% j; V1 E, ]8 J; O0 x
  181. ;user_ini.cache_ttl = 300
      C; Y2 H* j$ W* X

  182. 3 o' o! F+ ?7 w; t9 M9 }. L$ [2 D
  183. ;;;;;;;;;;;;;;;;;;;;
    # r+ p9 ?6 l- h' W
  184. ; Language Options ;
    + t8 R; {. e" ^5 i" P  W
  185. ;;;;;;;;;;;;;;;;;;;;) _. `& h7 m3 {. K1 b& v) F

  186. * M( ~" g+ S( S3 s: Z
  187. ; Enable the PHP scripting language engine under Apache.& ^9 v5 ^4 K# g5 [6 O
  188. ; http://php.net/engine
    ) ~6 J1 a9 g1 K1 t% S# g; N
  189. engine = On, ?: L: s2 w4 W$ d, m( l/ s! w

  190. 9 ]" s2 n+ \0 S+ g
  191. ; This directive determines whether or not PHP will recognize code between
    / k) H/ O5 k- t: ?1 V* {* {
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    & O  S6 Y" x  E, d
  193. ; generally recommended that <?php and ?> should be used and that this feature! T2 h* l7 S( W4 W* g) S. u
  194. ; should be disabled, as enabling it may result in issues when generating XML
    * f% _7 }6 o9 Z+ i( v5 s3 {
  195. ; documents, however this remains supported for backward compatibility reasons.4 _% z% M" z' j2 r3 f
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    0 p: D" b8 G6 W2 @+ ^
  197. ; used regardless of this directive.
    6 c/ o% F( Y0 Y' S" b
  198. ; Default Value: On
    ! {4 [! C& C' g0 z' v; ]
  199. ; Development Value: Off* `, i$ C* M, j& E9 K- ~" b/ m- P
  200. ; Production Value: Off
    2 B9 ~# k  w9 v
  201. ; http://php.net/short-open-tag) S' v4 c0 Q! C
  202. short_open_tag = On
    % w% J, T( C0 ^) q* G6 b

  203. " Z0 p2 I" G1 i7 T+ [! T- V
  204. ; The number of significant digits displayed in floating point numbers.: _9 u/ x. _2 K% R: s: Q4 M$ i
  205. ; http://php.net/precision
    ; d6 q$ X; o, w8 `4 m( v+ D) f& O
  206. precision = 14
    & W. C+ o; v- f- R) q. m: F

  207. . G: d* ?% e" }0 K: @! ~- B
  208. ; Output buffering is a mechanism for controlling how much output data3 O% p/ }' {/ t
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that. R5 U* d9 |: p0 C, O
  210. ; data to the client. If your application's output exceeds this setting, PHP' Z' S$ j, \) k8 i
  211. ; will send that data in chunks of roughly the size you specify.
    ( @0 Q" F4 ^5 y. e. A8 |3 j
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    9 Z4 L. `( a5 {
  213. ; interesting side-effects depending on your application and web server.
    2 Z4 @$ X( B' E: h+ e/ ?' L
  214. ; You may be able to send headers and cookies after you've already sent output, B7 g: @7 ]3 A6 K! s3 x! n7 }, G: q
  215. ; through print or echo. You also may see performance benefits if your server is3 r4 g# r' N) [% ?
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    $ D3 K' {. I, Q0 E) p
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance' `* o) N9 j' L
  218. ; reasons.
    $ y: d4 ?+ j+ g7 Z2 I
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    4 a; y4 ^- ~' j# ^: Y+ I7 N# W
  220. ;   functions.: p9 M. L" U& Q7 j6 B, X5 _
  221. ; Possible Values:
    - @/ [, i6 H  s5 A8 [
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)0 v0 I' B" d* L2 ]9 f
  223. ;   Off = Disabled  \$ u8 V% o! z: S0 L3 B7 h1 y- ]
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    , V# E! m4 U- p* F& j: Q% |2 w
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    % ?! f! k+ l. [* `8 y8 n" |
  226. ; Default Value: Off" o/ q. q5 V' _- n9 k/ \* V
  227. ; Development Value: 4096' E$ V' ~  E& Q0 C( D; M
  228. ; Production Value: 4096) }" A- ~9 q% p# d4 ?5 o; z) f
  229. ; http://php.net/output-buffering
    " A) T5 |1 O2 A. I3 S$ V) B
  230. output_buffering = 4096+ d7 ^. f. @1 w0 v6 [# N

  231. $ u' A) Y# W5 R, Q" b
  232. ; You can redirect all of the output of your scripts to a function.  For6 ~! d, s9 X6 s
  233. ; example, if you set output_handler to "mb_output_handler", character
    1 x6 d, z0 P3 m+ Y3 I( ?
  234. ; encoding will be transparently converted to the specified encoding.+ L3 F; ~% ]! y. c# |# ?: Z
  235. ; Setting any output handler automatically turns on output buffering.
    + L7 Z/ K. f7 b9 s6 E
  236. ; Note: People who wrote portable scripts should not depend on this ini; g$ T  X$ y  u3 Z
  237. ;   directive. Instead, explicitly set the output handler using ob_start().: k& F# r1 |* i
  238. ;   Using this ini directive may cause problems unless you know what script7 s0 E. e; k" h6 P
  239. ;   is doing.
    4 d0 z$ ]/ R8 ?( u) N5 N
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"$ |' r! E) D7 k0 G* _  l& ^
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    4 ~( L1 \) K! _: A
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    6 |7 q: A( V+ M# a
  243. ;   Instead you must use zlib.output_handler.
    2 K- U: h* V/ X6 c5 N, S
  244. ; http://php.net/output-handler  q- x; _& {% s. k6 t3 [8 @& c
  245. ;output_handler =3 k- m# u/ a3 T/ f- m

  246.   u# b1 Q8 K3 }# v5 K
  247. ; Transparent output compression using the zlib library
    : U2 y8 x% p; A; n# }$ {
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    - |( q/ s1 N/ [7 T; z
  249. ; to be used for compression (default is 4KB)
    ; f0 e: F  S& A* X$ L/ n: p- ~' t6 b9 t
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ! q, |, G& |" ^
  251. ;   outputs chunks that are few hundreds bytes each as a result of+ Y) G( z0 a5 k
  252. ;   compression. If you prefer a larger chunk size for better
    * G- {* ~, N% T/ n! X
  253. ;   performance, enable output_buffering in addition.  u; c7 X, ~* Q! O) d
  254. ; Note: You need to use zlib.output_handler instead of the standard
    7 }& E, n, ~5 G! J/ y- d3 a
  255. ;   output_handler, or otherwise the output will be corrupted.
    3 p) L$ e  K, {! }+ Y+ F5 P
  256. ; http://php.net/zlib.output-compression
    . u6 S' r* O# j, l1 K- J+ g" C
  257. zlib.output_compression = Off. Z" V0 o  P( f4 L" E
  258. " J! {8 i5 ?; B0 W
  259. ; http://php.net/zlib.output-compression-level9 T4 P3 F5 B- D9 K
  260. ;zlib.output_compression_level = -18 D. P6 c5 E% K! j9 }9 D/ v* B' c. g

  261. 9 n" O1 y, l5 D% [! p+ V- m1 T1 Z
  262. ; You cannot specify additional output handlers if zlib.output_compression. U  l! G' g* v  A  G  Z$ c
  263. ; is activated here. This setting does the same as output_handler but in
    5 ?8 v2 s* P0 x
  264. ; a different order.
    . ?/ \% n" z# Q  d% p
  265. ; http://php.net/zlib.output-handler
    1 Z  X  }! ]! g5 }1 Q' J' ]
  266. ;zlib.output_handler =
    , E$ `7 c0 w& d( D

  267. 2 D2 O' \4 a7 C, z0 C+ y* Z$ a
  268. ; Implicit flush tells PHP to tell the output layer to flush itself/ x8 j% r$ t" E. o
  269. ; automatically after every output block.  This is equivalent to calling the* S; @; ]1 _: r; I& q; k5 t! U
  270. ; PHP function flush() after each and every call to print() or echo() and each) L( Y5 ^% Z8 a" J* V' L
  271. ; and every HTML block.  Turning this option on has serious performance2 H. m  M; P( C( z) ]+ D
  272. ; implications and is generally recommended for debugging purposes only.+ f. T0 y4 W! C9 n
  273. ; http://php.net/implicit-flush6 G- I7 t( b( q1 E! R
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    2 r! `; y& m, k( D* f3 ]
  275. implicit_flush = Off
    ' f+ G5 B( k$ R2 `6 \' j+ {% z

  276. % X, G; U& H( W! Y4 w
  277. ; The unserialize callback function will be called (with the undefined class'! S2 r7 j6 u# D
  278. ; name as parameter), if the unserializer finds an undefined class
    9 W# J; n! B8 ~% J: r2 D2 l
  279. ; which should be instantiated. A warning appears if the specified function is" }. C, O$ }1 E. a0 W& w
  280. ; not defined, or if the function doesn't include/implement the missing class.
    4 C* v' O5 I! H6 H
  281. ; So only set this entry, if you really want to implement such a# `; H  d! g: y" _6 W- d
  282. ; callback-function.7 r( X- y/ H: S' r
  283. unserialize_callback_func =+ B* `6 D* w* Q7 k1 Y

  284. . J# B& r( Y" U+ j* V8 N/ I
  285. ; When floats & doubles are serialized store serialize_precision significant+ D* t( }; Y& ?) d
  286. ; digits after the floating point. The default value ensures that when floats
    " t1 \1 ?8 T0 |' w
  287. ; are decoded with unserialize, the data will remain the same.
    5 X6 Q% P/ m2 x" e7 Q/ W  [1 U
  288. serialize_precision = 17
    ) H+ t9 W( L( f3 w1 w$ I

  289. - U( W  P$ _' t/ J( I5 Q
  290. ; open_basedir, if set, limits all file operations to the defined directory
    - `% z4 ^4 q) d& Q5 l: c3 F
  291. ; and below.  This directive makes most sense if used in a per-directory
    7 f& f1 ?3 U  J3 T3 c& `
  292. ; or per-virtualhost web server configuration file.
    6 P7 L4 s, f+ o+ k4 D  V4 u4 `
  293. ; http://php.net/open-basedir7 H1 G( C1 W8 T' E+ q
  294. ;open_basedir =1 K& Z. _3 N( \7 `/ S: x% Z

  295. . _' P! t* T5 C$ h
  296. ; This directive allows you to disable certain functions for security reasons.$ L( }; _- V* K' p
  297. ; It receives a comma-delimited list of function names.( h# `4 C6 x6 g0 t1 f/ q6 [
  298. ; http://php.net/disable-functions, \* D. \5 A2 F% M' Y: T% a
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ; \9 T, y' L3 y+ o' }' }5 B
  300. 7 ~" w$ o# [9 u) }, `9 f  D
  301. ; This directive allows you to disable certain classes for security reasons.
    / F/ N% @' K, r) r0 b
  302. ; It receives a comma-delimited list of class names.
    , O4 k9 q: a) N$ |. Q7 T+ T: X
  303. ; http://php.net/disable-classes5 O- T) O8 W7 w7 B. Q
  304. disable_classes =, l, w! x8 c  O9 L* \0 Z# ?! V' C3 A
  305. ' {$ ^! ?5 C1 s: B* F" B
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in: ~8 k' g: M# J! d
  307. ; <span style="color: ???????"> would work.7 n6 o( Z6 i7 M" m4 \& H1 D9 p; q
  308. ; http://php.net/syntax-highlighting
    9 o- [5 A! n3 r# {8 k
  309. ;highlight.string  = #DD0000( m8 y" i" {+ k/ z, K8 j& h! m
  310. ;highlight.comment = #FF99007 A$ A+ q6 \; }9 E) n0 C2 r  P
  311. ;highlight.keyword = #0077002 H+ g# k. ]$ y; O
  312. ;highlight.default = #0000BB
    : P8 z) {- ~4 L6 [: G6 F( ]
  313. ;highlight.html    = #000000
    " N. u( G  C$ Q9 j

  314. ( \$ k3 m: D7 N7 N
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    # d( }8 V3 `$ i) G9 U6 B
  316. ; the request. Consider enabling it if executing long requests, which may end up
    & f/ y; Q2 s& Y4 \
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior1 e' ^4 g! B; E. \2 m. ^
  318. ; is to disable this feature.
    / ^& ~- a, f- q% E
  319. ; http://php.net/ignore-user-abort6 g5 k/ e- p8 \+ Z7 A8 ~6 q
  320. ;ignore_user_abort = On9 o; K. O1 B+ \7 o/ T

  321. 3 ^( c( G8 ?: `  |
  322. ; Determines the size of the realpath cache to be used by PHP. This value should' @; k% M  l- P' a, W
  323. ; be increased on systems where PHP opens many files to reflect the quantity of! C; |% {) X. P$ K4 L  j
  324. ; the file operations performed.
    1 ?: H# Y3 q7 ^8 I5 T& v, ]
  325. ; http://php.net/realpath-cache-size$ V9 |* t. I- M6 K
  326. ;realpath_cache_size = 4096k9 \" H2 e  R% P( k

  327. + L% b/ ?  {- n* O) }6 Q  m
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    6 z6 G+ _2 v5 i, \% \  R2 r
  329. ; file or directory. For systems with rarely changing files, consider increasing this. h- }2 o( {* F! }  l2 }
  330. ; value.
    9 I" Q& r( b# ^
  331. ; http://php.net/realpath-cache-ttl# c& k: C, a1 W/ x# \* a7 p( M
  332. ;realpath_cache_ttl = 1206 G' ^, w8 O5 t6 W

  333.   Z" a  q9 V. J- Q% W8 \
  334. ; Enables or disables the circular reference collector.
    3 T9 N# N0 h' h( \" O
  335. ; http://php.net/zend.enable-gc' c1 v1 I" m( m- I
  336. zend.enable_gc = On  c& ^- r* o4 k+ [. |# o

  337. % P, n' n) B3 K5 I  Y  Y1 a
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ! P" B% y5 B+ R0 E. I5 C+ o8 l
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such: k; {  P. ~( E' @5 e8 j
  340. ; encodings.  To use this feature, mbstring extension must be enabled.6 y4 C  u: |3 e) P4 l0 z) o
  341. ; Default: Off: k7 p- |% v$ v$ v
  342. ;zend.multibyte = Off
    2 U8 F3 |1 F. f& s
  343. . R3 Y+ e  Q6 ^$ p) L9 i
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    4 ]* Y% x6 D- O0 A- }+ y; z
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ' q/ w- f" p2 p" E' h8 |$ v/ }
  346. ; Only affects if zend.multibyte is set.
      D' I$ \  u+ z1 N9 C$ [' H
  347. ; Default: ""
    8 A, H* b6 |. A6 L- X9 x
  348. ;zend.script_encoding =
    0 }' z# Y; v/ G' Z& N1 R

  349. 2 k  G3 Z; E# S1 l+ |8 _. J" ~4 ]# V
  350. ;;;;;;;;;;;;;;;;;
    5 u5 x8 g! u7 a% y" y
  351. ; Miscellaneous ;' R( I- I0 W. f
  352. ;;;;;;;;;;;;;;;;;5 o) r6 G# E* z. H" u. c

  353.   q4 B* A9 c* r3 X( M' x9 R
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    3 t3 P1 x" J4 Z- M7 [8 S, V6 S
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    7 k% E6 r4 P7 z. ]! V
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    : [- ]2 j+ E! @1 j
  357. ; on your server or not.
    3 Q: J4 j* x. d+ M! }
  358. ; http://php.net/expose-php
    0 J' f# z4 L5 M; j6 ^; l/ K
  359. expose_php = On+ K! p) ^0 |9 f  h' }2 j& Z" s

  360. ' b" n2 e2 d0 j; t& ]5 ~
  361. ;;;;;;;;;;;;;;;;;;;
    6 g  w' Y0 Z: r, u! v
  362. ; Resource Limits ;
    $ q; h$ M2 b8 T& H: u
  363. ;;;;;;;;;;;;;;;;;;;" u3 [: S2 R2 j

  364. & s4 o; w  y6 U& |
  365. ; Maximum execution time of each script, in seconds
    4 U' F6 v  v! m2 I: H
  366. ; http://php.net/max-execution-time, `, ]1 T4 H2 z6 R6 o
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI0 s4 P: {8 |  Y4 n. M" [- z
  368. max_execution_time = 300
    ! Y- R6 M2 B" o) \
  369. 2 G1 @* ?( {0 Q( z
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    $ U5 m1 m( o% M0 _% Q( {* b
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly) S1 X; H. \! q; j  Z! R, U9 w
  372. ; long running scripts.( m4 u5 n4 s- `( a9 L6 M
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI0 E) Y' y2 A6 K
  374. ; Default Value: -1 (Unlimited)
    . K: c8 B9 }# r' Z
  375. ; Development Value: 60 (60 seconds)% f; g/ c# X! @6 \4 C, @7 c
  376. ; Production Value: 60 (60 seconds)
    * }6 ^7 x* s7 F+ b; M+ g; e
  377. ; http://php.net/max-input-time
    / u' C& u* W9 w$ z! G
  378. max_input_time = 607 v' A% r' u, ?1 }( @
  379. 4 K$ X8 M' J/ \; ~/ R  f
  380. ; Maximum input variable nesting level
    , B! j& i4 M2 L$ R0 ]: B0 p/ I6 D* a
  381. ; http://php.net/max-input-nesting-level
    ) n+ D, P: ?6 c
  382. ;max_input_nesting_level = 64
    - g( T: M8 R$ x; l4 J: a
  383. - S- {/ M2 \) x- l: ]( j+ k9 M
  384. ; How many GET/POST/COOKIE input variables may be accepted
    8 E" K0 e( P; g: T$ [( g# j
  385. ; max_input_vars = 10001 ^$ u6 N: A4 w& A
  386. + N! A1 \3 }' t5 N0 w  M% z
  387. ; Maximum amount of memory a script may consume (128MB)
    ) m# c  S/ |0 r. G, G% N/ n# A
  388. ; http://php.net/memory-limit+ R# d+ q- u( }7 c* M
  389. memory_limit = 128M
    : i/ Q1 `9 M$ r

  390. ( l) R; ^$ Z: Y( Y( D8 {, y
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 D" z! r6 A" v* D  n
  392. ; Error handling and logging ;
    / m1 m& c! Z" J2 b3 D
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+ |  L- C6 f3 C
  394. - I: ?* t. g, K+ a7 j) }# m
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    / U# Z) ~  _& A7 I
  396. ; it to take action for. The recommended way of setting values for this9 \& [" n' V. |0 a. K5 }# i
  397. ; directive is through the use of the error level constants and bitwise) T8 t" U- ]0 T  Q" n4 p- [
  398. ; operators. The error level constants are below here for convenience as well as* Q4 O  u8 B4 m; j: O  w
  399. ; some common settings and their meanings.+ Z4 A7 Z! K/ a8 k1 s9 S1 E% Y
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT+ y2 v$ T. ~/ K- b
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and2 e: t) B0 i3 I' h
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    $ B* c9 H" h6 l- O& g# _. S& }
  403. ; recommend error reporting setting. Your production server shouldn't be wasting* I. q5 C4 ~3 s7 w# m5 ~5 }9 N1 X/ y
  404. ; resources complaining about best practices and coding standards. That's what
    ' k& v) [; o) G0 U  J; E4 ]1 |3 l: `
  405. ; development servers and development settings are for.
      |" t3 [2 T$ o, y& l
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    # a! Y. O9 o) t# w# K
  407. ; means it pretty much reports everything which is exactly what you want during
    " e* G/ v; y- ^
  408. ; development and early testing.
    % e0 p3 p/ z: g0 k+ F
  409. ;
    ' G% x: j+ }  t- [
  410. ; Error Level Constants:; `3 x4 H1 g  r- N- d
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    5 d- S. x8 J! v# o: @
  412. ; E_ERROR           - fatal run-time errors4 h3 U2 y( u4 a0 y2 _
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    8 P, y( E) b: @7 |+ ^% r
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    . k  V! M) m0 l
  415. ; E_PARSE           - compile-time parse errors) ^* Y# Y- R& `4 m9 ]
  416. ; E_NOTICE          - run-time notices (these are warnings which often result$ z* h& Z2 y" n0 f7 C* g
  417. ;                     from a bug in your code, but it's possible that it was, h9 f& G: O# x+ n( `5 P
  418. ;                     intentional (e.g., using an uninitialized variable and7 `' E7 C* ]) @
  419. ;                     relying on the fact it is automatically initialized to an
    ! n) L3 J" i) ^5 Y: Q) a$ T
  420. ;                     empty string)
    # H% ?$ e1 l0 b3 C% h' `
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes& p% e1 o/ l3 B$ C3 L, _. P- ~# W
  422. ;                     to your code which will ensure the best interoperability, v, w# P2 `/ G, a6 U4 u! ^  J
  423. ;                     and forward compatibility of your code% K! p- W$ [4 i  ~) G
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    " p3 p% J" h2 p% Z$ F5 y
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's# W' j# V" k9 p  z0 a. k) t- h" u- l" \
  426. ;                     initial startup
    5 n( N7 h7 w0 Y
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    3 ]9 _6 l! F! a2 F3 J4 _. g
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ( p) J$ ]0 T% {
  429. ; E_USER_ERROR      - user-generated error message7 x# W- B0 |) j$ b3 x6 C9 M" D/ D
  430. ; E_USER_WARNING    - user-generated warning message
    0 b$ L3 s, v0 }
  431. ; E_USER_NOTICE     - user-generated notice message; o6 h# g$ c, _7 }: |( @0 c
  432. ; E_DEPRECATED      - warn about code that will not work in future versions+ v7 H. V! Z; |' ^" E( w  |
  433. ;                     of PHP! o' G' F# b  [9 F1 O, h
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    # W- Y+ i* F. L
  435. ;
    ; D, g. a/ H- @! g/ h6 I3 ?! }. i! T
  436. ; Common Values:( I1 F! n# J. l- J* Q" f/ _' ?
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    5 W! n! z8 z" g
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    9 E% m  R* b$ q# g* L& @4 k
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)8 Z- n$ \" l5 M& o& p$ y
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)( d5 |: R0 I0 P6 y4 g: @+ I; T* p' W
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    5 i9 J/ ?( @: Q$ H2 o! K* g
  442. ; Development Value: E_ALL
    % u7 N. y! }- {: B' c: l+ V( H
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    5 H! c: e, Y! o
  444. ; http://php.net/error-reporting9 V. z2 o8 u+ \# r: t2 C
  445. error_reporting = E_ALL & ~E_NOTICE: L6 A7 t) K3 y. {
  446. 1 w* f) v, J- M
  447. ; This directive controls whether or not and where PHP will output errors,
    : R" B) ?4 }2 W+ R4 W8 V4 ^8 g# c
  448. ; notices and warnings too. Error output is very useful during development, but% j" [" n. [% h" @& g% D
  449. ; it could be very dangerous in production environments. Depending on the code
    ( Z( e! G, ?# E& c7 g" Y* e- d2 f* W1 a
  450. ; which is triggering the error, sensitive information could potentially leak4 a% O' s7 f" x) E% o7 m) S) L% U! F( E
  451. ; out of your application such as database usernames and passwords or worse.' y& B8 p8 M0 m  x# n. y
  452. ; For production environments, we recommend logging errors rather than
    ) S; t- G8 j6 E3 n% }( q2 T* Y
  453. ; sending them to STDOUT.
    - ?. u4 P) h/ ^) B' ^% z
  454. ; Possible Values:
    0 x7 D4 c. q0 u( q- _3 H
  455. ;   Off = Do not display any errors
    : C* w5 {4 {$ C+ W& t& N
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)1 e0 d" ^; D+ d: P4 {
  457. ;   On or stdout = Display errors to STDOUT- `, k1 L8 X- [$ G
  458. ; Default Value: On6 r* v) X: F0 z, i
  459. ; Development Value: On% s$ o! h% r  x+ n6 S6 T
  460. ; Production Value: Off  N7 |) h2 f/ \7 u: N
  461. ; http://php.net/display-errors) r) H8 V/ h1 h- e
  462. display_errors = On' W" T- k5 u; v1 p3 n5 v5 g
  463. . C- C1 l5 O$ _6 q& J& s: a
  464. ; The display of errors which occur during PHP's startup sequence are handled- t# v! }  z& H4 c% p  ^
  465. ; separately from display_errors. PHP's default behavior is to suppress those+ ?9 e+ d3 S1 c1 j4 x9 I6 @2 h9 z
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    $ F# C4 S) S$ I  P& W- n
  467. ; debugging configuration problems. We strongly recommend you* Z+ [  ~6 N! M# ~
  468. ; set this to 'off' for production servers.3 {1 T! D: Y4 q& f2 m4 N8 {
  469. ; Default Value: Off+ v6 b( O' D4 k% M; |$ h
  470. ; Development Value: On
    : E% H( t+ W( g$ ?
  471. ; Production Value: Off
    # H3 e& M! z- [1 v; i
  472. ; http://php.net/display-startup-errors; R* f9 `2 v% v" l8 Y5 ~+ Q9 b
  473. display_startup_errors = Off  |( {" D& B: Z" `, i$ |

  474. $ x) ]6 x1 ]# d3 T6 B
  475. ; Besides displaying errors, PHP can also log errors to locations such as a2 D5 k$ R8 ~' S' a
  476. ; server-specific log, STDERR, or a location specified by the error_log- z8 j0 b; R0 K7 C9 H
  477. ; directive found below. While errors should not be displayed on productions# h' F0 {8 o- W$ {% \
  478. ; servers they should still be monitored and logging is a great way to do that.. G2 R7 P/ ^1 N, \
  479. ; Default Value: Off* G* o# [8 S: I+ E2 x2 o/ \8 {$ n9 H
  480. ; Development Value: On! }' w. \' n$ c
  481. ; Production Value: On
    4 R7 N- d  J; k4 I9 y# n
  482. ; http://php.net/log-errors% F) B: W3 B9 p! l
  483. log_errors = On. I1 l! z7 T- g: a+ H

  484. : E7 k  {/ i7 D2 M
  485. ; Set maximum length of log_errors. In error_log information about the source is
    1 x  Q( e0 B' d) m4 N
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.: b0 p- L/ n8 Y' m; J- n5 c/ \: x
  487. ; http://php.net/log-errors-max-len$ [+ Y3 @' y/ l
  488. log_errors_max_len = 1024
      A1 N0 m5 }/ F; i

  489. ) ]. D( t- w6 y; I) U
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same/ V4 ]) E6 G+ o$ S
  491. ; line unless ignore_repeated_source is set true.8 y8 v, \& m' G5 d
  492. ; http://php.net/ignore-repeated-errors
    % h- D7 P; C+ t$ y$ ?
  493. ignore_repeated_errors = Off; T, t& B! K* `
  494. 6 p; m, a2 k- }( z2 O/ Y5 _+ }+ r
  495. ; Ignore source of message when ignoring repeated messages. When this setting! i$ f& g- ?6 f% j
  496. ; is On you will not log errors with repeated messages from different files or$ Y; z& A0 s) t' ?
  497. ; source lines./ L0 b% t8 ~+ M: K( I& ]
  498. ; http://php.net/ignore-repeated-source8 S+ x5 I$ ?/ T; w1 W9 L  P# d
  499. ignore_repeated_source = Off
    4 k8 Y- S4 `. m( B" i8 j4 W

  500. 3 ]4 {. {( E- O3 ?9 j
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    , ^6 Q7 I4 ^8 z1 q+ g& d- z
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    8 O. [$ |  X( }
  503. ; error reporting includes E_WARNING in the allowed list
    7 Z& t. ?. }1 h0 _3 r
  504. ; http://php.net/report-memleaks
    $ c6 N9 M4 a+ \
  505. report_memleaks = On, A- ]/ X& y* `# {3 d1 S

  506. ) p3 V  c& y6 v2 W/ S4 E
  507. ; This setting is on by default.* U; p/ `+ G6 V6 @7 y# U1 `+ T* V+ W
  508. ;report_zend_debug = 0
    1 A- o- b5 x: r( T# g  f, m
  509. . R$ o5 C( B" }) f* M
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ' h, U/ a  }0 Q& d, Z# N
  511. ; to On can assist in debugging and is appropriate for development servers. It should% G; l+ _- \# ?# E) I
  512. ; however be disabled on production servers.
    - p2 A6 c. I/ E
  513. ; Default Value: Off- b$ V( p' d2 k( g' w- p
  514. ; Development Value: On
    4 e, T9 _' c  j. ?( W
  515. ; Production Value: Off4 ]; ?, ?  a# C  b
  516. ; http://php.net/track-errors
    . E. p5 a( z" a: T6 w2 f" ?
  517. track_errors = Off* E6 l- b7 j3 m! E
  518. , t1 c( h; @, n2 z2 Q0 a
  519. ; Turn off normal error reporting and emit XML-RPC error XML& `. d! i# f$ ~7 M$ m
  520. ; http://php.net/xmlrpc-errors. g1 B! c) V1 P/ @- O
  521. ;xmlrpc_errors = 0
    - V( i# D* J% n/ ~" I9 x

  522. $ y6 J* h( N# q  s% s2 s4 @
  523. ; An XML-RPC faultCode
    + u' c+ R) Q4 C  \
  524. ;xmlrpc_error_number = 0
    2 F  s& f& o# ~  u9 `& z# o, k

  525. ' _1 K6 i' h3 P9 S* a8 k
  526. ; When PHP displays or logs an error, it has the capability of formatting the: E+ A" O- N1 N
  527. ; error message as HTML for easier reading. This directive controls whether' _' f9 V: Y9 j9 ^" }$ P  A
  528. ; the error message is formatted as HTML or not.
    3 C$ _; K8 A( U# l* v+ G
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI; }' r& K8 U7 |3 x9 _# f2 B. U  g. ]
  530. ; Default Value: On  {! L; D9 E( l; p1 p/ P2 Z
  531. ; Development Value: On
    1 Y0 G0 b- C$ R+ N! @" I3 B+ s  h
  532. ; Production value: On
    ) e7 r4 v* ^! z/ V+ G
  533. ; http://php.net/html-errors; V/ D+ @, {- S& m6 D
  534. html_errors = On! ], O  j& |3 H6 O) J; l% x' x

  535. $ H) e; h& o+ x9 m) m2 H
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP/ L5 g* x% ~: k
  537. ; produces clickable error messages that direct to a page describing the error
    . T- B( Z6 H9 T$ q) i- ^
  538. ; or function causing the error in detail.5 r9 l0 \1 o- c1 ~5 _  c
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    7 {* C3 \5 H' _" B  R7 H9 L
  540. ; and change docref_root to the base URL of your local copy including the! z: P; X" C' V& R: _7 R* q. S
  541. ; leading '/'. You must also specify the file extension being used including
    . j8 D! U1 b" C- R4 {; H, e& v
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    1 k" |" S2 k9 {! O0 ~- q
  543. ; case no links to documentation are generated.
    $ ?, r- e" M. v: D
  544. ; Note: Never use this feature for production boxes.% I/ a' R+ Y5 \5 O7 h* ^# e
  545. ; http://php.net/docref-root$ T, T- w6 X$ `4 s3 s# Z) m
  546. ; Examples) V7 t- q1 G% [  y
  547. ;docref_root = "/phpmanual/"
    ' |7 ?8 Y; T) l/ ^" f, n% a

  548. & a3 r0 j6 V' L* S
  549. ; http://php.net/docref-ext5 V0 L' Z% B5 `/ n" P" ?6 s
  550. ;docref_ext = .html
    ( `( j  J! D8 `( A

  551. : P! y5 A) q5 h9 ~1 w- b4 |- n
  552. ; String to output before an error message. PHP's default behavior is to leave
    , j/ z& B% A$ k
  553. ; this setting blank.8 U5 I2 c$ e- i3 H
  554. ; http://php.net/error-prepend-string+ b, K9 k( T+ m) R/ K9 r
  555. ; Example:* e3 K/ b, Q% |& A
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    6 y, [9 I0 j$ N' x

  557. ( ?7 M' F. W2 V" x6 X
  558. ; String to output after an error message. PHP's default behavior is to leave% m: m. ^! Q% E# @
  559. ; this setting blank.) ?6 _3 c; P# g
  560. ; http://php.net/error-append-string
    & f1 U; ]6 z- J2 |
  561. ; Example:
    0 k" ?& m; l; Y/ c4 C% P
  562. ;error_append_string = "</span>"
    $ J! P7 d& c; E( Q$ a

  563. 7 ], z  y% g; O9 O( h+ W( z
  564. ; Log errors to specified file. PHP's default behavior is to leave this value0 D" `2 }" N5 y. u9 L, d
  565. ; empty.
    - {" j. i% Q7 |2 W
  566. ; http://php.net/error-log
    ( p  ^9 L! ~& r1 D9 z8 R
  567. ; Example:
    * m& i1 s; N6 o' N
  568. ;error_log = php_errors.log& \9 p! X0 f( m& S6 s2 N3 ~, |
  569. ; Log errors to syslog (Event Log on Windows).: X. W' x+ y4 L  X: Q
  570. ;error_log = syslog
    ' J! }9 M$ H4 j6 x& v. S# S& p& S9 ]
  571. 5 s( }; n2 W, @+ p! W* w' j
  572. ;windows.show_crt_warning
    " p. ~9 q  u  W) Q# Y
  573. ; Default value: 0
    0 r# n; w" V+ L8 K& G* O7 [2 ~- y6 r
  574. ; Development value: 0
    " F3 K$ g9 Z7 G) S( _
  575. ; Production value: 0
    # c1 O! }) M1 O) I+ h2 D

  576. 7 }6 o/ D. `5 L: n6 I; J/ V0 U0 C$ R
  577. ;;;;;;;;;;;;;;;;;
    . t5 I" a* ?% X1 [# I
  578. ; Data Handling ;/ Z, q! ^" _5 n+ l$ I* n: v
  579. ;;;;;;;;;;;;;;;;;! Y2 _3 k# \3 w: u. X
  580. 9 f$ U. \8 M3 ^3 l1 B
  581. ; The separator used in PHP generated URLs to separate arguments.0 d4 O  Z; U( z# k1 b' Y
  582. ; PHP's default setting is "&".
    : m( A9 W) ]% U8 J) v$ I
  583. ; http://php.net/arg-separator.output& O2 r8 P" q) w/ h: w
  584. ; Example:
    % i+ M' n9 K: Z0 f3 V2 D& k
  585. ;arg_separator.output = "&"
    # f0 `; p: l( y

  586. 5 y$ s# M, M& p1 c
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    3 j4 _9 j7 w" H
  588. ; PHP's default setting is "&".
    + `& B3 C9 O4 z
  589. ; NOTE: Every character in this directive is considered as separator!
    ' P/ a$ }0 [: Q6 f; J& Q
  590. ; http://php.net/arg-separator.input$ B1 a, F$ f; b6 u9 d: ~
  591. ; Example:( {" h' P* z$ l! l* c
  592. ;arg_separator.input = ";&"
    6 ?9 V3 c1 t- H' g/ l0 t

  593. ( U7 P+ @  p  H0 Q. O  m
  594. ; This directive determines which super global arrays are registered when PHP+ E( `* T" s& p; f! P
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super; t: q- I6 b6 ]. K
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    " Q& ^0 @2 I7 G3 k$ Z, r
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    $ p: V# T: r* C  K6 ~; j
  598. ; used as the others, ENV is not recommended on productions servers. You
    6 e6 k) [7 l+ c. D
  599. ; can still get access to the environment variables through getenv() should you2 `# @0 s9 _) H; |- `* I( Y
  600. ; need to.1 j) H# T2 `6 f
  601. ; Default Value: "EGPCS": e( P: g0 H, h' K& }7 s9 @1 h
  602. ; Development Value: "GPCS"
    7 D  B8 F# s) a
  603. ; Production Value: "GPCS";
    ; g  w& j! e! L4 d2 ?& P, a
  604. ; http://php.net/variables-order. A* A+ b) X1 U
  605. variables_order = "GPCS"
    / _6 {4 b7 I3 X% O- I( L5 X
  606. 1 Z1 Q$ v5 P6 E- |! T
  607. ; This directive determines which super global data (G,P & C) should be
    . S% O  R' e8 a+ \
  608. ; registered into the super global array REQUEST. If so, it also determines5 {% ]5 e1 ]8 v3 _; p% ]9 _; R
  609. ; the order in which that data is registered. The values for this directive) J, ]- V; v) E1 K/ Q' \8 a- x0 S& w3 s' w
  610. ; are specified in the same manner as the variables_order directive,% I' G6 m2 N: O& J, H5 a
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    % w  U# X8 N! q9 K1 b7 N' Y5 v
  612. ; in the variables_order directive. It does not mean it will leave the super
    2 C% N! h5 q3 R7 U& C
  613. ; globals array REQUEST empty.- O& W7 l2 O7 W1 O
  614. ; Default Value: None* x; t0 g- R) B& A3 F
  615. ; Development Value: "GP"
    : \4 r$ Z+ C, w0 H) b; B' E
  616. ; Production Value: "GP"
    : A/ N! ~) a+ {0 ^
  617. ; http://php.net/request-order" v3 \8 N% m& D' P8 S* u8 R
  618. request_order = "GP"
    ; d% t6 d" D' Z: N. i9 {1 A- n% h

  619. + m5 g0 l: ~9 v7 H* l! Q
  620. ; This directive determines whether PHP registers $argv & $argc each time it  d! G6 T" n/ H* m( i! x) K3 q
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script, x% Y) X4 H! I, p1 X
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ' |: h9 z( |' o+ x/ Q+ M6 Q
  623. ; that were passed when the script was invoked. These arrays are extremely( G( a1 \5 |' P" D1 L4 A' Y
  624. ; useful when running scripts from the command line. When this directive is
    $ `7 @4 r+ R1 e+ x5 _  P) P
  625. ; enabled, registering these variables consumes CPU cycles and memory each time) _3 d) z) V% u0 ~! P8 E, r
  626. ; a script is executed. For performance reasons, this feature should be disabled$ E" `- I) K3 G5 a
  627. ; on production servers.( |* h" u8 n0 S4 x
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    $ u6 z% i9 M) E
  629. ; Default Value: On
    ' _0 q4 E6 {! P6 o6 o" f
  630. ; Development Value: Off
      P/ S1 e7 s: _5 P8 ]4 k& D# o
  631. ; Production Value: Off
    % u' t# I7 J, z3 s- d/ L
  632. ; http://php.net/register-argc-argv" G0 @/ a5 u0 q5 R
  633. register_argc_argv = Off
    ' L1 Q2 U5 e# M% [# y
  634. 3 [$ A( }8 Y7 m% q( R
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    7 C0 Q& I8 Z; R* m# L; W
  636. ; first used (Just In Time) instead of when the script starts. If these
    ' j3 }5 F  M7 x/ |% f- Q$ z5 `8 {
  637. ; variables are not used within a script, having this directive on will result
    * l- M0 ?3 M0 L) i( I
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled# ?/ Z- f# ]( D, E& ^+ i/ {% z# U
  639. ; for this directive to have any affect./ o6 i0 t9 ^  R% o& Z0 n
  640. ; http://php.net/auto-globals-jit
    1 }" Q; Q6 \$ y, U( ]
  641. auto_globals_jit = On( k3 q( z4 D9 b+ S4 d& V: _, u

  642. % v$ _  ^7 k3 k+ @
  643. ; Whether PHP will read the POST data.
      W% ]5 d1 W- |4 ~
  644. ; This option is enabled by default.
    % T# e: b( A8 w; U; {
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    2 U9 Z2 F. N" a- W4 z. D! K' U2 `5 B
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    # o& }7 A+ Z6 N* C& e3 p
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    0 |. n, y" x; s# t
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.! {9 y: F8 H- f
  649. ; http://php.net/enable-post-data-reading
    9 G! @- h8 R4 m# [
  650. ;enable_post_data_reading = Off
    ! j8 ?( X: Z) x% y6 R  t

  651. ! [+ I2 x1 L/ i4 b: {8 _
  652. ; Maximum size of POST data that PHP will accept.! `2 d. v  b( G9 ?& X/ [6 B
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    2 q! ?+ W) @+ X' C% h( c
  654. ; is disabled through enable_post_data_reading.
    6 }6 n9 j. J- X, M1 ^7 l# j
  655. ; http://php.net/post-max-size
    0 m$ L) \( b$ l  Y. j  m  H( a# U# E! @
  656. post_max_size = 50M; l9 K" C% Z, Y, t1 @; a$ a

  657. 6 c3 \# |# J$ a1 S
  658. ; Automatically add files before PHP document.
    * j5 o+ X8 _; I: a8 k$ V2 @. u
  659. ; http://php.net/auto-prepend-file
      W1 ^: n' P  ?3 q1 _8 R- v9 N
  660. auto_prepend_file =+ S# h' Q" X9 q  R0 r$ W# j

  661. & ]4 [3 \1 X4 l  R- q/ x; ^
  662. ; Automatically add files after PHP document.
    1 r! z  @$ n& C1 S
  663. ; http://php.net/auto-append-file7 C/ A: k0 O5 I8 b6 O" h# D
  664. auto_append_file =; \8 B( _9 Z/ u3 T

  665. # q/ J- i! P+ s% a9 X
  666. ; By default, PHP will output a media type using the Content-Type header. To
    ) _; U# ^4 D- @1 m  S
  667. ; disable this, simply set it to be empty.
    4 j) Z+ y9 s% R% q2 L# I) \
  668. ;
    & n8 ^+ V2 U- z& P$ N  S
  669. ; PHP's built-in default media type is set to text/html.  N6 d. r1 A/ v* A. w
  670. ; http://php.net/default-mimetype/ p5 k0 J. e" P: r+ T3 D
  671. default_mimetype = "text/html"' j, I6 Q1 Z! R: S
  672. - {$ X& E3 u5 S8 P
  673. ; PHP's default character set is set to UTF-8.8 B* P1 i6 Q1 g- O7 h
  674. ; http://php.net/default-charset1 Z3 x' Z# u. B9 j
  675. default_charset = "UTF-8"" ~( h+ u# m1 `2 D! q* I9 b

  676. 0 G+ y" ^  z% N
  677. ; PHP internal character encoding is set to empty.) r; @: j8 P- J
  678. ; If empty, default_charset is used.& h5 K* P- O! D" Q  n
  679. ; http://php.net/internal-encoding+ Q4 b( t9 ?7 U
  680. ;internal_encoding =/ J& p5 G8 P5 A! Z7 k1 V3 u- N
  681. . x/ G9 r; X! j, t& ]3 n/ t
  682. ; PHP input character encoding is set to empty.
    + O# s8 D9 f# |% S7 [
  683. ; If empty, default_charset is used.  B) L" S8 Y) j& G0 G
  684. ; http://php.net/input-encoding& n1 P+ P6 K3 v5 }4 G
  685. ;input_encoding =0 o, D% [+ r4 u3 _8 L1 B9 O, F

  686. 1 Y! h+ ?1 x/ O% D: K' {
  687. ; PHP output character encoding is set to empty.+ K  A% x0 z9 G* o' `) U
  688. ; If empty, default_charset is used.- g5 u* ?# R( x! x
  689. ; See also output_buffer.
    0 h1 C2 Y) ?% H) {/ r
  690. ; http://php.net/output-encoding! J4 W9 y' d) e8 v& ~4 D
  691. ;output_encoding =" R2 S- `9 l3 g+ I+ V
  692. ; g2 B" ~2 q- R9 t  ]3 g/ i5 @
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;' }! C, z& t1 c! R3 c! k9 Q
  694. ; Paths and Directories ;
    * c6 |  N- k# k$ ^# a6 o. E# o
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ v5 I7 G  v  }7 C: k( p: [

  696. 3 c% H% r& R/ u& q2 O
  697. ; UNIX: "/path1:/path2"
    : w% v3 \- D& `% V' R* X; g" A& e
  698. ;include_path = ".:/php/includes"5 _2 c& P4 W) r
  699. ;
    ( r' C( Q: C# i8 i
  700. ; Windows: "\path1;\path2"3 C# t: L+ A! w. d* N+ O
  701. ;include_path = ".;c:\php\includes"& M, [% ~2 ^9 a. g- C3 E0 k# R
  702. ;7 v4 A0 K0 N% m/ T+ u! H
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ! W/ E( F5 G0 m
  704. ; http://php.net/include-path- S) _' p1 j$ R7 `6 @/ t6 m
  705. 6 j+ ]7 F8 b* q& U# p- m5 W8 L0 a0 z3 z
  706. ; The root of the PHP pages, used only if nonempty.- {7 I- ^2 r+ l2 N% U: i% v
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root# t- L3 [+ G3 s, @# ?$ O9 Q
  708. ; if you are running php as a CGI under any web server (other than IIS)
    2 c' `% y" E* j: h+ Y
  709. ; see documentation for security issues.  The alternate is to use the' ]! ~# H7 k2 j7 A0 a; Y+ s  v
  710. ; cgi.force_redirect configuration below
    * J$ ^' M  L$ q$ S
  711. ; http://php.net/doc-root
    ' Z3 P1 l: p  K! M+ h0 k8 V4 D
  712. doc_root =
    . F8 i7 M7 O; {) g" L* `* _  C
  713. % Q; z3 ^8 X$ G3 Y
  714. ; The directory under which PHP opens the script using /~username used only
    1 G. w3 |2 p: v2 h0 p1 D& @$ M
  715. ; if nonempty.
    9 r$ Q& N: u" p5 g2 a5 \! L2 ]" ?
  716. ; http://php.net/user-dir
    5 S/ E" Y. h) c4 b, w1 j8 r
  717. user_dir =
    / J4 i# g9 T* D& y; |

  718. + }5 K+ T9 ^( v8 i2 `. M6 \
  719. ; Directory in which the loadable extensions (modules) reside.% C- o  j+ s" x1 S6 W  f+ u
  720. ; http://php.net/extension-dir
    9 P* d  ?6 j- _2 n
  721. ; extension_dir = "./"# K" u; |7 W3 J% [/ e5 i
  722. ; On windows:' d% H7 k) y9 V( y* g
  723. ; extension_dir = "ext"
    & H0 i1 |  U8 \' S2 q- _

  724. . A: _! {# I  z/ N, g  q
  725. ; Directory where the temporary files should be placed.
    4 Q; z0 R' o8 g/ D4 ~  J( X
  726. ; Defaults to the system default (see sys_get_temp_dir)
    . G. P. O" C& o, f/ p
  727. ; sys_temp_dir = "/tmp"
    4 @/ X( x7 r+ }1 J

  728. 1 M% }( w! C% b& M/ ^
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work2 W. U! m6 u( ^9 }5 a0 {
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically8 J. k+ T/ L' p6 E9 e
  731. ; disabled on them.
    ' G: i' J: S, a9 b% a' W
  732. ; http://php.net/enable-dl; o8 ?9 [2 n2 V; z. ]6 e" _
  733. enable_dl = Off
    / N/ O& N: L5 H/ d5 l# Z" Q* d- }

  734.   q- y: J0 X1 v( l3 X5 e3 \
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under6 _7 r7 u' B# s3 u9 h6 ]; q
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can" K0 q# Y/ `/ d: d
  737. ; turn it off here AT YOUR OWN RISK6 x, \& x0 L$ ~. ^: b2 u
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    - L: }) T0 R' b- D) y: R
  739. ; http://php.net/cgi.force-redirect9 z' @1 W  Q+ [& y% q5 Q/ c+ D+ l
  740. ;cgi.force_redirect = 1- t$ \: t% L" w6 T  v8 C

  741. - w/ W( L& B" i
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
      u, N% W& h1 P/ o8 `
  743. ; every request. PHP's default behavior is to disable this feature.
    + a) d: s  @) g
  744. ;cgi.nph = 1$ y0 }  ?1 D! D, q- y% z

  745. : U; ^1 Z( ]  j4 U
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape, w* R* j$ P0 j
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP7 x; b' d9 z# w& a, E; P
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY0 a1 N1 x; n% I0 `* j8 v% z4 _2 {2 f0 a
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    9 x9 t6 D+ R; f4 n! p& m
  750. ; http://php.net/cgi.redirect-status-env2 R0 a% e7 S. G$ k
  751. ;cgi.redirect_status_env =9 Z  |6 `. E* R7 K

  752. % `) y& ]8 o. I8 O
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's1 ~, Q  F* Z/ \) A1 M
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok" u- a. u+ X8 f- s. ]- Z# i! \
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting9 Z6 }/ M3 y7 n- s" d* E
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting: W  D! R' i% V  @8 A) X* @" L* W
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts$ \  o, q2 e6 w7 w+ m
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.2 E6 [( O9 s  w  j) C! P2 I9 u8 [
  759. ; http://php.net/cgi.fix-pathinfo
    8 _) j: X3 I4 H* I7 p) v% o
  760. cgi.fix_pathinfo=1$ I) D% t! p- p" n

  761. 3 r' f; i0 N& k# o  x9 I: `7 z
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside8 i4 t% M2 `- J, d2 ?
  763. ; of the web tree and people will not be able to circumvent .htaccess security.. m, _" }! [! Z8 X8 e
  764. ; http://php.net/cgi.dicard-path3 j! u' ]2 ?" Z# A; P* G$ ~! v
  765. ;cgi.discard_path=1
    4 r+ A; j" \! S! n( a* v
  766. 8 i; ]2 A. M0 b' o$ f$ W
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate' }0 k6 b5 F3 l8 f4 s8 f
  768. ; security tokens of the calling client.  This allows IIS to define the
    % B8 n1 F8 v; w' C0 k
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    5 B1 o+ [0 f, z
  770. ; does not currently support this feature (03/17/2002)
    ) v& t, H7 E: u7 n+ i
  771. ; Set to 1 if running under IIS.  Default is zero.
    ( j+ I1 l, x2 Q
  772. ; http://php.net/fastcgi.impersonate
    ) W) ~. @- L* V( C
  773. ;fastcgi.impersonate = 1
    , s8 W6 N  _: n

  774. 9 j; J# n5 k# ^( Z( j
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    6 J3 y" n$ A8 o" \$ T: R6 W
  776. ; this feature.
    . S' y5 \) ?8 b0 ?) |/ P, G# T
  777. ;fastcgi.logging = 0) F) b! [/ I# `
  778. 5 e: w( ~9 a8 B0 u! W* d
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    $ V9 z/ H( z0 t7 K
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that0 G- V+ k6 t1 w  |3 S
  781. ; is supported by Apache. When this option is set to 1, PHP will send# X3 n- ]4 O  g4 q0 H4 A" P- d
  782. ; RFC2616 compliant header.- H8 C# R. n. }; O' z. K( |
  783. ; Default is zero.. F1 X; q$ i3 `3 f7 |0 W7 O
  784. ; http://php.net/cgi.rfc2616-headers  ?! j" j: |4 H5 q+ f
  785. ;cgi.rfc2616_headers = 0' v' @& g: j. C& l, W/ y3 m

  786. & K* M" z' l; X( n( ?+ I# Y& Z
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!! \& C8 `" K9 K6 B6 C$ n% R( A
  788. ; (shebang) at the top of the running script. This line might be needed if the
    ) c  O3 A5 H# f1 N
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    7 Q; }, v; F8 f2 Q: l
  790. ; mode skips this line and ignores its content if this directive is turned on.- r  s7 ~9 U4 r! p  U
  791. ; http://php.net/cgi.check-shebang-line
    2 X" ^  K: m5 c2 X: V4 K
  792. ;cgi.check_shebang_line=1
    1 i8 Y$ y7 M- T  T9 |8 h( ~9 i) v

  793. # ^! R/ g$ d7 `1 ?! C  d) K
  794. ;;;;;;;;;;;;;;;;
      |5 y$ P/ E& L  c
  795. ; File Uploads ;
      a# |: x+ }+ [( x% g% W. z
  796. ;;;;;;;;;;;;;;;;- ?! ^, ]- g8 T% b
  797. ( N6 y# p' I5 ^* G
  798. ; Whether to allow HTTP file uploads.$ A; H3 w0 r5 j* y
  799. ; http://php.net/file-uploads, _& M/ g& M0 {9 ?+ Y) g
  800. file_uploads = On
    8 b& y9 m  ]% Q
  801. " v; f% ^  W( Y/ |
  802. ; Temporary directory for HTTP uploaded files (will use system default if not1 J5 p0 ^+ Z; {6 c
  803. ; specified).
    1 {: c/ _7 N# `
  804. ; http://php.net/upload-tmp-dir
    3 q0 L9 k6 Q+ m5 w, |. p8 _
  805. ;upload_tmp_dir =- d) @$ e$ L9 p% r( F% M

  806. 3 {" o9 _2 U. J. l/ S: m0 P) H
  807. ; Maximum allowed size for uploaded files.# B. P* N6 b, ?0 A9 N% ^; r2 K
  808. ; http://php.net/upload-max-filesize- h' O: w# `9 ?2 b1 y% H6 {4 o
  809. upload_max_filesize = 50M
    ' `' q$ R( G' M3 ~) M" B

  810. % ^& x- C4 N0 C1 x  N
  811. ; Maximum number of files that can be uploaded via a single request
    & K  h5 b: v6 j* ]8 B* c; R
  812. max_file_uploads = 20
    9 `; s  I* h& {
  813. 8 S9 k" {/ L' `; _/ g
  814. ;;;;;;;;;;;;;;;;;;! y; l' E( b3 D# p) s" C4 Z
  815. ; Fopen wrappers ;
      l0 l# r4 p7 p+ m; g
  816. ;;;;;;;;;;;;;;;;;;+ w. }9 w% S/ h! f

  817. # N+ N: P9 `; [# q/ l& O( C
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.; ]) v) z2 D; r! J
  819. ; http://php.net/allow-url-fopen9 @7 o0 e2 ^9 W( z
  820. allow_url_fopen = On
    3 q  p  ^9 }- Y# t

  821. / t( `+ G- X: T2 I1 ?0 K! l4 Q. {1 d
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    : C" J- s1 ^( D3 Y% m2 p" }* C
  823. ; http://php.net/allow-url-include/ v4 e7 ~) X, U- u' G7 f  H
  824. allow_url_include = Off
    2 V* h6 Q/ j  ], {- B7 ~5 P" ?

  825. & G( b  ^' l: P! ~" E; U; B
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ) V% r# N6 [" C2 z# B- p( G# ?1 |
  827. ; for this is empty.
    8 Y9 N5 l9 {2 \
  828. ; http://php.net/from2 E# _% p3 t0 K' E
  829. ;from="john@doe.com"( O/ h+ K& `* M
  830. ' F# f" }2 X9 R7 `# Y
  831. ; Define the User-Agent string. PHP's default setting for this is empty.& \0 E) X# R1 Q" ~+ ?& P
  832. ; http://php.net/user-agent5 }1 a' M0 b0 t% |
  833. ;user_agent="PHP": X* Y* t" M! L/ l* K

  834. . Y; w; o% A4 G0 t7 S  h
  835. ; Default timeout for socket based streams (seconds)& b) C/ W# t- r5 h5 L  Y# N% I. q
  836. ; http://php.net/default-socket-timeout2 [% D* K& e. P
  837. default_socket_timeout = 60) d7 Y, O$ T' B/ z! `/ O, H7 p

  838. 1 J8 ?# J) N+ S
  839. ; If your scripts have to deal with files from Macintosh systems,/ S4 k7 s) K/ q1 L" R) L
  840. ; or you are running on a Mac and need to deal with files from$ R6 U. Q/ g* n' S! g* g0 i/ y
  841. ; unix or win32 systems, setting this flag will cause PHP to
    , b, f* u! E) `
  842. ; automatically detect the EOL character in those files so that
    3 K  n- Q' t* A9 E3 _) _
  843. ; fgets() and file() will work regardless of the source of the file.- }# v; J2 E4 ~- m
  844. ; http://php.net/auto-detect-line-endings5 ^; Q0 S6 |( n
  845. ;auto_detect_line_endings = Off
    1 @" c! ?2 F4 l/ b0 u' C( M) V- s

  846. ! T" m7 e( C* d7 l, h
  847. ;;;;;;;;;;;;;;;;;;;;;;# N' F7 G+ n/ m2 D8 ?* N+ b
  848. ; Dynamic Extensions ;7 }6 U6 \! Q5 r) I9 G3 B9 Q  p
  849. ;;;;;;;;;;;;;;;;;;;;;;- n: a# c! U6 t+ z" _1 E
  850. 0 C4 i1 @5 b# Z* [% a# A1 A& f. g9 ^
  851. ; If you wish to have an extension loaded automatically, use the following
    6 r5 k! F: I2 P) i
  852. ; syntax:9 c0 p% R& b5 c1 G+ q( A9 ^4 @! l! ?
  853. ;
    * J* O- z, ?! u# D* c, v
  854. ;   extension=modulename.extension
    1 J, X. Q5 l9 @. ~
  855. ;( {% i7 P4 F7 A! x; c
  856. ; For example, on Windows:4 a7 @' p6 r! ]5 C( s* b9 F
  857. ;
    ) o; a; b9 @# m1 t# h& S
  858. ;   extension=msql.dll5 s# S4 V' a3 e1 K2 ^7 h, t$ v
  859. ;
    8 t& v7 r6 P6 \( l, v
  860. ; ... or under UNIX:( |) B  \  ]9 z( h8 [/ _
  861. ;% `- \6 M, g4 e
  862. ;   extension=msql.so
    9 U" F' M2 O& o6 C  L/ i' P  l
  863. ;
    . F% N" h/ v0 [% I
  864. ; ... or with a path:1 M. N( J0 d5 ^2 o" q/ b0 L/ t
  865. ;0 \9 e' j! O2 r& Y3 I. X( I
  866. ;   extension=/path/to/extension/msql.so
    ! G+ W/ j/ ]/ c$ M0 \) _7 Y
  867. ;
    " F+ P  K+ M1 A. K' E& L
  868. ; If you only provide the name of the extension, PHP will look for it in its1 m+ I' k3 h) w' B
  869. ; default extension directory.
    9 d# t2 u, [* J# j# p. T
  870. ;1 f7 o5 N  k) y' D, c3 j4 A
  871. ; Windows Extensions, }- U! N# ~' H- z" h1 T, A
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ' x6 O+ q- e( t7 `- c! B2 e
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)2 J4 K4 Y, e! [' o! O& H# t
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    ' S$ b# Y( q( @, ~# P" c, B4 f+ E
  875. ; Be sure to appropriately set the extension_dir directive.
    - i1 u5 M* ~9 y# Q2 q) z5 }
  876. ;
    5 G, x7 ~  }& M, W( h; u# k
  877. ;extension=php_bz2.dll+ E  O& T5 l; v* c8 U# ?$ j2 r' A
  878. ;extension=php_curl.dll
    ; x0 t, O! l9 I8 o2 b: r+ M
  879. ;extension=php_fileinfo.dll
    9 }: J2 N6 E3 I0 q" Q
  880. ;extension=php_ftp.dll2 A8 S/ W0 \* [& P4 o
  881. ;extension=php_gd2.dll
    / Z, d9 `) f3 g" p4 w, c/ Y/ V& f( P
  882. ;extension=php_gettext.dll
    5 \+ |" X& i0 }' l4 H3 q
  883. ;extension=php_gmp.dll$ z5 k$ Z) c6 ?& L( h, t
  884. ;extension=php_intl.dll
    2 \) A4 l9 _4 |( {6 c
  885. ;extension=php_imap.dll+ L3 C; H2 X0 v2 Q- ~; b
  886. ;extension=php_interbase.dll
    1 Y2 I, Y/ K" E# C- }/ }! |1 a! u- V
  887. ;extension=php_ldap.dll
    4 s; w0 @6 t+ M( j
  888. ;extension=php_mbstring.dll
    + Y" O2 e5 r( o. s* m" b4 V' d
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    , b/ p  _' N; `
  890. ;extension=php_mysqli.dll3 ~) g+ @! Q, y* M2 |8 X
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client1 T; m- |/ s' N- V- Z6 o
  892. ;extension=php_openssl.dll
    9 V2 E) Z0 \' |% Y* L1 Z  L
  893. ;extension=php_pdo_firebird.dll0 h' l! G, a1 A9 z; F- a% h0 t
  894. ;extension=php_pdo_mysql.dll$ y2 d) C; k$ {2 _8 q( W. ]
  895. ;extension=php_pdo_oci.dll# F5 n" D2 [  i( ]& \) X! x+ J
  896. ;extension=php_pdo_odbc.dll
    / c8 S8 ?. ]+ s$ ?( J
  897. ;extension=php_pdo_pgsql.dll4 e6 F* z! ~% e- n4 a
  898. ;extension=php_pdo_sqlite.dll
      j  i5 E0 i1 D7 Y- u1 J
  899. ;extension=php_pgsql.dll
    ! q# w  S' j5 F7 h& Z
  900. ;extension=php_shmop.dll
    ' ~7 o4 l, `" Y- j

  901. ) i8 v9 k9 ~; Q1 \
  902. ; The MIBS data available in the PHP distribution must be installed.
    7 _1 R8 x) q7 P1 A/ v& j
  903. ; See http://www.php.net/manual/en/snmp.installation.php- N+ O( c3 \( @
  904. ;extension=php_snmp.dll. J- t. z  l! ?# y% n& B

  905. # c) n5 \. l2 L1 O$ Q
  906. ;extension=php_soap.dll) p, I4 j$ g; u2 u# d$ K" v, \
  907. ;extension=php_sockets.dll
    ( l$ Y- C2 R, O" C7 ^
  908. ;extension=php_sqlite3.dll
      C  Q# d5 W- g/ }$ K+ U8 S* T
  909. ;extension=php_tidy.dll% g, @9 {  N  B) \* j$ p( y
  910. ;extension=php_xmlrpc.dll5 e. O6 v: k& }; p5 U8 j0 g: l4 D
  911. ;extension=php_xsl.dll
      o1 N3 f$ q7 {) S& ], _+ n% r

  912. / R$ [+ [0 H1 Z, Z
  913. ;;;;;;;;;;;;;;;;;;;
    / W( ^/ j. F7 P0 Q. C) s% i" W
  914. ; Module Settings ;
    / S* z  K! J  B5 w" ]% F  @/ B
  915. ;;;;;;;;;;;;;;;;;;;6 x7 W/ C0 Y& Q9 D% t& s
  916. : ?$ _# c4 f7 \/ A7 s8 p( |* v7 w' E
  917. [CLI Server]
    - P  U7 s% J) R
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.5 C: K8 t: E, T. i* e
  919. cli_server.color = On
    * O1 e) D# G3 Y

  920. & X, T' D9 s, F+ Y# X. n3 I# W
  921. [Date]# ^4 N! b& i' ^' a9 t5 {
  922. ; Defines the default timezone used by the date functions  O! T2 w( Z2 t" d8 |/ J
  923. ; http://php.net/date.timezone% h) }0 o, p! H3 ?) v" t
  924. date.timezone = PRC3 B5 h8 B- E, n$ d2 @2 U( N* U

  925. " k! y! ]3 b3 W* w- l4 `
  926. ; http://php.net/date.default-latitude
    . H* {: |3 v9 ?7 L
  927. ;date.default_latitude = 31.76673 d3 t* S! |( m, A1 b

  928. & O' Z5 }' D3 b$ @2 Q6 ~
  929. ; http://php.net/date.default-longitude
      O; f' z. h" `3 w' _' G0 s0 C
  930. ;date.default_longitude = 35.2333/ \1 q8 w# ^4 \4 `2 G

  931. ' b- C. D  a& ^# a9 o+ {  x
  932. ; http://php.net/date.sunrise-zenith
    1 h* U' r9 h" a2 v! w4 P$ n
  933. ;date.sunrise_zenith = 90.583333
    , z/ \* L) p$ N% Q( {+ ~7 D! x

  934. ; Q: k/ M2 b; R' a4 g# U+ {
  935. ; http://php.net/date.sunset-zenith; |& R0 S: R1 i2 |( Y% x; F
  936. ;date.sunset_zenith = 90.583333
    7 |8 M% f) t+ y, C7 Q7 P6 n1 D) G

  937. ; E6 _9 c+ J, q) ^4 B  V# A
  938. [filter]
    / v; [, q6 F! C, [+ k" a
  939. ; http://php.net/filter.default
      r8 d1 u4 T- F6 I) {( w
  940. ;filter.default = unsafe_raw
    2 j* W: i$ \( ^- E- T/ |$ H/ Q

  941. ; F8 X$ c, [. w6 o1 i
  942. ; http://php.net/filter.default-flags
    3 i, s6 m* S6 J9 {% K1 \; h( S
  943. ;filter.default_flags =4 k8 `* q! e/ d

  944. ! G+ A! w% V- Q: H4 ^
  945. [iconv]
      H$ b8 o; h" S6 R
  946. ; Use of this INI entry is deprecated, use global input_encoding instead./ I, C! u9 o1 A4 G
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ' A9 s- S( K8 i/ v$ C, d- M
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    4 O4 Q7 b8 z/ ?0 c* [: w7 F) _5 H/ c7 s
  949. ;iconv.input_encoding =
    ' K  G% Y  _1 Z

  950. * t, Y( b3 z* a, n# O" M
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead., n$ K5 p" J- o# T
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    & Z" T- M8 \% }! B) c
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    5 m6 T* o' W- e. [
  954. ;iconv.internal_encoding =* e! C* m, I' x& I  l) U
  955. , H5 p6 @( t% U1 Q  Z/ |$ a
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.) N+ ]: X# p' `! g  c
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    7 Q4 h- C# v) C
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ' t/ Z( X( K- M# ^! D( M
  959. ; To use an output encoding conversion, iconv's output handler must be set0 |: O4 [  H7 C- t% m: t- `" ?
  960. ; otherwise output encoding conversion cannot be performed.
    4 x  W$ Q1 v" W! z
  961. ;iconv.output_encoding =( y$ ?1 b2 H/ }' q! l6 D5 c

  962. - Z7 h6 E5 s9 }, h9 d
  963. [intl]
    3 ^8 T! B% D" g) m6 ?
  964. ;intl.default_locale =( p! c3 i# W! ~8 i) [, U
  965. ; This directive allows you to produce PHP errors when some error
    : o/ u9 A% j7 a- `8 e
  966. ; happens within intl functions. The value is the level of the error produced.9 R1 w) C8 v5 }) n! Q' Q( M  L6 u& J
  967. ; Default is 0, which does not produce any errors.
    ' H* p3 \% W4 h8 W4 n6 {. [
  968. ;intl.error_level = E_WARNING8 e- y1 ~# F# P  W2 v2 H) ^' A6 X' s
  969. ;intl.use_exceptions = 0
    8 u" L( Y' r  X8 d. `8 H0 l

  970. : Y! p- f1 {# M* l  \) O: v5 o1 l
  971. [sqlite3]
      d) `* F7 |5 z/ }) ~' [
  972. ;sqlite3.extension_dir =* @; N5 C2 M( |3 _5 d
  973. - q: `0 s' X6 ?2 F( T
  974. [Pcre]
    5 s9 w* L' I) p
  975. ;PCRE library backtracking limit.
    $ m# Z0 d( Q: F3 V: S& A
  976. ; http://php.net/pcre.backtrack-limit9 }1 d5 |  B+ X( i- A
  977. ;pcre.backtrack_limit=1000005 A& x: l) R6 z- e8 q# d# H

  978. $ Z2 V5 V7 w8 T1 z8 T' x) w0 g
  979. ;PCRE library recursion limit., O$ ~. Z  `3 w( F$ @% X
  980. ;Please note that if you set this value to a high number you may consume all
    $ [3 }8 G+ L, U+ L3 X# X6 H
  981. ;the available process stack and eventually crash PHP (due to reaching the: G+ w+ Y8 Y0 ?7 f6 K0 l# X, X
  982. ;stack size limit imposed by the Operating System).
    $ @& R$ T- ?. }$ R7 N
  983. ; http://php.net/pcre.recursion-limit* P8 f2 u0 W, O  ~3 ~
  984. ;pcre.recursion_limit=100000
    * B# N# u; E4 J; R

  985.   Q* m, N! g  _2 ?. w
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    - b& N" ]7 x! `" G9 o& @1 G9 W
  987. ;library to be compiled with JIT support.& W' x( i1 E7 z9 s4 k. [* o+ e4 K
  988. ;pcre.jit=1
    ' w; H* O) \( Y; y' }0 q

  989. * X: e5 x% _1 M) m
  990. [Pdo]
    8 D9 `, E  O! d; j2 _$ t
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    * B* k. z0 g) Q% D
  992. ; http://php.net/pdo-odbc.connection-pooling
    4 R7 z. v! n1 f+ |8 h( |. E
  993. ;pdo_odbc.connection_pooling=strict/ p# h: {, w/ C+ y1 D) o# [+ C# P

  994. - {  w# H$ V1 Q& U/ A+ n/ ]
  995. ;pdo_odbc.db2_instance_name' |0 f% T6 \% d/ Z  n2 s
  996. # k: L' k9 i( i0 T3 O' X+ x
  997. [Pdo_mysql]: n1 F9 Z& W( y9 x! V5 ]6 w7 h
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! T/ t- [" n: r; d
  999. ; http://php.net/pdo_mysql.cache_size  |$ R/ s/ u7 K% Q
  1000. pdo_mysql.cache_size = 20008 n9 _# ^5 }3 q+ _. @1 A; L5 z
  1001. - D$ F, f6 D/ L$ F
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in" j) }; \( p9 B. l3 N! U
  1003. ; MySQL defaults.
    / c. q, h, a9 o
  1004. ; http://php.net/pdo_mysql.default-socket: }. B& n" r: y7 p6 v2 @' b
  1005. pdo_mysql.default_socket=
    # ^/ E+ L/ F) S- x9 ]: `
  1006. 8 q+ F# ?% C2 `0 }2 ^
  1007. [Phar]% c. }7 |, u* a% @
  1008. ; http://php.net/phar.readonly7 O4 ]0 G$ g5 K
  1009. ;phar.readonly = On& ]0 |! i! v! a$ K1 R; c
  1010. . ]( Q& X& f( W) O# k. P) F9 E
  1011. ; http://php.net/phar.require-hash
    1 H' C3 N$ k4 w2 D% v; x
  1012. ;phar.require_hash = On
    2 t5 g2 c- J, Z/ j1 M4 i: S* r* O& H
  1013. % F' B1 ?* H" W
  1014. ;phar.cache_list =
    0 d* k1 L/ J& f2 J
  1015. 7 g. B/ A0 z' }- q: J' S
  1016. [mail function]- j+ `  d  ?/ N9 O6 p
  1017. ; For Win32 only.
    ) @6 X" U8 @! ]/ M9 S
  1018. ; http://php.net/smtp
    1 T  n2 d+ q: {" L6 s2 q
  1019. SMTP = localhost: J, m8 `) L' G- n6 M9 Z
  1020. ; http://php.net/smtp-port
    ! [- `0 [" B& b3 |: {
  1021. smtp_port = 25& G9 B: f2 k) t9 M. A4 I

  1022. : z' e& G5 X. B- Q' O% w. r7 Y
  1023. ; For Win32 only.) H/ c4 j3 H  Q* ~) l
  1024. ; http://php.net/sendmail-from$ B7 @% v, l. I
  1025. ;sendmail_from = me@example.com) v( _7 J: r/ m1 y8 h7 ^( Q: v, n' H

  1026. ; ?) V+ o5 P0 s1 c) V4 E- U" \1 n
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").. @  `* X2 S+ n7 K
  1028. ; http://php.net/sendmail-path9 P! x3 _( s; h
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ) P7 s1 U! ]: ]+ X1 I* g- j
  1030. # Z5 i* ?$ v' T: Y/ y2 Z
  1031. ; Force the addition of the specified parameters to be passed as extra parameters4 X* o: U' f$ P# F/ P! h
  1032. ; to the sendmail binary. These parameters will always replace the value of
    6 y: Q7 Q( G/ \) u
  1033. ; the 5th parameter to mail().
    / o' H1 S! m4 M9 k
  1034. ;mail.force_extra_parameters =
    . e4 [  b1 w6 A& _/ X* U

  1035. ) Q+ j; i: e& {: M7 O% G, g
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename$ {* ^% t0 V  P: _) w8 C
  1037. mail.add_x_header = On
    / o3 F( X. `0 ^0 D4 C7 Q6 ^
  1038. $ g) x( W: B9 e- E. C; ]
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ! Z( j' i# @5 P. z" ?
  1040. ; the full path of the script, line number, To address and headers.% w9 i: z* g7 U" ~" x) d, F' |. n
  1041. ;mail.log =
    $ E5 k3 E0 }* ]) M
  1042. ; Log mail to syslog (Event Log on Windows).8 k0 V/ }" v8 O9 w6 @/ y* Q
  1043. ;mail.log = syslog
    4 f( a% \. N+ S9 }8 ?
  1044.   Q1 W$ U# B" f$ b- v+ C
  1045. [SQL]
    ! V+ A. c/ f6 c8 P8 X
  1046. ; http://php.net/sql.safe-mode8 y  `+ H1 c; G6 M/ w. ~6 c% o+ ]2 v
  1047. sql.safe_mode = Off' {- E) O, K' L6 |3 S9 ]* A
  1048. ( X0 _! K' \. n9 ]4 l) V
  1049. [ODBC]
    0 \$ }- O% c3 N/ x8 t; {
  1050. ; http://php.net/odbc.default-db
    ' q" m6 L9 d; ]7 @& T/ i& f5 ^4 N
  1051. ;odbc.default_db    =  Not yet implemented
    1 P( A- o2 r3 B3 r! R4 H8 J
  1052. 2 o$ o0 T* z' i  t
  1053. ; http://php.net/odbc.default-user, e$ }! K; w! {$ |) _# Q% U
  1054. ;odbc.default_user  =  Not yet implemented
      [5 O$ i5 [! g) E
  1055. & z- M. U* ?0 W: n" J/ v
  1056. ; http://php.net/odbc.default-pw" X# W- l3 Y# j  A% R' C
  1057. ;odbc.default_pw    =  Not yet implemented! V& I1 d" C4 T+ E- R" c: f' ^

  1058. 3 Y! S& C) }6 ^& z- R# h( |0 C" y6 p
  1059. ; Controls the ODBC cursor model.+ G1 X0 U, U, z1 @5 U; [( ^
  1060. ; Default: SQL_CURSOR_STATIC (default).& D) ?. h* w$ I! @1 \. ^
  1061. ;odbc.default_cursortype
    ( i8 f" ~( u0 P  ?3 l4 u% A& o" ^
  1062. / H7 _  o% v+ ?4 J& r' r
  1063. ; Allow or prevent persistent links.
    8 h. I* V8 R' V1 b" c
  1064. ; http://php.net/odbc.allow-persistent
    7 V4 m3 Y" o5 z
  1065. odbc.allow_persistent = On( f) z' C! W; x+ y
  1066. ) s5 `& R4 L6 A& {4 g) I9 k
  1067. ; Check that a connection is still valid before reuse.# Z8 X, {' B. S4 F5 w$ _' m' e
  1068. ; http://php.net/odbc.check-persistent! E, b5 v1 ?$ }! `5 Y
  1069. odbc.check_persistent = On: t2 [" ~* @# U" g' T, V- T% H
  1070. $ h; Q' D6 G) O
  1071. ; Maximum number of persistent links.  -1 means no limit.4 M3 ]" f$ Y7 n3 G
  1072. ; http://php.net/odbc.max-persistent
    0 F) [( ^% l+ j
  1073. odbc.max_persistent = -1
    & o- V: e- g* a8 g! u1 W
  1074. - D- E$ n( V8 d8 |
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 ~7 q+ G" V' [, q
  1076. ; http://php.net/odbc.max-links. x; p. L9 C) E4 {3 F4 j# s5 p
  1077. odbc.max_links = -1* S+ o/ L) {, K( e7 E1 [% T
  1078. 4 y' S. ^" P* c1 v# ^
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    & F+ r$ G: q' P$ ~* F0 @
  1080. ; passthru.
    8 P' H" g) O+ C" ^# T$ O, G  U& Q
  1081. ; http://php.net/odbc.defaultlrl
    + r; L1 t) J% Q; k. e1 P$ E
  1082. odbc.defaultlrl = 4096
    ' D4 }1 K7 J" H: c& F
  1083. # W; G% H! N! U
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.' K' {: T3 l+ ?& W# l
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation% B4 o4 s0 {: s  h/ t
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode+ D( A+ q1 K! U! d
  1087. ; http://php.net/odbc.defaultbinmode5 s  a& U2 e2 f" ^& {  W6 M
  1088. odbc.defaultbinmode = 1+ f; p  B6 v" P9 _7 S- {
  1089. 5 ~- i3 q: n8 `
  1090. ;birdstep.max_links = -19 t( Q8 v* C- ^% g- \0 B

  1091. " `3 ~: E% i3 x. G0 {2 |+ u/ X/ l
  1092. [Interbase]. u8 @. q* `+ h. Y" T0 Q
  1093. ; Allow or prevent persistent links.+ H$ r: J8 X; Q4 t8 E
  1094. ibase.allow_persistent = 1
    ; d2 @; {, k4 N" `) ?
  1095. 1 ^. Z) u3 m% f5 v8 _( V
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ' Y5 R: I5 i/ z
  1097. ibase.max_persistent = -1; N1 x+ O9 d) P6 l6 k1 u

  1098. / I% {, _6 }' x% `* I  {) y
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    : T& f, I$ d% a- i& q0 h1 F" a$ A
  1100. ibase.max_links = -1! P% o' L) \" E: L3 X0 K, i; w
  1101. 3 G5 b( J& K' a, f+ j
  1102. ; Default database name for ibase_connect().+ C" \% N% `- |3 ?& i* R5 D* s' ], H
  1103. ;ibase.default_db =
    8 L( ?5 s, o7 s% p' O: V! ?+ i. B

  1104. & r* |0 t3 `) [: @. L/ {: ?
  1105. ; Default username for ibase_connect().
    * m+ _, k% u" m
  1106. ;ibase.default_user =$ M- k! S# ?/ N
  1107. " U! y8 i% V6 L$ v! p6 K5 [, Z& |
  1108. ; Default password for ibase_connect().% D. ~# K6 t: w
  1109. ;ibase.default_password =5 t- q4 L( i; @% z2 z8 c+ G

  1110. " p3 G  R) C1 H# t
  1111. ; Default charset for ibase_connect().
    , v, m1 D( b+ n3 F" K
  1112. ;ibase.default_charset =, \7 z9 T; b8 P8 T8 \
  1113. 2 m3 |8 t2 Z# {: J' f4 N
  1114. ; Default timestamp format.8 m2 J' \, P9 H- o9 {& n/ \
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"! |. Q+ ~' y9 ^  g( ^) [; _- P

  1116. : g5 C8 \) g' V: v3 D* b
  1117. ; Default date format.
    5 P2 n" a5 {4 a% C+ f+ i; n* _
  1118. ibase.dateformat = "%Y-%m-%d"9 r. v' g8 h. W. V! F& j8 d) O8 H
  1119. % s5 @2 F8 [0 F, [! X
  1120. ; Default time format.
    5 |4 K3 @  u$ q, N: [
  1121. ibase.timeformat = "%H:%M:%S"
    $ \' ^  G! f7 `! x2 W5 @

  1122. ) H8 S, S2 K% `  j" ~; Z
  1123. [MySQLi]) b( M: ^% l* X  l5 h

  1124. ; u$ z5 U# t, K" B& L
  1125. ; Maximum number of persistent links.  -1 means no limit.
    8 r6 ?) ?8 v4 L2 \* O# O
  1126. ; http://php.net/mysqli.max-persistent
    4 J+ v: d$ ]* ^' Y
  1127. mysqli.max_persistent = -1' a: ~5 B& |* p

  1128. $ X' M' a: N% h+ H' [' v" r
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    # g7 ^$ w  \) G: T& r! P
  1130. ; http://php.net/mysqli.allow_local_infile
    5 Z- x- _, e3 M
  1131. ;mysqli.allow_local_infile = On
    1 O9 N- t! ^$ n% X) m( D; J

  1132. ' I' t) j0 I, y9 Q( R# H) s' C0 J
  1133. ; Allow or prevent persistent links.
    1 X+ P+ X; w* U/ K8 c9 W7 [# o0 g
  1134. ; http://php.net/mysqli.allow-persistent- j* v& N& `. d" s3 |- e, |# q
  1135. mysqli.allow_persistent = On
    7 C* N  }' ~3 b- K& w5 [& q' W

  1136. , i# q; A5 T1 V0 R! w2 b
  1137. ; Maximum number of links.  -1 means no limit.
    & M! a* h6 f+ U5 ^" V
  1138. ; http://php.net/mysqli.max-links
    % J$ e$ t3 V( W
  1139. mysqli.max_links = -1
    5 w  }3 K& k9 }3 I# D# a

  1140. 9 z. W" Z( g$ w
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache' K( C. ~. j: G: U: Z2 ]( \3 N
  1142. ; http://php.net/mysqli.cache_size& f) H% J3 R, ]! f2 |% u
  1143. mysqli.cache_size = 2000
    $ J" M& M- A$ u- W

  1144. 8 r: W" a2 s' s( w" E
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    / ?6 U* E" Y9 r
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    2 G. Z2 I& [# E& q
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look5 }. M7 g, B* ?8 U
  1148. ; at MYSQL_PORT.
    8 `8 E+ T! i( O
  1149. ; http://php.net/mysqli.default-port
    # ~  w$ q- k' t0 }
  1150. mysqli.default_port = 3306
    ) m$ [$ h4 v0 @: c3 E. w

  1151. 5 c. Z3 n; ?/ U' z: K
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in" L1 k% w% S- g9 f# e
  1153. ; MySQL defaults.
    6 `, J( w' |- x
  1154. ; http://php.net/mysqli.default-socket1 r2 ?7 Q- w; L4 B7 l" v1 z/ n
  1155. mysqli.default_socket =
    2 y( t& D5 [* b4 e
  1156. 5 j+ f* O6 ?" }! `
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).5 k/ l4 E5 Y4 T: j0 x# O" |
  1158. ; http://php.net/mysqli.default-host* E; S0 V$ J$ Y
  1159. mysqli.default_host =3 p* h: ]! q& s0 ]) g: y
  1160. 2 e  d) d1 S  g0 D
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).: T4 g+ z5 ?  \- Y9 H
  1162. ; http://php.net/mysqli.default-user/ r  o5 Z! @* E
  1163. mysqli.default_user =6 [- H& J$ {3 T; J! w
  1164. : E% g0 Q: c) U+ r& I
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).* q4 D& B- N, F
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.* O9 v7 n4 z4 K
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")& p' K. w9 Z0 ^- C
  1168. ; and reveal this password!  And of course, any users with read access to this9 e0 P4 M# w% D# F7 X! p* i
  1169. ; file will be able to reveal the password as well.
      i$ I' K% l  v! Z4 ^* O' _
  1170. ; http://php.net/mysqli.default-pw
    % d7 D) h* O1 v, E
  1171. mysqli.default_pw =
    3 O  H" [  j4 Y4 U

  1172. + k( H" W, k" {# a2 a: x
  1173. ; Allow or prevent reconnect
    ( G8 b7 y3 \1 a4 B1 \
  1174. mysqli.reconnect = Off- V; K7 x" A* {5 @) |$ X: Y* Y  F
  1175. ; B  G" r' H, U* {/ D. b
  1176. [mysqlnd]" W, D4 @; W+ L7 Y9 ~
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    & a) n' ?) s0 C' t8 s
  1178. ; used to tune and monitor MySQL operations.5 B9 f: [" }# h. V& W+ C
  1179. ; http://php.net/mysqlnd.collect_statistics
    & h" y( M  l3 V  j
  1180. mysqlnd.collect_statistics = On
    : s: A3 A. i/ E& N" x  d7 P

  1181. 1 E$ _) B" c! W  ^9 K
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be/ V( O3 P& g- v. h2 d4 u' s/ M
  1183. ; used to tune and monitor MySQL operations.
    8 p, {2 H! ?" x# A& ~
  1184. ; http://php.net/mysqlnd.collect_memory_statistics7 o4 C  [, m' d, x0 i0 h: R6 ~3 T
  1185. mysqlnd.collect_memory_statistics = Off* E: p  D7 m2 v$ W. d
  1186.   {/ A( ]1 M9 ^2 x# k  s- z$ s
  1187. ; Records communication from all extensions using mysqlnd to the specified log4 [* u1 z8 b& _* K
  1188. ; file.
    # t& Q! G( w  o: U- _. ?- J
  1189. ; http://php.net/mysqlnd.debug
    ; |# V" H  h$ G7 s$ w( S
  1190. ;mysqlnd.debug =9 c' f1 K3 P1 y6 g$ M# G

  1191. ' K0 g! k5 @- m
  1192. ; Defines which queries will be logged.
    . s0 f: r0 Y0 s) W. b  C4 z
  1193. ; http://php.net/mysqlnd.log_mask0 I3 j- z- q+ w* Y; h
  1194. ;mysqlnd.log_mask = 0
    . c1 x0 V- o1 O2 v* {0 m" l/ a* R

  1195. - u( L5 m# x4 I4 \" s6 R
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    8 C; k3 n) |; b3 P: Z- U9 {7 g: A
  1197. ; http://php.net/mysqlnd.mempool_default_size
    9 v9 Y, T. E( h# |  J
  1198. ;mysqlnd.mempool_default_size = 16000
    5 C8 ~( ]+ M. O. \3 _

  1199. ) T: }7 X3 J1 N5 F( z
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    $ o1 c1 G1 H6 Q1 z! j
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size) A. S% j3 D6 o
  1202. ;mysqlnd.net_cmd_buffer_size = 2048% f1 ~, k8 P7 j+ P

  1203. ) }! D. o2 ]9 p9 S$ m' i
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    3 `2 u+ e% v& F$ T9 f8 z+ N7 `& _( l1 s
  1205. ; bytes.& v! `3 ^8 u+ c8 o
  1206. ; http://php.net/mysqlnd.net_read_buffer_size, D$ A3 r/ \; F, s' Q! |0 D
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ! n' x# Y' F& A. C$ w. o2 m
  1208. * G% v1 O3 o: R" t  q5 P, v3 B" b
  1209. ; Timeout for network requests in seconds./ {* t1 v; o( q! C, d% [
  1210. ; http://php.net/mysqlnd.net_read_timeout
    : x+ X; ^. i; k: J4 O0 ^
  1211. ;mysqlnd.net_read_timeout = 31536000# \! i; S1 O+ H/ B4 g4 Q
  1212. 7 }  M  ]( o6 F5 R8 h/ c  @
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    : J5 c& R4 M9 o8 \2 T
  1214. ; key.
    % }9 G+ H5 E+ O: Z. ?% D6 g
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    9 r& W' P! k% i0 P9 q
  1216. ;mysqlnd.sha256_server_public_key =
    . @# N2 I* F$ ]8 ^3 {
  1217. * O- _0 a2 H1 o: E
  1218. [OCI8]# d6 l' E: K5 o' R2 E. X, q3 Z' a

  1219. # ]! o( s) D( @) ?% P
  1220. ; Connection: Enables privileged connections using external
    ! @6 ~4 s0 \! d) ]
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ; a# A- k# m* p9 a
  1222. ; http://php.net/oci8.privileged-connect
    3 N! s' r7 I8 o. v- A) p
  1223. ;oci8.privileged_connect = Off
    4 J. {/ a. z' Q; m6 e1 Z$ ]
  1224. ( g9 w3 H4 _) Y
  1225. ; Connection: The maximum number of persistent OCI8 connections per5 A0 n( k4 Q# i
  1226. ; process. Using -1 means no limit.* S8 E% R$ G# O0 y; j
  1227. ; http://php.net/oci8.max-persistent. b9 J! h6 o4 j8 E2 M
  1228. ;oci8.max_persistent = -1
    1 J# ~4 |+ ~; {7 S- f6 M1 h

  1229. ; g, Q4 ^$ ^: W& H, X3 u
  1230. ; Connection: The maximum number of seconds a process is allowed to5 S( @6 Y/ v& c3 t) z
  1231. ; maintain an idle persistent connection. Using -1 means idle
    & P. X8 |8 U: c
  1232. ; persistent connections will be maintained forever.
      Z$ O/ t+ M% h$ W: b" b9 u) l: @
  1233. ; http://php.net/oci8.persistent-timeout
    : H: U/ H, ~" h, h; A
  1234. ;oci8.persistent_timeout = -1
    ; K3 g4 e, C7 o0 T7 z: u+ ?
  1235. 0 r$ }! ?2 _7 G( |
  1236. ; Connection: The number of seconds that must pass before issuing a5 d3 X! Y: u1 a% R. R& A) D% d  A
  1237. ; ping during oci_pconnect() to check the connection validity. When0 M! c+ n! l# C. q6 ^  u1 t4 ^7 L
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables" F  O# G7 ]1 P* H2 e5 K; y) s
  1239. ; pings completely.$ [1 y+ s' B5 R5 p
  1240. ; http://php.net/oci8.ping-interval4 d6 s/ v- e9 B
  1241. ;oci8.ping_interval = 60( O6 K- g  g9 ~- h: X! T' x( M

  1242. 0 q* {4 g3 l1 J
  1243. ; Connection: Set this to a user chosen connection class to be used
    ) N% v9 d/ l! x4 W
  1244. ; for all pooled server requests with Oracle 11g Database Resident' Z& i$ D! E+ E
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to( ~5 D# l# {1 n$ A
  1246. ; the same string for all web servers running the same application,
    8 M; {/ H. ?) k, n: q: n; M0 \
  1247. ; the database pool must be configured, and the connection string must
    0 d" U; r* j1 o- v
  1248. ; specify to use a pooled server.' `1 B* w+ h5 C$ v
  1249. ;oci8.connection_class =7 S( X- e; p0 ^. Y/ L/ U2 ~( F7 X
  1250. ; u  V8 _# v' k8 c5 N# r
  1251. ; High Availability: Using On lets PHP receive Fast Application6 q7 a; q" A7 C1 F( W
  1252. ; Notification (FAN) events generated when a database node fails. The' I( q$ L' y9 a/ f8 n
  1253. ; database must also be configured to post FAN events.
    ; S" p$ K' {$ q" U
  1254. ;oci8.events = Off$ T% N' j* k- p  a) v3 d
  1255. " j, ~2 P/ f, w# u
  1256. ; Tuning: This option enables statement caching, and specifies how2 E+ w  C% ]: W1 S6 p
  1257. ; many statements to cache. Using 0 disables statement caching.9 i9 u0 }$ V( K( W4 H& g+ C
  1258. ; http://php.net/oci8.statement-cache-size
    : ]4 H* d" G. s( O( T& l
  1259. ;oci8.statement_cache_size = 207 g# f. h6 H1 z9 T

  1260. / z  Z2 Y6 c2 ?  f* l
  1261. ; Tuning: Enables statement prefetching and sets the default number of% }, O. |; Z5 J9 N5 c; R
  1262. ; rows that will be fetched automatically after statement execution.
    1 r8 y; ^) B- w( r( {+ R$ g
  1263. ; http://php.net/oci8.default-prefetch
    7 s- c+ y- b$ M! }
  1264. ;oci8.default_prefetch = 100
    9 E0 g- w6 `( W# i
  1265. % X. }9 n( o" T4 I+ J
  1266. ; Compatibility. Using On means oci_close() will not close
    ! Q- V) o; r# J% W0 ~0 [0 E
  1267. ; oci_connect() and oci_new_connect() connections.
    ' k% h$ ]7 ?* H
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ; |! v9 H3 x$ r# C8 s
  1269. ;oci8.old_oci_close_semantics = Off
    : t3 j2 @+ m3 k  U: o5 l
  1270. 3 w. t1 {0 h  A0 }. a
  1271. [PostgreSQL]
    3 W9 @1 m- l3 H3 L, {+ m
  1272. ; Allow or prevent persistent links.
    $ ^: P! W3 [% A! J- Z
  1273. ; http://php.net/pgsql.allow-persistent) F* g4 \5 y2 w) ^9 i
  1274. pgsql.allow_persistent = On
    ) s' d* t( o) o9 w( ^: ]6 X2 p
  1275. 3 v. i; P1 T) X
  1276. ; Detect broken persistent links always with pg_pconnect().- g' y/ d- `4 y  d  v8 d
  1277. ; Auto reset feature requires a little overheads.
    3 O: G  L% o& T
  1278. ; http://php.net/pgsql.auto-reset-persistent
    " h6 Q2 Z! Q& y% f4 l$ _
  1279. pgsql.auto_reset_persistent = Off" k& z0 {4 d; l2 T. H0 ?  _) I
  1280. " \1 R& U. Y7 |8 @& c
  1281. ; Maximum number of persistent links.  -1 means no limit.
    " m2 O# f' T3 Q/ X7 H* O
  1282. ; http://php.net/pgsql.max-persistent4 R) i3 D2 V3 C. R! m
  1283. pgsql.max_persistent = -1  _, d/ O; J2 g: y
  1284. ' ^# S. ]9 u; z5 o1 Q9 [9 X# x
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      l; q5 ]' S  z; W' U
  1286. ; http://php.net/pgsql.max-links7 i9 Z; b4 y0 `7 h% H2 m& M
  1287. pgsql.max_links = -1) T9 C8 k* i1 {8 c9 X9 ~

  1288. 5 Z& J/ Y/ }5 \4 c
  1289. ; Ignore PostgreSQL backends Notice message or not.2 \0 p. A8 D4 L% X4 Q, l2 W
  1290. ; Notice message logging require a little overheads.
    : i3 f3 m8 U  |2 Z6 e) q; j& ~, q
  1291. ; http://php.net/pgsql.ignore-notice7 u. A' t) v+ Y( q# g
  1292. pgsql.ignore_notice = 0
    ) R$ X5 Z) E. ^1 y* S

  1293. 9 _. u, b7 y, e9 d
  1294. ; Log PostgreSQL backends Notice message or not.
    1 v! ]2 D) _" L1 J; k6 t
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    - M) }, n! r6 \8 A
  1296. ; http://php.net/pgsql.log-notice) m1 {3 z# _; a" L8 Y4 P  y5 N
  1297. pgsql.log_notice = 05 @; g2 e4 \( ~; n

  1298. 9 \% T( i" S( \  Z9 i! S  t# ^
  1299. [bcmath]( t! l, }+ k4 c5 K/ {5 d
  1300. ; Number of decimal digits for all bcmath functions./ K; _) _' L; G+ k! G! x" T% s
  1301. ; http://php.net/bcmath.scale$ o5 H# M0 P1 w- o1 v. k3 T8 A
  1302. bcmath.scale = 0
    * \& R) r1 V, F! d- x/ n2 h* a' I4 M
  1303. 8 l0 B3 ^. L1 X
  1304. [browscap]
    1 o! K0 b: X" G7 L2 ^$ \+ o
  1305. ; http://php.net/browscap
    ' h( V2 y! q( H1 ~
  1306. ;browscap = extra/browscap.ini) n% D) |* [1 l! w" v# i
  1307. ( t" Y! B( I, j- r4 Y
  1308. [Session]
    7 X# w, k& @; K, `5 y
  1309. ; Handler used to store/retrieve data.5 D; J+ W, ^3 j" N# s7 q' ?
  1310. ; http://php.net/session.save-handler
    # _( W) v. d& j" Y6 E
  1311. session.save_handler = files
    $ {: U- n5 X! c

  1312. 9 Z1 v0 S3 Z1 H6 d
  1313. ; Argument passed to save_handler.  In the case of files, this is the path3 \, U7 D. x8 O' `* c" g: f9 b
  1314. ; where data files are stored. Note: Windows users have to change this: I( C3 R! q; m2 p) u! a
  1315. ; variable in order to use PHP's session functions.' y3 Y- c' G" c8 }
  1316. ;2 k4 b. u$ q9 b7 y. B
  1317. ; The path can be defined as:2 @5 {1 w$ h- ]$ K/ G( K# E; Z
  1318. ;
    : Y. F, s$ e4 J1 m
  1319. ;     session.save_path = "N;/path"
    7 |# h( h8 u% |2 H0 l
  1320. ;
    7 G7 i. @. j  t1 b. C; F# ^% W
  1321. ; where N is an integer.  Instead of storing all the session files in# @- [6 `3 e# q/ g& c
  1322. ; /path, what this will do is use subdirectories N-levels deep, and* S. ?6 |$ q7 B5 Q. \7 B
  1323. ; store the session data in those directories.  This is useful if
    0 `; E- P$ [+ R9 p& L% b: u! E
  1324. ; your OS has problems with many files in one directory, and is
    0 G0 }; S0 x6 \) ]4 \
  1325. ; a more efficient layout for servers that handle many sessions.  K1 F" w4 w: l6 Z6 q- M( F
  1326. ;' v5 c5 j. l- T3 w' H2 |
  1327. ; NOTE 1: PHP will not create this directory structure automatically." v4 d. S0 E& e# o- A
  1328. ;         You can use the script in the ext/session dir for that purpose.& U9 t2 s6 Q1 Z" m
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    + T4 b# p7 p7 N) t/ y3 C; W* m
  1330. ;         use subdirectories for session storage! n9 W  y! j. ^- l  d
  1331. ;4 \2 B+ s. U: O6 j" z4 }( M7 i( M
  1332. ; The file storage module creates files using mode 600 by default.
    ! i: ^- c3 W3 L+ D
  1333. ; You can change that by using$ o6 c) i/ ~( y4 Y% j8 \8 L% S- v
  1334. ;
    1 w# u: N! J& Z0 O
  1335. ;     session.save_path = "N;MODE;/path"- \3 h- J: Q" L- _  U3 c7 B0 E
  1336. ;
    0 Y3 h8 C$ Y& [. k0 i8 Z
  1337. ; where MODE is the octal representation of the mode. Note that this; q" Z- J/ `) V. d% q$ R; j
  1338. ; does not overwrite the process's umask.
    ! _+ p. l8 i- c0 Y3 L8 l
  1339. ; http://php.net/session.save-path
    " n$ N; c6 a! u; N- z$ B3 `9 g
  1340. ;session.save_path = "/tmp"
    2 z8 P$ C+ A# b& j) {/ E

  1341. ' h7 F- x1 `+ R: a# X: j8 S* D
  1342. ; Whether to use strict session mode.
    - f: M- Z( c8 q. u: C' U, U/ Z
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate1 {: i# C4 R$ _% [. y# N
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects  s6 `: `0 `2 o8 @$ g/ b6 i- ~
  1345. ; applications from session fixation via session adoption vulnerability. It is8 b6 ~* e1 ?( g
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.% i% ~$ ]# N- [, [) h' i$ S% n# s, Z, W  ^
  1347. ; https://wiki.php.net/rfc/strict_sessions
    ; ?2 C7 ]0 R3 c7 b0 k: F6 O' _
  1348. session.use_strict_mode = 0/ F* z) i: T. v* g$ k2 R, x2 V

  1349. 4 g% b. @0 v0 @
  1350. ; Whether to use cookies.
    " q5 U5 f, n/ f+ ^( q
  1351. ; http://php.net/session.use-cookies: q" t/ l  u# l6 I2 P' r5 k
  1352. session.use_cookies = 1
    ' H$ m4 r- b  _# M
  1353. / {, f: f+ L6 R5 x2 j
  1354. ; http://php.net/session.cookie-secure
    + A2 ^* h5 _9 p' j
  1355. ;session.cookie_secure =' i5 h; D& M. D) D0 W: g

  1356. 0 H) \+ [! V1 Y* ~4 ^. b# o
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining7 c( B  Q9 U& Z$ T5 B0 a; n+ l. N
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    9 |3 k( t* S3 W; _3 i# l& d
  1359. ; session hijacking when not specifying and managing your own session id. It is
    3 d( L3 q/ H' u5 ^( d3 U
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start., A2 n, Y! d9 n. i
  1361. ; http://php.net/session.use-only-cookies' z) Y$ f+ M6 c9 j3 ^0 V
  1362. session.use_only_cookies = 1
    $ t" N7 y0 Q/ i" n' ?- s" k/ z

  1363. 4 x" [4 m* r% `  a* E* }1 Y) [
  1364. ; Name of the session (used as cookie name).
    4 S7 p# U* G5 s& k5 {
  1365. ; http://php.net/session.name
    4 \* M' p' h& P+ T: V$ o) |
  1366. session.name = PHPSESSID4 D) Q' S. B: \  R
  1367. $ `3 |- e* }  G$ V" \' l
  1368. ; Initialize session on request startup.: H7 h1 C' ~* O  V
  1369. ; http://php.net/session.auto-start
    2 Y# [3 Q$ k) ^
  1370. session.auto_start = 02 v: L) V' n: k) a' w! \& V9 o4 b5 _
  1371. % H: {8 [6 u2 z
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.3 C' j3 G: \5 H% j' l9 T9 h
  1373. ; http://php.net/session.cookie-lifetime
    ! x$ \, }4 j$ _* w: G' b
  1374. session.cookie_lifetime = 08 r- l$ y9 ^* O$ {; P- A

  1375. ( y+ h' U; }, }! R: t5 M  l
  1376. ; The path for which the cookie is valid.  g1 w  D; ~/ c+ @% k8 `& v
  1377. ; http://php.net/session.cookie-path
    6 m( a" W/ K7 S
  1378. session.cookie_path = /
    ' X5 f: L8 R. `# v+ E0 H5 Q
  1379. 9 @7 n% B% }; |8 {! Z
  1380. ; The domain for which the cookie is valid.4 s3 w; c, p# o
  1381. ; http://php.net/session.cookie-domain5 x! M$ }" g: \
  1382. session.cookie_domain =* ^4 W6 {7 E5 F5 y0 z0 o# X( D

  1383.   f% {6 |0 C; O$ G( n7 M1 K3 P; U
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ' N2 v' W) M! T! Q. I0 F' _- i
  1385. ; http://php.net/session.cookie-httponly) `) r6 [% M- a. z9 x- P' l: _
  1386. session.cookie_httponly =% |1 n+ a- [& u* F+ t: `

  1387. 4 w: K5 b) N6 I) G
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP." H! L) a4 ^, B) _9 G. R( X- q
  1389. ; http://php.net/session.serialize-handler
    ; P, d1 M( I+ A0 y9 G" H
  1390. session.serialize_handler = php
    % y; q- e8 R: I3 e( V: g, o

  1391. # R8 o6 Q' ?8 H4 O  Z
  1392. ; Defines the probability that the 'garbage collection' process is started
    ; l& m4 [  |3 ~# L4 X; {+ M
  1393. ; on every session initialization. The probability is calculated by using" j  q% A& v  Q) L- `
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator4 G& |6 |+ ]5 r* D
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    # [3 w' Z3 p+ `; b! ]) }, Y
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance# C+ @' Y7 q/ s. u* k! n# e# r
  1397. ; the gc will run on any give request.* T; V0 C& y9 w9 E3 V
  1398. ; Default Value: 1
    3 F4 Y# R' ^; p6 P5 D3 A
  1399. ; Development Value: 1
    8 r; e7 u5 O& ^1 \* B, o
  1400. ; Production Value: 1
    ! j6 ?# X' I; ~
  1401. ; http://php.net/session.gc-probability
    - p- ?6 t' q/ O+ @
  1402. session.gc_probability = 1
    $ J0 l) A1 e* Q1 ~4 i

  1403. 6 L* C' Q# \, k" D0 H' h8 s
  1404. ; Defines the probability that the 'garbage collection' process is started on every) S4 [8 A0 y/ ~, Y) T$ n
  1405. ; session initialization. The probability is calculated by using the following equation:
    6 }" W3 W1 L, r! t3 q- R2 C
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and- t) O6 w" a, F+ `# b
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    - @. I) A0 O0 I3 V
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance% s! D2 e$ N7 K! v, l% @7 |' \( s9 ]
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you6 a6 E4 y0 A& s1 h! \) r2 [
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ( l, l& h6 {( a+ \) h: }& V9 u
  1411. ; this is a more efficient approach.& A6 \7 m, s$ ?& @( p/ S: J
  1412. ; Default Value: 100
    " m+ ?5 O" [0 Q% ~+ m" P5 h: @8 q
  1413. ; Development Value: 1000
    " S+ ^# S/ T) q! A- J' X& d
  1414. ; Production Value: 10000 m- v/ \9 `2 K3 K+ j
  1415. ; http://php.net/session.gc-divisor. B$ \; A+ n, k. e2 y" n3 x
  1416. session.gc_divisor = 10004 B! S1 t; {/ n% n0 _8 P
  1417. 0 D/ K" V8 ]% [- o& c8 O/ q3 B; J) I
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    2 R+ T) R, o$ U- F3 ~. s
  1419. ; cleaned up by the garbage collection process.6 I! Z2 G9 r4 T+ f. }) Z9 m
  1420. ; http://php.net/session.gc-maxlifetime! ^0 Q) I; X# w. |. }4 q
  1421. session.gc_maxlifetime = 1440; P* P4 D% J' W( g% C0 d# b

  1422. 2 z; Q3 v7 m7 C$ ]+ q7 ^0 |
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    ! C3 A) P2 b4 z; C( A
  1424. ;       (see session.save_path above), then garbage collection does *not*
    " m; w0 s9 ^. o' y' x: a7 u
  1425. ;       happen automatically.  You will need to do your own garbage
    8 G: k3 x3 N1 j3 A
  1426. ;       collection through a shell script, cron entry, or some other method.9 Y% b! Y- ~6 K, ^. a
  1427. ;       For example, the following script would is the equivalent of8 e, l  d: N4 X# i/ u0 M! P$ |
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    2 E2 {3 A. {) c& p0 q# b
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    2 A- \+ M; `3 S
  1430. & x* i/ Q0 p6 n7 R) E" _. x( D
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.' O! S" y4 g6 Y5 H( i
  1432. ; HTTP_REFERER has to contain this substring for the session to be3 E+ [: ^, \+ N1 A/ M; O2 w
  1433. ; considered as valid.
    ( }" g# O0 T9 T1 B5 S2 @, ~9 H# R* p
  1434. ; http://php.net/session.referer-check
    ( \1 ^$ b7 M- m3 m  e6 Z) K
  1435. session.referer_check =/ j! x5 T6 O! l: k) ~1 T

  1436. 8 d7 O: ?2 C" r! B0 q& x% w: H
  1437. ; How many bytes to read from the file.
    5 c6 y" Y6 ^0 b1 L) T" [; ~' W
  1438. ; http://php.net/session.entropy-length9 `+ x6 j' X4 ]( `
  1439. ;session.entropy_length = 32
    ; m, J' Z1 X- n" }
  1440. ' z% x+ I8 J$ i( |, v/ w5 g# w$ A8 V
  1441. ; Specified here to create the session id.6 L8 {9 \' Y6 T* g7 a# m, H# P
  1442. ; http://php.net/session.entropy-file* ]' A& B" W/ q( R; [4 f
  1443. ; Defaults to /dev/urandom: @8 |8 P# J9 Y& T
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom( E  K2 a; M4 \- Y. _0 O5 o3 C% l/ t
  1445. ; If neither are found at compile time, the default is no entropy file./ n. S7 P# \! t; n
  1446. ; On windows, setting the entropy_length setting will activate the
    # U. n- q! A5 u3 x+ J
  1447. ; Windows random source (using the CryptoAPI)
    $ c" l# u1 Y0 E6 A& y6 C5 ?  {
  1448. ;session.entropy_file = /dev/urandom
    , c. h2 i7 r0 I( w2 |# r! K: }

  1449. ) Q5 B% f* K( }: B% h
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    , V- X8 _1 t9 {& b
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ( _! L4 D% L2 z! D
  1452. ; http://php.net/session.cache-limiter# t4 ~2 s* f7 p5 H8 v
  1453. session.cache_limiter = nocache
    ' Z8 G; q2 w, \* j# V
  1454. - t0 {: S+ @& K5 l( z& k) H
  1455. ; Document expires after n minutes.
    4 B8 y9 O8 q6 M6 V, k' X* U5 {
  1456. ; http://php.net/session.cache-expire
    ' d9 j. V1 Y% y$ @' B% s+ r% i! w
  1457. session.cache_expire = 180
    ' T- a' F9 n9 T1 z* R& b- d) m
  1458. ( g5 j" V9 f. h& p8 {6 E1 l
  1459. ; trans sid support is disabled by default.+ V. [0 w9 P" T
  1460. ; Use of trans sid may risk your users' security.
    ! Q& ~" z: M8 D8 ~! |5 Y6 \1 A0 o
  1461. ; Use this option with caution., |* H2 \! `& u$ Y
  1462. ; - User may send URL contains active session ID6 I4 k/ g. w4 O9 r% x: Z+ @3 t
  1463. ;   to other person via. email/irc/etc.  ?; E% h! p9 c. y" [: a
  1464. ; - URL that contains active session ID may be stored
    9 o: ?( K4 z9 P" G& q* Y" z2 Y3 l
  1465. ;   in publicly accessible computer." B/ s9 X4 w! D0 Y6 e+ V2 i& t
  1466. ; - User may access your site with the same session ID
    ' C+ V7 F$ X8 N" ?
  1467. ;   always using URL stored in browser's history or bookmarks.9 i' e& g+ \0 T* A, h
  1468. ; http://php.net/session.use-trans-sid
    ; A" J* Q3 R  Z* l
  1469. session.use_trans_sid = 0
    ( m# ~& A' D* S9 u" S& F" T

  1470. " l6 I( c& n1 a# M. S3 W' |; Q
  1471. ; Select a hash function for use in generating session ids.
    * j  Z( P/ Y% ]
  1472. ; Possible Values
    * B6 ^/ Y0 i& |1 \
  1473. ;   0  (MD5 128 bits)+ @; e' g. k; s7 a! I, c  R
  1474. ;   1  (SHA-1 160 bits)
    ; o3 g' H% \5 i' G
  1475. ; This option may also be set to the name of any hash function supported by
    7 J9 T- Z8 w! |0 q! [  |. G
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    1 |* O7 S' P/ @9 w( {
  1477. ; function.
    2 T8 R) s1 A( v+ J
  1478. ; http://php.net/session.hash-function
      N* v+ y) Y( I: U# }3 s) T1 z
  1479. session.hash_function = 0# f! ?6 E, K6 g7 v" A  c8 u1 D
  1480. 0 i- t' e: m% u' K8 j: p0 V1 w
  1481. ; Define how many bits are stored in each character when converting
    - K. E& B8 ?5 F! [7 s& `
  1482. ; the binary hash data to something readable.
      \8 ?$ h$ H1 b% d. B
  1483. ; Possible values:
    % I& w" Y1 i  R. Z+ e
  1484. ;   4  (4 bits: 0-9, a-f)
    9 d: E2 U8 i- ~7 l4 m
  1485. ;   5  (5 bits: 0-9, a-v)
    + K( C! j. D. C5 H3 ]0 ^
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")6 N! V+ x( x* }
  1487. ; Default Value: 4
    , q' f4 X# D9 w# \; u* S, v/ J* N
  1488. ; Development Value: 5
    1 z0 M8 ^5 f/ E# p6 O9 m
  1489. ; Production Value: 50 g: ]2 W0 F9 _# r# i# N
  1490. ; http://php.net/session.hash-bits-per-character
    * H$ {1 @" |, z6 g) C
  1491. session.hash_bits_per_character = 5
    % M! D9 A6 u. U
  1492. $ h; n: z( P! V! M8 m
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.$ v) i& K+ t1 `/ E8 f; y' j3 O
  1494. ; form/fieldset are special; if you include them here, the rewriter will; A4 g( X% y+ T  R  i0 A+ d
  1495. ; add a hidden <input> field with the info which is otherwise appended
    : w( v8 ?5 b% [% o/ e  c! V
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ( ~1 U2 ~+ N  c% v  j
  1497. ; Note that all valid entries require a "=", even if no value follows.$ U3 _( K" S3 l
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="- U4 Z5 m) \7 J7 z& z6 b
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 ?/ g& o8 T4 p5 o6 `
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry". [# L" P' c$ {+ \& b
  1501. ; http://php.net/url-rewriter.tags
    * q; b/ f' e! s6 J$ m- t4 f
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 l( q: m2 H, n8 e+ y
  1503. " ^, Y$ ~8 X1 Y& O
  1504. ; Enable upload progress tracking in $_SESSION. J. z2 i" s9 b9 u! x( z: I
  1505. ; Default Value: On, P3 U& h/ ^: L+ Z
  1506. ; Development Value: On5 K4 b" D1 D8 D, @3 o
  1507. ; Production Value: On
    - U- x% U  O5 U" W0 j
  1508. ; http://php.net/session.upload-progress.enabled8 T, P! v/ @: v( @3 ~0 m2 w
  1509. ;session.upload_progress.enabled = On) R! @2 G5 }7 V. g  d3 i
  1510. 3 S1 Z/ k" A% @8 y' I5 X; r
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ) s/ @% ], m: ?; a# l' A: D0 h
  1512. ; (i.e. upload completed).* A* h4 t# X3 G. l
  1513. ; Default Value: On
    ) c- m  A* p& ~! X
  1514. ; Development Value: On
    1 B" t8 K% |3 E0 S5 a- C
  1515. ; Production Value: On
    2 C+ k. f6 D: m  b' k3 b
  1516. ; http://php.net/session.upload-progress.cleanup. `( T1 c2 {* w7 f8 O. {' t
  1517. ;session.upload_progress.cleanup = On
    2 y5 H* P0 q: r% c  g) N( j( R
  1518. : o0 O( w) J  y$ A7 K0 V) H
  1519. ; A prefix used for the upload progress key in $_SESSION/ h% Y) b% K9 J6 d) g! @
  1520. ; Default Value: "upload_progress_"
    6 R$ m: O3 b7 Q8 y) v3 y1 }
  1521. ; Development Value: "upload_progress_"
    & y* n" \) C; S. m/ v! I$ s
  1522. ; Production Value: "upload_progress_"
    ( o9 c1 h) g  `% h( ]6 Q
  1523. ; http://php.net/session.upload-progress.prefix6 A" g) [* q7 g& ?/ ~5 h  ?
  1524. ;session.upload_progress.prefix = "upload_progress_"
    , Z2 n4 N' i7 C, j
  1525. # K0 V7 m: @& p9 Q) }/ Y
  1526. ; The index name (concatenated with the prefix) in $_SESSION5 ^+ u2 g( I0 w. ?+ x6 H! W4 j
  1527. ; containing the upload progress information$ m: z& U! |& _+ P
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; N" @$ ^# K+ A2 U6 z7 p
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"$ s/ x. Q/ k0 A+ i  b% K
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 k: n: v" k/ w7 _, u
  1531. ; http://php.net/session.upload-progress.name
    - H+ X7 k% b& f% @& W5 M% Z
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    4 f5 c' F, @; w) \" E' c  [
  1533. & K& h7 r6 ]9 n9 {, R% }  o
  1534. ; How frequently the upload progress should be updated.2 x6 m; h. P$ J9 y
  1535. ; Given either in percentages (per-file), or in bytes7 s7 S; N! \) q4 V) z, q% t
  1536. ; Default Value: "1%"
      Q8 O  ]- E0 ^5 g
  1537. ; Development Value: "1%"
    % ~2 U6 c) v) v% F3 s3 S/ ~) B
  1538. ; Production Value: "1%"' V+ p( H) [% K  y" Q: C
  1539. ; http://php.net/session.upload-progress.freq
    2 R' U7 k2 Q4 P0 B5 x
  1540. ;session.upload_progress.freq =  "1%"
    " M9 }; v& y: {7 B( O* t

  1541. 8 T9 x: R' z7 W7 L' ~
  1542. ; The minimum delay between updates, in seconds; `- ^6 F: t7 L
  1543. ; Default Value: 1/ g7 b9 {5 D* }) B/ m" s
  1544. ; Development Value: 1
    1 f8 e3 x; ?0 J- t( N/ K8 X. @; `
  1545. ; Production Value: 1
    6 }$ g( N4 T0 {: ?' `7 z% [
  1546. ; http://php.net/session.upload-progress.min-freq+ v7 `1 d: U- J1 Y& L; n' G( U
  1547. ;session.upload_progress.min_freq = "1"
    2 @, r) t1 [# L1 K* [
  1548. 0 Z& j# _' V5 @# e$ ]
  1549. ; Only write session data when session data is changed. Enabled by default.0 j0 X- q4 E$ r4 V6 ^
  1550. ; http://php.net/session.lazy-write
    ! i2 h. n# X1 t  g/ d3 E9 f% w
  1551. ;session.lazy_write = On
    ! T, Y# u  f( e, a; ~6 R. g7 a

  1552. * ]/ x4 M0 h7 m; o( H
  1553. [Assertion]
    + F3 b) h  t$ R. @2 G$ A3 T; Y
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
      j+ w2 G1 A) W$ t9 @
  1555. ; -1: Do not compile at all6 G( X: X$ V0 v6 Y. w1 {& j
  1556. ;  0: Jump over assertion at run-time5 D7 I) E! t: z7 z
  1557. ;  1: Execute assertions: J2 Z: }* P3 i
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    $ C5 H0 V: V2 D; T! Z$ f1 Z
  1559. ; Default Value: 1
    $ X3 o: G& C- `8 U
  1560. ; Development Value: 12 h2 F8 C- D$ ?+ D. f4 p
  1561. ; Production Value: -1  z9 z6 H; u' x) ^  |
  1562. ; http://php.net/zend.assertions
    # v6 F- q' m7 m) p! i* t' \% [
  1563. zend.assertions = -1
    4 y* k* U% H8 m* Y; @7 @* e0 T% ~
  1564. 8 M3 d. V# H" e% B
  1565. ; Assert(expr); active by default.
    - C  l2 Q7 s0 [
  1566. ; http://php.net/assert.active
    : F- T6 O5 o9 d0 q2 s7 P! j3 X0 t
  1567. ;assert.active = On
    & B: d! c7 e9 n! |6 \+ r$ F. H
  1568. ! N2 J; h  t/ |" O1 x& B5 X
  1569. ; Throw an AssertationException on failed assertions- I) v: h" B2 P8 |3 P
  1570. ; http://php.net/assert.exception
    ; w" ^% t% W( I/ b% F3 A
  1571. ;assert.exception = On
    2 X! Y+ n1 }; Z8 Q/ q

  1572. ; ?0 P# B+ u9 O1 t6 J' F. f
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    + D, {6 b3 @, {
  1574. ; http://php.net/assert.warning
    ( T* M+ P+ t, D6 K/ N
  1575. ;assert.warning = On3 T5 w* j* t$ c: u* V

  1576. * s  |" [) Z$ w8 D, Q2 J4 {: [3 a
  1577. ; Don't bail out by default.
    , U4 x; `9 o/ T8 E
  1578. ; http://php.net/assert.bail' `. m- A( K+ B6 A4 U
  1579. ;assert.bail = Off, |1 M* s0 E: @* o6 R
  1580. : Y3 K( N3 R; f
  1581. ; User-function to be called if an assertion fails.. N: |- u9 ^6 v/ v, L; u9 A
  1582. ; http://php.net/assert.callback
    9 L, o  {- W. g
  1583. ;assert.callback = 0
    ; U5 c5 f2 B$ ]! X5 x9 B3 T

  1584.   ^) s  l9 z# o4 e9 ~" \, e- ]' P$ w
  1585. ; Eval the expression with current error_reporting().  Set to true if you want5 ?9 i5 {0 f: B) Y5 L& o
  1586. ; error_reporting(0) around the eval().3 g# _; S* l2 ]% R3 _) u2 R  ?8 X
  1587. ; http://php.net/assert.quiet-eval3 k  x* T) _* @9 A
  1588. ;assert.quiet_eval = 09 [( B; x9 S& i1 A" m

  1589. ( l- `1 }: Y% w9 L  c# t
  1590. [COM]  l8 P, X1 d0 _7 \8 z) ?
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    % h7 |  l1 j/ Z+ G  ^
  1592. ; http://php.net/com.typelib-file
    . m$ w9 A8 ^" Z5 {
  1593. ;com.typelib_file =3 @7 Z/ L/ U5 O2 u# u9 a1 l1 ~5 k' M
  1594. 2 J; y( t4 t4 V- V! A6 I! g
  1595. ; allow Distributed-COM calls  R$ f: X" }; R" a
  1596. ; http://php.net/com.allow-dcom
      ]# z0 u  Z7 A. E- L
  1597. ;com.allow_dcom = true
    % Q% J1 v8 r0 U
  1598. 0 x+ ~4 l. n! X" i, u+ i* u2 R
  1599. ; autoregister constants of a components typlib on com_load()* O: v2 C  P# I* X, t
  1600. ; http://php.net/com.autoregister-typelib
    7 b! E1 J. x8 G0 s( d4 N
  1601. ;com.autoregister_typelib = true
    ; j3 ~+ [! o0 u) P

  1602. 8 r: _$ J- Z$ a) Y* d
  1603. ; register constants casesensitive
    7 h0 A" Z: m, {: D
  1604. ; http://php.net/com.autoregister-casesensitive8 k5 E3 P/ {) p' t0 \' h. e7 S
  1605. ;com.autoregister_casesensitive = false" b5 n/ Y! @# q- C+ o# l5 N: L$ Y7 X
  1606. 7 \* O3 o) x( D" v
  1607. ; show warnings on duplicate constant registrations( J+ o$ \2 ^# q5 L) m1 l
  1608. ; http://php.net/com.autoregister-verbose
    ' q1 D6 V$ h% D# ~
  1609. ;com.autoregister_verbose = true: r& }0 |0 H7 l6 g% j7 @

  1610.   E4 {: ?9 S/ t5 D& @4 \# P
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    9 V- _1 A, A+ A# t. f
  1612. ; Default: system ANSI code page
    / D+ @: D4 _( n: U: |; v" C' W: Y
  1613. ;com.code_page=( z) [  i! @: @- C2 F+ n
  1614. - \2 ]" u: Z' W1 P. w+ d
  1615. [mbstring]. X) ^' U: x$ _0 A
  1616. ; language for internal character representation.
    / `" d3 G" l0 Q/ V
  1617. ; This affects mb_send_mail() and mbstring.detect_order.; B: E; I3 k2 v7 j& G, q
  1618. ; http://php.net/mbstring.language8 Y. C) G- i, t9 ?1 g/ f+ c7 ^
  1619. ;mbstring.language = Japanese0 K# V9 U; n& z+ J1 ~

  1620. , _6 `8 `& S# t/ E* ]- j- ?
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.7 }1 \3 o8 s& m. x% ?! |
  1622. ; internal/script encoding.2 @9 G) |8 J" Y# f
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    4 a1 j( S9 K# c' z) _7 [
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.. N& z( r7 P0 Z9 Y; _9 y
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding$ q6 R4 ~3 M; x+ a$ V
  1626. ;mbstring.internal_encoding =& y* K- B" N6 ^3 F- ]" z( q

  1627. " B' o6 t, J1 n  O* D
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # {- Q; H' [# J/ u7 y
  1629. ; http input encoding.
    . ?$ U& T: s" t
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    1 t- E1 a1 ~6 p3 }
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used./ D; |# ~0 S# j( o. r1 U" p7 _
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    4 K' j' x% V: o' k7 Q* u" U
  1633. ; http://php.net/mbstring.http-input
    ; t) `' X1 k( c
  1634. ;mbstring.http_input =
    $ z) O9 s2 n3 n+ H$ d! Q1 T  L( j

  1635. : p0 h' r8 s! |) t7 }7 B( l4 _
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    : _2 d7 U- k) R* x! z
  1637. ; http output encoding.. O! @- f9 ~4 r* i2 j  t' @
  1638. ; mb_output_handler must be registered as output buffer to function.
    + l9 t7 ^4 P4 ^* G7 A; H& q
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.& i% I/ F6 B: V7 `/ X  E
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    + ?0 \- }: [# `0 s( X" v6 e9 g
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    7 i8 I8 b' [/ u) v2 w# x
  1642. ; otherwise output encoding conversion cannot be performed.
    & q- G" O" e- V# V) v5 u+ Q* g
  1643. ; http://php.net/mbstring.http-output
    % _7 s0 ?, C  X- [. B; W: \
  1644. ;mbstring.http_output =
    3 G) @" L& v. q
  1645. - ~5 D( c# A. N! R5 u
  1646. ; enable automatic encoding translation according to. o9 a$ m( w" R
  1647. ; mbstring.internal_encoding setting. Input chars are
    ' D% n1 U  H: r$ {: h2 e8 R  B
  1648. ; converted to internal encoding by setting this to On.' C+ y7 M4 T7 w8 J2 z
  1649. ; Note: Do _not_ use automatic encoding translation for  S8 H! v# Z3 J3 _4 @+ a8 D
  1650. ;       portable libs/applications.2 R+ g7 }2 k: x4 j& h" C0 t2 k% i; o
  1651. ; http://php.net/mbstring.encoding-translation& k- U# ?! G# s3 P
  1652. ;mbstring.encoding_translation = Off
    3 C- L6 Z" q& A" A' q& [8 `- V
  1653. 1 E# g3 p  |' f8 b9 [2 S' Q
  1654. ; automatic encoding detection order.
    5 g+ s  V) B& j8 f9 E
  1655. ; "auto" detect order is changed according to mbstring.language: p. Z4 ?; K! T& W8 j
  1656. ; http://php.net/mbstring.detect-order
    9 P" y6 y4 p+ u' i( o( u1 v6 z
  1657. ;mbstring.detect_order = auto9 [& r5 ^, U/ b6 M
  1658. 0 v: S/ I: I! W& Y# i
  1659. ; substitute_character used when character cannot be converted
    - m( m) e/ R/ \& j
  1660. ; one from another
    * n$ E+ H/ q$ \2 \5 ]
  1661. ; http://php.net/mbstring.substitute-character* ^/ J7 e( A' C+ z! l0 l
  1662. ;mbstring.substitute_character = none
    ) U6 F! O% K0 `- e  h
  1663. 1 {5 p2 @' P5 u: [& N. p" {
  1664. ; overload(replace) single byte functions by mbstring functions.$ D' o- {, L1 Y% R
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),) Z8 M/ h. K, |% R* b) q' B3 V- w5 s
  1666. ; etc. Possible values are 0,1,2,4 or combination of them., @3 ]  e$ V6 k3 G
  1667. ; For example, 7 for overload everything.5 z- U, G* ~4 K2 {
  1668. ; 0: No overload1 w' P6 r# v' w" X. v3 j
  1669. ; 1: Overload mail() function$ M/ F; u6 d) J; x3 K
  1670. ; 2: Overload str*() functions
    & G( j6 T4 p) ^6 ]- N- {# U, Q
  1671. ; 4: Overload ereg*() functions, x! a" j2 I5 k% u5 A$ }- t3 F  B
  1672. ; http://php.net/mbstring.func-overload
    " r' J! M  n. n7 N- A6 e( |
  1673. ;mbstring.func_overload = 0% E4 b1 y; n) z, |2 P8 v

  1674. + T  y. L) H6 `1 a9 a
  1675. ; enable strict encoding detection.$ h0 f9 Q! Q7 ~2 X2 x
  1676. ; Default: Off2 b1 c% S- m3 }1 Z
  1677. ;mbstring.strict_detection = On
    % C0 |! G5 T9 K5 S) r0 h- Q( b* D
  1678. 0 A: x2 q2 [0 K2 u
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    4 i2 P8 E* V* T  @  c
  1680. ; is activated.( s0 |& D2 y+ b
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)( \5 A8 Q# |5 o" m! F6 Q0 \
  1682. ;mbstring.http_output_conv_mimetype=
    : S* g' f5 ^& y: t9 T+ x) O( v& I; d
  1683. 0 m% l( A  |& @! @6 F/ ^/ r3 j$ {
  1684. [gd]
    + k, Z3 Y+ f" _
  1685. ; Tell the jpeg decode to ignore warnings and try to create5 L: c8 D$ @: c3 v& B5 w
  1686. ; a gd image. The warning will then be displayed as notices
    9 Q  A) S) y+ Z/ D8 h. d1 K
  1687. ; disabled by default
    5 u0 F: f- O) k% E
  1688. ; http://php.net/gd.jpeg-ignore-warning
    4 w/ v" \' G$ o& r) _: A1 s, @1 @$ M1 x( o
  1689. ;gd.jpeg_ignore_warning = 0+ O6 }+ ~: F0 H6 D6 P% n
  1690. 8 n& g7 h$ z/ @5 a' D
  1691. [exif]
    % h; a  t0 m7 ?; o$ o4 G
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    5 S8 O5 k2 b1 G1 M- @& [7 v" }
  1693. ; With mbstring support this will automatically be converted into the encoding/ [, _, {( {9 [: B: u% a6 X) T
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    4 p5 O. a5 F, Z) z- z1 t. C- |% o. x
  1695. ; is used. For the decode settings you can distinguish between motorola and# _# `: U$ s( }% D$ ~
  1696. ; intel byte order. A decode setting cannot be empty.
    ; W  @+ \% R, q0 g$ t+ Q
  1697. ; http://php.net/exif.encode-unicode
    3 E  {, K) O1 x$ t  V
  1698. ;exif.encode_unicode = ISO-8859-15
    7 _- K3 a) m+ A2 z) f# g+ `
  1699. 6 d  z, \" K! ]( \) M
  1700. ; http://php.net/exif.decode-unicode-motorola
    ' W* p. N! X$ j: Z3 _1 \
  1701. ;exif.decode_unicode_motorola = UCS-2BE7 j& Y0 g' K5 z  u

  1702. ! A( O$ h1 Q: s8 R5 u! O3 N4 `/ `
  1703. ; http://php.net/exif.decode-unicode-intel* A+ Z" H) f: d+ d5 R- A
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    5 \) l0 q% i/ G* Y1 b/ K

  1705. 8 U. P1 c9 c6 e9 {- D8 V) V/ s
  1706. ; http://php.net/exif.encode-jis, d4 w( c% i; f2 p" h) J: i' A8 T3 g
  1707. ;exif.encode_jis =
    - k0 M7 Y. h' c+ u1 C$ i: m0 ]  U7 M8 `
  1708. - W( J6 z6 p  H7 E( {; J
  1709. ; http://php.net/exif.decode-jis-motorola; W4 f) n8 i$ H8 g2 U& `
  1710. ;exif.decode_jis_motorola = JIS
    , M9 r  ]8 \2 Q; Y6 Y0 x8 f; R7 R

  1711. . p. l& [. [* ]! j2 ?; y
  1712. ; http://php.net/exif.decode-jis-intel
    ; q/ J. f9 A4 v2 c
  1713. ;exif.decode_jis_intel    = JIS
    ! W( p. Y& n7 U, B; B! j4 i3 ?
  1714. 1 e! {- G0 w/ m( p: G
  1715. [Tidy]0 r7 f2 y2 t) H1 n" `  l( g
  1716. ; The path to a default tidy configuration file to use when using tidy! X2 N- \. O' c8 p' q
  1717. ; http://php.net/tidy.default-config- `- `$ `$ H+ a
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg0 W& t4 y+ C$ e! `# }
  1719. / |% V9 f/ p( f1 |9 J9 P
  1720. ; Should tidy clean and repair output automatically?3 ~; Z) k, e2 ?% G
  1721. ; WARNING: Do not use this option if you are generating non-html content4 F3 k* V* E$ H% D3 E* A/ \( j! `! `
  1722. ; such as dynamic images3 Q: J6 [. b2 y/ r$ f% V
  1723. ; http://php.net/tidy.clean-output
    : Q: r+ _- I) a  A9 i; C
  1724. tidy.clean_output = Off3 i( w$ ], U" J* q. i2 m9 K% }
  1725. $ S& F4 w" F  r
  1726. [soap]" N' N  W7 L9 W) n8 G
  1727. ; Enables or disables WSDL caching feature.
    5 ~! B- a; \7 J1 w0 p. o) i3 I
  1728. ; http://php.net/soap.wsdl-cache-enabled
    - u- r: u! [5 U+ K9 K8 E: G
  1729. soap.wsdl_cache_enabled=1
    3 t9 d; z& C( A0 P) F  D; g

  1730. 7 c* j4 O: u2 x1 C1 M" _7 A
  1731. ; Sets the directory name where SOAP extension will put cache files.
    " v/ o% `0 T7 _( s4 j
  1732. ; http://php.net/soap.wsdl-cache-dir% j7 ~* O8 r8 S, L. K
  1733. soap.wsdl_cache_dir="/tmp"
    . S, O4 E' `3 Z

  1734. # M9 T3 s% H- J
  1735. ; (time to live) Sets the number of second while cached file will be used
    & x0 u: R; N- d4 |
  1736. ; instead of original one.
    % j; D8 L' B' m2 s. L0 U
  1737. ; http://php.net/soap.wsdl-cache-ttl
    9 _# H5 [" M3 f; U- J
  1738. soap.wsdl_cache_ttl=864000 l7 p: M- e- N' M& }8 J4 d1 S
  1739. 9 u; _+ d! o0 f# Y* S# m
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)6 j/ Y' a; `6 b  S( T  v
  1741. soap.wsdl_cache_limit = 5- J6 G: V6 D# h/ v

  1742. 1 T# ]0 d0 a2 v+ Q& d
  1743. [sysvshm]
    0 c) g4 }- J( o
  1744. ; A default size of the shared memory segment3 K8 O# g! U: {+ Z, w
  1745. ;sysvshm.init_mem = 10000
    $ [  P6 U1 x; \8 m/ `9 S" C
  1746. / S8 d# H9 Z  m0 \: F7 S
  1747. [ldap]5 b7 _1 {7 ^! x) J
  1748. ; Sets the maximum number of open links or -1 for unlimited.. y5 \4 }) }5 t5 j3 T
  1749. ldap.max_links = -1
    4 G! a  m  ?) _& p
  1750. 1 L( Z5 I3 L7 F5 I
  1751. [mcrypt]
    8 V  R' P9 I4 ^7 e
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open) i- f- J& e7 D, f6 L

  1753. ; S9 s9 n/ T, j
  1754. ; Directory where to load mcrypt algorithms
    4 n: u# C/ N0 l  K/ r8 ~
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    - J' V4 A: D* s6 h1 S8 t
  1756. ;mcrypt.algorithms_dir=/ P3 |6 f: H4 G) y+ F

  1757. - q0 v/ W* E6 O& Z2 H, A
  1758. ; Directory where to load mcrypt modes% F% }* q* K, h4 L1 N
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    $ s5 K! l7 j! O1 C) V6 a
  1760. ;mcrypt.modes_dir=
    ( H, B( {; w. Q7 b6 O* w

  1761. & o9 y% z/ t* P# h
  1762. [dba]7 ~' r; t- t8 z# K
  1763. ;dba.default_handler=3 o, M( T/ G$ ~' E; Q- `

  1764. 6 |, g+ I6 f) _6 o; z$ q
  1765. [opcache]; A+ p& X: ^9 W4 ^- m- U
  1766. ; Determines if Zend OPCache is enabled) g& T, _- s( A9 F* i. C! T
  1767. ;opcache.enable=03 A* L* X1 {$ ~- C- [

  1768. - ~/ S9 K9 [, v0 X$ `' Z. Q9 c/ _
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    / N- b# x8 Z6 z" P' m/ U4 E7 Z
  1770. ;opcache.enable_cli=0; S& g: [% Y1 W2 w* {. G
  1771. ) `! ?. K# H; Z! |: E( D5 o
  1772. ; The OPcache shared memory storage size.9 g8 W6 a( b. Y* s8 S
  1773. ;opcache.memory_consumption=64
    2 |$ o: B# w- W: W. C$ P+ L
  1774. . u9 |1 J  u9 T( v7 |3 I6 Z
  1775. ; The amount of memory for interned strings in Mbytes.3 Z! A1 Z3 i6 F8 Y
  1776. ;opcache.interned_strings_buffer=4$ S! ^- \$ w2 R' S7 f+ {" b" U
  1777. , _' u! i9 t2 ]* _+ @: P& W
  1778. ; The maximum number of keys (scripts) in the OPcache hash table." E- N5 L8 X" m, A3 `
  1779. ; Only numbers between 200 and 1000000 are allowed.
    2 s% D" u0 I+ E+ |' U$ v
  1780. ;opcache.max_accelerated_files=2000
    ; S8 ^8 H2 B% o$ Y

  1781. ; g; a7 O2 X, J
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ( B( P; I4 k* l* J7 ^& w- n4 n- e
  1783. ;opcache.max_wasted_percentage=5
    8 a" y6 ?/ i" ], c% z# F% {; b

  1784. $ ^# z5 w8 t0 C  R) _
  1785. ; When this directive is enabled, the OPcache appends the current working
    9 ~1 E( h: \/ v7 q
  1786. ; directory to the script key, thus eliminating possible collisions between
    8 t# R( T' `6 W9 H7 Y3 w; D8 u0 M# m, |, a
  1787. ; files with the same name (basename). Disabling the directive improves- F+ H6 ?7 E& k% }% |' {( l+ ?( H
  1788. ; performance, but may break existing applications.: U! A: v1 |6 h! j  c  \8 C. I/ U
  1789. ;opcache.use_cwd=1
    $ ?# M4 \" i7 p. f
  1790. 3 [8 ]3 x1 T/ ~7 `6 }
  1791. ; When disabled, you must reset the OPcache manually or restart the7 Z" Y# V% I4 G6 m
  1792. ; webserver for changes to the filesystem to take effect.
    1 |$ ^% P( F  V" r! B
  1793. ;opcache.validate_timestamps=1% s/ F' @2 C" V  ~+ P0 @# h
  1794. ' w1 O% m% t! Y( Z
  1795. ; How often (in seconds) to check file timestamps for changes to the shared0 e% k" w1 G( U% @# a) i8 @9 E* n
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    + [3 E  L$ D" E: y& L: R1 m3 \
  1797. ; once per request. "0" means always validate)
    3 |; C2 Q# l5 r. }7 p! n
  1798. ;opcache.revalidate_freq=20 ]* U. j( H3 w& Q  U- S9 g9 X

  1799. + E; K7 [/ x% b
  1800. ; Enables or disables file search in include_path optimization
    / x6 f2 `6 Q, Y: C/ ^
  1801. ;opcache.revalidate_path=0
    2 T8 f0 b% ~# J; d; \

  1802. ) C8 Z/ F  ~. [) I) d+ J
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the4 y" }; F0 n% N) G
  1804. ; size of the optimized code.
    ; Q* w: `6 N) u# e8 q' I( y; S
  1805. ;opcache.save_comments=1% v$ b/ Z# Y3 H3 y

  1806. ) t8 h% U, g/ n5 v
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    6 F% d8 b" C8 j( Z- b7 P& E
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.9 t- `- u, ?! @
  1809. ;opcache.fast_shutdown=0
    3 @& T5 m& a& t) T5 |
  1810. ( B; \  \' {3 A- l
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    0 S* D6 ]; `; ^
  1812. ;opcache.enable_file_override=0
    + d2 |8 d: I: G- \

  1813. 3 ~, Y* G, f2 h2 L, E7 i
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    " ~% I! c* R/ N1 |" K8 j, |0 s
  1815. ; passes
    / z( @. j$ ?( L% G% w. [& }1 g/ j; J" Z
  1816. ;opcache.optimization_level=0xffffffff
    # x/ ]8 _8 i9 d4 E
  1817. - z# g9 z0 b5 {- W& q
  1818. ;opcache.inherited_hack=13 g9 l" \! ~1 S8 N
  1819. ;opcache.dups_fix=0
    : o9 c  c& A7 `# M0 E
  1820. 5 U0 y( N6 N3 @8 K. F$ X
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    ) n; Z/ D. d% f5 f' N2 U
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    6 k4 E* J4 n; E( R3 O' W9 r
  1823. ; that should not be accelerated. The file format is to add each filename
    8 c0 P' D2 N# t- \
  1824. ; to a new line. The filename may be a full path or just a file prefix- c. u) V; |+ J! @
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    . j" J- W& ^5 x% l% A
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    6 t" S0 ^6 c. k& t2 `8 @! h4 p
  1827. ;opcache.blacklist_filename=7 f" x: h  h# X- ~" H. n

  1828. 5 p3 [; a/ F: M1 }
  1829. ; Allows exclusion of large files from being cached. By default all files# |8 m; f* Z- c" w0 W& d
  1830. ; are cached.7 ?- L: b6 a8 _7 y- F5 Q' e6 t
  1831. ;opcache.max_file_size=0
    ( A$ C7 |+ \# `! ?

  1832. 9 _  d4 P: F" }' Q# Z
  1833. ; Check the cache checksum each N requests.4 h9 v2 K& p: x; b& g
  1834. ; The default value of "0" means that the checks are disabled.7 p, }6 T6 }8 f5 Y' E! g
  1835. ;opcache.consistency_checks=07 [# ~  ^: P- B+ q7 O; Q
  1836. 1 b% v4 T, ~# X* n
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    7 G* X7 e' Y, M2 C+ z
  1838. ; is not being accessed.
    8 p& t, l% T* c: P5 |& `' Q6 j
  1839. ;opcache.force_restart_timeout=180' Q' X8 n2 d8 O. `8 L! N
  1840. 3 i8 I. o) k: c6 H
  1841. ; OPcache error_log file name. Empty string assumes "stderr".- R- ^1 j# v1 a1 F* o# G0 z; H5 j+ C
  1842. ;opcache.error_log=
    ; i2 i- C& a' G* e5 A# c% e
  1843. . l  q1 Q! B8 i
  1844. ; All OPcache errors go to the Web server log.
    : b8 f5 k, x) E, N% `
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.: x* e( T! _; z4 p* R! Y
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    1 Q2 r. t; D, r/ i
  1847. ; debug messages (level 4).6 l7 G+ s* ^7 S5 F3 e- a$ ]" Q
  1848. ;opcache.log_verbosity_level=1& I& J  x9 K  _, k, a% ~
  1849. 8 O; R4 y" z" R6 z0 s( a+ p
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ( C2 o: K/ W# S$ @5 j7 c
  1851. ;opcache.preferred_memory_model=$ Q6 r5 \0 s# {& F1 C* E. w' V
  1852. 1 W( F# D, T. d
  1853. ; Protect the shared memory from unexpected writing during script execution.0 s3 R8 b4 c0 n. ~( p+ e
  1854. ; Useful for internal debugging only.
    ; ~. f2 ^! i0 k/ M1 X  {. {: m
  1855. ;opcache.protect_memory=0
    % e: ^# L! h- p
  1856. 5 w  ^$ i  h) I% T% P8 I
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    9 T. q! c% M! L4 M' I8 B
  1858. ; started from specified string. The default "" means no restriction
    % S9 ?9 a+ V- A: o1 F6 ?- a9 _; e. `
  1859. ;opcache.restrict_api=
    - S+ j- w( }0 k* `1 K9 j

  1860. 7 ?+ ^4 V, M; d( {% c
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    4 W) v- a4 b- y) k1 y4 G4 @1 [
  1862. ; processes have to map shared memory into the same address space. This# \# E8 I% u# s& D
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    & i$ W6 n. R* {) Y; {4 o$ ~3 `. C
  1864. ; errors.
    : B. s$ }& c8 \
  1865. ;opcache.mmap_base=: K( Z- Q! p0 Q
  1866. " o9 a: Y6 i: C1 d) \7 m- m0 [
  1867. ; Enables and sets the second level cache directory.) {* s; i6 F, A2 e  C$ m% n
  1868. ; It should improve performance when SHM memory is full, at server restart or! m2 R1 p1 R* [/ P6 d$ G) a# w
  1869. ; SHM reset. The default "" disables file based caching.# `. [" j6 K5 @& w: e: \9 [6 ~
  1870. ;opcache.file_cache=" E! f1 T1 U  X4 s& |  ?7 ^6 Q# Q! I

  1871. , L7 C3 m! o; R, R
  1872. ; Enables or disables opcode caching in shared memory.8 \2 \4 B( G8 x6 s
  1873. ;opcache.file_cache_only=0% g+ q+ t- E  ?* r" v# e
  1874. $ h9 {' f- @6 i9 ?5 z
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    * @. N4 q: _& G, }9 S. M
  1876. ;opcache.file_cache_consistency_checks=1
    0 \% w5 @/ J9 L% ]

  1877.   n( Q/ v. n# q1 D- ?
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to( J7 I$ `6 b& X7 U* I6 ~; A8 b: l3 E
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    ( X! ]! v( G  U
  1880. ; cache is required.
    7 t% Y/ o. L2 u# f
  1881. ;opcache.file_cache_fallback=1
    5 K/ j4 T2 K3 d. p0 E8 g

  1882. 6 J1 q3 f9 u6 ?/ z) ^% E9 H
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.% O4 J: l3 Z/ D6 o6 |
  1884. ; This should improve performance, but requires appropriate OS configuration.
    % }- h1 @% K8 l8 G( o
  1885. ;opcache.huge_code_pages=1: [; H- H0 G  o; h9 h0 N% L0 D

  1886. . W7 L! A) H6 m8 ~) G' @
  1887. ; Validate cached file permissions.: f; i8 ?- d* V$ R% O; P0 Q
  1888. ; opcache.validate_permission=0: x; q9 N& x" f9 m. L& b2 o  E# Y! Z

  1889. 8 N( d1 r( I# N
  1890. ; Prevent name collisions in chroot'ed environment.; S) H6 p: L0 L1 A6 S
  1891. ; opcache.validate_root=0
    3 |. E' G" a) n  x

  1892. 3 V7 k1 S; M- {( T0 N
  1893. [curl]1 F2 X- |5 L5 N# H( U( c
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an+ z3 h0 W, i, k4 w
  1895. ; absolute path.4 w. U7 G, N$ U/ J# I. s/ f
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt; a- N" x  N' b! h0 b
  1897. ! K& l- b' r: V+ b: z8 [+ D; A& \
  1898. [openssl]$ }; I, o* H2 t1 Z  T( J. S6 T# z$ A
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem3 y' {5 P+ |$ T; s# t( Z# o; l
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    3 Y; _( Y* ^; Y) ?
  1901. ; not specify a value for this directive as PHP will attempt to use the4 R* P! X6 [- u, Z
  1902. ; OS-managed cert stores in its absence. If specified, this value may still4 a$ ~9 ~+ P5 O! f$ a
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ; Q; C7 k+ u% l' B/ I# X* L  \3 B
  1904. ; option.
    . w- O$ j8 [# G" x- h
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt2 X5 i) H% ?' s# s2 e0 |( _/ o; |/ b

  1906. * I: }$ E2 ?# D0 Y
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the/ b% O. W1 \4 @3 V; n
  1908. ; directory pointed to by openssl.capath is searched for a suitable9 X+ v% {+ P  `  X7 W
  1909. ; certificate. This value must be a correctly hashed certificate directory.# F9 g* k; R3 n% Z6 P1 [
  1910. ; Most users should not specify a value for this directive as PHP will0 B- h0 b# l. |9 U
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,- F" }( s9 X  \* w% ]* x1 N
  1912. ; this value may still be overridden on a per-stream basis via the "capath"1 q) G7 `( ~9 ]/ Y( O1 D5 i, H  i
  1913. ; SSL stream context option.5 c( _  W& {2 h4 V
  1914. ;openssl.capath=2 H; E' m% {' V0 b9 @! K

  1915. & z8 v0 W" m& }2 l
  1916. ; Local Variables:
    5 P0 l, f5 X  J, n, c
  1917. ; tab-width: 4) ?3 {( L7 u2 o) q
  1918. ; End:& I& F' X/ S$ F- j# ~8 [3 a+ h
  1919. 2 a0 Z5 D" g- `
  1920. ;eaccelerator) c3 b1 U: {+ S0 }
  1921. 1 t" u7 z, q; ^+ b& S% ], ?0 ^6 s! ^
  1922. ;ionCube
    & k0 u  r1 L8 ~. G( i
  1923. / g8 d) `8 n3 Q: i: k; Y- R8 L
  1924. ;opcache
    % o" t8 g/ A9 Z

  1925. $ H% R' |+ M2 U2 P. Y" a1 J1 o
  1926. [Zend ZendGuard Loader]! U+ v* ]+ g+ C: s) A, p, g( J' `
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    + T9 M0 S; I( F; T% Z& }
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    # d0 G, s+ g  O$ Z6 D& O8 {# G
  1929. ;zend_loader.enable=1
    . a  W( J  M( B' R1 m3 n
  1930. ;zend_loader.disable_licensing=0# d. ^4 t' Q. T. L, k1 n
  1931. ;zend_loader.obfuscation_level_support=3
    ; u' y& H; o! L8 K
  1932. ;zend_loader.license_path=
    0 D: [, D8 U' J3 b  o2 @1 V- y% G% c
  1933. 6 h5 `* u5 I2 v: U  M0 H
  1934. ;xcache& F6 [0 v2 w1 [1 M3 k2 O1 Q! [& [
  1935. 8 Q' z/ C+ A# u9 f2 |4 q" K% E
复制代码

  {, m! m8 M: s- D  _5 g* X* {4 K$ b- Z! Z8 p! W; ~" @1 z3 N& T
+ U* U% p8 C+ t. j  |* U3 a

# V/ Y: H6 g5 V1 e
: X# [) O+ P9 u9 A: _2 Q$ T: P' Y% m2 U0 g4 `8 r
# K" o- V2 p9 ?+ q
PHP5.6版本原始设置
+ z% Q& l& p8 c1 S6 [: Y" ?/ {* E/ d# ~. S2 M
  1. [PHP]
    " k3 B. v' S" o7 n
  2.   [8 M. d! V! x$ m9 p
  3. ;;;;;;;;;;;;;;;;;;;2 W$ M+ b/ Z5 ]5 D5 X
  4. ; About php.ini   ;
    ' x4 Q* F; s  _% z8 q9 ^
  5. ;;;;;;;;;;;;;;;;;;;7 C5 A8 y' {5 M, P
  6. ; PHP's initialization file, generally called php.ini, is responsible for+ f& W4 b, J8 r6 h5 Q
  7. ; configuring many of the aspects of PHP's behavior.5 E1 O. k5 D0 T, |
  8. 4 W5 D0 R% r, R2 H* _
  9. ; PHP attempts to find and load this configuration from a number of locations.0 z' l( Z5 ~" |$ ]
  10. ; The following is a summary of its search order:' O' }4 `8 e4 o$ z) A1 y
  11. ; 1. SAPI module specific location.
    ; \9 T) B- |* ~: ?1 F2 n7 g
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)& }; c/ Y6 a9 K, T9 ~: S3 [8 {. d
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)2 o9 `8 v7 Z6 y  e
  14. ; 4. Current working directory (except CLI)
    ; V( ]/ W7 K7 O2 d6 Y) e( K
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP4 |- q* n  O, R" w4 T
  16. ; (otherwise in Windows)
    + l3 z- t# A# T* D
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    8 ]. T9 U5 U8 Y
  18. ; Windows directory (C:\windows or C:\winnt), A3 t5 l: h* B, ]7 ]& z
  19. ; See the PHP docs for more specific information.& G  I4 {. p$ b8 U; p$ b9 D
  20. ; http://php.net/configuration.file
    9 V- Q: \' X1 H4 i) Z+ Q: k

  21. . i2 E6 `1 F# S( g! \6 S! ?
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ( L! {6 F8 u$ R0 g2 q  N
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).6 D; r$ {) z3 p. u  D; J
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ( p# b* n% e8 q1 T% M
  25. ; they might mean something in the future.
    ; V2 |; U' H9 s9 O2 p( N5 p
  26. 2 Y* E( u! K. _8 `. \7 |( M0 G, P
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ! k$ D. b$ o2 w; h2 ]$ J
  28. ; apply to PHP files in the /www/mysite directory.  Directives8 |6 n. H0 L: z( R
  29. ; following the section heading [HOST=www.example.com] only apply to5 X9 {# X2 |/ `  S" m
  30. ; PHP files served from www.example.com.  Directives set in these# Q) ~6 N+ r9 I/ l6 e
  31. ; special sections cannot be overridden by user-defined INI files or" m# u5 Z% _1 w; z
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    4 P& ^2 I/ o2 k( a2 |" v
  33. ; CGI/FastCGI.6 ?- h" D" X- @
  34. ; http://php.net/ini.sections- B+ f. Q# R6 H! m& ^8 _

  35. " [6 {/ u0 |* M6 s/ E0 D- Y
  36. ; Directives are specified using the following syntax:
    ) K* n8 X3 `6 k* t) }, D# A0 c
  37. ; directive = value
    4 \7 d' e* K$ T" F6 V# w' R" g
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.3 I- `8 B  \8 A0 y0 _7 w
  39. ; Directives are variables used to configure PHP or PHP extensions.1 X6 k, }& W& \, g0 m
  40. ; There is no name validation.  If PHP can't find an expected
    + s# I" W1 ^; w; J, W% n1 m0 Z& N- q& W- C
  41. ; directive because it is not set or is mistyped, a default value will be used.' s, Q  L, U6 w) Q, \7 i$ [& N
  42. ) m0 W  Z. X* C3 T: ~
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    " M5 Z/ ?7 I' N1 e" O$ a1 u' x
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression  G( f7 @$ k; u
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    4 j& ?% z2 q0 M7 V; E' d7 K+ g$ S
  46. ; previously set variable or directive (e.g. ${foo})5 _5 v  u! D$ f' K/ ]) `

  47.   m! l8 U  }" w& A- X- |
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    - z* K# A3 [; q
  49. ; |  bitwise OR
    3 P3 y+ j1 D* D6 Q
  50. ; ^  bitwise XOR
    . K9 ]1 [; e% Y' N7 a0 V+ Z2 {
  51. ; &  bitwise AND, Z8 o# @5 U+ W' Q5 p9 m' V
  52. ; ~  bitwise NOT. A: `7 n6 \# |# k
  53. ; !  boolean NOT
    $ ^* L. A) E' ~6 f4 H1 q7 \+ G# x4 T
  54. # b- b! K; i/ r. H5 n, b5 [0 k4 c
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.8 }5 C( F" S6 ~! z- [8 d! m
  56. ; They can be turned off using the values 0, Off, False or No.
    3 j; X& I; Q2 Z
  57. ' ~: }$ x3 v2 z
  58. ; An empty string can be denoted by simply not writing anything after the equal
    - Y; i3 A/ R% T4 s. n) i. `
  59. ; sign, or by using the None keyword:: r9 l' i1 S7 t+ U) F1 L
  60. 0 a/ g- t+ i, C" H2 W2 o3 l0 e0 Z7 @1 D
  61. ;  foo =         ; sets foo to an empty string
    9 _& E5 H* O6 f. {- U& k1 V
  62. ;  foo = None    ; sets foo to an empty string7 G' q, G4 U4 |" Q
  63. ;  foo = "None"  ; sets foo to the string 'None'4 q( e) ~; b2 K
  64. ( V: a( X- q2 j
  65. ; If you use constants in your value, and these constants belong to a
    5 j- A1 P0 Y/ S# |
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    - _* v" g4 m, i1 g5 J9 u# n; ^! |: `
  67. ; you may only use these constants *after* the line that loads the extension.
    ) M! {  N' r7 }6 `0 R& u1 K. s/ y

  68. * W  [) |' q% C8 \4 Z- a: s
  69. ;;;;;;;;;;;;;;;;;;;) d* B0 K0 ?% l  K
  70. ; About this file ;
    6 t0 S/ H  \. d! g& L
  71. ;;;;;;;;;;;;;;;;;;;4 d6 r  h! P) F# w3 x
  72. ; PHP comes packaged with two INI files. One that is recommended to be used  O6 J" a- Q% |# P3 u8 K" w! U. Z
  73. ; in production environments and one that is recommended to be used in
    1 h, J0 |" g' F- v  l8 X
  74. ; development environments.
    9 S1 h  }- W% _

  75. 4 K8 K1 y/ ^3 n' G+ }& C
  76. ; php.ini-production contains settings which hold security, performance and
    ) j" x* k. e6 O" u4 ]
  77. ; best practices at its core. But please be aware, these settings may break4 F% R& h# v3 B6 ]1 I. V( m
  78. ; compatibility with older or less security conscience applications. We
    $ l2 }! s1 H1 {% q9 X
  79. ; recommending using the production ini in production and testing environments.
    3 k5 D. H+ @8 e9 w2 ?
  80. 7 |7 g# {* Y& z( y1 m# h& ?7 x+ ?# H  g6 ]0 k
  81. ; php.ini-development is very similar to its production variant, except it is1 N: W* ]* H7 M0 ~( h
  82. ; much more verbose when it comes to errors. We recommend using the+ Q: N1 \7 d# ^% G* i9 K% o
  83. ; development version only in development environments, as errors shown to3 |1 P( t* p0 ?' U0 ~- J
  84. ; application users can inadvertently leak otherwise secure information.6 ~. i& B& P5 s; x

  85. : w) X+ n& C/ A+ h0 s. L1 p% z) a) k
  86. ; This is php.ini-production INI file.
    # n$ j0 V6 A5 N  g

  87. 4 ~5 j& P% K4 c- ], ^" e# Z
  88. ;;;;;;;;;;;;;;;;;;;
    * g3 ?8 m$ n/ M# j1 \: R
  89. ; Quick Reference ;
    ; y+ W. f/ |- ^2 d/ ~! M7 {( B
  90. ;;;;;;;;;;;;;;;;;;;" }7 E. G4 D8 Z
  91. ; The following are all the settings which are different in either the production
    6 Y, D! `6 M- O% O
  92. ; or development versions of the INIs with respect to PHP's default behavior.( H5 d$ V2 r8 Z8 R! Q
  93. ; Please see the actual settings later in the document for more details as to why1 [; H$ d* N" D. ]  d3 o8 t' z- Z
  94. ; we recommend these changes in PHP's behavior.0 d# y1 s3 ^. Y; A) R
  95. # Y' @9 P( ]$ o
  96. ; display_errors
    1 p' P+ s5 }  T
  97. ;   Default Value: On
    9 B2 P2 n5 y2 B; K' Q2 E1 A& e/ i1 z9 j
  98. ;   Development Value: On
    8 U* g" W+ d* B$ [. H
  99. ;   Production Value: Off
    % T8 \: G; g: K2 R

  100. . o: i% u3 q( o
  101. ; display_startup_errors( o9 |9 O7 Y6 Y  R
  102. ;   Default Value: Off
    . k- I; U( ?9 J/ l7 R, p4 M' h
  103. ;   Development Value: On- h$ F! @4 d- f9 Z
  104. ;   Production Value: Off7 R& K1 P9 e) J0 N7 f2 B+ T9 P# g4 T
  105. ; W2 v) ]; V$ c: v9 a
  106. ; error_reporting% {: a' Y% t$ J" R/ O7 v6 G
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED' Z. d% w- {2 R* x. _2 O& z
  108. ;   Development Value: E_ALL
    5 [5 Y6 j3 j6 K1 y1 ~
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT: p3 W9 c8 W: L& f6 k
  110. ' Y, a7 y4 N& }
  111. ; html_errors$ q+ C9 t- H7 q) n& y- T7 ~4 r
  112. ;   Default Value: On) ^' G7 x/ z+ b' d4 m
  113. ;   Development Value: On/ H% t# X6 S6 {) c% b
  114. ;   Production value: On
    . a% b+ ?- [& J# w- G; W
  115. 1 a. c$ g; c3 |5 v6 k
  116. ; log_errors1 U* r" Y/ ~/ E. }, h- S
  117. ;   Default Value: Off1 I0 `+ Z, B( D
  118. ;   Development Value: On7 d: L; N  \; I0 k  X1 X$ r
  119. ;   Production Value: On
    ) M" ~2 M: b3 h4 q$ |: o3 U& q6 S
  120. & _" g9 a/ j& S( S( K1 Q; U  _" J
  121. ; max_input_time) a: ^, W- `4 A' ?( \
  122. ;   Default Value: -1 (Unlimited)6 t9 _6 x% |; ?- W% s0 o
  123. ;   Development Value: 60 (60 seconds)# d$ k/ d4 F" A6 U
  124. ;   Production Value: 60 (60 seconds)
    % ]. i8 {. q0 s8 {
  125. / a% @/ D+ h- C
  126. ; output_buffering: V/ l2 ]8 v; M2 ~7 F
  127. ;   Default Value: Off
    6 J, p1 P$ {. j0 h: ^" m
  128. ;   Development Value: 40967 j, u3 s5 ]2 h+ e$ d9 }# j
  129. ;   Production Value: 4096
    7 N6 O5 W7 W& z$ Y
  130. : d8 M) Q4 a% S/ j
  131. ; register_argc_argv
      A2 o& e$ {3 W/ U; y# n9 q# L% Q( |7 _
  132. ;   Default Value: On3 Y4 T; N" P  i* |8 O: t
  133. ;   Development Value: Off
    " A, T7 I! Q3 t, {5 [
  134. ;   Production Value: Off
    " H4 a9 V& T8 d
  135. ' x8 G. A# U) B+ [. t8 _- I! D
  136. ; request_order
    " G& _+ c5 E, E8 _/ N0 P* f
  137. ;   Default Value: None
    & U/ f( a+ G3 g  t4 K
  138. ;   Development Value: "GP"
    & l( N& n; p# n5 X: S
  139. ;   Production Value: "GP"- l" z+ s8 Z% F+ F
  140.   x/ Z1 s2 Q/ `% z: h: y. j
  141. ; session.gc_divisor
    8 F3 D' P; ~. f! c0 T+ t& k
  142. ;   Default Value: 100
    % y# I9 t. O7 _) V4 Q! _
  143. ;   Development Value: 1000
    $ M/ _/ Y9 n7 T  o* t  B7 ]; J
  144. ;   Production Value: 1000; z% @! o* a" X) I
  145. 4 u' O( b3 x) P6 k  [- h. ^
  146. ; session.hash_bits_per_character2 E& R  [9 W$ @
  147. ;   Default Value: 4
    6 T8 t6 O1 a5 B9 r( z1 g* ?2 [
  148. ;   Development Value: 5
    - D# }+ T* p+ N
  149. ;   Production Value: 53 j: C, D( ]( j8 t$ B' @
  150. ) g( r9 Z9 i3 d$ C% a  V8 S# v
  151. ; short_open_tag
    + ?' h- ]4 e1 Y0 p1 \) V' ~
  152. ;   Default Value: On
    8 m* j9 e! |4 d
  153. ;   Development Value: Off
    % C' i" N9 M0 r# b
  154. ;   Production Value: Off0 z5 Y9 X  x; i! J) Z: h

  155. " S4 f3 D' c+ p* \
  156. ; track_errors, P+ ?: P' _. g
  157. ;   Default Value: Off
    7 M% v8 h: k7 `0 z
  158. ;   Development Value: On- o6 P; m- A, h' y  T3 K5 N2 c( h# t
  159. ;   Production Value: Off
    7 U2 `# _7 I# y3 T1 o, Y

  160. 3 b' a9 Z5 B* K. h5 E! D
  161. ; url_rewriter.tags
    ; w6 L4 m7 @/ J9 }. `5 C
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="  I4 E5 N- f8 \/ b4 O
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry". A6 s+ t2 ?9 l, L: p
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  j) L% S" B- _2 G& V7 u3 n7 r  W, a

  165. ( ~6 S3 Z: d$ [  ]5 _
  166. ; variables_order2 Z1 h; Q) C0 l
  167. ;   Default Value: "EGPCS"
    , t9 T8 s! k+ X; K6 W
  168. ;   Development Value: "GPCS"$ U+ e8 l2 N) a+ @! @+ O
  169. ;   Production Value: "GPCS"
    4 x$ N* K2 Y: ]6 z. U! V

  170. 4 q, }$ O/ b5 X) s- G
  171. ;;;;;;;;;;;;;;;;;;;;* M. l& O9 @4 U4 l  S7 k" C7 N6 u
  172. ; php.ini Options  ;7 I! Z/ p; C) ]3 U, D: G- q1 T
  173. ;;;;;;;;;;;;;;;;;;;;2 Y/ L4 l4 n% v, |# z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
      F& x2 T& e' ?/ T& X' H. k
  175. ;user_ini.filename = ".user.ini"
      \. o4 U1 t6 Y9 v

  176. , P8 I  p7 D. c2 e8 n
  177. ; To disable this feature set this option to empty value
    " `* }- I3 W5 f! y& i$ y
  178. ;user_ini.filename =
    / j( k" c9 M$ t5 n8 b; J
  179. ; L+ P- m; |8 t, F& G0 [
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    , e# a! z: F2 t4 O
  181. ;user_ini.cache_ttl = 300, a- R6 X3 ?  R7 @) q$ J6 o
  182. - F1 |2 {: y/ E5 w. z* _2 ]
  183. ;;;;;;;;;;;;;;;;;;;;  f) G. Y7 V# \  {/ l
  184. ; Language Options ;
    9 ^% [% {( u3 @6 i, r) q' [: p+ h4 n
  185. ;;;;;;;;;;;;;;;;;;;;+ m4 o9 E, \; ^. O! k5 u
  186. 0 R  c  L" E; @
  187. ; Enable the PHP scripting language engine under Apache.. V8 M  r% W, m; a) c  r# L
  188. ; http://php.net/engine
    $ `# A% H6 k2 R. C4 `
  189. engine = On
    $ L, v+ h9 B/ u: W
  190. ! c) S/ z1 C4 V, d
  191. ; This directive determines whether or not PHP will recognize code between+ H# H, R% a, k) T3 Z9 }
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    + ?2 X% a, w# d8 W2 ^0 d
  193. ; generally recommended that <?php and ?> should be used and that this feature. _& y: e3 G4 S1 s8 d. n4 A
  194. ; should be disabled, as enabling it may result in issues when generating XML
    4 m$ m+ e5 P5 ?: i* B
  195. ; documents, however this remains supported for backward compatibility reasons.
    0 z, o5 b1 f; z* x+ H
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ( ]1 \2 [4 P. p
  197. ; used regardless of this directive.
    % s$ C! j* p/ i- [8 O& g( @
  198. ; Default Value: On
    3 x3 _+ _4 E1 a
  199. ; Development Value: Off, t+ U& P+ d4 I% n3 F& y8 E- s
  200. ; Production Value: Off
    5 ~8 H4 n7 s9 J& g1 R
  201. ; http://php.net/short-open-tag+ n  l6 w% S' k) p1 K7 i
  202. short_open_tag = On$ b' W7 |! g$ P0 r5 q, K

  203. * H- X8 |2 J/ Z/ W6 O3 Z1 k
  204. ; Allow ASP-style <% %> tags.
    # q) B+ m5 k" i/ V7 }& z1 E
  205. ; http://php.net/asp-tags
    $ a+ f, C& z) T; q" P
  206. asp_tags = Off) Q/ S0 o9 z; Z" J9 t0 z6 f2 |
  207. ! i7 [1 ~  b8 z# W; ^
  208. ; The number of significant digits displayed in floating point numbers.2 ?0 v% D( a' r% U* X$ I
  209. ; http://php.net/precision
    ; I, `% _+ j6 K; c
  210. precision = 14
    9 ~+ L8 \3 V, F. `. r

  211. ( m* n  [# ]; n% M. V3 f
  212. ; Output buffering is a mechanism for controlling how much output data1 ]7 _+ b8 F& T/ J; R
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that# w! ]8 }3 `  b* Q- z# X
  214. ; data to the client. If your application's output exceeds this setting, PHP, x8 m  I+ y  F5 Z9 p- r- i
  215. ; will send that data in chunks of roughly the size you specify.
    , m* Q' T) N$ N% \8 J- q# }* z
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    0 w* m- x( l* M' _% z2 `
  217. ; interesting side-effects depending on your application and web server.
    + z& V& v1 ~. D# K4 V
  218. ; You may be able to send headers and cookies after you've already sent output" |. m3 U2 c7 X$ [$ c* [: S
  219. ; through print or echo. You also may see performance benefits if your server is
    ) ^; c  |0 ?7 T# @7 H  M8 w4 D
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ' b1 S  v( O4 |" w! g, B) [9 W
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance5 b5 t0 m9 \# d1 W  ^
  222. ; reasons.
    . G+ g. j7 I; u+ m# q0 E$ I
  223. ; Note: Output buffering can also be controlled via Output Buffering Control/ B) s/ m4 Y) T2 R1 r  p
  224. ;   functions.
    # a! @6 A0 t- R* c: k/ F7 z3 U- D
  225. ; Possible Values:( d! ^! ~6 r7 Y) u  m
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    / v3 T+ Y" \8 m1 y( s
  227. ;   Off = Disabled
    * q% M! q  A" C+ j! a
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    5 ]8 i6 |$ f$ B
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ) W7 Q/ I; L: c% W8 w1 X2 Y5 }; Z
  230. ; Default Value: Off6 }- U3 U$ x5 d8 \
  231. ; Development Value: 4096
    1 l( u. h4 }4 P# z
  232. ; Production Value: 4096
    # R/ x5 p" y, ]' u6 R. `
  233. ; http://php.net/output-buffering( X+ T+ \- K  u
  234. output_buffering = 4096
    ; D: a' D, F) \% s% C

  235. 3 |7 i4 {9 m! H: j# v# n! _
  236. ; You can redirect all of the output of your scripts to a function.  For6 t% L2 |# {* h- p' j. d/ E" G
  237. ; example, if you set output_handler to "mb_output_handler", character, p* o( E; {& f! K8 B, `: ]/ g
  238. ; encoding will be transparently converted to the specified encoding.
    : H7 Z3 ?# F1 [+ G5 H; L- t) M# H7 m
  239. ; Setting any output handler automatically turns on output buffering.. Q: N$ X0 k" o$ [% S1 |
  240. ; Note: People who wrote portable scripts should not depend on this ini
    - v# x7 W0 H6 L1 O4 e8 d
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ) s1 \0 Z& m- B# X2 {% u
  242. ;   Using this ini directive may cause problems unless you know what script' ]+ v( d% b" B/ b: j; n/ d
  243. ;   is doing.# }% I) J: K0 f$ H' w% ^% y9 Y
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    . Y/ Q, A2 Y+ J* v( J
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    7 ~" y+ d! s# M0 {
  246. ; Note: output_handler must be empty if this is set 'On' !!!!- _! [$ n1 E1 q) v' Q8 |$ n- O
  247. ;   Instead you must use zlib.output_handler.
    9 s* D8 P" N7 H, X3 G
  248. ; http://php.net/output-handler
    , ~: q+ g3 E" J, f1 F9 l! X8 G
  249. ;output_handler =7 {# D7 ?% _+ `
  250. 6 g# p. Y& b4 [6 p) ]
  251. ; Transparent output compression using the zlib library7 k  M" ^" |8 C, u7 q! D( S, f
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size" k4 K# s) A6 g8 {" ~0 Z
  253. ; to be used for compression (default is 4KB)
    7 L0 J/ I2 M; h
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ( [$ c' ?/ z# f3 b. l2 }
  255. ;   outputs chunks that are few hundreds bytes each as a result of9 H3 L& q2 g2 @' H/ j
  256. ;   compression. If you prefer a larger chunk size for better
    1 ^  \$ `/ p9 E5 A6 [' I& Y
  257. ;   performance, enable output_buffering in addition./ \  L+ E' q4 X! G" H
  258. ; Note: You need to use zlib.output_handler instead of the standard
      J. g3 B5 |- R* @* M' F1 x- I
  259. ;   output_handler, or otherwise the output will be corrupted.( J4 x6 \% W/ v
  260. ; http://php.net/zlib.output-compression5 h! Z" d  d+ G( Y+ G$ V
  261. zlib.output_compression = Off& t# D7 n* S) Z7 s$ V# K: [+ o- y

  262.   D- S0 C% N) W5 W( J7 n
  263. ; http://php.net/zlib.output-compression-level
    5 a+ ^% Y7 ^. k6 k
  264. ;zlib.output_compression_level = -1
    ) E) e2 l1 w" B" B

  265. & ]' X2 `2 S% J9 |' ~% l( {
  266. ; You cannot specify additional output handlers if zlib.output_compression1 M5 L: c3 Q7 e9 k5 R
  267. ; is activated here. This setting does the same as output_handler but in
    % o  m7 R2 W% @2 ?1 Q
  268. ; a different order.! c/ G. \! ^% n# n
  269. ; http://php.net/zlib.output-handler
    ) C' y# s# _8 H7 c
  270. ;zlib.output_handler =
    ' C! H1 \* F; D) ]

  271. % u  W! _4 R0 K) A. t
  272. ; Implicit flush tells PHP to tell the output layer to flush itself( ^" n- z  R' h
  273. ; automatically after every output block.  This is equivalent to calling the
    4 |: c# y1 E- U2 ?5 V5 ~$ B& P, ]
  274. ; PHP function flush() after each and every call to print() or echo() and each
    - @, J/ @0 n1 L+ m+ m; H! s- @
  275. ; and every HTML block.  Turning this option on has serious performance
    ) G( T' E0 O$ z6 k) O# a
  276. ; implications and is generally recommended for debugging purposes only.
    : j& M; X: K$ w, ^, s
  277. ; http://php.net/implicit-flush$ q2 T7 |4 z0 t1 C9 t; ], S
  278. ; Note: This directive is hardcoded to On for the CLI SAPI# S) J% @( d: U+ Y
  279. implicit_flush = Off
    8 L2 q  a1 x) h( q1 c; O

  280. ( ]9 T# [+ D3 v0 v, L) B
  281. ; The unserialize callback function will be called (with the undefined class'7 B) s( A( B' ~5 M) O! p, S! D1 Z  |
  282. ; name as parameter), if the unserializer finds an undefined class
    : \  M- G) h9 m: s  L: C" j% P/ r  h
  283. ; which should be instantiated. A warning appears if the specified function is# M% p$ G% L8 X7 f; C
  284. ; not defined, or if the function doesn't include/implement the missing class.
    - q* ?3 k; i- t$ ]
  285. ; So only set this entry, if you really want to implement such a
    + O2 g$ E* g# V+ g$ v2 T
  286. ; callback-function.
    8 C+ T) h3 \# A; a, z( O
  287. unserialize_callback_func =
    " }6 ~; j& ]! G$ P  R
  288. 7 \1 ~7 i# [1 Q1 F/ Z
  289. ; When floats & doubles are serialized store serialize_precision significant: l# K* A9 m$ f. {3 C
  290. ; digits after the floating point. The default value ensures that when floats* O  l% }* U  v# b% C/ `2 _5 y) U" }5 m! k
  291. ; are decoded with unserialize, the data will remain the same.8 x9 S( k- a( y/ c7 [8 b
  292. serialize_precision = 17
    3 T7 C; a4 o3 J  N8 |
  293. % X! Q3 E7 P% f4 o, Q; o
  294. ; open_basedir, if set, limits all file operations to the defined directory9 Q/ v+ e' \" n1 {  v" W
  295. ; and below.  This directive makes most sense if used in a per-directory
    0 q$ c7 n4 K7 s- }& L! {0 \
  296. ; or per-virtualhost web server configuration file.
    , h5 d# {5 C% a' L# J5 e, B0 l9 g
  297. ; http://php.net/open-basedir
    . n$ U2 p/ c! D+ f+ J1 X4 G, `, |
  298. ;open_basedir =/ ~4 p4 B" t: ~3 |9 \4 b0 M
  299. $ o5 A8 z7 p6 Y1 z
  300. ; This directive allows you to disable certain functions for security reasons.
    $ j4 c8 r1 D9 ]$ X' S# r
  301. ; It receives a comma-delimited list of function names.3 `# J: x+ P& [, T, y  D
  302. ; http://php.net/disable-functions4 P  q2 U7 A  Q* P9 Z
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ! L) V& Q2 `7 P

  304. 4 b+ L+ a9 T& w% O
  305. ; This directive allows you to disable certain classes for security reasons.
    * y2 y7 z- R% p" `/ q
  306. ; It receives a comma-delimited list of class names.% s# `9 Z2 k* P' G, z5 i
  307. ; http://php.net/disable-classes
    6 `9 F* f( e+ b4 n4 z! w
  308. disable_classes =- `* E+ r9 e8 Q
  309. ( i% J3 ?/ q) s- T: I) {- a
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in4 G+ o) K& E( Q5 k3 F$ `
  311. ; <span style="color: ???????"> would work.: B* }8 u8 d7 ~. V1 f
  312. ; http://php.net/syntax-highlighting
      S: ]7 z" e* N3 ~0 Y4 V
  313. ;highlight.string  = #DD0000
    $ w  B+ g9 [9 |: a  H% C
  314. ;highlight.comment = #FF9900$ R1 q6 K4 O4 \  V& D- _! ^* f
  315. ;highlight.keyword = #0077003 x, }% s8 n! v2 C6 c
  316. ;highlight.default = #0000BB
    / e  L0 t" Y' I  I; F  L8 E
  317. ;highlight.html    = #000000
    / o9 l. J# V  b1 ?9 |/ m
  318. 4 |8 T: X: g8 e8 E$ B
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    ( F2 ]( [: t# J7 C/ ~3 Y2 ?% h3 @
  320. ; the request. Consider enabling it if executing long requests, which may end up
    " q, S1 w; {  E1 S; t. O5 S
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior1 C2 m  y# u3 t/ A: N% w+ {
  322. ; is to disable this feature.
    " \0 ^+ P9 U! N1 ]
  323. ; http://php.net/ignore-user-abort
    ; J1 F2 V  v2 b0 \5 y6 r# m
  324. ;ignore_user_abort = On
    - n* R$ p; N% _& M: _/ B9 j
  325. 4 W0 ~) P5 d4 [- H  z
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    * C" A7 f3 {5 v
  327. ; be increased on systems where PHP opens many files to reflect the quantity of# x4 p+ u8 O9 y  P. M9 Z" a
  328. ; the file operations performed.
    " o% f* E3 p/ o9 ?+ p9 h$ b
  329. ; http://php.net/realpath-cache-size( m/ D1 `/ M8 w- ~+ b
  330. ;realpath_cache_size = 16k
    - B  G! Z$ U6 F

  331. / f, Q0 V# I0 A/ {
  332. ; Duration of time, in seconds for which to cache realpath information for a given+ h, z# E6 m: P: z
  333. ; file or directory. For systems with rarely changing files, consider increasing this. y- M8 B% k4 ?6 u& B: a! n, d9 D; E
  334. ; value.; K. ~% R4 O. @7 L' e. D2 I0 z' K
  335. ; http://php.net/realpath-cache-ttl  R' c/ Z7 D$ p/ ]5 @4 J: z) |
  336. ;realpath_cache_ttl = 120
    9 A- K6 H3 S9 e# {; p7 l
  337. * o4 c% W5 C( f
  338. ; Enables or disables the circular reference collector.
    * g0 J: N$ c. I( @
  339. ; http://php.net/zend.enable-gc0 v$ i9 p# D. P
  340. zend.enable_gc = On
    ; a# E  X8 X% L- l
  341. / f9 o: p0 r' F# f
  342. ; If enabled, scripts may be written in encodings that are incompatible with; B# e: ]& v% g7 N1 \
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    2 k) D' L& L- |9 B
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    & l7 _: L4 S$ l( z! ^5 T
  345. ; Default: Off9 a. A5 z7 \$ I4 v. S8 e. X, I
  346. ;zend.multibyte = Off9 c9 A- E3 N' s- b0 p7 J

  347. . E" B$ H/ y5 Q; V
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    4 k' C' q# F7 z3 m' }* Z5 m
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.& e- a) y3 {; i* I
  350. ; Only affects if zend.multibyte is set.( c7 w% j  b) X
  351. ; Default: ""5 V+ P7 Z( s9 q" i2 m) Y
  352. ;zend.script_encoding =- f/ D: h/ g. L7 j

  353. 6 Q: T9 {8 l- `+ [9 D' a8 e
  354. ;;;;;;;;;;;;;;;;;4 t) Y& _9 L( y5 w9 n( O3 _
  355. ; Miscellaneous ;
    9 \' {. a3 l$ V$ V5 v  T3 [4 A* x* S
  356. ;;;;;;;;;;;;;;;;;
    2 y* ]6 G  V! A& t" R4 H

  357. / [; B- [. ^9 \( m/ `. |, w( D
  358. ; Decides whether PHP may expose the fact that it is installed on the server& S& j% X/ H) M( S% _: z( k* I6 K
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    4 r: M1 x$ H3 v; p3 u+ C
  360. ; threat in any way, but it makes it possible to determine whether you use PHP9 U4 J2 O! T2 W6 ~* a- h; I
  361. ; on your server or not.: T" v) ]8 V! o  c2 J# |" a
  362. ; http://php.net/expose-php9 ]5 A+ w' p* `" z! Z/ _
  363. expose_php = On
    % e" x8 F" S! `( t: ^! G2 a

  364. ( e! v' ~5 i" k
  365. ;;;;;;;;;;;;;;;;;;;" y( G! F9 Y9 q# E( P! H
  366. ; Resource Limits ;, H, z3 U! d2 E" b
  367. ;;;;;;;;;;;;;;;;;;;
    * l; B. ~/ W* L4 P. p
  368. 2 Z  P9 h6 d6 L2 w& X
  369. ; Maximum execution time of each script, in seconds
    + B, {6 O4 U' F) G
  370. ; http://php.net/max-execution-time9 V7 w3 b1 S2 m2 k" u! I
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    5 c  i" n& D  ~; n' j. ~# ]
  372. max_execution_time = 300% n: O; y$ E. c1 f7 b
  373. ) `, J7 `! M. B  }
  374. ; Maximum amount of time each script may spend parsing request data. It's a good3 i+ @. o' P) r
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly3 k& o5 ]" @' B) s: D! b
  376. ; long running scripts.
    ) Z9 O/ E- A- r2 c% ?! }
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI$ ~+ Y4 B- Y. W; h$ m6 K' I
  378. ; Default Value: -1 (Unlimited)1 H) c& I6 M$ n% T4 O, }0 V
  379. ; Development Value: 60 (60 seconds)9 V- ~% j- i7 Y
  380. ; Production Value: 60 (60 seconds)
    / t/ f5 E  I, ~
  381. ; http://php.net/max-input-time
    2 y8 Z+ g0 m) G! d; n
  382. max_input_time = 609 k4 F# P& n( U, ?6 S$ |2 j" b1 ], x
  383. 3 \" _. t6 t/ j3 m
  384. ; Maximum input variable nesting level: a  \* M+ n' X: k( w- e
  385. ; http://php.net/max-input-nesting-level+ `" d5 L2 O- f& O3 o) M* u2 J/ \
  386. ;max_input_nesting_level = 64
    ' [  `, ]) u( e0 R" _% f
  387. + s+ f" m- O/ _9 n0 _; m
  388. ; How many GET/POST/COOKIE input variables may be accepted
    6 x5 t- u" N( Q
  389. ; max_input_vars = 1000
    7 x9 C5 C0 m# [4 k/ x/ l* C

  390. 0 w- ~. d+ t1 }4 H" p0 v$ X
  391. ; Maximum amount of memory a script may consume (128MB)5 |: t: e3 ]( ^9 r0 _
  392. ; http://php.net/memory-limit+ F8 f# A5 w5 N& ]# ]5 O2 }
  393. memory_limit = 128M/ k7 z. f9 |& p$ B+ h

  394. 4 `/ ]! q$ G+ V2 e4 E3 p. b
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; s1 d% k9 P" ~) }) r0 Y
  396. ; Error handling and logging ;( H! h1 _3 w; W
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- D# A3 w& }3 I& ]0 V9 T

  398. / p2 @0 b9 A' T
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ! v1 k  N/ x3 Z2 s0 f
  400. ; it to take action for. The recommended way of setting values for this6 D' |  C* w/ \0 q+ B
  401. ; directive is through the use of the error level constants and bitwise( |) x% Q3 h8 a( f
  402. ; operators. The error level constants are below here for convenience as well as1 m& v2 P: E! i; o6 I
  403. ; some common settings and their meanings.
    9 h4 L* }. y' L: t) a" _4 F
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT2 `- D# Q- O# A/ y' d
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and$ c: f5 \: T' B" r; Z3 ?" j$ X
  406. ; recommended coding standards in PHP. For performance reasons, this is the2 |# ~7 `$ m0 [5 f4 A
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ' C8 t  @) @. S  W
  408. ; resources complaining about best practices and coding standards. That's what* @0 N7 f/ x8 n1 V) u, m
  409. ; development servers and development settings are for.
    " Y9 H; m/ |' S' I; s' q
  410. ; Note: The php.ini-development file has this setting as E_ALL. This8 I$ o% d3 d' Z4 b
  411. ; means it pretty much reports everything which is exactly what you want during
    # S" z; C4 k2 E1 U8 c  g
  412. ; development and early testing.
    8 A6 B4 O& F- ]/ {+ j
  413. ;/ \$ s/ C3 @6 B
  414. ; Error Level Constants:8 D4 j4 Z; v3 G  ]+ u
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)) m8 w9 S) U, A, ?2 v, s9 P
  416. ; E_ERROR           - fatal run-time errors# e8 I% Z/ T0 z3 o: ^. o, z
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ' ]5 D* E( q) l6 Z
  418. ; E_WARNING         - run-time warnings (non-fatal errors)+ _; H7 j0 B" w0 [4 @
  419. ; E_PARSE           - compile-time parse errors
    ) Y3 C3 ]. k" q: j
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    1 }- d" U3 o, e# t
  421. ;                     from a bug in your code, but it's possible that it was/ q+ b/ c) ]8 h2 z% Z  I& M
  422. ;                     intentional (e.g., using an uninitialized variable and
    : M4 Q- s1 \! f
  423. ;                     relying on the fact it is automatically initialized to an
    ' u3 V2 |5 H! j
  424. ;                     empty string)
    1 @: X/ A& y4 e+ k8 s$ A3 g; F& h
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes8 H  D7 o# r" E9 z! }, ]* L
  426. ;                     to your code which will ensure the best interoperability' Y6 |. H- P+ q6 c! S' v
  427. ;                     and forward compatibility of your code& M* X9 ~# [. y1 z9 S
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup+ m$ p/ [8 z4 r
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's. ]6 ^8 c4 u1 ]4 U& L- B/ _
  430. ;                     initial startup
    * g4 {5 N) h  x) b8 v
  431. ; E_COMPILE_ERROR   - fatal compile-time errors, E/ {3 Y( Q) a- }" P% s
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ! L+ G# k+ ~4 \1 K* A" b  g6 Q
  433. ; E_USER_ERROR      - user-generated error message9 z+ ^2 R; O3 x$ M5 f: [. ~; [
  434. ; E_USER_WARNING    - user-generated warning message
    : h# o: H& B" Y: M
  435. ; E_USER_NOTICE     - user-generated notice message* {4 c) q9 d# p! ^
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    $ r9 E5 j! J7 G) F1 T! U
  437. ;                     of PHP
    ' j) h- A* ?/ I& O3 L% m$ d# O
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    1 J: L& `+ f# D- @/ b! |% I
  439. ;) o! v5 A% B0 i9 \6 H
  440. ; Common Values:0 l& u8 ?. O- e& k
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)2 `, i! u; [4 T9 @
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)# M2 m. h6 @3 @8 V7 ?, i
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)# f  ?( h# ^5 c7 r
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)6 z, i" g+ i4 L3 h
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    3 b7 ~. d3 @- d
  446. ; Development Value: E_ALL) D0 B4 G$ N3 h5 ^
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT! }; u' h( E: |. r5 y  r
  448. ; http://php.net/error-reporting& }% W; S$ ]! [  W; v
  449. error_reporting = E_ALL & ~E_NOTICE
    & b0 m' i2 w, W4 D

  450. , `2 J, C; _+ ?6 o/ v0 V( ~  z5 ~/ x
  451. ; This directive controls whether or not and where PHP will output errors,3 o$ ?6 y( |% l  _6 I# X( k
  452. ; notices and warnings too. Error output is very useful during development, but) T. R  d. U( v& s: j3 V
  453. ; it could be very dangerous in production environments. Depending on the code
    4 B% M7 q2 r9 Y
  454. ; which is triggering the error, sensitive information could potentially leak( T$ S5 i- B% X& y( w+ b
  455. ; out of your application such as database usernames and passwords or worse.2 H! T0 U' v& }/ F3 H: ~% D3 i
  456. ; For production environments, we recommend logging errors rather than
    + R  m( H7 y- }# u1 r. y
  457. ; sending them to STDOUT.$ c$ R0 S8 h, E8 H
  458. ; Possible Values:3 b) a, p" n# i; ^/ P* s
  459. ;   Off = Do not display any errors
    1 L; R+ T7 K2 l. t# D
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    % G! S, h7 k. u% S4 _; x, Q3 C
  461. ;   On or stdout = Display errors to STDOUT
    , e$ N$ T* I. W; e6 q
  462. ; Default Value: On- P1 x& y: L' s% R1 d
  463. ; Development Value: On
      l! S$ j6 x% `) i* {9 a
  464. ; Production Value: Off
    ! S7 L% r' D5 {" x& d( N! {6 {
  465. ; http://php.net/display-errors' t" \" _+ m5 a# I
  466. display_errors = On0 t# E1 F; |6 M8 c7 G& M% Y

  467. 6 I+ b9 |3 {! Y5 y
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ' u+ B' f0 z1 C. M" r
  469. ; separately from display_errors. PHP's default behavior is to suppress those3 ]5 E5 }% ], r) g
  470. ; errors from clients. Turning the display of startup errors on can be useful in  ~& E! k* q2 g4 Y
  471. ; debugging configuration problems. We strongly recommend you2 Z3 X3 W4 r, f$ f
  472. ; set this to 'off' for production servers.  H! i% i/ I8 r
  473. ; Default Value: Off7 J( n$ f- P! h) [$ s  }
  474. ; Development Value: On; t3 k% z+ b% C. Q4 q8 P: o, J
  475. ; Production Value: Off: @* K7 Y8 g: @% N7 i
  476. ; http://php.net/display-startup-errors
    ! h% X3 T4 Z  E% `! i: C
  477. display_startup_errors = Off
    * `, b8 j* Z9 _3 Y2 h. N
  478. 6 H# L0 R- e# \8 F& P; H
  479. ; Besides displaying errors, PHP can also log errors to locations such as a9 ^- O4 s% P' F
  480. ; server-specific log, STDERR, or a location specified by the error_log
    6 N/ Q4 i* k( m. o( A6 w
  481. ; directive found below. While errors should not be displayed on productions
    9 b- Z+ ~! n& H4 y; s1 y& f0 E
  482. ; servers they should still be monitored and logging is a great way to do that./ H/ P9 f% Q8 o; w
  483. ; Default Value: Off
    " z+ I: v" ~3 ?3 @
  484. ; Development Value: On. C/ A& q$ O& d8 R* ?
  485. ; Production Value: On
    8 |5 h; Z) D/ U7 Q5 k
  486. ; http://php.net/log-errors: h8 G5 b, N8 r2 [- t4 Q
  487. log_errors = On
      y. ?, M. a/ B$ k$ s/ r
  488. : g: k( O" a0 s! ]7 W
  489. ; Set maximum length of log_errors. In error_log information about the source is2 G; @: n0 o. k0 K( k: l. G1 ^1 Q7 E
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    # h. _# d" {! t
  491. ; http://php.net/log-errors-max-len
    . ~/ B& N7 F: o, g5 {: b
  492. log_errors_max_len = 1024. v- z5 P$ I  l  x; l
  493. ! i7 i/ E+ o8 Z4 S
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    0 ?# C* n* \# e3 e/ T
  495. ; line unless ignore_repeated_source is set true.
    7 ~+ r; c9 E6 T$ H
  496. ; http://php.net/ignore-repeated-errors
    % }* d  i6 ?  Z4 t# P  w' ?7 k
  497. ignore_repeated_errors = Off1 B' E( g; {9 E5 l! g; S

  498. 5 w8 l0 R9 w, I& y0 m6 q. `7 n
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    0 _; U3 K) K1 y- _& @
  500. ; is On you will not log errors with repeated messages from different files or
    9 x8 V4 t' ~$ N. B3 y! i# I9 A, Y
  501. ; source lines.
    " B. D" d' i3 l
  502. ; http://php.net/ignore-repeated-source, p# D9 d+ k+ T/ {- [) e
  503. ignore_repeated_source = Off6 r4 `& r  K0 i6 d+ @0 w, M8 s

  504. , U, k7 B$ B$ o; @& O( E; m% F( e/ ]
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on4 b  s* J; {7 w# w7 Z- [4 L
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    1 G- ~0 h7 s) B, L' f5 Q) N- N
  507. ; error reporting includes E_WARNING in the allowed list
    # p8 J/ W5 h( c" L9 z- j) u1 g5 E
  508. ; http://php.net/report-memleaks% u/ t0 i' s6 s0 i8 l& M7 m5 M
  509. report_memleaks = On
    / m( z5 c( c+ p' B' A" ^
  510. * f5 }: C$ c, l( u! n
  511. ; This setting is on by default., S7 p1 _: d/ h/ ?; d2 @3 U' m
  512. ;report_zend_debug = 0
    7 Q5 \$ A& A+ N! W2 X8 k
  513. ; r5 Q' y* B; C4 N! q" w* w/ {* p
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    3 E  L/ N5 v3 }( i- L5 P. q
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ' Z9 T) M5 ^5 S; n0 ?* g
  516. ; however be disabled on production servers.( `! X- `" N" J$ a6 }) b- j
  517. ; Default Value: Off
    , s$ x9 S% H, ]# _% g
  518. ; Development Value: On
    , ?% s8 y" X* i
  519. ; Production Value: Off8 {4 m, F8 Y/ e! \  u5 X5 O
  520. ; http://php.net/track-errors
    7 ~- u3 t9 E  H* e6 `; @
  521. track_errors = Off
    , b, ]2 Z7 @) V0 N/ \  w

  522. $ u% P7 w9 y5 |& `2 j4 b; a
  523. ; Turn off normal error reporting and emit XML-RPC error XML( y# n) i/ S! @6 e
  524. ; http://php.net/xmlrpc-errors
    ' [, c9 i9 m4 }( N3 S0 }6 v
  525. ;xmlrpc_errors = 0
    3 ~3 f2 @" R8 u
  526. ; m; T4 P* w. g! A
  527. ; An XML-RPC faultCode
    3 r  |6 F2 w7 g& Q3 S( T0 N
  528. ;xmlrpc_error_number = 0) }- }+ Q. P4 O  q* c4 z

  529. ' O! W" i0 I& q0 L* \: [
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    ' u1 |1 x1 l: U8 @
  531. ; error message as HTML for easier reading. This directive controls whether1 I- c; I( H( o7 T& o) [
  532. ; the error message is formatted as HTML or not.
    6 e8 ]' D0 a' T. Y  B2 c
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    2 J1 [+ T; v! Q' M% H$ L- Y! U2 {) b
  534. ; Default Value: On
    . f' Q1 W' Z' Z! U0 m1 P$ e1 y
  535. ; Development Value: On
    ) r3 x/ D: H5 }* ^; h1 U$ A
  536. ; Production value: On
    ; u$ |- a% K; y8 ]' S* j  q
  537. ; http://php.net/html-errors
    4 ]8 Z) ^+ }% B" J6 _" o0 U
  538. html_errors = On* l1 R0 i  U; j3 Y; _

  539. * m- N+ w* U( V! k0 d8 S
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP$ K. C: U4 u+ a* @. a
  541. ; produces clickable error messages that direct to a page describing the error' \6 M4 b4 U1 C/ i$ B
  542. ; or function causing the error in detail." K$ h4 Y$ A8 F% ]; s) ]4 S
  543. ; You can download a copy of the PHP manual from http://php.net/docs  n# z% G  H* I4 m0 P1 q
  544. ; and change docref_root to the base URL of your local copy including the; \$ W8 D( A! f0 a9 P
  545. ; leading '/'. You must also specify the file extension being used including- m2 T7 c8 K* a( V; x. t6 h* ]0 c
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    7 Y) E3 \% ?9 p8 E+ h6 e2 S5 P
  547. ; case no links to documentation are generated.
    / D# Q7 I0 M1 H! X' z! J( @  S( }
  548. ; Note: Never use this feature for production boxes.; o  ?0 m3 d( M+ ?$ I5 n4 b; x
  549. ; http://php.net/docref-root
    4 z- i7 i2 ~2 B' W# K8 r% G3 P) U
  550. ; Examples
    2 b) |  E0 x/ G* C+ j4 F0 v
  551. ;docref_root = "/phpmanual/"
    7 [$ q1 `. O( Z2 K
  552. , g4 v, S# J' A5 M4 q
  553. ; http://php.net/docref-ext& L: q! f7 _  e9 b
  554. ;docref_ext = .html2 K) t" V8 F" k3 F/ `: z& K

  555. & e( @* a: I" U! E
  556. ; String to output before an error message. PHP's default behavior is to leave
    & z3 C2 A8 b2 R1 z. G
  557. ; this setting blank.
    - m' Y5 p" q' z$ E
  558. ; http://php.net/error-prepend-string
    4 s+ ]' s4 ?3 I  \) L* j6 `( w* P
  559. ; Example:
    0 W% p/ k/ C, n" G# S/ Z
  560. ;error_prepend_string = "<span style='color: #ff0000'>"1 [8 v, m) u" ~% r8 s3 f) r
  561. 7 |# F- f; e/ G
  562. ; String to output after an error message. PHP's default behavior is to leave
    3 @# _1 x5 J+ y: R* r9 H6 N
  563. ; this setting blank.9 u6 U# j: u2 R9 p/ o# K8 _
  564. ; http://php.net/error-append-string9 K: Q+ S( U. K( j
  565. ; Example:
    ) @) i5 x: \% G( a( h+ H) g
  566. ;error_append_string = "</span>"4 |# x+ d- y  U3 s) W

  567. / K$ x7 Y8 O+ o) m! F
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    3 P; D' J7 M# d8 G
  569. ; empty.
    . Y0 F8 ^' ~$ F, @
  570. ; http://php.net/error-log2 m( c4 O) ]4 I* w, u9 n
  571. ; Example:" A" Y4 `9 }$ V6 M
  572. ;error_log = php_errors.log
    5 W( I+ ?% D5 Q2 _) V2 e8 _% W2 I: ?
  573. ; Log errors to syslog (Event Log on Windows).
    & t* V1 s7 h- n/ ^, h' a
  574. ;error_log = syslog" E" Q/ \( y+ Z- q8 j" ~* A2 n0 `
  575. 6 {% ]9 R5 o1 K% `  G/ j
  576. ;windows.show_crt_warning
    " l( K/ d$ `5 Z: c" Y# Q
  577. ; Default value: 00 w* }; ]" p1 i) n
  578. ; Development value: 09 d6 u( ^" Q% d) ?
  579. ; Production value: 0
    3 Y* R! V2 T. c+ e

  580. . \' k  c7 m4 |! J$ ?2 y
  581. ;;;;;;;;;;;;;;;;;; I1 s7 c( f. t: i
  582. ; Data Handling ;4 K9 M9 H! t9 s" i
  583. ;;;;;;;;;;;;;;;;;
    & l8 B- Z8 G( C: c* {, ?7 {2 V3 u

  584. 3 [" O5 x) h" D* R# D3 z0 J! j
  585. ; The separator used in PHP generated URLs to separate arguments.
    1 Y! }) F: b# }4 W# c9 U1 o
  586. ; PHP's default setting is "&".0 C" U2 I8 L( L) H5 T
  587. ; http://php.net/arg-separator.output
    7 Z+ c5 Q; c* z& U8 O" J, W: ^
  588. ; Example:. g( I1 |& b! n/ @' M+ |
  589. ;arg_separator.output = "&amp;"
    7 S# n9 i( T7 t, M

  590. : o7 Y# {" w4 p4 J7 T/ W
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ! d. _$ ~/ r: Q+ N6 n4 F; `
  592. ; PHP's default setting is "&".
    5 C* l; P) n, z$ K, t- X
  593. ; NOTE: Every character in this directive is considered as separator!* H, C" v5 O* G! _$ `
  594. ; http://php.net/arg-separator.input3 g3 _' a- F7 \: m
  595. ; Example:
    % u+ V7 G; K8 u& }4 {  @9 n
  596. ;arg_separator.input = ";&"
    ) a- T/ O. ~7 h( V( Z) X

  597. 7 X* x1 O; v( V2 i6 _& a- m* h8 w
  598. ; This directive determines which super global arrays are registered when PHP. z! e- \3 }2 K# D+ l
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
      h) f: c1 t/ i2 J  o7 Y* L: d
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty! D8 ^" K6 z. V( c! U
  601. ; paid for the registration of these arrays and because ENV is not as commonly! E7 Q8 {2 ?0 x/ O5 i
  602. ; used as the others, ENV is not recommended on productions servers. You5 l& A+ l' z* M* O+ Q4 u8 D9 D  r8 }
  603. ; can still get access to the environment variables through getenv() should you$ e. B+ J; @2 v: v$ \
  604. ; need to.
    & ^7 w) b8 N. h; _+ I* d2 K1 D
  605. ; Default Value: "EGPCS"' [1 n2 B, M0 ^# |2 H6 w
  606. ; Development Value: "GPCS"0 v7 {' j# B- h) i. B/ @
  607. ; Production Value: "GPCS";
    ( w' k' t$ o: O
  608. ; http://php.net/variables-order
    5 W7 H6 U  ^# K. g/ w
  609. variables_order = "GPCS"$ \6 O9 q2 l/ ~

  610. ! b- T7 a" g' e# _2 p# t! }
  611. ; This directive determines which super global data (G,P & C) should be, a: S' p0 |6 d# q1 {0 A
  612. ; registered into the super global array REQUEST. If so, it also determines# W  O/ d6 i7 o* ^' R
  613. ; the order in which that data is registered. The values for this directive
    : M  R" |4 p2 U" j+ T9 k( t
  614. ; are specified in the same manner as the variables_order directive,
    / [5 ^1 O/ K( K& h
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set' q2 j' F1 k$ [% x/ b
  616. ; in the variables_order directive. It does not mean it will leave the super
    - r& U2 r/ z. `7 Q* d
  617. ; globals array REQUEST empty.
    % l  K% U/ E* L6 Y1 L5 j( I
  618. ; Default Value: None
    2 w7 w% @/ F8 d; B) }* s: i
  619. ; Development Value: "GP"
    ; v/ m# p- O3 C+ O
  620. ; Production Value: "GP"
    * {, X* s, g; r; p# [
  621. ; http://php.net/request-order8 b- i5 M+ M8 l8 {8 |
  622. request_order = "GP"
    * \* Y: H0 W7 l% Z0 l

  623. % r1 t) F+ s1 A. ]# S
  624. ; This directive determines whether PHP registers $argv & $argc each time it3 K! L4 B% R- w
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ( D) n' C+ j( J! r% d  L5 f7 z
  626. ; is invoked. $argc contains an integer representing the number of arguments0 f# [' D8 H* t* |3 E9 b
  627. ; that were passed when the script was invoked. These arrays are extremely
    # ^4 B2 w8 r! M: @/ K7 \% Z$ J
  628. ; useful when running scripts from the command line. When this directive is9 \/ F6 q4 k1 n* t5 g" m  ~
  629. ; enabled, registering these variables consumes CPU cycles and memory each time6 Q$ a+ X9 t4 E1 ?, V. q9 V
  630. ; a script is executed. For performance reasons, this feature should be disabled
    + q. z9 K, K; |" J' j: D8 K
  631. ; on production servers.$ u! G# N% {" n# v! d) w
  632. ; Note: This directive is hardcoded to On for the CLI SAPI. T( X% h( H$ v4 G0 o1 ^  @* _
  633. ; Default Value: On
    ' ]5 i& n1 n! w& A; g3 s+ r$ ~
  634. ; Development Value: Off
    9 W; k+ K- R6 F* o
  635. ; Production Value: Off
    4 }  |# V7 N8 r( Z
  636. ; http://php.net/register-argc-argv
    $ z4 E( ~" W/ b$ x! [: J% w6 M
  637. register_argc_argv = Off, Z* k* ~4 a- U3 P! N2 E
  638. / A$ U( `, `" ^0 R% _) @! g
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're: g' C' E6 P( v  Z3 d7 n/ q
  640. ; first used (Just In Time) instead of when the script starts. If these
    ' G0 D. a$ [) r$ @# |9 q- z% X
  641. ; variables are not used within a script, having this directive on will result! ?. m3 [/ q6 Z- n* r
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    % [, X$ a. z: p4 d
  643. ; for this directive to have any affect.- {+ ~4 n/ P* k* `! t0 T- U
  644. ; http://php.net/auto-globals-jit
    + D$ B: P2 f# ?; \) V- w6 u
  645. auto_globals_jit = On# k8 ~; k) @0 \

  646. # o# V' |' D7 ]
  647. ; Whether PHP will read the POST data.
    0 V, u- m+ f/ U
  648. ; This option is enabled by default.
    ' @* G: T0 K% o% _( F
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST2 m" B4 E0 X3 f! ^) l
  650. ; and $_FILES to always be empty; the only way you will be able to read the1 e. [- ~! w- a" ^
  651. ; POST data will be through the php://input stream wrapper. This can be useful  O. v( f- |& P# k8 v4 K; p8 G. l- b9 W
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    / w: g' ~/ H% |* f3 q) w
  653. ; http://php.net/enable-post-data-reading
    * k+ {$ S) Z- Z0 e& V. i2 i# L9 f
  654. ;enable_post_data_reading = Off6 v7 o( D' G2 S, }( C

  655. / N0 ^- E; F6 y3 E+ C
  656. ; Maximum size of POST data that PHP will accept.; i  V  ^; a; u- w9 p& p
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    / `) v+ o8 B: T. n2 |, B
  658. ; is disabled through enable_post_data_reading., u: U" y( a' z$ [
  659. ; http://php.net/post-max-size
    ( [4 @" o% m' j. [
  660. post_max_size = 50M
    : Z* S* }( h7 M1 N

  661. * C) S: K1 s7 C' j
  662. ; Automatically add files before PHP document.
    / u) O# H9 I- S* O# P
  663. ; http://php.net/auto-prepend-file& S& c+ u8 k8 H" Q8 X: i
  664. auto_prepend_file =
    * J2 I. D# R$ |+ k4 p/ r' }( F
  665. 1 H8 d5 ^' w6 A! n$ h
  666. ; Automatically add files after PHP document.1 V6 I* t& _+ I2 G' X
  667. ; http://php.net/auto-append-file- v3 D5 q' B, ~- |' k6 M+ A; `
  668. auto_append_file =
    / d  M( j# u) k7 T3 q8 U; J- E

  669. ( y1 x  J+ Z3 R$ [% t' A. Q' c
  670. ; By default, PHP will output a media type using the Content-Type header. To
    8 ^5 N2 w5 l2 m6 e; M1 Y3 b7 K
  671. ; disable this, simply set it to be empty.
    . d8 x2 Y& F' ?( _% l' u' I, J2 M9 ^
  672. ;$ H: g$ s5 b- a
  673. ; PHP's built-in default media type is set to text/html.3 W! N5 _+ _3 `5 [; \6 S
  674. ; http://php.net/default-mimetype
    $ {/ _6 b7 M: |. o3 C/ H
  675. default_mimetype = "text/html"
      t3 M+ \6 i  L. q( {  o( D$ G
  676. + w0 u* g0 q5 x( p
  677. ; PHP's default character set is set to UTF-8.
    7 Z4 P# ]6 Y/ L8 N, b
  678. ; http://php.net/default-charset+ N2 Z$ |3 S, ?; U7 ^7 `4 G
  679. default_charset = "UTF-8"- `1 E/ `6 \9 Z4 ?0 L! s$ Z
  680. 8 C/ ?2 Z* F0 Q) J, H
  681. ; PHP internal character encoding is set to empty.
    $ M# H& t/ ?9 X8 L
  682. ; If empty, default_charset is used.
    # Y3 C! f7 n* O4 d9 Q. w
  683. ; http://php.net/internal-encoding' v, j8 J: O1 }) c. }
  684. ;internal_encoding =
    & Q9 O( m2 g- Y$ W+ _: ]

  685. 7 {, K0 `$ @- X: P
  686. ; PHP input character encoding is set to empty.
    : ~" k# W+ ?2 l  T+ f) j
  687. ; If empty, default_charset is used.
    : [6 E3 t% a3 f: D; v, [$ O* t9 ~( i! }
  688. ; http://php.net/input-encoding  h4 j+ }5 i* }/ m/ h. M8 p8 j( J2 S
  689. ;input_encoding =
    - ^- j  S: g; O8 v$ S9 T9 p0 p  j
  690. 4 |# P4 X$ q. g) g$ Z
  691. ; PHP output character encoding is set to empty.$ o# |. [% I( _4 a
  692. ; If empty, default_charset is used.
    % E& w9 B0 y# ?& r( E9 f" _3 f
  693. ; See also output_buffer.
    1 W2 Z* v  j& ~) P! }
  694. ; http://php.net/output-encoding7 P$ {2 j7 p+ j9 \5 D; ~6 P1 Z
  695. ;output_encoding =
    2 h2 y* Y" L/ f1 w: V
  696. ! f0 t7 v9 S: |. }' _- P" H
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is" ]2 ]# p) u5 a" E+ O
  698. ; to disable this feature and it will be removed in a future version.
    * i) K) S# ~; V. ?
  699. ; If post reading is disabled through enable_post_data_reading,
    & |: ?( [4 ^) Z7 F
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    . W' @9 G5 ~2 o* E8 Z+ r8 U' ]& @. I$ B
  701. ; http://php.net/always-populate-raw-post-data
    0 m. R4 g% }, Q; a4 h" }
  702. ;always_populate_raw_post_data = -1
    4 D! z  |3 M% Q# t
  703. . ?9 ^9 a" R% s8 H) y9 O; i& \
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    / ]* B% o' x# d! e* ]
  705. ; Paths and Directories ;
    - i+ D( c2 u$ ^7 ]" l/ b3 `
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;! J! y* ^- |5 D
  707. 1 p" D+ L+ U. h; g+ m0 t+ A! K
  708. ; UNIX: "/path1:/path2") P% G1 q# b4 O" a, \4 v
  709. ;include_path = ".:/php/includes"
    3 m) l4 E+ q) v7 w; E
  710. ;$ x2 g% K, W3 J' e
  711. ; Windows: "\path1;\path2"
    . t" u! a8 R8 w, o2 n8 U8 f
  712. ;include_path = ".;c:\php\includes"
    ( W, ]0 o3 q1 k/ I
  713. ;
    8 P8 V5 V8 ?# X# C1 s/ s
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"' C' }3 C. }; G* |+ G- ]
  715. ; http://php.net/include-path
    " q( \+ w# Y" A0 S" o! I

  716. * Z) J2 h6 O/ t# {
  717. ; The root of the PHP pages, used only if nonempty.. U& V  `7 q% T0 q8 P' r- Z
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    $ @# T  N9 A6 h4 }6 ?
  719. ; if you are running php as a CGI under any web server (other than IIS)- Q+ h" Z; y2 ?, C
  720. ; see documentation for security issues.  The alternate is to use the
    : A2 m1 [) r: _7 P+ X% V1 c4 Y/ ]
  721. ; cgi.force_redirect configuration below1 t' \. b; B% h4 P$ `+ W  B4 U8 Q
  722. ; http://php.net/doc-root4 U, g8 w" f6 F
  723. doc_root =; O' Y2 u. V- h% s/ \! F5 V

  724. 7 T* e; K/ V# R. `4 H& D0 |
  725. ; The directory under which PHP opens the script using /~username used only
    0 B  F0 m$ M# P7 S
  726. ; if nonempty.1 i/ z5 d0 f$ u% W$ H& O
  727. ; http://php.net/user-dir
    # k$ n5 P% a' m# A6 u3 v% h
  728. user_dir =' f* l! y! z5 d
  729. + H5 [0 h$ P% m
  730. ; Directory in which the loadable extensions (modules) reside.
    , S4 d, i  T2 j" Y. j( F
  731. ; http://php.net/extension-dir2 M9 d4 F- _3 V% U% l
  732. ; extension_dir = "./"
    % V$ w" u. J$ o0 E
  733. ; On windows:
    % i* W1 K5 n  a6 ?. F$ e  B2 K+ k0 D
  734. ; extension_dir = "ext"
    / }0 M$ {2 B. c! w# o: }$ c! c
  735. . n% D: }7 Q' P- {. i! K& v
  736. ; Directory where the temporary files should be placed.
    9 l" r# F$ n# C7 _4 s: @
  737. ; Defaults to the system default (see sys_get_temp_dir)
    7 x5 t0 s( @7 ~7 Y- Q/ `3 K
  738. ; sys_temp_dir = "/tmp": l8 J4 F) T) V. W& U
  739. ! B$ w$ k1 I# o
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work7 y) G+ K- {4 t
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
      X, r1 a/ b- d0 Z# [" p
  742. ; disabled on them.
    ' _. K& T, g4 q/ n' `, c: r, _
  743. ; http://php.net/enable-dl
    ( G9 c5 `/ I: \
  744. enable_dl = Off
    $ W! Y& V) j2 `6 X/ R; u* x

  745. 3 p1 z! h' C, {
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    1 x, V6 R+ W' J6 P2 c+ o
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    9 W' f4 _. z8 ~
  748. ; turn it off here AT YOUR OWN RISK' {4 I, s+ W# M* h2 ~. K  `2 k
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    0 A1 @6 _) W8 v0 ?- g5 o
  750. ; http://php.net/cgi.force-redirect1 K: Y' W; }. @8 f! }  |
  751. ;cgi.force_redirect = 1
    1 Q, O# g# m9 }9 i( X

  752. 5 Q: e! U/ s" n7 ^$ A9 w2 `
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with& ~+ ~( |  }# ~2 N8 x# g
  754. ; every request. PHP's default behavior is to disable this feature.' F5 B7 I0 W* @( A% N% V0 v2 w
  755. ;cgi.nph = 1( g3 l* Z2 l  S, I  X7 ^/ [

  756. 0 X8 Z! m: h1 K6 E$ D  S
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    + Z; b' m! g  N# x7 o
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    7 `1 U6 R( V0 Q( D$ ?2 n
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY4 p3 C, T' n9 H0 F. A
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    . ^' Z! K: g5 h7 Z8 `
  761. ; http://php.net/cgi.redirect-status-env
    , s% U3 K, ]/ q+ M5 s
  762. ;cgi.redirect_status_env =( [+ P: K- y& K4 ]( O
  763. 5 g, _4 m* p+ O, F# K; n. y
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    : U) A1 Q! N5 w( Z  M) A' [
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok9 O& n0 Z+ A; D* b6 U, x
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    5 o/ W4 h0 x0 l8 ?
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting0 ]% Q0 g$ O9 I) k( B  H/ r# m
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    " `; r' x/ L" Y3 S8 m7 Q' h& z  R
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    & O. m; |, ?/ U6 C
  770. ; http://php.net/cgi.fix-pathinfo- R& P; `! V9 J8 j/ l0 }* R6 |
  771. cgi.fix_pathinfo=1) N8 n/ |, J- Y& m% U; L
  772. , z1 e4 w5 _1 h
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    # Z, A3 H" g- ]5 q# @) @
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ) h. B: _4 ^4 p
  775. ; http://php.net/cgi.dicard-path
    ' e, g% v+ R4 H4 x
  776. ;cgi.discard_path=19 M( ~/ ?! N, x: R, i3 ]5 {) F4 f

  777. ) J. j" c) t$ _1 K, Q& v
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
      T8 x* U+ L  I3 K7 I
  779. ; security tokens of the calling client.  This allows IIS to define the
    ( y4 u) U2 L1 o/ ?, X* W
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    * y  [' l2 U7 q
  781. ; does not currently support this feature (03/17/2002)! o( O: J1 Y* C9 ^, d* H
  782. ; Set to 1 if running under IIS.  Default is zero.
    1 S$ M, O9 j5 G* s4 {) o
  783. ; http://php.net/fastcgi.impersonate2 V* j+ ]2 f+ ^  g2 Q) Q
  784. ;fastcgi.impersonate = 1- \" c' H: M1 z. g3 ]  ?: H2 ]: @

  785. 2 n1 Q$ C! q' A  j6 o, j
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ' |( J+ C& J  N2 Y3 i5 h/ P- a
  787. ; this feature.! `. |7 X# A0 v& r) ~
  788. ;fastcgi.logging = 0" z0 }% \* L" b; t8 @

  789. / J3 J: b- V! `+ g3 I6 b
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    / }) }3 O  ^0 s* U& H% l
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that3 G% y9 Q* A4 {. g
  792. ; is supported by Apache. When this option is set to 1, PHP will send+ h5 D1 K9 k! M& W7 p& ?* t
  793. ; RFC2616 compliant header.6 T/ Y- k' u/ g0 s5 I& ~3 p
  794. ; Default is zero.# Y# t* p$ n! N, Y. c: W* `5 ]9 Q4 a
  795. ; http://php.net/cgi.rfc2616-headers
    7 v2 P2 b2 }% J/ [8 K2 P  q
  796. ;cgi.rfc2616_headers = 0+ Z; G" |8 G. t3 z3 z5 M

  797. ) k( d. e( S5 o8 v' M
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!" H' A$ ~2 s% T& [( c7 w
  799. ; (shebang) at the top of the running script. This line might be needed if the
    8 s' K; {; S. g, y2 t
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    - ]* Q4 P4 G; ^! Q; f( q2 f4 H
  801. ; mode skips this line and ignores its content if this directive is turned on.6 B& `) w( N! u
  802. ; http://php.net/cgi.check-shebang-line
    3 h, O& g# i  K' a( z
  803. ;cgi.check_shebang_line=1) o4 n" {& j4 m; w/ X, n, _

  804. ! i/ Y3 c1 p- U% S- C1 `- C
  805. ;;;;;;;;;;;;;;;;) r; |8 P# \0 O4 s! x
  806. ; File Uploads ;
    ( t$ G1 f" y0 M+ E4 z. H  K; z
  807. ;;;;;;;;;;;;;;;;+ B  J& }: |+ u3 R& r( ?  ~5 R1 S
  808. 8 ^/ F5 F1 y2 O% d# j( g
  809. ; Whether to allow HTTP file uploads.
    * D  {' U/ q0 L1 ]
  810. ; http://php.net/file-uploads( O' y, u& s. k; H# J
  811. file_uploads = On/ Z! E- I4 t+ ?, F* M8 X

  812. # Z; i9 L5 R  h+ x( I0 b
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    3 c" ~6 h; K  i+ O5 P# ^# a
  814. ; specified).
    ' [+ h( m) o  K! Z$ B; T/ h/ K
  815. ; http://php.net/upload-tmp-dir
    + k7 w1 ^; U1 O9 X8 P1 A0 X$ X- `- P
  816. ;upload_tmp_dir =* A  h7 d; s' {! `& y8 W( D
  817. 6 Z- s6 k8 r2 H, l9 b
  818. ; Maximum allowed size for uploaded files.$ X( y2 X/ E8 q: I( N. ~
  819. ; http://php.net/upload-max-filesize
    $ c! p: g$ P! i. |! e- ]3 c& p
  820. upload_max_filesize = 50M1 u) A8 q" i- p1 W" U
  821. 6 w3 F8 d& G: g  a* x7 Q' H
  822. ; Maximum number of files that can be uploaded via a single request7 s3 B8 c* s8 N: X- P
  823. max_file_uploads = 20
    1 K& ]! ]: J4 ], t2 s/ t1 q6 ?& c
  824. " w4 d1 W1 {; W  Q9 V+ w
  825. ;;;;;;;;;;;;;;;;;;
    ( [% h1 I3 S0 s. V: m3 O5 }( b
  826. ; Fopen wrappers ;
    7 l3 i; X7 ?8 J$ @2 S
  827. ;;;;;;;;;;;;;;;;;;( L2 `( i! ]* r2 h5 F

  828. 3 a$ G; T, i+ d) S
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.5 @8 w8 b. ?1 z' Q! \9 k
  830. ; http://php.net/allow-url-fopen- K9 @  R8 B7 S
  831. allow_url_fopen = On4 d. n$ b7 E" K* t, ^

  832. - m( E; |9 Z$ b% A! @, g/ |* D
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    9 O9 K, s1 i+ H  _3 R# j+ P2 e
  834. ; http://php.net/allow-url-include9 r) y3 p  ]' F8 A3 ]
  835. allow_url_include = Off
    : e3 a& B, L* d1 r9 s# M1 ?9 s! l& c

  836. ( N* t+ K+ r5 a* P
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    7 j& m) t6 Z5 e+ y# E% |! E
  838. ; for this is empty." H1 G5 M$ H2 V# a* C; }
  839. ; http://php.net/from
    3 G# G3 x4 ^: |( l) l3 q
  840. ;from="john@doe.com"
    * `$ t' s4 d, p0 l; B

  841. ' k. N0 }1 Q7 {! b& U
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    9 t, S# k: g0 U% p! D
  843. ; http://php.net/user-agent
    5 {# L( P  f* o( G, g
  844. ;user_agent="PHP"# b. F: A5 n; R, A8 s( k

  845. - I6 T4 Q4 I, t& @4 z3 C8 U
  846. ; Default timeout for socket based streams (seconds)
    6 f  l) C& M8 r; D# `* t. g
  847. ; http://php.net/default-socket-timeout: k0 S* t  k0 @2 F) N
  848. default_socket_timeout = 607 l* d  g) ^. E" K' z, f( Y+ o
  849. , e5 W6 P2 }% a  ^) |6 ~/ `9 C
  850. ; If your scripts have to deal with files from Macintosh systems,/ p9 z  N- `* o& D
  851. ; or you are running on a Mac and need to deal with files from2 V# m6 `, o0 r* ~7 u* B( X3 V
  852. ; unix or win32 systems, setting this flag will cause PHP to1 u; w8 j6 \  q& q8 ~6 U
  853. ; automatically detect the EOL character in those files so that
    % q- g, V/ l; v% D6 J" B
  854. ; fgets() and file() will work regardless of the source of the file.1 Z. Z% A# k0 ~: m
  855. ; http://php.net/auto-detect-line-endings
    + [$ [; w  _' E, r' x: W- ~
  856. ;auto_detect_line_endings = Off
    0 F/ @0 c8 ^, b. t5 n, ~+ x* Q3 j
  857. / C  V; k, J2 E9 a7 K+ g5 @
  858. ;;;;;;;;;;;;;;;;;;;;;;. r- m+ U( S0 ~4 U5 F
  859. ; Dynamic Extensions ;& ?1 P2 R1 j* d! V1 g! g  x
  860. ;;;;;;;;;;;;;;;;;;;;;;
    9 t4 T7 _4 _& X2 O+ @/ \+ j
  861. . w  G. X& }, R$ `' W
  862. ; If you wish to have an extension loaded automatically, use the following3 d3 Q  n4 K: e" a  ~: l8 n' \1 j
  863. ; syntax:
    . \/ U% A  @5 g1 U% b+ f9 D% v: T
  864. ;
    6 |; k' s# v. G6 [3 l1 j
  865. ;   extension=modulename.extension
    0 Z' c" W; {, W
  866. ;/ Y$ J& s8 o$ P9 M' h4 Q
  867. ; For example, on Windows:
    8 f  W$ j; x/ R6 D' I! L, Y
  868. ;
    , u7 m5 Q$ K& B0 i: l4 L7 B% K) D& n/ N* E
  869. ;   extension=msql.dll, M4 e2 i7 E1 z8 j
  870. ;
    " o0 w0 p8 i# {/ l
  871. ; ... or under UNIX:
    + R$ L" D/ ?# g
  872. ;
    $ P' u/ J, _$ a- |7 m" X- `
  873. ;   extension=msql.so* S  k* C& w& |" b; ~
  874. ;
    ) w" R' x$ F: |8 P9 f9 N& W
  875. ; ... or with a path:
    * l& Y: T, f' c4 P- z
  876. ;
    ( {# N( N3 g) \$ `; [$ P
  877. ;   extension=/path/to/extension/msql.so5 m# @% s% ?0 H% s' h* }) K
  878. ;! A* S6 V9 b* C# F5 I5 n
  879. ; If you only provide the name of the extension, PHP will look for it in its
    + m5 J, m1 l: Z. ?0 T
  880. ; default extension directory.
    * ], R# j- k' q# o% y) o
  881. ;: m8 d( B5 t6 M
  882. ; Windows Extensions+ W! u2 T! K, c# G) y2 d/ V  _$ y. o8 J6 Z
  883. ; Note that ODBC support is built in, so no dll is needed for it.8 _9 I" t% D7 I$ U5 N
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)+ w0 ^5 k8 c6 q: B
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    $ }0 U$ K, d9 C2 }6 P
  886. ; Be sure to appropriately set the extension_dir directive.
    & h7 x6 J# e, ^  k- @
  887. ;& ?4 T* C7 T' i6 K- n( S6 O6 C
  888. ;extension=php_bz2.dll$ p. {7 S0 ^7 i5 n
  889. ;extension=php_curl.dll2 e  U; ]1 u, d3 ]3 L: m
  890. ;extension=php_fileinfo.dll
    ; m/ d& D# ]$ ?2 o9 |7 {( H  M
  891. ;extension=php_gd2.dll
    ! }$ v' h; ?4 ~% |, u5 q+ M( l1 m- w
  892. ;extension=php_gettext.dll8 D/ r- l% G0 \1 E! T
  893. ;extension=php_gmp.dll
    4 ^; l$ R7 }8 i4 ^
  894. ;extension=php_intl.dll
    % R. V9 d" L, g
  895. ;extension=php_imap.dll
    & N: v* {* ^, J0 t) n$ g
  896. ;extension=php_interbase.dll
    # e" z3 W# ~/ o5 N2 e+ w
  897. ;extension=php_ldap.dll# ?+ c% B: f$ X! `% }- Z
  898. ;extension=php_mbstring.dll
    ! k, B" {" q" x! e3 M& m
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it; R- i4 m& t/ u% @9 k
  900. ;extension=php_mysql.dll9 X6 m- q! {7 s: A3 `3 g) \1 ^6 n
  901. ;extension=php_mysqli.dll7 _* G8 o) `! N9 r# Q, K
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client7 \1 R- I; H7 F- ]' S( l) H
  903. ;extension=php_openssl.dll% Z' D* a6 w* K/ [3 }7 J, i8 Z- H
  904. ;extension=php_pdo_firebird.dll: [1 |' J3 y7 x8 x6 g# A2 P
  905. ;extension=php_pdo_mysql.dll
    7 Y/ t5 s9 [8 b" O& ]" b. h0 w
  906. ;extension=php_pdo_oci.dll
    * J2 z7 h& O+ ~$ W" c. n
  907. ;extension=php_pdo_odbc.dll
    , O6 |/ [. r6 \
  908. ;extension=php_pdo_pgsql.dll
    - ?" g0 ~8 P7 J* `
  909. ;extension=php_pdo_sqlite.dll2 C% ~/ n, A& D
  910. ;extension=php_pgsql.dll
    + i: ~7 E* J' X0 m+ l
  911. ;extension=php_shmop.dll% A: L3 z) h/ R
  912. * C+ t. q" D1 g# D+ |
  913. ; The MIBS data available in the PHP distribution must be installed. 3 T7 h* Q4 |  E, ]) H) E7 K
  914. ; See http://www.php.net/manual/en/snmp.installation.php ) c5 k6 V  e$ I! \9 b
  915. ;extension=php_snmp.dll
    # B; ^; W$ I8 p9 J3 h9 r
  916. ' t7 A1 h! h# `4 h3 Y3 }( \
  917. ;extension=php_soap.dll
    # _+ j( Q0 o' M$ `
  918. ;extension=php_sockets.dll
    2 C- G9 g* z7 `6 C3 ~% }0 w9 N
  919. ;extension=php_sqlite3.dll
    8 k" G9 _0 R/ H3 D# b. O- @
  920. ;extension=php_sybase_ct.dll8 w' x# Y  G* K& T4 P+ U/ E* {
  921. ;extension=php_tidy.dll
    0 \" d  A! w8 ]1 K7 |# j$ ]+ _# N
  922. ;extension=php_xmlrpc.dll
    2 q, B' K  ~* V/ @; u3 h  D' Q, r6 ^
  923. ;extension=php_xsl.dll& i2 j! Q" K/ W$ P6 b, b

  924. 5 _+ |, a& D1 }0 b: `- ^
  925. ;;;;;;;;;;;;;;;;;;;
    3 u$ w2 ]% A& Y" e
  926. ; Module Settings ;( @. e% G. U5 b: {
  927. ;;;;;;;;;;;;;;;;;;;$ d2 d2 s3 e, Y% }' D! g! ^
  928. # }3 k* x( @7 A3 C& V
  929. [CLI Server]
    . X2 O$ [; x  k0 O' [4 S
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    6 ?( G* o+ w& j( s, `: N
  931. cli_server.color = On
    $ N# P7 R: q3 F6 V% ]
  932. $ e$ X8 e& H6 Q  y
  933. [Date]' x. I# j! a: {3 w# J. y: l) T
  934. ; Defines the default timezone used by the date functions
    , U- L. [( h/ E) e' _, |# `
  935. ; http://php.net/date.timezone
    ! M/ i: v  ]2 o$ o0 P
  936. date.timezone = PRC6 |8 g6 g. S8 V, m) `2 `* X* L" }, e

  937. 1 X& j, j4 X. y- L
  938. ; http://php.net/date.default-latitude% n. g7 Y3 z+ P9 T; l
  939. ;date.default_latitude = 31.7667' l$ g( Q) y, t& u+ M! B: k# s
  940.   d) |/ ?# F: d' z
  941. ; http://php.net/date.default-longitude
    . r- m# T2 y% @) g) K
  942. ;date.default_longitude = 35.2333
    ( s6 t* o' s6 p; I) |; p: b

  943. , `4 o, s' A2 L( H
  944. ; http://php.net/date.sunrise-zenith% @% C/ ?) y" Q7 V: C6 g
  945. ;date.sunrise_zenith = 90.583333- u  }; q! I( a% v7 ]! V

  946. 6 R1 F/ E& V& R  o& q2 g* R
  947. ; http://php.net/date.sunset-zenith% ]' p( |) n- I; o$ B
  948. ;date.sunset_zenith = 90.5833331 e3 U' B/ ~( ~
  949. 0 @( `$ [/ e4 I/ U+ y
  950. [filter]
    4 B' s5 E" e0 _8 L7 x9 r4 N
  951. ; http://php.net/filter.default
    " l( H( x' D; x6 E7 x! a5 t# o
  952. ;filter.default = unsafe_raw6 e3 i: [% h& d- w4 P

  953. ' `* ^/ p) r! {  ~9 c6 ~) h
  954. ; http://php.net/filter.default-flags- R9 m( c3 x% s7 _) O! @2 L
  955. ;filter.default_flags =3 D) D) a6 A! q# Z
  956. ! o% X  U. U% V% Y/ F, r" L
  957. [iconv]3 Y; m; l6 s* T; C8 V( Z
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.9 @9 S0 O& Z: ?+ L
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    5 K9 n7 `- x: V6 P0 K2 C
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding' ^6 \* b& O. Z/ P
  961. ;iconv.input_encoding =
    3 ]: c% H5 B+ W, {- O2 q$ m
  962. ; I" L4 y) D' l5 x
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " I! y6 L' y$ n* }; o+ }2 B
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used./ }) ]$ S: f+ s5 W
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / I; m. L+ m* J" E" @2 B+ q
  966. ;iconv.internal_encoding =7 W- p+ G) R, K3 K
  967. # I$ j( S! h! O# S# T6 S6 C
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.8 }' X: t& V$ P. J% K1 B% D
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    1 i7 R6 a7 H. I: h6 q, @
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ! h8 q9 r' n  \. }
  971. ; To use an output encoding conversion, iconv's output handler must be set  }3 }+ W, a6 q  R
  972. ; otherwise output encoding conversion cannot be performed.
    % k) \# Y: c0 z+ E; C" q$ ~. F
  973. ;iconv.output_encoding =
    / b+ Y) s2 M3 j" B: ~2 ]3 I3 ?2 F
  974. # V0 v' c7 m# `2 e
  975. [intl]
    2 W- [: h% u) \4 V
  976. ;intl.default_locale =, I$ n+ [8 V3 `4 u
  977. ; This directive allows you to produce PHP errors when some error
    ! B5 h1 `. n. Q8 S( w6 Y0 O9 J. P
  978. ; happens within intl functions. The value is the level of the error produced.; L7 ^! R1 Z& h
  979. ; Default is 0, which does not produce any errors.) ?7 }* ]/ U% w: b
  980. ;intl.error_level = E_WARNING
    . c+ O9 B" X7 H$ j4 l3 H
  981. ;intl.use_exceptions = 0! H9 i- _2 p) \' O  s! _, W

  982. 3 c+ l9 A, T+ j! ?  J8 j3 E* v3 ]
  983. [sqlite3]: m& J& E3 W+ o9 P2 ~; ^: q' M
  984. ;sqlite3.extension_dir =
      E- J- Z3 @. ^$ h

  985. 2 ~0 K7 l6 b' c3 X
  986. [Pcre]; ^! ^, X. \* M
  987. ;PCRE library backtracking limit.
    9 V" A" ?) Q, }
  988. ; http://php.net/pcre.backtrack-limit
    $ J$ N8 d& j( t* _% b: H: w
  989. ;pcre.backtrack_limit=100000
    9 B! t  u/ A; j5 O- n

  990. : c3 L  c( A: ^/ v8 U+ [
  991. ;PCRE library recursion limit.  M1 \/ o8 V- Y" r# q6 c
  992. ;Please note that if you set this value to a high number you may consume all, [& o4 L6 L: d
  993. ;the available process stack and eventually crash PHP (due to reaching the! q' ^! l3 p2 W; O
  994. ;stack size limit imposed by the Operating System).
    # ^3 _0 i  l# G* ?- \0 p$ G
  995. ; http://php.net/pcre.recursion-limit
      C) r# g! V9 w  E9 A
  996. ;pcre.recursion_limit=1000000 H: o/ O) r/ I
  997. ' v: I8 c3 T' d9 g! ?$ t; K& R% e
  998. [Pdo]$ J/ B* f* Q: C3 N- H& p9 X
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    $ h$ n6 v3 d+ b# @
  1000. ; http://php.net/pdo-odbc.connection-pooling
    % x  Q& n' |: y( u
  1001. ;pdo_odbc.connection_pooling=strict. j( N4 ]% n8 |
  1002. % V+ _3 j& n) X3 p& t
  1003. ;pdo_odbc.db2_instance_name  a: K! {: F0 y& M
  1004. 7 r' p2 b6 Y* w
  1005. [Pdo_mysql]8 e# F3 w  k8 B. S/ D8 s: l
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache6 d5 S! R- [! ^7 ]% x1 K
  1007. ; http://php.net/pdo_mysql.cache_size1 w1 u; p+ e0 _) e+ b; M
  1008. pdo_mysql.cache_size = 2000- G8 ^4 C. ?( ]0 V
  1009. + g' g2 f; Z7 u1 T! Z, ~: @8 B8 z2 J! L
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 r+ e! h5 ], i" o; ~" d  L, C
  1011. ; MySQL defaults.. f! V: Q1 A$ q: N- r* G
  1012. ; http://php.net/pdo_mysql.default-socket
    ( n: g  N8 ~# Y+ a" ^
  1013. pdo_mysql.default_socket=
    5 Y( v- V3 t. A# r  Q0 `% N6 z; g' h

  1014. 9 |1 u& P6 j9 @' E: R
  1015. [Phar]
    3 h$ x) q- q# n4 G4 J0 \' s
  1016. ; http://php.net/phar.readonly
    ( i: z  o) b, P/ _5 e& S
  1017. ;phar.readonly = On1 n' B- I3 ^- |: e) V
  1018. ; {) e- z. y* G# B8 ]
  1019. ; http://php.net/phar.require-hash" j% p1 |- P1 T) p) f/ G7 k6 V+ T/ Q
  1020. ;phar.require_hash = On
      ?$ e; {  I" P
  1021. 5 ]$ `- s: M$ u) L* m
  1022. ;phar.cache_list =
    . O/ u0 [5 L2 ~' r8 }1 B4 Z) \
  1023. " _) k' t' b" _$ }- f$ v
  1024. [mail function]
    0 p$ B0 X# ]$ {8 ^# J
  1025. ; For Win32 only.0 b2 Z5 I2 D# C* u3 d* ~2 \$ U  J
  1026. ; http://php.net/smtp
    % q1 @; @: ]" j: b
  1027. SMTP = localhost
    . ~- T3 V  W( G
  1028. ; http://php.net/smtp-port
    ! z( W3 q6 i' p3 C  n" O
  1029. smtp_port = 25
    ; V9 n& Q$ V: O: ]* x" x3 ?! ?9 g* `9 v
  1030. - B+ m1 t$ p- [2 {
  1031. ; For Win32 only.) B8 g  k+ ~8 L) b; y" }* r* Y
  1032. ; http://php.net/sendmail-from0 R% W7 y4 V9 k" F
  1033. ;sendmail_from = me@example.com
    " h" O  v2 a) g; ]% H

  1034. * t. H8 g. e/ I& Q+ r, v0 e- p
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").8 Z' |- ]* ~# |' Z- P" n8 N
  1036. ; http://php.net/sendmail-path/ P! k+ J6 z; k: o* s
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    # m$ q( E8 t) B+ r
  1038. . z, ?) v2 m  [" |5 k5 t$ t& `
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    ( l& o& s5 o: ^1 V2 h
  1040. ; to the sendmail binary. These parameters will always replace the value of
    5 P9 {$ v, K5 ?2 @
  1041. ; the 5th parameter to mail().6 b' d: X# B% z  C* d- B9 R
  1042. ;mail.force_extra_parameters =2 a% C: ]0 `8 [+ Y" H/ {/ e* E
  1043. 3 i/ O% G  F$ b
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    & |" p' O8 }! J
  1045. mail.add_x_header = On
    # l2 G. y8 t* a! f: a* S

  1046. 4 e$ j" L: C* E9 U3 U) U: h
  1047. ; The path to a log file that will log all mail() calls. Log entries include& C2 E8 k$ F& W
  1048. ; the full path of the script, line number, To address and headers./ {( a8 q) @% j2 ?
  1049. ;mail.log =
    6 Z( [6 R3 \! N
  1050. ; Log mail to syslog (Event Log on Windows).
    & ?, `$ v3 G; X# |* `# l! O
  1051. ;mail.log = syslog7 x, d* _( s9 b% h7 B; Z
  1052. 1 `$ E  z. I  o+ t1 v
  1053. [SQL]
    + |, E: ?0 |( m3 @" y5 X
  1054. ; http://php.net/sql.safe-mode: n! |3 H" ~: n% W0 Z& W
  1055. sql.safe_mode = Off  T. W! |3 A' W
  1056. - m6 I+ T, [* P& @/ m$ \; d
  1057. [ODBC]8 {: I+ H. V) H, Y. P
  1058. ; http://php.net/odbc.default-db! a. `% a/ ?; t2 q  b9 R9 V
  1059. ;odbc.default_db    =  Not yet implemented
    8 H1 p& \$ s0 f; R3 D9 k
  1060. 2 O' n- e. S, t4 d5 Y" q; |6 ^
  1061. ; http://php.net/odbc.default-user
    0 P$ ]0 _3 }& S4 w2 T0 G
  1062. ;odbc.default_user  =  Not yet implemented2 A7 M1 [; F7 `9 _9 D

  1063. ' s1 h3 G! K. b; n- b6 q, P; Z
  1064. ; http://php.net/odbc.default-pw0 W  F1 k8 A$ z- S* a4 y' U8 X
  1065. ;odbc.default_pw    =  Not yet implemented
    & o5 H& {" K0 c$ ~

  1066. 6 d. J* Z# T0 v# Z! q0 f" x; r
  1067. ; Controls the ODBC cursor model.
    - V. [+ w" {) O
  1068. ; Default: SQL_CURSOR_STATIC (default).
    , B. d. P3 W4 k% @) R
  1069. ;odbc.default_cursortype6 L5 P3 d0 v2 e$ C% O9 ^$ L

  1070. + Q, ]% y, ~. @9 `. A
  1071. ; Allow or prevent persistent links.
    % k( M8 z- x/ B# C
  1072. ; http://php.net/odbc.allow-persistent- N: V) B& N& e* U
  1073. odbc.allow_persistent = On
      A5 h+ F/ m2 i$ B4 |0 ?# Z/ |
  1074.   J( t/ h* z; I$ m
  1075. ; Check that a connection is still valid before reuse.
    + @: x0 h& O% w
  1076. ; http://php.net/odbc.check-persistent
    0 F6 @3 X6 M9 S: P# Z" w% o
  1077. odbc.check_persistent = On
      K, Y- [0 k  e4 @( J. y) y

  1078. / [$ W! P. D) T1 ~
  1079. ; Maximum number of persistent links.  -1 means no limit.
    & Z7 f5 n+ t# p. Q) l# O
  1080. ; http://php.net/odbc.max-persistent
    3 g# w% F2 M" [/ G* }. _4 l6 f
  1081. odbc.max_persistent = -1
    + C, B3 E& F" M
  1082. 9 L7 I. j) y8 D: s: E+ E, m
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.  p1 _, {% R1 O% A2 |
  1084. ; http://php.net/odbc.max-links
    ) [6 E5 L1 q- B! Y  M
  1085. odbc.max_links = -1- _' A# D/ Z1 I6 a8 ?

  1086.   @1 @% i# t* ?+ w
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    * r7 x3 {6 x- ~1 A* u+ c3 k! d& x8 }8 i
  1088. ; passthru.
    8 @& {7 `# X  c. q" @
  1089. ; http://php.net/odbc.defaultlrl9 G/ N3 |5 L0 f
  1090. odbc.defaultlrl = 4096
    : \) s: |6 ^" g. }( P8 G

  1091. 6 s6 e: O  f. D5 ^( Y
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    1 c7 R' L+ u/ {. G- Y6 c+ p1 f& q
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation. i! b( x$ y! [0 c6 W
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    % L1 n2 F0 l: t+ }8 F2 r/ x$ w
  1095. ; http://php.net/odbc.defaultbinmode
    ) [& U9 V( X. n' N, @( ?
  1096. odbc.defaultbinmode = 1! g- D: T6 W( t# a: y, V- U2 L: i
  1097. 8 R8 f+ A; f2 h- O2 a0 R
  1098. ;birdstep.max_links = -11 c. F- p! C2 Y6 Y
  1099. 1 n- @# W7 Y0 W1 K# K+ c
  1100. [Interbase]7 H% ^2 x4 B) G
  1101. ; Allow or prevent persistent links.5 H0 P& F8 b. R! D# N* A
  1102. ibase.allow_persistent = 1* Y# Z& p& \! V/ ]9 \9 `
  1103. 2 v6 e$ m3 X; M3 B7 J# R! p
  1104. ; Maximum number of persistent links.  -1 means no limit.
    & K5 M1 u* ]7 [9 B
  1105. ibase.max_persistent = -1$ u- R, n; h5 I) e' B
  1106. + S% Q3 S3 B( t0 c5 c
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 W* Z0 e: ?% S# L+ B
  1108. ibase.max_links = -1
    6 i4 Z7 h9 O7 g$ `

  1109. 7 t, r8 _/ u0 _$ ]" R$ i! c
  1110. ; Default database name for ibase_connect().
    8 K# `8 q6 q  m1 ?  q+ J
  1111. ;ibase.default_db =
    + F( C1 R4 [! \* r9 M& f5 W
  1112.   ?3 m3 q6 h. Q- s
  1113. ; Default username for ibase_connect().9 r$ e: j! U, m5 s8 M
  1114. ;ibase.default_user =
    2 V! H6 ^% G& X8 k2 q% w4 k

  1115. ) i+ |2 D: V" I0 I% _! l
  1116. ; Default password for ibase_connect().9 V7 U) h5 C, }4 V$ t. Q
  1117. ;ibase.default_password =
    5 C" ?5 V; r: y- V2 P

  1118. 3 w3 U4 b3 J8 c7 ^6 z, l  X
  1119. ; Default charset for ibase_connect().3 `/ X  q" L4 I% ]5 ]
  1120. ;ibase.default_charset =: ]. Z' P, O9 s6 J
  1121. ; J4 ]) L. t9 _' S
  1122. ; Default timestamp format.7 b% H* S- s0 k/ S* e" G
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"5 v: k5 j$ i. F# G; L7 L1 Z7 V

  1124. : p; Y4 e1 ]% T; g( S
  1125. ; Default date format.
    5 h1 L+ Z" W* p$ Y5 s
  1126. ibase.dateformat = "%Y-%m-%d"
      e* p% Z0 l: i6 Q3 x. s6 v
  1127. ; w7 l7 l" F0 U9 ^; S7 t  v" \+ E! N
  1128. ; Default time format.
    + p( T6 D& z/ _& p/ @6 N! o
  1129. ibase.timeformat = "%H:%M:%S"
    9 Y4 ]8 `% W( J4 L) K
  1130.   Q8 o$ e7 T9 }8 p5 c( P2 b
  1131. [MySQL]$ w! _# v8 q0 X! T- ], X
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    " u' Y* f1 t$ }$ N
  1133. ; http://php.net/mysql.allow_local_infile* f/ X+ Z1 `* K% M8 i( e$ [) |0 d
  1134. mysql.allow_local_infile = On
    2 U+ y8 M, |% l$ m  O5 q

  1135. ( G; F5 `$ _6 J. Q* h
  1136. ; Allow or prevent persistent links.
    ' j3 ~' h7 h% T% S. L
  1137. ; http://php.net/mysql.allow-persistent4 h& T* ~$ _* k& p
  1138. mysql.allow_persistent = On
    . W2 y) p  ?2 s# Y- P% l1 c
  1139. + W5 r" F& o) h( ~4 n$ S
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) W$ d: _1 l$ f3 S+ U& U% Y; h
  1141. ; http://php.net/mysql.cache_size8 S) s$ I" {. W1 x) i5 W# }! W' B
  1142. mysql.cache_size = 2000
    ! P7 T$ C) g1 O! `* s0 H" ]% Q/ q

  1143. 4 D' \5 b* h4 h' Y
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ; Y; ?3 m2 E  H
  1145. ; http://php.net/mysql.max-persistent4 t5 _. C6 J5 y9 U! k
  1146. mysql.max_persistent = -1
    * g$ ]) z! N4 Z' g7 ~! J  v, G
  1147. 4 A% |. B' t8 ~3 W7 _
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.. Y$ {3 B1 U) ]+ @
  1149. ; http://php.net/mysql.max-links
    + {2 S% ]7 K7 Q
  1150. mysql.max_links = -14 e" u3 K" X9 Z1 x8 `  A6 ]) K; D3 R
  1151.   ^8 C9 |( S% `, `7 c/ }
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
      h; @# A9 j! ^9 g& \  E9 C
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    : J$ t4 X" S& I( K" K# a9 T
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    2 W$ _8 e9 f' ^
  1155. ; at MYSQL_PORT.
    ) T8 J0 D/ s9 J- J, N
  1156. ; http://php.net/mysql.default-port, W% j1 ]. C% H( x5 X: P+ l
  1157. mysql.default_port =6 r7 K) m3 R) D. V

  1158. 2 h8 I9 a' \1 u5 G$ R8 R* B
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ ^1 r- m3 z) U9 N& l( M7 h! ~3 D
  1160. ; MySQL defaults.
    2 r# b( F6 `8 e6 L6 H  \1 s' k
  1161. ; http://php.net/mysql.default-socket% _# T! C/ @4 u6 @- f* G9 {3 ?
  1162. mysql.default_socket =
    8 ^" c! f* X0 j, J9 u- P) H
  1163.   R+ h: Y+ O8 H# @0 a& \$ X
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    / }/ M1 H. Q" V+ q
  1165. ; http://php.net/mysql.default-host
    ) t* W$ j  j" P  j* Q
  1166. mysql.default_host =- _/ k# @7 W& E" Y

  1167. + Y7 q' X; D& v7 `
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).6 W3 W5 U2 u. y
  1169. ; http://php.net/mysql.default-user
    - W; H. g/ m# }" k. A
  1170. mysql.default_user =. X; ]2 x' V  ^( l
  1171. 0 n+ X- }% ]# B$ l1 ~
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).; V# D2 q) t8 \- B- ]
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.' i! i" g+ o- n
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    * z) H; l; @* K3 W
  1175. ; and reveal this password!  And of course, any users with read access to this
    $ O! [( @) s4 p- r; l
  1176. ; file will be able to reveal the password as well.
    ' b; ]# {# J8 f8 S, O# Z1 T1 e$ j
  1177. ; http://php.net/mysql.default-password) r! V7 W* w$ [0 t  X7 r: k% D
  1178. mysql.default_password =6 L, X% W8 Q& A, |
  1179. 6 h2 e" S' s! J
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    8 R3 T/ U$ P2 n. E- A' I. N
  1181. ; http://php.net/mysql.connect-timeout, X) m+ K2 ?' P% S" ?
  1182. mysql.connect_timeout = 60
    : J% v- y7 v$ Y+ K

  1183. 9 P4 e/ E" v4 ?% f
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and1 ?; Z0 I: K) j/ c) o
  1185. ; SQL-Errors will be displayed.
    8 G+ {( X5 k+ o# ?4 E% C) T7 j) d
  1186. ; http://php.net/mysql.trace-mode1 T2 A4 @" E3 h" O  I
  1187. mysql.trace_mode = Off
    # {6 S9 E2 c. ]' {: Q

  1188. . Y1 J+ v' E: A) u, n
  1189. [MySQLi]
    * h* H$ h! t5 v4 D: V
  1190. ; G7 g# f. |8 Z, h9 g! q* }* M5 D* O
  1191. ; Maximum number of persistent links.  -1 means no limit.( @' e3 M. h0 Y
  1192. ; http://php.net/mysqli.max-persistent1 b" A" H0 i: K- K. {" M! f
  1193. mysqli.max_persistent = -1
    5 c; I9 z" f1 H% t$ {' d

  1194. / L4 `# F6 R! n: c. n
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements  T+ Q2 a4 D, H0 T! j
  1196. ; http://php.net/mysqli.allow_local_infile0 _: u9 V3 M$ y7 J
  1197. ;mysqli.allow_local_infile = On' k9 s9 n0 n, F3 l7 T: F& M" ]

  1198. 5 `9 x& s( C- q
  1199. ; Allow or prevent persistent links.
    - n/ ?- T% `/ |/ p
  1200. ; http://php.net/mysqli.allow-persistent3 v2 I5 ~# ]4 q( u( v
  1201. mysqli.allow_persistent = On
    6 b8 q, P# `) i: ^/ z4 X0 E

  1202. % f4 e$ K! b& W4 @+ k
  1203. ; Maximum number of links.  -1 means no limit.
    , y/ I$ H( H- b, Y( z% y% w+ T1 ~
  1204. ; http://php.net/mysqli.max-links
    - E5 r, G4 p4 ^/ U
  1205. mysqli.max_links = -16 Q1 b& g4 G0 F
  1206. 8 t' I/ j, t, @+ \( y( s, q0 i- a
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 o# r, ]& R' r* ^( R# Y
  1208. ; http://php.net/mysqli.cache_size. P2 q: h9 i5 U: V* m0 G
  1209. mysqli.cache_size = 2000
    ! \3 L: p5 N+ h9 ?4 ]; y/ G. J
  1210. 3 F2 Y4 w0 S3 A, E( n
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use; @9 X! h) R$ H4 K1 M2 W7 y" [
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    $ |- k6 q- n# |$ Q: @/ S
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    % C, A9 K: s% P! ]
  1214. ; at MYSQL_PORT.
    . y: w4 h9 m4 m  z5 ]0 U( `4 ]
  1215. ; http://php.net/mysqli.default-port' _4 S7 A8 [6 D1 G
  1216. mysqli.default_port = 3306
    6 i+ ?2 g/ r" o7 `8 K

  1217. - g( G% ^" L, U2 j! o+ v
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * f5 P& j& k, n2 S4 B
  1219. ; MySQL defaults.% O1 G* D+ L) T, A, ~- ]0 G
  1220. ; http://php.net/mysqli.default-socket; z! M% E/ X; p' \( L  |
  1221. mysqli.default_socket =6 f: x7 D; N) A" e! r$ n

  1222. # R. v; i0 C% H! e0 V3 z& C% Z! U  R
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).2 F  q) B! h* ?0 u7 x: m; ~1 D
  1224. ; http://php.net/mysqli.default-host
    $ s, R# k3 I- H5 I
  1225. mysqli.default_host =5 ?7 l# i6 P, C0 F+ [( R1 _
  1226. ; {" Y. [9 t1 s4 @1 |
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    1 ^- d) W( S; J" s
  1228. ; http://php.net/mysqli.default-user" Y' D: K1 t( X* j4 a
  1229. mysqli.default_user =( y" W  n2 U3 Y6 d' n
  1230. 7 `+ r4 y5 T0 ?: k
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode)." E7 Y' u3 H9 }7 J* z- D
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.1 L# k2 \; C& R6 D
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    0 ?8 I- s! d* H0 D# |4 p& p9 I+ F
  1234. ; and reveal this password!  And of course, any users with read access to this
    & f' ~  d9 e& U) T8 l
  1235. ; file will be able to reveal the password as well.$ a* k' w5 x0 P! F# h
  1236. ; http://php.net/mysqli.default-pw
    1 \! O, }2 `* i- @+ H
  1237. mysqli.default_pw =. d6 e- ]- C" d  x
  1238. % T! s2 K. O# o
  1239. ; Allow or prevent reconnect7 K& |. K3 t. ]+ y
  1240. mysqli.reconnect = Off
    $ I# L0 G% m& m3 C' R( I' q3 [1 k

  1241. ! G# x% y! o5 ]- Z
  1242. [mysqlnd]& s$ ~. k- h" Q( y% f! o
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be7 E& q- P3 O/ ~# ]8 j! P
  1244. ; used to tune and monitor MySQL operations.
    " D' a' U# ]8 [
  1245. ; http://php.net/mysqlnd.collect_statistics
    . E( L2 Q1 \) b: G. X( p
  1246. mysqlnd.collect_statistics = On
    7 Y. Y9 g9 I4 y1 q. p/ C' T4 h

  1247. & h8 y& N3 p- n& D
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    % C7 k+ @! U  E1 {, c0 X- S" q
  1249. ; used to tune and monitor MySQL operations.
    & I- }# e. ^) ?; C
  1250. ; http://php.net/mysqlnd.collect_memory_statistics6 m. I0 A7 M) Y4 i# z, n
  1251. mysqlnd.collect_memory_statistics = Off
    , e8 J* y) h( [' ^  q
  1252. 9 ~( F, k# y) W' g3 l! P8 Q
  1253. ; Records communication from all extensions using mysqlnd to the specified log' c7 C" O( X9 k( O7 F' B' m4 W
  1254. ; file.- e' ?6 K( Y7 `  m% N! M% g, a
  1255. ; http://php.net/mysqlnd.debug
    $ H1 {3 S7 S8 }+ v' Q
  1256. ;mysqlnd.debug =
    ' s3 n/ ^5 F9 c5 n: }' y- ?
  1257. / |2 V0 m1 ~- X: a/ A
  1258. ; Defines which queries will be logged.
    8 t; c9 A. n  I( W$ J; C
  1259. ; http://php.net/mysqlnd.log_mask$ ?. t2 X$ {- o. V7 ?- m
  1260. ;mysqlnd.log_mask = 00 {$ o) m: s' _2 N( d5 k. t

  1261. 3 q9 f, l+ c! H  R3 g2 V
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    . ?  J5 f4 h; [$ l( o# U
  1263. ; http://php.net/mysqlnd.mempool_default_size
    3 }6 P2 K9 i4 ?( T1 w, B; m. ]
  1264. ;mysqlnd.mempool_default_size = 16000
    + T3 l. H$ V  X" r) Z

  1265. ; w% w( o/ x: E9 c
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    6 D+ ]  v: _+ g/ L
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    6 M6 B& W6 ]% v& v1 e+ g
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    4 B% B, {" x5 V

  1269. 6 G2 n2 i! C% n) t+ e/ s) ]
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    8 d5 r& @5 i6 [0 H3 T7 }3 f
  1271. ; bytes.
    # E3 ^7 b: l6 M- x
  1272. ; http://php.net/mysqlnd.net_read_buffer_size. B) k3 m+ s. V6 Y7 M5 O+ ?  g% p
  1273. ;mysqlnd.net_read_buffer_size = 32768: t. t; S0 O& S. u9 X
  1274. 9 Q# H2 D5 M  l/ p+ ~1 D
  1275. ; Timeout for network requests in seconds.- H* E: r  O% l- `8 E* z% N7 y+ V' `
  1276. ; http://php.net/mysqlnd.net_read_timeout
    ' A: M4 O# l) n( J1 ?
  1277. ;mysqlnd.net_read_timeout = 31536000& \+ h, |+ p; a* i/ u# a

  1278. 4 P/ L  Q# P* w; ]6 T5 j5 w
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    1 M% \, P# N" z! n
  1280. ; key.* P% X5 V( y7 I, b" a
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    & [; U8 F$ v2 v" Q& |$ V
  1282. ;mysqlnd.sha256_server_public_key =
    $ t5 I$ l( P) w- o9 `5 b
  1283. $ K- S5 p2 |7 R# u' h- L
  1284. [OCI8]  K: X: j; p6 w' m- K/ f: T  h+ E) p

  1285. & c) s; a" g4 _1 g  P% l5 K8 r. N2 h
  1286. ; Connection: Enables privileged connections using external
      S4 {, l( p  w& |: {$ {
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)9 o9 I1 m& `0 r% p  A7 @3 Z
  1288. ; http://php.net/oci8.privileged-connect
    6 E( K3 D$ N1 ^/ X6 [
  1289. ;oci8.privileged_connect = Off$ q, L- J' Y2 S) f
  1290. % @5 t  [2 F7 w* O( ]% [) ~
  1291. ; Connection: The maximum number of persistent OCI8 connections per( o" h! h+ o( @* C1 N' A- h7 d
  1292. ; process. Using -1 means no limit.
    . O3 u  ], @1 j8 `
  1293. ; http://php.net/oci8.max-persistent% k  z" `2 ]: n4 n9 Z& _7 _
  1294. ;oci8.max_persistent = -1
    ! d* ^& W# f  M1 ^; _  _; o+ s
  1295. 7 m/ M' X% q! C& A9 Q2 N
  1296. ; Connection: The maximum number of seconds a process is allowed to9 {# O+ x$ ]0 i0 H! c
  1297. ; maintain an idle persistent connection. Using -1 means idle
      x. S3 H" X$ T2 F, J
  1298. ; persistent connections will be maintained forever.
    5 p! e/ L) X& a/ [4 g: {3 E
  1299. ; http://php.net/oci8.persistent-timeout& w% u1 o: i& S# @
  1300. ;oci8.persistent_timeout = -1
    ( B: R5 y$ ^' H
  1301.   v' J3 P8 d& j4 _* K
  1302. ; Connection: The number of seconds that must pass before issuing a. s" p' |! |: r0 S+ T
  1303. ; ping during oci_pconnect() to check the connection validity. When
    : l% u1 n4 o9 I
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    1 Z' J0 [' U) w6 d6 j  F- |
  1305. ; pings completely.
      X% u5 c0 Z5 u& L
  1306. ; http://php.net/oci8.ping-interval
    ! y1 F2 Q, ?# h# f) B& i5 f+ H
  1307. ;oci8.ping_interval = 60" c- U6 T6 p8 c& b' s9 d1 ^+ z
  1308. 5 ^+ r. u4 o% [0 N+ _# M
  1309. ; Connection: Set this to a user chosen connection class to be used, Y2 P+ s2 J+ \% h
  1310. ; for all pooled server requests with Oracle 11g Database Resident8 }* e* i# S0 q' }; u' T7 Q
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    & s5 N" }4 _; Z) A- z
  1312. ; the same string for all web servers running the same application,
    % P. G: `! C3 Z2 c7 j
  1313. ; the database pool must be configured, and the connection string must5 e- V5 T- S& C( l7 y: U" N% H
  1314. ; specify to use a pooled server.) ^- }$ o  _  t+ z; J, B0 j" {
  1315. ;oci8.connection_class =7 m. `, ]& z  `: Z% I/ Y
  1316. 4 b% a7 t3 x' Z% M8 t. U7 }4 c
  1317. ; High Availability: Using On lets PHP receive Fast Application2 C0 {8 X' g* {' m. [3 R* O1 I) |
  1318. ; Notification (FAN) events generated when a database node fails. The
    # _4 h0 c$ {. q, `* I
  1319. ; database must also be configured to post FAN events.
    ( u* D/ Z* }" j4 a- Z
  1320. ;oci8.events = Off0 ?! r: f2 C; Q

  1321. ) n$ E4 A+ }. G4 o! L- [( I5 `1 ]
  1322. ; Tuning: This option enables statement caching, and specifies how
    0 I, n# K; P/ X- T/ @0 D
  1323. ; many statements to cache. Using 0 disables statement caching.* m4 B- G- e$ l, C/ |* K
  1324. ; http://php.net/oci8.statement-cache-size
    $ c* ]& e& b6 |
  1325. ;oci8.statement_cache_size = 20
    / v5 {/ ^  e% z- y

  1326. + s- l) n5 l/ O$ \* L
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    " s' E( ~+ w' M2 U8 l
  1328. ; rows that will be fetched automatically after statement execution.+ ?" g8 q# ~$ E: n6 e' `
  1329. ; http://php.net/oci8.default-prefetch
    8 J7 b: O; k5 U; j% y: j
  1330. ;oci8.default_prefetch = 100
    5 ?. i+ w/ m5 t$ K

  1331. ; M& X# L' S' K; i
  1332. ; Compatibility. Using On means oci_close() will not close. ?" b$ l2 d! g6 F. m/ b
  1333. ; oci_connect() and oci_new_connect() connections.; V4 V7 ~! I+ R6 G2 d% _
  1334. ; http://php.net/oci8.old-oci-close-semantics
      I- q  n  M1 w
  1335. ;oci8.old_oci_close_semantics = Off5 B) ~$ c3 s0 z2 `6 {, ]6 o/ f: t

  1336. ( T, I1 y$ r' Q0 H5 i$ f7 n: A
  1337. [PostgreSQL]
    % v4 o' W' k) s  e/ M9 ^4 J
  1338. ; Allow or prevent persistent links.
    2 D/ h- r2 C) p, e
  1339. ; http://php.net/pgsql.allow-persistent3 N$ Z- T" r: W* @0 g
  1340. pgsql.allow_persistent = On
    9 B# x5 z# O" l& S, _+ i
  1341. ) F" C& s; F# R+ t' y; ^: @
  1342. ; Detect broken persistent links always with pg_pconnect().4 }# a8 W$ o5 W" ]0 l4 K
  1343. ; Auto reset feature requires a little overheads.7 ]+ \- [# S/ A
  1344. ; http://php.net/pgsql.auto-reset-persistent+ G% B  L6 o. C! J+ O
  1345. pgsql.auto_reset_persistent = Off: M7 c7 M/ _% L6 N7 ?
  1346. ; U0 u2 }2 n8 }" ~/ I
  1347. ; Maximum number of persistent links.  -1 means no limit.
    ) Z5 l0 \, \5 ^) R9 |
  1348. ; http://php.net/pgsql.max-persistent
    ( _) h; x# ?/ e5 _8 R- s
  1349. pgsql.max_persistent = -1# ^: L8 J4 |* }/ h& V  v: T: h2 f9 G

  1350. / F/ `$ w* h0 \, h( N
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.7 V" u! A% j* W/ ^5 v* P7 D
  1352. ; http://php.net/pgsql.max-links5 @4 B  g& G0 n" w& S, c  ]
  1353. pgsql.max_links = -19 ~* w! S; }) X  P

  1354. + }  Y0 o  i: o( U3 J4 B+ g* H
  1355. ; Ignore PostgreSQL backends Notice message or not., v( ^0 g* {* J4 ~2 t( ]+ g- h
  1356. ; Notice message logging require a little overheads.
    " O8 k# {4 K1 E3 x: ]+ `- K
  1357. ; http://php.net/pgsql.ignore-notice0 Z2 h: P( K8 x6 M
  1358. pgsql.ignore_notice = 0& F* X$ _( S: M0 C
  1359. . w9 u+ O; X% e9 w/ \( V5 Z
  1360. ; Log PostgreSQL backends Notice message or not.
    7 J1 U. Q- P! Z3 }- B6 T) J
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    - I  c5 U! U) \; y& ~% q4 P
  1362. ; http://php.net/pgsql.log-notice8 ~7 g" Q6 w3 {1 H# U
  1363. pgsql.log_notice = 07 X, {* L7 ^& u8 R
  1364. / D, y# D0 j9 C# s* `7 i" I5 `
  1365. [Sybase-CT]$ x& T' L0 R. v. J  I
  1366. ; Allow or prevent persistent links., ^! x8 F3 W. B/ z9 R1 D
  1367. ; http://php.net/sybct.allow-persistent; f; B3 [6 o$ `: }! c4 b$ |
  1368. sybct.allow_persistent = On
    ( x; [8 B5 f' h# r- Q- l

  1369. : ]- I1 j1 F5 N
  1370. ; Maximum number of persistent links.  -1 means no limit.( O" j$ G2 @6 G: u1 K9 ]; q+ ^
  1371. ; http://php.net/sybct.max-persistent' Y1 q7 c+ e- P# L
  1372. sybct.max_persistent = -1, F2 n( j6 W- l9 I) {# v# O, A
  1373. 4 ]: L$ r2 ?) I' _  d$ Q! R: }
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 N- E* ~  ]# U; ~, {
  1375. ; http://php.net/sybct.max-links
    4 ^5 V. p, Q' a1 H. E, e
  1376. sybct.max_links = -11 N4 A9 A1 ]. [6 a. f

  1377. 3 ?7 f2 q7 V' Q
  1378. ; Minimum server message severity to display.
    1 J: l# g1 u0 S9 O( \6 b& u
  1379. ; http://php.net/sybct.min-server-severity
    9 F0 L& U$ Y' Y4 @8 s
  1380. sybct.min_server_severity = 10
    . {* R. w4 t8 f: p
  1381. * c/ v* d3 q0 o7 \2 p$ w; G
  1382. ; Minimum client message severity to display.
    % P# q" ]* a+ ]9 F3 l# }
  1383. ; http://php.net/sybct.min-client-severity
    5 z! o% z6 `# `7 r0 _
  1384. sybct.min_client_severity = 10: W$ Q+ ?; ^) G4 E7 @) V) z" \3 M
  1385. 9 ~2 s5 }, y! Q: u
  1386. ; Set per-context timeout
    1 A, J6 {$ P2 G. f: l' c6 u9 B" [0 K
  1387. ; http://php.net/sybct.timeout
    1 i: a8 t- r7 b# d4 s5 k& X% ?
  1388. ;sybct.timeout=0 g/ ~) d4 _" L; f

  1389. / i: i0 F/ r$ M- N
  1390. ;sybct.packet_size! z' b/ U4 j6 R' y9 Z3 b3 K# Z

  1391. % A; w3 L! G- g8 a
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    - g' b% G) _! y. t% ^
  1393. ; Default: one minute
    " t* j, ]$ g! m  Z1 R$ K/ s' Y
  1394. ;sybct.login_timeout=
    + S& N' \' @! m$ }
  1395. 4 q. w# H; z) R5 O: w% d  ]2 i; Q
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ' `/ r( a" O, l$ t! D" q
  1397. ; Default: none# I8 k% m8 ^' x3 J# O9 x
  1398. ;sybct.hostname=' u5 w+ m6 e7 k
  1399. . F) G5 D& j, B+ {
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".9 X# O6 X7 s0 S2 D, W0 A1 _1 p
  1401. ; Default: 0
    % J; h% c9 W# L& [
  1402. ;sybct.deadlock_retry_count=
    " ]2 D* R0 Y* B$ t! f3 G; U

  1403. & O2 [# U8 e+ r  d5 i% i
  1404. [bcmath]
    " f, B$ c3 p8 D1 W$ x) O
  1405. ; Number of decimal digits for all bcmath functions.( f  N) U$ x: [. b
  1406. ; http://php.net/bcmath.scale
    3 j" _5 @. j! C2 |3 E
  1407. bcmath.scale = 0
      F  Q# O8 C! V0 x/ S
  1408. ' J, C& ]+ E3 e% @0 K+ ?6 v
  1409. [browscap]
    $ a; {* p. b; c1 R
  1410. ; http://php.net/browscap
    0 e% S. f3 P1 G! s7 Q
  1411. ;browscap = extra/browscap.ini
    / B0 ?0 T0 C0 ^+ ~7 d3 Q+ a
  1412. " |  C3 P  n8 b% i1 ]
  1413. [Session]9 w, O* B. @; r
  1414. ; Handler used to store/retrieve data.
    , W6 C: g- a: P6 k3 N  d
  1415. ; http://php.net/session.save-handler  C. C; h3 D9 I
  1416. session.save_handler = files5 i: o, c1 e; w! a; L! ^" W
  1417. $ L$ g' ^$ Z; Z6 N. {
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    ! g1 h9 y. ]) R( a$ v& x7 R
  1419. ; where data files are stored. Note: Windows users have to change this2 s# f9 J- L! w1 t) z2 I. b
  1420. ; variable in order to use PHP's session functions.
    2 `) P6 |$ c9 U  w5 A. q8 m
  1421. ;
    ! c/ j  s3 c3 N4 T; Y* A8 W
  1422. ; The path can be defined as:
    9 V7 E) j, R, r7 ?5 L, C
  1423. ;
    ' r8 O$ S4 S4 ~% P
  1424. ;     session.save_path = "N;/path"
    4 y) \, c" ^7 Q/ W( T( n
  1425. ;& @6 H; s: E2 M- e) x
  1426. ; where N is an integer.  Instead of storing all the session files in4 V9 n! K4 |' [/ e" z
  1427. ; /path, what this will do is use subdirectories N-levels deep, and- ^) k: y" y, s. R, T$ J% j6 ^
  1428. ; store the session data in those directories.  This is useful if; n: h" G' z  ~( R" j* @6 F' X+ C
  1429. ; your OS has problems with many files in one directory, and is
    : T1 N4 t$ V" P( L& Z# B6 |% E" T
  1430. ; a more efficient layout for servers that handle many sessions./ C/ H0 M" \2 Z3 N* V5 y5 l
  1431. ;
    0 D& }5 F" B8 [6 ]
  1432. ; NOTE 1: PHP will not create this directory structure automatically.; N; l, _+ o2 V5 a- r+ s
  1433. ;         You can use the script in the ext/session dir for that purpose.
    0 b/ G& D0 X& m
  1434. ; NOTE 2: See the section on garbage collection below if you choose to3 |& ^; P" u: O0 {
  1435. ;         use subdirectories for session storage7 f0 C. H0 V8 k6 v9 }
  1436. ;, \- I1 Q8 Y8 |& ^! E1 m) M' F
  1437. ; The file storage module creates files using mode 600 by default.
    5 j! H2 @! x6 d7 p3 s& m1 W
  1438. ; You can change that by using
    5 ~/ k" e5 U2 D* T8 _% L3 K; X" U
  1439. ;
    5 D. [4 p* X, X  ]6 Y
  1440. ;     session.save_path = "N;MODE;/path"
    ; w. S0 E+ \2 U5 k( b
  1441. ;! S2 g" ~2 _# q
  1442. ; where MODE is the octal representation of the mode. Note that this9 p) S, Q) i( q$ f& b
  1443. ; does not overwrite the process's umask.
    $ P5 |# q# Z) i! L" b  ~
  1444. ; http://php.net/session.save-path
    7 L/ X7 j+ _, D: e& A% C3 Q2 B" o% b
  1445. ;session.save_path = "/tmp"! Z) P; F* i" K
  1446. 5 h1 s( B3 H* }6 x
  1447. ; Whether to use strict session mode.) L6 X1 R: ?8 }
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    , q6 n0 j, z: j3 v5 A% F7 u7 O
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects2 \7 b- P$ N! P0 E
  1450. ; applications from session fixation via session adoption vulnerability. It is
    % U. {4 \6 t1 ?+ w$ \; r# N6 g
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.8 b; E& |  J% L
  1452. ; https://wiki.php.net/rfc/strict_sessions2 ?8 P* C) M" c; u( ^& Q% _! L+ m
  1453. session.use_strict_mode = 0
    6 r4 o$ F, {; h$ G* S  A
  1454. 3 M/ f, G9 h/ R6 Q- p
  1455. ; Whether to use cookies.4 \2 n: j# T/ F. K  y6 U! J) X
  1456. ; http://php.net/session.use-cookies) X' X' h0 v7 K
  1457. session.use_cookies = 1& t8 y( F7 R6 ?

  1458. ( B1 J" ~- t% A5 l+ Z5 _
  1459. ; http://php.net/session.cookie-secure
    ) h! l! n5 ]. J; m; P6 N% d6 i
  1460. ;session.cookie_secure =) B( e& e( W" n! P  l( A0 J) J  l
  1461. 1 q  Z6 F, n: Z: ]1 s: F
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining; I6 Q( y( z( J. |  i# f: u1 t
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    8 }, i/ m4 C% ~/ B3 ^! R
  1464. ; session hijacking when not specifying and managing your own session id. It is
    7 T+ I2 B! f5 u( W, E
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start./ f# o4 l* G* e( R
  1466. ; http://php.net/session.use-only-cookies
      M+ a* A; C0 k, x/ R
  1467. session.use_only_cookies = 12 @, A+ A+ u4 r
  1468. - ^0 k  T4 v# |4 A$ p( ^
  1469. ; Name of the session (used as cookie name).
      d" j& C# W4 s# f
  1470. ; http://php.net/session.name) k: l7 [  I0 ]) {
  1471. session.name = PHPSESSID
    * T+ B: O1 _3 m& T+ ^8 x

  1472. 0 P5 r' y& F! I% r) z
  1473. ; Initialize session on request startup.
    ! W" \5 P* a2 M4 m4 c
  1474. ; http://php.net/session.auto-start: Y- G5 N  |4 K1 [
  1475. session.auto_start = 0. S' U: ~$ S1 }' v
  1476. & }1 I2 }3 R2 G" r
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ) H) D: U  J' S' l) R" }9 q3 L9 J
  1478. ; http://php.net/session.cookie-lifetime
    0 Z  T- z0 O: u, Q0 k5 V2 q
  1479. session.cookie_lifetime = 0
    + h' m* K+ W: L- h# i

  1480. * @7 P( ?1 a: I# c  H# L
  1481. ; The path for which the cookie is valid.
    3 t# a6 k1 S# u) n6 h; F  f- _8 x
  1482. ; http://php.net/session.cookie-path
    0 N! s3 V( H! ~6 N
  1483. session.cookie_path = /
    " A2 u% q" p! x6 Z/ s- _% V

  1484. 2 u8 d' s3 a1 y" d+ r8 E/ b
  1485. ; The domain for which the cookie is valid.
    ' u+ G" B; L4 T& V* u
  1486. ; http://php.net/session.cookie-domain
    1 q. _" {4 x1 b; A
  1487. session.cookie_domain =5 Z6 ]/ j( j$ a

  1488. * s- z1 O3 i3 {$ n# a! I! M( @
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.4 l! O- c6 N, |" D4 R+ v/ U1 g
  1490. ; http://php.net/session.cookie-httponly( n/ g7 E1 [3 h0 z5 Q  m
  1491. session.cookie_httponly =1 j5 P$ U8 p1 X/ v

  1492. 0 ], ?% A6 O2 `/ y- d% o. O+ M
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    & F9 J' S  k7 M  [1 r
  1494. ; http://php.net/session.serialize-handler7 G+ i$ \& p9 L: T2 m$ ?
  1495. session.serialize_handler = php
    1 j. K$ I" ]5 S' o  l7 P4 v) W) B

  1496. " b( `6 q, i% ^  z! |) e
  1497. ; Defines the probability that the 'garbage collection' process is started( L. `% r6 K5 H% T% f
  1498. ; on every session initialization. The probability is calculated by using. C0 y" g/ X  X! c/ {
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator: l4 r' R4 t! K: e8 t
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1' l0 z$ f) R3 e9 P# m
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    : z# A1 x- N7 Y. j' F/ i
  1502. ; the gc will run on any give request.
    / H- b1 `) d* G9 H, r% ]* Y! n
  1503. ; Default Value: 1
    1 [5 u3 x0 \+ B! Z% s" o3 C
  1504. ; Development Value: 1
    # g4 W( T4 h+ |! j
  1505. ; Production Value: 1
    0 O8 s" `8 }( k1 w8 [3 V
  1506. ; http://php.net/session.gc-probability
    - X. ~/ o# V9 @, k6 o- o" j7 J) o
  1507. session.gc_probability = 18 X+ M/ e' [' i" `

  1508. & U8 C; W6 ]( N9 L
  1509. ; Defines the probability that the 'garbage collection' process is started on every' w8 p( S$ _+ M: s" y# b) ?6 n: _
  1510. ; session initialization. The probability is calculated by using the following equation:
    ( M( V4 P/ j; i* Y) l5 i
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    1 q8 `# Q; J' P* F8 q9 I
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 15 L5 B; {- w4 d; N4 S
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance' K+ t  d! r8 z" p4 p
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you: ^  O. k+ L: z/ d' O
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,6 d  t& D! j- D# k8 t8 |) j
  1516. ; this is a more efficient approach.
    0 A+ \, @& l/ d+ m4 B8 o  p0 \
  1517. ; Default Value: 100
    . e1 B" d8 ?) N" P/ [% `# X8 v' z
  1518. ; Development Value: 1000- ~$ V$ Y: P9 T! c0 V- l/ x9 g+ e
  1519. ; Production Value: 1000
    6 b/ `# d: H! r/ F! X/ |- j
  1520. ; http://php.net/session.gc-divisor
    : B  I+ q3 N9 F; M+ q% Q9 A  B
  1521. session.gc_divisor = 1000
    / |! E' A' v: p0 l* n

  1522. 7 H) [, u) C0 G: U& _
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and9 A  B( j$ ^: z7 T; B5 {5 I
  1524. ; cleaned up by the garbage collection process.
    " Q/ Y) E# }" I! Y8 B4 P
  1525. ; http://php.net/session.gc-maxlifetime9 S8 N) G: h' r0 D. i0 I/ ]
  1526. session.gc_maxlifetime = 1440& Z' D# R0 @. n3 a* c# E( i3 u

  1527. / u# H# |( y) Q% m/ w5 x& |  p
  1528. ; NOTE: If you are using the subdirectory option for storing session files8 d( K6 t% U$ u9 A6 |6 u
  1529. ;       (see session.save_path above), then garbage collection does *not*
    : x. L4 Q4 h7 n+ D" h
  1530. ;       happen automatically.  You will need to do your own garbage. }% {9 f; L( N" p9 ]6 p
  1531. ;       collection through a shell script, cron entry, or some other method.* p% d+ x5 v, O) p$ ?, `7 h' p
  1532. ;       For example, the following script would is the equivalent of0 y1 q" N6 y0 K' s
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):  i5 ]! I( c" C# P! Y5 X. l/ A
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    7 t2 A: a7 q4 d8 f

  1535. 9 X2 U: f$ d, C5 `
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids." E) P0 F! \& f8 n. J7 F: ^9 L
  1537. ; HTTP_REFERER has to contain this substring for the session to be6 Z# ?. [% X  v' k. ^/ x# h
  1538. ; considered as valid.
    + `( c3 ?$ ^7 s  a6 f* j4 V% L
  1539. ; http://php.net/session.referer-check
    9 o) j4 I. `- |7 b! W
  1540. session.referer_check =" M& j9 r1 h6 s

  1541. 8 H4 j9 @$ a; m7 A. C+ A5 M
  1542. ; How many bytes to read from the file.
    6 |' u" ?8 b5 L  E5 l
  1543. ; http://php.net/session.entropy-length
    , q; V. I3 i  w. u% R
  1544. ;session.entropy_length = 32
    ' D1 j# }2 X- i! v  s& g6 {. `4 s
  1545. # o1 q, P' c3 P$ J* {4 {$ u0 o" Z* \
  1546. ; Specified here to create the session id.7 ?9 X2 Q$ `. s- l
  1547. ; http://php.net/session.entropy-file* s2 }: \; u4 n2 P, x
  1548. ; Defaults to /dev/urandom% n; f9 \1 Y8 H" Z. @
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom. h9 {' h1 c. E/ Q9 j
  1550. ; If neither are found at compile time, the default is no entropy file., P7 U9 {: \( p( f+ X
  1551. ; On windows, setting the entropy_length setting will activate the
    4 Y" h2 \" c* ]; V9 p- i
  1552. ; Windows random source (using the CryptoAPI)8 A. g% ]6 t- g! {0 |1 x; K- c
  1553. ;session.entropy_file = /dev/urandom8 V6 P9 v7 l3 \/ b9 M, s. m

  1554. ; |/ V8 |7 h! S$ L7 u
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    : p# }( t8 z0 }( W6 A6 w8 V9 z
  1556. ; or leave this empty to avoid sending anti-caching headers.1 _8 q: N5 s7 i6 c4 i* P, l: Y
  1557. ; http://php.net/session.cache-limiter3 t. i( a6 c/ l: U; m5 E, _" [
  1558. session.cache_limiter = nocache. g& p0 N. G- M' ^& u# Y. }
  1559. 4 s$ X/ D5 U9 N! t) I$ h% `
  1560. ; Document expires after n minutes.
    $ o. x( c% r; j8 o2 `3 q
  1561. ; http://php.net/session.cache-expire
    : [. B  q- E0 p4 D
  1562. session.cache_expire = 180
    1 Z; D6 f2 x+ P6 n) W4 v7 c

  1563. * A5 u4 g1 n# K. g! }/ T- `3 d
  1564. ; trans sid support is disabled by default.8 \2 Z# c7 C$ ?  o
  1565. ; Use of trans sid may risk your users' security.4 {. ]9 [  {2 v& u
  1566. ; Use this option with caution.
    , U9 u( Z5 I1 b* _
  1567. ; - User may send URL contains active session ID$ ]5 t- n4 ]( A; R  O9 y
  1568. ;   to other person via. email/irc/etc.- b+ l! D/ s6 Y  V; _9 W
  1569. ; - URL that contains active session ID may be stored
    6 {9 l; N/ C1 n
  1570. ;   in publicly accessible computer.8 X+ t0 C+ U* x& E4 z/ [2 X: A
  1571. ; - User may access your site with the same session ID5 p( z1 w; }& D" H2 Z3 a
  1572. ;   always using URL stored in browser's history or bookmarks.
    / f) j9 h2 S4 M
  1573. ; http://php.net/session.use-trans-sid
    9 v0 F1 e7 r" r0 i: ^: r
  1574. session.use_trans_sid = 0
    9 V( C$ i5 `4 |" ^' ?) P9 B$ \$ o
  1575. / d- h% c6 E' I  O* M' l0 {
  1576. ; Select a hash function for use in generating session ids.
    1 R' x2 h# K7 R( o
  1577. ; Possible Values
    4 g% X. i# _. z2 W
  1578. ;   0  (MD5 128 bits). V: L/ @6 k& S
  1579. ;   1  (SHA-1 160 bits)" l; X4 {9 v- x0 O" }+ Q3 G! h
  1580. ; This option may also be set to the name of any hash function supported by
    1 X8 u# h- @) t: N% e; H6 W* L# c5 \
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()0 W. l7 Y( \, @* h4 |8 Y3 y
  1582. ; function.+ C6 b# i2 F% q/ o9 a
  1583. ; http://php.net/session.hash-function
    8 I+ J  U8 A' Q0 t% B+ w
  1584. session.hash_function = 0
    0 [: a7 o* x$ l/ g8 z5 m. w: \
  1585. 9 b0 i; F+ P& O& M# N
  1586. ; Define how many bits are stored in each character when converting% L, f" H8 }" [& u) H
  1587. ; the binary hash data to something readable.0 R5 @4 G0 F$ ]5 k
  1588. ; Possible values:* a2 L- D: U/ j9 Q  k$ U% Z
  1589. ;   4  (4 bits: 0-9, a-f)' _4 P6 Y0 X6 b2 e" b
  1590. ;   5  (5 bits: 0-9, a-v)& p) Q8 j. x  S. \' k
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    + H3 ?% q0 t2 j1 D% P0 E; l8 G6 o
  1592. ; Default Value: 4
    , U8 Q& P( h; e
  1593. ; Development Value: 5
    2 o* d+ C$ a# W" n! t$ Q2 `/ P
  1594. ; Production Value: 5" O/ ]+ a- x7 ~
  1595. ; http://php.net/session.hash-bits-per-character
    " k: A+ }  h% o' s) E
  1596. session.hash_bits_per_character = 5, L; L+ {' C" l
  1597. 4 z% p/ b) w; Y! N( T. c- w4 k
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.: ?/ D- |: ]4 X& \( s3 }9 Z
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    / `4 a/ y1 d# B/ u* o
  1600. ; add a hidden <input> field with the info which is otherwise appended  r! y  I8 e* i- u* Q( Q$ f
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    - \$ W1 E; ~7 `" j( e' R
  1602. ; Note that all valid entries require a "=", even if no value follows.) `8 ]" m/ v8 f$ C& D! J- j& s, L
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="8 F7 I) [1 F4 R8 c8 t
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * r+ P( A) w& w$ [1 }4 B1 w# d
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( I4 X$ t2 k: i* o( @, a
  1606. ; http://php.net/url-rewriter.tags. g7 u& V  u4 Y; O+ t6 q
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"+ Q" @1 [" g# {
  1608. ( e) t# x2 z* r/ A9 f9 d
  1609. ; Enable upload progress tracking in $_SESSION
    9 I, N8 ~- c" [( r, O* T% k
  1610. ; Default Value: On/ v$ d" V4 Y( b, v. P
  1611. ; Development Value: On* i$ ~7 d' o& @) E
  1612. ; Production Value: On
    ! K9 n/ [4 J" s% a! U9 ?' {9 c
  1613. ; http://php.net/session.upload-progress.enabled
    ' Z. y! |; m' S1 H+ M% p) M
  1614. ;session.upload_progress.enabled = On  G1 G  j6 t3 ?5 }
  1615. . g# K9 M2 R7 b! _. p1 ^
  1616. ; Cleanup the progress information as soon as all POST data has been read3 X1 d9 c. z$ {4 c
  1617. ; (i.e. upload completed).. @! U7 `$ ~- O
  1618. ; Default Value: On
    $ y7 \5 W0 ]% l
  1619. ; Development Value: On* H. c) d9 l) I( ^3 \  L4 N
  1620. ; Production Value: On1 `- q. Z3 [, C7 Z) v
  1621. ; http://php.net/session.upload-progress.cleanup
    0 A$ g9 g( Q% i+ E- `
  1622. ;session.upload_progress.cleanup = On: K2 j; @6 Z( r
  1623. ' {4 e1 q  w* Z2 |% A( q5 @3 ]
  1624. ; A prefix used for the upload progress key in $_SESSION
    5 E- ?% G4 r, ^
  1625. ; Default Value: "upload_progress_"
    3 p% C6 I0 E, G* H, a& l( U
  1626. ; Development Value: "upload_progress_"
      G6 O5 x2 ]" H1 h: A, Z/ P. I0 P/ t
  1627. ; Production Value: "upload_progress_"
    9 ?9 Q( n" a/ \4 L0 {
  1628. ; http://php.net/session.upload-progress.prefix
    ( l* S$ L' s- E5 }6 {: i! w
  1629. ;session.upload_progress.prefix = "upload_progress_"  h9 R: j3 E3 V7 ~! A3 N

  1630. / B- U+ F. D* D- C, i9 {
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    8 s0 y; t  V" O; |& g6 D% a
  1632. ; containing the upload progress information
    7 s$ V2 ^) s' t
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
      i# c4 E$ p6 p5 ]0 g* i
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"- x  C( R  J( Y& n, V
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & m" [7 w. f' ^( P) R/ n- ~
  1636. ; http://php.net/session.upload-progress.name) T' [% ~2 j0 _' U( I
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    * j% @; @) @* w: L" x( z# P
  1638. : y0 A2 T( m$ T+ P( L* `5 [
  1639. ; How frequently the upload progress should be updated.9 V$ D+ ~- _3 r" U
  1640. ; Given either in percentages (per-file), or in bytes( t: J5 W6 [& F' P
  1641. ; Default Value: "1%"
    $ I: }3 i3 @$ w6 [. H( s5 ^
  1642. ; Development Value: "1%"# p7 |6 ?( D+ }3 _
  1643. ; Production Value: "1%"
    $ G7 g3 R" s/ d6 Q; |
  1644. ; http://php.net/session.upload-progress.freq
    " G, N$ f" h. A6 F7 o7 G, Q8 L; r
  1645. ;session.upload_progress.freq =  "1%"7 v" y" W( M1 i( g2 x
  1646. * j" Q8 r/ b  t
  1647. ; The minimum delay between updates, in seconds
    1 E: B3 u- C$ c) }& X# K4 m5 y
  1648. ; Default Value: 1. s, i% ?0 c0 l) D, w  R
  1649. ; Development Value: 11 R( Z  U$ r7 y) R4 Y1 i7 y$ G
  1650. ; Production Value: 1
    , _* G8 O; c7 p' A
  1651. ; http://php.net/session.upload-progress.min-freq) L( P6 b  I0 n' ~. Z- V6 h) }
  1652. ;session.upload_progress.min_freq = "1"
    ( h, T: W9 `" c4 Z
  1653. & b& {* `. [4 ~; l+ w: z8 F  Q: Y, h
  1654. [MSSQL]
    ; ^1 o) ]- X6 o) E4 V3 [3 b) G
  1655. ; Allow or prevent persistent links.$ y9 Q" E. d* v' L) P; w7 `# C: c
  1656. mssql.allow_persistent = On3 m8 u" }/ j# l8 A

  1657. ' d( s5 `# m' L; K
  1658. ; Maximum number of persistent links.  -1 means no limit.! |. C+ d! @; @4 z4 y# X
  1659. mssql.max_persistent = -15 b7 u; |( ?# N- ]5 q. ^" E
  1660. 4 e. v- L# k; I, ^! ?
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ( r5 `+ V. b! J% C  {
  1662. mssql.max_links = -1' k# n$ }7 z. L
  1663. ; g" H% Z* M4 ?4 m
  1664. ; Minimum error severity to display.4 q" F5 o8 Z) C' T
  1665. mssql.min_error_severity = 10
    1 ]4 B$ V/ m; {- ~  d4 |* k* g

  1666. % x" s  e9 E1 q1 T+ [4 e; y
  1667. ; Minimum message severity to display.
    - C1 J- M: w1 @5 `
  1668. mssql.min_message_severity = 10! {" R+ ?& m4 b- R" _" Q

  1669. 4 Q! ^- O: f6 R1 E! q6 C
  1670. ; Compatibility mode with old versions of PHP 3.0.' [" v; U( U  R0 ]3 b
  1671. mssql.compatibility_mode = Off7 ]: t" M* t: E

  1672. " i- i) O2 e$ C4 z9 i
  1673. ; Connect timeout& Z/ {2 j6 [: [6 z' V. h( M- ^
  1674. ;mssql.connect_timeout = 57 p' p$ l0 C5 e* r* _; j

  1675. ' K- }; C3 I+ x) j
  1676. ; Query timeout
    2 o) h0 h0 z+ Z0 t8 b
  1677. ;mssql.timeout = 60, M  ^* T+ N! f7 z0 e. r

  1678. 1 B1 D) G+ H' O
  1679. ; Valid range 0 - 2147483647.  Default = 4096.# S: _, z# q3 r' n$ ?1 ?6 a  I" q
  1680. ;mssql.textlimit = 4096( R. i1 d( I- m  c9 g

  1681. - I( m4 f3 E# f) c) i+ L
  1682. ; Valid range 0 - 2147483647.  Default = 4096." Z" ~% g7 v+ R# s* U$ \. q; t
  1683. ;mssql.textsize = 4096
    * [2 u# `. C, U
  1684. : Y& N1 L+ A8 o9 W9 n
  1685. ; Limits the number of records in each batch.  0 = all records in one batch., W1 y1 ]7 f8 }' v
  1686. ;mssql.batchsize = 0: r% H' ^8 S, Q+ E
  1687. : S% H3 J- r) L! m% K8 t
  1688. ; Specify how datetime and datetim4 columns are returned
    & x4 v! D" p" h/ W& _( s
  1689. ; On => Returns data converted to SQL server settings! C$ ^. E" [3 I: w8 l
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss0 i0 \  A0 P. u8 f- x/ l& |: {
  1691. ;mssql.datetimeconvert = On0 n6 {. o0 d( O' B

  1692. , R, a1 D4 S) W# H
  1693. ; Use NT authentication when connecting to the server/ _2 u. h8 B% X
  1694. mssql.secure_connection = Off
    8 @, v& z! b& V0 U) P

  1695. 3 l$ c$ p$ {: o) ?7 m, A
  1696. ; Specify max number of processes. -1 = library default
    ) U1 z% p  T, Z; `
  1697. ; msdlib defaults to 25( U. l4 o- ]$ J/ g$ z3 ]+ u* o
  1698. ; FreeTDS defaults to 4096
    ; s2 M9 g3 n8 q( y0 b
  1699. ;mssql.max_procs = -16 o7 {- `4 M! W# G8 H6 V2 i
  1700. . s$ V1 M  A4 ~. U
  1701. ; Specify client character set.
    9 }9 H& O# x5 V/ S% x; Y3 }' U: x  p
  1702. ; If empty or not set the client charset from freetds.conf is used
    + C% g* J, W- k% g9 \
  1703. ; This is only used when compiled with FreeTDS
    2 y; n9 A7 q! L& t0 Q. g' c% o
  1704. ;mssql.charset = "ISO-8859-1"' l& c! {4 I, ^6 d; L
  1705. 4 P  [) Z( f8 A  [' a2 v
  1706. [Assertion]
    % y1 ^' j3 v/ I* f5 R* q. K
  1707. ; Assert(expr); active by default.- J$ U8 f! L1 @1 I: z* @0 X
  1708. ; http://php.net/assert.active3 M5 S$ C( n' V1 M  b& f# x" G
  1709. ;assert.active = On
    9 _" e! Z! `$ |
  1710. # i: G8 c9 `5 P) y) O5 ~$ }" {
  1711. ; Issue a PHP warning for each failed assertion.
    0 a- W% e1 r4 y0 D! n
  1712. ; http://php.net/assert.warning
    1 L( I# G2 w6 j
  1713. ;assert.warning = On
    , Y6 q% _! @6 |; P5 |- F8 c

  1714. - p) I" w3 J: R8 V- O
  1715. ; Don't bail out by default." j; k2 m$ H- R4 L. p" z
  1716. ; http://php.net/assert.bail) J+ z; j8 S8 u: b* x
  1717. ;assert.bail = Off
    * L2 l$ @. P3 `/ H" B3 l

  1718. 1 l; j; I! |7 _' ^
  1719. ; User-function to be called if an assertion fails.5 {/ ~2 O' K' Q& H  c2 F$ n% t
  1720. ; http://php.net/assert.callback
    ! j& v8 v) U3 B
  1721. ;assert.callback = 0
    3 H0 I- z( n4 O' R  H1 O

  1722. : J0 T' ?9 T' H, x+ R
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    - [8 W# M' J7 O9 X8 q
  1724. ; error_reporting(0) around the eval().8 K5 L. B6 O" C
  1725. ; http://php.net/assert.quiet-eval2 u/ W& }6 X$ g; ^% {
  1726. ;assert.quiet_eval = 0
    ; m4 R+ C- D$ Z7 X
  1727. , q8 F) Z0 N; l' {, m; E2 L
  1728. [COM]
    4 A$ O$ D# u1 ~9 i' G8 x5 Y
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs) e# G7 T, b  v  F+ B- g
  1730. ; http://php.net/com.typelib-file
    7 ^2 w  N- L# I8 x
  1731. ;com.typelib_file =
    1 }4 X# ?# d5 [' R0 \9 {

  1732. 8 v$ n, L- M7 p$ H- k6 h- L; y6 m/ m
  1733. ; allow Distributed-COM calls( Z* J) c3 V, \
  1734. ; http://php.net/com.allow-dcom7 X& [2 L+ v* _' A
  1735. ;com.allow_dcom = true: h0 N9 g; k& ^- _. g
  1736. 8 z5 i9 S' m6 y* Q! o% @
  1737. ; autoregister constants of a components typlib on com_load()
    6 p+ A2 q! h. S
  1738. ; http://php.net/com.autoregister-typelib5 t( D6 ~) K8 g# i! ^' g
  1739. ;com.autoregister_typelib = true% f& ~9 J& M  ?  |
  1740. # _/ Z# p" p- K7 v% U
  1741. ; register constants casesensitive
    . C6 \0 ^$ ]9 \9 p3 g
  1742. ; http://php.net/com.autoregister-casesensitive0 j0 w, o0 g3 N; A4 b
  1743. ;com.autoregister_casesensitive = false
    5 t2 e! }, x; S% t0 u: Z; t

  1744. 6 A8 A+ S% L% j9 b+ g( ~
  1745. ; show warnings on duplicate constant registrations
      Z5 o/ F7 `) S# V4 p( k
  1746. ; http://php.net/com.autoregister-verbose
    + v( F9 B% O; o" U/ R
  1747. ;com.autoregister_verbose = true
    8 d8 \  q) d9 f; j

  1748. 8 {! \/ T- b9 r7 w% Y' C8 ]
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    9 U# a2 t; M; T) x5 [
  1750. ; Default: system ANSI code page$ x% m9 {: a( q- G
  1751. ;com.code_page=
    # ]& v1 |# n- i' S% z9 |, }
  1752. 2 R( H% [+ d# G3 w
  1753. [mbstring]  w) W( p4 u" H% s% K7 _' s
  1754. ; language for internal character representation.
    % p; i. p2 m7 t) c
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    : M( v/ @4 a6 @
  1756. ; http://php.net/mbstring.language
    3 t7 F2 B4 s3 n4 [; H2 D) G
  1757. ;mbstring.language = Japanese
    & X. Y) R8 }) V/ S; V) x8 F
  1758. + p4 D+ d6 o( B2 a
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.: u; q; _2 H1 a+ g
  1760. ; internal/script encoding.2 v# f5 X  G0 o* Y7 i
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)+ ?; H* V* ~5 v  [- j% d
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    2 S5 g7 R( P9 \# e! ~6 o  _6 h
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    . V! S+ o1 J- A
  1764. ;mbstring.internal_encoding =% m& b/ }: M7 O* i0 Q( ^
  1765. - H5 f" B3 I; w7 A) L
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    / R$ W2 I( t7 f; U% \
  1767. ; http input encoding.0 y9 c- S4 W. t& p1 F) w' G3 z
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    & w' o8 t3 g( V- k- ~
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    , ^9 v) U0 f, @; v  r1 F
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    . j0 h% e& z% l7 v
  1771. ; http://php.net/mbstring.http-input
    ( p! k2 P. |4 K& Q' ^/ b+ j
  1772. ;mbstring.http_input =" H* t& S0 f% S7 [* G
  1773. # f0 m3 f. ?9 h1 N7 f0 H
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 Z& d9 b; {; R" a% R% b
  1775. ; http output encoding.# ~1 j8 c& I: D  i; u% c/ T4 s
  1776. ; mb_output_handler must be registered as output buffer to function.# f7 E% l! q( u+ v" h5 N6 u3 ^
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    & Y/ y2 p! r1 ^% d- f  N
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output8 P- G8 ]3 E* t( Y$ T  S* X
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    1 a8 b4 n2 W7 S# s( @- p: K- c
  1780. ; otherwise output encoding conversion cannot be performed.; o. y- P8 C/ l. m3 z6 i
  1781. ; http://php.net/mbstring.http-output
    3 y/ o1 @+ e, D. f2 N; M$ {
  1782. ;mbstring.http_output =
    , _$ d) @3 a$ W  ^; J; h8 k0 k

  1783. 8 }8 C1 X: d$ J: V: N+ T) a
  1784. ; enable automatic encoding translation according to
    9 R9 }5 ^. f% `) H
  1785. ; mbstring.internal_encoding setting. Input chars are
    ) g9 ~) J# r6 M0 q# ?0 t) ~9 W
  1786. ; converted to internal encoding by setting this to On.
    # v  g: x# s% C; w7 J8 m! j) O5 a5 S
  1787. ; Note: Do _not_ use automatic encoding translation for
    " }( d+ T& M' l& D$ ]1 n: @( C
  1788. ;       portable libs/applications.
    0 }. U6 G4 h- R
  1789. ; http://php.net/mbstring.encoding-translation
    . d# c6 T6 ~, W, d2 H- Q0 o
  1790. ;mbstring.encoding_translation = Off2 A3 ]( A( M* m6 V8 o8 a
  1791. ( s# c! y7 L2 g" v: s' D
  1792. ; automatic encoding detection order.: X) w! z5 ~) c% [# _8 c+ M4 M
  1793. ; "auto" detect order is changed according to mbstring.language8 T( R+ D& C/ a0 s" B
  1794. ; http://php.net/mbstring.detect-order
    1 O8 I7 w# c5 R) p1 K2 `, U' `7 ]( J
  1795. ;mbstring.detect_order = auto
    & R" O9 h. t8 z" g. ]

  1796. : {2 [9 Q: \* s! p: }- o* }$ i
  1797. ; substitute_character used when character cannot be converted$ _/ I! @; W! G$ a
  1798. ; one from another
    3 V6 V1 N) n- H1 K, T. R
  1799. ; http://php.net/mbstring.substitute-character
    ( Y: o5 Q& B2 \. L& p5 V
  1800. ;mbstring.substitute_character = none
    # R# i. r* Z! p: Z
  1801. % E$ {' M7 n2 v/ q1 D* B2 Z4 s
  1802. ; overload(replace) single byte functions by mbstring functions.& h* ]5 S% D# B& p* n
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),4 e& U8 Q! t1 j
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.8 p# l  X2 r0 t* p- m2 o
  1805. ; For example, 7 for overload everything.8 B7 G) w. U! g) X+ m3 L
  1806. ; 0: No overload
    4 [& }4 w: p( g6 M
  1807. ; 1: Overload mail() function
    6 Q: \- _3 l( p8 a4 n$ Z3 ^% c  k
  1808. ; 2: Overload str*() functions
    ) `4 ^# V! Y: P3 d
  1809. ; 4: Overload ereg*() functions  f$ x; S9 ?# S4 [7 Q
  1810. ; http://php.net/mbstring.func-overload% Y7 `* t* [/ o
  1811. ;mbstring.func_overload = 0
    ! b+ G6 R- Z* ~1 n, P

  1812. : Q+ E- `1 S( M' O
  1813. ; enable strict encoding detection.
    8 C% ?- Y0 K+ R4 J2 m* m$ O
  1814. ; Default: Off
    % D6 ~" M; a- y% f/ f) B( R$ U
  1815. ;mbstring.strict_detection = On7 y% f3 G# j; j/ B

  1816. " P* D4 T8 f3 s" a+ {) r
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ' m6 I+ @9 ]+ G. v. y* T# B
  1818. ; is activated.
    ( {! ], G) B, o) t) M9 G  `) ]2 ?
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)6 ^" o+ g; h# x1 t( C
  1820. ;mbstring.http_output_conv_mimetype=+ C1 U- L' ?4 p; p

  1821. 7 x* I  U" I. X+ B1 \) W
  1822. [gd]
      U$ l2 J) [" d4 r% n/ G
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    $ n0 H; u9 O" W
  1824. ; a gd image. The warning will then be displayed as notices2 p8 t2 c9 M5 a
  1825. ; disabled by default: k! X7 }. P' a1 Z8 y& ?! Z$ }
  1826. ; http://php.net/gd.jpeg-ignore-warning
    , S* f' t/ {+ U! H2 @" m; D
  1827. ;gd.jpeg_ignore_warning = 0
    * _! B5 C: F+ k+ \1 L2 d' M
  1828. - b3 k5 s& Z1 T7 I# ]# `/ s+ y
  1829. [exif]/ K# d& Q5 F" Q; i$ y, r
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    * z; ?* s. A/ h5 D, f8 a
  1831. ; With mbstring support this will automatically be converted into the encoding+ V# ^8 ]: C. @9 {
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    5 B9 d' ^% w' \6 a3 ]$ `& t, J# x
  1833. ; is used. For the decode settings you can distinguish between motorola and) H; b+ d0 G" F" k/ m
  1834. ; intel byte order. A decode setting cannot be empty.
    ( A) _0 [+ x0 S) J1 K0 W
  1835. ; http://php.net/exif.encode-unicode
    9 V# M' v  t& c4 s
  1836. ;exif.encode_unicode = ISO-8859-156 L3 y8 x3 Y- A  E2 x

  1837.   i" l) |6 ~* u1 [6 C
  1838. ; http://php.net/exif.decode-unicode-motorola
    4 W* _7 ^2 L, y1 D3 D
  1839. ;exif.decode_unicode_motorola = UCS-2BE1 Z9 E0 B$ f2 ?0 b: k. u' D
  1840. . b. p' `" M; k& W+ F' v
  1841. ; http://php.net/exif.decode-unicode-intel
      A& v+ B: o/ v$ Y$ [0 B; A" S
  1842. ;exif.decode_unicode_intel    = UCS-2LE+ ^0 m, [, T" w' S$ ]
  1843. $ j* [0 W" J4 ~$ Y$ @& D
  1844. ; http://php.net/exif.encode-jis
    . X# j% i# r3 a) Z* h
  1845. ;exif.encode_jis =- J' t4 w/ k. ~& Y
  1846. 1 L5 t. \2 x. U! I  W! t  {: y
  1847. ; http://php.net/exif.decode-jis-motorola7 u% i3 V% r  E. C7 _" C
  1848. ;exif.decode_jis_motorola = JIS; _# C/ n8 O5 b, Q
  1849. ; m& a% u) L. z& d1 U8 I9 I! j
  1850. ; http://php.net/exif.decode-jis-intel
    + u$ M! t; ?# |7 n
  1851. ;exif.decode_jis_intel    = JIS
    4 r- i/ r2 ~- B, C( J8 O& x
  1852. - E3 ~. F  ~# b1 M; l3 ]( S+ V- w
  1853. [Tidy]' l3 \7 ]5 E5 z* z3 p
  1854. ; The path to a default tidy configuration file to use when using tidy# g+ J2 V" _% M8 T* m) ^( H6 k
  1855. ; http://php.net/tidy.default-config: `* t3 a9 r0 I! ?3 ]
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg. X3 J' O4 g8 e: a- y. K4 g
  1857. ! m) h' i" N, U. O3 f0 N
  1858. ; Should tidy clean and repair output automatically?) E1 x7 m5 ]9 w; S9 N2 X
  1859. ; WARNING: Do not use this option if you are generating non-html content
      ]: F- e3 e" E" N4 d1 l' C2 ^
  1860. ; such as dynamic images
    & T1 e* q- M" G& Q( P4 u5 q
  1861. ; http://php.net/tidy.clean-output
    % G7 z0 @1 V" @5 p+ L) I& P8 I
  1862. tidy.clean_output = Off- l" x; j# V, Z  f
  1863. * }" \! w5 c! h/ g# `( R  F- {9 S8 N( O
  1864. [soap]
    : J0 L$ M7 i$ g  i0 E7 h
  1865. ; Enables or disables WSDL caching feature.# X6 w6 M, j  z% u! c! p& R1 ~% b# g
  1866. ; http://php.net/soap.wsdl-cache-enabled
    3 s6 X9 {% [4 V
  1867. soap.wsdl_cache_enabled=10 y3 O! x( E3 s" g  v, z5 G1 @
  1868. ) X+ [4 Z6 G6 X. n/ A
  1869. ; Sets the directory name where SOAP extension will put cache files.6 K8 ]! t& [- A. \4 p1 N/ F1 h
  1870. ; http://php.net/soap.wsdl-cache-dir' N0 w$ D% G# ]; o. S! `* L8 k" m
  1871. soap.wsdl_cache_dir="/tmp"
    4 l7 Q3 {2 Y# s; u- M1 M
  1872. ! Q. r5 P# \2 c3 N3 ^1 ^
  1873. ; (time to live) Sets the number of second while cached file will be used
    0 V1 F7 a# H% L' Z8 ?
  1874. ; instead of original one.
    $ m3 q) T5 {$ H" ^5 U6 l' \4 k
  1875. ; http://php.net/soap.wsdl-cache-ttl
    6 g& ^, A2 h4 s7 _; I* D3 u2 a! J
  1876. soap.wsdl_cache_ttl=864007 P  F+ u5 \7 f# Z! z

  1877. : r4 f( f: f  i' O1 E
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)1 ]4 u9 x9 r! z/ {
  1879. soap.wsdl_cache_limit = 5( w+ p1 J- z3 L

  1880. 6 N4 n* \) U/ I1 q" t: L" C
  1881. [sysvshm]4 u  `8 m2 }6 h, C( g* O2 V
  1882. ; A default size of the shared memory segment9 E2 H) V- Z5 X) a5 P. X  B
  1883. ;sysvshm.init_mem = 100009 W* M7 d" Z7 r# }$ c4 o" k2 h

  1884. 0 u3 y2 [! D' @0 y
  1885. [ldap]
    , H% j/ Q' ^5 g& }% F# o
  1886. ; Sets the maximum number of open links or -1 for unlimited." h8 K) J* J! @6 P- H
  1887. ldap.max_links = -19 y% r. H% F+ t/ U2 D) i# u* Q

  1888. - G' U" ]$ A0 D
  1889. [mcrypt]/ I' N5 q8 q9 V3 {  U( a" ^/ ~) E
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open2 y5 b  C  n6 U& W2 u( Q

  1891. 0 e+ c" y/ V6 c" x7 f
  1892. ; Directory where to load mcrypt algorithms
    5 ]2 C7 `2 o" j% T) ?4 v5 a4 Z6 A
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    % |0 W: h5 B2 n2 Z& u5 A
  1894. ;mcrypt.algorithms_dir=  v/ y4 h: a% P7 G/ q

  1895. . ?# E: h, S' K
  1896. ; Directory where to load mcrypt modes. C# U- U6 E3 S# M5 s& U
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    . o+ `4 D! Q8 W! u
  1898. ;mcrypt.modes_dir=
    ) L0 p- E; O/ F2 o- F+ x1 C
  1899. ( ?. i( u, D! o% p0 I
  1900. [dba]" n9 G9 x" M( W* M1 ~) U
  1901. ;dba.default_handler=
    % t9 g1 J$ k- ]0 N

  1902. 5 j5 k3 i  h; @; u
  1903. [opcache]
    * H5 f3 p1 a, {3 r: E) z
  1904. ; Determines if Zend OPCache is enabled6 |9 e# I8 Y2 ~  E& L$ M. S
  1905. ;opcache.enable=0: Q( k2 k$ I- h9 T( t( O

  1906. . Q+ d: i; @# W" [
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP, \9 l/ ^6 Z" t8 b) b% |9 r
  1908. ;opcache.enable_cli=04 A% G2 o! w9 _# P$ j
  1909. ' G" I& H! i# X7 S- F
  1910. ; The OPcache shared memory storage size.
    $ y( u3 O# K* X$ y  c
  1911. ;opcache.memory_consumption=64
    0 c' u) O3 z2 L9 [) r& n9 k

  1912. ) W" U2 Q) c- a# J7 D* T' o
  1913. ; The amount of memory for interned strings in Mbytes.3 ^! ]( q7 }2 }, c) ]% k
  1914. ;opcache.interned_strings_buffer=4
    ) e% U- V; B: o! m5 J" ^2 y
  1915. 4 r9 @/ w. d3 v0 w/ P1 D
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.% m  }4 h4 M+ ]
  1917. ; Only numbers between 200 and 100000 are allowed.
    ' J" K  |3 b3 r0 b! A$ y
  1918. ;opcache.max_accelerated_files=2000
    $ X' j7 f) N1 h- i4 U. X

  1919. 8 s/ O, |6 A% @! X
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.: X+ P7 |) @; X9 ^4 ]0 E, [4 H$ H
  1921. ;opcache.max_wasted_percentage=5
    " o9 \: k0 a- P* ], a
  1922. 4 r3 {+ \. M: L% m: L+ r4 u4 `' w
  1923. ; When this directive is enabled, the OPcache appends the current working  h+ H0 A1 v" V9 E. k* Y! p8 u3 u
  1924. ; directory to the script key, thus eliminating possible collisions between
    6 Y8 t+ i( v$ o0 |0 a4 h  o  A
  1925. ; files with the same name (basename). Disabling the directive improves
    ' e! Q/ N4 T7 \0 x
  1926. ; performance, but may break existing applications.
    : g6 S! N( O4 R! g
  1927. ;opcache.use_cwd=1
    ; r( Z* O9 s5 Z8 \
  1928. # X7 K6 D6 f" q# G
  1929. ; When disabled, you must reset the OPcache manually or restart the( }* W3 X9 L+ E  m' B- U6 V. R
  1930. ; webserver for changes to the filesystem to take effect.4 B8 F3 G+ X- L3 a
  1931. ;opcache.validate_timestamps=1
    8 Z1 W" {, H4 G) z/ r
  1932. 0 m( W  j4 O; w0 M$ I6 ^* N
  1933. ; How often (in seconds) to check file timestamps for changes to the shared% S, t2 y- c2 g, O6 z
  1934. ; memory storage allocation. ("1" means validate once per second, but only) j. g: G! q$ s0 g; x/ S
  1935. ; once per request. "0" means always validate). o5 N) a% a/ `- b. T+ r) k! S' V8 r
  1936. ;opcache.revalidate_freq=2
    + f2 i6 v$ I+ G2 G
  1937. 6 W6 n2 C; k& t  H8 i
  1938. ; Enables or disables file search in include_path optimization
    & B+ q' s, H1 B( l% p
  1939. ;opcache.revalidate_path=0
    5 s6 n) l  C- W9 l& n

  1940. 1 d; m- n; C; x1 W# Z( {
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ) w4 W3 a& A9 N" |0 [' |/ H3 z
  1942. ; size of the optimized code.: u: n3 i3 ]' z) C8 w: ~: d) x
  1943. ;opcache.save_comments=1
    2 I7 w. [" B6 Z7 i( u
  1944. 1 T# o) ~2 \3 ?
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"6 U2 Z3 W) M9 L" Q: H; u+ W- `
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    7 n+ T8 a- C# o6 J
  1947. ; that don't need them anyway.5 c" b4 z7 {+ T0 ~. h0 d
  1948. ;opcache.load_comments=1$ I" c& c: w3 |  M4 l" W; V2 ?
  1949. / I( D) w/ g' I2 `& T
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    3 z) o$ Q6 @' g9 d' K9 m
  1951. ;opcache.fast_shutdown=0
    ) K4 m6 i( y; v# {

  1952. 8 T  F6 t' L/ l0 ~( A! _2 c) V3 o
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    * z; L0 t) c- g  ^* W
  1954. ;opcache.enable_file_override=0
    5 ^8 `: q( c# g& i$ L4 z8 ?$ Z6 A

  1955. 2 w2 G& r, e1 e
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    4 C$ X/ T5 m) q
  1957. ; passes
    & B' w$ v0 U3 h5 o
  1958. ;opcache.optimization_level=0xffffffff! N! z$ s2 \$ M+ B

  1959. 5 ^0 N4 s+ ]5 V
  1960. ;opcache.inherited_hack=15 K9 f! h) y  M, Q& [6 m9 _  @4 H3 G
  1961. ;opcache.dups_fix=0' L4 |+ v5 Q4 P3 O
  1962. ' \3 I$ M4 \, i+ ^' U
  1963. ; The location of the OPcache blacklist file (wildcards allowed).) |1 x* L: q. x9 F
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    6 H. B) \1 x( b$ H
  1965. ; that should not be accelerated. The file format is to add each filename/ q) d- |8 o  P
  1966. ; to a new line. The filename may be a full path or just a file prefix
      ]: u& N5 W, E$ E! A
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    4 k9 f# D- C& r  V7 F
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    0 t8 g) b  i0 P% a3 K3 r/ a, a' Y
  1969. ;opcache.blacklist_filename=5 {; @2 o3 |2 a1 P2 ^7 F& G) l9 g2 o
  1970. 6 F! Z5 r5 q+ j: a' A7 z
  1971. ; Allows exclusion of large files from being cached. By default all files
    & c- o5 c8 q8 j( M8 d
  1972. ; are cached.
    6 A# t5 ~9 `5 @; d0 j
  1973. ;opcache.max_file_size=0
    4 Y. w4 ]& \1 L8 j
  1974. + R( y: V7 r! D+ k5 T2 K* f
  1975. ; Check the cache checksum each N requests.7 l4 L3 d( x0 ~1 e3 _; b2 ?( j
  1976. ; The default value of "0" means that the checks are disabled.
    ) i; S' O- G/ \2 {( }
  1977. ;opcache.consistency_checks=0
    6 w$ E4 M3 |. r/ Y

  1978. / n- E9 Q/ W1 x4 ?9 |3 @
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    + A, o- r, H; L) T. M, u& c
  1980. ; is not being accessed.
    7 S  p' D& P+ y5 n6 [
  1981. ;opcache.force_restart_timeout=1804 v* Y8 Y( }" Q/ k- A
  1982. / A& {: B/ ^9 ]1 N& A( \6 {/ W  P
  1983. ; OPcache error_log file name. Empty string assumes "stderr".5 B* _5 |, Y0 X8 W% ]7 N8 b
  1984. ;opcache.error_log=
    " i4 w/ {4 u, K, f0 }
  1985. : f3 ]3 w8 D# j+ ]/ j
  1986. ; All OPcache errors go to the Web server log.
    * B/ Q' D3 T# z1 V8 A* R
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    7 {" n* ?5 E1 ]* P( m3 ~
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    : c& c( j  n0 N
  1989. ; debug messages (level 4).& \! P, K5 g% J$ R
  1990. ;opcache.log_verbosity_level=1: o  u6 f3 ~0 o; N. d  S
  1991. / p/ U5 a) {) ]5 A* y
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    7 N1 z. _# G: ^9 D
  1993. ;opcache.preferred_memory_model=
    1 W7 Y$ c$ ~' U
  1994. " T/ W) d& N: s# n/ p
  1995. ; Protect the shared memory from unexpected writing during script execution.
    , r. ^' X, I% y4 R
  1996. ; Useful for internal debugging only.
    / `1 `7 }9 |" f. _% h' w2 o
  1997. ;opcache.protect_memory=0
    9 a. _5 z: r, Q4 |/ T/ T

  1998. - m, q2 I# U% |$ }  O) c+ l
  1999. ; Validate cached file permissions.5 G- E5 m( O' M
  2000. ; opcache.validate_permission=0
    ; ?1 \4 d& @! S/ s  y/ `

  2001. , h" h& P4 o" E$ i" H; r% f" K5 ~
  2002. ; Prevent name collisions in chroot'ed environment.8 ~7 x2 A' h5 V  ?+ Y7 M% p
  2003. ; opcache.validate_root=0
    $ _! ?% F" X. N6 c

  2004. 4 }) \% |1 a; L; q. Y0 s/ C/ R
  2005. [curl]/ M% L  x$ {6 T% }
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    & ?* g" n. t! t. z0 a1 `
  2007. ; absolute path.. E5 ^. `3 D, d4 U5 N' ^
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    6 i) `  x8 o8 u. Z( Q+ r9 i8 @8 b

  2009. , X: C) z" X. [2 L( q' |& S1 o
  2010. [openssl]
    , u" i# H! I0 Z% Z$ Y! ]8 m+ u, {
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    6 i& Y3 u" O0 f
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
      r. {: f6 v  p: e( [
  2013. ; not specify a value for this directive as PHP will attempt to use the
    9 D9 M" y/ ?; n
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    8 M- b0 s6 h8 j% j
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context; e; r. C$ S! c$ z
  2016. ; option.2 r$ h* r2 f  m; @% i
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    0 l8 ~2 b. [% i8 P% M+ u' W( o
  2018. % U4 @& A( \2 \) g! m& Y, i
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the$ E! {7 c1 {1 S. ]  K
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    " \3 I/ j2 m8 ], W1 e" ^- x& a
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    2 ~3 k, E- F9 F) ?$ f: B, w
  2022. ; Most users should not specify a value for this directive as PHP will
    # ~4 A8 j* c7 A2 u
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,0 u" I+ I. ^7 C) A, f+ m, d9 M, a# V4 Q
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    " i& ]4 ]' P. ^
  2025. ; SSL stream context option.
    # F% M5 V" s( k2 g5 R, ^
  2026. ;openssl.capath=" K- R+ r3 t& i9 Q) E
  2027. 3 X: u5 A; f3 S0 p: \$ N
  2028. ; Local Variables:
    ' W, A. q* o% ]/ V
  2029. ; tab-width: 4; b) i6 s3 A3 Q/ R7 O
  2030. ; End:1 J+ t4 V  |( y* g( U4 {' K
  2031. 6 E; L2 w& s; ^
  2032. ;eaccelerator( g) [7 D% o9 v1 t: T: b9 G

  2033. 1 Z. [2 t- E5 L& P
  2034. ;ionCube7 y. G2 _% ^/ D! U+ U
  2035. 1 d- R$ X, U( w3 @  g6 x8 u
  2036. ;opcache
    2 P+ g7 p4 B6 g( A; j3 e9 K4 `5 Y, y
  2037. # |5 G- K+ u8 f% Q  S' ?
  2038. [Zend ZendGuard Loader]- z! v- L+ I4 p, I, P% x
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    4 ^0 f, u4 v* ?, g, Z3 O. n
  2040. zend_loader.enable=1
    5 N; T7 Z* q3 c, k
  2041. zend_loader.disable_licensing=02 d" _  Q( z" B3 ~2 C" L4 s& ?
  2042. zend_loader.obfuscation_level_support=3# Y/ s  `& X3 v  I( u8 x
  2043. zend_loader.license_path=% W9 u! D) O8 X' I5 X
  2044. * \! i5 T) S' B' F' R! w" `
  2045. ;xcache
    4 F( e0 Z) e8 b& ~3 u
  2046. + E( U% \3 e- _: A2 [3 w' b
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
( j7 U0 B3 c1 w
& Y% \4 P) I8 a6 V5 \6 ~1 z, I7 V; n
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,* |, z' [  H( }6 R9 O) b& U

% o9 I" T% N2 O! K1 s6 YDiscuz!程序版本选择:) t2 w9 c/ N2 a8 u/ [
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
2 m' [# e0 n: S- |3 M  `不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:( d; p% o1 C2 W' j% i1 J6 ^6 ?) w
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
! B) d" ~: z+ N3 `4 n6 `
  f9 b0 M1 q9 N" s5 y; i: X3 K* QDiscuz!插件模板版本选择:% Z! s& C' f: [: l( m# _# z
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,9 f+ A5 Y8 @4 E: S
针对这个问题做个统一的普及:
- f& L- Z; M# }: U* MX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。! t$ R2 G4 I9 N# X

7 j! f: o9 h% S# k2 m! c所以0 r0 Y  m; h5 u
适合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: N3 h( S9 Q) g* K
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。- ^+ p6 E1 T- q
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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