分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0, v: |7 a" C3 l

& L5 \6 S4 L8 E" W2 Y, ~8 s  v
  1. [PHP]- y/ W. ]+ p$ j. m
  2. - d* Z2 |& h/ S3 U( \- E6 [/ V
  3. ;;;;;;;;;;;;;;;;;;;1 Q& B  e2 x( Y3 ?% F
  4. ; About php.ini   ;+ f9 }, r7 Q  b" x. l, |+ b( r+ {
  5. ;;;;;;;;;;;;;;;;;;;/ e6 D8 L3 E2 p6 p1 [% m1 f
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    : g: U9 m$ E7 G+ C
  7. ; configuring many of the aspects of PHP's behavior.
    ) E% d- }- e; f2 }# v
  8. 9 y5 v; M8 K) u. m0 Z$ L1 J+ d2 I
  9. ; PHP attempts to find and load this configuration from a number of locations.
    : `) g. B- i6 {
  10. ; The following is a summary of its search order:
    ; o( q. B0 u8 {! r. f* X
  11. ; 1. SAPI module specific location.3 l; J- T5 |  \  Q  w
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)+ ~4 \# u( _- [: N- `, J' j
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)6 i# L% J1 q9 \8 R
  14. ; 4. Current working directory (except CLI)5 l+ D( C3 r5 u5 i
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP1 K% p0 K! X( ~+ t! L0 i
  16. ; (otherwise in Windows), U  z1 a& A+ w4 c8 A2 Z- K
  17. ; 6. The directory from the --with-config-file-path compile time option, or the" f) R5 a5 ~0 R1 O) m3 Q4 P4 z
  18. ; Windows directory (C:\windows or C:\winnt)
    ' {$ j# Y: t# E- \
  19. ; See the PHP docs for more specific information.5 i2 w, h  Y; }0 t# O- K3 y& l
  20. ; http://php.net/configuration.file
    + `$ t* }! _" i# N6 V

  21. * u& L' I5 S; D3 o
  22. ; The syntax of the file is extremely simple.  Whitespace and lines, u& ~" G6 J/ Q  l7 j/ r
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).: t* W. L/ ^5 ~8 [$ `
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though6 A6 s# \- w, i; H; k- t
  25. ; they might mean something in the future.
    8 u( T: o! |0 V( P- W: y

  26. 9 ]5 T- t& {7 M) m! l. C( u3 n
  27. ; Directives following the section heading [PATH=/www/mysite] only
    4 c* G+ _% E/ F5 d2 o3 h9 c5 K* E
  28. ; apply to PHP files in the /www/mysite directory.  Directives- t. r6 W5 M" w, t' ~6 E0 A
  29. ; following the section heading [HOST=www.example.com] only apply to
    0 }' I4 `) B6 b8 \3 P8 p
  30. ; PHP files served from www.example.com.  Directives set in these
    ! P7 K7 V- k3 B. e! r
  31. ; special sections cannot be overridden by user-defined INI files or
    7 ], s0 M, h) t1 E# w8 m
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    / s' `! w! b' O( z0 ]- y
  33. ; CGI/FastCGI.
    9 e) K. D& n7 b5 j
  34. ; http://php.net/ini.sections
    0 h; j$ q8 j$ g5 H8 y

  35. 1 }9 m3 F5 v# v0 F- U
  36. ; Directives are specified using the following syntax:1 e6 a; u/ ^4 y( a! ]8 d
  37. ; directive = value
    ( [2 Z5 z* C9 I! N+ q
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    4 p0 o4 k9 R& y5 c3 G
  39. ; Directives are variables used to configure PHP or PHP extensions.
    / U5 ]4 ]3 e' i2 J
  40. ; There is no name validation.  If PHP can't find an expected
    $ M+ a3 @5 `8 s* `6 j% N
  41. ; directive because it is not set or is mistyped, a default value will be used.( T0 ~8 M6 Z/ E+ a4 @  p+ y

  42. . Q, f  n- _% U/ Z: [
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    4 {- J0 j. F: U
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression, @1 _: z' i& A9 R4 `& J
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a( z+ U: q; L% k! g6 ]5 i' P& J
  46. ; previously set variable or directive (e.g. ${foo})
    6 T3 w, r2 r5 w8 A
  47. # x0 ]1 I3 F4 }) h) q
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:! r8 s  }7 P9 H+ N6 M0 R
  49. ; |  bitwise OR
    . T6 v1 L  H9 \. @. \! v
  50. ; ^  bitwise XOR3 D% U" u8 s+ v
  51. ; &  bitwise AND. \9 }! L& c6 i% G# x' _6 B
  52. ; ~  bitwise NOT5 {# D9 h3 c1 T7 ?+ i
  53. ; !  boolean NOT& W. R( X/ D7 u" Z

  54. + h# e# S# `8 \3 {/ V
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    # B" [' y: B" J% ?, l
  56. ; They can be turned off using the values 0, Off, False or No.% ^5 s' O' N5 ^

  57. 1 u) O7 V& p- A6 D& x
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ) G, G, u' W4 W' ~+ M9 s- n: `
  59. ; sign, or by using the None keyword:
    & l( o. N5 G2 T7 {/ M- X! M

  60. 1 O5 ?) N% p& l4 H) B! ^, P
  61. ;  foo =         ; sets foo to an empty string5 b4 }: x' h" d6 j
  62. ;  foo = None    ; sets foo to an empty string
    ! @! J  j, p" z
  63. ;  foo = "None"  ; sets foo to the string 'None'$ q% l# ^! Y  O2 m# ?# Z
  64. , I4 Q! ^% e5 K, B' o
  65. ; If you use constants in your value, and these constants belong to a
    ( \6 b$ _0 `. U* m" F: G5 m
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),3 ]5 w; h$ A/ T1 F) e
  67. ; you may only use these constants *after* the line that loads the extension.
    " F- ]4 @8 ?+ v6 ~: B; x

  68. 2 d: q2 Y" C! A2 D
  69. ;;;;;;;;;;;;;;;;;;;
    . U4 c* c7 |# V/ B
  70. ; About this file ;
    ! E( H  N9 R; K2 \8 _8 G/ s& C) C
  71. ;;;;;;;;;;;;;;;;;;;* o: A  @2 ?2 q4 [* F5 Z2 O0 E2 X
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    1 h7 m4 Y2 l% r0 ]0 ^
  73. ; in production environments and one that is recommended to be used in6 h# Z, g- U+ K" ^+ m* k
  74. ; development environments.
    6 j5 r# v+ r' e) _
  75. ) u7 s) a5 G4 H
  76. ; php.ini-production contains settings which hold security, performance and
    " k$ s; q9 F/ [5 M5 T6 g! z
  77. ; best practices at its core. But please be aware, these settings may break, q# |& u% n* O
  78. ; compatibility with older or less security conscience applications. We; L- }5 J8 `$ }* Z
  79. ; recommending using the production ini in production and testing environments.3 A, g" C0 f* @/ f8 ]

  80. / d5 n4 S! W, R
  81. ; php.ini-development is very similar to its production variant, except it is
    + |) q: S6 l/ Z; S, O
  82. ; much more verbose when it comes to errors. We recommend using the
    * ]+ K  f/ I) _+ h  M& d
  83. ; development version only in development environments, as errors shown to& m# R( k' e' D0 I
  84. ; application users can inadvertently leak otherwise secure information.
    / a% T2 q, g$ e7 f9 ~

  85. 5 T# H' z) r) S- v# N% e) x
  86. ; This is php.ini-production INI file./ A& `. {! [4 q6 B# C! M, [6 d! w

  87. : ]4 `- ?4 Y/ _. C  F( n$ H9 \' Y
  88. ;;;;;;;;;;;;;;;;;;;
    9 `7 x* }% D& V0 n( ?4 w$ }
  89. ; Quick Reference ;: ?% L- P* g, f( S6 n  O7 ^
  90. ;;;;;;;;;;;;;;;;;;;9 i( ]8 o) c# m
  91. ; The following are all the settings which are different in either the production
    : l4 H! v6 G$ E& M4 f# _5 @
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    3 H0 z4 W) W1 e% y5 k
  93. ; Please see the actual settings later in the document for more details as to why% r+ D" H: \8 y1 S
  94. ; we recommend these changes in PHP's behavior./ j+ {# J0 j8 i

  95. 7 h3 t; ^  n' Z9 Y$ B
  96. ; display_errors
    9 V( A% c! d- O, t' `
  97. ;   Default Value: On
    ; U" E, {+ U0 ?- d! `1 Y. f1 }
  98. ;   Development Value: On
    ( j' f" N# U  v/ j& Y" e( N
  99. ;   Production Value: Off
    . o8 U* y2 p% q7 g; l

  100. 4 B7 e6 e% ^# f4 ^
  101. ; display_startup_errors. t9 j7 A; q+ l' j* p
  102. ;   Default Value: Off
    8 @2 i9 k0 N* }9 |
  103. ;   Development Value: On
    1 i( {: T0 Q3 b$ h# i
  104. ;   Production Value: Off/ J* O! z0 ~* F4 E
  105. ; s) \( ^5 ~& g3 E' B
  106. ; error_reporting0 W. {" y  \8 W! }2 z, H
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED3 B* o$ a. z% l. M5 p
  108. ;   Development Value: E_ALL
    ' T/ i# s# N4 C' X3 D) ~
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT; F6 y1 f  ^" [

  110. : O- O3 v0 B4 N6 z  Z& F! {
  111. ; html_errors
    " j, n. M8 P* H7 v4 h$ p  x
  112. ;   Default Value: On" |- ?! M( z$ _. v4 _
  113. ;   Development Value: On
    7 E. n: ?1 I6 h# y1 H2 O( q( F# j( j
  114. ;   Production value: On0 @8 Z6 a; @+ F; F% R  v
  115. 9 i8 q$ i+ ^: q3 b
  116. ; log_errors1 X! b0 E6 W- z9 q+ Y( F6 y
  117. ;   Default Value: Off
    / {% {6 x1 O; u6 F
  118. ;   Development Value: On2 m* v$ b0 m$ T5 L6 h. n+ F
  119. ;   Production Value: On
    - P* p, n0 p% H2 _% c  A

  120. 0 C/ N! ~6 {  n% U' z3 t
  121. ; max_input_time, S3 o( Q- @& E- h9 t: ~' L8 W$ I
  122. ;   Default Value: -1 (Unlimited)( n1 a  R% K$ g! |8 q
  123. ;   Development Value: 60 (60 seconds)
    6 ~. T( ~. T, u/ _2 V& v) ^
  124. ;   Production Value: 60 (60 seconds)* Y1 C: q2 L2 \1 }

  125. . e5 E( @1 a. N4 {) m
  126. ; output_buffering9 Q+ f3 H4 n0 L; j0 C
  127. ;   Default Value: Off2 {! [$ N+ r7 g
  128. ;   Development Value: 4096
    , N, Q5 L6 p" t* p' D( Q  q
  129. ;   Production Value: 4096
    % p: _# L! L1 i# ]7 V& h! R% t

  130. * W" H, X% m, G6 Z$ n# h
  131. ; register_argc_argv
    4 q- b2 `$ R2 E2 g. X/ N
  132. ;   Default Value: On
    ' A+ R+ F6 \+ A& ^3 ]9 t2 I
  133. ;   Development Value: Off: T5 _  R2 ^9 s  X
  134. ;   Production Value: Off
    8 a6 d: `  b+ i/ g3 [

  135. " j' n- K; p0 ]/ T& T# j) t6 h
  136. ; request_order) ]. ~+ ?- s1 ?- ~1 `( c7 `& n
  137. ;   Default Value: None
    . O9 l& y3 s! Z, |2 z1 r
  138. ;   Development Value: "GP"4 c0 k% K7 ?0 I' u& ?
  139. ;   Production Value: "GP"
    . N, }4 s+ X. V8 S2 R

  140. 5 \! c. s9 A' Y5 v. t4 J* ]$ u
  141. ; session.gc_divisor
    & z. t0 k6 _. y6 ?' Q  K4 n/ ^5 K" F
  142. ;   Default Value: 100! I2 A: Y# Z* r; V' _$ u% N
  143. ;   Development Value: 1000
    8 a9 |) C% R/ c
  144. ;   Production Value: 10001 Y4 r' Z$ L; m0 _
  145.   A# m) p; P$ d* G" V5 _* N' c
  146. ; session.hash_bits_per_character( v( `0 X# ^6 {2 u: `5 X) Y
  147. ;   Default Value: 4
    : }2 J3 B- _9 F" L
  148. ;   Development Value: 5
    - \  y* `, P1 V/ J
  149. ;   Production Value: 55 Y4 J0 s. l$ B5 N- c3 i7 @# ~

  150. , h, W/ Y0 d) Z  n" Z' L! e8 m) U3 J
  151. ; short_open_tag
    9 F) y4 J: C+ Y0 u
  152. ;   Default Value: On
    3 x' s) v; }$ w- A3 c2 Y
  153. ;   Development Value: Off
    1 X  i, Y, T$ l4 j+ m! P
  154. ;   Production Value: Off+ h* ]. u  h* f0 D# z

  155. 1 Q' e; V( X& A! k$ s
  156. ; track_errors
    8 D% A5 I: f3 u( n! ?7 V( ^
  157. ;   Default Value: Off/ @$ o# J. I1 _2 F" j: d
  158. ;   Development Value: On
    0 X) z  L2 @3 ^( V5 E5 f
  159. ;   Production Value: Off
    " F) E; @9 G; f! W! Z: N, }  y

  160. 2 H0 [: ~- ~$ {, T; {2 Y
  161. ; url_rewriter.tags4 X* Q+ p3 ~* y1 ~! q
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    & Z$ k- T3 L( h' g, b+ N
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 g. h1 y0 ^8 s" u1 O
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry". M8 _, S( `6 A/ }% S( Z
  165. " e" Z0 }: y$ }( ]1 v8 o% e1 S1 R
  166. ; variables_order; J" B+ Z6 z9 t$ J# }* n" L4 h5 C
  167. ;   Default Value: "EGPCS"
      R9 g" L6 E6 N! P8 ]" \0 T
  168. ;   Development Value: "GPCS"
    4 N; s$ A6 h  B: @4 U$ {2 @# `
  169. ;   Production Value: "GPCS"# t# t5 x2 }5 A9 W* E  V0 }! m/ P: J

  170.   e1 z! T! C9 }" n3 |( R: n
  171. ;;;;;;;;;;;;;;;;;;;;
    + b# t1 `. h1 e1 q  J2 ?
  172. ; php.ini Options  ;
    # l5 J# T7 |3 M% n( }
  173. ;;;;;;;;;;;;;;;;;;;;
    4 A* A; I1 }  [. T. J
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"3 m- L; e& f: ^1 M
  175. ;user_ini.filename = ".user.ini"0 ]* @. P( b  J) u$ F7 ~

  176. - i7 E: a. J& f) W$ N2 @: [5 O
  177. ; To disable this feature set this option to empty value. b$ l6 T, S# P, J2 w. H! d
  178. ;user_ini.filename =0 C5 D. L7 D- E4 r( |
  179. + Y# B% X1 B7 G- V2 ^
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ! e3 j5 f; j+ W/ x4 @4 Q' ]
  181. ;user_ini.cache_ttl = 300
    " |! N( m1 t! F; x" W

  182. - p) K# y# ]4 G
  183. ;;;;;;;;;;;;;;;;;;;;
    8 H* v) p5 P8 G+ n
  184. ; Language Options ;8 Q# W5 E9 R9 h7 Z# M
  185. ;;;;;;;;;;;;;;;;;;;;
    ( S+ `# |2 m' C! j0 L9 s0 d
  186. 0 F+ F/ Q$ S; Z' |& z( I/ B% y
  187. ; Enable the PHP scripting language engine under Apache.
    , S8 }9 S: s/ q  O% V
  188. ; http://php.net/engine+ e, P1 [. ^/ b; |9 n
  189. engine = On- |2 P8 m* z( u) d$ f
  190. 4 \* n" G  O9 v" L" j) }9 T2 A6 x
  191. ; This directive determines whether or not PHP will recognize code between
    % T* `# `; Z* Y$ m! Z$ k- n
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ! b7 ]6 t4 X  u5 x+ s  U
  193. ; generally recommended that <?php and ?> should be used and that this feature( V6 i! W; D% P# `
  194. ; should be disabled, as enabling it may result in issues when generating XML. v) \" n' F$ z' `7 i, |
  195. ; documents, however this remains supported for backward compatibility reasons.% ]8 N! s& Y0 P: i
  196. ; Note that this directive does not control the <?= shorthand tag, which can be! _/ `* H% A: o) B( a! c, ~
  197. ; used regardless of this directive./ V- s% Z, i: }/ r2 ~. f
  198. ; Default Value: On
    1 M; m! g5 U8 C. f
  199. ; Development Value: Off+ r' L4 u: l" t. ?/ ^
  200. ; Production Value: Off
    4 ?4 S  f! r% ]+ e0 N* l
  201. ; http://php.net/short-open-tag
    0 }6 `, g) D& P) ~$ }
  202. short_open_tag = On
    9 {7 C5 Y  a0 |. M

  203. 2 m4 H) q! R9 B% T3 P
  204. ; The number of significant digits displayed in floating point numbers.
    * u) y) _. w1 e, J/ a, g, [! y
  205. ; http://php.net/precision3 G- _# i7 {# E% b4 \) e
  206. precision = 14% {( L3 L6 O0 E

  207. ! C7 n. ^3 b! R2 v, s4 f, j
  208. ; Output buffering is a mechanism for controlling how much output data- W9 N8 e0 |& m, x3 a: k
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that( s" \7 n& e* w$ E
  210. ; data to the client. If your application's output exceeds this setting, PHP0 E6 L8 T) ~. F
  211. ; will send that data in chunks of roughly the size you specify.
    ( `' K# P  L. O2 F  P5 a
  212. ; Turning on this setting and managing its maximum buffer size can yield some7 a! N' Q( R7 n; H
  213. ; interesting side-effects depending on your application and web server.
    ( o8 H9 q) ~  O
  214. ; You may be able to send headers and cookies after you've already sent output
    & W  @/ U- I0 ?& p7 y
  215. ; through print or echo. You also may see performance benefits if your server is
      d# X. c* U, W- X! A
  216. ; emitting less packets due to buffered output versus PHP streaming the output, N; n& b9 I- c2 O: e; m
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
      L4 z5 L9 Q  W9 w
  218. ; reasons.' q6 f2 K. j8 Q5 ]# n/ o' M' W4 O- K
  219. ; Note: Output buffering can also be controlled via Output Buffering Control) x5 N" g4 z# ~5 ]7 Q7 z& l% R( ]$ k
  220. ;   functions.0 a1 z- g! l6 @: ^  H
  221. ; Possible Values:! c! x0 ~( N7 G1 @
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)0 T8 Y. ?3 m3 T* m" P
  223. ;   Off = Disabled
    $ _6 c- k8 X+ d8 {
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    " ^; h* j* K3 U
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' X: B3 h& ]: `% S5 K4 |6 Y
  226. ; Default Value: Off$ v2 A& D$ p- a
  227. ; Development Value: 4096
    7 m0 L9 N" h$ W6 p
  228. ; Production Value: 4096
    + q: Z. Z2 D3 Z. K) i
  229. ; http://php.net/output-buffering$ c- B5 w5 A8 A4 b9 O2 i& ]+ U$ v
  230. output_buffering = 4096; w  b0 _' }9 S; q* |- T, O

  231. " Y) v& V% y9 B/ u: j2 T9 }* y
  232. ; You can redirect all of the output of your scripts to a function.  For! c9 z7 H. Y  o1 U
  233. ; example, if you set output_handler to "mb_output_handler", character
      f# G$ d- {: e9 @1 {
  234. ; encoding will be transparently converted to the specified encoding.6 {" \4 [' i: v! s& y+ N9 T
  235. ; Setting any output handler automatically turns on output buffering.
    ' |3 V! N4 u1 Q9 L8 x" W5 y& j( L
  236. ; Note: People who wrote portable scripts should not depend on this ini2 w0 K1 u$ a# s1 c/ \, }5 t
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    2 P+ `5 c& H& X$ G9 D- Z* c
  238. ;   Using this ini directive may cause problems unless you know what script
    * w- {) B5 ~1 R) m  n8 Q
  239. ;   is doing.) S1 `$ Z. g0 Q, ?6 G
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"9 G; N  c, k. x8 U* M; _* i
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    % t7 Q, ~% p5 s& U. a1 V0 J
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    . y6 w8 G$ p# ^9 l  Q: |
  243. ;   Instead you must use zlib.output_handler.
    , j8 J7 C: Y, a
  244. ; http://php.net/output-handler  a/ J' a/ B- `" `  [  J+ O
  245. ;output_handler =& T. K/ z& E' `3 O4 U! B! y

  246. 0 z- q! c+ F4 u/ ]! i# I
  247. ; Transparent output compression using the zlib library
    4 p0 F+ i9 w5 K, ?6 j
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size. U( j: e' u% C6 I
  249. ; to be used for compression (default is 4KB)
    8 y4 [1 T6 A; |' ?) Q) A+ @; x. h
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP7 R9 l* }* Q1 s! S% y
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    8 `9 a8 ]* ^) W/ k$ e$ s
  252. ;   compression. If you prefer a larger chunk size for better
    ! `# u9 X8 X" D) ^7 I
  253. ;   performance, enable output_buffering in addition./ _% \* Y8 y  m8 F  [
  254. ; Note: You need to use zlib.output_handler instead of the standard' \( }! D1 A; W9 i* M9 E
  255. ;   output_handler, or otherwise the output will be corrupted.
    4 A3 ]* _, F9 ~3 i# h1 t' K$ C
  256. ; http://php.net/zlib.output-compression
    & j, P1 F+ G) j$ I9 I3 d- {, f
  257. zlib.output_compression = Off
    ) c7 j1 m6 Z0 q, q1 v% ?& D% c
  258. 8 B4 |+ v9 M5 @: J
  259. ; http://php.net/zlib.output-compression-level& D1 \, h& G9 ?6 {7 U8 c
  260. ;zlib.output_compression_level = -1, E9 [$ O$ a8 s" D/ C

  261. 4 f, b2 x' f$ Q' B1 u- j( ?
  262. ; You cannot specify additional output handlers if zlib.output_compression
    - j# b2 t# p. L& A; ?$ L& O! x: _
  263. ; is activated here. This setting does the same as output_handler but in
    ! I" _' p: D( C$ [
  264. ; a different order.
    " e7 g, M5 l9 s! Q, `1 K
  265. ; http://php.net/zlib.output-handler' c6 o  U2 P0 W! u6 @% U
  266. ;zlib.output_handler =
    ( `5 o( Q) Q# K. W( A( g

  267. ! O& Z) O8 N( _2 w9 _- }( i% |
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    6 J) M' p9 }, V5 q+ c5 H
  269. ; automatically after every output block.  This is equivalent to calling the
    + k2 s5 v7 z5 J* O$ B7 {& p, R# y# F. a
  270. ; PHP function flush() after each and every call to print() or echo() and each0 j! p' r; y2 {, B6 g3 z6 L) U# x, I6 I1 E
  271. ; and every HTML block.  Turning this option on has serious performance
    0 B+ {+ k8 y7 d
  272. ; implications and is generally recommended for debugging purposes only.
    3 D# n" i, I+ S1 m* k- Z
  273. ; http://php.net/implicit-flush
    & {# ]# X2 {* H9 U0 l5 V) B4 A9 z
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    & U. ^" o$ o' x% G0 {+ r5 E% j" J
  275. implicit_flush = Off
    1 M8 N  s: |: q. y8 G
  276. % b3 k* V2 Y- U; W' {7 {
  277. ; The unserialize callback function will be called (with the undefined class'
    6 p4 e1 ^6 ?& v. m1 H0 w
  278. ; name as parameter), if the unserializer finds an undefined class
    ; p# F* c3 h& H( g) g0 V# u, u
  279. ; which should be instantiated. A warning appears if the specified function is* ]4 n$ ?/ \6 J; q# V
  280. ; not defined, or if the function doesn't include/implement the missing class.
    , K  i" t5 `3 g8 F% R: d
  281. ; So only set this entry, if you really want to implement such a
    * x6 p' i# M; N0 T0 x" j
  282. ; callback-function.5 h5 A/ l% l+ J* ~2 m
  283. unserialize_callback_func =
    % y# t# }) H6 T# m! d

  284. ! @/ ~1 y4 L+ x/ c! L9 `
  285. ; When floats & doubles are serialized store serialize_precision significant5 O. U, y# l/ P
  286. ; digits after the floating point. The default value ensures that when floats
    & a% x, m+ v& j( X2 @" J
  287. ; are decoded with unserialize, the data will remain the same.
    5 Q' X0 i2 o" k4 P& y
  288. serialize_precision = 176 h  b8 _  q* k: b+ u( O

  289. $ d4 B0 i* |# t0 F
  290. ; open_basedir, if set, limits all file operations to the defined directory4 Y: e/ Y( @  g
  291. ; and below.  This directive makes most sense if used in a per-directory
    8 n/ @" s2 F3 W* J
  292. ; or per-virtualhost web server configuration file.
    , ?% `3 T6 Y* S& f& K* ^
  293. ; http://php.net/open-basedir8 N/ S  i8 d4 q8 n+ \
  294. ;open_basedir =( [+ Z# Y! n8 R4 ^: w' @2 P* S' @

  295. 2 v* k; c+ u# y9 `# C9 c6 J7 T' ?
  296. ; This directive allows you to disable certain functions for security reasons.1 R, J! I# j  p
  297. ; It receives a comma-delimited list of function names.0 L% ^  q8 Y5 J7 w6 K) _6 N
  298. ; http://php.net/disable-functions6 [  I) f, p, n4 f
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    / i" C) X+ N; `* c$ a9 H

  300. 0 Q4 I9 L- z& S! S
  301. ; This directive allows you to disable certain classes for security reasons.8 F  Z) C8 Y4 E3 @2 o" b" T0 s
  302. ; It receives a comma-delimited list of class names.
    / ]; S+ ^  }) `( I- S4 h
  303. ; http://php.net/disable-classes+ l# n( K, H* r1 S
  304. disable_classes =  E6 V# q# v* b
  305. , M( X  J! R% b" ?) ]/ g, ^7 }
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    / B* [1 i) s! L% ^0 O& q7 u/ A2 b% h# [
  307. ; <span style="color: ???????"> would work.* n' v8 J5 i. `0 `5 b
  308. ; http://php.net/syntax-highlighting( k2 B+ s' c$ g. v1 c
  309. ;highlight.string  = #DD0000$ l) X8 t+ p( h' A( V1 k$ y
  310. ;highlight.comment = #FF9900
    / u) Y8 I! }/ {6 e" p! `( Q) P4 y
  311. ;highlight.keyword = #0077009 P$ S& M8 M# M
  312. ;highlight.default = #0000BB% ^! M7 m" Q6 Z
  313. ;highlight.html    = #000000
    : t( T, {6 k( U, o

  314. . y! x7 Y4 u$ i! T7 g7 V1 D) R9 G
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    : n- `4 B- y$ S' M- C- T6 W* ?
  316. ; the request. Consider enabling it if executing long requests, which may end up* U" b1 A+ X) y
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    , @: g; N* O  v" A- y: }* F
  318. ; is to disable this feature./ W8 F. ~3 ?" P9 e+ P( r5 G
  319. ; http://php.net/ignore-user-abort
    / x3 q# L; q% j( Y+ G' j) Q
  320. ;ignore_user_abort = On
    3 z; ]- K2 _" `" D* u1 t
  321. ) c1 ^9 s. N! e* y
  322. ; Determines the size of the realpath cache to be used by PHP. This value should' y7 _, _6 z# s
  323. ; be increased on systems where PHP opens many files to reflect the quantity of+ C6 d3 E6 Y2 ~! r  j7 k
  324. ; the file operations performed., B, |) s2 ]' D1 c, m. n
  325. ; http://php.net/realpath-cache-size# O( \$ H# G8 B. V
  326. ;realpath_cache_size = 4096k/ \7 i4 Z% o$ W! u) B" J

  327. 4 H8 L5 @2 u9 n  G( E. E9 `: W
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    5 u  T" @2 z- W- ~( i8 {& {' ~
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    ( @, {+ i+ ~0 @; h5 Z* \
  330. ; value.8 O- ?# T0 G$ m8 O! C( R
  331. ; http://php.net/realpath-cache-ttl; z( U4 U; X0 E( |
  332. ;realpath_cache_ttl = 1200 K( E9 x. O1 J3 G
  333. 9 @$ S  Q3 }  g0 k
  334. ; Enables or disables the circular reference collector.
      G0 V$ V" U  {
  335. ; http://php.net/zend.enable-gc
      D% P/ [, |2 \* ]* T5 c4 y
  336. zend.enable_gc = On( ^2 e: V" ]7 _( f$ z
  337. " `% ^7 A( z( ]- i3 E) s  t' B
  338. ; If enabled, scripts may be written in encodings that are incompatible with+ A8 |) C6 A6 l( H
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such2 p3 \" l' H8 r
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    $ j% i8 l* Y4 i3 ^. H; @% H$ _5 w
  341. ; Default: Off$ Q* g8 ~  i" T
  342. ;zend.multibyte = Off
    ) \. x+ c, D+ \  X

  343. 3 a1 ~6 F& l. {) [- p% X+ V
  344. ; Allows to set the default encoding for the scripts.  This value will be used: c4 o* l. s0 }1 D. r
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    7 r) i" M+ p" o
  346. ; Only affects if zend.multibyte is set.
    ( o) E" |8 i9 b7 J" `: o1 d
  347. ; Default: ""8 h- e/ I) g/ g4 k" `+ }  v% Q; [
  348. ;zend.script_encoding =
    6 _; a, x! ]9 I2 e4 A3 h

  349. ( N' H2 W1 {; f- h3 _9 |
  350. ;;;;;;;;;;;;;;;;;
    7 T. |9 j$ E" Q% Y8 |/ l
  351. ; Miscellaneous ;0 O7 W9 Y" O4 c( O9 ^
  352. ;;;;;;;;;;;;;;;;;
    ' B0 S( T) }3 |+ N6 L& O
  353. # v" L( N9 j- y/ z1 A. i
  354. ; Decides whether PHP may expose the fact that it is installed on the server' `" R# ^) ]1 g0 m
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ; I% l; O8 t. h' f' z
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ! ~" F8 o, U3 m
  357. ; on your server or not.! H" `6 ~9 B# N$ }/ D% p
  358. ; http://php.net/expose-php
    ( V' n3 z/ Q. J! Y5 g! x$ z
  359. expose_php = On2 u6 O) C& y7 B2 I$ q0 S

  360. 3 G% P. E* x0 i; {2 B" q0 F/ j* F
  361. ;;;;;;;;;;;;;;;;;;;# x4 v9 x2 b2 y- }# ~1 y
  362. ; Resource Limits ;. g( ~( Z- d2 ^/ v: [+ j8 r
  363. ;;;;;;;;;;;;;;;;;;;
    & P* L1 Q9 F- k/ @, I1 M
  364. : f% y4 ?+ |+ E" W! w, m
  365. ; Maximum execution time of each script, in seconds
    % t; N3 L9 n, r8 ~* K
  366. ; http://php.net/max-execution-time+ N* H" k3 g# m
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
      r& x; R: s( ]6 t# f6 ~
  368. max_execution_time = 300" m% d) N* Q  R5 O. p2 S) r1 m2 L! @

  369. 7 P' x& ]& H: i0 X. O$ C$ |
  370. ; Maximum amount of time each script may spend parsing request data. It's a good$ z4 {: c" W& R& m- n
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly1 t" e' q. l6 x4 [! w# @0 j
  372. ; long running scripts.% k  K/ b, D% W5 B2 ?5 b9 i: m
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ) Z4 H, F2 D8 D/ X
  374. ; Default Value: -1 (Unlimited)/ k6 O6 N( s( f+ a2 Q0 V
  375. ; Development Value: 60 (60 seconds)# X! _& g" e7 X( c6 U6 s8 ^
  376. ; Production Value: 60 (60 seconds)
    * Y: g3 M* s3 \9 c! E- J
  377. ; http://php.net/max-input-time- v' N3 w8 j* E9 I
  378. max_input_time = 60
    8 D2 x$ f% o. M

  379. # Y/ Z% m6 o5 Y+ c* M+ c
  380. ; Maximum input variable nesting level
    ; W* ^% s( w5 n' M4 ^/ Q
  381. ; http://php.net/max-input-nesting-level1 |: s; A6 V& J# X  ?
  382. ;max_input_nesting_level = 64
    ! F6 Q5 ]- h. ?+ U* y

  383. . |0 j: z' e/ _& N" V% t' I
  384. ; How many GET/POST/COOKIE input variables may be accepted$ w8 Y: v: X$ i8 ^
  385. ; max_input_vars = 1000
    ( k5 t3 f9 o; X- B( x7 s8 I+ l: R; ?
  386. 8 ~% e& H9 j' V5 q' [' v0 x
  387. ; Maximum amount of memory a script may consume (128MB)7 u: u) h, r) v  U9 H* Z6 v
  388. ; http://php.net/memory-limit
    7 P$ S2 A- D0 U8 P1 i) t; h- i
  389. memory_limit = 128M( m$ X0 ~7 `8 d. z8 O. @: F( d

  390. 8 N* a: {2 g' g/ O' u$ Y$ x
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; d$ L# F0 e9 _% r( O5 Y- A1 P
  392. ; Error handling and logging ;* i4 t5 t6 [5 O' ~, u, G& y
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 h- n8 P3 E7 H3 P% M. k8 U, q

  394.   x4 R3 ~1 B0 z# J7 U5 I# E
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    # Z7 U1 x8 G$ |
  396. ; it to take action for. The recommended way of setting values for this
    8 }. ^! g! H1 R) C
  397. ; directive is through the use of the error level constants and bitwise
    - Z7 \0 {: n7 n+ [1 }/ H  m+ w! Q
  398. ; operators. The error level constants are below here for convenience as well as
    : X. _( [% J4 H5 B4 S8 B0 N
  399. ; some common settings and their meanings.8 h( q2 h$ [, Q' E2 d2 H, U. W
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    , |0 d% a- M7 y$ \0 w" r* i) u6 i
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and4 o- e$ o2 c6 j* J
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    6 C7 P: l0 E9 ~2 P" p, _$ z0 c
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ) K4 i3 Y: b% r; s8 t2 W% z
  404. ; resources complaining about best practices and coding standards. That's what. q# a$ w8 Z$ B% \+ s. [( _
  405. ; development servers and development settings are for.2 _2 o9 @" r+ u( ]% V3 ~
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ( r4 r* W. ~, E
  407. ; means it pretty much reports everything which is exactly what you want during
    7 l& z! D. k3 l! G" v
  408. ; development and early testing.
    1 u/ X: Z! T( E  s6 D/ X
  409. ;) D3 a) z$ Y6 r# X3 l( X/ t9 @5 L
  410. ; Error Level Constants:) G' K, K9 K9 X4 r7 h
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)7 h9 z, N: _( @; p% N3 a* S# b, x8 g
  412. ; E_ERROR           - fatal run-time errors
    ' u6 E# _# ^, m1 K
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors' M8 A& A; O1 \
  414. ; E_WARNING         - run-time warnings (non-fatal errors)' W# R1 x& ?" i0 y5 c: y' v
  415. ; E_PARSE           - compile-time parse errors4 s( [8 {( f9 ^& v; ^2 ~
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ) L+ A7 r& _: m5 N5 A! m
  417. ;                     from a bug in your code, but it's possible that it was* t8 n* G! X$ T, C/ D
  418. ;                     intentional (e.g., using an uninitialized variable and& e! w( b" ], x# p
  419. ;                     relying on the fact it is automatically initialized to an
    ( t6 _$ d6 V  f% j7 B& J
  420. ;                     empty string)4 L( ~' F% X6 \2 t! ?9 Y; m
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    + t/ g8 u9 T2 n4 ?' B2 s& ~& Z/ d. h
  422. ;                     to your code which will ensure the best interoperability: S( E' d! t, p2 i& [4 f! f3 Q+ @
  423. ;                     and forward compatibility of your code! o8 X4 H, p( p( p6 \
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup( a4 I/ e+ [" s% P
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's3 `! w1 x& r6 y# R$ F8 f0 d
  426. ;                     initial startup
    ; k  f+ l, ~' L$ m. J
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    ' S( e( O9 V  Q( T$ Q
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    2 i/ D% ^$ N$ N7 E! c
  429. ; E_USER_ERROR      - user-generated error message
    " h$ |4 V/ R, B- @+ M4 {3 Z
  430. ; E_USER_WARNING    - user-generated warning message
    6 q+ }/ _2 N' X+ R- P- Z& j# S
  431. ; E_USER_NOTICE     - user-generated notice message
    , p3 ?. Y, y! \: J$ V
  432. ; E_DEPRECATED      - warn about code that will not work in future versions" w" ^) D0 Y( u. ?7 w: H
  433. ;                     of PHP2 y9 s6 |1 D, C3 j1 e
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    # L; ~8 F8 @3 d$ ?7 k2 z3 o
  435. ;7 z1 _8 D% A' H- O  d% G- {- i/ ?
  436. ; Common Values:6 P+ J0 N- W% w! J
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    % N. t; r, G, r8 D1 j. `4 m
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)* Y# ~; n. Z; n* z/ ~: u
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)  |% \3 R- c; u# V. C# ]% v* D
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)& D  M: Q- i& R# b2 }" I+ l
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED# Q' L' G# o1 k2 t' ^) `
  442. ; Development Value: E_ALL
    9 p9 L) Q( m+ [8 M: w: w1 E5 A9 Y/ U
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT% f5 D* n* z4 ~# |) N$ X
  444. ; http://php.net/error-reporting: J% D4 F8 A. F3 S. a
  445. error_reporting = E_ALL & ~E_NOTICE
    % B& G2 Z, X& D* @4 W
  446. ! o8 X  e2 }3 t* f* r
  447. ; This directive controls whether or not and where PHP will output errors,
    6 Q2 T6 O  l1 j2 W1 U6 T7 g
  448. ; notices and warnings too. Error output is very useful during development, but
    % G3 b- @& R0 Z/ \
  449. ; it could be very dangerous in production environments. Depending on the code, t, G% K& _: C  u4 Q0 X# T4 u3 [6 d; `
  450. ; which is triggering the error, sensitive information could potentially leak1 [7 a4 r3 \1 h0 `# w: D
  451. ; out of your application such as database usernames and passwords or worse.
    2 J& B& E( @9 d$ N- B' U' ^
  452. ; For production environments, we recommend logging errors rather than# u" r, C. n3 X! d5 v8 c5 ^9 e
  453. ; sending them to STDOUT.+ D7 N& s, ~8 [9 U: ?. r: v# G- z9 O
  454. ; Possible Values:" c" \! L$ [4 c/ f+ x4 ~! U
  455. ;   Off = Do not display any errors
    9 b3 |- \% G* E0 t! \7 ^4 A9 \; [
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    % r7 |' V" F  m& M0 }
  457. ;   On or stdout = Display errors to STDOUT) M( m( s( L; n, g; ^
  458. ; Default Value: On
      v2 G$ W9 t1 M6 K: J
  459. ; Development Value: On+ T3 d9 b( e# |& W  k- T
  460. ; Production Value: Off5 t( X$ V  j( R7 q  ~0 F0 t% u
  461. ; http://php.net/display-errors; t9 t3 X) o2 E$ Y
  462. display_errors = On
    ) e, G# V$ H2 A0 h6 y- R/ }( O; Q

  463. 4 ]$ P4 m8 A9 U
  464. ; The display of errors which occur during PHP's startup sequence are handled& v; _' a0 I. f$ y- f$ A
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    6 ?" E6 |. W% E
  466. ; errors from clients. Turning the display of startup errors on can be useful in1 n3 X( P- j2 f  g9 {7 R) k9 j
  467. ; debugging configuration problems. We strongly recommend you
    & K2 r, V1 W5 o+ g$ L' Z$ N" k6 O
  468. ; set this to 'off' for production servers.! f7 F+ C1 G& s5 H2 J( J& L8 X
  469. ; Default Value: Off: X" I# O$ T4 a- P" `! _
  470. ; Development Value: On
    # ]; w9 B7 w0 G  V& R8 `/ |
  471. ; Production Value: Off
    0 S9 L) D8 ]1 a9 v6 {- g
  472. ; http://php.net/display-startup-errors% U* K; u( w7 a" [( }% B
  473. display_startup_errors = Off
    0 t( R% S  w1 h3 t6 T# `+ R% Z# K# P
  474. 0 _  [2 B. F8 r* k: b
  475. ; Besides displaying errors, PHP can also log errors to locations such as a) |3 J- y3 V) Z( q7 V' q% d
  476. ; server-specific log, STDERR, or a location specified by the error_log
    % Z/ g4 s8 x% M1 ]1 B
  477. ; directive found below. While errors should not be displayed on productions
    0 b0 r- t8 J" c+ x1 m) n
  478. ; servers they should still be monitored and logging is a great way to do that.. ], }  r6 r: q6 x
  479. ; Default Value: Off
    - M% a2 x: c5 ^2 P8 w
  480. ; Development Value: On
    ; Z' t* u8 I2 v  t5 ~" @
  481. ; Production Value: On
    + t1 n# Y7 f6 h' N* W# s
  482. ; http://php.net/log-errors
    : E/ o! m% _  j  M6 m& Q
  483. log_errors = On
    6 N: K& ?  C$ b/ a, W$ F
  484. - A- Z$ i; K! W
  485. ; Set maximum length of log_errors. In error_log information about the source is
    7 v* H- r: s6 \
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.; \2 b7 D* S3 @. f: m
  487. ; http://php.net/log-errors-max-len
    ' V" }) J: k4 I
  488. log_errors_max_len = 10246 K) Z3 Z, [. q2 r+ I/ E1 t* f

  489. * n9 A* r! w( f! ~
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    & Z, `- \1 v* ]0 g, ~3 c
  491. ; line unless ignore_repeated_source is set true.
    6 g3 v+ B* p7 P. y( {
  492. ; http://php.net/ignore-repeated-errors' e0 D2 P) c7 Y8 M2 M
  493. ignore_repeated_errors = Off9 o1 ]& J2 E% _1 Y6 A- a* e" I

  494. 6 o4 x8 A( x0 H0 _. z' ~
  495. ; Ignore source of message when ignoring repeated messages. When this setting$ r! ~' \1 |& v- q* N# y
  496. ; is On you will not log errors with repeated messages from different files or  v" W& R4 g  ^! K: s9 W
  497. ; source lines.
    - R5 E$ {' X6 l5 z: Q
  498. ; http://php.net/ignore-repeated-source
    / j  H5 Z: s/ o6 H
  499. ignore_repeated_source = Off
    4 ~# c1 M* C* C( C# h6 a

  500. 3 D" `# F# |8 Z. J" i- O9 J
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on; L% }/ b" f; c  D/ _- Q
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    8 \7 ]0 G8 I/ q, G, Q- B9 d
  503. ; error reporting includes E_WARNING in the allowed list+ j5 x% S' I/ U" {
  504. ; http://php.net/report-memleaks
    ) X9 Z0 e. O+ C! c9 e5 G
  505. report_memleaks = On" M' k2 \& c; q/ D
  506. $ E- Q6 n( N) X3 t3 g3 z7 z
  507. ; This setting is on by default.0 `" ~; D: r. z% P: a
  508. ;report_zend_debug = 0
    # K6 b; j. e$ c( V1 O7 q6 \1 h
  509. ' _$ S8 E+ s2 a. ^
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
      j' ^4 L) O9 ?  j8 k
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    2 Z1 w+ S! \. `% m) T
  512. ; however be disabled on production servers.
    1 N- A" @( K* v/ T, J) h1 w
  513. ; Default Value: Off
    ) p3 k( _' p0 m* W8 n  d' E6 j
  514. ; Development Value: On. r1 p' k7 v. X2 O% t/ O* R1 L
  515. ; Production Value: Off
    ( K. K$ V8 d% E9 M4 w1 O) u
  516. ; http://php.net/track-errors! K/ A' K- E# u
  517. track_errors = Off1 J0 v/ y/ Y2 X
  518. , {+ f& m. ?5 j9 g3 f4 x- w7 `9 Q
  519. ; Turn off normal error reporting and emit XML-RPC error XML' q$ Y/ k0 |0 D2 Q8 D
  520. ; http://php.net/xmlrpc-errors  q/ G# ^9 S( u* {; ?2 U1 U
  521. ;xmlrpc_errors = 0
    : w0 \& u' K$ u+ P# _  c- _
  522. 2 v* w  v2 O4 ]! O! w; {* R
  523. ; An XML-RPC faultCode# w. S. h$ @; d0 n0 Z# e$ Z
  524. ;xmlrpc_error_number = 0
    4 |, A% ^5 Z# g
  525. 1 ?4 v  {. Q" m/ F- r
  526. ; When PHP displays or logs an error, it has the capability of formatting the- `# s* i+ P, M6 I
  527. ; error message as HTML for easier reading. This directive controls whether
    1 D/ q" R. O* c) ]; T/ A
  528. ; the error message is formatted as HTML or not.
    2 ^7 E# J/ i$ l: j4 C' b7 q
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI  u  N  O) T! `0 P
  530. ; Default Value: On
    % c  \' |# K8 m0 c. ^8 A* j- N4 d! t
  531. ; Development Value: On
    5 f# @8 B6 f9 H# V) i/ m2 ~$ o
  532. ; Production value: On2 N, G( {+ S- d; h( @, e
  533. ; http://php.net/html-errors
    ( x0 k; k" [# e. V2 x; ~7 V% G
  534. html_errors = On/ p& \6 H' `7 u7 J

  535. ( W6 v3 y6 e0 D  Q
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    $ ?% e% W) G* p/ s% k% w  i
  537. ; produces clickable error messages that direct to a page describing the error9 U* D) h; M* G2 n
  538. ; or function causing the error in detail.
    ! s$ k0 {# z! F+ L8 x' ~
  539. ; You can download a copy of the PHP manual from http://php.net/docs3 B' E4 Q' m9 i/ @) P4 ^
  540. ; and change docref_root to the base URL of your local copy including the2 [% h) J7 u3 ^6 p9 V' Z# ]
  541. ; leading '/'. You must also specify the file extension being used including4 i! _+ k3 B# @. j5 D
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    - x6 A* @+ Z% G( \" `# C9 R4 _$ H# t
  543. ; case no links to documentation are generated.
    4 N2 w. t. j! ?2 Z; n8 q+ `+ Q- ]
  544. ; Note: Never use this feature for production boxes.
    % @0 s7 y, V+ l+ J
  545. ; http://php.net/docref-root
    " d; K3 t3 G% Z' p  d7 r) O/ R1 M& J
  546. ; Examples
      S- K& W- b6 [$ j. X: V) r  T
  547. ;docref_root = "/phpmanual/"
    : A% V: M. Y+ f! N! C/ ^% d  B) c2 k
  548. 0 K- t; n% R8 ~+ }- {) J
  549. ; http://php.net/docref-ext
      ?5 M' C' z9 t2 \  E0 j& [
  550. ;docref_ext = .html" w2 |  p$ V; p* @5 @% S0 q

  551. ) _3 ^6 v& x3 `$ g9 f- i! l* Q
  552. ; String to output before an error message. PHP's default behavior is to leave+ w% O3 N2 q4 K- p9 E: K$ R
  553. ; this setting blank.
    ( N  A+ U. [& {& n) t
  554. ; http://php.net/error-prepend-string
    / o8 C! S3 Q1 r
  555. ; Example:
      j2 P7 I. f9 @: E1 y
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    ' ]/ d. ~3 ]6 D( s! P1 l

  557. + B" A; c5 |( T% R! n/ G
  558. ; String to output after an error message. PHP's default behavior is to leave
    1 h0 Y! _0 |5 Y$ f' A
  559. ; this setting blank.
    " d8 v- x( O) h' Z$ f
  560. ; http://php.net/error-append-string
    $ a) A. v5 k( o
  561. ; Example:
    % H0 Y$ t9 K1 |+ f
  562. ;error_append_string = "</span>"
    : U% p) o4 {5 m: x, a* ^/ s2 x6 r

  563. 4 w" r) T8 Q  ^5 L* c
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    3 n) c) Q4 C% ?* ]2 N
  565. ; empty., B, c3 B6 D$ c  r2 i
  566. ; http://php.net/error-log
    " u3 R; k) z% s/ N
  567. ; Example:7 T  M6 f/ v4 H0 b4 ]
  568. ;error_log = php_errors.log
    7 q! v- I, J: p. t/ k  {
  569. ; Log errors to syslog (Event Log on Windows).
    : d6 }) T* v( w  k' M8 g
  570. ;error_log = syslog
    6 a0 g9 @4 K7 }
  571. ( Z& h7 t- k+ d3 E
  572. ;windows.show_crt_warning  J* N2 w* L' C: w0 u; |* i+ ^# y* O
  573. ; Default value: 0
    2 C' @& j; \3 V6 Y3 f' v
  574. ; Development value: 0' E, G7 s( Z7 J
  575. ; Production value: 0+ M1 I" C4 b6 v1 M( u4 ]. c! C& g0 X) Q  Q
  576. $ F2 q" h) Y5 G. y+ i. H5 \& C; q
  577. ;;;;;;;;;;;;;;;;;9 d# Z1 r: w  @) q; `
  578. ; Data Handling ;
    & {% q% B" ~( v2 Z
  579. ;;;;;;;;;;;;;;;;;& g4 @. ?, J# r: g  r  a' u3 v+ c3 d* z
  580. ( E3 I/ [: C% T- j3 K
  581. ; The separator used in PHP generated URLs to separate arguments.
    ! u8 r8 Y% U. O4 S! y, c
  582. ; PHP's default setting is "&".
    & q+ u% L$ m" ^( m
  583. ; http://php.net/arg-separator.output
    " L9 A. ~  M7 `3 m: j6 l) A
  584. ; Example:
    + N9 v5 Q6 g1 J5 F5 ?
  585. ;arg_separator.output = "&"* m% b  b$ D+ k8 O$ z

  586. 8 M9 Z2 R) E7 u& g2 o5 Y
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    0 ^( E7 F% E5 o. O
  588. ; PHP's default setting is "&".+ s' q5 ]0 N( i/ N
  589. ; NOTE: Every character in this directive is considered as separator!- s& }5 p. K6 H, |
  590. ; http://php.net/arg-separator.input
      ?5 d2 u) F( M9 E4 k5 ~4 Z  c* ]/ W& `
  591. ; Example:0 h( f7 D$ k6 S. ~/ Y
  592. ;arg_separator.input = ";&"( {; {7 A' ?- ^( F% _- |
  593. 2 T, f4 s8 U+ N" C' L7 i2 G
  594. ; This directive determines which super global arrays are registered when PHP$ J% \: w5 o& y3 |
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super7 ?3 w, U" c' Q2 w: X
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty, |" G. r+ {: h5 p9 p% n! F
  597. ; paid for the registration of these arrays and because ENV is not as commonly% \- d9 t6 N. J+ E
  598. ; used as the others, ENV is not recommended on productions servers. You- N% L5 G3 X$ I) p+ r
  599. ; can still get access to the environment variables through getenv() should you
    3 v0 }: D0 ^! h9 x
  600. ; need to.% {7 T; `* w5 Z. h' _$ w
  601. ; Default Value: "EGPCS"( `3 L0 T7 P  ~5 r" ?% Q
  602. ; Development Value: "GPCS"$ ]! D; q# k7 {8 c
  603. ; Production Value: "GPCS";; @) c6 c* M$ r- e$ Q" d
  604. ; http://php.net/variables-order: x# w2 Y& G0 G7 _* a' D# K3 v
  605. variables_order = "GPCS"% I1 @, q, ?) r; `2 N2 M5 }! G5 y/ j

  606. , {7 y. c1 W: c
  607. ; This directive determines which super global data (G,P & C) should be& J( B# w/ t$ P- K7 M
  608. ; registered into the super global array REQUEST. If so, it also determines1 G% g0 @; L" @/ a: s3 ]
  609. ; the order in which that data is registered. The values for this directive
    4 |! Q( S* H# i* a6 O  N
  610. ; are specified in the same manner as the variables_order directive,
    / u! }4 ~% F. Z" W) E; A- g
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    4 |+ e( z& \8 g- x* W9 w, t- n5 l
  612. ; in the variables_order directive. It does not mean it will leave the super
    8 \1 j/ u5 v$ |$ H' i+ `6 k
  613. ; globals array REQUEST empty.( |: R' e& u& ?: m# x8 F
  614. ; Default Value: None
    5 V+ N0 Q# ]; R- E( ]6 Q
  615. ; Development Value: "GP"
    ' G, d! o, i9 _% s: r% ^
  616. ; Production Value: "GP"
    ' h0 Y2 a! }  u& F' y
  617. ; http://php.net/request-order$ u. }! h& `8 P! X
  618. request_order = "GP": [: q: }& v& v# |

  619. ' n( }. L5 a/ y1 }! d
  620. ; This directive determines whether PHP registers $argv & $argc each time it, e5 I! `8 {/ n/ H- ?. f
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script! d" x' l. J2 b( m$ G1 x) c
  622. ; is invoked. $argc contains an integer representing the number of arguments8 ]" c4 J9 _8 \4 o( V1 Z
  623. ; that were passed when the script was invoked. These arrays are extremely
    - K& A2 W+ R! B1 g1 B: X
  624. ; useful when running scripts from the command line. When this directive is$ M5 E( }9 }' ^; L9 m9 w3 D) T& ^
  625. ; enabled, registering these variables consumes CPU cycles and memory each time: V* G/ \3 Z$ b6 s% r$ b" K2 S( \7 d
  626. ; a script is executed. For performance reasons, this feature should be disabled
    / u$ |/ u5 \6 q
  627. ; on production servers.1 K  w; ]. d$ D1 t$ Q
  628. ; Note: This directive is hardcoded to On for the CLI SAPI2 A: K* e2 r8 e  y& P- b7 b7 \
  629. ; Default Value: On3 p  D- ^5 d2 t% A% r% G- y/ p
  630. ; Development Value: Off/ j# I$ {& o& T$ z8 h) Z
  631. ; Production Value: Off3 }& N+ Z6 L" Y# q6 B, U4 F, x
  632. ; http://php.net/register-argc-argv
    ) k5 ]8 l/ L+ D: z; z
  633. register_argc_argv = Off( t9 k! O+ J/ s6 X
  634. ! b3 y. L! d+ L4 P6 a( g. w
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're5 h/ L3 L, }3 c1 R- \7 E
  636. ; first used (Just In Time) instead of when the script starts. If these$ h; c# a8 s; R% Z1 `3 w
  637. ; variables are not used within a script, having this directive on will result
    # I; h$ e2 E: f2 d& x' ?/ H
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled+ G  r! P6 R& o3 ]1 u2 T
  639. ; for this directive to have any affect.
    ; w7 D3 {! |" ~2 E7 p
  640. ; http://php.net/auto-globals-jit
    + D8 ]. p; U5 I/ O  M
  641. auto_globals_jit = On
    , Y) L3 J9 l+ u: A/ p  p

  642. 8 h* o2 p  ^- `5 R# t
  643. ; Whether PHP will read the POST data.8 l6 B" z, n& Q7 E. @, a* S
  644. ; This option is enabled by default.
    ( R' |* E; H# V* N2 i9 e! {& @( V
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    & T% D4 y3 F  _! ], Q$ W2 `- |
  646. ; and $_FILES to always be empty; the only way you will be able to read the0 i/ f3 R2 S% @3 H; T
  647. ; POST data will be through the php://input stream wrapper. This can be useful8 F1 O: Y9 O, W$ {0 a: o
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.+ A( ?" x. N: O8 ]
  649. ; http://php.net/enable-post-data-reading
    ; D- j' N* K" G2 ]- x
  650. ;enable_post_data_reading = Off2 W+ i9 d4 |5 }. e% L& H; M9 S+ G

  651. ; R0 M5 f! m2 j
  652. ; Maximum size of POST data that PHP will accept.6 R8 e! G- ]0 |/ V+ q. a) B4 I: d
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    1 \- u# u' n) W' @  q
  654. ; is disabled through enable_post_data_reading.0 ]0 t7 a' }6 t3 B
  655. ; http://php.net/post-max-size
    7 y4 `/ f: H/ ^+ W  _3 i
  656. post_max_size = 50M: b/ \( C+ L. s3 ~; d. Q

  657. 1 Z. ~, c7 f4 q
  658. ; Automatically add files before PHP document.: O1 D4 m% v; F
  659. ; http://php.net/auto-prepend-file4 o0 F. M8 q, b3 u
  660. auto_prepend_file =
    - L; {' y" z3 u! ]- l

  661. , B1 L! u$ T* W" V3 d
  662. ; Automatically add files after PHP document.
    ) R% r8 N" ^/ L) P
  663. ; http://php.net/auto-append-file' x+ J0 C$ B* G+ }0 e1 f* H" h
  664. auto_append_file =
    " Y, s- L3 `3 X$ }3 Q4 i

  665. ! |" ~" z9 o* ^0 q3 I+ K
  666. ; By default, PHP will output a media type using the Content-Type header. To
    , ^) x. W3 q- S$ d( l9 S0 `3 {( N
  667. ; disable this, simply set it to be empty., ]* N! \# v. y3 i3 U; G: y
  668. ;
    + I  z, O7 J* U
  669. ; PHP's built-in default media type is set to text/html.$ K9 _: b5 g" K( g& r4 J  Y7 g; y$ G
  670. ; http://php.net/default-mimetype
    * B2 _6 G5 c1 m( j7 _
  671. default_mimetype = "text/html"& s8 W4 p* H; R$ {5 w4 i

  672. $ J. h$ S& I9 R1 g0 H
  673. ; PHP's default character set is set to UTF-8., q8 c6 A% X( v9 Y4 K
  674. ; http://php.net/default-charset
    - }* g  i; W2 N/ k
  675. default_charset = "UTF-8"6 e% q- H$ k3 f  m5 D: x

  676. : Z# I7 R+ c5 S3 H; L
  677. ; PHP internal character encoding is set to empty.4 l( b- n" U+ _# y( Y8 ^5 b& M
  678. ; If empty, default_charset is used.
    9 ^* P+ |. h5 ^; U
  679. ; http://php.net/internal-encoding
    * c: u+ G4 X% m% A& [( i$ R
  680. ;internal_encoding =
    . s4 P- W9 c" F: b, n
  681. 9 Z9 R9 j( K* |9 r- @
  682. ; PHP input character encoding is set to empty.
    5 l4 r* L9 Y) A. F9 Z8 C# ~
  683. ; If empty, default_charset is used.
    % v- l/ V8 `" X: U
  684. ; http://php.net/input-encoding
    % p; F- N& |3 O6 `% P
  685. ;input_encoding =
    6 B' X. {9 o5 D
  686. 6 K3 N2 e, |6 I! U! |
  687. ; PHP output character encoding is set to empty.8 f9 B) D/ y' ~$ i9 t
  688. ; If empty, default_charset is used." c. M" c; X. D# w9 Q
  689. ; See also output_buffer.' k$ j  ^$ X4 L3 B
  690. ; http://php.net/output-encoding5 h) J7 @3 E' _1 v& @' T% j
  691. ;output_encoding =+ p. `6 J, Q4 J+ ~/ q* a

  692. / u1 v& V# d" N2 W
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 l2 |6 F5 n) X
  694. ; Paths and Directories ;8 [* W! c( y" E8 L! E9 N$ I% H
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 k2 }+ j% D! |7 K1 F' V) |
  696. 1 f3 D1 Y$ Z$ m2 D
  697. ; UNIX: "/path1:/path2"
    * Z; m# o" K% ^: Y( ]' |" }2 R
  698. ;include_path = ".:/php/includes"
    8 F' ]2 R; k* j/ L/ u
  699. ;
    , I3 z; q$ G0 m0 r
  700. ; Windows: "\path1;\path2"
    $ f2 r8 O4 }& R* r. g" M2 `
  701. ;include_path = ".;c:\php\includes"% z* M3 |$ Z2 {8 Y( {, \
  702. ;
    ! ^- y: x. M4 e+ |. w
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear") P9 C2 G% p7 J
  704. ; http://php.net/include-path( z$ n5 ^( R( ]" l# h1 f" V
  705. 6 C' K6 g- {" b$ c8 l. w$ V
  706. ; The root of the PHP pages, used only if nonempty." H6 o* P) E2 l1 H: r
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    + w  o6 ]- T4 }
  708. ; if you are running php as a CGI under any web server (other than IIS)1 K. M2 G# c7 f& D5 I; S
  709. ; see documentation for security issues.  The alternate is to use the
    : B" i7 a. e0 z, A2 F
  710. ; cgi.force_redirect configuration below
    ) f3 ^" b# |4 E" V1 u) V" w* o" s
  711. ; http://php.net/doc-root
    $ z& j% d. x6 y2 W  P% }$ J
  712. doc_root =
    1 G/ [# J" v2 I; P* Y) e( w& M0 f

  713. ( `) r4 a- D/ t
  714. ; The directory under which PHP opens the script using /~username used only
    ! S  B4 n, P& @  b
  715. ; if nonempty.
    + r3 N# ?- d* s& d% d. F- z/ `$ t
  716. ; http://php.net/user-dir1 X* k8 R# D& \5 {4 E
  717. user_dir =
    & g& b" m5 S& n1 S- @- Q

  718. ; `& ^. ]: x! ^
  719. ; Directory in which the loadable extensions (modules) reside.
    6 Q, `/ m0 }6 ?( u% Q3 k5 ~* V: o
  720. ; http://php.net/extension-dir
    + c0 _3 v- u1 |8 n: e; C5 c
  721. ; extension_dir = "./"
    $ L  R* @& Z# |2 X' q  \% o# c) l! ^  I
  722. ; On windows:2 }" r: J% P! {+ M2 F- |3 _# d
  723. ; extension_dir = "ext"
    + M, ]+ M; j9 n" K$ P  b5 I

  724. 5 |- |% c" L5 L% s+ d. g
  725. ; Directory where the temporary files should be placed.7 G6 \. P1 \4 S
  726. ; Defaults to the system default (see sys_get_temp_dir)6 B1 L* T5 E9 _  e& N7 [
  727. ; sys_temp_dir = "/tmp"( M# E- K; i7 p# t1 F
  728. 9 @; k+ a- \# a0 A
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    2 F% R( f8 D/ Q& }3 c3 ~. N( c6 v
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ' H, n/ J3 w6 x
  731. ; disabled on them.& p% Y" Y& {$ k) Z7 z; U
  732. ; http://php.net/enable-dl5 D* a" T8 S3 T5 e9 o" s: N  r" g% u
  733. enable_dl = Off
    / k; P7 L  c2 X# `  I$ r& j/ v$ H
  734. 4 [, b+ A: W  d5 n! w9 M0 O" ]
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    7 W0 s4 W+ [( m* |
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    9 U4 x2 [* C. p2 L2 }
  737. ; turn it off here AT YOUR OWN RISK
    ' O( w; o0 E  Y. k# {' Z3 a4 N+ O
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**" {# d$ x( a. a" [. O
  739. ; http://php.net/cgi.force-redirect4 k/ `! W& U$ l  Z( l# o* n
  740. ;cgi.force_redirect = 1
    - x9 _( x6 `$ R/ ^* j
  741. , K- N, a5 s% B
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with( ?* L$ v7 _8 ]" p
  743. ; every request. PHP's default behavior is to disable this feature.
      H& J0 F5 s; l; H, p0 ?
  744. ;cgi.nph = 1
    % S% H+ G8 V9 y  \0 ~; @
  745. ! W1 a9 K- S6 B3 n
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape! Q, c, l6 O( Z) B9 }* }) \0 M3 I5 Q2 H
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; Q/ m1 L# J' z5 d) \8 j- L1 z
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY8 m4 V# N! g( Y- K6 r  P
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.9 h  |6 M6 m- B* f3 E! ~
  750. ; http://php.net/cgi.redirect-status-env
    $ p2 F8 v* {. a) ^8 Y% n
  751. ;cgi.redirect_status_env =! H3 a2 {; s% l' @' _5 e9 B3 B
  752. ) v3 }5 p! ~4 V% o/ j* c; y7 y6 a
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    5 j( \$ q7 x3 N: u# b  t
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok& H& l$ b) O! S( T. |! ~2 \
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting6 E/ G4 d  j' U2 s
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    7 f2 s: L1 [" B; B$ S5 n' m
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts& B) R. C  g* k' V2 H
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    9 o( O3 Y, t+ n5 C8 X
  759. ; http://php.net/cgi.fix-pathinfo% B! u- @! C* A7 j1 b) t' K# A. C
  760. cgi.fix_pathinfo=19 D5 E" G) r4 {5 e- Z; I" m

  761. + G% h( ?6 T9 ~/ ?1 S% P
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    7 P6 W; K! \( c' O7 _7 O5 L" e
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ( o: N  \4 `1 N9 G+ y0 E! E- l
  764. ; http://php.net/cgi.dicard-path# l6 _. m9 e* _4 `
  765. ;cgi.discard_path=1
    5 r) n+ T, e$ l( \8 @. O* u
  766. 0 ~" M% G. r/ {( n5 P9 p2 R
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate' Y7 M) T, }& ^1 ]% r9 g8 n& v
  768. ; security tokens of the calling client.  This allows IIS to define the
    ; u# |! G: d. U" b" e( x' k% N
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    % K* \! L+ H1 g% P
  770. ; does not currently support this feature (03/17/2002)( |8 T6 H/ ]( e# P9 ?7 G
  771. ; Set to 1 if running under IIS.  Default is zero.
    , q5 r/ k5 F: N' S; L
  772. ; http://php.net/fastcgi.impersonate  f  {: t' x$ E/ a+ Q& C  r0 e$ Z
  773. ;fastcgi.impersonate = 1
    / B5 Q* p) v: I0 v2 y% `/ C

  774. # V: f7 l4 h# w# ^9 @, a; R
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    , x: W0 K7 ^& Q" U/ Y4 a: o
  776. ; this feature.& a9 i9 u; D( ]/ C
  777. ;fastcgi.logging = 0
    8 _6 h* K1 y" M- Z

  778. ) L& t5 \( E, y- ^8 Q
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to; y4 L1 G3 @# \' s9 o
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    6 F6 d3 T% O6 `% d$ j# g
  781. ; is supported by Apache. When this option is set to 1, PHP will send# q- S! R& W: y+ w- C1 A; n+ s
  782. ; RFC2616 compliant header.
    + X" h" Z6 _8 ^6 S' U, m) t
  783. ; Default is zero.
    # q# Y# x3 V0 I) ?, \2 S3 o
  784. ; http://php.net/cgi.rfc2616-headers
    ; n4 s  j, X8 J
  785. ;cgi.rfc2616_headers = 0& g- p. s! J! r

  786. . M" f' ~3 {: @7 i4 P4 R# w( O
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!/ b" k" k, W. K* h
  788. ; (shebang) at the top of the running script. This line might be needed if the
    . ~- [# }( E9 b! \" w" K' P1 D" l
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    : u' ?( X7 r7 t, }
  790. ; mode skips this line and ignores its content if this directive is turned on.0 h& P/ c1 ~6 f. B2 G, b* `6 V
  791. ; http://php.net/cgi.check-shebang-line! \! g6 d4 l+ r; y; ]& K' ^
  792. ;cgi.check_shebang_line=1
    # Q- v* v1 e% J* d6 G8 O8 `: W
  793. 5 X" E0 b, R9 Q0 B: X' |$ o$ h1 H
  794. ;;;;;;;;;;;;;;;;2 K7 w! |" P) M: D* n/ }' q
  795. ; File Uploads ;& {2 N+ q% _! m1 _
  796. ;;;;;;;;;;;;;;;;
    ' K# R; R% h' Z; H
  797. : s. N( v) `. B5 q$ Z
  798. ; Whether to allow HTTP file uploads.
    : d8 j8 h# J: @8 l$ S8 d: B$ I
  799. ; http://php.net/file-uploads' b; R$ b' r) x- h
  800. file_uploads = On
    4 b1 W( B! H3 K0 i5 M0 o

  801. ( V8 P, n- L0 x" T" ?" b9 x- ]  }) S7 Z
  802. ; Temporary directory for HTTP uploaded files (will use system default if not/ G8 A$ k) F- q9 y5 M$ ^
  803. ; specified).' E  ^$ f: J6 ?+ o, M
  804. ; http://php.net/upload-tmp-dir
    2 H# l# d) U* H
  805. ;upload_tmp_dir =
    ! H% O; s" r- @

  806. / X/ R/ A( C0 \  @4 F
  807. ; Maximum allowed size for uploaded files.
    7 ?5 O! d8 |& _; f  I4 e! u
  808. ; http://php.net/upload-max-filesize
    2 r$ ~$ ?6 K- J; d. N4 l
  809. upload_max_filesize = 50M3 }- N; P. F0 ^1 d' D
  810. 9 C& a) u% _. ~( i
  811. ; Maximum number of files that can be uploaded via a single request: G8 p% _. l& H/ Q  j) @' i
  812. max_file_uploads = 209 \1 j$ F' Q" X7 K

  813. . T# B! u0 ~+ e! _+ z7 b
  814. ;;;;;;;;;;;;;;;;;;
    . X- p, W0 W( U3 i* h
  815. ; Fopen wrappers ;
    * ^* i  L& O: o) t( v2 K
  816. ;;;;;;;;;;;;;;;;;;
    * j; J6 P/ }% R0 n

  817. , _* J7 E: N* ~
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.# _0 t. _9 {# `7 R: g  x( d$ Z
  819. ; http://php.net/allow-url-fopen
      H7 ~! x3 @* d! c, f' F  S. f
  820. allow_url_fopen = On1 w9 R; @! m; H! I4 P4 n" p

  821. 4 ?6 D# D; B8 X" {$ K$ {5 l3 u
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.; N/ z( j; X. C  k9 W! ~
  823. ; http://php.net/allow-url-include
    7 G' H# a) [2 Q
  824. allow_url_include = Off
    ! B/ U: w: |$ Z* p& N3 T/ K9 n- i

  825. - C. z. P8 U. L; \; R" k
  826. ; Define the anonymous ftp password (your email address). PHP's default setting4 S) f. }4 j* E  W6 o' {& l! w
  827. ; for this is empty.' f" _. {- a6 V4 n
  828. ; http://php.net/from6 c1 N, B7 w0 X- x" F
  829. ;from="john@doe.com"1 f) k* L# E: h% \

  830. - K( y* @0 J& x. p, z3 `7 A( w8 h, u/ @6 i
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    / w" d6 o' V5 R; D, K- W3 g6 ?/ q
  832. ; http://php.net/user-agent
    6 k' k1 l+ v8 Q8 q6 e
  833. ;user_agent="PHP"/ C$ l1 R7 c5 H+ x

  834. 3 N) K& X4 Q# d1 r/ w
  835. ; Default timeout for socket based streams (seconds)
    0 l: Q$ O7 }1 j: I4 X* N
  836. ; http://php.net/default-socket-timeout6 h9 U1 W$ V9 ?$ d, W" v
  837. default_socket_timeout = 60$ ]0 L3 k/ g7 u2 z7 _
  838. 5 k$ u: r7 h( u, W5 Q$ l7 g7 t/ o. v
  839. ; If your scripts have to deal with files from Macintosh systems,1 ?3 F# u9 a; B- Z3 W5 h, y( S
  840. ; or you are running on a Mac and need to deal with files from+ e4 b$ b/ J- }
  841. ; unix or win32 systems, setting this flag will cause PHP to, g  a' t1 D$ S& \3 n
  842. ; automatically detect the EOL character in those files so that0 F( ?; s0 b6 t( A& [, q% l: m
  843. ; fgets() and file() will work regardless of the source of the file.
    $ A6 ~1 X9 [2 l3 ~6 s: G
  844. ; http://php.net/auto-detect-line-endings) U0 D- G* W# E" z
  845. ;auto_detect_line_endings = Off
    : T$ q+ K: Q+ ~! g9 c4 M+ w; t
  846. 1 t# J" C( J  M* E
  847. ;;;;;;;;;;;;;;;;;;;;;;5 t. J- x* j( w% W7 p+ y
  848. ; Dynamic Extensions ;
    6 z9 B' V$ ?: F' l8 k, c
  849. ;;;;;;;;;;;;;;;;;;;;;;
      U9 Q; F% S( m) K

  850. 9 T3 E) ]: f9 S' j: c# [
  851. ; If you wish to have an extension loaded automatically, use the following
    ; A$ e$ M; H/ A, G* G( _
  852. ; syntax:9 y7 S+ B8 R9 v6 M4 [; O# H' g, c
  853. ;4 W- T1 B! D/ c+ h# M) g
  854. ;   extension=modulename.extension
    ' {$ P5 i3 j8 {( r2 J# j' I$ G
  855. ;
    + W: M# ^: r7 e
  856. ; For example, on Windows:; k  p" s& r1 l" s! S" H+ z* D
  857. ;
    ' W# q7 B6 @# ^; H% f+ I  S' ^* q
  858. ;   extension=msql.dll8 R" X7 J/ ~, U7 C9 q! ^, d, o. ?
  859. ;  v9 P$ M0 [' B  \+ Q9 r
  860. ; ... or under UNIX:
    : E5 {- E1 c7 f: M6 c
  861. ;
    - Y9 D8 Q9 x+ m+ e
  862. ;   extension=msql.so5 j  a. k* m& ]* T; U) m- v
  863. ;# ]+ n; V9 J# }+ c) G, T2 v
  864. ; ... or with a path:) y/ X( w) f% v! J, k" n2 ]
  865. ;, c% Z$ ^% F- w. P0 k
  866. ;   extension=/path/to/extension/msql.so
      P- P7 p; g  p
  867. ;8 F4 K* {) y. v
  868. ; If you only provide the name of the extension, PHP will look for it in its( b. E: H, K0 c
  869. ; default extension directory.
    . a9 l5 Z5 n9 n
  870. ;
    . t' I: x+ o0 G1 ~
  871. ; Windows Extensions
    % m5 ?; l3 v; {
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    " Y( S; S; C0 s5 P. k/ U& ]6 H
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)" r8 {( g; S7 j7 F
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).& S, _9 ]& |" Y% H( z
  875. ; Be sure to appropriately set the extension_dir directive.
    4 y0 X$ i" i8 G% H/ A% Q6 p  x
  876. ;2 i  ]- q) Y4 S* \. n. B6 @
  877. ;extension=php_bz2.dll7 b: U0 |7 d$ v6 ]( c; |
  878. ;extension=php_curl.dll! e( T4 I$ N% L0 |1 O
  879. ;extension=php_fileinfo.dll
      A. o0 Y) s' |/ c9 }% Z( V6 b2 n
  880. ;extension=php_ftp.dll0 Y  w+ |. N% C  [4 X- z4 a0 T5 O
  881. ;extension=php_gd2.dll( m& R  |' O$ h' |) K3 g
  882. ;extension=php_gettext.dll
    ! G3 p$ K9 ^  }: ]3 q1 _. _
  883. ;extension=php_gmp.dll7 x7 d4 W0 d% o
  884. ;extension=php_intl.dll
    ! R% O8 D9 z: Z+ B$ S0 G* u
  885. ;extension=php_imap.dll5 }4 j% D: R- r" m# @5 Z
  886. ;extension=php_interbase.dll
    ' N& X+ r! w, j6 n
  887. ;extension=php_ldap.dll& |) d( X, w0 o
  888. ;extension=php_mbstring.dll
    # i5 M, o9 X( |
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    " h0 R! ]- N+ Y8 u2 U, V
  890. ;extension=php_mysqli.dll, F! \& V' A6 h
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client2 t6 M$ k& P( c6 x- L+ [3 T+ C
  892. ;extension=php_openssl.dll+ p; n2 g& Q, \8 `
  893. ;extension=php_pdo_firebird.dll) l' H3 `* G. `
  894. ;extension=php_pdo_mysql.dll7 f% ^7 q( C$ m0 p$ n6 \
  895. ;extension=php_pdo_oci.dll- k& G1 k6 ~1 e' `
  896. ;extension=php_pdo_odbc.dll( ~! {& |- W0 B* N' B
  897. ;extension=php_pdo_pgsql.dll
      h# U7 U4 A* Q4 i6 b1 V- s, p
  898. ;extension=php_pdo_sqlite.dll
    # \) t7 O& ^$ `. E) F) Y
  899. ;extension=php_pgsql.dll% |4 n" z' T' S- ^% J
  900. ;extension=php_shmop.dll5 U8 S) T) M1 ~

  901. * @$ C7 e7 }0 b- G* T% j3 U- y# ^
  902. ; The MIBS data available in the PHP distribution must be installed.
      U* c  [7 \# u" n4 e( D9 r% r- K' u
  903. ; See http://www.php.net/manual/en/snmp.installation.php; X) _1 b0 E) N  O# h2 U( o. N
  904. ;extension=php_snmp.dll* q9 n. Z) u5 ]9 O# c" |" B, `
  905. + z% i7 c/ W1 m5 c9 M
  906. ;extension=php_soap.dll3 Q) o! L4 j! ]( m
  907. ;extension=php_sockets.dll& T2 H8 o" p0 k  t
  908. ;extension=php_sqlite3.dll7 k4 n2 z% w# }) ~  b
  909. ;extension=php_tidy.dll$ }6 i  v6 U* g
  910. ;extension=php_xmlrpc.dll( E: d$ Z" K! l! ]5 G% a2 e
  911. ;extension=php_xsl.dll- A6 L  f4 K9 \! E6 ?! F4 U

  912. 8 U- I( T, i# c
  913. ;;;;;;;;;;;;;;;;;;;
    , b+ ]/ _$ h9 E1 e# o
  914. ; Module Settings ;
    ( N0 [/ D  ^' j0 Q  I3 M
  915. ;;;;;;;;;;;;;;;;;;;' J# j! `8 O: i2 J3 S# D- |/ Z) y* \
  916. $ Z$ F# y8 E' r  f: i5 o- a
  917. [CLI Server]4 y  A' \5 ]. A8 D* g5 w
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.6 A# r% Q. j! Z0 Z: U" n' }
  919. cli_server.color = On
    5 [/ x1 A' n7 Y5 A8 L- m# ?# ~
  920. 2 |  u& ^6 Q" ?5 O% W( q
  921. [Date]2 U, ]: ?( U! s6 l7 j  {) K$ y
  922. ; Defines the default timezone used by the date functions
    . d* \: g% s& D9 P7 b
  923. ; http://php.net/date.timezone) ~: v1 t1 c0 F
  924. date.timezone = PRC
    ; P' d& n7 t; |7 J. U

  925. ' ], I: X, v! j- u, X1 r- r: b
  926. ; http://php.net/date.default-latitude& `# W8 _7 H! d4 Z- g
  927. ;date.default_latitude = 31.76677 X5 ]7 B- F1 s9 y& |

  928. 8 _3 u6 \" h7 Z7 e
  929. ; http://php.net/date.default-longitude9 L# s; o/ \8 r  J5 d+ z3 J9 u
  930. ;date.default_longitude = 35.2333# g* Q8 z# j( ^

  931. ) C( T7 g$ X- o/ Z' ]5 F) D
  932. ; http://php.net/date.sunrise-zenith6 E- b3 R. b& B' z; n, s# M
  933. ;date.sunrise_zenith = 90.583333: ^. T* W! X- O0 B6 P

  934. 0 p  m- }1 P6 `6 @# |( r/ A! X9 h* o
  935. ; http://php.net/date.sunset-zenith( E7 k% R+ q0 `4 q1 J# I' |
  936. ;date.sunset_zenith = 90.583333( ]# F' c  c/ [  L3 }
  937. 0 }( @/ x3 R8 C
  938. [filter]
    # I: t6 i! a+ f; b
  939. ; http://php.net/filter.default, G  c) f, b. T* l+ |- m
  940. ;filter.default = unsafe_raw
    8 L! S7 v. S5 ]# y! {

  941. 0 G2 i* O, [( ]/ {
  942. ; http://php.net/filter.default-flags
    % `/ @) n- A7 A- i* L) D
  943. ;filter.default_flags =# I0 P! P8 X  v
  944. - I: j+ ^3 n6 B  U. }. R+ |
  945. [iconv]4 X& g" ]/ z2 \' V. d+ j2 h
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.9 u( v  x/ c( _& k, X: @+ c
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.0 m0 Q9 ~8 ]  O1 @8 t& R4 F7 ]
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    " D+ r% W. e; y8 O
  949. ;iconv.input_encoding =7 F" f9 [, V4 u, O7 Q: A+ z, \

  950. & x/ \( Q$ t: o, R" X) _
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.& K' C+ C4 M$ U8 ^4 n' D  K0 q
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    0 ]( A! a- B. b9 O
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    : B0 z: @# V  E4 x" j8 J
  954. ;iconv.internal_encoding =
    % H! v8 A: B3 `. C+ f0 k7 T

  955. : j# A1 v  |  U+ Z$ o8 w) N1 `9 e
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    , K9 B1 }5 Y* A  N6 ^: V' j
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    & E) [7 A, v7 k% c; X4 M, `
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding% ?3 [3 r: j/ m2 s+ f
  959. ; To use an output encoding conversion, iconv's output handler must be set$ F: ^9 l% C% ]7 Q
  960. ; otherwise output encoding conversion cannot be performed.
    ( U1 c2 W$ }* L
  961. ;iconv.output_encoding =
    : u6 a$ l; K5 N% h1 o( B9 ^' w7 s, a
  962. * l7 P; n* b) i3 i
  963. [intl]  c' t/ ^( N! F9 W% F
  964. ;intl.default_locale =
    ! x' x+ V9 J. j! X
  965. ; This directive allows you to produce PHP errors when some error
    % m. `; L! m  c  D
  966. ; happens within intl functions. The value is the level of the error produced.2 k6 t+ Z! D3 E$ }
  967. ; Default is 0, which does not produce any errors.
    9 p  S! W" J2 }! J7 r
  968. ;intl.error_level = E_WARNING$ w- i2 k3 P! T7 C
  969. ;intl.use_exceptions = 0
    2 O$ {2 [( x' k" T$ h0 V! Z

  970. ; M: F" T) w4 ^4 M0 O
  971. [sqlite3]6 V" u9 D7 F! }) I6 m' u
  972. ;sqlite3.extension_dir =4 x! o: \$ M+ a# }' P7 ]; t

  973. , R* m; v# V: t: ^) u7 y  f4 v
  974. [Pcre]# W, R( I! F+ s) q& ?2 F6 O
  975. ;PCRE library backtracking limit.
    8 P" {' J# u- v0 }
  976. ; http://php.net/pcre.backtrack-limit# m! x( i: I, f7 r
  977. ;pcre.backtrack_limit=100000
    : b* ~; l% K" d
  978. . @  @" J0 _2 h% M, p4 _
  979. ;PCRE library recursion limit./ j- B/ p; p! p/ d& c8 G$ S
  980. ;Please note that if you set this value to a high number you may consume all
    * j; B( E9 ^- }  R) L8 S
  981. ;the available process stack and eventually crash PHP (due to reaching the* d% D' |" ]+ O# D
  982. ;stack size limit imposed by the Operating System).
    & A$ b1 ?5 l8 |+ e4 R  N6 s
  983. ; http://php.net/pcre.recursion-limit# O  m) Z+ h1 X7 W( }+ \. ~
  984. ;pcre.recursion_limit=1000009 u5 o# N! }( k" @6 K- ]0 p1 c& n

  985. 4 |+ B5 O7 q0 @  \7 j
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE, r# T0 @8 \2 c" L
  987. ;library to be compiled with JIT support.$ T) I4 F- r# j+ |+ l
  988. ;pcre.jit=1
    2 |& P! ^6 y0 V- A/ w

  989. 3 ?6 P5 Y8 s$ [7 k) k% y
  990. [Pdo]6 `- }* }! U- F* Y1 t, e! u# o0 K
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"/ j' [$ z1 c  {6 t! E1 H" c4 A2 B; A& g
  992. ; http://php.net/pdo-odbc.connection-pooling
    5 M$ k9 \: `( f5 l( E; @* b( z
  993. ;pdo_odbc.connection_pooling=strict
    & E* @5 _. m7 N/ m) ^' X! v

  994. % X; A; O# S  A
  995. ;pdo_odbc.db2_instance_name
    : s' T/ d, M8 G
  996. & K1 m* S$ {: Q; _) N" w9 Y% M* {' R* ?
  997. [Pdo_mysql]
    ( I, s. I, U8 c: J* J& B' j; E# ~
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache6 W+ G8 D$ ^3 t3 b: {- ^2 y
  999. ; http://php.net/pdo_mysql.cache_size$ {! f, E0 n2 ]1 \
  1000. pdo_mysql.cache_size = 2000
    % p. B0 p+ F1 \+ o( T
  1001. ' R4 m# |: g" e; K
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 x& |1 K9 _5 V* r  l7 c
  1003. ; MySQL defaults.
    . W' A9 f8 g! f- P6 T
  1004. ; http://php.net/pdo_mysql.default-socket
    & u. c; B% V5 k$ C7 P1 [  |
  1005. pdo_mysql.default_socket=
    - X& ?: k: l1 p: q0 e
  1006.   C- H  V' ]9 e1 L4 X7 {
  1007. [Phar]
    - H* ^( x, H# j
  1008. ; http://php.net/phar.readonly! \* x* c- z+ {9 h) R5 c7 S
  1009. ;phar.readonly = On
    3 r+ l) G) r7 y- T" h* H( i
  1010. ! T0 V# X  T1 y
  1011. ; http://php.net/phar.require-hash
    9 J+ C& P1 k, x( d9 Z: `6 x
  1012. ;phar.require_hash = On
    5 B7 l1 d- V, |1 [
  1013. / q; W$ z+ y! T6 s; \; n- c
  1014. ;phar.cache_list =
    5 `1 ?# A- s, p

  1015. 2 H4 s, u+ @/ @* k- w3 t
  1016. [mail function]; a6 E2 v3 ^0 l! W! }
  1017. ; For Win32 only." T8 ^# Y& i9 S, v* k
  1018. ; http://php.net/smtp
      G8 q0 k: V" m, m, u2 f$ P! G9 O
  1019. SMTP = localhost
    . F' v" t( ^( x+ g
  1020. ; http://php.net/smtp-port& {1 V9 p5 t, o4 j  B
  1021. smtp_port = 25
    ( a) k0 L3 A8 o" ^5 w2 t

  1022. " A- {6 S! Y( c. v
  1023. ; For Win32 only.
    - D+ x: x1 M$ g! a$ b
  1024. ; http://php.net/sendmail-from% N8 Z7 U4 Z" f' [& b
  1025. ;sendmail_from = me@example.com
    . |5 M, H/ `+ h( o4 |' {% {4 g. U

  1026. % F; L1 x# S0 L: p
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").8 ~, T- g) i9 G- t/ P) g
  1028. ; http://php.net/sendmail-path
    5 i; i: M- T9 M% ^3 C8 l3 {6 o0 N
  1029. sendmail_path = /usr/sbin/sendmail -t -i! g0 t% c5 l; z8 M- J! P

  1030. 5 S/ x6 }$ `$ f. g9 p
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    / @- ?6 {- W$ n# }: P' Y7 C
  1032. ; to the sendmail binary. These parameters will always replace the value of0 V& T9 |% o% v5 P1 D
  1033. ; the 5th parameter to mail().3 O6 f' ^' s. }$ y: t! b9 d4 ]
  1034. ;mail.force_extra_parameters =! U% b. K8 v9 j, q

  1035. , q' w7 c2 u, C5 h6 {- s0 H$ v! P* K: m
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    " @9 s6 P/ \' C: c1 d( i3 e' P: N* r
  1037. mail.add_x_header = On. C3 W# m5 A& W2 o# A, j: a
  1038. ) Q# k3 L' T( \( i. i
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    + H$ _0 k2 F/ J2 [  Y
  1040. ; the full path of the script, line number, To address and headers.
    5 E% ]" Q' `# ~4 P! [" D4 q
  1041. ;mail.log =
    ' K. a/ T" t  B# U
  1042. ; Log mail to syslog (Event Log on Windows).: J# k- w2 W% n& f- \+ f& z- q+ l/ \
  1043. ;mail.log = syslog/ N2 Q0 o! V* n4 a2 i

  1044. & r) W6 ]. Z: b/ w( d9 C
  1045. [SQL]: L1 `( w, I5 a9 m8 O
  1046. ; http://php.net/sql.safe-mode9 l6 @, y  {: D9 `! \
  1047. sql.safe_mode = Off
    " v5 q" j) [3 L! v' @" u; ]. x
  1048.   q! D- E9 ~* z
  1049. [ODBC]0 I8 P, o  R: |" N; p
  1050. ; http://php.net/odbc.default-db
    * K3 D! L$ d$ i; @0 v1 h, {
  1051. ;odbc.default_db    =  Not yet implemented
    ) J3 p. }! Q3 X, O# m  b2 B  M
  1052. + F; W8 j' S3 ^% x0 E* r/ B
  1053. ; http://php.net/odbc.default-user9 |- Q( Z9 X* I, a$ m
  1054. ;odbc.default_user  =  Not yet implemented; u* t$ ]& D3 h8 [

  1055. % ~6 w- `0 V2 p" G6 S
  1056. ; http://php.net/odbc.default-pw! D8 e3 j+ j0 T0 w
  1057. ;odbc.default_pw    =  Not yet implemented  C  t# f  U" X$ W$ o, `( ~

  1058. & t* @8 x5 S' n1 R+ @
  1059. ; Controls the ODBC cursor model.' [7 K& @* F( O! `! k4 H2 g: G
  1060. ; Default: SQL_CURSOR_STATIC (default).
    & ~+ a7 m- D, A: Q, R: q
  1061. ;odbc.default_cursortype
    : S3 H; {" K# x' A) _
  1062. 9 h; G; ^0 z$ g9 y' t- J' E
  1063. ; Allow or prevent persistent links.
    - ~( }4 j  [' ]/ r+ m# ~) c
  1064. ; http://php.net/odbc.allow-persistent( m8 I5 G/ Z2 j9 T" m: j% s
  1065. odbc.allow_persistent = On- \5 E& }0 M9 f5 u& f

  1066. 5 ^5 [& f. V4 q! N  g+ ]8 ]
  1067. ; Check that a connection is still valid before reuse.
    4 x. f' O/ s9 Q) r) w. \
  1068. ; http://php.net/odbc.check-persistent( X( |+ s: |- r: }; {$ @
  1069. odbc.check_persistent = On3 z9 F1 u* @% x
  1070. ' t! A" f0 C* o, E
  1071. ; Maximum number of persistent links.  -1 means no limit.
    % h" e# K# O* G7 }3 y" L
  1072. ; http://php.net/odbc.max-persistent
    , A9 w8 p' A/ c& b0 M
  1073. odbc.max_persistent = -1
    4 X3 Q% a2 d# N9 I* Z" ]* ~

  1074. 2 L% {, B' R+ u; C6 {  N
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 u+ a5 q! w4 v' k& x
  1076. ; http://php.net/odbc.max-links: h* j5 z$ }3 H0 Z$ u3 \9 e9 _8 \3 J
  1077. odbc.max_links = -1$ o% @9 @* m" X9 W4 j
  1078. / W7 @% Y; v+ {2 n$ }3 n( W
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    , v5 @; x- c" l' k# \) j7 H9 _
  1080. ; passthru.
    0 F7 k: m- ]7 o  c. E
  1081. ; http://php.net/odbc.defaultlrl( U5 G+ M7 `$ z
  1082. odbc.defaultlrl = 40965 |' o1 Q' p7 k. i1 D
  1083. . e7 i' x0 M3 C& T: Y
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.; D2 Q" n2 {$ J1 }$ V: [
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    5 O- j! C2 N/ H0 N* }& \9 A
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    ! }; G- ?; L- N% w- ~# F9 T5 Q
  1087. ; http://php.net/odbc.defaultbinmode7 T! P4 z5 H9 k
  1088. odbc.defaultbinmode = 1
    * A& p$ t; U  K! X, U/ @
  1089. 5 ^$ [* c" b% B1 u+ |
  1090. ;birdstep.max_links = -1+ z0 ~. H8 j6 E% D' W

  1091. . F; ~# u% m9 u* C* v
  1092. [Interbase]
    ' q, l0 ]- p% e
  1093. ; Allow or prevent persistent links.! o2 T5 j2 q  L
  1094. ibase.allow_persistent = 1
    5 k( L& r, ^' S' p* G

  1095. ; C1 p  U1 C% w' M
  1096. ; Maximum number of persistent links.  -1 means no limit.8 M$ q3 s- m6 _
  1097. ibase.max_persistent = -1
    ! M& x: u+ u" |% y( B! z: z
  1098. 8 T0 ~- {/ h( X/ z& [% l) Y
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 ~& w3 F8 }/ l# e4 l# s
  1100. ibase.max_links = -1
    7 G/ H9 d% S+ v5 {' l( ^: |+ R
  1101. - D! e( P2 l- K
  1102. ; Default database name for ibase_connect().) s# r5 u8 i- _3 D' n
  1103. ;ibase.default_db =$ k3 Y3 h6 h: ?. c
  1104. . m# A- A1 v$ w: I' i. r  D- `( D
  1105. ; Default username for ibase_connect().
    & I5 ?& t, k' J7 {% P! \6 G
  1106. ;ibase.default_user =3 r) f! h- n( G2 {) u

  1107. . d/ `1 ?# `: N, K
  1108. ; Default password for ibase_connect().
    5 F& Q  G) e/ ]( b) {
  1109. ;ibase.default_password =
    $ h# O- |: |- {

  1110. & t% H* I0 R; X* ~  d7 q+ S: V
  1111. ; Default charset for ibase_connect().
    + m" X3 s( \& V: C5 t! w6 F! m/ h
  1112. ;ibase.default_charset =; C$ i) J4 W2 U8 O0 Z

  1113. & s8 E( f7 u. @. f, j
  1114. ; Default timestamp format.+ h6 c+ D7 `8 ~; I1 l) @0 V
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S". a2 U6 }" E% ]: y; I! S4 E  V

  1116. ( z) X! E, G2 W! c$ P4 u
  1117. ; Default date format.1 R* P6 P+ l2 f( q' C& N( V; M% Y) r
  1118. ibase.dateformat = "%Y-%m-%d"
    # y6 p1 ^1 U  P7 Y1 ?- g# c
  1119. ) V9 O* s' q$ C0 ^& H5 Y
  1120. ; Default time format.
    2 {. L0 E* G- i3 C0 J
  1121. ibase.timeformat = "%H:%M:%S"
      c" v( |4 v4 y1 g( p; A

  1122. / z/ ?! F' J9 O" _
  1123. [MySQLi]
      M+ J3 @4 \' ^( V# z& C5 l

  1124. $ d6 x; o4 G' f3 o" ~5 s, s4 S
  1125. ; Maximum number of persistent links.  -1 means no limit.) L$ Y% v; O: A
  1126. ; http://php.net/mysqli.max-persistent4 ?8 r! i4 z! v) D
  1127. mysqli.max_persistent = -1
    $ p8 V6 L: w9 j' R- x4 c8 O  B
  1128. & n3 @' |) _; P& ~; C9 w
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    . V9 i* Q% C6 F, g# D9 {$ i' r
  1130. ; http://php.net/mysqli.allow_local_infile
    3 d2 }. B3 a. a- e
  1131. ;mysqli.allow_local_infile = On% J# \4 z5 d# y% X1 |% B

  1132. & L: ^$ t* B; c( M9 k2 d' h
  1133. ; Allow or prevent persistent links.
    6 ]3 v# R0 P" K* v! e* U9 Z/ `
  1134. ; http://php.net/mysqli.allow-persistent
    0 c7 E+ Y" q3 D& H% s2 ?2 M
  1135. mysqli.allow_persistent = On
      t7 E1 W; V/ V7 f- [  I, s
  1136. . j, ?8 D+ e- C6 v
  1137. ; Maximum number of links.  -1 means no limit.1 b& U5 c& l5 d; G) ^2 t9 S
  1138. ; http://php.net/mysqli.max-links
    4 n0 F$ S, o; H* f: Z
  1139. mysqli.max_links = -1
    ) T$ Y' n& w5 K/ d8 Q2 r' m/ X+ b
  1140. # _1 [. k, L2 i$ Y  y- ?+ r
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & r, C' g$ l  R
  1142. ; http://php.net/mysqli.cache_size/ h7 r/ s  _' t. F- |! N0 }( r  `% w
  1143. mysqli.cache_size = 2000. j2 m) G" t! z7 u: i

  1144. ' w" j0 L3 O% h) A' |1 T, B7 d1 B
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    3 x1 U- o% f- }5 v& o/ k* z' _
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the1 D5 {9 Q8 U0 M: F+ _- C3 j4 V: N' p
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    2 }/ S  C# ^3 B: \/ w  D
  1148. ; at MYSQL_PORT.
    # I* c* }/ Q. v0 I9 q
  1149. ; http://php.net/mysqli.default-port
    7 E* W9 `# I2 a4 l' Q( Q5 \  U
  1150. mysqli.default_port = 3306
    " V9 [7 s6 d0 v+ e9 l% A

  1151. 3 m' q# K/ P9 Q/ H5 x
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % v, _5 T+ g  n" J8 V% [- `
  1153. ; MySQL defaults.
    & O- r6 o+ I2 ]. ?
  1154. ; http://php.net/mysqli.default-socket+ t& ]7 M' F% U1 J9 D+ n- T- I
  1155. mysqli.default_socket =
    8 \, ~8 i) _% O! V4 _2 j& E

  1156. ! ]) O" v  C! p/ u: V
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).2 _3 O# _/ J7 l
  1158. ; http://php.net/mysqli.default-host0 d5 m( g6 e* U. S) y  F5 a
  1159. mysqli.default_host =
    ! X$ T- A5 g3 G
  1160. ; n: |/ D3 n/ l; i+ d9 L3 `$ ?
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    1 d+ p. F: J' I# D$ s
  1162. ; http://php.net/mysqli.default-user
    1 h( q6 W0 T8 l# v7 `8 @" H' ~
  1163. mysqli.default_user =
    9 q, r, i& P2 P
  1164. 1 v: b* H1 W  U- O
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).# k& J) [6 j' l
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.$ Z, g* o% O: ~- r; q9 i0 D
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")( F4 u: [1 v' u1 e: a$ e$ ]3 x
  1168. ; and reveal this password!  And of course, any users with read access to this
    : E/ V* h6 w+ v
  1169. ; file will be able to reveal the password as well.
    / N# p7 v, J4 n( P( s' g4 y3 C
  1170. ; http://php.net/mysqli.default-pw
    , f' x7 U/ W4 s* f
  1171. mysqli.default_pw =$ f) S0 I$ Z. Q; y
  1172. 9 p8 p+ y7 q0 F, L( P
  1173. ; Allow or prevent reconnect
    / y! f- m! s, Z' i6 T! b3 N. T
  1174. mysqli.reconnect = Off7 j5 ~7 D! p' {% p; T) w& Z
  1175. . `8 w4 F. ~% v* y
  1176. [mysqlnd]) d1 F9 H1 N* h9 V7 \
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    0 y2 S5 ~' L% R' y! k) m
  1178. ; used to tune and monitor MySQL operations.
    * I) P* A; @% c- Z- C+ E4 W" i1 w
  1179. ; http://php.net/mysqlnd.collect_statistics
    ; x* o- a/ j) H( o8 P
  1180. mysqlnd.collect_statistics = On
    8 K) Y, |6 S9 B4 p8 S0 e
  1181. % C3 [& E1 C4 V8 s  s* \" @
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ! x2 u" I, W( g, w/ A/ k( n, t- _0 o$ d
  1183. ; used to tune and monitor MySQL operations.% I8 W  g, H* \1 q6 ]
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    1 ~: o/ L! \5 i9 Q# _! Y* k
  1185. mysqlnd.collect_memory_statistics = Off
    + v; i2 [  K: [; p' G: n* Q% ^$ W

  1186. ; E: }! M- ^4 U1 T
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    1 h8 g$ H  u5 l- M. {
  1188. ; file.
    * ]- ?! t) N: _( g5 k, s3 u
  1189. ; http://php.net/mysqlnd.debug* u) m$ k/ z$ X
  1190. ;mysqlnd.debug =4 m" I$ |+ z0 T2 i3 U
  1191. - x' u8 z1 r5 A& ~. C
  1192. ; Defines which queries will be logged.0 i! s- l! z- v& @
  1193. ; http://php.net/mysqlnd.log_mask
    * K. T# H* k: X/ @: N7 {
  1194. ;mysqlnd.log_mask = 0
    3 T! ^- _: q) s
  1195. 3 r9 ]' Y$ ^6 D9 I& u
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.: n5 b" L9 _& ?1 R1 M; S$ u5 N5 X# ?5 u
  1197. ; http://php.net/mysqlnd.mempool_default_size
    ) `- P* B# R; `
  1198. ;mysqlnd.mempool_default_size = 16000! a( _: ~! V: }' x

  1199. - A: |( f  t  }5 _& `7 E
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ! Z( ~) d" K! E* P' M! D+ r2 m
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    , G4 l: a% U. {) \+ e
  1202. ;mysqlnd.net_cmd_buffer_size = 2048" T( _. I# j9 R2 s" D( s

  1203. " x8 R: Y4 o1 ^- P+ a5 W) P% I
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in$ J+ ~, ~# J5 \. B  G
  1205. ; bytes.6 X: }) I/ r/ k/ o3 j; \( O% A- |
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    ) p- k% R8 i: q2 S3 ?
  1207. ;mysqlnd.net_read_buffer_size = 32768
      {5 Z8 o) W4 ?& A( E& ^" ]4 L

  1208. ( P" P1 t) x, O. G% Z4 P
  1209. ; Timeout for network requests in seconds.% K- X0 X6 {# ]  j- b% t2 K3 C& S/ o
  1210. ; http://php.net/mysqlnd.net_read_timeout
    0 B( z6 W. s; ]# U6 W3 `
  1211. ;mysqlnd.net_read_timeout = 31536000/ |" K0 {! S  J. `4 v2 r2 W# O

  1212. 4 T3 B. X, T4 F/ H& s! C$ \. B
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    4 z6 ?5 T  L* x& D- B2 l, }
  1214. ; key.6 m1 B2 ~, k; q) F( h
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    7 ~$ R6 ~! T& x2 \* ~
  1216. ;mysqlnd.sha256_server_public_key =  h1 X. j# X" l7 I# S' V6 C

  1217. 5 t+ ?3 @, s/ d/ _; w( Z4 U
  1218. [OCI8]
    * ~) [4 a" L  Z
  1219. ; Z: e9 j: f% [9 d7 I: B1 @
  1220. ; Connection: Enables privileged connections using external( R, V' }- \) t; u
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    7 ~! G; |% `; u2 a( t- |- p& v
  1222. ; http://php.net/oci8.privileged-connect
    / V, r5 G# x" M: A% ]
  1223. ;oci8.privileged_connect = Off
    & I1 e& g3 y* Z; ~8 |% h

  1224. 2 \, z+ W  p' `' i2 Q" d
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    2 ]* W; k% Z7 l8 h; d
  1226. ; process. Using -1 means no limit.
    3 U/ B$ `: [% c) I& H! m
  1227. ; http://php.net/oci8.max-persistent9 S7 S5 s2 ?) `0 s( W" X+ O
  1228. ;oci8.max_persistent = -1
    : `+ T; K# M( E6 y1 o

  1229. 4 }4 x% P/ Z. v# N% @9 r! t
  1230. ; Connection: The maximum number of seconds a process is allowed to' y/ C/ I* h) ^6 V2 a4 k* c! _  z
  1231. ; maintain an idle persistent connection. Using -1 means idle
    " E8 z; w3 L- ?0 }' s! E8 ]( y
  1232. ; persistent connections will be maintained forever.
    6 p- e+ A: [& h/ P
  1233. ; http://php.net/oci8.persistent-timeout. a, G, }5 f9 O9 v! C
  1234. ;oci8.persistent_timeout = -1# K) h/ h; `- ?' B+ |! z/ ]

  1235. . _6 s5 l9 a3 w8 x' ]
  1236. ; Connection: The number of seconds that must pass before issuing a% |  d* r  ^8 G* k7 a
  1237. ; ping during oci_pconnect() to check the connection validity. When
    ; F* K; i# i: b4 E1 q0 X6 |
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    1 H0 q/ Q1 O! V1 w4 b& n
  1239. ; pings completely., a5 V8 T& a* H3 c- R
  1240. ; http://php.net/oci8.ping-interval
    7 S! m. p  u$ O* T& j0 b% a1 ~+ ]) U
  1241. ;oci8.ping_interval = 60( w) f7 y$ {$ E  t; z) x

  1242. % F8 s+ U" l/ E) q: y% E
  1243. ; Connection: Set this to a user chosen connection class to be used
    # h: {9 V" x& E$ S
  1244. ; for all pooled server requests with Oracle 11g Database Resident. G$ T- J! N& g) _0 z1 h
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to. [/ D: ]; W* @! o
  1246. ; the same string for all web servers running the same application,
    : M/ {! S7 R6 Z5 k& X$ c
  1247. ; the database pool must be configured, and the connection string must
    2 d2 o, n0 }3 P$ B3 B
  1248. ; specify to use a pooled server.9 M) E+ p2 a* N0 I( j
  1249. ;oci8.connection_class =& ~8 W' |# j6 }! B& j1 t
  1250. : g" Z6 B: L1 d: c! |
  1251. ; High Availability: Using On lets PHP receive Fast Application
    # F: e4 r9 m7 m2 i
  1252. ; Notification (FAN) events generated when a database node fails. The# w; z2 q9 k  o2 g2 h1 C! h
  1253. ; database must also be configured to post FAN events.
    ; T7 @7 U* f& n5 J7 B6 T/ X
  1254. ;oci8.events = Off
    ) A" u; w0 q+ H
  1255. 4 r5 s: @& _7 f$ _. P
  1256. ; Tuning: This option enables statement caching, and specifies how. m) ^2 Z! C2 j, }( I/ B
  1257. ; many statements to cache. Using 0 disables statement caching.) z  Q! b0 c: U) W2 I( J0 W" i5 X& R
  1258. ; http://php.net/oci8.statement-cache-size
    : e' l4 Y" Z2 _
  1259. ;oci8.statement_cache_size = 20
    $ q9 A0 J# k) U, [& G

  1260. - ]  o6 O0 X3 P2 L, n# K, ]# }
  1261. ; Tuning: Enables statement prefetching and sets the default number of/ A. G  x9 `' h( O  P+ D) N! j4 i
  1262. ; rows that will be fetched automatically after statement execution.
    8 Q! f/ F* k' X5 y4 l  l  j$ _
  1263. ; http://php.net/oci8.default-prefetch
    / H' i6 B  s: t" y) g2 N9 x: A
  1264. ;oci8.default_prefetch = 100
    % T8 J, B  ?1 ?

  1265. 3 f2 I* _8 g. c" l8 ^; h8 u, `8 \
  1266. ; Compatibility. Using On means oci_close() will not close" f! O9 F1 i( j9 M; |4 `4 Q! n2 S
  1267. ; oci_connect() and oci_new_connect() connections.
    + s* A0 P4 Y1 i) F! ]3 j+ B
  1268. ; http://php.net/oci8.old-oci-close-semantics. m; K# L4 l' S
  1269. ;oci8.old_oci_close_semantics = Off7 Y- K! T2 }" }+ V. F& B: s/ W
  1270. 6 T' B- ?  W- f+ z1 j& z
  1271. [PostgreSQL]$ u2 Q1 [  U( [3 ~6 {4 H% D  H8 x
  1272. ; Allow or prevent persistent links.
    1 R+ q; o& S+ x/ A+ m  J- b7 A9 L0 |
  1273. ; http://php.net/pgsql.allow-persistent. g. C& O! Y' z- v% N
  1274. pgsql.allow_persistent = On3 h' s: @3 q9 K/ L, X" \" _- c3 x

  1275. # s; Y, A0 V/ |$ j' l( K2 L% q: e7 A
  1276. ; Detect broken persistent links always with pg_pconnect().6 E- U7 A, @9 n$ S$ ]& M
  1277. ; Auto reset feature requires a little overheads.4 V: g- l9 @$ B9 f
  1278. ; http://php.net/pgsql.auto-reset-persistent( N' }: y0 [4 C- L
  1279. pgsql.auto_reset_persistent = Off
    , D2 C% ~3 p. @. A) ^8 u' q
  1280. - K" O. b5 o2 S8 c; `( \
  1281. ; Maximum number of persistent links.  -1 means no limit.
    2 Y; Y1 F9 l( p' Z
  1282. ; http://php.net/pgsql.max-persistent( |5 b" a, w  j& n
  1283. pgsql.max_persistent = -1  e0 G, Q8 x( g  o( l+ p/ Z% W
  1284. ' _: @  b; Z8 }) z
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.4 X3 O9 g; e- x) g3 ?$ b
  1286. ; http://php.net/pgsql.max-links9 J% g# d3 L5 U
  1287. pgsql.max_links = -1
    : Y5 s2 t3 x* d: `4 z
  1288. 8 ]7 v7 a# n+ j7 T8 J3 |
  1289. ; Ignore PostgreSQL backends Notice message or not.; F  c8 ]2 _( K6 H3 r3 c
  1290. ; Notice message logging require a little overheads.
    3 ~; U% n! C& p  q" `2 F
  1291. ; http://php.net/pgsql.ignore-notice( `0 n8 ~, L' u" Z( o  S. g' d' o- f* S
  1292. pgsql.ignore_notice = 02 D9 r( \# W. X9 I) ?
  1293. # V& e1 s" g1 J* C
  1294. ; Log PostgreSQL backends Notice message or not./ O2 N( T. [& O5 o( e/ K8 f/ X
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    4 n3 H" n0 E" C0 e% P1 }! P4 u# K
  1296. ; http://php.net/pgsql.log-notice$ m% O& d, C- v3 T- L; y4 m0 Z* D
  1297. pgsql.log_notice = 0. b3 W: H+ [* u( }  P& M

  1298. * ^' s$ G3 Y6 W& @% H, @
  1299. [bcmath]( H( I6 ~; F+ X( i# k
  1300. ; Number of decimal digits for all bcmath functions.% V. L( W& i- x& A( c9 F* _
  1301. ; http://php.net/bcmath.scale
    ' b0 L4 ?9 r6 d4 |' W( N0 Z
  1302. bcmath.scale = 0
      B  ]/ g! w+ ?& O

  1303. % X9 w5 \  r, S, e  F. O# r( F
  1304. [browscap]- [8 Z2 g+ n3 i, T" O: a
  1305. ; http://php.net/browscap1 X# N0 d9 m0 @9 M* ~) @
  1306. ;browscap = extra/browscap.ini9 W$ j8 C7 o; G+ ]4 {0 d
  1307. 6 I8 w# u: P, o: D% B4 w7 x
  1308. [Session]
    # |. X$ V( e  j  C, ^
  1309. ; Handler used to store/retrieve data.
    ) w& e4 A2 C3 E
  1310. ; http://php.net/session.save-handler& P* Y/ z6 w9 u0 y) [; u) w7 _8 M3 [
  1311. session.save_handler = files9 R$ W. A3 j" _9 X/ ]9 o" f# G

  1312. . z* ]3 _. q& r$ n: e* Z
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    5 k+ v) A6 n" U& D2 h
  1314. ; where data files are stored. Note: Windows users have to change this0 e' c8 ~2 c3 _. m6 C
  1315. ; variable in order to use PHP's session functions.. X3 {% ]" S- q8 E
  1316. ;9 Z9 D# Z( I6 \7 a6 S
  1317. ; The path can be defined as:
    & B% y4 R: v9 ]+ A& D  e
  1318. ;
    ; @! r; @+ Z4 P& E
  1319. ;     session.save_path = "N;/path"9 I  l/ l: y9 `) H
  1320. ;0 C/ H) U  ^# @! X; w+ M" j
  1321. ; where N is an integer.  Instead of storing all the session files in3 \- B  S7 L2 e$ k2 S
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    6 O. ~7 k! _5 s& t
  1323. ; store the session data in those directories.  This is useful if2 x3 p% G# O; D% {
  1324. ; your OS has problems with many files in one directory, and is4 s! }( g9 s: J- r$ v
  1325. ; a more efficient layout for servers that handle many sessions.
    7 ]1 i* f( _' a2 r6 H8 e8 E/ s
  1326. ;
    0 U# D, h& E& A# x; {
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    / l# P0 z2 g2 J$ I6 e
  1328. ;         You can use the script in the ext/session dir for that purpose.; V0 A1 @; k9 F% Z. A& V
  1329. ; NOTE 2: See the section on garbage collection below if you choose to; x  I5 T# P4 A& G+ N) j
  1330. ;         use subdirectories for session storage
    8 e+ \3 \' o" B3 v5 {( g: S/ q# e
  1331. ;/ c: f. j* a/ k* I: E) n
  1332. ; The file storage module creates files using mode 600 by default.
    4 S  X$ C' O  z  Z
  1333. ; You can change that by using
    ( `, C* g- k6 E+ r) r) u, Y
  1334. ;1 f& n5 ]2 I1 c5 J: G
  1335. ;     session.save_path = "N;MODE;/path"
    2 |% Y' o, J8 z, d' t
  1336. ;
    2 F( ?! H( ?; q1 s. C
  1337. ; where MODE is the octal representation of the mode. Note that this; J" Z  f2 j) n0 g+ q3 H" h
  1338. ; does not overwrite the process's umask.# {) P* }5 Y5 @: @0 J
  1339. ; http://php.net/session.save-path3 w1 P# h0 A& r- k: d- ^2 H( X
  1340. ;session.save_path = "/tmp"
    3 X  a! N5 a% C6 X: q
  1341.   G0 U5 j* A8 W# H
  1342. ; Whether to use strict session mode.
    ) W6 y! G0 a2 r% _3 Z" N( B" `
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate9 ?* ]4 q+ ~1 ]
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    : \- A/ a( X# d. p1 ^
  1345. ; applications from session fixation via session adoption vulnerability. It is
      i  k8 h2 p" k; I
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    2 i  g5 o6 H% H7 k. I) d8 j8 t
  1347. ; https://wiki.php.net/rfc/strict_sessions
    " x8 \1 `$ @2 S4 ~% N9 W# ~5 S
  1348. session.use_strict_mode = 0/ L7 q0 i7 o6 k9 O

  1349.   l0 t$ n7 G8 Q% v( V3 q% a
  1350. ; Whether to use cookies.! O1 ~" ?6 c% Q4 p6 E
  1351. ; http://php.net/session.use-cookies5 N" o+ P  @. Y5 o
  1352. session.use_cookies = 1: K5 d: @( \7 n

  1353. , l3 a! g4 H! @" U+ U
  1354. ; http://php.net/session.cookie-secure
    + ]9 X3 Y& l. I+ g) u
  1355. ;session.cookie_secure =
    * ~: y6 g! ~* Z! ~2 ?" P5 H

  1356. " U9 v0 v7 @" i
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    & K, k& M4 Z/ ^3 z4 Q+ e
  1358. ; the session id. We encourage this operation as it's very helpful in combating5 x) c/ s$ T1 E6 J$ f( }4 E+ s
  1359. ; session hijacking when not specifying and managing your own session id. It is) Z$ c0 w6 h2 v& v1 K
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    - w/ K3 ~/ Z# y+ G6 T3 J
  1361. ; http://php.net/session.use-only-cookies* z' P  D5 \) |* P
  1362. session.use_only_cookies = 1( f7 C) n  b& J: x7 N0 x, ~

  1363. # M* [6 W; P  T
  1364. ; Name of the session (used as cookie name).1 K5 O" t# U" m4 I4 M
  1365. ; http://php.net/session.name
    8 m" a7 M+ C, {
  1366. session.name = PHPSESSID9 g! U: _- C5 ^) O" \0 E
  1367. ( E# U* y* O# x: a
  1368. ; Initialize session on request startup.8 l) G: w) p8 M
  1369. ; http://php.net/session.auto-start
    ; ?: \5 k8 A  W! H- b# e
  1370. session.auto_start = 00 }# Y$ Z" P1 H9 p+ z, L
  1371. ) q4 y$ U4 y6 F# x5 y5 P  ~
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.5 U6 t- r" H/ X
  1373. ; http://php.net/session.cookie-lifetime
    , [0 j2 i9 L' S4 l2 I
  1374. session.cookie_lifetime = 0
    # _0 p# F* J2 w+ Q
  1375. 9 Q" C/ Z9 V0 ^" L. @
  1376. ; The path for which the cookie is valid.
    $ X' W, P8 p4 C: t
  1377. ; http://php.net/session.cookie-path) z8 E) K' \( a; J- a% L+ `
  1378. session.cookie_path = /
    " f+ s/ G- g% ?/ x4 I7 c$ K' I

  1379. 7 d+ l( Z6 _7 w' `' M
  1380. ; The domain for which the cookie is valid.
    7 I, |" m- m0 u! o) b# _
  1381. ; http://php.net/session.cookie-domain
    % m0 P; p- U! K$ ^
  1382. session.cookie_domain =
    * |/ V- z& Y6 `' @

  1383. 0 B; f, I/ I% {4 E7 i) t3 B, @
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.% o5 T  s' a$ r% [8 v" U8 K5 t
  1385. ; http://php.net/session.cookie-httponly
    . @7 Y# S2 g  Q8 U
  1386. session.cookie_httponly =
    , R$ Q5 }' d5 ~

  1387. ; p. q9 Y, ^# [/ o- Y5 i6 {
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    - t- t& J: m4 J) I3 b% w5 `
  1389. ; http://php.net/session.serialize-handler6 f  X7 V' d2 g7 K6 G6 _3 Y: O
  1390. session.serialize_handler = php* {4 B3 `# N$ T) d( L2 n6 N
  1391. * G* N( G' B9 X1 Y: P2 M
  1392. ; Defines the probability that the 'garbage collection' process is started
    . ^! F. j$ S' k$ O+ j% K/ z( {
  1393. ; on every session initialization. The probability is calculated by using/ d& O4 v$ I4 `2 v. O
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator% e% I& z9 I# F+ N
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1# }2 H$ W+ x- f1 ~+ L4 l
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance! ^) y6 Q- K* ^: G( V9 j
  1397. ; the gc will run on any give request.
    9 s3 V1 V! k' |3 O' j
  1398. ; Default Value: 1
    7 G6 z9 o  q# y. D$ G6 l% N  u: r
  1399. ; Development Value: 1! [( E* O% I8 C! b" Q) C
  1400. ; Production Value: 15 v. m3 b% x- `5 [+ b
  1401. ; http://php.net/session.gc-probability
    8 O1 u' h) Z  `0 u
  1402. session.gc_probability = 1
    & q; T4 U$ _% J. h
  1403. 5 F& R5 n7 {" [6 c" k7 J
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    . F8 o6 k/ u1 c0 V% |- q& ?
  1405. ; session initialization. The probability is calculated by using the following equation:/ y' D2 Z8 \6 X( _8 a- [( H
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    9 _) I% U- Z8 g' D$ I
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; [2 K( W5 V8 _9 g* b# x
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 b8 h: r6 e# P
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you& Q3 N6 o4 K4 Z) b
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,+ V! w9 S& a. l/ d, a: Q# r
  1411. ; this is a more efficient approach.: ?6 Q9 {! S8 a" ~& {
  1412. ; Default Value: 100
    5 s( Q4 ^1 u1 o4 K* ~" ]' z
  1413. ; Development Value: 1000
    ( D% H1 p; O) S0 m$ a
  1414. ; Production Value: 1000
    + Z& u; Q6 @$ d, x( P2 N6 q; ~
  1415. ; http://php.net/session.gc-divisor
    9 ?7 A# N9 e4 X
  1416. session.gc_divisor = 1000
    ( @# C) @3 Y. m& E3 k% S9 m" g+ [

  1417. ; B  V2 n. M4 ~0 ^7 K
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    0 o7 d% [  e( a1 r- |
  1419. ; cleaned up by the garbage collection process.* d. z. ?3 w6 w  M+ Z" L
  1420. ; http://php.net/session.gc-maxlifetime
    % j+ i' E  z4 q  Y( K! F7 L
  1421. session.gc_maxlifetime = 1440
    , }2 @$ C) o# K1 l
  1422. 0 }+ o" Y( I( D( m! U
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    , T) S1 T% {8 S3 N1 _3 E1 s
  1424. ;       (see session.save_path above), then garbage collection does *not*/ d% k. O* U" U
  1425. ;       happen automatically.  You will need to do your own garbage
    9 t$ ^1 ~* h9 F; M6 s3 \
  1426. ;       collection through a shell script, cron entry, or some other method.0 |4 u* v4 W; J* `' o9 J, L
  1427. ;       For example, the following script would is the equivalent of
    ( l& d( J# n2 ~9 B$ Q$ d2 _* l
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
      _5 S8 J  n2 d. u( l  u% _
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm# s- q. P0 y- v" I, m

  1430. 7 W: E# X) I& r
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.( y4 E: O, }0 L2 j/ W, i1 q
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    : ?; A* I$ R, M
  1433. ; considered as valid.
    7 A& S  v' M) I  Q( S
  1434. ; http://php.net/session.referer-check- ~0 O" m- y( \6 Y
  1435. session.referer_check =
    + H: W% J* F  J/ X1 \8 o

  1436. $ w$ ^3 N8 T7 d
  1437. ; How many bytes to read from the file.! K/ Y1 B$ T! j) V- t' _
  1438. ; http://php.net/session.entropy-length
      |7 m, I" M0 m1 B
  1439. ;session.entropy_length = 322 _; d' Q8 j  n1 d: y

  1440. - N* I8 ~  E1 [' {2 \8 H
  1441. ; Specified here to create the session id.
    : e" b9 J. O4 S: |$ ?5 h
  1442. ; http://php.net/session.entropy-file
    6 \: g6 X" {5 t1 Q# Z3 v0 |
  1443. ; Defaults to /dev/urandom
    . R. k9 V9 i1 t
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom4 l* b$ A: g4 n7 o% U! o
  1445. ; If neither are found at compile time, the default is no entropy file.
    / I/ E( n- s6 p$ n  ~
  1446. ; On windows, setting the entropy_length setting will activate the
    - N# m  O- P  G: r" K! f  ]
  1447. ; Windows random source (using the CryptoAPI)
    4 x. v) O5 A, i# @7 D: S0 C7 O
  1448. ;session.entropy_file = /dev/urandom
    + H9 `; I  i* y9 t2 Y- V; w

  1449.   j+ e1 {; o. x) E7 L' [% T
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects& O( y1 M% P7 r. h' J3 T
  1451. ; or leave this empty to avoid sending anti-caching headers.
    $ J) w" v( \: h' y" a
  1452. ; http://php.net/session.cache-limiter
    8 i4 ?# U. @4 F3 Y1 L: l! N
  1453. session.cache_limiter = nocache/ w4 a6 c8 |6 x5 h

  1454. , f* ^: r: K7 r5 u
  1455. ; Document expires after n minutes.7 M4 `/ w& @2 `2 m$ o' j
  1456. ; http://php.net/session.cache-expire4 ?9 {; K4 Q) `) L4 G0 s& [
  1457. session.cache_expire = 1801 O9 ?1 a( Z- A( K
  1458. : @6 }8 H, s2 @7 X  H/ D) [" R
  1459. ; trans sid support is disabled by default.- ^+ X2 S# i( E3 ^7 T7 r1 H
  1460. ; Use of trans sid may risk your users' security.
    + K2 L: D# `/ ~( s1 [" c
  1461. ; Use this option with caution.5 B, N. t7 m, I- ^; S
  1462. ; - User may send URL contains active session ID
    " y3 }% _4 n+ ?  {0 ^) j0 U
  1463. ;   to other person via. email/irc/etc.
    + f' o/ p( A) ^8 g4 Q! h
  1464. ; - URL that contains active session ID may be stored
    " v9 c8 _+ ?( g$ B: G' u; D' y" N
  1465. ;   in publicly accessible computer./ Z; N3 Z. u3 N$ x) p& G
  1466. ; - User may access your site with the same session ID
    + ~. ~. p1 U; S2 v0 A
  1467. ;   always using URL stored in browser's history or bookmarks., V5 z" N" f9 [$ C* _2 D
  1468. ; http://php.net/session.use-trans-sid
    : ~4 E  U) P3 g! ~5 `
  1469. session.use_trans_sid = 0& m- {: m1 J4 U9 G  V2 h

  1470. # w' q. F* t: Z+ n* A
  1471. ; Select a hash function for use in generating session ids.& E5 ^/ I5 x2 L9 Q
  1472. ; Possible Values
    & ?% R' P0 ]) ~& M; q" ^$ T9 N
  1473. ;   0  (MD5 128 bits)
    ) W8 s. R9 A4 w7 X& E; w
  1474. ;   1  (SHA-1 160 bits)
    7 M& Y  r8 G4 m1 [. M
  1475. ; This option may also be set to the name of any hash function supported by
    8 G  \; ^& J% c; E0 s9 L; V
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()+ c1 ]2 L0 [5 ?
  1477. ; function.
    ) |0 g1 L8 E# \
  1478. ; http://php.net/session.hash-function
    ' R' f/ o! G/ a8 B9 H4 X. H
  1479. session.hash_function = 0
    * h% z6 v; J2 `$ k
  1480. + K/ A5 U, e8 ]. A
  1481. ; Define how many bits are stored in each character when converting+ u* Q0 Y8 ]% L; @
  1482. ; the binary hash data to something readable.
    ! D& U; f& C( m0 U6 R, }  F
  1483. ; Possible values:
    5 t* z# x7 V) a6 d# x6 m
  1484. ;   4  (4 bits: 0-9, a-f)
    ; I3 Y1 P  f4 K# N# D' d
  1485. ;   5  (5 bits: 0-9, a-v): g0 S* T1 _6 h) ~
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","): a; U3 F# k/ h4 r4 W& [
  1487. ; Default Value: 4  o" m, [2 {# l* y
  1488. ; Development Value: 5
    $ ~6 I, c. r1 x% M! R9 O
  1489. ; Production Value: 5
    9 b/ v; e) f# n2 Q2 L
  1490. ; http://php.net/session.hash-bits-per-character
    / f) H& _0 e, v/ r) C/ N
  1491. session.hash_bits_per_character = 5  o$ A1 n! s: k
  1492. 5 `$ T0 R2 Z! I1 b: |
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.2 H0 E% |- C6 Z
  1494. ; form/fieldset are special; if you include them here, the rewriter will4 k8 k0 O$ v' c! W. r( b
  1495. ; add a hidden <input> field with the info which is otherwise appended
    , ]( W( s" ]9 w. o5 e& E5 I) }' N
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.# i9 k; n' Q0 b  V8 i
  1497. ; Note that all valid entries require a "=", even if no value follows.% ^! Y" a+ \4 `+ c, ~( ~& l) T/ a
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="( Y8 j9 w5 T2 P+ y
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      y! P1 o) j: Z- K3 ^  M8 o+ v
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 U/ ~& Y' M5 A0 A4 m& i$ G, D: S
  1501. ; http://php.net/url-rewriter.tags, t4 d' c* g6 d% |; X0 C5 D
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"1 z; o& u* ]$ E9 g! z* y, e
  1503. * T; w" b" c+ O
  1504. ; Enable upload progress tracking in $_SESSION* H9 J3 I9 b6 b! O& Z0 L
  1505. ; Default Value: On. W, m& I: g) B& Y  t( z* L
  1506. ; Development Value: On
      M" P* z  J' u
  1507. ; Production Value: On8 f: g, g+ m4 t* o& Z, K# o* f
  1508. ; http://php.net/session.upload-progress.enabled% _) E8 t+ \" o+ P# b5 X
  1509. ;session.upload_progress.enabled = On" @' c4 v8 p* e+ B8 L( m7 Y
  1510. : J3 R" w  [4 u. {% D5 D
  1511. ; Cleanup the progress information as soon as all POST data has been read6 o9 a7 S. z1 \5 x$ ?+ s& Q2 E
  1512. ; (i.e. upload completed).( i+ S( m; Q) _* `! d7 O1 H4 Z
  1513. ; Default Value: On/ l6 H. w5 b" X
  1514. ; Development Value: On
    ) |6 @$ S8 b8 O2 d2 s/ c
  1515. ; Production Value: On
    & @0 N' ]$ s/ b8 v0 ~5 {
  1516. ; http://php.net/session.upload-progress.cleanup
    6 s+ m/ P1 i0 M+ z
  1517. ;session.upload_progress.cleanup = On
    ! `# C; b, [1 E' f% A2 h
  1518. . ?4 D0 a2 Z) f# S* q, M; v5 U( G
  1519. ; A prefix used for the upload progress key in $_SESSION
    : g8 b/ r7 J/ }1 K9 S$ g' i
  1520. ; Default Value: "upload_progress_"
    4 ^6 }! }" b% y% }
  1521. ; Development Value: "upload_progress_"
    1 [( x; i: T& _% Q1 d. Q9 m
  1522. ; Production Value: "upload_progress_"
    " z) i* i, H# Q
  1523. ; http://php.net/session.upload-progress.prefix
    7 @4 c: f* v7 n; O
  1524. ;session.upload_progress.prefix = "upload_progress_"
    4 b) r! b( g1 N' q/ L
  1525. ; F4 y) Q1 v. h* V" i
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    + H6 h  i& {8 u; k$ C
  1527. ; containing the upload progress information; X# O6 B2 i1 n# u3 r. Y8 m
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS") ]2 F" D; i, z+ C$ E  T# Z
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 b( i9 v- c0 ~' f# K
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ C/ c- }& Y& C* a9 ]
  1531. ; http://php.net/session.upload-progress.name
    2 D5 u! ?4 x# s  u* I5 F
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"% f) `. l% W8 e: D1 W
  1533. ( h8 P6 y- f- `& ~3 V3 y
  1534. ; How frequently the upload progress should be updated.+ y. `# f; l. j- U! `
  1535. ; Given either in percentages (per-file), or in bytes
    . Y) S) z* O1 r" e3 z5 f7 {
  1536. ; Default Value: "1%"$ d6 b& n/ l; M/ U
  1537. ; Development Value: "1%"9 |3 F0 r1 Q- i+ d/ C7 B/ n1 S, e
  1538. ; Production Value: "1%"( m/ ^( t" F% g6 D3 n: U2 h! x
  1539. ; http://php.net/session.upload-progress.freq
    * y4 U" o. J1 ^# o# k2 C
  1540. ;session.upload_progress.freq =  "1%"; c1 Y0 V- V3 g% _+ w' \
  1541. ( H7 N, e6 V( n6 a  q+ _. s$ r
  1542. ; The minimum delay between updates, in seconds
    , u+ v4 ?( b& ?1 I; i( l, ]
  1543. ; Default Value: 1- X; p: U- i1 Q
  1544. ; Development Value: 1
    , G8 v/ s& Y6 `8 e" ^; O- f% N: q
  1545. ; Production Value: 1( c9 H9 e" m& A
  1546. ; http://php.net/session.upload-progress.min-freq
    9 r0 P. ^1 Z9 b, e  J
  1547. ;session.upload_progress.min_freq = "1"
    1 ]) v$ N% i3 \! q5 @' e- ]- Z
  1548. ' b9 V! p  N8 a
  1549. ; Only write session data when session data is changed. Enabled by default.: C. y( i: {8 [$ w6 U8 h5 L( e
  1550. ; http://php.net/session.lazy-write5 [' @8 s7 L) @
  1551. ;session.lazy_write = On
    ' D. O/ L+ o2 E8 M' a* W9 [
  1552. 5 R( y4 o; @. K2 n1 z' X
  1553. [Assertion]
    # T) n$ z9 ^0 _% `
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)  u; e0 L$ i& N/ x" k
  1555. ; -1: Do not compile at all
    % k1 k; O5 u) @. b: b2 V8 \
  1556. ;  0: Jump over assertion at run-time
    + ?, E0 Y) V! U; w! ?# ^: p
  1557. ;  1: Execute assertions
    . ?2 \+ p; h) n- ?2 b$ j
  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)% I- k$ c4 W& H2 v- @9 y
  1559. ; Default Value: 1
    6 e) U3 f/ J, p4 O: W
  1560. ; Development Value: 1, q. {( h$ k, f) B3 n- r) o' V
  1561. ; Production Value: -1. x5 F. [; ?, D0 J' E5 Q
  1562. ; http://php.net/zend.assertions& m8 }9 J( P. ]0 @, U
  1563. zend.assertions = -1
    ; M$ g) A8 {" X: B' C# }5 A, Q' V

  1564. : n! X" \1 C" b, A0 Y
  1565. ; Assert(expr); active by default." Z. |6 Y% k/ B% y, P
  1566. ; http://php.net/assert.active4 W! Y* K3 m/ |1 ^& Q! K
  1567. ;assert.active = On
    ' g9 c8 _7 ]8 o+ E: r
  1568. 1 g. `0 p( ^9 {* Z$ ]4 ^
  1569. ; Throw an AssertationException on failed assertions. R% @$ O0 ]7 e% S5 N, z" V" l
  1570. ; http://php.net/assert.exception
    ' Q+ o/ s1 F3 P5 N" `
  1571. ;assert.exception = On! U5 P/ {2 G" i9 t% E9 i
  1572. 8 N! B* W" K! D5 E
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)2 N4 T) d" c& ^  e
  1574. ; http://php.net/assert.warning
    5 F0 W, G0 [  C& F: J- ?
  1575. ;assert.warning = On
    ( M( G3 H" s6 J

  1576. - v$ e8 C+ R' U1 b6 A
  1577. ; Don't bail out by default.
    - ~$ @. f7 k: q' f" v; \
  1578. ; http://php.net/assert.bail7 F' _2 `& P  c; J" U
  1579. ;assert.bail = Off
    1 Z8 ?* o9 |- v1 m

  1580. . R  G# i. Y1 x- o
  1581. ; User-function to be called if an assertion fails.
    * \6 m9 A' s: N$ {5 a8 Z
  1582. ; http://php.net/assert.callback
      j* J1 c. Q$ c  ], F" y, Z' n
  1583. ;assert.callback = 0
    # w* r. ~' X* Y/ R& u2 U1 ^

  1584. 6 R5 I2 E1 D; M  m4 O
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    & B" ?' l) {1 D1 i: B. E! _1 W
  1586. ; error_reporting(0) around the eval().# ?/ o0 n: m) a
  1587. ; http://php.net/assert.quiet-eval
    ; v$ t7 a% P# l5 g, e- b/ H4 G; V
  1588. ;assert.quiet_eval = 0/ L: i/ o' I8 T$ X

  1589. 5 r: @* L% V. `( Y  n
  1590. [COM]
    / z% ~- w/ \6 p: J. {
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs2 D2 T4 U% ~% Z) `* S* n
  1592. ; http://php.net/com.typelib-file8 z0 A* u4 `* T: L" u. ]% ?6 l" ~
  1593. ;com.typelib_file =
    * I; V2 i, _* D7 y/ n
  1594. " q0 Q" b* U0 E$ l- _
  1595. ; allow Distributed-COM calls
    ! R4 y0 A; Z" N/ ^* h
  1596. ; http://php.net/com.allow-dcom
    6 k$ h5 y: n6 U6 ^! Q! ?, F  F6 w
  1597. ;com.allow_dcom = true
    $ @' U, a( K5 `, q4 V. O9 h2 r2 S

  1598. $ G5 c: W! t3 g, t( j& }  `& l  S
  1599. ; autoregister constants of a components typlib on com_load()& Z6 ]  ?5 ]* O+ i9 c
  1600. ; http://php.net/com.autoregister-typelib
    ' \8 n: O- A+ E& j9 y8 L
  1601. ;com.autoregister_typelib = true3 s% C! |' Y2 E) C
  1602. . w$ h8 ~1 c% V" `
  1603. ; register constants casesensitive5 A: ]8 w* h0 @5 m4 N
  1604. ; http://php.net/com.autoregister-casesensitive. o+ M: z9 g" E  u0 K  i
  1605. ;com.autoregister_casesensitive = false
    6 Y6 L2 ]0 S: i1 U# I# @( J" l
  1606. 3 q) T9 L2 b+ Y) F
  1607. ; show warnings on duplicate constant registrations- v: M0 x6 c. V! e! C; c$ B
  1608. ; http://php.net/com.autoregister-verbose
    / I. h9 w; g+ g! W
  1609. ;com.autoregister_verbose = true
    % O. E! F  q7 x2 |; D
  1610. & E* |/ C: Y9 a4 K1 d7 A
  1611. ; The default character set code-page to use when passing strings to and from COM objects." d! Q6 C" L# @6 o# R# m: H; |3 b
  1612. ; Default: system ANSI code page
    ) I. S1 L/ Z" }3 D
  1613. ;com.code_page=4 x% ~. Z* F. [4 P4 c

  1614. 3 w: j% `) F9 h, l  F
  1615. [mbstring]( D# Q- ^' }# m7 d' t5 z8 g( b
  1616. ; language for internal character representation.
    3 c* `. T/ P: D6 S6 f
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    0 l/ S5 Q# S/ ?8 p" s7 g5 Q
  1618. ; http://php.net/mbstring.language
    6 L* X( z2 M! p, S6 M; H5 p
  1619. ;mbstring.language = Japanese5 K; {% f% m: Z% r

  1620. 3 t' A5 g% G8 o. `0 Y
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.. K& `; \/ k: }( r$ `: b
  1622. ; internal/script encoding.
    + r, `: E% A, p. |6 F2 \" T
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    - D- l2 P, a4 q9 H* \  V
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 Q/ E+ O3 d- {8 h2 Y: W3 [$ ~
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding; R3 G8 O# [7 _' t* P2 _
  1626. ;mbstring.internal_encoding =
    - h' ^4 x; ?% ^1 g
  1627. # y1 K5 u5 g, s9 Z
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    & W' }# J: V% j* F( y
  1629. ; http input encoding.* _0 I; @4 w# K& p" ^; b  W, f: Q
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.  Y: q1 n) A, D3 V  k0 p9 i
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    - r- C/ m- t0 g  z3 H
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    - h* r9 j+ e3 a. ~5 H$ ?/ w+ w
  1633. ; http://php.net/mbstring.http-input2 b7 M0 R+ P( v2 M
  1634. ;mbstring.http_input =9 D: Y3 w/ v* D8 i
  1635. % Z9 U: C3 H/ l
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    + [* V3 ^, l. l% `1 O( D0 j
  1637. ; http output encoding.
    3 o9 p' q; e/ F, d5 I  ]  N" }
  1638. ; mb_output_handler must be registered as output buffer to function.
    3 c6 g! h. u4 Q( q# v
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.; ~1 x+ h/ |3 _0 U2 [
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    6 @6 ?# F) I) x' E
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ) t  s' q7 V$ Y( t( y* a
  1642. ; otherwise output encoding conversion cannot be performed.1 O" Y5 ?! ]  f1 h3 I: O. N
  1643. ; http://php.net/mbstring.http-output
    3 z# ?$ h5 T9 j
  1644. ;mbstring.http_output =
    ( u9 d5 ^, c* @2 i- ~% f" K! r: g0 h

  1645. 0 {8 L" ^3 `4 P' D
  1646. ; enable automatic encoding translation according to
    3 T9 m  q8 Q8 ]1 Q  D
  1647. ; mbstring.internal_encoding setting. Input chars are
    4 y( w6 Z- J" D
  1648. ; converted to internal encoding by setting this to On.. I# P4 ~+ V. j) j0 N: b# z- Q! D
  1649. ; Note: Do _not_ use automatic encoding translation for- {! X' B9 D; C; Q; K4 c1 @
  1650. ;       portable libs/applications./ t: P' _8 L( `# B
  1651. ; http://php.net/mbstring.encoding-translation( N0 u2 q" R& G( V/ N
  1652. ;mbstring.encoding_translation = Off
    % h4 ]( `2 G7 ?$ \

  1653. ( i$ ^  P9 V) C
  1654. ; automatic encoding detection order.% P5 i! k3 S2 ~# B1 z! a9 e. V7 Z
  1655. ; "auto" detect order is changed according to mbstring.language
    ' n3 o; p; ~" J* X8 R) X6 O
  1656. ; http://php.net/mbstring.detect-order
    . u& v" n8 |& l. D# y
  1657. ;mbstring.detect_order = auto
    1 l" a$ A% @6 i
  1658. % w1 J) k/ }8 p# Q" n. C
  1659. ; substitute_character used when character cannot be converted
    5 G- D- L' K4 ^  ]0 w: Q0 a
  1660. ; one from another
    $ q. e; w. p/ n6 r7 f8 k5 L& j( E
  1661. ; http://php.net/mbstring.substitute-character
    $ z! U  z* T, d" o& c2 A
  1662. ;mbstring.substitute_character = none1 J( V( b& I7 c3 c

  1663. 6 v# T0 L3 M2 X. d) d, v! r
  1664. ; overload(replace) single byte functions by mbstring functions.
    0 F3 d" p9 v- @/ g  l
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),) r6 z" h1 J: s) A3 t& D
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.5 R- H; t) {( P& t# Q7 C" m. B, {9 ^" \
  1667. ; For example, 7 for overload everything.3 S. n1 h, E% D* ]& j8 Z+ O
  1668. ; 0: No overload5 Z* h- |2 L9 V9 B) x* _( P" S
  1669. ; 1: Overload mail() function, ?: N6 m8 D% U, g  X" C# w) n
  1670. ; 2: Overload str*() functions
    ) F; L! h6 Q. K# z! E* ^
  1671. ; 4: Overload ereg*() functions
    6 \0 }. Y7 c; w0 Z$ a
  1672. ; http://php.net/mbstring.func-overload. {6 w* \# L6 Q* K
  1673. ;mbstring.func_overload = 0
    + }0 \' E2 ]6 T$ B' ?

  1674. - s  X" J! O0 I3 @2 J  k" g7 a
  1675. ; enable strict encoding detection.2 g% D; X: N1 v2 Q1 L. a
  1676. ; Default: Off; h! ]' @% Z4 i3 v
  1677. ;mbstring.strict_detection = On& ^( f- x$ b- ]1 c' w

  1678. 4 y; y) M4 @1 @; k8 Y0 ?
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    / _8 }, i6 L( d0 N. t
  1680. ; is activated.. _% C7 j1 K, v5 W# c) A! B
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)( [& _  `0 Y' a. G# X& J/ L9 p0 ?
  1682. ;mbstring.http_output_conv_mimetype=0 h1 ~0 U# E1 w* O' k

  1683.   T: R/ _' n% Y/ @' U
  1684. [gd]
    - f  L& Z+ _! G- U; N  H
  1685. ; Tell the jpeg decode to ignore warnings and try to create
      G/ \6 U$ }9 s1 r
  1686. ; a gd image. The warning will then be displayed as notices
    ; b1 m; j/ d. o. n3 V) B* W' ~
  1687. ; disabled by default
      n# c3 ~2 \  ]2 ~' F
  1688. ; http://php.net/gd.jpeg-ignore-warning
    % U. G9 t# m) l
  1689. ;gd.jpeg_ignore_warning = 0  l: B# [: D2 F4 a/ q
  1690. " s: T: ?! b# @
  1691. [exif]6 v3 A% x# e: ^& T& j7 m) R
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.( X" J* d& {' f
  1693. ; With mbstring support this will automatically be converted into the encoding9 E8 H5 N) W3 K1 E) R
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ; ^* N2 }  c! s5 U4 L+ U
  1695. ; is used. For the decode settings you can distinguish between motorola and
    + U8 r. M; P  Y( Q
  1696. ; intel byte order. A decode setting cannot be empty.. |# G9 L0 B3 n) |
  1697. ; http://php.net/exif.encode-unicode
    3 a4 B# `; e, B
  1698. ;exif.encode_unicode = ISO-8859-15! o! s1 f# ~+ L3 {) M, x1 C4 @& p2 v$ Y

  1699. 3 P7 T7 P4 N& H5 K9 c
  1700. ; http://php.net/exif.decode-unicode-motorola
    " [7 H2 }' j. k2 |& k6 `5 p3 L
  1701. ;exif.decode_unicode_motorola = UCS-2BE" E6 {4 M  u9 [7 I0 K% X/ f- m
  1702. - [! ?# x2 h( ^, i* D. T( K( q& N
  1703. ; http://php.net/exif.decode-unicode-intel
    ; o9 Z  U( O# [
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    / s: l" K3 I! ?: m" t
  1705. * f1 H5 B' [% A6 Y0 h
  1706. ; http://php.net/exif.encode-jis
    ' }4 T, ?, {: x# N
  1707. ;exif.encode_jis =
    ) `. ~) f% m. E5 C& R! A7 m

  1708. ' x( ^9 o  A, Q5 s
  1709. ; http://php.net/exif.decode-jis-motorola
    . _" \! d3 m# N! f
  1710. ;exif.decode_jis_motorola = JIS
      u, C8 C% \* n7 a
  1711. ! L* V/ B+ X8 n( a1 {$ @- z
  1712. ; http://php.net/exif.decode-jis-intel5 M" @, b9 h  j' e( G$ u9 K
  1713. ;exif.decode_jis_intel    = JIS3 B: {& z# A- m6 [( o9 v

  1714.   p5 X- u1 c' K( ]* S
  1715. [Tidy]9 q- y$ f, d6 P
  1716. ; The path to a default tidy configuration file to use when using tidy' S9 r  M0 D4 e  N! c& t+ F
  1717. ; http://php.net/tidy.default-config
    + R  j5 i0 J4 {4 Q8 U4 x( R
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    9 X' e/ F; i/ Z; Q2 `

  1719. 8 d* @6 E6 X. n  T, T- P
  1720. ; Should tidy clean and repair output automatically?, ^( _0 n7 M5 [- @
  1721. ; WARNING: Do not use this option if you are generating non-html content# Y& c$ ]3 q  c  D2 }9 [
  1722. ; such as dynamic images0 B" Z  Q8 ~4 c" n" S
  1723. ; http://php.net/tidy.clean-output
    2 E7 a  y( e1 R$ a9 D! \
  1724. tidy.clean_output = Off# s9 ]; H" T7 D' r* ]0 L8 }

  1725. 0 r. d* X5 N6 @
  1726. [soap]
    0 G! x3 L, T! K
  1727. ; Enables or disables WSDL caching feature.
    % L0 \  t7 \/ z' @, l, N
  1728. ; http://php.net/soap.wsdl-cache-enabled) @. w. S) u8 l+ t! c# u( ?+ C
  1729. soap.wsdl_cache_enabled=1
    0 U$ Y, u* {7 W9 U; H  z
  1730. & V% J. V4 s/ j, g' Z
  1731. ; Sets the directory name where SOAP extension will put cache files.0 h% F+ u$ Z; C2 Z/ I  G
  1732. ; http://php.net/soap.wsdl-cache-dir% [( e9 h7 o) A- Z& \( |/ g8 N
  1733. soap.wsdl_cache_dir="/tmp"
    1 r) m* c1 a0 _. L
  1734. , s7 g7 n0 Y0 p' V- X# [
  1735. ; (time to live) Sets the number of second while cached file will be used
    - c( s4 [5 W0 d
  1736. ; instead of original one.
    & t  a1 m. q) A  N+ o, k
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ! h9 H' R+ s5 M5 S3 ?
  1738. soap.wsdl_cache_ttl=86400& U: M& r1 T0 q3 \/ z

  1739. + c" `# o( \* j& Q& t  x
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    0 w$ X( {. w: G: C  x5 `
  1741. soap.wsdl_cache_limit = 5
    ! \7 w, [3 U; X
  1742. , q) z  k1 G% n3 f; f, L
  1743. [sysvshm]
    3 P" |( v4 \) l' F
  1744. ; A default size of the shared memory segment  ?  R6 {0 v8 u( [
  1745. ;sysvshm.init_mem = 10000. U7 i( M* F9 ?. p( m# g3 s

  1746. : }$ z2 ~$ u" p# A7 s2 v5 e3 M+ Y
  1747. [ldap]/ Z; T: n) u& }1 B# E+ V5 @# x
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    0 W; D% X8 U& L" m6 @
  1749. ldap.max_links = -1# x0 L6 F" d5 U/ E5 C

  1750. 8 Z8 g2 e9 K, L
  1751. [mcrypt]: I% J+ |7 r! c- O$ ^6 |9 q+ p+ N7 h
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open( ?1 G4 H* s; M1 F; u
  1753. 2 \+ q+ t6 _( W% d
  1754. ; Directory where to load mcrypt algorithms
    9 z( [9 w* [3 u' p% D
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    # A4 M( p, l  S( l" {7 Q5 h) v
  1756. ;mcrypt.algorithms_dir=
    $ j. Z/ a+ M2 R7 Y8 \6 k: q
  1757. : {/ g6 D0 R3 @0 ^4 i# e) e. ^6 ?
  1758. ; Directory where to load mcrypt modes
    : T8 a# }/ A- I
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)% h  h0 p! j3 ~* ~, m+ [
  1760. ;mcrypt.modes_dir=+ Q, f  H& W/ b# N7 Q
  1761. ' D/ ^4 {# i. R
  1762. [dba]8 Y% }8 O* D( R& S5 }
  1763. ;dba.default_handler=
    8 }. l. l( U9 D9 |; X- R2 m

  1764.   c0 j7 X. f6 t; b
  1765. [opcache]
    - \/ C1 i# V: _
  1766. ; Determines if Zend OPCache is enabled- C- K% p% [& y2 B2 z3 Z1 j
  1767. ;opcache.enable=0
    " O6 {, \* X, z# X; o* P- p; {9 M
  1768. " e5 v* [$ N% E
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP5 W. C6 s( `/ X8 P* d! x2 L" W) ^
  1770. ;opcache.enable_cli=0. W1 R; F8 U/ |+ A3 O# j

  1771. ( R$ N0 a! _$ \) C, a
  1772. ; The OPcache shared memory storage size./ N. F6 O. s/ L5 @  S: n" y* B$ z
  1773. ;opcache.memory_consumption=645 K2 @1 q" ?! {/ _/ h: P
  1774. & M4 w. r& M% N* z! s! h
  1775. ; The amount of memory for interned strings in Mbytes.4 S! @$ p# W# T1 D
  1776. ;opcache.interned_strings_buffer=4
    2 I0 N$ G4 p1 c! [- p

  1777. - a+ H! a" S: l+ E6 _  [( s! g, a( I
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    & l8 t* [9 {* u" k, B
  1779. ; Only numbers between 200 and 1000000 are allowed.! x5 E7 ]* V) @
  1780. ;opcache.max_accelerated_files=20007 k  ~0 k2 k6 n$ z" J9 }) }
  1781. " H) [6 s, V2 a% a9 k6 G
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.+ |5 O0 d# L2 a: T
  1783. ;opcache.max_wasted_percentage=5
    3 D$ y4 k3 G& E( p$ u) E) n- @! _) g

  1784. # n  r& x( S- ?- `; j1 x
  1785. ; When this directive is enabled, the OPcache appends the current working9 s$ W/ u: S& V- X% ]
  1786. ; directory to the script key, thus eliminating possible collisions between
    $ o" c9 X% U- \7 R+ Y
  1787. ; files with the same name (basename). Disabling the directive improves) t1 f* Q, S- n* t
  1788. ; performance, but may break existing applications.1 E" x+ V2 w6 o' R7 h6 a% X0 l6 \0 i
  1789. ;opcache.use_cwd=1
    . ?/ f! l# F6 z6 S* D8 {! ?; Z0 z
  1790. 5 @$ f; I, W# J" j6 p- J1 m) f
  1791. ; When disabled, you must reset the OPcache manually or restart the
    2 ~' ?7 f8 x" y/ @' ], ^
  1792. ; webserver for changes to the filesystem to take effect.
    ! e% c3 x* b  r
  1793. ;opcache.validate_timestamps=1
    ( Y; m3 B- d# B, }7 e* m

  1794. # ^9 Y! W7 H! N  O
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    $ S! `" D! _; _
  1796. ; memory storage allocation. ("1" means validate once per second, but only7 X& T1 |) F! i7 q0 G
  1797. ; once per request. "0" means always validate)+ j/ s) R2 y6 g( S
  1798. ;opcache.revalidate_freq=2
    6 d( k4 C3 ?8 W4 L: A" G* ?0 ]$ I% u
  1799. ) J$ k5 y5 h1 }* ?5 \
  1800. ; Enables or disables file search in include_path optimization5 X0 T6 e9 o& z4 [& q
  1801. ;opcache.revalidate_path=0; d+ L  \: F- V. c9 ?* I

  1802. 4 x  x3 w9 c. z3 `) i) d& Z/ y
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the5 `, Y( {0 P( f, x0 Q# m
  1804. ; size of the optimized code.
    3 I9 d! U( ]1 ~" P# d
  1805. ;opcache.save_comments=10 `7 b# S3 U8 q8 J. t
  1806. 0 K$ L0 B4 U2 l
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code& |% p( B3 h# k& p
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.- b* l& |3 {3 R8 i
  1809. ;opcache.fast_shutdown=0
    % D/ v$ o& u1 Y$ X' o9 B! s
  1810. & r! c  X; a* r' t' F- R7 F
  1811. ; Allow file existence override (file_exists, etc.) performance feature.6 N% U+ r& f, a  S% K- |
  1812. ;opcache.enable_file_override=02 ]6 }9 J; O8 h  a
  1813. 4 ~  W  X/ A$ d1 a- z
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache& I1 K% V/ r. ?4 M" ?9 G. p
  1815. ; passes; e/ @$ g% @- h4 M
  1816. ;opcache.optimization_level=0xffffffff
    . K$ t% W- t! ~/ Z  \: H: S

  1817. , f' n) K+ I8 c/ g# r* O7 u
  1818. ;opcache.inherited_hack=1
    6 a5 R4 q$ Y! m5 |, _! U/ h) r
  1819. ;opcache.dups_fix=0
    9 H) i, L5 v! c5 h- S2 K

  1820. 1 Y' `0 g( d) s1 g9 A4 n
  1821. ; The location of the OPcache blacklist file (wildcards allowed).* o/ X2 F* H! x/ W7 L1 Q" Z
  1822. ; Each OPcache blacklist file is a text file that holds the names of files* L! \; }  V! [& n* {5 z  k+ X$ v7 W
  1823. ; that should not be accelerated. The file format is to add each filename! I  t$ O; G. ^) p# p- g1 _
  1824. ; to a new line. The filename may be a full path or just a file prefix# n: N9 U/ S, Z! {. W+ `0 n4 \
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    - c; F3 f# n. s" ~; n6 ]1 A
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments)./ U% L8 [4 a5 p& C# U: ?& O
  1827. ;opcache.blacklist_filename=
    . n8 i3 z' j  h! ^0 ]- k

  1828. 4 }$ z$ u6 Y4 u) z" T# K& X% X
  1829. ; Allows exclusion of large files from being cached. By default all files4 D/ h0 s0 F8 g
  1830. ; are cached.
    7 L; Q* v. C" q  h" s
  1831. ;opcache.max_file_size=0. ^, f. g/ G$ [, s9 E6 b

  1832. 4 Y3 F+ ?$ X+ R: t0 S
  1833. ; Check the cache checksum each N requests.3 l/ z- o( d+ l+ I+ U$ I6 q
  1834. ; The default value of "0" means that the checks are disabled.
    & V: I" U2 e( I, n
  1835. ;opcache.consistency_checks=0' R5 ]  `. E+ T5 _& T
  1836. : r4 n* Z2 H6 h& `* K- B
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ' Y; H4 V5 s; Q# Z  M
  1838. ; is not being accessed.
    ; ?6 r+ h3 |, I% D' j
  1839. ;opcache.force_restart_timeout=180
    6 J( h% ?  R! {' h7 ]$ z9 p* r6 S

  1840. % \1 r' @8 Z; c2 a
  1841. ; OPcache error_log file name. Empty string assumes "stderr".7 I% Z1 |3 Z8 [7 P" T9 K
  1842. ;opcache.error_log=' w; Z8 g1 p" j8 z3 A4 D% o

  1843. + B/ [& f& O7 l5 t! J- u5 V# |( Z
  1844. ; All OPcache errors go to the Web server log.1 c! Y1 @4 m$ W5 C3 d
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ) {7 }7 u: k$ h$ W5 h; u. X
  1846. ; You can also enable warnings (level 2), info messages (level 3) or* O0 z  D& {3 [7 A
  1847. ; debug messages (level 4).4 i. `  C9 R( I7 x# J% m
  1848. ;opcache.log_verbosity_level=1
    , h) @- t  v8 o$ b, D) M$ W

  1849. : N7 U$ _  C% K: T' ?
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    9 P5 \" X, U9 N1 K+ B: H5 ]
  1851. ;opcache.preferred_memory_model=
    5 G; Y& C% ~+ n8 B' A! k+ t* o8 D
  1852. ! \2 p3 p2 t! l8 r" D: i+ Z3 a, c
  1853. ; Protect the shared memory from unexpected writing during script execution.* W, D! ?2 j! R- C  K
  1854. ; Useful for internal debugging only.( |/ g4 s: o) ^! ]6 v
  1855. ;opcache.protect_memory=0
    " {  Q! p8 f7 ]* Z: K; j

  1856. " d/ l( W. s* F* P
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    ( V0 F' G; {3 b0 F) x
  1858. ; started from specified string. The default "" means no restriction0 n; R; V; C3 d3 M, D9 O7 o8 |
  1859. ;opcache.restrict_api=
    $ b! \& @6 J) D7 Y6 R. Q4 M* L

  1860. , k5 |; k6 f% Z5 s9 R7 G
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    3 E  P- B$ F9 g' l: ~2 C" z
  1862. ; processes have to map shared memory into the same address space. This* `; r# B+ g" ]: N" P" J
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    # F, y( t$ X6 q
  1864. ; errors.# i) Y" w" g7 i+ y1 I* e: K
  1865. ;opcache.mmap_base=
    . K: g! \, @; N& ~/ D( }% L
  1866. 3 q9 `! {2 u* j) ^
  1867. ; Enables and sets the second level cache directory.
    2 I9 Q: k- y9 C7 x8 `, I
  1868. ; It should improve performance when SHM memory is full, at server restart or; g: b  O( O/ l1 J
  1869. ; SHM reset. The default "" disables file based caching.
    $ A: f# ]2 C* l$ M1 G4 b
  1870. ;opcache.file_cache=0 X/ Q# b6 g: S2 A, y

  1871. 1 B7 c* G% w5 b  U1 B1 }
  1872. ; Enables or disables opcode caching in shared memory.% D4 ~" n, K* Y% W0 u- x
  1873. ;opcache.file_cache_only=0  j5 g; G9 c8 l6 W$ Q1 d; o

  1874. # q2 `, X% g7 B( K4 \3 Z
  1875. ; Enables or disables checksum validation when script loaded from file cache.. u5 M) f; s: c6 u: ]) z
  1876. ;opcache.file_cache_consistency_checks=1
    ' p4 S/ z8 _6 Y" P# M
  1877. 8 y$ w. M% }; v% k# v
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to6 \/ q% n1 I* e* ~; \
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    / w' ]# O- x. }  Q3 r
  1880. ; cache is required.
    9 L3 R8 z  f; m6 g% b! M; A) B
  1881. ;opcache.file_cache_fallback=1: N% z, E% j9 S# i) j, e

  1882. * _% f4 p- r, ~
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    2 R# ]1 J- n  m3 v
  1884. ; This should improve performance, but requires appropriate OS configuration.
    4 J" @0 P8 G8 P3 K; o. ?3 G
  1885. ;opcache.huge_code_pages=1: w: `/ d' ~0 C- N7 k: M9 D

  1886. ( q2 E$ a6 `" S
  1887. ; Validate cached file permissions.9 d) x& x/ J0 [( O) P+ k8 H
  1888. ; opcache.validate_permission=0
    4 K: }% F' J4 x' T
  1889. , _2 X; P/ ^4 l9 V! o$ C
  1890. ; Prevent name collisions in chroot'ed environment.
    1 e( M+ N/ r8 I
  1891. ; opcache.validate_root=0
    / B1 Y/ J+ N5 g% Y3 T% W* V% {7 p
  1892. , r, T5 L7 k( c! s
  1893. [curl]' }! R) X; J  e/ r: l# A
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ! h' x, m* r3 N& p! ?1 ]0 [
  1895. ; absolute path.1 {  ]# Q) W( k9 n/ x  ]. {1 o: M+ m
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt0 H; c0 E! y+ D- {
  1897. 8 F3 U8 a  \5 g; [) w
  1898. [openssl]
    4 R9 u, B3 P" K, Z3 a
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    9 }8 c, p! D" c  q* X* W$ Q: Z" g
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ) @! K% p, g6 ~
  1901. ; not specify a value for this directive as PHP will attempt to use the! O/ y; M; r5 R! e. S- ?' ~( r; H
  1902. ; OS-managed cert stores in its absence. If specified, this value may still: I# C! `& ^$ I
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    & D  ^( k% K9 I& T. d& }8 r
  1904. ; option.  d0 W" F- H: ~6 y
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    : r; |- d0 d4 q  X) W* ~3 s4 g

  1906. ( g" |# K/ @+ O' u
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the4 J; o( E# V# G) G& S; d
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    $ h$ x% g" f% U. t0 ?
  1909. ; certificate. This value must be a correctly hashed certificate directory.5 y3 R7 W. s  D- z3 U  u
  1910. ; Most users should not specify a value for this directive as PHP will) e, K  A$ ]0 {
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,4 |$ b) M+ S: T6 @& V
  1912. ; this value may still be overridden on a per-stream basis via the "capath"% M! `( H, g. l: k% B$ P9 J
  1913. ; SSL stream context option.8 r3 A! u1 P8 X! ?3 e7 [
  1914. ;openssl.capath=$ g1 [) u$ b% H+ n; e
  1915. * g1 j7 D& a" M# w6 N" V/ W8 u- E
  1916. ; Local Variables:7 ]5 U  Q( U; e, Y. N
  1917. ; tab-width: 4; Y1 {# c9 K6 Z, F( b" m3 j$ @
  1918. ; End:2 f- D( x2 `! Y7 F3 W9 \' M
  1919. ! ^7 t( `* l* i; j
  1920. ;eaccelerator% V* x& w; j7 V2 X: P$ p

  1921. 0 L2 |5 K/ `2 U* X1 V2 _- M: Y
  1922. ;ionCube
    * V2 L3 U& e( q* Y2 y

  1923.   D! d* m8 x/ c8 R+ D) K" U
  1924. ;opcache# {" b, R6 |5 u+ s8 Y
  1925. ; Z1 Y3 j$ ]" Y7 W6 I7 l8 v
  1926. [Zend ZendGuard Loader]7 W, N9 h7 A1 x( ^
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
      I! A( j* B5 u, Y5 T, ]! `* k" j
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    - ?' A5 d0 ^$ Q( `
  1929. ;zend_loader.enable=1$ N- s0 h2 U, U- q
  1930. ;zend_loader.disable_licensing=06 L& D9 e: m! ]( s% S
  1931. ;zend_loader.obfuscation_level_support=30 H- |5 k: |9 Y: w. n* G
  1932. ;zend_loader.license_path=2 d% V4 L& J( ]5 T
  1933. & u' h6 r$ k2 C' c6 C/ B
  1934. ;xcache7 p8 x6 K1 c, \- [1 `4 l
  1935. 3 _+ {9 y7 O; l1 ^
复制代码
+ t7 S& b6 M+ P! ?! @4 b
; p+ L1 F" A7 T' \

+ Q* P2 f8 g  u& L6 m1 u  U/ o
+ n/ B$ M0 i$ l4 A
& b! q+ r7 d9 M/ w1 ]( C% W' u0 ~; l8 @4 K
8 o; Y( N" m! K! x7 ^
PHP5.6版本原始设置5 ~: I0 {6 J" P

1 z0 m* P& U) t6 r# t( A
  1. [PHP]
    : q: {9 L6 c" |7 N) p/ e0 K$ ]) x, P

  2. 8 p% N; C" t0 M8 ]* N$ a0 J" f2 U
  3. ;;;;;;;;;;;;;;;;;;;
    $ B, T6 c& k, Z! D9 W/ M
  4. ; About php.ini   ;' f5 @5 A0 P, |
  5. ;;;;;;;;;;;;;;;;;;;
    8 I( Z. e" p% ^+ V' j3 o1 j3 c- @
  6. ; PHP's initialization file, generally called php.ini, is responsible for0 U( c- A5 ]+ ~: o" H
  7. ; configuring many of the aspects of PHP's behavior.- F" ?  T4 m! k) i

  8. # |' }4 C8 P5 n) M* C
  9. ; PHP attempts to find and load this configuration from a number of locations.
    8 ?) X" N% e/ b5 c, [5 [, U$ q' i
  10. ; The following is a summary of its search order:2 `& B( B: }) \; H
  11. ; 1. SAPI module specific location.
    5 V9 A7 e0 ~) ~- X. u7 _
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ( N& W; u& {9 Q- \4 m
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    / n' b2 ]7 H; M6 y1 {1 N% y2 C; w
  14. ; 4. Current working directory (except CLI)
    2 u6 A8 t9 L& w' G$ i
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    4 s. i4 J6 _! r/ S( n& W
  16. ; (otherwise in Windows)
    * b5 B7 d8 S, x; z
  17. ; 6. The directory from the --with-config-file-path compile time option, or the$ l4 s, B' U* h7 u4 V$ [
  18. ; Windows directory (C:\windows or C:\winnt)
    " f5 ?! x, }1 S6 ^
  19. ; See the PHP docs for more specific information.: z3 _: T: @6 ^# w3 x% N
  20. ; http://php.net/configuration.file
    / l- p( h  m+ p

  21. , U& {9 f) P) W% Z7 L; r9 S" ]
  22. ; The syntax of the file is extremely simple.  Whitespace and lines; `' j3 b7 y1 a- P  e& r
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).% ]& ^" m; t4 u  i# U
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
      x( |' s4 ^" ]) t/ d
  25. ; they might mean something in the future.
    $ N" L$ i) q& u5 N2 @' g! \
  26. 7 E6 U$ f  T9 R/ _, {
  27. ; Directives following the section heading [PATH=/www/mysite] only2 g  G; G. G! P; i3 ~# A2 I# |
  28. ; apply to PHP files in the /www/mysite directory.  Directives7 g# _5 X) W) z
  29. ; following the section heading [HOST=www.example.com] only apply to# W: X) A1 ^# b. E6 }
  30. ; PHP files served from www.example.com.  Directives set in these
    4 X; N/ Q; n1 [+ t
  31. ; special sections cannot be overridden by user-defined INI files or0 X. Z& }: G" O6 z5 b: W
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under2 _9 s, v5 Z& S$ R8 {2 f8 x8 W
  33. ; CGI/FastCGI.
    ( o$ P8 u, V: m- @3 P: U
  34. ; http://php.net/ini.sections: s) G9 q( l: L5 h- q% Z. f$ M, F; j

  35. : I$ [: R, b; t8 w
  36. ; Directives are specified using the following syntax:. B1 u6 |5 E6 ?$ Y; f9 u7 A( I& W. q
  37. ; directive = value! D- K8 c( L) p6 Q" ]
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    % l- t( _" G3 t' ]9 C2 Z
  39. ; Directives are variables used to configure PHP or PHP extensions.6 g5 A0 E" k( H2 {; m$ W* p) Y
  40. ; There is no name validation.  If PHP can't find an expected- b' l# @. e2 U0 o% d, h* W# k! H& y& L
  41. ; directive because it is not set or is mistyped, a default value will be used.1 T1 u7 A( }3 A6 Z+ L/ s# c
  42. ' H& @0 O' j2 [. l# Z3 a" Q- Z
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ) t( H5 ~/ r; A6 v
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    3 t0 g; Y$ Z2 o- H) Y9 A- Z" J8 u/ F& K- p
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a( z% S0 @+ J7 B5 Z: N
  46. ; previously set variable or directive (e.g. ${foo})
    1 l( C& ~, v6 P. E

  47. 0 l* q; a4 T& g. R
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:' O! r8 e! h- l8 @* S3 ^
  49. ; |  bitwise OR
    . \0 |+ E/ \7 @4 k
  50. ; ^  bitwise XOR8 J% I; o) B9 ~, U5 b. S
  51. ; &  bitwise AND0 h6 x% T( `: W6 H& a; A
  52. ; ~  bitwise NOT
    # d' L4 z8 J8 E2 H/ j3 d
  53. ; !  boolean NOT/ |% I! F" `8 b$ I
  54. $ {3 V6 G' M; n/ Z# w; X
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ' X+ u4 B6 c+ Q% K% g& F
  56. ; They can be turned off using the values 0, Off, False or No.
    2 {  N" ?* ?! G1 ?5 v) @* f1 q7 x: k
  57. 9 J  I. w! e5 O
  58. ; An empty string can be denoted by simply not writing anything after the equal4 M3 y0 u; U4 {) o
  59. ; sign, or by using the None keyword:
    1 L. h. S" Z( c* W
  60. . A$ w- c2 F( W7 f7 Y
  61. ;  foo =         ; sets foo to an empty string
    8 u3 \- E8 \3 D- k
  62. ;  foo = None    ; sets foo to an empty string
      C. h: E2 H+ ~+ U! P
  63. ;  foo = "None"  ; sets foo to the string 'None'
    3 v" A# A# f# P# w; J, g
  64. ; v( i6 D' V) i% y4 g! M
  65. ; If you use constants in your value, and these constants belong to a
    / u0 O3 f' R" r- {/ X/ b1 @
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),8 `4 @; Y5 A: P! P: l/ q1 r
  67. ; you may only use these constants *after* the line that loads the extension.
    . [4 f4 j7 _+ l
  68. 6 ^% L8 l7 [: A( L$ n4 o
  69. ;;;;;;;;;;;;;;;;;;;* T6 `6 k, c: P+ h
  70. ; About this file ;1 C: L& y; b( N2 S, e4 T5 a+ Q$ m
  71. ;;;;;;;;;;;;;;;;;;;( y+ C) t% U. p, b: P
  72. ; PHP comes packaged with two INI files. One that is recommended to be used. ]; P! k/ P! X# z
  73. ; in production environments and one that is recommended to be used in
    , r$ }0 X  {( a8 ~' e2 P
  74. ; development environments.9 }8 B: Q6 e/ g. T' C0 N: L" E# T

  75. 9 ~$ E# K! {. E
  76. ; php.ini-production contains settings which hold security, performance and% z: T4 Z7 b$ u& [/ W4 W$ q1 K5 P
  77. ; best practices at its core. But please be aware, these settings may break% `" _! |5 o! X. E! t$ n9 w
  78. ; compatibility with older or less security conscience applications. We3 v; \- a2 z0 b* @: W6 i
  79. ; recommending using the production ini in production and testing environments.1 F; z' ^$ ?, Z1 t* G

  80. ; {% B2 S* c- P0 D! t+ Q
  81. ; php.ini-development is very similar to its production variant, except it is; k5 b5 ~6 B* g) N! o/ h1 u9 Y
  82. ; much more verbose when it comes to errors. We recommend using the/ q' T5 f8 q9 M; X' j" `2 E. [" l
  83. ; development version only in development environments, as errors shown to8 c, _- l. V0 r, I& }# h8 h: f
  84. ; application users can inadvertently leak otherwise secure information.9 m# h) O* E  f% b  y
  85. 8 s' p) l* Z/ L! h6 x9 C7 p" {/ X
  86. ; This is php.ini-production INI file.
    , g  M$ |# A0 I: I0 J: d4 }8 c
  87. 2 D4 |+ {3 o* ?6 B: S
  88. ;;;;;;;;;;;;;;;;;;;
    / a/ J4 g2 l. X0 c) e& ?
  89. ; Quick Reference ;' G$ P9 l* c7 Y  [  }
  90. ;;;;;;;;;;;;;;;;;;;
    5 F, T, ~$ D( J) Q4 }& U2 H; \
  91. ; The following are all the settings which are different in either the production( v' e( @; A. m/ i
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    2 [3 x9 ~0 X2 g8 i% d' i
  93. ; Please see the actual settings later in the document for more details as to why
    ) ?! _3 r; d) P* c2 @/ x& j
  94. ; we recommend these changes in PHP's behavior.
    " I& a* ~; v3 @8 x+ e# i7 E; V+ t  g

  95. . [# N5 H. [9 M/ E( M- }
  96. ; display_errors, V! `8 K; N& f* P9 u
  97. ;   Default Value: On6 Z5 X+ M3 p+ @1 Q
  98. ;   Development Value: On
    7 B+ M; R# x6 W$ J+ x& v+ c
  99. ;   Production Value: Off4 L  Y6 d9 `3 i, U- o" Z
  100. , J" b( r8 m6 ]- U- y4 Q
  101. ; display_startup_errors& \4 s- V8 C$ m9 {- _
  102. ;   Default Value: Off
    9 C  n! l& x4 y) p7 L1 v. O
  103. ;   Development Value: On# r7 U* E7 R4 A7 Q
  104. ;   Production Value: Off. k6 I. {0 ^0 K" |1 ~
  105. 4 B! S; Y- G: S  A2 c7 D" m3 I% ^
  106. ; error_reporting
    # f; y6 K7 B3 J2 T) r  k- A
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) l5 ^8 l1 `( P4 |% ~# y
  108. ;   Development Value: E_ALL
    * Q! A# R# i' N$ w5 c" r
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT" |/ h# F( q( r1 j; u0 T: |0 v6 w! B
  110.   }2 o; B2 N3 ~4 H& r' P
  111. ; html_errors
    4 z( T5 G. \3 ~; ]% d9 \
  112. ;   Default Value: On/ q. Q" u, j8 ^
  113. ;   Development Value: On6 k. Q1 W; f* ~9 H8 ]- S
  114. ;   Production value: On
    3 `* x- K- [" B3 D7 K+ `
  115. * N6 D1 X+ M4 f2 ]: Y  Y6 _4 Z
  116. ; log_errors% j, x  Y. ~$ F; K8 B/ O
  117. ;   Default Value: Off; p0 l' H) {; v: v2 a
  118. ;   Development Value: On
    9 m: b* {- \8 V/ t! f
  119. ;   Production Value: On3 @6 A8 `* i% z* U0 \0 h- F

  120. 7 V! z5 U+ k/ u6 [
  121. ; max_input_time
    & T/ z7 V/ A: @, K. d8 B; G
  122. ;   Default Value: -1 (Unlimited)
    # }7 v1 b7 F) t; f
  123. ;   Development Value: 60 (60 seconds)3 M3 a% C+ o5 C7 s  p: M( ]0 a
  124. ;   Production Value: 60 (60 seconds)
    , w4 M6 _8 B% u+ f

  125. 3 f5 G4 N/ y& H+ T3 f- Q2 L* ]
  126. ; output_buffering/ A; ]! n( m  T0 n6 {" m" y
  127. ;   Default Value: Off0 p! T; Q0 l# g) Q
  128. ;   Development Value: 4096
    9 ]* q9 q# g% x- @" u4 ~
  129. ;   Production Value: 4096; v5 i' _6 P, M* W0 a
  130. 6 Q; T6 K1 q, y1 e( F( J( `
  131. ; register_argc_argv
    : T1 Y( o/ w7 F( t
  132. ;   Default Value: On. A) o; c  D- {. E
  133. ;   Development Value: Off) d+ N3 k9 d! E( a9 W, A# p
  134. ;   Production Value: Off
    . [  A, s6 r# N& |4 O
  135. ' Z- @" a# L6 w- F
  136. ; request_order# h4 T) ?5 g( n: C* ^& A8 s
  137. ;   Default Value: None2 b" f- i+ }1 q0 c4 J/ m5 ^
  138. ;   Development Value: "GP"( r6 S- {: @& R
  139. ;   Production Value: "GP"
    , t# {- V; l$ A% }2 x6 m# D! H
  140. # }6 I, j& U$ ?* H) W
  141. ; session.gc_divisor
    6 P; b& b) W6 ~. M3 E
  142. ;   Default Value: 100/ D* c8 x1 p. V) Q1 a+ r' q
  143. ;   Development Value: 1000
    * g. B. B+ S( v! ~( W
  144. ;   Production Value: 1000
    9 \& d8 L; w5 S5 F  V( n" w  B

  145. 1 l/ t9 ^- |" q0 v( y( [, ?
  146. ; session.hash_bits_per_character
    ! {& r9 I. x3 N8 r$ C9 ^
  147. ;   Default Value: 46 x$ _" R: Z" k: g3 l# m' v
  148. ;   Development Value: 5, b; X% V+ _' M8 y! O, e
  149. ;   Production Value: 5, D, k2 j% h  h- O2 l& U
  150. 9 ~3 ?$ E: N9 [3 Z
  151. ; short_open_tag
    ( w1 x4 i" }* H3 |  O, M, D
  152. ;   Default Value: On' r0 r4 _4 J# {+ {4 O$ @
  153. ;   Development Value: Off
    . [7 Q5 n* P/ i2 C- N# G
  154. ;   Production Value: Off6 u+ l" x$ V) e* L/ n* @  q

  155. * u+ y: H  N7 i. L1 E" h
  156. ; track_errors
    + X3 h" H! C9 y" q  S3 U+ U
  157. ;   Default Value: Off4 P$ C& D* D# n3 u4 a0 a
  158. ;   Development Value: On
    - p% a0 t: ~( d& \
  159. ;   Production Value: Off
    * R( T. n- w/ M0 P: x/ }3 g

  160. 1 i  }0 |8 z3 z
  161. ; url_rewriter.tags! t7 [' V2 n  J& y$ _) \
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ) J$ z: N9 f. [1 [- P
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- c! j% a+ z) Z3 |8 j
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : }' ?* V' C4 l7 p- @: K1 S3 k
  165. ) U' v2 `" R" c2 ]5 z
  166. ; variables_order- _& F* s* J: w% C# f
  167. ;   Default Value: "EGPCS"" Z: [0 i* b# D
  168. ;   Development Value: "GPCS"
    * X7 r: u8 r6 ~
  169. ;   Production Value: "GPCS"
    2 `' w5 x# @; w0 D0 ~4 u% g
  170. 6 P+ i; q0 @4 b" A, |
  171. ;;;;;;;;;;;;;;;;;;;;5 ~1 w' R5 ]4 ^8 V+ U2 ?3 _8 N
  172. ; php.ini Options  ;
    0 s% d! }1 W& Q+ Q
  173. ;;;;;;;;;;;;;;;;;;;;; A3 Y0 ^2 D" R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"7 x' n1 D( j( y+ D8 L' X2 q7 H' M" R9 G
  175. ;user_ini.filename = ".user.ini"6 a+ _. u3 |7 q% v: F6 f- u
  176. . R7 |6 W% k" u7 L! d
  177. ; To disable this feature set this option to empty value% S% g! C( l' J
  178. ;user_ini.filename =: \+ A( d, P8 z  O

  179. " o( H; F& X6 C2 M5 Q* n; Z' o, u) G  D
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    + j% a3 S4 h' _0 D( n
  181. ;user_ini.cache_ttl = 300
    + x) Z+ _5 }0 {3 ]6 L, C
  182. ) Y$ @2 s/ P9 N1 C
  183. ;;;;;;;;;;;;;;;;;;;;6 x4 x: ~/ U0 s4 B$ Y
  184. ; Language Options ;
    . L5 w9 ?: }7 j" E+ c% y3 \
  185. ;;;;;;;;;;;;;;;;;;;;) t! L/ M, q, v7 Q! X

  186.   d6 N  f% K/ V, r
  187. ; Enable the PHP scripting language engine under Apache.
    & d" y$ Z- F4 e# o1 H
  188. ; http://php.net/engine4 R7 m6 X8 ?3 J4 G
  189. engine = On
    , e9 D) F( h( _

  190. - b' h7 m. ?# x) b6 C
  191. ; This directive determines whether or not PHP will recognize code between4 ]' k; G2 F9 d( Y. H
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    / K) f) O" q6 y8 p9 r7 B9 B7 I+ Y
  193. ; generally recommended that <?php and ?> should be used and that this feature% m, W! [, ^4 O, G! d# \
  194. ; should be disabled, as enabling it may result in issues when generating XML
    : P. Q$ N) b$ d. J) B
  195. ; documents, however this remains supported for backward compatibility reasons./ d4 b2 L, b& a& r% }' _
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    & {; X# N7 x- D4 D' D' C6 t
  197. ; used regardless of this directive.
    . }! n$ ]3 o( f6 W8 m; r9 Y
  198. ; Default Value: On
    $ p  J( x: v: x; k: K0 s
  199. ; Development Value: Off6 a' x/ ~1 S- l8 s
  200. ; Production Value: Off
    0 x- p1 X3 {0 r
  201. ; http://php.net/short-open-tag4 @- F0 {1 t+ Z- m4 P
  202. short_open_tag = On
      ^( b7 Q# c" \1 W: |! o6 I

  203. , a2 b  w- u; ^, O- ?( p
  204. ; Allow ASP-style <% %> tags.
    7 t, J. x2 U& A1 H2 E+ G
  205. ; http://php.net/asp-tags* v9 {# T* a5 \& o) U* E
  206. asp_tags = Off
    7 B/ C; C! A9 I2 p
  207. , b" F$ s0 ~7 a) I
  208. ; The number of significant digits displayed in floating point numbers.
      q6 R& ~& C' h/ `. j2 E0 }4 U) Z
  209. ; http://php.net/precision
    " _  e( k3 C3 z) x* m2 P
  210. precision = 14
    5 T* T) a! a5 A2 H/ q- ?

  211. 2 e$ x7 C/ A, r2 j! _# M
  212. ; Output buffering is a mechanism for controlling how much output data# G# N1 ~: X4 A4 ^
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that2 b  X0 R9 c! n7 i# R. v' g
  214. ; data to the client. If your application's output exceeds this setting, PHP
    . e, g' s2 ?+ V/ s9 R& }" k
  215. ; will send that data in chunks of roughly the size you specify.
    2 u7 s7 Z! L$ X6 W. y
  216. ; Turning on this setting and managing its maximum buffer size can yield some, V5 y* C2 j+ @( G5 o
  217. ; interesting side-effects depending on your application and web server.6 h3 K8 y) k1 c& E) Q/ E
  218. ; You may be able to send headers and cookies after you've already sent output* s: N% h; d4 ^2 `( H2 y1 I
  219. ; through print or echo. You also may see performance benefits if your server is
    , ?0 N9 E. B. f& a- v
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    2 M  N$ P0 W# r1 M
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance- w- U( B! r( ?8 P3 P' j; F, D
  222. ; reasons.6 W- h! q2 R# M
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ( Q5 F8 n& {/ {/ R5 w% S1 |
  224. ;   functions.
    ! ~7 x* h5 }& l+ s( y) g
  225. ; Possible Values:6 B( S; T7 n) c+ q
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)! \! J. s, T" I; i4 z( }
  227. ;   Off = Disabled
    + ~0 d2 I( E( M7 k
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    " a! }. g& H; N. ~6 n
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # K8 s8 ?" K  W2 F
  230. ; Default Value: Off0 N: o! i+ S: {- {0 i' _
  231. ; Development Value: 4096
    8 N# }5 L( f' h7 e( t0 o, q' u
  232. ; Production Value: 4096$ S$ ~7 l, K4 x( S
  233. ; http://php.net/output-buffering! ?- f/ u+ h4 |, |8 X% n/ a
  234. output_buffering = 4096; l/ m4 p6 Z5 D, S! Q
  235. ; Q. [! e* O+ e; n' d) W2 N. n
  236. ; You can redirect all of the output of your scripts to a function.  For4 A1 v6 v: }) u* F0 f
  237. ; example, if you set output_handler to "mb_output_handler", character6 R! H# M! o0 A0 h
  238. ; encoding will be transparently converted to the specified encoding.
    ! |, H# P% X3 u5 v' [
  239. ; Setting any output handler automatically turns on output buffering.
    & f) t+ _; c( f6 H
  240. ; Note: People who wrote portable scripts should not depend on this ini$ C$ X  H5 z- L3 y  I, r% t
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    + W/ t7 C6 X( h+ g/ l6 O* Y! R
  242. ;   Using this ini directive may cause problems unless you know what script: f6 p8 Z3 l# {6 q8 C, `( U
  243. ;   is doing.
    4 g1 g& Y8 K2 a; |8 J$ a2 h7 H6 t
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"5 k; Z* v6 q3 ~7 y4 G. Y6 E
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ; `7 h2 M( \6 r6 l  j. r* i0 L
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    1 W0 o- e' K- [1 Z
  247. ;   Instead you must use zlib.output_handler.
    8 c5 w+ K0 d" [$ V: i
  248. ; http://php.net/output-handler
    4 r9 q  L& `/ D. @4 \2 J, Q7 L
  249. ;output_handler =
    ' D+ C, ?! W5 D% s
  250.   ]" c. [: e# O6 F) V* k% v7 t; \
  251. ; Transparent output compression using the zlib library# p' m1 _9 f7 I/ v
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    % y  n1 e& G1 V# u5 O/ `* Z" p% ~
  253. ; to be used for compression (default is 4KB)5 L4 e) u# a3 n' f2 I, W( o/ u" G
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP/ K5 D7 _0 G$ f* d
  255. ;   outputs chunks that are few hundreds bytes each as a result of1 y5 E- I* P5 D9 m; I* _. p" U/ i
  256. ;   compression. If you prefer a larger chunk size for better
    1 P* `# q  h1 M. N
  257. ;   performance, enable output_buffering in addition.- _& ]9 E& ?+ k7 c
  258. ; Note: You need to use zlib.output_handler instead of the standard
    8 p8 s  i7 I. `3 u/ N
  259. ;   output_handler, or otherwise the output will be corrupted.
      y, I6 n+ i6 S1 c
  260. ; http://php.net/zlib.output-compression* J2 Q7 m3 t; t) n
  261. zlib.output_compression = Off+ X5 h3 ^: c2 b/ o
  262. - O# T3 B& }) f+ O4 v! e& C* e
  263. ; http://php.net/zlib.output-compression-level
    & E8 ^4 k* p& e& a0 T
  264. ;zlib.output_compression_level = -1! Y9 O$ `) d. ~; ~  X

  265. & R" q$ p/ O% T8 C( J
  266. ; You cannot specify additional output handlers if zlib.output_compression
    6 n) _0 H) w' I+ }
  267. ; is activated here. This setting does the same as output_handler but in' B( P$ I* C+ G; _5 q  B" H5 ?' F
  268. ; a different order.; e. q) U7 j. {% d! [5 S+ m
  269. ; http://php.net/zlib.output-handler
    , J- R5 G/ `- l6 l2 P9 g% @
  270. ;zlib.output_handler =
    ! A* O  l! j+ I

  271. " J% ?. e! f  A' A/ C
  272. ; Implicit flush tells PHP to tell the output layer to flush itself/ }* m! Q6 }& |+ }  f1 G/ g1 m
  273. ; automatically after every output block.  This is equivalent to calling the
    / D+ S" V& C' a0 H& g
  274. ; PHP function flush() after each and every call to print() or echo() and each
    + f8 @/ T8 K$ t! E, j" G! P
  275. ; and every HTML block.  Turning this option on has serious performance
      K8 |  Y8 d: g% M9 N
  276. ; implications and is generally recommended for debugging purposes only.
    1 e: U- S' {. W( F4 v
  277. ; http://php.net/implicit-flush
    9 P6 [9 O$ `7 S+ c9 D( J
  278. ; Note: This directive is hardcoded to On for the CLI SAPI& [# w, G  u7 U! `  ]! p
  279. implicit_flush = Off
    4 k$ l; d! d$ c" ]
  280. ) R! R1 N  C/ j# J
  281. ; The unserialize callback function will be called (with the undefined class'; J9 Y2 ~, Y$ m: G; t( v1 E
  282. ; name as parameter), if the unserializer finds an undefined class
      T7 R# s' }$ X& q: f! Q3 S- C
  283. ; which should be instantiated. A warning appears if the specified function is
    5 f3 x+ m5 ?( A
  284. ; not defined, or if the function doesn't include/implement the missing class.
    + z, ^7 Z( e9 Z- s* m$ E( c
  285. ; So only set this entry, if you really want to implement such a* o" T" _' C, N! j: |) j/ d7 }
  286. ; callback-function.+ Q4 m9 q% Z8 Y
  287. unserialize_callback_func =- f1 @: p) H; V1 X, {' R2 b

  288. " ~$ _  V. n" M& B$ G6 S
  289. ; When floats & doubles are serialized store serialize_precision significant
    ' q$ |/ l* A8 c4 ~5 I, [" n
  290. ; digits after the floating point. The default value ensures that when floats" z- T4 w+ q2 V; ~! P
  291. ; are decoded with unserialize, the data will remain the same.9 ]8 t6 l2 k9 [9 a
  292. serialize_precision = 17
    1 C' G# h9 c7 A2 B9 W

  293. 1 C: D) N7 O# Z9 @2 D" s
  294. ; open_basedir, if set, limits all file operations to the defined directory- d5 h) [! i" w+ M  \: Z( i
  295. ; and below.  This directive makes most sense if used in a per-directory  }2 h, x7 {7 G+ W6 T/ W  Y
  296. ; or per-virtualhost web server configuration file.
    ' q. N9 b3 K( v& a/ ]! c8 {
  297. ; http://php.net/open-basedir% Z: M) x+ `9 Q' u
  298. ;open_basedir =
    4 y' X9 {) k, q+ ?/ T- ?) f: E

  299. , h7 [9 z6 R' P5 B6 h! T: ]* e" k
  300. ; This directive allows you to disable certain functions for security reasons.- B7 l7 p" t& S8 ~/ l% M
  301. ; It receives a comma-delimited list of function names.
    ; k# R2 S' h% e3 W! S
  302. ; http://php.net/disable-functions% Z1 f! g/ S* F$ v3 F- |
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru% ^# `4 ]4 ?9 D2 _4 b
  304. . R9 [0 q) a0 }5 ^% Z
  305. ; This directive allows you to disable certain classes for security reasons.
    : J( L& B% ?7 f+ H
  306. ; It receives a comma-delimited list of class names.
    : D" s( c4 t5 G& |
  307. ; http://php.net/disable-classes& Z1 u1 X! {+ I1 Q" g* K
  308. disable_classes =
      E( T7 K! o0 H+ C2 S# C
  309. 0 u% @! J; G7 |- x4 F9 Y6 _
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in: P/ C% I. o1 i) o) W' x
  311. ; <span style="color: ???????"> would work.
    ; J* o0 O7 h) O) ?5 K  }5 c2 y
  312. ; http://php.net/syntax-highlighting
    + S6 N. x  b. A& ?
  313. ;highlight.string  = #DD0000# S& ^" w0 C$ {8 s
  314. ;highlight.comment = #FF9900' r% f3 S* |. W9 N' {2 z: ?
  315. ;highlight.keyword = #007700- U& v2 q1 Q1 t& s+ j: D
  316. ;highlight.default = #0000BB
    + s0 h/ L- D3 O- E7 {
  317. ;highlight.html    = #0000000 S  J7 C7 ?- v& W1 v! u
  318. . x3 d, K9 L' D% q5 b6 y+ C
  319. ; If enabled, the request will be allowed to complete even if the user aborts
      ]# d3 m7 ^7 r/ y" @1 ~" G6 p  a
  320. ; the request. Consider enabling it if executing long requests, which may end up5 B9 z. K' k, B
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    7 E( o, N5 q& c: m, p+ [' M
  322. ; is to disable this feature.
    8 E. }  y3 B7 l3 k+ m; k0 o9 B9 v
  323. ; http://php.net/ignore-user-abort
    2 [9 F1 R! K2 ^1 B& A  M
  324. ;ignore_user_abort = On
    - @9 j; Y# Z2 j0 c' B! D  U

  325. - _* a' \5 |, S
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
      z4 U  Y( e( x4 o
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    % D  w3 E: k5 @5 y% c8 c" S
  328. ; the file operations performed.
    ' p0 {/ r/ @" R. z  |
  329. ; http://php.net/realpath-cache-size
    " d. P4 U' M" I& e
  330. ;realpath_cache_size = 16k
    4 x0 s: H' G9 H$ r( U4 d

  331. 9 M5 y# u+ h5 F6 e& r
  332. ; Duration of time, in seconds for which to cache realpath information for a given) M' |0 N( G# Q7 t
  333. ; file or directory. For systems with rarely changing files, consider increasing this. Y" ]% i% O2 A  L
  334. ; value.
    * ^9 k. @; A- V6 l; S
  335. ; http://php.net/realpath-cache-ttl
    - u3 d5 I, Q9 r% u
  336. ;realpath_cache_ttl = 120
    : `9 q/ z# N& c
  337. $ ?6 \" w9 K! G
  338. ; Enables or disables the circular reference collector.# Y  f( h' @, b% }& O
  339. ; http://php.net/zend.enable-gc
    6 X4 G% G8 u) M! z% T0 U
  340. zend.enable_gc = On9 A+ _/ h  N$ h! u: W

  341. ! x! e+ M7 c& `+ J& Q7 D
  342. ; If enabled, scripts may be written in encodings that are incompatible with/ J1 e1 w0 D4 }# {" w
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such' g  t% G& d+ q8 j: d, _" A
  344. ; encodings.  To use this feature, mbstring extension must be enabled.. K5 e( X6 z1 z
  345. ; Default: Off& E5 T( I) |/ L4 g
  346. ;zend.multibyte = Off# c$ h4 L2 x( |( c7 Q) O

  347. # T  z/ ]$ @* I% E/ d* x: ?- u
  348. ; Allows to set the default encoding for the scripts.  This value will be used, J0 A4 H; d6 W1 L! r1 l1 t
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    . d; n6 A# C" v) T, |
  350. ; Only affects if zend.multibyte is set.
    # F9 F1 B! x& q5 A" g/ K5 P0 _
  351. ; Default: ""' b, U5 M5 S, l- [$ N
  352. ;zend.script_encoding =
    4 h& }) h0 V) Q. [* P
  353. - C) ?0 v) b5 M9 u6 ?3 n
  354. ;;;;;;;;;;;;;;;;;
    3 w1 U5 e4 M3 ^- E
  355. ; Miscellaneous ;
    - Y) s+ ]: }2 Q) X5 P$ S
  356. ;;;;;;;;;;;;;;;;;2 v$ w8 }; H8 V" B1 n, C
  357. + Q! b8 B1 ^& Q0 x
  358. ; Decides whether PHP may expose the fact that it is installed on the server) Z0 W2 O! N) i* _3 Z
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    . y$ P: s0 M9 O0 V
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    $ e- p2 d/ F* ~
  361. ; on your server or not.
    2 q+ ]# A* N+ n
  362. ; http://php.net/expose-php
    ' ^: u- y( ^- y% D; d
  363. expose_php = On* c8 A+ }9 U6 _* ]/ s9 J
  364. + G9 c: ]1 Y) J/ F& Y7 D
  365. ;;;;;;;;;;;;;;;;;;;
    , x8 F1 E; i0 ~4 [; i
  366. ; Resource Limits ;( m5 |- o# |+ o! E
  367. ;;;;;;;;;;;;;;;;;;;
    ! O% t4 H9 S( `$ k' L! v2 y6 }) t
  368. % O* V6 O- A% u/ p9 F
  369. ; Maximum execution time of each script, in seconds) {8 {4 t$ Z* Y4 Q
  370. ; http://php.net/max-execution-time1 u$ T  U$ N2 R: T- J& t" B
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI; u% L4 o: G/ ^8 h' h
  372. max_execution_time = 300
    & d1 }$ `' X& D  N  N6 H/ ~

  373. 6 h' G' [# N; y: ~% a- x; j
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    % ~3 u8 q% q# b  D/ `* u
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly- r( E# ^3 B2 _8 C
  376. ; long running scripts.
    ' I+ I% T" \" y. ^8 `6 d3 }4 k
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    - |. k! l5 r6 S' l2 u) d: `
  378. ; Default Value: -1 (Unlimited)
    - J! c" C) g  Z/ f$ p- B7 c5 `
  379. ; Development Value: 60 (60 seconds)
    , u5 n# C4 u. v8 {/ Q
  380. ; Production Value: 60 (60 seconds)# L5 M9 U2 I# I
  381. ; http://php.net/max-input-time
    6 I7 z# X0 p+ r4 M9 _; Z
  382. max_input_time = 60
    6 w, N% h! j( U+ _5 H) Y) G# L

  383. + O! c8 A0 V) _( d7 W
  384. ; Maximum input variable nesting level
    - l% T0 a/ y% g& e/ S4 P
  385. ; http://php.net/max-input-nesting-level
    - i4 P- f; x+ [1 }* M3 b
  386. ;max_input_nesting_level = 64+ Q6 y( _! i- c

  387. - m( w  F5 e9 C
  388. ; How many GET/POST/COOKIE input variables may be accepted0 z5 e5 r% \; M! o" n0 E& n, ?5 _
  389. ; max_input_vars = 1000; l0 i4 e1 n" e  b. U6 ^# C' @' a- l! X

  390. 3 E2 P; y% J% t/ J+ f
  391. ; Maximum amount of memory a script may consume (128MB)
    % u: G; j5 f: d' L1 q8 X
  392. ; http://php.net/memory-limit
    " O- `$ K  ?7 n4 _2 Z
  393. memory_limit = 128M% A+ r8 O& v9 G; k

  394. 1 V1 c7 g) |$ f/ h( I5 h
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;  |  K5 y0 |% \( x, V+ K
  396. ; Error handling and logging ;
    $ L! B( D- z3 Z8 }# Y& a- H
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 r" P/ Z" u% C

  398. $ M; b6 ]/ U. u6 V+ d8 b" U
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    & V4 d+ A* q# Q/ b) E3 j0 j$ V. e
  400. ; it to take action for. The recommended way of setting values for this# U; q0 g  ?: h) o, t$ L
  401. ; directive is through the use of the error level constants and bitwise% x! Y% s) t2 _5 |
  402. ; operators. The error level constants are below here for convenience as well as
    - e5 R" d) z. w2 }! _1 }- Y
  403. ; some common settings and their meanings.+ e1 T! r( f7 A* E# Z* h: K
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    , E" d$ R% U; M! ]2 h7 I
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and6 v) c+ H" ?9 \
  406. ; recommended coding standards in PHP. For performance reasons, this is the: Y, |9 Q# U, ]+ r2 o/ m5 t
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    9 ]7 E- {; K0 D$ n+ ?/ v6 S2 `( |( Y
  408. ; resources complaining about best practices and coding standards. That's what
    $ ]" W# F$ @( [4 v  a1 J
  409. ; development servers and development settings are for.' K; q; z. c2 d+ Q8 J
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    7 R9 F  A3 R$ F% p2 \7 u
  411. ; means it pretty much reports everything which is exactly what you want during/ m4 F: a( ~* L' z) N
  412. ; development and early testing.
    : B9 p1 Z0 R! A0 X% c6 d) i; M2 |
  413. ;
    / R, l. y8 n* r" @2 Z+ D. y2 A( U$ A" ^
  414. ; Error Level Constants:
    & m8 T  J! O: N" K0 L
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)$ u0 u" {; F6 u& u4 }+ c' v
  416. ; E_ERROR           - fatal run-time errors- n/ e5 ?1 A% H4 b
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors' R3 \6 _; K& w9 A
  418. ; E_WARNING         - run-time warnings (non-fatal errors); |3 |, r' b$ M" @1 U
  419. ; E_PARSE           - compile-time parse errors7 R8 M! j" A: J  s8 h" j1 I; D
  420. ; E_NOTICE          - run-time notices (these are warnings which often result5 R& P  h1 h$ @
  421. ;                     from a bug in your code, but it's possible that it was5 }8 x' q' b9 \6 f; U
  422. ;                     intentional (e.g., using an uninitialized variable and% e& X' z5 l; a! |; V
  423. ;                     relying on the fact it is automatically initialized to an
    ) q& n" z! B, |# {3 O' t1 C$ x/ {
  424. ;                     empty string)7 h* ~4 u1 w9 v
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes/ _1 Y1 {. R0 ~8 r5 f: F
  426. ;                     to your code which will ensure the best interoperability
    ' p9 a- ]) P7 O. w6 [( `. n9 J
  427. ;                     and forward compatibility of your code$ T: s( @3 |3 i/ e, ]
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    0 l! {- ]* T# G
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's3 |7 E' q  A$ {# U# ?
  430. ;                     initial startup1 Q" j6 Z4 D' b9 ~6 ?  s
  431. ; E_COMPILE_ERROR   - fatal compile-time errors, f4 j) R5 C) _/ C4 @
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    , L8 `- v1 g. K* x7 T
  433. ; E_USER_ERROR      - user-generated error message
    9 _7 ~0 }3 z; M& m
  434. ; E_USER_WARNING    - user-generated warning message% |2 q2 h$ M! h6 R3 s; P
  435. ; E_USER_NOTICE     - user-generated notice message" j& A& N1 v. }) @! u
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    : g7 {6 Y. m  e3 [. b9 J
  437. ;                     of PHP9 Y4 I, g. r: g0 C5 b/ ^
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    6 ?2 O  T, P- q" P& r7 b+ r) e
  439. ;
    : q5 J) V- b; r% v9 q$ K
  440. ; Common Values:$ i! R: d! ?: J' G0 k
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)/ J0 J8 A# E) b  }
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    4 _. z- V+ D/ H: H6 {
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    $ m4 r* a% w3 I
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    7 y/ h; N: p+ n, @
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    1 ~# H0 \  v% }6 ]5 f* O4 E: D
  446. ; Development Value: E_ALL
      M% D( @! e$ _) c* x' C' n5 D, C
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    5 G( P% |  O+ l7 |$ K
  448. ; http://php.net/error-reporting
    1 A* T( ~( ~) c+ J
  449. error_reporting = E_ALL & ~E_NOTICE6 |! }$ w+ z% K$ g' g

  450.   u3 f6 j% ~1 x$ l: w- o
  451. ; This directive controls whether or not and where PHP will output errors,
    : I& C& j. B$ ^' W  t) n( L$ L7 e
  452. ; notices and warnings too. Error output is very useful during development, but
      Z$ A3 k2 W+ {0 D7 ?8 V# B6 }, B
  453. ; it could be very dangerous in production environments. Depending on the code
    0 a' U+ Z( r" s/ V
  454. ; which is triggering the error, sensitive information could potentially leak) R  g5 ~3 \: p9 E4 s0 q  {
  455. ; out of your application such as database usernames and passwords or worse.
    & o+ N0 N6 X+ D; k# W# O/ w; |
  456. ; For production environments, we recommend logging errors rather than' R  k. `, i3 U, }- c6 P
  457. ; sending them to STDOUT.
    7 k& s  l% o" ?) T  {, q
  458. ; Possible Values:
    5 k: x) Y7 r2 O7 \3 Z
  459. ;   Off = Do not display any errors% D$ a1 r: y! g+ ?  w9 L4 V
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    & X. G! ~( _. X, B
  461. ;   On or stdout = Display errors to STDOUT
      h5 A4 G5 D  S# o: _
  462. ; Default Value: On4 x! J; G3 s2 V% l
  463. ; Development Value: On
    & c3 T" V3 C4 a# M6 Z1 i
  464. ; Production Value: Off
    . _6 E3 x/ _+ x% b5 R; Z& C
  465. ; http://php.net/display-errors
    3 T; }% [0 A) L! l& p
  466. display_errors = On* y5 f% v6 y1 n# b

  467. % b( ^6 p4 M" K$ ^# k" t
  468. ; The display of errors which occur during PHP's startup sequence are handled
    4 s0 I" k- E- G( u
  469. ; separately from display_errors. PHP's default behavior is to suppress those
      E0 c3 c7 G8 s  u% O5 b6 g
  470. ; errors from clients. Turning the display of startup errors on can be useful in1 `0 m3 R8 E6 z8 L3 o3 Q' o4 C2 h# s
  471. ; debugging configuration problems. We strongly recommend you
    ; f) v# v% M! l
  472. ; set this to 'off' for production servers.
    1 m( i$ n, Q2 X1 N6 r9 ^" a
  473. ; Default Value: Off# v) x% U! B. U$ D
  474. ; Development Value: On
    ! B6 m- v6 u' i( d8 ?
  475. ; Production Value: Off, Q9 ~3 D# W0 u0 U( a7 a- f
  476. ; http://php.net/display-startup-errors
    2 R. y3 Z' ]: v- {! r2 b
  477. display_startup_errors = Off
    5 `0 ~0 k- \' c) M, |$ W
  478. ! p/ W+ N4 W3 v. N
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    ; Y: R( y* Y. V6 T& d
  480. ; server-specific log, STDERR, or a location specified by the error_log
    9 m: m. [( n! G( z  i
  481. ; directive found below. While errors should not be displayed on productions8 W! M/ t) B/ u# b7 ]
  482. ; servers they should still be monitored and logging is a great way to do that.3 G% P$ z1 e. [7 U$ v, g) z* U
  483. ; Default Value: Off" I' ]; z( H) h2 k2 C  C  Z8 o
  484. ; Development Value: On8 s0 O2 e. g0 {3 D# Q
  485. ; Production Value: On) o/ G  P$ D7 @# Z1 U( u$ B
  486. ; http://php.net/log-errors) \5 i8 e  }) U: p% l4 s8 W
  487. log_errors = On5 n2 ~+ k3 ]. s7 O! \& S; ?
  488. % i! d8 Q+ S3 z/ ^$ G$ {% R/ ~/ S7 n
  489. ; Set maximum length of log_errors. In error_log information about the source is
    ! N, P& N0 |/ B- I! s9 H: Q
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
      A" z4 Q; Y1 X; o. E& s. Z
  491. ; http://php.net/log-errors-max-len
    0 _$ Y# ^# [$ j
  492. log_errors_max_len = 1024
    9 \' [: u) x- Y" `  I7 N0 L: N5 D

  493. 7 D' X& j3 f' A8 I/ g9 B
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same; G" X- e6 b6 q% e
  495. ; line unless ignore_repeated_source is set true.. B( r) b; b% l  v
  496. ; http://php.net/ignore-repeated-errors* F( h- ~. O/ d1 t  t4 q# c' ^" {; W  G
  497. ignore_repeated_errors = Off/ t  X! L$ ]! R+ q/ R3 U

  498. , Z4 _# q( i2 [7 Y
  499. ; Ignore source of message when ignoring repeated messages. When this setting" v& F: ]" p  R) U5 X3 u/ p
  500. ; is On you will not log errors with repeated messages from different files or
    ! v* t8 x8 @9 M3 T, ^  G' J" `
  501. ; source lines.) Y3 {" a0 T+ R8 M% t, b) B
  502. ; http://php.net/ignore-repeated-source9 y  s: ]) F/ y; ^  l( u; H5 ]
  503. ignore_repeated_source = Off+ ?# q' n% d# w1 W$ v
  504. * Z4 a' g" _  V8 Y" H* v
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    7 X& w6 s& F9 Q
  506. ; stdout or in the log). This has only effect in a debug compile, and if2 S) c$ h+ q; V  [& j
  507. ; error reporting includes E_WARNING in the allowed list
    $ E- M( i6 B7 v( x. n; I7 _+ c
  508. ; http://php.net/report-memleaks
    % L* o, z! J$ m6 e7 c5 _% u! y1 x1 w
  509. report_memleaks = On- c# y) p! o0 g( S0 F

  510. 3 ?0 d+ [# G. s0 d1 d& t
  511. ; This setting is on by default.
    5 O1 P5 e! Z( M& s$ R& o
  512. ;report_zend_debug = 0
    # n$ L3 \! n; |  t: s! m
  513. 2 `1 p+ M# w2 ]5 ^- Z/ }
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value* h& T7 g8 O  ~. J0 z/ a- a
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    - |7 k/ n" l) h8 N, j( u- P
  516. ; however be disabled on production servers.' a* ?' t/ f3 b7 a( {4 }  _, E
  517. ; Default Value: Off
    9 d( y. E3 H/ B& S) U1 s! k
  518. ; Development Value: On
    3 F( f9 q1 V) r
  519. ; Production Value: Off
    " w2 M  \5 f) |# J
  520. ; http://php.net/track-errors
    5 \/ Q& I, @& \1 W( Z
  521. track_errors = Off
    " l- w& |4 A( h
  522. . o# A- R6 R! _/ A7 \. X3 \2 R
  523. ; Turn off normal error reporting and emit XML-RPC error XML5 H1 T- m# r1 O1 z3 S/ g. M
  524. ; http://php.net/xmlrpc-errors
    ) j  x" [5 ~! H$ ^( h5 P( E, }
  525. ;xmlrpc_errors = 0: ?/ n1 M: P% Z/ i: R+ G- N
  526. , [" Y2 c3 o! Z+ `" D  ]
  527. ; An XML-RPC faultCode6 R0 Y0 U% ]/ I' O! }% g% d
  528. ;xmlrpc_error_number = 0
    2 o0 c3 x8 Y' P. a4 p/ X

  529. ' P+ l; n3 p# u6 @
  530. ; When PHP displays or logs an error, it has the capability of formatting the9 L$ ^5 H/ d2 r, ]# i' X! Z
  531. ; error message as HTML for easier reading. This directive controls whether
    + X/ j6 B" ?! T+ r. B/ k
  532. ; the error message is formatted as HTML or not.+ X: i! H4 ?# f+ M4 J( v
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI8 m" O$ K' l" _- I* m
  534. ; Default Value: On+ o* `  p. [9 ]! j: t; A' M
  535. ; Development Value: On. D- K* Q( S- M0 z8 R6 h) C& D( h
  536. ; Production value: On
    # U  S3 f$ t& f1 M6 X
  537. ; http://php.net/html-errors
    - w; W3 H5 m: @: z$ r
  538. html_errors = On9 c# D& e# |& z  m. C
  539. , ^5 l& Q7 _0 z5 J
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP( U) Z3 K+ y3 J" q; T: {7 b0 `% H
  541. ; produces clickable error messages that direct to a page describing the error# [9 x! f. m' X* v0 {6 R
  542. ; or function causing the error in detail.) `* I+ U7 b+ @0 O: \9 F" d
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    + w$ M9 X4 H9 I# r
  544. ; and change docref_root to the base URL of your local copy including the
    7 T2 V8 K4 p4 q* j% p
  545. ; leading '/'. You must also specify the file extension being used including* S. v: J8 t& Z# u
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which& P1 \! D2 ~; L$ g7 J1 F( w4 n# a
  547. ; case no links to documentation are generated.& }4 ], Y1 z& h6 s! _1 \
  548. ; Note: Never use this feature for production boxes.: y- Q  q' E6 k" C0 I
  549. ; http://php.net/docref-root
    0 E8 U3 O  D* D; T2 S( @# T$ q' P
  550. ; Examples, V( j2 i7 J# l
  551. ;docref_root = "/phpmanual/"
    $ y  u9 g3 L/ N& G6 |, x
  552. 5 P  y; L1 x, x8 _( l
  553. ; http://php.net/docref-ext
      ~$ D* o* ?% K/ g8 Z- M$ p6 l
  554. ;docref_ext = .html
      N6 Y3 S1 r* |

  555. ( n. e4 z6 j" s% k+ t( b- W* @5 \
  556. ; String to output before an error message. PHP's default behavior is to leave
    ! `0 Y% O/ e' x) r- e% o) u
  557. ; this setting blank.4 `: ^; F3 g* c4 E/ c/ Q
  558. ; http://php.net/error-prepend-string' U! [: p: d( p
  559. ; Example:
    / @3 s6 l9 n6 [) Q- k; e
  560. ;error_prepend_string = "<span style='color: #ff0000'>"4 t0 l! \  ~* |/ S4 K

  561. ( {8 E* t! A5 M" F/ U0 ^- U: B
  562. ; String to output after an error message. PHP's default behavior is to leave: @/ }5 R# J3 n) N
  563. ; this setting blank.
    $ |' N7 R9 P* M, `( E; a# D
  564. ; http://php.net/error-append-string
    0 @5 A' z' }) o6 v) M1 b, [$ U
  565. ; Example:% |+ {, S/ l$ y. b/ _" r( j% M- U
  566. ;error_append_string = "</span>"
    # D" Z% J( q# X# U1 Y% S7 m

  567. . E5 b/ f% F4 D) _7 o- n7 G
  568. ; Log errors to specified file. PHP's default behavior is to leave this value" j& T! H5 J' m5 i
  569. ; empty.4 V5 X. I; e; A: E+ W
  570. ; http://php.net/error-log+ Z2 x3 ]& A4 x4 h: X
  571. ; Example:3 k" {( }9 X- H  n6 D
  572. ;error_log = php_errors.log
    - o( `* _7 I( E8 g2 {+ y
  573. ; Log errors to syslog (Event Log on Windows).4 Y" S8 ~, U7 d  p, _
  574. ;error_log = syslog" p/ ~$ |% N% ?

  575.   U& W* m' W) F8 a+ O* D
  576. ;windows.show_crt_warning
    ' j$ p. T# C/ p' x
  577. ; Default value: 0
    / A" ~- k3 i6 t6 y1 R  p8 Q* N  c
  578. ; Development value: 0
    & b* x* Y0 C. z1 R, w& f, T+ J
  579. ; Production value: 0
    - r$ S. @; d! |/ x9 _/ C
  580. / T3 A# C/ F+ ^, N
  581. ;;;;;;;;;;;;;;;;;
    - L6 s- q/ b6 G5 l/ a  k& j2 F. F; a9 B
  582. ; Data Handling ;
    9 I7 [% X- O/ q* @$ O
  583. ;;;;;;;;;;;;;;;;;) y( c% T4 q; `) D8 v# [& w
  584. # S2 P7 j% N4 }0 \; ~3 `* v. M
  585. ; The separator used in PHP generated URLs to separate arguments.4 ?. ]) y: B. x( O* |
  586. ; PHP's default setting is "&".' m9 S" s% J1 F& {# g
  587. ; http://php.net/arg-separator.output" t2 ?, z! f; k* D3 V8 X: D  H
  588. ; Example:9 N4 Z* y+ S- [6 @. F
  589. ;arg_separator.output = "&amp;"( [+ B' P% V" R8 O* ^. s* A
  590. ) ?2 P$ L. o5 z
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    : |5 p% ^# G% k% q
  592. ; PHP's default setting is "&".8 |( A% k. J3 g2 y; G2 g$ B* J
  593. ; NOTE: Every character in this directive is considered as separator!4 X$ \4 m9 r! I0 `: ^- y; w7 ]
  594. ; http://php.net/arg-separator.input
    2 Z+ l! N1 n5 Q9 a+ S/ d, @3 U
  595. ; Example:1 g; i8 c% }1 ]7 m' [1 Z* @
  596. ;arg_separator.input = ";&"/ m) z& |7 `, Y" p5 I! _% z0 u
  597. 9 N! k: F" c4 K) ]) D* y: P5 V
  598. ; This directive determines which super global arrays are registered when PHP
    5 p! p) D, L% @$ T7 S4 x
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super& N" K) \2 l6 Y! J& `+ R
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty/ r- u5 U7 |! b& @# i
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    / a# `" h# _% \* D, X
  602. ; used as the others, ENV is not recommended on productions servers. You. v" X$ P) d* c  ^, o
  603. ; can still get access to the environment variables through getenv() should you
    2 p' F9 @$ o( v. q( {- ]3 a
  604. ; need to.; h7 b2 w3 ]' B6 d
  605. ; Default Value: "EGPCS"
    ' ~; y9 [6 D; m3 ~
  606. ; Development Value: "GPCS"2 F4 ^, Z- \5 S: t+ P( Y1 G; W
  607. ; Production Value: "GPCS";% U+ t% }, r& m
  608. ; http://php.net/variables-order/ c) X# h3 L! M6 N0 h
  609. variables_order = "GPCS"
    8 n8 J% _) m5 K* J9 ?5 q/ X
  610. : X8 W- D6 m$ v* J; ?+ O
  611. ; This directive determines which super global data (G,P & C) should be
    & \7 b; g  D3 k( I
  612. ; registered into the super global array REQUEST. If so, it also determines9 @# y6 w, n. Z/ a# u1 F6 J
  613. ; the order in which that data is registered. The values for this directive2 O0 }$ a" M8 L, o6 W
  614. ; are specified in the same manner as the variables_order directive,# M  N& d/ t6 q4 L# D) O, }
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
      W) |9 z9 o6 i5 W
  616. ; in the variables_order directive. It does not mean it will leave the super
    / Q6 B1 m6 F: K7 D2 h  P9 B
  617. ; globals array REQUEST empty.
    , s( w  M3 [7 m3 U3 z2 o# e- m+ @- p1 ^
  618. ; Default Value: None
      g. a6 I' q! F" Z0 [/ L( C
  619. ; Development Value: "GP"9 ]( Z, T  K; F) \
  620. ; Production Value: "GP"8 ~0 t0 q1 f9 V3 v6 B* A
  621. ; http://php.net/request-order
    : y* Z3 ]* w: s/ y
  622. request_order = "GP"
    " t/ Z; S7 V2 x& F6 Q. W

  623. 7 l9 [6 j/ v' r8 |* C
  624. ; This directive determines whether PHP registers $argv & $argc each time it8 e4 V- t5 A& n/ B# R1 X' B
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    0 x6 b4 G6 c1 \# ?) ]
  626. ; is invoked. $argc contains an integer representing the number of arguments
    . ?$ y- i1 v( z/ x3 \) s, y% m
  627. ; that were passed when the script was invoked. These arrays are extremely/ e) x. B3 H; n
  628. ; useful when running scripts from the command line. When this directive is
    ' T# \1 v6 u+ l7 y, @. \+ n( Y
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    - l; H: M% F" N/ N# E" @- h' M
  630. ; a script is executed. For performance reasons, this feature should be disabled: L. b- M. f+ L. v# l' Q5 Z. ?
  631. ; on production servers.
    * f6 k  Z. h+ a8 q0 n
  632. ; Note: This directive is hardcoded to On for the CLI SAPI3 _# X0 s# c$ A# C* A( _
  633. ; Default Value: On" g( V1 E- N) n3 P
  634. ; Development Value: Off
    : {5 U6 l' b/ L9 X5 P, ?
  635. ; Production Value: Off" e. T. e) J( Q5 }9 z2 o
  636. ; http://php.net/register-argc-argv% r( \2 v0 J, ~9 u+ Y3 o! Q9 Q
  637. register_argc_argv = Off8 j* m) H, [" o% W" v% g8 u+ P

  638. + F/ ^  W' ]7 n& v7 ]7 u  L- {
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're0 p) t9 E& S" K7 c
  640. ; first used (Just In Time) instead of when the script starts. If these
    ' u# A6 n: N! a9 i3 J& c
  641. ; variables are not used within a script, having this directive on will result
    ; M0 {/ E3 b- N
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    - Q' f7 E5 t! y0 f2 {* K
  643. ; for this directive to have any affect.
    . H' l: ]5 ]' h
  644. ; http://php.net/auto-globals-jit
    8 W7 F0 x& T0 g* e
  645. auto_globals_jit = On
    8 D- x# w3 n  A  ~+ I
  646. 3 X; X3 s  N; m% N) C4 U( z! Q
  647. ; Whether PHP will read the POST data.& ]) H; G4 g; m. U* n3 d
  648. ; This option is enabled by default.
    ) m$ k  g. B' Z, g' u
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST4 R6 E; q0 c. {+ B$ G! m
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    0 U+ X8 O+ i6 p6 R8 v' T6 `5 K
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    * z  W, F4 K+ ^0 C5 Q
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    % T7 e  Z% L2 L7 n3 a. ]
  653. ; http://php.net/enable-post-data-reading4 h# Y( r/ P- j
  654. ;enable_post_data_reading = Off
    " F* U- R: E  c" n) f, c
  655. & M- Y5 V" G, u6 r) Q  k
  656. ; Maximum size of POST data that PHP will accept.1 J% S1 k+ g& K
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ( A1 |4 c2 o$ H" H" Q  g; Y# F8 K
  658. ; is disabled through enable_post_data_reading.
    * }; u2 b+ G+ f' W  ?
  659. ; http://php.net/post-max-size) x8 a- `& K9 y3 {! E, Z# w
  660. post_max_size = 50M. W) Y, W0 Y( \' Z3 W3 O4 f

  661. % v: g# p0 g, G) B
  662. ; Automatically add files before PHP document./ m5 _' Z; p5 A& ^
  663. ; http://php.net/auto-prepend-file
    5 \5 V( L' B6 Z; N- X
  664. auto_prepend_file =
    4 w. [' G! D; I% O6 {. V1 a. n
  665. % s. q4 J: P: Y: w' C
  666. ; Automatically add files after PHP document.
    / P& m4 t7 |$ `% m3 d
  667. ; http://php.net/auto-append-file7 q2 B5 O) K5 x6 n3 a# ~$ Z
  668. auto_append_file =6 X0 G1 T0 E3 @6 G- S4 t

  669. 3 z, y5 o, Q& O$ d
  670. ; By default, PHP will output a media type using the Content-Type header. To
    1 K5 B; ]$ a4 \( N0 i* K
  671. ; disable this, simply set it to be empty.! L8 O' H3 G7 b
  672. ;
    7 A5 s9 P7 e( {2 I8 Y: y0 N
  673. ; PHP's built-in default media type is set to text/html.. ]$ ^5 s9 w$ Q  {
  674. ; http://php.net/default-mimetype4 I9 ]. v# u3 V1 L
  675. default_mimetype = "text/html"5 n% r3 b3 n; z! ]* N

  676. + A$ O* f% w& c+ f
  677. ; PHP's default character set is set to UTF-8.: w4 Z. S9 e) Q. Y( L4 ?) q; x/ J& X$ @
  678. ; http://php.net/default-charset
    ; R. `6 V, Y; E3 H' F
  679. default_charset = "UTF-8"
    8 Z* o  U% _' c# n0 v

  680. * N9 Y" g& L/ d9 P8 h, x6 I, C
  681. ; PHP internal character encoding is set to empty.6 F9 O; t$ g; C& O5 Z  V/ K
  682. ; If empty, default_charset is used.
    $ i2 ^) u5 Z5 v/ z1 _1 u; j9 b
  683. ; http://php.net/internal-encoding
    3 H: t- N# ?+ _' k3 ^9 k
  684. ;internal_encoding =' Z# l  h+ y  A( g
  685. 6 J0 j2 I3 K* N; R
  686. ; PHP input character encoding is set to empty.  F! b5 c+ |0 k  }8 u4 ^
  687. ; If empty, default_charset is used.+ B% H, l/ V6 c
  688. ; http://php.net/input-encoding  M/ n2 U3 N) ?4 A9 G
  689. ;input_encoding =
    5 `) s5 f1 U7 N
  690. % K9 J1 d* ^# n
  691. ; PHP output character encoding is set to empty.
    : v5 ]4 X% z% O/ K4 R5 J: ]
  692. ; If empty, default_charset is used.3 u' ^. v( h- ^) Y# Q; s. b, Q
  693. ; See also output_buffer." ]4 Z; g1 |7 O9 d% H& `% c2 h
  694. ; http://php.net/output-encoding
    & m" a! A: k+ J1 `
  695. ;output_encoding =
    ; F. a0 `+ t( U8 K

  696. , ^! j( C7 u3 Q; d1 L/ B
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    1 {; Y. @" j# Q! ^6 o+ x( V
  698. ; to disable this feature and it will be removed in a future version.' Y8 x# a/ {& [! u9 O
  699. ; If post reading is disabled through enable_post_data_reading,
      P4 d0 m8 x; k
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    " i$ r: ^+ Y+ O, S' T
  701. ; http://php.net/always-populate-raw-post-data
    $ q8 d/ m7 B$ @9 O$ u
  702. ;always_populate_raw_post_data = -1! F4 R+ I1 |' s; ?. @' Q- T* G
  703. ' R  b& A- W/ Y$ v7 e3 V9 ]2 O
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    % N" q4 \/ w9 e+ B# F
  705. ; Paths and Directories ;
    8 y* H# r  P! _, U" D9 D1 f
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;6 p2 R2 ?0 ~: A4 h

  707. 0 z! n  E: o7 A
  708. ; UNIX: "/path1:/path2"
    5 ?- O/ m* m3 ~) {
  709. ;include_path = ".:/php/includes"
    5 G" [5 Y" z5 Q" R) g  O( e. T
  710. ;
    2 X) g. o. z: C8 \$ M, V
  711. ; Windows: "\path1;\path2"
    3 B6 m1 E# `; p8 G# s3 ~/ Z. M& ?
  712. ;include_path = ".;c:\php\includes") R6 ~9 O! h% r& M/ h* Z. `: `& L
  713. ;
    * g4 X/ S# p* H. K
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    1 q( R5 _7 L! O9 U5 ^$ e6 w( z
  715. ; http://php.net/include-path1 C# \+ F. F: m0 R/ s

  716. 0 g5 v* N! M; ^2 A
  717. ; The root of the PHP pages, used only if nonempty.; ^  k$ S, |& n+ D$ ]
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root% l) b5 O8 E1 V6 e0 W
  719. ; if you are running php as a CGI under any web server (other than IIS)2 @3 A$ S3 P6 I" i9 a* Q
  720. ; see documentation for security issues.  The alternate is to use the9 f2 j+ w" k+ E4 m
  721. ; cgi.force_redirect configuration below
    7 g  r% R: j  _7 K
  722. ; http://php.net/doc-root+ B7 r; b9 J) T  e% o5 r$ V
  723. doc_root =
    7 t4 B' r- W! H$ C+ w8 ^

  724. 6 h  o! u0 A" r' Q
  725. ; The directory under which PHP opens the script using /~username used only
    8 Y7 \( \2 Y# A
  726. ; if nonempty.
      u" g. L0 I8 M* K8 j9 \
  727. ; http://php.net/user-dir
    $ X9 t0 R( d2 D
  728. user_dir =
    3 C1 t8 S: D' }' u5 {

  729. ' w- w+ E) @! w. x
  730. ; Directory in which the loadable extensions (modules) reside.2 m& z, b- H% h' I! E
  731. ; http://php.net/extension-dir
    3 d! N) f" i, ^2 E
  732. ; extension_dir = "./"2 V* [7 G8 J( f- D/ x0 z6 a( K
  733. ; On windows:5 h, @# Y8 t6 @+ h  ?7 W) A
  734. ; extension_dir = "ext": Q, [! I( a  K3 v- J1 q% B

  735. % K6 p: l5 q& v+ X1 t5 x2 B' I
  736. ; Directory where the temporary files should be placed./ l. I2 N' X% _
  737. ; Defaults to the system default (see sys_get_temp_dir)! g5 ?5 i; k& M) _( u8 x( I) Z7 m
  738. ; sys_temp_dir = "/tmp"
    : m. B/ h4 c0 y, f# T
  739. 8 r& z0 P; }( d# v8 H& G& a9 I4 w& y
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work9 T# u9 [7 I* Z7 r/ b
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    5 d7 H( r  ]% n' U9 @7 E" F0 F1 ?2 h: H
  742. ; disabled on them.
    9 a8 p7 C. S! n! Z- Q. _
  743. ; http://php.net/enable-dl
    ! j; J$ A; p4 c  w6 s: T
  744. enable_dl = Off
    2 E$ B/ `8 W. c& D! H* S/ W/ ]
  745. . O/ i1 `- b, M, r% m- y( Y8 D
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    $ F2 G  i, k2 c+ Q' H- L
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can3 [8 A$ D  j" K9 i  D
  748. ; turn it off here AT YOUR OWN RISK# ?$ h% P( ?/ V
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**6 E9 m  ?8 @0 a3 p* Y2 J
  750. ; http://php.net/cgi.force-redirect
    0 g2 T+ g+ v% }2 W( G
  751. ;cgi.force_redirect = 1
    - b+ C6 w9 Z0 X, M1 ~* N7 R

  752. - D2 J* U1 D( }0 D# @( }/ R5 B
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    6 g( d6 e6 K7 [
  754. ; every request. PHP's default behavior is to disable this feature.6 V2 M$ P: Q: t: Y  v: n
  755. ;cgi.nph = 1- j" G; v; {& U8 T
  756. : Z6 G: [6 r0 [& h5 S
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape6 ^$ E. T" q8 \- `$ z# }, I5 h
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    1 \0 t' v( Q* s& m% ?$ K6 n# Z7 E- U
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    * J0 w6 i  F, K4 d" M, V: ?7 O
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.9 A2 C; E  M, J: ~3 e
  761. ; http://php.net/cgi.redirect-status-env) N% k& L, I$ E5 k0 o( x
  762. ;cgi.redirect_status_env =/ m& y* i" p) V
  763. 5 x6 r6 A2 A% ~2 @
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ) ^0 s; S- u6 t' H* Q
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    , d7 Q' N1 H# @! d* y6 s
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ) Y5 r) y/ Z+ l
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting; |2 c% d8 G# `, x) ~
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts$ r: Z. v) g5 l" ^* C" p% R
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.% m& ]9 [. p) w
  770. ; http://php.net/cgi.fix-pathinfo% e) k+ B8 @* o0 U: d9 b
  771. cgi.fix_pathinfo=1
    & [- Z+ H7 ?9 O# i
  772. ) {& `! J3 g5 S
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside$ r% w3 P0 m( Q0 e
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    , @; D2 Y0 m7 M$ W% ^) a
  775. ; http://php.net/cgi.dicard-path7 l2 g$ p" R$ }( v. I8 ~
  776. ;cgi.discard_path=1
    ! F& o, p& J7 V8 l3 x+ G
  777. 7 b2 v/ G. h$ D! x$ ^
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    5 H' s! ^) u+ s5 n8 d3 K+ k# L; {
  779. ; security tokens of the calling client.  This allows IIS to define the; |# }, b$ ]$ N; F
  780. ; security context that the request runs under.  mod_fastcgi under Apache6 G2 B3 Z" R, Q( O" }  M5 E, ]
  781. ; does not currently support this feature (03/17/2002)
    & g( y! m4 c( z& W
  782. ; Set to 1 if running under IIS.  Default is zero.+ p; w7 W4 ]  l
  783. ; http://php.net/fastcgi.impersonate. Y5 q0 x7 j( ?2 B5 |( |6 S3 e$ `
  784. ;fastcgi.impersonate = 1
    - S# w: X9 n: \- N
  785. " T% D! F' k6 h. l" R
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable, C- s) l' Q, ?& N/ G1 F
  787. ; this feature.
    . S8 a  a' j; h% D* h& j
  788. ;fastcgi.logging = 0+ k' z" i- v2 _- }* d

  789. 3 n8 J& T* d4 D# {
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    $ V1 \& G: X3 X; l% V1 ?
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    8 f2 y5 m) z2 k' A5 U
  792. ; is supported by Apache. When this option is set to 1, PHP will send9 i0 Q8 S* p2 K1 B( b- S, B' x
  793. ; RFC2616 compliant header.1 t! [/ [% x/ l7 i$ o( b
  794. ; Default is zero.8 ?; x. }' {: _9 Z  B
  795. ; http://php.net/cgi.rfc2616-headers
    7 ^7 j7 s7 g! W1 G& \
  796. ;cgi.rfc2616_headers = 0# _( w/ |# }( Z+ Y3 j: D

  797. # R, L2 b/ U% |" Y  r
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!- z) P5 f  J$ ^( m
  799. ; (shebang) at the top of the running script. This line might be needed if the$ L& p- B4 }" {/ q- L
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI% {+ W" s) g4 ^2 N( F2 ^3 f
  801. ; mode skips this line and ignores its content if this directive is turned on.* n$ u2 F  G+ x3 ^9 Y& d
  802. ; http://php.net/cgi.check-shebang-line
    + f! p  K9 @- E! u; c
  803. ;cgi.check_shebang_line=11 c8 b+ u9 R' j- ~

  804. $ d! I. L( w& H/ ?6 ]& [4 M
  805. ;;;;;;;;;;;;;;;;5 J! `5 a+ f- L" c
  806. ; File Uploads ;
    ( \4 \/ N3 N  Y* J! w/ P
  807. ;;;;;;;;;;;;;;;;2 x6 Z# `/ T3 I- [/ E
  808. 7 q# l6 @& ^: n- n* `7 H
  809. ; Whether to allow HTTP file uploads.
    % u( j, f2 p. m: F- J
  810. ; http://php.net/file-uploads3 _2 m) T6 L: @. C/ K
  811. file_uploads = On( A4 q4 A2 J* z/ _" H/ }% t/ t8 z0 w, \
  812. # r, }4 Z# f* E4 G, j8 T# m
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    $ d# j% q( E/ a. [- _
  814. ; specified).  b. `& ~# D* o
  815. ; http://php.net/upload-tmp-dir2 w- U5 \- M. k& s
  816. ;upload_tmp_dir =
    ! Y9 \$ a2 O* p. _  u+ a4 d1 P

  817. , v( K, l0 G  M" w4 o$ n( f
  818. ; Maximum allowed size for uploaded files.2 x5 y) E$ t. q
  819. ; http://php.net/upload-max-filesize2 @, b# Y* x1 T+ {# Q
  820. upload_max_filesize = 50M, I, r3 V  F" m. n. `) ?( A

  821. ( s! k; b/ o2 U* l8 x
  822. ; Maximum number of files that can be uploaded via a single request/ u1 @& \+ e7 q$ v/ {1 T! P0 o, h: y
  823. max_file_uploads = 20" {" D& z  i2 X8 P. P/ D' Z4 S7 Q

  824. ( O6 F0 t# m' T, |
  825. ;;;;;;;;;;;;;;;;;;
    ' ]/ y3 B5 N$ j
  826. ; Fopen wrappers ;
    8 A5 A% l# Z! ~# {9 m
  827. ;;;;;;;;;;;;;;;;;;# M( {" C% I0 m. T( E1 V

  828. 3 ~4 N6 [) @7 k# m
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.4 N! J, E2 N4 D' {) w7 g8 e5 L
  830. ; http://php.net/allow-url-fopen1 f+ _( G' g8 w  G
  831. allow_url_fopen = On8 n1 s. Z" A- R. Z1 @! q6 ?, M& _

  832. ; {( F) |% p9 t% G& X5 v, ]9 q2 o
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    : Z: @2 k0 o* x  P, C& |& T5 z! m
  834. ; http://php.net/allow-url-include" p+ J$ N: ]$ m  M1 @
  835. allow_url_include = Off5 T# H4 T) q7 b# i$ M
  836. * ~  N/ e3 x0 v$ u
  837. ; Define the anonymous ftp password (your email address). PHP's default setting% K3 q" O) k4 Q
  838. ; for this is empty.  i' A  {8 _0 E6 {( ]
  839. ; http://php.net/from8 l1 L' m; N* K( r  A5 W! X
  840. ;from="john@doe.com"
    , r1 Y% |& Q& l8 V
  841. , _1 w/ K- s, p. Y5 p0 M
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    ) }; Z* \6 n! ~! I$ t2 a, U0 \) O+ E
  843. ; http://php.net/user-agent. y& F8 }- W) s
  844. ;user_agent="PHP"
    " i/ F4 g4 X  V! m

  845. 7 A8 n+ ~  v& Z  y; C9 X* ]' w
  846. ; Default timeout for socket based streams (seconds)
    - J: f9 O* j- m' C
  847. ; http://php.net/default-socket-timeout
    ) Q7 `, `+ Z" j& B! [
  848. default_socket_timeout = 60/ @; H  f( V/ s$ G- p8 e

  849. " @" H5 N& a4 i! H: R
  850. ; If your scripts have to deal with files from Macintosh systems,
    ) o; w8 P  I+ x& q; |
  851. ; or you are running on a Mac and need to deal with files from  }& ]$ S0 j5 j3 J. p
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ; ^: N) [) F/ q7 G/ I  V/ _- z" W8 ^  K
  853. ; automatically detect the EOL character in those files so that) U0 m! @/ K% ?7 D/ ?# r4 b9 {& e3 l
  854. ; fgets() and file() will work regardless of the source of the file.* ~, T* e& Z8 h3 x4 u
  855. ; http://php.net/auto-detect-line-endings
    2 C" b% r3 N' i2 Q
  856. ;auto_detect_line_endings = Off7 {: M5 K& p% Z$ f2 d
  857. + [9 f" U4 Q0 c, I% L9 s1 T( G
  858. ;;;;;;;;;;;;;;;;;;;;;;* w: @  w( A* S( K+ o& t
  859. ; Dynamic Extensions ;, e4 e4 e+ `2 D
  860. ;;;;;;;;;;;;;;;;;;;;;;
    3 ]0 i: M- @3 P3 e
  861. 7 g5 e  r2 P4 ]* ^' C: {8 u3 i
  862. ; If you wish to have an extension loaded automatically, use the following
    ! t% l8 B+ t% |8 v
  863. ; syntax:, u8 e/ ~. L/ {7 s0 l/ R
  864. ;/ m# G' N2 I! r. w1 `  h
  865. ;   extension=modulename.extension
    # L5 }- a. z; C% D& P; }! L) U
  866. ;8 e' {7 Z8 Q( f4 I; j
  867. ; For example, on Windows:3 G& O; h* X' A4 u
  868. ;
    0 b: ~* J! ^9 \, U7 H! h: J
  869. ;   extension=msql.dll' n/ L1 u  m! P. e& g8 N5 o
  870. ;
    " j1 E; W; O& V# d: Y9 k4 G
  871. ; ... or under UNIX:+ O/ C8 j. d2 a3 p# q" v: _& o$ p1 L
  872. ;' k+ t' n) ^: B6 u
  873. ;   extension=msql.so
    + a9 I0 o3 c7 Z: z( x
  874. ;
    , W8 \# r$ T* W
  875. ; ... or with a path:' `; s7 M  h# A  q5 n  R/ _  h# I
  876. ;
    $ Z( ~5 U" y8 |& U
  877. ;   extension=/path/to/extension/msql.so3 @- W' a: K+ q& V" k! l- T
  878. ;' w/ S7 ~; m  f- G
  879. ; If you only provide the name of the extension, PHP will look for it in its
    5 h; V$ S( ?* v: Q: A
  880. ; default extension directory.# k9 J$ H5 x! c$ P3 y
  881. ;
    - e' Z  Z0 C0 e! l5 M
  882. ; Windows Extensions
    " ]; ^& i' G" x! i4 M5 T+ Y5 ?
  883. ; Note that ODBC support is built in, so no dll is needed for it.  u2 t& t; p7 T+ ?! p7 r
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5): A% Y2 d7 o* {; [4 _! }5 U
  885. ; extension folders as well as the separate PECL DLL download (PHP 5)." u, ~5 t7 g% r0 q+ `  d+ F
  886. ; Be sure to appropriately set the extension_dir directive.4 \+ u' t) S- Z1 K. S
  887. ;; M/ ^+ H4 B, Z- j. j% r
  888. ;extension=php_bz2.dll8 l( ^. ]( \2 z( ]+ w+ c
  889. ;extension=php_curl.dll# I$ `* `0 l" w: i" U- P/ P& ~4 N* D
  890. ;extension=php_fileinfo.dll
    " ^# V$ l; R7 y: o6 ~
  891. ;extension=php_gd2.dll
    ) b, V* U" W% K
  892. ;extension=php_gettext.dll
    6 B& u5 q; L1 c% d! Q/ X
  893. ;extension=php_gmp.dll- `0 Q" r$ p" x3 d& v
  894. ;extension=php_intl.dll; k* o  W- l0 J1 K- a" ?# Q
  895. ;extension=php_imap.dll
    / K. X, n" T8 ?/ H
  896. ;extension=php_interbase.dll
    6 O2 T4 G, `% s) P) h. v3 I- |$ N
  897. ;extension=php_ldap.dll* Y( k1 r2 U# l6 R5 e( x
  898. ;extension=php_mbstring.dll
    " z* U4 s  _7 n. |8 k3 p! y
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    1 h, C: v, d$ {1 _2 T$ i! O: i& C
  900. ;extension=php_mysql.dll
    & t! U9 o: t# V1 |* `
  901. ;extension=php_mysqli.dll
    . }& v# p; X) @8 e
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client7 D" X1 D4 m7 y: o. s. u
  903. ;extension=php_openssl.dll
    % {& D0 o9 ^- s. p- h( T% H4 O
  904. ;extension=php_pdo_firebird.dll
    3 e# j/ z2 I0 ~9 r
  905. ;extension=php_pdo_mysql.dll" J* L. J1 @( j$ Z
  906. ;extension=php_pdo_oci.dll* F! G7 @  L/ H6 i& p
  907. ;extension=php_pdo_odbc.dll/ c( }: r- Y3 |; j
  908. ;extension=php_pdo_pgsql.dll; x1 F6 D/ f5 ^8 X4 P
  909. ;extension=php_pdo_sqlite.dll
    ! f8 N3 j& b8 a
  910. ;extension=php_pgsql.dll
    ) l' b0 B6 X" b. \3 p0 F( i
  911. ;extension=php_shmop.dll! x% X3 P- b6 t! P3 L; u

  912. & q& ~1 n; M+ I* @1 y- L7 V# v  X- M2 H
  913. ; The MIBS data available in the PHP distribution must be installed.
    # p' G, r7 Y( T/ u& \
  914. ; See http://www.php.net/manual/en/snmp.installation.php 6 i( Z, Y* M" q. d, b4 ]
  915. ;extension=php_snmp.dll
    # V# ]4 ?+ @/ |$ |7 }$ A9 q
  916. . h* f8 M/ b, `* X; Y8 q! }
  917. ;extension=php_soap.dll2 f5 D! a( y2 i+ y5 O" `
  918. ;extension=php_sockets.dll
    4 q+ m5 Z  M% m
  919. ;extension=php_sqlite3.dll
    # n+ l' J' V' ]9 @/ d
  920. ;extension=php_sybase_ct.dll
    ! e9 K; j  _2 u" d! S/ {
  921. ;extension=php_tidy.dll( a- z6 }- Z, P5 J) m  s9 I
  922. ;extension=php_xmlrpc.dll% N: e/ j: A7 K! c+ g6 T6 U* B# \
  923. ;extension=php_xsl.dll
    . b0 W% a" j0 u* X% `! q

  924. ' ^% s9 C2 g' k7 ^
  925. ;;;;;;;;;;;;;;;;;;;
    " L! ?5 c- s5 L4 F& w- W$ K& ~
  926. ; Module Settings ;4 u7 Z+ H& ?/ a' q- N8 Z
  927. ;;;;;;;;;;;;;;;;;;;
    ' P  l! Y5 }& S6 B3 z

  928. , _7 i$ w! y1 p1 H
  929. [CLI Server]
    ' i/ n4 G( Z( r7 L5 w1 m6 n
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.3 k" J4 G9 j2 I5 O
  931. cli_server.color = On
    ' C6 j4 ?% p, V$ T4 y

  932. 0 [! g9 n( G" F9 A
  933. [Date]3 {& Q. `5 O& L' ?; W9 o
  934. ; Defines the default timezone used by the date functions% V: V6 o/ @: y# L5 K) e6 }
  935. ; http://php.net/date.timezone, [  |: c  _% C6 `" N! n
  936. date.timezone = PRC+ u3 l4 r' _1 |& f0 `8 ]; ~$ l( G

  937. ( v. ~! I  H. C- m9 `9 j* j2 q5 ^5 Y! A
  938. ; http://php.net/date.default-latitude' L7 U: B$ t: g* b
  939. ;date.default_latitude = 31.7667' i- n* _. I. e; h; y
  940. 2 c6 a& ?. d0 c# d  [% D5 }
  941. ; http://php.net/date.default-longitude
    - i& x" @" B9 p
  942. ;date.default_longitude = 35.2333
    ; X/ M, P3 I6 Y4 q; {1 }

  943. % W3 l" w( V3 U% a* s  V  X6 X
  944. ; http://php.net/date.sunrise-zenith& o! m8 O* U1 v
  945. ;date.sunrise_zenith = 90.5833330 x. A& s- v8 M0 N2 ^6 U

  946. ( c/ n2 J3 \' U# P( t
  947. ; http://php.net/date.sunset-zenith
    , U7 t& m# }, ~7 k; j5 c+ X
  948. ;date.sunset_zenith = 90.583333
    ! o3 H! q, m1 ~4 \
  949. $ ]- ]. p* r( x
  950. [filter]
    # B9 ~2 a0 l3 c$ m
  951. ; http://php.net/filter.default4 q' `# G- }1 y* t5 [9 m
  952. ;filter.default = unsafe_raw, M+ k8 [6 a% X) g
  953. - E0 O0 h  |; G9 W0 H: M
  954. ; http://php.net/filter.default-flags5 q6 ~( o/ n' t- v
  955. ;filter.default_flags =3 }: h2 e$ }9 ?0 d4 A
  956. " c0 B+ z/ c" ^* @
  957. [iconv]
    & T" v2 @% n8 x6 h
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
      a' i$ F9 a$ |" k$ J, n/ w
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.6 h0 U' ?1 @& b' _" u( u5 c7 c" @
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    6 o! z$ _7 w; M5 _1 {/ d3 C
  961. ;iconv.input_encoding =/ j3 g( `. `6 w; A( n  v
  962. $ y! g& R/ q( k' D- p/ m
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.6 z1 W8 b# ~$ R( t
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.; ~' |7 k  t7 ]# I6 y
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 n- H# d" a0 S
  966. ;iconv.internal_encoding =
    ( b; ~6 \& L. |$ g( |
  967. % u$ K- e7 R  y' n
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.) E8 [$ l4 Y: q
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ) t" E1 ~7 e8 p- o
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding. P( ?3 @6 M+ G' h: s
  971. ; To use an output encoding conversion, iconv's output handler must be set" n" d' z- y- H& R) Z( i- z0 `* V
  972. ; otherwise output encoding conversion cannot be performed.( d0 N, o/ g, i: @  t$ I1 H
  973. ;iconv.output_encoding =
    0 {5 z2 [- ]" W7 t0 L) r' r

  974. 4 r: J' _$ _3 k8 I: ?
  975. [intl]
    ( u4 d4 q! U3 Q6 e: ]6 y
  976. ;intl.default_locale =
    * ]: T8 v% O" w- ~' v  Y0 A
  977. ; This directive allows you to produce PHP errors when some error
    ' o: I% l5 D+ |- T
  978. ; happens within intl functions. The value is the level of the error produced.
    # Y. C' O! h+ E" m
  979. ; Default is 0, which does not produce any errors.
    * I7 l: F! |& X' m2 _
  980. ;intl.error_level = E_WARNING
    1 l2 n0 U9 N2 _7 r8 `' a9 U8 [7 c/ W
  981. ;intl.use_exceptions = 00 b9 D7 Y* @5 O( `5 V7 O

  982. + M1 B) G6 ~# A0 z
  983. [sqlite3]& j2 P1 [3 r* M( c& F
  984. ;sqlite3.extension_dir =
    : p# c  D" y. J! i% e
  985. 3 M  \+ h2 K4 L% l8 h. a% j! X% W
  986. [Pcre]
    8 J' S! [8 D+ g, ?, V( s, p
  987. ;PCRE library backtracking limit.
    " C" |; ~( N/ q& w$ i  _
  988. ; http://php.net/pcre.backtrack-limit! S9 P- B) [. D; l. _
  989. ;pcre.backtrack_limit=100000
    + X! z( F0 o4 C! v0 z- m' I' B

  990. 0 s1 f' y8 {* m& M. @
  991. ;PCRE library recursion limit.* e6 r" v1 Z. \* D2 j+ Z* [- k; g
  992. ;Please note that if you set this value to a high number you may consume all
    ! O, p4 f  W( i+ p
  993. ;the available process stack and eventually crash PHP (due to reaching the
    , i) O9 a$ F) c! l% C
  994. ;stack size limit imposed by the Operating System).
    ; u; V! x3 ]6 I3 i
  995. ; http://php.net/pcre.recursion-limit
    # Y! Z, ?- W- \& ~( j7 s) Y% J) g
  996. ;pcre.recursion_limit=100000* p$ d$ s7 M0 J! S
  997. 9 u1 p, H' _' }
  998. [Pdo]
    9 `& W9 ^, I9 w
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"/ R' e2 [2 H0 W
  1000. ; http://php.net/pdo-odbc.connection-pooling
    : ~6 T- w  h% B7 m
  1001. ;pdo_odbc.connection_pooling=strict
    2 N/ L! T# M/ n. J
  1002. , A, H+ Z  ]' P- U
  1003. ;pdo_odbc.db2_instance_name
    8 R( H4 {1 i; j' {2 Y
  1004. 2 w; s+ D6 J& b
  1005. [Pdo_mysql]1 O6 {* n. j& q# h
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . l" s: g- H9 m- u% d- s7 T: t
  1007. ; http://php.net/pdo_mysql.cache_size
    ' y; O4 j" @1 i/ b' i' ~4 z. Q. j
  1008. pdo_mysql.cache_size = 2000
    ' w. Q' k% L- u% K7 F6 ~

  1009. ) k' [# H+ T0 O) Z- G% j, Y
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in" B# Z; j2 K" ~8 I& o+ U5 Y  ?
  1011. ; MySQL defaults./ `( `. \& o" q. d# ~
  1012. ; http://php.net/pdo_mysql.default-socket
    / m6 Z5 n6 O4 a0 E' S
  1013. pdo_mysql.default_socket=
    ( @5 r5 H& G: N0 z! m7 G
  1014. ' Z+ r' t7 c1 b, u3 a( Y2 [
  1015. [Phar]- N7 W7 e1 H+ g4 Z' z
  1016. ; http://php.net/phar.readonly
    ; m# O; Y8 e0 |; f) {
  1017. ;phar.readonly = On5 S9 S2 @0 f+ K+ N

  1018. / |; u. T" K' g  }
  1019. ; http://php.net/phar.require-hash
    8 R/ M4 U* m+ T7 d7 l
  1020. ;phar.require_hash = On
    7 Z: p1 l& _0 _

  1021. . X9 W% L, T+ a$ L
  1022. ;phar.cache_list =
    + I3 d( ~3 Y: p; k/ X/ a

  1023. : t1 l3 m- f7 X) ~6 m: {% N& N
  1024. [mail function]
    5 K6 I9 C# {1 K' K  U- D# q
  1025. ; For Win32 only.
    + _# Y7 W7 S+ O2 v" B1 y
  1026. ; http://php.net/smtp( D) k% l- f1 z" K2 n2 _
  1027. SMTP = localhost
    " D% s* p5 C( ^2 l
  1028. ; http://php.net/smtp-port. `. Q) j% p1 [. O
  1029. smtp_port = 25
    " r1 b: M2 f% g- [; I3 L- H0 V
  1030. " V3 {" J4 O' M% `+ l
  1031. ; For Win32 only.
    1 C' g! v* C& ^" k1 a" c8 U
  1032. ; http://php.net/sendmail-from
    0 ?- V+ v; u: q  O) t
  1033. ;sendmail_from = me@example.com
    ; S( X9 @# {1 n6 ]9 q

  1034. % x! X! J0 T9 a) a
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    . Y' o% l' N1 y* q: A
  1036. ; http://php.net/sendmail-path+ A' a* j; M/ k4 G& Z/ @: [
  1037. sendmail_path = /usr/sbin/sendmail -t -i0 Q$ a: ]  k* ]; r. D1 U

  1038. ' y5 Z4 D2 a. o- h! N
  1039. ; Force the addition of the specified parameters to be passed as extra parameters* p+ [0 {* m! i. X/ f
  1040. ; to the sendmail binary. These parameters will always replace the value of
    $ F  N9 A4 l: S# G. ^# Q. V
  1041. ; the 5th parameter to mail().! j: X9 M" D7 M5 l# ~! Y5 B! w6 b
  1042. ;mail.force_extra_parameters =4 m5 a- R2 z: u; k( r+ b: b

  1043. 2 {& a' x9 K# y7 m& F
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    + C/ v! @: n5 c  g
  1045. mail.add_x_header = On0 }" a" ?% u. ~' ^5 h# N* b5 H
  1046. # o" b$ p; p) ?/ Q/ Q5 ~; S
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    6 `2 X+ j+ c0 ]- H% a
  1048. ; the full path of the script, line number, To address and headers.6 K( `/ S& I2 ]5 s( L
  1049. ;mail.log =
    3 Q, [8 g$ Y6 J/ H0 s9 X) R
  1050. ; Log mail to syslog (Event Log on Windows).
    3 N. H) B3 C' G5 q4 I1 b# I: P: _
  1051. ;mail.log = syslog
    ) Y  b" ]) Q+ z- B* k- ^
  1052. 5 k! S3 X+ C8 k
  1053. [SQL]
    $ f: h& m6 n( j3 P
  1054. ; http://php.net/sql.safe-mode
    # k: s! K5 ~5 h- ^- P
  1055. sql.safe_mode = Off
    : j: Z' _6 M/ B: M6 u& }: x
  1056. + ~; w9 _' m& N5 W5 Z
  1057. [ODBC]
    2 d, m. M/ R+ u; b2 K
  1058. ; http://php.net/odbc.default-db0 x4 M) L& Y: M. o% Z* x! J
  1059. ;odbc.default_db    =  Not yet implemented
    ' M/ |1 _2 G- e* D
  1060. ; d! N- n+ V) l* H2 K3 U" J6 B9 N
  1061. ; http://php.net/odbc.default-user
    9 I, N( G3 {5 f9 J4 `# _( B  \
  1062. ;odbc.default_user  =  Not yet implemented
    8 C1 q- i5 G4 \2 @- v
  1063. 0 I" ]) ^; H( ~! y1 g
  1064. ; http://php.net/odbc.default-pw9 d" ]2 A: _7 F7 e8 j; l3 G8 H
  1065. ;odbc.default_pw    =  Not yet implemented  H& e- W5 M0 _6 e' D3 W8 w

  1066. ' o& H+ T/ r8 M4 d* t- u
  1067. ; Controls the ODBC cursor model./ L) `6 o" C6 p
  1068. ; Default: SQL_CURSOR_STATIC (default).2 {# P- K3 N  Y7 x3 a' Z
  1069. ;odbc.default_cursortype6 z5 K  a, T  @

  1070. " f! t1 x; Q7 L9 I  c
  1071. ; Allow or prevent persistent links.
    : K$ s2 B# t# c" G$ h1 k+ t( e
  1072. ; http://php.net/odbc.allow-persistent
    0 F( `3 c1 r* C$ l% z& a; y, D' B
  1073. odbc.allow_persistent = On4 u' F1 M' g# K1 {' x
  1074. 4 ~- `; E3 r1 d* F
  1075. ; Check that a connection is still valid before reuse.
    , |$ w7 }/ G5 P! k3 x# Z3 `. v+ B$ A
  1076. ; http://php.net/odbc.check-persistent
    1 N% Z0 G+ v9 j6 c$ A, t
  1077. odbc.check_persistent = On+ G& ?# g; D" X) U  r. ~
  1078. % j" n* t2 R  v! P
  1079. ; Maximum number of persistent links.  -1 means no limit.
    # ~6 Z9 g, n+ y) l  e
  1080. ; http://php.net/odbc.max-persistent- v& X' f- }0 b" y9 U  t
  1081. odbc.max_persistent = -1
    ) a! i. r% ]" n2 N

  1082. ( X7 b1 D2 A# H4 `
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 y( ~" m, D0 M) V
  1084. ; http://php.net/odbc.max-links
    9 `' ]/ z/ _2 n& Y. w( e7 L( K! t
  1085. odbc.max_links = -1
    * h- b( O7 D) k  {) r/ \

  1086. ! H2 W. Q" g4 A* M. {
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means* y8 L& d$ }; c, S" t+ ^
  1088. ; passthru.) {, ?7 G- A% \0 v
  1089. ; http://php.net/odbc.defaultlrl1 K* [& B& L" q$ e+ S( n4 y
  1090. odbc.defaultlrl = 4096
    7 y/ A/ Q. s1 c; ^  R1 Y9 v2 r
  1091. ) ^, ~- z2 L& H! t' M3 T
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ( H$ P1 Q5 w( L. @$ e& a* A
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation* b, R3 ]+ Y1 u) Q* T( r  A
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode- F% ]+ P3 e# K9 f% h+ \  Z  G
  1095. ; http://php.net/odbc.defaultbinmode
    " K3 F3 V3 s% v2 I7 s
  1096. odbc.defaultbinmode = 1* w, L) i: Y4 n/ ?4 \9 F

  1097. 7 M4 p. s  h8 G, \$ _1 I& Y8 {" d
  1098. ;birdstep.max_links = -1
    1 S  o9 e1 m# E; n& d- Z/ e' r  c6 B

  1099. , {6 d. n1 N3 y3 `1 ~# z3 \" Y
  1100. [Interbase]% I: |$ D4 }8 x! Q2 T; y
  1101. ; Allow or prevent persistent links.
    - Y: T6 \- ?8 D
  1102. ibase.allow_persistent = 1  `) O: m" F0 A# U
  1103. # Z$ Y+ K4 E- Z, c( b
  1104. ; Maximum number of persistent links.  -1 means no limit.
    3 h/ L1 E! G; y6 m, I
  1105. ibase.max_persistent = -1' t+ S& R  b* p

  1106. 6 T0 g' ?* J" k2 @. f
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 ?1 Z9 b8 ?9 E+ A
  1108. ibase.max_links = -1
    . F. K' o5 Q+ \$ L  P  D/ [: j

  1109. 0 H, B& y( v$ c, ^* o
  1110. ; Default database name for ibase_connect().
    % O( {: {- l: H6 \0 N9 C
  1111. ;ibase.default_db =6 |) n: M; ^& h( x* x' ]4 l
  1112. % q1 w) i' R' ~
  1113. ; Default username for ibase_connect()." Z/ ]. j1 o5 N/ \: Y# W
  1114. ;ibase.default_user =
    " `# |* C' T9 _" T* ^% J' I
  1115. + }) o- Y! I5 P8 w% Y! o
  1116. ; Default password for ibase_connect().; V: [' _* ^- o% z0 w  s  W" i
  1117. ;ibase.default_password =
    " r# s/ r$ [2 f  [0 ]
  1118. ( [& i/ e! i/ R$ K$ j# v
  1119. ; Default charset for ibase_connect().; a, Q7 ^1 e; G* K# V+ E7 o8 M' e
  1120. ;ibase.default_charset =) B3 s( c: ~8 s5 s; K

  1121. 6 h# j' ~9 D2 q8 R" W4 y# x
  1122. ; Default timestamp format.
    ( e/ ~6 y; g+ Q- B- j
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"6 e1 D, ^! A  X7 l
  1124. : H  E+ a2 ]! m1 ]" u
  1125. ; Default date format.
    " ~2 ^# j, @8 Q1 q1 R* h: M
  1126. ibase.dateformat = "%Y-%m-%d"
    6 |8 \! }  M# z

  1127. $ D; b% c+ e5 B/ g) w" Q, E
  1128. ; Default time format.
    ' d9 A2 f& c7 ~. l* f
  1129. ibase.timeformat = "%H:%M:%S"
    4 S8 C6 d+ h0 [0 r
  1130. / d! p1 B) {  n4 k
  1131. [MySQL]
    , [4 U$ Q( ^: E1 e# N: W4 t
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    % _$ Z: \0 S4 q0 i' H' R
  1133. ; http://php.net/mysql.allow_local_infile" |4 v% I! U/ `# I1 ?" M
  1134. mysql.allow_local_infile = On
    5 m& t0 A! b2 M& h. q3 x2 W& f

  1135. 7 Z# w( X4 t: W* t) a" g
  1136. ; Allow or prevent persistent links.  L% c5 ?' [) y& A+ U9 h
  1137. ; http://php.net/mysql.allow-persistent; O+ F" g& g# z% b2 r8 c+ N! ~
  1138. mysql.allow_persistent = On
    . r1 S% V( I. u, M% m" p3 Z5 K$ ?
  1139. * F: o3 M9 _3 d. ~+ W
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache  _; H- B% M$ p. [" I' D# m* i
  1141. ; http://php.net/mysql.cache_size9 E8 Z) y! A$ |5 i5 L
  1142. mysql.cache_size = 2000
    ; _+ |1 F% P% [# l- e
  1143. ! k% p- G; W# ^8 d
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ( B5 p6 S& N0 s1 G0 `
  1145. ; http://php.net/mysql.max-persistent
    # S9 C' H, @% i7 Q6 R6 H& @
  1146. mysql.max_persistent = -1
    8 c$ V" X* M, x+ f: S# M

  1147. # z/ v# e1 q9 R; z
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.$ @) t: C5 J8 P& s" Q5 y8 _
  1149. ; http://php.net/mysql.max-links
    ( _4 c$ a. I4 S3 j
  1150. mysql.max_links = -1! I& q8 i( O' d* ^- J
  1151. 7 _; z" [' u, j2 Y3 S7 T' F4 ]+ A
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    7 x' Z3 V! x, j' U- Z; T; g. r1 T/ |
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    & T* O: y6 ~* K3 }8 W
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    : R" T0 }- M, L; L# ]
  1155. ; at MYSQL_PORT.
    1 \5 C% X8 o! G4 k
  1156. ; http://php.net/mysql.default-port7 m9 j( X+ ~* P$ M! t
  1157. mysql.default_port =; j6 @% C% ^* y% ?, J: M& p  v
  1158. 9 P/ |2 M& L0 u( g/ ~* b* b
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    9 B* {, x5 L, K& d! h# N; J' N
  1160. ; MySQL defaults.1 @. [1 U7 W) R' ]$ [
  1161. ; http://php.net/mysql.default-socket
    : K) M: P1 r* O) Q+ e+ |; T3 e1 d2 j
  1162. mysql.default_socket =. \. k& x) m8 x3 f

  1163. % C( w3 w! j0 d) Q/ Q) I% N
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    - _  N3 I+ W9 z( D6 h
  1165. ; http://php.net/mysql.default-host
    - \  s3 {! s  r* n; X
  1166. mysql.default_host =$ b2 K1 m0 L- o! b+ J" I
  1167. # A' H; o# @9 t
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).1 k2 K8 J, \! U7 n! @
  1169. ; http://php.net/mysql.default-user
    2 g# v  `0 N/ p. u
  1170. mysql.default_user =
    1 k, D9 t1 n) y5 y9 @6 Z

  1171. $ f' S5 B, `: X3 a& v* z
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    $ D8 x2 b0 c4 I' [- Q3 I
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    2 X1 H: [8 w& E% }1 O5 p8 C+ }( }
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    " ~$ e/ j- w! B
  1175. ; and reveal this password!  And of course, any users with read access to this/ j4 E: Y8 w( i: L# B  i" G" [
  1176. ; file will be able to reveal the password as well.
    3 Q- I5 i" F0 K, ?3 c3 U" J* J
  1177. ; http://php.net/mysql.default-password/ k* A* G0 M/ n; k, B# w9 N2 g
  1178. mysql.default_password =; }! V6 n& ^8 P/ s/ o: p% ]
  1179. - u' w1 j/ P6 j: I* u! k
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    6 g5 ], K- O3 Y) w& k. U
  1181. ; http://php.net/mysql.connect-timeout! S- [6 S5 [+ U2 h! Y2 U
  1182. mysql.connect_timeout = 60
    " f, e1 n7 [( I+ ~, X
  1183. 2 p$ A) ?. d9 b/ ^
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    : a2 i: A. A  |6 q! s+ f1 \' n6 o
  1185. ; SQL-Errors will be displayed.
    8 m( O2 c: |$ L: p7 K7 W8 _
  1186. ; http://php.net/mysql.trace-mode6 I* \+ s; t9 e5 v+ K% ~: r
  1187. mysql.trace_mode = Off2 v" m& o$ r5 r! y/ z# Y- f* `
  1188. , u! {1 r! c9 {- B& H
  1189. [MySQLi]( w1 U! C8 G; E/ M. |+ w

  1190.   D4 X+ J& q2 Z: J
  1191. ; Maximum number of persistent links.  -1 means no limit.
    , d# x) l3 @7 x& l+ @+ m/ w1 k/ ~
  1192. ; http://php.net/mysqli.max-persistent4 Y% D4 j+ C2 q' o& v
  1193. mysqli.max_persistent = -1! h+ r4 G" B/ C) L) G
  1194. 3 @! H$ s. G: b6 m% B  J3 M' R
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements; ~+ `! k4 _  y" g) P! P
  1196. ; http://php.net/mysqli.allow_local_infile6 }" [8 F# b, i2 H
  1197. ;mysqli.allow_local_infile = On# o8 S. R* J2 K. \

  1198. ) J: L' ?" b& a/ p  ]/ R
  1199. ; Allow or prevent persistent links.
    , Y0 F& ]7 E6 V
  1200. ; http://php.net/mysqli.allow-persistent
      O5 \5 d. z$ j1 V( B  g4 `
  1201. mysqli.allow_persistent = On8 \" `- o$ G: d7 M- C8 j: ^. Y7 Y( L

  1202. 6 o/ \7 U3 K$ K) s. l
  1203. ; Maximum number of links.  -1 means no limit." w4 Z9 k, ^8 z; W  g
  1204. ; http://php.net/mysqli.max-links
    % k7 ^8 W' [  g7 X* r1 O8 s
  1205. mysqli.max_links = -1
    6 J% [! r1 z9 a# T. Y+ u
  1206. 5 t7 X$ F3 a* \' O
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 R; N8 h9 i% C- C  W/ n8 l. [
  1208. ; http://php.net/mysqli.cache_size
    6 ^3 T% S* [* p- S
  1209. mysqli.cache_size = 2000
    % \* Y7 k% _6 E/ V: X, X

  1210. . m5 r9 L& {% C* G
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ! \* ~; |6 E2 S7 ~/ o: v1 x
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    1 K% L1 G( ]; u! `, @& [) C
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + b3 e- z- R) t& h: `( w
  1214. ; at MYSQL_PORT.7 w# h# U' {' S# l$ c; X
  1215. ; http://php.net/mysqli.default-port
    ' h) x8 T! a9 |  L/ K' k2 _4 s2 V$ ~
  1216. mysqli.default_port = 3306
    ! a# L8 {8 k; Q6 C; B
  1217. + n  l3 D( k) c, Y: j
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * v6 L- m2 @$ Q* h9 q
  1219. ; MySQL defaults.
    ' c9 l, c5 Y5 [, a3 F4 Q( w6 e' @
  1220. ; http://php.net/mysqli.default-socket
    $ @* I0 `0 a; J' s# H- z3 T0 I2 X/ a4 v
  1221. mysqli.default_socket =
    * w6 P: h+ t! U: X" y
  1222. $ Z3 q5 z& Y! ^' F
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).: h- ^6 h% ?( b
  1224. ; http://php.net/mysqli.default-host
    0 E; M7 N+ h2 }, {% \
  1225. mysqli.default_host =1 ^5 z7 z! L, F- C+ Y8 a/ G. A6 A

  1226. " N) @0 m4 g" F$ Y; e
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; Q5 K: G4 V8 I# Y6 I7 H; J) q! p$ y
  1228. ; http://php.net/mysqli.default-user
    / K( {9 z8 c. B( b, A* r# W6 R9 k& M
  1229. mysqli.default_user =* c" \: T' w9 R/ H* Q- S) m
  1230. , K6 j  g3 t1 t3 ~" o2 q
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).1 A' q; e0 L" p' z5 J$ v7 l
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ! b: G6 _8 H/ ]' ], _  H
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")! p* h$ V: I3 |* I' f* H
  1234. ; and reveal this password!  And of course, any users with read access to this& h4 j, ]" \! c6 e( i' L" M6 M
  1235. ; file will be able to reveal the password as well.; k: s2 e) a0 d+ G! e! [" n
  1236. ; http://php.net/mysqli.default-pw* d8 e4 }( t" |& x
  1237. mysqli.default_pw =  C7 R5 Q; S, C/ @- l" V. f* O
  1238. / z* k6 V, x2 P; W6 k& r# e
  1239. ; Allow or prevent reconnect7 q8 D6 M5 u- c8 z. p
  1240. mysqli.reconnect = Off# {% R0 b8 D: o% F

  1241.   o3 I; S) f4 \; O1 G3 B: q- R
  1242. [mysqlnd]
    $ a& t; ]9 Y; L' {6 j7 d
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be& ]8 g: v8 Q, \% |) D
  1244. ; used to tune and monitor MySQL operations.7 a' b6 v! H. R# E3 ~4 ^! C/ \. l" u
  1245. ; http://php.net/mysqlnd.collect_statistics+ y9 o: [% A6 B! S: S+ F. O% b. [
  1246. mysqlnd.collect_statistics = On1 R. f! I$ L3 X( h: p* Y* J

  1247. 3 }* ?8 B& u( U4 a2 S/ n" i, g
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be* G+ s. \: L8 |/ k) k: u
  1249. ; used to tune and monitor MySQL operations.
    1 K, z3 p6 x- f9 q7 s" F
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ; z3 G( E- \) |9 U
  1251. mysqlnd.collect_memory_statistics = Off0 ^3 M: U' }+ ~( f6 F, r0 v
  1252. : Q; {- W. Q4 }& g  H# {6 Y6 c& c
  1253. ; Records communication from all extensions using mysqlnd to the specified log7 ~+ K; t6 ^7 }5 H( M# ^( l4 V' d
  1254. ; file.
    ' Z, `2 ]/ b7 G/ s( U. y0 _
  1255. ; http://php.net/mysqlnd.debug
    3 J+ S. _" t. ]+ S1 q
  1256. ;mysqlnd.debug =! h0 L" ^5 Y! K! L

  1257.   ?& n. T7 |5 H
  1258. ; Defines which queries will be logged.. O1 A+ a) W* X* j! q( N% z' G
  1259. ; http://php.net/mysqlnd.log_mask
    : T, l$ H# w) k# p) \! U( p( R- i
  1260. ;mysqlnd.log_mask = 0! t/ |$ H2 Z, `% A  S
  1261. + `7 K- j( R- _  |/ T; |* ~
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.6 g, g0 ~; L/ B" ^5 v# S# }3 ^
  1263. ; http://php.net/mysqlnd.mempool_default_size: p# a: j: T0 o5 y
  1264. ;mysqlnd.mempool_default_size = 160009 Q3 l3 y- d( r: ~1 {
  1265. 9 F/ V: }+ f5 _3 l# M6 `' Y
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    7 w) q" C. a9 n5 ^6 v) ]2 n$ C
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    - q; }! g( K% t  {
  1268. ;mysqlnd.net_cmd_buffer_size = 20482 Y( y: R( J2 v9 i0 n% w1 u/ J. Z

  1269. ! U+ M; s. q/ H1 \
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    , l+ f* m; b2 B+ s. }  p1 B7 L; |
  1271. ; bytes.& w3 C! a$ X" N* k4 U
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    , N+ P+ V9 v  t0 K! }2 y- X! A
  1273. ;mysqlnd.net_read_buffer_size = 32768
    , T. d$ N& L& \4 v$ W% Q

  1274. + n% W7 m' P+ h* s6 S) V
  1275. ; Timeout for network requests in seconds.
    6 y( J; v* x: f( v1 M
  1276. ; http://php.net/mysqlnd.net_read_timeout
    " B; S) K  ^1 G! P: R5 s7 }
  1277. ;mysqlnd.net_read_timeout = 31536000
    ( d* U  ^( L  N( W  L

  1278. : }# B. o2 w( O; b3 y2 r7 `
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    - P6 Y5 p1 k8 l; x3 F
  1280. ; key.1 `2 d9 ?% \$ x" X& O3 `
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ' \$ c# c  l0 E- m) w0 j. M# N; {
  1282. ;mysqlnd.sha256_server_public_key =/ Z7 _* i8 ~+ e  A9 ~

  1283. : W' A0 w% g7 D8 r$ h1 V- v
  1284. [OCI8]
    ! U" m+ s: [& L* S- G$ r# Q  `" O, e

  1285. : @! m+ h) ?, C
  1286. ; Connection: Enables privileged connections using external
    ; F8 V1 C; @9 {: w; f, C/ }5 Q7 x
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA), w! Y6 v+ I5 n0 {3 I) s! i6 `0 h* s
  1288. ; http://php.net/oci8.privileged-connect8 L& e& B1 A# \3 Y. c& {
  1289. ;oci8.privileged_connect = Off
    0 E/ H1 ^& h5 U! W

  1290. ) v  L) y3 \$ a9 ?
  1291. ; Connection: The maximum number of persistent OCI8 connections per5 p6 @2 w: n- B/ t7 W
  1292. ; process. Using -1 means no limit.
    ( o- W2 B% o& H- u/ T+ F
  1293. ; http://php.net/oci8.max-persistent
    2 r% r$ A7 ^8 k4 @
  1294. ;oci8.max_persistent = -1
      U6 R7 w6 `! M! m

  1295. 3 [! i, p: p  R6 H! T8 J- k, f4 o2 M
  1296. ; Connection: The maximum number of seconds a process is allowed to& c' d5 r( {0 w8 p
  1297. ; maintain an idle persistent connection. Using -1 means idle5 E7 e7 a' U9 ^2 i  R  u6 y3 z
  1298. ; persistent connections will be maintained forever.
    " M4 G0 F! K. j) w: H9 v9 a
  1299. ; http://php.net/oci8.persistent-timeout& l; }2 b! H; i: F% `, ^2 N6 y7 K
  1300. ;oci8.persistent_timeout = -1
    5 }3 Y$ ~2 K" R- I
  1301. 2 g0 a0 l& F4 k4 }; X) T5 i- A
  1302. ; Connection: The number of seconds that must pass before issuing a2 N" k1 q* U4 _' _2 g9 p" r
  1303. ; ping during oci_pconnect() to check the connection validity. When% Y! |( K1 J6 ^6 q: ^! J
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ) ~  Z) E9 X# W( D' r3 j
  1305. ; pings completely.
    2 d) O; m3 Y! ?8 _
  1306. ; http://php.net/oci8.ping-interval7 C3 o4 `% }5 W8 }2 s4 m
  1307. ;oci8.ping_interval = 60
    $ E' x/ _0 |# Z; {7 D; Y3 M
  1308. & u' V! K" p4 `# j- \( E
  1309. ; Connection: Set this to a user chosen connection class to be used
    5 b" N9 Q7 C5 n/ E/ w6 U8 \( F
  1310. ; for all pooled server requests with Oracle 11g Database Resident% A, ]; Y9 R# r1 \! s4 x/ w, i
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to0 U6 O$ ]- P6 ?: _
  1312. ; the same string for all web servers running the same application,9 ]$ _  L; Q. @
  1313. ; the database pool must be configured, and the connection string must
      a3 V4 U) ]2 v2 X: _
  1314. ; specify to use a pooled server.
    , C7 b; y. y1 Z: P% B
  1315. ;oci8.connection_class =
    5 f1 V* b* C+ M6 c( H) |  B

  1316. $ _5 v  c( Q3 B7 U* ^6 p
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ; i4 d/ Y/ n1 J+ W
  1318. ; Notification (FAN) events generated when a database node fails. The
    4 v4 ?+ M, a. B% r/ E% G# `
  1319. ; database must also be configured to post FAN events.. }8 m4 u6 _1 |0 R' F
  1320. ;oci8.events = Off. \+ r6 O; A! a) u4 l$ w( @

  1321. ! N2 z+ ]% A6 ~& p6 P+ Q% N
  1322. ; Tuning: This option enables statement caching, and specifies how0 e' v' |7 T# s' x! [8 X) v
  1323. ; many statements to cache. Using 0 disables statement caching.& z" P9 C% ^6 F8 m$ M2 ]% `
  1324. ; http://php.net/oci8.statement-cache-size
    ) X" }- C9 p+ n( o' l
  1325. ;oci8.statement_cache_size = 20- @1 Q1 r3 Y7 J/ E2 S9 ^
  1326. . T) d3 t. o1 Y* n2 s" i+ U9 R
  1327. ; Tuning: Enables statement prefetching and sets the default number of4 l5 x  N2 j' v7 u+ L
  1328. ; rows that will be fetched automatically after statement execution.
    & X- o5 j5 i1 h1 x+ n
  1329. ; http://php.net/oci8.default-prefetch9 h1 i7 ~! d+ {+ V4 C
  1330. ;oci8.default_prefetch = 100
      W- ^- x  [9 |" q& j
  1331. / D7 j% F- M# B; h. N. Y4 a/ i
  1332. ; Compatibility. Using On means oci_close() will not close, v# D8 c! m' Q+ ^9 {" W8 D
  1333. ; oci_connect() and oci_new_connect() connections.
    ( Q6 t, Y" G$ T5 C8 t( q
  1334. ; http://php.net/oci8.old-oci-close-semantics- m: [! I9 m' i4 x- B' p: k
  1335. ;oci8.old_oci_close_semantics = Off
    ) j% p( c( x2 w6 o# g% s1 H7 _1 [) X
  1336. . {! w; Y( }/ y2 F# G
  1337. [PostgreSQL]
    3 n" i2 y& R4 ~( V
  1338. ; Allow or prevent persistent links.
    / U! a6 e# K5 g6 s& c
  1339. ; http://php.net/pgsql.allow-persistent
    7 j& e; K6 J1 |* C
  1340. pgsql.allow_persistent = On6 }, D0 W3 S# |
  1341. $ q' [4 B! \3 Y+ F" x- C4 h
  1342. ; Detect broken persistent links always with pg_pconnect()." g: X$ V& D* q  ]9 f. G7 O
  1343. ; Auto reset feature requires a little overheads.! ]3 C5 K2 Z4 N+ M+ a- r6 r' j( {
  1344. ; http://php.net/pgsql.auto-reset-persistent1 _9 H9 G7 r& R% Y/ Z5 t5 Q
  1345. pgsql.auto_reset_persistent = Off
    : Y* R" f/ y5 E( e" f$ N1 T* q. H

  1346. " k9 h3 O2 f' R
  1347. ; Maximum number of persistent links.  -1 means no limit.7 o2 B3 s" g9 G$ O; d
  1348. ; http://php.net/pgsql.max-persistent
    3 }3 _1 t9 a; D1 |1 o5 c6 k  W, f
  1349. pgsql.max_persistent = -14 {" J/ a) h- F$ Z1 ^

  1350. % f6 f- Y  G5 }, c! F: Z# e
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    , X* T$ u, p3 |2 w4 M& I- \2 C
  1352. ; http://php.net/pgsql.max-links' j  d" V+ K  U6 ]
  1353. pgsql.max_links = -1
    ' r  O  o& U+ E8 [+ _5 q2 T
  1354. + Q" F' Y* j* X& n
  1355. ; Ignore PostgreSQL backends Notice message or not.7 i  t0 h+ O3 G8 k! i- h
  1356. ; Notice message logging require a little overheads.
    - ]' X$ ^; C5 y) v8 S) }% o
  1357. ; http://php.net/pgsql.ignore-notice
    : O$ j9 N' b% }& x. ^% o& k' C
  1358. pgsql.ignore_notice = 0
    ( c- [8 _& V% m: h# F( D1 J' \

  1359. : |0 N# H. O: E' B, G6 a( w( V- a% m
  1360. ; Log PostgreSQL backends Notice message or not.1 f" j, \6 l( a
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.- H2 B9 }% [5 X+ B+ K
  1362. ; http://php.net/pgsql.log-notice
    2 a& Y7 t9 C" R& Y5 ]3 u
  1363. pgsql.log_notice = 0
    # N% s. V0 R) z8 ]6 k
  1364.   G, h0 D  D: z, v& {" j
  1365. [Sybase-CT]
    8 \1 @2 ?) ~, f# w
  1366. ; Allow or prevent persistent links.' W) q7 I6 M1 D( B9 n" R2 j+ w
  1367. ; http://php.net/sybct.allow-persistent
    ! l3 m. ~# s* A7 [8 A
  1368. sybct.allow_persistent = On/ Y7 L) Z5 _1 k  y

  1369. 9 [# e: w9 ?6 w4 b1 W
  1370. ; Maximum number of persistent links.  -1 means no limit.
    ' {# Z, {5 M5 \% a# U$ X
  1371. ; http://php.net/sybct.max-persistent( k8 Z2 H) c9 U3 }
  1372. sybct.max_persistent = -1
    4 J2 R" m. a6 v- g) x" w
  1373. ) t, }% Q" U) e9 R
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & P4 V" R& r' h5 _1 H, c9 |
  1375. ; http://php.net/sybct.max-links1 ?* |9 ]9 e3 ]  U' U3 e  _
  1376. sybct.max_links = -1
    * Z9 m" N* ~9 ]1 ?1 l9 K

  1377. - x( L, g: K+ N5 e
  1378. ; Minimum server message severity to display.
    5 ?- q) I7 ^6 b
  1379. ; http://php.net/sybct.min-server-severity
    + W' ^: B' ?3 L5 s! a( X
  1380. sybct.min_server_severity = 10
    6 a, c: F9 C2 X9 Q

  1381. " r9 `# c9 l/ n
  1382. ; Minimum client message severity to display.- c2 H% }( _* S) ]0 ~3 Y& n
  1383. ; http://php.net/sybct.min-client-severity0 e' X: ]* K" w) {% @
  1384. sybct.min_client_severity = 10$ d% S  R$ g) P# H# L
  1385. / R, v- h# g8 ~0 e  p
  1386. ; Set per-context timeout2 h, c2 N) F( x/ m' q6 c
  1387. ; http://php.net/sybct.timeout
    8 g, ?: x) n. _  _9 P0 i& ?- V) v
  1388. ;sybct.timeout=
    4 K, v! s" @) S) d0 N- T3 }

  1389. 8 s5 X' {! h5 c) V" J8 T
  1390. ;sybct.packet_size
    7 e' R" l, u$ d3 O
  1391. ; X  N* j2 K3 s& z
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    , p$ K5 i9 [: C( {9 s
  1393. ; Default: one minute
    * i$ n3 a. F# ~, [
  1394. ;sybct.login_timeout=9 k$ R+ r+ A1 Q% E) ~
  1395. 2 @2 ]+ M! _1 |0 N! T( c2 N! V
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.' n6 t6 ?: U7 A
  1397. ; Default: none: X% E  [1 Z, D- j( t& m3 @
  1398. ;sybct.hostname=
    : V  E* }8 y0 R6 g

  1399. 2 i- o: F4 E1 @$ s
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".9 r2 J/ I7 o' j2 e
  1401. ; Default: 0
    , L- r% C. n+ f6 `
  1402. ;sybct.deadlock_retry_count=1 B* l) B( X3 T5 U
  1403. , ~2 L; Z  z6 D  c, z9 S
  1404. [bcmath]& j+ \  z+ a5 M
  1405. ; Number of decimal digits for all bcmath functions.3 ^7 s* e) \9 H) a. A
  1406. ; http://php.net/bcmath.scale. O/ b7 L7 I6 x0 {
  1407. bcmath.scale = 0
    / o( Y2 b( ]: g# I

  1408. ( y& `" Q% a6 i% j. e
  1409. [browscap]
    * B7 ^. |1 d$ p( f' S
  1410. ; http://php.net/browscap! g$ ^- B4 |5 g" \( E1 C& D( a* J
  1411. ;browscap = extra/browscap.ini% b' i& J& r+ @

  1412. 2 @2 }! E1 ~, t" {
  1413. [Session]$ {" x. _5 w3 e% [; B+ l6 M/ K* w
  1414. ; Handler used to store/retrieve data.
    7 S7 n) z3 w1 @* u8 a
  1415. ; http://php.net/session.save-handler/ g; Y4 w9 n5 g- a, w. D
  1416. session.save_handler = files$ k0 G4 [1 F7 `* ~& a# z

  1417. . Y, r. j/ J2 F6 ?* R
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    / A; m) R8 u5 F! g" l
  1419. ; where data files are stored. Note: Windows users have to change this  U6 \; P0 G" P5 Z6 i
  1420. ; variable in order to use PHP's session functions.
    ! t% Z' |: D8 x* l& |6 O
  1421. ;
    9 X4 b7 H! ?) c4 _! f" G
  1422. ; The path can be defined as:
    / A" Y5 z$ C. L5 o
  1423. ;
    % v$ w' \6 p; u& u1 _% O
  1424. ;     session.save_path = "N;/path"# T3 u! R1 U/ V# X6 l# A1 h! G
  1425. ;
    - M9 W! j* I: m% C0 d0 ?! I
  1426. ; where N is an integer.  Instead of storing all the session files in
    0 S% @. j' M' V( O) ]$ k
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    , _% U# ?* ^+ S, O
  1428. ; store the session data in those directories.  This is useful if5 c* _, _" c# y+ T  j* Z
  1429. ; your OS has problems with many files in one directory, and is0 w" F- K% w' Q
  1430. ; a more efficient layout for servers that handle many sessions.# a9 }, V# d' j, d+ T1 T
  1431. ;
    7 ?% X* \4 N, E8 c) t/ t, R9 i( A
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    2 @) c5 _3 X" t! G( E$ f/ g. c
  1433. ;         You can use the script in the ext/session dir for that purpose.
    $ T# P. Z2 Q0 M1 r
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    7 _4 Q1 t" k$ w2 D+ O. S
  1435. ;         use subdirectories for session storage! Q5 s6 S. S( e# X" z1 Z3 ^% o7 c
  1436. ;
    / T* z& g/ f' z6 \! n
  1437. ; The file storage module creates files using mode 600 by default.
    % ?& J; }1 w; k, c- H& H9 ^1 c
  1438. ; You can change that by using2 R7 y/ V0 f- v6 a7 A7 S
  1439. ;, t1 h$ s$ I  w5 y4 X
  1440. ;     session.save_path = "N;MODE;/path"
    7 k  u; z% {; `6 C' V
  1441. ;* ]; }$ a8 D8 c3 t
  1442. ; where MODE is the octal representation of the mode. Note that this
      X$ {1 h% h0 E* d! r
  1443. ; does not overwrite the process's umask.
    : Q- S8 O' D) l9 `$ z
  1444. ; http://php.net/session.save-path
    . C3 E* c% k, F1 b
  1445. ;session.save_path = "/tmp"
    * `" d5 h* J6 Y+ N# b4 R1 L) i4 H% \# A
  1446. , l6 j* X0 R# ^: h1 y
  1447. ; Whether to use strict session mode.
    ! \2 k3 h+ r( b) P2 V
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    + D. R2 N# s4 n% t- T8 j
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    6 C$ N  k5 c. w) m+ ^, P
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ! B0 Q5 ]6 H' {
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    9 z, N) k1 |- Y$ d9 n* ^9 {
  1452. ; https://wiki.php.net/rfc/strict_sessions0 ^) D* V; S  j2 N$ Y" {$ e& a! H8 W
  1453. session.use_strict_mode = 0
    / N' h6 V% `; O: H- ?" _- o0 |2 `, ]

  1454. ; w* Y4 s7 |0 X
  1455. ; Whether to use cookies.
    2 h) _# ?8 z* O! Y8 }- P! x
  1456. ; http://php.net/session.use-cookies5 G7 y9 U. o. E* f
  1457. session.use_cookies = 1  E; s5 e0 ?/ y; L- H: m5 ~
  1458. % v3 u" h* Z& Z( V
  1459. ; http://php.net/session.cookie-secure. }5 Q( q: z9 V( ~2 G  L
  1460. ;session.cookie_secure =
    % j5 M, \0 q6 Q: p, B
  1461. / J; J% F% w# i! o: i
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining+ v; D! \8 w" A& Z: A. W
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    5 a) F1 Q$ [5 [7 y# y+ M! I& q" Y" s
  1464. ; session hijacking when not specifying and managing your own session id. It is8 z+ s, H. t& m
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ( X3 ]/ m6 |# m6 t1 e
  1466. ; http://php.net/session.use-only-cookies3 ?' {- m8 _- N
  1467. session.use_only_cookies = 1
    : f# R: W0 n6 V  I' b
  1468. ' C* S  V- I: T. {- C" i; G$ R
  1469. ; Name of the session (used as cookie name).6 f( E5 y' a) _- a' }6 i* n: _8 l
  1470. ; http://php.net/session.name, X( [0 o4 x! C: U
  1471. session.name = PHPSESSID& u; _: w9 S( ?

  1472. 5 N" \. w& F# W  A6 }
  1473. ; Initialize session on request startup." F5 ^! B" ]" ]0 E8 V9 X
  1474. ; http://php.net/session.auto-start) Z  o, p7 m+ a4 \) c
  1475. session.auto_start = 0- r) Q; b8 T, k: G
  1476. 5 T" J. h! @$ V) K7 K" Z
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    / k. c& N, K3 r1 k) ]8 D2 F
  1478. ; http://php.net/session.cookie-lifetime9 m" w7 F: k8 `3 n
  1479. session.cookie_lifetime = 0  C& t1 l; [  Q+ B8 l
  1480. ' ~- ?0 @4 g: o: N( L# b5 ?
  1481. ; The path for which the cookie is valid.5 P. o: w) y9 v1 A1 }6 B* q: D
  1482. ; http://php.net/session.cookie-path; n1 x) \( l. X& p, d
  1483. session.cookie_path = /
    : t& t4 V  o9 u0 n" ~1 h% S

  1484. . d" z% j8 }% k: N
  1485. ; The domain for which the cookie is valid.1 l" Z& P4 @$ I5 X
  1486. ; http://php.net/session.cookie-domain
    4 v6 a; |4 @/ ~5 ]9 T
  1487. session.cookie_domain =1 a: a9 L. o4 W( K5 J& F  J; \

  1488. ( D  F! ]' V1 ^0 M( K
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.5 ^2 m3 P- I& S& z5 i  }. V( j
  1490. ; http://php.net/session.cookie-httponly+ x9 q0 n) _# ]0 j
  1491. session.cookie_httponly =
    & f1 z* @4 m& o% `
  1492. * A0 H  m+ I2 u) z( k
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.6 p3 Y1 h% ]& O, h$ @' ]
  1494. ; http://php.net/session.serialize-handler* X* L# ^$ m: \8 x% b( V
  1495. session.serialize_handler = php
    3 g4 t3 `! S" \" D" @
  1496. . X5 H( u1 v6 ]6 x0 x0 M
  1497. ; Defines the probability that the 'garbage collection' process is started0 b" c, M8 M. s" |/ S
  1498. ; on every session initialization. The probability is calculated by using, O! S3 f' C( u8 ?+ H8 @1 n# T
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator4 f) r1 s0 h: I: f( U
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1, m1 r, L6 I4 h2 t* e. r+ W
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    : ]& g+ z8 I/ E
  1502. ; the gc will run on any give request.
    : t  h$ M1 J, o! M5 J
  1503. ; Default Value: 10 S4 V2 K, L- u7 q% l1 `
  1504. ; Development Value: 1  q, B- Z/ b, m) A" ~0 F* u
  1505. ; Production Value: 1
    4 x9 _  a" {- W3 R
  1506. ; http://php.net/session.gc-probability
    ) Q5 \$ N; m+ I  R
  1507. session.gc_probability = 1
    , k) H8 L% \2 d1 f; q! c- k5 U) W- t
  1508. 4 G4 _5 b9 Y4 ~7 [) M1 S" X2 K+ v
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    ( k0 P& T  X2 Y  E- @
  1510. ; session initialization. The probability is calculated by using the following equation:
    9 r0 c: }. |* j2 f7 S" }
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and! K" E/ t2 `: B, F+ \  S8 j
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    # l8 ~- x. n1 b( b* ]' l
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    + {4 M: r9 l' y4 E& {
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you* v0 \, b- q0 x) O3 p
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,- W6 j0 T( A7 q- d
  1516. ; this is a more efficient approach.
    1 ^+ ]8 \; `  `6 J5 K7 P1 S
  1517. ; Default Value: 100
    ; |# E& ?5 b2 X" {3 [/ R
  1518. ; Development Value: 1000
    - g9 _- z  ?8 M$ R, y8 P
  1519. ; Production Value: 1000
    7 V8 L# y9 }6 v9 v7 t
  1520. ; http://php.net/session.gc-divisor" w. X  X0 d$ Q/ f$ \! x
  1521. session.gc_divisor = 1000
    ' b2 x$ G; R) G# g; n2 `" d+ X

  1522. # O3 o3 o$ {" J) j1 ?  l& Y6 B
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    # _+ }4 j) ]* X7 w% ~* A5 W0 @
  1524. ; cleaned up by the garbage collection process.
    - V/ R; p' w# A  L2 P% o. S
  1525. ; http://php.net/session.gc-maxlifetime, j( B- y3 @6 g% A# g7 f# X4 W
  1526. session.gc_maxlifetime = 1440
    ! K' C) I" c: i& p, M& I6 J/ y
  1527. 3 G- @) M. n# z3 M
  1528. ; NOTE: If you are using the subdirectory option for storing session files% e) J: _: E4 c
  1529. ;       (see session.save_path above), then garbage collection does *not*( y0 U. R3 |7 I; w
  1530. ;       happen automatically.  You will need to do your own garbage' P/ E2 o$ o* h5 @
  1531. ;       collection through a shell script, cron entry, or some other method.  ~* B6 y/ q# d, W0 q) x- t
  1532. ;       For example, the following script would is the equivalent of" X: p4 O5 `- ~6 a% r2 E/ L
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    5 {7 l7 x2 i: N9 H" T3 R
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm/ j! T3 d/ {5 q+ z) u

  1535. . y  s0 Y) O8 ~
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    2 e+ ^. W; o3 d2 R" h% V
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    0 B) o: z) |4 \4 D/ ?' M
  1538. ; considered as valid.) F3 F( w' @7 |- E: C
  1539. ; http://php.net/session.referer-check
    ; F: d/ n1 O3 l
  1540. session.referer_check =
    2 v" L+ o% U2 A0 d5 I

  1541. : P' K) b1 [6 g" l, N2 A
  1542. ; How many bytes to read from the file.
    & Z& ?" B  T5 {, i
  1543. ; http://php.net/session.entropy-length/ E" Y; q& a, b9 R! S! E5 K
  1544. ;session.entropy_length = 325 K* f' ^7 q+ r' T4 G2 o2 ^
  1545. ; R1 e* e9 X7 o4 ]1 o# J- l2 t4 Z
  1546. ; Specified here to create the session id.
    ) L0 i) z- o& n. M' B
  1547. ; http://php.net/session.entropy-file
    , S, f6 k6 u& H4 S* H
  1548. ; Defaults to /dev/urandom
    ; P. F3 V& y# P' Y( L+ V
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom9 q, J* h/ J9 i" U5 q
  1550. ; If neither are found at compile time, the default is no entropy file.- a$ [& X" s: x, X
  1551. ; On windows, setting the entropy_length setting will activate the# |- d% k$ x0 Z
  1552. ; Windows random source (using the CryptoAPI)
    ( W2 t7 ]% b9 l1 K
  1553. ;session.entropy_file = /dev/urandom- f9 `! t5 y! s

  1554. - G. [: ?  W9 s3 k  g$ a2 S$ G
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    + _' d( k% [. J, }3 A7 W& c, w! U
  1556. ; or leave this empty to avoid sending anti-caching headers.
    $ Q2 w+ }4 P: b& g/ i
  1557. ; http://php.net/session.cache-limiter
    8 A) }: m$ d* {. K
  1558. session.cache_limiter = nocache3 j7 ?7 w% L' Z5 h' k$ q0 R: n7 r4 z

  1559. 7 U# l6 X9 _$ i/ U
  1560. ; Document expires after n minutes.
    ( H0 }% J4 {7 M
  1561. ; http://php.net/session.cache-expire2 o, F( I$ t* o, ^; C" T
  1562. session.cache_expire = 1802 g% x+ J4 L5 B$ N- w7 A$ \

  1563. $ I" j, q; h! S3 M& A1 Y- X
  1564. ; trans sid support is disabled by default.
    " }/ |# N1 ^' Q* c4 M5 M
  1565. ; Use of trans sid may risk your users' security., n6 G+ r* r  ?* j+ G( i
  1566. ; Use this option with caution.
    , t; `( B* G- Z# W$ N% O+ W
  1567. ; - User may send URL contains active session ID/ m" F. Q( Y7 e* v/ O2 O
  1568. ;   to other person via. email/irc/etc.7 l2 l# `8 Y3 H) ~% K; ^
  1569. ; - URL that contains active session ID may be stored
    6 \0 b0 O0 Q9 l2 f% T& |: ?$ E
  1570. ;   in publicly accessible computer., Q% R" c2 t) w* _9 V: S( ~
  1571. ; - User may access your site with the same session ID! `, }2 b  l/ a! e; |5 T/ |
  1572. ;   always using URL stored in browser's history or bookmarks.
    2 @0 U! V' Y: H, F
  1573. ; http://php.net/session.use-trans-sid# ]% r8 d' t5 ?7 G$ ~
  1574. session.use_trans_sid = 0
    + x3 i# e. l% i) J9 |4 R( G1 D

  1575.   N$ `' B' ~, q) ^) E4 u2 D! @5 d/ {
  1576. ; Select a hash function for use in generating session ids.
    4 H: S8 j8 x. T1 f
  1577. ; Possible Values
    . d( t7 J6 h% g0 R9 I$ S
  1578. ;   0  (MD5 128 bits)) A: z! ?: \) G7 W1 R" Y
  1579. ;   1  (SHA-1 160 bits)
    ! |9 q3 u8 T; x" @' f
  1580. ; This option may also be set to the name of any hash function supported by
    ) e& s$ U) ]" F& |6 R/ w3 H$ w: F
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    2 ]* p2 P1 Y) b4 f' ^- L
  1582. ; function.
    6 `9 K% w+ j1 s5 `' l
  1583. ; http://php.net/session.hash-function6 O% Q, b9 m/ p3 X; P% D
  1584. session.hash_function = 08 c( L; G" O( d+ o! F
  1585. / S5 l! m0 r( z
  1586. ; Define how many bits are stored in each character when converting, z' t- k& M( _; B
  1587. ; the binary hash data to something readable.
    2 `, y) t" ]. H, C# y5 c# Z5 X
  1588. ; Possible values:
    & y# A' o& k4 J# b
  1589. ;   4  (4 bits: 0-9, a-f)0 x+ x, Z- U% j1 I* P; o8 p* Z# C
  1590. ;   5  (5 bits: 0-9, a-v)0 a6 S* o+ `: R
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")3 g* O% I$ ?5 x7 v% I
  1592. ; Default Value: 44 y# L# Y' |# q2 S
  1593. ; Development Value: 5! `3 R! K, ?( a& B: O3 m
  1594. ; Production Value: 5
    / i0 O% R  T$ w8 f, M7 X
  1595. ; http://php.net/session.hash-bits-per-character
    6 T& f6 k: c6 |8 F$ Y7 Y
  1596. session.hash_bits_per_character = 5
    5 P( o5 A4 W) ?; P# f

  1597. 6 ]3 B: m! @; Q- }# ~% }) O* Y; k7 |
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    . L( Q7 J' x1 S, Z3 {2 r* b" f
  1599. ; form/fieldset are special; if you include them here, the rewriter will+ v  J/ \7 z; X2 i/ K2 S
  1600. ; add a hidden <input> field with the info which is otherwise appended
    " ^" S; K$ S! m
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    % M& S1 H1 m9 G6 t$ A% v
  1602. ; Note that all valid entries require a "=", even if no value follows.# n/ b* l: P1 A
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="5 s! P; Y# l4 ^8 _! t& I' {
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ P" A6 k6 n7 G: W  R
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! h' c0 x0 B: \2 M
  1606. ; http://php.net/url-rewriter.tags
    $ j8 e# ]8 r" j1 \! _5 b% A1 P
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 g/ w- a2 _) b; v
  1608. ; m& l$ A1 J  v7 Q
  1609. ; Enable upload progress tracking in $_SESSION
    5 y) ~9 Q& f9 }' X+ Q# e" u2 B
  1610. ; Default Value: On
    7 E1 D" P" c4 }, i
  1611. ; Development Value: On
    % N. a$ U  |4 @5 c/ K
  1612. ; Production Value: On8 C7 C( J3 @3 i! l; S
  1613. ; http://php.net/session.upload-progress.enabled
    $ K& w4 s, L: ]2 W- P7 m1 I
  1614. ;session.upload_progress.enabled = On) ?! H# D  d1 H/ }# p
  1615. ' x5 D! _0 _, ?$ W, s& E8 L* U
  1616. ; Cleanup the progress information as soon as all POST data has been read
    3 X: a& c9 ~: w* Z
  1617. ; (i.e. upload completed).
    - r: g' ~. \3 q7 n
  1618. ; Default Value: On4 B% k* t* k% k( q) f& ~
  1619. ; Development Value: On
    9 U& ]% i$ N5 S, j
  1620. ; Production Value: On  N& u+ j/ U# H: L
  1621. ; http://php.net/session.upload-progress.cleanup
    9 C0 K# r, w# a: R7 `; X. [
  1622. ;session.upload_progress.cleanup = On
    : Z# T2 p, ?; z7 y& Y1 V9 f

  1623. + C( U1 ^5 x/ F& O$ `3 n8 \& Y: ^
  1624. ; A prefix used for the upload progress key in $_SESSION9 N; h1 K( b" [# X
  1625. ; Default Value: "upload_progress_"' M1 w! J: H+ c2 U; t
  1626. ; Development Value: "upload_progress_"7 t5 u. D1 o/ B# u0 @
  1627. ; Production Value: "upload_progress_"
    , o" U+ Z/ f3 m# }% D0 e
  1628. ; http://php.net/session.upload-progress.prefix
    9 y" m% c# x! J, C9 S
  1629. ;session.upload_progress.prefix = "upload_progress_"
    1 h" c, Z' n9 ^2 @. ]
  1630. 8 F6 F7 {. g: D' e1 r4 x9 K
  1631. ; The index name (concatenated with the prefix) in $_SESSION6 c* Z# L- q* F, M
  1632. ; containing the upload progress information4 B; V6 Q) Z( z* d, B
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 a/ r3 o# G8 E+ h2 \2 ?; ?# i( E7 {
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : n+ @7 I6 ?7 f
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS", C- y% w: W! P2 [
  1636. ; http://php.net/session.upload-progress.name7 ]+ d; I% `- S  i7 a, U
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"- V/ K  h# V% \4 `; v# a* J
  1638. ! n) C" U( n3 a2 M
  1639. ; How frequently the upload progress should be updated.9 \% S( J# c; _6 [: M
  1640. ; Given either in percentages (per-file), or in bytes1 S  m# O5 l/ k# `9 H4 A; |
  1641. ; Default Value: "1%"4 }& f: |4 ]4 t. E1 B$ k. j# w4 }! |
  1642. ; Development Value: "1%"
    5 _- g2 C( V& C/ n
  1643. ; Production Value: "1%"
    ' {& I# k4 Q1 ~0 Y
  1644. ; http://php.net/session.upload-progress.freq
    . i; K$ \& o. w' ?
  1645. ;session.upload_progress.freq =  "1%"
    6 }/ p9 p1 h* Q8 q8 V0 Z6 g/ L
  1646. ; y4 W# ~: y0 S
  1647. ; The minimum delay between updates, in seconds
      B, u/ V4 F+ H) @2 F1 X
  1648. ; Default Value: 1
    ; n' [3 g7 ]% a: `! T6 \
  1649. ; Development Value: 1
    + d7 w  U5 a0 n9 b* j6 i) h
  1650. ; Production Value: 1# K/ j  t; q( B8 C  L4 O1 \' L
  1651. ; http://php.net/session.upload-progress.min-freq
    $ P: |& ?7 m0 t4 m3 b5 \$ A) X
  1652. ;session.upload_progress.min_freq = "1"5 r) d, z2 Q7 v  N
  1653.   O' `4 ~/ `- ~' z* J0 H: \
  1654. [MSSQL]
    ( v5 @; r8 F: s2 u
  1655. ; Allow or prevent persistent links.
    ' g* h. }0 a+ [7 o# z: ]6 l& b0 w" J
  1656. mssql.allow_persistent = On
    / B9 D' i+ f9 u3 Q( S- t" ?2 Q

  1657. ' d& ]0 [- Z% V+ b" A% S6 H+ a6 k8 d
  1658. ; Maximum number of persistent links.  -1 means no limit.
    1 ]7 `1 U, T$ S$ i8 m; K* x2 w
  1659. mssql.max_persistent = -1& l* `7 O' I% f% z, |
  1660. 3 J7 s- u% A1 j6 e; d1 b# c8 j
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    9 i: X, G2 U# ?: ^
  1662. mssql.max_links = -1# e: X& r* r/ h2 ], g$ {3 q* |4 b

  1663. 3 U' L+ V4 S* {2 z( q
  1664. ; Minimum error severity to display.: |0 q2 R8 A6 L
  1665. mssql.min_error_severity = 104 t1 v' K2 N  W& X* b: x  I
  1666. ! `3 }  Q  d' G' B% [/ @& R
  1667. ; Minimum message severity to display.; R* S6 j5 K, M" m) @9 d5 j5 L" S
  1668. mssql.min_message_severity = 108 E6 V7 m/ a5 ?9 [

  1669. 1 L0 b) \, g, @) a) r, V& i' q
  1670. ; Compatibility mode with old versions of PHP 3.0.# W. w7 L6 R3 O& ?3 m$ r
  1671. mssql.compatibility_mode = Off' r$ Y* m3 I: c# v
  1672. & `5 M) Q( ?( L; ~4 G& V
  1673. ; Connect timeout
    # t, P! O$ G9 W
  1674. ;mssql.connect_timeout = 5
    % w& v) w5 ^7 B, o3 X' I

  1675. # d1 F3 @* H" ^0 y5 A
  1676. ; Query timeout
    $ o7 A7 ~# [& x2 S
  1677. ;mssql.timeout = 60( K$ l$ ~; G6 P, g  J

  1678. + S  B8 X/ w6 F% Q2 L" N
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    + w0 c7 I' g: W9 y3 ]1 T
  1680. ;mssql.textlimit = 4096
    7 w. b, G) U! A: s

  1681. * u' P( t2 n0 Y( f; l0 w
  1682. ; Valid range 0 - 2147483647.  Default = 4096.$ L% a9 p' I2 O9 ~4 v2 ~+ |2 x
  1683. ;mssql.textsize = 40961 i& Q3 q# l  n* l1 {
  1684. & ~( ?7 Z5 j  f4 J& T- q, S. n! J
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    & ^( a; K7 |  J. v8 V
  1686. ;mssql.batchsize = 05 _) j. q" |- E# a$ k* C3 c) u

  1687. & @( c& k5 _  H6 A) p5 a
  1688. ; Specify how datetime and datetim4 columns are returned5 O3 i' y. J3 `$ c! h
  1689. ; On => Returns data converted to SQL server settings8 i) {& k- g3 [: ]
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss4 A: h0 B9 e3 `8 ]" {1 U* _( c: B
  1691. ;mssql.datetimeconvert = On
    # l! m* x7 D+ H9 T( H6 m( U

  1692. & x. j( |5 O5 a2 i! X
  1693. ; Use NT authentication when connecting to the server" a1 O* y* ]0 _0 X2 ?& c4 E
  1694. mssql.secure_connection = Off, I- A6 Z1 ^3 u6 w
  1695. : O* `" r/ B6 m2 y& @3 W3 m
  1696. ; Specify max number of processes. -1 = library default8 m& w9 M6 j. b7 Y) q) S
  1697. ; msdlib defaults to 25
    : P$ f/ D' m7 G+ l6 M
  1698. ; FreeTDS defaults to 40963 u9 E6 o  H; o+ v
  1699. ;mssql.max_procs = -1' r* q! N: p4 e9 ]4 E8 H

  1700. - x9 e0 b7 p! W- Q+ [. r3 ~8 H2 [, b
  1701. ; Specify client character set.
    ; m8 T4 Q( k/ z& A
  1702. ; If empty or not set the client charset from freetds.conf is used
    % Q5 b" c* O) c4 h4 X
  1703. ; This is only used when compiled with FreeTDS7 b  z$ K4 k: o& \( L: p9 D
  1704. ;mssql.charset = "ISO-8859-1"
    ' N- [# X2 O# L% Y* @! d1 s- E
  1705. ' g. t0 y. c. J) h
  1706. [Assertion]: @6 Z' ~) X8 o7 @
  1707. ; Assert(expr); active by default.! z. Z$ p$ U0 w) i- h
  1708. ; http://php.net/assert.active
    ) M) X) Y4 ?6 F
  1709. ;assert.active = On1 d& S* ^/ S9 m

  1710. * r. m! U2 m2 C2 y& W7 ?! b
  1711. ; Issue a PHP warning for each failed assertion.( r3 U* }0 M# U3 A: e: ?1 a3 P4 G
  1712. ; http://php.net/assert.warning; ~. U; G0 Q' k% S
  1713. ;assert.warning = On$ U" T2 A" E" \( C

  1714. % |3 _6 ~9 Z' X$ U) s+ P. l1 h' [
  1715. ; Don't bail out by default.
    % s3 D; g( |$ G
  1716. ; http://php.net/assert.bail
    $ r' D8 h0 [4 Q& F$ B
  1717. ;assert.bail = Off; k% G( Y3 ]% P

  1718. + V9 p! Q- d8 `' p- \
  1719. ; User-function to be called if an assertion fails.
    ; `! H7 d, ?7 S) v/ z+ J
  1720. ; http://php.net/assert.callback) K/ s# O) u9 `
  1721. ;assert.callback = 0
    / J* a, C( Z; t6 O% W; B: E

  1722.   X# Z" r) c( w
  1723. ; Eval the expression with current error_reporting().  Set to true if you want7 o) A9 c7 D& [8 P! h7 J! Q* N# h* r
  1724. ; error_reporting(0) around the eval().! L4 l  s& H2 Q5 A1 _
  1725. ; http://php.net/assert.quiet-eval
    ( w5 e9 d7 Q+ }( M( ]6 G6 V% A
  1726. ;assert.quiet_eval = 0
    % Z7 V, n9 O- L+ U" x+ N) I) j
  1727. 3 T& ^& \& p8 p: k8 {5 L) X5 U
  1728. [COM]2 N0 F. C) v  n- B1 X( ]: I
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    % v) o$ b! w. L2 q
  1730. ; http://php.net/com.typelib-file. I+ V9 }/ l/ U/ k/ U5 N' L
  1731. ;com.typelib_file =% l  d* |/ C' ^. v! R% f! K! @

  1732. 2 M7 k; A! n2 D
  1733. ; allow Distributed-COM calls2 d% ~. Q" \) D. N( S
  1734. ; http://php.net/com.allow-dcom; v& U( A& h& E5 P4 B
  1735. ;com.allow_dcom = true
    # {  `! e7 F! N+ o

  1736. 8 Q' h( a/ _. S
  1737. ; autoregister constants of a components typlib on com_load()/ @' [1 G' q+ E4 e! l0 i
  1738. ; http://php.net/com.autoregister-typelib" I0 o6 B+ p! H2 Q3 ]$ T
  1739. ;com.autoregister_typelib = true
    $ q) s! r5 `5 W/ n/ Z; r
  1740. . g+ b* q6 Y; e$ P/ k' {/ K2 t
  1741. ; register constants casesensitive+ a0 k2 R. V# m# N1 f0 P# J
  1742. ; http://php.net/com.autoregister-casesensitive+ n8 z. {: W! i  O3 d! x/ |
  1743. ;com.autoregister_casesensitive = false
      d) o2 d& m1 D6 L; U
  1744. 8 r  I8 d! X! C$ E6 Z- j; a) S  {
  1745. ; show warnings on duplicate constant registrations4 Y3 a4 i, T  T- Q+ a  c
  1746. ; http://php.net/com.autoregister-verbose
    5 U' ]4 {3 o& K1 s0 S' f1 f- I) ?
  1747. ;com.autoregister_verbose = true
    # s" h  T' T& W( @+ j
  1748. 1 P$ Q5 o# K5 v7 Y' z( M/ ]
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    6 n& Q/ i2 }& B- w5 P9 b, v
  1750. ; Default: system ANSI code page
    ' C( ~0 H" ~( _. v: h$ r
  1751. ;com.code_page=' Q8 b, \! y4 G$ f% w) e

  1752. ( L8 ^1 ~* w. T) l
  1753. [mbstring]
    2 y" V& \- z8 N+ r7 H
  1754. ; language for internal character representation.
    ! M, |$ m. F$ F# w7 f) ~" t: r2 E
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.3 U8 a9 M, Z5 B6 ]3 u$ d" Q
  1756. ; http://php.net/mbstring.language9 V9 ]4 W9 }( ]+ _* O2 @, v
  1757. ;mbstring.language = Japanese
    - j* j3 j+ l3 C$ m
  1758. 5 U" _2 M7 B' n
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    5 m0 D: i8 S) y
  1760. ; internal/script encoding.7 p. @' g3 S6 ~" e
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ; w. Y" Y6 j5 u$ @" ]
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.- R% j- U  N' J" l3 T0 }# G
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ J7 }( m! ^3 h% e, [1 q$ d
  1764. ;mbstring.internal_encoding =( b. r/ K0 U5 i% ?* ^6 g0 J
  1765. 4 R# z; M" Y9 N7 ]; L$ |' T4 [
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.9 `3 m) [( M. Q' r+ h: D2 p
  1767. ; http input encoding.
    6 V! X6 p* u. ^/ o
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.  S4 s+ Y2 v$ g  V/ V
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    : n9 ^+ U+ B* [7 W3 r
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input( C) O$ E. h7 I4 n4 B
  1771. ; http://php.net/mbstring.http-input
    % d: K+ a8 T4 M( Z# W0 E
  1772. ;mbstring.http_input =3 v4 }9 x5 l0 ^* u. a
  1773. ( _  l+ U1 y+ F2 j
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.* W0 A7 @1 S0 I' ?3 B% `) l& l
  1775. ; http output encoding./ T$ Q, J" n0 B4 w9 F
  1776. ; mb_output_handler must be registered as output buffer to function.
    5 R" i: N( k( G' C
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ( P5 t% |) H  h; ?4 X
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    7 \+ u( o) I0 I; Y9 G! Q& Y
  1779. ; To use an output encoding conversion, mbstring's output handler must be set3 r" |& h+ N) P' a& M) e- E: i
  1780. ; otherwise output encoding conversion cannot be performed.- E# m: t0 Q7 D
  1781. ; http://php.net/mbstring.http-output: ?. h0 o( {# @6 J) Y
  1782. ;mbstring.http_output =
    ; o% [7 \) x/ y6 k% Z5 H4 K, D
  1783. 7 q& r& x0 _7 y, t# w3 p9 m; {
  1784. ; enable automatic encoding translation according to0 Y& g/ I# k  }" I# x1 Z
  1785. ; mbstring.internal_encoding setting. Input chars are! R* x9 `- V& e6 V( @
  1786. ; converted to internal encoding by setting this to On.4 ^- x6 V( N; S% R
  1787. ; Note: Do _not_ use automatic encoding translation for$ k* Z  J3 r4 p2 M9 V8 o9 Y" `
  1788. ;       portable libs/applications.' O) R* R; r! z# F6 f& B
  1789. ; http://php.net/mbstring.encoding-translation
    * I9 X$ V# o( F1 h! A  }
  1790. ;mbstring.encoding_translation = Off
    5 j. y+ I2 j% J7 m- b! q

  1791. 0 w9 j( n* f4 m( u
  1792. ; automatic encoding detection order.; h; y5 D" @  s+ {* K# h9 m6 o. L9 y& k
  1793. ; "auto" detect order is changed according to mbstring.language
    $ B: }$ c2 r4 K7 M8 y
  1794. ; http://php.net/mbstring.detect-order
    6 d  L* U' k9 v4 p
  1795. ;mbstring.detect_order = auto
    6 s1 c1 @$ H7 k9 d( w6 K+ A
  1796.   F5 l! j7 N& s9 z* ?6 P
  1797. ; substitute_character used when character cannot be converted
    ! u! e8 m' W) H$ P
  1798. ; one from another
    - X0 f' b# H/ |+ B* m" x& }5 V
  1799. ; http://php.net/mbstring.substitute-character
    7 N% s' E# [+ \
  1800. ;mbstring.substitute_character = none
    6 D& L& `8 C+ t# H

  1801. / n; N/ o$ K$ k# ~" Z* w% l
  1802. ; overload(replace) single byte functions by mbstring functions.
    + ]) E/ ]; C$ c7 M
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),/ v' M" f& D" S# L9 [
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    0 |. n3 X4 r  |
  1805. ; For example, 7 for overload everything.
    9 }1 k! m# e/ @* G9 J  F
  1806. ; 0: No overload
    0 S% t2 g* t- A& d  S
  1807. ; 1: Overload mail() function0 ]4 H% B5 A; P" L" O' r
  1808. ; 2: Overload str*() functions
    4 `* O$ D0 ~" N/ a& N5 K+ G% M
  1809. ; 4: Overload ereg*() functions1 f' ^7 Q+ B7 r$ Z
  1810. ; http://php.net/mbstring.func-overload
      `) K3 o4 X6 Y+ X6 R  o3 y
  1811. ;mbstring.func_overload = 0
    . x( G# D/ I8 h0 r) r( b
  1812. ! Q- P( o+ ^1 I& f( o3 H  i- `
  1813. ; enable strict encoding detection.& U' U" @& V& v9 j
  1814. ; Default: Off  D4 e2 T; @% Q! m( ~; Q
  1815. ;mbstring.strict_detection = On' W% t$ J. j, ~

  1816. & b& J1 u& q- L9 Y* l
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()' d$ H4 v0 I( S0 d6 h9 K
  1818. ; is activated.  J' m, t# F, v
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)2 F: d8 G1 w- W: Z
  1820. ;mbstring.http_output_conv_mimetype=
    ( D4 d9 L! _4 \/ g
  1821. ! B/ ~$ z, {5 [' v. k0 M
  1822. [gd]5 W5 K/ f! x( [& L4 B
  1823. ; Tell the jpeg decode to ignore warnings and try to create( _" o. S& s( X5 [, N6 i  L. c
  1824. ; a gd image. The warning will then be displayed as notices( Z' j4 k1 C2 T3 a: y4 _
  1825. ; disabled by default
    5 @( m- W& q* D  D. T  a+ _
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ) @& {/ R* L3 K$ p. I7 W9 N
  1827. ;gd.jpeg_ignore_warning = 0
    % U2 n8 C: C8 o
  1828. * p4 J3 n$ j! x6 b
  1829. [exif]) d% T( w; ?, {* q% s
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.& T5 n$ I8 a% z' x5 i7 s" E
  1831. ; With mbstring support this will automatically be converted into the encoding6 S* i: N: M! [/ l1 L* W1 W
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding  Q, K! E3 Y. s+ F7 [; j1 x; ^# w
  1833. ; is used. For the decode settings you can distinguish between motorola and, P  ~7 Q" S6 c* A* k1 I
  1834. ; intel byte order. A decode setting cannot be empty.
    $ @" t6 ]: d1 t$ m
  1835. ; http://php.net/exif.encode-unicode
    * @1 ?/ l3 S9 z% Y, O# J
  1836. ;exif.encode_unicode = ISO-8859-15
    ; ^* v' `# U- q& j) J2 y

  1837. / h+ J; p% N" P3 B/ \  Y
  1838. ; http://php.net/exif.decode-unicode-motorola4 G, T9 g' z5 y7 J7 X( w4 h& S+ I8 n
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    % t" v' J! D( U+ l( d  X4 P
  1840. % A) o: j( S. o
  1841. ; http://php.net/exif.decode-unicode-intel
    # K. m; Y% `5 |/ M) Q
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    9 w  R! @3 F' a
  1843. ( Y$ w* P0 ~7 g4 b
  1844. ; http://php.net/exif.encode-jis
    9 n+ E; |  `. H$ A+ T7 Y
  1845. ;exif.encode_jis =1 S* O4 {" \1 M

  1846. 1 ?$ }* w4 ?% ~  c1 Y
  1847. ; http://php.net/exif.decode-jis-motorola
    - X2 _, \7 t& D9 U" E
  1848. ;exif.decode_jis_motorola = JIS
    * e) E5 k- u1 n, V7 g

  1849. . A6 X: _5 ?$ q) ^% x
  1850. ; http://php.net/exif.decode-jis-intel
    # d6 |. P1 E, I7 I
  1851. ;exif.decode_jis_intel    = JIS- N( ~/ ~7 d0 O+ I' c

  1852. " Q7 }# `2 R+ D4 x. i# q
  1853. [Tidy]
    9 |& f4 r5 F* `, ^8 B1 c' b
  1854. ; The path to a default tidy configuration file to use when using tidy1 p( Q4 u" f- y
  1855. ; http://php.net/tidy.default-config: Y* f4 a# x: q# T
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg" F8 F5 u1 {3 ~- t2 \" R
  1857. 3 X3 Y8 e! U. v6 h; e
  1858. ; Should tidy clean and repair output automatically?: x8 ^  s1 N$ v) `
  1859. ; WARNING: Do not use this option if you are generating non-html content% b. |* ~& x6 T$ k- }
  1860. ; such as dynamic images
      n" i) x: P3 i& z" g! Z. u: P% H
  1861. ; http://php.net/tidy.clean-output7 |+ @9 r" W& @
  1862. tidy.clean_output = Off
    ! [3 R( S0 R, E) G9 s( i$ D& N

  1863. 7 R9 G5 z* t% ^
  1864. [soap]
    $ M  N- K% C3 u, L* x+ q4 R
  1865. ; Enables or disables WSDL caching feature.
      a7 e# e5 g4 B# S
  1866. ; http://php.net/soap.wsdl-cache-enabled
    2 s7 z& @# P' J  |8 x
  1867. soap.wsdl_cache_enabled=1
    / E: o( {& u" K4 O  r

  1868. ) ?1 S, I7 p0 B" R) y" L1 @
  1869. ; Sets the directory name where SOAP extension will put cache files.
    # }& ?4 |* b) H* M$ |# x) f
  1870. ; http://php.net/soap.wsdl-cache-dir& [0 Q: ^' M  n
  1871. soap.wsdl_cache_dir="/tmp"2 M) V! O( }. E% r

  1872. . E- p$ M6 Y) j8 ~2 p( M9 p7 A2 l
  1873. ; (time to live) Sets the number of second while cached file will be used
    4 y9 H8 f/ N  B
  1874. ; instead of original one.  x- V& y6 V/ @6 C8 E- I
  1875. ; http://php.net/soap.wsdl-cache-ttl
    3 O4 j' x& z' M0 {  {' A. R" G
  1876. soap.wsdl_cache_ttl=864006 t6 u" x: q* H, R

  1877. 7 J, ^3 R3 [1 Q) E4 j: c9 q# @
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)1 |7 }$ B& O( m& n
  1879. soap.wsdl_cache_limit = 5; N8 y2 }9 g/ Y3 R  B8 v# b$ O
  1880. . ~* r- \# h, Q5 \) a2 w4 d
  1881. [sysvshm]
    3 g9 n" Y4 u. E2 w. }  ]% P
  1882. ; A default size of the shared memory segment
    / Z/ B* v* A$ d. V0 S9 Z" o2 v
  1883. ;sysvshm.init_mem = 10000
    0 f% E3 M9 [- x" A$ ~- d3 o
  1884. & C( E* B3 Z( g/ y: s
  1885. [ldap]
    , \) ]1 `) S6 ]
  1886. ; Sets the maximum number of open links or -1 for unlimited.5 w( e# e4 H! k+ w9 U3 t7 r
  1887. ldap.max_links = -10 C: R  F; e: e/ p+ G5 E0 t7 t0 y
  1888. 3 X. G. c' `- m
  1889. [mcrypt]  p+ A4 p6 s! o" X* M
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open2 a, O& s; y! q9 R7 H2 s% Z- f" X

  1891. 8 N% J4 {) U, P% }; q0 |2 g* G
  1892. ; Directory where to load mcrypt algorithms
    $ E3 |9 C7 S1 w
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), h9 G5 N5 h+ m1 P
  1894. ;mcrypt.algorithms_dir=
    9 x' O$ A, y) s2 a; L. r* h- Q
  1895. . H+ H4 v5 B# b9 Q. r
  1896. ; Directory where to load mcrypt modes) s* `' I  g" F1 i  ]/ |# M0 |
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) l% }( `# B% G! L# S! e
  1898. ;mcrypt.modes_dir=
    . H( J3 Q: t( D8 S$ c/ s; o
  1899. * U6 d4 P" r' ?
  1900. [dba]
    # E( t4 Z' j/ c. D8 s5 D' i
  1901. ;dba.default_handler=4 P5 s* p1 H( H6 o& V: b8 a; ^

  1902. ; \5 w, j4 [9 E7 H
  1903. [opcache]" S7 q4 p4 Y  X
  1904. ; Determines if Zend OPCache is enabled. a) u' m2 F: r; `. u* }
  1905. ;opcache.enable=0* N/ T5 N9 J! P' W3 g
  1906. 7 }6 z3 S! Y8 \/ V7 o9 {- T4 j
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP2 F) z9 J+ f0 c
  1908. ;opcache.enable_cli=0
    + z: z; i; L) |. N; W- L: p+ ]
  1909. 6 r, Q2 ~6 @; U9 W( \. E
  1910. ; The OPcache shared memory storage size., f- `0 A$ c) r
  1911. ;opcache.memory_consumption=64
    * z7 c% v/ w: l- h. V
  1912. 6 A" M2 |- w( {
  1913. ; The amount of memory for interned strings in Mbytes.
    # e% Z2 B/ s( Q" r& @% o! Q7 o
  1914. ;opcache.interned_strings_buffer=4
    : _' g' h0 _; _% }) f9 K

  1915. " ?. t! n& k( {. Q4 j, Z
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.4 K8 }* k9 u, R5 W) Y' \4 K# t
  1917. ; Only numbers between 200 and 100000 are allowed.2 @6 L6 H' M7 R: J' T* [; k0 p
  1918. ;opcache.max_accelerated_files=2000& S% r% Z. m  s; K4 ~* W' w

  1919. 0 D. h$ g' d5 O6 }  N* t
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.* {3 r; F: `* N# P" Y+ t' P( X
  1921. ;opcache.max_wasted_percentage=5
    9 D, j- b4 d6 b+ E0 M
  1922. / e, P- x- ~; i& U/ X5 T8 L
  1923. ; When this directive is enabled, the OPcache appends the current working! r7 S7 W8 W; ]6 j- ]5 t/ Q3 K  P# h
  1924. ; directory to the script key, thus eliminating possible collisions between
    ' s' r. `7 K2 x, `0 H  }
  1925. ; files with the same name (basename). Disabling the directive improves
    ' z- N! T7 S' [8 P% E, P
  1926. ; performance, but may break existing applications.9 D: R5 P, B7 ^; g7 n' E; f
  1927. ;opcache.use_cwd=1; `9 f; x4 t* {+ J. Q

  1928. & U4 \; f1 x" J) ?/ N. N$ j
  1929. ; When disabled, you must reset the OPcache manually or restart the* i1 n- C! {1 ~1 M  |. g" k7 s1 I
  1930. ; webserver for changes to the filesystem to take effect.
    8 ?  Y- t! T5 {9 `* ^* c
  1931. ;opcache.validate_timestamps=1
    % s9 X& ?, k" Z' K
  1932. / t) x+ K6 _$ B: I
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    9 k4 B9 w  ]4 ?; T/ e$ w- `- N
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    . `8 Y% L/ j9 i4 H# X5 r' i
  1935. ; once per request. "0" means always validate). C: d4 l$ J# N5 t. t' n
  1936. ;opcache.revalidate_freq=23 ^- l8 o( S. F, m8 v3 `3 D# y( p
  1937. 1 C7 Y3 ?9 S, x% J7 x
  1938. ; Enables or disables file search in include_path optimization
    0 X( v7 b9 `8 K& @3 K  U
  1939. ;opcache.revalidate_path=0
    ( u2 c" D1 W/ L0 ~0 u* }7 O8 r) C
  1940. " q' i- w: ]" ?0 J
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) ?  A4 u' M- \6 \/ |2 Y
  1942. ; size of the optimized code.
    & z' d3 \/ ?4 F1 |% f
  1943. ;opcache.save_comments=1: [+ {9 o# V1 }" a0 T
  1944. ! W4 f$ ~1 F# B
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"# g; h, R8 v/ D* z" T3 M$ \
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ; ], n& M. f8 |6 G" P
  1947. ; that don't need them anyway.
      R" u! z/ D  Y( q( }
  1948. ;opcache.load_comments=17 K) ?+ q% X3 V9 h- M! C" B, D; o* [

  1949. 8 l9 O& G. G8 P$ L; I
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
      Y' z  K4 s" ?, v
  1951. ;opcache.fast_shutdown=0" H$ ?/ Q- H& R  p) L$ G& r  U

  1952. 8 H( d3 h/ I8 L/ U' s* M
  1953. ; Allow file existence override (file_exists, etc.) performance feature.  p7 X9 d# N0 r
  1954. ;opcache.enable_file_override=0
    7 d( E# @# o  z7 Z' G
  1955. : ^( _& t9 L% N% H4 g1 r
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache  D' [7 N- j: O  @% r  W
  1957. ; passes1 Q2 G. X4 v) e% p  h
  1958. ;opcache.optimization_level=0xffffffff
    5 }0 M7 U+ a, x1 n

  1959. $ G8 z" X7 Z8 }/ J6 F. ?2 v: m- G+ p' f
  1960. ;opcache.inherited_hack=1
    : P' A7 L, p. `2 P
  1961. ;opcache.dups_fix=0
    & d3 m) {. s: y6 h( L
  1962. 1 H2 J: \1 A. G+ G* [/ @; w
  1963. ; The location of the OPcache blacklist file (wildcards allowed)." I  F- A9 j3 k1 B- ]
  1964. ; Each OPcache blacklist file is a text file that holds the names of files" |! j) T6 V: R" n5 v
  1965. ; that should not be accelerated. The file format is to add each filename
    4 I" q; f8 ^0 Z1 l) s( g/ i% x
  1966. ; to a new line. The filename may be a full path or just a file prefix
    # C7 I7 ^- [, G- ?
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    # B8 k: [8 ~1 w& `: S/ w+ J% c& v
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    $ s. y  E0 I6 r6 p$ ^! |5 u
  1969. ;opcache.blacklist_filename=
    $ L  Q/ W, I& O, v

  1970. ( C7 A  d8 s; W4 X0 W6 }
  1971. ; Allows exclusion of large files from being cached. By default all files
    & P# C' P. d8 K4 h
  1972. ; are cached.& o, B4 {6 Y6 |7 l; f
  1973. ;opcache.max_file_size=07 t' u( Q$ u/ V0 `- X1 k0 Y

  1974. * I7 Z9 C0 G, V2 n1 M/ ]
  1975. ; Check the cache checksum each N requests.
    3 w* K2 R8 r& K6 O0 `
  1976. ; The default value of "0" means that the checks are disabled.
    $ d  v) L- `. P' p9 `4 `
  1977. ;opcache.consistency_checks=0
    0 ?9 q; N& x$ n1 \3 ]! _

  1978. + p- n5 [( H4 l1 ^7 W
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache; B8 D5 H' L1 I; |
  1980. ; is not being accessed.
    * ]' S0 G3 d+ q8 b
  1981. ;opcache.force_restart_timeout=180
    + u9 a) k7 s8 b# {
  1982. ! b5 [7 X/ \8 G6 L) G
  1983. ; OPcache error_log file name. Empty string assumes "stderr".& ?# G! C% W8 ?% ?+ I& M( z3 d% g
  1984. ;opcache.error_log=
    - U! y8 G. |8 c2 R( p7 J

  1985. 5 c2 J& l6 a. ]5 v% a" k
  1986. ; All OPcache errors go to the Web server log.
    2 N6 {0 ^9 b; U- T" q$ B
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    & p% M2 X2 m/ Z
  1988. ; You can also enable warnings (level 2), info messages (level 3) or, x( y6 U# R0 p+ \6 y: ?2 o
  1989. ; debug messages (level 4).: a7 l% T& ?7 N- P) b9 d
  1990. ;opcache.log_verbosity_level=1
    : V# K+ w) J4 s. V7 F6 H9 z8 Z

  1991. ) I" F  T* a* w9 M# P" ~% A# v
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ; y- L7 U& c( c, Q1 J
  1993. ;opcache.preferred_memory_model=, ^1 M3 n( j* v6 j# d' n- `

  1994. , A% }$ h. N' J
  1995. ; Protect the shared memory from unexpected writing during script execution.: t1 {! q1 w5 v; B+ T* F' r! o
  1996. ; Useful for internal debugging only.
    6 E3 E1 T: M0 j* ?
  1997. ;opcache.protect_memory=0
    - W& U; G. i! K& T- ?# [
  1998. $ W" n8 m$ Z6 R+ t$ G
  1999. ; Validate cached file permissions.1 l$ d+ ?* ^6 i: ^2 j# T
  2000. ; opcache.validate_permission=0
    / Y$ k& a0 X* V/ O- `2 I8 ~; \$ _
  2001. ' V7 w, `/ S( S
  2002. ; Prevent name collisions in chroot'ed environment.
    ) T# I# t& ~6 N
  2003. ; opcache.validate_root=0& b, k3 L1 N& f6 [% P. L9 S8 F

  2004. 9 `; Q4 I& Y) o  q% H- r
  2005. [curl]$ O$ w9 r1 p; ]# s2 x3 U
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    8 @& P! ^  l% v( b6 o
  2007. ; absolute path.6 ]# Y& l8 o0 q
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt6 m) {$ Z& I3 K" z
  2009. - g8 \( D4 M. B* W& S
  2010. [openssl]8 Z: i+ ]. a) \$ f. x
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem- y' K/ z) m9 i1 h! m3 ~  u
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should, A, d- G; Z6 u) Z5 y
  2013. ; not specify a value for this directive as PHP will attempt to use the
    5 y8 }5 B' w+ I4 M# [1 Y6 c+ f
  2014. ; OS-managed cert stores in its absence. If specified, this value may still4 I8 W! T* K- ]  i3 k
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context3 p4 R) z& ^$ u" c) l' g
  2016. ; option.0 o, O& p' O+ D7 _: ]1 Q
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    $ }+ ]9 F1 ^) `* t

  2018. * F+ K9 @- Z" Q) q
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the& s$ r) `+ r8 A8 ]( |- O
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    0 K; J. U5 L/ a. D1 a* B$ H! m
  2021. ; certificate. This value must be a correctly hashed certificate directory.- @7 J0 x  S9 T+ W! p  X9 L- m
  2022. ; Most users should not specify a value for this directive as PHP will; q3 ]+ h! t- B0 ^+ A7 `- z
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    : N; s) K: C6 O
  2024. ; this value may still be overridden on a per-stream basis via the "capath"  I9 G+ u7 z1 @5 f  S& V+ |) E/ E
  2025. ; SSL stream context option.
    # U- ~7 w5 h2 O) C, e( e- e' j
  2026. ;openssl.capath=
    7 a3 F' G. {- P) q, L+ D  A4 c9 c

  2027. 3 o% h, {0 D: w" D( c! l) u
  2028. ; Local Variables:
    9 p( ]: m. p6 y/ X$ K
  2029. ; tab-width: 4
    5 g( z1 z7 |- k: M
  2030. ; End:
    + z2 S+ N% \' b, B* z) H: d' s

  2031. ( Z0 X1 a* [  n5 W+ ]  B7 |
  2032. ;eaccelerator7 w# q  W' ]9 m7 u6 t
  2033. / b) X: ]. _! S
  2034. ;ionCube
    ! {( e& I- y- w$ N; y) Z0 {
  2035. ; }. B6 d1 j5 V9 z/ k% O0 q6 E
  2036. ;opcache& _6 ^9 M) k2 U' Z9 [
  2037. : \9 Q6 ~9 M! X
  2038. [Zend ZendGuard Loader]/ B6 ~2 i1 Y- S1 q5 U; O
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    # z' H3 V5 b# t# _4 K  r7 F
  2040. zend_loader.enable=11 P4 T2 V+ S' p- |5 v$ K4 C
  2041. zend_loader.disable_licensing=0' k+ Z9 w* n4 Q' V" b! D7 u
  2042. zend_loader.obfuscation_level_support=3
    " r3 |2 t5 F$ d7 K! g
  2043. zend_loader.license_path=: N- p! b% H2 o0 J
  2044. ( v3 N4 z) o4 B! X. k! \8 U! P
  2045. ;xcache+ S- Z  M" S8 w9 t# \1 c4 x4 f

  2046. 0 }( y' @# B! _. `
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146929 i+ C* p+ A, D! R0 m

: {. J+ @/ r+ c6 \# b- @4 r- [
1 E' j# P$ w) r, JDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
3 C/ j2 S/ o) p9 G7 D, ^) l% @4 D8 @6 ^7 Y: f
Discuz!程序版本选择:( ?9 j2 W/ c  m+ w0 g7 p2 o& E
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,9 y7 F8 Y5 B+ t9 p" R2 C  U0 ]
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:; i6 Y+ B& [8 e7 i# c( Z
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。
8 c7 }# |: B) T% x$ q4 V; ]; D
6 j" w$ ^/ P8 Q! A$ N9 A' J& hDiscuz!插件模板版本选择:
9 M) r$ ]9 _9 I4 L4 n很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,$ a4 y0 y/ @- i  X  }
针对这个问题做个统一的普及:
2 `2 _- E% n0 A) W. O; S* o( h) G3 `X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
  r2 F- d/ Y0 A0 S# i
1 O4 l. `- e; y7 Q7 L( E6 e. F1 ?所以9 c* ~; p( O: P) F8 Q
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。* F! i- z. y, f4 q# l4 L6 n9 }" E; ^
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。; Q; y& X# y) g: f" R  J1 ?
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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