分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.07 I& Q( x4 s# X1 P: K6 I* S# G
% m* i+ O2 e: C4 a# Z
  1. [PHP]1 J5 O& U+ g+ U. N, N' [+ P
  2. : I' i( K3 ?/ b' p
  3. ;;;;;;;;;;;;;;;;;;;' W6 _% q  c0 `. K. F* e' x+ K
  4. ; About php.ini   ;
    + f2 W, O, `6 l  R- d4 j
  5. ;;;;;;;;;;;;;;;;;;;' m2 @6 e, @" g  ]! o5 y
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    2 I9 G( [$ {& a
  7. ; configuring many of the aspects of PHP's behavior.
    ; t! Y! n7 k( g6 U! X3 E# U

  8. . a, L+ M* T7 U/ |+ ~3 I- n
  9. ; PHP attempts to find and load this configuration from a number of locations./ S) ], R6 ~3 d5 g" z
  10. ; The following is a summary of its search order:
      w* [5 I' c2 v* t0 v
  11. ; 1. SAPI module specific location.
    1 Y+ J) o) ?% \/ t$ f# V0 }
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)3 G/ a- N0 Y8 O0 M& l1 p/ n
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)9 D# u+ |" R1 i
  14. ; 4. Current working directory (except CLI), @% o4 o* D; A6 P' O7 `
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP1 h8 Q1 w* o1 b- G6 |7 u
  16. ; (otherwise in Windows)
    7 g+ n6 ?" u+ u; Q6 V% \
  17. ; 6. The directory from the --with-config-file-path compile time option, or the) E! m0 D! x5 Z) H* N! c3 u  L& e
  18. ; Windows directory (C:\windows or C:\winnt); x. w4 K' u1 O5 q  X$ T' Q
  19. ; See the PHP docs for more specific information.
    ( W+ }# N% o! b0 U; W" {
  20. ; http://php.net/configuration.file
    + J* K$ Y2 X/ b
  21. & u3 ]& A& w2 p' E! M
  22. ; The syntax of the file is extremely simple.  Whitespace and lines! |5 I* _! z9 V* @. t
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    0 I& v3 a+ w1 a
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    # g! M4 ^! ?' P4 [( x0 s5 x
  25. ; they might mean something in the future.# r0 K: o- D6 X
  26. ) v; Z5 c' o9 I, l' Z
  27. ; Directives following the section heading [PATH=/www/mysite] only* D) Z5 E5 Y/ K3 P2 p- b
  28. ; apply to PHP files in the /www/mysite directory.  Directives
      A5 _5 p8 d- @
  29. ; following the section heading [HOST=www.example.com] only apply to
    ; ~; w0 J7 U4 h) @
  30. ; PHP files served from www.example.com.  Directives set in these3 e7 K: I5 Q8 Q. V7 r. F# [* V
  31. ; special sections cannot be overridden by user-defined INI files or5 N- Q% f( A! v2 S
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under+ x3 g+ K" c" ]: N
  33. ; CGI/FastCGI.
    " U1 b. k% s/ p9 k% f9 l( n
  34. ; http://php.net/ini.sections# H7 U2 B: P* n. Y, i

  35. & z- x" ]0 g# Z0 i, d/ ~# N
  36. ; Directives are specified using the following syntax:8 r% l# Q0 [7 X" l- x+ B  S- S9 b
  37. ; directive = value3 ~3 v1 I- L1 ]) |% V" r2 o. z
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    9 L' n1 R1 _- ?$ ]! Y% R9 U! O
  39. ; Directives are variables used to configure PHP or PHP extensions.+ _9 b3 X  T, B- x, m
  40. ; There is no name validation.  If PHP can't find an expected% v5 q9 J  Z$ g/ ~& w
  41. ; directive because it is not set or is mistyped, a default value will be used., x1 I& _. I1 c+ _2 M

  42.   z5 l  c  C5 u. A
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one# Y' F( V) D3 j9 Y9 C2 c
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression- l( x+ E7 y$ @  R: P5 f! q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    / o5 x* i+ F0 ?8 j0 G. N( |
  46. ; previously set variable or directive (e.g. ${foo})
    : g' |  s2 D& |4 r! ?7 a% e2 `
  47. ! ~# G# {) U$ @$ m* e& T
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    4 B+ F! U3 ]7 Q* J" C& `
  49. ; |  bitwise OR
    6 ?7 y' R* B4 E" P
  50. ; ^  bitwise XOR
    6 A& s8 H: h9 O+ `
  51. ; &  bitwise AND
    . [0 R1 ?0 D( W, F( t6 {
  52. ; ~  bitwise NOT( k1 ?+ |$ D9 h" L& l
  53. ; !  boolean NOT
    ' y, m  ~1 }' i3 Q% o3 z" m( y
  54. $ \) p1 x  x/ w. O+ P) b8 y
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.7 `$ [+ U0 w& v9 W: T& x6 x. o' f, ]
  56. ; They can be turned off using the values 0, Off, False or No.- p, e: b9 T) W! p- j  ^! M

  57.   Q5 I8 q! l2 J8 A$ q+ {0 }
  58. ; An empty string can be denoted by simply not writing anything after the equal0 @, @- C( V4 m  j4 K
  59. ; sign, or by using the None keyword:9 G; J# u5 S5 T+ A+ l6 k& i

  60. $ D2 b" [6 `! X3 _9 ~
  61. ;  foo =         ; sets foo to an empty string
    7 M. M/ F, K! P- D6 I, x6 ]
  62. ;  foo = None    ; sets foo to an empty string5 n0 S' D" _# u) e' Z  r0 P( ^9 t
  63. ;  foo = "None"  ; sets foo to the string 'None'0 \! c8 |. L; Z! o, x

  64. : L- L$ S* e0 t' h+ e8 X
  65. ; If you use constants in your value, and these constants belong to a. e* Z, l! P/ N8 j7 P0 G
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),# n5 f$ F6 v6 F5 G
  67. ; you may only use these constants *after* the line that loads the extension.
    6 _' E% Q; T) J% K
  68. 0 s3 n! ]2 [  H/ }5 c
  69. ;;;;;;;;;;;;;;;;;;;
    5 ^0 O5 B5 Y% c0 w2 r
  70. ; About this file ;
    4 c# ]" t8 n8 _! d- m
  71. ;;;;;;;;;;;;;;;;;;;
    8 L0 g. ?' E( a* ~, S
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    0 T8 [7 g2 h; ]. N$ Q. ?# o! L
  73. ; in production environments and one that is recommended to be used in7 W6 B# L0 X7 ]" J2 I, V+ |0 e1 a
  74. ; development environments.
    ; p3 E" A) E0 j4 y5 q
  75. 3 A2 R& }- U4 Q& b/ L( m5 ]
  76. ; php.ini-production contains settings which hold security, performance and$ W# l# {0 \5 }
  77. ; best practices at its core. But please be aware, these settings may break
    6 d/ n. M' ^& ?) z0 h0 n1 ~% a
  78. ; compatibility with older or less security conscience applications. We
    6 t+ O4 D" O# N. O. z2 ^4 B9 ~1 n' @3 b
  79. ; recommending using the production ini in production and testing environments.% U' f8 `7 p* Q* L/ [( W

  80. 1 [' {( d/ G2 d1 J! |
  81. ; php.ini-development is very similar to its production variant, except it is
    % g7 N" J0 y2 r! }9 i2 o
  82. ; much more verbose when it comes to errors. We recommend using the: ~9 h% T) w! V3 M- W& ]( A' s5 }* b
  83. ; development version only in development environments, as errors shown to" Z) \& A3 ?# E9 T4 n  ^1 u
  84. ; application users can inadvertently leak otherwise secure information.# z; r& [/ S' @: B! i( [: O
  85. * ^' G* T/ v* U' V% t% G
  86. ; This is php.ini-production INI file.; Y" ~- Z* X9 |

  87. 2 i6 p' v" m" D& \3 X8 F+ W0 q
  88. ;;;;;;;;;;;;;;;;;;;
    . M2 x, g) a+ T+ W9 R% \% N
  89. ; Quick Reference ;
    - p+ b3 Q5 }) Q& i" v/ q3 m. l' F
  90. ;;;;;;;;;;;;;;;;;;;
    ) N, m! T) u: Z5 ?" g0 b4 M
  91. ; The following are all the settings which are different in either the production* N: d+ e  R9 E. \0 T; R
  92. ; or development versions of the INIs with respect to PHP's default behavior.2 d  b- f6 N1 p) T/ b! R
  93. ; Please see the actual settings later in the document for more details as to why" |! x4 _8 u/ V; L) G0 l  A1 G; x
  94. ; we recommend these changes in PHP's behavior.
    ' H) y) w) m9 n% y; w- S' N1 `7 H

  95. 0 o6 B$ R+ c/ n1 m" R/ M
  96. ; display_errors
    + z6 G( X  G6 ?( S% F4 h, S! h+ p
  97. ;   Default Value: On
    5 j" ?2 L! m, g. W2 I
  98. ;   Development Value: On  o# y9 {7 F6 g! r# A! Z3 c9 n& R
  99. ;   Production Value: Off. `' A% [% ?; t8 w$ x0 D/ G
  100. 2 x" n2 ~7 U. f6 }6 J
  101. ; display_startup_errors
    0 c. }/ j: b2 W+ ]6 g
  102. ;   Default Value: Off
    2 \9 [) P4 s: c
  103. ;   Development Value: On. E# d- t7 N7 e( j0 d" G8 g/ r- W
  104. ;   Production Value: Off! K1 J& l% z$ X* R, }4 x0 y% X
  105. 9 N2 t6 G0 F  e/ T( U4 t. ^' t
  106. ; error_reporting2 d1 F8 M7 Q; R( t$ M
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    9 J8 U4 v$ j% y
  108. ;   Development Value: E_ALL) A2 G5 V/ t& q1 L! g/ u1 y
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " {' S1 \1 W* h  R4 m

  110. $ @% n* R9 \! \0 |2 `2 [, w# m
  111. ; html_errors
    . m* ~# _* C0 \  o$ z: m% _
  112. ;   Default Value: On4 A1 A$ q3 y0 R
  113. ;   Development Value: On
    : i* X* @, i' T% \" n5 J
  114. ;   Production value: On6 y5 ^6 V" y  o! Y9 m. S! e5 t. a
  115. + z1 e9 N+ y  [+ Y
  116. ; log_errors
    ) S) I4 }& V* q2 d
  117. ;   Default Value: Off
    & D7 Q, B, I9 ~" n  ^5 V7 U
  118. ;   Development Value: On/ l" @  G+ {; V/ E
  119. ;   Production Value: On
    : W/ i7 C1 R# h# |: U/ {

  120. / A- d0 y" X* e$ k" P& ]7 Y
  121. ; max_input_time
    # n+ o2 {2 g* I4 C3 S/ E
  122. ;   Default Value: -1 (Unlimited)
    $ M) M& Y. C2 h/ r  q+ t/ k4 ^
  123. ;   Development Value: 60 (60 seconds)0 B) V; {" D3 h
  124. ;   Production Value: 60 (60 seconds)# \- R6 s3 Z" e7 T) x
  125. . J' m# `: u: G. F. |$ h4 I0 G  p/ h
  126. ; output_buffering' J! i$ c5 Q6 l  n; u2 C" f
  127. ;   Default Value: Off
    1 g8 a: L$ ~* m: p5 V9 B
  128. ;   Development Value: 4096' V( t8 K% C# E& z$ i; X
  129. ;   Production Value: 4096
    ' y* P% r  S( J4 h8 h
  130. + I" u5 \+ f4 a# u
  131. ; register_argc_argv/ K. z( D8 @( L* f
  132. ;   Default Value: On
    / V* @3 y0 `7 e
  133. ;   Development Value: Off
    ) A9 P6 d) e! p
  134. ;   Production Value: Off9 B* L2 z0 ^- {; h4 Y; z
  135. % R  X/ z/ d# ~6 V
  136. ; request_order! `3 P8 s. Z8 K5 Y+ K
  137. ;   Default Value: None8 H# U5 p6 p/ q8 i8 v
  138. ;   Development Value: "GP"
    8 t' O# }! i8 D7 w* j' q
  139. ;   Production Value: "GP"5 a6 Q: R, D4 \" M  l
  140. ' m% S2 |9 c- |( C/ k
  141. ; session.gc_divisor
    $ @% c8 a4 S5 v% M
  142. ;   Default Value: 100
    8 z7 F% Z4 I' y/ c' U( a0 b) b
  143. ;   Development Value: 1000
    : n3 H0 T  \) d2 Y
  144. ;   Production Value: 1000
    6 f% Q) K) j$ A4 [0 F
  145. 8 m% N  u$ z7 ]1 g& C( [
  146. ; session.hash_bits_per_character( I7 B! i, \& m, M4 Z% s3 b1 R' B
  147. ;   Default Value: 4
    ; |1 x3 I, o$ R  j
  148. ;   Development Value: 5
    % T0 d3 t/ J: c  k$ n$ n' s
  149. ;   Production Value: 5# F8 C4 c9 |3 O- r

  150. ! I% V- x2 Q/ v( |- g6 j
  151. ; short_open_tag
    ) \- p* _( o1 v6 v7 r2 a
  152. ;   Default Value: On
    5 h4 X+ h) X6 m" v& }8 f
  153. ;   Development Value: Off
    & P  H: |6 V' E/ T: d; k5 t! [* m  Q
  154. ;   Production Value: Off
    . ?' o# e+ F8 T  O' l4 X8 L: E
  155. + d: V3 b& S3 V  u8 K' s
  156. ; track_errors
    - P0 `9 _( M$ ]+ |4 E
  157. ;   Default Value: Off
    , \0 F# H  U( D8 C9 N
  158. ;   Development Value: On* l, M! D' B4 U. _4 z
  159. ;   Production Value: Off
    & B! |1 E6 v* ?! `5 B

  160. 2 p- ?" J" U1 |0 ^* w* F
  161. ; url_rewriter.tags  \# u1 w/ y' j5 \
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="6 y4 `! w8 ?1 R: l: u
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - Z" s5 O$ O. B& H2 I* N2 K
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ x) G2 c3 m, o3 l

  165.   ]  L; ^4 u: V6 J$ l0 s. p/ e
  166. ; variables_order3 I# z2 u+ V; v
  167. ;   Default Value: "EGPCS"& N; `( L! d/ s
  168. ;   Development Value: "GPCS"6 g( r  j5 A3 Y% c
  169. ;   Production Value: "GPCS") r3 h) `) D; a

  170. 6 V+ `4 E- W0 U2 n8 C9 C& a" \
  171. ;;;;;;;;;;;;;;;;;;;;
    0 w* e/ V; L; {. t( \; [' g, l
  172. ; php.ini Options  ;
    ! q- n. E7 _  B5 }, I- K7 @4 R1 |
  173. ;;;;;;;;;;;;;;;;;;;;3 C1 d- v4 ?) T; M
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"- o& C, f5 \0 Q* a
  175. ;user_ini.filename = ".user.ini"' G$ F: X+ n' p* W: T0 o: z
  176. 2 w% }. a" v. P1 Z: M
  177. ; To disable this feature set this option to empty value
    " P6 ^7 A. {; B- K6 B9 w
  178. ;user_ini.filename =( I+ e0 z: P: r! l/ q- x# B5 e
  179. 4 U1 a3 O, ?& P: k" `$ g: m
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes). Z; j; }2 M5 C2 y  \8 h$ p
  181. ;user_ini.cache_ttl = 300
    - J; w5 I& H9 i7 G

  182. 7 O* y+ ?7 I$ W. q1 S
  183. ;;;;;;;;;;;;;;;;;;;;" l: T3 c& Q1 w
  184. ; Language Options ;3 `$ |9 ^) p. e4 K3 R; Q% y
  185. ;;;;;;;;;;;;;;;;;;;;5 |4 ]; W$ v4 a  ]! a4 Q  g

  186. 8 @+ |& ]6 t3 M: {# b+ @! @$ i/ d
  187. ; Enable the PHP scripting language engine under Apache.
    ) d6 Q+ M+ ?' F. y
  188. ; http://php.net/engine7 |6 Q- R8 O# k$ o6 i
  189. engine = On
    " |9 a9 G6 c2 l* V0 N

  190. 8 j) t1 ?0 e% G  P( g! b# S
  191. ; This directive determines whether or not PHP will recognize code between3 ~. {: B( T9 R/ J; p. _/ Q- B5 L
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    . E% L8 R# i, f( A$ f2 o* B
  193. ; generally recommended that <?php and ?> should be used and that this feature; S5 Z0 C0 j  v) Z1 ~3 K9 a
  194. ; should be disabled, as enabling it may result in issues when generating XML, w, t( i  J7 _8 V  ?1 U
  195. ; documents, however this remains supported for backward compatibility reasons.
    # B: L  B7 ]6 L$ c1 Z) ~2 {' J
  196. ; Note that this directive does not control the <?= shorthand tag, which can be# O  E% p8 V, u2 }: p
  197. ; used regardless of this directive.
    $ k( O3 p+ U  [4 s+ e; x0 J
  198. ; Default Value: On" Y6 |: U& P1 `6 W5 O  ~' i
  199. ; Development Value: Off# J. b- Q7 r# u' w' _, Y" ?- [( t
  200. ; Production Value: Off7 O7 ]. G; L, j) r
  201. ; http://php.net/short-open-tag
    8 B! r1 q, _$ w. C, @
  202. short_open_tag = On3 g8 y; j& @$ \- s

  203. * ~8 ^4 W; @" T( B
  204. ; The number of significant digits displayed in floating point numbers.
    " h7 S+ e% H# _
  205. ; http://php.net/precision
    . S5 B1 w% K1 t& d
  206. precision = 14
      N! g0 B; |8 x' V* y
  207. 3 Z# b: A. b" x# a$ _4 U" S. h3 F
  208. ; Output buffering is a mechanism for controlling how much output data
    7 i6 V8 r# \* V" o' S  p
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that( M" G, D6 f$ B. W) ?7 Q
  210. ; data to the client. If your application's output exceeds this setting, PHP! k9 G* V, G; I0 O
  211. ; will send that data in chunks of roughly the size you specify.
    8 d- n& \- O- f/ ]/ ^' N
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    0 m1 F! \, x4 U7 Z
  213. ; interesting side-effects depending on your application and web server.
    8 }7 e9 e- ?& [  v; T8 d# Q, x
  214. ; You may be able to send headers and cookies after you've already sent output3 |1 B1 Y  }$ \$ ^+ i" J+ D8 ]
  215. ; through print or echo. You also may see performance benefits if your server is
    ) N0 k% g, o* j0 n- k
  216. ; emitting less packets due to buffered output versus PHP streaming the output  g; M8 u/ D$ Y- B
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance; P+ f1 H3 o6 l/ r& Y) H5 t$ ?0 ~
  218. ; reasons.
    , z" p* H6 t! B! k# N4 _
  219. ; Note: Output buffering can also be controlled via Output Buffering Control# [8 \8 n& C# i% f
  220. ;   functions.) B4 S& l/ |, M, T: f2 E  [0 J2 n
  221. ; Possible Values:
    9 u3 g! s/ e; E7 f
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)5 s9 S# u! I0 z/ b' v
  223. ;   Off = Disabled
    ( h* u" Q* U' a* a& @0 Q# j; l
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.7 W( [2 P5 W; g8 ?, w$ F
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI; t2 b, n5 n! E) V( W: `; R
  226. ; Default Value: Off3 @1 ?8 o2 i% a% q" z: m! J
  227. ; Development Value: 4096/ g" a% @# [( V- Y. n9 o
  228. ; Production Value: 4096
    / K% e8 @/ \2 |9 O! P4 M- @
  229. ; http://php.net/output-buffering
    3 ^) j( v' C* |$ f/ J( B" E( ]
  230. output_buffering = 40968 v- ^- i5 V" Z; v: ~& j
  231. / u8 G7 c$ o2 h5 j* n
  232. ; You can redirect all of the output of your scripts to a function.  For
    + M+ a- I/ e; Z3 }! `5 q
  233. ; example, if you set output_handler to "mb_output_handler", character6 E# a1 A. ?/ E
  234. ; encoding will be transparently converted to the specified encoding.
    3 K& j/ n7 ]. N6 n! w
  235. ; Setting any output handler automatically turns on output buffering.
    6 N2 T# F1 a# f. `1 v
  236. ; Note: People who wrote portable scripts should not depend on this ini, H/ z9 j# b9 `/ h9 H7 w
  237. ;   directive. Instead, explicitly set the output handler using ob_start().( `& ]' v, m; Y5 ~
  238. ;   Using this ini directive may cause problems unless you know what script8 n3 ?" C, j/ s  K6 X# v
  239. ;   is doing.4 e" f  C3 }) C& g
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    & e" W  O9 T( i! }; E# h
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".0 ~0 ]5 `( B" H. t4 g
  242. ; Note: output_handler must be empty if this is set 'On' !!!!, f: q/ v6 F* `- x$ w3 c
  243. ;   Instead you must use zlib.output_handler.
    ' C4 K8 D9 w0 a/ m1 h0 E
  244. ; http://php.net/output-handler
    6 P* o  |' ~6 B
  245. ;output_handler =
    9 p! A3 Y$ J( T2 z9 N7 O; E1 x9 Q

  246. 6 c& l9 I& |& w
  247. ; Transparent output compression using the zlib library1 @! ?  j+ l/ k5 x1 o- f5 A
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size# [; ~, i: \' N1 e. F
  249. ; to be used for compression (default is 4KB)4 @  |, z# G" z
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP. T8 @) C; s! [1 H: y
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    - r4 [, L3 r2 D$ [
  252. ;   compression. If you prefer a larger chunk size for better
    , k/ y- P/ q/ C' b
  253. ;   performance, enable output_buffering in addition.
    4 Z/ A- r2 W7 z, y# X  `
  254. ; Note: You need to use zlib.output_handler instead of the standard7 {& ]! T* I  U; S" ]- o* Y
  255. ;   output_handler, or otherwise the output will be corrupted.' B' ^8 t' m9 Z
  256. ; http://php.net/zlib.output-compression
    * _4 a7 R/ {9 C
  257. zlib.output_compression = Off
    # O  _; r& m- Z& ]& q- x, y
  258. ) [: C+ G. i" I) S/ M, r
  259. ; http://php.net/zlib.output-compression-level' {* z+ |0 `; }  s4 _6 ^
  260. ;zlib.output_compression_level = -1- G% U4 u* s, I* X9 X5 r4 v
  261. 8 _* }+ O$ s& d( x1 h% `& t* w
  262. ; You cannot specify additional output handlers if zlib.output_compression, R" A4 A  V6 B/ r+ O/ ?$ z8 H0 ]
  263. ; is activated here. This setting does the same as output_handler but in
    7 C# ]! e; n7 P, m; Z# ?* ~1 N8 y
  264. ; a different order.
    ' s. {7 m0 K, Q$ S% \9 Z( a) a% N/ [
  265. ; http://php.net/zlib.output-handler9 I) ]) X/ C! F# v* n/ b
  266. ;zlib.output_handler =7 i' _" C- M$ i/ b/ J' I' P# S
  267.   k! J! a& D+ ^) H# `" I
  268. ; Implicit flush tells PHP to tell the output layer to flush itself! ^. G5 h, n, p1 C
  269. ; automatically after every output block.  This is equivalent to calling the
    / M' S' X: r; H
  270. ; PHP function flush() after each and every call to print() or echo() and each" _) S% {& n6 i& E  i
  271. ; and every HTML block.  Turning this option on has serious performance
    / K( p3 p( g$ q
  272. ; implications and is generally recommended for debugging purposes only.
    0 t# {, m1 c% K. H5 @
  273. ; http://php.net/implicit-flush6 N" g+ m& B% G' r# X& t" e" C6 _
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    . Q( h) O; s  z3 A9 T/ x
  275. implicit_flush = Off
    3 v# y, a& K  L$ c/ C5 J: x8 T- X
  276. % L9 x$ ~9 U; Y8 l
  277. ; The unserialize callback function will be called (with the undefined class'
    2 j: P1 N3 b% k1 K8 }
  278. ; name as parameter), if the unserializer finds an undefined class
    3 L+ G2 f  |6 p5 s
  279. ; which should be instantiated. A warning appears if the specified function is8 W5 e6 w; O. l( O% c! Q3 Y6 l
  280. ; not defined, or if the function doesn't include/implement the missing class.) x; k" i1 X( G5 [3 H3 i" \3 x7 d* j
  281. ; So only set this entry, if you really want to implement such a
    4 p- l6 d0 B6 {
  282. ; callback-function.
    4 C% i% `) r& D3 M
  283. unserialize_callback_func =
      w0 h7 e4 }2 {2 N
  284. : s, I: G* n$ N# W% B" Z
  285. ; When floats & doubles are serialized store serialize_precision significant
    ' c, {- P* v+ B7 |% C
  286. ; digits after the floating point. The default value ensures that when floats/ y+ T' t* h8 ~! Y! o7 ^
  287. ; are decoded with unserialize, the data will remain the same.
      ?1 _) l% @9 E4 m; |2 l( |7 S7 Z' e
  288. serialize_precision = 172 f; O0 [2 ]* Y" F" }
  289. & m1 \  @0 w9 E5 T5 M. B, W8 l8 t& z
  290. ; open_basedir, if set, limits all file operations to the defined directory! J: S) U3 ]% ~% H- e& N5 {
  291. ; and below.  This directive makes most sense if used in a per-directory1 ]1 C4 u7 e* u" ^6 v
  292. ; or per-virtualhost web server configuration file.6 V- M" l3 Q3 S+ g
  293. ; http://php.net/open-basedir/ X0 q' A6 ~0 f5 a" E: `7 [
  294. ;open_basedir =
    9 y) r, S/ R, _+ Z* `# ~

  295. 2 n" y6 d8 \0 R2 X2 `0 o) U
  296. ; This directive allows you to disable certain functions for security reasons.
    ) t$ M! v2 M& A! y: Y
  297. ; It receives a comma-delimited list of function names., N: g' M% {* o( k; ?2 B/ O; _
  298. ; http://php.net/disable-functions
    , V  L( H/ Q5 I' J5 l% D
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    & }. v* J+ w7 c  u- f" [

  300. - K$ X7 x1 `& V# q- m
  301. ; This directive allows you to disable certain classes for security reasons., m: a1 W; `* Q1 o1 ]
  302. ; It receives a comma-delimited list of class names.
    # \: {( I) ]" W
  303. ; http://php.net/disable-classes
    3 d9 r. u' s) M1 n
  304. disable_classes =
    / o( B$ U  s7 s$ @6 Q# @

  305. 8 \- t) f, N; C" ?' R; `$ O
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    8 L$ Z3 Z! M4 i  r* |2 m4 r7 Y
  307. ; <span style="color: ???????"> would work.
    + P8 D5 E. ]$ n( x3 C
  308. ; http://php.net/syntax-highlighting- T2 o% ]# n) f& Y+ k7 @
  309. ;highlight.string  = #DD0000! [  W* s& `% m# ^+ m' @8 d4 }
  310. ;highlight.comment = #FF9900+ V- R  w7 `5 V8 Z* h' O4 @
  311. ;highlight.keyword = #0077006 g! ~5 O9 {. d. Y. h4 C4 l$ c! o
  312. ;highlight.default = #0000BB1 c0 E% D" i/ n3 h$ @3 @
  313. ;highlight.html    = #000000
    + g+ s& k4 X1 T) A
  314. / f. j  T& s, g, F
  315. ; If enabled, the request will be allowed to complete even if the user aborts. E1 u0 x. }5 [: ?7 D
  316. ; the request. Consider enabling it if executing long requests, which may end up, P+ x7 o6 ^, ^. {: _/ @
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    7 C* A; |$ h8 c, f) v; i2 y( B* ?
  318. ; is to disable this feature.
    2 O$ E1 K, S/ [- U0 ?  _7 Z6 E
  319. ; http://php.net/ignore-user-abort# i2 {# E& n+ @# g" l4 S# s$ K
  320. ;ignore_user_abort = On6 P, W, ~6 Z, z9 F

  321. . H2 S$ J7 X( S% z' F
  322. ; Determines the size of the realpath cache to be used by PHP. This value should2 B3 d% K3 L2 m4 a2 d5 J* N# |
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    $ X+ N7 j! N; }0 S' h8 s
  324. ; the file operations performed.
    / ]+ s6 o* X7 C
  325. ; http://php.net/realpath-cache-size
    " e* P6 R" G$ C& J6 |
  326. ;realpath_cache_size = 4096k  l0 k9 X  g  x  l- e2 }

  327. 8 ?8 o( g) `! R' Q
  328. ; Duration of time, in seconds for which to cache realpath information for a given/ E$ R1 P* y8 ^9 {, m
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    6 R! g# o8 |% v  g: F2 @/ j
  330. ; value.
    " I- G" {+ B$ f  G" j
  331. ; http://php.net/realpath-cache-ttl6 Y; }/ ?1 y, H! P
  332. ;realpath_cache_ttl = 120$ }- _5 q* _) G3 O

  333. $ ~1 {  Q; ]* J( U; M
  334. ; Enables or disables the circular reference collector.
    ; ^7 b5 o0 W8 b+ l1 B; l
  335. ; http://php.net/zend.enable-gc
    $ d  D( Z, |4 A; ?% s( G
  336. zend.enable_gc = On7 p: d: @9 @. L5 b3 A8 f
  337. 4 L' s& f5 E  G
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    8 x9 f+ g2 q4 S4 r  @
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    # Q0 V+ R  k! F
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ' b0 [" s7 M) N: y- {1 X* H! {
  341. ; Default: Off! n3 o+ q  ^$ \+ `% Z
  342. ;zend.multibyte = Off
    % \6 m& q5 G& z/ I) {

  343. 7 F6 |+ W  f$ D$ @  N: u
  344. ; Allows to set the default encoding for the scripts.  This value will be used! ?# }8 r/ l6 k7 L
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.! m1 t! _2 M, |  y. {
  346. ; Only affects if zend.multibyte is set.$ P4 ^$ \/ g, f0 ?8 z3 }* U: z5 V" x
  347. ; Default: ""
    9 V( d9 [+ }+ Y
  348. ;zend.script_encoding =+ W6 P+ D$ t0 n) r9 u3 k4 P

  349. 5 A' k0 ?) G( D; L0 M! v6 w  d7 J
  350. ;;;;;;;;;;;;;;;;;2 d0 c) l% o$ }- x
  351. ; Miscellaneous ;3 t- }$ C& m- I, D6 Z& a# \
  352. ;;;;;;;;;;;;;;;;;
    ' @$ P& s. z: f% S2 w

  353. 4 s! Z  I) R( S2 I, k/ O' t
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    5 b7 d5 V# u% @" g
  355. ; (e.g. by adding its signature to the Web server header).  It is no security2 k1 D! X% ]' R2 ~" J' }
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    8 m; Y8 @4 I! t- w9 D
  357. ; on your server or not.  L) {/ o1 M9 |; ?" j" ?* p' y
  358. ; http://php.net/expose-php
      W" e% O2 F$ ^8 L. g! s7 z
  359. expose_php = On
    : u  o& P5 Z: P9 Y
  360. 6 P& O4 U1 Z( t" f
  361. ;;;;;;;;;;;;;;;;;;;7 N. y% L2 I1 h: U6 D, e3 }/ M
  362. ; Resource Limits ;4 x+ S% V6 M5 ]9 y/ Y
  363. ;;;;;;;;;;;;;;;;;;;% I# Q3 ?% L6 W7 P2 Z- n& M6 r

  364. # R4 K. W  @' j% A2 `. o1 z* N
  365. ; Maximum execution time of each script, in seconds
    4 L- j' A% a2 J$ J! i3 U
  366. ; http://php.net/max-execution-time
      h' [) w+ J& C
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI+ a9 E. ^" F0 ~8 \+ i( [& ?: C
  368. max_execution_time = 300
    $ r! Q# o- i; e: G
  369. 4 y" M. b9 n) J9 _2 y& R: U
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    % V. L+ c" P" E2 I$ P2 x  D
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly/ B0 Q3 c; X* x) ^
  372. ; long running scripts.$ c2 m" ^* g4 |7 |; {3 e5 z
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
      m6 O/ @2 \1 K" V6 O
  374. ; Default Value: -1 (Unlimited)9 E' C( _# E8 t2 c* T& _8 S: O
  375. ; Development Value: 60 (60 seconds)/ |$ j5 J( _- P7 @
  376. ; Production Value: 60 (60 seconds)
    4 }! x+ l: E$ I4 \0 R: p! l
  377. ; http://php.net/max-input-time
    & w. {- Q% G6 G5 V
  378. max_input_time = 60
    4 O. I. o& D, L  [' d5 d) t
  379.   }* r2 s! O& r8 Q( ]) x
  380. ; Maximum input variable nesting level& R, G# b: o# }
  381. ; http://php.net/max-input-nesting-level6 j8 U+ I4 E- `2 t& u* b. v
  382. ;max_input_nesting_level = 64, ?4 V) z/ T9 y, ]' I0 H( E' q( c3 t
  383. " [0 [% T2 A) P6 ~" C# r( m
  384. ; How many GET/POST/COOKIE input variables may be accepted9 m1 ]/ ], Z" A0 v, ^5 t0 y* r# H
  385. ; max_input_vars = 10007 e* V0 |0 ]5 J2 k5 h7 t! o8 R. [# t

  386. & R5 u% V; e: Y1 A
  387. ; Maximum amount of memory a script may consume (128MB)$ z9 z1 H6 H' K8 i$ f
  388. ; http://php.net/memory-limit
    " X; o( h1 b3 v
  389. memory_limit = 128M
    / ~" ]6 K8 @$ r" R  _8 b0 _# @

  390. * u( u! x' q6 h# i3 z- Y
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; I4 V' Q5 d" j+ o: n, x7 Z
  392. ; Error handling and logging ;
    3 i) V4 ]0 V8 t* n
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    6 u) C* _+ N" ^

  394. 0 a# {% i) n' W) n! ]* Q
  395. ; This directive informs PHP of which errors, warnings and notices you would like; `4 j) b) T5 ?% R9 _
  396. ; it to take action for. The recommended way of setting values for this
    , O. i6 _! ?! x7 B. [
  397. ; directive is through the use of the error level constants and bitwise3 f7 }- k0 Q0 ~' _1 E
  398. ; operators. The error level constants are below here for convenience as well as- p  `* U7 }2 {5 c0 q6 E4 j
  399. ; some common settings and their meanings.; f' X8 b7 S. o. L, p. X. a
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT' N0 k/ _7 t# o- d
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and7 d! ?! L8 k( a
  402. ; recommended coding standards in PHP. For performance reasons, this is the  Y! }* _) g2 m8 d9 F4 g+ x% U
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    8 D9 k  k/ [" ]+ E: Q0 _2 Y- @( E
  404. ; resources complaining about best practices and coding standards. That's what) R; a, `, Y* u% k; w, w
  405. ; development servers and development settings are for.
    4 F* Q6 C5 _' P" J- s
  406. ; Note: The php.ini-development file has this setting as E_ALL. This  }+ L5 \2 |3 c3 U! S$ }) W
  407. ; means it pretty much reports everything which is exactly what you want during+ [0 X$ [8 O4 `1 D$ K
  408. ; development and early testing.
    . A6 I/ v3 C; z% y5 ?. p8 I
  409. ;7 e7 f: }6 I7 l- w
  410. ; Error Level Constants:/ }* ]" G  N% j" A
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)5 Z; P$ j* _3 C9 |2 I  |! I8 {
  412. ; E_ERROR           - fatal run-time errors  a& g6 m$ U# w& |6 [
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    $ z) ^; B; z+ A% F% _
  414. ; E_WARNING         - run-time warnings (non-fatal errors)2 Q8 O6 c! Z" X+ |
  415. ; E_PARSE           - compile-time parse errors
    / G. `' G: G- @: I* ~
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ( k; f% Z' G3 A; n8 t' P% n$ ~
  417. ;                     from a bug in your code, but it's possible that it was
    0 p$ v, k. ~$ _" w6 n
  418. ;                     intentional (e.g., using an uninitialized variable and# }3 g' w4 @4 Z) i$ P
  419. ;                     relying on the fact it is automatically initialized to an% ^  o, f* ?; H- w+ C8 Q
  420. ;                     empty string)
    - |' K# O: C8 C" X3 W
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes+ R( j4 E8 j% L, v/ K( d9 t  K& Q
  422. ;                     to your code which will ensure the best interoperability1 K9 X3 c8 r1 `
  423. ;                     and forward compatibility of your code) A' C. b! G; G2 @
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    , G  J; x+ H. o2 [7 b2 f( Q* k
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's7 g6 L; z0 v  \$ `- S
  426. ;                     initial startup
    2 [& J/ C: x+ O0 q1 S  x
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    ) B# P9 a1 o6 X: B) a7 z
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)% e' {% L4 ]6 b) n( P! G
  429. ; E_USER_ERROR      - user-generated error message
    5 A, V: q8 v( N- N; E
  430. ; E_USER_WARNING    - user-generated warning message& `3 @9 q  R8 _' }: h0 n
  431. ; E_USER_NOTICE     - user-generated notice message
    7 n# R& H$ t; @( r! X/ T1 U
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    1 y% \% |& n7 h6 P6 V
  433. ;                     of PHP* c% ?- h. A+ O1 x
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    2 \& i# p, h# k  {7 _
  435. ;" a+ Z/ e6 s! E/ g# @
  436. ; Common Values:2 B1 Y0 q, q7 b; a/ u
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    2 r# s7 T- {- Q# V" A) K) j' m  W
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices): u! t4 o# R2 f( n
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.): r( X3 A0 d7 j9 K
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)$ V! O, O7 H+ m) E2 B
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) W; U5 ]' U' j& _% c
  442. ; Development Value: E_ALL
    $ U" _$ s+ c- D6 u
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    $ o1 e: K( O, ]! k( T1 i) i
  444. ; http://php.net/error-reporting
    ! t; o9 i, G! g! D
  445. error_reporting = E_ALL & ~E_NOTICE6 L- S! e3 t1 I  B7 L3 `
  446. 7 k; Z, M2 L0 k7 l! E# {7 J" q
  447. ; This directive controls whether or not and where PHP will output errors,0 |' o7 {4 q# Q( {# B: I+ D
  448. ; notices and warnings too. Error output is very useful during development, but
    ( L, \8 Y  B7 Q+ _, Q
  449. ; it could be very dangerous in production environments. Depending on the code  B% j' c7 r: L! j8 G
  450. ; which is triggering the error, sensitive information could potentially leak( z( ^* b& u' `6 ]' s
  451. ; out of your application such as database usernames and passwords or worse.  n# k+ u5 F6 I7 t9 c
  452. ; For production environments, we recommend logging errors rather than
    5 Z$ G8 F$ x0 c, L
  453. ; sending them to STDOUT.0 z$ \* D, ^. O. M
  454. ; Possible Values:+ P3 O7 Z5 k! W- Z9 i7 R, q
  455. ;   Off = Do not display any errors4 ^& u" z$ M! c  }& ]+ `
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)) n& F9 Q7 _" n" Y  y2 X
  457. ;   On or stdout = Display errors to STDOUT
    7 k& l0 b6 v* q. Z3 R* a2 I
  458. ; Default Value: On
    & O! j* R! Z# H+ w
  459. ; Development Value: On
    : h  D- r& \% `+ _4 B  n, x) i3 r
  460. ; Production Value: Off6 c  f1 o- _; A  |
  461. ; http://php.net/display-errors
    8 e1 x$ f  n8 q7 K! k; U
  462. display_errors = On- [5 R* B! t7 m6 s

  463. + m: f& y4 v9 E7 G4 P
  464. ; The display of errors which occur during PHP's startup sequence are handled# Q) X8 E+ c- _9 y2 K! g$ n" _; ?
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    8 }- ?' D  D7 I. D  J
  466. ; errors from clients. Turning the display of startup errors on can be useful in9 }. V) ^6 _. h% }1 [
  467. ; debugging configuration problems. We strongly recommend you) @+ Q7 X& H0 E4 J
  468. ; set this to 'off' for production servers.
    ; y& k: A2 {# E+ z" x' Z
  469. ; Default Value: Off
    & f, ]- u5 v/ _1 ^1 b
  470. ; Development Value: On
    " w4 `# A- v' E
  471. ; Production Value: Off
    4 `- @* J2 P! m0 A% Z: t; W
  472. ; http://php.net/display-startup-errors
    1 m$ r& l/ [6 A+ G7 N* p" R
  473. display_startup_errors = Off7 }: N6 q0 l6 c# T9 K

  474. * |, ~% x! f* r; Z9 Z
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    % k! X9 S; u' ^
  476. ; server-specific log, STDERR, or a location specified by the error_log+ g; k/ g+ S  x% P
  477. ; directive found below. While errors should not be displayed on productions
    3 C, }$ Z' M, }: T$ z
  478. ; servers they should still be monitored and logging is a great way to do that.
    ) _, R* _9 c* v# Z1 E. P2 j
  479. ; Default Value: Off
    ' {% I. a9 i5 F
  480. ; Development Value: On
      t+ E! u$ ]9 A
  481. ; Production Value: On: }# R" v+ a8 k: j: M; J
  482. ; http://php.net/log-errors
    2 v# k! H4 T* o# b2 \) z9 c
  483. log_errors = On( K3 Z" e2 d* s  s7 s# d
  484. 4 `( M' i2 ^- y5 B+ _5 Q
  485. ; Set maximum length of log_errors. In error_log information about the source is
    4 w; k/ U' T- M6 d  k7 i
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    5 }8 @4 d1 j9 k7 D, w
  487. ; http://php.net/log-errors-max-len1 a8 b" X; d- R  B
  488. log_errors_max_len = 1024$ f8 V  a4 [8 i/ I: `* }

  489. 8 V; o+ d& ~/ q3 M- }6 _
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
      f* o7 |! ~+ f
  491. ; line unless ignore_repeated_source is set true.  ?0 Y4 r) Q  ], ~/ K4 M$ K' ~& P
  492. ; http://php.net/ignore-repeated-errors  g  d& n' |: Q  a# z8 J
  493. ignore_repeated_errors = Off
    " Z; J- y% O8 C

  494. ' r  L4 e+ N" v3 b$ p7 {& h2 c
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    % r3 C' S4 y( r  u" r) Z0 k
  496. ; is On you will not log errors with repeated messages from different files or
    6 i" n, ]( W8 q+ _+ w! P9 b
  497. ; source lines.6 m. {( \+ H9 {% J, D  P7 Z
  498. ; http://php.net/ignore-repeated-source; t# V0 I9 _2 @
  499. ignore_repeated_source = Off
    2 \' @2 w0 s8 ?- h+ m

  500. 2 X: b% ^4 I6 F  {, D4 O6 |9 w. F
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    1 B5 c3 Y4 I4 Y( T6 C) d1 u: G! L
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    - W; ]; ~1 k& J+ I& g: ?8 P7 V
  503. ; error reporting includes E_WARNING in the allowed list
    , v# n: y! {  z. c% H0 I: v
  504. ; http://php.net/report-memleaks" U( t  {; @! h; M; p) o
  505. report_memleaks = On. D! X5 l0 ~$ N" G
  506. ) H+ o* r+ i* R3 r9 x% L( v
  507. ; This setting is on by default., W5 f1 z2 u& _: q2 E4 ?$ X/ r0 |
  508. ;report_zend_debug = 0
    ' ^7 w" o5 f' z/ F7 F, B# f

  509. 8 U3 P) S6 Z( V- k' Y
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
      {* ]4 d  ^8 ?8 j. {" a- B
  511. ; to On can assist in debugging and is appropriate for development servers. It should$ r+ r' P  D1 O' H* n
  512. ; however be disabled on production servers.
    9 ~, o$ Q) ~' @9 x8 T
  513. ; Default Value: Off. T% N8 d, n% A! A  y
  514. ; Development Value: On5 j) p0 t1 C  Y2 e
  515. ; Production Value: Off
    % x/ V9 p" V% E, q# ^1 ^
  516. ; http://php.net/track-errors' P# ]7 [( U3 D
  517. track_errors = Off
    / x) T4 m3 H: O/ e

  518.   g+ k: z) _+ b2 E$ k
  519. ; Turn off normal error reporting and emit XML-RPC error XML- w4 k  v, @8 U
  520. ; http://php.net/xmlrpc-errors
    8 v3 ~% w$ q4 R
  521. ;xmlrpc_errors = 0
    / u& Y1 r) D0 l3 q
  522. / j3 l5 c' o% _& ~& Z
  523. ; An XML-RPC faultCode, b' R- k5 P2 t% D+ n2 A
  524. ;xmlrpc_error_number = 0
    3 T) a' j2 a6 n. {8 f6 E- H

  525. , t" V3 |' b6 H9 `- a' t6 c
  526. ; When PHP displays or logs an error, it has the capability of formatting the8 H: E- V% C# {
  527. ; error message as HTML for easier reading. This directive controls whether
    ' c+ A; G0 W3 _$ o
  528. ; the error message is formatted as HTML or not.
    7 h/ r/ C8 T+ I, O
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    & B( O- @9 {7 i& D5 `
  530. ; Default Value: On
    : C. j) ?8 O) o& M* C# g4 P- u; s3 O7 L
  531. ; Development Value: On: Y9 t9 i4 e2 X0 p0 a- j
  532. ; Production value: On
    # b! ~" M6 K8 E" S0 }
  533. ; http://php.net/html-errors
    3 t- v$ e: ]: J) S4 P
  534. html_errors = On
    ! |+ H) z" z& f

  535. - N1 N- p9 S* c6 i& z* ^6 }
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    + }" J6 N9 L1 A: m% H
  537. ; produces clickable error messages that direct to a page describing the error6 d" {* r& K3 u8 v, V
  538. ; or function causing the error in detail." @8 Z' t5 |* P/ n: s
  539. ; You can download a copy of the PHP manual from http://php.net/docs  q0 J* R- v" W, J+ Q
  540. ; and change docref_root to the base URL of your local copy including the
    & S: T  Q& z- a, \! z" N# x
  541. ; leading '/'. You must also specify the file extension being used including1 {. i' a! @6 q
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    0 s' V! i+ r* P" p6 E# k
  543. ; case no links to documentation are generated.8 Q' C2 H. |, u7 K9 |1 C: K* x& f
  544. ; Note: Never use this feature for production boxes.6 t' N% k: _7 X) @+ z7 T4 b
  545. ; http://php.net/docref-root8 B3 b0 D# a: Q  e
  546. ; Examples
    . Y: R$ e3 Y5 a, j& Z9 V- m
  547. ;docref_root = "/phpmanual/"
    7 H7 b6 [. t7 y% ~8 Q9 ?

  548. % \1 D9 }; ^# ~, w. R# w
  549. ; http://php.net/docref-ext
    ! l0 |( |+ I+ S. a' a
  550. ;docref_ext = .html
    2 z1 h+ y2 z2 S  A' J; P- D

  551. ' L7 z4 @! m/ T% b
  552. ; String to output before an error message. PHP's default behavior is to leave: d2 a6 e( W% T' Z1 w0 |
  553. ; this setting blank.
    ( D5 x4 z1 m9 C( d0 r' ?  D8 k( `
  554. ; http://php.net/error-prepend-string( ]3 G- Q! t: {- r8 e; v
  555. ; Example:
    * ~4 v$ F, s* K: x: r
  556. ;error_prepend_string = "<span style='color: #ff0000'>"" X' r- {# l* ?' S
  557. # D- f+ k& Y2 }5 I, |& `, j( L- |
  558. ; String to output after an error message. PHP's default behavior is to leave1 \, h# l- e9 R* u0 S+ N
  559. ; this setting blank., g+ w1 ^& ^$ H& J* R& Z  H' T/ n0 Z$ y
  560. ; http://php.net/error-append-string
    . R2 x5 z% `: p0 Y  d" e" s
  561. ; Example:+ }( ^% i" U& B1 q. w/ ]4 ]
  562. ;error_append_string = "</span>"# s6 v- _3 g6 ~

  563. / X' ]4 d3 Z" s1 m* C
  564. ; Log errors to specified file. PHP's default behavior is to leave this value# I7 y/ t' D5 U1 Z& B
  565. ; empty.
    7 H& t: c$ f" h! O1 S
  566. ; http://php.net/error-log1 s6 E7 |, K0 y( }1 o
  567. ; Example:5 A& q7 i, b% D
  568. ;error_log = php_errors.log2 b. q: B; z% ~9 s3 {" W
  569. ; Log errors to syslog (Event Log on Windows).
    . r- t5 ^8 a+ }- {2 S* W
  570. ;error_log = syslog. e6 f, \, E9 N* ?

  571. 1 C  Z9 c: _. W
  572. ;windows.show_crt_warning/ Z: o5 E. P: w/ c3 r0 [
  573. ; Default value: 0
    ) @6 K4 o  T7 S. B
  574. ; Development value: 05 n# h$ R3 Y& V2 `! p
  575. ; Production value: 0
    8 h; I% |: N# i7 q( G
  576. 5 d7 T( g! }: X! a
  577. ;;;;;;;;;;;;;;;;;- Z( R5 C' G5 v/ N9 C8 H' L4 S
  578. ; Data Handling ;4 r, n1 V  ~$ {. L  n
  579. ;;;;;;;;;;;;;;;;;1 E0 y# t5 i3 c. t5 F! q* J

  580. / u3 W; H$ E7 Z
  581. ; The separator used in PHP generated URLs to separate arguments.
    ; q- H5 i# @) Z) s- v8 t
  582. ; PHP's default setting is "&".) {1 i; J9 _7 W) o
  583. ; http://php.net/arg-separator.output5 s; E( }6 E- V$ T" n; j
  584. ; Example:, I3 M9 w7 T7 F1 r7 i) W
  585. ;arg_separator.output = "&"
    9 ?% d9 j2 `& Z! @6 E  Q' y6 ^

  586. 8 g5 ?6 A( C) A  C& z$ b
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    ' g* A3 X, a; N* R. I
  588. ; PHP's default setting is "&".- P$ ]1 X9 x% W% A$ @6 C, q+ k$ Z# B
  589. ; NOTE: Every character in this directive is considered as separator!8 R$ P9 ]) v8 D" e! z3 Z, ~0 J5 m" O# P
  590. ; http://php.net/arg-separator.input8 \* e. r/ A! g+ ~8 F  S& |
  591. ; Example:/ I# b2 @9 [6 n* y% o
  592. ;arg_separator.input = ";&"
    $ f* U) S$ X, z9 R' o

  593. 3 n- q5 |  g9 S- W! U- C( Y
  594. ; This directive determines which super global arrays are registered when PHP
    3 V8 M, n7 u7 d6 k" N
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super5 P; _4 t, q) [; I
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    1 u& L2 R( Y# Y' j
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    5 M/ u, ~* c$ l# S! \/ H9 f" u: b
  598. ; used as the others, ENV is not recommended on productions servers. You
    # z, n* g8 y# y4 Z/ p: f
  599. ; can still get access to the environment variables through getenv() should you; W8 @4 h6 F' e* q  Z
  600. ; need to.
    2 `, u6 j& {7 S; w7 V( G
  601. ; Default Value: "EGPCS"; ^2 R* J) z9 p
  602. ; Development Value: "GPCS", {. |% y. d& e# P4 `5 x
  603. ; Production Value: "GPCS";
    8 r1 T! b- i4 a" r. ?4 t
  604. ; http://php.net/variables-order% s; I2 H; L& o0 U/ j$ }9 e9 p( q
  605. variables_order = "GPCS"
    : q5 O4 ~" |/ N/ I+ r
  606. 9 G6 P6 L& I' ~$ q
  607. ; This directive determines which super global data (G,P & C) should be
    ( n0 m, Z3 C( `8 W0 x) d2 x
  608. ; registered into the super global array REQUEST. If so, it also determines# g$ r& _$ n3 D, v  S
  609. ; the order in which that data is registered. The values for this directive  ^$ _* Z7 ~9 `- I  }
  610. ; are specified in the same manner as the variables_order directive,8 Y$ x/ o. `  S+ h
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set4 G8 R& P0 z1 r+ s8 R3 l% K
  612. ; in the variables_order directive. It does not mean it will leave the super
    4 M7 W* b5 f7 y# n' s( I4 q
  613. ; globals array REQUEST empty.
      q3 ~: ]$ r  y% \9 L7 ?/ u% s1 Z: x4 ]9 W
  614. ; Default Value: None3 p7 K* c4 T7 G/ S$ l* K7 ]
  615. ; Development Value: "GP"
    , b/ N+ l. E/ V- ^
  616. ; Production Value: "GP"+ v  m1 h2 u( V9 A8 P4 r7 ^( Q
  617. ; http://php.net/request-order
    ( r# J2 W3 c- ~5 R
  618. request_order = "GP"
    # @' E+ J/ g; P8 w9 P
  619. 1 Y1 i( R! j: V
  620. ; This directive determines whether PHP registers $argv & $argc each time it- f; h  b( V5 {/ O& b
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script' n0 k: X* f) |2 F( _( F
  622. ; is invoked. $argc contains an integer representing the number of arguments
    3 m% ~5 c- a9 r8 ^
  623. ; that were passed when the script was invoked. These arrays are extremely, g- Y; r9 J+ ~+ T# k) q
  624. ; useful when running scripts from the command line. When this directive is# m* Q; E# S  Y, w$ T1 h7 u' S  Z
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    1 m- v, B5 ~$ y0 K5 ]
  626. ; a script is executed. For performance reasons, this feature should be disabled5 ?3 T" U# n1 K) f: `
  627. ; on production servers.
    " I0 G& U: r9 @4 G
  628. ; Note: This directive is hardcoded to On for the CLI SAPI! O, x$ |8 r' A' C' |/ B( Y
  629. ; Default Value: On. [% ?0 P8 I3 i1 {# w) k+ u
  630. ; Development Value: Off$ r3 E: {& n2 U! C2 a
  631. ; Production Value: Off2 |0 L- |( ]7 P3 a
  632. ; http://php.net/register-argc-argv# J/ l( {/ m& G$ ^# E7 [! j
  633. register_argc_argv = Off
    ; ^+ z6 p' E. D0 G4 X  y" o4 Q

  634. % m+ C& r) L3 ^7 U2 `
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    % T9 m) Z+ M8 W$ X9 b7 M
  636. ; first used (Just In Time) instead of when the script starts. If these7 k% A; U, Q5 T) _. Q
  637. ; variables are not used within a script, having this directive on will result
    ' E/ u0 O7 ~: P9 p* Y+ a
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    " V0 Q, R: `2 c) X1 i$ ~5 {
  639. ; for this directive to have any affect.
    5 d* q$ N4 U( E' x7 q
  640. ; http://php.net/auto-globals-jit6 p3 i+ a2 Q9 ^% p1 J" s. x
  641. auto_globals_jit = On
    % P  P# H$ ]( J* g$ {
  642. * x( a* ^) ~% {/ j. e& h
  643. ; Whether PHP will read the POST data.
    ; h6 ^9 l# m% _" G. ]
  644. ; This option is enabled by default.# a+ j- n; R( k% I% Y
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    0 l. Y* ~+ `7 y
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    $ Q# ]& b0 j  w
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    - j  f; v+ {& h  D. Y
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    # h$ a, G: W3 b5 K9 p. {
  649. ; http://php.net/enable-post-data-reading: p5 y  S4 ~% K! H3 F
  650. ;enable_post_data_reading = Off
    , c6 m; V0 ]9 g: ?; W

  651. * `) D: ^$ |6 ]3 N) A; P
  652. ; Maximum size of POST data that PHP will accept.
    . V% d. f  L9 g
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading+ w' Y2 u. [  _  v+ c+ A  `
  654. ; is disabled through enable_post_data_reading.
    3 D; L! H! U7 ^! a2 ]
  655. ; http://php.net/post-max-size
    $ G1 ]3 N( ~6 c
  656. post_max_size = 50M7 e$ }5 n, w: A, a  W+ c; m
  657. 1 }' N  ^' H& w' O  |; g; s/ J( {
  658. ; Automatically add files before PHP document.
    / ^3 K  B7 b+ B/ y; h3 \. a) H
  659. ; http://php.net/auto-prepend-file- [, v) t2 @/ ~8 d  z
  660. auto_prepend_file =! K& _) _' e+ q7 A, `
  661. 4 X# k  T4 K' A( |( U& h1 e4 |& u2 t
  662. ; Automatically add files after PHP document.
    $ J8 ~4 {- g% H) t0 Q4 N
  663. ; http://php.net/auto-append-file5 i+ f% L6 {: m- d: j; b; S
  664. auto_append_file =3 y( t$ v# R+ J
  665. 3 ]. {5 |* ]: T& |- E5 b# V3 R, W! ~
  666. ; By default, PHP will output a media type using the Content-Type header. To) W" |+ Q7 A/ n9 U" b& V+ h5 c
  667. ; disable this, simply set it to be empty.# V  H. ?( I8 Z: d. v0 R) {
  668. ;
    + Q9 h4 d4 @' j' b
  669. ; PHP's built-in default media type is set to text/html.( S" x& b1 E$ x; O6 F8 H
  670. ; http://php.net/default-mimetype
    0 G3 H- w( l! U9 W5 y* y
  671. default_mimetype = "text/html"
    9 e/ _7 r; z: c. g% I4 x# A! Q

  672.   E2 G/ ~; F& ]( Z; H
  673. ; PHP's default character set is set to UTF-8.
    ( B$ x4 h1 g/ t6 k4 L( m
  674. ; http://php.net/default-charset" f& y: }7 G: t4 z6 ?6 O4 `
  675. default_charset = "UTF-8"5 h% }" j' D* d  j+ l
  676. ! t6 v# b: w& L5 q% P4 Q
  677. ; PHP internal character encoding is set to empty.) t  N0 x9 W' @! a
  678. ; If empty, default_charset is used.9 E8 W, h. r! L  u- H5 T+ v
  679. ; http://php.net/internal-encoding$ B$ _% Y( X! x: t4 I
  680. ;internal_encoding =: w# i. q( A: r

  681. ) s5 S2 C! n3 G( p- R
  682. ; PHP input character encoding is set to empty.' k- F5 w* a9 z6 R# N4 E- i
  683. ; If empty, default_charset is used.& ?2 A+ t: z4 S8 W0 W; m* u
  684. ; http://php.net/input-encoding2 }3 Z4 l& p  ~+ d+ O# A: Y
  685. ;input_encoding =1 |* b, L$ A! z) W8 Z. V& L; U
  686. 0 U) `5 ^0 ~4 {5 F  \- f9 Z' C" T
  687. ; PHP output character encoding is set to empty.
    ' Y( }& `6 n' o; X- k* ]* u
  688. ; If empty, default_charset is used.
    ; F% R4 U* K- I5 r( u7 l5 c
  689. ; See also output_buffer." v( G' x* ^# O
  690. ; http://php.net/output-encoding- m! C4 g1 r9 }8 H- E; R5 v
  691. ;output_encoding =
    ! {. h3 `! N$ s- X/ k1 c

  692. 9 J1 m% m# C# t# |
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;" ^/ g) M! l: Z3 v
  694. ; Paths and Directories ;2 F- V6 S" K1 }) f' Z  V
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;! @$ h6 |- j$ t. P9 i, t

  696. : L; q  M( z, D  ^3 f2 o
  697. ; UNIX: "/path1:/path2"
    3 [8 {6 T) p# S0 F' m
  698. ;include_path = ".:/php/includes"# p% a$ K6 ?! }
  699. ;
    7 p# t9 q% u% N# g% {1 [
  700. ; Windows: "\path1;\path2"
    " p2 }. x0 Y( V
  701. ;include_path = ".;c:\php\includes"8 G" U. H8 W, o6 r: z4 S8 a- M' U
  702. ;6 |6 [1 Q# B5 I! ^
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"- j. N# N: e) M. u  T" E
  704. ; http://php.net/include-path
    ; ^  Y1 V7 z' f, \  b7 i

  705. + y" Z; Z+ d4 R* }2 F' ~- \# i
  706. ; The root of the PHP pages, used only if nonempty.% W* t" ?8 `' x0 G
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root+ X! z/ w0 ]9 c* E8 H
  708. ; if you are running php as a CGI under any web server (other than IIS)
    6 d) }' Y+ I# F; n
  709. ; see documentation for security issues.  The alternate is to use the' Z" ~" \# R7 D3 k) z; N
  710. ; cgi.force_redirect configuration below
    2 `' {2 k9 G/ |
  711. ; http://php.net/doc-root9 x2 b. Y1 W4 \4 f  z7 `
  712. doc_root =
    & H$ c% h3 e3 T

  713. 5 o. G4 l  O7 F7 s1 W# b7 ]
  714. ; The directory under which PHP opens the script using /~username used only
    * g" v% c' H8 \& @, u/ u* K
  715. ; if nonempty.9 N9 U7 m( b8 N( P; Y; a9 Z& f' l
  716. ; http://php.net/user-dir
    ( \! j6 D! d6 W" @: i8 ]0 Q3 x7 T
  717. user_dir =3 y2 @, L9 S* e+ s
  718. - v, M8 i) [+ Y5 [! Q' n" b7 e/ d
  719. ; Directory in which the loadable extensions (modules) reside.
    7 `( h1 r; t& k, j# Z4 j7 W$ }% n
  720. ; http://php.net/extension-dir3 O; x8 j7 M; x! C2 \% |+ ^' a
  721. ; extension_dir = "./"7 O$ o9 q) W% C1 T7 h
  722. ; On windows:
    " h! }+ d! Q2 N" h% J
  723. ; extension_dir = "ext"* z; f& m9 X" |

  724. # x8 E' v2 w9 @4 e
  725. ; Directory where the temporary files should be placed.
    0 y9 I, K1 ?+ o$ \8 _/ T
  726. ; Defaults to the system default (see sys_get_temp_dir), j2 ~0 S& [8 _  O# b
  727. ; sys_temp_dir = "/tmp"
    , x6 b( o+ d- J/ s' G5 L
  728. ( N% E+ i% J. J3 o2 ]0 ^0 |3 W
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work( k  K& R( F: R* j. S  g
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    " ~% q; v% P, J% e' }* e1 V3 {2 o
  731. ; disabled on them.
    ( R6 y5 o' C$ q, O9 ^9 B
  732. ; http://php.net/enable-dl4 u+ [4 a- b9 R* Q& i. a0 w
  733. enable_dl = Off% d8 O/ r7 n5 E+ M. l  o

  734. / b. w# G7 O2 n  r7 y" a
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    0 C0 y% b0 ]! D
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
      g- V) M- l- x8 S
  737. ; turn it off here AT YOUR OWN RISK- [, p6 f% k4 _( P0 \" H
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    : I2 F6 L" R! y
  739. ; http://php.net/cgi.force-redirect6 q7 f' X( \" p
  740. ;cgi.force_redirect = 1$ h) z2 g* s% N) m

  741. ! e) \; O4 {- X
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    6 X. g* [" {3 I+ |, x' [
  743. ; every request. PHP's default behavior is to disable this feature.5 ~% l) d; \: r: c  u- j% V7 V3 E+ t
  744. ;cgi.nph = 1. _' u7 F) N+ x2 d

  745. ; d- r( k; |$ N9 r' @3 `  c
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    2 _, q% _# M0 ]9 A6 w6 o
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    , y( S" {: B& p) z) Q$ W$ M( ^
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    4 E1 t( e, r! A& ]& Z9 g  i6 I
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    / H2 a6 A# k% V& W  \/ D
  750. ; http://php.net/cgi.redirect-status-env
    , _" R9 R% c) T7 w1 V' ^
  751. ;cgi.redirect_status_env =
    : F, k& e0 S2 m3 @
  752. % W1 i! g6 Q% b* c8 l2 `
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    . E0 }1 ?! ?) ^4 m! ~7 U
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    " D) A* e) W% l- o5 }
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting" a( ^* d* k/ e! c, R# Y
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting; A. [" o8 H) N+ ~  T+ P
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts2 ~# s& c- G5 C  C+ E( h
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.! p+ P2 R+ P# B2 E. W, j
  759. ; http://php.net/cgi.fix-pathinfo
    ) W3 u' ?4 ]$ o% Z
  760. cgi.fix_pathinfo=1
    " |, Q0 x/ e5 |, |) |

  761. ( \1 h" |9 C) D5 ^
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    8 x+ K* L% R6 m# \0 b$ s
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    6 A3 c, o# \, G1 j8 N5 J
  764. ; http://php.net/cgi.dicard-path. w. L; N( B& l. W& R% _# U- x
  765. ;cgi.discard_path=1
    4 e; V5 }" v# X8 Q; a
  766. / V7 b6 a1 d0 }- Y$ w+ F3 J
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    4 q/ x" c6 H5 i& z( z! ?- ?6 @/ X
  768. ; security tokens of the calling client.  This allows IIS to define the
    " T. q- B8 j: Z0 f
  769. ; security context that the request runs under.  mod_fastcgi under Apache4 }$ {6 G$ s$ v5 ]. O8 ~$ o
  770. ; does not currently support this feature (03/17/2002)
    9 I8 O6 I5 g1 \  P7 @4 W, s
  771. ; Set to 1 if running under IIS.  Default is zero.' x" `. \5 \# q0 W% z$ h) O! A
  772. ; http://php.net/fastcgi.impersonate
    + M9 H4 ^, F; c1 O- X6 m& Q
  773. ;fastcgi.impersonate = 1
      d* F+ x( Y4 z( I4 _4 h! M; S: O
  774. 4 H' U1 ], f1 S* k6 m
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    # N4 ?! r+ `6 G4 N  z% G/ ~
  776. ; this feature.# G# `0 h" o0 V) t7 B1 d/ `
  777. ;fastcgi.logging = 0$ g0 u9 k: l  A% l; }
  778. " R+ r1 g) g7 b; B
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    . E* X0 i) b- [& m5 H7 H
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that, M1 Q7 m- q9 l6 W; c' y0 E
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    * N, r6 w6 Y/ l& y8 ?
  782. ; RFC2616 compliant header.
    7 v1 x  H$ |" i
  783. ; Default is zero.
    7 e' P( b/ o+ p4 e5 v1 t: ?
  784. ; http://php.net/cgi.rfc2616-headers5 i$ g: m" |* D) j. H1 G
  785. ;cgi.rfc2616_headers = 0" B" s( A; P+ ?& g2 t6 x8 A
  786. 2 }6 D/ k$ h  W" u1 ~0 s8 }
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!  D* a1 p6 X2 c, Q
  788. ; (shebang) at the top of the running script. This line might be needed if the
    / j8 A" `+ W& w/ r
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI& f0 {. i2 a- [- G; Y; ?$ h6 T  u
  790. ; mode skips this line and ignores its content if this directive is turned on.
    3 u4 |# U3 [/ H' c1 s, z# n: E
  791. ; http://php.net/cgi.check-shebang-line
    ( y7 `% e' p+ A/ W, J( _4 ]. X& |
  792. ;cgi.check_shebang_line=1& \/ k( T2 V+ m8 i& D
  793. & ]9 r' I! C4 ^
  794. ;;;;;;;;;;;;;;;;. ]/ \+ G8 g# o3 J! W6 S  D
  795. ; File Uploads ;8 K" c/ t' c2 A$ \# Q- s
  796. ;;;;;;;;;;;;;;;;
    : ~5 o$ R% D3 p* B! X

  797. ! i- {" S& R% T* J# N
  798. ; Whether to allow HTTP file uploads.
    ; e7 p$ y, E/ o, {4 S9 j2 p
  799. ; http://php.net/file-uploads! W, a7 H3 x9 S, W- G$ H
  800. file_uploads = On$ ~8 r4 i& J) w7 M8 J& g$ _- ~' ~! A9 v

  801. " T, l" i: I7 n7 Y2 F
  802. ; Temporary directory for HTTP uploaded files (will use system default if not$ s" K, S. y0 l( h
  803. ; specified).
    4 t6 \2 r8 [2 |% I6 x
  804. ; http://php.net/upload-tmp-dir
    % h) J+ x) l# }9 x( z- b" G
  805. ;upload_tmp_dir =" R& a! R6 U5 o' u
  806. 6 ^) E7 c* a- ^. Q
  807. ; Maximum allowed size for uploaded files.3 u3 {, g4 S( P8 ]- ^6 }# K
  808. ; http://php.net/upload-max-filesize3 v% l( v# N7 v1 S; Y
  809. upload_max_filesize = 50M, m7 x5 q4 n  r+ Q
  810. * }' s  H# P6 s" H, i9 J
  811. ; Maximum number of files that can be uploaded via a single request2 f2 K6 r+ Z/ p9 W1 P1 v
  812. max_file_uploads = 20
    ; a. K" x  i7 d9 X7 D/ N
  813. ; y8 d. Y. a* ?2 G+ J( X
  814. ;;;;;;;;;;;;;;;;;;
    2 L7 v& D# T9 X# V8 S, b2 i0 \
  815. ; Fopen wrappers ;
    8 }2 H* i( O& k8 R! W7 t3 W
  816. ;;;;;;;;;;;;;;;;;;" ?3 i- m7 z: ]* a9 X) i/ g

  817. - r; i8 A, M4 m% l/ c6 N
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files./ v" S! m$ d. C, Y) U
  819. ; http://php.net/allow-url-fopen
    3 i5 @$ \& T0 R8 h3 P3 R$ s/ F$ r4 c
  820. allow_url_fopen = On
    7 x5 Q0 g  Z- `9 O8 y' g# }/ [

  821. $ @: ^, s  Z. v  y2 s
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.- ?0 n  P: j& j5 I6 b: E: m
  823. ; http://php.net/allow-url-include# E  B" I6 P. K( q( V; s! K* k
  824. allow_url_include = Off, z/ }4 |% l8 L& _8 b3 y3 K5 m
  825. / }9 d: V% u8 R7 U# Z3 B9 Q
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    $ I/ ~4 j1 w' A! ]7 ]
  827. ; for this is empty.
    2 K6 B# z4 \1 E  U* W4 u
  828. ; http://php.net/from7 r: J! R8 `2 A! [1 i% h
  829. ;from="john@doe.com"% N+ @8 V# N. {& G6 ]+ n3 {
  830. 3 |/ x! S6 p% S( A* u* t$ M6 }, F
  831. ; Define the User-Agent string. PHP's default setting for this is empty.# f( `8 _4 r5 l9 A& Z
  832. ; http://php.net/user-agent
    ) }9 V; l; ]7 `7 h* w8 E
  833. ;user_agent="PHP"
    4 E0 C" o/ N7 T5 Z

  834. ) N6 k/ s/ G* T1 Z" y) l
  835. ; Default timeout for socket based streams (seconds)
    8 Q; _' I$ A5 f- \
  836. ; http://php.net/default-socket-timeout/ s) M# `7 J$ T- b6 e- _5 k' K2 N
  837. default_socket_timeout = 60
    ' |! ^8 C) K6 K8 \+ h
  838. 6 B% ~$ l! O0 f" d
  839. ; If your scripts have to deal with files from Macintosh systems,, e  h5 {% x4 s: {( i9 \, f
  840. ; or you are running on a Mac and need to deal with files from/ p! F1 ~0 E. k' s+ X
  841. ; unix or win32 systems, setting this flag will cause PHP to
    / g1 r$ k7 _# t) {  F
  842. ; automatically detect the EOL character in those files so that+ X3 x9 d4 F% ^, S# C* y% {, o
  843. ; fgets() and file() will work regardless of the source of the file.& `: D# g" Q6 l1 J  L. ^( H- j: F
  844. ; http://php.net/auto-detect-line-endings
    . Y( R+ D( g9 `( q4 O5 R
  845. ;auto_detect_line_endings = Off% O: D6 g: T' f8 q

  846. 6 H: }) o% e5 y. k) E. K6 D
  847. ;;;;;;;;;;;;;;;;;;;;;;! A% ^) \' \# \
  848. ; Dynamic Extensions ;
    % u) z! X* Q2 |. w
  849. ;;;;;;;;;;;;;;;;;;;;;;9 e) N- A1 i/ q! y9 X9 S0 Q. f* m$ v
  850. + D) }; ~' e/ q, h: I+ [
  851. ; If you wish to have an extension loaded automatically, use the following) e6 J/ U$ _: Y: x/ T' U
  852. ; syntax:
    % q& a% Q3 k6 q3 E
  853. ;$ F- _4 n& W( L
  854. ;   extension=modulename.extension
    : H, ]- v6 s: I3 T) o
  855. ;/ I+ n/ p  O5 F
  856. ; For example, on Windows:/ q* H5 y/ f( }, ^; M# X
  857. ;* v. G' n4 O, R, j
  858. ;   extension=msql.dll0 e- y6 P  ?0 f1 w4 {) }3 M
  859. ;6 M( W8 v! h1 n' ?( G; T0 O
  860. ; ... or under UNIX:" H) X- h2 \6 }( i: ?4 t4 c
  861. ;
    3 {1 K1 }' P% @% k
  862. ;   extension=msql.so
    5 V, X! ]- ]: k" V# j1 X
  863. ;( K( y5 f' d# }2 |' l
  864. ; ... or with a path:5 {( h4 z2 |# Z' C8 U, u
  865. ;
    " O( |1 x- D5 M' l8 G
  866. ;   extension=/path/to/extension/msql.so
    ! K: U' ]- M7 a, N: {* b( N
  867. ;$ P- {( }9 y9 O7 D3 n/ Y& x2 i
  868. ; If you only provide the name of the extension, PHP will look for it in its4 w5 ^+ I+ T% U6 ?* B- s1 V
  869. ; default extension directory.
    " \  [. b4 `% X8 e2 r8 X
  870. ;- U. y: N2 `6 c) j$ m
  871. ; Windows Extensions
    " [8 v0 o' r! N* e
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    2 r- l$ z7 [0 B4 y+ d; W
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    * F  C+ V4 ^4 h! Y4 |
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
      K4 t0 ?7 |% {* |# o+ u
  875. ; Be sure to appropriately set the extension_dir directive.
    5 c% Y( {& ^: y" x
  876. ;$ T0 R6 o$ P+ M+ b) [
  877. ;extension=php_bz2.dll( Q+ q1 U0 R$ ?# a
  878. ;extension=php_curl.dll/ Z' m2 `1 X8 h4 u/ N6 o
  879. ;extension=php_fileinfo.dll' X% _1 c5 G: [- U3 {! c) S5 A+ ]
  880. ;extension=php_ftp.dll
    2 H3 s* ?% y% u  `2 i& U
  881. ;extension=php_gd2.dll
    - K5 n0 k" U5 l. L7 j
  882. ;extension=php_gettext.dll: l2 x3 g# L2 h+ p$ \) V; G4 z
  883. ;extension=php_gmp.dll4 G8 L: b. N/ y: Q! d
  884. ;extension=php_intl.dll
    ( V( M: S+ Z. S& `2 ]8 O& u
  885. ;extension=php_imap.dll) V! O8 d& r$ l' J: S
  886. ;extension=php_interbase.dll
    9 f7 h$ W8 b/ U+ ?* \
  887. ;extension=php_ldap.dll
    9 {8 j) q: N  T# b) U# X) m% ^
  888. ;extension=php_mbstring.dll4 g1 v. Z; z% Z6 P$ S% ?# M& R, Z- a
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    . j: y0 i7 G5 V
  890. ;extension=php_mysqli.dll
    ' B4 g) A8 M  z4 i! \7 m+ a
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client8 ~; \1 H8 v5 I
  892. ;extension=php_openssl.dll
    ' w- P4 z) P" X" V2 u
  893. ;extension=php_pdo_firebird.dll5 a; e* ^' P/ g* Y4 _
  894. ;extension=php_pdo_mysql.dll1 v4 u! ]/ _8 s+ _  Q0 m3 O
  895. ;extension=php_pdo_oci.dll9 m1 r( T& T4 j# l
  896. ;extension=php_pdo_odbc.dll4 Y8 d9 G. g& A. O& ]
  897. ;extension=php_pdo_pgsql.dll3 W! p% r! r, e$ I5 w" B
  898. ;extension=php_pdo_sqlite.dll: w8 z: I: g% t1 d5 k+ v- D8 p
  899. ;extension=php_pgsql.dll8 s) G! a( ~3 O* r9 ^
  900. ;extension=php_shmop.dll7 M! k0 [8 b8 n- R% _5 s
  901. / m* x& w. D. C* k% m/ |' r
  902. ; The MIBS data available in the PHP distribution must be installed.; f; J2 w9 R: L! M, _9 ~
  903. ; See http://www.php.net/manual/en/snmp.installation.php% E4 p( h" ~# @+ w- i8 q
  904. ;extension=php_snmp.dll% x7 L, S$ p+ Z% J: l9 E) r

  905.   B+ ]7 M  r7 Q5 F' n- d0 e& A% [. ^
  906. ;extension=php_soap.dll
    ( w4 U3 w0 Y, U1 E; R; _& d
  907. ;extension=php_sockets.dll
    9 f6 ]6 P+ n1 L& a9 a7 g+ c
  908. ;extension=php_sqlite3.dll
    2 s  A5 y, l8 d1 J# ]* V# J
  909. ;extension=php_tidy.dll
    ! k* v" R: @/ `: E
  910. ;extension=php_xmlrpc.dll! d7 {/ w7 k' g& U$ D4 Y( i+ g
  911. ;extension=php_xsl.dll* P: u6 s* Z; e4 f; W) X

  912. / M& K  C8 z* n$ Y  R7 D2 j
  913. ;;;;;;;;;;;;;;;;;;;
    $ `) F( R; g$ ^- f
  914. ; Module Settings ;
    # C- O  r8 z. G/ B, W
  915. ;;;;;;;;;;;;;;;;;;;8 l% o8 C9 ?; ?: P
  916. " F/ P% g. x" V5 ^
  917. [CLI Server]7 j, o; h8 x9 o5 z% ]
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.. G; j8 G2 i0 M1 E0 G' M/ e
  919. cli_server.color = On
    * Y3 z- l2 ?/ P

  920. * U  L! J$ a* t2 v6 ]
  921. [Date]5 p2 z, x% m- N3 ~/ @! X& j" O
  922. ; Defines the default timezone used by the date functions, |9 g) \7 ]& a
  923. ; http://php.net/date.timezone+ B8 {7 q3 m+ Q, ~  T: b9 ^
  924. date.timezone = PRC
    7 i, i  I0 D$ F) H. Y" g

  925. : h4 i) Y* j8 E! l: C
  926. ; http://php.net/date.default-latitude1 F# ?! x$ V, f9 N# C
  927. ;date.default_latitude = 31.7667) B  _' Y& ^. L+ e- `9 m7 K

  928. 7 }1 o7 M" P- m7 n
  929. ; http://php.net/date.default-longitude
    % ^6 m" n3 @  J4 Q% [4 N. ]
  930. ;date.default_longitude = 35.23331 {6 D. _& `/ `& U. @
  931. 4 D1 \% z9 {6 ]
  932. ; http://php.net/date.sunrise-zenith2 C4 Q1 g6 |( R6 f. ^. `
  933. ;date.sunrise_zenith = 90.583333
    * {4 ^% ~' y' \" g

  934. . U, W, u5 u" N7 T3 l1 N0 Y3 |# \7 q0 ]
  935. ; http://php.net/date.sunset-zenith7 i  m2 M$ R2 Q9 C. l/ J
  936. ;date.sunset_zenith = 90.5833330 D9 c( T4 q4 C4 p0 h0 U" j3 r
  937. % p& l8 Q, x- e6 s  M
  938. [filter]) P0 \, r9 |3 f* I0 s1 `6 k8 h
  939. ; http://php.net/filter.default( \. a; E3 m$ |
  940. ;filter.default = unsafe_raw2 g: T6 m* F) ~( F7 z- E

  941. : l. o, [' ]4 o2 K3 r1 ^& F
  942. ; http://php.net/filter.default-flags' N8 P2 T( b* I; P, O
  943. ;filter.default_flags =3 z& o2 |7 I0 E' q! L

  944. # @" H; |" ]9 E
  945. [iconv]; G% P) w4 D3 D& n( Q6 a* p
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.( g! V" O2 x3 f
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    , w, S9 \- ^% \2 `2 E
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding& v5 ?* s8 y3 c2 G0 H4 [( z
  949. ;iconv.input_encoding =
    8 f- [. S  h, r
  950. ( ?% E! F4 s& {; K2 b8 v" d- ]
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.) x% G4 q. K7 U* Q: ?
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.0 Q9 W' i" a  {- T6 ~
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% a1 v: O. }! p( a5 E. H
  954. ;iconv.internal_encoding =( @/ Q) }7 s' R8 @; _1 `3 S8 c1 S

  955. 8 k$ C* [: Y  s: T/ e% o
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    + u& q! ?  U) S, l8 R3 @
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.+ F% x/ c/ N" s
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    * c6 l; [; F9 F/ r
  959. ; To use an output encoding conversion, iconv's output handler must be set
    0 ~: G- [, G' r8 B9 Q! {8 _
  960. ; otherwise output encoding conversion cannot be performed.
    . \6 f9 z5 B0 J9 v0 K! U/ ^; d0 A
  961. ;iconv.output_encoding =5 l( l& ^$ T: r% F& Y' H! t

  962.   I( u# Y  I1 E
  963. [intl]
    7 x- a4 t# x$ E1 ^
  964. ;intl.default_locale =
    ( h, ?$ i6 A+ v* O
  965. ; This directive allows you to produce PHP errors when some error- h" V8 R: r6 B& H- M1 b
  966. ; happens within intl functions. The value is the level of the error produced.
    8 {1 I3 \* H* x5 V5 A" }
  967. ; Default is 0, which does not produce any errors.
    ( @: o4 `8 z* b2 p) c
  968. ;intl.error_level = E_WARNING
    ! p; [: h8 `# G7 R* U. {' a
  969. ;intl.use_exceptions = 0
    2 B, o, |2 v) A4 m/ d. S

  970. : l. U: P% N8 i9 Z
  971. [sqlite3]5 q, {8 F, a/ a' d8 e
  972. ;sqlite3.extension_dir =
    ( f0 ~- ?; f6 H! d
  973. ! _" d8 e  ?1 S8 j) P5 Z1 m" r. R5 O' j
  974. [Pcre]$ g( A8 m8 b: ^2 f1 l( w: T/ q
  975. ;PCRE library backtracking limit.. y! v1 O! w* x# W3 R9 @
  976. ; http://php.net/pcre.backtrack-limit% C. V! ]& O% J, f; u
  977. ;pcre.backtrack_limit=1000005 ~7 K% ]3 Y9 F7 A) V
  978. % t# N# [2 `% `
  979. ;PCRE library recursion limit.
    5 s5 H0 Y3 m/ U" v- {0 \
  980. ;Please note that if you set this value to a high number you may consume all
    / z# b4 W% ^4 e* j+ `# z
  981. ;the available process stack and eventually crash PHP (due to reaching the
    / J2 W% g4 F& J: Z/ }
  982. ;stack size limit imposed by the Operating System).
    ' o! }% _) O* Z) s- A" |6 ^2 n" @
  983. ; http://php.net/pcre.recursion-limit
    + c* M7 {; g& n+ k+ d3 M
  984. ;pcre.recursion_limit=100000" T6 m$ r: a" Q  G6 p: {; e

  985. " b0 N) W8 c: t8 X
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    ( o5 g7 T0 w' A0 o+ _. g
  987. ;library to be compiled with JIT support.$ f2 V! z. S3 S( V  O8 _- V. U
  988. ;pcre.jit=1( w/ t- P8 A) t! @- b* v: e6 K

  989. . U/ w( l, k0 A# {4 z
  990. [Pdo]& Q2 o" u7 c# L& R$ w6 A
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"+ A9 \5 ~6 J8 V# @5 B7 ?- y
  992. ; http://php.net/pdo-odbc.connection-pooling
    1 t+ u5 R+ Q0 a. @! t5 B6 m
  993. ;pdo_odbc.connection_pooling=strict
    9 u9 Y. o0 F" D# g

  994. # w3 s; p. k; t. d: C, V
  995. ;pdo_odbc.db2_instance_name6 \0 z1 I& K! s7 W& r: P' }

  996. 5 D, @/ W3 z6 \& v# v; o, l
  997. [Pdo_mysql]
    8 G# \% k; A4 Z: W, g
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + G( j1 W6 I. Z# A3 }6 ~. I* O
  999. ; http://php.net/pdo_mysql.cache_size$ ?: r1 w; G+ h  Z; O
  1000. pdo_mysql.cache_size = 2000
    1 s3 d+ y& h9 s+ B$ e% Z" i, \
  1001. ; S- z( f# H/ o3 ]- S4 z% o" H
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in. h: K& y6 b8 H' X+ r4 D  c
  1003. ; MySQL defaults.
    5 _1 R2 S* U$ q) q  d: q9 X, w& P0 j
  1004. ; http://php.net/pdo_mysql.default-socket
    % [! V; K0 R0 z3 z2 G6 S: \
  1005. pdo_mysql.default_socket=
    ( u; n0 i% p6 W- c% K* d

  1006. $ F  k  U6 p6 b6 ?' h
  1007. [Phar]
    , {. }% q) }: q" }  Q0 l
  1008. ; http://php.net/phar.readonly
    $ f7 ^$ F% t, U: _6 P" M4 u9 g$ x
  1009. ;phar.readonly = On0 u( a% X* l, b4 J4 }! `

  1010. " x# `! U( ~, S' ?" _& L
  1011. ; http://php.net/phar.require-hash% b$ u" C; w  E" [8 B: z
  1012. ;phar.require_hash = On- L7 `. ^9 ]% Q9 J
  1013. 3 G! G* t% u( V9 a+ Y7 b5 v2 c
  1014. ;phar.cache_list =) y. w8 p& ^) w* c4 V
  1015. ' W: y  E5 X* Y+ I3 e$ s
  1016. [mail function]
    4 y5 G/ ~6 k1 A7 N3 q
  1017. ; For Win32 only.
    ( m. x2 L. P* ~
  1018. ; http://php.net/smtp
    " u3 A5 H1 A, g  \' O9 V7 _7 G
  1019. SMTP = localhost
    2 r4 z# T0 {/ W  ], y: r
  1020. ; http://php.net/smtp-port
    6 h" R' W) ?3 E/ o
  1021. smtp_port = 25( U( d+ d5 e$ I; ]5 y# X- }% x! N9 |$ |
  1022. 1 U& i& B3 ~5 ^* W4 z% l
  1023. ; For Win32 only.8 o5 O! r! K  k# Y0 E! L
  1024. ; http://php.net/sendmail-from/ |) i+ P& a# L; \
  1025. ;sendmail_from = me@example.com
    0 X. k* w/ W' ~
  1026.   ?& y% H( I9 m* M& y
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    # q2 i& ~$ f& E: }! @
  1028. ; http://php.net/sendmail-path, v' O1 \* u% |/ t; W. R2 _1 c
  1029. sendmail_path = /usr/sbin/sendmail -t -i: `0 g3 r% K8 P, p$ L; c, V- Z

  1030. 7 X! N  F  I+ M8 T# t9 `0 W5 Q. i' Z' t
  1031. ; Force the addition of the specified parameters to be passed as extra parameters) `2 y) x* b/ D) a! \" U
  1032. ; to the sendmail binary. These parameters will always replace the value of
    ! e7 F+ N" P4 \- q/ \1 a2 B* F% r
  1033. ; the 5th parameter to mail().! i: b% M+ V" j& z" t) w& D" K5 b
  1034. ;mail.force_extra_parameters =
    # _6 D- h7 c2 @. M6 c( p, S

  1035. 3 Y( M2 Z4 H  }  l
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename% c9 A1 p1 q4 H8 z: h9 ]0 j# H
  1037. mail.add_x_header = On( |( j/ C. ~* T
  1038. 2 z9 `& \' |1 y) v
  1039. ; The path to a log file that will log all mail() calls. Log entries include: l- C% F4 V7 F
  1040. ; the full path of the script, line number, To address and headers.# |# A& k. B' M8 T9 d7 k* m+ A/ k
  1041. ;mail.log =: i4 n+ e3 I* G) \2 I& J- t. ~
  1042. ; Log mail to syslog (Event Log on Windows).' t8 P' T( \! n; Y: l: \; I3 e# H
  1043. ;mail.log = syslog
    7 e; ]* ^/ s" f6 f9 J$ s& n
  1044. : [" {6 ?, T: ?" F' P  G7 O6 ^8 s
  1045. [SQL]6 _" l) n) ^2 `) b  O/ G
  1046. ; http://php.net/sql.safe-mode
    * ~5 a( n! o) u/ B
  1047. sql.safe_mode = Off4 ?0 E: S; s, y+ w9 |% A9 A# n6 [
  1048. " B( l! N! y: g) h4 G
  1049. [ODBC]" J0 A* l7 f  z" j$ Q* i7 V1 j
  1050. ; http://php.net/odbc.default-db% \3 x$ s9 ?  O
  1051. ;odbc.default_db    =  Not yet implemented" t( b% M2 \# h/ k: y3 M- `
  1052. " p' u8 z7 W$ P3 D7 `0 T  @
  1053. ; http://php.net/odbc.default-user* P% n2 K/ e0 B  L6 o" v- h) i6 t* @
  1054. ;odbc.default_user  =  Not yet implemented
    3 b" q$ r6 [9 a  N

  1055. 9 B% c. D0 K# ^- s
  1056. ; http://php.net/odbc.default-pw
    + }) D$ M4 D  F1 E9 d
  1057. ;odbc.default_pw    =  Not yet implemented7 e& a  T( `3 L% I

  1058. # X4 A( r: _7 x8 W$ Y
  1059. ; Controls the ODBC cursor model.
    # ]1 F8 R* F6 c7 z# h: M" b& j, B
  1060. ; Default: SQL_CURSOR_STATIC (default).
    9 O: |: F! }# x; c6 r! A) l3 K
  1061. ;odbc.default_cursortype
    6 a6 }% @; n0 z. y5 N& H' M

  1062. + T; n* y5 O( P, U& k3 u' x0 I
  1063. ; Allow or prevent persistent links.
    4 F: S% z) s& @6 C$ p9 E2 c
  1064. ; http://php.net/odbc.allow-persistent: C# j- |' ]; w7 b& d% \6 ^3 V
  1065. odbc.allow_persistent = On
      t4 P% S  }* R, p; P, y

  1066. # X! t" g8 ]0 x
  1067. ; Check that a connection is still valid before reuse.: r; b& v; c% Y9 ~4 b' r- ?
  1068. ; http://php.net/odbc.check-persistent
    - Z2 v4 N8 H, d  j) u/ F( @
  1069. odbc.check_persistent = On- X' ^- M' s& V. }& Y2 V

  1070. - g1 A/ g2 u, j  L, u
  1071. ; Maximum number of persistent links.  -1 means no limit.% Y& V& f5 B/ D4 D& [
  1072. ; http://php.net/odbc.max-persistent
    2 u! A  a. e  m* B, @, v4 X
  1073. odbc.max_persistent = -17 K% z' c2 q7 ~; e" T7 e
  1074. 7 [- m- l- ~8 L0 m* I6 U
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ) y( ^. M' D2 y' }" p) ?3 U
  1076. ; http://php.net/odbc.max-links8 n+ ?( n) W3 A' u
  1077. odbc.max_links = -1$ X7 S5 s9 ], M+ _' Z! E: f
  1078. 8 C1 o9 v. D2 n8 Q; h
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means% f0 p9 O: D$ c* P. r' ]
  1080. ; passthru.1 H8 [' f4 f/ M
  1081. ; http://php.net/odbc.defaultlrl. y# a& F; [3 i4 p
  1082. odbc.defaultlrl = 4096
    6 B1 f8 U. A% O6 K; R

  1083. $ {. m7 v0 H  v
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.9 f/ ~4 e( I8 F7 Z0 u$ y
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    2 W2 r2 g5 `3 e7 u8 Y
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode- y- m9 L9 ]9 h( r. i
  1087. ; http://php.net/odbc.defaultbinmode% @5 v: R7 q# C) w: ^1 }; b
  1088. odbc.defaultbinmode = 1
    3 _" J; D4 `; Y- \% s3 ^8 v) l4 ?

  1089. ( ]& u5 [& d: _/ R2 b, h& D+ J6 ~- U
  1090. ;birdstep.max_links = -1
    # c* d3 g4 X$ W! N$ J- Q

  1091. . O: N) C# l9 D* e, B: p* ~
  1092. [Interbase]4 v( O2 Q" h. ^' A6 Z
  1093. ; Allow or prevent persistent links.
    + ^$ o0 k3 f3 o
  1094. ibase.allow_persistent = 1
    ) r  _. d" d& Z7 [; p2 @
  1095. ' A, _$ f% G6 s! d. ?$ I3 j
  1096. ; Maximum number of persistent links.  -1 means no limit.
    9 i# A  N, p0 f/ `0 l& o
  1097. ibase.max_persistent = -1# ?1 }, R+ i: P0 `

  1098. ( |, k% i; W6 m; v
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % s0 o6 j3 ?( b$ z* E1 W
  1100. ibase.max_links = -18 i' R' W. T3 n0 ]. N1 E
  1101. + _7 B  z5 \& d# u0 c+ O( b5 L
  1102. ; Default database name for ibase_connect().
    5 t& D$ I9 @/ ^* G
  1103. ;ibase.default_db =
    8 A+ J0 {- E/ E! e9 l: W

  1104. ( I" A; z8 z4 J) b" E/ D
  1105. ; Default username for ibase_connect().3 E' t% Y" ?# n# n
  1106. ;ibase.default_user =  E5 J! \$ H& k8 n: {

  1107. . W' g" p" I- w- Z% L8 V) n
  1108. ; Default password for ibase_connect().
    2 j- _* e: h. s/ l1 G) E) F
  1109. ;ibase.default_password =
    " z& @7 H6 b2 q( Z7 m8 Y8 r+ ^

  1110. ( L7 J0 c3 _( d) j% c: W
  1111. ; Default charset for ibase_connect().! v2 y6 N$ v0 y2 m
  1112. ;ibase.default_charset =
    7 K) H2 n4 F5 ~6 b7 P2 u5 a) Z

  1113. 3 L0 z: h$ B. f* R! Y% @3 E0 G, m
  1114. ; Default timestamp format.
    : {" L! X2 Q+ T* [9 ^
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"/ z+ c% \1 o$ {* U7 n% o
  1116. 8 Y& G6 F& j6 T. u/ ]: H
  1117. ; Default date format.5 s& K. I( r9 e7 ~: H$ {+ }
  1118. ibase.dateformat = "%Y-%m-%d"
    5 ^: m: @0 x9 Q* V3 B; A) \' d% ~; X

  1119. 6 v! p0 N; D) U+ M& z
  1120. ; Default time format.
    # o# g3 E- p: Q9 W# _
  1121. ibase.timeformat = "%H:%M:%S"+ e+ U6 B& j, i7 m" u8 u
  1122. * }/ f- y, _- g0 x
  1123. [MySQLi]& i" f- @% M3 h# d

  1124. & y9 l/ d) m5 `- \) W! q
  1125. ; Maximum number of persistent links.  -1 means no limit.1 p$ }0 |. |& W- `. w2 E
  1126. ; http://php.net/mysqli.max-persistent
    9 u5 @7 \' k; ~. P/ M
  1127. mysqli.max_persistent = -1
    ! m& f- [3 e& G9 r0 W* T5 M

  1128. * |! O% ?! A# u: L5 ^- a& \
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements9 ]1 S& R6 W, n. c- O( ]& j
  1130. ; http://php.net/mysqli.allow_local_infile% o- ?, r9 e! E* g. ?4 g5 P3 U
  1131. ;mysqli.allow_local_infile = On
      ?0 ^/ [1 m. h& J8 g% X
  1132. 2 n, Y  n8 q: E9 m5 _& F
  1133. ; Allow or prevent persistent links.
    : h4 k- S6 B+ ~' r2 S
  1134. ; http://php.net/mysqli.allow-persistent9 x0 M/ r& Q% j. q% E
  1135. mysqli.allow_persistent = On4 e9 z8 y/ P, d  w* O+ T
  1136. ) |# @3 B& G8 o/ D9 e
  1137. ; Maximum number of links.  -1 means no limit.
    6 m7 d* E8 S; ]  D6 p5 p) ?
  1138. ; http://php.net/mysqli.max-links
    % j3 T( I# @1 Q& A6 B% J
  1139. mysqli.max_links = -14 s$ Q  d3 U8 k9 t3 H
  1140. ( {/ g4 _/ E- a: Y0 l  o, \
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & b, K$ C7 ]2 x2 o$ K
  1142. ; http://php.net/mysqli.cache_size
    , ?$ q- G0 G4 l. Q2 C
  1143. mysqli.cache_size = 2000: j$ @; `4 P& \& u! f

  1144. " n+ _1 N/ Z5 `/ W$ a# U
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    . D- _( z2 w5 m8 q% x! [
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the7 F. {4 |. H: R& n
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    5 f" j" F) O! w- P: v1 v7 {3 Q
  1148. ; at MYSQL_PORT.6 \7 e% p1 g$ Y" I# Q" F! J
  1149. ; http://php.net/mysqli.default-port
    1 s! E; L* x$ p; @  ~# \) [& n
  1150. mysqli.default_port = 3306
    $ \" C, [" h0 k1 Y3 _
  1151. * ^4 L  m) R- b+ p- g) g" x
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * ]' w3 c% x1 h1 G: v1 f6 E
  1153. ; MySQL defaults.; S* o; C  A- `. U: e% B. `" x
  1154. ; http://php.net/mysqli.default-socket
    & g$ ]$ |. N9 ?. n* ^, d2 k" b
  1155. mysqli.default_socket =! Z9 h0 k2 v. I' `8 b
  1156. 4 ^, q5 D0 J: l6 p; D2 R3 D
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    * H! l! y9 i) j
  1158. ; http://php.net/mysqli.default-host# v& O5 l0 C! g  P# ~; X
  1159. mysqli.default_host =5 `: `8 S7 D# t, D0 z
  1160. - R+ r) |- H' c; J5 E) @# G/ s
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    6 N, M. J& O) J8 k7 F6 ?
  1162. ; http://php.net/mysqli.default-user
    ! c6 c5 X( a! H7 z2 ~' \: O/ ^
  1163. mysqli.default_user =
    5 o( \# M1 j3 f
  1164. . u/ W! K7 R3 ~! }. N
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).- u* q( T+ g( H' n
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    - D+ t0 _2 x; p3 _3 o
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    % P2 l) u( \$ z
  1168. ; and reveal this password!  And of course, any users with read access to this7 y4 h4 z. g& h( ]! b1 B7 v( L" j
  1169. ; file will be able to reveal the password as well.
    ( r& `2 e2 g- F; t/ `8 J9 p
  1170. ; http://php.net/mysqli.default-pw0 ?) K9 m2 X9 `
  1171. mysqli.default_pw =
    2 ]$ n0 ]3 E# A4 j3 z
  1172. : ^* _5 `+ y* d* K
  1173. ; Allow or prevent reconnect# W) V7 X' m) A0 C
  1174. mysqli.reconnect = Off
    ' m4 [6 _& t" e
  1175. 7 |3 i4 {% I7 v) E
  1176. [mysqlnd]$ H2 V8 c0 l) f
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be) g( h2 A. K) I" T2 [
  1178. ; used to tune and monitor MySQL operations.% s# l% \5 L! I( F9 H3 D
  1179. ; http://php.net/mysqlnd.collect_statistics
    - |4 Y1 K6 v1 G% r( ~/ @
  1180. mysqlnd.collect_statistics = On! H, R; r8 a: Y' V
  1181.   F2 D1 a4 G  y/ A* N/ ~. C
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ; r# }, ?- ^4 r, o7 V& }
  1183. ; used to tune and monitor MySQL operations.0 n( a4 ~0 M6 |1 o
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    1 N# v( I4 B1 H' m0 z; l
  1185. mysqlnd.collect_memory_statistics = Off
    # I8 D6 A2 V0 K

  1186. $ ^8 f3 r9 X3 \! W7 ]; p2 Q7 Q. y
  1187. ; Records communication from all extensions using mysqlnd to the specified log, r* l# u- u; m, P, N! L' {4 H
  1188. ; file.
    # y) i- X/ @/ F3 A9 i! ~5 |
  1189. ; http://php.net/mysqlnd.debug8 z; O. e- p: W0 e  L: }% |* |7 t2 Q" z
  1190. ;mysqlnd.debug =( d0 P% `( q5 d1 k

  1191. 0 {2 d+ X5 b# ~+ F8 m- K( j
  1192. ; Defines which queries will be logged.1 o. a( W: e) R4 f: v, D
  1193. ; http://php.net/mysqlnd.log_mask+ A! S. N% A7 c# y" s3 j  J
  1194. ;mysqlnd.log_mask = 0  ^) ~" r8 P1 |2 L2 y
  1195. ) Z4 L# Y( Z% ?6 i( ]
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.9 p5 U* l- I0 \% \
  1197. ; http://php.net/mysqlnd.mempool_default_size
    ) O( |% x8 V+ x) Z" Z
  1198. ;mysqlnd.mempool_default_size = 16000
    & i/ Z$ ?4 ]/ i! B& Z+ g

  1199. % h  B5 w; f- a4 U9 a
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.# n% v  i7 o& L! Q) B6 B* X, K
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size. t8 ]( {: H3 |' {
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    6 O, O' x: z5 G; ~8 s6 _; b' O

  1203. + {; ~8 X# Q1 x# L4 l
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in; t- F$ G- N+ ?$ y" j3 g  e% k, g
  1205. ; bytes.4 i- X1 Y7 d* @: F0 P' t6 P
  1206. ; http://php.net/mysqlnd.net_read_buffer_size" |/ s7 _0 k" T5 z) G
  1207. ;mysqlnd.net_read_buffer_size = 32768
    2 o; f# x5 Z" b! d8 x9 t* S# z) w

  1208. : \" o: U/ Q1 y  x- d: ~
  1209. ; Timeout for network requests in seconds.
    / c) q; a; R6 H' J/ U) [+ z. R
  1210. ; http://php.net/mysqlnd.net_read_timeout! o0 |) n! j. [$ o
  1211. ;mysqlnd.net_read_timeout = 31536000
    0 M# b0 d; F" p! H  I
  1212. 6 @5 f% U; v# V) `& N1 f; p
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    : e- n" q0 J% Z2 ?. j+ f
  1214. ; key.
    - R# O( K8 n0 Z7 q
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    , o  N, k$ j6 T' F
  1216. ;mysqlnd.sha256_server_public_key =
    . D8 G) a6 l3 i) E" G# p; v8 W8 g

  1217. , u9 Z9 h7 H2 M1 _. G1 g9 N+ B8 C
  1218. [OCI8]
    / W' o/ q" o% w/ I( f# C2 z- e0 l" e

  1219. . P7 z( n9 k3 t3 Y. {0 }1 w7 G
  1220. ; Connection: Enables privileged connections using external
    ; Z0 \: a& X& ?. n' T
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA); w4 F; P+ R' U) M8 [, s
  1222. ; http://php.net/oci8.privileged-connect+ ~7 e3 m0 ]! }  s0 o5 Y
  1223. ;oci8.privileged_connect = Off6 S) ]" m" ^8 w5 i/ y& b  q6 x6 l

  1224. 8 Y5 m4 X  J  x* j" d4 h
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    + M) b/ J0 C+ o& w+ n" n9 H$ K
  1226. ; process. Using -1 means no limit.. j% [1 y! k- @# O
  1227. ; http://php.net/oci8.max-persistent
    $ Q7 v+ k; }6 O* ~( y5 I
  1228. ;oci8.max_persistent = -1
    ) G. [4 P& i% t( [
  1229. $ C- l' m4 R4 O2 _
  1230. ; Connection: The maximum number of seconds a process is allowed to& ?* ?. k- Z6 ]
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ' k+ f( u2 D5 Q  m
  1232. ; persistent connections will be maintained forever.+ K# [$ @! m% q: m0 j/ B
  1233. ; http://php.net/oci8.persistent-timeout
    % q! @+ ~0 N- I6 o) j
  1234. ;oci8.persistent_timeout = -1
    / Y9 @3 r  y5 C, y) s) Q
  1235. : z7 S$ }( {) U4 Q
  1236. ; Connection: The number of seconds that must pass before issuing a
    % ~) Z) l- _4 }0 |3 ~- n
  1237. ; ping during oci_pconnect() to check the connection validity. When
    4 D& S) K# }  L9 {4 O
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    5 u( A  V0 l) a) u$ }; k. y
  1239. ; pings completely.# R; v+ I8 a4 |. e: C; E4 E6 j
  1240. ; http://php.net/oci8.ping-interval
    5 E8 W. X$ L$ B5 V3 ]8 R
  1241. ;oci8.ping_interval = 60* G: q3 \: c+ J6 t4 m# v
  1242. 4 \  g1 S+ ~$ i- C8 F
  1243. ; Connection: Set this to a user chosen connection class to be used& B# q9 @, Q  q! L+ x. S
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    9 G3 R/ h+ M. ^1 U  ^6 J  o
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    3 C% f# V6 f, O" ?2 y
  1246. ; the same string for all web servers running the same application,
    9 @( J7 N  _8 B0 V
  1247. ; the database pool must be configured, and the connection string must& n# m  u8 V: l4 W5 n
  1248. ; specify to use a pooled server.
    ' d. C0 ^0 ]! i! J! {" M3 Y
  1249. ;oci8.connection_class =# z; z# l2 V' Y) B- l2 t) X

  1250. * z' O. R5 q# p- ]- T7 w
  1251. ; High Availability: Using On lets PHP receive Fast Application8 g/ `  R0 g5 a8 m  H9 S. x4 H& u9 W
  1252. ; Notification (FAN) events generated when a database node fails. The+ G3 J, F: V. X. c$ \% M" Q
  1253. ; database must also be configured to post FAN events.
    - j6 c; i- \* [7 {; s
  1254. ;oci8.events = Off- Y/ w/ @/ j. ?6 q* o2 q$ D9 X

  1255. / {0 r( |1 ~" R8 [' J% T
  1256. ; Tuning: This option enables statement caching, and specifies how9 C; B* X8 l- u
  1257. ; many statements to cache. Using 0 disables statement caching.! {) m+ P& A6 i' _# `! P
  1258. ; http://php.net/oci8.statement-cache-size
    6 j8 P" u1 h' V8 w! K: R
  1259. ;oci8.statement_cache_size = 20" l* M( `) e9 V' S, `

  1260. 7 K' N% u3 _2 i2 ~4 @" x$ h8 y9 P
  1261. ; Tuning: Enables statement prefetching and sets the default number of
      w0 H6 {3 \& c0 {
  1262. ; rows that will be fetched automatically after statement execution.
    . g' Z& g" `+ k7 v
  1263. ; http://php.net/oci8.default-prefetch' G) S7 _" {& a5 k
  1264. ;oci8.default_prefetch = 100
    . K% t" j/ c( z# B
  1265. ! y/ l% c! X* _& @
  1266. ; Compatibility. Using On means oci_close() will not close
    ; F. e1 h5 u* I2 ^+ ~  i
  1267. ; oci_connect() and oci_new_connect() connections.
    ( g; T* Y# @- k9 G" r
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ; H1 ~9 D/ Y0 w, K* E) n5 ^/ w
  1269. ;oci8.old_oci_close_semantics = Off
    9 h+ J2 |5 C2 i$ ^, V

  1270. 0 \% y- i- B6 s! f2 `' i
  1271. [PostgreSQL]
    6 W, h1 C  j, u
  1272. ; Allow or prevent persistent links.
    + m0 B5 }  g* `0 g& F
  1273. ; http://php.net/pgsql.allow-persistent, t! M# C8 X& [% E' B1 }: e8 z9 U
  1274. pgsql.allow_persistent = On
    / N2 f* Y$ x! ?6 A4 @! L
  1275. & ?2 ^% T9 Q; x3 f( e% V
  1276. ; Detect broken persistent links always with pg_pconnect().
      E/ W# a" W: a8 @0 w0 U& Q
  1277. ; Auto reset feature requires a little overheads.
    / t/ I' S3 |8 |/ Q7 c5 D$ g$ p
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ; M& q3 n. i/ E! B. h! Y$ j/ u
  1279. pgsql.auto_reset_persistent = Off
    ' Y5 z+ W+ Y. l' o! p* o, r+ E

  1280. . i, D$ o5 o  U+ \( L
  1281. ; Maximum number of persistent links.  -1 means no limit.6 _: v; Q! D! z' `3 i" K
  1282. ; http://php.net/pgsql.max-persistent- c: G7 Q) R: U& Q0 }
  1283. pgsql.max_persistent = -1
    1 I+ x. J, O7 M/ V: \
  1284.   }9 G" U2 A$ m( ]7 N
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.: J+ L9 J1 o  A6 [+ t) u5 t
  1286. ; http://php.net/pgsql.max-links2 a2 M* P  v4 W
  1287. pgsql.max_links = -1
    5 P% m5 S/ n! X9 X/ P
  1288. ! _1 G9 ?- ?+ Q4 L
  1289. ; Ignore PostgreSQL backends Notice message or not.
    6 F( g/ R& R( P4 _0 H6 _
  1290. ; Notice message logging require a little overheads.  \+ c9 C+ s' C# `+ g$ `
  1291. ; http://php.net/pgsql.ignore-notice
    ) r+ F5 Z0 K: q
  1292. pgsql.ignore_notice = 0
    ) B) F, `/ T; S/ Q5 F, T
  1293. 1 {5 r8 l. U' G8 _& ?- O
  1294. ; Log PostgreSQL backends Notice message or not.( m+ [  l2 y  U8 I- @0 E5 Y+ ]
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.$ c/ h- N. S" M7 k) n9 [
  1296. ; http://php.net/pgsql.log-notice) l" O: W& ~5 J% h! {# c
  1297. pgsql.log_notice = 0. A6 h5 x/ o1 ]) h) U1 {$ f
  1298. " q5 X; W; i  F
  1299. [bcmath]# M; w. J" @8 K6 H
  1300. ; Number of decimal digits for all bcmath functions.
    ' A" r7 E: F, c& v0 p9 N
  1301. ; http://php.net/bcmath.scale5 `9 d. `) V5 V& ]8 d3 n8 V
  1302. bcmath.scale = 0
    : @5 t8 e" [- j$ n" Z
  1303.   ]" ]. O, {; z1 r1 {
  1304. [browscap]
    $ K+ d( W5 V1 B0 Q8 x% P% _) C4 i
  1305. ; http://php.net/browscap0 c' b. H1 O* H! g+ U% ]
  1306. ;browscap = extra/browscap.ini+ H4 B* r5 F, m5 A

  1307.   v2 `" V$ V- f2 [( N  Z
  1308. [Session]
    , L( x) c6 W) }
  1309. ; Handler used to store/retrieve data.
    " I5 W5 ~! z  s. o
  1310. ; http://php.net/session.save-handler- n" D/ e) {1 [0 ~+ ]  E3 z
  1311. session.save_handler = files; c; t, f7 Q7 t8 D
  1312. 7 Z1 R, a8 b$ Y+ k9 ?( g
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    : m7 W# e/ |$ q& c5 m" P" X8 }
  1314. ; where data files are stored. Note: Windows users have to change this
    0 b1 Q6 x1 Q4 d# t- I
  1315. ; variable in order to use PHP's session functions.# P! A" n) B6 V3 X, A
  1316. ;9 ^3 q8 K7 A$ I* w6 k
  1317. ; The path can be defined as:7 g5 |0 P2 I6 ^, B
  1318. ;& ?( Q  \$ [. ?( F$ j; Y5 Y
  1319. ;     session.save_path = "N;/path"
    4 ?$ }+ n1 [5 q% y+ k
  1320. ;0 }+ \& |3 v1 A0 m5 z
  1321. ; where N is an integer.  Instead of storing all the session files in# a2 H8 [( l, t4 E' D% g
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    / M! [9 B' w" s, C; I: M
  1323. ; store the session data in those directories.  This is useful if
    ) y4 M, D" h# m
  1324. ; your OS has problems with many files in one directory, and is1 b7 g4 }& [- F/ i! o
  1325. ; a more efficient layout for servers that handle many sessions.
    0 \1 x" m( X! G# r: J0 r
  1326. ;1 g0 I% i& q! }6 X
  1327. ; NOTE 1: PHP will not create this directory structure automatically.7 P7 I9 c5 B6 P9 A
  1328. ;         You can use the script in the ext/session dir for that purpose.
    8 [7 u9 Q: A: \2 O9 b# g
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    " N# q9 c7 A" A  b
  1330. ;         use subdirectories for session storage8 H/ N6 l* [) V2 V- w6 _
  1331. ;. W1 M7 Q. E, M' k0 u3 ?' |) @5 _; B
  1332. ; The file storage module creates files using mode 600 by default.3 \  k7 G- S% @& A0 o
  1333. ; You can change that by using
    ' |; b2 b9 N; ^+ I9 p9 r! |
  1334. ;8 a" d6 v) K' J) X  n- |* V$ F
  1335. ;     session.save_path = "N;MODE;/path"
    ; y% I' ~) Q( e: j* Y
  1336. ;) O! L5 ~/ e6 v( Q# v! B
  1337. ; where MODE is the octal representation of the mode. Note that this. l  O- V; F: C" O
  1338. ; does not overwrite the process's umask.% ?. c5 b8 m" M9 F9 c4 U2 B
  1339. ; http://php.net/session.save-path3 Z/ E# U4 Y4 Z) h3 |1 o* W5 k
  1340. ;session.save_path = "/tmp"
    2 a& p1 p& F0 I5 I, o/ M+ @& J
  1341. ( J0 m. y6 [9 F# l
  1342. ; Whether to use strict session mode.
    8 E8 y4 D4 I$ a* o- o
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate9 }' z: S" N( k+ x
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects4 K# O! T, E6 X- B4 E1 F8 q
  1345. ; applications from session fixation via session adoption vulnerability. It is
    # I3 J1 ^  T9 n" d
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ' J8 [& V9 a( R3 |) S( C% ~
  1347. ; https://wiki.php.net/rfc/strict_sessions% C0 y8 j  j4 h/ n
  1348. session.use_strict_mode = 0
      x( y8 q' b; H6 J9 }. `) k$ J
  1349.   U* Z+ _$ u9 M$ f7 _( G& u
  1350. ; Whether to use cookies.
    + D: z$ `8 {1 \) Z
  1351. ; http://php.net/session.use-cookies1 m8 K! j: I/ N6 i9 }* K
  1352. session.use_cookies = 1+ c8 ]; @3 `1 k5 c% ~* v2 l% i3 H4 [6 n
  1353. : z) e6 Z: z3 n; S
  1354. ; http://php.net/session.cookie-secure9 X, H9 Q: e5 Y/ ~' X! z; W
  1355. ;session.cookie_secure =0 z8 L& a' \0 X3 s

  1356. ! D" s; T5 N, n5 O) v6 _
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    2 Q3 n" T" t7 P- B* z* O% z0 F9 O4 V
  1358. ; the session id. We encourage this operation as it's very helpful in combating% b; y" F6 g) O; ]& B
  1359. ; session hijacking when not specifying and managing your own session id. It is
    # z: o: N8 ?: r/ T, I1 i
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    2 l: d. }8 ?8 }2 h) n# ]* x! }4 s; Z
  1361. ; http://php.net/session.use-only-cookies" U* }  `/ G3 |, A9 @
  1362. session.use_only_cookies = 15 E( M3 W! O* G# x% z) \

  1363. . x& m5 u8 a, m- E' N4 \2 l
  1364. ; Name of the session (used as cookie name).
    ( @6 C$ w+ }: c1 U+ M# n: r
  1365. ; http://php.net/session.name; Z1 ?; F% T4 W
  1366. session.name = PHPSESSID% D7 H& u# P+ x1 H4 M

  1367. + N' M" k: I0 o; E9 M0 x3 Q& Q: M2 ^
  1368. ; Initialize session on request startup.
    7 A2 M0 M- Q, E+ U# r/ y
  1369. ; http://php.net/session.auto-start
    # ~& A0 f$ P3 d, M3 N/ z
  1370. session.auto_start = 0' Y. w2 C- ~( [" G; K

  1371. ' E+ s' W$ i- ^# s
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.' k9 O2 w  z" @; T
  1373. ; http://php.net/session.cookie-lifetime
    + Q+ I' p( K9 m/ w3 Z/ \
  1374. session.cookie_lifetime = 0# O9 G4 C" m' n, y- L- {0 R3 q8 K
  1375. 4 n- D3 u) A, I$ p5 Q. d
  1376. ; The path for which the cookie is valid.
    1 w# z8 x# B: I+ M8 b2 `
  1377. ; http://php.net/session.cookie-path' j# H6 L3 m# U, ?4 K
  1378. session.cookie_path = /- ]/ [+ d* o* {3 q' w: \
  1379. 2 e* s; i5 Y; K9 w8 o
  1380. ; The domain for which the cookie is valid.* W. ?; j: Y4 x, X' G/ J. l
  1381. ; http://php.net/session.cookie-domain
    ; S. p$ b7 A9 q% k" T+ V
  1382. session.cookie_domain =; h6 H7 q' C4 R2 i. H
  1383. 2 ?1 U! x, x! s3 M: Z" h$ q4 j& R
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.. @# s- ~% H. A3 D  |4 s
  1385. ; http://php.net/session.cookie-httponly
    ; [2 J7 o4 O2 F
  1386. session.cookie_httponly =
    1 U; W# @/ h6 P; b: d
  1387. . B) ^2 m# Q7 Q8 e, n7 ]+ n
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    # H5 k. U$ `+ E" H/ R/ k% I
  1389. ; http://php.net/session.serialize-handler
    . w6 p- F) \' c# G2 t; z
  1390. session.serialize_handler = php% w! @3 ?; n( G$ q& N  p/ }
  1391. 7 p8 ?2 S0 P: h8 K7 g
  1392. ; Defines the probability that the 'garbage collection' process is started. F' d& @  ?8 h4 d" }+ J1 O
  1393. ; on every session initialization. The probability is calculated by using/ |" I. x  A( @( m% \( n7 Q: Y
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator( M+ ?/ t/ c! p9 B) d/ ^+ s: q
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1- s$ Q; ~% i6 b3 o) a
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 g3 y4 R/ v, `! P  R  L: F
  1397. ; the gc will run on any give request.
    # G: a! g5 T: K4 Z. Q
  1398. ; Default Value: 1
    ) G8 e/ ^" t+ j; O, |. w/ g
  1399. ; Development Value: 1
    : P$ L# q+ N2 \; i9 X/ l
  1400. ; Production Value: 1( w# F. B! Y! e
  1401. ; http://php.net/session.gc-probability
    4 y$ ?5 t, h0 e% K
  1402. session.gc_probability = 1
    1 D& ~( {* A. }' y; y8 q5 d
  1403. $ T' P# U+ |# Q1 I7 m
  1404. ; Defines the probability that the 'garbage collection' process is started on every* }: D+ ?1 s- K  z
  1405. ; session initialization. The probability is calculated by using the following equation:/ N3 f( L% j# l7 s
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    8 a9 o: @5 I1 e- J# q
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ; A- x7 ?# Q) E2 t; h0 B
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance$ Z/ R. N4 K7 i; {3 y; F
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    + z" s; f8 o( l' I6 D
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,. M" l5 z2 v6 p! D2 A0 }6 r. Y
  1411. ; this is a more efficient approach.
    4 N; F7 Q; M% N, m  X9 u  F
  1412. ; Default Value: 100
    ) J6 u' ~, }, O9 Y) x
  1413. ; Development Value: 1000
    ! P( J- {" P* Y  [  r
  1414. ; Production Value: 1000/ ^1 L6 l/ i3 S
  1415. ; http://php.net/session.gc-divisor: c! O: m+ y* J7 f- Q
  1416. session.gc_divisor = 1000/ {& d7 J% e) W! z0 h% V$ I1 d

  1417. " K4 `2 k6 J, ~. T3 ^9 }9 q
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    $ d: I: ^4 ~# v5 C1 x& X
  1419. ; cleaned up by the garbage collection process.# i9 r  h  b8 X' h$ @% ^8 j
  1420. ; http://php.net/session.gc-maxlifetime$ P% `9 @5 H# R" _0 t; ?
  1421. session.gc_maxlifetime = 1440
    % [8 V0 P) s! h6 e* e* @

  1422. * q" t5 r0 f* U  H  i
  1423. ; NOTE: If you are using the subdirectory option for storing session files, m  j" V$ A' R) S3 f0 @
  1424. ;       (see session.save_path above), then garbage collection does *not*8 x$ d+ T6 g+ w7 [
  1425. ;       happen automatically.  You will need to do your own garbage9 ~* H  a, w7 n
  1426. ;       collection through a shell script, cron entry, or some other method.
    $ C$ L! d2 {) p4 t9 v
  1427. ;       For example, the following script would is the equivalent of
    ) g$ k6 R! U/ }/ u0 G8 o1 u
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):$ l% X' P7 k  O
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    " C5 @% _' e" G( j) ]3 c: m

  1430. ; U6 U' Y( W5 L" h$ e, Z0 j, y& u. s
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.) ~# h7 f, o" J6 v/ Y" n& O
  1432. ; HTTP_REFERER has to contain this substring for the session to be; e0 T: }8 C1 v) l+ E0 d: B
  1433. ; considered as valid.8 [. f3 w4 F  ?# p0 v& m5 s
  1434. ; http://php.net/session.referer-check
    & q; o' ?2 p' j/ i
  1435. session.referer_check =
    3 G6 {) r7 s0 Y, F4 L

  1436. 1 K9 o0 M& A5 V! h( H' j
  1437. ; How many bytes to read from the file.
    ( r! `* h# ^. X7 a" W: Q% D$ \
  1438. ; http://php.net/session.entropy-length
    9 }# [3 d. ~# X4 h8 y9 Y5 ^9 P
  1439. ;session.entropy_length = 32
    + n0 f6 G# s+ g. o$ {/ t7 _

  1440.   r  y" s, t: p( S
  1441. ; Specified here to create the session id.. `/ b- A' Z0 F( i% m/ T* t
  1442. ; http://php.net/session.entropy-file, O5 z! y- B8 P% ~+ G
  1443. ; Defaults to /dev/urandom
    " W3 N, Y8 b; O
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    $ O( I& d  g) t1 B/ M3 S* W' p  e
  1445. ; If neither are found at compile time, the default is no entropy file.8 p/ d1 S" d4 @% Y& u
  1446. ; On windows, setting the entropy_length setting will activate the
    8 g% x2 d- Z4 ~( `: D
  1447. ; Windows random source (using the CryptoAPI)6 ~4 m- {, \0 U0 a( |' P% \3 W
  1448. ;session.entropy_file = /dev/urandom
    " a* I' I* R# j( g
  1449. 3 }8 p# K" Q: E! d+ m6 j* @# ~
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
      c# Y& ?1 h& u8 z" z3 i
  1451. ; or leave this empty to avoid sending anti-caching headers.0 u- y, B+ w$ E( w; M
  1452. ; http://php.net/session.cache-limiter
    : Z% C  ^7 _+ Z  f" ~0 h
  1453. session.cache_limiter = nocache3 \* S# D2 H# g% d8 e

  1454. * t( H" Y) t3 [0 B3 B
  1455. ; Document expires after n minutes.
    0 N  n! s, A, C( k
  1456. ; http://php.net/session.cache-expire
    : ~8 o; k) @1 l$ v; D
  1457. session.cache_expire = 180- J$ S' ^, \# |3 S6 `7 o

  1458. & r9 a4 P1 O* W  S$ _4 N5 A( J
  1459. ; trans sid support is disabled by default.1 y/ r* x7 ]& \3 N, q( ]
  1460. ; Use of trans sid may risk your users' security.  A# `  q( `* o' z( B5 j9 f1 b
  1461. ; Use this option with caution.1 Y7 @* E+ @) I6 E0 N6 ]- M" m
  1462. ; - User may send URL contains active session ID
    3 ]5 g* r! t/ |- ]: n" e
  1463. ;   to other person via. email/irc/etc.& B/ L$ x/ `$ l5 j# b& D: |9 l: R( b2 W
  1464. ; - URL that contains active session ID may be stored8 k1 u0 ]# [3 m
  1465. ;   in publicly accessible computer.# ^$ J7 O5 I+ x( u- r$ Y
  1466. ; - User may access your site with the same session ID
    5 x1 u5 C# b4 u
  1467. ;   always using URL stored in browser's history or bookmarks.6 I: E3 P! A# u/ u" c& y
  1468. ; http://php.net/session.use-trans-sid
    5 O) V7 c" l6 J: S
  1469. session.use_trans_sid = 0
    - b. D4 [% D) s$ ?2 i' ?

  1470. 4 ^7 d: o. `1 R. q  |
  1471. ; Select a hash function for use in generating session ids.% N" n% n! S; U- O
  1472. ; Possible Values  S" [( `  C8 T7 B- y: A, w
  1473. ;   0  (MD5 128 bits)# B) r# h& M/ [! y, L
  1474. ;   1  (SHA-1 160 bits); G; _# T- m: ~
  1475. ; This option may also be set to the name of any hash function supported by
    ' _; _- c2 E9 {. P& ~/ @
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    3 a8 K5 v( l+ D4 @6 }- S2 r5 f# R/ @9 I
  1477. ; function.
    0 j9 Z- b1 e* i( A5 U4 D
  1478. ; http://php.net/session.hash-function
    ( k4 P4 i1 B+ K
  1479. session.hash_function = 0- b6 u! ^; B, ?* s) |% u5 I! B; g
  1480.   o+ ~3 B+ f9 {3 s, B8 ~" @% _
  1481. ; Define how many bits are stored in each character when converting6 D/ M' I5 P1 {4 \; q
  1482. ; the binary hash data to something readable.
    : o6 I8 H; g$ S) ?6 W$ r: G
  1483. ; Possible values:: u) f7 N; J& W; R
  1484. ;   4  (4 bits: 0-9, a-f)
    5 q' t% [2 {' I: f$ l
  1485. ;   5  (5 bits: 0-9, a-v): H7 a! S3 u0 K/ p  [
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","), ~; x( M5 v# d- s, _) v0 e
  1487. ; Default Value: 4
    . V) G% H. I& B, l
  1488. ; Development Value: 54 Y: V" F/ t2 N" `/ j# Q
  1489. ; Production Value: 5; \! p# v1 r0 G
  1490. ; http://php.net/session.hash-bits-per-character
    + w6 q) H9 ~  i. k* a
  1491. session.hash_bits_per_character = 5
    ; ]% j% k/ M0 R  Y

  1492. # B- F5 X+ l0 y: c( q/ k
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    * `( h) v3 q& z" f& }) O
  1494. ; form/fieldset are special; if you include them here, the rewriter will6 i/ |" _$ L1 e4 [  L
  1495. ; add a hidden <input> field with the info which is otherwise appended
    & m, [. j+ d) t- U, t; h6 Y) d
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    3 k7 Q# w2 H' n# ^7 N4 R
  1497. ; Note that all valid entries require a "=", even if no value follows.3 L* J) s4 I" N% l. Q6 [2 r3 `
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    - _& {2 n4 d8 g; A7 R
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : G3 ~9 ?$ F' a" J0 R/ ]- f
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ y% I7 P: e) ~) `7 l
  1501. ; http://php.net/url-rewriter.tags4 W, g, M- Y. f# i4 M
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"0 w  m; W0 x$ k( _; c
  1503. 9 @2 A( x# e5 U& V2 ~0 m
  1504. ; Enable upload progress tracking in $_SESSION$ T5 g! e" V0 H; ~, S" `; W
  1505. ; Default Value: On( R& {5 z) W3 w" I( c+ ^
  1506. ; Development Value: On
    ) `, Y7 F2 k0 V: y; Y
  1507. ; Production Value: On
    + I3 ~" M* {5 M' K2 D. B
  1508. ; http://php.net/session.upload-progress.enabled6 a2 H( {, U! O3 N. q+ p1 J
  1509. ;session.upload_progress.enabled = On
    $ L( ?- m8 }) J5 ~! \

  1510. ! Z) `& K! e, B, ~+ J7 [
  1511. ; Cleanup the progress information as soon as all POST data has been read
    4 D9 a- h( @& C/ g
  1512. ; (i.e. upload completed).
    & F5 b7 g9 Y( E1 _: [/ ~8 V* k! F2 v
  1513. ; Default Value: On$ X7 {+ r# L$ j  X  N( t
  1514. ; Development Value: On- C0 b1 Y9 E6 ~& _% y; |6 U9 {/ c5 J
  1515. ; Production Value: On' x9 E9 l: h7 t; F1 ~% l- l
  1516. ; http://php.net/session.upload-progress.cleanup
      H% i2 ]$ B5 Y; H# {! o
  1517. ;session.upload_progress.cleanup = On
    8 Y# [/ ]) A$ f2 l2 F
  1518. ! ]) Q' ^& y0 ?  y+ K, z
  1519. ; A prefix used for the upload progress key in $_SESSION9 q5 m3 G' ]+ W3 w! u
  1520. ; Default Value: "upload_progress_"
    7 L. g( M( W/ f" L$ q) w
  1521. ; Development Value: "upload_progress_"
    - T5 {+ e* k8 f; r9 S" O
  1522. ; Production Value: "upload_progress_"
    . {' S6 ~) i8 F4 V6 |# Z2 c3 k: x% g
  1523. ; http://php.net/session.upload-progress.prefix
    - i& u2 }2 ?& e
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ' y; `# R9 b" m. k
  1525. , t# w. j8 h* `3 L: c9 b% {  ~+ K
  1526. ; The index name (concatenated with the prefix) in $_SESSION8 q9 A1 L+ y# w% I8 @+ k$ B
  1527. ; containing the upload progress information
    % J/ ?& P% }! r; p9 J
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & d9 r0 c! X: T: g+ l% M5 E* I7 a
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"' Y2 |. Q, Z3 K) v4 r
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! W0 g, P7 V* _5 [& K% g% @
  1531. ; http://php.net/session.upload-progress.name
    & g2 n8 n+ X9 X6 S* K% {/ H. J, N
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"2 J  W9 D, u* }4 N, U1 w
  1533. " E9 R5 F9 q4 T. s) O6 b( F  W* H
  1534. ; How frequently the upload progress should be updated.
    . z5 j3 o3 V1 p- ?  ^- l
  1535. ; Given either in percentages (per-file), or in bytes( `. a3 Y2 Z8 t3 z
  1536. ; Default Value: "1%"
    & s/ |9 O6 D4 W3 M4 n+ n8 t) ?
  1537. ; Development Value: "1%"8 b3 E( ~5 _- y: ?2 H" J: Z
  1538. ; Production Value: "1%"' @' P: u9 F) m# h, t% o
  1539. ; http://php.net/session.upload-progress.freq
    + G$ ?* j7 ~) M- M" Y) ~
  1540. ;session.upload_progress.freq =  "1%"" q) L& J" I' \

  1541. : e( o# d/ m) h9 j/ Z9 W4 k. u2 ~
  1542. ; The minimum delay between updates, in seconds: {( G. |1 }" h+ C4 C: }: r1 I
  1543. ; Default Value: 15 D1 q4 L0 K/ F
  1544. ; Development Value: 1
    8 b! ?5 ?# A: W
  1545. ; Production Value: 19 G: x6 h2 x* W- S
  1546. ; http://php.net/session.upload-progress.min-freq
    ! ?, }9 _: p! S: s3 t
  1547. ;session.upload_progress.min_freq = "1"
    ! u5 n5 x! ~6 C! O7 x
  1548. $ J" r1 C% f& w5 h  t3 V. r% f
  1549. ; Only write session data when session data is changed. Enabled by default.) q3 H( J2 b  p! t5 U
  1550. ; http://php.net/session.lazy-write
    5 S3 u5 P& }# L$ y
  1551. ;session.lazy_write = On
    % W7 l+ Q1 d% M, t4 h) l- m

  1552. : f, \, h; _4 `" `1 q" S
  1553. [Assertion]1 B, B2 `, D3 W! G
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    , I  \' l$ A1 `  `
  1555. ; -1: Do not compile at all
    . I4 b( J9 }& @$ B2 h
  1556. ;  0: Jump over assertion at run-time
    ! o* c& j6 b, p- ~! Y% q2 Q
  1557. ;  1: Execute assertions
    ( ]$ l9 ]* t5 ^3 s$ `: |7 ^5 D
  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)' |' ?- L- t* y3 k; i3 ?9 h0 {2 O
  1559. ; Default Value: 1
    9 B( J1 S6 C5 F
  1560. ; Development Value: 17 K+ q+ s) V* O' ?
  1561. ; Production Value: -1! P' x3 f  }2 q* f6 ^2 j
  1562. ; http://php.net/zend.assertions; i; w7 q" K5 N6 N! l$ O3 o
  1563. zend.assertions = -1
    0 s( E6 w  Z9 @, N( f2 e
  1564. % h/ f# g* u4 M6 f# t
  1565. ; Assert(expr); active by default.
    ; s8 V% }, W0 x. l
  1566. ; http://php.net/assert.active
    3 V! [6 m. t1 ]
  1567. ;assert.active = On& b! u+ P- t+ m5 Q
  1568. % F0 U( F5 h4 V2 q
  1569. ; Throw an AssertationException on failed assertions
    , ?7 d' V' c& O2 Q5 r
  1570. ; http://php.net/assert.exception
    ! }# }: s5 s" e4 H
  1571. ;assert.exception = On% w; U6 E) l' V3 L. F# ^8 g

  1572. ! [6 Q7 b7 s6 P& ]$ P2 g
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    3 t% m& M  X6 `7 a: ~! D2 q! m
  1574. ; http://php.net/assert.warning. A9 t: }4 Z  Z' F. u) E; K
  1575. ;assert.warning = On! v5 |1 \8 b% O

  1576. $ [2 {/ t, w) E1 I; }
  1577. ; Don't bail out by default.
    * Y/ o8 Z/ }$ I8 O9 D
  1578. ; http://php.net/assert.bail- H* {$ @: U. s, q
  1579. ;assert.bail = Off  r5 m1 M- }' ]) ?9 ~
  1580. 5 s) K! r' v+ W5 J  s6 G
  1581. ; User-function to be called if an assertion fails.
    " x4 B" B) Q) f5 o
  1582. ; http://php.net/assert.callback
    ' ~! K# E6 _! O
  1583. ;assert.callback = 0
    $ \: B+ I: \) q( h/ n. b  [/ u3 I  ]
  1584. ! |1 Z! b+ j# l
  1585. ; Eval the expression with current error_reporting().  Set to true if you want& \& j% n$ S, Q! C4 b
  1586. ; error_reporting(0) around the eval().6 W) ]: r. j* {! o8 |; J) r1 ^
  1587. ; http://php.net/assert.quiet-eval
    2 L! b. T2 s) r* p
  1588. ;assert.quiet_eval = 0& y7 {. q( g# i7 w, u

  1589. / R8 a5 C0 L6 r% P  B9 y
  1590. [COM]( L2 N6 `/ _) d6 F- t5 ]
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ) j8 U  C9 u6 `. q9 A
  1592. ; http://php.net/com.typelib-file, V6 N0 W# {7 h9 B4 ?& d% B! a$ i
  1593. ;com.typelib_file =4 A; m) e( p' o( F/ E  W

  1594. 4 u) I3 t; s; Q5 n
  1595. ; allow Distributed-COM calls6 {+ C0 X) z5 v) D# l1 t( }* d# K
  1596. ; http://php.net/com.allow-dcom6 |# v/ _2 f# V9 o& H/ b: K
  1597. ;com.allow_dcom = true( W3 @( n# i% J# l- Y
  1598. 8 u, a9 ~& }  I0 _9 B& d
  1599. ; autoregister constants of a components typlib on com_load()
    ' D2 S1 d. T- t2 d
  1600. ; http://php.net/com.autoregister-typelib
    $ k* n6 x/ e" w7 X% [* R
  1601. ;com.autoregister_typelib = true3 x+ M0 p- u0 `/ v9 S1 e

  1602. - m/ }( A6 a9 z0 K; p, ~, G( h
  1603. ; register constants casesensitive9 u: E2 @! q* G5 J$ |
  1604. ; http://php.net/com.autoregister-casesensitive
    + e0 d0 o, s4 ~- ?; V
  1605. ;com.autoregister_casesensitive = false6 v/ W; [0 K0 {$ v

  1606. ' E" F5 ^& I# l# n
  1607. ; show warnings on duplicate constant registrations
    9 O& a) L. [  v9 Q
  1608. ; http://php.net/com.autoregister-verbose
    ; I2 b: H( v+ a* e5 r: y% o
  1609. ;com.autoregister_verbose = true
    8 i- s9 Y9 m" P

  1610. ! ]7 l( _' j% [2 r) |, T3 c5 J
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    4 N, ]. S& z3 J2 t
  1612. ; Default: system ANSI code page# y4 F4 `7 ^3 X3 y& C5 ~+ J
  1613. ;com.code_page=
    8 |* Q: h$ {- J% v7 j$ z0 M
  1614. 9 ], V' Q3 C4 q4 k2 R0 u
  1615. [mbstring]
    % Y3 f6 `& q# @1 \
  1616. ; language for internal character representation.5 r% W# v" x: g) ^
  1617. ; This affects mb_send_mail() and mbstring.detect_order.3 l0 N. f# I; j. W
  1618. ; http://php.net/mbstring.language, Y7 L# `  {. a# o. J- V% m
  1619. ;mbstring.language = Japanese
    6 s" b( a0 z0 o  v6 X0 x0 L
  1620. 6 ~, X' Z6 n/ l" M& V3 [5 C
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.0 y' P9 Z, D/ A: ]' f4 T
  1622. ; internal/script encoding.) d$ w5 w9 C& k6 S! G" Z
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    7 A# W- Z0 [+ W0 Y& k
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    2 x( y8 ]8 z  V4 ]8 ?
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding/ E8 P) M5 l" A. Q! e
  1626. ;mbstring.internal_encoding =
    ! e2 x- J4 I- U- p" ^

  1627. & y- L0 t" o$ \# c9 Z- v; |+ i# u; {
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    / B4 K" N* H( t$ A
  1629. ; http input encoding.
    4 z7 R; d# ]! a3 r, b
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
      o3 K, Z# K' n. J4 i8 N
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.4 \* G: Z& D5 U4 c) |
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    9 W8 v/ m# |. w/ ?7 [: x+ P
  1633. ; http://php.net/mbstring.http-input& E) @, j" X; Z2 D4 \8 z
  1634. ;mbstring.http_input =  Y- U8 `: }% f) w; n* y7 _/ S
  1635. 3 F, @7 [7 E( s- U+ V6 x- b& Z/ g. |
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.4 R# @& J5 O; ]/ Z* P
  1637. ; http output encoding.8 |# W7 T) Z5 c
  1638. ; mb_output_handler must be registered as output buffer to function.% B9 d5 _; ]- M
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ) P7 P! p( j3 ~4 D
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    : y6 d2 e' @) G* o! ?. @3 ?" ^# @
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    % U7 B) W1 v9 V
  1642. ; otherwise output encoding conversion cannot be performed.
    & b) Y+ Z) I" c* L1 q2 u- R9 N1 z5 C
  1643. ; http://php.net/mbstring.http-output
    4 X* T# Y7 c9 r% c: }6 j* [
  1644. ;mbstring.http_output =
    * }. C# I" O4 F' Y1 X$ q9 |

  1645. , t9 h- g, m) @
  1646. ; enable automatic encoding translation according to4 [0 S1 A( ~- M8 A; E% ]) _
  1647. ; mbstring.internal_encoding setting. Input chars are
    8 X0 {- a& A) ?7 U
  1648. ; converted to internal encoding by setting this to On.
    9 F! n( Z# c; q9 Z8 q" i( j' b
  1649. ; Note: Do _not_ use automatic encoding translation for
    # q) O( _7 t; ^3 f: d
  1650. ;       portable libs/applications.
    + I; B& E7 L. m5 K( Y
  1651. ; http://php.net/mbstring.encoding-translation
    7 v) P& }! |. S- t8 `
  1652. ;mbstring.encoding_translation = Off
      [1 Y" k9 s* T, o2 h. R
  1653. & S, l  H0 _5 k; S  f4 e+ K
  1654. ; automatic encoding detection order.
    & L' l* G" _8 e0 L  P4 @
  1655. ; "auto" detect order is changed according to mbstring.language3 L  ~  f" D) M! W+ ]
  1656. ; http://php.net/mbstring.detect-order
    % e% k) H0 C9 P9 m
  1657. ;mbstring.detect_order = auto8 Y2 l7 r- x# g  U! b

  1658. % y1 j4 i% k, C
  1659. ; substitute_character used when character cannot be converted4 E/ ~8 ^8 K3 q! I
  1660. ; one from another0 a$ G5 T8 w2 d
  1661. ; http://php.net/mbstring.substitute-character! E" ]2 Q. E8 u5 Y5 z3 V( x
  1662. ;mbstring.substitute_character = none
    & b- k+ H+ u4 o7 l" Y+ t, p; t

  1663. % x$ X& f6 C, `% z2 n* e
  1664. ; overload(replace) single byte functions by mbstring functions.
    + z$ Q  F7 E- k# ~
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),- I1 Q6 V9 u0 t3 r8 O4 `
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    1 b4 g, G2 ^  ~+ h5 T( n4 {4 f
  1667. ; For example, 7 for overload everything.
    0 b8 d. s& i0 O5 {
  1668. ; 0: No overload
    ) k* `* G" |+ [; f2 `" {% O+ C
  1669. ; 1: Overload mail() function" z& D1 p% n9 ?0 Q
  1670. ; 2: Overload str*() functions) x! ]6 G4 |: A+ }; O9 Z
  1671. ; 4: Overload ereg*() functions
    ! o( T8 A0 E9 I2 L% s, z8 ?
  1672. ; http://php.net/mbstring.func-overload
    - l) @7 |. L1 F8 O- A- R+ P
  1673. ;mbstring.func_overload = 0
    7 g3 y& e) O$ ~; B

  1674. % W8 R+ e3 ^, e2 t, \- a4 Z9 u
  1675. ; enable strict encoding detection.4 c3 l6 I; \3 m& S; K* Q
  1676. ; Default: Off
    0 q/ i0 a/ N- v5 I% Q( `
  1677. ;mbstring.strict_detection = On% [; G& l1 U5 Q) a0 L( ~

  1678. & l' c$ {$ \4 K9 @$ o# u7 A) v
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    3 q4 Y& ~  p" R4 V! P2 r
  1680. ; is activated.
    , t! |6 ]: d( e
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    : \9 T. g8 E+ w: V( u
  1682. ;mbstring.http_output_conv_mimetype=: ]0 G. V; ?+ N- m. S- c
  1683. # x# x6 l( P, p
  1684. [gd]! q! ?  p$ \3 V
  1685. ; Tell the jpeg decode to ignore warnings and try to create7 s7 g1 N6 L0 O& e: _( c' k* ?
  1686. ; a gd image. The warning will then be displayed as notices' b6 J* i$ l2 \' W! a/ ]) G
  1687. ; disabled by default  j8 c! M- d: B* F& i; W7 N
  1688. ; http://php.net/gd.jpeg-ignore-warning0 Y  [8 Y9 A! _& T& Z) e. G/ c/ ~
  1689. ;gd.jpeg_ignore_warning = 0
    2 W  |3 z7 K7 e- G

  1690. * T5 Z7 R1 N* U, n5 Z7 I
  1691. [exif]/ T. r+ Q& z5 O$ B; {
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    7 @% n8 A  U1 Q3 c3 x
  1693. ; With mbstring support this will automatically be converted into the encoding
    : i$ v. c) k8 _. Q, i
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ! V; F: P/ U: g1 Y
  1695. ; is used. For the decode settings you can distinguish between motorola and$ I6 }. t' ]4 x9 Y" V2 k3 M
  1696. ; intel byte order. A decode setting cannot be empty.2 ^5 a7 y2 ?, E! r( k5 d6 h3 G  [
  1697. ; http://php.net/exif.encode-unicode6 u& x" X) u3 x' L1 ?5 E
  1698. ;exif.encode_unicode = ISO-8859-15
    , {$ s# R6 |6 k0 V- ^

  1699. 6 _& N, K7 v" C0 c* g  f
  1700. ; http://php.net/exif.decode-unicode-motorola( }. }/ l! x9 S* E* @' L$ h; w
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    4 {' l* p( n" Q1 r* s; J

  1702. 9 o$ D, T3 x3 U3 \
  1703. ; http://php.net/exif.decode-unicode-intel
    , R5 d# T7 K% c' M
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ! {( V' R8 B" R2 t0 _
  1705. ' T# o$ A0 p! ]1 T; G2 Z6 L4 k. s
  1706. ; http://php.net/exif.encode-jis( G* C( O6 U9 j7 ]7 n( [3 ?
  1707. ;exif.encode_jis =5 u! \& m& p$ T  @1 y; X; x
  1708. $ L# ^2 x( b; i& m$ }  E
  1709. ; http://php.net/exif.decode-jis-motorola
    - a0 Y* Y  R" T* C! k3 g
  1710. ;exif.decode_jis_motorola = JIS& X& w1 [# W7 H8 [- \) \
  1711. ' N" D; d- n( a& ^1 H, f6 x! K
  1712. ; http://php.net/exif.decode-jis-intel
    . u. s  _4 I* z9 K7 B; a
  1713. ;exif.decode_jis_intel    = JIS4 d6 Z8 u* Z8 g& n; r! J

  1714. 8 U3 d) ]5 V5 B% Z4 i  X
  1715. [Tidy]
    $ c3 v3 X4 [9 Y# X2 b
  1716. ; The path to a default tidy configuration file to use when using tidy
    7 d; k5 Y$ z, I4 \
  1717. ; http://php.net/tidy.default-config3 o- d4 ^$ i2 s& O0 l/ e" k
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg2 I/ ]7 T( h8 H& ?

  1719. 0 d* x: p+ K; Q! B. E
  1720. ; Should tidy clean and repair output automatically?1 W' M; I* {  p+ S  i; _0 Q6 s+ q, t
  1721. ; WARNING: Do not use this option if you are generating non-html content
    $ S% M5 P; c6 o( H
  1722. ; such as dynamic images
    ; [& V* n, I- B' l+ _
  1723. ; http://php.net/tidy.clean-output6 B8 a6 {4 q' a6 P
  1724. tidy.clean_output = Off
    5 L/ X, @/ B" W' w: I5 J2 ]

  1725. 7 j! k8 Q, N( o4 P6 R, b
  1726. [soap]& a: V! B! b- S) t% K
  1727. ; Enables or disables WSDL caching feature./ E9 E2 T* F9 b( E5 W( l$ B
  1728. ; http://php.net/soap.wsdl-cache-enabled" b, E2 x, K- d& C1 [
  1729. soap.wsdl_cache_enabled=1
    ; B, \( a% _; E

  1730. % o+ Y8 S! E$ E7 z8 R
  1731. ; Sets the directory name where SOAP extension will put cache files.) y5 [( ]+ _7 o+ T: f! ]
  1732. ; http://php.net/soap.wsdl-cache-dir. ?& ]! J) m  w+ p2 F
  1733. soap.wsdl_cache_dir="/tmp"
    6 B- C7 z# ~6 e% Z. i

  1734. 6 M) i" W9 j4 g) Z  A3 J* k( H
  1735. ; (time to live) Sets the number of second while cached file will be used' Y: @: N4 |0 {4 a9 e& {6 v
  1736. ; instead of original one.
    % @& P0 p; Y" O7 Y% b
  1737. ; http://php.net/soap.wsdl-cache-ttl1 m3 q. j, Z/ J' w. L: J  y
  1738. soap.wsdl_cache_ttl=86400
    8 j6 v3 P7 R( j
  1739. " w, l5 F' M( v5 F; L
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)( o* L3 ?8 Z; K
  1741. soap.wsdl_cache_limit = 5, B1 h2 n8 `. R' {/ i
  1742. 5 w% }0 J& F" u1 _. H) \& a" l
  1743. [sysvshm]0 M/ H) k/ E$ n& G) M. |
  1744. ; A default size of the shared memory segment
    & ^) d" J9 ]) M* T+ u
  1745. ;sysvshm.init_mem = 10000
    ' A7 R  V+ }  j* p

  1746. 0 z- K5 z# |' |
  1747. [ldap]1 f* c+ w6 R% {3 D
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    $ W; n' b- T* ~2 f
  1749. ldap.max_links = -1+ q* H$ r+ \1 h2 y8 n& Y

  1750. 0 T, S2 R9 |7 j& M8 y' i( b
  1751. [mcrypt]. T& l3 Y8 B7 _4 k/ T0 E: P" [
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open7 r$ m1 T. C4 P
  1753. / }& {( }. K( E7 j% ]
  1754. ; Directory where to load mcrypt algorithms; W! r% n) F% E) U: E7 t& u5 i
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)6 Z- l4 ]  D; V! d$ W1 x. i7 I
  1756. ;mcrypt.algorithms_dir=
    ' s4 b" }4 w; `% e! h

  1757. ' |  y7 c* E) `1 \
  1758. ; Directory where to load mcrypt modes$ B3 o5 J& j3 D" ]8 ]
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)3 W1 h6 a3 R& P6 S6 O: `* a
  1760. ;mcrypt.modes_dir=* T1 X7 X& \; ^/ t, u) U

  1761. # E5 \4 m( m! O( B0 C2 F1 D
  1762. [dba]/ u0 y5 t3 u6 L* ]  Q8 u" ?
  1763. ;dba.default_handler=+ n  q( {8 Q$ n: O& }

  1764. " Q/ y9 @1 {* ~0 l9 Y
  1765. [opcache]4 K( O$ G3 n  f0 U, V) P
  1766. ; Determines if Zend OPCache is enabled6 F2 \6 D3 f2 S$ Y- n! z- I2 ^
  1767. ;opcache.enable=0
    " c* R4 L4 i/ N. p' Y
  1768. 9 a+ Z* z# k7 f3 D
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    8 k! d; t2 J4 s5 H, A, y
  1770. ;opcache.enable_cli=0
    7 _7 h* d! w8 s
  1771. & Y) _; f* S  O9 H" p- K
  1772. ; The OPcache shared memory storage size.+ p% g5 A" z/ t3 \
  1773. ;opcache.memory_consumption=64
    9 I" s% f/ ^" A, u2 L' ~6 \# `

  1774. 6 N, b7 C' X) K4 W& M# [' K- g
  1775. ; The amount of memory for interned strings in Mbytes.
    ; f* |& q$ a! m+ ~' z
  1776. ;opcache.interned_strings_buffer=41 E/ W1 ]1 ?. Y  [; O
  1777. 2 ~" w- t- r" z9 s
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ' B4 b- X2 G, O
  1779. ; Only numbers between 200 and 1000000 are allowed.
    : U+ [+ U3 v1 L) H
  1780. ;opcache.max_accelerated_files=20007 y3 e  J! G( T1 T* G" K! o, U
  1781. # R. y. A7 d- v% m! E( y
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.* x3 X4 o- ?# y  c: [+ r3 P, ]
  1783. ;opcache.max_wasted_percentage=59 Z. q) s0 W3 y( w% d7 S

  1784. , R9 R& I; e, ^; `4 V0 n
  1785. ; When this directive is enabled, the OPcache appends the current working
    6 {; e; Y* D! L4 b9 Z' q- w: u5 C, _
  1786. ; directory to the script key, thus eliminating possible collisions between& b. Z; `# X/ n: o' s/ r: S
  1787. ; files with the same name (basename). Disabling the directive improves& R0 y! l& e! R6 {
  1788. ; performance, but may break existing applications.
    ' j; K7 m6 W$ O! r7 W; @
  1789. ;opcache.use_cwd=1
    * k0 }" j6 w/ b- W* T6 u+ E* r* V
  1790. ( ~% X  m5 E0 W& u3 Z6 B9 v" p
  1791. ; When disabled, you must reset the OPcache manually or restart the; v6 a  B) f3 s7 y- I( H  f
  1792. ; webserver for changes to the filesystem to take effect.4 I5 ?& ]" o& P$ U) N
  1793. ;opcache.validate_timestamps=1
    / k% D9 y3 {3 Z& P
  1794. " R4 E- J7 [* u5 f* {, B  B
  1795. ; How often (in seconds) to check file timestamps for changes to the shared' `3 y0 S# _) N9 w+ J5 l# f/ e. }
  1796. ; memory storage allocation. ("1" means validate once per second, but only7 w7 ?' N8 q5 _4 W6 H
  1797. ; once per request. "0" means always validate)
    ) V- x0 F( ^8 c  T2 Y
  1798. ;opcache.revalidate_freq=24 D" P7 r/ C  z- g# J. c
  1799. 0 `  @8 a) v. x; F+ R
  1800. ; Enables or disables file search in include_path optimization
    * q, J2 k1 O( c+ D
  1801. ;opcache.revalidate_path=08 X+ z/ @/ b. C8 _6 D9 c

  1802. 4 ]+ O) }  G) f7 d- ?( ?
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
      c4 _8 @4 U% I4 {
  1804. ; size of the optimized code.
    ! G6 Z0 |; f/ J; P* x
  1805. ;opcache.save_comments=1
    1 w8 f$ f! H7 B4 p  z4 E$ p

  1806. 3 K- H' r8 {, L" K. t
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    / R# \1 b1 ~+ Y- B0 t
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    : p1 a# b+ _1 e1 @
  1809. ;opcache.fast_shutdown=0
    : _1 `' l$ J8 Q1 N1 T4 [
  1810.   R8 f& ^" o( B. a- D6 |
  1811. ; Allow file existence override (file_exists, etc.) performance feature., r% F: O: g( X6 b9 m' x% z
  1812. ;opcache.enable_file_override=0/ `, z' F# H% `! R  R/ l5 _

  1813. ) F  d1 O3 o& s4 j4 `
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    * r# {0 T9 C0 ~8 w/ O9 n
  1815. ; passes
    7 w9 C7 u3 a' F; `: i+ D; J* E) b
  1816. ;opcache.optimization_level=0xffffffff
    9 c1 ]  U: ^8 _

  1817. ; y2 z8 i& v4 V2 F, E
  1818. ;opcache.inherited_hack=1
    ) T0 O+ a1 i: \1 v
  1819. ;opcache.dups_fix=0, a- D2 j" |' N+ e

  1820. 3 C& \6 \0 |3 Q3 w
  1821. ; The location of the OPcache blacklist file (wildcards allowed).& b+ b5 ]; C1 B3 Z9 |8 ?
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    # W" S" H  o- Z
  1823. ; that should not be accelerated. The file format is to add each filename
    6 {: e+ E& z& ^2 r( d0 v. Z6 o
  1824. ; to a new line. The filename may be a full path or just a file prefix( |7 D( ^0 Y0 d; {' b6 g
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www9 M. o# j! ]  _0 Y% E
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    / o3 O) K# V0 B: r
  1827. ;opcache.blacklist_filename=
    3 H2 K0 H* a( B+ E- J: T
  1828. - O' {. |! Y) s; ^' R
  1829. ; Allows exclusion of large files from being cached. By default all files
    / q( D* h7 v0 f6 r
  1830. ; are cached.
    ' E9 a+ w' E$ [4 m( V% h
  1831. ;opcache.max_file_size=0
    0 V- u8 p- m3 K" l2 M- Y! `
  1832. 8 N& w% N8 J* G5 L5 I/ d
  1833. ; Check the cache checksum each N requests.
    * u! q0 K( p8 f% A  G1 A4 l+ y
  1834. ; The default value of "0" means that the checks are disabled.
      R0 Q7 _7 e) w* z
  1835. ;opcache.consistency_checks=04 S, `4 p' O6 @8 ^& F
  1836. , M3 ~0 `8 n5 ~" o
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    8 x; t3 X' X/ x6 O. {5 r8 \
  1838. ; is not being accessed.
    5 b* |" b6 p/ [/ \
  1839. ;opcache.force_restart_timeout=180( l7 B) `% v4 }( ?# W8 |- Y
  1840. ! x& X" `" U  H
  1841. ; OPcache error_log file name. Empty string assumes "stderr"., k( W/ {9 S3 z4 b
  1842. ;opcache.error_log=$ b2 J2 B. J0 [) f$ M4 }# l; _

  1843. $ A: s% t. h$ q7 H8 ~
  1844. ; All OPcache errors go to the Web server log.
    , r: V) J$ \& ^" N% P# B
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    + \( T; E4 T  w0 |. d  \
  1846. ; You can also enable warnings (level 2), info messages (level 3) or) x5 z, `+ ?# C0 H6 _
  1847. ; debug messages (level 4).8 S3 z% A+ Z9 T8 Y2 x% k+ y
  1848. ;opcache.log_verbosity_level=1# e9 {) G2 r& s/ ^8 Q8 L4 [5 |
  1849. 2 v( ^3 Q& E8 D; ?
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide., C1 @- `: t- F6 G2 i
  1851. ;opcache.preferred_memory_model=* F( E" r$ [& ^  j/ G

  1852. 7 k. t" K& B! L0 s
  1853. ; Protect the shared memory from unexpected writing during script execution.
    # X" M8 B; E: g+ S
  1854. ; Useful for internal debugging only.6 e& U! x4 s+ k4 E% `9 e' r% j
  1855. ;opcache.protect_memory=0
    1 w0 {' j  I  ?( W

  1856. % L+ o# c) O0 N
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is. ]4 t- {5 S" v$ Y0 H5 q2 n
  1858. ; started from specified string. The default "" means no restriction8 e6 e/ u5 C4 @: O! A
  1859. ;opcache.restrict_api=
    ' n& K6 }. A0 |: r
  1860. ; x+ t2 C7 D8 D2 e6 p
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP8 U. B% J# o5 Z( J8 B
  1862. ; processes have to map shared memory into the same address space. This: }+ j9 ?& A1 H
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    8 G1 {4 @6 g) n" \
  1864. ; errors.
    2 f' y* V0 j4 R# q! A0 z
  1865. ;opcache.mmap_base=
    3 M& d- G* m  R/ D; \

  1866. # O  t5 F! h  d7 O# S& P" H' s
  1867. ; Enables and sets the second level cache directory.8 s& m- r! U/ n: a
  1868. ; It should improve performance when SHM memory is full, at server restart or
    ) d* \; e5 [; t2 r' i
  1869. ; SHM reset. The default "" disables file based caching.
    - ^' e, _+ W5 T- o
  1870. ;opcache.file_cache=- Y# e/ X, Z6 @( k) e) ]

  1871. ) p) Y% R! Q/ a. _" w) ?4 f
  1872. ; Enables or disables opcode caching in shared memory.
    ) ]- p! Y7 {. x; G6 P6 M2 k
  1873. ;opcache.file_cache_only=0
    4 O! Y. W8 K. P/ ?

  1874. 0 l# M- |7 S' S, b9 j# e0 J$ U  l
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ! d- S7 R% j, B' J9 q2 q
  1876. ;opcache.file_cache_consistency_checks=1$ S1 n- V4 O% y' H
  1877. ) i% s) K  a. ?# e0 a+ R( ^
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    # |2 J$ `) d1 f1 `2 F
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file( A' q) F1 R2 n: m" z/ Z2 J5 ~' N. @2 k
  1880. ; cache is required.
    " A3 `! O+ W- J
  1881. ;opcache.file_cache_fallback=1
    4 C: e- m' {# ]6 N
  1882. / j. z+ z+ F& Y# O) S
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES." ]" e6 n  f7 {  `: T2 n; w
  1884. ; This should improve performance, but requires appropriate OS configuration.
    0 H$ B- X- D3 ^0 J. p
  1885. ;opcache.huge_code_pages=1
    & E! p/ e% x+ E8 S
  1886. $ |8 G, I* q& P% L* Z
  1887. ; Validate cached file permissions.5 @* d  D. {8 ~8 v1 ^' ?. O" Q$ Y5 ^
  1888. ; opcache.validate_permission=0- r; z. {+ m& D" W
  1889. / L4 D$ ?, O' ?% o) k
  1890. ; Prevent name collisions in chroot'ed environment.% ]! T: @; M9 z8 b" b7 ?" ~
  1891. ; opcache.validate_root=0
    ( j7 H. e2 W, w, L# b- b- d
  1892. * D; L) @; y/ z2 N' x! G
  1893. [curl]
    % i: M+ Q! e: i" v: Z; n2 s( ^* x
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an1 F; H# f4 n. q! J, w( `
  1895. ; absolute path.$ A2 {# C+ L3 g0 ]' {
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ; y! p! l9 Y. @+ i" n9 i0 r9 s  J
  1897. $ Z$ \( e8 m2 J3 i" `2 y; k
  1898. [openssl]
    # ~, @% P( l# V* N' Z8 \: X
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem2 W, U; j6 s4 g) p( y: G0 h4 F
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should" b; ?& G/ ]6 z; [+ x' f8 D
  1901. ; not specify a value for this directive as PHP will attempt to use the: ~; w; N* E7 n+ A
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ( |8 t# p  B4 h$ F
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context3 E$ i! o& X& V3 E
  1904. ; option.
    ( V$ h7 C1 F" j) S1 U) B
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    4 l- x5 B) O0 p7 U+ c1 _( W
  1906. 3 @3 D4 O; ^2 V; h  s
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the" U8 f/ N& w& n2 R) `4 U
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    . `& o2 s! W) X; Z4 c  V, @: M! H- R
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    3 k. ~/ ^: W4 S
  1910. ; Most users should not specify a value for this directive as PHP will) {8 G! a  C. H2 \" E1 Y7 E& Q
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,' V3 i' U0 x* S8 p9 D
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    , q0 J+ P  Q# d, u3 J6 H6 V
  1913. ; SSL stream context option.* @) r/ k% b4 C  T* S
  1914. ;openssl.capath=
    $ O  G# M0 ]2 \3 l: y

  1915. ! D3 V4 y2 U5 k
  1916. ; Local Variables:* c1 O2 {0 J& j
  1917. ; tab-width: 4" f& ?3 @& W6 y
  1918. ; End:
    ! M  D+ f: j$ F1 |+ M
  1919. . f' G  z; @7 h. T' U1 Q8 }7 C
  1920. ;eaccelerator
    7 F. @% E. C& m9 f7 N3 [/ Q

  1921. 4 L% m2 `. B9 X" K% \$ D, C( a
  1922. ;ionCube, T/ p( {$ E* r; l
  1923. # p* h% t& Y8 W( C# S# o
  1924. ;opcache
    " N  y7 c- v& M2 x8 P0 n
  1925. 3 z7 \9 @% r/ i& [& x
  1926. [Zend ZendGuard Loader]
    7 L5 j& v4 D  T6 e- h/ i2 F
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.4 Q. Q; l, B$ x! v6 }
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    ! Z' X, [( \3 P" e7 v+ b& _, W
  1929. ;zend_loader.enable=1
    1 X2 Y+ Q6 d! L- h* w5 P
  1930. ;zend_loader.disable_licensing=0
    0 m# T8 M; ]% S, t! j+ o2 f( n
  1931. ;zend_loader.obfuscation_level_support=3
    , J' [6 W4 N; n2 Z6 P( K
  1932. ;zend_loader.license_path=
    & p/ [8 L1 r" G' O

  1933. % f) x( c2 z  r6 U
  1934. ;xcache' D3 v$ u1 |3 l" k$ G, k$ l6 W# N

  1935. / ~- n: M6 I7 m6 b: u
复制代码
9 ^6 y  e/ w8 b8 f5 c4 O6 Q- B! O

7 g8 K% y6 a( i' n" V0 I9 K& s# E1 t

5 O3 T2 H! |% \
+ ]6 @* T( h# Q" u( |4 K5 \8 j  R/ M+ j1 S. h/ T7 D% K; p" k
9 C7 C7 M  A- h  Q8 \3 p7 l
PHP5.6版本原始设置4 [) @4 `$ h+ u5 V3 \# Z
* F3 O+ r! t2 j( `; R1 X2 Z
  1. [PHP]4 ]0 }" o# M4 x/ B: P) V3 p/ _

  2. 7 o* @, Z9 A, u8 W
  3. ;;;;;;;;;;;;;;;;;;;  s; z+ {# s* D1 s/ O9 U
  4. ; About php.ini   ;
    7 K1 H7 h" D# \; \. t
  5. ;;;;;;;;;;;;;;;;;;;
    . Q5 X/ t2 R# f6 N4 d
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    4 F. R+ M8 Z0 C; v1 o7 M
  7. ; configuring many of the aspects of PHP's behavior.4 V0 j/ p# e8 M
  8. * Y3 L8 W$ `9 C2 b, t4 Q1 b
  9. ; PHP attempts to find and load this configuration from a number of locations.
    % ^4 z# K* a) ~$ }
  10. ; The following is a summary of its search order:
    3 e% b2 P- \/ ^0 a4 [/ \! {5 ~
  11. ; 1. SAPI module specific location." Q3 y! r0 V, P, d
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    6 p2 I/ ~4 _( W# h
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)2 s7 H1 Z+ I7 v5 C7 m1 |4 g
  14. ; 4. Current working directory (except CLI)
    9 U) p- L3 }# ~) q  \7 m
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ; {6 r9 u4 P. X$ M+ o/ `& c
  16. ; (otherwise in Windows)
    # w$ v8 h  C2 A+ U2 h- d
  17. ; 6. The directory from the --with-config-file-path compile time option, or the) ^7 N7 ^) x# R. h3 W+ x+ `4 x
  18. ; Windows directory (C:\windows or C:\winnt)1 w/ |0 x" S$ I- L# Y
  19. ; See the PHP docs for more specific information.
    ( _& f! N: d, r/ z" L
  20. ; http://php.net/configuration.file0 V" w8 V0 ]: U

  21. 1 b: a/ b% H- ~$ }
  22. ; The syntax of the file is extremely simple.  Whitespace and lines/ W3 _; ?  y' B) ?
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    3 h6 E# v5 W2 c
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    - D3 G) i3 Z" J: g6 G
  25. ; they might mean something in the future./ q! U' m% i: M8 L2 A
  26. 5 c1 e; |# u7 D% K5 d* t
  27. ; Directives following the section heading [PATH=/www/mysite] only  d: ^2 \7 D( b' B" Z  N/ D6 W
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    + I/ m& Q( L4 g% v
  29. ; following the section heading [HOST=www.example.com] only apply to/ t7 p, W3 {# D  S! Y' ^) C
  30. ; PHP files served from www.example.com.  Directives set in these2 P4 g( i5 k$ T$ Y0 q  S! }
  31. ; special sections cannot be overridden by user-defined INI files or
    1 J& Z$ v. Z8 A! D
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    1 P8 U/ g# f  t9 F6 G
  33. ; CGI/FastCGI.
    # E9 u1 o4 }0 h/ q
  34. ; http://php.net/ini.sections! x% A$ F* }& V+ v5 h

  35. 6 k5 {( ^9 X  m# d) D# _9 J9 z+ S
  36. ; Directives are specified using the following syntax:
    5 k- \9 ^5 ]& j1 j
  37. ; directive = value4 P5 A* o4 X! w2 G% J" j1 }: L
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ) b) l6 L# p, t3 O$ ]1 E5 y
  39. ; Directives are variables used to configure PHP or PHP extensions.
    / n9 P* k8 A+ g5 F" x  ^2 G( p& W5 u' a
  40. ; There is no name validation.  If PHP can't find an expected7 E2 ]7 l: q7 ^" T  ^
  41. ; directive because it is not set or is mistyped, a default value will be used.
    & u. U3 S  O% |: G0 F

  42. - U: G% j0 }: \3 S
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one) S' {9 M( Z; [: R+ L2 F: I
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ; E1 \8 r! m7 N8 a6 |
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    6 ?5 p4 Q3 q* Y1 D
  46. ; previously set variable or directive (e.g. ${foo})3 u4 U- s$ Z8 J6 }! h# K/ F0 h* @8 ?' V
  47. " i; A, B  C/ {5 w
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:, ?& j! A3 i  f
  49. ; |  bitwise OR& ?3 ^' |8 K9 s- q  W
  50. ; ^  bitwise XOR2 V% \2 v% k2 D! ?5 N6 w6 C( O0 ^
  51. ; &  bitwise AND; }* F, K$ v$ x: B
  52. ; ~  bitwise NOT0 r" W+ R3 \1 Q( @
  53. ; !  boolean NOT
    7 h6 i% i" a5 }: g2 l' G: D* ~

  54. 2 F. D. G# y, o2 z1 s' k
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    8 y  L8 H2 u. c2 K
  56. ; They can be turned off using the values 0, Off, False or No.& W0 M2 b3 p* H7 V+ s# Z

  57. 6 r9 l+ p* }5 B) p* M
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ; F8 S/ D1 G$ {/ R* H
  59. ; sign, or by using the None keyword:% B6 e; S- q8 w" e- J* j! a- r

  60. % c) L5 b! }0 M6 B% r
  61. ;  foo =         ; sets foo to an empty string  |. T) l/ ~* k4 D, z# m" N
  62. ;  foo = None    ; sets foo to an empty string
    + D: E/ I) t1 x; e7 A/ e
  63. ;  foo = "None"  ; sets foo to the string 'None'
    1 K! }8 X; ^) n$ L
  64. 8 m; F+ d, v1 G" z: p; d
  65. ; If you use constants in your value, and these constants belong to a
    ( d, C1 ~) b2 x' Z6 H% d/ n
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    7 x  |, k1 O7 H$ j5 A4 t
  67. ; you may only use these constants *after* the line that loads the extension.
    0 |9 u4 b' Y5 l# f* j6 d' c
  68. 2 Z# v* i. O8 x5 z( e( `8 B
  69. ;;;;;;;;;;;;;;;;;;;
    # J0 q/ R; ~$ y0 E  m$ d
  70. ; About this file ;
    4 e& F) X7 u2 ?/ F% P' n) x. r
  71. ;;;;;;;;;;;;;;;;;;;
    " ~8 @; {$ C, Y" O$ M  _5 o( G
  72. ; PHP comes packaged with two INI files. One that is recommended to be used( L8 [6 |" e  W* W7 ?& ~6 U
  73. ; in production environments and one that is recommended to be used in
    0 s7 J! p) O+ O1 h/ g
  74. ; development environments.
    ' }! Q0 G. ~# e% A" y  A

  75. 6 D$ Q+ @8 m7 r/ E( \- }
  76. ; php.ini-production contains settings which hold security, performance and; X1 d7 i0 h0 C5 @, ?4 r! F
  77. ; best practices at its core. But please be aware, these settings may break
    - q! K! h! t% F; P  i
  78. ; compatibility with older or less security conscience applications. We' x! X8 c7 l7 S3 {
  79. ; recommending using the production ini in production and testing environments./ a+ f, m! Q0 B) }! E- K  E, V
  80. 9 {6 R; V  r: B: ^+ x5 `
  81. ; php.ini-development is very similar to its production variant, except it is
    ; I! J3 p& S! m2 ]9 Z5 E$ J% W2 ~
  82. ; much more verbose when it comes to errors. We recommend using the
    ; B& @( M* F* ~8 _  Z9 R6 ~& u
  83. ; development version only in development environments, as errors shown to  e6 |" L4 Y$ B  V7 Q/ [! w
  84. ; application users can inadvertently leak otherwise secure information.' I7 ?. e. ?# P$ y" S; j: H8 F
  85. ' n# p8 n- z# M0 C+ i
  86. ; This is php.ini-production INI file./ g8 P7 t! `, @6 C/ y1 d
  87. # a, U/ I6 ]- l* T, n9 H+ T
  88. ;;;;;;;;;;;;;;;;;;;1 g' p% Q' j% @: @( q( y' J5 t
  89. ; Quick Reference ;5 H$ e) s- J! P6 z1 }5 X; [
  90. ;;;;;;;;;;;;;;;;;;;, C9 S6 }' [: A5 ?0 v6 ?  u$ q
  91. ; The following are all the settings which are different in either the production( X! y: O1 q* Q9 X
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    8 k8 K* E7 E  v6 ^* O$ p1 X3 Y' |
  93. ; Please see the actual settings later in the document for more details as to why
    & P  h* Z( a, ?( ?, v
  94. ; we recommend these changes in PHP's behavior.! N  J  n# s2 A3 k
  95. 6 m8 T0 U! y4 j) u; s
  96. ; display_errors
      H1 B' \, f! g/ t! k0 E
  97. ;   Default Value: On  o7 B2 K: t8 J, y. Z  o
  98. ;   Development Value: On
    , Z9 A, Y; s. B1 @" z/ x7 T7 A
  99. ;   Production Value: Off
      }. Z) k# U. R$ R
  100. + Y+ K! Y! E1 E
  101. ; display_startup_errors
    ; `: @& Y. N% j( _# G0 I" I8 u) a- X
  102. ;   Default Value: Off
    1 _. p! ~) P* O# Y
  103. ;   Development Value: On7 l0 J; Z4 C+ w# v
  104. ;   Production Value: Off- v4 s# \& x) D1 M6 E
  105. 6 {4 z+ [1 b% \8 v
  106. ; error_reporting
    ) v5 L7 U; X/ }. }. z: L0 l5 q
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    / u! Y5 ~* d, o- z% A$ r9 G( W
  108. ;   Development Value: E_ALL* W! D+ }  g7 g: K1 T2 L# s' `
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, N: z" N+ |  H) Y" r6 v5 p

  110. % b5 d; h: o+ H* V
  111. ; html_errors
    % p, ~, U. j) t5 ]% w; I! M
  112. ;   Default Value: On
    % G! ?9 ^- P' V  G) M6 Q8 E* o
  113. ;   Development Value: On
    : V3 t. {, E% |/ R- o1 y6 S+ c8 N
  114. ;   Production value: On* {; d7 m$ s! n3 D0 Z! |: q

  115. ' T8 q  h8 N% h& y3 `' r
  116. ; log_errors
    3 V; e% z- d2 p% p" j
  117. ;   Default Value: Off  e( @8 M. D6 C$ f! o
  118. ;   Development Value: On+ A! i4 S" K! d) z5 `6 z. [% e: M
  119. ;   Production Value: On
    2 f6 |; U$ D9 E/ O

  120. , g* o) t- B" i" w" F  T5 f4 |
  121. ; max_input_time
    5 z/ u& [$ i- J: q6 I' C. e
  122. ;   Default Value: -1 (Unlimited)
    # T5 @7 l8 W) w; ?8 f9 \1 X
  123. ;   Development Value: 60 (60 seconds)
    5 V1 F2 }6 w, t* v
  124. ;   Production Value: 60 (60 seconds)
    & b. B- g3 P5 z0 F

  125. : l) `* y! N, _
  126. ; output_buffering
    ) @& e) ?; K! W- Z: N$ ]9 K
  127. ;   Default Value: Off
    4 N' \- g8 d* U' q
  128. ;   Development Value: 40962 E# `' P2 j% Z. Q9 }
  129. ;   Production Value: 4096
    ' |) L/ v. n( x4 E+ F
  130. 5 ~" ^2 x1 m9 K/ F
  131. ; register_argc_argv5 h/ d2 {: `9 t/ Y  h
  132. ;   Default Value: On
    - O" C! e# |! b! t1 w) i2 J' x. X
  133. ;   Development Value: Off5 T& A  Q1 I  Z9 v
  134. ;   Production Value: Off6 V7 v& A# c( ]  Q8 b& v2 X9 M/ \  h

  135. / ~+ c7 r. `$ a
  136. ; request_order
    % R& Q# h! v& m2 B1 T2 K
  137. ;   Default Value: None
    ! A$ h% V$ j! I2 w
  138. ;   Development Value: "GP"
    1 i& L7 H) g6 X7 [( j1 B
  139. ;   Production Value: "GP"
    - t7 U2 N6 R/ u2 P7 h6 X5 g

  140. / Q$ r/ A; u7 j2 _3 I
  141. ; session.gc_divisor7 b, {1 m3 l5 T& P% @3 z
  142. ;   Default Value: 100
    & _* a* k1 ]) w4 R7 o6 N: {" h
  143. ;   Development Value: 1000
    + b! x* T6 t; e* e" R) e' Z9 S
  144. ;   Production Value: 1000' u7 ~" R; b) |  z- {& G2 f* e

  145.   D1 u* g  v/ {4 G( X
  146. ; session.hash_bits_per_character8 k' c( ~! U4 `
  147. ;   Default Value: 4; q1 x9 k6 W$ \$ e  d% W, j. J, h3 K$ K
  148. ;   Development Value: 5
    , O5 N: _/ G: A. W2 P- A, x
  149. ;   Production Value: 5
    ! M7 A8 Y- U$ w4 Z

  150. 8 f' f; l' e9 [. r* ~( g7 q! a! C
  151. ; short_open_tag
    0 L$ [) x5 r5 K
  152. ;   Default Value: On
    # o6 P! E% ]8 l" d1 _* R
  153. ;   Development Value: Off
    7 r  ]$ G$ d0 j* _
  154. ;   Production Value: Off
    - j$ k9 N8 x, \9 G

  155. ' L4 S( q" j  g& ~7 S- v/ e+ R( O* ^
  156. ; track_errors
    - @: t4 e2 x% {$ X% c
  157. ;   Default Value: Off
    ; j2 r  M  B9 m% y* n: Q: @
  158. ;   Development Value: On
    , B1 [  E; ~: Q# t! [
  159. ;   Production Value: Off& g* c& J* @& R3 q: a

  160. 7 @* m4 i- D* h
  161. ; url_rewriter.tags" H( w$ a/ W" Y& \' `* L9 H
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ' U5 r9 F! a: Y9 o# V6 r1 i$ [9 J
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 Y( K3 }4 b$ V
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 w6 b( m, H: a' g: e- L
  165. ; X1 H  s2 Y4 R5 U4 @- P* H
  166. ; variables_order" U9 u& E) q6 o& ^9 x7 F
  167. ;   Default Value: "EGPCS"8 k4 ~' W9 R/ @7 {
  168. ;   Development Value: "GPCS"
    . K: G6 ?) b' H9 p
  169. ;   Production Value: "GPCS"
    0 @& e. M7 h3 `% }( @
  170. * }6 l6 o, P6 y9 `# n9 W: R
  171. ;;;;;;;;;;;;;;;;;;;;# q( n. j9 f% E2 t7 b: A" J' L
  172. ; php.ini Options  ;+ \! O& b* l5 n- e7 Y9 _. c
  173. ;;;;;;;;;;;;;;;;;;;;6 J, ?9 B+ c& P2 n6 q
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    - c2 m, X' D) ?" ]6 _5 v0 J  u
  175. ;user_ini.filename = ".user.ini"
    $ P& L2 ]8 w3 M

  176. 5 B9 @. |( L% i( t) C1 Q
  177. ; To disable this feature set this option to empty value6 n1 }1 W" d# \
  178. ;user_ini.filename =
    - v4 p0 G# x2 c9 w) q; o3 T
  179. 0 t% D) s4 G6 j* W% n" p
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    3 b/ @7 N# c2 N/ g9 ^: L3 ~
  181. ;user_ini.cache_ttl = 300  ~" V8 M) f% K1 p! n% O( E  K, i
  182. ! Z$ e( o: G7 C! M3 Z5 ~
  183. ;;;;;;;;;;;;;;;;;;;;
    4 L# O/ g& L5 N  x
  184. ; Language Options ;
    0 D3 D- @" L3 z+ o. J6 w6 D
  185. ;;;;;;;;;;;;;;;;;;;;
    - h' j4 P3 h/ q+ ?* s: J) I7 E
  186. $ _! C. \! _/ W; n
  187. ; Enable the PHP scripting language engine under Apache.  |6 n- X$ H7 q% c4 o: i; q
  188. ; http://php.net/engine2 g/ R& M$ P; ~/ J. D- ^! u9 o
  189. engine = On
    $ i3 X9 C& a4 K) T& l: m
  190. 5 g  J5 p& D; X- r
  191. ; This directive determines whether or not PHP will recognize code between
    3 c" i8 O5 X# [, j# O. }5 T, B
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    5 R& |: o. H" n& {# ^1 u
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ( d  j  H( s6 y+ R, Q
  194. ; should be disabled, as enabling it may result in issues when generating XML& Q$ {2 {9 Z* Z+ d) F& f/ y9 ?
  195. ; documents, however this remains supported for backward compatibility reasons.
    7 B" A$ }3 v5 ?' ?2 t4 h% n8 h1 q1 l
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    6 \$ B3 ]4 ]7 C( C8 G& e5 n
  197. ; used regardless of this directive.
    5 R; X3 E( Z; E8 d' Q
  198. ; Default Value: On- o8 p- ~& ~' F; e# Q7 L7 G0 |% U
  199. ; Development Value: Off
    ; T3 r$ ~3 ?& h' l& @; Z% \
  200. ; Production Value: Off
    8 l3 G6 F8 o$ [( O
  201. ; http://php.net/short-open-tag
    ) b" E6 p. n5 K; C% Z# i
  202. short_open_tag = On
    ! F6 G- m; Q( u+ n3 Z; n/ y! N
  203. - N" p9 g2 N  h! d, P' Y$ o6 |% ^' z
  204. ; Allow ASP-style <% %> tags.4 ^- M& L( g9 D
  205. ; http://php.net/asp-tags# W$ D  ~: D9 A) c  C
  206. asp_tags = Off
    5 r/ K* @* {" X7 t2 n
  207. # g2 i3 r" F- z) R% ~
  208. ; The number of significant digits displayed in floating point numbers.* [; B9 K( I7 K) }- p
  209. ; http://php.net/precision
    . L, p+ @# V- g9 `
  210. precision = 14
    . q  s  E- P+ o5 D
  211. + r+ s4 B% C1 Z: S+ D9 g3 O
  212. ; Output buffering is a mechanism for controlling how much output data; |; W( Z1 U' e
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    . h5 {" A$ W% H
  214. ; data to the client. If your application's output exceeds this setting, PHP
    5 E1 W, P. P4 J2 m
  215. ; will send that data in chunks of roughly the size you specify.% [4 b& _3 d7 v9 n9 E
  216. ; Turning on this setting and managing its maximum buffer size can yield some2 R7 u' I% _, ]4 J" M( k+ b: \! z
  217. ; interesting side-effects depending on your application and web server.
    2 e' [: Q7 d& }8 ]! B( l2 f
  218. ; You may be able to send headers and cookies after you've already sent output  v- E! N- _: Q* i1 o
  219. ; through print or echo. You also may see performance benefits if your server is
    9 K$ o* _% V) u, w2 G/ D
  220. ; emitting less packets due to buffered output versus PHP streaming the output& ?. @1 s- ~5 W; E- o
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    : Z4 R  k  O  \! Q8 k( t
  222. ; reasons.
    9 t1 F4 s4 @5 }. s
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    " \( w4 x: L: H: b, P! X8 T
  224. ;   functions.
    $ E: s2 {0 U) U3 b  a- f8 n
  225. ; Possible Values:
    6 [( t  u: i9 {0 f/ B
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)8 {/ a" F# A7 W9 s  @" J$ @
  227. ;   Off = Disabled
    * i5 z2 v: u9 f! @0 H3 o
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    8 c9 D, f" T8 \) h! [' D2 U4 M" g
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
      x/ M6 W& s0 `- B" i- n
  230. ; Default Value: Off
    3 h* r" S6 _) I: ~
  231. ; Development Value: 4096
    6 y3 @( G2 w! z: Z
  232. ; Production Value: 40963 X9 F/ E: F6 \6 O, \! R
  233. ; http://php.net/output-buffering8 Y% d; a' ~- S2 O( a
  234. output_buffering = 40965 @3 I# g: M2 |% t
  235. / |! ?% I0 \: T* V" V3 W: e
  236. ; You can redirect all of the output of your scripts to a function.  For8 t0 Y7 X3 A- c! g% ~7 i2 l4 ]2 I
  237. ; example, if you set output_handler to "mb_output_handler", character
    : I5 ]& d9 M7 f( i  r$ j  ?
  238. ; encoding will be transparently converted to the specified encoding.
    , z7 V3 L8 Y3 b5 n" P
  239. ; Setting any output handler automatically turns on output buffering.
    ) _9 L9 d- E7 H8 F% M
  240. ; Note: People who wrote portable scripts should not depend on this ini9 }" T7 Q* C6 N5 l# @
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    / x& ~( G+ H& j. D; N. T; j
  242. ;   Using this ini directive may cause problems unless you know what script( {, y5 ^/ Q" O* y- H% M
  243. ;   is doing.
    2 O* v. w+ F+ U
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    0 o( A1 {  J! S
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    # P( y( J# C5 i  Y
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ( v+ Q3 K; W6 |  f' V) d
  247. ;   Instead you must use zlib.output_handler.
    9 o* j3 B9 O2 y1 N/ z; J4 H0 r
  248. ; http://php.net/output-handler
      h+ A+ f& W2 S5 g3 _9 ]
  249. ;output_handler =, M5 o/ i) E$ m* {- r
  250. : z4 r, Q; ~" H4 a( V
  251. ; Transparent output compression using the zlib library
    % {* g1 |5 U4 u% |
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ' t3 ]9 F4 h4 `6 k# a/ D% M0 w
  253. ; to be used for compression (default is 4KB)4 n( A! }0 v$ D, t: K
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP( _4 a$ p! t+ _9 J6 S1 V: g
  255. ;   outputs chunks that are few hundreds bytes each as a result of! y/ q; e5 J8 j( e* ^7 x
  256. ;   compression. If you prefer a larger chunk size for better
    ; C' v6 J( a7 o) ?* N
  257. ;   performance, enable output_buffering in addition.
    3 n& k' u  u" f1 ~# P3 c( b* K0 j- O
  258. ; Note: You need to use zlib.output_handler instead of the standard1 Y  z* Q  q3 |! ]2 }: |
  259. ;   output_handler, or otherwise the output will be corrupted.
    ' n! i  N/ l' K7 z% _# p, O7 `
  260. ; http://php.net/zlib.output-compression5 ]$ j; R0 M- g) N( j# }* [
  261. zlib.output_compression = Off
    6 ?: Q% A% k$ t2 X8 W

  262. 0 m$ \3 e; C# W. x' }: J
  263. ; http://php.net/zlib.output-compression-level+ ^1 T/ E/ ~6 r# n7 q, I
  264. ;zlib.output_compression_level = -1
    " _$ F  `' Y& v/ N8 M1 Y
  265. + G+ N% p( S% R3 L; I: ?% N- n
  266. ; You cannot specify additional output handlers if zlib.output_compression
    - k3 R  t5 J0 R1 b
  267. ; is activated here. This setting does the same as output_handler but in
    ( w* u+ u. h! \. J/ Y
  268. ; a different order.5 `; S% J7 M; c2 C/ `/ r/ ]
  269. ; http://php.net/zlib.output-handler" A) s# E& V1 A+ ?$ j3 B
  270. ;zlib.output_handler =. @: \; M% {! v  N0 y
  271. 2 n- M1 [8 ~5 D7 U! A  @
  272. ; Implicit flush tells PHP to tell the output layer to flush itself+ z. p: u* `6 s7 [( W, f
  273. ; automatically after every output block.  This is equivalent to calling the  B$ L% K2 S- h
  274. ; PHP function flush() after each and every call to print() or echo() and each8 \+ y* l  d1 e/ D# }: L* O
  275. ; and every HTML block.  Turning this option on has serious performance& c* T. B( ]- q$ b
  276. ; implications and is generally recommended for debugging purposes only.
    1 v/ l$ j9 E1 u8 w
  277. ; http://php.net/implicit-flush
    / t) r' C: Q  e5 x5 M
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    & S; O9 S8 W8 ]  X, v0 S
  279. implicit_flush = Off
    / {( K7 M& b; y, w
  280. 0 y$ o* |5 f4 @9 N6 G* y5 ?
  281. ; The unserialize callback function will be called (with the undefined class'9 G1 K, _* W6 U  a. R7 f
  282. ; name as parameter), if the unserializer finds an undefined class
    5 W4 `7 G* t' v9 O
  283. ; which should be instantiated. A warning appears if the specified function is
    : o. i  Z7 ?$ A7 b. X" y/ v
  284. ; not defined, or if the function doesn't include/implement the missing class.
    1 T7 j5 E* ~5 @0 `6 n- `
  285. ; So only set this entry, if you really want to implement such a# Q1 K+ H0 z, _& I
  286. ; callback-function." f% I4 q' R3 Z8 I$ P$ g3 g
  287. unserialize_callback_func =. y1 E9 T3 E; @
  288. $ W6 z. s. ?& E" u! [# a
  289. ; When floats & doubles are serialized store serialize_precision significant
    1 i) J4 o: N0 P3 o
  290. ; digits after the floating point. The default value ensures that when floats  x0 z2 V7 b: I' `' a& J
  291. ; are decoded with unserialize, the data will remain the same.6 S1 U- d. J0 d5 g
  292. serialize_precision = 17
    1 \6 `, L" [% ~
  293. 1 |& y4 L7 x5 {# Y
  294. ; open_basedir, if set, limits all file operations to the defined directory
    . q  g! J  l$ K  q" }2 H/ r
  295. ; and below.  This directive makes most sense if used in a per-directory
    1 F* Z& n/ m# p9 S9 u! F9 E' |
  296. ; or per-virtualhost web server configuration file.
    ( B) J6 o. Y" A4 x4 R
  297. ; http://php.net/open-basedir
    ! Y% R- V7 d5 ?
  298. ;open_basedir =' y; C. w5 X; |4 Y

  299. ! O7 [- j( z9 B
  300. ; This directive allows you to disable certain functions for security reasons.; s/ n" E- Y0 K' [: {9 L2 i
  301. ; It receives a comma-delimited list of function names.
    6 S- E; z$ D& U* d# p
  302. ; http://php.net/disable-functions
    ' K' B, E# s7 x, E, U( Q
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru  `3 z; ^" M! d# z
  304. ' d2 }* @% Z) y* z
  305. ; This directive allows you to disable certain classes for security reasons.+ h9 ~% M7 L, z9 j& D
  306. ; It receives a comma-delimited list of class names.
    7 V- A, y7 b  G
  307. ; http://php.net/disable-classes3 J7 z1 y7 \2 R. M3 u
  308. disable_classes =7 S0 F9 E/ D' A5 Q7 t+ F2 H/ o

  309. " M, i3 e: Q2 P! C7 q7 n, ?) f9 c  `
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    6 @; G% L* `* T5 r5 `2 [7 h
  311. ; <span style="color: ???????"> would work.
    ' [9 E, l3 @. N- U7 r/ O9 O) G3 z
  312. ; http://php.net/syntax-highlighting
    ! z: i! [. E1 T1 A$ L1 y
  313. ;highlight.string  = #DD00003 c) g2 j' C2 ]' z& E! v
  314. ;highlight.comment = #FF9900
    + t: W# L" e: O) a# w2 U% e: u0 }
  315. ;highlight.keyword = #007700
    - S/ g+ z9 x9 V2 ]0 l
  316. ;highlight.default = #0000BB
    $ A; a4 z2 k5 ^% Z7 q
  317. ;highlight.html    = #000000
    + |1 e$ ]& l0 S

  318. & c$ B3 |% N! `2 x0 e
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    ) F9 \! q- M7 q$ P3 @
  320. ; the request. Consider enabling it if executing long requests, which may end up
    3 a4 ~1 h% v% i  D0 r
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior5 M0 B, T7 E2 d$ E: g- ]
  322. ; is to disable this feature.
    ) ~3 ?7 b6 i+ o3 T
  323. ; http://php.net/ignore-user-abort- e4 r( P' u. u
  324. ;ignore_user_abort = On
    5 u9 a( s- I5 {7 z  U8 ]; b

  325. : Z9 u: U$ x* @/ p% E" b! e
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    ( }# U" ^. o! S$ G
  327. ; be increased on systems where PHP opens many files to reflect the quantity of* q) C/ @% t* _( C+ K" S! ]4 e7 g  ^
  328. ; the file operations performed.% G! X7 L2 z4 S- C( w7 t0 P. m
  329. ; http://php.net/realpath-cache-size
    . B: s/ Z* Y' M: \, F1 E
  330. ;realpath_cache_size = 16k
    8 `: f; z  }/ Y! q+ B/ k$ N

  331. + }1 K% G- K$ H9 d( G1 Z/ X8 l
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    & I% ?# L9 D4 E5 f0 H7 f$ o
  333. ; file or directory. For systems with rarely changing files, consider increasing this/ v8 I1 p1 F9 m9 k, H  y, f7 a
  334. ; value.( t3 Y' \' Q3 [& b- F
  335. ; http://php.net/realpath-cache-ttl$ P9 ~: [; \! L8 e! _" [4 Y; p% s
  336. ;realpath_cache_ttl = 1204 O0 W$ s# d8 E9 J* d1 u+ y
  337. 9 H5 L7 g6 Z9 t' F4 g' r5 ?! b
  338. ; Enables or disables the circular reference collector.
    ; I, J5 w. q$ e
  339. ; http://php.net/zend.enable-gc: E! x! l* P* X+ X8 F# t
  340. zend.enable_gc = On
    # p, {) w$ I+ p  F5 |8 G+ R* {7 ^

  341. 1 k' v, f9 U( A9 u
  342. ; If enabled, scripts may be written in encodings that are incompatible with7 Z9 q/ G2 i: v( M& i+ V, ~9 V
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such7 t7 P4 ~% Z4 K# a2 D
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    $ s* [# J# \) E! F  m
  345. ; Default: Off! w1 F& p. `* [) X
  346. ;zend.multibyte = Off
    ' d+ |7 E+ @4 }1 g* o2 D

  347. ( C3 l8 i" e# V0 P- J8 Y0 i' ^2 b
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    7 y; i. V, F" l8 t) R9 i
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    1 Q5 S4 l- t4 a5 J' R0 V
  350. ; Only affects if zend.multibyte is set.
    $ J( ]& M; U% b5 {0 {
  351. ; Default: ""% T1 m2 ]: g1 |
  352. ;zend.script_encoding =
    # ~" g7 q( z2 r3 D- U' n, e
  353. 4 q* k: j( u% K) K- v
  354. ;;;;;;;;;;;;;;;;;& y" e7 J( f! V2 [: z$ i0 M
  355. ; Miscellaneous ;$ w4 ^2 q( B/ u
  356. ;;;;;;;;;;;;;;;;;
    ) N+ |6 j+ x6 U0 W& }! Q; m

  357. ; \$ h: c$ S0 l  d: ?" X
  358. ; Decides whether PHP may expose the fact that it is installed on the server2 W, @4 @' I% E; w1 y
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    : t2 T# r9 @3 R7 C
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    % H* n/ [6 Q$ X" l5 d/ J
  361. ; on your server or not.
    # G5 U# b" p  W2 Y7 N9 k# t
  362. ; http://php.net/expose-php$ L9 w6 h6 e  I! m6 U
  363. expose_php = On# d8 F' e7 I5 ?- T
  364. ' V6 v3 ^$ e/ }" y: A, m, ]
  365. ;;;;;;;;;;;;;;;;;;;6 a! [6 s3 b) Q" e& x1 ?' ~
  366. ; Resource Limits ;
    7 i# [) S3 M+ p- _5 G! H* p
  367. ;;;;;;;;;;;;;;;;;;;: w, O+ T4 r8 p' N0 L# U- Q9 r

  368. - ~% R) R  A' w0 w' g' h
  369. ; Maximum execution time of each script, in seconds
    " _' k9 b3 x. U
  370. ; http://php.net/max-execution-time
    * I& M5 R6 S. B* A% {
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI: b; f1 G6 a( h6 g* e/ V
  372. max_execution_time = 3002 Q) o8 W; f& @9 W  \7 H+ ~2 j( f
  373. . k" Z1 w1 o8 M' Z! M: |3 a
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    1 I: }) w: D: B3 {+ K: Y7 ]
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    , w4 p4 D6 E" U2 {
  376. ; long running scripts.# S3 _, ^4 p$ Y5 F$ _) f
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI( b0 e2 |  R; q% x0 V
  378. ; Default Value: -1 (Unlimited)% z0 [- _4 F1 D) E$ K% O
  379. ; Development Value: 60 (60 seconds)+ }: N0 ^# v1 x% D- x
  380. ; Production Value: 60 (60 seconds)
    5 i* R3 M. b" l, U
  381. ; http://php.net/max-input-time
    / q- B6 n8 O# }. Y: ]4 S* v
  382. max_input_time = 60
    # f# P6 I+ d: x2 j2 N( j# n7 @; ]

  383. " M# e. @9 ?! t
  384. ; Maximum input variable nesting level; _9 R* u; ~% [8 S/ E
  385. ; http://php.net/max-input-nesting-level
    " L3 e) Y  x3 ]4 a7 j3 E- b
  386. ;max_input_nesting_level = 647 N0 {& z$ [. [; @. E

  387. 2 m& o/ K$ |' v/ d5 w
  388. ; How many GET/POST/COOKIE input variables may be accepted( |3 `$ {" ^- }+ ^: h
  389. ; max_input_vars = 1000% ^0 a+ i" o0 ?: O' \( i7 s

  390. ' _7 a4 `8 P; f. M" s- G
  391. ; Maximum amount of memory a script may consume (128MB)
    - _! J) K) _% S1 }5 v* _
  392. ; http://php.net/memory-limit
    / L* }( H2 e# [$ F
  393. memory_limit = 128M
    + T& F9 u4 Z  x4 ?: V* h# i! h

  394. $ b5 `6 M$ ?# C1 l7 ?
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;* |: b/ K- q# m4 o, ]3 L2 z
  396. ; Error handling and logging ;
    & f! o$ d4 ?$ }
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      B0 y' y: p  z) P- W7 j7 l) }- \
  398. : A: T8 Y: Z2 H6 i& I0 K* S. X
  399. ; This directive informs PHP of which errors, warnings and notices you would like0 C5 W/ j5 S9 J5 z4 n$ T
  400. ; it to take action for. The recommended way of setting values for this6 \; _' h* Y0 K- ?) t
  401. ; directive is through the use of the error level constants and bitwise  k5 ]# Q. P& T. |
  402. ; operators. The error level constants are below here for convenience as well as
    5 V' z  }) x- I$ T
  403. ; some common settings and their meanings.# G- p* r. ]# g0 X. n- [% @
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT# k( X; ?$ r( {) o0 M
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and- g  [4 d( Z  n8 g0 W
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    3 w9 W1 x4 l# @" a  D
  407. ; recommend error reporting setting. Your production server shouldn't be wasting' R2 ~4 `8 S9 F7 N; ~
  408. ; resources complaining about best practices and coding standards. That's what1 g- T& M7 Z8 e' }' k* ?- o
  409. ; development servers and development settings are for.
    * q6 u; G( n/ ~" e4 {6 k- x5 `' J
  410. ; Note: The php.ini-development file has this setting as E_ALL. This- c$ t$ ?) G' z# @3 f2 ^& P
  411. ; means it pretty much reports everything which is exactly what you want during- O2 [: \6 S& n- f* R1 X
  412. ; development and early testing.
    1 D% y. k: B) v% Q$ e/ v- x
  413. ;8 h  M) Q  k5 w. x9 ?/ V
  414. ; Error Level Constants:8 x0 I9 X& u9 Z7 y  [6 O; m0 b+ t
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)3 a% {; E. r. g4 N( A
  416. ; E_ERROR           - fatal run-time errors6 _! ?, E" z( U0 G- x
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    7 j! g. l2 E& B% A
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    . L! f  ^6 A( B: |, K$ _, N/ M8 J
  419. ; E_PARSE           - compile-time parse errors
    8 z' H- B% g9 h4 ]/ f' Z  `0 V
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    + a( H, H' Y' q5 y. U: \% R
  421. ;                     from a bug in your code, but it's possible that it was
    1 m& v3 u0 ?5 e' K- K& Z4 [
  422. ;                     intentional (e.g., using an uninitialized variable and
    4 F7 F% P3 u3 m3 ?* ?
  423. ;                     relying on the fact it is automatically initialized to an
    . n  K$ Q; y$ G/ z
  424. ;                     empty string)
    3 u% ?9 B9 \1 ]9 G  J2 g
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes3 F% {2 Z) s. _6 s& `
  426. ;                     to your code which will ensure the best interoperability
    ' ]$ ]: V7 Y* p  H; C. H
  427. ;                     and forward compatibility of your code
    # Q* K4 R* p: u% N" n) z7 q
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    " I9 n9 d9 l. C. m- p# j3 d; c# s
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ' O$ j  s* R8 z2 v/ F
  430. ;                     initial startup) w, a% f% _( D1 }( [6 l/ q
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    5 F% T9 E& {) U6 V6 X
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    " W/ _/ X, P. T0 X8 h* M1 U( y
  433. ; E_USER_ERROR      - user-generated error message
    1 w  K5 r; y' z/ F+ c8 [: v: E
  434. ; E_USER_WARNING    - user-generated warning message% y& @: r+ z) O& z/ h
  435. ; E_USER_NOTICE     - user-generated notice message
    1 a' m( e) r  k' J% @$ A9 l) k4 A1 N
  436. ; E_DEPRECATED      - warn about code that will not work in future versions% d8 f. d! R( c4 [% O6 O
  437. ;                     of PHP
    ) Y( @2 a) A% v2 C& x$ o
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings) z+ v) d% C# u
  439. ;; n, v! k7 b0 f# Y0 s7 G
  440. ; Common Values:! I! @" P  S2 y  K- v
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    4 k3 v# `/ |) Q# E
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)# e2 j4 ?8 d# `" ^
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    . K8 f. c+ ~) ]5 m* G7 B6 p
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ) K) y0 C: E* k6 C
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    5 E  c- t  D& {$ A# g) e. w
  446. ; Development Value: E_ALL
    ; u; t  B2 l& l  p, Y) D# k
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT- N" W4 R3 e/ n  ?
  448. ; http://php.net/error-reporting' s# V) G+ [: U" {
  449. error_reporting = E_ALL & ~E_NOTICE
    ' A. }% X$ T/ @, l
  450.   g. {" f# d0 H* Z' z$ g+ n
  451. ; This directive controls whether or not and where PHP will output errors,
    ! {1 k8 @* o3 y0 g5 K! }
  452. ; notices and warnings too. Error output is very useful during development, but0 w- E4 H8 V. @7 n
  453. ; it could be very dangerous in production environments. Depending on the code# \0 }9 j4 o2 @! \. U& g2 M
  454. ; which is triggering the error, sensitive information could potentially leak# v5 R) n5 c7 {9 a, j
  455. ; out of your application such as database usernames and passwords or worse.0 `0 C7 ~2 M8 ~" m; @: t# \
  456. ; For production environments, we recommend logging errors rather than5 E8 _6 \4 }0 `/ I
  457. ; sending them to STDOUT.
    9 W2 D, |. h/ n- {+ w
  458. ; Possible Values:: n: Z! x5 d* `8 z7 }
  459. ;   Off = Do not display any errors5 b' ]0 e% q; K: M( C1 @0 g, ~
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    - F+ j  ~4 w3 q( B! r9 y
  461. ;   On or stdout = Display errors to STDOUT- e+ `( [1 p& t: b3 ]2 ^/ n* ?( Z
  462. ; Default Value: On7 A8 }( Z8 i1 {* `% W1 }
  463. ; Development Value: On
    & q( n+ H( O4 t3 h9 V4 f) @% Y
  464. ; Production Value: Off# D; m* P% d! x
  465. ; http://php.net/display-errors
    6 a" {5 i9 V6 M. l
  466. display_errors = On2 a( r1 {6 z! v  ?
  467. * X7 ?3 J* V4 K8 H
  468. ; The display of errors which occur during PHP's startup sequence are handled
    9 M, Z" o1 t; ^1 J) E
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    0 Z$ h/ q* `. C8 m  J
  470. ; errors from clients. Turning the display of startup errors on can be useful in1 _% v. n* L4 M1 x* \
  471. ; debugging configuration problems. We strongly recommend you
    . {% n6 w* Y4 S3 e3 g4 \) {
  472. ; set this to 'off' for production servers.
      E# Z' u3 d# k0 ?; O; n6 e
  473. ; Default Value: Off
    2 p( O& L7 I. U9 T- P5 e, K
  474. ; Development Value: On
    2 y' E3 W/ n: r' u* v
  475. ; Production Value: Off
    1 [- v6 T' w1 k
  476. ; http://php.net/display-startup-errors! v, ?. R$ j/ C: d$ u
  477. display_startup_errors = Off
    # G# t% I5 L9 T& `

  478. * ]' j( x* Y! F- g8 t+ n; {7 h
  479. ; Besides displaying errors, PHP can also log errors to locations such as a/ T4 k$ q6 Y" t. \8 A
  480. ; server-specific log, STDERR, or a location specified by the error_log
    3 R. T5 q4 F) y& q% R- z1 B" A
  481. ; directive found below. While errors should not be displayed on productions) C* Y' d- O7 k& V7 f# d
  482. ; servers they should still be monitored and logging is a great way to do that.
    , Q' q6 ?' m! E7 A. N
  483. ; Default Value: Off
    * L. P5 s( o6 c6 w6 U( L& S5 f
  484. ; Development Value: On
    $ i( d. S6 }. H; G7 b! r
  485. ; Production Value: On9 Q% I* R& G. M4 r0 z/ g7 M) E
  486. ; http://php.net/log-errors  p* \; o, b# Y6 m* ~# Q8 O- C8 W7 x
  487. log_errors = On& ]+ M' i5 m/ P% w$ s  \" b
  488. 4 c$ d3 ]# d* [- n8 A* g
  489. ; Set maximum length of log_errors. In error_log information about the source is' D+ m( o" X" q& x1 t4 q3 l
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.7 M" o- b" b# c
  491. ; http://php.net/log-errors-max-len) }7 I3 D, H; x* g; g8 j0 }  z
  492. log_errors_max_len = 1024+ c8 T' J- \: |# x* ?

  493. ( u- y3 I0 J$ c8 Z3 l* z# R
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same  y# L2 o/ D1 }5 C* L( v
  495. ; line unless ignore_repeated_source is set true.
    + n3 y1 J7 a! O& d: c
  496. ; http://php.net/ignore-repeated-errors  P/ ]6 `' e5 ^9 Z! F! I
  497. ignore_repeated_errors = Off
    9 f- D4 L- d5 D) S2 n0 u
  498. 6 [" c9 A% J, i5 {4 U1 `
  499. ; Ignore source of message when ignoring repeated messages. When this setting9 ]( U9 C  \& w$ g# R
  500. ; is On you will not log errors with repeated messages from different files or: x6 c8 m; V. v% M  U
  501. ; source lines.
    3 {9 V- W/ [+ o/ @0 B4 q
  502. ; http://php.net/ignore-repeated-source
    * a$ m5 {7 E& B+ s& Q3 V' R% [
  503. ignore_repeated_source = Off
    / V+ R0 [/ F8 q# r) B3 _

  504. , @) q6 M4 Z# b' f' W4 W
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    & D( ?: s2 I- _8 g( q
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    : C0 n  d/ _& I$ o9 ?' Y: o0 }
  507. ; error reporting includes E_WARNING in the allowed list
    , n9 j2 M1 Y( U+ M$ i
  508. ; http://php.net/report-memleaks8 T7 K/ o. H9 r1 E* y- @
  509. report_memleaks = On
    4 J& @& Y2 q& Z3 C
  510. 1 `. s' n% G" Z7 p& S
  511. ; This setting is on by default.8 E8 ^7 h) F6 ^$ A, }, A  b
  512. ;report_zend_debug = 0+ P4 j' j) d$ p" g  h

  513. : O3 D, A1 U7 |
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value7 d; l4 x" {3 d$ m
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    * a$ T" [% e0 A+ S. d: X
  516. ; however be disabled on production servers.9 a5 u. ^  q% a' t3 B
  517. ; Default Value: Off  N& Y) V9 v. c6 t! U3 l8 U
  518. ; Development Value: On
    $ C- F1 c0 W) @5 b: n4 \9 g
  519. ; Production Value: Off  \7 m5 H) D1 G
  520. ; http://php.net/track-errors0 n( B! h' q3 ^  H' E8 D. V; j1 _
  521. track_errors = Off
    ' e: r- j7 a/ L7 p
  522. ; K* q7 F( v- t) ~1 C, z- @4 X
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    & _" O  c: T8 g! u
  524. ; http://php.net/xmlrpc-errors
    ! e$ s% w9 y3 {. O7 J9 P- a. Y; t
  525. ;xmlrpc_errors = 0) f' {3 p6 {( ^. R
  526. " Y; T( v# i. L+ x
  527. ; An XML-RPC faultCode- q& w9 L; X/ r, K" _! M' n8 C
  528. ;xmlrpc_error_number = 0, g. Y% t, b" z4 a
  529. : W1 n6 J2 g/ E2 @1 O
  530. ; When PHP displays or logs an error, it has the capability of formatting the/ V: U. f. r# ~7 }' Q7 A6 [
  531. ; error message as HTML for easier reading. This directive controls whether/ C  N7 _! D6 s8 G+ s2 ]
  532. ; the error message is formatted as HTML or not.
    9 z) ]$ Q/ Y8 B5 {8 e$ v$ o: R
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; E. @3 W3 `) G1 M$ x& q9 O
  534. ; Default Value: On
    2 @4 }% t" W/ c2 y" ^" |
  535. ; Development Value: On2 u: b( }0 `2 v0 k: }3 |
  536. ; Production value: On) q0 L5 Z* u' U5 U
  537. ; http://php.net/html-errors$ v" i& F6 q6 ?6 N2 t2 ]' i0 o* r) l
  538. html_errors = On
    5 V' E% P! v! p- H$ a/ n

  539. ; f6 k: X. m: M4 v( |1 u  }
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    6 W7 ~: E- A9 A+ ^
  541. ; produces clickable error messages that direct to a page describing the error. ]5 l1 R( B+ r8 U5 l( L
  542. ; or function causing the error in detail.0 H3 B; X& ~$ j: |- t1 J
  543. ; You can download a copy of the PHP manual from http://php.net/docs3 x# z2 {+ @8 }* s3 H; R, m8 Y4 U
  544. ; and change docref_root to the base URL of your local copy including the: m1 Z  T1 M; `& t# r7 h% r; k
  545. ; leading '/'. You must also specify the file extension being used including
    8 I0 H; P! f1 c: h
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    " |* ~; P! \5 p
  547. ; case no links to documentation are generated.+ F8 @  @9 c# R8 x6 ^' g
  548. ; Note: Never use this feature for production boxes.* w; z3 ]; L5 x6 p
  549. ; http://php.net/docref-root( |$ ^% _; J7 t+ K6 I3 R: j3 Z" ^7 `
  550. ; Examples1 h% w2 L- d! @9 g- ]
  551. ;docref_root = "/phpmanual/"
    % E* b" o- D$ O% S! p$ A

  552. 8 B. C; v5 O& c- v- ^- H
  553. ; http://php.net/docref-ext8 g2 m* h# e; c% s/ Z
  554. ;docref_ext = .html
    0 M( u# b, \- A9 z' E: B% m

  555. " i2 G0 K+ W, I/ W$ F$ |
  556. ; String to output before an error message. PHP's default behavior is to leave  y, d7 h, B" Z9 G8 s
  557. ; this setting blank.) z- H! G+ d. S) e2 X1 B4 w
  558. ; http://php.net/error-prepend-string0 M8 B  N/ n3 z  Y' s& A. z
  559. ; Example:
    * n, C, D5 r! V; v* i: i
  560. ;error_prepend_string = "<span style='color: #ff0000'>"0 M7 ]: `+ e0 d3 [8 B- S7 h

  561. ! X! d* V4 ~1 }- u8 `/ o, f, q
  562. ; String to output after an error message. PHP's default behavior is to leave; `8 m2 J) C) \1 }4 ]' l5 u, r
  563. ; this setting blank.
    " p5 w3 m4 t  _3 k8 q
  564. ; http://php.net/error-append-string
    ; Y" q. Z3 K! b" ]- h. y! V- E$ |
  565. ; Example:6 i" V/ ]) E2 g: \0 i' R# I
  566. ;error_append_string = "</span>"
    * m; L2 _: L3 \' b" g0 T
  567. ' B+ O$ ]/ j6 A% \8 Z
  568. ; Log errors to specified file. PHP's default behavior is to leave this value9 ^0 r4 z& w9 R
  569. ; empty.. ^" s& c" I" n/ ?8 a' O8 z+ f
  570. ; http://php.net/error-log; X' b, O& |) Y+ Z
  571. ; Example:- u" k& U* a( H. _3 t  |/ G
  572. ;error_log = php_errors.log
    * m) y, e: G/ N9 f, }
  573. ; Log errors to syslog (Event Log on Windows).: b, z; j! U' U7 G
  574. ;error_log = syslog. F7 X% {7 \, A5 K
  575. ; X( I5 i! [8 J5 t* ^) F3 @
  576. ;windows.show_crt_warning
    1 B8 b" ^; v" H2 w- s
  577. ; Default value: 0
    + E, X8 Z- n; A! j5 h% d: S
  578. ; Development value: 0$ L& i. W# ~2 V/ n9 y
  579. ; Production value: 0( U# c( f5 e8 T4 S4 I

  580. 8 v( T- i* k- ~+ L
  581. ;;;;;;;;;;;;;;;;;
    5 o3 ~3 @( j/ Y% I( F" y  A
  582. ; Data Handling ;
    ; N& r) w3 ^7 h; e0 z$ m' s
  583. ;;;;;;;;;;;;;;;;;% p5 V6 [9 Q6 @3 Q
  584. 7 p$ F3 G: F4 w8 F0 o
  585. ; The separator used in PHP generated URLs to separate arguments.
      `- n9 `$ c2 D9 G2 j" w5 P
  586. ; PHP's default setting is "&".
    6 S' r5 }" t, P$ B: T
  587. ; http://php.net/arg-separator.output
    ( L. A1 E  x2 r
  588. ; Example:
    . c* e0 U, \1 W' a2 @5 R
  589. ;arg_separator.output = "&amp;"; p, ?2 n! l$ ]7 ^# ~0 n

  590. , x9 g$ Q( j3 V% {; g
  591. ; List of separator(s) used by PHP to parse input URLs into variables.2 ^8 [$ S% E. H- V, V0 R6 O$ o
  592. ; PHP's default setting is "&".% ^4 Y0 C' L7 w4 I' w2 X8 ?1 [  _
  593. ; NOTE: Every character in this directive is considered as separator!% Q2 ~  K0 k( V( R2 C& ?6 i, h
  594. ; http://php.net/arg-separator.input/ p, d& D( F1 r, j1 j- ^' L) A
  595. ; Example:
    5 y: G4 p6 L  s) r. l; b
  596. ;arg_separator.input = ";&"
    5 _4 {* K% ?' i

  597. + h/ W3 ?2 O& L) c' t
  598. ; This directive determines which super global arrays are registered when PHP
      t) e' d2 z2 z8 O4 s& l
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super3 ?3 G& K+ G0 R+ v. O. c# W4 R
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    + F) c' d( N( g1 I% ?1 Q- t, b' U
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    5 F% L. k7 `2 w- H7 {; M
  602. ; used as the others, ENV is not recommended on productions servers. You- P* ]0 H% y; {/ X/ [7 f! E
  603. ; can still get access to the environment variables through getenv() should you0 B& \1 F; |& ^
  604. ; need to.1 {- Q7 S- q2 W" i' O2 [
  605. ; Default Value: "EGPCS"
    8 Z9 K' i- v( U
  606. ; Development Value: "GPCS"! Q9 X* O9 S  }* A# s5 G) W
  607. ; Production Value: "GPCS";% b) Q8 L) S4 z1 I6 F
  608. ; http://php.net/variables-order
    * w$ j% n& o- t1 q' ?* Q6 Y9 Q
  609. variables_order = "GPCS"
    $ s( A& d) G9 S
  610. / @& `" [% }/ W3 r& y; K
  611. ; This directive determines which super global data (G,P & C) should be
    " ]- A; Z# l. D! E# z, t. [
  612. ; registered into the super global array REQUEST. If so, it also determines
    / B! O6 _' B7 P: o/ A8 w# n. w
  613. ; the order in which that data is registered. The values for this directive
    , C' R! b9 B3 _1 X- J9 \
  614. ; are specified in the same manner as the variables_order directive,$ S; }9 R$ U, s  m& a/ Y
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set( Z% Q& x! T5 `
  616. ; in the variables_order directive. It does not mean it will leave the super
    5 N6 H1 M1 b4 S7 |% G; e  m- s
  617. ; globals array REQUEST empty.
    3 A! x; y. f. p& `0 t+ I- n
  618. ; Default Value: None6 [" e3 ?$ H* F( ^( ?# ~* w
  619. ; Development Value: "GP"3 p# d2 R0 U* B; V  n) a
  620. ; Production Value: "GP"& [5 |1 @, k& u7 X
  621. ; http://php.net/request-order
    3 c" }5 N% h9 u: q' l
  622. request_order = "GP"
    3 b0 B0 e: t  a. v" D

  623.   _$ x; B/ q1 G1 e% ^
  624. ; This directive determines whether PHP registers $argv & $argc each time it! c6 v7 Z* e( l! v: i. A/ F. V
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script: s/ O* B2 q4 q  [; n" e6 y2 ]
  626. ; is invoked. $argc contains an integer representing the number of arguments& y- j3 I+ g+ f2 M& J$ J  L: f) B
  627. ; that were passed when the script was invoked. These arrays are extremely
    ( f& |( O( O/ I% W: v1 _
  628. ; useful when running scripts from the command line. When this directive is
    1 F1 _2 Y, ]' g( y& Y$ P! _
  629. ; enabled, registering these variables consumes CPU cycles and memory each time! }/ c7 d3 I; ^% i
  630. ; a script is executed. For performance reasons, this feature should be disabled# h* q+ p& U3 P/ S# u, @; A0 z; m
  631. ; on production servers.3 ]' ?9 p  Z1 w  ~6 a! y
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ' n% n: t, m: `
  633. ; Default Value: On1 V' z& {  T3 E) ~7 ?" a% @
  634. ; Development Value: Off
    / Q: ]# `6 c# d
  635. ; Production Value: Off
    ( d! J6 U! @6 B. r- E, c+ J2 U( I
  636. ; http://php.net/register-argc-argv
    8 L; W' F3 n! ]* x5 p! U- g
  637. register_argc_argv = Off$ A3 P4 D; i8 Q( F3 q1 `
  638. 6 A* m4 D" P- q7 F: f: B9 N* q4 k
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ( E2 [! N7 P. g  P) y4 X( V
  640. ; first used (Just In Time) instead of when the script starts. If these
    9 e9 d: n( ?3 ?' D% T) P
  641. ; variables are not used within a script, having this directive on will result
    " b+ ^2 ^! N6 j; N& O5 ^0 k
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    : S5 A( M8 _1 A1 ?
  643. ; for this directive to have any affect.
    / b& o; h# ~9 c! N1 S  E: y
  644. ; http://php.net/auto-globals-jit
    6 _0 A! Z( C% T, D
  645. auto_globals_jit = On
    4 ^' |6 K, X. U
  646. ! M1 ~9 a+ b. c5 n) ^! N
  647. ; Whether PHP will read the POST data.
    : n+ y2 k- F  W, s: i2 Z; P# x
  648. ; This option is enabled by default.
    1 m' r7 Q  {! `
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    8 ?# N* L+ z# R7 n# J# b8 Y7 e
  650. ; and $_FILES to always be empty; the only way you will be able to read the8 w( s8 h+ E/ G; i0 a2 H& }2 A
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    $ y- s  s6 z3 I" F, n4 o: Y
  652. ; to proxy requests or to process the POST data in a memory efficient fashion." p' Z9 l; R2 Q' \3 s: Q
  653. ; http://php.net/enable-post-data-reading
    ) G/ \( u9 f. B: o
  654. ;enable_post_data_reading = Off
    9 ]* |' d6 \+ ], n

  655. 8 k& ]. r2 n$ I1 k0 m. V9 r
  656. ; Maximum size of POST data that PHP will accept.4 l3 I% K+ C  x  V8 W
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    1 U7 c2 S/ v  D* q0 a5 l7 _& e0 c
  658. ; is disabled through enable_post_data_reading.
    , a- G% ~( k7 z
  659. ; http://php.net/post-max-size
    % u3 I- j; e5 w: Y
  660. post_max_size = 50M
    8 s8 p3 e  t3 p' G
  661. 9 y& ~) @0 y) ?3 u" ^( p$ l: [
  662. ; Automatically add files before PHP document.
    0 M" i3 T9 K2 P
  663. ; http://php.net/auto-prepend-file
    1 [1 o& i8 M9 o) {  X+ t4 R
  664. auto_prepend_file =- g& o4 w% k  N9 e

  665. # p9 w& n( k0 c( V9 \, I" r
  666. ; Automatically add files after PHP document.* v$ X; F) r0 Q( G+ d0 X# [  @
  667. ; http://php.net/auto-append-file
    8 k% z9 g, r  l3 x
  668. auto_append_file =
    4 T' h4 P- i: y: Q( i; l

  669. 7 }# @% b8 N( {
  670. ; By default, PHP will output a media type using the Content-Type header. To5 |. g2 b3 L) i* b1 J3 X$ g+ E
  671. ; disable this, simply set it to be empty.$ p* U1 U0 k+ E" E' u2 C, a
  672. ;" T0 D2 y* r$ ^9 q+ ]+ d9 y8 f
  673. ; PHP's built-in default media type is set to text/html." o, N1 a2 Z. x9 ^( c
  674. ; http://php.net/default-mimetype* y  ~/ ~0 C- ~7 a; g; ]1 W' q. m8 T
  675. default_mimetype = "text/html"- V+ U( [1 a% ]3 \# i% n% U- Z9 I/ w
  676. $ O3 c' G2 _8 I9 u
  677. ; PHP's default character set is set to UTF-8.2 v, P# M( O# l. ^% Y+ \
  678. ; http://php.net/default-charset
    : M5 {& ~* v' P8 q* u. m
  679. default_charset = "UTF-8"
    ) b( r. N* U# K8 z8 V
  680. ; o- U5 i, ~. \8 J
  681. ; PHP internal character encoding is set to empty.9 F* |% t- E5 c9 s5 X+ o
  682. ; If empty, default_charset is used.: u7 e4 p8 |8 O+ _
  683. ; http://php.net/internal-encoding
    ( {3 C' c7 b, U
  684. ;internal_encoding =4 x2 M3 Y" c7 {

  685. 9 V1 f6 o+ z; z/ ]0 e
  686. ; PHP input character encoding is set to empty.
    " F, M0 g8 T+ a' B* J3 l
  687. ; If empty, default_charset is used.
    # D+ _+ f' ?2 o% K  P4 q+ {
  688. ; http://php.net/input-encoding
    " x: P% U/ G2 X& G
  689. ;input_encoding =
    $ K  A  a1 H# d9 c9 @
  690. ( F! j& f9 Q2 T8 Z$ a
  691. ; PHP output character encoding is set to empty.3 \& J4 C! x5 t. Z3 @) [& ~1 v
  692. ; If empty, default_charset is used.0 g) n' f" B9 x
  693. ; See also output_buffer.% j; Z5 f) Q& h- u* a
  694. ; http://php.net/output-encoding' Z0 Q% M5 y2 G# q* f" ~7 k
  695. ;output_encoding =
    * h& `5 [4 U6 g1 B' L6 U
  696. - [# i8 f; P% k: h
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is0 C2 E9 i. I9 Z+ _
  698. ; to disable this feature and it will be removed in a future version.8 q9 B4 W! b2 Q& r! z7 L
  699. ; If post reading is disabled through enable_post_data_reading,  U: X' I+ v4 m( j: ]7 O
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ' Z7 a  v  j8 {2 V& s1 l$ ^
  701. ; http://php.net/always-populate-raw-post-data
    # L! `, `4 v7 V
  702. ;always_populate_raw_post_data = -1& o: Z% H3 X% K; F
  703. 6 X5 e+ n, N# @( u2 D6 Z
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    / F9 Z# H" s# m5 r" [5 k
  705. ; Paths and Directories ;
    " P( w- r# N+ {. s
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;$ Y7 ?: h. P. ?& R
  707. - F( r  g: a, i; h2 |
  708. ; UNIX: "/path1:/path2"5 i# J( }# t7 r! E3 @# n
  709. ;include_path = ".:/php/includes") s+ `: L7 I# D1 O& g, I* ^
  710. ;! [; Q, a- a4 ~( \
  711. ; Windows: "\path1;\path2"
    3 K1 F% }* x. w
  712. ;include_path = ".;c:\php\includes"2 S# l! e  T* P; r2 h" C
  713. ;3 x, M- s5 S# @
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    . f, H: W) N) s+ S8 \- w
  715. ; http://php.net/include-path3 y6 ^6 n: X8 A' Q* t; y8 \
  716. - C: P- y2 v7 O0 b! A- j; _
  717. ; The root of the PHP pages, used only if nonempty.
    , C( ^% b& P' |% W' P
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    & ~5 D5 `( q. d( M3 B
  719. ; if you are running php as a CGI under any web server (other than IIS)2 d4 S7 B/ k( }1 n3 c% C, g; d
  720. ; see documentation for security issues.  The alternate is to use the" n$ ~, J$ i' S' O6 u6 B
  721. ; cgi.force_redirect configuration below* r/ V, ?+ i0 a$ H6 Q
  722. ; http://php.net/doc-root% a! J8 _1 c5 w0 R3 a0 Z. X
  723. doc_root =0 G. J+ U! o. S3 ^% [
  724. / h5 M% ^; H7 {8 D; l1 _' i1 P
  725. ; The directory under which PHP opens the script using /~username used only3 Q( w# i& K' O% {% f( u! H& V
  726. ; if nonempty.
      ~) s' {; M& J( n  j
  727. ; http://php.net/user-dir
    7 K- k  s. F+ {  L/ ]) r
  728. user_dir =
    % w! Y$ T- e* L  r4 A' m9 n
  729. 8 t( d" u5 n; W8 S' V; z- u
  730. ; Directory in which the loadable extensions (modules) reside.
    * x9 H$ ^! u/ q7 }/ t; c% v
  731. ; http://php.net/extension-dir2 o" a) G/ w' c# h# T
  732. ; extension_dir = "./"
      y/ r0 M: a$ T: \
  733. ; On windows:
    4 q7 ^/ j5 Q3 d- @# u$ s5 p
  734. ; extension_dir = "ext". C, |7 ?( v' m/ z4 q
  735. - @" h, S* w& I1 ]0 _
  736. ; Directory where the temporary files should be placed.
    # c( N# m5 w# a" z. M) X$ a# H: g3 f4 k
  737. ; Defaults to the system default (see sys_get_temp_dir)
    5 U6 A. Y. H2 b& n
  738. ; sys_temp_dir = "/tmp"
    ) l/ R# U/ G4 m7 e
  739. . X! ?9 _) _  D4 Q3 l4 c+ K
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work7 ~* Z" a- D" z. P2 [1 y* o" s  J
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically& c/ V# x3 p/ m( H# h3 }  N- X
  742. ; disabled on them.8 I  o0 {" n# ]% r! l2 [5 F
  743. ; http://php.net/enable-dl! y9 u2 o+ g, S. e, \& P. S
  744. enable_dl = Off$ U8 j4 n9 W+ t3 W( c

  745. 4 s* K) H2 {' @7 C% j- a, A5 \- b) _
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    9 w" G* I0 Q, C6 d* ~0 K2 ?& \0 h
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can/ l& O2 {/ X6 T+ v# W- n4 \' g
  748. ; turn it off here AT YOUR OWN RISK9 u: \% ^: `; Z8 h4 z7 v
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ' A3 A  w4 U' c! b
  750. ; http://php.net/cgi.force-redirect1 e. U) W% a3 Y, f' s
  751. ;cgi.force_redirect = 1
    & W. ^; w: L3 ?; d; M
  752. " e" E: X& R: ]" S0 Z9 N# S& A( y
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ' L- o1 W( O' F
  754. ; every request. PHP's default behavior is to disable this feature.. p& t& f" E1 q8 A  Y/ i7 q" K
  755. ;cgi.nph = 16 ]# p  j3 I+ F
  756.   ?! P% H" {( I/ c
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape( O$ D7 @* K  I" X% f: }
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    9 A$ l1 K5 }& W* _% s
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY1 b3 [% ?- I/ G6 B1 |  i
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    + ?+ B9 |- p, {9 B, x2 s6 v- F4 z
  761. ; http://php.net/cgi.redirect-status-env$ [- t$ ~3 r7 z+ j4 E2 }
  762. ;cgi.redirect_status_env =
    ' u/ [: I. C1 _; ]8 w' u; E
  763. 8 ^, ~& v; I$ ^7 o
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    - o2 r3 o9 Z6 s9 s& h
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok. c6 ?* p0 k' @3 q7 ]) q
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting! E4 b+ l# M  @; m* j' }) h
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting6 ~+ o# G% }: g7 u: C: d' w
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts" i  r. ]( |6 @8 b& \
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.. o0 y# S2 y3 x0 }1 F7 A
  770. ; http://php.net/cgi.fix-pathinfo
    ( I5 D& `4 U# p# d& r5 G/ V
  771. cgi.fix_pathinfo=1
      V' u$ a% X3 r* |
  772. $ r! D5 B& w" k3 P- w
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    $ r6 V/ z* }4 g" ~* o! ?' L  }, C
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    6 j5 x+ B9 v5 A2 g5 x* C4 U
  775. ; http://php.net/cgi.dicard-path, i+ f& u( j9 p2 v5 K% A; b
  776. ;cgi.discard_path=1
    ! h  }5 k: `+ N1 M5 J+ i

  777. 3 Z, d3 ]- D$ Q& _# d4 R
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    , K! P& ~5 l1 d3 `9 P
  779. ; security tokens of the calling client.  This allows IIS to define the
    * J4 V7 S$ @( q$ _5 R
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    5 \. f" P: Q/ u! h0 l( e( A& C
  781. ; does not currently support this feature (03/17/2002); _; g+ W: o: h# ~( `! C$ x0 ^
  782. ; Set to 1 if running under IIS.  Default is zero.
      r+ f3 `9 ]3 v! |/ I
  783. ; http://php.net/fastcgi.impersonate
    ) D' W/ m) F& B: ~; C
  784. ;fastcgi.impersonate = 14 ~9 z. P% K7 i0 A7 E" \$ l

  785. ; L( ^: ^9 x) ?6 v
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable7 l6 I9 r* ^" p  G. V7 @
  787. ; this feature.
      B' w) k5 J. r1 \) @
  788. ;fastcgi.logging = 0
    0 ?& Q- e. L) s3 _+ ]) X

  789. 8 M9 i" H7 _. k7 w5 R3 _
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ' Q6 Z5 L) |# @  H
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that* d# a$ ]5 I6 z: d. X6 _+ I9 B
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    0 i* P2 G! `, {* m
  793. ; RFC2616 compliant header.
    ) @+ n" }7 z) s+ ~8 }8 |
  794. ; Default is zero.
    - V0 f* m( |8 A; E2 n
  795. ; http://php.net/cgi.rfc2616-headers+ u6 k/ T+ Q4 k4 Y
  796. ;cgi.rfc2616_headers = 0
    3 J5 m4 c7 y8 m4 ^3 M1 z
  797. . |# A+ D' [. L& x7 N. ~8 d
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!7 T+ b3 H7 \1 u" ^2 v5 ^: P4 y: C
  799. ; (shebang) at the top of the running script. This line might be needed if the
    , c$ _1 D, V; R& G
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI! p* P/ d+ @% a9 d9 @; H
  801. ; mode skips this line and ignores its content if this directive is turned on.
    $ G) o9 K+ b0 f! f7 S$ K- L6 @
  802. ; http://php.net/cgi.check-shebang-line
    . P9 d( E& Q4 }5 C& G& q
  803. ;cgi.check_shebang_line=1
    # j+ n, P9 _. y# E/ S
  804. ! p- `/ V! \" B/ S7 q
  805. ;;;;;;;;;;;;;;;;5 G, _3 W- E  M) E& A' c* t0 Z; @; c( x
  806. ; File Uploads ;$ G8 y$ |6 q8 E; ~& q
  807. ;;;;;;;;;;;;;;;;
    ) P% l5 `; g0 _& u+ Q7 d$ Z" N

  808.   x7 C) Z( A2 h7 F1 S3 v
  809. ; Whether to allow HTTP file uploads.# X+ _0 }' f0 F0 S) ^
  810. ; http://php.net/file-uploads
    ; O% V8 d1 G+ j, u8 a
  811. file_uploads = On. N$ H7 ^% w, h, N; T% B" y
  812. 5 v# r7 X8 f. Z( B& ^" n' F7 X" f
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    * g4 V! A: {- y. A# |& d
  814. ; specified).
    0 v6 g! Y' L2 w9 a: m+ ~
  815. ; http://php.net/upload-tmp-dir# a0 t5 q" y- N8 I8 Z0 O
  816. ;upload_tmp_dir =
    + M; y% C8 q, s5 E( o' r( ^

  817. 1 J3 n9 s* }! t2 ^% W% Z
  818. ; Maximum allowed size for uploaded files.2 U' d) C9 G3 w- l+ c0 V7 m
  819. ; http://php.net/upload-max-filesize
    # \0 w2 Y8 Q. d  F) L
  820. upload_max_filesize = 50M
    $ N2 Y& a& ~. R% t9 x" {, o
  821. / G3 ^" d0 O: {9 e
  822. ; Maximum number of files that can be uploaded via a single request2 S0 B1 F2 E3 g3 I7 F" d6 M
  823. max_file_uploads = 20
    * v: r; R1 y: {
  824. 7 d% R  w6 W1 Q/ W
  825. ;;;;;;;;;;;;;;;;;;1 C# w: F5 Z! ~/ h; H; j
  826. ; Fopen wrappers ;, m/ N7 L- N+ K8 H, L# k
  827. ;;;;;;;;;;;;;;;;;;
    2 t" K6 B8 G8 X3 }* L
  828. 8 p9 C* g# x7 \9 u$ k/ d' D% |
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.- P. j$ V$ Q, X# G: a% u
  830. ; http://php.net/allow-url-fopen: k1 k  }, K3 |& o) p
  831. allow_url_fopen = On9 a" }% g2 ]& M' o9 n  r
  832. 1 R, j% y) v* Q( o: \3 @( Z) l
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files." q0 B" t$ T1 i5 D  ^
  834. ; http://php.net/allow-url-include
    $ `2 z2 X4 Y2 U4 g7 u0 I7 p6 b
  835. allow_url_include = Off: f5 P1 c$ `8 b3 B) W( G

  836. 8 t+ y, \& ^* y2 g, H
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    $ ~) Q( o$ B4 x6 F
  838. ; for this is empty.( l/ E$ F3 [# }0 P) \, B, p( K
  839. ; http://php.net/from0 K( d; ~3 a+ k' _# }9 c* ?5 U
  840. ;from="john@doe.com"9 @, d6 Y" x  o6 A; W0 A. y

  841.   Z, Z- h* y3 P5 `/ U- D
  842. ; Define the User-Agent string. PHP's default setting for this is empty.1 c" y1 F& Q% `) N0 c$ @9 U
  843. ; http://php.net/user-agent
    / ~7 q5 Z2 l8 Y4 Y/ s( c7 g, |9 _1 c9 {  d
  844. ;user_agent="PHP"
      M. Q+ d0 i: C- Z: A
  845. ) ^4 Y7 Z+ ]8 j, b
  846. ; Default timeout for socket based streams (seconds)% J; i) k- _6 a5 l, S4 ]
  847. ; http://php.net/default-socket-timeout, A# G: ^# W' y+ p/ A1 U
  848. default_socket_timeout = 60
    & y! Z0 S* [- A) Q1 r: y  A
  849. + g0 l8 f4 c) T2 q& X! [! z
  850. ; If your scripts have to deal with files from Macintosh systems,
    , v  u4 A: p' O# b' _/ n& U& n
  851. ; or you are running on a Mac and need to deal with files from/ E* R& s, R  G
  852. ; unix or win32 systems, setting this flag will cause PHP to9 s+ a% O  `' e0 V5 K
  853. ; automatically detect the EOL character in those files so that
    . R, R8 _0 w7 q% x- j
  854. ; fgets() and file() will work regardless of the source of the file.% H  w9 v9 l6 W
  855. ; http://php.net/auto-detect-line-endings
    : P" K( s% Q- u4 l8 V  @+ H
  856. ;auto_detect_line_endings = Off; A$ |4 J' y8 T2 ^) U
  857. . l3 F, y$ A# a& X7 ^
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ' w8 Y5 k" j9 T9 q0 c
  859. ; Dynamic Extensions ;( [3 ~) \) P* X' p
  860. ;;;;;;;;;;;;;;;;;;;;;;, S1 B! `1 C6 q
  861. 8 _. q; w( w5 q/ @" v* \# v
  862. ; If you wish to have an extension loaded automatically, use the following4 k2 j7 Y) F6 {/ X& {* M
  863. ; syntax:
    $ n3 D3 O3 I% {) W  D- p9 K5 l
  864. ;
    - q" Z; |4 E! Q$ {% E6 P3 V  e; y" l
  865. ;   extension=modulename.extension& {. x& }" H1 i8 U. p
  866. ;
    ) y4 @3 l& Z$ j7 L/ X8 ?* O0 ~
  867. ; For example, on Windows:0 B- q8 b' z( `2 Y
  868. ;1 g' i+ a5 z# F% U6 r
  869. ;   extension=msql.dll( \5 y7 `9 f+ S7 T! p# n
  870. ;
    7 q: P/ E: `5 w& J% p8 D5 G
  871. ; ... or under UNIX:; [+ _) I3 }9 [
  872. ;% _; n" r3 G; K, h' v
  873. ;   extension=msql.so$ E" K/ v$ r4 @, O  @
  874. ;. u3 a+ H5 b7 Q* \! M1 c
  875. ; ... or with a path:0 A7 ?  J- I" q' \5 E( [' w. n
  876. ;4 v8 w( ]% Z! D% t7 j
  877. ;   extension=/path/to/extension/msql.so+ I5 I( T4 {6 i1 t7 c# Y" E
  878. ;8 s# M  o: x' K
  879. ; If you only provide the name of the extension, PHP will look for it in its
    7 @/ |( R5 z$ q3 ?- [
  880. ; default extension directory.9 i; z- V4 k3 L- X% g& s
  881. ;
    3 T5 Z; Y5 N) R! ~5 |" _7 W4 ^
  882. ; Windows Extensions  d* f8 |* w2 J2 v1 x: B# v! Q
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ( g8 A: |. X" c/ |- q9 {) R( Y
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
      s2 X" E+ }6 l% @
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    " w" Z6 m% U3 I
  886. ; Be sure to appropriately set the extension_dir directive.7 {5 V- }! t; l5 x+ ?$ C
  887. ;; V( G9 h9 X0 F) E% u
  888. ;extension=php_bz2.dll# i0 t" K  I$ N6 }+ o5 }
  889. ;extension=php_curl.dll$ `7 ^6 Q* x& u5 J0 _5 s2 r7 |* y3 {
  890. ;extension=php_fileinfo.dll/ @1 u9 M8 j- m3 {) r  y- V4 Q. C
  891. ;extension=php_gd2.dll: ?8 K$ x& N. U6 d" t3 d; z5 b
  892. ;extension=php_gettext.dll! ^+ t' v4 r" q1 `) G4 L+ }
  893. ;extension=php_gmp.dll% `0 U  f& S. t- P0 p3 Z0 M
  894. ;extension=php_intl.dll- {/ X5 d1 m. M$ N
  895. ;extension=php_imap.dll! n1 L3 r) s8 b3 ]: b  M  j
  896. ;extension=php_interbase.dll
    6 t) \3 T3 ^( e# G+ M) u5 P
  897. ;extension=php_ldap.dll' b' e9 J3 E% u* H
  898. ;extension=php_mbstring.dll6 I/ [3 J2 R0 j9 ^& D
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    . o1 p) H& ^8 F; a$ B' V  i- t' ?
  900. ;extension=php_mysql.dll8 @$ F# o) C/ r* R: f/ c
  901. ;extension=php_mysqli.dll6 x3 H+ n( q* J5 Y3 j
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    8 ~$ a  o+ z# Y! j. L9 e
  903. ;extension=php_openssl.dll1 e: X; f: x3 Q. d
  904. ;extension=php_pdo_firebird.dll
    * I2 A* m9 p$ g5 e( M
  905. ;extension=php_pdo_mysql.dll" H' s5 b8 s/ \- g9 E0 e' O# @
  906. ;extension=php_pdo_oci.dll1 d; W; t: x! }: D" |' S0 p# j" F
  907. ;extension=php_pdo_odbc.dll
    % I2 z9 \0 A0 R- U
  908. ;extension=php_pdo_pgsql.dll
    2 T+ B2 c! H3 c$ d( U( \
  909. ;extension=php_pdo_sqlite.dll
    ; `3 @; t( b3 u2 @" d
  910. ;extension=php_pgsql.dll
    8 u5 e; W0 @3 N& b% D& ?
  911. ;extension=php_shmop.dll4 n+ _3 K  @, G. j  u
  912. - d' i. H6 r9 Q( U- m" b9 t
  913. ; The MIBS data available in the PHP distribution must be installed.
    , J' z" _+ M* j' ]0 O" b
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    ( K0 @: x" l+ Y& C8 z" p
  915. ;extension=php_snmp.dll& }, ~0 p1 D0 u, R5 h( o5 y5 {
  916. 2 r! x$ \$ K! a1 i* |3 u! F9 k, X0 J
  917. ;extension=php_soap.dll
    : Q* T; T6 i& V: [! \/ |# j
  918. ;extension=php_sockets.dll
    / a3 G- K3 ]  h3 S  A- a  F
  919. ;extension=php_sqlite3.dll
    ' k# ^6 `/ I# z) }) \- M/ L
  920. ;extension=php_sybase_ct.dll
    - v( H- }- [( B5 q! h7 M
  921. ;extension=php_tidy.dll6 N2 i0 J0 {$ q: {8 w
  922. ;extension=php_xmlrpc.dll2 S, f6 E3 N) G( B6 R' L4 V
  923. ;extension=php_xsl.dll
    + j' O. f0 Z5 Y2 x2 m" M

  924. % n0 @/ L. Q( {5 n$ x/ @
  925. ;;;;;;;;;;;;;;;;;;;+ O% o( ]4 f( ]5 D/ U: Q( t
  926. ; Module Settings ;
    ( {/ U; U+ J+ i! P8 H
  927. ;;;;;;;;;;;;;;;;;;;
    6 l/ W: ~8 t4 n. B1 h5 L  W  M

  928. 5 S3 z8 r( m+ x% x2 v) U
  929. [CLI Server]. M4 Q5 S% q- Z$ f
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    7 [2 V  U  x0 O/ D$ C
  931. cli_server.color = On
    8 ^! P  B2 Z3 F& ~4 D/ N
  932. : r, n/ B# ]* u' w& z% V
  933. [Date]
    ) |  A" a- H8 |. f; j! g
  934. ; Defines the default timezone used by the date functions8 v4 @% S' w7 K. P5 i  u
  935. ; http://php.net/date.timezone3 d+ y) l  Z" q! n
  936. date.timezone = PRC
    5 j- A' ]( P2 H  B$ e) C& O

  937. 4 |: I* Q) o8 O8 G& S' V
  938. ; http://php.net/date.default-latitude
    # g/ D* s  _, Y6 F0 Z5 i: M
  939. ;date.default_latitude = 31.7667
    1 b: X8 Z" H) N1 n3 A
  940. 4 ]4 X. U& D& K% n4 X
  941. ; http://php.net/date.default-longitude
    4 v0 ?* [7 v0 J
  942. ;date.default_longitude = 35.2333- i  i; \1 `; |/ P/ n& P

  943. 3 }" }$ D- x% k0 ~$ y
  944. ; http://php.net/date.sunrise-zenith
    4 d9 A$ K6 t9 r. l$ g) S$ Y& B
  945. ;date.sunrise_zenith = 90.583333
    2 h6 ]7 @+ F3 b) X$ e' L
  946. ) u6 Y  F6 j8 ^! H7 d) v% l5 v
  947. ; http://php.net/date.sunset-zenith+ v1 ]2 G: j; T# T! Y* Z
  948. ;date.sunset_zenith = 90.583333
    ! [+ d1 v3 j9 G0 A. y0 W+ J

  949. + Y3 M/ y, _5 A9 S/ D/ ^; I
  950. [filter]
    4 a. k1 l3 e8 o8 N% f* [
  951. ; http://php.net/filter.default8 F5 w6 b' G( p2 x" a5 j
  952. ;filter.default = unsafe_raw
      P, L% m4 R, T) g3 ]0 ~3 j

  953. / o9 [  G' o( K9 H  e' S
  954. ; http://php.net/filter.default-flags' V" N& m2 e5 O6 J) |" u* w
  955. ;filter.default_flags =
    2 J# i! u2 K* A/ ?
  956. ) Y, ]" @' H4 |/ B% M; _+ F
  957. [iconv]' \, F4 \+ [& w( Y$ O; M" f
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.+ f1 v# G" E- J7 J3 w$ Z- t. {
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.& ?) E; r5 P3 |4 ~
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding+ E, f2 x9 u& ]8 s6 A* ~- _
  961. ;iconv.input_encoding =
    * P( N0 L6 j% v3 r. D  D5 ?" R
  962. 0 l; i  F0 _/ Z8 Y3 w) U
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.' x6 i$ D; X. T- ^
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . V3 B1 w+ W; M
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding( }! L. G" G  U# ]) U5 w. V2 b
  966. ;iconv.internal_encoding =0 @# C; ?) V  Z: D5 X3 {
  967. 3 A9 L( u. R1 l# W& g6 p/ d
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.' W% d' K' w$ p2 w4 y$ n
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.1 L7 S7 Z1 n" ]+ d# U) u, N
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    3 J, _" p4 m# W) _+ ]6 F; p' ^% b
  971. ; To use an output encoding conversion, iconv's output handler must be set, w9 a  |4 p( V- N+ G* M3 v
  972. ; otherwise output encoding conversion cannot be performed.
    & {" b! }$ D% v: d8 D3 A8 L
  973. ;iconv.output_encoding =* \: }9 D. \0 L1 V4 l& }

  974. 1 e! N# t; j. T# }/ v$ w
  975. [intl]! d; C/ f$ D0 }7 K+ P$ n) s
  976. ;intl.default_locale =
    : S, T, L+ Q' z3 }5 X) W* y7 b
  977. ; This directive allows you to produce PHP errors when some error
    * s" c- O5 U. H- x
  978. ; happens within intl functions. The value is the level of the error produced.
    . B, D$ `! S1 B. ]* s
  979. ; Default is 0, which does not produce any errors.9 g/ j3 c% z$ m
  980. ;intl.error_level = E_WARNING% @' u2 @) _# A; y
  981. ;intl.use_exceptions = 05 |1 o" K3 w. ^

  982. 3 Y; n& D+ p/ p9 m/ W; [: j. j
  983. [sqlite3]
    + q. E* C5 A8 y3 W
  984. ;sqlite3.extension_dir =
    1 x; o/ K: ]. f$ R. m2 C# n

  985. 2 j( M5 R/ f* N- R6 d
  986. [Pcre]3 y6 ?" D8 q- f  i3 q# ?
  987. ;PCRE library backtracking limit.) J  Q# h& J( e8 {5 |2 @4 ?1 [. O
  988. ; http://php.net/pcre.backtrack-limit
    ' W+ q0 S! {/ M9 r3 Q1 j" [2 A
  989. ;pcre.backtrack_limit=100000
    * i2 N+ M. d) l( D7 [$ G

  990. , ?7 |, S' Y" E: G! s- R' L' f4 ^
  991. ;PCRE library recursion limit.
    ' V1 g  Y& h8 k5 Y" f
  992. ;Please note that if you set this value to a high number you may consume all
      j: \" {. I+ p% J3 J2 Z% i: s6 W
  993. ;the available process stack and eventually crash PHP (due to reaching the: C( \# g% }/ W$ d; ?1 [, ^
  994. ;stack size limit imposed by the Operating System).
    7 |4 Q2 h; r% u/ D0 k
  995. ; http://php.net/pcre.recursion-limit
    5 y$ k: C. }1 |( i4 A' w
  996. ;pcre.recursion_limit=100000& ^: k3 g' w+ I7 e" ?9 F/ J

  997. 8 f$ {0 `* ~' ^5 M9 W3 k7 ~8 C
  998. [Pdo]
    ; f2 _( v! S1 @2 M
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"7 a! v( v# H4 y$ o4 L
  1000. ; http://php.net/pdo-odbc.connection-pooling$ h* t! j2 l# M/ P. S9 y  y  \  V
  1001. ;pdo_odbc.connection_pooling=strict2 U6 i. S: G) p" p0 M: S! R7 _  X
  1002. ' U, X$ {! H9 L, p
  1003. ;pdo_odbc.db2_instance_name
    $ J! s: Z# _& C* e7 t

  1004. # a& r7 S6 G/ [5 O6 J2 u
  1005. [Pdo_mysql]5 M7 B2 W6 |3 T; f
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    5 }0 o0 ~" Y( W/ ^. w% i. S# I
  1007. ; http://php.net/pdo_mysql.cache_size
    0 i* m/ _, C. ?" K4 g
  1008. pdo_mysql.cache_size = 2000
    1 a: k( D2 x* ]
  1009. 3 G0 h3 `4 r5 f% O. f
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    7 w% h5 j# l' m) S
  1011. ; MySQL defaults.
    3 [  k4 U9 L4 b) l2 I: |
  1012. ; http://php.net/pdo_mysql.default-socket
    + n4 U0 `7 f, j  i$ D
  1013. pdo_mysql.default_socket=  W* ~/ W! W/ S" t$ A7 G
  1014. : i" `/ {3 z* E1 j" p/ U
  1015. [Phar]
    ! l: e7 G3 a4 B+ L7 Q: _" Z
  1016. ; http://php.net/phar.readonly
      i6 d5 j% }0 c& g7 \4 `0 [
  1017. ;phar.readonly = On
    2 W0 _2 S. n% ^  t6 x! n2 V/ h
  1018. 4 q0 a$ M& J( m/ w+ C* ]5 Z( B
  1019. ; http://php.net/phar.require-hash
    " u, t1 E& d6 z: i' b% ]) h
  1020. ;phar.require_hash = On
    , \  s5 B: t- @: a+ C0 K8 R7 ?; B

  1021. : `! O+ n5 f2 x( H( P! m
  1022. ;phar.cache_list =3 E7 _: I, n- r5 |, B& Y

  1023. . _; c. t7 R& ~4 [# f' n
  1024. [mail function]
    1 d% ]8 T/ X2 m
  1025. ; For Win32 only.0 I/ S; J$ |: W0 J
  1026. ; http://php.net/smtp
    $ G- O7 o) J- |. x
  1027. SMTP = localhost! G( n8 ^1 }: O& O! P' \
  1028. ; http://php.net/smtp-port, @7 ~  C# \' m# M' T
  1029. smtp_port = 25
    # o9 p0 M. x! ]
  1030. & m4 A1 `4 P: k% k( T2 q
  1031. ; For Win32 only.& X: h+ Z5 h; {7 }" Y6 a0 `% v
  1032. ; http://php.net/sendmail-from/ o2 O9 b7 N6 W2 E3 {
  1033. ;sendmail_from = me@example.com
    . r! k+ N) s, S% t! u  K/ N! W
  1034. . E& f; |; a& [/ w  b
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    # z7 Y' z; J2 j
  1036. ; http://php.net/sendmail-path
    5 Q0 @1 K/ V" F9 z  E8 Y0 J
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    7 j, i. g; h$ g3 f& g' n/ d
  1038. ' x  \) d$ l% [; J8 D' {  l
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    8 Q8 |* ~7 T/ p/ v# }$ N
  1040. ; to the sendmail binary. These parameters will always replace the value of* V# H% v% C% b: }: F& Y
  1041. ; the 5th parameter to mail().) s4 {3 R, u* y+ {
  1042. ;mail.force_extra_parameters =4 x: l, J7 |  a4 L7 ?
  1043. 0 P% }! H+ [0 I* C0 i
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ) a2 `9 T. E9 k# m2 F
  1045. mail.add_x_header = On
    / n, X8 ]  q7 I  l/ l

  1046.   E% E5 `! H' @/ J
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    6 [* U% L. m; _6 M3 I& t
  1048. ; the full path of the script, line number, To address and headers.
    / u1 ?$ X, C2 [) L* A; A
  1049. ;mail.log =, h/ v& L+ |7 p
  1050. ; Log mail to syslog (Event Log on Windows).
    6 d  E! ~$ o6 R  q
  1051. ;mail.log = syslog
    / p2 u) o+ n5 y6 {

  1052. ! J0 U, \! r; W5 W- s  @
  1053. [SQL]
    7 g4 K6 B8 A& ~- n3 f2 _( y
  1054. ; http://php.net/sql.safe-mode* |. B4 L/ g( p: x
  1055. sql.safe_mode = Off2 L2 ?$ ~# h9 c- h1 V
  1056. . G3 y  J; F& ^+ }! N* D
  1057. [ODBC]
    % v) A  c- X" O1 p1 g  d1 i, ^% c% l
  1058. ; http://php.net/odbc.default-db. h! R- m5 O3 b- j- a& s
  1059. ;odbc.default_db    =  Not yet implemented) z: A, D# A  `$ Q. n( \
  1060. ; E) F! i- ?* a% s1 j
  1061. ; http://php.net/odbc.default-user
    * }6 g) G! @; H# I# X5 e5 m0 ?' [
  1062. ;odbc.default_user  =  Not yet implemented
    1 m5 k' R4 t) ]
  1063. 7 z9 w* i- C* [$ _; Y' P& b3 u" |
  1064. ; http://php.net/odbc.default-pw; c- N( t6 L4 \. B) n  q7 p
  1065. ;odbc.default_pw    =  Not yet implemented3 z  K7 q4 ], m- w! _0 z

  1066. 2 `6 d: V0 v% g
  1067. ; Controls the ODBC cursor model." ~* g: J- Z9 I0 e; x
  1068. ; Default: SQL_CURSOR_STATIC (default).
    , Y% I: g. R6 X, v( }  }' C* p8 g
  1069. ;odbc.default_cursortype
    / K# B' C9 c8 ]# ?
  1070. ; s; |7 @- d9 i" z
  1071. ; Allow or prevent persistent links.
    ( G, x4 ?! Q2 V  c( y1 N" U- h$ B
  1072. ; http://php.net/odbc.allow-persistent) P: I! f: L. u! j4 R
  1073. odbc.allow_persistent = On5 ^4 @: f+ n% u; h5 a* n
  1074. ; W  ]# g5 D6 D2 Q6 T) D, V
  1075. ; Check that a connection is still valid before reuse.
    $ p7 j% q3 b" c1 T
  1076. ; http://php.net/odbc.check-persistent
    - Q* z9 Z3 c' D* j, k" I" `. J! v: f
  1077. odbc.check_persistent = On
    1 c/ D, C* q+ i

  1078. + v, \. g' G1 o8 r* S4 E7 d. d7 Q
  1079. ; Maximum number of persistent links.  -1 means no limit.
    8 }8 ^, E1 j4 }! |8 W
  1080. ; http://php.net/odbc.max-persistent5 b4 p& c6 p2 `( T
  1081. odbc.max_persistent = -1" J: A4 M% M2 ]0 D: n

  1082. 3 O2 m' f% `. R4 Y" n8 u5 w% l3 G: d
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 e; Y4 }; A8 x5 s* V/ R$ `8 ?
  1084. ; http://php.net/odbc.max-links
    ) f2 c3 G' R' z( Q
  1085. odbc.max_links = -16 {- O  C6 p. W1 U/ `5 `( N: y
  1086. ! I; l$ b$ l! V$ p8 U; w
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ( F3 \& J) J4 v) X/ b
  1088. ; passthru.% e  m" Q/ {# P$ K$ Q8 y
  1089. ; http://php.net/odbc.defaultlrl) V( ^9 X2 }+ w1 {6 M' R# L  ?
  1090. odbc.defaultlrl = 4096
      R( T/ I4 q0 k2 }
  1091. ( L' Z( Z2 A/ b4 ~+ M
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ; X" x- B5 u0 h
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    0 a- t$ M  L+ x: {
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode, F7 J) }* e5 D3 r" R0 n4 f5 E
  1095. ; http://php.net/odbc.defaultbinmode
    , v) p. W, x" |) V* P- o3 Y7 ]- N
  1096. odbc.defaultbinmode = 1
    . N+ u( S8 e* @% |& m
  1097. ) c6 C4 c7 e, V3 H; K$ w5 X
  1098. ;birdstep.max_links = -1
    ( r& E# S0 n3 s; n$ j1 e

  1099. ) O9 H" ?3 {3 s
  1100. [Interbase]0 c; ]/ M3 O' L) F; d$ p
  1101. ; Allow or prevent persistent links." W" O; w2 e8 m6 Q2 L2 d
  1102. ibase.allow_persistent = 1
    9 N2 p. k3 Q  v- j5 Q
  1103. " N6 ^! Y# |" f9 j& J% x+ B
  1104. ; Maximum number of persistent links.  -1 means no limit.% p8 }# R9 e5 z, [" s: ?
  1105. ibase.max_persistent = -1
    : w' w; C) V) A2 N) k1 k

  1106. ! @2 i: Q4 d3 s4 q. A  @# v; i
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 J) [8 T" j2 \' s5 F5 }" U. ^- X
  1108. ibase.max_links = -1% E$ k" `6 ?$ a  W1 o, e
  1109. ! @0 l% y& v; j. _
  1110. ; Default database name for ibase_connect().9 P9 }- I$ _$ h! Y5 B9 l9 a
  1111. ;ibase.default_db =
    0 c' r! G7 g" h2 d3 V5 p

  1112. & _4 H/ Z( O0 W3 J& d9 O
  1113. ; Default username for ibase_connect().8 t6 \% t: [* N$ N- i0 A. R( ?
  1114. ;ibase.default_user =
    1 J; I( J# Z' c. O$ \6 l3 s  a! g

  1115. ; v6 G! w/ w2 i, e( I5 G' W' ~
  1116. ; Default password for ibase_connect().
    / b! P; b6 x5 l" l7 Q" b; @' R( c
  1117. ;ibase.default_password =2 J) }3 g0 f, \1 _* L. y6 H8 N

  1118. $ ]4 ^" |7 {) J" j/ [# {  v
  1119. ; Default charset for ibase_connect().
    : e( i9 p& v! z. _1 w
  1120. ;ibase.default_charset =$ `. @- [# |* h3 X- n% G& j. B

  1121. 5 D! _( o' B# ^" i: @8 q* [
  1122. ; Default timestamp format.$ P' r, ^! ~# s0 Z
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"1 X# O4 S3 [. V
  1124. % f' I2 [0 o; c  D# ]$ i
  1125. ; Default date format.- s! T3 y5 I0 w' ^! c7 f
  1126. ibase.dateformat = "%Y-%m-%d"
    " k: f' o: i0 k, v) t6 w/ r
  1127. 2 A& x& m1 y5 Z* h
  1128. ; Default time format.0 H$ X6 d' i* E
  1129. ibase.timeformat = "%H:%M:%S"
    , U! b: }6 W. b. H0 T' r2 H* G
  1130. 6 W/ R- q4 ]% O
  1131. [MySQL]: y- |" O) v$ t) u$ N4 W
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# W( o5 E2 l+ W3 S: `
  1133. ; http://php.net/mysql.allow_local_infile
    7 x: K3 y# d8 h. l4 G
  1134. mysql.allow_local_infile = On4 j, y3 t" j. ?% L: F6 O0 X
  1135. . S: N5 Z# N0 }& L3 q5 c4 y
  1136. ; Allow or prevent persistent links.+ A$ M5 N  q- P  o& d
  1137. ; http://php.net/mysql.allow-persistent
    , \* R. T  v) w+ C/ ?
  1138. mysql.allow_persistent = On: |- A5 y+ F9 I8 X, z
  1139. 6 j$ ~* a- j* U1 X, ?
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ Q8 L6 a; k2 a4 |3 M
  1141. ; http://php.net/mysql.cache_size
    6 [% E( S. f8 D4 C7 `* C' }
  1142. mysql.cache_size = 20000 ^! C% f  ]3 z! i0 b: v

  1143. * P% E0 b; k% X. u6 F" C/ e- @& i
  1144. ; Maximum number of persistent links.  -1 means no limit.
    & r( l$ k% R. [& E3 O* _
  1145. ; http://php.net/mysql.max-persistent
    1 z/ J, q9 ?7 w+ J* U* t5 |
  1146. mysql.max_persistent = -1
    5 \9 z" A6 \8 y4 {4 n- q, H3 Z
  1147. 8 H' D$ u; }7 n( z( O, Y
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 E" F- `3 D) n( n5 L- z
  1149. ; http://php.net/mysql.max-links4 K' v, Y9 C) ]0 ]1 E. E) A
  1150. mysql.max_links = -1/ k6 B' [9 n. I+ X. U9 t4 p8 p# ?

  1151. ! W% v% S" _5 |
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use& ^/ D' e- |9 _& q
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the9 h( ~) W, L0 j2 ^0 a+ u) i1 q
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
      n1 {3 H, L- {1 O8 D
  1155. ; at MYSQL_PORT.7 e# B5 A5 k* u  D
  1156. ; http://php.net/mysql.default-port9 Q4 z$ g( l3 |" ^
  1157. mysql.default_port =
    $ W% f3 R. g8 T+ T3 R$ E
  1158. 9 d* a) Z3 Q$ _; Y" C
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; A; v+ _8 I' [+ m! F4 v
  1160. ; MySQL defaults.$ u( w" s$ u) U
  1161. ; http://php.net/mysql.default-socket
    : w. C# s- y1 K+ c
  1162. mysql.default_socket =
    2 K( ~. r2 f+ q2 L" I

  1163. : g2 q: L0 g  O
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    9 G; G" _9 F7 y8 l0 y
  1165. ; http://php.net/mysql.default-host+ o9 k. V3 _. R2 I( f" k
  1166. mysql.default_host =
    & }) X0 W0 g. V: s

  1167. % N1 L5 \. y" K2 z. m2 s1 f# r
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).4 l5 P* }3 Q0 K2 {: E- f. p
  1169. ; http://php.net/mysql.default-user" W7 M4 d, [0 B
  1170. mysql.default_user =7 }& e7 J0 Z; F. i) B& }

  1171. 2 f" @7 Z# J# n4 g) F
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    8 h# u' q# Q# {4 s( i% v
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    9 `1 r. I6 W1 S3 p6 D5 F
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    * {4 o+ \6 T& y/ }/ y( m3 {
  1175. ; and reveal this password!  And of course, any users with read access to this% w7 ~( M  P4 G! ?: f2 B
  1176. ; file will be able to reveal the password as well.) V; g4 l% P% [1 Y4 l. b
  1177. ; http://php.net/mysql.default-password
    9 M- r% O4 p3 h$ H( s4 T4 g+ K
  1178. mysql.default_password =# H& G1 Z. S% b/ c' |8 @7 f/ L

  1179. 5 @( @$ j; y. u" x2 R# K; R. V# T
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
      m1 X% h9 [+ ?2 s2 {- i
  1181. ; http://php.net/mysql.connect-timeout
    * `/ p+ g  N. O( C, P1 q
  1182. mysql.connect_timeout = 605 [) d1 ~) p$ }1 ~. I4 \

  1183. ' a, M0 b' L: Z) O3 H2 @8 D" f
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and" B. \; t6 V) A. d% B& n2 x
  1185. ; SQL-Errors will be displayed.* d& j3 C# W% J' a9 `# `& |
  1186. ; http://php.net/mysql.trace-mode
    ( |. x0 Z' k* @: X! }! d: l" Q
  1187. mysql.trace_mode = Off
    0 {* q) |* V4 u$ J1 p& U

  1188. % A+ f" R7 K% E  G' b& F2 N
  1189. [MySQLi]4 b5 b4 G  d1 d! C7 U
  1190. 4 R" C; |3 a/ T3 O$ s
  1191. ; Maximum number of persistent links.  -1 means no limit.# _7 g0 M: a- O! n
  1192. ; http://php.net/mysqli.max-persistent1 G) v3 H( N2 }  _
  1193. mysqli.max_persistent = -1
    1 x2 e7 {& n2 N1 [; A

  1194. 6 V$ [4 C1 e1 ~4 r$ H" T# n& |2 J5 W8 M
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    8 W( G; g- k+ M: Z  r! T0 a9 t
  1196. ; http://php.net/mysqli.allow_local_infile
    $ H, {5 R& H, [4 M, ~! R6 H- k
  1197. ;mysqli.allow_local_infile = On! c) N* s  f! _" ?. l

  1198.   N% A) K! D0 \; t/ T
  1199. ; Allow or prevent persistent links.
    ! H" z+ M. @) S" A7 p
  1200. ; http://php.net/mysqli.allow-persistent* J& q6 R: v! \. B; ?4 @/ W
  1201. mysqli.allow_persistent = On
    - S+ B) b  l2 [3 O
  1202. & P) x# d$ R* \+ s  \; P% b2 \" N
  1203. ; Maximum number of links.  -1 means no limit.5 \1 Y. I9 _8 }! ?4 e) M/ l
  1204. ; http://php.net/mysqli.max-links4 m3 B# t0 g3 U* A: E" c
  1205. mysqli.max_links = -1
    : w" E! @: l1 t& g* \4 g" S

  1206. 5 T. y+ }+ b  k- F. G- w7 a6 O! Y
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache; K! u7 \- z- s0 |
  1208. ; http://php.net/mysqli.cache_size
      u4 Z4 |* ^4 q6 Q* e$ O
  1209. mysqli.cache_size = 2000; U' `' ?4 S. H4 L% w6 v- p
  1210.   {5 W4 r( M' v
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ' }9 n2 R1 j  B1 R
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the* Z6 }% G/ X8 @, @8 d# E" Y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + J* b+ `# }9 [' e& O: o2 F0 x
  1214. ; at MYSQL_PORT./ \( r, j& D- X
  1215. ; http://php.net/mysqli.default-port/ }7 M8 L& k( b  h5 W
  1216. mysqli.default_port = 33066 e7 r4 A7 p/ h5 _

  1217. : i0 b+ W/ _2 A6 }: r0 N) |, P* |
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ W$ K' @/ e2 S& q* o3 M. P) W/ V
  1219. ; MySQL defaults.
    ) l7 L6 ]8 U" ?5 R. {9 r5 ]6 `
  1220. ; http://php.net/mysqli.default-socket3 r! u( `+ R' x. T* c3 d
  1221. mysqli.default_socket =9 v' _, G$ m4 j
  1222. . t+ B  b; X# Q1 \
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    2 L1 C, O  J8 t. l7 X! a4 G) d
  1224. ; http://php.net/mysqli.default-host
    9 _$ y! N& \8 H: d
  1225. mysqli.default_host =
    $ q7 e# w4 J# D6 r

  1226. ) Q2 }4 J/ s5 T: |- P8 ~
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).- k1 H# N5 O% t) J% t  Q' e% i
  1228. ; http://php.net/mysqli.default-user6 ~- }$ U3 q* L/ {5 ~2 s( F
  1229. mysqli.default_user =" \, p# C5 |+ W1 D

  1230. 7 b: C6 K! I+ C: Q6 V
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).' s) w. f8 S( w+ z" w6 g
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    7 L# |7 s$ n0 @5 z
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")$ [" _$ n' Y6 O3 |' \( Y
  1234. ; and reveal this password!  And of course, any users with read access to this
    5 B- k( N' v( M6 Z8 D, G# S
  1235. ; file will be able to reveal the password as well.1 D' {) ~* _9 [) S5 i5 B7 k9 q: v" y
  1236. ; http://php.net/mysqli.default-pw
    1 P/ u; k  l! ^+ t( O& X, y$ U5 G0 q
  1237. mysqli.default_pw =0 V4 @6 M4 L; N
  1238. ( V( C* d! x* t& ]# I" b
  1239. ; Allow or prevent reconnect
    8 Q: u4 V/ c! z2 [
  1240. mysqli.reconnect = Off. S4 F; t% S. ~% J6 e

  1241. 5 H6 t% w' A  H1 F+ X1 G
  1242. [mysqlnd]1 h- T8 O. Z% R
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
      C' G7 Y6 C' G( c( e: u" e  l
  1244. ; used to tune and monitor MySQL operations.
    ! [2 q' @( L% {0 g, [0 z* \8 X, ^
  1245. ; http://php.net/mysqlnd.collect_statistics5 n# u# A+ `4 x5 D) e3 i; D% a
  1246. mysqlnd.collect_statistics = On7 V5 m0 O, m  F9 I3 S
  1247. + w5 \& S3 C( ]& A0 C0 h
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be- U; X3 M. Q6 t+ |
  1249. ; used to tune and monitor MySQL operations.
    # u( `. T% {1 z& h( a
  1250. ; http://php.net/mysqlnd.collect_memory_statistics3 T. I% |+ T- V* N, B
  1251. mysqlnd.collect_memory_statistics = Off
    1 ^* y1 C9 L: H! ]# T
  1252. ! W2 y) M' J, m- N% i$ X2 G
  1253. ; Records communication from all extensions using mysqlnd to the specified log4 N) v( R/ D$ m6 Q3 J/ d, j
  1254. ; file.
    9 `" b  T0 k  y! U
  1255. ; http://php.net/mysqlnd.debug
    ; T1 R2 J6 I+ U9 Q/ d- `
  1256. ;mysqlnd.debug =
    , d6 R7 v# x% q8 w5 ~0 g

  1257. $ {% _3 x. e" U
  1258. ; Defines which queries will be logged.
    5 N! {( c" J. B$ M; J% O4 n: l
  1259. ; http://php.net/mysqlnd.log_mask
    ) g: k& i' U7 K; l5 B0 J3 p
  1260. ;mysqlnd.log_mask = 0; ^! R2 [  T6 Q" M0 K% g

  1261. # p7 [. L; a) l# o/ R, l
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.5 d  d1 T( P+ j! r; n/ m
  1263. ; http://php.net/mysqlnd.mempool_default_size: _+ S) p; B2 L4 n2 S0 ?# ]5 {
  1264. ;mysqlnd.mempool_default_size = 16000
    2 r9 E/ `" K% S0 R& v9 q: ^
  1265. / |" ], E* Y% v) U, e& ^
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    : Q% [* y( o: R2 d8 f
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size' ^5 s' V7 P+ Y" o6 ?
  1268. ;mysqlnd.net_cmd_buffer_size = 2048; e. L1 c3 i8 j. ^9 [$ u
  1269. 1 t  d% X8 Q8 g8 n; }
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ( p9 |' {, [$ i
  1271. ; bytes.9 c$ X3 T( V. V6 v  E# f
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    7 ?" H+ h% R. z
  1273. ;mysqlnd.net_read_buffer_size = 32768% S9 [4 [: P. K( G# A8 k8 o1 s+ C

  1274. 7 U4 J; |# a9 E' w+ Q* S8 Z
  1275. ; Timeout for network requests in seconds.
    0 L4 p- \( K2 ?2 Q
  1276. ; http://php.net/mysqlnd.net_read_timeout. {" l% R+ ~, f& D6 q: B& P
  1277. ;mysqlnd.net_read_timeout = 31536000
    6 r( K/ Q  B9 g8 c% ]8 S' L, V
  1278. - I+ ]# b! x# b& T7 M  m
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    $ O% u3 W" F4 ~! F' {3 P* E. O
  1280. ; key.
    2 h; _4 g6 t* }5 K& _( @
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    : k% K+ e: t/ B3 x3 I6 {
  1282. ;mysqlnd.sha256_server_public_key =" R( V% M7 U- a% ~6 u5 z

  1283. ) B8 O! y% N2 w& e' r/ u
  1284. [OCI8]
    & X9 C4 R, ?* `  ~# `6 {
  1285. + o  O9 L9 z3 w, i0 y! q: S/ f6 j# e
  1286. ; Connection: Enables privileged connections using external+ {( }# g8 {7 G+ l6 m- m( j
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)* j# i" W$ C' Q$ g/ d
  1288. ; http://php.net/oci8.privileged-connect0 {( r, V; U2 \$ x- M. R- W0 k
  1289. ;oci8.privileged_connect = Off: [: O& K2 [, z+ F3 O9 i; w
  1290. $ n% ?2 x7 a3 u" |
  1291. ; Connection: The maximum number of persistent OCI8 connections per7 e2 h' R( x$ v& c- m" S
  1292. ; process. Using -1 means no limit.
    ; N# T8 [0 ?& h( r/ Y6 Q0 T4 m
  1293. ; http://php.net/oci8.max-persistent
    5 A7 P3 |* c2 l6 j8 C4 Z2 V
  1294. ;oci8.max_persistent = -1! g8 P  n& d" U; x9 Q1 E

  1295. 5 r: W1 D( w7 i! G% u. z6 m
  1296. ; Connection: The maximum number of seconds a process is allowed to
    $ F. H4 O' Q$ Q, R. P# X! x
  1297. ; maintain an idle persistent connection. Using -1 means idle
    ! {2 n4 y3 H8 H+ B
  1298. ; persistent connections will be maintained forever.
    " n" B6 O8 s) V
  1299. ; http://php.net/oci8.persistent-timeout( x( a1 K0 ^2 N& h/ O% G) y: ^
  1300. ;oci8.persistent_timeout = -1) M! |6 ]6 N7 J1 o+ a; q$ m
  1301. . W4 k3 {8 b0 G3 F
  1302. ; Connection: The number of seconds that must pass before issuing a
    ; d+ q# z9 a% L  y) l
  1303. ; ping during oci_pconnect() to check the connection validity. When; [4 ^5 S, a  p" p' h& A& u
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    5 }; x: M% K1 ?5 K; `  R2 o9 r
  1305. ; pings completely.
    2 @. w: y: `; @# V
  1306. ; http://php.net/oci8.ping-interval
    $ u0 o, A& _+ {7 I
  1307. ;oci8.ping_interval = 60
    3 y/ p( x6 s8 K: ^. o; v

  1308. + H8 c$ d6 i, I' e& e
  1309. ; Connection: Set this to a user chosen connection class to be used
    2 J/ `  C2 L) s4 [6 v# o; q
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ) d+ z$ Z) D+ ?
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    - |/ T0 y# Y5 k$ \) ~
  1312. ; the same string for all web servers running the same application,4 ]6 }& }9 n& M% r( ^6 @
  1313. ; the database pool must be configured, and the connection string must+ `% w; ^* u  R; d5 t
  1314. ; specify to use a pooled server.
    ' G* W6 w9 C3 i1 t+ b
  1315. ;oci8.connection_class =
    " z) ?) \2 m  R/ \+ Z+ D
  1316. / d9 i2 [- j$ V: v* l
  1317. ; High Availability: Using On lets PHP receive Fast Application* Q" v) f) a+ n
  1318. ; Notification (FAN) events generated when a database node fails. The3 U0 g6 p5 g- f
  1319. ; database must also be configured to post FAN events.4 M7 R; f+ D) g1 I5 @
  1320. ;oci8.events = Off  K6 b3 D! [: Y* c5 z  ^% q
  1321. * F) V  S. C7 Y4 ?
  1322. ; Tuning: This option enables statement caching, and specifies how
    - L3 F) |' Y5 l, @( p, }
  1323. ; many statements to cache. Using 0 disables statement caching.* R+ h9 \. |( R# U8 v6 a
  1324. ; http://php.net/oci8.statement-cache-size. M- @: ?0 Y& x- t9 c
  1325. ;oci8.statement_cache_size = 20$ f+ M& y2 @, o. X. E2 M

  1326. 2 F% r+ J; i; Z" j: ~
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    ' H% q/ [+ |% h! k% q
  1328. ; rows that will be fetched automatically after statement execution.
    1 Z: E8 A5 y- F0 D) T3 d
  1329. ; http://php.net/oci8.default-prefetch3 e+ a& A( \& ~
  1330. ;oci8.default_prefetch = 100
    1 d, f- O8 L0 H

  1331. 8 H9 o) z9 D* J: b, k. J4 H
  1332. ; Compatibility. Using On means oci_close() will not close
    6 g6 ^$ z4 ?- k. R  }
  1333. ; oci_connect() and oci_new_connect() connections.+ L2 M% Q% ^6 N5 r
  1334. ; http://php.net/oci8.old-oci-close-semantics6 X( ?1 X4 F! f; _
  1335. ;oci8.old_oci_close_semantics = Off3 I# i- e1 g$ x0 s( M) y

  1336. : A" ~8 r' z  b: o: v3 l- X- y+ [" F
  1337. [PostgreSQL]
    : i1 v+ w2 v+ s
  1338. ; Allow or prevent persistent links.2 s! |2 U3 G/ `7 z: J" k+ ~  K5 C  {
  1339. ; http://php.net/pgsql.allow-persistent
    + ?# G$ Z$ I& p9 ]1 Z9 @
  1340. pgsql.allow_persistent = On/ x5 G8 S" g/ i* G5 U' _( `

  1341. ! X, g% ?3 G& ]3 P; x! t
  1342. ; Detect broken persistent links always with pg_pconnect()." X9 Y# L# ?: Y
  1343. ; Auto reset feature requires a little overheads.3 N6 n9 p, n: B% U) J# W& `
  1344. ; http://php.net/pgsql.auto-reset-persistent: B: M1 @% G6 v  [+ V) s% i2 E
  1345. pgsql.auto_reset_persistent = Off" t# I; t+ E1 y& K0 f- s/ a9 V5 k

  1346. # ^& ^, Q0 R# P& B+ r
  1347. ; Maximum number of persistent links.  -1 means no limit.# o( f8 M8 t6 d# @% T+ `
  1348. ; http://php.net/pgsql.max-persistent6 c0 @3 b9 C5 w. q. F& _0 o
  1349. pgsql.max_persistent = -1
    0 `* O! c2 t" B( T3 n5 p
  1350. " K5 q1 o0 d- @* K6 S
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.1 q' s* w: E$ Z7 i1 C6 d
  1352. ; http://php.net/pgsql.max-links- V) J+ r: ?7 ^9 v; y# a
  1353. pgsql.max_links = -1
    ! P2 |' b, ?# U! D. O
  1354. + O! |# _, Z7 r% `: _. D- `7 ?, `' a
  1355. ; Ignore PostgreSQL backends Notice message or not.8 t2 g. s. w+ R5 V3 X' T& [' }$ S4 D
  1356. ; Notice message logging require a little overheads., I" b+ R5 U2 {" m
  1357. ; http://php.net/pgsql.ignore-notice7 `: M8 @% V9 }
  1358. pgsql.ignore_notice = 0
    2 U* B2 p# }6 [9 I! E
  1359. 8 `8 U' J2 F* c8 B0 u6 ~. k/ K3 s
  1360. ; Log PostgreSQL backends Notice message or not.
    * H6 D  M" b) N! D" M0 S3 r6 _
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    5 ?0 r' |3 {+ U0 n- R6 u
  1362. ; http://php.net/pgsql.log-notice
    / T- N/ n& H* I) |. U1 h% J
  1363. pgsql.log_notice = 0
    : P4 I. i( X% a5 M6 o
  1364. 2 `3 F$ d) X& l4 f4 Z1 o! F
  1365. [Sybase-CT]
    * G% ?  g- m! r: Z# P
  1366. ; Allow or prevent persistent links.
    , ]; G$ a. |4 G
  1367. ; http://php.net/sybct.allow-persistent* P( O" R4 z. p5 P
  1368. sybct.allow_persistent = On. S  t$ e' _% B# c3 [/ y

  1369. " b& g! V# m. x# x
  1370. ; Maximum number of persistent links.  -1 means no limit.5 r# ^5 s. V/ a, ?( @3 j4 R
  1371. ; http://php.net/sybct.max-persistent4 Q& h; Y# k2 {
  1372. sybct.max_persistent = -1
    $ N, a6 L+ n* o! C* `: H

  1373. 0 [5 r- L- q$ S% N# [; {' S
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; A+ G' \7 ?9 u9 K  F; A* J5 h
  1375. ; http://php.net/sybct.max-links$ q, [; Y: H, B# i% [
  1376. sybct.max_links = -11 t7 r0 A$ l, C* ]8 d7 ?# J/ }8 X* l
  1377. ) f+ o8 r  x. I" ]9 I
  1378. ; Minimum server message severity to display.
    * u4 ]) d; ]3 W3 T" i/ `
  1379. ; http://php.net/sybct.min-server-severity  Y/ U" K# M! W/ h  x- N- f
  1380. sybct.min_server_severity = 10
    & z% q, x+ o% z' I& l: Z

  1381. / V6 }; ^# E/ {+ Q3 a  Y
  1382. ; Minimum client message severity to display.
    " F$ b1 ?3 D# Y* p2 }5 o2 x
  1383. ; http://php.net/sybct.min-client-severity
    2 s% v  \) h4 I- T$ ?! e: o
  1384. sybct.min_client_severity = 10
    3 g6 u+ ]$ W9 U' x( R. s: s' |7 A
  1385. : q9 e# w" T$ k/ Y/ D  b
  1386. ; Set per-context timeout. |, m/ [4 B# W9 k; c  ]
  1387. ; http://php.net/sybct.timeout5 p3 V' _) V5 ]$ h# [; x  W; K  f
  1388. ;sybct.timeout=2 `: I  ?! X, y4 Z5 A# e* C) Y

  1389. ) J6 b9 z8 ^1 N" Q5 _
  1390. ;sybct.packet_size
    - l& S, ]. O* |, n) Z0 `

  1391. 6 L: S7 _, K, j& K- G/ a
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure." C; S. ?8 l- x- j: c2 P* s
  1393. ; Default: one minute- Z) ~! m  L6 M
  1394. ;sybct.login_timeout=
    / z  G# [7 w7 ^( [- J
  1395. ( R4 a- j  \& @2 L# J. \' E
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.: `9 `9 R5 `" V* |; g8 E
  1397. ; Default: none: W6 S% X$ @8 d/ ^
  1398. ;sybct.hostname=, d- D: j2 L) ?" T

  1399. 9 S- O/ `$ z( R* E3 q  F
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".3 g- Z# X3 d! t" y
  1401. ; Default: 0( Z+ k, X; l2 u8 A* Q- s2 r
  1402. ;sybct.deadlock_retry_count=
    ) O3 y/ b! H9 D7 I# G
  1403. % w5 K* K# ]% k4 I6 y/ S; ]
  1404. [bcmath]5 I9 y; P3 o; M9 w; t! G0 ]
  1405. ; Number of decimal digits for all bcmath functions.
    - T4 g/ E# ]8 z
  1406. ; http://php.net/bcmath.scale
    : Q2 Z2 z. `  {
  1407. bcmath.scale = 0# c& E9 G4 i5 Q  Y" L* d

  1408. 9 B6 ^* N0 G7 N  Y' u7 U
  1409. [browscap]
    ' E0 w8 E# f: ~, t
  1410. ; http://php.net/browscap$ [; Z2 a& N5 ~$ ]& s. X8 R- I) q
  1411. ;browscap = extra/browscap.ini
    1 Y5 X7 H* V7 o- J  n& w

  1412. ) J/ o5 F- U* F* F
  1413. [Session]# i1 A. q, v1 y: [$ E; b- T
  1414. ; Handler used to store/retrieve data.% y5 H( I% ?. ]" o9 h* ?9 A9 S  f
  1415. ; http://php.net/session.save-handler
    ; {4 o7 I" z9 D7 u& x+ u+ V. Q
  1416. session.save_handler = files5 H9 D; h5 N! A+ |

  1417.   B+ X- u, H2 w& p/ A6 H8 @
  1418. ; Argument passed to save_handler.  In the case of files, this is the path; F4 i+ t; A: }+ _2 {' Z
  1419. ; where data files are stored. Note: Windows users have to change this
    , I" `6 V2 Y4 H7 p
  1420. ; variable in order to use PHP's session functions.
    , m' {; F: f# v0 h' r/ m
  1421. ;4 Q- Q- D; l# N+ A' Y$ r7 Z& @
  1422. ; The path can be defined as:6 b8 v: M0 W1 M$ K) ~( v: ^2 d
  1423. ;4 q% r4 i. a# v7 F6 j+ x/ \
  1424. ;     session.save_path = "N;/path"
    4 H) h& b$ S  S
  1425. ;: ]" y0 J7 {! v$ q2 L2 |1 D, p; ~
  1426. ; where N is an integer.  Instead of storing all the session files in
    5 p, n2 ]0 `6 u% p* h" E3 i
  1427. ; /path, what this will do is use subdirectories N-levels deep, and' Y+ Y, u( g0 q3 e
  1428. ; store the session data in those directories.  This is useful if% e7 j. y) M' Q8 C( {1 |  p
  1429. ; your OS has problems with many files in one directory, and is4 H) `! S- `- m' J9 i* `
  1430. ; a more efficient layout for servers that handle many sessions.- q: `: J4 S% v1 z1 e# D! n" K
  1431. ;% L% ?. y: f& \4 G
  1432. ; NOTE 1: PHP will not create this directory structure automatically.9 A- x* c" Q2 l0 t
  1433. ;         You can use the script in the ext/session dir for that purpose.* v0 L$ K. h9 u9 G5 M6 `# |
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ; ]6 y) M; Z5 ?' P6 D
  1435. ;         use subdirectories for session storage
    % n$ N! ?) a" E9 }, j' s& Z! T; E
  1436. ;
    " d% [7 e4 k, o; }* g/ c
  1437. ; The file storage module creates files using mode 600 by default.1 w/ l5 m+ @, @# v) Y5 J/ Q9 U
  1438. ; You can change that by using
    & b& d% H; s( r: U% q! N' z# X7 |& q
  1439. ;
    " a2 {& u; D7 A
  1440. ;     session.save_path = "N;MODE;/path"
    5 E7 c# [1 s. U7 i8 o
  1441. ;' }6 r  _2 l& m" j4 r/ q
  1442. ; where MODE is the octal representation of the mode. Note that this& J$ {3 C( C# Z* k8 G8 q
  1443. ; does not overwrite the process's umask.: G( S' U+ q  s- z7 a
  1444. ; http://php.net/session.save-path, m  `. x. x4 M' g
  1445. ;session.save_path = "/tmp"2 c. h, U+ K- z

  1446. 3 I5 d0 o% u) _7 u% `
  1447. ; Whether to use strict session mode.
    5 r. c: F  h7 }  c
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate1 m/ M8 y7 `: l) G) i1 d
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    " M" B4 r% I4 _+ n5 Y1 U. W
  1450. ; applications from session fixation via session adoption vulnerability. It is1 K) Y; G; P1 }* ^8 L
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    $ K; o( U/ Q( [( }& R+ ]' ?
  1452. ; https://wiki.php.net/rfc/strict_sessions
    / d' e. C' A+ g3 _1 o
  1453. session.use_strict_mode = 0/ W  I9 w# }7 H$ s, v' G' h

  1454. & K" h  F& x( r6 r8 [
  1455. ; Whether to use cookies.
      U9 ~6 ?3 m5 i  d9 f# j
  1456. ; http://php.net/session.use-cookies
    # c8 [9 u9 v) j3 W
  1457. session.use_cookies = 14 m% M5 l, A; P
  1458. 3 K) n0 u8 n; G$ N. ~
  1459. ; http://php.net/session.cookie-secure
    ; l% Y( v6 L" ^$ i
  1460. ;session.cookie_secure =) y  F. p' c" z* T$ s

  1461. & X( h" e# Y- H
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    / o8 L) s% [0 L5 u
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    $ E0 b- u, M: X% D4 i" E, E
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ( G5 @& L% Q, J
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    " u1 z5 F, r( J/ u3 l& |& J" v
  1466. ; http://php.net/session.use-only-cookies
    / B% w$ j8 i( E* Q$ v* s
  1467. session.use_only_cookies = 1
    0 T1 z3 b$ t3 `' y/ f: H0 f& L
  1468. 0 ?1 N4 K! U/ a- G" d
  1469. ; Name of the session (used as cookie name).- F1 I5 X9 k# x" ^3 A
  1470. ; http://php.net/session.name
    % }& h- J0 ?6 s4 I
  1471. session.name = PHPSESSID
    ; t, N7 w# k* ]
  1472. * f5 z. ^+ U# V+ B& A
  1473. ; Initialize session on request startup.
    3 i+ Y% E4 `" k8 J: ]
  1474. ; http://php.net/session.auto-start( [; p: c, [; \$ ~, U
  1475. session.auto_start = 0
    9 {1 O% ^" H: Q8 }/ X" i' S
  1476. , d1 ~% U1 `: S
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.* T) k7 D" W% _8 @: c" X
  1478. ; http://php.net/session.cookie-lifetime* V) _( g! b' N% W6 M
  1479. session.cookie_lifetime = 0
    ) u" n6 [1 R. ?8 r; y. X
  1480. 1 B' N# \/ l: f' b3 Z
  1481. ; The path for which the cookie is valid.1 Y# A/ |; K+ R3 k+ f- s
  1482. ; http://php.net/session.cookie-path
    ) Q& [# a' S6 `2 ~
  1483. session.cookie_path = /6 u9 Z7 D& ?; X# Y+ Q

  1484. 0 K" ]0 {7 N+ T  w% g# O  S3 j
  1485. ; The domain for which the cookie is valid.+ x! m7 e3 K' l: W  g( q: t
  1486. ; http://php.net/session.cookie-domain' p" @: p3 z4 c+ V7 `# ^2 j
  1487. session.cookie_domain =) ]) B7 Q3 o- v3 }+ L# k" B" h

  1488. 1 T- I; e2 L+ }/ D- |# ^, B
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript." F& G# b! C- `, W' |
  1490. ; http://php.net/session.cookie-httponly6 P* v. d* L: J8 f
  1491. session.cookie_httponly =
    6 l3 l* u9 R$ ?) v
  1492.   J) A& V# `' b2 t
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.- O3 v$ P& M; F% U& M0 E8 W
  1494. ; http://php.net/session.serialize-handler
    4 u, x' h8 S/ F; [& S& H' }
  1495. session.serialize_handler = php
    2 z1 ?& w; \' U1 v& a1 a& z5 j8 J2 [8 O

  1496. . h4 y4 V* S0 ^+ @: F
  1497. ; Defines the probability that the 'garbage collection' process is started
    * \' U% Y" S2 R/ h
  1498. ; on every session initialization. The probability is calculated by using
      Y! ]" [' x% _; e
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator9 n; z! e/ v/ U" s6 o( N
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 15 `" Q4 D0 ]- D. o
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance9 N0 H. `9 X' p. N8 |* `
  1502. ; the gc will run on any give request.1 L5 L* {0 U. H5 U
  1503. ; Default Value: 1
    : i7 t2 S( C" O, p: H
  1504. ; Development Value: 1
    ( K) C- R- ]8 a, G; D) |
  1505. ; Production Value: 1
    ' s& A( ]/ s' o( \# n! ~
  1506. ; http://php.net/session.gc-probability8 s, x# V' z$ G, J. v+ G
  1507. session.gc_probability = 1/ `/ b0 U! [1 ]6 `/ ^1 C
  1508. 2 i7 t8 t! V7 E7 x( U
  1509. ; Defines the probability that the 'garbage collection' process is started on every# f: U6 D; p' U- T5 @
  1510. ; session initialization. The probability is calculated by using the following equation:8 \& o; z/ E  k9 e# R& @" F
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    1 G* j! b& O/ ]& I7 m
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1* N6 X- L1 }7 B& F0 Z1 _; k+ U' @4 [
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance' l/ b; \( a6 L, K0 z# z5 g5 S
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    - M) D" w: j! k+ H7 W2 C
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,) p$ w9 [( G" E  z* Y* }2 t8 N
  1516. ; this is a more efficient approach.
    4 [) Q2 @3 T9 R  a  i" C
  1517. ; Default Value: 100( X; n, G9 w( O: j6 k2 U. _8 |
  1518. ; Development Value: 1000/ {8 X3 m$ g& n9 ]7 l7 v
  1519. ; Production Value: 10001 g4 U" y( q6 s7 p& V& y
  1520. ; http://php.net/session.gc-divisor! s+ `# g9 X6 s5 ]0 Q
  1521. session.gc_divisor = 10000 D1 w7 i0 z9 V$ w
  1522. 8 A. `: p+ w) e& R
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and) {) M, [, r8 v4 M- K
  1524. ; cleaned up by the garbage collection process.+ Z, _# k& E. _. I! C) E
  1525. ; http://php.net/session.gc-maxlifetime2 `' k2 r- B$ f, P5 {' v3 b
  1526. session.gc_maxlifetime = 1440+ Y/ P, b2 @  i& U/ C9 h% @, [
  1527. 0 s. o/ N  g; y
  1528. ; NOTE: If you are using the subdirectory option for storing session files* U- q9 o6 g3 C! z9 Y+ d4 {" B4 H
  1529. ;       (see session.save_path above), then garbage collection does *not*
    : Z4 [3 J( V$ K  a# j
  1530. ;       happen automatically.  You will need to do your own garbage
    8 f4 G# P/ `# ~4 @
  1531. ;       collection through a shell script, cron entry, or some other method.
    9 ^0 \- b* ]/ m) P" J( w  [5 v
  1532. ;       For example, the following script would is the equivalent of- J/ F6 t9 U0 F7 N
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):0 T3 u% n+ I4 R: F
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm& B8 [) `2 V8 ?: N* K$ Y6 A

  1535. ' r2 K% Z8 _8 e
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.3 f  u9 u4 u0 N4 q
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    . j* k3 s, O- w& n$ W
  1538. ; considered as valid.
    * \  \# d6 L; p/ T! p" \7 J
  1539. ; http://php.net/session.referer-check
    + ]% X, Y% U7 S
  1540. session.referer_check =8 O" e% E2 q" Y$ N- A" e: n: y

  1541. 8 c& i( a* j( }: Z
  1542. ; How many bytes to read from the file.0 m' p6 a8 U8 }8 K* O- l' Y8 ~
  1543. ; http://php.net/session.entropy-length- u0 J& k3 ]: l" t" l
  1544. ;session.entropy_length = 32
    ' n" J. Z) J% n, c% }7 e8 Z# z  a

  1545. - M, f% ]8 T8 o, T' ]# e
  1546. ; Specified here to create the session id.
    ) t4 G, U1 ~, K3 c! B- ~* L) J
  1547. ; http://php.net/session.entropy-file/ v9 N8 B/ w: N* t! O
  1548. ; Defaults to /dev/urandom
    9 x# h5 H  b8 N& X  h* U; k3 ?
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom" I1 `/ F# e6 @" ^. O
  1550. ; If neither are found at compile time, the default is no entropy file.
    ' B" `% V+ X4 x* S: b7 g
  1551. ; On windows, setting the entropy_length setting will activate the4 S3 [' |! i; a4 ?; W6 c
  1552. ; Windows random source (using the CryptoAPI)
    5 C" i9 F. v, D1 G* [$ O; h
  1553. ;session.entropy_file = /dev/urandom
    - z2 M, [: v7 j" l" H: q/ J& f) ]
  1554. 1 ~! a' e/ I4 y1 ~6 u
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects6 C/ C! e3 e# w& |
  1556. ; or leave this empty to avoid sending anti-caching headers.( k9 H/ \8 S# M: D( X
  1557. ; http://php.net/session.cache-limiter
    , K# l& _- p; z4 l# T* k( S
  1558. session.cache_limiter = nocache
    : P5 X5 z/ f2 F9 R% F3 N, o

  1559. " f- Q3 o( O: P
  1560. ; Document expires after n minutes.
    ! A1 r( d4 p/ o" V3 _
  1561. ; http://php.net/session.cache-expire6 R' `4 q$ E9 P8 [. l
  1562. session.cache_expire = 180- ~: w+ m2 p1 U- J4 q( B; e" }$ u
  1563. 4 `3 [! U, Z6 w9 R* A3 X. G
  1564. ; trans sid support is disabled by default.% e. v6 c  s4 \! v
  1565. ; Use of trans sid may risk your users' security.
    7 _1 `, T7 l6 {. {3 y) [
  1566. ; Use this option with caution.
    1 J; m4 p$ F+ b; d  S
  1567. ; - User may send URL contains active session ID% Q0 j0 f7 u  n% T
  1568. ;   to other person via. email/irc/etc.
    8 \3 `6 r* Q) Q4 f3 w
  1569. ; - URL that contains active session ID may be stored8 U, j7 [6 t7 s5 h
  1570. ;   in publicly accessible computer.
    ( \! _7 u1 U2 x# O  q
  1571. ; - User may access your site with the same session ID' I1 x4 b* ]2 {8 f- U5 G
  1572. ;   always using URL stored in browser's history or bookmarks.0 f; L4 @2 i# z
  1573. ; http://php.net/session.use-trans-sid
    + \6 H  s" t# I5 p: }1 z5 `
  1574. session.use_trans_sid = 0' G( {6 |/ ?1 Z- i% x$ o- I' e( o
  1575. * q/ y- f$ i) ]" d
  1576. ; Select a hash function for use in generating session ids.3 O3 E5 x! I, }7 _) Z6 e. x
  1577. ; Possible Values
    & W+ C& U0 K7 E# k  T0 Z! y
  1578. ;   0  (MD5 128 bits)
    $ y) p! p: Z: N6 s# ?
  1579. ;   1  (SHA-1 160 bits)
    # p$ L- B7 {7 |9 ]1 }
  1580. ; This option may also be set to the name of any hash function supported by2 F3 l) C7 _! [
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()( s9 a3 b& |, Y/ n" e
  1582. ; function.
    $ ~$ M$ E" ~7 e4 `; @: t- \
  1583. ; http://php.net/session.hash-function
    1 k5 B# u: R8 I0 w0 y0 G
  1584. session.hash_function = 0" |" x" I) N$ S6 h" P9 \3 C
  1585. ) r/ h/ j3 K' |5 I" B
  1586. ; Define how many bits are stored in each character when converting
    0 B. ^- K7 t+ j  H* y& u; G
  1587. ; the binary hash data to something readable.
      D, H! t) ^3 \; }' l  x% n: y
  1588. ; Possible values:
    + I' T% H7 a" T$ ^9 ]3 c" c1 O
  1589. ;   4  (4 bits: 0-9, a-f)
    3 T8 \2 h( L1 U9 ]% m
  1590. ;   5  (5 bits: 0-9, a-v)$ t; A6 L5 W7 `7 K2 w0 I7 X5 \
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","). G, n, l5 I- K) L0 |
  1592. ; Default Value: 46 l9 l8 U, u( L7 f
  1593. ; Development Value: 5! d7 Y& {7 P) ]$ j. J9 c
  1594. ; Production Value: 5- }) D6 g( w  Y. F2 V0 W6 C& p- d
  1595. ; http://php.net/session.hash-bits-per-character
    % s, [$ V3 c" E8 ^$ J4 @6 |4 S, U
  1596. session.hash_bits_per_character = 5
    , O, x4 r3 {" d/ d' v% H/ }$ S/ W

  1597. 0 I5 J7 r4 p3 U. Q' z; _% f
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    * c+ H$ m0 s" F  M# Y. y
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    6 M+ |# c5 I% u, {6 }4 Y4 K
  1600. ; add a hidden <input> field with the info which is otherwise appended4 {: C* }9 A6 [: D' q
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    / U9 B% d* R, w' z, Y; y/ l
  1602. ; Note that all valid entries require a "=", even if no value follows.
    $ H. R' G5 V+ c% p
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ) u5 Q6 C' O3 l# f
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) r: f8 z) i- F4 V& K
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 N6 N5 z  P+ n4 T7 a- k' X
  1606. ; http://php.net/url-rewriter.tags
    0 V1 |% l6 E1 v. l2 F0 F5 d
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) k# N( W5 a' T" l9 Y) q
  1608. ' V3 W5 |. T- a0 p# E* O6 G
  1609. ; Enable upload progress tracking in $_SESSION" p- ~# Z( Q- u* `
  1610. ; Default Value: On6 m. \  O! t# R' l
  1611. ; Development Value: On" u: \; r$ r3 M% Z1 N+ g, n
  1612. ; Production Value: On/ v. |) g, C/ l+ b
  1613. ; http://php.net/session.upload-progress.enabled! t' Z2 G" u" b, s3 K
  1614. ;session.upload_progress.enabled = On+ r+ V) |( H9 {5 B
  1615. / x" q/ J! P+ f) K- W; F
  1616. ; Cleanup the progress information as soon as all POST data has been read
    5 E3 @# q5 q" |, d& c  e
  1617. ; (i.e. upload completed).
    2 p! @- T! @% a. |
  1618. ; Default Value: On9 T, ?& D& s5 w) o0 U( [2 [% ^5 U
  1619. ; Development Value: On
    / h' ~: V. i6 k: w
  1620. ; Production Value: On
    ( ]4 M- `5 G  \, o
  1621. ; http://php.net/session.upload-progress.cleanup
    ) o! f+ G) e2 Q
  1622. ;session.upload_progress.cleanup = On* N2 x  f! \$ @( k. |, Y( o, a/ p
  1623. + `/ b1 x! J7 M: ^- X0 p5 i
  1624. ; A prefix used for the upload progress key in $_SESSION
    4 b5 |, n7 W$ g9 z+ p
  1625. ; Default Value: "upload_progress_"5 |2 [+ t* g; W$ \% {# P& Q3 o
  1626. ; Development Value: "upload_progress_"* w+ q4 \( W4 Z8 s
  1627. ; Production Value: "upload_progress_"% }$ Q. d: x- q9 n) n! p
  1628. ; http://php.net/session.upload-progress.prefix. Q( T0 G8 c. y2 u6 W2 L( k/ C
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ; L+ H6 u4 E3 V3 e( Q2 i
  1630. & A* g7 {, d( B2 R. E' Q
  1631. ; The index name (concatenated with the prefix) in $_SESSION) W) M% E. Y" n" P" f' q( t
  1632. ; containing the upload progress information. q# j, z. ?0 p0 N/ A1 Q1 U
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS", b2 I6 v) ~1 N* A
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & p2 }" E, U2 k; j. f9 G
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"( i; h$ @4 Q' N2 s
  1636. ; http://php.net/session.upload-progress.name4 w5 U6 P( P* ^" {, K2 @. r7 T
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"+ ~  o% b: V, x: D- p: [% Y
  1638. ; ^$ ^  [- d( @2 {/ g# J" F
  1639. ; How frequently the upload progress should be updated.6 {( _8 A( E) D8 j: L, j
  1640. ; Given either in percentages (per-file), or in bytes
    1 R' P3 h4 n2 U, G& M
  1641. ; Default Value: "1%"( W4 T$ Q% Q& X2 n
  1642. ; Development Value: "1%"
    % J( Z/ |0 N( r- m* y0 j6 \
  1643. ; Production Value: "1%"
    + K# v) w& y6 \
  1644. ; http://php.net/session.upload-progress.freq) q& h* B1 @1 O" X( z& B
  1645. ;session.upload_progress.freq =  "1%"
    . C6 q% _. M7 c: R  R3 _/ e
  1646. % ~( O# M# k" d8 r) i& m5 V, ?
  1647. ; The minimum delay between updates, in seconds
    & {! F1 |" c* B& C
  1648. ; Default Value: 1  t# ^8 e# u! c2 s0 G
  1649. ; Development Value: 1
    ( H( p4 D7 p$ X2 q8 H: S. K' D
  1650. ; Production Value: 1, v. A) e$ Z# \! ?' y
  1651. ; http://php.net/session.upload-progress.min-freq" k! K& B/ A( |, U1 K
  1652. ;session.upload_progress.min_freq = "1"# I; R1 D$ V: h2 T

  1653. ! ^* N; L' f7 d2 |) c( m
  1654. [MSSQL]
    ; b" v1 t6 r7 r+ r4 |
  1655. ; Allow or prevent persistent links.
    6 N3 h! P% ~4 d* g- @! m
  1656. mssql.allow_persistent = On/ R) Z# E2 q3 G- R
  1657. 4 j7 K" l/ H8 z' F( W* u& p/ S
  1658. ; Maximum number of persistent links.  -1 means no limit.
    " V) L2 |% v: |$ H5 l8 D
  1659. mssql.max_persistent = -1: _! u# |' V+ H" d" }$ B

  1660. # K( Z& }, x" |0 K/ ]1 `9 x8 m! ]
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ; s' Y0 `$ B, z( G7 @& D' F- g# {
  1662. mssql.max_links = -1/ g) Q/ E6 Q( t& H, x9 D
  1663. ; W# i  V: a. T0 F4 Y6 ^; S
  1664. ; Minimum error severity to display.4 l: R+ z! J/ X3 j
  1665. mssql.min_error_severity = 10* [( P* f  V' J8 z0 ]
  1666. 4 ]9 ], T! R$ ^' E5 ?
  1667. ; Minimum message severity to display.
    % o5 V0 v, }! c, V2 H
  1668. mssql.min_message_severity = 10
    ; Q# O- L( Q* z! A. L
  1669. % r# k+ C$ z9 y! k4 H* w( n
  1670. ; Compatibility mode with old versions of PHP 3.0.& |+ A% W- U: I6 t2 U
  1671. mssql.compatibility_mode = Off
      Q. U- v" W' ]4 X7 [3 [- V1 W

  1672. 1 z% W' P0 r1 E1 e( E
  1673. ; Connect timeout
    ; H# m6 S5 n0 I4 T' t: q- A
  1674. ;mssql.connect_timeout = 5; y$ F6 N- [, e- w
  1675. 9 G$ V" S  {) I! }
  1676. ; Query timeout
    1 L  r4 I* n9 A
  1677. ;mssql.timeout = 60/ N2 E5 J/ X* z/ q) c$ \

  1678. " \3 z6 v) K' X. U9 \
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
      l% R, A; ~8 C$ ]5 J7 Y! E. F
  1680. ;mssql.textlimit = 4096
    $ x/ U" ]/ ^* S* d

  1681. 0 g" S7 M. H$ G" o
  1682. ; Valid range 0 - 2147483647.  Default = 4096.# `6 E& ~* c1 m, C$ v
  1683. ;mssql.textsize = 4096
    ' Z  v; o0 Z$ u
  1684. 2 w/ s8 ]3 V- L" s2 j) [
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.  |  i9 n- G6 q! R/ S9 M
  1686. ;mssql.batchsize = 0
    9 Z, k! |& ^, x6 P5 t: i
  1687. * Q0 S6 }/ g4 `( W: w( n
  1688. ; Specify how datetime and datetim4 columns are returned/ N$ L) k4 F7 H6 i$ j
  1689. ; On => Returns data converted to SQL server settings& S2 k( a. d) {7 s: V5 u) y
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    , W0 M' a& w$ t) e3 P
  1691. ;mssql.datetimeconvert = On. y  Z4 D0 S6 [. o* V! y% N

  1692. ) |; ^5 Q4 d5 c" K9 L
  1693. ; Use NT authentication when connecting to the server" ~0 @% r# K' S
  1694. mssql.secure_connection = Off2 r0 o, p$ n* J" I

  1695. $ N. ^7 y' A% v& p- O
  1696. ; Specify max number of processes. -1 = library default9 \+ V! T% ~1 w3 D+ Z: ]" J
  1697. ; msdlib defaults to 258 @& t  E: \: X/ f  Q; ~
  1698. ; FreeTDS defaults to 4096
    ( q& K- I+ ?7 g$ `( j
  1699. ;mssql.max_procs = -1* e9 o0 Q, j3 b* b

  1700. 5 z% k$ A$ s3 H' ~* `$ R& B
  1701. ; Specify client character set.; c$ o5 K+ i/ ~6 m- _
  1702. ; If empty or not set the client charset from freetds.conf is used
    1 P8 z8 p3 w! b% C( k% q& ^
  1703. ; This is only used when compiled with FreeTDS' f2 j, k! j/ H  [& R! e% a  s4 H# |
  1704. ;mssql.charset = "ISO-8859-1". p7 |, ]0 u, ?, t; j( u1 a0 K

  1705. ! y- Q2 U7 a$ _$ k3 b! ~( V
  1706. [Assertion]
    4 B: K$ v" _1 N* G1 z
  1707. ; Assert(expr); active by default.
    ! x4 v& n: B- s1 g" ~, m4 j
  1708. ; http://php.net/assert.active2 f5 R9 h# J* X) n, @/ b. w# o
  1709. ;assert.active = On1 q0 J4 J+ f+ _; j! E+ s7 `1 B
  1710. 4 P# a& z8 w# E7 L
  1711. ; Issue a PHP warning for each failed assertion.
    , n9 i1 E% e- v, M1 l% T2 T  ^
  1712. ; http://php.net/assert.warning
    ' w  j  V: m: p9 f
  1713. ;assert.warning = On
    4 r% v( p/ W! f

  1714. ' l/ b; N8 v) F
  1715. ; Don't bail out by default.
    , V+ c2 G) g8 }" O# P7 H8 ?
  1716. ; http://php.net/assert.bail
    : k3 C+ B- J4 x( q% P6 t
  1717. ;assert.bail = Off' o, n* n2 U* e5 X. P. R

  1718. ' R& N$ U) h5 p+ S/ G# s) y
  1719. ; User-function to be called if an assertion fails.+ ^  y& p5 v- F( R
  1720. ; http://php.net/assert.callback& |8 H8 G1 ]6 x! P: ^
  1721. ;assert.callback = 0
    7 W+ T! M4 _) l

  1722. - h0 |' I$ d% S9 j1 l# p
  1723. ; Eval the expression with current error_reporting().  Set to true if you want2 b1 k1 y3 M  R3 |0 ?7 W
  1724. ; error_reporting(0) around the eval().0 j+ O8 g: i2 Y: U) J4 q! w: Y
  1725. ; http://php.net/assert.quiet-eval0 @; U( `9 C2 y+ _' c" l* C
  1726. ;assert.quiet_eval = 0% Z3 b3 {1 [7 t3 i7 {/ E& c. |. r

  1727. : o2 A2 x) J) y. o' O- L
  1728. [COM]( H: U0 i) P' c3 C$ b
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    # w& y' j: Y/ s) m2 ?6 Q3 Q
  1730. ; http://php.net/com.typelib-file
    , M( w  h9 S/ Q* C: k0 I
  1731. ;com.typelib_file =8 [. g1 g# m! n; [; r+ d% z; b! N

  1732.   H  W4 C) @) l8 p7 F7 G
  1733. ; allow Distributed-COM calls3 `2 T% ]" z  g- \# K/ w
  1734. ; http://php.net/com.allow-dcom: _$ m( g4 F7 b% l" {8 i0 _: h
  1735. ;com.allow_dcom = true; F9 L8 g, M# C/ q" t: c

  1736. 0 `- V5 g! U3 \8 i1 ?! a
  1737. ; autoregister constants of a components typlib on com_load(). g! x" V, @  F& a
  1738. ; http://php.net/com.autoregister-typelib9 [& l( p5 y$ b
  1739. ;com.autoregister_typelib = true
    1 T2 D; c0 r. g/ [: W  p

  1740. " j/ o- m. f3 ~& \' d$ v) K
  1741. ; register constants casesensitive
    % d5 k. m9 z7 \' M. S4 d& S5 G5 X
  1742. ; http://php.net/com.autoregister-casesensitive5 I& v- G# Y1 D8 {3 K4 P9 H
  1743. ;com.autoregister_casesensitive = false: B+ s' |3 S* A! I

  1744. - x- p; {, A- p- h* s- A
  1745. ; show warnings on duplicate constant registrations
    * m, X7 L- v3 q
  1746. ; http://php.net/com.autoregister-verbose- R: \. A- K& N) a4 n% D
  1747. ;com.autoregister_verbose = true
    5 h: a# {9 _$ t9 a
  1748. / Q! \8 m: r; s% X& b4 k
  1749. ; The default character set code-page to use when passing strings to and from COM objects.) I# Y$ J; ?. W5 H4 D+ U; z, b3 m# E
  1750. ; Default: system ANSI code page# p! J. i, U% t1 n, ?9 W+ J& _
  1751. ;com.code_page=
    / {( ?7 |+ _: |  _: v

  1752. , Y" L. q) Z2 \
  1753. [mbstring]
    & q+ H/ i; q& ]
  1754. ; language for internal character representation.5 b4 E4 A; A3 D1 ]' ?5 v
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    + {/ X3 _3 H: v
  1756. ; http://php.net/mbstring.language
    + @, Z, B' j. E- ]  q: o( [) f
  1757. ;mbstring.language = Japanese; H  E- M* |4 Q) {1 Y$ e- V" b

  1758. ! Z$ V! I) k3 {) ?, q8 Q" D* |
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    9 i7 Q6 z) I, i, x: {. ]* a7 u
  1760. ; internal/script encoding.
    7 v( q" x% l# C5 ]+ G
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)$ F. P  p8 I( T* p& u1 }! u
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.5 v3 f+ T2 V4 v! e# {
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    4 u7 E  w! X7 O% I# l
  1764. ;mbstring.internal_encoding =
    7 D+ A9 E8 D& j5 A1 O; f' ~: e
  1765. 7 p$ v' K& f% w4 M5 v3 z
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.. T$ `5 ~0 j4 m* ]
  1767. ; http input encoding.
      M$ W- ?* V" B7 q+ i
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    7 O( m6 {; p$ H9 `- l
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    # e$ j1 [$ P8 M
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input' W, X8 H4 H3 ?' [/ e; d
  1771. ; http://php.net/mbstring.http-input; l5 i1 e+ N0 u+ Y8 ^0 W* o% D( ?, S
  1772. ;mbstring.http_input =. s9 h2 l: y& x
  1773. * _7 Q7 k" b% J' @2 V7 N% h  R
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    * S( @6 [0 X+ G: |' h) C6 E; U2 w: F
  1775. ; http output encoding.
    2 P2 U. A( u; p! ^0 J
  1776. ; mb_output_handler must be registered as output buffer to function.
    7 e  d+ Y! j4 k2 j
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    6 Q$ o& a7 }0 R
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    9 P6 ]) u0 i. M; \
  1779. ; To use an output encoding conversion, mbstring's output handler must be set9 A* W6 \& V, j: J& I5 F1 w
  1780. ; otherwise output encoding conversion cannot be performed.% Z4 Z2 Z0 F. G$ ~  O$ J  w
  1781. ; http://php.net/mbstring.http-output
    % T3 L  l8 \: Y) ?& z& I
  1782. ;mbstring.http_output =4 z/ |' b% b0 v/ ~+ a

  1783. ) K" |/ g3 V6 X4 w  ~5 f
  1784. ; enable automatic encoding translation according to& f7 `* K# F+ f3 D& U' r
  1785. ; mbstring.internal_encoding setting. Input chars are
    : N# f; h# a# H4 ?( _* b9 g
  1786. ; converted to internal encoding by setting this to On.
    & j! X+ P( N1 M# C; J' p4 {9 \3 x8 c
  1787. ; Note: Do _not_ use automatic encoding translation for+ r) q& C# r" z/ b. g6 o  I. S6 Q
  1788. ;       portable libs/applications.8 p; r2 |/ G$ U6 p* l1 A- d
  1789. ; http://php.net/mbstring.encoding-translation; W1 _0 |5 w+ ~) V& M
  1790. ;mbstring.encoding_translation = Off7 |7 m: w$ W9 t3 v5 h; Y8 S

  1791. 4 p4 R2 p: |6 `
  1792. ; automatic encoding detection order.
    # L! l4 b4 V2 n) `, ^
  1793. ; "auto" detect order is changed according to mbstring.language
    5 o! _  f( X) Z/ s" z. v
  1794. ; http://php.net/mbstring.detect-order. b. b  }6 \& v. u
  1795. ;mbstring.detect_order = auto0 G% Q1 k0 N8 O/ v: J/ j: ]- t3 r
  1796.   l) G9 p2 I. F* I- G$ N( K1 L1 L
  1797. ; substitute_character used when character cannot be converted
    & n  `+ B0 _+ Z% Y3 H" C
  1798. ; one from another6 x" V$ r/ B" P+ Y
  1799. ; http://php.net/mbstring.substitute-character6 q, `& L0 |# z- v8 q
  1800. ;mbstring.substitute_character = none
    5 u1 [* E# V) y
  1801. $ k+ k% a+ e' K" w3 X
  1802. ; overload(replace) single byte functions by mbstring functions.  i$ ?0 x9 z1 ^* w3 [& j1 M
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    . n& \; [/ c+ u. [5 ?: ^
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    # K& G; F' d6 a8 R5 {- l! J
  1805. ; For example, 7 for overload everything.
    3 `' o* d& d+ h+ J* L( J
  1806. ; 0: No overload
    1 q7 g  \; l, h  L$ I- _
  1807. ; 1: Overload mail() function* B9 Z2 R; T, Q; X* k, F# ^9 r, g7 b
  1808. ; 2: Overload str*() functions5 A' R4 _  z0 F0 i8 M" b
  1809. ; 4: Overload ereg*() functions
    % S- |9 o8 R! L, |/ ~
  1810. ; http://php.net/mbstring.func-overload
    % T( M3 e& `: u5 m' o6 l
  1811. ;mbstring.func_overload = 0, `( p" }/ p8 I8 \
  1812. 8 B# l/ w- e- ]+ g* g6 u, m0 N  G
  1813. ; enable strict encoding detection.
    9 a: k$ P% K9 I. W- m
  1814. ; Default: Off
    / [9 g  G1 X9 K8 }5 n0 W
  1815. ;mbstring.strict_detection = On
    . m. j4 Y3 m0 f* }" N; }
  1816. ! \4 p- K4 ^1 ?% x; Q- X4 b
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    - k" s* R7 F9 q8 X1 M6 {
  1818. ; is activated.+ A& e2 l8 F- \' o! ?* M1 j
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)+ j& X; L5 H2 W4 a: B0 h
  1820. ;mbstring.http_output_conv_mimetype=2 @) r7 K+ o& k! N3 E6 H

  1821. / w. D3 x% v7 U& O7 ~9 a2 o3 y% ^
  1822. [gd]
    ! u8 g$ p1 E& v) j0 w4 o3 M: x
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    # A0 }/ N4 I2 g3 W$ t+ l
  1824. ; a gd image. The warning will then be displayed as notices2 W' u6 C/ q  p
  1825. ; disabled by default: K- f% x, ?: n- J
  1826. ; http://php.net/gd.jpeg-ignore-warning. E  U% p  m2 f0 c( q3 f5 z
  1827. ;gd.jpeg_ignore_warning = 0
    9 A8 I2 }! h) h4 p' K0 `" C

  1828. 5 Z9 s2 p, C# u1 B" p. _
  1829. [exif]
    & r8 R4 s. T. p5 J* ]- Z
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.) V9 b9 {" w9 T2 {% p
  1831. ; With mbstring support this will automatically be converted into the encoding
    , q6 Z2 D" L/ O9 x, H* D" X
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    1 N5 K0 H, V  X" L1 m
  1833. ; is used. For the decode settings you can distinguish between motorola and
    % @, g+ L0 {& I7 C9 Q6 R3 l
  1834. ; intel byte order. A decode setting cannot be empty.9 f. u# s7 v$ j% P" F
  1835. ; http://php.net/exif.encode-unicode
    8 u& Q: C6 }3 t  E7 r# L1 h/ s. S
  1836. ;exif.encode_unicode = ISO-8859-15
    " _9 n. o( @8 \
  1837. , Z; Q8 J, N9 b# D' B% {
  1838. ; http://php.net/exif.decode-unicode-motorola6 k% W' W! J) |+ l4 O* H- ^
  1839. ;exif.decode_unicode_motorola = UCS-2BE0 ^; K' w5 H3 o; S0 M, P% a  }

  1840. + d. b; c) Y- G5 B& R/ x
  1841. ; http://php.net/exif.decode-unicode-intel% L6 m/ a2 x' ^" r
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    6 U3 `! \& ]) y8 P8 A

  1843.   D! E9 |5 R; i) T- f, F3 n- Q$ j
  1844. ; http://php.net/exif.encode-jis
    ( e* m  {, z' _! v$ F
  1845. ;exif.encode_jis =
    3 U% B+ D- d: a# \$ G4 e

  1846.   @  o0 w" F5 ?& g( D
  1847. ; http://php.net/exif.decode-jis-motorola# O$ ?' J! O/ @
  1848. ;exif.decode_jis_motorola = JIS+ u3 s# y2 [% f  n' N- }1 {3 r

  1849. 5 `( ^; }4 E9 K7 \
  1850. ; http://php.net/exif.decode-jis-intel
    , a1 k) W- s" N
  1851. ;exif.decode_jis_intel    = JIS% k% f( g/ n' a) M6 Y! h$ U
  1852. - m3 f4 Y+ w8 b+ M
  1853. [Tidy]
    3 Y/ w- \7 B- [! y
  1854. ; The path to a default tidy configuration file to use when using tidy
    & W7 V9 Y- ?) _+ ~
  1855. ; http://php.net/tidy.default-config
    * Q/ n1 v( K, J  b
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg+ h% Q8 L& a2 t3 }' C
  1857. : X1 F9 [% z& V0 b  X9 y
  1858. ; Should tidy clean and repair output automatically?. u3 w: t( y, h
  1859. ; WARNING: Do not use this option if you are generating non-html content; f) M% C5 n. x3 j8 v- M: g
  1860. ; such as dynamic images
    & Y( V/ R4 m' x
  1861. ; http://php.net/tidy.clean-output; P, ]* U* B9 y  Y, g# N
  1862. tidy.clean_output = Off, U5 O, R; F5 `  W( X/ M2 o
  1863. 4 r) C+ F, \7 ~
  1864. [soap]
    , [' _: L/ b7 d2 i9 W7 V
  1865. ; Enables or disables WSDL caching feature.3 X( k; ?0 L0 [. _9 D7 I1 W0 k! B" p
  1866. ; http://php.net/soap.wsdl-cache-enabled; w. n7 k7 c! m$ O) n& Z" S
  1867. soap.wsdl_cache_enabled=1# I4 \1 M5 ^" U+ z; L" y' y
  1868. / J$ u. X; \0 X  ~9 V$ i
  1869. ; Sets the directory name where SOAP extension will put cache files.
    , T( Y' s- H9 b8 R. R0 k
  1870. ; http://php.net/soap.wsdl-cache-dir& l7 M1 D+ h8 r
  1871. soap.wsdl_cache_dir="/tmp"& Y/ H: q5 j4 ~1 y
  1872. $ h( l, g6 O8 Y+ @* _& _
  1873. ; (time to live) Sets the number of second while cached file will be used5 e: H7 D: D# i  ^6 m8 u) b
  1874. ; instead of original one./ S, `# O  o" K/ U! d3 n
  1875. ; http://php.net/soap.wsdl-cache-ttl8 G' s! Q6 B! H/ ^3 u% [( x) E/ z
  1876. soap.wsdl_cache_ttl=864007 H' |4 f1 k& Q

  1877. + G  K  k$ _# X
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)3 \3 Y6 M: ~# d7 N* b
  1879. soap.wsdl_cache_limit = 5
    4 _8 t' x  M& a2 d9 S9 x) C/ R  d

  1880. 8 }6 U6 `" P8 X
  1881. [sysvshm]
    0 T& k) I3 B. n) [
  1882. ; A default size of the shared memory segment
    ' K$ T0 c' H+ Q
  1883. ;sysvshm.init_mem = 10000
    $ Z' ?# f, h1 K: Z+ w( Z

  1884. , ?8 z0 a3 y! c5 P3 w+ I
  1885. [ldap]: M; ^# C: y. G* A, {5 b/ x  p. U
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    # J+ J, ?3 I4 F# K: {/ M: o4 S
  1887. ldap.max_links = -1
    / H! D" R+ b) v3 A% q( G+ \* L

  1888. ' [& Z6 L* f& f) @9 x
  1889. [mcrypt]
    5 f: ~- t3 w; @6 z' v1 e% f2 M
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open7 F% t3 z. G) v6 V$ V0 m

  1891. $ A: q$ d9 ~* K% Y& c' q8 c
  1892. ; Directory where to load mcrypt algorithms
    3 m: S, N, F9 f! K$ p2 N; k
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    8 y: W9 a( \0 u  U  Q3 e/ o/ q* N
  1894. ;mcrypt.algorithms_dir=
      p6 n5 M+ Q( m! c- ~1 \
  1895. , C/ \* h; Q5 ?# q7 }; h1 R
  1896. ; Directory where to load mcrypt modes1 D  A0 ^6 [2 o
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)" b/ @0 d) w: x5 M
  1898. ;mcrypt.modes_dir=+ S5 Y$ R3 U, [+ r; C
  1899. 9 ]0 V& Q* [4 z7 t& h
  1900. [dba]4 v3 t2 J2 r5 ~' R' X0 V# w0 f
  1901. ;dba.default_handler=
    / p* p( w/ }  }/ E- }
  1902. . T6 q  I" _+ |' B; x! _
  1903. [opcache]: v9 ?; p( U" @4 x9 @: _) V
  1904. ; Determines if Zend OPCache is enabled: |* `( Q. K; k$ [
  1905. ;opcache.enable=0% H: c3 _# w: [3 Y1 J3 L

  1906. 7 \5 s4 a  \& |9 m: ~
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    & ?' [) u  i0 u% c) s# L. s
  1908. ;opcache.enable_cli=0
    4 ~. `" Q* X. q1 ]$ Q+ q2 W

  1909. ) p2 |% Q2 P8 G
  1910. ; The OPcache shared memory storage size.
    , Q4 a  ~  d! N- ?2 `" l
  1911. ;opcache.memory_consumption=64
    - }, _$ V' g) l, U* [( M% b

  1912. - O+ k9 V* p& b* r- f4 _' z( I
  1913. ; The amount of memory for interned strings in Mbytes.0 U+ n. a3 B, u7 t, U$ e9 t0 a; ^
  1914. ;opcache.interned_strings_buffer=44 W; U8 S5 _4 @$ @! [7 s' @
  1915. 9 S) c3 N* S3 T* X
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    / L" t* p& ?1 `* q1 z6 _9 n' y
  1917. ; Only numbers between 200 and 100000 are allowed.* ?1 V: b$ y6 T& l8 g: t
  1918. ;opcache.max_accelerated_files=2000. {4 W/ k* u4 T% e
  1919. ; Z) x7 t* U7 {4 G9 q
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.) l4 G- E; q  y8 M2 {1 H1 S: q
  1921. ;opcache.max_wasted_percentage=5
    / X; W) p+ ~/ u! `

  1922. 7 r: k- }1 e* |6 F# U, O
  1923. ; When this directive is enabled, the OPcache appends the current working1 s6 Q6 l. K' N+ i: [) C; Q8 u
  1924. ; directory to the script key, thus eliminating possible collisions between  y6 u* u6 }' R' P. E
  1925. ; files with the same name (basename). Disabling the directive improves
    $ F! }' r" `* a; W
  1926. ; performance, but may break existing applications.
    : J4 h' `" I5 h+ ]) v& B
  1927. ;opcache.use_cwd=1
    ) \+ g, {' b- B/ D3 {9 E2 H) z  N; K8 L

  1928. ( Z& W8 N) ?2 k& k( U& Q% P
  1929. ; When disabled, you must reset the OPcache manually or restart the
    & V# |: X8 D8 Y! x
  1930. ; webserver for changes to the filesystem to take effect.
    5 }4 K  |( X" U( n; q( T" O
  1931. ;opcache.validate_timestamps=18 g( C( P$ J# D6 v4 U- d$ ~; v7 s

  1932. 0 q5 p$ g. H) q8 m6 O
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    * G8 |, Z: S( ?4 Y2 H# O) S
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    2 |3 g8 s% ?5 L* G8 y& b, P) ]7 F
  1935. ; once per request. "0" means always validate); q3 v' f0 H3 J/ Y
  1936. ;opcache.revalidate_freq=28 Q- M" ^: ]7 m' x& j) z- ?9 d
  1937. 3 [. d' g6 `1 J+ x" j
  1938. ; Enables or disables file search in include_path optimization, l) p% F8 ?! U* N5 R2 M/ s
  1939. ;opcache.revalidate_path=0
    4 f2 g- p& O4 ^3 |! e6 R

  1940. ' ]( c# Y; ?9 I
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    6 j% f% h4 D6 n1 H) z9 y6 L
  1942. ; size of the optimized code.
    " q! }. _6 u% U" a+ q& S
  1943. ;opcache.save_comments=1
    2 }9 |# J8 h5 K, K& E" x: v) s
  1944. 9 T$ w# ]( {% G6 m3 s7 c& {
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"" ?$ l7 j7 ^; c) Y# S$ a2 E& y( W
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    3 D/ s) b9 N- D0 V4 |
  1947. ; that don't need them anyway.& u* c3 w6 }+ r+ `4 J1 Z- C: H5 O7 E
  1948. ;opcache.load_comments=1
    & e, T9 z: ]8 _2 i! h( ^/ [6 Z

  1949. 6 c( p$ ]9 P  d) Y( i8 ^' r! A
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code: |: x2 M* d+ o! S$ _- z( u9 L
  1951. ;opcache.fast_shutdown=0, X2 ^4 Y# s$ d

  1952. $ c0 g4 Y8 c8 t' H2 Z
  1953. ; Allow file existence override (file_exists, etc.) performance feature.' ^+ \- f, J1 u1 ~. E; k7 O: ?
  1954. ;opcache.enable_file_override=0- }: O+ y" O0 k; w% j- A& j" |

  1955. , G1 g6 d, b9 c& Z  t3 q, l$ w2 G& P
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    0 N+ h; f) d) X
  1957. ; passes
    7 K9 H2 H0 _) `& ~
  1958. ;opcache.optimization_level=0xffffffff
    8 f- P) M7 [. Q: Y$ O

  1959. 5 H9 h( R* G# k( y+ ^
  1960. ;opcache.inherited_hack=1
    5 J- P" J- [7 c" S+ B
  1961. ;opcache.dups_fix=0
    ; L* k1 [' d% V* f

  1962. : S, p, n) w, i
  1963. ; The location of the OPcache blacklist file (wildcards allowed).& l& D0 {* t5 q2 z$ @
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    2 q% C; \# g$ D# ?# x5 W, f% L
  1965. ; that should not be accelerated. The file format is to add each filename9 l/ V: @! g+ B1 o, t1 B
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ( I) T# q, p% t% B2 [) n
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    / h9 b* D2 ^& ]% i5 }) n+ f
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    * T6 h1 `+ K2 h' K3 E5 r% e  F7 k
  1969. ;opcache.blacklist_filename=- |2 }3 f" c$ D/ Y; ]
  1970. ! H; A( a( |4 L+ V
  1971. ; Allows exclusion of large files from being cached. By default all files
    ( L1 b( }9 V- h, w( P- H
  1972. ; are cached.7 L" \* @7 Q5 f* i2 H3 W
  1973. ;opcache.max_file_size=03 r5 ]3 m' A' l  _- l* f

  1974. ( r: A) v- Q( i- n
  1975. ; Check the cache checksum each N requests.
    & H. ~3 o0 N8 m
  1976. ; The default value of "0" means that the checks are disabled.
    / U' t4 A; w# U. r% s/ i+ U
  1977. ;opcache.consistency_checks=0
    . X$ d$ K- i0 ]
  1978. ' b8 x4 H5 K3 J8 m  h
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
      [9 ]7 L( z+ r+ K" i6 F, [
  1980. ; is not being accessed.8 @+ M$ v& Q" a: m7 ]. q
  1981. ;opcache.force_restart_timeout=180
    & y' J; w" g  o. `$ D' @
  1982. 0 ~" |5 K2 z! s7 O& m* l
  1983. ; OPcache error_log file name. Empty string assumes "stderr".5 `* g( O2 d  s9 W# P
  1984. ;opcache.error_log=
    1 S0 E/ J6 N) z  v0 z
  1985. 4 n2 ?* f7 @$ y* i) U; k
  1986. ; All OPcache errors go to the Web server log.
    2 S# r1 @2 _3 B# [: W# }
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    $ Q0 r2 O8 H8 o# Y7 F  a
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
      k! t5 W% m2 p6 Y; A
  1989. ; debug messages (level 4).% h3 j" z9 y! a$ Q$ ^; [
  1990. ;opcache.log_verbosity_level=1
    0 J* I; E) \" @5 h" b9 F, v- n
  1991. 6 @) x8 g0 i% P, T$ _2 @: N
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    0 Z( L0 q8 `% |8 _# P
  1993. ;opcache.preferred_memory_model=
    , ^2 ^0 S# |* H# B
  1994. ) n0 F( C) {' b
  1995. ; Protect the shared memory from unexpected writing during script execution.. P+ G2 B6 F9 m
  1996. ; Useful for internal debugging only.: b7 Y1 r" z* R1 c' Z0 t
  1997. ;opcache.protect_memory=01 L1 ~) }8 N+ I) V% C9 s) H2 F7 i
  1998. 1 d) n! m$ ]. G2 X! F  r
  1999. ; Validate cached file permissions.
    ) S5 Y+ Z5 |; M  P; c' v3 g! C
  2000. ; opcache.validate_permission=0
    . V* p5 ^0 }! Y: i( {3 b

  2001. , i9 G3 H; w+ I# z6 A$ Q* Z
  2002. ; Prevent name collisions in chroot'ed environment.* \* e. s2 j  t* i* R) _
  2003. ; opcache.validate_root=0
    + i& x; Q: L& `0 r% f+ m( C& Z
  2004. 0 v7 s; `8 d8 b! T& h$ V
  2005. [curl]; t# R5 f6 H; g. n  |
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    3 g  G" H+ g8 @  u; g
  2007. ; absolute path.
    , d% D  A! C7 M1 W# ^% H# s# E
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt7 x" R# l3 b' w! z& ], ?

  2009. / n" h: J# g% }8 L# t& Q6 v
  2010. [openssl]& I9 e& _% e, E6 S; T. s
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
      t: Y6 Z, q6 X2 q1 M
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should" J) A. W- W3 d. i0 ^# P, m9 V9 w
  2013. ; not specify a value for this directive as PHP will attempt to use the; e* A1 M3 q& B# [1 A% n9 ?( {
  2014. ; OS-managed cert stores in its absence. If specified, this value may still) z1 q7 {4 p3 E/ O6 u2 a
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context& C$ O4 |3 \' M3 u# x# m5 V
  2016. ; option." [. D5 }: P9 z, W$ z! [! P# x3 C6 i  N0 K
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 J+ y- k4 T; U
  2018. - v  A  n, S9 H+ }% h+ c2 Y0 @
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    + T& g/ x1 r. i
  2020. ; directory pointed to by openssl.capath is searched for a suitable+ I% e/ t% M3 ?& B
  2021. ; certificate. This value must be a correctly hashed certificate directory.1 y, V/ @  A2 z4 ]+ v
  2022. ; Most users should not specify a value for this directive as PHP will( C5 g' R! {  Q
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    * p2 i/ h! A" n4 O) s) V
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    ( G4 q' O7 Q$ ], o& s' n4 n
  2025. ; SSL stream context option.* M+ W* ], o- X+ ~0 t4 |
  2026. ;openssl.capath=' I! H* Z$ {1 ^# ^

  2027.   p4 J6 u( A7 l/ F  u7 a
  2028. ; Local Variables:) G( @3 l" C, o( j- @. f% [7 q6 M
  2029. ; tab-width: 4
    - w6 T! u. ^  C: P
  2030. ; End:$ M0 \+ F- w0 y! D; p
  2031. . W3 r1 e" e' O
  2032. ;eaccelerator1 J3 J5 R- @& E2 h* c
  2033.   ~+ f6 ^& }) Z5 W& q8 v
  2034. ;ionCube
    $ h  h' C7 b4 L- y' o

  2035. : }) D: a+ S2 l  ]# ^: b
  2036. ;opcache
      n1 Q/ r4 K4 w# L" ]! {6 a

  2037. 8 e1 x1 e& l! f, c4 v! `
  2038. [Zend ZendGuard Loader]- Y8 I; y0 @& Q
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    $ F' w) g" K" O/ }' l& N* p
  2040. zend_loader.enable=1
    % d( y1 l' e1 O- i6 z7 B
  2041. zend_loader.disable_licensing=0& }% Y; {0 L+ b
  2042. zend_loader.obfuscation_level_support=3
    + G7 M" j& d* D
  2043. zend_loader.license_path=0 O# [$ b. \/ S8 B7 m- v  U' p
  2044. ( U9 [" x6 [* L4 N' A
  2045. ;xcache$ T0 `1 c) g6 y5 u

  2046. / F1 J- `, s9 r# N
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
5 O/ [$ I# P: d4 B# G
/ d% O# L3 C0 G0 M; u! {5 k  j0 c1 F! A
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
" b) X+ X$ ?6 P: ^% m3 P$ i8 r- A* D
Discuz!程序版本选择:
1 C. w5 T7 B3 B1 T/ g0 C0 |6 x* H站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,  F# c" u- d$ U9 r
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:( M. Z6 [  S( G7 n
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。& t: A+ P% C, X  t+ a: M* M

. Z" D( Q  }0 R4 J$ `Discuz!插件模板版本选择:
/ T4 i; w4 h6 L$ N6 W很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,4 r0 Z$ |7 z! c2 [
针对这个问题做个统一的普及:- a! O- ~& Z- V, K
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
9 E" o- ]2 S; _+ L4 f# V
& z* V5 g2 K0 h7 U所以" T6 V! h( ?0 r9 U6 `9 \1 k3 }4 r
适合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的二级域名。
: F5 F2 y6 M1 w1 C; G- }# `+ s打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。- t0 X+ K$ t' D9 V0 Q0 d/ k
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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