分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
: u# _/ X, _7 j/ |1 T
; \: v) T. D# D" o6 X
  1. [PHP]
    % ]* T+ ^* i1 @) K9 [3 x/ @
  2. + n9 a% r; h8 m7 L0 g8 R4 L
  3. ;;;;;;;;;;;;;;;;;;;7 n. Z9 l# S& n/ a4 L
  4. ; About php.ini   ;- ]% A: H$ a6 f/ n& i2 L
  5. ;;;;;;;;;;;;;;;;;;;
    : x9 |9 g: _/ l9 p+ {, @( `
  6. ; PHP's initialization file, generally called php.ini, is responsible for$ O. o* Y5 i- B$ d
  7. ; configuring many of the aspects of PHP's behavior.' A- q. P/ E8 A3 z

  8. 9 y/ E4 g: ~8 N+ h- N0 W, `9 ^: |
  9. ; PHP attempts to find and load this configuration from a number of locations.0 j8 ^% C) |* D$ y9 R2 p
  10. ; The following is a summary of its search order:; |! M5 N! K) m- V8 L) A: E5 J
  11. ; 1. SAPI module specific location.! e5 i7 m) P0 |# \, g% i3 K9 m
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)+ D* [/ m# @2 k+ Q8 s/ y
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    / X! [4 P) i7 \) u5 X3 v+ v4 K
  14. ; 4. Current working directory (except CLI)
    ) u) Z9 t% w+ P: ]) Y4 X4 ~
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    / k& G  x, G' K0 z  W0 b3 |; w
  16. ; (otherwise in Windows)
    1 e. j  k! x. ?1 ?4 F6 X
  17. ; 6. The directory from the --with-config-file-path compile time option, or the5 C! ~) f9 t1 b- e, s
  18. ; Windows directory (C:\windows or C:\winnt)( z0 Y, R- ?4 \% h
  19. ; See the PHP docs for more specific information.& G  B0 c% p0 h- U; G
  20. ; http://php.net/configuration.file
    : ?% Y5 K4 n  {( x
  21. 3 ~4 g" H* x$ a( f! n+ {' H% |) F
  22. ; The syntax of the file is extremely simple.  Whitespace and lines, P) d- Z) t/ O8 ^7 Z) _: E
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    , p4 s) C" e$ o2 ]2 U
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though1 c6 x3 _  t0 @7 ^( {
  25. ; they might mean something in the future.
    , ?! p6 H( {3 Q0 ?) _$ b
  26. ! B" g8 @  j: k: ?# B
  27. ; Directives following the section heading [PATH=/www/mysite] only
    " W5 B& ]  o- w6 ]0 e1 E  u
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    9 u3 D' U' L3 d7 |; Q
  29. ; following the section heading [HOST=www.example.com] only apply to8 ^3 p9 Z3 j7 T/ r3 U
  30. ; PHP files served from www.example.com.  Directives set in these
    % I8 v* S  n0 K8 o1 \. }
  31. ; special sections cannot be overridden by user-defined INI files or9 w( u* b3 h; U/ s0 ~" s  S
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    % k2 ~* Y4 a( |+ R' y! n4 W) M3 Y- Q
  33. ; CGI/FastCGI.
    : h" [+ O9 {! z4 @9 A
  34. ; http://php.net/ini.sections' M& B0 e* u* j1 w% N

  35. . g- T9 |1 v9 G$ z$ I, K
  36. ; Directives are specified using the following syntax:
    . a9 d- @. @" _" P4 T
  37. ; directive = value
    4 x* p" o, |5 Y- a5 W
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.: r# ~3 t6 z$ W: n
  39. ; Directives are variables used to configure PHP or PHP extensions.3 O3 j: T1 i9 ]) v/ C4 ?6 g
  40. ; There is no name validation.  If PHP can't find an expected3 v6 i0 i* s. H" v# u- ~
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ; a! {: Z) w3 e

  42. * V/ O; E0 ~8 ?+ \" P# n
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one4 r/ V" [  `. ?4 F) z8 w  G5 m
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression- ~# K, D& J, }; r7 k
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a4 x  Y' A- t5 \- H
  46. ; previously set variable or directive (e.g. ${foo})8 U# W- G2 d3 P

  47. ) C* N! e: r! m: d! B$ d( V
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:3 k( D4 m& N8 Y" ?% X
  49. ; |  bitwise OR/ P8 U6 i" l6 |6 m+ R
  50. ; ^  bitwise XOR1 ~& v# `/ u" j7 l8 o- [6 g( q
  51. ; &  bitwise AND
    # k* i# S; o; _" t; R
  52. ; ~  bitwise NOT8 ~% u& z+ y, {* d0 C
  53. ; !  boolean NOT' t' h# H( |0 @7 o  X; A" o
  54. # d4 T' a% }( C+ e$ Y2 Y7 Q: j( t
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.# |5 e3 y( P" ?/ c$ H( M8 a) r4 w
  56. ; They can be turned off using the values 0, Off, False or No.
    9 f, A2 G4 N; h# o8 ^& u
  57. + R# u5 A4 ~3 b+ v
  58. ; An empty string can be denoted by simply not writing anything after the equal
    2 R# P' n/ o9 \1 g# m: C
  59. ; sign, or by using the None keyword:
    % \$ m4 d4 B! R5 g

  60. & }- j  C# O2 \/ x
  61. ;  foo =         ; sets foo to an empty string
    , B. ?2 A" n3 S  ^. d" J& b7 n
  62. ;  foo = None    ; sets foo to an empty string
    / s9 s+ }6 A- A1 Z
  63. ;  foo = "None"  ; sets foo to the string 'None'" H& N- q& p2 a- g

  64. 5 i* v' g% N5 u- T) x& Q7 x, J
  65. ; If you use constants in your value, and these constants belong to a) V+ t0 N4 q4 p( w. c) ?" \+ T1 m
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    " E, C* m3 I) m* k: B2 ^3 F2 z
  67. ; you may only use these constants *after* the line that loads the extension.: A! t) }! H5 {6 {. {& T7 H
  68. $ S- e2 Z6 f8 n( c; }) p
  69. ;;;;;;;;;;;;;;;;;;;
    9 F& Y- V+ ^+ [9 }6 ~
  70. ; About this file ;* S9 _+ y; b* p' p+ _/ s5 W
  71. ;;;;;;;;;;;;;;;;;;;
    - Y, C; L9 S, X# N  F/ ~9 U
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    + j% [% e# F( o' H/ g
  73. ; in production environments and one that is recommended to be used in1 H, Z8 ?5 i+ r/ f( o# ^! t% ~' Y
  74. ; development environments.
    % }$ c1 A' H+ {: c4 u
  75. & i$ ?& z6 `9 q/ t# K( R1 d: b( d: _
  76. ; php.ini-production contains settings which hold security, performance and
    1 X: S  [$ {: Z5 o
  77. ; best practices at its core. But please be aware, these settings may break8 E3 O: y. e9 C( i8 {( s
  78. ; compatibility with older or less security conscience applications. We
    0 Y9 @( `! Z% K6 u9 e
  79. ; recommending using the production ini in production and testing environments.' j) v/ T1 A: T( F1 W

  80. / `. q% k. Z! g+ z& L& u1 A, t
  81. ; php.ini-development is very similar to its production variant, except it is  P8 L+ ~1 b& m8 C3 S6 h% q
  82. ; much more verbose when it comes to errors. We recommend using the
    - r" d  f: X8 ?* X6 X" R
  83. ; development version only in development environments, as errors shown to
    ! W- f# a* j& w9 c0 O2 u) }
  84. ; application users can inadvertently leak otherwise secure information.# M8 F' l6 J' }$ q! r

  85. : P7 G0 f/ N. |
  86. ; This is php.ini-production INI file.# o' N1 v6 n7 q  X/ o( X- ]3 L3 D& x
  87. , \% Q' c4 C4 Q; `4 h0 {6 W
  88. ;;;;;;;;;;;;;;;;;;;
    ) x0 f; _* Z( t. ]. ~# V0 b
  89. ; Quick Reference ;* V! E* Z  [( M( Q6 \3 w! ?
  90. ;;;;;;;;;;;;;;;;;;;& \& h; Q" x: M
  91. ; The following are all the settings which are different in either the production2 L* ^/ F4 T) `7 W
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    6 ^% \3 z" ?8 {$ `6 E# ~
  93. ; Please see the actual settings later in the document for more details as to why
    ; {- U) J& N  D' ~" W- N6 Q9 G3 P
  94. ; we recommend these changes in PHP's behavior.$ n, \3 }/ \) {( j) q. ]& J! C7 f* J

  95. 1 m3 B5 e; V+ M
  96. ; display_errors
    , k# |1 [" u2 r- N3 B1 y
  97. ;   Default Value: On
    + p0 M5 R) Y: X0 Q7 n
  98. ;   Development Value: On
    0 Z$ B) T& l4 @
  99. ;   Production Value: Off
    3 h( B4 n3 p, t6 I1 s# M
  100. , @2 a6 o7 L" b; r) O
  101. ; display_startup_errors3 e+ }) T1 F% R0 u# S
  102. ;   Default Value: Off) w' l: }7 a. J2 `) ]1 I1 q
  103. ;   Development Value: On; ]9 g/ v( s* E7 V. b6 J' }
  104. ;   Production Value: Off  W+ ]1 Q. o0 H4 U4 C

  105.   `& j1 h$ [6 W6 n2 e% T- a
  106. ; error_reporting
    : y+ X( ]3 C; j% K6 B
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED# ?6 n& U4 f; o  _* S* z
  108. ;   Development Value: E_ALL
    ; W' |8 h- [7 ^
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    4 k) T7 P" ~! B. |

  110. : }; N7 s7 J/ t. B& y# ~1 s
  111. ; html_errors' b: n1 g/ u: i& @" o2 W$ w* B
  112. ;   Default Value: On
    # F0 x- Z) w+ a5 p; I7 f0 T' u
  113. ;   Development Value: On$ s. c8 N' `1 g  u) Z
  114. ;   Production value: On2 W: W& B/ C7 Q$ m1 A  {

  115.   _/ C+ B7 g5 T% X3 u' o' n5 U
  116. ; log_errors
    5 r& P+ R- x2 U5 }+ s" I1 s
  117. ;   Default Value: Off. B: X% N) u0 }1 K$ F" P2 i
  118. ;   Development Value: On
    2 V8 n& f4 D' P
  119. ;   Production Value: On0 i0 g/ s3 T5 C: x6 S7 O
  120. 5 K& Y2 y& w6 {, `. C( w
  121. ; max_input_time
    % b" j3 L0 r0 |0 K/ j+ M
  122. ;   Default Value: -1 (Unlimited)
    0 A- U, _' y8 P  Q; f' H. h
  123. ;   Development Value: 60 (60 seconds)* }! h' H% {5 Y8 n( @
  124. ;   Production Value: 60 (60 seconds)
    8 w' q/ s6 V5 j+ m
  125. / v6 @7 Y3 ~5 q5 X" v1 F
  126. ; output_buffering
    " l; |- c4 A3 a7 c" x* O- I
  127. ;   Default Value: Off
    ' T( k7 \+ \. S& m( j* M+ z# d" h
  128. ;   Development Value: 4096
    9 k6 E$ F% Z" B8 @4 }) F
  129. ;   Production Value: 4096/ u& H; W/ P% M, `" S9 `4 L

  130. 8 }$ v% G' v- L% _
  131. ; register_argc_argv% P% z3 A6 `! H. _
  132. ;   Default Value: On2 t% n; B3 r  ]3 F
  133. ;   Development Value: Off: ~' ?, C0 a! J) `5 Q1 X
  134. ;   Production Value: Off) A) H1 H1 `& s  ?5 X) q- g4 |! @

  135. $ S7 e2 ~& r; D% u( }
  136. ; request_order
    , l: H0 n8 k1 |7 _! H3 X
  137. ;   Default Value: None, z$ @/ A' q9 J% s& b9 w! b" _
  138. ;   Development Value: "GP"
    4 ~8 x, s5 J4 I5 L% O
  139. ;   Production Value: "GP"
    $ C/ K2 V8 Q4 ?! J$ R8 M

  140. 6 U4 n( R+ K! R
  141. ; session.gc_divisor% |8 [6 t+ [! Z: Q* E9 V
  142. ;   Default Value: 1004 p4 }) ?8 M  F
  143. ;   Development Value: 1000
    5 g1 X, {) S) K2 X& M- r
  144. ;   Production Value: 1000
    & t/ a+ o! A0 _5 G8 O, n# G7 \

  145. 9 A, c7 K" o+ ]
  146. ; session.hash_bits_per_character
    0 m9 c' m# ]1 e( K1 V
  147. ;   Default Value: 4
    " x/ B7 j$ E# v9 Y
  148. ;   Development Value: 5
    . N- A+ i  S: O* R
  149. ;   Production Value: 51 t1 A/ V2 Q, j/ v2 @  Q- P* p4 V4 D
  150. ! Q5 f8 c7 A" f2 d7 {: y
  151. ; short_open_tag
    . w. v. Y8 `1 I
  152. ;   Default Value: On6 i5 `# n& I. F* t- C& f
  153. ;   Development Value: Off9 a2 ^- N" y/ W' s7 J
  154. ;   Production Value: Off
    ! J; U1 Z5 w' A# s9 S

  155. ; i2 |1 `+ L1 W. h" \: H( _- U
  156. ; track_errors
    1 b# M" ^% T6 |/ B$ B  g
  157. ;   Default Value: Off* ]3 b7 ]! }' u- l6 V
  158. ;   Development Value: On
      M& L4 j- k% ?# X; `
  159. ;   Production Value: Off
    / A+ X# b8 a9 ?7 u5 \
  160. 7 u8 _, I/ `9 D
  161. ; url_rewriter.tags% d7 W/ `5 `% v. I7 O# w
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="" `! A5 |1 E# x8 Z$ f* n
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 i# {1 b. ~6 p5 O! {) n& m
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 S& ^' @& g' B" A0 G. _
  165. ( T2 {+ e' O' X
  166. ; variables_order
    & A  p& w; J0 t' r
  167. ;   Default Value: "EGPCS"0 G5 M1 F* ]. }3 K8 }
  168. ;   Development Value: "GPCS"
    " ?% Z. Z0 P% o8 y
  169. ;   Production Value: "GPCS"6 q- M  x2 T; Y& \8 n+ B1 R; _
  170. 5 N9 `0 W& A, Q6 S) O  [
  171. ;;;;;;;;;;;;;;;;;;;;
    8 z5 g9 k  v$ S5 s. |2 p5 S& h
  172. ; php.ini Options  ;) v' W8 o2 H! P; A$ i
  173. ;;;;;;;;;;;;;;;;;;;;
    5 N( v% |7 W( D% _3 o: T+ W
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ) s8 b( v, z) h0 g  h' _
  175. ;user_ini.filename = ".user.ini"- }. ^) k5 ]* x9 i' p4 W; }2 O
  176. : x2 Z5 J2 `" Z( ^4 L: e) ^2 m
  177. ; To disable this feature set this option to empty value- a8 _( ~2 x0 U6 f; q
  178. ;user_ini.filename =
    9 a5 R# f% {/ [: j) Y8 a
  179.   q- n+ W! E5 {. i, N
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ! [( ^% e9 `% j3 W1 Z
  181. ;user_ini.cache_ttl = 300
    4 A& @  `& ^" g' `+ Z* I5 d
  182. 1 e9 H( Q! M6 Y2 y
  183. ;;;;;;;;;;;;;;;;;;;;$ {. I4 y/ B( q) |0 M& G
  184. ; Language Options ;$ f1 L; t  B+ l. R1 ~
  185. ;;;;;;;;;;;;;;;;;;;;
    ( T4 C8 p/ T% S
  186. , X$ g; ]% a; B* ?( t
  187. ; Enable the PHP scripting language engine under Apache.: a- |& }, o* m3 I! P7 j
  188. ; http://php.net/engine8 h; ?4 n9 [! H( ~3 M8 {7 o; A; I
  189. engine = On; m8 N8 ]8 N" |+ A& R* n$ D8 i1 {

  190. 2 u' u& x" P+ j7 U! Y  M2 y
  191. ; This directive determines whether or not PHP will recognize code between
    1 Q, @: {- c2 R, v
  192. ; <? and ?> tags as PHP source which should be processed as such. It is# Y' T& l# ?* O: o9 h6 C) t* e
  193. ; generally recommended that <?php and ?> should be used and that this feature
    + \/ z4 f5 N2 R& }# A) o
  194. ; should be disabled, as enabling it may result in issues when generating XML
    8 A1 J6 L1 x* |* Y
  195. ; documents, however this remains supported for backward compatibility reasons.* @0 W6 `; H+ \0 Z
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    & f  ]2 b) g( r. s, f" E* m, t6 |
  197. ; used regardless of this directive.3 \0 y. f: k/ |; m+ d
  198. ; Default Value: On
    ' e+ ]3 t( k2 D5 c# a
  199. ; Development Value: Off
    : p: q9 b' j8 R( ~# Q
  200. ; Production Value: Off
    . ^. C8 v. F5 s4 r9 r& Q- E7 s
  201. ; http://php.net/short-open-tag2 l! V- ]* K: g% h9 c5 ~9 j6 \: l
  202. short_open_tag = On5 t0 c/ Q; d4 o' l3 `. T- w" z
  203. + H5 M/ e/ Z( l- u
  204. ; The number of significant digits displayed in floating point numbers.
    1 T4 f' `, ?: c, A) E# }/ L
  205. ; http://php.net/precision# L" n; o) r$ b' n9 O2 e, V
  206. precision = 14
    ( K$ f9 I  k/ O/ `9 G

  207. 4 A4 q, q* A( W# v9 L4 t8 H, n: F; b
  208. ; Output buffering is a mechanism for controlling how much output data
    $ |% W; b/ l7 b: \. x+ I
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that5 u$ V9 F3 M4 k" O: O- |3 v, W) m: R
  210. ; data to the client. If your application's output exceeds this setting, PHP$ t0 l; o! b& g/ ^. q+ S5 m3 Z
  211. ; will send that data in chunks of roughly the size you specify.3 D' x2 W% [! ]: C: z+ Z( o, t# @
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    - u. l' u( H: K2 y. y5 ^
  213. ; interesting side-effects depending on your application and web server./ X! H5 d9 \6 m4 j
  214. ; You may be able to send headers and cookies after you've already sent output
    0 f( P7 y" \9 U( ]/ {
  215. ; through print or echo. You also may see performance benefits if your server is
    9 T5 r5 b8 G4 M  Q' m2 N6 \( H% P
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    ( s/ j1 g$ x1 u4 ^  s; _' C$ c+ F
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    & g$ N6 w+ w/ ~
  218. ; reasons.
    . F: T' J' C# l# U' U/ T
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ! ?, D( v2 I5 |- M' g
  220. ;   functions.5 a7 ^: C/ t3 P6 N
  221. ; Possible Values:
    4 t% t9 B1 M% ?1 [
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    4 S" x. [& t( A* S) o- U" |4 ]1 d
  223. ;   Off = Disabled* G; ]: i  o7 s  j" z- c
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.4 E% v9 t7 S; n7 }) }
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI8 b1 _" f) Y4 W5 l# |
  226. ; Default Value: Off8 Q' l2 F! V* N5 t, Q  Z
  227. ; Development Value: 40964 s& O$ F. b/ ]* }+ ]
  228. ; Production Value: 4096  m& N. D- p2 Z
  229. ; http://php.net/output-buffering) G  o2 _) i, f; I& m  A
  230. output_buffering = 4096
    : Q* D' c7 z1 u; W: l

  231. 4 y9 s" h2 ~, F* v7 D9 P& c2 D: q
  232. ; You can redirect all of the output of your scripts to a function.  For
    - u3 \+ T0 U# Z/ x  L
  233. ; example, if you set output_handler to "mb_output_handler", character
    # Z# x' _# c- p: I2 X; q' w) i- f) n
  234. ; encoding will be transparently converted to the specified encoding.8 g! K5 W  Z' N* z- H7 P
  235. ; Setting any output handler automatically turns on output buffering.. z. c. Y+ V; I% s/ Y8 g1 V2 L/ z
  236. ; Note: People who wrote portable scripts should not depend on this ini' V8 v2 Y% E+ d% T* g/ O
  237. ;   directive. Instead, explicitly set the output handler using ob_start()." z& k* D% J' K! _
  238. ;   Using this ini directive may cause problems unless you know what script5 h1 d- p# @  D, Z7 j) t8 S
  239. ;   is doing.
    : b2 J3 l& @" o8 v( ?" L  E
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler": l9 g. l1 V% V& w
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    8 b" f6 {2 U4 u& `% l
  242. ; Note: output_handler must be empty if this is set 'On' !!!!5 r0 D: o9 f: a+ T. M
  243. ;   Instead you must use zlib.output_handler.1 g# D, q. e0 V
  244. ; http://php.net/output-handler
    ) P% S5 @9 @$ Z6 Z
  245. ;output_handler =6 F/ T( w% n' j+ d5 Z

  246. 3 t2 F2 @3 p. u4 g0 T
  247. ; Transparent output compression using the zlib library7 p! f5 I/ Y8 T/ E0 p* S3 q! m" R) j
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    1 b1 o: f6 E/ f1 ~% ]6 i! J
  249. ; to be used for compression (default is 4KB)9 S6 W) ^$ t2 z" y; u# G
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP  s) u7 k2 g0 H1 H7 k/ ?
  251. ;   outputs chunks that are few hundreds bytes each as a result of* Q% N; U5 o0 }
  252. ;   compression. If you prefer a larger chunk size for better
    ( v* {) u5 C% w& d! [
  253. ;   performance, enable output_buffering in addition.! p/ Q4 ?1 x# T! ], o' o
  254. ; Note: You need to use zlib.output_handler instead of the standard
    & L3 w0 k1 R5 E! |
  255. ;   output_handler, or otherwise the output will be corrupted.
    , b2 m7 F" M3 D
  256. ; http://php.net/zlib.output-compression
    . |2 [8 q1 w% r: L
  257. zlib.output_compression = Off
    % ], K6 g; G  L. o6 @0 o. ?
  258. ' j  o2 o( k' I4 i" E/ p
  259. ; http://php.net/zlib.output-compression-level' {' X- L4 K9 m2 I
  260. ;zlib.output_compression_level = -1
    ' i8 g! O6 D5 W

  261.   ]+ _+ R8 `# b1 [
  262. ; You cannot specify additional output handlers if zlib.output_compression# {1 n7 |8 G2 E  p
  263. ; is activated here. This setting does the same as output_handler but in
    4 x8 s3 o/ p# {) s* ^% Y
  264. ; a different order.2 ]6 ~! r( a: f* o% E9 K: \6 g
  265. ; http://php.net/zlib.output-handler
    & g2 s2 q* c; f: G
  266. ;zlib.output_handler =" x( r" D3 M+ {/ ~/ X: M; c
  267. * x+ x3 G: [6 P& r
  268. ; Implicit flush tells PHP to tell the output layer to flush itself5 f0 S) B' B+ @7 l8 n9 X9 p/ ^  }
  269. ; automatically after every output block.  This is equivalent to calling the$ h- [0 X- q9 y2 K. z
  270. ; PHP function flush() after each and every call to print() or echo() and each
    - ?% E+ I" j% T" m" V/ P
  271. ; and every HTML block.  Turning this option on has serious performance
    5 j7 l: [1 r) m# M  K, A
  272. ; implications and is generally recommended for debugging purposes only.2 J; T# ^7 E; B$ @
  273. ; http://php.net/implicit-flush
    ' `- @  y% {' X0 o. q
  274. ; Note: This directive is hardcoded to On for the CLI SAPI' w' `9 E. G/ U% ^) S" i, U
  275. implicit_flush = Off8 k, I/ H2 A) D* Z* e. P, l

  276. ( Y0 u" h+ Q' U7 |7 w  Q! {0 o0 }
  277. ; The unserialize callback function will be called (with the undefined class'
    0 {9 J. U: ?1 ~, p7 }4 q: x% s% W
  278. ; name as parameter), if the unserializer finds an undefined class
    + J  C4 l+ v9 V( N, A8 D7 |
  279. ; which should be instantiated. A warning appears if the specified function is, t9 y7 n! i1 W
  280. ; not defined, or if the function doesn't include/implement the missing class.* t' v) c( ~! p/ l3 N1 }
  281. ; So only set this entry, if you really want to implement such a
    " D6 v2 C6 ]' |. M0 s' b; _8 G
  282. ; callback-function.& r0 s9 r% c( F/ _' b
  283. unserialize_callback_func =
    + V2 H  X' O+ h( H3 A
  284. " J) ^+ i* W7 Q; k5 E
  285. ; When floats & doubles are serialized store serialize_precision significant
    $ u$ x! \% i, M2 V! c7 y
  286. ; digits after the floating point. The default value ensures that when floats
    % K0 _0 K1 H0 [' T, B
  287. ; are decoded with unserialize, the data will remain the same.
    ' c" ]( r; Q3 v
  288. serialize_precision = 17, V9 D. V3 V2 m3 P

  289. # j* [- H6 T, V8 n
  290. ; open_basedir, if set, limits all file operations to the defined directory( ~+ S* D5 q" k8 ~/ f6 v8 N2 q. ^
  291. ; and below.  This directive makes most sense if used in a per-directory
    ! }8 L) P  h7 n, c7 [2 w6 }: i
  292. ; or per-virtualhost web server configuration file.2 ]% `, A1 S0 @
  293. ; http://php.net/open-basedir' k* o3 A( k; S0 J& ~
  294. ;open_basedir =
    & Q. w2 b$ p3 J/ S& P7 [

  295. 5 O! r$ }7 V% S/ d$ {- h4 J# j
  296. ; This directive allows you to disable certain functions for security reasons.8 w! M4 J6 J+ u* `
  297. ; It receives a comma-delimited list of function names.
    - z: B; Y; J" b% }) J3 F1 m
  298. ; http://php.net/disable-functions. q3 r: F2 b$ u3 e& U1 o. Q% h3 W
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ! w5 X9 ~" |% h/ z/ y( k

  300. ; \! y3 R3 q! ?
  301. ; This directive allows you to disable certain classes for security reasons.2 ^8 T7 T/ W: F- E1 Y: ?, g
  302. ; It receives a comma-delimited list of class names.9 O9 p+ o  B* s" @& ?( K
  303. ; http://php.net/disable-classes
    ; J. W2 @. I# d, }
  304. disable_classes =
    , Q9 X* Y1 X- z& b9 M
  305. 7 j. E7 k8 \7 a
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    , g# a* S/ l  w1 T% u  T5 |
  307. ; <span style="color: ???????"> would work.4 r* s! _' _! {# N5 \6 F# K
  308. ; http://php.net/syntax-highlighting- H1 W% v4 B' K7 x# M
  309. ;highlight.string  = #DD0000
    - x1 K/ ^; ]- s
  310. ;highlight.comment = #FF9900! W: U: t" C9 r3 S# \) ]" p
  311. ;highlight.keyword = #007700! l6 U' d& d1 C! n0 ~! v
  312. ;highlight.default = #0000BB9 }) m- @" V, a. S
  313. ;highlight.html    = #000000
    8 g  [, S; D2 c# K

  314. * y7 P9 h* [9 c6 Q
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    4 [, z) G( G2 K$ L
  316. ; the request. Consider enabling it if executing long requests, which may end up
    . k! _* B; X+ U9 n$ ^
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    9 ]8 W/ ]) @8 w* Y5 C3 b
  318. ; is to disable this feature.' V4 S9 e2 ~% f
  319. ; http://php.net/ignore-user-abort
    , ]- @& n1 E6 [$ ~
  320. ;ignore_user_abort = On
    ' d% S) Y* F- V/ C

  321. % Q: J+ @5 j3 l* ~. g4 j
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    9 w' n0 L0 x/ F- ~( n
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    # t5 R; L* s8 I) V
  324. ; the file operations performed.+ u; e5 `$ L1 j+ L  ]* u' [
  325. ; http://php.net/realpath-cache-size
    2 N! p3 v- Q) D2 i+ ?7 }6 Q8 T
  326. ;realpath_cache_size = 4096k8 U/ a3 P1 q9 @$ {8 [+ F8 q

  327. 2 }+ u5 i  v; k3 Q' \3 G- |# J% Q' o& x# w
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    , k* Y# O7 f. q$ s
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    1 S. e' S6 n* w+ _+ o) l
  330. ; value.
    & w" V' w: o1 V  A
  331. ; http://php.net/realpath-cache-ttl/ U* R2 L& Z. V  c9 K
  332. ;realpath_cache_ttl = 120& M1 I& r" u$ L
  333. 9 [  ^3 B! V' T% k& f
  334. ; Enables or disables the circular reference collector.2 E- g) @6 n) a! }- _
  335. ; http://php.net/zend.enable-gc
    9 _/ Y9 b: A8 [
  336. zend.enable_gc = On
    7 h  U- _. @2 Y2 s4 i2 j
  337. ! w" T6 A$ F6 {6 o
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    4 o8 f+ f4 l7 B# V* _) ~, B7 n
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    & y6 c5 h: O7 @% x+ g0 K- x
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
      v( H4 h% u8 v
  341. ; Default: Off+ B  N* a! O: C
  342. ;zend.multibyte = Off: ]& L: q: y5 X9 Z: N* Y9 W) n! Q* ~
  343. 0 l$ X: e3 F% {/ k3 a& @
  344. ; Allows to set the default encoding for the scripts.  This value will be used% f' c2 [. V! X6 M9 _
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.3 `! T0 H$ [9 a: J  @: ?2 H
  346. ; Only affects if zend.multibyte is set.
    ( Q* }* U6 f2 [6 l# p
  347. ; Default: ""
    7 x+ b8 x+ `3 i' G) ]
  348. ;zend.script_encoding =) X" h" M: _- F' x- t9 I: ~
  349. 3 T# W5 o$ _/ [. C  i) u: y
  350. ;;;;;;;;;;;;;;;;;
    ; I0 U( c2 K$ N: N
  351. ; Miscellaneous ;3 F) `* ]9 a; q- t: ]" p' E
  352. ;;;;;;;;;;;;;;;;;
    ; N) l" ?' Y; X+ a  Q) H, E

  353. ' }: t! T6 J" R4 b% M1 v2 ^
  354. ; Decides whether PHP may expose the fact that it is installed on the server2 M- W& s6 h2 T$ W( _
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    0 Z7 W3 P5 [$ B/ d
  356. ; threat in any way, but it makes it possible to determine whether you use PHP9 B* W# Y# T" W+ D4 q9 Y1 i
  357. ; on your server or not., x% z! ]1 f7 K" I' Q0 U* I
  358. ; http://php.net/expose-php- j5 U$ t5 b1 ^' [! I2 X
  359. expose_php = On
    7 B: i4 V3 q) b6 T5 C  i" f
  360. $ `# w6 ]6 B$ G% W" \# \5 m4 `2 i# S6 l
  361. ;;;;;;;;;;;;;;;;;;;( n: ?0 s  y) Y, o! R
  362. ; Resource Limits ;& z' j2 U3 ^, y- K
  363. ;;;;;;;;;;;;;;;;;;;6 J! @7 L& O  N: m7 ^, M5 i' R) q

  364. ' K. ?! {$ [: T- K; n. d
  365. ; Maximum execution time of each script, in seconds# d5 \) C: u4 P' B, M* V. o
  366. ; http://php.net/max-execution-time6 ~7 x) T, b6 h0 O% x4 J2 {4 N$ A
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI) U; j  Q+ O" x, b2 ]5 H% \
  368. max_execution_time = 300: h3 v) g9 @4 p$ e8 r9 {

  369. 0 I- t: E! m8 x+ s* _) T3 _
  370. ; Maximum amount of time each script may spend parsing request data. It's a good6 [/ k% }; ^8 u* h* z2 ?. y7 J- R
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    1 @9 u6 X% K( j% S
  372. ; long running scripts.
    - [% ~& T, W, Q: q
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    7 t  M9 `4 C2 n% `0 b4 |! A
  374. ; Default Value: -1 (Unlimited). X1 A" N, s# ~/ G# W! u
  375. ; Development Value: 60 (60 seconds)9 I+ m9 J  n9 K1 x% D: B
  376. ; Production Value: 60 (60 seconds)
    6 \/ P2 t! A$ j6 a
  377. ; http://php.net/max-input-time
    % h1 F+ S- d* S* O
  378. max_input_time = 60% `; _8 E8 C: p
  379. % }% l2 _0 w3 Z4 T* r: c* h0 J
  380. ; Maximum input variable nesting level
    8 d0 W  F4 s  T6 |1 x
  381. ; http://php.net/max-input-nesting-level
    5 x8 R7 t7 Z! }6 X$ P$ X
  382. ;max_input_nesting_level = 64# f! u* V' U7 c

  383. $ \$ w0 Z1 k# ^2 Y* X5 ~
  384. ; How many GET/POST/COOKIE input variables may be accepted, M% @) [0 R& d6 M' K  P
  385. ; max_input_vars = 1000
    6 l+ Q3 k$ P3 H. ^+ `4 ]  B

  386. / K6 ^! D. i: Z8 R" e( O
  387. ; Maximum amount of memory a script may consume (128MB)
    ) U5 V% g/ Z! Z8 }- x) b  d8 Y
  388. ; http://php.net/memory-limit( p: r* b& n: K5 J
  389. memory_limit = 128M
    # k& D& |" s$ _8 i$ s
  390. 1 O2 F  q) U4 Z2 n* V
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 t2 a  A' [! X# P
  392. ; Error handling and logging ;
    - g! e( F& _) U9 ^& K) @
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" [0 @, i& W0 {! ?2 d3 R9 r% f
  394. + \) N* @6 O: s% H
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    . c/ ~( f3 z" J, }* S% T1 J' ^% |/ q
  396. ; it to take action for. The recommended way of setting values for this3 S% \  m2 E& \! C! ]) v+ t
  397. ; directive is through the use of the error level constants and bitwise! r8 J1 L7 a# l
  398. ; operators. The error level constants are below here for convenience as well as
    # s) R/ @* Y9 I8 C/ ?
  399. ; some common settings and their meanings., b- W! _. E$ M/ e5 {
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT# r( n( _3 h5 j# u4 ]6 `
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and8 i3 j0 `4 Q+ e4 L
  402. ; recommended coding standards in PHP. For performance reasons, this is the* _" h. O4 @( o! U
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
      @7 E7 C. ~6 z
  404. ; resources complaining about best practices and coding standards. That's what
    0 a% T1 s2 R5 R" p3 L8 J
  405. ; development servers and development settings are for., v; E# i9 N9 w0 H0 x8 J/ H
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    - C3 n: f% f" b! K4 U
  407. ; means it pretty much reports everything which is exactly what you want during; X' T8 f7 F8 r1 f$ r
  408. ; development and early testing.9 X0 j( M  H0 x
  409. ;7 e  v( B+ _$ j' }2 ?7 b
  410. ; Error Level Constants:4 g. f* Q1 T1 R" ^
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    . b& c$ O+ G% w, `6 k
  412. ; E_ERROR           - fatal run-time errors
    . V9 X  \8 y. h5 A
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors* {: k; O/ f  P+ V3 j( |3 J8 ~5 X+ a
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    9 q, n* h3 K0 j, a% Y7 K
  415. ; E_PARSE           - compile-time parse errors! l7 ~9 ^6 _* R- E
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ! B  R% P3 l& N" J
  417. ;                     from a bug in your code, but it's possible that it was- J/ x& [* _/ N  M
  418. ;                     intentional (e.g., using an uninitialized variable and. e" o4 o9 v' t. ~$ u' y6 j, g; D
  419. ;                     relying on the fact it is automatically initialized to an) l; G" W1 S' K3 G2 ?3 I% B; {7 z8 e: N
  420. ;                     empty string)  Q- _- C: `6 R( t( O" o3 k
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes$ @! `# F5 Z9 a
  422. ;                     to your code which will ensure the best interoperability/ L* J% b, g8 t: A7 t
  423. ;                     and forward compatibility of your code" w& k( _2 z+ \- C
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup$ d. O  E4 L. v) k: r) A! n: }
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's# c5 z- v+ l( n9 p, ]" [: G7 K
  426. ;                     initial startup- r, K6 T( x# E8 f# P9 `$ A
  427. ; E_COMPILE_ERROR   - fatal compile-time errors0 p/ `- l+ T$ T( D9 y! M: B  K
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    & y: s* Y  S  [
  429. ; E_USER_ERROR      - user-generated error message" R+ O2 d( d; p* Q+ m& E
  430. ; E_USER_WARNING    - user-generated warning message
    9 U5 q) A; _& F& Y
  431. ; E_USER_NOTICE     - user-generated notice message
    ! b. O  ~. k9 v, r, L
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    6 [8 [( v3 r, o+ j0 q' u
  433. ;                     of PHP( T. }5 I" ?. @! p7 {
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    & {. w. l% l9 k9 d; a& g; ?
  435. ;
    5 v( r& G. `# {+ l3 W- l
  436. ; Common Values:
    , m( ]2 Q. x- Q  u" O
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    6 W' Z% ^' @4 W. t8 b
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    # B4 m' C. ?  _4 z  {$ g
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)+ M. S7 n7 b! i- c
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)1 @% X* H0 w& Z5 N# X1 ?
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    7 y2 _2 u/ y% w) x$ w& k- W* q8 U
  442. ; Development Value: E_ALL6 [* r( U( M" J0 t1 }
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 P/ N$ R; \. p5 z/ ?* u+ _. |
  444. ; http://php.net/error-reporting
    6 H( h5 t' H! W7 q( m* R% h- q1 Q
  445. error_reporting = E_ALL & ~E_NOTICE, q6 R5 K3 a- P% `. o
  446. % e+ N) D% ^% q& M
  447. ; This directive controls whether or not and where PHP will output errors,( I0 u8 O$ T0 C; |) S
  448. ; notices and warnings too. Error output is very useful during development, but7 t. }+ Q6 o/ m9 [- h, m' g
  449. ; it could be very dangerous in production environments. Depending on the code4 S" ^$ U' c" F
  450. ; which is triggering the error, sensitive information could potentially leak
    . q1 M- X# L3 d3 Y" V3 \2 A' A: C* j
  451. ; out of your application such as database usernames and passwords or worse.# Z: B$ @8 w8 X1 W/ O4 y9 w4 Q
  452. ; For production environments, we recommend logging errors rather than
    ( p! g) A' {' U, x% Y- `
  453. ; sending them to STDOUT.
    3 M8 p* }3 B  M0 _
  454. ; Possible Values:
    9 L" @3 t6 U0 t! r( B: B& C) |6 Y
  455. ;   Off = Do not display any errors$ l2 _: N( M% _3 w) d
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)# N2 t+ f3 B+ m/ b
  457. ;   On or stdout = Display errors to STDOUT
    : s) e$ f# L5 I" `
  458. ; Default Value: On; D8 f' }4 G$ D
  459. ; Development Value: On: x+ K# _+ B9 I
  460. ; Production Value: Off' R4 R% Q* G( R4 i0 \+ V
  461. ; http://php.net/display-errors
    6 b$ ]! K: p( s& z7 W
  462. display_errors = On6 `6 x6 g2 f6 h, Q, E

  463. & ?$ U5 X" p* m" S5 \. U( u0 f
  464. ; The display of errors which occur during PHP's startup sequence are handled
    , H! A5 V/ P- x3 ^, H
  465. ; separately from display_errors. PHP's default behavior is to suppress those; g# S, O( ]' ]$ z
  466. ; errors from clients. Turning the display of startup errors on can be useful in1 x6 T$ w$ D( r( J2 W( K! q
  467. ; debugging configuration problems. We strongly recommend you
    2 \# j3 J' ?$ S8 B/ P- l
  468. ; set this to 'off' for production servers.- q. @+ D4 z' z# @' U8 |
  469. ; Default Value: Off. j  h$ G, R7 {# q, {
  470. ; Development Value: On
    8 t4 p6 c& l5 b$ E5 y! c
  471. ; Production Value: Off" o$ ^3 e* S0 @  B7 M# o
  472. ; http://php.net/display-startup-errors; ^, b% W! i+ q/ w" _3 i/ j
  473. display_startup_errors = Off# T; R! b. y1 x

  474. + ^- _/ Z+ |( \# H7 B! ]/ v
  475. ; Besides displaying errors, PHP can also log errors to locations such as a; n7 w3 t4 p3 y
  476. ; server-specific log, STDERR, or a location specified by the error_log
    ( U7 m; ~, L" j2 h. Z
  477. ; directive found below. While errors should not be displayed on productions
    1 w& I* r* o$ ?$ @
  478. ; servers they should still be monitored and logging is a great way to do that.' q0 B4 Z, s8 W, W1 b% v- u
  479. ; Default Value: Off
    " d. l( g3 b  W! [5 T
  480. ; Development Value: On
    . S% i4 Q) E% t! L$ V- W) B
  481. ; Production Value: On
    & s/ ^4 l1 b  X, V9 a0 r+ g
  482. ; http://php.net/log-errors
    ) q0 ]/ d  E! z
  483. log_errors = On
    2 h  }9 v+ ~2 B
  484. & v$ ~! l6 Z3 n9 y4 u
  485. ; Set maximum length of log_errors. In error_log information about the source is
    9 H9 Q8 o3 O0 \  J5 J
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.7 A8 {4 s4 }/ k3 P. r
  487. ; http://php.net/log-errors-max-len
    8 @& A0 R) ^8 t8 N9 ]: n* {1 e0 f3 y
  488. log_errors_max_len = 1024
    ' \! e+ u7 g! E( A$ V1 k
  489. / S; x4 X, w( r1 Q/ ~. {
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    9 \4 {$ h$ k7 A: H! |# n
  491. ; line unless ignore_repeated_source is set true.
    - V2 s6 t# l6 j5 |) K
  492. ; http://php.net/ignore-repeated-errors
    # Z  E4 h6 p/ y. H' I2 I, P
  493. ignore_repeated_errors = Off
    " K% r, s! V- z

  494. ( x& _( B7 A  c
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    / ]9 ^" F" Q( p5 ?- S  V9 c
  496. ; is On you will not log errors with repeated messages from different files or
    - l/ W( E. }3 y( l! X
  497. ; source lines.! t) f: K1 h- ?) {2 ?
  498. ; http://php.net/ignore-repeated-source
    5 _6 h/ m" s# o2 c
  499. ignore_repeated_source = Off7 h8 d$ c( ]7 d+ s

  500. 2 S& j. c9 U. a$ Y
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on# Z5 I" B0 W$ }- o
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    / x5 g, x* h! n- j* F  M* ~
  503. ; error reporting includes E_WARNING in the allowed list7 C7 b5 q1 }% T8 c9 X+ |. p' X
  504. ; http://php.net/report-memleaks
    7 q$ I9 t( p7 H/ t: `' D4 Z
  505. report_memleaks = On
    $ v6 F0 c% N/ G' r5 t
  506. ) `7 j% D+ @4 F0 J2 I; ~
  507. ; This setting is on by default.% O3 y9 R: ^& J  i0 \
  508. ;report_zend_debug = 0
    7 Q! m1 j/ u  L0 B. u! g/ _+ ^

  509. ; W' V* ^# ]2 A/ |* v5 }! W% E
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ( A$ F1 i3 v5 a* O5 P
  511. ; to On can assist in debugging and is appropriate for development servers. It should6 [' l) a+ D" d3 E8 V) U2 j
  512. ; however be disabled on production servers.1 ~, z2 v. z! Q( O* B
  513. ; Default Value: Off
      m9 q5 u- D: T. b
  514. ; Development Value: On# [$ c( B# u% i$ b" D! D, R; O
  515. ; Production Value: Off
    ( {. [3 Z) q9 K, @
  516. ; http://php.net/track-errors
    1 P2 t2 Q# @! W3 g1 ~
  517. track_errors = Off' F# M  D5 O+ l/ f! k
  518. 7 e7 x, X9 P# m* b  D
  519. ; Turn off normal error reporting and emit XML-RPC error XML1 j  u: k' h# D; ]- g
  520. ; http://php.net/xmlrpc-errors
    % G( E* `# ?) ^" t6 i& ]
  521. ;xmlrpc_errors = 0
    5 w3 G9 `9 M- {3 ^( u' B: h$ z

  522. 9 K4 C' W- l$ Y+ z: z! i6 y
  523. ; An XML-RPC faultCode
    7 {0 Z( S% [3 g: e, L
  524. ;xmlrpc_error_number = 0
    . ~3 `# z& B. u) G/ h( g9 ?! J
  525. . d; D5 @6 S) ?4 v- l
  526. ; When PHP displays or logs an error, it has the capability of formatting the7 R  G' Q1 n, O* Z. x3 X' J
  527. ; error message as HTML for easier reading. This directive controls whether
    ' t$ I. L- I$ k' z7 ^
  528. ; the error message is formatted as HTML or not.
    ) T! ]9 S1 P$ |
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ! c( O0 o, G+ i, I9 L
  530. ; Default Value: On6 \( J* f& ^: O# Y& z/ G
  531. ; Development Value: On4 A1 w9 g7 p' T1 p7 u$ L0 V) V
  532. ; Production value: On! R" s, h" S; K1 D# Z
  533. ; http://php.net/html-errors
    ; J" p7 N& J0 F0 [- p9 H  {- P
  534. html_errors = On/ `% k/ Y0 `( O4 \

  535. : |! ?$ `7 X3 j5 d# [% r; V
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP+ G; U9 X! {0 `# c
  537. ; produces clickable error messages that direct to a page describing the error
    6 f5 J$ W+ a. T& v/ ^5 ?9 d
  538. ; or function causing the error in detail.0 z  r" R8 H$ h- O. [
  539. ; You can download a copy of the PHP manual from http://php.net/docs" O3 D6 V- ^+ u2 p2 ^. M
  540. ; and change docref_root to the base URL of your local copy including the
    9 d% q. }  }' i2 a) W' z7 K
  541. ; leading '/'. You must also specify the file extension being used including
    ; |# a! x1 `- ?* `" k! e
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ; S. _: x8 L% G' m7 t) u
  543. ; case no links to documentation are generated." |- [3 }0 ^1 O. |  y" A3 R
  544. ; Note: Never use this feature for production boxes.
    6 L$ `6 U4 @8 ~" Q1 H. R6 m
  545. ; http://php.net/docref-root
    6 E# a4 O( Z2 h) X+ Z9 M
  546. ; Examples
    * @5 N! q9 z1 z8 p- Y
  547. ;docref_root = "/phpmanual/"
    1 g' V* i, t8 ]* o% I

  548. 3 z9 S, W& ?7 l
  549. ; http://php.net/docref-ext* H! }% M  t! i+ ^9 p! C  v
  550. ;docref_ext = .html' o: A$ s, B* s9 r4 A; W8 o

  551. $ y: R3 U, l" ]
  552. ; String to output before an error message. PHP's default behavior is to leave# A1 f$ p: c0 z
  553. ; this setting blank.% V' t# u- l- J% S( v- F
  554. ; http://php.net/error-prepend-string
    ! E  y: a: n& \1 S
  555. ; Example:
    ) t+ w% e9 ?  Q5 c) F
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    ! `. C7 e7 e& l
  557. & X0 R+ Q; [) O0 Y; o
  558. ; String to output after an error message. PHP's default behavior is to leave9 p8 I7 y( I9 r8 N
  559. ; this setting blank.
    4 o) T8 c/ B  m/ P' m' ~
  560. ; http://php.net/error-append-string7 ~5 b' x) D: c: {
  561. ; Example:2 T) N1 E7 R3 B* ]8 u
  562. ;error_append_string = "</span>"9 b" i" K1 n3 J5 i; A7 ?
  563. 7 V7 T  B2 g" p  }
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ' f! H* t+ i- ]3 l) g9 z
  565. ; empty.
    . G* D0 B9 Q, u* {8 X0 g
  566. ; http://php.net/error-log1 P  J" z, e& w- f) N
  567. ; Example:1 g$ F. H  b  p! M6 J! N$ J
  568. ;error_log = php_errors.log9 t" H. K7 u# A7 K2 a4 {1 F
  569. ; Log errors to syslog (Event Log on Windows).
    . Y6 x$ J& o  [. c
  570. ;error_log = syslog
      a. O+ h# p+ A7 f1 S

  571.   o  [5 _1 T9 I/ p/ B: D; i( b
  572. ;windows.show_crt_warning
    * o9 e8 h$ g( X( R
  573. ; Default value: 0% p4 {! q/ S: ~8 s
  574. ; Development value: 0
    - O' W) u+ w# t. F; E9 g  ~" m
  575. ; Production value: 0" I, Y, V: j. H; q4 C2 V

  576.   P6 O2 T! ~. G3 F0 ?2 U
  577. ;;;;;;;;;;;;;;;;;5 e& c# Z! s% U0 _; C( _
  578. ; Data Handling ;
    $ V4 F/ G* S- G6 M, h1 Z+ H
  579. ;;;;;;;;;;;;;;;;;
    4 T; g5 L$ e4 N- d# e
  580. . v4 S# q* k5 v" v/ Y# Q2 {6 S9 _
  581. ; The separator used in PHP generated URLs to separate arguments.
    , O/ M1 ?- K8 v& Z  g
  582. ; PHP's default setting is "&".( G3 _' c, n( ?. D$ D# M2 Y8 J" k# H
  583. ; http://php.net/arg-separator.output
    9 ^6 o* _8 G$ n
  584. ; Example:
    5 d  [/ j" L8 t2 ^0 {  U( q
  585. ;arg_separator.output = "&"$ c* x. q, r- J/ r  ~& N' b

  586. 2 L! x" c/ A; E& g5 ]$ D( c$ |: H9 K1 @
  587. ; List of separator(s) used by PHP to parse input URLs into variables./ u1 u4 N& a$ n7 `' p
  588. ; PHP's default setting is "&".
    : X* _) n9 u! @9 c* I
  589. ; NOTE: Every character in this directive is considered as separator!  |& T1 ]& r9 H$ j, P( A% ?
  590. ; http://php.net/arg-separator.input8 f8 J6 `8 f! ^; w: j
  591. ; Example:
    9 ~- W" l) U2 p# A0 v: ?& A0 w
  592. ;arg_separator.input = ";&"
    3 s6 n! A  q& k  j1 E

  593. + M$ e# U  K: I2 |
  594. ; This directive determines which super global arrays are registered when PHP9 m7 W! s6 Z. U' h7 Z, v+ e  _0 I
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super: }2 n, o1 p- L
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
      t! z4 p  O* I, O( D6 u
  597. ; paid for the registration of these arrays and because ENV is not as commonly3 O: F9 `5 @1 R* f! {. k% ^
  598. ; used as the others, ENV is not recommended on productions servers. You3 C$ i4 S" o( e; l
  599. ; can still get access to the environment variables through getenv() should you! _0 n3 @# t6 r  H6 T' m) P
  600. ; need to.6 u/ @. U" E- c6 d) L+ S' y% I
  601. ; Default Value: "EGPCS"6 A! w5 W9 r4 _2 i3 z1 q. R' w
  602. ; Development Value: "GPCS"# k& G* a# {3 F1 X% {
  603. ; Production Value: "GPCS";
    0 P+ A, ^0 b0 I. V% A/ R: Y
  604. ; http://php.net/variables-order0 J( Y5 n7 ?) A( v; i8 ~
  605. variables_order = "GPCS"
    % u, E! H3 s9 T/ _' r; z; Y

  606. 9 B7 D8 J9 y. p) J: b, ]
  607. ; This directive determines which super global data (G,P & C) should be% E& F& ~/ G; s
  608. ; registered into the super global array REQUEST. If so, it also determines
    0 _- v. F1 r: l
  609. ; the order in which that data is registered. The values for this directive. Y, {0 P- |( \  `# ]
  610. ; are specified in the same manner as the variables_order directive,& S/ o! _* I& Z6 n5 I2 X
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set* D+ E) p* S. |
  612. ; in the variables_order directive. It does not mean it will leave the super
    & y) f4 v, n0 [" u2 u
  613. ; globals array REQUEST empty.
    " I! Z  b; s& Q$ m; @$ w
  614. ; Default Value: None7 E6 e' \  J2 f5 {
  615. ; Development Value: "GP"" T/ p& m6 u9 ~3 t( D& N
  616. ; Production Value: "GP"/ ?2 f7 A4 Y; g5 e) y1 W5 W
  617. ; http://php.net/request-order
    ! D9 r# J+ d4 H2 H- Q/ |
  618. request_order = "GP"4 y; d- Q. ], |& B; S" {
  619. $ y) h/ p& o+ M2 G  ?
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    * e8 G3 {* W2 _3 M+ N2 J
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    8 [! w6 _! [- |
  622. ; is invoked. $argc contains an integer representing the number of arguments
    . T2 H' ^3 a  v0 \* ~4 R% F
  623. ; that were passed when the script was invoked. These arrays are extremely
    5 R( m# _2 n3 }& U
  624. ; useful when running scripts from the command line. When this directive is) d, L6 _1 S5 m* Y
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    9 q0 H, p3 s3 k- O: h# t
  626. ; a script is executed. For performance reasons, this feature should be disabled
    - \. w" h) F$ _; q: M
  627. ; on production servers.# I; t+ V  h& C/ H- H. H0 S3 I' |
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 M4 M% \( Z8 T. r9 e( B$ |- x
  629. ; Default Value: On
    4 v3 ]9 x7 e5 j
  630. ; Development Value: Off
    " M' A9 \3 F5 n9 m6 N  A
  631. ; Production Value: Off2 O* h1 D% i) x$ \, K
  632. ; http://php.net/register-argc-argv
    9 i5 L. T: A; I9 {+ d3 H& O% L) g" C
  633. register_argc_argv = Off
    ; P6 t# Z! E% A1 a) G$ L7 N5 k

  634. " z+ \5 O8 _9 z4 I1 ]
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're0 i: I! G2 B2 t% ^' L7 l) @
  636. ; first used (Just In Time) instead of when the script starts. If these
    8 g; R6 _7 P& R8 f. _& }+ M
  637. ; variables are not used within a script, having this directive on will result& o% ^8 i* x, H' c# z
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled$ E8 D4 }  x+ [% X" u. d/ `
  639. ; for this directive to have any affect.6 N$ q  E) G. q% v4 e8 X7 }; Z
  640. ; http://php.net/auto-globals-jit
    & a! _8 V2 ?+ m1 e
  641. auto_globals_jit = On! b0 t+ D* x' R4 d6 R+ ], m
  642. & s1 r* `. f( u( [2 m
  643. ; Whether PHP will read the POST data.
    * F, {2 C. D, x+ e3 l/ `1 h
  644. ; This option is enabled by default.1 ^! f; t9 C  p+ y$ x
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST% Q& L" p% J+ H8 k
  646. ; and $_FILES to always be empty; the only way you will be able to read the, D& B+ z( C" i4 r# E
  647. ; POST data will be through the php://input stream wrapper. This can be useful3 J1 t9 w3 a- g- f& q
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    8 q% ~$ N" X& |: o/ e5 b
  649. ; http://php.net/enable-post-data-reading
    * ?: p. V" P# c
  650. ;enable_post_data_reading = Off
    ( {* p% X' t3 X
  651. $ K# r; W2 T6 C' K! o9 v
  652. ; Maximum size of POST data that PHP will accept.
      O3 p5 c  Q3 X' l2 D( Y! Z; z
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading3 X6 Z0 u8 {9 Q+ J3 E2 b- V! v+ S. d
  654. ; is disabled through enable_post_data_reading.
    0 X8 b. |" G/ `7 a
  655. ; http://php.net/post-max-size
    . q& k7 }, J) Q8 A+ \! J0 P
  656. post_max_size = 50M% c+ e% |, C, N* @% P% {% E1 E

  657. " ~  I+ O  `5 L/ M3 X7 X9 s& d
  658. ; Automatically add files before PHP document.
    + A+ t, a( l+ P( V1 k
  659. ; http://php.net/auto-prepend-file
    % L5 M- A7 X/ {2 D
  660. auto_prepend_file =0 {$ W1 i5 B$ T, Y: ^- u, j
  661. + R' a5 ]0 M9 ?- ]; D4 O
  662. ; Automatically add files after PHP document.3 x4 c# I4 o% Q- V! \
  663. ; http://php.net/auto-append-file
    ' E5 U& ?, Y4 I& j6 }6 n! C
  664. auto_append_file =
    3 i: i8 M$ [3 s5 h8 O

  665. + A: ^+ Y5 F8 t7 e) t
  666. ; By default, PHP will output a media type using the Content-Type header. To
    & B* m  X  G# y* _: H3 i
  667. ; disable this, simply set it to be empty.
    , O7 o7 u& l3 H, t8 H4 [* g; P
  668. ;- T9 [: @7 [6 M0 s3 I% _$ ]8 P/ P4 K
  669. ; PHP's built-in default media type is set to text/html.
    ) G0 o/ A& {' v( Z* Y% Q
  670. ; http://php.net/default-mimetype8 U. L+ ]  R  e8 l# U
  671. default_mimetype = "text/html"
    2 S# I' x8 C$ e# U0 n4 i
  672. - a" w! m; s, i
  673. ; PHP's default character set is set to UTF-8.! g" ^2 C5 V6 P* d' s- ]5 v# U
  674. ; http://php.net/default-charset
    2 K, f5 X* B! R: G+ }; g0 @% G
  675. default_charset = "UTF-8"
    6 s0 h5 P: h9 ~/ g

  676. 2 z( Z9 |1 S# @$ o" t
  677. ; PHP internal character encoding is set to empty.
    9 A$ a- p3 }" V: }. F- s, }
  678. ; If empty, default_charset is used.7 I) O3 M1 V' T0 v/ E
  679. ; http://php.net/internal-encoding
    8 P1 z1 W6 b: B! L9 ~# a! K2 Z
  680. ;internal_encoding =! i% [; F( q0 |6 C. L
  681. 3 V0 k2 x6 @* O8 E' h
  682. ; PHP input character encoding is set to empty.
    . h4 L4 w4 o) F, {0 s( Z" P
  683. ; If empty, default_charset is used.
    6 u1 \0 v( W% T$ r- N, q9 H
  684. ; http://php.net/input-encoding8 G) M, Y4 g# I" G
  685. ;input_encoding =
    & e7 b- y4 s: x4 e; x7 _) q* U
  686. ) ^( j' q5 X; t, j1 l
  687. ; PHP output character encoding is set to empty.1 g: Y  [) r' y$ v0 J+ F9 o/ S
  688. ; If empty, default_charset is used.
    & Z4 k7 W3 i0 I3 L8 j3 ?
  689. ; See also output_buffer.9 Y: m7 {9 S# ?2 [5 v
  690. ; http://php.net/output-encoding
    ' m: I3 Z! Z1 d! E$ b9 y/ V6 Z$ T
  691. ;output_encoding =
      L- X0 a$ E& Y2 E/ x0 e/ r
  692. - |! e& J0 |, ]3 s3 h: R4 k" r0 J
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    * d( l& s7 g# X5 }- l
  694. ; Paths and Directories ;
      E- S3 U5 t; S  q7 b; E$ ?* j
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;! Q  j2 p# D) q7 Q- D0 `4 z1 n

  696. / y- `1 f) g. }$ f2 G
  697. ; UNIX: "/path1:/path2") a$ g, M4 O, e
  698. ;include_path = ".:/php/includes", _7 I2 A7 I- a9 x; h, [% q: ^
  699. ;3 H2 s  W# x3 |# h2 T+ B
  700. ; Windows: "\path1;\path2"! l: S8 p5 {' ]$ k3 k- F. U$ N9 W: R
  701. ;include_path = ".;c:\php\includes"
    # H" h) u1 j* W1 u  }
  702. ;+ R6 l0 L# D- i
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"# j5 l2 [5 c. p7 S: q$ I
  704. ; http://php.net/include-path
    8 Z4 K% Q" J$ N0 b6 c& ?' x% q
  705. & f3 X- S$ l, h+ t
  706. ; The root of the PHP pages, used only if nonempty." J2 C6 X( ?% f& _1 Z$ \' t6 {
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    & }  T6 M) y3 S. c4 V
  708. ; if you are running php as a CGI under any web server (other than IIS)
    2 u; R+ F) M3 }4 Q2 j4 x, Q: e
  709. ; see documentation for security issues.  The alternate is to use the
    $ [& E$ ^" X, @
  710. ; cgi.force_redirect configuration below
    ; x& X; O1 D- }" [1 S" ~
  711. ; http://php.net/doc-root% V' u/ o% A1 ^. h' c" R
  712. doc_root =( f& W- ~5 k  o3 O1 p6 r. |$ L
  713. / n* w" U# f. _, c
  714. ; The directory under which PHP opens the script using /~username used only! F. [) ~2 S1 n  p. M
  715. ; if nonempty.
    . c2 g9 ^1 f# u/ D, n. E
  716. ; http://php.net/user-dir
      p: J/ u' Q! u6 S6 C
  717. user_dir =
    ) T. j. h" `! Q1 M
  718. 6 x1 J% a8 e" ]
  719. ; Directory in which the loadable extensions (modules) reside.
    & U# Q9 W& _$ {2 A" R" w* ]% E, q
  720. ; http://php.net/extension-dir
    / m5 t) \' q9 r/ ]3 C( B" @
  721. ; extension_dir = "./"
    ' g' y9 ~9 j0 ?! Q% ^5 C) u+ B0 S
  722. ; On windows:% d% Y# P. p5 B7 O- n
  723. ; extension_dir = "ext"
    8 B4 |9 l% D1 y' F* p

  724. 6 [* `5 I5 Y1 a! N: P
  725. ; Directory where the temporary files should be placed.
    1 ]5 L; |  }- `) y, ]- F
  726. ; Defaults to the system default (see sys_get_temp_dir)6 Z* n/ F, F5 s, a
  727. ; sys_temp_dir = "/tmp"* z; I. V# }: G4 |7 h0 L

  728. 8 T) [* Z4 t6 y) F* R
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work- m# V, _/ ?# |2 g& Z+ E
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    $ V$ h0 Y5 C4 z6 r: Q
  731. ; disabled on them.- y% B! v9 O  U- V" W
  732. ; http://php.net/enable-dl
    5 T( Q  W/ o7 ?" D& m# ^9 K! t9 o
  733. enable_dl = Off
    : p: x% q+ @6 r7 S

  734. ) J; O5 P3 B; o  q8 a
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    3 D( \3 e2 l9 t( ~5 X$ h  `
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    , T. I% c9 {# O8 o  d' [& A7 t
  737. ; turn it off here AT YOUR OWN RISK& O4 t" J) ?4 F9 r7 Y5 `
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ! H& {& k! L% S% c5 [/ U2 g2 L9 S/ L/ c! T
  739. ; http://php.net/cgi.force-redirect& s* ^9 ]1 J6 W: f$ @
  740. ;cgi.force_redirect = 1; O0 k5 |4 q5 o$ m7 G7 a
  741. " [. H) w! R" b5 R  G8 I
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with3 f. \1 j+ O2 B# w/ ]5 C/ b( l5 U: m
  743. ; every request. PHP's default behavior is to disable this feature.
    # K6 G3 g3 J9 G6 Q3 D- @4 j
  744. ;cgi.nph = 1
    $ L9 i5 h* a6 O1 _
  745. 2 ^- I  @3 U- C. M2 Q
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape: y3 @: I: |  \& O
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP  Z& S- {; Z, V& X9 l
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY7 f. F0 c" f& i$ P  Y3 U3 P% A. Y
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.! q" m* O1 T/ m. a* K3 ]
  750. ; http://php.net/cgi.redirect-status-env% x, u- @$ k1 ~1 Q9 P2 \+ q
  751. ;cgi.redirect_status_env =: \6 w+ w9 P& r0 p' p

  752. ; G) L5 @4 A5 T  x  V! f
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    7 \3 B$ S# s, E# H& @
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok$ o! B$ E$ `- H( G3 ^
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    % R1 k7 @0 V$ {1 v) |" z
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting! H. y$ _. r+ W# O$ r6 h7 @
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts" e: g8 A4 A% n
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ) D: B! @6 A( q# S" `$ S5 y" {: {
  759. ; http://php.net/cgi.fix-pathinfo
    0 B4 Y+ ?! O+ o3 w) L
  760. cgi.fix_pathinfo=1' |8 I% h! E- J. x" y: d* F2 J

  761. ; T7 o5 G2 l$ e3 l3 ^1 \" Z
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    " {2 A2 Z1 g8 X3 G6 C8 d* G' F2 z
  763. ; of the web tree and people will not be able to circumvent .htaccess security.5 ^- z+ [2 N8 H6 t) ?- y" z8 [
  764. ; http://php.net/cgi.dicard-path
    9 P1 H8 o0 r6 P6 G. R
  765. ;cgi.discard_path=1
      `& p1 Y$ ]- l
  766. 1 \5 u2 N3 n& F
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate" v  f( h; C  U* c4 w. i
  768. ; security tokens of the calling client.  This allows IIS to define the& ~1 e: x. J9 V* {' I( Q! _
  769. ; security context that the request runs under.  mod_fastcgi under Apache! ?5 B6 c# u* q. z
  770. ; does not currently support this feature (03/17/2002)! q6 p) q2 D; y2 r+ I5 @7 R
  771. ; Set to 1 if running under IIS.  Default is zero.2 d( a6 @* c7 L, Y( |) Q/ @
  772. ; http://php.net/fastcgi.impersonate3 z- v4 n4 g% R# R! z9 D$ u% ?
  773. ;fastcgi.impersonate = 1( J0 @- p% y+ j/ W5 k! h
  774. ; O+ N7 w7 h' }# ]5 {2 C% n
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable; {4 j+ f. R  M) p
  776. ; this feature.
    ; u" F' R: Z% }$ w
  777. ;fastcgi.logging = 0
    2 F6 l! G5 s, Z$ ?; b

  778.   d2 r4 `# N0 ?9 W/ x2 V; S$ k6 J
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ) F9 n6 |+ ~% X" R9 `  y
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that( B) x3 [8 t  V  o1 _
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    9 o9 h7 O/ a5 k$ u  ^  H
  782. ; RFC2616 compliant header.2 A* j, a5 U8 L$ h
  783. ; Default is zero.
    5 Q% K; F) Z# o5 y/ w2 n
  784. ; http://php.net/cgi.rfc2616-headers& K# ~2 _# B( r$ D" `. ]; @
  785. ;cgi.rfc2616_headers = 01 u; N) [+ {/ {0 L4 ]
  786. * |+ |6 x; E8 ]7 p2 j- a8 u/ N
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!( {1 d# o9 S: y4 c
  788. ; (shebang) at the top of the running script. This line might be needed if the- e- Y4 {' x/ W- x3 P: s" K  E
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    # j; k# T. \5 a: ?3 R" Q
  790. ; mode skips this line and ignores its content if this directive is turned on.
    5 s( m* Y% ?& A( S
  791. ; http://php.net/cgi.check-shebang-line; F; q" x8 I4 L; E" t0 m
  792. ;cgi.check_shebang_line=1& q* I" @9 F+ _9 ~1 l( o

  793. - u! j: @0 J  G
  794. ;;;;;;;;;;;;;;;;
    $ [. o- a! m" P" ]3 }* C7 h9 s% e1 I
  795. ; File Uploads ;
    ' ?- K# a& S+ U
  796. ;;;;;;;;;;;;;;;;
    & j1 ?- x+ p0 Z! d- j$ `

  797. 0 Y9 [, Q' x9 Y/ v, h4 g
  798. ; Whether to allow HTTP file uploads.2 u8 f4 K1 o2 f8 K0 e' y
  799. ; http://php.net/file-uploads( M6 ^/ p' U7 j. V' s
  800. file_uploads = On4 o; `0 n, s' T. Z$ B" X
  801. $ `' J5 r3 i' ]' A5 _* ~
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    0 u" d) w5 P' M0 ~
  803. ; specified).
    ; u7 A3 `5 A/ u: y& F- `
  804. ; http://php.net/upload-tmp-dir
    " o  s* w) x6 h1 ~0 [& C+ t
  805. ;upload_tmp_dir =
    : H8 }5 o5 u: f. Z% |
  806. * V6 G( W: |' K' z
  807. ; Maximum allowed size for uploaded files.
    5 y1 E/ ]9 M; Y9 W/ Z
  808. ; http://php.net/upload-max-filesize
    ; T$ e1 P/ @  q) V
  809. upload_max_filesize = 50M
    + a! J6 v/ a* p% N) R' w

  810. # o  E% s+ o2 L; c1 s0 _2 q
  811. ; Maximum number of files that can be uploaded via a single request
    5 S6 c" n, g1 |6 u
  812. max_file_uploads = 20
    % d5 o% ]5 v" D  |  ?/ C" n
  813. 8 v4 W$ z+ o. y6 \8 z
  814. ;;;;;;;;;;;;;;;;;;' b$ A0 c4 y* {1 p9 u: a
  815. ; Fopen wrappers ;
    5 ~* D' F; Q# D7 y
  816. ;;;;;;;;;;;;;;;;;;, a# f# R& k2 J! G
  817. 1 f  F0 @8 s) ]- ^6 N  O, Y+ l1 f
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.5 `  m1 m* V" G
  819. ; http://php.net/allow-url-fopen6 r* c: m7 F) g
  820. allow_url_fopen = On
      z5 E: o0 |$ I2 w9 q- o
  821. 0 Y: F  d) S0 l6 P1 Z
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    3 A- `6 E! C: U% J3 x
  823. ; http://php.net/allow-url-include
    * N0 ^" q& ?6 ?5 U& u8 V5 J
  824. allow_url_include = Off. ^5 Q  x5 U- e8 `, V$ j

  825. : M: m4 T1 I; w! h
  826. ; Define the anonymous ftp password (your email address). PHP's default setting0 v, T* h4 D8 g& C, p7 Q
  827. ; for this is empty.. O3 N" i2 w' Z9 u. q
  828. ; http://php.net/from
    - Y+ N$ E# R0 n: G( \$ M
  829. ;from="john@doe.com"
    7 e/ B9 k  B6 g# G  W) ~+ B+ w; i
  830.   e: ]6 n+ {) r$ a; R
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    6 `& B1 j# K) s& p; M5 K8 ^# a, Y
  832. ; http://php.net/user-agent7 o7 x0 \. x9 J+ w  E
  833. ;user_agent="PHP"
    , h3 H. Z  n$ z
  834. 3 {! i+ o/ ]' i( Q' a# A+ l; ^
  835. ; Default timeout for socket based streams (seconds)
    : x+ {; V; `! }" J+ p; j
  836. ; http://php.net/default-socket-timeout
    4 Q, {% J5 ?6 |! t4 Q: v: _/ k
  837. default_socket_timeout = 60
    5 R) a9 r- \6 S8 Q" x- R: {5 z" c
  838. 0 D( V! o6 j! |0 i6 P) A8 c
  839. ; If your scripts have to deal with files from Macintosh systems,
    ' P# _2 Q3 l! K6 r
  840. ; or you are running on a Mac and need to deal with files from: T/ M0 t: m3 m' y
  841. ; unix or win32 systems, setting this flag will cause PHP to2 Q7 ^8 q/ {. \0 L$ T. ~" F2 M# c( d+ g
  842. ; automatically detect the EOL character in those files so that
    / e  O# V5 T4 Q  I
  843. ; fgets() and file() will work regardless of the source of the file.
    : I. X* s& G- a; s) V! o/ v
  844. ; http://php.net/auto-detect-line-endings: T/ S6 z- g) b5 i* m
  845. ;auto_detect_line_endings = Off. ?8 Z4 P& z+ F  ^  \# }% M
  846. / X+ I) W4 \; m& B* M
  847. ;;;;;;;;;;;;;;;;;;;;;;
    " t* E, r0 ~7 Y1 T" j: ?; _
  848. ; Dynamic Extensions ;" x+ n, k% u% X$ G9 Z
  849. ;;;;;;;;;;;;;;;;;;;;;;
    6 H6 L2 J9 `* z4 w& Q( M: m
  850. & J2 _/ t8 F6 v% a- ^* H0 a
  851. ; If you wish to have an extension loaded automatically, use the following
    - y* R. z) O- F: B! R1 Z
  852. ; syntax:6 t+ P) m' K/ Q% q* }6 r/ ]
  853. ;% v5 g4 r5 B, x# a
  854. ;   extension=modulename.extension
    / }' I% I% f9 n$ v) \- r
  855. ;
    9 C, Y8 t2 Z6 B3 W8 y3 }
  856. ; For example, on Windows:% p$ h4 {. V7 L$ K- b) S' D/ G
  857. ;
    - B0 y4 Q+ E5 |& K( Z
  858. ;   extension=msql.dll
    # O; q" m3 Y# B. T6 c" q
  859. ;
    ; y" `$ F& Q2 E8 X
  860. ; ... or under UNIX:" F* e& b0 E0 W+ ]; ~0 I. @
  861. ;
    ' H" q$ \0 e1 @4 v& ^. W* `) A. [
  862. ;   extension=msql.so' h% E/ X; h) M2 y1 |
  863. ;. E; ]" Z) S$ d4 a6 q
  864. ; ... or with a path:
    $ `$ I2 k5 I: ~) n; ^4 a8 {5 B
  865. ;" g% }0 `6 ~" N3 @" m
  866. ;   extension=/path/to/extension/msql.so2 F4 B, a) R. f9 p
  867. ;
    , k5 j: i9 s& z- O7 Q: y
  868. ; If you only provide the name of the extension, PHP will look for it in its
    4 I! o4 W+ ~7 k1 g8 {2 j0 O
  869. ; default extension directory.
    # ^* a1 C- I2 t* Z2 [
  870. ;
    ! }. z; O8 {' U! \% f  F" @
  871. ; Windows Extensions# j, Z  {5 l' x: g9 n% {6 R$ e# n
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    9 P1 U' }& ?4 u5 I
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+). j' E9 V$ ^1 P; i+ g) C
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).* m: P& v+ r- b" G
  875. ; Be sure to appropriately set the extension_dir directive.3 v1 p1 b2 ], X. |
  876. ;, v# H0 ]" N- ]5 _
  877. ;extension=php_bz2.dll
    ' G& P& L. a# b
  878. ;extension=php_curl.dll
    4 i8 h, r% f6 {5 Y. W) b
  879. ;extension=php_fileinfo.dll
    % i6 H5 P$ \  l
  880. ;extension=php_ftp.dll
    9 \1 W* f+ t1 s  Y
  881. ;extension=php_gd2.dll
    , G* l5 @  `- Y0 T& h* N
  882. ;extension=php_gettext.dll
    0 D' ^( m+ D) Q2 x; p6 \# B# ~
  883. ;extension=php_gmp.dll
    ' `/ [# |. [# }. {7 Z+ p3 l
  884. ;extension=php_intl.dll" ~* [# p- L1 }$ Y  e
  885. ;extension=php_imap.dll& o9 {$ T( E1 K( Y& O) {- X# o- @
  886. ;extension=php_interbase.dll
    4 P8 f, R8 t7 e% v) b
  887. ;extension=php_ldap.dll% Y. ^& C1 D' y, t
  888. ;extension=php_mbstring.dll3 ^6 i) s. K* |: O& H: q6 @( W
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it$ n1 s, \1 s% K
  890. ;extension=php_mysqli.dll
    ; {# H; S# ~! l1 y9 j6 n" ~
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client. o' ^! _4 H$ I2 d% V7 c0 C
  892. ;extension=php_openssl.dll$ ~3 C2 k/ {! C# x* u
  893. ;extension=php_pdo_firebird.dll+ h7 K7 r) ?" x* P' _! L- N) V8 V
  894. ;extension=php_pdo_mysql.dll5 g" j4 A; n7 r
  895. ;extension=php_pdo_oci.dll( G* Y: d) ?- H8 w9 g: Q3 O
  896. ;extension=php_pdo_odbc.dll: p9 A8 Y" W; t  m8 \
  897. ;extension=php_pdo_pgsql.dll
    - V& F/ n9 O  L! }
  898. ;extension=php_pdo_sqlite.dll
    6 G# X) ^2 n1 O1 R
  899. ;extension=php_pgsql.dll+ p7 ]. C# O4 G5 i
  900. ;extension=php_shmop.dll
    ; y8 A( W9 U% |! j5 b' t, p

  901. ! }- [2 l% V! \2 z6 {( N/ L: n2 j
  902. ; The MIBS data available in the PHP distribution must be installed.* V6 c+ l# ]% v; b
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ' l2 @0 i0 P' H  K- F3 f, g8 ^9 h2 H5 |
  904. ;extension=php_snmp.dll
    0 o$ }0 w, l( C8 C4 h

  905. & r$ E: O- Q& i
  906. ;extension=php_soap.dll
    ) }$ b, a% {. F: V* K
  907. ;extension=php_sockets.dll7 V& b$ X. r8 E1 d
  908. ;extension=php_sqlite3.dll
    3 Y0 j+ f% m7 h% b: y3 N. d; Z% x% H; `
  909. ;extension=php_tidy.dll
    9 R. C; r4 [% k8 k% ]
  910. ;extension=php_xmlrpc.dll
    / A7 [. N: I7 i, ~
  911. ;extension=php_xsl.dll! ^- d( U8 {3 p- I# v6 m8 `7 D# {

  912. + _/ p8 b6 y7 Z' B5 O: j
  913. ;;;;;;;;;;;;;;;;;;;7 J3 K" h6 l! T0 t
  914. ; Module Settings ;
    # L- k5 S. O. `) J4 [0 l
  915. ;;;;;;;;;;;;;;;;;;;8 H; f* r( K& p

  916. " ]$ U' E/ J8 V  M
  917. [CLI Server]0 P6 \4 `  N8 D7 C, p  y, |
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.2 K% W" i, J. I
  919. cli_server.color = On$ V1 }9 \' |2 f

  920. 2 q' E8 F$ v( X7 [' @, u
  921. [Date]- [4 v! {8 S8 M% j
  922. ; Defines the default timezone used by the date functions7 w2 y' O7 ~4 k
  923. ; http://php.net/date.timezone
    1 e) e9 w5 P2 w1 }
  924. date.timezone = PRC
    . S* j! T: [& D5 q7 V# X9 J
  925.   {8 \8 B8 C3 o! i4 Q- J, k
  926. ; http://php.net/date.default-latitude
    9 P2 w' q- d2 p7 I! e3 H
  927. ;date.default_latitude = 31.7667
    ( c1 k' S' S1 f) h8 f
  928. 5 k3 J$ ]  A0 V2 J7 l& m
  929. ; http://php.net/date.default-longitude
    6 E; D3 [0 j' f+ \, ^2 z
  930. ;date.default_longitude = 35.2333, ?. w- x$ j* n$ N- }% p* e
  931. 2 @' m+ k$ W. y! u+ I) I( O
  932. ; http://php.net/date.sunrise-zenith
    & B/ U" T% y# G  {, q5 V. n& w
  933. ;date.sunrise_zenith = 90.583333
    8 I$ l, ?) |" |3 N% p( l

  934. " y: V/ O; l, S% Q# A
  935. ; http://php.net/date.sunset-zenith$ P6 I5 z; W$ @: ?
  936. ;date.sunset_zenith = 90.583333
    , ?- _* l4 d; {! `: W) X. p+ F
  937. 6 T2 G/ j! ~0 P# e, _
  938. [filter]9 s2 s7 m4 o4 j9 z5 w
  939. ; http://php.net/filter.default
    # q8 \  s' W$ }6 D; N3 t3 L/ j
  940. ;filter.default = unsafe_raw
      ?- i* x7 K  r7 n

  941. . D$ A4 E5 y' p" Z! x$ A& g: Z# o
  942. ; http://php.net/filter.default-flags
    " `( W. J2 [4 Q  C
  943. ;filter.default_flags =3 Z# v7 i: v8 ^3 k, o* w

  944. * p( x( ]  ]" K/ N9 {1 y
  945. [iconv]
    " T9 r9 C- j  U+ {# w
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.+ \" X$ y/ h/ W& ~) Y
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ; y9 q; }1 N7 |2 z+ v3 @
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    6 ~2 q0 V6 ~  b
  949. ;iconv.input_encoding =' R4 P, F6 x: r5 _
  950. ( Q7 R1 o( G+ p8 Z
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    - e) L) L! k- [" Y. Q! ^
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., e$ X9 ~  {: K
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 o( N! {' L+ z* B+ }0 I
  954. ;iconv.internal_encoding =
    4 l# T- O' d2 A; m3 |
  955. 6 ?! M% R5 |4 @
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.  }2 H4 r+ Q$ J2 ^4 A$ |
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    , ~# R/ A5 a9 ?* |4 E% V- [( J+ z
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    1 S- w. m0 Y, C1 G
  959. ; To use an output encoding conversion, iconv's output handler must be set
    & l7 _2 v# L; |" A& \5 L' D
  960. ; otherwise output encoding conversion cannot be performed.
    8 ~9 _. D4 N8 o0 w/ ?/ y( m
  961. ;iconv.output_encoding =0 j8 L! I5 ?# ^1 W, y4 q

  962. , h! x/ `  x0 n" G7 ]
  963. [intl]: A2 m4 C/ K) X- B. e) B+ x3 ^# z8 |
  964. ;intl.default_locale =
    2 ?& R* A$ e" F$ r8 k
  965. ; This directive allows you to produce PHP errors when some error% i( }; i, k# l
  966. ; happens within intl functions. The value is the level of the error produced.% P& w4 B  R! s9 i$ c8 G1 R
  967. ; Default is 0, which does not produce any errors.' d3 C/ j; Q+ u  r) e1 C1 Z& r
  968. ;intl.error_level = E_WARNING
    . P. N& L7 L: _* p, Q; f
  969. ;intl.use_exceptions = 02 ?& \/ F0 s: z, R) u4 e) e
  970. $ K* }" {6 g- t) C: e+ p0 m
  971. [sqlite3]/ G/ ~6 P* P& f' n, \3 M  x- r
  972. ;sqlite3.extension_dir =
    : @, J5 L& _, W
  973. 4 O- a' r6 c% l: n, w
  974. [Pcre]' m: ]. O2 x3 ~% @  o) ?
  975. ;PCRE library backtracking limit.
    # V$ ^0 W; ~- ^$ G
  976. ; http://php.net/pcre.backtrack-limit
    / P- n$ q- L$ ~
  977. ;pcre.backtrack_limit=100000
    ; K2 E' _" s- r4 N* I. ]

  978. 1 _5 f) K, x: T2 K6 t: h3 N
  979. ;PCRE library recursion limit.* Z* K, W+ k) L
  980. ;Please note that if you set this value to a high number you may consume all
    3 y. p  s+ l9 o
  981. ;the available process stack and eventually crash PHP (due to reaching the9 I3 w4 {( M) u
  982. ;stack size limit imposed by the Operating System).3 ~5 V& I: x/ ^
  983. ; http://php.net/pcre.recursion-limit
    , y0 h0 o* C1 v( G, Z* B3 q
  984. ;pcre.recursion_limit=100000; q$ s8 q$ h8 U8 E
  985. ( ]' A/ R8 j0 f: P& k1 d3 n
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE( N# {# r7 j- |: B$ r! E
  987. ;library to be compiled with JIT support.# s) R2 O6 G8 n% ?8 a' H1 U
  988. ;pcre.jit=1
    ' v0 `2 p. i4 I0 m; E8 y; n

  989. 4 ^1 c. S) t2 Z) y# s/ x" ]7 [
  990. [Pdo]. b" Z3 e. V5 Z  y  _! @2 F
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    0 ~7 i2 U( |+ U+ d& ~# H! Z
  992. ; http://php.net/pdo-odbc.connection-pooling* Z8 {8 n1 j% y. K4 P1 w( X
  993. ;pdo_odbc.connection_pooling=strict
    & t! z: A. A" R- O* p1 ~0 `" o

  994. - e5 @# _1 G7 X) y3 m$ c1 |
  995. ;pdo_odbc.db2_instance_name- X9 z4 o/ f- H
  996. ! ^6 u4 S! c3 z. i( u2 n
  997. [Pdo_mysql]
    & @/ }/ G$ G& o7 R% `
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache! x9 w$ ~, i/ q% Y! |
  999. ; http://php.net/pdo_mysql.cache_size: c) |3 u0 l& h; F. @: x) }* X
  1000. pdo_mysql.cache_size = 2000
    4 R3 m( X. ~4 h) v: I2 y6 M
  1001. - m3 q8 K/ v) e: [! M, G
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in& ~, e' O) \$ S- P
  1003. ; MySQL defaults.
    8 v* X: R" E5 K8 k5 c
  1004. ; http://php.net/pdo_mysql.default-socket7 H. e: Y9 F% Q
  1005. pdo_mysql.default_socket=' ~' j( U$ m% K% {
  1006. 6 }3 O9 e. h0 v& I
  1007. [Phar]
    ) p. w! B6 P/ m! _5 R1 ]
  1008. ; http://php.net/phar.readonly
    ' r; |* i% R* U& J" _
  1009. ;phar.readonly = On3 {( |( a5 w3 L3 |
  1010. * G% o; p( `/ M( ]" }
  1011. ; http://php.net/phar.require-hash1 U6 H: S9 u8 z# {% l1 J
  1012. ;phar.require_hash = On
    : q! M3 a1 p- d
  1013. 7 u# S. A  B6 T
  1014. ;phar.cache_list =
    9 _& b/ z0 b5 P0 M" p+ R% q$ k2 V

  1015. " k6 X$ j( }$ ~- [1 {- i
  1016. [mail function], ~7 J7 R' ~) S9 t
  1017. ; For Win32 only." y  X/ h/ ?# e3 i# r3 Q
  1018. ; http://php.net/smtp" Z, o/ I4 F) o# R
  1019. SMTP = localhost
    9 h2 y% ?4 O2 N" A3 r1 {$ i1 J
  1020. ; http://php.net/smtp-port
    . H& R: k" V: k  W5 _* [
  1021. smtp_port = 25
      X7 R* m' S( Z5 y3 `! o0 G

  1022. # q9 @8 o# W8 d$ ^% v' s% ^3 |* Z- d
  1023. ; For Win32 only.
    3 d) o, }) ?  _5 t* b9 F/ V
  1024. ; http://php.net/sendmail-from8 D; ?$ |6 Z: R% s2 ]. I' Y
  1025. ;sendmail_from = me@example.com
    3 m9 n$ {9 c" Q4 `: J
  1026. - {$ q: ^7 P( E4 k9 h( D! G
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").1 W7 x6 f8 K) I5 |4 u! j3 `' v1 g
  1028. ; http://php.net/sendmail-path
    1 x+ z( S+ p6 w: w0 _: ?- \
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    - J+ x, o- u: X8 V* \6 r

  1030. % ?, A& Z$ w  k
  1031. ; Force the addition of the specified parameters to be passed as extra parameters/ G6 M7 I! c+ D1 t0 n6 v) w/ j' C
  1032. ; to the sendmail binary. These parameters will always replace the value of4 G3 {6 c. y8 }9 }5 z" J, ]- O4 z
  1033. ; the 5th parameter to mail().( F% k( m( _. ~' f2 L. H
  1034. ;mail.force_extra_parameters =) B4 n1 ~! K  N5 V4 Q

  1035. 8 |6 W3 h0 }6 U9 A
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    4 v2 `1 P$ j" I1 V  X$ \
  1037. mail.add_x_header = On) ~2 S, m6 X  Z) T: {! T. x
  1038. 0 t* d. y0 B9 Z" B* \
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    8 y$ C9 V: R4 O" E6 N& N
  1040. ; the full path of the script, line number, To address and headers.
    ; [+ F/ n$ ^. l3 L1 M6 A
  1041. ;mail.log =
    3 L2 Q9 O" S) {' p, |
  1042. ; Log mail to syslog (Event Log on Windows).6 o% q* p9 q8 N% R3 i8 K
  1043. ;mail.log = syslog
    . d' }! |# k7 ]1 P7 F0 f* E+ x

  1044. / W$ ]* c, u0 L4 `
  1045. [SQL]" M( o+ }+ x2 f. ?1 K$ T0 z
  1046. ; http://php.net/sql.safe-mode; U- a0 ~- `7 A/ D
  1047. sql.safe_mode = Off7 F3 `; B6 D- `! ~( ]
  1048. / t. u  \% O5 T+ E
  1049. [ODBC]
    : ?* j) p1 z: C8 z' ?! j9 j2 H7 Z1 ?
  1050. ; http://php.net/odbc.default-db" O! j9 a: W9 Y. _/ ~
  1051. ;odbc.default_db    =  Not yet implemented/ M5 |4 G2 \8 h5 K
  1052. 8 s& B9 m6 ]* [' k5 K2 B( U3 R
  1053. ; http://php.net/odbc.default-user
    % y( \# o2 U$ S; S4 S; d" [( E- @
  1054. ;odbc.default_user  =  Not yet implemented
    . ~4 l8 ^9 o: V  ~/ @

  1055. 3 ~( L7 d2 d  m8 @8 r; U$ H' ^  z
  1056. ; http://php.net/odbc.default-pw* r3 G) w6 V. n* W
  1057. ;odbc.default_pw    =  Not yet implemented  l: ]: m/ l+ J" P& u* E1 ~
  1058. : ^$ j  L8 g  [
  1059. ; Controls the ODBC cursor model.
    8 b& P7 ]/ x9 U
  1060. ; Default: SQL_CURSOR_STATIC (default).& b. I  H& u% a& @) o, ?6 U: D6 l1 }4 g
  1061. ;odbc.default_cursortype
    & k( w- {- K- T0 A$ l9 ?3 r

  1062. " D+ x2 L. Z. B
  1063. ; Allow or prevent persistent links.
    5 u+ Y9 \2 h7 _/ @0 Q) [4 G
  1064. ; http://php.net/odbc.allow-persistent
    ; v* Z8 Q/ S. @+ H3 ~
  1065. odbc.allow_persistent = On6 O' I# C8 U. x* a  c  ]! o

  1066. ' K. N9 ^% w( f  j) g) _
  1067. ; Check that a connection is still valid before reuse.8 f/ {$ e$ [, U6 {
  1068. ; http://php.net/odbc.check-persistent
    . I! _' n2 q' x% B
  1069. odbc.check_persistent = On: i9 T  C; p/ a) k' I, Y

  1070. , q% E/ H8 \* b) U, ]
  1071. ; Maximum number of persistent links.  -1 means no limit.9 Z4 j6 @" B4 H
  1072. ; http://php.net/odbc.max-persistent
    " S5 ^9 u. x, J* Z/ l
  1073. odbc.max_persistent = -1/ d, b% H& o( j4 h6 `1 B3 C

  1074. . ~9 C8 g/ M  o& i  s7 c
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( h  d9 B. m9 V
  1076. ; http://php.net/odbc.max-links
    : g& D3 h* X) @5 F. S' z' ~
  1077. odbc.max_links = -1
    - D2 \. K5 S1 h9 M5 J

  1078. 3 O% U4 z1 s1 h' k" \
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means5 K, {: N+ S7 }3 B
  1080. ; passthru." b  B* w' |: Q  B
  1081. ; http://php.net/odbc.defaultlrl
    5 h# d+ n, E# l
  1082. odbc.defaultlrl = 4096- z, h7 v( W* G
  1083. 2 Y* T& j. r: b7 p
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    7 _" D/ A) P" [0 k
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    " x1 I" X( Z8 c: o1 Q
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode% F& I+ p; F  T# f
  1087. ; http://php.net/odbc.defaultbinmode
    0 i9 @( i! |/ i3 A! @8 x+ `2 _( d
  1088. odbc.defaultbinmode = 1) v% }; T" q2 ]* }( v
  1089. * @: i8 L% Z6 `7 z8 V5 ~
  1090. ;birdstep.max_links = -1) h" h, G! V2 j( M9 o+ x! W

  1091. , \  b- S# c! l. [$ v' C
  1092. [Interbase]
    : {, Y) @, I$ W3 _
  1093. ; Allow or prevent persistent links.4 {3 h# B* {6 `6 x
  1094. ibase.allow_persistent = 1) T( e' |0 e& e; S( {' T

  1095. - z, E/ o8 P" D2 L( n2 f3 \( R% V
  1096. ; Maximum number of persistent links.  -1 means no limit.
    5 w" n/ [$ O  u5 y3 d3 i' _
  1097. ibase.max_persistent = -1; D9 ~0 ^4 k7 e5 B. c$ p
  1098. 1 R7 }9 j( O1 S) Y3 M6 T
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 i( r# }8 O3 o6 a" R  P( B7 h
  1100. ibase.max_links = -1
    ) g: f7 O8 C6 G5 u

  1101. # Y1 H% r& o" Y; q
  1102. ; Default database name for ibase_connect().
      ~8 b2 N* l! V: U$ i. |& m5 V5 E
  1103. ;ibase.default_db =
    ( F& T, w- r7 ^% O" g& |# M1 i
  1104. " m; I* S* q* G
  1105. ; Default username for ibase_connect().. T) t1 U/ Q* K. e. `, D3 T! i: R
  1106. ;ibase.default_user =
    - i' \2 a3 V9 ^: ]/ X/ \' {

  1107. 9 r+ D; F3 U% z# ^; x0 X2 ]( ~/ w; ~
  1108. ; Default password for ibase_connect().) d& }3 K; n6 }* ?
  1109. ;ibase.default_password =
    & F; D. M" i0 i) Q6 P# l* r

  1110. : g+ T1 B  V5 |) T1 f
  1111. ; Default charset for ibase_connect().
    3 x  x0 X; h8 {5 v
  1112. ;ibase.default_charset =
      t- n. e- Q" L" l6 Q% P% d* S1 k

  1113. & M  _, [( z: Z- a0 B9 Y  P
  1114. ; Default timestamp format.
    ! F  D1 d% s( D: G
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    1 g2 B, ?& n% l5 B8 H- {

  1116. . d1 j$ M# q* z/ ^2 b
  1117. ; Default date format.
    + G, ]7 J# K/ x
  1118. ibase.dateformat = "%Y-%m-%d"# o- J* @5 |$ W/ _3 ~

  1119. 3 S7 W) e1 l% ~" @( o. e
  1120. ; Default time format.
    . w$ e- A% X$ \- J, {
  1121. ibase.timeformat = "%H:%M:%S"
    ) l' E# F! y4 ]) @8 [. @

  1122. + c1 r0 X1 k2 ?" L
  1123. [MySQLi]
    % }2 g5 [0 d' Q$ w1 @8 q4 m2 g
  1124. - _5 A! g& n6 h: |* k
  1125. ; Maximum number of persistent links.  -1 means no limit.# M. A$ I/ n7 C1 g8 U" j% `; a
  1126. ; http://php.net/mysqli.max-persistent: Y6 p9 u7 g1 V' U6 {3 K
  1127. mysqli.max_persistent = -1
    , \3 |: n& q; E" ^
  1128. / F& a) a' C8 ^8 K: v$ S
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    % Q, Z" l9 t! g6 G4 R2 ^5 l- r
  1130. ; http://php.net/mysqli.allow_local_infile* Y/ j' R) d3 Z# h) B
  1131. ;mysqli.allow_local_infile = On$ o$ u; l; n! M, ]

  1132. 2 O; ^4 {( [" [8 x
  1133. ; Allow or prevent persistent links.
    ) [4 z" {" n/ A8 n, o
  1134. ; http://php.net/mysqli.allow-persistent5 f% `9 `" }1 i+ R
  1135. mysqli.allow_persistent = On
    6 v0 z; `; _& K2 s! w: M

  1136. 2 L* y5 v+ }) ^( e: M
  1137. ; Maximum number of links.  -1 means no limit.
    & P' }$ n$ \! l; S7 ?, R9 H  m
  1138. ; http://php.net/mysqli.max-links
    ' E; E  ]1 `! i; ?2 B# D; H
  1139. mysqli.max_links = -1
    3 d; D1 ^, W: {# v: E9 z

  1140. " V3 ~2 y4 j$ k
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache- H3 Y+ S% U/ Q
  1142. ; http://php.net/mysqli.cache_size
    8 ~3 X. j# g6 H' O
  1143. mysqli.cache_size = 2000. s/ I) n7 ~1 t) g8 g% Q0 P% M4 }
  1144. $ M1 C. j3 Z, `' Q4 L
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    3 Y; q$ \( B2 a* U
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    1 t; i4 a) P5 K
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look% P9 y8 ?) [; A! c/ t
  1148. ; at MYSQL_PORT.
    6 G, H0 Y# ~9 P- _# s, C
  1149. ; http://php.net/mysqli.default-port* H+ b  d# y- I# b2 q
  1150. mysqli.default_port = 3306
    ; f. e1 O* t$ {" w' Q1 e/ M% h2 i! {

  1151. ' q2 T" w2 o# @4 s6 w& I+ _
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % N* {2 R, j0 d9 v
  1153. ; MySQL defaults.( b, N2 m9 `7 D4 r' G
  1154. ; http://php.net/mysqli.default-socket, [+ a. m$ n" N! P; D. F
  1155. mysqli.default_socket =7 D/ J; C" D4 z3 ^

  1156. ( x# W- X  o4 @4 ^# }
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).! B7 v- |, _" b) q6 W$ L8 p
  1158. ; http://php.net/mysqli.default-host8 V: I, d0 ]6 S1 e/ g
  1159. mysqli.default_host =
    - }5 e+ G. X: Y- _( J, n

  1160. + _" b- ~1 S  P$ G$ F3 J1 p
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).: Y2 R1 r3 f. D! i) N+ Y5 u
  1162. ; http://php.net/mysqli.default-user
    ; U6 q- t* d; @. {2 e) d9 b9 j: B
  1163. mysqli.default_user =& N5 V, G# m; u1 o2 R. j
  1164. 8 d8 S1 Y: h! ^. ^8 j2 n# H2 Q
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).6 R/ F/ a  Y) G" f* N1 t8 U5 @
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    - `5 h3 r) l' H, O% g$ a# A
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")2 ]6 ]- X; u4 Z7 d$ }* m
  1168. ; and reveal this password!  And of course, any users with read access to this/ l  ?/ |( _& c1 s' \, J
  1169. ; file will be able to reveal the password as well.; t5 }) l" b2 p- s; C/ U' O4 u
  1170. ; http://php.net/mysqli.default-pw
    # q4 I% N) d% _! H& R! [/ t
  1171. mysqli.default_pw =. p0 ~" O9 I/ T- F
  1172. . h& o! s/ ]( H" M
  1173. ; Allow or prevent reconnect
    , s  h, H/ W- \5 c. U% E
  1174. mysqli.reconnect = Off
    * L# X% x: m/ _" {) h0 }

  1175. / C! F# \9 r4 H. s- p
  1176. [mysqlnd]
    / `0 m& |! l4 q9 |
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be! k9 h$ P4 z  K5 o, w
  1178. ; used to tune and monitor MySQL operations.
    ! {! [" y$ m$ ]% K* c1 e+ T
  1179. ; http://php.net/mysqlnd.collect_statistics
      O5 H, W% `0 K* E0 T# Q
  1180. mysqlnd.collect_statistics = On/ c" ~( v& `/ H9 U2 t' p

  1181. 2 j) w* |. K1 Z: D3 S% S  C8 z
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be& H0 u# W% f5 ]$ N) B2 B$ ]. U, A
  1183. ; used to tune and monitor MySQL operations./ t4 `( \8 W) a
  1184. ; http://php.net/mysqlnd.collect_memory_statistics2 h" y" k6 J/ {3 v  k' T
  1185. mysqlnd.collect_memory_statistics = Off
    3 y7 a# R; W1 B& w% g" Z
  1186. 9 Q+ v9 p: R5 K( W, i
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    3 N0 Y, R6 i: C( b& b9 h7 `3 j
  1188. ; file.
    / o6 F& ~. V+ R; p! Q
  1189. ; http://php.net/mysqlnd.debug) R5 b+ |7 W- _4 m
  1190. ;mysqlnd.debug =
    9 J' x  _, {2 Z4 a0 f" `5 T
  1191. - ?, Z; ^! _. D% z
  1192. ; Defines which queries will be logged.
    % i; c% p# q' [) l
  1193. ; http://php.net/mysqlnd.log_mask8 x1 S/ B# O6 _8 Q3 W
  1194. ;mysqlnd.log_mask = 0/ u( O7 L5 V; S, v
  1195. : l( I- b/ r  `3 d' h) C
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ' ]$ @+ g. o) Z' g8 f
  1197. ; http://php.net/mysqlnd.mempool_default_size- o$ E" \* S2 e0 r
  1198. ;mysqlnd.mempool_default_size = 16000
    8 f) v5 y7 o! s4 P. e( b

  1199.   z' `" s) N/ f$ F
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    / A1 \* i; R" ^8 i7 f
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    " n2 ?; G. l. l, i8 G
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    + D. e$ }& D2 ^8 ^9 [! U

  1203. # q$ t! A- H4 W) ^" d& k4 t2 c
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    3 V9 E" S/ \' D5 z2 L4 U' T9 n
  1205. ; bytes.
    3 e# H; z, A8 I5 X5 ]6 A
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    6 `: O/ V& R4 U4 x( d( Z
  1207. ;mysqlnd.net_read_buffer_size = 32768
      R5 v$ b/ w. K: {9 p6 T

  1208. ( l* h8 a4 Q8 M, R4 [( W; @
  1209. ; Timeout for network requests in seconds.
    % h6 |: }4 ]  O$ K
  1210. ; http://php.net/mysqlnd.net_read_timeout
    5 ~1 b' ~( a" X3 f- s/ H. F+ w' `/ K
  1211. ;mysqlnd.net_read_timeout = 31536000# N* ]5 r& H8 \# S) H6 b  N

  1212. ! |3 _, c. `# ?; f' l9 n- W5 H9 r
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    3 q  ^& y! J2 i" x' _
  1214. ; key.
    ( |1 q: |, n7 v- u: s
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    8 C# X4 ]& r- U; Q% w
  1216. ;mysqlnd.sha256_server_public_key =
    / o) w  T" D3 {# [9 x2 ?) v. |' T

  1217. 4 f, E/ Q( K: F9 X  Q
  1218. [OCI8]) G4 ?+ G0 g4 m) ?. @8 b) F9 i* X

  1219. $ a/ W6 L4 R9 e" a  u
  1220. ; Connection: Enables privileged connections using external
    , B( f8 ?4 {, o
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA); g: C0 z9 M% Q( K" z3 ~: s
  1222. ; http://php.net/oci8.privileged-connect( A; F  H8 v8 z9 h
  1223. ;oci8.privileged_connect = Off$ X  I* L( @6 |) a" O

  1224. " f1 T* |$ j! [9 _7 D8 G
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    ! {9 `% W0 z% J8 Q
  1226. ; process. Using -1 means no limit.! d. |8 i$ Z  b2 Q
  1227. ; http://php.net/oci8.max-persistent
    " a" A% ~, C9 v' `/ _
  1228. ;oci8.max_persistent = -1
    6 }( }& G7 t! N4 l, j) [, W

  1229. 9 {7 M' i- _& {3 Q' }! e
  1230. ; Connection: The maximum number of seconds a process is allowed to
    0 S1 J- h0 L* H  G
  1231. ; maintain an idle persistent connection. Using -1 means idle. T0 f; t$ m0 `0 g0 j$ [( A
  1232. ; persistent connections will be maintained forever.
    / _* ^8 Q7 P  L  z: l
  1233. ; http://php.net/oci8.persistent-timeout( k* B8 W. v5 A* w$ T
  1234. ;oci8.persistent_timeout = -1
    $ l: m4 ?# q6 L7 V( n( @# L' Q

  1235. - Y$ S0 G' m0 P6 E/ u- I. f* c
  1236. ; Connection: The number of seconds that must pass before issuing a" C) ~% [  B6 M/ I0 J+ k% i
  1237. ; ping during oci_pconnect() to check the connection validity. When
    3 C4 Z  H4 O( n2 }
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ; |5 Z* K. m- ?
  1239. ; pings completely.+ {2 \# ]9 v" A3 C2 n7 J
  1240. ; http://php.net/oci8.ping-interval4 u0 W7 H1 \, J
  1241. ;oci8.ping_interval = 60/ Q; f$ i* B! j! s

  1242. 6 e0 J5 @( ~! x  x# M+ |
  1243. ; Connection: Set this to a user chosen connection class to be used. @6 N9 M& W2 w9 e% w. {
  1244. ; for all pooled server requests with Oracle 11g Database Resident  v. h: d& b0 r. S" T9 ^; g
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    " u. u6 F& o% C" ], a+ h5 C7 k
  1246. ; the same string for all web servers running the same application,
    0 m' t  r6 R$ h+ d2 o& k! b
  1247. ; the database pool must be configured, and the connection string must
    ( V1 B; r& t% \! g) i$ k7 {# q' T
  1248. ; specify to use a pooled server.* T" c' W3 U# t9 Q- [! `
  1249. ;oci8.connection_class =8 t8 e- \' F& S( c( H
  1250. ) D3 W3 U# H. z8 a
  1251. ; High Availability: Using On lets PHP receive Fast Application
    5 Q9 Q* `7 j0 a6 O. X
  1252. ; Notification (FAN) events generated when a database node fails. The- a: A: I$ h3 ]) b$ h9 ~* V+ ]
  1253. ; database must also be configured to post FAN events.
    6 M+ [2 N, d! u8 j, m
  1254. ;oci8.events = Off' V* e; |" {7 W

  1255. : Q: X$ J0 u4 u4 P) M, d5 K
  1256. ; Tuning: This option enables statement caching, and specifies how
    : C* [2 B+ z: I. @- H$ g7 m
  1257. ; many statements to cache. Using 0 disables statement caching.
    + ^( c$ X- }, t' j
  1258. ; http://php.net/oci8.statement-cache-size
      p% g; }) ~6 W# I
  1259. ;oci8.statement_cache_size = 20
      M2 |, z& g5 F% F  g! W
  1260. / N. e* N& h$ F" `! K/ Y+ X( ]
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    $ T) y- y& P8 F$ @1 N' A
  1262. ; rows that will be fetched automatically after statement execution.8 V; d; K$ [8 a0 h2 o+ _2 n+ {8 [6 J
  1263. ; http://php.net/oci8.default-prefetch/ W1 ^1 l' F' _0 I7 j
  1264. ;oci8.default_prefetch = 1002 {) ]. I$ g, ~) A9 R% h$ S
  1265. 4 f+ B5 S$ e0 r+ h  X/ }3 O7 C0 v- N6 s
  1266. ; Compatibility. Using On means oci_close() will not close3 Z9 O. `& B5 J# c0 q
  1267. ; oci_connect() and oci_new_connect() connections.+ r) J* P4 A% ^3 a& X- [- _5 C
  1268. ; http://php.net/oci8.old-oci-close-semantics1 C' b, B5 P; q; V7 }
  1269. ;oci8.old_oci_close_semantics = Off
    ' u$ g: ?) _4 Y( |

  1270. . e9 Y1 R% r6 b: [" b1 W. H
  1271. [PostgreSQL]
    " ?- X  ^7 s/ c9 q6 o
  1272. ; Allow or prevent persistent links.
    : p0 h, p3 r  |  t5 f
  1273. ; http://php.net/pgsql.allow-persistent1 }& [2 q2 d8 e* c. y  \
  1274. pgsql.allow_persistent = On
    9 Z$ {# D+ K( H5 u; L% i5 [

  1275. ' {8 T0 d, Y3 b3 z, _1 P( U
  1276. ; Detect broken persistent links always with pg_pconnect().  p( O4 v8 e, w# O
  1277. ; Auto reset feature requires a little overheads.! J" a+ x3 T8 P, M. I* }' b
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ) Y8 y0 s/ w$ |1 F! s8 Z3 V, P
  1279. pgsql.auto_reset_persistent = Off
    , {) T# e, j* A& o! D* P. O$ E+ T  v1 F4 h
  1280. 6 Z/ M! s' z# m
  1281. ; Maximum number of persistent links.  -1 means no limit.) F0 \$ [4 A' A, x% e# y) O2 ^
  1282. ; http://php.net/pgsql.max-persistent4 H; B6 i) F: u2 M
  1283. pgsql.max_persistent = -1
    ; h# F! W. K, t2 d) P3 ~+ D

  1284. - `+ D1 z9 M8 s
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ! P5 Z$ \! p8 L' f: Z" x% O
  1286. ; http://php.net/pgsql.max-links
    - P: g* G! T- r( B% k2 I
  1287. pgsql.max_links = -1# Z+ r+ J8 ~! ~- z; I; E) d# P
  1288. : H' ]. f! l0 n/ [
  1289. ; Ignore PostgreSQL backends Notice message or not.
    6 P( I' f- p4 z& N' L4 l
  1290. ; Notice message logging require a little overheads.$ t* D$ T! E  g7 W
  1291. ; http://php.net/pgsql.ignore-notice- [' C: \& n0 x8 D5 Y# Q
  1292. pgsql.ignore_notice = 0
    ( ~. i2 g+ L& M" @7 E- J/ e' J
  1293. : i% f, f0 U0 q, j* x0 q* D
  1294. ; Log PostgreSQL backends Notice message or not.
    ) H" m1 k0 O5 x: d6 y
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    " X/ G% _  x1 J$ {6 N" w1 {. ^
  1296. ; http://php.net/pgsql.log-notice
    # l- B( d  @/ m( z% c) Y: n/ t
  1297. pgsql.log_notice = 0
      }# Q& k9 C; _/ g9 u
  1298. 6 b* b& b8 t  V  ^- y+ T7 n
  1299. [bcmath]
    9 s8 [# R. r( V4 f1 Z- \6 N
  1300. ; Number of decimal digits for all bcmath functions.
    - J/ P" r# [4 W# a
  1301. ; http://php.net/bcmath.scale
    3 C6 e' m9 I+ {- ^! V" z+ g5 Y; S
  1302. bcmath.scale = 0
    0 Q& N) ]* f7 \8 {. E5 A

  1303. 6 i# Y7 i0 [" w" z' l
  1304. [browscap]
    - b$ i" t- S* _! F
  1305. ; http://php.net/browscap7 B" T$ z( R/ F
  1306. ;browscap = extra/browscap.ini
    8 u- L6 W* g, `/ ?  X. n
  1307. . J( W! Y! d6 I
  1308. [Session]
    # a) I% h- w$ ~. `9 {8 C. W
  1309. ; Handler used to store/retrieve data.# q. {' e3 h: a: Z/ F% V
  1310. ; http://php.net/session.save-handler
    1 B" z6 K2 O4 F9 b
  1311. session.save_handler = files- j0 k& r8 I. d9 p9 z4 V" |

  1312. 4 N9 F) ^9 d& \
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    1 H9 c4 l* L: Y, P! S( }
  1314. ; where data files are stored. Note: Windows users have to change this6 |6 u* K9 d* o7 M, A
  1315. ; variable in order to use PHP's session functions.
    " P8 s3 I- Y; M, V) t# \5 s8 d
  1316. ;
    & s: x+ B3 x$ e- M8 i: K
  1317. ; The path can be defined as:
    $ K8 @+ W4 H- L# M" n
  1318. ;
    ( X- s! X" W# Y6 y# s3 E7 B& ?
  1319. ;     session.save_path = "N;/path"
    ) ]! o# q+ b, l; X* i/ c( q5 L+ {
  1320. ;
    ) ?2 t+ s1 O5 o. @
  1321. ; where N is an integer.  Instead of storing all the session files in
    ; i4 {: m2 e& h% R
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    5 I5 P$ J: b3 f! u% Y4 h! v
  1323. ; store the session data in those directories.  This is useful if) p. g  a7 D$ I- f: A
  1324. ; your OS has problems with many files in one directory, and is
    % t' {! ]1 h7 k! M
  1325. ; a more efficient layout for servers that handle many sessions.
    1 p  @4 l1 w) H) U$ s" X
  1326. ;2 T6 B( j( ^/ \8 I5 y2 Y6 a# f+ K
  1327. ; NOTE 1: PHP will not create this directory structure automatically.2 @# v; E$ _6 w
  1328. ;         You can use the script in the ext/session dir for that purpose.
    5 p' ]3 W: T7 P$ ~
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    7 C+ l6 `5 m0 J* t5 D5 K8 v0 \
  1330. ;         use subdirectories for session storage) q' w5 c% _, }4 i+ l1 P
  1331. ;
    ) S* }, j. m7 U! T. ~
  1332. ; The file storage module creates files using mode 600 by default.! k0 L( m+ I* B# ]8 d
  1333. ; You can change that by using5 I" u8 H$ j: t* r, c" t2 v3 A0 b9 v
  1334. ;- S7 C0 T$ Z) B9 a6 Z9 A
  1335. ;     session.save_path = "N;MODE;/path"6 ^# t% W% M  B- {
  1336. ;
    8 n7 H8 D5 Z7 c" E' n+ _
  1337. ; where MODE is the octal representation of the mode. Note that this* r# w0 I9 Y5 d2 m3 c% d& m/ ]
  1338. ; does not overwrite the process's umask.
    2 n! ~$ r8 Q8 [& Y
  1339. ; http://php.net/session.save-path
    1 D% R) l+ u0 d; W  b0 r9 N% e
  1340. ;session.save_path = "/tmp"
    . R  F" L2 d, {, x6 a; A. H
  1341. * D5 {3 q  @! j% I& [9 C4 Y
  1342. ; Whether to use strict session mode.1 H2 T3 l! Y, \. P  p7 _
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate! H0 A- H4 V( o( n
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects" s) g+ w; I- N$ ]0 _* `  D
  1345. ; applications from session fixation via session adoption vulnerability. It is$ z" v! Q  Z% w( A: B. ~
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
      T; i  I, K' ]) \; T: V0 @, [
  1347. ; https://wiki.php.net/rfc/strict_sessions
    ; M) v, }3 @1 d* w9 @; C( b" z+ w
  1348. session.use_strict_mode = 0  g( @. [6 W0 c+ J
  1349. * c0 F7 j( N; @
  1350. ; Whether to use cookies.9 s1 `( y# O- ^+ v& b4 U
  1351. ; http://php.net/session.use-cookies8 D, _! X8 w6 ^
  1352. session.use_cookies = 14 e) a2 [0 P; O4 r6 q, ]
  1353. ) i5 l% J; T: c9 F" T1 u9 R
  1354. ; http://php.net/session.cookie-secure
      S. o; t9 c& }/ X0 K: Q- f# r+ E2 [
  1355. ;session.cookie_secure =
    8 f- V4 d, @5 `; T9 u$ ~: {4 p& q# Z  P
  1356. 5 ~1 M0 _& C7 N; Z" A
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    2 p; S" T5 G# i- W
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    * L9 a! v2 f0 _  _, O
  1359. ; session hijacking when not specifying and managing your own session id. It is
    / O9 a, e4 K' s3 k
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    5 q* Y) E0 H+ Z% W- S2 u( U7 a
  1361. ; http://php.net/session.use-only-cookies
    0 j8 v: F4 |( W+ G+ o* F
  1362. session.use_only_cookies = 1
      n) L2 g8 y- n! u
  1363. " g$ }0 t2 }! q  E) H! X
  1364. ; Name of the session (used as cookie name).7 [8 X1 K( V) Z, C" _4 S: {
  1365. ; http://php.net/session.name! W  S8 U  c# E$ f, I7 [) Y
  1366. session.name = PHPSESSID
    % N6 K3 N: t& k+ f% u8 S
  1367. $ C, z& P$ B0 R" T5 i; y
  1368. ; Initialize session on request startup.  r0 Y$ q1 ^% p5 k+ C& T/ }& X
  1369. ; http://php.net/session.auto-start  z8 z/ R; ^; v
  1370. session.auto_start = 0
    6 e) W) ^4 q  o% U% o! c
  1371. ! L( \0 q+ e& `, N& \% p- O/ x
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    1 z- v7 e% _) l
  1373. ; http://php.net/session.cookie-lifetime# k! D" L5 G4 d& R" L
  1374. session.cookie_lifetime = 02 y9 ?; R7 C1 a4 a/ }4 Q* K

  1375. 0 p" w; Z" r' }$ S+ \
  1376. ; The path for which the cookie is valid.
    6 h1 e8 \: {9 s. B1 h
  1377. ; http://php.net/session.cookie-path' Y$ j- k2 I, z! m& n2 B
  1378. session.cookie_path = /9 b0 W4 G: g* E( k3 c; G
  1379. * j4 U  @' v/ F# I" \/ Y9 m
  1380. ; The domain for which the cookie is valid.
    2 |& G( b' K1 M: O# w
  1381. ; http://php.net/session.cookie-domain
    # r2 c' e5 D$ P) K' A
  1382. session.cookie_domain =% y+ p! b0 z6 @7 }( ]$ E
  1383. 7 Y6 e$ ^+ N# `% t" _5 A. i
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.- o  p2 x) K9 n  W1 M& g$ z
  1385. ; http://php.net/session.cookie-httponly3 Y9 J+ `2 w! |9 U& j) [; Q5 N8 l$ ~4 N
  1386. session.cookie_httponly =
    ; e2 Z: _; `, H3 T

  1387. 9 v' s1 i) H' [) a3 [6 Y
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    * K6 ~2 ^' o* ?: @2 v
  1389. ; http://php.net/session.serialize-handler0 i6 O9 v3 _2 B  q4 h
  1390. session.serialize_handler = php
    2 P6 _! Q" D, Y
  1391. 7 C7 X. R% _; \* y2 G( S1 G
  1392. ; Defines the probability that the 'garbage collection' process is started7 g1 P/ X# M2 e+ D& Q1 x/ n: O
  1393. ; on every session initialization. The probability is calculated by using
    % A4 l( X3 d+ g1 u, i9 X: }
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    * |* d1 R4 D8 Q" s) A6 o
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1; Y# s6 {& M! N4 S! a5 @
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance/ q, \# J) Z+ \" A0 K" B# _
  1397. ; the gc will run on any give request.
    7 b# k, q1 {1 g1 o- r* a
  1398. ; Default Value: 1
    * Y* H* ?6 s. R; I5 U6 _- |
  1399. ; Development Value: 1' j/ l. F, l; |" i7 D& S/ [/ A
  1400. ; Production Value: 1' w1 `% \' l8 F1 k& m6 r. Y
  1401. ; http://php.net/session.gc-probability
      v6 v, F( @2 q
  1402. session.gc_probability = 1
    ( W3 m# O- B# r- {  A

  1403. # m; x8 y- \0 u( j: j
  1404. ; Defines the probability that the 'garbage collection' process is started on every3 F, w$ [7 j$ g& [, t1 a) ^
  1405. ; session initialization. The probability is calculated by using the following equation:
    2 q5 T/ T$ ?* C+ M6 O, E
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    % v0 H" |6 J+ P, v0 p; q  d+ \) I
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1* \- }- H2 a6 z
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance1 m$ G0 b5 ?  K0 s- C
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    # }) A0 {7 K- r' `4 P( W5 D! [
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    8 \9 z" X0 G" F% W; A" F3 [, @" K
  1411. ; this is a more efficient approach.
    / o2 {2 M, V' C" z' K# _8 z0 ]4 S
  1412. ; Default Value: 100
      u# D( s8 G# r; S/ o
  1413. ; Development Value: 1000. `+ p% R" W. l7 n
  1414. ; Production Value: 1000
    9 R+ `$ j. `$ F. J& f! L
  1415. ; http://php.net/session.gc-divisor
    & a% O$ Q% r) w
  1416. session.gc_divisor = 1000
    ! A- e8 e2 D/ ^- b
  1417. 2 u. F: `: ?- B
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and; |+ x& a; w2 ~5 X" U4 c
  1419. ; cleaned up by the garbage collection process.9 O2 T: {4 v6 A" M, G
  1420. ; http://php.net/session.gc-maxlifetime
    # L1 |5 a; w1 K. D6 W" a' d! [
  1421. session.gc_maxlifetime = 1440
    6 m) v- P5 K5 O& S
  1422. 4 U# ?! w  E6 @
  1423. ; NOTE: If you are using the subdirectory option for storing session files  H# p. Z! B3 l* B2 h
  1424. ;       (see session.save_path above), then garbage collection does *not*
    5 k: `8 D3 A* x
  1425. ;       happen automatically.  You will need to do your own garbage$ M' \+ N3 |0 b4 x! ~
  1426. ;       collection through a shell script, cron entry, or some other method.  D# b+ \( u  Q+ {
  1427. ;       For example, the following script would is the equivalent of
    . c7 m: x* ^4 v/ t) [
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    - E  I3 O" w" l$ P# ~) B% s
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm( @7 K1 L9 [, u" Q3 e$ k) S! s! u

  1430. & e# l: I+ U  ~( d3 h+ d
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.6 {, n7 x$ G3 B, F6 P8 v0 O: c+ Z# x/ z; X
  1432. ; HTTP_REFERER has to contain this substring for the session to be7 d5 r8 O7 U$ M1 \& Y. R
  1433. ; considered as valid.
    1 k2 V' N4 `& P! [" H
  1434. ; http://php.net/session.referer-check3 ?, q( U4 h, x  X
  1435. session.referer_check =+ S; j) Z5 d% S

  1436. 7 K7 }) L' _1 X
  1437. ; How many bytes to read from the file.
    2 p+ O8 N& o$ N; l$ A& b
  1438. ; http://php.net/session.entropy-length5 ?: K  T/ T( P4 N) w4 O! ?
  1439. ;session.entropy_length = 32
    $ x0 `+ |$ f) G  F/ P9 \* P
  1440. 7 {- y1 m7 v. J) E0 L( I  k  _; }
  1441. ; Specified here to create the session id.; b: j- U$ A$ t! i
  1442. ; http://php.net/session.entropy-file
    " o  K0 S* f7 d9 A" w
  1443. ; Defaults to /dev/urandom
    : i: A9 M% Z# S1 ?
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    & k3 s, h( P7 B! f' z+ o7 D8 v
  1445. ; If neither are found at compile time, the default is no entropy file.
    * k" o  ]( q' Z  F8 y1 t
  1446. ; On windows, setting the entropy_length setting will activate the6 C# F1 ?6 \0 z: R& K/ G6 l
  1447. ; Windows random source (using the CryptoAPI)' a) h- c# K! N0 s9 C2 V- p- p
  1448. ;session.entropy_file = /dev/urandom
      B9 ~! I6 f5 u: W
  1449. " ?  T; J5 s& c! `# X
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects8 P; f3 l: s# o; H  x
  1451. ; or leave this empty to avoid sending anti-caching headers.- x! W# `& R  R6 o% h% i
  1452. ; http://php.net/session.cache-limiter
    - N* t; ~2 y2 j& n
  1453. session.cache_limiter = nocache/ W8 r0 ?9 Z: Q$ c0 G; h

  1454. % }+ m, N  }& ]8 J* @9 i+ j
  1455. ; Document expires after n minutes.9 M; B3 e" h7 y+ d1 i* G6 W
  1456. ; http://php.net/session.cache-expire+ ^$ r; G" g& Y9 {6 n4 X3 _  g
  1457. session.cache_expire = 180
    ) I% X8 M' F: F3 m# O

  1458. ( U  h; ]6 k4 U9 |9 ?3 p
  1459. ; trans sid support is disabled by default.
    ( X( \' I: m! y1 \* m6 j9 Y9 @6 N
  1460. ; Use of trans sid may risk your users' security.9 e* F' s4 S9 d# ~: A6 r, Y) o* }0 ?
  1461. ; Use this option with caution.2 X8 x' P9 S! W5 n6 n
  1462. ; - User may send URL contains active session ID# K* k, o8 C; y
  1463. ;   to other person via. email/irc/etc.
    $ I9 D; @  I/ H/ X
  1464. ; - URL that contains active session ID may be stored. X( M/ e/ z- ~$ e1 ?5 R
  1465. ;   in publicly accessible computer.
    ; z) N, ]( X8 N) w$ W! o
  1466. ; - User may access your site with the same session ID3 g6 s0 [, l$ Q4 w
  1467. ;   always using URL stored in browser's history or bookmarks.
    1 Y4 h: J. y" p3 A
  1468. ; http://php.net/session.use-trans-sid; ~9 B" K+ m) n) E. x3 d
  1469. session.use_trans_sid = 0
    ) P% _( b0 S2 E, F3 W6 @1 ]1 _

  1470. 8 A# p7 A4 u9 C* k  l0 }
  1471. ; Select a hash function for use in generating session ids.
    * L" }' k. ^, J& J
  1472. ; Possible Values- C! T& ?( M9 [* [5 _2 T2 `6 x
  1473. ;   0  (MD5 128 bits)
    & A8 }5 c3 r; H
  1474. ;   1  (SHA-1 160 bits)# m2 P& w% p; `/ [
  1475. ; This option may also be set to the name of any hash function supported by
    ' y% z# S: M8 `& f' V1 @
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos(); A( G" p% w2 M9 U! B
  1477. ; function.
    & @6 b, X: z. _
  1478. ; http://php.net/session.hash-function6 y8 e# X; [; K' Y) g) T* G
  1479. session.hash_function = 0# [0 c6 p4 m0 o3 ?* v. }$ y
  1480. 2 l+ V" x- ~; {9 O' ~+ d& R
  1481. ; Define how many bits are stored in each character when converting) k& T6 @+ V% ?
  1482. ; the binary hash data to something readable.
    0 t$ J& {: U9 t) N' f( L0 P$ Y! e7 U7 ?
  1483. ; Possible values:1 J9 }6 n! g4 F/ h) w! ^) o
  1484. ;   4  (4 bits: 0-9, a-f)
    ) g" o3 m9 _6 ?# O' z4 n' ^$ [" w
  1485. ;   5  (5 bits: 0-9, a-v)
    " E% M* l. b' F' y- I( u
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")  c' q+ ?( [& c( ^+ k& M% c
  1487. ; Default Value: 4
    4 g9 J. f) C3 P6 a
  1488. ; Development Value: 59 z9 f" Z  U: s  u$ ^
  1489. ; Production Value: 5+ o, W6 x/ m+ [" O) p% p$ j
  1490. ; http://php.net/session.hash-bits-per-character
    ! N6 [, @0 j# v7 r6 c0 {! c% A5 N
  1491. session.hash_bits_per_character = 5
    3 O7 {+ j, {" F2 y9 Z, l

  1492. 6 h: }: b4 M# y# m- R/ t3 R
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    8 M6 z: ~/ l% g
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    1 y$ W5 R" u; _9 X' n
  1495. ; add a hidden <input> field with the info which is otherwise appended' @; r1 i3 H7 W1 {2 k
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    4 I7 y! d9 z) Y, ~2 p' C# C9 ~4 L
  1497. ; Note that all valid entries require a "=", even if no value follows.5 I4 @- }6 F' a% \5 T
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    4 `' L# B- D  Q1 ?( a: X
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% x8 X, v5 Q- o, K+ P* L9 p
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / }- R& z9 m6 m
  1501. ; http://php.net/url-rewriter.tags
    3 r0 u9 W0 s4 I7 P( ^0 w; P$ T. M
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    " d" U% ]6 w  o* }: `3 s& I

  1503. 8 r0 F$ d, }; r4 e
  1504. ; Enable upload progress tracking in $_SESSION  r- ]  l  c7 q" X0 G. v
  1505. ; Default Value: On
    " ?$ M; b9 c- v5 \+ N, b
  1506. ; Development Value: On$ V/ f6 a( k0 C$ m& j6 c, g
  1507. ; Production Value: On$ b, ?- m$ {" D- g3 q- K
  1508. ; http://php.net/session.upload-progress.enabled& `& V7 ]* o" ]& c* ?
  1509. ;session.upload_progress.enabled = On
    ' A0 ?/ b% @: t. G2 s: p2 b: v% z
  1510. ; X/ x* |- m3 y% a+ u4 h! ~
  1511. ; Cleanup the progress information as soon as all POST data has been read% j* V; N4 f* C  i( ~' E6 `4 [
  1512. ; (i.e. upload completed).* q: O6 e- T6 \
  1513. ; Default Value: On, U6 G" V/ Z6 V& Q* x
  1514. ; Development Value: On- f- T% k1 R& J
  1515. ; Production Value: On
    7 E2 H  j" N4 ~0 K7 w* a7 y# D6 @  D
  1516. ; http://php.net/session.upload-progress.cleanup
    + Q: s2 d4 }* |  U- S
  1517. ;session.upload_progress.cleanup = On
    4 Y2 z7 }7 o% G' \6 n& n

  1518. 3 q* i* o  y: e; P! D5 g& X
  1519. ; A prefix used for the upload progress key in $_SESSION
    ' m- N1 }* \5 V' w* s
  1520. ; Default Value: "upload_progress_"
    7 W* E/ b( E1 a9 p
  1521. ; Development Value: "upload_progress_"" F; l5 l  m' L" c0 G: K
  1522. ; Production Value: "upload_progress_"6 C# B4 X1 C4 ?- {! X9 V) F
  1523. ; http://php.net/session.upload-progress.prefix
    " |$ T& [& ^# |6 C- f
  1524. ;session.upload_progress.prefix = "upload_progress_"
    7 Q3 A% B' O' X
  1525. 0 z& p) x% c$ ?, ]2 _
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    " m3 Q* Q! X( U) J
  1527. ; containing the upload progress information
    2 b8 k+ {- v, U; _( _0 [% y
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 Q% I0 s$ |8 i9 k4 N+ d( ~1 d/ F
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ( q1 w3 a5 |$ Q/ ~5 `( g( V
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS". p. ?# i( O1 {3 E6 c
  1531. ; http://php.net/session.upload-progress.name; h. X, Z$ R4 @- W8 N' |3 c
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    # Y" i# N5 R! X& @! V% D# k

  1533. ; U' P, g, `, ~- m9 t  ]) S! E
  1534. ; How frequently the upload progress should be updated.
    7 Y0 n! y* F# I% E: W
  1535. ; Given either in percentages (per-file), or in bytes! K/ X' Y5 r+ i' N4 T
  1536. ; Default Value: "1%"3 [6 w1 j4 j0 g  e; Q
  1537. ; Development Value: "1%", N$ n. F& c& ]% P& J$ l
  1538. ; Production Value: "1%"7 q/ M/ I+ A) Y& Z
  1539. ; http://php.net/session.upload-progress.freq6 G4 l/ ?+ x2 T6 K; T/ g6 p* {
  1540. ;session.upload_progress.freq =  "1%". @' w6 z0 Y) d  u3 ~" W
  1541. 0 }# m0 R7 r- Q' k0 s2 n' U( V  t& Y
  1542. ; The minimum delay between updates, in seconds
    * r, b7 b. g6 v& k
  1543. ; Default Value: 13 a: ]. q( y* ~9 ]3 _
  1544. ; Development Value: 10 O: v3 w! s) O) s0 b
  1545. ; Production Value: 1  m  k6 h" s5 ]$ k; \
  1546. ; http://php.net/session.upload-progress.min-freq" @. l7 a% L0 g
  1547. ;session.upload_progress.min_freq = "1"
    % c1 }% `) E* M, R

  1548. 9 j5 O1 k1 L, a4 U( Z# E
  1549. ; Only write session data when session data is changed. Enabled by default.2 H. d, H% v# ?. [9 h* `0 d
  1550. ; http://php.net/session.lazy-write
    ( i$ D* A3 O0 K7 k- [2 g1 Z. [$ x
  1551. ;session.lazy_write = On
    ) W+ s% }: D/ F/ j% u8 i( q

  1552. & Q/ Z+ f: F+ o6 ~% z
  1553. [Assertion]
    9 Z  [. J: ?1 Q* C6 c
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
      D5 |1 [6 L- c( i1 s
  1555. ; -1: Do not compile at all
    0 f7 v/ k6 b2 t+ G7 G
  1556. ;  0: Jump over assertion at run-time- J" R* w0 q0 c$ e
  1557. ;  1: Execute assertions
    ; z) N' o6 r9 `! N. x
  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); \1 ~$ k" m1 A' ^9 V
  1559. ; Default Value: 1
    . g* d4 o6 U1 R$ y% k
  1560. ; Development Value: 1
    2 [$ i. ^" o9 J" l* C+ P" U
  1561. ; Production Value: -1
    ; [7 }! M' Z+ i/ b, `
  1562. ; http://php.net/zend.assertions. y  F5 S2 f) z% p: R2 ~1 @  C
  1563. zend.assertions = -1
    # |; P0 ^7 F- D6 N

  1564. % n7 v1 b& o2 P% W
  1565. ; Assert(expr); active by default.
    8 i1 \' \. `; i/ p8 A5 W' a1 S
  1566. ; http://php.net/assert.active
    $ h( [" a. ?$ p1 F1 S$ T- D' b
  1567. ;assert.active = On
    % `6 x, q% J; B* C
  1568. 4 R9 K. h+ S, C" Q- o: h# Z
  1569. ; Throw an AssertationException on failed assertions
    % G6 N  D* @5 ^' f) M: o) ?* y1 P/ J
  1570. ; http://php.net/assert.exception9 b7 w! K% Q/ I) r+ V8 z7 W
  1571. ;assert.exception = On% v3 o0 I* p6 r, P
  1572. # i9 K5 J  y& Y: ?
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)" |' g: ]" _, x/ v8 ^
  1574. ; http://php.net/assert.warning
    ' K- D" c7 @1 o- v0 q; p
  1575. ;assert.warning = On$ ~! O& ~5 G% L! R/ K2 [: a

  1576. 1 c7 z0 D/ V; Y( {- K  V2 N; V
  1577. ; Don't bail out by default.
      I" x: {# d! g5 E/ R# E# @) g
  1578. ; http://php.net/assert.bail
    ; h5 ?8 h1 C& V1 ~  C- K1 q1 J3 B
  1579. ;assert.bail = Off
    * S5 f  L- G/ v5 z
  1580. % g- q& r6 ~  s- ^7 x
  1581. ; User-function to be called if an assertion fails.
    # h& P6 V0 F) h% }. c' s- E
  1582. ; http://php.net/assert.callback
    ( D& C3 E6 S1 l8 P: A2 U
  1583. ;assert.callback = 0
    5 K8 K8 i0 N$ [3 X" v' u! _5 F* b

  1584. 8 K5 d! R9 S. s5 G- y9 o; q. h
  1585. ; Eval the expression with current error_reporting().  Set to true if you want# f; Y: n% e& q1 J- h$ S
  1586. ; error_reporting(0) around the eval().+ }6 `0 r$ q5 D1 f
  1587. ; http://php.net/assert.quiet-eval, X2 M, M3 i4 X* o( m) @& E) t
  1588. ;assert.quiet_eval = 06 g9 e) v& E/ v; v& e
  1589. % j- y5 q) p+ y6 i$ t, Z
  1590. [COM]! F- ?$ x5 _% |: e
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    + W2 k( N9 E4 {; A+ w. x
  1592. ; http://php.net/com.typelib-file5 u$ l' K. C1 k$ @4 N1 l
  1593. ;com.typelib_file =
    9 a8 r1 l- ~6 q0 n6 D" r7 y

  1594. # H1 Y5 v( S! p8 g
  1595. ; allow Distributed-COM calls% u7 j# q( ]6 S1 Z4 ?2 T; y
  1596. ; http://php.net/com.allow-dcom3 W& b" ?) }* I6 _  t
  1597. ;com.allow_dcom = true  R' a6 `8 x3 {* Y

  1598. + q6 L" X, d: s0 G* p
  1599. ; autoregister constants of a components typlib on com_load()
    9 m0 A# V4 {0 F
  1600. ; http://php.net/com.autoregister-typelib5 Z, s5 }2 n2 F6 l) U) _
  1601. ;com.autoregister_typelib = true! s% F. B2 w! U5 `' J
  1602. 6 ^" x# J1 V$ {
  1603. ; register constants casesensitive* C! ^, `8 M6 `7 X' {
  1604. ; http://php.net/com.autoregister-casesensitive
    9 _, J2 q' g2 }# m: ?. a* B$ I, w
  1605. ;com.autoregister_casesensitive = false* q: ~, h5 X0 f( I* B3 e$ f: s7 w
  1606. ' @3 ]$ c9 p2 W
  1607. ; show warnings on duplicate constant registrations
    ; j! d2 p" W" }3 F. _
  1608. ; http://php.net/com.autoregister-verbose
    1 u; u! P% ]9 J; ]5 _# b1 X1 h
  1609. ;com.autoregister_verbose = true4 ]4 y/ h9 r, ]' i, R
  1610. * g# [& y0 U4 ?: O8 g
  1611. ; The default character set code-page to use when passing strings to and from COM objects.% T7 A( ]' Q( G& k
  1612. ; Default: system ANSI code page
    - S0 i8 \* G9 T
  1613. ;com.code_page=4 w6 }0 @  N2 Z

  1614. 8 y: z- e7 M- u& \8 ?4 t  I; ]
  1615. [mbstring]1 ]: X+ `4 m9 J! W1 o
  1616. ; language for internal character representation.4 C' K5 s7 L# Q5 z5 a6 `
  1617. ; This affects mb_send_mail() and mbstring.detect_order.# u3 f# o5 h; n7 L( F  h
  1618. ; http://php.net/mbstring.language& b% o8 L4 U9 o* i- B; e: M
  1619. ;mbstring.language = Japanese4 v* E, O0 Q; R$ ?8 `) @# i- s
  1620. " j# ~$ d, H0 Q
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.: x0 r5 h, ?  Y3 y% Q6 L! O
  1622. ; internal/script encoding.
    + m6 X3 G8 i6 p& F( s( B
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)9 w( m6 _+ {8 R# I5 s5 D
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    / b* s" \, N! K/ n
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    3 |5 O, U  `2 y' ]. O$ D3 v
  1626. ;mbstring.internal_encoding =
    7 }9 G+ `8 u# V1 Z2 l
  1627. # [' Y0 [% k5 q  l
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.* u% n5 J' M- V4 P
  1629. ; http input encoding.
    ) C$ o, ^2 Q& m0 M* a8 [% K
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ; H1 h  _1 d& K. P
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.2 _% E3 M! F; C9 T2 L
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input& I3 E. K& x) M) X
  1633. ; http://php.net/mbstring.http-input
    $ X* R: M  d4 `- u( }" S
  1634. ;mbstring.http_input =
    * {; s# `! w" A( w

  1635. 1 b4 W# _; R$ T, |/ E
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.2 s6 Y: H! n0 W. t" x
  1637. ; http output encoding.
    6 A! U8 r2 e- u  Q
  1638. ; mb_output_handler must be registered as output buffer to function.
    , ?7 U* N# g0 Z" ]6 k7 ]* q  ^
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    " U8 ~# {( e& x  M: N% B7 W: a
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output4 `. g5 |7 n0 w7 H5 K6 L
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ! g3 k) p( \  \2 I# J: h
  1642. ; otherwise output encoding conversion cannot be performed.
    - C' n( p3 J6 e" A+ L
  1643. ; http://php.net/mbstring.http-output
    $ ?: @6 c* ]3 Q' Q
  1644. ;mbstring.http_output =; }5 U+ h  I! o3 w+ n( ~5 Y& B4 }
  1645. + H1 C* k, i; \# ~: @) K1 I
  1646. ; enable automatic encoding translation according to+ |" Y3 M- {9 L# {% K% [+ h
  1647. ; mbstring.internal_encoding setting. Input chars are
    5 U; x1 q2 ]6 d* Z3 A' v
  1648. ; converted to internal encoding by setting this to On.* C4 g( i5 J; y9 J" C+ U5 ?
  1649. ; Note: Do _not_ use automatic encoding translation for. \4 O' N: j/ L( `' @8 ?
  1650. ;       portable libs/applications.3 w8 X5 m' e+ P+ N& \; V: Y# U9 N
  1651. ; http://php.net/mbstring.encoding-translation  {+ u0 {; R" H" I2 ~% _
  1652. ;mbstring.encoding_translation = Off/ b/ ]8 Z$ ]% h6 Z" l

  1653. 2 M0 S3 ^. @+ W1 V4 j: K
  1654. ; automatic encoding detection order." t. c* D+ k# N/ {5 b- a* A& s" F
  1655. ; "auto" detect order is changed according to mbstring.language! b8 \/ W4 n' `6 V$ q
  1656. ; http://php.net/mbstring.detect-order
    + L+ B! r3 z* g6 j3 a1 }& w
  1657. ;mbstring.detect_order = auto
    # L- g0 c6 k& [  t8 M

  1658. % O$ j' x0 V$ L2 w. W+ o/ K/ c
  1659. ; substitute_character used when character cannot be converted
    " X4 p- }2 {, w% f  [8 r2 _
  1660. ; one from another" F: D& X8 K7 S. {! b9 f3 x4 X' K: A
  1661. ; http://php.net/mbstring.substitute-character: n/ O4 O* A: M- }8 C
  1662. ;mbstring.substitute_character = none
    % R: v- e: [+ t/ \; f0 x5 e% w6 a& I

  1663. ; g3 W  }) D' F9 C
  1664. ; overload(replace) single byte functions by mbstring functions.7 }2 u: Q% }/ J7 p
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ) c  f, K1 T7 x3 i+ T. S: S# F) k
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.( J3 M# S7 L' r
  1667. ; For example, 7 for overload everything.! E( T- T4 W2 P0 j9 F2 q" D' g; f. L
  1668. ; 0: No overload# Z5 P6 ]! T0 s6 p$ ]' N
  1669. ; 1: Overload mail() function
    ; O0 G' S5 K8 k4 b8 }2 L
  1670. ; 2: Overload str*() functions
    ( H3 ~2 v/ e2 e+ @
  1671. ; 4: Overload ereg*() functions
    7 o6 z5 O: }( q* N" T% {. M
  1672. ; http://php.net/mbstring.func-overload. h$ ^" z0 i' s  w' I3 R# [
  1673. ;mbstring.func_overload = 0
    . z8 Z' r# C$ D0 l- M0 ^

  1674. & b7 K1 u, ?3 K5 ^! x* ~5 T& b
  1675. ; enable strict encoding detection.# P* g, V" N9 Q3 y
  1676. ; Default: Off! M; `7 u4 L3 A( Q9 v
  1677. ;mbstring.strict_detection = On
    7 ]. G4 E' U$ D2 q: O7 }
  1678. 7 s" u6 b- x  V. H9 @) p' u. P
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()9 g0 v6 a! K; B
  1680. ; is activated.
    ! D0 Z" A& d7 f( I" x0 ]
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    8 H7 E  ^% ]* s) k
  1682. ;mbstring.http_output_conv_mimetype=1 J- X) q  s$ L$ h

  1683. 0 {/ _8 E8 j" Z4 F6 K
  1684. [gd]
    + X$ c( o  {' N8 h4 C9 T  y
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    % G. k% X# g5 F# b) d
  1686. ; a gd image. The warning will then be displayed as notices  S5 Z9 x! R- D$ x2 _. J2 t4 _
  1687. ; disabled by default
    2 O2 H. s4 t, S0 q+ A
  1688. ; http://php.net/gd.jpeg-ignore-warning) E+ x0 Y4 t3 m  L' Q' b
  1689. ;gd.jpeg_ignore_warning = 0
    1 ?" g" D! U- I; ]" B0 T  Y

  1690. 4 _& Y1 n  n  M# Z  B6 @1 H
  1691. [exif]
      m/ |; A+ {  s( N
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.5 G6 m! t1 J' }% j# E$ x
  1693. ; With mbstring support this will automatically be converted into the encoding
    / Z6 e& M* }7 y+ N; {. S* r
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    - v7 h3 Q) {: g( \- [( V
  1695. ; is used. For the decode settings you can distinguish between motorola and
    + f0 D  P# t  S2 p7 l1 x8 I: |2 u/ O
  1696. ; intel byte order. A decode setting cannot be empty.
    6 v" l3 W+ K2 {7 V* T6 u' ^
  1697. ; http://php.net/exif.encode-unicode; T  r( U4 I4 F$ U8 q2 P
  1698. ;exif.encode_unicode = ISO-8859-15
    7 a1 C" h# b- K0 X

  1699. 7 d. M( ?9 E/ u# j
  1700. ; http://php.net/exif.decode-unicode-motorola
      c2 ?; p* s$ W7 ^7 x3 l
  1701. ;exif.decode_unicode_motorola = UCS-2BE7 v" y9 N9 \/ s3 J- ~: `. o& W% N

  1702. # J% I/ K% Z/ ~: N1 L, f
  1703. ; http://php.net/exif.decode-unicode-intel  P- m7 E9 \5 X* ^  T& _; S
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    . `5 N5 k! i# B4 A# U7 d

  1705. 2 |/ f- d: a1 S6 T
  1706. ; http://php.net/exif.encode-jis
    ( }% k0 T6 j/ c$ V/ f- I* Q9 C
  1707. ;exif.encode_jis =
    : b5 q! v# r1 ]5 G8 B4 Q

  1708. 3 ?, t" s9 G/ R/ z
  1709. ; http://php.net/exif.decode-jis-motorola
    , r) O& r0 i4 |+ |5 \
  1710. ;exif.decode_jis_motorola = JIS5 M" U( G1 T; t- _  w4 w
  1711. 2 B! I* e+ p6 Z2 f) V4 T) p
  1712. ; http://php.net/exif.decode-jis-intel) h( }1 V6 `4 n
  1713. ;exif.decode_jis_intel    = JIS
    " Q. z! t) t/ L- O

  1714. 5 o3 |# x+ d; H; H
  1715. [Tidy]& l3 o- ^9 P0 S7 B6 L7 H3 Q5 ~
  1716. ; The path to a default tidy configuration file to use when using tidy, P# o6 z. f- J! s6 H
  1717. ; http://php.net/tidy.default-config
    / [6 l& `  `1 |: {% r
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg3 f  g1 e' c$ u
  1719. " m# g) Q( Z) z/ w( Y& y
  1720. ; Should tidy clean and repair output automatically?! g* a8 v# y. f- O, B. [" K0 r
  1721. ; WARNING: Do not use this option if you are generating non-html content
    - ]- X) y' o8 P( A8 G9 Q3 _
  1722. ; such as dynamic images
    5 N/ Y8 h, `8 q5 W& B8 k
  1723. ; http://php.net/tidy.clean-output4 w- j5 |& E5 ~. u8 q7 L! H
  1724. tidy.clean_output = Off" s& f: D# s% u' ^5 x8 H

  1725. ! n% H0 }% W; i" \7 C/ d
  1726. [soap]
    $ o1 ^7 M) \4 M/ O5 r
  1727. ; Enables or disables WSDL caching feature.: u3 `! q- q% J, C5 j4 Q
  1728. ; http://php.net/soap.wsdl-cache-enabled" F  N! ?. a( @, |
  1729. soap.wsdl_cache_enabled=1$ h& y+ l7 b8 Z* }1 {3 e
  1730. / N8 l( z9 d/ n7 r. U# o
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ! r" o- h; z& b+ d9 _
  1732. ; http://php.net/soap.wsdl-cache-dir
    0 u' ^7 |1 U# d; o( S4 I
  1733. soap.wsdl_cache_dir="/tmp"  s3 n5 L0 d* c) @- w5 I5 t

  1734. 7 j: E: T* A+ e, {9 S; ^3 k2 Y
  1735. ; (time to live) Sets the number of second while cached file will be used/ f; e& I9 r* ~. K- R" r
  1736. ; instead of original one.$ l6 Z& u! l, d% w. g) i& R! Y
  1737. ; http://php.net/soap.wsdl-cache-ttl
    , c& w; s, O( ~% W6 |
  1738. soap.wsdl_cache_ttl=86400
    / W4 m! |: u0 O% L
  1739. ; D$ f4 x% P/ V8 S5 v& _
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)) e% g8 C& C1 ]' S, V  q1 @2 E
  1741. soap.wsdl_cache_limit = 5
    . p: k& r, C+ \9 a/ [0 {/ [
  1742. . }7 E8 b% ]. `
  1743. [sysvshm]
    . m1 u) ?* a2 }) F5 V& U
  1744. ; A default size of the shared memory segment* p3 v7 i6 w4 c' _' ?: _
  1745. ;sysvshm.init_mem = 10000
    : Z* F1 r: |2 E4 S$ }6 j

  1746. & n7 k1 v. x7 z5 i$ H
  1747. [ldap]
    . a+ w9 R9 C1 {
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    $ F4 }, }/ F$ ~! d# o! Y9 _
  1749. ldap.max_links = -1- T3 W2 N, Q$ _) q) Z
  1750. " Y) y9 E& [% }5 ?; G* t( j$ D5 P
  1751. [mcrypt]- Z0 |7 j6 J. \4 Q" D
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open$ D# Z% h! }: B9 V5 O7 [
  1753. 3 D. n7 ]: J! s& H
  1754. ; Directory where to load mcrypt algorithms2 y' i' K, ~' }1 s- W3 D
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) t& f' N6 _% p
  1756. ;mcrypt.algorithms_dir=9 g, V8 N+ T" v9 ^

  1757. ' E/ R& L8 A' g5 K' _' l
  1758. ; Directory where to load mcrypt modes1 _$ L3 W" S! c5 F! g/ O- a
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* V$ f8 @: Z$ r3 M6 ]- R8 R
  1760. ;mcrypt.modes_dir=0 Q5 C* Z3 i# {2 N

  1761.   Y) h( E# L7 S7 C
  1762. [dba]$ u( Z0 Q& E/ J. P
  1763. ;dba.default_handler=5 E0 e. x# L& v# F) P

  1764. + ~7 y1 {- H" Q" H5 ?( k/ j
  1765. [opcache]
    & H1 q8 q! R, v$ j& W
  1766. ; Determines if Zend OPCache is enabled: m1 ?/ C9 c4 s- W) N# b8 S+ p4 O
  1767. ;opcache.enable=0+ O' b2 [0 f( [$ R. m: n' p8 M

  1768. / U, X! @2 c! ?6 y6 n0 n
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP! o2 s" A( w2 M+ U; A
  1770. ;opcache.enable_cli=0) e6 b, n, x7 t7 S0 X% k" k
  1771. # v' l: w, f* I. c
  1772. ; The OPcache shared memory storage size.5 x. q) f7 O5 o2 M+ }# O: I6 M5 V
  1773. ;opcache.memory_consumption=64# z" ]5 Y" l5 H% H# H+ s
  1774. " y" J# W' ~; c! K$ {! T
  1775. ; The amount of memory for interned strings in Mbytes.) T& d8 R" ]5 k7 L) d% b
  1776. ;opcache.interned_strings_buffer=45 H1 W, J& {8 H" y2 j
  1777. . u( m. ?. y. M8 d. Y  x  A$ }
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.3 p1 q2 ~+ K5 o  \7 R
  1779. ; Only numbers between 200 and 1000000 are allowed.5 i7 u) j; b, W7 z
  1780. ;opcache.max_accelerated_files=2000
    " L3 F( @+ X* E! ^8 l: P' N; |6 C
  1781. 3 N4 D/ Y; K7 @% P6 v. h4 p8 M
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.9 Y$ f7 s, k9 m9 ]: Z1 Y) l
  1783. ;opcache.max_wasted_percentage=5. i$ a" r7 |4 Y' ^

  1784. 0 w  F& R7 L$ E, I* o) E3 U
  1785. ; When this directive is enabled, the OPcache appends the current working9 w* e4 [: Z1 e$ ^8 c6 v
  1786. ; directory to the script key, thus eliminating possible collisions between( u% q% [% Y0 K- q$ I
  1787. ; files with the same name (basename). Disabling the directive improves
    . K. |% x: V6 V6 }6 l0 y
  1788. ; performance, but may break existing applications.7 D( L: i( O% D( z! t# Y
  1789. ;opcache.use_cwd=1# }# `( F6 A) P# l# I/ t3 ?; }
  1790. ) j6 n! r. \- l8 S0 ]( n, ^: x
  1791. ; When disabled, you must reset the OPcache manually or restart the
    1 N* S. j9 I: n2 E9 l1 ~7 l% x1 l) R
  1792. ; webserver for changes to the filesystem to take effect.
    5 a/ U0 ?6 o1 a/ z
  1793. ;opcache.validate_timestamps=1* W" {" _( _; i  ~7 N: Z0 T0 [8 ~( A
  1794. " U, `4 T/ f" g4 K/ w# R
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    & D: F7 o- w; X8 g  F& i  X
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    * p' B8 A. O6 ^& m# }) h' \( s
  1797. ; once per request. "0" means always validate). u( U& D" n) ?/ w* H
  1798. ;opcache.revalidate_freq=2
    , a2 |6 r1 y; m6 A4 k+ z# [; F4 ~

  1799.   w' B0 Q# T) t9 M3 w: n% K. e
  1800. ; Enables or disables file search in include_path optimization" \8 b" c9 T* o& m$ x; `
  1801. ;opcache.revalidate_path=0( P/ a) G  o6 {* ?
  1802. * Z. c  `7 \( ]! t* |
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    7 ^1 U) r' U$ |2 j; ^1 M/ S8 n4 w
  1804. ; size of the optimized code.
    ) _  V& t( W5 U+ {. ~/ \$ A
  1805. ;opcache.save_comments=1
    ) O! l# F8 w3 j7 l4 B
  1806. 2 s: c( ~& A3 ^, d% X* q
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code+ Q: j0 i# O$ w! b7 B/ b
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.5 [, o+ f, l; A: x
  1809. ;opcache.fast_shutdown=0
    1 E) X  ^! ~& x. q

  1810. ) d- j0 d$ \% ~1 V/ X8 z
  1811. ; Allow file existence override (file_exists, etc.) performance feature.! t' X0 `7 v2 r* W- W/ s0 T
  1812. ;opcache.enable_file_override=0
      e( o3 B/ l: `& X! S# W

  1813. 0 {# d( ~9 b- M( }% }; `( u
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ( l7 L" }4 H; _: w& d4 I. f# Z
  1815. ; passes
    0 u% M0 Y0 }6 c9 B$ Y
  1816. ;opcache.optimization_level=0xffffffff
    " ~( E7 z, p! L

  1817. - d* f# q! e. A- y2 N7 q8 Y$ m
  1818. ;opcache.inherited_hack=14 b6 C# L: X2 ]
  1819. ;opcache.dups_fix=0+ u3 e$ S% ^( ?) {; t. ^$ h1 D

  1820. % \4 P3 n$ ?: e4 Z" G8 o
  1821. ; The location of the OPcache blacklist file (wildcards allowed).- J$ o4 Z. U2 k+ |
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    , Y/ e( }6 F! M' _
  1823. ; that should not be accelerated. The file format is to add each filename$ d( j9 g5 N, ^
  1824. ; to a new line. The filename may be a full path or just a file prefix; e# C8 y; C: x( m
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www3 R. ^1 I' c& m5 y8 f2 x# ~
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments)./ K/ j" Y  r6 K5 g. G! ]+ ?
  1827. ;opcache.blacklist_filename=+ `. y) `. k" _2 }2 X
  1828. 7 B6 L1 f  K5 M
  1829. ; Allows exclusion of large files from being cached. By default all files: Y8 s! v- ?! ~8 F: \
  1830. ; are cached.4 b( C" k! @" `6 S
  1831. ;opcache.max_file_size=0
    : |/ ?4 e& C% S7 F3 {# g

  1832. 4 ~" o% s$ x1 R8 c' k
  1833. ; Check the cache checksum each N requests.
    % h% N1 s0 ]8 I7 O" k
  1834. ; The default value of "0" means that the checks are disabled.
    9 ^2 b" J! a0 ]+ h! {8 }
  1835. ;opcache.consistency_checks=0% N4 i, B) J; o1 k* @
  1836. 4 T' Z4 {7 Y5 h' @/ @: w' J
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache# X! d  O/ }8 \6 z, \+ l
  1838. ; is not being accessed.
    - _) X/ R3 l( I8 v- y
  1839. ;opcache.force_restart_timeout=180; j" D1 ]* u- I  f
  1840.   a: e1 ^4 F+ r% U
  1841. ; OPcache error_log file name. Empty string assumes "stderr".; X- G. q  Q3 c/ f6 q
  1842. ;opcache.error_log=
    8 T$ y% }, r. b. i
  1843. ; q4 f) ]4 T& ^2 Q5 B3 v- h0 F/ I
  1844. ; All OPcache errors go to the Web server log.5 @: L/ ]/ A. L' j3 S
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.8 t+ [6 s, e8 _0 p0 p: l2 G
  1846. ; You can also enable warnings (level 2), info messages (level 3) or5 N: V! ?" [' z! N. s) W; Z
  1847. ; debug messages (level 4).0 z2 v9 r/ S/ |4 H: D0 D% S6 m" Y
  1848. ;opcache.log_verbosity_level=1
    " d: Q7 Y" L( ~3 b, A
  1849. ' G  L! J1 X. N
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.4 q& q' m- o. [* R$ E  p
  1851. ;opcache.preferred_memory_model=
    7 _( P. M$ l  a3 A" V7 P

  1852. * j; F/ n6 U0 C* J$ }! E' o" w
  1853. ; Protect the shared memory from unexpected writing during script execution.# h1 v5 k. z# t) y7 b
  1854. ; Useful for internal debugging only.
    9 H9 q4 R3 M/ n  Z1 o
  1855. ;opcache.protect_memory=0' ?) |( D2 V% o" U0 E, U
  1856. 3 U' z2 N5 `/ |4 I2 \
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    9 e& O$ [% N# Z& B4 z2 ~
  1858. ; started from specified string. The default "" means no restriction/ j; h; H7 c+ H, j) E8 z
  1859. ;opcache.restrict_api=
    2 A" M& w; E1 G: W

  1860.   o" C1 Z2 V. @; V* q4 [" I
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP- [* l- V/ B: n
  1862. ; processes have to map shared memory into the same address space. This% `; G# P. z' R( ?/ l$ T$ h( ^: @% S
  1863. ; directive allows to manually fix the "Unable to reattach to base address"/ I' a) s, {' g2 s$ _
  1864. ; errors.
    / Z$ `. l6 s) \$ T3 Q: P: Q
  1865. ;opcache.mmap_base=9 G- }0 J4 ]5 |7 j: g2 S& C
  1866. ( \% _% R2 @! p) {
  1867. ; Enables and sets the second level cache directory." n% f5 d0 s! r5 l( z" Z* ~  E2 P
  1868. ; It should improve performance when SHM memory is full, at server restart or0 h# [+ O# ?  @; u' Z3 u- d
  1869. ; SHM reset. The default "" disables file based caching.( L+ N# E5 E; e1 H( V, a
  1870. ;opcache.file_cache=8 H: a9 e5 L' Y7 _# U$ G: X

  1871. 5 s+ c# S4 }+ j% L
  1872. ; Enables or disables opcode caching in shared memory.6 ^9 z# }% o' a
  1873. ;opcache.file_cache_only=0
    1 J, y6 a( Z& L9 s

  1874. : U( m8 X7 n, N/ @% ?: v% |
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ) o# K& y1 ?- U7 I& D
  1876. ;opcache.file_cache_consistency_checks=1
    & `! Z9 C# w: N" U0 U
  1877. ! c7 i. m! [9 S* Z& W
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    ' @# x% y1 k- I- s9 ]
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file9 w& V; E; t% a+ }5 y6 j" g
  1880. ; cache is required.: s+ j5 d9 D  C0 w- S; w0 M
  1881. ;opcache.file_cache_fallback=1/ V2 J+ Z( c0 F: o

  1882. : e  H% Q3 l  h5 t
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    $ _1 j0 z( v5 n% n7 f4 s$ d9 B
  1884. ; This should improve performance, but requires appropriate OS configuration.8 Z7 ]+ s8 `- {: E+ z: a
  1885. ;opcache.huge_code_pages=1, Y7 i: P. A7 E; G! n& Y0 I
  1886. * c" y9 d! \! ~( y5 T7 a' i  i
  1887. ; Validate cached file permissions." H9 l; X  X6 a/ M6 C# \
  1888. ; opcache.validate_permission=0# f: ^5 c4 m& N4 z

  1889. * F2 s1 @* l$ ?0 F
  1890. ; Prevent name collisions in chroot'ed environment.
    7 Y" U% w2 S4 \' ^( q
  1891. ; opcache.validate_root=0
    . l* }4 ]# h' r2 o! f6 t: v
  1892. # g! e5 [8 L" U1 R4 X
  1893. [curl]" b6 ~! t/ X. Q8 J: i3 v* {
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an, `* Q6 v  D+ z* u" b1 }% B  A
  1895. ; absolute path.' K* t# o3 ]) V: \: ~9 O" k
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt3 C+ ^* b& m& C- n- }' J! _% Z; j3 g

  1897. 4 S/ }) T9 h$ u) B$ ?& V. ~
  1898. [openssl]1 y7 W1 i4 ~& l- n
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    . m0 Z& F) w9 j4 U
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    8 \5 ~" @9 D% h% a* ^+ \/ [4 r
  1901. ; not specify a value for this directive as PHP will attempt to use the( T, l5 A$ D/ F) G1 L: H( H" p/ f& g
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    , ]  V; }, G& r0 c% ~
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context( Q+ M- D5 D" w/ _
  1904. ; option.% w7 V# T: k( F1 p2 E" W
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    3 c: M& l& s/ \7 @  {) D! G
  1906. $ J: x. o2 E( u
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    5 ^$ f" @# {" K) w4 v
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    & `7 ~: {# v1 ~. Z
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    9 }8 k" l2 m5 ^( k' W6 o
  1910. ; Most users should not specify a value for this directive as PHP will- t. u7 w8 h& `0 {. D- l( `
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,/ B* j$ u9 ~3 t* t! o  |5 M4 P# V% \
  1912. ; this value may still be overridden on a per-stream basis via the "capath"* P) U; }( [' i3 m5 }( |
  1913. ; SSL stream context option.
    8 I3 ^- i6 {! p5 n- q# [8 i
  1914. ;openssl.capath=( S) }, m' _/ P8 F  u! ~
  1915. : Y( T- V- u& a2 G& b
  1916. ; Local Variables:
    . S. v- A+ {0 K6 j3 c
  1917. ; tab-width: 4$ G4 J4 T" T9 Q
  1918. ; End:2 W' }7 g- X# ~8 K

  1919. " N+ K% p7 P. J7 u2 ?: _
  1920. ;eaccelerator2 t) _2 C$ P& a) k( `. i
  1921. ) ]1 |# G; }) P4 F8 v
  1922. ;ionCube4 D* Q( C- f+ i! k: B5 S
  1923. 6 @# U0 y4 r+ F; R( P5 ~8 \) U/ M* d
  1924. ;opcache; e3 R' h9 r6 u) e: N5 t. s
  1925. , j: @' X* Z4 U! S& F  v
  1926. [Zend ZendGuard Loader]4 L6 u6 Q/ _2 s  O2 W
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.% H' x% H' Q% G$ H
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so7 q5 ~" s9 Z3 t: F1 A# e' L# m
  1929. ;zend_loader.enable=1
    , [1 }* L9 k' z1 O+ j
  1930. ;zend_loader.disable_licensing=0
    5 q; e- ?1 w' s1 b& M5 b! U
  1931. ;zend_loader.obfuscation_level_support=3( Y0 z! d5 _) w8 N/ j, {* ?
  1932. ;zend_loader.license_path=* G- {( N1 h9 B5 `+ c. K
  1933. ' ~. T% A/ K) g3 t( s
  1934. ;xcache
    ( m% g5 S( n6 ]8 O- |5 x* D' i
  1935. 6 y8 W7 \  \5 C4 ^& g# f2 l  i
复制代码

4 I/ f6 F. X: a0 r6 s# B1 g1 \  p
9 L* d5 c* }4 b* E; W* A; w- V5 h2 W6 F6 B0 O& t- Q" r- f# K

4 K! l+ m6 N& H$ c( ~' {* d3 D" G: g9 }. T+ l
! Z+ J0 w# C+ X

. t3 G# e& ]1 O$ k. O3 o! N" P+ @4 d! uPHP5.6版本原始设置, @' _% _0 a: F* W  w
+ Y) b4 w! `, r, y
  1. [PHP]3 h5 m. w0 o, ~; E! V6 ^
  2. - K# g7 i, f9 t. ]' V
  3. ;;;;;;;;;;;;;;;;;;;) G6 @1 I8 n  E, Z3 T/ w3 p
  4. ; About php.ini   ;6 v  l) S5 C3 ^4 Y' {0 H5 z
  5. ;;;;;;;;;;;;;;;;;;;
    & K* I0 ~. u3 E  J7 ?
  6. ; PHP's initialization file, generally called php.ini, is responsible for/ R: m4 E3 k0 f$ p1 G4 u+ t4 G* P
  7. ; configuring many of the aspects of PHP's behavior.$ \# y( `* Q9 a
  8. * R# _$ A3 C* V1 |
  9. ; PHP attempts to find and load this configuration from a number of locations.
    8 w2 f, u) X5 W5 V/ B1 L
  10. ; The following is a summary of its search order:
    6 x" c' e( ?) x) M0 }6 j
  11. ; 1. SAPI module specific location.
    % L  L; I2 \6 o; {' w& c7 z2 I
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)+ r3 t3 S! |" \! v6 ]
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)$ i5 G  w- g3 V
  14. ; 4. Current working directory (except CLI)6 W- ~' c+ D0 P  E
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    9 n) E) n9 T: R" l3 |$ n
  16. ; (otherwise in Windows)
    * e. h2 F8 K0 n
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    3 Y7 ^3 T0 I9 \) F: a
  18. ; Windows directory (C:\windows or C:\winnt)4 ?0 {) z6 f- ~* ?
  19. ; See the PHP docs for more specific information./ i8 y; H- b" l$ ^+ w: e- C
  20. ; http://php.net/configuration.file
    $ z/ C$ m7 ~! Y& i$ X

  21. 9 |2 K4 t1 G; V$ V) C
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    / |' G3 J- w% h  N" V9 w
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    0 ?3 U- ]: B9 v0 E5 v8 q7 U" c
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though& B: G, m: I, d* u) j
  25. ; they might mean something in the future.- t3 E6 j( c4 I4 [1 u, I, l

  26. ; R* l7 E4 K( g( J+ y7 e5 D* d1 E
  27. ; Directives following the section heading [PATH=/www/mysite] only3 r2 V3 w/ n$ g  q
  28. ; apply to PHP files in the /www/mysite directory.  Directives/ D6 o, r; R) O
  29. ; following the section heading [HOST=www.example.com] only apply to
    4 D1 M; o4 {& W
  30. ; PHP files served from www.example.com.  Directives set in these
    ( R- s  b$ j8 H  A; u2 U% j
  31. ; special sections cannot be overridden by user-defined INI files or
    ! ~0 `2 B0 d7 e5 W, B
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under9 J5 W; W. L$ V
  33. ; CGI/FastCGI.: ]9 p5 r7 u. b8 B# b3 i
  34. ; http://php.net/ini.sections' Y6 z' f! }' i* }
  35. 9 g% q: D' E# c; c+ c$ A
  36. ; Directives are specified using the following syntax:3 w+ ~/ T5 A* r3 v+ u/ f; N
  37. ; directive = value
      `+ a& W1 t6 U- T8 v% e2 ^0 Y. Z5 R
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.4 L" e5 S& \0 @( S" L( |
  39. ; Directives are variables used to configure PHP or PHP extensions.  u  [4 U$ Y5 x, W  l/ N
  40. ; There is no name validation.  If PHP can't find an expected
    - R& G$ s6 }" k' m( I1 @# f( L
  41. ; directive because it is not set or is mistyped, a default value will be used.. t0 N7 `& t# C$ J9 I
  42. 5 x. v9 r+ E: k) H! b4 d
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    * o0 N& Q+ M- a  o% G6 g9 I
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression- ?- }" m3 |  b- ]! \
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ' g$ E- j  f' t1 J
  46. ; previously set variable or directive (e.g. ${foo})
    / p6 g: ^) r3 ^, I# l+ H
  47. / j# Q- N: E- u3 h* s0 `! a0 {
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:, r! B7 @. `2 |  B
  49. ; |  bitwise OR3 {; @4 T1 H; q
  50. ; ^  bitwise XOR
    - P' a( g3 r, N# }7 e
  51. ; &  bitwise AND
    0 L  p: g4 g$ W
  52. ; ~  bitwise NOT: t  g6 J6 w2 I$ G) c( \; M8 L8 O
  53. ; !  boolean NOT' U: A/ j7 m6 M' z1 H/ F1 o
  54. ( E9 L; p0 Q" P$ }, p4 x& g
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.$ ^. V; ~/ N& l5 e
  56. ; They can be turned off using the values 0, Off, False or No.  z' c( G! r. t' V. [

  57.   v9 J. O# A( i) c1 C: G. h  `
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ) h* K1 g& u; ?% J9 ~- X& ^2 x
  59. ; sign, or by using the None keyword:9 V8 w2 c& k. W; c+ ?+ L

  60. 1 F4 ^0 E" h) k( D; I
  61. ;  foo =         ; sets foo to an empty string
    2 ^. l5 s5 E9 F" z( J5 F' M
  62. ;  foo = None    ; sets foo to an empty string, N2 `) P, V) \& a* o6 u; O
  63. ;  foo = "None"  ; sets foo to the string 'None'1 M, Y% D6 w: ^" \

  64. & l8 ^- E; k5 B+ z: ?1 Y# P
  65. ; If you use constants in your value, and these constants belong to a, l; O" ?- I% C  j& f  C
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),$ E% a# i4 |& `. d0 V
  67. ; you may only use these constants *after* the line that loads the extension.
    / a. \6 u$ B/ o0 m
  68. : ~' j. O& _+ v0 x1 [; V) s2 e
  69. ;;;;;;;;;;;;;;;;;;;
    % H) j8 g& T2 j4 a$ G2 r( R- U  W
  70. ; About this file ;
    3 U: U8 k  N; e" A6 T5 Z$ ~+ P  E" I3 d9 D
  71. ;;;;;;;;;;;;;;;;;;;
    : }/ m  J1 W5 y5 C( `: m$ ^: r# A
  72. ; PHP comes packaged with two INI files. One that is recommended to be used1 |) w8 ?6 r( ^, f/ y5 ]8 y, N
  73. ; in production environments and one that is recommended to be used in
    * q( E0 g* w8 D- D- u! j- {+ R
  74. ; development environments.9 D: j$ z0 I$ m7 I
  75. & d' _% m2 d$ Z1 U! X# q
  76. ; php.ini-production contains settings which hold security, performance and; u, b1 f" ]1 a/ {3 i
  77. ; best practices at its core. But please be aware, these settings may break6 U- |$ P5 h, S0 r
  78. ; compatibility with older or less security conscience applications. We
    0 w, R1 A8 ]2 G
  79. ; recommending using the production ini in production and testing environments.  E2 p, m  c. J  M. e

  80. 4 H. H  N: M& t: l' ~1 \
  81. ; php.ini-development is very similar to its production variant, except it is. L0 o" p% t* u4 [; s8 Z
  82. ; much more verbose when it comes to errors. We recommend using the+ c" {: h8 [' k, z. }5 ?
  83. ; development version only in development environments, as errors shown to" K) k7 f$ A$ D9 s6 K( f
  84. ; application users can inadvertently leak otherwise secure information.
    ! X" C9 o: o; k% U5 T1 E
  85. - A: ~$ N! O6 Y4 c
  86. ; This is php.ini-production INI file.5 I1 X" ^0 {) \+ j6 ^; A

  87. ' G+ _. i' d# y
  88. ;;;;;;;;;;;;;;;;;;;
    & F! i# q. l2 ?- p) P
  89. ; Quick Reference ;
    8 \: T! Q- Z3 n4 ]6 c+ L% b
  90. ;;;;;;;;;;;;;;;;;;;4 \$ S+ w4 q1 Q6 C* X
  91. ; The following are all the settings which are different in either the production8 D8 d1 F+ S2 K: i, y# P
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ! M0 F4 S8 H2 a
  93. ; Please see the actual settings later in the document for more details as to why
    * b- _5 c; P" d
  94. ; we recommend these changes in PHP's behavior.
      @4 `* k& w% O" r/ ^5 J' \3 N& S$ y
  95. ' C+ X! |# Y9 q, X% [9 G
  96. ; display_errors
    $ @1 f# e* @! C. z- V& ]9 N
  97. ;   Default Value: On
    # L( F* q4 r$ _
  98. ;   Development Value: On0 C$ g( j' a! s  `8 A
  99. ;   Production Value: Off
    ; `2 d/ U& z- o% G! ~+ j
  100. ( ?( i# `) L% E8 y
  101. ; display_startup_errors# @+ z2 j# m: }7 h* T8 r+ o' W9 A8 E
  102. ;   Default Value: Off
    ! x1 \- Z7 ~! e* V& N2 p' s# |8 {
  103. ;   Development Value: On* @& W( ^  S" u8 `4 W  R# m
  104. ;   Production Value: Off; u! g! y2 |! ^7 G* ?

  105. . S/ H/ V* s9 ^7 d% [
  106. ; error_reporting
    2 F1 C: A# C7 m$ v$ y
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED- ^  f- }0 w  F* E) Z' V/ B. S
  108. ;   Development Value: E_ALL
    : C- q1 U( s' a+ e/ K* ?2 ^
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " K' B8 k: |# h" g' Z: Z2 m
  110.   ?" I& r, ]) E! H1 D- N$ P
  111. ; html_errors
    * _4 ~, |$ }4 y7 V" h# F
  112. ;   Default Value: On( C+ G1 k: L, b. y4 z, Q+ s# ~
  113. ;   Development Value: On
    , v) N) P% P) U+ ~
  114. ;   Production value: On# _$ K3 M1 z" M6 A6 P- l4 r3 }
  115. 7 t3 w% h. J! N  }8 E3 P9 j
  116. ; log_errors* i0 D2 a+ N1 [4 G8 H' k" T( I+ u1 y
  117. ;   Default Value: Off
    / p' L$ U: i3 \9 U( Z' x
  118. ;   Development Value: On5 g3 {' \( b' i1 h/ ~6 H
  119. ;   Production Value: On# e. Y& @4 P; q7 d) j, c, C

  120. % A0 N, X9 A: _' z
  121. ; max_input_time
    & `/ k& B( A9 }7 U- o* A$ c
  122. ;   Default Value: -1 (Unlimited)
    / a9 C* N. R$ |- t
  123. ;   Development Value: 60 (60 seconds)
    0 d4 i" L  F! C0 ?+ i4 g
  124. ;   Production Value: 60 (60 seconds)
    0 W- s* k1 e0 b! S- V& h

  125. ; b7 \5 c, ]9 r
  126. ; output_buffering2 M  X2 Q3 f' [
  127. ;   Default Value: Off' o+ w7 \0 m; `  Y2 X8 J1 X
  128. ;   Development Value: 40960 l- Q0 _- X$ U5 y  I/ s) q
  129. ;   Production Value: 4096
    4 S+ r  {( u: ?0 u4 v$ V  S0 S' T

  130. * V3 A! S% K) O1 v
  131. ; register_argc_argv
    ' \' j5 S9 z9 U" a5 ~
  132. ;   Default Value: On$ E& N# O$ @- w9 \6 L
  133. ;   Development Value: Off
    5 I7 g8 J$ h. C) ^" _
  134. ;   Production Value: Off- z1 H' O3 p/ S

  135. 3 f( J4 t+ Z) M0 I( [# n, M5 y4 u
  136. ; request_order
    6 T" Z* |: T6 K( Z1 T5 j  _
  137. ;   Default Value: None
    , h. K, @/ l& N  R3 ?( P
  138. ;   Development Value: "GP"( m% B! Z) a) m, J5 j5 T
  139. ;   Production Value: "GP"" B1 A/ I4 g. R, T) C1 j' e5 D7 a9 Q3 ]  }

  140. & _) W  W5 e4 M
  141. ; session.gc_divisor( m/ A' }" O1 w( N# M
  142. ;   Default Value: 100
    + A9 f* J# ?3 G3 V; |: A
  143. ;   Development Value: 1000. O) S! e* Z' C8 t& [
  144. ;   Production Value: 1000
      B( t1 U' ]/ H" }
  145. # R* J% m; e: S
  146. ; session.hash_bits_per_character* s0 _; }) C! _- Z" D( q
  147. ;   Default Value: 4
    * C& M- B, p$ q
  148. ;   Development Value: 5
    6 S* q0 E: x: N9 P( _# l- \: ^
  149. ;   Production Value: 5
    1 g9 M  Q& f( L# q% ~* E( s

  150. . x( ^4 t0 }& m. f' @7 s7 r
  151. ; short_open_tag6 u8 a' Z! ?" b$ C; J! e
  152. ;   Default Value: On0 F3 J, q2 ]; B$ s! Q7 n; n
  153. ;   Development Value: Off  ]2 B) d+ s) K. J5 ?# q
  154. ;   Production Value: Off
    3 J2 ~# t7 O2 t9 r! w/ j

  155. : ~  }) Q6 Z/ F2 l
  156. ; track_errors! W; D4 v3 v: Y- g- p
  157. ;   Default Value: Off( o" ?: O! D9 T
  158. ;   Development Value: On
    ; _4 |' T2 J7 s0 q1 Z& S$ S
  159. ;   Production Value: Off
    : x' o* Z" v* a& o9 H

  160. ' Q3 \; k0 N1 h; G6 T. ~
  161. ; url_rewriter.tags8 j( S1 y6 G, i& L8 i+ c/ _. I* c$ _- K
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="! r5 s7 x% `, ]
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' {" g. l( p1 {  M7 l. V3 f, e
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry". g1 D% h- u) ?- W, |# I( q

  165. * V% X" M% z- Q0 L
  166. ; variables_order* E+ a% S6 h( E3 |  y8 h: x; k9 q
  167. ;   Default Value: "EGPCS"
    # q7 C% ]5 u% R3 C& O2 @2 ~
  168. ;   Development Value: "GPCS"- u9 O* m/ c$ d$ C# c* T
  169. ;   Production Value: "GPCS"
    2 k$ G+ a6 y$ }' n7 d' o/ x
  170. : A5 u8 l/ c/ M; |9 C; m" W
  171. ;;;;;;;;;;;;;;;;;;;;
    ; t% D4 k1 @( m; _( ]' I
  172. ; php.ini Options  ;: r' v' O3 n& X: s- ?6 N* B7 T
  173. ;;;;;;;;;;;;;;;;;;;;" H7 v7 c6 X0 l$ R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    . O: h2 w$ P# D4 t* Y+ i+ P
  175. ;user_ini.filename = ".user.ini"
    2 k+ e9 d7 x0 o8 Z2 A/ S7 `9 K

  176. * C/ {( |5 h# }4 \# M' n/ ], x  \
  177. ; To disable this feature set this option to empty value
    & }- ~" u: P. p. e6 I( L, K- m# a* u
  178. ;user_ini.filename =8 e! q* D  j6 R9 v$ H; n' E0 l
  179. # ^% h; V; o8 M  h6 e" K" j5 r1 I
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)5 m" y' c1 A4 E4 {5 ^0 M
  181. ;user_ini.cache_ttl = 300
    & w0 f6 e% L2 p" b: L- p) }

  182. 8 X+ T- V( ?2 _7 X( J6 j0 q
  183. ;;;;;;;;;;;;;;;;;;;;
    ( V; d, n3 f* i6 f
  184. ; Language Options ;
    1 U: \- ^, W1 e" E
  185. ;;;;;;;;;;;;;;;;;;;;- E$ w% _6 ~* Y1 f

  186. 4 c: h0 }3 q3 o3 Z
  187. ; Enable the PHP scripting language engine under Apache.3 I2 S6 J- M* w! R) B! m% R& Y
  188. ; http://php.net/engine
    ( S' V! O1 k9 j4 S6 B
  189. engine = On
    ( B/ V8 u  ^: O# I* ]0 |

  190. : Y0 [. i" F7 R9 t4 f1 @/ `0 e  R/ ]- U
  191. ; This directive determines whether or not PHP will recognize code between' X& }8 ?9 G9 X4 ]$ L
  192. ; <? and ?> tags as PHP source which should be processed as such. It is% O" I3 J) P$ e
  193. ; generally recommended that <?php and ?> should be used and that this feature, W* k$ H% L, h, Z- U' H
  194. ; should be disabled, as enabling it may result in issues when generating XML+ a* T& }: \2 |
  195. ; documents, however this remains supported for backward compatibility reasons.6 j/ T. U- ~9 o% x; w
  196. ; Note that this directive does not control the <?= shorthand tag, which can be2 g' P' I" @3 E2 f, \; B
  197. ; used regardless of this directive., H! K/ |' @7 U/ J
  198. ; Default Value: On( ^6 x$ s! o% d; g5 H) e
  199. ; Development Value: Off
    . q0 W( K! v/ ~- O1 W' K
  200. ; Production Value: Off
    3 a- s8 L  F& D8 m
  201. ; http://php.net/short-open-tag
    2 a! t( e, F& A5 b+ h  x
  202. short_open_tag = On
    9 R, o5 N0 F, t; Q
  203. * X. Q  C3 F! @2 a" q! F# D. d- V
  204. ; Allow ASP-style <% %> tags.
    " I. f, f5 h1 s
  205. ; http://php.net/asp-tags/ G) {, r; @* F6 R1 n3 V* G! i
  206. asp_tags = Off
    ' W# N$ h( t' y5 Z) p7 f  T

  207. / E9 I5 t/ a+ u; f9 r" d0 I# U
  208. ; The number of significant digits displayed in floating point numbers.
    ) J; ~8 e: {3 K7 P9 ~- a2 \
  209. ; http://php.net/precision2 c( G3 f% X5 S) O0 t& l0 _* b
  210. precision = 14
    ; D; H+ [% v; R* B/ h% ?" b
  211. + W5 v; |8 z( F5 e; k0 o" j
  212. ; Output buffering is a mechanism for controlling how much output data
    ' T1 O; W& E  o3 |
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    1 ^5 {+ n3 q3 i+ J3 U
  214. ; data to the client. If your application's output exceeds this setting, PHP
    & `) |% J% ]% M7 U
  215. ; will send that data in chunks of roughly the size you specify.
    # J8 t' F* \7 Q9 f& o* U
  216. ; Turning on this setting and managing its maximum buffer size can yield some: a- Q* n3 r- s# A7 l/ E/ @) `
  217. ; interesting side-effects depending on your application and web server.6 B1 A7 D6 I3 w; w9 {, i
  218. ; You may be able to send headers and cookies after you've already sent output
    " z8 f) o/ `6 ]; S$ @
  219. ; through print or echo. You also may see performance benefits if your server is3 s# f5 u# C" C* m# F
  220. ; emitting less packets due to buffered output versus PHP streaming the output) h0 I" R+ M- P7 j- H/ n" K) Q
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance7 h  X! ?% r$ J0 U
  222. ; reasons.
    5 k( |- c7 P# k( @8 C4 ^1 m; t+ {
  223. ; Note: Output buffering can also be controlled via Output Buffering Control' f: H- G9 Q0 c0 }
  224. ;   functions.
    7 I2 C- l4 T+ E/ I$ D0 q+ {; ~6 r/ U
  225. ; Possible Values:
    5 f7 b# _$ @( I! Y0 ~2 E9 v
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)" v* B! R0 t/ R* I* x5 `
  227. ;   Off = Disabled
    7 S9 h, n$ p7 q+ T
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    8 s) D" n  X6 \" L9 a( q- {
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI8 h. ]0 S# V0 t- F; T
  230. ; Default Value: Off
    $ i& L$ q* b5 Z+ Q
  231. ; Development Value: 4096
    6 Z( \" _- e4 m4 `) L
  232. ; Production Value: 4096: ~% \; @% L# \1 L- u1 _
  233. ; http://php.net/output-buffering# d6 B# v; A$ C8 h$ E9 J
  234. output_buffering = 4096& s) U, f' f$ }3 \& r, G. V. B% h/ q

  235. 7 H7 p: \+ T- V
  236. ; You can redirect all of the output of your scripts to a function.  For
    ' S8 M/ ]" Z- d" a& P
  237. ; example, if you set output_handler to "mb_output_handler", character2 l- H8 x! m8 U
  238. ; encoding will be transparently converted to the specified encoding.
    ! X- v* S# C  b% }1 a+ |- K! z
  239. ; Setting any output handler automatically turns on output buffering.1 N# B: ~/ d) t
  240. ; Note: People who wrote portable scripts should not depend on this ini8 g+ Y! F$ J3 w: ~- a
  241. ;   directive. Instead, explicitly set the output handler using ob_start().9 Z% E. }4 q3 i3 I6 z1 J5 Q0 d* y2 ?' z
  242. ;   Using this ini directive may cause problems unless you know what script
    5 }3 C8 X8 H, q& ~6 ]
  243. ;   is doing.
    ) {" o. V, d; b1 f" r# ]
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    7 N% L, `" t- r
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".  R& E; ]+ h7 G6 I$ i
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    5 Z+ u2 w5 x2 R+ j  E/ b
  247. ;   Instead you must use zlib.output_handler.
    - ^4 t/ v3 V( W6 s' e# V$ k! D
  248. ; http://php.net/output-handler; l& N: }" V: D" ]
  249. ;output_handler =
    8 ^. p8 x; d* f: l

  250. $ U2 H! d! j. A, t3 E
  251. ; Transparent output compression using the zlib library
    5 ?# y  z7 f$ `% X
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    2 ^7 g  a+ m) s2 n1 {9 z( d. Q
  253. ; to be used for compression (default is 4KB)- g5 K6 S+ d2 b# Y0 A) y$ @
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    & p' ~$ d8 N. S( j6 l
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    - I; ?" z% e! B% c/ C
  256. ;   compression. If you prefer a larger chunk size for better
    2 T/ u5 W$ i0 b
  257. ;   performance, enable output_buffering in addition.- I' y' [' t6 x: I  a8 ~
  258. ; Note: You need to use zlib.output_handler instead of the standard, S; h) k; u+ B0 `8 n
  259. ;   output_handler, or otherwise the output will be corrupted.
    ; r$ y2 A& M1 Z- o2 w6 x" l
  260. ; http://php.net/zlib.output-compression. Y# R6 o# t+ v& [" @
  261. zlib.output_compression = Off
    9 ^0 C; r1 \6 ]( {1 u$ A8 Z5 y0 y2 @
  262. . R+ b2 u4 `7 {
  263. ; http://php.net/zlib.output-compression-level
    " `( X0 u* X+ _8 p0 E$ J7 d. a
  264. ;zlib.output_compression_level = -1& n7 A7 N& }4 B; q/ k# }

  265. + ]- ^; P2 E; H0 w7 j
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ) w2 S2 R" r3 i' z6 P) W
  267. ; is activated here. This setting does the same as output_handler but in
    3 w( ?0 f% ]3 n  c$ y
  268. ; a different order.
    : k4 h7 G7 y! T: J
  269. ; http://php.net/zlib.output-handler* P0 y, B3 _/ _  I7 C- K' i2 t" X6 }+ n0 M
  270. ;zlib.output_handler =/ p1 a0 L" j5 [+ I9 {
  271. ( m6 m1 z: M" F* x+ h8 g
  272. ; Implicit flush tells PHP to tell the output layer to flush itself6 Y- t$ R0 f3 i; w3 j6 n
  273. ; automatically after every output block.  This is equivalent to calling the8 a+ _) ?) y, W) N
  274. ; PHP function flush() after each and every call to print() or echo() and each5 [5 T" M7 e5 i; _  O1 Y2 k% n
  275. ; and every HTML block.  Turning this option on has serious performance
    - S/ ?2 @7 e( L* x9 F
  276. ; implications and is generally recommended for debugging purposes only.
      U- c! d; H: @* `, H
  277. ; http://php.net/implicit-flush
    ( u% W4 v/ P0 H8 J, _% F$ ~! _+ \5 j
  278. ; Note: This directive is hardcoded to On for the CLI SAPI/ u$ ~. p6 ]6 u# G
  279. implicit_flush = Off6 Z$ h3 C: |! |) I, P5 T7 n: Y

  280. " a1 c; x7 D2 W5 j( R
  281. ; The unserialize callback function will be called (with the undefined class'- ^( X# d& |- D1 B8 h6 b
  282. ; name as parameter), if the unserializer finds an undefined class+ G% ?6 f" e* ~! r6 E( Y
  283. ; which should be instantiated. A warning appears if the specified function is
    2 H+ K: f2 t) D) j. N# h8 w
  284. ; not defined, or if the function doesn't include/implement the missing class.8 N6 F0 ]: Z/ q! ?6 K2 [
  285. ; So only set this entry, if you really want to implement such a0 i0 N2 ~! L$ j3 X" O
  286. ; callback-function.
    8 ?8 y; W& l1 t" m* k" ]  w: w
  287. unserialize_callback_func =& d: U2 e1 M1 w- E) R: H

  288. 0 t* l, C' _6 H4 ?/ Y& Z4 z
  289. ; When floats & doubles are serialized store serialize_precision significant: p; a' t7 O9 ]" o' ]
  290. ; digits after the floating point. The default value ensures that when floats
    + q4 i. Q& `- D( c: C
  291. ; are decoded with unserialize, the data will remain the same.
    & h  ?( U8 O+ v# }' x6 W, J6 n; G
  292. serialize_precision = 17
    # C* j$ P0 c' Z
  293. # y3 J3 a; Z  x8 e- d  o) z
  294. ; open_basedir, if set, limits all file operations to the defined directory
    # X  H# S- G5 ]
  295. ; and below.  This directive makes most sense if used in a per-directory2 _1 K0 B, K+ C' P! B
  296. ; or per-virtualhost web server configuration file.# O  z# r3 N' M- z# Q) i1 z
  297. ; http://php.net/open-basedir5 ?4 X6 K6 R( g. s
  298. ;open_basedir =9 Q+ M: i, G8 N6 B6 e( k% s3 B' r* u
  299. 3 O9 H- m* G# r( p
  300. ; This directive allows you to disable certain functions for security reasons.+ g9 H( ?+ Z7 D' ^; M
  301. ; It receives a comma-delimited list of function names.0 {* w% m1 z5 R' C
  302. ; http://php.net/disable-functions
    * \: ~9 u4 W6 U9 A& D. t) v
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru' @- t. P/ _! i3 W$ ?( b3 f

  304. & m! m7 }/ {: h$ ^/ g; k! s
  305. ; This directive allows you to disable certain classes for security reasons.
    ) B4 w: ~  j4 B: x. ^. G
  306. ; It receives a comma-delimited list of class names., `$ k6 G  k9 Q8 m9 P* t, V5 g
  307. ; http://php.net/disable-classes) `; K4 e  T, f" m* |! m
  308. disable_classes =
    9 X7 [1 h9 ~( i/ ]2 u5 Q; L

  309. / q2 c  ^, }' i
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    0 z% S" B% O3 ]: B% ?1 _. s, G" j
  311. ; <span style="color: ???????"> would work.
    2 y( s- [$ a) N% W" g; A1 q$ M1 q/ u. @
  312. ; http://php.net/syntax-highlighting
    3 x0 e0 W/ y% t7 g
  313. ;highlight.string  = #DD0000
    , @4 i5 F! ~1 ~" G: j
  314. ;highlight.comment = #FF9900/ \) A5 P1 \5 |6 j+ M  v1 y6 F' v- \
  315. ;highlight.keyword = #007700: {5 n5 k/ g& b6 |
  316. ;highlight.default = #0000BB, l* F% B7 C: B# M+ w) h
  317. ;highlight.html    = #000000
    2 ?  i8 Y" [2 J4 v* J, P

  318. ( e2 ^4 g1 ]! Q0 w3 U6 W
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    4 f0 o' ~. X9 G' V( \
  320. ; the request. Consider enabling it if executing long requests, which may end up
    6 B  s. V5 z, i' ^' z, c' V  m+ t! i
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    & a( G; t* i: v* V2 J/ L
  322. ; is to disable this feature.3 H/ K; Z0 O( k$ w. k) B& Q
  323. ; http://php.net/ignore-user-abort
    3 m. K; O$ ~% Q, {
  324. ;ignore_user_abort = On
    + }! I) b6 c) o4 [. q4 {

  325. $ @: B. M+ }6 T% U
  326. ; Determines the size of the realpath cache to be used by PHP. This value should) h# q( `0 n' E0 U6 B, x/ }
  327. ; be increased on systems where PHP opens many files to reflect the quantity of% ^' M1 J" P* ^: x# f. a
  328. ; the file operations performed.& h7 d! E& A4 O) r% O7 v6 u  c" j
  329. ; http://php.net/realpath-cache-size% m; T3 H  N+ _/ v
  330. ;realpath_cache_size = 16k
    # M+ j$ [. y5 M8 q  _) ~

  331. : E: g! F- w; u# \: M
  332. ; Duration of time, in seconds for which to cache realpath information for a given& F% K, r/ F/ O" ?0 k! P5 ^$ V- d
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    1 \2 Y, i( O8 L# {( Y
  334. ; value.
    6 _7 m% B+ Q* n9 m  ^. p5 d
  335. ; http://php.net/realpath-cache-ttl
    # _1 M! Z; S% A+ _- t4 @
  336. ;realpath_cache_ttl = 120
    / Z% e6 n% _  ?- I

  337. ) m! N. [; ^9 h* p) @1 z6 u
  338. ; Enables or disables the circular reference collector.$ I  i+ J' o) c/ Z- m% L9 ~
  339. ; http://php.net/zend.enable-gc
    . J0 \8 s5 L: i; R
  340. zend.enable_gc = On
    . w$ `( j% @) c. k1 i) Y" D
  341. - ]8 I4 d5 ~7 @1 }
  342. ; If enabled, scripts may be written in encodings that are incompatible with+ ~% U- u1 c3 @  M% \+ z
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such, W8 r. w# |; S  T( v
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    5 Z$ j1 |5 W% O3 W% C* M6 g7 q/ B! e
  345. ; Default: Off
    ) X+ |% J, o! H) g0 N7 S
  346. ;zend.multibyte = Off) s2 H6 u8 ^( i' W" B

  347. 1 R1 b# B$ T2 }5 v2 S; Z
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    # A6 _, @: L& ~+ ^# x, x( v
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.6 O; s3 @$ G" w( h9 C3 H& K1 ]4 k7 {% Y
  350. ; Only affects if zend.multibyte is set.
      w2 n# m9 ~, `4 H1 U9 ^
  351. ; Default: ""
    1 s8 W& L! @. d4 M: @
  352. ;zend.script_encoding =9 V3 G# L- G" n& f) Y1 m0 i

  353. & d' Q9 R8 P) j; u# r/ M  n
  354. ;;;;;;;;;;;;;;;;;+ b3 H) ^( y0 W" Z! W( G& S4 i
  355. ; Miscellaneous ;
    1 R" J' L9 ^! D% D. q
  356. ;;;;;;;;;;;;;;;;;
    ; w* p6 I) |- S1 B- I- }

  357. 5 Q6 }& x* W8 p0 ^
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    ( w8 [4 O4 @# D* Y0 u
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
      H( m5 B& {7 H7 q$ b* W" O
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    1 m+ e+ D6 G# i! S( n
  361. ; on your server or not.
    % B' i/ p& E5 [# k3 q# {  d
  362. ; http://php.net/expose-php2 S2 S& w' m. r( C! ?5 g8 |
  363. expose_php = On
    6 J  `! v' p, s% p8 A
  364. 9 r! |8 b* H1 }6 d
  365. ;;;;;;;;;;;;;;;;;;;, n+ ], i  w  g! w5 N. }9 y8 m
  366. ; Resource Limits ;
    & f3 |) Z' f1 x6 I3 c, X/ B) V
  367. ;;;;;;;;;;;;;;;;;;;9 Q  v* L+ z- y" Y- R
  368. ( ?! Y' i- B" T- ]* N. ]7 j
  369. ; Maximum execution time of each script, in seconds
    / O/ I' f* O& |; V) U6 L
  370. ; http://php.net/max-execution-time/ t6 P/ Y) L- u0 Q; p8 ~8 Y! S
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI2 d3 T$ ]# V+ T9 i6 v, C/ Z# T
  372. max_execution_time = 3008 Y# [- J/ d" r. h4 _6 ~
  373. + a8 \, e% S2 `' `7 X+ H
  374. ; Maximum amount of time each script may spend parsing request data. It's a good7 \) ~5 }4 H% h) s% c  v6 K
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly& X$ Q$ y( S" q( M- G. _; B
  376. ; long running scripts./ q. ?  h* j7 m/ x" B  D0 `  R, ~1 \
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI0 b- `- C/ m2 i" K1 I8 l
  378. ; Default Value: -1 (Unlimited)# g& U- {+ ?. P% `2 q
  379. ; Development Value: 60 (60 seconds)5 J5 |5 q4 e4 f/ P
  380. ; Production Value: 60 (60 seconds)
    5 [) V5 I, v0 d% C( f9 d
  381. ; http://php.net/max-input-time7 {+ c4 H+ s5 X/ }3 ]- V3 g) r
  382. max_input_time = 602 ^/ Q, Q: N. |& x2 q$ m1 Z
  383. ) f1 I- d' ^1 E! E; r+ }  a& M
  384. ; Maximum input variable nesting level: D& l# f# {- _
  385. ; http://php.net/max-input-nesting-level* U: `, V: m4 U, ~
  386. ;max_input_nesting_level = 64
    0 l" I% ?" g! y  W9 e
  387. # f/ g! A7 o. P
  388. ; How many GET/POST/COOKIE input variables may be accepted5 D  [) @7 _6 t) Z" U- D
  389. ; max_input_vars = 1000
    ) X3 Z- O% Y4 j' x, c! N) o! S
  390. 7 R6 D( h; n% u
  391. ; Maximum amount of memory a script may consume (128MB); G5 `& J. V7 C) i( J/ N
  392. ; http://php.net/memory-limit& w- U& U( Y; S8 j, F6 T
  393. memory_limit = 128M; f4 C! P  f; l6 V# f

  394. / Y# Y$ l$ B% a: _+ \2 A% U
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      ?1 p8 g4 z  m3 ^  |
  396. ; Error handling and logging ;! K5 p- f$ d" ^$ J
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2 X/ w# S8 f( H) @0 Y; [) r# {. K; H0 I
  398. ' e( l  }: ~& }: ^% v+ d
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    . e1 @$ B8 G- y/ l, R
  400. ; it to take action for. The recommended way of setting values for this; J+ B+ w' m! H. N8 v- `+ i2 |
  401. ; directive is through the use of the error level constants and bitwise
    + P6 r0 Z3 Q6 n7 e
  402. ; operators. The error level constants are below here for convenience as well as5 M2 G# v2 P1 c
  403. ; some common settings and their meanings.: f8 d! }$ @8 b# z
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    % b7 u$ D0 M- o
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ' M6 ^. }1 C6 {6 S8 a6 b7 P
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    7 V* H+ J  \# j8 S: S$ z
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    5 g. T9 O: [% F2 N# d$ f
  408. ; resources complaining about best practices and coding standards. That's what
    & C$ L* H% }. T/ D
  409. ; development servers and development settings are for.
    1 X3 {$ i) U6 f" D/ ^! ^6 O
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    , h; k" r8 d. p' |: h  J
  411. ; means it pretty much reports everything which is exactly what you want during1 H* Y$ a8 M& Q5 g# f/ z) {
  412. ; development and early testing.
    / Q# B! l; W( d0 ^/ e# n2 O9 V6 W' R
  413. ;$ i" o! @1 q) X' E3 P
  414. ; Error Level Constants:
    8 L% t5 ^$ E, q) N& D- u9 [
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    4 o% m2 P4 \; }9 @
  416. ; E_ERROR           - fatal run-time errors
      K0 r& o: N  [  G
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    7 i3 r3 p" K3 i$ I- A
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    0 ]4 N9 x- U! L) K4 K
  419. ; E_PARSE           - compile-time parse errors! b/ O" G- b7 R' t
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    3 O8 g" {& a- G% @& X( x
  421. ;                     from a bug in your code, but it's possible that it was$ b% k2 |: R( Y' y$ _) O1 `" S
  422. ;                     intentional (e.g., using an uninitialized variable and1 |9 D+ Y4 e& ], J. C
  423. ;                     relying on the fact it is automatically initialized to an+ n1 |$ q0 H0 j$ T
  424. ;                     empty string)6 l: u" s* H; z+ n4 o: E
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes- T6 L5 `  s# [7 H: A" ]( P+ W
  426. ;                     to your code which will ensure the best interoperability
    5 M; J+ R1 H) T2 |! g1 g# r4 R  E
  427. ;                     and forward compatibility of your code
    5 A0 O* i+ B& t- W2 S
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    : C, T( I; U  C4 K
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's; O( [, B$ L) I) d* T) R
  430. ;                     initial startup2 {4 E( }& l( ~5 i- @# f
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    3 ]' A- q$ M# Q* q
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)* W) i6 s  ^" i2 D: d2 z
  433. ; E_USER_ERROR      - user-generated error message
    " ^! _8 T0 W' x6 `' @" j
  434. ; E_USER_WARNING    - user-generated warning message
    & {; t9 a9 `, t( W( w( K
  435. ; E_USER_NOTICE     - user-generated notice message1 p' F& M* }4 @5 o% X
  436. ; E_DEPRECATED      - warn about code that will not work in future versions$ t& X1 v- c7 P- K$ p0 G3 D4 t
  437. ;                     of PHP: V6 i. g! ]7 i
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ( G/ f4 U) }" J0 g  ~
  439. ;
    6 d9 [) s# D7 Z8 @1 O! S
  440. ; Common Values:
    ! e$ x/ Z, H% O
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    * J* o& r. {; K. X4 R
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)0 ?$ _/ v% b! h4 j
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.); N5 v  P3 g( I7 x8 @$ e1 t
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)& _8 t% |& U/ v7 q2 e* Z. R8 d
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED7 U, |4 T8 \' g; d! o' q/ `+ Q
  446. ; Development Value: E_ALL
    6 F" e; q) D, }* g8 Z# O: E
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 a4 v+ x2 ^* l( J1 O6 o5 Z
  448. ; http://php.net/error-reporting
    : ]- d9 a. ]( e
  449. error_reporting = E_ALL & ~E_NOTICE
    6 T0 F) L# l+ E) W

  450. 5 \1 P* P! ?- v$ I1 M0 ~* g" D
  451. ; This directive controls whether or not and where PHP will output errors,
    + ?6 X8 \$ v& V% V, t
  452. ; notices and warnings too. Error output is very useful during development, but
    . U6 l0 }/ a2 F2 {+ h" x
  453. ; it could be very dangerous in production environments. Depending on the code
    / o, ~: A/ d% v9 ?1 X- V
  454. ; which is triggering the error, sensitive information could potentially leak3 w: a7 V/ p5 P: A' {( B
  455. ; out of your application such as database usernames and passwords or worse.. E1 A3 c, s. A" |* S
  456. ; For production environments, we recommend logging errors rather than6 }0 h3 @7 t  U# \$ w+ s5 a9 M
  457. ; sending them to STDOUT.
    % K2 a9 s  e( F5 G# P4 ~' g
  458. ; Possible Values:6 v) ^1 I0 _3 X; _% N/ ^  s2 K0 I9 w
  459. ;   Off = Do not display any errors* P, e) k- {& M
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)& z8 O% V8 @2 U/ h: _- p  U' _
  461. ;   On or stdout = Display errors to STDOUT  Z! N- k1 h. r! D6 R
  462. ; Default Value: On
    - z6 D3 ]+ ~+ q3 J
  463. ; Development Value: On
    & W6 H' y* u- d
  464. ; Production Value: Off$ m3 @1 ?+ H' B" r4 |- [
  465. ; http://php.net/display-errors
    ' Y% `- C- s4 J2 E* z
  466. display_errors = On7 r  _& \* w2 g; N

  467. * v+ i3 S% o+ s
  468. ; The display of errors which occur during PHP's startup sequence are handled
    " t2 ]6 O1 C+ @# c7 G0 f5 I' V, }
  469. ; separately from display_errors. PHP's default behavior is to suppress those: v* Y5 |" d/ Z4 A8 K8 B
  470. ; errors from clients. Turning the display of startup errors on can be useful in, I5 {5 U2 M! D3 Y9 X# Q
  471. ; debugging configuration problems. We strongly recommend you; d1 Y/ g! `! K+ J$ z$ J+ x8 B
  472. ; set this to 'off' for production servers.
    9 t3 j8 A4 ~/ v$ U
  473. ; Default Value: Off8 i; _0 g3 ^1 r+ y( d
  474. ; Development Value: On
    9 Z8 t7 a& E. B( v0 l: Y6 N+ w
  475. ; Production Value: Off
    1 [9 o, d9 |6 V- K3 s7 {/ ?2 H' P8 w. I
  476. ; http://php.net/display-startup-errors
    $ N6 \  Q) }+ Y0 J" u9 D( K
  477. display_startup_errors = Off1 D% b6 k! `, L  b
  478. 9 ^* Q1 \8 B; g' E3 Z8 l
  479. ; Besides displaying errors, PHP can also log errors to locations such as a: n/ g* E' `  g6 i3 X9 R% O, e
  480. ; server-specific log, STDERR, or a location specified by the error_log9 g9 F3 E9 T) Q9 R3 I: m" w' i4 W
  481. ; directive found below. While errors should not be displayed on productions3 a9 [8 Y- N1 M7 z) r- X
  482. ; servers they should still be monitored and logging is a great way to do that.9 L5 ~  S- x- r
  483. ; Default Value: Off" P* F/ V1 n6 r
  484. ; Development Value: On6 K/ c5 A' z- G$ B6 G0 M! t: B5 D1 x
  485. ; Production Value: On1 E) U! Q2 W/ C) e
  486. ; http://php.net/log-errors
    0 x3 q: C0 {  c
  487. log_errors = On
    8 g, m7 X! O; R/ t( N- I

  488. % f" a3 w- d( I5 S  W3 L9 p
  489. ; Set maximum length of log_errors. In error_log information about the source is
    3 f4 j$ N1 Z6 c' e
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all., g8 A1 g. M6 a# G1 W. {) h
  491. ; http://php.net/log-errors-max-len
    1 W8 {1 g# W$ ?0 L
  492. log_errors_max_len = 1024: I* a) L0 L' G! H, J7 k( \

  493. 9 S- q  B) y( c9 T- a
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same. p# v0 N6 G# M( k
  495. ; line unless ignore_repeated_source is set true.7 k2 }1 n. K+ T" r
  496. ; http://php.net/ignore-repeated-errors
    3 T2 }% q5 M# O
  497. ignore_repeated_errors = Off& g5 w- s& M; H9 }' a7 \

  498. $ Y- Y0 p% M+ a
  499. ; Ignore source of message when ignoring repeated messages. When this setting& f  n; K6 |% g! Y8 C9 R+ G
  500. ; is On you will not log errors with repeated messages from different files or
    & q5 B- P+ s. f6 k2 k  N( M
  501. ; source lines., y/ J" E( k( s  N/ V  n$ ]' E
  502. ; http://php.net/ignore-repeated-source
    / C; d) x6 H4 h$ k; u* r( t
  503. ignore_repeated_source = Off) m2 R  T; |2 h3 g% {, S

  504. " q2 Y3 I" K3 [5 j+ k$ s' f
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on9 s8 z- C+ x3 j' I: b) w
  506. ; stdout or in the log). This has only effect in a debug compile, and if/ P$ m+ }/ P0 Q& f) W- T
  507. ; error reporting includes E_WARNING in the allowed list- F  m* w% z4 Y1 x
  508. ; http://php.net/report-memleaks
    3 t/ X$ v, D6 A4 I( O: q. |0 `# m, z
  509. report_memleaks = On: w* b) J/ G/ C6 g7 |2 l, e: y" t

  510. $ C4 C% I2 m* P& _4 _# S& I+ Y
  511. ; This setting is on by default.
    ( F# E0 U( d9 L- r
  512. ;report_zend_debug = 0
    . m5 q. f* M+ G2 F# q

  513. / c7 }" f, O5 @% T$ F/ x' ]% i/ U
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value" f+ f: Z* H6 J. ^: i2 F7 f
  515. ; to On can assist in debugging and is appropriate for development servers. It should6 q; \/ C/ u. C- P
  516. ; however be disabled on production servers.* x* K. C8 z% `8 [* A& m( f7 Q
  517. ; Default Value: Off
    " G+ Q+ C7 t: N
  518. ; Development Value: On' i8 e5 X* i6 D0 f6 c
  519. ; Production Value: Off
    9 b8 Y7 h6 a$ w) O$ J4 C" w8 c
  520. ; http://php.net/track-errors5 R( X8 s: [" t  y
  521. track_errors = Off6 h5 |( n6 l, \8 b

  522. : a" [' m6 @$ d, U0 j
  523. ; Turn off normal error reporting and emit XML-RPC error XML
      B) e/ p6 U- d9 X; Y
  524. ; http://php.net/xmlrpc-errors
    6 v% M% |8 _+ p. R6 P
  525. ;xmlrpc_errors = 0' `# H# P1 n1 G8 r3 `
  526. ; m9 Q" ^" b8 D' l( X
  527. ; An XML-RPC faultCode
    + b' n& k# z" n; A' M
  528. ;xmlrpc_error_number = 0
    & W. ?9 k! ^6 y( m6 z

  529. & k; L6 Y' v" J2 N
  530. ; When PHP displays or logs an error, it has the capability of formatting the2 h3 B9 ]& D; C/ f8 E7 c2 S
  531. ; error message as HTML for easier reading. This directive controls whether
    - y6 m* _+ G0 U2 p
  532. ; the error message is formatted as HTML or not.
    # k( Y4 g% z9 f9 z
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    7 ]; h8 U" ~  Q( {0 l. |$ X2 [
  534. ; Default Value: On8 {4 q. p1 p$ J1 @* c  W. z" J
  535. ; Development Value: On. Q% ]( _9 u# A, X% m
  536. ; Production value: On$ Y3 {6 V' T# |! A' _5 Y) q2 M. i
  537. ; http://php.net/html-errors8 H5 |$ l7 l4 b( Z* ^
  538. html_errors = On
    9 z) Z  R/ X* D+ N" s! H) r) P

  539. . k4 f& O+ J3 q9 m! j6 a, M
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    6 q3 G- ^& k& }$ E( C' }/ K* |, U
  541. ; produces clickable error messages that direct to a page describing the error
    * U8 P4 b9 c& x" [
  542. ; or function causing the error in detail." L; n, B2 Y7 ^
  543. ; You can download a copy of the PHP manual from http://php.net/docs9 o( S0 |8 }+ @2 b- s
  544. ; and change docref_root to the base URL of your local copy including the& v* B" h& |" L* O3 Q& O
  545. ; leading '/'. You must also specify the file extension being used including) V! \* s4 V3 V- s/ \
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which* Q8 B& p' u( H6 M
  547. ; case no links to documentation are generated.
    % B- O' J. M; b5 R$ j7 C
  548. ; Note: Never use this feature for production boxes.& E9 a% o( W7 y+ n. o' n# R
  549. ; http://php.net/docref-root
    7 S! r9 k( N' r1 `- v0 Z
  550. ; Examples
    # z1 S+ P0 y, ~
  551. ;docref_root = "/phpmanual/"  ]$ a; I  Z! j0 M+ p& m7 B* X

  552. 0 k3 }* k( N: o6 U% G
  553. ; http://php.net/docref-ext
    6 ]7 j5 D. }* `
  554. ;docref_ext = .html
    ; ^2 n$ n  L: {! g" P* h7 F
  555. % A. f$ R5 U# _/ ?
  556. ; String to output before an error message. PHP's default behavior is to leave
    7 v% A1 v  W9 e& f) x* f
  557. ; this setting blank.
    * y; f$ `7 [1 Y9 y5 b
  558. ; http://php.net/error-prepend-string
    ( A7 ~0 g9 M( @* Q* H, w  v
  559. ; Example:" C! z1 }- R: T+ g
  560. ;error_prepend_string = "<span style='color: #ff0000'>"6 c- ]8 R# }  v* x$ L2 o% g
  561. 7 K5 Z0 f8 o5 [8 p) i
  562. ; String to output after an error message. PHP's default behavior is to leave( R+ v) N( x3 r2 s+ [9 C$ ?# H
  563. ; this setting blank.$ ~- n8 P: J& d3 L" a
  564. ; http://php.net/error-append-string
    1 w( h! C$ j8 W" m
  565. ; Example:: i. \! W" F3 l8 X! U
  566. ;error_append_string = "</span>"
    6 r3 A- c9 F% g* V4 i0 ?$ D9 H

  567. " _, J1 Z/ Y7 O4 z5 `* v" D
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    - p" W6 w! G* L" ^+ H
  569. ; empty.
    $ M. J2 t6 d" T
  570. ; http://php.net/error-log
    8 F; m" I7 N8 R( E
  571. ; Example:
      L( E3 Q' F; {7 x1 y
  572. ;error_log = php_errors.log
    - `0 d7 V3 @3 H
  573. ; Log errors to syslog (Event Log on Windows).
    , t; ]9 q4 ^- ?8 o8 \# x1 ~* l! I
  574. ;error_log = syslog
    & V5 r" ?3 }/ ]( F$ A: a
  575. 6 \' f# |$ \4 A' @  w* |2 [- T0 U
  576. ;windows.show_crt_warning  X: {6 }6 F% I8 v7 a4 l
  577. ; Default value: 0
    , L% `3 @1 ^9 m
  578. ; Development value: 0$ b; ?6 b  z' {2 Q
  579. ; Production value: 0
    6 Z. I% y9 m* K: y5 R2 v2 _. S
  580.   X. l4 n) \% N, p
  581. ;;;;;;;;;;;;;;;;;
    8 t3 F: J% [  a% N# z! J
  582. ; Data Handling ;
    0 F$ t8 w2 A9 D# g' m1 N: t
  583. ;;;;;;;;;;;;;;;;;2 F8 H  A0 @" L- F
  584. # N  f! `3 @% X; G" B" Z: z% {
  585. ; The separator used in PHP generated URLs to separate arguments.$ ^  U1 i$ h  Y7 W& V. I
  586. ; PHP's default setting is "&".
    - X8 d/ E$ A9 x, `" F- r
  587. ; http://php.net/arg-separator.output3 K- q& o4 F1 p  X* y
  588. ; Example:+ m4 B$ b) `( g, \& C% V. g
  589. ;arg_separator.output = "&amp;"
    7 R2 @, T1 e$ p- B
  590. ) |! y+ U' Q% Q: j  o/ u# ^
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    6 H' `9 i2 }' T$ s
  592. ; PHP's default setting is "&".4 {: @9 Q, i- p. l
  593. ; NOTE: Every character in this directive is considered as separator!
    / q3 t% w1 e( u
  594. ; http://php.net/arg-separator.input
    . S) G# E( c" s2 A( z7 x" A. [; Q
  595. ; Example:% [( @2 f$ C# x2 N
  596. ;arg_separator.input = ";&"4 L/ t% p1 B( I5 b: z7 ^" y
  597. ' t3 n) x: T$ d# i6 ^# P9 K
  598. ; This directive determines which super global arrays are registered when PHP( L9 N$ m6 v" R" D  I7 d
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super( t4 t6 Y; ?# V1 y3 E
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty* v0 i& J6 h" e, M- l# ~
  601. ; paid for the registration of these arrays and because ENV is not as commonly+ x4 D5 |! r& c+ F
  602. ; used as the others, ENV is not recommended on productions servers. You
    ! |* T9 m+ |- Q( F
  603. ; can still get access to the environment variables through getenv() should you" p4 i* U- k$ P
  604. ; need to.* V, [  p" x* }
  605. ; Default Value: "EGPCS"
    ( F2 {- V( c( w5 U2 b
  606. ; Development Value: "GPCS"4 X+ d- _3 \. y3 ]
  607. ; Production Value: "GPCS";
    0 \! t* F/ }: I+ P4 `0 T
  608. ; http://php.net/variables-order  }: F7 i: {, d$ @6 F# G# b1 ^! V
  609. variables_order = "GPCS"
    / F8 `' ^/ c0 t

  610. - |7 }, Y7 i2 r/ u: H
  611. ; This directive determines which super global data (G,P & C) should be
    6 l+ |$ w7 X5 z* F' x" T5 W" b  E
  612. ; registered into the super global array REQUEST. If so, it also determines* P2 O8 H2 o, K- {! n- `, [
  613. ; the order in which that data is registered. The values for this directive8 j$ Y) }8 y$ P6 X0 p, X7 F
  614. ; are specified in the same manner as the variables_order directive,
    6 v+ S( V- q* p) }3 R
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    8 J  o% T: R" F+ o( K
  616. ; in the variables_order directive. It does not mean it will leave the super6 O* M: ]5 H3 K  g1 K# u5 t, \
  617. ; globals array REQUEST empty.
    ( h* E7 F' T# {1 Q8 s
  618. ; Default Value: None( u% w2 A6 g7 |& c! }. Z" t# L
  619. ; Development Value: "GP"" O1 t, C5 t8 b, `6 b
  620. ; Production Value: "GP"
    1 L5 j9 |% {8 k+ C0 c' d% C' a
  621. ; http://php.net/request-order
    - T  d2 p5 q2 B' r. [9 k/ ^  z
  622. request_order = "GP"
    ) U& x5 w- {& p) T4 h

  623. 5 H) |1 z. V! B+ l' c- c, Z2 D+ D
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    ; R/ ]! ?$ w) ]7 @
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ( B& k' u; H& ^& q  ]& t
  626. ; is invoked. $argc contains an integer representing the number of arguments+ D4 h. W/ p( C" X9 q0 H% Y* T
  627. ; that were passed when the script was invoked. These arrays are extremely- R5 f8 g$ Z3 y" G6 Z% q  r% K* E
  628. ; useful when running scripts from the command line. When this directive is
    ' ^; }4 U8 B9 ]5 z3 Y! R. }
  629. ; enabled, registering these variables consumes CPU cycles and memory each time/ U/ V0 c! _4 B3 \4 B
  630. ; a script is executed. For performance reasons, this feature should be disabled9 ~# Y# F: J9 c) D+ V
  631. ; on production servers.0 f, y3 M" Z* p; K3 W% ^
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ) @) s( s. i( W5 K2 Q
  633. ; Default Value: On2 \: v7 ]6 F) l( F4 Q6 x" r
  634. ; Development Value: Off
    - A" U; z- G4 ?: O
  635. ; Production Value: Off
    2 W# D) n( Y5 S$ U, V
  636. ; http://php.net/register-argc-argv
    2 V2 d5 b# u- c4 C( D( ^
  637. register_argc_argv = Off
    3 Q% L+ S8 }" _: \3 S1 Y
  638. ; w" ^7 _8 O2 c: x4 b. K" A$ [% S5 d8 R
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're% H6 v8 k9 F$ y
  640. ; first used (Just In Time) instead of when the script starts. If these
    2 p( i& L) w2 R6 u& r
  641. ; variables are not used within a script, having this directive on will result
    ; g, j& {3 F9 R- z0 y$ l
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled2 @5 ^, X3 `1 R
  643. ; for this directive to have any affect.) K1 F' r% @4 j4 ]% L6 X
  644. ; http://php.net/auto-globals-jit
    2 V- a5 {: V/ B! A# {9 U4 w" s
  645. auto_globals_jit = On/ r3 E0 @' W2 ~( {, \, m9 e

  646. & [; w- ^  D6 R7 S/ d4 _# J; \- W
  647. ; Whether PHP will read the POST data.
    9 M( t7 {' \7 ], n
  648. ; This option is enabled by default.
    * E2 v5 O. W, m( H1 b
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    * b7 ?7 o* l, ?3 G0 |7 h
  650. ; and $_FILES to always be empty; the only way you will be able to read the0 d6 h6 {9 Q/ z- V2 e
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    2 j1 i" O; y$ l  j4 ~
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.' ]) g1 l) K& q8 L- i
  653. ; http://php.net/enable-post-data-reading1 O- F0 c3 z$ D$ H0 b4 W9 f  W
  654. ;enable_post_data_reading = Off
    ) E+ m+ G2 t  n' I
  655. : V. ~! g% O( G# J6 A" f3 h, G
  656. ; Maximum size of POST data that PHP will accept.# }* _8 n6 d" D' W
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    - J6 ^* t% E( Q/ s& y; W1 z
  658. ; is disabled through enable_post_data_reading.% ]" y, l% x( ]) n8 y
  659. ; http://php.net/post-max-size* V* g. K6 X( J' g
  660. post_max_size = 50M
    2 N& A; G0 Y2 F: O/ T
  661. 3 N4 h# o0 f+ O) u7 O) m
  662. ; Automatically add files before PHP document.
    - p3 @( e; k0 l- ?+ f' s
  663. ; http://php.net/auto-prepend-file
    / q" J2 W% i% d# L1 u; z
  664. auto_prepend_file =
    7 H; N/ s: W: ~( P' y8 o

  665.   S8 G, i  E1 A) k
  666. ; Automatically add files after PHP document.  H  E" b) B* k  {  I1 O
  667. ; http://php.net/auto-append-file
    . B7 m, y+ `2 {5 ]; q# D
  668. auto_append_file =
    6 K* @4 F+ S+ f

  669. : V. m& a! E$ S7 ^! i
  670. ; By default, PHP will output a media type using the Content-Type header. To
    5 s5 {. S$ ^0 S- H
  671. ; disable this, simply set it to be empty.$ c& i1 [" V/ b  r) U
  672. ;
    1 _. p  t3 t1 n' p5 [5 F1 G/ w
  673. ; PHP's built-in default media type is set to text/html.
    - ^3 ]+ d- q" ^# I
  674. ; http://php.net/default-mimetype
    ) }2 a- Z- \. {& V5 \8 d/ D6 c/ l
  675. default_mimetype = "text/html"
    ( `/ @$ W8 U( u4 G

  676.   A; L6 w. o1 {& [% f! b
  677. ; PHP's default character set is set to UTF-8.
    0 `. a: N' E9 }% B' ^* t
  678. ; http://php.net/default-charset+ \' p( R/ Q  v; Q' m
  679. default_charset = "UTF-8"2 y0 x' |+ {. K
  680. ( x7 E, W8 u8 T( {1 n0 `1 P' G
  681. ; PHP internal character encoding is set to empty., R/ D5 J. a9 w% l, [
  682. ; If empty, default_charset is used.
    , ~3 Z7 B- c: a. y2 X
  683. ; http://php.net/internal-encoding( p# T* |  B! N
  684. ;internal_encoding =' q3 O8 n+ D/ H! F# e- w

  685. + M# M: j; D7 A
  686. ; PHP input character encoding is set to empty.  C$ ~# `2 O9 S4 K
  687. ; If empty, default_charset is used.: z) I* i" m) X* O3 g
  688. ; http://php.net/input-encoding5 F; N% W( g+ ^2 D) J; r
  689. ;input_encoding =
    1 }. y3 u" r+ ^! q: L& f1 b
  690.   s" Y$ }: m( A% ]3 A
  691. ; PHP output character encoding is set to empty.: r' f: y  n  k0 h
  692. ; If empty, default_charset is used.
    & L. N1 u  N: A# e( b, O7 D/ k
  693. ; See also output_buffer./ g9 |0 H2 k: |/ N0 M2 s
  694. ; http://php.net/output-encoding$ F, R/ h& d; v+ C/ f1 }
  695. ;output_encoding =: j! i% l) \  D
  696. * z. ]0 a3 l) b& H0 N4 i# s! d
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is) G0 ^: M8 v* D0 `, }' r
  698. ; to disable this feature and it will be removed in a future version.
    6 F, T1 E5 h; O5 ^  l$ _4 L
  699. ; If post reading is disabled through enable_post_data_reading,9 t/ Y8 z3 A3 g9 f# [( ]
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated., M) ~& O5 s7 q' D" U% h
  701. ; http://php.net/always-populate-raw-post-data
    % z* p! [$ E$ D1 R, s' s; z
  702. ;always_populate_raw_post_data = -1) H6 X. g) ~! _2 v5 U$ V' s
  703. 6 c/ d. c! b4 m) ^8 D0 I
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    : y7 `% G. s' ^9 d( x
  705. ; Paths and Directories ;8 G& }" g2 V& v: b  [; q
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ k/ z8 q$ d( q2 X

  707. 8 A" I$ A: w# O/ r) ]$ H# h# Z
  708. ; UNIX: "/path1:/path2"0 Q' M, y. x. e$ C! \
  709. ;include_path = ".:/php/includes"
    9 Z% h" j: X- N
  710. ;: _( N0 N+ V: [3 r2 p6 C
  711. ; Windows: "\path1;\path2"# Y3 h! M: C- ?9 H: r% G
  712. ;include_path = ".;c:\php\includes"
    , X& h6 g  U; Q5 y" i& D, {
  713. ;
    ) E( ]) V3 @  Q+ l
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    + |$ Y7 p* v" P( s( S  b
  715. ; http://php.net/include-path
    & G# f2 G# z9 Z0 h& v: T
  716. ) ^/ u  Y, @  Q' O( }
  717. ; The root of the PHP pages, used only if nonempty.5 P: w, y" ]7 X2 v
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    2 @  p3 E- r2 d1 C5 h( U3 v  Z1 U
  719. ; if you are running php as a CGI under any web server (other than IIS)
    & |7 C- \, ]: U; ^! e3 N% G
  720. ; see documentation for security issues.  The alternate is to use the
    4 w( r4 t) A& u
  721. ; cgi.force_redirect configuration below0 g# Y0 M4 n& w: i
  722. ; http://php.net/doc-root
    - ]( Y, N6 D9 |; _/ ?# y' W# ~
  723. doc_root =2 A* m9 _8 Z$ P2 n9 f2 a
  724. " F% q, @0 e6 U8 c7 `
  725. ; The directory under which PHP opens the script using /~username used only& v( J$ |! y0 i* ~( _1 j0 q: A
  726. ; if nonempty.+ D- y  k% ^3 m
  727. ; http://php.net/user-dir& l( O; j$ u' J
  728. user_dir =/ a; s6 ^/ U3 t; q3 P) I
  729. , ^8 V8 j8 E$ z8 }
  730. ; Directory in which the loadable extensions (modules) reside.% A. O5 ^  ~7 s" f
  731. ; http://php.net/extension-dir; Y3 J; _8 I/ T/ |4 Q7 ~
  732. ; extension_dir = "./"9 X; J0 i9 D# c' f, O
  733. ; On windows:1 w0 E2 I/ `. v% s! n9 t5 f
  734. ; extension_dir = "ext"
    7 D; p( {( |# j% i
  735. ( Y# q9 I8 N: Q; ?/ S
  736. ; Directory where the temporary files should be placed.( K4 L4 K6 ]6 {1 x* }
  737. ; Defaults to the system default (see sys_get_temp_dir)6 \5 r9 R. R/ Z$ X% R( O7 D
  738. ; sys_temp_dir = "/tmp"
    ) _3 E" p" S, y) V

  739. & C; b3 q3 A! R( {. M* s
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work5 m( c! \: C5 q$ e6 O+ d+ j
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically! ]% q  k  r, n1 F+ [
  742. ; disabled on them.3 t0 j2 J- m9 @; ^( k
  743. ; http://php.net/enable-dl
    # U2 S+ p$ o% o9 r  Y
  744. enable_dl = Off1 K1 l: f% P3 V: f: b
  745. $ q2 Y7 f9 H% E9 m9 \8 d/ e3 J% `/ }
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ! V0 a+ M# y% G5 x# d! B! E# v/ \
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ' x8 b- I3 O( C1 v  x7 d3 E' J
  748. ; turn it off here AT YOUR OWN RISK5 g/ k! T) g$ E  {
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    , |' x0 \  A, b; A
  750. ; http://php.net/cgi.force-redirect
    - a- m  r' {/ v/ @1 j5 r5 D
  751. ;cgi.force_redirect = 1. i6 O, q6 I2 y2 E
  752. 3 {( i0 I* L+ m
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    4 A5 M: F# J0 Q9 j; k; f* V
  754. ; every request. PHP's default behavior is to disable this feature.2 \' Z; {5 a  g& v' v
  755. ;cgi.nph = 1: O3 B( f* z4 l/ k1 L

  756. ; o. e4 ?1 J, p  U% R/ n0 U3 s
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape1 ~# s0 b8 ^* T! p' L  ^
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP( F" p: y; y: y) e+ M/ }& F  e
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    + Z* A; Y3 @( p) t
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.. o" c& E; H4 n+ Q7 |0 Y6 p
  761. ; http://php.net/cgi.redirect-status-env9 K" s) ^/ R) [; x6 P# q
  762. ;cgi.redirect_status_env =: X7 _, ~# Q. W$ g. q' w4 j

  763. * {! l- ~/ h: r$ i  c8 i9 A
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's. B" N: |; N( [9 o
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok4 d  Z' O$ C/ f4 U# y5 H7 Y
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    & m) ~8 v& e. X" q+ }/ Y0 g- T. U
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting/ c& I. J0 e! I2 K6 M4 P
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts( a# M* z, Z6 M
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    1 ?7 m( w8 H+ B) ?1 R+ d  d
  770. ; http://php.net/cgi.fix-pathinfo
    ' [0 W& e/ B/ }# O8 A' {
  771. cgi.fix_pathinfo=1
    9 z: r  b+ u0 L, R& _; J

  772. , k& a8 ^% E+ F& _1 {5 X
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    * T5 @; L0 y2 n! U; S! e" ?
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    0 i" ?5 h' I5 A6 i
  775. ; http://php.net/cgi.dicard-path
      y8 P2 I: W7 O! T0 N
  776. ;cgi.discard_path=17 N) v, @  L% k  \" D& R

  777. # d4 B5 u, ?' c6 \% e
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate- u$ g  g) Y# \3 A6 v
  779. ; security tokens of the calling client.  This allows IIS to define the
    8 ~% I1 O% f# K% P0 v& s8 i+ x
  780. ; security context that the request runs under.  mod_fastcgi under Apache, S1 ?8 j7 h: f6 {5 t3 O4 j" S/ Z
  781. ; does not currently support this feature (03/17/2002)
      L+ z" Q5 e7 v! K
  782. ; Set to 1 if running under IIS.  Default is zero.
    , J: j" o" @- I* E: C" k4 P: G
  783. ; http://php.net/fastcgi.impersonate
    * M6 n( u+ N( a( y: x
  784. ;fastcgi.impersonate = 16 s" Z1 a7 T7 |" }
  785. " h$ A- F* s6 i- S# o
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    / b" \' O! h* K5 a9 Q
  787. ; this feature.8 h2 z( f2 J/ y/ P  @
  788. ;fastcgi.logging = 0
    $ i  L4 u0 V! J7 ^' i: v; l
  789. ; F& ~# c% h2 y1 B+ _$ G1 I
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    : |! G1 w, [! U
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that+ s/ ~4 V! K% W* x6 s& [6 a
  792. ; is supported by Apache. When this option is set to 1, PHP will send3 \! }0 n0 q/ g5 d
  793. ; RFC2616 compliant header.7 J4 h9 N$ e9 m7 o: I. n
  794. ; Default is zero.7 i! R. X/ W% q6 H
  795. ; http://php.net/cgi.rfc2616-headers
    1 ~" U# {! e: ]/ W7 D
  796. ;cgi.rfc2616_headers = 0) ^" m) H1 Q6 q. j( s) @) ?
  797. : N9 N2 C5 |7 z6 [
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ! S4 s  I" G) Y8 G+ {" w: X# L
  799. ; (shebang) at the top of the running script. This line might be needed if the3 y0 V& X' q% Y6 f( m$ v: H
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI' ~/ b0 s# C. d6 N# M' ]7 v
  801. ; mode skips this line and ignores its content if this directive is turned on.- g, d' E1 a9 A% p2 Y( A
  802. ; http://php.net/cgi.check-shebang-line4 z; f- J9 t! |
  803. ;cgi.check_shebang_line=10 E# n0 C: e. C4 v( N8 b

  804. & |' U# I# W+ G4 w8 L" n( h& G
  805. ;;;;;;;;;;;;;;;;$ I; [2 ^, @7 v! ?7 G
  806. ; File Uploads ;) W5 k, P9 B7 W
  807. ;;;;;;;;;;;;;;;;
    % F3 {; \3 Q/ P9 G1 b6 l+ `9 ~  Z

  808. & w0 F. r" S% B5 L7 w5 A' [2 e( \* D" L
  809. ; Whether to allow HTTP file uploads.) n$ J+ L1 C  _1 ]* Z1 v
  810. ; http://php.net/file-uploads# c: ]/ Q8 D! G7 k- d4 x
  811. file_uploads = On4 C& J& t* G% G7 g  P
  812. ) t& d$ y3 H/ N* |9 t
  813. ; Temporary directory for HTTP uploaded files (will use system default if not$ S9 V6 H8 v3 H9 l
  814. ; specified).
    % i! j$ E. C7 ]/ [- F4 V8 D  \( w# C
  815. ; http://php.net/upload-tmp-dir, r2 _" j& Q- N) M- X
  816. ;upload_tmp_dir =
    ! D  B9 R! p" ]; C/ A  h6 B
  817. ) ]. M8 d. i2 G# s+ h
  818. ; Maximum allowed size for uploaded files.
    # m/ o" r# h4 m% l% m, A* V6 D9 Z
  819. ; http://php.net/upload-max-filesize
    , G* O* C" \- U; l7 f3 o
  820. upload_max_filesize = 50M2 t/ A0 a9 }) x8 O

  821. ' w, T- v5 I0 K2 u% ^7 \% d  B
  822. ; Maximum number of files that can be uploaded via a single request% ^" k5 n# w& U# d: q/ f: O1 e3 B
  823. max_file_uploads = 20
    0 c) |9 {0 \5 S7 h! y

  824. 4 J+ N4 K0 F; q' t5 l' ~; s
  825. ;;;;;;;;;;;;;;;;;;
    ; ?) S" [9 P. k* H
  826. ; Fopen wrappers ;4 j+ C7 m/ Y2 ~2 ^1 n
  827. ;;;;;;;;;;;;;;;;;;
    0 P& I8 v! s: B' L1 G

  828.   ~$ Q8 r* D$ J1 M: l5 e+ Z$ J
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.- M% ]$ @* w# M5 C
  830. ; http://php.net/allow-url-fopen/ q3 I3 s# X% L4 e; z" @
  831. allow_url_fopen = On" u3 v- k8 R- S% ?/ @

  832. 6 i& d' }0 L+ n* P( X4 T
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    6 Z% f6 f$ h* w
  834. ; http://php.net/allow-url-include7 \6 a, y$ a. a' @3 w9 v
  835. allow_url_include = Off
    ; @) E7 }( M7 c  C" t6 m

  836. : [! ^+ J( a; Q$ @8 t3 P
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    # X( ?+ M9 ~" l* g* I
  838. ; for this is empty.
    : h/ w, h8 n3 T" E, l
  839. ; http://php.net/from/ p1 h  U7 v, e
  840. ;from="john@doe.com"
    ) B1 l9 \! P2 ~. D. H; e3 X  s

  841. 9 f+ i+ I: D( t* g( _
  842. ; Define the User-Agent string. PHP's default setting for this is empty.( x9 L# ~& t' I6 Z
  843. ; http://php.net/user-agent1 |' P% q6 {0 }) E
  844. ;user_agent="PHP"
    - |+ ?# P( s! E/ r9 `" x
  845. 5 I/ d7 q$ N  q: n4 u: Z+ q
  846. ; Default timeout for socket based streams (seconds)+ _1 {9 s) k. }' K- X) W
  847. ; http://php.net/default-socket-timeout
    8 |' V; L1 D3 G' a
  848. default_socket_timeout = 60
    ) f7 Z6 d) L2 R9 ]2 [" @5 l
  849. 3 Z' O* b. T- x/ `6 \
  850. ; If your scripts have to deal with files from Macintosh systems,8 [0 S$ @2 [8 v# Y) L$ X" {
  851. ; or you are running on a Mac and need to deal with files from
    # m& u1 {( W6 |1 Z. t
  852. ; unix or win32 systems, setting this flag will cause PHP to
    & Y8 d. W( a- ?$ r" y- F0 y
  853. ; automatically detect the EOL character in those files so that
    % ]: Z  f9 F, H/ c, G5 H
  854. ; fgets() and file() will work regardless of the source of the file.
    5 Y+ o1 d, r) S5 w" G6 U: p6 S- l
  855. ; http://php.net/auto-detect-line-endings
    1 j  Z5 N9 Y4 I8 `) ~, y, s
  856. ;auto_detect_line_endings = Off
    ' u$ p; ?# }1 q3 v" I6 G+ _# C" z
  857. : W6 Q# o. ~7 O8 H- J% o+ A$ m
  858. ;;;;;;;;;;;;;;;;;;;;;;
    % u! `( Z# t8 q: j. w9 i/ \: O. r
  859. ; Dynamic Extensions ;: D% H( T/ x4 t7 C, l: b
  860. ;;;;;;;;;;;;;;;;;;;;;;
    - x5 N) d+ n  b1 f  x& n, n3 L

  861. * u* _, d+ R9 {$ g1 d" ]' i8 m( K
  862. ; If you wish to have an extension loaded automatically, use the following
    " r; |- j5 x% I2 ^9 |) P4 p8 _
  863. ; syntax:% ]/ z7 m+ u* ~, W$ X
  864. ;
    ' n( e$ j6 e+ V/ j; k. v
  865. ;   extension=modulename.extension* W* z/ J, [& {& t9 m1 ^/ {4 C
  866. ;
    $ m) f( D2 d; h+ G( T1 N5 B
  867. ; For example, on Windows:
    * C- |" s# i; C; L$ `
  868. ;8 D  O+ w& X- {
  869. ;   extension=msql.dll9 l5 E+ i4 N0 W. V0 c2 m8 ?, M
  870. ;' H/ C2 j0 J1 X; V
  871. ; ... or under UNIX:* v, @/ m2 `) E2 P  X- Q
  872. ;
    0 ^0 G, k2 n' P4 Z% ]. @  C+ m8 c
  873. ;   extension=msql.so
    9 g! C4 `% H/ H6 m0 l+ y& w$ S
  874. ;
    ! s1 N7 S( z' y. R
  875. ; ... or with a path:
    ( D$ n7 j! _2 B9 f3 D0 g" o! l% k( W
  876. ;
    - @+ t/ m. ]6 ?6 W' U# Q7 S
  877. ;   extension=/path/to/extension/msql.so
    2 `: C7 ~/ X- V0 Y2 |; {/ p
  878. ;
    - M2 I& y6 q2 @
  879. ; If you only provide the name of the extension, PHP will look for it in its
    ( G6 ^' s% N1 d3 ]) u2 T. h
  880. ; default extension directory.
    9 @9 v' g9 p1 ^7 u! i+ }
  881. ;. Q+ G0 _* m! ~/ u% P2 @- L
  882. ; Windows Extensions! W8 G  v# Z9 _1 A4 y& n. E
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    $ {2 x6 M& m0 z
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    2 s$ n& q- K  E4 g' s9 O
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).' Z& K/ B1 E9 G% D
  886. ; Be sure to appropriately set the extension_dir directive.1 a6 q: M; G- ?6 k! ]9 H! Z
  887. ;
    3 R# c/ i6 R2 ^
  888. ;extension=php_bz2.dll2 e$ G- Z% A8 [' k1 n+ J( v
  889. ;extension=php_curl.dll0 \' D5 c7 n( X0 t5 C
  890. ;extension=php_fileinfo.dll
    ( \7 f; U4 r+ Z0 J
  891. ;extension=php_gd2.dll: S3 o2 X) `3 E$ g$ p( ]
  892. ;extension=php_gettext.dll
    : m' B4 P% p: G" T+ y
  893. ;extension=php_gmp.dll! N$ J% ^' V& E/ o9 i
  894. ;extension=php_intl.dll$ L- h. i2 g- z# K
  895. ;extension=php_imap.dll
    : S6 _6 s3 q4 }, w' D: ~9 z
  896. ;extension=php_interbase.dll
    & N# q* K$ p4 T4 a. Y% u" H7 Y
  897. ;extension=php_ldap.dll" K# Z5 U; t5 J9 H
  898. ;extension=php_mbstring.dll2 _" G9 F: Q7 I  v
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    " M0 [8 z3 f% N& r
  900. ;extension=php_mysql.dll
    8 a. W0 Z! F* U! J( E: {6 \3 x
  901. ;extension=php_mysqli.dll! r! K: j. D9 E: {
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client% P9 S" l9 @5 i- `
  903. ;extension=php_openssl.dll
    - ?% |! q9 ~3 Y, K
  904. ;extension=php_pdo_firebird.dll
    , [& s6 u- q- f
  905. ;extension=php_pdo_mysql.dll
    % J6 a" k& L6 b8 B
  906. ;extension=php_pdo_oci.dll' S5 E3 z( Z. r* [" ?6 c
  907. ;extension=php_pdo_odbc.dll
    : t. z& g  ?  ~# v7 A
  908. ;extension=php_pdo_pgsql.dll
    ( L( S( s+ r3 D8 i$ _2 c
  909. ;extension=php_pdo_sqlite.dll
    7 T& m( z5 L: V8 C, f
  910. ;extension=php_pgsql.dll
    2 {5 f) d: W( E$ i
  911. ;extension=php_shmop.dll: {8 `, q- X  M
  912. . N6 _( A* P& x# E- J+ y7 @
  913. ; The MIBS data available in the PHP distribution must be installed.
    % u- g6 @9 M* j0 N! f/ a
  914. ; See http://www.php.net/manual/en/snmp.installation.php & ?+ M& Q- \9 _
  915. ;extension=php_snmp.dll
    1 I# R8 x& _1 `/ u2 K% e

  916. * }$ ]  l+ c+ g' v
  917. ;extension=php_soap.dll
    / V7 [$ n6 m1 t
  918. ;extension=php_sockets.dll% F1 x1 n0 ]9 m, r' \0 p6 ~
  919. ;extension=php_sqlite3.dll
    5 v& q8 h8 ^# ?5 Z& ]
  920. ;extension=php_sybase_ct.dll
    6 g. a, x4 v6 k# |1 f" W( S* g
  921. ;extension=php_tidy.dll1 q: i$ j8 N6 r) ?4 Y$ g
  922. ;extension=php_xmlrpc.dll
    7 z2 }0 I* `9 P
  923. ;extension=php_xsl.dll
    ' |6 F( H6 P, E

  924. ! ?7 `9 @8 ?3 i- ^- F
  925. ;;;;;;;;;;;;;;;;;;;
    / B  P5 n' p+ @
  926. ; Module Settings ;
    $ o$ G) v7 |# v6 l' ^3 j
  927. ;;;;;;;;;;;;;;;;;;;2 e/ z6 H# E& N+ X- t8 [) d# b
  928. 8 \# d0 ?: i: b( M/ B" R, ]" z
  929. [CLI Server]/ I! ?: W( D6 l, c6 j8 u
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.7 R& T0 U5 ~9 Y6 q+ T
  931. cli_server.color = On1 i- ]7 e4 X/ j) m

  932. " t7 F' `5 Y  D$ _
  933. [Date]% c) R7 e9 F; Z- Z9 y2 F8 b2 K
  934. ; Defines the default timezone used by the date functions
    ' ~6 w  ]* B" U: L0 |, D2 w$ ^# R
  935. ; http://php.net/date.timezone7 _9 J6 S8 p! E! [- `/ Y- z* ~1 c4 B( P
  936. date.timezone = PRC7 o- U1 I+ Q% E8 R# h1 _" w
  937. 8 A5 `0 @! R, G$ ?% D8 ^: h
  938. ; http://php.net/date.default-latitude
    9 C5 H- t# M! C- ^
  939. ;date.default_latitude = 31.76672 z- G* @/ Q1 G) o2 ]6 h8 i" ^
  940. . N* B, o4 U/ K9 `* N4 t2 T3 _
  941. ; http://php.net/date.default-longitude
    ' _; o+ l& }3 n2 G
  942. ;date.default_longitude = 35.2333
    + o! U  Z% D, w- m9 ^% I
  943.   D8 C$ F- w6 V4 ~
  944. ; http://php.net/date.sunrise-zenith9 f( x2 i) \5 W0 T) ?1 i8 P
  945. ;date.sunrise_zenith = 90.583333
    4 q. V) i3 Y( V* b
  946. : y) v0 |; S) Z4 @. Z
  947. ; http://php.net/date.sunset-zenith
    0 s3 [4 E; I4 o2 Q- [' _
  948. ;date.sunset_zenith = 90.583333; V5 ~* R+ ]" s; d
  949.   t$ K4 D, R* `, R# t% x
  950. [filter]- M- P2 a3 |: o3 J  \( ?4 @
  951. ; http://php.net/filter.default
    ; @- X% {9 z* Z; X0 Z" n
  952. ;filter.default = unsafe_raw
    % ?5 |% t( p# \" N7 h& p8 X* R( r

  953. & X; w2 ?5 M; e
  954. ; http://php.net/filter.default-flags3 T7 _% K) E9 r/ j. ?5 x7 h& s
  955. ;filter.default_flags =3 K8 Z% I! ~: D

  956. , ]! s% m) ], f: Z
  957. [iconv]* M4 B) M8 N- o+ s/ B( ]2 J
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.9 T' n7 S: h7 a$ K' W
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ' E+ j/ Z' h+ w( S/ I- I
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    : m4 y5 N  _% O3 N$ \
  961. ;iconv.input_encoding =3 s0 u6 g1 M& Y/ y  k# ~" k

  962. " F4 v, Y* o9 W0 T  i
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead., K# V8 L) h- l6 h) ~; N
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    1 V- ~6 f5 N+ M3 N; ^- a
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    & U# ^. E5 V# i# i" e% |
  966. ;iconv.internal_encoding =
    ' o7 A! N6 L) N8 X8 _
  967. # o0 r. z9 c9 M# s. |: ~' t" M2 J4 s
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    . I6 N; f; U2 c* F+ I2 t& c0 w2 x
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
      w* N" Z2 z4 C, Z# z: S
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    4 t# e: _6 M/ Z8 H7 Y; G
  971. ; To use an output encoding conversion, iconv's output handler must be set
    $ x  E9 b( O1 B% X# t' _$ g
  972. ; otherwise output encoding conversion cannot be performed.
    8 [6 `+ b6 j1 Y6 G. @. A" b7 ]+ s6 z# {
  973. ;iconv.output_encoding =" J; ^$ [0 r8 `: U$ l% F

  974. . Q, ]6 ?& c% H
  975. [intl]. b' c# ]% K( P6 S% U
  976. ;intl.default_locale =- X2 `4 d- J7 b2 C+ }; P
  977. ; This directive allows you to produce PHP errors when some error
    % L& U) w$ }/ B$ _1 [( f4 w6 D& `6 [# e
  978. ; happens within intl functions. The value is the level of the error produced.
    ' Y" L5 b% f5 ~  x# l
  979. ; Default is 0, which does not produce any errors.
    ' Y2 W3 p8 V7 D* k5 y+ l9 e/ o$ c$ o+ z
  980. ;intl.error_level = E_WARNING
    # D* N+ H6 x* T0 a9 w
  981. ;intl.use_exceptions = 0
      K- D8 g0 V9 B7 d$ y3 {- R& h* E5 Z

  982. . z9 D0 v8 a2 z8 m
  983. [sqlite3]
    & B1 t8 Q& U! z: s
  984. ;sqlite3.extension_dir =
    : N- h' {, c6 B' i

  985.   |( z6 ^( U! I# F3 }% j) |
  986. [Pcre]4 n! B1 l. ?' P
  987. ;PCRE library backtracking limit.
    , t! f  E7 q+ b! O7 ^
  988. ; http://php.net/pcre.backtrack-limit! R: d, A6 X) ?" ~6 \, A" c8 m
  989. ;pcre.backtrack_limit=100000$ v8 H, P% |* Y5 p' Q3 S' M

  990. - w3 R$ a5 ~1 d. v$ F5 ?
  991. ;PCRE library recursion limit.
    5 C" J& d+ s" h7 P
  992. ;Please note that if you set this value to a high number you may consume all
    ( F9 X3 p+ j8 G2 k+ T
  993. ;the available process stack and eventually crash PHP (due to reaching the4 V8 ]4 I) w  L6 |2 x
  994. ;stack size limit imposed by the Operating System).
    - y: \9 [, E) i) k4 ~% ?, K
  995. ; http://php.net/pcre.recursion-limit3 ]3 y9 W' r3 B+ I
  996. ;pcre.recursion_limit=100000# V$ ]5 k! X, j' J7 l

  997. , _- k+ g9 R2 t, |
  998. [Pdo]
    " y  ?8 {* a( c7 d* ~
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    4 X2 P5 a" ]. J& X$ {
  1000. ; http://php.net/pdo-odbc.connection-pooling
    % |" D! i+ K0 ?# s* ^
  1001. ;pdo_odbc.connection_pooling=strict9 ?( R, Q& Q7 `) S4 s+ x9 R

  1002. 4 o9 g' b8 H& L  c5 z9 Z/ O
  1003. ;pdo_odbc.db2_instance_name
    + ?/ x$ e" ?  `: Z  n2 q
  1004. ) p1 o# G( p) R% A
  1005. [Pdo_mysql]
    / b2 @$ S, l5 M2 l$ W" ~) y) x
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    5 v0 {) c* M( H; ^- @) y$ G
  1007. ; http://php.net/pdo_mysql.cache_size. Z# |, |& _7 e
  1008. pdo_mysql.cache_size = 2000
    * G* V8 {! J# o
  1009. 3 {. {2 r9 p8 _
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in1 J* l8 |6 v  N7 W! a  ?7 u* S) K
  1011. ; MySQL defaults.
    + n- ?' V' ~1 h" ?: @) a
  1012. ; http://php.net/pdo_mysql.default-socket3 W% c6 L; B& w& \
  1013. pdo_mysql.default_socket=
    ' S! v1 i# r* B& n7 d, e% {" {
  1014. 7 C1 ~3 R+ T; L. ~( E# A  {! \
  1015. [Phar]) G% e# n: u( d% e: k
  1016. ; http://php.net/phar.readonly* U4 V: c9 u% B) Q
  1017. ;phar.readonly = On
    3 c6 e# L6 `9 K: O6 t; U5 J
  1018. ; h" g2 G; t) ~& q
  1019. ; http://php.net/phar.require-hash6 @. g% V8 t) \7 O
  1020. ;phar.require_hash = On
    - \# B1 {) W5 S7 U; x* ~' J* b

  1021. % r& s5 \3 R' ?( q# ]
  1022. ;phar.cache_list =
    : J0 J' W) m% n* L

  1023. / w. O' d; z  r' B8 U" T+ X9 E4 ~
  1024. [mail function]) ~% t+ p7 a% M! h' H1 y) b8 J
  1025. ; For Win32 only.
    3 X* @& p1 `" Y4 R  g
  1026. ; http://php.net/smtp; }8 Y# U0 d* s2 B
  1027. SMTP = localhost% |1 v5 _3 n1 y$ z9 {
  1028. ; http://php.net/smtp-port
      j. ^: O+ Q2 z5 d
  1029. smtp_port = 255 q) @& P' w. J$ x
  1030. 6 K+ d! P6 C! g( v9 L7 E) e
  1031. ; For Win32 only.% {9 _; |& G+ c! I! l, t, r/ c% d) A5 V
  1032. ; http://php.net/sendmail-from
    & I" Q. q1 ~2 K$ k8 s; g
  1033. ;sendmail_from = me@example.com
    & |; T( F  l+ l0 n

  1034. " Q* e( K6 _: A- I! n! F: J7 q: B
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").5 P) B# n5 F! \5 J! ^
  1036. ; http://php.net/sendmail-path/ }6 e) O, I8 e% \) e* \! m
  1037. sendmail_path = /usr/sbin/sendmail -t -i: E2 @3 x- s" O: k
  1038. ; J! j. J5 Z  b3 }+ o
  1039. ; Force the addition of the specified parameters to be passed as extra parameters. u0 ?, P8 _8 r( c. T
  1040. ; to the sendmail binary. These parameters will always replace the value of5 n; v% u7 ?: o6 k8 Y) P; p5 {
  1041. ; the 5th parameter to mail().
    # Q" A% s) Y( ?! N  C
  1042. ;mail.force_extra_parameters =$ |4 f$ m$ b2 x  o/ g" a

  1043. / B- R/ e! M) V9 d% b5 K
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename4 ]4 a$ J* r: h) Z3 E3 w
  1045. mail.add_x_header = On+ f) V$ y- D% L! ~( K9 f" n- q
  1046. 8 Z% ~0 I- }# z5 j5 h* {" q
  1047. ; The path to a log file that will log all mail() calls. Log entries include  I) ~2 a) y5 ^$ o6 A
  1048. ; the full path of the script, line number, To address and headers.
    9 d" H; H1 s  s: b
  1049. ;mail.log =: A8 Y) g" p) Q& R
  1050. ; Log mail to syslog (Event Log on Windows).# w3 S5 G" d' a& l0 Y
  1051. ;mail.log = syslog
    % f% h' k/ h  b2 {: W/ W& h, A6 E- u
  1052. 0 H. \1 ?# C, L5 A% o
  1053. [SQL]
    / A& n* i$ p6 V- Z( W5 B* ?' W4 u
  1054. ; http://php.net/sql.safe-mode
    3 Z! D5 E$ S( v/ B- Q' c6 I' U
  1055. sql.safe_mode = Off# a6 U0 T# }4 k& ^* ]
  1056. 5 c+ i7 O0 w- t9 s
  1057. [ODBC]
    8 ~1 C9 H! e- W' g8 N. w
  1058. ; http://php.net/odbc.default-db
    ( b6 f0 V- ^! e! L
  1059. ;odbc.default_db    =  Not yet implemented: {: U- b$ K: {. t7 ~9 k7 s
  1060. ; X6 v4 q; h. i, U
  1061. ; http://php.net/odbc.default-user
    " o8 h9 R. X) Z. F' M
  1062. ;odbc.default_user  =  Not yet implemented
    ' a3 I3 a9 c/ K" k& ?' d9 L

  1063. . ~8 ]$ A, ?; C' U
  1064. ; http://php.net/odbc.default-pw3 K, Y% k* f$ E3 ?
  1065. ;odbc.default_pw    =  Not yet implemented* Y0 N0 Y" R9 H4 J

  1066. & V1 L4 G! {% h7 Y
  1067. ; Controls the ODBC cursor model.$ p  C6 t  T3 _0 D
  1068. ; Default: SQL_CURSOR_STATIC (default).
    3 H6 P3 j  p0 y5 m8 K6 C1 |
  1069. ;odbc.default_cursortype
    0 S; A$ R0 V4 Y& i7 g
  1070. 9 J+ Z$ K2 b6 A# Z8 H
  1071. ; Allow or prevent persistent links.
    % N8 D5 b4 P' H5 G9 ^# z+ D
  1072. ; http://php.net/odbc.allow-persistent) X, w6 A$ f4 O
  1073. odbc.allow_persistent = On8 m9 ~6 {% ?, x

  1074. : k( K8 `. n6 l7 A, ]4 P
  1075. ; Check that a connection is still valid before reuse.
    0 g5 N* U7 Z7 }: k3 [. C
  1076. ; http://php.net/odbc.check-persistent- {3 c' _/ d6 K8 |
  1077. odbc.check_persistent = On. K& c* g2 N5 W4 ~2 |  G; [

  1078. 6 W' s4 c" Y' h2 ?" o4 n( R
  1079. ; Maximum number of persistent links.  -1 means no limit.( \2 @5 {5 p  L( X' s5 [* d
  1080. ; http://php.net/odbc.max-persistent
    0 ^' o/ ~3 ~* d+ e
  1081. odbc.max_persistent = -1! P* J$ U4 Q2 D$ Z
  1082. 6 v7 y2 Z8 a4 n' c
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: K# S. B7 J4 g
  1084. ; http://php.net/odbc.max-links: m% x4 B  V% U
  1085. odbc.max_links = -1: n% M3 B. @# o; B/ ], J: j6 H

  1086. & k  @5 v, @9 p/ [3 k/ c
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    + f& e: a# V, |/ G
  1088. ; passthru.
    % o+ o7 O% p2 }1 H. g
  1089. ; http://php.net/odbc.defaultlrl& c: f! D* v8 P# u" R9 t
  1090. odbc.defaultlrl = 4096+ l$ M  L; B; u" {

  1091. " l9 H8 \. s( b7 `% y& b/ m
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    / q3 }, h2 y8 @
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ; o6 `2 U1 |2 ~: ~$ u
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode& y9 P  }3 e. o1 I. O. F: L
  1095. ; http://php.net/odbc.defaultbinmode3 z9 R1 [% K" s# a' V/ y4 B" {& |
  1096. odbc.defaultbinmode = 17 f) B  E5 @. v; X& u7 h
  1097. 0 @7 f0 P7 y; z. \+ A, J# q
  1098. ;birdstep.max_links = -1, _% a' B) R$ o5 {. \
  1099. # t, a2 G- O. \) ?
  1100. [Interbase]
    $ P6 p4 q) B% K, }
  1101. ; Allow or prevent persistent links." l& I1 y$ G1 F
  1102. ibase.allow_persistent = 1( c6 x% V8 ^4 b7 S/ K( ]) u8 d1 }
  1103. / k! z5 l" v5 K3 @8 I$ X
  1104. ; Maximum number of persistent links.  -1 means no limit.8 J( E, A3 {1 B9 n" R9 C
  1105. ibase.max_persistent = -1& U# V0 _  d0 o( n) D8 K3 v
  1106. : l8 ^# y/ e& F1 r  o( H$ y- x7 h
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.3 ?* |# Q; `) O3 M* g1 A3 h
  1108. ibase.max_links = -10 i( |) I5 K3 o) f
  1109. 3 y$ |" V# g9 r8 y! \5 n
  1110. ; Default database name for ibase_connect().; |2 g8 i/ ~: I; U$ |* y
  1111. ;ibase.default_db =
    * ^8 ?+ `* u3 Q, W& Q

  1112. ( J3 E9 P2 c7 a+ u/ R
  1113. ; Default username for ibase_connect().
    0 }+ k0 h) U! Q- h% V% s
  1114. ;ibase.default_user =
    1 [! V! @! l  x; S( K0 U$ }, u

  1115. ) T0 h* m' O, [
  1116. ; Default password for ibase_connect().% [  h+ y* ^$ }3 g5 ]
  1117. ;ibase.default_password =
    ( [1 p8 e: I3 P4 E; C& W

  1118. " X% a! t+ {" `  I7 W
  1119. ; Default charset for ibase_connect().3 u4 k5 e0 u7 X
  1120. ;ibase.default_charset =
    : |( F/ k' Y% i& m$ y% v( r( l. r
  1121. 3 h4 G0 n: l. S* ^
  1122. ; Default timestamp format.1 y- a- N# G( ^& g$ s
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"" g9 ?. P; e" `" X/ m1 o6 `

  1124. * X. o1 k4 s2 m! M& b- q6 K$ f
  1125. ; Default date format.
    $ n- X; ]4 k6 \/ h, T: G4 w- Z  x
  1126. ibase.dateformat = "%Y-%m-%d"7 p5 H' Q4 S7 a6 ~# g  {* {. d* t
  1127. 2 f6 N$ W! c% X( _; E
  1128. ; Default time format.* o$ {+ Y! f5 _  u; x  a0 W- q
  1129. ibase.timeformat = "%H:%M:%S"
    ' ?4 g# O) U; l+ M- X' k" ^9 b/ t
  1130. 3 V5 h) e+ J4 b3 Q0 U9 t1 y
  1131. [MySQL]# W" Q$ {" Q0 |1 f. }
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements) W# C; ^, m: m  Q) K- V6 ^
  1133. ; http://php.net/mysql.allow_local_infile1 \4 p& X6 Y$ S; L5 ~4 g! k& j
  1134. mysql.allow_local_infile = On
    + O# E0 R  n' U; e- G: i
  1135. ; S" r8 Z- |, M; F% L8 O
  1136. ; Allow or prevent persistent links.3 s8 W% t. I8 D4 T) M; t. K+ i
  1137. ; http://php.net/mysql.allow-persistent
      C1 |' k: q  ~  t
  1138. mysql.allow_persistent = On
    , e6 \# x% M" j2 X& |: ~) @
  1139. & E4 b( {* w; W
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache3 g5 @7 N+ O3 q0 t0 H
  1141. ; http://php.net/mysql.cache_size0 O7 H8 k' `: _- B& V2 m
  1142. mysql.cache_size = 20008 O" n9 w1 c0 F) D
  1143. $ {9 ^$ U1 Q. S
  1144. ; Maximum number of persistent links.  -1 means no limit.( ^+ l6 j+ A( o+ I. L4 G
  1145. ; http://php.net/mysql.max-persistent8 t; G- W- U9 @5 W! h0 q! O
  1146. mysql.max_persistent = -15 e8 ^" c4 A+ N/ \* H! e4 A. v

  1147.   \# q( o6 B* r2 k2 S3 G3 x
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.( i. A( g2 {+ m
  1149. ; http://php.net/mysql.max-links
    9 t7 T$ |+ ^; I/ q7 u8 J, ~
  1150. mysql.max_links = -1% M- h9 i4 u, b- q

  1151. ) U+ U3 N1 q- R4 f
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use  E& I" E7 A# O2 E
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    8 R1 Z; n  D6 }
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    9 @2 l; ]' M! Q! B, _& m3 ~
  1155. ; at MYSQL_PORT.7 T  |" [$ ]* P* a$ F
  1156. ; http://php.net/mysql.default-port
    7 q0 m+ M9 p' ~: I0 W" `
  1157. mysql.default_port =
    + N8 \; H$ d& d& U
  1158. 3 |7 Y' h' F  Y  c1 D
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in# V4 r. J* ?/ h! E/ ]) z
  1160. ; MySQL defaults.
    4 M' |0 _2 v2 S9 ]4 m
  1161. ; http://php.net/mysql.default-socket2 s& Q+ d) r8 v4 G: G
  1162. mysql.default_socket =0 s& w% T/ y6 g! Z0 N

  1163. 8 O5 E$ J( N7 H) M: `
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    7 s4 }( A. \) h1 B
  1165. ; http://php.net/mysql.default-host
    : ~, _7 e  e* `- K1 m
  1166. mysql.default_host =
    : A2 W- H& p  ~* P) R$ M

  1167. 2 o6 f& @- h: c
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode)./ r5 r+ ^2 f3 z* S1 F4 `. s
  1169. ; http://php.net/mysql.default-user# R0 o1 s2 Y7 ?* E
  1170. mysql.default_user =
    6 h" Z  i9 n) d# W: d- Q

  1171. " \4 n$ P% p; M
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).8 f& Q( F9 ?  X) N) R" V. o
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
      y: y% I0 [  ~7 c! V* l' d
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    9 b0 Z' T8 F- f: K8 m
  1175. ; and reveal this password!  And of course, any users with read access to this
    6 ?8 T% v2 L5 I: E4 _3 Z- f, s9 v
  1176. ; file will be able to reveal the password as well.. k  e( M* Y# b9 J- a" L) i& M
  1177. ; http://php.net/mysql.default-password
    / F6 p2 E+ f; @  N! x- m3 f; f: ~  }
  1178. mysql.default_password =# ^6 _# ~4 m+ C- J+ r

  1179. 7 e& w3 T. l5 H/ {+ `& x' S$ I% M
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit4 W  j  t+ i; [4 r, G& n
  1181. ; http://php.net/mysql.connect-timeout
      t# d; P$ K" F) [& i; g$ k
  1182. mysql.connect_timeout = 600 ~1 f) Y" O1 Y
  1183. 6 O, X0 B' i! V; N7 c9 b! h! `
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    * X8 l# w* N8 F* b% Q% W
  1185. ; SQL-Errors will be displayed.
    3 q% \0 |  }* H; [( Z) Z$ n' \, g0 J
  1186. ; http://php.net/mysql.trace-mode, x! C/ a* X1 M- d4 q  O3 N# _/ L: k
  1187. mysql.trace_mode = Off
    ( {% K# m$ F3 z" _0 h7 c

  1188. 6 X5 D* H9 G2 F$ }
  1189. [MySQLi]+ J) h- `% I2 j* o) \; C) W* Q+ t0 G& L
  1190. & `' ^$ s# j8 u! \
  1191. ; Maximum number of persistent links.  -1 means no limit.+ g6 `5 S$ ]6 G, O+ r
  1192. ; http://php.net/mysqli.max-persistent/ v* K( }) N3 z* g' k# d
  1193. mysqli.max_persistent = -1
    * g; m5 g; N' }& t/ x1 \

  1194. ) W- c% l) s5 m3 Q; |
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements! e6 I2 o& d5 g5 d( s! d) A
  1196. ; http://php.net/mysqli.allow_local_infile
    ' I7 {) C- P- M: W
  1197. ;mysqli.allow_local_infile = On
    " Q1 u" ]# R/ t3 H
  1198. 8 Z3 s! o9 K( W- O% G
  1199. ; Allow or prevent persistent links.! H2 p8 T1 ?2 I
  1200. ; http://php.net/mysqli.allow-persistent4 c/ o+ f2 U7 J7 X/ F6 W  q
  1201. mysqli.allow_persistent = On
    6 x! Z) o% y, k! h7 K, ~  {/ I; Z

  1202. 6 B9 R7 r# Q; e) G
  1203. ; Maximum number of links.  -1 means no limit.
    : W! i" m' v- v& C2 b. ^4 O
  1204. ; http://php.net/mysqli.max-links
    & d) K, q4 m+ Y" `% Y9 H6 G
  1205. mysqli.max_links = -1* f$ x" _" B+ X. o" i& R

  1206. ( ~- r0 q# H1 _
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " {2 q2 R( g: X; f: `7 Q, f
  1208. ; http://php.net/mysqli.cache_size
    ) D; n8 e$ @$ ^5 C
  1209. mysqli.cache_size = 2000& n% e. B8 q, ?  }% ~4 j
  1210. 3 T4 v/ P* F' G+ d2 j7 ?4 p
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    , a1 U" i/ S7 I$ [& V8 i: G4 t
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the# Z$ _1 F: x; p
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look1 t6 ]7 j4 b- m7 t& A6 Q# C
  1214. ; at MYSQL_PORT./ V5 p) T; _0 q5 U% [" y
  1215. ; http://php.net/mysqli.default-port
    0 W: w4 q& V* ^
  1216. mysqli.default_port = 3306
    ! E; Z- s) x" C6 v! \* W7 M

  1217. 7 R3 W. V6 A4 [( W0 }
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 l/ V. ]0 v# o, Z' q
  1219. ; MySQL defaults.
      ?& t+ y& P2 e% z- H/ {& q/ p. g
  1220. ; http://php.net/mysqli.default-socket# ~: s4 j" B# d$ n1 f' }" X
  1221. mysqli.default_socket =0 p! J& h/ J: B6 X

  1222. # N3 u0 ?! H" L: a0 K: O: W3 z  s
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    1 Q( S1 _/ b1 e' l3 M
  1224. ; http://php.net/mysqli.default-host8 F# E% `# X5 E
  1225. mysqli.default_host =* _' y6 E) P: x5 ~5 m4 j

  1226. 3 I* V! x# Z( t0 \! e( R
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).1 j, }# ?, s5 V: M/ x& {
  1228. ; http://php.net/mysqli.default-user4 E1 O  r: d7 v; g+ d5 i  d
  1229. mysqli.default_user =+ ]) C/ Y$ y  [. l8 i

  1230. - L5 |  {, W; M. r1 C
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).* |/ |0 k" d4 u4 C7 h. h
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.3 a5 {; M2 y: G8 @
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    . z( J+ q; N; ~
  1234. ; and reveal this password!  And of course, any users with read access to this
    ! g& Y# A; c2 c+ P
  1235. ; file will be able to reveal the password as well.$ t! K# G+ l3 P- a3 u
  1236. ; http://php.net/mysqli.default-pw
    0 A* s$ \" e7 N
  1237. mysqli.default_pw =: x( |- {1 B- z6 b7 N

  1238. % s7 V- e( ~% |% v: h3 c4 q
  1239. ; Allow or prevent reconnect2 M: R! J0 ]/ \
  1240. mysqli.reconnect = Off
    7 k3 r/ ?4 [6 q  X& \/ @0 e

  1241. / U9 O; E' m) R/ f$ @3 }
  1242. [mysqlnd]* o5 F0 r: N: Z' L) [! N
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    2 m# T0 h; s  X+ H" @& H) x% _
  1244. ; used to tune and monitor MySQL operations.
    ) ?$ N# h& w8 D/ l; k
  1245. ; http://php.net/mysqlnd.collect_statistics6 x* M1 G# `- c( F
  1246. mysqlnd.collect_statistics = On2 Q3 @5 U! W/ \8 q$ T$ J

  1247. 6 d" X! ]& Q2 Z7 u4 _- z$ q2 b/ `
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be9 U3 P* m3 k8 I; ~' G" C: l
  1249. ; used to tune and monitor MySQL operations.
    + u6 o( m: j6 d+ B2 U
  1250. ; http://php.net/mysqlnd.collect_memory_statistics5 u! @' x+ j$ K/ t6 H( F2 J
  1251. mysqlnd.collect_memory_statistics = Off# E* L/ f) u/ T% B* H2 v+ h

  1252. 2 e+ E6 |0 Z- B* E: u& K
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    ) t5 p6 p' o, ?! ^5 m
  1254. ; file.
    & `( `. Z0 T* }
  1255. ; http://php.net/mysqlnd.debug
    . D/ |' j5 e6 P4 h! V/ Q% R
  1256. ;mysqlnd.debug =
    + }/ ~1 t( [0 y- T

  1257. ; a6 K5 s' @/ U  H+ `2 V
  1258. ; Defines which queries will be logged.0 p8 X8 G0 R( Q. `* g# ~5 M/ g
  1259. ; http://php.net/mysqlnd.log_mask
    % G7 ]  `( u, j, s* m6 B
  1260. ;mysqlnd.log_mask = 0! F8 C# V4 N2 M+ S' n9 [

  1261. . s8 {1 p8 b: Z( h- l
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    * L# r* u. E+ J% A3 w0 M$ _
  1263. ; http://php.net/mysqlnd.mempool_default_size
    # Q; U9 ]5 n2 O4 M5 ~3 r
  1264. ;mysqlnd.mempool_default_size = 16000
      \. Q+ U0 @+ x, `; H$ B" T6 q1 ~% q  ~
  1265. ; o, O2 {2 ]) K- G
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ; [" i. I+ Q, Y! W5 p' x4 @
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size2 `8 o+ g+ z# B8 R! V" }4 S$ c
  1268. ;mysqlnd.net_cmd_buffer_size = 2048$ C. S  U1 A5 w- U

  1269. , i+ C1 [7 G' ], N2 S+ z$ t
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    % B* O. d2 h  v' U' }, U2 m
  1271. ; bytes.
    ' B6 J' Z1 s) }! l7 ?
  1272. ; http://php.net/mysqlnd.net_read_buffer_size) d- }8 C& O3 W- O2 ]% H5 O- u
  1273. ;mysqlnd.net_read_buffer_size = 32768  D" H4 H! ~3 ?. J% D$ ]

  1274. ' K. w) E) R& B, G/ d! W' x
  1275. ; Timeout for network requests in seconds.
    + a( _( }% V: _
  1276. ; http://php.net/mysqlnd.net_read_timeout
    . E. P* k& N/ a9 `4 I+ u
  1277. ;mysqlnd.net_read_timeout = 31536000
    3 _' _7 m  g* u7 L

  1278. & ^5 {9 {" ^3 p% C
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA3 d5 V$ _* V; B" H9 W% W8 u
  1280. ; key.) M. e- Z9 c& v. F
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    4 O1 I; T& D+ \' t
  1282. ;mysqlnd.sha256_server_public_key =! W8 L% p/ @7 }

  1283. ' Y0 e, [2 I1 l) u9 c5 A7 ^
  1284. [OCI8]% o: q) Y0 ]& ?+ }0 v
  1285. 8 P% W- p5 V, B/ p1 n
  1286. ; Connection: Enables privileged connections using external
    ; Z, m) p* Q/ g! K+ u
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    3 A, a6 d; A: I7 x- y
  1288. ; http://php.net/oci8.privileged-connect
    : Y( k: _6 u# [" q, ]
  1289. ;oci8.privileged_connect = Off, a! g6 G( X0 ?. ^" |

  1290. % W' L3 }( \% L0 T5 e4 r
  1291. ; Connection: The maximum number of persistent OCI8 connections per: F+ L4 Z% H7 Z4 n2 O$ O
  1292. ; process. Using -1 means no limit.$ D' s$ Y9 X" \
  1293. ; http://php.net/oci8.max-persistent
    ) ^( _5 p$ q. y  @* e5 x
  1294. ;oci8.max_persistent = -1# V8 L' W" |4 r4 G4 z

  1295. $ J) t7 z+ L8 o# o& ?1 w
  1296. ; Connection: The maximum number of seconds a process is allowed to* h2 w9 M" B6 a) X2 g7 S
  1297. ; maintain an idle persistent connection. Using -1 means idle
    ' W2 P, K! X4 m! e/ R
  1298. ; persistent connections will be maintained forever.1 N' F: z' `, X$ Z
  1299. ; http://php.net/oci8.persistent-timeout( Y. E/ A, |) P/ T% m6 Y
  1300. ;oci8.persistent_timeout = -1
    " @( @; @6 c% u* |8 F' m  d
  1301. % _# M" n. w: \9 r; D
  1302. ; Connection: The number of seconds that must pass before issuing a
    4 V) c/ M6 u' X
  1303. ; ping during oci_pconnect() to check the connection validity. When2 |9 t: A6 y0 y1 k
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables% f: `2 _; a0 f) C
  1305. ; pings completely.& r' G( O2 k2 L/ @- r1 ^3 }2 B" T1 W
  1306. ; http://php.net/oci8.ping-interval2 G$ i* B* ^1 W5 E. _) x! X
  1307. ;oci8.ping_interval = 600 q% ]- ^3 Z: v. c- ^1 G
  1308. 9 X+ e, K7 v0 i/ D$ l# |4 P5 Q
  1309. ; Connection: Set this to a user chosen connection class to be used
    1 C  S/ v2 |( g7 k: y
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    4 M4 |9 L( D+ G0 X- `
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to8 `( u' r( G- |1 f9 m; X: O! S- h9 U' {
  1312. ; the same string for all web servers running the same application,
    : _& M& A& J7 k" W* L" f5 E, R5 n  Z8 j
  1313. ; the database pool must be configured, and the connection string must1 {% B; g+ D3 G3 k0 f2 Q# o/ @4 Y$ D# G
  1314. ; specify to use a pooled server.- r2 Q8 D# s+ z/ }5 d
  1315. ;oci8.connection_class =
    2 b- T9 t2 P5 C  L$ i- E7 C. A- Z
  1316. : a; [2 H, Y7 `. }, u; y/ W
  1317. ; High Availability: Using On lets PHP receive Fast Application
    5 E0 F+ F8 j8 h3 \% ]6 Y/ Q$ i
  1318. ; Notification (FAN) events generated when a database node fails. The
    4 o7 @/ K9 i$ `
  1319. ; database must also be configured to post FAN events.' h1 ^$ C; O) [3 @* p; Q; J
  1320. ;oci8.events = Off- f) K4 d5 E" k

  1321. 4 _% T% E$ K" x: Y; D' \
  1322. ; Tuning: This option enables statement caching, and specifies how8 y/ h7 g5 b- Z/ u. V
  1323. ; many statements to cache. Using 0 disables statement caching.! Z5 V! n) W7 t4 m. ~' O1 q
  1324. ; http://php.net/oci8.statement-cache-size5 w  R( }$ e3 l! t* c& v* j4 ~, c
  1325. ;oci8.statement_cache_size = 20
    ; S; k0 b1 d+ {. H5 k

  1326. & d& m' E$ K- P# m' t# W+ [+ q
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    ! G2 i$ k8 d- r+ [$ h# p( A
  1328. ; rows that will be fetched automatically after statement execution.
    ( T7 ^' d1 ?! O+ T4 j
  1329. ; http://php.net/oci8.default-prefetch9 @; d. `/ H$ z/ A
  1330. ;oci8.default_prefetch = 100* ?7 u$ W7 ?% S* p  p. y
  1331.   l- ?% Z( R& ?8 ^# g6 {3 G* A9 b' Y; s
  1332. ; Compatibility. Using On means oci_close() will not close
    * T8 ~1 p) ~+ X4 a
  1333. ; oci_connect() and oci_new_connect() connections.8 B, b3 c/ _$ r- J* V
  1334. ; http://php.net/oci8.old-oci-close-semantics# ~& F" C9 B; }; X; `, _
  1335. ;oci8.old_oci_close_semantics = Off
    ; _& f' Q! W+ ?# N/ t! O# E

  1336. " S2 |+ G9 f( u( O& ^7 i" g
  1337. [PostgreSQL]% H- G0 C1 V& h4 ^5 m8 N9 W
  1338. ; Allow or prevent persistent links.% w- a- ~( n! F0 A4 l5 L- j" z% o( g
  1339. ; http://php.net/pgsql.allow-persistent! ^' s+ G# U. t; b0 N" n1 P% ?) `
  1340. pgsql.allow_persistent = On* D# l8 ^6 T+ }7 o' h
  1341. 7 A; E) C$ |( k7 z1 e' M! U2 j
  1342. ; Detect broken persistent links always with pg_pconnect().
    " `" _5 P+ T3 t
  1343. ; Auto reset feature requires a little overheads.9 v3 E9 V: k) b6 m& v/ K7 W) m
  1344. ; http://php.net/pgsql.auto-reset-persistent
    . f$ B6 M9 |# M- U' d( |
  1345. pgsql.auto_reset_persistent = Off( `$ T1 r" i, C9 w, _& _9 v
  1346. 3 A  Y4 c" d' u0 ?* [
  1347. ; Maximum number of persistent links.  -1 means no limit.3 {9 O* K& R; q
  1348. ; http://php.net/pgsql.max-persistent
    - N3 a6 Y& A5 [# x: l" R( v$ E8 J
  1349. pgsql.max_persistent = -17 C3 A1 d. @, s+ _

  1350. * |. a& f. F- ]" g0 ]  v
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    0 w3 w1 M! T2 S3 W) t" Y
  1352. ; http://php.net/pgsql.max-links
    8 z0 F1 C' u5 }- x( W
  1353. pgsql.max_links = -1* ^7 H7 r' D- |

  1354. 1 Z, J& q/ `- r' M3 E3 D
  1355. ; Ignore PostgreSQL backends Notice message or not.6 _2 {7 a( a( Z) h1 m( ^; @# Y, w7 L
  1356. ; Notice message logging require a little overheads.$ r- \* Q' C$ N& n  ?
  1357. ; http://php.net/pgsql.ignore-notice3 k1 h) e$ j8 m3 U  m: H* o- H; @
  1358. pgsql.ignore_notice = 00 w3 N1 ]' p  i7 y8 p& B

  1359. 0 v( q6 |9 [: U
  1360. ; Log PostgreSQL backends Notice message or not.
    % j% g9 i! K* Y) z, f! Y5 T
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.! c& q4 E* e, e* }$ w8 ~
  1362. ; http://php.net/pgsql.log-notice
    : e* B$ ]; i7 c6 H
  1363. pgsql.log_notice = 0
    # X2 ~% F4 K+ b% Z# x' p- U

  1364. 0 r& j% F9 Z' B. L2 I
  1365. [Sybase-CT]
    ! i8 ^! t( q5 X' A8 W8 \% P
  1366. ; Allow or prevent persistent links.
    3 S5 M% Z* ^, @9 }, L" ~& j
  1367. ; http://php.net/sybct.allow-persistent% }6 t) H1 ^- J) u
  1368. sybct.allow_persistent = On/ J! y: }: m- a! P0 r! `& U

  1369. 6 E! t2 ?3 Y0 w8 O% p
  1370. ; Maximum number of persistent links.  -1 means no limit.* x+ @% U' k* }% {
  1371. ; http://php.net/sybct.max-persistent
    7 [4 l# x0 Z' R, O% R, t  V
  1372. sybct.max_persistent = -1
    : T# ^* u8 f4 u: T1 C
  1373. ' f8 v* s- M6 o2 |: T$ [
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & F1 R9 r* H8 j0 I4 C+ i: o
  1375. ; http://php.net/sybct.max-links9 r, \6 s, w: U7 S
  1376. sybct.max_links = -1
    6 E2 q& T! y0 ]1 K* t
  1377. $ b! [4 ]( `5 ^2 L6 p6 o/ }' m
  1378. ; Minimum server message severity to display.
    0 B& W6 {) p# |' b
  1379. ; http://php.net/sybct.min-server-severity; g) J3 T) g5 r4 u' M0 B
  1380. sybct.min_server_severity = 10
    - X/ I; x5 V( `& P" J3 {

  1381. 4 c- H. k. r/ s; a
  1382. ; Minimum client message severity to display.' I2 d5 ?: }& ]. B( `- Q5 H
  1383. ; http://php.net/sybct.min-client-severity6 z& X- q- U; F/ T$ S2 k
  1384. sybct.min_client_severity = 10
    # t& ?; f* J) C7 L

  1385. $ ~9 G: f5 A! F2 h7 i1 {3 e! f7 t
  1386. ; Set per-context timeout5 X$ H! \" l% g- g# c- q
  1387. ; http://php.net/sybct.timeout
    9 h  k* b# I  V" D' P5 C
  1388. ;sybct.timeout=
    ; m5 Y1 v  P7 a4 O
  1389. . L0 f/ \# V' p+ D: }- L
  1390. ;sybct.packet_size0 K7 [3 w$ G( s/ b3 o* L1 r& o
  1391. 5 H, h' `% b  c; F% L( s' F% Z- f
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.) F$ `! s) |; S  v/ F% @
  1393. ; Default: one minute
    # L% s( T. s3 w& S  g: A  B
  1394. ;sybct.login_timeout=
    * t+ P! a  ]5 k: i0 Y% n

  1395. ( R4 s2 ~! b! U" L* d
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.- d2 T4 r# T9 G. R9 w% U
  1397. ; Default: none3 m, K1 [7 C2 V) b
  1398. ;sybct.hostname=
    * t: l) Y! b0 C  R

  1399. - M' p' m: Y, D& I3 T( N3 Y, U' _  i
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    9 C2 o$ F& i/ U( h
  1401. ; Default: 0' h% x, T+ b8 J
  1402. ;sybct.deadlock_retry_count=
    1 @4 D7 V" |  u& `" `

  1403. - w) C6 H$ a2 v" B# {
  1404. [bcmath]
    2 S: h* [- g2 w0 y
  1405. ; Number of decimal digits for all bcmath functions.& I) i0 i3 b, c/ X
  1406. ; http://php.net/bcmath.scale1 b5 R9 l; v, I( }! y
  1407. bcmath.scale = 0/ Y4 n4 \, d6 q( ^

  1408. $ k$ v% {' [, G$ c1 _; |4 F" ^
  1409. [browscap]
    $ P  t1 e( j9 i& z
  1410. ; http://php.net/browscap
    - w' m5 z) `( ^8 u
  1411. ;browscap = extra/browscap.ini9 [& @! E" b9 d7 {: k" n- m
  1412. 3 ?' d: ?, s& V! R" e# G
  1413. [Session]3 _7 N1 @: b( t5 \" O' H
  1414. ; Handler used to store/retrieve data.
    / `/ F/ i+ y4 m, B) `
  1415. ; http://php.net/session.save-handler
    + w! V  e$ V- h1 A8 P  j
  1416. session.save_handler = files7 i( ?$ _+ r. [, g' `) |
  1417. 6 R; P. K4 v3 K0 e  Z; S
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    7 T# @; s! p( A% s
  1419. ; where data files are stored. Note: Windows users have to change this7 K  o# \, G/ u% X
  1420. ; variable in order to use PHP's session functions.9 s3 t; Q# w3 K  X2 x; ]
  1421. ;
    0 N# M  T: h3 Z3 P- f9 C& D
  1422. ; The path can be defined as:6 `3 n) I" Y8 L! ?2 W8 i1 x
  1423. ;! ~2 f8 A$ T( d$ M% [! n: ]) |
  1424. ;     session.save_path = "N;/path"
    . L8 |- v. _& a' m. ~- }# H
  1425. ;
    . `1 {0 J2 s! d" _' H$ @7 E
  1426. ; where N is an integer.  Instead of storing all the session files in& G5 O8 Z6 P" p; D% G$ J' m
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    & f5 \# H( X+ O0 F& Z% M
  1428. ; store the session data in those directories.  This is useful if2 A( C! o. s% ~5 b/ q0 p$ @
  1429. ; your OS has problems with many files in one directory, and is
    / V- l. l" ^8 ^
  1430. ; a more efficient layout for servers that handle many sessions.
    ( s: Q$ }9 h4 k. R& l  u8 D
  1431. ;
    * l# F3 `$ s% b+ X
  1432. ; NOTE 1: PHP will not create this directory structure automatically.' e) T) r' ]* u6 l
  1433. ;         You can use the script in the ext/session dir for that purpose.1 y% H5 N- ?. M" C  H# c8 T
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    $ H  `1 m7 s# f9 Z  D; G- N
  1435. ;         use subdirectories for session storage
    8 g4 V  C: ~3 g5 g( n, V
  1436. ;
    : _. Y2 w! ]. Z
  1437. ; The file storage module creates files using mode 600 by default.* b' N, x5 n) c! |# _
  1438. ; You can change that by using
    $ G  ?  {5 v1 M
  1439. ;
    ( R9 E# z) ]; t
  1440. ;     session.save_path = "N;MODE;/path"/ K* u3 V! E# E3 U. p
  1441. ;$ q' y% @6 L6 S2 B# h: k, Y
  1442. ; where MODE is the octal representation of the mode. Note that this
    6 l. H3 ]* s$ K) Z( L: j& C
  1443. ; does not overwrite the process's umask.
    ' ]  p2 C! V  V# i) }
  1444. ; http://php.net/session.save-path1 N% a0 K" a7 x2 v1 |+ W7 x9 o
  1445. ;session.save_path = "/tmp"
    ) e0 X* Z+ ?6 g# u. t6 O+ j

  1446. ' v% p, S# t& L7 j3 B/ Q" b
  1447. ; Whether to use strict session mode.
    9 x) o8 m: L3 g0 s2 M) ~! h
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    5 c/ V' t, H3 I( R0 r/ d/ N1 _3 G7 Q
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ; d) i' r9 h, ]4 D  ~
  1450. ; applications from session fixation via session adoption vulnerability. It is
    7 }9 V; R- y3 d( W* \8 \
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.8 y2 \& O* q9 s
  1452. ; https://wiki.php.net/rfc/strict_sessions
    : h1 x- a" N6 C( }; {
  1453. session.use_strict_mode = 0
    * d2 L  u+ S% o

  1454. 0 m0 F5 r4 ^5 L1 b
  1455. ; Whether to use cookies.
    $ X; E3 _* a1 t
  1456. ; http://php.net/session.use-cookies" x$ w) ~/ n) z2 ?+ `0 {
  1457. session.use_cookies = 1
    2 x" U8 P- u( r8 M/ m/ e( g

  1458. 2 q3 R7 R6 |# U
  1459. ; http://php.net/session.cookie-secure/ ~* `  b0 p2 J0 s" P% W* a1 j
  1460. ;session.cookie_secure =- h0 E" f( N, Z$ _1 P) Y

  1461. + B2 a# U6 Q( b& z
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining# l3 Q3 d" V1 w" e
  1463. ; the session id. We encourage this operation as it's very helpful in combating+ L. t  ]  z1 }' y2 |' L4 h, J+ i3 z
  1464. ; session hijacking when not specifying and managing your own session id. It is
    " \& S8 I' z1 F1 J' L0 N1 a1 `
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start., b1 j: A. B# z. H  ^- O
  1466. ; http://php.net/session.use-only-cookies! r: N% s6 |  ~* j6 H  o
  1467. session.use_only_cookies = 1
    ! }' k! |1 ~3 `$ ^5 E0 o% z4 r
  1468. & [/ G+ C/ u3 U0 Q( I
  1469. ; Name of the session (used as cookie name).8 r- g6 {( E% a; k: z
  1470. ; http://php.net/session.name. v8 Q, x% H+ r0 {: A
  1471. session.name = PHPSESSID
    % G- y7 K! |& G9 Q0 e3 D
  1472. + ~7 J+ W: R, @$ g
  1473. ; Initialize session on request startup.# `! b8 F" I& o! m* y8 }: @
  1474. ; http://php.net/session.auto-start
    . X/ ~6 C' @) Y8 H# w
  1475. session.auto_start = 08 G9 P% T3 H( u7 x( U8 C* M

  1476. 4 {3 M" u& S% ]+ ?2 s
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.- f/ L4 y( d7 J  e
  1478. ; http://php.net/session.cookie-lifetime
    $ b# n3 [3 r' Y6 o1 c. `
  1479. session.cookie_lifetime = 0
    4 x7 k' F. W' w# k
  1480. - y1 H7 s8 Z% y- D. O$ d' b5 l
  1481. ; The path for which the cookie is valid.
    0 o& B* p# m' ]# V  X& q) u, h
  1482. ; http://php.net/session.cookie-path
    / n. p+ W' {3 B. U5 O: x
  1483. session.cookie_path = /
    8 n# q1 ~" s8 c& A

  1484. / b( P' j- \& H: C4 O: y. r, G
  1485. ; The domain for which the cookie is valid.
    " y, P" Z/ v, C3 k
  1486. ; http://php.net/session.cookie-domain' k/ ^7 D8 R' Z  @/ L' f- Z
  1487. session.cookie_domain =/ e' U3 w2 K3 N; T3 `

  1488. ( i6 ~2 N, x9 U# m
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.& h; v( {. t; d
  1490. ; http://php.net/session.cookie-httponly- o# q' d/ T$ ?% D' s: P
  1491. session.cookie_httponly =
    % E4 `5 m4 ^+ t( J- @
  1492. 6 q* j! X) k/ G9 r  N% ?& M
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.9 v0 u; O* Y, ]9 C( P' ~, r% P
  1494. ; http://php.net/session.serialize-handler2 l0 Z2 K9 c3 J" h& d
  1495. session.serialize_handler = php, Y* i3 J. c5 P0 w9 y. J

  1496. ! H/ o- l& G7 T4 x3 R
  1497. ; Defines the probability that the 'garbage collection' process is started
    4 j( U, u* p; Z$ P  l
  1498. ; on every session initialization. The probability is calculated by using
    # d& X$ C4 X: n, k3 @
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    % G# V' q" n( ?. s
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 12 J; f* ^, k& }% s- T$ O- _
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 f/ d+ w0 U  _# |9 T# q4 S
  1502. ; the gc will run on any give request.
    2 i9 }5 M  |. @2 D
  1503. ; Default Value: 1
    ( C- m% c4 U* J. P( D$ @/ Y
  1504. ; Development Value: 1
    ) h" d: D' u, G9 p& H& Q
  1505. ; Production Value: 1
    7 N! X3 q* q% i% Z8 u7 F' l6 h* j; u) _/ c
  1506. ; http://php.net/session.gc-probability! n+ i+ P# j$ Z) a+ f5 c. J
  1507. session.gc_probability = 1
    % I! z4 A5 b: W; T* |' O2 _

  1508. 7 f6 p3 w( w4 O
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    ; s9 S9 o8 |+ k6 r9 L3 M  V
  1510. ; session initialization. The probability is calculated by using the following equation:0 b; H7 ^/ e9 T, w# S
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    " q. F+ Z: s9 j1 d% @: P' K9 p7 N
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 16 _  \7 K: g0 I7 F, d
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 ^! W0 D; g- ?$ u# a
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you* K. i# I4 Z5 [% L
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    # `$ Q6 x4 f/ b! _
  1516. ; this is a more efficient approach.; R( T% H$ d6 u8 F
  1517. ; Default Value: 100
    5 P8 U& R, T3 f7 V# B  o
  1518. ; Development Value: 1000  d6 L* I3 y3 p* M9 y
  1519. ; Production Value: 1000( u" i. H' ~1 U: i% [
  1520. ; http://php.net/session.gc-divisor
    9 J1 p& z: G$ u: i2 d7 V
  1521. session.gc_divisor = 1000" [0 L/ i. J' H, @* T: H3 d

  1522. ! A6 t8 z5 g! k9 ?+ `
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and# e5 H# b9 V: _* P7 G. M
  1524. ; cleaned up by the garbage collection process.2 z, M2 i: o2 _' @
  1525. ; http://php.net/session.gc-maxlifetime
    1 P0 {, y- W/ d/ ^! T; E' P
  1526. session.gc_maxlifetime = 1440
    ' W% I8 ~7 p! g4 x  |: E  W
  1527. 0 q; |5 z' r7 D, J& H6 A
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    ( V$ ]" k. i; T* Y  x% s+ K" O
  1529. ;       (see session.save_path above), then garbage collection does *not*$ y" w0 _% W* S0 |
  1530. ;       happen automatically.  You will need to do your own garbage3 P8 [$ N+ V: J6 [
  1531. ;       collection through a shell script, cron entry, or some other method.
    6 B$ {$ c+ ?! \
  1532. ;       For example, the following script would is the equivalent of
    & i; J; J; z5 Z6 z+ p
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    & v% _% y0 H1 ~- W  U
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm  F" y6 q8 n: D3 F
  1535. , L$ A/ L- m, \$ z2 q+ S# j0 o
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    8 j: E0 I0 V  {; u: M
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    - c0 x$ Z7 B& ~1 S1 z
  1538. ; considered as valid.
    1 r& T% Y, g/ V
  1539. ; http://php.net/session.referer-check- c: B1 v* C7 d
  1540. session.referer_check =* ?7 C' }: Z* r

  1541. $ D4 T8 h% A" d
  1542. ; How many bytes to read from the file.
    - M1 r! H' f* A: Y/ G9 M, R, J/ [
  1543. ; http://php.net/session.entropy-length. q, n- A: n% [/ W
  1544. ;session.entropy_length = 32
    # c0 J; M+ v' s+ b
  1545. 5 z7 j7 l+ ]/ `* T6 c- I' J
  1546. ; Specified here to create the session id.+ S" f2 ~% \* l, F, L2 B( ?! R
  1547. ; http://php.net/session.entropy-file
    : b  r; s3 t/ k9 O( ?
  1548. ; Defaults to /dev/urandom% X+ w* l- P+ |4 t2 W
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom4 x4 i. N% E$ m4 l3 m' I% Q
  1550. ; If neither are found at compile time, the default is no entropy file.
    / d' E5 p5 e; y8 k. p
  1551. ; On windows, setting the entropy_length setting will activate the- v  m- a1 u0 Y! S. o3 G) B8 i
  1552. ; Windows random source (using the CryptoAPI)
    % c8 E: _) }; J( ?
  1553. ;session.entropy_file = /dev/urandom& y( g5 Z8 A4 h3 e5 A- w' E; |

  1554. : @- B8 y! S+ o6 Q7 n. w0 i, V
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    - E) |/ T' U3 b' H0 E$ _
  1556. ; or leave this empty to avoid sending anti-caching headers.
    3 ?# B/ @: C* e( C8 y
  1557. ; http://php.net/session.cache-limiter
    $ y# B& \% F# ~: j+ T, I) S$ P3 r
  1558. session.cache_limiter = nocache
    6 Z3 k* p+ S% K! n; [  B

  1559. ( i' F: n8 I; M% ]5 l9 {* T- Y
  1560. ; Document expires after n minutes., W+ ~: M7 u6 h3 q% o: R# W
  1561. ; http://php.net/session.cache-expire& O, i3 m$ J, X" E+ t) v
  1562. session.cache_expire = 180
    " k* |, L5 C7 H3 N" m% Y

  1563. ) t3 z" z, y& }9 [7 [+ w
  1564. ; trans sid support is disabled by default.% l5 s1 S- O# R; E9 _  T
  1565. ; Use of trans sid may risk your users' security.
    & Y  {0 U4 q+ q& \- Y6 a
  1566. ; Use this option with caution.
    9 M4 D) k5 @$ N3 \) V3 x
  1567. ; - User may send URL contains active session ID" F( c' H+ D3 ]7 y+ M( ^/ l4 Q
  1568. ;   to other person via. email/irc/etc.
    " H8 j3 s6 c6 J5 ^! K
  1569. ; - URL that contains active session ID may be stored
    * Q# U3 n' B9 A9 x
  1570. ;   in publicly accessible computer.
    ! I: M( t# a* c3 I- m$ N5 J
  1571. ; - User may access your site with the same session ID
    ' X4 h; a' Y) P# ]" {6 D, Y" g5 u
  1572. ;   always using URL stored in browser's history or bookmarks.4 t4 R% W  S$ ~5 q5 u6 C" H
  1573. ; http://php.net/session.use-trans-sid
      r: K+ ~2 |/ Q4 l, l3 w% y
  1574. session.use_trans_sid = 0
    " V& b# t  v7 D0 v* w' d

  1575. * T, l3 s! l  h0 J, v+ N) Y' J
  1576. ; Select a hash function for use in generating session ids.
    6 x5 F8 V; @: @$ I3 y' g
  1577. ; Possible Values! a8 |' T6 f! y" Z
  1578. ;   0  (MD5 128 bits)
    ' v; l$ @3 W7 |
  1579. ;   1  (SHA-1 160 bits); z- E7 T% W$ v7 P+ d+ J$ Z6 x5 K
  1580. ; This option may also be set to the name of any hash function supported by
    % ~" h1 j& W' R
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()) |7 a0 r- k, f+ t( g6 H  u" w
  1582. ; function.6 m! J9 y9 P5 i6 I! s: k
  1583. ; http://php.net/session.hash-function
    2 O2 x2 W1 z) d, D! b! S: K" g
  1584. session.hash_function = 0
    : a* J, W6 r1 q  ]/ n6 K
  1585. * L$ U( E1 M* c. {0 ~. x
  1586. ; Define how many bits are stored in each character when converting& q3 m$ M7 k- X# e9 S5 X
  1587. ; the binary hash data to something readable.; B2 }( k; x" e
  1588. ; Possible values:
    " P& Y* B* ~# G) U( x; P3 m
  1589. ;   4  (4 bits: 0-9, a-f)4 s+ `" A& K& E5 I
  1590. ;   5  (5 bits: 0-9, a-v): l7 P: H% j4 R) T9 j0 v  D
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    2 k* S6 ^5 |. n* S) J- W
  1592. ; Default Value: 46 ]) z* w3 Y* o8 U* g
  1593. ; Development Value: 5
    ( U9 u) O3 s8 ~- _3 O
  1594. ; Production Value: 5
    % d8 X8 s2 G& U
  1595. ; http://php.net/session.hash-bits-per-character4 n1 K# E& B3 Y7 @9 ]2 J
  1596. session.hash_bits_per_character = 5) D/ d3 U6 P5 n1 Z; u+ Y
  1597. 3 S. l% R% q" c7 m4 a6 [7 ]. Y  l
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.' M- l, ]( e7 v% l: w' A
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    - D/ U* p: y. J( b& `3 @8 n
  1600. ; add a hidden <input> field with the info which is otherwise appended
    " b! B' c' u" M1 F4 Z9 C% V: U
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.# `5 \9 l. X  k* `, c  b4 U
  1602. ; Note that all valid entries require a "=", even if no value follows.
    % Q8 `9 T4 M& Y( E) z4 c- U* G3 f
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="! U6 m6 T! o: w' R/ }0 D
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' \/ H! j7 q5 [' y" Y# r
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 ?. A# W6 U$ f0 T% @3 F/ C) R* m6 b
  1606. ; http://php.net/url-rewriter.tags& @' y8 j( h, ^& ?, a+ ]% e7 u
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 P( C$ z$ c# }0 l1 s" h
  1608. $ w4 `( U: {' r- j2 C
  1609. ; Enable upload progress tracking in $_SESSION
    ! f' q9 B7 q  D0 l9 \$ V
  1610. ; Default Value: On8 t6 B, y* B8 j) ?- e4 i
  1611. ; Development Value: On
    / Y2 j; g5 H8 i4 s  Q
  1612. ; Production Value: On, S# Q+ ^! E9 t5 b. w  j
  1613. ; http://php.net/session.upload-progress.enabled& b8 I- ]; y+ S4 `% `
  1614. ;session.upload_progress.enabled = On8 y; M# h0 u4 i, O: P+ C

  1615. $ d, E/ F' g! p* e  T; p
  1616. ; Cleanup the progress information as soon as all POST data has been read
    & C$ F: I* [# S/ W2 b- B4 E
  1617. ; (i.e. upload completed)./ P* B1 ]& [: G( ^$ Q; f' D
  1618. ; Default Value: On
    ; ?; @& _2 \1 J3 ]: H/ f1 G) t
  1619. ; Development Value: On
    + S$ Y/ l+ c& ]: ^9 `1 I1 F- L" T
  1620. ; Production Value: On: ?1 S- Z& e' [% i. m7 c
  1621. ; http://php.net/session.upload-progress.cleanup
    7 P* G8 c3 t# a+ t' X& s
  1622. ;session.upload_progress.cleanup = On
    $ e% O: x5 K& y( J4 F$ [

  1623. 8 G' P, a+ g2 {* k( P% _- E% B3 w
  1624. ; A prefix used for the upload progress key in $_SESSION
    * ^( V: z5 X/ a7 X4 \8 {
  1625. ; Default Value: "upload_progress_"1 t/ Y# b! \8 C3 O+ k
  1626. ; Development Value: "upload_progress_"
    + E7 h. Q* i5 @  x) L) K% ^
  1627. ; Production Value: "upload_progress_"
    + U  v# X7 w" h7 ~% `0 v8 M( {" ^
  1628. ; http://php.net/session.upload-progress.prefix
    . f1 ^% q" l+ e2 {
  1629. ;session.upload_progress.prefix = "upload_progress_"
    + X. N9 Q7 k! M0 n1 V$ Q
  1630. 3 |: j6 d4 W  W: a. s" |6 S
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    6 q. f8 H" _' b* L! @
  1632. ; containing the upload progress information  i' ]5 d8 ^( P# i. z8 l, k$ q2 {) E
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 ^# u, ]8 A8 u" e
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"/ C4 O7 d- \3 F  @
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"2 n, C$ I( d3 `, L4 {
  1636. ; http://php.net/session.upload-progress.name
    5 N5 w2 D' U8 k# _; L
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    3 l& V9 x7 ~/ i: P1 T4 q
  1638. 3 G7 ^& b+ e# n; r
  1639. ; How frequently the upload progress should be updated.
    3 W# x7 X; C+ W/ d+ f4 Z' l
  1640. ; Given either in percentages (per-file), or in bytes2 m9 g# p8 q9 O
  1641. ; Default Value: "1%"
    / M' a# x* \9 {% b% E3 ~
  1642. ; Development Value: "1%"0 ]; C* L' Q) q$ l7 J0 o
  1643. ; Production Value: "1%"# U/ K; ]- q; J
  1644. ; http://php.net/session.upload-progress.freq3 v! @% |4 o$ j# ?% r
  1645. ;session.upload_progress.freq =  "1%"
    & r% ]2 }% `6 K) Y+ C8 ~7 c2 W

  1646. / `* ]9 y+ z$ O* {
  1647. ; The minimum delay between updates, in seconds) }* ]6 N: S2 Z5 F; q0 `
  1648. ; Default Value: 1& K( W' H: H  C3 F2 ^. ~& a2 {2 v
  1649. ; Development Value: 1
    ( H  ]& q; L: s4 `8 {( w' Y) J
  1650. ; Production Value: 1
    2 R6 T( E% ?3 ?, ^; W: v& O
  1651. ; http://php.net/session.upload-progress.min-freq. l5 o( o0 l# l( h! w- s3 r
  1652. ;session.upload_progress.min_freq = "1"5 }" u7 C1 d* x

  1653. ) ^; z' H0 _7 C! q
  1654. [MSSQL]
    9 `6 s  Y' b) s
  1655. ; Allow or prevent persistent links.3 s4 Z7 G* |- A9 T" J
  1656. mssql.allow_persistent = On
    " v( ~  l: R2 m) v7 [
  1657. " x( J7 T! m, H: @0 h2 x& C" m
  1658. ; Maximum number of persistent links.  -1 means no limit.
    / Z, T  V' I8 d# E& r2 V! T
  1659. mssql.max_persistent = -1. w% }* k0 V0 G$ r& j6 h
  1660. + `. p' `. X) W8 J( y7 b
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    3 R3 b4 U0 F# S" x, P3 I. l
  1662. mssql.max_links = -10 S& g$ n) ?& q2 M4 a

  1663. ! r9 Z) q! Q8 b1 a4 l# R
  1664. ; Minimum error severity to display.
    9 `4 v7 N9 g  Q5 }6 c( p
  1665. mssql.min_error_severity = 10
    . T% k. d0 ?- m) G
  1666. 2 c# }7 o3 Z- k2 r+ [# \
  1667. ; Minimum message severity to display." H. U. v2 a: U
  1668. mssql.min_message_severity = 104 Z% }" H, T  R, b

  1669. ; H7 K6 `& L5 S3 v' {* N
  1670. ; Compatibility mode with old versions of PHP 3.0.
    " ]8 H) n7 W; B3 Y, K% N  U
  1671. mssql.compatibility_mode = Off1 p$ t0 D, K* |
  1672. 0 S4 ~$ G& L4 F6 t! d) m
  1673. ; Connect timeout
    ; ^  E0 N2 {# a4 C1 q
  1674. ;mssql.connect_timeout = 5
    " L9 z2 }4 K2 P7 E% D$ p
  1675. 3 Z! S, \$ ^) z
  1676. ; Query timeout  q  @# E4 `9 b2 L. w: G4 f2 C9 m# j
  1677. ;mssql.timeout = 606 J( Y3 Z6 G% |
  1678. - o% A! z% G: m
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    # p( l! a/ f6 S3 }  s) s) b# ~4 F
  1680. ;mssql.textlimit = 4096/ S( v2 b( R7 Y2 @% E( P' @( f/ Q

  1681.   p. g- ]  \; H6 ]) x6 W& ]
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    ' [( U+ v/ a0 g* B% S3 J9 t
  1683. ;mssql.textsize = 4096+ ~7 Z7 p& ^, |0 Y

  1684. - E6 |# {& B+ E
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.& o5 t* Q. w$ v" E$ p( G0 x4 t  W+ V
  1686. ;mssql.batchsize = 0
    ) A. H% b) e( C

  1687. 2 P: L" M, [8 g+ V. Y) n$ h
  1688. ; Specify how datetime and datetim4 columns are returned$ A+ Q' j9 G7 j; n) i, f
  1689. ; On => Returns data converted to SQL server settings
    6 ]/ u: X5 d8 N. l
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss8 q& w5 G- ?3 y+ r
  1691. ;mssql.datetimeconvert = On) V5 T! j8 b* _: m6 }% v4 Y
  1692. " l* f% L6 K- |* A% f9 l* I7 v
  1693. ; Use NT authentication when connecting to the server; K  [! f# o0 o) g, {& `
  1694. mssql.secure_connection = Off9 y3 p- V7 _' F7 ^- r1 J

  1695. & D0 Z8 ~' r6 [( }
  1696. ; Specify max number of processes. -1 = library default2 K  B. B- Z) w
  1697. ; msdlib defaults to 256 b, F; o* Q, ]: M0 p
  1698. ; FreeTDS defaults to 4096( w1 O- o/ g& h" F7 u. C
  1699. ;mssql.max_procs = -1
    3 Y4 {) ^# ?& y/ l, |$ l; r

  1700. " G4 L& a  P: ]( o
  1701. ; Specify client character set.
    ) n  e- Q' M2 a: d" Y: i
  1702. ; If empty or not set the client charset from freetds.conf is used0 H* Z7 W  K6 Q3 {1 I0 }
  1703. ; This is only used when compiled with FreeTDS1 U3 f, N4 ?7 z. k2 o; e7 l
  1704. ;mssql.charset = "ISO-8859-1"
    . P  N5 `& I0 p9 `; P% |
  1705. & }6 y' y  V' S
  1706. [Assertion]
    ; w+ y' H$ |2 c2 R+ ^8 ]+ C
  1707. ; Assert(expr); active by default.2 n% u: f! o+ P' B) }1 ^$ L
  1708. ; http://php.net/assert.active& @6 ^% }+ V! D. ~: V. X
  1709. ;assert.active = On$ W3 @: w+ e& [& [5 x
  1710. 6 j2 I: U5 B7 R4 A1 s
  1711. ; Issue a PHP warning for each failed assertion.
    . r, u; D0 u1 k
  1712. ; http://php.net/assert.warning
    : i8 \0 g6 @/ ?0 ^" X* O) s
  1713. ;assert.warning = On
    & B: z9 [- u6 G

  1714. . h2 H) H* E% w8 Z' e, D+ O6 r- U" b& u
  1715. ; Don't bail out by default.% J- H) w9 C' j5 @
  1716. ; http://php.net/assert.bail
    : E: {; H" Z, V+ [; B$ ?
  1717. ;assert.bail = Off
    . l  K  F+ e7 N2 j! ]

  1718. . f; F: y: e, T+ P
  1719. ; User-function to be called if an assertion fails.
    , h- @9 C! `5 N) l
  1720. ; http://php.net/assert.callback
    $ {$ r0 k1 T/ k- [
  1721. ;assert.callback = 0- @+ B, y) C  Q8 l

  1722. ) q0 l6 p7 M  t. N- q( t
  1723. ; Eval the expression with current error_reporting().  Set to true if you want# a) _9 f# j$ I
  1724. ; error_reporting(0) around the eval().
    $ r! d, r- V6 ~8 Z9 W$ O$ ]
  1725. ; http://php.net/assert.quiet-eval$ G! k* L1 q* y
  1726. ;assert.quiet_eval = 0* O4 E0 _8 ?7 c, l- h/ M

  1727. 4 Z- K9 [% a, r! v9 H: M( m
  1728. [COM]
    ) @0 A3 L) ]3 t( D, C& M2 \
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ! b- o2 Z6 u. k5 f+ P
  1730. ; http://php.net/com.typelib-file
    + D! y8 \5 p% A, s. P5 k! `- i6 x
  1731. ;com.typelib_file =4 A" Q1 @- }0 V

  1732. 7 R" K- N5 h* {
  1733. ; allow Distributed-COM calls
    & z, u6 {6 U# I
  1734. ; http://php.net/com.allow-dcom6 P  p* O3 N/ y& h" R
  1735. ;com.allow_dcom = true
    ' ?; ~4 [$ L5 h/ u0 h4 G2 ~, Q7 K

  1736. 0 B2 q* h; T" m2 x5 D
  1737. ; autoregister constants of a components typlib on com_load()3 g, L+ w3 I  z/ n, J) T' S5 v
  1738. ; http://php.net/com.autoregister-typelib
      \: P: }5 m3 g+ ^: N
  1739. ;com.autoregister_typelib = true+ s5 k9 |0 d8 O
  1740. 7 |: A- F2 [- I
  1741. ; register constants casesensitive+ V% w# c3 D& Y+ w. Q: |* t
  1742. ; http://php.net/com.autoregister-casesensitive
    2 {& u' V, a" @! j$ N7 d
  1743. ;com.autoregister_casesensitive = false
    ( K6 g& j% Q4 o0 l

  1744. & S; ~8 v: }5 t: j# o
  1745. ; show warnings on duplicate constant registrations
    1 p8 C1 K7 P0 w- E0 Y1 _
  1746. ; http://php.net/com.autoregister-verbose
    & h/ v  q. S. k7 G+ z
  1747. ;com.autoregister_verbose = true
    5 f  J* O1 v' q

  1748. ( Z  k9 |! r, ~0 \- i& r! m1 f
  1749. ; The default character set code-page to use when passing strings to and from COM objects.* t4 B$ E7 W* v0 d4 q
  1750. ; Default: system ANSI code page
    & c) ^( ?6 v7 w7 a' `
  1751. ;com.code_page=9 w* n% o5 L  M) y* [, r! M
  1752. 7 i( C3 H+ b- _  a
  1753. [mbstring]
    : T6 j" @$ J( x
  1754. ; language for internal character representation.( X3 {" v; B/ t5 F+ X0 O. |: k
  1755. ; This affects mb_send_mail() and mbstrig.detect_order./ T3 P4 b7 D; H7 `0 q  N
  1756. ; http://php.net/mbstring.language
    3 D3 d# {6 W/ A/ O( g
  1757. ;mbstring.language = Japanese$ s2 u( t) r- |7 N$ ~7 j
  1758. ; Z  z( m0 `, k3 N. ~/ f9 [
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    . D9 U3 e* R8 ]9 ]
  1760. ; internal/script encoding.
    ( U6 Q/ R2 L# _+ R* c4 w
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    0 f1 w% y' g( W  D. ?1 e
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 t4 c: Z6 X4 I
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    2 @# Z% @3 U8 r: U: Q
  1764. ;mbstring.internal_encoding =
    ( [4 \( I, b1 d* B* e' a3 X9 _
  1765. - r# m7 P) N' l+ \
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    6 Y8 i+ |2 g' G" b1 h2 w" e
  1767. ; http input encoding.  [& }. }# L# t) D# g3 l6 d6 s
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    - F' f  o& s+ @; E  Z9 `. k
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    5 P, R( [% d. L( m% X
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    2 m5 n4 C* c: c" V( E6 C
  1771. ; http://php.net/mbstring.http-input1 ^0 Q6 W8 B/ B! Z/ p2 x
  1772. ;mbstring.http_input =+ p: L+ p! k% Q. ^3 C0 e$ A

  1773. 1 ]  I9 l; F" \* N
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    4 \6 X( ~4 D& a# N- k! Y5 e
  1775. ; http output encoding.
    + M! `4 \/ ]( Y. |: }( A
  1776. ; mb_output_handler must be registered as output buffer to function./ _  }8 ?' O1 y8 Z0 @8 n
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.( e) N5 M- f+ P% u0 N) N
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    0 k1 E. a, O# j% S6 h& a
  1779. ; To use an output encoding conversion, mbstring's output handler must be set$ }4 e8 V4 W- P3 ^/ Z* P' L* F- K
  1780. ; otherwise output encoding conversion cannot be performed.2 F" F0 P( [1 m4 Q: J4 O: B
  1781. ; http://php.net/mbstring.http-output( k, z3 w  R* _3 ^* t0 e( b- d' F
  1782. ;mbstring.http_output =
    . J. N' E: p- L# Z2 a! N. V

  1783. ! W% `# ~! g% X
  1784. ; enable automatic encoding translation according to' ?6 b) s8 O0 r# R) @' g- }
  1785. ; mbstring.internal_encoding setting. Input chars are6 ~: j; r" i1 b) `# ~& F
  1786. ; converted to internal encoding by setting this to On.+ i" c1 C, v& I
  1787. ; Note: Do _not_ use automatic encoding translation for% ^2 q: ~  `: v7 P
  1788. ;       portable libs/applications.6 L2 t7 D, u, L( z/ v
  1789. ; http://php.net/mbstring.encoding-translation% b7 g6 y0 {7 L, P- M
  1790. ;mbstring.encoding_translation = Off6 g" k4 @4 N3 c3 a0 \( r8 `

  1791. 0 Q4 D7 ]0 H. F. Y% s! }8 L1 R4 _
  1792. ; automatic encoding detection order." r- N' ]# i& I) q: ]' K* X" X  r& e
  1793. ; "auto" detect order is changed according to mbstring.language0 C: D5 ^. H7 U' l( Y
  1794. ; http://php.net/mbstring.detect-order  t# H9 g3 G  r8 e/ P
  1795. ;mbstring.detect_order = auto3 s: d* U& p8 i2 _. t7 }5 ]! \
  1796. 1 G1 v' u6 I& w9 A3 `# i
  1797. ; substitute_character used when character cannot be converted
      G$ p+ F& m; [$ X% k
  1798. ; one from another
    1 e- l' ^9 b3 V2 `9 |7 G6 R
  1799. ; http://php.net/mbstring.substitute-character
    , ]  N, X' T" r* F& Q% b
  1800. ;mbstring.substitute_character = none4 a4 {/ L3 z8 C

  1801. ' v) e+ s" b$ L4 w+ X0 r+ C) L
  1802. ; overload(replace) single byte functions by mbstring functions.$ E$ @6 i$ j" f& {9 t
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    6 I$ r" z8 v8 Q6 C  {* y$ B' x
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    - `! I: G: ^, h! b: w0 _1 K
  1805. ; For example, 7 for overload everything.4 M# A: `( A& ?# C  ~; A3 u+ I( b# m
  1806. ; 0: No overload
    + ~0 o8 w% o: j  R; E! `
  1807. ; 1: Overload mail() function
    $ {0 ~+ y3 Z+ W$ l9 U' u6 g
  1808. ; 2: Overload str*() functions
    1 F* @7 ?! a4 a7 ^# Z1 y+ o0 s3 {
  1809. ; 4: Overload ereg*() functions
    ! T. t) J) d  j* c$ {
  1810. ; http://php.net/mbstring.func-overload, }! C5 A% R0 i) p. o, ]$ _1 g
  1811. ;mbstring.func_overload = 0% d) T1 Y8 z3 [1 a( h' k: K' N

  1812. * j3 J( E+ _0 g! j9 t# H
  1813. ; enable strict encoding detection.
    ; j8 c, |2 N. e6 w" X9 q( e
  1814. ; Default: Off& U! w' H6 H0 v- V$ ?
  1815. ;mbstring.strict_detection = On! A  ?  O0 C8 F  J2 W0 I' A

  1816. ( }: v% I3 C6 H$ X0 x; V0 e
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()) i& K7 P" u6 I# q, r
  1818. ; is activated.
    : a5 M! }. g* u7 e5 I
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    $ ~: \2 }2 l$ i' s
  1820. ;mbstring.http_output_conv_mimetype=; G. E6 Y) \, @' B) I2 Z: A: S( t

  1821. 2 c3 ^8 e( t3 C0 ?2 S/ j
  1822. [gd]
    ' X6 k; K8 M& S- G$ D- ]
  1823. ; Tell the jpeg decode to ignore warnings and try to create' Q1 C9 W) T/ L& c0 v1 y. [
  1824. ; a gd image. The warning will then be displayed as notices
    ( Y" s# x2 A; ]
  1825. ; disabled by default) n, F1 i$ q5 F
  1826. ; http://php.net/gd.jpeg-ignore-warning/ I  z% I3 ^; L, w; D+ T) N
  1827. ;gd.jpeg_ignore_warning = 01 F3 U. n- z# a

  1828. 8 l6 c+ Y, ^0 }3 c- V2 y( V6 u
  1829. [exif]% {3 e, ~/ l2 \. U
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.! |- I+ s' g# Y' D* n1 u6 h
  1831. ; With mbstring support this will automatically be converted into the encoding
    " S/ J; b/ |6 `* P5 ]3 g0 `' M8 {
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    0 X: j5 I9 r7 I
  1833. ; is used. For the decode settings you can distinguish between motorola and
    0 y5 ]; _9 e( Z: d8 R' [
  1834. ; intel byte order. A decode setting cannot be empty.) F- q# G; h& L8 ~/ d4 U: s
  1835. ; http://php.net/exif.encode-unicode" ~* F  z/ f* @$ n. @& z
  1836. ;exif.encode_unicode = ISO-8859-15
    $ b( U0 _8 e+ L" S1 p

  1837. : }  y3 Y( P- `& }6 M2 u- L
  1838. ; http://php.net/exif.decode-unicode-motorola
    ' `: @) v2 z& p
  1839. ;exif.decode_unicode_motorola = UCS-2BE8 d* I: R+ F2 ?- G4 ?  B' [# U
  1840. / P7 z! |( o9 e% n6 K# ]1 b6 ?3 B
  1841. ; http://php.net/exif.decode-unicode-intel
    ( S0 k) ~# u2 {, i2 ]2 o! v
  1842. ;exif.decode_unicode_intel    = UCS-2LE* U( q4 C2 ^: S# |2 w0 {/ y, z
  1843. ' b( T% e+ X: H1 w
  1844. ; http://php.net/exif.encode-jis
    , E4 I: @! f; Q6 S- d* u  v
  1845. ;exif.encode_jis =
    # {) c1 T3 v& K* p
  1846. # ^! \; S0 O4 W, I" o
  1847. ; http://php.net/exif.decode-jis-motorola
    + v2 a0 `8 Z4 ]) U  Q$ p
  1848. ;exif.decode_jis_motorola = JIS
    ' P' x0 n0 {8 l% r. j9 z* z
  1849. 5 X& O% q5 a1 F( }. b3 W
  1850. ; http://php.net/exif.decode-jis-intel
    6 O! S' n! F+ ]
  1851. ;exif.decode_jis_intel    = JIS  ]8 u6 }/ M2 e! @3 f
  1852. 8 [# l' e5 m- v# u
  1853. [Tidy]
    ) _- F! C5 R1 v/ g+ L
  1854. ; The path to a default tidy configuration file to use when using tidy2 {! Z7 H+ N! k6 z$ }
  1855. ; http://php.net/tidy.default-config
    ' |1 }* C, B* }2 \; o8 M9 Q
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    8 b0 l1 u: G% l% @7 I7 q
  1857. 1 i/ i# n$ j+ [* o
  1858. ; Should tidy clean and repair output automatically?
    , K8 E  Y/ u% U; I5 [$ M- z7 u
  1859. ; WARNING: Do not use this option if you are generating non-html content7 m$ h5 J9 N0 m5 Z. A5 r
  1860. ; such as dynamic images
    0 Q0 z4 U6 A" d- J  L  E! B* x1 D
  1861. ; http://php.net/tidy.clean-output) Y6 }0 P# U9 Y5 h
  1862. tidy.clean_output = Off
    + y0 n; ~4 a7 K+ T

  1863. & t. H3 m% }' H; u$ j
  1864. [soap]
    # L8 a$ g' L- \! c2 b) y
  1865. ; Enables or disables WSDL caching feature.
    # \$ a/ y( K- u8 v: {
  1866. ; http://php.net/soap.wsdl-cache-enabled
      p% T* `2 n& p$ B  T( B8 Q
  1867. soap.wsdl_cache_enabled=1
    / H! [0 u; J+ y- Q! x& V) V

  1868. / |; E% h. w4 L2 d7 p
  1869. ; Sets the directory name where SOAP extension will put cache files.
    6 }  M- p9 m2 k" V* q
  1870. ; http://php.net/soap.wsdl-cache-dir
    , i5 y) f, S" r/ k8 ^
  1871. soap.wsdl_cache_dir="/tmp"0 \) P9 M& q" E3 h* J9 o1 L

  1872. 0 ]0 I1 [6 \" ~& k7 M9 ?1 t
  1873. ; (time to live) Sets the number of second while cached file will be used
      I% Y5 k+ w1 g, g. h6 Y" x
  1874. ; instead of original one.
    , w5 U6 |) N& Z! q
  1875. ; http://php.net/soap.wsdl-cache-ttl# f2 m8 k; L, {3 [2 q! Q
  1876. soap.wsdl_cache_ttl=864006 p) _3 M  `/ Z& S6 n
  1877. 1 p. O# g( x# \8 Z
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)& F9 x3 |2 i8 L8 \0 k8 j3 s
  1879. soap.wsdl_cache_limit = 5
    + B$ u1 q& u0 A( V

  1880. 0 I0 W/ A* c8 m- w: X$ W9 h
  1881. [sysvshm], C0 W! d8 F, Y1 k0 U' G
  1882. ; A default size of the shared memory segment
    ( R, S9 X7 X3 y; [
  1883. ;sysvshm.init_mem = 100006 I, w/ h( i( D, J
  1884. ) C! ?* I9 s+ W
  1885. [ldap]; a/ o% L, q1 `3 d
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    8 W4 P! Z( W1 z/ N; w
  1887. ldap.max_links = -1
    7 A2 J( L) f, q" c4 r

  1888. , v- q, s, K' m# M7 A! @
  1889. [mcrypt]
    / L9 J( t' o3 l! |
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    8 [# {) C5 G5 r$ e! ?
  1891. , H. I0 x3 W2 }5 ?- j
  1892. ; Directory where to load mcrypt algorithms
    6 f% V  O3 I; X1 z$ ^/ g' O, H: F3 I
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt); S1 {9 D. u9 R
  1894. ;mcrypt.algorithms_dir=: @0 N1 n  Y# U( b3 s4 N8 k  b

  1895. & L) E0 V+ V/ [
  1896. ; Directory where to load mcrypt modes
    / e* ]" n7 E5 y+ H" l0 @
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    " T- Y* U4 L8 }" g0 K9 c
  1898. ;mcrypt.modes_dir=
    , @. s9 [7 r2 @  `( `% a

  1899. 2 |1 h5 @0 Q3 u" E1 s
  1900. [dba]
    & j! U# l% n2 p3 Q
  1901. ;dba.default_handler=
    : k7 J# I: L! ^3 K3 `

  1902.   E) J. N6 |4 L  }* g1 _7 O- q, `
  1903. [opcache]
    + S7 L* o- W( G- r6 z! q4 Y* U
  1904. ; Determines if Zend OPCache is enabled/ w8 p  G! m9 K7 h6 M( b
  1905. ;opcache.enable=0+ I$ S& L  m3 A; c
  1906. ! \- A  q0 x& s' x3 C) @
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP9 @4 O6 K0 h' I2 ]/ {$ X
  1908. ;opcache.enable_cli=0
      C5 k/ `' q! j! ?; \/ r
  1909. 8 I4 T7 |" l9 o" h0 u' J
  1910. ; The OPcache shared memory storage size.
    4 z/ J- J9 E% a/ o: G) Z
  1911. ;opcache.memory_consumption=64* h- P6 k6 q/ k$ T
  1912. ! @0 R) L$ E6 C5 K4 p# k' c5 `7 m0 _4 j4 f
  1913. ; The amount of memory for interned strings in Mbytes.
    - c! p' V) D9 S" P+ f
  1914. ;opcache.interned_strings_buffer=4
    ) S7 E  T' @8 K5 S# o- n9 q

  1915. ) S1 @" {/ E: w; B& j$ m
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    8 |! ~' Q. j0 g$ ?8 K- L+ q
  1917. ; Only numbers between 200 and 100000 are allowed.
    0 i5 ^4 u' t" T5 a
  1918. ;opcache.max_accelerated_files=2000
    ( M5 _& n6 k7 e" ?5 Z
  1919. + V  }" S8 S+ w& {; a$ |
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.* m: K) z, w  Y- c) q8 s- n
  1921. ;opcache.max_wasted_percentage=5
    * w! O) ]( ~* c% d8 `% q" L- D! Z, ~

  1922. 4 U7 {: K5 Q5 k6 W: u& B; ]
  1923. ; When this directive is enabled, the OPcache appends the current working4 V0 U, p9 M0 w8 B9 _
  1924. ; directory to the script key, thus eliminating possible collisions between
    8 t) L2 [5 b* {- D% y
  1925. ; files with the same name (basename). Disabling the directive improves
    . s' }$ `/ a- V( j4 V0 i
  1926. ; performance, but may break existing applications.* m$ c- u$ h; J# y( C: N# `+ U6 m- T
  1927. ;opcache.use_cwd=1* _' \+ i9 c8 a4 F

  1928. 3 j% B; I7 L: `% E) V
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ( }/ }9 p3 t- o1 ?7 ^/ B8 j2 C
  1930. ; webserver for changes to the filesystem to take effect.
    # l( x( D4 \/ I: v+ b% J: {
  1931. ;opcache.validate_timestamps=1
    ' }+ i1 z* Y9 @
  1932. 5 U7 \1 ~- C1 `& ?4 \* k
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    0 i# B+ f2 a8 N5 h
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    1 D7 q4 }, c* o& M7 J) o) e  J! {9 p
  1935. ; once per request. "0" means always validate)
    4 ]$ J# q& k0 ?) |* E2 z* `
  1936. ;opcache.revalidate_freq=2& G3 r6 w0 a, _7 Z' d8 F& k* @7 n

  1937. , D+ U6 t& i( X
  1938. ; Enables or disables file search in include_path optimization
    8 J7 m- W) o- M$ r! ^1 s. G7 O2 `
  1939. ;opcache.revalidate_path=0! S4 B5 t; [9 y+ l1 a$ J4 t9 L) |
  1940. : F, |9 S! Q, ^$ w% j: }2 i- a
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the7 u) O1 K: Y/ Q. a/ D
  1942. ; size of the optimized code.* {8 \; N% {/ M2 e; m9 V6 d
  1943. ;opcache.save_comments=1
    6 t" d# z$ t/ R. s  Q+ F

  1944.   ?6 G; E3 T: Y+ H9 _
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ; y/ j: I/ I  M3 l$ }: K5 u3 i% ]
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    / K0 s) `: M: X7 a
  1947. ; that don't need them anyway.
    8 \+ q( P; |$ ~3 A: _7 A; p
  1948. ;opcache.load_comments=13 q1 ?2 p+ G* G2 W. j9 `# @1 W
  1949. $ P7 E( B) a' ?0 {0 y9 g
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code+ F" ~1 A2 s4 h8 @, ]! A
  1951. ;opcache.fast_shutdown=06 ^% F' |( O  N! e9 G5 U' W: h

  1952. 8 a& W* l! S! W6 ^8 [2 [3 L
  1953. ; Allow file existence override (file_exists, etc.) performance feature.# D# d& i' J* J5 P# Q2 K1 q6 X# E
  1954. ;opcache.enable_file_override=0
    6 b/ ?/ m# S/ \8 |! I! ~# T

  1955. % c2 m5 W/ c" y. }0 Y& S2 y
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    5 A- f0 r0 r* r2 Y8 N$ S
  1957. ; passes8 z! t1 {% L" a7 j2 [# N/ v( s" P
  1958. ;opcache.optimization_level=0xffffffff  ~% i8 k. M/ ^6 ^4 N* n

  1959. - x; h7 ~9 U7 R$ S2 l- `
  1960. ;opcache.inherited_hack=18 ^5 V6 }0 G$ n$ s# G
  1961. ;opcache.dups_fix=0+ u1 U7 R6 N- l* I

  1962. ( m! m; L: s; z, ^3 v( U! w
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    / z6 D1 \5 W7 |' z& I2 s
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    5 ]# |0 }) Y9 F) P) f
  1965. ; that should not be accelerated. The file format is to add each filename4 H; }6 W3 }$ u* T6 H
  1966. ; to a new line. The filename may be a full path or just a file prefix: P- v8 X: u% V$ s- s7 J6 T
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    . I& Z+ I1 J% a4 [8 E" Q! U
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).% j, F( u- |5 C; l0 M
  1969. ;opcache.blacklist_filename=
    * A& `4 g7 E" ^. Y
  1970. , |) d( D8 S5 A8 E& o
  1971. ; Allows exclusion of large files from being cached. By default all files% s& P# U4 m- h
  1972. ; are cached.8 l; q' z2 v8 e# W
  1973. ;opcache.max_file_size=0
    - I3 w7 I8 o4 B$ k& `# B  B% J' \

  1974. ' W" M6 h7 F6 l
  1975. ; Check the cache checksum each N requests.
    + }. v- Z* G4 F! ?3 x+ g& |+ A
  1976. ; The default value of "0" means that the checks are disabled.& F9 j" O' M+ {& S
  1977. ;opcache.consistency_checks=06 T6 z- [2 v' M+ E! |  t& j9 t
  1978. % _+ p0 V$ J4 J# d, Z  _( r2 d4 h0 w
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache- }* ?* d6 X6 `: x6 W
  1980. ; is not being accessed.# q1 H4 R# L$ e
  1981. ;opcache.force_restart_timeout=180
    ' C2 V: t- H8 J4 }4 ^' S# N
  1982. ' `8 L* X, t" E/ {+ o$ \& u
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ! I. K- [# X0 O
  1984. ;opcache.error_log=
    : r9 I  K/ G7 G, Y. C' h4 A
  1985. 0 u* m& g- r! ]8 w
  1986. ; All OPcache errors go to the Web server log.
    # x3 S* A4 z. A3 M* s/ p$ O
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
      }: U) w, ], R9 b1 W7 g7 s! i4 X1 V
  1988. ; You can also enable warnings (level 2), info messages (level 3) or2 s+ N$ \3 H1 Q1 F" K0 i, t
  1989. ; debug messages (level 4).! t- T) \3 V7 B1 Y, T
  1990. ;opcache.log_verbosity_level=1$ Z# P5 w3 M/ R2 B7 X% U

  1991. 1 ?; e9 S6 {: E6 e
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.2 L! h( g4 d( }, T4 k; `+ R2 P6 a
  1993. ;opcache.preferred_memory_model=# r0 y( v" T/ L6 o( U: ^
  1994. . o2 R: l3 K2 e
  1995. ; Protect the shared memory from unexpected writing during script execution./ a& J  n$ }, u) f" j9 ]+ {  K
  1996. ; Useful for internal debugging only.
    " ^/ F5 v1 ~, h
  1997. ;opcache.protect_memory=0' V/ u: W) Y2 z  w- a5 j+ g1 A8 p

  1998.   w+ l+ p3 o$ g" h+ \* e2 K
  1999. ; Validate cached file permissions.
    & s: w; M0 w/ m  I+ M8 }8 A7 N$ I9 B
  2000. ; opcache.validate_permission=0  M4 K5 L+ p" y! i2 H
  2001. / M! ~# O! A$ G; @: K7 _
  2002. ; Prevent name collisions in chroot'ed environment.2 ?6 D$ @2 n3 h6 `5 ]
  2003. ; opcache.validate_root=0
    * Y" W; C8 [+ Z1 r* D3 W
  2004. 3 e: |4 {3 D+ E& x5 ~( p
  2005. [curl]
    ; p$ Z  H- O2 k8 N
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ) D+ Y0 U0 z- h1 a/ L
  2007. ; absolute path.
    " h! T1 U' a& \
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ( A7 L: o( U7 n) I8 }5 J

  2009. 1 O2 m# K. J( A% S, Y* d
  2010. [openssl]# U) p- l1 K( |3 j
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    : Q2 q! c9 ^6 S3 D+ r; J# K
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should) m3 \9 L% l6 Q9 g, T
  2013. ; not specify a value for this directive as PHP will attempt to use the) \" v% w! }$ C3 @
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    : m9 Y7 r9 h4 d6 X) q
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context, z/ [! A0 A  N, R
  2016. ; option.2 I) j5 O9 P+ }* ^
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    # n* a( J. m5 k- h1 y
  2018.   j9 I* L: |' Y# m% u* p" |& G2 s
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ' w" }! ]$ v' k+ G0 }7 i2 ~
  2020. ; directory pointed to by openssl.capath is searched for a suitable# D) u0 {. G# \- m. A# r9 G1 |
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    9 z; R5 s. o/ G2 n" i, K
  2022. ; Most users should not specify a value for this directive as PHP will! \6 \7 [+ s# f5 ?2 V
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    + i) M' q' O5 G; o1 S: j0 O' R& @
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    * _$ G( C" M0 `, H; l9 n
  2025. ; SSL stream context option.
    ) ^- w0 C6 }9 [# Y
  2026. ;openssl.capath=
    . Q- {) H( o+ c* u! K# e0 [

  2027.   U5 J4 D# s0 h$ Z1 q
  2028. ; Local Variables:
    + y. ?( L7 C8 F+ J6 o. j
  2029. ; tab-width: 4; i! L& \' f3 J$ @0 S, u! A
  2030. ; End:3 d$ _: c: F  F4 E! |

  2031. ) F6 {7 t. p7 G; G8 u
  2032. ;eaccelerator0 h, [/ b# l" v$ q9 v4 A6 Y
  2033. ) y( \5 ]. {- I9 l
  2034. ;ionCube
    + S  \9 {, N* `7 }: `% T

  2035. 8 T0 ]# U! J' a/ G5 ^
  2036. ;opcache
    ( ~# Z% L* o; k+ i5 S
  2037. ! Y. G1 Q1 [8 t/ G/ ~' X( K
  2038. [Zend ZendGuard Loader]
    9 g: v* h/ U8 \+ e3 u5 W
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    / t* D2 q; L4 S* P
  2040. zend_loader.enable=1
    " J8 W0 ?! j. i0 {3 S6 G
  2041. zend_loader.disable_licensing=0
    6 L( I0 B& B+ w+ ^
  2042. zend_loader.obfuscation_level_support=3
    2 b/ l- F8 y8 G" @& |5 _9 j) n
  2043. zend_loader.license_path=. X/ C! Z8 X4 i% `7 o

  2044. 4 h7 z' s9 N% z0 @& @; q
  2045. ;xcache
    9 y* o, P3 b2 n4 L' z# W: s

  2046.   H' n0 r1 ?' a0 y7 j8 q' e
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
4 F+ d* ^0 k8 E9 H1 E$ p, K$ @2 Q" E  Z) I8 a
9 J* C; D) h# G# Y
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
& W$ `4 u# k% N8 |0 e+ f
! _  a* _1 }, h6 L( |Discuz!程序版本选择:3 E7 \( J+ G8 o3 s2 c" T
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,) O/ j5 K( x' p  \+ q1 J
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
% X7 @% a% ?) \- v2 {: _2 WDiscuz!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。# X7 @" |; e3 \: K- z& L2 ?

4 ?8 P1 u0 l1 A0 m/ }  HDiscuz!插件模板版本选择:0 h3 o9 I- i; X% H1 n/ e3 ]
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
3 |% [& c5 U/ {. O7 O( j. L针对这个问题做个统一的普及:
# ]8 \! m# A$ ]4 D! `8 @7 dX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。/ B7 s! k9 B/ Y( p+ k% ~& g) E
0 V$ A9 |1 [) e9 o$ {9 {1 j6 r
所以
- \* f4 h1 K+ O  g$ G适合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的二级域名。
' Y6 A3 V$ \7 k" [4 W6 |# |* b) x; ]打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。' K0 m+ R. `9 B
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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