分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
) b3 H7 Z+ `* G; Q' t! T6 I; [: ~' j$ r7 b5 \7 O( I6 h
  1. [PHP]* C  u5 K7 Y# g7 g. L7 k

  2. $ G1 ]  A$ ~1 M
  3. ;;;;;;;;;;;;;;;;;;;
    , r$ x8 }! T& I* O# N
  4. ; About php.ini   ;
    $ o5 n: t! U3 f$ y
  5. ;;;;;;;;;;;;;;;;;;;' \- g; J- @, [3 Q
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ) Z0 I5 S  N: e' n* X. v
  7. ; configuring many of the aspects of PHP's behavior.
    8 d: Y( ~2 o$ [% @, \: [1 R3 V
  8. ! ]3 V" X9 T& A. u9 F4 L4 p) I0 B
  9. ; PHP attempts to find and load this configuration from a number of locations.
    # [6 z$ k* o$ A/ ?" d, n2 }
  10. ; The following is a summary of its search order:
    - }0 Q: d6 \2 B( |( A6 t
  11. ; 1. SAPI module specific location.
    ; l3 M7 e" D6 ^1 F* l  b, T
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    - o* m+ ]. |% I7 k5 Q' H/ f
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)' J- R' O/ d, L$ }
  14. ; 4. Current working directory (except CLI)
    / Q9 x" w4 e1 y' s' W
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ( Z* r2 s. r( V" q) m0 X) ^& S  L
  16. ; (otherwise in Windows)2 P# H% _+ {7 k' ]! Y1 I
  17. ; 6. The directory from the --with-config-file-path compile time option, or the" `; ?7 Y. p" S+ X) ]
  18. ; Windows directory (C:\windows or C:\winnt)
    + w! l0 n' a3 q7 }
  19. ; See the PHP docs for more specific information.
    ( P$ Q$ B! R# x1 y0 X
  20. ; http://php.net/configuration.file9 ?: A8 A( c* }3 u! Q1 ?5 s  q
  21. , r) {& {5 z0 H7 n0 I
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    # N! b& i+ h# V/ v) ?# G! G
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).- Z( {' v( N5 _8 G% c; M8 b9 h+ e
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    2 S! j9 v0 i6 A5 ?" s
  25. ; they might mean something in the future.
    1 h8 P2 Z# }& J2 p- P* F$ Y: P

  26. 5 ~* L8 B- G0 O1 B0 k4 |& w
  27. ; Directives following the section heading [PATH=/www/mysite] only, \/ n/ M% N; ]2 |+ |& d% k9 X
  28. ; apply to PHP files in the /www/mysite directory.  Directives/ X$ |" p( o$ {; i2 q7 c
  29. ; following the section heading [HOST=www.example.com] only apply to
    ' z1 b- E4 Y- s& f( W  a$ b
  30. ; PHP files served from www.example.com.  Directives set in these; @' p. d& h9 s8 |
  31. ; special sections cannot be overridden by user-defined INI files or8 F# H  V3 ^( y0 Y+ @: d9 T( H% E! K
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under7 _9 }' A7 P9 s
  33. ; CGI/FastCGI.
    " Y, o1 F- |* [/ n
  34. ; http://php.net/ini.sections
    4 ~: @3 P4 n( v6 H9 z

  35. , m" L5 E4 y" A- M
  36. ; Directives are specified using the following syntax:: m3 k  l% H0 m+ d" b+ f& y. R
  37. ; directive = value. f) `/ z' h: t6 S
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.) s2 B, ]$ j; B
  39. ; Directives are variables used to configure PHP or PHP extensions.
    : m% O* I& t4 {& ]9 g
  40. ; There is no name validation.  If PHP can't find an expected
    " i6 ?9 ]. q) m
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ) x& ^- N4 Y' w7 ~" d
  42. . ]+ V+ T  H; [" ~' q6 y5 c
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    2 q# `% n- N, q" U* J
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression$ }3 p! g! U1 G1 Q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    & O) V% `7 y+ m8 K/ j2 \( E8 F
  46. ; previously set variable or directive (e.g. ${foo})
    8 B! ]2 E7 `3 O& t* X& A2 ^/ X) ^' m
  47. ) v, F2 Q3 Z9 g, o
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    + [3 N! G9 l% j8 z
  49. ; |  bitwise OR9 D! b( Y2 a- u6 m
  50. ; ^  bitwise XOR
    9 Z; ]; G/ L: ]/ v' g
  51. ; &  bitwise AND: I. y& _2 b" S( s3 U+ D2 d
  52. ; ~  bitwise NOT- \& n; ]9 v. R: n
  53. ; !  boolean NOT; F5 M9 w2 `( w  `
  54. ' S, X$ T% A# @% c6 o
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.' J, Z) p7 Q9 U& c
  56. ; They can be turned off using the values 0, Off, False or No.
    * w# d4 x# t. F6 ~7 `2 `( m' \
  57. 9 p& W/ {) X1 s" t  i8 e/ I$ D5 Z
  58. ; An empty string can be denoted by simply not writing anything after the equal
    9 T0 M/ O* ]* m+ W
  59. ; sign, or by using the None keyword:
    / y: b3 ]" t7 ]# b/ o5 G" D8 M

  60. / `) ]* F3 C  z' Y
  61. ;  foo =         ; sets foo to an empty string
    : q) D3 l% D, g
  62. ;  foo = None    ; sets foo to an empty string0 t- Q0 _" i1 G8 l2 g
  63. ;  foo = "None"  ; sets foo to the string 'None'1 w2 ^. y# S* a, x9 N
  64. ' T/ [3 C3 ~- J- Q8 [3 s
  65. ; If you use constants in your value, and these constants belong to a
    9 a2 N( A# R4 f1 E
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
      V# s8 v1 o3 Y+ W+ j
  67. ; you may only use these constants *after* the line that loads the extension.9 Q5 M. [# r9 \# e# `
  68. ( n) V8 M5 j4 Q
  69. ;;;;;;;;;;;;;;;;;;;
    # ]6 \+ z4 I9 d* s) ?
  70. ; About this file ;
    ; P+ J* `  w( c# W
  71. ;;;;;;;;;;;;;;;;;;;
    # i( U3 v5 `3 |# }
  72. ; PHP comes packaged with two INI files. One that is recommended to be used$ F1 z: C3 A5 S, h9 J
  73. ; in production environments and one that is recommended to be used in" Y% k6 @/ ^8 G, b2 Q7 Y" r! I
  74. ; development environments.
    ' M5 p; F2 l: O. r( p5 [( I( r: p

  75. * p/ ~2 k* N$ L/ e. A
  76. ; php.ini-production contains settings which hold security, performance and
    * d& S9 O7 Q3 w( ]
  77. ; best practices at its core. But please be aware, these settings may break4 q5 {# I8 C- M. w
  78. ; compatibility with older or less security conscience applications. We
    7 s$ [' ?1 ]4 z
  79. ; recommending using the production ini in production and testing environments.
    1 r: w' T* a) n( _2 I4 M
  80. , D% U, s' W4 @2 p
  81. ; php.ini-development is very similar to its production variant, except it is# n" h. p& o8 P8 }+ e8 i
  82. ; much more verbose when it comes to errors. We recommend using the  |5 o& i0 f2 [5 E( D
  83. ; development version only in development environments, as errors shown to
      Y+ N' n5 d- y8 T* u
  84. ; application users can inadvertently leak otherwise secure information.; a0 q, [" G1 i- ]
  85. " w+ i" M2 c" _/ d
  86. ; This is php.ini-production INI file.  t, }* D# C( M4 g/ m8 B6 W' P. C

  87. ' N/ m( }5 a" w7 K
  88. ;;;;;;;;;;;;;;;;;;;( l8 z- _. ]9 Y( J' r1 \
  89. ; Quick Reference ;% M: u# r8 }: p; M4 w$ M
  90. ;;;;;;;;;;;;;;;;;;;" e9 G) H/ b0 V( z
  91. ; The following are all the settings which are different in either the production- g, ], B$ J; p$ ~+ H
  92. ; or development versions of the INIs with respect to PHP's default behavior.7 l% m& w  O0 t6 d4 H8 y- v1 E
  93. ; Please see the actual settings later in the document for more details as to why
    ; |: G: l  `" e6 a9 [' K
  94. ; we recommend these changes in PHP's behavior.5 q. X: @$ [- C

  95. ; Q9 B) L' I4 u
  96. ; display_errors
    ) D5 N( V. l- {3 e( q: G+ M/ [
  97. ;   Default Value: On
      V* v7 c3 T. C8 [
  98. ;   Development Value: On
    , T- a, E. I! p, k; a' t
  99. ;   Production Value: Off! V* N. M2 C7 V, m

  100. 7 L7 |% d$ C; R/ q7 Y  `# f, f
  101. ; display_startup_errors' O3 D$ |$ D( M* u5 O9 |+ H* K
  102. ;   Default Value: Off
    8 X- ]1 K* Q. V3 b4 Q- u1 p" J
  103. ;   Development Value: On& B* D0 r% c7 R5 z8 g0 v
  104. ;   Production Value: Off
    ) v# P8 _3 H; J2 T
  105. 1 b$ Y) s1 ?- J8 n) m' [
  106. ; error_reporting0 J+ k5 l2 r% A- B) m4 [) C1 M
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    * U" l+ Y9 ?; x
  108. ;   Development Value: E_ALL/ v( J% ]% j' _: K6 [6 L
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    . {4 s3 t, \, x. A1 o

  110. 2 k! l4 z% X* C  m# ]: T# L4 V: j
  111. ; html_errors1 Z; d% R; m/ n1 L# N
  112. ;   Default Value: On
    $ Y  y5 J. H% X/ U$ S
  113. ;   Development Value: On5 W' D5 x+ o; o# [4 E) Y
  114. ;   Production value: On1 f9 r+ T: m5 h! ^: X6 R
  115. ( ^# Q8 \6 @% E& w* A) E
  116. ; log_errors' X5 g" W+ {" Y' W8 u
  117. ;   Default Value: Off
    ( _, t( @2 K! ^
  118. ;   Development Value: On
    ; t: d6 \! v. l1 O/ m8 f7 u
  119. ;   Production Value: On4 g' h* X" T4 ^2 i

  120. ( z) |6 C# _+ u% F6 H5 c. Q/ M: _
  121. ; max_input_time
    - j' k8 E6 C5 Q, J
  122. ;   Default Value: -1 (Unlimited)1 v; i) S) {. v$ V
  123. ;   Development Value: 60 (60 seconds)& U( z# N7 x# n. f8 v5 g
  124. ;   Production Value: 60 (60 seconds)
    5 y$ }, T1 p$ y' I1 H

  125. : s, @5 M* v* m, b7 h
  126. ; output_buffering5 Y4 }, V# {; I. |' l
  127. ;   Default Value: Off
    ( j( p* C  n& n5 G) w- o
  128. ;   Development Value: 4096" @- b9 `. Z; V: \9 z4 G
  129. ;   Production Value: 4096
    8 h! W. x5 T0 S! q  x

  130. + T; G5 M) C  ?1 F( I
  131. ; register_argc_argv
    $ P0 `/ q! t5 Y% Z0 ^+ o1 }
  132. ;   Default Value: On. Z) _' y; m2 M* B7 ?; i1 r6 F
  133. ;   Development Value: Off; k: l: U/ n, ?3 O9 N7 h
  134. ;   Production Value: Off+ {$ L* E( H/ n. c6 b$ N

  135. ( C% u- t" f* ^6 p
  136. ; request_order
    7 U, h; Q- n3 R# |
  137. ;   Default Value: None
    + X3 R* O* y; R5 [2 o! o. m) ]( C: t
  138. ;   Development Value: "GP"
    ' K: B2 @8 [# r( }
  139. ;   Production Value: "GP"; p; ?3 @# c& T: F8 _; J% x$ I

  140. + C% g9 C6 _, Y  l* l
  141. ; session.gc_divisor
    ! E0 O% f- u4 A" k+ [( S
  142. ;   Default Value: 100" S( d1 ?& v$ R7 G" N& Q& e; d3 D
  143. ;   Development Value: 1000; T6 C8 h6 j8 N# m. U; `
  144. ;   Production Value: 1000
    ! Q& b, q& G0 ^7 _4 U
  145. ; k& J' V8 x0 f
  146. ; session.hash_bits_per_character
    / Y' E/ t* r2 b# ~/ N! d
  147. ;   Default Value: 42 E7 J) K1 ]- E" \
  148. ;   Development Value: 5* i. v$ g+ i1 E7 w% N! C  `
  149. ;   Production Value: 5. t5 G, x9 }6 d4 |" o- S

  150. ; s* l& P4 F7 H& A
  151. ; short_open_tag8 I: R( ^( d) ?; X1 _: p
  152. ;   Default Value: On
    1 h/ p3 A8 B1 H1 Z" l' x+ {
  153. ;   Development Value: Off. E& C( b0 b+ u! v3 p
  154. ;   Production Value: Off( X  [8 N9 x. l8 F7 E+ G+ T

  155. + z6 f  c) i: p1 }* D4 g
  156. ; track_errors) t, H$ b9 ~# R# J( V1 q; J
  157. ;   Default Value: Off6 U2 H+ b# P: ~1 L2 |% Z
  158. ;   Development Value: On- j$ ^) ^* l) F% M! \/ O1 i/ u
  159. ;   Production Value: Off8 ~# \: B4 [" v- ]5 j

  160. ( T7 U: y9 u+ p# T' B+ {
  161. ; url_rewriter.tags
    7 S# ^* m' t$ @8 n! V4 \6 @3 q) y- ]
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    0 `- \, g" C' t& k2 r8 _, c
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry") O$ h- p- w" Q/ T. M: f. ?
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" d7 g! R$ c/ |! u& ^2 I" L

  165. * s/ d8 E8 L. P3 D/ J# X
  166. ; variables_order2 G) N1 p' z1 t5 W5 f
  167. ;   Default Value: "EGPCS"
    + ]- D1 V% ~; T6 v+ ~; |
  168. ;   Development Value: "GPCS"$ _$ L0 |  t, g4 ?( _* t
  169. ;   Production Value: "GPCS"& z  U  j5 N7 L) v6 F8 s

  170.   A1 L2 s$ W$ U8 P/ o
  171. ;;;;;;;;;;;;;;;;;;;;# P2 t0 E( Q; G! a! a
  172. ; php.ini Options  ;* n- J( a' X6 P0 O0 C
  173. ;;;;;;;;;;;;;;;;;;;;
    ! A& ~! B; K$ A
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"; i9 D% W% j5 G/ p0 s
  175. ;user_ini.filename = ".user.ini"6 {# j, n3 Q5 `# w
  176. ( v8 \9 `6 b7 u
  177. ; To disable this feature set this option to empty value1 l, P& ^# W6 N8 E2 t* v
  178. ;user_ini.filename =: e+ ~; K" L% `7 X7 @9 h
  179. / p' E" F$ B1 E% ^8 ^
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)4 W* }; {: y' u, U' Z/ Z5 ?$ p
  181. ;user_ini.cache_ttl = 300
    9 I) X7 F+ |1 O& |! ^; d1 q! T# M/ c
  182. 6 l2 D& @- _. V# x) \
  183. ;;;;;;;;;;;;;;;;;;;;& S! i0 u: Q9 Q' [( K0 c7 f
  184. ; Language Options ;5 h# r# e2 ?2 H4 ]# v# Q
  185. ;;;;;;;;;;;;;;;;;;;;4 C7 Y6 [% A6 D: \

  186. / l/ p4 \2 t( Y1 T. i2 t
  187. ; Enable the PHP scripting language engine under Apache.
    0 o1 _, |7 c( w! X  q
  188. ; http://php.net/engine
    1 t- H# q. ]  v
  189. engine = On
    , k# S! j; ]0 k, J
  190. " H# }: D' m$ B, X  t
  191. ; This directive determines whether or not PHP will recognize code between6 J; W* w1 ?; p" O
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    3 u' n, }3 d) }$ `1 v2 }
  193. ; generally recommended that <?php and ?> should be used and that this feature  e( x& I' @" g1 j  U  \* y* C
  194. ; should be disabled, as enabling it may result in issues when generating XML
    0 M4 ], A& X) W2 o
  195. ; documents, however this remains supported for backward compatibility reasons.
    + j6 [4 l+ @7 J6 P  r
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    8 x0 g, Z! H. K3 W: @% |( O
  197. ; used regardless of this directive.
    7 R5 h9 X/ c5 d) ?2 X
  198. ; Default Value: On1 b$ x4 G2 ^9 P- ^/ Q
  199. ; Development Value: Off1 t  G) v0 o9 y4 l* e- [$ Z1 {
  200. ; Production Value: Off; g' s8 v, ]% S" _& p, c
  201. ; http://php.net/short-open-tag
    - a. |' G, p: l, b% X$ y
  202. short_open_tag = On5 D5 S0 B* J# G
  203. " u1 Z5 b5 ~' K- i3 E' B* P
  204. ; The number of significant digits displayed in floating point numbers.4 [8 A8 l5 ?. M2 h/ n4 F- q
  205. ; http://php.net/precision( ?* k" B! }8 }2 k5 [5 g; S) \' n
  206. precision = 14, C+ F& _% U* x! n+ Z* e8 t# _( u

  207. % t, i% [+ f0 y  m
  208. ; Output buffering is a mechanism for controlling how much output data
    / O5 k, s; _9 F$ u
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    1 X+ }" ?. A# E
  210. ; data to the client. If your application's output exceeds this setting, PHP; ^! \# t+ M5 q: h$ m/ m
  211. ; will send that data in chunks of roughly the size you specify.
    6 r* _' Q3 i0 r" y* i6 R  p. o, q
  212. ; Turning on this setting and managing its maximum buffer size can yield some% s  l  J/ x8 b9 |
  213. ; interesting side-effects depending on your application and web server.5 T1 Z4 D6 ], L9 O4 @5 A* D3 X
  214. ; You may be able to send headers and cookies after you've already sent output
    0 O% N! O% u! m0 s' L  i
  215. ; through print or echo. You also may see performance benefits if your server is9 Z) |. \' a6 p" j
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    . W6 v3 q/ b) u5 U" ]4 L5 e
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    + Q! C  S1 l8 o* _6 S
  218. ; reasons.- l: [' M9 c5 }$ ~. W) T
  219. ; Note: Output buffering can also be controlled via Output Buffering Control+ [0 |+ P; b  ~, p
  220. ;   functions.
    9 g' @. h1 T5 B9 `+ ~  {. M
  221. ; Possible Values:8 x! h: i- W: x! j7 D% c2 q
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    + ^$ x4 i! P3 u& ~: _4 M/ \" b% x
  223. ;   Off = Disabled
    7 w; T, P  }' l/ S( H
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.1 y; L2 b7 }+ D( t- _! Q
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI- v# M$ p; ^$ E
  226. ; Default Value: Off7 \; Y; e; e1 ^& e9 m7 G
  227. ; Development Value: 4096+ e1 u: s% X8 K+ O+ n3 Z
  228. ; Production Value: 40961 g7 u# j6 L0 j$ F+ U
  229. ; http://php.net/output-buffering
    # |8 R' C. Z, z" v; H7 l0 F6 }  K5 j
  230. output_buffering = 40967 k! ?6 C0 @5 h% M6 d
  231. 1 [; {1 O/ R! S9 S
  232. ; You can redirect all of the output of your scripts to a function.  For
    ) N) T3 K1 o) r
  233. ; example, if you set output_handler to "mb_output_handler", character
    , K( {3 ^* H8 Z4 [4 G% R
  234. ; encoding will be transparently converted to the specified encoding.
    ' k. H& v( T- ]5 g
  235. ; Setting any output handler automatically turns on output buffering.- _+ H% N, \0 ?: L' f" U, ?( ?
  236. ; Note: People who wrote portable scripts should not depend on this ini' X1 E# y/ l: i# m# K$ _) {
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    # H' q/ K  @# {9 Y
  238. ;   Using this ini directive may cause problems unless you know what script. L, f4 ~1 T1 W  a9 o
  239. ;   is doing.  p; L) k0 S, C8 Y0 H7 o  b
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler", _- ?% r' J4 N% j! G
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    6 Y7 y: Y; q( T1 K) r9 z
  242. ; Note: output_handler must be empty if this is set 'On' !!!!; n( E, Q1 V# V2 S
  243. ;   Instead you must use zlib.output_handler.* ]; i. D. s+ H9 w4 [
  244. ; http://php.net/output-handler
    9 A( C- z) A  g8 p. r
  245. ;output_handler =% u  H7 [. u2 x
  246. ) b  H$ ^4 d: O- w
  247. ; Transparent output compression using the zlib library/ f) T+ @; H4 e/ p
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    " ^% Q( A/ m9 j# u# g7 Y
  249. ; to be used for compression (default is 4KB); v$ t# ]: w  k! u5 A+ \4 p
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP3 F* o* @( m2 x( h
  251. ;   outputs chunks that are few hundreds bytes each as a result of) O& e0 n3 G+ H" [
  252. ;   compression. If you prefer a larger chunk size for better
    8 f: O7 e/ [( }4 h& G: L8 X
  253. ;   performance, enable output_buffering in addition., o; ^  \4 z5 D& s, N8 Q
  254. ; Note: You need to use zlib.output_handler instead of the standard
    4 K* i8 B; _. c% A$ Y
  255. ;   output_handler, or otherwise the output will be corrupted.+ a& E$ k9 y, f% O1 X* u
  256. ; http://php.net/zlib.output-compression
      c1 o4 t7 D' `& [
  257. zlib.output_compression = Off
    % U' ]( V, D# e3 K+ \. W: b
  258. - h) V6 x9 ]1 k
  259. ; http://php.net/zlib.output-compression-level4 e) [, |/ W  b! v" W& S/ O
  260. ;zlib.output_compression_level = -1
    : H+ t5 l$ r1 k5 h) |2 L" R

  261.   [7 O, g' _8 z
  262. ; You cannot specify additional output handlers if zlib.output_compression4 ]. e+ P" s" s) G# n6 t1 y2 n! }
  263. ; is activated here. This setting does the same as output_handler but in
    ; F: V# G: E- u0 i, j& v
  264. ; a different order.
    6 p3 f) }  ^1 G) ^8 @1 D7 A
  265. ; http://php.net/zlib.output-handler9 p3 o7 I% {" Z  y
  266. ;zlib.output_handler =7 D+ i: Y: Z! j3 I9 ^7 g/ w0 V# d

  267. % l5 r4 H0 c4 s  U, J1 f& @
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    1 D+ ^7 k3 a* c
  269. ; automatically after every output block.  This is equivalent to calling the( q1 M5 N) B: d  ]1 I- {
  270. ; PHP function flush() after each and every call to print() or echo() and each3 s* e" \1 J( U" y+ f- `
  271. ; and every HTML block.  Turning this option on has serious performance
    ' I) G2 F; D5 k( b! P
  272. ; implications and is generally recommended for debugging purposes only.. t1 R5 v! l: l5 Y- U4 A
  273. ; http://php.net/implicit-flush- g& j/ ^5 U+ ^( I3 o
  274. ; Note: This directive is hardcoded to On for the CLI SAPI" \; `! k/ s' p* A: `
  275. implicit_flush = Off  q- b; }; M$ x) t

  276.   Z1 d, o0 l- p8 I) H8 c, A" I
  277. ; The unserialize callback function will be called (with the undefined class'' f, Q$ d0 n% o# k
  278. ; name as parameter), if the unserializer finds an undefined class
      e3 |5 d- H( r4 \
  279. ; which should be instantiated. A warning appears if the specified function is* u' ?0 X3 ~3 M  V% f3 X, M3 C# {3 \
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ; P) J( j+ ]0 u7 N& y; A- ^4 y7 v$ p
  281. ; So only set this entry, if you really want to implement such a
    # }$ p/ Y) R' P6 E
  282. ; callback-function.
    8 U' Q4 t" k0 P
  283. unserialize_callback_func =
    # c2 A$ x" n& }: `( |  `2 `
  284. ! L! o6 ~* c4 i* N: W7 W1 ^8 s
  285. ; When floats & doubles are serialized store serialize_precision significant
    + x, k. r8 O3 F
  286. ; digits after the floating point. The default value ensures that when floats
    1 v3 I( A5 N2 M7 j; \- c0 g( [, Z7 V5 a
  287. ; are decoded with unserialize, the data will remain the same.) k& q- [6 C7 A( Q% f! H
  288. serialize_precision = 17
    . o# H) |: S( T3 U8 o% Q/ u1 x

  289. 9 J/ h% h* o; P2 ^8 R
  290. ; open_basedir, if set, limits all file operations to the defined directory
    $ ^4 n& H6 v1 L& O& a
  291. ; and below.  This directive makes most sense if used in a per-directory6 }# Q4 O# e  X$ {: m" B. b) {
  292. ; or per-virtualhost web server configuration file." r$ \2 n0 e8 b' t/ {7 t7 F
  293. ; http://php.net/open-basedir2 s+ v0 N' g7 ?, h1 ^6 h
  294. ;open_basedir =
    6 A( H3 |' l% k& m0 R

  295. * D3 Y* z& O( f( U8 g/ T
  296. ; This directive allows you to disable certain functions for security reasons.
    5 f" A  _% k# u& B
  297. ; It receives a comma-delimited list of function names.5 R8 ]4 b5 P( V
  298. ; http://php.net/disable-functions0 A6 |$ j& C, S8 l1 R- U$ P
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru" I, `# v1 A: N& i* H) O

  300. - s$ A" x9 x! e6 ^
  301. ; This directive allows you to disable certain classes for security reasons.; y( M  D4 \+ ^% [# m! P: H) E! E$ R
  302. ; It receives a comma-delimited list of class names.! r' ?! C. \* c: Q( p/ J% n
  303. ; http://php.net/disable-classes9 H7 M9 S# K. J0 E" g' R1 e: ?- K& I
  304. disable_classes =
    $ A) C! o. }- m2 U$ o' }9 \9 Y

  305. $ e+ Z" j! r9 a7 n+ M
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    . @7 f- K5 l, ]. o/ f
  307. ; <span style="color: ???????"> would work.0 k& R& }# x) Z/ z6 U. W4 `% j
  308. ; http://php.net/syntax-highlighting  z5 z( Q/ m( f+ u: K
  309. ;highlight.string  = #DD0000# i( d! o6 P3 @  b1 ^1 u9 A
  310. ;highlight.comment = #FF9900
    + H( }- s1 Y3 p
  311. ;highlight.keyword = #007700
    * f& C! J6 A) i# `4 V  |* h
  312. ;highlight.default = #0000BB! Q# R/ j: B0 J6 G
  313. ;highlight.html    = #000000
    ) @; J6 O0 P: c$ G! S8 z  J2 }7 b4 V

  314. 8 Q( Z  U  {2 }# [2 D  L
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    7 F$ D1 c* T" ^+ Q  h" t+ ~
  316. ; the request. Consider enabling it if executing long requests, which may end up! x" b9 r! J& n; d; `
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    0 C. h4 i- G' l1 T! \
  318. ; is to disable this feature.- Y3 M7 E7 X% g5 |8 e% X* r0 v
  319. ; http://php.net/ignore-user-abort) Q+ g+ [- ~$ A, [2 p' t& c3 k
  320. ;ignore_user_abort = On
    % G; K3 r7 T0 Y! c2 b6 y, x

  321. ; W7 u( K$ e  \! B
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    8 a8 G" a8 I2 {
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    3 H$ e; o- J3 w! w6 }2 N$ C$ ?
  324. ; the file operations performed.
    8 I/ {$ s8 J) P
  325. ; http://php.net/realpath-cache-size5 v4 ^1 M% I5 ~- d2 y' F2 z
  326. ;realpath_cache_size = 4096k8 o2 `; S& C, K
  327. 1 C+ h; ?5 G: u2 q1 N  t
  328. ; Duration of time, in seconds for which to cache realpath information for a given/ c* c5 Y/ d- Q
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    ) L$ V1 e' W/ n6 l3 i% k0 M
  330. ; value.
    $ W  }# W; |  B" R- O
  331. ; http://php.net/realpath-cache-ttl
    2 {% i1 s3 W& B% ~0 P2 ~/ L: [
  332. ;realpath_cache_ttl = 120$ R' g. F3 J+ o  y* ]# P
  333. 5 l; d. p& s6 X+ c9 }- L
  334. ; Enables or disables the circular reference collector.
    % w- v' Y5 k+ Y" @5 M
  335. ; http://php.net/zend.enable-gc  l. a' R/ f/ E! I! J  Y5 p/ F  F, [* H
  336. zend.enable_gc = On+ X4 f2 ?) A( q; ~  |& k$ O5 B
  337. ! M" L1 x2 k. R- l' ]
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ! I, U1 S2 t6 K5 P/ {) s$ c
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    9 w4 m" R, y$ M! [
  340. ; encodings.  To use this feature, mbstring extension must be enabled.$ _: Q9 W% N+ H- Z, l2 C) `
  341. ; Default: Off
    ) I* U, k7 h" W# ^# w+ R
  342. ;zend.multibyte = Off  [7 n: U6 Q; H" D% G, y

  343. . P! G! b' p; V8 P
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    , S; Y* C# g: ?
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    % ]! h+ r, C- ~$ ?7 S, L+ a; r
  346. ; Only affects if zend.multibyte is set.' X* o  m5 x/ p) C6 A6 ], @( C
  347. ; Default: ""
    4 _. B, K$ K7 E; P; Z
  348. ;zend.script_encoding =
    $ s& ]6 a& n+ A" ^" l6 Q1 y" S* `' ^
  349. 8 i* H! B2 v1 }% B
  350. ;;;;;;;;;;;;;;;;;& h+ |7 ]+ F! @9 j: d- A
  351. ; Miscellaneous ;4 Z& B, y/ F# K8 t* E# n: m$ P, c$ Z
  352. ;;;;;;;;;;;;;;;;;( r9 o8 G( E0 l  o0 I$ N
  353. " C5 B7 F5 q4 w' [0 U6 f7 f5 @
  354. ; Decides whether PHP may expose the fact that it is installed on the server8 D& s- U; R7 f3 C* Z
  355. ; (e.g. by adding its signature to the Web server header).  It is no security& J5 a# y! G( d
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    1 h) ~0 r! q' L# ~
  357. ; on your server or not.
    5 C: E! k. T% g, b  Y# h
  358. ; http://php.net/expose-php$ D- L5 o. Z: m# s1 {
  359. expose_php = On
    9 `0 w) E0 N! I: v3 Q& w1 {

  360. 0 v/ V8 `0 e8 u' b' `( f
  361. ;;;;;;;;;;;;;;;;;;;
    - l4 Y# I/ D9 K- L& x* C
  362. ; Resource Limits ;1 r0 D  S0 p/ x& _6 Y8 S) \) I6 M
  363. ;;;;;;;;;;;;;;;;;;;  \9 Q; e3 P; d8 z! O( F' v

  364. % c  `& {; I  z
  365. ; Maximum execution time of each script, in seconds
    & y: ?3 m% Y; w( S, f3 z; Y& Y
  366. ; http://php.net/max-execution-time" N, f, N1 S, b' F9 k* O
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI1 R( c/ A4 q+ `
  368. max_execution_time = 3000 B8 A1 b' z. e# l: x2 A- Q
  369. / n" F9 r1 z7 Z8 T* l
  370. ; Maximum amount of time each script may spend parsing request data. It's a good0 ]' W) m: A% n* v
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly0 l- I# O4 {+ o% C+ s1 O2 L5 H
  372. ; long running scripts.) e4 P( U; H' n0 v! z8 O
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI2 [! q  B* U; f' d; {; i0 D
  374. ; Default Value: -1 (Unlimited)
    % r* \7 Q: _0 S/ O! v+ o9 c1 H
  375. ; Development Value: 60 (60 seconds)( M# S* Z) n- j, ]. k
  376. ; Production Value: 60 (60 seconds)
    - X! t0 }9 C5 I; ~3 w
  377. ; http://php.net/max-input-time
    " L" X- N* Y# e) C  b- B
  378. max_input_time = 60' l  M* f8 }$ {4 N; g
  379. ! R* B. e$ @1 I8 [; {  k! b
  380. ; Maximum input variable nesting level
    7 n" W4 E  o4 f1 ?
  381. ; http://php.net/max-input-nesting-level
    1 ]1 l, d* B( z0 S7 X4 A" _& R
  382. ;max_input_nesting_level = 64( ^0 I* J7 c4 ^+ O
  383. ! g, j3 V8 C+ u, b7 s
  384. ; How many GET/POST/COOKIE input variables may be accepted
    7 p; v; `8 ?. Y6 f& f* f% `
  385. ; max_input_vars = 10009 w% ~6 h+ z* X- o/ b0 Z

  386. 5 _; s4 M! r9 @: V
  387. ; Maximum amount of memory a script may consume (128MB); R  L  X- f0 `2 n; u4 i
  388. ; http://php.net/memory-limit& W% I* _0 c" X2 P3 W5 V6 M4 j
  389. memory_limit = 128M5 S( N+ g1 z9 r
  390. / B% f$ D1 U4 `) b
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2 y7 N3 T1 `1 n: j
  392. ; Error handling and logging ;7 Q/ k* _( g2 O" R5 T1 x2 }
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1 H4 \0 N& R/ W- \9 l- j, W
  394. : O' k" s' U* R9 ~( m
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    # Q( ~, E& e$ b
  396. ; it to take action for. The recommended way of setting values for this
    ! m! V4 s$ s# h$ B
  397. ; directive is through the use of the error level constants and bitwise
    : \& @/ o9 i6 H0 e# B/ M
  398. ; operators. The error level constants are below here for convenience as well as
    ( q! F+ f- Q" \9 [3 v6 R9 H. b1 _
  399. ; some common settings and their meanings.
    * s" U- \0 M- D7 O5 P
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT! y6 Q4 _/ N) C# G! a
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ; T! D% h  Y/ u. r4 S" z
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    ! e+ U2 u' M8 t
  403. ; recommend error reporting setting. Your production server shouldn't be wasting9 i5 J+ m+ J4 l* g
  404. ; resources complaining about best practices and coding standards. That's what
    " u# T1 s# q9 F0 \8 d# L$ m  r
  405. ; development servers and development settings are for.
    : m6 @& m' r7 e' P  i. B
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    9 Q; c- |2 \% D0 p. |) k4 ^! X
  407. ; means it pretty much reports everything which is exactly what you want during
    + G7 ?! r# l' b6 Y% L1 m
  408. ; development and early testing.
    ; _$ Q, O; |2 \0 Z
  409. ;
    7 i5 ?9 ?3 x! ~5 t5 C
  410. ; Error Level Constants:& J2 [2 K, g1 N5 i, c3 }0 o7 F
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    3 w! r7 Z; x, \7 J1 |! m. y3 g
  412. ; E_ERROR           - fatal run-time errors
    4 R8 v4 [3 }. ^# P
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors% f8 G8 f( U; m. z% L
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    7 }  `. a1 I2 @- ^- h) c
  415. ; E_PARSE           - compile-time parse errors
    " I* o; o9 N$ i# e$ `
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    . `& O3 T& T3 d8 Y0 W% F9 X
  417. ;                     from a bug in your code, but it's possible that it was3 D3 Q8 f4 o( }4 k% p) X& f
  418. ;                     intentional (e.g., using an uninitialized variable and
    / z2 l  z) }/ v9 X+ x
  419. ;                     relying on the fact it is automatically initialized to an8 I; f  ?/ r5 P, Y
  420. ;                     empty string)
    3 ~4 i. r) W2 D$ x- A: L" k
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    6 |) Z3 B& I: Y  e9 i9 V2 Z
  422. ;                     to your code which will ensure the best interoperability0 s8 n9 u. ?* ~, `8 w
  423. ;                     and forward compatibility of your code
    ; c" ~2 E) ^- x% H( c# p5 V* j
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    7 P" G4 |: k8 W8 [1 ~
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    5 F6 ^# ?& v% r* ~  O: c  M% K
  426. ;                     initial startup* U5 I* T; A* K9 n0 V0 Y! ^
  427. ; E_COMPILE_ERROR   - fatal compile-time errors( u1 `0 _+ ]6 @5 i- O
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
      A; Y; z- A8 |" ?" H
  429. ; E_USER_ERROR      - user-generated error message
    * ?0 |* b0 h. v! ^0 i# w8 Z
  430. ; E_USER_WARNING    - user-generated warning message
    ; N4 h4 K, }5 p; u9 d
  431. ; E_USER_NOTICE     - user-generated notice message; @$ m8 f, j  ?- h% H- e; i3 x+ f
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    1 L" ]6 r! f/ Y- m5 C# z) X2 e
  433. ;                     of PHP; r" I6 `) c/ D, `; Y# j% X$ ^; A
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings7 b# I- [: I8 E! O8 F1 T7 C2 S1 u2 L+ A
  435. ;
    9 H$ k' M- V6 Y) ]+ {4 [- C  R* Y( Y4 P
  436. ; Common Values:% i& \+ L+ \- Q4 y: v
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.). l2 o- [0 Z/ h: \' q
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)3 J; u! G7 ^( T
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    7 b0 ~, g: Z+ H4 p7 T! Y
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ( X* N6 E( E4 E9 a# `) c5 m
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED: y% Y4 q  }- `4 Y. A* o
  442. ; Development Value: E_ALL
    + ]; @5 {( p+ @; A0 |; C3 H/ I
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    8 g6 Y8 |1 G5 Z  U5 g7 e
  444. ; http://php.net/error-reporting9 q) T% g$ p% Q" b! }
  445. error_reporting = E_ALL & ~E_NOTICE! a8 C5 v* j- o+ `  ?2 D0 M
  446. # v) `/ D! O, b. x) N* R: `
  447. ; This directive controls whether or not and where PHP will output errors,
      Y; |3 `2 P, P8 ~. f
  448. ; notices and warnings too. Error output is very useful during development, but
    6 X/ s- `* A% z$ |( H
  449. ; it could be very dangerous in production environments. Depending on the code
    , w: c. A; _8 }- S, U
  450. ; which is triggering the error, sensitive information could potentially leak; G/ ]1 a/ c5 w5 n. n
  451. ; out of your application such as database usernames and passwords or worse.0 c/ q% ~1 X( q/ o" L8 R: \
  452. ; For production environments, we recommend logging errors rather than1 J! D  P5 z+ j! Q+ |: d
  453. ; sending them to STDOUT.! ~  _2 B* Z6 E
  454. ; Possible Values:8 w* q4 l2 A" ~8 m+ Z0 O9 k
  455. ;   Off = Do not display any errors$ c/ {4 ?& q/ q6 e5 |
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    $ p( c( u( Q0 Q& i2 V
  457. ;   On or stdout = Display errors to STDOUT; m# x: z5 `( e- \. Y1 y: |2 d
  458. ; Default Value: On
    % n) R* ]" V) \$ m5 l2 v3 e
  459. ; Development Value: On
    2 j* v" H6 v  `2 w
  460. ; Production Value: Off* O3 T  L: F; e' W
  461. ; http://php.net/display-errors
    , q: o: H5 H  S
  462. display_errors = On- Z& ?6 I; \" F2 ]

  463. . `7 x; w- V& R5 f6 U
  464. ; The display of errors which occur during PHP's startup sequence are handled
    7 x& s0 S" ]$ @" @2 J" I
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    % I! B* U, f$ p& G# b
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    6 v# a2 F# E& ^/ o- F: O
  467. ; debugging configuration problems. We strongly recommend you  q6 I: ?5 a" m5 S& C$ E
  468. ; set this to 'off' for production servers.' X1 s# X6 ~$ t9 l" e0 Q& ?
  469. ; Default Value: Off- c& V3 B6 o* D
  470. ; Development Value: On
    . U. n1 T! f2 u0 F
  471. ; Production Value: Off3 Q# s3 E  U% ?4 U$ L) N
  472. ; http://php.net/display-startup-errors' v( O5 X, |( Z- O/ S+ J: B: d
  473. display_startup_errors = Off
    + s& I) B6 y7 _7 f1 T) \
  474. : ]# D% d8 L8 d0 d  x* d. p! ?
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    8 Y& m# ]( P* t/ v/ e* d( [" V& n
  476. ; server-specific log, STDERR, or a location specified by the error_log
    % e+ [9 o3 z' t4 E+ ~; y- M% ?
  477. ; directive found below. While errors should not be displayed on productions
    , A( s" z: H& v: Q. j3 n! l& Y7 u( x
  478. ; servers they should still be monitored and logging is a great way to do that.
    " o! k2 ]( z( n0 K" @
  479. ; Default Value: Off
    * i/ v+ |( ?) v3 X' k: K
  480. ; Development Value: On
    , n% J5 v% n4 h- v* J6 f
  481. ; Production Value: On( a4 M6 v; F7 X/ l8 S; K: b7 S) V9 X
  482. ; http://php.net/log-errors  q& k8 h/ T1 r; ^
  483. log_errors = On
    0 l; k; d2 Y' `( I- N; U  Q

  484. ; f8 z* ?* ?, i+ m7 \
  485. ; Set maximum length of log_errors. In error_log information about the source is
    & Q8 ]7 y( `' o/ d
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    7 c) d- J& P) ~0 i2 J
  487. ; http://php.net/log-errors-max-len
    , s" f& F7 l: s
  488. log_errors_max_len = 1024
    0 Y% U  g; f- X
  489. . K- i5 `( G* \! ~
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same; ?) p. C1 W/ m. \) b3 `  e  v/ q% \
  491. ; line unless ignore_repeated_source is set true.
    % V0 A: D% N" c  e' B7 V8 g3 [
  492. ; http://php.net/ignore-repeated-errors, b# G  t) {( b
  493. ignore_repeated_errors = Off
    1 B' T9 Q# v2 b2 D
  494. ' {6 ^5 ]% Q5 N2 {7 r! y" B
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    2 [: T% r$ Q# z  O7 s) h
  496. ; is On you will not log errors with repeated messages from different files or
    ( `3 X) f& n% s8 q. u
  497. ; source lines.. P$ ]* N, J. t% s
  498. ; http://php.net/ignore-repeated-source
    * _8 ?9 Y5 y) A1 [( @
  499. ignore_repeated_source = Off
    / |* j: Z" b  h3 C  S' o
  500. 5 C  `$ l) R) w) c) w
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on& B* ~, s" b) W
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    , n- E% z2 @2 k$ f" M. s5 S
  503. ; error reporting includes E_WARNING in the allowed list
    & b4 P/ c' I6 m* _8 {, I
  504. ; http://php.net/report-memleaks$ n" o* O! h5 }0 N$ F# Q3 W# Q9 z
  505. report_memleaks = On8 Z. @' E. ]. R$ W" T0 T% Y
  506. 8 W& m2 e) v; n
  507. ; This setting is on by default.
    9 N6 s' j: }7 d! e7 f
  508. ;report_zend_debug = 0
    3 [' s9 s4 d, ?! S2 D$ l

  509. - Y" l* a, P) g+ h) @
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value7 t' F- i' F* L
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    0 ^. _1 H- L- B3 p
  512. ; however be disabled on production servers.0 D8 y" P7 W/ {! g2 P
  513. ; Default Value: Off  H3 N) u8 Y) R' [$ _4 Q7 O0 j
  514. ; Development Value: On9 s) n$ v/ A& n8 Z' A! L- B5 Y; H7 U
  515. ; Production Value: Off0 U; _4 `4 T9 x1 R# q
  516. ; http://php.net/track-errors8 Y. K- s$ W3 q4 n+ p0 S4 M
  517. track_errors = Off" ^/ L% S# @0 S- U4 L
  518. 9 `) P5 J+ u4 K# H
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ) Z' v. g8 f2 J' |+ k
  520. ; http://php.net/xmlrpc-errors
    4 b: U( O+ o2 ^5 D2 n+ {( v
  521. ;xmlrpc_errors = 0* ?  v  B2 }; I  ^

  522. ; \( P# u, ^1 u+ B
  523. ; An XML-RPC faultCode' f4 Y+ D" R3 I) `2 i. a+ Y
  524. ;xmlrpc_error_number = 0/ k5 U7 Y' z' X" A
  525. 3 U- _! \; U4 Y
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    0 \& _' k# ~; A* Y1 K7 k& G7 n
  527. ; error message as HTML for easier reading. This directive controls whether4 P4 U& T- S4 j# R6 k5 e, A
  528. ; the error message is formatted as HTML or not.# a% k2 Y0 B8 q* E
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI* r+ x1 @8 f8 P6 J1 V
  530. ; Default Value: On' q6 C/ T, ]+ _
  531. ; Development Value: On
    9 n, d' v  s4 V
  532. ; Production value: On1 D! ~. [" @' H9 v7 i/ |
  533. ; http://php.net/html-errors5 o% W2 K: b  D+ ^4 V3 w
  534. html_errors = On1 k( X8 J# c- u: g$ x

  535. " _5 f2 W. y5 W% a; z
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    8 @! n" s: a9 M; m9 {5 B5 U
  537. ; produces clickable error messages that direct to a page describing the error
    7 x* Y4 Q+ r* d4 M7 d
  538. ; or function causing the error in detail., v4 K  n0 G  d' R, p
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    % Z) v+ R- w0 O: \' s
  540. ; and change docref_root to the base URL of your local copy including the2 D$ z8 ^- Q  a
  541. ; leading '/'. You must also specify the file extension being used including
    ; S# g6 K( C, Q. B5 V( x
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    6 @4 y9 |. l8 o' e
  543. ; case no links to documentation are generated.
    ' X" ^( F. f$ u  `" _
  544. ; Note: Never use this feature for production boxes.5 H* L' G: b/ i  i$ ]4 K
  545. ; http://php.net/docref-root
    1 j3 I% a' K: q
  546. ; Examples
    9 g1 \3 I2 k1 t2 S# @' D
  547. ;docref_root = "/phpmanual/"
    ! {  e4 G9 D/ d% r
  548. " n4 o- \  B6 X" r
  549. ; http://php.net/docref-ext1 @6 b/ ~7 g4 r
  550. ;docref_ext = .html$ P' Q: Z7 a) v
  551. - }7 `& s! `1 O% ~1 }6 F: z
  552. ; String to output before an error message. PHP's default behavior is to leave
    - W  A- l: X) _- R; B( g9 W
  553. ; this setting blank.
    ) x- p) X% T, u/ C# C
  554. ; http://php.net/error-prepend-string4 F! }- u" K; y
  555. ; Example:
    . \+ g  |+ p9 m# @
  556. ;error_prepend_string = "<span style='color: #ff0000'>"9 H2 [% y. Q. S

  557. 1 D) @# o3 I+ }: m1 m- @' G
  558. ; String to output after an error message. PHP's default behavior is to leave
      P& J! O$ f: T2 V
  559. ; this setting blank.
    ' [9 @; z" c- v# y2 M
  560. ; http://php.net/error-append-string
    9 K. i8 n* x* G
  561. ; Example:# ~. C  B: R3 x+ h  k, k% C# G
  562. ;error_append_string = "</span>": T, _9 I3 C1 Q" i+ X
  563. 0 g, p+ I0 N7 g: \* @8 s
  564. ; Log errors to specified file. PHP's default behavior is to leave this value; F4 @5 @  C& v  M
  565. ; empty.! i" }( [3 j4 P2 r  K$ V' d
  566. ; http://php.net/error-log7 B) S/ R, d; @5 V8 J  ]! G
  567. ; Example:
    2 y  B2 O3 [5 H
  568. ;error_log = php_errors.log
    5 z. k' N& E9 b* y% A
  569. ; Log errors to syslog (Event Log on Windows).
    ) ^: q! |% S" r, M. }7 w3 \# s
  570. ;error_log = syslog
    & R8 F5 H  y5 c) q! t: m5 d

  571. 1 B( L& o. t. I$ E7 ]/ n
  572. ;windows.show_crt_warning2 [( C' U( e( A% ~* t/ B! n
  573. ; Default value: 0; K  S) S' I7 X" i$ j! e( d
  574. ; Development value: 0& {; d$ `' F! P* H- O, B# z
  575. ; Production value: 0
    & K7 n/ R8 {1 U" Y
  576. ( c8 g4 r5 X' r) L6 \
  577. ;;;;;;;;;;;;;;;;;
      y% m1 @" _3 G( F
  578. ; Data Handling ;
      @6 v) h( |5 `4 \5 b: b% g
  579. ;;;;;;;;;;;;;;;;;3 ?7 p$ w6 t. @/ s! t

  580. 1 ]2 a4 k) M+ P
  581. ; The separator used in PHP generated URLs to separate arguments.8 x- g8 ]: u* M3 G& U5 [
  582. ; PHP's default setting is "&".
    3 R4 l, e7 L; S$ ]) ~6 M; e
  583. ; http://php.net/arg-separator.output* E/ ]; J9 p2 @* I( a
  584. ; Example:, z& k+ M% g# G) z
  585. ;arg_separator.output = "&"
    + |% X/ m3 t" y9 e# M8 j; M! e

  586. 3 C& T( _7 x4 Y# q* n
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    $ ?& e. f. L( J
  588. ; PHP's default setting is "&".( M! W, z4 I  H" W
  589. ; NOTE: Every character in this directive is considered as separator!9 Z& `  I- q( D/ Q8 w
  590. ; http://php.net/arg-separator.input
    , B0 X: |8 l' }8 ]
  591. ; Example:+ a& I& b# A9 J2 i. @0 c" c
  592. ;arg_separator.input = ";&"+ x! S% M8 _2 H7 ?0 z7 p8 R6 O4 p" k) l/ o
  593. 8 i$ r# e% g& c+ a, }' J
  594. ; This directive determines which super global arrays are registered when PHP: w( A1 i1 q* K( G7 F4 j  L
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    , w4 A; F7 t( k& B. @% v& g, P6 ?
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty. e, H& q' r/ x, E0 h4 g
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ) H1 I. [! z; @( }& k9 H/ J
  598. ; used as the others, ENV is not recommended on productions servers. You
    1 }* M' b  g2 y& J- a* y8 d6 q9 z- U
  599. ; can still get access to the environment variables through getenv() should you
    5 n6 P! ~2 E9 T2 Q( o: u
  600. ; need to.
    ) T8 ?0 n7 W$ h7 q. Q" B& t
  601. ; Default Value: "EGPCS"7 V; [4 ]# [/ o. J
  602. ; Development Value: "GPCS"
    1 d1 E& s% s; ~" I5 `" e) c6 I
  603. ; Production Value: "GPCS";
    0 d6 r0 m+ c3 }& ^9 E- `& B- v2 Z
  604. ; http://php.net/variables-order
    ' N. g/ s  ^/ h+ ^7 O
  605. variables_order = "GPCS"
    1 |/ f* U0 v7 i1 h0 E* V8 S: x
  606. & H; `, B# j* l2 Z% f* p7 Y
  607. ; This directive determines which super global data (G,P & C) should be3 V/ I- i& f0 m8 i, A
  608. ; registered into the super global array REQUEST. If so, it also determines6 |0 s  i6 S# {) M& o7 M, k- \
  609. ; the order in which that data is registered. The values for this directive5 T" t; P# i' r+ y' a3 O. {
  610. ; are specified in the same manner as the variables_order directive,2 M, J+ H9 i' A2 e! s/ D# p1 C
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set) ]  k- y7 g3 w8 a
  612. ; in the variables_order directive. It does not mean it will leave the super. E, r" [) q( B
  613. ; globals array REQUEST empty.1 q* A* x! Y) |
  614. ; Default Value: None
    1 X! T) _- @% C3 ~
  615. ; Development Value: "GP"
    # Z6 F* _+ [4 h& Q1 C; M! D3 |; o
  616. ; Production Value: "GP"$ u" ?; r) |8 i  m
  617. ; http://php.net/request-order0 I# _  j) N/ }; _" T. i+ s8 ]
  618. request_order = "GP"
    ( {. G. W* j6 C2 d
  619. % {3 z- Z3 i  k/ w
  620. ; This directive determines whether PHP registers $argv & $argc each time it" ~: ?2 i2 p, c7 `- h# m
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ! I; D* p( a% k  ?" O' m( j  z
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ; z8 C& M6 \0 t9 M
  623. ; that were passed when the script was invoked. These arrays are extremely: \; Y1 {7 y: [; b
  624. ; useful when running scripts from the command line. When this directive is
    0 J/ b  v% B4 f2 {3 R! e1 ]( H
  625. ; enabled, registering these variables consumes CPU cycles and memory each time6 Z( J2 b% l6 P4 ?7 g: x2 x
  626. ; a script is executed. For performance reasons, this feature should be disabled3 @& e2 s' I/ n5 w. F# P9 e
  627. ; on production servers.
    & o3 a, g( g2 q$ b2 F/ ^3 `
  628. ; Note: This directive is hardcoded to On for the CLI SAPI9 M9 t1 I: p$ R6 n( x* i
  629. ; Default Value: On% v0 {: g' l9 ]$ U5 D
  630. ; Development Value: Off, Z& h1 S+ ~; z" `* a, @2 d
  631. ; Production Value: Off3 g" W( S! g, `# ^, Q4 N
  632. ; http://php.net/register-argc-argv
    , x" i3 H4 l/ G' O
  633. register_argc_argv = Off/ K" ~6 L$ T' P/ a; b
  634. ( `" f( R* D6 z" R* t8 h
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're3 F+ a$ I; X% k7 C& k: Q4 l; L
  636. ; first used (Just In Time) instead of when the script starts. If these
    " r6 s2 f( g- a- W5 F$ C9 N
  637. ; variables are not used within a script, having this directive on will result$ z2 W) d# @1 u" J
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ( w3 U7 h* `: T* K
  639. ; for this directive to have any affect.$ W5 f3 S8 x, ]- S! Y
  640. ; http://php.net/auto-globals-jit
    ' h( P8 W8 _& p& P5 K1 R7 ?
  641. auto_globals_jit = On# i9 l/ t  U2 t8 ]/ g. L
  642. 1 h! J: D2 j* F" E! C
  643. ; Whether PHP will read the POST data.7 U4 j9 A" Y7 p5 A; S+ e  H4 U& S5 O, ]
  644. ; This option is enabled by default.8 b1 ~. C. W9 O9 _2 y2 x8 M, T
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    6 ^9 U* O$ r: a) j
  646. ; and $_FILES to always be empty; the only way you will be able to read the# Y; \( d9 W9 ~, z/ i. e+ Z( T
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    / P/ f& T. ]" l! r- V# @- X( n) p
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    $ S+ p$ L; W. `, H  V% `
  649. ; http://php.net/enable-post-data-reading
    0 \. B( L; L7 s
  650. ;enable_post_data_reading = Off
    $ Y% X8 K1 ~: }. V$ U8 j# O0 S

  651. % \0 Q; x- d) G' V
  652. ; Maximum size of POST data that PHP will accept.
    1 _  B. U, p  Z) A0 `" G5 P( s7 `
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading2 j! n# T5 B/ e2 u8 N: J
  654. ; is disabled through enable_post_data_reading.
    ; P4 ^; ~7 r! k' T0 m# ^1 t
  655. ; http://php.net/post-max-size
    ; i0 j* J2 Q* ?: \0 e$ O. a) O+ c3 N2 ]
  656. post_max_size = 50M
    7 d4 V: U+ b5 H% o, P  n8 p
  657. - S3 `0 ~( m2 o
  658. ; Automatically add files before PHP document.( o* U; C3 f/ \; L
  659. ; http://php.net/auto-prepend-file
    ! w; \" Q; Y2 g2 l7 e
  660. auto_prepend_file =
    . O- e( ]3 @3 F, X0 @! `5 s
  661. 1 Z4 n/ y, K  t9 O
  662. ; Automatically add files after PHP document.
    3 [, i; R9 u. x
  663. ; http://php.net/auto-append-file
    % d0 z: k4 E) L% N* ^4 `3 H
  664. auto_append_file =
    # \5 Z3 w! A. n( @% @, W9 [6 S

  665. 7 V. x4 b& _, f/ C  O* S
  666. ; By default, PHP will output a media type using the Content-Type header. To! u% T1 P" Y6 o- {1 {0 _+ [5 F
  667. ; disable this, simply set it to be empty.- c% P' y) k5 k7 Z4 U' o4 S/ q
  668. ;
    # h6 y1 w4 d4 q$ R  b9 o
  669. ; PHP's built-in default media type is set to text/html.
    ; w7 r, ]4 j- F$ a! m
  670. ; http://php.net/default-mimetype
    9 [9 ?; Q+ k/ i
  671. default_mimetype = "text/html"
      X6 A: B! j. s# c

  672. 6 F+ s6 G/ Y0 z# ]5 e* O
  673. ; PHP's default character set is set to UTF-8.
    3 q% I& Q! v7 A6 g- U- d4 o+ X
  674. ; http://php.net/default-charset/ {2 V' s5 U- j+ O) r- P9 j
  675. default_charset = "UTF-8"1 s* Y; }. K3 M6 p5 Y

  676. $ U2 c% f3 u' O" h/ Q$ |" A6 s) ]
  677. ; PHP internal character encoding is set to empty.
    & m+ c3 S" F. N
  678. ; If empty, default_charset is used./ _5 N- V3 ?0 i5 E7 i
  679. ; http://php.net/internal-encoding
    6 p7 J2 o7 G2 A- W# q% \
  680. ;internal_encoding =0 i' `; R* i( d$ y; p
  681. % f2 l) i& ]) j! i; g# @
  682. ; PHP input character encoding is set to empty.
    % [1 [1 t- J! I' W  V4 {+ t- C
  683. ; If empty, default_charset is used.  g# c! D4 G9 H! E0 T9 Z+ R6 i
  684. ; http://php.net/input-encoding( g! {5 b3 w, e) M0 _' a9 X; F1 y
  685. ;input_encoding =/ H! a' }9 ?0 o. W* q' i% N

  686. ( x" d0 R3 `) Z* c# @. E
  687. ; PHP output character encoding is set to empty.& E% h" R" }5 C, S/ D
  688. ; If empty, default_charset is used.
    6 }. w" f; _- Y; V( A
  689. ; See also output_buffer.9 D+ X# z; C) k3 V- O9 ^3 M
  690. ; http://php.net/output-encoding( V7 N  g  {: `' J! {* R) R
  691. ;output_encoding =: y& q5 c  n: _  t" ~+ k+ I  a
  692. - }7 T5 G4 r7 S% ^- Y) u+ A
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; z5 ]$ [: }( W  O
  694. ; Paths and Directories ;
    2 E! d$ s* I7 k
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    . a" \3 m& l: E- P  {
  696. 3 S( a3 E$ }# f" H$ U* }+ q6 h, {: v
  697. ; UNIX: "/path1:/path2"
    3 M) A7 ~! H( T  k: H7 n7 y
  698. ;include_path = ".:/php/includes"% _0 M% q6 T# q
  699. ;- g. K7 w2 B, d$ P; z- l
  700. ; Windows: "\path1;\path2"+ c9 I  H1 f6 z' a
  701. ;include_path = ".;c:\php\includes"
    9 r6 O" d' p3 E+ W/ A
  702. ;4 i( y8 g5 m' P7 A  \
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ! a( }. {& ]- K) @
  704. ; http://php.net/include-path( X2 L3 Y6 l8 |: I
  705. 2 |3 C6 r8 _$ ]6 k7 C
  706. ; The root of the PHP pages, used only if nonempty.
    ) c0 ~, E" c5 @6 \  ?" G! @/ R
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    , S# U+ R: F: ~" C3 q; r' s
  708. ; if you are running php as a CGI under any web server (other than IIS)1 G; Z+ q. c& I* n* [3 E
  709. ; see documentation for security issues.  The alternate is to use the
    " b8 M7 ]- U3 t/ H0 B; g, x
  710. ; cgi.force_redirect configuration below5 O( k6 b& P2 p, I7 r
  711. ; http://php.net/doc-root6 L5 ~- I& b: {7 h3 Y8 |( H
  712. doc_root =( N1 |( n2 U. |7 o

  713. , i$ h* H9 S1 _# }3 l1 ~7 v# ]
  714. ; The directory under which PHP opens the script using /~username used only# y- f$ v6 ], @: {0 p; `
  715. ; if nonempty.
    $ o/ i8 M# r- p0 {
  716. ; http://php.net/user-dir
    : k* }% L' Y  o* K& Q% h/ E
  717. user_dir =5 v( U2 M: h; N. @1 |/ c
  718. + o- n( ^+ v; {: V: w/ n2 B
  719. ; Directory in which the loadable extensions (modules) reside.4 |) o  I6 [! p: o8 v
  720. ; http://php.net/extension-dir& m5 H  \* R& c2 v9 K
  721. ; extension_dir = "./"
    ' S: q% @. g" C1 @/ e
  722. ; On windows:; q8 @" n  N, r; G) C4 `
  723. ; extension_dir = "ext"2 }" ]7 ?6 h% {# [- s) A6 X

  724. 0 q* M/ F+ |  c- k; D8 K0 @( Z
  725. ; Directory where the temporary files should be placed.
    2 I, a/ @; w( U
  726. ; Defaults to the system default (see sys_get_temp_dir)
    5 Y) c; o+ M. l3 R+ ~
  727. ; sys_temp_dir = "/tmp"
    $ u" M8 {1 ?7 g

  728. 8 C+ F. i( I4 L' ^+ G" W; G: v
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work9 }) X& k0 U' Q- O( p
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    . l0 k( f. S* O% l8 i
  731. ; disabled on them.2 ?0 r7 J2 Y0 d* N
  732. ; http://php.net/enable-dl( r) h  }0 J3 U& C/ {; n. m
  733. enable_dl = Off/ u# H% L9 ]- z3 ^2 \

  734. : h4 H; Z! f: r2 R4 a2 S! G
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    - Q# k& Q+ L6 h2 A
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can1 p9 l* i: i) e2 v5 u0 L
  737. ; turn it off here AT YOUR OWN RISK' h4 O. [& f- ~. n4 w* \  H: M
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    + M( b) K# p$ C" b
  739. ; http://php.net/cgi.force-redirect
    7 K: X1 e, v0 J
  740. ;cgi.force_redirect = 1
    , ]5 a/ a. K/ i' X. X9 L

  741. # b4 t( G. ^7 c/ e
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with2 w& V) w/ E& V7 P# K
  743. ; every request. PHP's default behavior is to disable this feature.
    8 B- ]! V4 ?7 D4 K1 v5 i! M9 o0 P
  744. ;cgi.nph = 1
    ' V) F% {4 }6 D8 t. \/ }: Q8 M  [
  745. 2 |0 L& t; |! Z1 I, I: n. O
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape) e' F; y  x2 B: n1 N0 u  V! `& l
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP6 w& ^: M- }. z% d
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    9 |! }, b* H/ P3 n+ @5 ^
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    " P1 c& U! z! e
  750. ; http://php.net/cgi.redirect-status-env
    # `% e+ R4 F! T; O1 _
  751. ;cgi.redirect_status_env =, K. X9 o# C0 y9 r; q1 t  L
  752. : J. P; t- z8 J0 c& x" X
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's, `, `, f! P) `8 K: C
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ! L& y2 x: z  D: y  ^1 v
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting4 p/ ?; B& M! B2 ~! u
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    + ]% |( k7 T0 i
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts% B) }, @+ ]! `2 j4 @2 n* A
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.4 \' Z4 g. m2 ~) M; {3 H# U, _( |# f7 m
  759. ; http://php.net/cgi.fix-pathinfo
    ! U- [  n0 y' K. a0 h9 T) F
  760. cgi.fix_pathinfo=1
    & v* X( X8 K" e; L
  761. 8 u7 E5 ^, F3 d
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ( L  t9 y) c8 w" M! {
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ' [# Y& G/ g) m: k* \, z
  764. ; http://php.net/cgi.dicard-path
    - J- C  ]- s* e- {
  765. ;cgi.discard_path=1" Y' [7 `2 _, `/ |$ M% @# {
  766. 2 b$ ~% C6 |  k. `8 n3 a, o
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate& L4 Y8 j) E' |5 J5 g1 V
  768. ; security tokens of the calling client.  This allows IIS to define the
    , i- z  }" a, G/ i
  769. ; security context that the request runs under.  mod_fastcgi under Apache4 f6 B% z6 W& b# k
  770. ; does not currently support this feature (03/17/2002)
    ) t1 v$ G  k, {* y' x- q
  771. ; Set to 1 if running under IIS.  Default is zero.1 e* b) l7 ]+ _) f$ j
  772. ; http://php.net/fastcgi.impersonate
    % l; v' c1 Q5 a) f/ f  T7 n4 `
  773. ;fastcgi.impersonate = 1
    $ l1 S. t. O1 }7 F) [# b
  774. % s6 q* h; ?  U% n
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    & d! r: n9 s! d" e
  776. ; this feature.
    / _3 Y' y9 r1 C& P6 F
  777. ;fastcgi.logging = 0
    5 _7 h# U5 e- V

  778. # ^- H' I: G; C6 N; U
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to) {8 @( b  X6 X) P5 y3 d* B- W
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    $ H( `7 S: Q2 `6 |' r+ O/ W' h
  781. ; is supported by Apache. When this option is set to 1, PHP will send6 m0 a8 I# C9 v) n7 ?7 U& U, \
  782. ; RFC2616 compliant header.& G8 j+ O7 |% o0 B* _
  783. ; Default is zero.; S# R% G& o/ h7 [1 i9 N* o
  784. ; http://php.net/cgi.rfc2616-headers
    # G; S; ~0 t/ a7 Y5 g& [$ c  g
  785. ;cgi.rfc2616_headers = 0
    1 s3 l9 t1 ]1 r: L, @7 q1 Q

  786. 1 k. K9 g+ p; Z  ?# A. _
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!7 \) I( i! \% o# @& C
  788. ; (shebang) at the top of the running script. This line might be needed if the* c& C- w5 v# s& V
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI  Z" q3 v+ Z8 Z( J6 q' {: k
  790. ; mode skips this line and ignores its content if this directive is turned on.% |  @9 S7 j  _8 x) z6 L
  791. ; http://php.net/cgi.check-shebang-line! ~0 K4 M3 i, ^8 X+ ^% e
  792. ;cgi.check_shebang_line=1
    9 ~, m: X) C$ D0 _: M
  793. 1 X, L4 r$ y( I; z4 z
  794. ;;;;;;;;;;;;;;;;
    5 H  W3 l% o2 Z% L
  795. ; File Uploads ;! m2 U9 k3 G$ Z4 o" }) \0 M5 _6 Y
  796. ;;;;;;;;;;;;;;;;" Y# V0 o& A# Q4 u( h, h8 m
  797. , M  X: ^/ h; x3 i) e/ x5 p. B. L
  798. ; Whether to allow HTTP file uploads.7 u1 S9 N- S7 p" _% _7 h
  799. ; http://php.net/file-uploads+ L4 z2 t( c4 O, \- I7 H
  800. file_uploads = On: [6 L/ P2 A: j/ w
  801. ' P0 y7 X2 ?1 p7 W, j& `( x
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ' Q; M1 S1 q* a* I
  803. ; specified).
    ' y/ z# [& V+ J/ f1 R  k
  804. ; http://php.net/upload-tmp-dir5 D) W6 m: p$ D, Z7 L
  805. ;upload_tmp_dir =: y0 G+ a8 A' @6 d

  806. 4 ]5 Y: y# v9 B* @& v# L
  807. ; Maximum allowed size for uploaded files.
    5 b: |3 E; g0 O+ q- w( X& x
  808. ; http://php.net/upload-max-filesize
    - B  X# X8 U5 N& T2 S& T
  809. upload_max_filesize = 50M( p8 l0 |4 L5 }- ^$ G. \' r# a

  810. ; E! V3 c- V  H! B( u3 @. Z
  811. ; Maximum number of files that can be uploaded via a single request
    * X6 g6 w* l1 z2 z: ?- T# q3 S
  812. max_file_uploads = 20% r$ |+ O8 }; w6 k

  813. $ a, h9 g. `. R( M1 s
  814. ;;;;;;;;;;;;;;;;;;
    6 v) H- d: }5 Y% F/ r6 B% V& J
  815. ; Fopen wrappers ;$ x! s1 M! A, o& L2 t
  816. ;;;;;;;;;;;;;;;;;;5 ]" u, G. G0 P: |# c$ V* e# a4 ]4 b1 U
  817. 3 Q+ u) P# R6 i, v1 q
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    8 [' X' I! E2 S/ f/ N- ]6 x
  819. ; http://php.net/allow-url-fopen
    , L0 R9 w1 @+ `6 {( a
  820. allow_url_fopen = On  C4 u! y1 }. X

  821. 9 T6 ?' L) Q# m" M
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    / S" w9 N+ H( y, X
  823. ; http://php.net/allow-url-include
    0 a$ Z% t. ]; O6 I  ^) `8 e
  824. allow_url_include = Off, U& Y( i: `) R! m' P% K* z7 m8 ^7 G
  825.   Y$ o' q4 K5 Q8 ]# ^6 E! z
  826. ; Define the anonymous ftp password (your email address). PHP's default setting* m3 T# l! }( j9 s1 H' Y
  827. ; for this is empty." c4 M4 \2 S6 f3 u3 B" `; s
  828. ; http://php.net/from% n$ l5 [. k# n& t$ B- R6 b; g
  829. ;from="john@doe.com"
    2 g3 d# S: ^+ E" W
  830. & z1 J9 Y0 J: p
  831. ; Define the User-Agent string. PHP's default setting for this is empty.5 |% D1 M. T) R& \) g
  832. ; http://php.net/user-agent  V& x6 @" [& e6 |- w, L4 R
  833. ;user_agent="PHP"
    5 p7 P, W- |9 ]" E$ g
  834. 7 [! ~0 y  N4 [5 i3 m
  835. ; Default timeout for socket based streams (seconds)# {2 v) b' U; g' f; W/ H
  836. ; http://php.net/default-socket-timeout
    0 M; l2 u9 Y& m* d( _
  837. default_socket_timeout = 60
    9 g/ C/ m) r2 N

  838. 8 o- l& \  h+ K, U9 {
  839. ; If your scripts have to deal with files from Macintosh systems,: g  C6 U! _# r( w/ x
  840. ; or you are running on a Mac and need to deal with files from" T- ?6 p4 @& ]3 [9 O4 P6 Y# h
  841. ; unix or win32 systems, setting this flag will cause PHP to
    ; ?5 b7 G- \% u% Z8 |
  842. ; automatically detect the EOL character in those files so that& K& B" @% c, V. I0 f' I+ g
  843. ; fgets() and file() will work regardless of the source of the file.
    & z9 t4 k5 x' z. T7 l7 Y
  844. ; http://php.net/auto-detect-line-endings
      F* e! d: ^$ [7 q8 ~
  845. ;auto_detect_line_endings = Off
    # L1 c& m8 B: J# a7 N  Q5 I

  846. : {; ?" w9 N5 X3 O3 K) y# I: I
  847. ;;;;;;;;;;;;;;;;;;;;;;
    7 @3 J) e4 R3 J, c$ O! g, j
  848. ; Dynamic Extensions ;
    " R& y1 o2 h8 o$ c1 X
  849. ;;;;;;;;;;;;;;;;;;;;;;% p; U; r- {( t
  850. 3 A$ E. E* q% |. ]
  851. ; If you wish to have an extension loaded automatically, use the following* R) i6 X# |, S! \
  852. ; syntax:
    1 s8 l# d. g8 E
  853. ;
    0 `) Z+ ?) j( }3 o9 f" l
  854. ;   extension=modulename.extension
    3 ^& K" d  }( y0 b- s
  855. ;
    , b4 [. [" {( F- `3 n5 a5 q* Z
  856. ; For example, on Windows:
    6 F. `% x6 i1 |  ]/ T
  857. ;
    " s6 @& l- k) E, ?1 a, n
  858. ;   extension=msql.dll
    ) L* s( c2 E2 E8 Q: I6 O
  859. ;% ?/ B* W' \( b& L# ~" r
  860. ; ... or under UNIX:: U3 l; a+ v, V- j5 z* W& ~
  861. ;
    . z3 l- F% ~( s
  862. ;   extension=msql.so2 z# m* P3 X5 S! W. O6 ]
  863. ;& J+ Q! I8 H  Z$ e: Z" s6 W" P- b4 B
  864. ; ... or with a path:
    8 w( f. {; P! a4 ]/ A
  865. ;. I9 @6 h. t) w( Z8 K
  866. ;   extension=/path/to/extension/msql.so
    9 U2 c' |$ e: f# M7 O4 S) E2 e
  867. ;: f, j' t* }) {' I+ Z2 l. ?
  868. ; If you only provide the name of the extension, PHP will look for it in its
    : b" \  G- f! P9 `- _
  869. ; default extension directory.
    ; b5 |1 P: J) Y, b- W2 c/ `( t! O
  870. ;  g5 i3 z. v5 Q% x' A- g2 N4 |
  871. ; Windows Extensions) j1 b! {' n# q
  872. ; Note that ODBC support is built in, so no dll is needed for it.( w0 S" ?5 d. N1 c, m: I0 S
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    / Y$ g4 Z% v. H+ V" M, r& ]0 s
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).+ O9 T4 R% M; v% f
  875. ; Be sure to appropriately set the extension_dir directive.
    & @) O5 b/ O" P
  876. ;: o2 l3 e, r0 q+ x: q4 C
  877. ;extension=php_bz2.dll1 l3 w) T, z5 N' X  A
  878. ;extension=php_curl.dll
    5 d; ~( A, p4 r/ v
  879. ;extension=php_fileinfo.dll9 f0 I! c* d. C0 H) b( }, |
  880. ;extension=php_ftp.dll# u" A0 |" U. i
  881. ;extension=php_gd2.dll
    ; _# O( N* |. R' P
  882. ;extension=php_gettext.dll
    1 t) W! b" Y" W% s# z: f
  883. ;extension=php_gmp.dll
    & a8 \5 `* m' h0 ]2 _0 K
  884. ;extension=php_intl.dll3 O, C* L3 j1 u7 ~: m" O
  885. ;extension=php_imap.dll7 z" N& P; Q5 B- W0 f
  886. ;extension=php_interbase.dll
    . X; O- h% D6 r) h2 I2 s
  887. ;extension=php_ldap.dll
    . {6 Q1 L! N" m$ Q9 Q. E) z8 L
  888. ;extension=php_mbstring.dll
    2 w" u$ ]1 k: I
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it2 X6 T7 F' T4 @9 I- T1 H1 B
  890. ;extension=php_mysqli.dll' Q) R: i7 r/ w5 E: v- o! r. R: Y
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    8 f) k2 e/ f& ]) n0 ]1 k+ b
  892. ;extension=php_openssl.dll
    * w) Z' C  G5 A6 n* Y
  893. ;extension=php_pdo_firebird.dll; V' X$ u. a) N) y0 ~* f
  894. ;extension=php_pdo_mysql.dll
    $ `4 E+ \# ^, W8 B; a
  895. ;extension=php_pdo_oci.dll& C' z% q& O+ [- c; F
  896. ;extension=php_pdo_odbc.dll
    4 o5 p, _" M+ A# m5 ^9 W5 _8 w
  897. ;extension=php_pdo_pgsql.dll6 Q4 ?' R. R% N" M( a* c
  898. ;extension=php_pdo_sqlite.dll
    ) O# m% c5 }2 X6 Z/ B- k- y
  899. ;extension=php_pgsql.dll! f% i) ?& X) J# @' t
  900. ;extension=php_shmop.dll. t) R! C- z. B' \
  901. $ M, Y; G6 ?5 @
  902. ; The MIBS data available in the PHP distribution must be installed.
    , e# {; f: }, `- h9 B
  903. ; See http://www.php.net/manual/en/snmp.installation.php6 `, L, Q  z9 l
  904. ;extension=php_snmp.dll4 l$ z6 A6 ^! P% E* E) `
  905. . p) l8 m1 r0 w1 L5 \" G$ D3 \
  906. ;extension=php_soap.dll6 F7 r* E9 G/ \5 V2 M+ ^% J, `# Y
  907. ;extension=php_sockets.dll: X8 X* K/ I/ w' _
  908. ;extension=php_sqlite3.dll
    * _3 T$ B0 K. k5 Y/ ]' m
  909. ;extension=php_tidy.dll& K0 ~% c( F1 z* a8 S$ f9 f( U
  910. ;extension=php_xmlrpc.dll
    * b) G- y9 E: Z2 k7 p6 m. i$ F
  911. ;extension=php_xsl.dll
    ( m; o4 _2 k* t7 Z3 e& `

  912. 3 {1 N: @9 u8 `$ G7 [1 C# F
  913. ;;;;;;;;;;;;;;;;;;;
      }$ B9 `7 F+ r% ]
  914. ; Module Settings ;
    5 C0 Y- H; J1 D  h
  915. ;;;;;;;;;;;;;;;;;;;5 s# r* i% z+ }! B1 [
  916. " F! \( G; t4 [- X! U% c
  917. [CLI Server]& q* j* A4 Q4 V8 S) S2 f1 q* H
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    5 q; B/ U) j# y) m
  919. cli_server.color = On
    3 B. R7 T) y9 ~4 q8 g
  920. " d7 U+ i$ ]% y; @& ^( V- U
  921. [Date]6 v! s* C0 o, q8 H+ g: K6 Z; X6 c3 W
  922. ; Defines the default timezone used by the date functions
    3 q: z2 [, a1 ?
  923. ; http://php.net/date.timezone  C# w" K' O9 I$ t0 r& B
  924. date.timezone = PRC( t* J% T% s1 c# B/ Z- V( ^$ _

  925. - r$ C3 t  Q; E" T" Q
  926. ; http://php.net/date.default-latitude9 M" S/ _9 @& u7 A  t$ c+ ~
  927. ;date.default_latitude = 31.76675 v9 o- i% D# J( `

  928. : U  T( H( a4 f
  929. ; http://php.net/date.default-longitude
    6 m) Y9 s( B) E; [# G" a- f
  930. ;date.default_longitude = 35.2333! e( I$ Z3 E7 @$ V: h
  931. 3 t/ G8 H0 C+ `  v6 o
  932. ; http://php.net/date.sunrise-zenith
    8 \# Z# |* ~, [
  933. ;date.sunrise_zenith = 90.583333* g0 T# W  h/ D
  934. ; h% c9 j- Y. e' s$ `4 g+ |4 n
  935. ; http://php.net/date.sunset-zenith& n' ~9 v: G7 N
  936. ;date.sunset_zenith = 90.583333
    , y0 {" V2 \6 a4 K% Z: J
  937. ) p7 B+ E( {9 Q; {& p6 x
  938. [filter]7 X- d- h6 O6 k
  939. ; http://php.net/filter.default. q& t, j* A  Q# l
  940. ;filter.default = unsafe_raw
    % B0 |+ I. c; v# h- \0 z# O

  941.   r+ z3 P; ]4 p+ P' u8 x: A  f5 o9 t) }
  942. ; http://php.net/filter.default-flags; J4 m; b# N: Z& C8 |$ X% l
  943. ;filter.default_flags =) m. H  `' k1 q! T! d4 a- X

  944. - _8 @/ Y7 x; O3 z
  945. [iconv]
    ' g1 I. r# l3 |; R# R: w* A, n) n# n
  946. ; Use of this INI entry is deprecated, use global input_encoding instead./ e5 N+ i* O7 J& ^
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.' O( G5 \- V" W- \4 ?% c% j, J
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    9 k' _6 j5 I' P$ j
  949. ;iconv.input_encoding =9 i4 @2 Z9 L: Y
  950. ! R$ |( y. X5 @8 l$ ]. p+ K
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    * k: a" D6 P2 N% x6 S5 k8 E/ |/ ?7 `5 w
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ `7 g# @4 K3 n/ m, [3 o
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding' g8 V3 Y- e8 c$ c% d$ |8 q
  954. ;iconv.internal_encoding =
    5 ^  z& z1 H2 Y  o

  955. / v* M5 D0 N6 `# i
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.7 }) G* w) W# T1 e6 j  S
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.2 o9 M" J' \9 S! O+ P4 ]. V
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    3 i+ M. _' h* P
  959. ; To use an output encoding conversion, iconv's output handler must be set- T4 G; u  t! d2 ?# v9 z; Q
  960. ; otherwise output encoding conversion cannot be performed.6 g3 C% b  [  q, x6 }  q( w
  961. ;iconv.output_encoding =1 r+ F- Q4 C5 i. M
  962. 4 L) x8 T& c) E
  963. [intl]9 r* f. Y$ N7 ^9 _$ S* g/ M
  964. ;intl.default_locale =
    9 }4 W) ~+ j* D; v
  965. ; This directive allows you to produce PHP errors when some error9 r1 ~  S1 Y0 y; Z$ D! @
  966. ; happens within intl functions. The value is the level of the error produced.4 H' l  s; S# a1 H+ S3 ~
  967. ; Default is 0, which does not produce any errors.
    7 F: c. s% d& K. [
  968. ;intl.error_level = E_WARNING
    $ f2 ], j9 u: }: x* [+ A
  969. ;intl.use_exceptions = 0  T. Y3 {  U  e2 [9 H; X
  970. 8 q% O1 `4 t' c" s+ {2 N0 X
  971. [sqlite3]
    % S+ a+ R. G; Z0 b% |$ q
  972. ;sqlite3.extension_dir =
    - T+ i9 {. S6 C$ E
  973. / w# x9 ^4 o& K* l7 T, X9 E
  974. [Pcre]
    - Z8 @9 O: g8 W/ e9 M) J2 [# o& b
  975. ;PCRE library backtracking limit.
    3 X* G- T) W  E  z" q% J. y# W
  976. ; http://php.net/pcre.backtrack-limit
    $ M$ O5 Y* y. _" h5 s8 x
  977. ;pcre.backtrack_limit=100000
    * z5 @8 d2 ~# z: w

  978. # w6 P1 f1 |4 I& W, r; d
  979. ;PCRE library recursion limit./ N& _4 V! t% b
  980. ;Please note that if you set this value to a high number you may consume all$ R2 h# e9 k0 Z1 B
  981. ;the available process stack and eventually crash PHP (due to reaching the! @! E* ?* c$ k' Y/ P
  982. ;stack size limit imposed by the Operating System).
    0 F8 g% w* n2 w2 N6 L
  983. ; http://php.net/pcre.recursion-limit- P# u. k$ P( m4 r" y4 O
  984. ;pcre.recursion_limit=100000& K3 ^  n# t* U  w% w; j& \/ r

  985. % t, p: S5 P& V
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE! G" A6 M, S3 {1 N
  987. ;library to be compiled with JIT support.
      `: ?& _$ {, y0 N
  988. ;pcre.jit=1& x2 y, I  b9 \! S

  989. 5 h' i7 A8 Y0 e0 s9 I8 X
  990. [Pdo]) M2 A1 Z/ c- t7 J1 w8 ^
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"( M) H9 u+ ^  q
  992. ; http://php.net/pdo-odbc.connection-pooling
    0 c' A2 t6 x$ r  y. t
  993. ;pdo_odbc.connection_pooling=strict. w# e/ F: P, i7 L. g7 n0 T0 {) m

  994. % `2 ?/ G1 ^4 M- ]% @
  995. ;pdo_odbc.db2_instance_name
    0 a: M2 h" j3 F7 V8 {

  996. & J6 `  e# Q4 H" M
  997. [Pdo_mysql]7 Y" p( Z$ g" t) p, k6 q
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) t1 ^" D. F6 f, {' F3 M
  999. ; http://php.net/pdo_mysql.cache_size! x$ M4 _4 V9 W, j3 S6 R: A3 p
  1000. pdo_mysql.cache_size = 2000
    ) [0 a' Y- t5 f8 b

  1001. & X- S; C) B: C2 Y7 L
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # g8 r/ |, y. E# n7 x6 m. s- x. }3 t) n
  1003. ; MySQL defaults.
    % j$ `- [! x! I! R( R4 L$ H+ q
  1004. ; http://php.net/pdo_mysql.default-socket
    ! A. L4 A+ S& a  r# r0 U2 I
  1005. pdo_mysql.default_socket=
    . \& v/ ?* W  ^5 d- f

  1006. , U1 V  K, H5 ~5 D: `
  1007. [Phar]$ w8 Q$ G2 V, P* |  F
  1008. ; http://php.net/phar.readonly
    ! S; ]1 M' [! J( e& P8 \
  1009. ;phar.readonly = On
    " t( T1 t/ u& G0 J4 {, y$ h. C
  1010. 7 R; p# K( G0 u" J' j4 W
  1011. ; http://php.net/phar.require-hash
    ( X2 _! Y/ l. ]: E: g: r# ]  z* a
  1012. ;phar.require_hash = On8 N5 [4 V3 M5 P/ u2 o

  1013. 0 B. T3 y# I' P* V% }# E
  1014. ;phar.cache_list =
    $ O- m- e- a6 L5 s" G/ G& ~
  1015. # R9 S8 b3 I; B
  1016. [mail function]
    " U0 U2 Z9 ^% v' c) h; O8 O2 ]; r
  1017. ; For Win32 only.! `/ l$ p8 {$ X1 b. I
  1018. ; http://php.net/smtp6 C- j  w" ^$ u; p+ a$ h
  1019. SMTP = localhost/ b! l. ~2 u& M6 n& Q3 r0 |5 Y& i
  1020. ; http://php.net/smtp-port! A; i1 }8 X2 d  b$ _! O" K
  1021. smtp_port = 25
    # ?  Z- U# ]( a
  1022. 9 X" ]! J7 O1 v% P+ s$ X& N  a
  1023. ; For Win32 only.
    $ U- h" `; g' @
  1024. ; http://php.net/sendmail-from
    ' q# O( T! p/ p# O5 ~
  1025. ;sendmail_from = me@example.com
    6 Z" S4 {# e( k; Z. u4 @
  1026. 5 [2 U1 J! W7 q" ~$ C  i- s7 Q
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").- Q) W/ g+ A4 r6 g4 y
  1028. ; http://php.net/sendmail-path
    - e( ?6 V# Y% z
  1029. sendmail_path = /usr/sbin/sendmail -t -i% n% m6 Z7 `* q3 C7 |7 I: W
  1030. ' C1 O1 S6 d$ O( U% @
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    , X! f, ^; g" y2 N$ J7 [
  1032. ; to the sendmail binary. These parameters will always replace the value of
    + [" K$ }0 K! h2 O
  1033. ; the 5th parameter to mail().
    8 M# k( J8 V$ l% D4 ]  n
  1034. ;mail.force_extra_parameters =" A% g: I: ~! E' H' T  y3 D

  1035. % n, `9 W3 N$ i! V/ Y; B
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename+ L; @$ L% g% ~' F
  1037. mail.add_x_header = On, d( x1 u; k) A2 B" b

  1038. 9 p  J7 v5 P: x8 a
  1039. ; The path to a log file that will log all mail() calls. Log entries include% Y; m& c" I( x- `, x. O) _& }
  1040. ; the full path of the script, line number, To address and headers.( F! k& n1 t: ^" k' U. n% A
  1041. ;mail.log =2 x% ?2 Y, v- H( Q$ C
  1042. ; Log mail to syslog (Event Log on Windows).
    / f" Y3 `% G% ~+ y  L1 l
  1043. ;mail.log = syslog
    2 }6 P5 S6 U* K
  1044. 8 q) I3 l  B, c1 ]& J( U2 I/ b8 K
  1045. [SQL]
    % k2 F/ [. o& o0 a: R! z
  1046. ; http://php.net/sql.safe-mode% z/ Z0 U5 i( z# s2 L
  1047. sql.safe_mode = Off
    3 ]( S' M6 S" R' l* t) D1 W6 }$ }

  1048.   a: \) O+ |1 `! J! g
  1049. [ODBC]8 {. n8 E& w/ v
  1050. ; http://php.net/odbc.default-db
    ' T3 U% t. l2 ~2 D" K
  1051. ;odbc.default_db    =  Not yet implemented
    5 D+ c: c& G9 P: z  d
  1052. & e, e# {3 a- F9 m
  1053. ; http://php.net/odbc.default-user: I- [5 f" h0 R8 }9 h" L# d: Y
  1054. ;odbc.default_user  =  Not yet implemented) Z6 B4 `) _* X0 K, i9 z7 A
  1055. % G! j! _8 f( O$ Q
  1056. ; http://php.net/odbc.default-pw- t+ }8 u3 z/ S! U! _& z
  1057. ;odbc.default_pw    =  Not yet implemented
    1 R. C& t; L7 _! Y9 h

  1058. , I9 R8 d& _) X7 \9 v
  1059. ; Controls the ODBC cursor model.6 H, r6 F1 \5 W, K/ B: f; M+ X
  1060. ; Default: SQL_CURSOR_STATIC (default).
    / e. s) G, m8 l6 N' v0 |' X
  1061. ;odbc.default_cursortype+ P- L6 \  n) \; U2 U+ s$ u# e2 E

  1062. ' z: @$ y! s9 t
  1063. ; Allow or prevent persistent links.% S3 i; m( k8 E7 l1 [) F) R! e+ {
  1064. ; http://php.net/odbc.allow-persistent% Y0 L2 e$ d# V9 d$ j' |* ]
  1065. odbc.allow_persistent = On
    0 d  M9 m7 W6 z" Z3 g
  1066. % P9 g' N# r- C) A: G2 \
  1067. ; Check that a connection is still valid before reuse.
    / ^1 ~/ I) z9 ?' V
  1068. ; http://php.net/odbc.check-persistent9 W, v! X/ H! H: e8 M* H0 a
  1069. odbc.check_persistent = On
    ' F- ~- T% {( h) \

  1070. ( r9 k5 t' @+ I3 v: Z/ {; k
  1071. ; Maximum number of persistent links.  -1 means no limit.
    & E( t1 e9 I" S+ W& y
  1072. ; http://php.net/odbc.max-persistent
    & q. l  B, P( T. u) z! |  h* \) r
  1073. odbc.max_persistent = -1
    . J; K! x- x, j# e" @; n

  1074. , j3 U0 R8 ?' @5 U* R. ~+ P
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ) _5 J2 y* }' r
  1076. ; http://php.net/odbc.max-links
    % \4 Z* [, i. x+ w* `* @
  1077. odbc.max_links = -1  H5 c6 ^( N' J$ T/ n' P
  1078. 0 h2 K& E7 u8 I4 D; P5 {- ?0 Q
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
      ~$ d2 g  F" m/ w: u# V0 b0 g; K
  1080. ; passthru.1 g9 w! I( v/ R5 u
  1081. ; http://php.net/odbc.defaultlrl
    9 G8 t' D1 |' K4 t2 D% Z
  1082. odbc.defaultlrl = 4096; S& F, \, O5 `0 ^2 }# r7 l
  1083. ! }' j3 `7 ~: f; Z, ?! v
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    & s0 v0 j: J, o8 e
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation4 J# a4 I9 p$ [1 C
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode0 v) }( O4 s2 z! |( y2 Z4 s+ a
  1087. ; http://php.net/odbc.defaultbinmode
    ; s2 u% h1 C& B- ~* V
  1088. odbc.defaultbinmode = 1
    + a% U0 V# W/ g, S  h/ B% M+ A
  1089. 0 ]! }8 n! \0 F1 G; C5 K) m$ p$ z
  1090. ;birdstep.max_links = -1' N  j# p4 Y9 Y( N
  1091. 7 [) ]$ C7 [( ^2 X
  1092. [Interbase]5 L2 d& W" L% a; G" l4 e
  1093. ; Allow or prevent persistent links.2 I, O% _( F1 B! V
  1094. ibase.allow_persistent = 1+ n. s. |8 f: ^) W% @; K
  1095. ' K! M2 [% Y+ Q$ X
  1096. ; Maximum number of persistent links.  -1 means no limit.5 O5 i2 ^0 A( |, _
  1097. ibase.max_persistent = -1
    / i( E8 n0 G7 u( M( z) l' h8 M/ o
  1098. 9 B, D( A( x/ D/ Y$ T
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# t& N+ G; i% Z# ]/ c( P& [
  1100. ibase.max_links = -18 [: d& k  o7 v

  1101. # B7 ~) e% i+ q! \* j' \  p
  1102. ; Default database name for ibase_connect().
    # L+ a: ^/ G3 N% Y% s1 Q5 v5 @
  1103. ;ibase.default_db =
    6 M' j0 `5 H% p" _) @2 }% O. T- l- y, m
  1104. 3 Y' _' ]1 @  d: M$ N, t
  1105. ; Default username for ibase_connect().' p) i- _1 S2 C0 w/ U4 y$ ?
  1106. ;ibase.default_user =
    & V) J: W: b3 k; m0 g2 B4 q" Y6 M
  1107. $ ^9 {- Q9 p! V
  1108. ; Default password for ibase_connect().
    ! ?( q; P/ @: [
  1109. ;ibase.default_password =
    * |4 w5 P  M. t3 O
  1110. - @0 {" ~7 {/ D4 t/ l
  1111. ; Default charset for ibase_connect().1 i6 {% |! ^# w
  1112. ;ibase.default_charset =
    9 A! p/ Y* G6 i( q7 S

  1113. ( x9 V* N  Q. |' [
  1114. ; Default timestamp format.# C0 s4 p/ i$ K% p5 Y. S
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    # Z" z7 {. s) {" n9 t* z

  1116. 8 ^1 h) i+ x1 h* p. D7 w
  1117. ; Default date format.
    * H" ~, H1 _1 A' D
  1118. ibase.dateformat = "%Y-%m-%d"% v' |' @) {( `( ]/ `

  1119. $ X* @( o* F$ b3 L8 R
  1120. ; Default time format.- O5 y8 @) C* B/ f+ Q
  1121. ibase.timeformat = "%H:%M:%S"/ O' `4 z* H& b$ R: S( A# B1 K

  1122. 1 \  {- K2 p' A) D- x& X+ Q. U
  1123. [MySQLi]
    3 F- r* z/ M" W( I

  1124. + l2 s2 J! z" S2 q
  1125. ; Maximum number of persistent links.  -1 means no limit.( L0 v( `; I0 `6 [
  1126. ; http://php.net/mysqli.max-persistent' P2 Q; P; ?1 i3 _+ w. I6 C% u. a
  1127. mysqli.max_persistent = -19 R: e2 ^* d# x, k  K/ W6 }; j5 p! s

  1128. # q. M% r' I4 V0 U; M
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements- U1 m. B* n4 I
  1130. ; http://php.net/mysqli.allow_local_infile
    0 G" H& O8 Q. y) p
  1131. ;mysqli.allow_local_infile = On9 [7 z/ ]4 z9 O/ t4 t: c
  1132. 0 G1 m+ L! `8 i8 ]* V2 A
  1133. ; Allow or prevent persistent links.
    & ^# m# E9 h7 w$ k: E: b, x8 }, G
  1134. ; http://php.net/mysqli.allow-persistent
    5 w4 M) r# b6 T" D# a8 X
  1135. mysqli.allow_persistent = On
    ( O) X" ]0 ?# o: m& r+ K" J: c
  1136. ( e  n* d- z1 e: n  m  ?
  1137. ; Maximum number of links.  -1 means no limit.$ [( y5 j" e4 ]+ N5 F3 H
  1138. ; http://php.net/mysqli.max-links8 A& I' r8 _  S" l
  1139. mysqli.max_links = -1
    ' V/ Q: X8 L0 l9 A: U: M
  1140. ) W8 K: C( ]( Y* o9 |
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    5 v  C' a( o2 k6 a! k& U. o- l2 m
  1142. ; http://php.net/mysqli.cache_size
    8 H6 f! G' C: n: |1 U
  1143. mysqli.cache_size = 2000
    0 X% t; q' S) w$ P$ o
  1144. 7 ^& k7 {$ Y% _
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use" l; l' ]7 x  d& v. E9 f
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    & i8 T. a' i5 o, b8 G3 W: H
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look2 U7 e, E3 y- G0 C0 I  m" [
  1148. ; at MYSQL_PORT.
    # E2 r" ~" c5 ^) F  K, j& R
  1149. ; http://php.net/mysqli.default-port
    3 W; a% o$ g, H) d5 L
  1150. mysqli.default_port = 33065 |0 |* I* z, }; w  @
  1151. 4 q8 K3 S6 q" s( [2 h
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * d1 h0 g8 [& i0 T6 E, _
  1153. ; MySQL defaults.  C5 m+ Q, H& T3 t/ L2 x
  1154. ; http://php.net/mysqli.default-socket& v5 @# R3 Y% A2 i5 ~: v0 d& Q7 }( ^
  1155. mysqli.default_socket =) Q' \7 A" ^0 M4 H( n0 \! p
  1156. 4 b, ^5 v  l9 r" l7 w5 M4 P
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ' F6 f) k1 l  G( w, W6 Y% ^* K
  1158. ; http://php.net/mysqli.default-host
    $ F8 f/ c3 B3 Q
  1159. mysqli.default_host =
    . m& |: |) r5 J

  1160. " C1 w* X1 c( K! S- b. {0 d) R
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).6 J( I+ e7 k6 @  X
  1162. ; http://php.net/mysqli.default-user
    7 |2 @6 g( [5 `! W- Z
  1163. mysqli.default_user =
    ' ]: A4 c2 J6 h$ `& ?) _

  1164. 6 G% ~: n2 k9 Z, }. A3 l' j. L1 ?
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).* l1 i3 y5 y- Q! h
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ; c1 x8 h  P$ \- e
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")" w1 O( k8 f: E6 S- _) c, D
  1168. ; and reveal this password!  And of course, any users with read access to this
    / f& l& H$ Z2 o6 M
  1169. ; file will be able to reveal the password as well.
    , P7 {6 I) x; }6 ], i* D: c7 R: W
  1170. ; http://php.net/mysqli.default-pw
    ! A$ F) y9 Q- ?6 _* t; F1 D
  1171. mysqli.default_pw =
    0 B) U$ k$ D0 Y, A9 O" N
  1172. 2 v: v& L/ U+ k6 A% ~8 f
  1173. ; Allow or prevent reconnect& o+ F+ x7 ]8 `5 ^
  1174. mysqli.reconnect = Off
    , E: f9 u1 A- v

  1175. ! J7 t' W& X' O4 {' f' e1 s9 |
  1176. [mysqlnd]  U4 O; F2 i9 r* l8 @0 s! Y8 M+ _/ Z
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be; y/ T. j* N- {- u' l3 a
  1178. ; used to tune and monitor MySQL operations.
    % F9 k- C3 n& \% j, D& }; E
  1179. ; http://php.net/mysqlnd.collect_statistics* P& i1 c: {( ~: Y5 j- K6 X
  1180. mysqlnd.collect_statistics = On
    % w) w8 _# Z; u0 G' g* c$ m

  1181. # z2 R+ c! v- o0 ~  v
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be. J# R, Q& j6 g
  1183. ; used to tune and monitor MySQL operations.1 B8 `" T- |; R6 r! K7 G
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    % o( P+ k* D8 R  `+ W
  1185. mysqlnd.collect_memory_statistics = Off
    ) ?7 Q6 i' r4 l- e- ~6 y) h
  1186. 5 X% x' K) u/ t& [2 Y# s
  1187. ; Records communication from all extensions using mysqlnd to the specified log( f) H1 b; Y$ }0 n+ F9 d
  1188. ; file.9 u' J4 c. ~( C+ _) a
  1189. ; http://php.net/mysqlnd.debug$ M/ |' F& C9 d0 K% L
  1190. ;mysqlnd.debug =
    " o7 S! u4 z( S! b. D

  1191. 0 S) s8 K, G$ x8 ?
  1192. ; Defines which queries will be logged.
    % l0 S- _/ ~! |+ Z* ^* k7 c
  1193. ; http://php.net/mysqlnd.log_mask
    $ n2 D9 Q! {5 |8 D) M, b
  1194. ;mysqlnd.log_mask = 0. C0 J1 u7 Y1 d2 F1 ]; ]9 J
  1195. * ]1 \0 @& S, w! X) q6 M0 A, {
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.0 Q# ?1 Q& j! ^" p$ o5 Z8 ]1 z
  1197. ; http://php.net/mysqlnd.mempool_default_size' s$ f( f& S# ]. A& I
  1198. ;mysqlnd.mempool_default_size = 160007 n5 z' w8 i. M- L- R
  1199. 1 ], r. V4 \, H, T, K8 B
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    6 ~, E8 f2 S2 T8 F# y4 s+ g# i
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size. T0 E; p! e' K; i' B( o+ K
  1202. ;mysqlnd.net_cmd_buffer_size = 2048# {; n+ _& b/ `  ]7 m! v3 Q
  1203. - L& h# m- l; }9 Q: ?
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    7 C6 h' N2 P; j& U2 G6 ~6 i% `9 [
  1205. ; bytes.4 T/ f# t, v" U5 S
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    ' [' e8 f7 M8 M( \5 b6 b
  1207. ;mysqlnd.net_read_buffer_size = 327685 O" t& Z' @2 }( ~0 f+ q
  1208. 0 Q. @6 {! p+ u/ l1 ]/ V
  1209. ; Timeout for network requests in seconds.
    " a* D* X" }, M  W3 T# z
  1210. ; http://php.net/mysqlnd.net_read_timeout8 I; I& Z$ W2 F0 B0 i
  1211. ;mysqlnd.net_read_timeout = 315360006 L" v- j* {! f

  1212. 2 u0 _+ `% t) x/ F7 Q
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA/ l+ T- n1 r* i) Y8 d) n) X2 w
  1214. ; key.  D; W) d% @# ]0 p+ `3 E& i7 _
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    4 _9 s- |& C0 q& p) F& S; t
  1216. ;mysqlnd.sha256_server_public_key =
    6 x/ o) R' S3 O* K! V" Q1 r
  1217. ) ~" {# m" {+ I: ~* C4 }% i
  1218. [OCI8]
    , N0 S( b  K% W: n

  1219. # F9 O$ Y; z7 S0 ~
  1220. ; Connection: Enables privileged connections using external: L; J  N$ [) Q% f6 K
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    7 X8 i/ Z1 d- w" p2 Z+ a/ {% Y0 B3 C
  1222. ; http://php.net/oci8.privileged-connect
    3 u/ }2 m. V+ t; {
  1223. ;oci8.privileged_connect = Off' }# d; {. t0 U+ Q+ b
  1224. 5 T" H  ]2 C' C" z+ P! f; n. N+ b
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    , W1 e/ g6 y2 T6 T" h
  1226. ; process. Using -1 means no limit.- E8 }+ \# ]: ?
  1227. ; http://php.net/oci8.max-persistent1 _2 l6 |6 t) D9 |' f7 v1 m
  1228. ;oci8.max_persistent = -1
    ( V' b& `7 A6 x$ ^8 K$ v$ C
  1229. ' w. r* X5 W5 P* k4 t& C
  1230. ; Connection: The maximum number of seconds a process is allowed to% l+ g% `: i$ j2 l
  1231. ; maintain an idle persistent connection. Using -1 means idle8 Y2 P6 n' B0 t( R
  1232. ; persistent connections will be maintained forever.
    0 \' ]( k# U3 R$ y9 p) Z
  1233. ; http://php.net/oci8.persistent-timeout
    0 X0 L9 O! \$ b9 Y
  1234. ;oci8.persistent_timeout = -1
    # {* a9 |5 s7 g+ C" w

  1235. $ s9 L5 ^: S6 Y  D2 J
  1236. ; Connection: The number of seconds that must pass before issuing a7 s7 X- F8 X* e" v: x0 f) O
  1237. ; ping during oci_pconnect() to check the connection validity. When
    8 X( G9 O/ Z5 _. \* M' M/ n3 r
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables& b- z2 s" X/ L, S) V: J
  1239. ; pings completely.
    9 l4 T0 N/ U0 J* N+ P8 x" a
  1240. ; http://php.net/oci8.ping-interval
    0 ^& F/ y! P$ a8 I. o* G* l' S, m: l
  1241. ;oci8.ping_interval = 60
    % p1 R0 n3 F2 E5 V9 f/ P

  1242. + {! z7 t# G2 X& s3 g2 ]( Z
  1243. ; Connection: Set this to a user chosen connection class to be used
    # N. a; J2 f4 `3 L; {* d0 e
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    6 @& p9 j! Y$ x
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to. Q8 [) [/ A2 y8 c
  1246. ; the same string for all web servers running the same application,
    . M* Z3 y9 m( i7 V5 p* o* ^
  1247. ; the database pool must be configured, and the connection string must8 h+ ~# z3 b  ]: Q
  1248. ; specify to use a pooled server.0 O8 L' J5 `! o0 U& |9 i
  1249. ;oci8.connection_class =
    9 q$ g8 i& b% V0 z- U

  1250. , J( R. j+ C2 w# D0 {5 }
  1251. ; High Availability: Using On lets PHP receive Fast Application
      K& }/ c2 b! y2 h9 @3 M; [9 v  L
  1252. ; Notification (FAN) events generated when a database node fails. The
    + \! d( K/ d2 ]# Z# c3 V! K: K" H
  1253. ; database must also be configured to post FAN events.3 L9 O/ p3 F$ \6 y! l" ]$ R2 E& z7 z
  1254. ;oci8.events = Off
    , I+ p6 E" h8 M) J) w
  1255. : e. }0 O; v7 E) @
  1256. ; Tuning: This option enables statement caching, and specifies how
    7 [* s' S/ y$ v: |0 ^
  1257. ; many statements to cache. Using 0 disables statement caching.
    & Z7 j) w$ \# @% b3 |* U# ~
  1258. ; http://php.net/oci8.statement-cache-size
    % E# B& Z% I! t) r1 a0 B
  1259. ;oci8.statement_cache_size = 20
    / i6 C0 c# M7 S4 d* G
  1260. . N- i1 f" {% ^2 M5 i4 L& H) I
  1261. ; Tuning: Enables statement prefetching and sets the default number of2 C4 _* s3 q9 w8 Z8 d4 C
  1262. ; rows that will be fetched automatically after statement execution.
    " S: }8 s+ M% J: ?0 W
  1263. ; http://php.net/oci8.default-prefetch$ |3 v+ M( j, p; t
  1264. ;oci8.default_prefetch = 100  m3 c( [- N/ ~  G
  1265. - y* Y) i5 \2 G3 x) w5 X# G# N
  1266. ; Compatibility. Using On means oci_close() will not close
    9 c8 l/ g6 }4 j
  1267. ; oci_connect() and oci_new_connect() connections.  [( a" @  o9 }: C( @
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ( @6 I! s7 i/ q/ n3 R* k1 _% ]
  1269. ;oci8.old_oci_close_semantics = Off
    * @5 s$ N6 t: S
  1270. , j% _1 w3 k% K  e4 K( O
  1271. [PostgreSQL]2 S6 U3 o0 {- ?" u& k: N7 J
  1272. ; Allow or prevent persistent links.9 g6 x3 |& f; F: U' w# P
  1273. ; http://php.net/pgsql.allow-persistent
    2 @2 f* d0 e$ H  u% s+ _
  1274. pgsql.allow_persistent = On* u. c/ _+ D: k/ j7 Y0 ]# X' h. t
  1275. # V. [* n1 B4 e2 G
  1276. ; Detect broken persistent links always with pg_pconnect().
    % d* P0 I1 U: g6 {3 u
  1277. ; Auto reset feature requires a little overheads.
    & R  E' e) D( {# H  T
  1278. ; http://php.net/pgsql.auto-reset-persistent
    9 I5 g" @# l5 ^) y% y, x2 V8 c. {
  1279. pgsql.auto_reset_persistent = Off/ q3 i- L/ |1 i7 n6 `& i) m
  1280. 5 t  Z& b( E9 h. Q0 W
  1281. ; Maximum number of persistent links.  -1 means no limit.
    , V0 T/ l; Q3 O- N* u
  1282. ; http://php.net/pgsql.max-persistent! v! Y8 X; A( Y' |; W" A9 `  {
  1283. pgsql.max_persistent = -1
    - f( i' |6 I2 d7 ~& W8 U$ p/ r# A

  1284. " C4 h+ L( J  g9 J& |# p
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit., g. h( J$ [) [6 D/ B% q2 j
  1286. ; http://php.net/pgsql.max-links
      \# Q. [3 D( p% k8 Z6 o
  1287. pgsql.max_links = -1
    / Z# z( O+ H; y6 h" Z

  1288. / E6 x: s+ z. P& }$ p2 h
  1289. ; Ignore PostgreSQL backends Notice message or not.( a" u! }& O) a. F2 {/ F" R
  1290. ; Notice message logging require a little overheads.
    " k6 T# r1 Z  Z" M* Y
  1291. ; http://php.net/pgsql.ignore-notice
    7 f, _* v: T0 K
  1292. pgsql.ignore_notice = 0% `; Z, b1 f+ K7 m2 X; i

  1293. $ `# g" y* Q3 k! J% |, A
  1294. ; Log PostgreSQL backends Notice message or not.
    ' T9 G8 X9 Q# z8 k" P
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
      S) P! b% P( Z8 E1 G$ I, r) a
  1296. ; http://php.net/pgsql.log-notice7 T; ?/ J, W. U% H( ]
  1297. pgsql.log_notice = 0( x9 k; _# i2 W

  1298. : m" }) N9 e0 `7 M4 K$ u
  1299. [bcmath]
    ( N5 Q# S" V: D0 |) ^# K  d, q
  1300. ; Number of decimal digits for all bcmath functions.
    " K) Y. X% T# j  s- [5 v2 i3 m- m
  1301. ; http://php.net/bcmath.scale
    ( d9 o6 e$ M# b/ w
  1302. bcmath.scale = 0
    / Z5 h( f- h" f" T" [( {

  1303. ' Z$ m+ x% z6 j; @3 B! D
  1304. [browscap]
    3 z4 G1 ~3 @  c' t, P) j9 k
  1305. ; http://php.net/browscap4 w7 O7 c2 y1 H$ S0 {6 M; M4 {4 k
  1306. ;browscap = extra/browscap.ini
      s. B5 ]- C9 [& E

  1307. % s7 e% {& g' b+ }
  1308. [Session]
    , k8 u  ^; r$ r5 ]6 i
  1309. ; Handler used to store/retrieve data.
    ( n$ ?3 A4 F# C1 \" h# W3 q
  1310. ; http://php.net/session.save-handler
    6 H- |. z: l% K2 r# H: d
  1311. session.save_handler = files' I2 w. n: k! {7 k! m0 L8 e

  1312. 7 g& k! ]0 l1 M& `  s5 Y! N* @! z
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    , t) k! w% W: w8 z. _+ Q
  1314. ; where data files are stored. Note: Windows users have to change this; N& z  Y, }: I# x* Y
  1315. ; variable in order to use PHP's session functions./ `( @0 D, I+ `1 `$ l9 ~& A& N! R
  1316. ;% r: p- S) n. c% A& F
  1317. ; The path can be defined as:0 z! ~9 Z, ]' P* E% `, F
  1318. ;! w0 V' N! L7 n/ v3 {+ E, D3 \% A
  1319. ;     session.save_path = "N;/path": B) ^% r# D7 S# L1 _
  1320. ;2 m- }, K# |3 t  e; ^( y
  1321. ; where N is an integer.  Instead of storing all the session files in
    ) }' ]+ x8 e3 r8 R
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    , h0 E" f9 }, z) M( Y8 {
  1323. ; store the session data in those directories.  This is useful if
    ' D$ ~  z. _# s( u
  1324. ; your OS has problems with many files in one directory, and is9 k% j. ]* Y% _; @
  1325. ; a more efficient layout for servers that handle many sessions.- u0 G0 `9 y, _! ]2 n& }& m4 E' s
  1326. ;
    7 {& }3 f5 w$ ?: G9 }, Q) t
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    8 P' a$ `8 x/ C3 j9 I. ^% |
  1328. ;         You can use the script in the ext/session dir for that purpose.$ S# v0 S# w% I
  1329. ; NOTE 2: See the section on garbage collection below if you choose to' ?& A. `2 @! g
  1330. ;         use subdirectories for session storage
    ' L8 E1 @0 ^' Y9 N5 A) |9 }
  1331. ;! p/ T- s, M6 s4 }: k  @. b
  1332. ; The file storage module creates files using mode 600 by default./ [. }0 ~$ |& G- S
  1333. ; You can change that by using8 a  x3 W- h/ U" `* V2 K
  1334. ;
    ) H+ m* C* S& J! \$ |2 u9 y" _
  1335. ;     session.save_path = "N;MODE;/path"
    1 ~$ M" ]( `2 ?/ v
  1336. ;
    6 m6 V2 e# B. E% \0 v0 t
  1337. ; where MODE is the octal representation of the mode. Note that this2 X. o# P7 q- D5 m0 S6 U$ ?
  1338. ; does not overwrite the process's umask.
    $ h7 @% z! x. g
  1339. ; http://php.net/session.save-path& O* s% n  |: ?* S( P3 D
  1340. ;session.save_path = "/tmp"
    ! H& y- z2 c. K
  1341. ) o6 Q' ~+ b( n( X
  1342. ; Whether to use strict session mode.
    + w  S* D- ]& l# V' k% p5 W
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate8 _6 A9 K% M* C% y& y
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
      o& p6 I% b3 C' C$ M
  1345. ; applications from session fixation via session adoption vulnerability. It is
    ) d" I- ^) z! a, }
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.- K+ E1 j8 [# _) d. E. P9 O
  1347. ; https://wiki.php.net/rfc/strict_sessions  R6 ~( |( x  f: i' {
  1348. session.use_strict_mode = 0
    8 g$ U" W) f7 v' l% V5 Y

  1349. 7 a% W0 `6 M7 W; I" c0 t; W
  1350. ; Whether to use cookies., i& v. \2 R7 R! Y; E
  1351. ; http://php.net/session.use-cookies% ~* N; [* y3 `% B5 ~: Z; v
  1352. session.use_cookies = 11 K: S: Q2 o/ `" w9 T3 u  ~
  1353. 5 @; `5 C7 \5 m% A0 O
  1354. ; http://php.net/session.cookie-secure- |, A  |! m' e- C. X
  1355. ;session.cookie_secure =
    ' l+ p# A2 q  P- I$ H) u! B6 R
  1356. 6 P  s; P  H2 ]/ Y
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    1 c) D, {- q/ O$ q  E
  1358. ; the session id. We encourage this operation as it's very helpful in combating- N. K% Y$ ~) r, h! [
  1359. ; session hijacking when not specifying and managing your own session id. It is
    " ~$ V+ ]- o' I
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
      Y4 @; w$ s1 \4 e- {- O) w+ ~- A
  1361. ; http://php.net/session.use-only-cookies
    0 B" O  C2 {3 D) x# L# n
  1362. session.use_only_cookies = 1
    . A  _, O! Z( c( ?
  1363. + C6 z5 B5 t, f+ H7 j$ r. s8 u
  1364. ; Name of the session (used as cookie name).
    / H+ T! D  N0 R; B0 I) ~' x/ [) ?4 W4 e
  1365. ; http://php.net/session.name
    $ \* `! r7 d. Q
  1366. session.name = PHPSESSID: U) _. v+ p' l4 k1 L. M
  1367. 7 M, }. c# {( g# U: D/ _2 J
  1368. ; Initialize session on request startup.8 K8 j. @9 Z/ \1 u" H5 R
  1369. ; http://php.net/session.auto-start
    6 S9 {/ D7 K5 r& t
  1370. session.auto_start = 0: O( H/ i& o/ c

  1371. + I. \1 D/ b" C/ _% Q
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    # ^) G% S3 I& k) R1 h( x& ^
  1373. ; http://php.net/session.cookie-lifetime
    4 }# ?/ D& e4 [' r' ?+ J" D
  1374. session.cookie_lifetime = 0
    % d. }5 t; j$ R, m1 Y) Z
  1375. & `: f6 O6 O: R* X- Q
  1376. ; The path for which the cookie is valid." b5 Q/ _1 Q% M
  1377. ; http://php.net/session.cookie-path, _: R" \) D# {% J7 V( w
  1378. session.cookie_path = /
    ; F8 G+ c2 I  x$ O3 V

  1379. ; q& e) R: F7 q8 d. @& H
  1380. ; The domain for which the cookie is valid., `; d0 U% {; V7 f9 c- n3 g% E& O- ?
  1381. ; http://php.net/session.cookie-domain  V) [+ E# E7 K) f+ c+ s0 E2 b
  1382. session.cookie_domain =
    , b5 C) y9 i" I4 u4 @

  1383. ) \1 R; g7 G; O3 l% u$ @+ R  R
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.. u/ p$ v( i; J8 {
  1385. ; http://php.net/session.cookie-httponly# E& ~; k. |! C+ u+ _- i5 V
  1386. session.cookie_httponly =' }) [5 L. M$ V, ^8 v2 D, j% F" D+ a
  1387. 5 p( g1 o" [6 Q4 q7 o% ?2 `, i
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
      [) ~1 Z* n& a. \$ E8 E3 F
  1389. ; http://php.net/session.serialize-handler
    , c7 _; _' E! f; q
  1390. session.serialize_handler = php# R9 t5 Q  Q, Z
  1391. - M( m" M. a! A, Z
  1392. ; Defines the probability that the 'garbage collection' process is started
    5 W9 C/ `) J& d! G
  1393. ; on every session initialization. The probability is calculated by using
    3 \& i3 B6 G; X9 @9 i$ e5 j
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator/ ]3 E5 k- y, u8 |+ x. ?' a) o
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    + b" [/ K- h3 v: i' x( B% k7 q
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 f4 P1 ]& P) s2 i8 u
  1397. ; the gc will run on any give request.) w, o2 C$ @; c1 H. ]( M
  1398. ; Default Value: 1
    9 ~1 ]; X' a) j
  1399. ; Development Value: 14 i0 V# H$ b4 Q/ N4 @2 t: A7 a
  1400. ; Production Value: 1( A( j- c2 B5 Q
  1401. ; http://php.net/session.gc-probability
    ; Y. q1 [1 k/ H# H: B& F
  1402. session.gc_probability = 1
    , }( E2 F$ Y: L7 z0 Z' U8 f
  1403. ) X. K! i$ J$ u% {. L& \
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    " u0 m2 v- L1 M
  1405. ; session initialization. The probability is calculated by using the following equation:
    & B' a! W5 x1 u
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and' J& R5 B/ d2 ^% |, T/ X: B; J
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    $ i  F1 k1 t% j) h$ w
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    7 O0 Q- R1 S) o2 G8 f
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    5 U; R  v% G' }+ N. H3 f$ A) J4 W- J
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,  H+ x9 C+ K! \2 H$ S
  1411. ; this is a more efficient approach.
    * `0 n& @" [- n! i; Y( P
  1412. ; Default Value: 1007 v+ x/ j" R( U* W4 V$ W3 Y
  1413. ; Development Value: 10002 |0 Y, i1 l" A2 B; w
  1414. ; Production Value: 1000
    6 t- y* `: q; ^2 h, A3 T* _; J+ o3 H
  1415. ; http://php.net/session.gc-divisor) }2 v4 J& A- w
  1416. session.gc_divisor = 1000
    8 U6 i' M7 o- a1 s4 b8 F& b  b

  1417. 5 x& G( Q3 t& E; \5 ~' O
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    4 B5 o/ i; J! D" ^" C
  1419. ; cleaned up by the garbage collection process.# Q! x( v1 b* g6 a
  1420. ; http://php.net/session.gc-maxlifetime4 d- I* ^5 {( m- R! a
  1421. session.gc_maxlifetime = 1440# f; \) x0 B9 ~: O* q7 q

  1422. & X, r" u9 k8 O8 j" G& T5 L
  1423. ; NOTE: If you are using the subdirectory option for storing session files! X5 B: E8 n! ]( k4 l& z
  1424. ;       (see session.save_path above), then garbage collection does *not*
    4 q, m. j3 N' O3 |, q0 x" U
  1425. ;       happen automatically.  You will need to do your own garbage
    5 E. v% i7 S4 A3 b$ T
  1426. ;       collection through a shell script, cron entry, or some other method.( B$ ?1 [  G; L# R
  1427. ;       For example, the following script would is the equivalent of
    $ a2 j* R+ L' b/ K' R; N: _; p
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    % w& Y9 a( z% `. z9 y1 r
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm) X! C/ h' s  i% ?
  1430. ; v3 s6 J/ P" H' v
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    2 B: o% q1 P8 E) o
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ( W3 P1 n+ z6 e
  1433. ; considered as valid.
    % B' {' i5 K0 A/ Q6 `6 q
  1434. ; http://php.net/session.referer-check8 \& ^8 s$ w* g/ K- V4 @
  1435. session.referer_check =
    ( u0 e2 H  Y  B! j

  1436. 0 B6 |( N, H0 m
  1437. ; How many bytes to read from the file.! N& e- v2 w4 l4 ?* c+ i5 L2 |
  1438. ; http://php.net/session.entropy-length! a0 _. M) z5 f: R# t* O3 l8 f6 O
  1439. ;session.entropy_length = 32
    : C" d: @* j: b) I+ B1 O3 z. }2 G
  1440. & ]$ }0 g. N+ e
  1441. ; Specified here to create the session id.
    0 u- A9 A2 O* @3 w9 V
  1442. ; http://php.net/session.entropy-file6 l0 [) f  v9 z5 o. r  Z1 k
  1443. ; Defaults to /dev/urandom
    2 {/ _# P/ \0 X. E; n/ F! R+ Y! D- E
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    8 k' _4 E  U, F
  1445. ; If neither are found at compile time, the default is no entropy file.& U6 F6 p3 Z# N
  1446. ; On windows, setting the entropy_length setting will activate the
    ! f5 A7 A8 v9 A8 k5 Z9 ^
  1447. ; Windows random source (using the CryptoAPI)
    ) \' E: V! N, B# j6 c- d! ]/ u7 b
  1448. ;session.entropy_file = /dev/urandom
    + J, h# n2 i- R& W

  1449. $ |. l( f: B( |+ u
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    : X& W, m3 i4 p% A
  1451. ; or leave this empty to avoid sending anti-caching headers.
    5 _+ G% ~3 |1 B1 L# e
  1452. ; http://php.net/session.cache-limiter% k( D1 y: T2 {& \' t# I. j$ W
  1453. session.cache_limiter = nocache
    ' B: x+ ^% t% `; V: N3 U
  1454. 8 f9 k' t, s, ^7 L4 Q) W8 q
  1455. ; Document expires after n minutes.
    5 Q. v9 o+ \. b0 o5 b
  1456. ; http://php.net/session.cache-expire$ w  G+ O) C- ~, P* d7 C
  1457. session.cache_expire = 180
    1 Z+ t* a2 g4 Z' I
  1458. ; c, @1 j/ \; L7 y9 f( ^: V
  1459. ; trans sid support is disabled by default.
    8 V+ J) B+ h5 A6 Z/ H4 V
  1460. ; Use of trans sid may risk your users' security.* w& O/ J( k# Y7 m
  1461. ; Use this option with caution.; t9 t$ h+ E& c1 ~! O
  1462. ; - User may send URL contains active session ID7 o6 S* G/ m9 G  A
  1463. ;   to other person via. email/irc/etc.
    $ {* H) a1 T, `* S# \
  1464. ; - URL that contains active session ID may be stored
    7 I; _7 S; H' R; d: w8 b- u8 K, c
  1465. ;   in publicly accessible computer.
    + t) m8 o  u2 h7 N
  1466. ; - User may access your site with the same session ID
    ; @; r6 z" l# H
  1467. ;   always using URL stored in browser's history or bookmarks., w. U+ D) `. [$ ~) U
  1468. ; http://php.net/session.use-trans-sid
    0 @0 S/ h. p2 H- r+ x% O
  1469. session.use_trans_sid = 0
    7 S1 A, j5 ^) @( Q& [: N8 G2 ^

  1470. 5 `4 J4 `3 W6 b: y0 o
  1471. ; Select a hash function for use in generating session ids.
    ( r) W  s! p: c, F9 _9 b
  1472. ; Possible Values5 S  o  K# T' v1 `: t7 I
  1473. ;   0  (MD5 128 bits)5 `* Z" R; J/ }6 J! K' v
  1474. ;   1  (SHA-1 160 bits)
    6 {2 \* Z$ h  T5 S
  1475. ; This option may also be set to the name of any hash function supported by) W& Z# ~) q, Q) c
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    % p# r$ M0 W" f" h; `
  1477. ; function.
    8 L+ e! x1 i' W9 M
  1478. ; http://php.net/session.hash-function, @. e" I, k9 y: O& |) x0 t
  1479. session.hash_function = 0
    . V" i5 T+ ~, o+ G2 K
  1480. . r/ @! r- H& Y( S
  1481. ; Define how many bits are stored in each character when converting" m9 p3 `# k$ N  L
  1482. ; the binary hash data to something readable.1 `+ j. A: g7 l$ c; E7 K1 z( [
  1483. ; Possible values:5 e; N* {: M" g( u" Y4 q# x
  1484. ;   4  (4 bits: 0-9, a-f)8 |; F7 A& v  n2 g( w- V) A/ c! l+ E
  1485. ;   5  (5 bits: 0-9, a-v)3 |  Y; J. O4 D  S; B
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    * o! z  ?7 }. i9 [  S0 ?7 z5 m6 l
  1487. ; Default Value: 4
    + R6 C; _; k. F; b
  1488. ; Development Value: 51 w8 @5 S. E9 k9 y3 M) ~
  1489. ; Production Value: 55 f! s: G- ]7 E
  1490. ; http://php.net/session.hash-bits-per-character" p$ Y- J7 h& F$ q0 d
  1491. session.hash_bits_per_character = 5
    $ G+ u6 E3 v0 W& c. b

  1492. 3 c! ~7 A$ \/ z* m5 [
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ; W/ V: ]+ ?+ ^. w  ?) b9 ^! k
  1494. ; form/fieldset are special; if you include them here, the rewriter will7 B, g( U* }  m4 H: `% v3 V
  1495. ; add a hidden <input> field with the info which is otherwise appended6 j" }: h0 n: |4 ?* S, D
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.3 a# ~' Q, B( B/ ^5 g9 r
  1497. ; Note that all valid entries require a "=", even if no value follows.
    : I" p0 y2 Z5 K7 r$ s5 h
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
      ?: U' H0 x, C  D, p
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& B3 G8 D* r8 y" c& x" c& [: M" R
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! T) M; Z7 H* V- H( g/ T: A
  1501. ; http://php.net/url-rewriter.tags( ~  w( J. k0 b# [/ Q  [. b. L5 v
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"& K5 V! m; z, W6 M$ R5 u
  1503.   R% c9 f; U+ H& s# n
  1504. ; Enable upload progress tracking in $_SESSION* O( u" \  i+ ?( {0 E+ s* S( y9 ]
  1505. ; Default Value: On/ ^2 \6 c- V( G
  1506. ; Development Value: On
    ) |9 n. p  W* ]
  1507. ; Production Value: On' T& P$ O, Y  a9 C
  1508. ; http://php.net/session.upload-progress.enabled
    4 w# m# W% _. O2 H6 x
  1509. ;session.upload_progress.enabled = On. y- d' e2 y7 o- L9 p; f
  1510.   }3 C8 R- j* \+ K5 ?
  1511. ; Cleanup the progress information as soon as all POST data has been read
    : ^; o, \: v0 X. q$ M7 ]) ^
  1512. ; (i.e. upload completed).: K; w: [! C$ P
  1513. ; Default Value: On
    1 R" c7 a5 ^5 ^
  1514. ; Development Value: On' \* c8 t, A2 v# G0 ?1 a' @$ W
  1515. ; Production Value: On
    ( X/ m* [* g5 C2 x/ ~" E5 T0 p
  1516. ; http://php.net/session.upload-progress.cleanup' L- P% x5 d" \: }( O, p6 @
  1517. ;session.upload_progress.cleanup = On2 Y) T5 \, L. B3 ~. ^
  1518. 5 m. L, Y; X" K2 J$ r6 G% h. p. a
  1519. ; A prefix used for the upload progress key in $_SESSION1 `& m- d$ y1 T3 `. H& m
  1520. ; Default Value: "upload_progress_"
    # @- z5 R. h- {4 Y7 u
  1521. ; Development Value: "upload_progress_"
    ; u- O% R5 Y& K' ~7 K
  1522. ; Production Value: "upload_progress_"+ B! S5 ~  j! l2 q. `8 e5 ]! L8 y
  1523. ; http://php.net/session.upload-progress.prefix* X- v# `, {) u, _: M
  1524. ;session.upload_progress.prefix = "upload_progress_"5 C4 [: |% r+ y* m
  1525.   {! N$ z: k0 L9 f; T7 P
  1526. ; The index name (concatenated with the prefix) in $_SESSION  g& _/ {) J+ U& {% r4 w
  1527. ; containing the upload progress information
    ( M" s8 Z) A9 {0 Y2 x$ \! z7 Q" n
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"- ^  Q! U* ~) o/ P1 e
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"* M* J- O- i7 T3 w: f( j
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS". Y( P& j) T% l; S7 |
  1531. ; http://php.net/session.upload-progress.name% q( `% ^4 j( W; n! r1 [1 V
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"+ Q& x- W5 a, X# S6 \3 b8 s, Z
  1533. 3 G* I2 y2 a' n: A# u1 @' h
  1534. ; How frequently the upload progress should be updated.$ A3 n/ ^' H5 w; k
  1535. ; Given either in percentages (per-file), or in bytes
    7 H. D. |+ L0 x9 \, v' }: Y% D6 Y
  1536. ; Default Value: "1%"
    . z' W  Z) L9 u" r( S
  1537. ; Development Value: "1%"3 _* Z7 q; c# a
  1538. ; Production Value: "1%"+ N4 N$ a' ?9 G8 x* ~
  1539. ; http://php.net/session.upload-progress.freq% \9 |& M. P- K
  1540. ;session.upload_progress.freq =  "1%"
    3 G6 R2 q3 w; i( P$ m$ W8 W

  1541. : [, o1 y$ [' Q3 @. H
  1542. ; The minimum delay between updates, in seconds# f& G! w0 b* G% B2 J+ d$ k- K
  1543. ; Default Value: 1
    % ^) s; w. p& H$ \
  1544. ; Development Value: 1
    % ]; D. X7 `) e6 c/ r, n. F& X
  1545. ; Production Value: 1
    9 s( V* L# @) o* c/ ^
  1546. ; http://php.net/session.upload-progress.min-freq9 c  I' S1 _3 h9 k- G8 I5 @5 Y7 P
  1547. ;session.upload_progress.min_freq = "1") y. ?0 W. w  ?1 g; Q0 v* d' s

  1548. ; q5 \4 g/ _. n  W) B
  1549. ; Only write session data when session data is changed. Enabled by default.
    2 N. y/ @8 u& s- `( f) S+ i
  1550. ; http://php.net/session.lazy-write
    ; ?/ q& ?% X6 k2 g5 x1 Y
  1551. ;session.lazy_write = On
    % p% q5 l4 h. g% S
  1552. ! U. }$ j+ z! W9 Q" [/ C+ Q
  1553. [Assertion]
    ! `+ M% I0 S8 _6 P# C2 j) R4 z# x2 o
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)% K% K# A3 I1 p0 y( g
  1555. ; -1: Do not compile at all
    9 _0 x: c; c% X+ `" |4 j: j
  1556. ;  0: Jump over assertion at run-time
    7 V& n1 B- a' {$ R0 ?4 D
  1557. ;  1: Execute assertions5 ^/ z8 Q/ a) \+ ^
  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)
    ( H& q) ]$ C3 r$ H0 E" B5 f6 N
  1559. ; Default Value: 1
    7 y$ C# Q7 L( Z- Y1 W9 P( V
  1560. ; Development Value: 1
      g$ x1 n3 {6 Y! z$ ]: N
  1561. ; Production Value: -13 M8 u( i* Y7 z) p
  1562. ; http://php.net/zend.assertions8 a1 o; E; R! h: U9 `1 i
  1563. zend.assertions = -1
      {$ s4 M/ ], N- T; {

  1564. * I) G5 [: @. i6 q/ J8 \
  1565. ; Assert(expr); active by default.3 O& @+ I! a4 m0 {" `. O8 ^
  1566. ; http://php.net/assert.active
    7 L# B) _* x0 C' [
  1567. ;assert.active = On
    ; }8 ?8 Z- ?8 ^, F! w. x  |: e
  1568. 5 w2 @1 u! Z5 g
  1569. ; Throw an AssertationException on failed assertions, r6 f9 j/ u3 \6 G: Q* ~5 U6 l
  1570. ; http://php.net/assert.exception
    - y4 r6 @8 C) |; r" |; \
  1571. ;assert.exception = On
    # e! y; G# N6 S8 a7 I8 Y1 V
  1572.   E* ]/ A$ ~1 Y3 E" X
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    $ z# b. u: a5 G3 z7 w
  1574. ; http://php.net/assert.warning
    & w& o: w( s: K- ~
  1575. ;assert.warning = On' |, @$ s6 e) V) {

  1576. 2 s; ~* q: l) [9 n' o, N) j: q
  1577. ; Don't bail out by default.0 b( p2 @6 x/ H7 I: W- E- `6 o3 z
  1578. ; http://php.net/assert.bail+ [$ \0 Q7 i. `/ H% m) C0 h4 H
  1579. ;assert.bail = Off1 J9 T$ I/ @$ r. Y8 ?( z3 D
  1580. & ^  Q2 F9 h6 q6 j; X
  1581. ; User-function to be called if an assertion fails.
    ' @% o6 h6 W% V' w2 B0 |0 l3 D
  1582. ; http://php.net/assert.callback
    + Z! w5 y7 p9 P8 x0 D, V
  1583. ;assert.callback = 0. \5 z1 E+ o; L6 O/ a7 I

  1584. ) {, n# M# E0 A! \
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    " P$ _. H- e) h/ R6 o2 o
  1586. ; error_reporting(0) around the eval().
    $ _0 F* p! J; W
  1587. ; http://php.net/assert.quiet-eval+ d% a8 J5 ~) B' s; S1 Y2 A6 Z6 W% z
  1588. ;assert.quiet_eval = 0
    # W8 R" ]+ s% a$ x
  1589. 7 n: t* S( D) w: h8 E. n$ P
  1590. [COM]7 G* z6 N& @1 L
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs( n) u8 X! C8 q: k
  1592. ; http://php.net/com.typelib-file
    3 I7 m: q6 O  O
  1593. ;com.typelib_file =+ I  G$ }. ^& N# z  |
  1594. 6 Q9 V& S. i8 Y$ p" }# V
  1595. ; allow Distributed-COM calls7 ^6 F6 I& Z) K8 U& S
  1596. ; http://php.net/com.allow-dcom
    4 O2 N1 U* p1 Z! {3 @) f
  1597. ;com.allow_dcom = true, x+ D, u: N0 f* R3 D# n2 d

  1598. / Y; f6 T  |- e( B5 W9 m
  1599. ; autoregister constants of a components typlib on com_load()3 o7 t+ r8 `9 R' r5 }) a
  1600. ; http://php.net/com.autoregister-typelib/ k0 J+ c% l- a4 `/ }* P
  1601. ;com.autoregister_typelib = true/ w" @" o& q$ k- j# n# L5 I
  1602. 1 |  n5 q7 d2 d* p
  1603. ; register constants casesensitive' v% A# p9 X+ e9 q8 |% z
  1604. ; http://php.net/com.autoregister-casesensitive" u5 M7 p; V: M
  1605. ;com.autoregister_casesensitive = false
    + T! f' [( d# I0 x4 j1 c" `

  1606. 9 K/ y; g5 d& W  e& u: w
  1607. ; show warnings on duplicate constant registrations( ?9 N, b- d# L- d& J/ E
  1608. ; http://php.net/com.autoregister-verbose
    2 S& c7 e: K! Q5 {5 @8 ~  q
  1609. ;com.autoregister_verbose = true8 x, h) B1 O! G6 w5 o) {  K; d; @2 ~
  1610. 6 z9 f+ L! w1 |0 P) |6 t% }
  1611. ; The default character set code-page to use when passing strings to and from COM objects.& i7 J$ C! H* G- x& W
  1612. ; Default: system ANSI code page
    5 @6 d: C: `/ S7 Y: ~  J1 @  [& {- f
  1613. ;com.code_page=7 d: k/ M- Y3 z

  1614. : E+ @  Y3 C' `7 G; ^9 e$ N3 U
  1615. [mbstring]
    * o$ ?- {1 V+ z% f, ^' {
  1616. ; language for internal character representation.3 L. @5 o) c, s0 A: I$ v: F, A- ^
  1617. ; This affects mb_send_mail() and mbstring.detect_order.+ z5 {1 X' t  t% g/ r: F' n0 \9 l
  1618. ; http://php.net/mbstring.language
    3 C% N9 N/ `7 I/ g5 d
  1619. ;mbstring.language = Japanese
    / |8 z3 V' k5 L6 W' Y* ]+ f
  1620. : [+ d$ l4 b% f1 z: c$ C) x
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    / E" d( k- N8 R( u8 h
  1622. ; internal/script encoding.- ?/ y& I  V: \
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
      r2 c" x; ~& e0 n: w" F* H; q
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    3 E* @% O9 s% h
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding2 L+ b. |4 H6 |+ X% ?
  1626. ;mbstring.internal_encoding =
    - }* R" J) ]9 H* B; ~

  1627. $ S5 H1 ^6 J: u5 {5 ?- z" E5 T
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    3 S% o( W# \! Y3 J- u5 U
  1629. ; http input encoding.
    , S! B; f8 [; ]1 X" Y3 h6 V
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
      \: ]3 v3 H. [& d7 R
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    + b9 s: n8 P; x2 v7 N% |* `  m
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input6 U3 N0 O) z+ U* @3 d
  1633. ; http://php.net/mbstring.http-input/ N9 e, Z4 m  |$ c
  1634. ;mbstring.http_input =% q7 X1 ^* K4 p) x/ q5 K: S
  1635. 8 a5 @8 E: v* ]8 `( s; E2 Q. ~
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 l  M; T, J% _4 m
  1637. ; http output encoding.) [7 D& Y# k& P6 |
  1638. ; mb_output_handler must be registered as output buffer to function.8 I1 _, ^3 A: R3 [4 i
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.5 @  L" }/ C2 A  p: o1 H+ V7 C
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output( r- P* l& E/ C& N3 d+ n. a, L- c
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    * o2 o* a! O. T7 `  U" S9 J
  1642. ; otherwise output encoding conversion cannot be performed.
    ! Q6 N. R. p; b
  1643. ; http://php.net/mbstring.http-output
    6 }* }+ W8 d$ _9 j8 y
  1644. ;mbstring.http_output =3 z9 I' `, y& @' Q4 s

  1645. 1 i7 Z; t: s; B, Q3 P. b
  1646. ; enable automatic encoding translation according to
    % E4 I6 h9 [9 [6 l3 W
  1647. ; mbstring.internal_encoding setting. Input chars are# q& `. F9 V: E; R. Y
  1648. ; converted to internal encoding by setting this to On.
      K2 q  Q2 U; _* d# P
  1649. ; Note: Do _not_ use automatic encoding translation for& f/ ^' b$ m2 d* c, W1 z& |) G
  1650. ;       portable libs/applications.
    , C2 I' I; v* `6 j
  1651. ; http://php.net/mbstring.encoding-translation) S: {8 ]; i. D  z& B( `7 L* [
  1652. ;mbstring.encoding_translation = Off
      \0 Y) v5 U2 A4 r
  1653. / ^# r5 j3 x8 v- b/ F- b" }( H0 L
  1654. ; automatic encoding detection order.
    : }% D" Z+ Q4 Z- c
  1655. ; "auto" detect order is changed according to mbstring.language
    ! _- {; l1 j2 q2 C& v/ R) N0 @
  1656. ; http://php.net/mbstring.detect-order
    " _% E8 N- v" J" }& D
  1657. ;mbstring.detect_order = auto
    ! y, z; U1 |# }3 q% H
  1658. 0 V5 I2 G3 P3 u7 \: P
  1659. ; substitute_character used when character cannot be converted
    ; d; m: ]( t) }! X/ ]  X( y5 R# _
  1660. ; one from another
    " c! w# Q$ v, @8 N% U
  1661. ; http://php.net/mbstring.substitute-character
    3 O$ `) s/ _1 @4 n) L$ ?& u. A7 D# i
  1662. ;mbstring.substitute_character = none
    1 ]' m& o3 f4 I2 S5 p4 X+ e
  1663. ' a2 ~' |) J/ W8 e" j* ~
  1664. ; overload(replace) single byte functions by mbstring functions.' i: f5 {- B6 \1 F9 q1 b
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    . {! y* V# f/ h3 l% o
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.$ A# g# [& H/ j1 ]
  1667. ; For example, 7 for overload everything.
    0 f1 @2 u( c% k! b8 Y
  1668. ; 0: No overload
    : S3 y6 H) n0 y" v. y
  1669. ; 1: Overload mail() function# E8 v- q! H2 B, b$ l0 D
  1670. ; 2: Overload str*() functions" V. g& z) a. @! h' e0 a  [
  1671. ; 4: Overload ereg*() functions
      @, f# f4 |. K0 C4 w3 I
  1672. ; http://php.net/mbstring.func-overload1 o! I3 ~4 U3 s' `# U) U% V1 K
  1673. ;mbstring.func_overload = 0; R" ?7 J0 x: K& }4 Y

  1674. 7 g% A( n. S! S
  1675. ; enable strict encoding detection.' H, T& E# y" q0 a
  1676. ; Default: Off
    # n: E/ B. v; x( V6 c  I2 |5 K
  1677. ;mbstring.strict_detection = On
    ' a2 z6 A# a* d* R- e+ Y
  1678. * U5 r7 [  X) J3 Q* {/ ^/ e
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    & U$ W7 P7 ?8 ]8 R# D0 F1 D
  1680. ; is activated.! m3 v# u5 L9 {. u
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    0 `. ?- p( e+ x& }+ D7 v
  1682. ;mbstring.http_output_conv_mimetype=* b" n5 O  E' g9 H

  1683. ) z2 U9 C. V. S, ]+ x
  1684. [gd]
    & x% e/ c, U7 I: A* f& p' l4 Y
  1685. ; Tell the jpeg decode to ignore warnings and try to create! i! e. L, o7 l2 E' E
  1686. ; a gd image. The warning will then be displayed as notices
    & G% I+ D  d/ q# O
  1687. ; disabled by default* m' x: ^& G; W" h" I
  1688. ; http://php.net/gd.jpeg-ignore-warning  V: H, Y% F  q" ?: R
  1689. ;gd.jpeg_ignore_warning = 03 U( E% h6 g0 D$ Z
  1690. * w+ d* \9 {2 [( y* Q6 ~. I8 O
  1691. [exif]
    3 c. `! Z' z2 C. R" \2 K
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.+ W# j- p7 N" u# b' o% b6 y3 a8 z
  1693. ; With mbstring support this will automatically be converted into the encoding
    0 m* e+ f4 e$ N% B$ S
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    7 f4 W6 w4 O  }) H' d# D
  1695. ; is used. For the decode settings you can distinguish between motorola and
    / `# D2 ~6 v' w* b. z3 d
  1696. ; intel byte order. A decode setting cannot be empty.
    5 v; V! z+ g& {/ n9 d8 n( Y/ f" E
  1697. ; http://php.net/exif.encode-unicode+ v9 ]& n' T3 u1 B
  1698. ;exif.encode_unicode = ISO-8859-15+ i0 g( G! u& Y! S! L
  1699. ! n# p: g9 |; K( i9 A# T- P6 i
  1700. ; http://php.net/exif.decode-unicode-motorola. q( `& p  e5 Q/ U
  1701. ;exif.decode_unicode_motorola = UCS-2BE. i" @4 T" X5 ]5 k9 i# E# z

  1702. 2 M6 r. G2 O& U# y! p% a5 ]9 J
  1703. ; http://php.net/exif.decode-unicode-intel
    3 j, h: o, Q3 t! a
  1704. ;exif.decode_unicode_intel    = UCS-2LE+ X8 X" X% r& g1 }( P
  1705. * P" J$ v  x8 P# M6 {' z
  1706. ; http://php.net/exif.encode-jis  Z' m! e/ u) p
  1707. ;exif.encode_jis =
    . m7 |% }: H, @/ R
  1708. & Z, W5 b) C  w$ k9 G
  1709. ; http://php.net/exif.decode-jis-motorola
    ! S' q/ ~  A, Y
  1710. ;exif.decode_jis_motorola = JIS- [" V% Q' F6 B& x5 x$ {' {1 n4 z
  1711. 8 O$ J" }5 D* M0 D. A
  1712. ; http://php.net/exif.decode-jis-intel& y/ u5 v9 b" l8 k
  1713. ;exif.decode_jis_intel    = JIS# ]' Y1 ~6 H6 s1 k, T

  1714. 9 b7 i$ \3 z3 f; u1 ^+ j/ `
  1715. [Tidy]
    5 C" V, ~$ A1 t# v" J3 ]# j
  1716. ; The path to a default tidy configuration file to use when using tidy
    ( {1 P8 M" _( e! |2 O+ f7 G- H
  1717. ; http://php.net/tidy.default-config
    9 g! ^( u* D1 J: ?( {8 X6 }; t
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg! q; Q# v5 C- [

  1719. , o8 n2 A+ w& @# P
  1720. ; Should tidy clean and repair output automatically?  x, H4 c( y1 I1 E% W5 y8 v" L
  1721. ; WARNING: Do not use this option if you are generating non-html content
      R+ S- l/ p* h  D! L: Q
  1722. ; such as dynamic images
    , v" l$ V, B7 O+ N, q" \# Q
  1723. ; http://php.net/tidy.clean-output
    7 T3 R$ T, n! J8 C6 @' v, {6 w7 w/ z
  1724. tidy.clean_output = Off
    " a5 T+ V7 N, e# L4 b: f
  1725. * ?: x. C8 x7 d& b$ c3 A5 E. t
  1726. [soap]
    . _9 K* t  H, O' a+ E
  1727. ; Enables or disables WSDL caching feature." q" e3 @7 G" M4 r9 I1 Y# Y
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ; I0 x* I0 z, I  Y7 T2 y
  1729. soap.wsdl_cache_enabled=1
    , Y( f1 a. \1 k! F/ p# j) K* E
  1730. * M1 T2 p% u3 ^& N
  1731. ; Sets the directory name where SOAP extension will put cache files.1 r( W) [5 v- e2 J9 m
  1732. ; http://php.net/soap.wsdl-cache-dir
    8 V) h( n% {0 P+ k* |
  1733. soap.wsdl_cache_dir="/tmp"
    + a# i' S, X) N' @) M5 Z
  1734. % A+ A+ t+ f' @6 \
  1735. ; (time to live) Sets the number of second while cached file will be used; N/ g+ @! a2 O
  1736. ; instead of original one.
    8 G7 K$ }5 j  u  g; s5 H; h3 }
  1737. ; http://php.net/soap.wsdl-cache-ttl  G. |; ?+ N0 l8 T* Q. W! r" i
  1738. soap.wsdl_cache_ttl=86400
    ! _. h% v1 {  F% H
  1739. / \. ?9 ]3 G8 ]& D: a, O
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)1 l1 J- c% S. {3 }
  1741. soap.wsdl_cache_limit = 52 p( K# a8 {1 }! y4 O+ X6 G# W
  1742. " \- m) g3 t' _( U
  1743. [sysvshm]
    1 i7 z- t4 X( v* r# Y  R
  1744. ; A default size of the shared memory segment
    * e. k8 e( L8 G' f: o# e
  1745. ;sysvshm.init_mem = 100002 X$ l! T" t, E1 c4 a8 f7 V

  1746. : Y6 p  G* B2 S, [& c
  1747. [ldap]/ [& M, W* G7 y. K+ W1 X: [( x
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ( z, M( E8 R# E
  1749. ldap.max_links = -1
    % k4 _! u; Y1 @0 C

  1750. & ?9 ^. U; a( I* C
  1751. [mcrypt]2 M! W, i) D0 F1 Y! K
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open( e& w% d& X% m. K6 \: x2 J
  1753. ( @  P+ N4 m. q8 w' k) z
  1754. ; Directory where to load mcrypt algorithms
    , ?$ l0 r0 l8 x& n. j
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    & Y  J$ C. E9 G, a- r: w( L
  1756. ;mcrypt.algorithms_dir=
    - o1 ~1 |  n6 J* N. z

  1757. 3 W5 U6 L; O1 z
  1758. ; Directory where to load mcrypt modes
    ( u9 O% y, H/ Y
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    / b' d# s$ T6 C: f! F% U8 {
  1760. ;mcrypt.modes_dir=
    3 e( D: I1 [2 t- F: C2 g7 ^
  1761. : u7 V5 Q( g: w! V; v( a* w! I
  1762. [dba]
    ) Q" C+ ~4 Q6 |- Y/ C2 L
  1763. ;dba.default_handler=
    + j2 H: ]. Y; u, Z+ j) }1 @

  1764. / n6 g" Q) B& W* k
  1765. [opcache]
    ' u) o! ]# `% }4 e
  1766. ; Determines if Zend OPCache is enabled. ]* O/ y% p4 ]0 y! ~; M+ E/ p
  1767. ;opcache.enable=01 X# C8 ^8 C& c, [9 m( q

  1768. # }- C$ k& d7 I- c$ [7 w5 J
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    . m' c% Q$ K& t
  1770. ;opcache.enable_cli=0
    0 A( K- U# q$ j8 A1 m& x3 v
  1771. $ Z3 u7 ]8 v1 D+ X* i& M& ^% f; A
  1772. ; The OPcache shared memory storage size.
    8 x# i( s) p. ^$ \1 F# a: j2 d
  1773. ;opcache.memory_consumption=649 e9 Z& B* S, q2 E6 h

  1774. . A. W# Q& c/ t  H/ V6 ]
  1775. ; The amount of memory for interned strings in Mbytes.' c3 @, E- S1 [& d
  1776. ;opcache.interned_strings_buffer=4. B+ U; j+ R0 ~- J  w- X
  1777. 4 X3 X5 _2 e- \, e6 j; x1 ]
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.( p: e) Y1 Q) Q( t' T, m
  1779. ; Only numbers between 200 and 1000000 are allowed.
    2 g  g2 v8 O8 u6 {
  1780. ;opcache.max_accelerated_files=2000$ a; e, e4 C. L
  1781. 7 `* t9 P% m. i9 a
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.6 |0 f; e0 m" {
  1783. ;opcache.max_wasted_percentage=5
    $ o  f2 f# ?# y& h2 M5 w! j
  1784. ( o: a0 K: v# b/ {7 z; Z
  1785. ; When this directive is enabled, the OPcache appends the current working8 c! Q' f; o8 s  e% P
  1786. ; directory to the script key, thus eliminating possible collisions between
    ! Z7 Q! q* [0 f3 w4 q
  1787. ; files with the same name (basename). Disabling the directive improves
    ; [4 v0 }, E  A8 i  g: D% \& L/ `
  1788. ; performance, but may break existing applications.% {* ^0 K5 v8 T, q
  1789. ;opcache.use_cwd=1
    + M. S5 t' o% s! ?5 E) i
  1790. 2 M6 P$ d& y8 Q% ~9 E
  1791. ; When disabled, you must reset the OPcache manually or restart the
    9 ?2 V+ Q+ T, U7 e+ W1 l
  1792. ; webserver for changes to the filesystem to take effect.8 Z) m9 Q- x5 O: H$ V4 ]
  1793. ;opcache.validate_timestamps=1
    % j, ?  ]$ Z+ h- Z

  1794. 2 q4 c2 x9 K$ V; k5 Z
  1795. ; How often (in seconds) to check file timestamps for changes to the shared; ?% J3 w. I. d* O
  1796. ; memory storage allocation. ("1" means validate once per second, but only
      R' Y4 O/ d9 v7 W7 _( R; L) u
  1797. ; once per request. "0" means always validate)/ Q0 W2 v/ T7 @/ c' D$ P2 m4 N
  1798. ;opcache.revalidate_freq=25 s' k% h# v$ s& t( f
  1799. : O1 x8 J  [( w( X% {
  1800. ; Enables or disables file search in include_path optimization! R1 w) _# ]/ ]* E5 ^9 t
  1801. ;opcache.revalidate_path=0: R& `- L8 V2 o; Z& i! L3 Q
  1802. ; E0 I. L( a* a/ t
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    & B/ o5 t0 a9 l; V7 y8 W
  1804. ; size of the optimized code.- G4 t- P  |8 R0 @7 L# u
  1805. ;opcache.save_comments=1
    3 l) w3 Z# l9 b! ~7 e2 L" G

  1806. 9 G0 u8 R( p: y/ A# k
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    7 C. v% y! C! U5 G* E2 k+ u. y
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.0 U/ i# V3 D  s( j' z2 h0 [1 b
  1809. ;opcache.fast_shutdown=0. P+ W, u; r$ |% i4 k3 r, f

  1810. . D$ S% d: S7 @" p
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    ' S! `" P1 P' d3 M2 Y% m
  1812. ;opcache.enable_file_override=0
    + `/ x- u: l+ B0 h

  1813. ' M* [0 |) V, C7 g+ J
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    3 c# \: q: ~: P/ v, A
  1815. ; passes& Q: ^! o. b# i: n' P
  1816. ;opcache.optimization_level=0xffffffff
    * B. ~* }1 v& b  o7 a$ \$ v/ s. w

  1817. $ [) g$ A: z/ K8 `
  1818. ;opcache.inherited_hack=1" z+ g* \+ u/ ?: N; B
  1819. ;opcache.dups_fix=0
      _( u) x7 ]8 L! L. O

  1820. * i* b- [  f9 D& s0 V4 c
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    4 K2 c% }: A: r- \
  1822. ; Each OPcache blacklist file is a text file that holds the names of files6 P9 v  X- ~; Y5 d* h# r9 n
  1823. ; that should not be accelerated. The file format is to add each filename
    ) l6 t% X  t' B
  1824. ; to a new line. The filename may be a full path or just a file prefix
    8 B) F# k  P) j9 {2 E
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www- E8 o+ g  H( Y+ Q* o
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    $ v8 k5 s: R' Z! q$ n
  1827. ;opcache.blacklist_filename=
    $ ?7 {$ n" c9 i9 T: V# J' b* m

  1828. ( W0 M  a9 W$ ~& ]% P$ G& ^
  1829. ; Allows exclusion of large files from being cached. By default all files% V' J. }' r& Q& j( H2 X
  1830. ; are cached.
    7 q0 Z8 S% t, f. i( s
  1831. ;opcache.max_file_size=0
    ! i! v+ Z( Y0 B  ?2 j1 l! \8 R

  1832. # {! n/ m& r7 q
  1833. ; Check the cache checksum each N requests.
    : B9 x3 q" Q; p( L/ c  c
  1834. ; The default value of "0" means that the checks are disabled.! {. P% w2 o6 a( c* G2 l
  1835. ;opcache.consistency_checks=0
    * B% g+ m2 K' u- c8 |6 c0 _, _
  1836. 8 [: B$ S2 ^. F# T9 E: }
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    7 b* d& k9 r" A" j& `- W0 ?0 m& e
  1838. ; is not being accessed.+ M& _3 s: G; r* K
  1839. ;opcache.force_restart_timeout=180) p- q1 r" W! T. ]* v2 V: K

  1840. 1 r" Q5 g* ~/ H' a8 B/ Q
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    # g- L& H; L2 C( I* `0 `
  1842. ;opcache.error_log=
    5 ]& ?) i0 T6 @' p$ V8 U! T5 a
  1843. , b5 |  b1 Q+ C- k# i7 \
  1844. ; All OPcache errors go to the Web server log.. R" @; e2 j  C- F% W
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.# \' U* i% E" j7 W% c5 W8 c. A
  1846. ; You can also enable warnings (level 2), info messages (level 3) or( {7 [% z  {1 W4 D0 \: O
  1847. ; debug messages (level 4).
    + H6 C2 Z' ^. W- o5 r- @
  1848. ;opcache.log_verbosity_level=1% N1 f$ \4 B  U  F
  1849. - Y8 ?# Q8 ^# M, m5 x9 n
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ' O4 s( R: W3 W: M
  1851. ;opcache.preferred_memory_model=- r! q" V, y# M+ }6 t
  1852. . v& P8 v& t3 }/ D: x
  1853. ; Protect the shared memory from unexpected writing during script execution.. d7 P" X8 A' l. v* V5 M2 l6 u) D
  1854. ; Useful for internal debugging only.
    8 N- ~. F' M- [6 ]5 }4 V
  1855. ;opcache.protect_memory=0" }! T3 M' c% }

  1856. 2 }3 @4 ^/ O4 y3 `
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is& V0 P2 l* [" r* ?
  1858. ; started from specified string. The default "" means no restriction( t- f& N4 j; V7 ]1 K. I  ~7 @
  1859. ;opcache.restrict_api=
    " U8 O- }/ S6 o: v0 u
  1860. , \. _8 x2 H7 X& b- n' L" `! N; b
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP* V! M2 `) d7 v* B
  1862. ; processes have to map shared memory into the same address space. This
    2 g' a3 H4 N& W' M
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    & l1 c9 e- @4 t4 I5 H+ i' u  z
  1864. ; errors.( y% v/ c8 S% l
  1865. ;opcache.mmap_base=
    2 n. y8 c& @1 t' F
  1866. , D! ?3 P# t( ~; V; j' ]; ?/ n  Q
  1867. ; Enables and sets the second level cache directory.
    / t4 Y) j  l- o) z! {5 h
  1868. ; It should improve performance when SHM memory is full, at server restart or6 ^5 A+ A! C, l, r
  1869. ; SHM reset. The default "" disables file based caching.. G3 e( P' {, e6 m7 ]) s8 f/ K
  1870. ;opcache.file_cache=9 @( E6 ?$ L* }  I8 k5 }* v3 w& B
  1871. $ E( m, _& X: l6 Y) B5 B# A* ]
  1872. ; Enables or disables opcode caching in shared memory.( P. F; A6 e  g( H. m
  1873. ;opcache.file_cache_only=0
    0 s! w$ h: X7 ~+ f
  1874. * I" [! x0 y( y/ g% d" ^/ j
  1875. ; Enables or disables checksum validation when script loaded from file cache.- n* z: I1 e# j6 Q" n' ~
  1876. ;opcache.file_cache_consistency_checks=15 V& B4 w- F; z4 t9 r- z

  1877. 8 A7 Z8 ~& ^$ u! S! W
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to- h7 D2 a2 o# I; s
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    + I0 k9 P; Y" y3 C
  1880. ; cache is required.
    $ r# ^9 R, F( L, w! `7 F' U0 }3 v* {
  1881. ;opcache.file_cache_fallback=19 M% H5 U7 q$ `9 j  O5 D$ B: N+ _
  1882.   t. F  X) y: c' \3 v3 y2 J% P
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    ' G5 H* {  O7 U
  1884. ; This should improve performance, but requires appropriate OS configuration.
    - x" M0 Z+ b3 A8 u8 ~  u
  1885. ;opcache.huge_code_pages=1- U- X* }) i9 a6 J/ C  I; M
  1886. # Q7 |+ X( t! Y/ M& ~# R
  1887. ; Validate cached file permissions.
    6 G$ P4 m/ q* S; [8 i. H& z$ E
  1888. ; opcache.validate_permission=0
    # b0 _, J5 M5 C) k
  1889. ! B- z. t1 r/ b" A& s6 r* N  S
  1890. ; Prevent name collisions in chroot'ed environment.4 G& b, i+ ]) [
  1891. ; opcache.validate_root=0
    ) r8 `7 I7 R. `; W& r& e
  1892. # D* P3 M$ E; b5 Y& g
  1893. [curl]
    # L0 A8 ]3 P8 U; ]3 D4 y! A+ V
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ! }" Y9 n/ [( j1 @0 w: ~7 ^- h' t6 O
  1895. ; absolute path.
    . ^, a5 q8 Z. b
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt' P! }" P, i& G* \- z

  1897. . N" V( E# L  z/ |5 L! C4 Q" F! M
  1898. [openssl]
    0 B; A  I$ g) W4 H1 P/ a
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem) u6 g' I) I# U, @
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should4 N$ o; C. Z% T4 k4 k! X  M
  1901. ; not specify a value for this directive as PHP will attempt to use the* F7 ?, n/ x1 @+ x% F' g
  1902. ; OS-managed cert stores in its absence. If specified, this value may still& o- f/ }4 n& z6 Q/ J" [/ y# x1 \
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context! g% D" y; R0 ]) Q% |) e
  1904. ; option.
    % `) G8 e$ G  [( s/ S/ `. l% X- {
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    4 y; N5 G; k$ v1 K

  1906. 9 y# j: T8 Y' C9 Q
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the( n# l8 s3 a- X
  1908. ; directory pointed to by openssl.capath is searched for a suitable/ R' h( |6 d! S+ N% Q7 D( u
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    7 V0 ^' y" j! d' A
  1910. ; Most users should not specify a value for this directive as PHP will
    , ?4 D: a' ?& h5 w
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    & U1 e" [. ]: A9 g4 l
  1912. ; this value may still be overridden on a per-stream basis via the "capath"& }, _( ^' y7 t' O; L4 |4 Y6 S' W
  1913. ; SSL stream context option.
    9 {8 p. M$ ^4 k8 Z. e
  1914. ;openssl.capath=. D: x4 i: f! |) J+ h% t! i9 A

  1915. - g( \( K; O5 i: a( j; m7 X
  1916. ; Local Variables:8 B( T$ x, F! K' [  Y7 q# V# o, h5 l
  1917. ; tab-width: 4. |9 N' n. S) w5 G5 V
  1918. ; End:/ U" d3 c% E2 e0 a" k7 T

  1919. # l2 D  ?; W# t( w2 d; B
  1920. ;eaccelerator0 x. T  O  L. r7 X9 B8 b
  1921. 3 N" n0 @  s# K" Y6 l+ r7 ~- x
  1922. ;ionCube9 E/ z$ n/ ?9 H9 @- m9 B

  1923. ( O* {! u: a% Q8 @# Z5 U$ \
  1924. ;opcache
    3 W, ~5 i; T6 L: @9 C
  1925. ! x$ Q7 A) y+ K
  1926. [Zend ZendGuard Loader]
    , S0 [. x4 h/ P8 d3 E. A8 f: p
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ( p2 y. H1 P# O; q, P
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    8 x' C& X$ D& [( o$ y1 L' F6 h3 E3 K
  1929. ;zend_loader.enable=1* k5 H! Z3 G1 P& u; V4 d8 z2 u
  1930. ;zend_loader.disable_licensing=0
    1 r4 i  P1 x  z, V7 ]- L6 y
  1931. ;zend_loader.obfuscation_level_support=34 _4 E: E5 C0 t6 }- B
  1932. ;zend_loader.license_path=
    / X9 e; t% L, ?5 @: F: l
  1933. # B6 w6 u' l  I4 e$ e
  1934. ;xcache8 o7 W- x* H; v/ V" ^3 C

  1935. & T  r7 K3 U1 }( [) I6 a& b3 K
复制代码

% M$ x8 Z% l$ _& {, @2 Q) `% \' O3 _! e5 u
3 ], c# z! k2 R" H9 {
0 l8 \1 ^8 {. n# I( }9 W/ x
7 ~1 M1 A; u( ~; {& H! k5 ~
" m7 V! Z5 i2 o1 i

! v7 w1 C. ^0 [8 C7 VPHP5.6版本原始设置
! E+ d) M% d+ _  U6 Y+ S9 V8 v" y' _# C; E1 Y  n
  1. [PHP]
    ! j, a4 L/ p% k) ^" d
  2. ) T& t" C4 H: y) V& @6 Q
  3. ;;;;;;;;;;;;;;;;;;;! r$ D  n9 i* f  `
  4. ; About php.ini   ;
    + o5 ]! V0 n5 @# ?
  5. ;;;;;;;;;;;;;;;;;;;* F! ]% w! C& J
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ) p; r1 i: t! [$ U+ F
  7. ; configuring many of the aspects of PHP's behavior.
    + l' i% @0 b5 p. o4 P
  8. + k4 I' e3 K" I- v/ W6 R4 {5 b8 I
  9. ; PHP attempts to find and load this configuration from a number of locations.
      f( e' d  ~1 Q
  10. ; The following is a summary of its search order:
    2 o% [' G9 b" a" B, C  r
  11. ; 1. SAPI module specific location.
    & t1 E$ {+ ~6 a' L1 Q8 b8 S& ?  L
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    : z) w% V/ g7 f1 h+ d, X, ]
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)1 U/ l$ Y3 v" f0 O+ z' ]
  14. ; 4. Current working directory (except CLI)
    ' i3 ^; S7 Y" N" c
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    & O! g" j& v& f0 ?( K/ a& y
  16. ; (otherwise in Windows)
    . L* V7 c9 G- D+ @
  17. ; 6. The directory from the --with-config-file-path compile time option, or the4 E( ~' B5 i, e. g6 \4 ^# R
  18. ; Windows directory (C:\windows or C:\winnt)8 o* j& u) U8 L8 B# B: x
  19. ; See the PHP docs for more specific information.
    0 L" b. X9 Z' {8 q$ e
  20. ; http://php.net/configuration.file
    2 U# {$ B+ [& \& O6 ]

  21. ' |: j0 ]3 p+ J# D0 k, F+ ]/ T! S1 `
  22. ; The syntax of the file is extremely simple.  Whitespace and lines1 g/ O2 D6 h: `2 M' X* k* [
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).+ \" Z& n" m. R
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    $ ~9 x, u* q+ o5 j
  25. ; they might mean something in the future.
    * A- J5 u; Y4 S" e" g
  26. $ ^6 ^7 K4 [& D# K! q
  27. ; Directives following the section heading [PATH=/www/mysite] only3 {9 u$ D* F5 L' P& z% q* r8 d
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    9 l- F3 f0 n& Y) a% n9 H7 M* }
  29. ; following the section heading [HOST=www.example.com] only apply to6 o. s5 d# P# y( @6 p/ M* R& M
  30. ; PHP files served from www.example.com.  Directives set in these
    9 y# v) {+ {0 e0 n4 C
  31. ; special sections cannot be overridden by user-defined INI files or
    " @! c8 F/ n) N0 c
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under. N! @# P% |( \. n; @
  33. ; CGI/FastCGI.
    9 A) g$ K1 }  x  j
  34. ; http://php.net/ini.sections
    $ B3 h6 d: ^4 O# v$ O: T
  35.   R( L; Q. Z5 y* H/ u' n. S& P; f; j
  36. ; Directives are specified using the following syntax:
    8 A% b) w; O; E' x8 P
  37. ; directive = value# S3 _4 H2 U# u# S" a
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.6 `& G# l1 ^) n5 g9 K
  39. ; Directives are variables used to configure PHP or PHP extensions.6 Z9 X, D3 K9 @$ I- v0 o8 ^* o
  40. ; There is no name validation.  If PHP can't find an expected  ^/ E' _7 C8 w
  41. ; directive because it is not set or is mistyped, a default value will be used.* H7 X$ Y4 M8 C6 {1 i6 j
  42. 2 \8 J& j4 a+ a+ `9 G  z4 h( J, E2 E
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one' t; s4 I7 d# ]; n
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression4 B5 C6 D1 h4 m* _$ u) b" ]
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a" w$ i! H3 e9 }$ C
  46. ; previously set variable or directive (e.g. ${foo})
    " f6 ~' D: `4 S+ K8 v5 j$ ?
  47. ( d: k. y$ n, x  P* {/ R! f
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:3 j7 q5 P& }4 z8 R6 P% S
  49. ; |  bitwise OR; Z3 D" r5 f8 K6 R7 _# c& m
  50. ; ^  bitwise XOR4 o  U) b+ f$ w+ F
  51. ; &  bitwise AND: }, T3 |. O, S5 ^" G! _
  52. ; ~  bitwise NOT
    4 i* P  K$ x' P6 _+ _3 V2 J
  53. ; !  boolean NOT
    & O6 D' X" J0 n% p5 X8 i( D  g" @
  54. - J/ |9 H) `5 Z8 O& ?" {
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.+ }7 m; U6 ~3 i, ~  Y& J
  56. ; They can be turned off using the values 0, Off, False or No.0 c: k, l6 c5 Q. U7 a- p

  57. ( S5 ^4 B. S: d- N" \7 f3 g
  58. ; An empty string can be denoted by simply not writing anything after the equal& G& ~5 d" D1 `; ^' z9 A. ?) t
  59. ; sign, or by using the None keyword:
    # f6 f0 z/ b) a& d% o

  60. : O. ~8 D& c6 x  c5 a$ u7 R
  61. ;  foo =         ; sets foo to an empty string
    ! s4 t5 I, y9 Z# a: S+ u
  62. ;  foo = None    ; sets foo to an empty string
    8 u4 k. x. a* O' o' [" }! k
  63. ;  foo = "None"  ; sets foo to the string 'None'$ ?2 _- A) c" M' T$ |# d6 P
  64. . L2 z6 Q5 {  d6 m
  65. ; If you use constants in your value, and these constants belong to a  x. b4 y8 o/ k; e
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),5 x- \4 h: P* ?$ n2 M# g0 |
  67. ; you may only use these constants *after* the line that loads the extension.
      h) V6 e: C5 \& C2 p5 n: `6 f
  68. ! k" q/ |! Q$ o' _/ V
  69. ;;;;;;;;;;;;;;;;;;;
    8 s# p% e/ z/ A
  70. ; About this file ;, e- K2 a* {# f8 ~$ Z2 q5 i; ~' R
  71. ;;;;;;;;;;;;;;;;;;;2 x, @- L2 r" Z- Y
  72. ; PHP comes packaged with two INI files. One that is recommended to be used( o) K) h# q/ c) x" ~' m) @/ w* _2 P
  73. ; in production environments and one that is recommended to be used in/ S5 V* V, I- _' W: r! b! H
  74. ; development environments.- ]' C! p# m5 J! e9 D+ y+ Y0 ^/ L
  75. : @6 @) e( A0 `* \( |
  76. ; php.ini-production contains settings which hold security, performance and
    $ }; Q) A2 S8 E2 a+ t9 t% p
  77. ; best practices at its core. But please be aware, these settings may break& @, T: b1 `8 _/ a0 e
  78. ; compatibility with older or less security conscience applications. We8 y4 R7 J& C4 t7 ~8 \- Y
  79. ; recommending using the production ini in production and testing environments.
    ; N  S5 j0 w! @3 Z! f

  80. + |9 o9 ]# W# F5 Q( C
  81. ; php.ini-development is very similar to its production variant, except it is
    : {' e2 A/ R( }! Q# o0 v0 v; a
  82. ; much more verbose when it comes to errors. We recommend using the
    % K1 w, ^  J, w3 a7 }
  83. ; development version only in development environments, as errors shown to
    0 ?- Z! e; \9 w: u8 g) j
  84. ; application users can inadvertently leak otherwise secure information.
    ! ^1 b3 K- g# c0 ?& z
  85.   U, ?5 g! f6 @) W" d, D
  86. ; This is php.ini-production INI file.
    . ]; G9 J! Y( O7 h( `

  87. , l/ k0 [2 l7 P
  88. ;;;;;;;;;;;;;;;;;;;' o" p! |4 R, c1 S
  89. ; Quick Reference ;2 \/ J7 I- I/ W) j9 O. r
  90. ;;;;;;;;;;;;;;;;;;;
    - m' r7 ^; E& a# l  C
  91. ; The following are all the settings which are different in either the production6 ]2 ^+ I3 G4 d
  92. ; or development versions of the INIs with respect to PHP's default behavior.4 g+ k/ _) m6 j, t& O4 P" i8 M
  93. ; Please see the actual settings later in the document for more details as to why
    % c4 p/ J* D+ _: b# a! x  f
  94. ; we recommend these changes in PHP's behavior.' D2 c( j4 q& W6 ]3 w1 ]9 f

  95. 4 I, x3 A( e1 L  J; d
  96. ; display_errors. v, Z( ?, T* R# ]  Q
  97. ;   Default Value: On
    2 P3 ^5 t) N" u$ o) |
  98. ;   Development Value: On- w7 e: s: U0 `) a8 {8 @/ K
  99. ;   Production Value: Off" z( z  o; f- P2 N- ~) H6 O; ^7 r
  100. 8 E! s7 K; N' H' ?
  101. ; display_startup_errors
    8 M5 E% _6 w8 _( `' D
  102. ;   Default Value: Off
    + m# o  w0 C4 G6 B% Z
  103. ;   Development Value: On, R, R8 }7 l, s# W) l$ D* c
  104. ;   Production Value: Off  X% u8 j5 j! K) P$ [! Z
  105. ( n! G- e" ^" k' d) o0 p
  106. ; error_reporting
    $ v( Q2 \1 J8 F- t8 U* H' Y5 Y
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    : ?7 o+ x5 p7 A* h3 `
  108. ;   Development Value: E_ALL* p7 U' S9 E; o7 l' ?
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT% p5 S# @) _* L% ~2 C8 s: q
  110. * g. \: `7 \1 V- i+ N0 J/ _( P- B
  111. ; html_errors
    7 Y% X- \. ^# N* {2 m6 C
  112. ;   Default Value: On! j0 ~0 ^4 M0 z& {  c1 g5 K3 {
  113. ;   Development Value: On; p2 V# @( K+ H) ~! A- c
  114. ;   Production value: On5 z4 ?" J  w: f8 y: `8 R8 y9 W
  115. - Q2 E6 I+ q& s
  116. ; log_errors: @2 O: X1 S3 L9 {) C, d8 D
  117. ;   Default Value: Off
    ( Y+ i( s# A' C" s" S& t3 w
  118. ;   Development Value: On* T* l9 c; b  V" [$ c- u8 |9 h. Q
  119. ;   Production Value: On
    0 I. i& l( w! D% d7 c, b" l- r

  120. ! t1 M  V# C5 Z1 [' T) y
  121. ; max_input_time
    ( r, q+ ?+ b+ G0 q* S% _
  122. ;   Default Value: -1 (Unlimited)
    ) X' A% U/ h5 ~) v% A
  123. ;   Development Value: 60 (60 seconds)" C  @1 m( R$ g% o  b& X
  124. ;   Production Value: 60 (60 seconds)
    " \" h% {. o# L* D3 L5 M  d0 p3 h

  125. 6 }8 _1 Q  w: O, x/ z! F: C" U
  126. ; output_buffering7 ~  j2 W! d7 l3 L" c6 b
  127. ;   Default Value: Off5 y) X/ V% ^9 Y8 O) K1 y9 {
  128. ;   Development Value: 4096' M. X3 G! D4 W- w! }
  129. ;   Production Value: 4096
    + Z6 m# B5 l3 p9 U8 K2 A1 W
  130. # K7 _( H; b& ]
  131. ; register_argc_argv* T8 U, q4 f& q% Q4 Y  z' w9 w
  132. ;   Default Value: On; T0 R' {0 `1 n1 b3 S/ s: C5 J% z
  133. ;   Development Value: Off: U- Q1 [+ A8 Q: F2 x9 F
  134. ;   Production Value: Off2 c6 k8 M/ d$ J+ j* k
  135. 4 J& s6 B  g7 _2 K1 L. A1 a% Y  }
  136. ; request_order* s$ g6 w3 B1 a( t. `7 s
  137. ;   Default Value: None. J4 [( [: {  H
  138. ;   Development Value: "GP"
    ; ~6 m! G: t* R8 n
  139. ;   Production Value: "GP"
    ( _, ?+ e, {5 _$ ?- q0 E0 p6 e6 j
  140. # \+ P/ X3 L- @$ w* u
  141. ; session.gc_divisor
    / C3 d$ V3 J; B8 a8 z
  142. ;   Default Value: 100  d8 x, h$ Y$ s9 s+ N2 d
  143. ;   Development Value: 1000  a2 y4 p5 a) W7 [) d
  144. ;   Production Value: 1000
    # _0 c: s' W! I' ]# y! y; ]+ ]* p

  145. 3 g- }" L0 ~/ X* e
  146. ; session.hash_bits_per_character' b7 t# G; B9 L" i0 Y4 \
  147. ;   Default Value: 4
    * K0 H/ y: A( g6 R* u+ F
  148. ;   Development Value: 54 k' o0 H" J; J2 M' M( E- _
  149. ;   Production Value: 5
    + T3 B' `1 {+ ~- `

  150. & x# d5 Q' \1 J7 D
  151. ; short_open_tag: S6 s8 X% h# [' ~
  152. ;   Default Value: On/ X; _( C3 s& _7 b/ s
  153. ;   Development Value: Off
    . v" v5 i. r( g
  154. ;   Production Value: Off
    5 f& o% g: u% R  f: u7 T7 I
  155. & ^: B. c) e6 Q) I; ]3 s
  156. ; track_errors& @( K# N" N3 d; g
  157. ;   Default Value: Off8 L1 V5 y3 h1 a$ G5 ~9 K& r% U
  158. ;   Development Value: On
    % B( x4 c# z5 _0 y5 s
  159. ;   Production Value: Off
    8 x0 Q3 d9 A* n1 F1 k1 D
  160. ' i0 C8 J5 [" E3 b6 x  b
  161. ; url_rewriter.tags' N! G) l4 [. }
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="3 s* m  O/ }2 q8 P9 c
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& ^; [% x$ u4 J1 v
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ A: E, s7 M8 J' j$ U$ Q

  165. 0 T+ G8 x5 M7 }7 O* F# X
  166. ; variables_order
    ) ~" n0 n2 G9 x
  167. ;   Default Value: "EGPCS"; A& h7 t% t! I! }/ M# B
  168. ;   Development Value: "GPCS"
    3 [) E: O) q* u$ t/ }9 i4 e9 n
  169. ;   Production Value: "GPCS"* v0 n1 p: |8 n
  170. 4 e  C; Z7 H! l7 i/ N
  171. ;;;;;;;;;;;;;;;;;;;;9 ^. i- O" z# N8 H& R  W
  172. ; php.ini Options  ;) z$ ^+ U  J, Z4 o% A" t
  173. ;;;;;;;;;;;;;;;;;;;;
    ) ?; Y: y0 e1 p, d' v* j
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"" |; u% ]" g* z" T$ u  \) Y, ~
  175. ;user_ini.filename = ".user.ini"
    $ `! A" v+ d3 L- A$ |  P; K" ]% p6 ^
  176. . A1 \( ~) C: t( v# [4 z
  177. ; To disable this feature set this option to empty value
    ; C/ L0 N$ D4 t2 m- o0 i
  178. ;user_ini.filename =
    9 o, ~9 r: j3 r  d! {4 F/ A5 d
  179. $ E& M" c( A/ c* Y( `; X
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    1 L# V+ L7 ~( j! Z  Q) `' J0 e( M
  181. ;user_ini.cache_ttl = 3007 [9 g# @. P" g. f2 C3 H# E1 E

  182. 2 c- O, F( ~' R; `! M$ S- v
  183. ;;;;;;;;;;;;;;;;;;;;
    ! m0 D9 K0 [4 u% o5 P  \( ~
  184. ; Language Options ;9 P2 {$ O; p: C9 A/ v; C- _! e1 J
  185. ;;;;;;;;;;;;;;;;;;;;% H$ h. K- i" p5 Y
  186. ) Z! F0 g. M" o8 C4 z! t3 _
  187. ; Enable the PHP scripting language engine under Apache.+ ]( U$ D9 Q* Y
  188. ; http://php.net/engine3 E0 L+ c, t% p; _- t' |5 x& E: ~
  189. engine = On
      e& e6 @% L2 H" c& }4 n2 W

  190. : ^% @0 k! {  D, c
  191. ; This directive determines whether or not PHP will recognize code between# [. B( {/ o! U& t- B
  192. ; <? and ?> tags as PHP source which should be processed as such. It is$ w3 r' \7 }7 v3 L; p% r
  193. ; generally recommended that <?php and ?> should be used and that this feature, a9 L5 ?7 R7 ^) N9 M1 p$ T# ~
  194. ; should be disabled, as enabling it may result in issues when generating XML
    # \+ G. n2 c" m) p* D# |! N
  195. ; documents, however this remains supported for backward compatibility reasons.
    5 `% w' G8 l% q- M8 G1 }
  196. ; Note that this directive does not control the <?= shorthand tag, which can be) Q$ B. B0 U- q8 @8 H. u
  197. ; used regardless of this directive.
    " k2 f6 I( S* q0 e. ], b4 R$ v
  198. ; Default Value: On
    ' L1 R9 _" @/ ~: d& M
  199. ; Development Value: Off$ v, N" v0 U" |+ Q
  200. ; Production Value: Off
    ' k3 B, o. V( }; V0 \3 y2 p
  201. ; http://php.net/short-open-tag
    % n! M' @& |! p9 |
  202. short_open_tag = On
    : B, e. L- p6 K, V, `

  203. + e, G: _4 k1 O! p
  204. ; Allow ASP-style <% %> tags.6 O- @, K2 F. q. `3 e
  205. ; http://php.net/asp-tags( ~1 y! \" U6 F- G# I! A! G. @* N
  206. asp_tags = Off
    ' U& M5 k3 G3 E) H9 S, s1 s
  207.   U2 [* ^8 b5 j( S5 w
  208. ; The number of significant digits displayed in floating point numbers.
    ( l' Y6 s" s1 Q7 C& y- k- T- i
  209. ; http://php.net/precision& d7 e2 L9 I9 q( y
  210. precision = 14. m1 H# `: `1 o& T
  211. ; F4 p) j" U  b+ l, @4 v" g
  212. ; Output buffering is a mechanism for controlling how much output data5 z* X- S7 B- x. w# P' N
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    # i  Q. v% F8 f& {
  214. ; data to the client. If your application's output exceeds this setting, PHP; v4 z0 c% v/ {" h$ B5 e( f. V. U
  215. ; will send that data in chunks of roughly the size you specify.+ A4 O& C* g& B7 f
  216. ; Turning on this setting and managing its maximum buffer size can yield some% R2 k/ I; N3 f8 w( Y" e0 Y! `
  217. ; interesting side-effects depending on your application and web server.
    $ b4 ^% K0 ]' r) y& D( N
  218. ; You may be able to send headers and cookies after you've already sent output* W( V; n4 \( Y) V' K4 d  o
  219. ; through print or echo. You also may see performance benefits if your server is8 U5 c, b/ U' y  V2 H
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    + Z1 x3 e  s9 s3 \. B
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    8 \) a8 ?$ T3 H  e* _8 q5 o9 R
  222. ; reasons.
    # Z" I. n) J" P" o- Z
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    # A# O  m" u% G) D
  224. ;   functions.
    $ D& x5 K7 I  _, ~5 g
  225. ; Possible Values:
    2 n; K1 ]7 ?' }+ C) g
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ) q% u8 a% Z' d/ w
  227. ;   Off = Disabled
      M. v! \" T, R4 q! U! G7 P% N
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    4 G# A& v+ ?- W; \
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    $ R9 H& x; ?  w2 H: Y$ P4 {9 k7 @
  230. ; Default Value: Off% v& M9 L+ K0 g3 B. K
  231. ; Development Value: 4096
    . i( D; G* _( A8 z0 f6 H  C* h
  232. ; Production Value: 4096* j3 }: ]) F& G8 O8 F# n
  233. ; http://php.net/output-buffering5 B! t8 G+ u1 |0 t4 p% Y  D
  234. output_buffering = 4096
    " v! n) v9 i4 s
  235. ) s! R' ^2 V4 \
  236. ; You can redirect all of the output of your scripts to a function.  For
    1 v/ Y# R+ h# R: w7 G
  237. ; example, if you set output_handler to "mb_output_handler", character
    , {/ L' L, G4 l' B% K1 [. s
  238. ; encoding will be transparently converted to the specified encoding.
    ' Y! Z9 L; Y8 E# K8 n6 `9 i
  239. ; Setting any output handler automatically turns on output buffering.
    7 m0 L9 Q5 t5 U3 U3 h, H# }
  240. ; Note: People who wrote portable scripts should not depend on this ini
    % o) `3 r7 d% l7 @: ?. U; O
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    * m' v% _- g1 ]9 H
  242. ;   Using this ini directive may cause problems unless you know what script
    % H" r. I, n8 `- l
  243. ;   is doing.
    1 c( t% O$ J4 P6 o1 y
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    7 F" |$ g) m6 |! L1 Q
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    2 w3 x& E* L4 s5 K- N
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    9 h( I# |# d# d. q; Z
  247. ;   Instead you must use zlib.output_handler.
    ! A- E. N% f+ Q
  248. ; http://php.net/output-handler* k$ k/ q3 J$ ]. i# D
  249. ;output_handler =4 f5 \8 X$ g7 k& \  n+ ~8 L  X
  250. . O& v1 z# [5 P" y. H, K( |2 g
  251. ; Transparent output compression using the zlib library4 E9 Y# b) P6 @( z
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size' }9 H% a3 U" g$ s% O% @  i
  253. ; to be used for compression (default is 4KB)
    3 y' D: U( t6 U6 p3 j* M. y1 M
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    9 Z- }) S! `* j/ x
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    , @+ ?. ?1 U( t7 L. A
  256. ;   compression. If you prefer a larger chunk size for better
    / |% p# b" j+ J. a% I# {8 D+ z  i
  257. ;   performance, enable output_buffering in addition.
    + W2 m8 f. w! e6 K. O
  258. ; Note: You need to use zlib.output_handler instead of the standard5 ^& `) h  ?$ u1 |* T
  259. ;   output_handler, or otherwise the output will be corrupted.
    4 w$ t' c7 @0 J% ?" ]9 F2 w, ^! w' Z( i
  260. ; http://php.net/zlib.output-compression4 o, [4 P; Q0 ~# [- y+ V
  261. zlib.output_compression = Off# n; Q) \  y% |- a5 w

  262. & e. V/ s+ M: h5 ]" M1 }
  263. ; http://php.net/zlib.output-compression-level
    9 E+ I7 k. S+ y
  264. ;zlib.output_compression_level = -1
    7 F5 A& F+ i$ H
  265. - l7 C/ `& A, ]# ]
  266. ; You cannot specify additional output handlers if zlib.output_compression
    . Y# _# L, z, t
  267. ; is activated here. This setting does the same as output_handler but in6 f$ i/ `( M2 U, h1 O
  268. ; a different order.
    0 ?* G# R: a  o0 O
  269. ; http://php.net/zlib.output-handler
    * l7 J" J7 u$ n  H
  270. ;zlib.output_handler =- D( g7 l# b% `: j! v% `  Z
  271. 8 T) f/ J6 h3 i1 E  d
  272. ; Implicit flush tells PHP to tell the output layer to flush itself+ c) D  w- B- O
  273. ; automatically after every output block.  This is equivalent to calling the! n0 ~# x; U% o$ B0 g( e
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ( T' R8 R8 L! p- B& a& d) p3 A
  275. ; and every HTML block.  Turning this option on has serious performance4 t) l7 K, q1 W" U+ \. [  p
  276. ; implications and is generally recommended for debugging purposes only.# g+ r% O. q8 X1 H9 [
  277. ; http://php.net/implicit-flush$ g. x' u' Y7 O7 O
  278. ; Note: This directive is hardcoded to On for the CLI SAPI7 H( J3 T9 N6 t8 ^7 U$ V. W4 }! K
  279. implicit_flush = Off
    ! ?- s! b' [5 X  j0 h
  280. # k4 i( J8 u. Y# T0 \+ n+ T7 Z
  281. ; The unserialize callback function will be called (with the undefined class'9 w4 G4 i9 X- M2 ?+ y0 _
  282. ; name as parameter), if the unserializer finds an undefined class
    # y% S9 B) J7 V. _0 l4 j. a) N" |0 x
  283. ; which should be instantiated. A warning appears if the specified function is& [8 D& a  a; g1 a2 P' _! L- s
  284. ; not defined, or if the function doesn't include/implement the missing class.8 f2 d7 a: ]! }/ T, b
  285. ; So only set this entry, if you really want to implement such a
    % A' P; B2 G( G9 L; _+ S
  286. ; callback-function., J# w+ n1 x, `* b% c
  287. unserialize_callback_func =
    8 _: l7 M5 e3 ?
  288. , l! x! G. f" \0 W" p, d
  289. ; When floats & doubles are serialized store serialize_precision significant
      `- [! y6 `/ A5 B
  290. ; digits after the floating point. The default value ensures that when floats
    5 Q. _' d3 W9 n9 V" `: Y% D9 o
  291. ; are decoded with unserialize, the data will remain the same.
    / R' r2 p1 g- Y9 D' G7 G6 s& U" e
  292. serialize_precision = 17' z! r( H5 C/ d
  293. 7 U7 @" I: x6 t4 d3 a
  294. ; open_basedir, if set, limits all file operations to the defined directory
    - T$ Y) M* P: \% n1 T7 j  J3 W
  295. ; and below.  This directive makes most sense if used in a per-directory# q3 n7 P. o2 t6 ^" D# B* N+ d6 e" y
  296. ; or per-virtualhost web server configuration file.
    $ d1 ^6 B( U5 E* Y+ `0 @
  297. ; http://php.net/open-basedir1 g0 g. W! L1 d( L2 E5 W
  298. ;open_basedir =
    ) W- ?" K& u, \. \1 g

  299. - O. ^* c! E- q& ^  @- c6 U
  300. ; This directive allows you to disable certain functions for security reasons.
    * V/ X8 i& F, K2 r' ~. y% h
  301. ; It receives a comma-delimited list of function names.
    6 N+ Y; s: x$ s: X1 O# L
  302. ; http://php.net/disable-functions
    7 P" H; X; {5 F
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru- c- ^5 ~1 f& K1 K# }2 f8 S

  304. & p. a+ `! o8 E
  305. ; This directive allows you to disable certain classes for security reasons.
    ! T  B% ~/ h3 k) r
  306. ; It receives a comma-delimited list of class names.
    9 u' ~# @: r5 F+ H% V' G" Z
  307. ; http://php.net/disable-classes9 z3 W& R2 q! ^( p1 z/ f
  308. disable_classes =; |$ c, s7 d* X2 b
  309. ) {$ F5 |( Y5 ~: D' y0 z' f, \; H+ q
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    1 m& c: [8 H" \
  311. ; <span style="color: ???????"> would work.+ m" Z) J4 e& v+ E
  312. ; http://php.net/syntax-highlighting) f( i7 L9 e+ [" u8 P, G
  313. ;highlight.string  = #DD00005 y* V, [5 T' m7 l3 T8 c
  314. ;highlight.comment = #FF9900
      h/ l1 z/ G" I; H4 r( Y$ Q* Z1 T
  315. ;highlight.keyword = #0077003 g5 n1 j, Y4 y0 B0 J& p* ~( v4 h
  316. ;highlight.default = #0000BB) e6 Y7 c9 |0 f2 s' B. ?
  317. ;highlight.html    = #000000. a& _4 a8 k( b4 ~4 C9 q  G
  318.   V% m0 o4 e- G  W
  319. ; If enabled, the request will be allowed to complete even if the user aborts8 A9 p& C" y: n" F
  320. ; the request. Consider enabling it if executing long requests, which may end up
    0 X' U8 _6 x* y1 l, B- _
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior/ X, \9 m! C7 U  B' W# x* U( Q+ m
  322. ; is to disable this feature.
    , r% u2 Z& U5 g
  323. ; http://php.net/ignore-user-abort
    $ C5 W+ P1 S' H) e: O7 a5 s2 X6 ?
  324. ;ignore_user_abort = On7 G$ y6 f  A" d" h' b" C1 J" m% e
  325. 0 `3 L' \% \4 a- s7 F& s
  326. ; Determines the size of the realpath cache to be used by PHP. This value should* v. w7 w- L, w' G1 v7 S/ y8 T
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    / Y  G$ |* N1 ~5 i# c9 G
  328. ; the file operations performed.. B2 x) C( M0 W( @8 ~# U
  329. ; http://php.net/realpath-cache-size% M" ~. Y$ G  F  ?6 q/ j$ D' B+ g
  330. ;realpath_cache_size = 16k
    4 W; t/ p# b; k  S
  331. 9 o6 O+ X1 K: P) R5 C1 }# `6 |
  332. ; Duration of time, in seconds for which to cache realpath information for a given% e( u5 Z# C0 ^) U. r6 L2 }. r: ^
  333. ; file or directory. For systems with rarely changing files, consider increasing this- L% ^+ T- V3 ]3 k& Q- l0 N4 u
  334. ; value.+ t7 }$ l( w  c7 a4 Y
  335. ; http://php.net/realpath-cache-ttl8 L( K! R  M3 V2 C* [* H( x( p
  336. ;realpath_cache_ttl = 120
    1 q+ n, o" q7 t6 g' [- a# X/ B1 ^
  337. 3 T* [& p; a. L; I) G2 a
  338. ; Enables or disables the circular reference collector.2 n# R7 Y1 D& }2 W7 O1 A! c% n2 M
  339. ; http://php.net/zend.enable-gc  U1 D' ?5 I. g) D
  340. zend.enable_gc = On
    # D! [1 g2 T6 m( H
  341. % E8 B" v6 H  B
  342. ; If enabled, scripts may be written in encodings that are incompatible with; W7 L, Z& m5 J# h! i' N
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    % H) D: q! r. L8 n8 R
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    9 _1 S7 M* W  O
  345. ; Default: Off
    & p6 Q' A- j& o7 t$ X
  346. ;zend.multibyte = Off
    * o* Z+ ?+ Y- A' y  k

  347. , {% f. F- ~/ z, j3 H0 b6 q
  348. ; Allows to set the default encoding for the scripts.  This value will be used( u" \2 U* o0 w1 f
  349. ; unless "declare(encoding=...)" directive appears at the top of the script." |0 P/ U# d, w
  350. ; Only affects if zend.multibyte is set.- W0 s; `6 M8 T6 A( x
  351. ; Default: ""
    . v3 I5 q* {8 `% d& |
  352. ;zend.script_encoding =
    : |- ]+ z* l# _5 `

  353.   w- b, G* w/ U/ e. Z& `
  354. ;;;;;;;;;;;;;;;;;/ g* t; l& }+ d  v4 l5 Q3 I
  355. ; Miscellaneous ;7 p& m# j( _1 j% k
  356. ;;;;;;;;;;;;;;;;;: h) O/ p. }  ?& O# m! ~, K6 R" V
  357. . @! h* ^& v' J4 Y. P
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    0 C% ^7 w1 ^' A0 v
  359. ; (e.g. by adding its signature to the Web server header).  It is no security) y# ~) L7 V. J% P/ \
  360. ; threat in any way, but it makes it possible to determine whether you use PHP4 e- u' k/ _; [/ ~8 M
  361. ; on your server or not.1 F# s8 p* D7 J$ H' N9 }
  362. ; http://php.net/expose-php
    3 w; D1 ^% `8 m- r  T- f" d1 |
  363. expose_php = On
    ! Q- |3 u2 N2 p6 [- `

  364. $ k" I. `# u# o' Y: a# W5 q+ C
  365. ;;;;;;;;;;;;;;;;;;;
    5 j/ g! a, x$ P7 y
  366. ; Resource Limits ;: ~9 y8 |) J! D  o3 {: w
  367. ;;;;;;;;;;;;;;;;;;;
    % V8 Q9 M* I  G0 h: |

  368. 6 e& C% ^' H% N: O# f
  369. ; Maximum execution time of each script, in seconds6 T; S  ^$ }) [8 v- Q* Z
  370. ; http://php.net/max-execution-time
    . o% J2 L" C# R6 u$ }
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI/ f* B6 O% ?5 U
  372. max_execution_time = 300
    5 c$ F( D( @) [
  373. 3 x9 S  s" Q& \; m) _' \
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
      t4 Y- t* }. U; W6 g  w7 W
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    5 X' ?6 W5 \7 u' l% y
  376. ; long running scripts.
    7 m3 D4 c8 E; Q. L
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI; y' Q/ `# S8 Z8 W1 @* _
  378. ; Default Value: -1 (Unlimited)( C8 z/ ]1 B6 A9 Z+ ^, L# N
  379. ; Development Value: 60 (60 seconds). l1 p  {& X. O6 Y2 S
  380. ; Production Value: 60 (60 seconds)
    * M: a9 z' q' `" z( Q1 x# b3 ~# v
  381. ; http://php.net/max-input-time( c0 R& |- }& e- D% @
  382. max_input_time = 60
    ( ?% i" V7 G8 n6 l

  383. 2 |$ g1 {: h; Z, H
  384. ; Maximum input variable nesting level! z5 q; b  @) Q& g: ~; d
  385. ; http://php.net/max-input-nesting-level) H, ~7 ~- i" w% b
  386. ;max_input_nesting_level = 642 X$ G7 s) h; N- o0 P# A0 o

  387. 6 c  n2 D. T/ M
  388. ; How many GET/POST/COOKIE input variables may be accepted" W; E: K9 M( N* o) ^; x  s* _$ ]0 q& i* {
  389. ; max_input_vars = 10006 ?5 U+ j+ m+ z
  390. * ^* A( p$ ]( L  h, N
  391. ; Maximum amount of memory a script may consume (128MB)' n/ t/ k$ O/ r, b6 I
  392. ; http://php.net/memory-limit
    ; p' m* T5 L2 M* }% d  v- L
  393. memory_limit = 128M
    ' O! G- g& y1 C( Z4 s/ @
  394. 1 L7 _' S7 {$ V+ u
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 ?. M0 |5 e- C6 k* C+ M' c
  396. ; Error handling and logging ;$ ?$ S+ Z; w. w5 ~, w: g% E6 V7 B
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ d! M: t, `, n$ D; ?, |

  398. 3 B' s/ x  s! b( v+ G
  399. ; This directive informs PHP of which errors, warnings and notices you would like5 w  V9 t$ M7 E+ ?
  400. ; it to take action for. The recommended way of setting values for this3 A3 d0 k7 p% Q4 h* A
  401. ; directive is through the use of the error level constants and bitwise
    + Y, F, ~1 O; l5 K
  402. ; operators. The error level constants are below here for convenience as well as6 \% Q& p9 K' B1 w* n9 l5 x
  403. ; some common settings and their meanings.
    ! w& X" Y' c/ c: c" x- A7 Z
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    3 x% V6 I' ], `( v# e- j: n7 _
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and) n  F0 j& O' {+ P) k
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    % t' l! i- f7 x. d, `
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    . G! m9 S1 G) a4 ^$ Q/ w
  408. ; resources complaining about best practices and coding standards. That's what% `9 \% R2 {, T, g$ o9 J) ?
  409. ; development servers and development settings are for.. v& k# e1 r6 X, [: L! A6 @
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
      C6 d! C+ b" ~- J/ `0 {" r7 `
  411. ; means it pretty much reports everything which is exactly what you want during8 o7 U3 z! P4 [( o# E& E' k% W' p. u4 q
  412. ; development and early testing.
    ) i. t5 {/ o$ S7 F
  413. ;
    - P4 \, J& j- I# p7 X
  414. ; Error Level Constants:% S5 u9 v9 Y* A! U
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    + F: _) a$ w1 F6 R+ @9 W
  416. ; E_ERROR           - fatal run-time errors
    ; d) B7 p3 C# M4 g6 M: Q; C
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    / R7 Y9 J3 H' [$ }
  418. ; E_WARNING         - run-time warnings (non-fatal errors)$ B" y2 d( a% o7 T, ~
  419. ; E_PARSE           - compile-time parse errors/ [; I" t# \+ w) N  g  B; z1 `. _) R
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    5 p$ M7 G/ q  y& J# `! J. p. X
  421. ;                     from a bug in your code, but it's possible that it was/ {# W. C7 p" B  @7 |# N. r
  422. ;                     intentional (e.g., using an uninitialized variable and
    , B8 M6 `' w+ P! W. ~
  423. ;                     relying on the fact it is automatically initialized to an) E5 u2 P8 d& t+ x
  424. ;                     empty string)% |. @* j' F$ I" @
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes! D2 l4 G9 M" x( |; Q; j
  426. ;                     to your code which will ensure the best interoperability3 X2 d, ~: L7 g( Z, i
  427. ;                     and forward compatibility of your code, R" u  z+ P# Q1 O8 P- I( f
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    * p9 D9 t2 U- j
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    " A1 A, @9 F) G. W) K% f# D
  430. ;                     initial startup6 b& k: c1 |0 ~
  431. ; E_COMPILE_ERROR   - fatal compile-time errors3 u  O6 u8 [6 o7 J! r  a5 x) j
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)! ?9 D1 c) k  _  t! w
  433. ; E_USER_ERROR      - user-generated error message9 A' a, L8 v& T! C! G3 k
  434. ; E_USER_WARNING    - user-generated warning message
    5 m/ W" J3 l0 _: Y" R* i0 B
  435. ; E_USER_NOTICE     - user-generated notice message
    6 n. {) g+ V! _
  436. ; E_DEPRECATED      - warn about code that will not work in future versions' [7 h5 u; K( o
  437. ;                     of PHP8 |- d1 t% P( ~, s8 v' |7 W. r- m
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings$ ~& P6 Y; t& b9 R4 N
  439. ;
    - N8 s4 i3 r2 n5 Z, N& X  B
  440. ; Common Values:' _4 }/ r, [  L* N, l1 L7 z! a
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)( `( W- z! j+ Q' t8 G
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    , _& T. ^3 I" B" E
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    " O' I7 {) R; R8 P
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    5 ^$ z3 W6 L8 r3 ~6 b! j
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED- B0 R' _0 n! y, Q* e% p
  446. ; Development Value: E_ALL
    ' m) W0 y  ]. F0 z
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT. k4 [# K, y6 n) W! T0 y  r+ i
  448. ; http://php.net/error-reporting
    8 N4 c: f7 B5 Q: ?
  449. error_reporting = E_ALL & ~E_NOTICE
    , t7 f; k. z" g. J' |: G5 m

  450. / _* ]6 A" A# |: q- R) ~
  451. ; This directive controls whether or not and where PHP will output errors,$ P- L! M2 S2 n) @/ e
  452. ; notices and warnings too. Error output is very useful during development, but( }" ^3 j5 X; d- e' u; o
  453. ; it could be very dangerous in production environments. Depending on the code
    9 B  U7 {7 Q' k9 O$ f4 `! u
  454. ; which is triggering the error, sensitive information could potentially leak
    4 s) x0 J% U8 T) d
  455. ; out of your application such as database usernames and passwords or worse.
    ; Z. a5 m: }* ?) ~& f
  456. ; For production environments, we recommend logging errors rather than
    $ c- e6 A- K( F8 }& D
  457. ; sending them to STDOUT.
    ) k) U# I( n: W4 c/ x' K2 a0 ?
  458. ; Possible Values:) W$ M/ W' S6 A, q$ j% r
  459. ;   Off = Do not display any errors
    * y, Y: s2 G3 [4 b+ U- e# b+ d
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    / Z4 i- A$ j; D/ d1 Z7 b
  461. ;   On or stdout = Display errors to STDOUT
    4 z0 D5 j6 }- G  q2 L
  462. ; Default Value: On5 I* J. [; h- L" s
  463. ; Development Value: On
    ! ]/ `5 w: q( p# p7 ^
  464. ; Production Value: Off
    $ v, ]. r) v2 c- N, n& |) e
  465. ; http://php.net/display-errors2 P4 i8 }9 U) D! F; o
  466. display_errors = On" A/ C8 K9 |. d. @. w0 d
  467. ) O' w0 h+ {7 B* h- Q3 G6 H
  468. ; The display of errors which occur during PHP's startup sequence are handled
    3 t% E8 g6 ?2 |2 S0 v9 E. f
  469. ; separately from display_errors. PHP's default behavior is to suppress those" t" d" q# M, {( K
  470. ; errors from clients. Turning the display of startup errors on can be useful in1 A6 E2 g4 C8 ?9 w% Q
  471. ; debugging configuration problems. We strongly recommend you
    ( H% M5 E/ X) U/ M: X9 f
  472. ; set this to 'off' for production servers.8 E; U" m; ]$ ~# J
  473. ; Default Value: Off7 j4 `3 b; W3 Y1 S3 x$ i% E
  474. ; Development Value: On6 C0 ]1 |0 x! [1 @
  475. ; Production Value: Off
    # i+ [- S( t9 V9 j
  476. ; http://php.net/display-startup-errors
    & h" a6 |2 D) U1 Z
  477. display_startup_errors = Off
    # ?. A& G. T/ M! V" B/ V! S
  478. , D  O/ S5 j4 u
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    5 `1 J: ~+ H6 ?! v  l7 h' i1 x' o
  480. ; server-specific log, STDERR, or a location specified by the error_log
    + p% j9 J" n1 Q1 m; C
  481. ; directive found below. While errors should not be displayed on productions
    # x8 R2 L) O$ }; ^: X4 k
  482. ; servers they should still be monitored and logging is a great way to do that.
    " D4 F# S3 ]7 ]! x9 b: E" |) S8 O
  483. ; Default Value: Off8 V  _& s7 b! b# Q% v. q9 H6 Q$ _
  484. ; Development Value: On) A& d/ s* N& R, n3 c5 a
  485. ; Production Value: On
    6 ~9 ]4 e* f! @- U" w" T6 k
  486. ; http://php.net/log-errors
    6 {& Y6 A6 a8 {, x6 T2 B
  487. log_errors = On
    ! P1 C/ h* c0 A% g; j8 K8 l) C

  488. * M. l- G  [' f! A
  489. ; Set maximum length of log_errors. In error_log information about the source is
    0 z8 _; x$ K* q+ k% r
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.; m9 v6 h, U0 y/ k9 }; d
  491. ; http://php.net/log-errors-max-len
    - z' N6 l& d8 G+ ?
  492. log_errors_max_len = 1024
    % X$ v2 r9 S6 X  r
  493. % b- Y; _, \2 Z: o. D" O
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    4 E4 ~, F/ n" M0 c3 v- ~
  495. ; line unless ignore_repeated_source is set true.
    + X% U0 P' G7 ^5 @- f  [7 I( n: W
  496. ; http://php.net/ignore-repeated-errors
    ; e5 z, _5 A5 f& w
  497. ignore_repeated_errors = Off2 ?, N% ]: @+ ?" [* h' B' `

  498. / Q3 G' I7 f4 W1 C- Y( @7 P
  499. ; Ignore source of message when ignoring repeated messages. When this setting, y5 p. t7 E- }+ P
  500. ; is On you will not log errors with repeated messages from different files or
    . T! E; }; w2 E  A- _' q/ q+ l# b
  501. ; source lines.4 r- s# E6 n0 R& P' f2 S
  502. ; http://php.net/ignore-repeated-source) f0 x5 ]9 i- x5 U3 x
  503. ignore_repeated_source = Off
    7 _: ?% D! K% J* |
  504. , ?3 v0 `; I: K) ?6 m# L0 k
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on6 L/ o: h5 C" \5 a
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    4 N$ m( `- y% F" s# r9 d1 c
  507. ; error reporting includes E_WARNING in the allowed list6 C5 Y3 Z* I+ A, i5 }
  508. ; http://php.net/report-memleaks" @" o: q% X+ j+ K
  509. report_memleaks = On9 H" X9 G& J" O. P9 i1 G. `
  510. 7 {: @5 F) f  u% C+ ^! J( R& n
  511. ; This setting is on by default.
    ; h  @# [  I; B% U& v) X0 V) P
  512. ;report_zend_debug = 0
    / g; R9 F% T. P4 k0 A0 D! h

  513. ' j; N0 K# I3 ?4 d+ D
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value4 _% g  }1 |% P, m0 K
  515. ; to On can assist in debugging and is appropriate for development servers. It should1 W; _3 P$ o1 B0 P+ m! z) V( X
  516. ; however be disabled on production servers.
    % ~9 q. D% x" W, x' x# ^% m
  517. ; Default Value: Off' l5 U2 V' [8 f" m. T
  518. ; Development Value: On
    5 `+ i- ]/ E0 A; `3 p. \9 O: ]6 M
  519. ; Production Value: Off$ C8 I2 D0 e$ k& [- s. u' ]# Y( y
  520. ; http://php.net/track-errors
    . Z3 e" U0 a% E
  521. track_errors = Off
      I. m8 J8 H% L7 ^. Q/ \

  522. ! G0 F$ ~* t% y" i, j1 c5 O( T4 b0 ^& a
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    . w3 o/ E! Q/ O) i/ ]4 o+ k( L' F
  524. ; http://php.net/xmlrpc-errors
    - I: S0 G, H% X8 u2 W6 }- G* |
  525. ;xmlrpc_errors = 0
    5 @  K# V' \2 [, e7 ~5 D
  526. 3 }' A3 ~* m- Z: c: k
  527. ; An XML-RPC faultCode
    ( g0 N: }" Y6 n+ E
  528. ;xmlrpc_error_number = 03 Y. S: X6 A" s4 r' r
  529. 3 D" _% I# _& O* H. Z/ u
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    ( i0 U$ n( w% W4 ~9 }7 \) ]
  531. ; error message as HTML for easier reading. This directive controls whether
      M. G, B) ?; ^
  532. ; the error message is formatted as HTML or not.4 o$ u' P: I' [" X! [' q
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI+ ^7 a2 {" {7 P2 j8 A" j) @
  534. ; Default Value: On0 `% O! B3 ?8 J! b1 t
  535. ; Development Value: On2 c  `4 J' }- u
  536. ; Production value: On
    3 g% w- |& o: g3 G$ ]
  537. ; http://php.net/html-errors4 |8 Z  x+ ]! ]( _( M
  538. html_errors = On$ K/ ^' X% @. x" @- l
  539. 3 S" q- f2 F) G- v( n
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP% s; y  @, t4 |/ M+ b$ ]& H. M
  541. ; produces clickable error messages that direct to a page describing the error
    % A* o7 E; S* T, X3 b7 y4 |+ B
  542. ; or function causing the error in detail.
    4 ~1 [/ A) f8 o! l
  543. ; You can download a copy of the PHP manual from http://php.net/docs) [+ U* i* \. R! d8 y
  544. ; and change docref_root to the base URL of your local copy including the
    ' h$ S; `1 }# s( G/ A/ F
  545. ; leading '/'. You must also specify the file extension being used including
      ]1 |. E3 O) d7 Z' ]$ A
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which- T0 [+ u& e6 j  ?
  547. ; case no links to documentation are generated.
    8 |+ a; v/ A) L
  548. ; Note: Never use this feature for production boxes.
    8 g+ h3 L" ^/ q+ a' \+ b
  549. ; http://php.net/docref-root
    * v% x' z( O& X' c3 z8 x8 n2 z
  550. ; Examples
    2 [: a) b. c$ M$ K, S* y1 M, _1 V
  551. ;docref_root = "/phpmanual/"
    % `1 c. L) P% p7 f1 _" x
  552. " U! y1 T  Q) C1 f" f2 \+ U
  553. ; http://php.net/docref-ext) v3 X! C$ a. g. b
  554. ;docref_ext = .html
    * F& E6 r9 e  A" @

  555. 7 g! y( D" }3 Z$ `# ^# b
  556. ; String to output before an error message. PHP's default behavior is to leave% Q6 G3 F) v" n; [
  557. ; this setting blank.$ @! R  j6 Q2 P* U
  558. ; http://php.net/error-prepend-string
    3 {8 }" S9 m& M9 i0 d4 m
  559. ; Example:
      w: q- d  h5 v" \3 O3 N/ N
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    : U6 c# q; {7 f! t
  561. 0 H, Q7 \* A: s
  562. ; String to output after an error message. PHP's default behavior is to leave
    8 B4 t" L) A1 I; ^$ ]
  563. ; this setting blank.
    - Y6 |% ?2 E$ q
  564. ; http://php.net/error-append-string
    , g5 i4 \; x6 A$ q
  565. ; Example:9 c7 F& N1 v6 O; D, ^, B/ a
  566. ;error_append_string = "</span>"
    4 N  M% \" {- n0 o8 a
  567. / _" F  Q+ Z" m( a0 Q5 d. d
  568. ; Log errors to specified file. PHP's default behavior is to leave this value' k. Z' Y* b/ ~# c/ W* s
  569. ; empty.
    ; K! V; `3 ]1 ~
  570. ; http://php.net/error-log$ \, V* I+ d) O  v
  571. ; Example:
    + i" a/ c8 ^$ s
  572. ;error_log = php_errors.log
    2 c& O' R4 m- m1 `
  573. ; Log errors to syslog (Event Log on Windows).
    : o- i$ X8 _: v3 I
  574. ;error_log = syslog
    0 I# p+ f* w8 v6 b
  575. 8 N$ x: C, [3 U8 k7 O3 D0 j
  576. ;windows.show_crt_warning
    ' ]+ c* q; a$ k* y3 ~0 @7 w
  577. ; Default value: 09 t# u/ z, I) N" ^5 n- _& j
  578. ; Development value: 0
    8 k% g' R0 Q6 X, ^4 L
  579. ; Production value: 0
    ( o- x, V: h6 m7 n; i7 r

  580. 0 [9 r  `2 ~$ g- R
  581. ;;;;;;;;;;;;;;;;;
    8 [& w( U7 y4 Y: t
  582. ; Data Handling ;3 w6 w7 r# z8 ?3 |: n
  583. ;;;;;;;;;;;;;;;;;7 S; ~" {6 v1 d/ \% z5 ~& p
  584. ; q* c  G- W; a7 H/ _/ Y. m) D4 o1 q: w
  585. ; The separator used in PHP generated URLs to separate arguments.  B. D9 }7 `$ T) V7 z/ m0 q5 p
  586. ; PHP's default setting is "&".: B9 a- H, O; S. I2 G5 K
  587. ; http://php.net/arg-separator.output$ _3 e  ~/ a6 U$ a/ G, d: S" B
  588. ; Example:
    # f- f4 S0 V5 n9 u
  589. ;arg_separator.output = "&amp;"8 J: }# F& J( r

  590. 9 e% @& k' ^/ U& ]- T. ]" e
  591. ; List of separator(s) used by PHP to parse input URLs into variables.! o; Z) T5 _) ?# b! B6 _' E9 g
  592. ; PHP's default setting is "&".8 Q. {6 a2 |- r( q
  593. ; NOTE: Every character in this directive is considered as separator!
    " N/ E/ }# r& g; p. W
  594. ; http://php.net/arg-separator.input+ b/ ]& l7 `  v4 u
  595. ; Example:
    + }% B# p8 k' |% i) M7 ?7 e
  596. ;arg_separator.input = ";&"
    7 R  N/ A6 \4 o/ w

  597. : P9 v/ f7 ~$ N! w7 {' q, q
  598. ; This directive determines which super global arrays are registered when PHP; J/ I* S4 q+ a
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    - X6 ~, ~- \0 m8 M9 F- H0 H' r
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ! U. @$ g; }- Q
  601. ; paid for the registration of these arrays and because ENV is not as commonly' ~9 K5 t% e7 d7 L2 v' ^
  602. ; used as the others, ENV is not recommended on productions servers. You
    8 E) Q8 v  [4 f. @- r7 {
  603. ; can still get access to the environment variables through getenv() should you
    % n9 D: B3 h$ @' w! u1 J9 J  }
  604. ; need to.
    3 T9 M# G1 k7 D2 g4 Q" k0 B! L
  605. ; Default Value: "EGPCS"7 {/ W) P8 n3 P) R$ c) Y
  606. ; Development Value: "GPCS"
    % Y4 ^0 C1 V! W9 ~, b" h
  607. ; Production Value: "GPCS";: n9 Q/ I* s, S/ `+ \9 t- `9 @
  608. ; http://php.net/variables-order
    ' C# ^" J* _. A. _. n5 T
  609. variables_order = "GPCS"
    ! y5 M, Z) d+ H; P3 P
  610. 2 j) g5 N9 x! u* O8 i( ~7 T* m  d
  611. ; This directive determines which super global data (G,P & C) should be
    # b+ w( W$ B( A3 [, s
  612. ; registered into the super global array REQUEST. If so, it also determines* ?" l: A- @3 x; C" A3 T, U8 \" m
  613. ; the order in which that data is registered. The values for this directive
    7 C2 K+ h' |2 Y  V
  614. ; are specified in the same manner as the variables_order directive,
    ( D8 k- R0 [8 n: B+ H9 l
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set0 {1 W8 g( V9 b) C0 y1 Z
  616. ; in the variables_order directive. It does not mean it will leave the super
    9 j. ]3 ]& W1 D, O+ d/ @
  617. ; globals array REQUEST empty.
    - M& ?0 U/ F8 m8 Q# b
  618. ; Default Value: None
    5 y: Z$ D; A% c+ b8 Y  ~6 J  S
  619. ; Development Value: "GP"% H' {3 {# n% ?. H& _
  620. ; Production Value: "GP"
    ) M# s$ ~5 A2 A+ V6 h2 P2 H, \5 p, G$ N
  621. ; http://php.net/request-order
    - k; \- @3 [+ U: h4 R4 J, }6 [& p! ?' U
  622. request_order = "GP"% d, o' O) u" Y* p3 \8 u
  623. 0 {% L$ P, |  a7 Q
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    9 P; \7 {! |) X* s1 Y4 K7 }. ~
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ; {: m- v# d- b3 K/ V
  626. ; is invoked. $argc contains an integer representing the number of arguments5 h/ x! y$ `* F2 k: k: h3 w" Z6 j: P
  627. ; that were passed when the script was invoked. These arrays are extremely5 ?; T2 K  f2 @; |! z
  628. ; useful when running scripts from the command line. When this directive is. s) B" s0 R- W0 q' Y
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    " V- K+ V6 N& C- Y6 f; d3 T' P( ]' t
  630. ; a script is executed. For performance reasons, this feature should be disabled% W+ G& `8 i. f4 C# v* H3 V
  631. ; on production servers.
    1 @' n1 Y  z2 U6 k
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 c1 t/ t2 e6 n7 H; ]* C! f
  633. ; Default Value: On/ l. d+ L& w0 }. w0 {
  634. ; Development Value: Off
    # l$ S/ h/ u* g# |2 r
  635. ; Production Value: Off+ `2 R9 D) i! V# U  C' [
  636. ; http://php.net/register-argc-argv" Y" o5 g" ~5 R+ Q! e# K
  637. register_argc_argv = Off4 M8 K/ s: i( ^4 z
  638. # p% t0 D* l8 f
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    . B# l- L! |, Q! N  X  O3 w
  640. ; first used (Just In Time) instead of when the script starts. If these& W) A$ G- i+ w' @
  641. ; variables are not used within a script, having this directive on will result
    $ Q6 v; |8 p8 o! x9 t
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    7 ~/ j0 {4 p2 D/ M0 \( [1 e( q
  643. ; for this directive to have any affect.
    ! t* b1 C" ?, l7 S. Q3 b& r: d
  644. ; http://php.net/auto-globals-jit: s  n0 O8 h' |+ [" h
  645. auto_globals_jit = On( k2 ?+ A. R5 `# b$ ^
  646. * W. e8 L; \" J4 }
  647. ; Whether PHP will read the POST data.
    3 U1 q: C6 t* T9 |
  648. ; This option is enabled by default.5 _! c- a( x1 f1 g
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST2 E6 Z9 B0 h3 _# i8 i
  650. ; and $_FILES to always be empty; the only way you will be able to read the: p8 s( t# t* J! ~6 C) X4 S
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    , w  m$ b* d- }; F: m8 t
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.4 g: \$ e- _" F! r2 |
  653. ; http://php.net/enable-post-data-reading. ]! T4 J! S1 ^) D+ \9 x
  654. ;enable_post_data_reading = Off% M2 p! I. Q( m
  655. - b! |9 K0 m: F! q8 q, Z
  656. ; Maximum size of POST data that PHP will accept.& e: z! e: }- D8 a7 `
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading" H0 k9 i. p, z/ b- g
  658. ; is disabled through enable_post_data_reading.
    * k) w  J! a% ^! n+ {- E. G2 u2 ?
  659. ; http://php.net/post-max-size' E2 h. M4 X6 Y. t1 W
  660. post_max_size = 50M* |  K* B5 ?3 ^3 U2 I, C; f
  661. " q" p: V3 T4 Q0 T' J, o
  662. ; Automatically add files before PHP document.$ F: R0 G8 T$ a7 T4 y) I& T6 L6 ?
  663. ; http://php.net/auto-prepend-file0 p% g% {8 a  [% C4 R4 P$ }3 T: W0 z
  664. auto_prepend_file =: u' L# h6 y; E. A9 R! E: q

  665. 4 z; t+ P1 _- R. X2 l
  666. ; Automatically add files after PHP document.
    * U* s0 Y& l5 v: g* C
  667. ; http://php.net/auto-append-file) k* c, g, M& b! I
  668. auto_append_file =
    3 H+ R( A1 K  k

  669. & T; a! M- T; T
  670. ; By default, PHP will output a media type using the Content-Type header. To
    6 g4 z: j' l1 A  c. ~
  671. ; disable this, simply set it to be empty.
    , Q. J& D$ {2 |2 Y: u7 U8 R- V0 [
  672. ;# _& l& i% R0 z5 k) c' L4 k
  673. ; PHP's built-in default media type is set to text/html.! @9 Z- ~0 D7 L! I- D( Z2 {
  674. ; http://php.net/default-mimetype
      ~6 \) K+ Q9 K: [8 Y% O+ S
  675. default_mimetype = "text/html"
    ( E, B( A5 {, n( g/ D- R, Q# L- g. E/ z

  676. + |8 Q1 W" H& K1 J; l$ `8 {
  677. ; PHP's default character set is set to UTF-8.
    3 K, A2 h5 ?6 y' v: @. B+ ~
  678. ; http://php.net/default-charset7 `) O* w, Y* K5 T% f) r8 D* K
  679. default_charset = "UTF-8"" C. H( j- O! s, r: D. _/ F* d: c7 D( v
  680. % {+ c! V5 e* q
  681. ; PHP internal character encoding is set to empty.7 s' {8 g6 U; u6 `
  682. ; If empty, default_charset is used.6 H& x3 e* Q% G, K: K, w* I' o
  683. ; http://php.net/internal-encoding" A" k: @1 W5 B4 h- z( O. r: W
  684. ;internal_encoding =
    8 v" m5 u  Z& B- q  W

  685. 1 w! I. ]$ z7 y
  686. ; PHP input character encoding is set to empty.
    " Y% \( r. [1 \& g; p+ C
  687. ; If empty, default_charset is used.' h/ k% T% k$ d0 ]# X
  688. ; http://php.net/input-encoding7 t- f9 u$ |+ _, |; F% x' Y
  689. ;input_encoding =0 j- [& I5 }+ f% s+ E1 I

  690. ! U) E+ N) H% V& m4 p$ ]# M0 ^
  691. ; PHP output character encoding is set to empty.
    ) t/ \# f( i1 f
  692. ; If empty, default_charset is used./ b' E% [$ [9 N$ f: c: ]8 z& c7 Q
  693. ; See also output_buffer.
    2 ]; V( I4 A; ~
  694. ; http://php.net/output-encoding1 U2 T5 E- v8 T) l1 S$ z  ^+ M
  695. ;output_encoding =
    . d3 j. L6 _/ Z6 N" V) n+ [
  696. , R) b1 D; b7 |- g) d  y' _' a- Z
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is- E9 i) o1 q! H7 k. {  h3 l
  698. ; to disable this feature and it will be removed in a future version.
    % b& Q4 l- D' ^8 U
  699. ; If post reading is disabled through enable_post_data_reading,- ~: u6 ]3 A$ S- x8 R4 D4 v
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.4 L( q6 p/ \% T2 K. T
  701. ; http://php.net/always-populate-raw-post-data
    . }+ _+ U& o  h$ h6 P5 v
  702. ;always_populate_raw_post_data = -1# |4 A7 k1 W! m
  703. + U3 d2 B7 q6 U3 o( _# Z% `
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;3 s) F* y9 n0 C- @+ ?: Z8 b
  705. ; Paths and Directories ;
    ! d2 m7 R9 e: L3 e3 @6 V" d6 y9 n
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;( c$ O% ?$ B+ |: C2 t# ~5 Q+ W! ^

  707. / I) ?& v( x& ~' U. `0 S7 g
  708. ; UNIX: "/path1:/path2"
    7 }, M; @8 s/ z3 [9 G+ K$ S( v& G
  709. ;include_path = ".:/php/includes"
    : s0 k2 Y1 @$ w2 J
  710. ;
    ( X5 O0 Z2 Q+ s( B$ @
  711. ; Windows: "\path1;\path2"+ G7 r" Z# f2 H& L
  712. ;include_path = ".;c:\php\includes"" M+ `% A$ x& T# @
  713. ;; S5 I& u8 Y+ ?# c; e$ n, N3 \: y
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    8 @/ X8 Z7 E$ ~. `
  715. ; http://php.net/include-path. o- ?' k; N- E/ g2 R/ q9 X8 ]+ m

  716. 5 t; X9 I' P3 E+ A; L& E
  717. ; The root of the PHP pages, used only if nonempty.) R/ J2 X6 Q0 N$ d
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
      P' r2 x: x* d- M/ K1 u9 Y
  719. ; if you are running php as a CGI under any web server (other than IIS); R( h+ ^# O, @' X
  720. ; see documentation for security issues.  The alternate is to use the
    ! a1 S. Q* y/ T$ g  J
  721. ; cgi.force_redirect configuration below  z( y9 i; G6 e) z8 R7 O( h+ ?' q$ h
  722. ; http://php.net/doc-root/ L( ]; y! _- P. F: U: D
  723. doc_root =
    # C) ]6 Y% W7 r4 H+ s5 p

  724. 5 n6 v9 ?; {9 \* i8 z
  725. ; The directory under which PHP opens the script using /~username used only
    1 p/ d0 {9 L/ }; a$ d0 z' i
  726. ; if nonempty.( Z2 P6 N1 s# {$ j' J( Z& C1 f9 s
  727. ; http://php.net/user-dir
    3 R" j' T- T8 m$ M2 i' ?0 J
  728. user_dir =7 U. I" O* R. F: w7 ^+ |

  729. & f0 G) [/ N7 `
  730. ; Directory in which the loadable extensions (modules) reside.
    * R, a/ X; g- y! |2 |
  731. ; http://php.net/extension-dir
    - Y6 k" o- r, N3 k; `3 H
  732. ; extension_dir = "./"3 ?' j$ n% {0 }# H$ ?! c+ z! M2 U, i
  733. ; On windows:: F) c4 S+ I; U. Y  O5 O% \4 W
  734. ; extension_dir = "ext"
    + m* X/ W, R' R* D) Y
  735. 9 H- G. u! Z/ p4 F; Q9 j4 i
  736. ; Directory where the temporary files should be placed.
    / V' {& Q2 i  @* w
  737. ; Defaults to the system default (see sys_get_temp_dir)! k6 C' _7 w8 U1 K8 u) R
  738. ; sys_temp_dir = "/tmp"
    ) ~4 H$ e, M0 {  @; v: C  y% [
  739. ! @& a' F; t, \; e: O
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work" m! ^& |8 D6 |! h! _
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    + Y7 A5 F; H. P3 m1 T* q0 W( Y
  742. ; disabled on them., e5 c& _1 r0 f- {) a& o# `
  743. ; http://php.net/enable-dl
    7 |/ P( ]* Z$ Z: Q1 l( Y
  744. enable_dl = Off1 e% _% d" w4 p3 T* T9 W

  745. - Q, b8 y& l5 H1 G- Y) Q# [
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    5 B' A& N9 L# ~/ p$ M
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can0 O7 n. F/ [9 N/ V$ D9 `/ D
  748. ; turn it off here AT YOUR OWN RISK
    + h: C( l* Y3 d+ y! V
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**! N* P; N+ ^% m. {/ n$ g
  750. ; http://php.net/cgi.force-redirect
    % V# U1 J/ N5 D: b
  751. ;cgi.force_redirect = 1
    , B$ H& d$ g/ G# M  b: f% N

  752. : x1 {( i( H$ W, Q8 {
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    / I2 M* v' P  \0 ^1 i6 m
  754. ; every request. PHP's default behavior is to disable this feature.
    3 j$ Z/ x; q% \8 \" I
  755. ;cgi.nph = 1+ o& c! r4 }. J" J/ o, V

  756. . P1 }) V# D- V9 {( I6 j) s
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape) s* z3 e$ O$ V1 L8 o1 L- k# L
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    , G. H8 r* s0 n
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    # K$ \5 |8 f, Z, u/ l5 Z' f+ D
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    # P1 @  t; ?; ]* ^" A8 s) M
  761. ; http://php.net/cgi.redirect-status-env; C" I* ]" }! D% _- n0 @# T$ T8 q
  762. ;cgi.redirect_status_env =3 `6 y( X4 e2 i* x4 L/ s. d

  763. ' N; b8 G  Q3 ~& {! j- g* V: J+ i5 c
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's7 Z6 w' C2 }& L) ~
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    0 |) M  a+ Z$ C1 y( x0 o1 e! c
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting; z1 s1 R, F8 a( U" S
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ( S, v& v+ v- v
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    9 b( q8 k+ ]* [& ]
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.( Y3 S' p: J1 E$ B/ n- ^; X
  770. ; http://php.net/cgi.fix-pathinfo) m9 \( t- @/ l  z$ U
  771. cgi.fix_pathinfo=12 e3 B6 s+ T( _. r

  772. : D! ?. B) Q4 W; K1 v+ D
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    2 I  W; g) V! v# ]2 k
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    # L1 X1 _! ]) L& J: ~
  775. ; http://php.net/cgi.dicard-path
    4 q/ P* G5 X: h6 d! W
  776. ;cgi.discard_path=1
    # g6 L& C4 O3 z
  777. 4 j3 S( j  T$ K- u* [
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    2 {( s- `  N, Q* v  u7 v. n
  779. ; security tokens of the calling client.  This allows IIS to define the
    # O4 D! D4 s3 h$ ]1 a- R
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    : }( V5 I; v) N' p+ j% K
  781. ; does not currently support this feature (03/17/2002)6 n+ Q! ^0 k  N1 t/ J) ^( L
  782. ; Set to 1 if running under IIS.  Default is zero.
    8 f- }! z" V% T% R& k( X
  783. ; http://php.net/fastcgi.impersonate
    1 e9 B5 \, c7 B" O4 R4 T
  784. ;fastcgi.impersonate = 1
    3 T$ b/ J) |- L6 T0 ~4 J! g

  785. ; B! Z6 H. ?! I7 D
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable* E5 r  z% J) u( z
  787. ; this feature.
    ; \* X; L" E3 Z6 V  T1 Z
  788. ;fastcgi.logging = 0
    5 g: t, Q6 T% o, M

  789. ; Q1 F. z2 Q: e4 d. a
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to7 u& T1 `2 f' w& p& M0 }9 T0 h
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    3 k; o! m' @+ d9 d$ }9 H$ m
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    - h$ p" A' ^& A1 {1 F  n
  793. ; RFC2616 compliant header.
    4 m) G* V4 D& x! L
  794. ; Default is zero." b" j8 A+ B1 Y. x# t5 d
  795. ; http://php.net/cgi.rfc2616-headers
    ( i0 `2 p& E/ }: f: B/ z- R
  796. ;cgi.rfc2616_headers = 00 B0 r3 [2 n1 o* L, a6 W$ H
  797. $ M' D! ^! g; L1 l* m7 a
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    . c8 U, j9 D2 V! }6 t
  799. ; (shebang) at the top of the running script. This line might be needed if the
    ! j( T7 G* H, a) v# z/ l
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI7 E6 c0 E2 a* u/ e" O
  801. ; mode skips this line and ignores its content if this directive is turned on.  u8 z. n( s' x( k
  802. ; http://php.net/cgi.check-shebang-line
      B  O4 V5 h4 }4 O$ k
  803. ;cgi.check_shebang_line=1
    - B# C9 w/ o& N7 S. z: H
  804. 0 _# L. S- V# O& r
  805. ;;;;;;;;;;;;;;;;3 d4 X6 A% i9 ^/ v  z
  806. ; File Uploads ;( `0 |! y( m  \. T3 [" y
  807. ;;;;;;;;;;;;;;;;# M+ I+ F8 R% ]
  808. 9 w/ i; Q! H/ e: X* l: K" j
  809. ; Whether to allow HTTP file uploads.
    * C. v; Z# c/ Q; c1 O: E2 Q, G4 s
  810. ; http://php.net/file-uploads
    9 J9 R9 D( e1 k7 B
  811. file_uploads = On
    : G* m9 r. u2 s/ C
  812. ) o% d$ v" i! W% d7 ?: A
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    + r+ y" V  {0 r
  814. ; specified).$ Z& Z* Y4 H  v
  815. ; http://php.net/upload-tmp-dir
    . F* B5 i1 }/ x' u4 l
  816. ;upload_tmp_dir =
    1 x" t% f& x# [% j
  817. % b& \6 F, B+ ~& F, u0 E
  818. ; Maximum allowed size for uploaded files.6 q/ ?5 B" A( L/ \4 B( P: Q0 U8 ]
  819. ; http://php.net/upload-max-filesize& W4 Z& q+ y  U, q$ B( d4 f5 I
  820. upload_max_filesize = 50M5 f: p- u" n  m. f* f* B5 u

  821. + D9 \% O. T; J$ g; i* |
  822. ; Maximum number of files that can be uploaded via a single request
    8 c. ~) G- s; S' q8 A( M
  823. max_file_uploads = 20! f' D+ t1 n* p4 n/ N  C

  824. + r! Z! u! T; d; O1 K! R  @
  825. ;;;;;;;;;;;;;;;;;;0 M1 S1 m; K! I5 g# ^
  826. ; Fopen wrappers ;
    0 T- b: t* s' S# }) g
  827. ;;;;;;;;;;;;;;;;;;
    2 H4 K! I5 d8 D7 z

  828. 0 V. _1 x1 K" r
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    9 p, o, C5 d$ G9 q+ K8 W
  830. ; http://php.net/allow-url-fopen. i5 b0 a! E7 \2 D
  831. allow_url_fopen = On; Z8 I7 {  p% {; D& \0 t/ B) k0 v

  832. " l* H4 j; `" o# @, G" q
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    7 }! ~$ f! R) k2 w& R
  834. ; http://php.net/allow-url-include
    - j( c& e9 j; Y" k* ~4 h
  835. allow_url_include = Off& E5 ?9 D) f1 D6 y& O5 I5 s

  836. / r. ?3 b# H; M- Y" ~
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    9 B  E6 u& \5 s9 @5 g
  838. ; for this is empty.2 m8 Z3 z* y0 ?7 z" @* O9 R
  839. ; http://php.net/from
    & L2 C& W5 E$ i
  840. ;from="john@doe.com"2 E8 B$ v: k$ D% q  T

  841. " ~7 g; f  t, S- w
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    5 [. u! l4 I. G# _) Y
  843. ; http://php.net/user-agent+ z( Y7 Z) ]- z: ^
  844. ;user_agent="PHP"$ D$ d" ]/ N8 \2 I
  845. - I/ b. v3 [; {  _$ h
  846. ; Default timeout for socket based streams (seconds)0 N& _( \" Z4 r( B+ Q+ B  p
  847. ; http://php.net/default-socket-timeout
    & d3 \; Q2 I5 T
  848. default_socket_timeout = 60
    & k- ?- P8 `1 C' V$ \

  849. $ w  b4 E2 x, U5 O$ p
  850. ; If your scripts have to deal with files from Macintosh systems,
    3 b; u- q: N2 _0 G. M3 ~
  851. ; or you are running on a Mac and need to deal with files from# p/ _: m  d7 K6 K; j
  852. ; unix or win32 systems, setting this flag will cause PHP to4 A, j: y2 {) U3 h( d0 A
  853. ; automatically detect the EOL character in those files so that
    - {" \& F  v- Y. i+ k* C: S
  854. ; fgets() and file() will work regardless of the source of the file.
    * x' b% t% p' l' [0 q7 j+ r
  855. ; http://php.net/auto-detect-line-endings
    3 t, \0 f# i! f2 _; R
  856. ;auto_detect_line_endings = Off/ J1 u, T( F1 b2 M
  857. ' X6 U& F. M6 o/ {: T  l
  858. ;;;;;;;;;;;;;;;;;;;;;;
    , b2 p& ]: ~4 H( a: g
  859. ; Dynamic Extensions ;
    0 K9 F" {8 i! f1 R
  860. ;;;;;;;;;;;;;;;;;;;;;;
      I- D1 u8 d! u6 J: A; Y3 Z# u, T
  861. + ^1 c7 H: P  W' d% O/ w
  862. ; If you wish to have an extension loaded automatically, use the following1 C, b: `7 J& F, r9 W3 `
  863. ; syntax:
    7 O, G! C: B3 B8 U: t) ^
  864. ;
    9 G0 f* C& H7 X/ g7 g: V
  865. ;   extension=modulename.extension! k9 e4 M) c) g0 u- e" }7 }9 {8 o
  866. ;! ]4 x2 N$ s# [3 i
  867. ; For example, on Windows:
    5 r/ c* b4 {8 j. m4 Q' |/ E1 n
  868. ;
    ! G0 b9 F% P' ?# r! S
  869. ;   extension=msql.dll
    * |# z8 o( Z6 Y. z' ^9 ~
  870. ;9 f9 x% t0 z- U! P: S
  871. ; ... or under UNIX:
    6 \: o6 U1 h* e& T5 ?
  872. ;, d0 B& A- [0 h2 y! y) H2 {! C
  873. ;   extension=msql.so4 U1 N  w$ J/ Y, Y
  874. ;- x* L1 }9 S2 C
  875. ; ... or with a path:
    ; r: r! W  ]; \6 a
  876. ;
    3 y$ s4 J! S! F2 N
  877. ;   extension=/path/to/extension/msql.so
    ' P4 s! L1 S! r0 ]
  878. ;
    ! @8 Q% ]5 u, P, ~
  879. ; If you only provide the name of the extension, PHP will look for it in its
    7 P& Q% Q+ U$ @4 x' z9 Y
  880. ; default extension directory.
    + Z; H4 ]3 Z5 Q$ \" X% G7 Q1 J
  881. ;
    * D' o# T  C( k. W
  882. ; Windows Extensions
    5 i/ Z% U5 T$ K
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    / Z7 Q$ J2 Y' f! C  B3 \; I# t
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ) e! S7 y9 Y$ O
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).) ~- r2 V0 e) K' s
  886. ; Be sure to appropriately set the extension_dir directive.
    . X: t5 D$ `+ \) a' Y& A1 w
  887. ;
    # O9 l3 U0 `7 E! |0 v/ p* T
  888. ;extension=php_bz2.dll$ G5 X0 N# `  m6 ]/ ?
  889. ;extension=php_curl.dll
    ; q$ z; r. u( X5 `
  890. ;extension=php_fileinfo.dll
    7 l/ f. s! X* Q  e
  891. ;extension=php_gd2.dll
    6 P- W4 h3 l8 K+ h. }9 i
  892. ;extension=php_gettext.dll- n0 i1 J  j% Q+ |( O% R+ E
  893. ;extension=php_gmp.dll: @; @1 K" e" q2 y- B5 T- e- N
  894. ;extension=php_intl.dll
    8 C- s  k0 I5 p* c
  895. ;extension=php_imap.dll! |" e! `9 Q' s) y1 w2 E
  896. ;extension=php_interbase.dll1 H& i% E# k( a% k
  897. ;extension=php_ldap.dll
    8 o0 V( v3 `: [8 v
  898. ;extension=php_mbstring.dll
    ; H' f$ g# E- Q
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    / D# D  q: F: f3 D- k2 k  F" ^
  900. ;extension=php_mysql.dll% K, J. L1 r& X( ~
  901. ;extension=php_mysqli.dll
    2 n; y8 Z. g: N5 G. N
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ; ]  n$ j4 a& W; `2 z$ q' N
  903. ;extension=php_openssl.dll. B1 Z' N/ D7 p$ E" {
  904. ;extension=php_pdo_firebird.dll
    ! q* x  M2 J/ V, i& ~. m# C2 J
  905. ;extension=php_pdo_mysql.dll
    3 M' [3 Y+ m4 g4 O9 i
  906. ;extension=php_pdo_oci.dll
    % w6 M9 b" p1 O& Q9 d8 p6 Z
  907. ;extension=php_pdo_odbc.dll
    % D; o) v9 U9 |. S8 g0 X$ [& k6 y
  908. ;extension=php_pdo_pgsql.dll
    ( H+ R; {) C( r7 h; K
  909. ;extension=php_pdo_sqlite.dll
    8 p/ s. `$ S7 i- @7 c( u
  910. ;extension=php_pgsql.dll' Y- ~# }2 N% r- `- b
  911. ;extension=php_shmop.dll7 j7 Z6 W1 e, _' y) A' |

  912. 3 M9 ]% ]* {- f3 `% y* Z
  913. ; The MIBS data available in the PHP distribution must be installed. , B! t5 E/ Z# i& l2 R
  914. ; See http://www.php.net/manual/en/snmp.installation.php : K0 B% c5 z" _2 M' r
  915. ;extension=php_snmp.dll
    9 |1 K# a, I/ V( N) n& W

  916. 1 W3 j0 d) x3 I5 a
  917. ;extension=php_soap.dll
    2 h& A$ _% N! ?
  918. ;extension=php_sockets.dll
    6 f+ L/ C  @1 B  A9 d! i( }) L% t
  919. ;extension=php_sqlite3.dll
    % c/ V5 Y4 q$ o6 C) Y5 C3 s
  920. ;extension=php_sybase_ct.dll
    + y5 P' h! h% q) U8 v
  921. ;extension=php_tidy.dll+ V# Q( U- a: @8 o3 a$ z  N! c6 B7 s- v$ k7 Y
  922. ;extension=php_xmlrpc.dll
    4 U+ {. O; w  N1 P* a) `8 k
  923. ;extension=php_xsl.dll3 R0 V, Q% c/ U; {
  924. $ F6 j' Q  D9 }+ b" ?, a$ o$ I! P6 s) E
  925. ;;;;;;;;;;;;;;;;;;;
    5 W' D$ }0 P7 t) @; r. |6 K6 c
  926. ; Module Settings ;' K6 F* E$ `( x
  927. ;;;;;;;;;;;;;;;;;;;5 a$ v% |5 u$ ]# g+ h$ k& L

  928. 0 x* K- Y. N8 q, A( a! O
  929. [CLI Server]. p+ c* d* S: N- `
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    9 i- K( b9 ?% k4 a6 q
  931. cli_server.color = On4 `# d" a# {$ _+ `: C* |
  932. % V4 ]% h% z7 C4 t) c0 S/ O4 S% B
  933. [Date]4 G- n: M. r( e; g2 ~
  934. ; Defines the default timezone used by the date functions
    ! b; o. r2 W* n2 _6 X7 ^* v
  935. ; http://php.net/date.timezone- D/ K3 Q9 I" j; P7 H
  936. date.timezone = PRC
    & O4 O# R8 P/ i$ }, h# N- X' ~% [

  937. ' l/ |3 I& d6 d( `5 d. n- E
  938. ; http://php.net/date.default-latitude: q/ w, N  x3 g8 ?
  939. ;date.default_latitude = 31.7667
    4 e4 K1 P) q2 [6 `5 R
  940. / t' r2 X$ @3 n1 a0 n( X
  941. ; http://php.net/date.default-longitude, p$ b( }& {; T
  942. ;date.default_longitude = 35.2333
    1 p, \5 ~* s, \+ l. ^

  943. % p0 j0 m0 ?1 Y9 k* `
  944. ; http://php.net/date.sunrise-zenith0 i. M0 x8 w, ~1 P( H
  945. ;date.sunrise_zenith = 90.5833334 s) t! i4 z$ u0 I- l
  946. 1 s  Z# ^4 l4 ?/ L! x- o6 C
  947. ; http://php.net/date.sunset-zenith
    * R/ u' p4 R! u' n' @
  948. ;date.sunset_zenith = 90.583333
    ! I: N: [5 x& g: L4 t
  949. * ~# R4 i7 X: ^) |' z% F' e) c% J8 u
  950. [filter]
    " [+ q4 D6 Z  W, H0 N
  951. ; http://php.net/filter.default
    & f+ M7 s# P3 z/ Y+ S1 R( C9 h  Q
  952. ;filter.default = unsafe_raw
    , J7 O1 Y. E$ A1 r
  953. * o/ K1 J  V" A  o
  954. ; http://php.net/filter.default-flags
    8 n7 y% B4 F2 D9 {. h1 T( J" t
  955. ;filter.default_flags =  H$ J' \3 u( Y4 x

  956. 7 J9 O, S8 f; X
  957. [iconv]: c; _. U2 y2 l
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.0 x6 F2 V% w) M% M
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.& {3 \1 C  E( d, \
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding  E% ], j5 b( O% e, j9 R/ g) `
  961. ;iconv.input_encoding =* c* W+ l: f1 I- X$ R# G; Z

  962. * m5 H, B. z3 k* f
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.( k$ v# [1 R# t3 L9 D6 ]
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ( H+ n9 v& L0 i2 q: Q
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    . j  G2 P3 S7 y7 @) |# B, [
  966. ;iconv.internal_encoding =
    # K' P0 ^6 g" p* `4 P9 V

  967. 3 W, Z5 [7 R' D, i1 L# A- V7 b; u* e
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    , I- \) i3 z  `2 {
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ; X2 t, h/ }$ E1 G/ n' n
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    6 h" j* L1 g6 a, t
  971. ; To use an output encoding conversion, iconv's output handler must be set7 T& _2 N0 ^# ^# W  t" D
  972. ; otherwise output encoding conversion cannot be performed.
    ; s2 g" M! U/ n* i: l( P
  973. ;iconv.output_encoding =: a! P4 }- `; W* }6 I

  974. & r$ P1 ~( D/ Z
  975. [intl], f" m. L% n! C4 r" Q
  976. ;intl.default_locale =
    " |0 s/ G( X( Q/ T! O
  977. ; This directive allows you to produce PHP errors when some error
    # F! Q5 c7 Z: D8 l& K6 i
  978. ; happens within intl functions. The value is the level of the error produced.1 n0 `& j% |" B  n
  979. ; Default is 0, which does not produce any errors.
    # H$ u7 u4 Z/ _3 n+ B3 _
  980. ;intl.error_level = E_WARNING
    * @3 m: Z3 e) G
  981. ;intl.use_exceptions = 0
    , m% ~6 R- S. c( Y. x" U

  982. ; c# `  Y. q* e5 K
  983. [sqlite3]% u3 k9 A; Q2 k1 G1 e9 |' e; t( ^
  984. ;sqlite3.extension_dir =7 O/ r. Y' M3 [* G

  985. # q: |" B6 f! v
  986. [Pcre]6 \8 C+ j& @! J+ D9 i5 `
  987. ;PCRE library backtracking limit.0 W' Y4 x; c' e2 E  a. s
  988. ; http://php.net/pcre.backtrack-limit$ p) t# s# m; q8 S: O/ ~' _
  989. ;pcre.backtrack_limit=100000$ z4 o. D) g* l- B5 `: C% W" [% X( r
  990. 8 q7 r, ]! [! l; r# p2 g, ^
  991. ;PCRE library recursion limit.5 k4 p5 @, Q2 u$ I
  992. ;Please note that if you set this value to a high number you may consume all; ~% }6 \5 Y8 j8 |. D  A. }1 B
  993. ;the available process stack and eventually crash PHP (due to reaching the
    # I5 \: M+ @8 M, h2 {& _( W' d
  994. ;stack size limit imposed by the Operating System).
    ; R1 D2 k) P! c
  995. ; http://php.net/pcre.recursion-limit8 y& h! x; h* n7 L: _
  996. ;pcre.recursion_limit=100000
    * ]! m. F" i. h9 w# U0 ^! D
  997. # U; T1 W$ V& c2 a& v* d% V; d
  998. [Pdo]! N# l8 k1 T. \% C7 b
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    0 {' g. k' }# a- s4 d
  1000. ; http://php.net/pdo-odbc.connection-pooling0 x1 L5 b5 U4 H3 ]3 ]3 Y) U! p
  1001. ;pdo_odbc.connection_pooling=strict: f7 s2 L6 t4 C% ^7 R
  1002. - Z3 Q* k0 X& ?- m
  1003. ;pdo_odbc.db2_instance_name+ w, M, z' f4 Z

  1004. & V" ?& L0 @8 Z8 t( W
  1005. [Pdo_mysql]* ]- K. Y5 h/ h
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    , I* p6 t- a2 H: r9 y" s2 e
  1007. ; http://php.net/pdo_mysql.cache_size) a/ H; J) G. ^# I
  1008. pdo_mysql.cache_size = 20000 g1 i. A* c4 A; D- S8 z

  1009. ) o5 |1 G9 j  N0 H' K0 }
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) e/ k' U+ M6 a& U2 o1 @# A
  1011. ; MySQL defaults.( W2 J! \) v* N7 Q! h
  1012. ; http://php.net/pdo_mysql.default-socket4 k) F2 ?, |$ |8 a- I! w4 P+ K" K
  1013. pdo_mysql.default_socket=! ^& i. W8 m/ x- E8 y4 ?. _! }' n
  1014. 6 l/ p+ A& y: z7 F: F! U7 c6 ?
  1015. [Phar]! j' ]) d+ \" N( a& c/ K
  1016. ; http://php.net/phar.readonly
    1 ~7 u6 k. r/ l, O
  1017. ;phar.readonly = On! l- g% l3 b6 B/ h' b. u) N

  1018. 6 K3 y; P9 n3 |' b  j
  1019. ; http://php.net/phar.require-hash
    6 Y: z7 `# z* L; f
  1020. ;phar.require_hash = On
    4 i- `) X* k+ `2 j- s/ q5 O/ P7 \/ Q

  1021. ' x3 c& e) x3 m( g+ y0 [+ ^
  1022. ;phar.cache_list =6 u  W* w: ~' x" r$ w7 q( e% C* P3 C, c
  1023. / a4 i7 i7 E3 ?; b8 q
  1024. [mail function]
    9 [" t, i; V- h
  1025. ; For Win32 only.) q0 d3 W# ~0 D$ D$ B/ m2 V
  1026. ; http://php.net/smtp
    " S- T# q( l0 X
  1027. SMTP = localhost
    5 k. n6 f* G  l8 t' [
  1028. ; http://php.net/smtp-port9 @% s4 j& a( H4 N# a* E
  1029. smtp_port = 25* l# b% _0 b  N- p) x( L, _

  1030. $ g! V8 s0 D* V' h5 e
  1031. ; For Win32 only.
    : u( ^- M3 C) O) A* |1 h
  1032. ; http://php.net/sendmail-from
    7 Y* G5 f9 _/ d
  1033. ;sendmail_from = me@example.com( _3 S6 U9 a' L) C3 M# f: W7 i
  1034. + o1 b9 X9 W, b* x3 E9 W5 z
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    - Q+ w5 V' Z9 Y
  1036. ; http://php.net/sendmail-path
    # N- \0 L5 b; \: R
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    8 @1 r+ T( S3 R3 v& w7 b# j* J2 ~

  1038. 1 D3 \& r, o! K1 d5 C" V
  1039. ; Force the addition of the specified parameters to be passed as extra parameters$ c3 o+ B5 d; K
  1040. ; to the sendmail binary. These parameters will always replace the value of
    3 N. F* V5 M1 X( r
  1041. ; the 5th parameter to mail().
    ' X3 `! h1 ^2 Q8 I- D2 a  O7 _
  1042. ;mail.force_extra_parameters =
    " J% f! n3 b- j) \3 ~6 s/ M* @
  1043. : m% g/ u* q+ n
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename" l3 _3 a9 M1 P1 g/ C6 N, D$ f
  1045. mail.add_x_header = On
    ) u. c6 d' X$ j7 j7 i& P

  1046. 3 x: k9 f4 X4 W: t; Y! `
  1047. ; The path to a log file that will log all mail() calls. Log entries include1 ]3 r" q6 r4 |( C# z
  1048. ; the full path of the script, line number, To address and headers.$ z+ @; T9 C* L, }8 c
  1049. ;mail.log =
    , }# z: |2 c) e5 \9 _" g" [9 W7 \
  1050. ; Log mail to syslog (Event Log on Windows).' r) {4 A7 |& y. G) c
  1051. ;mail.log = syslog
      B% r' o+ `! N5 o

  1052. # P( V4 j7 p1 H; H1 X" D( B
  1053. [SQL]
    7 D" s2 d# E' q; r6 p6 A" A( a
  1054. ; http://php.net/sql.safe-mode' C6 V# H2 W, w3 {, J  ?2 T5 i
  1055. sql.safe_mode = Off
    ; j' M* @! @( J8 r# V6 I" |

  1056. 6 f# z6 T! }% Q$ t9 z  x4 [
  1057. [ODBC]- [7 ~2 x0 z! I9 z
  1058. ; http://php.net/odbc.default-db* Q5 g& o7 A3 |" J$ W0 U' R0 F
  1059. ;odbc.default_db    =  Not yet implemented
    2 x* V$ a' o+ c. x4 r" d, v

  1060. 1 t' C: Q3 q+ r' R  r2 B
  1061. ; http://php.net/odbc.default-user
    9 r" S. S2 h* Z0 t* M2 \+ }2 M
  1062. ;odbc.default_user  =  Not yet implemented
    , x4 Q1 A! f5 h3 B/ x

  1063. 3 C) c4 K: U0 m7 A+ M$ E6 L8 |" @
  1064. ; http://php.net/odbc.default-pw  M& f5 S0 w/ R  Y6 A. X# Y6 V1 X0 i
  1065. ;odbc.default_pw    =  Not yet implemented
    5 x% Z: u8 }! @8 ?" i9 I2 D6 d. G

  1066. " U, |+ [! [$ B9 D
  1067. ; Controls the ODBC cursor model.9 C3 ^" V! E8 ]5 b2 u6 b
  1068. ; Default: SQL_CURSOR_STATIC (default).
    & U8 L3 G  `/ ~' k: v+ A. o
  1069. ;odbc.default_cursortype- N/ B) g) D  h& {) G5 x! F
  1070. ' u: a. V1 K0 I" E6 l
  1071. ; Allow or prevent persistent links.* u% ~; ?. i# i. h
  1072. ; http://php.net/odbc.allow-persistent7 h! n- n6 ]" V7 `
  1073. odbc.allow_persistent = On4 z" W4 V( p& S! \! V8 B

  1074. : r! m% M; r7 _8 p1 Q$ a
  1075. ; Check that a connection is still valid before reuse.% r, M# |, s& p1 X
  1076. ; http://php.net/odbc.check-persistent
    7 m9 W! D" ]% s8 R& f  y
  1077. odbc.check_persistent = On* S6 i9 ?4 O5 W( _$ S2 N2 v

  1078. . S! B" p4 n' O# ]1 x& i. l4 z; k
  1079. ; Maximum number of persistent links.  -1 means no limit.; g5 b3 a# B' G4 ^/ C
  1080. ; http://php.net/odbc.max-persistent
    ; }9 j- P  G5 f: j# M
  1081. odbc.max_persistent = -1
    & y+ `2 Y: X! B* q7 s8 u, U
  1082. , C1 T* ?  D/ ^5 o6 G& a
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 e) J( r/ y' m1 h
  1084. ; http://php.net/odbc.max-links
    ; y& |' h3 b- ]8 x
  1085. odbc.max_links = -1, h% k! g5 j* A# Z0 |7 ^5 u

  1086. 5 [' ^- c9 a$ L# g6 i# [, q
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means" v1 ]  e* p/ i5 f$ W
  1088. ; passthru.
    6 [$ D: G5 `2 l& x+ F$ ]8 L
  1089. ; http://php.net/odbc.defaultlrl& ~; ~# c9 f6 y4 y
  1090. odbc.defaultlrl = 4096* f; h6 a* J1 ^

  1091. - h3 D5 f+ n  M7 ?9 T" c
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    + }, d; j# k2 u7 u  q+ P4 `
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation6 C& h0 L8 M8 n8 S% e3 v. P
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode7 I% R; a; D) A" R. x* Q$ U
  1095. ; http://php.net/odbc.defaultbinmode
    - V" @4 m8 }* ]2 O/ R& F
  1096. odbc.defaultbinmode = 1, b4 u/ q4 P( M4 f$ C

  1097. ( x7 b# V, M( U5 [4 W/ N
  1098. ;birdstep.max_links = -1
    1 ^( B0 m( g& ]% |

  1099. $ [) f0 u' ~) }% O
  1100. [Interbase]
    # r4 Y& j$ k' f+ u
  1101. ; Allow or prevent persistent links.
    6 R; Z: P5 K% n! K9 T$ c; Q) D
  1102. ibase.allow_persistent = 1
    , n$ n4 ^( w* N+ j. r- m

  1103. . e. @; M# h9 k1 y! M
  1104. ; Maximum number of persistent links.  -1 means no limit.2 z9 R4 Z; E/ y' P4 M: p
  1105. ibase.max_persistent = -17 Z( X, B+ F7 Q3 q9 L8 D/ W

  1106. 8 Y- y1 k" a5 U% N" Z' b& B
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 u- l3 J, T2 Y% S0 B
  1108. ibase.max_links = -1
    : i4 ~6 P4 n8 F+ t- p" F

  1109. ' C4 b4 I0 [! N6 }* {0 \
  1110. ; Default database name for ibase_connect().7 g' S! }3 j; [, t9 R
  1111. ;ibase.default_db =# \$ }0 @) I9 e! p
  1112. 5 t1 e  L$ ]0 v+ {$ p" l% G# j8 @
  1113. ; Default username for ibase_connect().
    * l) B5 z% l7 B& i/ S' A% y( A/ j& @
  1114. ;ibase.default_user =
    " U1 M8 @0 ~6 @4 i) Q

  1115.   p1 o" m1 J5 g9 Y- I! g
  1116. ; Default password for ibase_connect().
    # O& o3 i1 ^  _/ J
  1117. ;ibase.default_password =: a" G1 B: O% ~( |8 T" E' s1 r

  1118. + q2 d8 t5 ?% s; I6 L
  1119. ; Default charset for ibase_connect()." o4 _5 B/ R( O) z5 |
  1120. ;ibase.default_charset =" S9 p0 M, c  c8 e% x

  1121. 4 G, f' W' M& i( G
  1122. ; Default timestamp format.2 G# n% t; J! j9 T! \
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"' o( T4 y0 @  r: q8 c0 R
  1124. " {8 U8 R0 N3 _* t
  1125. ; Default date format.+ ]# d# j0 a) b. D& C
  1126. ibase.dateformat = "%Y-%m-%d"
    . ^# e7 g' Q' Y- B
  1127. ' U' n+ O, Z% H; ?
  1128. ; Default time format.
    # Y% f; X$ f, p; P. J' n: ~
  1129. ibase.timeformat = "%H:%M:%S"8 t; a0 o$ s6 b& X. n
  1130. # p3 O! f! w2 I: R- `3 ]$ T, m) i
  1131. [MySQL]7 o4 S2 ~2 x  F/ E
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    & L* |' y& z( T! o
  1133. ; http://php.net/mysql.allow_local_infile
    / N* A( N; D# V/ {' R. {
  1134. mysql.allow_local_infile = On! F  D+ k& x$ R5 o* Z. H
  1135. 7 d. R+ L& [' [6 M2 s. S7 V5 g* J
  1136. ; Allow or prevent persistent links.) L8 y( F6 y, n/ X( I+ L
  1137. ; http://php.net/mysql.allow-persistent
    # w! ?& ?+ {/ `" K2 |+ n8 a
  1138. mysql.allow_persistent = On
    - I$ k6 n' Y6 v2 Y

  1139. # x8 n$ o6 u; K! c8 B+ q1 X
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 m3 W! j5 ^* X; ^
  1141. ; http://php.net/mysql.cache_size
    ) m: K4 \" y3 |# A5 s; ~/ T7 l
  1142. mysql.cache_size = 2000$ L% x7 B% M. ^

  1143. & Z' j% `& _3 D$ M2 G, A
  1144. ; Maximum number of persistent links.  -1 means no limit.
    4 u! t' d; r. _& e
  1145. ; http://php.net/mysql.max-persistent3 N% H" }0 Q7 b( q, _- ^2 `  V$ z
  1146. mysql.max_persistent = -12 X. U; V0 w6 }+ |$ |" D
  1147.   V0 B: E9 H6 H7 Z' _+ Y5 r
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 v2 Y( e% _0 n  @. W& Z1 E2 ^
  1149. ; http://php.net/mysql.max-links. y& {- C6 D/ a9 B3 T0 m  ~
  1150. mysql.max_links = -1, A% p; |' `; |$ O7 U

  1151. ; _$ f3 k- w# \% `
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    6 ?$ @/ y* R$ R+ x
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    6 T4 O, u" G; H  U" n  b  h7 k+ `
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    : ]/ m5 b, w; U% U9 c
  1155. ; at MYSQL_PORT./ d! `5 j4 @" z' x* b# i7 Y3 Z
  1156. ; http://php.net/mysql.default-port
    : z- Y! o3 S: K0 b9 ~
  1157. mysql.default_port =
    $ _" v% V* I+ n' Q9 W7 {" |& b1 h) Q

  1158. : Y8 h( a6 m& ~& p0 u
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * _/ u& ]/ d5 D1 n3 ^
  1160. ; MySQL defaults.
    2 S0 x( o" J& }. z& f
  1161. ; http://php.net/mysql.default-socket) c# ?) O+ h4 y8 k
  1162. mysql.default_socket =' K0 f; q3 R5 `. W, e8 N
  1163. + j8 v. V; {9 X7 P+ e9 B
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode)./ ?; D6 j) B5 J
  1165. ; http://php.net/mysql.default-host- U, @9 _$ L: s' Y5 |' k# a
  1166. mysql.default_host =4 i- ^- K, W- s- f! x' G4 L$ n

  1167. , g' A+ B! f9 ^1 J. a
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    9 D3 j( `1 H; \8 W
  1169. ; http://php.net/mysql.default-user6 B9 U( @) J* n2 ?& P- F9 D
  1170. mysql.default_user =
    ; L- b: E2 `% c% L9 }

  1171. " Q! x: w+ c9 {  N- ?' Y0 J
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    1 h+ J2 U# K  t4 R
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    ! F8 S& t& K% T# k+ N' }( d2 y; ?; k
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    . z+ |( G# J5 j1 o7 Z& [
  1175. ; and reveal this password!  And of course, any users with read access to this
    ' I4 f5 E9 }/ ^$ V/ s
  1176. ; file will be able to reveal the password as well.6 H8 o* C8 r+ |
  1177. ; http://php.net/mysql.default-password6 ?. X! {( {* k! w9 `; Q
  1178. mysql.default_password =
    ( ?/ w* a- M* n, Z) X" b
  1179.   v/ C( q5 f( @  F8 |4 o7 X6 m5 m7 p
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit6 t7 {  e" m- C* O# `& f
  1181. ; http://php.net/mysql.connect-timeout
    " p( @# ~% v% [4 ^
  1182. mysql.connect_timeout = 60
    9 H8 @+ k1 p' F- k) P  b+ w2 ~

  1183. , z  n2 k" o7 u1 E/ z1 n& R
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and3 Q1 H5 L# \( ^& Y
  1185. ; SQL-Errors will be displayed.9 e( d% Z$ p6 q' F1 z2 s) l; ]
  1186. ; http://php.net/mysql.trace-mode7 o: W& ^8 k" D
  1187. mysql.trace_mode = Off
    ' a- H# @" x) @0 R: |

  1188. / B5 H/ [: A: l- u: V! h. q
  1189. [MySQLi]
    $ K; x% ?4 s, L1 h* _! P: N7 s* X) S

  1190. 7 H* w+ V4 e! f" f( N# b/ {0 V% L
  1191. ; Maximum number of persistent links.  -1 means no limit.  m& s/ _4 t& Y& K) l' }* z! V
  1192. ; http://php.net/mysqli.max-persistent& b8 z  r( Y1 e4 u1 c
  1193. mysqli.max_persistent = -1, D7 N+ d8 W; t4 s9 Y& e7 n
  1194. & Y2 |4 d: Y) X& Y1 W+ k6 W
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    - A6 L- [, f7 X6 b( d! I
  1196. ; http://php.net/mysqli.allow_local_infile
    3 x( @/ t( K5 i! L8 F
  1197. ;mysqli.allow_local_infile = On# z, I2 \% S/ b( q& ^" j+ Y/ N

  1198. 1 V3 Y6 S# n2 C) @/ ^
  1199. ; Allow or prevent persistent links.; [+ Q2 h: i8 C1 p1 _8 K  K
  1200. ; http://php.net/mysqli.allow-persistent
    4 c4 T0 o5 L( z# x' C( @6 U
  1201. mysqli.allow_persistent = On, {; ?0 ^- ~$ @1 r% g( q: W: f

  1202. , I+ O5 O% n* i+ W$ }& p, |
  1203. ; Maximum number of links.  -1 means no limit." y; }0 z& P; x
  1204. ; http://php.net/mysqli.max-links: H! _1 o6 ?) Q4 q% ^
  1205. mysqli.max_links = -1
    , o' |! u. ^- P, \; r

  1206. , S& j" B  q5 S/ N# e' C: t$ r
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache; \9 T! \! R% ~' z3 |1 X. ^7 }
  1208. ; http://php.net/mysqli.cache_size4 m. O! b$ _4 r( q# A) u- k+ Z
  1209. mysqli.cache_size = 2000
      l& L2 A/ }5 h% D  s$ J
  1210. 0 r4 t% z* K* n9 J
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use2 `: _' i1 K, C- t, f( q
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the% n9 y) T8 w5 K
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + l/ R* ^* j5 S* ]1 n
  1214. ; at MYSQL_PORT.( I, K6 u+ Z9 t
  1215. ; http://php.net/mysqli.default-port* M2 ?$ T" R4 ?1 G
  1216. mysqli.default_port = 3306) H& O# T& a8 g/ r7 J6 u: t0 H

  1217. ' a2 K3 j: a( Q% d
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 v1 Q- b& u. @% R
  1219. ; MySQL defaults.
    $ C+ q. w7 S6 }; d
  1220. ; http://php.net/mysqli.default-socket
    0 c- E% Z% p7 }. ~5 h
  1221. mysqli.default_socket =
    4 d' r1 g( p& k* d; ?

  1222. / N& |9 Z$ i- v$ k6 |
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).- B# [. [6 v0 W; a- r4 ^8 i
  1224. ; http://php.net/mysqli.default-host2 d/ a' x$ f# B
  1225. mysqli.default_host =/ ^' T4 N0 j, g3 A( |' {$ `
  1226. % ~1 P- B8 {; e& h
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).# P3 T" ?+ T, ^0 x) d
  1228. ; http://php.net/mysqli.default-user+ A- M. H1 i3 ?. S
  1229. mysqli.default_user =
    8 T7 X/ O4 e3 L8 ?% w/ J

  1230. " a  D' ?- o1 D1 B1 m1 H3 S# v
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    & H) X# G7 Y& I5 s! E5 @1 f, W
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    - I# ?1 j2 s$ k3 c! h/ a! ~
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")* u$ J5 }, Z9 J1 W: l
  1234. ; and reveal this password!  And of course, any users with read access to this2 X( d3 k% l6 I3 }5 v
  1235. ; file will be able to reveal the password as well.
      C+ g: J. w3 b2 F
  1236. ; http://php.net/mysqli.default-pw$ _' K( z, L3 j- L
  1237. mysqli.default_pw =
    . x5 \/ }. n, q' C' v

  1238. : K; g  |5 @! {* O" \
  1239. ; Allow or prevent reconnect
    & x4 y* i- i' s! W0 b9 ^
  1240. mysqli.reconnect = Off  q. e2 a. ]8 j2 z) y
  1241. ; [% g; b0 N9 G/ ?' w, v  T
  1242. [mysqlnd]. K( z6 n+ k" F/ h  l8 p5 |* T
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    , `7 @! l  t1 d4 U! b, L: q
  1244. ; used to tune and monitor MySQL operations.! L, p% r8 o! m! U
  1245. ; http://php.net/mysqlnd.collect_statistics
    ) f5 k2 F/ [  s; z; c2 R- A
  1246. mysqlnd.collect_statistics = On
    : T5 [! U2 P+ s7 R4 E; H, y
  1247. 1 J( G; E& V0 l7 x
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be5 B* T1 w4 h1 C* w9 f6 A
  1249. ; used to tune and monitor MySQL operations.8 h1 T% \% A7 U! G* p' R+ `  X' W
  1250. ; http://php.net/mysqlnd.collect_memory_statistics5 \* V9 q! t6 I
  1251. mysqlnd.collect_memory_statistics = Off* c8 Z7 V7 m9 n- t, C
  1252. $ P" @' y/ H( a2 |" ?% ]
  1253. ; Records communication from all extensions using mysqlnd to the specified log( _9 N4 o: C! H
  1254. ; file.  {! b' k) ]% Q
  1255. ; http://php.net/mysqlnd.debug
    * w8 p$ |* x1 r' S* z0 S
  1256. ;mysqlnd.debug =3 w, L  N8 M0 G4 E9 k1 h* J

  1257. 3 \- ]1 |( M) Y
  1258. ; Defines which queries will be logged.* Q# N; k% E' G, l$ d" G4 {
  1259. ; http://php.net/mysqlnd.log_mask
    3 O2 ?3 |1 A+ i8 B, y2 r' Q, l
  1260. ;mysqlnd.log_mask = 0  B( X* l; f: q7 p1 H6 E8 z7 u

  1261. ( _; t$ f# p! e1 j
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.- b! R$ ?; r  v: \# y- {7 t
  1263. ; http://php.net/mysqlnd.mempool_default_size2 o7 w7 L4 Z: l
  1264. ;mysqlnd.mempool_default_size = 16000
    ; J, h5 L9 v  R7 Q* O

  1265. 6 |! G# f. _* g. C' [# @: b
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.* _6 p: Y+ v$ }, p0 H- c8 X
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size: P4 S! Z! `! o! b. P& d+ T/ n. n
  1268. ;mysqlnd.net_cmd_buffer_size = 2048* i# E3 J% z9 S# D
  1269. ! s+ S- k9 \4 y! _5 S& `+ V
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in' E- W+ u2 U% l: E+ S: d* ^
  1271. ; bytes.
    ' C. S' P4 R6 B) C
  1272. ; http://php.net/mysqlnd.net_read_buffer_size! s, H& ]+ V( k, A! P3 w8 H0 L
  1273. ;mysqlnd.net_read_buffer_size = 32768
    + @+ \. w- M" h- e6 o& \" H
  1274. : ^- T- p5 k( w8 F% x7 g4 e
  1275. ; Timeout for network requests in seconds.0 X' f) m6 O0 O; d
  1276. ; http://php.net/mysqlnd.net_read_timeout
    ' [( n5 _- s/ ~# P
  1277. ;mysqlnd.net_read_timeout = 31536000
    * v. [8 H' d: F7 c+ }6 E6 |2 h
  1278. 4 ~# I$ E- c% |" Q; X5 I
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA2 W8 z) p3 ^$ M$ `: Q
  1280. ; key.
    5 }$ |! f7 K. N+ c5 \
  1281. ; http://php.net/mysqlnd.sha256_server_public_key# T' W. X6 n8 v0 w4 n' j3 M+ t
  1282. ;mysqlnd.sha256_server_public_key =2 Q) \- A4 r3 ~1 t8 i: ?8 n

  1283. , B! q3 p+ D3 H9 l4 d
  1284. [OCI8]
    + |, s8 S1 [1 f8 k' ?8 w# j% L

  1285. 0 W$ t$ t$ L: A9 M2 A: X! K
  1286. ; Connection: Enables privileged connections using external
    # j$ Z, X; r" d: \) i
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)9 i! I7 Y4 E& r
  1288. ; http://php.net/oci8.privileged-connect  z9 w9 |0 S0 I2 M
  1289. ;oci8.privileged_connect = Off; @, _& I& `: t3 |+ t6 S

  1290. 1 \; f8 Q, ~7 E0 r' {
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    1 Z; ^( g* H% m5 w9 i$ {$ Z  F' a
  1292. ; process. Using -1 means no limit.2 a4 p! `9 m  J5 L
  1293. ; http://php.net/oci8.max-persistent) d$ U$ n! j$ {* @
  1294. ;oci8.max_persistent = -13 b9 ^1 Q- i7 y8 [+ Z) ?, P+ |
  1295. 2 P' P- w4 v6 ^( [( @" C$ y8 c
  1296. ; Connection: The maximum number of seconds a process is allowed to
    % j2 {4 `) m6 Z
  1297. ; maintain an idle persistent connection. Using -1 means idle
    , Q/ l. o7 Y" d# [
  1298. ; persistent connections will be maintained forever.% m8 `' b0 v, L7 s( \7 L
  1299. ; http://php.net/oci8.persistent-timeout
    . v# u# Q8 p6 H
  1300. ;oci8.persistent_timeout = -15 T+ i* N$ ?1 }' S; f  @
  1301. # ~. V% B) j1 C  C$ A: w% E  m" K
  1302. ; Connection: The number of seconds that must pass before issuing a; e2 N$ ^( z9 X3 V8 M4 E2 C
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ) k9 @/ |% K& p
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables8 T6 v8 E% @0 J
  1305. ; pings completely.* w' D5 i7 K; D0 W
  1306. ; http://php.net/oci8.ping-interval
    , c3 w% Q4 r) Q& t) o  t
  1307. ;oci8.ping_interval = 604 s: w- P& E8 o7 o6 I

  1308. 2 Q5 D0 T1 p+ H
  1309. ; Connection: Set this to a user chosen connection class to be used
    ) f0 ^: M+ F1 a* G, d9 D
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    : }& [* B2 M/ J2 E
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    : {  B4 Y- @. z
  1312. ; the same string for all web servers running the same application,9 j* }& f; M4 @* l1 }, z
  1313. ; the database pool must be configured, and the connection string must
    8 u' r( S  ]: S0 I4 K
  1314. ; specify to use a pooled server.! @5 _# Y. J( \" g! \6 b
  1315. ;oci8.connection_class =
    6 i% Z# p) ^, T8 ~3 `& O3 h
  1316. # n2 v$ ]% U- R/ _; Q( q5 {
  1317. ; High Availability: Using On lets PHP receive Fast Application
    6 ?3 K: T# g$ @' `8 Y
  1318. ; Notification (FAN) events generated when a database node fails. The
    & Z4 m3 n8 h1 [2 A* ]* A
  1319. ; database must also be configured to post FAN events.2 o+ |4 e+ y% V; E5 D
  1320. ;oci8.events = Off; k4 }0 u. E, M* E; e* h
  1321. ' y, Y6 i% Y" @$ i- g6 {2 o
  1322. ; Tuning: This option enables statement caching, and specifies how
    # U4 K) p4 c; K, }8 @/ c
  1323. ; many statements to cache. Using 0 disables statement caching.
    8 ?, c- p: s1 Q0 M  Q( {$ j
  1324. ; http://php.net/oci8.statement-cache-size; A! z! N- J3 d2 h# x
  1325. ;oci8.statement_cache_size = 204 p! }8 R# i  [

  1326. $ e4 r/ x2 ]* f/ D5 `: s; S2 J5 e
  1327. ; Tuning: Enables statement prefetching and sets the default number of+ `1 L2 ?) O6 ^) [2 Y( p
  1328. ; rows that will be fetched automatically after statement execution.6 w* t' O% n/ ~, D
  1329. ; http://php.net/oci8.default-prefetch( c  n6 G6 ~! g+ X% {* g
  1330. ;oci8.default_prefetch = 100; [6 l8 ~! P+ n

  1331. & Z3 P1 D$ j5 @% W9 U% H) A( M/ R4 Q/ o
  1332. ; Compatibility. Using On means oci_close() will not close' `6 p$ {* V5 f7 D" J0 i' f
  1333. ; oci_connect() and oci_new_connect() connections.
    4 d/ @3 [$ I5 h
  1334. ; http://php.net/oci8.old-oci-close-semantics
    , g) N7 ]* H1 |+ X
  1335. ;oci8.old_oci_close_semantics = Off
    7 z* b( e) v/ @' N
  1336. " r' E2 T4 w# `1 ]: {, d- `8 A
  1337. [PostgreSQL]  l. ~" E) P) S. U
  1338. ; Allow or prevent persistent links.
    , D0 g& s1 [! H/ [
  1339. ; http://php.net/pgsql.allow-persistent
    2 `1 y  W* M$ p- J# F( W  i5 q
  1340. pgsql.allow_persistent = On
    4 a0 D) E$ n% N7 q3 E
  1341. # w/ c" ^" z/ P' S/ ?, K  o
  1342. ; Detect broken persistent links always with pg_pconnect().+ l, x2 @$ F6 I1 }. |4 K: A
  1343. ; Auto reset feature requires a little overheads.
    ( v. Y$ l% p- f9 Y' L+ F. B6 b
  1344. ; http://php.net/pgsql.auto-reset-persistent( f3 v0 e( G- n6 T" v
  1345. pgsql.auto_reset_persistent = Off3 D! ?1 I0 P; O% {8 q

  1346. 6 p7 y3 C$ F5 c9 m( }, _& M+ K
  1347. ; Maximum number of persistent links.  -1 means no limit.9 D8 o5 C) \0 D2 S. e3 h% G
  1348. ; http://php.net/pgsql.max-persistent
    ( ?0 S/ s+ M5 n
  1349. pgsql.max_persistent = -1
    " v! e9 v% `2 j: u
  1350. . V4 P, r$ @2 z# F
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    8 e( i# e! k: t1 }
  1352. ; http://php.net/pgsql.max-links
    7 R! Y* @7 K/ W2 U1 B, }8 E
  1353. pgsql.max_links = -1
    3 p5 y1 a9 ~- G0 z4 H0 d! ^

  1354. , v3 E% A) E, A' U+ F! ?
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ( U& L5 {, V' G+ C8 O: H
  1356. ; Notice message logging require a little overheads.0 v( O/ m2 Z+ e' b' ~. C) w! @
  1357. ; http://php.net/pgsql.ignore-notice
    ! A- C3 ^  ^* B: j7 E
  1358. pgsql.ignore_notice = 0. V* K3 k) u% v$ E/ q0 V4 B- Z

  1359. / d+ t- i! b4 N- M
  1360. ; Log PostgreSQL backends Notice message or not.
    ) o0 A5 t- ^/ K4 E
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.# G' N: M: C* p
  1362. ; http://php.net/pgsql.log-notice
    : I& w7 M2 P% T. f8 ?. F
  1363. pgsql.log_notice = 0
    , r8 z% ?$ ]& q6 e; n

  1364. ( D4 h6 f2 G7 v5 |* i
  1365. [Sybase-CT]: P6 d8 W/ C' L$ p8 |; s
  1366. ; Allow or prevent persistent links.8 M/ L4 z$ \( f- H( I5 J3 Z
  1367. ; http://php.net/sybct.allow-persistent6 t7 T0 p% b% C
  1368. sybct.allow_persistent = On8 {  X1 W$ H1 W/ b! @" @+ Q
  1369. + A9 [3 r/ n- W) l1 Q. ?7 u' U/ X
  1370. ; Maximum number of persistent links.  -1 means no limit.
    6 }8 {+ _! h, g$ [2 d: y3 E0 p9 k4 q
  1371. ; http://php.net/sybct.max-persistent
    " U4 s) ?, v- D( e+ G( p8 _
  1372. sybct.max_persistent = -17 J5 H0 h4 [/ m5 r: i& k0 p

  1373. 4 C( @  X/ S6 O- a1 U
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 A9 @9 ]3 v, \# f4 d. V- ]
  1375. ; http://php.net/sybct.max-links
    6 d5 w( ?* x+ c0 N! J5 S
  1376. sybct.max_links = -1$ L1 y. E9 y) r7 q
  1377. 6 e$ G2 P; k2 Q9 ?8 b3 ~
  1378. ; Minimum server message severity to display.
    1 H5 J3 L7 F& R9 [
  1379. ; http://php.net/sybct.min-server-severity! f0 }" N/ A3 |
  1380. sybct.min_server_severity = 10( ^2 G* i- g$ m2 l2 D8 z0 \
  1381. . K; V8 d+ ?' L4 T% L
  1382. ; Minimum client message severity to display.
    " u' e* Y- a# y+ z& O9 {
  1383. ; http://php.net/sybct.min-client-severity
    " k- B! z. k8 }& Y# f
  1384. sybct.min_client_severity = 10
    0 \+ S" G- `/ m' r; A
  1385. 7 N" L8 x* ~) t- F8 m
  1386. ; Set per-context timeout
    3 E' p8 f' b  `3 S- ]1 q: @+ F1 |: \
  1387. ; http://php.net/sybct.timeout6 n! h: f+ `8 U0 \8 a# T1 e
  1388. ;sybct.timeout=9 U5 [8 \0 f  }
  1389. 0 {2 ^6 D4 y+ H2 s" S
  1390. ;sybct.packet_size
    6 I' A* P7 L* C: c4 t% ^

  1391. 4 t+ }' d( l2 d3 W& O% o) E2 L
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure." {8 X& d2 K% l& F0 {! X
  1393. ; Default: one minute6 E6 s) |5 O% q; @/ [, Y, f
  1394. ;sybct.login_timeout=
    0 J9 N& o& u7 f: e: }6 E7 l, p, E
  1395. 1 Y$ T2 H. @' d
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    & [& o: s1 m- z7 F# }. n
  1397. ; Default: none
    , S. U3 K) A# b; J
  1398. ;sybct.hostname=# p* \' S" Z( \; K. C$ t- I7 W

  1399. - c5 z9 C& O, e& w  S5 S. L# l  ]" |$ ?
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    2 B, _9 x4 L( f5 c9 R5 D! r
  1401. ; Default: 0: h6 F5 m# L( X% i" q! a
  1402. ;sybct.deadlock_retry_count=
    + M, R6 ?+ A8 k) T

  1403. : q$ B" H3 r% N' \8 U7 d3 w
  1404. [bcmath]% N/ u1 \$ X5 J, i
  1405. ; Number of decimal digits for all bcmath functions.+ `$ _  d0 v5 \- R
  1406. ; http://php.net/bcmath.scale4 \: q5 ]9 C+ I
  1407. bcmath.scale = 0
    3 z3 C1 q, P; [
  1408. 8 y7 X! n2 P( K2 K3 w' s  _
  1409. [browscap]
    1 u8 }: i! L" V& w$ K
  1410. ; http://php.net/browscap8 d; ~: g& Y  g1 g# b9 t& ~+ P
  1411. ;browscap = extra/browscap.ini" Q' E; Y+ a1 m, ^) H, b7 U+ e# H

  1412. + F& }+ @$ r! s7 g$ Z( s/ m( l( ?
  1413. [Session]
    + T# v& J% x. D+ `, Y7 C) H2 p3 a+ d
  1414. ; Handler used to store/retrieve data.
    . E: k, p% ~+ F8 Z  w! B
  1415. ; http://php.net/session.save-handler8 H/ ^8 M5 h, b1 s% ]
  1416. session.save_handler = files# P# W' Y5 J* [$ E9 K# b; k+ I

  1417. 2 i. I8 I" W; I, h" X4 y! ]8 o
  1418. ; Argument passed to save_handler.  In the case of files, this is the path7 u# N" U; t9 u
  1419. ; where data files are stored. Note: Windows users have to change this9 t' F7 l, U; B# e: P- n
  1420. ; variable in order to use PHP's session functions.0 N- ~9 \( k* `9 m
  1421. ;
    / y9 k& G1 w( T" t
  1422. ; The path can be defined as:1 i* L( m: }8 t( R+ u
  1423. ;0 R" A# g1 ?. g4 U, }
  1424. ;     session.save_path = "N;/path"3 w6 V. P% m  }# w. K2 @
  1425. ;. z; l4 l# J' K. U4 J  j  h
  1426. ; where N is an integer.  Instead of storing all the session files in
    % j& M6 }( a% @
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    + w1 X; H8 _" m. J( v9 ?/ X
  1428. ; store the session data in those directories.  This is useful if3 \7 i6 z2 Y, h8 S5 O; n
  1429. ; your OS has problems with many files in one directory, and is* W" K( f  Z( }, ]- r( T) p1 S6 x
  1430. ; a more efficient layout for servers that handle many sessions.$ M: F" o# H% d
  1431. ;# j0 Q" H- B% B; l
  1432. ; NOTE 1: PHP will not create this directory structure automatically.; |4 P7 k& X, x' A
  1433. ;         You can use the script in the ext/session dir for that purpose.7 k8 l) ~! k* _2 V
  1434. ; NOTE 2: See the section on garbage collection below if you choose to4 u. q1 Q1 i  P7 g- n
  1435. ;         use subdirectories for session storage( T+ q5 z+ [) e* \
  1436. ;- ]0 S8 q  t6 f: `  h' ^4 ]/ o  Y
  1437. ; The file storage module creates files using mode 600 by default.
    1 e* O, f6 _! ~( b4 z5 m9 j+ o6 W
  1438. ; You can change that by using$ T9 C$ e! c* @
  1439. ;' y% }' C" F" w3 M( K
  1440. ;     session.save_path = "N;MODE;/path"
    : Z4 D+ v  {5 U4 p+ I% S& Z
  1441. ;
    2 o8 k" ~3 D1 U) w( p
  1442. ; where MODE is the octal representation of the mode. Note that this/ M& J! I2 o' i3 R( g
  1443. ; does not overwrite the process's umask.
    ( B  b, k4 ~3 `( ^/ g- `, l
  1444. ; http://php.net/session.save-path
    / ^9 ?; `% B8 V+ m; c4 Q3 ~# n7 q& y
  1445. ;session.save_path = "/tmp"6 C( J5 n# p4 e6 d" k! @- M$ Z

  1446. # N' I9 m' F' y" w9 `# I# L
  1447. ; Whether to use strict session mode.' n, y2 M: ^, g& }. e6 v- V' \/ q
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    ' Y! r% F) o' N8 |0 Y! f- z
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects! \( ^5 f4 C  y
  1450. ; applications from session fixation via session adoption vulnerability. It is
    & }4 A; I/ V9 H+ R
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged." e; \5 H9 f$ K% F1 X
  1452. ; https://wiki.php.net/rfc/strict_sessions
    % C/ B! Z6 [; Y  M, F
  1453. session.use_strict_mode = 0: S  m2 G) [. d# I3 x

  1454. - D$ a8 h2 X4 u" I
  1455. ; Whether to use cookies.
    7 W6 d0 ^" W. V' \  e. |
  1456. ; http://php.net/session.use-cookies. `, g  ]$ o$ ]7 i; x# `
  1457. session.use_cookies = 1) l. Z6 }+ N/ r6 O5 D4 Y1 x7 d/ m
  1458. - _3 i6 [) ^; S! o( }! V% o4 e7 t: N
  1459. ; http://php.net/session.cookie-secure4 S! Q) p; A! H. V( j
  1460. ;session.cookie_secure =% ^$ b: j" K8 U' ^
  1461. . v* O( f0 h8 W  r
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    , {& P/ }6 a9 t
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    / x/ j  \; P& n+ n% T5 r& L
  1464. ; session hijacking when not specifying and managing your own session id. It is
    9 L& D: p/ O. n. e
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start." a. s; l6 W0 }2 i! z
  1466. ; http://php.net/session.use-only-cookies( c* x0 r; R9 W) `+ c+ T
  1467. session.use_only_cookies = 1& i. v/ ?7 R) L: D+ c1 E9 L; C0 c
  1468. 9 ^% q  O0 T. k1 ~1 M' J% s
  1469. ; Name of the session (used as cookie name).+ b$ p- \( K) _. m
  1470. ; http://php.net/session.name6 s$ q: U' C; u# |
  1471. session.name = PHPSESSID
    1 e; A3 h+ v' E1 W

  1472. # P: N- c* P/ V6 i) ?2 F( }
  1473. ; Initialize session on request startup.+ C( s  B- m. u7 u1 w
  1474. ; http://php.net/session.auto-start
    . Q: n* o$ k7 v9 I8 [% e3 v
  1475. session.auto_start = 0
    ) C$ y  s; I/ z7 j8 Q! _0 D# w

  1476. 2 H5 F% E9 ~3 d  t: p8 _4 e$ A
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    * J, V; [; e6 _, ^' [1 l
  1478. ; http://php.net/session.cookie-lifetime
    7 A8 ?$ X) K& X0 P( g3 m: o
  1479. session.cookie_lifetime = 0; j# J4 J2 A- b( Y, I0 g" U" q

  1480. . h6 k7 k5 }9 K& m
  1481. ; The path for which the cookie is valid.
    & `9 i6 e& j6 n3 m' U3 Q1 Z
  1482. ; http://php.net/session.cookie-path
    " i+ |' \! l3 g6 D% S- F
  1483. session.cookie_path = /
    + a+ Z% a4 J9 w, y. A- O

  1484. + h0 d3 ~. @. j/ u  d/ N6 g  T- D
  1485. ; The domain for which the cookie is valid.
    1 L3 ~$ M  n5 `4 `
  1486. ; http://php.net/session.cookie-domain" A: j) M1 m! R6 A5 }
  1487. session.cookie_domain =1 P# M0 }& n4 d, R) J# {
  1488. 2 d# }3 ]- u& W- H* @3 T9 j* |
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    . u6 s/ X0 D2 V+ r7 b4 W7 h5 A0 g* a
  1490. ; http://php.net/session.cookie-httponly
    4 i: i- R' U- K& e, O
  1491. session.cookie_httponly =5 u/ g1 s' X% M% m8 f. T

  1492. # Z6 N  A+ A9 @/ s$ {! t* h
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    1 Y$ d7 A& j: X1 e5 z1 L- C9 n, c' B4 K
  1494. ; http://php.net/session.serialize-handler" U1 a) L% J' M) G, x. R2 {
  1495. session.serialize_handler = php& ^/ J# Z1 f" y' J! O

  1496. : I  \9 d7 P- s3 x8 Y2 n- }) T2 m7 y
  1497. ; Defines the probability that the 'garbage collection' process is started8 I" d* b5 Y( R6 m+ @
  1498. ; on every session initialization. The probability is calculated by using% l/ i$ C! E2 K% ?4 A, i( a
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ' Q: C$ t, g' Q# D5 O) ?
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1! C- i; E: [1 ]- M9 M' e- B: f
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    / n2 D- U" c: O
  1502. ; the gc will run on any give request.) j3 N; U; \  s; {. P3 f9 X) B
  1503. ; Default Value: 1
    3 F, @6 E: F1 c
  1504. ; Development Value: 10 Y% q( _% q0 F5 Z( ^, d& F
  1505. ; Production Value: 1+ `) U. U- [( l4 {
  1506. ; http://php.net/session.gc-probability
    . _" }$ v' ?' r! \+ K' k7 Q( j( l
  1507. session.gc_probability = 19 Y1 Z7 B) _/ Q' c9 x" e: n5 P9 r/ G

  1508. : l  W# N* Y# L; N
  1509. ; Defines the probability that the 'garbage collection' process is started on every' B+ Z) ^  [0 ^9 o
  1510. ; session initialization. The probability is calculated by using the following equation:
    % V$ E# L2 M" y; N
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    4 t; s$ ?! m7 S+ I
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ; Z, D$ F5 X/ C7 f% Y3 y& R. a
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    5 q& h  P8 l3 p3 c6 ^
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    / ~. f- B2 |1 w9 \& I) C7 ^
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    3 n! f0 g5 C3 L- L: o
  1516. ; this is a more efficient approach.' [2 w. h/ N9 i( q% z  c; ~) @. O
  1517. ; Default Value: 100
    2 Z8 s0 e+ g" i! a1 G
  1518. ; Development Value: 1000) u" o, u4 K# {* }' Q& i! h
  1519. ; Production Value: 1000
    # J+ u$ t: D8 ?6 `$ F
  1520. ; http://php.net/session.gc-divisor' y' u8 Y& L0 h3 u
  1521. session.gc_divisor = 1000) j$ I" n: X. c* O8 d1 p$ y

  1522. 8 l/ ^: E. z# i2 g$ W1 f7 Z
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    + _6 O/ o, R$ p1 g
  1524. ; cleaned up by the garbage collection process.4 N) I3 }( d2 V: P" f! i9 _
  1525. ; http://php.net/session.gc-maxlifetime2 V0 M  m% A) \+ Q1 Q
  1526. session.gc_maxlifetime = 1440! G. C9 F0 z1 U2 g& Z
  1527. 3 r  w7 D/ Q1 c- Z9 V3 L
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    5 \8 N, t4 f& ^- O. U' z5 A
  1529. ;       (see session.save_path above), then garbage collection does *not*6 T5 @7 U* `: |
  1530. ;       happen automatically.  You will need to do your own garbage$ w0 Z+ B/ j) B9 N
  1531. ;       collection through a shell script, cron entry, or some other method.5 ^* D: L! F2 _/ x
  1532. ;       For example, the following script would is the equivalent of
    ; a" v9 ]# }# U3 k1 V4 R
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    7 ~$ _" d3 i) Y
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm0 i& f7 k. o& ]0 _( k# B
  1535. $ m! u  L1 Q/ I8 \( m& ~. ?$ ]# l* M
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.$ X6 ?( S+ d+ I! x: A, x- E$ L
  1537. ; HTTP_REFERER has to contain this substring for the session to be/ K0 h& U$ _/ Z  v* x- ^4 T
  1538. ; considered as valid.4 k2 L) q: R+ X. }( S
  1539. ; http://php.net/session.referer-check# y& z6 ]' k7 M+ F7 _  V' G  p8 D( X- g
  1540. session.referer_check =
    1 Z0 Q" e) N- E' b1 L, _

  1541. 4 V0 W4 {! |& [9 t
  1542. ; How many bytes to read from the file.; E/ \3 r6 Y% _
  1543. ; http://php.net/session.entropy-length
    2 w5 C+ g! s1 B& L9 d' w. x
  1544. ;session.entropy_length = 32
    ' {4 i7 J9 s9 C" P
  1545. , `6 R, X3 U5 h5 S8 Q
  1546. ; Specified here to create the session id.7 w1 [3 y) N( m4 A2 F! j; {) Y
  1547. ; http://php.net/session.entropy-file  d  B. a/ T: o$ B5 s) Y
  1548. ; Defaults to /dev/urandom
    ; Y5 y7 {( k* O5 j# M! l
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom* }0 S9 A( F0 [" v4 k
  1550. ; If neither are found at compile time, the default is no entropy file.4 y) b- u, i) {# v
  1551. ; On windows, setting the entropy_length setting will activate the
    " s* `+ w3 P$ c8 |+ n
  1552. ; Windows random source (using the CryptoAPI)
    # P. w6 C+ ?+ ?& c$ f# R
  1553. ;session.entropy_file = /dev/urandom
    9 F; z6 }4 @4 q* H0 v

  1554. 0 J* Y$ Q& _9 x4 S
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    & P! K4 v  V; U5 M3 w7 ?; k9 k
  1556. ; or leave this empty to avoid sending anti-caching headers.
    7 T9 d$ E/ a: A" X5 i( ]
  1557. ; http://php.net/session.cache-limiter! L& m! z0 G3 N% _
  1558. session.cache_limiter = nocache
    # `) j, s8 d& ~
  1559. 1 _9 w: v+ b2 g# d' q
  1560. ; Document expires after n minutes.. b1 C: D$ R" n- M9 g
  1561. ; http://php.net/session.cache-expire
    , O# R; z- G8 ?" c0 l
  1562. session.cache_expire = 180
    . o' x- Y5 o8 g6 m' j& d. y8 c
  1563. / g0 \# Y9 U" @; }: Q/ b
  1564. ; trans sid support is disabled by default.
    9 k3 V2 {5 h: X: R8 O$ c7 Q+ ~
  1565. ; Use of trans sid may risk your users' security.$ l9 Q3 G& R8 @2 o
  1566. ; Use this option with caution.- G& R# m( ~& w1 c) P& F% _7 ]6 R
  1567. ; - User may send URL contains active session ID
    - Q* o- j% O# B
  1568. ;   to other person via. email/irc/etc.
      K+ Z% p) v& |2 y( S
  1569. ; - URL that contains active session ID may be stored  C1 ^/ {; U2 `8 L
  1570. ;   in publicly accessible computer.
    $ m; V/ Q  P# p" @# y( u" V% A/ H% a
  1571. ; - User may access your site with the same session ID+ _: x1 p9 D. Q, m
  1572. ;   always using URL stored in browser's history or bookmarks.
    ! \1 r) m+ {3 y2 ~7 E9 O/ n3 ?
  1573. ; http://php.net/session.use-trans-sid& P$ z/ ^% G) V2 g- G( h/ F
  1574. session.use_trans_sid = 0
    . w1 B  o& `. l, z9 e3 n1 t
  1575. 4 B: C) J4 T( \: E7 g0 \" g; [
  1576. ; Select a hash function for use in generating session ids.
    8 K# a) c, k9 t; N, N/ Q# Y+ [
  1577. ; Possible Values
    - z4 Z! P$ W. k2 h  ]! R
  1578. ;   0  (MD5 128 bits)2 z5 |2 y7 s2 v5 n/ E9 S
  1579. ;   1  (SHA-1 160 bits)
    7 ?, U9 ]. `# s" W" d2 q
  1580. ; This option may also be set to the name of any hash function supported by; t1 l+ `: F0 n; Q, ~
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()* L$ E  z( f+ Q/ r- ], i( ^" U+ B
  1582. ; function.
    1 O- g" P: i8 X; |8 l4 S+ l9 _
  1583. ; http://php.net/session.hash-function- v& S: W' _. T9 b
  1584. session.hash_function = 0
      ~* k$ r! h8 X! M

  1585. - e# _1 t6 y6 o, L# L
  1586. ; Define how many bits are stored in each character when converting) v) d, a$ S/ S& ]' p* P8 W  J1 T/ D
  1587. ; the binary hash data to something readable.+ e% S- O. R0 c) _; I( B
  1588. ; Possible values:
    * U% g; S& `& T7 d6 z$ ]$ {
  1589. ;   4  (4 bits: 0-9, a-f)% H! y* A7 s, Z9 x, P' m6 k$ I
  1590. ;   5  (5 bits: 0-9, a-v)
    7 \) L& l; ^( e8 C& l8 T9 s
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")4 t$ B# z- }5 H# g9 \5 U. p
  1592. ; Default Value: 4
    ! n5 O) Q; J9 g7 j, M
  1593. ; Development Value: 5
    7 V1 q" J+ V2 z  z6 r  j* @- v* V
  1594. ; Production Value: 5
    ' b; w7 e, P( s3 u5 w! ?# a  d8 y7 ]- n/ S
  1595. ; http://php.net/session.hash-bits-per-character, x$ j' X8 i, l4 X- l# X. f
  1596. session.hash_bits_per_character = 5
    0 s+ [7 m+ w$ V2 u; }( E& W

  1597. 8 z6 V4 i6 a6 T8 p
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.! C$ j: w7 e4 |7 p, i$ J- n6 k  x
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    & K# v! R2 \) A% [8 Z' R
  1600. ; add a hidden <input> field with the info which is otherwise appended
    - `: w" [. P  r
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.+ d. ]& y9 \% w6 l$ X; q, p7 ?
  1602. ; Note that all valid entries require a "=", even if no value follows.
    : x$ d+ r5 s# K8 F$ B( b
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ! X- }. u4 f7 M8 F7 _
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) A- C+ m% }2 y3 C0 X% H4 r0 U
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry". R% D. ?- U8 g5 W; K. i( E
  1606. ; http://php.net/url-rewriter.tags; M5 M& J- p" W. N6 B
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 Y7 o& f& l, {' g/ D% e& e5 R
  1608. ( M: B0 r) `, {% C
  1609. ; Enable upload progress tracking in $_SESSION
    ; A, i& M5 ]( ?: X  a' G
  1610. ; Default Value: On, `$ Y1 \3 j, E
  1611. ; Development Value: On
    $ ?  _" z! U9 o' W6 H. G
  1612. ; Production Value: On9 o, }5 C$ ~1 `+ G
  1613. ; http://php.net/session.upload-progress.enabled! C$ g. c. K1 g4 M5 R
  1614. ;session.upload_progress.enabled = On! u" g: c+ h  F

  1615. * Q& z! t0 J" l3 p/ `9 R# A3 Z
  1616. ; Cleanup the progress information as soon as all POST data has been read" o4 c, K; e  m8 N& @/ O
  1617. ; (i.e. upload completed).
    ' S+ n1 S4 \9 R# Q* D
  1618. ; Default Value: On
    ! ~5 b$ \/ \) P
  1619. ; Development Value: On
    1 \, z1 B& Q  E1 C7 y# F$ O& i
  1620. ; Production Value: On
    ; y9 c8 F. }& I% f7 T2 ?
  1621. ; http://php.net/session.upload-progress.cleanup5 C9 S& q! L# v9 Z  }4 {& v
  1622. ;session.upload_progress.cleanup = On
    . j4 x3 e; X* |6 i4 |

  1623. / S( ?: `: f+ I  ]+ {
  1624. ; A prefix used for the upload progress key in $_SESSION
    6 o! |3 |8 x9 a% _; I% e
  1625. ; Default Value: "upload_progress_"1 q( F# o% f( M7 I
  1626. ; Development Value: "upload_progress_"
    7 I8 H3 F& }" |  G$ g2 I% u! w. g
  1627. ; Production Value: "upload_progress_"# n8 [( Y, B; K; A. [( |, C0 m
  1628. ; http://php.net/session.upload-progress.prefix
    % u/ ?! s% N8 Z7 l2 E
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ( _) E( L, A2 W+ w; u2 _$ [

  1630. 4 h: U8 f, |3 z6 s$ Q  `0 A" I* J$ u
  1631. ; The index name (concatenated with the prefix) in $_SESSION$ ^8 a" v  r# `$ e5 Z
  1632. ; containing the upload progress information
    * ^$ D& u/ i1 Q7 _
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS": ^) \" e/ u4 \5 Q
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"" G- \4 |: b( {0 ]; D. `
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"4 Y* _( A2 _& P/ i, D1 E
  1636. ; http://php.net/session.upload-progress.name
    0 [( O& ]+ K' ~
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    8 I; h- |( }" x8 u. T$ k3 K- j4 a

  1638. " ]' B" f6 b/ W$ P+ C
  1639. ; How frequently the upload progress should be updated.& R1 F) W4 j. E$ v
  1640. ; Given either in percentages (per-file), or in bytes
    * p$ X! @1 {. W# \
  1641. ; Default Value: "1%"
    6 Y* J$ u; N6 k% O+ ^9 ?
  1642. ; Development Value: "1%"
    ) }* e: M& r5 k4 Z# }& @
  1643. ; Production Value: "1%"
    4 {6 v9 W% Q% P6 Y$ b
  1644. ; http://php.net/session.upload-progress.freq
    9 t6 T9 T# A5 p3 i6 a
  1645. ;session.upload_progress.freq =  "1%"
    : p  I4 ^- N# W4 q: k
  1646. $ k+ H1 H/ ~. Q2 w. |1 Q! t1 ?, C
  1647. ; The minimum delay between updates, in seconds
    ' L/ C6 N* d  v# [- s3 d5 }) ?
  1648. ; Default Value: 1! b! g1 b. c& ]
  1649. ; Development Value: 1: J" p) s2 k( z6 F( \  B2 H; I
  1650. ; Production Value: 1
    2 b  r7 `# V8 N
  1651. ; http://php.net/session.upload-progress.min-freq9 H2 J9 v/ W- z% m
  1652. ;session.upload_progress.min_freq = "1"0 Z' r4 T3 ^/ J2 y- y
  1653. 8 J& z& l5 q0 p
  1654. [MSSQL]
    1 t# ~; n3 Q( X3 s* @
  1655. ; Allow or prevent persistent links.
    0 e: A& O* u  J% u' W, t  z8 G# F
  1656. mssql.allow_persistent = On7 P) Z4 d! ]; L% m, Z$ W) ]
  1657. ! b7 S) I$ D' Q/ M
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ; |+ S  d" [9 `5 l
  1659. mssql.max_persistent = -1
    ( A: U& P6 x) X9 y$ p+ |9 h

  1660. + T+ G3 I( r' ^$ P, u$ z
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.  u7 A% z: q8 m5 i, `/ Q  E. q
  1662. mssql.max_links = -16 f) J$ ^9 Q/ X+ R9 l' a8 F
  1663.   [1 U# z! o5 ?0 |2 Z
  1664. ; Minimum error severity to display.
    / T  d+ `$ R' ?- v
  1665. mssql.min_error_severity = 10% D2 |7 S* u0 A7 G9 u
  1666. : Z0 K# D' S/ j- U
  1667. ; Minimum message severity to display.
    # U& v- g+ g$ m) T
  1668. mssql.min_message_severity = 10' u/ I, b+ h2 ]/ F2 e2 J' n
  1669. / ]* ^) p3 D7 N" F2 {6 X& Y
  1670. ; Compatibility mode with old versions of PHP 3.0.
    * x- n$ x! C+ @
  1671. mssql.compatibility_mode = Off' p( L5 T# \% R7 a. H" ?

  1672. 5 |+ E/ J  ^$ c- N' d0 `9 Z
  1673. ; Connect timeout% n; ]$ L- o1 Q
  1674. ;mssql.connect_timeout = 5) a) a% s- Q6 U9 t# L' j
  1675. ! V: }7 f2 L0 b3 d" [, f% X. U
  1676. ; Query timeout
    3 O1 |  C4 I/ _5 `  h% ?* W% Q- |
  1677. ;mssql.timeout = 60
    ( F/ O3 Q5 a$ H1 i8 Y% K4 ^+ \- u
  1678. 3 u) @7 b) [0 S
  1679. ; Valid range 0 - 2147483647.  Default = 4096.% K" f; X% J- r+ r- p4 p
  1680. ;mssql.textlimit = 40964 Y( b2 C6 e) V2 X- i
  1681. % H+ E  X' _. F/ C4 H
  1682. ; Valid range 0 - 2147483647.  Default = 4096.* c0 o. y0 R2 \6 l: \' J0 e
  1683. ;mssql.textsize = 40969 h  V0 Y. j4 C
  1684. * D/ x# W. l; D* @: j- `
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    + l: L+ H! B) ~/ a* q* E
  1686. ;mssql.batchsize = 0
    $ `- }  L- j7 Z; `* e

  1687. 9 c# C5 {7 D: E9 l. q9 j
  1688. ; Specify how datetime and datetim4 columns are returned
    , t' g& z. C9 X( G. z1 S  ]# M
  1689. ; On => Returns data converted to SQL server settings
    9 b- z' A5 w1 F4 s
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss- J7 Q! ?$ T5 ?4 r* g
  1691. ;mssql.datetimeconvert = On0 G9 e0 f% G/ B3 b

  1692. , j& h3 p2 W# B. b  T
  1693. ; Use NT authentication when connecting to the server
    2 F+ p. C- M0 \# s4 @2 `/ ?4 W+ I
  1694. mssql.secure_connection = Off
    7 I1 ^% B# C5 u7 G
  1695. 9 N. Y/ y$ b7 }% [$ D$ ^" P7 Q, T
  1696. ; Specify max number of processes. -1 = library default
    ! X. N  ^$ L2 ?  s  c# k( _7 M1 h
  1697. ; msdlib defaults to 25
    # v& z% }7 d7 q0 z+ P
  1698. ; FreeTDS defaults to 40967 P* ^' x/ U* c, D
  1699. ;mssql.max_procs = -1
    # m/ r8 }4 u$ m8 b: l3 r; o% T

  1700. 1 b5 w/ W8 s! Y: Z# b
  1701. ; Specify client character set.; z; `  H% n* S$ P% q
  1702. ; If empty or not set the client charset from freetds.conf is used- D' \1 H6 G7 T' j! Z6 K
  1703. ; This is only used when compiled with FreeTDS$ `, t0 r! D- J0 C2 o" n/ i- g$ j
  1704. ;mssql.charset = "ISO-8859-1"8 F: n/ y6 e5 g" r6 z) ?6 }8 O+ f

  1705. : o% i& c% H6 A5 J8 s3 `! s7 m9 S( J
  1706. [Assertion]
    3 t2 M* U: u% n
  1707. ; Assert(expr); active by default.1 w: A& ?: I& F& i5 w. q( f
  1708. ; http://php.net/assert.active
    # Y. }5 x. x$ z6 }% H4 f6 W
  1709. ;assert.active = On5 Y8 U1 q; y$ X) n8 s" U
  1710. $ A* x$ W7 H3 ~- l! \
  1711. ; Issue a PHP warning for each failed assertion.. Y) V. i+ n  V
  1712. ; http://php.net/assert.warning
    # y. V, m+ ]  x+ d; W' X( b/ S9 h* v
  1713. ;assert.warning = On
    : v$ k) h' n, u  i) A

  1714. * m( {3 x0 @0 V3 c; p
  1715. ; Don't bail out by default.
    ) L" J% z8 k# M
  1716. ; http://php.net/assert.bail, T6 g6 Q; T" A) v, I8 s  W) O
  1717. ;assert.bail = Off
    1 D! V6 F4 e. N4 T/ u

  1718. " M5 d$ x) e, |
  1719. ; User-function to be called if an assertion fails.
    3 ]* j/ C1 U: D) L8 k, Y9 N
  1720. ; http://php.net/assert.callback
    2 n& u: g/ D1 l- Y) }9 l
  1721. ;assert.callback = 0
    8 ]2 ?2 B4 y  o8 [# g
  1722. + ^& E- ~+ X- E
  1723. ; Eval the expression with current error_reporting().  Set to true if you want2 P; U2 N7 m8 n* J7 n3 m
  1724. ; error_reporting(0) around the eval().
    5 D" M7 R* J" C. G1 L. A" I: X
  1725. ; http://php.net/assert.quiet-eval2 x' y  Q9 K6 U1 w$ G% Q
  1726. ;assert.quiet_eval = 0) a1 V2 Y7 g2 ?' H
  1727. . Y* ^. ]; G4 R" b7 B, R! y+ X
  1728. [COM]
    , Z  B, Q  L1 ~# K4 ]/ @9 G
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    6 C: r4 x8 [& D* K! l
  1730. ; http://php.net/com.typelib-file1 x+ h. m  Z8 o  q2 ^" u8 G
  1731. ;com.typelib_file =
    ) m# t' o/ m( q; c9 f5 v0 I

  1732. 6 C  l: K/ R: a! b. |
  1733. ; allow Distributed-COM calls" v" k' z* d) k! T8 u0 X2 j
  1734. ; http://php.net/com.allow-dcom
    3 q0 ^4 [* R+ n! o3 W
  1735. ;com.allow_dcom = true
    2 D5 I, a1 V% q2 b. t
  1736.   I& w0 N" l0 I4 B* z( r% H
  1737. ; autoregister constants of a components typlib on com_load(): `; |0 e  W, @* w$ p1 q
  1738. ; http://php.net/com.autoregister-typelib
    5 m2 d' M" \& r5 m
  1739. ;com.autoregister_typelib = true. j) t. n2 O2 s

  1740. 5 N, S6 K" E. Y  J  f+ w
  1741. ; register constants casesensitive6 r, g5 b' K4 B9 V
  1742. ; http://php.net/com.autoregister-casesensitive* U% l$ E* P6 X) Y
  1743. ;com.autoregister_casesensitive = false: ^, z; {: R7 q; t
  1744.   Q3 j+ Q9 P4 u7 Q
  1745. ; show warnings on duplicate constant registrations2 B6 o0 y$ W: Q# Z
  1746. ; http://php.net/com.autoregister-verbose' I/ @: G% o) d2 Z( M
  1747. ;com.autoregister_verbose = true- p; Y) R' G; ?( X! Z
  1748. # X" F3 n, o+ |- q' a
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ! i- D4 Q- D- S$ R: V
  1750. ; Default: system ANSI code page( \8 I6 w9 y( ^; X9 b6 S! K
  1751. ;com.code_page=
    9 M* {) B5 E5 N
  1752. ! {* E. n9 D. J* s4 ^9 \4 |+ N6 |
  1753. [mbstring]
    4 L1 s7 W2 U  M/ p& @# p
  1754. ; language for internal character representation.
    6 [# w, B1 H6 Z) G. C
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.' l; u; Z2 e7 h; s0 U+ B
  1756. ; http://php.net/mbstring.language
    3 c, d( D- F) s7 T
  1757. ;mbstring.language = Japanese, d, L) U+ d! B" Y/ O" e; M; i. l3 u

  1758. 8 P. r/ @9 @! I- o- G2 f
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    $ H/ e# J3 z! W% x
  1760. ; internal/script encoding.: G5 p6 v+ [" i* j
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    6 N+ p0 |/ x) c3 E% Q5 y
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used./ x' E& l  q- ~; N" p! y' }
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    1 q) n; q1 X7 T: ~( `2 X# \
  1764. ;mbstring.internal_encoding =
    & X1 C- t# S2 ~: u
  1765. 5 n1 \; ^0 O6 P1 x& [
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead." q' {2 @2 E5 ], w3 i
  1767. ; http input encoding.4 [+ u( I& w( p  z2 w- O
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    % c) U: r* A4 v6 a& m
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.$ L: r( q$ V9 q, q) Z
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input# y; S6 A$ I) B$ R
  1771. ; http://php.net/mbstring.http-input9 z4 k4 O+ @/ d; l
  1772. ;mbstring.http_input =# x6 O% D8 G; I- V# X

  1773. 6 ~6 L, t; K' y( T5 S1 K
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    * I5 U. K. }* }/ V
  1775. ; http output encoding.
    8 u, A2 j: @% ]" o' B
  1776. ; mb_output_handler must be registered as output buffer to function.) ^- W& v' H, m$ c9 L3 @" [/ L' _0 K
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.5 l5 Z( J2 `( l0 W, |; q6 Z+ M6 D
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    & F# x$ r7 a, @1 w4 `* T
  1779. ; To use an output encoding conversion, mbstring's output handler must be set# _; ~+ m1 V& r! s1 ^* I
  1780. ; otherwise output encoding conversion cannot be performed.
    2 J# e' M) [) p) U) a2 g
  1781. ; http://php.net/mbstring.http-output9 K/ o& o+ {$ o) m2 W: ?
  1782. ;mbstring.http_output =
    + z( j# Y3 @/ v# q8 y! x5 G

  1783. 0 D# m1 X7 q7 l! d% O% W
  1784. ; enable automatic encoding translation according to, k) |( s$ ?, O) W
  1785. ; mbstring.internal_encoding setting. Input chars are
    4 z5 M% Q& e' ~+ l( f
  1786. ; converted to internal encoding by setting this to On., U4 O( Y; x2 U
  1787. ; Note: Do _not_ use automatic encoding translation for" {' t, g9 p0 [# H- d
  1788. ;       portable libs/applications.% z: L9 f) D- p* K( e
  1789. ; http://php.net/mbstring.encoding-translation; M* W6 f" ?* b
  1790. ;mbstring.encoding_translation = Off% p$ @# X; h% D. X

  1791. ; B: @, X) t( i1 P' P# |
  1792. ; automatic encoding detection order.& r& L! t# k1 H) M
  1793. ; "auto" detect order is changed according to mbstring.language
    ' _8 P1 C! R! T* z
  1794. ; http://php.net/mbstring.detect-order' O2 R2 K) X3 t' w/ Q
  1795. ;mbstring.detect_order = auto
    2 E, l- c$ a' _. t* b
  1796. * z: i: @0 t4 R* D3 M. O
  1797. ; substitute_character used when character cannot be converted
    + N: w9 w, }. {& h$ Z
  1798. ; one from another
    : J1 e. l5 S8 r# \' k) k( Z* k2 \
  1799. ; http://php.net/mbstring.substitute-character
    : A& _5 t% |7 ]; z+ h* _' d4 \
  1800. ;mbstring.substitute_character = none
    1 E3 j6 M$ ~$ A9 T2 L
  1801. 5 r" S& {8 o. p" A# {
  1802. ; overload(replace) single byte functions by mbstring functions.' _: S" s5 M) F( x: y9 `' G$ }: B. B
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),* p5 G2 K8 l4 ?* W; G4 s
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    * V2 j) @1 S0 A+ v* I% O. A6 w
  1805. ; For example, 7 for overload everything.5 J7 R9 H" z6 [5 j* W. {$ J
  1806. ; 0: No overload8 A$ V( O  I1 i
  1807. ; 1: Overload mail() function
    9 {! k" w; q) l% M
  1808. ; 2: Overload str*() functions
    & J. v5 p# s7 A; g& x
  1809. ; 4: Overload ereg*() functions
    8 L; i" I" O' M3 U+ U# @0 F' j
  1810. ; http://php.net/mbstring.func-overload
    & a7 V6 O* V( @$ i) R2 ~
  1811. ;mbstring.func_overload = 0, D! \- N0 I% C4 ]  c8 I

  1812. " s) r; R7 i9 x+ ~) _: q! T
  1813. ; enable strict encoding detection.  |5 t) @/ ^0 f7 E; G5 }. R
  1814. ; Default: Off
    7 G3 M( c" K1 c5 s2 d
  1815. ;mbstring.strict_detection = On7 Y2 B6 E1 {1 |, l. E: q

  1816. 8 `: @* L( a* ~
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()3 I) M, `( s  ?
  1818. ; is activated.
    ; M) G% {; b' }7 k$ n
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)9 |% i0 R1 e9 w6 @6 A" x- \
  1820. ;mbstring.http_output_conv_mimetype=. J2 w- |2 [: N+ Y$ K3 L8 t
  1821. 6 M7 G7 j+ F8 z' `# N, i% s3 H* g
  1822. [gd]
    6 ?: S7 A. @  z! }3 k7 u) E; h
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    ' C& e- w  f! W+ z8 `6 s) f
  1824. ; a gd image. The warning will then be displayed as notices
    * t8 |" p% l% @; G6 g+ _- k* |
  1825. ; disabled by default
    # F& s5 `, Y( d, W
  1826. ; http://php.net/gd.jpeg-ignore-warning  l% {' p* a# Z! O- c
  1827. ;gd.jpeg_ignore_warning = 0
    % ?* D6 ^( [( Z! S
  1828. ' r6 I8 S0 @8 [4 y1 Y6 e; B
  1829. [exif]
    - {# A3 M" j4 B5 {4 T4 L( G% k
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    / b/ y1 [. C6 Q
  1831. ; With mbstring support this will automatically be converted into the encoding- A9 A* I, y) S0 o5 H& s, C
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding$ v1 @. B+ f) d2 c
  1833. ; is used. For the decode settings you can distinguish between motorola and
    + `' p, r8 n& \
  1834. ; intel byte order. A decode setting cannot be empty." Y( [+ ?/ K2 f0 X- p4 b) a
  1835. ; http://php.net/exif.encode-unicode
    ( N8 T  v- r9 L1 T% {- ^; \. j
  1836. ;exif.encode_unicode = ISO-8859-15
    7 U( F7 o) G- M: [& T8 _  E$ n
  1837. / S/ ~+ |8 I5 I  k9 B2 D
  1838. ; http://php.net/exif.decode-unicode-motorola
    . a1 n" Z6 X; T; X: ?+ w  c7 ?
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    + z# X! T6 f* h! R) B" D

  1840. 1 X3 D0 f) T2 Z8 Q
  1841. ; http://php.net/exif.decode-unicode-intel% Z) E4 @0 Z8 f1 ?& u! f# o
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    & T3 J  E1 k+ T5 {. `
  1843. , O' f2 @. O) ^# B; I
  1844. ; http://php.net/exif.encode-jis! w, M- [" k! p! E" }/ `( s+ E
  1845. ;exif.encode_jis =
      O8 H' V4 B7 i; S, m

  1846. 0 R- ~- `" ~1 A3 f
  1847. ; http://php.net/exif.decode-jis-motorola6 P# n8 G0 ~7 r' D( Q
  1848. ;exif.decode_jis_motorola = JIS3 ]8 C' r7 W( ^6 K; k" c$ L' E0 V

  1849. % V1 n$ r& q3 @5 d" L: y) G9 l
  1850. ; http://php.net/exif.decode-jis-intel
    % n2 a5 v/ S" ~/ M/ T$ l9 S. R$ n
  1851. ;exif.decode_jis_intel    = JIS% p1 _2 Z4 }( g; S5 S9 I6 O
  1852. 1 W, U' a) \# u- I0 ]# z4 z
  1853. [Tidy]
    7 a" h& @% y! W0 _6 F4 b
  1854. ; The path to a default tidy configuration file to use when using tidy
    # X# W3 I& E0 q; M7 s! o
  1855. ; http://php.net/tidy.default-config
    , c* a1 e8 u  U1 M" K2 Y5 S
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    , O% a& L: B" [* G4 ?7 Q2 I1 M- \
  1857. & C! t8 q. K* [! n
  1858. ; Should tidy clean and repair output automatically?9 ]4 `- R4 R$ k! [; p* O8 `% X
  1859. ; WARNING: Do not use this option if you are generating non-html content
    : n; |& K0 j' d; G" w" X; c9 J
  1860. ; such as dynamic images
    3 O# G7 {& w5 |* Q
  1861. ; http://php.net/tidy.clean-output6 G+ q/ P* ]" I' D5 ~( [% i1 P
  1862. tidy.clean_output = Off% i/ L3 k; r6 V0 Y; o8 X
  1863. + `& S  \8 y/ t. X0 \3 W) ~4 S" m
  1864. [soap]: n; O0 h% b% G) M; `
  1865. ; Enables or disables WSDL caching feature., i& @& U8 }& z3 Y
  1866. ; http://php.net/soap.wsdl-cache-enabled
    3 r! H9 g2 R0 k' Y$ P& ]
  1867. soap.wsdl_cache_enabled=1
    ' [) ^" ?! j, W( m* I
  1868. / c5 ^* L* n0 N. `) k: R
  1869. ; Sets the directory name where SOAP extension will put cache files.
    - B$ c. T( {! `5 x% S$ G
  1870. ; http://php.net/soap.wsdl-cache-dir9 D6 [! U# j1 y% e, U
  1871. soap.wsdl_cache_dir="/tmp") y, t- v# j, ~  v" y; k" y, O

  1872. : R' ~1 d. X7 @  ~% E  H3 x9 d# t
  1873. ; (time to live) Sets the number of second while cached file will be used; C5 t: L- v! S2 o: l7 l
  1874. ; instead of original one.
    ' Z* X  z* ~! N7 G7 f  C% j
  1875. ; http://php.net/soap.wsdl-cache-ttl
    0 `2 E2 k6 z2 {" |
  1876. soap.wsdl_cache_ttl=86400. S  H: c; |: d$ m' e

  1877. 6 y" `" p% k) J/ H  g, C
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    0 E+ E, r2 ?$ Y1 g: s  F
  1879. soap.wsdl_cache_limit = 5
    & |# ^1 ]  ?4 G" s* c
  1880. 3 T( k0 O5 s: [/ Y' W/ n) n
  1881. [sysvshm]
    4 x' S( C2 Q$ ?( ^' ~  F) R
  1882. ; A default size of the shared memory segment
    8 b' s  u5 j( s' [* }
  1883. ;sysvshm.init_mem = 10000# o- w5 v5 \) g- M) {

  1884. . U; w$ G" V: p, y) T
  1885. [ldap]
    ( q5 j) a5 \" K- T( K
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    % w& A9 C" M2 e  F- ~
  1887. ldap.max_links = -1- p. d2 h6 ~+ r9 B5 h
  1888. . }5 n  _4 |) i! t/ f7 w: e+ D
  1889. [mcrypt], O  \3 i2 o* Y  q/ B
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open7 r5 Y. F' u4 u3 Z

  1891. 2 u' o1 E3 v6 R, A0 V! S
  1892. ; Directory where to load mcrypt algorithms
    * y; f2 y% c' N) A1 k7 S3 ^. i4 U' }
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    / L' I, ~6 r( q/ n
  1894. ;mcrypt.algorithms_dir=
    7 y1 J; k1 V! e! d
  1895. # [6 e6 T% }4 q0 v
  1896. ; Directory where to load mcrypt modes
    0 N% S& E- V! h: ]- W& `
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)5 g# m' X' m+ |% g+ e$ \5 [# O
  1898. ;mcrypt.modes_dir=. Y/ a- J/ j! l5 W/ ?

  1899. 5 g1 L# T2 Q* |3 P
  1900. [dba]3 u1 |; S0 D4 N" L. e8 D; m
  1901. ;dba.default_handler=
    1 I0 X7 L7 |1 |8 v6 c, b

  1902. ! j2 Q' n* _: Y, l% b& e0 U
  1903. [opcache]
    , \7 k7 ?4 W  _6 u$ b& A
  1904. ; Determines if Zend OPCache is enabled
    . c2 Q0 I6 F0 M) ^
  1905. ;opcache.enable=0
    , ]# V3 ~, h8 x9 M
  1906. 3 ?( i" M$ h- }& g" E. U
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP3 b; z9 N1 n! q9 Y* D: W3 U
  1908. ;opcache.enable_cli=0
    9 v2 g, x# F) v! e7 M5 l; f
  1909. 9 f1 K+ T2 d) H: r+ ~
  1910. ; The OPcache shared memory storage size.
    + n/ T+ D" ?: D) x4 {" D: k$ C
  1911. ;opcache.memory_consumption=64% T+ P9 f, H+ d
  1912. & K& ]9 `1 H5 F% _3 G' |0 b
  1913. ; The amount of memory for interned strings in Mbytes.
    5 t! c$ `6 Q/ i. s# B+ I+ L6 {
  1914. ;opcache.interned_strings_buffer=4; T8 X' M& y' Q7 [6 T# J* s
  1915. ; i7 C. r' k6 v
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    3 h  v+ w, R/ O7 _" j
  1917. ; Only numbers between 200 and 100000 are allowed.- B# J' E2 Q) N3 p. T( n
  1918. ;opcache.max_accelerated_files=2000
    5 Z$ p* [2 k" }, m4 Y) O& [0 x) H9 G0 f

  1919. ' b! I) M# I% w1 S, I
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.+ d; P5 k$ C' f
  1921. ;opcache.max_wasted_percentage=5" I4 h0 r3 E4 U+ K
  1922. " i$ z. |' v. Q$ n! C* N$ L0 U
  1923. ; When this directive is enabled, the OPcache appends the current working% Y7 x8 p9 N( i/ z, [
  1924. ; directory to the script key, thus eliminating possible collisions between
    ' C. C7 ?! u) C, A/ g9 Q0 t
  1925. ; files with the same name (basename). Disabling the directive improves1 H4 v3 o4 H1 l' y" }" ~2 W
  1926. ; performance, but may break existing applications.
    7 k$ s- X( P5 A3 _# W+ l
  1927. ;opcache.use_cwd=1) r6 x5 \, l) @" n. r
  1928. 5 ~% y! d9 P/ T9 h
  1929. ; When disabled, you must reset the OPcache manually or restart the
    4 S5 \, ~+ N: [- Q5 U6 f( J4 G
  1930. ; webserver for changes to the filesystem to take effect.- h2 y8 }! y; `8 M. f3 x1 ]8 }
  1931. ;opcache.validate_timestamps=1! B3 f, ~& J8 Q0 i

  1932. + I" n' j7 m8 d% O( d+ u* |9 D
  1933. ; How often (in seconds) to check file timestamps for changes to the shared. W" }+ a9 T9 ~- e
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    $ B) a  o/ w5 y* M
  1935. ; once per request. "0" means always validate)3 I; k  E% v7 f' v3 \! a2 S
  1936. ;opcache.revalidate_freq=2  t6 m9 e+ Z. @1 \. W

  1937. " \6 }* s2 p' X, _8 |: S7 `
  1938. ; Enables or disables file search in include_path optimization
    3 x0 z% ?/ U. m  I; W8 ]
  1939. ;opcache.revalidate_path=0
    ! a/ p; M8 v4 m% G$ ?
  1940. ! n. W4 |1 x$ [7 Q
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    9 t! n7 ^% q7 q1 f1 |
  1942. ; size of the optimized code.  x, K4 m& }' y
  1943. ;opcache.save_comments=10 b: d  B1 b8 _: j( W+ w6 ?4 M
  1944. 9 o9 p5 a9 l5 C- C- d
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    # z* Q3 @. w: b; f
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    3 n' |+ N3 c& }) e) K/ O
  1947. ; that don't need them anyway.$ G9 [8 q8 [' r7 l( x
  1948. ;opcache.load_comments=1& p, {5 \3 ?! y7 R7 I8 I; U
  1949. " o7 `9 l' j$ C$ }
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code$ q( u! M2 r+ I# S) k: U
  1951. ;opcache.fast_shutdown=0+ ^) ?" c% J% g) E1 O5 F8 ~
  1952. 5 r7 o9 `2 s4 I; H& H' G
  1953. ; Allow file existence override (file_exists, etc.) performance feature.4 y+ ?/ b# S, \
  1954. ;opcache.enable_file_override=0
    1 c4 D4 B. k7 A$ p" n& ~; l7 L  W

  1955. 0 y3 j  V$ C3 y4 B0 ]
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ' b. P& F, y5 |# k3 ~# x" |
  1957. ; passes
    9 z; h) i" B" b6 M# W# [
  1958. ;opcache.optimization_level=0xffffffff% g, v, ]% q! A2 Q/ B" Q- ?

  1959. 9 S( e8 e1 Q. D' n: q9 T
  1960. ;opcache.inherited_hack=1
    1 u, d  `1 _5 k; t
  1961. ;opcache.dups_fix=0
    6 Q2 }. C( S) W9 T9 ^

  1962. ' y3 E% Z2 x8 ~& i- ^
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    # u+ ]) V# t0 t/ U1 c, k+ ?9 F& G
  1964. ; Each OPcache blacklist file is a text file that holds the names of files  Z* P% o$ b6 F# E
  1965. ; that should not be accelerated. The file format is to add each filename
    # f  n% J6 T4 }( L: @! e. w+ M
  1966. ; to a new line. The filename may be a full path or just a file prefix* M$ c+ w; e. D, G6 H, @
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    " K# x' U. @. e
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    , C4 s# W: r7 g4 t+ A6 |+ }" W
  1969. ;opcache.blacklist_filename=5 v/ O! P6 f2 K

  1970. 8 f3 T& B8 r; o4 i- N
  1971. ; Allows exclusion of large files from being cached. By default all files
    ; [" T# m# t, P# S
  1972. ; are cached.7 H  u' V2 C& U5 C
  1973. ;opcache.max_file_size=0
      B6 o% d& I7 O0 Q6 Z5 u

  1974. * P( p6 [4 u# }! @" k$ M# H
  1975. ; Check the cache checksum each N requests.
    $ \( v/ Z/ Q2 c7 \3 e
  1976. ; The default value of "0" means that the checks are disabled.
    " B- M+ d4 V  k8 n
  1977. ;opcache.consistency_checks=0/ S8 ]4 x4 b1 E" w' X
  1978. ( E- k5 O' b6 n) B
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache" Z: y2 O4 C+ _$ i- @- G
  1980. ; is not being accessed.& f( u: ^# D. @9 t. o4 m2 f. M
  1981. ;opcache.force_restart_timeout=180
    8 E/ |/ g5 |0 m9 ^

  1982.   B2 F  _7 d  k5 L. K
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    4 h- R! q* @5 g/ v
  1984. ;opcache.error_log=! H3 l4 h3 l& o+ _" T6 {7 W7 k  b
  1985. ! e- l( k: X( s& Z+ ^/ ?$ V
  1986. ; All OPcache errors go to the Web server log.( K" H$ D: K; {# O/ e3 B
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ; o+ o. U# r0 G/ ^4 I
  1988. ; You can also enable warnings (level 2), info messages (level 3) or( Z' F0 P( e# M% o& A9 J
  1989. ; debug messages (level 4).
    ) _  W* ~( B5 P6 e: l
  1990. ;opcache.log_verbosity_level=1
    & p9 L/ L3 c7 f; N& \3 P

  1991. $ G+ c3 L" B, n- ?4 w2 e1 ^9 Y) l
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide." B1 I4 t: {' {9 b$ V6 T4 ?5 _
  1993. ;opcache.preferred_memory_model=
    3 i% t+ m8 Y/ B, u

  1994. * S+ G1 B  V6 U6 H1 E5 b) G
  1995. ; Protect the shared memory from unexpected writing during script execution.5 k# l8 u0 v2 ~- `. a  w
  1996. ; Useful for internal debugging only.
    1 F% ^8 Z/ f, D' Q
  1997. ;opcache.protect_memory=0" ^3 P, {3 x) }. @

  1998. ( O8 F; x- P( d: K' T3 ^7 e
  1999. ; Validate cached file permissions.
    1 f; p9 L8 ^; m' t3 ~5 b6 {
  2000. ; opcache.validate_permission=0* l5 O# m! r$ F! [' a0 i
  2001. 7 S) E9 {# j" S; N& }8 O
  2002. ; Prevent name collisions in chroot'ed environment.
    ' l; G8 S! k6 F% H7 x! K$ N
  2003. ; opcache.validate_root=00 F) \* d) l3 n5 [, ^( Q

  2004. ( ^5 M) G3 F* ?0 l7 X1 {; t
  2005. [curl]' R4 Z; d# b) n+ u" F" n8 n; |3 [
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an4 ?" j- f6 q! y. I
  2007. ; absolute path.
    4 |# a( m, ?) o' ^& R
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    / V# m9 F' ~! S; W

  2009. ! {% l" N0 ?4 F
  2010. [openssl]
    $ W9 C2 Z% ?, w1 \7 T# f) ~7 k( b
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem9 u& j9 P; T5 D( h' S
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    8 z6 J3 ^7 _# Y4 K9 j/ A# {
  2013. ; not specify a value for this directive as PHP will attempt to use the
    1 N: `/ K0 {4 b$ L$ f3 v: l
  2014. ; OS-managed cert stores in its absence. If specified, this value may still1 a4 n7 F5 o' o' [- y
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    1 v( |+ K! z3 L1 E
  2016. ; option.
    % G1 D* ]! R* c  ?
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt" V  |2 z8 }) v4 d( D% b+ }
  2018.   s( W1 J  i4 F5 L  r
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    7 f: }  N5 t: T* r, ~, Q
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    6 [$ d+ Q( t' j3 U0 L% q1 B
  2021. ; certificate. This value must be a correctly hashed certificate directory.7 g9 J& v' {/ K# _( n
  2022. ; Most users should not specify a value for this directive as PHP will% f7 j/ M$ ^2 `0 k& h  u
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    9 h1 c9 y% u  z
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    + \' S$ f& ]4 j- M+ u# k
  2025. ; SSL stream context option.! S! K' h- ]9 h; W
  2026. ;openssl.capath=
    # d: c, Q" Y/ I( V& a. ]
  2027. " h. T# H. l5 C  Z
  2028. ; Local Variables:
    % i% L; V6 H; Y- O. Z  R+ _! u# Y
  2029. ; tab-width: 4
    % E' J2 b1 E8 i
  2030. ; End:, U" s) u6 b$ F7 E& R# x
  2031. 8 [0 t* P2 R- _; g4 n  i
  2032. ;eaccelerator: P) X( `! ?  [& H$ f

  2033.   ?& x! ?7 d6 e
  2034. ;ionCube: O& p$ y# I- ~* ?+ ]6 W

  2035. 0 o+ O+ u9 D; ~
  2036. ;opcache
    8 t% R9 n& N1 o; t5 m4 \

  2037. 4 A- V( k$ e4 d) ?- b' O3 v
  2038. [Zend ZendGuard Loader]
    0 e) i. h2 u1 T  ~& N8 C5 r
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    $ A& g7 N6 F& U, o* q# n/ x
  2040. zend_loader.enable=1
    / O/ V7 L" w7 z" [; E5 l) C: t
  2041. zend_loader.disable_licensing=0+ e7 o6 L! J. a' g% p; q
  2042. zend_loader.obfuscation_level_support=3
    0 H; {# F: F: _; M- O7 F$ `) Y( j6 j) P
  2043. zend_loader.license_path=0 ?- O, w! I2 ~( L5 P- w- ^
  2044. + q+ k; `2 |& y' I2 \* T
  2045. ;xcache
    5 v& W* @5 Y/ }: J/ G/ S; w& H
  2046. ( r3 b- N: b$ u( C+ H, z+ B
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
8 M# h6 N3 b/ k+ H$ ?. ]
' j5 c2 ]( o4 \& |# y7 Z
1 ~; `2 N& ^7 yDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
* F; i( w$ n/ s- R0 Z) `
& j' ^  Y$ V9 D$ R1 U. K  B& \Discuz!程序版本选择:
; [4 t- S% B2 U" ?* o, \站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,1 w) l0 L/ K' _7 N( L8 y6 u  F5 Z
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:0 \6 e2 v) X2 {" n9 j7 R. u
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。1 L4 y% x$ n( r0 z! X+ \8 b" ^
7 r5 |  `+ O, h$ x
Discuz!插件模板版本选择:4 f+ m) ?: R& I! `+ `1 z
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,; e( c4 Q0 E# B  i# E$ |# V
针对这个问题做个统一的普及:! O9 u* G, }! W
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。9 j; v. l& e% y
- u( ^* T+ u" T: e" [, Z& m  q
所以
  [6 Y, I; B- N* K) O) V! G$ l适合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的二级域名。
. G2 S3 W8 o: Y2 ]! r打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
% d9 ?1 r6 A* \注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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