分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0- [  A! v9 k# l

0 C) H5 W1 L% F- {1 y
  1. [PHP]
      m& p( V; ]: C3 e* X+ ^- f
  2. 1 v3 X4 p1 b  e  |
  3. ;;;;;;;;;;;;;;;;;;;% N* e( Y  A- K* r& [4 H
  4. ; About php.ini   ;0 m7 m3 z& q- ^" W# l4 }9 S
  5. ;;;;;;;;;;;;;;;;;;;8 m7 l$ o% M9 o7 `
  6. ; PHP's initialization file, generally called php.ini, is responsible for) `( v) W- _+ d) l
  7. ; configuring many of the aspects of PHP's behavior.; @& f5 y' y, {) k7 M: o) y- I1 }
  8. 1 u6 N; F$ b1 A: H; M, Y
  9. ; PHP attempts to find and load this configuration from a number of locations.
    1 `8 x4 ?, q  C0 }
  10. ; The following is a summary of its search order:2 N: R: s4 h% _
  11. ; 1. SAPI module specific location./ |' W' E# Y8 N/ X8 ]7 \& C9 u
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)4 m! h; Q, D5 U! e" v3 w; ]
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    4 T6 Y8 i/ D- l5 o
  14. ; 4. Current working directory (except CLI)
    8 D+ G0 w: r% R6 `( o, E# p
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ' d3 ^: q; N. O* }% M3 `' w' K
  16. ; (otherwise in Windows)
    + J9 l% a: ^+ L
  17. ; 6. The directory from the --with-config-file-path compile time option, or the6 a4 O& ?( P. X6 D
  18. ; Windows directory (C:\windows or C:\winnt)0 x( H7 U! @% u
  19. ; See the PHP docs for more specific information.
    1 A% V- g3 N5 }8 X4 A
  20. ; http://php.net/configuration.file4 O) Y" F2 t) F0 l
  21. 0 f6 P, y( P- G6 y4 S/ a
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ) J* H+ k0 m1 q6 s! X: Z
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).; d8 m: P8 V$ F3 B8 @8 \4 t( k2 ?- Z
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    / n* R2 D" b, ?7 d+ ]6 N8 k' C# m3 _
  25. ; they might mean something in the future.1 \' C+ z; R1 ]$ D' k" v
  26. 0 p! `$ d$ O! N+ W) t) I, r' s
  27. ; Directives following the section heading [PATH=/www/mysite] only! S7 l6 o1 t: q( ~$ g( n
  28. ; apply to PHP files in the /www/mysite directory.  Directives1 ]1 u+ m1 W; `# S' Q6 {# P& Y
  29. ; following the section heading [HOST=www.example.com] only apply to2 q2 R; [8 f4 f+ x) a: I  J- o1 P
  30. ; PHP files served from www.example.com.  Directives set in these0 w, @; a6 M" s% o4 o% M7 Y% W6 Q
  31. ; special sections cannot be overridden by user-defined INI files or4 Q; Q2 Y, }& a! K8 T
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    8 e0 r7 ~- P8 g- S9 q) @* v
  33. ; CGI/FastCGI.
    2 V& j" _- z; s% u% p6 y' f/ U
  34. ; http://php.net/ini.sections  E: c( M0 ^" z6 ?- A" l# Y4 s9 w

  35. - Z. L: K2 v/ A( {/ J9 Q1 q, l
  36. ; Directives are specified using the following syntax:
    9 F0 Q/ _' |) t  H3 [
  37. ; directive = value
    , w- C, [* j% g$ d
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ' f% o* I- T9 \( {* e! H4 ^
  39. ; Directives are variables used to configure PHP or PHP extensions.
    & q8 h, o- K/ T
  40. ; There is no name validation.  If PHP can't find an expected2 @' f/ w4 ]) g: B8 _
  41. ; directive because it is not set or is mistyped, a default value will be used.$ }& X5 U  V! o, Z
  42. 9 {* m8 Z: l, C. z
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one/ X+ V3 M8 V: M8 }# V7 @  ?& Z
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression/ P: n# @* q6 u
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    1 x& ^) q$ J0 ?* ]1 [
  46. ; previously set variable or directive (e.g. ${foo}); `0 \6 Q- j6 F
  47. / F8 e# c" V* d* a6 u
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ( |7 K. U% T# `# e1 d
  49. ; |  bitwise OR
    $ R5 d/ ?; B* Z- |5 O" Y
  50. ; ^  bitwise XOR
    ! N/ B, x- C9 N" }8 s) ]
  51. ; &  bitwise AND+ z- T9 r4 p% z( \
  52. ; ~  bitwise NOT
    7 e; _/ W# E0 p! z" Q' M
  53. ; !  boolean NOT
    + _& w. j) D' c0 y9 d+ L" A  I

  54. 9 g' I  H- x) E" j% h! t/ d3 v
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ! f; H5 h0 z/ h. I, `% T
  56. ; They can be turned off using the values 0, Off, False or No.
    5 f* ?  Y6 ^) Y* b, e. I

  57. 8 r5 Q& R2 x( B4 K
  58. ; An empty string can be denoted by simply not writing anything after the equal. Y  O9 S2 i- J0 J3 d! s
  59. ; sign, or by using the None keyword:
    # D/ o. F- Q$ L
  60. 5 h  e$ ~0 |2 P6 g
  61. ;  foo =         ; sets foo to an empty string
    7 u: {  E0 p# l; E- A& o% L
  62. ;  foo = None    ; sets foo to an empty string
    / |( t  v4 ~4 [0 ^' L
  63. ;  foo = "None"  ; sets foo to the string 'None'$ F# P% s4 w7 }! H" L

  64. ) O$ X% y) w/ f+ E( \) N
  65. ; If you use constants in your value, and these constants belong to a
    % p5 v- E; d. F& F
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    % \+ U5 G# q" U9 W% B+ l" t
  67. ; you may only use these constants *after* the line that loads the extension.
    + k, k) ^3 B( O" n5 y# N0 z

  68. - G( M3 N  E! P
  69. ;;;;;;;;;;;;;;;;;;;9 L8 s) H* d- l3 N7 c
  70. ; About this file ;
    , Y8 o3 c$ H. p/ k8 h  T
  71. ;;;;;;;;;;;;;;;;;;;
    9 P# }6 U  w- T$ |8 k
  72. ; PHP comes packaged with two INI files. One that is recommended to be used* {2 ?0 g6 c. x  v7 i1 o. l
  73. ; in production environments and one that is recommended to be used in  j2 X. u, E8 C3 x0 ^
  74. ; development environments.8 a2 I5 U" g/ q8 c, v
  75. & l4 O5 g2 D; S- p
  76. ; php.ini-production contains settings which hold security, performance and
    * v* Z  _+ _5 |2 `/ v# G/ i  I
  77. ; best practices at its core. But please be aware, these settings may break8 X# F7 e( [  i+ k7 J
  78. ; compatibility with older or less security conscience applications. We
    : {( C% n6 J: m/ ?2 ]$ Z, F
  79. ; recommending using the production ini in production and testing environments.
    1 s% m* s& K- s- M' I+ `2 J
  80. 8 q: j0 ]4 }  k( }! [
  81. ; php.ini-development is very similar to its production variant, except it is
      |9 v" H* w3 p* f; _
  82. ; much more verbose when it comes to errors. We recommend using the
    ( h9 A, U, x5 h$ W
  83. ; development version only in development environments, as errors shown to5 Y+ ~; P5 n- R2 W, U! b8 S
  84. ; application users can inadvertently leak otherwise secure information.
    " O- [1 r0 A: c8 V0 B0 h' Z

  85. - F- N% i+ Z' j
  86. ; This is php.ini-production INI file./ h9 H! B: k6 o6 y; G2 T- r1 }
  87. 0 Y! |( o4 g8 E* F( t+ H# R( K! Z
  88. ;;;;;;;;;;;;;;;;;;;5 h9 W5 q  [/ e) l
  89. ; Quick Reference ;
    * t# ]! d- `) ^* I! j3 U* G$ I
  90. ;;;;;;;;;;;;;;;;;;;+ o5 H' y8 l5 e) p# p
  91. ; The following are all the settings which are different in either the production
    / D6 c2 O2 n4 ~' o/ k& O6 s
  92. ; or development versions of the INIs with respect to PHP's default behavior.. L( I+ {& y, I+ |
  93. ; Please see the actual settings later in the document for more details as to why
    * Q7 M9 i9 H% [" F8 f  l/ s
  94. ; we recommend these changes in PHP's behavior.* \. @- K- S; P
  95. & f5 `6 h& l! M* w/ ^
  96. ; display_errors$ ]  V) Z' W8 Y% |' G/ l8 K/ o2 P
  97. ;   Default Value: On2 ^! F3 @8 g. j2 k, J! F8 y
  98. ;   Development Value: On/ ]6 ^, X% u9 x3 V) F+ g( o
  99. ;   Production Value: Off: p# j( ^- h) T! v) `0 z/ J; b8 G

  100. 0 l5 {& n- s( \, U; m
  101. ; display_startup_errors
    4 B" U5 }% @2 \6 ~0 Z3 h; q
  102. ;   Default Value: Off0 t$ U* {5 y3 N- n" y% T/ Z$ W( P, p
  103. ;   Development Value: On
    ( K* a) E# j7 ^4 c' V. x4 G: ]
  104. ;   Production Value: Off
    0 l. Y$ ?0 o9 K* H+ I. `0 y
  105. 7 K0 W. d$ x+ L- u2 h" j' R" d
  106. ; error_reporting
    " H, \- I6 w+ T) y- g
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) Z0 q) [, D. m+ G' Y- t$ t' E$ j* {
  108. ;   Development Value: E_ALL
    ' D* j/ r& N& x3 x/ M
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , L/ X# \% J$ f/ h
  110. . s5 N+ y% u& }1 o: Z) n3 b# y
  111. ; html_errors
    # E, h1 U3 g( w: W% D) Y' A
  112. ;   Default Value: On+ E2 z9 e6 R/ [* r% ~
  113. ;   Development Value: On
    ( H9 G) N; y, z& i
  114. ;   Production value: On
    6 Z6 @: n# [5 G( h2 t& p" B) S

  115.   A+ Z5 T1 }0 k. {& j; v% X1 F
  116. ; log_errors' I8 @0 L$ W6 Y8 y, S1 a3 \0 A
  117. ;   Default Value: Off, f. _% I& \  ~1 v4 H# k
  118. ;   Development Value: On
    ( _: Y% i& P9 b) @
  119. ;   Production Value: On
    # Z, m. e2 K5 m. ?+ j* e+ M
  120. $ E- k- f+ C0 E# D
  121. ; max_input_time
    : c: k* l0 Q9 M
  122. ;   Default Value: -1 (Unlimited)5 z2 J6 E! n* Y) V0 r# K# ~
  123. ;   Development Value: 60 (60 seconds)/ `( p0 x# g% d9 |& j1 ^, z& h: t
  124. ;   Production Value: 60 (60 seconds)
    ) Z6 l  p: ?! m% c( t

  125. 6 D. W3 \- q& D. x2 n# V% n/ o
  126. ; output_buffering
    # x2 u; T* R( N' e1 ^: K1 v
  127. ;   Default Value: Off/ e$ x+ [2 s: u1 S) N7 |
  128. ;   Development Value: 4096) o* b6 [7 O9 h- Y
  129. ;   Production Value: 4096
      w0 n/ B. y, b
  130. ) I4 O/ a  n2 w8 I2 W, E: w
  131. ; register_argc_argv" V, S# G$ w4 ^+ J; r  E& W
  132. ;   Default Value: On
    - C6 @9 u: D9 l4 |. t
  133. ;   Development Value: Off) {; ^& i* r- R
  134. ;   Production Value: Off
    1 c% e  z6 _: B) ~
  135. : J# C0 }1 s3 i4 b& P2 a0 W
  136. ; request_order
    ) k2 e( ]8 o  x8 D. T
  137. ;   Default Value: None9 I( `8 A6 k5 C, z' s8 k5 b6 i
  138. ;   Development Value: "GP": s( E4 t1 N$ Y! C$ U# l: g
  139. ;   Production Value: "GP"$ l5 I6 A5 g& X% e( ?' U
  140.   H# t0 o2 M) R$ R+ p2 d
  141. ; session.gc_divisor
    : l& K& [& @+ g: Y) j% A( q3 @
  142. ;   Default Value: 100
    : c! l! I( h$ x2 u
  143. ;   Development Value: 1000
    " ?+ e  m' L1 R+ L- t( t& z
  144. ;   Production Value: 1000
    ! j5 Z5 H1 v' R/ X: O0 p
  145. " s- z$ b: j) h6 O7 w
  146. ; session.hash_bits_per_character! y, @& \, m$ Z( R1 k  h: u4 i
  147. ;   Default Value: 4- F. v2 h9 y6 E  A6 m+ O, @
  148. ;   Development Value: 5
    ) y# Z% x2 ]! q9 m0 @: J( \
  149. ;   Production Value: 5# f1 t8 E% ~& S7 X
  150. 8 I* y7 s* M! e9 d6 t1 v
  151. ; short_open_tag
    5 |* g) z" f" M8 E
  152. ;   Default Value: On
    ! V% _# j5 R9 ~  V3 C+ {; O3 s% T
  153. ;   Development Value: Off
    7 b% m9 U: G) i' x* J# Y1 {  k$ T
  154. ;   Production Value: Off
    # J. O! V5 X3 O
  155. & r( n1 q) _* A0 {
  156. ; track_errors
    ) K9 p. T* t  Y1 i; r
  157. ;   Default Value: Off
    ; d( {. Q# X3 n7 n) g1 r8 x
  158. ;   Development Value: On
    % q- C- q- v$ B/ J# n1 z6 k
  159. ;   Production Value: Off) B4 g! d% X7 ~3 N  ?0 X
  160. / s. |4 x7 [: N2 B/ [* G5 k  C
  161. ; url_rewriter.tags  G6 \. o$ X# d; Q
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    : Q- Y# C- a' @$ j( F5 j* a
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 R  I4 @  R- x! b4 L$ m" q6 w
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - Y/ n3 x/ L' X4 s  |% E2 j6 v# F% C% R

  165. # o+ I# k4 B) Y5 [
  166. ; variables_order
    4 s! @$ R- k- B% W2 w3 r
  167. ;   Default Value: "EGPCS"
    6 {% ~. B5 A9 |1 g  k, L
  168. ;   Development Value: "GPCS"9 k' H: n! S4 p1 k) N' {
  169. ;   Production Value: "GPCS"
    " w- x9 ?  z; h) S5 l6 x

  170. * R# a8 O6 G4 Y' ^- r% Z" D
  171. ;;;;;;;;;;;;;;;;;;;;
    8 G& y7 A# ]4 q1 G2 }) L
  172. ; php.ini Options  ;
    - O/ [) w& v+ e$ Y% N
  173. ;;;;;;;;;;;;;;;;;;;;4 M; I5 `# r3 C$ D
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ! \9 B. H+ s# }
  175. ;user_ini.filename = ".user.ini"
    " P; M" J  V$ Q) Z, x' B2 F& _

  176. ; \% l- v: x! t! {! t
  177. ; To disable this feature set this option to empty value
    ; z6 v/ M6 f: l. l- O7 R* o! ^
  178. ;user_ini.filename =
    $ S, {' o2 f/ h
  179. 0 x9 w/ C6 I# v: T
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes), ~+ I8 R+ F/ v: j- }2 m- w
  181. ;user_ini.cache_ttl = 300( }! v2 S7 d1 A) o0 m
  182. ) ?2 C. g0 i7 a7 G
  183. ;;;;;;;;;;;;;;;;;;;;
    5 ?" Z6 T. A( l
  184. ; Language Options ;
    1 ~  J5 z* Q) w
  185. ;;;;;;;;;;;;;;;;;;;;$ a% c. E# U! {  v" F" ?
  186. 1 G- V, @  y" ]- v4 }+ u" e
  187. ; Enable the PHP scripting language engine under Apache.
    # C8 Y% h& N5 i  z5 D" C3 C
  188. ; http://php.net/engine* T0 w( }( r' q' j  K: W4 M
  189. engine = On
    " }* N, V* X9 @* b. t' K4 A0 }
  190. $ Z/ Y% j6 G( e0 v# Q5 ?( \
  191. ; This directive determines whether or not PHP will recognize code between
    ! |- ~+ Y, x- s/ f2 W
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    + N: C* z# u: [7 l" h2 K, o% J# `
  193. ; generally recommended that <?php and ?> should be used and that this feature- k. u0 k  a  Q3 U7 a. M3 G& |- d
  194. ; should be disabled, as enabling it may result in issues when generating XML
    6 w) ]- f9 S9 m3 T
  195. ; documents, however this remains supported for backward compatibility reasons.
    3 w  g8 r2 w! m  H; e7 i& B  P  T
  196. ; Note that this directive does not control the <?= shorthand tag, which can be3 ^5 L6 v8 {6 `) i, R
  197. ; used regardless of this directive.
    ) ?& D- L3 q9 n6 u. ]4 f
  198. ; Default Value: On
    + a; m! l7 v) f
  199. ; Development Value: Off
    2 F, ]( v( k& \/ P8 e, C
  200. ; Production Value: Off2 P3 _/ `$ J/ ^2 X& h/ v  ~
  201. ; http://php.net/short-open-tag
    % b1 W9 a/ u; }9 w1 h
  202. short_open_tag = On) b: q, R1 q" C

  203. 5 @% ~, @7 }4 Q1 ^# _# c& |% Q7 D! v
  204. ; The number of significant digits displayed in floating point numbers.
      _6 e' Y+ x: N" `; J
  205. ; http://php.net/precision
    ( U* s: s5 c: f6 n3 {, t6 I
  206. precision = 14
    & E3 g2 z% e' r. h
  207. * c+ O+ Y& e/ n9 C$ N) {
  208. ; Output buffering is a mechanism for controlling how much output data3 M2 `" e- M+ f% t% ^. k
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that; U% S* P" l4 h6 X) X5 _: q
  210. ; data to the client. If your application's output exceeds this setting, PHP
    3 t9 w# J1 o, Y2 W* m
  211. ; will send that data in chunks of roughly the size you specify.
    8 k3 f4 b( n6 |6 ]
  212. ; Turning on this setting and managing its maximum buffer size can yield some0 r/ {4 N3 K) d, q; k% \6 e9 }
  213. ; interesting side-effects depending on your application and web server.
    " l, M2 i" q# x$ H6 H& e
  214. ; You may be able to send headers and cookies after you've already sent output
    ) a1 ?1 ?% p, B* _
  215. ; through print or echo. You also may see performance benefits if your server is
    ; O  N8 `+ S1 r- D! [
  216. ; emitting less packets due to buffered output versus PHP streaming the output% j2 L9 R; q2 y2 b. j4 l2 d1 P
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance) m  c- c9 T' k0 [* J
  218. ; reasons.
    6 s5 g8 k7 j$ K' y
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    * X" `5 d9 C" e9 O
  220. ;   functions.
    0 m: ]/ H% [2 }/ J3 f/ T$ @  k/ \
  221. ; Possible Values:! d' c9 f) Y9 k0 \# ~9 \2 @
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)) e# g+ C/ e( D, g$ K/ ?0 L2 z
  223. ;   Off = Disabled, E' k! [# Z2 [8 N1 s+ N
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
      H- S# w, E" {7 C; Z" v9 D$ I5 U
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI5 E1 S! H$ [9 n+ J
  226. ; Default Value: Off0 P0 s6 I( [1 A
  227. ; Development Value: 40963 |; F" d* B$ X6 A6 D. o
  228. ; Production Value: 4096
    : ^& y( B7 N4 c; c: J$ s+ h
  229. ; http://php.net/output-buffering
    % ]2 J; C# r! w2 a/ X) b
  230. output_buffering = 40967 |, M. R2 U8 e2 q8 e8 R! {# x0 C+ M) l
  231. + e9 h2 S: f1 E. }% |4 {  |
  232. ; You can redirect all of the output of your scripts to a function.  For
    ! h8 h- U6 `1 b+ s; J$ Y8 t% ]$ A3 u
  233. ; example, if you set output_handler to "mb_output_handler", character8 `1 v0 M; Y2 x3 I# [$ r. E
  234. ; encoding will be transparently converted to the specified encoding.
    2 T' p  @  |$ C. a8 p
  235. ; Setting any output handler automatically turns on output buffering.
    ( J4 S, s9 ?: g4 z
  236. ; Note: People who wrote portable scripts should not depend on this ini
    7 w9 v* b6 G3 s- g# C$ j
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    0 x3 @) c* B. E! C
  238. ;   Using this ini directive may cause problems unless you know what script) {9 T+ G7 [$ L
  239. ;   is doing.) e/ [7 N/ e; c. L1 {
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"8 v0 j) g$ w  m9 D5 t6 T6 e# Y# E" r
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".6 g& z0 z, D5 B/ G5 _
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    2 S, f3 o$ ^2 m6 S/ v
  243. ;   Instead you must use zlib.output_handler.. G- I+ T1 H/ H: J+ B# O1 B
  244. ; http://php.net/output-handler
    7 z% I6 X) O4 T4 x1 d' L
  245. ;output_handler =7 u# s2 x$ u. C4 q0 H
  246. # d0 B) q0 o) k$ ?/ N  o9 F4 `
  247. ; Transparent output compression using the zlib library+ s+ m, U! o1 J8 m8 V
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    9 Y6 v7 |7 ]% U5 B2 I- {
  249. ; to be used for compression (default is 4KB); ]; F' R; G6 {3 _
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP  D3 O3 q8 n# B1 R: D3 ]' n
  251. ;   outputs chunks that are few hundreds bytes each as a result of$ }' M0 Q# J, ^) |- |
  252. ;   compression. If you prefer a larger chunk size for better
    " p% d/ f) ]  E: i* u' E9 J  X6 O
  253. ;   performance, enable output_buffering in addition.
    $ R1 G3 i4 P. K$ }, m5 q% z
  254. ; Note: You need to use zlib.output_handler instead of the standard% }" I- T4 y; k0 ~9 ^& ~7 S
  255. ;   output_handler, or otherwise the output will be corrupted.
    4 n3 H1 Z+ S* r  x& J) l- \
  256. ; http://php.net/zlib.output-compression
    8 A6 g& _) z4 ?; s
  257. zlib.output_compression = Off
    2 r9 R. T4 X  R
  258. ( N  h9 q+ I+ X5 o; @+ m- b
  259. ; http://php.net/zlib.output-compression-level
    $ F4 c( \" c$ P) r
  260. ;zlib.output_compression_level = -1
    9 j% q8 |. V  v+ p" T: f
  261. 0 O3 e, G& N& ^% \
  262. ; You cannot specify additional output handlers if zlib.output_compression
    " U" j, M+ ^0 M# f6 T4 I6 X6 l
  263. ; is activated here. This setting does the same as output_handler but in& c; `, C* G2 X5 }
  264. ; a different order.
    $ B* H& u* w( H- \* _$ V) J/ ?
  265. ; http://php.net/zlib.output-handler
    ; }5 N! J+ U2 t! x
  266. ;zlib.output_handler =: Y/ r  F- A6 N& z: ^' q3 `

  267.   \' i8 T. H' a7 B
  268. ; Implicit flush tells PHP to tell the output layer to flush itself& I3 A4 r" E; Q( X  V
  269. ; automatically after every output block.  This is equivalent to calling the
    % G8 |5 N) w, t( s4 E7 M' I
  270. ; PHP function flush() after each and every call to print() or echo() and each# d, J8 f! t8 @+ L6 z- V
  271. ; and every HTML block.  Turning this option on has serious performance
    / g6 Z- Z/ m9 ?# Q
  272. ; implications and is generally recommended for debugging purposes only.
    5 @7 I. w) D* @: o6 Z5 ~5 z
  273. ; http://php.net/implicit-flush
    * s- B$ @9 X0 f+ L/ b& ~/ W
  274. ; Note: This directive is hardcoded to On for the CLI SAPI+ l& M2 C! `/ v
  275. implicit_flush = Off0 L0 U" E3 Q5 \+ @

  276. ) z6 A6 T0 V7 s1 j
  277. ; The unserialize callback function will be called (with the undefined class'; f& J, O4 M2 y' X6 e" ?& Y$ D
  278. ; name as parameter), if the unserializer finds an undefined class
    * n7 ~8 d8 u8 T4 Y# L5 Z0 ^
  279. ; which should be instantiated. A warning appears if the specified function is6 S4 Y/ I7 G/ l  v
  280. ; not defined, or if the function doesn't include/implement the missing class.
    : m7 i& r! W: H
  281. ; So only set this entry, if you really want to implement such a! ]8 @3 k: ]' V/ f0 K6 E! o
  282. ; callback-function.( r3 a( K0 w+ ^  E9 N. w
  283. unserialize_callback_func =% F; M+ X& k, p8 z9 }* D1 k1 I
  284. % D5 Y9 g! _8 f1 D% C% c
  285. ; When floats & doubles are serialized store serialize_precision significant! ?/ }4 R; K0 h- |0 \
  286. ; digits after the floating point. The default value ensures that when floats( O; t+ W: |2 V- }# Z
  287. ; are decoded with unserialize, the data will remain the same.8 g+ w, k: \% Y. X+ [$ ~& D- v
  288. serialize_precision = 17
    ( l; a( r& U5 Q1 K* ]

  289. $ s9 t+ r/ Z+ {
  290. ; open_basedir, if set, limits all file operations to the defined directory/ d7 X! d  Q5 i5 ]$ G
  291. ; and below.  This directive makes most sense if used in a per-directory" l) i5 \/ M1 P4 {1 l
  292. ; or per-virtualhost web server configuration file.  B) P7 b/ v( y
  293. ; http://php.net/open-basedir
    7 t; u; n2 L' [
  294. ;open_basedir =
    - {1 y6 X5 f: e! H6 C1 }

  295. 9 U2 w5 L: d0 h0 {
  296. ; This directive allows you to disable certain functions for security reasons.
    ) Y5 B  `7 O! N4 ~6 H5 O* t
  297. ; It receives a comma-delimited list of function names.
    : i& N) v# ?$ ~9 e$ n7 |9 b
  298. ; http://php.net/disable-functions& ^0 N: s; q. b
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru( q6 I9 H1 P0 c
  300. / u9 h+ R5 Q! D) g
  301. ; This directive allows you to disable certain classes for security reasons.
    + Y- p* o  X' b2 U
  302. ; It receives a comma-delimited list of class names.. k  O! o& g) D
  303. ; http://php.net/disable-classes1 S/ Q6 y7 w6 l( o. |/ }. {
  304. disable_classes =
    3 F0 y% U% q2 o. o* A5 y# x
  305. . `: X9 E, c2 W6 n0 z. f/ {: g
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ; m( c" _* T2 x8 |5 |2 q
  307. ; <span style="color: ???????"> would work.
    % o: z- _! D8 K& b
  308. ; http://php.net/syntax-highlighting
    ) F% z' a) w+ N6 @, I/ P9 l7 n# j
  309. ;highlight.string  = #DD0000
    ) Z0 k  u  u, r0 S
  310. ;highlight.comment = #FF9900
    1 J% E5 ~+ G; S
  311. ;highlight.keyword = #007700
    * ~& i. F; z( O" `
  312. ;highlight.default = #0000BB7 }- A7 B& }( r8 K  E
  313. ;highlight.html    = #000000' I; b2 K5 t$ p. n2 g
  314. 6 F  Q* [# c* r/ A; p
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    3 w& r! y9 ~" a4 z
  316. ; the request. Consider enabling it if executing long requests, which may end up+ }4 J1 I- u0 u: N3 y( c. N
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior: a7 `8 V  K/ u2 L# i6 X
  318. ; is to disable this feature.
    ( Z8 v' m% J1 g8 [( y! c
  319. ; http://php.net/ignore-user-abort
      g( E* w" @, c; i5 M8 Y
  320. ;ignore_user_abort = On
    8 u0 L  X8 u4 K, a7 a
  321. ; m. |, O% f$ r' n- ?" W
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
      P( {8 v3 Q, ^3 j
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    . i3 @" C* p2 I& H- c% }; }6 L
  324. ; the file operations performed.
    6 i' }* x9 H& ~' ?
  325. ; http://php.net/realpath-cache-size0 l4 k& D8 R8 U* k& V
  326. ;realpath_cache_size = 4096k
    1 q1 S5 k3 _. [* e# B' u. c

  327. + [' ~. A& \$ h3 ]
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    # A2 L# x+ D4 ?
  329. ; file or directory. For systems with rarely changing files, consider increasing this# H0 j+ `* v7 A5 J  d$ b+ |
  330. ; value.. \9 [0 j, R% w4 O5 y7 t' l  I
  331. ; http://php.net/realpath-cache-ttl1 _# g2 Q7 I1 q6 X, f- ^
  332. ;realpath_cache_ttl = 120
    ) i  w4 E9 P, ]! d' w& N

  333. 3 ?' ?6 E- w; Z1 I5 N7 u% d3 x
  334. ; Enables or disables the circular reference collector.- N3 R5 T9 s5 [
  335. ; http://php.net/zend.enable-gc
    ' k* x8 }  S% e% I* d
  336. zend.enable_gc = On
    & j8 ~; l2 n1 P7 d* v8 S, s
  337. 1 G2 D* [1 `' G- p9 W" ]
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    : i/ F: p  m- |5 ~% r; _. z
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ' }6 M7 T1 X4 O
  340. ; encodings.  To use this feature, mbstring extension must be enabled.0 H- {) N2 W4 H5 @0 J8 s9 G8 ^
  341. ; Default: Off) l4 h- q2 \0 U4 Z3 w
  342. ;zend.multibyte = Off+ |) h5 z$ C& |3 g' G
  343. 9 C- U4 N& M: Z, G2 m
  344. ; Allows to set the default encoding for the scripts.  This value will be used, q2 r! t# c4 X" T/ G& C
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.8 i1 G' g" t& n3 k& N" ]8 p, y
  346. ; Only affects if zend.multibyte is set.
    * P$ e$ K9 r* n. q7 s
  347. ; Default: ""& Z8 K5 Z7 z# p5 O
  348. ;zend.script_encoding =
    9 B- [3 F( w; F  g
  349. " U) y- N# S4 u' G1 i
  350. ;;;;;;;;;;;;;;;;;
    ' a5 U2 S, ^  ]. T" W8 k3 H& Y
  351. ; Miscellaneous ;
    ' Y) w$ u! g" S- E+ S. o7 a$ }
  352. ;;;;;;;;;;;;;;;;;8 t- y7 \- \- @4 z( Q
  353. 8 R9 L1 D" e7 d; l- a
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    6 R+ f) y, W# e
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    3 c. m( D. L! D8 y% M* h
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    , H4 V% C6 D' r  V3 t4 a' s
  357. ; on your server or not.
    + D% w9 A9 Y" O8 o7 D
  358. ; http://php.net/expose-php
    7 @, |7 l" p7 i$ _# E* H$ u$ w
  359. expose_php = On' M& E! y. O: F, Q& L6 f0 d* [
  360. 2 N6 x, q! {/ t1 ^
  361. ;;;;;;;;;;;;;;;;;;;
    ( j( C, c% Z0 |8 x. J7 Y
  362. ; Resource Limits ;, l9 x- H9 w) Q4 p- b
  363. ;;;;;;;;;;;;;;;;;;;) ?, y* L3 e' S4 i

  364. * d8 k, i1 W( E3 ]$ {# N8 ]. ~6 F
  365. ; Maximum execution time of each script, in seconds
    * S" M; F5 x! H& q0 C3 U
  366. ; http://php.net/max-execution-time2 H7 {+ ~1 T  ~# R& c
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI# S* y- `! p& C) `! A3 V0 P
  368. max_execution_time = 300
    / A' L9 ^1 C+ v4 {1 G

  369. / m( q( y4 Y( L( Z' L; ~
  370. ; Maximum amount of time each script may spend parsing request data. It's a good5 `; i2 y( r6 p6 H6 `" v! X
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly9 {" o/ y! p9 y9 z
  372. ; long running scripts.( m' r! B6 B/ a9 _  e  f3 g
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    " G# s8 k8 @+ W- o) k1 i
  374. ; Default Value: -1 (Unlimited)
    % W- c% a! [; N9 L) w
  375. ; Development Value: 60 (60 seconds)5 A7 A  q2 W" Z
  376. ; Production Value: 60 (60 seconds)
    ! B- q$ r/ m5 t* `+ |
  377. ; http://php.net/max-input-time1 U$ z3 |  @9 v  D* \
  378. max_input_time = 60
    - ?. ]! y* L$ M) {; {. A- z

  379. 2 i; h% ~0 d$ Y
  380. ; Maximum input variable nesting level+ W  U' c* c1 g7 j1 Y: D" X% U
  381. ; http://php.net/max-input-nesting-level
    7 I1 u% s+ ^( C1 M: h: ~0 h
  382. ;max_input_nesting_level = 64
    4 V1 Q. L. T8 `9 H- d% J8 c2 _! \

  383. % `9 E2 Y  \, q) n. {
  384. ; How many GET/POST/COOKIE input variables may be accepted
    1 q2 }4 p( p9 t
  385. ; max_input_vars = 1000
    ) `  B" z9 Z( p" q$ f
  386. : |2 ~6 s+ U4 r
  387. ; Maximum amount of memory a script may consume (128MB)
    6 Y' G8 n# Y, j* U9 c
  388. ; http://php.net/memory-limit) N$ m5 e7 S: J. K4 o! a. m
  389. memory_limit = 128M, e( u( ?# I$ {! \4 h7 j

  390. , Z: s' q( B1 k# z% g: s
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    * A! z9 K: P# c/ q' {$ v, m: a: M
  392. ; Error handling and logging ;7 W. Y7 `' N! q# h- q
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 I, g( x) V9 h! T# n% e
  394. 5 k# V% `0 i* L
  395. ; This directive informs PHP of which errors, warnings and notices you would like* g: f1 x; D6 ~7 J5 G0 x' R
  396. ; it to take action for. The recommended way of setting values for this
    ) o& V: n) G( P6 H! |
  397. ; directive is through the use of the error level constants and bitwise
    ! t+ Z" e* ~( f
  398. ; operators. The error level constants are below here for convenience as well as
    ( ~+ E1 P5 y: C. \. R
  399. ; some common settings and their meanings.
      S# t* p& Z7 Z0 E; E" E/ b
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT/ A5 g% l  A- s6 g, d
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    5 T6 y" m5 D5 L, Q) a! E
  402. ; recommended coding standards in PHP. For performance reasons, this is the9 x9 |2 a2 J0 W5 y7 G8 x* Z, u
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    6 E: M2 K5 K* v8 ^# r% ~: g
  404. ; resources complaining about best practices and coding standards. That's what- N) `; R8 q$ q$ ~6 @5 ?- \/ O
  405. ; development servers and development settings are for.
    8 v8 R3 G6 A# n0 G
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    : S: Y! M# R6 i& w$ w
  407. ; means it pretty much reports everything which is exactly what you want during$ m# T: F8 R% ^" C) K
  408. ; development and early testing.
    : @0 E& X3 D2 a- A/ a$ V- q1 o
  409. ;( f' @# b; s' n7 i/ G; d+ Z
  410. ; Error Level Constants:* [, H# ^+ e; G) _( k7 t
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    + E6 A, @* K' P
  412. ; E_ERROR           - fatal run-time errors3 U6 N3 v! {7 K* y! {0 M' N
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ; H* f" q6 b! C% W  j. a) A" k3 Z
  414. ; E_WARNING         - run-time warnings (non-fatal errors)9 z+ `* [9 U; O$ e. Q! P2 F+ d
  415. ; E_PARSE           - compile-time parse errors
    # U7 `& S) m. Y1 Z% `. Y
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ! s) |& R; n$ ]( P
  417. ;                     from a bug in your code, but it's possible that it was  w5 |- N1 h6 Z1 r6 c. ?1 T" K
  418. ;                     intentional (e.g., using an uninitialized variable and0 F8 Q7 u' u; H6 k# o* D
  419. ;                     relying on the fact it is automatically initialized to an# N6 `7 [" a! C# j( {1 X) L
  420. ;                     empty string)- x' g2 ^$ X/ l. w" Y/ M
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ) e: Z3 b+ D  \1 l$ D& N% d
  422. ;                     to your code which will ensure the best interoperability
    5 {) v" h  ^" M7 V" H0 B0 ]9 H+ \3 R
  423. ;                     and forward compatibility of your code1 [7 [+ R; i- M( R. N7 `
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    2 @( v6 U, A+ q1 \5 |9 t
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's* @! y( X( i; {
  426. ;                     initial startup  K0 ^; I. r+ t$ N, {
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    , l- j* s4 W0 C! C- K0 r* H
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)2 B% }& S3 d; {8 T( K
  429. ; E_USER_ERROR      - user-generated error message
    0 ]! B) R% b0 _; F/ P
  430. ; E_USER_WARNING    - user-generated warning message# j5 m) ?- w2 y
  431. ; E_USER_NOTICE     - user-generated notice message6 t( z# ?! C4 l3 s( t- B
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    / W' Y* S* z( s8 ]( I9 t
  433. ;                     of PHP) g2 Q9 d: r4 U0 [
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    - b8 {9 F& Q+ o# ]! l0 V
  435. ;
    2 S7 l& ?6 ~) A4 n/ F/ D- d
  436. ; Common Values:
    4 n# k8 M0 o4 Q& v$ t' ]
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    / r7 ^( x& x7 l. y9 T
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)7 A, n$ W6 a' Q! I' a
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)( z' f! V9 Q; J- N
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    9 e! g- y* k% Z  Z, y  y
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 [& ^' A& m& w4 a
  442. ; Development Value: E_ALL
    4 f& \4 ]! z  C' x- r( C: v
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 \/ t/ R' k! o: G, e, l$ x
  444. ; http://php.net/error-reporting7 F2 T+ N- ?0 \' Z9 j
  445. error_reporting = E_ALL & ~E_NOTICE
    9 Y8 u' O' ~  {* X2 L8 E, b5 X

  446. 4 h; |! i. C! T
  447. ; This directive controls whether or not and where PHP will output errors,5 o8 x' f4 r9 V- A/ e
  448. ; notices and warnings too. Error output is very useful during development, but
    ' [3 s6 V0 @" c0 Q# F
  449. ; it could be very dangerous in production environments. Depending on the code
    4 R9 V# ?6 ]0 H1 M2 O+ B' S: z& Z/ ?' L
  450. ; which is triggering the error, sensitive information could potentially leak
    6 R; G" J1 F1 p4 t# t$ L
  451. ; out of your application such as database usernames and passwords or worse.; Z' {% R* _+ J6 f1 q) V- O
  452. ; For production environments, we recommend logging errors rather than3 R; i3 P% D' P/ z  |) k% {: E
  453. ; sending them to STDOUT.  Q  T& C3 ?* l/ e5 ~
  454. ; Possible Values:0 R/ n2 b* L* F
  455. ;   Off = Do not display any errors; v, w7 R- _2 }7 R$ P9 m. p
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)! \6 m( A/ U0 x7 K: }) m8 p
  457. ;   On or stdout = Display errors to STDOUT
    7 t9 m" i$ d1 t2 w8 L
  458. ; Default Value: On
    / z1 A) r) x* ?: l4 w
  459. ; Development Value: On
    ) f, F. i& K1 T8 u
  460. ; Production Value: Off0 E1 I; |4 `- t' F3 f# C8 `4 ~0 z
  461. ; http://php.net/display-errors! e# H/ ?; A: P' n- A8 U
  462. display_errors = On
      F7 x/ n" e7 E: @; g6 k" D! f

  463. 6 ~. Y5 G* S  J) Y& l! Y$ H
  464. ; The display of errors which occur during PHP's startup sequence are handled
    6 `" l9 R# G+ o2 R( U$ b& O6 |
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    $ i) O/ E* K# G; r& m# J
  466. ; errors from clients. Turning the display of startup errors on can be useful in; I: A& L* M, F2 ~' {- D6 z5 P' P
  467. ; debugging configuration problems. We strongly recommend you
    ' Q& {" c: u" A5 v4 W
  468. ; set this to 'off' for production servers.& |/ {. Y* p, A* e2 v6 [& S
  469. ; Default Value: Off
    ( A  v7 o" |4 ^2 j7 ^
  470. ; Development Value: On8 m0 w- \( u7 D: r+ Q7 F
  471. ; Production Value: Off0 S4 [. c# ?. d' k+ x$ H
  472. ; http://php.net/display-startup-errors6 l4 V- u2 m9 ]& U& n
  473. display_startup_errors = Off7 @9 T  }3 c7 C, C" n
  474. ' E" j/ Y% D8 b' K% m) c5 y0 r
  475. ; Besides displaying errors, PHP can also log errors to locations such as a, Q1 x, t+ b* x( n3 M  B( T
  476. ; server-specific log, STDERR, or a location specified by the error_log' f# m# _) c" B3 w) ], E, E
  477. ; directive found below. While errors should not be displayed on productions' L9 E, t( n) N1 |; F8 ~
  478. ; servers they should still be monitored and logging is a great way to do that.' W2 G! S. t8 D% x
  479. ; Default Value: Off( J, {% K: {/ X/ X; L" U+ u2 S' ~
  480. ; Development Value: On4 h5 U: r$ d! b2 q
  481. ; Production Value: On% o; W# R0 q& f/ }
  482. ; http://php.net/log-errors  R' A$ q$ Z( d) S0 t; D
  483. log_errors = On
    , `7 K7 v7 m1 m

  484. . ?" y* F8 y2 Z! K, o
  485. ; Set maximum length of log_errors. In error_log information about the source is
    , ?) S; L  E% L$ Q+ @8 b! p/ y
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.  k0 y  l% a0 B8 v
  487. ; http://php.net/log-errors-max-len
    6 {* P3 s: T' i, F+ \$ s
  488. log_errors_max_len = 1024. `3 O* q' n; F6 k  _

  489. / B  N8 q$ m! E2 G% T8 k
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ; g! V; Z2 r  g) S" v: s# m
  491. ; line unless ignore_repeated_source is set true.
    - k3 S  f2 t! P4 U; M8 I& q' t4 _
  492. ; http://php.net/ignore-repeated-errors( G4 s4 y6 ?0 k& B
  493. ignore_repeated_errors = Off
    ) E- Q; q$ Y! m& S' T2 d! K' q
  494. & ?( v" P. H" U, ?) J  `. T
  495. ; Ignore source of message when ignoring repeated messages. When this setting& l+ G& j# s, t& w
  496. ; is On you will not log errors with repeated messages from different files or
    ( f1 X' l8 G+ b: L' `
  497. ; source lines.1 O5 r" M, R0 t5 h
  498. ; http://php.net/ignore-repeated-source
    % ]! [. q! H7 m9 L( x
  499. ignore_repeated_source = Off
    ( y' A: y+ E/ {- o- U/ u
  500. 2 S# x2 ^8 P8 G8 o) g. ]
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on$ h& A4 ?0 x: B, S
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ! V% I9 k" ]! ~+ M7 \! S/ F& g
  503. ; error reporting includes E_WARNING in the allowed list% ~$ b$ m# v' f8 [" D) X
  504. ; http://php.net/report-memleaks
    2 P9 b/ h; I9 _+ C6 T$ y# A6 U
  505. report_memleaks = On
    $ ?$ |; d# w6 C" P6 ~
  506. . {) a# Q0 r8 n
  507. ; This setting is on by default.) M8 p. s- r- R0 \" X  X* W
  508. ;report_zend_debug = 05 b8 x1 t: Q; d$ y' c' T% _" N/ n

  509. 5 y8 \) |$ R' q6 H* E7 x' s  [9 v6 v
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value' M  K, O2 U! U# h  u  J1 p2 j
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    ) H) e( D: X/ [3 T
  512. ; however be disabled on production servers.
    7 m. u6 z5 @# y/ C
  513. ; Default Value: Off1 S% H! k% O; b! ^$ m- f1 t
  514. ; Development Value: On
    * W2 [0 Y" l0 a' }8 l) Q0 V/ `
  515. ; Production Value: Off
    9 @9 F9 Z9 h8 q  N/ _
  516. ; http://php.net/track-errors* j  B1 t; i* j% ?' N& M  w
  517. track_errors = Off
    9 G) u& W# H0 R% Y2 b" {
  518. 0 U0 s: A4 M2 g
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ' L$ a% `! @7 u3 d: x
  520. ; http://php.net/xmlrpc-errors: `- T, ?1 E7 r, ~* D
  521. ;xmlrpc_errors = 01 I7 \% h1 P( c- a* N# G

  522. + x- D. s! Z# Z* U
  523. ; An XML-RPC faultCode7 r% h( A3 [& M
  524. ;xmlrpc_error_number = 0
    7 E- K1 a8 m3 l8 f/ J: Y

  525. $ s7 J0 o2 ?- E4 ~. D$ ~1 d
  526. ; When PHP displays or logs an error, it has the capability of formatting the4 r5 w" p0 I/ Z  @  U
  527. ; error message as HTML for easier reading. This directive controls whether
    6 d8 ]; Z' O; M0 R% y
  528. ; the error message is formatted as HTML or not.
    & w$ [# i: C& ~5 S  V$ T; o
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ) K: b: X! d% N* s# ?
  530. ; Default Value: On
      w9 v3 z$ n7 X4 G, ~4 Z2 N
  531. ; Development Value: On
    & T  {2 @3 Q, U0 ~8 n- t% O4 x+ V
  532. ; Production value: On4 j8 K# |0 i1 y7 q
  533. ; http://php.net/html-errors
    4 h+ v7 |2 A# D0 h% v
  534. html_errors = On0 Y. m7 V" V) h+ O* W- R) y; j0 q

  535. : z. {7 @1 X( q; e
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP2 ~* D: T4 f; |6 C& p; ]
  537. ; produces clickable error messages that direct to a page describing the error
    - `6 ~8 {1 d" @6 F3 j, [+ `
  538. ; or function causing the error in detail.9 O2 D8 G. O$ T  Z% A
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    8 T" A6 |  v- U8 c- v9 j# d
  540. ; and change docref_root to the base URL of your local copy including the" T( p# W) R% ~# n8 h) u" F
  541. ; leading '/'. You must also specify the file extension being used including
    : |& r3 c3 T: l2 e: A' L: X, i; b/ D
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    : B7 G7 V# e" ^2 n  y
  543. ; case no links to documentation are generated.+ `9 K4 q$ L/ V; x
  544. ; Note: Never use this feature for production boxes.
    % |$ C# c9 X$ }! F' H% ]& ?
  545. ; http://php.net/docref-root! q- I4 y) P$ f$ f) {
  546. ; Examples8 {! N) _* r2 }& n: s9 M; P# j5 r
  547. ;docref_root = "/phpmanual/"0 _+ I: s0 A" R# r
  548. * P1 t! C3 u  L/ f
  549. ; http://php.net/docref-ext& ~) |/ a9 P+ Q( F- S
  550. ;docref_ext = .html+ C: g1 P5 f8 W2 W

  551. 4 R3 l& x0 G2 s, `' Z" \% v
  552. ; String to output before an error message. PHP's default behavior is to leave
    / |0 B9 _- V+ M  I7 m8 U7 A) `* E/ [
  553. ; this setting blank.
    * |2 U" `% s+ n/ |# e9 v8 Y
  554. ; http://php.net/error-prepend-string/ c' ?! h- A0 k
  555. ; Example:9 c$ ?& r; R5 S% `* G
  556. ;error_prepend_string = "<span style='color: #ff0000'>"% o7 k+ I  }5 m

  557. ) s  p( Q- H, F7 ]: q  d
  558. ; String to output after an error message. PHP's default behavior is to leave$ @+ T4 k7 C# J
  559. ; this setting blank.2 T$ e9 n% j7 e' X* N0 B( o
  560. ; http://php.net/error-append-string# h3 T' b' ]( j
  561. ; Example:
    . Q7 J  c5 b; h
  562. ;error_append_string = "</span>"
    4 t2 @0 o3 y  V. \

  563. ' D, u4 Z* I, Z
  564. ; Log errors to specified file. PHP's default behavior is to leave this value" C& S) t* y' d1 i1 G$ u
  565. ; empty.
    8 J2 O6 A. @0 a+ i, e
  566. ; http://php.net/error-log
    2 J6 D8 ^$ `, b8 ^+ j! x
  567. ; Example:
    / j, b* |* S) {
  568. ;error_log = php_errors.log9 Y% j. ^' `# H4 w: B+ l3 I
  569. ; Log errors to syslog (Event Log on Windows).: v# b7 K  m- n) _
  570. ;error_log = syslog1 I+ G/ c8 m/ ]: }5 R
  571. 7 L6 _$ {( J/ P. ]* m: E9 l
  572. ;windows.show_crt_warning$ b3 N! X, K" ~$ H# f. B
  573. ; Default value: 0
    : Z$ K9 c# b% V0 s- I$ y% ~
  574. ; Development value: 02 c  Z4 [7 t+ Y3 J0 S& W; Y: d1 n( }
  575. ; Production value: 0
    . }2 f% I2 \. N! p2 O" I) _' @
  576. ! C# T) f5 J0 }' h8 p
  577. ;;;;;;;;;;;;;;;;;4 x# U' W. O2 ^5 ?9 K/ l3 Z6 V
  578. ; Data Handling ;: b4 W9 ?4 x' U) @3 m
  579. ;;;;;;;;;;;;;;;;;
    " w/ i+ r( T; T" }+ }9 F7 `4 Q
  580. 7 E. {, }0 r  T
  581. ; The separator used in PHP generated URLs to separate arguments.
    ; Z/ `2 D1 g; d' ~5 F- M; }
  582. ; PHP's default setting is "&".
    4 V9 ?/ V. X  i% T0 {4 l
  583. ; http://php.net/arg-separator.output9 x$ L6 M  x3 x  P- R  ]0 [! T) r
  584. ; Example:
    % w2 W# z3 t- D! _; i
  585. ;arg_separator.output = "&". |- e! q( S$ c1 x4 t0 R/ a
  586. ' }- c  P6 ]0 ^0 L: G4 C/ F) J
  587. ; List of separator(s) used by PHP to parse input URLs into variables.) h  W/ N: w: O# z9 C6 L
  588. ; PHP's default setting is "&".) B9 [7 S) `( [' P4 a8 f+ S
  589. ; NOTE: Every character in this directive is considered as separator!9 _, ]9 @. Y% u1 b+ h
  590. ; http://php.net/arg-separator.input+ ^6 Y9 l$ o& t. I- _+ R* q
  591. ; Example:
    + j7 _( g; M1 z- }, ~
  592. ;arg_separator.input = ";&"
    1 [5 G( y: J: m9 }

  593. 0 \+ C( O2 m7 z4 g- }
  594. ; This directive determines which super global arrays are registered when PHP; T, R6 a2 ]8 @4 s- L# Z1 l
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super4 h5 s" S% d$ J% ?/ ^4 f$ u  w  P
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty6 i7 }7 u' P* x6 ~/ w4 g- b" W
  597. ; paid for the registration of these arrays and because ENV is not as commonly) `  E  H- _. }
  598. ; used as the others, ENV is not recommended on productions servers. You
    / A- ~- t+ p/ _4 |
  599. ; can still get access to the environment variables through getenv() should you8 p0 k4 i& b+ {0 d4 p
  600. ; need to.: A9 T( h: V, E5 r
  601. ; Default Value: "EGPCS"
    ! t. A0 G  w0 h
  602. ; Development Value: "GPCS"
    - F' l3 p, w$ T7 h4 s
  603. ; Production Value: "GPCS";3 l" v( X% a( d( |% Y
  604. ; http://php.net/variables-order
    - Q# V  Q: b/ C) N
  605. variables_order = "GPCS"
    5 l0 I$ a! u1 o( x
  606. 4 B  U5 w8 j5 M9 _0 ]+ L. A, F4 N
  607. ; This directive determines which super global data (G,P & C) should be
    & R9 j5 C! O2 [+ D
  608. ; registered into the super global array REQUEST. If so, it also determines
    + G# L# D8 x( B0 e. k
  609. ; the order in which that data is registered. The values for this directive1 w" g( I* }$ o% _
  610. ; are specified in the same manner as the variables_order directive,
    % X; T  k" B' B: I. C) D+ k/ A
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set( {! n# \! f) f
  612. ; in the variables_order directive. It does not mean it will leave the super! t: y2 R0 U7 Z  Y# x! C8 g: v* j
  613. ; globals array REQUEST empty.
    ( S7 H! c2 m7 c5 Q' P9 ?
  614. ; Default Value: None9 b" ?, D& p* |6 R8 f
  615. ; Development Value: "GP"
    5 u* v5 w8 y0 i- A' {% H
  616. ; Production Value: "GP"
    5 g6 W1 w" z/ [8 @1 o+ k5 C- @
  617. ; http://php.net/request-order8 J! f4 [; `* h
  618. request_order = "GP"' r7 X! `" `" g- s! C

  619. 1 W/ V8 s5 Z1 Q! m$ O9 l4 W) U
  620. ; This directive determines whether PHP registers $argv & $argc each time it; i0 G5 ]3 g+ M' n- ^
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    3 C+ f  ?+ L" m/ `' p
  622. ; is invoked. $argc contains an integer representing the number of arguments6 ~6 B6 h+ ?* v, J
  623. ; that were passed when the script was invoked. These arrays are extremely. M5 D; o( R; @; v3 ^
  624. ; useful when running scripts from the command line. When this directive is; U* x6 `' l. T& u9 U& |, Y, e; r
  625. ; enabled, registering these variables consumes CPU cycles and memory each time8 R, X- W/ u  F* c! ~- V0 `6 \
  626. ; a script is executed. For performance reasons, this feature should be disabled
    * G' A  L% N! F. t2 ]
  627. ; on production servers.; \. Z' |3 \3 J. w" S! s" H
  628. ; Note: This directive is hardcoded to On for the CLI SAPI  P; T2 B  B4 k" w. e7 z; v
  629. ; Default Value: On
    9 z" s4 L3 V5 w
  630. ; Development Value: Off
    5 n2 I$ ]4 X: t8 c
  631. ; Production Value: Off
    , E6 i# j4 ]# u
  632. ; http://php.net/register-argc-argv4 q- S9 t& T) J: q4 X/ L! [1 ~. X
  633. register_argc_argv = Off! Z- B; o+ p2 \1 U$ c
  634. 5 I, q$ O- ?5 v! I4 A
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    9 m* ?5 M" A: L9 x5 t, x1 A
  636. ; first used (Just In Time) instead of when the script starts. If these
    % x. E# v* ]3 `& g! K- U
  637. ; variables are not used within a script, having this directive on will result+ s% k, I, j4 p7 u, {. y0 `
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled# [) F, A" C; y/ f2 q  K# P( n" P: l
  639. ; for this directive to have any affect.
    5 q4 n, B( y7 l3 ~6 {
  640. ; http://php.net/auto-globals-jit
    " Y5 l7 @$ N; ^/ _' Z5 P$ z" L
  641. auto_globals_jit = On. k& _( ^4 U  k1 [  V

  642. % d( @+ @2 p- z5 w
  643. ; Whether PHP will read the POST data.% b, Z+ j5 [; |7 @2 r
  644. ; This option is enabled by default.9 m. U3 X% j: W! W* R0 w* S
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST" W$ o# z) _2 r+ E
  646. ; and $_FILES to always be empty; the only way you will be able to read the- b+ }0 Z/ m; O
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    8 x0 D% V( U# G! k4 B, }3 p* X. H
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.0 }9 r7 G# P' ~$ p4 p( m  P) j1 K4 Z
  649. ; http://php.net/enable-post-data-reading
    9 Y/ E/ J: ?3 @4 G' `5 Z* W* R& ?9 O
  650. ;enable_post_data_reading = Off
    0 ~4 u4 u) _! k  |

  651. 1 C- Y, T( ~( K/ N$ q! J7 k
  652. ; Maximum size of POST data that PHP will accept.4 Z+ X& r' Y) _* N
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading! G$ |6 _, f  y* J- Z: t
  654. ; is disabled through enable_post_data_reading.  d" q" e. k6 b% q& _( ^
  655. ; http://php.net/post-max-size! d+ h# }) W1 ~" ?( D
  656. post_max_size = 50M
    ; {4 M/ o, i- W7 Y
  657. + W1 c) K! L7 Q: C6 J- G
  658. ; Automatically add files before PHP document.: C$ {8 H- T2 o1 e0 S, f
  659. ; http://php.net/auto-prepend-file, E  b; c" a# @; k' {# N
  660. auto_prepend_file =+ |/ }6 Q$ _. r0 C/ G3 ]

  661. ' K. Q  s4 P! d/ x  i5 o; e
  662. ; Automatically add files after PHP document.
    5 r# Z1 x' B) U# ]" ]3 u
  663. ; http://php.net/auto-append-file# R# D$ t/ t* N( Z
  664. auto_append_file =
    6 [% Z; [6 M1 u" |2 w- D

  665. ( [" x0 ], F8 S% F
  666. ; By default, PHP will output a media type using the Content-Type header. To
    / @/ Q0 C0 j& h, A
  667. ; disable this, simply set it to be empty.! R& t. l# H" q: u9 p
  668. ;0 I! g9 m4 N  V  R7 ?
  669. ; PHP's built-in default media type is set to text/html.$ f3 S3 X% k2 b" b5 K9 G" Q/ A
  670. ; http://php.net/default-mimetype
    1 f' ~& ~" m% s, l  y% X% y; M* G
  671. default_mimetype = "text/html"$ ]9 j3 _( ^3 |" O
  672. 3 F/ H4 P8 m; W5 Y3 E
  673. ; PHP's default character set is set to UTF-8.. Q' }7 i3 c, f/ E! r. U. I
  674. ; http://php.net/default-charset0 r8 D. ~) q7 Z$ b5 r
  675. default_charset = "UTF-8"
    9 I2 }3 `* v( @0 }0 ~6 a$ [

  676.   ^# |$ P- s" l" l" y
  677. ; PHP internal character encoding is set to empty.
    , E. W' ^% c1 c7 B8 j) z
  678. ; If empty, default_charset is used.( g, |: R) y" e7 z
  679. ; http://php.net/internal-encoding. {" Z: I2 ]5 L: ]8 U% b
  680. ;internal_encoding =
    ! a9 S  o' Y/ E' [
  681. ! b! u: L5 M& d; }! w+ U/ _4 E
  682. ; PHP input character encoding is set to empty.9 F8 `) q: ^! ?! V- u: p7 W) C
  683. ; If empty, default_charset is used.& q* X7 B/ A' O5 A$ z8 \0 U' Q& w
  684. ; http://php.net/input-encoding
    7 a4 u$ U2 e6 b4 w( w* w7 _
  685. ;input_encoding =3 j% j. z# B8 [$ C' a  g
  686. 6 b- s% ~, ?& Q; n+ E8 G
  687. ; PHP output character encoding is set to empty.
    " u; g+ A; T- P! s1 Y
  688. ; If empty, default_charset is used.
    + u* c+ q9 f, o  r6 q6 |
  689. ; See also output_buffer.
    * `) y% C9 I1 f6 }: O
  690. ; http://php.net/output-encoding
    5 B! y7 f* U3 p& a/ p
  691. ;output_encoding =  v$ f* l8 U9 q+ R7 z+ A
  692. ' a0 {& E$ V$ x! p+ E6 M
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ) u' t6 m& C7 j4 z3 T
  694. ; Paths and Directories ;
    3 n/ I7 G+ |) M: t
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    . ~0 w( H$ i, k# `/ _. W, }1 S7 L9 p

  696. 5 i9 i2 T3 l* X' r; A4 O
  697. ; UNIX: "/path1:/path2"
    8 x$ F1 c' `- R5 G
  698. ;include_path = ".:/php/includes"0 @* C9 T9 L4 L% ?  T  V& w2 x" ?1 A
  699. ;) B& i: y* `" m; `
  700. ; Windows: "\path1;\path2"% Z- O- ~: A" ?* V+ a- e
  701. ;include_path = ".;c:\php\includes"
      K- \7 K& p4 r- x
  702. ;& c% t* r( f- q% L* S: `
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"; H1 i; N0 m+ l8 i& x3 K
  704. ; http://php.net/include-path$ s3 R1 _0 T. V; g) r2 f9 C

  705. # W+ m' R1 _( m: D" }" T
  706. ; The root of the PHP pages, used only if nonempty.+ g' Y0 a3 k7 |( [" r0 @
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root$ e8 ^$ u6 l3 J9 ?& M3 n1 [
  708. ; if you are running php as a CGI under any web server (other than IIS)2 H6 u! k' M% C- i, l8 u
  709. ; see documentation for security issues.  The alternate is to use the
    7 F# R8 ?7 Q% S7 V; R
  710. ; cgi.force_redirect configuration below
    + a: l' Z% t% M* J/ D
  711. ; http://php.net/doc-root
    7 T7 L3 `4 Z# b8 b! I
  712. doc_root =; |  A2 t. `! [8 D

  713. 7 K* i5 {: u& {
  714. ; The directory under which PHP opens the script using /~username used only
    % y2 b/ e; V, Q, Y4 h1 ~% l
  715. ; if nonempty.% G) y9 V) K* J3 ]% b
  716. ; http://php.net/user-dir
    ( G) b& m. m+ Z' [
  717. user_dir =
    6 i0 o0 e& B5 E3 C; j4 u" a( @* ?
  718. 4 ^$ W0 P: h2 l2 U
  719. ; Directory in which the loadable extensions (modules) reside.
    ! u( W) d+ e& c" J. m
  720. ; http://php.net/extension-dir
    - N0 {6 _/ N* @
  721. ; extension_dir = "./"
    ! Z* v0 q" S' n
  722. ; On windows:7 j; C- ?$ c: F1 R" F) E4 t2 `0 k
  723. ; extension_dir = "ext"
    : y0 {: Y3 x1 G4 ]5 S# x: v" M# J- l
  724. ! I$ O) |# b/ q5 ]
  725. ; Directory where the temporary files should be placed.
    : l, ^0 M2 e& ]2 d( `
  726. ; Defaults to the system default (see sys_get_temp_dir)3 c# l$ w" n! G$ V% q0 D
  727. ; sys_temp_dir = "/tmp": s% U# x/ O0 I7 p4 }! J" f
  728. 4 D( P6 V  F8 S  g$ p
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ! b& P& `+ J; v( p/ n3 H
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    / ]. N) G. d' l8 g& g% \8 o
  731. ; disabled on them.( h4 p% W) D! Q- O0 H: ^" Y/ g
  732. ; http://php.net/enable-dl
    ; N' g6 T( ^- v
  733. enable_dl = Off3 a' a: W8 C7 j$ e6 F
  734. : ~8 L3 R3 f$ R) I9 b
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    - j# P3 t9 l5 q  @' e8 _
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can6 ?9 H( l2 c! Y: c" W2 \" G
  737. ; turn it off here AT YOUR OWN RISK/ n- R$ q1 t# o& q
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**- u3 ]. ^5 B+ M, B" |
  739. ; http://php.net/cgi.force-redirect* v9 d( w. ]% Q; r  V" ~4 e* G# P
  740. ;cgi.force_redirect = 1
    5 t( Q3 W- u% o" l

  741. 1 n, H9 i5 ]6 c$ E" @7 I
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with! v, e  T/ O0 n- a0 A
  743. ; every request. PHP's default behavior is to disable this feature.* H' s# W! A. U5 }# ?6 U
  744. ;cgi.nph = 1+ {9 g( P  b0 L
  745. ' R# w  ~- e: J, Z
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    " [& f. ?5 E7 @9 _/ r6 M
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    / w+ S( b5 w% Y2 I* r8 x9 `0 W
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY7 F; Y) }2 B. Y0 P
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    5 J8 v& g1 {/ H1 L
  750. ; http://php.net/cgi.redirect-status-env) h; G3 s$ v4 _
  751. ;cgi.redirect_status_env =
    , q' |! ^+ V; r. z
  752. + q. M" R2 N6 A1 G$ }
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's- J. k0 f- \! Z3 d
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok0 @0 ?# m% w( D6 F
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    / U9 L  t6 D) @( y
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting2 j# y7 F5 t1 ]1 J! Y' y
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts, H* Z$ Y6 ^5 g- P# v
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
      `2 B) r* o. l9 ^# U! t4 m5 c
  759. ; http://php.net/cgi.fix-pathinfo
    / P* N7 R2 k4 q# V2 O
  760. cgi.fix_pathinfo=1
    * o( A( w: e" s! n* L' U
  761. 7 k" M7 U) |. N# V+ X8 M3 u% x6 w
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside  L' F+ n  D- H/ {1 u* k2 `2 B( r
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ; T. r8 }7 f1 o  K0 l
  764. ; http://php.net/cgi.dicard-path0 w2 c2 a$ B& ?7 l# ]
  765. ;cgi.discard_path=1
    8 K& V3 m, s: N' J- t" K) O

  766. + v6 h/ m! z9 w" ~: N+ g
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    / p" s2 |1 c7 P6 v1 }6 \+ C
  768. ; security tokens of the calling client.  This allows IIS to define the2 [+ s4 H* b  A5 \/ w
  769. ; security context that the request runs under.  mod_fastcgi under Apache# \( F* v1 V* u) w
  770. ; does not currently support this feature (03/17/2002)
    ! r4 q" h% J' x* C9 C4 h0 z) w
  771. ; Set to 1 if running under IIS.  Default is zero.
    8 D4 Z3 h; N3 {3 ?
  772. ; http://php.net/fastcgi.impersonate
    4 X% B: w  [6 l" t5 s2 G0 K1 a2 z
  773. ;fastcgi.impersonate = 1
    ' E  q5 C( |% ~9 Q1 |( U8 k8 {

  774. / w) ~( t" R! l3 i7 a/ D; G. w
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable! X0 K  n0 a( X7 H8 v# x2 b
  776. ; this feature.1 [; \8 J/ |7 Z* r, ~  @1 d
  777. ;fastcgi.logging = 0
    9 V  ~5 H; z+ u( T# y( s
  778. 6 p# i) M$ n) m$ r. X& c
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to2 B. F4 q5 S& [) Y+ b5 ]0 d! G
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    8 A9 t: b+ `! Z6 p1 j) _3 P* o; B
  781. ; is supported by Apache. When this option is set to 1, PHP will send8 E& P7 @% K( |& M
  782. ; RFC2616 compliant header.
    , E, K0 g" D- G2 b: {# `
  783. ; Default is zero.
    4 q* y4 B4 Y! |& [7 W7 h
  784. ; http://php.net/cgi.rfc2616-headers" B8 L9 b/ M/ I! a* L8 W, J
  785. ;cgi.rfc2616_headers = 0+ Q3 |7 K- w3 C; }! \

  786. 4 j2 \& ?7 Z/ ]" t% r- ~
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    - s4 Y) g; [. V: i
  788. ; (shebang) at the top of the running script. This line might be needed if the9 U9 o9 l% L- x+ T+ T
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    0 I0 l: a6 _0 y5 c
  790. ; mode skips this line and ignores its content if this directive is turned on.
    * r+ }$ @8 A: V' f  E
  791. ; http://php.net/cgi.check-shebang-line
    - ?& P- U& k9 L% ^' R  U6 F! Q. `; R
  792. ;cgi.check_shebang_line=16 Q6 w  f( E1 m0 E& A8 g5 G

  793. : c2 a2 n1 I9 e9 U! l
  794. ;;;;;;;;;;;;;;;;0 O4 w* `6 }7 c6 q
  795. ; File Uploads ;
    & _5 Q' O4 s2 o5 Q' L
  796. ;;;;;;;;;;;;;;;;
    ( @( W" [6 d1 H) u: M

  797. 7 x# D4 V- M$ B5 l9 @) q9 F5 }' g
  798. ; Whether to allow HTTP file uploads.
    8 o. p# T7 J) T- J4 A' d( S
  799. ; http://php.net/file-uploads  r: U  q# Y8 {+ p2 A  O
  800. file_uploads = On4 y3 G( o6 f  [  Y1 I6 [
  801. 4 |% j+ `2 u1 x# v. Y- R( J4 f% g
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    & ^7 v0 K2 K& I" P+ S# _- M5 P
  803. ; specified).
    7 s. I& [& G* t4 G, \: k) r. u, g
  804. ; http://php.net/upload-tmp-dir
    1 b$ n/ G  s& t8 y; t5 o
  805. ;upload_tmp_dir =
    0 t- _( p# }$ N* J; f
  806. * y+ d& C, u$ U4 Q6 A: c8 b
  807. ; Maximum allowed size for uploaded files.5 Y; I, q4 r* n' a: q
  808. ; http://php.net/upload-max-filesize
    - E8 U5 [1 ]( [3 N- Q+ n
  809. upload_max_filesize = 50M
    * U$ }# X( g/ `6 v
  810. 6 X8 f# z9 M# c. `
  811. ; Maximum number of files that can be uploaded via a single request3 ?- s9 M4 m$ d0 c
  812. max_file_uploads = 20
    ; ]/ Z+ Y2 f' X* j4 T9 A/ {* j0 G9 \

  813. % s) _3 u# |* C2 ~, V$ L
  814. ;;;;;;;;;;;;;;;;;;
    2 t5 D: H7 D9 {7 R* _, ]6 U# v
  815. ; Fopen wrappers ;5 V! w7 Q: J- f, D5 B* H
  816. ;;;;;;;;;;;;;;;;;;
    % n5 N) Q2 F5 @5 X" E
  817. 4 H& i9 n2 I& K% p: z! w* Z: X3 m
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ; s7 g- ]5 K  r+ F" {
  819. ; http://php.net/allow-url-fopen1 V  h" O2 c& B% X$ J
  820. allow_url_fopen = On
    $ {( k- d4 E9 m+ s$ H5 J
  821. & ^3 K) f! D9 n
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files./ ?! G+ c- S0 I! A0 p0 q! K# Z( y
  823. ; http://php.net/allow-url-include/ D6 l+ t: d0 m( F
  824. allow_url_include = Off
    - q8 l! ]' h8 D, R  u
  825. # e" f6 X' b$ |& Y
  826. ; Define the anonymous ftp password (your email address). PHP's default setting, z4 x" L  _  D8 C# r8 k2 o
  827. ; for this is empty.
    # g; i5 ?5 n4 Z
  828. ; http://php.net/from' Z" d7 }" _  a" a
  829. ;from="john@doe.com"
    $ x, U1 W6 g! x3 ]2 K5 O; j

  830. 2 W2 Y! D! p; j% f' N. J2 F1 K
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    6 d' x8 R! {% @! j0 X5 c: \
  832. ; http://php.net/user-agent
    $ @  v4 Y% Q# s5 F+ }3 L
  833. ;user_agent="PHP"2 _1 B! q" d$ E) ~' n8 z# ]' V' |' ?( U

  834. . p# B9 B1 |6 i+ K( ?; X
  835. ; Default timeout for socket based streams (seconds)
    7 w0 a9 U1 V0 {/ q! q
  836. ; http://php.net/default-socket-timeout
    5 Z4 i$ c+ X# X5 k3 j& A' A
  837. default_socket_timeout = 60
    0 u# y8 }" g. K3 K) N/ n

  838. 0 \3 a3 h6 Q2 T2 N" C! U
  839. ; If your scripts have to deal with files from Macintosh systems,
    9 O# A) a; t3 o2 E
  840. ; or you are running on a Mac and need to deal with files from
    3 A$ x2 I  h& ~, [
  841. ; unix or win32 systems, setting this flag will cause PHP to
    # ]/ X+ [: [. c: P' ~( T' f1 q# U
  842. ; automatically detect the EOL character in those files so that7 h( r- b& r1 Z9 z2 n
  843. ; fgets() and file() will work regardless of the source of the file./ i5 D: v$ ~4 C3 {* v- t
  844. ; http://php.net/auto-detect-line-endings
    1 }! @" `/ d# A7 J
  845. ;auto_detect_line_endings = Off
    1 z0 c# M8 f/ \1 |3 Z: ?+ H% A9 I
  846. 3 l- {  f1 `  b0 a1 D
  847. ;;;;;;;;;;;;;;;;;;;;;;9 A* C7 v6 m/ }' X1 S4 C
  848. ; Dynamic Extensions ;/ v) a+ i5 W( h0 J; _
  849. ;;;;;;;;;;;;;;;;;;;;;;' @; B! G0 X1 E$ R9 e; D8 k

  850. 9 f: S# ]/ X9 G+ E
  851. ; If you wish to have an extension loaded automatically, use the following
    " W9 j0 ?+ H& l6 w, H2 K# ]$ O" ?
  852. ; syntax:
    # ^6 P" ?: a8 C+ j4 D
  853. ;
    / w6 A  `: {5 S; T
  854. ;   extension=modulename.extension
    + ?1 l0 u- H( x7 i! w9 c! l
  855. ;" |; Q8 [& m9 s& P
  856. ; For example, on Windows:! i1 d$ ~# [- m4 Q2 u$ z; b
  857. ;
    ' s% F! p# @. z5 d: ?5 y$ [# X" `
  858. ;   extension=msql.dll
    1 J+ H# @' v& x. l- T6 ]/ I' O
  859. ;7 k  r# u: K" G4 K9 C# r
  860. ; ... or under UNIX:+ L& ^& N- t8 W5 ~$ k3 K- c
  861. ;
    ; ^" ?. B6 l( O1 V
  862. ;   extension=msql.so
    9 Z8 Y: I; z# y7 q4 R$ |
  863. ;
    ( n. M' \7 y8 `# ]3 X$ @
  864. ; ... or with a path:6 U# d5 U' s, X0 v) K
  865. ;8 G1 \: k2 R& Z3 w
  866. ;   extension=/path/to/extension/msql.so4 V- r. \9 B" B# B# R& P  \
  867. ;
    + P8 c" y! @6 k# o0 z
  868. ; If you only provide the name of the extension, PHP will look for it in its
    1 k8 c, s5 _. q5 E2 z: b
  869. ; default extension directory.2 |9 Z; L7 p/ u5 T% R
  870. ;  v+ e9 s2 S8 M6 i5 V
  871. ; Windows Extensions+ P9 w3 |  A' @
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    0 D+ \, C  ~( d* a
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)( R9 C( j* q  f, i3 p5 F4 w
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+)./ i  N! n) q2 ~) Q2 i
  875. ; Be sure to appropriately set the extension_dir directive.
    % _* i+ X9 z# [$ h# _! p
  876. ;% Q, X+ v+ p- v+ p% s" V( F
  877. ;extension=php_bz2.dll
    ) @+ F% x3 v% v, ], ^& j1 e
  878. ;extension=php_curl.dll
    * z& y0 W. [9 y
  879. ;extension=php_fileinfo.dll: F3 }. C# c6 N4 O
  880. ;extension=php_ftp.dll
    ( i* {7 O  B4 K- t
  881. ;extension=php_gd2.dll
    0 j/ Y7 f1 O  z1 q/ W1 ?, a3 {% E! f, x
  882. ;extension=php_gettext.dll3 x+ x' d5 q) F& B* m9 T9 K
  883. ;extension=php_gmp.dll
    7 Y( b5 b# m+ g7 ~
  884. ;extension=php_intl.dll
    & M7 y3 s& G: G# h7 n$ s
  885. ;extension=php_imap.dll
    & d( f; k3 E. {  n5 Y# `# H1 T
  886. ;extension=php_interbase.dll
    , E) B( D/ `7 q. Z0 W
  887. ;extension=php_ldap.dll
    ; u2 L2 e; R. a( o' A
  888. ;extension=php_mbstring.dll
    ' r6 _# j8 \1 s
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it6 q/ x/ `4 ~1 p$ K6 e  }
  890. ;extension=php_mysqli.dll2 `  r- m+ ~1 T4 D
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client; `$ M( \* K  N! Y
  892. ;extension=php_openssl.dll
    , ^* @2 ^+ T) F/ x+ |  {6 b, [
  893. ;extension=php_pdo_firebird.dll
    $ f0 L* N% c" Y  m5 Y; h
  894. ;extension=php_pdo_mysql.dll0 n" B8 B( s" {* w# W" @
  895. ;extension=php_pdo_oci.dll
    ) v2 y( g0 ~+ l# {
  896. ;extension=php_pdo_odbc.dll
    7 r& t9 {' c( N- b2 S
  897. ;extension=php_pdo_pgsql.dll
    : Z4 G* R) Z' R1 A
  898. ;extension=php_pdo_sqlite.dll
    ( J5 A7 g4 E# u4 k5 g
  899. ;extension=php_pgsql.dll0 E8 p* n' M: l3 n+ u" H: u
  900. ;extension=php_shmop.dll
    # M. c$ e  V* C9 o0 ^" h1 v

  901. 4 X8 G  G- d* O/ b, \9 J% A' p
  902. ; The MIBS data available in the PHP distribution must be installed., i9 _, q( L* K5 k& [- _6 N7 ]( U( {
  903. ; See http://www.php.net/manual/en/snmp.installation.php6 _$ t  T" H  w, ~9 {0 W
  904. ;extension=php_snmp.dll# a) L, n7 I0 _2 l  C) ^

  905. ( B, L; p5 |5 Z& g' T: d
  906. ;extension=php_soap.dll
    ; c# N' C6 u4 q: ?
  907. ;extension=php_sockets.dll
    ; Q* k$ q5 p( |+ `) @
  908. ;extension=php_sqlite3.dll* H  Z+ j# N' h7 i- }/ }  y4 O
  909. ;extension=php_tidy.dll1 u, X" A7 q% l$ z' z. e* r
  910. ;extension=php_xmlrpc.dll$ D; \) r, E" R. y9 ?" F
  911. ;extension=php_xsl.dll
    0 U5 y, m$ x& \1 N0 ]/ K

  912. ; R/ j! x) m1 m9 I& m0 |8 f
  913. ;;;;;;;;;;;;;;;;;;;
    3 W7 M1 `2 ?- w% }3 E
  914. ; Module Settings ;
    . s3 q) b) ^. S% l+ F! C6 i
  915. ;;;;;;;;;;;;;;;;;;;7 x% p! o8 p' }4 p% R4 E

  916. . l/ G) W8 Q7 V0 E6 G+ m8 |+ f5 j" e
  917. [CLI Server]/ a; H. r5 O# Q( b4 b1 B* [
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    9 `- p/ v. H# x& V6 _
  919. cli_server.color = On
    + u, N& Y  n: o1 n) _+ q  N

  920. ' ~, h4 P( e2 P- A0 o& x$ t
  921. [Date]
    % z& t# R3 D, M+ q
  922. ; Defines the default timezone used by the date functions
    , {2 b* i/ Z1 v4 G' A
  923. ; http://php.net/date.timezone, X  d. [/ f. I" [" t9 R1 a9 A
  924. date.timezone = PRC
    ( E  a. t4 Z' r/ B

  925. 8 _- _& o) L3 P* ~" r0 n, F
  926. ; http://php.net/date.default-latitude. ?7 z- v4 {7 m2 i/ i
  927. ;date.default_latitude = 31.76678 O+ _, ]1 z; B. e" y+ F
  928. ( z. W' x9 k- Q6 b: K8 a
  929. ; http://php.net/date.default-longitude
    * K0 z: @3 X% g2 C& F5 H& L
  930. ;date.default_longitude = 35.2333! \7 n) P( j5 L
  931. . G8 l5 R- X3 _
  932. ; http://php.net/date.sunrise-zenith. d8 `/ u1 T4 e7 R& [
  933. ;date.sunrise_zenith = 90.583333
    1 Q7 ^/ j8 }; G7 D) r
  934. 4 @& B" h5 v0 l6 E. O* J( O- O
  935. ; http://php.net/date.sunset-zenith4 x) j! q, Y/ r7 _
  936. ;date.sunset_zenith = 90.5833337 h! O. \9 j5 S% Y1 d3 c: J9 t8 N

  937. ) c" C3 H& t  S6 \8 U+ M% q
  938. [filter]; \1 b+ m- F% Z+ P7 [' Z3 Y
  939. ; http://php.net/filter.default, @7 e/ E6 @, A) [+ f
  940. ;filter.default = unsafe_raw4 B' E5 G3 ~$ f0 \

  941. 4 Z( z1 z+ M; l* y
  942. ; http://php.net/filter.default-flags
    7 b2 I" b1 h% ?2 B6 M6 \2 x* @7 Q
  943. ;filter.default_flags =& B) o+ S3 z8 ?* n% i- v

  944. ! ~4 N9 K- y0 C: k' p
  945. [iconv]) W; J& m# }! B& Y% S) ~
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.& B7 ?: J0 u, K
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.5 R8 A/ z5 ?. z8 t) I) [4 N- s8 R
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding4 c. x; a1 l# ~! ]3 Z
  949. ;iconv.input_encoding =* H3 E8 f$ T$ w, |/ F! [  W: Y7 U

  950. 0 S& _: E, W, H  h
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.# W8 z8 }. e( C  l+ R, K1 S
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ) ?9 S1 E3 _, O& g
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 E7 f8 ~' J6 P" b# z  F7 b
  954. ;iconv.internal_encoding =9 o; y  \( n1 a; E5 p) I) N
  955. * E$ ]+ Q! d/ U; i) B
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 _: P) d# i' l4 s8 \
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.& i  S; \( O# A( h1 g6 ^
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    $ f9 `0 f/ C& P+ T
  959. ; To use an output encoding conversion, iconv's output handler must be set9 x/ N9 ]! R" X& }
  960. ; otherwise output encoding conversion cannot be performed.
    5 r6 R3 g3 W$ |4 E: N9 r# I5 i  C
  961. ;iconv.output_encoding =
    ' Y% V6 \2 g/ l' R6 N$ ]

  962. " L$ `3 S1 h) I7 H" D' C
  963. [intl]7 j2 N+ h( @5 \8 V; E2 v) e
  964. ;intl.default_locale =8 J  |7 V' u, i; I( \
  965. ; This directive allows you to produce PHP errors when some error
    3 B; w. n3 C& i# P' A) p) J
  966. ; happens within intl functions. The value is the level of the error produced.
    + m3 W  i- z$ i" n
  967. ; Default is 0, which does not produce any errors.
    : m) Y6 s& k* g4 I$ _" d, \7 K
  968. ;intl.error_level = E_WARNING8 r4 ]2 |( G% f+ k8 J% S
  969. ;intl.use_exceptions = 01 d( z4 ^! E7 f
  970. 1 O! w% w: S% E, f- z8 J# J
  971. [sqlite3], A1 L( d+ ^: i+ r8 E  t
  972. ;sqlite3.extension_dir =9 [* P( H/ t0 ], z  H$ K( C" X1 y4 s
  973. $ u+ q1 r$ k* m3 z( y1 C2 t0 N
  974. [Pcre]# @4 i2 a$ A( }0 s  _. |" G% W# `0 M
  975. ;PCRE library backtracking limit.3 |" x3 f. o, e
  976. ; http://php.net/pcre.backtrack-limit
    ' ^0 h) F* f0 b- Y
  977. ;pcre.backtrack_limit=100000
    + n; C% D- b! D" V* n$ y* P
  978. 3 e8 v$ X/ ~9 i" t$ G+ _
  979. ;PCRE library recursion limit.
      u- o5 S; g" }# p& K# S
  980. ;Please note that if you set this value to a high number you may consume all- J. F, l. E8 e# o9 |7 X) ^
  981. ;the available process stack and eventually crash PHP (due to reaching the$ E' p! c% \4 Y9 \
  982. ;stack size limit imposed by the Operating System).
    3 K9 G4 p* B: _- ~4 R& t
  983. ; http://php.net/pcre.recursion-limit
    & k$ o. j" p7 K; Y  J6 ?! f+ ]
  984. ;pcre.recursion_limit=100000
    0 M2 ?# l$ z0 j
  985. ! r# z7 i; a7 c9 u+ L9 |
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    * R9 k$ f/ F. D1 Y, O4 }
  987. ;library to be compiled with JIT support.
    3 r( n  O/ h  B7 ^
  988. ;pcre.jit=1) }9 |0 q+ N  a- i6 `

  989. 7 @2 T5 T7 `" M
  990. [Pdo]; t' S% C% J/ T) _
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    $ e2 d1 x" Q7 J6 t3 M! o% x' R
  992. ; http://php.net/pdo-odbc.connection-pooling
    # f, V+ z( ~( Z0 S' M4 t* j, a
  993. ;pdo_odbc.connection_pooling=strict
    0 s% e6 G% ^3 W3 S; {& R
  994. 8 Z" r0 Q) y) _1 B6 Z+ ?4 T8 Q0 P2 M
  995. ;pdo_odbc.db2_instance_name
    0 n* C1 U: k  a( j+ b/ Y

  996. * U, X- c* w' v3 U' `
  997. [Pdo_mysql]6 V5 ^8 h, n8 [) L4 R6 C3 h
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache8 E) c" N+ M& [
  999. ; http://php.net/pdo_mysql.cache_size
    2 V$ K7 z( p5 f' E. x  v7 x
  1000. pdo_mysql.cache_size = 2000
    / n' K: y5 n: \4 N
  1001. 5 m* k5 j3 ^4 N, b4 A. `
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) M1 w9 D6 }& P. m1 ^8 M
  1003. ; MySQL defaults.
    , C7 q9 L* O4 Z
  1004. ; http://php.net/pdo_mysql.default-socket; S  A: R2 Y1 r3 B, Z5 s
  1005. pdo_mysql.default_socket=
    , F- o' v, p$ S3 y8 b

  1006. 7 Q' y. }/ v- c
  1007. [Phar]4 P' g6 g0 v8 C* _/ P7 ~; Q
  1008. ; http://php.net/phar.readonly
    & D  G' {  b: s
  1009. ;phar.readonly = On) `! `9 `7 ?/ ~
  1010. 4 w6 h9 D4 P1 `6 ?9 o" x
  1011. ; http://php.net/phar.require-hash
    + w, T/ w5 N* k
  1012. ;phar.require_hash = On
    * o0 [" V& s" f# Y" W3 @; |
  1013. 1 D. A7 Z- Z  d4 @$ h
  1014. ;phar.cache_list =0 A8 G9 I- g) l$ }# D
  1015.   z3 |5 |) J1 E* P% R
  1016. [mail function]
    $ s" S  A5 g' L3 v' l; |
  1017. ; For Win32 only.
    % O" e; Z2 \4 T# Q6 N
  1018. ; http://php.net/smtp
    7 j5 o/ v) q5 J" E! B4 }8 Q
  1019. SMTP = localhost/ _7 S; c& n) _! ~, {" j
  1020. ; http://php.net/smtp-port
    % O0 _( ~5 C: T( ~) \
  1021. smtp_port = 25/ [9 ?9 e$ \6 t2 H9 H: N0 ?

  1022. * R# K* m/ A4 k5 S
  1023. ; For Win32 only.6 F* h1 k. w2 R5 z4 o
  1024. ; http://php.net/sendmail-from
    ! X& J3 E  h- m+ d6 x3 S/ s1 x
  1025. ;sendmail_from = me@example.com4 Q( p# p& ]' c
  1026. 6 @- p( a5 r- U, D: g% K9 P* E
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    " O' x( A4 s2 T7 i! b
  1028. ; http://php.net/sendmail-path+ J+ o$ _. m$ p/ h5 ?/ c
  1029. sendmail_path = /usr/sbin/sendmail -t -i# Z0 m( y5 R8 v& q+ X3 ~' W0 v

  1030. 5 A: f* m2 j8 K, h" a5 Y
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    " Q  k1 u3 \! t7 T: y7 O
  1032. ; to the sendmail binary. These parameters will always replace the value of
    9 [7 _% x- e' i7 N2 ?
  1033. ; the 5th parameter to mail().5 ?2 G: S* j, G
  1034. ;mail.force_extra_parameters =
    . O/ G+ x' e0 ]9 I
  1035. ' t  H  a* \- @' C
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    # [3 f' P$ S0 _) V
  1037. mail.add_x_header = On
    + f; X5 ]; ^- G
  1038. ; r6 v2 C; `% w* M. s
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    3 d5 V9 x& `5 b
  1040. ; the full path of the script, line number, To address and headers.
    ( Q# b" \7 d' F' P% `7 @8 U( J
  1041. ;mail.log =
    1 r) s6 u- R5 a' f
  1042. ; Log mail to syslog (Event Log on Windows).2 y  R! C( Q) _- y* F( h
  1043. ;mail.log = syslog
    ) H2 T0 [/ L) k0 \
  1044. ) y% B4 D) }3 E+ s! ?
  1045. [SQL]
    9 }  T0 {) f' j, N
  1046. ; http://php.net/sql.safe-mode$ K8 S3 W: G$ G( b
  1047. sql.safe_mode = Off" L5 U$ g4 Q0 i8 n2 b
  1048. % Z8 |8 e; s" e. f- ~5 V) G' ?
  1049. [ODBC]6 A* p, {  ]% d( u
  1050. ; http://php.net/odbc.default-db
    * W0 c8 ]2 K2 E& h" R& \0 u
  1051. ;odbc.default_db    =  Not yet implemented
    - w) r. C' P1 l+ t- H( w! u

  1052. : Y) C! r& s7 z8 ^' j- W
  1053. ; http://php.net/odbc.default-user
    7 I* |9 c$ N( B, c" k' w; R
  1054. ;odbc.default_user  =  Not yet implemented
    ; ^1 Y% K. i2 H0 b/ R6 Y" w
  1055. % I2 s. M% _7 V5 M. E4 c2 r
  1056. ; http://php.net/odbc.default-pw5 ?. Z* `! w# |9 C/ b" {
  1057. ;odbc.default_pw    =  Not yet implemented5 a% A- N/ X6 O: \5 B% m3 ~, u
  1058. 6 K3 y* q- e/ {$ e7 t7 @6 s
  1059. ; Controls the ODBC cursor model.1 S& j% f* g; @. w
  1060. ; Default: SQL_CURSOR_STATIC (default)., S7 P2 N- ?# z+ o  R/ @$ E
  1061. ;odbc.default_cursortype  q' K+ y1 I+ Z
  1062. 1 `5 X  m2 Q1 x3 |
  1063. ; Allow or prevent persistent links.) w3 @% D" O3 K6 k( J
  1064. ; http://php.net/odbc.allow-persistent
    ( ?5 c' u. q2 I! B3 D: h- G% W
  1065. odbc.allow_persistent = On* A& r  @* Q1 Z( Y# }2 G+ a

  1066. 4 g6 g( S) a' D# C' s
  1067. ; Check that a connection is still valid before reuse.
    ( t: ]3 L* {/ [
  1068. ; http://php.net/odbc.check-persistent
    / j9 u" n5 `4 M/ n
  1069. odbc.check_persistent = On: n0 P7 D& i6 D- |% \/ B2 Y4 X

  1070. & u/ l) ^, u+ I; ^/ ~
  1071. ; Maximum number of persistent links.  -1 means no limit.* v4 Z9 L' P$ C5 {+ A5 ?- ]% v
  1072. ; http://php.net/odbc.max-persistent7 g( F# L& `; Q
  1073. odbc.max_persistent = -1! C$ M8 M& K3 ^: U9 ~" @
  1074. & v' ?& L0 K( i; Y; l0 L$ l4 b
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ! h- g% [6 Z. C9 g. x/ }: `
  1076. ; http://php.net/odbc.max-links7 D: q' }8 B2 a$ ]
  1077. odbc.max_links = -1
    ; H( c) k/ _: ]" \8 g

  1078. / c! Y& w' v+ i1 ^& t4 v9 l
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means1 @7 Q' T7 l  v/ L8 d" o
  1080. ; passthru.( {, t- h3 K& B9 R3 c7 e- n
  1081. ; http://php.net/odbc.defaultlrl
    2 E4 O: D2 o9 R( J* P' r$ G. O+ A; W) L
  1082. odbc.defaultlrl = 4096
    * p9 w' P5 p, @& }

  1083. 6 f0 h7 J# b; \
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    9 \0 r4 R& u) Q4 W# E
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation3 U. W5 a; I# `7 _
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode( u) f5 S* {3 o/ w
  1087. ; http://php.net/odbc.defaultbinmode
    0 Z* C7 c/ T& r! e' b
  1088. odbc.defaultbinmode = 1( L$ H7 o6 x) x% ?) c3 Z2 p
  1089. 7 O: F$ U7 p+ E9 t$ k
  1090. ;birdstep.max_links = -1
    3 |, K& Z. G; P+ B1 x; a

  1091. 5 V# |5 J! A8 J% c6 Y3 X) L0 s
  1092. [Interbase]
    # ^4 a' p% t0 @* s
  1093. ; Allow or prevent persistent links.9 [. x( n* o* E; T! s. O
  1094. ibase.allow_persistent = 17 p3 k3 C( [6 F' _

  1095. - a+ v% E9 x) T% H" P! w9 {
  1096. ; Maximum number of persistent links.  -1 means no limit.
    , b" N( F4 T* F+ Z+ j* Q
  1097. ibase.max_persistent = -1
    . }0 P  F2 G- [; O9 [
  1098. " C4 ~+ U* R+ l/ [8 |
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.6 ~7 D" C5 K/ f% l; Q" G
  1100. ibase.max_links = -1
    ; n4 D( g# }. v# f9 q$ b
  1101. $ k3 O. u& r8 X7 Y/ Y
  1102. ; Default database name for ibase_connect().2 Q4 R* j, i% P. J3 N6 u
  1103. ;ibase.default_db =$ A* |* J+ ]( \  L, {9 Q8 o- M

  1104. : k/ B7 W/ A, ~# S5 y' l
  1105. ; Default username for ibase_connect().
    6 p# L/ w& {3 F' d) g
  1106. ;ibase.default_user =
    # |$ Q0 h5 v' Y% o. W* s; \& q9 E# P
  1107. 0 ]8 `( Z) |% u* D% n- y
  1108. ; Default password for ibase_connect().
    6 m) D: W" M( R& j4 ?
  1109. ;ibase.default_password =
    8 y3 C0 F/ g4 C4 A  P2 I. e
  1110. ! G# Z, z' [* v: }# l& Z$ n
  1111. ; Default charset for ibase_connect()." D, X. T6 |& c8 g
  1112. ;ibase.default_charset =1 i1 A( f8 ?1 u: \2 u

  1113. 0 l6 w" ^4 B) D  W- e( t  q
  1114. ; Default timestamp format.* ]) b8 C- e6 P! M( {% g
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    1 D0 k$ y  V1 w; s* e. `* l3 n9 t. m

  1116.   m' `, Y# s- D
  1117. ; Default date format.
    # n8 o# C8 L) m; H+ F
  1118. ibase.dateformat = "%Y-%m-%d"; W5 z: x# c- ]) B
  1119. ! D1 L" N& N- @% |
  1120. ; Default time format.
    7 B9 K% C  k. J/ g6 z( T6 U
  1121. ibase.timeformat = "%H:%M:%S"
    $ v* a$ W5 a4 X1 `8 g* W  z( [

  1122. 4 ~5 i6 ?# r( Y+ ?) V0 h: h! F- x
  1123. [MySQLi]- E) S1 E0 C3 V, Z, V

  1124. & e9 i- h# x3 i1 ?7 O3 \, ?
  1125. ; Maximum number of persistent links.  -1 means no limit.& x" ^2 b. u# U! y3 Y
  1126. ; http://php.net/mysqli.max-persistent$ q9 m2 d' M# f) N- R
  1127. mysqli.max_persistent = -1
    * _0 X& c. t0 F6 {" z* T8 W

  1128.   b% G3 i! S" B% m* Z
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    * Y) Y, L, l' X: C+ P3 O& B/ O
  1130. ; http://php.net/mysqli.allow_local_infile8 i) B; c1 {4 j# ?
  1131. ;mysqli.allow_local_infile = On% `  `7 {' Z  N* W+ U& c3 r
  1132. 3 `' R" B: t; i5 p$ K
  1133. ; Allow or prevent persistent links.
    & s7 H% \: a% \, v
  1134. ; http://php.net/mysqli.allow-persistent( |2 U& o" v5 f, O
  1135. mysqli.allow_persistent = On- K1 l, F1 T( p9 V

  1136. 0 Z& W1 y9 E/ ~7 R
  1137. ; Maximum number of links.  -1 means no limit.
    & y1 e1 R1 d* T2 f- e, {
  1138. ; http://php.net/mysqli.max-links
    9 c+ L# {0 m# q$ v
  1139. mysqli.max_links = -1
    & F9 R$ h, ^% V' D! N
  1140. % o* l2 y) Y6 Q9 z
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 O( V% \# z+ R! F7 h/ e
  1142. ; http://php.net/mysqli.cache_size7 }# A2 q2 ], \) i/ f' g
  1143. mysqli.cache_size = 2000' C3 Y& j% x$ V

  1144. 8 ?) }5 x5 }  w9 `4 ?( A9 c
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ) B/ O- K- k8 H% v& M* o3 J- x. o
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the) E3 m: \5 l2 K2 A$ b5 C6 u
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    $ k$ ~0 }$ k! F& x
  1148. ; at MYSQL_PORT.
    ' Q  v% F) s. k$ h
  1149. ; http://php.net/mysqli.default-port
    % y* K2 H8 |$ ^( _5 t
  1150. mysqli.default_port = 3306
    4 ]  ~0 s" X  q* s) t% C
  1151. % T5 D" S9 s5 S7 I% ]0 y. u$ K
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 T0 {! E& k7 a( O, V
  1153. ; MySQL defaults.1 J/ W2 h0 j. I* f6 k
  1154. ; http://php.net/mysqli.default-socket4 V# t; n. U1 D/ H9 y5 ?+ C! e1 s
  1155. mysqli.default_socket =' {6 g* f( m0 _5 h1 q

  1156. ( C( X* Z6 R6 W0 V
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).: W9 q6 G4 ?/ o, T* c
  1158. ; http://php.net/mysqli.default-host
    3 e* y* H% d2 Q
  1159. mysqli.default_host =
    $ `( m& h# p+ U
  1160. ; T. W; K1 X6 f+ Z+ h; B" U( P+ p
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).$ S7 p! k  @% [" ^( f# B) O; r, w! U
  1162. ; http://php.net/mysqli.default-user0 }& u; u+ @& [8 s' n
  1163. mysqli.default_user =* V% ]% ~' `, F5 `! [

  1164. ; M; d% s1 F. O
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    7 Q! H, C3 W1 l% s6 [5 t7 Z7 _: a+ M
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    * U9 E8 _) b5 a2 {# N
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"): O8 o. L0 [: W  r$ j# A& t% m
  1168. ; and reveal this password!  And of course, any users with read access to this1 M+ |# s. q! V# b# e; `  B
  1169. ; file will be able to reveal the password as well.7 J, w: P( U+ z# j4 i0 L0 {
  1170. ; http://php.net/mysqli.default-pw0 F+ j- V6 H, D1 F3 v2 w
  1171. mysqli.default_pw =$ o. l# x: T: |5 e

  1172. ' C$ ?% I2 M7 a
  1173. ; Allow or prevent reconnect- H# Z9 k' ^. ]" ?- |
  1174. mysqli.reconnect = Off
    ( t! [/ O. Z2 `* k2 S2 O

  1175. 2 H8 h* H; I6 x: ~3 [+ ?
  1176. [mysqlnd]* t2 ]6 _+ l+ L. }/ ~# J
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be! F# a* R; Q7 l! l' f* _* p' t
  1178. ; used to tune and monitor MySQL operations.8 I7 [3 H  p3 {
  1179. ; http://php.net/mysqlnd.collect_statistics
    - ~: b5 _1 ]. f
  1180. mysqlnd.collect_statistics = On
    : o* }7 u* u4 a: L  }
  1181.   L4 Q% M! |( |& h& E' w: l7 O' O7 [
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    / Z) d; h! r5 N- t) A
  1183. ; used to tune and monitor MySQL operations.  m# }1 [' q0 g/ u. _+ C7 S
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    9 [1 `/ t' U8 u0 \4 X5 U: I
  1185. mysqlnd.collect_memory_statistics = Off( x! M! o/ R- E6 C; _

  1186. 3 Z( J+ }" t7 @9 P& x. o
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    - ^: Y1 t- R% W# L
  1188. ; file.
    0 g( ^, ?/ k" k/ e$ |7 \4 o
  1189. ; http://php.net/mysqlnd.debug4 G- |  V7 L& k0 t
  1190. ;mysqlnd.debug =. G3 G% ]6 J4 p+ m+ ?
  1191. 8 x: ^0 x3 {; w$ Q
  1192. ; Defines which queries will be logged.
    * X7 d. r* G# n6 f! F2 e" f
  1193. ; http://php.net/mysqlnd.log_mask3 d+ x; [7 N! a$ K2 M3 j0 @
  1194. ;mysqlnd.log_mask = 0, @7 O/ t1 k% d6 O/ d' J4 U; f" J

  1195. + @% h! |! Z( [" S
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    " e' h: D2 E$ H" E# N9 J
  1197. ; http://php.net/mysqlnd.mempool_default_size
    * S5 |3 ^+ B( p8 ?
  1198. ;mysqlnd.mempool_default_size = 160003 s& ~1 @0 w) Z) h
  1199. : S' x  P9 [; B& t/ K5 q' D
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.  O5 g) t4 A+ A7 N4 O2 i
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    % N0 S% y1 C9 a
  1202. ;mysqlnd.net_cmd_buffer_size = 2048# k5 Z2 |! }6 |. Y; \& }

  1203. ( H! y- |1 Q" h
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in5 g5 ?( T& C% l4 s. t' F" Y; M
  1205. ; bytes.' n# B* b  O: V: _* A- E) u
  1206. ; http://php.net/mysqlnd.net_read_buffer_size* U- B6 g+ c  T% Z7 ~0 U
  1207. ;mysqlnd.net_read_buffer_size = 32768
    . b4 R* r6 M" w; {0 L
  1208. / F% K' b- h% e+ J
  1209. ; Timeout for network requests in seconds.
    # |5 [3 G" J! n
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ' c. k; l- [5 U8 P' h$ a( T
  1211. ;mysqlnd.net_read_timeout = 31536000
    ! {$ I0 A- F* E+ k8 @5 K1 a
  1212. + |) r5 S4 S) Y( J8 r
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA' `! j  H; F1 b+ f4 K
  1214. ; key.
    2 @+ A# z. `" B1 _, t# }$ n  M* O
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    5 Y1 @2 j' b) J8 d) W4 N2 h
  1216. ;mysqlnd.sha256_server_public_key =
    , t, P7 Q1 u8 t5 X" e8 J, [& ]

  1217. : V8 ?  A* w( u, C& v3 {
  1218. [OCI8]
      y0 k) a# Y8 H3 m8 b

  1219. ( c: a2 m7 k1 L7 I6 X: [0 ?
  1220. ; Connection: Enables privileged connections using external6 N, \5 [' g6 J3 y$ w) h0 T. B
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)+ Q/ X7 T7 s7 U- c( \) ]! Y( w+ B
  1222. ; http://php.net/oci8.privileged-connect
    - [- h. J+ L( c0 D" j0 }( j' \% V
  1223. ;oci8.privileged_connect = Off
    6 H0 g: }( \) b
  1224. ) I* E9 r, w' x) t# d
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    # i+ A$ C+ y# _! K7 \& @8 D
  1226. ; process. Using -1 means no limit.
    : |" A% J( H3 K3 }* M. {# p7 H2 H
  1227. ; http://php.net/oci8.max-persistent
    - r! d9 [3 b$ N
  1228. ;oci8.max_persistent = -1
    $ o( T; B. s! \3 z( S3 B6 }6 L- a

  1229. 6 z, k1 n$ J# T& Q7 ]7 Y
  1230. ; Connection: The maximum number of seconds a process is allowed to2 c1 R: @+ ?- C% ~, P( M2 L. E( r
  1231. ; maintain an idle persistent connection. Using -1 means idle
    : |* l( f+ N, g, c3 H
  1232. ; persistent connections will be maintained forever.. L  p: p( q& W# L6 Q
  1233. ; http://php.net/oci8.persistent-timeout& N9 i* [( g/ m) R$ n
  1234. ;oci8.persistent_timeout = -1
    . T2 @; I. {# t% r6 \0 c3 L9 b
  1235. , c; i- j+ O6 }4 g* c- J
  1236. ; Connection: The number of seconds that must pass before issuing a
    . d" e" [2 L, H. G
  1237. ; ping during oci_pconnect() to check the connection validity. When2 b+ `, T) L4 O3 Q7 e0 G7 f0 T( r
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    1 h. E) j/ n/ D% b$ f" p5 D, t' s
  1239. ; pings completely.
    ' i/ I- j( i2 M# t- A1 A
  1240. ; http://php.net/oci8.ping-interval, ~4 F6 F+ L+ i! w$ k/ \1 l7 O
  1241. ;oci8.ping_interval = 60$ M, R& ?, L* C' A- T/ V  V
  1242. % V* v- F, ]9 e9 ^. B: H5 L/ m
  1243. ; Connection: Set this to a user chosen connection class to be used( Y' A, I2 A. [1 Q3 [# q
  1244. ; for all pooled server requests with Oracle 11g Database Resident3 ?  F+ P3 j: Q9 [4 ?5 s# n
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    5 d$ J2 Q, Y: J$ J# Q* \' n
  1246. ; the same string for all web servers running the same application,
    - B# h; f. {6 K# x  W: h8 ^! j
  1247. ; the database pool must be configured, and the connection string must: h" _3 X6 }9 c5 X
  1248. ; specify to use a pooled server.
    ! |. h# j$ i. t: r) ?7 y
  1249. ;oci8.connection_class =. ^9 O* G* @6 F6 w0 o
  1250. ' F6 B+ ?* u  f, ?( Y
  1251. ; High Availability: Using On lets PHP receive Fast Application
    + {3 f6 n0 L4 t0 b
  1252. ; Notification (FAN) events generated when a database node fails. The0 P- e; \+ t, [7 k: Z# R
  1253. ; database must also be configured to post FAN events.9 ]. X4 N! c5 G+ [8 q
  1254. ;oci8.events = Off
    % P, v% n0 @. G4 a7 ~

  1255. 1 ^  g6 O# p+ C, V! o/ d2 c
  1256. ; Tuning: This option enables statement caching, and specifies how  ^+ R' N5 ]5 j2 X& h$ S  a( |2 H. o
  1257. ; many statements to cache. Using 0 disables statement caching.& D/ m# o! [! o+ K* @
  1258. ; http://php.net/oci8.statement-cache-size+ M# W& o- \8 c5 O6 m* s0 _! f8 I, }
  1259. ;oci8.statement_cache_size = 20
    9 X' e3 l' h+ x" h
  1260. / P% J- v# H# h' o) p  X- Z
  1261. ; Tuning: Enables statement prefetching and sets the default number of  S8 [# a$ Z. }
  1262. ; rows that will be fetched automatically after statement execution.
    : h6 d6 x- z5 P5 X% |. X* @
  1263. ; http://php.net/oci8.default-prefetch! {0 T; q% w$ h/ d2 e/ m) f
  1264. ;oci8.default_prefetch = 100  c7 @  n- i& Y! q, E$ ]

  1265. 3 h' J0 m0 j7 P/ S7 r
  1266. ; Compatibility. Using On means oci_close() will not close
    / S3 k9 [# Y6 s! P' l
  1267. ; oci_connect() and oci_new_connect() connections.
    + K7 L) ^4 p+ b& a: F% g
  1268. ; http://php.net/oci8.old-oci-close-semantics
    6 n: e/ [2 O4 T, N
  1269. ;oci8.old_oci_close_semantics = Off
    3 z! c1 t1 T9 T9 O

  1270. $ J. u4 ]1 A3 z1 v. u  M
  1271. [PostgreSQL]# l$ `, `, S; u2 L5 Q0 I7 A5 m
  1272. ; Allow or prevent persistent links.
    # p7 T! S+ q; u" U2 A
  1273. ; http://php.net/pgsql.allow-persistent
    # D9 N! R2 J7 l2 v, I- K
  1274. pgsql.allow_persistent = On
    4 D  m% M) P7 C5 q
  1275. $ j( z7 r" `; B' N' Y9 h/ ~2 U- F
  1276. ; Detect broken persistent links always with pg_pconnect().3 Q4 \5 [, Q* x% N3 P3 h$ v
  1277. ; Auto reset feature requires a little overheads.$ L# j3 h) w( ]9 I4 q
  1278. ; http://php.net/pgsql.auto-reset-persistent
    2 u6 G4 S8 D9 @) z$ x, k
  1279. pgsql.auto_reset_persistent = Off
    , ]1 m% a* W% Q- f# Y
  1280. & G) Y! a7 M- K1 Z  m/ p
  1281. ; Maximum number of persistent links.  -1 means no limit.
    " Z) C6 p/ U  |+ G0 i$ Q
  1282. ; http://php.net/pgsql.max-persistent5 {$ t& F: T1 P# J- b
  1283. pgsql.max_persistent = -1
    9 d  t8 N1 ?3 {7 Q+ S

  1284. 5 O, j% y) D  T
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ) D, S' @, `6 ?# Q7 a$ k0 j5 d
  1286. ; http://php.net/pgsql.max-links
    2 N1 @9 A& C0 d
  1287. pgsql.max_links = -1+ F! T0 i; j! `# c

  1288. % R7 h3 B4 s3 J
  1289. ; Ignore PostgreSQL backends Notice message or not.
    0 q: L; g6 y/ |# ~) U' K% Q- S
  1290. ; Notice message logging require a little overheads.
    7 Q" m4 c# S: b2 r1 b
  1291. ; http://php.net/pgsql.ignore-notice6 V7 Y$ x8 ^# t; H
  1292. pgsql.ignore_notice = 04 X2 Y$ _9 E) M+ g0 G; p* g8 }

  1293. % J; n4 Q4 Q6 F1 H
  1294. ; Log PostgreSQL backends Notice message or not.
    7 ]$ Z% a5 e# a. S1 {
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    % d# p7 D* c+ i  u, ?/ D, R8 ?
  1296. ; http://php.net/pgsql.log-notice; B) X( j. Z8 Q% B; k  @5 w% X. g
  1297. pgsql.log_notice = 01 K# x7 k) D7 N1 t$ U
  1298. ( v& ?& O6 i! i- `0 Q
  1299. [bcmath]: G; ]  J# V  F$ D$ l# @
  1300. ; Number of decimal digits for all bcmath functions.
    ! W8 l2 J; T# E9 r
  1301. ; http://php.net/bcmath.scale. d1 X5 i* T% e8 r  |8 K
  1302. bcmath.scale = 0
    + ^8 M$ a. {# j( h6 R6 U
  1303. & P( J' ~" ]3 V3 J- x$ m( S- R& k  g
  1304. [browscap]! V% s6 v. V* r9 J
  1305. ; http://php.net/browscap  M! P8 f7 R! ]' z) Z: ]( w
  1306. ;browscap = extra/browscap.ini! L3 H8 a; [4 `- E

  1307. ; J% s( R) V- U5 ^! H
  1308. [Session]# ~. E- C% V. \' X
  1309. ; Handler used to store/retrieve data.
    6 f/ N1 t* N, K6 z4 c# y
  1310. ; http://php.net/session.save-handler
    + |% @- T) J' G
  1311. session.save_handler = files
    $ ^) o; ]. f. Y$ x, N$ r$ w

  1312. # w5 ?: |1 S6 L7 p+ X: R2 ?
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    9 c1 D# @5 y( W! m3 n2 L4 s9 T
  1314. ; where data files are stored. Note: Windows users have to change this
    7 _. d% e( \: X3 y
  1315. ; variable in order to use PHP's session functions.
    $ }$ u8 x6 o5 s+ G1 W" V
  1316. ;! a" x( S6 c6 U; t& R5 g/ q
  1317. ; The path can be defined as:
      Y; e0 P( I; m7 g
  1318. ;
    # {: a4 ^0 f7 s# C6 X4 K0 n
  1319. ;     session.save_path = "N;/path"9 }" j+ Q. }+ U+ c
  1320. ;3 g3 E1 X2 T; U" p' d. u
  1321. ; where N is an integer.  Instead of storing all the session files in
    & @' n7 B/ |1 |% W0 w5 V
  1322. ; /path, what this will do is use subdirectories N-levels deep, and: ?$ s( l4 s& [; i# T% c
  1323. ; store the session data in those directories.  This is useful if  b1 c0 x7 n. N
  1324. ; your OS has problems with many files in one directory, and is; k7 b! z; Z5 S% V, ^7 h# H
  1325. ; a more efficient layout for servers that handle many sessions.
    ) T/ s( N: w4 V
  1326. ;% r+ Z; f( H; n3 x
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    : D$ D* {. X6 A3 Y
  1328. ;         You can use the script in the ext/session dir for that purpose.
    & j: N$ |5 b5 B' [
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    : G6 i7 G' ]8 D0 d  D
  1330. ;         use subdirectories for session storage" Z+ v+ I# W9 i9 ?! |6 q& V* N
  1331. ;$ x1 V' z) u3 D) _
  1332. ; The file storage module creates files using mode 600 by default.! @2 @' r. t' n; n( f3 R. p6 b
  1333. ; You can change that by using
    # H5 b% q  |- f. G  X$ c( ~( J0 ^
  1334. ;
    3 L/ J& v6 ?$ ]1 [. z7 a
  1335. ;     session.save_path = "N;MODE;/path". }( a- h# a' ]
  1336. ;
    + X$ q( q# U2 V( ]8 O
  1337. ; where MODE is the octal representation of the mode. Note that this- @8 }3 J0 o" h
  1338. ; does not overwrite the process's umask.
    % D" s& w9 q( |! g3 u
  1339. ; http://php.net/session.save-path
    # T- G$ D8 [+ v- r0 s& G$ b
  1340. ;session.save_path = "/tmp"! m7 i) a* B& h5 U) {: l7 A
  1341. + S) I  w0 Y8 L: I
  1342. ; Whether to use strict session mode.
    - J& B4 i2 V+ f5 q. W
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    7 H6 Q2 s' l0 Y( E9 m
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects8 T& V( f, @9 ~0 ?
  1345. ; applications from session fixation via session adoption vulnerability. It is, [1 r+ O  J! u
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    & ~4 {+ H0 W- z5 [( Y
  1347. ; https://wiki.php.net/rfc/strict_sessions
    % d. T% D6 n1 F4 S
  1348. session.use_strict_mode = 0
    . P+ Y  @: h" I" q9 R
  1349. 4 G- \. G! f( F
  1350. ; Whether to use cookies.  k( n7 X" G, ]8 H
  1351. ; http://php.net/session.use-cookies( l4 `6 y7 i, G! I! e( N
  1352. session.use_cookies = 1$ s$ }) }2 Z* B- j
  1353. # A3 M. ~3 T0 F& r
  1354. ; http://php.net/session.cookie-secure6 ?* X% c# ~2 J# Q! q. c4 i% e
  1355. ;session.cookie_secure =
    : D1 a9 n' [3 d& j! @+ a  `2 r- ]8 J
  1356. * a* l+ v' A9 A, O" {2 G# R
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining6 P0 S3 x1 E/ H
  1358. ; the session id. We encourage this operation as it's very helpful in combating& A( ~; o1 `! a8 j+ D
  1359. ; session hijacking when not specifying and managing your own session id. It is5 G2 R$ F+ w' s6 S4 f
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
      ]* D( ]  l4 e
  1361. ; http://php.net/session.use-only-cookies
    % |+ R5 z& m. R% y( h1 h5 c  g& \
  1362. session.use_only_cookies = 1( e0 X' }9 }8 Z( |6 [

  1363. $ q; p3 `8 }2 x- S: f3 C
  1364. ; Name of the session (used as cookie name).
    4 ^& b$ N+ Z) r6 w' H1 H: g
  1365. ; http://php.net/session.name
    ' N+ X8 E$ U! `: E# w4 O
  1366. session.name = PHPSESSID- K0 _2 O& z  {* i: X
  1367. ) k; J0 [1 E* R
  1368. ; Initialize session on request startup.
    0 t5 I, a' H6 s$ M" `% P. C
  1369. ; http://php.net/session.auto-start. L+ w: G/ Z4 X  o9 T
  1370. session.auto_start = 0: F1 a. I0 u8 {
  1371. 0 }! L# l% e" g" }) K+ o. ~
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    7 M& m! G1 [0 @2 l9 h, h5 [2 k
  1373. ; http://php.net/session.cookie-lifetime, i8 u, l" B( C3 O; u- O
  1374. session.cookie_lifetime = 0+ _. b$ [7 V& N6 F, m
  1375. # C9 I$ [( R! c1 Z, E
  1376. ; The path for which the cookie is valid.* s, F3 C; Z1 f" ?) t5 `5 j' n
  1377. ; http://php.net/session.cookie-path
    ; y7 I/ m; q9 K3 Z* v! C
  1378. session.cookie_path = /' M* `0 @. `$ `! i
  1379. # M! C0 v( z$ U$ i/ G2 T# H
  1380. ; The domain for which the cookie is valid.
    4 ~. ?3 i5 M8 q" g+ c$ q
  1381. ; http://php.net/session.cookie-domain) \3 p+ i6 x. R% G) u! I
  1382. session.cookie_domain =  I+ ?8 X! {2 p9 @0 N  w+ H9 @& W$ P

  1383. , o  E! i0 s9 B' u9 u7 |
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    2 ^8 z7 H' q/ c* E3 n6 ^2 z
  1385. ; http://php.net/session.cookie-httponly) k+ J7 |& f1 \2 g" C
  1386. session.cookie_httponly =) `" I( \. @$ d! f  w

  1387. 7 ^6 }, ?- r0 t( ]5 ]
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.5 c+ z& I! a$ t, l2 c
  1389. ; http://php.net/session.serialize-handler/ U. B) B# \3 Z8 h3 B( U
  1390. session.serialize_handler = php5 R3 z4 c3 I. o1 H; w" c2 A
  1391. 0 t- b9 [0 n  {$ o" _8 m  v
  1392. ; Defines the probability that the 'garbage collection' process is started
    % q7 C3 f. \3 R& X+ S/ e& [
  1393. ; on every session initialization. The probability is calculated by using3 M- }" _# f8 ~4 e7 a: s$ e
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    $ M0 M' _: p- H
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 17 F, e( g* Y& R, _* ^
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance" K' M3 s9 ~4 S( L6 A9 B+ g: x! V
  1397. ; the gc will run on any give request.5 ]' v5 n) c" P  v1 L& e/ B9 Q6 B
  1398. ; Default Value: 1
    % r6 [+ M* F: j4 [/ c; o( r
  1399. ; Development Value: 1
    3 P6 _: a5 f7 E) k
  1400. ; Production Value: 1* g1 |& y8 k! K) ~+ h/ Q3 W. s4 s
  1401. ; http://php.net/session.gc-probability0 L& [3 v8 O6 }# m9 x: R
  1402. session.gc_probability = 1
    : Q7 ]0 E, a4 v2 T" `! f
  1403. 6 F- ]& C$ `2 t, G. j2 v
  1404. ; Defines the probability that the 'garbage collection' process is started on every: t& w3 G2 x/ {: M$ C; ]# w
  1405. ; session initialization. The probability is calculated by using the following equation:+ }7 x4 y$ ~- Z6 W1 o
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    7 z# ~4 k; y2 Q6 @
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    5 s4 l* C0 b/ j; |6 Q
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
      h! U6 P! t/ y: S) W
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you, ?, o; p8 z. b) O$ k& k: K
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    " ~' P3 I) a1 G2 Q/ ?
  1411. ; this is a more efficient approach.& E& z) d( v6 b' R6 I7 ]6 k2 s
  1412. ; Default Value: 100& P/ E. p- T/ I
  1413. ; Development Value: 1000, w! l4 v3 q* _$ [
  1414. ; Production Value: 10004 U* o% z2 b: _* S
  1415. ; http://php.net/session.gc-divisor
    5 v) \# S5 |0 n! Z
  1416. session.gc_divisor = 1000. d: Z2 @0 h- X8 P3 O- N' B

  1417. # G, Y6 d. _' x$ o$ P
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and% n8 c. p% Z) q9 w. m
  1419. ; cleaned up by the garbage collection process.8 ]( |* A6 H/ f; G
  1420. ; http://php.net/session.gc-maxlifetime
    9 \" ]) s6 ]7 j/ o" F
  1421. session.gc_maxlifetime = 1440
    * y2 ^3 j8 {1 D+ Q
  1422. + v( ~/ Q% U& N  z) _
  1423. ; NOTE: If you are using the subdirectory option for storing session files6 a  y5 T. a& C+ P  J/ |; w0 W
  1424. ;       (see session.save_path above), then garbage collection does *not*+ D) [) v6 X! _; N' I5 w
  1425. ;       happen automatically.  You will need to do your own garbage/ h* ?; M) _" O
  1426. ;       collection through a shell script, cron entry, or some other method.
    5 x' C1 K4 [, ^5 B9 K
  1427. ;       For example, the following script would is the equivalent of! x  l3 J  K( B4 Y, A$ q7 H0 O
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ( R! E) l8 G# `7 n% I1 g
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm( G. C8 u6 ^6 l7 \3 z2 O8 u
  1430. 8 X% n: G( h9 C# s' l4 T3 O2 L, R
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.2 \* U/ N* L1 k6 t; r. o7 w
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    8 ]9 P# k8 ^* R$ |6 g- u; T
  1433. ; considered as valid.
    ( N* f6 ]& y! Q; J4 f
  1434. ; http://php.net/session.referer-check
      }( x# P3 Q3 T, c
  1435. session.referer_check =4 M2 I. _; U6 Q/ Z  _
  1436. - t2 p/ c8 S/ @- T7 g4 T; S0 H' T
  1437. ; How many bytes to read from the file.
    , y4 H  j$ V% K# X: W
  1438. ; http://php.net/session.entropy-length# e; H' x" L% |7 A( w9 k
  1439. ;session.entropy_length = 32& v( Z# Z) |3 u2 F  s2 Z4 f

  1440. 9 ^' ^. H+ l! l5 a" R- W
  1441. ; Specified here to create the session id.# z! c5 n3 O$ [. O. d6 {$ C
  1442. ; http://php.net/session.entropy-file
    # i% |6 o5 v1 H( Q+ B
  1443. ; Defaults to /dev/urandom
    5 e3 J+ q+ S. `/ ]4 @  u
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    5 n9 A6 d" J5 T& g9 {3 X  M$ N2 q; Q
  1445. ; If neither are found at compile time, the default is no entropy file.
    0 `+ a' Z. Q/ A, D' H( @  A  l
  1446. ; On windows, setting the entropy_length setting will activate the0 Y8 \" m" V4 c
  1447. ; Windows random source (using the CryptoAPI)
    8 w# r' n; c# _2 C/ R
  1448. ;session.entropy_file = /dev/urandom0 v  b+ h/ `$ `' g3 @% l4 Z: D) K) c
  1449. 3 b, U9 s" f  O# P
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects! d6 D/ ]$ ?2 o, r% k6 z
  1451. ; or leave this empty to avoid sending anti-caching headers.5 {# I( L+ L8 z# K
  1452. ; http://php.net/session.cache-limiter7 p$ m1 L+ U! V+ p' [4 T* M5 q# _
  1453. session.cache_limiter = nocache
    ) E% a$ d* G& e6 o

  1454. : @. Z8 d6 s! _. r% Q
  1455. ; Document expires after n minutes.9 Z7 P  F9 Z! u: c
  1456. ; http://php.net/session.cache-expire* A: K; M" L, t! O6 R  t0 `/ L/ e6 V
  1457. session.cache_expire = 180
    / Q1 R* {5 C! c1 ]

  1458. $ V/ V3 a! S2 M2 F" V- u& ~; Z
  1459. ; trans sid support is disabled by default./ q+ W- k2 o+ }) P, g; N" a/ n
  1460. ; Use of trans sid may risk your users' security.  W2 M+ Q7 u1 T3 N! }# Z
  1461. ; Use this option with caution.
    1 ?: I  e: m: }6 W' G5 R3 _7 _; e
  1462. ; - User may send URL contains active session ID
    / m& `" s$ w. m5 G* H
  1463. ;   to other person via. email/irc/etc.
    0 `- K$ r4 g! R4 c) ]+ C1 ~3 [
  1464. ; - URL that contains active session ID may be stored$ S0 ?* z/ W0 n: N- u: J3 v" Q: L
  1465. ;   in publicly accessible computer.9 K/ `- k% d% ?
  1466. ; - User may access your site with the same session ID) X) w1 c9 J& F& l( d
  1467. ;   always using URL stored in browser's history or bookmarks.) v) c4 u: p0 y! l. @1 z
  1468. ; http://php.net/session.use-trans-sid
    # D- ^( A0 {% a( ]9 g( K- G
  1469. session.use_trans_sid = 0
    . |- d+ S  z7 m, o: B+ ]
  1470. 8 X( R  I6 {4 {$ A6 H, V% X
  1471. ; Select a hash function for use in generating session ids.
    7 u2 E' v. L- g- l, q
  1472. ; Possible Values( \$ Y% Q% d( I! q7 ?7 a  c2 |
  1473. ;   0  (MD5 128 bits)2 \/ Q9 m' k7 v  {! p
  1474. ;   1  (SHA-1 160 bits)
    7 w" @7 n# g& ~( _) d& y1 I
  1475. ; This option may also be set to the name of any hash function supported by5 C9 U) n  g7 d! [$ H* H
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()) E5 \$ {$ v5 Q' ?
  1477. ; function.
    $ U) ~, N  j% o4 F( G0 O" [* q' a* }/ h
  1478. ; http://php.net/session.hash-function
    " g$ ]8 O/ G5 M; y& P* a$ T
  1479. session.hash_function = 0, N3 x, Y2 _3 J# _: \# T' h

  1480. $ i2 y  ?9 Z) Y6 |7 \! p
  1481. ; Define how many bits are stored in each character when converting! Z, F; }) K4 z+ [8 ?
  1482. ; the binary hash data to something readable.
    7 M% Y7 N9 q% A. @# ~, I; }
  1483. ; Possible values:5 Z5 |) F+ R$ t' e' A
  1484. ;   4  (4 bits: 0-9, a-f)0 ~- ]1 J- U1 L4 y  s. t  D! ^; C% j
  1485. ;   5  (5 bits: 0-9, a-v)5 m4 W5 D  v3 C3 E
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")0 s, O) Q  l: h0 y% M+ Z
  1487. ; Default Value: 4
    8 ]( \* S( J0 n3 ~/ M; {* A
  1488. ; Development Value: 5$ @6 ]$ K, l' E* a
  1489. ; Production Value: 5
    5 x' f" h; G- x5 w* @6 b
  1490. ; http://php.net/session.hash-bits-per-character% i/ n4 n5 [8 T' j8 i) W
  1491. session.hash_bits_per_character = 5/ _3 u/ b# z2 t5 B) }4 Z
  1492. ' i3 Y# Q; f8 q
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ! }( W1 w1 h- t' B  q0 {
  1494. ; form/fieldset are special; if you include them here, the rewriter will( P% H- `" i% A" j7 Y3 `' t
  1495. ; add a hidden <input> field with the info which is otherwise appended
    % ^4 p( A- M9 ~
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.8 i3 w) H4 F4 r9 n$ @2 \# E/ O8 \
  1497. ; Note that all valid entries require a "=", even if no value follows.
    ( u% p' b/ G4 u8 ]" {( G
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=". \4 Y8 T  [! _+ S8 \4 ?
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 {; z. _7 L2 Z$ c2 n- K, s$ s- L! Z
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", T/ f$ z: j( t# Z
  1501. ; http://php.net/url-rewriter.tags: J8 y1 _2 ^' `: T) X' j
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( H9 m4 [! I6 Z5 `) |1 O

  1503. : I7 m/ r7 E1 ?  y2 S& d/ ?6 d! \
  1504. ; Enable upload progress tracking in $_SESSION
    1 W0 H" [6 l) q$ \) V
  1505. ; Default Value: On* W8 ~' L5 ^: C, `0 o) n6 \
  1506. ; Development Value: On: ?& b0 K0 Y$ ?% t9 F1 w
  1507. ; Production Value: On& T. V' f4 q5 u3 B6 }2 b5 i& q
  1508. ; http://php.net/session.upload-progress.enabled
    $ _1 s; Z" N) a; }1 H. o
  1509. ;session.upload_progress.enabled = On) h4 l0 C  f8 R" N- S
  1510. . B% j0 T2 \  p- `+ L0 t
  1511. ; Cleanup the progress information as soon as all POST data has been read" }4 _4 Z& x. a. C
  1512. ; (i.e. upload completed).! Y4 l" I3 A! p2 j  e/ ~
  1513. ; Default Value: On: l5 _, h# [. |' }  n2 R" f% s
  1514. ; Development Value: On
    # ~2 u6 l$ x4 p: }1 i5 |- Q* @
  1515. ; Production Value: On
    7 K) m0 |8 Z6 g- n7 G
  1516. ; http://php.net/session.upload-progress.cleanup; e$ L  J0 G3 b1 L. d
  1517. ;session.upload_progress.cleanup = On
    ' H& h) V4 t; F9 R, E1 X7 C' W, f0 x

  1518. 8 ~( A; U$ A3 f, U! j
  1519. ; A prefix used for the upload progress key in $_SESSION
    ' D8 n! x4 j6 v: {
  1520. ; Default Value: "upload_progress_"
    ! q# ^  ~4 \- v; T3 f
  1521. ; Development Value: "upload_progress_"9 @0 L% I$ B  u1 F- z
  1522. ; Production Value: "upload_progress_"
    ) I3 I6 z1 \7 p* A
  1523. ; http://php.net/session.upload-progress.prefix5 C5 n8 |& ^1 D1 _$ C( A$ J7 ^
  1524. ;session.upload_progress.prefix = "upload_progress_"- [6 E7 m( I% Y+ k

  1525.   g1 W+ _+ J2 ^" w& F
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    . R6 J) H  ~; S
  1527. ; containing the upload progress information
    2 B! m7 j  K8 i4 P4 \
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"0 m- L# D# \4 r- J$ l
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"! s6 b+ d2 u5 b: Q3 Y% k% N0 L  Z9 j
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"# h" P0 _3 g6 X. c1 z& N+ G! p7 M; G# f
  1531. ; http://php.net/session.upload-progress.name2 A8 s% u# Y5 Z5 M) k. T" f
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    . }3 z8 ^  ^# A3 }2 y

  1533. $ }3 u/ ^# s. r5 [' f, n
  1534. ; How frequently the upload progress should be updated.5 L% t0 }5 U1 H' k6 G) j. f
  1535. ; Given either in percentages (per-file), or in bytes
    8 E( n; H; g# q. |; o: ]4 X
  1536. ; Default Value: "1%"# P  k" ?7 z, `2 {
  1537. ; Development Value: "1%"
    : K' E, ?/ k8 @7 J
  1538. ; Production Value: "1%"& y5 {5 x4 e" G7 N9 V
  1539. ; http://php.net/session.upload-progress.freq
    + x/ K5 R2 D5 q& ~; L
  1540. ;session.upload_progress.freq =  "1%"/ @3 w3 `8 B: j; s0 r

  1541. ; e7 H$ h2 Y& k& R
  1542. ; The minimum delay between updates, in seconds
    ! r: h3 y! x. X0 f' H
  1543. ; Default Value: 1
    5 {4 A) X4 d" B1 [6 o0 t: ^) {; L
  1544. ; Development Value: 1% C! x0 ~# _% {% N% `, B
  1545. ; Production Value: 1' N1 V. _/ \0 s. T
  1546. ; http://php.net/session.upload-progress.min-freq
    / [1 n2 f& U. z+ |8 Y
  1547. ;session.upload_progress.min_freq = "1"3 F* s2 L* O1 g1 l$ D' U
  1548. + g4 I  s/ A1 B# R$ F
  1549. ; Only write session data when session data is changed. Enabled by default.
    + O" `, @9 s0 U* [8 U( L- q0 N! J
  1550. ; http://php.net/session.lazy-write
    ' o, s8 N! d, H% P  F$ a
  1551. ;session.lazy_write = On% b# e. k0 m9 T8 o
  1552. 3 P- T& |3 m6 X4 [  Z  u
  1553. [Assertion]
    6 a$ k1 l* R2 G% [( h7 e3 z
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    2 t9 b  J) `5 ?9 H. B# e4 N
  1555. ; -1: Do not compile at all/ G5 i5 F# B0 {& Y: n" A( |
  1556. ;  0: Jump over assertion at run-time2 X/ d; R! h) f6 u' ]
  1557. ;  1: Execute assertions; G; {4 f# o- F) z3 ?3 Q( i# |" v
  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)
    $ y* q% A& p0 ^4 t7 a5 ]
  1559. ; Default Value: 1
    1 I1 I4 F7 r4 K
  1560. ; Development Value: 1# H3 |8 V: P/ O
  1561. ; Production Value: -1
    7 r0 P4 G1 @- r0 ?
  1562. ; http://php.net/zend.assertions
    ) z( z) I: I' o" i8 y
  1563. zend.assertions = -1
    ' q' s& U: o/ D0 z. x% r/ n

  1564. % w; ?" @  ?, ?2 d" H
  1565. ; Assert(expr); active by default.
    " h/ U6 l  x) o
  1566. ; http://php.net/assert.active2 V; A7 H5 N: }" w5 C" P
  1567. ;assert.active = On
    5 t: |4 f( V( [/ `6 F+ @3 q4 s

  1568. : f" Y$ M' E; p* I/ o
  1569. ; Throw an AssertationException on failed assertions
    6 L: X  m) l, i; H& h' c
  1570. ; http://php.net/assert.exception
    0 \5 r( ~5 [1 R2 p" G' E% i
  1571. ;assert.exception = On. n, q& a' G! W- E; E3 j

  1572. , a5 c5 H! o% ?2 T( Q8 g
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)+ e7 l2 S3 b5 i5 w( v0 c; I
  1574. ; http://php.net/assert.warning8 h( g4 _3 }% ?3 b  o* R5 r
  1575. ;assert.warning = On+ A2 n& X& }7 \" Z" m7 Q6 f
  1576. - C- |7 U2 Y/ R
  1577. ; Don't bail out by default.0 \0 F( A0 K# T. n! G6 v
  1578. ; http://php.net/assert.bail
    & _! B' w/ I- f2 _4 a) w
  1579. ;assert.bail = Off( u4 R; S; ?7 w4 d/ P
  1580. 6 v: w$ ^& L' l% }7 R
  1581. ; User-function to be called if an assertion fails.
    ! W& T" x: w' s( x9 k4 P
  1582. ; http://php.net/assert.callback8 D0 P( c) N; n, O
  1583. ;assert.callback = 0
    1 @5 x* b" f: l) X

  1584. ( F. n4 f6 Q% v! n' t
  1585. ; Eval the expression with current error_reporting().  Set to true if you want. _: h! N* K6 p4 Z
  1586. ; error_reporting(0) around the eval().$ ?1 x! }+ H9 ]. ]2 ~
  1587. ; http://php.net/assert.quiet-eval; l. F: F6 ^0 v' E8 M+ d$ Q# s8 p
  1588. ;assert.quiet_eval = 0) f, T0 ]; @  D
  1589. 4 E/ j4 q: `3 z" O& }( Y
  1590. [COM]2 Q7 L& d1 k6 \% p
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ) N2 X) `9 F0 d. F0 T
  1592. ; http://php.net/com.typelib-file9 p, m2 ^( w$ I5 m  Z
  1593. ;com.typelib_file =
    0 d' Q2 X: x; O+ H9 F+ Q

  1594. 9 l+ D! _9 H( l3 ^
  1595. ; allow Distributed-COM calls
    ; }/ Z: g- ^2 `( z
  1596. ; http://php.net/com.allow-dcom1 F  ?; R0 J! `8 C% l: K+ A, V6 C
  1597. ;com.allow_dcom = true
    # I  r, t4 j! p- y* a9 K- M3 D- k
  1598. " N5 }% t) y( u, Z$ b
  1599. ; autoregister constants of a components typlib on com_load(). a- u0 P2 p0 q, w) |5 E+ L
  1600. ; http://php.net/com.autoregister-typelib
    3 w5 h( p  S% V  W6 B1 `; V7 z( l% p
  1601. ;com.autoregister_typelib = true
    - Y. B1 k' d" r, f
  1602. 4 Z( n* |3 D. T6 D) c8 d' A4 E  `: V3 Q
  1603. ; register constants casesensitive; }4 x8 j; x0 L1 A4 z
  1604. ; http://php.net/com.autoregister-casesensitive
    7 o( C1 D( |, }- e4 N
  1605. ;com.autoregister_casesensitive = false3 E/ r  J  h5 Q7 P! F

  1606. / G: r6 M" [; a# Z7 C! v* R. |1 f
  1607. ; show warnings on duplicate constant registrations3 r4 L( I) h& V* W& j) F8 z! `4 Z
  1608. ; http://php.net/com.autoregister-verbose& F9 s! H2 i" o! f/ U
  1609. ;com.autoregister_verbose = true
    : \7 C( A8 [1 m6 K5 \

  1610. 5 I) {- [' g/ S
  1611. ; The default character set code-page to use when passing strings to and from COM objects.2 K  J& g' _. G- ?/ f
  1612. ; Default: system ANSI code page9 P/ R% H; V9 w7 p$ B- g
  1613. ;com.code_page=
    + H1 r2 y3 t2 l1 y5 i" h

  1614.   r9 ~: e. @) \) s
  1615. [mbstring]
    + R! L" o# s2 }# s+ G7 F: G9 v
  1616. ; language for internal character representation.
    - r  `9 G2 J0 z4 P; K8 Z
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    . u) M$ L! `8 P$ |6 y9 T( h
  1618. ; http://php.net/mbstring.language3 I% j$ G# q  n& c" l
  1619. ;mbstring.language = Japanese1 {, Y/ S! d. q
  1620. ( T* ]0 u9 c! B6 X% m- j9 C! ~" _
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ( m" U& A0 u1 l
  1622. ; internal/script encoding.
    " I! {% w" \. a
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)7 q4 ~$ E: h8 y
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : T2 I4 m' T" F" ~
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding5 R; s( E  i' ]( f
  1626. ;mbstring.internal_encoding =
    7 I7 `% m# e' c  W( F+ ~

  1627. : U0 u3 L1 J* [0 m
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.# G- Q  g7 V0 o( d; q
  1629. ; http input encoding.
    6 x3 q& K2 l) Z  L
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    5 Z  o4 _% B# u% z  O
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.% p7 \- X7 }6 f  k- _
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input/ a: b3 o8 |, c
  1633. ; http://php.net/mbstring.http-input( Z& m9 y$ ]/ k; c# H; f( K
  1634. ;mbstring.http_input =
    , x- s* v& A: W* l% h
  1635. 6 ]% S$ L, s8 p* {2 z2 N
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 `& [% j' r  m+ n4 C: v
  1637. ; http output encoding.
    2 J( x# o  D: w. }( Z
  1638. ; mb_output_handler must be registered as output buffer to function.
      D% ~2 t/ [8 ~
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    " C. |" \1 _# W) w2 L
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ( T/ U( \  W0 C- Q
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    3 e& ?( w% v0 C2 J* D% B8 u: d
  1642. ; otherwise output encoding conversion cannot be performed.
    , s  j; j/ f5 H* ^
  1643. ; http://php.net/mbstring.http-output
    % A7 h% ^  Y5 ?1 l# u' o8 T* w1 \
  1644. ;mbstring.http_output =
    9 [& _7 j2 B- T# C- A" @. s7 o# E6 b& ~
  1645. ) ]6 M% J( I7 f1 n
  1646. ; enable automatic encoding translation according to! y/ Z) [2 O  a
  1647. ; mbstring.internal_encoding setting. Input chars are
    6 Q, J/ J9 A, `# B0 c* w
  1648. ; converted to internal encoding by setting this to On.2 G6 K8 u+ }( b8 z) K7 Q3 l
  1649. ; Note: Do _not_ use automatic encoding translation for2 n' c! C  N3 Q1 D
  1650. ;       portable libs/applications.! r" K% t, `! B) m, l$ ^
  1651. ; http://php.net/mbstring.encoding-translation
    ( t' P$ x! n- f: j) u7 V1 w. E5 l
  1652. ;mbstring.encoding_translation = Off
    4 X% h* I- l3 s
  1653. 9 [. h1 U3 j% [
  1654. ; automatic encoding detection order.( Q# d" ?( @' d
  1655. ; "auto" detect order is changed according to mbstring.language
    ( F+ C  z; G* Z) j8 M7 i
  1656. ; http://php.net/mbstring.detect-order
    ' x9 I: K2 i, q8 L
  1657. ;mbstring.detect_order = auto
    4 _, j1 h( _$ u2 O. u& R" R

  1658. 8 H: O: o2 I4 I! x+ _' i5 @
  1659. ; substitute_character used when character cannot be converted8 Z, o* |' @# d! f
  1660. ; one from another1 N' R3 f) l" z1 q8 l
  1661. ; http://php.net/mbstring.substitute-character) H1 e% b3 X' a1 V  u. t3 v
  1662. ;mbstring.substitute_character = none/ p, h, X6 C; |7 X" u: e1 a  i

  1663.   `9 S; A# n- J
  1664. ; overload(replace) single byte functions by mbstring functions.
    & q" i- \" {9 ?, h, D
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 O& \- l% y" f
  1666. ; etc. Possible values are 0,1,2,4 or combination of them." M: S1 y2 I2 W) `! M
  1667. ; For example, 7 for overload everything.
    # d1 [% J* |- `8 P5 B
  1668. ; 0: No overload
    2 f& {; l/ f% `, _1 U' Z
  1669. ; 1: Overload mail() function. v0 O' n* u' b; s- v
  1670. ; 2: Overload str*() functions
    : O2 _! q+ ]* Z4 w
  1671. ; 4: Overload ereg*() functions
      \; p2 \' Z9 H1 E; u) ~
  1672. ; http://php.net/mbstring.func-overload
    8 _5 a$ X5 b4 g1 C
  1673. ;mbstring.func_overload = 0
    ! P% U# o, q! W* x# ?/ S

  1674. . V; T# i; E6 S8 F5 _; d9 B* _
  1675. ; enable strict encoding detection.5 H+ i& n* f: ]- D/ e) L7 z" H9 ^
  1676. ; Default: Off
    2 g  ?! e' I# r' i" E
  1677. ;mbstring.strict_detection = On& g6 d/ X  j( Q6 V) a, }
  1678. & J$ o( R2 y8 s3 V
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()' `; v+ E& m+ K8 l4 t! W
  1680. ; is activated.1 ]- I5 t4 T1 c: L) e
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ' {! \7 J4 f4 X
  1682. ;mbstring.http_output_conv_mimetype=
    0 ?$ s- T/ U9 u) g* g9 Z0 j
  1683. 5 r; \  C8 U9 @8 ?! w3 y
  1684. [gd]! M5 e$ }& w; ]6 V
  1685. ; Tell the jpeg decode to ignore warnings and try to create
      H4 S- t7 P: G, r7 R
  1686. ; a gd image. The warning will then be displayed as notices
    3 U# f% d$ T1 Z# ?- ]( `
  1687. ; disabled by default4 K  l6 z. j* v6 H
  1688. ; http://php.net/gd.jpeg-ignore-warning
      w! ?8 ?  n. x2 g; a. _9 P0 x
  1689. ;gd.jpeg_ignore_warning = 0
    " g& {' b7 Y! T) O3 F: e

  1690. - B8 t$ \+ g6 X6 Q. q  r! x
  1691. [exif]$ U0 N. C+ f$ Q* U+ q
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
      v4 P7 h: A4 _4 s
  1693. ; With mbstring support this will automatically be converted into the encoding8 L  L! v7 r1 s9 |$ O
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding+ u5 }3 u$ U0 I% V. ~$ E# Y
  1695. ; is used. For the decode settings you can distinguish between motorola and
    $ i9 I  Q: T- g# x) s$ N' ~/ d3 o/ p
  1696. ; intel byte order. A decode setting cannot be empty.
    3 J4 P& O+ W% ]# M4 ^0 h: ~4 P' ]
  1697. ; http://php.net/exif.encode-unicode
    * D+ [% P! K5 T7 l* K0 P. J
  1698. ;exif.encode_unicode = ISO-8859-15
    & n2 a: K* x/ c: p, y

  1699. * T- @7 E, v& r0 n: d
  1700. ; http://php.net/exif.decode-unicode-motorola
    0 s; {- T; Y, f3 Z. m8 q
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    $ ]1 y1 Y$ ^. i+ L" h$ m( F$ s5 Y
  1702. ; h  c8 J" b' H) s5 o9 p
  1703. ; http://php.net/exif.decode-unicode-intel6 N) ]6 T/ C/ ~6 e# G2 V
  1704. ;exif.decode_unicode_intel    = UCS-2LE( v; z5 t, |  w& G3 W4 j) M

  1705. ' H' k3 Z% T4 ]9 s
  1706. ; http://php.net/exif.encode-jis
    & y& P# v2 q7 k7 y
  1707. ;exif.encode_jis =# \3 `( n  W9 U# t

  1708. 4 P! B/ W- r+ s; l
  1709. ; http://php.net/exif.decode-jis-motorola7 p9 L- m, l6 k9 ]! b/ s- C
  1710. ;exif.decode_jis_motorola = JIS
    ( g, v3 J1 o; V8 C2 b
  1711. - g# G4 g9 G( {% }  f
  1712. ; http://php.net/exif.decode-jis-intel" c# _6 l9 a" D9 F/ v
  1713. ;exif.decode_jis_intel    = JIS
    / b6 l6 c9 W$ o" l; V2 ^
  1714.   m) E5 h! Q6 \. v4 M
  1715. [Tidy]3 I! a1 R7 X7 _* u0 x( k- D
  1716. ; The path to a default tidy configuration file to use when using tidy- s5 o" Q( z0 r( ^0 G* q
  1717. ; http://php.net/tidy.default-config
    . W* H7 P! [# V% Q
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    " m' X; B+ L; y; K3 ^
  1719. ) k1 K7 p, z) |8 b9 s* p
  1720. ; Should tidy clean and repair output automatically?  |! u: W9 D; Z) v
  1721. ; WARNING: Do not use this option if you are generating non-html content
    " X1 u/ P" h" T; V
  1722. ; such as dynamic images) i; T# [: k' k' [
  1723. ; http://php.net/tidy.clean-output1 Y) J* s, S" s2 C, D  m$ W
  1724. tidy.clean_output = Off
    - q% C" L3 a" d, \1 W
  1725. 8 N; a4 I# ?$ y/ C
  1726. [soap]
    " Z$ q* q( r! K5 _- X4 }
  1727. ; Enables or disables WSDL caching feature.
    / K! Y9 I* _+ s
  1728. ; http://php.net/soap.wsdl-cache-enabled# L2 f- i! y& t0 j
  1729. soap.wsdl_cache_enabled=1' S/ u: u9 T8 S- m( `* d
  1730. * x' q3 K; e2 }
  1731. ; Sets the directory name where SOAP extension will put cache files./ Q. `" C9 o) L& v: c, @2 o
  1732. ; http://php.net/soap.wsdl-cache-dir. O% j. F! S8 i
  1733. soap.wsdl_cache_dir="/tmp"+ a/ q2 A/ H6 ?5 h- G
  1734. : n- F' ]. T% o+ y; @3 s) E3 D
  1735. ; (time to live) Sets the number of second while cached file will be used1 L0 k1 b) t6 D$ Q& v2 K
  1736. ; instead of original one.. f9 ?, F4 V# A; Q' P
  1737. ; http://php.net/soap.wsdl-cache-ttl" f0 e" P) U6 h1 }; S: M; b, Z
  1738. soap.wsdl_cache_ttl=86400
    & l9 z) t8 \0 _* }# Q0 {& U# U
  1739. " ~2 j: [/ R6 z# b" ?
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    . Y" v; O. O, `' u# ?  L% o
  1741. soap.wsdl_cache_limit = 59 B3 e6 n  T# z1 Y, j: S5 G8 P& }, @6 P0 b

  1742. ; _0 J$ S5 D% v7 e$ W% U
  1743. [sysvshm]
    4 ]9 a6 t5 t. V% N: i
  1744. ; A default size of the shared memory segment
    7 `1 e3 o1 ~1 z9 V' T7 X9 U
  1745. ;sysvshm.init_mem = 10000' a7 m; H* B. U. Q7 w* ?
  1746. 8 r# I, {5 N- P3 v. R
  1747. [ldap]
    7 W! I4 \0 a" [0 F0 Z' Q1 _
  1748. ; Sets the maximum number of open links or -1 for unlimited.9 ?1 W- b$ t+ P; g5 [
  1749. ldap.max_links = -1
    ) E# {& y; n7 t; g# h

  1750. 1 J! S8 L& `& _
  1751. [mcrypt]; m9 N6 s' F) K3 h$ h
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open# L/ R: z# j# {) O7 l* D# H

  1753. + b+ n$ _" X+ ^0 C
  1754. ; Directory where to load mcrypt algorithms$ v* Z) V: N" |3 o/ v3 \% p+ b' c
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): ?2 G! \: ~. A
  1756. ;mcrypt.algorithms_dir=) R  e/ }' M' g8 N& b& P$ ~7 b

  1757. " t5 D( P+ c) _: S
  1758. ; Directory where to load mcrypt modes0 d6 c4 r5 O) F6 O8 J9 r( V
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 ~: N2 V* M5 i( _5 k, l: l
  1760. ;mcrypt.modes_dir=
    ; W4 R) ^; w( e2 F* d/ B/ W! ?
  1761. & I9 k& r- a4 v1 M5 a" G! a. B
  1762. [dba]
      s6 _3 w4 \+ @6 ~2 P
  1763. ;dba.default_handler=4 ]0 N" d1 D4 ?% [' I8 @- F
  1764. 5 V" o* y4 c; E3 p: j: ]
  1765. [opcache]5 e- |+ P% M% M) [% t
  1766. ; Determines if Zend OPCache is enabled- G: M2 @4 @2 `1 K# `4 o$ B
  1767. ;opcache.enable=05 D- C4 `0 ]7 J0 ~5 S+ {
  1768. # s- o/ R7 e$ T3 u# }' X
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    & B3 b( U# V- s: P! ?0 j
  1770. ;opcache.enable_cli=0
    # y/ @0 J/ X  @# q6 ]. Y. u
  1771. & Q( z4 F& K1 ]$ ^: o# T2 A
  1772. ; The OPcache shared memory storage size.
    6 n; A3 f& m; ~6 F" q
  1773. ;opcache.memory_consumption=64: @2 W$ ~+ D7 t" ~$ }+ y7 _/ \

  1774. 9 @" {# i: ?) _5 W; O  B, [
  1775. ; The amount of memory for interned strings in Mbytes.1 u" d& f1 U8 \! U* {8 Z
  1776. ;opcache.interned_strings_buffer=4' Q6 Y* J1 N* z  h1 g% D- g

  1777. 5 J+ S" M- v/ n
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    5 V0 `- a& f3 P! o  p$ N( O
  1779. ; Only numbers between 200 and 1000000 are allowed.
    ' k2 q- H$ ^$ |- z! T/ r
  1780. ;opcache.max_accelerated_files=2000+ h5 J. @  S- a2 Z1 D0 I6 `7 o+ B
  1781. 8 k& [9 K8 k/ G# K7 u; [2 m. r
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.1 a0 @/ R" M! p' g  I# F" J
  1783. ;opcache.max_wasted_percentage=5
    7 r" b) s) ?! ~6 m: L
  1784. . ^0 ?; Z, W$ H) Y
  1785. ; When this directive is enabled, the OPcache appends the current working
    ' @: p2 H+ _7 K+ _' [; |
  1786. ; directory to the script key, thus eliminating possible collisions between+ W# O) d; k$ r' D% I* W/ T
  1787. ; files with the same name (basename). Disabling the directive improves
    ; c8 |, S, }  @1 k
  1788. ; performance, but may break existing applications.
    0 C' J; K& }/ O2 j
  1789. ;opcache.use_cwd=10 u8 c- [$ C( S% N

  1790. 2 p. {) D% m" [: T3 n4 |6 \* _
  1791. ; When disabled, you must reset the OPcache manually or restart the
    1 Y0 f4 F4 N$ q% C8 f4 f- y. W
  1792. ; webserver for changes to the filesystem to take effect.
    . {4 T8 @$ m  R7 d( u+ K
  1793. ;opcache.validate_timestamps=1" T7 A1 p# f2 m/ X0 M( ^- ~

  1794. 3 H- l' Q- z* e/ R; ~" d6 d
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    0 S! S0 F+ S7 G% S8 S' r& v8 q* \: `
  1796. ; memory storage allocation. ("1" means validate once per second, but only- j5 p0 y6 @8 ~9 j( l. ?/ @" ^) r
  1797. ; once per request. "0" means always validate)6 X+ Z, @5 a8 d
  1798. ;opcache.revalidate_freq=2
    0 W5 G$ {- S5 g9 m0 Q# w% L
  1799. 2 ~3 m5 y1 M, [0 T9 Z
  1800. ; Enables or disables file search in include_path optimization
    ( a' b9 E9 Z# L+ f
  1801. ;opcache.revalidate_path=0% H2 f* d% \2 n& j* n# l$ X

  1802. 8 s3 N/ I; M$ K/ M5 v$ B, ], B
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ( R% ]4 m" y6 D& i  h
  1804. ; size of the optimized code., l$ d$ G. @" M1 I) C4 h! q$ X- J
  1805. ;opcache.save_comments=10 ^- w0 y: A! m/ Q' e: d. X+ J& m

  1806. 5 x/ y3 I& n8 q, @2 t9 u2 i
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ( [+ C( X1 t+ Q* y
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.$ ~% p  v* Z. V, K$ u
  1809. ;opcache.fast_shutdown=0
    ' g. c/ `! Z3 L# ?9 s/ o
  1810. 1 x! c) X4 l1 u7 v
  1811. ; Allow file existence override (file_exists, etc.) performance feature.& \6 h6 H+ p! e/ O" ^& @$ P2 i, M
  1812. ;opcache.enable_file_override=0
    1 p/ o& m8 h/ U4 j
  1813. : H3 ?* Q9 ~& E) t" n/ |, `, M
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache5 `/ R" E6 f9 ~8 _; m0 z
  1815. ; passes
      E. b7 r* d, w. |
  1816. ;opcache.optimization_level=0xffffffff
      D. A7 \  o# `) r, N, G- Z

  1817. / o. k; [. Q4 _% B) B, I
  1818. ;opcache.inherited_hack=1
    6 G) \2 h( l/ }& ~
  1819. ;opcache.dups_fix=06 W7 {- q* K# B4 V# Q! R- Q

  1820. . _( G) ]) u' o8 {: F6 k0 z1 u! K
  1821. ; The location of the OPcache blacklist file (wildcards allowed).0 X, z, S6 P  }2 {# f7 V
  1822. ; Each OPcache blacklist file is a text file that holds the names of files' w* h7 ~* I7 m4 s9 \3 L/ @
  1823. ; that should not be accelerated. The file format is to add each filename
    % k* f! g# X/ k1 {7 x
  1824. ; to a new line. The filename may be a full path or just a file prefix
    , l# U& o5 v4 |
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    * |& c" e; e2 \5 o) P1 j$ ]
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    % D6 x- F6 O# }: e
  1827. ;opcache.blacklist_filename=% p) }# Q) O( R

  1828. # @- l# _6 U& ]: v" _( S+ y
  1829. ; Allows exclusion of large files from being cached. By default all files
    . z3 m( }% W$ i0 h- N
  1830. ; are cached.2 U5 s* D1 h9 }1 P# l& j' V5 C9 T0 l
  1831. ;opcache.max_file_size=0% l# i3 @" f9 K* g

  1832. 7 {: {) |6 `( M
  1833. ; Check the cache checksum each N requests.1 o1 v' g3 X9 u( \
  1834. ; The default value of "0" means that the checks are disabled.
    7 k9 w( S! r7 K8 j5 m+ [4 G
  1835. ;opcache.consistency_checks=0
    " n- e& _1 {$ |, g
  1836. " q( z4 U: k$ o  r
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    " y% e# v" ^+ m9 ]: S
  1838. ; is not being accessed.! a- w8 m4 |- s1 y$ [- B0 d% E/ ~
  1839. ;opcache.force_restart_timeout=180: M- g& G) h% z

  1840. " v4 i8 r% G# j7 `5 ]! Z: V
  1841. ; OPcache error_log file name. Empty string assumes "stderr"., p! d9 q  m; K6 d; E7 F6 J
  1842. ;opcache.error_log=
    # ?% {% P; t: _: v$ u
  1843. # \4 L) Z7 V- w. Q
  1844. ; All OPcache errors go to the Web server log./ m8 C! |) i4 U' G) }
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged., P% i: X- A7 X4 |
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    . e$ T; _( Q" b4 C! f
  1847. ; debug messages (level 4).: N1 i- Q; c# m( e
  1848. ;opcache.log_verbosity_level=19 i) R% b- {6 b# f- W8 o4 J4 n* _
  1849. % n1 O% u' U3 E3 r) J
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.7 e' n3 v! l3 Z! A
  1851. ;opcache.preferred_memory_model=
    ! x7 Y: m3 {3 S9 |$ `, @9 g
  1852. / M" e% y% `% W9 G  Y
  1853. ; Protect the shared memory from unexpected writing during script execution.6 F+ q+ Y0 q6 ?- L6 R1 k/ x
  1854. ; Useful for internal debugging only.
    * M$ u1 t, d" V! N1 t" V8 `
  1855. ;opcache.protect_memory=0. i5 N# [2 ]/ L

  1856. 7 Z# w# j5 t! L* m9 ]
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is2 i$ I: [2 F2 ^7 E% x- R
  1858. ; started from specified string. The default "" means no restriction# Y/ I# h% s7 ?7 K8 S6 s
  1859. ;opcache.restrict_api=
    7 W/ M8 S8 ^: V# u" Z

  1860. ! P7 w& M$ U2 W3 H* p7 a
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP& R, o6 {& f( H! Z
  1862. ; processes have to map shared memory into the same address space. This/ t8 F6 V. a. w9 y0 |
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    & n* E" p$ e/ C
  1864. ; errors.
    7 N# U( a1 H/ N
  1865. ;opcache.mmap_base=
    + W% y& H3 B: v1 L' }+ D3 A# T

  1866. # Y/ m; ^" J/ Y* H# }  C9 |( t
  1867. ; Enables and sets the second level cache directory.- N3 P  G; r0 o" s2 ~' E
  1868. ; It should improve performance when SHM memory is full, at server restart or; f5 k) O2 @- V+ X' h/ J$ z# \  D
  1869. ; SHM reset. The default "" disables file based caching.3 ]& z4 D9 X7 E  b1 |9 b
  1870. ;opcache.file_cache=- n1 \" f: H, @

  1871. / S' G( M+ ]: M# k7 g' m$ y
  1872. ; Enables or disables opcode caching in shared memory.% }6 k# |! j' Q' e5 o* O/ h
  1873. ;opcache.file_cache_only=03 ?2 B& m, J8 D  W
  1874. 7 l) {, s4 I) M1 f3 g+ i4 N# Z
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    * E2 N- k  T* s. F& F, k7 y: P5 \- d0 Q) }# p
  1876. ;opcache.file_cache_consistency_checks=1  M# I# Y9 ]5 H  a

  1877. 0 s; t& v% @6 W/ Q; H  p& }# o
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to" D' \6 E# S6 Y" D, X
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file: J# A+ W- j3 g, f4 j' w6 F) Y
  1880. ; cache is required.4 n6 H7 l" g' n- G! v/ Q
  1881. ;opcache.file_cache_fallback=1# l) {) Z: j( g0 P: ?

  1882. * Q4 _3 d6 Y' q& F( ^" f
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    . l; ~+ h+ X5 e4 E" e4 ~
  1884. ; This should improve performance, but requires appropriate OS configuration.
    0 O5 P0 B" H1 b6 A, F
  1885. ;opcache.huge_code_pages=1
    ( s! T' H, F* y$ k9 n' I2 W; O( @9 U

  1886. . o' W& F4 a4 \/ x5 F8 ]
  1887. ; Validate cached file permissions.( ]1 ?6 o, V' x' o
  1888. ; opcache.validate_permission=0
    7 l- ?" z8 d) I3 X6 S, w

  1889.   q/ p: K" ?: K& Y% P
  1890. ; Prevent name collisions in chroot'ed environment.
    1 a/ B& y( |8 y' ~
  1891. ; opcache.validate_root=00 U; @& }9 k( Z1 }2 r" u

  1892. 5 c6 r! y, I6 t
  1893. [curl]
    / E$ E" {% J0 Y1 k! l. e
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
      Y6 w8 ~: i1 Z% u9 U
  1895. ; absolute path.0 p3 f. F3 |( a( L: }0 g( |# x
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt2 _  c* i! ]4 @0 z

  1897. * u( A7 Y# N0 ?8 N1 d
  1898. [openssl]! Y  W' I6 T, a8 A0 z
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    9 Z) o9 G* Q1 ]4 a" O2 T* m
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    " E, _4 \! T- G! m6 p3 r6 U1 J. X8 x. }
  1901. ; not specify a value for this directive as PHP will attempt to use the% z/ A4 V2 e; N8 _+ x+ ^. Y* D, _
  1902. ; OS-managed cert stores in its absence. If specified, this value may still; a4 N  {3 L& b; Y7 U7 t
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    3 u8 O2 l; M1 d  M$ ]; J
  1904. ; option.. S6 W! D, T% U& |$ {6 m: K+ p
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    , {9 m; S$ O3 P+ n# X# M
  1906. : ^4 ~& _/ N8 W. Q- I/ N- c, q: }- }
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the/ c: @7 J# j! |
  1908. ; directory pointed to by openssl.capath is searched for a suitable: R/ _  i0 T- Y! d1 n$ W5 D
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    & v) F: [, x5 }7 H: T" @
  1910. ; Most users should not specify a value for this directive as PHP will& ^5 o" C! f8 w  j- z
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,  }3 b, n6 t* ~* [
  1912. ; this value may still be overridden on a per-stream basis via the "capath") D4 C" h7 D0 n
  1913. ; SSL stream context option.: g* Y% U6 T0 o1 u" H
  1914. ;openssl.capath=
    1 U8 D4 `8 H% L; _2 a

  1915. . h8 g2 |8 G3 v6 q
  1916. ; Local Variables:
    0 p) n, E3 u) d6 c
  1917. ; tab-width: 4
    0 F6 q" ]7 C$ a( ]
  1918. ; End:/ n' m: {+ G- m3 Z4 c4 s: G

  1919. * |! V: J# x; S: B4 d
  1920. ;eaccelerator+ Z; I0 L" C0 @9 G+ v$ _

  1921. 3 M% @# p/ M+ F9 v1 T: k
  1922. ;ionCube
    2 p1 ~, V  r7 g0 ?# ^2 Y0 s
  1923. 5 t% ?# W. e7 P& P, h
  1924. ;opcache
    + }4 k$ x1 ~+ o* q7 \8 _  g

  1925. ! l. _; m: l% y" D
  1926. [Zend ZendGuard Loader]* i( [6 F2 S& Z1 e  Q
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    + l5 Y8 w/ O* @9 e; F1 y
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    + {7 H( C: l0 C: v$ h! @  k
  1929. ;zend_loader.enable=1
    1 o, f; O& _$ Q
  1930. ;zend_loader.disable_licensing=02 U& g; j0 C, A: y1 f' {
  1931. ;zend_loader.obfuscation_level_support=3) A  T9 A+ i& A. @
  1932. ;zend_loader.license_path=  r% K6 b% K5 A2 ~

  1933. - ]/ a  T2 }+ [5 V! P
  1934. ;xcache9 ~+ v3 i, Q: [2 [* o0 @' m

  1935.   u' u1 R! c0 y  q0 w. c1 V% G; b% u6 Q# J
复制代码
' o0 g0 p/ @% ?9 }- g
/ u- x* m. E3 ~

/ Z& H/ p3 P8 a8 L8 J) h1 [  U( l! ?) S* Z) R
5 f+ i5 F5 B' {1 Z8 G
" X- A3 @2 b  J& u
0 s: x4 b2 C: v% y
PHP5.6版本原始设置/ F- b7 A7 h; s  z( ^
' V9 I) n2 f. N% A+ a+ ]6 b
  1. [PHP]
    , g8 v! b! n' R2 M+ b
  2. 5 D; G9 S0 Q5 w7 x' v: p- g2 U# |9 e
  3. ;;;;;;;;;;;;;;;;;;;
    - `) k* P- U5 d9 D5 v
  4. ; About php.ini   ;
    6 y5 d3 n: v; h& @! h) n) K; ~8 \
  5. ;;;;;;;;;;;;;;;;;;;
    $ K! c* l* a/ |+ O& Q+ T
  6. ; PHP's initialization file, generally called php.ini, is responsible for: P8 ]0 G3 ^3 P" s# f! J6 e5 `
  7. ; configuring many of the aspects of PHP's behavior.
    / N! L8 W! k7 W2 y/ C

  8. 7 D" W2 R" }8 N+ d* ^1 N
  9. ; PHP attempts to find and load this configuration from a number of locations.
    / C  S# B4 K' Y2 n
  10. ; The following is a summary of its search order:3 ?8 y4 J/ ?. i9 x/ p8 j% L* x
  11. ; 1. SAPI module specific location.
    ; V% Z& T5 k. V
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    7 V7 O, R; M( r* P/ [
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    2 O$ L7 i- u; d4 z* \
  14. ; 4. Current working directory (except CLI)% B$ O* {- u9 r  |9 c
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP! }! l+ y: R2 p2 {# a
  16. ; (otherwise in Windows)5 L( T( ]7 d- ~/ Q9 ^: V1 k# x2 G
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    / u) t6 m! L& l1 [
  18. ; Windows directory (C:\windows or C:\winnt); D; T- Q6 _4 s( U
  19. ; See the PHP docs for more specific information.
    + O) V6 ^* u  J, t
  20. ; http://php.net/configuration.file( ~, P2 a0 R  Q- }
  21. # ?" h: Z" L& K: T1 Z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines4 b" g2 {( h' h1 b- F3 \
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).9 I7 ?, j- K& Y" M7 k
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    4 D: ]3 M, m! ]: e' F  ^
  25. ; they might mean something in the future.
    ! |' Q; f* J4 u: r9 ]8 a$ Y

  26. : m0 k3 Y8 _2 w2 K2 S
  27. ; Directives following the section heading [PATH=/www/mysite] only
    , Z5 c& `. p" c' U, F  Q5 |
  28. ; apply to PHP files in the /www/mysite directory.  Directives' L5 b9 ]1 `' h( i5 O+ Z
  29. ; following the section heading [HOST=www.example.com] only apply to
    : W9 r+ I/ G( z: [
  30. ; PHP files served from www.example.com.  Directives set in these
    : |, H8 G% c% Y1 ~; j) o7 ~
  31. ; special sections cannot be overridden by user-defined INI files or. x- D% S4 A) r5 O; v% F
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under* e3 a' H1 e  T$ `" g
  33. ; CGI/FastCGI.
    % y$ i* a. A1 g8 J8 W9 z
  34. ; http://php.net/ini.sections
    , r8 F6 w# |9 B4 g* D
  35. . S4 j2 u; W6 _; [
  36. ; Directives are specified using the following syntax:. B2 s5 m2 [2 h0 w/ _' A
  37. ; directive = value
    5 Y9 y2 K: o, y0 T2 u
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.* ~7 p- U4 x0 |7 E7 y3 b" P
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ( c. O; M0 o, C- `  `- P- ~+ W4 {
  40. ; There is no name validation.  If PHP can't find an expected+ g: v# O: t0 ?+ |9 C, z) ]) R
  41. ; directive because it is not set or is mistyped, a default value will be used.3 @+ A8 h9 C* R! x$ d

  42. - i' F! L' ]7 @2 f1 l6 `' X
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one4 k/ g1 C! I+ X/ D4 g0 k7 l
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression( L/ R. `$ V+ I0 u& j
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    4 J3 f3 ?1 y8 {% b
  46. ; previously set variable or directive (e.g. ${foo})4 H' m8 `. E. `7 a4 S

  47. 6 V( |7 L- [9 Y
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    7 _4 T$ T' k- v: K+ b
  49. ; |  bitwise OR
    % [2 v$ y2 t  l6 e) W( n8 F4 R
  50. ; ^  bitwise XOR* Y3 q% ^4 a! I2 a6 U9 }
  51. ; &  bitwise AND5 f: n4 K' n+ u8 ^5 n3 i
  52. ; ~  bitwise NOT
    # \+ b3 F- e; _+ e
  53. ; !  boolean NOT/ C, F4 n: Q7 q9 K' x) _4 @
  54. ; [- t6 \, w( R3 t
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.0 n0 d5 r& i, s$ u! p7 x
  56. ; They can be turned off using the values 0, Off, False or No.
    # b, q- o5 p- b

  57. + U0 x9 }8 A  i" o# J1 g
  58. ; An empty string can be denoted by simply not writing anything after the equal) ~0 Y' O0 j) L+ f0 N; _8 }
  59. ; sign, or by using the None keyword:# X. H& t# l1 ]  X% B

  60. 8 A- O- _2 v9 V1 t3 @, w
  61. ;  foo =         ; sets foo to an empty string$ g1 p# b4 \# [, I) b# g
  62. ;  foo = None    ; sets foo to an empty string
    , A! V! C4 D) t- A" W6 o; P
  63. ;  foo = "None"  ; sets foo to the string 'None'
    & ?' y3 @# J8 ?1 x' S! w
  64. 9 t" J! \, i4 E% {% H7 F
  65. ; If you use constants in your value, and these constants belong to a
    0 Z0 _: y9 r1 t9 m) o" j5 @/ V
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),3 F& Q( t- |. ^  l" r- {' t
  67. ; you may only use these constants *after* the line that loads the extension.! O6 a) `+ x# V: k, f$ n8 w

  68. 3 e& [5 W3 B1 B  N- Q1 c
  69. ;;;;;;;;;;;;;;;;;;;6 U6 k' H; Z" f  O! L
  70. ; About this file ;2 R) ?6 I2 [' ~
  71. ;;;;;;;;;;;;;;;;;;;; k8 `8 e& t2 M. u# v
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    : z& f+ W3 J$ T& Y0 \( C; G
  73. ; in production environments and one that is recommended to be used in
    + Z3 B4 `* A( D! N/ I7 [, z- q$ g
  74. ; development environments.
    # @: j% V- A0 a

  75. 8 ]7 s) N6 @4 c7 H3 L4 I
  76. ; php.ini-production contains settings which hold security, performance and  ]8 L( _: ~7 R7 N' ^( h
  77. ; best practices at its core. But please be aware, these settings may break
    4 _7 z7 h) K, h8 R5 R) k
  78. ; compatibility with older or less security conscience applications. We& X5 I! R2 z- A+ c" d0 A/ u- k
  79. ; recommending using the production ini in production and testing environments.* q$ [7 U& \6 Q& j9 T; `8 t' H5 k

  80. 5 d: a0 m+ Q  ~! n4 g; m% ]
  81. ; php.ini-development is very similar to its production variant, except it is
    6 q5 h: m9 _2 ~: c3 G
  82. ; much more verbose when it comes to errors. We recommend using the/ P( D+ _/ x* B% i
  83. ; development version only in development environments, as errors shown to3 a  j- g% c9 k8 p. Y+ d9 d7 V# [0 {
  84. ; application users can inadvertently leak otherwise secure information.. g1 L" ~$ s# w; K' Y% X. W
  85. 7 f  q7 \' W3 ~( x. U9 R4 u3 X
  86. ; This is php.ini-production INI file.
    . e) r/ Y: b. `$ k
  87. - Y! D- f$ _7 `8 t, b. k% ~
  88. ;;;;;;;;;;;;;;;;;;;9 m; _+ l& S9 B( R# A$ r
  89. ; Quick Reference ;
    ! Z/ z4 o/ r. ~/ T) |9 y7 L' L
  90. ;;;;;;;;;;;;;;;;;;;
    1 ]8 _# T4 {, b1 Q" s
  91. ; The following are all the settings which are different in either the production) |5 r' d3 g, H! n- h& `! n# m
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ; @" [# A7 x/ q6 X" V  Y
  93. ; Please see the actual settings later in the document for more details as to why
    ' F% v7 C6 G1 S+ U
  94. ; we recommend these changes in PHP's behavior.1 w+ n+ ]- W: q0 w( k
  95. 5 I2 x# l0 H; }) L( a
  96. ; display_errors$ A, Q! f5 B" k' x9 f: B9 x
  97. ;   Default Value: On; }6 p# h; e6 P, n
  98. ;   Development Value: On
    ( t$ b( l; @. c" j: l
  99. ;   Production Value: Off5 A5 ~1 _- `+ Q) t% Y: ?$ R
  100. 1 ]" U6 p& L- p( ^, U( g% j
  101. ; display_startup_errors
    ( P, u4 |) \4 ~8 c& s- b' k& |& x
  102. ;   Default Value: Off" D/ w' ~- c1 f, v$ P
  103. ;   Development Value: On
    % W+ @3 s9 i- V2 d& o& g
  104. ;   Production Value: Off% C$ L# N1 Q4 r' y9 d

  105. 2 m' u7 x) _" V- L% Q" l9 R
  106. ; error_reporting
    ; ^, n; y1 D! ]1 y1 v% U  w- z
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
      u' L! c8 f9 h
  108. ;   Development Value: E_ALL
    4 P6 x4 |, _6 W- C4 e
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT$ ?. B9 O  q% M

  110. 8 `& ~$ i2 g7 ?; j7 R8 O6 J
  111. ; html_errors2 k  C" [" C* K: k
  112. ;   Default Value: On
    0 L0 w" t/ j- _
  113. ;   Development Value: On7 A. E3 S7 q! X& O$ ?
  114. ;   Production value: On
    ' S' B0 k; W7 [' j; ^# W/ @
  115. ! ~, s6 h6 t0 R5 @" f" p
  116. ; log_errors  ^8 R( ?. q1 R
  117. ;   Default Value: Off
      H- \) }8 L! I3 H
  118. ;   Development Value: On% F8 r& s( \) e
  119. ;   Production Value: On! W+ ~1 J# {0 T2 Q# w. W5 @4 K
  120. 9 j' i" g6 X. o+ T
  121. ; max_input_time5 Z6 \8 H4 s/ l) C- O6 ^: @" g& w
  122. ;   Default Value: -1 (Unlimited)
    * i- |8 T& n+ _9 U8 g2 R" U: n
  123. ;   Development Value: 60 (60 seconds)
    : P- M* l* y# K6 \3 G, M1 P
  124. ;   Production Value: 60 (60 seconds)" _3 `6 L. y5 u
  125. / H: Q7 P4 L4 E% P  m
  126. ; output_buffering6 e  ]% O% Q4 Q" h+ s
  127. ;   Default Value: Off
    1 m- G, ]' ^3 V( L
  128. ;   Development Value: 4096
    % H# f2 O) Q. @; K: u$ Y/ H
  129. ;   Production Value: 4096
    : X: ?/ g# E# V" t! u$ X4 c

  130. ' v( {! Y! d  K5 T9 r- [
  131. ; register_argc_argv$ W( V  n/ \: K/ k) m
  132. ;   Default Value: On
    2 n0 s' A7 ~; k: y  O6 ~1 q
  133. ;   Development Value: Off7 W' V: ]! o& a8 l$ Y* B
  134. ;   Production Value: Off9 K: ]* L: F2 R& j

  135. 7 M+ Y0 J4 k! @( s% m0 Z% W+ A
  136. ; request_order
    . s8 X" _7 T6 m6 S  d+ N2 X  |- x
  137. ;   Default Value: None! j+ y& Z0 H4 x! \& B
  138. ;   Development Value: "GP"
    3 j/ U+ j7 z% i$ r: _, p
  139. ;   Production Value: "GP"
    % }) L3 D9 _1 W; O# I/ y
  140. ; M9 H& X; \, w7 a+ d$ z
  141. ; session.gc_divisor: W$ h' x- A( E' y
  142. ;   Default Value: 100- R$ I5 a1 w) E7 W) @
  143. ;   Development Value: 10004 A4 a- H( Q! S$ _
  144. ;   Production Value: 1000
    5 ~& K5 M" O" Q; r

  145. ; H  s# P: ?3 t" C( a
  146. ; session.hash_bits_per_character
    2 ^; [4 ^+ o6 ]& X: q
  147. ;   Default Value: 4+ o* w; i4 j/ V. ^
  148. ;   Development Value: 5; L3 q; v' L- o+ j3 t8 e! H
  149. ;   Production Value: 5, P9 C3 z; V( Y* a: I

  150. $ ]* v9 C' v) j) O, @
  151. ; short_open_tag
    $ N, b5 X0 v& H
  152. ;   Default Value: On) k1 l( [" X$ ^+ d" K
  153. ;   Development Value: Off
    ! L' s( j$ ?' A
  154. ;   Production Value: Off, X7 e# N' [4 O4 G& v/ X( Y

  155. ) s9 ]1 V$ F! n$ o
  156. ; track_errors7 c* J/ Y/ `: y3 U
  157. ;   Default Value: Off
    # ?  f* D0 [  i1 o/ l% ?
  158. ;   Development Value: On
    % x; n$ M3 D  a  P& n5 E( y' q1 c: ^" O
  159. ;   Production Value: Off- }5 s9 U8 J" r* w! x
  160. ; l" Q: o8 v, o
  161. ; url_rewriter.tags
    ' \+ s2 O8 g6 F6 R! B1 D
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    + v. T: O; b3 |
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' ~9 M$ m4 C/ U3 U( L
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 T4 o8 M) R7 d) g
  165. ' _7 m0 L" J( y4 B9 b' K% K& f. F
  166. ; variables_order
    * k  S* q6 d& \$ M2 w0 B* `* _4 V. U- A
  167. ;   Default Value: "EGPCS"- v* @6 ^2 i( x% B" @6 ^# Y
  168. ;   Development Value: "GPCS"9 _, ^* p3 Q; V
  169. ;   Production Value: "GPCS"
    7 L4 q4 N( a% I8 u
  170. # B; \  k5 p# k4 @1 e6 x
  171. ;;;;;;;;;;;;;;;;;;;;
    ) {7 }- j' g0 w. J# K
  172. ; php.ini Options  ;
    $ L4 N  k% o3 \" @8 R6 b$ H- G
  173. ;;;;;;;;;;;;;;;;;;;;
    # `7 c" O; K0 ~  \9 G  S
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini". ?; R: y" L3 `. N
  175. ;user_ini.filename = ".user.ini"! B3 y& J5 y6 \- F6 H- X

  176. / \  E3 `) n6 m6 X, s3 ~/ {
  177. ; To disable this feature set this option to empty value
    4 I8 N! C' Y4 K  {; H' U
  178. ;user_ini.filename =7 C7 X! ]- v% Z/ Y' ]6 s  N: b
  179.   B+ F& d6 U/ P3 y! l
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)9 O' w& E% I6 p- a' A5 i: A
  181. ;user_ini.cache_ttl = 3002 S) q' S4 O7 |; t, m. S

  182. + |9 m# W0 Y# t& K2 l$ D( u: J
  183. ;;;;;;;;;;;;;;;;;;;;
    * n, @1 W9 z: @7 J) @* @+ w
  184. ; Language Options ;
    ; S6 ]) R& }# ^# L! O- m& O
  185. ;;;;;;;;;;;;;;;;;;;;
    ! S3 M# P4 O+ ]9 ~: q5 E& j
  186. 3 h6 n& K& Q! ~  _( F5 U
  187. ; Enable the PHP scripting language engine under Apache.
    0 E  M  p0 z) C5 ?; h7 A
  188. ; http://php.net/engine' f3 d9 z7 q6 P% V- F+ `( N
  189. engine = On
      u2 h3 ?( Z+ M( t5 P
  190. . `' z) m3 d" q' O+ a
  191. ; This directive determines whether or not PHP will recognize code between0 X' [3 L$ v6 @9 r9 E/ g9 N$ _
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    # R4 A5 _- s0 Z$ t# g
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ! [* F1 h( |( r& n
  194. ; should be disabled, as enabling it may result in issues when generating XML; ]2 e) f4 v% y# _, t
  195. ; documents, however this remains supported for backward compatibility reasons.# m2 i% M& U2 L, X4 R3 \- c
  196. ; Note that this directive does not control the <?= shorthand tag, which can be7 R, l& _% F/ t/ T
  197. ; used regardless of this directive.
    6 h% d6 b0 h( V( ^4 {, f) V% p
  198. ; Default Value: On
    / i2 m' n/ v- b& x# D* n. L
  199. ; Development Value: Off7 T) i1 O" m" ~. `
  200. ; Production Value: Off
    - }! G! r' j+ k3 K0 @6 e. E
  201. ; http://php.net/short-open-tag
    0 i) Q( I7 z" z
  202. short_open_tag = On
    ' {( Q4 m2 {3 F4 R5 g

  203. ! V+ \. Q3 [5 a
  204. ; Allow ASP-style <% %> tags.* J! W7 ~1 _: I, J& G& Z! E7 x
  205. ; http://php.net/asp-tags3 B8 ~! j) M5 Y' k. {
  206. asp_tags = Off
    / |9 u: C: U5 `6 Y/ G
  207. , ?7 h- K# j. _- ]
  208. ; The number of significant digits displayed in floating point numbers.4 d. A( I) P0 o; H% @% k! r
  209. ; http://php.net/precision  A$ |5 w( k9 S4 Q+ c/ T: F
  210. precision = 143 [" n! Z4 B% r

  211. $ R$ b. F4 z# P  E% |; ]# }
  212. ; Output buffering is a mechanism for controlling how much output data
    : [8 u" k% q. H! X
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    $ S. j- H7 P2 L! k/ Q4 y. d. K
  214. ; data to the client. If your application's output exceeds this setting, PHP' \4 L  p7 z" V
  215. ; will send that data in chunks of roughly the size you specify.
    % Q, x  Z% p5 q8 \3 E  o
  216. ; Turning on this setting and managing its maximum buffer size can yield some5 l5 V$ _9 B7 j
  217. ; interesting side-effects depending on your application and web server.6 @2 U( z/ R" s4 f/ D
  218. ; You may be able to send headers and cookies after you've already sent output$ ^: l0 \; }8 ?) y  t
  219. ; through print or echo. You also may see performance benefits if your server is
    ) R4 B" v, p% H0 \: R' B
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    , x  H( ]5 S) L6 U
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ! N3 g' b: o% V- W, F& h
  222. ; reasons.. H/ s* T3 T2 s5 A% B
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    6 V" q+ H& U" c( H* t% Z5 @
  224. ;   functions.# J( h0 [' @; I3 F
  225. ; Possible Values:" w; U* \& Z/ q$ G/ K; x$ Z" ]
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    , b; @2 h& I6 z4 s* o8 ]/ X. `  D- E
  227. ;   Off = Disabled
    / |; H$ h- c! |: c4 C
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.; `% K- u3 ]/ s6 Y1 m  R& l' l  K# k
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
      R) e1 j/ }. e
  230. ; Default Value: Off1 B; c. k5 M$ S& b3 u
  231. ; Development Value: 4096
    " G- J: Z, P% q  o( C* ?2 R* d6 P
  232. ; Production Value: 4096) `" Y8 \$ B$ V, B  t& ~$ C
  233. ; http://php.net/output-buffering# O5 R* }! s) R" j3 o
  234. output_buffering = 4096! [# n: Y2 v3 t5 X7 z; V

  235. . b0 }6 J$ x1 A# \2 X. L
  236. ; You can redirect all of the output of your scripts to a function.  For
    - T; D" p0 ^: `7 H
  237. ; example, if you set output_handler to "mb_output_handler", character. v3 o6 X# L: Q
  238. ; encoding will be transparently converted to the specified encoding.7 ^- V8 P4 d3 n5 ~$ m0 O
  239. ; Setting any output handler automatically turns on output buffering.
    7 p# c! d, G+ ?
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ' a7 _0 |9 v8 T9 W& C/ p7 ~( _
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    . T' J- K; D- Y4 \5 V9 v+ ]
  242. ;   Using this ini directive may cause problems unless you know what script
    $ l7 ~& c. b9 I; }) Z7 Y0 {
  243. ;   is doing.0 X# k& D6 r$ P8 @6 x4 I7 P% X
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"  ^) D4 m1 W% }* q% y
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    6 [1 R; k( g0 g: \/ ~" u, u" b
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ! R" j* F% k$ Q+ U% @  H2 Y; a/ W
  247. ;   Instead you must use zlib.output_handler.) c7 _6 f: C+ Y  s0 A. q( {1 H
  248. ; http://php.net/output-handler: r5 E& T' a2 Q& f( [4 v
  249. ;output_handler =
    ( s" r9 \' L- W8 e1 c
  250. 2 b) k( M; O2 a, K4 N
  251. ; Transparent output compression using the zlib library1 e4 H9 z9 t5 E( V
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    # g" D/ J6 s$ P/ y; N
  253. ; to be used for compression (default is 4KB)- }( G- Y- }4 ~/ a3 H
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    8 z* g0 n; H  B0 ]# I% I2 y' D
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    ) R$ s* d2 e. y6 S
  256. ;   compression. If you prefer a larger chunk size for better
    3 B4 X& @4 N3 x+ S$ R0 ]+ ~$ h# v
  257. ;   performance, enable output_buffering in addition.* j8 \3 ^( c; n* R/ l/ |9 N' h
  258. ; Note: You need to use zlib.output_handler instead of the standard
    $ e; i5 L2 `6 X
  259. ;   output_handler, or otherwise the output will be corrupted.
    6 F* b. L" b1 B1 F, r
  260. ; http://php.net/zlib.output-compression
    : R( X4 J" x! k& x; x+ k
  261. zlib.output_compression = Off' V) i( B7 \" c, w( y
  262. 8 [* q  J7 C' I9 `" P; d5 O
  263. ; http://php.net/zlib.output-compression-level
    1 a2 P) ?& S: A; V3 P3 A, x3 P7 b( V6 p
  264. ;zlib.output_compression_level = -12 A- p  G/ P: p4 d
  265. . r) w: Y# e/ E% D: ~; q
  266. ; You cannot specify additional output handlers if zlib.output_compression
    , W( \5 A6 Z, t
  267. ; is activated here. This setting does the same as output_handler but in+ l4 S( ?$ ?& T- V. \3 |& G# l
  268. ; a different order.7 Y8 }7 K/ H# @# S$ _# c
  269. ; http://php.net/zlib.output-handler2 G7 j9 |+ P3 [$ }9 I4 l
  270. ;zlib.output_handler =- M) j8 y, \6 d
  271. 7 `9 m$ F$ [' G" G$ Y& U
  272. ; Implicit flush tells PHP to tell the output layer to flush itself* G, Q4 r+ h# b4 o
  273. ; automatically after every output block.  This is equivalent to calling the
    ' m# O; f$ y# [; }
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ! y6 R: {9 h. x) h3 X0 }
  275. ; and every HTML block.  Turning this option on has serious performance$ E. x: Z# G( V) ^! `2 X
  276. ; implications and is generally recommended for debugging purposes only.! J: E' L0 U# o$ l' ]
  277. ; http://php.net/implicit-flush. k, K7 J& R0 H5 `3 i
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 p; Y4 j  J2 m' m, w6 P5 v
  279. implicit_flush = Off
    + U' n. o/ J% ^

  280. ! Z! w& l; ?+ \' f6 @+ ~2 t  _
  281. ; The unserialize callback function will be called (with the undefined class'
    4 X* U8 R% {; f
  282. ; name as parameter), if the unserializer finds an undefined class
    * b# M, L: q9 q7 R# I
  283. ; which should be instantiated. A warning appears if the specified function is- z1 e- e. V8 F) |
  284. ; not defined, or if the function doesn't include/implement the missing class.
    2 b; a7 p  {8 \: ~
  285. ; So only set this entry, if you really want to implement such a
    8 N7 }; m0 |8 U+ q" U* |
  286. ; callback-function.. a7 o9 m! i& c1 \4 `
  287. unserialize_callback_func =0 A- |- V1 v5 C* I
  288. ) u" t* h/ c+ L7 U* h9 \. l" @4 m4 e
  289. ; When floats & doubles are serialized store serialize_precision significant
    % _' `- K) K6 y
  290. ; digits after the floating point. The default value ensures that when floats7 |) R: z  D( ^9 X% h
  291. ; are decoded with unserialize, the data will remain the same.
    ; m; S0 R* T3 ?3 |4 X; Z( ]2 }
  292. serialize_precision = 17
    & n: N) `, L; D2 B# l2 j, i) d
  293.   ^3 t1 ~& [% L# }
  294. ; open_basedir, if set, limits all file operations to the defined directory+ u4 T5 [5 z/ O/ _: U: h% C
  295. ; and below.  This directive makes most sense if used in a per-directory
    0 U2 w, K/ h% b5 w- U8 `
  296. ; or per-virtualhost web server configuration file.
    " ?$ S' y8 h9 {+ ?3 k
  297. ; http://php.net/open-basedir4 l! t4 \  w7 E$ }; o
  298. ;open_basedir =2 k! S1 }) ], p1 x  h. i
  299. ) Y7 J* v( K$ l7 G" f
  300. ; This directive allows you to disable certain functions for security reasons.; H: ?# t/ @0 u$ _
  301. ; It receives a comma-delimited list of function names.
    0 X4 |) `- k6 m! J$ M! ^7 h7 G
  302. ; http://php.net/disable-functions
    ; v+ ^; }8 x* u. J3 H1 a/ F
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru, C, v$ f0 M5 Y3 l

  304. 0 k- t/ J7 e: }! v- Z
  305. ; This directive allows you to disable certain classes for security reasons.
    # b" g* B* q- p$ S7 N1 F4 J* Z  U
  306. ; It receives a comma-delimited list of class names.
    . }+ s- N- X5 X% U, E4 w* {
  307. ; http://php.net/disable-classes# J1 i& @; ~, V! b0 J
  308. disable_classes =
    # b, [; n! ^- A8 l3 \
  309. $ R, S, f: {+ m9 C  {
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in. l/ D& j% B" ^; P
  311. ; <span style="color: ???????"> would work.+ \9 C$ I- i$ }2 t
  312. ; http://php.net/syntax-highlighting1 N! v0 f, Q* x# |; g
  313. ;highlight.string  = #DD0000
    7 J  P$ j- L$ U+ b
  314. ;highlight.comment = #FF9900
    $ h7 q( N/ F% I' i4 G- [4 w
  315. ;highlight.keyword = #007700
    ! y) P  v- n: B3 G! o
  316. ;highlight.default = #0000BB
    & ]! I5 ], l: a( p! L6 l8 w$ B6 ^
  317. ;highlight.html    = #000000' u! d, S4 p8 w5 j; ]
  318. * T8 v, ^0 c+ E) v
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    2 w+ Q! e+ F6 h9 F; g0 A
  320. ; the request. Consider enabling it if executing long requests, which may end up* k3 E: v0 F/ o5 s* y
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior  E4 t7 _! Y  ^# H! g
  322. ; is to disable this feature.- C( E; v( x2 J7 L
  323. ; http://php.net/ignore-user-abort
    ! V+ T% C8 s' @( E9 B2 V
  324. ;ignore_user_abort = On* a& _( m$ Y: Z. l0 C
  325. # F) K$ q5 N" Z, h: ^6 y
  326. ; Determines the size of the realpath cache to be used by PHP. This value should* E& F& {& I- D0 j  x* r8 g
  327. ; be increased on systems where PHP opens many files to reflect the quantity of0 N- f3 |) n3 n: z6 V( d- W5 {) _9 t* S
  328. ; the file operations performed.
    ' a% S- U- m6 O2 b) a6 Q$ J4 p
  329. ; http://php.net/realpath-cache-size3 Z" R& h4 B# O) A
  330. ;realpath_cache_size = 16k
    5 J- k. g5 \! S5 B1 y( q7 {
  331. 3 ~, x, ]6 H3 r# |3 [
  332. ; Duration of time, in seconds for which to cache realpath information for a given+ j8 [) @2 I6 K/ e+ Q8 o8 C$ O
  333. ; file or directory. For systems with rarely changing files, consider increasing this2 _& x) y7 C* f6 X; s2 Z0 Z* A
  334. ; value.( m. i# t2 S/ q9 R5 O
  335. ; http://php.net/realpath-cache-ttl1 X4 g) q) I$ d( ?
  336. ;realpath_cache_ttl = 120
    ! k/ M$ Y  S9 g7 k

  337. - R+ t* A+ z1 O! Q3 p3 ^* v* _
  338. ; Enables or disables the circular reference collector.1 m% I3 Y. O3 n! w$ {
  339. ; http://php.net/zend.enable-gc
    8 W% c* P0 K; \7 `3 n& P' o
  340. zend.enable_gc = On0 p: `. S: u, `# p8 B

  341. * X7 r$ V4 X" ^" ~
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    * K: e* M5 R9 i3 D/ D
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
      `. O; e; u" d: H4 G: p* F
  344. ; encodings.  To use this feature, mbstring extension must be enabled.  h2 i8 x1 t3 \, q
  345. ; Default: Off
    ( a- @+ V% p( M+ M9 A8 v
  346. ;zend.multibyte = Off
    , B' x* R0 P1 j3 b; u7 y# z& x( r! |
  347. ; Q; p% a7 n, ?1 J9 l
  348. ; Allows to set the default encoding for the scripts.  This value will be used4 U! `' w) W9 R0 P; n' u  @
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    & |6 {; L$ |: K- q2 l
  350. ; Only affects if zend.multibyte is set.
    9 N! [. R1 D0 H* u
  351. ; Default: ""
    & x+ t+ N9 @% f% ~' t' H3 j( M
  352. ;zend.script_encoding =
      d: B+ ^1 e3 m; {6 A& ^
  353. $ i" O( y, u6 L0 c
  354. ;;;;;;;;;;;;;;;;;# n( Y% J- J6 V( b
  355. ; Miscellaneous ;8 Q. l3 x" I1 @7 n! I. j
  356. ;;;;;;;;;;;;;;;;;
      n0 |3 _$ j1 J, z
  357. & Y2 ~+ {* `1 S( ^( ~
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    + _2 j, d9 ]: z6 B  g5 s
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    . R! L+ T7 e* `4 I
  360. ; threat in any way, but it makes it possible to determine whether you use PHP! z+ a( u6 V+ ~8 c- ?1 G- G
  361. ; on your server or not.7 J8 F0 N& a' U- G! r6 A6 w3 e
  362. ; http://php.net/expose-php* a' z& x7 |. {0 L
  363. expose_php = On5 n% \% G1 x7 p: ~- d+ f& }

  364. * M0 L- y- Z9 H2 X
  365. ;;;;;;;;;;;;;;;;;;;# o* H: C6 r0 h3 u) i, O1 G' ]
  366. ; Resource Limits ;
    5 U  i4 {6 A* I+ q& m
  367. ;;;;;;;;;;;;;;;;;;;$ t% F) s. ^% G! z- e

  368. % y: q, B$ {; m# P
  369. ; Maximum execution time of each script, in seconds
    ) q# d: O1 ^9 X( ]5 v% ?
  370. ; http://php.net/max-execution-time, I) _! F- |3 I. H! K/ n
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ) |- P7 v5 R: W3 `! W
  372. max_execution_time = 300' z1 r& ]8 v% R; _# r
  373. 0 B7 E, Q% Y2 m. E* }
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    2 y8 z# ^* G) D7 o# d1 x/ p
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly. q! K. f# i8 T* P7 y
  376. ; long running scripts.! h- B& g. f2 x0 o( j3 \: e  [
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI8 s% k! y/ Y8 ]3 E$ w+ ?3 C
  378. ; Default Value: -1 (Unlimited)
    9 X( ^  s2 P* R4 b: }0 [5 u; U3 t
  379. ; Development Value: 60 (60 seconds)% P; S2 q* T$ P+ O
  380. ; Production Value: 60 (60 seconds)' Y. Y; b; b- G# o
  381. ; http://php.net/max-input-time3 H8 l9 `5 J2 g; b+ T( {
  382. max_input_time = 606 K4 c( W6 W' h) P

  383. 7 I3 ?( h: |; R* z. m
  384. ; Maximum input variable nesting level
    4 S$ e) Q; r! ]8 A9 ^
  385. ; http://php.net/max-input-nesting-level
    " g# ]3 O* h0 J
  386. ;max_input_nesting_level = 64
    , ~" j! |- f7 Z( ~+ a) a6 Z  e

  387. + ^- ~: J- I$ e  y6 {+ u0 n7 v
  388. ; How many GET/POST/COOKIE input variables may be accepted( I6 e3 h1 |2 \# ^5 Z
  389. ; max_input_vars = 10006 D1 A; _5 f* G( K

  390. ; P& V) e2 h# ~* F
  391. ; Maximum amount of memory a script may consume (128MB): P/ _, }# s  ~
  392. ; http://php.net/memory-limit3 ]/ g* {9 O0 m  l' g
  393. memory_limit = 128M6 g2 ?# p) r. _8 M" M) y1 k& K7 f
  394. . ^1 r- w- U2 b2 q' u" R
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;& P8 u5 j) @) W9 P0 ~7 f1 Z+ J, L
  396. ; Error handling and logging ;( `' H; |2 r8 R/ l8 H4 L
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;' U* _2 e$ o, N1 d- {% }
  398. % i3 b' _7 C, o! m# [8 K
  399. ; This directive informs PHP of which errors, warnings and notices you would like
      E; `% C; P+ \2 c8 ]
  400. ; it to take action for. The recommended way of setting values for this1 K' G+ o/ l+ D6 ~, k% M
  401. ; directive is through the use of the error level constants and bitwise
    ! G$ E! p- Y% q
  402. ; operators. The error level constants are below here for convenience as well as, K" k5 u; B) w4 K0 V0 p6 i: o
  403. ; some common settings and their meanings.
    3 B, |& l+ C- }8 s
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT: L) R, i; C/ u/ T
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    $ u  u; K, G1 {4 I, ], Y. D( Z
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    4 k. z! N' X3 Y/ e$ \8 Y0 A
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    7 _0 S' p& [5 U/ m$ Y
  408. ; resources complaining about best practices and coding standards. That's what# H6 Q# t& J2 C+ C! Q
  409. ; development servers and development settings are for.
    " L9 N3 \1 o$ _0 r# y. A
  410. ; Note: The php.ini-development file has this setting as E_ALL. This% j0 I9 h% t$ v* E2 o
  411. ; means it pretty much reports everything which is exactly what you want during+ }' W& {$ {6 W# T
  412. ; development and early testing.
    9 G- |# ^" V, c6 Y/ O" `2 J
  413. ;
    " V4 v' c( B' I, t$ I- z
  414. ; Error Level Constants:" c* P6 V+ |* d" S4 \
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)6 _* d# ]0 q7 @3 _& @
  416. ; E_ERROR           - fatal run-time errors
    9 s) _1 `( B! \
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    : f( P# `* c0 [+ x+ ~5 w
  418. ; E_WARNING         - run-time warnings (non-fatal errors)1 U8 U# |: _$ {2 l& Q: C4 y
  419. ; E_PARSE           - compile-time parse errors( p0 N% @( ]3 n( }( K
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    - L3 F7 N! V, h9 E. o% j
  421. ;                     from a bug in your code, but it's possible that it was0 ], s! o" K' N. R/ G
  422. ;                     intentional (e.g., using an uninitialized variable and; I0 m- w1 ^# \. q, \$ m* Y
  423. ;                     relying on the fact it is automatically initialized to an
    6 W6 X& W0 y! F; k2 m7 M3 Q6 C( m# C
  424. ;                     empty string)4 v9 e$ x  q. I7 R( F
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    # c& ^( Q; m/ `
  426. ;                     to your code which will ensure the best interoperability  g$ W' q' _  _9 O$ q3 r, i+ y7 d
  427. ;                     and forward compatibility of your code
    / M! B1 q& R) m5 g
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    - U( h8 t& {6 v/ A8 J) p) w
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's8 @5 T! s7 A$ N/ [
  430. ;                     initial startup5 T1 i( U: ~. {# q, g) y
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    * \+ _2 p; L. ~7 d' x
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    - _+ Q2 @. {# E, q" }
  433. ; E_USER_ERROR      - user-generated error message$ s2 {6 H3 `1 v# w
  434. ; E_USER_WARNING    - user-generated warning message, R9 g# `/ l0 [: M  y7 C1 x1 R/ j4 z
  435. ; E_USER_NOTICE     - user-generated notice message
    6 Q$ I4 j& a; f; I' q& K# L) Q
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    , o# `' q- p4 k" |' F) v
  437. ;                     of PHP
    ' @; w- ?% |7 Q- n
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings( _' d5 ?& ^9 S  ^9 _- t
  439. ;
    ' q3 c  [( P# h" ^
  440. ; Common Values:5 R5 ]6 ]: p0 w" K2 L) J: f) Y
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)) |5 k; n9 h; m: B- f
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ! n' t' `" a' v4 K$ t$ q6 X
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    : \1 b5 [8 R# Z; J5 j
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    2 j* {3 R, y6 |6 P- O+ d7 q) @4 ]! b
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED( \7 q8 `. n2 e- i
  446. ; Development Value: E_ALL' N9 V# Y5 }1 R7 a/ p
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    7 c( H5 \, R# O9 m/ T; O
  448. ; http://php.net/error-reporting! `) K2 s) n" Z0 j. F6 l
  449. error_reporting = E_ALL & ~E_NOTICE0 e* o8 x, x( C4 `5 Q
  450. 2 v0 P, ~0 W0 C/ u) |
  451. ; This directive controls whether or not and where PHP will output errors,
    # V, h5 P. Z4 H; u0 x
  452. ; notices and warnings too. Error output is very useful during development, but0 u7 P, c' J2 n3 Z
  453. ; it could be very dangerous in production environments. Depending on the code
    ) m) z" I5 g" Z8 v2 u0 U
  454. ; which is triggering the error, sensitive information could potentially leak
    2 m+ J0 J7 h6 q+ }# C+ C% Z+ q
  455. ; out of your application such as database usernames and passwords or worse.5 }5 x+ G, u; W2 C
  456. ; For production environments, we recommend logging errors rather than
    / Y3 G/ s6 E$ j& c
  457. ; sending them to STDOUT.7 f. v- M5 z  l
  458. ; Possible Values:
    ) e( ?7 ~/ ^1 w/ e$ E+ N$ q/ h# e
  459. ;   Off = Do not display any errors
    : m! @- y$ S7 J  I7 G7 ^- E4 P1 \% ?# H
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ; X. v* J1 u# i6 x
  461. ;   On or stdout = Display errors to STDOUT4 }; U3 O; P% i7 j1 B9 y. z
  462. ; Default Value: On
    9 K% D: _. ^& g
  463. ; Development Value: On
    / h$ V4 G2 f1 F" ?% `1 N
  464. ; Production Value: Off) [& B: v( ~5 M
  465. ; http://php.net/display-errors$ I! }- U" S. c
  466. display_errors = On
    5 K7 n8 ]% k, Y# F$ S- H
  467. , e8 `# }# i/ z# w7 d
  468. ; The display of errors which occur during PHP's startup sequence are handled) ^/ p0 m: K& r5 B
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    , M! U6 k! D: F: s$ s" ~
  470. ; errors from clients. Turning the display of startup errors on can be useful in+ ]' q0 A3 S& a# v& f( |
  471. ; debugging configuration problems. We strongly recommend you
    ; C2 b- s( y, I! F) ?6 T0 `" ^
  472. ; set this to 'off' for production servers.
    ( F0 n: X3 o, n# y4 Z4 r
  473. ; Default Value: Off, k4 X# I/ P. h, U3 \
  474. ; Development Value: On; X' i' D. ?) h
  475. ; Production Value: Off2 b" f+ i3 L# }2 a0 j/ I, C: F# E
  476. ; http://php.net/display-startup-errors
    5 C3 w5 p4 n* y) ]* x: M- P
  477. display_startup_errors = Off
    ! P* O; ?. V9 J6 x" {8 D! N6 P
  478. $ }% R) u/ X; C( R7 g. n2 m
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    , ]* o( Z, B5 ]9 a, z- v9 [: I
  480. ; server-specific log, STDERR, or a location specified by the error_log
    " F8 Y5 B% U+ |
  481. ; directive found below. While errors should not be displayed on productions/ C: q; d0 Y8 s" G/ B, Q, f  N) J
  482. ; servers they should still be monitored and logging is a great way to do that.
    8 w3 z6 H' O) l5 u3 M
  483. ; Default Value: Off
    2 X0 `! ~9 L0 m  s1 Q  l' i6 g
  484. ; Development Value: On
    9 C, Z: J( D1 D$ |
  485. ; Production Value: On
    ) ?- k9 C2 c/ e
  486. ; http://php.net/log-errors% g- ~1 N" K, n8 F  K( ^" ^
  487. log_errors = On
    8 \& A4 {9 j0 B4 q. u2 @8 t1 j6 J# V
  488. 0 N" I) ]: N5 V
  489. ; Set maximum length of log_errors. In error_log information about the source is
    0 K4 I* l; [- |2 N7 ~
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ) K# F- N3 t4 f0 E
  491. ; http://php.net/log-errors-max-len' G$ ]1 i# j& |* t7 V2 |4 {0 S
  492. log_errors_max_len = 1024, a/ u( L1 P/ _" C9 x

  493. + Y( A& u5 t, N  `# `" C; Z
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same" J& S. ^- N6 W7 ~
  495. ; line unless ignore_repeated_source is set true.
    ' `" i9 e& K: x% ]% J  |! i( Y
  496. ; http://php.net/ignore-repeated-errors
    , ~, u( |. R! N2 }6 z7 _$ Q! t3 ~
  497. ignore_repeated_errors = Off
    . V6 U% O8 v- e  p0 K/ y3 Y

  498. 2 ]* K, p; p% ^* d; K
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    0 Z3 h2 X7 t, `9 x) m
  500. ; is On you will not log errors with repeated messages from different files or
    1 x4 g2 C. C+ `. j- g1 q+ b* s
  501. ; source lines.
    " k4 p3 I8 H+ X  C; _/ X# s( L, C
  502. ; http://php.net/ignore-repeated-source
    ) f, Q, c. x3 D! Q: C# o
  503. ignore_repeated_source = Off
    4 n4 p* w7 ^( |, m. B' C$ L
  504. " F- Z. @1 A, X- u1 g
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on% s6 a+ P3 _! `; u4 V7 E5 j( s
  506. ; stdout or in the log). This has only effect in a debug compile, and if/ t7 O. P  p! X- D/ S% O
  507. ; error reporting includes E_WARNING in the allowed list
    - r) f6 W# d0 x. c9 \3 g
  508. ; http://php.net/report-memleaks1 i2 O  u& h+ ~9 H  G
  509. report_memleaks = On. g' X6 N% [) b
  510. : }& {3 `. T$ c% u
  511. ; This setting is on by default.. d% [6 f; F% [" [' _9 Q
  512. ;report_zend_debug = 0& {7 g! A# I8 E
  513. " M# x( b7 x' R6 E( m
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value9 `1 e( s1 N& k
  515. ; to On can assist in debugging and is appropriate for development servers. It should3 t4 V  s/ E9 |8 _) t
  516. ; however be disabled on production servers./ v. Q- ~2 u9 K& ?
  517. ; Default Value: Off
    % S: t8 z  P7 ?$ p/ d1 _1 K7 }3 `
  518. ; Development Value: On
    ) M' m$ \; O* i1 q5 X
  519. ; Production Value: Off
    % z  d5 X. p! x* W" k& R" h/ a
  520. ; http://php.net/track-errors
    ; y6 _: [* H. M. l0 n5 O
  521. track_errors = Off- d% \& n) R! d* m0 J3 C% k
  522. 9 [4 P8 S9 w9 Q0 f* x; l3 Y
  523. ; Turn off normal error reporting and emit XML-RPC error XML* d; ^2 T' a& L: {# W9 D2 m0 Q
  524. ; http://php.net/xmlrpc-errors
    * b2 ]4 P: x  |7 K' T
  525. ;xmlrpc_errors = 0
    , F1 Q4 U* }/ k$ L! }& E+ l6 e4 S

  526. 2 w: J/ d. U2 f3 D
  527. ; An XML-RPC faultCode4 W1 s. e+ a) C* ?4 _, I
  528. ;xmlrpc_error_number = 0
    6 t9 ]2 M- ~+ m: f9 n- j1 i
  529. 8 K4 N/ b/ I! t2 ?, _" t
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    - _7 V3 a0 Z3 S0 d) O% U) s$ P
  531. ; error message as HTML for easier reading. This directive controls whether
    4 y( @( k/ k! j. M8 `3 x
  532. ; the error message is formatted as HTML or not.8 z# b: ]- f& W5 ^  A
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    1 a9 \8 s% W8 a! I: N
  534. ; Default Value: On
    5 g2 G% }* U3 Z1 }$ }7 [2 F! M( a
  535. ; Development Value: On$ D# _- \# ]0 n( e$ I& W8 B
  536. ; Production value: On, D& ]! ?" n$ o8 [% {5 e
  537. ; http://php.net/html-errors
    2 e. Y- h. b6 _7 ]+ _& ^# Z
  538. html_errors = On4 H( G: k. v, \
  539. . S/ g2 V- c; C, j5 a
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP& T2 `/ d( |0 s. R
  541. ; produces clickable error messages that direct to a page describing the error/ z. k6 h. s) G! m" s0 T+ Z# M- D3 J
  542. ; or function causing the error in detail.
    5 Q" H- j; k4 J
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    9 d) w6 M9 O- R) }7 Z
  544. ; and change docref_root to the base URL of your local copy including the
    ( [* y2 i$ h9 u- A% @; h
  545. ; leading '/'. You must also specify the file extension being used including$ Y9 C3 W4 l: V( ~* z2 n# d3 h
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    % Y/ I: `, _( j
  547. ; case no links to documentation are generated.
    ( g* A1 W2 Q6 j7 _5 N0 {' _7 c, j* Q8 B
  548. ; Note: Never use this feature for production boxes.
    # F& a# E9 a2 t6 d
  549. ; http://php.net/docref-root
    1 [9 W% b0 G' ?1 X/ w7 O6 r3 c
  550. ; Examples$ Y7 m$ m; c5 q
  551. ;docref_root = "/phpmanual/". |0 `- P7 V) ^" O' A$ G

  552. + B9 d/ c* K4 j/ h( j6 z7 C
  553. ; http://php.net/docref-ext7 \8 v; x6 C" r9 @
  554. ;docref_ext = .html- N3 L( o2 A0 z, a2 P$ V% w; |+ @4 N. s

  555. ' Z) w9 D: S' M/ h. O) Y
  556. ; String to output before an error message. PHP's default behavior is to leave( \$ S9 Q/ M, j* O3 c" `
  557. ; this setting blank.
    ' r5 {0 w- X/ T/ n3 b, |! x
  558. ; http://php.net/error-prepend-string! G' Z' C" z  c2 ~
  559. ; Example:  T6 \* |8 Z* ^. M; q
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    & b) j$ S0 P8 t# Q" a% c) Q. N' f) n

  561. ; H$ e, A6 B" Z8 l, f
  562. ; String to output after an error message. PHP's default behavior is to leave
    ! P) ~5 E4 r; s/ m
  563. ; this setting blank.  |" A/ _0 R! N( H4 b% s2 @9 P0 ?
  564. ; http://php.net/error-append-string
    " v1 Q; f* H9 Q; V% R
  565. ; Example:' _& O4 t% g. W7 J, d" |
  566. ;error_append_string = "</span>"% k  t0 A# S. {" T( P4 N! T; c

  567. $ J% b% w1 R$ x) |9 o3 X8 S
  568. ; Log errors to specified file. PHP's default behavior is to leave this value5 W! `2 l$ n- }' Z
  569. ; empty.
    , M( K- F) w! g; X/ w9 M. [
  570. ; http://php.net/error-log
    * S; [7 L- j4 k" ]. D/ @1 k0 X
  571. ; Example:2 ?- I, w0 M  K. p/ m$ v2 A
  572. ;error_log = php_errors.log" i9 E' {: ?# ?) C
  573. ; Log errors to syslog (Event Log on Windows).  G6 y) w4 O; l( h
  574. ;error_log = syslog
    % B8 [4 [# `) ~% c3 t

  575. ! F4 C5 A3 `2 ^1 j  X2 p) N
  576. ;windows.show_crt_warning1 o/ G0 Z  _  Y, J* m1 \  Q
  577. ; Default value: 0
    4 E& N3 L$ v% ^: v! [  e
  578. ; Development value: 05 l0 c! F2 b5 D  I5 w! D0 y
  579. ; Production value: 0# j6 W; w6 B( a$ P: h

  580. $ ?+ Q; h: b3 u* n6 V( e, K8 F
  581. ;;;;;;;;;;;;;;;;;* y- A( W& p0 X9 I6 v: |
  582. ; Data Handling ;
    ) {# h  \3 Q' I$ Y
  583. ;;;;;;;;;;;;;;;;;4 L( ~6 A; u: Q- @; q) P+ Z

  584. - s2 p- _6 q' ~$ p# Z4 p0 L& Y* D
  585. ; The separator used in PHP generated URLs to separate arguments.* O) r; R& Y, |
  586. ; PHP's default setting is "&".
    / L( P" o- [" V) G/ W! d- D3 C. a5 `
  587. ; http://php.net/arg-separator.output
    + B1 M9 h; G3 z" p' `
  588. ; Example:
    , _: e- a8 \9 A9 D$ t  ?
  589. ;arg_separator.output = "&amp;": v& }; C6 ?) Z. f7 {* p, X
  590. - i/ E5 _9 |+ ]6 F4 v
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    5 o1 j8 M2 l- g( R
  592. ; PHP's default setting is "&".) z- b* G" i3 a0 `
  593. ; NOTE: Every character in this directive is considered as separator!
    , y6 K; @; W1 x' D
  594. ; http://php.net/arg-separator.input: U  O' ~  h9 r  h$ M; N
  595. ; Example:5 L! S; E" A# H5 A$ M  P
  596. ;arg_separator.input = ";&"
    ' h7 g3 N! W* w
  597. , w2 f$ \/ t8 [; M( A8 j( c
  598. ; This directive determines which super global arrays are registered when PHP9 ~9 z1 S8 |1 u( t. u' B! M
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super$ T3 @" `+ T# s0 T3 I. N
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
      P! j. j" d, F' [: a: @9 o4 @4 h
  601. ; paid for the registration of these arrays and because ENV is not as commonly" }( D* }# b4 V( M- [! n* T
  602. ; used as the others, ENV is not recommended on productions servers. You
    % S% n8 P3 N7 |
  603. ; can still get access to the environment variables through getenv() should you
    8 `6 L6 ^3 j% V0 N5 l9 u
  604. ; need to.
    7 C9 V  [  i* F5 b
  605. ; Default Value: "EGPCS"
    # W2 y. z9 v) ~1 H8 o3 K0 S" X
  606. ; Development Value: "GPCS". }, [. v- _" W* B
  607. ; Production Value: "GPCS";1 [" B, z& D( e( ^: h* J- P" _
  608. ; http://php.net/variables-order2 i" X  X2 a+ q4 D
  609. variables_order = "GPCS"
    + G2 ~1 R# o5 k( u' B" J0 o) _
  610. . V" H& B9 [5 @! o) e
  611. ; This directive determines which super global data (G,P & C) should be
    % g) M2 f/ \% B. B5 B! r/ Q
  612. ; registered into the super global array REQUEST. If so, it also determines
      X, o1 j' J9 L  r6 ]
  613. ; the order in which that data is registered. The values for this directive
    5 _3 Y+ u, x/ `7 D
  614. ; are specified in the same manner as the variables_order directive,
    + y- a& A% |2 N- Q6 z
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    $ p2 j3 I3 F% w" _  C& H
  616. ; in the variables_order directive. It does not mean it will leave the super
    4 r! h+ p6 h9 w4 ~
  617. ; globals array REQUEST empty.
    " L4 `( K, {9 s
  618. ; Default Value: None
    . H2 t+ l- P! J. ?& e) w; o3 r
  619. ; Development Value: "GP"3 F/ z3 g1 A/ }) f1 H' M+ L3 S
  620. ; Production Value: "GP"8 d' }3 R, |4 F9 D+ t! K; r
  621. ; http://php.net/request-order( a: j9 Q7 \  A+ M$ c. J
  622. request_order = "GP"; o' E' R. o# ]" u
  623. 8 s5 N+ U# @* u2 P( y4 c$ ?- T
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    $ S/ w* B: m% S1 i* ~
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script9 Z- W2 i3 v' q
  626. ; is invoked. $argc contains an integer representing the number of arguments
    7 _5 Z  G) V6 X
  627. ; that were passed when the script was invoked. These arrays are extremely4 R  s" {9 \. Q
  628. ; useful when running scripts from the command line. When this directive is
    ) M* M4 _1 x  j  U
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    . L8 J' |" ]& ^2 n
  630. ; a script is executed. For performance reasons, this feature should be disabled" S1 z2 T6 p: e" H
  631. ; on production servers.0 u9 ?% C( C- t6 u6 o- P  H4 Z3 ]
  632. ; Note: This directive is hardcoded to On for the CLI SAPI  L$ S/ ~' E, r! l7 U
  633. ; Default Value: On
    & u2 C7 y& B+ K2 n. F
  634. ; Development Value: Off
    " ]' g, _( F5 |2 L. S2 C" U! P
  635. ; Production Value: Off
    . d- Q5 c# G; v5 v. Z
  636. ; http://php.net/register-argc-argv9 k4 r- G3 L7 z  t8 I
  637. register_argc_argv = Off! t+ l2 y- ~6 B' B3 o2 c8 L3 t/ [

  638. ' w# h$ [& H9 r7 s: h
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're9 q( N9 y. c0 T* V9 k, N
  640. ; first used (Just In Time) instead of when the script starts. If these3 ?! L2 e5 W. H4 [5 Z+ N+ g8 ^
  641. ; variables are not used within a script, having this directive on will result; i8 Y  y& F" _; p4 J) A
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    5 p  s4 o6 U/ k0 W% w
  643. ; for this directive to have any affect.
    4 e. [  \9 X" G8 S$ B
  644. ; http://php.net/auto-globals-jit! \5 C3 W+ {" d+ _7 N4 R
  645. auto_globals_jit = On) q9 m" M4 m; R' E5 Y+ R

  646. 4 {; y6 _6 O% t$ j) t
  647. ; Whether PHP will read the POST data.
    5 |& _+ k  z7 o' F1 h# d' r
  648. ; This option is enabled by default.% ?2 L! S$ j5 C- G% e* |2 m4 T) v* F
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
      l: r* ^- r1 e2 k: c6 `- X! J
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    , ?8 l$ b, J! X# Q: I" n
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    . |* F4 |- y  n0 A  T7 C
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.4 ]+ @0 d4 x" s
  653. ; http://php.net/enable-post-data-reading) N3 l+ A/ j8 l% E3 k
  654. ;enable_post_data_reading = Off
    " V) b' h5 A( g: J0 Q0 d

  655. 5 t0 ]0 h2 K  M# {& K4 B6 s* j+ `0 H
  656. ; Maximum size of POST data that PHP will accept.
    0 U3 }' W- N! m) }3 S0 W
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    6 S+ n' n7 e9 t$ t$ X/ L
  658. ; is disabled through enable_post_data_reading.
    6 m6 ]) i; V0 m' o5 }5 U
  659. ; http://php.net/post-max-size1 v- v, W! d3 W9 J% \! K: }" I( |0 x
  660. post_max_size = 50M
    3 _8 |4 G/ c( y4 _

  661. ; v" r4 S* N' u/ m8 ^, R
  662. ; Automatically add files before PHP document.
    ) R* F) ~. }5 s( v/ H' P: }+ G
  663. ; http://php.net/auto-prepend-file
    + \. M" S: F& e4 Q( D/ ^8 ]" A
  664. auto_prepend_file =
    - \8 g9 V3 n* {5 J) g& O' h2 b1 a; i* G- f
  665. 8 n! q& _' }4 C
  666. ; Automatically add files after PHP document.
    / G- g4 z! u6 b3 H3 j
  667. ; http://php.net/auto-append-file, ~4 l4 W$ y$ }7 H
  668. auto_append_file =
    ' a8 [8 `& W) ~% h

  669. # I- F6 Q6 A, T' Q" Q) d
  670. ; By default, PHP will output a media type using the Content-Type header. To
    1 G; w) o6 o$ v$ W2 m
  671. ; disable this, simply set it to be empty.6 H# [+ ?/ a, {1 N  ~& T. J) l8 G
  672. ;  c+ }$ k+ `- s
  673. ; PHP's built-in default media type is set to text/html.5 K$ H9 G+ _& o- C1 F! a4 E. R
  674. ; http://php.net/default-mimetype1 b6 H4 j: t" A& s2 d
  675. default_mimetype = "text/html"
    ) S3 e4 D$ x/ e3 `4 }2 p2 O7 l

  676. # K" U1 b) D9 |: p0 G+ e/ Z- k
  677. ; PHP's default character set is set to UTF-8.9 R6 G7 n- u2 R) \
  678. ; http://php.net/default-charset/ {0 @: e7 W" p' @) S% e. I
  679. default_charset = "UTF-8"1 {7 \1 b: f/ G2 p2 i+ \) w3 r

  680. ( {. @4 v5 W2 i: k" X4 J
  681. ; PHP internal character encoding is set to empty.! c& z1 c  I( a' Y) F: w2 e  ?+ h% i
  682. ; If empty, default_charset is used.
    " Y* |' A; k& ~0 C4 M
  683. ; http://php.net/internal-encoding/ V, l: l, {1 X, l1 |* b* ^5 |/ r# U7 w
  684. ;internal_encoding =5 N, N" R$ H* O3 i; H2 D# y2 _8 G
  685. ' ~) Z. b, V  E) u' @
  686. ; PHP input character encoding is set to empty.
    ' S5 u4 B) j* r1 a
  687. ; If empty, default_charset is used.2 {4 P- A5 M( w" @
  688. ; http://php.net/input-encoding  Y* F( [  ~" O
  689. ;input_encoding =
    * O5 I+ U& }, a  q5 A  k# `: T
  690. 7 P: Q- n9 B5 ^- l9 u
  691. ; PHP output character encoding is set to empty.
    2 g' D% Q7 ~" _
  692. ; If empty, default_charset is used.4 i9 @1 n$ [* u, v; v
  693. ; See also output_buffer.
    - N/ s" }- e/ P0 z! ]0 p
  694. ; http://php.net/output-encoding: e- w' h6 q" U7 U' {* i0 y
  695. ;output_encoding =
    8 e9 E5 H  N3 E) K  N$ x! p
  696. . x0 A  l3 Y2 z
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ! c+ s( `/ B* k2 {
  698. ; to disable this feature and it will be removed in a future version.
    , W! R* z5 s! Y  J
  699. ; If post reading is disabled through enable_post_data_reading,
    - s  g0 Z- q& J
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    + W( Z' K# {- P$ x
  701. ; http://php.net/always-populate-raw-post-data+ q; F% [. B5 v5 U, ?
  702. ;always_populate_raw_post_data = -1
    ; _7 b1 ]0 @) c( e  H
  703. ! W5 q$ A3 |- C, J6 J- J
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;9 `& F' j+ ^2 g# T; c; E
  705. ; Paths and Directories ;
    * B# _* B1 W3 A* L; ]* k! p6 A
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;' i! v4 ~0 E3 S! C8 l  X

  707. 5 F8 n4 b" m& X7 r4 t% y+ l
  708. ; UNIX: "/path1:/path2"
    & o& M7 ^( J  \' w; ^5 X/ ^5 E
  709. ;include_path = ".:/php/includes"7 b& p1 S& Y* @2 d) g" F' Q& ]
  710. ;
    9 D, h; P/ V) G, u
  711. ; Windows: "\path1;\path2"3 o& \0 m: f$ ~. {4 i
  712. ;include_path = ".;c:\php\includes"
    1 J& g' ]% V: K# s+ H- a; @/ W
  713. ;
    ; u1 M/ C$ J0 V$ C- {' e# d4 l
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"7 \. }, w5 Z" }  P( G' s5 {
  715. ; http://php.net/include-path4 s, ~! D; V; h' T; }! z
  716. & k! F7 y4 ^' j5 I: ~
  717. ; The root of the PHP pages, used only if nonempty.  B; C& U) Q& \
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root' T1 U$ {4 \, Z4 i$ }* H3 O
  719. ; if you are running php as a CGI under any web server (other than IIS)
    & u& h  P. [  S
  720. ; see documentation for security issues.  The alternate is to use the; r' f3 H* x2 K' P" I
  721. ; cgi.force_redirect configuration below7 _. G5 z) ]6 H  |
  722. ; http://php.net/doc-root) I% G/ L, a  o4 i5 r$ f
  723. doc_root =
    $ [5 L+ [8 v6 y6 Z1 Y- P; i% d; `

  724. $ w9 ~  ?& H4 V% @) [
  725. ; The directory under which PHP opens the script using /~username used only8 r' W$ e3 s" k' h
  726. ; if nonempty.
    3 n. R9 K7 ]! I/ Y3 m6 l# J
  727. ; http://php.net/user-dir/ [+ i8 p' z6 `0 H, r: Z6 @$ s: T- i
  728. user_dir =* V  h0 V4 ?  m
  729. ( s0 _+ _% G' x" i9 H
  730. ; Directory in which the loadable extensions (modules) reside.
    $ f2 O# m/ Q! m2 I8 {9 P
  731. ; http://php.net/extension-dir2 t! V1 j6 S1 i* Y" W( j2 [
  732. ; extension_dir = "./"2 Z3 `* x3 g$ p, x# i
  733. ; On windows:
    $ I" F' F* n2 e6 P
  734. ; extension_dir = "ext"
    ; d8 @6 q. o0 X4 V* T

  735. 2 w9 H7 ]; {1 E& x8 v$ s
  736. ; Directory where the temporary files should be placed.8 X) a- S1 g- R( S- @
  737. ; Defaults to the system default (see sys_get_temp_dir)
    - i, `+ t( L* N0 X
  738. ; sys_temp_dir = "/tmp"
    1 q/ i3 e  s: J
  739. 5 Q+ }: g1 ~: P0 H
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    7 n: e, u" x( r3 r0 f
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    0 M: E5 W! _/ J% t, a& E
  742. ; disabled on them.
    " A* Y/ v6 H8 k: [
  743. ; http://php.net/enable-dl$ m8 o+ W' D) z/ \& R& R0 y. a
  744. enable_dl = Off8 m4 m7 D5 I/ {3 f3 b2 T* U) s' A
  745. 7 k% v. S" t+ G% ~4 C! Z
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under+ U3 C6 w  w  ], ]; k5 k' Q
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ) w! ~9 @, ^% M' P
  748. ; turn it off here AT YOUR OWN RISK
    % I3 K% o1 `2 ?2 `1 @' ]) l
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ) c) t. b1 G* r+ L
  750. ; http://php.net/cgi.force-redirect1 A; `( }; ?( q% ?( ?0 @- @# t
  751. ;cgi.force_redirect = 1  e- r0 D( W& b1 R% N

  752. . c# L& A) X" P, }; ]+ h# e3 o
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with5 O- s0 `! Y; U% X$ C) `
  754. ; every request. PHP's default behavior is to disable this feature.( X7 c' }7 E1 a7 U1 B
  755. ;cgi.nph = 1# {% ~" x0 F+ K, N/ e  r
  756. . f2 w( s2 F- j
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape+ |1 g2 @; J- F  d% Y# M8 \- n; X* T
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP( x0 {) L" x5 `7 U# X
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ! o2 n( e. x2 \- Y# p
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.  P" b0 F; I" W5 @8 d- L3 o1 u
  761. ; http://php.net/cgi.redirect-status-env4 V3 M5 ]1 M. c# J% P
  762. ;cgi.redirect_status_env =+ U: _  X/ _/ ~/ W( q5 r
  763. 3 |' x; S/ g5 O; ~& q
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's1 N0 w7 }+ h1 K% B% Q
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok' r& r% ?& f& b. X) v% G( U3 z
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting- T0 J: S7 T: d, e6 u
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    , `- O) m0 o: H
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts7 r1 E6 d9 D. a& c
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.( H- W3 {/ s( i' U0 @( w1 ]  z/ n2 ?
  770. ; http://php.net/cgi.fix-pathinfo$ j& o" ]' s0 q7 T; y& C; X' I
  771. cgi.fix_pathinfo=1  V1 e: c, r( b; O% S' ~2 a3 R5 d

  772. & ^$ n4 l4 b, v- D6 d6 i
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    . j! m8 \. G2 o, i
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    & R' {* c1 @8 _- K
  775. ; http://php.net/cgi.dicard-path" b/ ~. e& K7 X! t/ C
  776. ;cgi.discard_path=1
    2 }8 Y) P/ C' I5 |' l6 E
  777. , o. y" g5 d. y" D9 Z
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate% |/ E8 w2 |8 o: F1 E& ~
  779. ; security tokens of the calling client.  This allows IIS to define the( p; }; o* E0 e$ q, h7 c
  780. ; security context that the request runs under.  mod_fastcgi under Apache+ f1 ^8 }& Z% I9 b
  781. ; does not currently support this feature (03/17/2002)
    * t, [. E# q% O* A* P0 Y' F
  782. ; Set to 1 if running under IIS.  Default is zero.
    ( y/ z0 k, _2 |/ d9 D3 ^
  783. ; http://php.net/fastcgi.impersonate
    & T2 M; [- ^0 K5 G8 B6 s
  784. ;fastcgi.impersonate = 1
    " q7 g- e! c: H, v, g1 E3 Y5 a
  785. ) f3 q# X- k1 O( {
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    * R/ h% d& B" Q
  787. ; this feature.
    # j/ \( Z2 t" s& {# p/ V) ^
  788. ;fastcgi.logging = 09 [9 z# F0 I  j/ e! ~" e

  789. 4 X6 O3 }2 F2 i2 @
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to: h8 }& V5 W2 h* C; ^) h1 @. Z
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that4 N+ E# `' l7 t9 p. ?, J' F6 e: D# s3 Y
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    4 O  I- P0 p( d+ l6 y) h+ X
  793. ; RFC2616 compliant header.' C1 J8 @; `/ s  {; t/ i
  794. ; Default is zero.* h' u- r+ |9 y: t: y
  795. ; http://php.net/cgi.rfc2616-headers: A  [) b( ]: S2 @2 S4 u/ K1 L2 A
  796. ;cgi.rfc2616_headers = 0
    2 A1 U# Q3 O! z! C. f1 ?3 S) t
  797. $ k3 E0 i- |5 V) E* T7 [
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ' n) E/ }$ M/ G- ~+ n3 Y  M+ A+ X
  799. ; (shebang) at the top of the running script. This line might be needed if the
    - k( U. D' e! ?: s1 a
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI* L5 W0 C  B# j3 a
  801. ; mode skips this line and ignores its content if this directive is turned on.
    / I, F" H: b$ o  P2 k
  802. ; http://php.net/cgi.check-shebang-line
    / z* r/ s: I) N5 _& q9 |
  803. ;cgi.check_shebang_line=18 a) z! C- k# M" T1 E2 J* q" }

  804. + N6 ], K" v9 P& V2 s# @& L
  805. ;;;;;;;;;;;;;;;;# l8 o# w7 @( Y* y
  806. ; File Uploads ;" g; C# E) B+ B* [* K$ h
  807. ;;;;;;;;;;;;;;;;3 V% {3 [- R: j4 _' C

  808. % Q: W6 ?5 X; c* B4 U
  809. ; Whether to allow HTTP file uploads.
    7 _% ^- o; o$ p+ w. y% |3 b$ ~) O
  810. ; http://php.net/file-uploads
    " v5 r2 F! d: t# S' D9 {/ z" _4 C% Y
  811. file_uploads = On
    + N( ?7 b8 c) P0 D# g0 B
  812. 7 `& t0 n6 x" f: i
  813. ; Temporary directory for HTTP uploaded files (will use system default if not4 A* d9 p  G! G  R9 b$ `* v
  814. ; specified).4 [9 n% F* J* S# r$ p, ?9 q
  815. ; http://php.net/upload-tmp-dir
    + l  f4 J* O& x' v; c; r% @' h( O
  816. ;upload_tmp_dir =* Z  Q( n& ~4 n( T; ?& i: f: A
  817. / ?5 t) }% n& S( Z
  818. ; Maximum allowed size for uploaded files.3 d5 V1 ^6 l, v1 \  V3 @
  819. ; http://php.net/upload-max-filesize0 Y3 \- a  [$ M; g
  820. upload_max_filesize = 50M
    8 a' y6 ]6 w; l# y; Q' P6 R

  821. 5 |; R" z/ t; G6 q3 k0 P
  822. ; Maximum number of files that can be uploaded via a single request6 D9 A# D0 z. u8 ~+ V
  823. max_file_uploads = 20
    9 _/ _8 {. g  T. q% m
  824. ! N3 A+ j2 }# z$ w8 U% N3 Q
  825. ;;;;;;;;;;;;;;;;;;
    # y# ~3 \2 b4 Z# G1 a
  826. ; Fopen wrappers ;
    8 j: n, `7 L$ u; G9 j4 T* Z( H
  827. ;;;;;;;;;;;;;;;;;;; T& \# n/ d% N% B' j8 y
  828. 7 Q: S% z" e+ V
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
      ]9 {9 X% Q7 ^0 B$ m! D7 H
  830. ; http://php.net/allow-url-fopen
    7 J7 y4 `( \' ?8 q& C2 p
  831. allow_url_fopen = On* G  R0 z* ~& C$ `8 ?8 ]

  832. ( Y# O; @, k0 j' x3 `
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.5 k& }/ l8 u8 S! s8 @
  834. ; http://php.net/allow-url-include
    9 K, K* C& ^7 K& U) y0 I% W7 S
  835. allow_url_include = Off
    * h" x" L6 D# R1 \
  836. / a9 i1 M: \; Q! X" ]/ T9 y
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    2 E' n  |/ y0 f) c, P4 e  }
  838. ; for this is empty./ Y# o* f/ \  K( L6 e- m  j; x4 x8 p
  839. ; http://php.net/from8 o3 `$ C& h* r% l: [( D9 Y8 a
  840. ;from="john@doe.com"9 t& s# x+ |2 {' \" i+ b1 r
  841. 5 u9 {6 J# P) q4 c3 w: f
  842. ; Define the User-Agent string. PHP's default setting for this is empty.5 j+ ~4 Y2 m- q; q
  843. ; http://php.net/user-agent
    / D9 A6 A# ?) s& k1 m9 b
  844. ;user_agent="PHP"
    $ \$ B- F/ V* O, u
  845. ; o! ~" d- N) J9 T$ _# J
  846. ; Default timeout for socket based streams (seconds)1 m. ~4 m- I$ z! [8 z' x$ E
  847. ; http://php.net/default-socket-timeout5 ~' S; E' q. a- H$ `1 q
  848. default_socket_timeout = 60
    3 o; Y  U2 R9 u5 r! }& [8 H: x
  849. . P- `; \  ~/ H+ v
  850. ; If your scripts have to deal with files from Macintosh systems,/ }# G! L: K. q6 ^
  851. ; or you are running on a Mac and need to deal with files from! d/ D8 {0 }( y- X
  852. ; unix or win32 systems, setting this flag will cause PHP to
    & z# w- Q; v4 l, }, R
  853. ; automatically detect the EOL character in those files so that
    3 j# F0 h% _8 ^# d
  854. ; fgets() and file() will work regardless of the source of the file.$ S+ f/ |, h/ k. n/ }) n, `
  855. ; http://php.net/auto-detect-line-endings
    ( @, ?; Q/ O7 f2 `  t2 T
  856. ;auto_detect_line_endings = Off
    4 v$ g1 n% v0 t9 q  L# V# }& S

  857. 2 M, s7 d& h& \# K9 m0 j3 P) E( S
  858. ;;;;;;;;;;;;;;;;;;;;;;& D1 F2 X# Q4 w' h7 {
  859. ; Dynamic Extensions ;
    9 P, Z* ^/ K( W
  860. ;;;;;;;;;;;;;;;;;;;;;;
    3 x, V. c% C# z! J3 U5 _/ F( I8 D

  861. ! f4 f( p# q/ Z" y
  862. ; If you wish to have an extension loaded automatically, use the following9 U9 Q( }0 Y/ y2 a0 a( C0 H( u
  863. ; syntax:- a$ i+ }, H* Z# J
  864. ;
    " Q6 {5 t& @  c& s8 f& V
  865. ;   extension=modulename.extension
    " I" L/ O2 q; E4 j  n
  866. ;, D2 L8 b5 O* @8 t( B' U+ ?
  867. ; For example, on Windows:6 C( b( _  V( m7 g4 p6 v
  868. ;
    3 z  X0 U: c! Q) Y
  869. ;   extension=msql.dll- N* H5 o' Q. W
  870. ;9 p" s/ M- |* F5 s# Z1 n9 G
  871. ; ... or under UNIX:
    , I+ n1 F! U, C7 K0 X( v3 m
  872. ;5 g" [, g5 ^: V* E) c1 L
  873. ;   extension=msql.so
    5 [5 E3 n0 w) b0 |$ R: R
  874. ;$ \; i  S8 R+ ^# n3 `
  875. ; ... or with a path:1 m  C+ }" v2 I3 T
  876. ;
    4 w- K, H2 G" A6 Z% K3 _
  877. ;   extension=/path/to/extension/msql.so5 y7 V4 |6 r0 C
  878. ;( H/ z2 `8 j7 A- ?
  879. ; If you only provide the name of the extension, PHP will look for it in its1 A/ v4 P& \% r, y
  880. ; default extension directory.2 c: R% T& ?9 u" l3 J6 F
  881. ;
    6 d: s" V1 Y2 o8 \  W( E( y5 P7 _
  882. ; Windows Extensions
    3 j- m" r1 a4 f- m% ?
  883. ; Note that ODBC support is built in, so no dll is needed for it.; x% L$ m1 V; X% q! k% g
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    $ ^" f0 x7 ^/ d/ _! ^& {+ c) S8 U0 Q3 `
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    ' ~% @$ Q8 Y3 u" t; f- F
  886. ; Be sure to appropriately set the extension_dir directive.
    6 W7 {) p1 Y6 N. @: r1 i% q, F# ^
  887. ;' s+ X# n! W. L) x6 z0 C
  888. ;extension=php_bz2.dll) U* G: ~, H' d$ F
  889. ;extension=php_curl.dll+ x& b+ s- b" i/ o' C' w
  890. ;extension=php_fileinfo.dll
    0 c+ s" j6 D% O
  891. ;extension=php_gd2.dll4 D' z  J, @# v8 f
  892. ;extension=php_gettext.dll
    # `) \) r" x) _
  893. ;extension=php_gmp.dll2 K$ f) u' n  u7 e7 @) b; m
  894. ;extension=php_intl.dll5 p' E# l* d* Y  J. E3 t5 `
  895. ;extension=php_imap.dll
    : R- v% s* b0 p7 a5 x! O
  896. ;extension=php_interbase.dll
    , e$ A9 d2 x1 T, U* U+ N
  897. ;extension=php_ldap.dll7 U# F! _5 v5 _2 l
  898. ;extension=php_mbstring.dll
    : R1 j. z" F8 X/ Z9 ]
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it! l# U% R# f/ k! T7 t& t% _& @
  900. ;extension=php_mysql.dll# j# P9 g) a) P5 y3 Z
  901. ;extension=php_mysqli.dll
    # O5 W! h' J0 H
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    1 h% u8 u( q, d; Q
  903. ;extension=php_openssl.dll& q) L4 w# B6 B) I7 v
  904. ;extension=php_pdo_firebird.dll5 y& R& V( v. y9 Z
  905. ;extension=php_pdo_mysql.dll) X/ C+ _- s1 Z( j  c
  906. ;extension=php_pdo_oci.dll  e4 N! w+ |1 b3 `0 }
  907. ;extension=php_pdo_odbc.dll
    3 ^# \! B) T' @7 w* _1 W% S
  908. ;extension=php_pdo_pgsql.dll
      j( r4 W2 z2 W
  909. ;extension=php_pdo_sqlite.dll
    ' X# h: u: L1 C0 t
  910. ;extension=php_pgsql.dll
    7 o  s* R4 D$ W3 i9 q
  911. ;extension=php_shmop.dll
      X) s8 J+ i. x) \1 F0 }
  912. " r. Z5 W- e  C% A
  913. ; The MIBS data available in the PHP distribution must be installed.
    / |' @# z6 t: e8 G' w# b
  914. ; See http://www.php.net/manual/en/snmp.installation.php 4 j8 d% ]  D: Q
  915. ;extension=php_snmp.dll
    : \0 `& B- T  c% d+ B9 d, B$ \

  916. $ d- Q( a, v1 ~5 M, h% c
  917. ;extension=php_soap.dll
    0 ]( i0 f9 m! t2 f' ?
  918. ;extension=php_sockets.dll
    ( Z8 P# h  p" Q' {/ X
  919. ;extension=php_sqlite3.dll' ~8 C0 m5 s5 R; b8 k
  920. ;extension=php_sybase_ct.dll) F) ^* d, o* Q& |5 T* E
  921. ;extension=php_tidy.dll; Y& S+ h& D" ~* ~
  922. ;extension=php_xmlrpc.dll
    - o' G0 G2 j' U2 ^7 g  @
  923. ;extension=php_xsl.dll
    0 ^2 _+ U6 l9 P) R1 {
  924. 1 J/ e4 L7 H% k' H7 x% B5 m
  925. ;;;;;;;;;;;;;;;;;;;
    9 E0 `2 T; }$ I; x* L$ w5 H; v8 s4 ], D
  926. ; Module Settings ;
    . R1 Q1 O% p" v
  927. ;;;;;;;;;;;;;;;;;;;
    & q# ^" Z( P3 M4 p! X* h6 u
  928. % d5 J+ B. L& _  }
  929. [CLI Server]
    7 b# V8 U3 Z8 C
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output., L2 @* d) Y- K8 Z6 d9 p* _2 ^
  931. cli_server.color = On( e8 s4 q, B/ Z6 {7 L
  932. 3 Y$ C3 P1 d1 g+ S0 D, K
  933. [Date]
    ! {: @* U$ M4 _/ H$ B% L& W
  934. ; Defines the default timezone used by the date functions4 E* _8 I0 P/ u% ]' G
  935. ; http://php.net/date.timezone- E' b2 g; Z/ o! N5 }8 ]
  936. date.timezone = PRC
    / B, [+ r: H; U. L9 o
  937. ; s0 C$ }+ \6 {3 V+ q
  938. ; http://php.net/date.default-latitude
    2 d3 g3 ]. `! U; G9 Y
  939. ;date.default_latitude = 31.7667
    : d! I% C4 Y4 g6 v9 J. ~, F
  940. ' s0 l8 E$ T, M4 X
  941. ; http://php.net/date.default-longitude
    ' `: G/ R3 ~; A% h$ A* F$ j
  942. ;date.default_longitude = 35.2333
    8 h# w& e$ M2 n) u7 V6 D! u
  943. 3 d/ F+ N- g" I' e
  944. ; http://php.net/date.sunrise-zenith
    % A0 e7 o! P# {* B3 J
  945. ;date.sunrise_zenith = 90.583333
    7 ~! l* \% v2 ~, h) J

  946. 8 i: ~$ J$ |" K$ x# P  j6 K. f4 J5 c
  947. ; http://php.net/date.sunset-zenith% e; L- V8 z7 H3 x
  948. ;date.sunset_zenith = 90.5833336 h7 w- G# `& `- L+ E  F

  949. ) z, j3 K9 {4 S# O' F. _" Y0 q) C
  950. [filter]+ d8 T$ S6 T' @( ]& {3 a! A
  951. ; http://php.net/filter.default1 C9 b1 v0 ~1 \8 H2 C5 F( t
  952. ;filter.default = unsafe_raw4 l3 k; r) V& S% s2 F8 X0 F/ Q- Z, g
  953. 3 x' O5 t& p! \% D* y, v  d2 B5 P2 i
  954. ; http://php.net/filter.default-flags
    ; \  }7 f) j& r* S2 T) ?  M
  955. ;filter.default_flags =' s; Y1 b1 a) l& E% `) e! K
  956.   b& L5 z5 R* i# r; W
  957. [iconv]
    ' k6 \5 y/ r; q; v) Y  t8 K
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.2 J6 U, x. u; T7 `0 h4 l  |/ {
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    % k' U) V0 l5 b; W: |
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding8 z" y; y' M- |, f- G
  961. ;iconv.input_encoding =# L# Q  n0 k% [4 e  h
  962. 7 l& t( B+ \! x% g! ^
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    3 ]4 T8 h$ d5 r( {- f
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ; _  p% [" Z1 s( e% }3 j
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding: U+ n- Q& L9 B& M" f
  966. ;iconv.internal_encoding =$ f3 g) b* x3 ]$ t$ j% _# ]

  967. 0 S" U2 I) `2 k5 I7 W3 l  P6 v
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    - k, b  k* v3 Z$ \0 f: k
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used./ l9 G: x4 s" D  m5 ^4 n
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ' k, P$ c2 f! Y1 l) W  z
  971. ; To use an output encoding conversion, iconv's output handler must be set
    # `6 X" P# h3 W7 W6 k7 [8 ]
  972. ; otherwise output encoding conversion cannot be performed.' y. N# D- P6 h4 d9 y
  973. ;iconv.output_encoding =
    . }: }/ i) l. D5 h6 ^: l) Z% v
  974. * C: {# C0 j1 a! @- c8 a3 u, }+ W+ i
  975. [intl]3 T: I7 w4 g  X! p6 {4 e: c
  976. ;intl.default_locale =
    ; q# u6 K4 R2 q* M
  977. ; This directive allows you to produce PHP errors when some error+ C- d0 T. `; S7 t* O8 g2 t
  978. ; happens within intl functions. The value is the level of the error produced.: S3 Y. Q2 b2 ~+ ~$ ]
  979. ; Default is 0, which does not produce any errors." z7 K! {' s! z( p# y
  980. ;intl.error_level = E_WARNING
    2 ]6 s4 I1 B& @5 B( Q' x9 \
  981. ;intl.use_exceptions = 0
    ) L% Z$ P6 Z6 D/ w
  982. . O! j3 Y' S! ], x0 x
  983. [sqlite3]
    ( }4 Z& n* Q+ ^
  984. ;sqlite3.extension_dir =2 n/ O9 L3 ~: O( j7 l/ C/ R& X/ }

  985. " E- ~, u8 V5 p4 \8 U  u0 E+ h# ?
  986. [Pcre]( t+ V: ^" t& o* }! [
  987. ;PCRE library backtracking limit.
    . g7 u% z% i/ w8 L
  988. ; http://php.net/pcre.backtrack-limit
    , A- ]3 U' Q2 i
  989. ;pcre.backtrack_limit=1000005 j) Y6 j  G( [8 d4 J) Z9 [* \* r0 z

  990. . S1 o: z! H8 T; V+ w4 e; _" @
  991. ;PCRE library recursion limit.
    0 D3 J( m* H- M6 ~+ i/ k
  992. ;Please note that if you set this value to a high number you may consume all
    5 F4 C* ~. S. N0 p
  993. ;the available process stack and eventually crash PHP (due to reaching the" @; ?- ~1 g, A& _: _  b5 W
  994. ;stack size limit imposed by the Operating System).
    5 g" y- R' ~& f6 H7 @1 L) n
  995. ; http://php.net/pcre.recursion-limit
    * q# l* g. o) p$ |+ a
  996. ;pcre.recursion_limit=1000000 P* W9 y! X' M" t1 i# ^3 S3 b
  997. 0 E, o" P8 x2 |, I# z# m4 J( K6 q( A
  998. [Pdo]+ ?" e/ R0 t& k3 O) t7 ?
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    - @6 N7 I7 e; f2 b2 B$ k
  1000. ; http://php.net/pdo-odbc.connection-pooling
    / D/ d9 V% T6 W" ^. w
  1001. ;pdo_odbc.connection_pooling=strict7 l) V( N, j. D6 @# S6 s
  1002. ) v/ B6 E3 O/ ?4 O
  1003. ;pdo_odbc.db2_instance_name
    5 s7 e2 Z( R1 Q( |6 I0 U# |
  1004. ; v" [* t' b7 t
  1005. [Pdo_mysql]
    4 C/ X) W0 H, u" F$ @! [
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( w# m! @: p; |' E) V7 a
  1007. ; http://php.net/pdo_mysql.cache_size9 g! t6 k! s1 E' y) \
  1008. pdo_mysql.cache_size = 20004 ?% e$ P9 l/ e( _  y

  1009. ( ~5 s4 X+ m) u% [
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 I& N) ]4 `& B! \
  1011. ; MySQL defaults.
    ! n: f4 J* z4 O3 i. F/ q. E
  1012. ; http://php.net/pdo_mysql.default-socket
    / \& Z5 m6 [& j9 W* \* s6 x7 J
  1013. pdo_mysql.default_socket=
    6 _& x* `% R0 R: t: {: m  y
  1014. " g' g% R& [  j6 X2 O
  1015. [Phar]
    2 R# a5 j. d+ O
  1016. ; http://php.net/phar.readonly
    : R' b) g$ V% j  s$ j( U
  1017. ;phar.readonly = On
    & l0 z9 [7 u! ^& {

  1018. ! U2 {9 p1 p. U+ k4 ?% ~
  1019. ; http://php.net/phar.require-hash
    9 w% s. a1 o: P6 l) q* ]% |
  1020. ;phar.require_hash = On
    ; g2 S9 D6 b# R2 d3 {! \

  1021.   F; h/ ?( [6 z% G
  1022. ;phar.cache_list =
    & I! W# N# w+ T9 `4 e; P: T: V
  1023. - W$ r. l0 i) Y6 O2 x' V4 S1 h8 W
  1024. [mail function]
    * P8 m' S5 o6 Y
  1025. ; For Win32 only." G" R5 h$ {% ~2 I
  1026. ; http://php.net/smtp9 a- D( A. o4 f2 j0 U! G( \! G% D
  1027. SMTP = localhost0 o; p! W- a% u- g* S% k% I
  1028. ; http://php.net/smtp-port
    ' K* t" p2 `" U1 L
  1029. smtp_port = 25
    $ ?9 C/ I+ }6 k' e6 M

  1030. * c* \4 z. z& r6 Z8 p# \3 z
  1031. ; For Win32 only.
    9 K: a1 u/ J8 @. X" K0 f- [  i# {
  1032. ; http://php.net/sendmail-from6 i4 Z5 q1 m% `% T  [% Z1 A. Q
  1033. ;sendmail_from = me@example.com% }% s$ Q, g1 M: N
  1034. 0 t* w$ |1 Y0 N  A& K8 {, N
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").3 i( W) G# U  w4 }6 [
  1036. ; http://php.net/sendmail-path; _  T1 [% {3 P" M* u
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    # o5 K* _4 R  o7 Z5 f

  1038. ) v; z5 g2 r! |6 H( A$ c
  1039. ; Force the addition of the specified parameters to be passed as extra parameters: F5 r% G% m: o
  1040. ; to the sendmail binary. These parameters will always replace the value of' f1 v) _  I. f# m' k: g; x, K; Z
  1041. ; the 5th parameter to mail().
    , H7 G/ B+ H" o4 S
  1042. ;mail.force_extra_parameters =
    & L% R8 T. t. k1 I$ l

  1043. , P5 e4 Y3 q5 f: R" a9 B1 `) d9 X0 i3 @
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    7 a+ j2 {- {* f: h
  1045. mail.add_x_header = On4 a; L5 C; L" C2 t- e

  1046. 8 c  D; s( m" u# a+ @
  1047. ; The path to a log file that will log all mail() calls. Log entries include' G0 l3 T' c* ]2 B  r
  1048. ; the full path of the script, line number, To address and headers.
    7 C" C& \9 d, l6 t, Q- Q
  1049. ;mail.log =  M" U: q0 u3 j% H! }
  1050. ; Log mail to syslog (Event Log on Windows).
    0 `/ r0 q1 h  H3 g. G
  1051. ;mail.log = syslog
    2 q+ o) o( _: X3 Q
  1052.   ], a9 [4 L! Q; f! k* P( M
  1053. [SQL]( O& ]$ a* ~$ D" y5 D
  1054. ; http://php.net/sql.safe-mode
    ; Z+ _8 t  |; q) a6 r) F3 X
  1055. sql.safe_mode = Off& m9 M; I& D3 s4 a' D
  1056. 9 K6 ]/ [* ?* w( E
  1057. [ODBC]
    5 f# O% S, O' t/ X) O- `! d* a
  1058. ; http://php.net/odbc.default-db/ E3 [8 n' x' T+ ^- T1 h- n6 p% X
  1059. ;odbc.default_db    =  Not yet implemented
    5 @; @% u* X8 _/ R7 q% }/ L
  1060. % X& C& f  H0 N' F# w6 i. C: _# S
  1061. ; http://php.net/odbc.default-user9 |5 _9 m: c0 F9 ~& h# l* o6 E$ [
  1062. ;odbc.default_user  =  Not yet implemented
    + Z& K0 _' g( w7 h5 W' K

  1063. 4 o8 G* S2 g& L' {5 ~! y
  1064. ; http://php.net/odbc.default-pw
    9 y1 _& M4 c# w5 e
  1065. ;odbc.default_pw    =  Not yet implemented7 p  Z, C5 ~: k% i  W
  1066. 3 H# y# s9 K8 t2 ~; H3 m
  1067. ; Controls the ODBC cursor model.
    2 R: z5 }5 `8 s4 H, _
  1068. ; Default: SQL_CURSOR_STATIC (default).8 ]9 w. m3 m. t: [
  1069. ;odbc.default_cursortype6 i+ W2 ]0 P7 G/ G( z% K) {, Q

  1070. # d9 ]$ I6 O3 K& h: [  c
  1071. ; Allow or prevent persistent links.: L8 J* ?7 r2 ~8 Q* S
  1072. ; http://php.net/odbc.allow-persistent- D& n0 y" v3 J3 ^+ d
  1073. odbc.allow_persistent = On6 w! N& v+ Y/ J* M' x
  1074. 8 a" t& U3 v- `; b
  1075. ; Check that a connection is still valid before reuse.
    ' F) S, q4 t$ Q3 ~
  1076. ; http://php.net/odbc.check-persistent
    $ e9 y0 ~4 J7 H: G1 I, I
  1077. odbc.check_persistent = On
    ( C8 L2 ^3 [* y4 Y* N0 `
  1078. 8 K8 `# i8 n8 v% `, C6 R- h
  1079. ; Maximum number of persistent links.  -1 means no limit.
    " C/ K% F1 c. `  y/ K
  1080. ; http://php.net/odbc.max-persistent- _& O$ e3 m* [  _: y
  1081. odbc.max_persistent = -16 [2 w' o+ b& c) ?; e: l

  1082. 5 L' i7 M4 |1 b
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 ~6 V5 v# u$ {: s
  1084. ; http://php.net/odbc.max-links
    0 n( R+ O, j/ y2 w8 q2 y' x" \
  1085. odbc.max_links = -1# V$ R; t4 |) ^5 g8 u# @; D7 R
  1086. ' A# x9 ~7 r) E# J2 a
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ( T; d- m; {6 P9 Q
  1088. ; passthru.- f* r1 ?; E: \8 h4 o& ]' z
  1089. ; http://php.net/odbc.defaultlrl
    % U" W9 F* T- @; ]* z
  1090. odbc.defaultlrl = 40964 ~9 B) }9 r# Q; m
  1091. ' c6 l( K# r; P5 S
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    1 J4 E, h" p: m$ I
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation6 W4 r9 P1 b  a, I  U: {! S
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
      `. @- j, a. O- x8 H
  1095. ; http://php.net/odbc.defaultbinmode
    2 R$ k- n2 T& s1 Z6 J5 v  O0 Y0 W
  1096. odbc.defaultbinmode = 1
    . K7 l8 R) c( n* i9 d
  1097. 9 b8 Q# ]1 v% f6 G
  1098. ;birdstep.max_links = -1
    & H" B% R/ y: Y' d7 |
  1099. 0 V" R3 z; i- \4 o6 }
  1100. [Interbase]
    7 G: W) v5 I2 L1 J# T. V$ a
  1101. ; Allow or prevent persistent links.
    , R& K' f( _8 P$ |& C% K
  1102. ibase.allow_persistent = 18 ~% ?- l$ r( X: f& ?
  1103. % ?  Q7 |* t+ \5 ]) C" i: h
  1104. ; Maximum number of persistent links.  -1 means no limit.
    / Y* Q' E; u$ g' m/ A
  1105. ibase.max_persistent = -1# N9 T( p  G* ?% m% r( L. v

  1106. ! h3 h. R8 f3 O3 {8 |
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * M( Y: i2 h( i% r  Q& S
  1108. ibase.max_links = -16 y/ _) R! D: F! A( B  M

  1109. ( S: K( F" W5 X& ^/ ]
  1110. ; Default database name for ibase_connect().
    $ P" J* k( m) I5 S/ S9 R
  1111. ;ibase.default_db =
    9 v4 ?0 _" A: _& s; i

  1112. * p8 S( n1 ~2 ]8 V- _
  1113. ; Default username for ibase_connect().8 r2 }( h: {0 M- F# q9 _" C
  1114. ;ibase.default_user =) I" r7 W. ]& ~# e; N8 U1 {, S3 O
  1115. 9 Z8 @; C0 f" Y* K2 J6 d
  1116. ; Default password for ibase_connect().2 P; F& g! ]+ v& v& W
  1117. ;ibase.default_password =, A! m$ s, P; b9 b2 s5 v, K
  1118. 4 D2 s# g9 @: o
  1119. ; Default charset for ibase_connect().
    ( y* x9 A( L% Q
  1120. ;ibase.default_charset =  j8 s5 T! {% R5 f( ?' Y1 w1 j

  1121. : [0 n" U7 }" j$ }4 l/ @
  1122. ; Default timestamp format.# o! ^" G2 f) z# v6 c0 m3 Y0 `- D
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"4 I& Y1 Z1 [/ W! n" y. ~+ q

  1124. 1 t  ^  D3 j( |* P3 R6 N
  1125. ; Default date format.( R* l2 u, N- @/ [7 ~
  1126. ibase.dateformat = "%Y-%m-%d"
    $ Q8 S2 F4 h" w2 V. E: u
  1127. 5 E5 C# X. N1 a" f$ e, G
  1128. ; Default time format.3 h2 g, D" `/ r6 \3 L" }
  1129. ibase.timeformat = "%H:%M:%S"1 \* o( ^3 q% W5 r: k; q( P

  1130. 6 ^5 M; I1 R, ]+ j5 P$ l6 P  K; M
  1131. [MySQL]
    ; s6 d8 D0 |' N0 [+ s8 @7 W0 k
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements8 v9 X, d$ D2 f1 [* h$ Z1 m. G( @
  1133. ; http://php.net/mysql.allow_local_infile
    " Q4 j* o7 W; c0 U/ S. f8 \
  1134. mysql.allow_local_infile = On& V% U. e/ b/ Q3 ]. R
  1135. $ ]# Z6 W: `% t6 _- K3 E0 j6 k1 E
  1136. ; Allow or prevent persistent links.
    * e& V  o# x. B5 z, c
  1137. ; http://php.net/mysql.allow-persistent! @6 e$ C; y  j
  1138. mysql.allow_persistent = On
    3 b9 Q6 o- J- e) W! Y1 Y
  1139. 5 ], x! ]' V3 o0 N
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    8 u# }8 U% S6 H& \& t% r8 Q3 D
  1141. ; http://php.net/mysql.cache_size
    * I8 }5 T6 A, f, q- F9 g- J& S
  1142. mysql.cache_size = 20005 v( v! P) V$ f) x2 X
  1143. 8 B$ v7 Y6 L! j! o' N" V$ i
  1144. ; Maximum number of persistent links.  -1 means no limit., S. Y; g6 V3 R. r8 O# S
  1145. ; http://php.net/mysql.max-persistent) ?4 ^$ _/ i6 p' Z, X
  1146. mysql.max_persistent = -1, _( k* Z, }. Z* s! H& C7 D1 u7 e

  1147. 7 Q) a; L( T2 F" D' [; {5 x
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ! T5 o: t/ J# @* g: K
  1149. ; http://php.net/mysql.max-links
    9 M: r! i/ P! @+ J4 |8 i) i7 W
  1150. mysql.max_links = -1
    " ^6 n. w$ @4 M0 \8 V

  1151. ( a% h7 S3 ~# M- N  f/ x
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use7 l4 e; d$ C' @7 u, H& ^( n
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the) F& J1 D) W4 P! y9 k
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look7 q5 [& [" P! g/ _! L/ e( _, U3 D
  1155. ; at MYSQL_PORT.0 S$ }1 @7 _7 V; k8 d5 o8 b
  1156. ; http://php.net/mysql.default-port
    : Y9 n  }0 X4 F
  1157. mysql.default_port =
    3 R$ Z2 V5 x5 h7 `3 m4 _. x# C
  1158. " s' y/ I( ?0 S$ J
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in- Y3 C: ]$ S# B
  1160. ; MySQL defaults.
    4 m5 }" c1 @- K% {2 R; _: @
  1161. ; http://php.net/mysql.default-socket. {* Z# P( q. p) z9 J
  1162. mysql.default_socket =
    ; G( |( o; o# O% I# z: t$ s
  1163. / ]. j9 h& J, m2 ]( [- B/ K3 C
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    # V( ]3 R# o( ~8 F" ~! C
  1165. ; http://php.net/mysql.default-host6 X" h) `7 P# q; Q" j
  1166. mysql.default_host =0 W, G# O$ c# _+ ^
  1167. ' \5 o8 M. D$ _) Y" `
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).2 c' I: W  |% c: f0 j2 _
  1169. ; http://php.net/mysql.default-user
    8 G3 I# W1 i, F+ g4 F# {
  1170. mysql.default_user =- v" b  ]4 x$ s) x, M

  1171. ; T* k, n, j7 A& F
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).5 o$ I: \1 s6 H+ [
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.# j3 j$ W5 Y' T& t  J2 [; Q, ~  S  l
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")- h+ L3 H+ @+ W
  1175. ; and reveal this password!  And of course, any users with read access to this$ V& E: x# I% u- T6 p
  1176. ; file will be able to reveal the password as well.: F& ?8 M* l/ P% ?
  1177. ; http://php.net/mysql.default-password4 X3 ~( c. F% P9 X+ C
  1178. mysql.default_password =- W+ U# K- _, h! S5 [
  1179. ; t) ~. }% n( E  i# b8 d
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit, i1 j; J9 I; O
  1181. ; http://php.net/mysql.connect-timeout0 D, A/ H: n7 r2 t. `
  1182. mysql.connect_timeout = 60
    0 O- f4 {; @4 R

  1183. 9 e1 @" i3 S" O# o' F0 J: M
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and1 e% [- \, k3 o0 A2 e# O& [
  1185. ; SQL-Errors will be displayed.
    , r' H" i. Q9 Y
  1186. ; http://php.net/mysql.trace-mode; C' p5 k: p+ I4 _( P6 D9 c, C+ [# c
  1187. mysql.trace_mode = Off; S; W: v. a! J3 g8 N

  1188. 0 h1 f, L9 g" \7 b% @, S, D8 O1 ]( h
  1189. [MySQLi]
    % R! _: m3 c# J# ?! j5 g/ w! N
  1190. ! s; o$ W+ o! m3 _2 w
  1191. ; Maximum number of persistent links.  -1 means no limit.+ S( h! r& p/ Y' x
  1192. ; http://php.net/mysqli.max-persistent+ X& Q0 J. o+ n/ Q9 j
  1193. mysqli.max_persistent = -1; w4 L1 a: u' v- L/ r! |

  1194. 5 D) J. i  Y& B& H- t$ C
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    2 b6 X- Q' Z" U
  1196. ; http://php.net/mysqli.allow_local_infile
    ' s, \+ N4 ^3 G
  1197. ;mysqli.allow_local_infile = On
    1 e9 k# X  k/ G, q
  1198. 1 j( Y5 J7 L- `. J9 l: d
  1199. ; Allow or prevent persistent links.
    . @5 L( F7 H$ {# o6 `( }- _" X* ~* H: }
  1200. ; http://php.net/mysqli.allow-persistent: o% I4 A+ x7 j) h1 O
  1201. mysqli.allow_persistent = On0 l$ d0 `$ a& p& a3 R

  1202. * `( W8 h/ L! G5 u5 F" j
  1203. ; Maximum number of links.  -1 means no limit.
    & x9 `" _; Q/ y2 C% {! u
  1204. ; http://php.net/mysqli.max-links4 J# V8 C6 q# W/ f* w/ E/ s# s* H
  1205. mysqli.max_links = -1" w- [. `) _  z0 B3 r  b

  1206. ; \) x! Y9 _- H) b9 L3 L+ ]* \
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache* K4 W" t7 ~  Y0 {2 X  c
  1208. ; http://php.net/mysqli.cache_size
    2 i- _5 \$ d% X) u# F
  1209. mysqli.cache_size = 2000
    * z# E! [3 P  t2 V) U7 F

  1210. 5 k( I! V- i  m  V5 P+ H# U
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use* H4 t: S. p8 U1 I/ ?. Y( _8 y% H
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
      G5 |$ b# w5 P: y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    * H3 @* Q, I7 K6 l# S
  1214. ; at MYSQL_PORT.
    ( c, ^% d) S/ M- i: ^
  1215. ; http://php.net/mysqli.default-port
    . q* |$ G% k' y* u" w- s# f
  1216. mysqli.default_port = 3306
    + G6 f1 x& L- Z6 G# w" r

  1217. 3 g( e% x* _: d; J# |4 z6 L# I
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & W' j" R  a2 C6 [# x. _
  1219. ; MySQL defaults.' y  L# A! U1 E2 I# f
  1220. ; http://php.net/mysqli.default-socket
    , l! M  D, Y6 X! w
  1221. mysqli.default_socket =* F$ K6 D* j/ V
  1222. ( T; s! b7 T) z6 J$ q1 v
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).% I" B- O" h/ e& r+ N
  1224. ; http://php.net/mysqli.default-host- L& _9 B6 _: [1 U$ Z* c
  1225. mysqli.default_host =0 D' d% h! @0 v: H8 X2 U

  1226. 4 ?, E2 L" {2 e+ E6 x
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).& i  m0 A2 C& Q/ Q. p/ K
  1228. ; http://php.net/mysqli.default-user6 j/ K% w/ @0 u; A+ Q3 L" K
  1229. mysqli.default_user =5 x1 V7 a% [8 C2 R, V

  1230. ; M/ f; y; V# K* T; o+ b
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).  H1 v$ a2 X2 n: `
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.* h  [0 x" Q5 \: C3 d, [
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    6 B7 D  v8 H" Q+ I1 @
  1234. ; and reveal this password!  And of course, any users with read access to this6 G5 n6 m9 S& Z1 H
  1235. ; file will be able to reveal the password as well.- Y7 }: \) J8 x" S  }1 p
  1236. ; http://php.net/mysqli.default-pw
    ) x8 L  l1 i: M) V$ g% q1 l
  1237. mysqli.default_pw =1 M* Q/ y6 g" S6 N$ V- U
  1238. 1 l% G8 A; v  h2 s: Q9 G, }2 [0 k
  1239. ; Allow or prevent reconnect
    8 P9 g# ~! j% ?7 @0 W, t4 e/ U
  1240. mysqli.reconnect = Off- _! ]! u  y+ L7 G) N
  1241. ' t: E% v; Y* {* o' V" h
  1242. [mysqlnd]
    0 ^) U% V  d* J6 h4 ~
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    1 B; b; }3 ?' s1 M* ~
  1244. ; used to tune and monitor MySQL operations.
    + r# v9 M. |: U: I3 h; G" U
  1245. ; http://php.net/mysqlnd.collect_statistics
    . V  v) a5 D, P, ^4 \3 X4 h' v
  1246. mysqlnd.collect_statistics = On0 E$ _3 L0 E+ B

  1247. " p* Y, h. i. c: y1 l) k2 g: W7 y
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    9 W0 @, A( O2 A  m/ I* R
  1249. ; used to tune and monitor MySQL operations.; ]/ H+ a* |* D
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    , x  x8 h1 h$ a% Z, v4 a5 v
  1251. mysqlnd.collect_memory_statistics = Off
    8 r# L9 Q2 e  k3 y+ {. s% \
  1252. ' [6 u  \2 A( R
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    : L4 m/ q: i+ @) v0 D6 i- L2 o0 }
  1254. ; file.' M# B$ S* H+ B7 n
  1255. ; http://php.net/mysqlnd.debug
    / ~# R! ~' ~9 G! B. |# M
  1256. ;mysqlnd.debug =
    ! z8 I3 G5 }- t8 ^# E

  1257. & G) j5 y& G7 \8 B' Q+ N" {' u
  1258. ; Defines which queries will be logged.
    ! @+ D( w5 \7 Q; \
  1259. ; http://php.net/mysqlnd.log_mask4 w+ N1 U: f" M7 @, {8 A0 I3 Q+ y
  1260. ;mysqlnd.log_mask = 0
    6 v/ u% ~! G8 b, T9 N- Q

  1261. 8 ~. s/ Z' E8 {
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.5 O5 e( V. l6 u" h* \4 g! _: t
  1263. ; http://php.net/mysqlnd.mempool_default_size
    ) D- C  R4 a. X* U4 X
  1264. ;mysqlnd.mempool_default_size = 16000
    : R3 r  K, d, k" E5 \- `/ K
  1265. # z5 ?0 \6 k8 i: d3 B
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.4 s- m# m& Q, K  ]- r, n
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size! h5 ~- q, {9 x
  1268. ;mysqlnd.net_cmd_buffer_size = 2048, C3 R& n1 o9 N* x
  1269. ' R$ h: D4 e% P$ ]& j
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    7 p& M1 C+ R* u, W
  1271. ; bytes.
    % A4 a& R  c  j1 W: V, V' Z  h
  1272. ; http://php.net/mysqlnd.net_read_buffer_size' Q7 P! ~0 K) I2 H1 n
  1273. ;mysqlnd.net_read_buffer_size = 32768
    . c$ x# j+ f: J8 F
  1274. ( a0 B  o2 b8 w/ E+ D) J6 a
  1275. ; Timeout for network requests in seconds.
    # b9 g7 b0 I4 }7 U
  1276. ; http://php.net/mysqlnd.net_read_timeout
    5 n) t, z0 t$ ^& {4 S( P
  1277. ;mysqlnd.net_read_timeout = 315360005 R5 g1 [' s8 ?
  1278. ) y% b" {9 W2 J' W+ X6 M
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    4 X* A3 Z5 R- c
  1280. ; key.7 D. n' k' M* u5 J2 S
  1281. ; http://php.net/mysqlnd.sha256_server_public_key6 a- l' W7 R1 t7 `7 ?2 H5 R; X* y
  1282. ;mysqlnd.sha256_server_public_key =0 |. i. e! j  k# [' R9 L

  1283. 0 e$ t9 B" |5 y& y4 d1 g
  1284. [OCI8]
    " q, {4 D6 H  X( _- G8 X
  1285.   h1 `1 R, s8 ^( ^+ H
  1286. ; Connection: Enables privileged connections using external" z/ P$ c. |% x- F  \/ B; L: |
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    & t) Q; t9 W# C# R# H
  1288. ; http://php.net/oci8.privileged-connect
    7 m" O/ p% I( k
  1289. ;oci8.privileged_connect = Off
    , Q. _2 A: _5 f: g4 G8 u. ]3 {* l

  1290. 8 X* [0 V, |3 ?
  1291. ; Connection: The maximum number of persistent OCI8 connections per. C% D4 B! k3 X3 S2 y& g9 t& e8 ^
  1292. ; process. Using -1 means no limit.0 H8 ^: V5 v' g3 L8 y$ I0 P
  1293. ; http://php.net/oci8.max-persistent
    " c1 ^3 ~- Q! z& K' s
  1294. ;oci8.max_persistent = -1
    ' C) |* O- G/ b3 ~3 O; u

  1295. & u! O' S) e: T& H2 I
  1296. ; Connection: The maximum number of seconds a process is allowed to$ ^2 P% w8 N2 R
  1297. ; maintain an idle persistent connection. Using -1 means idle) h5 Z- y5 e7 w6 ~
  1298. ; persistent connections will be maintained forever./ |) n, ?7 B4 n8 D: |7 p
  1299. ; http://php.net/oci8.persistent-timeout
    % O5 Y! b! ?& B  Y* \  f
  1300. ;oci8.persistent_timeout = -1
    3 D$ |, w; G  S4 c) \: J3 x

  1301. 1 }! l& G. E- @( i! M  L- g
  1302. ; Connection: The number of seconds that must pass before issuing a
    ' r% B! d8 C  G2 P: q  G
  1303. ; ping during oci_pconnect() to check the connection validity. When1 R1 m. r2 K% b$ o" q2 f
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    5 L/ K) y% f; V9 C# b
  1305. ; pings completely.
    5 J$ g8 a2 U! h& e
  1306. ; http://php.net/oci8.ping-interval5 @# q4 f4 @! t; f& D
  1307. ;oci8.ping_interval = 60
    ) C: V9 I2 R& y; X& e& d/ u

  1308. 4 G: l$ H3 d4 L3 }! m
  1309. ; Connection: Set this to a user chosen connection class to be used% |/ Z  o+ S1 j( C- u6 D; F( j
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    : b% @) T2 G  c; B) x
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to+ {0 T' S5 P$ s5 @" N! A/ T" Z: x
  1312. ; the same string for all web servers running the same application,
    ' \+ ~3 \0 R9 B- `- ?) ^6 a
  1313. ; the database pool must be configured, and the connection string must
    , V9 a# l( L0 I# O
  1314. ; specify to use a pooled server.
    4 h# w* R  o' g( u: ~; b
  1315. ;oci8.connection_class =
    % |( i) m& X" S5 ^

  1316.   b0 X- `( \; `9 _: E- S
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ) ?: r# g+ I$ x
  1318. ; Notification (FAN) events generated when a database node fails. The
    , H7 }# j4 L' h6 h0 [7 o) H; F' a
  1319. ; database must also be configured to post FAN events.
    & w4 q( j% X4 d6 C
  1320. ;oci8.events = Off
    2 d4 S2 y- b6 X+ h' o! j6 T2 A( g" ]
  1321. 0 {' e0 j- r5 V$ A8 m" a
  1322. ; Tuning: This option enables statement caching, and specifies how
    + i7 \7 e- c8 {  N  y
  1323. ; many statements to cache. Using 0 disables statement caching.7 x5 n" X9 P" }/ l  y9 m. ?& W
  1324. ; http://php.net/oci8.statement-cache-size: ~2 K8 ]! s( y" E$ g
  1325. ;oci8.statement_cache_size = 20
    3 f1 a1 p2 t( A8 s
  1326. # n) r4 X, q3 B. L6 u, N5 v
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    ; A, j5 k* [" F" f$ R6 w4 h4 G
  1328. ; rows that will be fetched automatically after statement execution.4 e8 k9 ~8 D9 s1 ?( L
  1329. ; http://php.net/oci8.default-prefetch
    / Q; w* Q! l! N
  1330. ;oci8.default_prefetch = 100
    3 f  W+ n  \0 q4 y
  1331. , e$ R6 z. H' w% B& J5 r% k
  1332. ; Compatibility. Using On means oci_close() will not close
    ( ~+ P% ]. @! G) @* _6 ?% n3 z5 I
  1333. ; oci_connect() and oci_new_connect() connections.
    / B0 b) T6 I& X( Y; S6 p6 @
  1334. ; http://php.net/oci8.old-oci-close-semantics
    ' y7 U9 c* p# N$ ?7 s  P- r6 ?
  1335. ;oci8.old_oci_close_semantics = Off% Q1 Z/ d" k2 a  v+ m2 A" d

  1336. + V. V% I" L; R7 A
  1337. [PostgreSQL]
    + i+ S. s; M0 J  s* N4 l7 g; ]! I
  1338. ; Allow or prevent persistent links.
    2 l  W' o  Y+ ^1 g, P
  1339. ; http://php.net/pgsql.allow-persistent* K( V: @1 T/ m: X# Y
  1340. pgsql.allow_persistent = On9 `" y+ J* y9 S! n0 r

  1341. & j7 p2 _- Q2 E9 m
  1342. ; Detect broken persistent links always with pg_pconnect().
    8 Y* h' m7 u- }
  1343. ; Auto reset feature requires a little overheads.$ l- c# n, i- [
  1344. ; http://php.net/pgsql.auto-reset-persistent
    # \+ Y4 w- Y0 Z0 L
  1345. pgsql.auto_reset_persistent = Off2 M8 q) @) W6 P6 D& {9 O8 |; P

  1346. , ]2 }! k3 B5 H" ^2 O
  1347. ; Maximum number of persistent links.  -1 means no limit.
    # }: `3 q' B6 d; b
  1348. ; http://php.net/pgsql.max-persistent
    . K5 v' j: F0 f9 x7 d. z
  1349. pgsql.max_persistent = -1
    2 S+ s: J* @  l3 d+ [& |/ ]& D

  1350. $ \/ K5 @9 ]3 D8 E
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.  e" o/ P: E9 o* _. G
  1352. ; http://php.net/pgsql.max-links, S4 J. \" Y" W' ]# `" t
  1353. pgsql.max_links = -1
    2 c4 Y  [5 F* H
  1354. 7 J! ?: k2 L) f6 q. O4 l
  1355. ; Ignore PostgreSQL backends Notice message or not.9 [8 h) V/ X( V$ W2 ?3 g7 d
  1356. ; Notice message logging require a little overheads.5 `: a' ^7 m8 G, v% c
  1357. ; http://php.net/pgsql.ignore-notice5 p% ^, g/ M: N( v" e: d+ D% P
  1358. pgsql.ignore_notice = 0
    % }4 \8 Y5 `' T5 ~% b
  1359. : x# s3 V2 z; k1 |8 C
  1360. ; Log PostgreSQL backends Notice message or not.
    $ D# b3 p2 ]" Y9 P, n0 d
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.! W4 e" K& ?( F  }
  1362. ; http://php.net/pgsql.log-notice5 n/ S6 l7 E8 `1 e7 s
  1363. pgsql.log_notice = 0  x- F/ j; ^. V( U% z

  1364. , `2 m+ i& q7 u8 T" V
  1365. [Sybase-CT]0 b* |$ k; n+ q8 q
  1366. ; Allow or prevent persistent links.% r8 i! e7 a* _/ o
  1367. ; http://php.net/sybct.allow-persistent
    # z$ L2 j& L, d5 k, N
  1368. sybct.allow_persistent = On
    / E* c, z% j" x3 C& X

  1369. 7 Z. D8 l# j( v+ r! A
  1370. ; Maximum number of persistent links.  -1 means no limit.& J* s* h; x) h0 X  t9 D' s
  1371. ; http://php.net/sybct.max-persistent
    ) @# i3 a0 }* f
  1372. sybct.max_persistent = -18 \4 R, }; P0 ]2 g

  1373. ' N% ~8 O' N# B
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 v$ I! _) E2 U. S8 [
  1375. ; http://php.net/sybct.max-links
    - M' t9 C0 H6 D$ z4 y
  1376. sybct.max_links = -1! @6 S1 M" H( r- [$ Q
  1377. ( X( c2 e8 j7 Y' D! A( n* p8 J9 V; s
  1378. ; Minimum server message severity to display.
    1 ]3 i( `9 h* {8 P/ j3 c
  1379. ; http://php.net/sybct.min-server-severity2 e) e7 ?: g! V, m* o; g
  1380. sybct.min_server_severity = 107 Q" }, O- f' i' o) K
  1381. 2 j4 U7 w! S8 q9 M2 l% t! l3 ^
  1382. ; Minimum client message severity to display.2 n2 W9 |8 X9 B, Y5 Q% W" H) w9 Q
  1383. ; http://php.net/sybct.min-client-severity
    0 \5 G7 k2 M/ p
  1384. sybct.min_client_severity = 10
    : b" O+ G' x# \/ h0 ]2 _
  1385. ! S( S: n: K; [1 j& t) R
  1386. ; Set per-context timeout
    6 b& }( Y, x4 F/ j2 r7 E: }  d
  1387. ; http://php.net/sybct.timeout
    / Y% G; j5 B% \
  1388. ;sybct.timeout=: ~0 X# a; T* f% ~' t
  1389. 5 s. _0 x7 Q# u5 D
  1390. ;sybct.packet_size  Z) a; l; k2 u  Z
  1391. ; t1 Q8 U3 G0 c% J. a( Z, w
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    - T* P6 j  ~% F8 e
  1393. ; Default: one minute
    / w' P9 q6 F: m3 Y" a. u
  1394. ;sybct.login_timeout=4 u) O. Z( R" |9 ~

  1395. 7 P  ?. W( V7 q+ \! E
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.: ]" F; K- |# C/ k
  1397. ; Default: none1 F& _5 w3 |0 c: e( _/ }
  1398. ;sybct.hostname=# I6 Q! u! f1 x* z* Y/ h
  1399. $ E2 H  L! h# u( K$ Y- m# |& ]
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".' Q$ ?) e: {8 u0 z  B8 n: b
  1401. ; Default: 06 w" s0 d1 f- q7 q
  1402. ;sybct.deadlock_retry_count=
    2 N7 F% e" A$ z2 f8 R# h3 P$ z
  1403. * y2 P7 I  A  v4 _
  1404. [bcmath]' S& m+ ^$ z% {) f
  1405. ; Number of decimal digits for all bcmath functions." M( \; D7 {/ E" {
  1406. ; http://php.net/bcmath.scale8 ^, \5 ^' U5 O
  1407. bcmath.scale = 0# _; f" ~8 q1 {4 S: ~' ?
  1408. % j' v! H0 n" ^
  1409. [browscap]
    9 ^4 i9 [4 N/ W! b
  1410. ; http://php.net/browscap+ \" E7 f7 j  ?  W
  1411. ;browscap = extra/browscap.ini" l$ ]% X. a; l" _( S% R& o6 P
  1412. 1 ]4 C4 d5 X2 `8 S$ {: X
  1413. [Session]
    . F# ]7 X- n# w1 V  l+ o5 R/ F2 B- B
  1414. ; Handler used to store/retrieve data.
    ' \5 ^6 R' c4 Q8 A8 M
  1415. ; http://php.net/session.save-handler5 b0 ]$ V+ T' k8 ]$ Y% O' A
  1416. session.save_handler = files: b/ k3 w: l4 }. S
  1417. ; [0 M$ O! c+ J& v) Y* H" u
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    6 U! h, ]/ X) D
  1419. ; where data files are stored. Note: Windows users have to change this
    3 Q. j: T$ ~6 i% j- S% U
  1420. ; variable in order to use PHP's session functions.
    0 r% h8 K1 ?2 j+ u# O
  1421. ;
    $ A: @' Q2 m/ L# N$ S/ x- T
  1422. ; The path can be defined as:
    . K3 i0 I8 W  g7 F+ P
  1423. ;  z! N5 l0 I: ?" O- b
  1424. ;     session.save_path = "N;/path"
    + E3 Y# @! I. N* p4 A
  1425. ;
    # Z& _  i9 u" c* V" O
  1426. ; where N is an integer.  Instead of storing all the session files in
    ( @7 H: J0 y, ?# t% N( M" l6 O
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    : S! p* O7 ?, P. X  a
  1428. ; store the session data in those directories.  This is useful if. ?3 h: u' l4 N* _1 I; N4 B' y2 h5 n
  1429. ; your OS has problems with many files in one directory, and is
    ( R( c4 e3 H! W, h
  1430. ; a more efficient layout for servers that handle many sessions.
    # F' D( d0 e, [/ w; h1 x6 E
  1431. ;9 Q* z# E% u, X; J- o+ I
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    5 |$ i) _" F  m
  1433. ;         You can use the script in the ext/session dir for that purpose.
    : ~4 q( Q% t$ e
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    & g5 l' ]/ V6 G- y% o1 ^8 _" U
  1435. ;         use subdirectories for session storage
    6 P; v7 G1 z; u3 \
  1436. ;
    2 ^) B% ]  G( j, [9 S
  1437. ; The file storage module creates files using mode 600 by default.6 q3 }3 y6 D: i* I* m- l4 @+ ^
  1438. ; You can change that by using& p$ k% H' @% @3 ]  f9 \
  1439. ;
    " \5 l$ i# c. Q0 x) W$ ]
  1440. ;     session.save_path = "N;MODE;/path"* O7 u+ P, z, s
  1441. ;# e6 g5 S9 l+ F* i+ @* Q" N8 ]
  1442. ; where MODE is the octal representation of the mode. Note that this
    : c( f- U# m$ S3 Q' p4 P
  1443. ; does not overwrite the process's umask.! l4 q6 _, f2 y  t/ S% @1 p3 B
  1444. ; http://php.net/session.save-path/ A3 _( R/ T6 L1 y" U5 ?  H
  1445. ;session.save_path = "/tmp"
    , u0 Q. `2 l9 `8 V
  1446. 3 [& }, T$ c5 k, ^3 w& c) [
  1447. ; Whether to use strict session mode.
    ; N: w4 n1 d3 N3 b$ x* T
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate, u& ]$ F; U8 `# K; D: g* i) {$ P1 K0 o
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    " ~# ]- W5 _8 K- @
  1450. ; applications from session fixation via session adoption vulnerability. It is
    : G3 d: Y$ [2 l; H  G( J% J: E, {' v5 t
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.5 Z8 E3 a! b3 l& g2 F) ?: P
  1452. ; https://wiki.php.net/rfc/strict_sessions
    ( r5 {) }$ S' @
  1453. session.use_strict_mode = 0' x0 F) u) E; E$ }

  1454. & Q7 D- e0 J0 a; n$ W# `: a+ f- D
  1455. ; Whether to use cookies.. q; e2 l2 T3 l* f0 C  P
  1456. ; http://php.net/session.use-cookies
    ' n( e4 H+ v0 M: n6 Z
  1457. session.use_cookies = 19 z) F0 ^. }/ q

  1458. ! U; M3 Q4 ]5 r/ b0 ?0 P
  1459. ; http://php.net/session.cookie-secure( d3 U4 D, d. e5 L2 ?. e& I8 m4 n# ?
  1460. ;session.cookie_secure =4 z# O* W: B# O( I; |( M
  1461. " T; b/ D$ N1 q  W4 O- V4 c
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining. N; e% U2 A5 f( A. g$ B" r8 P
  1463. ; the session id. We encourage this operation as it's very helpful in combating0 [# V6 H8 E# H! t, H
  1464. ; session hijacking when not specifying and managing your own session id. It is5 Z; s6 T! A9 V* A
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    6 I& z) u+ i+ S4 O7 K
  1466. ; http://php.net/session.use-only-cookies
    / a; u  c" g# s- i1 I! X, x
  1467. session.use_only_cookies = 17 z) {7 P( B, _4 |2 j
  1468. ' @; h* x+ R* [( R6 D1 f6 `" e
  1469. ; Name of the session (used as cookie name).
    ' E# R$ [7 v8 z8 ^) }+ @8 G$ X
  1470. ; http://php.net/session.name' M( y* ~) |0 x
  1471. session.name = PHPSESSID- M. M% p* V% R7 z- F

  1472. ) m* J1 W6 j( I0 E6 m7 U
  1473. ; Initialize session on request startup.' R0 i- W2 m( j' f9 }# R( }
  1474. ; http://php.net/session.auto-start
    4 M* W$ h' U+ m* T$ E
  1475. session.auto_start = 0& p% b( M6 w3 v( B

  1476. * I  b5 g3 ^7 f' X! V# I
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ! p' ^! K- L/ [" F. \* X9 ^
  1478. ; http://php.net/session.cookie-lifetime
    $ k" ?6 X6 P* S; z( v
  1479. session.cookie_lifetime = 0# i+ J% H, f' G1 f$ N$ p2 O& @

  1480. 2 n2 C  _: R9 ?- @! j: N0 V5 r
  1481. ; The path for which the cookie is valid.. l; x+ ?* ~+ i# W4 L0 U
  1482. ; http://php.net/session.cookie-path
    / d* v2 T3 E$ h# d
  1483. session.cookie_path = /
    $ }% J) g- J  }" Q$ \  `
  1484. ( X# c6 s+ L- P7 c  ~9 U  n
  1485. ; The domain for which the cookie is valid.
    , Z2 I% J! N, `0 T6 h& e6 n
  1486. ; http://php.net/session.cookie-domain5 ~; h* r% ~% m" N) s* s
  1487. session.cookie_domain =
    - s+ n& ?* A; h
  1488. ! K8 r1 `$ z8 t/ C5 U; `# b
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    " b6 Q4 R7 X1 [! g; i
  1490. ; http://php.net/session.cookie-httponly; _$ A8 h" }. y: G3 ~* p+ r
  1491. session.cookie_httponly =% b6 K' J5 ^- F+ L, Q
  1492. 4 ]4 x9 x7 \" ?  _: S- t* e
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ( l$ r. b6 H; ]5 d& p( u
  1494. ; http://php.net/session.serialize-handler8 v! n( ]) o' ?/ d8 U  j) M0 D
  1495. session.serialize_handler = php% Z5 u# d, Q5 h

  1496. % O6 }/ R* i; ]5 N+ I
  1497. ; Defines the probability that the 'garbage collection' process is started
    ! H1 {1 I3 @9 S
  1498. ; on every session initialization. The probability is calculated by using
    * a; b" }) v  N  @! F& |0 d
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    : k& O$ ?# E% V- F) I- r. b
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ) \" ?5 I8 }' m" i/ Q. o  }
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 q! i* o( u* b  ^; |
  1502. ; the gc will run on any give request.2 }2 d1 [# Y6 n1 b
  1503. ; Default Value: 15 a  m" _  E. ^- P6 \5 g
  1504. ; Development Value: 1
    ' U+ P3 r2 \. L1 ]4 \, b8 l
  1505. ; Production Value: 1" {3 {- ?2 D2 P2 {0 z
  1506. ; http://php.net/session.gc-probability
    ! U6 Z  b. G: y
  1507. session.gc_probability = 18 O3 v. @7 t" g0 W* W) [- W

  1508. , R+ E" ?  d# }: z5 o( L. F
  1509. ; Defines the probability that the 'garbage collection' process is started on every% S- j, g* Z$ ?7 ~; V% R- M9 p
  1510. ; session initialization. The probability is calculated by using the following equation:
    + ~+ {0 [; j% y+ t- l, O5 n
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and% c8 Y" |, w, C( c1 |. P
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ( ~1 B; q7 C/ `
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    / ~- T- {& ]! r3 X
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you1 z1 t: m, }+ F' t6 e1 {
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    0 R- w$ U2 l1 G0 q
  1516. ; this is a more efficient approach.4 d2 x5 D1 Z7 z& O# ~& c5 g# k+ ~
  1517. ; Default Value: 100% _1 s2 {' ]& L5 j$ T
  1518. ; Development Value: 1000! p1 ]/ K) T- H# K& W
  1519. ; Production Value: 1000: Z2 m) m, x% t! L6 D
  1520. ; http://php.net/session.gc-divisor
    / [/ w7 `( N8 @9 I
  1521. session.gc_divisor = 1000' y, X7 e- I& J7 x6 g
  1522. 7 ~( n0 A$ ]2 Q6 Y) |, ^
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    & j8 x9 m7 k- M$ v5 t6 s; \- t* ^
  1524. ; cleaned up by the garbage collection process.
    & R0 J5 f: H' }$ C! `# s, @
  1525. ; http://php.net/session.gc-maxlifetime0 @6 p  {; l! D. p! d" Y
  1526. session.gc_maxlifetime = 1440
    # V- k3 K$ d+ f( K6 M* Z
  1527. 6 @6 ?( w1 w- K
  1528. ; NOTE: If you are using the subdirectory option for storing session files" y/ C+ g# x; k. O
  1529. ;       (see session.save_path above), then garbage collection does *not*
    + h! b3 H( h' |+ @/ L; }) K
  1530. ;       happen automatically.  You will need to do your own garbage
    ' E: t: Y* Y9 o0 g1 B$ {) m
  1531. ;       collection through a shell script, cron entry, or some other method.
    1 e" N$ ?1 a7 X$ U: ^9 C; |
  1532. ;       For example, the following script would is the equivalent of0 L# Q; ]9 p( G" h! {( P
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    5 ^2 C% W) _2 W' n7 q, l7 m1 p" t* [
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ( X+ k9 h9 Q; [. R& `( d: G

  1535. , m" i& k$ n3 c8 b8 g, E9 n
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.0 D7 C' X; ~* E9 k& M- _
  1537. ; HTTP_REFERER has to contain this substring for the session to be! ?4 x, S* u/ [" i
  1538. ; considered as valid./ L; H; T7 K7 H0 }
  1539. ; http://php.net/session.referer-check
    9 R  c% d5 |( c% L
  1540. session.referer_check =2 g) F# D& {1 g6 G; H( _
  1541. & A* J  \8 R; c
  1542. ; How many bytes to read from the file.: U0 t6 d6 |. \
  1543. ; http://php.net/session.entropy-length! g- W9 E& h: o% v$ a
  1544. ;session.entropy_length = 32  \* S! d2 G; X% s( z

  1545. 9 G+ z3 U9 N; ]3 c
  1546. ; Specified here to create the session id.
    $ Y, c# |. e, Q% A0 }
  1547. ; http://php.net/session.entropy-file
    3 ^+ M' k- a; z8 O6 b
  1548. ; Defaults to /dev/urandom
      H( P: m' |" @* T+ M) v
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom* R" e. t0 B$ A" G% d' f- c/ E
  1550. ; If neither are found at compile time, the default is no entropy file.
    " x3 g8 I' j1 Y! N
  1551. ; On windows, setting the entropy_length setting will activate the/ ^9 e& T1 H# c
  1552. ; Windows random source (using the CryptoAPI)
    & ^- G1 W4 ~8 s' x: d
  1553. ;session.entropy_file = /dev/urandom
    / I* k2 E4 u+ c4 F

  1554. 7 F$ x2 |! [) S) U& P/ g% u5 J, |
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects0 G" \7 d" @7 `) d/ F( {9 X
  1556. ; or leave this empty to avoid sending anti-caching headers.
    . y) I+ {0 S3 }( `  x
  1557. ; http://php.net/session.cache-limiter
    9 r5 p9 [6 Q2 G2 z- Y* ]6 I
  1558. session.cache_limiter = nocache
    : v! G9 X" H7 o

  1559. 6 r6 A7 k' }! S2 x
  1560. ; Document expires after n minutes.# }) Z8 _+ Q( l7 {8 c; @  }' r9 a
  1561. ; http://php.net/session.cache-expire
    . W, ~1 Z2 J2 I4 X
  1562. session.cache_expire = 1804 R) K5 h  I4 W8 }

  1563. ; Q' _' E6 ]  _0 ]) B* o9 ?1 }
  1564. ; trans sid support is disabled by default.
    " Y; b& |: a& W3 G
  1565. ; Use of trans sid may risk your users' security.5 r. U( Z9 v; K1 K( z7 p
  1566. ; Use this option with caution.
    ; |! X( [  F( Q, b! ^: s3 x
  1567. ; - User may send URL contains active session ID: |3 V) Q8 n$ c" Q8 ?! X
  1568. ;   to other person via. email/irc/etc.9 i2 r$ Y1 V, q& D4 I3 F/ p
  1569. ; - URL that contains active session ID may be stored' [1 ]. ?9 d/ J2 B+ D) M9 _( Q
  1570. ;   in publicly accessible computer.6 Z7 F& a+ I' [8 f3 d' h
  1571. ; - User may access your site with the same session ID
    + D7 z' y' c: @
  1572. ;   always using URL stored in browser's history or bookmarks.
    1 v7 @: }- A4 O- [  B/ ^2 h+ V9 U# |4 Q
  1573. ; http://php.net/session.use-trans-sid8 A* B3 G- j! `- b
  1574. session.use_trans_sid = 0* m! Z' B' @" f4 A) P2 i  X
  1575. + u* m, p  Z& R4 s) J/ s
  1576. ; Select a hash function for use in generating session ids.9 c1 P% E+ x0 k8 \5 v
  1577. ; Possible Values
    6 l+ j5 L8 x3 O! J" g$ R# C
  1578. ;   0  (MD5 128 bits)" S; J5 v) a+ J# ?
  1579. ;   1  (SHA-1 160 bits)
    8 d, }6 u7 B4 {# f
  1580. ; This option may also be set to the name of any hash function supported by4 ?8 B; ^! K% r, _; O
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
      @. N" a8 `1 b7 B
  1582. ; function.
    % a, o* V- \- P( G' c7 @6 Q2 Q
  1583. ; http://php.net/session.hash-function
    : h) @- [. y+ m* E7 q( Q& r5 s2 E
  1584. session.hash_function = 0# w/ S- L- m9 `

  1585. $ u5 e- Z' m5 x# b8 ]
  1586. ; Define how many bits are stored in each character when converting, }7 u6 O4 w$ _
  1587. ; the binary hash data to something readable.. K7 C8 ~, G) _/ m% ~. k
  1588. ; Possible values:
    / e. l* M; Q# m2 S/ Z
  1589. ;   4  (4 bits: 0-9, a-f)) L6 J# P/ N& @& z
  1590. ;   5  (5 bits: 0-9, a-v)" g& c! V1 s( h4 g0 t
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    7 p, H4 C( v( O) D  L$ l  z3 R
  1592. ; Default Value: 4; l8 b" l2 g+ ^- d9 J: F
  1593. ; Development Value: 52 f$ o- {" {: W/ R% I: Y! u, L
  1594. ; Production Value: 58 V3 v! i( R% y$ I
  1595. ; http://php.net/session.hash-bits-per-character
    & H/ C: g3 Q  @7 o7 l6 I; H
  1596. session.hash_bits_per_character = 5
    . {* o7 _0 V  c' r) v6 {
  1597. ! i5 H7 v0 A0 j! o0 C
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.+ _1 n' `' ~4 c: n' Z7 ]
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    6 l  Z2 ^) \  {1 Z( }5 l: v
  1600. ; add a hidden <input> field with the info which is otherwise appended6 @! @% F7 m9 }/ o" H8 `
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    7 R8 h( ^1 y) U: R% r8 V
  1602. ; Note that all valid entries require a "=", even if no value follows.( H2 v; T4 l7 [
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="$ Y1 N# G/ U3 f
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! J6 j- F* H+ ]  S5 f
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 H& M& g: c& s! y* }* t
  1606. ; http://php.net/url-rewriter.tags) K1 L1 V8 o$ @% Y( B% A5 a4 Z& _' g
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    . F- H% i6 A6 y9 b1 i
  1608. 6 L, B+ j1 O7 b
  1609. ; Enable upload progress tracking in $_SESSION
    ! v1 F# \- Z& }/ u% C2 L4 `
  1610. ; Default Value: On- P/ |, _2 a/ ?, \: H
  1611. ; Development Value: On8 y) P$ b9 k6 a) }
  1612. ; Production Value: On: ?) o# z7 s8 {2 U* c) k/ K4 z
  1613. ; http://php.net/session.upload-progress.enabled
    $ f$ @* y+ M  a
  1614. ;session.upload_progress.enabled = On
    / G2 S; g0 f1 r* @' W
  1615. 7 v* k8 h8 r1 O; |; c/ h
  1616. ; Cleanup the progress information as soon as all POST data has been read" o- n1 x' u# @
  1617. ; (i.e. upload completed).' q' d5 N, g. h9 _) R' h
  1618. ; Default Value: On
    3 u  l" o6 j4 s7 O% E
  1619. ; Development Value: On
    & |. C! t; c) v' M
  1620. ; Production Value: On- o5 t8 \+ k6 W8 D. @& k9 V
  1621. ; http://php.net/session.upload-progress.cleanup" U* ^  j& u+ s* P& Y
  1622. ;session.upload_progress.cleanup = On5 K6 Q3 f% h" j6 V) v
  1623. 4 a' }& F5 l' t
  1624. ; A prefix used for the upload progress key in $_SESSION
    . ~* X! R& l) ]8 A# T
  1625. ; Default Value: "upload_progress_"
    * _( \4 m7 _$ `4 e4 F
  1626. ; Development Value: "upload_progress_"
    * p# D* C: p( @+ P; A. D
  1627. ; Production Value: "upload_progress_"
    8 G. U# W' O, C" P+ q* I5 w
  1628. ; http://php.net/session.upload-progress.prefix' s- A! G4 r. o) W; U+ Z
  1629. ;session.upload_progress.prefix = "upload_progress_") \) H* t) q: a6 a+ }7 I

  1630. % J4 Z1 d) d8 \, X
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    , I6 i  O) T% O
  1632. ; containing the upload progress information( X9 c) _* a1 _. y. c2 {
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"# W, S" h/ ^9 I; @+ c
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS") ^) {* P+ J( l. q
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"3 V$ c. y3 \" Q% S1 C( f/ h+ ^
  1636. ; http://php.net/session.upload-progress.name
    " m9 {: P. {2 H$ e1 J( S
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    & z' I3 u6 ?( Q7 b
  1638. , g) W) U9 r& T% i/ X9 S2 \9 O
  1639. ; How frequently the upload progress should be updated.1 Z  P! }5 d7 k- T6 o  f
  1640. ; Given either in percentages (per-file), or in bytes
    6 _9 _; I# c/ s1 L
  1641. ; Default Value: "1%"
    " {8 A- \4 F& `! i6 U$ X
  1642. ; Development Value: "1%"
    5 H1 S1 T! v3 I. q% `
  1643. ; Production Value: "1%"
    9 U6 A3 e3 w; r
  1644. ; http://php.net/session.upload-progress.freq$ D  _' I5 g8 m; ^( \8 ~/ B% U( X6 T1 d
  1645. ;session.upload_progress.freq =  "1%"
    ' q/ d2 d8 u$ D2 s# ^  O" }2 t

  1646. # W3 K; Y/ e; h5 L& A. [% X
  1647. ; The minimum delay between updates, in seconds+ f7 [: I/ g3 p
  1648. ; Default Value: 1
    * W" i4 c/ g% ^' |3 |
  1649. ; Development Value: 1
    5 d$ T. P& H0 M, C4 r  _
  1650. ; Production Value: 16 N* d& C" e6 @' ?6 r, P
  1651. ; http://php.net/session.upload-progress.min-freq3 E2 C! [8 M) N) l9 W$ I
  1652. ;session.upload_progress.min_freq = "1"7 V; F+ y/ I6 J9 M1 k9 Z$ i

  1653. - `9 N) t* M7 ]/ L7 K5 p
  1654. [MSSQL]
    , V5 D! V  {: Z3 J6 l; ~" U) b
  1655. ; Allow or prevent persistent links.
    / m5 b6 Y' Y  m- q+ w, u9 L
  1656. mssql.allow_persistent = On3 e' |0 L5 [1 _1 M
  1657. & i. E# k+ j9 d+ f
  1658. ; Maximum number of persistent links.  -1 means no limit.
    1 D8 F! D7 u0 A
  1659. mssql.max_persistent = -1
    & P7 E) R$ P' e" |

  1660.   m4 L' V' U: v
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.: o1 H9 A8 ?! `2 B$ [# j
  1662. mssql.max_links = -1% H9 V" R2 n' \0 I, N: A; {( T

  1663. + b3 A: D7 f: N" q; [
  1664. ; Minimum error severity to display.* h" ]$ f& `' j- {6 M5 D
  1665. mssql.min_error_severity = 10$ K8 i! z2 S' J2 c1 M* O8 C7 i  o% d
  1666. , a7 g  E/ a/ d5 i
  1667. ; Minimum message severity to display.
    + f$ P3 C" k! a% K
  1668. mssql.min_message_severity = 10
    - a3 m% B' d# b

  1669. 3 y1 m& k% M6 v# M: Q! i
  1670. ; Compatibility mode with old versions of PHP 3.0.3 `4 M5 E9 C. ]! b: P* }7 x
  1671. mssql.compatibility_mode = Off
    4 O8 C  ?' {/ G. |- V& ~% |
  1672. 4 o7 W* f% H. T% T+ O, i
  1673. ; Connect timeout8 b2 W) }9 `  P# i- o4 X
  1674. ;mssql.connect_timeout = 5
    + ]( w, T( \5 U
  1675. 3 I" ?  E, Y# r
  1676. ; Query timeout
    & s: P2 K7 d: J
  1677. ;mssql.timeout = 60' D' Y8 H6 H* N9 D! o9 C, n; o
  1678. : Z: L8 e" x, ?% \' A0 N# n0 W( N
  1679. ; Valid range 0 - 2147483647.  Default = 4096.. J  f' W2 l2 V  }, H! F6 [) G
  1680. ;mssql.textlimit = 4096
    6 R5 `0 v) N3 v9 S  U

  1681. 3 S/ G7 N! G3 A
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
      o3 I% b8 y; j, c7 ]8 o
  1683. ;mssql.textsize = 40960 {' t5 x9 }( I! L3 e

  1684. 6 u6 Q3 A0 E  m/ r
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.% D0 i: X6 M, A" j. _' h$ B+ b
  1686. ;mssql.batchsize = 04 p% ]! a6 Q  z9 v

  1687. $ e% y) ?$ I7 l1 U3 H" N. q
  1688. ; Specify how datetime and datetim4 columns are returned1 ~* V7 N+ s# D( W1 I
  1689. ; On => Returns data converted to SQL server settings
    ' d+ x" _& ?$ g. K. P" V
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    6 `; k4 W+ y+ O% p: h, p" n3 u
  1691. ;mssql.datetimeconvert = On
    / u3 [+ z7 {  X. c/ T+ H
  1692. $ Z: V  ~& u  `( |# `8 P
  1693. ; Use NT authentication when connecting to the server
    6 U/ v* H! t. r, \
  1694. mssql.secure_connection = Off5 z& _( O( o2 i- g, n  b8 h

  1695. # N2 h8 p- M6 j" k
  1696. ; Specify max number of processes. -1 = library default
    % _& |* x' n; \
  1697. ; msdlib defaults to 25. V6 l* ?& V7 G  v3 N
  1698. ; FreeTDS defaults to 4096
    ( O2 I3 r# a3 E6 R4 Q
  1699. ;mssql.max_procs = -1
    2 ]) j+ o) t( m4 j

  1700. ( |# g$ f' ?- m4 Y
  1701. ; Specify client character set.
    1 a; \% w- s9 G! y3 x8 |2 V
  1702. ; If empty or not set the client charset from freetds.conf is used6 c2 _! F3 k& P4 x
  1703. ; This is only used when compiled with FreeTDS
    ) t: ]5 H- w# m
  1704. ;mssql.charset = "ISO-8859-1"3 s3 K3 B/ {  }6 Q

  1705. 1 t% L8 r: o. \) ]& x6 \
  1706. [Assertion]
    , X* {, ], U+ z! }
  1707. ; Assert(expr); active by default.* P) E3 b! v3 m5 D& O5 v
  1708. ; http://php.net/assert.active
    ( H$ O* T. `* {8 m" q, A
  1709. ;assert.active = On5 u: W2 [% Y. x+ U: D5 J

  1710. * H  J) j4 q& g8 l
  1711. ; Issue a PHP warning for each failed assertion.
    3 m, v1 t! P1 q% P6 ]2 u! H2 o
  1712. ; http://php.net/assert.warning
    7 a9 w- Y, W' H; U9 g4 k2 s. C8 x
  1713. ;assert.warning = On
    ! I6 Y' o$ C1 X
  1714. 0 V* N# x: D5 T( L- z! {
  1715. ; Don't bail out by default.
    . U, i' P2 F2 f4 x- k! S, W7 }, r
  1716. ; http://php.net/assert.bail6 L/ Q3 U) o* t- ^9 Y) x0 B
  1717. ;assert.bail = Off
    : x: t8 }! u; g' r

  1718. : z* d% l8 N5 ~5 u  S; Y( v
  1719. ; User-function to be called if an assertion fails.* ^0 ~$ Q+ c: I6 [5 t
  1720. ; http://php.net/assert.callback, k7 ?5 D  D7 y9 I/ O6 ]1 C: l
  1721. ;assert.callback = 0- t4 C$ F. z0 c( D" p. z0 H$ S6 y
  1722. ; F. x+ s8 x' b0 u$ }% W
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    ) ]# t" _9 `* E+ [# K- k3 c3 O
  1724. ; error_reporting(0) around the eval().
    - `, e% t0 @$ f8 }- C
  1725. ; http://php.net/assert.quiet-eval
    6 T( y; S# v* Z/ `! ~
  1726. ;assert.quiet_eval = 0
    / @# w) k  `; R" K* K3 H

  1727. ! B; k  h' h* `. r9 G5 e
  1728. [COM]
      }4 {0 S; V5 Z
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs; Z6 Z, ^) ^4 |3 s! C
  1730. ; http://php.net/com.typelib-file
    ! q$ }0 ^( {1 f1 [  C
  1731. ;com.typelib_file =
    0 Z) l' ?& M; Y" P5 {
  1732. " T4 g  P( U; i. Y
  1733. ; allow Distributed-COM calls
    " O3 U$ F1 b, V) |, K3 |- p
  1734. ; http://php.net/com.allow-dcom! m7 z" D, w7 H* p. C' R
  1735. ;com.allow_dcom = true! V1 T% x' `- p. b. G; d

  1736. ! i6 J6 j/ e& t( }
  1737. ; autoregister constants of a components typlib on com_load()$ `9 S& Z3 J1 R
  1738. ; http://php.net/com.autoregister-typelib2 p" a! N6 }: r) f1 F3 A( }
  1739. ;com.autoregister_typelib = true. `& S* r* N/ ~, i% k) n2 F5 b! b
  1740. . U% z8 z, _; E6 R
  1741. ; register constants casesensitive
    : k0 E! N% A: _) V! F3 h- ^) P
  1742. ; http://php.net/com.autoregister-casesensitive
    , r! A' q% }. s; S+ K
  1743. ;com.autoregister_casesensitive = false" R5 R: q) p  F
  1744. 5 C5 q& H. B( T0 e' ~% K
  1745. ; show warnings on duplicate constant registrations$ }8 f6 ^: ]" y' S
  1746. ; http://php.net/com.autoregister-verbose
    " Q& B8 J9 `# l; _% H# z  c
  1747. ;com.autoregister_verbose = true
    . v6 x, X6 G  \% H! `/ \9 N. j

  1748. 4 S7 z, V0 g  f4 l- a8 D
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    0 n! M1 p# d  s1 R+ F* l; {9 V& _5 `
  1750. ; Default: system ANSI code page
    7 K7 a9 K7 r# L* ]+ X5 ^* ]
  1751. ;com.code_page=1 [  E/ l( a% B

  1752. ) E* l% r' m1 x4 F4 g+ j
  1753. [mbstring]
    6 E) l5 M5 l+ j( z
  1754. ; language for internal character representation.4 B! U1 A. ~: g" K9 Z* l7 n
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.4 A/ _0 D  E* g
  1756. ; http://php.net/mbstring.language  a( @+ ^  w  {( t
  1757. ;mbstring.language = Japanese
    * _0 G" R- F* C: |- _, \9 J
  1758. ' r( r9 U7 x6 o! o5 K6 [
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    + K3 Z/ a  e' z1 ~0 W+ u
  1760. ; internal/script encoding.3 `/ g, r+ q3 M, x" U/ N7 ?% F
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)3 n5 i% y* U1 a6 U$ D) \
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    , Q$ k7 i9 A  F
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ' `& C5 ~# U! Y! J1 a' N- \
  1764. ;mbstring.internal_encoding =5 P7 J! O" n8 S6 y
  1765. ! h# I$ t" h9 H  N6 \$ x7 u0 K* z/ X
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    6 \' c: n7 _; s0 Q
  1767. ; http input encoding.
    ) v& T2 g$ l6 ^  F8 N4 ~' ?1 j- e
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.- D$ R! b. Z& J) K; Q. Z( {: d
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    $ U. T' a. C/ p
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ; |  `' ]' J. s6 u
  1771. ; http://php.net/mbstring.http-input
    9 ~7 k* ?% y  o# |0 m' W, e% P- A
  1772. ;mbstring.http_input =' c' r  F5 t& K+ v

  1773.   I7 F, P4 o/ Z, W
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.' I+ \0 @  ^& R$ y
  1775. ; http output encoding.
    $ F' G& A5 i9 @
  1776. ; mb_output_handler must be registered as output buffer to function.( [8 G" P3 r# f
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.: W6 ^) F. O) Q: I
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    " V# A& f' p% J. _: Q3 ]) Z
  1779. ; To use an output encoding conversion, mbstring's output handler must be set* ?8 K6 A2 v; u" |8 q+ C! U  n% M7 T
  1780. ; otherwise output encoding conversion cannot be performed.
    6 K: @& N) G9 G) H
  1781. ; http://php.net/mbstring.http-output) A0 D$ w6 ^4 M
  1782. ;mbstring.http_output =
      v* V5 N( b2 K/ r+ v& {
  1783. # @1 i& N6 |, R; {, S. ]' I" H
  1784. ; enable automatic encoding translation according to
    ( F; E; F6 e- T) J5 g: P* G
  1785. ; mbstring.internal_encoding setting. Input chars are0 u0 l3 p+ X; F; W1 |2 Q; \+ |  j
  1786. ; converted to internal encoding by setting this to On.
    4 A4 b' Y7 m. V4 W; D. \/ q1 P" v8 k
  1787. ; Note: Do _not_ use automatic encoding translation for% \5 ]' W  N5 Z6 d6 z& R
  1788. ;       portable libs/applications./ s4 k* Y% K; S) V3 E3 f' A
  1789. ; http://php.net/mbstring.encoding-translation" h" G$ D+ ?6 y1 `5 |. {( Y. e
  1790. ;mbstring.encoding_translation = Off
    5 I/ X; \; R% ]! k9 p- y

  1791. , W# I% `8 l9 y% ]" ?$ [
  1792. ; automatic encoding detection order.5 v3 T* s# G; _4 p! x' p  n8 D
  1793. ; "auto" detect order is changed according to mbstring.language
    ! B, E4 r- h( K
  1794. ; http://php.net/mbstring.detect-order
    + r5 F. z2 {8 k2 A8 O6 H  f
  1795. ;mbstring.detect_order = auto8 \: L: V! Y. A1 e" _* ?. n
  1796. ; e" v3 o4 c+ B6 h& o1 U) E
  1797. ; substitute_character used when character cannot be converted+ _! m2 v6 _! X$ M! r: G5 `
  1798. ; one from another' N& F& x: u+ [  Z; h% C
  1799. ; http://php.net/mbstring.substitute-character' x2 x; q( j+ S( r& ~( X
  1800. ;mbstring.substitute_character = none
    ( r! n+ Q* s+ c; g8 C- X

  1801. ) ~( p' R: J1 S" y( m
  1802. ; overload(replace) single byte functions by mbstring functions.0 i. s. L# q8 y) h; {2 H! j  u
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ; v3 ^; h) ^% U2 t: O8 n% T! `& q# G/ K
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.0 b7 O* T  x/ C" x, Y# a$ \$ }# p
  1805. ; For example, 7 for overload everything.. q* Q$ t; a) ]% O. K
  1806. ; 0: No overload3 U+ o/ r5 q3 x  x/ e
  1807. ; 1: Overload mail() function
    / q) y5 t4 P& [& x& T) {9 \& w+ e
  1808. ; 2: Overload str*() functions
    ' c5 k# q( v- ?& Y
  1809. ; 4: Overload ereg*() functions
    2 D: u# @4 v% _7 Y/ z. v# z& y
  1810. ; http://php.net/mbstring.func-overload' ~" P+ ~  X0 s! d$ C+ @+ U* |
  1811. ;mbstring.func_overload = 0
    : C! R3 e" Z% K) J! G5 `2 n

  1812. $ v4 s2 K3 ^2 ^/ q- p2 h. T
  1813. ; enable strict encoding detection.
    0 U: y# l0 z) j& |7 A* O. T
  1814. ; Default: Off
    7 o; `7 Y* B7 R3 F5 O
  1815. ;mbstring.strict_detection = On6 i* J) H: x0 P

  1816.   x, W- P# j- K+ [; x4 H, W
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ' ]6 o- Y9 Q6 `  ^, J2 n, W
  1818. ; is activated.# Y( t& G6 }; _8 O6 }+ d
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)( b! I' j2 ]/ p% P9 _# G' j
  1820. ;mbstring.http_output_conv_mimetype=) f7 W, h0 _8 v8 ~' s8 s

  1821. 4 t' S( O; N/ U2 M5 b  e" Y
  1822. [gd]: A' Q  V2 Y* R0 s! s
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    2 d$ G9 y8 A: M% y
  1824. ; a gd image. The warning will then be displayed as notices5 f& }1 S9 ?( M6 U& B
  1825. ; disabled by default
    . \2 I: r2 U" k3 Y, M8 L
  1826. ; http://php.net/gd.jpeg-ignore-warning/ v4 _7 o3 y+ {! w: s& j7 W4 M' J, h
  1827. ;gd.jpeg_ignore_warning = 07 x# m# f8 N/ p) ~9 A, ]

  1828. ; ]# u/ _1 {- W% u; z5 D
  1829. [exif]
    ( u0 z3 ^8 x0 K4 W. I
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ' M: w( c5 A! S- N. n/ e2 H
  1831. ; With mbstring support this will automatically be converted into the encoding& [! e+ g) P$ ^
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding" T  y  j6 e/ @) d; s1 ?' y
  1833. ; is used. For the decode settings you can distinguish between motorola and* V' r+ S8 u, C  w% m8 X8 @
  1834. ; intel byte order. A decode setting cannot be empty.
    % E, k- E  {* d: g4 p  S' j
  1835. ; http://php.net/exif.encode-unicode
    - |4 s$ Z3 ]: e* n
  1836. ;exif.encode_unicode = ISO-8859-15
    7 D9 _$ X9 W4 ^3 Q* o7 `
  1837. # \' a( v# |" P5 i' W; E/ K5 @
  1838. ; http://php.net/exif.decode-unicode-motorola
    9 h3 g& I2 c  n( o2 w
  1839. ;exif.decode_unicode_motorola = UCS-2BE$ |' z3 q0 [: s" X! P9 ~

  1840. % l4 ?; ]7 \4 t. d* P# z/ w) f2 T/ c
  1841. ; http://php.net/exif.decode-unicode-intel9 i) y$ |- K" x/ m1 c/ p: D
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    * F( C- w2 X% _6 y. ]7 d

  1843. 9 [4 f0 o! |& x( u% P
  1844. ; http://php.net/exif.encode-jis$ t. \2 g4 Y) h/ q
  1845. ;exif.encode_jis =
    ; n' F$ u' @# {) Y  W

  1846. + A5 b8 g0 W( g9 l1 u
  1847. ; http://php.net/exif.decode-jis-motorola! C+ t& H: j8 W7 W: i0 \! M
  1848. ;exif.decode_jis_motorola = JIS
    * M3 S0 E& w$ ?6 e3 V) P
  1849. ' e" X3 z4 m+ L$ j' i# [6 a; S% D3 k
  1850. ; http://php.net/exif.decode-jis-intel
    / t: w8 l+ A  n1 P. m- q* Z- L# j4 W
  1851. ;exif.decode_jis_intel    = JIS
    5 {' }* F$ I( Y& y+ p" g3 U
  1852. + p; ^/ C* X3 j$ k: o8 v% t
  1853. [Tidy]
    ! n; D( U1 B; J* p- d2 v$ z
  1854. ; The path to a default tidy configuration file to use when using tidy
    ( _5 d$ o/ K; M4 }8 r7 q/ Q
  1855. ; http://php.net/tidy.default-config
    : S! n4 {. M9 S" ~, w$ M5 D. o
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg8 L5 w" m* F! y6 k
  1857. 4 ?' l4 K+ G! v# H2 s
  1858. ; Should tidy clean and repair output automatically?
    1 H  @0 w; [, O1 z2 v  p2 \3 ^
  1859. ; WARNING: Do not use this option if you are generating non-html content
    ! X1 K5 W" {3 ~' a
  1860. ; such as dynamic images9 e1 S( {' i0 R' V* D) g% @, o
  1861. ; http://php.net/tidy.clean-output
    - O5 ^/ I3 e# K$ Z" Q
  1862. tidy.clean_output = Off
      v- ]" c' Q( M. {9 K
  1863. 2 p! i) T4 H0 a$ ^0 H: _
  1864. [soap]) w. _! r7 b. y1 v) F4 l$ L( I+ S
  1865. ; Enables or disables WSDL caching feature.
    ) p% T+ u) D0 J: Y3 z. k
  1866. ; http://php.net/soap.wsdl-cache-enabled
    . G! u+ _' r  b( K( O: t
  1867. soap.wsdl_cache_enabled=16 l2 X: v6 A7 v# I2 M9 j) a

  1868. ! E% r* o$ i$ k' v
  1869. ; Sets the directory name where SOAP extension will put cache files." |2 T) g$ A& q: Q: b) ?
  1870. ; http://php.net/soap.wsdl-cache-dir1 W, a1 t+ I# m1 N
  1871. soap.wsdl_cache_dir="/tmp"
    5 [( O: b- w: ?  K! r$ J$ H' x+ O
  1872. ( Q# y2 n  _- A% S) b+ F! @; X1 m
  1873. ; (time to live) Sets the number of second while cached file will be used' V. K4 o9 x2 J) t8 z6 T: Y) x
  1874. ; instead of original one.9 f+ K& K0 p. @) I
  1875. ; http://php.net/soap.wsdl-cache-ttl
    - t* X8 S. f+ u2 H
  1876. soap.wsdl_cache_ttl=86400
    8 ?. N/ I& V1 w8 \/ F5 k& B# [

  1877. : ~5 I8 E4 k# G+ m+ [
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)0 ]  ~# ]* ]4 |, L7 _6 L9 U
  1879. soap.wsdl_cache_limit = 5
    ' {: O. f7 A" {: h! v1 O
  1880. . u, a# M& {! v) n+ l
  1881. [sysvshm]
    6 a5 T7 s9 i) R+ w
  1882. ; A default size of the shared memory segment
    4 J, b4 g) }9 |. U
  1883. ;sysvshm.init_mem = 10000
    ' H: s. _8 R* {' U1 P% i: \( y5 b
  1884. 6 I+ i) x: P9 m/ b/ Y5 i) a
  1885. [ldap]. M. U9 P% k$ l/ k
  1886. ; Sets the maximum number of open links or -1 for unlimited.+ P9 I& d9 b) @3 m+ `
  1887. ldap.max_links = -1: ^( |, d- N# x: m4 T- o

  1888. 8 W8 r4 {# ^7 O) ]
  1889. [mcrypt]% X; R( ?# N  }7 k2 S+ C
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open# ~' f* c% |/ a3 L2 O( U7 ^& D

  1891. 0 q* N& d* q* H. ?# G. [
  1892. ; Directory where to load mcrypt algorithms9 ~7 Z- @% P. G5 V# \% e& B
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      C. y7 A* G" {4 z
  1894. ;mcrypt.algorithms_dir=  O0 w  F1 D2 ^6 d  G
  1895. ' x4 O. a1 A) k$ F* ^
  1896. ; Directory where to load mcrypt modes
    6 n3 g0 v" y' C1 Q
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    9 j1 S1 i% l. Q# V& \% V9 g3 a5 ?
  1898. ;mcrypt.modes_dir=
    + n! ^  p6 H4 Z. K8 Q1 R* w
  1899. + F% r+ S% t$ V6 j
  1900. [dba]: i1 l9 \# N8 J; G& w: R$ g
  1901. ;dba.default_handler=
    0 C0 J6 L6 D, W9 A5 e7 A/ Z1 o+ \

  1902. 5 V  s- ^  |' K
  1903. [opcache]
    / o4 J& M$ M+ _. C
  1904. ; Determines if Zend OPCache is enabled
    % K1 F" _1 `/ u5 M1 {: ]+ r
  1905. ;opcache.enable=0' @9 @8 R; {  d; H+ N' D' I$ Y. O
  1906. : V6 w/ ?- G5 g3 ~* y4 u
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP# Y4 V! f( {% h' L
  1908. ;opcache.enable_cli=0% B5 L* P) x; A9 e! _3 |. w6 q1 k6 s  g
  1909. 5 b8 M8 Y5 H& o& L2 t7 o& a
  1910. ; The OPcache shared memory storage size.) a; c6 m2 t* h
  1911. ;opcache.memory_consumption=643 o  U9 u% f+ O5 E' _+ ~( _

  1912. . a. H( a1 K/ q& t5 n3 i
  1913. ; The amount of memory for interned strings in Mbytes.
    - U3 x0 A; C$ ]0 ]# n2 [4 W1 N; G  k
  1914. ;opcache.interned_strings_buffer=4: m& K; f7 W1 N# D
  1915. 7 r. X( L7 n- b
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.9 A! E9 }6 l0 r: z
  1917. ; Only numbers between 200 and 100000 are allowed.$ I* c5 G1 P6 q/ ]; N$ ~  y8 k: k5 L
  1918. ;opcache.max_accelerated_files=2000
    - C' q# E  s& [/ P, X! [
  1919.   Q1 o6 v7 |4 F' r5 V
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.3 o4 w8 {, b! i' }- c& {
  1921. ;opcache.max_wasted_percentage=54 m, I0 n( @8 m" T# |

  1922. % L- W% {8 j. J- Z% a
  1923. ; When this directive is enabled, the OPcache appends the current working
    & t  P9 |" ^: N% B
  1924. ; directory to the script key, thus eliminating possible collisions between1 q4 W- V7 |( w& E4 E5 Y# R3 q* @
  1925. ; files with the same name (basename). Disabling the directive improves/ J$ x# [# N. q
  1926. ; performance, but may break existing applications.% f, ^7 i4 X( ?
  1927. ;opcache.use_cwd=1$ |7 Q  |1 \- y$ u. x- g7 i+ k+ w9 e

  1928. 7 h. B/ J4 b; ?" P0 v' U, Q
  1929. ; When disabled, you must reset the OPcache manually or restart the
    0 B& s# m1 k+ A7 ?, d# A# ~
  1930. ; webserver for changes to the filesystem to take effect.
    ) L' E# H& w+ U2 Y; x
  1931. ;opcache.validate_timestamps=1
      t! Q, R" c. q# K* d8 r
  1932.   Z; B( _  y( q8 _
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    : W/ E* [" m7 C' \: N
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    " J7 C3 j7 ~5 E; y1 p' Z
  1935. ; once per request. "0" means always validate)
    + q4 u+ M1 a1 x# ~2 ^" r8 k& C- q
  1936. ;opcache.revalidate_freq=2
    % e1 O$ I6 W0 Y* Z; E7 w1 p6 X) ]% `

  1937. 6 q. n) Q. v1 e  x4 ~
  1938. ; Enables or disables file search in include_path optimization
    # k0 k9 j$ A* J' i
  1939. ;opcache.revalidate_path=0- s  s7 w+ t" L
  1940. 8 M/ {2 m1 t* n1 _
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the9 z+ U5 H7 M, D8 j' }
  1942. ; size of the optimized code.
    " Z/ q3 ^' c" v8 P3 X; G
  1943. ;opcache.save_comments=1
    9 n  ~" F* o9 u9 J- D, ^
  1944. 5 J5 g' y. v$ i; d
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"' T/ A5 y% k0 ~& r9 @: M
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    + b9 {9 B. `. `% m# ]& O# d6 @
  1947. ; that don't need them anyway.
    ) Z" d* j9 m3 b. p# d, Y& y' x/ c
  1948. ;opcache.load_comments=10 M6 o# Q: p+ a' Y

  1949. ( N* Q. ~- B5 a
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code- w& t  w+ e. S. [+ m. @; |" E# K
  1951. ;opcache.fast_shutdown=0/ l9 |1 |' H! C/ _+ L

  1952. 6 i5 u& y  I* m0 x, d$ o- O
  1953. ; Allow file existence override (file_exists, etc.) performance feature.1 z+ j) U9 q9 v0 `, D
  1954. ;opcache.enable_file_override=0. `" k% _) ^$ o% D
  1955. " q! S4 q; |% R% J$ p( O- C$ y; O
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    # z1 k* Q6 `! W
  1957. ; passes; z3 X7 W6 H/ D7 Y& y) _5 \
  1958. ;opcache.optimization_level=0xffffffff4 @& L1 y1 @8 \9 ]& C# v
  1959. 0 G1 n! i1 X3 d, |( z6 ~+ m& U
  1960. ;opcache.inherited_hack=1$ r# @4 i+ I# M8 |! p
  1961. ;opcache.dups_fix=0
    " ?) H, u: g3 a/ b3 R- i$ n
  1962. 9 m, E/ g1 q1 j& c  v& ^4 B
  1963. ; The location of the OPcache blacklist file (wildcards allowed).2 T  K2 Q! Z6 L9 h: i! i
  1964. ; Each OPcache blacklist file is a text file that holds the names of files, j" L6 y8 A0 o) O; U0 f1 |" m+ [7 N
  1965. ; that should not be accelerated. The file format is to add each filename
    * z# ?) y7 x+ M1 _7 }% ^
  1966. ; to a new line. The filename may be a full path or just a file prefix. i# L& p' ]# h8 k. O
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www1 t3 q# d% k% o3 Q
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ' ]5 e" j0 x# f% M! ]
  1969. ;opcache.blacklist_filename=, K0 V; A, T. y
  1970. - D! l  N; U; R
  1971. ; Allows exclusion of large files from being cached. By default all files0 f3 ?+ B9 g9 u, q
  1972. ; are cached.
    0 `% H1 g- m6 ~- x8 A
  1973. ;opcache.max_file_size=0: E$ c" ]) F  `; S9 a
  1974. 5 Y! `& V: @2 M* [/ Y
  1975. ; Check the cache checksum each N requests.6 j; z+ U& O4 t) w! `
  1976. ; The default value of "0" means that the checks are disabled.+ O" _) F5 u2 w0 g# c0 b
  1977. ;opcache.consistency_checks=0
    1 B7 c  Y9 M/ y3 p. G8 S+ I3 Y" _' ~

  1978. 8 B. ]; q- Y. S+ v0 l
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache; x( D" e6 m; ]2 t6 |! H8 A
  1980. ; is not being accessed.
    6 I2 G+ P7 t" `
  1981. ;opcache.force_restart_timeout=1806 ^. W1 a* J# j& [- Q4 m
  1982. / V0 L2 K" A: v
  1983. ; OPcache error_log file name. Empty string assumes "stderr"./ y2 m5 s+ n. _9 a# D: `1 s$ M* j
  1984. ;opcache.error_log=2 M* g0 K, k4 Q+ M( \

  1985. 5 r1 K+ n. w& ~
  1986. ; All OPcache errors go to the Web server log.
    0 u! q( k  n3 u
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.. M% P0 ]/ W. ^% h
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ! t* w, h* _8 U
  1989. ; debug messages (level 4).
    3 f% ?, u$ l/ p, i: C" c2 p$ T
  1990. ;opcache.log_verbosity_level=15 C3 S/ R( j. U$ y( Q
  1991. $ F" Z# p0 v! v9 L2 G% \
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.2 }9 v1 d/ w* [8 I. q
  1993. ;opcache.preferred_memory_model=8 f0 Z6 V/ V6 L$ x) f5 n
  1994. ( j9 X6 L+ y# u
  1995. ; Protect the shared memory from unexpected writing during script execution.1 l% N; ^5 l. a8 n
  1996. ; Useful for internal debugging only.. w# Y" W( s, z
  1997. ;opcache.protect_memory=0: F* ?1 [0 h% s, U5 H' [+ C

  1998. ; G0 J, z6 U# Z2 c# I
  1999. ; Validate cached file permissions.
    + Q- m; O  }; I, B1 Q
  2000. ; opcache.validate_permission=0  }3 ?( W& L/ O! l: W* L

  2001. 8 w( V7 m" w9 X8 G2 L6 \
  2002. ; Prevent name collisions in chroot'ed environment.3 o* R9 }1 h* g( \; s
  2003. ; opcache.validate_root=0
    # v* o# T  l8 j' w$ v9 F, u- b, [  X9 ]

  2004. 8 `4 x1 T) m2 J0 g
  2005. [curl]
    5 `- W8 n- p( \# f, v" \
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    # I- d/ Z& c7 L( {" H# w4 @
  2007. ; absolute path.
    " M" o& D+ t0 Y) [2 g* x
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt, ~' h4 Q% F1 i' \% r* O
  2009. 5 @& I4 C* e. @4 H3 O6 E$ A  `
  2010. [openssl]
      |, ^0 b# E* S( f+ }/ a( ?3 b
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem, U! z/ c. i/ i/ l8 r4 q  h
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should6 ^. _, s9 F+ C
  2013. ; not specify a value for this directive as PHP will attempt to use the9 v7 w! |& C% q7 B
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    5 y0 r" f- f8 X/ P
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context' v4 I7 h2 ]; `+ [, V5 E0 |
  2016. ; option.
    * c& d# w$ ]" T; `
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt6 t: }9 s- D6 z( ]

  2018. $ U/ L3 J0 Z- r' P" X4 Z& n1 O8 }
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the5 l2 t0 {: r5 _* N) I7 S$ S( _- @
  2020. ; directory pointed to by openssl.capath is searched for a suitable
      x( I' H! U  u! k/ n0 r7 W3 O0 W
  2021. ; certificate. This value must be a correctly hashed certificate directory.6 D0 U1 v/ L# b* K: d! N  D) `
  2022. ; Most users should not specify a value for this directive as PHP will
    ( o- J/ e+ F& p- [9 `: @9 l% j8 S
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    4 l; a$ ~- w; z% A& i
  2024. ; this value may still be overridden on a per-stream basis via the "capath"* J2 h& H8 l# O4 F
  2025. ; SSL stream context option.: O5 @5 u+ |9 F" ~& M
  2026. ;openssl.capath=
    + G4 z6 ^# F6 B3 C. A

  2027. 1 M" w, {; w. v; V7 ]# R5 d2 ?8 Z
  2028. ; Local Variables:& ~) f6 C( Q2 e
  2029. ; tab-width: 41 R. Z6 P+ p9 H7 I& M+ u
  2030. ; End:
    ; H, Q# f; N* s3 m

  2031. $ ^- F1 |( _, X6 ~4 v  m  w# ?
  2032. ;eaccelerator4 F! O8 P" I- i% }' q. o0 ^

  2033. 7 U. \9 J1 @4 b; J; e6 B3 x
  2034. ;ionCube, E8 R2 t/ T" [& r
  2035. 0 \7 l9 k, F& L; ?' T
  2036. ;opcache/ @" [* Y. S) Z! L
  2037. ! c# [" A- }& u/ b6 \
  2038. [Zend ZendGuard Loader]
    9 U- c5 ^" J, |1 x
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
      ]+ x# d8 ]2 W9 Q9 ~
  2040. zend_loader.enable=1
    . F3 x1 p" t6 {
  2041. zend_loader.disable_licensing=0
    " u+ z/ D: c  m8 @9 t* d4 B
  2042. zend_loader.obfuscation_level_support=3
    3 g8 R* R0 P  P
  2043. zend_loader.license_path=: r+ T7 G: U/ `5 J( Y$ F

  2044. 7 o9 i( }6 a3 ~/ w; z2 Z: ]
  2045. ;xcache
    8 Q+ }6 S" w4 c. P, w

  2046. 9 R. d0 e# f/ j( [5 L
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
- K6 ^8 f0 X' q! E0 u  \# P3 n7 f& x. ?) O2 B

# J  V+ _1 S4 v+ |) iDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,! Y! E) [9 A! c

! O- {4 k$ G: g' f( g0 aDiscuz!程序版本选择:0 R- [2 p9 C; o% a8 n$ [
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见," A2 K; A; O/ ?: e+ f! |
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:* x& u) a; R0 W+ L$ h" `
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。
& A- A* o  u& s# K: `
* |/ P8 l" A6 |, n- |' DDiscuz!插件模板版本选择:1 G. ]7 V. u1 ~# f  D8 b% g+ V
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,1 V0 y) [$ D- n
针对这个问题做个统一的普及:
8 T8 D1 |0 A6 i4 y$ |' \X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
+ X3 g% k+ M) n: s& Z3 u2 [4 t9 B3 E
所以
7 B8 T- h& N+ p适合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的二级域名。; X$ M" ]4 r- @0 v: i0 x+ m
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。" c( ?+ g/ O# f; X6 Y7 z
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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