分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0, G8 Z+ \2 L1 E5 e
! D" Q- a1 J/ Q7 m/ [; I. h
  1. [PHP]
    ; N0 e- A' `5 h7 [3 [
  2. * a2 t0 Z- x7 t: {2 W6 P
  3. ;;;;;;;;;;;;;;;;;;;
    8 h4 v' k" \6 X/ z* G6 P& w) @7 [) l
  4. ; About php.ini   ;: n( ?! j3 z  W8 H) h
  5. ;;;;;;;;;;;;;;;;;;;
    4 x6 o/ z$ P! l5 u% Z
  6. ; PHP's initialization file, generally called php.ini, is responsible for" a4 R4 u5 \; Y" F
  7. ; configuring many of the aspects of PHP's behavior." R( u5 I4 n, @# h" O  X

  8. 2 _& [) Q. Q- l! j. `1 b9 H" ?
  9. ; PHP attempts to find and load this configuration from a number of locations.
    # R1 N0 L8 M6 Z! A
  10. ; The following is a summary of its search order:0 y# G$ f- b' g8 o7 t
  11. ; 1. SAPI module specific location./ h" j4 c: m* Y
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ) z$ u. ~) U! [" i
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)4 M( B3 L& j0 R6 M6 X
  14. ; 4. Current working directory (except CLI)# [5 M$ W! H& h0 B5 k/ H6 Y
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP9 D& _$ w. b) C
  16. ; (otherwise in Windows)7 n+ r# V+ H$ B( `8 Q
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
      X: r5 u; y  g6 S# i, J
  18. ; Windows directory (C:\windows or C:\winnt)4 o! U% r2 x9 l$ Z: B! V$ S8 n
  19. ; See the PHP docs for more specific information.
    7 k* t- L" T" ]7 H/ c& [7 H
  20. ; http://php.net/configuration.file
    # \* o2 c) [( s9 K
  21. " z. @7 ]" v: B
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    % w1 r, }% \& r: L# P9 U: t
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    & o; a! N6 E2 g. c4 A
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    6 h# p7 l  w; M
  25. ; they might mean something in the future.
    4 z: E& Z4 v6 C2 e
  26. : z+ `5 K% J' r( V3 m& t9 ~
  27. ; Directives following the section heading [PATH=/www/mysite] only* @4 U7 A' g3 O; @- \% G3 G
  28. ; apply to PHP files in the /www/mysite directory.  Directives. h; w; M- k' m3 Q/ d. D
  29. ; following the section heading [HOST=www.example.com] only apply to
    6 }% M% J2 l1 t  k
  30. ; PHP files served from www.example.com.  Directives set in these
    " d" q' d- }% w% j0 A7 Q
  31. ; special sections cannot be overridden by user-defined INI files or
    % t+ ]! m! N" c! [! `: B
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    % ^0 N' J; s$ V% G: [* p
  33. ; CGI/FastCGI.
    7 U% }8 z2 e! p% `/ ~. a/ Y2 H
  34. ; http://php.net/ini.sections
    ) R6 W# i! @* A3 }6 C

  35. , P* u/ {% T" ^, i) N7 c2 g
  36. ; Directives are specified using the following syntax:% y# e( L. ^& m% k
  37. ; directive = value' w9 c) H3 Q! b: u8 ~* d4 f# z4 {
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.) c) ]9 s* ^' T' H) [7 _4 ]' r7 [
  39. ; Directives are variables used to configure PHP or PHP extensions.
    2 S' K8 O/ L: ^. J  U
  40. ; There is no name validation.  If PHP can't find an expected+ a# z) `% A, u4 f# d4 L
  41. ; directive because it is not set or is mistyped, a default value will be used.$ K2 W# f# |0 K. W. Q

  42. 0 i, Z9 \6 r# B4 r5 s  Z
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one7 T8 s1 ?/ c& G* p' N+ Z! i
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    3 r: Q* C& S% v
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ( S- _5 w" x! c7 r* ^7 k4 d$ J) ~# ]" ~
  46. ; previously set variable or directive (e.g. ${foo})+ [* S, s' Y+ q( Q) J
  47. 0 [- W8 [- N" k' ?
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    % [6 n! h' i4 n; P# O/ v8 m
  49. ; |  bitwise OR4 t* ?+ h' h& E& j6 C" l
  50. ; ^  bitwise XOR$ h0 N# J1 I1 f$ t4 R' D
  51. ; &  bitwise AND
    0 l! G3 P& S# e9 {3 q
  52. ; ~  bitwise NOT! M, @4 A/ I6 E+ h% ~
  53. ; !  boolean NOT
    - B' Z3 L# x& r- w% M6 c

  54. * ^0 g* t- {+ e3 `8 `% T
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.9 P" V# |# p3 \9 `2 z
  56. ; They can be turned off using the values 0, Off, False or No.: B8 v$ b0 _+ c. y; s" ?
  57. & ?% q: K( j  m9 O( J& f2 U7 u
  58. ; An empty string can be denoted by simply not writing anything after the equal( X' |# S4 L. I0 c: m/ Y& ]
  59. ; sign, or by using the None keyword:
    2 t  i% r8 `/ Q9 c
  60. # N4 k5 j& _) P/ K7 I1 ^
  61. ;  foo =         ; sets foo to an empty string  P7 p0 w. ]2 i; Y0 }/ x( E
  62. ;  foo = None    ; sets foo to an empty string
    4 }$ Z! T. ?4 _# ?# }6 u$ A+ ^
  63. ;  foo = "None"  ; sets foo to the string 'None'7 Z% N! h0 d7 D) D' M  c7 K$ ?0 B: E8 r
  64. 3 z" W# P6 v  N2 u! Y6 ^' l6 m
  65. ; If you use constants in your value, and these constants belong to a4 U+ W1 x3 ]4 T6 Q% P! i2 `! f! R
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    4 u. U' W& I/ h# ~
  67. ; you may only use these constants *after* the line that loads the extension.+ y2 ?% E4 c. E$ t; U- g! \

  68. $ K4 h5 H1 [0 C# ^' h1 ~" n$ N" h
  69. ;;;;;;;;;;;;;;;;;;;
    & O0 S7 a5 o  U5 P) j& D
  70. ; About this file ;
    0 A; n+ q/ D8 x% }
  71. ;;;;;;;;;;;;;;;;;;;0 I. ~; ]$ P1 p6 I1 n! p  G2 o
  72. ; PHP comes packaged with two INI files. One that is recommended to be used) ?! B  h; T4 T1 O; n
  73. ; in production environments and one that is recommended to be used in: l' G# p' H' I$ U
  74. ; development environments.
      T5 a6 x7 W' G5 j
  75. % u, @" d/ Y! e! _
  76. ; php.ini-production contains settings which hold security, performance and
    - D' X, L/ Q  ?' c/ X. v
  77. ; best practices at its core. But please be aware, these settings may break
    $ Y: U/ \! `# A( {: E
  78. ; compatibility with older or less security conscience applications. We5 P9 b& l! P5 g: g/ a
  79. ; recommending using the production ini in production and testing environments.
    1 E3 m9 K  V5 e+ I; {5 j0 X: e/ F
  80. ! d4 d7 Q& {0 {6 Q9 p' P
  81. ; php.ini-development is very similar to its production variant, except it is
    ) [) a; P, J5 X
  82. ; much more verbose when it comes to errors. We recommend using the
    + c! p" @* B  t& o$ Q$ \! e
  83. ; development version only in development environments, as errors shown to* D+ e; P- L& U; Z. j! M( A- L0 i
  84. ; application users can inadvertently leak otherwise secure information.
    5 h3 n0 x7 V# }. z0 B% c

  85. & ~, M4 Y+ U/ [- f' a
  86. ; This is php.ini-production INI file.  S4 u/ `! }* ?% I1 q# p& q
  87. , f. W  A; {; F! S+ Z
  88. ;;;;;;;;;;;;;;;;;;;# F, h( B& q8 x4 V6 Y! N
  89. ; Quick Reference ;) i+ z) q# c4 R$ m( e
  90. ;;;;;;;;;;;;;;;;;;;8 F) |: \2 I0 J4 B
  91. ; The following are all the settings which are different in either the production. Y5 \( Q# E) c" G
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ) S, K7 R" K, P
  93. ; Please see the actual settings later in the document for more details as to why- j7 |) f. `) U) M% b
  94. ; we recommend these changes in PHP's behavior.7 t; b7 E7 R- s1 o  C  `0 n
  95. + ]9 }/ t9 W% f* H9 c
  96. ; display_errors
    7 Q  F3 {5 e+ c5 ]
  97. ;   Default Value: On
    ( I) c% g+ S5 {1 q
  98. ;   Development Value: On
    4 }2 D; D6 _* ^1 _
  99. ;   Production Value: Off& a1 R; V. u$ w9 {2 z" w

  100. & H, P5 O; z5 N4 t8 R) _
  101. ; display_startup_errors9 T8 C; k5 \8 [2 G" e3 w( u
  102. ;   Default Value: Off
    % i6 ?. z+ }" w$ e& X8 T. x0 A4 M6 e
  103. ;   Development Value: On
    ' J$ s  e" S# B9 C! T, {  D8 M/ g5 d$ z
  104. ;   Production Value: Off* X$ J6 S. E1 c8 ~; b, L0 g

  105. 4 o4 i8 P6 {1 c; y- J
  106. ; error_reporting
    3 W& X3 w% ^6 P# l: K  e% V
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    + s( W, G3 d7 q- U* P
  108. ;   Development Value: E_ALL9 g8 U4 ?# X8 `- Z7 T( P* \
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    0 a8 u: E: c/ J1 j9 r. q3 K2 a) g; T
  110. & p5 |  @  J8 ]# z% O
  111. ; html_errors
    2 d7 H0 X% _# m9 N0 W( n9 @+ r
  112. ;   Default Value: On
    8 X- _9 ~* X$ y" g+ Z' S
  113. ;   Development Value: On5 {; ^& x# `6 E4 @4 Z/ Q) l
  114. ;   Production value: On) q& u; F$ n4 z2 y  b! K

  115. 0 a. O" Z8 S) f( N/ l; [. ^
  116. ; log_errors
    ) ^) J# ~4 Y+ K# N4 U
  117. ;   Default Value: Off; S: c" Z7 I5 }$ N) g. c
  118. ;   Development Value: On
    7 z. b& }* ]+ r9 y( E
  119. ;   Production Value: On
    4 Y5 J# p3 c" \# S$ C

  120. * s- k1 I' j' C; Z% V% S& ~
  121. ; max_input_time5 i; _+ j6 d( h; y4 h: _
  122. ;   Default Value: -1 (Unlimited). G; j% S, w7 m1 M7 e& T
  123. ;   Development Value: 60 (60 seconds)
    ' H) V1 i4 T1 B( }
  124. ;   Production Value: 60 (60 seconds)9 o+ a, w2 o1 T: R  \8 ?
  125. 0 y. B4 X4 U' L0 x4 f( H
  126. ; output_buffering. c; H, p4 L% N! m  ~
  127. ;   Default Value: Off; {3 m7 D1 j) k
  128. ;   Development Value: 4096
    - R3 u7 j9 T0 k4 U
  129. ;   Production Value: 4096* F( j# o+ E8 N) v4 F/ ?7 g" y
  130. 6 k1 G# W2 H+ r
  131. ; register_argc_argv
    9 P5 U1 S( U3 J- k! l/ V; V
  132. ;   Default Value: On5 \3 e+ r( K! O; O' m' _- _
  133. ;   Development Value: Off6 U4 I) m" d# T: N' o) N" v
  134. ;   Production Value: Off
    & ?/ j) @" [% q9 T- j$ o9 B

  135. . p1 T" t: j" h5 a# h* N
  136. ; request_order
    2 V) u' C: f" s* l5 x. j  b
  137. ;   Default Value: None! n) ~; F# ]) j2 Z
  138. ;   Development Value: "GP"$ G# B3 f% U4 `' x9 w) Q) z/ C7 Q
  139. ;   Production Value: "GP"1 u; P  K& D& Y* E
  140. 6 y1 Q$ Y3 K& A3 k$ Z6 @
  141. ; session.gc_divisor/ J" H" P% t& S: \1 ?
  142. ;   Default Value: 100! w9 X, E' \; j  Y
  143. ;   Development Value: 10000 Y: ~! ?& E6 w; u
  144. ;   Production Value: 1000
    & d- o& P* _9 w! b/ V7 f* t' b/ E& z

  145. , A* O2 X2 o7 Q' V
  146. ; session.hash_bits_per_character2 b  c6 p2 C% \( d& W
  147. ;   Default Value: 4* {% @: ^0 ], ~. e' q* U8 y& B6 L
  148. ;   Development Value: 57 H$ Z$ v5 E) d* _2 m! Q0 l
  149. ;   Production Value: 5" F5 m" r# i' h4 v* K* B

  150. ! T$ \1 z5 H- {$ D' O
  151. ; short_open_tag% b' a( s2 U- I- L! h4 D/ i
  152. ;   Default Value: On
    4 {9 h( s. H0 G- }# v% c8 x/ Q
  153. ;   Development Value: Off9 I' |0 M) w! g  u9 M0 C* C& _  z) G
  154. ;   Production Value: Off  `/ G& e* Z, @% ?5 R

  155. # A  s2 H1 c* _, E* e
  156. ; track_errors
    $ Z* {. [% {: f3 ^' W
  157. ;   Default Value: Off
    3 f1 g7 E2 D- {7 N- Z
  158. ;   Development Value: On# b6 T% x" X/ m% `( h; q6 |" c5 U
  159. ;   Production Value: Off! E. \1 a/ V2 h. S5 h, R
  160. 5 y9 z0 P1 @6 R4 r/ r5 v
  161. ; url_rewriter.tags
    ) h- F6 E6 _+ N, K3 m
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    1 J" F, M, F# ~# y7 F* m
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # m; c6 l) H$ m+ Y8 s
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . A; y: M* l5 m7 {' G
  165. # D/ ?! O4 ~+ Y- N) u
  166. ; variables_order
    # O/ L( v6 W  e- I! }5 d3 m% ^, Y
  167. ;   Default Value: "EGPCS". K5 O/ r8 \5 P
  168. ;   Development Value: "GPCS"
    % T  l8 W  u) T5 ^+ h
  169. ;   Production Value: "GPCS"
    . D- }2 `9 S4 p

  170. " u  ]6 \% F* \2 v9 C  `, W) c
  171. ;;;;;;;;;;;;;;;;;;;;/ g* v; x1 b4 U4 F7 W$ N
  172. ; php.ini Options  ;& r7 X% T2 I. P( Z9 K/ Q
  173. ;;;;;;;;;;;;;;;;;;;;
    . j9 L# i. k+ s' N
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ( M2 ^( b" V+ d# Y8 `0 ?# T
  175. ;user_ini.filename = ".user.ini"
    # ~" _6 b1 V/ A* w6 K

  176. 5 ]# v" e% H( U9 F" g
  177. ; To disable this feature set this option to empty value9 T! H' y6 p+ M
  178. ;user_ini.filename =9 m2 |/ ?0 ?+ h; l1 _  h! e. M7 M
  179. ; T0 }  E' ?% P+ |5 n1 B7 z
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)( w0 y7 D3 }6 \0 {2 z7 X
  181. ;user_ini.cache_ttl = 300  I: G% X; ]$ S* S5 {2 ^& z
  182. 8 n& E0 ^; {' X
  183. ;;;;;;;;;;;;;;;;;;;;
    : D+ r7 f0 `1 U- d- Z
  184. ; Language Options ;
    * e- C: O* }, G" d
  185. ;;;;;;;;;;;;;;;;;;;;. p5 Y& |! Z/ e3 j, }: y
  186. ' u6 I1 ?5 N, m( L; N) _5 P
  187. ; Enable the PHP scripting language engine under Apache.
    $ t4 Q, w- ]: H
  188. ; http://php.net/engine' k/ ]& h) M% @7 _( I* z
  189. engine = On
    * y; U8 K- b6 k1 j3 A

  190. $ J% B  [& q5 o0 K6 q7 @. X" m$ A
  191. ; This directive determines whether or not PHP will recognize code between
    ! u4 g- a* `/ x5 \, X9 o3 G7 w( c) i
  192. ; <? and ?> tags as PHP source which should be processed as such. It is" J) V% J! b& ~8 x" t: c
  193. ; generally recommended that <?php and ?> should be used and that this feature: P8 |3 m4 g9 }% \# R. M. {
  194. ; should be disabled, as enabling it may result in issues when generating XML
    & N, t" k4 X0 w- o8 k  ?8 z1 [
  195. ; documents, however this remains supported for backward compatibility reasons.7 l7 D- g  X& R8 K0 v4 i, C' q
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ! J  {! ?( _2 ~3 b& x4 f
  197. ; used regardless of this directive.
    1 O3 L! V6 [. U( ^
  198. ; Default Value: On1 n1 e# Z5 B: X8 Z! m
  199. ; Development Value: Off1 r' W6 O% g4 J: ]
  200. ; Production Value: Off" d. k4 i# Q6 X8 f1 |' f9 c
  201. ; http://php.net/short-open-tag
    6 `" q6 J5 h6 Q$ P: }1 S. E
  202. short_open_tag = On
    # l7 y$ P; R# Y# {/ m

  203. ) D% e  `* w) u9 r( Q! C/ [
  204. ; The number of significant digits displayed in floating point numbers.( h# ^- P) ^; P+ t0 K$ _9 u
  205. ; http://php.net/precision3 k  e; v( B( M" @- _8 O7 s2 C9 N
  206. precision = 14; E. D7 Z4 O5 l

  207. 1 \3 l* y: e. `$ G7 e  W
  208. ; Output buffering is a mechanism for controlling how much output data
      @! g! n+ J% ^% e: {2 ^
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that. ^/ J  N8 E9 q  e+ n$ \" w5 ~# S. p
  210. ; data to the client. If your application's output exceeds this setting, PHP$ O5 G1 f. ^' B1 |, F
  211. ; will send that data in chunks of roughly the size you specify.6 r9 I5 O  X" c2 W' t
  212. ; Turning on this setting and managing its maximum buffer size can yield some' {3 O4 F- ]! z# s, x
  213. ; interesting side-effects depending on your application and web server.& {! s) E8 M! {+ G  s/ _
  214. ; You may be able to send headers and cookies after you've already sent output
    ; J1 A/ `* d, G& X8 N* h/ [
  215. ; through print or echo. You also may see performance benefits if your server is" T" T, C5 t' Y- Q
  216. ; emitting less packets due to buffered output versus PHP streaming the output: D5 q0 K& r- X+ M2 u; k, }
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    5 w5 ], N2 F! A8 i) c; Z
  218. ; reasons.5 U/ h* b- Z1 a/ u( N* p
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    1 f/ h7 {3 Q9 I+ k0 ]. [& `
  220. ;   functions.
    ' p/ [; g( `" a
  221. ; Possible Values:5 D$ D' [$ K. N7 m  K/ y, \
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    # Q% I# J. c1 J
  223. ;   Off = Disabled6 I( M% L. h* z
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.* Z$ ]2 C3 X8 `9 @# h
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    + e& T# X! }1 h' J) t
  226. ; Default Value: Off
    ! I' C- e; `5 \2 @' s% r" S2 r
  227. ; Development Value: 4096
    - J# N- d2 O% J( A
  228. ; Production Value: 4096+ C1 J$ g; K  A7 {" N2 v3 z
  229. ; http://php.net/output-buffering0 l/ Q6 o$ W* Q6 ~" x& a  g8 V5 }1 S
  230. output_buffering = 40969 @3 p- z# j) j
  231. 2 }0 b- V* ?+ g( O3 ~
  232. ; You can redirect all of the output of your scripts to a function.  For& `& D7 k/ f, J0 G5 M6 K  {$ f
  233. ; example, if you set output_handler to "mb_output_handler", character
    % e; Q! ?5 e4 m: C" b% L* S
  234. ; encoding will be transparently converted to the specified encoding.4 m6 o" w2 O& W# q
  235. ; Setting any output handler automatically turns on output buffering.
    3 A: [& W! b& I0 X# p8 Q( K: N& d
  236. ; Note: People who wrote portable scripts should not depend on this ini9 e0 J# Q: g( {) B% ?
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    ; j- n! I& H8 Z  e: z
  238. ;   Using this ini directive may cause problems unless you know what script1 \) m1 h7 ^- p$ T# ]' E
  239. ;   is doing.# [5 e" ~  L& N) |  R& B
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    9 J& @; E& b  K2 Y& U; b
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    . p( E) x: t/ K$ n# [
  242. ; Note: output_handler must be empty if this is set 'On' !!!!$ H- A3 n$ H& U+ ~* b) `1 O
  243. ;   Instead you must use zlib.output_handler.3 V' }" h$ }: w5 \
  244. ; http://php.net/output-handler2 @$ I! B4 w7 X& ]9 {5 o6 ~
  245. ;output_handler =( U0 ?" d/ [9 ?* X) T4 }
  246. / L( L2 f6 T5 y
  247. ; Transparent output compression using the zlib library+ K- I% R& p8 N4 ?/ M( c: x2 F1 R
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size0 U$ l0 n3 t% ^0 n" @
  249. ; to be used for compression (default is 4KB)3 V3 W* g6 }2 z  D! I
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP0 \. [4 n+ D/ H# J
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    ' w: X. C8 B$ {# c
  252. ;   compression. If you prefer a larger chunk size for better" C# |2 V. O3 z  C1 a% P
  253. ;   performance, enable output_buffering in addition.
    ) F6 O' G4 u$ a& O( }
  254. ; Note: You need to use zlib.output_handler instead of the standard  b4 P& \/ a. C, Z1 a( g
  255. ;   output_handler, or otherwise the output will be corrupted.
    6 E- ^; |4 I* \
  256. ; http://php.net/zlib.output-compression  }! e4 G9 |& k' m/ o3 X3 w
  257. zlib.output_compression = Off6 z( T0 [; ?) T
  258. ' w. a. K8 j. G  p3 Y' ?
  259. ; http://php.net/zlib.output-compression-level7 P& |. ~9 t3 k5 \) _
  260. ;zlib.output_compression_level = -16 y/ `) z5 V6 G+ x3 I  o% X2 R5 _

  261. 5 l$ ?, [2 R' M8 F7 H+ D; r6 s7 R
  262. ; You cannot specify additional output handlers if zlib.output_compression
    3 f. i" V" a! D+ K
  263. ; is activated here. This setting does the same as output_handler but in
    * |# ?$ d0 z7 c3 Q4 u6 T, w: G* u
  264. ; a different order.
    $ Y6 h; u  Q2 U
  265. ; http://php.net/zlib.output-handler2 v0 R, e$ ~) p# G
  266. ;zlib.output_handler =1 X- M' M7 V7 s% Y- m  Y! @
  267. 5 H. T/ P! o# L
  268. ; Implicit flush tells PHP to tell the output layer to flush itself8 j" b. A( G9 ?4 X$ Q+ W
  269. ; automatically after every output block.  This is equivalent to calling the
    7 w# b9 b$ @' O4 e% F
  270. ; PHP function flush() after each and every call to print() or echo() and each6 w1 z' U( r* i7 o, ^
  271. ; and every HTML block.  Turning this option on has serious performance3 n7 }# @: Y$ n! \, j6 k
  272. ; implications and is generally recommended for debugging purposes only., z( s) k. ^" y( W; |. B" `/ s
  273. ; http://php.net/implicit-flush
    8 B& V3 \- F. \% M8 J
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    . ^/ |: T/ P+ q" p$ N
  275. implicit_flush = Off1 y6 q/ E  d$ ^& ^' z% R# ^$ C  a/ `

  276. ) [2 a/ j& W' D
  277. ; The unserialize callback function will be called (with the undefined class'5 w. o& \; p) l) q( s3 \
  278. ; name as parameter), if the unserializer finds an undefined class! H& n8 h" R9 ^9 `
  279. ; which should be instantiated. A warning appears if the specified function is
    " K; l4 S2 o0 G9 n$ `0 }# s/ z$ m6 z
  280. ; not defined, or if the function doesn't include/implement the missing class.
    - N5 I: I# Y8 L6 B5 ~
  281. ; So only set this entry, if you really want to implement such a% q! }. O" Z% p9 m2 k
  282. ; callback-function.
      s4 R: [! i8 Q/ E7 G
  283. unserialize_callback_func =
    9 c% d, r% E' E0 Z  Z
  284. 4 Y- b9 t9 V! b, A( W7 l
  285. ; When floats & doubles are serialized store serialize_precision significant
    ) N3 y3 D* C5 V. x
  286. ; digits after the floating point. The default value ensures that when floats3 a2 z& V& U5 @6 }. y! h! U% n3 c
  287. ; are decoded with unserialize, the data will remain the same.
    / z, q% _( Q5 o) P' s1 Q1 B. v
  288. serialize_precision = 178 j  f- t: R5 o/ W

  289. 9 S' Y! V. ?( _/ W
  290. ; open_basedir, if set, limits all file operations to the defined directory
      Z0 h! G+ X6 ~. [4 G' u8 c
  291. ; and below.  This directive makes most sense if used in a per-directory
    7 n! W8 F# V, ^3 [, o
  292. ; or per-virtualhost web server configuration file.
    ' m8 V; x- B/ r0 O1 X  R3 @
  293. ; http://php.net/open-basedir. a  Z0 X. U2 ~, L& |; m2 z. c
  294. ;open_basedir =
    * c) t) z% G5 b* P" x; f5 T, @& }5 x- ]

  295. * i1 V7 ~! Z2 M
  296. ; This directive allows you to disable certain functions for security reasons.
    ; i5 K. p, g2 X
  297. ; It receives a comma-delimited list of function names.
    : K( e$ ?4 y4 j" Z5 k9 B' i1 n7 J
  298. ; http://php.net/disable-functions
    2 ~3 c; J  W( m/ E# y9 E
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    * h" o! ^2 u6 ~

  300. * u/ B" u0 @5 t, u
  301. ; This directive allows you to disable certain classes for security reasons.  f; E6 ~6 R! x. d; t1 U
  302. ; It receives a comma-delimited list of class names.
    & f/ ?- W% ?: y1 x1 x
  303. ; http://php.net/disable-classes& C3 H" o6 [. {$ G
  304. disable_classes =
    * I; A/ Q- P8 J  d# V

  305. 6 y" B% D2 ~. T
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in0 r, a$ S' X- \: J. q" T/ [0 P
  307. ; <span style="color: ???????"> would work.
    ! l3 R- e1 `5 F" V* N! p3 ~
  308. ; http://php.net/syntax-highlighting
    6 |2 S- ?+ I, f: z
  309. ;highlight.string  = #DD0000
    & w' W2 i% ?  g/ K) P
  310. ;highlight.comment = #FF9900
    7 P$ q" U* S# ~2 f4 m) B
  311. ;highlight.keyword = #0077009 \$ f7 x) C0 m5 f8 O
  312. ;highlight.default = #0000BB- {' U) z* G8 F) M( F, I' j2 P) R: ]
  313. ;highlight.html    = #000000
    # ?# Y$ @0 j3 \) l# T# }! `
  314. 2 P! M" d) ~# L
  315. ; If enabled, the request will be allowed to complete even if the user aborts0 E5 |2 A& T; r
  316. ; the request. Consider enabling it if executing long requests, which may end up
    / _8 l4 E% b0 K
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior- F; w& n. O0 u# F9 X: m* p4 y
  318. ; is to disable this feature.
    2 A; h7 X6 d" o, Z
  319. ; http://php.net/ignore-user-abort
    # x, o6 c% M- d3 Z7 p+ ~3 v, H
  320. ;ignore_user_abort = On" K" v$ g: a8 m4 r

  321. 6 p4 a7 K- h9 S, [# G
  322. ; Determines the size of the realpath cache to be used by PHP. This value should8 ]: L3 x, b1 E! M! a: |- H( i
  323. ; be increased on systems where PHP opens many files to reflect the quantity of0 _7 j3 V. t$ b' [$ t! h
  324. ; the file operations performed.) Z' }$ q1 b) G9 S
  325. ; http://php.net/realpath-cache-size
    # {# @$ ^4 o( X: H7 e5 r  V+ {% E
  326. ;realpath_cache_size = 4096k
    # g2 B" H: [; B8 [; m
  327. / r+ X% I2 \4 V) r
  328. ; Duration of time, in seconds for which to cache realpath information for a given+ v8 |: B0 f. Z5 n0 n6 s, s
  329. ; file or directory. For systems with rarely changing files, consider increasing this! w/ _' \* D4 S& y$ T& i" W
  330. ; value.
    ) L/ E7 p3 r6 |/ t% o8 }/ ^+ O
  331. ; http://php.net/realpath-cache-ttl
    ! F1 `& C! g# a
  332. ;realpath_cache_ttl = 1203 ^3 c/ N+ X. m# W
  333. 9 x7 J2 v+ C8 h5 I. V
  334. ; Enables or disables the circular reference collector.
    " E/ t8 y2 A, O! U% d
  335. ; http://php.net/zend.enable-gc
    5 s' Z% U% l* q) o0 X# n  G( @5 B
  336. zend.enable_gc = On$ F0 \3 n' i0 [9 [4 u3 m# B

  337. 8 d7 ~0 l3 M2 K
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    2 A2 R0 ~: b" X' k
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    + W0 I6 X, N# S9 T' M' m
  340. ; encodings.  To use this feature, mbstring extension must be enabled.4 \. Z" O! K  [5 t: b
  341. ; Default: Off
    ' l6 z# I; g3 j0 W# o! U; A
  342. ;zend.multibyte = Off0 P8 T* D4 C) m) _0 a
  343. ' u; W3 y) f! m# r' P' h" u
  344. ; Allows to set the default encoding for the scripts.  This value will be used# `# N! X: {1 N
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.$ O& S$ W) Z* @( M. k0 j
  346. ; Only affects if zend.multibyte is set.
    2 S5 w' p: g* O5 b
  347. ; Default: ""
    5 B$ R7 _  f/ }# F0 }9 G
  348. ;zend.script_encoding =: I( w! F) x0 Z

  349. & e" f/ u7 Y7 G0 L9 j4 @4 ?+ R
  350. ;;;;;;;;;;;;;;;;;
    ) g; _8 t/ t, |/ g8 S
  351. ; Miscellaneous ;
    9 i: ?& u* y/ Q9 I! Q, r
  352. ;;;;;;;;;;;;;;;;;
    ) n. n1 o2 u: Z& i3 P9 {4 `

  353. , P: i0 j3 w6 b( A
  354. ; Decides whether PHP may expose the fact that it is installed on the server: u8 H! G# T' H" P" m  Q" i- P
  355. ; (e.g. by adding its signature to the Web server header).  It is no security9 X8 x' z, z6 [  z1 j# n: x9 G
  356. ; threat in any way, but it makes it possible to determine whether you use PHP2 j' e4 E- v" _
  357. ; on your server or not.) d1 P& w+ I4 F9 l. j2 d
  358. ; http://php.net/expose-php
    1 I" O4 q( h7 F$ @2 j
  359. expose_php = On
    4 e7 X" J  S6 K- d1 ?
  360. ; B  i' i* Y- E& G6 [' ?0 Q& P
  361. ;;;;;;;;;;;;;;;;;;;
    . C, h# _+ B" J7 V. P1 @
  362. ; Resource Limits ;
    4 }- x7 V- `( ]
  363. ;;;;;;;;;;;;;;;;;;;+ E0 u. O& T# @# G& o

  364. 2 s3 {& B/ r1 Z, Y
  365. ; Maximum execution time of each script, in seconds
    3 D: v6 ~4 L' n* Z) M! @" y
  366. ; http://php.net/max-execution-time
    0 d- T6 N6 _$ v9 e4 K
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI5 n' W$ D7 ?# I
  368. max_execution_time = 300
    ( i4 W. y  j) L4 ^% Y: j! y
  369. * u6 o, O4 j- u! h8 j3 q% z
  370. ; Maximum amount of time each script may spend parsing request data. It's a good0 G2 t, y, k2 `
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    5 R. q- \2 R; J  Z2 v, f
  372. ; long running scripts.
    ( U, ]% ?  B" |7 k9 j
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI: T5 E( c  W+ S, a. G& x) t
  374. ; Default Value: -1 (Unlimited)
    7 ?4 v2 K! b) A7 w
  375. ; Development Value: 60 (60 seconds)9 a; v0 X& `- ]2 Z& E& W
  376. ; Production Value: 60 (60 seconds)+ a) @: p$ x5 l' Q* y1 L
  377. ; http://php.net/max-input-time+ q; X0 a) I; ?. d
  378. max_input_time = 60
    5 L8 y6 u: V' a% Y1 i; r7 t. a4 l2 [
  379. 4 h* G3 |4 p: F8 K' h
  380. ; Maximum input variable nesting level
    6 ]8 _) j/ y$ `7 M' Y
  381. ; http://php.net/max-input-nesting-level
    6 b% C2 w$ b  D: z  a" H" `/ J) }( r! Z
  382. ;max_input_nesting_level = 64, p  D( A. Y" r1 c$ [

  383. 8 ~8 F$ Y' x7 d) X( N
  384. ; How many GET/POST/COOKIE input variables may be accepted9 F' y! H$ L" A: u( A$ D% F
  385. ; max_input_vars = 1000" h& Z* l& v; A
  386. + a! O4 c- M3 _, P+ d
  387. ; Maximum amount of memory a script may consume (128MB)1 |" w7 F$ n* X# q  Z
  388. ; http://php.net/memory-limit: V5 r4 R, V" X1 n. X
  389. memory_limit = 128M
    2 b  I$ V7 R0 F0 N

  390. : g: U' c4 |% W5 r" K# m& P
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0 U# u8 s0 L1 ]( p
  392. ; Error handling and logging ;! h4 N: e- y# ]* L1 y# t& R
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; i# `# U6 C* m
  394. 3 C0 d8 A5 u! |; |  ]8 D2 B" o
  395. ; This directive informs PHP of which errors, warnings and notices you would like3 O! s! L) U; k  J1 Z  [
  396. ; it to take action for. The recommended way of setting values for this- n- U, z4 N9 a0 y
  397. ; directive is through the use of the error level constants and bitwise
    & \7 ~  D( `8 v( d* m8 c
  398. ; operators. The error level constants are below here for convenience as well as
      J; m# f: f9 v' H8 f) ?4 z
  399. ; some common settings and their meanings.% |4 m# ]4 P; P% i8 Y) v
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 M5 p# ~3 I" _& F3 D; x3 C
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and$ l+ b% L  G3 {
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    / W  Y3 I, C3 p
  403. ; recommend error reporting setting. Your production server shouldn't be wasting2 ^0 s  W$ {2 E5 ?& j/ r
  404. ; resources complaining about best practices and coding standards. That's what2 k- \) E: i2 A; i
  405. ; development servers and development settings are for.9 b* L3 L2 ?! h; L: Y5 V! r& V
  406. ; Note: The php.ini-development file has this setting as E_ALL. This) D2 n  `+ S$ J3 D) V: I
  407. ; means it pretty much reports everything which is exactly what you want during
    / c7 F; d! m1 @  Y
  408. ; development and early testing.* Z' O# c: R! S0 {# N" X( P
  409. ;
    8 ?1 K: R. R4 j- Z/ V
  410. ; Error Level Constants:
    7 Q/ R% t2 K" n+ \0 |  @
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)* u3 |: \/ z* u% K  ?
  412. ; E_ERROR           - fatal run-time errors
    # D4 w, Z$ R& d
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors; ], L, O% r  q' |6 R5 j  Q1 `' ^
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    - {- T. A- [# n& e+ `
  415. ; E_PARSE           - compile-time parse errors
    * ~0 _3 a* v- Q2 D. m2 j) _
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    , I3 k: b% f/ }9 P
  417. ;                     from a bug in your code, but it's possible that it was4 |0 [, V) G. c1 I
  418. ;                     intentional (e.g., using an uninitialized variable and) X. e! D/ H7 M' h( R
  419. ;                     relying on the fact it is automatically initialized to an
    1 }) r- d" N4 U0 L: ^8 t' Z
  420. ;                     empty string)
    3 h  x& Q. V( q3 \) q
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
      a' i! M+ b+ s4 U) ~8 f
  422. ;                     to your code which will ensure the best interoperability
    # C; [' n% i5 `( }0 S
  423. ;                     and forward compatibility of your code
    7 r) ^5 |9 g5 H9 e
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup) @% Y# \& Z6 s6 F) @+ b
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    9 y: ~) H# @! u
  426. ;                     initial startup
    9 D! p: S& K* X0 T( T" K
  427. ; E_COMPILE_ERROR   - fatal compile-time errors' p+ o( i4 k; }6 S
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)- `' M& @" R2 y
  429. ; E_USER_ERROR      - user-generated error message, t% E% b4 \9 a$ \& b
  430. ; E_USER_WARNING    - user-generated warning message
    " J' s% O7 ~& ]2 z, a* m
  431. ; E_USER_NOTICE     - user-generated notice message' a8 u. _9 r7 `1 p) ~2 j
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    / w- F1 p( l9 l; v1 L" a# i! n
  433. ;                     of PHP' S5 |: L5 G9 {7 i
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    - S4 S2 D, ^, K) @
  435. ;  p6 d) d- l" c8 b
  436. ; Common Values:
    1 V5 s8 v( S* D% X7 m3 \  b$ F
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ; k% H! Q$ A0 L) c9 T
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)1 A$ M5 d, @( T& d7 ?/ z' B
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)9 [" b! p/ t: f
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    . e7 t' K1 t! Q: k! u7 D/ @: s& b1 s. y
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 r& ]: q: C3 A% f/ {6 f
  442. ; Development Value: E_ALL" i' w- D& l7 {' Q  b
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT: {- C7 T, L+ Z  x: I1 b$ S
  444. ; http://php.net/error-reporting  A) M7 M( y( R+ s" S; A0 P& x
  445. error_reporting = E_ALL & ~E_NOTICE
    % u# \2 o5 w8 I8 E

  446. 4 ~8 w+ p0 ~1 `! U; }8 ~5 R+ Q
  447. ; This directive controls whether or not and where PHP will output errors,
    , b- i! \) I0 \# _! Y
  448. ; notices and warnings too. Error output is very useful during development, but7 h- i, g& E, e$ s. J0 \7 u
  449. ; it could be very dangerous in production environments. Depending on the code2 g" X+ |) D& d/ A, R0 Z
  450. ; which is triggering the error, sensitive information could potentially leak  T! a- [* `9 m( q( r
  451. ; out of your application such as database usernames and passwords or worse.# l6 ?, W$ {* m& A9 o$ a, n& d$ `) g
  452. ; For production environments, we recommend logging errors rather than( y3 i2 X# H5 I2 {1 W9 t# x9 l
  453. ; sending them to STDOUT.. t0 {2 N& x$ k1 g, ]' y
  454. ; Possible Values:, v1 ?9 v7 V/ f1 J9 O$ D
  455. ;   Off = Do not display any errors
    , m0 E) C- C; b# B$ e- }& O
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)7 ^9 [# X" I. O( V; X+ i: l
  457. ;   On or stdout = Display errors to STDOUT5 Q5 T0 I, Z/ M' @1 K' x* i, K
  458. ; Default Value: On
    & x% O" o# W2 O- A% b. Y4 V
  459. ; Development Value: On+ E( q3 E3 _: T$ t
  460. ; Production Value: Off
    . u  c$ f* }: M* e
  461. ; http://php.net/display-errors! e0 \+ R( V8 t* v" y
  462. display_errors = On
    2 R* ?  U  z& P! k# p) }. _1 d% O5 w

  463. % `8 {3 t$ z" z
  464. ; The display of errors which occur during PHP's startup sequence are handled
    ( [+ O5 b+ v# \, z# Y& x
  465. ; separately from display_errors. PHP's default behavior is to suppress those0 D+ \( q" D1 |- o0 x
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    % o- U' y+ x, Y" X1 }
  467. ; debugging configuration problems. We strongly recommend you2 X! Z& s+ U9 \2 ~6 M. Y3 P* S+ B
  468. ; set this to 'off' for production servers.
    : T7 T- m3 y( t7 h! s: F) s* n1 o
  469. ; Default Value: Off
    # d; j( `1 r; i% Z
  470. ; Development Value: On
    ) E) M1 g0 I* T4 [
  471. ; Production Value: Off
    5 A" o! C$ m# S$ W1 |
  472. ; http://php.net/display-startup-errors
    8 m2 x; e& w; @  D- K8 W( Y; \
  473. display_startup_errors = Off
    ' G9 N7 a: G7 O1 L8 c

  474. ' A9 L5 U' t9 P  T
  475. ; Besides displaying errors, PHP can also log errors to locations such as a2 m* f$ j9 b1 m, S
  476. ; server-specific log, STDERR, or a location specified by the error_log
    1 S& X* |# R$ _  @
  477. ; directive found below. While errors should not be displayed on productions" O% X" Y0 W. i  y! j
  478. ; servers they should still be monitored and logging is a great way to do that.; H9 w$ H8 {' {7 ?+ E
  479. ; Default Value: Off- w4 |8 z7 u2 Q5 o4 g! `& b) K
  480. ; Development Value: On
      C  E, `  Q. W3 O# p. f' b
  481. ; Production Value: On
    4 q4 l, O+ T/ x+ A. U
  482. ; http://php.net/log-errors) r0 [# X: u. B+ A- w/ k# i
  483. log_errors = On" f! e- U7 K: A* E. P( H7 c

  484. 3 M: P5 e9 O$ r0 G- _8 E
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ) F% }1 |( {( o+ x5 l6 _  d
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    5 |8 L1 X" Z. Q% x+ G
  487. ; http://php.net/log-errors-max-len
    ; x3 d: {; m5 M/ m
  488. log_errors_max_len = 1024
    7 ^2 @; r: J3 {: v9 E
  489. 1 s7 Y, Q: a" W% J& {
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same2 R4 {% [; b2 e
  491. ; line unless ignore_repeated_source is set true.
    3 N% t2 s% q, c( R& J7 M1 ?& K
  492. ; http://php.net/ignore-repeated-errors6 _+ W) Y9 f1 u7 L2 |! r9 Y0 Q" T
  493. ignore_repeated_errors = Off$ k5 q3 Y- i8 P  N, ~9 ~
  494. + m/ T; }" m5 U3 C1 \
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    . X; [, [8 D- [$ ~' f" s0 s
  496. ; is On you will not log errors with repeated messages from different files or: N! b3 A" v7 U/ P1 e: p9 J) H
  497. ; source lines.! F/ ]( r8 ]% @. h# d9 i  b! q
  498. ; http://php.net/ignore-repeated-source: \! ]5 U# Z8 q+ l3 A
  499. ignore_repeated_source = Off1 R- c2 k! j( l& D

  500. 1 u/ {8 r' {2 f1 q% b
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on! c% U" {8 p3 w* U% `* M5 o. V
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ' @6 K# `8 [5 R$ ]( b8 U
  503. ; error reporting includes E_WARNING in the allowed list) N1 ~) _& L+ ]( \. l, }
  504. ; http://php.net/report-memleaks
    / P0 r6 p. |2 L) }. B
  505. report_memleaks = On1 d5 M4 D  L( B9 K
  506. ; {# V: c- i6 N$ d; B: f! M& L
  507. ; This setting is on by default.
    4 Z+ Y, _& b! h- Z0 ?: ^3 E4 }' D
  508. ;report_zend_debug = 0) r: s* b. Z* {* q+ k& Q$ P

  509. % X" ?# y9 l* s  Q
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value! ^9 O% x0 @" f+ s5 N$ ~
  511. ; to On can assist in debugging and is appropriate for development servers. It should4 A9 y- ]! r* r* Y7 A8 b
  512. ; however be disabled on production servers.( K/ Q0 X$ j# [/ M5 y7 B. ~% {/ S: e
  513. ; Default Value: Off
      J  O- q) C) U* A
  514. ; Development Value: On" K5 P' d2 h0 Y; l7 ~
  515. ; Production Value: Off) \0 H" K/ w/ f. W/ [$ ^9 F
  516. ; http://php.net/track-errors
    . w2 _! }' g5 M5 |8 W; h2 y9 A2 s
  517. track_errors = Off+ Q8 y0 m+ n( I9 C2 m; U

  518. 9 n* M) a5 \1 `% G+ w
  519. ; Turn off normal error reporting and emit XML-RPC error XML3 u9 g# ]) n1 F2 u. P  h5 @+ Z% {# s$ C
  520. ; http://php.net/xmlrpc-errors
    * Y2 J5 V& w1 _! |- v( e
  521. ;xmlrpc_errors = 00 z$ Z, f3 S0 D# f0 @, a4 C
  522. 7 @1 B: N, k  P5 ~
  523. ; An XML-RPC faultCode% o( F0 \+ ?7 c+ _2 Z, E, e% M+ T: D
  524. ;xmlrpc_error_number = 0
    * ~" B$ A. ]8 ]/ N9 Z/ }

  525. 7 [& v9 y( {: f: Y+ l3 x; {, e
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    1 b8 c5 ]# Z: _& A& H( T/ `! i. O7 @+ M
  527. ; error message as HTML for easier reading. This directive controls whether  p. J; j& Z$ D+ O0 t
  528. ; the error message is formatted as HTML or not.
    / e8 C  W0 K/ y, @' H
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    : t# P; O- w, k, s5 p/ i
  530. ; Default Value: On
    ! X/ ?8 R# ~' ^/ H. n6 C
  531. ; Development Value: On
    2 b$ ^& y6 D& B( B& L! Y3 n8 u# H- U
  532. ; Production value: On$ [# M4 {  u: a  r+ R' R
  533. ; http://php.net/html-errors
    ' ?  R9 Y$ T1 r' p" \
  534. html_errors = On, b* _4 l6 }6 B6 U6 B' e) k2 p

  535. - e. P  H9 q9 a
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ; Y; p: e1 t* q
  537. ; produces clickable error messages that direct to a page describing the error
    . D* _$ z' C* x, E
  538. ; or function causing the error in detail.
    1 z- I! ?7 G0 ]8 g# q' K" j" ?
  539. ; You can download a copy of the PHP manual from http://php.net/docs% B* T& M) f: z
  540. ; and change docref_root to the base URL of your local copy including the# J$ H1 X3 V( n
  541. ; leading '/'. You must also specify the file extension being used including2 f9 K" r  f  h5 Z* V. h/ i, A
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which" }4 Y& _: ]$ A6 E
  543. ; case no links to documentation are generated.
    ) q0 \( `. G6 {, b! r0 W3 Q$ n
  544. ; Note: Never use this feature for production boxes.
    , f/ W9 g4 M% V3 o1 o
  545. ; http://php.net/docref-root
    ! ?) D6 g# p, y; v( R: i' a
  546. ; Examples
    4 Z! [2 {0 r* p/ @
  547. ;docref_root = "/phpmanual/"/ n+ p$ A2 Y0 K6 a1 ^9 v0 d; A1 J

  548. % p: \% ^  X; ]2 d8 e0 }
  549. ; http://php.net/docref-ext
    0 G# N- O2 m/ b8 ?, I
  550. ;docref_ext = .html
    : ]2 X0 ~& b2 I8 M6 m( n
  551. 3 A3 l- p( b: Y  C1 I8 W
  552. ; String to output before an error message. PHP's default behavior is to leave
      a8 F. I- |3 G& F
  553. ; this setting blank.
    * e+ W; o! x0 L/ \
  554. ; http://php.net/error-prepend-string9 @5 ~% l) B; T1 P
  555. ; Example:7 j! h" a0 a9 T7 Z9 w
  556. ;error_prepend_string = "<span style='color: #ff0000'>"% p" X, m5 z8 U- R

  557. & E# E( O% U8 Z. E5 }- B
  558. ; String to output after an error message. PHP's default behavior is to leave
    1 P( d' E1 `% n
  559. ; this setting blank.
    3 f8 N, g- g* c' ]( l7 N- @
  560. ; http://php.net/error-append-string' p6 z1 g0 ?4 a, I- y
  561. ; Example:
    % K( Q* n1 w% O/ M# a
  562. ;error_append_string = "</span>"1 e% v: s+ R, \1 B/ t
  563. * \1 w. C' N; K( B# ^
  564. ; Log errors to specified file. PHP's default behavior is to leave this value& F! l4 L/ G+ M& \
  565. ; empty.3 X2 X" S& j9 S( l2 J
  566. ; http://php.net/error-log2 J6 }! c; m0 [
  567. ; Example:
    * b0 e; m! E+ A) e, F4 Y$ K$ D
  568. ;error_log = php_errors.log
    ; S: `/ {3 C) c7 Z" o& \( E4 t  M
  569. ; Log errors to syslog (Event Log on Windows).) A1 \  z+ F: o4 n; A. ?' C
  570. ;error_log = syslog+ U9 h6 z. }0 T- c1 S* T( b

  571. ' P5 N  @6 I5 l9 x- m
  572. ;windows.show_crt_warning
    6 n/ V4 O: r% N  p8 A  l# A
  573. ; Default value: 0& p0 ]7 p% Y1 \+ f5 z
  574. ; Development value: 0
    : R; ^  ?0 Z8 g0 [
  575. ; Production value: 0
    1 T6 W% O3 T- @3 m
  576. * z' z- Q6 D4 j7 x, H; B  y% P
  577. ;;;;;;;;;;;;;;;;;
    ) Y0 T. ^% |1 |9 Z1 m
  578. ; Data Handling ;
    ! v2 o( ?! p2 E. q4 D
  579. ;;;;;;;;;;;;;;;;;
    ' D  Q3 N+ X+ |0 k
  580. + |, X9 p: O1 M8 P3 J
  581. ; The separator used in PHP generated URLs to separate arguments.
    7 b3 o, _$ ?# L; o$ N' f
  582. ; PHP's default setting is "&".' L1 {) h  ~1 j& T* c3 ~
  583. ; http://php.net/arg-separator.output
    4 |4 z& O, ]! X" S# Y
  584. ; Example:
    1 I) `! X; {3 P0 t5 D  ^5 ]
  585. ;arg_separator.output = "&"
    2 k6 d3 ]; E- K

  586. / _2 u: b! W/ h. r& c* C9 j' ~
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    , S9 b8 c2 e' s1 k- Y3 \6 U/ T
  588. ; PHP's default setting is "&".
    . _. l4 o; q% H1 m  [. r9 p
  589. ; NOTE: Every character in this directive is considered as separator!
    5 M* l" p" n2 R5 l/ b* L3 A
  590. ; http://php.net/arg-separator.input
    ( Z* d8 H" j% {" I* c/ J) g
  591. ; Example:
    % n  O5 K- G, s; l3 V, F
  592. ;arg_separator.input = ";&"
    . W5 B" z! |( I$ o5 l6 E
  593. 4 j9 R8 @" c' q
  594. ; This directive determines which super global arrays are registered when PHP3 X: }! u0 S% W  y# N) e
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ( X. g4 i# @! L8 X- Y
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    * c% p4 A% b+ d- H/ e% ^: q6 U
  597. ; paid for the registration of these arrays and because ENV is not as commonly5 q6 t0 s. T4 S$ e0 d
  598. ; used as the others, ENV is not recommended on productions servers. You" ]( X" P/ h# B$ m, ~; B0 x
  599. ; can still get access to the environment variables through getenv() should you
    5 M/ J" _6 ]9 w7 W  t; U4 v
  600. ; need to." _6 V, C3 m4 C, w: ^& @/ a+ }
  601. ; Default Value: "EGPCS"5 J5 G9 t4 U0 |( f" ~- M) G
  602. ; Development Value: "GPCS"
    0 H* v7 D2 c3 X0 U' Y, h5 B
  603. ; Production Value: "GPCS";
    1 r6 K. \; V2 S( j2 N1 n! S$ |' a$ f
  604. ; http://php.net/variables-order  B; E+ Q# y! M# P$ w4 |( k) D
  605. variables_order = "GPCS"
    ! e! ?* v! n( x$ h; K; y
  606. . ~, A* V. y$ N+ [" b5 R9 `3 q
  607. ; This directive determines which super global data (G,P & C) should be
    & H* ?6 D- z5 E' J( @. J8 V
  608. ; registered into the super global array REQUEST. If so, it also determines4 ^. E( |  D4 L$ ]
  609. ; the order in which that data is registered. The values for this directive  A2 n5 T5 i8 x' |# y
  610. ; are specified in the same manner as the variables_order directive,7 v) L* {. t3 \3 I. Y
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    , A/ _4 N" v# n& B( z* e
  612. ; in the variables_order directive. It does not mean it will leave the super8 x0 H1 f9 r( B* r3 u: t
  613. ; globals array REQUEST empty.
    . j' w5 A  I& \9 F( r
  614. ; Default Value: None' u+ K/ n7 C+ K; u9 [, F3 E8 ~
  615. ; Development Value: "GP"
    4 O1 W, j7 A2 `  A  t4 A
  616. ; Production Value: "GP". l4 N1 R; |: F" t2 X8 J! \
  617. ; http://php.net/request-order8 s/ M- B2 h' h/ R7 A$ q  h
  618. request_order = "GP"
    3 k1 X1 [3 P$ g% e! b5 P
  619. , B) N1 e- t( I& W: C
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ! x8 r4 f# w9 x# {4 ]* y& I
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script8 Y  I) i$ Z: l* f* w
  622. ; is invoked. $argc contains an integer representing the number of arguments
    + g  g: Q  i1 ?+ c, |! u
  623. ; that were passed when the script was invoked. These arrays are extremely
    0 x2 E5 D2 @' i7 @5 U# l/ \9 @
  624. ; useful when running scripts from the command line. When this directive is% B. T( x9 O2 H* E
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    5 y. u- z2 ]( e9 b1 l# F
  626. ; a script is executed. For performance reasons, this feature should be disabled
    # r% B: x7 d. j) T3 ^
  627. ; on production servers.
    : j1 B% Q! x" m8 B- E
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    : z3 y+ E: K3 B2 ^
  629. ; Default Value: On
    $ a' G" p- E) o4 {  s* Y# n
  630. ; Development Value: Off
    " W' b" T# |& c* ]7 u+ F
  631. ; Production Value: Off3 g4 e: P# w9 ^7 d" k
  632. ; http://php.net/register-argc-argv
    * A0 U% K2 g- f! {2 S7 [6 u
  633. register_argc_argv = Off+ A7 [& [) n; `! I" ]
  634. 1 M: |9 P4 ~: H1 P4 P% K! T
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're; L/ C/ {9 C( s8 m6 H6 l9 O1 G1 `
  636. ; first used (Just In Time) instead of when the script starts. If these3 k7 a/ @% }6 M( O' I9 A0 L
  637. ; variables are not used within a script, having this directive on will result
    - {( q6 k5 h  N2 ^
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ' ~& Y! [5 p& E' J* u
  639. ; for this directive to have any affect.# {' ^% g5 j; y5 u
  640. ; http://php.net/auto-globals-jit
    ( A) H" q$ ^/ x; j0 a) O$ Y1 o7 s
  641. auto_globals_jit = On% D4 y) C" ]3 `9 S
  642. ! O3 I$ p5 z) d: d' ?
  643. ; Whether PHP will read the POST data.
    4 s7 W/ j/ X. ?& O# U
  644. ; This option is enabled by default.  x+ T$ C* O( V# s, n1 G/ z
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST; q4 V1 |8 ^5 U7 b. n% P
  646. ; and $_FILES to always be empty; the only way you will be able to read the: J% ]. X) I) H
  647. ; POST data will be through the php://input stream wrapper. This can be useful0 O& y. f# g4 _7 U
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.) S+ x+ k2 W$ j& J
  649. ; http://php.net/enable-post-data-reading
    # V( R8 Q) E* U+ {" t
  650. ;enable_post_data_reading = Off
    . M  u& C& P. u1 I
  651. ) y$ o7 h+ j# Z2 t! t, ^$ d
  652. ; Maximum size of POST data that PHP will accept.8 ?9 u, N8 g# N  E% H
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    , J. m  T0 R( G3 Q% [& b: ]
  654. ; is disabled through enable_post_data_reading.
    " u7 M8 m2 W( a8 B
  655. ; http://php.net/post-max-size
      ~2 K' g' x1 {, w! |* Z8 v
  656. post_max_size = 50M- u4 k2 a  Q8 l7 C. B7 q( l
  657. $ T: K' C1 C# V, `$ M
  658. ; Automatically add files before PHP document.
    ! {( x0 Q) W6 b+ w' S, T
  659. ; http://php.net/auto-prepend-file
    : v9 B% I9 |/ r5 e$ g2 d
  660. auto_prepend_file =9 P7 |$ @# y9 ]9 o, j- M
  661. ; f5 M! J5 R/ S* i7 n
  662. ; Automatically add files after PHP document.
    6 s- X, c9 }0 j6 B, E4 D) G
  663. ; http://php.net/auto-append-file
    8 S! I4 d0 V) A- V/ U/ d; v  w4 u
  664. auto_append_file =2 G$ s- ?6 }- W1 j5 A. i
  665. 9 D) @) j+ j3 X
  666. ; By default, PHP will output a media type using the Content-Type header. To
    ) t: p7 T, v, v  t$ O' H% d
  667. ; disable this, simply set it to be empty.+ ?+ D* _) h# y% I5 y
  668. ;- ~+ }& G4 _1 P( R5 v* A8 ]$ _
  669. ; PHP's built-in default media type is set to text/html.
      G1 N" S, ]( f. h' }
  670. ; http://php.net/default-mimetype. o1 j( P4 g8 I) H$ u# e
  671. default_mimetype = "text/html"
    . g) q/ B) A/ l$ D& P) f6 J% c: |

  672. % ]+ m: s4 `' G. p
  673. ; PHP's default character set is set to UTF-8.
    2 X- u0 L' m3 k- |9 O0 c" u9 K# S
  674. ; http://php.net/default-charset7 E& U- D& P/ R/ W2 M5 {7 c
  675. default_charset = "UTF-8") Q. H! A& g5 }+ M5 _6 v/ {( T2 ?2 ]

  676. 4 H5 y3 _: z. T! O4 U6 {( _
  677. ; PHP internal character encoding is set to empty.1 Z3 M8 Q9 i' q
  678. ; If empty, default_charset is used.
    ! h$ Y) F) ]$ G, M: b
  679. ; http://php.net/internal-encoding/ X9 V( y7 O8 @  ]! _
  680. ;internal_encoding =
    ( B: @+ {6 _1 \- g- s
  681. ! W6 ?$ F" R; S+ y+ |4 D- d3 p
  682. ; PHP input character encoding is set to empty.1 `4 Y- Z1 y  x  f3 c" J
  683. ; If empty, default_charset is used.
    2 i- m) j* K  V0 h
  684. ; http://php.net/input-encoding8 p8 d/ M( I% T/ c0 g2 [& i
  685. ;input_encoding =
    1 h4 t; w, C  n# q

  686. * l/ z# `3 U* a$ q3 p
  687. ; PHP output character encoding is set to empty.
    8 C5 K9 V0 O$ Y+ h8 s- o6 L
  688. ; If empty, default_charset is used.
    ( z' x+ @3 O1 x- I+ b
  689. ; See also output_buffer.5 N  p9 l1 d6 ^9 q
  690. ; http://php.net/output-encoding: S4 `6 T) {/ O
  691. ;output_encoding =
    / r: e9 @- D2 k7 {- F( ]9 Z5 k
  692. ! v$ u$ _- x' x
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 c3 \+ Q& S1 J. w
  694. ; Paths and Directories ;. p3 d; c3 J2 T) d' k
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ {1 z: ]) A2 c+ ~
  696. 4 |$ s( t" O& `+ g$ z' [6 D, z
  697. ; UNIX: "/path1:/path2". k! b2 n2 K' h6 q1 {1 k5 D
  698. ;include_path = ".:/php/includes"
    0 j  k1 n5 w% [4 ]( _" g/ E0 z
  699. ;, O! T/ K. A( B' h' b
  700. ; Windows: "\path1;\path2"9 r& c9 [" N/ r2 r6 W1 z, a8 N) ^
  701. ;include_path = ".;c:\php\includes"
    4 z' J- n4 f1 u0 v  P( V- ]  e
  702. ;
    9 H* E# {5 ?3 v( y+ U1 H
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    * y3 O4 F8 _1 K
  704. ; http://php.net/include-path
    - `' b) `4 T( K
  705. ( e" S5 }3 R3 a6 D# K
  706. ; The root of the PHP pages, used only if nonempty.
    + K' v5 p7 [7 z2 p) y4 i
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root0 u; Q  m$ D9 X3 c, [$ C
  708. ; if you are running php as a CGI under any web server (other than IIS)
    6 ~/ U  G5 F( A" Y5 Q5 q/ _2 y
  709. ; see documentation for security issues.  The alternate is to use the
    ! K& y5 L; W, a) z2 K( I0 m
  710. ; cgi.force_redirect configuration below
    ; T" p# X7 C+ B, n, R
  711. ; http://php.net/doc-root
    + D* m8 b" O& j5 A* ?. F5 V7 K
  712. doc_root =
    ; g! f2 l& x6 @1 l. ^

  713. 9 V  H1 x9 a' X
  714. ; The directory under which PHP opens the script using /~username used only
    - p# O: ?" b2 ^3 u+ c
  715. ; if nonempty.- B4 R( F4 K! ]. n( S4 d
  716. ; http://php.net/user-dir
    ! j5 j/ O% C- x2 C) k, x
  717. user_dir =' D& [2 d7 q% Y8 _7 l0 E( Q5 D
  718. $ y& Z' ~) ^2 I+ \+ ?. K
  719. ; Directory in which the loadable extensions (modules) reside.
    1 K& M2 J- I$ W. R
  720. ; http://php.net/extension-dir
    # Q# f" S( C$ {2 A' A' s& \& j
  721. ; extension_dir = "./"
    + `2 {* f( v, ~" k1 [' E, W3 v1 L
  722. ; On windows:0 q' N  G0 ]0 S- F& ]7 }$ D
  723. ; extension_dir = "ext"
    ( \: E0 W. g; T2 E
  724.   G4 c3 _6 t, V+ x+ A5 @8 X! S( J
  725. ; Directory where the temporary files should be placed.0 M2 V8 i: T/ w) X; A! H) ~
  726. ; Defaults to the system default (see sys_get_temp_dir)- q4 x# z# N& v1 _: q' `
  727. ; sys_temp_dir = "/tmp"0 b2 @! A) h# ~
  728. ' K8 |: r2 C% \3 K- @
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work; J: |% ]% R1 I5 I  v3 Z/ o" k2 p: X
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    0 q. ]- @. u+ f- d. a9 c
  731. ; disabled on them.* R* y, t% @# {( A8 A9 f
  732. ; http://php.net/enable-dl+ z# q7 B% I. ~  o  [' n
  733. enable_dl = Off/ Z2 y) q$ H4 r
  734. ! P; w. Z9 L; O' `2 K  |9 F9 p+ b
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    1 I- g$ P/ [7 f; d9 L. {9 b
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    1 Q4 F' e/ {+ C) o$ K4 b6 x* l; ?
  737. ; turn it off here AT YOUR OWN RISK
    7 e! B& A- P) b  [" W1 W. ~
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**4 Z6 ^* H  o. A: h4 }5 D" J4 D
  739. ; http://php.net/cgi.force-redirect. g( [/ X5 B- ~
  740. ;cgi.force_redirect = 1
    0 l& o! ~0 d; B& k7 h" d# j
  741. - \( |1 ~* F# I
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    & a: h$ K8 j1 G) y+ o) R& a: ~
  743. ; every request. PHP's default behavior is to disable this feature.
    4 K1 r/ `) S; j1 m
  744. ;cgi.nph = 1
    . \, p6 m# A& O
  745. ( l# N; j+ C7 }/ ]
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    / s0 B# K/ z' P! U3 b
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
      V; M8 O* [5 I0 O( ~, ]
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY, ~3 j$ i1 W; @! }$ E  P
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.* n8 b$ @( o' I
  750. ; http://php.net/cgi.redirect-status-env0 P: {5 f( n! \$ r! T- g0 o4 \* [
  751. ;cgi.redirect_status_env =
    ) [6 ~; ]% u, f. j* k) x1 T% g
  752. - T1 E' V3 V; ?2 I$ N% X% L0 |0 l, \3 l
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    . m0 w( O0 Q+ |7 v2 {* p! a$ j2 }
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok( ^: Q# V3 ^" n$ l* @2 W) j$ Z
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    / Z8 N# O9 `; [* f7 B
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    3 n2 G- d, `& v; l6 y# n
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ; D! F+ H! D& T1 A* e
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.. `, d& j. t" g) _# x5 U
  759. ; http://php.net/cgi.fix-pathinfo2 x- _1 n7 x. {* k( Q
  760. cgi.fix_pathinfo=1$ `* s8 U$ y. K+ f
  761. 5 t4 ^1 J0 W" q
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside: b: e: x9 O: k$ z% _) t: Y7 t
  763. ; of the web tree and people will not be able to circumvent .htaccess security.9 a4 M4 H9 D; Z1 {+ @. d
  764. ; http://php.net/cgi.dicard-path4 w: h% z, }/ e8 [( @1 U( P: s( V6 Y; `
  765. ;cgi.discard_path=1
    4 A, b" S' b: K. j. n: n, N

  766. 4 ]9 Y$ m& t! n1 v/ ~9 y: r
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    8 B. N- S* |$ L5 C
  768. ; security tokens of the calling client.  This allows IIS to define the( X7 H) `5 n7 E$ e" ]
  769. ; security context that the request runs under.  mod_fastcgi under Apache& `4 N1 x$ }) ]7 x4 T6 @
  770. ; does not currently support this feature (03/17/2002)
    # U# J# }9 b3 e7 ~( R' V- \& Q
  771. ; Set to 1 if running under IIS.  Default is zero.
    1 k1 m3 [# r/ g; ?! @0 y2 s
  772. ; http://php.net/fastcgi.impersonate) S5 M3 i: A. I6 C2 x' `# ^
  773. ;fastcgi.impersonate = 1
    4 y8 h: i& O9 c, [% ^, |% z
  774. $ R; j) Q: m6 [4 t+ a1 {2 y
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable( L+ J3 J4 t7 M& p+ S( V
  776. ; this feature.5 T6 o' P) X& h8 p$ r
  777. ;fastcgi.logging = 0
    ! s$ S/ L( Y/ _5 |  `

  778. & Y* J2 ^% ?) k( I
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to" p8 w6 }4 _2 K9 D% b1 k
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    " ], x2 {. M3 h, q
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    : A0 V( y* D+ y! }1 J9 H/ n! x/ d
  782. ; RFC2616 compliant header.
    3 C& `  Z. G' P  r
  783. ; Default is zero.
      V. x" x! C9 n! ]# w: E& y& J4 q: N5 b
  784. ; http://php.net/cgi.rfc2616-headers
    . E6 x+ a) f& r  c
  785. ;cgi.rfc2616_headers = 0
    1 e$ M6 W; [% Z' H5 ?+ s
  786. 0 B4 t; M2 h" N+ g( H$ }- z8 S; T
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    5 k4 {  W* v  C3 P- j/ M, P: D
  788. ; (shebang) at the top of the running script. This line might be needed if the, i  h9 F5 y  z) I' q0 x
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    + A# i; k- \# A. M8 `
  790. ; mode skips this line and ignores its content if this directive is turned on.
    : Z+ X! y# F; D
  791. ; http://php.net/cgi.check-shebang-line4 ^4 J4 H( [1 A/ t; D+ P+ k
  792. ;cgi.check_shebang_line=1
    # P( ]& o7 Z5 @: @/ O, c

  793. 3 L# z8 e$ l: w+ q& J. d3 r
  794. ;;;;;;;;;;;;;;;;4 ^, q4 |; R( O
  795. ; File Uploads ;' c: Q% R. W% D4 {& }) a" L
  796. ;;;;;;;;;;;;;;;;$ w! d+ g6 b, x* I9 Y8 B
  797. 6 T" E6 k( D" ^6 {
  798. ; Whether to allow HTTP file uploads.% [7 \- m; O# G* \, r2 m- t; k
  799. ; http://php.net/file-uploads' U) J, I% L9 {- e) ]
  800. file_uploads = On' j7 ]9 A' q( v" N
  801.   T; ~' T" O! J6 h( C/ s- v
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    6 c9 [0 ^* L+ K" i/ f2 L: s
  803. ; specified).3 d0 T% C9 ~. C8 T4 M% P
  804. ; http://php.net/upload-tmp-dir, s6 E8 j" ]# `% i
  805. ;upload_tmp_dir =
    2 Y6 W: }7 @4 n6 {6 Q! s3 R  u6 y- a

  806. 0 L4 y0 H# l1 Y5 {* z  D) k
  807. ; Maximum allowed size for uploaded files.
    ! X5 J( G* y1 x
  808. ; http://php.net/upload-max-filesize8 |. C! i4 W% }  S
  809. upload_max_filesize = 50M) B" @, G& a: R( t1 \

  810. 7 \1 ?4 N, J- j+ @& m
  811. ; Maximum number of files that can be uploaded via a single request
    ( `  n5 k; ~: t3 g3 c, B
  812. max_file_uploads = 20
    2 R+ h& r  U7 V  i
  813. % ^: E6 y* u  d* V, k+ E
  814. ;;;;;;;;;;;;;;;;;;
    # i4 A+ v8 |3 R$ F$ f/ D
  815. ; Fopen wrappers ;
    1 r: K7 L3 Q: q! e; @1 O
  816. ;;;;;;;;;;;;;;;;;;
    " s* S' m. j" H+ @+ k" k

  817. ; D2 m) F% ]+ W' g; g
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    0 d0 a3 \0 v& h2 e6 c* J( T6 \
  819. ; http://php.net/allow-url-fopen# E& \) s; Z9 ?% O) |3 I  P
  820. allow_url_fopen = On) ]( b" k6 y* N

  821. 1 t0 L4 ^: @& H
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.  U  x' a' q1 W' l9 c6 _
  823. ; http://php.net/allow-url-include' D# R" R; r5 z6 _' b8 V3 r3 E3 X
  824. allow_url_include = Off
    5 }: n# w4 F! Z) N+ x9 h% P/ u
  825. 4 i( g8 R6 O4 O- ^! F3 u
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    / u/ l$ i, q! |( z) y- l
  827. ; for this is empty.
    # W, }; P; c9 g& h  E3 j
  828. ; http://php.net/from
      V7 F1 G" z1 j* p* X$ F
  829. ;from="john@doe.com"
    % F5 B+ `; d: L: I

  830. 3 d# h0 T% J; P
  831. ; Define the User-Agent string. PHP's default setting for this is empty.2 s) i! ~7 P; r' _2 E
  832. ; http://php.net/user-agent* U* @& I5 @6 {2 N, K1 A
  833. ;user_agent="PHP"+ Z# p3 x  d1 E

  834. : Z& l! y7 {2 o% t" p1 ^
  835. ; Default timeout for socket based streams (seconds)% j9 \7 @( u7 @+ v% u5 l
  836. ; http://php.net/default-socket-timeout0 [9 a# f: W- I  g* l! ]
  837. default_socket_timeout = 60
    9 F/ Z  R% U' f2 ?- x. _

  838. 3 |2 g/ h  x: I
  839. ; If your scripts have to deal with files from Macintosh systems,6 l' j, a1 C& c" |2 ?
  840. ; or you are running on a Mac and need to deal with files from
    + {8 _: n( s* h$ B
  841. ; unix or win32 systems, setting this flag will cause PHP to6 u6 ~" z" T( g1 \/ ]
  842. ; automatically detect the EOL character in those files so that# Y9 z# R8 c3 B& _! y
  843. ; fgets() and file() will work regardless of the source of the file.
    ! |: w  ?5 f7 A. }. M( T0 Z4 Q" [
  844. ; http://php.net/auto-detect-line-endings% k$ e+ C8 ]  a6 F: K) S
  845. ;auto_detect_line_endings = Off
    ! h0 g8 x$ g6 n. I
  846. $ H6 n6 u3 X) K0 D1 _, w0 V; N: y
  847. ;;;;;;;;;;;;;;;;;;;;;;
    " Q( \- E# ^: n- e; r
  848. ; Dynamic Extensions ;
    ! `) f$ D9 T( V7 t  D
  849. ;;;;;;;;;;;;;;;;;;;;;;- y- }4 ^) V. t. i
  850. : I/ C% R1 y, x
  851. ; If you wish to have an extension loaded automatically, use the following
    5 l9 p9 S3 i9 [; X% R$ r2 M5 W, I
  852. ; syntax:
    9 f0 D% ]& y$ A  e6 L& u9 c4 E2 R
  853. ;
    3 y4 _1 C8 @" u, v
  854. ;   extension=modulename.extension9 |5 d7 q4 T/ o- w
  855. ;
    % K! ^% r* J6 e, m
  856. ; For example, on Windows:
    ) V2 D$ M" j; K
  857. ;6 o' ^& @. c9 y6 E
  858. ;   extension=msql.dll
    % }; W5 U$ |# O7 ?( S1 ~/ ]2 s1 e
  859. ;
    & I9 T4 J2 N3 T0 i8 |+ q) ?" P
  860. ; ... or under UNIX:
    $ o* M% ~& R5 w$ u; G# D  I: I0 o
  861. ;9 r( ~! ^$ S+ o. C, b$ O# m
  862. ;   extension=msql.so4 b! e( s2 ]# X
  863. ;/ F  C+ _; X/ J; v$ R( Y
  864. ; ... or with a path:
    " _, h. R* c; v8 {
  865. ;
    8 l% f3 H) ^3 s9 U3 e* l& |8 y# b
  866. ;   extension=/path/to/extension/msql.so
    ; F& s+ ?- ^' |  q
  867. ;
    7 {: ~" S1 v; C6 W3 w" s! p  t
  868. ; If you only provide the name of the extension, PHP will look for it in its
    + v, w& g+ e' A: p" b
  869. ; default extension directory.! K4 |. e+ |; a1 r2 p3 x3 c4 j
  870. ;
    + G" t3 ^4 D! h# E' L. f$ |% G, @
  871. ; Windows Extensions7 ?( r+ ~8 Y- N: d3 v/ ^4 J
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    2 ?& e4 u( x( |$ k5 B. Q* [
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)# B* \- b! u0 M" b( R% r7 x
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).7 n8 `; C" F2 J* B
  875. ; Be sure to appropriately set the extension_dir directive.- K' ?$ Y: y; g& l8 ]" |
  876. ;
    / C8 w9 x: E0 W
  877. ;extension=php_bz2.dll, H- T7 P) M( }$ h* C# E- F& y
  878. ;extension=php_curl.dll
    & Z* a, [6 M9 b1 h4 C
  879. ;extension=php_fileinfo.dll8 M% Y( ^/ S+ {& i
  880. ;extension=php_ftp.dll
    4 @  }) G; w# ]* D2 c! E. h! H- i
  881. ;extension=php_gd2.dll
    / `& N0 F: v( M( m% U
  882. ;extension=php_gettext.dll" v' h. Z+ m. U$ b- ^/ l
  883. ;extension=php_gmp.dll# w# Q) V/ z" m# p7 e
  884. ;extension=php_intl.dll  J' I: Q9 E2 X8 L
  885. ;extension=php_imap.dll
    2 H) s3 q0 r: `- F; Z3 `/ G) \6 R
  886. ;extension=php_interbase.dll2 G9 }1 Z% @/ R4 u  {* O; K
  887. ;extension=php_ldap.dll
    2 M7 b' H- y: I, \& L$ ^/ A
  888. ;extension=php_mbstring.dll
    ' I/ x: C& G7 `+ L
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it" n( r, l( `- F: n7 P
  890. ;extension=php_mysqli.dll+ O" F* l+ u1 H5 P/ Q9 y
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    - ^5 y; U" s+ K& \3 s5 v1 A: g
  892. ;extension=php_openssl.dll8 j( ~  g3 l! a
  893. ;extension=php_pdo_firebird.dll
    # I" p& v5 G* o1 l' o- H% S& U
  894. ;extension=php_pdo_mysql.dll
    / Z+ k! L+ u' Q9 ^
  895. ;extension=php_pdo_oci.dll
    0 k) ?, W- Q9 ^& w# f( X# a$ Z. s
  896. ;extension=php_pdo_odbc.dll" K% E# w  W4 d- r) H
  897. ;extension=php_pdo_pgsql.dll
    9 S" E0 r2 A5 ?& w; }* P( |
  898. ;extension=php_pdo_sqlite.dll
    ( U: f; n7 h) N, G" ?+ M3 h: l
  899. ;extension=php_pgsql.dll2 W/ r: _' \/ a: b0 d; p
  900. ;extension=php_shmop.dll$ u& q; D( O+ {  {7 j, w! f

  901. 6 B- l* Q" l5 S0 N; |
  902. ; The MIBS data available in the PHP distribution must be installed.: q' Z$ t- H8 m
  903. ; See http://www.php.net/manual/en/snmp.installation.php1 ]3 S6 Q8 j3 a$ ^+ e
  904. ;extension=php_snmp.dll
    - U! H2 O# c- @1 s+ o4 m& L
  905. % Q/ H8 v6 a' p8 a) ?, m5 S
  906. ;extension=php_soap.dll
    . X+ P' g; \- ]  ^
  907. ;extension=php_sockets.dll' b: w3 H& j8 H: N, p
  908. ;extension=php_sqlite3.dll
    1 L; n7 V$ Y& x# |
  909. ;extension=php_tidy.dll2 D, W& ?" c2 N3 Z5 U* Y- ^4 K
  910. ;extension=php_xmlrpc.dll
    ) p; K1 k" L, N5 ^: M
  911. ;extension=php_xsl.dll/ `& d# {" X$ ~
  912. ' A1 N6 `5 |/ D, K8 S
  913. ;;;;;;;;;;;;;;;;;;;
    + C6 w, \! _2 S: l" ~" ?3 Q8 [' `
  914. ; Module Settings ;
    $ I2 b* ~3 W2 V; C4 t* ]/ o
  915. ;;;;;;;;;;;;;;;;;;;
    , X% a; j& A3 ^" [

  916. : z) \, b; T) u
  917. [CLI Server]! z5 M! M. q7 x' V' N5 q
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.5 W$ C! N! s& s, L. e7 G
  919. cli_server.color = On7 G5 `6 M5 G6 i

  920. & m, @0 E' b$ v1 }( i: ]6 L7 G
  921. [Date]$ `' a5 q/ l9 t; X
  922. ; Defines the default timezone used by the date functions
    : I1 k) v5 P4 [* F& }% f+ p% h
  923. ; http://php.net/date.timezone
    9 ~$ ]% M/ m/ z- T$ m
  924. date.timezone = PRC
    4 }# m' b- t& V# ^6 ^+ i
  925. - h( f6 G* N# Z
  926. ; http://php.net/date.default-latitude
    3 |9 o# b) b  b) o4 }
  927. ;date.default_latitude = 31.7667
    7 A. R; @2 a6 \2 ^5 v* t7 s2 v  ^" i
  928. & ?3 K! j4 @6 ]/ i7 s
  929. ; http://php.net/date.default-longitude
    ; @" h: g& U! F9 e! w, y
  930. ;date.default_longitude = 35.23336 W% ^- ?% L6 O8 e8 w
  931. ' R6 Z+ S2 u. G% F
  932. ; http://php.net/date.sunrise-zenith& M0 X- D! r, r6 A
  933. ;date.sunrise_zenith = 90.583333
    2 K% g" C% q, |8 _
  934. 9 `. D& x! p* i" T
  935. ; http://php.net/date.sunset-zenith
    ' L' A( n6 v- a' [0 I
  936. ;date.sunset_zenith = 90.583333
    & d8 |3 H1 U& c" }- |

  937.   Y8 `) Z6 D$ ^8 U. T0 Y, |
  938. [filter]
    + b- C( j0 Z4 O9 T) f
  939. ; http://php.net/filter.default( V0 N3 p7 G5 Y( K; L
  940. ;filter.default = unsafe_raw8 ?" R) G- A7 x

  941. . g* O" A0 k  A2 w6 N5 o, o
  942. ; http://php.net/filter.default-flags7 x% K4 H3 O9 B/ P- |3 c( I
  943. ;filter.default_flags =
    ) l* z5 m& m: x+ ^
  944. % F: G- G6 k6 n0 t) R
  945. [iconv]
    ) D8 g# W- ]  D0 V- ^
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    " b* O5 n4 H; A* z6 m0 Z/ V
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.& {7 I1 o7 a5 Q4 c4 T% D% w4 u
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding0 [: V8 m  C+ k7 u- g! @
  949. ;iconv.input_encoding =
    ( r1 ~1 y: X  H1 @% W
  950. * @# ?  ^9 |4 T7 S; e, @
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.. Y/ d+ C' l9 j
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.; N9 P1 B; u$ `+ u  A; M) c1 t
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 ^/ O, Y8 Z; t: U3 }
  954. ;iconv.internal_encoding =7 y" Z7 d3 k5 `5 X7 f

  955. . T- J5 c0 c. u' O" @0 E6 w
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.* y# }1 U; D# ^' B/ D! y  Q8 E/ N
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ! n' N1 J* y; e. Y: ~# ]
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    # @* S/ H" Q9 y; D
  959. ; To use an output encoding conversion, iconv's output handler must be set/ {" ~' m" \1 l! C; |( L
  960. ; otherwise output encoding conversion cannot be performed.
    - _( \+ W4 ]3 B% z  O! B+ f% i
  961. ;iconv.output_encoding =
    " v* \2 C3 A/ e" M2 ^# J

  962. 3 @: `, u! c  H" }, y
  963. [intl]
    7 q1 ^5 d7 Y& a0 \+ e
  964. ;intl.default_locale =
    1 g2 F3 a* d# S& f& E
  965. ; This directive allows you to produce PHP errors when some error
    3 k1 ~- M0 o" |7 q6 x8 q9 `
  966. ; happens within intl functions. The value is the level of the error produced.
    & \: T" T+ V  ~5 ?  T5 F# T9 [
  967. ; Default is 0, which does not produce any errors.# _2 A; O+ w1 f& ?  ]1 N! a
  968. ;intl.error_level = E_WARNING) M% v/ f2 L/ P' R
  969. ;intl.use_exceptions = 0" F/ Y- @3 l  u0 ?/ P

  970. , W- t, }! Y1 j) D
  971. [sqlite3]' [" q* ^; m2 Z- f- K3 G) s7 x
  972. ;sqlite3.extension_dir =/ T  E% S: e$ v/ c* G
  973. 8 h! i' h9 P4 f$ h, M! B
  974. [Pcre]: v/ S0 }, w; m7 ~7 X2 K# h
  975. ;PCRE library backtracking limit.# o! k+ t( C$ V* f
  976. ; http://php.net/pcre.backtrack-limit( d; K" [7 V. p5 o
  977. ;pcre.backtrack_limit=100000
    1 S# }. T, t$ f6 |
  978. + p5 ?" q3 ]4 C1 N, x& v2 K; k
  979. ;PCRE library recursion limit.
    ) I8 j! m7 m1 j) Y, N7 `) m1 e
  980. ;Please note that if you set this value to a high number you may consume all
    5 V! {  |  u7 N! d6 w9 L8 e" ^% Q& I6 a2 |
  981. ;the available process stack and eventually crash PHP (due to reaching the% b& n4 ]$ E. w2 a2 ^7 G9 L6 V
  982. ;stack size limit imposed by the Operating System).) e( O" }/ `3 `0 i. H, ~8 K3 E7 ?
  983. ; http://php.net/pcre.recursion-limit
    & A( ^, T" y$ w  O; J0 P
  984. ;pcre.recursion_limit=100000  O% X9 J6 m5 j* a( z3 O: O; x

  985. ' |- F( l- Q; a. [
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE7 P! ]5 `6 O: P4 H2 @. Q# w
  987. ;library to be compiled with JIT support.% d  Y% r3 ]3 l9 g
  988. ;pcre.jit=1
    ( u7 T7 d. s% a( W) u
  989.   ?9 I& @- [! {5 ?- x' I
  990. [Pdo]1 U; Z/ S2 x# y+ @( e2 B7 g. ^: ], A
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    9 j; Z+ R' g5 L6 N
  992. ; http://php.net/pdo-odbc.connection-pooling( s& `9 N  c5 F/ `3 M* P
  993. ;pdo_odbc.connection_pooling=strict- t9 h( X, b# D# j. Q" j
  994. - \1 S: m. T  b! M3 t5 x* j0 M7 \
  995. ;pdo_odbc.db2_instance_name+ H1 b5 r  q- a
  996. 3 G9 V7 a2 E5 T0 a3 f. c
  997. [Pdo_mysql]
    5 G$ h  J  n7 T& A
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " Z. |7 Y* `8 B8 F' |
  999. ; http://php.net/pdo_mysql.cache_size7 k9 w4 P7 y1 y; G% Q8 _( z
  1000. pdo_mysql.cache_size = 20007 K5 H! ~5 W  B! O2 [) s

  1001. 4 M! v+ ]$ V/ I3 W- U4 j# N
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    . s% u# N7 I% ~" I2 O6 l9 _3 K
  1003. ; MySQL defaults.9 d; ~. F, _; z6 f+ H. R
  1004. ; http://php.net/pdo_mysql.default-socket: R) \& h- Z4 s, v+ ^
  1005. pdo_mysql.default_socket=
      J) D; S1 \3 }) A- [
  1006. : d8 K( O0 }. R6 x
  1007. [Phar]0 \7 X- C% r8 P, s" y
  1008. ; http://php.net/phar.readonly
    & e9 Y, ^1 e; q' H5 Z
  1009. ;phar.readonly = On: u: R, Y! {+ X2 O  r9 V( \4 a5 X
  1010. " `& M- N8 v! D* k" _5 @% I$ a
  1011. ; http://php.net/phar.require-hash
    ; t% |  ^# B3 V" k, a: s
  1012. ;phar.require_hash = On
    5 K( v* o0 v" _8 V, e3 c  \7 `

  1013. % _" Y/ u0 C9 H# d- b: X
  1014. ;phar.cache_list =; G' [7 |5 c! {# z5 j
  1015. . o9 _% \: {: Z& i# u% I) B
  1016. [mail function]
    2 @1 @( ]8 q" Z: s. Q
  1017. ; For Win32 only.
      ^$ p6 Z! K3 W. }, t. q
  1018. ; http://php.net/smtp5 S4 w- t9 ~  ^7 S- h
  1019. SMTP = localhost
    5 ]' w2 ^8 u, S2 {0 F) \
  1020. ; http://php.net/smtp-port
    # `0 ^+ F! ]# V9 M! [
  1021. smtp_port = 25
    7 Y9 e& [7 v& Y" H9 y  t. V7 r

  1022. ! `  N' C% v+ c# h$ m! d5 p2 ~
  1023. ; For Win32 only.
    3 u7 ?8 _# t( [! F/ n- f$ K
  1024. ; http://php.net/sendmail-from: `7 u9 r3 n/ @! w+ k+ Y  j% C
  1025. ;sendmail_from = me@example.com
      u+ Q7 l2 ]# H9 ]  l  f# h5 e( y
  1026. ) W' t8 C4 U' w9 W! L, W9 b; P6 Z
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ' b% g1 R1 W7 @: O) Z! D0 B
  1028. ; http://php.net/sendmail-path
    9 H1 V% P$ r1 s# b* v, A: Q2 d
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    : J/ _. m9 k( n- [8 x) I1 j( B
  1030. ) ~' f- D& B  V8 @
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    * \' S, s) q  h" `' U5 y
  1032. ; to the sendmail binary. These parameters will always replace the value of0 W, l$ y$ }+ z
  1033. ; the 5th parameter to mail().
    - h* I0 D( U' O. C' c
  1034. ;mail.force_extra_parameters =2 ~0 W+ v( V  D4 W7 |- }% ]- e  n- H

  1035. 6 I3 G! S7 ]  Y* }
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    / [- d8 i, A5 w. k: d, U0 D: ~
  1037. mail.add_x_header = On
    * f% |; |* {# k' }

  1038. ' f7 d2 r7 d: @( E' B+ C
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    + U! L6 n* K) C9 o2 |4 H4 s7 o
  1040. ; the full path of the script, line number, To address and headers.. c/ x4 C% m! m3 O  _% p
  1041. ;mail.log =% |& _9 O/ X# T' ~# e/ ~
  1042. ; Log mail to syslog (Event Log on Windows).. D8 p# s1 P3 b/ \/ {8 A9 E
  1043. ;mail.log = syslog( ~9 O. k9 V) q7 I3 e- v

  1044. " v' ~( Q1 j8 \3 D2 G
  1045. [SQL]
    3 u* r' R( ~9 G& a' R
  1046. ; http://php.net/sql.safe-mode2 d, P# I6 N, @& A4 h8 w" F$ C9 B
  1047. sql.safe_mode = Off
    : W7 C: i6 A( e1 Y. z
  1048.   l; W0 R. r; u1 y$ [
  1049. [ODBC]
    0 }9 L. W) `1 g! j4 h: B
  1050. ; http://php.net/odbc.default-db, _  N, V3 S  D% x' `
  1051. ;odbc.default_db    =  Not yet implemented/ V; f! ?7 b6 R& `$ r

  1052. 7 f+ c! ^$ V( K6 u/ Z
  1053. ; http://php.net/odbc.default-user
    1 T; ^0 w+ |: o8 x7 V5 G1 f( Q5 J( z& R
  1054. ;odbc.default_user  =  Not yet implemented# z9 C  n# T' m/ A; E* r
  1055. . |7 {4 {8 G2 O3 C
  1056. ; http://php.net/odbc.default-pw
    ( W; [6 a% X4 H$ q7 X* \
  1057. ;odbc.default_pw    =  Not yet implemented
    9 K# x# Z$ F, I; J9 J' g0 f/ l2 J7 `

  1058. : d2 x2 F  S  N. X$ d) ?, A6 n
  1059. ; Controls the ODBC cursor model.4 ~( V/ ?% F6 s# j: U
  1060. ; Default: SQL_CURSOR_STATIC (default).) t) S& y6 L* Q3 t0 y7 q( P$ a0 g' F* X
  1061. ;odbc.default_cursortype& S- b+ M+ t5 v; P, M: B/ W% G
  1062. 3 `4 N) F4 ?* c/ {2 A5 R
  1063. ; Allow or prevent persistent links./ X" P* B( |$ w  V0 `( x0 e/ [0 b
  1064. ; http://php.net/odbc.allow-persistent
    ) r6 K, L; L/ l  a' L6 j
  1065. odbc.allow_persistent = On% B, X1 c. ^7 j# C
  1066. $ G' i- @, X% C4 n
  1067. ; Check that a connection is still valid before reuse.
    . r' K0 O2 @  m1 \% t8 y4 z3 P
  1068. ; http://php.net/odbc.check-persistent9 d5 _/ R: S" t9 G2 h- L
  1069. odbc.check_persistent = On# A! U( a: B2 e* T9 u  s, s4 U

  1070. ) `; A; K/ ^7 P- n- y. Z. h
  1071. ; Maximum number of persistent links.  -1 means no limit.4 t, s7 N1 Z" h' T
  1072. ; http://php.net/odbc.max-persistent+ ]* t- d8 G) M& K* g3 l' o
  1073. odbc.max_persistent = -1
    . ~! V# e# U2 a. B0 [

  1074. ) R( O4 w) c3 C
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    , M% P5 J0 C* F; Y* v
  1076. ; http://php.net/odbc.max-links4 H( g! d1 y- s4 h$ J
  1077. odbc.max_links = -1) a" B/ s+ n; _0 `+ }9 z
  1078. 2 \# H- `5 i. d4 S" r) O
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    8 K$ |+ n9 f# ?% Z+ w; ~/ \3 ]
  1080. ; passthru.' a' n& {8 f7 s  M& @
  1081. ; http://php.net/odbc.defaultlrl1 T, n- }7 K6 W
  1082. odbc.defaultlrl = 40961 E: L( j; o* }% W! H

  1083. / _6 |  \# r4 E* n& a9 {
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.9 W$ H+ _$ t! a6 m
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ' X" \8 ~4 r2 w7 u% [$ S4 u3 a9 T
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    ' c5 G% P- k' R5 w" Y
  1087. ; http://php.net/odbc.defaultbinmode
    1 B; Z9 s4 e  J6 A8 A. l
  1088. odbc.defaultbinmode = 1( n. D* s' f& Z3 x

  1089. ' \( |, Z, V# ^4 _6 L3 H
  1090. ;birdstep.max_links = -1
    % ]0 a2 K$ i8 T2 J' }

  1091. % B) z7 ?, S5 y$ M. `4 p. N8 m$ ?. D
  1092. [Interbase]" \  U: _' z- z) H! n
  1093. ; Allow or prevent persistent links.
    4 L1 O4 A, q9 L
  1094. ibase.allow_persistent = 1$ F9 l5 Q. b" \& \7 d7 Q

  1095. 8 d; F( |( [; P) b
  1096. ; Maximum number of persistent links.  -1 means no limit.
    1 \0 H! Q  `# y6 A8 i
  1097. ibase.max_persistent = -19 h/ f( ]7 n  K& h0 t1 [' u

  1098. 3 ?3 Z3 R( n' n; ^* \8 r
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.. \7 z# S7 L6 e( G# c
  1100. ibase.max_links = -1$ A) I7 b, q, `' x' A: i( v: a
  1101. 1 q! a3 `8 s6 U; {3 W
  1102. ; Default database name for ibase_connect().
    3 L1 X+ P2 @: P; N/ C1 M. E& D
  1103. ;ibase.default_db =5 P. `. a$ o2 K" `

  1104. 5 q: |! t1 L2 V" _' W
  1105. ; Default username for ibase_connect().9 f- ~/ }2 b; L/ s& U6 [
  1106. ;ibase.default_user =
    $ Y/ a$ y7 l- ?2 h& o4 y! N$ o
  1107. 9 c- v3 I; c/ T9 M
  1108. ; Default password for ibase_connect().
    , O# ?5 g3 R- E5 w; I
  1109. ;ibase.default_password =
    - y2 {1 B3 n- i

  1110. 9 x- O$ g/ |) b5 _
  1111. ; Default charset for ibase_connect().
    . k1 q! v* d! T( o' D: X4 Z
  1112. ;ibase.default_charset =
    & R$ y7 T& D$ a

  1113. ( r- n$ k; @, R, u' P, ?2 b
  1114. ; Default timestamp format.
    & ~& m! N) Q& l7 [; K
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"% l* N7 @" c& z( |: E0 ]

  1116. " F9 M- F' |5 r
  1117. ; Default date format.
    ( k% j5 Z, s  k5 I" f" ]! c
  1118. ibase.dateformat = "%Y-%m-%d"
    2 Z5 _$ O: L# \) P# Y" [* y
  1119.   P5 m3 S/ a/ d9 t, f% S+ U3 e; U
  1120. ; Default time format." h. @* H# I3 `
  1121. ibase.timeformat = "%H:%M:%S"
    7 Y8 M5 H( A# s8 d$ O
  1122. # z+ L- _* C7 j: J
  1123. [MySQLi]
    # g' g2 @0 F! z+ c/ v

  1124. 4 _" W: V* Q* s7 G* m
  1125. ; Maximum number of persistent links.  -1 means no limit.
    " O1 j+ y2 C, z$ j& M' o0 `
  1126. ; http://php.net/mysqli.max-persistent
    & s' l; @& R; Q3 I! \2 D0 o
  1127. mysqli.max_persistent = -1% b) ^; Z6 D5 P! P
  1128. " [7 @. S) \7 b: O
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    / [! t, Y% X! r' }$ I
  1130. ; http://php.net/mysqli.allow_local_infile/ x2 T6 H* @- {# K2 ?
  1131. ;mysqli.allow_local_infile = On
    ( V& g( ~% d! ]# |
  1132. / F2 d; h7 t1 r! Q! \: o
  1133. ; Allow or prevent persistent links.' n. G( }( v1 o. N9 S" d$ s$ y6 ]
  1134. ; http://php.net/mysqli.allow-persistent
    * `) L$ A0 U5 }/ }$ l5 d. n$ d( q3 K
  1135. mysqli.allow_persistent = On
    - P0 _1 j  A; y% e7 g( o3 e
  1136. 5 S4 m  w& i4 Q2 W! @
  1137. ; Maximum number of links.  -1 means no limit.
    $ E3 |+ l" |! G% H$ b  T* z: ]2 F( F
  1138. ; http://php.net/mysqli.max-links
    3 Q- N, p6 O% Y- r
  1139. mysqli.max_links = -1
    & a$ X& b4 F0 c5 O
  1140. ' L  o  r6 a5 }- b& j
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache) Y8 \9 b1 g1 C2 ~
  1142. ; http://php.net/mysqli.cache_size; X, o. n" h& N4 c0 T* R' j
  1143. mysqli.cache_size = 2000
    7 M9 j& z& x) |/ M
  1144. 9 R: J! J) C, B6 S- L: a! R
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use7 _: d) N7 Y5 D
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the3 M! n( O( ]' ], o+ h0 E
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look$ ]0 s" w5 f" _) Z5 }# n8 f
  1148. ; at MYSQL_PORT.
    8 {1 m: T; `" `, n; a4 q
  1149. ; http://php.net/mysqli.default-port
    ! ^9 }( h2 Q( n6 i
  1150. mysqli.default_port = 3306
    , [2 j( z3 ^, X, H) v

  1151. 3 N. ]9 |: n( J- R8 u
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in% c; W% t, S% j# c  i% W
  1153. ; MySQL defaults.  Q" M/ u2 o2 t5 x9 B* {3 Q* o
  1154. ; http://php.net/mysqli.default-socket
    8 ?& ^  J( W" ]$ m6 }
  1155. mysqli.default_socket =# M3 ?: X# [7 F

  1156. + c3 o1 k- Q6 P7 }  f$ s
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    9 W. r$ a2 b& w5 |& J
  1158. ; http://php.net/mysqli.default-host
      x+ {" K/ y1 G1 v
  1159. mysqli.default_host =7 \) C/ \" C& v. Y6 y7 c
  1160. . Q7 {* m& {/ M
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).+ z* f1 ~! r( e3 J  p+ I
  1162. ; http://php.net/mysqli.default-user4 X) d4 l; W9 P
  1163. mysqli.default_user =7 `; z; l9 M. v! o: a

  1164. & s& J4 K6 `% r# ]! _
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    5 L9 h4 N/ {4 B: F
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    $ j* o# J9 A1 [$ e! \( |0 J( c
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"), j" l' E! c* J1 ]
  1168. ; and reveal this password!  And of course, any users with read access to this
    % k/ L* P6 s; ]9 J4 k1 R
  1169. ; file will be able to reveal the password as well.
    1 S* t/ ^- N: o; h
  1170. ; http://php.net/mysqli.default-pw
    / D9 g; X/ L# I2 B& q0 v6 ^- a+ t
  1171. mysqli.default_pw =
    ' R7 B0 g, ]. M$ K: q8 i0 N
  1172. 2 i6 h7 X8 X9 g. b$ m$ n
  1173. ; Allow or prevent reconnect3 k, e" n& z, W# S$ U
  1174. mysqli.reconnect = Off
    3 S: N; w( b1 ^3 |, r/ {9 J
  1175. 9 h" J/ ~# @! p, K6 b# v5 Q
  1176. [mysqlnd]9 k4 r# f5 u% {( z9 w1 ?
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be; _: h9 I8 k7 ^) E$ \2 u- k7 Z
  1178. ; used to tune and monitor MySQL operations.  m/ H* I% O- `3 E
  1179. ; http://php.net/mysqlnd.collect_statistics
    " u( S: C' @# \5 y5 W9 l( U9 e
  1180. mysqlnd.collect_statistics = On
    , _& P9 w# ^; {1 i

  1181. + W9 R- `/ `0 w0 n8 e
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    4 {. J2 V$ I/ c5 W
  1183. ; used to tune and monitor MySQL operations.
    , Z+ N' C; ^$ l5 a9 S8 ^
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    " Z% D: W# W* R
  1185. mysqlnd.collect_memory_statistics = Off
    % \% s0 E. A/ C% H: ~, z
  1186.   g( n2 I+ F1 [- Y9 C
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    ! w: n( B8 [' N. [! p) a
  1188. ; file.) e1 k4 I/ D. _- E; O
  1189. ; http://php.net/mysqlnd.debug
    3 N  y, n" T$ ~9 U, M3 E% i
  1190. ;mysqlnd.debug =' p! k& `) z4 }

  1191. - w) p3 B+ m) V4 T+ `
  1192. ; Defines which queries will be logged.1 ?  N! \8 B) O0 V9 a
  1193. ; http://php.net/mysqlnd.log_mask
    & F1 _; N5 d) U. E& K" C- u
  1194. ;mysqlnd.log_mask = 0
    $ m" w. F" y5 ~; l6 c3 u( F
  1195. - |1 C0 J+ |& [2 |* b
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ' [2 d2 s/ i. G3 H
  1197. ; http://php.net/mysqlnd.mempool_default_size' T% o6 L9 y. `& y& s4 I) S6 Q
  1198. ;mysqlnd.mempool_default_size = 16000
    - E! [7 V# J4 h4 I& E

  1199. 2 J+ h$ n' X( d6 H* V! X6 v
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.7 Y* e) W5 {) ]. f# X) Y/ s
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
      f2 b) L0 j4 H  I7 W+ E4 x# J
  1202. ;mysqlnd.net_cmd_buffer_size = 2048+ Z4 F( A1 c; @/ L7 p
  1203. 9 W/ g) I# O6 K2 k8 h* y9 `4 a9 k
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in8 E* e) P0 W, o1 Y* k5 L
  1205. ; bytes.
    ' @' J  ?* S3 o
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    # p  h) a9 q" h$ R- N
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ' ^3 o6 C* q6 p4 m, U. G1 j6 l

  1208. 5 X& I8 ?* y, L# P
  1209. ; Timeout for network requests in seconds.$ u2 }7 Q* Z; h) `, F* k+ q
  1210. ; http://php.net/mysqlnd.net_read_timeout
    " l8 |5 G0 ], R; X, ~" K/ M7 N, D
  1211. ;mysqlnd.net_read_timeout = 31536000
    7 D0 d$ k0 j; `2 k

  1212. 3 i  F+ `) Y+ ]8 N7 ~
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    : o; b+ P. t- ], g
  1214. ; key.# K0 P  c. s9 [- Q  b' U
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    5 \' b& z% _5 R$ d' `
  1216. ;mysqlnd.sha256_server_public_key =
    # l+ a7 M7 Z1 x' ?8 N: o! F$ e* e6 R

  1217. ( }" l" n. B; @+ h
  1218. [OCI8]3 e5 X/ L9 ?8 t* Y
  1219. 2 P! Q  P4 Y/ j8 G! r: Y9 R
  1220. ; Connection: Enables privileged connections using external! g! O, z) i6 t+ d( u! W
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    # w; v) |1 H) l8 \% p9 \0 D* D: X- Y
  1222. ; http://php.net/oci8.privileged-connect
    / m* W- {( a, v4 q- k" ~( v, T
  1223. ;oci8.privileged_connect = Off
    4 ^1 m  |& V9 v2 O. z7 W
  1224. / G$ ], t" w( Q9 W8 j# d/ j
  1225. ; Connection: The maximum number of persistent OCI8 connections per$ L. @, r; V" M; f* o
  1226. ; process. Using -1 means no limit.
    " I6 q& g* ]( x
  1227. ; http://php.net/oci8.max-persistent" J* I0 J  z. q% x( w9 _
  1228. ;oci8.max_persistent = -1# j4 [6 o  c( \/ U0 E

  1229. : p. i$ i' M: ]4 u8 n+ Q' P
  1230. ; Connection: The maximum number of seconds a process is allowed to
    ! _, A0 W: M( ~2 A
  1231. ; maintain an idle persistent connection. Using -1 means idle/ c* Q; ]5 Q+ [2 L' d, a
  1232. ; persistent connections will be maintained forever.
    1 S% V' m: S$ c) i- L
  1233. ; http://php.net/oci8.persistent-timeout6 ~, ~3 z4 x  X/ e6 a; F
  1234. ;oci8.persistent_timeout = -1
    / y/ o4 S; Z3 U- d; I% n1 x

  1235. 8 K! P: [9 l, Q
  1236. ; Connection: The number of seconds that must pass before issuing a- d6 N1 ~+ g* o' n" O3 k
  1237. ; ping during oci_pconnect() to check the connection validity. When. m/ g; ^5 q* r; A* K4 V& S
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables: v8 k' P; \1 J
  1239. ; pings completely.2 T, B1 N' g2 H  R6 Z% F
  1240. ; http://php.net/oci8.ping-interval
    - F6 F' M4 }# s% h& l9 O5 n# F
  1241. ;oci8.ping_interval = 60+ H0 ]5 I6 J* L, D# y% \" k6 [/ R

  1242. / Y4 _" }4 n( e5 b+ F9 C% }
  1243. ; Connection: Set this to a user chosen connection class to be used" v) X" o9 s# b& H2 b3 o( ?0 [
  1244. ; for all pooled server requests with Oracle 11g Database Resident0 [4 u7 \8 i6 j; l
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    $ p) _1 Z' r) |0 I: v
  1246. ; the same string for all web servers running the same application,
    + ^7 T6 A" c( f6 r" _& A: c+ k) [& H
  1247. ; the database pool must be configured, and the connection string must& @5 W% ]% e+ G) b" ]$ m. h
  1248. ; specify to use a pooled server.% {7 x. D  M6 F: Q
  1249. ;oci8.connection_class =  j: ]: y- j3 K2 ~5 @
  1250. 8 S3 B5 t* Q; b9 `# ]! {; W9 O4 E
  1251. ; High Availability: Using On lets PHP receive Fast Application
    / h% i4 B6 Q5 j; \* e
  1252. ; Notification (FAN) events generated when a database node fails. The' v$ }& ?& ~0 [6 I
  1253. ; database must also be configured to post FAN events.
    2 Z8 P9 n1 E1 h( J  E
  1254. ;oci8.events = Off
    * k( O7 [) P0 e& h: D1 r8 r
  1255. 8 b/ W+ \9 p( |( p6 [8 o, U0 L
  1256. ; Tuning: This option enables statement caching, and specifies how+ D# e6 W6 r: Y4 K+ L
  1257. ; many statements to cache. Using 0 disables statement caching.- Y. q+ {1 V  P) R* Y" Y
  1258. ; http://php.net/oci8.statement-cache-size5 z: G  j+ f' `( i- v* a
  1259. ;oci8.statement_cache_size = 205 @+ \0 {" H! G" }: k1 s
  1260. 5 e1 Q$ A3 _+ d! P8 D; t
  1261. ; Tuning: Enables statement prefetching and sets the default number of" s2 u/ l2 P& s% q" V# N
  1262. ; rows that will be fetched automatically after statement execution.
    & C% C- p- u9 X4 g' L* L1 P* z! n
  1263. ; http://php.net/oci8.default-prefetch+ J4 C3 K! g- C
  1264. ;oci8.default_prefetch = 100
    ' t* R; ]9 _" z& ?/ d( v

  1265. 2 _, y" s0 c5 t. F7 `
  1266. ; Compatibility. Using On means oci_close() will not close$ U) @( {% L/ T5 Z( ?8 K
  1267. ; oci_connect() and oci_new_connect() connections.; `/ i6 x- X7 c9 @4 q( O7 {
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ' {# ~0 O5 j4 A, {
  1269. ;oci8.old_oci_close_semantics = Off: A! A, r* w1 S: Q9 f

  1270. 9 Z" I9 F# r3 l
  1271. [PostgreSQL]1 Q5 J& k; Y$ K
  1272. ; Allow or prevent persistent links.
    3 g$ l- x: E% j  `
  1273. ; http://php.net/pgsql.allow-persistent
    & {2 u6 B9 E6 Y) j- a" ]' E' V: t
  1274. pgsql.allow_persistent = On  u& V% j- B  g& E+ Z' d2 w

  1275. # I9 s; _, \% J0 `3 z& v! }7 b
  1276. ; Detect broken persistent links always with pg_pconnect().
    + S7 f2 P0 o6 b7 j
  1277. ; Auto reset feature requires a little overheads.
    $ p6 N/ z9 a4 \& b7 y" t8 y6 H
  1278. ; http://php.net/pgsql.auto-reset-persistent- @1 L0 v2 m7 C; y' J* D& L# _- _2 o2 C
  1279. pgsql.auto_reset_persistent = Off
    - b2 [8 Z$ n* I% Z

  1280. - I6 j9 e+ L4 ^: M; F
  1281. ; Maximum number of persistent links.  -1 means no limit.
    + q7 `# g& Y  x; p! d$ e
  1282. ; http://php.net/pgsql.max-persistent7 ?! K' v4 A2 i0 }
  1283. pgsql.max_persistent = -1
    ! D  d& U; ?9 Y/ v

  1284. $ I7 N, J, K) }9 }4 t  }3 Z# U
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.' H7 v2 |/ q! N
  1286. ; http://php.net/pgsql.max-links& d. k( k! B' C2 z
  1287. pgsql.max_links = -1
    ! ]2 s3 M5 N6 O) [9 i. [+ Q! R

  1288. 3 g" T& g- L4 f) ^/ C$ N7 S
  1289. ; Ignore PostgreSQL backends Notice message or not./ G7 Q$ i6 Q2 P' |: V7 j) Z0 Y5 z
  1290. ; Notice message logging require a little overheads., ~( L% @3 V: C+ Q
  1291. ; http://php.net/pgsql.ignore-notice* _. @: h* R2 ^" H; G6 X
  1292. pgsql.ignore_notice = 02 \4 p  w$ U3 G2 B

  1293. 8 R3 ]2 J  X- d
  1294. ; Log PostgreSQL backends Notice message or not.
    2 _  C9 N, p9 X  m- t( ~
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    1 v: i3 h3 m! g8 N# o
  1296. ; http://php.net/pgsql.log-notice
    6 d( B9 t! n' E+ f: |/ R5 \8 ?
  1297. pgsql.log_notice = 00 [4 b. U1 I# P+ i

  1298. 1 Q. j9 X1 j# H& C+ B1 I! d( D
  1299. [bcmath]
    # Y1 m: w* p% {/ t' g3 ^
  1300. ; Number of decimal digits for all bcmath functions.7 A0 M/ V4 I/ w- l3 X
  1301. ; http://php.net/bcmath.scale
    7 q9 A: C. h. @
  1302. bcmath.scale = 06 M& D( y: X5 D4 L( |8 R  [# Q2 I

  1303. ; }& V5 c2 V7 k7 v8 m# N
  1304. [browscap], ~0 i/ Y/ a. I3 n$ D
  1305. ; http://php.net/browscap. W: F1 t: R" J4 t
  1306. ;browscap = extra/browscap.ini
    : M" V2 N! C& [

  1307. ' _" g8 @3 t% V
  1308. [Session]; z! `4 ?. N, {3 t: ~* w! u- W
  1309. ; Handler used to store/retrieve data.8 T+ ~( e- Q2 S2 G0 t, l6 Z
  1310. ; http://php.net/session.save-handler& W7 {& p2 m4 ^
  1311. session.save_handler = files
    * f% O/ f& j( H& X, ^
  1312. $ O' c/ E& I8 R) Z" T) B
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    0 e3 Y" i* I, }) A9 N$ V% L
  1314. ; where data files are stored. Note: Windows users have to change this" K1 v7 K8 ]/ j! I% X+ Q" J1 j
  1315. ; variable in order to use PHP's session functions.
    & I6 j) E& {: g
  1316. ;
    8 _% w* O  B4 F1 B7 i' }+ _6 m
  1317. ; The path can be defined as:9 W4 U4 D8 ]! ~$ `, x
  1318. ;! g; X. m2 N8 H0 O$ v2 E
  1319. ;     session.save_path = "N;/path"
    3 K5 |' o$ C  f' G9 B4 _
  1320. ;
    0 f2 ?) p% Q% s/ Y4 g
  1321. ; where N is an integer.  Instead of storing all the session files in# }0 g1 T2 n: j5 h. A
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ; Z$ c8 i' ~: n3 D
  1323. ; store the session data in those directories.  This is useful if) d+ @3 t" \9 F& Z
  1324. ; your OS has problems with many files in one directory, and is
    & t& v8 @2 u6 ?. }
  1325. ; a more efficient layout for servers that handle many sessions.: f2 ?5 L5 @) b7 C" k
  1326. ;) G; L( p: G/ a* b
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    6 g& C- w- m% \2 A: o. j
  1328. ;         You can use the script in the ext/session dir for that purpose.
    8 V. e" K. J( n1 j
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    : b3 j# ~$ g$ v6 E5 c6 U5 }
  1330. ;         use subdirectories for session storage
    0 L9 u9 ^: A) h2 I5 }  g) @
  1331. ;
    0 g+ w/ x5 M  \% W9 h
  1332. ; The file storage module creates files using mode 600 by default.! n) |! v1 l( j! h7 C% z
  1333. ; You can change that by using
    & p7 T$ ~# o. u) Y
  1334. ;% ]8 j4 H  H' n, \
  1335. ;     session.save_path = "N;MODE;/path"
    2 l0 x& e* C; D5 `
  1336. ;& b! `( ~8 F, M" U+ C, [8 T
  1337. ; where MODE is the octal representation of the mode. Note that this
    0 ]: J: K/ Z! c2 i. l
  1338. ; does not overwrite the process's umask.0 H, G! I$ r: T8 [' b
  1339. ; http://php.net/session.save-path
    7 d6 S: r: ]# j3 l! s
  1340. ;session.save_path = "/tmp") M% v) f2 a2 P

  1341. ( g. h& D( \8 \1 U4 S- ~' F+ \' S
  1342. ; Whether to use strict session mode.
    ; `3 I+ M5 O2 t$ b* b
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ' }, }) ~; D- a& ~' H( l; S
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ! q) Z1 m! H/ T6 a9 m7 h$ c
  1345. ; applications from session fixation via session adoption vulnerability. It is# R" m- e' z6 }
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.% C; o$ ~8 j) |* P# d, D
  1347. ; https://wiki.php.net/rfc/strict_sessions
    7 c2 J+ ~/ E2 V" j- O9 d3 e) h
  1348. session.use_strict_mode = 0
    7 d! ?+ ~, `/ c
  1349. . s: g: k. S6 D3 k
  1350. ; Whether to use cookies.
    $ ^3 k% l6 u& F9 v9 d. _1 @; i( T* v
  1351. ; http://php.net/session.use-cookies; S6 z2 [& o- f& t% w
  1352. session.use_cookies = 1; N: r% \9 T1 U8 J: E% E& J' t

  1353. 4 `6 y% J+ p* f' ^
  1354. ; http://php.net/session.cookie-secure
    0 s5 A5 ?1 \3 o5 P- {
  1355. ;session.cookie_secure =! R: p) b1 w: Z3 K, X, x, W. ^

  1356. 2 g3 H# r3 A$ L# d7 U3 Y
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    # V0 s$ L% r2 g
  1358. ; the session id. We encourage this operation as it's very helpful in combating" N& R. w2 T3 k, {! K$ H
  1359. ; session hijacking when not specifying and managing your own session id. It is
    3 L! o% B" H6 L0 y+ A6 x( |9 ]" e
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    , D. b3 b9 ]$ Q+ ?8 K
  1361. ; http://php.net/session.use-only-cookies
    % C* S) [. R4 j4 t( Z# \
  1362. session.use_only_cookies = 1
    ; o7 ?+ [2 d# K  T6 q1 z

  1363. ( E* X: A. Q2 j5 R: \
  1364. ; Name of the session (used as cookie name).
    2 M# Z2 d- G9 o& p. o2 H1 \1 J, s
  1365. ; http://php.net/session.name
    ! G, c9 [: {9 i/ Q6 l
  1366. session.name = PHPSESSID
    : Z# L* H& f8 l. {6 N8 K* \3 W: Y
  1367. 7 G4 k/ ?0 t1 _: J3 Y
  1368. ; Initialize session on request startup.
    0 W6 r8 j* p4 H7 T5 `2 I
  1369. ; http://php.net/session.auto-start8 u* z' D$ C$ f) F& f! e% u; ]
  1370. session.auto_start = 0( q: g1 J1 m% ^6 Y! W

  1371. " c6 I" U2 p: G, @1 z
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    . Y- }, |) Y( h3 u( {
  1373. ; http://php.net/session.cookie-lifetime- i& J: P3 O8 B! c3 [0 F! H
  1374. session.cookie_lifetime = 0
    ) r8 v8 ?( I! f/ g

  1375. ) o) q4 C; V  A- Y1 R
  1376. ; The path for which the cookie is valid.
    9 H9 r- ~" B" u7 x7 v( q
  1377. ; http://php.net/session.cookie-path
    " H: |& B9 H$ D' Z6 P" f
  1378. session.cookie_path = /
    # s* {% b' Y: ?& t9 F+ D
  1379. $ f" s  I+ ]) g" @4 K; i
  1380. ; The domain for which the cookie is valid.5 x! I4 |% \+ |" n
  1381. ; http://php.net/session.cookie-domain
    0 j1 q: D2 \# h3 H0 B
  1382. session.cookie_domain =
    / ~: w, c- n6 V. j# W

  1383. ( W( Z( r$ D( Z8 A' D% g
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.  N4 U( D0 c9 B; D
  1385. ; http://php.net/session.cookie-httponly
    ! n8 _+ k$ M7 @' \8 @" i
  1386. session.cookie_httponly =
    ; s2 S7 u; n2 d6 W5 Z% N& }
  1387. ( ~# G) h6 Z4 ]2 p; {% B
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    7 F4 m1 y" l" k3 n; |
  1389. ; http://php.net/session.serialize-handler) G/ h. M- _& @
  1390. session.serialize_handler = php
    + W! W: H  Y: l4 o" I% d6 C
  1391. 0 h9 s3 N7 w, Q9 z8 S8 @
  1392. ; Defines the probability that the 'garbage collection' process is started" {2 B$ z) P3 ^( W0 M4 ~
  1393. ; on every session initialization. The probability is calculated by using
    % l( u5 [, h) Q5 l" k
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    4 z% D# m  ]/ t! [
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    5 R% l/ d3 u6 I- `6 y
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 ^; U. I9 P$ E: V) |6 n
  1397. ; the gc will run on any give request.) ]7 [! {! o+ {- I; b. B
  1398. ; Default Value: 1; H. W0 U+ }2 e8 b% U
  1399. ; Development Value: 1
    ) [3 W2 X2 Z, T- \4 H" Q7 J% e+ G
  1400. ; Production Value: 15 u5 \4 H7 N- g% @; b8 q2 i# I
  1401. ; http://php.net/session.gc-probability
    " ~4 p& P2 j( }" {
  1402. session.gc_probability = 14 D% Z6 e2 i0 m, s7 C$ `' D

  1403. * A7 ]  Z" H6 D. J% p
  1404. ; Defines the probability that the 'garbage collection' process is started on every8 C7 R2 n! q$ M/ o' Z
  1405. ; session initialization. The probability is calculated by using the following equation:9 P7 r3 p* v3 D# D
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    , g6 U$ Q* Q5 U* _
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    " b. w! Z( w& {/ ^9 V9 F, ]7 y
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance3 W9 K1 k) H( d
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    / b$ p( ^/ u) D! Z* J
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    + T% }- Q: y7 `/ h) P7 [+ R
  1411. ; this is a more efficient approach.2 t4 P& s7 ?. ?( [: A
  1412. ; Default Value: 100% r3 [, B9 ~6 v! n* d
  1413. ; Development Value: 1000
    0 Q3 Q) l; s+ }7 a/ ^! x5 u
  1414. ; Production Value: 10006 o4 N. n$ \4 q$ j  W3 Q: c2 _
  1415. ; http://php.net/session.gc-divisor
    * h8 L/ k( P: B. {1 S
  1416. session.gc_divisor = 1000" b: V9 q% X) ?6 A

  1417. 1 z8 u0 L: U8 T, `6 C) c+ H! d
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and  r0 I$ J9 _, N: @- I
  1419. ; cleaned up by the garbage collection process.$ ?9 p) x: ^* p# X9 x
  1420. ; http://php.net/session.gc-maxlifetime' K. y- t# J- p8 a
  1421. session.gc_maxlifetime = 1440
    " ~4 O' j4 @$ V7 {1 U. h# @

  1422. ' m' B3 B4 `$ p3 `6 v3 U* V
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    6 O9 P& x. R" B% l
  1424. ;       (see session.save_path above), then garbage collection does *not*6 }: v- F: i- K" L; q
  1425. ;       happen automatically.  You will need to do your own garbage
    7 J6 P# v3 Q! O  x
  1426. ;       collection through a shell script, cron entry, or some other method.1 x" z( ]8 x9 ?9 l- \# g$ C$ I, ^
  1427. ;       For example, the following script would is the equivalent of1 B# a  g( w- ^  |: g
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    8 n& d: M) H: f! _# L" h
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm3 K* {7 k; z; _' ^, ?

  1430. + ~/ U# m$ K4 ?- ?* h
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    - O" M4 m2 T4 H( Q$ q5 W
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    * C& H7 w+ K& D6 a8 g
  1433. ; considered as valid.
    $ ~9 l4 k; H9 r. y; q
  1434. ; http://php.net/session.referer-check
    % U  B; Y7 L3 e
  1435. session.referer_check =
    & o* p+ s) P# O) n/ u, M

  1436. 7 l! e4 _0 N, B8 x+ S& I1 }$ ]
  1437. ; How many bytes to read from the file.% R% G% e& P) K9 A2 d% p, R5 B
  1438. ; http://php.net/session.entropy-length! p' J3 {* p) t
  1439. ;session.entropy_length = 32$ o* E* l  M  ^& h
  1440. * K- s" W7 |5 G- Z+ a3 A5 K3 W
  1441. ; Specified here to create the session id.
    * Z8 Q; V  R3 }5 e
  1442. ; http://php.net/session.entropy-file
    / D4 {6 Q0 k) s. U. L( E) z* ]% \$ m
  1443. ; Defaults to /dev/urandom0 h1 O4 y% T$ e3 C& H$ _) d
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom: D1 d2 A7 O4 ?
  1445. ; If neither are found at compile time, the default is no entropy file.5 u: @; m3 {; }. m, X
  1446. ; On windows, setting the entropy_length setting will activate the& `4 U1 q* k: r. ~- m
  1447. ; Windows random source (using the CryptoAPI)
    ( o; _5 m( b1 o
  1448. ;session.entropy_file = /dev/urandom; `# \1 w. X: d& ^/ ^5 P
  1449. , F& L& o% K9 K
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    # q! W, X2 U, x+ w5 ~0 I  Y1 p
  1451. ; or leave this empty to avoid sending anti-caching headers.
    8 g# X& ?8 T/ W' C
  1452. ; http://php.net/session.cache-limiter
    ' M. U$ y9 y" O3 u, D# y
  1453. session.cache_limiter = nocache
    ; f9 v" a6 a! S( J' ~9 z

  1454. " E! g- q+ y# ]" n
  1455. ; Document expires after n minutes.
    + S. u1 s+ v$ j& q  T
  1456. ; http://php.net/session.cache-expire
    9 D* T7 q1 U, @6 F1 A
  1457. session.cache_expire = 1802 v. U( c& y4 G/ v! E; a: D
  1458. + z2 r" o% B" g
  1459. ; trans sid support is disabled by default.
    ; g) }4 o. w6 i* [* L2 V' f5 b
  1460. ; Use of trans sid may risk your users' security.( w% |7 ]+ B  Z2 x6 B3 n8 w( i
  1461. ; Use this option with caution.% E: F( T9 H, U0 r+ c" ^
  1462. ; - User may send URL contains active session ID
    ; U% a* s& B) M( {& J$ K
  1463. ;   to other person via. email/irc/etc.2 W# q; C6 Y* Y' p' ~3 K
  1464. ; - URL that contains active session ID may be stored, Y* Z2 {+ e2 U! _! Q
  1465. ;   in publicly accessible computer.
    0 q# i& i# G' l) |  [5 S- q3 x
  1466. ; - User may access your site with the same session ID
    5 j' a, N8 s; c$ M
  1467. ;   always using URL stored in browser's history or bookmarks.
    % q  O6 g0 d" J& z
  1468. ; http://php.net/session.use-trans-sid
    * C5 _# ?8 ?+ r! X
  1469. session.use_trans_sid = 0* }: X; U4 v- ^

  1470. ( `( j9 c7 C2 Z# w. S; `" S
  1471. ; Select a hash function for use in generating session ids.9 X6 i' m  `* X2 g# u+ |
  1472. ; Possible Values& c4 n# W5 V! _$ J/ q* u) M% O! P
  1473. ;   0  (MD5 128 bits)
    : d% o& e* `! q/ N. w
  1474. ;   1  (SHA-1 160 bits), u7 |& k' G8 @$ j$ f0 w6 ^2 w: a4 V
  1475. ; This option may also be set to the name of any hash function supported by
    ; w* b3 ~4 n4 z
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()8 t) g2 n( }! `* |  D" M& W
  1477. ; function.
    % L8 s8 R" C8 j
  1478. ; http://php.net/session.hash-function
    6 [! x% {* h1 `* D  e5 `" R7 u& U
  1479. session.hash_function = 0# H* j4 ^1 _; K0 l% s- g" W

  1480. ! |* O, J4 p3 e. y% `) u: Y5 o8 y
  1481. ; Define how many bits are stored in each character when converting
    ; X  ]1 F; b3 M) [0 B5 V+ r
  1482. ; the binary hash data to something readable.
    $ q0 |- |- M) M8 _2 \  j
  1483. ; Possible values:
    # Q+ f$ x+ B1 M7 K
  1484. ;   4  (4 bits: 0-9, a-f)- A* }) n. |, p* N; d
  1485. ;   5  (5 bits: 0-9, a-v)% v8 C; c/ I6 l
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    : o; \# X! g6 r4 K# B
  1487. ; Default Value: 4$ z1 g0 |* s! n: V7 `* k9 W) s
  1488. ; Development Value: 5
    8 I: g- I/ a# W+ B% h4 T9 M5 [& o
  1489. ; Production Value: 5) J6 l) R0 k4 C1 m
  1490. ; http://php.net/session.hash-bits-per-character
    : ]* e1 H4 k) }4 b+ b9 i
  1491. session.hash_bits_per_character = 5
    ( Z; a& F0 |0 N+ [" S0 W$ P

  1492.   S3 U7 e  h  z8 y5 n  x
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.: P+ C4 T/ Y4 P( y, I
  1494. ; form/fieldset are special; if you include them here, the rewriter will3 E* E% R4 x& s# `4 {& d
  1495. ; add a hidden <input> field with the info which is otherwise appended
    + u  N0 A6 ]+ L+ R- X4 {
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    % i% c) s; [5 C& e4 @; M
  1497. ; Note that all valid entries require a "=", even if no value follows.
    . U2 I( i4 V2 V
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ b6 t2 Y0 j% j0 d" ?% x
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry") g8 v0 I- j6 ]: b. O1 S, O0 N0 X$ {
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ P% T( y; ^& G
  1501. ; http://php.net/url-rewriter.tags. H# [" J- I5 i( ]
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 V0 j5 w' t8 y  z7 Q: W9 L( _
  1503. $ o+ t8 l0 H% l9 \- m% l* L6 s( O5 a6 u4 Z
  1504. ; Enable upload progress tracking in $_SESSION* Z$ i  w9 P( k$ G7 c( p
  1505. ; Default Value: On
    1 _' V5 j+ d7 Z/ b1 d6 A% j/ {/ ]2 L+ |
  1506. ; Development Value: On
    - X8 i! W2 s' \& K" N0 ?2 V
  1507. ; Production Value: On  u! B' w. a# J- v% p
  1508. ; http://php.net/session.upload-progress.enabled2 f) n7 ^2 X# I" @4 h8 p' R) B
  1509. ;session.upload_progress.enabled = On, |) ~- f' A( H* O  t/ z( ~
  1510. 9 [" f  u! i  r6 t7 |
  1511. ; Cleanup the progress information as soon as all POST data has been read6 o! w' L1 |6 x5 t& e$ \. G+ y
  1512. ; (i.e. upload completed).
    " S* `: D# d6 s8 e  |/ z2 l0 X
  1513. ; Default Value: On+ ~" T+ [, [$ n
  1514. ; Development Value: On! F+ ~1 u7 w9 [0 ]
  1515. ; Production Value: On; h" y2 Z5 p4 w! Z3 C0 K
  1516. ; http://php.net/session.upload-progress.cleanup
    ( T0 b; U5 b- y" C
  1517. ;session.upload_progress.cleanup = On) X- g; b, D! C1 _; F4 B; N

  1518. # V$ c4 i8 [3 P) X2 e7 s
  1519. ; A prefix used for the upload progress key in $_SESSION  s: g5 [: q: g  D- m7 x+ v
  1520. ; Default Value: "upload_progress_"' }/ ^  @2 u* c: ~$ n% n/ e* a$ ~  B
  1521. ; Development Value: "upload_progress_"
    & J3 [! T& r- m) a
  1522. ; Production Value: "upload_progress_"
    ) E: V7 [8 u8 k( T
  1523. ; http://php.net/session.upload-progress.prefix5 U% d0 N! p0 q0 `
  1524. ;session.upload_progress.prefix = "upload_progress_"
    3 {8 A; d+ M3 b" r$ e
  1525. . W! l+ L, I. W0 R' c
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ( r. P' K! `0 k: j. `/ n
  1527. ; containing the upload progress information. X# b) ?0 _) R3 K! t
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 K; |1 K: U4 p: U3 D8 {; j1 ]
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 m" Z5 S+ Y7 S9 w3 c! U
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 F/ I; g7 ?7 c7 D$ e
  1531. ; http://php.net/session.upload-progress.name
    3 v3 h- K' M* U( [9 a' l5 t
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    8 ~' p6 Z* b! g6 M& z5 J; M' S  t

  1533. ( x) I& |: w& C- `. z% Z- D; d2 q
  1534. ; How frequently the upload progress should be updated.4 c. \/ ^' g* F
  1535. ; Given either in percentages (per-file), or in bytes
    2 S9 H& s5 K: ?, y  @9 p7 v/ T
  1536. ; Default Value: "1%"
    0 v. [( F7 N. a2 c; i9 B
  1537. ; Development Value: "1%"
    4 T9 h6 |2 ?8 _! U' l& f
  1538. ; Production Value: "1%": ]/ f+ i! `* w# g2 q5 C
  1539. ; http://php.net/session.upload-progress.freq7 T: A& T* ]' x! f6 d9 X
  1540. ;session.upload_progress.freq =  "1%"
    3 y0 k+ \, D# A9 X1 {! w7 d: u/ X
  1541. 1 R" }, I% }5 ]1 ~0 Q( M7 ~
  1542. ; The minimum delay between updates, in seconds+ X5 i: e+ X+ X; }* g2 Y/ V
  1543. ; Default Value: 1
    7 q  {$ J+ ^+ z3 z
  1544. ; Development Value: 1; O" f* ]4 O0 c# l: `
  1545. ; Production Value: 1
    7 G* M) D5 o' e
  1546. ; http://php.net/session.upload-progress.min-freq
    + v3 L" P* k7 d" O1 w( N& y
  1547. ;session.upload_progress.min_freq = "1"
    0 @2 W6 n0 l% z) N
  1548. ( K5 H( r8 d( Z& E5 w
  1549. ; Only write session data when session data is changed. Enabled by default.
    ) B% C1 \( a  D; t: `- Q) ]% p! u' j
  1550. ; http://php.net/session.lazy-write2 `4 N$ n4 Z3 d
  1551. ;session.lazy_write = On
    $ ?( L$ s* p$ n8 {: M8 }+ d

  1552. 4 h' q( T9 m- s7 `
  1553. [Assertion]' P( s; x3 H1 w; h
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    + k9 y, k, }1 n  _- k0 l
  1555. ; -1: Do not compile at all" ~# c4 p- Y8 J
  1556. ;  0: Jump over assertion at run-time
    6 z3 c& m( m! `. ~: N; e1 D. d
  1557. ;  1: Execute assertions
    3 q9 \  _$ X0 {; p
  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)
    - e0 f; y+ }. h
  1559. ; Default Value: 1
    / B4 `* Q  C2 T' v8 ?* f' f* d& [! h  }
  1560. ; Development Value: 1
    ( Q/ H* u( a9 _- B7 `( p( }8 l% P
  1561. ; Production Value: -1" |, R6 Q9 Y2 X, f
  1562. ; http://php.net/zend.assertions) `! I" P, {7 e; F9 s+ Y
  1563. zend.assertions = -1/ q. i. t9 C/ r" c) f3 N0 L5 }5 A
  1564. 8 O% e0 i1 S$ }, Y: P/ \# T2 V
  1565. ; Assert(expr); active by default.# z' B3 D, k2 a" s1 b
  1566. ; http://php.net/assert.active
    : Z; D% F6 P" H, |
  1567. ;assert.active = On
    # |1 l: Y% t( f9 z( b

  1568. , c5 d" i6 t" k' X+ U
  1569. ; Throw an AssertationException on failed assertions) K- g6 e) R: `! _7 o1 W( L- y  c
  1570. ; http://php.net/assert.exception
    " K7 T4 B$ C, p& E. H- n
  1571. ;assert.exception = On) }" f+ [% b1 P" z
  1572. 7 B7 ~8 ]0 G/ F; {$ A% A
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)9 @8 t# L: A% f8 o4 g, M+ m
  1574. ; http://php.net/assert.warning: ]/ X; M, j( I( ?3 b- K  r
  1575. ;assert.warning = On
    4 i) U$ V2 _8 Z

  1576. 0 [/ Z& C% M2 n5 J' u
  1577. ; Don't bail out by default.
    . i8 Y5 n- T5 p) ?( Y( b
  1578. ; http://php.net/assert.bail
    ' F7 r& c% V1 h! F3 k3 ~
  1579. ;assert.bail = Off1 [5 M9 K% a+ S- }7 B7 z

  1580. + w0 [" O* C, q  o6 B
  1581. ; User-function to be called if an assertion fails.
    * s  `% W, a" a& l7 v1 ~7 S4 a
  1582. ; http://php.net/assert.callback3 O$ I* q8 K+ r2 [) v: A/ S6 L
  1583. ;assert.callback = 09 ~. W* w% |! p+ ?
  1584. % M; [8 j/ G& Q
  1585. ; Eval the expression with current error_reporting().  Set to true if you want& s2 L& R+ l; x- R. k
  1586. ; error_reporting(0) around the eval().3 h. p+ X: V4 p, l# `6 d, o  f
  1587. ; http://php.net/assert.quiet-eval
    6 C3 e. k$ R. V; N. V. A) B
  1588. ;assert.quiet_eval = 0
    - S8 v5 W3 f0 F

  1589. 5 p/ W  o* L9 ?1 P  ]4 J4 g
  1590. [COM]
    : Z( t! g  `. C
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs, ^4 x- w0 v4 e7 R
  1592. ; http://php.net/com.typelib-file. W4 ~, R5 `# O4 M$ b7 V9 e" w
  1593. ;com.typelib_file =
    ' Z3 J9 L* z$ ?: ^* }& F4 Y9 f, D. I- u2 |

  1594. / G% R* W8 n& R, T8 k; S( {
  1595. ; allow Distributed-COM calls
    , j5 W( T, I- b% ?8 X7 m9 P
  1596. ; http://php.net/com.allow-dcom
    " s* i; k9 l3 w$ W( W5 U
  1597. ;com.allow_dcom = true; T& {8 @1 H% a/ W9 }! Y

  1598. 1 V5 C% k$ e, ~0 A
  1599. ; autoregister constants of a components typlib on com_load()
      g" o  z% ?1 O3 v- {
  1600. ; http://php.net/com.autoregister-typelib
    5 B& Z2 C5 A0 U8 F! T
  1601. ;com.autoregister_typelib = true
    # i9 ]/ ^, K6 `1 U8 M

  1602. 5 m& E6 ?4 l; F% R- W7 o
  1603. ; register constants casesensitive
    8 i3 H) A* y7 Z) v) B3 O% E
  1604. ; http://php.net/com.autoregister-casesensitive
    * X& N& t# Z  c
  1605. ;com.autoregister_casesensitive = false7 S* w! p9 S4 `9 ^, c& F
  1606. * G; [" p' `# E  W- I
  1607. ; show warnings on duplicate constant registrations+ M7 q5 V' s1 W; o
  1608. ; http://php.net/com.autoregister-verbose
    & q6 R0 Z" f3 U% E7 a  ?
  1609. ;com.autoregister_verbose = true3 q1 W, L- k# s: V* n! L& _
  1610. / E$ b. A, ~4 a7 m
  1611. ; The default character set code-page to use when passing strings to and from COM objects.- ^7 b, P/ R6 M  `1 c0 c
  1612. ; Default: system ANSI code page3 n* m6 f/ R* _) s. B: Y
  1613. ;com.code_page=
    , {3 d( t3 S6 r( h/ t; f, P# f
  1614. * k. N$ o1 x) j
  1615. [mbstring]' U$ }1 G& i% g. l" F# A+ U+ i0 \
  1616. ; language for internal character representation.0 o* B+ q: D+ N% |
  1617. ; This affects mb_send_mail() and mbstring.detect_order.; A7 C& y$ t% u6 q- ?. B0 q. w( {
  1618. ; http://php.net/mbstring.language, g  m) w6 U/ ]* q8 y
  1619. ;mbstring.language = Japanese+ Z$ M; k, |' w
  1620. % N' `& x: x% D0 A- P
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    3 ]7 p  D. q, F+ y
  1622. ; internal/script encoding.
    0 C4 d2 P9 E1 a! x* H$ m" W
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    , {% }7 N; b1 M& C* s- b
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    % x0 R- D$ z' |8 V
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding. `0 g' ^4 q2 p: M$ E: A; M! L6 D
  1626. ;mbstring.internal_encoding =0 {, `, N( R; _

  1627. * W- P9 F' g- M% B9 p- l1 ~" q
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    - F& a0 g& O4 F9 [
  1629. ; http input encoding.) Q/ M# O& e! _* I' D" z
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    & P- V1 q& g; W+ W; k" u8 p. U9 t
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.7 Q* I0 k+ `6 ?2 @$ a
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input- S) O1 b- {! ~' {. N
  1633. ; http://php.net/mbstring.http-input' R5 a# I8 \; T2 f# ~. k
  1634. ;mbstring.http_input =, e8 e! R5 c3 z2 q* o! d5 m0 X: f, N

  1635. & C, B' F  J1 K0 B0 |
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    9 ?' S6 V# j& F% \# J' _, O. q. [% o
  1637. ; http output encoding.
    7 ^- ^6 d8 x8 K! C8 ~7 U+ k0 a
  1638. ; mb_output_handler must be registered as output buffer to function.
    9 c% ^& T& T2 p9 o" t% A
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.0 G" O6 a9 ~7 `" z' R* o- h; Z- o3 T
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output( f% Z6 `! t$ A  {. D
  1641. ; To use an output encoding conversion, mbstring's output handler must be set4 \9 \2 ^/ [; i: f: w) u- S$ u
  1642. ; otherwise output encoding conversion cannot be performed." h0 c7 i+ u; o( E
  1643. ; http://php.net/mbstring.http-output3 z/ X3 X+ ?4 r) }% _. _6 t
  1644. ;mbstring.http_output =
    ) B" c( j) J; J: A4 F0 k' y
  1645. $ s8 X! D9 M" y6 v3 A$ e  D
  1646. ; enable automatic encoding translation according to% V+ d( P; u2 m0 C+ m. x
  1647. ; mbstring.internal_encoding setting. Input chars are! z! C, _$ X1 o, f* N- k* k
  1648. ; converted to internal encoding by setting this to On.
    , j* b5 N# w5 D& f) e
  1649. ; Note: Do _not_ use automatic encoding translation for2 {, g" L, H8 U/ K$ W* b
  1650. ;       portable libs/applications., w% P8 ^# i, l$ }
  1651. ; http://php.net/mbstring.encoding-translation
    + U" y. F  k. N! p# H
  1652. ;mbstring.encoding_translation = Off% J1 v4 o' i7 Z2 y* {

  1653. 1 }1 r6 S: T% ]+ A' D
  1654. ; automatic encoding detection order./ C/ B/ Y. c0 [! C5 `# W( `( U7 o) Q
  1655. ; "auto" detect order is changed according to mbstring.language
    % _5 S2 P1 m8 |1 J  s+ r
  1656. ; http://php.net/mbstring.detect-order5 U5 R2 q" S' w0 H2 ?
  1657. ;mbstring.detect_order = auto
    6 U# M% J5 u, K- N$ I
  1658. & T9 o' m5 d/ I) Y$ |! W( a
  1659. ; substitute_character used when character cannot be converted9 L7 s$ b# q$ E& ~( z( D
  1660. ; one from another
    2 ?0 ^3 A6 d4 y4 ]1 s; ^
  1661. ; http://php.net/mbstring.substitute-character
    - V2 u& Y) m3 B0 D, S* E: p
  1662. ;mbstring.substitute_character = none
    2 |, q' x+ z# u% k

  1663. * R+ K  W( h/ B1 s
  1664. ; overload(replace) single byte functions by mbstring functions.. }$ c* x& s* o% g: D' |1 A3 [
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    3 g' B# m& r& M& r3 ?
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    & {2 P& L3 `. K; D/ }& q+ @
  1667. ; For example, 7 for overload everything.
    1 v& X7 V1 Y# ?2 {  x- E0 f
  1668. ; 0: No overload; V7 k8 G8 I6 }6 ]: K: q6 G# j
  1669. ; 1: Overload mail() function& C  \7 p2 A3 h) u5 K0 Q
  1670. ; 2: Overload str*() functions
    5 [6 n5 m, i" P- ]8 B' X- D) L
  1671. ; 4: Overload ereg*() functions
    8 K/ T6 v: {2 _. [& ~% r9 `
  1672. ; http://php.net/mbstring.func-overload( p' s: j& X  w, {1 ^
  1673. ;mbstring.func_overload = 0
    4 F2 D8 d2 I/ _# ]
  1674. 1 x# w/ ], b+ K7 y
  1675. ; enable strict encoding detection.
    ' y  ]9 q. d' g5 T
  1676. ; Default: Off( I0 R2 d1 f4 z& L+ p
  1677. ;mbstring.strict_detection = On2 l( z: Y" Z" D5 A) ~& Z! p

  1678. 6 y' e% J5 M* E( E& x: D$ Z
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ! m. h' C" D- _$ b" l
  1680. ; is activated.
    5 I- A9 K! a) [9 x- X5 n
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    0 i+ A9 q7 Q$ T8 E( c, l) I
  1682. ;mbstring.http_output_conv_mimetype=2 X2 z# p9 i" _1 r0 C7 s, E
  1683. 4 t8 n5 G/ k2 h) a7 _3 B
  1684. [gd]
    ; y2 x3 Y& b* d* _; q
  1685. ; Tell the jpeg decode to ignore warnings and try to create+ H( e* ^6 C$ y1 [% _
  1686. ; a gd image. The warning will then be displayed as notices: ~* V! |  v+ B$ n- n% z
  1687. ; disabled by default
    6 h; p3 T" x3 C) P4 a( K
  1688. ; http://php.net/gd.jpeg-ignore-warning
    . f) n. Z& y: T; L$ E
  1689. ;gd.jpeg_ignore_warning = 0$ X1 a/ P/ X$ \* L9 z  ~
  1690. " H' H- j+ {" M+ O  ~
  1691. [exif]; S, |4 e2 @3 x) _9 F) a' `
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    - @; J) C* v/ `: _+ |
  1693. ; With mbstring support this will automatically be converted into the encoding" f/ P8 F& A7 \
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding- Q& d# @* r8 n3 P+ F: f5 a( v
  1695. ; is used. For the decode settings you can distinguish between motorola and+ J+ c5 j* K' O9 [2 ?7 W9 J
  1696. ; intel byte order. A decode setting cannot be empty.& G$ }! c1 \- y5 q' D- e! x
  1697. ; http://php.net/exif.encode-unicode
    ; a% q) I7 ?' Z& t; B
  1698. ;exif.encode_unicode = ISO-8859-15
    8 P/ M# |: M  L
  1699. - I) m  D' p7 [$ ~
  1700. ; http://php.net/exif.decode-unicode-motorola  K2 F* E+ _1 w7 w* H) |  H
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    0 x& ?% k% G0 C0 `$ h4 J; ]

  1702. 5 W$ f3 o9 u/ S0 ^0 J
  1703. ; http://php.net/exif.decode-unicode-intel8 k+ F! a% L1 b8 O6 [2 G. G& P! s
  1704. ;exif.decode_unicode_intel    = UCS-2LE8 g9 u3 ~$ x3 d: [
  1705. / x, W# E# K/ O) s3 y- D
  1706. ; http://php.net/exif.encode-jis
      g/ W! Q5 ~2 o: P* E3 {0 g
  1707. ;exif.encode_jis =
    1 r7 G4 q: h; Z

  1708. 7 z/ M) P  X- I5 k1 t0 R$ k2 ]
  1709. ; http://php.net/exif.decode-jis-motorola
    # O# z" V1 s3 J! `: V) s0 @
  1710. ;exif.decode_jis_motorola = JIS% D* S: v) c6 I

  1711. : y+ o1 N& h7 Y
  1712. ; http://php.net/exif.decode-jis-intel8 _3 O- H/ I2 i0 e
  1713. ;exif.decode_jis_intel    = JIS
    7 {* n) J( T0 L" J% ^6 M

  1714. % b, v) N3 s6 b. a& n
  1715. [Tidy]
    6 [! a  E$ J2 ~
  1716. ; The path to a default tidy configuration file to use when using tidy
    ( H( C' ]1 k2 K; Q" b
  1717. ; http://php.net/tidy.default-config/ G, Y$ u. c( e) ~. Z7 I
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg9 x" R: U2 X" b7 H7 w
  1719. " u& ^9 O0 F+ [/ U
  1720. ; Should tidy clean and repair output automatically?
    ; Y2 C. |: r! h6 E# Y
  1721. ; WARNING: Do not use this option if you are generating non-html content
      N+ y& W8 W, F; v# u
  1722. ; such as dynamic images/ g8 }" G) |+ U: I) i; L* d
  1723. ; http://php.net/tidy.clean-output* R3 O" l9 P( {' u4 u2 p
  1724. tidy.clean_output = Off
      ^; n- S' h: i/ |# n, n. I
  1725. 1 e! H3 |+ g. \4 o2 D
  1726. [soap]
      a3 m- D) B9 f8 |; G0 K& [. |
  1727. ; Enables or disables WSDL caching feature.6 x( s" \' P# [" k
  1728. ; http://php.net/soap.wsdl-cache-enabled9 h, Y* L$ t, O# F1 H9 c6 x3 j4 \
  1729. soap.wsdl_cache_enabled=1. m) ~' O$ J+ \0 E) d6 T

  1730. + F# }. j5 P& Q! m$ Q
  1731. ; Sets the directory name where SOAP extension will put cache files.
    1 I/ t0 D" {0 r
  1732. ; http://php.net/soap.wsdl-cache-dir
    & G5 N  O: @7 k% S2 r; X% B
  1733. soap.wsdl_cache_dir="/tmp": A0 _+ e  m# L7 D# Y, Z0 s

  1734. ' M! F; b  E) D: A
  1735. ; (time to live) Sets the number of second while cached file will be used- d6 U8 g& ?4 N! l
  1736. ; instead of original one.- ?# S# ?) Y0 g
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ( a' J* K! i. P
  1738. soap.wsdl_cache_ttl=86400
    , @- q9 {5 `! I6 |' b$ t
  1739. " I: z1 h* Z) ~  S' j
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache): @' j. d2 {9 N1 K  G, c/ m
  1741. soap.wsdl_cache_limit = 5" q! _. {+ g+ Y  H( Y

  1742. 1 l  g7 A2 y& _( T2 Z
  1743. [sysvshm]& d8 A5 O5 i) N' ~' |/ `$ R
  1744. ; A default size of the shared memory segment
    4 J/ l, o& l# g6 C6 D! [0 S
  1745. ;sysvshm.init_mem = 10000  n: V. T/ S' B0 m8 R/ X4 }

  1746. ( [7 H2 j; R/ h" A. L! w# J
  1747. [ldap]
    . a- y+ h) ^2 i: D; ^& t7 F1 C9 m6 b
  1748. ; Sets the maximum number of open links or -1 for unlimited.% a, j4 m: z7 L1 F& C1 A& G% H, j
  1749. ldap.max_links = -1
    / q, k5 t- \# t

  1750. 5 L- J9 \7 q% P
  1751. [mcrypt]. K' P% p% i5 g& Q0 K+ R  e
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open0 M2 \: r5 i  A9 j

  1753. 3 G0 }: `3 w1 B- n  g
  1754. ; Directory where to load mcrypt algorithms" W# n4 m; W; F% p/ r, b" V4 x8 h
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), i, K9 `4 i# F6 I9 Z* j
  1756. ;mcrypt.algorithms_dir=3 m/ M7 |5 Y- d- v3 p) |

  1757. 9 _% M; W; N9 N' Z, A6 v
  1758. ; Directory where to load mcrypt modes/ K+ `3 m0 y7 D# C1 v/ e/ m4 Y; j
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)1 L) Z1 M. w9 ^& x: j3 i0 z, G3 A
  1760. ;mcrypt.modes_dir=  V4 }$ {' a$ m/ \8 a2 y, }1 w/ o

  1761. $ u0 g5 @9 W& N% L( @6 r1 ]5 _
  1762. [dba]
    - s( Q# Y- ]6 C2 x# C! r/ W
  1763. ;dba.default_handler=
    ( A4 p% ~+ c8 A/ [" n3 }! q
  1764. + f$ [3 M5 h  k+ k, ~5 o5 A% g
  1765. [opcache]
    9 \1 p' ~+ f/ F3 g) P6 u! H/ c: M
  1766. ; Determines if Zend OPCache is enabled
    2 V/ D* ^6 e3 _9 f4 p1 b% T
  1767. ;opcache.enable=04 n0 E( E- {- [5 O) D" i

  1768. 1 {6 r& S& }/ `  f1 X) B
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP  j' @* m+ g% V' ^. I3 {
  1770. ;opcache.enable_cli=0
    3 L6 N9 q/ \0 o# ~4 r. N

  1771. & P( {/ f3 |; c4 }, f% D8 k  v* O
  1772. ; The OPcache shared memory storage size.( f9 Z7 z0 U$ u$ k
  1773. ;opcache.memory_consumption=64
    $ D1 L* \6 J" N0 `$ b  F+ E
  1774. / r5 b) X' I- s& `0 I
  1775. ; The amount of memory for interned strings in Mbytes." ^+ k5 {' q+ e  g% A
  1776. ;opcache.interned_strings_buffer=4
    8 L9 K7 U4 \+ P2 Q1 [  i
  1777. 4 d) c* B6 r. c# b# ~' n# `* s
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    % {0 a1 ~3 ]8 w9 q1 s
  1779. ; Only numbers between 200 and 1000000 are allowed.3 x  l: D5 p  ^# _; t) Y
  1780. ;opcache.max_accelerated_files=20001 _4 O! e7 j, A/ X- W. k; M
  1781. 6 O; J0 @) r. v# a1 l1 W2 y
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ' f) V0 l' e) x( z$ P7 h
  1783. ;opcache.max_wasted_percentage=5. A* q+ e1 M, @
  1784. ) ]1 }. N' M! O+ Z% n6 D  o
  1785. ; When this directive is enabled, the OPcache appends the current working
    2 Q7 b& ?2 ~/ Q' Q. y+ G/ B6 e
  1786. ; directory to the script key, thus eliminating possible collisions between
    & [7 [8 \' d6 Z  \/ ^6 f" ?
  1787. ; files with the same name (basename). Disabling the directive improves
    . F* X& l8 Q/ d, _/ B9 v
  1788. ; performance, but may break existing applications.5 b6 [, N; u1 k3 R3 p/ R
  1789. ;opcache.use_cwd=1+ ]" q) j! e" _$ A5 I7 g* N
  1790. 5 `7 C9 I0 u$ ^
  1791. ; When disabled, you must reset the OPcache manually or restart the+ r$ Q2 n( d" o$ k
  1792. ; webserver for changes to the filesystem to take effect.$ [# v) M* C9 V& P( [1 K& T5 i
  1793. ;opcache.validate_timestamps=1
    8 o3 o( a1 d9 U$ H8 o* o

  1794. % X: ?* n* @! `+ F, v
  1795. ; How often (in seconds) to check file timestamps for changes to the shared. b  O8 h) z5 C
  1796. ; memory storage allocation. ("1" means validate once per second, but only; y" T' j0 \. F" Y0 c
  1797. ; once per request. "0" means always validate)" N* A; X. l6 k/ T; I& T; ?& _
  1798. ;opcache.revalidate_freq=2  X1 v# O: V# }9 ?" S
  1799. 9 `; R$ s0 W, \$ V; C1 p
  1800. ; Enables or disables file search in include_path optimization
      N# V9 o1 c& F" f
  1801. ;opcache.revalidate_path=0
    ' h8 p: H0 d+ n* G; t2 ^

  1802. ; }4 \8 f, x4 e
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the6 a7 z" [; _( T4 x9 e. d0 @$ B
  1804. ; size of the optimized code.
    / t+ v' D6 |+ \1 q, A5 d% H1 _
  1805. ;opcache.save_comments=11 I0 t3 x9 }* \* q5 u# N
  1806. 4 e8 C7 ?% M; H9 l+ N9 S
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    6 N! q# N* \8 b9 V; W+ g
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    + |. [: C. q/ h9 g+ s/ Y. O: |6 M0 ^
  1809. ;opcache.fast_shutdown=0
    : i: k& |8 R; N6 \$ A7 U

  1810. $ s& i( A! a" j
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    9 z' S9 b5 v$ p9 t! U4 g, N* r
  1812. ;opcache.enable_file_override=0
    0 n1 H% {3 H. p

  1813. ( z" E& v; h" z1 o. G  |
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    2 k; B4 N) E  Z4 f1 V: o
  1815. ; passes( k6 L% X5 \" {+ ~4 m
  1816. ;opcache.optimization_level=0xffffffff* Q# K  [$ i' v0 K

  1817. ) w/ _8 a) D& {. h
  1818. ;opcache.inherited_hack=1
    ( Q5 a; @9 U' [9 N0 O
  1819. ;opcache.dups_fix=0
    0 ]# V1 K+ @3 _4 _: q
  1820. - u: r) J- g& u, {. ~
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    6 ]" i1 H$ m2 }$ ~" U  a* O! P3 s
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    , v" w# X4 k2 c6 v
  1823. ; that should not be accelerated. The file format is to add each filename8 ~- y+ {7 @! i
  1824. ; to a new line. The filename may be a full path or just a file prefix& h+ j( t% T# n. z0 o( }
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www  P4 C; O, V1 p3 Q/ l
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).1 g; Z2 u) [9 R- ?0 j1 T
  1827. ;opcache.blacklist_filename=
    5 }* u0 @" T; k7 w+ ^+ m" _' c, F
  1828. 1 O# [! T: j* F, C) R/ i& i* i( Z* \
  1829. ; Allows exclusion of large files from being cached. By default all files. Q9 r5 H( a  p( X
  1830. ; are cached.  J  T  a0 C& F8 m
  1831. ;opcache.max_file_size=0( R* b) O' m+ j0 Y8 a: v0 y

  1832. 6 Y* H! G) A! ]( t. Q( }
  1833. ; Check the cache checksum each N requests.
    % Y8 I% d6 d+ G, f0 A- Z
  1834. ; The default value of "0" means that the checks are disabled.2 a1 _+ L6 ^% Q& q
  1835. ;opcache.consistency_checks=0
    / r, U0 C7 P- D" d3 O0 B" c; @. r
  1836. - w0 c9 C% q3 M; D; z
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
      F2 h8 |% s- a6 N5 R
  1838. ; is not being accessed.
    # E% M: x, H* K- e. t( T
  1839. ;opcache.force_restart_timeout=180
    & q8 |# L9 k  n/ f
  1840. * |2 j( V1 Y- O" w/ H- W/ H
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    9 x7 `; s7 T+ L
  1842. ;opcache.error_log=
    # s. c4 R; c: w  N8 ^
  1843. 0 S8 n; t7 T/ U. A2 C# x
  1844. ; All OPcache errors go to the Web server log.% @0 N* L5 n: F3 r6 j
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
      J3 d! d. y: S. a
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    4 ^: |. U& ^7 [  D- ~# H
  1847. ; debug messages (level 4).: v4 n' t0 c6 C
  1848. ;opcache.log_verbosity_level=1
    9 [4 n- R. ]3 Y. R
  1849. 2 F( w$ O  s' `1 \7 c+ y" {* {/ M
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    4 ?8 O* o: @; I, J* L' o
  1851. ;opcache.preferred_memory_model=
    8 v( M- P3 A5 S; C: @
  1852. # j; t/ J" Q8 p7 t5 M& @
  1853. ; Protect the shared memory from unexpected writing during script execution.: h6 x, }) g4 A1 T" ?) W
  1854. ; Useful for internal debugging only.1 j  j  n: j9 m& M; p9 E
  1855. ;opcache.protect_memory=0
    + d4 C  L1 b1 }% @6 o# A
  1856. ( O& d0 ^/ e  ]+ y) e; i, s
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    2 U1 n- J, ?* H" t1 E
  1858. ; started from specified string. The default "" means no restriction
    ) o- F: M- L: m8 T* Y
  1859. ;opcache.restrict_api=! U6 |% \: H* ?. i  B8 s
  1860. : q8 z8 o1 u* ?, q! c2 E5 m. R
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    " }+ p8 n( l# M
  1862. ; processes have to map shared memory into the same address space. This
    9 r) {4 @% S7 v/ N
  1863. ; directive allows to manually fix the "Unable to reattach to base address"' b; u6 v5 d7 n0 W( ~
  1864. ; errors.. i4 R2 i, i& G3 b! ]; K+ P1 N2 _
  1865. ;opcache.mmap_base=! \+ J% ?3 |& j+ a

  1866. 3 R1 Z  c- ]2 e! w
  1867. ; Enables and sets the second level cache directory.
    8 j; j  |0 Y9 {' x
  1868. ; It should improve performance when SHM memory is full, at server restart or9 j& X) G7 }0 u
  1869. ; SHM reset. The default "" disables file based caching.. z6 d* N, K' @0 j
  1870. ;opcache.file_cache=2 [" \+ a8 ]. v2 {7 }% w

  1871. ' b6 A; A; |4 {: G
  1872. ; Enables or disables opcode caching in shared memory.+ d! K3 x% i4 N/ @; D' v
  1873. ;opcache.file_cache_only=0
    " C7 a+ ?0 m. e* H
  1874. % z' m1 _- G3 y8 E7 l$ }
  1875. ; Enables or disables checksum validation when script loaded from file cache.# C9 t! \6 N4 h, G' y' ]
  1876. ;opcache.file_cache_consistency_checks=1. M1 c3 N2 s& Z( }( y! i6 e
  1877. & S: m' T( |% v4 C/ y! L
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    ( Q# q# U" G3 N9 K5 G8 D0 s
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    8 ^- R  ~% |- A$ x7 N  F9 I
  1880. ; cache is required.
    : R# x; p+ U$ ]8 m1 k
  1881. ;opcache.file_cache_fallback=1
    - o+ _8 W: ?+ D4 I6 j; T

  1882.   e6 z5 |8 s- w: q  x8 U
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    , D! o( Q- s7 o+ g& J6 K4 z
  1884. ; This should improve performance, but requires appropriate OS configuration.+ m# C5 V- y% B7 s: ~( y# {, }, u' m* s
  1885. ;opcache.huge_code_pages=1
    + A7 b, F' P; j
  1886. # D4 l( e- P7 u5 Z/ |
  1887. ; Validate cached file permissions.
    $ y( H3 r9 |( [
  1888. ; opcache.validate_permission=0
    3 a- i7 y! Q* l/ K  Z7 |- e: q6 r5 ]

  1889. ( q  j7 q6 P( G7 w
  1890. ; Prevent name collisions in chroot'ed environment./ T- H9 v! Z. B
  1891. ; opcache.validate_root=0: R1 ~( \* \8 Q+ i8 o" g9 X

  1892. ' |, q* v$ w6 X' z" r+ B+ y
  1893. [curl]
    * w/ E4 v6 l) q2 W" l5 W# b
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    9 O* T/ q1 t/ ?9 n
  1895. ; absolute path.+ |. O. X$ U. M5 i/ s
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    : e, M: q- ~9 G9 L! C

  1897. 9 g1 Y/ P! D0 t9 [
  1898. [openssl]5 L/ F+ `1 L. A7 B
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem5 B+ T/ d& r) L* D; X" d+ }3 {
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    " U; E' v! C, b7 W' u7 D
  1901. ; not specify a value for this directive as PHP will attempt to use the
    + K8 v( Q# {( g: \# D
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    . w8 u6 Y, K; F# [# I
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context$ f  x8 Y- W  p  B5 Y3 c
  1904. ; option.
    8 A5 I6 ^: N: @+ z* e; r5 y
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    : @7 Y/ F9 F* F% Z9 C" i" \
  1906. 9 B( T' k! d: D& k. {! R# \, a
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the4 Q  Q! z* T6 q  O8 g
  1908. ; directory pointed to by openssl.capath is searched for a suitable" l& m2 M: r+ s) ]2 t2 t8 i
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    7 Z& ~& a9 Y0 }- z% H9 G
  1910. ; Most users should not specify a value for this directive as PHP will( ?# V5 U& A7 a4 ]/ u$ C  h# ^
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,4 S% Y0 l3 Q/ T
  1912. ; this value may still be overridden on a per-stream basis via the "capath"9 ]. m, f2 u5 j
  1913. ; SSL stream context option.6 i1 U; y& s6 L4 b3 l2 h* J
  1914. ;openssl.capath=: b9 Q5 t: D+ j% g) Q

  1915. ) g$ [; x( J+ E: [7 |2 ^
  1916. ; Local Variables:/ _; Z7 `. d) Q
  1917. ; tab-width: 46 c$ I8 G. N3 j: r
  1918. ; End:
    ) U4 \* i& B+ I" t% X+ u1 V8 @
  1919. 4 y0 ?8 P4 G" H! h* x
  1920. ;eaccelerator- x; B7 i' q0 s) [" s% D$ _! ?  B
  1921. 2 {$ O. O3 H7 g; r
  1922. ;ionCube9 y: w% q& [$ |% Z- e) i: G* z
  1923. 0 E2 @; u9 \6 m. t* ^" |, X0 b1 t, T
  1924. ;opcache' `5 n7 b% {: ^
  1925. - D1 I* W( X% |
  1926. [Zend ZendGuard Loader]
    - E: K+ V+ {) g4 |4 ?' h
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    : B" j; g; E$ N- e! Z
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    & e( Z' K# w: H3 X" @
  1929. ;zend_loader.enable=19 X, J3 M- g) i8 l; _0 ]. C
  1930. ;zend_loader.disable_licensing=03 T+ B7 X1 G, A- S3 F" z) V
  1931. ;zend_loader.obfuscation_level_support=3
    4 Z" _9 [# m7 ^5 Y2 n! G
  1932. ;zend_loader.license_path=  j% W- O1 l- l
  1933. 1 w9 ]. z- k6 \" _! E- g
  1934. ;xcache% {% ]1 j9 }- ]; S$ Q2 C
  1935. . v. |3 `- @7 d+ r; s6 G$ ^+ w
复制代码

; n1 `5 }. S( x. U+ j5 `  l3 c! ~% G0 h
  R7 I# z! a. P6 }0 d- _

; {9 }' W8 @" X% u( M3 p- h9 w
- c8 ~. f% n+ Y2 N7 N" R6 v
6 g7 `3 l7 \/ r- N& I& Z1 _! {1 {% d' l1 \+ D/ f2 ^1 [
PHP5.6版本原始设置: z! B0 ^2 A+ `. W) i7 p
' ?" [7 B7 X; p+ M* U
  1. [PHP]7 M. q; J1 ]' |) Z  t3 x

  2. . Z2 T) A9 N8 t  }" F/ X2 G* h
  3. ;;;;;;;;;;;;;;;;;;;
    ( v9 q- f, a; {# x& b6 j: h7 @
  4. ; About php.ini   ;
    0 ^  @$ ]! V6 M) A* _& i+ X# F0 C
  5. ;;;;;;;;;;;;;;;;;;;: ~5 k" z1 G5 G
  6. ; PHP's initialization file, generally called php.ini, is responsible for! t5 a* e1 T& ^; N8 ]* a2 i
  7. ; configuring many of the aspects of PHP's behavior.: @3 `7 E) l- {8 T) h: m8 J1 H

  8. , e0 z. d- |# n8 I) x
  9. ; PHP attempts to find and load this configuration from a number of locations.
    1 v- b5 j: h- U' l; \
  10. ; The following is a summary of its search order:
    + `1 Z2 k* s- e9 B' l8 b4 C" E7 _
  11. ; 1. SAPI module specific location.. E: ?  M4 B. `; v/ s. C
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
      i1 H8 D9 @; @0 Q; d: c4 u- `
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    8 J) @# q/ A. X- {/ w5 q; Z
  14. ; 4. Current working directory (except CLI)
    , r  _" G* f& H+ F* ~
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP* r" s; c* W! h. f' F. D  ^5 T
  16. ; (otherwise in Windows)
    " f) F* a2 H4 Z6 Q% n3 q# @
  17. ; 6. The directory from the --with-config-file-path compile time option, or the! S- u7 O: h" v  n  J" `
  18. ; Windows directory (C:\windows or C:\winnt)& ~7 ^% P" K6 ~% r0 {! B4 C' W
  19. ; See the PHP docs for more specific information.9 z% Z( A3 Q# H2 ?$ D0 n
  20. ; http://php.net/configuration.file+ r' p) n- o% v* A8 f, {

  21. 8 E; _  ^2 ]& ~$ {/ }9 [' }: n
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ( B' Q3 H! z3 K5 u+ `9 C
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).7 h0 J5 n" \# e! h
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    * U6 |7 E+ H4 P  z! v0 E( J
  25. ; they might mean something in the future.
    / T/ f# h& l6 T* J5 F" i
  26. ' J+ K0 F) @& T! {- F( M
  27. ; Directives following the section heading [PATH=/www/mysite] only
    + Q8 p4 P/ b! z4 Y* n; x
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ) [" h0 b* T. t/ f7 v
  29. ; following the section heading [HOST=www.example.com] only apply to( o- C- E9 u, S  n% j
  30. ; PHP files served from www.example.com.  Directives set in these  n1 z! ]8 W6 u. \7 a
  31. ; special sections cannot be overridden by user-defined INI files or
    0 m, R( z% j; ^& h
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under" s  a* s6 v$ _# T
  33. ; CGI/FastCGI.
    9 z3 B1 t/ I6 K3 ~$ L
  34. ; http://php.net/ini.sections
    3 X+ ?: D4 n$ D
  35. : w$ ^3 b/ V7 h) C# A
  36. ; Directives are specified using the following syntax:: \' z8 u; o9 d/ ^
  37. ; directive = value
    0 H/ ]8 o6 P- s, ~% M
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar., c0 v+ U4 Y3 u
  39. ; Directives are variables used to configure PHP or PHP extensions.) u  T9 V7 L4 P6 r
  40. ; There is no name validation.  If PHP can't find an expected
      T+ x% P( V( h4 L4 g  A  A; {4 h7 S
  41. ; directive because it is not set or is mistyped, a default value will be used.4 U7 ]+ w) e1 b3 P7 j$ z. S

  42. 2 _& e* H( T3 N! f/ A! R
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    . h& {, `, W# ?, W4 a' ?0 S
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression, e+ z, a" b, e- F2 a3 r; |
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a( }4 @! @- O5 t" j5 `: R& j
  46. ; previously set variable or directive (e.g. ${foo})/ k. B  w; c1 b6 J5 [" Z5 I* X+ ]

  47. + o) k; b' N  G4 V1 T
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    1 A  K1 j% ~0 q$ \. F
  49. ; |  bitwise OR; d0 a, {+ I) u+ A! v+ ?
  50. ; ^  bitwise XOR# h" W" }  t' G
  51. ; &  bitwise AND! g+ Q* s' q6 G) |3 e9 T
  52. ; ~  bitwise NOT
    / @7 V. G- J9 Y
  53. ; !  boolean NOT
    9 u+ b. t( A4 m$ p
  54. 8 w- w1 `" P. ~' l% r
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.& k3 j6 f6 W% d' \0 U: K; T. [
  56. ; They can be turned off using the values 0, Off, False or No.
      \3 r% c0 z( m4 K6 W* Y) a
  57. 1 f2 n- g6 J8 c# v& f
  58. ; An empty string can be denoted by simply not writing anything after the equal
    # y) ]0 k) T3 k% m+ X
  59. ; sign, or by using the None keyword:
    2 t; O+ Z" N7 ?3 }! Y( B" ?
  60. 9 G7 \4 t3 O$ J, a
  61. ;  foo =         ; sets foo to an empty string
    7 {, a& x" z, `+ b( p! U! N
  62. ;  foo = None    ; sets foo to an empty string
    1 B( }' T9 X) w! I5 G' \
  63. ;  foo = "None"  ; sets foo to the string 'None'
    0 d# X8 L- X$ g4 I4 N( y
  64. * v9 f/ p0 s# u* r
  65. ; If you use constants in your value, and these constants belong to a4 H% G$ k4 v, a+ t# N/ \0 }, D
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),: W6 Y! E: {9 Q' Z: {' c
  67. ; you may only use these constants *after* the line that loads the extension./ R( `. J! q$ N4 u9 V" ?( I
  68. 3 m6 h( m$ D0 A! {2 b
  69. ;;;;;;;;;;;;;;;;;;;) y/ Y" x& f1 N' ?7 [; M
  70. ; About this file ;
    ' A6 f& e3 t& f& N- f) }
  71. ;;;;;;;;;;;;;;;;;;;5 o3 B) E$ k" r! S$ l
  72. ; PHP comes packaged with two INI files. One that is recommended to be used9 y7 p# P7 `. x1 l. E$ d" \
  73. ; in production environments and one that is recommended to be used in/ n& ?4 d+ K" r/ V: X# A. N" ^
  74. ; development environments.1 K" Y2 {- x, f6 b! x

  75. 2 E0 {( I- h# b' g. Z. D
  76. ; php.ini-production contains settings which hold security, performance and3 ^; o1 D  x# t: C
  77. ; best practices at its core. But please be aware, these settings may break- L7 x( C" Q+ r' ]: V/ Q; V
  78. ; compatibility with older or less security conscience applications. We' d: E. {' v, n8 W( D' g. Q$ |* O; Z
  79. ; recommending using the production ini in production and testing environments.7 |4 N( Z4 {9 u8 [2 {- S
  80. 5 p' u0 `! p7 ?! t
  81. ; php.ini-development is very similar to its production variant, except it is: Z9 l+ h5 Y! @8 F& {- B8 t3 m8 Z
  82. ; much more verbose when it comes to errors. We recommend using the
    $ E  f" J0 w1 [) l- B. \
  83. ; development version only in development environments, as errors shown to8 ~4 T  p/ m, ]
  84. ; application users can inadvertently leak otherwise secure information., [/ N, [; Y( s( e: L$ m, T

  85. / B9 W' J) B# I
  86. ; This is php.ini-production INI file.# t; n# B8 k0 b/ i& l

  87. 2 F+ s: z, y6 n' I8 X$ h
  88. ;;;;;;;;;;;;;;;;;;;7 p4 Z: }: k, i8 a
  89. ; Quick Reference ;, Y3 ^/ P: B4 n& ^
  90. ;;;;;;;;;;;;;;;;;;;# ?  q& D; x: G; g( }4 I0 G
  91. ; The following are all the settings which are different in either the production
    + O* t- A! N4 a5 W% c6 E% R
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    4 k8 v9 X. n  Z+ `
  93. ; Please see the actual settings later in the document for more details as to why- e5 x3 p3 m3 T2 ^
  94. ; we recommend these changes in PHP's behavior.
    ) _# h- A# a7 i6 C

  95. , d1 k" d* F. K: _' x' l
  96. ; display_errors
    8 o- z/ `( I: C% F
  97. ;   Default Value: On% X4 W8 z2 Y8 A' y  _1 V
  98. ;   Development Value: On
    # P% H$ P% {. D5 Z6 }4 Z5 K" n2 f
  99. ;   Production Value: Off
    - d; z$ z2 i, W  P4 Z/ K: J( [
  100. - l* C" H7 l7 a: J1 E
  101. ; display_startup_errors9 |" h* n  O+ G4 V  v
  102. ;   Default Value: Off, h; Y+ ?/ t  w2 T# h2 S. m
  103. ;   Development Value: On& g' n9 `% X6 ]% V! \+ Z( ~0 }
  104. ;   Production Value: Off
    + ^# b: k' U8 k3 V9 d

  105. 9 l+ z% b) O- j1 |, O9 }1 Q) }
  106. ; error_reporting
    ( X  h2 ?( s. }, G2 H- h( t7 N
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    / G! _6 L$ d' \$ b0 Q2 W% ~" k; e/ @
  108. ;   Development Value: E_ALL
    2 b, n0 y9 [; @8 Q, q1 H
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT: P$ \) ]* n; S% S( F
  110. + S( Y# t& T2 E( P# M
  111. ; html_errors
    8 w. Y, d8 y4 @  F$ y) R
  112. ;   Default Value: On
    1 K( B* `; V0 c$ i5 u% e
  113. ;   Development Value: On$ S, Q  [" i4 N" }! |2 L
  114. ;   Production value: On, `+ R8 A. x) z/ a) E) z
  115. - \  j. h) d$ t; h
  116. ; log_errors" N1 x7 \: ~! N/ N4 X
  117. ;   Default Value: Off
    / A+ s; f* o2 S5 b
  118. ;   Development Value: On, e- b1 z/ K/ w! E) k9 B3 a9 X+ m$ `
  119. ;   Production Value: On+ {+ f* p) t9 ?$ d
  120. 3 b4 ^" c, X6 Z5 u: ?; `4 G
  121. ; max_input_time
    8 ?+ P2 h, P9 A
  122. ;   Default Value: -1 (Unlimited)& K9 ]# s$ s2 v+ o# ^6 \, p" r. e
  123. ;   Development Value: 60 (60 seconds)9 T8 N- t6 x9 r  c2 _, C
  124. ;   Production Value: 60 (60 seconds)
    - E2 o) K- s4 @9 O
  125. 8 N3 Q8 V- u# T7 a
  126. ; output_buffering
    0 f: ?% @& E/ Q; C" J  V9 p
  127. ;   Default Value: Off5 B' ]. t5 H2 k( g8 e
  128. ;   Development Value: 4096
    " P4 J3 B( u5 u5 M9 z' H
  129. ;   Production Value: 4096
    + w/ q# L& Q& p

  130. 3 e5 m. f7 Z) N% G0 ^% x" R
  131. ; register_argc_argv
    ; n- W2 l% `/ Q2 f4 H& f* r
  132. ;   Default Value: On) ~" q; g9 K2 Z9 |! @3 ^% v
  133. ;   Development Value: Off0 V3 j5 q( s0 Q4 R, h
  134. ;   Production Value: Off
    ; ?% J7 x$ W2 h  W

  135. 2 s( i1 M" @5 r" @& l
  136. ; request_order1 F# y0 v4 g" I  Q0 ~  n
  137. ;   Default Value: None
    * U& Y$ p) m7 D6 G
  138. ;   Development Value: "GP"
    . k0 w$ L) ~4 [
  139. ;   Production Value: "GP"
    - V$ J. E& u. _2 H! k0 I$ G* g# Z
  140. ) b0 f% P: S, T8 r
  141. ; session.gc_divisor
    % x5 ^4 ]1 E. B# _  J: e
  142. ;   Default Value: 100
    1 u% L$ z& M. G. L$ b
  143. ;   Development Value: 1000
    # M! [3 M' O/ F+ ?
  144. ;   Production Value: 10007 H( M* R$ A$ A* X" s- w; _1 O0 O

  145. 3 _/ d9 ^8 P* n) m" _
  146. ; session.hash_bits_per_character
    0 b7 G  E( o6 q! I
  147. ;   Default Value: 4
    7 `3 P. M! S# B4 l& T; ?
  148. ;   Development Value: 5
    . ?; o2 K1 }  u# ?
  149. ;   Production Value: 5
    " l  A5 D3 ]. n5 ]( [/ B" j* G

  150. # U* U6 \/ j# I" N
  151. ; short_open_tag9 M1 t! M- P) M0 y% a* L
  152. ;   Default Value: On6 W# J4 W# c) R- o8 q) {6 G- c- B! }
  153. ;   Development Value: Off
    & S" O6 G5 a3 |, y
  154. ;   Production Value: Off. O; z  a  y8 F; ~
  155. 9 @1 Q5 R/ s) h1 h& ]. D2 L
  156. ; track_errors1 w' i8 x8 G% x" T% C
  157. ;   Default Value: Off% e) F0 k& X) I3 x8 Z7 K
  158. ;   Development Value: On
    " ?: ]2 k& S# q3 j" x8 g" |, ]
  159. ;   Production Value: Off
    . g1 a4 e" A. n& J: T+ O
  160. , y8 P. I) D/ O) r7 Q: T
  161. ; url_rewriter.tags" S9 A9 ]$ D3 j6 A5 k* j
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="3 A9 }  H" \9 P) H( O9 n* R
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry") ]3 q4 ^  [, y6 G
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 F, R1 d- G0 i" U- A

  165. 9 r1 b0 h' ^( o' N& ?1 b7 a/ S  u
  166. ; variables_order) s2 r7 Q$ ~5 E( H: H6 N
  167. ;   Default Value: "EGPCS"" }: X; F( |4 P2 H
  168. ;   Development Value: "GPCS"
    ) i4 p9 l: t/ J- J+ p" R; `1 g
  169. ;   Production Value: "GPCS"
    ! x  B% P5 x4 K0 H% n
  170. 9 \/ f# R, h6 [& P+ E! D
  171. ;;;;;;;;;;;;;;;;;;;;
    3 T) Z2 S; I+ `" b, D
  172. ; php.ini Options  ;
    0 ~  K1 ^8 O3 p$ x# S* b1 C1 q/ c. _
  173. ;;;;;;;;;;;;;;;;;;;;
    5 E& A) u$ K8 K# h- A; L( o
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini") `0 k, A) g/ K4 S- Q4 Y1 ?
  175. ;user_ini.filename = ".user.ini". y+ E( k+ T. c, u3 @/ P
  176. / P- ~& d7 a9 t2 `9 B. _4 ~; h
  177. ; To disable this feature set this option to empty value
    % ?% v: d/ v5 n, t6 `# X7 B
  178. ;user_ini.filename =
    7 u* _: ~, H5 P! ?# c  ]6 \9 h
  179. 3 j' G) C$ t8 A" h
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)4 g0 @+ y- Y8 `% \- S
  181. ;user_ini.cache_ttl = 300
    % B+ z9 ~; ^2 p) O1 v

  182. & B" [" t/ J% l: P
  183. ;;;;;;;;;;;;;;;;;;;;, T! W9 w& h( {5 T! _( a% A( ^
  184. ; Language Options ;
    8 x; [9 H2 O5 P/ x- `5 V: s
  185. ;;;;;;;;;;;;;;;;;;;;
    4 t' G3 Q( {6 v9 c
  186. : O! i' ~2 C" s: J
  187. ; Enable the PHP scripting language engine under Apache.' H0 B- U( l# R* O* V
  188. ; http://php.net/engine9 w" G& h. g3 q  k9 D3 C2 @2 H  o
  189. engine = On+ \; w3 D" n0 S6 Z1 K
  190. / j/ q# f. `/ {8 W( d$ @
  191. ; This directive determines whether or not PHP will recognize code between1 k3 V& T" u7 |1 W5 `
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    0 j0 p! l2 W: J& O5 B4 D; f2 U+ H! f
  193. ; generally recommended that <?php and ?> should be used and that this feature
    7 _0 j% u0 D7 B7 @4 [
  194. ; should be disabled, as enabling it may result in issues when generating XML. E* l4 ~, q4 i" c3 O% w1 o7 p' W7 v
  195. ; documents, however this remains supported for backward compatibility reasons.9 m! `) H3 [5 |; l7 R% |0 s
  196. ; Note that this directive does not control the <?= shorthand tag, which can be' C7 D2 T5 p( x0 Q
  197. ; used regardless of this directive.6 r/ j- o$ Q, Q
  198. ; Default Value: On# K( C/ A+ |0 i; x. Q6 I' \
  199. ; Development Value: Off/ I* K4 P; a( N( f
  200. ; Production Value: Off- c1 F9 c2 @) M( N
  201. ; http://php.net/short-open-tag
    , I5 u" Y3 s5 d$ e
  202. short_open_tag = On# Y; n! R, `# A% r" u: z! ?

  203. ( J, a' j& ]) `
  204. ; Allow ASP-style <% %> tags.
      ~. i) C. ?6 T  j# z/ x
  205. ; http://php.net/asp-tags2 Y* l- n; f9 R
  206. asp_tags = Off/ ?6 X" ]; p" W+ }2 i
  207. . @% U7 J, D& L3 L  C
  208. ; The number of significant digits displayed in floating point numbers.+ O( Q3 C+ ]$ ?" D  @' f
  209. ; http://php.net/precision
    6 y" Z# x2 O5 e9 o
  210. precision = 142 D1 l) W: y1 ]
  211. 3 t$ g) D+ [9 P# i" J, K
  212. ; Output buffering is a mechanism for controlling how much output data
    / g7 ~: D; m" ]4 M9 M
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ' L- R) e  @1 z5 [9 V
  214. ; data to the client. If your application's output exceeds this setting, PHP
    ) v) c; P  o6 ?( |9 {  @5 m
  215. ; will send that data in chunks of roughly the size you specify.9 n4 ~, b6 Z2 r
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    " h  f7 }+ X) {' [( d3 O
  217. ; interesting side-effects depending on your application and web server.
    ; u  C5 V6 ?3 c! S% ?
  218. ; You may be able to send headers and cookies after you've already sent output
    ! j1 L# B4 u: o- H" s5 R7 M  g
  219. ; through print or echo. You also may see performance benefits if your server is
    ( ^2 R; }! v2 g& W: M
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ' G4 ]' i& V0 C+ H
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    * n1 u2 O4 c# R
  222. ; reasons./ z& V! Q! @) M' w0 i
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    9 G7 G) J8 ?' ^$ Q! V: v9 w
  224. ;   functions.# b- K+ l8 c- e: J/ F5 c
  225. ; Possible Values:
      t# T' _6 O; V
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    8 f: ~' I" s. o, |
  227. ;   Off = Disabled. B* i" z( L5 y) Q; \& x
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    7 ~* @' Y5 A! H+ o
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' u8 [/ ~( o( d/ n5 f
  230. ; Default Value: Off
    + r3 K. g6 V* w- S8 j9 r; Z0 @" P
  231. ; Development Value: 4096
    # e9 p6 A( d9 T/ ~$ O) O! y
  232. ; Production Value: 4096: Q" }: t7 a6 {! j# y' Q2 C
  233. ; http://php.net/output-buffering
    ) Q/ j2 p* x8 c9 s
  234. output_buffering = 4096
    * ]" J9 o" c+ _) f+ {) Y6 w$ t! V

  235. ' O) @1 C) M2 V
  236. ; You can redirect all of the output of your scripts to a function.  For  q' ~0 t( }' o% M+ m, H( {
  237. ; example, if you set output_handler to "mb_output_handler", character' U6 l, ]# n. L: m) v3 b4 b
  238. ; encoding will be transparently converted to the specified encoding.
    4 |$ r' w7 y$ a8 f1 |% {/ D
  239. ; Setting any output handler automatically turns on output buffering.- t+ ^$ ?1 V, X  V* q
  240. ; Note: People who wrote portable scripts should not depend on this ini
    8 ~8 F- F% D' h% V* |+ i/ r" z
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ! a8 N$ n( d1 p# L. |% w: V: y
  242. ;   Using this ini directive may cause problems unless you know what script( p( k6 W" S; w
  243. ;   is doing.& N3 `* k4 H4 S0 v
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    " D) z4 T) e7 u! @( m* P
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    : z/ Q4 b) E1 i3 x/ [( k
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    # i1 y, h: k- f/ f6 o
  247. ;   Instead you must use zlib.output_handler.
    2 e+ E: B' ^# X7 R5 S2 m0 Y5 F2 s
  248. ; http://php.net/output-handler( W. N$ {/ b+ o" v( i
  249. ;output_handler =8 A* i, O, v- d9 }

  250. : r4 h! w7 w+ G5 m5 i, L
  251. ; Transparent output compression using the zlib library7 ^6 f: Z" i. D# @
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    8 e, w+ ^# |0 l. [
  253. ; to be used for compression (default is 4KB)3 W/ [" F* s* w2 S/ N& ?! N0 i( L
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP7 M. h9 p6 k( v1 y, ]
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    9 R2 F8 n3 @  C8 d3 @6 H' X
  256. ;   compression. If you prefer a larger chunk size for better/ \4 j, {0 X. H* T) z  P
  257. ;   performance, enable output_buffering in addition.7 e2 q  @; E' l  M9 b4 l- F0 l
  258. ; Note: You need to use zlib.output_handler instead of the standard
    * u. F) G1 B1 ^+ n  U0 {, u
  259. ;   output_handler, or otherwise the output will be corrupted.
    ! w; M3 Q/ |0 l+ I+ U& D
  260. ; http://php.net/zlib.output-compression
    2 d7 F0 ^# |! o0 ~* M
  261. zlib.output_compression = Off$ n# H3 [- }) L( d6 _
  262. - V# u+ M  ?4 Y% j6 M
  263. ; http://php.net/zlib.output-compression-level
    & B3 t, M2 e: T" J! j4 E9 m$ g
  264. ;zlib.output_compression_level = -1; X1 H# D& _1 V2 H7 s9 C$ G! ^
  265. 1 l7 e; H8 r- z2 ?: P& [% H
  266. ; You cannot specify additional output handlers if zlib.output_compression8 Q$ ~+ o5 I- i. M5 {( `+ n
  267. ; is activated here. This setting does the same as output_handler but in
    " _6 e9 ^) o& m' O+ b5 N
  268. ; a different order.
    3 z$ |+ T3 R- }
  269. ; http://php.net/zlib.output-handler- W8 p- w8 x6 Q! L& E1 O
  270. ;zlib.output_handler =. i4 [. E$ D6 P* M$ o) P

  271. # z' b+ r& H5 T2 h2 C8 ]- W0 _
  272. ; Implicit flush tells PHP to tell the output layer to flush itself* n0 \  d: [$ n% m, w2 ?* }, e
  273. ; automatically after every output block.  This is equivalent to calling the
    0 H) h5 b) ~$ ]' r% \8 h* ^6 }8 P
  274. ; PHP function flush() after each and every call to print() or echo() and each+ G4 d# p7 a/ i" B3 ~* O# I
  275. ; and every HTML block.  Turning this option on has serious performance) h- q& k8 @' ?& h6 J. l5 X
  276. ; implications and is generally recommended for debugging purposes only.- i" C' I8 o1 p
  277. ; http://php.net/implicit-flush" O0 x* |& N" D5 L# c
  278. ; Note: This directive is hardcoded to On for the CLI SAPI8 u8 t& B. n% B5 V: y8 c
  279. implicit_flush = Off. Y6 H6 W9 k- `7 ^0 w; H

  280. ( O& W6 g4 h+ |, g7 H6 s9 d: [  B
  281. ; The unserialize callback function will be called (with the undefined class'
    # V( K. h9 V& }& [8 |
  282. ; name as parameter), if the unserializer finds an undefined class3 o$ L. H/ ^( S* y0 E; S
  283. ; which should be instantiated. A warning appears if the specified function is
    ' o% l& m8 B% v- w$ j# D! l' B
  284. ; not defined, or if the function doesn't include/implement the missing class.
      i3 Z1 \" m4 l6 ~: z
  285. ; So only set this entry, if you really want to implement such a3 N) M6 y* y3 r# y
  286. ; callback-function.- S# O* M6 \# w8 X' m* {
  287. unserialize_callback_func =
    " O/ F- _" \4 ^5 }

  288. # c9 a: S/ p/ ]9 d
  289. ; When floats & doubles are serialized store serialize_precision significant
    ! f* w% M: X" F/ G& ^( c
  290. ; digits after the floating point. The default value ensures that when floats+ b! I7 l+ c7 n0 \# O' |
  291. ; are decoded with unserialize, the data will remain the same.4 H% t# R! V7 }" U
  292. serialize_precision = 17
    % j0 P2 l8 Y3 F5 R6 l6 ]
  293. . p. G( A) H  l0 l/ E$ [
  294. ; open_basedir, if set, limits all file operations to the defined directory
    3 U5 v/ h8 s! A: |+ |
  295. ; and below.  This directive makes most sense if used in a per-directory$ Z: i/ E: w) |/ V
  296. ; or per-virtualhost web server configuration file.
    ) a: W4 L8 p0 j# I. A9 W
  297. ; http://php.net/open-basedir
    * Z0 U7 t/ {$ O: p# o
  298. ;open_basedir =
    + U# c7 y5 z" B3 M: G$ r% {& M
  299. ! y: w- N# p. F0 q6 t
  300. ; This directive allows you to disable certain functions for security reasons.
    * q% o: q  i  g! S
  301. ; It receives a comma-delimited list of function names.9 ]4 H* t( v+ c+ \* ?* i+ ~
  302. ; http://php.net/disable-functions
    # Z4 ?5 r& ~0 u
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru( |& `1 m8 S  Q. _, Q$ B' G

  304. % O8 M  ?! F0 v' v# N4 q' h
  305. ; This directive allows you to disable certain classes for security reasons.3 @! i: \6 i; u; Y0 W7 J; m
  306. ; It receives a comma-delimited list of class names./ F3 a& I# |* J8 ^
  307. ; http://php.net/disable-classes' b; i% t) M9 x
  308. disable_classes =
    0 w0 |5 S& t. R) i& u5 q+ U' |

  309. $ A. W& ?; k3 V" I
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in1 k( n% |: E' m& y: h% y
  311. ; <span style="color: ???????"> would work.# S: c+ K, q1 t
  312. ; http://php.net/syntax-highlighting
    + l9 P/ @+ L2 n
  313. ;highlight.string  = #DD0000
    - s" s* U6 v0 D
  314. ;highlight.comment = #FF9900* f; `, U: D3 v# k, S2 T9 _( q2 g
  315. ;highlight.keyword = #0077003 `' ]  Q8 p* K! C* f& }
  316. ;highlight.default = #0000BB; L; w. r" b" F: L' F
  317. ;highlight.html    = #000000
    $ p1 D4 m; o: k  ~3 ^5 [/ }5 M5 N

  318. 9 {6 e9 X; ~8 {, X: d9 o
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    3 y6 z4 \! U; k/ s" t
  320. ; the request. Consider enabling it if executing long requests, which may end up  R) Z: E$ x6 |, S, b8 P
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior1 L0 Y4 T3 |9 ^. a- U! u7 f$ U
  322. ; is to disable this feature.6 _) ?  s6 J: D' Y  E) ]4 e
  323. ; http://php.net/ignore-user-abort8 b% p1 I! l& V; m6 h
  324. ;ignore_user_abort = On& K0 i# ^- J1 s9 W" T

  325. 2 W" I; g8 ?6 e% g. N2 N2 i' K
  326. ; Determines the size of the realpath cache to be used by PHP. This value should" _% u% v- r, }: q% |6 L( q
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    - z, z1 u9 h& }1 m; u
  328. ; the file operations performed.! p" M. Q. o9 v  J& q# i* b# b  M
  329. ; http://php.net/realpath-cache-size
    , {9 G+ c  Q' E* N7 Z
  330. ;realpath_cache_size = 16k
    4 P( P5 M# t; F6 X( R6 ]
  331.   C* O' m! S( R4 g
  332. ; Duration of time, in seconds for which to cache realpath information for a given! M* U7 \# f  ~/ z8 X
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    . `# }' q- t$ O  _
  334. ; value.
    ; W- C0 p% E9 k) [% P- N
  335. ; http://php.net/realpath-cache-ttl+ C( _5 I* u# n2 D6 B7 T, c! j
  336. ;realpath_cache_ttl = 120+ H6 N) D. Y4 k$ P' v4 r$ }
  337. : R7 u$ x( g, j
  338. ; Enables or disables the circular reference collector.
    3 B$ f' l% G# A
  339. ; http://php.net/zend.enable-gc
    , o; T0 }. a, x7 ]2 C
  340. zend.enable_gc = On
    - {. ]/ b. y$ M  Z) n3 L( F1 J1 l

  341. 5 |; G$ Y  z- C
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    4 t: W; O5 L5 [' @- U
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such0 H- T: L  d2 C: n( L1 }
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    ) ]1 H" D! H# l) Z. O
  345. ; Default: Off2 x" B& I- h! g0 |9 ?) w# B
  346. ;zend.multibyte = Off
    2 f$ `& [0 d0 X9 V

  347. " G1 T' H% @: Y* F" p
  348. ; Allows to set the default encoding for the scripts.  This value will be used% B2 w$ p% L4 q0 N6 A, g3 `2 |
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    8 X3 O' R5 E& |: H6 ~6 X: E' p+ v
  350. ; Only affects if zend.multibyte is set.! U2 u0 ^% V, `6 ?8 S
  351. ; Default: ""
    . R; s- k+ ]% o+ W% f
  352. ;zend.script_encoding =
    2 S- `5 s1 _% M+ m& f- v  w

  353. 7 B, A1 s. }' S$ Z3 _
  354. ;;;;;;;;;;;;;;;;;. H  M( z9 \6 }  v2 W, t
  355. ; Miscellaneous ;# a0 X8 _1 ~5 E4 a$ Q
  356. ;;;;;;;;;;;;;;;;;2 H. G7 ~9 ~# T4 b( r
  357. 5 U4 F/ S& G; B
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    $ y3 m: |% p+ i! ]
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    3 B' t7 x8 l$ D  q
  360. ; threat in any way, but it makes it possible to determine whether you use PHP/ @, j% n" C* }4 l
  361. ; on your server or not.$ L0 [, x- ]/ H) h7 d& |* b
  362. ; http://php.net/expose-php2 F2 d8 e4 e  `% j
  363. expose_php = On' ~( f+ h4 s3 ]2 N8 k, E0 F4 }
  364. 2 H* H5 J# K' P  U6 o3 W
  365. ;;;;;;;;;;;;;;;;;;;% D! I! g$ ], N) _& D  z
  366. ; Resource Limits ;7 U0 i  l) s/ H( T6 ~8 O
  367. ;;;;;;;;;;;;;;;;;;;2 C) W+ H' L4 {( i' y
  368. ! c3 D% q' a  o  j  `4 C; `6 j
  369. ; Maximum execution time of each script, in seconds2 [2 {6 K  A% C  E
  370. ; http://php.net/max-execution-time
    8 Z4 E+ R0 n: U6 N# @% c* U7 F
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    / G. U9 q9 f2 t8 b" `) N
  372. max_execution_time = 300
    ; M6 R! K1 f3 p" ]# i& l
  373. , E4 Z) `4 E, n# [$ Z
  374. ; Maximum amount of time each script may spend parsing request data. It's a good( }, R6 ?+ T0 z
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly6 s  i$ d$ d" i: w# ^
  376. ; long running scripts.: T8 p' n5 L5 T9 P
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    . s$ e9 b# \9 c, S, x3 ^& Y& |
  378. ; Default Value: -1 (Unlimited)
    ( I! u* C: u$ r
  379. ; Development Value: 60 (60 seconds)+ {& S6 X( Q9 G
  380. ; Production Value: 60 (60 seconds)
    1 n" i) Z" ~- y* v6 z! W, g0 v# H" O
  381. ; http://php.net/max-input-time
    & C5 M" G% ^3 J- D, L1 _
  382. max_input_time = 60
    . u8 y: R* {; ~0 q9 `8 |! M

  383. 1 m* f; }8 Z2 l# ]: I4 R
  384. ; Maximum input variable nesting level
    3 ~3 p# N# p# k
  385. ; http://php.net/max-input-nesting-level/ s) \8 K* Q# g, s$ Z
  386. ;max_input_nesting_level = 64$ m8 X+ C5 H5 Z7 t% I, u5 u; {

  387. + z; ~7 A) w' a4 ]
  388. ; How many GET/POST/COOKIE input variables may be accepted5 V1 `2 b, F7 G; h
  389. ; max_input_vars = 1000
    9 w; O# c6 @6 {

  390. # k, b5 o( _: x6 g$ y. X. N6 A2 }
  391. ; Maximum amount of memory a script may consume (128MB)
    ' P6 I) Q' d* o# f' {$ i4 o* B
  392. ; http://php.net/memory-limit  k7 _0 B, _' _3 s
  393. memory_limit = 128M
    & l' G! y! ~+ i! y8 s7 X& Y1 g
  394. 1 u  V6 Q  U1 D3 t; g" U+ e9 `0 Q: [
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;/ P) u. _4 D( w" |/ B
  396. ; Error handling and logging ;1 p6 h6 ~; W- N# X
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ( b: l5 S6 T0 \. r+ e, o( [* Q
  398. ( D8 B0 l/ c: D) o, D* e+ f9 B" h
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    4 e3 e' H9 v3 b& ?
  400. ; it to take action for. The recommended way of setting values for this
    ! D8 `- _! B  U3 t: D5 X
  401. ; directive is through the use of the error level constants and bitwise
    + K* r& I/ {  V: I4 R3 g
  402. ; operators. The error level constants are below here for convenience as well as4 e) o) \' `2 G' G. {- t
  403. ; some common settings and their meanings.
    / A- D% b/ A5 P9 _) f: J' [' u
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT  r$ O: ~4 Y5 {" `
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and, g" C8 j9 v, V  Y3 F" e- u1 t
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    7 t! X. U7 U" \+ W
  407. ; recommend error reporting setting. Your production server shouldn't be wasting/ a, t5 L% n1 z2 Y& D8 w# }
  408. ; resources complaining about best practices and coding standards. That's what
    4 W, z3 m3 N' X! C4 R- N
  409. ; development servers and development settings are for.7 ?3 u6 c6 L8 ^& ~5 f' ~! F) |. O
  410. ; Note: The php.ini-development file has this setting as E_ALL. This* e7 L; y) H; C* C. S2 Q
  411. ; means it pretty much reports everything which is exactly what you want during
    2 y+ ~. Y! h. D8 S  q
  412. ; development and early testing., m; ~# S3 H' `( C1 C: F
  413. ;
    ) f; [' ]; z& N1 r* S
  414. ; Error Level Constants:' M5 H4 g: u$ q4 Y. R8 B
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    % x: w2 Q& s6 i, m" i$ H- C2 a7 [
  416. ; E_ERROR           - fatal run-time errors/ {4 k% l1 j5 j  `
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    0 {1 Y  |& u0 `
  418. ; E_WARNING         - run-time warnings (non-fatal errors)( r2 R* f6 M1 \% ?
  419. ; E_PARSE           - compile-time parse errors& @! Y) V  v2 u& M( T1 K
  420. ; E_NOTICE          - run-time notices (these are warnings which often result! m8 c4 T+ t" \1 {4 m0 j
  421. ;                     from a bug in your code, but it's possible that it was8 ~: }9 ~1 o! H/ t" j/ A; n
  422. ;                     intentional (e.g., using an uninitialized variable and
    $ _. {% N# W$ E5 v1 Y+ S
  423. ;                     relying on the fact it is automatically initialized to an' V2 ]# {+ D/ ?5 Z
  424. ;                     empty string)/ l. M0 K8 `5 m' a% T  u+ p! r
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes6 X; j% w3 O; p+ U
  426. ;                     to your code which will ensure the best interoperability6 ^' n8 U2 C1 O9 c6 W6 Z1 f* G0 O5 J
  427. ;                     and forward compatibility of your code$ H- K' q, \% j0 Y. |
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup, U7 I' G5 U1 Z- m# n( M1 |
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's7 a7 y6 E  |' m9 v2 ]# S
  430. ;                     initial startup5 D/ ]7 |2 W7 b1 m* L
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ( x6 A  V% A! e4 Y8 r
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)' b( H+ _6 r! @$ L. e7 I
  433. ; E_USER_ERROR      - user-generated error message' _) k% O% x/ o4 f
  434. ; E_USER_WARNING    - user-generated warning message* `: ~5 D% j8 @. u7 v0 X
  435. ; E_USER_NOTICE     - user-generated notice message
    ( N; d8 C, S7 x3 Z, F
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    , d% s9 L/ v5 C8 J3 F- f# A) P
  437. ;                     of PHP
    ' [; |' b/ F& Y& W7 ]; y, p
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings# W3 g3 [; I( Y3 _' t2 N6 X2 W
  439. ;
    ( i- ]/ z$ @  F1 E9 A
  440. ; Common Values:
    6 V. t4 Z% \" M3 f
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.), J) w2 L8 K! @3 p7 ~3 B3 s( O
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    7 `: @. X) F' u  T) G5 T
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    1 ]# d  M1 _6 n6 [0 B
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
      w8 E( H3 q" s, F7 Q" a
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED; |& p* O/ C" a4 h: F( v
  446. ; Development Value: E_ALL
    3 j; u/ ?8 ?% m+ D# I  z0 d: l; x
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    + _. B2 ?: x3 }  T5 s
  448. ; http://php.net/error-reporting
    9 Y" R2 _5 Y+ U
  449. error_reporting = E_ALL & ~E_NOTICE
    & Z& J3 i- b+ h& p3 h" o

  450. " _2 l- ~, T, j; h5 n; j. T4 C
  451. ; This directive controls whether or not and where PHP will output errors,
    . R$ ^& J9 |+ x: u3 m' i
  452. ; notices and warnings too. Error output is very useful during development, but
    3 `: Z  u& D: G5 y2 J9 B
  453. ; it could be very dangerous in production environments. Depending on the code  \2 ?# M5 S) Y; ^2 Y
  454. ; which is triggering the error, sensitive information could potentially leak$ I$ y$ \* ?8 \0 o; D1 v% [- y8 D+ g
  455. ; out of your application such as database usernames and passwords or worse.2 t7 j5 p! H, P6 F5 ]1 m' h
  456. ; For production environments, we recommend logging errors rather than' j7 o" C% d, n# S$ Q
  457. ; sending them to STDOUT.
    : A4 ]! b( }+ q, N' s4 b) T0 V" S: p
  458. ; Possible Values:
    ' |* v% b* e0 Q  }) J9 e2 z% ~6 ~
  459. ;   Off = Do not display any errors- E0 ^) A3 o6 S/ i
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!): h& V1 ?: l! e, P( j
  461. ;   On or stdout = Display errors to STDOUT
    2 m- T8 h. }; b$ ]' n% b0 u$ K  N
  462. ; Default Value: On( V' L1 e+ j6 _$ ?: Q. v. m2 w
  463. ; Development Value: On7 n9 ~1 n6 I+ W- g* T- m6 Y$ M
  464. ; Production Value: Off
    4 w; n8 n4 |) B: H+ ]( I/ y' b0 h
  465. ; http://php.net/display-errors1 j. Z. B. S1 I. c0 ^3 Z
  466. display_errors = On% B. ]! r. Q) C( K& R7 e1 T* _
  467. 9 g% F! @  I+ r7 [2 j
  468. ; The display of errors which occur during PHP's startup sequence are handled& E* F& N- b2 s$ `) L; L
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    # W- o. H! r  d0 _# c2 y0 {' R
  470. ; errors from clients. Turning the display of startup errors on can be useful in7 e7 u, V6 {3 s  S  K
  471. ; debugging configuration problems. We strongly recommend you. A& b8 _8 u9 ~7 P0 _) c
  472. ; set this to 'off' for production servers.- F/ c4 u" }/ ^: p' m* A- H
  473. ; Default Value: Off$ Z& X7 S! {9 I0 E5 H8 T4 o
  474. ; Development Value: On% {' r& f6 a6 H$ K) W) h- B8 \
  475. ; Production Value: Off
    0 O) {  t5 e. u5 ~$ i5 N
  476. ; http://php.net/display-startup-errors
    ! ?: p& U$ I+ Q
  477. display_startup_errors = Off
    / y" w9 t) j, m/ M1 N
  478. : W; i2 I# h! W! p) C
  479. ; Besides displaying errors, PHP can also log errors to locations such as a& h" |  F8 I, p) @# B# U9 {8 _
  480. ; server-specific log, STDERR, or a location specified by the error_log& U- E; J% E& w& m
  481. ; directive found below. While errors should not be displayed on productions6 g6 n5 Z' b* q
  482. ; servers they should still be monitored and logging is a great way to do that.
    " I1 s' u) g( V
  483. ; Default Value: Off
    ( z) P0 S! A+ c6 V# n
  484. ; Development Value: On
    & V; O% z7 x, w
  485. ; Production Value: On' E! o- l8 f9 V: l& m( e& |6 B
  486. ; http://php.net/log-errors
    8 _& X. T$ ?- N/ X
  487. log_errors = On. q) ~3 M' T8 a7 f5 m, W
  488. + t0 A' _! u3 s- e
  489. ; Set maximum length of log_errors. In error_log information about the source is
    1 T3 ]5 f; X  A! A- g
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.$ K" g. P, {* N- n, G; W( @5 c
  491. ; http://php.net/log-errors-max-len5 S: X  l* w8 M7 N
  492. log_errors_max_len = 1024
    . v8 s9 |0 p2 j. p, v6 Z3 y

  493. 2 E. p4 C+ s4 g7 C. e+ n
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same/ Z. V# _& h# _! \% u" J8 G
  495. ; line unless ignore_repeated_source is set true.
    0 R$ k+ N" N+ {2 x
  496. ; http://php.net/ignore-repeated-errors
    1 D5 A5 u* b1 C4 ~5 F$ ~
  497. ignore_repeated_errors = Off+ H4 y6 v, O' Z% C$ H
  498. 0 t$ R6 ]) K& z% w. g
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    6 }% U9 S" S# e2 b. n" ^" v
  500. ; is On you will not log errors with repeated messages from different files or; p1 `2 u( y# K" }+ Z2 R0 Z% Z
  501. ; source lines.
    * i0 J) V$ w" d' [4 L. r5 j4 _* o0 ~6 B
  502. ; http://php.net/ignore-repeated-source
    1 p+ a" {( [! j6 i6 F
  503. ignore_repeated_source = Off) A/ M) p( x# A! y3 _8 n
  504. % o, s% `4 [. K$ D) x5 y, R2 F
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on) n9 ^5 H9 ]9 B. a) q6 e) R2 t6 j: L
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    : d+ Y" H: D  u* [- j
  507. ; error reporting includes E_WARNING in the allowed list
    4 \7 C; C& q* R3 v, u! [: V0 M2 k
  508. ; http://php.net/report-memleaks
    1 j+ Q3 t+ x1 l/ N
  509. report_memleaks = On+ X. u+ i; e9 o9 c8 w; i4 }; D

  510. 1 t7 Y& z$ j0 q! {4 U1 ?  ]  Y1 M# S, P
  511. ; This setting is on by default.7 F" _3 V5 l$ I" R# [" g3 E
  512. ;report_zend_debug = 0' K. j8 S, q+ p
  513. : c. q  q4 s* X- Y
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value0 q$ [5 |- y+ H; t& Q( e1 T: b
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    - V8 b0 J; A  A4 h& T  N
  516. ; however be disabled on production servers.
    0 \& E% r9 }8 Z. `/ y
  517. ; Default Value: Off' J- t8 Y* ?, x1 `! w$ a
  518. ; Development Value: On7 f  Y2 H# r, ]  U. T
  519. ; Production Value: Off+ i0 g5 g# y6 W6 G
  520. ; http://php.net/track-errors
    # C2 k/ k' P) `, a5 y* I
  521. track_errors = Off2 l( _6 _9 Y1 g7 Q# m

  522. # J$ ^8 q: p1 P, g+ X1 ]  }
  523. ; Turn off normal error reporting and emit XML-RPC error XML9 u' r: Z0 M3 u
  524. ; http://php.net/xmlrpc-errors4 ^5 Y; D9 M3 |2 K8 M/ g
  525. ;xmlrpc_errors = 0
    0 J5 `. R# U* c6 t3 D1 y
  526. 5 o" M, e4 g9 P+ t
  527. ; An XML-RPC faultCode. i# r% `% Q, D8 j* ]2 k
  528. ;xmlrpc_error_number = 02 }* I' {4 Z2 p$ j" q

  529. ' ~) \* e, k* C" f% J
  530. ; When PHP displays or logs an error, it has the capability of formatting the# N' ~7 Q: m9 f$ N# R/ S. _
  531. ; error message as HTML for easier reading. This directive controls whether
    - c0 Q1 v$ m9 D4 v4 s6 m0 L* y
  532. ; the error message is formatted as HTML or not.
    / T+ ]$ i, R  ~7 w, ~/ X. I
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI4 W2 x. s0 X. e( x# B; n. _- r
  534. ; Default Value: On
    : \: Z/ j/ J2 q5 s5 c$ y$ s) J" C2 Y
  535. ; Development Value: On. y& v2 }" T0 E" `9 x
  536. ; Production value: On
    2 l3 m- i1 ?3 Q, c. E4 r' ]
  537. ; http://php.net/html-errors
    ( r2 z) W$ K' E$ z, |
  538. html_errors = On
    ; F  {; r0 H2 P! t4 B+ l( k# m7 z2 x
  539. + ?+ |! U& l- X7 ^/ ^. t
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    . v: u; q4 n; B, D0 U+ w
  541. ; produces clickable error messages that direct to a page describing the error+ ~3 I2 M5 `3 m) v5 X
  542. ; or function causing the error in detail.
    , ^. n2 O& W. u/ _2 E& y
  543. ; You can download a copy of the PHP manual from http://php.net/docs2 j' ~3 E9 D. F
  544. ; and change docref_root to the base URL of your local copy including the) ~! L; M# ]- K0 Z
  545. ; leading '/'. You must also specify the file extension being used including
    & I# x+ t( A4 |& r( s" s# B; N4 u( U9 l
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ; E& }: \3 E' y% Q9 v! M
  547. ; case no links to documentation are generated.
    ! [5 c. v2 T: J
  548. ; Note: Never use this feature for production boxes.; ~1 i! Z0 e  N  ^# g4 U+ G
  549. ; http://php.net/docref-root. e* ^8 s* I; `& d/ d2 r# P0 Q
  550. ; Examples
    7 V  U; r; m' u' f  Y
  551. ;docref_root = "/phpmanual/"$ Q; f3 I+ K; j0 ^

  552. 6 K8 ^; w+ K! T' d
  553. ; http://php.net/docref-ext
    ' o( ~' F9 _+ g. ?- ~
  554. ;docref_ext = .html( A( D9 s7 J/ A, o7 M. M

  555. + R9 N" ~' H, w2 r% t2 \# v  I0 u
  556. ; String to output before an error message. PHP's default behavior is to leave
    3 ?+ v8 J+ f9 ?# H. J3 K" Z
  557. ; this setting blank.; u8 d$ s9 X8 T& W
  558. ; http://php.net/error-prepend-string
    2 [/ ], ?! L8 P" R
  559. ; Example:0 ^) T0 F0 q, V. j2 z: t
  560. ;error_prepend_string = "<span style='color: #ff0000'>"+ r9 _% W/ j- F3 F, [
  561. 9 m' W/ ?% ^8 t, v' p0 G: k
  562. ; String to output after an error message. PHP's default behavior is to leave
    ' Z* c- E1 [2 w4 P+ ?
  563. ; this setting blank.0 w- b$ R' \. [. q5 @% X
  564. ; http://php.net/error-append-string6 Q( t8 t! ~" n8 i! l" U0 S% `
  565. ; Example:
    , a6 `, D. r0 Y1 z4 {' w( Q5 }
  566. ;error_append_string = "</span>"1 ?1 q7 W8 p& f! E4 N4 X9 N

  567. 8 M  _% A. r5 u! c
  568. ; Log errors to specified file. PHP's default behavior is to leave this value4 i$ d  p: @* ]0 n9 o9 r
  569. ; empty.8 s$ x( v9 {, W; b$ w1 {8 k8 K8 d( ]& \
  570. ; http://php.net/error-log5 _, s5 y4 z; T& {; L5 I
  571. ; Example:! |( T3 R6 @7 M( M
  572. ;error_log = php_errors.log6 M% t' W, h$ H/ U* ]3 I
  573. ; Log errors to syslog (Event Log on Windows).
    4 _, j4 M% l5 W' @1 s# W/ d' r
  574. ;error_log = syslog
    ! c  }. C) v# e7 w
  575. 0 r8 r7 \) \( N
  576. ;windows.show_crt_warning
    ) F( b; P$ q0 v6 d' Y
  577. ; Default value: 01 L  o! b5 U8 H3 i% X
  578. ; Development value: 0
    ! N5 f) C5 l7 x0 K# N4 [8 [2 x
  579. ; Production value: 01 j. ^- c0 `" W5 j
  580. ( _# D# o& U' Y2 P% K; Z
  581. ;;;;;;;;;;;;;;;;;
    : |& b/ @" Q% t6 q2 W3 B, A
  582. ; Data Handling ;+ ]  @) i! `# C5 s
  583. ;;;;;;;;;;;;;;;;;& o: P; o" ]2 U4 ]+ G) X$ v
  584. ; V! K9 i' f4 _
  585. ; The separator used in PHP generated URLs to separate arguments.
    . D4 [, P1 Q0 @; k8 J$ K
  586. ; PHP's default setting is "&".
    ) D  X" P* c$ }6 \% i  l) z
  587. ; http://php.net/arg-separator.output; S$ B2 r4 l- y
  588. ; Example:
    6 q' T5 z: ^- Z& ?$ v4 E
  589. ;arg_separator.output = "&amp;"9 a) A$ |3 O- g8 q: M

  590. . E( M) N! g5 U' g
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ' w2 ~# r5 e' c6 n3 x( c; Q
  592. ; PHP's default setting is "&".
    ' u  o' r! ]/ M& `0 b8 J5 l0 D
  593. ; NOTE: Every character in this directive is considered as separator!
    1 d9 I/ |3 X2 B& y& Y/ G
  594. ; http://php.net/arg-separator.input( M- X9 S# i$ R7 Q9 Q3 e- V
  595. ; Example:
    2 D# Y8 Z. f7 Y" ]& n: l
  596. ;arg_separator.input = ";&"' a2 n+ o8 b) t7 t
  597. 9 Q. r6 n/ s  j' w
  598. ; This directive determines which super global arrays are registered when PHP
    " Q% Q+ \( o. ^; F( r
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    4 p5 M: F3 n+ }# g1 M
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty4 f" n# o/ M# k, P, m- p1 F" v% ]
  601. ; paid for the registration of these arrays and because ENV is not as commonly9 q8 H, y/ m* K- z* M/ d# h
  602. ; used as the others, ENV is not recommended on productions servers. You
    ! z" |. L1 b% H+ M7 y# l  U6 f3 k
  603. ; can still get access to the environment variables through getenv() should you- F4 L, g( M! s( A
  604. ; need to.
    6 ?( K# V7 m. x1 g# c- P
  605. ; Default Value: "EGPCS"
    4 N) v# g, n' Q; G+ C( `
  606. ; Development Value: "GPCS", V3 Y6 O. |' Z" y
  607. ; Production Value: "GPCS";0 C$ |  z. N/ `5 ^0 D
  608. ; http://php.net/variables-order, w7 V( a& u" B$ c6 P
  609. variables_order = "GPCS"
    4 V2 k! O2 H- f* [1 \& f; q/ ^
  610. ' h! |: g  u& v0 U" x. n5 F" M% E
  611. ; This directive determines which super global data (G,P & C) should be
    . Q6 u! g# r; J$ c
  612. ; registered into the super global array REQUEST. If so, it also determines
    6 L: B4 k8 r& a
  613. ; the order in which that data is registered. The values for this directive
    ! e4 o1 e( K$ Z0 |
  614. ; are specified in the same manner as the variables_order directive,! N, G1 ^+ P" m% J2 }/ D# V
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set+ Y# p: t( _' @& [5 l9 o
  616. ; in the variables_order directive. It does not mean it will leave the super
    % i# ~0 Z& t/ m$ r7 l& {
  617. ; globals array REQUEST empty.
    7 g8 i9 I4 M% m- C
  618. ; Default Value: None
    & m2 j, T% [5 k  M1 x9 E
  619. ; Development Value: "GP"
    9 q+ ]! ^* ^" b/ w# n) U
  620. ; Production Value: "GP"5 l- G* `" c" |4 Q/ K
  621. ; http://php.net/request-order
    3 j# w: r* j7 ~8 N7 |' C1 V
  622. request_order = "GP"8 ]# {- c5 V5 w

  623. + c. w" K* p9 h/ z3 L+ r% M
  624. ; This directive determines whether PHP registers $argv & $argc each time it' T1 E! T0 X6 I' o2 y
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script) H) W9 E9 Y/ B/ F
  626. ; is invoked. $argc contains an integer representing the number of arguments& Z. x; _: `. }  W4 D
  627. ; that were passed when the script was invoked. These arrays are extremely
    ; c: m6 H4 ^) C$ s
  628. ; useful when running scripts from the command line. When this directive is
    ' m# x2 S& I/ x( k: }$ _) ?/ Q+ u
  629. ; enabled, registering these variables consumes CPU cycles and memory each time% n: V5 N6 W, [* a. W$ {
  630. ; a script is executed. For performance reasons, this feature should be disabled
    ' k3 y) O1 g& u2 c9 J7 V8 {
  631. ; on production servers.
    1 u6 t7 w: s7 j8 G6 b: x4 u
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    . C: P+ Z, O% [( g2 e" b9 M4 w
  633. ; Default Value: On0 n& h3 ]+ q4 D8 o. o" c/ H; [/ {
  634. ; Development Value: Off# D0 ~- J* A# C! A
  635. ; Production Value: Off
    1 \7 ]# k. S9 O
  636. ; http://php.net/register-argc-argv
    & _$ ~- }, C4 `( A; m6 F
  637. register_argc_argv = Off5 ?! P' I) L4 B/ D
  638. 6 n6 M, A+ {6 _
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're1 u) \( D, S% R9 _0 m+ M4 `- x, j+ J
  640. ; first used (Just In Time) instead of when the script starts. If these1 L# F/ y, |9 T1 {' d: h0 a; X, P
  641. ; variables are not used within a script, having this directive on will result
    % d* e% ~: I8 [& u2 q- L: Q
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled& x$ o& a2 `' c; r2 J7 n, }: G
  643. ; for this directive to have any affect.
    ! s* O* U. o9 T
  644. ; http://php.net/auto-globals-jit
    0 U5 U9 |/ M& `& z; v* _4 W9 `% u
  645. auto_globals_jit = On
      s. q" |" T& k. J( d1 A( s0 t, k
  646. * R  Y7 J4 G7 y2 A4 y. V/ ?( a
  647. ; Whether PHP will read the POST data." Y0 [& A% }+ [. w2 T: {5 {7 ?
  648. ; This option is enabled by default.: t  t+ ]5 ?$ Q6 |3 M+ J! j. P
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    : t7 g9 p/ c; U  }
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    9 Z' t& X. T0 ~3 e6 X1 I
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ) h7 S# m; Q6 ?3 b! ?. O' v
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    7 l1 X. g; \: K0 X1 G; \$ g, Z
  653. ; http://php.net/enable-post-data-reading3 `+ D( D: v3 B2 ^, `4 L% ]9 G$ a
  654. ;enable_post_data_reading = Off3 Y6 S* G( E* V6 ]5 c/ h
  655. , j6 E3 f' _# c% H3 ~9 j
  656. ; Maximum size of POST data that PHP will accept./ K; z8 O& F# Z# e" F# C1 Z
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading2 t  W4 p& U" o  F9 {
  658. ; is disabled through enable_post_data_reading.8 Y: H2 V' p0 M" V3 O2 u
  659. ; http://php.net/post-max-size
    / S0 d  ^) w+ N9 ^' v7 i- K
  660. post_max_size = 50M2 F. [6 i7 s) X/ Y) P2 @

  661. % a* Y0 I8 f1 W  C  b/ {( W  j8 m! F
  662. ; Automatically add files before PHP document.
    ) h  m$ H7 U& k* E! ]
  663. ; http://php.net/auto-prepend-file
    1 |0 _% s1 b9 s) p
  664. auto_prepend_file =( ^& b9 b7 S( d, d3 O( q4 P- t
  665. ! t# ]' P+ x3 _; M; H1 H
  666. ; Automatically add files after PHP document.
    . d& K  f2 C) k. t; L% w+ ^5 G
  667. ; http://php.net/auto-append-file
    6 a6 |; `, k8 ]  U  D7 ^
  668. auto_append_file =
    2 L# G3 f0 G2 ^: d6 D/ {
  669. ' A, g* `' P; y5 W- G$ D
  670. ; By default, PHP will output a media type using the Content-Type header. To3 [% k8 E1 j3 g2 \6 X, x
  671. ; disable this, simply set it to be empty.8 z4 f+ h1 ]: B1 r, i1 v
  672. ;
    5 u/ c* B  X. q8 j
  673. ; PHP's built-in default media type is set to text/html.+ {. k5 ~( x8 f, d4 r
  674. ; http://php.net/default-mimetype
    7 o8 M" T/ D6 r8 G4 H, V8 r/ W, G8 X
  675. default_mimetype = "text/html"4 i- Z: w* n8 z- M6 k  C$ M6 {

  676. 6 e: z: h( b2 _$ `5 p, ?# K$ C( _) i# E
  677. ; PHP's default character set is set to UTF-8.
    1 g$ l& A/ B- T5 h' I$ t# J" M
  678. ; http://php.net/default-charset
    " Q2 \3 a1 f0 l) h
  679. default_charset = "UTF-8"
    7 D8 I0 \7 p9 i3 i+ N4 g' k

  680. 4 y( I% A# R1 J) n
  681. ; PHP internal character encoding is set to empty.
    . w/ ]+ X# M# }6 ]% C" l
  682. ; If empty, default_charset is used.
    3 g' P5 X3 ^7 r/ Y; ]# V
  683. ; http://php.net/internal-encoding
      s; t0 h% H, x- Z( A
  684. ;internal_encoding =) Y6 o! m! A. |/ Y6 s. s, |5 }" z
  685. ) h% P, Q9 g7 D; U# B7 N
  686. ; PHP input character encoding is set to empty.
    / J+ G' X# i" |* a
  687. ; If empty, default_charset is used.
    " l2 }" ?( p7 q% u' d
  688. ; http://php.net/input-encoding
    " p( C% U* W) Y7 t9 W& f, X/ I! Z. Y
  689. ;input_encoding =
    . E* l4 {5 p' z# t# _2 a* l1 D' |/ W

  690. 3 d- U% [( R* }1 M- W# U' y
  691. ; PHP output character encoding is set to empty.# @+ b1 o; s2 k$ b0 l6 |% g
  692. ; If empty, default_charset is used.
    7 I- K/ j! {& h6 d1 x, }
  693. ; See also output_buffer.0 v8 L/ T1 C5 Z) I# y: j
  694. ; http://php.net/output-encoding
    - r9 N  N& k6 H* q
  695. ;output_encoding =
    4 ]* x; w$ u0 \/ M# @  c  k

  696. * n8 I' R- H  }2 c# N7 Q9 A3 ]
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is4 j7 m- T6 e# D# |, _. I  X% ]
  698. ; to disable this feature and it will be removed in a future version.
    ' e6 D: q) K) f9 o3 _4 V# ~8 H5 Y
  699. ; If post reading is disabled through enable_post_data_reading,
    3 ^- ]/ m* s/ L4 @3 C
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    5 Z$ {- ~& ], W6 s) a: S3 p3 G
  701. ; http://php.net/always-populate-raw-post-data
    1 v$ d9 C+ s( q9 q) o. z) m/ q: q! G
  702. ;always_populate_raw_post_data = -1+ {  Q: A0 _4 m- C, l+ d; V+ p

  703. , |% |: R+ C% n( m& g# v( w' R
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;7 o* J9 [4 \& r4 I% K8 C+ H
  705. ; Paths and Directories ;
    / v8 c& Y& o5 X3 B
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 y* @+ m% D1 A# S/ o, Y

  707. + x" c+ s: L' `
  708. ; UNIX: "/path1:/path2"- a2 }& g* ]  \( f: L0 s& \- p1 t3 @
  709. ;include_path = ".:/php/includes"
    ) G* n$ \! Z7 i  h% x
  710. ;+ z) I* U, k  t
  711. ; Windows: "\path1;\path2"
    ' |, U4 v$ ~9 Z" \7 R& y, h+ ~/ g4 x
  712. ;include_path = ".;c:\php\includes") T8 Z* P* a! R
  713. ;% t1 o- S. c$ S+ L/ b
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    6 v$ j. `4 s& I, j8 W- b
  715. ; http://php.net/include-path) A( ~+ [1 ?% z7 f  W" Q5 h' @2 z" k( ^
  716. * f$ b1 E6 Y0 p  {
  717. ; The root of the PHP pages, used only if nonempty.- F; `% c) W: L* ]0 E4 Z
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ; [7 y+ B) m* g3 @& W
  719. ; if you are running php as a CGI under any web server (other than IIS)
    3 z2 v0 X$ u. X: s
  720. ; see documentation for security issues.  The alternate is to use the
    ; ]& P' N9 c9 _7 S5 i( G
  721. ; cgi.force_redirect configuration below9 J0 {; ^5 ?1 W& s6 A- ~, @  J
  722. ; http://php.net/doc-root
    : O/ m2 N( M3 Y; {
  723. doc_root =' n3 Z& o' G/ D/ o/ W

  724. 9 \/ h1 y0 J6 B. s5 I7 ^$ _. y
  725. ; The directory under which PHP opens the script using /~username used only
    6 e/ @+ Q' I& U/ E
  726. ; if nonempty.
      J9 P: m# ?" S  B) d4 d# X
  727. ; http://php.net/user-dir
    3 e& U# L( D9 x3 g5 ]1 M7 E4 L( \
  728. user_dir =7 `  {6 R, K5 h* V) C6 R0 @+ D
  729. 9 k8 F7 g0 T4 b8 a5 S- S( S
  730. ; Directory in which the loadable extensions (modules) reside.
    + t3 P/ A* m. I8 ?, I
  731. ; http://php.net/extension-dir
    4 V: R! {& Y* W1 Y0 F/ h
  732. ; extension_dir = "./"
    / t. j7 G% l/ _2 E( h
  733. ; On windows:: p, T) J6 E  @4 |
  734. ; extension_dir = "ext"" Z8 r) P9 ]: i; s( [
  735. ; S4 j  S& x! i' s3 |+ V& \
  736. ; Directory where the temporary files should be placed.
      t& I/ V8 R, @5 {
  737. ; Defaults to the system default (see sys_get_temp_dir)2 l1 K* K1 t  D+ w
  738. ; sys_temp_dir = "/tmp"
    ( U* R* l1 f; {" Y! D

  739. 4 l- e' D. V) v' z
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    . p! l% ]7 \  j& |' q# `
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    $ S2 G# W/ c9 o/ T% I$ w1 K4 z! b
  742. ; disabled on them.
    , w6 X2 u  o1 R7 [8 c
  743. ; http://php.net/enable-dl7 j$ k4 m0 t7 J5 d. x, b# a2 w$ g9 ~  U
  744. enable_dl = Off  b1 w: j+ H# o: C5 |4 T
  745. # }- n8 J/ k' X0 B2 x  b+ V: K
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    0 T+ ]9 E8 @, |) U+ e5 C
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ' P+ M6 h" w; B* v
  748. ; turn it off here AT YOUR OWN RISK) {* u& ~$ u1 T4 ?- F
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    4 l  [8 w& v* ]( e# }
  750. ; http://php.net/cgi.force-redirect4 H/ d6 [% T& s. P9 Q' R7 o* e
  751. ;cgi.force_redirect = 1
    2 i6 A+ {5 p# b' f* Q; A
  752.   p* A$ m; Q# I; {! ?5 u) |
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ' W3 C2 c$ \) \; q
  754. ; every request. PHP's default behavior is to disable this feature.
    9 }" N; y" B! R9 }
  755. ;cgi.nph = 1
    # W2 ]& n- Q! h
  756. ( M; W8 y( R  v; L8 |! I# C
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    7 y$ H- ]1 W3 J
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    - Q; @2 G' f1 x3 Z) n: i9 F! C
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 Q$ t( y+ b6 Z1 Q% {5 A
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.8 v! A+ l% h/ W7 I( B
  761. ; http://php.net/cgi.redirect-status-env
    ! G  X- e' h' t( M4 B$ s+ N; i
  762. ;cgi.redirect_status_env =
    ) B6 \3 R" w* s+ a* s+ u) {

  763. 9 M9 s5 l0 t" |* g
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    9 _. G5 s9 r$ X6 Y( e4 M3 U- k
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    % g$ ^& o5 Z+ X2 i- u
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ) \% {- y' N5 g2 x: N
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    5 f( a0 e& z; @2 B' o) n+ e
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    . U7 W% i/ q$ S8 M) F! k
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    5 |9 `( Y! J+ M/ N7 x0 A1 B
  770. ; http://php.net/cgi.fix-pathinfo8 o8 W+ M( A/ i* ^! [
  771. cgi.fix_pathinfo=1
    1 `; y$ J; _2 q9 ~) V/ {
  772. # B7 [2 Y6 W9 |, U8 m6 _: g
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    # w9 o( h, U6 X; \9 o( {& N/ h
  774. ; of the web tree and people will not be able to circumvent .htaccess security.$ j0 q( }6 |) {+ m% r2 f
  775. ; http://php.net/cgi.dicard-path: u0 ^) `' s1 s& A: X5 G+ R9 W
  776. ;cgi.discard_path=1, {2 k1 O) r: f% x3 O
  777. ! N+ [: M5 _0 a7 Y# G
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate* {4 }& k% x+ }
  779. ; security tokens of the calling client.  This allows IIS to define the" b( D! I( ~. y2 K% d- Q$ @
  780. ; security context that the request runs under.  mod_fastcgi under Apache- z# r: ]4 s: p1 D, m. L
  781. ; does not currently support this feature (03/17/2002); N: p6 |) @* H4 C0 c, {6 ~2 u
  782. ; Set to 1 if running under IIS.  Default is zero.
    4 p5 ?" L+ p7 W7 l$ N
  783. ; http://php.net/fastcgi.impersonate" e. W3 N/ y* v
  784. ;fastcgi.impersonate = 1, T, m) J/ k  t# `! O& C

  785. # x2 a$ }& n! X( q  W
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    1 H6 x$ N" C: z  {
  787. ; this feature.
    ! a; ^# V) ]) n( C0 X
  788. ;fastcgi.logging = 0' v5 o- z. v$ e" [: ^
  789. 1 R2 p+ W( o/ N: B: Z
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to; w- V; E. p0 \$ \! i. u
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that1 ]# \" v5 W2 u: \8 q8 W! A
  792. ; is supported by Apache. When this option is set to 1, PHP will send* n) ]" X6 F1 V8 u% }: Q! e4 f
  793. ; RFC2616 compliant header.
    . I' k' i5 R/ f
  794. ; Default is zero.( s4 J9 X, q0 k: V/ q+ q/ w
  795. ; http://php.net/cgi.rfc2616-headers
    9 t3 m& W5 B* _5 d8 l" g
  796. ;cgi.rfc2616_headers = 0
    ' d4 k' }1 }  G# I5 u
  797. : P+ F; ]/ S$ E; [9 G& s
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ) s- `& r. g/ _2 J& ?+ ], ]$ E
  799. ; (shebang) at the top of the running script. This line might be needed if the) O' n% I6 W- A( w
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI; C- E% H+ r! z) n3 Y
  801. ; mode skips this line and ignores its content if this directive is turned on.' P( G+ C+ D8 Q5 a! M% U
  802. ; http://php.net/cgi.check-shebang-line
    2 y7 l1 S0 _6 J0 V! V" R( r
  803. ;cgi.check_shebang_line=1
    9 a- M/ |4 j, {" D$ _7 s; s1 P! g

  804. 6 b; c4 D5 q5 H) {
  805. ;;;;;;;;;;;;;;;;
    # G! Z; C8 M" g2 g8 q
  806. ; File Uploads ;4 l, p6 T, y% f: C# w
  807. ;;;;;;;;;;;;;;;;
    9 k, p; z! h, ^" d2 \5 @8 z0 s. _

  808. 6 w3 b/ i% c! `
  809. ; Whether to allow HTTP file uploads.$ y" B' _* Z$ k% L5 I+ A
  810. ; http://php.net/file-uploads0 _, _8 n7 d3 q% L" w$ v: F
  811. file_uploads = On
    2 D2 n4 A3 o, J) H' I6 X2 e! ?0 X
  812. 8 ?! l( {4 K" `
  813. ; Temporary directory for HTTP uploaded files (will use system default if not4 {  k" I+ h& E% A/ s4 R
  814. ; specified).
    3 Z0 T5 x. p: b6 k' Y/ o1 [
  815. ; http://php.net/upload-tmp-dir
    ) k3 _9 w2 ~1 d% _" X$ o
  816. ;upload_tmp_dir =4 V+ f+ x3 H+ m3 m4 y$ b0 {9 y4 ^
  817. % I. M+ Q; l* Z4 e" j
  818. ; Maximum allowed size for uploaded files.5 w/ Z( m7 U# D+ e9 S' n
  819. ; http://php.net/upload-max-filesize% y- `, n2 \- X! }  W- n* T2 F
  820. upload_max_filesize = 50M
    ! ~' [( D6 c& V$ V# [9 q

  821. 1 ?4 p5 T) k  {
  822. ; Maximum number of files that can be uploaded via a single request
    " l7 V% S8 V: C& ]  d: F1 [
  823. max_file_uploads = 201 l/ ^# s/ W  f
  824. * d7 G( Y7 b5 f# ]
  825. ;;;;;;;;;;;;;;;;;;
    4 `. s# g! A& C) W( T8 a: H
  826. ; Fopen wrappers ;- P: @3 T' C/ G
  827. ;;;;;;;;;;;;;;;;;;& i! u9 e% n. v1 s
  828. % A# f9 d/ g, J: b; c
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.; i1 e/ p0 y, w  @7 l
  830. ; http://php.net/allow-url-fopen% U3 K  ^  [0 |0 I
  831. allow_url_fopen = On
    0 |9 |$ X4 S& v+ }9 w7 E
  832. / O/ s9 v6 h# q" r3 v) [
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    * N6 @6 B  L- x/ Q9 O3 a6 V
  834. ; http://php.net/allow-url-include
    $ Q9 O1 Q: x1 L: q6 A& m6 K
  835. allow_url_include = Off" v3 T* m2 T* m+ a. [
  836. , n5 t- J! H0 j4 p' o
  837. ; Define the anonymous ftp password (your email address). PHP's default setting. O  |) v; b% [0 f- B5 a3 I* ~
  838. ; for this is empty.
    ' I- ?( B2 @* u2 \* C, H/ d
  839. ; http://php.net/from3 U; D* B, n& b* j% {. d7 Z
  840. ;from="john@doe.com"+ X; S1 u* e, W, N" m  m( b  N
  841. ! s* {7 U5 l: e7 M1 Q
  842. ; Define the User-Agent string. PHP's default setting for this is empty.0 h+ B9 E0 F3 a7 }: k' X2 E$ {
  843. ; http://php.net/user-agent; `8 Z' ]- |. ]2 J
  844. ;user_agent="PHP"2 ]9 ~: X1 O1 b+ `# K
  845. ; q1 |% J: S- m8 b& |3 g
  846. ; Default timeout for socket based streams (seconds)+ b" t5 j+ u. Y$ c; {: Q+ a, P7 O- q
  847. ; http://php.net/default-socket-timeout4 m, |+ @8 T; D. o/ Y/ q, w
  848. default_socket_timeout = 600 B3 ^1 i/ E0 d2 a. Y- }" \' _

  849. 4 V, D! f, r4 h
  850. ; If your scripts have to deal with files from Macintosh systems,
      u6 C. I! B4 a( ?0 P" P
  851. ; or you are running on a Mac and need to deal with files from
    . {9 o. x6 i9 A) j$ Y5 i! W1 t
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ) p; z3 {  K) t5 n- [, y6 w7 S
  853. ; automatically detect the EOL character in those files so that3 f# w+ V9 ~0 n( N& Q
  854. ; fgets() and file() will work regardless of the source of the file.1 t5 n) \, b# B1 A, X8 I
  855. ; http://php.net/auto-detect-line-endings, y& {9 I1 X( S7 u/ I4 \& e
  856. ;auto_detect_line_endings = Off
    * M& Z6 l( r0 Q2 r, o

  857. & ]' T: e+ D) o
  858. ;;;;;;;;;;;;;;;;;;;;;;( g, }, d7 F" C
  859. ; Dynamic Extensions ;
    + h2 ^/ a: E4 y0 \' }
  860. ;;;;;;;;;;;;;;;;;;;;;;1 w3 z6 U- y8 I# P( [* p' d" `

  861. 0 K7 o( M3 o; b; g  T  S
  862. ; If you wish to have an extension loaded automatically, use the following! a, Y5 J1 h0 C7 c0 t! M
  863. ; syntax:
    9 r5 D2 k3 U8 o
  864. ;( J% f5 e; r' H
  865. ;   extension=modulename.extension
    + l  Z* e( Q' s! Q& F4 ?2 {
  866. ;
      ?9 l' T4 w" t2 \! m: `6 Z' ^
  867. ; For example, on Windows:
    / M( O2 y) l9 U( {' B: `
  868. ;
    8 P, S' x- t! r3 }9 c* n9 l: l
  869. ;   extension=msql.dll
    ; ]0 l0 L3 n  K2 Z5 W( P, P
  870. ;
    . p6 m& w5 a  i) d: G
  871. ; ... or under UNIX:
    0 P1 {( @* B0 p( q0 ]
  872. ;$ W+ C! q) X0 K% t) ?  o: a# h9 i
  873. ;   extension=msql.so0 T& J+ y0 c6 w& u( V
  874. ;
    4 [2 m' o# M' i
  875. ; ... or with a path:5 }3 M5 y1 K# a8 q3 T  g
  876. ;
    5 |& j' B! t6 c+ C2 Q' D
  877. ;   extension=/path/to/extension/msql.so
    1 i2 V6 P/ |1 m; y
  878. ;' L3 z6 C% W* I, N) z
  879. ; If you only provide the name of the extension, PHP will look for it in its7 P3 s; ~3 i0 Q% n$ j& Y
  880. ; default extension directory.
    * c, T. j! c0 x4 w* ]8 `
  881. ;
    # i7 K: D2 Z' j: l" n( ~, _
  882. ; Windows Extensions
    , C; B8 g% ~! y' Y0 u' r* [! s
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    # I0 A4 v/ Y; X8 }8 a/ u: [. q
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    " l5 A7 P" P5 ^( d  E5 f  Y: V' @. }
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).4 {7 g5 |) D3 b* W- s6 M- N4 H. x
  886. ; Be sure to appropriately set the extension_dir directive.
    . t+ N6 A$ I! K
  887. ;; T) b/ r* A& O' h1 ?! m
  888. ;extension=php_bz2.dll" V/ W, H$ Y9 d, U/ h0 z- x
  889. ;extension=php_curl.dll
    ; r- k( Z" h  z9 F6 G" |7 z
  890. ;extension=php_fileinfo.dll
    - V4 R1 `" q3 D% e+ r6 Z* V8 M
  891. ;extension=php_gd2.dll8 M/ M; o* C& s% u
  892. ;extension=php_gettext.dll
    8 \4 j' h' b/ ~% N4 K8 h7 z
  893. ;extension=php_gmp.dll
    6 Y0 W0 ]  x: C8 e1 G5 a
  894. ;extension=php_intl.dll; u: K2 `$ ?& Z. U  q
  895. ;extension=php_imap.dll! ^; H: ~$ y2 T4 H1 P/ M
  896. ;extension=php_interbase.dll
      g; `" w& H3 A. z' _# i2 {3 l
  897. ;extension=php_ldap.dll* H6 ?6 w7 f0 Y. u8 A7 C5 J: t' g& ^
  898. ;extension=php_mbstring.dll
    & Y. l; D4 S; z, z" ]5 Z
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it" G2 c1 q( h  v# ?/ i, y# j
  900. ;extension=php_mysql.dll5 j3 h# X: f+ B$ w( |
  901. ;extension=php_mysqli.dll$ E6 d( r: k( k/ B! f
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client' }# @, ]4 ]  t( K0 S/ o$ @. n
  903. ;extension=php_openssl.dll) y9 H6 h8 ~/ J
  904. ;extension=php_pdo_firebird.dll0 h- \+ l/ o* Q% u
  905. ;extension=php_pdo_mysql.dll
    2 `4 q1 J1 L$ Q1 M
  906. ;extension=php_pdo_oci.dll
    8 L8 c5 m$ K( W( y7 s) a8 P
  907. ;extension=php_pdo_odbc.dll
    . G7 o+ L% S; |
  908. ;extension=php_pdo_pgsql.dll
    6 j/ g; b; [" q( Z$ d
  909. ;extension=php_pdo_sqlite.dll* [+ n# e) }; G; m* J* z
  910. ;extension=php_pgsql.dll
    3 I/ C) a  g7 K3 a$ f
  911. ;extension=php_shmop.dll, ?  Y5 E  R5 h; j* Y  ]" K
  912. # ^# G3 D0 S5 `( M* Z# W5 c
  913. ; The MIBS data available in the PHP distribution must be installed. 5 R  t/ u/ ^, t/ j/ l" Z. {
  914. ; See http://www.php.net/manual/en/snmp.installation.php - M0 z6 M; G5 |/ H6 m4 E' ?8 p
  915. ;extension=php_snmp.dll
    3 |5 O: `  H/ y  @" U, I. Z
  916. ! S3 V: J; b+ V( \2 s- m' a+ v* u
  917. ;extension=php_soap.dll$ v+ }# Q" [! `6 d; v' P
  918. ;extension=php_sockets.dll6 o0 ?* Q) P1 m( D, @! E# x
  919. ;extension=php_sqlite3.dll9 M7 ?. m' _  F7 z
  920. ;extension=php_sybase_ct.dll0 X1 T( r; ?. y; j8 s' k
  921. ;extension=php_tidy.dll
    ( i  s' ~2 h: ^2 C9 r- @( {
  922. ;extension=php_xmlrpc.dll$ L- m" F: E* a  |
  923. ;extension=php_xsl.dll
    9 s5 J- W$ S, v6 F

  924. 5 a+ |8 N4 ]4 ~* m( y( B
  925. ;;;;;;;;;;;;;;;;;;;5 ~0 o# O5 p$ p
  926. ; Module Settings ;- }5 @, n, v0 y5 t5 c! e' S* v% J: p
  927. ;;;;;;;;;;;;;;;;;;;+ j% r! [( h  j/ u, W8 @
  928. + @; ^3 ?* l, @# |- S
  929. [CLI Server]
    9 p0 m. Y( |7 _4 X
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.2 X6 u4 i& P- h  A! p
  931. cli_server.color = On4 L' |" _3 c$ ?! H  D
  932. 6 A% n3 k7 l  y% F* S- l- x1 H
  933. [Date]
    / d0 w/ s* N' C% S5 C5 F
  934. ; Defines the default timezone used by the date functions
    # }% ]- C$ s3 \7 L  v% B/ f
  935. ; http://php.net/date.timezone
    . h1 w* c% I' i3 T6 T# ~6 q& _
  936. date.timezone = PRC
    8 R) D+ C. @8 S) v! V1 s
  937. - ?. s$ b% b- C2 P+ r( ^
  938. ; http://php.net/date.default-latitude0 x& C9 O8 w! e- f4 E
  939. ;date.default_latitude = 31.7667
    9 T7 V4 |6 F+ W
  940. ) k. d1 t. Y2 c+ I* ^: J7 }9 {
  941. ; http://php.net/date.default-longitude
    2 w& F) Y/ j3 j* v
  942. ;date.default_longitude = 35.2333
    2 E* U& S8 r" I  Y1 M3 c
  943. # j3 ]0 h/ a3 {
  944. ; http://php.net/date.sunrise-zenith
    . O  ^* C; v; N' {# S  H7 ]' j
  945. ;date.sunrise_zenith = 90.583333: ^2 c4 k$ r) S

  946. & K0 r! P( I+ `- [% u
  947. ; http://php.net/date.sunset-zenith
    - M4 z! z  w7 X+ {0 ^
  948. ;date.sunset_zenith = 90.583333' v# H  T" U5 o; q2 h
  949. % V7 c0 X5 E3 F: c( G2 N, s( b" l
  950. [filter]( @) n9 c' j4 t! L* _
  951. ; http://php.net/filter.default
    3 ]" @* l8 o9 x! S* j7 }* J
  952. ;filter.default = unsafe_raw
      U0 ^; W9 @" O0 x5 O1 C
  953. % w3 P% y8 ^* |- N  T- c6 N7 E! x
  954. ; http://php.net/filter.default-flags
    , ~9 U( g$ B  e( M& q. q' C* c# X" J* C
  955. ;filter.default_flags =
    + p0 |2 m, ?' }$ ?1 W' f" A( B8 ~
  956. ' s$ w. ]" [% E  k( M
  957. [iconv]
    6 |. z! E# ^1 C1 S" c6 P( {
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    9 f" D/ x# c, T$ n2 k1 _. M. ]: n
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    " ?' b3 J$ A2 P) a+ d
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    8 E) s& W  \# Y) g3 {! p7 {
  961. ;iconv.input_encoding =
    8 V# t& {" D, E

  962. 6 f7 z* w7 A( S6 W
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.# n% U1 z5 s, Q0 H
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 M; z8 H) w" j! B/ h! O
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / h, }  o6 G7 u* r
  966. ;iconv.internal_encoding =3 H4 ]; q% P7 H$ P  ]
  967. * Y) |1 D/ x# Z. q
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    . r6 @0 h. Z. l4 G) s5 x& l! l
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.2 s+ w: a7 J) R2 W1 H& X
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding$ p% t7 e$ B! h6 n2 y0 G' g0 i
  971. ; To use an output encoding conversion, iconv's output handler must be set1 z0 x  g! }2 ^+ T7 ^  y
  972. ; otherwise output encoding conversion cannot be performed.% c' \. ]7 M2 H# ~* ~2 l1 f
  973. ;iconv.output_encoding =
    0 ]' v" k; |8 \( V' X: Q0 o4 Y
  974. 5 @$ I( R% d0 ~% j5 {% I
  975. [intl]" {9 Z8 r1 T' X: m* E
  976. ;intl.default_locale =/ I* t$ i+ A2 ]0 K* L0 j
  977. ; This directive allows you to produce PHP errors when some error# t9 k( w+ L4 M) U3 Z7 b' o
  978. ; happens within intl functions. The value is the level of the error produced.
    ; F, P5 }+ t% [
  979. ; Default is 0, which does not produce any errors.
    & q& D1 Z4 T& P; H' K) i
  980. ;intl.error_level = E_WARNING
    ' K! L$ D* f! I8 j
  981. ;intl.use_exceptions = 0- }7 _8 f$ L/ `3 r* N
  982. 4 G6 D  n  ?8 @% c* V) Y; G0 T5 U
  983. [sqlite3]" i9 N+ I4 S/ n. @% G/ ]) ^# D
  984. ;sqlite3.extension_dir =9 |2 _. I, ^- T0 |

  985. : |: u4 @- Z( m/ [$ M, v0 d( X" B
  986. [Pcre]4 y$ z: K2 T7 x
  987. ;PCRE library backtracking limit.
    - o$ [+ t; H: q; c* H
  988. ; http://php.net/pcre.backtrack-limit
    & A& f5 x$ i* Z: b) i
  989. ;pcre.backtrack_limit=100000
      C2 u# g4 c8 ]% n2 H+ X' o; I% Q
  990. ( L' [( i* O4 o4 o$ L+ @  B2 ]: v
  991. ;PCRE library recursion limit.* B* H; z% x$ T, J1 c
  992. ;Please note that if you set this value to a high number you may consume all
    8 b8 \' g# c7 Y! B6 f2 L6 R
  993. ;the available process stack and eventually crash PHP (due to reaching the7 _8 f. w9 i# T; G
  994. ;stack size limit imposed by the Operating System).8 U: B, K# |) G& V6 `- s
  995. ; http://php.net/pcre.recursion-limit7 P9 D  w/ v& Z$ R
  996. ;pcre.recursion_limit=100000
    % h% q9 ^( D5 O
  997. % y$ O. o1 U2 m/ |
  998. [Pdo], H5 i% }5 }9 Q: y9 K
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"& |7 n8 N$ N9 U8 ^, T% e' Q1 i
  1000. ; http://php.net/pdo-odbc.connection-pooling$ N; w. W9 E. q" z
  1001. ;pdo_odbc.connection_pooling=strict
    / k4 ^4 U9 |8 Q1 M; u

  1002. / c7 a2 y7 }: X4 q
  1003. ;pdo_odbc.db2_instance_name
    , f5 [- ?$ C% m
  1004. ( @1 e' l0 ~, C5 X1 i8 y
  1005. [Pdo_mysql]
    1 E+ N, C1 L" Z) a4 G/ d
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( [, E5 i2 n! J; g6 _
  1007. ; http://php.net/pdo_mysql.cache_size* ?6 l5 R# K: T2 G% R1 [
  1008. pdo_mysql.cache_size = 2000
    0 ~# j1 }) ?! S
  1009. 5 O+ m) q+ K( j: r" v# u/ y& S- P
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      l! N1 N' |( ]2 ?* h
  1011. ; MySQL defaults.
      p& M2 q6 L- q
  1012. ; http://php.net/pdo_mysql.default-socket' P  @* z8 N" i0 S0 `
  1013. pdo_mysql.default_socket=- P" H' N- a" C1 ?5 W
  1014. % k. r5 N' \. J4 F! c
  1015. [Phar]6 q2 _% `5 o$ ]5 R- p/ |* Z
  1016. ; http://php.net/phar.readonly- `1 R  z  J( E' Y
  1017. ;phar.readonly = On6 d6 }- w. o& m) h

  1018. - {, B$ f: e2 ?
  1019. ; http://php.net/phar.require-hash
    / ~. i  U2 _8 q5 g0 L  E8 j
  1020. ;phar.require_hash = On
    $ O7 |2 O5 N& O% V

  1021. 5 Z, ~+ u" z2 ~5 B8 o% _
  1022. ;phar.cache_list =; O1 T1 F3 M! Q, e

  1023. & N0 c$ L4 R. S+ U' [4 M* N* m
  1024. [mail function]
    4 U- D# |7 w0 G* U/ K
  1025. ; For Win32 only.
    + s5 S# E) T. U: u- M& T% x
  1026. ; http://php.net/smtp
    3 y3 T4 p9 \+ p
  1027. SMTP = localhost8 o1 }5 F  j' _& M% l% p- [
  1028. ; http://php.net/smtp-port
    ( A8 R! I$ c, }8 Q) r4 T0 y
  1029. smtp_port = 25
    , C+ f7 u2 W+ c1 A7 ]$ W% g
  1030. ; s( e3 [$ ?: D& d( M5 k$ ]
  1031. ; For Win32 only.- q; _6 z; @7 H0 u) u4 s
  1032. ; http://php.net/sendmail-from
    ; S- D, t: f. C' G, }
  1033. ;sendmail_from = me@example.com& Z* I8 M( s$ n( i9 g
  1034. " {9 B3 S1 }) v7 v! f
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    2 g: T) Y! N, ?5 @7 k
  1036. ; http://php.net/sendmail-path
    0 L, c9 s( d1 u7 }
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    . v" y$ \+ X! o, C2 y, T

  1038. ; r8 j# j9 P% a% s. ?6 j
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    * |: P% U" G& ?6 c5 a
  1040. ; to the sendmail binary. These parameters will always replace the value of
    / k3 U% z. r+ h% @* |. L
  1041. ; the 5th parameter to mail().
    ' y) H# B  i0 c' X
  1042. ;mail.force_extra_parameters =
    / r$ d* c$ e: S
  1043. 9 L' d& v* C9 u7 s
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    6 s3 [3 S; \; ^: U( H$ S" h
  1045. mail.add_x_header = On
    0 p0 K; b7 v) Q6 J  `; `6 {3 V
  1046. 7 S* F0 X# V, q  H: M# E4 X5 z' ^% u
  1047. ; The path to a log file that will log all mail() calls. Log entries include7 ?8 F! \" ~8 R; b! Z. }
  1048. ; the full path of the script, line number, To address and headers.% G% {, Y. P' `( H
  1049. ;mail.log =$ E( m3 o7 _6 Y
  1050. ; Log mail to syslog (Event Log on Windows).: X% i) g( d* g7 s; p; i7 l  A
  1051. ;mail.log = syslog  ~% n1 F) z/ \, x; ?
  1052.   I0 P# v' [4 o$ a! o
  1053. [SQL]6 D  w1 u# I  e: O6 ~
  1054. ; http://php.net/sql.safe-mode- J3 }5 V$ s2 R+ L8 K6 K
  1055. sql.safe_mode = Off
    / T% P7 z! v6 a) K7 }+ H/ t
  1056. 4 h8 S) j% A% C7 Z" ]
  1057. [ODBC]
    . @. ~" `6 ]; h# L" z4 `
  1058. ; http://php.net/odbc.default-db
    5 m  i1 w0 Y  ^* ~
  1059. ;odbc.default_db    =  Not yet implemented
    ( f) ?" ^7 h- D8 z# e8 G

  1060. ; M- t; J. c9 ^6 X, T0 t; u
  1061. ; http://php.net/odbc.default-user
    ; w/ K( c4 |* S
  1062. ;odbc.default_user  =  Not yet implemented( E( N/ I! o( ^% K2 D/ q5 o" d; B
  1063. 7 H- R  y6 V0 R* E- [' w: y0 ]! z
  1064. ; http://php.net/odbc.default-pw. v- L; z% g; [9 ~3 u
  1065. ;odbc.default_pw    =  Not yet implemented
    0 e! f: Z2 y* g2 i% C
  1066. ( V" x3 \+ d, u
  1067. ; Controls the ODBC cursor model.  y$ E3 f* X2 D8 s  a5 L! m
  1068. ; Default: SQL_CURSOR_STATIC (default).) V2 Q1 f8 ~: @& Q( L# w( p
  1069. ;odbc.default_cursortype. Z8 s- e/ o5 v. x5 Y

  1070.   y* P  k1 M8 [, w" D
  1071. ; Allow or prevent persistent links.; j& n8 ?- a9 K! k" P2 A2 K
  1072. ; http://php.net/odbc.allow-persistent
    1 F& }" P. P: k" e9 t
  1073. odbc.allow_persistent = On
    : ?( \: B% \, Y; T. Q: |# W

  1074. / r& y7 ~  R2 Q! K) \
  1075. ; Check that a connection is still valid before reuse.
    $ x$ x, R9 N& d. j! `' }
  1076. ; http://php.net/odbc.check-persistent! V+ [& P- d  k& z7 |/ x
  1077. odbc.check_persistent = On
    * a- D9 ^2 j4 K+ g: G- ~2 Y: ^

  1078. 5 z, I- }/ L6 q9 G1 @, `
  1079. ; Maximum number of persistent links.  -1 means no limit.
    # J) v7 z( }: d8 G0 o5 A9 K- X% D
  1080. ; http://php.net/odbc.max-persistent' i& R. z/ m# @0 D% A' l' Z- |
  1081. odbc.max_persistent = -1  M3 a  m( j  V
  1082. ) W) K* Z. j; v9 Y* \. s+ ~
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    - l3 _* k7 P  R7 r! V& q1 j4 ?  z3 x
  1084. ; http://php.net/odbc.max-links
    ! G2 |2 Z+ L. J% `7 i
  1085. odbc.max_links = -1
    2 {: ]9 m6 H" i: d- Z
  1086. 3 v" p  m" q" [: }2 B7 t
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    , |% D. S& }, v4 A8 u8 v9 ]
  1088. ; passthru.& j3 p9 B9 ]/ g5 T
  1089. ; http://php.net/odbc.defaultlrl8 V: g7 {, o) c
  1090. odbc.defaultlrl = 4096
    # A* ~7 {, W5 _4 Q3 h
  1091.   @2 O6 X+ H# n
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    : V6 \& i+ \  f& A( K. V' @
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation) L# k0 U6 B4 k! p
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode" v8 |. p4 e9 _) ]9 |- N* D
  1095. ; http://php.net/odbc.defaultbinmode
    + z- {- A3 T; ~8 x
  1096. odbc.defaultbinmode = 10 [5 p  F) `% n
  1097. ' S) Y! j( h( o  B, p4 v
  1098. ;birdstep.max_links = -1
    ) P- U/ g" Z$ R

  1099. 2 M7 [7 l2 v- i' G. M, i
  1100. [Interbase]
    + D2 v  K8 n; Y; {$ ~) m
  1101. ; Allow or prevent persistent links.
    8 M! o- W4 N0 v/ B, X$ A4 \+ G- g" a
  1102. ibase.allow_persistent = 1
    # Z9 ~' a3 N' Z8 T

  1103. 9 N+ x  l0 J0 T" i1 {( O
  1104. ; Maximum number of persistent links.  -1 means no limit.  j4 Z) y( M# c
  1105. ibase.max_persistent = -1
    8 g5 @# \: x5 j% m) w
  1106. 5 Z6 t- X) j6 F8 ~) b+ Y
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* R0 N+ M4 j, H6 `% a
  1108. ibase.max_links = -13 S- ~- T2 w: @: P# h# E4 e8 V8 c" i

  1109. 8 f, L  ?! M4 _. x: {
  1110. ; Default database name for ibase_connect().
    ) C( K' @3 u: R$ U& j/ |9 g7 |$ s
  1111. ;ibase.default_db =' i3 u  x+ A# u4 H* [5 l

  1112. ; r% `  y3 J! h& I: j" `
  1113. ; Default username for ibase_connect().
    - k3 w( d- j6 z# @" i. |
  1114. ;ibase.default_user =
    8 v) i( Q" Q9 W6 c3 |0 N# K7 I0 S
  1115. 0 C2 A1 J. g: j5 h8 k
  1116. ; Default password for ibase_connect().: I9 h; B$ E) ]3 y3 K
  1117. ;ibase.default_password =9 `4 Z8 @* e* Z1 J) z0 V' S

  1118. : o9 [2 A' O3 |# i5 \
  1119. ; Default charset for ibase_connect().3 M" T$ s0 Y' }
  1120. ;ibase.default_charset =
    $ J" Q8 x9 v3 @$ e

  1121. 5 ^8 F5 o. l# K% [
  1122. ; Default timestamp format.
    5 C; Q& ^, f' N) |4 x* D+ [+ u
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"( j9 Q4 A5 }2 y( x8 x

  1124. 7 P8 H) A' `# z5 l, x* c
  1125. ; Default date format.' e& J5 m$ |8 y$ w/ K, f
  1126. ibase.dateformat = "%Y-%m-%d". {, d% `3 R: ?; G; ?& \
  1127. : ^8 p: l+ a( v" r; w
  1128. ; Default time format." C9 d6 J) t$ \# X
  1129. ibase.timeformat = "%H:%M:%S": S1 s$ O3 ]% n; |

  1130. 6 `8 F$ E7 f: I7 y( y
  1131. [MySQL]
    4 Y  _! K  t8 W7 b
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    2 K( Q9 M. X$ i- |; L* f
  1133. ; http://php.net/mysql.allow_local_infile/ o. O3 ?5 e9 f1 T, `0 e8 n
  1134. mysql.allow_local_infile = On
    ; [0 @7 E6 Y/ a* N7 R- k
  1135. 5 y1 F& Z" q- e3 F4 B" ?2 M
  1136. ; Allow or prevent persistent links.% D# L, M, [( F8 P& ~* o  G! d+ `
  1137. ; http://php.net/mysql.allow-persistent( N* g; _8 N0 V2 E, @- N( r
  1138. mysql.allow_persistent = On0 J. b7 u/ @2 O( t; a' N
  1139. / A! r' Y. Y2 z" m( w
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache, m1 X. o1 V; B) f
  1141. ; http://php.net/mysql.cache_size
    ) @9 ^. d" i8 T/ q6 [7 c; C
  1142. mysql.cache_size = 2000
    3 x9 H5 N- R* t* }  `

  1143. 7 ~, S7 b+ x- \" \& ]
  1144. ; Maximum number of persistent links.  -1 means no limit.
    # Z! i9 ^; L9 R, G) u7 o% |9 j
  1145. ; http://php.net/mysql.max-persistent
    5 j: T: R% |) v9 c- W, L
  1146. mysql.max_persistent = -1+ Y! M% U. E& o7 O/ _

  1147. ( {! |) [( O. E! t+ S- u( d
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.+ Y2 e$ L+ j  {$ o
  1149. ; http://php.net/mysql.max-links
    ) T! B" n) ]7 w# y9 Y, I
  1150. mysql.max_links = -13 H/ G; ]( o, A$ t1 R* K
  1151. # w' ?/ {( u% E3 L) j
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use- I8 f5 g" A# u! G9 Z, ^( O
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the1 s  y; H) B1 v6 x
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    . x' F6 f! w  R  O- X. w+ R8 F
  1155. ; at MYSQL_PORT.- X/ O" d" K4 B( g/ Y% a
  1156. ; http://php.net/mysql.default-port- o! _8 d& l' D' J1 k
  1157. mysql.default_port =- k% r3 f; I5 g

  1158. 3 Q* p9 M. R  a6 C
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in: P2 e# R% `0 |- ~9 A
  1160. ; MySQL defaults.4 m' d4 b0 {& w: E! D" w/ O& Z
  1161. ; http://php.net/mysql.default-socket
    ) _9 v" E; h* ~4 q9 C9 b2 O& k4 ?
  1162. mysql.default_socket =- K- l& j. K& N6 A/ T+ ]  D

  1163. ; I6 v6 K0 v3 X0 N/ F
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    7 i9 f: W. V! \
  1165. ; http://php.net/mysql.default-host
    ' T+ r! Y8 C; M* f+ r
  1166. mysql.default_host =
    & }$ i! J& g$ U4 ?+ X7 P
  1167. 1 N% q. d* I$ Z8 U+ b
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    2 [3 G% N; W0 g( @$ m% p/ E( j
  1169. ; http://php.net/mysql.default-user1 g( Q2 @# A: S% i
  1170. mysql.default_user =; u9 f/ E( h4 P( v" Y
  1171. ; Y+ R* Z- ?/ a$ M8 ?; Q/ Q
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode)./ D" _- U! d3 o7 d3 H# ^
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    1 A/ {! C1 z& @0 r2 b" u7 z- k
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    8 ~( a8 H. B* a; B4 s
  1175. ; and reveal this password!  And of course, any users with read access to this
    $ W, d" u. |) c3 O
  1176. ; file will be able to reveal the password as well.
    - _) o3 F! ^' ~
  1177. ; http://php.net/mysql.default-password
    $ C5 ]7 Z7 L0 c% ?0 O) Z' _- }
  1178. mysql.default_password =7 P( k  i8 G% K1 @: `

  1179. 5 J- W( @. i" w) v- `! b
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit1 E6 C) X+ j8 u! G, I4 S' L
  1181. ; http://php.net/mysql.connect-timeout- m; g8 s2 z% ]: Q% ~# p6 X: E
  1182. mysql.connect_timeout = 60
    ( z# c: b; L0 L
  1183. 7 m- l- J* O1 U0 _# f9 X% ?$ F# I
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and0 d% d4 ], `. ?. G; I7 A+ G+ @
  1185. ; SQL-Errors will be displayed.' A$ J; E- n: ]
  1186. ; http://php.net/mysql.trace-mode2 V! @) W. ?9 Y" e
  1187. mysql.trace_mode = Off
    # |# r. @$ X' ]( L# z2 H9 U" I

  1188. 9 A$ C  Y7 ?1 T/ R  d
  1189. [MySQLi]
    5 _* V) m+ s7 A! L

  1190. , x* s# X; J4 l: @0 D9 H
  1191. ; Maximum number of persistent links.  -1 means no limit.
    8 ^2 y% I% I- x# I; b
  1192. ; http://php.net/mysqli.max-persistent
    + h' e$ {0 X/ Y- _; t
  1193. mysqli.max_persistent = -1
    6 s& A4 h/ F8 p) {# I8 h
  1194. , t! m3 _4 T+ t/ r8 b+ v
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements1 N$ ^/ R8 p, H, z5 D! R
  1196. ; http://php.net/mysqli.allow_local_infile  q7 S. S$ l! X3 `
  1197. ;mysqli.allow_local_infile = On( j+ I! ?! O& `- H. a+ Q
  1198. & [6 U2 O. G, ^( F4 C  z
  1199. ; Allow or prevent persistent links.9 ~- G2 e; `- d' s" x. o
  1200. ; http://php.net/mysqli.allow-persistent
    1 i2 ~6 U# T3 c
  1201. mysqli.allow_persistent = On
    2 W9 ^1 c  w' u* ?$ F# I' N, N' h' V
  1202. # U4 b; A5 b' z: s* y  Y' Y; J
  1203. ; Maximum number of links.  -1 means no limit.
    3 e. U! G: E3 o" X9 M; S
  1204. ; http://php.net/mysqli.max-links
    # [8 C  Z  e' E2 \
  1205. mysqli.max_links = -1
    ) _6 z0 o4 G2 q' P
  1206. " ]9 k7 w2 L$ X
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 C( H& V5 F  f; v
  1208. ; http://php.net/mysqli.cache_size$ Y: K; n9 N, V
  1209. mysqli.cache_size = 2000
    + x) P7 u+ y9 {" N0 S$ s, @& u7 w  [( i

  1210. 0 W/ {7 N' R- W) M
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use+ v# U. J! u  S3 a) n
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the6 K# P) r* Z( I6 j/ ]- Z
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look2 e6 `! @0 M* X
  1214. ; at MYSQL_PORT.
    % z- _. Y; j( m* ~
  1215. ; http://php.net/mysqli.default-port
    ; M5 |) b6 e! ^5 C1 L" O' q3 t
  1216. mysqli.default_port = 3306
    5 q8 A, Y' o" p1 ~9 |
  1217. ' h3 M" u5 ^; Z4 I  C# j& X
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in* q* U( c$ a  ?  v' e4 ?
  1219. ; MySQL defaults.+ N3 k/ x) Q! s5 n" \+ u' k4 q
  1220. ; http://php.net/mysqli.default-socket5 D( n6 ^9 N& u8 O* a
  1221. mysqli.default_socket =  w. h+ q/ P4 z# L

  1222. ( S) O* {2 v; `1 g  U& [
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).+ N2 Y% {) T3 D6 _7 i
  1224. ; http://php.net/mysqli.default-host& Q% X2 R9 d8 S/ O/ U: B; B
  1225. mysqli.default_host =
    % A9 L$ L/ y; w" N  a% H& |
  1226. ! H* t. T: P4 F2 P' u8 z/ l7 y
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    1 S) e- N* }: K8 }9 r/ B0 t, ~8 L
  1228. ; http://php.net/mysqli.default-user
    , d% H9 o$ x  Z* j/ \* n: C5 o
  1229. mysqli.default_user =6 o- v, r, d+ v- S5 V1 C0 q, m$ T
  1230. * E' m" T5 c0 N3 y8 V/ ^
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    # Y$ \% @# F' ]1 y0 }* q
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    / Z" z  V6 t- @' x4 F
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    : u% O, G1 b1 ?: r! V
  1234. ; and reveal this password!  And of course, any users with read access to this3 o% s; f; G1 j, X' y7 X
  1235. ; file will be able to reveal the password as well.
    6 N/ L6 g. s% |! E) u. Q
  1236. ; http://php.net/mysqli.default-pw
    , v2 s6 S$ H1 h+ s* Z+ N% v
  1237. mysqli.default_pw =
    2 ~0 h* \. d/ v$ H0 c# I1 _4 i

  1238. ; X( F" C- g# M% F
  1239. ; Allow or prevent reconnect1 S/ Z4 L' r9 z( B% a
  1240. mysqli.reconnect = Off3 X' ~# s3 ?' z. C6 @. }% `" x, v

  1241. 8 ?0 R7 U5 h, w% s9 f& c: q% m3 v
  1242. [mysqlnd]5 Z+ @0 G5 e* W( X( C
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be8 }( e2 X  |8 D! F. Z6 f+ S; V
  1244. ; used to tune and monitor MySQL operations.
    * `' x/ R8 N% `8 W4 H' F* q9 ?% M4 A
  1245. ; http://php.net/mysqlnd.collect_statistics4 {) i/ C6 O/ m+ a1 k
  1246. mysqlnd.collect_statistics = On: \: ]" q) u+ x5 R: J

  1247. ' _1 Z) e. M* {: J8 g! \$ T# y
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ! u0 j( S6 i2 z4 ]3 F, z
  1249. ; used to tune and monitor MySQL operations.+ s- `6 ?# t8 i
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    0 T' Y! Q2 H7 N6 }# G% }) M9 {
  1251. mysqlnd.collect_memory_statistics = Off
    ( u8 v$ j* C6 S5 k

  1252. / U- x- y" e* I( C' |8 ~7 y
  1253. ; Records communication from all extensions using mysqlnd to the specified log8 j0 x; {4 e0 |. v# F
  1254. ; file.
    8 R# N* h1 l7 `' e# i- F8 d
  1255. ; http://php.net/mysqlnd.debug
    ( b1 ?$ `  |! }3 }
  1256. ;mysqlnd.debug =
    ( O) T, {* a) @( z

  1257. . W/ t. N4 }! {9 D6 ^
  1258. ; Defines which queries will be logged.
    8 u: d  o' ]4 g* C0 ~
  1259. ; http://php.net/mysqlnd.log_mask
    / P; l( r" k( W
  1260. ;mysqlnd.log_mask = 0) {) A0 ?, {& p
  1261. " _) Z/ F. D0 t) f) W
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.2 [( t- s' C% c5 D- B
  1263. ; http://php.net/mysqlnd.mempool_default_size3 Z3 q  g. q: E: x) w5 U
  1264. ;mysqlnd.mempool_default_size = 16000
    ) g" R7 ]- Q) N0 i( b
  1265. ' G2 {$ y9 j  P: A( O+ S% L
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ; b4 k6 _( K. u* D2 p
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    8 C. b! t2 i( Z/ @
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
      A. o& t% ?7 x9 J" E

  1269. " }& T; J4 z. J7 G9 x
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in: ^/ p5 g9 Q& M5 i2 _" |+ e
  1271. ; bytes.
    ) v, E$ H5 d+ |7 y9 R6 i: g/ b
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    . h1 ~" U) |3 X
  1273. ;mysqlnd.net_read_buffer_size = 327689 l  _8 U. Q: X5 x7 N' k9 n
  1274. " d$ S# X% i5 t
  1275. ; Timeout for network requests in seconds.
    ! _7 ^6 L2 v/ x# W; x
  1276. ; http://php.net/mysqlnd.net_read_timeout
    9 h5 J% Q9 }/ t5 V& ~
  1277. ;mysqlnd.net_read_timeout = 31536000
    ; u; U  f- G" o
  1278. ' k) G0 e4 C% T
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA! A7 w) S/ C, M$ U( T' ~. d. x
  1280. ; key.2 E. {& P6 v: p) H& w
  1281. ; http://php.net/mysqlnd.sha256_server_public_key' l) ~0 [) L) ]9 g$ p8 i
  1282. ;mysqlnd.sha256_server_public_key =
    ( ?, u: ^( D: i: i

  1283. 6 q, ?+ x5 U: t# r
  1284. [OCI8]
    / p7 }9 M( s! N. B3 q
  1285. ( B* E: D* r; E1 q6 G" e
  1286. ; Connection: Enables privileged connections using external
    7 q& w9 H/ u" `* }
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    7 |1 Y+ n/ K! f* R
  1288. ; http://php.net/oci8.privileged-connect) h* p. y  r/ ^* F0 f+ k
  1289. ;oci8.privileged_connect = Off
    2 `0 z, j7 t3 D$ q5 r. E6 g
  1290. + T; d; O& \- Q, I7 H/ S' M
  1291. ; Connection: The maximum number of persistent OCI8 connections per! e8 s( i1 N# l! n
  1292. ; process. Using -1 means no limit.
    7 w* n% I- L& V- ]& V
  1293. ; http://php.net/oci8.max-persistent
    # M, G8 H+ a2 J
  1294. ;oci8.max_persistent = -14 ?+ l) i7 ^  x% O9 O6 l

  1295. & o" c$ J- ?9 z3 J$ z
  1296. ; Connection: The maximum number of seconds a process is allowed to9 _1 p2 k' S% l2 V$ h: O
  1297. ; maintain an idle persistent connection. Using -1 means idle
    % ^0 @7 N! W+ ^5 W
  1298. ; persistent connections will be maintained forever.
    ; T% A) Z/ t2 Z, Z
  1299. ; http://php.net/oci8.persistent-timeout% l  z1 E* z8 ]/ X  A
  1300. ;oci8.persistent_timeout = -1
    0 g4 u: j4 m- k2 q8 I; w. f0 e

  1301. / ~( w; r9 h- v& n% h# X) C, i
  1302. ; Connection: The number of seconds that must pass before issuing a
    3 f% B2 R/ E2 n
  1303. ; ping during oci_pconnect() to check the connection validity. When
    * A( F) Y2 r+ o4 C0 @) k1 l
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables9 w  r" O5 z$ F$ ?
  1305. ; pings completely.) `2 w8 g4 G: W
  1306. ; http://php.net/oci8.ping-interval" q( t8 }. ~- j# d
  1307. ;oci8.ping_interval = 60
    $ f. p& }9 f* G# |7 p# c/ a

  1308.   k+ G- A3 a9 K% e
  1309. ; Connection: Set this to a user chosen connection class to be used! X& d3 Z7 s8 C. ^$ K- t0 b- o
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    , }* X+ G; l3 W
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to3 I: h0 W4 d( p) }0 j# [% U
  1312. ; the same string for all web servers running the same application,
    : Y% @7 C6 P4 J5 s; ]& d$ p1 b
  1313. ; the database pool must be configured, and the connection string must
    2 o% ?% h6 x2 i: U
  1314. ; specify to use a pooled server.0 g! z) ~; @, H$ S# `6 b' D
  1315. ;oci8.connection_class =
    2 p3 t; j- W% [* J; N/ F( ~+ a( {

  1316. * M' i9 k% a  p4 x& G) O* H
  1317. ; High Availability: Using On lets PHP receive Fast Application6 L# d4 j! V  S6 b! Y
  1318. ; Notification (FAN) events generated when a database node fails. The
    . ?/ Y& n# s/ V- W9 N* s5 b8 {
  1319. ; database must also be configured to post FAN events.9 q4 j/ x2 T& o4 N, K" ^& C/ S
  1320. ;oci8.events = Off
    ! T3 i& i$ P3 i4 @6 J$ h
  1321. 2 r. E3 r1 K! W
  1322. ; Tuning: This option enables statement caching, and specifies how1 {, x6 Z3 b8 L. o9 i1 J: i
  1323. ; many statements to cache. Using 0 disables statement caching.
    2 N, _3 G' @# q  U& d5 R- {
  1324. ; http://php.net/oci8.statement-cache-size
    6 e7 U5 \8 u6 u9 j: [. \* N
  1325. ;oci8.statement_cache_size = 20  C' |  |6 M# Y3 P7 Y6 d

  1326. # c! E0 L( c/ C& |# c$ t! ?0 ]/ k
  1327. ; Tuning: Enables statement prefetching and sets the default number of  U6 j1 N+ ~6 w3 Y1 e6 Z3 P
  1328. ; rows that will be fetched automatically after statement execution.- K  E# S" N  o' D! S5 X& Y) {
  1329. ; http://php.net/oci8.default-prefetch
    ! ?0 i2 f) q3 K  v) ~8 p& @5 Q
  1330. ;oci8.default_prefetch = 100
    2 {7 J, C! E& @. Z6 @: }+ i

  1331. ; K! L6 ]) Z3 K& ~8 Z
  1332. ; Compatibility. Using On means oci_close() will not close: G4 F2 k$ o0 b
  1333. ; oci_connect() and oci_new_connect() connections.
    : E% b0 ~* ?6 S5 b
  1334. ; http://php.net/oci8.old-oci-close-semantics
    1 \) t5 z6 N$ q8 W
  1335. ;oci8.old_oci_close_semantics = Off- o  R& R; ?9 f' R8 O5 m

  1336. * l/ p" K  \4 X* c+ L. Y/ W
  1337. [PostgreSQL]
    $ U3 n# m9 T# p, _; T2 P
  1338. ; Allow or prevent persistent links.
    7 S, s" d8 \0 _* `5 y6 |" C3 o
  1339. ; http://php.net/pgsql.allow-persistent6 c* C% U+ G% J! a+ T
  1340. pgsql.allow_persistent = On$ C- J  G$ ^4 J5 J! ], b' B

  1341. 4 \0 v: g( c8 v+ P5 |/ W5 B
  1342. ; Detect broken persistent links always with pg_pconnect().
    / {5 o% q: v* i: G" t: I
  1343. ; Auto reset feature requires a little overheads.
    6 `3 w1 I( g0 L
  1344. ; http://php.net/pgsql.auto-reset-persistent' |& ]+ u/ E1 I! G2 l2 D# q0 o* O
  1345. pgsql.auto_reset_persistent = Off8 s; m# i  l' L5 \

  1346.   s- A; F! R+ ^7 e# |
  1347. ; Maximum number of persistent links.  -1 means no limit.& K  u  {( J' h: o
  1348. ; http://php.net/pgsql.max-persistent0 x: T5 S8 V; \; ]8 l
  1349. pgsql.max_persistent = -17 U+ t5 N! t9 `; f" d: }+ c

  1350. ) n1 i9 L  D) N
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.7 B& z/ i- z! w6 c9 R
  1352. ; http://php.net/pgsql.max-links
    1 L) e1 I2 ^7 N  \$ M; T0 K% u  R
  1353. pgsql.max_links = -1
    3 G/ q/ ]+ f7 |: N
  1354. , s# U  m3 H% n- g
  1355. ; Ignore PostgreSQL backends Notice message or not.9 a% j1 R1 g' \! U- h- P* E- R
  1356. ; Notice message logging require a little overheads.
    5 m  Y6 Z  y7 y
  1357. ; http://php.net/pgsql.ignore-notice
    8 c2 J, ]7 Z# s. l# K
  1358. pgsql.ignore_notice = 0& }. ^9 H% C: f! Q

  1359. $ Y, R  r7 L9 C# o! \8 i; c4 h
  1360. ; Log PostgreSQL backends Notice message or not.
    9 X' c; E$ k( ?8 Q
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    9 a( y9 e  ]; [1 b  `3 R" W
  1362. ; http://php.net/pgsql.log-notice5 T# i0 k1 J1 I! G" }
  1363. pgsql.log_notice = 0/ W; y* G8 T3 a/ h0 v2 r

  1364. & `- D2 Z/ P( o' e: Q" x
  1365. [Sybase-CT]. H+ M* c# Q3 m7 j: U- H
  1366. ; Allow or prevent persistent links.
    4 J' b4 k, i) t; s3 L- ?% A
  1367. ; http://php.net/sybct.allow-persistent
    3 J5 q7 x' {( b3 J0 B
  1368. sybct.allow_persistent = On
    - D6 A1 U' n6 Y# S" l5 V

  1369. ' A& N0 Y2 o! c. G
  1370. ; Maximum number of persistent links.  -1 means no limit.( G8 w- m1 s6 y% E5 K
  1371. ; http://php.net/sybct.max-persistent3 ]$ o* K/ P+ E' S
  1372. sybct.max_persistent = -1) K: U' X0 }1 f
  1373. - |; U0 h0 E0 A# ?/ u" k+ K
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.. e- R# j8 i8 Y8 x4 h2 m* E% Z
  1375. ; http://php.net/sybct.max-links8 r# ~/ Z0 F, Z5 B" Z" K* i  @
  1376. sybct.max_links = -1+ J9 I5 `  i: Q$ H7 k8 z/ Y2 @+ ^2 e
  1377. 0 i" Z$ F; A- ]
  1378. ; Minimum server message severity to display.. I. f5 B5 s9 W8 p+ g; T4 y
  1379. ; http://php.net/sybct.min-server-severity
    % f9 h8 c. ~' R$ G' W
  1380. sybct.min_server_severity = 10. ~3 U) }8 Z) A; m0 I. {$ x/ i

  1381. 5 S2 {+ a) L! o1 E% Q. {
  1382. ; Minimum client message severity to display.
    + {6 `8 g2 w+ k' d  [, e
  1383. ; http://php.net/sybct.min-client-severity
    # s* d& u" S2 ]* X- Q. Y
  1384. sybct.min_client_severity = 107 D: `7 Y% i0 o

  1385. 8 }0 j' ~4 \" l( e6 s) w8 [
  1386. ; Set per-context timeout
    5 B8 p4 [8 O) }8 ]4 Q
  1387. ; http://php.net/sybct.timeout
    : m- h5 g/ `: Z1 L2 E& n, Y
  1388. ;sybct.timeout=
    9 k  e9 t' d6 V2 g: Q. S( J: l

  1389. ' e& L. Z- _5 ~( c$ i
  1390. ;sybct.packet_size
    ) f* T- N6 C  R. |$ d' O

  1391.   w3 x7 q% n9 F, r. A4 b0 A2 X
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    ) L9 a: b3 p! i3 A
  1393. ; Default: one minute
    7 ^$ g" ~7 R% l5 A5 W2 F( L" m3 m5 E
  1394. ;sybct.login_timeout=( M$ T" d( n2 t/ N( h2 @

  1395. ( t+ ?8 z( Z% Q2 f  `$ L8 ~* O8 v
  1396. ; The name of the host you claim to be connecting from, for display by sp_who./ N) t; |! ~0 A4 s  Y! Z0 h% F
  1397. ; Default: none3 e4 {% Q7 z! O5 i+ i2 _4 y: C' J2 `
  1398. ;sybct.hostname=( I* B9 P3 Y* F; l$ A
  1399. 8 z/ _6 P) R& ]  k
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".0 G0 B0 e$ n' _$ k( k3 Y
  1401. ; Default: 0
    ( |) G! F# g0 L, ]9 w9 g9 }/ N4 X6 d
  1402. ;sybct.deadlock_retry_count=1 u; o) o) [$ G- v

  1403. & Z7 J9 ~8 G6 N( \3 H
  1404. [bcmath]
    % n+ K4 U, }8 u& M2 U
  1405. ; Number of decimal digits for all bcmath functions.- I7 y0 X4 G8 `$ @, Q; N4 S
  1406. ; http://php.net/bcmath.scale
    7 L) D+ P5 [! g5 ?; Z
  1407. bcmath.scale = 0
    7 M' b2 y+ f8 w4 O) K1 Z

  1408. " g$ N2 R5 o$ L: _* t9 A. z5 |
  1409. [browscap]
    ( N6 [- y* ~+ O7 B$ E
  1410. ; http://php.net/browscap
    : ^& g8 |* q/ y2 D5 F' S
  1411. ;browscap = extra/browscap.ini1 F3 x( |2 r. Y) R  D0 O' e7 i
  1412. 5 A( L/ _7 m+ p2 [( C) k0 O
  1413. [Session]# t) K' a* Z6 {- X% b! c1 j
  1414. ; Handler used to store/retrieve data.
    * J1 A, ]$ e& m7 p( p$ g/ I% n; B
  1415. ; http://php.net/session.save-handler5 U* a1 ^  h) A0 C; P3 ?2 h( v
  1416. session.save_handler = files
    2 M  ]: e$ B" W# a# A4 G1 f& C4 k

  1417. , x9 l& u4 f5 f- ?' A0 Y  c
  1418. ; Argument passed to save_handler.  In the case of files, this is the path: }% R/ M3 A/ v2 [& H
  1419. ; where data files are stored. Note: Windows users have to change this
    ' R; k1 Z- f3 w0 Q% ~, x
  1420. ; variable in order to use PHP's session functions.
    5 w7 h2 q' _' A6 O  ^
  1421. ;: Z* v$ k4 J* q0 ~
  1422. ; The path can be defined as:% v( t5 r- a: O0 n
  1423. ;( d4 ?1 _+ e: u
  1424. ;     session.save_path = "N;/path"
    - `, J5 i& ]8 g% ~
  1425. ;( _7 t1 @! e4 Q2 ^1 T8 @
  1426. ; where N is an integer.  Instead of storing all the session files in
    1 ^6 ^0 L* ?& \, d; V+ n3 R
  1427. ; /path, what this will do is use subdirectories N-levels deep, and' Q7 g. L3 u: o' s* ?- B3 @
  1428. ; store the session data in those directories.  This is useful if" J8 A6 K& _+ D; O: y7 X' x
  1429. ; your OS has problems with many files in one directory, and is
    ' U/ X" R6 A$ {0 R* R1 b
  1430. ; a more efficient layout for servers that handle many sessions.4 H8 ~9 M4 I' p& H5 A! Q
  1431. ;/ L* S9 z$ b( s7 b! E+ }) P
  1432. ; NOTE 1: PHP will not create this directory structure automatically." h( N/ H3 i& _8 x$ c0 l
  1433. ;         You can use the script in the ext/session dir for that purpose.
    9 J7 ^1 Y+ |! b5 H; m
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    " I7 p. N- `: \" @6 |
  1435. ;         use subdirectories for session storage' S& o0 b: E: z4 j2 S5 s/ a
  1436. ;
      u8 e3 g  I# z7 ?8 \3 h
  1437. ; The file storage module creates files using mode 600 by default.
    ( h) X) y7 C; ^  P* d' V9 l, \
  1438. ; You can change that by using* m' A: z1 |6 ?& M" a/ [
  1439. ;
    & s  V- N' V# b  ~
  1440. ;     session.save_path = "N;MODE;/path"# v' q, b, ^! h6 D/ P' o5 P( B  L
  1441. ;2 o) m; I$ Z. z* p
  1442. ; where MODE is the octal representation of the mode. Note that this2 I5 r# `2 `- H
  1443. ; does not overwrite the process's umask.' ~; Q6 V0 I  C8 y: ]) e4 G8 K. G
  1444. ; http://php.net/session.save-path- F( G) v! Y2 D5 U
  1445. ;session.save_path = "/tmp"
    * U8 w5 N' H+ q* y, w& j

  1446. " _4 }- S8 s+ }# @
  1447. ; Whether to use strict session mode.4 A5 h# v; u+ c  V& [9 E
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate4 y5 d7 Q$ [6 x  G* y: x5 M
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ( H7 d2 I; ]" d2 ^0 ~4 r
  1450. ; applications from session fixation via session adoption vulnerability. It is2 Z2 i1 \  ^; T+ {5 G. l4 u: f
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.& _' @: |' F7 o. I) _* F9 ?
  1452. ; https://wiki.php.net/rfc/strict_sessions  C, u1 a( W) |7 h
  1453. session.use_strict_mode = 0
    ! Z# |# ~& s, k( X( k! p+ n

  1454. 2 M( C$ @( M* W0 B( k/ a
  1455. ; Whether to use cookies.1 W3 @; m7 N) z! k- T% l- t
  1456. ; http://php.net/session.use-cookies
    ( H9 x0 {7 y* l  ^. l) {7 d" C
  1457. session.use_cookies = 1; t. A4 s( C+ B7 k& K) }
  1458. ! E# @+ z  @5 l" k& M1 T6 {$ z
  1459. ; http://php.net/session.cookie-secure  d1 E" f$ Z. E4 k0 v. W
  1460. ;session.cookie_secure =5 o, [% o. Q) k, ^2 y4 y( n) P3 b

  1461.   w# j& g9 Q1 x7 r/ L1 A
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining: ]; q& m# @" x! r! N  Q% v
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    : B" Y8 v  p& y" D% R4 {: ^
  1464. ; session hijacking when not specifying and managing your own session id. It is- v! s: A, X" e
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    8 |) ~; i2 w; K: R9 F
  1466. ; http://php.net/session.use-only-cookies1 T; K! E, F; D. u
  1467. session.use_only_cookies = 1
    : i/ l" K4 W8 z) T4 c$ C2 }; b
  1468. 1 s0 s0 j8 I) h
  1469. ; Name of the session (used as cookie name)." \; T5 i9 s) T) O7 D- k, W6 L& u
  1470. ; http://php.net/session.name" E: s% l6 t$ k0 B5 m* `8 x
  1471. session.name = PHPSESSID7 M! I: O. A! B' ~; N; C
  1472. - E3 d; y$ h: o' K$ D: [' E1 ]
  1473. ; Initialize session on request startup./ b4 j0 N# q$ p6 h6 [9 x4 Z
  1474. ; http://php.net/session.auto-start+ D- I3 }" Z, K+ O' e, _
  1475. session.auto_start = 04 d& Y3 t" M, t5 |$ v+ Q

  1476. $ d) D- e& J: t
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.5 b  k5 D" d2 ?1 @8 x$ i
  1478. ; http://php.net/session.cookie-lifetime8 Q8 j# ?3 o/ C
  1479. session.cookie_lifetime = 04 [' m. e3 `' h9 p% @
  1480. : I, d0 v2 z( c3 p, \+ Y
  1481. ; The path for which the cookie is valid.. Y- l: M: o+ `1 V6 B5 J- b0 P- h
  1482. ; http://php.net/session.cookie-path$ i- k' S0 l+ J8 r  A
  1483. session.cookie_path = /  @% u; D( ~  M1 t3 z$ h, S" l$ o
  1484. 0 X* y+ n3 {# y/ N
  1485. ; The domain for which the cookie is valid.8 D- J+ c: ~! b0 N, ?
  1486. ; http://php.net/session.cookie-domain
    * z: D% w, I; c) v+ O
  1487. session.cookie_domain =! x' b( \, U# D( o9 p- I( B" Z  l
  1488. 3 Y  i3 D0 A) S' S9 b1 f1 s4 C
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    2 A1 q. }, S4 c& y2 D: A
  1490. ; http://php.net/session.cookie-httponly7 S. ?: Y2 q3 |/ A
  1491. session.cookie_httponly =
    2 s) N; |8 A& ~: c5 H& k

  1492. & E( _( S* Z) Q
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    2 K& A" o; D4 Y3 }& @* A- R& |
  1494. ; http://php.net/session.serialize-handler
    5 ]$ q% W1 [: e  P' l- l/ t8 A
  1495. session.serialize_handler = php; T, ^5 l# v6 n) b; j

  1496. 8 R4 x: o; {2 ?9 o) S
  1497. ; Defines the probability that the 'garbage collection' process is started
      k2 {3 F' Y$ w( S# D
  1498. ; on every session initialization. The probability is calculated by using
    ) }7 `  z4 T3 g
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator& `' ~( i, a: B0 j9 }# g& V
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ( O# I3 e( N( p$ }- r" V) j
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    & F# ~8 ~( e* E1 H, q
  1502. ; the gc will run on any give request.
    / P$ y- Q# y5 ]6 l* m+ Z4 {9 s
  1503. ; Default Value: 13 z) F0 D( @+ D- o  @
  1504. ; Development Value: 1/ H! {1 X5 j  C( J5 f2 ?- H
  1505. ; Production Value: 1
    , t7 V7 D- G* w" K( a7 |! J* }! C
  1506. ; http://php.net/session.gc-probability9 b# K3 a" @6 n# Y- {  x8 d9 ^
  1507. session.gc_probability = 1
    ( C* Z( A- S2 O# G3 K2 g) ]

  1508. : k/ d  t. P' G4 S5 ^
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    # R& M$ z" H: {9 c# ]
  1510. ; session initialization. The probability is calculated by using the following equation:9 R  U8 |, J# H) A7 z. x- P! |
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and7 V( I, j$ U2 m- {( M" Y' u' u
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ' r8 T, O/ Y$ Y2 V$ `% L0 F% B% z' C
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    6 F! G6 S1 n& o6 d. b4 \+ |+ z5 i
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    8 ^6 B- G" [8 V6 @! c' C. A$ G; r1 `
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    3 q4 K) _  r* r. [$ N' b
  1516. ; this is a more efficient approach.
    / U$ L1 d1 g, Y7 a! _: X  `+ \6 \' \
  1517. ; Default Value: 100
    . K; d* \5 x5 r
  1518. ; Development Value: 1000
    # T" I  E' W" A/ E% F# |
  1519. ; Production Value: 1000+ y+ x$ a) d) r
  1520. ; http://php.net/session.gc-divisor4 y. h5 d  i' z/ h% W
  1521. session.gc_divisor = 1000+ T. P0 z' d4 T. Q  R3 X
  1522. 8 z* K  u. w6 y1 S2 Q
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and& X# W  T4 f% j1 e
  1524. ; cleaned up by the garbage collection process.
    ; g0 w+ j; [! s6 r
  1525. ; http://php.net/session.gc-maxlifetime" m, U& x+ l& u' }6 A
  1526. session.gc_maxlifetime = 1440
    ) r. Q; L2 K  I2 x' n- l

  1527. - r* \' ?; ]/ [" a
  1528. ; NOTE: If you are using the subdirectory option for storing session files/ h& P/ K- ?9 F) |  L* F4 a) ~
  1529. ;       (see session.save_path above), then garbage collection does *not*1 S5 d- }. ?" X8 t8 B" i
  1530. ;       happen automatically.  You will need to do your own garbage
    ; }7 j" T7 c+ ^- J) H1 c
  1531. ;       collection through a shell script, cron entry, or some other method.5 P- n, `& G+ v: f! T/ w- i% K4 q9 X
  1532. ;       For example, the following script would is the equivalent of9 ?8 a  M% F: O! @! h0 S
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):0 `8 t& e: M  Z
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm8 }" ~" `1 O3 K, Z+ e

  1535. . V4 Y: E2 v$ l# I/ k6 C" v
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    & C, q/ n/ j2 @% P
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    : O) c" V+ \! c2 k& g+ |+ i. c
  1538. ; considered as valid.) i7 G5 ^" B/ {$ Q% {, v
  1539. ; http://php.net/session.referer-check) B' B6 i& \! v( i9 C4 z- K( @
  1540. session.referer_check =
    + B0 ]1 B" n* Z$ H$ Y

  1541. 8 B3 q5 F; |/ H: i6 _( `: ]
  1542. ; How many bytes to read from the file.4 g) \8 D4 O- j' C5 o
  1543. ; http://php.net/session.entropy-length
    ) ]4 {9 K+ |5 j/ v0 s7 L9 W& Z0 f0 x
  1544. ;session.entropy_length = 32
    ; d: x) P4 s/ u' o6 G
  1545. 4 i1 S$ M: ]* ~8 o. [. }, I
  1546. ; Specified here to create the session id.
    6 N) C, H+ N- Z
  1547. ; http://php.net/session.entropy-file
    9 D' n3 f' B% Y1 ]- k! i
  1548. ; Defaults to /dev/urandom0 k5 w# B6 Y& a3 ?% O$ }
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    0 O7 s- [% b5 E6 K: j: o( u
  1550. ; If neither are found at compile time, the default is no entropy file." Z9 ~4 H! ^9 l' {
  1551. ; On windows, setting the entropy_length setting will activate the
    1 x$ E! s( C; f" ?! a
  1552. ; Windows random source (using the CryptoAPI). n8 R6 ^0 w: M/ l3 T
  1553. ;session.entropy_file = /dev/urandom  y# q1 M( N1 d  ]# u- b
  1554. 3 `7 D, |4 l8 }# V' L7 P5 v
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
      Y, e$ }" `# e+ a9 X8 a- v
  1556. ; or leave this empty to avoid sending anti-caching headers.$ z+ b5 I5 g: ~3 L$ }+ F5 K! G
  1557. ; http://php.net/session.cache-limiter
    ' G0 {' K& `" K
  1558. session.cache_limiter = nocache
    2 j$ h, d0 s0 ^$ @. V, M7 \' K/ q
  1559. : e  a+ q) H4 l5 M. l
  1560. ; Document expires after n minutes.( I4 |& ~$ ?' e6 W
  1561. ; http://php.net/session.cache-expire; u/ V6 J6 @2 ]6 l
  1562. session.cache_expire = 180
    ( l8 R# X1 }9 D! x
  1563. 1 O: o' F) S; Q7 ^7 f/ M, U2 m
  1564. ; trans sid support is disabled by default.0 K- W6 s9 S" [# i
  1565. ; Use of trans sid may risk your users' security.- o2 \2 p# D) m- F, Q) z
  1566. ; Use this option with caution.8 ^' |1 b5 _4 J5 o5 \, f8 ?
  1567. ; - User may send URL contains active session ID* f1 u, u. D& ?' s+ Y3 |# g& A
  1568. ;   to other person via. email/irc/etc.
    % v- p# a3 }, C- p9 E* j/ ]
  1569. ; - URL that contains active session ID may be stored
      c( M. ?4 M1 G6 N* k) h, h$ s: Z7 q
  1570. ;   in publicly accessible computer.
    # x2 C: I3 p+ W
  1571. ; - User may access your site with the same session ID
    2 K, Q" X' t: p3 V
  1572. ;   always using URL stored in browser's history or bookmarks.
    4 ~8 T8 w" s& C$ [7 p( \3 v0 \7 b: `
  1573. ; http://php.net/session.use-trans-sid
    + ^3 e9 U2 X+ D
  1574. session.use_trans_sid = 0& ]3 o+ g1 u5 b$ k9 F- S1 I& `

  1575. 0 e. m+ L  [( i
  1576. ; Select a hash function for use in generating session ids.0 X8 r; ^  B) a2 E
  1577. ; Possible Values/ v. b5 S  P  t% J: T5 }' w
  1578. ;   0  (MD5 128 bits)
      L, [. `2 |: e/ Z; f9 C
  1579. ;   1  (SHA-1 160 bits)
    & c' P4 _- d8 ~2 H8 G1 Z0 ]5 P  U7 D! u
  1580. ; This option may also be set to the name of any hash function supported by, D) ?7 N4 U( z4 ^6 B4 z' X
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    - x. V7 u7 ]4 x: W5 ~- b/ Q
  1582. ; function.
    , s9 O1 F% G7 L- {- ~" N
  1583. ; http://php.net/session.hash-function5 ~) i2 ]. U8 ]+ p6 [& n
  1584. session.hash_function = 0. w8 V3 m" j9 k$ D8 o( `1 L

  1585. % M; Z* [. c, T  J
  1586. ; Define how many bits are stored in each character when converting' _* J- V5 }' x6 s
  1587. ; the binary hash data to something readable.
    / h: ]$ _! m5 V/ @. k$ l4 M9 Q
  1588. ; Possible values:
    3 x/ Y6 X) S/ f) r: z/ H& u
  1589. ;   4  (4 bits: 0-9, a-f)
    + E0 P3 _) _2 r+ o9 q
  1590. ;   5  (5 bits: 0-9, a-v)
    ; Z) y. e1 B1 A. G+ ]. D
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    # ^" D$ M9 T: s$ M+ {6 d
  1592. ; Default Value: 4
    5 b, W+ S5 h4 K9 u3 c4 `: }& \4 ~
  1593. ; Development Value: 5; ], |; @& }% b8 \
  1594. ; Production Value: 5
    4 B2 \* d) R! B9 F* k8 @
  1595. ; http://php.net/session.hash-bits-per-character9 ^8 U. ~) h8 n& F- ?" o, \* C$ E3 i: S
  1596. session.hash_bits_per_character = 5' e5 P# R8 `) L, ^. _/ p

  1597. 1 Y; F( E$ e: Z8 Q, A; G1 Q  W
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.. B: E8 I; K2 M% |& |
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ) j$ O, x- X# {1 W$ u! c4 D. A
  1600. ; add a hidden <input> field with the info which is otherwise appended2 Q& H( l" p5 w1 z1 ?% ~. a
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.9 f+ h# C- X" v. V9 L7 h/ I
  1602. ; Note that all valid entries require a "=", even if no value follows.
    # n( D- }) A8 e( i3 @+ ^
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    / L. k% _5 y9 F
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  q8 s1 H: H$ s! p7 h0 d
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( V" F  v" c4 P+ L% m: {6 M( S( Z
  1606. ; http://php.net/url-rewriter.tags# H, f) d  o0 O- y9 i
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 u+ f& f8 l$ p* w! e% Z

  1608. , V' i8 G% @9 k
  1609. ; Enable upload progress tracking in $_SESSION
    - v4 t$ H/ i1 y3 g! e
  1610. ; Default Value: On% D; Z! c% a9 S5 k2 Q$ l
  1611. ; Development Value: On
    " M' |5 M# X/ [
  1612. ; Production Value: On4 _% K" N# n. g; k0 ]
  1613. ; http://php.net/session.upload-progress.enabled
    . o( {9 B  p9 S7 X" e) N
  1614. ;session.upload_progress.enabled = On2 G: ?2 q& g4 C% X4 l
  1615. " b6 [, d/ g' m. }
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ' ~% E/ B5 ?1 U+ o
  1617. ; (i.e. upload completed).
    7 y& v" w- M2 m7 v
  1618. ; Default Value: On
    0 t' k7 B- z) k& j2 W
  1619. ; Development Value: On+ H! Q8 N$ K; M% J3 P
  1620. ; Production Value: On
    - {& f1 I7 d. ~$ C% G) f& F8 y9 y
  1621. ; http://php.net/session.upload-progress.cleanup1 p/ g6 L0 }, Q. A5 v* O( ?
  1622. ;session.upload_progress.cleanup = On
    4 f) Q% |  Q  D# i: i

  1623. 6 o8 g3 t# S  B$ |" {1 ]
  1624. ; A prefix used for the upload progress key in $_SESSION
    : M$ Y/ V- {3 c" x: Z+ x
  1625. ; Default Value: "upload_progress_": b# s" Q4 x5 _! q1 V0 K
  1626. ; Development Value: "upload_progress_"* \9 A' Z, R5 e% N2 V& C
  1627. ; Production Value: "upload_progress_"% K/ F3 }) R5 l# ^  N- G  V
  1628. ; http://php.net/session.upload-progress.prefix* e/ _% m1 h) ?( ~
  1629. ;session.upload_progress.prefix = "upload_progress_"
    4 H/ [9 m# D$ S
  1630. . a% M: z2 c& W- N5 h+ z$ N
  1631. ; The index name (concatenated with the prefix) in $_SESSION) A, ^  q' ~& \
  1632. ; containing the upload progress information- r% w; }0 T0 Q' P
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 C6 ]! w8 }+ H+ m1 Z
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; F( W, h4 V% w( m) F
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : ~/ r0 {& e' E$ r' a. A* D7 O
  1636. ; http://php.net/session.upload-progress.name0 ]! v, p2 I+ I+ s
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"3 P0 k7 `7 N6 s& @% s8 b0 a, R
  1638. ; v( b2 f' N) F6 ?- _
  1639. ; How frequently the upload progress should be updated.1 I8 C" i( ?" ?
  1640. ; Given either in percentages (per-file), or in bytes
    7 ~1 e6 G- v% |, O+ U7 n
  1641. ; Default Value: "1%"& b) m" C/ j8 C9 L: ^$ d7 w( v2 i
  1642. ; Development Value: "1%"' M. d9 ^9 A& A+ G  D
  1643. ; Production Value: "1%"* v; _3 X. _% f+ _- i. _
  1644. ; http://php.net/session.upload-progress.freq
      p; ]' E3 y  n# R9 C0 q# A6 f
  1645. ;session.upload_progress.freq =  "1%") |) b) k) l3 W6 L3 G0 }. [3 a

  1646. 8 I9 M4 F' `" Q) A) b( A
  1647. ; The minimum delay between updates, in seconds4 X, k& }. m% J
  1648. ; Default Value: 1# s' e: U, @' @) W3 i. R$ P4 M
  1649. ; Development Value: 1
    % K/ ~" ~+ V& m. K+ g
  1650. ; Production Value: 1
    + o$ @- X, [! i7 a  p
  1651. ; http://php.net/session.upload-progress.min-freq1 m1 w& r; q1 t. Y4 J
  1652. ;session.upload_progress.min_freq = "1"
    7 U, p+ ?6 d2 N) ?3 \+ c0 V/ Q

  1653. 4 D# x+ S& e( @% d2 I3 W8 A% d
  1654. [MSSQL]4 j+ q7 _) z3 r- ?* m$ m- {
  1655. ; Allow or prevent persistent links.
    5 x; s# z( O6 o9 S+ g4 h/ u  c7 A
  1656. mssql.allow_persistent = On$ z3 c' X7 B& x, z: |7 }" w$ G; Z& \- g
  1657. 1 d0 r) v) T# y( [/ ]4 g4 O4 x8 X
  1658. ; Maximum number of persistent links.  -1 means no limit.% y; k" @- b) }3 h7 V$ h6 v1 F
  1659. mssql.max_persistent = -1: f0 l! b3 q; B% o

  1660. ; L# _1 D9 R8 k2 Q4 b
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ) S4 S+ v0 x( P: a9 \2 S/ e
  1662. mssql.max_links = -14 h  z" k$ g# D0 ?2 C" T; ~6 c! n

  1663. 5 {) n5 T" Q' L5 |: W+ w) a
  1664. ; Minimum error severity to display.( x. Q" O8 ]% }2 p
  1665. mssql.min_error_severity = 10  f; n" _% z! v1 l- U

  1666. 4 M6 W2 ?$ i1 O& g! T% T8 C
  1667. ; Minimum message severity to display.. J2 P1 U; j5 r
  1668. mssql.min_message_severity = 109 D* s1 H  \1 V0 m6 k, h' j+ |; i

  1669. 4 U- t! q! k( `
  1670. ; Compatibility mode with old versions of PHP 3.0.$ ~( {1 T: l0 n7 W3 _
  1671. mssql.compatibility_mode = Off
    ' }% d) \# K! o3 G2 j
  1672. 4 h+ M& g* V2 p5 X$ {! V
  1673. ; Connect timeout
    % M$ S) A  j  p/ w% F
  1674. ;mssql.connect_timeout = 54 J+ T  y) s+ X5 V, U! [9 J
  1675. % i, o4 E; ]+ |2 @+ a) k3 x
  1676. ; Query timeout4 e) Q1 t" D7 s
  1677. ;mssql.timeout = 60
    $ b1 D4 B# z  [* O

  1678.   u0 @3 r8 C3 h5 m( r" _, K
  1679. ; Valid range 0 - 2147483647.  Default = 4096.3 ?7 b) V1 b) g( y8 g& n
  1680. ;mssql.textlimit = 4096
    , ?9 L$ _6 n# g! F2 E# S4 u. ^
  1681. + s- i- y7 t2 v7 F8 x8 ~2 y$ V% z* i
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    ( q1 A$ o3 m0 Z. k" ?$ q
  1683. ;mssql.textsize = 4096
    ( O, _" o( {& p" |

  1684. 4 M7 e) V( u2 ?& _7 Z
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    ' z+ d: a5 O/ b# ^
  1686. ;mssql.batchsize = 0
    7 m% y" Q" @$ E2 R# i1 l

  1687. + J" i  o/ Q4 Z  T/ s9 p4 m& {4 b9 S# G
  1688. ; Specify how datetime and datetim4 columns are returned! o5 j8 G9 w- Z1 v3 r4 O$ d
  1689. ; On => Returns data converted to SQL server settings* E8 ]$ G- g3 V- ^$ ~( s- n
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    6 Q- s! V" i' r5 Q) z
  1691. ;mssql.datetimeconvert = On. f, s8 Z0 {; G1 b) q) |, m4 K5 m

  1692. $ K7 h; V4 {, }) Z
  1693. ; Use NT authentication when connecting to the server) Z! k/ N& Y- V- p! D
  1694. mssql.secure_connection = Off
    - o' s% I+ z; Q; \

  1695. & j' u' U# W2 {
  1696. ; Specify max number of processes. -1 = library default
    5 i6 ^+ q! Y( I$ D$ f7 q! c- m
  1697. ; msdlib defaults to 25
    ' t! m8 O9 v9 V7 T" K/ i
  1698. ; FreeTDS defaults to 4096
    6 r9 m0 h$ W3 y6 b$ S* A7 ?
  1699. ;mssql.max_procs = -1
    $ K2 N$ P( Y& f, f
  1700. ! ~/ w8 r) v/ q7 S
  1701. ; Specify client character set.
    / f5 g% w) ]" i8 I9 i9 h, t! r
  1702. ; If empty or not set the client charset from freetds.conf is used
    % g9 m; o7 N" t6 J
  1703. ; This is only used when compiled with FreeTDS. G$ t. `7 Y: n. s0 T; \' V
  1704. ;mssql.charset = "ISO-8859-1"+ u0 F/ F, X  w* c, C+ w
  1705. 6 u5 N: F6 `* B; y  D$ V2 @& G
  1706. [Assertion]
    7 P, g. {: Z* O6 {! h; T
  1707. ; Assert(expr); active by default.0 H) |  l$ k0 Z/ u
  1708. ; http://php.net/assert.active
    + v' \8 N4 V! G$ k  Z/ U0 o# z0 |
  1709. ;assert.active = On% z( v, i8 M7 M; s5 `

  1710. 4 m+ B( L- W$ I2 I7 T3 @/ E
  1711. ; Issue a PHP warning for each failed assertion.: o1 f& p; Q+ m, m( n- n
  1712. ; http://php.net/assert.warning
    ' ^' @/ {; @) d
  1713. ;assert.warning = On9 R% H: |* ]  W; M$ x1 m4 L8 U

  1714. ; S2 s  ]) l, o- }4 t7 K
  1715. ; Don't bail out by default.
    6 g8 a& D: m% z" d1 p( E: E- p3 x
  1716. ; http://php.net/assert.bail
    7 s! [5 o; g- {" G
  1717. ;assert.bail = Off
    7 `# t0 W  y, y0 ?' x2 t4 z: Q
  1718. " p' N# f. B% @0 i
  1719. ; User-function to be called if an assertion fails.8 u6 ^; K' r* ]' V/ O
  1720. ; http://php.net/assert.callback
    ; `+ M2 t: \* {" ~/ V7 }' T# ^  K
  1721. ;assert.callback = 0" B6 J, X  ?  ~* F5 r0 k8 e, N
  1722. & {" a% U, ^  w+ W. W% }6 ?
  1723. ; Eval the expression with current error_reporting().  Set to true if you want1 ^, g9 f( V5 ^( e) K( j
  1724. ; error_reporting(0) around the eval().
    ! ^; e5 E+ k" n( e0 @0 S
  1725. ; http://php.net/assert.quiet-eval
    2 F- `, u0 P/ O" ~0 \
  1726. ;assert.quiet_eval = 0
    ; ?3 h4 S7 L! x" Q2 y, @
  1727. & w3 r* m: M& v
  1728. [COM]4 }8 x& y! s' T4 ~3 ?
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ; P8 ?3 w5 i$ E
  1730. ; http://php.net/com.typelib-file
    1 t1 g, W: m9 c) \; b$ J. P
  1731. ;com.typelib_file =
    , q& m7 u6 N" ]* G( x

  1732. $ ~% `' X1 F# n0 Z3 a" U3 k
  1733. ; allow Distributed-COM calls
    : ?8 _& h/ Z  u0 X! P& ~
  1734. ; http://php.net/com.allow-dcom
    0 _/ D9 _/ Q+ p( X
  1735. ;com.allow_dcom = true
    ) J; S: y5 @5 v; {/ ?/ j

  1736. 9 J, J" N, {0 [+ U3 \
  1737. ; autoregister constants of a components typlib on com_load()
    3 G, {) L- l# v, B" c9 M3 r
  1738. ; http://php.net/com.autoregister-typelib9 G' N% X+ n$ @6 O( x
  1739. ;com.autoregister_typelib = true
    1 \! E, C5 y- }
  1740. 6 K$ `9 R0 G* Y' N0 F( |$ |
  1741. ; register constants casesensitive
    . I# J0 \% A9 E* q6 |8 C' h
  1742. ; http://php.net/com.autoregister-casesensitive
    - v" E% T# w* T
  1743. ;com.autoregister_casesensitive = false& s: _3 h% t8 G; {

  1744. & T+ o& `" x. e6 Y
  1745. ; show warnings on duplicate constant registrations
    0 u" n# n; W0 x$ N
  1746. ; http://php.net/com.autoregister-verbose$ a" j' K( I' J* _9 d0 Q* R' y
  1747. ;com.autoregister_verbose = true
    ' M  h$ X* N- a6 B' Z6 {5 c- X+ g

  1748. ; ?7 c5 b8 y6 Z3 W- j
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ; Z9 w4 F5 ]/ g+ l5 h( U
  1750. ; Default: system ANSI code page9 ^0 J- {2 i+ I
  1751. ;com.code_page=
    % D7 g. a& m( k; G( j) K. k
  1752. * L% f" ^  U' a2 S
  1753. [mbstring]% R' p, F/ l8 h. c$ p6 j
  1754. ; language for internal character representation.7 H& n' X+ ~( q* S5 y$ o- U' T
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    " U0 {6 j( f% S5 v5 @
  1756. ; http://php.net/mbstring.language; I1 M) ?  l: p5 d( b
  1757. ;mbstring.language = Japanese; n8 [' Z' t2 g. K1 C. V

  1758. & d# b; h1 n* w5 ~% K& v/ `/ s
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    - f' \5 _$ m# y) M( q6 n( D
  1760. ; internal/script encoding.6 f7 p% f! E+ s4 Y7 H2 x4 \2 ?; ]# h# ?
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*): B. o8 [6 ]- ~1 T
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.2 u" i$ K$ O9 M9 n9 J
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 U* T+ Y6 N4 h: r0 w* o6 G( N
  1764. ;mbstring.internal_encoding =
    3 r8 _* T2 i8 g3 n8 j6 D
  1765. + D& g( ?: v8 J3 V$ I$ p3 ^
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.- G& R( c1 e: U
  1767. ; http input encoding.
    2 |. D& P4 S( z; A+ ~
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    7 Q& S8 h8 S! M9 v+ G# R
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ; C/ K8 V! Q; o1 R% H
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input+ R/ U7 o0 g2 B% `+ F
  1771. ; http://php.net/mbstring.http-input
    6 F$ j; Y" J1 V; l5 M- t5 ^
  1772. ;mbstring.http_input =
    . M/ ?' p- Z/ {

  1773. ' |" D) e9 m8 y2 i& Q# b3 O9 C1 ]
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 b1 @  F3 W% T
  1775. ; http output encoding.
    & e& A8 n% J" V( P
  1776. ; mb_output_handler must be registered as output buffer to function.
    7 j0 H. G% u" C2 p0 h9 [( ?  [- j
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    " h+ ^. {- {4 d7 B
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    4 s7 ]  P1 V$ B6 C0 I, \  D+ \
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    4 m6 G7 Y# `8 U+ V: E+ I9 `
  1780. ; otherwise output encoding conversion cannot be performed.
    & ^1 L- ]4 n. {% T8 n6 S0 I
  1781. ; http://php.net/mbstring.http-output
    3 s5 U) ^8 P# u
  1782. ;mbstring.http_output =. E# J0 d, y+ E! l+ {: |8 M% E
  1783. : \- `0 m. r7 i
  1784. ; enable automatic encoding translation according to
    9 v% K% c+ ]4 A. U" q+ b
  1785. ; mbstring.internal_encoding setting. Input chars are4 e" d7 r# W5 s9 H
  1786. ; converted to internal encoding by setting this to On.
    , f6 t* U& e9 x" S. C' s6 `
  1787. ; Note: Do _not_ use automatic encoding translation for, U3 v! i0 G. ]- W3 d
  1788. ;       portable libs/applications.
    3 [: d: ~' n( n+ X/ \
  1789. ; http://php.net/mbstring.encoding-translation
    7 z% _% ]& E  V# r
  1790. ;mbstring.encoding_translation = Off) B  u2 @/ k1 N6 d  S9 Z) A/ n4 J
  1791. , f6 H  Q: M, h9 R  Z" I! w1 |1 o
  1792. ; automatic encoding detection order.+ W" g6 F$ C# P; ~6 |
  1793. ; "auto" detect order is changed according to mbstring.language, |# q  Z" f+ D& f2 H
  1794. ; http://php.net/mbstring.detect-order- D( M  A1 T- n7 j' S) `
  1795. ;mbstring.detect_order = auto4 I1 L- n7 X& X& Y: X

  1796. : n5 l& Z$ J& k" X" d& ?2 \
  1797. ; substitute_character used when character cannot be converted: H* a  R6 e9 `  }
  1798. ; one from another; \- G- o8 D! D: O8 t$ n
  1799. ; http://php.net/mbstring.substitute-character& @# N' H4 Z" N, N  x' A6 n. |. s
  1800. ;mbstring.substitute_character = none0 g/ D2 q( w/ F' T

  1801. ( P( W; o- Z- R6 a4 }
  1802. ; overload(replace) single byte functions by mbstring functions.
    7 e+ K/ O8 N& m
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    " U* l2 f) b8 Q2 T% }
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    ) p% S8 f3 I# x8 u1 H; x+ @
  1805. ; For example, 7 for overload everything.
    6 z* c1 G: F% q/ {
  1806. ; 0: No overload
    % |2 f: q  }6 b# H
  1807. ; 1: Overload mail() function3 h. D" z8 ~& Z$ Y" S
  1808. ; 2: Overload str*() functions
    ( f; C- v) V, v
  1809. ; 4: Overload ereg*() functions
    8 S$ `. _3 r# @" X
  1810. ; http://php.net/mbstring.func-overload
    ( B3 p' u( o" ?; }& p
  1811. ;mbstring.func_overload = 0# m/ Y0 S: v4 U+ J- I
  1812. 3 Y! M; t! w- d( L. O$ l7 A/ ~
  1813. ; enable strict encoding detection.* S$ v2 b* }. E4 W6 I1 |% _
  1814. ; Default: Off) z+ ?7 r6 q" F6 C
  1815. ;mbstring.strict_detection = On
    9 B8 ~! _! Q1 h; [: B

  1816. + K  U9 G3 x0 k: R+ ?; N& \
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    7 W$ ]! o6 P9 j! [8 \$ v' B7 O. s
  1818. ; is activated.+ a. m$ s+ S9 g8 G
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)' \  p- k- }+ O
  1820. ;mbstring.http_output_conv_mimetype=
    9 i; o. s( N) F! l, y6 a

  1821. : l' k6 f& a1 a
  1822. [gd]
    ; c) e: e6 z5 ?" @
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    " [1 q8 ~5 i9 n
  1824. ; a gd image. The warning will then be displayed as notices
    # f% A" B( [* ^0 V* p% w
  1825. ; disabled by default% x. T' {2 h, E' Q0 E! \+ x) M5 g  |
  1826. ; http://php.net/gd.jpeg-ignore-warning: ]8 M: l# R: \* Q  O
  1827. ;gd.jpeg_ignore_warning = 0
    " d: C' P5 V" j1 l6 v

  1828. 0 A" O8 x( s) M( l
  1829. [exif]! B) S' ~5 t$ ~* @7 c3 @8 R# o
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    8 e, ^% W+ w! v" x0 v9 h( Y& h
  1831. ; With mbstring support this will automatically be converted into the encoding7 v/ B9 N4 S0 d$ U3 c+ ]
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding" @/ \8 G4 _/ T+ k
  1833. ; is used. For the decode settings you can distinguish between motorola and
    , d( `7 F6 x; ^9 i) w4 c' i
  1834. ; intel byte order. A decode setting cannot be empty.
    7 D* u, Z8 ~5 R+ h1 W9 G6 l
  1835. ; http://php.net/exif.encode-unicode$ M$ a2 G, l3 `& q' d
  1836. ;exif.encode_unicode = ISO-8859-15( v8 A8 ^, m, _% \8 G, G  e9 ~( l
  1837.   [- n' n4 a+ N9 r1 z! \9 ?, Y
  1838. ; http://php.net/exif.decode-unicode-motorola
    ( {) b' H2 F9 K& f
  1839. ;exif.decode_unicode_motorola = UCS-2BE$ E9 h0 s3 z$ U! v# V
  1840. 8 [) O4 a' M2 h, E3 p! \
  1841. ; http://php.net/exif.decode-unicode-intel
    & {( J. a; s/ s: V0 l- x
  1842. ;exif.decode_unicode_intel    = UCS-2LE2 t2 c2 C" ~$ @

  1843. . ~$ H0 }" Z- x0 [+ i; F2 R
  1844. ; http://php.net/exif.encode-jis
    5 G1 A* n. C1 c, Y7 \, t
  1845. ;exif.encode_jis =* {7 V3 k! Z+ `; A
  1846. 8 g5 d. K: D1 G
  1847. ; http://php.net/exif.decode-jis-motorola
    # \. h( A/ k- m4 r7 H
  1848. ;exif.decode_jis_motorola = JIS; B; Y- B/ K9 T6 z

  1849. $ {7 p2 o6 T+ h( }/ p3 ~1 L) |
  1850. ; http://php.net/exif.decode-jis-intel
    0 }, A8 R. d7 I
  1851. ;exif.decode_jis_intel    = JIS2 I$ f7 @- j- [) K; x

  1852. : e' O: Y+ G4 O& Z$ c. ?1 T
  1853. [Tidy]
    & S2 O7 b7 J! D1 z/ a* J! ^
  1854. ; The path to a default tidy configuration file to use when using tidy
    ! z; U" D2 \' I3 u* Y5 z& H
  1855. ; http://php.net/tidy.default-config% e! ~( Z4 t. d4 A; C# K8 s2 Y
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg' G0 M, L% G  W' _5 y: D6 ]

  1857. 9 g" h! o1 x5 d
  1858. ; Should tidy clean and repair output automatically?
    0 x2 X6 s: f& q9 `  E3 E7 W
  1859. ; WARNING: Do not use this option if you are generating non-html content
    7 O2 ^, K: r5 r1 Y6 F7 {% F) A* G
  1860. ; such as dynamic images8 A0 q1 P* a" h. _* K4 n5 i$ O* H/ w% K
  1861. ; http://php.net/tidy.clean-output
    1 D$ b+ l5 ?% s/ v4 R
  1862. tidy.clean_output = Off, b; F  P# v8 K  V# e" z

  1863. 6 [& w1 X2 r: Y8 S4 ?7 r1 ~! w
  1864. [soap]5 F1 u' l1 E0 j$ R$ Z  o
  1865. ; Enables or disables WSDL caching feature.2 o+ x& Y( B) }1 r3 ~
  1866. ; http://php.net/soap.wsdl-cache-enabled
    8 t1 V4 U4 H, ^2 _8 O2 g6 h# M
  1867. soap.wsdl_cache_enabled=1
    / k* f( U" Q4 p) R
  1868. 2 E0 ]* R! R/ {
  1869. ; Sets the directory name where SOAP extension will put cache files.
    * E+ n. i$ R: D9 H
  1870. ; http://php.net/soap.wsdl-cache-dir
      c& }/ I3 E0 Y6 |2 C- s2 O
  1871. soap.wsdl_cache_dir="/tmp"; w* p, s( _6 Y  s# ^; @1 }, x3 z

  1872. 0 Y7 O% V& P7 Y$ E$ d: N; v; Z
  1873. ; (time to live) Sets the number of second while cached file will be used% J4 ]0 d( @1 L. e* i
  1874. ; instead of original one.
    % t: K, |: `$ }* Z' j% G: ]/ F* w8 o" S" S
  1875. ; http://php.net/soap.wsdl-cache-ttl* x& }( z, n& E" ]8 n: N/ Q8 w) \
  1876. soap.wsdl_cache_ttl=86400
    , e8 G4 c3 u  p! D* Q" Q
  1877. - J$ g8 n. k/ ^+ o
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)1 W9 u. ~! J. n
  1879. soap.wsdl_cache_limit = 5
    " \* b+ w+ F. k0 S/ b

  1880. 6 _) R1 o3 `5 ^3 I- V3 a
  1881. [sysvshm]
    % r' ^( s' J' [
  1882. ; A default size of the shared memory segment
    % F8 R3 y8 D0 m9 ]# A8 g
  1883. ;sysvshm.init_mem = 10000
    & B8 s: B8 h9 O- T7 p% M; j
  1884.   A8 B  H. N0 L3 I. Z
  1885. [ldap]
    " _% [1 L1 P, {. ^4 ?3 ~
  1886. ; Sets the maximum number of open links or -1 for unlimited./ D- o, i$ i3 O" s3 i! n( U
  1887. ldap.max_links = -19 F- q, Z3 ]- Y4 _8 r; f, V( G. w

  1888. 5 i6 y6 C* @9 m) B0 A; u
  1889. [mcrypt]
    + e+ U* ?! ~. `) i% Q  y/ T
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open5 Z& m2 `; V6 F

  1891. $ f) p7 J" t  t
  1892. ; Directory where to load mcrypt algorithms4 N1 J% l/ _: O9 y
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)" O/ @3 [& y# e
  1894. ;mcrypt.algorithms_dir=
    $ E: Z1 {" P# ]: U# ~* k: f
  1895. " C) k( E6 T* R/ D0 \, k
  1896. ; Directory where to load mcrypt modes
    : l! C3 T0 `. Z+ H- t0 R% H+ @- s
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; r" O" R1 _( h- X  ~+ b' |
  1898. ;mcrypt.modes_dir=& F$ R: h' ^( a! B- S) |

  1899. 4 Q) E2 ~. I6 `7 r* _
  1900. [dba]
    7 ~' g, S; X7 S& Y  O
  1901. ;dba.default_handler=) e' l8 i6 c( C7 }# H" Y

  1902. 0 l2 x- i4 R5 ^" c& M. R
  1903. [opcache]
    ( Y; l! U' s& `2 I5 \/ |
  1904. ; Determines if Zend OPCache is enabled* w/ G1 ^* G' L. R  Y, i
  1905. ;opcache.enable=0; t: ]0 E6 k7 v( ~- G/ o

  1906. * q% P# @: {; _6 w& a, C' p9 W( p
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP0 e; T: C- T: B/ @
  1908. ;opcache.enable_cli=06 H, u% H) W" k% w% }
  1909.   W+ s, h0 c, }' F) G8 l2 q
  1910. ; The OPcache shared memory storage size.
    5 ]; O- e. E) ^
  1911. ;opcache.memory_consumption=647 p# [( b( E1 X  [( V2 |7 j8 c

  1912. - C$ d4 h2 ^- W0 a
  1913. ; The amount of memory for interned strings in Mbytes.. V7 c2 T1 f  `7 P) k' b( s
  1914. ;opcache.interned_strings_buffer=4) ]4 }1 I9 Q& |6 s: G
  1915. / s3 \/ t3 `0 o" f! H% o* r
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    - s& V; B7 W. M$ _
  1917. ; Only numbers between 200 and 100000 are allowed.
    , b& }7 ?# S4 a# ]9 R4 V' V
  1918. ;opcache.max_accelerated_files=2000& Z4 a* b( S% ], D6 W; y+ h& ~# I* [- G7 r

  1919. / F' j7 i- _4 n5 r  z9 v% P/ r: L) ^
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.9 L7 `, E6 l/ q+ G+ K' V
  1921. ;opcache.max_wasted_percentage=5
    . X$ H* B1 b7 y
  1922. 5 o: N. t8 D$ @# r/ v
  1923. ; When this directive is enabled, the OPcache appends the current working! Y2 q( L. E9 ?- `6 X9 A
  1924. ; directory to the script key, thus eliminating possible collisions between- A. t5 ^+ v7 N  f) C) t
  1925. ; files with the same name (basename). Disabling the directive improves5 R0 ~& v  r& z# U1 e
  1926. ; performance, but may break existing applications.0 ?7 q! q* B" H/ t$ U6 A
  1927. ;opcache.use_cwd=13 M* n2 R7 z1 R$ W8 z/ n2 X" p% b; ]3 C) ~
  1928. 2 s0 |& Z4 _$ n! W6 K: D4 F
  1929. ; When disabled, you must reset the OPcache manually or restart the7 W) m$ v1 P: z9 b
  1930. ; webserver for changes to the filesystem to take effect.+ J3 H5 x( A5 o
  1931. ;opcache.validate_timestamps=1, u3 T: z7 S6 g' u+ A' Y4 p, ?1 J" o
  1932. 6 ]; O/ I5 _1 O; E+ r, [
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    ! Z6 H) |" c6 z/ u( F, g0 ~  r9 X
  1934. ; memory storage allocation. ("1" means validate once per second, but only; M# c, W$ v9 [  Q. C7 D
  1935. ; once per request. "0" means always validate)
    * V4 E+ n4 S/ N& t4 I& g
  1936. ;opcache.revalidate_freq=2
    * r5 P) M) r; R1 k  T4 \
  1937. " t2 c. \4 T1 A7 f( W$ I( p
  1938. ; Enables or disables file search in include_path optimization+ I/ j6 n% o" |# T; Y% L( E
  1939. ;opcache.revalidate_path=0$ S8 w* W) n. T. J: }" y
  1940. 1 Q  c3 C* J" G4 o  p
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the  i! b1 D: F3 x; N: x- }0 ]
  1942. ; size of the optimized code.
    : b) u9 Q* l$ {3 ?* ~! E2 c! m+ g
  1943. ;opcache.save_comments=1
    4 [  [" N% p0 s& }5 S; \- g7 w& f

  1944. & C" W" O; F2 |6 D
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    9 D' K) ]& @( X- t  w( R! s/ Z
  1946. ; may be always stored (save_comments=1), but not loaded by applications, |6 j" ?+ @* k; N; x/ @
  1947. ; that don't need them anyway.
    0 c/ W9 Y5 x# @& ]
  1948. ;opcache.load_comments=1
    2 A1 X$ |% l8 y3 I, O/ h) V( I

  1949. 2 }# G3 h  Z) x
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    9 m) c2 E- I4 d8 r; l* I
  1951. ;opcache.fast_shutdown=0) p/ W* C5 Q2 H

  1952. 4 L+ F# e2 z! T$ u/ {' Q
  1953. ; Allow file existence override (file_exists, etc.) performance feature.9 O7 r3 A; I7 P* L& R
  1954. ;opcache.enable_file_override=0
    7 M- c( }2 `  K5 U% ^+ f  N8 a- ^. M/ U
  1955. ! T( o; h8 f; ~: g2 ?
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache9 g7 z4 U; e& X
  1957. ; passes& L2 k! h% H2 X
  1958. ;opcache.optimization_level=0xffffffff
    ' E2 `" n0 l2 o; K% j& J
  1959. 2 M  Z- j$ M8 }$ Z/ [3 A
  1960. ;opcache.inherited_hack=1
    * ]7 n6 k& @: n9 N
  1961. ;opcache.dups_fix=0
    - g2 f* q! C' f3 M8 `% l5 s! j$ ~
  1962. ; ]/ I7 s, I0 j8 H* B
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    & z# b+ N: Q% |) O- Q1 v5 Q$ a: R
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    $ M$ t6 t+ k+ ]$ n* R. Z: b1 @: L9 l! j
  1965. ; that should not be accelerated. The file format is to add each filename: V. K9 Y9 S4 u8 P0 V+ V; ?$ @
  1966. ; to a new line. The filename may be a full path or just a file prefix
    $ k6 u/ \" K# s
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ! k+ t" P# H% Q( n
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).! w  X% c1 S/ s, t
  1969. ;opcache.blacklist_filename=5 U2 t2 _$ E3 Z; p0 g0 F1 O
  1970. " a5 i" z; `* |. `! L6 {+ O
  1971. ; Allows exclusion of large files from being cached. By default all files
    : Z% B8 F- [4 g4 O
  1972. ; are cached.
    , R; O* J& f' L4 _7 ?' f
  1973. ;opcache.max_file_size=03 T8 i2 p5 Y4 ]7 P4 n+ s6 [
  1974. " _2 x& C, O% [
  1975. ; Check the cache checksum each N requests.
    ' _' e( u7 E& U8 l0 l
  1976. ; The default value of "0" means that the checks are disabled.
    1 W2 G( f$ @2 S% J+ }
  1977. ;opcache.consistency_checks=0
    ' ^: V6 n+ q& [. a" e
  1978. # T. R) W3 h( J3 m
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ' `2 X* e" Y( ]: m% B, D7 t0 T7 N
  1980. ; is not being accessed.
    ' Q* \+ {+ R( b
  1981. ;opcache.force_restart_timeout=180
    8 D3 J: t9 W4 K" ~+ T
  1982. # n5 \: t0 Y, r+ f
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    & ?2 r, ]' z. ]. b- ]% }
  1984. ;opcache.error_log=
    2 h! v9 U4 k# ]$ L5 \
  1985. / s# H+ c& j* t' S4 S5 ?2 Z
  1986. ; All OPcache errors go to the Web server log.
    : n& M- O  h8 P2 `; k. f: [
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.  @' e  J" ?* P5 g. E+ s# F2 e" S
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    9 b+ M% o, }% @1 n* I
  1989. ; debug messages (level 4).2 ^" H( s: R/ M2 R; ~
  1990. ;opcache.log_verbosity_level=1
    9 q2 {$ g. J# s- b

  1991. % s7 R2 q% m6 ^
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.. F/ J/ E; G5 r/ j+ x1 b
  1993. ;opcache.preferred_memory_model=& U6 ]0 L: r% w5 r
  1994. , ~# a4 R! R7 p. R9 f, h
  1995. ; Protect the shared memory from unexpected writing during script execution.+ j$ n* \% {* g" @& B
  1996. ; Useful for internal debugging only.. N& O2 f, F) J$ n! ~# U1 r
  1997. ;opcache.protect_memory=0. C( S3 {, |# P# r# ~4 V
  1998. - x; V- w& D' H- V* x$ G
  1999. ; Validate cached file permissions.
      U( I' b0 k' n  ^, ]' V
  2000. ; opcache.validate_permission=0) o  h" S3 U1 s
  2001. : B# E' U( x/ ?1 L- S
  2002. ; Prevent name collisions in chroot'ed environment.
    " |9 r& O$ h# E4 H, i! C
  2003. ; opcache.validate_root=0
    ; c" O/ D% I, ?5 G

  2004.   C& X# O0 t* p0 j* n
  2005. [curl]
    - f* t) s" o+ n( C
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    + x  j  J7 D) @( _/ s! A2 h  a
  2007. ; absolute path.& z' D5 b' d% r- b  b! v' R
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt" z2 T6 n, d  s( U$ P' J
  2009. 4 O* h% a6 [1 s: m, T+ k
  2010. [openssl]
    1 V; V- I8 F' C- C
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem/ x9 Z1 l5 y9 c: X0 N
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should$ Z6 a! e( G3 F0 ^, T
  2013. ; not specify a value for this directive as PHP will attempt to use the
    / [; |7 U2 T" T' R* m+ _; U
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
      p2 V9 U6 Y" r
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ( V; N4 Y9 d8 Y, m! S, _; c$ x& i* w/ h1 i
  2016. ; option.8 z5 }, B' H" ^+ ^4 _. h+ `) j
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt# y9 ?! `+ j" @/ \
  2018. * X, O* f" t! [6 @
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the* i8 _. W! @8 w# s) v( I1 Z
  2020. ; directory pointed to by openssl.capath is searched for a suitable: n7 t! u% ]0 ?1 h3 [6 _# c
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    : H$ q/ X% d$ j# b! z: H; H
  2022. ; Most users should not specify a value for this directive as PHP will5 Y/ n& r2 ^. S$ [( k% u
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,7 @0 H1 c, V+ u' l, C9 ?
  2024. ; this value may still be overridden on a per-stream basis via the "capath"# n& @$ R' X6 G7 I
  2025. ; SSL stream context option./ v  L' N1 J' ^5 J( R8 H0 A
  2026. ;openssl.capath=# o0 i- O; f- {) k( ^
  2027. 8 p' l6 |$ U' q# v9 H
  2028. ; Local Variables:# I, e6 D$ p. o/ u
  2029. ; tab-width: 4
    / g- T6 V. R/ r+ @3 k# ~8 b0 \" `  V
  2030. ; End:# n' Q. \; Z* G% s5 N% l, z6 R& t

  2031. / M% ?5 b( C$ t1 K
  2032. ;eaccelerator
    : a! F2 D/ h7 z3 u) V+ L
  2033. ) j% ^0 J9 Y! |4 {. I# g! Q
  2034. ;ionCube
    9 ]1 q8 u# o7 }; s

  2035. / I8 l. z9 ?4 `. }$ W
  2036. ;opcache
    0 l6 e! h3 \! f

  2037. 3 f' t5 f+ E9 ^' ~4 @/ I
  2038. [Zend ZendGuard Loader]# X2 P# g0 O# w3 X: ]
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so* \; S' h: g+ T# o/ O
  2040. zend_loader.enable=1% q% v& `5 g6 B4 ]
  2041. zend_loader.disable_licensing=0
    ' l4 F: Y2 B! Y1 [4 M6 A
  2042. zend_loader.obfuscation_level_support=3
    ! k$ }& d2 f" P
  2043. zend_loader.license_path=
    $ B' L6 \, p" i
  2044. + Q1 P! J* e+ M* M) b9 }3 f  e. U5 j
  2045. ;xcache
    3 I: H; o1 a$ q! b- q4 |& C
  2046. / b5 y' J) E; p0 z8 N8 w# n
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692+ f2 ]( l) k+ K. V

; }' @0 r7 O6 u; o7 ?
2 ^- i# F) P; Z& zDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,- ^( T3 s  ~$ q' f0 [

$ m- ^, |0 \) q# s  jDiscuz!程序版本选择:4 U$ s% W2 X+ C
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,9 W" W- a7 b: h4 f$ `
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
+ c) }& g- V. d% T# DDiscuz!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。  z: |6 _# n+ D/ \! ?3 N4 F+ L
$ m6 r6 x9 O' h( o) ~
Discuz!插件模板版本选择:, a; h, W3 B+ I1 `1 Z, J
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,9 G3 Q& i4 Q2 @& h  i" p' y$ i
针对这个问题做个统一的普及:
9 B# S6 S6 O/ Y- ~X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
+ ]" l1 A- {' w6 [7 Z" W, K; u$ C; C; _- c1 t& E, K( ~  g
所以: @$ _/ M4 _9 Z# ^5 r' T" h
适合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的二级域名。
) n8 C2 {6 f  f% ~1 m) V打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
/ E- N( k9 w* n5 C5 g2 l注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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