分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0( g! x  a) z/ V; J" y  _/ z9 ^4 A/ `

1 ~/ S- b: ?/ G$ Y
  1. [PHP]' X7 y' K  y5 N  X7 }

  2. ! u' ^# P! j5 y' Z! ~
  3. ;;;;;;;;;;;;;;;;;;;0 m0 d. u$ Z4 J) p+ J
  4. ; About php.ini   ;, ~! b& T9 r. m" @& `, ]
  5. ;;;;;;;;;;;;;;;;;;;1 J$ i# D& C: K: I; w. {* P
  6. ; PHP's initialization file, generally called php.ini, is responsible for5 A/ @/ b; v! z2 U# z. T
  7. ; configuring many of the aspects of PHP's behavior.$ g6 `) D0 \' U6 S8 F- h

  8. ' `  v$ ]2 m* F, F* X
  9. ; PHP attempts to find and load this configuration from a number of locations.
    + `' d5 G; M5 G( P0 k7 S8 W
  10. ; The following is a summary of its search order:; z7 U% L3 w6 y: ^. z. ?: o
  11. ; 1. SAPI module specific location.& E* ~3 {9 s2 K% _: m3 Y' ~
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ' L  K9 W8 Y- S6 L9 k3 U, U
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- m* Y! c1 C$ @& ?( D# F1 U7 Y7 O. N
  14. ; 4. Current working directory (except CLI)
    ! A. `2 V- U$ ]1 X8 J
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP* p/ B6 e3 h+ d0 q
  16. ; (otherwise in Windows)4 B* `! o" S7 e7 W% \' ]
  17. ; 6. The directory from the --with-config-file-path compile time option, or the( `: M  I, O1 E4 B! `+ A
  18. ; Windows directory (C:\windows or C:\winnt)
    ' `4 F4 U- k0 T8 b5 ^9 F
  19. ; See the PHP docs for more specific information.3 M+ X8 i! t& V
  20. ; http://php.net/configuration.file8 s2 q4 Y% w, q/ J6 ]: N0 u3 i: J3 e

  21. ! t9 `. s: k/ j
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ' ^$ C6 Q  x. \# j: q+ n
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ! _2 V/ n* O) ~0 E7 B
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ( Q  ?/ Z! V* e5 C
  25. ; they might mean something in the future.2 _! M7 F' f" B
  26. : V' }# \! X- N, }2 [6 b5 `1 |7 ~$ |
  27. ; Directives following the section heading [PATH=/www/mysite] only
    0 y* e. R* Z9 f& y7 _+ g, n0 G
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    / K5 }( c/ q$ F2 ]! W
  29. ; following the section heading [HOST=www.example.com] only apply to: D2 }; Z( J* w4 }1 @9 W1 f) ]
  30. ; PHP files served from www.example.com.  Directives set in these
    7 T& A" X; Z. m7 M9 \
  31. ; special sections cannot be overridden by user-defined INI files or! R, w! x6 [! A
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    " M, F6 @+ ?  T* r
  33. ; CGI/FastCGI.  d/ l3 a# f7 `6 c1 P' w
  34. ; http://php.net/ini.sections
    , N8 B+ y" o+ C# J' I5 e

  35. / W3 @6 Q6 q* ?
  36. ; Directives are specified using the following syntax:
    * ]# H6 P9 D2 s( Z1 u
  37. ; directive = value
    . |8 i" Y0 B1 Z  \/ M; ]4 C. P
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    " r" {- e5 f+ f8 X9 N1 H8 w8 w
  39. ; Directives are variables used to configure PHP or PHP extensions.
    , D! z( c  W  z( B1 A  ?( D0 u
  40. ; There is no name validation.  If PHP can't find an expected- X* l: c. t5 b& `0 X
  41. ; directive because it is not set or is mistyped, a default value will be used.* y$ q7 A! i( ]3 ^0 Y5 \# i

  42. $ h/ L: L8 P& K4 K( y
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one# z( p/ l. \  Y6 w( A- V3 X0 @8 e
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    4 H9 l; Y& t9 ]
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    7 W( `5 L/ h6 Y9 {9 w. h
  46. ; previously set variable or directive (e.g. ${foo})! X, y5 I- J& H  J
  47. # Z. F* w4 m3 v$ d1 p
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:- `! Z! g, [0 j& v  {& s' t' R) ^" H
  49. ; |  bitwise OR% w% Z# X  x8 D: L! P
  50. ; ^  bitwise XOR& Z4 F( c. x: g, j# J' I- c7 a
  51. ; &  bitwise AND
    $ g* E* \2 G2 e1 p
  52. ; ~  bitwise NOT
    ; L4 P4 W# }3 [8 o5 _
  53. ; !  boolean NOT
    4 Z! X" [, ~4 {% F& A$ Z2 C
  54. 6 g7 l! z* l) d1 n1 b( U# [; {
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ! U$ c# j; G: R* A
  56. ; They can be turned off using the values 0, Off, False or No." c) N' n& ?: N" g( v
  57. 1 o1 ^, P0 x/ x' _
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ! E$ S! Q$ Y! s! M9 ?
  59. ; sign, or by using the None keyword:5 g$ {9 ^- O" E

  60. # H: q; m5 r6 t) g& x8 _. `
  61. ;  foo =         ; sets foo to an empty string% m+ ]+ X" b( D" N( ~/ H
  62. ;  foo = None    ; sets foo to an empty string- l! x" `. l2 x: ]
  63. ;  foo = "None"  ; sets foo to the string 'None'7 u( ?2 f8 [: ^! Z0 F2 t2 x
  64. ; l3 O) V# H5 |9 ], _! t
  65. ; If you use constants in your value, and these constants belong to a2 E3 Y5 j$ q6 b! q$ \/ a2 p
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),0 q# @% _5 p6 Y5 C# U
  67. ; you may only use these constants *after* the line that loads the extension.
    , X  L4 S' B" F" g5 ?
  68. ( I% B6 s+ ?' w! ]7 C. j4 f% }
  69. ;;;;;;;;;;;;;;;;;;;
    ( E" M- E" _: s  z
  70. ; About this file ;
    5 C. \% J) O5 A8 D1 i) p9 R
  71. ;;;;;;;;;;;;;;;;;;;# o% d* k' ?' y' d1 {9 G
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    9 F  R9 r4 q) G  f8 v3 i
  73. ; in production environments and one that is recommended to be used in1 e* ]! h, @- I3 ^/ I3 W( @
  74. ; development environments.3 f& \/ w; m+ E' k( T
  75. + {% A) P: d/ U6 Y3 w0 Z/ {: y6 U
  76. ; php.ini-production contains settings which hold security, performance and! ^0 n8 [: o  C7 Q, V/ r$ d
  77. ; best practices at its core. But please be aware, these settings may break
    5 R2 r8 c8 ?9 T
  78. ; compatibility with older or less security conscience applications. We9 c" @4 Y- z- N) j
  79. ; recommending using the production ini in production and testing environments.
    , ^, c+ I' `4 D4 z& I, }& S3 N

  80.   u6 c- X- q7 N7 h
  81. ; php.ini-development is very similar to its production variant, except it is
    ! L. R% b; }( p! h
  82. ; much more verbose when it comes to errors. We recommend using the
    . r6 `$ H6 ?  D1 m) X
  83. ; development version only in development environments, as errors shown to/ I- Q( j& T# O. _4 {; `: p$ |
  84. ; application users can inadvertently leak otherwise secure information.; ]$ z8 W$ {- j9 c

  85. 4 @$ a3 x) `) T! l; u
  86. ; This is php.ini-production INI file.
    3 z; d- ~( p# [

  87. ) s+ s5 g4 t0 X" X9 j4 j0 X
  88. ;;;;;;;;;;;;;;;;;;;( ~$ Q/ s6 u' L% o, ^( v% s
  89. ; Quick Reference ;
    6 A* P; W; s7 ]7 t& M
  90. ;;;;;;;;;;;;;;;;;;;7 [$ c0 P6 J! z6 }( U
  91. ; The following are all the settings which are different in either the production5 C" b/ K8 B5 N( i
  92. ; or development versions of the INIs with respect to PHP's default behavior.# v8 F* ^$ j8 c/ ]  I  ?' _* X% a1 |
  93. ; Please see the actual settings later in the document for more details as to why
    , B! {: I( M+ v6 K
  94. ; we recommend these changes in PHP's behavior.0 U5 z  ?6 c4 Q: E& w3 V1 M$ @' T" @

  95. # I9 t4 F8 j- u3 e; x" {
  96. ; display_errors% L$ u; u2 Z9 N% z/ N9 j
  97. ;   Default Value: On9 z0 V7 z$ h" H- Q5 j/ _" u, S+ R2 {
  98. ;   Development Value: On& k  I" t. P1 w) ]# U3 h
  99. ;   Production Value: Off
    3 ]1 [2 y+ a1 {; r0 [% L. E( X

  100. 4 j  L, l. X3 J5 e; K
  101. ; display_startup_errors/ k) Q3 E+ q& s2 {% y; H
  102. ;   Default Value: Off
    0 d: h7 H* i6 ~
  103. ;   Development Value: On/ f8 w' i! ^7 F  g9 ]
  104. ;   Production Value: Off5 Q, p1 Z4 R% m* d# ?) z5 ~

  105. ) h" T+ N) H9 N- q+ G/ x
  106. ; error_reporting
    0 s$ d' X0 _: z8 {
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 x0 H5 e! w* q
  108. ;   Development Value: E_ALL7 |, {2 u# {2 I
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    0 E. D' Z2 ~, o4 W7 T6 g* y: R0 [

  110. 4 s9 J) r" n7 _1 Z- k' M
  111. ; html_errors4 K  y* ]) F9 \, [" `
  112. ;   Default Value: On2 ^2 b% R5 Z# w# J: h
  113. ;   Development Value: On! s1 W& ?" @% X# ~  A# @  w' U
  114. ;   Production value: On
    ' d1 \  V! j- u+ T7 N' `. ?9 K0 u

  115. $ l! P+ a9 o: y. q; o4 h' R6 `
  116. ; log_errors5 v2 D* k4 N+ v( i+ N: S& x
  117. ;   Default Value: Off& y) c9 `+ g$ @/ j' n* \% C8 P. ^
  118. ;   Development Value: On
    ( i7 B' j( U% \) s( L, b- j
  119. ;   Production Value: On
    $ t# |; `# Q1 C& s4 \& P

  120. ; i- j7 x! Y/ o3 B8 E+ {
  121. ; max_input_time! w# Y0 T: [5 y& K: V: D4 N' l0 v
  122. ;   Default Value: -1 (Unlimited). U5 T; e! {! z/ N
  123. ;   Development Value: 60 (60 seconds)) Y& [1 O% P1 \! t! M0 J
  124. ;   Production Value: 60 (60 seconds)5 [: {& i- R( [7 q: g( X" k
  125. 2 Y1 c) O: U' V$ i+ J
  126. ; output_buffering2 m- P2 S( U4 T( g9 |
  127. ;   Default Value: Off
    7 U! j/ G5 K  \4 |$ Q9 c
  128. ;   Development Value: 4096' J0 P, I. g/ ~; B
  129. ;   Production Value: 4096+ r- x$ X  @, @9 E
  130. ( L6 x' |2 k/ w( x
  131. ; register_argc_argv. `5 p9 D& s( G9 {
  132. ;   Default Value: On: [9 }. I8 R' f9 W, n: [5 }- A
  133. ;   Development Value: Off
      Q  g5 t, K  T8 s2 x7 [
  134. ;   Production Value: Off
    + I4 C+ i# B) ?" S1 [$ S8 \) V
  135. - J% X6 ?0 g# I1 s" N
  136. ; request_order/ ]7 N2 O! }% E% u' ?0 v
  137. ;   Default Value: None
    # D) C# ^: L" Y' R0 J7 O2 K
  138. ;   Development Value: "GP"! P6 c8 }* q+ a4 o# ?4 A6 _
  139. ;   Production Value: "GP"6 c' B! {6 `. b" |+ X! Q- o
  140. / ?, V! A8 ^3 K4 p9 W( H
  141. ; session.gc_divisor3 g+ G# [/ b9 h# ^, J7 Z) ~. F% E, Q
  142. ;   Default Value: 100$ E! x; o+ [% T9 R1 ^
  143. ;   Development Value: 1000, i9 Z0 k) d& i* j
  144. ;   Production Value: 1000) I. S  \  l! m7 ], x0 ~: m

  145. " K' `8 t. ?5 }. }6 _2 w. Y, ]0 }
  146. ; session.hash_bits_per_character6 `) q7 j  Z2 s: w
  147. ;   Default Value: 4
    - i& J: l& u  c8 n( ]( P# M3 [
  148. ;   Development Value: 50 @, j9 R! \" n# N8 A+ t
  149. ;   Production Value: 5# T+ p2 M* F; u) o# P

  150. 0 Z$ H/ `% I) w8 T
  151. ; short_open_tag
    ( Q* q& J; D2 P, E& X! m7 G
  152. ;   Default Value: On
    * z% _/ r; R. e/ Z  o1 E$ {
  153. ;   Development Value: Off
    ( ?. z5 k* @, j+ n" [
  154. ;   Production Value: Off
    $ K2 q7 E# r8 y4 U
  155. & P6 b! R! w7 u- q! z" S
  156. ; track_errors* B  D$ i7 n* b+ @2 |( J1 Z
  157. ;   Default Value: Off4 o( H9 f7 C  _0 R4 B: f& E6 C' ?
  158. ;   Development Value: On
    8 F9 ]$ j( `2 v0 X5 u" {
  159. ;   Production Value: Off
    % j6 k4 q2 M# A4 j

  160. + l# |4 S5 D+ \6 u
  161. ; url_rewriter.tags0 F, o4 K+ l( a  B6 @& E
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    0 Z/ A' ]7 L( k# i, d& t
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 k+ p4 c, t' R8 D( r# H
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" x% p; I3 O( @* R+ I9 M

  165. , ^  \; I3 c- F9 Q' T6 n
  166. ; variables_order% B, j9 }9 l/ H( {; q. ^0 g0 E& _
  167. ;   Default Value: "EGPCS"
    , d, z# ]& w0 R* v7 T  y" ~* \3 l
  168. ;   Development Value: "GPCS"
    " J# [: M* Y2 x+ o! _  k1 {
  169. ;   Production Value: "GPCS"7 `1 E. E) z+ P2 c+ r6 j) v

  170. : D2 V. u6 P/ t
  171. ;;;;;;;;;;;;;;;;;;;;4 d8 Y4 k3 \% i5 z2 j. _
  172. ; php.ini Options  ;) j: n3 {- h. D) i8 ~
  173. ;;;;;;;;;;;;;;;;;;;;
    + _. a" A8 Y; H- y
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"7 t* [6 ]' b$ e* p; \4 a: l% `
  175. ;user_ini.filename = ".user.ini"
    8 R" y& a! q6 O  B1 q1 E5 L5 ~) ~2 R
  176. / `; G" \9 N2 v5 B" o/ }
  177. ; To disable this feature set this option to empty value
    ' H& i, J- c( _
  178. ;user_ini.filename =3 ^+ k- c7 U! u! }, H

  179. ; `& a% [4 h( H& {  V4 k
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    5 N" H; F. s. L& Z& x& Z
  181. ;user_ini.cache_ttl = 3005 W3 G2 F5 }& n
  182. & E( P$ M" ~# W- M2 F
  183. ;;;;;;;;;;;;;;;;;;;;1 S. ?- I" W4 Y3 a( ?! r
  184. ; Language Options ;
    * |+ Q3 L4 e! M4 c( o$ G
  185. ;;;;;;;;;;;;;;;;;;;;( d- W  Y8 h2 e) z' [" T9 M
  186. , w+ X$ u: U7 F; C
  187. ; Enable the PHP scripting language engine under Apache.8 F; [0 ^* u; ^
  188. ; http://php.net/engine
    ) Y/ V9 V  F4 E- }/ E1 A5 R
  189. engine = On* m% W# E' }$ r$ u

  190. 6 K! U: y" ?% P7 r" _1 ^! P' T, t
  191. ; This directive determines whether or not PHP will recognize code between' t" m% F& s2 i. j3 H/ j+ N3 ?
  192. ; <? and ?> tags as PHP source which should be processed as such. It is, Z1 H) s; E: H: s
  193. ; generally recommended that <?php and ?> should be used and that this feature8 @, b) F, _1 T8 |/ L
  194. ; should be disabled, as enabling it may result in issues when generating XML
    . i% ~3 T  l. N2 p/ `4 Y' n
  195. ; documents, however this remains supported for backward compatibility reasons.# v3 p$ I" t# J; K) e
  196. ; Note that this directive does not control the <?= shorthand tag, which can be. M7 l- O7 c, K( o) Y" K
  197. ; used regardless of this directive.9 d& h, m% p& F9 w7 X" Q
  198. ; Default Value: On
    , w5 H3 [& ?' r9 b5 a( I7 w& `
  199. ; Development Value: Off
    / s$ S; H  |7 O1 @. m
  200. ; Production Value: Off6 X% i6 F2 \& _% u
  201. ; http://php.net/short-open-tag
    - e6 U5 |, a8 a" N9 F: f6 a
  202. short_open_tag = On
    4 b: i6 H6 |; }5 i
  203. & |  K% n. x# B/ @- I+ _8 b4 s
  204. ; The number of significant digits displayed in floating point numbers.1 N' k3 E: R# ]# C
  205. ; http://php.net/precision- C; D3 [) a( U
  206. precision = 143 U, v) e4 x1 `. E+ W  \

  207. " v- \! E. I" c. F% p
  208. ; Output buffering is a mechanism for controlling how much output data; ]  N) F. B+ U9 O$ J
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that( m  {) B7 L7 P5 I
  210. ; data to the client. If your application's output exceeds this setting, PHP
    ( o6 o2 b( l$ D& x+ Z. D
  211. ; will send that data in chunks of roughly the size you specify.
    + t% d$ f  o3 c# B0 ^3 V4 }
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    . s$ \& h- W0 W% q( d; O' e
  213. ; interesting side-effects depending on your application and web server.
    1 o- L* d, x% x# ~. ]$ [$ z0 `
  214. ; You may be able to send headers and cookies after you've already sent output0 k( P3 H% ^9 R' z  F3 j/ J+ \* }5 [- K
  215. ; through print or echo. You also may see performance benefits if your server is
    % u' i+ p( \' V
  216. ; emitting less packets due to buffered output versus PHP streaming the output: y/ d& K* d5 q/ ?1 w- z
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    7 y, R0 v# ?* t8 r# y
  218. ; reasons.
    9 _$ ~0 m2 p# [- B
  219. ; Note: Output buffering can also be controlled via Output Buffering Control/ U- D+ h3 `) Z% |! \0 T7 \2 t7 p
  220. ;   functions., M! l" O6 ^. i: H1 G% G' A6 ]  b
  221. ; Possible Values:
    6 s; Y& n8 E' ?2 g: N/ M+ T* t
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    : U% j9 i" ]  Y2 R9 D( \
  223. ;   Off = Disabled, T  d) X: p  R4 h$ H4 ]- O
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes., r- `, c( t' j& b" e% _9 a
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    " b/ {2 ]1 A, j- C9 N
  226. ; Default Value: Off
    1 L+ k3 [+ a' Z
  227. ; Development Value: 40968 {4 }; O6 p$ q& i6 U
  228. ; Production Value: 40966 X) X8 Z# }; F
  229. ; http://php.net/output-buffering
    # [6 s! T' P' m9 B3 U6 o1 q! l
  230. output_buffering = 4096) ~6 E8 d$ @. x9 E6 N9 k# O

  231. * u6 S& H4 n  e5 O; Y
  232. ; You can redirect all of the output of your scripts to a function.  For
    1 q' X8 C$ z$ P9 a' D
  233. ; example, if you set output_handler to "mb_output_handler", character; X& Z5 Z& N: d' }1 O
  234. ; encoding will be transparently converted to the specified encoding.
      X/ q* T) K0 U: W5 U
  235. ; Setting any output handler automatically turns on output buffering.2 X3 Z. W/ a( _1 m- l
  236. ; Note: People who wrote portable scripts should not depend on this ini
    $ \" B2 G6 W2 I8 d* I! j) E- z
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    1 F9 c5 N5 V/ `9 l
  238. ;   Using this ini directive may cause problems unless you know what script# V& [" A3 b2 O* a5 B4 `* q& x
  239. ;   is doing.
    : K; [" Z" J& p. H  y8 H
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"# G. c3 J. Z9 `8 K/ x7 H/ j
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".0 e* ?, c+ R' J# L2 R# `
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    * T, n4 U) Q  z
  243. ;   Instead you must use zlib.output_handler.
    * |9 C# }( B6 Q6 [  K9 _
  244. ; http://php.net/output-handler
    0 N' K+ \9 E4 L* a; e
  245. ;output_handler =8 ~2 L) b$ v- \, o0 c: w6 @

  246. 4 J$ l9 ?4 I/ y: s/ A7 |5 d
  247. ; Transparent output compression using the zlib library
    " W; B( [  B3 ~
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size5 B- W" d6 k( Q2 h( W9 B  W9 F
  249. ; to be used for compression (default is 4KB). u5 O3 b5 K7 ^9 z' U( a
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    6 [: y5 [8 Q7 y9 m: U. o2 R0 m
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    9 H1 P* U* k% b. j
  252. ;   compression. If you prefer a larger chunk size for better
    ( R8 d, s: y; C' l( n; k0 ?
  253. ;   performance, enable output_buffering in addition.! A# [, U% k( M) U& ?$ B
  254. ; Note: You need to use zlib.output_handler instead of the standard
    & W5 w3 p) N8 H+ J6 ?" j+ o0 N
  255. ;   output_handler, or otherwise the output will be corrupted.
    6 ^$ d; x, v5 i! z) Y
  256. ; http://php.net/zlib.output-compression7 ]( S. L) S4 R
  257. zlib.output_compression = Off
    . o  c: x% ?6 m" p8 h7 o

  258. / B8 ?4 Q( T% {, j" g, G! m, c: F: B
  259. ; http://php.net/zlib.output-compression-level
    7 V; `2 }* ]) K4 P' o
  260. ;zlib.output_compression_level = -1/ Y/ X. b* Q2 ~% I+ i; S

  261. 7 ~$ ]4 S  J) y- ^- Y% U
  262. ; You cannot specify additional output handlers if zlib.output_compression) A9 X9 l0 ~: A5 x) X; j( r
  263. ; is activated here. This setting does the same as output_handler but in3 {2 K# J4 ?# h, N
  264. ; a different order.: h# N; v9 y1 s5 I  J
  265. ; http://php.net/zlib.output-handler
    * C1 `' I$ s7 @. ?
  266. ;zlib.output_handler =/ L+ F& b' o2 X

  267. , A* @7 p( M3 j$ ?, h- K
  268. ; Implicit flush tells PHP to tell the output layer to flush itself' S/ }7 u/ V! s! N5 Z# Q
  269. ; automatically after every output block.  This is equivalent to calling the
    * Q. ^- G! H$ R  P! I/ w
  270. ; PHP function flush() after each and every call to print() or echo() and each. Z9 K9 D7 o+ |
  271. ; and every HTML block.  Turning this option on has serious performance
    8 a; u5 P% H% ~! L% \
  272. ; implications and is generally recommended for debugging purposes only.
    7 O3 V" {: R7 a3 |% Y3 K
  273. ; http://php.net/implicit-flush
    4 J2 G' R/ c- q6 m/ b
  274. ; Note: This directive is hardcoded to On for the CLI SAPI) a/ ^# \( [1 U" d  k: P8 \7 E
  275. implicit_flush = Off: j" b5 |3 w: n( S0 b  q

  276. $ G! }# B/ X$ _# g
  277. ; The unserialize callback function will be called (with the undefined class'3 k6 o3 l( e# Z" A( L
  278. ; name as parameter), if the unserializer finds an undefined class9 e3 s& }1 Q8 u1 f/ q6 o
  279. ; which should be instantiated. A warning appears if the specified function is1 k) e8 N0 Q* Z: J% I1 q( ]
  280. ; not defined, or if the function doesn't include/implement the missing class., l$ c2 C1 F, O8 ?* P: y) K
  281. ; So only set this entry, if you really want to implement such a5 n( K( y+ @1 u2 I4 @  i
  282. ; callback-function.
    ! M6 g# C# s3 |5 h. q" ^2 d
  283. unserialize_callback_func =9 \8 U: H3 V3 H2 P/ ~9 _" E

  284. # {  F# A1 {8 R
  285. ; When floats & doubles are serialized store serialize_precision significant- X' p: k3 M1 G3 z& L, }* }' W
  286. ; digits after the floating point. The default value ensures that when floats8 U# U6 L, w1 W' q
  287. ; are decoded with unserialize, the data will remain the same.0 b6 w9 g/ a; U/ Z+ `3 W
  288. serialize_precision = 17
    ) c7 M# l% d. D0 R, ^/ Q3 S( h
  289. 6 E% E1 Z- v9 h' n8 |! k) w
  290. ; open_basedir, if set, limits all file operations to the defined directory
    8 N+ H% X( ~: v. M
  291. ; and below.  This directive makes most sense if used in a per-directory
    ) z5 J0 H1 y9 N6 [4 {" O' k. y" |
  292. ; or per-virtualhost web server configuration file.
    0 s) L$ Y% o8 i" d5 z- L3 F
  293. ; http://php.net/open-basedir3 D9 w) [8 L1 q) S
  294. ;open_basedir =
    ) Y: [9 p3 ~' |3 \9 T& ?

  295. ; X7 c0 B: o  B  X7 `$ h
  296. ; This directive allows you to disable certain functions for security reasons.
    6 C' U5 G. @* U3 U, ]& x5 u
  297. ; It receives a comma-delimited list of function names.) ?) G0 y9 T; k7 U
  298. ; http://php.net/disable-functions
    5 N7 X" x$ r( J  Q6 G4 Q- _
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    : x" w  Z3 e$ \" M& X, h8 W
  300. 8 S8 `( ?3 U4 ~
  301. ; This directive allows you to disable certain classes for security reasons.
    % O$ n8 J% U+ r! m$ t
  302. ; It receives a comma-delimited list of class names.
    1 P% U' p/ W5 n- f9 }; j5 T1 h
  303. ; http://php.net/disable-classes
      q2 {( G; L: c; F7 q
  304. disable_classes =  Q; g: q/ O: u' S% u

  305. . b- A  ^3 e1 v9 J, |
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    % E) L, B" j! {0 x) L0 J& p5 U2 s
  307. ; <span style="color: ???????"> would work.
    & }7 S) ]; ~; q% l' ^% ?5 ~
  308. ; http://php.net/syntax-highlighting( q& m6 V7 K. I, Q
  309. ;highlight.string  = #DD0000
    , W& [6 O* R# E/ i" [' r
  310. ;highlight.comment = #FF9900
    5 i5 b4 g" q0 X$ c
  311. ;highlight.keyword = #007700& F6 r  u/ `: v! c
  312. ;highlight.default = #0000BB: [$ v5 F4 ^/ O5 M
  313. ;highlight.html    = #000000+ `% g3 ~' u: M& Y4 N, D7 Q

  314. $ o8 A( ~4 O1 I3 y
  315. ; If enabled, the request will be allowed to complete even if the user aborts( N0 v; J9 s( q2 ?+ x8 C
  316. ; the request. Consider enabling it if executing long requests, which may end up/ d! v8 P& ]9 ~- K
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior. z# ?# {4 B( i, l
  318. ; is to disable this feature.
    : ]7 w! |0 X3 L7 f
  319. ; http://php.net/ignore-user-abort: T  @) n; S4 p9 T! K/ l% ^
  320. ;ignore_user_abort = On& g4 o4 u$ k0 h1 \4 Y
  321. 7 j. d% _6 z/ j9 l
  322. ; Determines the size of the realpath cache to be used by PHP. This value should: g. f  u4 [, }+ b& o$ I
  323. ; be increased on systems where PHP opens many files to reflect the quantity of1 p. d0 A. X3 X! S% C0 t
  324. ; the file operations performed., j" v3 W* X- d0 B+ s- u. r
  325. ; http://php.net/realpath-cache-size" r2 S4 T. o: \9 h, \
  326. ;realpath_cache_size = 4096k" a, S6 R" f; R# k, F
  327. $ J% s  O7 I1 ^' F. U. S7 G, M. K6 j
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    3 R& g- w; O7 X9 R& A9 \( c3 B. R
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    ! G# U. y" n. s/ z. J7 o5 g$ |
  330. ; value.
    ; \% g" o* n: m' V0 g4 Y- D
  331. ; http://php.net/realpath-cache-ttl
    8 d  k' ]7 h) W" W4 y1 Q+ T
  332. ;realpath_cache_ttl = 120
    $ _0 r) C7 n0 l4 [7 [
  333. ' v0 v; G1 O! u8 d& l2 w
  334. ; Enables or disables the circular reference collector.
    & C' E, J% X0 f- Y) E8 Q
  335. ; http://php.net/zend.enable-gc. W) k6 @' u" g9 d: M0 O( y+ N8 N5 Q3 _: I6 N
  336. zend.enable_gc = On8 M! _' u! n& Z- x/ a2 S
  337. ' _- A2 H4 x5 x
  338. ; If enabled, scripts may be written in encodings that are incompatible with0 j& E& J+ ?4 P4 V
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such5 \; @3 ?) o  N
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ; s3 S# g$ A# {: q/ d4 h- D
  341. ; Default: Off
    0 e5 |* k( ?5 T
  342. ;zend.multibyte = Off
    8 O& j) E* ^/ k& h, v! W
  343. " r9 Y& t5 Y: ~9 z$ g5 q/ l% }
  344. ; Allows to set the default encoding for the scripts.  This value will be used! H+ N3 f0 ^5 ]5 d$ C7 j
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.! z, v3 W/ H; I2 q" B/ V8 \
  346. ; Only affects if zend.multibyte is set.% P" S8 i/ H7 ~, y6 b) h+ s" ]# o, A% R
  347. ; Default: ""
    " _9 i. \& F, a( L  S3 ^
  348. ;zend.script_encoding =
    6 w2 p) X2 a- X/ v+ a% y" }
  349. 8 o& V) c& c; B8 P8 B* @* T9 `
  350. ;;;;;;;;;;;;;;;;;0 k, k; D6 Y1 [+ }
  351. ; Miscellaneous ;
    & d6 a; I; v# h% L6 i8 z5 M; t
  352. ;;;;;;;;;;;;;;;;;  i! `9 C: u0 E# ^. b1 \6 F( q5 ?
  353. : E; h  w5 Z/ Q0 g; D8 f
  354. ; Decides whether PHP may expose the fact that it is installed on the server3 J" F. M- c: u( w& r' s3 S' d
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    5 ^2 _; E! l/ r! x" @# G* a3 b
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    2 E1 a) e. e1 a) C8 e
  357. ; on your server or not.
    * P, A5 W! ?$ |, O0 _+ ?
  358. ; http://php.net/expose-php
    # K, G9 P0 h$ m$ q0 O/ ^
  359. expose_php = On
    ! g/ H( h1 S! \# Y

  360. : E8 i" L% ^% _; B( y
  361. ;;;;;;;;;;;;;;;;;;;# Q# W- F4 r5 C! \
  362. ; Resource Limits ;
    5 x. m2 ^8 L7 ^! x- Z$ z6 R% M, a
  363. ;;;;;;;;;;;;;;;;;;;4 E( H/ v( V( H" l8 k4 R# {4 b

  364. : l0 I4 T5 y8 Y$ A' h2 |$ S# b
  365. ; Maximum execution time of each script, in seconds: M1 B1 n# }( s- B7 C- n2 U9 k3 E
  366. ; http://php.net/max-execution-time/ w* h5 p; P( S( b
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI: I& O- W+ B2 @0 ^# [% G3 T5 D
  368. max_execution_time = 300
    + w0 o- v  v5 }- x, @, B$ o! v
  369. - }0 h# T6 r. g, _9 `6 d
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    2 n& F2 A1 [* ^9 B  ?$ }& o9 J
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ; {3 Y5 Y4 T5 X  F& b) E
  372. ; long running scripts.# }7 X+ O- r9 \+ g
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    4 ?  _; q. O3 I1 ^; q$ N' m
  374. ; Default Value: -1 (Unlimited)
    ) r3 V# w5 _. }9 K; x
  375. ; Development Value: 60 (60 seconds)( m8 q: d2 ~1 U  ^( g* D/ s6 ~3 r
  376. ; Production Value: 60 (60 seconds): W% ?- ^3 V8 {) P8 e
  377. ; http://php.net/max-input-time
    # |! z% q7 }, r  z' @$ w% J, V0 ?
  378. max_input_time = 606 f% c2 W2 a/ z, T9 ]
  379. 0 f' J" q4 g) \7 D6 C
  380. ; Maximum input variable nesting level9 c5 F# h! Y: _
  381. ; http://php.net/max-input-nesting-level
    - [$ P* G" I' s+ Y
  382. ;max_input_nesting_level = 64' l) k/ y& F+ x3 ]3 w: I

  383. 4 @6 H/ w1 X) M6 W* X% R- a
  384. ; How many GET/POST/COOKIE input variables may be accepted* T# x. b) t' ]9 z# G4 ?
  385. ; max_input_vars = 1000" {! ^- \, c' E; z0 N/ ]. F% Z9 g* ~
  386. 2 I$ u, @  _' x: [* q) V) i; [! A
  387. ; Maximum amount of memory a script may consume (128MB)' ]4 N/ |  }3 Q8 {9 q, K
  388. ; http://php.net/memory-limit0 Z5 E$ S1 x  m. ?
  389. memory_limit = 128M% ?8 s" w$ A0 J: x/ J4 a. c# e

  390. - H/ g' i$ p) h% V+ y
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ o4 P: w: o' m2 o
  392. ; Error handling and logging ;8 B" ]5 P5 q4 F) x* ^3 I6 `+ R2 A
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $ S- Q0 d$ |5 M

  394. ) P. S, j, m" x0 K2 t
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    0 k4 n6 a% J0 ~( |! ^5 M9 u
  396. ; it to take action for. The recommended way of setting values for this( p9 C. T& k9 O2 ~( H, Q
  397. ; directive is through the use of the error level constants and bitwise  G* |4 Q  Y( ?$ T1 {
  398. ; operators. The error level constants are below here for convenience as well as
    : O  z% Q5 d  I* e# x. a' u
  399. ; some common settings and their meanings.
    ( h; R. K9 a3 `$ |6 y9 Y& n
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT9 D# [& `7 u9 ~; i
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and6 P# c- L, P' e2 P& z
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    # G: I4 u1 _5 ~% l
  403. ; recommend error reporting setting. Your production server shouldn't be wasting9 ^4 @' L- C9 |2 x" Q! D% E" s
  404. ; resources complaining about best practices and coding standards. That's what' O( P( M, Y2 ^% U
  405. ; development servers and development settings are for.$ l1 ~7 M' D( X5 ^2 \; ]  z
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    % _0 W% M' s, C
  407. ; means it pretty much reports everything which is exactly what you want during
    ; ^/ Y3 o# a+ x3 c: \
  408. ; development and early testing.
    6 B7 q- _6 e) I; K0 l
  409. ;6 x+ f  i# E5 j  L
  410. ; Error Level Constants:. o7 [- y+ T, C/ d5 x( U' F
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)* f# n7 q7 y2 d# {0 j
  412. ; E_ERROR           - fatal run-time errors
    & r* D6 h# J4 ^) H6 V) `- k
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors+ M6 u* M& w& W5 [- s$ M" R
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    ( C1 z0 v7 T& w/ u
  415. ; E_PARSE           - compile-time parse errors0 x- D3 F$ l8 Q
  416. ; E_NOTICE          - run-time notices (these are warnings which often result! v8 {' Q/ N2 ?& ]# K9 t9 I
  417. ;                     from a bug in your code, but it's possible that it was+ \' o& m5 h7 |  D
  418. ;                     intentional (e.g., using an uninitialized variable and
    4 x+ m! b" M( h$ S9 g3 m7 v5 D& I0 Z
  419. ;                     relying on the fact it is automatically initialized to an( U2 j+ }& @% p: h" P
  420. ;                     empty string)
    * ^! d4 W# l& ]$ m4 `' w9 _2 t
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ( l& m( k9 w* c9 L
  422. ;                     to your code which will ensure the best interoperability: Y" y$ {3 ]2 g1 l, S7 ~
  423. ;                     and forward compatibility of your code
    3 F' a7 e* F- f8 D* E, p' G; r: e
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    $ b+ G; a9 T* v1 X- F- L
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    9 Z* L; S0 w  R  V9 P3 k
  426. ;                     initial startup: U( `) W5 r' w( Q4 m
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    , h( k' S9 {4 u6 a1 y# j
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)0 i2 F3 b# n+ V
  429. ; E_USER_ERROR      - user-generated error message6 l' D4 U2 m9 L
  430. ; E_USER_WARNING    - user-generated warning message
    ) Q- W/ n: n0 l
  431. ; E_USER_NOTICE     - user-generated notice message- v8 Q6 C- \- Y- M" S
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    / W' T( z2 i! \
  433. ;                     of PHP& e! J4 o5 K8 o8 g: [
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings4 q' Y3 f  D; r( n3 S3 m
  435. ;
    + S9 k. J. Q4 |9 i* T
  436. ; Common Values:5 C5 t7 p7 I, n, V* D3 |
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    3 a8 f, Z" u5 y/ |
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)) N( r5 C( w2 W* ~- \
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)9 W( G! m% l2 o8 y7 S
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)# V$ P$ R6 p; X. K0 i2 O0 r! U
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED) X0 V8 i2 O/ D3 V- \
  442. ; Development Value: E_ALL
    3 \, o0 Y. I  C4 i8 s5 w: c
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT7 d1 y" s* b: R3 h( o& O
  444. ; http://php.net/error-reporting
    1 K! h  {/ ~: M) k; I0 B- n5 Q
  445. error_reporting = E_ALL & ~E_NOTICE
    + Q: H' Y9 {- y. @: {1 |; i7 ]6 @

  446. / ]; @5 f. J+ s0 l+ S$ C! J
  447. ; This directive controls whether or not and where PHP will output errors,
    9 h& y- r2 d! ^- ]+ p
  448. ; notices and warnings too. Error output is very useful during development, but
    % h1 J8 R, d. W: Q7 m! k
  449. ; it could be very dangerous in production environments. Depending on the code3 _2 p: V- b2 H7 C  _! y0 F" ^0 b
  450. ; which is triggering the error, sensitive information could potentially leak
    4 q: u5 q  ?: v2 M, I& ~& ~
  451. ; out of your application such as database usernames and passwords or worse.: w% m: b. h( K! [# \
  452. ; For production environments, we recommend logging errors rather than
    + L) e3 t) B$ H" S( V
  453. ; sending them to STDOUT.
    0 t7 z9 P- P  }$ |( o! ~1 ^. [& F
  454. ; Possible Values:; ?+ Z4 m3 G9 H
  455. ;   Off = Do not display any errors
    5 c4 l8 Z' Y! Q8 y: J( T& d& p, ]! ]
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    0 _, k% S% t  R" }/ _# W
  457. ;   On or stdout = Display errors to STDOUT  ~2 k+ Z: d( N! T( P
  458. ; Default Value: On
    5 S* g( i% G( f
  459. ; Development Value: On
    / U! m  E% {  I  r
  460. ; Production Value: Off
    ! ]& ?2 R4 ]1 T+ ]# q8 @* ]. {/ p
  461. ; http://php.net/display-errors
    5 m9 S+ ?+ O4 u0 l
  462. display_errors = On
    % Z: t+ h+ i- H9 ]& q

  463. 5 T  b1 I' p* m2 J4 W( K3 A
  464. ; The display of errors which occur during PHP's startup sequence are handled
    8 O0 O3 ?$ e, ]- `4 y
  465. ; separately from display_errors. PHP's default behavior is to suppress those9 S2 v% R# y4 P; C& N& r/ b
  466. ; errors from clients. Turning the display of startup errors on can be useful in
      S: e9 G6 l- k3 {
  467. ; debugging configuration problems. We strongly recommend you
    % o" ?$ {* Y# i: C( a
  468. ; set this to 'off' for production servers.7 [( W: |6 ]" @  g, `' `
  469. ; Default Value: Off
    * O9 E! _; ?7 a: Y) h* U; S- s
  470. ; Development Value: On
    2 b* g* j7 Q7 ], ]
  471. ; Production Value: Off# m' f2 B( b* C5 k1 B
  472. ; http://php.net/display-startup-errors4 k: |/ }" }  X; `  A
  473. display_startup_errors = Off  u: K: e( B6 |& P% d
  474. , ]( S3 Q. l, I2 B' @/ Q3 ^
  475. ; Besides displaying errors, PHP can also log errors to locations such as a' G) I" P/ d' }! |' h  g  X1 g
  476. ; server-specific log, STDERR, or a location specified by the error_log
    3 o5 {- t: W! B/ |
  477. ; directive found below. While errors should not be displayed on productions
    + h5 {* q7 z  u% j! U  g% ~8 P
  478. ; servers they should still be monitored and logging is a great way to do that.8 O* d  m" ]7 k9 J8 a0 |
  479. ; Default Value: Off
    ; |. R. w3 f& o
  480. ; Development Value: On- o9 p- t+ l7 X- I" `
  481. ; Production Value: On" T4 L: k9 t  G! E/ Z
  482. ; http://php.net/log-errors
    5 q' _$ u& Q! O, s
  483. log_errors = On
    / M$ F; K7 e- z' W( ~: ]' m, ?
  484. # y6 x9 K( ?3 v6 n3 s" B  M+ T0 Z4 Y, s3 n
  485. ; Set maximum length of log_errors. In error_log information about the source is2 _* O* a4 X3 ^, [* Z" }! g9 r+ A0 p- ~
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    : q$ Y9 K. o4 h" l
  487. ; http://php.net/log-errors-max-len6 t& p: z1 j5 j! `
  488. log_errors_max_len = 1024
    ' i. j  x7 u) D, @) [
  489. . Y  q& v; p# d! y6 \/ F9 n
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    & b0 L* U4 o7 t
  491. ; line unless ignore_repeated_source is set true.
    3 B7 \! S2 _5 m* R
  492. ; http://php.net/ignore-repeated-errors5 g+ h7 U4 I0 T
  493. ignore_repeated_errors = Off+ W3 m3 h( m7 X. f% {1 O0 E

  494. 8 v# W. _7 I1 |) ~6 p' [
  495. ; Ignore source of message when ignoring repeated messages. When this setting* `1 v0 ]8 B* P/ d0 H3 B
  496. ; is On you will not log errors with repeated messages from different files or% F$ {, a8 S2 w, O
  497. ; source lines.( e& P  n& u& z. c
  498. ; http://php.net/ignore-repeated-source; {+ \; `  w8 d$ n9 @2 x# Z6 j
  499. ignore_repeated_source = Off) D7 h, m' r9 \. H

  500. 9 Z. ?( _# j$ s: b( I
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    . t/ d' n# y9 K+ g( s, @0 Y
  502. ; stdout or in the log). This has only effect in a debug compile, and if. a$ l6 }1 J. @* B  a2 f3 @6 A
  503. ; error reporting includes E_WARNING in the allowed list
    3 `, E; G7 R: m/ @9 N% i7 R4 {- e0 e
  504. ; http://php.net/report-memleaks! ^! c% ]; Z3 s
  505. report_memleaks = On8 M2 E  U' t: T+ H; p( w9 v
  506. + k1 C* _9 U8 N
  507. ; This setting is on by default./ R: F' E& W' p, U' ^3 t' U
  508. ;report_zend_debug = 0
    " m8 a( ?' _/ x- F" e9 q# Z) L$ o
  509. 1 g# `9 c# I! @6 W7 z3 I
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value; k5 G: u- o! C1 S; ]6 D; Y8 ~& H
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    * p8 Q' t& R, ~5 e3 m: p8 L# {6 a
  512. ; however be disabled on production servers.3 {1 w* S. s0 ]; s* I
  513. ; Default Value: Off0 J+ }9 T! c/ v4 V
  514. ; Development Value: On
    . J  ^) z* B5 S( f: k
  515. ; Production Value: Off1 R1 I) }6 H# V2 k" {, {4 K/ }
  516. ; http://php.net/track-errors# E, R/ \& q# s  n2 e; l
  517. track_errors = Off
    . |" D9 w- ~1 H

  518. 6 I2 @# D, h# D3 d$ _
  519. ; Turn off normal error reporting and emit XML-RPC error XML% ^! s3 Y4 j" @+ x2 I9 s
  520. ; http://php.net/xmlrpc-errors
    6 ~( r" F$ d. |' w
  521. ;xmlrpc_errors = 0
      U6 Y$ a% K+ A" B3 S
  522. ! f8 Z( e7 ~. ]% l
  523. ; An XML-RPC faultCode
    & ]+ d2 A3 w) j' h
  524. ;xmlrpc_error_number = 0
    " ^) h3 V6 @3 t; e( d; b

  525. 2 F" N# M+ P7 t' }. H
  526. ; When PHP displays or logs an error, it has the capability of formatting the: Q( y7 B5 S9 S7 H; |
  527. ; error message as HTML for easier reading. This directive controls whether: i* \* q5 r& w+ {  w; K1 G
  528. ; the error message is formatted as HTML or not.
    2 {4 ^4 Y+ N9 S" Q
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI% r9 t- H' X7 I8 U: @9 Q9 J: k
  530. ; Default Value: On
    ' u7 \5 p3 @& t6 r  k
  531. ; Development Value: On
    # }3 [1 y/ y) O( S% q" m/ u" f
  532. ; Production value: On; t7 {" v! V7 Z* A" `& {" o
  533. ; http://php.net/html-errors: ~" {, l  R  I) c; _, x  ]
  534. html_errors = On: c  x  C, L) n% V
  535. ! I( |& k9 ^3 d4 L
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    # W* T$ k8 y3 R% [- G; @! ~4 U. T
  537. ; produces clickable error messages that direct to a page describing the error
    5 Q* t$ m- g1 q0 k0 Z
  538. ; or function causing the error in detail.
    1 S3 w0 U- f( @9 f- @
  539. ; You can download a copy of the PHP manual from http://php.net/docs3 |& E% n2 \" \3 f; A3 W
  540. ; and change docref_root to the base URL of your local copy including the" v; R& t/ Z) r0 S/ x# d) a( c
  541. ; leading '/'. You must also specify the file extension being used including
    % I8 e  M  |/ k; T. y
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    9 R: r( G; |$ R* Z  _; T
  543. ; case no links to documentation are generated.
    : o/ ~+ O; e" u4 N0 z( r6 r/ E
  544. ; Note: Never use this feature for production boxes.
    - K, F! C$ O% j% k+ g* {# v" u
  545. ; http://php.net/docref-root
    1 E( W2 N  t9 q6 k. e  Q
  546. ; Examples
    . o+ B8 Z1 a' \" z
  547. ;docref_root = "/phpmanual/"& @$ I0 z9 u4 ]# Q  _
  548. , T$ Z% M) \& r# ^4 o+ ?
  549. ; http://php.net/docref-ext
    # i9 x- j- w4 c2 T4 e1 c* K. ~
  550. ;docref_ext = .html
    # F8 }5 ]$ k/ b. C, \7 l

  551. # C9 [6 l9 \, Q- K0 v( x
  552. ; String to output before an error message. PHP's default behavior is to leave$ G1 Y& {5 a! u
  553. ; this setting blank.
    - {8 s- E$ Q3 e5 E* s
  554. ; http://php.net/error-prepend-string
    * U; t; x9 D# e2 d
  555. ; Example:
    / o0 ]% T. N3 N+ z, K  Z
  556. ;error_prepend_string = "<span style='color: #ff0000'>". [6 A1 F& [& d' q

  557. & U0 E3 q: w8 \% m
  558. ; String to output after an error message. PHP's default behavior is to leave( @3 m$ D" a. h3 G6 e( s8 v
  559. ; this setting blank.
    , S0 {2 U0 r' r" e6 G
  560. ; http://php.net/error-append-string
    & y) m+ A1 k3 A4 @
  561. ; Example:
    ' h# N2 @' {% K6 x3 G) v  f
  562. ;error_append_string = "</span>"6 P6 ?8 u  C) E6 P/ i- l9 v

  563. : M& }) b. |& Q/ _
  564. ; Log errors to specified file. PHP's default behavior is to leave this value! [6 j5 S/ y1 e2 y4 c
  565. ; empty.. A/ M, |, i! p& |# O9 a
  566. ; http://php.net/error-log
    " h) B0 O! p- c. f+ n1 i  P+ d
  567. ; Example:2 s1 P) ?+ m+ ]9 M6 [! F, Y
  568. ;error_log = php_errors.log
    ) U) z2 _9 R$ i/ ]5 `* q
  569. ; Log errors to syslog (Event Log on Windows).
    : D4 a7 |5 l$ o# w
  570. ;error_log = syslog+ e: a4 _2 `: J$ z8 e$ v
  571. ( g9 V+ d: C  y) x  g% l" A
  572. ;windows.show_crt_warning* Z! R/ ]9 L* @; B* U
  573. ; Default value: 0# B. P# g( H, i4 e( g) q
  574. ; Development value: 09 N) X& L1 ?1 P" `3 g- }
  575. ; Production value: 0
    3 o7 G! \5 ^* w  X1 P3 }

  576. % i4 d* a9 x' w9 g, n, F0 l
  577. ;;;;;;;;;;;;;;;;;
    8 @; X0 M$ J8 m. X
  578. ; Data Handling ;
    , W/ w7 H" Z8 T6 Q
  579. ;;;;;;;;;;;;;;;;;
    , l% E- }0 r0 ?- G* }" L

  580. 4 z7 r$ R; u0 t" ?7 V  D9 @! w- ^
  581. ; The separator used in PHP generated URLs to separate arguments.' I/ `* v# l; ]0 E3 J9 }
  582. ; PHP's default setting is "&".
    9 o( \/ h) ~' f/ l0 V0 @2 M5 L( B- Q) u/ r
  583. ; http://php.net/arg-separator.output% r( s3 T" y! {3 G( I2 J; b; h
  584. ; Example:
    8 q; h4 ?; ^, |2 @
  585. ;arg_separator.output = "&", b0 m* P7 D5 y0 I" o

  586. % s1 f6 m+ Y; ^& B. `4 l
  587. ; List of separator(s) used by PHP to parse input URLs into variables.8 D7 K- B, S3 Q  A( k' W$ v) x, c
  588. ; PHP's default setting is "&".: u0 I: H$ |% Z% h* {" X0 l; h
  589. ; NOTE: Every character in this directive is considered as separator!% r( I4 C/ B4 Z) `, k# i1 ?4 m
  590. ; http://php.net/arg-separator.input
    # _3 d5 [1 y' E
  591. ; Example:
    / x; O7 Q6 X/ [  \) I
  592. ;arg_separator.input = ";&"# x. ]0 C, p( U: A, ^8 E: J

  593. - j" _) ~0 v8 n5 K- q+ a3 l
  594. ; This directive determines which super global arrays are registered when PHP6 _6 t3 y2 o: W. I0 |6 K, I1 T
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    0 h0 ^0 j* [# w6 t% P% D3 e! L
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty! R, W8 o& t- Y( `7 r8 s0 S1 d; h
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    7 j. ~2 H% l  C, s  e( `& U( {% W
  598. ; used as the others, ENV is not recommended on productions servers. You
    0 W0 f7 x, u% d% Z
  599. ; can still get access to the environment variables through getenv() should you
    ; n8 K4 z8 V6 {+ F+ j
  600. ; need to.
    , \( J; x; B) U" v7 S2 i
  601. ; Default Value: "EGPCS"4 m! u0 _& e1 y$ M
  602. ; Development Value: "GPCS"
    # W8 j+ ~. b9 V8 i: s; P
  603. ; Production Value: "GPCS";
    2 s/ s$ q+ u7 o8 b0 T/ T5 i0 o
  604. ; http://php.net/variables-order" o, `& @. h9 M- b
  605. variables_order = "GPCS"
    8 p2 f4 f# V3 c
  606. & w4 d( Y) ~) B/ g+ D) f3 L
  607. ; This directive determines which super global data (G,P & C) should be5 R4 r5 _* U7 e- I
  608. ; registered into the super global array REQUEST. If so, it also determines8 c, E1 h# y. J0 }, F5 u
  609. ; the order in which that data is registered. The values for this directive
    : h% p, C, {( S! x
  610. ; are specified in the same manner as the variables_order directive,. l5 R# m  q% K$ {9 u+ z
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    7 l# {4 n/ P' X3 W/ r, y
  612. ; in the variables_order directive. It does not mean it will leave the super
    & j2 s6 m# e0 i' U) f. |% {2 f. T
  613. ; globals array REQUEST empty.
    ) y3 s3 S/ \; D1 G5 P
  614. ; Default Value: None
    7 i2 K, a. u! i
  615. ; Development Value: "GP"0 Z% j5 i9 a- d: \/ P7 m/ j( n
  616. ; Production Value: "GP"
    2 G6 X$ ?% ~6 v6 j7 K$ c
  617. ; http://php.net/request-order
    * Z  w. a3 |, z+ i* p
  618. request_order = "GP"
    ) e' a# M5 P3 `; U4 h5 i; M

  619. ( X1 d# {5 Y. O" g, M% q8 s3 T
  620. ; This directive determines whether PHP registers $argv & $argc each time it0 v7 v3 B- E' P6 L/ K/ |
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    " S7 k8 U7 u  ~8 Z2 j* f
  622. ; is invoked. $argc contains an integer representing the number of arguments& V, {4 ]' Y$ C$ ?+ R4 q
  623. ; that were passed when the script was invoked. These arrays are extremely$ V5 |; [) r1 k, A6 q5 X: i
  624. ; useful when running scripts from the command line. When this directive is7 g# j& i0 B: h# \) ?3 }" n$ L
  625. ; enabled, registering these variables consumes CPU cycles and memory each time  Z  i1 g+ b- q4 {
  626. ; a script is executed. For performance reasons, this feature should be disabled
    3 S* `; d! b# b
  627. ; on production servers.3 d; [) ]3 K# J' `; ^/ I# B
  628. ; Note: This directive is hardcoded to On for the CLI SAPI- o$ F% B) Y# t# |
  629. ; Default Value: On
    $ x. \' j( f7 n! n4 c5 H
  630. ; Development Value: Off
    1 x! ]7 U& u3 n. w) p
  631. ; Production Value: Off
    % a) a$ V8 E1 G) I& r2 E/ W  r9 h
  632. ; http://php.net/register-argc-argv$ a! X+ p5 h2 W  @1 S. z
  633. register_argc_argv = Off
    , c' v. D: o1 g$ J

  634. " V$ R, G2 J( g1 z/ x- G- ?- |
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    5 }9 S. \* T$ T1 }5 Y; H
  636. ; first used (Just In Time) instead of when the script starts. If these
    + W- [1 c3 V5 l+ ^2 t0 m
  637. ; variables are not used within a script, having this directive on will result3 ~! ]2 j/ n- y1 H) ^5 ~( B% T
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled; n; }) V! W" s. Q6 a# |1 z
  639. ; for this directive to have any affect.6 }) u9 ]& g+ C: Z, A
  640. ; http://php.net/auto-globals-jit7 r: ~) P1 |" K8 w% V3 p
  641. auto_globals_jit = On
    & Y8 v# f% E& k) W# B

  642. ! P, J+ c  Z0 g$ a$ n5 x/ d
  643. ; Whether PHP will read the POST data.- ]8 P& |$ t' e% c, q
  644. ; This option is enabled by default.
    * W( ~- p: t2 e
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    9 X8 K5 Q3 G+ m6 B7 L) S
  646. ; and $_FILES to always be empty; the only way you will be able to read the" c0 P6 Z1 l, j1 ]. `' L
  647. ; POST data will be through the php://input stream wrapper. This can be useful9 d% g( a/ w. i, q* ?# S
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    . |9 u! L9 T4 f- _4 G, A  P$ d7 o
  649. ; http://php.net/enable-post-data-reading
    4 o6 G4 O* z* l- S; ]- r. w* j
  650. ;enable_post_data_reading = Off5 ]+ y7 C! T9 M3 p2 |# E8 i# Z& x

  651. 1 I. l- D) c. f, s& s
  652. ; Maximum size of POST data that PHP will accept.
    ' }7 q6 |* @: Q: g" v7 X# Y
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading& C1 X3 x, @3 G4 W* ?
  654. ; is disabled through enable_post_data_reading.
    0 r* b5 Z% I" U- {
  655. ; http://php.net/post-max-size
    ) S0 E( _% e' S5 q4 n& w+ }: T2 W
  656. post_max_size = 50M
      r+ @+ f) J- C5 [
  657. 0 Y$ Z) z  @% U9 f
  658. ; Automatically add files before PHP document.
    " J! S0 q0 s0 M  o9 w5 j" }
  659. ; http://php.net/auto-prepend-file2 ]9 W0 C: T4 p# [# `9 ^- x
  660. auto_prepend_file =
    7 y! E+ e# A+ a& j0 x) J
  661. * o8 v; F; u8 H5 `
  662. ; Automatically add files after PHP document.
    : _( R! b" v% s  ~) v7 o/ b7 T) P' J% R
  663. ; http://php.net/auto-append-file
    8 w: g8 m# l0 c, [# t
  664. auto_append_file =
    * E" U  [9 Z% F9 v& w" W

  665. ( o2 g3 u# V6 [* n& W/ y
  666. ; By default, PHP will output a media type using the Content-Type header. To
    ; P: q% Y7 H5 z& R6 ~) T" h
  667. ; disable this, simply set it to be empty.8 @8 t- _( j+ h: c) t  `7 r8 w
  668. ;; E  {- ]: B/ J6 V# F  P6 h1 l
  669. ; PHP's built-in default media type is set to text/html., E' W; b! J( v: I6 T2 p
  670. ; http://php.net/default-mimetype) w2 R- v5 ?3 c! A9 k/ e1 {
  671. default_mimetype = "text/html"6 Y4 F/ V. e1 ?  M; N
  672. - ?  y: R- N4 R5 t. {
  673. ; PHP's default character set is set to UTF-8.+ L( @9 H5 y! \! o0 f/ B' N" {
  674. ; http://php.net/default-charset, v) X9 q9 N/ T+ u0 w& d8 _/ V7 M
  675. default_charset = "UTF-8"
    ! L8 \5 m" q) u9 F
  676. : M5 s; a3 X" r( B9 E! y8 J0 \
  677. ; PHP internal character encoding is set to empty.* |+ a8 D; G5 @, W6 K; O
  678. ; If empty, default_charset is used.
    3 ^. t! ]1 L& p8 I8 u0 C
  679. ; http://php.net/internal-encoding) c. s; ~% P7 `1 n( J6 m! a8 E3 K
  680. ;internal_encoding =8 F5 j. @( M, Z

  681. 5 @( @* G2 \: P$ J5 ~0 M
  682. ; PHP input character encoding is set to empty.
    0 a4 C+ @& Y+ f% s9 f+ M
  683. ; If empty, default_charset is used.
    0 \0 C5 h, B. {! S
  684. ; http://php.net/input-encoding
      \3 \, R/ r/ ?) L6 z
  685. ;input_encoding =
    3 d; F  R0 U6 a

  686. 4 i0 W2 C1 N6 j) c
  687. ; PHP output character encoding is set to empty./ }; D/ C9 e% G; @
  688. ; If empty, default_charset is used.# d1 Q5 W8 ^: U- [' Y7 y; a
  689. ; See also output_buffer.  k( u- h) k1 L6 j
  690. ; http://php.net/output-encoding
    & L5 h4 |5 o- u/ x5 ^1 V/ w1 l
  691. ;output_encoding =7 w. T& v7 ^1 d" c
  692. ( h0 K. x+ |9 D( H' N
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    # m9 }' H9 w4 c- g. `1 A. J4 |- }
  694. ; Paths and Directories ;# U' F8 x5 |0 g& [& k0 r( b* P
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 I0 ^; U. e5 B7 S" `2 T& ]! z

  696. * \6 Z7 D( u; o. `
  697. ; UNIX: "/path1:/path2"# }" G  u. U, u& n/ _
  698. ;include_path = ".:/php/includes"% K! C& b+ h  c* ?8 ^
  699. ;
    , ~2 P, S. {; t5 `1 }
  700. ; Windows: "\path1;\path2"8 g0 S0 G- E5 u9 Y; J& O; b' L' k
  701. ;include_path = ".;c:\php\includes"$ G  c% U# q7 k- I" R
  702. ;
    & P* X! i. P7 ^! v9 S7 ^+ K0 I
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ) S1 f  [9 [6 F: A. [  k
  704. ; http://php.net/include-path  [- D* t+ {4 x
  705. ( A' Q8 ]# U9 E+ M) }, }% H7 V# {
  706. ; The root of the PHP pages, used only if nonempty.( V2 k# B3 E/ v2 s6 Y7 a
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    * G7 m$ Y+ s- q* L' Y- J1 u& N; R
  708. ; if you are running php as a CGI under any web server (other than IIS)
    1 N8 ~$ ^  F! Q: f: r
  709. ; see documentation for security issues.  The alternate is to use the
    1 e; R3 H8 Z+ `: F0 {. R' H) {
  710. ; cgi.force_redirect configuration below' ], T' M" k6 ~1 o
  711. ; http://php.net/doc-root
    : C% Z+ G8 Y8 W$ T& h) T
  712. doc_root =, W2 \- N# ~/ ^1 @
  713. , @5 X: x( H( D; O; F7 E
  714. ; The directory under which PHP opens the script using /~username used only7 Q0 e0 _, w% \+ i# P  m
  715. ; if nonempty.
    ; Q6 I: D3 G4 b7 z* R+ |2 D, h; v8 D
  716. ; http://php.net/user-dir3 B' M0 ]! Y  I: p6 k9 e& E% D" p  @1 z
  717. user_dir =# v7 v" D+ w6 R
  718. ) R/ u- v$ M' F) o) p
  719. ; Directory in which the loadable extensions (modules) reside.; ~9 x, s! w: |' _2 U9 o
  720. ; http://php.net/extension-dir
    ' O+ V! I* _! n  L
  721. ; extension_dir = "./"+ h1 V  P! P9 k, t; L/ D
  722. ; On windows:  P( b! s3 e- J) N
  723. ; extension_dir = "ext"
    2 }" j1 c9 P9 h! e3 w
  724. 0 s9 ?+ E6 B# ^+ F2 e" Z
  725. ; Directory where the temporary files should be placed.$ A  Z  a  @9 z# V& I5 G3 k6 _) \
  726. ; Defaults to the system default (see sys_get_temp_dir)/ j2 c% \4 p) D: \: |
  727. ; sys_temp_dir = "/tmp"8 T- M" E( n# Z: ?0 U4 P
  728. ) h/ W! w2 D$ n% y/ z
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    & M' ?; w3 N1 ^0 A) x- _
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    * m$ T% j- ?- D
  731. ; disabled on them.! B& I2 t! k, g- m
  732. ; http://php.net/enable-dl
    + C# u% y2 ], k! d* p7 k) _
  733. enable_dl = Off. ?- `3 ]3 y! K& ^8 h+ K
  734. - X  v" b3 F/ y8 |" i
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    / U5 F8 P; C' H" l5 l
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can5 B6 b  A# v1 R! X0 K& d7 H
  737. ; turn it off here AT YOUR OWN RISK. Q! o' h: _+ E
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    3 J- X3 O. [* P; }! G) s
  739. ; http://php.net/cgi.force-redirect" L; N! [. C1 `* |( n
  740. ;cgi.force_redirect = 1' ^; r4 W9 y: s# Q$ }
  741. 0 [  r8 c5 d! R; B: k
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with$ ]+ _4 N$ B! b6 H# z4 @
  743. ; every request. PHP's default behavior is to disable this feature.
    ; `, A+ ?: w# f# |! L( h) Y3 r3 H4 K
  744. ;cgi.nph = 1
    , j) ]9 q' e: d: b- b& ]9 n

  745. * B; X: C$ t1 @+ A8 V; ^- d/ t! x9 c
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape* H0 L. c# ^- H4 t) @
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP8 ]7 w% M  y% x9 x
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY( _* }- s, \6 e  J
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.# Y' m( y7 t+ K" x2 K( v
  750. ; http://php.net/cgi.redirect-status-env1 I7 r) S! @9 v0 c) M5 s
  751. ;cgi.redirect_status_env =
    % z  B  z3 b2 }8 Y! b8 f

  752. . l; [, g5 m& f& B  V
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ) x2 L: w& D1 h+ r7 o9 _
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok* z) q3 t3 T# ^
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    4 k  y( Q: u, X" E6 \
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    , x; R5 H- L6 N1 H
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    1 r* v3 |- q. |
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    7 A  s1 z5 n. z7 m4 ^
  759. ; http://php.net/cgi.fix-pathinfo5 a4 }+ ~8 J6 C$ u
  760. cgi.fix_pathinfo=1
    4 A9 |7 k' X1 j5 S! F
  761. 1 a7 W: Q8 h" S
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside1 y/ _( }. ~! N! i
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ) _7 o$ I& A3 G
  764. ; http://php.net/cgi.dicard-path
    - H) T2 ]7 s& U; L
  765. ;cgi.discard_path=1
    ; |; M7 Z4 C2 n2 p& j$ @
  766. 2 H9 u  c: h0 i
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    7 V2 F$ \5 \" d6 n' Y' E, ?+ \' i
  768. ; security tokens of the calling client.  This allows IIS to define the6 z7 W* @- O* L8 V* _: m* {& d! q
  769. ; security context that the request runs under.  mod_fastcgi under Apache  ?! c. g8 k" b# K7 Y9 v
  770. ; does not currently support this feature (03/17/2002)
    ; F, j% |/ x2 T6 m* h* ]! i/ p- o5 @4 r
  771. ; Set to 1 if running under IIS.  Default is zero.8 s  w* p% H8 {
  772. ; http://php.net/fastcgi.impersonate/ a" Z" S6 f6 R6 C0 _' E  H# {8 k
  773. ;fastcgi.impersonate = 1
    3 I7 W" \# A: b: X. N

  774. 0 h6 N7 l- z4 \$ E3 c
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable4 m5 d. X- [4 S  {! e
  776. ; this feature., a3 Y8 M( @9 M  r% l1 M+ `8 ~
  777. ;fastcgi.logging = 0: H' l( {  K' a/ ]9 o( d+ ]

  778.   v$ G* H0 `7 i
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to7 c9 U  [* l% ?
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that' J' q5 X6 X# E
  781. ; is supported by Apache. When this option is set to 1, PHP will send/ Z3 f2 I) @3 b8 |1 B. y
  782. ; RFC2616 compliant header.8 a+ e+ n; s/ q& o4 \
  783. ; Default is zero.7 Q5 E3 H; @1 z' v9 E
  784. ; http://php.net/cgi.rfc2616-headers- Q% Q/ B* @1 Q) b# v
  785. ;cgi.rfc2616_headers = 0# R0 T- w: r. ^) \+ J+ I$ \

  786. ' e3 I  b; j$ g0 F8 ~+ o
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!' u% o) l( k6 l7 E
  788. ; (shebang) at the top of the running script. This line might be needed if the2 C+ |8 g6 L( M* r( Y. U
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI. J% s8 n  ]1 T0 Y
  790. ; mode skips this line and ignores its content if this directive is turned on.
    $ L$ G3 I+ l0 I( h0 ]
  791. ; http://php.net/cgi.check-shebang-line
    6 g; t: c7 v- U9 r$ T9 g
  792. ;cgi.check_shebang_line=1
    ( U$ {! d; P2 I/ |
  793. 8 J! A3 k$ j( ?* d
  794. ;;;;;;;;;;;;;;;;1 Z- x0 f$ C% F0 C/ s1 O  U
  795. ; File Uploads ;
    % c' \8 u! B% L# a/ I6 d3 g
  796. ;;;;;;;;;;;;;;;;! _% i- W8 Q* b9 I

  797. - W. R# M- X3 [! [* H" c$ E
  798. ; Whether to allow HTTP file uploads.
    # H2 D9 [8 d9 G: ~% n5 H9 i) Y/ ~
  799. ; http://php.net/file-uploads, _/ M% m6 v: x
  800. file_uploads = On
    ' l! \/ r/ B9 A! i2 X9 E- w$ a

  801. 9 L) y9 D! E* ]) [5 g- e
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ) m, d& [( `8 w6 r* K
  803. ; specified).. p! S- g( C  {
  804. ; http://php.net/upload-tmp-dir
    6 O" k! \7 A5 t
  805. ;upload_tmp_dir =
    9 ~# f1 G, o1 T
  806. ( w% i) m% |. o% R5 {5 Q3 ^8 x
  807. ; Maximum allowed size for uploaded files.+ E" U7 q: z1 ?/ d  P, T" s
  808. ; http://php.net/upload-max-filesize
    . \# Z- F" k9 z
  809. upload_max_filesize = 50M( E6 R: W. Q# d5 I9 `
  810. 4 Z2 Y' A6 I/ A6 E) ]% s4 z+ B
  811. ; Maximum number of files that can be uploaded via a single request
    ; H* T( m7 X8 {( E: V+ X
  812. max_file_uploads = 20
    - d; n, m0 `0 {$ }( w
  813.   ^% I) Z# H7 s+ L
  814. ;;;;;;;;;;;;;;;;;;5 b+ i2 n' E  V! n, ~
  815. ; Fopen wrappers ;
    1 H. {. f# _0 s+ e' w) _4 u$ I
  816. ;;;;;;;;;;;;;;;;;;
    & J% E$ @: S& K3 V( e0 M
  817. 7 H; j1 o+ h7 y; ?1 d- f  @
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    3 R6 g, e; l8 V2 M6 k
  819. ; http://php.net/allow-url-fopen
    4 I1 k0 `# y# O" X  X
  820. allow_url_fopen = On
    . [! B- s# f$ S) k. t: @
  821. # L; N& b5 p( v# }& K, I/ ?
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    9 ?* ?! v$ [. n  Y  o
  823. ; http://php.net/allow-url-include
    - |# h) L) T# n3 D: e
  824. allow_url_include = Off
    % G" K, D$ S+ U9 d# O, I

  825. : y; P# f7 a1 N7 v, X$ S" s/ l
  826. ; Define the anonymous ftp password (your email address). PHP's default setting9 h% M. f. e: Y2 l9 |! O5 ^& C
  827. ; for this is empty.
    ; d' _+ ^) f0 V
  828. ; http://php.net/from
    3 b. z( O7 |. `, o# _' w
  829. ;from="john@doe.com"
    / t9 s. v2 \/ z% f+ a

  830. ( ?" W/ D' P9 J" W. n) O6 _
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    - \+ a% o$ y/ W4 V! U
  832. ; http://php.net/user-agent
    & Q; e2 i/ f. Y' g$ s5 q+ ~! {
  833. ;user_agent="PHP", V# X1 N. ?* X5 B
  834. - z7 C5 N8 P! p; I8 @4 p1 S" |, e
  835. ; Default timeout for socket based streams (seconds)6 ?6 M) G+ e2 [2 Y8 e# k
  836. ; http://php.net/default-socket-timeout
    5 H- H( j9 V' N7 [, F
  837. default_socket_timeout = 601 E3 t) [$ Z4 {) K7 D
  838. . X' V& @+ b- Q( a' X0 A
  839. ; If your scripts have to deal with files from Macintosh systems,
    ) x( ^1 F' ]8 A# b
  840. ; or you are running on a Mac and need to deal with files from
    9 l0 N% t' M: s+ t7 r' W/ a
  841. ; unix or win32 systems, setting this flag will cause PHP to
    ; E8 ]0 B4 C. k4 C9 R# t* h. O. f
  842. ; automatically detect the EOL character in those files so that
    6 I1 w2 ]3 K( k4 |
  843. ; fgets() and file() will work regardless of the source of the file.! C  w2 @- K  M8 e
  844. ; http://php.net/auto-detect-line-endings
    - p1 [, m; T* f9 q
  845. ;auto_detect_line_endings = Off
    % z1 R/ G/ a2 [* o7 B  c9 O
  846. * Y$ A& ^/ q" H3 ]6 q
  847. ;;;;;;;;;;;;;;;;;;;;;;* h6 X0 _; l% {; T& Q# O' E7 Q4 T
  848. ; Dynamic Extensions ;
    # b2 Z) k: v" S4 [% u/ s% g
  849. ;;;;;;;;;;;;;;;;;;;;;;
    ) B! |9 b. g( m8 ]' O( @  s8 [

  850. ' F1 u: g! @+ N
  851. ; If you wish to have an extension loaded automatically, use the following1 n/ i( ?' S7 f
  852. ; syntax:
    : S" K4 Z% r2 I9 G! a6 \
  853. ;
    * S% x1 D* w$ c6 A
  854. ;   extension=modulename.extension- F2 Q3 L- ?' }( j& H& n
  855. ;
    1 n, n7 s2 ]( d1 |+ X
  856. ; For example, on Windows:
    3 m$ U" |2 f1 O
  857. ;- L: s5 C/ L; b7 U7 B5 ~& k' c
  858. ;   extension=msql.dll
    # H' P! s& O' P
  859. ;. O$ C6 Q8 w# G' Q1 G1 X
  860. ; ... or under UNIX:
    " E8 N. K9 h0 f7 E; r  M( ]
  861. ;1 i" |7 a1 U/ Q
  862. ;   extension=msql.so
    5 _1 N4 d8 Q- _: a, d  `, I6 R. @
  863. ;  [8 c# e) W4 e& X' \
  864. ; ... or with a path:9 e4 q* F  D+ s: Q. v& t, @% U
  865. ;
    " o) l* B. G3 k) f' T9 J0 p' p
  866. ;   extension=/path/to/extension/msql.so, \' b$ o3 G! c3 D; e6 n4 W
  867. ;
    . e: [& r; ], f. d  @. @% k
  868. ; If you only provide the name of the extension, PHP will look for it in its' Q5 M/ U4 Q, V# ], R
  869. ; default extension directory.
    1 _/ n% ]2 c2 B: i( c8 ^8 c% Y
  870. ;$ C! j9 z) x! v
  871. ; Windows Extensions
    8 y& G1 o- M, |5 b9 q; w! L
  872. ; Note that ODBC support is built in, so no dll is needed for it., h+ ~2 F  t  Y
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    / L! V5 G5 q: I9 b2 K
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).3 R, E$ t# R6 T3 s: }6 A
  875. ; Be sure to appropriately set the extension_dir directive.
    6 ^; l" N: Q% c& [& l+ n6 o8 `4 q
  876. ;
    ( X8 f, O8 @8 u, x( b' N- C. N
  877. ;extension=php_bz2.dll
    ( z' [; k$ R" V) y' X
  878. ;extension=php_curl.dll
    % F/ J* H# ~0 k$ @
  879. ;extension=php_fileinfo.dll6 g: ?1 F0 |+ e5 h3 f. G+ L5 ?
  880. ;extension=php_ftp.dll
    " I3 S' B% a: v0 e7 z, u# f
  881. ;extension=php_gd2.dll
    " Q3 b5 j$ m' s* X7 P+ `, ~
  882. ;extension=php_gettext.dll* F0 V+ S$ `6 I; [
  883. ;extension=php_gmp.dll, A5 E" r; M( N# `9 b# {% p
  884. ;extension=php_intl.dll
    - o* j( U' a6 k9 g% D7 @& S
  885. ;extension=php_imap.dll* F/ M0 F' g7 E
  886. ;extension=php_interbase.dll: }7 U) V3 ]0 P
  887. ;extension=php_ldap.dll
    5 B( ?6 g5 }3 t1 ~5 I
  888. ;extension=php_mbstring.dll' S' C2 e) ?! H( D8 @
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it3 q4 v% ~& B+ z8 b; d. r. `. Z
  890. ;extension=php_mysqli.dll) ~; ]" \# U: Q! m
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    6 r9 b6 D& n: q! U& {6 u: G5 X, z# u# @
  892. ;extension=php_openssl.dll/ B! U; t+ h* h* o* [
  893. ;extension=php_pdo_firebird.dll1 [( W. X( T, M5 C9 a, Y0 u( e0 s! G
  894. ;extension=php_pdo_mysql.dll+ r' E1 D7 p# o  i' W
  895. ;extension=php_pdo_oci.dll
    , d& I" d5 I0 P! l. @9 s
  896. ;extension=php_pdo_odbc.dll4 R  [" S' A9 `- C5 \/ j1 Z
  897. ;extension=php_pdo_pgsql.dll
    ' i: e1 h. r2 k' ~/ k
  898. ;extension=php_pdo_sqlite.dll; G- Z6 e2 m; D: B* X
  899. ;extension=php_pgsql.dll
    7 k+ \: U# b, q+ Z: ~
  900. ;extension=php_shmop.dll) @* ^9 m' j9 b. Q; C$ z

  901. 7 e. ?1 t$ a( M+ q
  902. ; The MIBS data available in the PHP distribution must be installed.
    , {3 E2 Z5 O: j* w$ _2 j+ `3 f
  903. ; See http://www.php.net/manual/en/snmp.installation.php2 ^1 ?/ R: T! T3 l  `
  904. ;extension=php_snmp.dll  r. m" v2 W4 a  c% b3 h

  905. & h! p% T1 J" e
  906. ;extension=php_soap.dll
    ; I9 j0 ~/ J5 C# m' y8 j
  907. ;extension=php_sockets.dll3 e( h& a" D3 d5 N
  908. ;extension=php_sqlite3.dll
    $ U) G& d1 w! T( @, o
  909. ;extension=php_tidy.dll
    , O  Y. S( E2 s- F1 K' {
  910. ;extension=php_xmlrpc.dll" @. M# q. U0 y! j8 J6 e7 y
  911. ;extension=php_xsl.dll8 Z% s1 d0 _: t9 y7 n

  912. " @9 u7 V0 A$ f  _$ D
  913. ;;;;;;;;;;;;;;;;;;;
      ~- e1 U; L  p' Y
  914. ; Module Settings ;
    * Z; O% G/ O+ _7 R# t( I
  915. ;;;;;;;;;;;;;;;;;;;3 F! t, g" @5 ?. u

  916. 2 M/ V9 }% M. G8 j( g6 S5 F! T0 g' @
  917. [CLI Server]
    2 L1 n, u5 @; ]
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.& d: k: B9 M0 J* o6 u- N" q& w5 s
  919. cli_server.color = On
    ! z) R) ^7 k. r; Q- Z( z/ |

  920. 9 z' q% R5 ~, w) v
  921. [Date]  k( y: [) ~. X. y  h9 Y" X# s
  922. ; Defines the default timezone used by the date functions- g- y& `$ ^1 f7 d' V6 Z
  923. ; http://php.net/date.timezone
    6 N6 u7 q, O/ z9 P: @4 q5 R% W2 ^
  924. date.timezone = PRC+ k! |$ u' Q( p8 [: n
  925. ) P4 Z* Y# c$ B* B8 w
  926. ; http://php.net/date.default-latitude
    ; C( b+ E/ S) z
  927. ;date.default_latitude = 31.76671 I# Y- Z- u4 K5 V; g: Y

  928. - O5 R% T5 h# ?  R5 o
  929. ; http://php.net/date.default-longitude( Y' t* z# H9 P2 M4 z9 b
  930. ;date.default_longitude = 35.2333' p  x& q5 [$ U0 T6 W; d

  931. 2 j9 X, J1 G, [6 r# V; M1 t& @
  932. ; http://php.net/date.sunrise-zenith% [5 @8 F% j% [! W+ w. M+ h$ ?
  933. ;date.sunrise_zenith = 90.583333
    9 z4 p  _3 Q. x) r$ k9 {5 x' ?
  934. 0 Q! l6 m6 K" b6 L6 z
  935. ; http://php.net/date.sunset-zenith' [% W+ J1 [. M, U
  936. ;date.sunset_zenith = 90.583333, q( q: N# O9 L% B# o6 [

  937. 1 F4 b, h$ B3 H! y3 S' k
  938. [filter]
    8 z( }: R1 f" b! M9 N+ Y
  939. ; http://php.net/filter.default
    ' M+ |: c3 U& q3 ?, |8 X# x) d
  940. ;filter.default = unsafe_raw
    " }) X8 S5 z4 ~8 k2 m+ x
  941. , _. p4 b6 x+ Z+ |( j
  942. ; http://php.net/filter.default-flags+ x9 S2 |; v0 B4 U
  943. ;filter.default_flags =! A- |3 e( t4 {
  944. 2 V2 v; ]+ Q+ w: h0 M$ a
  945. [iconv]3 K8 h; j9 O4 T0 T. l3 B
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    & @6 v5 V- Y3 v
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    % y/ x2 B4 U7 j$ G- R
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding* F3 k+ y9 |8 m" i+ W
  949. ;iconv.input_encoding =
    - E. Z2 H( n) ?' b: b
  950. # z) J' ]# D' ?) r! F7 W* d
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.( D" f( A: t, f9 G
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.+ d+ V; C* J; d( c
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ c+ Q  T# h4 P1 C' L
  954. ;iconv.internal_encoding =8 J  {$ i  e% Z

  955. 9 j3 X1 M9 f: i
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    # B) R3 F& l& R" t. Z: u" n
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.: R- N6 f4 J) ]2 H
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ' ?4 ?& {5 Q4 q4 i$ X: S; q
  959. ; To use an output encoding conversion, iconv's output handler must be set/ I& r$ ?/ K) a: y
  960. ; otherwise output encoding conversion cannot be performed.
    0 _5 ]/ h- F( y, |4 a) C
  961. ;iconv.output_encoding =
    6 H4 k- L) x- k, E9 [# }7 N5 `

  962. ; i7 Q7 j' Y( h# C
  963. [intl]
    2 k$ O( Y7 y5 V; i, P5 ?; R3 s
  964. ;intl.default_locale =
    ( `  w+ o7 `/ S; ^+ L
  965. ; This directive allows you to produce PHP errors when some error
    + m& Q; P) Z5 B2 s" H4 {
  966. ; happens within intl functions. The value is the level of the error produced.
    " ]" W& Z" P. F/ g
  967. ; Default is 0, which does not produce any errors.
    / Z( u3 g! D. r+ `& M3 q) o
  968. ;intl.error_level = E_WARNING1 x, W* d# R/ ^$ r9 O
  969. ;intl.use_exceptions = 04 `/ Z/ V5 n2 q3 X: h
  970. , f4 |9 z. y8 {" j1 h
  971. [sqlite3]8 F4 w: ?6 M5 n7 U6 G. r. b1 R" D
  972. ;sqlite3.extension_dir =2 M7 V' n  e# J" d  G
  973. ; K+ |9 J& b6 m; a: [* Q8 ^
  974. [Pcre]+ b- U4 _7 Z; w+ p6 s; x* I# b. E
  975. ;PCRE library backtracking limit.* p* C* K( B, `/ k  O
  976. ; http://php.net/pcre.backtrack-limit" {8 Q* n( |9 C) o6 Y/ D; N8 Z
  977. ;pcre.backtrack_limit=100000
    % N2 {& O4 ]: U# ^! M4 v

  978. ) y9 K: _% s1 \! c; V. I3 Z3 G7 }
  979. ;PCRE library recursion limit.
    4 x0 n% t- J: Z8 k% K  @; W, r
  980. ;Please note that if you set this value to a high number you may consume all* T% A- f+ K# A) u
  981. ;the available process stack and eventually crash PHP (due to reaching the
    / y3 a8 K" a- X) [* q2 ^
  982. ;stack size limit imposed by the Operating System).
    1 p- Q. j% S# }5 F+ X
  983. ; http://php.net/pcre.recursion-limit/ U) C1 o# V0 l3 p5 f
  984. ;pcre.recursion_limit=100000" z; w! |8 ]& F
  985. - D' Z1 U% ?2 ~2 G
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    8 ~6 y; P2 k- k9 t4 A: z  l
  987. ;library to be compiled with JIT support.5 ]# c1 w5 I5 I3 l5 _9 T
  988. ;pcre.jit=1
    ) {0 c& q1 ?: [" V4 n$ C8 P/ q0 N
  989. & d/ F# _* j2 Y/ X0 v- j  i& _
  990. [Pdo]
    : _/ @( J8 G( J% h  r" z' p: P
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"9 A, R" B" U: k' |: O. R' x4 U
  992. ; http://php.net/pdo-odbc.connection-pooling
    ( Q' V/ A4 ]  n2 ^/ }4 n6 Q
  993. ;pdo_odbc.connection_pooling=strict" j% ~, U! p) b! P8 `/ G6 D5 }4 ^% M

  994. % _5 G9 T, L  [, ?+ ]$ `2 a
  995. ;pdo_odbc.db2_instance_name1 ^% W6 k9 F  [; d* Z7 }' Y
  996. + ~4 @/ B6 X3 k7 {, ]$ [
  997. [Pdo_mysql]& I5 x& G  y$ K% ?; l& X/ w
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " Q1 X5 t: Z$ M3 i* u
  999. ; http://php.net/pdo_mysql.cache_size
    ! M" U4 Q$ }6 j: x  ?$ t& H
  1000. pdo_mysql.cache_size = 20006 {4 T) I; t: b6 f' k) N  {. E
  1001. % k% s, L) |* Y2 v
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      T& o0 y  S4 o1 c$ B$ s; w  }9 t3 Y
  1003. ; MySQL defaults.
    . _; T" i9 l  h4 D& y' U* m
  1004. ; http://php.net/pdo_mysql.default-socket
    ) E" I1 U' r! c/ c. p4 ~
  1005. pdo_mysql.default_socket=
    4 L, p% J" B+ {* W, M" n5 S
  1006. : s' V, E1 T/ G) ^2 t+ b
  1007. [Phar]! I9 Y- `) H6 q' C+ a- N
  1008. ; http://php.net/phar.readonly% I8 L. p8 \  q1 |) ~
  1009. ;phar.readonly = On1 `8 X3 z) F7 r3 N2 c
  1010. + w1 Z$ B$ q1 x. d" x8 J
  1011. ; http://php.net/phar.require-hash/ M8 v! Q# m0 d# l
  1012. ;phar.require_hash = On
    4 x+ ?# f' j1 \1 z
  1013. 8 O) U: Z6 S4 x1 r/ O
  1014. ;phar.cache_list =
    / W5 q) U; q1 u6 K: m, x
  1015. 3 H( p1 J/ @  v$ A5 y1 M5 E' |. ?
  1016. [mail function]" v' W4 I6 P* n9 f* Z3 |
  1017. ; For Win32 only.1 X! C# u1 L' I* E# B: y/ R
  1018. ; http://php.net/smtp
    - N: _* y# m  n# Z+ M. y; v% c& Q
  1019. SMTP = localhost3 y/ l) U3 T8 v/ _
  1020. ; http://php.net/smtp-port. D7 B/ b# y4 _% H$ ]4 S+ o/ t9 i
  1021. smtp_port = 254 G3 n3 w2 h& q) S7 R, f
  1022. # O2 Q: Q7 _3 B& M
  1023. ; For Win32 only.
    # Q; @6 r0 Y1 w1 }: ^
  1024. ; http://php.net/sendmail-from
    $ u. k- z, G3 e! i0 k$ a
  1025. ;sendmail_from = me@example.com
    2 K/ g, d9 @- M5 N! R9 J

  1026. 9 `  G& C( ]) r1 d# ?" Q
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i")./ X% R  U, I" m1 \
  1028. ; http://php.net/sendmail-path8 q0 _  |7 q6 Y8 ?: H) o
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    & G4 Q) ?5 \8 L! ]/ s' S1 d

  1030. , A( q5 E5 J6 L8 k: B- \0 J8 F
  1031. ; Force the addition of the specified parameters to be passed as extra parameters" G. ], }. O1 J, M! `+ e' W9 `
  1032. ; to the sendmail binary. These parameters will always replace the value of: ^5 G! |% V5 Y" O4 N
  1033. ; the 5th parameter to mail().: R( ~6 Q: x: x. R
  1034. ;mail.force_extra_parameters =# t' ?! O" ?' B  r' Y, `$ D) u

  1035. 0 R9 b* h: ~- @) N0 Y
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    " H4 N* I1 I9 M: ?7 C$ T# z5 S
  1037. mail.add_x_header = On
    , p  o4 G/ f' f0 K' y6 m

  1038. # q- W7 \  T7 }2 |' s) w' E* X
  1039. ; The path to a log file that will log all mail() calls. Log entries include, U" ~4 Z4 v) _( m
  1040. ; the full path of the script, line number, To address and headers.
    / f& s8 m: m: p3 {( H5 P
  1041. ;mail.log =* ~5 y/ G8 U, Y6 t' i, O
  1042. ; Log mail to syslog (Event Log on Windows).
    . n! _9 q6 q- _/ ]3 P% G( A
  1043. ;mail.log = syslog
    2 D2 \' N' E* A/ a2 R1 A5 t
  1044. 0 Z5 Q8 E3 P7 f3 V
  1045. [SQL]
    , w0 q; j4 b) F, Q. E* O, p& `
  1046. ; http://php.net/sql.safe-mode( i# C& `; W( h8 F7 z8 M; g
  1047. sql.safe_mode = Off  M+ S; G1 s7 K

  1048. 3 k- Q0 |# O4 y8 I+ _
  1049. [ODBC]
    " J6 o* g! M1 Q" K2 a7 L
  1050. ; http://php.net/odbc.default-db2 H6 G4 T5 d6 ~4 T! Q+ o, v% @5 e7 y9 A
  1051. ;odbc.default_db    =  Not yet implemented
    $ s- ]. q4 f( {
  1052. - M0 L0 T, Z3 d& s' r5 e5 ], T5 @% e# H
  1053. ; http://php.net/odbc.default-user6 E; S( }& a) d# a. {% a
  1054. ;odbc.default_user  =  Not yet implemented& k( a. Y& Q' U+ Z$ Q) C
  1055. $ D  }# L8 C% p8 f6 Q7 w' }
  1056. ; http://php.net/odbc.default-pw
    0 K' f' G/ ?( H2 V# a% g3 F+ A4 N
  1057. ;odbc.default_pw    =  Not yet implemented
    1 l; E3 P1 _) E, O# c* R# c

  1058. ; _8 z( }2 c" {, j  }4 X+ j
  1059. ; Controls the ODBC cursor model.
    : @5 V+ a, E$ f+ T) s% G
  1060. ; Default: SQL_CURSOR_STATIC (default).
    % @! ^9 g, r8 N' x) j+ H
  1061. ;odbc.default_cursortype# Z0 w0 a$ X- c7 g' ]' f

  1062. / U- Z- d* K- B' H5 Y5 e, q& Q
  1063. ; Allow or prevent persistent links.  {% T! q2 g0 e0 y6 `5 {: f  h. v
  1064. ; http://php.net/odbc.allow-persistent/ }8 m  J% Y2 _2 p% V
  1065. odbc.allow_persistent = On
    0 H$ R. Y1 ^9 L3 f$ M) r1 q- z( ?

  1066. , h. N) x/ h! l& S' j# o7 {
  1067. ; Check that a connection is still valid before reuse." s. n( U5 x6 b5 p/ e
  1068. ; http://php.net/odbc.check-persistent
    ! l. V& D2 {7 X7 Y- c% J
  1069. odbc.check_persistent = On
    1 _/ P/ Q$ `. v' L- S

  1070. 3 A$ q; `$ i% n
  1071. ; Maximum number of persistent links.  -1 means no limit.- ^5 @5 L6 a# x$ T
  1072. ; http://php.net/odbc.max-persistent# P% B6 X9 Y$ i
  1073. odbc.max_persistent = -1' b& l3 v+ Y$ n: W" f4 Z: L/ o3 W
  1074. - W7 _( V5 o. D9 U0 \
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& T) E5 A' m$ g
  1076. ; http://php.net/odbc.max-links$ J7 t$ _0 O. |8 m6 v! C- ^
  1077. odbc.max_links = -1
    # e& ~  R8 m' _2 Z
  1078. ' C9 F( K$ _% y7 f* m/ {
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means/ S/ @1 O% P3 {& g9 m
  1080. ; passthru.% D, P1 u6 X: t
  1081. ; http://php.net/odbc.defaultlrl
    # ~; F8 p4 _* y; C7 B% R) f0 r
  1082. odbc.defaultlrl = 4096
    3 r& X% f% L& @

  1083. # i, k- N! z" S9 M
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    3 N2 u* d% T1 ~5 J; Y
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    4 T, ^) d% y" e- u+ S
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode+ z5 M) K7 S1 o6 d6 z& q7 R) W3 m
  1087. ; http://php.net/odbc.defaultbinmode, N& C: Q" _( s5 C( m- {' k
  1088. odbc.defaultbinmode = 1( R1 i$ S! j5 p6 o$ Y; @% _9 ~8 Q9 W# s

  1089. ( [$ L3 D0 C9 e* D6 U
  1090. ;birdstep.max_links = -1: h$ x7 T% a$ f& f8 ]2 g
  1091. - _( Y3 f3 T' \+ ^4 W. R( c
  1092. [Interbase]
    0 a3 l+ m+ k$ J; K
  1093. ; Allow or prevent persistent links.
    # I6 v, w" Y- h7 A+ \: R
  1094. ibase.allow_persistent = 1. e; P4 S0 E6 B. r6 ~

  1095. 5 K1 ]& Y7 q- S3 _( l
  1096. ; Maximum number of persistent links.  -1 means no limit.
    " j7 W5 [; D0 D: F) O
  1097. ibase.max_persistent = -1
    : i9 m- F/ b. W( T+ O  a* J7 n* L8 I

  1098. 6 R% ~- s% R$ M" v% C( d
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 s3 |1 ^# e: S9 m
  1100. ibase.max_links = -1
    , L# Y3 |3 c6 m$ x9 V, |9 J

  1101. 5 B! y1 [7 K" T. K" v7 b4 x+ F% C; W
  1102. ; Default database name for ibase_connect().  W6 e: r' E3 E/ l
  1103. ;ibase.default_db =
      ~& ?5 S7 ^3 _6 W; A0 b- F

  1104. 3 f; x1 I0 l0 I' a$ }/ ^; v: q9 a% n
  1105. ; Default username for ibase_connect().
    0 {& F& t, m0 U
  1106. ;ibase.default_user =
    / E' q2 G, X. ^8 G

  1107. # k' f/ R, S7 `2 T/ n7 g
  1108. ; Default password for ibase_connect().
    1 I! j/ x) b- ^( C) G, v, R
  1109. ;ibase.default_password =
    ! X, D/ I0 s' w/ d  a0 f

  1110. 5 r( W' L8 o2 g5 o1 a% T) @$ b/ D+ f
  1111. ; Default charset for ibase_connect().$ K" h9 H$ b+ i
  1112. ;ibase.default_charset =
    4 x, k6 B. v' ?' k) f+ |
  1113. ! P( G$ Q8 L& r* J
  1114. ; Default timestamp format.
    + R% v+ I. K9 M2 e3 m5 m1 x, }
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"& g$ Q1 ]$ {1 o, i7 y

  1116. 9 x7 K! n& A, z* b1 t( P) S0 b8 G
  1117. ; Default date format.
    " a' E6 g% }: k5 t. k
  1118. ibase.dateformat = "%Y-%m-%d"
    ; a1 Q7 }  H; N: W
  1119. 5 `4 a; F. u# S, M# M
  1120. ; Default time format.
    8 L( f: d$ C6 j5 S
  1121. ibase.timeformat = "%H:%M:%S"/ W; f2 a6 }3 U$ U# [: O
  1122. ( N9 D+ W$ W& ?1 `1 L0 H0 J5 y
  1123. [MySQLi]
    ; s" W0 y, ]1 {" d# s% S' T
  1124. ; T. c  }) S9 W% S9 o( ?( b4 N
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ; x  Q) ~7 o! u
  1126. ; http://php.net/mysqli.max-persistent
    , e6 e5 I' m( O6 p. l4 e
  1127. mysqli.max_persistent = -1  S& K* }& v! r. v

  1128. $ u) g. `% I( S
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ( I, q: u4 n8 Y$ U; z3 Y1 ?& {7 ]! C1 N
  1130. ; http://php.net/mysqli.allow_local_infile
    ! R1 q9 @. \8 T; d
  1131. ;mysqli.allow_local_infile = On
    " M) B$ i4 T$ ^8 _9 p  o+ c2 U
  1132. . }2 |4 s! v5 w  U$ X5 D" d
  1133. ; Allow or prevent persistent links.. A: v2 \! K) L+ J/ S8 N% d0 a
  1134. ; http://php.net/mysqli.allow-persistent
    ! _) b7 e( Q. W8 i" c
  1135. mysqli.allow_persistent = On
    0 J  [9 L- |# ]: F3 o

  1136. - J- I) M7 n5 d# ?: p  V9 x" H
  1137. ; Maximum number of links.  -1 means no limit.! U* f. N2 O; r( V9 j$ t
  1138. ; http://php.net/mysqli.max-links
    - g0 B; F+ i7 [$ M; D+ X! }1 `+ ?+ B
  1139. mysqli.max_links = -14 O6 O5 I. g# [, `. O0 D

  1140. 4 A2 b( @4 \  d5 J* q
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    7 P9 h1 J- A4 f1 e4 M+ v5 o( ?
  1142. ; http://php.net/mysqli.cache_size8 H7 O3 c5 P& K" L, s$ e7 ]
  1143. mysqli.cache_size = 2000+ n) Z# c+ A& Y
  1144. # h/ \' c/ |3 v* t( m4 i2 ?
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use* _0 b9 ]6 G; x5 ]# S
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the  {( j% x. n2 a0 l; o2 V
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    & K9 [6 z# v* t3 y& V
  1148. ; at MYSQL_PORT.
    6 Y5 m4 }% j7 H2 {+ z6 N& T
  1149. ; http://php.net/mysqli.default-port% q2 u6 {5 h2 R; {7 w0 s1 t
  1150. mysqli.default_port = 3306
    $ Y6 Q4 L9 t" M+ M- X

  1151. 1 m+ A9 R7 f2 b* }4 s' x9 a
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in) b# a! M; Z, r7 K
  1153. ; MySQL defaults.+ `7 d) Q" B! z" w% k
  1154. ; http://php.net/mysqli.default-socket
    , L6 V$ m* ?% ?7 K7 g/ s- p' J
  1155. mysqli.default_socket =6 A5 K+ @9 I  Y3 X5 ~/ @8 i6 [

  1156. & N9 i; r# N7 k8 `2 k9 h  Q
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).7 X) Q5 V( G" S! i8 h
  1158. ; http://php.net/mysqli.default-host
    0 D1 i2 Y6 |+ Y5 V9 h" b& g% e
  1159. mysqli.default_host =
    8 {$ Q) U# D/ N! {- ]4 g
  1160. - g6 G% I! v1 o' |; w$ K4 i9 `
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    % b  z2 t9 l7 G; N! B) ]2 O9 W* b% I
  1162. ; http://php.net/mysqli.default-user
    , E. y, O2 [+ F, k
  1163. mysqli.default_user =
    7 H4 }2 X% l- l! C$ e% p
  1164. # B6 ^7 J1 m2 a. A2 a
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    " i; Q6 r; z/ B: d
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    # X6 S+ W% x& J0 h0 H
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")/ w8 Y; X' q4 O4 ~  P6 m6 g, w1 f
  1168. ; and reveal this password!  And of course, any users with read access to this. M( ]6 A: P3 v' E% d: @
  1169. ; file will be able to reveal the password as well.3 ~5 q( e* M2 y$ I( T" A( L7 v# }
  1170. ; http://php.net/mysqli.default-pw4 L: E7 U3 r4 |1 ~* ~
  1171. mysqli.default_pw =
    " t( P* Z% L& ~, ?( _
  1172. 7 }2 W) \" C% F0 K
  1173. ; Allow or prevent reconnect. n# g* {$ Y3 m. f( O# ^/ f
  1174. mysqli.reconnect = Off1 B& G$ c# n% B% b* D: o/ n- h

  1175. 0 c+ A5 c6 Q8 v& G! W
  1176. [mysqlnd]
    & _1 m2 f6 e# x; g" Z9 |
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be0 U  ?" d* C# i
  1178. ; used to tune and monitor MySQL operations.
    ( x: |4 S# g' U) E) o9 x
  1179. ; http://php.net/mysqlnd.collect_statistics4 H$ z; k- W( n, T9 i
  1180. mysqlnd.collect_statistics = On% P8 n1 e0 I1 C; O0 E  C

  1181. - O( h. n* c5 K
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    5 N/ b/ M/ W. |) B: g
  1183. ; used to tune and monitor MySQL operations.
    4 O3 ?0 w* q; q. R7 I- o
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    # a$ G. Y3 _1 \
  1185. mysqlnd.collect_memory_statistics = Off
    - m; `; G' o4 _* D; ^

  1186. - p: K4 R( e% p8 h2 q
  1187. ; Records communication from all extensions using mysqlnd to the specified log  C7 P6 m3 L/ l2 \
  1188. ; file.! A( s$ h* M: D1 ?9 e: s& D, n
  1189. ; http://php.net/mysqlnd.debug: F: P; R. x: D. i, I
  1190. ;mysqlnd.debug =
    - h9 [2 C( ?  e. z- j5 T

  1191. " x4 o" X# Y1 f' |2 L
  1192. ; Defines which queries will be logged.9 }& ~2 w9 L: Z: ]6 L6 v
  1193. ; http://php.net/mysqlnd.log_mask+ v. }2 b4 H2 N4 p8 X& Y( K
  1194. ;mysqlnd.log_mask = 07 w) Z  G1 k* h
  1195. 6 J& V5 b* C" c4 ]& Y
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.% }- P+ l0 M: J- n5 `) Z
  1197. ; http://php.net/mysqlnd.mempool_default_size9 y  E% A$ W! [
  1198. ;mysqlnd.mempool_default_size = 16000
    1 i) A+ N# g$ r' V+ d+ L2 }7 n

  1199. 0 w( }8 o+ ]) y, e5 }) Y- H1 F3 g
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    . c6 g" \7 R6 j6 n
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ! f/ ?/ M( \9 k# ?4 E  @
  1202. ;mysqlnd.net_cmd_buffer_size = 2048( t2 n5 ?) R5 z9 m8 H9 Q9 r

  1203. : ~% f0 n! j) f6 Y! w' o
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    6 r8 b( ]2 k% u4 a2 D' B
  1205. ; bytes.* [3 Q! H. i5 O1 a# j
  1206. ; http://php.net/mysqlnd.net_read_buffer_size6 z% t/ O( I( T/ T( n% ]
  1207. ;mysqlnd.net_read_buffer_size = 32768, s- H9 B" b4 v' o

  1208. $ D1 w5 `8 }" B4 \# E" z- ~- M
  1209. ; Timeout for network requests in seconds.
    / Z' a' V& O8 A+ U1 A  K- C
  1210. ; http://php.net/mysqlnd.net_read_timeout2 i2 s% u. p( c# T' n
  1211. ;mysqlnd.net_read_timeout = 31536000
    7 O) X8 P3 n1 n* z2 L6 O

  1212. . t5 [5 A0 |% ?0 Y$ g, u
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA1 ?3 R5 |1 |' f* v' O
  1214. ; key.
    & ~% B+ P7 T$ o2 D! Z8 a9 V$ G
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    . q7 p2 p: s9 I+ Z" R& F
  1216. ;mysqlnd.sha256_server_public_key =8 {. W8 c! J! [$ M
  1217. ! o5 @) E/ _+ Y  c* }
  1218. [OCI8]
      @$ f, K: V% k% V6 o5 u

  1219.   h. E& h, |, H& B2 |1 p% ^
  1220. ; Connection: Enables privileged connections using external& \* j* @7 s- x/ n* o6 o" w
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    5 Z3 I' A2 \, [& G2 K6 `
  1222. ; http://php.net/oci8.privileged-connect
      P6 T) c( x7 o+ w/ ?4 g9 _
  1223. ;oci8.privileged_connect = Off
    : [3 D& ]3 s4 w; a# B! k) t
  1224.   b: t+ E8 _' K4 T! Z4 K2 l
  1225. ; Connection: The maximum number of persistent OCI8 connections per% B/ \! y$ G  z- z
  1226. ; process. Using -1 means no limit.
    . b3 ~9 U2 n( M6 w5 l
  1227. ; http://php.net/oci8.max-persistent
    ) h. [7 f- A' \$ _% o" G% F/ `
  1228. ;oci8.max_persistent = -1
      Z1 ?% p; S3 z( d4 r/ {: o
  1229. & q# S  l  K2 y8 i) P) V% o
  1230. ; Connection: The maximum number of seconds a process is allowed to, \+ S" O+ k* e  s* D
  1231. ; maintain an idle persistent connection. Using -1 means idle3 O8 H% \# G# A! Q% y4 N
  1232. ; persistent connections will be maintained forever.
    ) {% k- \2 k% b; u# ~1 M) ?- o
  1233. ; http://php.net/oci8.persistent-timeout) A  V  u1 r/ m4 ]' M
  1234. ;oci8.persistent_timeout = -1
    5 l7 G; F5 q3 r8 Z

  1235. 4 @) [) \! \# a- a, R1 B3 W; t
  1236. ; Connection: The number of seconds that must pass before issuing a
    6 C' S# }! h2 v# Y
  1237. ; ping during oci_pconnect() to check the connection validity. When% e8 G8 U$ `1 s" `3 k+ Y$ i% y* ^' x
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables( P9 L+ R4 W. V' q/ C
  1239. ; pings completely.
    1 e" Q6 s+ X" x# r5 \- Y
  1240. ; http://php.net/oci8.ping-interval
    + R" n- A4 m$ M+ Z' e
  1241. ;oci8.ping_interval = 60/ }. \7 s4 l5 d+ N3 }2 Q

  1242. 0 l. z" X6 J4 M* l0 G
  1243. ; Connection: Set this to a user chosen connection class to be used6 E9 P: C* q- I+ ~5 \  T
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    ) A% B8 ~/ I2 E' X
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to  r5 K3 |& K4 [
  1246. ; the same string for all web servers running the same application,
    % H% u" _/ V1 ]! W. J, P0 o) ?
  1247. ; the database pool must be configured, and the connection string must
    ; C) q) O' @1 r* M
  1248. ; specify to use a pooled server.0 T: H/ i" c5 e0 |
  1249. ;oci8.connection_class =5 S( u- q2 N. m* ^2 y6 q  B
  1250. 4 }: R0 r' h  z
  1251. ; High Availability: Using On lets PHP receive Fast Application
    2 m9 g" A1 U, {. C- H9 e
  1252. ; Notification (FAN) events generated when a database node fails. The/ d% u( p( |+ a' b  e
  1253. ; database must also be configured to post FAN events.6 L. z* F8 e8 ^# k* c* w' y+ E
  1254. ;oci8.events = Off
    8 `3 D+ d5 s) ?1 S, d; O. D2 R
  1255. 4 {$ l1 ^2 H" b' @: y
  1256. ; Tuning: This option enables statement caching, and specifies how
    9 V$ a/ A7 o  p' f2 b
  1257. ; many statements to cache. Using 0 disables statement caching.
    / i0 p. `% D0 Z. O9 f* n
  1258. ; http://php.net/oci8.statement-cache-size* }7 f" a! m+ S) q% D5 j7 W- z
  1259. ;oci8.statement_cache_size = 20- k0 T) n' L0 O6 U9 O+ r0 I
  1260. # o: a$ e0 X& H, |+ F
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    " [! ]. I. g! a- k3 Y, t0 L
  1262. ; rows that will be fetched automatically after statement execution.* @2 W- h4 \  e; u' M2 \2 y
  1263. ; http://php.net/oci8.default-prefetch
    4 o$ i. X/ L$ d$ z
  1264. ;oci8.default_prefetch = 100# M4 ?$ @) p# d, h) H3 ^0 j

  1265. 3 ?0 s! L9 r% \( K# B. [
  1266. ; Compatibility. Using On means oci_close() will not close
    # o& ?0 x: u* U5 e, \8 B3 x
  1267. ; oci_connect() and oci_new_connect() connections.
    ; s9 ^$ s" ^. o5 c; T' v: A
  1268. ; http://php.net/oci8.old-oci-close-semantics- U1 S( L0 e* w1 X
  1269. ;oci8.old_oci_close_semantics = Off" b9 c: T$ K: t/ l& s0 Z. J
  1270. $ V+ H1 p2 W, p+ m% p) s6 n- c
  1271. [PostgreSQL]
    7 b( F/ `% `9 T2 o& M7 j1 Q
  1272. ; Allow or prevent persistent links.
    0 W- p1 N3 P! E
  1273. ; http://php.net/pgsql.allow-persistent" {4 R! s# j: F& Y
  1274. pgsql.allow_persistent = On& M  F; J* q1 A% L9 b( E6 Z3 V

  1275. - r8 Y% u: q( g, h+ U6 ]
  1276. ; Detect broken persistent links always with pg_pconnect().
    ; E. H" N3 C: X# e! S, W. N, s
  1277. ; Auto reset feature requires a little overheads.4 z  a. h4 P6 H
  1278. ; http://php.net/pgsql.auto-reset-persistent, g$ L+ z8 R4 N. n4 u5 T, r
  1279. pgsql.auto_reset_persistent = Off
    2 k- ]$ Q( E: n! N0 g) S

  1280. 6 q8 G6 u& P& q; e4 M1 O% ~" @0 ]
  1281. ; Maximum number of persistent links.  -1 means no limit.8 `5 w8 y; w. `9 C
  1282. ; http://php.net/pgsql.max-persistent: H( t# c# H" g& N& o  u
  1283. pgsql.max_persistent = -1
    ; [; g6 Q# f2 H! t3 s

  1284. : p( I  g' ~/ K9 b1 o! g: R
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    # S7 D! C; ~, C( p6 X- r
  1286. ; http://php.net/pgsql.max-links2 _- \0 t, s5 ^& [9 C( c0 \, Q
  1287. pgsql.max_links = -1
    6 q9 v- g& L( v" H6 i( j  z
  1288. $ j9 m) }3 {& s7 g* N5 v
  1289. ; Ignore PostgreSQL backends Notice message or not.2 P9 y. B* ^0 Z- F4 E2 I2 V
  1290. ; Notice message logging require a little overheads., i+ ?9 C; ]# W1 z5 {
  1291. ; http://php.net/pgsql.ignore-notice" z# Z2 R) Q$ G! a! R( T  P
  1292. pgsql.ignore_notice = 0
    * M  w  c6 q8 I

  1293. 4 Z1 K+ u" J; y6 Q, c' L* P% ^0 r
  1294. ; Log PostgreSQL backends Notice message or not.  J4 b6 x" P" c8 t* D7 s5 B# e
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.8 v! w: S# ~  v+ v) \  ]
  1296. ; http://php.net/pgsql.log-notice
    . n) a$ ^5 {! T; z1 Y
  1297. pgsql.log_notice = 0
    4 R4 d/ J; l( ^( \0 q" _6 t8 N

  1298. - k: y: U6 g6 S. ^1 P
  1299. [bcmath]0 ~. D. i* B7 [3 s$ ?7 y
  1300. ; Number of decimal digits for all bcmath functions.
    + e( ~% o( t/ L( l  }$ E
  1301. ; http://php.net/bcmath.scale3 q+ c0 j' M- _* o$ t8 c5 w- d& J
  1302. bcmath.scale = 0
    & g! L# {* X* b4 l, Y) d' W

  1303. 0 ^4 J% F" T7 O! I
  1304. [browscap]/ ^- ^+ H3 K$ }
  1305. ; http://php.net/browscap0 T5 `0 Y3 `" M& }0 w
  1306. ;browscap = extra/browscap.ini9 @' S  r6 t$ F- H* u
  1307. $ u) K; y4 M+ U# \
  1308. [Session]
    " c4 o( j0 E% w" V) ?# I
  1309. ; Handler used to store/retrieve data.
    $ ~9 W- I9 h; |- u  q/ z/ i' {% P
  1310. ; http://php.net/session.save-handler+ x. [; |) a2 B' R9 C
  1311. session.save_handler = files" C- F* N: B0 n' l! b

  1312. / V6 {% S/ N6 ?5 X* ^( o& Y
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    + x; ]: q' t: p% B0 y
  1314. ; where data files are stored. Note: Windows users have to change this
    2 B4 X% k; ?, z5 k/ _$ A7 ]( P
  1315. ; variable in order to use PHP's session functions.# @. ~" G8 w) ?7 N: r3 H: p6 B% l9 R
  1316. ;" W& C# {: S, ^6 r! l+ j
  1317. ; The path can be defined as:& ~) H0 A& s9 X5 W  J
  1318. ;8 X) \! R$ [; G5 ?$ }
  1319. ;     session.save_path = "N;/path"* J# ~6 o8 x5 d8 A7 L9 y+ v+ [
  1320. ;  J  d7 N2 T: u
  1321. ; where N is an integer.  Instead of storing all the session files in
    . q, X9 i; b+ ]% R$ B
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ' F. n7 R" K+ F. k4 Z
  1323. ; store the session data in those directories.  This is useful if
    4 P2 b/ K# t8 U
  1324. ; your OS has problems with many files in one directory, and is% ~) l% k, Q5 ~- _
  1325. ; a more efficient layout for servers that handle many sessions.
    / f, v9 w9 i! G7 X
  1326. ;: @( f8 M8 Y# ]' g2 B
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    4 @2 E4 `7 \2 `) y+ ]
  1328. ;         You can use the script in the ext/session dir for that purpose.3 \& f& Q- ]4 r* z- B6 e
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    4 d  @( \7 u; y) B
  1330. ;         use subdirectories for session storage
    2 k- [# B5 I5 |$ r: h9 n0 O
  1331. ;
    $ Q6 G! y. B4 @: {; {3 ^
  1332. ; The file storage module creates files using mode 600 by default.
    % @. ^6 B- ~/ h8 x5 R
  1333. ; You can change that by using
    - P8 o' [; v2 d1 F+ \, E% B, G
  1334. ;$ F2 W# r2 p" u) K5 R8 L: v* J
  1335. ;     session.save_path = "N;MODE;/path"
    & o2 |% G* i1 \; u6 Y$ g, h
  1336. ;
    7 L5 h6 T7 u0 H: I+ g. D
  1337. ; where MODE is the octal representation of the mode. Note that this; A; Z+ ]* ^1 L
  1338. ; does not overwrite the process's umask.: N1 |/ {2 E5 W6 D4 r
  1339. ; http://php.net/session.save-path
      {/ N8 u( f5 F; ^
  1340. ;session.save_path = "/tmp"/ \+ l- I: m, }4 k( G
  1341. 4 I: v4 m+ e" R! ]& |0 g" \  p# o) S
  1342. ; Whether to use strict session mode.
    8 d$ R8 v. ^3 ~3 f. R8 }
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ; k* |- O6 Q8 P; Z2 b
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects* V- t  o, @: G
  1345. ; applications from session fixation via session adoption vulnerability. It is/ |/ v/ T% Z6 }% ?) f1 X8 _3 P
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.! Q& U" ^! @5 l
  1347. ; https://wiki.php.net/rfc/strict_sessions4 |2 k$ {" ]( w3 j* g- R  ~! ?
  1348. session.use_strict_mode = 0
    9 I& e' R  x: V) q
  1349. - f# m" {# s: w5 g3 }0 A0 H* h
  1350. ; Whether to use cookies.5 v7 e' N: `7 C$ Q% o
  1351. ; http://php.net/session.use-cookies
    " Y4 a1 L# C  a( [* J5 n  Z
  1352. session.use_cookies = 1
    : u5 w7 i& V# r. x/ _  g+ D
  1353. / |# t! Z* }& G4 C3 }/ C
  1354. ; http://php.net/session.cookie-secure0 b4 R" t% c; }0 F7 ~
  1355. ;session.cookie_secure =* c# x8 T. j3 W2 f1 e  n
  1356. ' g- b* R- q* ]+ T2 G4 ]6 r$ W
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining' t7 E' x* p$ G" j
  1358. ; the session id. We encourage this operation as it's very helpful in combating# [6 W  h! f, F! O9 J! a
  1359. ; session hijacking when not specifying and managing your own session id. It is
    0 v) j' R" R, r8 F
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.; I+ d7 A' V6 z
  1361. ; http://php.net/session.use-only-cookies7 w2 B" p2 V1 j6 u1 @0 N
  1362. session.use_only_cookies = 1
    : J3 l: ~/ e3 G2 Q3 p  H
  1363. $ i' @& q6 H6 d
  1364. ; Name of the session (used as cookie name).
    3 A* }. t3 v8 s1 b. m4 f
  1365. ; http://php.net/session.name
    . f! P: z: a2 A$ q0 e. M
  1366. session.name = PHPSESSID8 }9 r: d* v1 G* F# ?4 Z

  1367. : H, c$ e) i5 z$ V
  1368. ; Initialize session on request startup.5 E, @* l! h3 @( Q
  1369. ; http://php.net/session.auto-start
    5 T$ w5 j$ u/ @( I- Q. A
  1370. session.auto_start = 0
    # G9 `; A& ]% }! s% Z
  1371. ' |) s* [/ Y! O* e% v2 t# C* e2 l9 p% M
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.' |  x- Q/ {. V% K
  1373. ; http://php.net/session.cookie-lifetime5 R9 o; ?3 ?" n9 W. n
  1374. session.cookie_lifetime = 0( [- M4 e* f+ a! M) N2 S' I

  1375. - U5 s' {* X, O9 N% J4 y1 ~
  1376. ; The path for which the cookie is valid.) R1 W) H- Q: @& P9 ?1 Y6 k
  1377. ; http://php.net/session.cookie-path
    $ E+ V; _: |, z: _8 J* F1 u
  1378. session.cookie_path = /" g) F, n  N% Z6 l7 N# ^+ p. y
  1379. ! V) v) e% G. q
  1380. ; The domain for which the cookie is valid.' o; B$ p4 l7 k  |
  1381. ; http://php.net/session.cookie-domain% b3 A$ W  C1 ~' F! {* P" z" ~
  1382. session.cookie_domain =8 D) m2 ^0 R6 ~0 Z. R8 r( @, R- i

  1383. + |; B: H' q$ y
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.( ^7 k/ h& H3 H7 @% E% U
  1385. ; http://php.net/session.cookie-httponly' W: y, u' T. B3 O4 ]% {9 v
  1386. session.cookie_httponly =" T& G1 B. o1 q6 d" o
  1387. : s) ], e# D: b; o
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.! K, j: c/ z7 c# U; ]
  1389. ; http://php.net/session.serialize-handler
    % t7 {0 d9 B, ~/ z- U6 z. M
  1390. session.serialize_handler = php# z1 ^- D" W- o$ d
  1391. 7 g4 ]9 x- I4 g5 P7 o& w0 Z9 E
  1392. ; Defines the probability that the 'garbage collection' process is started
    , C& h  L! `" C2 X; r5 v+ ~9 J; r
  1393. ; on every session initialization. The probability is calculated by using$ K0 U1 T/ N# c) Q7 c2 i: q
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator8 m: a( w& O- ~7 W6 ]
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ) M6 g  P. Z2 t+ l! i
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance4 b. i) V% ^7 O, ?( S/ c
  1397. ; the gc will run on any give request./ s" X( B" h2 W+ v" s* V1 F
  1398. ; Default Value: 1
    , T; v0 X2 s! G+ r- z# Y$ V$ V2 C
  1399. ; Development Value: 14 p+ p7 E" _8 n7 M
  1400. ; Production Value: 1( l. G" Q! a9 U# a7 r
  1401. ; http://php.net/session.gc-probability0 R' _, P) V) u$ K
  1402. session.gc_probability = 1
    ' l6 W5 P; c! g. C5 y: A+ u1 }1 e! x
  1403. ! y0 Z& d* W7 R1 [' [) `7 k* T
  1404. ; Defines the probability that the 'garbage collection' process is started on every7 Q$ ?! l9 n2 j9 k8 g
  1405. ; session initialization. The probability is calculated by using the following equation:  @+ D2 b  ]1 ^4 F% A( P0 I
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and8 |6 a/ N4 E9 n0 I$ C
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1) h" V% d) s, b
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    * V" H+ t) u' o
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ) b/ G5 x( z) l, \- p$ ]: c
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    : C* w! d! D) j1 r" z9 `
  1411. ; this is a more efficient approach.
    : _1 Z+ K9 ?" X" T0 N" U
  1412. ; Default Value: 100& s+ }/ d9 m0 t
  1413. ; Development Value: 1000' N8 \: J9 E' U3 q
  1414. ; Production Value: 1000
    . p$ d- j7 }- i
  1415. ; http://php.net/session.gc-divisor! m% _- o. _4 W: N* ^: s) L
  1416. session.gc_divisor = 1000
    * q: ]& b' F/ I" Y
  1417. # G5 k. g7 b* Z" F3 X$ A
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    / X$ x. G# `# y. ?
  1419. ; cleaned up by the garbage collection process.! W) N9 D. B: i6 u4 I8 u
  1420. ; http://php.net/session.gc-maxlifetime
    7 D; l% q, m/ D( Y  W0 _
  1421. session.gc_maxlifetime = 1440
    2 Z& q( b6 {9 y# u  t' I

  1422. / N- t$ N1 e/ C
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    / _+ w- L/ p% L; Q
  1424. ;       (see session.save_path above), then garbage collection does *not*1 ]8 N7 @9 m4 `: A& }
  1425. ;       happen automatically.  You will need to do your own garbage
    % N5 A* f6 p: n. F: F' U. O' o
  1426. ;       collection through a shell script, cron entry, or some other method.0 d2 T( V4 R; D( M
  1427. ;       For example, the following script would is the equivalent of
    ( |, x) p, m. e- F
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ( f" \$ R0 o  U# u* Y
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm  `2 i9 {, _$ Z, {; Z. H# `

  1430. # {# g8 K7 B0 @5 _7 E
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    * v) K; y( T& h! `  q
  1432. ; HTTP_REFERER has to contain this substring for the session to be$ G% y% r3 x( ]8 E/ V& V
  1433. ; considered as valid.9 U/ m" q4 j% {* O$ @  X2 h
  1434. ; http://php.net/session.referer-check) S' M( L# O  r8 M4 ~2 b
  1435. session.referer_check =  N$ p0 \. U# D7 D/ |, Q
  1436. . K. G. p& D' D+ v; H) D
  1437. ; How many bytes to read from the file.( f2 Q* m8 y" \: P$ D
  1438. ; http://php.net/session.entropy-length
    - H) X- I* m  ?* `( X- j
  1439. ;session.entropy_length = 32
    / N* s1 `. \4 s# p% Z# `

  1440. * [4 ^+ l- l' l* W2 f6 ?* h/ M
  1441. ; Specified here to create the session id.) L, M8 g: a/ R
  1442. ; http://php.net/session.entropy-file) t: }& k# H0 c; N
  1443. ; Defaults to /dev/urandom) B+ D( i( }0 {: L& J
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ! G9 x2 l7 V* k$ x0 H
  1445. ; If neither are found at compile time, the default is no entropy file.* y9 H" Q; x/ M; B2 S1 \6 X% L
  1446. ; On windows, setting the entropy_length setting will activate the8 m  ~% e* b/ @
  1447. ; Windows random source (using the CryptoAPI)* b6 W. J/ [/ U/ o
  1448. ;session.entropy_file = /dev/urandom- E: q6 R6 ?& G2 ]4 e

  1449. 1 M0 o. k. W* L  S
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects% S. z4 O# I8 T% L
  1451. ; or leave this empty to avoid sending anti-caching headers.
    4 F$ I1 F8 |, v5 R" w' [
  1452. ; http://php.net/session.cache-limiter
    ) k- _( h! X7 c8 @/ X
  1453. session.cache_limiter = nocache/ O( j1 u' g# S0 h3 t5 a
  1454. % G" Q, ]7 f' ?0 m' R' ^7 G
  1455. ; Document expires after n minutes.
    1 V+ R4 {* c$ k; ~+ a2 u
  1456. ; http://php.net/session.cache-expire4 Q+ y3 z6 C: g1 x/ [* d1 T
  1457. session.cache_expire = 1803 E8 J9 s: q1 s) L+ l; E

  1458. 7 M" I" a; `- e. l
  1459. ; trans sid support is disabled by default.
    6 T, o" I& D+ z) ]3 H* Z5 e
  1460. ; Use of trans sid may risk your users' security.& O, `# E3 O9 ?) P* p
  1461. ; Use this option with caution.
    ! R7 x# d: l. k! N6 l
  1462. ; - User may send URL contains active session ID
    8 P: z1 `0 b( g* I* u! V* z7 E; D
  1463. ;   to other person via. email/irc/etc.
    : V5 u5 `  b: i+ H
  1464. ; - URL that contains active session ID may be stored$ Z/ a, q+ b( I* z) ~* `
  1465. ;   in publicly accessible computer.
    * \4 ?' l  p$ ]" L9 R
  1466. ; - User may access your site with the same session ID
    , \, W( ~2 {2 P/ T9 K' ]+ e
  1467. ;   always using URL stored in browser's history or bookmarks.
    & D" R. E- b; ]9 |3 e
  1468. ; http://php.net/session.use-trans-sid
    5 u1 t) b# h1 z* |2 T5 e
  1469. session.use_trans_sid = 0
    ) z# `$ ^3 j' ?

  1470. 5 U1 U- a  p6 q$ f
  1471. ; Select a hash function for use in generating session ids.2 G' s8 O' @; N- ]7 J& I
  1472. ; Possible Values- G$ x3 F& C3 E. d* u+ n
  1473. ;   0  (MD5 128 bits); W* C* e$ V) Z5 F+ z- ]" D
  1474. ;   1  (SHA-1 160 bits)" p' @* P* Z# W# W% f1 r8 |
  1475. ; This option may also be set to the name of any hash function supported by4 c* ]: N: \# m. {# x6 E$ m0 z4 `
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    & _$ |, v" `0 l" y
  1477. ; function.7 S8 j8 e- F" E/ N* l
  1478. ; http://php.net/session.hash-function
    9 i& r$ ?( r" x7 K4 N8 Q
  1479. session.hash_function = 0
    5 q2 h+ N  B. O1 k; F- }
  1480. 1 u+ d! k. c" r! d
  1481. ; Define how many bits are stored in each character when converting
    % _8 D7 _; N' F$ n# C  Y& X
  1482. ; the binary hash data to something readable.
    : L; F3 D/ M5 d
  1483. ; Possible values:; \1 u( r# P! i6 a" H9 `- M2 R4 j& a
  1484. ;   4  (4 bits: 0-9, a-f)
    ! `  z6 P1 N( G: Y1 F1 {. Z
  1485. ;   5  (5 bits: 0-9, a-v)# h! ?+ J/ f; {3 }& g0 g
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    , }* J5 y% f* B8 h% R
  1487. ; Default Value: 4& W4 m2 x4 x! [
  1488. ; Development Value: 5
    1 Q. u. m2 X2 q# g
  1489. ; Production Value: 55 ]1 z( E0 B7 c. Y- ^
  1490. ; http://php.net/session.hash-bits-per-character( Y3 q, B0 ~+ z8 j
  1491. session.hash_bits_per_character = 5
    ; b0 @3 E/ C$ u3 }6 o
  1492. , b) ^% m& m& I5 g5 x
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    1 v5 b$ E2 F* g. D
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    8 G3 b8 C, r6 r
  1495. ; add a hidden <input> field with the info which is otherwise appended
    , i, F9 o# ]; J% T# y3 t9 C
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.9 x, S" ]; T' o. u* T
  1497. ; Note that all valid entries require a "=", even if no value follows.; q, [; I' \, S7 S8 i2 i# u# H# z
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * l1 o. s; e4 U2 a
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * ?; m1 L  C5 L; i2 o3 p
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 h/ I0 @& {6 I
  1501. ; http://php.net/url-rewriter.tags
      j: m" K( S: P2 m1 q' k. _& w( Q& F
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 |  q( I, P) l9 M, y

  1503. . C2 a; c- A  F( O) _
  1504. ; Enable upload progress tracking in $_SESSION" z8 P; K4 a7 s# O+ C2 ]
  1505. ; Default Value: On
    9 D6 \0 @; J4 y* ?9 @- D
  1506. ; Development Value: On
    ( y7 S7 J6 {+ E
  1507. ; Production Value: On
    ' O" Y6 M  k4 y$ i
  1508. ; http://php.net/session.upload-progress.enabled
    6 L4 @9 B, K$ }" z
  1509. ;session.upload_progress.enabled = On4 Y  n3 `( w8 H6 F2 L3 ~
  1510. & S9 ^5 P+ g5 f4 c5 B
  1511. ; Cleanup the progress information as soon as all POST data has been read
    6 c9 A5 {  l& i
  1512. ; (i.e. upload completed).7 W, J. P& u! D' n# Z
  1513. ; Default Value: On( ~. X* _( H4 ^/ n. v
  1514. ; Development Value: On
    ( s# v( f. S9 v/ S/ i
  1515. ; Production Value: On
    2 G* v5 f4 `6 y# Y' S  n
  1516. ; http://php.net/session.upload-progress.cleanup
    2 i3 I( N1 l  [4 C# A8 {! c3 _: V
  1517. ;session.upload_progress.cleanup = On
    2 M* f- [6 W" J1 `# R
  1518. 4 V* p$ O8 T. M* J) E- b/ }% f( f
  1519. ; A prefix used for the upload progress key in $_SESSION" g7 Z5 `+ b6 `; p" C
  1520. ; Default Value: "upload_progress_": |! y1 u" W5 r
  1521. ; Development Value: "upload_progress_"# Y  A% H# g' {" M) W& R& F
  1522. ; Production Value: "upload_progress_"2 k6 j4 v4 r% a3 I3 ?
  1523. ; http://php.net/session.upload-progress.prefix
    " j  w# ~7 m$ R6 K) M# {
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ; O5 u: t; D) t5 h+ @' Y
  1525. * C1 X; v" M! H  a* \0 [0 M
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    5 Y8 m$ _2 b: W( |# l
  1527. ; containing the upload progress information$ K4 L; Z9 L/ k; a  _% X2 x" ~
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS". t+ o; i' F; W
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , ?9 D5 c2 l* }! Z9 w1 V/ A' W
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 p& I: ]2 G2 h! m
  1531. ; http://php.net/session.upload-progress.name  X" v5 O- n+ O; c$ ^0 w  J
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"- I3 V" M: Y/ g* s  v
  1533. * z7 h' Q" W0 W" |
  1534. ; How frequently the upload progress should be updated.' |7 z5 z1 B* M  d5 z
  1535. ; Given either in percentages (per-file), or in bytes
    0 u# C5 v! q$ i$ B- Z( L: N
  1536. ; Default Value: "1%". T; U8 R# J4 }: o! k: |2 C2 A) I
  1537. ; Development Value: "1%"
    1 @5 n2 Z$ f# l. ?% H7 l! M( p$ F' }
  1538. ; Production Value: "1%"8 o1 E3 Q( G5 n" F" Z" F6 C1 a: b& J
  1539. ; http://php.net/session.upload-progress.freq
    6 L% g8 X2 P3 j8 A+ I) F
  1540. ;session.upload_progress.freq =  "1%"# d; I- l& o/ b8 q; K9 M

  1541. 4 o4 L; R) B! p7 J0 b7 r
  1542. ; The minimum delay between updates, in seconds
    & `4 N& c8 X& G0 B9 s" r2 R5 V
  1543. ; Default Value: 1
    8 p7 u2 l% k5 Y; a/ Z( ~
  1544. ; Development Value: 1
    1 K1 t- |% Q$ _* |- y& |1 [
  1545. ; Production Value: 1
    % G4 v! D) M3 H3 {
  1546. ; http://php.net/session.upload-progress.min-freq
    / Q) ^! A/ M- u
  1547. ;session.upload_progress.min_freq = "1"8 D5 Y4 }9 X0 H, c; I
  1548. ( v% j6 g" F) z2 C
  1549. ; Only write session data when session data is changed. Enabled by default.
    1 g$ ?' V9 [& Z" v2 t
  1550. ; http://php.net/session.lazy-write. A1 k1 l6 G- a
  1551. ;session.lazy_write = On8 d, I  T7 l# Q  B) f
  1552. , W) i: f1 e% S* [" \$ c
  1553. [Assertion]
    ! [( i! L5 |- z7 \
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)# c! \. ~) B/ d
  1555. ; -1: Do not compile at all: y, |+ f5 j: Y- {
  1556. ;  0: Jump over assertion at run-time
    , t! V% l& E- z( I; x1 j
  1557. ;  1: Execute assertions
    & H# Y" S$ P$ ?4 p7 P" L
  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)# d0 @* k4 ]7 ^2 C
  1559. ; Default Value: 1
    % C( w$ w2 `/ Y( `
  1560. ; Development Value: 1
    . U2 C) S! m8 `. M( r
  1561. ; Production Value: -1
    + R# Q, p$ q$ q" q
  1562. ; http://php.net/zend.assertions
    + Q- R& Q- M* [  ~
  1563. zend.assertions = -1
    ! |1 D5 d4 {0 T; G4 K8 Z! b

  1564. & Q+ f5 E; Z( g3 J0 A
  1565. ; Assert(expr); active by default.
    ) G/ l$ s1 Y( {1 ^- l7 S
  1566. ; http://php.net/assert.active1 b$ {( K; Y/ ~0 R7 y
  1567. ;assert.active = On
    5 I* H* h: ^/ Y7 u; g% z

  1568. ) |6 \. K9 f0 J9 q4 |% w* o6 D
  1569. ; Throw an AssertationException on failed assertions, j" C5 @4 G* j9 ]5 u  N
  1570. ; http://php.net/assert.exception
    5 e0 l5 E  K+ v& M7 \6 n
  1571. ;assert.exception = On; [: l  z+ v7 ^& F$ J

  1572. ' u4 C. n+ J6 Q- a
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)  i. J6 I" g8 P
  1574. ; http://php.net/assert.warning
    ) S) Y$ q  P( S) G
  1575. ;assert.warning = On  o& K' ~6 H+ `' T) Y) M; g+ d

  1576. $ V8 X2 O- l. M+ v% W4 p7 q
  1577. ; Don't bail out by default.
    + Y" }, L  x; V
  1578. ; http://php.net/assert.bail
    9 o. |# I6 L+ O4 {0 }
  1579. ;assert.bail = Off
    1 @* h7 V" S) u  X5 u' D

  1580. ' c/ O5 G* C' F
  1581. ; User-function to be called if an assertion fails.
    8 C) w4 I) W  A( ], ]2 f7 ^$ }2 p. R
  1582. ; http://php.net/assert.callback5 D& ]% `& {) U! D8 t
  1583. ;assert.callback = 0+ ?) r; q. w* {
  1584. 0 V2 p5 ~2 Y' ]" l* ~5 s
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    * H; ?7 n( @3 F, ~
  1586. ; error_reporting(0) around the eval().# |9 ]: N- A7 }2 b  n8 P
  1587. ; http://php.net/assert.quiet-eval) z* i- y( p* ?( Z" s/ w3 @
  1588. ;assert.quiet_eval = 0
    4 o  }7 B/ t9 M; a1 P

  1589. $ t+ Q+ A# {: d9 e6 j& ~0 N
  1590. [COM]
    ; K$ M7 j2 ]; Q4 d3 G, L; s
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    , l/ ]8 T/ N' O7 ~& j# L
  1592. ; http://php.net/com.typelib-file, F1 D4 |/ V3 R" B( K
  1593. ;com.typelib_file =5 H2 o& I9 ]: F% D' K2 P( s- c
  1594. - M: ?' J; W1 ^% o1 b! k
  1595. ; allow Distributed-COM calls9 L* E6 d5 ]2 Q4 W  p4 B5 p* D( G
  1596. ; http://php.net/com.allow-dcom
    $ o8 E2 N# P7 S( O# v
  1597. ;com.allow_dcom = true9 W" C# e$ I2 o5 [; l4 ?
  1598. 8 f6 o& b/ a2 m6 V
  1599. ; autoregister constants of a components typlib on com_load()+ e) Z. Q/ ?( r" f/ c
  1600. ; http://php.net/com.autoregister-typelib7 a' n! ^$ _1 |) h% ^  V7 T
  1601. ;com.autoregister_typelib = true( ^  o/ A/ j1 s# Q* B$ r. h) ^

  1602. : f7 f2 z0 i& i; v6 G! d) ]
  1603. ; register constants casesensitive2 o8 I, K2 T* E/ M/ G1 ?' s
  1604. ; http://php.net/com.autoregister-casesensitive4 ?2 H/ Q& ~+ n7 y5 s
  1605. ;com.autoregister_casesensitive = false
    ; w( V" o, ]$ |! [8 [

  1606. 0 Q  o6 E! p" X2 e
  1607. ; show warnings on duplicate constant registrations' E0 m8 S; i- E6 n/ |
  1608. ; http://php.net/com.autoregister-verbose
    , r1 A! J: X8 K" q) W8 j: v" C
  1609. ;com.autoregister_verbose = true; B; b" b2 e% ]  R* J: v2 D
  1610. ( H: P3 f/ |/ l' a
  1611. ; The default character set code-page to use when passing strings to and from COM objects.' B6 D8 @4 b1 a& `/ i
  1612. ; Default: system ANSI code page
    - o! |, x  L7 B! J
  1613. ;com.code_page=
    % v3 D% U) o; [$ e  C5 i7 {# [
  1614. 7 n. ~# W) U) G0 g
  1615. [mbstring]' @; L, R% \1 c
  1616. ; language for internal character representation.
    8 t; l! q, Z0 k, x4 `& K  s/ x
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    : k: c6 W# g7 ?0 C4 h3 }
  1618. ; http://php.net/mbstring.language
    ; |7 D5 s+ m/ E# z8 g' l
  1619. ;mbstring.language = Japanese
    ; j/ u" f) c# q! l) ]1 [# E

  1620. + ?4 B) T) a8 \! k, o' U$ s8 g
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " k# q% o3 Z7 P3 h. C
  1622. ; internal/script encoding.
    " L6 J- n6 F8 A. E# c+ Z
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*), U1 l$ V  P6 Z9 ?" I" Y
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    3 e  s" @5 @& ^& x
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / T: V  m! y6 X3 v1 ]
  1626. ;mbstring.internal_encoding =
    " B7 f) I* Q& t' a8 d

  1627. 2 F  t1 o4 p2 e5 ~
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    1 B/ D0 F$ H1 s' s  T5 L
  1629. ; http input encoding.5 X4 f7 j, x8 C& X
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.' ?% A* [5 d5 N" }
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
      b& e8 W+ H. t8 `
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    5 t& Z9 O2 J/ y) _; c7 e; g, G
  1633. ; http://php.net/mbstring.http-input
    0 L' t( z' ]5 H  g- ^7 G# J
  1634. ;mbstring.http_input =
    + g( t$ H" h: D3 u$ @+ @: u

  1635. . e  e* N- Y) n0 Y, {) f( R
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ' h+ h# e! r; H
  1637. ; http output encoding." I2 ~. j5 J! g) g! ]* t& y
  1638. ; mb_output_handler must be registered as output buffer to function./ V) g; x0 {8 K8 G: ]* E
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.  I- b5 g. Y" l" f
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output2 a" C7 l  N$ H
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    1 N- P& \5 h( V5 ~1 h
  1642. ; otherwise output encoding conversion cannot be performed.9 S: R% y  i1 ?0 {
  1643. ; http://php.net/mbstring.http-output! I* f* H% S5 ?& @5 P9 s' v& L* |
  1644. ;mbstring.http_output =) f4 a7 q5 L" l: W1 s8 w* |0 r( Z% k8 {: j

  1645. & i( a5 V$ t4 @) O0 c; ]" ]) h
  1646. ; enable automatic encoding translation according to
    " U  E- V+ v8 i5 `: R0 G: @7 y1 G
  1647. ; mbstring.internal_encoding setting. Input chars are
    : ^% i6 |; K9 V3 w( W
  1648. ; converted to internal encoding by setting this to On.
    1 V7 a( P6 P2 _* E% M: o$ Q* ?1 z
  1649. ; Note: Do _not_ use automatic encoding translation for
    $ a3 }3 e, K+ D0 N& G+ P+ ~( D
  1650. ;       portable libs/applications.0 y# F# H: d4 m- u* n; ?3 O
  1651. ; http://php.net/mbstring.encoding-translation
    + e3 ~! ~4 h/ e) i3 b# x1 S
  1652. ;mbstring.encoding_translation = Off
    7 p! S& O  C& K, Y, W* w
  1653. : S6 e8 V, M. S( Y, p* W* @
  1654. ; automatic encoding detection order.$ S# `% N( n, c( w! R* e: O
  1655. ; "auto" detect order is changed according to mbstring.language7 f6 [+ @; t/ U. r
  1656. ; http://php.net/mbstring.detect-order7 s9 A5 v+ A+ q
  1657. ;mbstring.detect_order = auto1 j5 Z/ i% X9 g

  1658. $ c1 [$ C2 N9 @" r7 D
  1659. ; substitute_character used when character cannot be converted
    ' U/ B2 J/ y' X) H
  1660. ; one from another- U, o. \: O; Z9 j7 B) p
  1661. ; http://php.net/mbstring.substitute-character
    6 ^8 o  h. N  s* V* v5 s/ O9 `
  1662. ;mbstring.substitute_character = none% b, l2 B# |6 W

  1663. ) R4 ^/ s" E( z. I# J& M  h
  1664. ; overload(replace) single byte functions by mbstring functions.
    7 i$ l2 ?2 ~2 O1 e& x
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),7 ~8 a* w5 y' t+ D6 n
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    2 h" i" |- A& Q& F9 P
  1667. ; For example, 7 for overload everything.+ ?5 p# Q1 b& D' W- W0 B' |3 o
  1668. ; 0: No overload! S/ o' \7 H" V: p7 G8 m% q+ S
  1669. ; 1: Overload mail() function; @5 {2 \, c  G% q3 P8 }$ w- B
  1670. ; 2: Overload str*() functions
    1 m0 Q; R5 G& ^( z
  1671. ; 4: Overload ereg*() functions- y4 J  F, E: s$ H$ N' P
  1672. ; http://php.net/mbstring.func-overload
    7 \1 p7 _0 Y) J% r7 a
  1673. ;mbstring.func_overload = 0
    / u' A' t9 ?* b$ @4 q! E& _! Y3 f
  1674.   z# {9 U' i& t9 [/ S9 _% @: D6 s
  1675. ; enable strict encoding detection.7 f9 N3 D* B1 z9 s3 _8 ]; V" b7 ^' {
  1676. ; Default: Off
    % |- Z$ ^8 B6 u* t  B8 f' c  v
  1677. ;mbstring.strict_detection = On3 w) S  ?9 c% @/ b/ V

  1678. 2 ^3 L: l& [- S  q8 S8 R) w* c
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()" }, e/ |3 n$ B7 a
  1680. ; is activated.
    0 s% m6 x6 N' R2 O/ Z' X5 x5 ]
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    : e3 a/ u. C; W# B2 t* T5 g
  1682. ;mbstring.http_output_conv_mimetype=- l( @0 V: @, G

  1683. : _9 F/ w& O! g0 v2 ]
  1684. [gd]( Q$ a. y' l0 E5 |/ f7 p
  1685. ; Tell the jpeg decode to ignore warnings and try to create  R) R5 ?: G4 V5 v$ @0 v5 X
  1686. ; a gd image. The warning will then be displayed as notices: G- m8 @, j* V* u. h# H# A
  1687. ; disabled by default
    " {9 o" r5 e( ?, ?2 I. v9 L- M) T; \
  1688. ; http://php.net/gd.jpeg-ignore-warning/ h# i( Y  g. ^6 O) t+ ~
  1689. ;gd.jpeg_ignore_warning = 0
    # w4 C( S3 M/ R" Y3 O! \
  1690. 8 A1 E/ l" h' Z* s2 Q/ l
  1691. [exif]
    . z4 j; I0 I  V6 a6 c2 t8 _/ `
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    9 ~  T: b& m' K5 k: ?6 W  A
  1693. ; With mbstring support this will automatically be converted into the encoding
    2 w  ~: y$ u9 o; V" h+ c; w( t
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding9 B4 o" F- O* w+ r
  1695. ; is used. For the decode settings you can distinguish between motorola and
    ! a1 W. S, h, ~/ d2 B9 e
  1696. ; intel byte order. A decode setting cannot be empty.
    , w9 a: `) u7 y( @; n3 ~" `& A
  1697. ; http://php.net/exif.encode-unicode5 W+ L. m" [9 K, {2 w) h2 g
  1698. ;exif.encode_unicode = ISO-8859-151 P% G: |- B! O" H' k
  1699. ' e0 ?5 e) A0 q& G
  1700. ; http://php.net/exif.decode-unicode-motorola
    ! f* d: o, a2 R% Z( X* ^! }7 i) ~
  1701. ;exif.decode_unicode_motorola = UCS-2BE9 G7 O8 _7 N! p6 c
  1702. ' d5 k# U: ?% Y4 G
  1703. ; http://php.net/exif.decode-unicode-intel
    7 k# k8 {& [% Z$ S. I# M8 e! Y
  1704. ;exif.decode_unicode_intel    = UCS-2LE3 a2 O  X: ?, Z  _6 x
  1705. 5 O  P; K2 A! o" k* O
  1706. ; http://php.net/exif.encode-jis
    / f& x% ^. P  K2 Z: S
  1707. ;exif.encode_jis =; [' R# n( @- G/ T
  1708. 6 w+ @- U2 |9 Y- i
  1709. ; http://php.net/exif.decode-jis-motorola
    3 c' D2 ?3 D, z% D
  1710. ;exif.decode_jis_motorola = JIS
    + X" q; d) T$ R1 W- P8 k. X
  1711. # O& x4 M2 P; w0 N
  1712. ; http://php.net/exif.decode-jis-intel
    * ?: e6 F3 \0 S) u
  1713. ;exif.decode_jis_intel    = JIS
    6 \9 N. \% g! d1 I
  1714. / t# {! e( q/ C* |/ R
  1715. [Tidy]
    9 [% ?# x9 }: P0 t% G9 D: h2 L
  1716. ; The path to a default tidy configuration file to use when using tidy
    * T; Q1 L9 P' g+ ]* J$ H2 A+ F3 T- R
  1717. ; http://php.net/tidy.default-config
    6 F: Z, P" H( n
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg; Y4 o, [4 h, O% c! B# x
  1719. 8 B3 Z( y* V( k( ~, }
  1720. ; Should tidy clean and repair output automatically?
    & @- j' T! J" s3 V7 P" Y
  1721. ; WARNING: Do not use this option if you are generating non-html content6 ?" N, n+ @$ K. O5 G' I7 j3 ?
  1722. ; such as dynamic images; C# c  O3 P9 ~% j
  1723. ; http://php.net/tidy.clean-output$ d' C5 \, {: b) Q- F
  1724. tidy.clean_output = Off9 \2 x0 W& n7 A/ J/ m
  1725. ! `( D. a, j+ l
  1726. [soap]
    ' L+ w2 i$ ]& l8 L) ]
  1727. ; Enables or disables WSDL caching feature.
    0 c0 \( [* w) p5 o% c1 q
  1728. ; http://php.net/soap.wsdl-cache-enabled' y9 O' B4 k; k4 g0 o
  1729. soap.wsdl_cache_enabled=15 s& T: l% c  T, Y; N/ M8 x

  1730. 7 x9 B/ G: m% k
  1731. ; Sets the directory name where SOAP extension will put cache files.
    3 v8 U, y" t! }3 q
  1732. ; http://php.net/soap.wsdl-cache-dir
    / W) o: z  V+ N) L$ f( k( q4 O
  1733. soap.wsdl_cache_dir="/tmp"
    6 i6 i2 }$ o$ }, i  p1 Q6 R% {1 `

  1734. % H6 k" R4 Q! Q" C) _. }. e! u( J2 R
  1735. ; (time to live) Sets the number of second while cached file will be used
    * H5 d% Z' O7 r" E' }
  1736. ; instead of original one.
    9 ]0 E9 T3 t) d1 K! l
  1737. ; http://php.net/soap.wsdl-cache-ttl
    $ u4 w) V: C& ^/ J1 `
  1738. soap.wsdl_cache_ttl=86400# u1 W6 R/ v; ^5 s  k

  1739. 3 d+ |1 r2 f3 G4 I* l4 B
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    & W. G$ G! [# \  w& k+ R
  1741. soap.wsdl_cache_limit = 5* {" @6 `8 }  z& [1 j3 H
  1742. : p( Z8 H0 y4 Q0 Z: E7 h' l
  1743. [sysvshm]3 P% t/ z, d: Y) R4 ^, Y
  1744. ; A default size of the shared memory segment) o6 t) y' p* n. k$ q2 |# p
  1745. ;sysvshm.init_mem = 10000
    / @( d  `) u% |# Q+ A

  1746. 8 L1 p/ x7 {7 D$ i& y/ e" ]
  1747. [ldap]% F1 e2 O+ Q; y! r& ^+ B! `
  1748. ; Sets the maximum number of open links or -1 for unlimited.2 o& [6 }% A% c5 a6 y* j/ g
  1749. ldap.max_links = -1
    ) ~- W4 T( k) M# j6 K

  1750. 6 C3 t' A0 L! U- ^
  1751. [mcrypt]$ c% ~4 h, {. O& [# @% N/ G
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open. m8 R* ]+ c4 N1 n
  1753. 4 j4 j: \# h* }) f9 x. l
  1754. ; Directory where to load mcrypt algorithms
    6 o" m9 c1 e+ W) o; r# |
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)1 w0 s; |( j. g9 m2 ~2 g
  1756. ;mcrypt.algorithms_dir=
    ! t$ c1 }: R/ M9 G7 r! |3 J

  1757. ( G  ^# f- |3 g
  1758. ; Directory where to load mcrypt modes2 W; S. z$ W, k. r/ I
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      U! e. B4 N, e
  1760. ;mcrypt.modes_dir=
    ' s! o! @. {/ x! k# ~& Q
  1761. 2 r$ F3 a$ ^& C7 I) y0 \% x- \
  1762. [dba]
    5 T+ o7 K. Q( Y4 m" s
  1763. ;dba.default_handler=' y! Q3 Q' O5 k% x1 j$ z" H+ H2 r
  1764. / _+ ^; S0 c/ Z
  1765. [opcache]
    7 t. s& k4 ?  Z% {3 n1 S. ?5 Q
  1766. ; Determines if Zend OPCache is enabled
      E* l: Y, p# J0 N# K
  1767. ;opcache.enable=0
    ) e6 m& F" Z1 W' Q4 E7 _( g

  1768. % [, V: g# H; O! M6 L5 j% j
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    $ F% v/ V" B7 ]; U
  1770. ;opcache.enable_cli=04 O# Y# ^2 j) S* b

  1771. - ]$ q; w& |; o
  1772. ; The OPcache shared memory storage size.: @' w5 n4 _5 h
  1773. ;opcache.memory_consumption=64
    ; o6 u' T% B/ L( F. e

  1774.   t2 ]( \7 I1 X  o4 _3 _9 L6 o
  1775. ; The amount of memory for interned strings in Mbytes.' e0 Z* Z& j4 O' p9 h2 n
  1776. ;opcache.interned_strings_buffer=4
    0 Z( S# J$ k2 m# X
  1777.   _& r% p$ \$ P( T; {. z
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    . V5 D; B' ]7 w3 E* t
  1779. ; Only numbers between 200 and 1000000 are allowed.7 w$ f0 |* D( |& g9 z+ I
  1780. ;opcache.max_accelerated_files=2000
    8 n5 D8 d* b0 X5 m+ k/ u/ k7 n9 A8 H7 T
  1781. 1 U9 y1 a+ V0 w# J
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    : n6 ?. y7 l: Q; \
  1783. ;opcache.max_wasted_percentage=5. G1 e8 g/ g5 l0 @. ~: r  }7 Y( X
  1784. % v8 E! k- }' @  n
  1785. ; When this directive is enabled, the OPcache appends the current working
    , B& n8 Z2 R! _; l! `
  1786. ; directory to the script key, thus eliminating possible collisions between) k% R2 i( I" }0 w+ G# X( r
  1787. ; files with the same name (basename). Disabling the directive improves8 s- T. x! t7 _6 Y4 k& H
  1788. ; performance, but may break existing applications.
    : c2 t. @$ D4 m: P! W- S, E0 b
  1789. ;opcache.use_cwd=13 l3 l* ?+ Q# z0 }) W$ @

  1790. / g1 U" ]6 X: u! p) \
  1791. ; When disabled, you must reset the OPcache manually or restart the
    1 U0 l6 u1 X. N4 r
  1792. ; webserver for changes to the filesystem to take effect.
    7 m" G* J8 |3 C& T
  1793. ;opcache.validate_timestamps=1
    8 L4 Y' A. ~/ ]1 j

  1794. ( O- o* f. d& H8 L  I6 B3 Z- P
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    - P- \* L! M% Z# V; Z: N
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ( D# T4 U" n, A/ V' S1 K
  1797. ; once per request. "0" means always validate)
    ! }( ?( j  v8 V" Z3 W) r, H
  1798. ;opcache.revalidate_freq=2
    7 I8 u1 U7 k/ O' \1 e) n

  1799. 2 k' O  \1 V, h9 @1 l. M
  1800. ; Enables or disables file search in include_path optimization' ~2 t5 ?4 z2 H' u/ ~; f
  1801. ;opcache.revalidate_path=0
    5 s' ~0 k: I) E  K

  1802. # J5 H0 r: T  ?1 \1 A
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    4 P7 |" `; f# ~* V7 Q
  1804. ; size of the optimized code.
    3 ], Q; B: L; w7 _3 u  G& A
  1805. ;opcache.save_comments=1
    * @' d; C; o, }5 `6 u6 q$ C
  1806. ' `$ }& `" c+ ~! b. X; d
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ' Q! F; c' t3 A% |; o5 l
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities./ p- d# \/ @$ O3 u6 ]& @
  1809. ;opcache.fast_shutdown=0
    4 _6 v) f1 `( y7 K+ t# Z: a: C

  1810. 1 w, Z- J( c" C; \& C" V6 R5 t
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    ( i) N4 W5 [3 e5 e4 b
  1812. ;opcache.enable_file_override=0, e6 G4 x% G  y7 e8 K
  1813. ( O/ \( J, E+ E7 f
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    2 M6 w+ m2 i' |
  1815. ; passes
    3 m0 J9 z& f( k4 c! S+ [% V# }
  1816. ;opcache.optimization_level=0xffffffff7 Y0 |: U" x, Z; P$ o# P
  1817. 0 H* P; V; g0 Z2 s9 E: K- m# D
  1818. ;opcache.inherited_hack=17 u9 S  E7 u& Z2 Z# ]
  1819. ;opcache.dups_fix=0- L1 @, U8 D% T) C: c; Q9 i
  1820. 6 n* E) ]3 N% z  b; \% C
  1821. ; The location of the OPcache blacklist file (wildcards allowed).2 {$ z5 }( S' i$ T
  1822. ; Each OPcache blacklist file is a text file that holds the names of files  N* v* a/ n- S4 f+ A% o" {& N
  1823. ; that should not be accelerated. The file format is to add each filename& ^6 a7 ^5 ]- f. Q) g) f
  1824. ; to a new line. The filename may be a full path or just a file prefix
    : Z7 L# Z, O& y6 q* l4 l* n
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www  c! s9 x  N- ?6 F5 N+ `$ H
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
      \& q; _8 Y% ~3 A
  1827. ;opcache.blacklist_filename=
    * b7 T2 r' y( ~% p% z
  1828. ' G* r9 a# B* C  Y; @4 M" y
  1829. ; Allows exclusion of large files from being cached. By default all files/ N; y1 a2 U5 d2 h
  1830. ; are cached.2 l5 v/ J$ g& o* G% M0 _
  1831. ;opcache.max_file_size=0" k, }0 R& ^- s2 X7 G3 F

  1832.   D# [, L0 _" `( z" R
  1833. ; Check the cache checksum each N requests.
    % s6 [, i4 f/ Y6 D9 A5 o# }
  1834. ; The default value of "0" means that the checks are disabled.
    # z" F. S- P8 Q; \8 e) G% N2 v
  1835. ;opcache.consistency_checks=0
    ) `0 c: ?) h6 f
  1836. . m: t. R+ N- A4 b* _& m
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    6 m8 k& e5 p- m
  1838. ; is not being accessed.. y+ G3 N5 |% [( F
  1839. ;opcache.force_restart_timeout=180
    : q# Q4 A) x+ T; ]
  1840. & }7 h, O: x# l$ S$ D! \% [
  1841. ; OPcache error_log file name. Empty string assumes "stderr".1 [3 a) L' e; V1 K' Z3 y% n8 c. d
  1842. ;opcache.error_log=
    $ K; {  ?8 X6 ]1 u2 t; A. v

  1843. * \$ A5 L- A5 _- A4 g+ t, C# a
  1844. ; All OPcache errors go to the Web server log.) ^7 X( J1 V6 C+ n( F
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    6 W, L# ~* |; ?& p' Q$ V8 F7 s: ~
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    * G5 U  B8 a; w: l' N& h
  1847. ; debug messages (level 4).
    9 U$ Q2 A4 q$ e$ [3 ^; L, G% H
  1848. ;opcache.log_verbosity_level=15 g, m# y3 Y8 [, J5 K
  1849. : v9 x' W2 U! d! J$ U% }
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.$ \; b! I/ P, M! u  K$ E2 [
  1851. ;opcache.preferred_memory_model=# n) `: P- Q8 R4 y+ H! V% j

  1852. ; `- u4 `+ _7 y" k4 q
  1853. ; Protect the shared memory from unexpected writing during script execution.+ l1 y2 s! e5 g" f! j+ h
  1854. ; Useful for internal debugging only.0 M! {+ G) e/ e! Y
  1855. ;opcache.protect_memory=0
    6 `1 m$ h' N- o( D' N. ?
  1856. , b6 Q" Q6 Z8 u/ l; R! U
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    " W  Z6 u: N# E0 w" h; _
  1858. ; started from specified string. The default "" means no restriction
    0 `3 x% u/ d  O3 W! n% L3 b
  1859. ;opcache.restrict_api=! A1 [8 G2 l; R; }9 H! T5 {: l- b
  1860. % Z0 [1 M, M5 t3 q4 Y( W2 R
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP, |; o9 S% j& z% j" m9 i
  1862. ; processes have to map shared memory into the same address space. This6 Y" E! Y7 J& r0 K, t
  1863. ; directive allows to manually fix the "Unable to reattach to base address"5 O( A6 Z+ @, Y7 ]. e
  1864. ; errors.
    : z, W) L. \& t: F/ ^/ o
  1865. ;opcache.mmap_base=: h" D, D1 i* g# ~! g4 |
  1866. # `- [: V' J; j! ^! q8 b) S1 `$ v+ r
  1867. ; Enables and sets the second level cache directory.
    ) z) Z5 Q7 I% E6 ]
  1868. ; It should improve performance when SHM memory is full, at server restart or  B, B* @! j) u
  1869. ; SHM reset. The default "" disables file based caching." Q% P+ ]8 S$ a4 d
  1870. ;opcache.file_cache=4 g2 p0 y/ A- g3 h) K/ q
  1871. " {4 g0 x+ f4 @( R
  1872. ; Enables or disables opcode caching in shared memory.& h2 |* g. |8 o0 S
  1873. ;opcache.file_cache_only=0
    2 l  j; b2 N7 o7 g* N! g
  1874. ) Y# e( G6 V% ^
  1875. ; Enables or disables checksum validation when script loaded from file cache.% t6 ?" c* m$ \% h  o* C
  1876. ;opcache.file_cache_consistency_checks=1
    , G# H/ D: S; L( s1 E

  1877. 4 `) j! f* C5 p, j# y* z1 L" m4 a& y
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    ) s2 G2 O: M9 r) b6 _; G  V
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    , f, L" P9 T, y
  1880. ; cache is required.
    . Y  m3 G6 q2 q8 e! s
  1881. ;opcache.file_cache_fallback=13 g$ c, b" }7 Y' n! q" ]
  1882. 8 U) }( N: O0 N! z* Z. U$ d
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    4 e8 D( Q" J$ b1 e
  1884. ; This should improve performance, but requires appropriate OS configuration.. g! d3 n  b$ P4 P/ g" i0 e
  1885. ;opcache.huge_code_pages=1; O+ m7 w) I; p  o2 [

  1886. 7 x" |4 Y6 d! ?7 m3 H$ c. e
  1887. ; Validate cached file permissions.
    , c$ z2 R$ e+ y) y, t% g; ]* G
  1888. ; opcache.validate_permission=0; M: a1 B, M/ q  H
  1889. % i% A0 \: S( s% J, t) [) X
  1890. ; Prevent name collisions in chroot'ed environment.* l" `! C3 b6 B& O6 d
  1891. ; opcache.validate_root=0
    & a: R5 E4 g% T4 ~9 k

  1892. " d3 h/ v5 n  j8 T2 K
  1893. [curl]
    + M! g9 _! a, c$ |1 @1 F! s
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ) R6 w5 @( x( \' V2 _
  1895. ; absolute path.: C7 k0 c, J1 H. u" v* T
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt7 m( g3 ~. D3 b5 ^
  1897. # w/ o) s! b- s$ `, G+ G# I6 r
  1898. [openssl]
    6 I( |! X, ]# I# v. X
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    - X4 B( d3 }9 e  A
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should  @* k+ T" R/ H8 P
  1901. ; not specify a value for this directive as PHP will attempt to use the
    2 X! ^% R9 }1 A! J
  1902. ; OS-managed cert stores in its absence. If specified, this value may still' @+ Q( K1 O. v1 ?( ^. F
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context) g; k  D9 p* i& e$ J& W
  1904. ; option.3 A/ ~" T) Q4 ^: o- G* Q. P
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt! p9 `* U! |, `+ [0 W% M

  1906. ' @, i# Y, K5 u% r8 r. x
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the4 ^: g$ w) u* h% y9 C+ f
  1908. ; directory pointed to by openssl.capath is searched for a suitable8 u/ s8 ?+ [) o  K" }* ?
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    ' o: V1 Z5 S# X# u2 C
  1910. ; Most users should not specify a value for this directive as PHP will
    + c% b) P; ?& f* R$ j
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ! F9 Z$ I- I( t' r" k% R
  1912. ; this value may still be overridden on a per-stream basis via the "capath"* O$ ]( H& [+ }/ t+ ?
  1913. ; SSL stream context option.
    % N- g. H  y' {/ b, r
  1914. ;openssl.capath=
    ' n( V; o  h% W: q# R
  1915. , [2 N4 O$ r8 p) r  n
  1916. ; Local Variables:+ @# r5 j! F$ M3 o: K
  1917. ; tab-width: 4! k' v! ^* a7 m- j) |! }
  1918. ; End:) z, L& `, [4 f1 O+ u

  1919. . A8 [7 A4 O1 o9 o5 T
  1920. ;eaccelerator
    2 n  H# ~  e2 f: Y6 `1 X4 y
  1921. , O8 h9 u9 Z1 p8 F# i4 {2 U
  1922. ;ionCube- O/ ?7 J0 R( \2 p+ P9 u
  1923. 1 [- u* P- Q# z/ @
  1924. ;opcache( ]/ d5 b; v: l
  1925. : x$ @6 i# T3 w8 H% k; t# O
  1926. [Zend ZendGuard Loader]
    ) b; L6 \( @6 M' d9 M, W
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.! _  W0 ?1 z  W1 C
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so, g# [: z4 x/ V* P  S  `+ d& S
  1929. ;zend_loader.enable=1/ D" ]2 n$ L# m
  1930. ;zend_loader.disable_licensing=0: d! r7 u) ?, B& N4 Y: p
  1931. ;zend_loader.obfuscation_level_support=36 i2 J: j0 x* i5 D8 X
  1932. ;zend_loader.license_path=
    2 G) p$ _0 N5 A) W- J, W

  1933. 5 O+ o+ f; ]0 y+ E6 z
  1934. ;xcache; ], ^' [  q, _1 S0 e
  1935. * M4 E% D8 T8 u- v/ ]" c
复制代码

$ X1 x8 j/ n) X, \; ?' B/ H5 A* G$ ]: d  R) r

; ~' t+ z7 X% ^: n9 i! J+ X1 |! _2 @% `2 ^
! y4 K+ I" y5 O7 D2 Y8 O$ P  a% o
+ b% ]1 o+ U$ R

! q% i2 t& I( c! y" h$ Z- ?: N% ^PHP5.6版本原始设置
1 M; v1 O+ o: D" f) F# k# w, ^& k" i' N$ u# h) O% o3 v5 }
  1. [PHP]# p0 G$ \# C3 t9 t& Z+ W

  2. * W' ~1 J) z8 ~+ F6 H+ Y5 Y* T
  3. ;;;;;;;;;;;;;;;;;;;& M. q% s, s* \: T9 t* J% O; q
  4. ; About php.ini   ;3 h# n- N& ^5 w; ?. A
  5. ;;;;;;;;;;;;;;;;;;;
    4 X9 o  ^! R4 I: L& P* q6 z
  6. ; PHP's initialization file, generally called php.ini, is responsible for7 C! u# j% W" U. W& @2 c
  7. ; configuring many of the aspects of PHP's behavior.0 [# }  _6 w( M0 q2 `
  8. 6 v: V8 q: k# F2 p% F2 o3 G: _
  9. ; PHP attempts to find and load this configuration from a number of locations.0 g& t: j$ E1 ~6 Y7 O& B
  10. ; The following is a summary of its search order:! o6 {* l- e  N( g9 S- [
  11. ; 1. SAPI module specific location.
    $ F) v; X$ ?. H( s4 l$ v
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)8 x2 [- x/ M: c: t- `* r
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0): x; n& B9 |* X% b2 l# a
  14. ; 4. Current working directory (except CLI)6 ~$ J& w3 i3 s1 P7 M7 ]# @
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP) [, m! \9 a1 D$ y, i  t: l, P2 M9 d
  16. ; (otherwise in Windows), A1 i. D" b$ h. D' p
  17. ; 6. The directory from the --with-config-file-path compile time option, or the/ J* k" [7 D, r3 o, o
  18. ; Windows directory (C:\windows or C:\winnt)1 K  C, E6 h9 l7 i! b" X
  19. ; See the PHP docs for more specific information.8 }1 z% ]- e0 @' [) u- p
  20. ; http://php.net/configuration.file3 S7 M. C0 W8 L' N2 v2 u. t

  21. ; B0 X* F0 }7 E2 u; I
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    # E. v+ w$ ?; v) D( L  j
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    # G. j9 }8 ]) ^1 O. ?; T3 n
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though, D* _* {# _" B3 Z
  25. ; they might mean something in the future.
    $ |- e; W% i, S9 g+ g" f
  26. ' p2 _* i( J0 p9 h6 `
  27. ; Directives following the section heading [PATH=/www/mysite] only
    5 i. O6 W3 y& A
  28. ; apply to PHP files in the /www/mysite directory.  Directives5 h: m( E  Z2 Z' Y9 \
  29. ; following the section heading [HOST=www.example.com] only apply to
    . d1 \( y* g8 Y, V% A; R$ ?; O
  30. ; PHP files served from www.example.com.  Directives set in these
    * Q+ e5 W/ X, r" F
  31. ; special sections cannot be overridden by user-defined INI files or
    9 J1 X# Q) X- p3 y$ K
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under2 U& z8 }# }# \' V+ H$ S" [# ]
  33. ; CGI/FastCGI., b, F0 N7 [! T9 _; D8 n
  34. ; http://php.net/ini.sections; ^! ^+ P$ }5 f+ i1 A1 L
  35. 4 W  M8 _1 ]6 m6 C
  36. ; Directives are specified using the following syntax:7 {( H+ K/ u3 G7 }
  37. ; directive = value
      m! y' P, l( ~' g; T
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    4 t5 W9 w6 r, J& S) e4 q" B
  39. ; Directives are variables used to configure PHP or PHP extensions.5 Q# Q+ z, ?( T" G
  40. ; There is no name validation.  If PHP can't find an expected
    2 z7 H) |  G. p# u. j9 P1 w5 T7 b% v
  41. ; directive because it is not set or is mistyped, a default value will be used.
    0 \0 t2 v# T2 \( b( `
  42. + e' l- W. g( L
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    7 h* o) u# C# A" L7 v9 N" _# Z
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression) q/ l4 j1 s, M: y% I- R; _0 w
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    / I2 t& V( m7 Z  {
  46. ; previously set variable or directive (e.g. ${foo})
    , Q5 c; Q" H" p" m% ]& r& \
  47. 6 b+ l) s8 I& F( m# H
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    " G7 a3 q* d- F
  49. ; |  bitwise OR4 L8 k. ~" K+ i$ S1 S
  50. ; ^  bitwise XOR
    4 G5 h: B. E$ w) |5 I
  51. ; &  bitwise AND' L# k. q0 ~( a4 V9 d
  52. ; ~  bitwise NOT
    $ p) D$ T; b/ l  P5 F# d
  53. ; !  boolean NOT5 l4 M2 s5 D) k& n7 b. Q+ `/ B* B- I
  54. - p* {! W' }+ h7 {8 [% R% I; v/ Y
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    % q  y4 z/ j. P; ]
  56. ; They can be turned off using the values 0, Off, False or No.
    + A" l# }& \3 @9 M6 ]& b/ X, r
  57. 2 `3 V# Q( z5 ^( N( c
  58. ; An empty string can be denoted by simply not writing anything after the equal2 _6 S3 t; N" T/ Y' s
  59. ; sign, or by using the None keyword:
      [5 O* @& w7 e/ s. w2 B  Q4 e

  60. ! @+ h6 J! ]. H- s
  61. ;  foo =         ; sets foo to an empty string
    + V& _9 j1 D9 G. M1 A
  62. ;  foo = None    ; sets foo to an empty string* M7 z$ X, l6 t) P7 X4 t! ~+ N6 c$ e
  63. ;  foo = "None"  ; sets foo to the string 'None'9 e7 D% g# W9 Q* G+ D& W' c
  64. # B" A) _; J- {$ Y0 _
  65. ; If you use constants in your value, and these constants belong to a
    1 u2 F, F7 l: Z4 C
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),( d: Z7 `5 j3 a2 H% @
  67. ; you may only use these constants *after* the line that loads the extension.2 V' o" q( c: z( ^& @$ Y; [  G& e
  68. 3 D+ t$ e- i. i- M( G& A
  69. ;;;;;;;;;;;;;;;;;;;
    , s5 R* x! |9 }8 J! I' l# g8 y% J
  70. ; About this file ;
    : O* y% D* V+ Q# x3 s# {4 \' z
  71. ;;;;;;;;;;;;;;;;;;;" [7 D! A* c6 m0 ]8 }! b1 l
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ; P' z& o: ^5 X& s3 W
  73. ; in production environments and one that is recommended to be used in9 F- |' |8 u' h2 Q+ r7 P# p& r& }
  74. ; development environments.
    ' {: j: \: k" I) j9 w/ A
  75. 4 |0 |7 N" S4 L, E
  76. ; php.ini-production contains settings which hold security, performance and
    ) l5 r& T0 J( E% p9 E( e
  77. ; best practices at its core. But please be aware, these settings may break% f/ w% }' z$ N6 T2 y
  78. ; compatibility with older or less security conscience applications. We
    6 \# w5 d- v# j" Q# U! J3 y' n
  79. ; recommending using the production ini in production and testing environments.2 V8 k$ f$ ?/ s) G( t, |# z
  80. 4 ?$ _! R  R/ v6 w- v
  81. ; php.ini-development is very similar to its production variant, except it is
    ! E' @5 v- O1 I- L
  82. ; much more verbose when it comes to errors. We recommend using the7 T" a7 q% C1 r  `) Q
  83. ; development version only in development environments, as errors shown to* B; Q$ n% K! H1 \# P
  84. ; application users can inadvertently leak otherwise secure information.
    % _! S* _8 E9 r' ~0 i) I9 b
  85. & S2 c) [  _) \  L) z8 P
  86. ; This is php.ini-production INI file.
      E; r$ _+ v) N, ?% q

  87. 1 O! p" k- ]: }4 B4 v9 d
  88. ;;;;;;;;;;;;;;;;;;;
    ! @. v  L3 v5 y5 t
  89. ; Quick Reference ;
    " d. m/ v8 ~- |+ s) }) @
  90. ;;;;;;;;;;;;;;;;;;;2 o9 y* E/ M+ O! Z9 L
  91. ; The following are all the settings which are different in either the production
    5 ], _/ F2 \2 v$ {0 d/ x1 B: J
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    5 x' r: a4 R; Q+ n
  93. ; Please see the actual settings later in the document for more details as to why
    3 O! x1 j' ]& i
  94. ; we recommend these changes in PHP's behavior.. ^) `9 T2 Y" f  P0 Y& B; U- u
  95. % B: I* S* G. R
  96. ; display_errors
    " G6 n8 v4 M$ ]# h: z/ m2 m4 o2 F
  97. ;   Default Value: On
    0 A. k+ X% @! f" ?& p
  98. ;   Development Value: On
    , j0 I) r. o, @" B; l0 e" U
  99. ;   Production Value: Off
    7 m4 l  s6 w- v3 B: w" H$ n) N
  100. & ~1 U7 W  f; _$ R4 i: ?* L0 ^: S$ _
  101. ; display_startup_errors
    ; k8 u2 K; r: a% V: p3 j& N3 y
  102. ;   Default Value: Off- V! a3 Z& Z& `( O5 I, Y
  103. ;   Development Value: On# ?+ i; ^7 Q9 p6 g5 D) x& L6 m
  104. ;   Production Value: Off4 I/ E; M. H; y7 ]5 I' ~- ^
  105. 4 K; _6 a4 _0 T0 Q/ L' V
  106. ; error_reporting
    8 P: P3 I2 [# c! y8 ?9 T
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    7 U2 l" {% ]: a3 o8 u6 G. p5 ^7 m% E; [
  108. ;   Development Value: E_ALL
    - e! V$ u  E- ?1 B2 J. u
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT+ A; j+ a2 i; \

  110. ! h, t( R) Z, ~  ~- _
  111. ; html_errors
      G* A2 H: d, n& l+ y7 {
  112. ;   Default Value: On
    ( |; m0 ^: ~3 k: x& p
  113. ;   Development Value: On, E; M/ E! x, e) w
  114. ;   Production value: On0 b1 P( Q0 l' H. \3 I3 O1 k# J

  115. % ~0 F7 G2 h5 N
  116. ; log_errors
    ) i1 T7 |$ ]5 A( `5 W: z9 v
  117. ;   Default Value: Off
    $ n- \/ w, E3 u+ h  u9 s* x5 S
  118. ;   Development Value: On
    % j* n. R) h" k( f) e
  119. ;   Production Value: On; ]# E# n- p" q3 x1 g, P
  120. 9 F+ x1 p/ ^) @; G9 ^
  121. ; max_input_time
    ! K0 K5 ^, U3 O
  122. ;   Default Value: -1 (Unlimited)9 r* ?6 d' C7 d6 h+ q, K7 |% {. _# q
  123. ;   Development Value: 60 (60 seconds)8 q9 [3 {% ~$ B& @
  124. ;   Production Value: 60 (60 seconds)
    ) Z8 N+ k4 H4 ~1 q8 \; \

  125. ( ?' G; x6 A1 ~- }/ R+ A; c
  126. ; output_buffering
    * b) }+ H) y2 N9 F
  127. ;   Default Value: Off
    3 ?: A6 {9 _; Z3 ]7 t
  128. ;   Development Value: 4096/ x& n8 T2 R. a. V
  129. ;   Production Value: 40966 N0 }7 ~$ o5 V* @% u6 F
  130. 5 s# H" y9 c' V1 Y( C( c7 h
  131. ; register_argc_argv, [2 X$ W: R) h) e, [# k
  132. ;   Default Value: On% P" z# c8 I6 q/ R* l: I# {
  133. ;   Development Value: Off
    1 E5 o3 P( s  p& Q0 [
  134. ;   Production Value: Off
    . ~% Q4 W+ K  G) x1 s4 P- }
  135. . w+ O8 r- r) g) g. V) X
  136. ; request_order2 t+ T- D( V8 N1 i1 U4 D8 Z
  137. ;   Default Value: None3 j, l* q2 c+ Z' T  D6 T
  138. ;   Development Value: "GP"
    7 S7 v9 [" g( o  @! q1 ~
  139. ;   Production Value: "GP"' R7 j0 A1 e" V" U- r' z1 Y
  140. 6 |/ U6 M) g* U: d  ~
  141. ; session.gc_divisor
    # q/ H3 C+ y+ E; \0 ^0 r  o; Q
  142. ;   Default Value: 100
    8 D% @2 S3 J  J7 J- N& O
  143. ;   Development Value: 1000( T- T1 M7 j6 r8 g! c7 a3 G
  144. ;   Production Value: 1000
    3 m, Z9 `* ]% l9 Y

  145. 0 F, @% w' w9 w" {! `. U5 a
  146. ; session.hash_bits_per_character
    $ S$ [9 w% Y4 ^5 Z% `
  147. ;   Default Value: 4+ |+ k( Y, P* e
  148. ;   Development Value: 5$ o% V7 @* U/ {  L4 ]/ _
  149. ;   Production Value: 5
    5 H+ @+ o. j! I

  150. 9 T3 c7 N) Y* v/ E; @
  151. ; short_open_tag: @) t- F+ P/ r3 n/ M4 [
  152. ;   Default Value: On2 [  f+ o; K9 y+ `
  153. ;   Development Value: Off' \# b2 q" _) p' ?7 l1 [
  154. ;   Production Value: Off
    ( Z' ~5 @3 m, z+ \6 B" b, X
  155. + J& m5 U, m, o* P6 I+ T4 W3 g( l
  156. ; track_errors
    : E! ^3 F( {0 X: S. L" F
  157. ;   Default Value: Off
    / s! w8 {! w: Z+ {% M
  158. ;   Development Value: On
    ) D6 i  f" z" i1 C8 I$ I% S
  159. ;   Production Value: Off
    9 Q  S0 U' D- O) v+ _- v

  160. ) g( T8 `8 Z- s! L- W
  161. ; url_rewriter.tags
    " y8 p( V8 i$ y' M% h7 p' J
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    - Z# ]3 [6 I' t5 k! e
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + M% c) f4 T9 F# P0 }7 x3 U
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ q; n7 y% w% U, n8 t6 ^' H, Q
  165. & f- Y+ ]- R: N5 d3 X3 u% ?8 Z, {
  166. ; variables_order
    + \& l! G# s/ Y
  167. ;   Default Value: "EGPCS". u0 g, e: Q) d7 K
  168. ;   Development Value: "GPCS"
    . {( X( z' D+ \- u3 \8 q- v. p& H
  169. ;   Production Value: "GPCS"0 t+ \! z0 s0 D: {; r" I

  170. % c( V+ P' T, N3 E6 s
  171. ;;;;;;;;;;;;;;;;;;;;- c6 I$ s& v2 b5 ~8 b3 g5 m8 q& J4 ?
  172. ; php.ini Options  ;4 Y: _6 u, N, r3 y* y/ ~9 {
  173. ;;;;;;;;;;;;;;;;;;;;
      \* A4 `# V( K: H! p2 v4 Z! o$ c
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"6 O) O! d3 u7 f
  175. ;user_ini.filename = ".user.ini"; h3 ]8 G$ b, {% H
  176. ( T3 y9 a2 I# n8 D
  177. ; To disable this feature set this option to empty value
    7 b$ w# ^/ N+ B! j; `6 u: n% \
  178. ;user_ini.filename =8 H5 J# O& G$ Y. d6 i" t
  179. / L' R5 o# V/ y
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes); v+ H0 S9 z6 P% }; v' I4 s
  181. ;user_ini.cache_ttl = 300
    . z3 y* m' H* j+ R2 V) Q# x
  182. 9 Y9 q7 x' B/ z4 J/ {: p9 F, ~' e
  183. ;;;;;;;;;;;;;;;;;;;;
    5 D- t3 R% V! K8 C
  184. ; Language Options ;
    7 y2 v: p; A+ u" D& R
  185. ;;;;;;;;;;;;;;;;;;;;$ B: n3 Q$ v6 r) c. R! n$ B( i
  186. . Q: \1 \/ e+ E# F  O
  187. ; Enable the PHP scripting language engine under Apache.2 p. F6 U7 O2 ^4 l8 H  ~, Z9 t  _- c
  188. ; http://php.net/engine% x! d- a& \& k2 T. f# g
  189. engine = On& k' r4 G* j+ p

  190. . d) ~! q+ |' e& K9 _: z  _7 o
  191. ; This directive determines whether or not PHP will recognize code between
    6 y& G& a; ~& s) p* L
  192. ; <? and ?> tags as PHP source which should be processed as such. It is& m5 J5 n' J- c7 ~
  193. ; generally recommended that <?php and ?> should be used and that this feature
    + x' L8 [+ {/ V. I8 w; H
  194. ; should be disabled, as enabling it may result in issues when generating XML
    , D& i, I, J+ s# X# ]+ x
  195. ; documents, however this remains supported for backward compatibility reasons.. N5 \* t4 }0 h  u0 y
  196. ; Note that this directive does not control the <?= shorthand tag, which can be2 F& v+ j% J* a  r3 Y
  197. ; used regardless of this directive.
    . r- |+ Z" p, P7 M
  198. ; Default Value: On
    2 ]2 F9 \  r4 Q- ~0 p2 E9 ~
  199. ; Development Value: Off
    1 S, b- n# S8 u% u  h. o* I
  200. ; Production Value: Off% f2 _/ ~: E! O0 `
  201. ; http://php.net/short-open-tag
    6 S. i8 Q! r# H
  202. short_open_tag = On$ B2 J$ B2 k. p8 G* G& X# o7 q
  203.   T7 _7 T7 P, T4 }7 E$ U3 f
  204. ; Allow ASP-style <% %> tags.
    $ v  h; D9 ]9 s6 r* Q6 ~
  205. ; http://php.net/asp-tags9 n2 w* G1 S- r
  206. asp_tags = Off
    6 N7 w, n4 O" c- x7 Y) e4 F
  207. " F+ a  P" p( T* ~: R* t
  208. ; The number of significant digits displayed in floating point numbers.
    2 K0 {6 v5 X: j$ L
  209. ; http://php.net/precision9 x, ^( q- h0 y
  210. precision = 14
    4 F) L& B" k* r3 i1 w

  211. ! y$ c% S. a! {: e& V5 x
  212. ; Output buffering is a mechanism for controlling how much output data& x! J* H, Q; Q: a! d. f( W3 \3 E
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that6 r+ @: ~# c, }$ l5 E, o
  214. ; data to the client. If your application's output exceeds this setting, PHP
    4 G5 Z( X8 K# t
  215. ; will send that data in chunks of roughly the size you specify.' N7 O$ w+ h5 S) U+ {2 L1 d
  216. ; Turning on this setting and managing its maximum buffer size can yield some4 ?; g& Y" o4 n* v  F
  217. ; interesting side-effects depending on your application and web server.( ?# u& N. V7 P  M7 ]5 r
  218. ; You may be able to send headers and cookies after you've already sent output- r- J6 T& l. i# d* z
  219. ; through print or echo. You also may see performance benefits if your server is
    - C8 ~# f$ I5 g' k' G% {9 y
  220. ; emitting less packets due to buffered output versus PHP streaming the output- g1 R/ e8 E% g. H! o. j
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    & \6 `% y- M/ b8 \+ j  a8 {
  222. ; reasons.
    2 _+ Q9 n& S- U6 E
  223. ; Note: Output buffering can also be controlled via Output Buffering Control, p( {% O: [) A' m" [
  224. ;   functions.! |  @4 N; r" D
  225. ; Possible Values:% F( e* T2 h; {2 t  f# n
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)9 `$ p/ @/ O- v- ]& A
  227. ;   Off = Disabled
    0 r8 ~3 e, F# E2 m$ t5 |3 n( S* w
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    " M! Q# L5 A* P% l! a4 m
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - \& `0 ?% M! n% a
  230. ; Default Value: Off
    % ]  J8 B  L" F8 t/ U
  231. ; Development Value: 4096
    2 t; p' }( o5 N" a
  232. ; Production Value: 4096
    7 B7 v' h! i  ?5 ?7 x+ [, t
  233. ; http://php.net/output-buffering
    0 e. V1 |$ \- G. f
  234. output_buffering = 4096
    6 K4 t3 t- f& q! z& ^
  235. . w/ x0 ~+ ~6 E: c5 {
  236. ; You can redirect all of the output of your scripts to a function.  For
    3 q( Q6 C0 S# i( X2 P- ?3 M
  237. ; example, if you set output_handler to "mb_output_handler", character3 [5 P9 U! U3 V. n
  238. ; encoding will be transparently converted to the specified encoding.
    8 X0 K- j' M& u  z
  239. ; Setting any output handler automatically turns on output buffering.
    6 e; t- E: b0 M6 [1 S+ j: d
  240. ; Note: People who wrote portable scripts should not depend on this ini# q/ X5 X0 K* Y0 [' i
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    5 o7 D: t0 p2 x8 l; {0 ?2 V9 R
  242. ;   Using this ini directive may cause problems unless you know what script
    " [3 ~# _' e8 d0 `4 y
  243. ;   is doing.9 J5 [$ l  }* j
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler". e" O7 [0 K6 R; R
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression"./ ?: s# k$ A* M7 \
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    - W+ M+ C& j9 g$ F% i4 ?
  247. ;   Instead you must use zlib.output_handler.
    # W; |$ X: x9 c4 x) |
  248. ; http://php.net/output-handler2 _6 T$ Y0 ]2 _' f$ y
  249. ;output_handler =5 N5 T% Y5 N7 C# e# @: s0 W
  250. 4 J8 K( M5 d1 x  G/ I
  251. ; Transparent output compression using the zlib library4 P  E$ [1 B7 M* g9 m$ ?) U* _& O7 N
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ; T! i5 `0 O1 b' Z# u& q
  253. ; to be used for compression (default is 4KB), O- }) a8 H" J, \
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP/ I5 w3 X+ v) R* I3 }# y6 P3 y
  255. ;   outputs chunks that are few hundreds bytes each as a result of5 I/ Y1 B6 K, a, a+ H
  256. ;   compression. If you prefer a larger chunk size for better- s' O  E, q' O4 G; `: ?: \" @
  257. ;   performance, enable output_buffering in addition.5 ^+ G! W* I6 U; w+ R4 g
  258. ; Note: You need to use zlib.output_handler instead of the standard
    # l: q" F& }; o7 F& K7 r0 B
  259. ;   output_handler, or otherwise the output will be corrupted.+ k( I; Z/ Q% k1 I! _
  260. ; http://php.net/zlib.output-compression
    ) _. Q) ~0 Z$ E
  261. zlib.output_compression = Off. K( W- [- d+ G3 y# v+ N7 O' P

  262. - F8 ~1 T4 R- r: W, v8 a. [8 N+ _
  263. ; http://php.net/zlib.output-compression-level2 y, h6 Y- C  U5 U
  264. ;zlib.output_compression_level = -1
    - U" U/ d# A7 z' ^
  265. - @  x4 ~8 @5 P
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ( g% i2 A# X5 `
  267. ; is activated here. This setting does the same as output_handler but in6 k/ _1 M/ Z3 V9 i
  268. ; a different order./ T  h, g2 H7 c3 ~. A
  269. ; http://php.net/zlib.output-handler
    / f9 z4 V% x! b4 [  c8 k
  270. ;zlib.output_handler =0 H3 H7 T! g: j* ^' m. O

  271. 4 u+ R# h* ~1 Q3 A* `
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ! |% i2 L" s) k/ W8 c: e& S* H/ \
  273. ; automatically after every output block.  This is equivalent to calling the. m' q" I8 E$ F$ l4 |
  274. ; PHP function flush() after each and every call to print() or echo() and each
    9 ~! a4 A" ^0 E. s4 p* W. f
  275. ; and every HTML block.  Turning this option on has serious performance4 i% n0 A( _2 t; o# w! E
  276. ; implications and is generally recommended for debugging purposes only.) ^$ ?4 B- P0 o" H6 y
  277. ; http://php.net/implicit-flush/ m( E- `) d; Q* L" @
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    1 |) m' ]- ?. r9 E8 d* x8 k: O* O
  279. implicit_flush = Off
    6 j  u0 N2 O3 _9 B+ `& U

  280. ) `4 X# \2 e( \4 M) @& D
  281. ; The unserialize callback function will be called (with the undefined class'4 Y  H5 p, x7 c8 D! s
  282. ; name as parameter), if the unserializer finds an undefined class6 L3 x# _% R/ J
  283. ; which should be instantiated. A warning appears if the specified function is* _$ \. L3 V+ M+ j$ e8 ?" l# N
  284. ; not defined, or if the function doesn't include/implement the missing class.; b. }! P+ {) x: q- ~
  285. ; So only set this entry, if you really want to implement such a  s  }2 y4 e8 U' K
  286. ; callback-function.
    2 F, S* a# ^0 p
  287. unserialize_callback_func =6 j1 J. Q7 I( B( }' y+ E+ j

  288. " Z4 g0 q7 ~  S5 p
  289. ; When floats & doubles are serialized store serialize_precision significant% u  b2 _$ {* h
  290. ; digits after the floating point. The default value ensures that when floats/ W( x: e- V& ~' Q( F- F: m
  291. ; are decoded with unserialize, the data will remain the same.4 j2 e* m6 P0 y
  292. serialize_precision = 17# Q0 \+ h6 s0 C6 T9 j* G% d

  293. , b4 i4 j  \9 X+ m1 G
  294. ; open_basedir, if set, limits all file operations to the defined directory
    $ Q5 Z5 v+ S! E: d. k
  295. ; and below.  This directive makes most sense if used in a per-directory
    - c* P# F+ R3 d1 L5 Q" K
  296. ; or per-virtualhost web server configuration file.
    : D. B3 ~' E8 e, E
  297. ; http://php.net/open-basedir1 j- _3 U; {1 I  x8 T& M
  298. ;open_basedir =
    0 {7 R! K# f8 F2 S# I' G1 `3 @

  299. ; z  h1 g3 H6 w6 {
  300. ; This directive allows you to disable certain functions for security reasons.
    " G# t" I" x2 Y$ a. a
  301. ; It receives a comma-delimited list of function names.
    : K/ s& r- t  `* x+ K% F$ z% Z. J
  302. ; http://php.net/disable-functions
    ( s+ T4 Y$ J5 }* A- O& I& g: T
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru1 p/ h7 D% w6 J! |0 U9 K0 n

  304. ! `* G; \3 M6 f& e
  305. ; This directive allows you to disable certain classes for security reasons.
    2 n! }6 m# c' `4 z" x$ N2 ^+ V
  306. ; It receives a comma-delimited list of class names.+ ]6 e# M$ u6 q9 G3 d: H. P* i
  307. ; http://php.net/disable-classes/ @, U  S/ F8 r7 X
  308. disable_classes =4 P: n$ F0 T5 B7 v& Z$ {- }
  309. - i# n/ V+ {1 x3 r5 r
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in) e4 J/ u: ?8 @; F! C* _: S
  311. ; <span style="color: ???????"> would work.
    : I* e" e! ~( V
  312. ; http://php.net/syntax-highlighting/ V! s  y3 W2 M' g# o
  313. ;highlight.string  = #DD0000& `0 I" r, _0 I/ k3 d
  314. ;highlight.comment = #FF9900
    * X4 p$ p) ]1 }
  315. ;highlight.keyword = #007700
    + [9 F) ]2 s8 T, I  s% \% I8 S& m* U
  316. ;highlight.default = #0000BB
    / Z7 E! S0 o* C9 c* `
  317. ;highlight.html    = #000000
    & }/ F+ k7 Z2 s9 J+ i# l

  318. 1 V* I4 J1 C/ E4 O& r5 }1 n9 H
  319. ; If enabled, the request will be allowed to complete even if the user aborts1 I* ~* p7 S) Y; n) \2 l" }
  320. ; the request. Consider enabling it if executing long requests, which may end up
    8 L4 S7 D# i( H! @! h9 G
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    0 Z+ s4 c9 @* v, l8 K' {& \) w9 }0 V
  322. ; is to disable this feature.$ V2 Z; W/ N  N* W" {+ P* n. r
  323. ; http://php.net/ignore-user-abort
    8 R% l! v& |) S/ O5 e6 H. ^
  324. ;ignore_user_abort = On7 ?8 F+ L- E: E) y3 I+ J' M  N2 z! O
  325. , X: `% m# [" B, Z
  326. ; Determines the size of the realpath cache to be used by PHP. This value should( n: E3 O: l0 c0 Z* j( i& Y0 C
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    - g- o% {5 I0 r/ I% Q
  328. ; the file operations performed.
    $ R; r2 P0 A! y4 `6 C, i$ v* @
  329. ; http://php.net/realpath-cache-size$ ~* q: R& F- D/ s+ [) g. [
  330. ;realpath_cache_size = 16k
    5 O; x7 ~" B; T
  331. # x8 c! h/ S2 R' d/ Y6 ^
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    9 D  M( Y- j9 r  w
  333. ; file or directory. For systems with rarely changing files, consider increasing this8 z4 W- Z+ W& K' P. z7 U
  334. ; value.+ e2 @7 a- L) l
  335. ; http://php.net/realpath-cache-ttl- N  d- }0 v& ?1 v. I2 F$ O
  336. ;realpath_cache_ttl = 120
    ; G& }: D$ k6 T4 g5 c
  337. ; X; z- W0 C5 T. q1 i
  338. ; Enables or disables the circular reference collector.. r0 D5 W% x& N5 z" s* `  D: Q
  339. ; http://php.net/zend.enable-gc& Y% ~, L% ^- l- x- h1 |
  340. zend.enable_gc = On/ |6 ^% u, q1 h" S) d5 c

  341. 5 M# Q: z( n' V) r: K
  342. ; If enabled, scripts may be written in encodings that are incompatible with$ Q9 A0 u! i" {
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such- L, M3 A9 P9 |( |$ N9 C. x% p
  344. ; encodings.  To use this feature, mbstring extension must be enabled.8 S- T+ s* E- }9 P
  345. ; Default: Off
    * c7 C/ [5 f  U& i0 p
  346. ;zend.multibyte = Off* q; t! D8 a& D, m
  347. ( P6 Q. A& h* r; z8 `# c8 I
  348. ; Allows to set the default encoding for the scripts.  This value will be used: h- U8 a) @0 v) V; D' `
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    5 N" E0 D7 u! W7 @- B+ [
  350. ; Only affects if zend.multibyte is set.  ^+ w7 k% E8 N3 ]
  351. ; Default: ""
    + P7 n" c9 L9 Z7 B$ j$ F
  352. ;zend.script_encoding =) u" t% @- Y# l& R
  353. 4 ?# P. y8 ]8 ~) e$ q/ s. X. }8 E
  354. ;;;;;;;;;;;;;;;;;
    7 Z% t6 P, @1 G6 c% c: ?8 _. c0 s
  355. ; Miscellaneous ;
    9 y- t" v( V, e
  356. ;;;;;;;;;;;;;;;;;5 {$ N+ _/ w$ h5 A- Y' u2 Z

  357. # n5 W' [$ m5 s6 E9 b3 |$ q
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    7 H, @* h. K6 p* r, ]2 ?
  359. ; (e.g. by adding its signature to the Web server header).  It is no security4 `0 U4 T$ w6 D! H% }* ?
  360. ; threat in any way, but it makes it possible to determine whether you use PHP0 X1 P" D5 A( ^8 p$ S4 w% N: k
  361. ; on your server or not.' s- g4 E1 t  i, f! w5 |
  362. ; http://php.net/expose-php
    - C' e) K$ i9 @
  363. expose_php = On
    1 m9 L. T  v" O/ T' {: W9 r
  364. & q- K. Y# R- ]6 k
  365. ;;;;;;;;;;;;;;;;;;;2 S) x/ K* o, P. H7 I
  366. ; Resource Limits ;, W+ ]0 Q/ C- x/ d' M3 e
  367. ;;;;;;;;;;;;;;;;;;;7 ~# f4 j6 A9 l7 H! w4 D
  368. ' ]$ t2 Y; v( X) V/ C% `& Y
  369. ; Maximum execution time of each script, in seconds
    6 i8 R; o" J) n; H$ K# l1 [
  370. ; http://php.net/max-execution-time0 A; l: d: o6 r1 {! I2 @
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    & e  Y2 W2 e" ^$ I) U# D
  372. max_execution_time = 3007 w0 U1 t0 J6 s# Q

  373. 2 V0 L+ W% @# R6 Q0 h. J1 V
  374. ; Maximum amount of time each script may spend parsing request data. It's a good/ i7 Y" P7 m2 I! h" f/ U8 `( O1 O0 u
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    + K6 h9 L" t. I- k
  376. ; long running scripts.$ k# s: v& |) l7 W' H
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    * G8 U. S, x& b. v, ?
  378. ; Default Value: -1 (Unlimited)
    $ u, E) ?/ c; o
  379. ; Development Value: 60 (60 seconds)
    4 U/ h0 e- N0 s1 J, @
  380. ; Production Value: 60 (60 seconds)
    ) s2 `+ H! J- Z
  381. ; http://php.net/max-input-time7 ?; \) j  \0 ]
  382. max_input_time = 60# k5 X, V9 |/ k
  383. / q/ B0 Y( k  _7 ~! ^, N& I. k( ^
  384. ; Maximum input variable nesting level
    3 h+ u! Z/ m# t1 J4 x
  385. ; http://php.net/max-input-nesting-level
    1 O3 o7 ^* l+ z- u  z- `( c- w8 f
  386. ;max_input_nesting_level = 64
    , M/ U2 ?! Y" T5 D# m
  387. . I8 @( y( {5 Y6 @1 p
  388. ; How many GET/POST/COOKIE input variables may be accepted1 x5 j0 J4 L+ I0 o  E$ y
  389. ; max_input_vars = 1000' @7 W" M3 c7 Y) b' Y) ]8 V
  390. ! b' M) Q, P% i7 d: P4 l. N
  391. ; Maximum amount of memory a script may consume (128MB)5 X7 p1 a8 \$ \+ ~/ q( N
  392. ; http://php.net/memory-limit
    3 f8 g/ p2 m6 Z6 D( M" x+ ?8 `& c
  393. memory_limit = 128M, t# A  v$ ~9 s, c2 \

  394. ! j/ @/ ~' S4 l! a; Q
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    6 q2 q) y' X& S5 g6 F
  396. ; Error handling and logging ;
    9 z! Y& W. r4 R
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 [, L" G( a# N5 V5 I* |4 c; t5 t
  398. # [# f0 Z" g! }! Y
  399. ; This directive informs PHP of which errors, warnings and notices you would like. M/ L: V7 w5 C& Z
  400. ; it to take action for. The recommended way of setting values for this
    3 p' q/ o2 r' n4 h1 I
  401. ; directive is through the use of the error level constants and bitwise
    ! Q. V% Z" m8 \
  402. ; operators. The error level constants are below here for convenience as well as6 z7 j% s" ?4 d% [4 @- ]' [
  403. ; some common settings and their meanings.
    / |8 P% \1 U8 K4 n/ m6 h1 y; R0 i
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    " r% F3 N" N8 x# U! T
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and* W( J5 T" Q5 Z9 x# m. q3 S
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    7 J  R2 D' g. P* g
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
      H! j; x+ J7 g9 f& [$ y
  408. ; resources complaining about best practices and coding standards. That's what
    0 v5 `0 V- K7 b; s
  409. ; development servers and development settings are for.& U8 v" `# c3 v6 G  d
  410. ; Note: The php.ini-development file has this setting as E_ALL. This; a( t8 z- l1 e+ y
  411. ; means it pretty much reports everything which is exactly what you want during% I! B0 u* Z0 q3 M% A( {1 V: z
  412. ; development and early testing.
      y# D5 v) `8 N$ ]
  413. ;
    - T) c1 h; {% F; ^5 F" l; p% f2 h
  414. ; Error Level Constants:" ^( C0 h& T7 C
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)+ g; M0 ]: D0 }) S5 f
  416. ; E_ERROR           - fatal run-time errors
    ' M9 l  o1 c0 r0 a; r  f7 P" K
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    " q8 O$ O: u4 Z- I* @/ c9 ^' O/ s
  418. ; E_WARNING         - run-time warnings (non-fatal errors); y: P- \- g* V) [3 C9 y
  419. ; E_PARSE           - compile-time parse errors
    - d4 `4 a) N3 X) c$ w# j' Q
  420. ; E_NOTICE          - run-time notices (these are warnings which often result% x% a6 }6 m1 B# ~3 K$ u
  421. ;                     from a bug in your code, but it's possible that it was
    9 k' J% `5 {/ s. T. F' t3 N( D
  422. ;                     intentional (e.g., using an uninitialized variable and8 B4 ^$ E8 S1 v1 {5 \. y, b
  423. ;                     relying on the fact it is automatically initialized to an( E+ @2 W) @4 H; i+ {/ X2 ~4 l
  424. ;                     empty string)
    # r, X& @( ~) [
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
      w4 j, U) s! I
  426. ;                     to your code which will ensure the best interoperability
    ; i6 `# F. H& ]3 [! B4 N, v& M
  427. ;                     and forward compatibility of your code
    $ W% h% ~5 J' D9 f. F& R5 Z# e
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup1 |; {& F: Y/ S: {8 V# ~
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    - {8 A2 q2 Y3 x7 E! N+ F
  430. ;                     initial startup$ D. y/ m$ T( b1 b+ g) H5 w
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    $ u+ D! `* N4 {1 k+ j0 v
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)5 a: y# [6 z) I
  433. ; E_USER_ERROR      - user-generated error message5 N9 I) U4 ]8 b* @* T
  434. ; E_USER_WARNING    - user-generated warning message
    , w; d! G6 w/ d5 p% a6 \
  435. ; E_USER_NOTICE     - user-generated notice message
    ) [1 _- G; P& g/ q5 D# \( _4 W
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    : P3 n2 X5 Q% _5 o- Y9 ~
  437. ;                     of PHP
    8 T) t0 U. x9 K. l8 Q$ L
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings5 ]$ S9 s9 Z- o- C2 i
  439. ;
    - @& s/ p( _( {' e: x2 l$ y# e
  440. ; Common Values:
    5 C7 S: e5 w" T+ B  z
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.). P) Z  t6 T: `1 I
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)' n: O9 x/ p8 d
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    - t6 A7 |1 J. t6 E% O
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)2 t; v8 g* p, G9 Y
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    2 T- b& {: _! }. n
  446. ; Development Value: E_ALL8 u! d9 @* O% p7 ~" f/ t" `# A% ~) D
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 S; F6 a3 H% {3 L2 z# J; O
  448. ; http://php.net/error-reporting+ \) c; |3 T/ y8 [$ U, P  F9 h  N
  449. error_reporting = E_ALL & ~E_NOTICE
    5 e. r' C' i8 x9 F) ]1 x3 Z

  450. : d: H. L- B' o( E( [3 q  |& r: A
  451. ; This directive controls whether or not and where PHP will output errors,
    * N- a* H/ I9 S3 M; E: L' T
  452. ; notices and warnings too. Error output is very useful during development, but: c! L3 z$ U+ C( g. ?: e
  453. ; it could be very dangerous in production environments. Depending on the code
    ) z; @8 N/ Z+ K4 S( G# E% j
  454. ; which is triggering the error, sensitive information could potentially leak  P0 t% }2 m' Z" ]
  455. ; out of your application such as database usernames and passwords or worse.
    7 w9 v* `/ Z4 o7 l, y  V
  456. ; For production environments, we recommend logging errors rather than1 V3 H7 T. K2 ], K( ]* E
  457. ; sending them to STDOUT.) n7 s) C: s! c) l7 E( X0 c
  458. ; Possible Values:/ X* F! j: ~; p2 t' P$ _  |  [; W3 a" y
  459. ;   Off = Do not display any errors' i2 E4 x* D* A& h6 v
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ; A- ?0 o. M; c! O% W8 s
  461. ;   On or stdout = Display errors to STDOUT
    - X+ A' l) N# ~# a4 }% |  a
  462. ; Default Value: On  i6 b  x! i* ~; L
  463. ; Development Value: On
    + Y+ n. r* L4 l: b
  464. ; Production Value: Off
    & ^3 \/ K+ z( H! F' a
  465. ; http://php.net/display-errors% ?( I( R7 W  g
  466. display_errors = On
    0 I3 q7 @/ @# v
  467. + n3 H6 x1 E& c
  468. ; The display of errors which occur during PHP's startup sequence are handled! c7 {( D$ q& B( j3 t  b
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ( w7 G) d5 c: [8 t! b
  470. ; errors from clients. Turning the display of startup errors on can be useful in1 |( y! B4 v( r
  471. ; debugging configuration problems. We strongly recommend you& z0 i7 M6 h4 F% l/ _
  472. ; set this to 'off' for production servers.
    ' p' C4 e5 `+ }$ k! X2 w% |  R0 b
  473. ; Default Value: Off& z  o) N) M& @, j( G
  474. ; Development Value: On' T' k* L) S7 W" R) W
  475. ; Production Value: Off
    ) C; M8 w7 z# }; X
  476. ; http://php.net/display-startup-errors
    - W; A8 K4 Q% p
  477. display_startup_errors = Off
    : H6 d7 P  ^8 H6 h

  478. # v5 A! n$ U& {. z/ ]
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    / \* F+ ]* \% _$ |
  480. ; server-specific log, STDERR, or a location specified by the error_log# ~  u; k2 ~" T: V. y
  481. ; directive found below. While errors should not be displayed on productions4 }4 J& \! j" p# [6 c8 A8 L% {4 D
  482. ; servers they should still be monitored and logging is a great way to do that.4 e$ c. h) r2 q3 t  {
  483. ; Default Value: Off9 N$ w9 X4 U; @3 A  H; v7 D
  484. ; Development Value: On) j4 Q  l  o) n2 g, ?
  485. ; Production Value: On
    * y7 I! K$ j" K9 X
  486. ; http://php.net/log-errors
    ; c$ c* A* q0 u! w
  487. log_errors = On$ c' v; M+ C: J( L/ d' q) S1 |* i
  488. % }6 _# B3 A5 o- B( y
  489. ; Set maximum length of log_errors. In error_log information about the source is
    " N5 c' E" j$ K( l! c. T5 Y. ?
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    6 {* W, C# i7 S+ Q, y2 e
  491. ; http://php.net/log-errors-max-len% O, o) h4 j6 h' {$ o/ S4 c
  492. log_errors_max_len = 1024* c9 F1 F- o% ]; B, M

  493. $ o( O8 ^5 s: b' O! a1 N9 X# M# P
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ! O  c4 y2 T$ M7 |8 G- h# I4 E8 k3 k
  495. ; line unless ignore_repeated_source is set true.6 H5 r/ B1 x) I. {0 x
  496. ; http://php.net/ignore-repeated-errors$ D$ r& }9 j. h7 U
  497. ignore_repeated_errors = Off
    ; a  w/ Q" k' M: ?5 c# j
  498. 3 i; b0 y- h" w3 R" L8 \
  499. ; Ignore source of message when ignoring repeated messages. When this setting) ]$ W* K' _8 M! _) w+ q# Y
  500. ; is On you will not log errors with repeated messages from different files or# O& k( y+ c& ]5 F0 Z& H' M
  501. ; source lines.
    ) y& G  g& [$ U: E: t8 l9 W. C
  502. ; http://php.net/ignore-repeated-source" A! A9 k: n# u* K6 h0 \
  503. ignore_repeated_source = Off
    5 j2 c" J7 K0 w$ ^6 x' U
  504. 6 p5 n' r) a( y% k9 a8 o, d
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on3 L4 m/ z, _" W  n; |2 r9 Z& g
  506. ; stdout or in the log). This has only effect in a debug compile, and if% {; n; n! }" f) s; ^
  507. ; error reporting includes E_WARNING in the allowed list2 M" ]5 @' Q. s! ]* E8 p/ g0 a
  508. ; http://php.net/report-memleaks7 G, Q1 g" q5 U' Y: Q. R: d
  509. report_memleaks = On1 Q0 W; \; L( }- ]$ X+ `3 U) C

  510. , O# z6 B9 i% D! o' @, f$ H3 g9 X
  511. ; This setting is on by default.4 W2 y8 s! W/ r$ [4 d
  512. ;report_zend_debug = 0
    + l8 @$ Q' u, T+ F+ s# R0 d5 A
  513. 6 l! i) C/ P, v* \, C& X
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value3 ]$ x7 h8 J- @. s7 H0 B! m2 C
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    0 w, t- {; c' ]( L# ]% J% Y1 R
  516. ; however be disabled on production servers.
    8 F& k: h: V" x; R9 A4 @
  517. ; Default Value: Off" Y. ~+ Q  ?. b# n9 O5 |
  518. ; Development Value: On. ?' _0 v0 \) z
  519. ; Production Value: Off
      T' n( ?3 {( g6 K: C
  520. ; http://php.net/track-errors( Y1 `. R! s5 b) R) x2 ?  ~
  521. track_errors = Off
    $ C1 G5 _. L, j* b5 n8 i

  522. 1 u* l. {/ P" R6 b8 y( M
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    % ^3 I2 f! g9 A
  524. ; http://php.net/xmlrpc-errors
    # A4 W/ s" E/ V# C7 K" n! z
  525. ;xmlrpc_errors = 0
    7 t/ y' D! V3 z1 ^+ y9 h7 O- j

  526. ) c5 T' s& Y% }( t/ N# S
  527. ; An XML-RPC faultCode# {, o. a( I1 e1 ~- T
  528. ;xmlrpc_error_number = 0
    1 b2 \9 R: I$ O7 R" x$ G

  529. 9 E- u( D7 \- R5 Z0 X$ O) c
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    6 k: L) A- |6 `2 f& f
  531. ; error message as HTML for easier reading. This directive controls whether
    , |5 n1 j* E7 d1 @6 R
  532. ; the error message is formatted as HTML or not.7 @0 f1 z  K6 X/ ?* f9 F5 a
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI" _9 H! P: ]' M0 `
  534. ; Default Value: On
    % m7 J; y, h: v2 Z
  535. ; Development Value: On8 {/ Z/ b+ W6 I$ [% B
  536. ; Production value: On& t. d" M6 z0 t' C& L
  537. ; http://php.net/html-errors
    1 N4 }( m; e# P! w
  538. html_errors = On
    $ _+ y" m* y# ~- v6 `

  539. % O- J4 q/ x# m4 w$ B. n
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP( M& ?7 @0 r3 _, K
  541. ; produces clickable error messages that direct to a page describing the error2 ]4 N* v# c  R. {' X" ~
  542. ; or function causing the error in detail.3 s7 {$ x3 X: o" t+ [
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    - ]  H% V7 L1 N; ~) X2 f0 A3 k( O' N
  544. ; and change docref_root to the base URL of your local copy including the
    ) d! T% N& Z# g9 G: z
  545. ; leading '/'. You must also specify the file extension being used including7 C, q1 v/ G" d7 k
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ! {1 U: G- |  X. r; }  p: T
  547. ; case no links to documentation are generated.
    6 q# a. B, H) Q' M, j
  548. ; Note: Never use this feature for production boxes.8 t, H; m8 j1 ^
  549. ; http://php.net/docref-root
      f" @3 G, f. r( X# o1 |: B6 A
  550. ; Examples; x/ x# g8 E$ g7 r$ j, p
  551. ;docref_root = "/phpmanual/"
    5 B" @4 T0 V4 m4 ~- l2 {

  552. ) U; z  A+ E% X/ M6 \& S# U/ k" q! \
  553. ; http://php.net/docref-ext! D$ H* y8 `" D6 U* m$ l
  554. ;docref_ext = .html
    7 c8 j) W/ K- h9 \6 ]' Q
  555. " T& R% w% H& e  S& ?
  556. ; String to output before an error message. PHP's default behavior is to leave4 E4 D$ ?) q3 p" L0 C. b, q
  557. ; this setting blank.
    % P. a3 x) v& S
  558. ; http://php.net/error-prepend-string
    & \: v5 _$ |8 ~# a( V; D8 U$ }% A
  559. ; Example:
    6 l: ^. W4 h+ g$ a1 Z
  560. ;error_prepend_string = "<span style='color: #ff0000'>"  g# h4 d" k: K8 @% s* h& t

  561. 5 \+ P6 [, R) e0 ^6 F( {
  562. ; String to output after an error message. PHP's default behavior is to leave
    / v. G3 t( J6 Y5 G
  563. ; this setting blank.
    5 F% w& b" ]6 O9 ]! I# j' \
  564. ; http://php.net/error-append-string; C, _& T- t8 Y4 R
  565. ; Example:
    5 v) Q/ X5 X$ y' v3 Q; H* z! _- ]
  566. ;error_append_string = "</span>"
    9 n4 }/ S) {- ^6 X9 e! `

  567. 2 a/ U; }1 X3 d" h* L# l
  568. ; Log errors to specified file. PHP's default behavior is to leave this value) h* ~! J( a" I! z' q. ~  t
  569. ; empty.
    3 q3 b7 Z: ?7 L7 n
  570. ; http://php.net/error-log+ x) e( m# u* j/ B+ B
  571. ; Example:
    4 c* P# F% A8 u  _& {
  572. ;error_log = php_errors.log: N5 i3 t' M0 N; K# g& `5 z  ?
  573. ; Log errors to syslog (Event Log on Windows).; E' Q9 b$ P+ z& _$ B
  574. ;error_log = syslog+ A7 u5 V7 I  b* `+ {

  575. ; Y1 I5 m/ u4 Y; n* q: @) G! l
  576. ;windows.show_crt_warning
    * \# z# n( ~. H% r
  577. ; Default value: 0
    2 I, U& J8 N$ t- N# v
  578. ; Development value: 0/ \. ^- c4 o) \9 A' h& e
  579. ; Production value: 0
    / l0 c2 d9 h) r* }+ G4 c

  580. - {& {# Q6 r' n" z' a, A, O8 b
  581. ;;;;;;;;;;;;;;;;;# N, M+ C4 s- ]& S# R
  582. ; Data Handling ;
    + y8 z- c) Q/ z2 e1 r6 b, r( Z4 d& u* O
  583. ;;;;;;;;;;;;;;;;;8 o8 Z+ v) j; B( Y+ e
  584. 9 S* t$ P  H* ]- Y3 l  q
  585. ; The separator used in PHP generated URLs to separate arguments.
    6 n4 [' V/ ~# C: m  z, v
  586. ; PHP's default setting is "&".
    0 f% B/ C4 d: W0 ~
  587. ; http://php.net/arg-separator.output
    1 V6 I4 l2 B! G- `
  588. ; Example:9 F1 K- }# R. c- i6 O$ z& U
  589. ;arg_separator.output = "&amp;"+ T+ ]" h- ~! B; {8 p, d2 B* _
  590. / I3 h$ H) r- H& x5 }
  591. ; List of separator(s) used by PHP to parse input URLs into variables." [8 I4 }  L6 @+ m
  592. ; PHP's default setting is "&".! t/ x4 u' ~3 e3 t: @* B+ W% S
  593. ; NOTE: Every character in this directive is considered as separator!% v) r9 ^3 {8 h5 R
  594. ; http://php.net/arg-separator.input
    : d7 ^! i* u- F' n& d
  595. ; Example:
    9 y) t  }3 E% |2 f
  596. ;arg_separator.input = ";&"& M* N( u7 a& U, [" \' f

  597. 5 C  d$ g& r: [: Y5 O8 g4 g0 o/ u
  598. ; This directive determines which super global arrays are registered when PHP, I# D3 ^& N! s5 e3 ^+ z- d7 W
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ' ~5 z$ h3 d" y
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty5 x5 T" z! ?4 h) h; y( W% j
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    4 H1 u0 |* g) ^% d
  602. ; used as the others, ENV is not recommended on productions servers. You
    ( u" D, B- `+ w" A0 E
  603. ; can still get access to the environment variables through getenv() should you
    ) E+ i+ \% |1 l) B* \. y& h3 ?
  604. ; need to.; |1 P) j$ a, ^- L
  605. ; Default Value: "EGPCS"
    . F. S9 B; g- [: C5 N
  606. ; Development Value: "GPCS"* i3 m8 ?9 @" L/ ?4 `$ n
  607. ; Production Value: "GPCS";/ O7 Y5 P0 d) ~$ `  O1 L' O( ~2 z
  608. ; http://php.net/variables-order2 C* ?/ M; y( k# Z! z2 `
  609. variables_order = "GPCS"2 S: o+ c0 S, @) t0 b$ k

  610. 6 v# f+ D/ S6 Y( J$ x7 n. }* b
  611. ; This directive determines which super global data (G,P & C) should be
    * G6 n" }9 U0 L
  612. ; registered into the super global array REQUEST. If so, it also determines  Q; ~1 \! G) q) g7 S/ R
  613. ; the order in which that data is registered. The values for this directive
    + m+ T. f- T0 `( H- t; [
  614. ; are specified in the same manner as the variables_order directive,
    8 o' T# z, C! e- ~- b3 `- x, r
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set8 j8 u3 v" V5 t0 T2 R: z3 P5 ~
  616. ; in the variables_order directive. It does not mean it will leave the super4 M( C. h& U' k$ _- b+ {
  617. ; globals array REQUEST empty.. g% j- D9 T3 c  V. F; A5 V6 o
  618. ; Default Value: None
    . z6 ?5 t* \+ `7 Y
  619. ; Development Value: "GP"
    ; O% [4 w, b" o8 j. K, ~1 g$ ^
  620. ; Production Value: "GP"
    6 b) D0 B. R6 M5 n  k; F  ?
  621. ; http://php.net/request-order7 R' S% {6 S4 g( h
  622. request_order = "GP"  E* i" \+ [2 _$ {
  623. 8 G1 g( G+ P# x, b. y4 z, I4 Z; @
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    7 C9 q$ ?" `0 A+ c4 K: f" S* x  q
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ( l$ x) @6 q( w9 z
  626. ; is invoked. $argc contains an integer representing the number of arguments: Q" a! @+ Y% s: |6 S' y( [9 p# w
  627. ; that were passed when the script was invoked. These arrays are extremely
    - _+ y+ f+ q$ F5 g5 a4 L4 P
  628. ; useful when running scripts from the command line. When this directive is
    # p2 U4 [, Q/ c
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    ; Y. u& ?9 K7 v( `2 @1 L$ i
  630. ; a script is executed. For performance reasons, this feature should be disabled
    6 ~4 R3 \5 @3 H/ z" V( H/ E
  631. ; on production servers./ L/ ~% z3 [' r) U! s3 i
  632. ; Note: This directive is hardcoded to On for the CLI SAPI8 S4 L- A6 Z* f$ f" Z0 v5 x. J
  633. ; Default Value: On5 h( y; w7 z  ?& O/ b4 |
  634. ; Development Value: Off
    * L2 o0 _: u8 e+ W' O6 p
  635. ; Production Value: Off+ A1 y8 E& A3 M9 s$ G" ~
  636. ; http://php.net/register-argc-argv
    " m! ^! w5 r7 _3 ~
  637. register_argc_argv = Off
    7 @: S6 }3 K6 T& ^' i
  638. , |1 S6 U  f) C/ s
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're& q7 J% d; X, P2 k7 d
  640. ; first used (Just In Time) instead of when the script starts. If these
    & d& K& l0 s0 N( }7 A
  641. ; variables are not used within a script, having this directive on will result1 f% T9 f# a7 t* J. _, W
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled, ~& \% E3 `, [" ]% K6 _
  643. ; for this directive to have any affect.# V* x$ K( s$ J. `% r$ d8 D
  644. ; http://php.net/auto-globals-jit
    6 |: u. L, q  |6 z8 H3 C
  645. auto_globals_jit = On  E: x3 m4 K8 x
  646. / k- k& ~; D& b" |- c% \3 M
  647. ; Whether PHP will read the POST data.2 Q; @4 H: D% o- h
  648. ; This option is enabled by default.
    & x* E9 W2 v% b/ ]* D0 ^
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    3 j2 a5 s5 n7 U, O
  650. ; and $_FILES to always be empty; the only way you will be able to read the; X$ G! q/ G% K1 l( X) [
  651. ; POST data will be through the php://input stream wrapper. This can be useful8 b9 e; x1 {$ c
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.1 A3 c; e# ^! z3 B; h. D
  653. ; http://php.net/enable-post-data-reading
    / _: R2 m( q  \7 k: G7 S0 e
  654. ;enable_post_data_reading = Off
    , Q, I; r+ Z- ?% I2 I
  655. / ]1 \, |7 j0 h. D! l# V* V
  656. ; Maximum size of POST data that PHP will accept.- }' e1 z7 l3 [6 \# I
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    4 A; }9 d2 y0 c
  658. ; is disabled through enable_post_data_reading.. w" X2 ]9 W$ p4 I$ O1 k
  659. ; http://php.net/post-max-size8 g1 M1 y( _' H
  660. post_max_size = 50M
    + t4 j0 W! }) A$ _! x8 ~; D; p
  661. , {5 b6 M% _9 p5 `% a) N' o
  662. ; Automatically add files before PHP document.
    6 P: z8 w. Z) d, n
  663. ; http://php.net/auto-prepend-file
    ' c5 j% p8 v7 ~! k2 }6 A2 Z
  664. auto_prepend_file =
    6 m. D% z4 ?7 Y* q! X) d! U5 y

  665. - S+ e- R4 j# H; J' c
  666. ; Automatically add files after PHP document.; B, y" P! b1 @  I9 e% \! d4 J
  667. ; http://php.net/auto-append-file
    5 ?+ H$ m% I0 j) p4 `6 ^% V' Q
  668. auto_append_file =
    % K1 n9 s* e1 {  `+ ^

  669. / V( E) t5 ]% K  E. Q6 Z
  670. ; By default, PHP will output a media type using the Content-Type header. To9 j3 X8 L5 x. z
  671. ; disable this, simply set it to be empty./ q% c  Z4 \7 L0 p, G5 Z7 ^$ R
  672. ;
    . x4 S3 J: _4 F* v! B
  673. ; PHP's built-in default media type is set to text/html.
    $ c$ X# Y, Q0 P: X% l
  674. ; http://php.net/default-mimetype$ {+ Z" k" d# N+ r) S5 x
  675. default_mimetype = "text/html"
    , Y! q( \' s- }6 h
  676. 9 a7 V. M. _3 i: K" l
  677. ; PHP's default character set is set to UTF-8.$ l9 L) `  Q- N2 b
  678. ; http://php.net/default-charset
    ) q4 `9 Y# n! m" Y" J2 ]9 X# i  e" C: ?
  679. default_charset = "UTF-8"
    ! o9 T% }+ d& x  m! N" P

  680. ' A/ p$ l! b& c5 h6 C
  681. ; PHP internal character encoding is set to empty.
    $ {, W  _5 X% ~4 ?/ a- {; r1 }
  682. ; If empty, default_charset is used.$ V: _- u% J$ m* v
  683. ; http://php.net/internal-encoding
    ! M* w. y5 W6 J) g; F" x
  684. ;internal_encoding =
    - E3 J% C1 S& ?* f0 W; P
  685. " W! C9 v. s  S' g( k) L4 h
  686. ; PHP input character encoding is set to empty.
      E2 G. G. z6 Q- O' C, g
  687. ; If empty, default_charset is used.  e$ Z' Z: ^. ]4 T  U* o
  688. ; http://php.net/input-encoding% a% F  `. O9 v6 c( ~1 o
  689. ;input_encoding =
    1 r1 \) G, `& i7 [

  690. ' a4 b! |3 R# s5 H8 L* i7 N
  691. ; PHP output character encoding is set to empty.
      g8 E( n$ d4 O  T% [/ u' D
  692. ; If empty, default_charset is used.
      ^' ^) [/ G+ G
  693. ; See also output_buffer.% R" a' i' E* }' A* \- k: L# q. j$ z
  694. ; http://php.net/output-encoding% s; l# x( k* ?! g0 J* h( B1 S5 U5 _; N
  695. ;output_encoding =1 Z6 x3 X7 v5 ^* w( z/ f
  696. 8 A% Z2 ?# b+ P
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is4 ?! c/ W& z8 S( L
  698. ; to disable this feature and it will be removed in a future version.) x* P% P! Z& b0 `  k* m
  699. ; If post reading is disabled through enable_post_data_reading,& A" n2 V, A9 O% T1 ?5 i9 `
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.$ x2 p$ O. `. u
  701. ; http://php.net/always-populate-raw-post-data
    & m8 R* ^: k3 E/ s& g! g1 P9 I
  702. ;always_populate_raw_post_data = -1
    ( @2 G3 w& p+ i8 H" ~1 N

  703. 3 O% v4 Z- E. [  [7 K! E. ^& w
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    4 }/ C! U; v7 S
  705. ; Paths and Directories ;; Z0 Y8 G0 k5 C
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    0 K; O3 ~, s" D- ?9 ?

  707. $ P) ]  Y5 b# J+ P' M. F% g* n" h6 z+ c
  708. ; UNIX: "/path1:/path2"$ Y& ~/ D/ u# i6 e- V
  709. ;include_path = ".:/php/includes"/ j. c/ u& I+ o# f0 L5 [8 y
  710. ;
    3 @9 p% i; J6 v- r# J
  711. ; Windows: "\path1;\path2"- v. }; r( ?& B0 p) ^$ K1 x
  712. ;include_path = ".;c:\php\includes"
    7 @8 ]) Q5 w1 a& c& o  r  @1 b' N
  713. ;1 D3 m7 c  `" b3 P' s1 [! i6 L
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    1 I0 t+ {$ B9 d8 \2 q0 U
  715. ; http://php.net/include-path
    5 |; ]: ?( e, a6 ~9 }$ H& F; X
  716.   [/ x- F3 x: z- A7 {
  717. ; The root of the PHP pages, used only if nonempty.4 o. o; Q" l" n5 q
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root; C) o5 L2 n0 y6 @& p- {
  719. ; if you are running php as a CGI under any web server (other than IIS); r5 m! _" k7 x$ l
  720. ; see documentation for security issues.  The alternate is to use the
    / f  E3 l) |1 g9 V
  721. ; cgi.force_redirect configuration below
    " B- F3 o) Y3 ^# z) k7 i% U
  722. ; http://php.net/doc-root
    1 l5 \7 Z* I' |) n8 m2 B; |. B4 ~
  723. doc_root =3 Y1 |. {' H. u+ z, V: P* L
  724. & T1 N- ~5 r2 Y' x7 I
  725. ; The directory under which PHP opens the script using /~username used only
    1 ?/ r, _$ o" J8 f" d
  726. ; if nonempty.' H, ~$ {8 d2 Q* u$ i# c4 S
  727. ; http://php.net/user-dir0 ~4 G5 \) f( H, o4 ^' O0 M9 o
  728. user_dir =8 p/ S4 ]6 M9 S) N" c# a. W( q

  729. $ B& n9 p/ I  z3 e
  730. ; Directory in which the loadable extensions (modules) reside." ^! j2 z3 w, t" {
  731. ; http://php.net/extension-dir% t- j9 N5 N: s6 t: ~0 N8 H- e7 t
  732. ; extension_dir = "./"
    2 k) z% T9 S# S; X% z
  733. ; On windows:
    : w$ a, z, Q7 E
  734. ; extension_dir = "ext"
    * l  s' F/ z0 b* w6 |6 q
  735. , e2 v$ j  P) [  W) S2 C
  736. ; Directory where the temporary files should be placed.2 Y2 z  y0 v& o0 a$ [, _3 C
  737. ; Defaults to the system default (see sys_get_temp_dir)
    % s, |4 D4 `8 V7 k  o& _
  738. ; sys_temp_dir = "/tmp"* y9 h9 Z# {' `
  739. 8 G- q9 c0 d3 U
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work$ q" i& s: J8 a
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    - ^" q: ]  B" ~! a
  742. ; disabled on them.$ e. ~) g. R; }7 v
  743. ; http://php.net/enable-dl+ U6 W* T* I1 h3 l" t, ^
  744. enable_dl = Off( t3 X5 Y0 N3 n, e

  745. ; k9 \$ f4 @, Q  i% {+ [0 s2 b$ t
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under9 y. j$ V8 o, l0 `. y; A! \, ]
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ( T9 n4 v3 S* `
  748. ; turn it off here AT YOUR OWN RISK
    5 h( s" g+ x: Z1 B8 {& u
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**! i% G  S. E8 C6 H
  750. ; http://php.net/cgi.force-redirect
    9 ~! t! `% Q+ C
  751. ;cgi.force_redirect = 16 m+ ^- |7 r& B6 o( P

  752. / S4 @% A3 K; b. U7 j7 M0 T1 U
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    , ?7 d4 `. j9 Q( @5 ]; l/ L0 b  g
  754. ; every request. PHP's default behavior is to disable this feature.
    ( r5 I( }5 M$ o, C, Z# `8 S2 X
  755. ;cgi.nph = 1! N) f' j* v3 T. p) k

  756. 3 x. R4 W+ x7 \) p( g
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape9 K3 a7 \# ^  p, k3 J( ]
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    7 j  Y* `& U" ]4 y6 b- v
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ! N1 a9 o, E# r/ _. N0 t
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    : q& @% T) D# }3 I' K
  761. ; http://php.net/cgi.redirect-status-env
    , A" F$ p( j4 {% \3 R6 C
  762. ;cgi.redirect_status_env =
    * d% J) T- q: f# u! n0 [+ v" K
  763. 3 ]2 i5 u$ {) I* E0 x
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's- H; t! r: Z6 u! g: H/ K
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok+ l* A! P7 ]/ O. b
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    + I/ ]* `* K. }* \+ |
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    7 C6 T3 @2 s8 h
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts5 X/ K8 I7 n1 p; b: m
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    & Z0 p* j; X( c/ ^8 L, S2 {, \
  770. ; http://php.net/cgi.fix-pathinfo, g% m0 s6 {/ j" L" I
  771. cgi.fix_pathinfo=1; g9 ~/ g+ X9 \- p  @( Y/ q3 T
  772. " q" e6 i3 P4 F
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    5 k+ {. m! h+ a' W- X4 I7 Y
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ; p7 o% h$ n" ^4 E" }; M5 L
  775. ; http://php.net/cgi.dicard-path
    3 X. Y1 ?( {8 ~! E+ p& h
  776. ;cgi.discard_path=1, E* n3 K3 {" a5 G
  777. % N6 G0 o* @+ s  G$ W" z
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    4 X9 l+ L2 u- W
  779. ; security tokens of the calling client.  This allows IIS to define the
    8 ~, R3 B. e& j' U$ z
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    # q* e, l+ }7 t( y
  781. ; does not currently support this feature (03/17/2002)0 o, `5 j1 \; M" q
  782. ; Set to 1 if running under IIS.  Default is zero.6 F" D4 c! t) z! o9 `4 r4 E
  783. ; http://php.net/fastcgi.impersonate
    ( b2 ^: b/ Q, s7 `6 l
  784. ;fastcgi.impersonate = 1
    * \- D' F) a* `# g. {3 C7 d9 Q

  785. 8 p. P' _" k* l6 z8 Q) g1 u
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    0 B, g3 Q7 N9 f  Q- J
  787. ; this feature.
    : [/ l; @# y/ x: g: ^9 H
  788. ;fastcgi.logging = 0
    . x) R2 \. n- ]7 M; i
  789. 8 P' t7 q4 b- t, _0 Q
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to4 ^2 Z8 M9 m! a; C6 a) o' P
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    - c0 v2 n  F- {
  792. ; is supported by Apache. When this option is set to 1, PHP will send5 t8 c7 c2 |0 V5 F/ V, _9 O
  793. ; RFC2616 compliant header.
    9 O( ^2 C+ |, S$ a  B5 c! N0 ^
  794. ; Default is zero.
    : U7 G3 C3 @, V- o  G: m8 e; T
  795. ; http://php.net/cgi.rfc2616-headers
    + r. c) p4 w: @* [0 q7 C8 G
  796. ;cgi.rfc2616_headers = 0
    2 \' D3 z# m8 \& L/ q

  797. & w7 V& u- k2 _3 _; E
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!' o% B8 `! {3 r; m: A
  799. ; (shebang) at the top of the running script. This line might be needed if the5 y9 J; x7 ]- w1 \2 ]; d
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI! _' i, P' X  O# B$ K2 E+ R' O  [( O
  801. ; mode skips this line and ignores its content if this directive is turned on.  n* [! P( x/ T$ w
  802. ; http://php.net/cgi.check-shebang-line  L& W- N- w0 L6 f
  803. ;cgi.check_shebang_line=1+ g7 d+ w* A, }9 e4 ^( S( G

  804. * ?3 S/ S3 e# _, H
  805. ;;;;;;;;;;;;;;;;
    % W$ `- P% I* b/ G, q: j3 f/ o
  806. ; File Uploads ;% _/ s3 |' _5 q5 m8 `. q
  807. ;;;;;;;;;;;;;;;;
    9 n: r( P9 b* h  d" C! S" }7 q
  808. / \/ V$ Q: h( }* q+ ]
  809. ; Whether to allow HTTP file uploads.
    1 b4 s6 Q" j& i( Z' B
  810. ; http://php.net/file-uploads- U. W  b+ t. _: }% k) V, y
  811. file_uploads = On" }, v" N; F6 k0 s0 y6 \3 F

  812.   ?" p! s6 @$ c
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    4 m1 n8 Z: n" Z7 V8 S
  814. ; specified).3 }7 i6 D" S8 U
  815. ; http://php.net/upload-tmp-dir
    + ^0 Y; o) o5 f! a
  816. ;upload_tmp_dir =* V( t2 I% ~6 s; D& Y# u" j

  817. / @, k# g0 J) h9 N
  818. ; Maximum allowed size for uploaded files.' R& g6 o8 R! k3 M" K
  819. ; http://php.net/upload-max-filesize) A; n6 c8 w+ ?
  820. upload_max_filesize = 50M4 J% \6 [. f" C/ v5 v
  821. + f5 A% w; O& {+ I6 d# h
  822. ; Maximum number of files that can be uploaded via a single request7 x+ Q4 J8 n! \/ ^# V
  823. max_file_uploads = 20
    $ v; l$ m4 Q2 e1 e- m+ _$ e$ n

  824. % A! t5 o! T, j1 f  l. a
  825. ;;;;;;;;;;;;;;;;;;
    ) H* l2 B8 |+ o( Y) e2 u$ l1 r& C" h+ P
  826. ; Fopen wrappers ;
    1 y1 |, D9 T; W6 g
  827. ;;;;;;;;;;;;;;;;;;
    6 q, ]$ G9 l9 |+ a, D6 M
  828. / f5 f6 q8 o3 L" y" j, F
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.7 w* I: F: M, k
  830. ; http://php.net/allow-url-fopen
    1 q& U3 U: J# I5 {& _
  831. allow_url_fopen = On) O5 c; y. ]' W
  832. 6 r; T: F, `9 ]& C- G8 N
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.0 ]  a5 P# b; g( B" ~0 K4 J# @# {
  834. ; http://php.net/allow-url-include8 V% s* M5 K1 g
  835. allow_url_include = Off
      w3 Y, Y  W4 L$ w
  836. + n7 x, j& j5 h( W/ @+ a7 }  P' I$ r
  837. ; Define the anonymous ftp password (your email address). PHP's default setting. D0 b8 i# V; f* c% g+ d" Y
  838. ; for this is empty./ W' S7 P9 {8 b" m( X, {- H
  839. ; http://php.net/from
    7 y$ d- a# [# z& P; j& O
  840. ;from="john@doe.com"
    8 o* @! |( X" _- k. c2 y2 W* P
  841. 3 `, \/ n' ?9 [" y  o. f4 R
  842. ; Define the User-Agent string. PHP's default setting for this is empty.$ K# w- z5 o2 F8 C+ @
  843. ; http://php.net/user-agent
    & l: S$ h1 i$ Q* N' C/ I  E
  844. ;user_agent="PHP"
    & p/ w' v: o5 L7 P" j. U
  845. 5 q' K; @- L8 I; J
  846. ; Default timeout for socket based streams (seconds): P0 D+ w% M* F9 m% L/ A
  847. ; http://php.net/default-socket-timeout7 w7 x2 |" a/ J5 P" d) T2 w+ C# ~
  848. default_socket_timeout = 60
    3 {6 ]. |" ^6 ?( n! f% C% \( D$ c

  849. - O/ R/ R% s2 M* ^0 Y0 [
  850. ; If your scripts have to deal with files from Macintosh systems,4 m1 ?! O* B# n+ O
  851. ; or you are running on a Mac and need to deal with files from
    5 k: ?0 S& h8 s5 V. e9 e) `! q
  852. ; unix or win32 systems, setting this flag will cause PHP to' e$ X- J4 N: x
  853. ; automatically detect the EOL character in those files so that
    4 q7 H9 x0 C& }& O. r; q
  854. ; fgets() and file() will work regardless of the source of the file.6 _% J$ H7 o% C+ E4 |" m
  855. ; http://php.net/auto-detect-line-endings
    5 T2 l6 w/ i8 e7 C8 c6 r. A
  856. ;auto_detect_line_endings = Off
    . v2 J! e# ~% }& \/ `* p
  857. # {+ L; d: a5 s2 q" f" k
  858. ;;;;;;;;;;;;;;;;;;;;;;: V  I, |( L) L* u' _. ]; i/ A+ k
  859. ; Dynamic Extensions ;
    / L& o: t! t' {: D& e- b
  860. ;;;;;;;;;;;;;;;;;;;;;;
    7 m4 e4 E. u: n) j& X
  861.   m/ d) x; l; D+ i8 t1 h0 X
  862. ; If you wish to have an extension loaded automatically, use the following7 K4 A6 K" i2 h, H% [
  863. ; syntax:
    " m. e; ?8 N0 d2 H% N
  864. ;
    , J4 A% u/ }, f$ ?
  865. ;   extension=modulename.extension1 B) Q5 C5 L7 S4 x. `* b
  866. ;
    9 z6 B2 v' U! S# `
  867. ; For example, on Windows:
    * D& B! A% o" U3 v
  868. ;$ O5 N! N/ R. ?  s
  869. ;   extension=msql.dll
    " v( H1 P+ O* T+ D/ }, S
  870. ;  t; m8 T' a- e5 y5 O  L8 ?: Z8 h
  871. ; ... or under UNIX:8 f: X2 m3 V" _9 _9 T
  872. ;
    % u* `4 K$ U' k% q1 t
  873. ;   extension=msql.so
    & Z, ?1 _# l! P0 \
  874. ;
    * B1 c5 g# \( N% @
  875. ; ... or with a path:
    4 M6 N( v) B0 o5 T* ?
  876. ;$ ?; b. K. S, m
  877. ;   extension=/path/to/extension/msql.so
    7 F$ l( r% U9 c. z4 c% a
  878. ;
    $ r6 }( m. G8 `! d& G: K6 N8 C1 _
  879. ; If you only provide the name of the extension, PHP will look for it in its
    5 b4 |, c* d: q5 s' ~/ i
  880. ; default extension directory.
    % f( p# B( Z/ i9 ?9 k' A) e0 o
  881. ;
    4 k4 [, w( s/ L; r* y6 S
  882. ; Windows Extensions: w+ j6 T$ I3 _6 w, Z0 Z. |, Z! P6 B
  883. ; Note that ODBC support is built in, so no dll is needed for it.2 {3 _- F. s# \5 n& W0 r/ C, L: Y) P
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5): m6 P( w' x4 A- U. d
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    & S% V% C1 N( \; L
  886. ; Be sure to appropriately set the extension_dir directive.( a7 [; V& [' B2 b# F' Z1 B- r
  887. ;. @/ l2 a2 o2 _8 B1 n& E( V4 S
  888. ;extension=php_bz2.dll
    8 I8 v1 l; {8 X9 I/ {" X* x9 r1 q
  889. ;extension=php_curl.dll
    ( L- d8 P' ?3 H* q1 W
  890. ;extension=php_fileinfo.dll5 I- J; r8 c- n. x
  891. ;extension=php_gd2.dll
    # F. @  h' C4 r, ?$ w/ l, ?& D
  892. ;extension=php_gettext.dll% A- F& \9 u% y: n% A9 d# b4 E
  893. ;extension=php_gmp.dll: q; J3 ~; x" ?! O: N; z
  894. ;extension=php_intl.dll
    + \0 ]2 c2 |6 Q
  895. ;extension=php_imap.dll
    " {$ x% F! c9 f1 ^& r
  896. ;extension=php_interbase.dll2 c, I# O6 E1 h( \0 \4 N7 [4 T+ o
  897. ;extension=php_ldap.dll
    & d. J8 k# Y* Q5 r5 |* j
  898. ;extension=php_mbstring.dll5 ?4 G/ L1 D# j3 m) |
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it/ a/ ?- q  V% j$ e$ T: S, e
  900. ;extension=php_mysql.dll7 z' I9 J9 v, M- A' y/ k2 }
  901. ;extension=php_mysqli.dll
    1 g' c+ a" R# j) ~# V! W4 h! `
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client! `# Z2 [  c- Z  r  \7 P4 V' P
  903. ;extension=php_openssl.dll; [3 g* y; g+ S0 n/ [) Q3 D
  904. ;extension=php_pdo_firebird.dll
    / F2 D1 j2 }- x+ a% f- E
  905. ;extension=php_pdo_mysql.dll5 h# |, m+ p% ]1 Z6 J  z9 D9 R4 ^
  906. ;extension=php_pdo_oci.dll! V" [, G! {8 |
  907. ;extension=php_pdo_odbc.dll8 k  r, u1 s! j+ o- x! T
  908. ;extension=php_pdo_pgsql.dll8 V3 d( c. k6 b
  909. ;extension=php_pdo_sqlite.dll* e, s  L* m* S% d
  910. ;extension=php_pgsql.dll
    0 i# ]( g- v& D- K) |
  911. ;extension=php_shmop.dll
    . D( |4 C1 p4 Y8 t! y, O2 b' @
  912. ; ]8 k* U6 C7 I. I4 b, V: a
  913. ; The MIBS data available in the PHP distribution must be installed.
    2 C/ f5 N  Z- O+ j( L
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    8 N. r- V+ Y3 B5 ]3 X# y) p, X8 h
  915. ;extension=php_snmp.dll/ B0 k  A, a6 p, ?! h2 Z

  916. ( I6 H& v: B: {8 T: E; `
  917. ;extension=php_soap.dll* F' r4 O3 U7 T' {) x  C
  918. ;extension=php_sockets.dll5 p# k& k+ @+ F+ H' T2 ?
  919. ;extension=php_sqlite3.dll
    5 u. t+ g% C+ e4 w/ c: t3 q
  920. ;extension=php_sybase_ct.dll
    : m3 T% {$ }4 q. W: g
  921. ;extension=php_tidy.dll
      B3 t# o8 B' {4 t; y- \6 U
  922. ;extension=php_xmlrpc.dll
    : H8 n! l8 T- D! `
  923. ;extension=php_xsl.dll; [4 d  I% o+ X- k

  924. ; G2 E# p/ T1 [4 z% I7 v" c
  925. ;;;;;;;;;;;;;;;;;;;2 ~& H0 N, J+ O# A% _
  926. ; Module Settings ;
    : G; N( n0 V+ v0 E+ x; e
  927. ;;;;;;;;;;;;;;;;;;;$ }& ?! l# `1 Z, a/ _
  928. 9 ]( s! L2 R, D: [$ p
  929. [CLI Server]4 D- \3 }1 Q8 ]  X( A
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output., ?7 P6 W5 x2 Q, t# q# f
  931. cli_server.color = On
    $ P9 R5 G' W/ w0 G0 a% {
  932. " H8 k* H+ R6 ]: Y2 t7 R
  933. [Date]5 z3 ^$ H" r5 U1 n0 k
  934. ; Defines the default timezone used by the date functions( U0 d" b+ c2 w
  935. ; http://php.net/date.timezone
    9 t: z# q* z7 e) q: u4 v+ W7 Q) R
  936. date.timezone = PRC% V' H+ ~0 |! T+ J0 ?
  937. ) ?7 ]) W" Y3 ]7 r6 y4 U  e% B+ J
  938. ; http://php.net/date.default-latitude' \$ {8 Y  G0 n8 X
  939. ;date.default_latitude = 31.7667
    $ v( i  X/ z9 C  |

  940. ) g) Q4 H9 X) F% G) J5 f; E
  941. ; http://php.net/date.default-longitude7 J- x! Y5 `( i8 [0 I' q
  942. ;date.default_longitude = 35.2333, M: Q! B/ Z; C1 s' n& t  _

  943. ! u# ^+ R/ I9 _
  944. ; http://php.net/date.sunrise-zenith
    / x- S8 u1 O# F! C
  945. ;date.sunrise_zenith = 90.583333
    4 q, d. X% `7 ]3 ^% u. D8 e6 Z
  946. / V% E+ J) d8 F
  947. ; http://php.net/date.sunset-zenith
    ! X) B4 ?7 w! }; |
  948. ;date.sunset_zenith = 90.583333! `! N; l+ _' v  v: g

  949.   S1 u8 i( [8 C7 t  K6 u( K( E
  950. [filter]
    ( |  L: m( {% y1 T' P# [
  951. ; http://php.net/filter.default* q: |3 i9 n4 b6 p  Q: [1 ^
  952. ;filter.default = unsafe_raw) @# c" f6 c: g3 G8 F& n' a
  953. 6 W3 W! k, v! ^+ H
  954. ; http://php.net/filter.default-flags3 E$ A  I7 P# A
  955. ;filter.default_flags =
    + j1 ^+ |) H1 Z" C5 k
  956. * e5 c8 ^" U4 J- I9 R! D9 N
  957. [iconv]
      g& C& j$ h! B0 I2 ^
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.0 Y+ v+ N, R7 `0 c9 E) I8 }3 |
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.+ }* q6 k1 h7 W# a$ M/ Q" a
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    $ p' a/ f$ l6 h! j, P: g# \
  961. ;iconv.input_encoding =" x- C7 B. ]/ n3 ^; S/ T# M; ~

  962. ) U( U* F; k4 U3 k9 ^$ m
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ! v/ s- C  y. |, v; _, Q
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    + a: o6 _" n, c' w
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    $ D0 q- Z3 s/ [
  966. ;iconv.internal_encoding =6 g% O9 r- x" E$ `1 I1 P0 a" n+ _

  967. 6 |& f( M! H) \7 r
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    9 e% V& A6 _, _: m
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    8 Z# P7 J; {; q2 w
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    & J0 I. H- r9 o, \( @  ^& g1 R
  971. ; To use an output encoding conversion, iconv's output handler must be set% |5 b2 [, L: D. M4 e. w5 v
  972. ; otherwise output encoding conversion cannot be performed.
    7 q7 N" ]! }/ K/ S4 x
  973. ;iconv.output_encoding =4 i' R# R9 V# U4 v* p4 ~! a3 }
  974. 7 Z1 \! g# Y7 {6 ], s
  975. [intl]) \; r* a' Z& x
  976. ;intl.default_locale =+ T) W' T! k, W- {% O3 Y3 L+ w7 V
  977. ; This directive allows you to produce PHP errors when some error
    ' ]0 n7 q! Y) X5 K- T
  978. ; happens within intl functions. The value is the level of the error produced.
    % u7 Q8 |; X" e4 N3 y/ f$ D8 B
  979. ; Default is 0, which does not produce any errors.! S1 ?0 d" }6 v, U0 R# e& D7 d
  980. ;intl.error_level = E_WARNING* _5 g! E" X/ w/ }( z* k) J# L
  981. ;intl.use_exceptions = 0
    & u# M+ r0 F( S% s) ]7 |) o

  982. " B1 o  \: e1 n; \* A- W
  983. [sqlite3]3 t. |; q$ V" p3 t/ J2 L
  984. ;sqlite3.extension_dir =$ V9 c/ p+ W! X0 L4 c) r8 @1 p
  985. 1 E" g$ i6 a$ E# q" X- c) D# N
  986. [Pcre]
    % x3 e. P  M* p& H5 I7 i$ W, d
  987. ;PCRE library backtracking limit.7 `0 @$ X7 M- Y7 l; i% L
  988. ; http://php.net/pcre.backtrack-limit
    , o5 W( q2 Q0 w! E
  989. ;pcre.backtrack_limit=100000- R2 j7 w1 n4 Y4 j# O: o
  990. 4 u. o/ [- M" ]/ }
  991. ;PCRE library recursion limit.
    + w3 _! o1 {- F7 M
  992. ;Please note that if you set this value to a high number you may consume all
    - Y0 E! k. F1 F! `+ n- \
  993. ;the available process stack and eventually crash PHP (due to reaching the+ u: E% @& U$ L. {6 }; `8 _* u8 x$ \
  994. ;stack size limit imposed by the Operating System).1 ]5 V& ?4 h) t% K6 j) d4 i
  995. ; http://php.net/pcre.recursion-limit) S% @2 J# L+ P* ~5 ^
  996. ;pcre.recursion_limit=100000
    # X  Q) `3 l( @- M8 M: E
  997. / X6 |4 z9 d1 n+ F7 T- Y& `
  998. [Pdo]7 Q: E' U  N1 u5 f
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    " q  U$ W; T+ a# V. m# |! m
  1000. ; http://php.net/pdo-odbc.connection-pooling
    , x3 s2 A/ g! `4 v/ Q
  1001. ;pdo_odbc.connection_pooling=strict
    + M1 ~: {  o& I3 p; e% P
  1002. 8 j2 ]. C/ n% ~
  1003. ;pdo_odbc.db2_instance_name
    2 [' H& w/ p& J- c3 f' t

  1004. 3 o, E" C8 }/ A/ P3 b+ w
  1005. [Pdo_mysql]! p' n; W. E- o. V; r2 f
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & s+ \2 H* K$ Z* j5 s/ \3 ^
  1007. ; http://php.net/pdo_mysql.cache_size
    , l& Y" i7 c6 Y: Z9 p2 r
  1008. pdo_mysql.cache_size = 2000
    ! J) j7 }* }2 O3 S  r$ Z0 {9 O
  1009. : {# d( T, R" A
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) m- ~8 J8 D% `; \6 ?1 B1 C
  1011. ; MySQL defaults.1 M* _, ]( E* A1 H
  1012. ; http://php.net/pdo_mysql.default-socket
    ( ~4 h) |# ?$ {, o
  1013. pdo_mysql.default_socket=
    ( O( {/ l. x7 A0 O! H7 }
  1014. 6 G! j7 a5 n/ q$ n
  1015. [Phar]5 w4 A% f) T* X; D$ F- u3 u
  1016. ; http://php.net/phar.readonly
    & z3 X; S7 @- }
  1017. ;phar.readonly = On2 ?  _  g) W  H* u0 H

  1018. ) f* E7 k, p! g* y, s( T
  1019. ; http://php.net/phar.require-hash* E1 T7 Z$ H1 w4 G  v
  1020. ;phar.require_hash = On
      {& C! K: o# H( v# |

  1021. ) x) D+ L8 w! @3 Z- I
  1022. ;phar.cache_list =% M! X4 {! c9 a/ ^; U) u

  1023. 6 z0 c$ \) M4 W+ b
  1024. [mail function]
    3 a/ \8 p3 b4 ]* u# L; u
  1025. ; For Win32 only.
    8 \2 j: I# n2 ~" @- v/ y( K
  1026. ; http://php.net/smtp
    ' }! s7 L% x! \+ Q, n! H
  1027. SMTP = localhost
    / d$ Y- p  K2 N: h
  1028. ; http://php.net/smtp-port: R' t# P+ c) U/ d
  1029. smtp_port = 25% @) d1 \( B1 ^' n  H& f; P
  1030. . i; O% m$ [( l& c4 Y% t5 C
  1031. ; For Win32 only.; S) @2 H3 w1 g4 n6 d# b( l
  1032. ; http://php.net/sendmail-from5 u9 _. J$ @# K
  1033. ;sendmail_from = me@example.com
    6 }* B7 f3 v* s3 N/ s9 ~0 S4 V
  1034. ( J1 \0 ?. i6 W6 y
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").  p* h7 m  b- C) z, K4 ^+ I$ S3 r
  1036. ; http://php.net/sendmail-path
    ) \6 E" `7 n1 q  a6 {9 f
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    5 @* I( x  d* I" D( U$ h

  1038. 2 U/ N' g& V! {& B3 `) C
  1039. ; Force the addition of the specified parameters to be passed as extra parameters/ r; U  j% F$ g. r: I7 Y& [: n
  1040. ; to the sendmail binary. These parameters will always replace the value of2 B! E1 D" _! i! r4 j6 i
  1041. ; the 5th parameter to mail().
    ) ]; M+ @$ i" B" G& b9 i
  1042. ;mail.force_extra_parameters =
    . s5 n' O/ b) S" z& j. `# Q: y, R

  1043. # X* t( k' P, ^3 z. X
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename. ^2 f6 B# Z, X
  1045. mail.add_x_header = On# x  F+ G: _; c0 x* S

  1046. " I9 S4 ~; r& i+ N0 z4 C9 q6 m! ^; a
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    0 R  @0 _6 R9 j/ r4 p
  1048. ; the full path of the script, line number, To address and headers.% o) Q. U# D% T$ w+ t
  1049. ;mail.log =& m9 x3 @( N+ j: j7 M( d3 k
  1050. ; Log mail to syslog (Event Log on Windows).) t- F9 L! ?# ~, L" X6 [
  1051. ;mail.log = syslog
    4 S4 K5 J3 w' B0 W8 C
  1052. ! \7 a) ^5 O; Q2 [4 Q
  1053. [SQL]; W) t3 ~) E( c& ?: b. W. b- w
  1054. ; http://php.net/sql.safe-mode, T- l5 p$ n# F) w. x# T- g0 ^# d
  1055. sql.safe_mode = Off
    % q- n  v0 M- Y7 T0 @7 b2 s
  1056. ; y+ J  Z: f7 \0 z7 f; @
  1057. [ODBC]! u" s  b: J) P
  1058. ; http://php.net/odbc.default-db
    # }' ?, Q" p4 J4 i) P  _, n% p
  1059. ;odbc.default_db    =  Not yet implemented
    4 Z4 G4 `+ L5 g, j# H' K" ~: Z

  1060. 9 b* y9 A# t+ K; e% G4 o
  1061. ; http://php.net/odbc.default-user0 c+ }% V" J0 }0 _
  1062. ;odbc.default_user  =  Not yet implemented
    ) b% o! i: \) [5 i0 b+ X- E

  1063. 8 G; \- C7 M( W6 o
  1064. ; http://php.net/odbc.default-pw
    4 g& R" v4 n( }& N1 v8 c7 x
  1065. ;odbc.default_pw    =  Not yet implemented. a2 ]. N" J- q* Z  g  M8 v
  1066. 1 R& ]3 Y) X( s+ F6 s
  1067. ; Controls the ODBC cursor model.
    + m! {; ]1 I% P+ c
  1068. ; Default: SQL_CURSOR_STATIC (default).
    0 g- V8 c2 X5 B) e
  1069. ;odbc.default_cursortype$ q; }. A+ Q6 D4 D" b, f0 T

  1070. $ g3 k0 Z+ @# I/ _7 n3 e
  1071. ; Allow or prevent persistent links.
    9 t- C8 C/ x7 c% u3 N% V
  1072. ; http://php.net/odbc.allow-persistent
      y/ C( @" p6 p( D5 c: k- f
  1073. odbc.allow_persistent = On) ?, r) h7 Y* }8 s# p$ }
  1074. $ D8 J! P: B/ C! {" ^
  1075. ; Check that a connection is still valid before reuse.
    1 A4 q* B3 A3 P' v# h" G8 }
  1076. ; http://php.net/odbc.check-persistent$ w9 \6 h! a: f8 o
  1077. odbc.check_persistent = On; ~* T( x3 O( s$ R7 T
  1078. : s9 o+ A1 u3 q$ z
  1079. ; Maximum number of persistent links.  -1 means no limit.
    " K3 e" ]! _( b0 U1 g
  1080. ; http://php.net/odbc.max-persistent
    5 {( U: y" V" D; ~' t
  1081. odbc.max_persistent = -1
    4 y/ d5 U& T! W$ W4 M! z: j1 B
  1082. + G( _2 ?/ G# n: C1 m
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ) K" g( G  B! h$ C4 Y
  1084. ; http://php.net/odbc.max-links
    1 T6 n' e  [' g0 |- m7 @( A
  1085. odbc.max_links = -10 A& L9 g: ~* }# }# p* y2 z

  1086. % o% }& t% e& |3 E# k, d, b
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means- c1 y9 ?* A- Q) b: S/ K
  1088. ; passthru.7 D# `$ m+ W/ W9 Z
  1089. ; http://php.net/odbc.defaultlrl
    ! o+ W, }+ f( p: _! y9 ]
  1090. odbc.defaultlrl = 4096( m" p% p# \. f0 H
  1091. " \+ i3 b- e1 W: I
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.: R& S9 D; K# E6 Y
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    6 p3 j! a5 m* ?! g
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode' y+ V; d4 B& J" G
  1095. ; http://php.net/odbc.defaultbinmode0 R1 V3 F! [9 `: M+ Z7 A
  1096. odbc.defaultbinmode = 1
    6 j8 S8 F% j3 G$ v  O
  1097.   L" P+ e. H+ P; s5 w! k
  1098. ;birdstep.max_links = -1) f5 b' f' R0 D

  1099. & z. ^1 @! D4 z6 w
  1100. [Interbase]' A4 _$ z" E/ _% Z: E/ Z$ H1 }
  1101. ; Allow or prevent persistent links.7 {' [' l. g/ ?( S3 P+ ]7 P9 n$ R
  1102. ibase.allow_persistent = 10 k8 u: E- y1 k' Y' w
  1103. 1 u# J! B4 S0 T" m8 `! ]8 H6 _
  1104. ; Maximum number of persistent links.  -1 means no limit.* H" L/ F1 T* i
  1105. ibase.max_persistent = -1# [6 y: H% u+ o) h/ `8 }/ X) |
  1106. 2 R3 `  J; F. I& _2 y
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 L" a+ U5 S6 E+ M+ o$ W  Z6 a
  1108. ibase.max_links = -1
    3 X/ Q! |' n# P/ L  k6 V& W

  1109. 5 m3 Y5 m0 W! V/ @7 E+ _
  1110. ; Default database name for ibase_connect().
    $ B7 q' p5 M8 k1 ^. Z7 o& j
  1111. ;ibase.default_db =
      d: P; W. l+ d& e* a8 c, O& W& T$ Q

  1112. ; h/ f/ a$ _0 `* f! W
  1113. ; Default username for ibase_connect().& |$ x7 ~$ ]3 I" Z' i  q, g
  1114. ;ibase.default_user =
    + b6 k6 S5 @! a; J: c
  1115. 7 P+ R( I8 r$ n0 n; W- Y3 R; @
  1116. ; Default password for ibase_connect().
    * S( T1 i2 X5 ^5 {5 }8 v4 n  l
  1117. ;ibase.default_password =' R8 z; x' \2 z! L& ^: E
  1118. 6 h6 L: K1 P' j# t8 T6 t, d6 l
  1119. ; Default charset for ibase_connect().$ R. K3 a3 ?& j
  1120. ;ibase.default_charset =
    4 ?' y7 [2 `' \5 e; {( Y$ ~

  1121. - Z: i" Q$ s6 ~0 h' G- a+ ~! I* v
  1122. ; Default timestamp format.
    + a& ~3 }: q/ Y
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"  }7 {7 [2 Q( p2 J2 Y% E: n
  1124. / m0 S1 G' y, q7 D
  1125. ; Default date format.
    - X" h& s" B/ F  Z
  1126. ibase.dateformat = "%Y-%m-%d") a; f* @8 [3 v3 O0 m, D

  1127.   G+ y) e# [% `: T, ~
  1128. ; Default time format.
    * j" s! q4 P# b. d1 P0 x# s/ O
  1129. ibase.timeformat = "%H:%M:%S"+ E1 I" W( v: f
  1130. ' y: N: H. x6 P* d# F
  1131. [MySQL]* M: m& O3 F- O! Y( N/ X/ C. ]
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    " `4 L, l* K8 g6 s2 R; i- [# m
  1133. ; http://php.net/mysql.allow_local_infile. y& p7 @% Q, ?' R! ~: q6 J
  1134. mysql.allow_local_infile = On" r0 B5 t. j3 V! G% d. u
  1135. & ~: Q# N. E1 _4 Q: ?8 `
  1136. ; Allow or prevent persistent links.2 V0 o' A6 a& o/ j
  1137. ; http://php.net/mysql.allow-persistent
    1 o3 L9 }' v  p1 `
  1138. mysql.allow_persistent = On
    ; [8 k  ?5 y1 r
  1139. $ R! s* J0 D9 C& W# N1 R" e& C
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ d8 R+ g; W) Q! v/ |* |
  1141. ; http://php.net/mysql.cache_size" g) Q: o3 ]3 C2 r; b- r
  1142. mysql.cache_size = 2000
    " ]- Y1 Z6 Z) q+ H4 B  N1 U3 N

  1143. ( ?2 R. |& G& L9 J, _- ^. s( |
  1144. ; Maximum number of persistent links.  -1 means no limit.
    % y& d) c! J' B7 }
  1145. ; http://php.net/mysql.max-persistent
    % d, |- p) f& {4 Y7 X; i
  1146. mysql.max_persistent = -1$ U( A/ K# g9 D, [

  1147. ( R6 b# }7 ]3 X3 c# L, X! K7 k
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.% [! e8 Z/ C3 l- u1 j, B* h
  1149. ; http://php.net/mysql.max-links9 h, ]( g* n9 Z
  1150. mysql.max_links = -1" l0 I, @8 r& c; E! |

  1151. 5 f5 K$ e! j: E- T3 ?
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use# @% H% v' t  Y
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the( i8 v+ d# j) u1 w
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    $ E) r' o2 @/ o5 M
  1155. ; at MYSQL_PORT.& k. N" `# Z3 B, s& t! v
  1156. ; http://php.net/mysql.default-port- V6 ^. `* p4 w5 e% o! o: }
  1157. mysql.default_port =* j' \( O# y3 E. [

  1158. 5 \1 G5 Y: ]5 b$ q, K5 X
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / ~% \: |. {: d& E& ^  u( ~
  1160. ; MySQL defaults.! Q/ a  h* Q/ g) F; [/ t) i
  1161. ; http://php.net/mysql.default-socket$ r; P" h7 ?# B/ }; J' ^
  1162. mysql.default_socket =- D4 y. u5 U  P. L. l

  1163. * e2 }  M* X* a7 b6 T1 q
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    / P* f, N; s  t7 L# o, z
  1165. ; http://php.net/mysql.default-host
    , k( [' _8 l# r4 P- ^
  1166. mysql.default_host =
    7 b2 V/ f. |5 c# L- K
  1167. ; s+ B7 r& N2 ]. j
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    $ ]' u. K3 y6 K8 H6 r; ?- ~+ ?- l
  1169. ; http://php.net/mysql.default-user
    ( c* z8 [. J  j6 Y
  1170. mysql.default_user =0 f! ]! R& @8 k5 H6 p! i
  1171. ' m  d0 b& r0 V0 t8 g/ L
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ) D3 w) C, e/ k# N$ F: ]6 d
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.8 I3 z/ W/ b9 }7 b5 L5 P0 a0 d
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    # |' {' G, d7 R; M/ X! \
  1175. ; and reveal this password!  And of course, any users with read access to this$ y+ D. x: K, y6 D9 C, u+ A# F2 o9 h
  1176. ; file will be able to reveal the password as well.! }, d& q- U: K, p( z
  1177. ; http://php.net/mysql.default-password
    8 E& h+ L0 i: k# ?+ e
  1178. mysql.default_password =
    ; I/ W: E, q; r6 l4 a9 j

  1179. / [. q4 g8 H. Y5 V- m
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit5 m6 H! _* _7 X  s
  1181. ; http://php.net/mysql.connect-timeout
    / [% l8 i# A9 E) S
  1182. mysql.connect_timeout = 60* h4 [, m8 y: t# L
  1183. ' x/ q! r3 u7 G
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    * c- s) |/ r2 ^8 q( ?. b+ C
  1185. ; SQL-Errors will be displayed.. ~+ m. P* s4 s
  1186. ; http://php.net/mysql.trace-mode% m! ^2 K3 @1 }) }1 v. w
  1187. mysql.trace_mode = Off
    2 K/ X6 z. e2 G0 [, w
  1188. 5 G3 p" V4 W+ R6 X# B% [) k
  1189. [MySQLi]
    , z; ^" a& B3 d( M3 ^- v7 y

  1190. 1 C% U8 r  a" ^' l* u8 G
  1191. ; Maximum number of persistent links.  -1 means no limit.
    5 K  l- x4 H% }% w7 ^! {; `. v
  1192. ; http://php.net/mysqli.max-persistent8 f, ?9 R5 t! W( y: y/ [
  1193. mysqli.max_persistent = -1
    4 T7 s9 y* o, J+ F* g

  1194. . a* g, M. M8 S2 q# Q8 A! m
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements, D! L1 _$ w$ D0 W! \8 C
  1196. ; http://php.net/mysqli.allow_local_infile! B( ^  \$ Y/ b+ }
  1197. ;mysqli.allow_local_infile = On
    3 C! R. {2 o5 C+ |9 e

  1198. 1 s1 @* Q  u+ v/ Z/ s, R/ R1 I
  1199. ; Allow or prevent persistent links.8 R2 b1 z' {& }$ a. f
  1200. ; http://php.net/mysqli.allow-persistent, Y$ v' W4 }  I3 h7 x
  1201. mysqli.allow_persistent = On
    ( ]& g* L) O1 l+ d8 ]( T) o

  1202. . N% o) v. p/ r) B, [+ u
  1203. ; Maximum number of links.  -1 means no limit.
    # \. S  P# [: A9 Q
  1204. ; http://php.net/mysqli.max-links! j4 n( i; D' J+ j
  1205. mysqli.max_links = -1; B& C  E# b& Q- \

  1206. ' Q4 z( [, E, P
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache" X9 K! P" p+ z. y( w, B) X, x
  1208. ; http://php.net/mysqli.cache_size
    # B% ?% N* e1 Y  x: M
  1209. mysqli.cache_size = 2000& \: g, ^" }# j$ T! ?
  1210. . f3 B" \2 a; y+ _' f. M9 `/ P" }5 h
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use8 d, d# v# j+ j$ I6 P- u
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ n! k) A) p( c+ l
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    9 t, |, m) ^$ a+ q& N* F- h! l( k
  1214. ; at MYSQL_PORT.
    ) H; N9 s) n5 }1 y7 \
  1215. ; http://php.net/mysqli.default-port2 G: ]" o' S' n, X
  1216. mysqli.default_port = 3306/ @5 \& w: d, W7 }& K

  1217. # r0 G. B. x  b' o
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : L1 h+ h# |) i# F$ q7 M7 S+ @
  1219. ; MySQL defaults.( `1 F6 g. I6 \' J, j( A6 p* \
  1220. ; http://php.net/mysqli.default-socket
    6 S+ w( {; D3 I  u/ }% \. r7 a
  1221. mysqli.default_socket =
    * C+ j1 {- e4 j9 g! y( u) b% W

  1222. ' `3 x: c) s% y4 q1 G/ g! |
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    0 _; @6 {! R' b1 p
  1224. ; http://php.net/mysqli.default-host
    ( s# Y: T! j/ ~; Y2 |- S3 i
  1225. mysqli.default_host =
    / p) b* U, Y( s% Z; L
  1226. $ f3 D7 n6 O8 u4 V( F' ]. b6 u
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    5 [# z! W4 z) R' h; p' J2 G
  1228. ; http://php.net/mysqli.default-user
    2 y7 P5 e8 r' U5 H# c& c" V
  1229. mysqli.default_user =2 q! F. `) O% i6 v0 ]6 y' a( [

  1230. % l& \( @+ c7 ?* ~" [
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    6 w/ \2 e( E* B5 b, q1 S0 a4 w+ X
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.( a3 }/ d! G1 w8 t  J; j# E8 N
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    5 b3 z  P, E; k4 ]
  1234. ; and reveal this password!  And of course, any users with read access to this! }1 }) J0 j) `+ L: q8 D
  1235. ; file will be able to reveal the password as well.
    : r% H, a/ [0 i7 w4 M7 R3 M4 r
  1236. ; http://php.net/mysqli.default-pw  r* M) n# w% M, V' D
  1237. mysqli.default_pw =
    ( J+ K8 h' C% ^$ N
  1238. # L* k" r) G; e9 t6 L% n3 |
  1239. ; Allow or prevent reconnect* S6 L  o6 K' D$ d/ }
  1240. mysqli.reconnect = Off( Q6 h/ A  [  c' N7 ^* X# A
  1241. : _* Z9 g# J, O& N6 A1 a3 ]
  1242. [mysqlnd]/ G1 v) s- b/ U3 [
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    & s5 T; v1 y: r  u# X2 {2 _
  1244. ; used to tune and monitor MySQL operations.) G- z' }# ?6 }, l. m
  1245. ; http://php.net/mysqlnd.collect_statistics0 _! I) F5 O: L! V" t  \, q7 r9 r7 {- [
  1246. mysqlnd.collect_statistics = On; h1 \+ I+ g  ^; S* E+ Q4 I
  1247. " X2 g# N- E7 }& _
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be% I3 j' Z# D8 `/ [! ^$ Z" K  V/ l6 p8 B
  1249. ; used to tune and monitor MySQL operations.  g# [1 h2 ^4 Q& M3 p6 m
  1250. ; http://php.net/mysqlnd.collect_memory_statistics- @, O5 k, \+ w5 `  T: o
  1251. mysqlnd.collect_memory_statistics = Off2 U- @2 W" u, c6 n6 I

  1252. " ?) V5 }0 S" v; L
  1253. ; Records communication from all extensions using mysqlnd to the specified log: N7 A) B# U9 @3 l9 r7 N; G* Y5 W/ X* F
  1254. ; file.$ B$ |! F' x6 C" X* M
  1255. ; http://php.net/mysqlnd.debug# N  I" W1 w- k8 P
  1256. ;mysqlnd.debug =
    - p0 K; S+ t3 s: j

  1257. % ?; b4 ]! l( r5 H
  1258. ; Defines which queries will be logged.
    ' D, q2 N0 X( O. t' s
  1259. ; http://php.net/mysqlnd.log_mask* u' j# L! w3 q0 B
  1260. ;mysqlnd.log_mask = 0
    ( F+ J( r; k" T8 v" n0 \
  1261. 7 R* r- |8 H! X$ u
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.9 F- v6 b7 H6 ~; w, W  {
  1263. ; http://php.net/mysqlnd.mempool_default_size4 I& g  k& D  L$ ]& d6 d, V
  1264. ;mysqlnd.mempool_default_size = 16000- q6 E: G. h8 \; N

  1265. - o& k7 p. R9 V  m
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
      h  }! o2 P  ^. Q* N0 I/ @* H
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    & E# v) q5 U2 M2 T9 |4 y" o5 |
  1268. ;mysqlnd.net_cmd_buffer_size = 20488 R: a  N$ M. I1 E$ N! _9 b% |

  1269. ! a: ~  A3 }9 o3 h- ]- n
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    . G& m& u1 u. S) S
  1271. ; bytes.
    , V: _3 t9 g" \, r) c, e
  1272. ; http://php.net/mysqlnd.net_read_buffer_size- `# _, X) Z% b! y' v
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ; a) w' M4 w( D0 I+ n! f

  1274. 0 f4 {4 K% e3 T, S2 m3 {
  1275. ; Timeout for network requests in seconds.
    1 g4 U& A' I. ~9 t5 `) t. A
  1276. ; http://php.net/mysqlnd.net_read_timeout
    5 G8 g" U# H& S3 ^6 `
  1277. ;mysqlnd.net_read_timeout = 31536000: \! @3 S2 @' s7 e1 m' j& G
  1278. 7 |: C. p' |. B) P* E$ K
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA* Y. a& D, [: g: w3 m  A  i
  1280. ; key.5 ]* T. m0 Z* b" S+ z7 ?
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    - ]- D- \) ^" c. ~- G
  1282. ;mysqlnd.sha256_server_public_key =
    & `4 i4 ?$ A' y: D6 A% {

  1283. " T& I; R. y* q# J* d/ G
  1284. [OCI8]
    & X5 t( l) V: U) g
  1285. , T& C  N8 X1 Q8 D+ W% y- t
  1286. ; Connection: Enables privileged connections using external% b1 @, ~) ]( g9 j( W( U
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    + C, w8 ^- M( u% I) S2 ~' Q; a
  1288. ; http://php.net/oci8.privileged-connect% p1 {3 K! k$ K2 u2 n: k
  1289. ;oci8.privileged_connect = Off
    8 q. z- @7 z8 S8 E& E

  1290. 9 ]* {( t! U. m  w* O
  1291. ; Connection: The maximum number of persistent OCI8 connections per+ ]# b4 Q( g6 X
  1292. ; process. Using -1 means no limit.
    . u5 P" C6 h* h5 N, X. [6 j7 U
  1293. ; http://php.net/oci8.max-persistent
    5 K  r0 F$ y' ~0 @% k
  1294. ;oci8.max_persistent = -1. q1 Z0 g; e0 o; S0 s) S. w& |. Z, o

  1295. . U! r  l. b: g& `8 B$ K
  1296. ; Connection: The maximum number of seconds a process is allowed to5 o- F" h+ A$ r, w5 s2 w) y3 _
  1297. ; maintain an idle persistent connection. Using -1 means idle
    4 V- D* A" e; ?8 }9 j
  1298. ; persistent connections will be maintained forever.
    1 u  A) l4 [! ~( _
  1299. ; http://php.net/oci8.persistent-timeout
    ( ]  p- X( e* F9 t( K! D
  1300. ;oci8.persistent_timeout = -1. C1 K0 c. w7 t! _2 Q  e6 h( L
  1301. - K* Z3 D7 U8 r( {
  1302. ; Connection: The number of seconds that must pass before issuing a6 h2 K1 [9 m1 n, f) ?5 P  a
  1303. ; ping during oci_pconnect() to check the connection validity. When
    8 O, {: P7 {7 J1 |
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    * V4 I" U: b7 N
  1305. ; pings completely.' |0 g, C) I7 g" T. ?1 q
  1306. ; http://php.net/oci8.ping-interval+ Q. y  |& [) \+ T/ I+ ?7 v+ E
  1307. ;oci8.ping_interval = 60
    6 _/ {' l+ V* B9 `4 H- z, C

  1308. 0 a% s6 [& I) d9 U( x( R; S
  1309. ; Connection: Set this to a user chosen connection class to be used
    ) t1 c5 Y# _$ a7 B7 Z
  1310. ; for all pooled server requests with Oracle 11g Database Resident! z, |8 M  Z# c3 D4 ]: J9 ~' }
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to" F2 ^& u0 j1 l/ J1 g; z6 Q
  1312. ; the same string for all web servers running the same application,2 L4 `; `5 l; F! m" F- K
  1313. ; the database pool must be configured, and the connection string must; R/ k- u8 x* P9 ~6 C9 B1 z' b
  1314. ; specify to use a pooled server.  n! x  l4 A! g/ l1 \
  1315. ;oci8.connection_class =
    , J& F+ @6 `1 M+ f* c; O& c

  1316. 9 ?7 l2 @+ q/ `) U+ X
  1317. ; High Availability: Using On lets PHP receive Fast Application* P8 H9 `. c6 R& y
  1318. ; Notification (FAN) events generated when a database node fails. The1 \- W: r- N& R9 i$ a& ?
  1319. ; database must also be configured to post FAN events., w) R/ R- ~8 Y- F! ]
  1320. ;oci8.events = Off
    : ~5 B' T8 O, n
  1321. ( e# n' r  r. t  x" l5 H+ |
  1322. ; Tuning: This option enables statement caching, and specifies how
    $ {" X5 ~4 Y8 Z; X. ?5 H9 C
  1323. ; many statements to cache. Using 0 disables statement caching.
    - V& P! L, c: i2 R( a6 [  t% z5 J
  1324. ; http://php.net/oci8.statement-cache-size$ ?! C* R! ^( k+ [( n
  1325. ;oci8.statement_cache_size = 20, j5 A( \2 m7 ^& G

  1326. 7 E( v# E! k! n. @" x
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    $ K: K0 t/ t4 ^% K4 S
  1328. ; rows that will be fetched automatically after statement execution.
    # b  h3 C' \5 \1 k( S. B( A
  1329. ; http://php.net/oci8.default-prefetch: O) E& N# x1 K$ E: @
  1330. ;oci8.default_prefetch = 100
    + u) K  T4 v3 @  j% J' r/ w' }

  1331. ' m' `; X+ V( M  D/ d
  1332. ; Compatibility. Using On means oci_close() will not close
    : @6 G- s' {: x) l7 O4 r
  1333. ; oci_connect() and oci_new_connect() connections.+ _; W$ F! I0 `. J' o, [; o; f
  1334. ; http://php.net/oci8.old-oci-close-semantics
    4 @( q& D- U+ ]9 ^; H. m
  1335. ;oci8.old_oci_close_semantics = Off* p4 D0 E$ E& P, O, d; s2 u

  1336. , \5 [! r+ G: p2 _
  1337. [PostgreSQL]2 r" L5 u8 i$ n6 [' d: j
  1338. ; Allow or prevent persistent links.
    9 h& N4 D; n6 @( Q* a; e
  1339. ; http://php.net/pgsql.allow-persistent
    # `) S8 J6 T# d/ ]3 k( \
  1340. pgsql.allow_persistent = On" P  Z, \. [$ g
  1341. / @: \. Y5 M) ?- K: S
  1342. ; Detect broken persistent links always with pg_pconnect().8 F. G# @6 J4 D4 w
  1343. ; Auto reset feature requires a little overheads.$ o) x$ i/ K7 H" ^! u! Z! T) {
  1344. ; http://php.net/pgsql.auto-reset-persistent3 K; n. J6 M) H1 k! k
  1345. pgsql.auto_reset_persistent = Off
    - U/ O- v& Z. @, G

  1346. 3 o; Z4 Z6 N# S+ w: y
  1347. ; Maximum number of persistent links.  -1 means no limit.
    1 i, I( v# u- V* ~  q+ c
  1348. ; http://php.net/pgsql.max-persistent4 `$ j8 w. e( _/ H
  1349. pgsql.max_persistent = -1, m+ @! o, H" l0 k

  1350. 5 S& a9 }$ U1 X) B4 ~# h  G
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    - A% b' z$ G' a1 V# M! N. a3 }* g
  1352. ; http://php.net/pgsql.max-links
    ' o; I- L* j9 h3 s4 `. t
  1353. pgsql.max_links = -1) a' ~# a* g2 H# d% [) E$ S3 K8 N

  1354. , b3 k% Z. C$ i$ H
  1355. ; Ignore PostgreSQL backends Notice message or not.' P4 V4 g1 b+ w# _+ |# U! D
  1356. ; Notice message logging require a little overheads.( H9 a; B/ [* G; ?; `" w8 M! P
  1357. ; http://php.net/pgsql.ignore-notice( Y; H1 c" |& F0 y
  1358. pgsql.ignore_notice = 0' l: ^8 e8 V6 |) Q
  1359. ( F- o3 |. N1 Q5 G, T8 d  d7 ?
  1360. ; Log PostgreSQL backends Notice message or not.
      ^7 q# q9 p! X* u" v7 n
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.: @* |) Q; L. \8 w# {
  1362. ; http://php.net/pgsql.log-notice& u1 L$ M7 S- P1 N8 a- @: B, ~
  1363. pgsql.log_notice = 0/ H/ t& @& t( G9 k& E

  1364. 7 }! K+ {9 D7 k8 F
  1365. [Sybase-CT]" ~9 O3 @" R; N2 b% S& A6 Q
  1366. ; Allow or prevent persistent links.
    9 J1 r% j7 [+ n& z0 v' l3 N" K/ i
  1367. ; http://php.net/sybct.allow-persistent7 C7 h! v. a( Y& }+ u& ^" q
  1368. sybct.allow_persistent = On) L- G. B1 _% b8 ?! z4 T# @4 W

  1369. 9 ]8 f2 N' |5 d: s% v
  1370. ; Maximum number of persistent links.  -1 means no limit.
    1 x) ]2 q- l0 J* n* f- U% T- I
  1371. ; http://php.net/sybct.max-persistent- Z2 I0 N& n9 j6 O8 |( l
  1372. sybct.max_persistent = -1
    9 G6 M" g# E7 [: f/ }6 T' W% u6 S
  1373.   Z* S' X: o# |5 U5 N( h4 B3 U
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 t$ W! i5 n% _# j2 @' f# o6 h
  1375. ; http://php.net/sybct.max-links- J& z9 g  g/ [8 N! ]
  1376. sybct.max_links = -1
    3 A) |  T; K% j# ~6 Q! ]
  1377. 8 e. e; |! K3 ]) q+ A
  1378. ; Minimum server message severity to display.: t8 ]8 n0 v6 @2 q& W( e
  1379. ; http://php.net/sybct.min-server-severity
    : v. C& x  x7 }, R8 r2 q! k7 N
  1380. sybct.min_server_severity = 100 A9 y5 p& r- F+ `& W

  1381. 6 j/ V$ r2 N& S3 ~1 C; Z* Z7 @
  1382. ; Minimum client message severity to display.
    % ]8 I  ]6 q, s7 a
  1383. ; http://php.net/sybct.min-client-severity
      d& k: z; d% ^- I# f8 Q' R
  1384. sybct.min_client_severity = 10% U' f0 A' R$ I! o" |8 X

  1385. % A5 p/ ]  p4 A# ^, c0 O
  1386. ; Set per-context timeout
    5 \- c2 b; H+ L$ G2 [3 H
  1387. ; http://php.net/sybct.timeout) N2 Y& e3 \) [$ R3 F8 z
  1388. ;sybct.timeout=# ~9 X/ Q& N! t' n6 d
  1389. # p* T! G: q% I+ G/ ?
  1390. ;sybct.packet_size+ R$ ~) n& z: a2 ^- ~, w1 o, o( k
  1391. 7 D- P, D" c+ R1 X
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure./ _: o/ k8 P9 F, A; ^  s' r+ l
  1393. ; Default: one minute
    " u9 ?# W) x6 g8 `
  1394. ;sybct.login_timeout=
      B/ a4 E8 S5 ^3 g! j+ }

  1395. ; k& ~6 O# _4 s2 ?! i
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
      h, n& Y" h5 b- w
  1397. ; Default: none1 Y- L; A( g/ }* H
  1398. ;sybct.hostname=' r8 T* f8 ]# H3 }0 X

  1399. " Z0 E- O& s2 q6 m0 [; p; H9 T
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    / G( k& M( c  t( @
  1401. ; Default: 0
    " A) T, c, q& Y, E( {( n9 \6 A" _
  1402. ;sybct.deadlock_retry_count=" W8 G* m7 k; `9 R+ V

  1403. / Y4 l3 I. B5 c
  1404. [bcmath]
    6 x% t% V  a2 ]8 W, q
  1405. ; Number of decimal digits for all bcmath functions.+ D: b1 b8 E, [* n! {* U! q
  1406. ; http://php.net/bcmath.scale5 V. Y  s* }5 D, ]
  1407. bcmath.scale = 0
    0 ]  r  R# q: d. X

  1408. 6 A. V  G. s/ ~6 Z
  1409. [browscap]
    ! R* c8 H% ^$ ^( F$ o
  1410. ; http://php.net/browscap
    , K  A. v8 U* e+ R
  1411. ;browscap = extra/browscap.ini1 G+ N/ h& j+ t5 i$ \& t: n. L/ r( i

  1412. $ f7 r# Q; S+ v, O& @$ T. g) z
  1413. [Session]
    * Z  y2 l4 T! t0 L0 K
  1414. ; Handler used to store/retrieve data.
    2 v! g; o2 N  C: J+ _. a8 o" {. u
  1415. ; http://php.net/session.save-handler
    & N  R8 j7 @% ?/ L6 A
  1416. session.save_handler = files
    9 q( Z5 O2 P- K$ W& I! K+ D) c; `
  1417. : C. f, Y9 ~, o+ L  a2 J
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
      h+ v: d" ?5 B* X1 ~
  1419. ; where data files are stored. Note: Windows users have to change this
    7 ]2 s$ z( l9 H
  1420. ; variable in order to use PHP's session functions.; |$ `" H2 g3 i
  1421. ;7 k0 u; _% ?3 D% @3 y
  1422. ; The path can be defined as:7 L" h/ r; ]9 K
  1423. ;3 t. V6 h; o/ Z' F+ ~$ J4 K
  1424. ;     session.save_path = "N;/path": c- A" z' \5 Z; \) k6 i
  1425. ;
    . Z# z2 z9 [( I
  1426. ; where N is an integer.  Instead of storing all the session files in! o" R1 i. r0 ^1 q) `, n
  1427. ; /path, what this will do is use subdirectories N-levels deep, and7 \8 L" g# G8 w2 }
  1428. ; store the session data in those directories.  This is useful if
    0 j4 F1 A( F# b3 _) \' y# m+ I3 w
  1429. ; your OS has problems with many files in one directory, and is
    / X: c9 ^! n9 g/ s' _
  1430. ; a more efficient layout for servers that handle many sessions.# r; t! a8 I/ d7 Y& I+ l* n
  1431. ;6 B8 Z$ k, b4 r" k" T7 v2 y4 I  k
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    # Q: i( e2 }, G% [- m8 B! h
  1433. ;         You can use the script in the ext/session dir for that purpose.& A9 X- k8 X- ~5 w; U: s* `# C
  1434. ; NOTE 2: See the section on garbage collection below if you choose to6 B) N, x$ n2 }: o7 B. O) ?
  1435. ;         use subdirectories for session storage
    . C, d, Q  g- j8 J
  1436. ;7 W1 x+ U: f& x4 k0 v% v3 p) }
  1437. ; The file storage module creates files using mode 600 by default.
    / W( z8 |% p, k( N
  1438. ; You can change that by using
    + C! I6 f% l; ?$ z+ B7 T
  1439. ;
    6 \4 M+ i9 \% F3 N0 z1 i+ ~6 \9 L
  1440. ;     session.save_path = "N;MODE;/path"
    1 @5 b1 c& o0 h* q' Z8 G. [. `
  1441. ;
    + U+ Q/ v4 A' ~
  1442. ; where MODE is the octal representation of the mode. Note that this- D: f8 b" L: W0 B
  1443. ; does not overwrite the process's umask.$ Q' F7 @6 O# u8 M
  1444. ; http://php.net/session.save-path
    $ @  l$ ?' P7 n7 }
  1445. ;session.save_path = "/tmp"
    ; ?+ Q0 A" y3 m+ a& o: K, n- y5 @

  1446. 3 @( b- C, H, I$ t! }7 x/ a5 z- N' b
  1447. ; Whether to use strict session mode.
    4 h$ P9 l' Z4 E: ?2 H2 Z; h
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    7 u; V; }0 E, Y& [
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    % E' t* M- [# g: V# r4 r" G+ o1 g
  1450. ; applications from session fixation via session adoption vulnerability. It is
    * N% `3 y' c+ Y
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.0 f0 k& I2 a+ {/ Z! ?
  1452. ; https://wiki.php.net/rfc/strict_sessions- U- Z3 g$ w9 L: s6 @5 n
  1453. session.use_strict_mode = 03 u* F$ H5 b5 f2 b% n2 W' ]/ L. `

  1454. ' v( \& C  e* c5 d9 \: J
  1455. ; Whether to use cookies.1 P1 f+ ]$ g1 A/ Z  ?: p/ A" t1 r
  1456. ; http://php.net/session.use-cookies
    / A0 n9 `- V, d  c1 M
  1457. session.use_cookies = 1
    " S0 _( K- a% o8 f/ ~: G

  1458. 0 i( ^* {, L0 K" A. Y# ~: i5 N0 ]
  1459. ; http://php.net/session.cookie-secure& M8 u  ]% c8 w( c; Q# K- ~  W* M
  1460. ;session.cookie_secure =7 D/ j# C. B/ l$ w
  1461. * E" H" I: d! J4 l& n
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    " }+ M5 D' C* O0 Q4 a( \) ~
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    8 Y( B2 n, e* |5 P4 e
  1464. ; session hijacking when not specifying and managing your own session id. It is
    * k& L/ k* Q4 i# J' o6 p
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    - o5 K' Q7 I3 H. K
  1466. ; http://php.net/session.use-only-cookies
    3 h" X, X2 _1 q; G( w( t
  1467. session.use_only_cookies = 1
    . N* X/ `9 g5 c2 J* X! O
  1468. 7 Z7 [3 ^+ n6 [. W) Q: K
  1469. ; Name of the session (used as cookie name).
    " Y4 H: X6 D' ]2 s+ }) G
  1470. ; http://php.net/session.name0 m! p8 w+ x( [/ p6 R2 u+ W
  1471. session.name = PHPSESSID
    3 g+ N+ l: D2 x) M# l9 d6 b
  1472. ) }8 J- }  ^1 q) G$ q7 n" a9 y
  1473. ; Initialize session on request startup.
    ' @" f( I( t7 _3 I0 u8 D
  1474. ; http://php.net/session.auto-start
      l8 I9 l: Q  H- L! B
  1475. session.auto_start = 0
    ( S  I3 ^" V3 r. P- Z1 R$ C- C8 F

  1476. . A8 s+ I7 b# d
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.6 m: j2 [' B2 A4 x4 r. K1 Y5 V
  1478. ; http://php.net/session.cookie-lifetime
    % B5 x2 U7 [4 Z" j( D
  1479. session.cookie_lifetime = 0
    - p) u. d# x8 `1 \9 r

  1480. ! `$ \/ j3 S. k) `' R
  1481. ; The path for which the cookie is valid.
    , J. V" I& M4 j. a
  1482. ; http://php.net/session.cookie-path
    . p" f, A9 }9 C; m* F; O$ k
  1483. session.cookie_path = /
    & A! ~$ v5 K4 |6 h) R
  1484. 0 H/ Q& X9 e5 i
  1485. ; The domain for which the cookie is valid.6 R; h$ D8 _$ _7 l7 k
  1486. ; http://php.net/session.cookie-domain
    : B+ f2 N  B( w! P
  1487. session.cookie_domain =
    ' W- r& j1 |. g5 T1 ~5 I

  1488. # I0 b, S7 ]- [; ]2 t: K, `
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript./ V  o: a* G5 X5 w4 Q9 e' X& i( N: a+ X
  1490. ; http://php.net/session.cookie-httponly, m# G+ M7 f- i- I- ~* z, R5 [
  1491. session.cookie_httponly =
    : A4 M, A" C* N; Z6 `# z, a2 O

  1492. " P" a1 M3 e0 Z
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    $ P) ~: @3 k0 L1 K- J5 H
  1494. ; http://php.net/session.serialize-handler6 Y, f- E/ f: }2 p
  1495. session.serialize_handler = php  q' S; {* q2 e
  1496. : w; _1 A5 n0 ?' j# }
  1497. ; Defines the probability that the 'garbage collection' process is started5 C: T/ \8 C  O! c
  1498. ; on every session initialization. The probability is calculated by using' _& S$ W; P; A2 _( u+ M" b% v
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ( B2 X. v  o! K( G+ }
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1" G# \, P7 g- J; V/ N
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " `, y* `$ `9 }! O* E1 H$ a3 f2 I
  1502. ; the gc will run on any give request.% M/ p" k. _" t$ T1 C) i( P! b
  1503. ; Default Value: 1
    + N) j- G/ M) e$ X& o8 y
  1504. ; Development Value: 1' e0 |: M" O. c: a
  1505. ; Production Value: 1
    * D! i2 g% I& F9 {1 X( G
  1506. ; http://php.net/session.gc-probability9 O, \; ]8 _! a# H% k- p* X
  1507. session.gc_probability = 18 {7 h7 Q. ]' j" G0 ^

  1508. 1 k8 V3 a; O" V6 p
  1509. ; Defines the probability that the 'garbage collection' process is started on every1 x, N4 P- Z, A+ w: u& R- k$ A  U
  1510. ; session initialization. The probability is calculated by using the following equation:' z, A  A* l1 f/ ~0 f9 p( W# G4 X
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and6 v1 b$ M0 f8 ^; w4 T5 r
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    , t4 k, o' t' q" G2 v7 Z( `
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance3 D  M/ |# Z, R$ {) F7 @# j3 U! u
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you! W1 H8 S3 B4 E* F; A
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    * S8 r" _+ _# b! j4 F! T; _( ^
  1516. ; this is a more efficient approach./ ?- m, ~9 Q6 d$ u9 b
  1517. ; Default Value: 100( Q' ]( P$ L% ?& h- `: e
  1518. ; Development Value: 1000
    * t8 h1 L- T: W! M! u- B( U, [
  1519. ; Production Value: 1000
    + L8 ?  F3 T# K( Q
  1520. ; http://php.net/session.gc-divisor
    # M  r+ N0 o1 j" P- T
  1521. session.gc_divisor = 1000
    $ _9 y& ^; _& w. G+ Z; m
  1522. ! V. e/ N  }) f+ g
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and$ o5 g4 w# W$ j! A" ~
  1524. ; cleaned up by the garbage collection process.7 N, J' A3 M. {6 ]
  1525. ; http://php.net/session.gc-maxlifetime1 e: ]  i" K% I
  1526. session.gc_maxlifetime = 1440: a3 a' O$ |2 ~7 ~% ?
  1527. ; X* s9 Y/ j+ t- Y
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    0 [% Z1 B1 `+ E. l$ B. m! U& j" J$ c9 o
  1529. ;       (see session.save_path above), then garbage collection does *not*/ V9 @) }" r7 {/ ]6 f8 g
  1530. ;       happen automatically.  You will need to do your own garbage* o! y+ _: v8 {$ a. y$ Q# b
  1531. ;       collection through a shell script, cron entry, or some other method.
    2 @% I4 Q2 p) F$ |+ L* `
  1532. ;       For example, the following script would is the equivalent of! L8 e; |4 t, V5 o( z2 F
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    8 _$ C, Y4 O" q* e7 \; j; X
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm/ f( ^% b; w7 V6 f

  1535. ( ~3 [* v0 d/ x
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.& M4 r3 X- G/ {, N5 Y
  1537. ; HTTP_REFERER has to contain this substring for the session to be4 R; o- F+ {  W" |8 X: p$ e
  1538. ; considered as valid.
      h9 f, J, ]4 U( @7 d- ~% J8 I" b
  1539. ; http://php.net/session.referer-check
    & B4 a$ C4 N$ o, ~( m/ c. a
  1540. session.referer_check =
    + s# i) }4 Q2 ]3 w5 c8 h. }
  1541. 6 k' P  y0 k* e, P% G
  1542. ; How many bytes to read from the file.
    + \7 R9 s3 p' J" z, u% ~
  1543. ; http://php.net/session.entropy-length# |& m6 t/ Z  ?! U- {+ H7 y! _. q
  1544. ;session.entropy_length = 32+ O& Q2 R+ _5 _0 d3 P: \# T
  1545. - a9 t* l' Y6 @$ y) w( u& O% u
  1546. ; Specified here to create the session id.
    , C' o; B9 L8 ^9 E
  1547. ; http://php.net/session.entropy-file* @4 w# m4 D, P3 k/ [* Z( B+ R
  1548. ; Defaults to /dev/urandom
    2 f, f0 t2 V9 \3 ^4 r7 K% i! n
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    : f, x" K, h. `7 T; ^3 S
  1550. ; If neither are found at compile time, the default is no entropy file." S% I- X3 X* |' s5 h/ Z# p# Q' K8 z
  1551. ; On windows, setting the entropy_length setting will activate the: [# V0 _6 w  x0 ^: x
  1552. ; Windows random source (using the CryptoAPI)7 D1 p4 e. T  U& j7 s6 B
  1553. ;session.entropy_file = /dev/urandom
    ( _  ?8 D3 r# B5 S  O9 [) \

  1554. 6 n3 g# E0 o' J+ E. K3 q
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    2 Q0 n' I. z1 v4 l* k( S
  1556. ; or leave this empty to avoid sending anti-caching headers.& ]) Q5 V/ M, p7 Q3 L/ `9 L6 v
  1557. ; http://php.net/session.cache-limiter7 q: A* o9 J+ l  D& n5 j' f
  1558. session.cache_limiter = nocache
    # y8 k% K# s6 O% s- S* h5 z7 j8 _0 A
  1559. 5 e  V2 E+ y, c9 l! G+ C: e& z
  1560. ; Document expires after n minutes.
    - a: V; ?+ d- y% A
  1561. ; http://php.net/session.cache-expire# i- c6 B5 s  f" R, k% W
  1562. session.cache_expire = 180
    2 Q1 v: `4 L! N4 {1 P

  1563. ' ]+ @$ s% W$ K$ a
  1564. ; trans sid support is disabled by default.  _* A9 I% q' w  k+ x) t
  1565. ; Use of trans sid may risk your users' security.' [- j6 Z* D4 T# q6 G8 U) j% p
  1566. ; Use this option with caution.9 x# M" F" _- d; u
  1567. ; - User may send URL contains active session ID
    ' ^2 Y$ @6 R, U0 M$ U" I- ?
  1568. ;   to other person via. email/irc/etc.
    + f' N* y( O- w6 Q) T1 z
  1569. ; - URL that contains active session ID may be stored
    / \5 P1 ~. K2 U  s2 x
  1570. ;   in publicly accessible computer.5 l1 D$ r1 d: m% S
  1571. ; - User may access your site with the same session ID7 ~) g2 F4 }3 l# v9 |
  1572. ;   always using URL stored in browser's history or bookmarks.1 W" Q# P+ Q/ X
  1573. ; http://php.net/session.use-trans-sid
    $ j& f; ^- C  _0 b: c* f
  1574. session.use_trans_sid = 06 ]" Q8 B. t2 A1 o! B) l% {
  1575. , n% f& I1 Y) G
  1576. ; Select a hash function for use in generating session ids.* Z6 t, i/ n  [+ L
  1577. ; Possible Values
    9 ?3 S4 C2 Z) I
  1578. ;   0  (MD5 128 bits)' ^& h5 A5 d& \( r! x* L. T4 z
  1579. ;   1  (SHA-1 160 bits)9 Y/ n/ _- C/ t& n4 b4 B% |- K
  1580. ; This option may also be set to the name of any hash function supported by' ?9 a  d  I5 p
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    * v6 b- K* H* i& `
  1582. ; function.  U5 s8 v+ n4 L' x: g
  1583. ; http://php.net/session.hash-function$ T, _3 j# c* }, Q8 N
  1584. session.hash_function = 0
    9 D$ E2 ^$ L' L5 K

  1585. ; Z/ [% T2 w2 A6 l
  1586. ; Define how many bits are stored in each character when converting* K; U. {; t  G! N
  1587. ; the binary hash data to something readable.
    7 |7 L! \, J: P$ a' o5 f+ R; Q5 g$ L0 \# Y
  1588. ; Possible values:
    7 E4 Y+ }$ z/ g0 w
  1589. ;   4  (4 bits: 0-9, a-f)
    + w  ]* V" t: t4 g
  1590. ;   5  (5 bits: 0-9, a-v)
    ) [  B$ W7 I3 \1 S
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")/ Y! l$ ~$ H# X3 C6 L
  1592. ; Default Value: 4
    : ?" c* i% ]% b( j
  1593. ; Development Value: 5
    2 Z8 C6 b0 {" A0 j2 v6 n% B; A- R8 ^( O
  1594. ; Production Value: 5
    7 o" C5 b6 w7 k) Z( d! j. q  Z  U
  1595. ; http://php.net/session.hash-bits-per-character
    7 Z5 I1 A; Z& c! b; h7 ?
  1596. session.hash_bits_per_character = 5) r) _# W* r5 n/ W- |

  1597. : B8 m, ]3 m8 N2 B
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    7 a3 L3 P# B: q
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    # P6 d2 t1 T$ e: q6 P. Y% z6 K
  1600. ; add a hidden <input> field with the info which is otherwise appended/ n* \' W: W: c+ |! c0 j
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    8 @6 X2 s' N: A! n0 q/ j! U
  1602. ; Note that all valid entries require a "=", even if no value follows.3 R  S" G/ M% d
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    2 ]3 I2 K: W7 g0 o( b/ |' r. T
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 _1 g$ y* y) \0 K
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 a9 v  B8 M) h% x/ P: b
  1606. ; http://php.net/url-rewriter.tags
    + q0 I) V: N5 Y$ F/ g
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"6 P' _1 q: E7 ~$ N' Q  i3 ]$ q
  1608. # T' _4 q$ d+ R) X8 R: P7 G# L# D
  1609. ; Enable upload progress tracking in $_SESSION
    ! x2 ?1 b, X; f' f* }4 l: H% i
  1610. ; Default Value: On* r, D% m( [; O6 l
  1611. ; Development Value: On6 v4 p# V. g" P+ j3 N( P
  1612. ; Production Value: On# B' h* E/ S0 W  J; R' w
  1613. ; http://php.net/session.upload-progress.enabled
    , J! V- J$ r0 y3 K9 x- G- G# Z0 P; }
  1614. ;session.upload_progress.enabled = On! E9 |$ m5 E2 k8 x& A8 x: Z

  1615. " k6 w4 L8 A& Y' N. B& L4 c9 }
  1616. ; Cleanup the progress information as soon as all POST data has been read
    " x" y/ d/ ^6 @1 C: T
  1617. ; (i.e. upload completed).# V6 C2 j7 u9 X* G/ x7 j
  1618. ; Default Value: On
    4 I' @  K# }5 Y9 U( A
  1619. ; Development Value: On) S! e5 ?7 w) Z% k& @3 h
  1620. ; Production Value: On0 ^. S4 _/ P+ ^* [: H( o
  1621. ; http://php.net/session.upload-progress.cleanup3 l' U* E% E, s8 K6 J2 h5 S
  1622. ;session.upload_progress.cleanup = On, D0 z( V- L  i8 O0 G

  1623. 3 x" t! K+ o1 T. x
  1624. ; A prefix used for the upload progress key in $_SESSION& ^! y1 H# {" V- x+ n+ r
  1625. ; Default Value: "upload_progress_"
    5 F5 t: G' y, o; p4 k
  1626. ; Development Value: "upload_progress_") }7 y% M  a; p  M
  1627. ; Production Value: "upload_progress_": H/ J9 e8 Y4 b1 y- d+ K3 ~* |" v# H
  1628. ; http://php.net/session.upload-progress.prefix1 E1 i  l7 Z2 z; o" v5 Y- U
  1629. ;session.upload_progress.prefix = "upload_progress_"' c3 u8 n2 B0 O2 O5 h
  1630. * R, G0 l2 J+ O4 R& }6 l/ T7 w
  1631. ; The index name (concatenated with the prefix) in $_SESSION1 R! Q% H" r/ ^: z
  1632. ; containing the upload progress information
    0 r2 x1 D: q5 f& H& u5 h2 Y
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"/ O- x5 a$ H) z/ c8 l& U
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; d/ [0 o' X; I. {9 L' A0 [
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"5 m- Y4 k: }  |0 a8 g3 Z
  1636. ; http://php.net/session.upload-progress.name
    ( s( U5 v6 R1 ?( f0 Z4 }2 @
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"/ D0 M* }  o3 f. u

  1638. ( m$ E- Q: z! _; ~4 o; ~! E; _" h
  1639. ; How frequently the upload progress should be updated.
    $ v3 T* F1 M8 ]/ e, F9 W. x7 D
  1640. ; Given either in percentages (per-file), or in bytes
    % F; K; ~! p, d% M# b% _1 y/ c" U
  1641. ; Default Value: "1%"
    % ]" d8 m3 u8 @0 {
  1642. ; Development Value: "1%"
    9 P! |( a& Y; b8 p7 l
  1643. ; Production Value: "1%"* F6 B5 U8 h) J2 n- M
  1644. ; http://php.net/session.upload-progress.freq
    6 i3 x$ H# g" }, i& k& S
  1645. ;session.upload_progress.freq =  "1%"( w6 N8 G2 @/ X" B
  1646. % R" h3 `  j& y  I4 x% M
  1647. ; The minimum delay between updates, in seconds& a, h! R$ I- g
  1648. ; Default Value: 1
    : z, B* W9 v& O
  1649. ; Development Value: 1  K4 g6 b9 j9 M, t/ G& F+ W& y
  1650. ; Production Value: 1- r- G' D# Y# R. `  K4 ]
  1651. ; http://php.net/session.upload-progress.min-freq+ r4 i3 M- _7 n9 Y+ A
  1652. ;session.upload_progress.min_freq = "1"
    1 c/ l1 m- a/ H9 p# n; s
  1653. . o3 g% Z7 ~7 R1 H
  1654. [MSSQL]; T/ t, A% W# \! ]+ ^( k" W
  1655. ; Allow or prevent persistent links.
    9 B; I; ?  `* R7 c' g, `
  1656. mssql.allow_persistent = On
    " \/ {. W) Y0 J8 U
  1657. 4 L3 N, X, E+ S
  1658. ; Maximum number of persistent links.  -1 means no limit.1 {! e' l( m, n
  1659. mssql.max_persistent = -1; a) j9 i2 h9 v- n9 M" E2 _

  1660. 8 s7 y9 R9 A  Z$ P+ x5 H
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    - W0 H3 h. K( u' c# z( p8 @
  1662. mssql.max_links = -1
    & E9 d$ I& E7 a

  1663. 0 P2 _' `5 I3 |; K% a$ D% n
  1664. ; Minimum error severity to display." t- O6 |4 n5 c
  1665. mssql.min_error_severity = 10; B$ I+ Z8 Z+ u5 \9 }% ~! C* i" \

  1666. 0 k1 m" \9 D' ]- w% l# _
  1667. ; Minimum message severity to display.
    ) n& Y% D5 k1 Z& u
  1668. mssql.min_message_severity = 10" K7 }/ i6 k9 s4 y  I5 z
  1669. 5 [! D. ^) ?' E. a8 V) L! @& \$ D
  1670. ; Compatibility mode with old versions of PHP 3.0.
    / |5 C' ]( j5 U6 d
  1671. mssql.compatibility_mode = Off
    9 Q& N# `* o% d2 G1 Y6 l
  1672. / }# L2 {) w! f/ H0 V/ z! A
  1673. ; Connect timeout7 q4 e/ q- t+ e$ ]8 w* f1 F
  1674. ;mssql.connect_timeout = 5
    0 R6 B) k$ M) z- l! C4 e% B: e) R8 c

  1675. ( m: w' d& m7 R) e) [
  1676. ; Query timeout
    3 @7 b5 j0 B' M9 j8 r6 C# W+ P, d
  1677. ;mssql.timeout = 60+ h% y& Z3 q. V
  1678. 6 W" a2 Y- a/ B" \$ V7 h, l
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    7 P6 G* N% ^3 U% {) p4 C8 M' U
  1680. ;mssql.textlimit = 4096
    8 l3 w, a$ _6 s
  1681. $ y/ ^, W2 a: H0 Z& x2 E0 l* c% o6 {
  1682. ; Valid range 0 - 2147483647.  Default = 4096.* Q, ]8 j- r, z% o& U; U
  1683. ;mssql.textsize = 4096. O# i' `, x( V  X3 G2 W
  1684. 4 R( Q2 x% I! H. E
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    $ R  E' n! I2 T3 V1 L# {
  1686. ;mssql.batchsize = 0
    , ]+ D0 I& l8 V8 I* L0 q7 n' v

  1687. $ R+ t4 ^9 v( e3 U) [6 ~; y
  1688. ; Specify how datetime and datetim4 columns are returned
    $ ?! G+ f' s9 T! ], p
  1689. ; On => Returns data converted to SQL server settings$ @3 m0 ^4 K8 Q9 h7 y
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss$ J  ~) N5 w! o& B- P- @: S' U
  1691. ;mssql.datetimeconvert = On' q' B5 Z0 V' D
  1692. 1 `2 H$ S* D6 m4 y
  1693. ; Use NT authentication when connecting to the server+ v, Q- U1 V* J+ a3 r6 q6 X5 w& E
  1694. mssql.secure_connection = Off: i  b4 ~. A2 m7 g6 L7 P
  1695. $ T; b% g1 ~0 Q) K
  1696. ; Specify max number of processes. -1 = library default
    + r7 l' U) F4 O5 d6 a& ]3 c
  1697. ; msdlib defaults to 25: R. c+ \: r, d/ D
  1698. ; FreeTDS defaults to 4096
    ) t, _8 F  L- c* u1 m: n. K! P
  1699. ;mssql.max_procs = -1- E: U0 T/ D' l
  1700. 2 U( c$ @! v  z  Y2 b
  1701. ; Specify client character set.4 o9 O, g0 V* ~; |  p
  1702. ; If empty or not set the client charset from freetds.conf is used
      j8 }! n" T4 h7 V
  1703. ; This is only used when compiled with FreeTDS4 Z" I) j. V( L; z* X
  1704. ;mssql.charset = "ISO-8859-1"& i' Z% k0 v# j0 x7 }

  1705. 2 W8 y' B" ?  t8 ]
  1706. [Assertion]
      |# L+ t6 O8 p7 y9 x
  1707. ; Assert(expr); active by default.
    ) [( P- N1 I: y  B# O9 b
  1708. ; http://php.net/assert.active
    3 v* `% ]. C7 Z$ v2 G: q) w
  1709. ;assert.active = On9 o- `, @; _! ~

  1710. - r" k2 P5 Z, j8 e
  1711. ; Issue a PHP warning for each failed assertion.# ?. o& i  s9 A9 f! x
  1712. ; http://php.net/assert.warning6 Z1 c/ _! p' n! Z6 q$ g
  1713. ;assert.warning = On# s+ a5 m. e) ?7 c! Z

  1714. / l# W% n% q6 U1 N" j! y6 C
  1715. ; Don't bail out by default.+ ?, `8 b1 }: }1 F. F5 [9 m
  1716. ; http://php.net/assert.bail
    % d0 x% \2 X! E, ~; A
  1717. ;assert.bail = Off! Q/ F7 M# r3 F; S, t- K! I

  1718. ! S1 u: p$ B- |) ~+ N4 f4 P! z
  1719. ; User-function to be called if an assertion fails.
    9 r3 a( z, q9 H% [2 U& ]4 A) F: N
  1720. ; http://php.net/assert.callback
    / F: _5 `' T" ~% ?
  1721. ;assert.callback = 0( L# o$ X4 v. Z: h+ n& B+ R
  1722. 1 |3 S$ e! P  B: a: s/ c
  1723. ; Eval the expression with current error_reporting().  Set to true if you want" t1 M; G3 Q$ ]4 E
  1724. ; error_reporting(0) around the eval().
    : Y0 F  E+ E5 Z) s
  1725. ; http://php.net/assert.quiet-eval
    , d6 \; m" k1 \4 n
  1726. ;assert.quiet_eval = 0
    2 a: g- m( f3 `$ [. r# C+ a

  1727. ' b( N0 F3 O4 B; S
  1728. [COM]
    6 x5 {( j$ z% l2 H' T* I
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    # {( {; M# I$ l' Q. @6 S) M7 Q
  1730. ; http://php.net/com.typelib-file
    * j! T& E& Z. W$ L! c* J; k0 @
  1731. ;com.typelib_file =: v5 x0 h' M: E

  1732. , Y, A0 n2 s: n2 b" I& L
  1733. ; allow Distributed-COM calls
    % U# Y8 j3 t3 e' k
  1734. ; http://php.net/com.allow-dcom
    , P" n( v2 |& [) F% q
  1735. ;com.allow_dcom = true
    1 [8 `+ P2 ]: z/ p
  1736. ) @" b  a, J2 s7 x/ _2 r% \
  1737. ; autoregister constants of a components typlib on com_load()
    - d; \( t6 v: k  e# M
  1738. ; http://php.net/com.autoregister-typelib
    * I7 Z% a; \) H& y7 J
  1739. ;com.autoregister_typelib = true9 U8 Z+ u: [% U0 [
  1740. * R% R- k' P! W6 A
  1741. ; register constants casesensitive7 G* s: ^, i9 D/ J2 t. ~
  1742. ; http://php.net/com.autoregister-casesensitive. o/ p& I' H$ {7 i% g. h3 V
  1743. ;com.autoregister_casesensitive = false  N4 w- s1 Q( \. ~7 k# l7 N* P+ O
  1744. 3 Z2 Y! ?/ t, b) A0 A- k) C# Q0 r$ y: F
  1745. ; show warnings on duplicate constant registrations
    / o0 g3 Y1 `4 C
  1746. ; http://php.net/com.autoregister-verbose
    / Q5 {9 i; F4 G. ^0 z7 X! P
  1747. ;com.autoregister_verbose = true
    - c% _. d5 ~* P# ]

  1748. - B0 ]! W% }6 E& x  E# G6 }3 Z
  1749. ; The default character set code-page to use when passing strings to and from COM objects.% K+ g( J9 P# r( e( s+ P) e2 F0 N
  1750. ; Default: system ANSI code page
    $ H' M2 S7 D% C
  1751. ;com.code_page=+ k3 V' j7 B6 F4 u. b" t2 K

  1752. ) f! `2 c: g! }$ I0 k! o
  1753. [mbstring]
    ) X. S2 c3 O% P/ ^( H. Y
  1754. ; language for internal character representation.
    0 w3 x9 u! z8 ^' n6 x
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    4 i& ^- a7 Q/ d9 ^3 C
  1756. ; http://php.net/mbstring.language
    4 c' k6 Y2 k" D
  1757. ;mbstring.language = Japanese
    $ C, H. \: |% \# N' Q$ i
  1758. 9 V; o% [8 t& F. w& o% J# N0 C
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    & K* Q% t+ M0 J: u; Y; D: T
  1760. ; internal/script encoding.: a+ B) O! `+ R4 b. T6 g
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    % _0 r# d% R0 C5 U% r# B6 [
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.2 L& h& b" [8 S5 r, Q- x
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding, l" R5 j# A! Q6 A* I
  1764. ;mbstring.internal_encoding =- X9 o  f- n: @* \3 V) j
  1765. 2 b3 ^4 ~! l! E5 D
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.  x( r8 h3 a1 C
  1767. ; http input encoding.
    ' T9 |9 N! W1 n  a* g1 R
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.: @/ d$ }3 M% J. w* ^, |8 i
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used., S# c" `* q, ]9 G- G$ K
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    : ~0 u1 ?& ?  T5 N. x
  1771. ; http://php.net/mbstring.http-input
    ' p4 T; g3 a/ c- n  V
  1772. ;mbstring.http_input =
    ; H( t( m$ E3 Y8 H: p; b+ e

  1773. ( Q1 \) P- D7 @: g: R3 I
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.' |) c+ j$ h& s$ [8 D8 d, l
  1775. ; http output encoding.' _4 f  \0 c: Q9 N: S& z
  1776. ; mb_output_handler must be registered as output buffer to function.
    ! T. s* C1 D4 ^, n2 |
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    : ^$ e( g9 {. d% S* U5 @. ]) `/ y
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output3 |; }8 [' P  R5 x/ T# W( ]- s
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    $ y( l2 ~9 V) V* O, A; N4 ^4 }
  1780. ; otherwise output encoding conversion cannot be performed.+ W; T$ @! s! b
  1781. ; http://php.net/mbstring.http-output- W% H* y: b5 K
  1782. ;mbstring.http_output =3 ^# K# F' j" j" Y! b' h

  1783. - B2 }6 b- R- |2 B6 ?0 O
  1784. ; enable automatic encoding translation according to$ W( u" ~3 P) t* n9 e
  1785. ; mbstring.internal_encoding setting. Input chars are$ L0 a! r  z4 `: O( |9 h
  1786. ; converted to internal encoding by setting this to On.* U$ P: X& s/ b7 x
  1787. ; Note: Do _not_ use automatic encoding translation for, H$ p9 I  V  l4 v: z' U* h
  1788. ;       portable libs/applications.
    2 d: L2 b0 G  W2 V
  1789. ; http://php.net/mbstring.encoding-translation
    : N  t1 F* {' l$ f
  1790. ;mbstring.encoding_translation = Off
    & u5 b$ E( B; P1 w/ w6 q, P

  1791. 3 R0 I7 ]9 ?0 S& j: E0 }
  1792. ; automatic encoding detection order.
    + j2 R; B5 s2 H6 a# R3 H% A. N
  1793. ; "auto" detect order is changed according to mbstring.language( ]+ a; I9 b$ f, d' K
  1794. ; http://php.net/mbstring.detect-order
    # C2 |, K. P2 b9 ]6 V. T
  1795. ;mbstring.detect_order = auto
    4 v: l, H2 F+ p/ D" G: ?
  1796. ) v) _& e9 t  N
  1797. ; substitute_character used when character cannot be converted* w' w* E, ]; d/ C/ |
  1798. ; one from another
    $ T% `7 T) Y5 u
  1799. ; http://php.net/mbstring.substitute-character
    8 f( J& W6 n: M' g
  1800. ;mbstring.substitute_character = none7 w" J' y& d! K6 p5 _
  1801. 2 b3 {# k/ C* F4 y
  1802. ; overload(replace) single byte functions by mbstring functions.
    ) o: M0 ], `5 ~. Y
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),& l* @- B8 z- d4 w6 {( Q3 y
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.5 z( Z/ ]' y# N! d1 g, U1 I
  1805. ; For example, 7 for overload everything.
    ) B0 @# r8 Y! ?; W7 C( z
  1806. ; 0: No overload% O! [, J  T# ^
  1807. ; 1: Overload mail() function
    . n$ P3 n) _' Y' Y6 t: }* ^
  1808. ; 2: Overload str*() functions
    ) O/ X' E4 m9 R. t# f3 M" y# u
  1809. ; 4: Overload ereg*() functions" [+ @4 O5 ]' a
  1810. ; http://php.net/mbstring.func-overload
    , E9 S. u/ c! Y+ y# K
  1811. ;mbstring.func_overload = 0
    ' c: z; r3 ~; s/ _4 P4 _0 K) U

  1812. ) x. f# X( B, m! e
  1813. ; enable strict encoding detection.
    : |/ P/ _# u, z- {- N* o
  1814. ; Default: Off
    4 T0 @. E# j: B3 `# q/ L
  1815. ;mbstring.strict_detection = On
    & R& _7 k1 {( p" ^* y. H

  1816. & n0 W! `4 G6 j/ g, E4 A
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()+ q+ M5 j0 Q% I8 G# B* u* L
  1818. ; is activated.9 A: R3 O/ _9 p4 y. b# W- G6 o, w
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    - h; U0 ]; e5 a3 E, r1 K$ }! X
  1820. ;mbstring.http_output_conv_mimetype=, h! n) D) ?6 C0 a

  1821. 3 B5 s5 j6 R0 U
  1822. [gd]
    ! a) [- C( i/ X) S; D
  1823. ; Tell the jpeg decode to ignore warnings and try to create* h2 [" F+ u% t0 ~; h
  1824. ; a gd image. The warning will then be displayed as notices+ I3 N2 l: h2 ^3 l( n+ ?
  1825. ; disabled by default+ S' M. Z, s$ t* K( e0 B4 v! s/ c$ ]
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ; r$ O2 a0 ^# F
  1827. ;gd.jpeg_ignore_warning = 06 j; ?- [* g5 k+ H8 O! W5 ?4 u! r

  1828. 0 n9 s. }, M  ]4 ?, h4 ^
  1829. [exif]: X2 A9 i% B7 Z2 [2 ?) H
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.9 n2 Y  ^! g, N+ u$ \
  1831. ; With mbstring support this will automatically be converted into the encoding9 ?$ p  g1 n& q4 Y0 t
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    9 J% y7 U3 t" Z0 M
  1833. ; is used. For the decode settings you can distinguish between motorola and
    - r3 \8 P, w$ R5 ^$ `3 e2 Q
  1834. ; intel byte order. A decode setting cannot be empty.
    % P* L# `0 b. a$ Z$ b. J2 q
  1835. ; http://php.net/exif.encode-unicode+ i' j% V% t( H' b9 Q& |
  1836. ;exif.encode_unicode = ISO-8859-15
    # Y9 ^4 B* k" L
  1837. - o8 Z3 P* E/ w
  1838. ; http://php.net/exif.decode-unicode-motorola
    ! w- M; z" w3 G8 Z8 D& O
  1839. ;exif.decode_unicode_motorola = UCS-2BE  B- C& o! X4 ~3 v. [# a  j: L

  1840. 3 }& N- M4 _; ?3 Y/ u% F4 z& T
  1841. ; http://php.net/exif.decode-unicode-intel
    7 z( y  T+ N' v2 K2 o
  1842. ;exif.decode_unicode_intel    = UCS-2LE2 Y: p# o1 O- z- T0 h0 Q

  1843. 0 m1 L* `; C9 e3 n
  1844. ; http://php.net/exif.encode-jis/ _3 X: V/ L1 x9 Y
  1845. ;exif.encode_jis =1 x4 I$ [- M: z6 Q# U! g
  1846. " j) j! p+ n: [5 ~% P
  1847. ; http://php.net/exif.decode-jis-motorola
    # Z# f* M+ g' g' A( o. |) g
  1848. ;exif.decode_jis_motorola = JIS- r- |" }/ c2 Y: g' v9 _
  1849. ( ~$ ?8 Y& s  \2 Y5 q) f
  1850. ; http://php.net/exif.decode-jis-intel
    - b3 x1 Q6 y- n
  1851. ;exif.decode_jis_intel    = JIS
    & r' m( ?% s* C  _
  1852. 6 P7 V7 n+ U+ }
  1853. [Tidy]5 j" t: D/ e# p; K6 ^* y# i+ z
  1854. ; The path to a default tidy configuration file to use when using tidy. F6 K: Z$ b& W6 J* y8 T
  1855. ; http://php.net/tidy.default-config
    7 X6 l2 k! N  M" d2 t
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg: f' |9 M# ^7 l/ P2 M' v

  1857. ( {. ~% a0 k* c+ T; d$ w- l$ ?( v5 f
  1858. ; Should tidy clean and repair output automatically?! k1 B% r( I3 G9 K% Y+ J& C: x
  1859. ; WARNING: Do not use this option if you are generating non-html content
    1 Y7 @2 h6 j9 t: e  P
  1860. ; such as dynamic images
    . I  E" X' f$ [2 @3 E0 h
  1861. ; http://php.net/tidy.clean-output
    3 v3 a! s" d; b: s/ c0 f5 q
  1862. tidy.clean_output = Off
    0 V& B2 p2 m4 {7 @, h
  1863. : U$ X2 |: t% A* H
  1864. [soap]
    / r% c9 s. @- R# M
  1865. ; Enables or disables WSDL caching feature.' n5 v( l+ Y$ i6 y4 u: v
  1866. ; http://php.net/soap.wsdl-cache-enabled
    / [" H" u1 r9 S0 q( G$ n" V1 P9 w
  1867. soap.wsdl_cache_enabled=1
    6 V9 _% B& K5 A1 p

  1868. $ z4 k; i' g2 c1 i6 `
  1869. ; Sets the directory name where SOAP extension will put cache files., u7 s, R7 p% j9 t
  1870. ; http://php.net/soap.wsdl-cache-dir% L- M% _4 Q* Q1 c: d3 K7 `
  1871. soap.wsdl_cache_dir="/tmp"7 `/ K9 ~" D. {. \9 v) y

  1872. ( H! {$ A6 |: _2 [
  1873. ; (time to live) Sets the number of second while cached file will be used
    ! l7 M+ i- ~$ C
  1874. ; instead of original one.: \/ o; @+ c& _* Z
  1875. ; http://php.net/soap.wsdl-cache-ttl
    5 l- f' v3 }5 y- O) A" r. M6 S
  1876. soap.wsdl_cache_ttl=86400
    & X4 ~8 S' v+ V  V2 Q8 \

  1877. 9 m1 i- U/ ]; \
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)2 x; e1 w* r( v4 q6 |
  1879. soap.wsdl_cache_limit = 57 |  Z8 R9 q" l. K2 R) b
  1880. ) N( @: C# b% F! l4 M6 z3 U9 R& _
  1881. [sysvshm]  F, t' v- B. n/ }3 d0 b- u
  1882. ; A default size of the shared memory segment2 v/ X: R5 `$ E* }- d% ~
  1883. ;sysvshm.init_mem = 10000
    ' o2 C6 G3 N3 o$ |2 k, ?* b* N
  1884. 9 C& g- U. d1 i
  1885. [ldap]4 V6 g- ?+ m9 E, \
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    . P2 D+ v$ v& f# g# D: n
  1887. ldap.max_links = -1
    7 s0 v  {( o& F& z0 [. X, G
  1888. * e/ {+ ^, X3 R# n  p- _
  1889. [mcrypt]
    ! G' |! {* U' g0 t
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    , j: J' l1 n9 i3 N  a
  1891. + {. o* d) O* f& r+ e) }
  1892. ; Directory where to load mcrypt algorithms
    5 i/ D& x' O& J% ~* f# T
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    # H- z6 O) _* |0 R9 G
  1894. ;mcrypt.algorithms_dir=+ _4 B& d! c9 S" R

  1895. $ z* V  @0 L' ~. [$ e
  1896. ; Directory where to load mcrypt modes6 U( W" U5 e. |# V! L  }
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)% N* x6 S) f* `! D+ o  Z0 o
  1898. ;mcrypt.modes_dir=
    5 x4 k/ B* V- A( e2 S3 G7 y- A6 w
  1899. ( T" ~. e! T, h3 n8 v
  1900. [dba]
    ; V4 ~. u% J) e4 i" z
  1901. ;dba.default_handler=" W) ~" t% j2 u& T, \, s; `# V8 A5 f
  1902. 1 g6 Z2 \% O8 I( r5 T
  1903. [opcache]& J- h; _2 W: Q8 @( b3 x0 O
  1904. ; Determines if Zend OPCache is enabled
    & N- g1 z6 H0 {  O9 l: {( ]
  1905. ;opcache.enable=0
    / z- q" I: r) j
  1906. 3 c/ b" v: u% ^2 o
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    . A! r6 t' K  _! d) E' z+ Z+ s
  1908. ;opcache.enable_cli=0
    / w- M8 L* O7 w! ?5 ]

  1909. % H, p4 W' n- Q% w/ b. I/ _
  1910. ; The OPcache shared memory storage size.. ~' Q% m. y4 r5 B
  1911. ;opcache.memory_consumption=64
    ' H, }( _3 i! B
  1912. 1 K' X6 v) q. A3 n& A5 d
  1913. ; The amount of memory for interned strings in Mbytes.
    + E# N( v6 y/ V5 z& A% O
  1914. ;opcache.interned_strings_buffer=4
    4 b1 ~1 v/ W$ S5 c4 A/ A6 i, ^% G/ u

  1915. 5 O! ]! t5 k& c  d+ X" W! c
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    ' h8 p0 V  o9 T2 }
  1917. ; Only numbers between 200 and 100000 are allowed.
    3 w9 q2 y0 L1 g+ J4 l2 ?& M
  1918. ;opcache.max_accelerated_files=2000
    % u% Q3 N' U/ E" x

  1919. 0 \7 E0 Z/ w9 [% q( \
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
      [% M& b( l& l8 p, K
  1921. ;opcache.max_wasted_percentage=5
    : ?" E0 O7 o3 t+ o) C

  1922.   C* @6 z5 `2 q4 \% F1 g
  1923. ; When this directive is enabled, the OPcache appends the current working
    0 x: a. Z, w9 ]$ k/ _3 v+ h3 s
  1924. ; directory to the script key, thus eliminating possible collisions between
    , O8 V( [! f( H9 @+ E
  1925. ; files with the same name (basename). Disabling the directive improves
    : C" t7 K4 q) p: |( ~0 o' d
  1926. ; performance, but may break existing applications.
    , c9 G' t$ o3 c* s, _6 }# g
  1927. ;opcache.use_cwd=1
    1 x( r6 _5 f4 h% f6 x
  1928. : B' Y# n2 M" D9 {& _8 Y# s1 C
  1929. ; When disabled, you must reset the OPcache manually or restart the
    . q* Z/ A! \6 A
  1930. ; webserver for changes to the filesystem to take effect.
    0 b  T' _' \7 I; A
  1931. ;opcache.validate_timestamps=1
    4 K2 G. L3 i! y% Q" Z4 J

  1932. ( z/ m9 d* w5 ^1 B
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    . P5 ^* H+ C# \- Z# B
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    # O+ I; P$ @( }) e
  1935. ; once per request. "0" means always validate)3 `6 |: H& V3 r5 a- R
  1936. ;opcache.revalidate_freq=2
    # o+ m/ i' J* j) Z: p( A$ T
  1937. 3 p% y7 w* E3 v0 A$ _9 L
  1938. ; Enables or disables file search in include_path optimization
    2 X" Z" n" u/ C9 t& ~* }
  1939. ;opcache.revalidate_path=0/ {, q& j- Q0 p9 Z% Q& L3 R

  1940. 8 ]0 H9 n* Y1 X; x4 d& r
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the" }% t5 q6 q5 v. L4 S
  1942. ; size of the optimized code.% e2 R7 `( r+ C; j/ X  {% U9 T
  1943. ;opcache.save_comments=1
    4 ]6 V6 k+ J" E; H7 _% P

  1944. 2 |. u  d3 r$ M) y8 e8 X
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ( x6 f( L0 {' X+ p: N+ V* s
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ! s% Y0 e) \3 Z8 R5 n! x+ d
  1947. ; that don't need them anyway.
    6 Y% U) d$ {* s
  1948. ;opcache.load_comments=1
    3 v% l2 r- d- z. E9 w
  1949. % q; t* Y. I2 u6 S" r) Y
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code+ D0 a# ?/ r/ f  C( j# T
  1951. ;opcache.fast_shutdown=07 ^$ w( \" K- @, X
  1952.   n' m8 o8 f  _" C
  1953. ; Allow file existence override (file_exists, etc.) performance feature.7 h7 n5 d& A- B; f1 o# d$ R: G7 }7 Z
  1954. ;opcache.enable_file_override=0
    ) U# c; F) q& t! N- t' x

  1955. ) c9 H) s- y. C1 `
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    " N1 q% A  u' Y. o# e8 }& U
  1957. ; passes
    6 l. U; I7 q& F7 @$ E* M* u0 ~
  1958. ;opcache.optimization_level=0xffffffff1 }5 Z. J- O5 s8 T- V

  1959. 6 `% H. o" K* w7 O
  1960. ;opcache.inherited_hack=19 m& ^( x3 f+ c
  1961. ;opcache.dups_fix=0
    0 z3 t7 s6 D! J, V% a

  1962. 4 @$ j$ x3 ~0 D* X( D9 {  X
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    ! H: x- M% O6 M+ A3 M
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    9 B7 F4 N9 {2 s" r* t& t0 O3 K
  1965. ; that should not be accelerated. The file format is to add each filename
    . j8 K# e( M) h/ W9 @0 w% C' J. N
  1966. ; to a new line. The filename may be a full path or just a file prefix
    * f, k* {0 |- o- {4 v5 S
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    % y2 z8 V. Z5 h2 }' K% g
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    - F2 X4 n! u* }4 m: A* ^, G
  1969. ;opcache.blacklist_filename=% ^4 Q, D3 K# C# N$ m3 O

  1970. # a  x5 B9 F- J5 {
  1971. ; Allows exclusion of large files from being cached. By default all files
    6 J; ]& b( X; R
  1972. ; are cached.
    , |% C6 N# B% R+ d
  1973. ;opcache.max_file_size=0
    6 ?2 O* b  R! @9 [7 j6 C: U* Z
  1974. 5 a" ~' }& U; P; R8 J
  1975. ; Check the cache checksum each N requests.6 Q7 a$ w/ i2 H. l
  1976. ; The default value of "0" means that the checks are disabled.
    6 J8 q, |' E: w9 Z& f
  1977. ;opcache.consistency_checks=0
    % O: O' z4 r' a

  1978.   Z" V0 \6 X# J0 H* b* N: R* W3 z
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache6 c) k; t. e# I& J+ ]5 o; C
  1980. ; is not being accessed.
    0 V! ]' u* ?" {
  1981. ;opcache.force_restart_timeout=1800 q1 j  v5 r. r2 j# T

  1982. ( R% e$ O! W0 s7 R0 h3 r) X
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    - t! a6 o( n8 W: S$ J- w
  1984. ;opcache.error_log=3 \: f; y. L$ u6 s% l$ c
  1985. ! s7 e1 m2 o; Q7 I8 U
  1986. ; All OPcache errors go to the Web server log.) V. X* j* G) ^/ ]
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.! [0 P  v1 ^9 J+ O1 O1 [8 X% ~( T
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    % I0 {8 X6 Y' @! n( ^! K
  1989. ; debug messages (level 4).
    ) V- r# B2 M/ E' ?  E8 |5 J
  1990. ;opcache.log_verbosity_level=1
    ( Y: l! l; G. q4 u* ^9 `

  1991. " `" R5 f) N  U
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    , h* b6 M) ~+ d3 {) e
  1993. ;opcache.preferred_memory_model=
    + L% }$ L6 [/ y+ X7 A; J
  1994. 0 h" o3 S5 O4 Y( Q
  1995. ; Protect the shared memory from unexpected writing during script execution.
    9 Y9 q9 u- V0 F# w* f
  1996. ; Useful for internal debugging only.
    , z! z" o1 H# _+ M
  1997. ;opcache.protect_memory=0& g5 `# J! m- n0 K: Y4 o5 k3 a

  1998. 0 P/ q. n( }* }  l  V
  1999. ; Validate cached file permissions.
    , X# |  W+ a/ a, }
  2000. ; opcache.validate_permission=01 n5 l  i% J. E- j( @

  2001. ' X" h  t% Q7 d# S. n
  2002. ; Prevent name collisions in chroot'ed environment.
    % a9 V5 L5 k7 v+ }4 R- D
  2003. ; opcache.validate_root=0& C( Q- |1 j& M7 {$ N4 j
  2004. ; v" @/ L' q1 U/ _% P: v
  2005. [curl]8 R( T' n3 r  k- y0 u- O8 @/ c( n
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an5 s: `$ n- t$ t6 j& i6 S$ U
  2007. ; absolute path.
    * e$ ~! R  P) H# y' N
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    " S5 H* r. Z% L/ B5 \1 o, G8 z. @
  2009. 2 T3 v# M3 ^6 c% h$ G6 L  J
  2010. [openssl]5 M; v- z" o: {8 i0 B  u
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem( E1 X+ S; \( C: Q. R8 s  j
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should0 v* X7 }( A% N: W, o# }% Z
  2013. ; not specify a value for this directive as PHP will attempt to use the
    : l. b# U7 V5 F
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    4 G! [) U' O9 y
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    0 j) P/ ]5 A$ X! t) x$ X
  2016. ; option.3 Y7 f+ k3 e: ^! N1 u( x$ B
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt1 H4 F0 G2 m; k7 v: }) N0 M. P; d" q

  2018. , _: o8 U: o+ T5 d( W% e
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the: j9 H" D; d; L% y
  2020. ; directory pointed to by openssl.capath is searched for a suitable  ~: h% Q4 `6 F& a$ q
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    , M. V. L- J0 Z( t$ s- n  [5 a
  2022. ; Most users should not specify a value for this directive as PHP will3 y4 k, R9 G4 o& h
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    : Q$ U" u( M+ e1 k; \
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    # x9 H- y6 V$ t
  2025. ; SSL stream context option.4 x9 R" v9 P7 z
  2026. ;openssl.capath=: j9 u. J, V4 i# H" p
  2027. ( \1 [% _2 J7 R0 N% s
  2028. ; Local Variables:% D$ j" p# W% P4 i+ Y9 J% y& r) O$ E  ~
  2029. ; tab-width: 4
    ; ^. ?/ _! L. b) l, w
  2030. ; End:
    # M# _) G( X( W& w4 s

  2031.   A% s) v7 o/ G
  2032. ;eaccelerator2 q. N. Y6 k0 Z

  2033. 1 z4 u; P0 q, z* s7 Y" `
  2034. ;ionCube
    + `& Q+ `5 j$ }. b% w& x' M

  2035. ) K( ~0 a( }4 m
  2036. ;opcache
    ) `2 v8 s( ?6 y1 Q% u% E
  2037. 3 {7 `- D: }) |9 v. A9 c3 i
  2038. [Zend ZendGuard Loader]
    5 E& P/ H- B4 C/ o5 [# h, ]
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    - E. Y# C) ]! U8 x9 z' q+ b1 Q
  2040. zend_loader.enable=1+ g0 `' M- V# m) e) a2 K
  2041. zend_loader.disable_licensing=0
    9 [& \. ]# i( m$ z; L# ^7 l3 F
  2042. zend_loader.obfuscation_level_support=3( v- k* F1 p! D( a' Y* \5 P
  2043. zend_loader.license_path=
    + h9 b& |) O0 B
  2044. / r4 _0 _5 l3 o$ v; X
  2045. ;xcache
    2 E9 t2 K. |* g8 \. Q: t

  2046. 8 l* a# z+ ~- s+ W+ G- }
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
+ Q* i0 l3 d9 }1 e0 S, b0 `. F+ f4 R9 u
$ w4 f5 P8 y2 Q3 Q7 P0 y; k) E' \
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
6 g% l( E; Z- V% K( I' {2 G6 P
. Q( F1 q" S  K7 bDiscuz!程序版本选择:/ }. H4 w, j1 B- g
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,0 D8 U* a- @2 `$ I: Y" N
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
5 H; P, V+ V8 p* ?2 }* Q7 vDiscuz!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。( |1 ], t: h, }/ L" I  V( d  H

$ [  r; }- h4 G( h& EDiscuz!插件模板版本选择:
7 f: p; L+ Q) L; @5 i3 N很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
" a- D' Y+ S; F' E针对这个问题做个统一的普及:
' \4 ~# L& q' |X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。  N% j! o' P5 W& i( t

, C9 y& ^0 H9 `2 D0 m" P所以' v+ z. ~3 G9 s! e5 I2 m0 f$ ~
适合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的二级域名。
0 n# S# Y1 z3 r3 q) m打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。# I- e2 A5 D. ]- r' o
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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