分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0( n* {8 o9 n1 E
8 W  P- M. m! i* T8 k
  1. [PHP]9 ^6 o7 |4 j3 M2 A$ q: x
  2. : J- h2 C% B) D/ N# W& k; |1 a
  3. ;;;;;;;;;;;;;;;;;;;# t" b1 h0 g7 n1 A
  4. ; About php.ini   ;8 t1 G; Y  l# z6 n7 @, S
  5. ;;;;;;;;;;;;;;;;;;;
    $ _& ?( p3 L& Q; p/ N# ?( d
  6. ; PHP's initialization file, generally called php.ini, is responsible for( {7 U5 M$ W% y/ {7 y3 a8 L/ K
  7. ; configuring many of the aspects of PHP's behavior.9 C& a0 x9 I- y$ }

  8. 3 P" S( y3 Z4 S& e
  9. ; PHP attempts to find and load this configuration from a number of locations.
      q% }. l; T' [- K. X6 g
  10. ; The following is a summary of its search order:' T, U. F0 ^  q0 t
  11. ; 1. SAPI module specific location.
    ' l( T1 p# N. ?- x" [4 Z6 \8 N9 Y
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    + O+ ]9 |2 g8 e# {1 U+ o
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)1 d' Y" d5 }9 o
  14. ; 4. Current working directory (except CLI)
    * a4 O% f6 b9 o) z' K& \  L  c. w
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    4 Z* ]9 l5 J! d* f
  16. ; (otherwise in Windows)
    0 M# k" F* ?4 x- ^0 q+ p
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    / [' |, g. b( c* ]+ k
  18. ; Windows directory (C:\windows or C:\winnt)( _* ]; `, s1 x$ i) `( I
  19. ; See the PHP docs for more specific information." L6 `4 @' Y( B) p! \, `2 v" d7 u
  20. ; http://php.net/configuration.file0 p6 N! v) F3 a  L6 D6 t+ D

  21. % k" j# h! v; {9 B5 u" B+ U
  22. ; The syntax of the file is extremely simple.  Whitespace and lines6 ?& o, [' B1 K- h- D( S
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).0 Y; s) M- P: y. x5 o3 `
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    * l! g1 X, k, O% `! C
  25. ; they might mean something in the future., Z$ M* D  L5 h4 K1 _6 o
  26.   T$ _/ D& b. |# y$ X5 K3 G
  27. ; Directives following the section heading [PATH=/www/mysite] only' U+ O5 h% [$ A3 k" x
  28. ; apply to PHP files in the /www/mysite directory.  Directives2 I! N! ]! p* M2 J
  29. ; following the section heading [HOST=www.example.com] only apply to* B+ R8 W5 ~) \. Q# k: Z9 ?
  30. ; PHP files served from www.example.com.  Directives set in these
    % D4 P- x3 @) Y2 q3 s' P
  31. ; special sections cannot be overridden by user-defined INI files or' w% L  F, S. T' ^# d
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    8 r5 \7 I) q. V% S5 O# w
  33. ; CGI/FastCGI.
    - b& P, ?$ ~) |7 U4 m8 Q
  34. ; http://php.net/ini.sections& U1 G9 B8 C6 y; U

  35. 8 J# E' N9 g4 V3 z, g; C! k4 q, k2 T
  36. ; Directives are specified using the following syntax:
    ( }, O# i! R5 j, @  \1 @
  37. ; directive = value7 \; _' Q0 T2 I$ C
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
      j! H, _/ p, ^1 ^1 U$ `" j
  39. ; Directives are variables used to configure PHP or PHP extensions.+ t0 M( t# [7 a. {8 b
  40. ; There is no name validation.  If PHP can't find an expected
    ' _! j9 \! v. F' u
  41. ; directive because it is not set or is mistyped, a default value will be used.
    % F; X4 y; G) Q6 J& i5 A
  42. 9 R3 ^. @; Z# K9 z1 w
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one& ?* I. \( ?" Q' K/ |# E
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression4 W8 ?$ g+ m# i0 w. A2 x  P- [8 o
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    4 |" f# M9 Z& a
  46. ; previously set variable or directive (e.g. ${foo})
    % Q. O( g5 u+ y  U

  47. 1 b8 x: f1 {2 U7 U% A) t- `
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    0 ^8 R: K) {  h: N; p8 Z5 k2 `
  49. ; |  bitwise OR
    : `4 s9 X; H0 ?
  50. ; ^  bitwise XOR5 |( p5 k: E* U" E
  51. ; &  bitwise AND
      v- E0 Z. Y% P7 m' e
  52. ; ~  bitwise NOT
    ) B9 [7 L$ Z9 Z
  53. ; !  boolean NOT
    $ h# w9 }; D- ]# Y# g' T

  54. - O3 ?+ ?1 c4 E
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.8 q) x6 _  C" n
  56. ; They can be turned off using the values 0, Off, False or No.# U- `, q& q. j# `

  57. / [- n7 y4 M  s) m" g6 @
  58. ; An empty string can be denoted by simply not writing anything after the equal
    / c3 J8 u: W- B3 a) J; N
  59. ; sign, or by using the None keyword:1 h1 `  n4 t$ P' U7 h8 Y2 j

  60. ! x3 Q6 l- |: a, q. a" d
  61. ;  foo =         ; sets foo to an empty string2 x7 y) A/ O4 K: m
  62. ;  foo = None    ; sets foo to an empty string
    ( Z, B0 _& X$ ^) ?
  63. ;  foo = "None"  ; sets foo to the string 'None'# c2 c/ f" ?9 D- X

  64. , ]2 A9 C4 y: s' F9 \
  65. ; If you use constants in your value, and these constants belong to a0 e  f% r5 q$ R. W
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),  c* z0 S6 [3 S! u! B( O  u! O( g: f
  67. ; you may only use these constants *after* the line that loads the extension.
    7 V# ^% o# e9 Y: T9 v- a
  68. & {/ q6 [  F$ I% ]" C' \2 E) N
  69. ;;;;;;;;;;;;;;;;;;;
    7 c4 d5 N# D7 `0 _# U4 ~6 f4 n0 J. Y$ A/ r6 x
  70. ; About this file ;
    ; k' _1 {4 K. z
  71. ;;;;;;;;;;;;;;;;;;;
    ) s, x7 D" Z( N. i. k
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    3 p  |: f, |: q
  73. ; in production environments and one that is recommended to be used in3 F) l! D7 H5 \" n
  74. ; development environments.2 p7 ~# \3 D1 `/ S3 D* \5 X
  75. 9 ^4 o' p, i& G) [" }9 ~
  76. ; php.ini-production contains settings which hold security, performance and! _7 b8 ^- b) w% o8 j3 G* k
  77. ; best practices at its core. But please be aware, these settings may break
    0 m: Q+ Q) p/ s" @
  78. ; compatibility with older or less security conscience applications. We
    0 N7 |; j: x6 K. n0 v
  79. ; recommending using the production ini in production and testing environments." M9 J2 v9 k. B1 b, R. Y$ r

  80. + ~& h3 j, D" Z8 S
  81. ; php.ini-development is very similar to its production variant, except it is
    0 s6 m$ {' R) k& @2 t) y" Q
  82. ; much more verbose when it comes to errors. We recommend using the
    1 c& o2 N+ b0 q& ]- z$ C
  83. ; development version only in development environments, as errors shown to# y- V# g- ]% L: j
  84. ; application users can inadvertently leak otherwise secure information.6 G% l" E8 {/ B* ^
  85. : x2 Z# @2 \; e5 {$ r. `9 t
  86. ; This is php.ini-production INI file.
    " b( o0 @' v* H! B

  87. . k5 }! S; [4 p; n8 h1 b  M
  88. ;;;;;;;;;;;;;;;;;;;' c- [2 Y1 t4 }( G4 `0 \' @/ [
  89. ; Quick Reference ;
    3 `+ B( P4 ]- ]% p
  90. ;;;;;;;;;;;;;;;;;;;
      K: ^/ n( R: v) Y) ~
  91. ; The following are all the settings which are different in either the production
    0 Z' `3 @3 g% L
  92. ; or development versions of the INIs with respect to PHP's default behavior.* R0 `% U+ o: G" A
  93. ; Please see the actual settings later in the document for more details as to why3 s, W8 J4 W3 \/ Y& o1 y/ B6 f
  94. ; we recommend these changes in PHP's behavior.
    + j" j* J6 U; E2 D% I& Q

  95. 2 n( F+ I" I4 v+ ^. ~  j1 e
  96. ; display_errors
    ' ^/ k% Y% s) }8 ?; i
  97. ;   Default Value: On% N# r, L" ~. T  {
  98. ;   Development Value: On
    0 g( Y3 z- y8 Y5 K/ C& ?# I9 \
  99. ;   Production Value: Off9 k6 }" O3 a% g4 b

  100. * _1 k' G% A2 T
  101. ; display_startup_errors4 R7 d7 O; d: H9 p$ n2 K
  102. ;   Default Value: Off
    ( B0 Q. v& H; P/ v8 a0 {  U/ `6 e
  103. ;   Development Value: On- |4 I3 ~% |* ?# h
  104. ;   Production Value: Off
    7 s$ j* d  N. Z7 Y/ S

  105. - k% L# D6 @8 A
  106. ; error_reporting
    7 ?4 P) f9 G- U
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED, ~4 C( M# Z4 k+ B4 a* L$ E
  108. ;   Development Value: E_ALL
      ~9 L# ^4 I2 T0 V( K8 R
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 j/ h& ^7 J4 D/ V( w* {. W7 x) z
  110. 7 S- o7 q- B% c2 k. p0 O
  111. ; html_errors# `% q: S% L* F
  112. ;   Default Value: On8 j4 k: L1 l. m5 E1 ~9 y1 u
  113. ;   Development Value: On
    ! I. \" j8 O% [4 l- e3 S6 j
  114. ;   Production value: On: ~" n0 q) J* U

  115. " s& K, E  i. L  ^" @9 A& |
  116. ; log_errors! l( O: G; J/ e$ B% X- M" A
  117. ;   Default Value: Off& V9 F: x1 R( V$ G) T- p
  118. ;   Development Value: On2 e! p$ A, V" Y' X- V( T
  119. ;   Production Value: On
    & o- r. k  T. }" b% k/ I
  120. 9 \. `6 y( q: g% J( {& f
  121. ; max_input_time2 B) u$ O3 i" U) T7 v; d
  122. ;   Default Value: -1 (Unlimited)8 \; m. d* O0 S' {% r: i. O- v% U' V
  123. ;   Development Value: 60 (60 seconds)
    % X4 I) U( y* c  R/ I4 z8 J
  124. ;   Production Value: 60 (60 seconds)
    ! \. k, B4 r" t$ x; o1 o2 u3 C
  125. 0 F- `% D/ f  I
  126. ; output_buffering
    + U( U* S! }2 K
  127. ;   Default Value: Off
    1 L( B/ Z2 O, j1 R( k: S
  128. ;   Development Value: 4096
    9 x1 a: L$ c" F0 W) u9 Q9 \
  129. ;   Production Value: 4096
    7 @) u# G, A, w4 \! P' o* s. S8 X

  130. 6 `3 ?( O7 o8 T/ j
  131. ; register_argc_argv, ^6 h0 D# D; r* U- }& y) X6 Z
  132. ;   Default Value: On  Z- d) G: {% j# {4 {( d/ g
  133. ;   Development Value: Off5 j" ^) u5 v8 A* I5 ]; e
  134. ;   Production Value: Off. l$ O0 a- x1 C4 X
  135. 1 C) s6 O9 w7 _9 L, k6 K0 e
  136. ; request_order
    * a6 Z' [; S& {- F6 G9 h7 x( O( _' j
  137. ;   Default Value: None
    , N5 m$ w* }' I; M
  138. ;   Development Value: "GP"
    5 C4 ^  K, z3 f  A: S% H
  139. ;   Production Value: "GP"
    . Y) ]. {$ Y" o/ L

  140. : {. u& F: `! A# F$ ]
  141. ; session.gc_divisor
    - ]) K3 ^8 J& ?2 r
  142. ;   Default Value: 100% T, k' Q; J9 s5 Y
  143. ;   Development Value: 10005 `) i  |+ t, i; T- l0 }( {6 o( B
  144. ;   Production Value: 1000& e7 v3 H+ Q$ g' Z

  145. 6 R4 G) Y  g4 p- H3 V
  146. ; session.hash_bits_per_character/ J  r; b1 ?8 h5 O5 O
  147. ;   Default Value: 4" H- S3 `: H- x0 n' G
  148. ;   Development Value: 5  w9 |: U- ^- _1 G
  149. ;   Production Value: 5
    ' Y- Q0 b! g  q* b, i

  150. - u, E1 N& L% z! X0 V+ W7 z8 z
  151. ; short_open_tag$ l5 z, o# I1 y
  152. ;   Default Value: On
    # g/ p2 W4 o1 I0 Y
  153. ;   Development Value: Off
    * l$ ^, y/ b: C5 ^# t7 K5 ^% D% G
  154. ;   Production Value: Off' Q- ~$ W/ V. l! d* X! U! B  \* E
  155. ( o8 f0 {+ u: V
  156. ; track_errors
    / X6 b8 T+ Y1 _- o" t
  157. ;   Default Value: Off
    , C6 i4 W; m, |1 k- Y  }% l
  158. ;   Development Value: On4 w$ T* O: U) o" {$ Q
  159. ;   Production Value: Off
    ' X/ ]9 Z% n7 |% j4 g& A6 S+ s0 Z/ ~' c
  160. . G% ?# V; C9 y: C5 o& o) S0 m
  161. ; url_rewriter.tags
    + R% Q3 K5 s, f# j# `8 f7 w0 @$ l. M
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
      ]6 e& b/ }1 u4 [2 K% X) Q
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % P0 I7 Y6 ^, k- Q" h  U' z' f
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : u; O0 e) q. S. x

  165. 5 d5 U1 b2 j6 F7 g; m
  166. ; variables_order* _7 y8 F- S% B* s/ e8 h5 ]+ N6 B% u9 _
  167. ;   Default Value: "EGPCS"
    # ?4 a; E9 u1 x9 O5 r6 o; H" w# H
  168. ;   Development Value: "GPCS"
    ' q* Y5 s5 ], L
  169. ;   Production Value: "GPCS"
    4 G. Q4 E. t- ?- w" T0 J

  170. 7 z. B$ o  ^" @7 T& o
  171. ;;;;;;;;;;;;;;;;;;;;
    : R7 s2 _8 q) d' v
  172. ; php.ini Options  ;
    & h1 h3 y  Q+ D( d
  173. ;;;;;;;;;;;;;;;;;;;;( c0 E8 g1 g# C
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"5 w% ~) E3 L0 O' M& \5 I
  175. ;user_ini.filename = ".user.ini"1 j. `; d! a# Z' V

  176. : k* \* ]  B1 M, h9 L: P2 x
  177. ; To disable this feature set this option to empty value
    / r" i! l$ x/ s* g8 f, e
  178. ;user_ini.filename =3 g0 Q/ q/ V9 L5 R2 e4 |

  179. ) V) e& F# [& ^7 I3 s) ]3 k
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)+ `  W5 r$ \3 g' S) C+ Y: Z
  181. ;user_ini.cache_ttl = 300) I0 F8 f, T4 w" s5 T2 x% m

  182. 4 t3 k! L/ w5 J
  183. ;;;;;;;;;;;;;;;;;;;;& D8 |# b- Y8 L
  184. ; Language Options ;1 u/ o0 h4 v2 F$ z& N
  185. ;;;;;;;;;;;;;;;;;;;;
    ( V' J9 ]5 d# d# E

  186. 2 q, x4 \' t7 e! e
  187. ; Enable the PHP scripting language engine under Apache.
    5 ~" y- F. v" V# V; i- t& H
  188. ; http://php.net/engine/ f; {* S2 Z8 M. t1 S
  189. engine = On9 B6 B7 N& ], I5 U3 D1 o" @
  190. : g" n' Q1 {: `- q. m1 E
  191. ; This directive determines whether or not PHP will recognize code between
    : L' [! F' m$ Q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    7 j$ s/ t2 k5 Z2 F9 ]3 t0 B
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ; \+ Y3 U6 N& u
  194. ; should be disabled, as enabling it may result in issues when generating XML
    # i) V3 R3 j2 c! h% ^4 K9 N
  195. ; documents, however this remains supported for backward compatibility reasons.
    0 w0 g( T  S" O3 U1 M" d
  196. ; Note that this directive does not control the <?= shorthand tag, which can be4 m2 g- K& R+ [4 N
  197. ; used regardless of this directive.
    / l1 S! d! O) z0 I2 g& m0 B/ i- Z
  198. ; Default Value: On$ i. J% ?/ {8 I  X2 j! A+ p
  199. ; Development Value: Off9 u3 C8 b1 ?9 q. ~1 a3 U6 B
  200. ; Production Value: Off
    $ Y5 w' S! c# g( P( t
  201. ; http://php.net/short-open-tag
    ! I! O0 {5 W' [
  202. short_open_tag = On
    : i5 L+ Y/ r- ]# a8 A6 h8 k

  203. 9 A! `2 m4 d% k8 W* X' i
  204. ; The number of significant digits displayed in floating point numbers.
    + [* S+ |' ~- M
  205. ; http://php.net/precision
    0 D3 C; U% [# m. \& ^
  206. precision = 14
    / b: R. C, L2 q- p5 c/ m3 C
  207. & q5 b2 c. l, L: ~& `
  208. ; Output buffering is a mechanism for controlling how much output data" n; L8 m' ^+ V* q4 H
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that) }* Y1 d/ Q5 a1 y  x
  210. ; data to the client. If your application's output exceeds this setting, PHP, x% a2 z( i& S7 k- B4 {
  211. ; will send that data in chunks of roughly the size you specify.
    + ^4 N; N) U0 z1 Z% ^
  212. ; Turning on this setting and managing its maximum buffer size can yield some4 I1 j6 d2 i8 x
  213. ; interesting side-effects depending on your application and web server.! }% i9 [: ^3 v+ n1 ~- m: o
  214. ; You may be able to send headers and cookies after you've already sent output
    4 }) }1 O9 i" O+ w! w
  215. ; through print or echo. You also may see performance benefits if your server is0 H# I7 e9 \- s2 E  |6 ]2 Z" K, {
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    , h0 R( T$ g; i. D
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    / b0 h- K/ W/ K& F( E
  218. ; reasons.
      M- F( z. V' M* S# W7 {/ F
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    . Q& N: d7 h" ~- N/ K
  220. ;   functions., z9 B9 m+ @# j: ?( ?8 H  G/ y
  221. ; Possible Values:
    ! c0 Z& I! D% h" K
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    7 |# z7 Q0 D6 `1 O3 S6 {
  223. ;   Off = Disabled: E8 p) l! w* k# R' X: |0 R4 V
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ! o* C) l  ?1 r4 M
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    8 z9 U1 N  u, U
  226. ; Default Value: Off
    6 \" ~9 M/ _  O, C, l% Q1 ~
  227. ; Development Value: 4096
    " I7 Y9 f' R, A1 W! s1 c
  228. ; Production Value: 4096: p8 C( ?: `; J  U: I
  229. ; http://php.net/output-buffering
    # ~( O& t0 h# g1 Z5 N" Q* k
  230. output_buffering = 4096
    ! K* _' W0 [5 H+ ?, x8 h2 M

  231. 6 l, Z) L/ j; y8 a0 B
  232. ; You can redirect all of the output of your scripts to a function.  For; ]# [( Z' H+ W! X3 k. ~9 v
  233. ; example, if you set output_handler to "mb_output_handler", character6 w; e9 z( g: S0 L4 L' U, C4 z/ y: Q
  234. ; encoding will be transparently converted to the specified encoding.% s8 `. G+ `  P! _+ d
  235. ; Setting any output handler automatically turns on output buffering.  G# B/ c; F, I0 r& ?
  236. ; Note: People who wrote portable scripts should not depend on this ini
    1 V  D: w( W; N. R- ^0 m
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    ; p3 L* t5 X  O- U9 l0 @& Z4 a
  238. ;   Using this ini directive may cause problems unless you know what script9 f+ U7 ]6 `8 r" \  s6 J1 X
  239. ;   is doing.
    8 A1 T8 F) m( @( z
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    . d6 W' V+ V  S9 ?, M$ A
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".8 Q9 S  f3 y7 i; m& I% ?
  242. ; Note: output_handler must be empty if this is set 'On' !!!!% ]8 H+ F) {+ P9 r0 B% w- o/ F* y7 T
  243. ;   Instead you must use zlib.output_handler.% k; D/ |9 C. D/ A! J' F* O" f3 M4 t+ X
  244. ; http://php.net/output-handler
    4 Q- n" S/ @# D: c6 A$ d
  245. ;output_handler =
      }( U3 H, c' J3 y
  246. & D; u  Z1 C+ A0 O
  247. ; Transparent output compression using the zlib library
    0 _# M( y' m: B0 j
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    # ~8 d+ x6 S) o( k% T" i& P6 s
  249. ; to be used for compression (default is 4KB)
    4 u6 f- ~5 ?, v3 U) d- w3 l" Z
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP4 o$ }# t( u! `  x, Q: W2 Y! \
  251. ;   outputs chunks that are few hundreds bytes each as a result of1 L6 o4 C# m% E8 _
  252. ;   compression. If you prefer a larger chunk size for better/ l( V$ g' Y* s6 o6 A
  253. ;   performance, enable output_buffering in addition.
    % h  e6 Z/ J  z# D( i; J0 a5 _
  254. ; Note: You need to use zlib.output_handler instead of the standard
    , h/ ~& N3 h4 ?! f. F' C7 [
  255. ;   output_handler, or otherwise the output will be corrupted.) x! r: i$ m. C' s. V6 X. K% B9 N
  256. ; http://php.net/zlib.output-compression
      O8 P# i6 _7 x) Z# U3 n
  257. zlib.output_compression = Off
      F7 c1 K- t7 F! }2 m- i
  258. . [: j% }3 ]* b0 C; u- q
  259. ; http://php.net/zlib.output-compression-level
      n1 r3 U* `+ ~- C
  260. ;zlib.output_compression_level = -1
    6 z1 y& T" F2 I" u

  261. & h9 C  {% c  v$ Y
  262. ; You cannot specify additional output handlers if zlib.output_compression3 r- K5 P7 H; y3 H
  263. ; is activated here. This setting does the same as output_handler but in2 {& x- @5 I# |/ k! p/ A; ?4 \
  264. ; a different order.
    5 i1 @, }7 R  K' Y# p) L4 V
  265. ; http://php.net/zlib.output-handler4 D4 w- u: M- P
  266. ;zlib.output_handler =
    % T3 f* M9 F( w1 ?% P
  267. & P* J, {5 m7 a+ R& Q" Z
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    6 }. Z. s9 G3 e. M
  269. ; automatically after every output block.  This is equivalent to calling the2 V, x) g+ b1 n. g" A
  270. ; PHP function flush() after each and every call to print() or echo() and each/ }2 U0 c$ Z4 h* c( g- V
  271. ; and every HTML block.  Turning this option on has serious performance
    0 i% P( _% Y- [" I! d1 a; S( {
  272. ; implications and is generally recommended for debugging purposes only.
    , g: Y. Q3 M& q* i$ U7 R! K
  273. ; http://php.net/implicit-flush
    $ ]! Y) w6 k2 u' X  G) ~1 d
  274. ; Note: This directive is hardcoded to On for the CLI SAPI) c! ]( `/ F6 R8 M0 @
  275. implicit_flush = Off
    ( h+ G' ~/ h5 {6 |

  276. 2 f0 W1 h3 Y/ X7 \2 W5 T; N
  277. ; The unserialize callback function will be called (with the undefined class') V/ c6 |" D0 W. h
  278. ; name as parameter), if the unserializer finds an undefined class
    / Q0 a; u! F/ G- Q  J, P
  279. ; which should be instantiated. A warning appears if the specified function is
    ; [: s1 @0 e3 b/ D  M
  280. ; not defined, or if the function doesn't include/implement the missing class.! a$ X5 q$ L7 O0 k
  281. ; So only set this entry, if you really want to implement such a* A4 B2 j/ d/ c/ n$ V, E' Q) I# f
  282. ; callback-function.
    " i& V7 `5 B  l! a( `4 ?! A4 Q$ c- v0 w
  283. unserialize_callback_func =
    . ?) B5 U) s/ @, M$ n
  284. * Z( U7 y1 q$ h+ g- T6 \. o
  285. ; When floats & doubles are serialized store serialize_precision significant& _9 ?; l  ~+ G* |5 B# z
  286. ; digits after the floating point. The default value ensures that when floats4 u: V. O4 k- {
  287. ; are decoded with unserialize, the data will remain the same.
    * {6 u1 T" o2 {% p* ?3 J/ h
  288. serialize_precision = 17! P" P1 a. ^/ N
  289. ( N+ M' |% N7 E( o( q
  290. ; open_basedir, if set, limits all file operations to the defined directory
    . ]% s& S( C0 |- a  m  n
  291. ; and below.  This directive makes most sense if used in a per-directory8 r0 I2 H4 ^. M, o6 u, h( Z7 @4 J
  292. ; or per-virtualhost web server configuration file.
    : z: B0 |% y3 U$ p% @$ f3 s
  293. ; http://php.net/open-basedir
    $ S0 y8 U) l1 a  R' T2 j+ M; Y! h
  294. ;open_basedir =
    & o; r7 w8 a. h" m/ Y- z) ?
  295. # h# c, M- M/ L1 P. g2 \5 {* v
  296. ; This directive allows you to disable certain functions for security reasons.
    7 F8 i8 w! D+ e# t! c
  297. ; It receives a comma-delimited list of function names.
    ( c7 {' o6 g  A- ?& g' x9 |
  298. ; http://php.net/disable-functions. z: d/ w6 b( Q+ ]
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    : G( F: N$ B& s( f: o

  300. 4 ~# @) _- K& @) ^1 A- j2 Y9 [
  301. ; This directive allows you to disable certain classes for security reasons.
    ) k3 M: Q* H% m& ]( |
  302. ; It receives a comma-delimited list of class names.9 y5 |; @, O; B2 Q- p' o" D2 _
  303. ; http://php.net/disable-classes0 n! r* n; A8 o  U
  304. disable_classes =% k. p, B! M3 ?# ?4 G2 X6 Z

  305. , s7 M0 g/ G  `) }3 ?  o% ]5 H
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    & E7 @5 T) b/ ^* w, A/ g9 z. a
  307. ; <span style="color: ???????"> would work.
    4 |* V% {  ^+ J( l; `7 T
  308. ; http://php.net/syntax-highlighting) b5 l; N. q( T4 o
  309. ;highlight.string  = #DD0000
    6 w$ N5 y1 I' V  B  _8 n: h- Q1 \
  310. ;highlight.comment = #FF9900: m$ q: Y1 D6 h+ |, y
  311. ;highlight.keyword = #007700) L% v" T+ J+ r3 L) A6 M$ k" o, G3 \
  312. ;highlight.default = #0000BB
    ' N1 _# g* S4 N* t/ U* d* `/ s
  313. ;highlight.html    = #000000- H  S. T1 O, \# s& ?8 @7 B6 z

  314. 2 X9 _0 I- j2 s/ v
  315. ; If enabled, the request will be allowed to complete even if the user aborts$ r# \. u; n  Q" v/ e
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ( }0 a( C1 t) a- e& _2 m
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior. `' g- _9 ]& ?- \' [# V
  318. ; is to disable this feature.  d/ Y# c( h# `8 w& }2 v" ]
  319. ; http://php.net/ignore-user-abort" B$ M' }& |4 z
  320. ;ignore_user_abort = On- x3 h: D) k; i! C. l2 X7 D  B- s

  321. ' L5 H1 W. ^7 W- u0 @/ x
  322. ; Determines the size of the realpath cache to be used by PHP. This value should  K3 c+ q0 `- n4 I
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    ( Q1 Q9 T# `  o7 A5 e6 Q: h/ S9 O1 {
  324. ; the file operations performed./ u- Z* f* M( F4 ~# r
  325. ; http://php.net/realpath-cache-size6 t1 ~% e+ a; j8 a. {
  326. ;realpath_cache_size = 4096k
    % M1 B. X6 D, I/ V; D
  327. $ n* l3 S/ ]5 x+ O/ h# L
  328. ; Duration of time, in seconds for which to cache realpath information for a given1 i' r- s4 L' s: R
  329. ; file or directory. For systems with rarely changing files, consider increasing this, |' l. E/ U6 H5 P' R& H
  330. ; value.
    ! m# }* F' F, j; g& y: X0 R
  331. ; http://php.net/realpath-cache-ttl! X: d: w2 g" M1 \$ L
  332. ;realpath_cache_ttl = 120
    ( M0 {* ^/ z8 G4 j& n$ w) i

  333. # J; m+ `2 _; {6 _# ^& M/ f9 F+ W/ e
  334. ; Enables or disables the circular reference collector.
    ) A" N# x1 K* `* I: J$ V" B
  335. ; http://php.net/zend.enable-gc
    1 Z0 l. u. b$ @( i# G9 c; @
  336. zend.enable_gc = On
    . S4 L- ^2 A& L" S9 E) L
  337. 8 Z0 z! b1 b+ n' J$ b7 c
  338. ; If enabled, scripts may be written in encodings that are incompatible with/ W) s# D. E+ }$ E+ \3 K- k
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
      N8 H0 B6 q9 {
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    / d8 t$ O* e- d" x7 R5 ]" k
  341. ; Default: Off" x: @, K# I& }: z/ d) X! v- Q2 y$ b2 B
  342. ;zend.multibyte = Off8 C. p$ Y9 D9 \+ ?) b& U& K

  343. * v/ L4 w+ Y3 G3 |
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    7 i' g( W( y& A2 z1 p; \
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.9 }$ ~4 f( n8 b. i* K+ q
  346. ; Only affects if zend.multibyte is set.: v6 d: q- D, x9 [1 h- f: v" L
  347. ; Default: ""; I2 c1 z8 a  s$ C
  348. ;zend.script_encoding =4 F: ^0 F) n: S' n. q

  349. , |9 p1 J7 b$ O5 G1 ?# t
  350. ;;;;;;;;;;;;;;;;;
    / f$ k& U* n2 J) g0 L3 |4 Q
  351. ; Miscellaneous ;8 G  G8 ~0 M2 D
  352. ;;;;;;;;;;;;;;;;;
    3 ^. e) h9 H( `  M) d, k6 E) y
  353. , W$ k8 c" j5 a" }0 b$ m+ j" x- z
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ! U+ ]3 L0 C8 r% b' k0 X0 A
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    & D- [3 `- D* q' F/ j
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
      h, D5 R/ t9 T8 h0 }( H0 d) P
  357. ; on your server or not.) m& H2 P7 u* I9 s3 U& R
  358. ; http://php.net/expose-php
    . e/ u8 W6 i- h6 I5 s
  359. expose_php = On
    ; x1 w# P4 g/ J# F# _
  360. 5 F$ W4 ?9 U, D$ ^. |  _& `
  361. ;;;;;;;;;;;;;;;;;;;/ ^9 q# U# u: Q9 A& ^$ `
  362. ; Resource Limits ;* c5 T" i' [. W$ Q) ~
  363. ;;;;;;;;;;;;;;;;;;;- ?) P7 a  |0 s! n' _, C
  364. ) q' u! S4 `3 m2 w) Z) w" ^* ^
  365. ; Maximum execution time of each script, in seconds  v$ o0 B. U. U! c7 L  p
  366. ; http://php.net/max-execution-time
    ' x0 ?" {- H( H6 i! Y$ |
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    + q: U4 H' {7 l( d" y% r, h. \
  368. max_execution_time = 300' [9 \9 ], j8 _2 o2 @- [( W7 K! [

  369.   L8 N4 K4 o, Z7 \0 D5 {2 Z7 H
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
      d- {! |; _% X, X: E0 R- n
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    1 G0 \' ~: F5 N  j; |4 ]
  372. ; long running scripts.
    / q8 C. k) k; y
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    3 n; J# B5 h; U% e* v
  374. ; Default Value: -1 (Unlimited)% @: N# \( r' M$ }, Q1 K
  375. ; Development Value: 60 (60 seconds)
    0 e: {6 z5 [- n' O8 ^( [
  376. ; Production Value: 60 (60 seconds). W( \9 g/ n$ I2 l' \5 ^% W- J
  377. ; http://php.net/max-input-time( X/ w/ `4 A9 |- O
  378. max_input_time = 60
    , S& `- |9 C1 B+ E" S* ~) @3 N' }
  379. 5 P0 Z7 Q( H* a0 L
  380. ; Maximum input variable nesting level2 F0 ~2 c  I+ v) N$ r$ H$ L% \
  381. ; http://php.net/max-input-nesting-level$ m$ |! c, x/ y$ J4 n$ `
  382. ;max_input_nesting_level = 64: ^# K( i# j+ j$ `% p+ k2 q4 N2 y

  383.   C  {4 j0 J9 H8 c- R4 C( {; B
  384. ; How many GET/POST/COOKIE input variables may be accepted
    ' v0 p  S! p' f6 u5 z. v7 o
  385. ; max_input_vars = 1000, A8 x, m  P+ \: F- b8 C8 k2 m! g

  386. ) `0 f0 b0 N* M# J9 w
  387. ; Maximum amount of memory a script may consume (128MB)5 i/ R: c8 r, T+ t/ [
  388. ; http://php.net/memory-limit
    $ a( B, J1 K$ Z+ Q6 `, Q7 K% [
  389. memory_limit = 128M
    ) ?! ~' [7 k% e! d! ^7 Q
  390. 7 s+ L6 n. M6 [$ P/ ^
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" \- R7 I/ n9 U
  392. ; Error handling and logging ;% z9 i( X0 B; ~, L/ X( K: s
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    * S: A( c8 g& Z) C$ N/ @( a

  394. , W( ]$ y4 d' r/ L: t" p
  395. ; This directive informs PHP of which errors, warnings and notices you would like7 h$ H- W* U4 }* u
  396. ; it to take action for. The recommended way of setting values for this+ C* O+ E. T- ~* P1 W5 I8 ?
  397. ; directive is through the use of the error level constants and bitwise
    9 c+ `' x% R7 C  Q& {& {$ {8 Y
  398. ; operators. The error level constants are below here for convenience as well as
    : k% p; G/ m. t
  399. ; some common settings and their meanings.
    0 q% a8 Y3 g( L/ v1 c) U/ O
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ! s( M% m( ^2 ~* Z/ `
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    2 w# ~) A7 e6 R
  402. ; recommended coding standards in PHP. For performance reasons, this is the. A# a4 y3 D8 D5 o
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    2 @* I$ @( Y5 t) n. i; j
  404. ; resources complaining about best practices and coding standards. That's what
    - ~0 l- o* H: q' c3 m6 d4 }$ E; k
  405. ; development servers and development settings are for.9 }! u: m& ]/ f$ s5 L
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ( ?1 g6 N  ], ]( X8 f
  407. ; means it pretty much reports everything which is exactly what you want during
    . Q# j- d0 {' o8 M+ G$ [
  408. ; development and early testing.
    / g& ~1 o8 G) B7 Z6 g8 [
  409. ;8 M3 U0 B5 \4 {) }5 g  ~1 r  l
  410. ; Error Level Constants:& j9 ~  d' Y: W3 p
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)+ p* U  j3 u0 f5 ]/ }) k" W4 P
  412. ; E_ERROR           - fatal run-time errors
    * Z: I7 I, K6 H/ F4 b+ _4 g% G, t' U
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors0 [* k3 E$ B* Y% n
  414. ; E_WARNING         - run-time warnings (non-fatal errors)/ T$ j% E9 y* B' u0 K
  415. ; E_PARSE           - compile-time parse errors
    * d0 a& r, E  l$ G9 X
  416. ; E_NOTICE          - run-time notices (these are warnings which often result- q! J9 |* i4 \( @
  417. ;                     from a bug in your code, but it's possible that it was
    7 [7 c  [) U9 E: H+ T
  418. ;                     intentional (e.g., using an uninitialized variable and% O/ Q! [* E: o
  419. ;                     relying on the fact it is automatically initialized to an
    # Z* O# J3 ^. \  ]; x
  420. ;                     empty string): H8 ~  ]: P7 b+ D. M
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes6 V9 b! z* g2 c6 D7 S% i
  422. ;                     to your code which will ensure the best interoperability2 Q* ]! d5 I1 w2 t
  423. ;                     and forward compatibility of your code
    ! _- F4 v: h$ n6 q5 V, V- J+ T
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ! i. ~0 k8 D7 S; n
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's4 o' R) D. {8 Q# }9 ?) f9 `2 a
  426. ;                     initial startup! C3 b* L) G# t6 O
  427. ; E_COMPILE_ERROR   - fatal compile-time errors9 ~* t% z6 J- a2 F: B4 C, O
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)4 ]3 m2 O: Q8 Z% x0 r$ q
  429. ; E_USER_ERROR      - user-generated error message
    9 m% j- q; A7 {5 a
  430. ; E_USER_WARNING    - user-generated warning message0 c, b  d# H! ?) \" E* m
  431. ; E_USER_NOTICE     - user-generated notice message
    , }5 _7 f+ h9 w9 d4 c3 C3 B
  432. ; E_DEPRECATED      - warn about code that will not work in future versions2 v* r: h! V) F' y$ v" j
  433. ;                     of PHP5 I4 Y* s  y% ?7 O2 h! k
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings% {! Y+ h+ @1 g! e( _$ P6 {
  435. ;
    + H: @7 j- _+ s' k  ]2 V6 z. o
  436. ; Common Values:. \% t8 i( Z0 ]4 k6 _
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    8 [$ e1 Z) a. M* |" L  g' U2 ]. @$ e
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    . P3 `* p5 i- T2 V2 Y2 N6 a1 y
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ' f$ U# W8 y3 L% L0 L
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    9 c2 c; z( T/ |/ ^6 G4 o
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , o7 ?, ?% _- V  y
  442. ; Development Value: E_ALL( T  G7 W6 x2 X; F/ b7 @, Z  t
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT" M! @0 l) C, k" M1 A) f
  444. ; http://php.net/error-reporting$ {$ |, v3 f" ?+ h2 E
  445. error_reporting = E_ALL & ~E_NOTICE
    8 H9 w, P3 c& e0 C

  446. 2 U- w  a7 O5 c
  447. ; This directive controls whether or not and where PHP will output errors,
    , k+ k! y: F. O' A3 T8 i( S! w3 _
  448. ; notices and warnings too. Error output is very useful during development, but
    1 R3 N' Y0 b' s9 N# n" A0 q+ Q
  449. ; it could be very dangerous in production environments. Depending on the code5 G1 }: H' @% I! E: T- U3 B# U1 n
  450. ; which is triggering the error, sensitive information could potentially leak: W+ O7 X% M. k
  451. ; out of your application such as database usernames and passwords or worse.  X2 r/ o/ W, H$ P/ u6 C; P& R+ [
  452. ; For production environments, we recommend logging errors rather than
    5 W9 U# w, o( q; I' [" R" ^1 ~
  453. ; sending them to STDOUT.
    8 S) }: j/ u8 \# u
  454. ; Possible Values:
    ' d% ]- S4 X4 h. Y6 I* d- D
  455. ;   Off = Do not display any errors
    5 u0 H8 Q" U/ ^6 K% a; x
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    " K+ ]+ z  t* ?
  457. ;   On or stdout = Display errors to STDOUT8 o& h( a7 m) ^, D6 O0 W
  458. ; Default Value: On- z: [* Y* `6 f
  459. ; Development Value: On
    ; G) D3 u, j% D/ F* s3 A
  460. ; Production Value: Off& ]' T7 M2 p2 l  G
  461. ; http://php.net/display-errors% |% ~6 f2 I' l
  462. display_errors = On5 D( E' ^$ F/ c& D% F' [8 f
  463. ; ]0 {) l. {  d9 v- q  ^0 x; u
  464. ; The display of errors which occur during PHP's startup sequence are handled
    4 g! k/ Y) x# A! p# C
  465. ; separately from display_errors. PHP's default behavior is to suppress those) t6 Y% _/ C  Z
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ; L9 P0 f4 f/ F  x
  467. ; debugging configuration problems. We strongly recommend you
    . i) f6 w; P& X8 U  x
  468. ; set this to 'off' for production servers.
    0 \" S( J/ V8 t* _. w
  469. ; Default Value: Off
    ; K5 w( c6 L- H( x& U( W) ]
  470. ; Development Value: On' X! j, W# G. F8 f
  471. ; Production Value: Off- V% k- L. [' ]/ {
  472. ; http://php.net/display-startup-errors
    : O4 |% X! ?% ~$ e& X
  473. display_startup_errors = Off8 k- n% ~+ A9 a9 Z
  474. ( x2 s" e+ B, w) J$ m8 r
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    2 @7 Y# z- K* B1 H- |. ?
  476. ; server-specific log, STDERR, or a location specified by the error_log. t# Y7 b; N( ]5 o
  477. ; directive found below. While errors should not be displayed on productions& H1 ^* g/ {) b
  478. ; servers they should still be monitored and logging is a great way to do that.
    : {9 U' P( @) O0 i) i3 ^( |* Q4 `, `
  479. ; Default Value: Off
    % Q3 c/ A: D' w; J
  480. ; Development Value: On
    ( i/ Z  ?9 Z) h3 @2 h" J" E7 K
  481. ; Production Value: On7 }* |+ D1 P. Q! G9 c
  482. ; http://php.net/log-errors
    6 ]) V! P: B. o, n' c0 C
  483. log_errors = On& E: t' W- G8 h

  484. ; P0 b0 ?+ C+ _0 N' k/ F' m
  485. ; Set maximum length of log_errors. In error_log information about the source is
    , D( R3 \) Z8 t+ B2 t
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.  ]3 d& o1 T1 G1 }3 c" J' h
  487. ; http://php.net/log-errors-max-len3 O6 g3 y6 C) J1 C) R# m. y
  488. log_errors_max_len = 1024
    + S! H! o3 O% _. f8 V

  489. % L+ H+ T* a% H5 ]7 y
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same0 f  C- J7 P1 s1 P
  491. ; line unless ignore_repeated_source is set true.7 S& x$ L( [0 W: }/ _
  492. ; http://php.net/ignore-repeated-errors5 e" z  Q8 ?! N7 u' b3 W
  493. ignore_repeated_errors = Off2 P' u1 d) u4 t8 R/ `2 A

  494. 1 {& Y, ^; y5 h+ r- @# u
  495. ; Ignore source of message when ignoring repeated messages. When this setting0 O- ]. ^6 b9 x0 b8 P
  496. ; is On you will not log errors with repeated messages from different files or0 F6 i+ R, t; R3 f9 T8 v1 ]
  497. ; source lines.8 k0 U% \* K1 o; U! J: \9 _
  498. ; http://php.net/ignore-repeated-source
    7 F2 p4 c# _# l% U  d) s
  499. ignore_repeated_source = Off1 C6 s7 u- U$ C, v8 {+ E3 R

  500. . {, X8 Q( }( m) ~3 x; Z
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    $ b9 I: J. j, g, U* j
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    % y+ o" t  @. n2 b" R/ R3 [
  503. ; error reporting includes E_WARNING in the allowed list
    " ]7 ?" L9 Y/ [! k% s; j# w
  504. ; http://php.net/report-memleaks
    7 g9 |. u# G9 @2 k
  505. report_memleaks = On
      t  Z  x! ~) E( k) i9 M  k7 I" R; \

  506. ) h- r2 A; k, p
  507. ; This setting is on by default.2 g9 ~( L# M/ S$ R
  508. ;report_zend_debug = 0
    5 d+ J7 S2 n1 Q. V- s+ R# h

  509. * M7 d! ^  }3 s2 {7 Z! R0 ?  c- x
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value. {! m5 |6 |5 S# f$ N4 T
  511. ; to On can assist in debugging and is appropriate for development servers. It should; o+ v  Q* d" N& L
  512. ; however be disabled on production servers.' \2 x/ M1 O- H
  513. ; Default Value: Off* j" G) @  x) H3 |
  514. ; Development Value: On1 C  M7 \4 I6 B, j; |. Q0 w! y0 J& G
  515. ; Production Value: Off
    + [0 f- ^' U& L7 ^4 w+ P9 o
  516. ; http://php.net/track-errors5 g& h7 T$ \7 X2 e% i( _2 U
  517. track_errors = Off
    ) d' B' Z7 U! o. J0 `
  518. ' k8 {/ Q; [. W" P- f
  519. ; Turn off normal error reporting and emit XML-RPC error XML  G( _& P5 p$ e& l" `+ B  o0 H
  520. ; http://php.net/xmlrpc-errors
    % D2 v; E) p: J% s' f
  521. ;xmlrpc_errors = 0
    6 W/ v% S2 u  W# v  h$ N5 i

  522. ( p# W8 Q) B8 A% {! G
  523. ; An XML-RPC faultCode8 i% v! V- @. S! F* J( v& M* d
  524. ;xmlrpc_error_number = 0
    8 |! x: {) h: T# C

  525. & b# X8 f4 f  @( A
  526. ; When PHP displays or logs an error, it has the capability of formatting the, [; r6 D( [9 @4 j! A; y
  527. ; error message as HTML for easier reading. This directive controls whether
    9 `" W- g# [; N& R3 g
  528. ; the error message is formatted as HTML or not.
      r8 W; S6 h# F6 k7 p
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    / o) A1 |3 n7 L5 h- }0 @8 k
  530. ; Default Value: On4 x( T1 n. z/ Y6 E7 j! m
  531. ; Development Value: On4 Q3 w/ ^; X3 v2 o
  532. ; Production value: On5 W# E! D$ R  `* a) v. {! N
  533. ; http://php.net/html-errors- u- k$ z$ }9 a0 p0 P5 B- o  e
  534. html_errors = On/ Q$ d. x& l& ]$ t3 h, M

  535. ' |7 r+ j; n+ f& N4 v' U9 N
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP: Q$ Q# Y* A# |# k; }
  537. ; produces clickable error messages that direct to a page describing the error( @1 Q) P2 K9 V  d' L
  538. ; or function causing the error in detail.% L) p7 ?7 z& }' w; K8 v! a
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    * D0 L* s7 _& I7 m5 K! k9 Q6 K
  540. ; and change docref_root to the base URL of your local copy including the% M* U- B) m! J, E9 T/ U0 h
  541. ; leading '/'. You must also specify the file extension being used including- ^' k& a; t( z* u# q
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    7 Q8 C: ?0 y! A, X; r( p% s
  543. ; case no links to documentation are generated.- b" _) R# g& R% }" P* b
  544. ; Note: Never use this feature for production boxes.8 Z# A) m) k9 s, O( p
  545. ; http://php.net/docref-root
    : m$ B- v, m0 d
  546. ; Examples5 P1 h" a/ M0 Q- E) K4 S9 A
  547. ;docref_root = "/phpmanual/") c: ~! `. o* w3 r! V0 z
  548. $ t4 ^7 O  \4 I: ]
  549. ; http://php.net/docref-ext5 a4 e* e; u/ k  x
  550. ;docref_ext = .html6 ^$ R' K1 @4 y

  551. ) P; ^2 v8 C$ X% W, Z
  552. ; String to output before an error message. PHP's default behavior is to leave
    % @3 \/ H( R/ |9 A7 k2 K0 L) e
  553. ; this setting blank.
    - a8 p- U3 O8 g' \. z/ T5 V/ n, x
  554. ; http://php.net/error-prepend-string
    - L- w6 v! F. `+ M: |
  555. ; Example:
    - V2 q# X- m  r9 o$ \9 P
  556. ;error_prepend_string = "<span style='color: #ff0000'>"% W4 u7 m" d" O4 Y" o, M
  557. ( f2 n; M  ~3 F; O0 S
  558. ; String to output after an error message. PHP's default behavior is to leave3 b; j' Q' R# m
  559. ; this setting blank.
    " @5 t0 ?% F9 B/ g( o+ r* ?
  560. ; http://php.net/error-append-string
    1 ^- J4 d& M* l+ X
  561. ; Example:) T6 m; @4 N; H6 v6 Y% e8 h
  562. ;error_append_string = "</span>"9 c4 f# k0 H& S  [0 G$ e3 n$ G; _

  563. 4 }8 j( v2 W- a% N" z+ g
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    + ~5 e( Z" V) Y+ ]1 G5 B! U" Q
  565. ; empty.
    ( C  ~; |. A0 R4 l6 h
  566. ; http://php.net/error-log( B% l. z, W  k" Y
  567. ; Example:
    * _; ]9 o" K/ x4 c% R9 b
  568. ;error_log = php_errors.log
    9 r5 ~+ H5 c1 v
  569. ; Log errors to syslog (Event Log on Windows).
    6 h" F- ^7 }4 K5 }
  570. ;error_log = syslog
    3 E9 u' ~# I- G$ c9 K+ M
  571. 9 ^% `2 M0 Y, a* A3 \1 _% W
  572. ;windows.show_crt_warning
    $ N2 e0 A+ a& B: Q* z) P+ r; C, y
  573. ; Default value: 00 i( p( X7 F  K7 R# R  q
  574. ; Development value: 0, {% N4 l; W) t- _& C
  575. ; Production value: 0( c. O+ b' w" A

  576. ) X) K8 O: F0 v" L: f
  577. ;;;;;;;;;;;;;;;;;
    0 l3 z6 X" i; f' J
  578. ; Data Handling ;
    + r* S6 n. `* T% `* h
  579. ;;;;;;;;;;;;;;;;;" U3 T8 E. t/ C

  580. ( T8 u$ O2 g) ~( E5 r
  581. ; The separator used in PHP generated URLs to separate arguments." B/ h. P0 r4 T
  582. ; PHP's default setting is "&".
    8 r$ y: L% `; U  ]* Y
  583. ; http://php.net/arg-separator.output1 q" K- V2 w4 d4 E$ ]
  584. ; Example:
    - x) E' n: j% h! Z9 T# R
  585. ;arg_separator.output = "&"' K, z! J* B+ H3 c* Z- D0 z
  586. * |: F, V9 K( G- w. o
  587. ; List of separator(s) used by PHP to parse input URLs into variables.1 o6 V( w7 @. H( n% N
  588. ; PHP's default setting is "&".4 S' q8 X7 K. D% e1 n, w4 o2 E
  589. ; NOTE: Every character in this directive is considered as separator!
    $ M; w) X. t' i! p, t, C
  590. ; http://php.net/arg-separator.input9 e$ O% u4 `9 K0 P! H, K  G
  591. ; Example:  Z1 o/ Y7 [/ ?
  592. ;arg_separator.input = ";&") p) E. b0 [& L5 Z* ]( Q

  593. ' t2 R7 b3 P5 `& _3 _, y$ U
  594. ; This directive determines which super global arrays are registered when PHP' s2 {' p) m& O7 t# i* B
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super9 K: d$ V& F5 w2 V' w
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    , G9 V9 V8 U$ c/ j
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    + m$ ]8 e7 s9 |8 ?
  598. ; used as the others, ENV is not recommended on productions servers. You
    6 T7 F/ H# U! E! a4 e
  599. ; can still get access to the environment variables through getenv() should you" J  N5 `' R: X5 Y% U
  600. ; need to.
    4 |) ]6 U0 u$ q
  601. ; Default Value: "EGPCS"
    ) v) s: i# o* p# R! f) y9 l6 @
  602. ; Development Value: "GPCS"$ K1 d( D3 h6 s2 ^0 s/ ?
  603. ; Production Value: "GPCS";. t9 o3 g9 z% W* E1 i
  604. ; http://php.net/variables-order6 C! j- g: I/ Y$ _/ l6 C
  605. variables_order = "GPCS"
    ! w) N, A! b1 p
  606. ! k2 e! P% d  S! {9 H
  607. ; This directive determines which super global data (G,P & C) should be7 B) u- c$ b% S2 l% z) b/ @2 ?
  608. ; registered into the super global array REQUEST. If so, it also determines
    " L7 L! k$ j/ g4 R! m+ u2 p6 w
  609. ; the order in which that data is registered. The values for this directive7 w* V( S' h2 Q/ D
  610. ; are specified in the same manner as the variables_order directive,
    $ c  o8 C' P$ C  u# Q! ^& j
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set; ?( h4 Z" B- b
  612. ; in the variables_order directive. It does not mean it will leave the super
    # _$ D* ^5 y: H. T* M; ?
  613. ; globals array REQUEST empty.
    4 t; j. D9 C/ e3 F
  614. ; Default Value: None
    - P1 A" k$ B4 S
  615. ; Development Value: "GP"
    & |* `$ W8 R  G5 M1 W4 N
  616. ; Production Value: "GP"1 z, `8 l( \$ b
  617. ; http://php.net/request-order
    4 S5 H# P, }( n8 J' v  ?3 t0 R3 d7 o
  618. request_order = "GP"; v/ L+ j, P: B# D: J
  619. ! F5 S& [0 L0 W% A/ b3 u
  620. ; This directive determines whether PHP registers $argv & $argc each time it' m9 |4 c4 U3 A# z7 p$ T5 d
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    % k3 H9 Y( O& r! I* A. l: b& f
  622. ; is invoked. $argc contains an integer representing the number of arguments
    5 R$ t. h6 k# o) S3 b7 k
  623. ; that were passed when the script was invoked. These arrays are extremely7 k1 S" |& q2 {' i4 Z
  624. ; useful when running scripts from the command line. When this directive is6 V" {& T' u& W! n+ }
  625. ; enabled, registering these variables consumes CPU cycles and memory each time8 Y' h0 Z# H% @: f8 J* E; a2 S3 X* }
  626. ; a script is executed. For performance reasons, this feature should be disabled
    6 |. |0 \/ Z! |+ t7 V" N* V3 [& V
  627. ; on production servers.
    ; X( W$ `$ U; K. H5 K2 n
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    6 e5 G) B  K9 A. {0 A1 Z
  629. ; Default Value: On) }% s* T# G' q7 S0 P3 Z
  630. ; Development Value: Off
    4 t  H( [1 y8 x9 A; `
  631. ; Production Value: Off2 w+ h$ z+ f/ L& E1 i4 d+ _
  632. ; http://php.net/register-argc-argv6 D1 G2 \0 ~+ J- E
  633. register_argc_argv = Off. T2 ]% M4 j7 y0 h" X
  634. 5 U- L7 J& B3 W4 q
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're, d6 }" y+ N4 b9 p; I1 L) H* n
  636. ; first used (Just In Time) instead of when the script starts. If these
    . n6 N' F% |  i
  637. ; variables are not used within a script, having this directive on will result
      A. K' l: ~& b; W; Y6 c  e
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    " f& g0 i- U' Z+ _( r% ~7 j
  639. ; for this directive to have any affect.
    2 A6 s+ W. l; f
  640. ; http://php.net/auto-globals-jit
    # g3 [0 S4 u6 O7 R
  641. auto_globals_jit = On
    $ Z& T: k, W# M& u

  642. / u* M# C/ H2 o, y5 ~$ m% I! }3 H
  643. ; Whether PHP will read the POST data.9 D% j3 I3 r# a
  644. ; This option is enabled by default.
    ' S5 U7 T5 ]) J/ K$ `
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST5 y- S7 t; ]" G
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    8 c: w# N) T2 C1 y, L. @# X- b
  647. ; POST data will be through the php://input stream wrapper. This can be useful. S& I% N; n! D; V8 a! z/ m; {
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.% j& {# \1 t7 Y& q6 b$ W* p9 a
  649. ; http://php.net/enable-post-data-reading+ J: N$ P  q  H7 @) [7 e
  650. ;enable_post_data_reading = Off
    $ o: c; [  b0 ?7 [0 K

  651. $ b& p$ {- D+ k) D1 P
  652. ; Maximum size of POST data that PHP will accept.. J: y5 L9 G3 @8 e% [" w( B
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    * Z, I/ j2 G  r# U
  654. ; is disabled through enable_post_data_reading.. o+ B  X' @+ I! o
  655. ; http://php.net/post-max-size" Q* M4 H1 t: ?+ n
  656. post_max_size = 50M, h2 R$ {: l1 I/ |6 D
  657. 3 C) X5 ?- _* v7 J/ `
  658. ; Automatically add files before PHP document.
    3 `4 B3 v. U4 i- t" g5 y
  659. ; http://php.net/auto-prepend-file
      |, L' @! ?( p+ B# u6 E9 x- }
  660. auto_prepend_file =9 |$ k5 ^( y" j3 _; N

  661. , N1 j  z; v3 j  b3 s
  662. ; Automatically add files after PHP document.
    + K4 @* L; Q! i6 ^2 [2 x5 q7 c0 c" f
  663. ; http://php.net/auto-append-file
    0 z: V% a. ?+ [4 V0 K/ A
  664. auto_append_file =
    7 C2 T% m% e. h/ p9 m

  665. ! D) ?; y4 l2 G" s" [9 H. i% I
  666. ; By default, PHP will output a media type using the Content-Type header. To; k/ N  |! o& f6 m/ O" h( L
  667. ; disable this, simply set it to be empty.
    - T  D/ Q; F( k4 K
  668. ;
    ; y, _8 o# }6 d* [
  669. ; PHP's built-in default media type is set to text/html.
    1 k) d+ K1 b1 ~3 P* a7 n& W+ o
  670. ; http://php.net/default-mimetype" l. T( d8 ?1 }6 j6 S
  671. default_mimetype = "text/html"
    ) k' c) e0 m; e7 h9 _7 |" h

  672. - j& B8 ?; |9 S! v4 d1 j
  673. ; PHP's default character set is set to UTF-8.
    ! R8 @7 Y5 Z9 {
  674. ; http://php.net/default-charset8 y% x1 J. M0 N& G/ e6 ?9 r+ R; S
  675. default_charset = "UTF-8"
    $ [6 ^& l8 S. F% H# @( p$ C

  676. . R; P$ d9 d) K) v. y
  677. ; PHP internal character encoding is set to empty.
    % l, Y* G& X3 H- ^
  678. ; If empty, default_charset is used.
    % T& r/ t2 X* a7 G* w) `
  679. ; http://php.net/internal-encoding" I$ i5 w. \* Q& Y/ f8 K3 x
  680. ;internal_encoding =! T, o/ N* X5 ^  s& ]$ t2 I

  681. 2 \2 q+ u) H0 m$ y( }
  682. ; PHP input character encoding is set to empty.
      n4 A( W6 Z5 E  c/ R2 }
  683. ; If empty, default_charset is used.
    $ }: _1 |7 Q  ?& ]& x4 s
  684. ; http://php.net/input-encoding: J, M+ G: U- s+ ?( \  N
  685. ;input_encoding =/ H, y5 R1 k) ~
  686. ; y2 |; v6 Z1 C$ e$ V$ m
  687. ; PHP output character encoding is set to empty.
    , i: y5 I: m" C  D( j9 e; a
  688. ; If empty, default_charset is used.
    7 t  r+ ]- K7 a" a
  689. ; See also output_buffer.
    7 E8 p( M  N- O: k/ U6 s0 Q
  690. ; http://php.net/output-encoding$ @# V+ Y( x/ B  q1 n3 C
  691. ;output_encoding =9 w: I, G! C$ f- \) {

  692. 4 G' \; ^8 j- \9 N2 t
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 Q1 S( u* c) \* G! R7 @: b8 r+ B6 N
  694. ; Paths and Directories ;
    ; \; n) k7 b- g- b8 S" `
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 @% e" g' r. y& \7 ]" g

  696. + F2 Q3 k4 z6 W) X4 {
  697. ; UNIX: "/path1:/path2"
    1 b; {+ `! x* S
  698. ;include_path = ".:/php/includes"
    6 i3 @7 A2 r: _) N" s  N/ F
  699. ;+ i! z* z$ L" L) m: n" G# }9 @- k
  700. ; Windows: "\path1;\path2") Z0 D1 {7 h/ n$ `8 h4 C
  701. ;include_path = ".;c:\php\includes"( w% d0 E- Q1 Q) O
  702. ;. {2 \/ \* Y$ G# f. a
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"# X! N5 P* ^1 v
  704. ; http://php.net/include-path
    - \; \4 L. l" }- h

  705. ( T% Q2 H& H! w
  706. ; The root of the PHP pages, used only if nonempty.
    5 h: p5 j+ P! R1 F" u. P1 b( [4 @
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ' x, ]! N" ^0 _+ h3 u$ N8 h
  708. ; if you are running php as a CGI under any web server (other than IIS)
    , C7 B& S; u' Z$ b
  709. ; see documentation for security issues.  The alternate is to use the
    6 D8 T6 \' \" K0 X4 k: L9 C
  710. ; cgi.force_redirect configuration below
    ( \( Q& Z* t% [+ K
  711. ; http://php.net/doc-root
    6 Y6 k" G- s. }4 Z7 q* H; ?
  712. doc_root =
    8 P1 R* L7 W) {# m
  713. # `4 K7 i$ Z( `5 R, K9 h
  714. ; The directory under which PHP opens the script using /~username used only$ \: D1 C) Y( S8 _3 }3 p8 _' {4 K" j
  715. ; if nonempty.6 Q1 r. N) R2 }  @( A5 Y
  716. ; http://php.net/user-dir; |' @4 S; H3 O4 K' a
  717. user_dir =
    3 Y7 v  t( B7 T+ V2 X3 U
  718. 1 s  V  o' |& w8 `* @
  719. ; Directory in which the loadable extensions (modules) reside.
    9 @& D# [5 N) l0 [0 l+ y% Q: W" a' l
  720. ; http://php.net/extension-dir' B. Z6 D' s4 L6 l/ q( v% v
  721. ; extension_dir = "./"- {: d3 O* X) u' Q4 ^" t
  722. ; On windows:
    5 t+ w2 j+ e! P5 n% n9 r- p
  723. ; extension_dir = "ext"3 V( w( c1 n6 z* }: V

  724. ; Q$ f. V3 ?( t
  725. ; Directory where the temporary files should be placed.' }  B& z7 M; j: T
  726. ; Defaults to the system default (see sys_get_temp_dir)) S4 P# R5 B3 J, P/ q8 D7 p; H
  727. ; sys_temp_dir = "/tmp"
    ) x2 i, A0 i; W/ ?

  728. / g/ I9 e: ]7 }6 N+ s! h# N
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work% @5 o( D) s( {& D9 \/ Q
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ( w8 ?  B) i5 j& s: `' r% R
  731. ; disabled on them.
    . M7 M2 i) y; i6 h" B
  732. ; http://php.net/enable-dl8 ?" J, j5 D: p# k. s3 R! X
  733. enable_dl = Off$ a6 u, E% ?5 D# h) I4 k; d
  734. $ j2 n0 W, r- K2 S
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    - g5 h$ c# s: e  }2 W, T/ y' V
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can* B6 w. L# W6 l3 }, }* I( V4 r
  737. ; turn it off here AT YOUR OWN RISK
    2 g) y( F9 S3 o
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    0 f6 y$ z+ i4 k, N
  739. ; http://php.net/cgi.force-redirect% Y; J0 m1 Q+ v( B
  740. ;cgi.force_redirect = 1
    : x& K# D% _+ D8 W4 b4 e* R. j6 ~& K

  741. ) o/ \( N. D( c5 ?
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with/ j) T3 _, _" t( z0 j" L% L% }
  743. ; every request. PHP's default behavior is to disable this feature.
    9 s( |1 E, q( z
  744. ;cgi.nph = 1
    6 M' ]( E/ y/ U% Q. m

  745. " Y9 G  c3 o) z1 _
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    & A' n& V# O1 q5 ~. S" w3 E
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP2 C/ D( w; d* x2 _  J' p! V
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    * g/ S6 j5 X6 y
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    5 ]" d6 c' x# G9 B
  750. ; http://php.net/cgi.redirect-status-env) H/ E7 E  c8 U. Z
  751. ;cgi.redirect_status_env =
    6 g8 N1 G# D5 S$ v+ l

  752. : o* L( s. K' T* l9 ~
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's. s2 E1 ?0 B! V0 i2 S
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok% Y/ y: m) C5 b) |3 Z7 K8 C/ X
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting# L! }' {% N0 x
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    , M  k2 q3 `0 e( K' {0 t+ {
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ) D, X" B3 I7 x# s+ E; o' l( V' p# e# i
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.; H' n8 e% g$ E) m; c
  759. ; http://php.net/cgi.fix-pathinfo
    5 Q) f4 K( G, v  \" n+ S4 I4 S
  760. cgi.fix_pathinfo=19 h0 V& e$ g1 h  P  o- I

  761. ; O3 C( z9 X) X
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    % F; V/ o: C4 O/ P1 r' t2 `
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    1 \1 w' j4 p( d. Y* T( d6 S
  764. ; http://php.net/cgi.dicard-path7 j. B3 s* T$ \4 k
  765. ;cgi.discard_path=14 L) j$ J( e* |% ~" y6 ~. O6 x" \
  766. % a$ g  e# C9 q& j) v
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate2 d: R0 K5 Z$ Z$ H) B
  768. ; security tokens of the calling client.  This allows IIS to define the3 H  X8 E) d" ?9 F
  769. ; security context that the request runs under.  mod_fastcgi under Apache1 a" @; |1 z  w% b4 C. V
  770. ; does not currently support this feature (03/17/2002)
    $ Z9 N. w' ]5 u; Q, h' r
  771. ; Set to 1 if running under IIS.  Default is zero.
    ! J( _+ ^$ e6 J% Y) w
  772. ; http://php.net/fastcgi.impersonate3 G! M, L. r, `7 N& {
  773. ;fastcgi.impersonate = 18 {- o- E- l( o, \

  774. 6 g2 K4 c5 f2 R
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable( f8 f3 d+ }; j+ }7 ~
  776. ; this feature./ Z5 H+ Q8 w7 Z2 K# ^
  777. ;fastcgi.logging = 0
    6 p& k5 ^8 a) Y4 I5 U0 a/ B
  778. ) n% ]# {" l! e8 d/ B
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to: B, y! d& @0 A) E; [- K/ m
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that6 E. n$ O5 r( `; A8 E  C9 v% q% \
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    5 [- K- P& b- A0 k7 Q4 t. E0 p3 j
  782. ; RFC2616 compliant header.
    - D7 v0 y8 K" y0 |
  783. ; Default is zero.
    " a% j2 G% n, {) ~% n
  784. ; http://php.net/cgi.rfc2616-headers
    7 p5 @( z4 r, k" a% B$ |8 d
  785. ;cgi.rfc2616_headers = 0
    ) h! \$ Y, W0 L

  786. 1 K# `7 E2 H  G" ~' g) }
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ( }" _  t" o; u  ?# c
  788. ; (shebang) at the top of the running script. This line might be needed if the- x! t. y- i7 e/ I4 I2 ~5 t- Z
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI- E6 _8 |' U4 `0 b) q7 m% M
  790. ; mode skips this line and ignores its content if this directive is turned on.
    * u  L" |/ b$ Q! |
  791. ; http://php.net/cgi.check-shebang-line
    , l- U; f: q# F6 g; C! W( O# m2 C
  792. ;cgi.check_shebang_line=11 G8 ?: r1 j2 }

  793. 3 b& r8 ^1 U. Q, q4 d
  794. ;;;;;;;;;;;;;;;;# P: B) J: k6 A2 {
  795. ; File Uploads ;
    9 V* v4 Q0 j" Y$ L
  796. ;;;;;;;;;;;;;;;;
    7 M' z3 q/ a" x  G" K) a" Z/ }3 m' K6 L
  797. % L. H1 e" S, B6 a; i/ ]
  798. ; Whether to allow HTTP file uploads.
    * G5 }  u6 X6 P( {
  799. ; http://php.net/file-uploads2 ]. T. k" e0 E- y+ ^* g& L3 X
  800. file_uploads = On8 j8 P! b0 @" @/ ]( L. T

  801. % Y7 Q. P4 r( i! b; d
  802. ; Temporary directory for HTTP uploaded files (will use system default if not) }6 B9 j7 w$ [- F- w% p! q
  803. ; specified).
    : n7 T0 i' S2 e" F. y- }9 B2 O  ]
  804. ; http://php.net/upload-tmp-dir. B. `8 _6 h' f# I
  805. ;upload_tmp_dir =  N" ~* S4 U3 ^( R
  806. ' ^# O6 K, h! B% m
  807. ; Maximum allowed size for uploaded files.4 m3 N3 Q7 P7 ]4 n8 }" E
  808. ; http://php.net/upload-max-filesize
    5 j; K' c  ]* x- T$ f- A
  809. upload_max_filesize = 50M( H4 P# i7 |8 a
  810. 8 |% j6 W) t' l9 }% d7 o: z' v
  811. ; Maximum number of files that can be uploaded via a single request$ B  B, _  j' u4 }
  812. max_file_uploads = 20
    0 w  P$ p+ {2 n8 k& \

  813. 4 c3 }8 u  @0 L2 z
  814. ;;;;;;;;;;;;;;;;;;! R0 D/ C, O. C& L7 G
  815. ; Fopen wrappers ;- Z; [) c# s2 j
  816. ;;;;;;;;;;;;;;;;;;" K4 d6 d& t$ |$ @0 p& I: `: ~* Q
  817. ' u& G) V  z& y9 k: y
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.1 S: i# K" R& y. u$ z
  819. ; http://php.net/allow-url-fopen) ?/ N" L( I+ ?% U! Q/ U
  820. allow_url_fopen = On) F4 ^, b6 u! h, l# s

  821. 7 v( |* E5 Y4 g9 F1 _! J
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.( k* g4 g1 {$ q% {
  823. ; http://php.net/allow-url-include& V# N5 B! D; C/ R3 Q
  824. allow_url_include = Off4 f  m1 K$ c% D: N

  825. ' q1 g0 `" \( c: }
  826. ; Define the anonymous ftp password (your email address). PHP's default setting/ C5 n2 ], c% \5 I: R
  827. ; for this is empty.
    8 r% P3 u5 l5 u9 B
  828. ; http://php.net/from
    $ {2 F9 k  s9 C
  829. ;from="john@doe.com"
    5 X4 V, o8 T+ d! D% _- y* K/ x
  830. - l% D2 A, N0 V
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    . i- u8 t. s3 ^7 ^1 C: Y, ^: j
  832. ; http://php.net/user-agent2 v/ k' Y: p2 c: l4 J: b
  833. ;user_agent="PHP"4 A4 W1 E, |" T; l
  834. + x4 ]! {, P6 C+ L
  835. ; Default timeout for socket based streams (seconds)
    6 {0 \4 T; r4 ], w* I5 c% a: H" T
  836. ; http://php.net/default-socket-timeout1 i1 x: V6 o- t, S
  837. default_socket_timeout = 60
    . m: ~3 M8 W) j% z6 ^- n. M0 W% ^
  838. ) Y% Y9 w4 L$ a3 u; I" o
  839. ; If your scripts have to deal with files from Macintosh systems,
    ) l1 F: c- e3 A0 p2 V
  840. ; or you are running on a Mac and need to deal with files from, X- t3 T: V& }1 ?1 N
  841. ; unix or win32 systems, setting this flag will cause PHP to
    % p4 {& P% ~; ?, ~& @; V9 L1 ^
  842. ; automatically detect the EOL character in those files so that
    5 g: U6 u8 r. Z& Q- `
  843. ; fgets() and file() will work regardless of the source of the file.
    & [* O6 k- x7 ~
  844. ; http://php.net/auto-detect-line-endings% W, k$ [9 z5 X. F6 [/ }
  845. ;auto_detect_line_endings = Off; c+ \( N- y: R2 @9 x8 V& @: h
  846. - |2 E: R; L& b
  847. ;;;;;;;;;;;;;;;;;;;;;;
    " C& r9 t) Q: ], k. S$ ~; x& L
  848. ; Dynamic Extensions ;
    " A/ l* _) h0 H
  849. ;;;;;;;;;;;;;;;;;;;;;;4 g  d) t/ O8 d& w1 Y5 n; d
  850. * ?& h1 U7 C: A# ~/ ]4 d7 E
  851. ; If you wish to have an extension loaded automatically, use the following
    ) }- D, U) v+ \* K: H. I% t
  852. ; syntax:
    " k( j+ L$ j* n5 K+ o' V0 j2 o7 N+ }
  853. ;
    ( z" U, F& L% l* k+ C# n
  854. ;   extension=modulename.extension
    2 ?/ m6 P) V- J; v- b) E
  855. ;2 e/ ?. |8 s% P0 c
  856. ; For example, on Windows:, K/ _- p: x( P$ t
  857. ;
    6 o, e+ \4 P8 n/ e; B
  858. ;   extension=msql.dll
    5 Y9 [- N" O, m! B
  859. ;+ F+ ]8 p! \( N# Z3 l
  860. ; ... or under UNIX:5 W- g, o! o* w* p
  861. ;: ]% T1 H  D: x: R
  862. ;   extension=msql.so
    6 {0 C* O) t) l2 o( V; |, v
  863. ;. L/ u7 g. w, c
  864. ; ... or with a path:
    8 h- L7 o7 `8 T( R+ Q
  865. ;/ d7 g7 i* _0 b0 S+ [
  866. ;   extension=/path/to/extension/msql.so: J* S- [* |' {) `2 M
  867. ;
    5 T/ W" ]7 R1 f/ f  ~
  868. ; If you only provide the name of the extension, PHP will look for it in its% y9 ^/ a7 N% ~. r! C
  869. ; default extension directory.' ]- L- @6 L: L9 R# q. U! a$ Y
  870. ;
    / y: C! `+ [4 J+ ~- Z
  871. ; Windows Extensions
    ; ~/ G$ ^5 B( O2 t8 G
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    0 o8 A; Z& H2 u5 h2 `2 ?7 @1 t
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)! o; |% y% J/ r4 O
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    / r$ a, N: v( D7 D9 O/ i, }
  875. ; Be sure to appropriately set the extension_dir directive.3 _* I& ?9 L7 Y/ f
  876. ;) T0 U6 L: E3 u; a/ C4 y3 b
  877. ;extension=php_bz2.dll
    ; J; L' S5 B  P6 Q9 A5 U/ {8 m9 t
  878. ;extension=php_curl.dll
    5 F7 ^5 u$ l3 B* u
  879. ;extension=php_fileinfo.dll+ V: }& f- E* z- H
  880. ;extension=php_ftp.dll6 i# Q: i$ r& H! P+ u
  881. ;extension=php_gd2.dll
    , a  n; G4 u1 Z2 C' }: w0 Q
  882. ;extension=php_gettext.dll
    ; O8 A: K3 L  L
  883. ;extension=php_gmp.dll* p8 O. D4 P8 V- g( L  z
  884. ;extension=php_intl.dll
    : }# V2 k0 d7 T8 V! c9 U" n: e  M
  885. ;extension=php_imap.dll1 D5 O' o7 j: m/ W6 t
  886. ;extension=php_interbase.dll) W0 {0 z/ f6 h; v5 |
  887. ;extension=php_ldap.dll
    1 Z: R( j& h) M
  888. ;extension=php_mbstring.dll+ R( U, o- w7 Q4 d
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ! d' x0 {! K* L( C# n: @$ z
  890. ;extension=php_mysqli.dll7 ~4 ~( ^5 l! s; F
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    . d8 Y8 E8 a+ t/ F4 R1 a
  892. ;extension=php_openssl.dll
    0 T1 G1 _3 f) x6 w, n
  893. ;extension=php_pdo_firebird.dll
    1 K5 `* i( r- _( M- S
  894. ;extension=php_pdo_mysql.dll( u# w+ X6 D  V
  895. ;extension=php_pdo_oci.dll
    , t" g" m2 W+ [% j9 T3 w
  896. ;extension=php_pdo_odbc.dll
    ) X2 }5 ?5 t8 a  y% ?/ n) f$ |
  897. ;extension=php_pdo_pgsql.dll
    ! g2 m) t6 E* a
  898. ;extension=php_pdo_sqlite.dll+ L+ L0 p  Y7 E/ H
  899. ;extension=php_pgsql.dll
    - F1 b) q8 W0 r
  900. ;extension=php_shmop.dll$ p( H+ D: s" Y' A! R# l% V) n3 X; C2 A
  901. $ T, q/ f; v0 x
  902. ; The MIBS data available in the PHP distribution must be installed.! A' g& W7 a2 m1 M0 }, j' l
  903. ; See http://www.php.net/manual/en/snmp.installation.php9 G! d) _0 V6 `
  904. ;extension=php_snmp.dll
    0 w% K2 d9 A1 l8 ]% @1 K

  905. 6 y! Y: }7 }: z# V5 S  |, ~
  906. ;extension=php_soap.dll  B1 y& n! t/ e- j
  907. ;extension=php_sockets.dll
    4 d, Z; I8 J& {6 X% ^# J' {0 \
  908. ;extension=php_sqlite3.dll& m+ j3 `4 n; P0 l
  909. ;extension=php_tidy.dll
    , w* e7 G9 C! R/ B) R$ B: F
  910. ;extension=php_xmlrpc.dll
    3 T8 C7 g2 S8 O
  911. ;extension=php_xsl.dll
    1 k9 r) w8 j; p% P# C' Y/ \

  912. % ]5 o- k  r3 q  e" M
  913. ;;;;;;;;;;;;;;;;;;;
    - ]0 F) M/ @7 D7 \" W- y( u/ R
  914. ; Module Settings ;
    ' [2 [6 ?% B9 G8 G
  915. ;;;;;;;;;;;;;;;;;;;
    9 {8 k  D( d1 i% ~9 f3 t$ T

  916. . w5 O3 o$ Z8 V3 g  ~+ T2 g
  917. [CLI Server]- a$ t& v4 ~, G. _- }1 L
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    + _9 O# r2 i" A
  919. cli_server.color = On3 y) ~: {1 K! w9 b: M* a
  920. : w- p  s0 a. Y# E! `# h9 }
  921. [Date]
    + L. {( j# Q+ Y, F8 b
  922. ; Defines the default timezone used by the date functions) i  G' Z5 |; E  `' Z2 F3 }; L  x
  923. ; http://php.net/date.timezone* }0 C1 Q% W( Z7 R% K& O. v5 J
  924. date.timezone = PRC
    8 ]) O# w! [8 \& a5 ~3 x

  925. 3 \$ v2 ^. P. R1 w* ?* {6 e
  926. ; http://php.net/date.default-latitude
    ( @1 i0 x7 v; K8 d7 i: U
  927. ;date.default_latitude = 31.7667
    3 R- t$ U# B9 Q! o! P
  928. 0 y% O' F4 ^$ ~" q# n& u
  929. ; http://php.net/date.default-longitude
    # F# c: S1 ]8 @% E# Z! c
  930. ;date.default_longitude = 35.2333
    " s2 N5 ~4 h# I4 B# G
  931. " x$ Y8 z# }  }
  932. ; http://php.net/date.sunrise-zenith) m) @% \& C; A' e8 n
  933. ;date.sunrise_zenith = 90.583333
    5 o. {/ S3 P- X) m
  934. , i( K( w# C0 c: o# V: ^  e" b
  935. ; http://php.net/date.sunset-zenith# R0 M. W: y& Q8 N' a0 Z
  936. ;date.sunset_zenith = 90.583333
    ' r9 K0 B* D! b/ J

  937. 2 ]6 s  x0 b9 f/ v
  938. [filter]. W9 ?- p( W7 K: J* m: b+ c4 y( G5 I
  939. ; http://php.net/filter.default& r$ `2 t5 t+ \* ]/ V, {! H
  940. ;filter.default = unsafe_raw" b3 P3 l/ Q7 ^1 [0 E8 h" ~' @
  941. * A3 h+ k( E5 X: P2 D
  942. ; http://php.net/filter.default-flags
    6 V  i6 W2 d6 O( D9 G( X
  943. ;filter.default_flags =$ _. J1 y" _5 I* O% h% \

  944. ' i$ _) m" y- ?- l" l% b& u
  945. [iconv]  J* Q# |$ c. N* R' B! B
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    + ]8 x% G( H' n& P
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    " s# ~) w4 K5 U% u1 \# Z# n& r
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding4 d& H% t2 b; p7 b# ~; g+ L3 x' W7 H" c
  949. ;iconv.input_encoding =
    . |, @7 L2 n8 z4 @3 _7 S
  950. 0 v7 e  C" O. e, ?! Q7 j" m
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 t/ v: C3 b' M$ M/ w8 p
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.6 I9 F# f2 w2 }! v, U
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding" V; D$ j3 T& Q' g
  954. ;iconv.internal_encoding =
    7 }9 w/ S8 N- J& [- N; d2 R: E7 c( |

  955. # ~" n: @' M9 [& N# o6 v+ m4 Q4 @. f
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    & [3 [! b) D: U/ Y/ v1 @4 r
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    9 A0 @( X/ Y) p* R. U
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    2 o3 @3 E% T) t$ l# ^
  959. ; To use an output encoding conversion, iconv's output handler must be set
    + x1 D: Q/ J* D2 H
  960. ; otherwise output encoding conversion cannot be performed.- ?3 [: z- D1 Z$ N% |6 E
  961. ;iconv.output_encoding =
    0 p6 G6 y/ C/ [% {7 G
  962. " M, H1 r0 X8 b# h" T
  963. [intl]& `: s$ n$ Q8 o# c' F$ ^8 }
  964. ;intl.default_locale =$ @/ w- m2 k1 a6 S( e) I2 u
  965. ; This directive allows you to produce PHP errors when some error
      |7 [  Y0 `5 g) N
  966. ; happens within intl functions. The value is the level of the error produced.0 h; K; L3 y$ R" b/ n
  967. ; Default is 0, which does not produce any errors.
    + S) P# ]( j* F2 n+ g
  968. ;intl.error_level = E_WARNING
    : i" b; w) U) @4 ~- ^5 y
  969. ;intl.use_exceptions = 0
    4 |4 e+ c2 f2 ?

  970. 7 {# h( v1 r* z! j
  971. [sqlite3]6 L  P. A7 D0 g! p1 R" P( u
  972. ;sqlite3.extension_dir =: }1 ]4 r9 ?# _: ]
  973. * ?9 @. @7 t9 n- F8 H( j1 r' p( ?
  974. [Pcre]
    % s' ~, g9 n1 O; D
  975. ;PCRE library backtracking limit.+ ~5 x: o8 I! O! O* M& J
  976. ; http://php.net/pcre.backtrack-limit9 M& Z8 x# R+ X
  977. ;pcre.backtrack_limit=100000
    8 q8 |8 l! D/ o& h$ R; S

  978. - _1 W9 l( T) ^
  979. ;PCRE library recursion limit.
    " y- P5 I& L- V# e0 \; ?, J8 m2 C3 U
  980. ;Please note that if you set this value to a high number you may consume all
    1 j* }) L# g: n9 L0 T
  981. ;the available process stack and eventually crash PHP (due to reaching the& R+ A2 A9 {! r! X+ f
  982. ;stack size limit imposed by the Operating System).
    6 o; v( U0 K$ K
  983. ; http://php.net/pcre.recursion-limit
    : @" y( _* q  W$ L7 N4 u. n
  984. ;pcre.recursion_limit=1000002 n6 Z# [( [$ I0 G9 }

  985. 9 u8 V  v$ j4 D7 D7 d
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    " u7 b2 s" H( F
  987. ;library to be compiled with JIT support.+ x. s; v& A; i9 i' l
  988. ;pcre.jit=1- \, @$ ?" F; U- R/ j+ t1 |* P$ q

  989. ; p  h+ B$ ]- A5 y5 l' n. S# t
  990. [Pdo]
    ' ~; C4 U# ^/ k0 X6 H9 o
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"& q, C8 R1 B" m
  992. ; http://php.net/pdo-odbc.connection-pooling
    + V6 N2 X/ g8 e1 t
  993. ;pdo_odbc.connection_pooling=strict
    0 Z+ X- F& g! n" U4 K6 s8 w
  994. 5 Z2 s; N. y$ b
  995. ;pdo_odbc.db2_instance_name) v  U( K1 I" W& \$ P* u" r

  996. ( L  P+ J6 L( I' H; s4 `
  997. [Pdo_mysql]) [- U4 A- y4 @4 H8 Q9 U
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - I, L- Z* `5 ]
  999. ; http://php.net/pdo_mysql.cache_size7 T4 A0 Z  A, O. j2 V8 W5 U
  1000. pdo_mysql.cache_size = 2000
    3 B& ~2 n- s: ]: |

  1001. ) ?% `* g9 c. O
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in  m$ M9 @  B% c6 t% U
  1003. ; MySQL defaults.
    ' |6 g  k) Z1 W+ f5 }
  1004. ; http://php.net/pdo_mysql.default-socket
    + v* [; k7 h% c6 O- m' y/ c
  1005. pdo_mysql.default_socket=
    , w0 V! U% z, f
  1006. : v/ j* L7 \  t7 c6 A
  1007. [Phar]% k+ J6 U5 o7 a9 c1 W
  1008. ; http://php.net/phar.readonly& h. [9 f" n6 N/ j% B
  1009. ;phar.readonly = On
    / H: [6 p2 Q6 h  X

  1010. 2 D" H2 i: |' a
  1011. ; http://php.net/phar.require-hash
    + G1 F# Y( x+ Q. N0 M0 A
  1012. ;phar.require_hash = On- B# \2 x6 d; q# M1 m) g

  1013. , Z  C8 Y1 z. {5 j0 a
  1014. ;phar.cache_list =
    3 Q( O: F0 A" q  \- Q! O

  1015. 9 n" o7 f  V; M: v. G# r& m8 j- ]
  1016. [mail function]  M( l* t4 N) ^8 {
  1017. ; For Win32 only.
    & T, y' ^1 w0 n: ~1 @0 N
  1018. ; http://php.net/smtp
    ( M% S8 a1 a& P$ i, p) T
  1019. SMTP = localhost
    / a2 n2 d/ O% a" u1 e5 R! u# t' J' t, E
  1020. ; http://php.net/smtp-port
    - Z4 g' t# [; O# I
  1021. smtp_port = 25+ q% o# y; H6 ?- ?" e. H

  1022. 1 S2 v( ~$ g1 h4 e$ J) G/ A/ Q! _
  1023. ; For Win32 only.) j/ L/ q; T  z8 Z8 e! I/ \7 u/ `
  1024. ; http://php.net/sendmail-from4 @1 T8 g5 o; k2 T( j7 I& F
  1025. ;sendmail_from = me@example.com
    , C2 ^! J6 k% D! f

  1026. # ^! K" Z9 t* S7 T( E+ [4 \% M
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").$ \. ^2 G: R( A
  1028. ; http://php.net/sendmail-path
    0 @- U+ J; U* {' e( y
  1029. sendmail_path = /usr/sbin/sendmail -t -i* j5 o6 k0 W9 S  [5 F
  1030. 8 V. F4 ~: ]6 a+ B
  1031. ; Force the addition of the specified parameters to be passed as extra parameters- a! F3 p. p- E
  1032. ; to the sendmail binary. These parameters will always replace the value of  q- Q8 z3 h, _+ @5 H  h
  1033. ; the 5th parameter to mail().
    6 u4 }2 o2 e+ \2 P* h5 l% m
  1034. ;mail.force_extra_parameters =( y4 X. b, T! [; U/ i9 }" x
  1035. ( Q' x; M- N$ W9 S
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ( u/ [6 R5 F4 I8 i
  1037. mail.add_x_header = On2 K" X, }7 b7 c  M

  1038.   U! s6 X3 V$ z0 j. G
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    # M& k# O$ ^4 [, ^4 r' d
  1040. ; the full path of the script, line number, To address and headers.
    + Z$ M" ?7 a! ^  e5 z1 T2 d- z
  1041. ;mail.log =( ]' w" ?! p8 Q. E5 p% f" c# w; j4 j" C
  1042. ; Log mail to syslog (Event Log on Windows).: H' H' G% p; y. G+ `
  1043. ;mail.log = syslog
    1 a0 q9 f$ m/ Z! Y/ P
  1044. 2 W% c- m* Y5 L% `$ A. _
  1045. [SQL], _, T7 K  |! F! H
  1046. ; http://php.net/sql.safe-mode, z% Q* z  z1 ]6 q
  1047. sql.safe_mode = Off
    ' B' q* A" Z/ |- T: {  F) d! T/ h
  1048. 0 s- L. y. W, Z# }8 F
  1049. [ODBC]
    5 ?6 e: U  q$ f
  1050. ; http://php.net/odbc.default-db
    % Q" c1 l: K$ L4 p
  1051. ;odbc.default_db    =  Not yet implemented
    ( H( q0 B/ n2 ^$ I
  1052.   w, X; L6 Q% c
  1053. ; http://php.net/odbc.default-user8 k+ [3 l4 |' \- Z4 g
  1054. ;odbc.default_user  =  Not yet implemented
    ! m* `1 r/ V5 N3 c$ ]& n9 _( W1 |

  1055. & f# p; Z& M3 F3 W
  1056. ; http://php.net/odbc.default-pw
    ' w+ T" \' t# R: l- D( }
  1057. ;odbc.default_pw    =  Not yet implemented
    ' ?& r' K3 @+ G2 \$ b% e

  1058. ; ~6 Q, L  w- F6 G' H
  1059. ; Controls the ODBC cursor model.
    % R( W" m) y- A/ R- y5 ?
  1060. ; Default: SQL_CURSOR_STATIC (default).
    , I" K  L- d# G8 }& @* D+ L0 V( x: a$ ]6 x
  1061. ;odbc.default_cursortype# k, K3 w' c" m* W4 C1 s: d; j
  1062.   D: k& ^& b# g5 h& [: K
  1063. ; Allow or prevent persistent links.
    6 {4 x1 J- O8 O) G3 s+ ?0 `; x
  1064. ; http://php.net/odbc.allow-persistent, V( j$ e# I( z2 A) c, ]/ R
  1065. odbc.allow_persistent = On, @3 x* G9 |+ j6 C* e: N
  1066. ! @4 V1 `3 C  k, N- W1 T) K$ ~
  1067. ; Check that a connection is still valid before reuse.
    + d* }+ q/ V( D4 W9 \7 u1 p7 @9 Y
  1068. ; http://php.net/odbc.check-persistent
    2 W2 m& G' Z4 B# B
  1069. odbc.check_persistent = On3 k* {3 ]# y! n
  1070.   X: _$ `5 g" p
  1071. ; Maximum number of persistent links.  -1 means no limit.
    , a6 h$ Z( H1 ]/ x) v& M0 t
  1072. ; http://php.net/odbc.max-persistent+ z+ ]7 W; J) b
  1073. odbc.max_persistent = -1
    / o% j- u# P) W& \. N" C7 \

  1074. * h- H) g7 e( S( F
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 \! I. E# g! U  L) s& a7 v$ {
  1076. ; http://php.net/odbc.max-links& o* z0 R$ y! C, s+ Q
  1077. odbc.max_links = -1
    ; `6 j' c4 q- n) L0 F  @
  1078. 5 d! z/ P# m' K5 {
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means( J7 ^3 y3 L8 O
  1080. ; passthru.8 G# h3 v/ `' d0 q; W
  1081. ; http://php.net/odbc.defaultlrl
    # K# V6 U$ u% u3 \/ \6 |) S- l
  1082. odbc.defaultlrl = 4096
    ' @: Y: p/ o; Z& H

  1083. 1 [' b. ]0 ?7 I2 F: E/ u* D
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    2 F+ m5 P1 X) Y% J& |" s8 G
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation: U, s; L( p7 H: U+ z2 j# u# j
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode3 J7 W+ e6 }" [1 v) f
  1087. ; http://php.net/odbc.defaultbinmode  W1 P! V" j' {- U! B2 p
  1088. odbc.defaultbinmode = 10 i( d0 X2 J* n* T% k
  1089. ( U* M& l. k; v8 M6 T8 t: W/ o
  1090. ;birdstep.max_links = -1
    " {: ^$ `$ T7 B6 [% i/ \% G: J( [
  1091. % z. O3 \0 Y* A2 h8 Q- N
  1092. [Interbase]' u4 A1 N2 t* a0 v3 h  W  y7 x, W
  1093. ; Allow or prevent persistent links.
    2 j2 `0 {( |+ e" R; p' N" \
  1094. ibase.allow_persistent = 1% x. X9 U0 ]" A0 V

  1095. - b6 I' o- @! a' D5 }  ~& k: Z' F# H
  1096. ; Maximum number of persistent links.  -1 means no limit.
    . u4 b2 O( R. Q! T* _  `) V9 g
  1097. ibase.max_persistent = -1
    : k; y4 f/ f) Y) u0 B0 S) l0 f
  1098. / Q# d( m3 X- D1 k9 Z( p2 d/ G
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * n( F% x7 k& L# j
  1100. ibase.max_links = -1
    2 |/ j3 l3 m& A$ i& N
  1101. 4 M  c6 t% `2 Q
  1102. ; Default database name for ibase_connect().8 Y/ E7 j. R+ l# y
  1103. ;ibase.default_db =
    $ U; S0 u; f" R% }/ X% [4 N9 c

  1104. 0 {6 ^. G/ a, ]! s" S+ s
  1105. ; Default username for ibase_connect().) W$ ^" e* b# P  E
  1106. ;ibase.default_user =+ M! X  }9 h: R8 G7 \
  1107. . y, _4 ]5 L3 d# g. M4 w) b. A
  1108. ; Default password for ibase_connect().9 c: L: f( J# i' [+ J0 N* F& @) {
  1109. ;ibase.default_password =
    & Z+ b6 m/ V4 ]8 p  t/ E- f5 F
  1110. : f6 }$ ?! l- K+ N; w7 V4 m4 _" r
  1111. ; Default charset for ibase_connect().
    ' u8 Y' j& k4 G2 e+ R, W. \
  1112. ;ibase.default_charset =
    ( T$ t; x+ W5 ~) c: i6 s

  1113.   V% a6 f9 F/ a" t- s
  1114. ; Default timestamp format.1 |8 ~8 H1 i9 D1 h; u' a
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ( a  D, V1 V( i3 h; p1 c# Z$ Y
  1116. 2 h# a8 H/ O- j5 N# A
  1117. ; Default date format.* f& O9 G+ }9 k6 V% r2 r5 C
  1118. ibase.dateformat = "%Y-%m-%d"2 F3 _) q. O' s6 i6 K
  1119. 6 Z5 N) s! a8 Q9 ]
  1120. ; Default time format.
      ~8 l; S5 M4 z9 u- Z
  1121. ibase.timeformat = "%H:%M:%S"
    % y: o4 a/ \: w2 Y
  1122. 0 X. o; s- H6 I% B2 D
  1123. [MySQLi]
      |& A7 u! P2 V

  1124. ' }% I/ u" V! K5 i# H
  1125. ; Maximum number of persistent links.  -1 means no limit.! k- a" U6 |2 g: E
  1126. ; http://php.net/mysqli.max-persistent9 h! y8 P4 K' \
  1127. mysqli.max_persistent = -11 {0 `/ v, @, p/ \

  1128. 6 {2 w( u/ C/ ]8 p% o* C
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements8 f# Q8 q$ c* P$ {& Z. I
  1130. ; http://php.net/mysqli.allow_local_infile/ r0 r( Q$ z3 C# O% M3 n- E
  1131. ;mysqli.allow_local_infile = On; R) e7 y" ~. @
  1132. ) q0 w+ A* c/ J/ k' i% p
  1133. ; Allow or prevent persistent links.$ h2 k7 {. u  p$ V; o, F' Z
  1134. ; http://php.net/mysqli.allow-persistent
    ' j  i1 P& o- e  ~5 r: {' G
  1135. mysqli.allow_persistent = On
    : T* I* t/ p- ~$ E/ R; p8 P6 U
  1136. $ Y3 A, {- j, T2 |' H5 T
  1137. ; Maximum number of links.  -1 means no limit.
    ) q9 Q  p% d  b* Y+ S, y
  1138. ; http://php.net/mysqli.max-links4 ?9 z0 Z/ ~  k# [& }# J
  1139. mysqli.max_links = -1
    % N2 O  A. U) n: W" z3 Z0 `
  1140. 6 N2 w( d1 z5 O, I: C$ D3 s
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ g. v0 A* W4 f& U
  1142. ; http://php.net/mysqli.cache_size2 T- P, q8 V- D4 V4 F+ @
  1143. mysqli.cache_size = 2000( H, i6 O- W, P+ y
  1144. " [3 I  G1 b% R4 q! ^- R5 e
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    7 n& k5 i$ u; A' \  b
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    . F  D. t4 F: \- z  E, i: E
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    , P- E8 T- d! Q- P! S- ]6 c+ p
  1148. ; at MYSQL_PORT.
    / _' _# \5 z8 e8 h: x3 j
  1149. ; http://php.net/mysqli.default-port. j; \# L8 @1 S( c3 p
  1150. mysqli.default_port = 33066 P# B3 K$ I7 B- u4 J* P1 O0 n
  1151. ! a! ?2 V$ ~' L" y
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 F0 G1 e) B; T3 M) `2 w
  1153. ; MySQL defaults.6 T  c! q& O$ o0 E
  1154. ; http://php.net/mysqli.default-socket
    : `: c6 S0 c( V
  1155. mysqli.default_socket =6 n- r1 w! b! L

  1156. 2 a1 b; I8 H! l/ \5 }5 v6 i
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).2 N4 \5 \( h" H
  1158. ; http://php.net/mysqli.default-host. L4 a1 {$ {5 E9 k; q2 F
  1159. mysqli.default_host =
    " U* R' e5 d5 A2 \+ a0 H
  1160. - m) \7 p/ o( b
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode)., v+ f  m, @2 \* ]0 ^' Q5 K
  1162. ; http://php.net/mysqli.default-user
    . @' S  |0 ^$ _9 Q. H- ]) `6 _9 r& ^
  1163. mysqli.default_user =" n  i0 Y5 X9 i2 V, B- u+ @+ e

  1164. 5 \' K' [3 _% K4 {2 I
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    3 J) H1 @0 k; R3 Y0 Q- \, X
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    & v% _: x; S9 |6 `
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")5 }: p3 X/ n- H# h8 a" \2 u5 r1 B
  1168. ; and reveal this password!  And of course, any users with read access to this
    , O! D$ s" Q) s& h
  1169. ; file will be able to reveal the password as well.' k) h7 I  }. _7 }4 R6 g; I
  1170. ; http://php.net/mysqli.default-pw
    . ?+ Q2 Q( m" \
  1171. mysqli.default_pw =4 I/ u, m) D# R1 b- t1 l# I

  1172. ) |- v, R5 @% H3 ?8 v) E
  1173. ; Allow or prevent reconnect
    9 s3 H# P1 ^2 o% T4 K0 Y+ |) V
  1174. mysqli.reconnect = Off% U# b, [7 Z$ E8 d) u

  1175. ) H+ e( g5 D8 r& s+ n
  1176. [mysqlnd]
    ' Q' A1 b( N; y+ S2 b" b
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    1 Q) C6 q8 I2 m# I+ g9 R$ r6 P* a! A
  1178. ; used to tune and monitor MySQL operations.! a1 V; ~- ]7 w  I- G: W8 o
  1179. ; http://php.net/mysqlnd.collect_statistics5 L: `% S  q- @) P
  1180. mysqlnd.collect_statistics = On
    # e1 M' ^- z6 k9 i

  1181. " h) u, v: t" ~. f/ S2 x
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be, v. T# F$ ~& E# u: p' p5 ]2 p
  1183. ; used to tune and monitor MySQL operations.. E" S  T7 I+ ^( H# `  m! w% ^
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    - t5 x/ O' W& a) Y1 Y
  1185. mysqlnd.collect_memory_statistics = Off
    7 B7 q# w  V2 V1 x( E% N  R* Y$ `
  1186. , y# \% k( k' F2 _0 P
  1187. ; Records communication from all extensions using mysqlnd to the specified log
      L! z8 [* f( c4 N  B
  1188. ; file.6 p8 V1 l) I$ k8 n0 L
  1189. ; http://php.net/mysqlnd.debug1 I+ |( D" \% V5 h  y, e
  1190. ;mysqlnd.debug =
    5 h$ V: f5 O* n) O

  1191. 8 t" [; ~* k7 m6 n
  1192. ; Defines which queries will be logged.
    6 W' b3 F: M0 T2 T1 U- [) a
  1193. ; http://php.net/mysqlnd.log_mask
    4 D+ e5 G' N% @" s1 Z
  1194. ;mysqlnd.log_mask = 0
    ; B( f$ g! k! E0 o& i8 `/ Z/ O
  1195. " ^9 N& ^; H5 A
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    $ `+ K+ H0 l3 y1 x4 c
  1197. ; http://php.net/mysqlnd.mempool_default_size; S  e1 r) D1 p( {  M: ?" r; q
  1198. ;mysqlnd.mempool_default_size = 16000
    0 t6 j/ v8 B! a7 |) O1 u0 t
  1199. ) g" S. ~7 y( @# v! o$ [( o
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.0 V. ~  A$ z4 u" x- [
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size$ S7 Y4 E- G: }2 n) z
  1202. ;mysqlnd.net_cmd_buffer_size = 20488 B8 g. v& \3 ~% z3 z

  1203. ! W5 C% V. P- B/ d  `% V
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    5 y  k6 q; j( {6 r* q: F
  1205. ; bytes.
    2 i' X/ e9 \- r2 {9 ^( |
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    / m$ F/ }. J  r$ G2 q/ H4 z
  1207. ;mysqlnd.net_read_buffer_size = 327684 x8 @, O0 t3 ~- ~
  1208. - h! }6 }$ H% @2 m* W; ~2 r
  1209. ; Timeout for network requests in seconds.
    : J" g- D' J5 {0 F
  1210. ; http://php.net/mysqlnd.net_read_timeout# L2 s8 j6 f6 F. H; S; D
  1211. ;mysqlnd.net_read_timeout = 31536000
    8 a$ ]$ O9 L, f- C

  1212. " i$ {$ [2 M; p$ R6 W
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    4 y4 Y5 C5 q5 a/ U* g
  1214. ; key.
    , n5 l8 M% k1 Y8 b
  1215. ; http://php.net/mysqlnd.sha256_server_public_key* I5 J2 Y  O( P; q' H6 y* S
  1216. ;mysqlnd.sha256_server_public_key =& A* `& ]' [) c) x& }- o9 Z

  1217. + R4 p& s8 r+ n( a9 Q! `4 F
  1218. [OCI8]4 J, P: j+ U$ }2 z/ s

  1219. # z2 q/ }( a& v
  1220. ; Connection: Enables privileged connections using external2 L6 M3 w1 S8 l1 o+ k( v+ S
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)+ g8 m  Y' Y, T
  1222. ; http://php.net/oci8.privileged-connect2 h2 [& l$ R: r2 ^. M+ G' j
  1223. ;oci8.privileged_connect = Off
    * V% N9 S: s  @
  1224. ; t- r0 b; p. K6 p/ x
  1225. ; Connection: The maximum number of persistent OCI8 connections per, l/ ^# Z' w( E
  1226. ; process. Using -1 means no limit.
    & H/ D) o' y, q
  1227. ; http://php.net/oci8.max-persistent( Y4 {/ @  f0 l9 |( s& `7 b# b
  1228. ;oci8.max_persistent = -1( w% R/ W$ L) y6 ?8 Y

  1229. ( _5 l! g  l( l5 n# F3 a; n
  1230. ; Connection: The maximum number of seconds a process is allowed to
    / s  v( ^6 {" H& W
  1231. ; maintain an idle persistent connection. Using -1 means idle
    2 c3 t8 T1 d0 c
  1232. ; persistent connections will be maintained forever.
    7 h! Y3 d" a! D  o6 J, [5 D
  1233. ; http://php.net/oci8.persistent-timeout
    ' p/ M+ A& o  W! [6 Y9 d3 z
  1234. ;oci8.persistent_timeout = -1
    ' C$ Y0 Z6 D: |

  1235. $ ~" _. @. {, D5 a& D
  1236. ; Connection: The number of seconds that must pass before issuing a
    - b- `# y3 U9 c. n" C0 c* p* t
  1237. ; ping during oci_pconnect() to check the connection validity. When
    4 s9 I$ q- _0 V* D% z
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables, G! e+ g# G" {1 H- g) V
  1239. ; pings completely.
    1 q+ V: ^4 Q/ V: s
  1240. ; http://php.net/oci8.ping-interval' M9 [4 I3 n+ m2 y; {
  1241. ;oci8.ping_interval = 60
    , j' @6 I4 C; W, v: ?+ Y' ^' P

  1242. - g" q- Y, n" [0 W7 Z6 J! {% `1 S
  1243. ; Connection: Set this to a user chosen connection class to be used* R5 O& r+ ^4 [6 l% k
  1244. ; for all pooled server requests with Oracle 11g Database Resident+ H) J1 q2 V) T2 H) p. L
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to( z  @  \0 k: X' I3 D
  1246. ; the same string for all web servers running the same application,
    % t* j0 \2 a  b# {6 ?
  1247. ; the database pool must be configured, and the connection string must
    " a9 d1 y3 l4 B9 d9 b4 L2 _/ E
  1248. ; specify to use a pooled server.
    ) N) I; K( s/ K: f* o! U4 [
  1249. ;oci8.connection_class =5 _9 ^4 Q2 R2 Z
  1250. ' u7 }  o1 a% J. S9 A5 g" c
  1251. ; High Availability: Using On lets PHP receive Fast Application9 c6 Z0 Y9 K/ x* Q) O6 Z8 ]9 n- y* O
  1252. ; Notification (FAN) events generated when a database node fails. The
    - v5 Y  S! S/ _' N/ g: W
  1253. ; database must also be configured to post FAN events.$ S7 H! q4 B/ ]& y0 c  M
  1254. ;oci8.events = Off. e" L9 v" A$ s( l0 b% Z  r/ a, F
  1255. 2 K# I% ~8 |! C2 R
  1256. ; Tuning: This option enables statement caching, and specifies how5 p5 \: l; \6 j# a+ e/ k  d- ^5 O
  1257. ; many statements to cache. Using 0 disables statement caching.
    ( p% d' F3 r6 k  I: {$ ], k; P* B
  1258. ; http://php.net/oci8.statement-cache-size. S1 e$ ~& c7 I4 s- |" B7 }* ]
  1259. ;oci8.statement_cache_size = 20) G4 }6 U* }: g8 q' L
  1260. ; [  @8 {* s. O2 }
  1261. ; Tuning: Enables statement prefetching and sets the default number of' F( }1 c0 n* N# @: u
  1262. ; rows that will be fetched automatically after statement execution.
    ' D% O/ O$ Q' d- q( L
  1263. ; http://php.net/oci8.default-prefetch' d( H9 t. [7 b- ]2 H/ R$ j5 a
  1264. ;oci8.default_prefetch = 100
    , N+ Q6 o9 k. a. M6 O' \. n* {
  1265. + B* F# N7 M/ q5 w# i8 y9 H' Z
  1266. ; Compatibility. Using On means oci_close() will not close# h) L8 {! z) x/ l; L  `% w
  1267. ; oci_connect() and oci_new_connect() connections.! y3 f+ t+ b8 v, P; w. l$ |5 n
  1268. ; http://php.net/oci8.old-oci-close-semantics- ]4 `- j+ [% B( x9 k, c4 ?
  1269. ;oci8.old_oci_close_semantics = Off
    / l7 F3 C2 ^1 n' i0 @+ Y+ u0 Q

  1270. ' K8 B; M. h, k( K# G" v
  1271. [PostgreSQL]6 \0 p: C3 V4 y, v
  1272. ; Allow or prevent persistent links.8 m! I6 ~: d  P9 t5 i
  1273. ; http://php.net/pgsql.allow-persistent
    ( ?3 s: r$ y5 n. @0 X% d
  1274. pgsql.allow_persistent = On
    1 E0 U( l3 b1 B# u
  1275. 9 C: Q, ], R  P2 t" T+ g6 s
  1276. ; Detect broken persistent links always with pg_pconnect().2 v9 E: N4 m, I5 X
  1277. ; Auto reset feature requires a little overheads., J: y# t- Z  l( t( \  R% Q  R
  1278. ; http://php.net/pgsql.auto-reset-persistent
    # m0 r: }: W1 H9 J7 [! u+ O  \0 I
  1279. pgsql.auto_reset_persistent = Off
    : J& D, S; U' d" r7 a) v

  1280. 2 O( {: H' x$ V: ?& O) ~* Q
  1281. ; Maximum number of persistent links.  -1 means no limit.
    6 o4 \" R2 K/ M$ ]6 W7 L+ C
  1282. ; http://php.net/pgsql.max-persistent
    & ~3 T8 q1 O$ f3 d! H  K. q
  1283. pgsql.max_persistent = -15 y8 a+ ]. |8 `. _/ c5 p' e4 r

  1284. 5 Q% |6 l+ }0 l: {0 X- E
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.3 y! p' V: W. B) q$ Q; b8 e9 C0 Y0 n
  1286. ; http://php.net/pgsql.max-links
    5 X- Z/ @+ k9 v/ u4 m- d7 w- C7 T0 y
  1287. pgsql.max_links = -1
    & ?& D8 {4 n1 X2 Q2 y4 s* N7 S5 _
  1288. / R( x$ N+ K1 W, X1 w3 R2 T
  1289. ; Ignore PostgreSQL backends Notice message or not.
    7 [) G; H& m  _% p" f; x
  1290. ; Notice message logging require a little overheads.
      @( j. M( @- |6 v( _
  1291. ; http://php.net/pgsql.ignore-notice: M1 C) \4 k' _) H
  1292. pgsql.ignore_notice = 0
    6 n3 h, X7 {9 U; N

  1293. ! g/ K+ ^5 F$ }+ y' J6 O1 w
  1294. ; Log PostgreSQL backends Notice message or not.
    / k7 L- d8 ~2 M
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message." ~4 Z& ~7 K4 `: H, ?1 h
  1296. ; http://php.net/pgsql.log-notice
    1 `2 t4 c. a( H/ T& |0 {' `
  1297. pgsql.log_notice = 0
    6 R, p( N5 K+ g3 m, P
  1298. ' t( T4 |; Q7 c, ^& X
  1299. [bcmath]
    ) I2 ?* R& V" Q
  1300. ; Number of decimal digits for all bcmath functions.
    7 e1 ~) ^, o; t
  1301. ; http://php.net/bcmath.scale# Q+ c3 H( r2 x
  1302. bcmath.scale = 0* \4 a% a4 m. W' o1 H4 Z& j( u+ J

  1303. : N; N$ E6 c! a* L5 ^
  1304. [browscap]! J: u  C8 ?6 Q5 E
  1305. ; http://php.net/browscap5 V* }0 k, t0 R
  1306. ;browscap = extra/browscap.ini
    2 {5 V* m% L" u" f
  1307. ! V) P4 ^/ V' Y# P. p
  1308. [Session]# @; a! Y  \4 v/ i
  1309. ; Handler used to store/retrieve data.
    7 l% D' P- t6 O1 h& b* a
  1310. ; http://php.net/session.save-handler3 e# ]+ ]3 ^; _$ M3 _1 n  {1 h
  1311. session.save_handler = files
    , }( I1 p  H0 S! C
  1312. 6 W5 z2 b& V/ m8 q+ g" r, y* K- J
  1313. ; Argument passed to save_handler.  In the case of files, this is the path- Y  t# {% E4 P' b
  1314. ; where data files are stored. Note: Windows users have to change this' u1 n0 b) b4 k# p4 H0 Q$ x: a
  1315. ; variable in order to use PHP's session functions., f% |- W  T' c+ j- ?* L
  1316. ;$ [  s( a0 u# t
  1317. ; The path can be defined as:7 G% f0 D# Y. n$ f. q8 w
  1318. ;( D1 R: |4 [( h3 G4 b/ C) g+ E
  1319. ;     session.save_path = "N;/path"
    , V$ `2 `( L" c( f$ |
  1320. ;. T3 F* E& r  k/ R
  1321. ; where N is an integer.  Instead of storing all the session files in
    6 }! Y% `& {7 I% ~5 t
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    8 l  j+ _( F! Q! `
  1323. ; store the session data in those directories.  This is useful if3 C& a+ B% {; `$ r
  1324. ; your OS has problems with many files in one directory, and is
    & y4 _" |& J; g& ?/ o6 p) n5 H/ W
  1325. ; a more efficient layout for servers that handle many sessions.7 R8 V! a/ O. T! j+ _# _( o+ x2 f
  1326. ;! G& s, J) T- u
  1327. ; NOTE 1: PHP will not create this directory structure automatically.- D" d  L$ f/ Y9 B. ]
  1328. ;         You can use the script in the ext/session dir for that purpose.3 X/ s8 M! @7 S
  1329. ; NOTE 2: See the section on garbage collection below if you choose to, t4 q) @" A* x' P  T$ f: }' R
  1330. ;         use subdirectories for session storage
    # E/ V% ^! ^, i: i$ ]
  1331. ;
    7 |6 V3 R7 |& z
  1332. ; The file storage module creates files using mode 600 by default.; C0 i1 m% v1 }8 D' X# D" p, a( D- Z, e
  1333. ; You can change that by using: z5 X5 y. e- c$ P+ x% ]8 u
  1334. ;
    - }9 |( [3 J* G3 W# i& }" S2 f
  1335. ;     session.save_path = "N;MODE;/path"
    ( _9 k1 {, @1 S# l* A
  1336. ;. E! I+ \/ W: [: S4 q
  1337. ; where MODE is the octal representation of the mode. Note that this
    / s, x9 z' d: B
  1338. ; does not overwrite the process's umask.
    8 N/ }' ?" B+ \3 O8 l* J7 }
  1339. ; http://php.net/session.save-path2 Y( G9 B7 L  Q$ r
  1340. ;session.save_path = "/tmp"& a7 i$ B9 f# V0 l1 H! u  i% U
  1341. ) K- _7 ?/ E7 y) k+ g4 g* @
  1342. ; Whether to use strict session mode.& F2 ]6 f. i+ O2 P, u
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    " @* O4 e: }( f' u
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    , A* h2 _; J: x( K
  1345. ; applications from session fixation via session adoption vulnerability. It is) s5 q* R' a+ r3 @, M4 O
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.* f5 b+ `# ~6 Y0 T+ l# g4 x1 o
  1347. ; https://wiki.php.net/rfc/strict_sessions3 V- z  K8 J6 s; x) d' W. @$ r$ l
  1348. session.use_strict_mode = 0
    9 c" S  s: W) l" `. T

  1349. 2 I5 U7 q* l( O
  1350. ; Whether to use cookies.
    , ?5 i: O2 k) U8 y# s0 I
  1351. ; http://php.net/session.use-cookies
    & z& i8 [, c: n
  1352. session.use_cookies = 1
    1 N- b4 p( ?4 r! k; h) f

  1353. : f/ i5 H0 L3 O( P$ M
  1354. ; http://php.net/session.cookie-secure
    ! V" k, ]: H6 p6 T
  1355. ;session.cookie_secure =
    2 b' _# t& i# G0 t

  1356. 1 r8 |; [1 @7 A6 D  o- |2 E  T; I  u
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    , V1 E8 j3 b2 _+ b* H$ S! E
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    ; b8 w3 W  I- _; ]1 c1 }
  1359. ; session hijacking when not specifying and managing your own session id. It is% \9 w* R/ w  h9 T4 x+ O' B) `
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.4 D5 @: e$ m1 d
  1361. ; http://php.net/session.use-only-cookies
    ! \! N! I6 }4 D% f) X: ~% l0 r
  1362. session.use_only_cookies = 1
    6 p% g' m: p" o3 r; ?( ~4 c! e

  1363. 1 y, t* K0 X2 Z+ R( r0 {
  1364. ; Name of the session (used as cookie name).
    " y( g1 |) n, e$ v% S# |
  1365. ; http://php.net/session.name4 p; Y$ V: E4 H3 E9 t0 s! b
  1366. session.name = PHPSESSID
    / S1 K7 F* r# G4 S
  1367. 9 K2 @8 h+ f1 N3 \2 x& w
  1368. ; Initialize session on request startup.
    9 d+ z* `: F" {( N1 t
  1369. ; http://php.net/session.auto-start
    7 V! m+ F' |5 Y5 g7 }* \) L
  1370. session.auto_start = 0
    / ]! V# F& [- `+ S

  1371. . ^# X- r( o8 `* {7 A
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.7 }- \. k- n$ c( j8 G
  1373. ; http://php.net/session.cookie-lifetime- j1 P+ `; Q) u1 s  Q% H. `9 C7 W
  1374. session.cookie_lifetime = 0
    3 x6 c7 B3 c+ r# ]

  1375. 6 ]+ |7 m9 w2 j2 r
  1376. ; The path for which the cookie is valid.
    " ?1 G  h0 F8 y$ |: j
  1377. ; http://php.net/session.cookie-path
    5 F! i1 J, l$ P! I& O; h8 ~& q3 \
  1378. session.cookie_path = /
    # |/ i: I" `( [" K' n
  1379. 4 }0 U! W1 |! R
  1380. ; The domain for which the cookie is valid.
    4 U5 m, P8 o% O
  1381. ; http://php.net/session.cookie-domain
    ( J1 [" R/ H1 l1 n  d/ }, h7 h
  1382. session.cookie_domain =* u" i0 [6 v/ H9 Z# O; J

  1383. 6 ?- {  v0 j( \1 D9 o7 J8 {; _
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.( i" u& @# @4 D) b) ?
  1385. ; http://php.net/session.cookie-httponly
    . ~6 k9 _# W4 f7 T  |
  1386. session.cookie_httponly =
    ! C2 |5 w/ ^$ w8 v8 |6 m

  1387. ; X- o" g3 g* r% b0 I* F! y7 l5 y
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.. H/ F3 l2 Q* |9 O: c
  1389. ; http://php.net/session.serialize-handler
    5 K; M# G' _' h7 Q/ o
  1390. session.serialize_handler = php* U" N' ~$ ^- ^  Q, f. b

  1391. 1 u6 C9 k+ r, z% y$ n
  1392. ; Defines the probability that the 'garbage collection' process is started+ I% j1 Q! {7 x5 d  W1 ?, [, l
  1393. ; on every session initialization. The probability is calculated by using0 c5 C' ]5 G1 H$ f
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    / r- M9 p: i2 j" y
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    # W4 @. A9 ^1 \9 ^
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance; G* _7 n/ q6 {2 @& y
  1397. ; the gc will run on any give request.
    * n8 T# S5 N% I" S
  1398. ; Default Value: 17 Z% B# L0 {: w
  1399. ; Development Value: 1
    + D, C* e% A0 z7 o1 T- g5 o4 n
  1400. ; Production Value: 1
    * P8 t& f- l" Y. I8 S4 f
  1401. ; http://php.net/session.gc-probability: u( T- K) I4 ]8 z6 S+ D. u0 e  W
  1402. session.gc_probability = 1
    3 k2 X+ _- N! w/ h+ x& @

  1403. + ^, O6 n# r5 W3 S3 m
  1404. ; Defines the probability that the 'garbage collection' process is started on every( {* ?0 j! P. p5 b: `2 e' s
  1405. ; session initialization. The probability is calculated by using the following equation:# I% c/ [- {* j! m: x
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and" z# e8 z) U9 a( g( `. v7 w: N6 x6 ?
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ) h$ u3 m* S" \
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance/ k7 m* B5 w+ |+ O8 C4 r7 ~5 @
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 r( f/ \+ s2 O( [4 [9 J
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,9 e  g7 N) P6 o# n( L, J
  1411. ; this is a more efficient approach.
    , e: L/ i, b* t- X  q( r( f# y
  1412. ; Default Value: 100
    4 q* Y, v1 O, @# P5 c1 y7 }
  1413. ; Development Value: 1000/ M9 c1 M' K! M0 ]- {& r
  1414. ; Production Value: 1000
    ' @& F6 a; r4 w* V, n
  1415. ; http://php.net/session.gc-divisor
    1 j# B% C/ p  j5 Z. @; M
  1416. session.gc_divisor = 1000' z6 X1 H0 H) ~

  1417. % Y( x, p) G! D2 h" B
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    0 ^0 d! k# e. n6 [
  1419. ; cleaned up by the garbage collection process.
    ) ~) u% l- X6 b9 ~/ ]  |& P9 P% l
  1420. ; http://php.net/session.gc-maxlifetime
    9 l6 V# P; U2 w9 x
  1421. session.gc_maxlifetime = 1440# g; ^# Y) {% t0 o; ]5 E& ~8 I
  1422. 1 j% L" T* N4 X. \7 F
  1423. ; NOTE: If you are using the subdirectory option for storing session files9 J) w& H: f( M
  1424. ;       (see session.save_path above), then garbage collection does *not*4 m: d* ?8 y! U( f7 W, ^6 Y: z! w0 F
  1425. ;       happen automatically.  You will need to do your own garbage
    4 R9 Y& F/ z6 F. X. t- W( Y8 y, ?$ \
  1426. ;       collection through a shell script, cron entry, or some other method.
    ; R% D# V& @7 I- H6 F' [/ a2 U* n
  1427. ;       For example, the following script would is the equivalent of0 w+ x% _. Q, D  l8 S
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    # E6 H) @+ n' D  ^& d: Z/ e" f
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm! b- ?8 u+ ?% E# z& P, _: \

  1430. & O% L' B  N. W( Y% O9 T; I5 C; p- B
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
      ?" w% t3 g$ s, J. p/ m
  1432. ; HTTP_REFERER has to contain this substring for the session to be8 ~2 Y5 B% B+ L8 Z4 _( o5 R
  1433. ; considered as valid.* d* q, x4 z2 o
  1434. ; http://php.net/session.referer-check
    ' b( n+ H3 B3 |
  1435. session.referer_check =* k" I- q9 Y9 Q- U& Q+ f8 G9 T
  1436. ! }- ]5 r& c" V* U
  1437. ; How many bytes to read from the file.
    5 d& ?: c6 K2 \' Q% \3 s  \
  1438. ; http://php.net/session.entropy-length
    $ M' c. i- j" [( f
  1439. ;session.entropy_length = 32
    0 ?; E4 \$ B' N, b
  1440. # F) E( E, g9 t
  1441. ; Specified here to create the session id.
    4 O& u* y+ p+ T2 X- j  T
  1442. ; http://php.net/session.entropy-file  |' [2 Y$ q- Q% F" T; F* \
  1443. ; Defaults to /dev/urandom
    8 V3 F1 J! ^* i: }7 e' b0 j  A( T  L
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom+ a$ I0 d$ u7 m# I: r5 m& d
  1445. ; If neither are found at compile time, the default is no entropy file.2 p6 z8 k- ~: n" S# \9 a
  1446. ; On windows, setting the entropy_length setting will activate the7 G+ k" I+ M" {$ e7 ^) Q$ \# Y
  1447. ; Windows random source (using the CryptoAPI)
    9 L# L% A/ Y- {5 ]7 [; M5 `
  1448. ;session.entropy_file = /dev/urandom/ R( g: Y+ D6 g7 L
  1449. # |0 \9 G  D0 d* I2 V
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ( T6 k- t8 H2 l- ~, d, ~0 u8 A& v
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ) o0 M: M  i( ~4 e/ y- C, ~% [
  1452. ; http://php.net/session.cache-limiter% v6 H3 z* N% E, C
  1453. session.cache_limiter = nocache; ~: T0 ~  `) \: ?0 f8 y- E
  1454. 7 F3 Y( j3 V( m* p5 r
  1455. ; Document expires after n minutes.
    0 D8 i2 n5 x% s' M
  1456. ; http://php.net/session.cache-expire
    + f/ C6 a9 z; i8 z4 _5 A, h- g7 y
  1457. session.cache_expire = 1801 |% M7 E& O4 J- h/ a' i# h

  1458. ' q- y1 F1 F4 O9 ]2 J* t) U" v
  1459. ; trans sid support is disabled by default.
    ) d" X; ~. }& M# U3 M' W5 m
  1460. ; Use of trans sid may risk your users' security.
    8 Z& f* r' X* B- h
  1461. ; Use this option with caution.
      i3 V: P. z1 [% _
  1462. ; - User may send URL contains active session ID
    0 k+ @3 M7 m; b' o* ^4 D: _
  1463. ;   to other person via. email/irc/etc.2 S- @& |- S* X8 m, f5 e. ], B2 ^0 i
  1464. ; - URL that contains active session ID may be stored2 |2 {1 ^9 p2 }1 |
  1465. ;   in publicly accessible computer.
    / I0 @" s; d- z
  1466. ; - User may access your site with the same session ID( |& b) n1 p2 p: N$ M4 e
  1467. ;   always using URL stored in browser's history or bookmarks.& m8 Z  s7 t1 L) w
  1468. ; http://php.net/session.use-trans-sid$ w! W; p7 c0 ^& h! g- J
  1469. session.use_trans_sid = 0
    ! M6 h0 N, H/ f- S/ N$ t9 }

  1470. 5 P' F' S  v( H- j
  1471. ; Select a hash function for use in generating session ids.
    / Z# w, W1 e0 R5 G# U, W8 a# M
  1472. ; Possible Values
      \. z# o: ?, O, v' I! N' q- R
  1473. ;   0  (MD5 128 bits)
    . f$ T: i  W  [' F( V& m* F; j
  1474. ;   1  (SHA-1 160 bits)! ~% ]4 X2 F8 X1 j; v
  1475. ; This option may also be set to the name of any hash function supported by8 P7 A2 B" l8 ]2 q8 f" K  m& ?
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()8 x+ u" N9 H- x  L3 N# @
  1477. ; function.
    - J2 {* Q0 M) v8 S, e- E1 j& N1 v
  1478. ; http://php.net/session.hash-function
    3 _8 ?8 L8 K! }) G( v/ d
  1479. session.hash_function = 07 f1 J0 ^2 a9 f" H" t5 \# N

  1480. 8 b  H; t- {0 H5 U- M$ ^" [
  1481. ; Define how many bits are stored in each character when converting' y; U5 m; U. H4 Z( f
  1482. ; the binary hash data to something readable.
    $ G7 Y) B. i; w7 ^; B( \. P4 @$ s0 j; W
  1483. ; Possible values:; [/ [+ H- }1 B! F2 R/ a2 k
  1484. ;   4  (4 bits: 0-9, a-f)
    . r  F" N1 N. D4 E1 f
  1485. ;   5  (5 bits: 0-9, a-v). d1 m3 B( y* s" Q# ^
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")- Y: e" C& Q6 b' N( T  ?% o( M5 _
  1487. ; Default Value: 4% a/ r, f/ k' t, E
  1488. ; Development Value: 56 N3 l- T8 a2 O- r$ E) |) t
  1489. ; Production Value: 5" @3 w8 e% V; b" v9 j
  1490. ; http://php.net/session.hash-bits-per-character. c' [" M0 B/ i
  1491. session.hash_bits_per_character = 51 L6 O$ Q( r& j+ c

  1492. 6 ?: X) K  k7 j! f2 m  `! e
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    2 l; |, z0 v9 \/ s( o
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    9 t  ]7 x) ~7 ]* R; c# H$ S
  1495. ; add a hidden <input> field with the info which is otherwise appended7 P5 s6 P, r) L* ], [4 g  e# w. ~
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ' {, W" O, `/ B5 S+ }' A+ M$ D6 j
  1497. ; Note that all valid entries require a "=", even if no value follows.9 [& W, x! q! |3 \. P9 t& h
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    1 j" k$ h1 k5 P- Q7 V& C0 l- T
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : I( |( {, }* v3 T9 n# ~
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # s3 j9 W! v5 M; g6 d! r5 I
  1501. ; http://php.net/url-rewriter.tags
    3 L+ l& Z" M) T7 o
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"- Q8 T9 j3 F* J( {. `; U# y' J
  1503. / ?( Q& J$ J% x0 j4 n# ^
  1504. ; Enable upload progress tracking in $_SESSION, `6 [6 |, I7 I* P% }0 i
  1505. ; Default Value: On
    5 a* h0 r: G  ~9 {; F. o) `
  1506. ; Development Value: On# f8 ?, D: y3 t5 H$ `8 A( F% k% A
  1507. ; Production Value: On: |( G& {8 X; z% V7 ]
  1508. ; http://php.net/session.upload-progress.enabled6 c* m/ T) P* d8 T9 N
  1509. ;session.upload_progress.enabled = On
    . {/ H7 m: d1 {& V( p
  1510. $ L7 n: Z, w" Z2 p8 N  @
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ' s- c3 Y1 H$ A! {
  1512. ; (i.e. upload completed).( N+ a6 r! n; s5 Y+ ]/ }1 R
  1513. ; Default Value: On& m* X0 O& \6 `# L1 J+ F9 ^) P" Y
  1514. ; Development Value: On
    # j+ W% Q% F3 c3 M7 s3 V4 f# @. g
  1515. ; Production Value: On
    ) Z6 q$ m+ S8 y+ m( f' [3 Q# x
  1516. ; http://php.net/session.upload-progress.cleanup$ C9 w/ Y: l) w# _0 u9 K/ X
  1517. ;session.upload_progress.cleanup = On
    # n/ |' s4 i! K" j$ u( U! F

  1518. + W; B, e# |- V
  1519. ; A prefix used for the upload progress key in $_SESSION' a1 N8 F; N  B' K+ ^- m
  1520. ; Default Value: "upload_progress_"+ e) D2 ~) Z9 z+ X
  1521. ; Development Value: "upload_progress_"$ B0 T7 K0 |2 H0 d- y2 }9 e6 J% g) p/ ]
  1522. ; Production Value: "upload_progress_": v* N' H) a% l; n9 Y( P
  1523. ; http://php.net/session.upload-progress.prefix
    " {2 y% `3 h# c0 w9 g5 @. _
  1524. ;session.upload_progress.prefix = "upload_progress_"- g7 R% G6 f6 u& v0 `% @
  1525. ) O+ m  n% G& k8 @+ e. p
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ) T: P; N1 f' b: Z8 z. o2 t
  1527. ; containing the upload progress information
    ! E$ |' x, {& P% p+ u! A# w" C
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; R2 R5 s8 b3 x" d8 A. s5 }7 A8 ~7 w
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"% n! C0 j( z. ~8 x! Q0 I
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ( J! x4 O( g( y5 |
  1531. ; http://php.net/session.upload-progress.name9 @/ `& ~" V$ d7 U" ~
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ; }3 l$ Y. Q8 y7 G
  1533. 1 a& x! |% |% o" \& l6 o1 ^. C
  1534. ; How frequently the upload progress should be updated.
    - ?: y9 C+ i2 X2 p# S* I: t1 a  E
  1535. ; Given either in percentages (per-file), or in bytes
    , W- s; `) x/ s
  1536. ; Default Value: "1%"1 ]7 ?+ e/ I% \# E* Q% K* E# D
  1537. ; Development Value: "1%"
    & @' Q$ Y" t; D
  1538. ; Production Value: "1%". l0 _! `, a$ p% ^. D2 {7 `5 _
  1539. ; http://php.net/session.upload-progress.freq% ]( U" R+ Z# h0 ^% S  C
  1540. ;session.upload_progress.freq =  "1%"* X" O  C2 Z8 m# y4 t8 w
  1541. 1 T. g3 O% B, t. l: P
  1542. ; The minimum delay between updates, in seconds
    , t4 z5 \* {0 t9 s- p
  1543. ; Default Value: 1
    3 n+ p9 U/ K6 J7 L5 j* ~  n
  1544. ; Development Value: 1( [; i  w2 |, R8 e( P
  1545. ; Production Value: 1* k/ s7 b: C# i/ _, C# u4 |
  1546. ; http://php.net/session.upload-progress.min-freq
    , r. I/ Z8 I, O/ E- W
  1547. ;session.upload_progress.min_freq = "1"
    3 M3 A  i( ]" A5 M% F" @

  1548. 6 D5 F5 M6 g8 N) n! `. g/ m3 u
  1549. ; Only write session data when session data is changed. Enabled by default.
    / a# V- w' g5 C  i; c/ N
  1550. ; http://php.net/session.lazy-write5 r6 |/ n7 k; ]$ c' @
  1551. ;session.lazy_write = On
    - G0 I$ Q% D5 ^+ Q+ f3 u9 V" g" U
  1552. 8 ]; p3 U/ o' l) p4 A, M
  1553. [Assertion]
    0 d5 c, {: d) u. Z7 _4 s
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ; I# e/ ~2 Q' j5 y# w1 Q
  1555. ; -1: Do not compile at all
      q& e! }/ o/ \( k0 V" n! \4 \
  1556. ;  0: Jump over assertion at run-time; n9 C. ]' M3 a
  1557. ;  1: Execute assertions
    * o( x3 i& G; ]
  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)2 h( J* S0 j5 t$ R
  1559. ; Default Value: 1
    # k* L9 \, M* d- V& B6 F+ q
  1560. ; Development Value: 13 d4 l1 ]7 y# Y& y2 q
  1561. ; Production Value: -1, X7 v5 u( U6 [# t" R4 `
  1562. ; http://php.net/zend.assertions
    % m4 U) ?0 O" c: y' T
  1563. zend.assertions = -1
    1 [! b2 R- D$ M5 c+ N

  1564. 5 d1 N3 ]7 K; k" m8 @
  1565. ; Assert(expr); active by default.
    ' T# C. A% a0 ]/ ]' _2 E& g3 ]
  1566. ; http://php.net/assert.active$ h4 d+ e( o4 l! D* Q! d
  1567. ;assert.active = On
    # L4 N0 ]/ ^2 b5 \/ t% {

  1568. + Y9 C) b, J* Z
  1569. ; Throw an AssertationException on failed assertions
    + |" H1 B0 b5 l$ x; [2 R: M2 t0 G. X
  1570. ; http://php.net/assert.exception4 [7 f- r) y9 G" w5 K* d, e
  1571. ;assert.exception = On; x4 [8 o9 J! w6 F
  1572. / C( s5 G1 N" I( p4 Y/ ]. g
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active): t: \2 V1 o" o, `1 [' J" k
  1574. ; http://php.net/assert.warning: z( h$ m/ M  c9 W
  1575. ;assert.warning = On
    2 n' o- Y1 r9 `

  1576. ( N! V& \5 ]4 r
  1577. ; Don't bail out by default.8 w4 M0 [: k3 i6 o' B
  1578. ; http://php.net/assert.bail
    ) b6 x6 i% H$ h, A
  1579. ;assert.bail = Off
    6 J$ m, R5 j& G# F3 z
  1580. ' d0 R% I" e# Y; r  Z" y4 ]* L
  1581. ; User-function to be called if an assertion fails.& k$ Z" Z8 g+ I$ d4 J: f
  1582. ; http://php.net/assert.callback
    8 {5 e" ^1 f/ o+ x
  1583. ;assert.callback = 0
    0 m( X5 e, w4 ]; X3 r1 W

  1584. , n- |9 A, P# K# G& `5 l6 V8 P
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ' S1 |5 i" r0 d* I& e9 O
  1586. ; error_reporting(0) around the eval().2 E& ~3 t# C. o$ I0 L, f
  1587. ; http://php.net/assert.quiet-eval
    , k: F* I) n. a0 U& I" I: n
  1588. ;assert.quiet_eval = 0. a" v! X% G9 w# f6 k$ }. g' @
  1589. . T5 [/ \/ K5 ^0 n+ P
  1590. [COM]2 X% I* W# t2 k
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    3 }4 Y. b( {8 F6 \$ ]% v5 ?
  1592. ; http://php.net/com.typelib-file: o' N0 l- j" H. }% `
  1593. ;com.typelib_file =
    ) N7 F. d+ J  G* i( m

  1594. 5 B2 x: G& Q2 s! z% E  \
  1595. ; allow Distributed-COM calls0 t3 k7 I9 e: `, x( _
  1596. ; http://php.net/com.allow-dcom
    4 C+ g% r( h9 v7 h. s6 B; }$ u
  1597. ;com.allow_dcom = true) B; |, X- z0 B' ~$ @4 }

  1598. - \8 `2 l4 D8 u
  1599. ; autoregister constants of a components typlib on com_load()
    " n* `& I0 Y  |2 U
  1600. ; http://php.net/com.autoregister-typelib& t9 r' r# S8 E. o4 x' ~
  1601. ;com.autoregister_typelib = true# T* a9 v. q! p

  1602. 5 v2 r; i0 [% n( I
  1603. ; register constants casesensitive
    ( \% C! v! m6 t4 [# e5 i
  1604. ; http://php.net/com.autoregister-casesensitive
    + r# J7 L8 {: Q/ m3 W
  1605. ;com.autoregister_casesensitive = false! r- Q6 a# }: k& }' |5 R

  1606. " \; N) \# S7 Q  d' m6 X
  1607. ; show warnings on duplicate constant registrations
    , }  Q& \4 C" M% v& Y- ~! W  ?9 m
  1608. ; http://php.net/com.autoregister-verbose
    ) L) u  b2 r  a* U* j0 ]. C
  1609. ;com.autoregister_verbose = true
    5 ^% |& G/ [/ D( x/ d; h- K
  1610. 5 q( x7 e1 i5 }! j* y  q
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    3 v! f* v; k( D3 ]! Z2 k1 H
  1612. ; Default: system ANSI code page- m' \9 J3 J5 D! @$ a: n3 B; Q) V
  1613. ;com.code_page=6 y/ R' c) n; ?. t# {/ }  e

  1614. ' O- L8 F5 O7 g: I+ B+ \
  1615. [mbstring]
    4 j3 k. y  F1 n2 {% o
  1616. ; language for internal character representation.
    9 i7 A3 y. H" g; ^! J# F- E
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    $ l& U3 F8 Y7 R/ [) ^( G9 m
  1618. ; http://php.net/mbstring.language  p/ T! W$ t# m5 b. E
  1619. ;mbstring.language = Japanese7 E" n, @* E* n; ^% J+ v8 G
  1620. + r" |4 y8 e9 o9 x- O
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.1 n1 ^. {, ^& ~: R" @
  1622. ; internal/script encoding.
    & H3 i& a- Z9 N5 `
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)8 t9 I( b  Q7 M7 j8 X
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.5 l5 O& R6 ]# }; n9 z" p& M
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding( `& a* Q% D6 h/ T& u+ @
  1626. ;mbstring.internal_encoding =/ Q, s0 D$ h; M- d
  1627. $ L' E/ k0 V7 N" U1 \" P) v
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    % x* q  k: L; X1 V
  1629. ; http input encoding.
    ! y/ J  q! Y9 h& `
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ' L& q* a# k1 x: h1 U- L! i
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    * {9 z2 D. F, @3 m3 p; e7 W
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input1 m3 {, c0 w1 J  g0 b0 R) T
  1633. ; http://php.net/mbstring.http-input
    * z5 F# `$ E0 z7 {
  1634. ;mbstring.http_input =
    8 J: C5 X8 Q5 V7 M' m5 `6 \
  1635. + g+ |( |! M# C) t
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.3 Q0 c5 B) \/ ]
  1637. ; http output encoding.# G) b2 k9 y# ~8 Z# X" ^1 U# M+ }
  1638. ; mb_output_handler must be registered as output buffer to function.# U5 H4 Y( s" j; }4 n" `% R
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    2 z9 G" b! n2 D
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    1 k8 z2 ^* t' h+ [
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ; m, w' K3 V: F' l0 Q9 b
  1642. ; otherwise output encoding conversion cannot be performed.
    : Q# m7 I: t% {/ V
  1643. ; http://php.net/mbstring.http-output
    : D, c8 N( O9 A
  1644. ;mbstring.http_output =
    ' F" k6 S5 \( g- `! L

  1645. 5 _. e. x; d. n$ O7 b* |! z0 a9 v
  1646. ; enable automatic encoding translation according to
    . a0 B$ f9 y* A5 t# D- N( W6 S" u
  1647. ; mbstring.internal_encoding setting. Input chars are
    - Q  k3 _+ ~: N) z$ J3 D5 X
  1648. ; converted to internal encoding by setting this to On.
    9 f3 C" \: ?: u
  1649. ; Note: Do _not_ use automatic encoding translation for4 o0 t& W) G1 ^& U8 v: Z  O$ [3 q& E
  1650. ;       portable libs/applications.* Y  |  D' {/ G7 F  ]
  1651. ; http://php.net/mbstring.encoding-translation
    ' ^4 N" Z- y/ L  d
  1652. ;mbstring.encoding_translation = Off
    ) A# ^3 F* E  c' Y# x! o
  1653. 9 e, e9 A- g5 }, ?$ H' h- r2 p
  1654. ; automatic encoding detection order.
    # E* o7 m/ j+ ~# z- H6 n3 F
  1655. ; "auto" detect order is changed according to mbstring.language
    1 B7 x# t3 B2 x
  1656. ; http://php.net/mbstring.detect-order
    % v( H0 W7 ~* ~; P
  1657. ;mbstring.detect_order = auto
    * ?, A2 i( {$ ]- u3 z* M+ z3 s0 Z5 }
  1658. " L4 W/ A! m. M1 E( d6 S
  1659. ; substitute_character used when character cannot be converted
    ! J- [$ p; I/ @, f1 Z# |- J
  1660. ; one from another( z- B/ j5 u9 l" q
  1661. ; http://php.net/mbstring.substitute-character  F& V, e' u8 E4 y) X8 q
  1662. ;mbstring.substitute_character = none
    ! W  q3 V5 h( G  Q
  1663. 3 C  \2 a  |  T! K; \2 l' \8 U
  1664. ; overload(replace) single byte functions by mbstring functions.2 P# j. s. _1 }2 A
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),8 D8 t7 S4 J7 W7 B2 J) \# D
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.( e8 |7 D  C2 R8 L0 {
  1667. ; For example, 7 for overload everything.
    & C  ?" G- {5 }" h* U" c' \1 T5 C; l
  1668. ; 0: No overload! c3 j4 v7 f  F, `
  1669. ; 1: Overload mail() function
    4 i9 ]1 U1 Q8 e% w' \
  1670. ; 2: Overload str*() functions6 A" V/ w7 f( j* O1 R7 X1 t
  1671. ; 4: Overload ereg*() functions
    ' E- z: h0 G& y# ]& g
  1672. ; http://php.net/mbstring.func-overload
    ; r/ P# x9 h5 q8 T1 z
  1673. ;mbstring.func_overload = 0
    # @# |1 Y' N2 w6 K

  1674. ! t9 i$ ]* u+ b$ h) B& I" n" J
  1675. ; enable strict encoding detection.
    4 S" G: e+ N7 K6 \  _7 a1 K6 r* e* @
  1676. ; Default: Off. d7 b- V+ |1 q, L# n! L
  1677. ;mbstring.strict_detection = On& e8 A5 Z  `* C, I. Z7 f
  1678. 1 R! M$ S) ]- Y( d
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    $ `4 A8 @2 t; K2 t* A8 R5 Q0 D
  1680. ; is activated.
    * j( c+ d" f" D
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)8 w' G& S/ C( W( G0 l! I8 ?
  1682. ;mbstring.http_output_conv_mimetype=
    * F7 V9 S, m8 j) _  y9 s. A

  1683. 5 a) t# h6 D$ N4 U& L' f7 ]- i
  1684. [gd]) g. [1 U1 Q2 c# {& Q6 O
  1685. ; Tell the jpeg decode to ignore warnings and try to create+ ^8 q0 V0 }/ m% _+ o. `+ O
  1686. ; a gd image. The warning will then be displayed as notices
    0 \0 H6 s6 y/ g# i; d9 ~; _& w! f
  1687. ; disabled by default. [9 h4 b0 Z# r
  1688. ; http://php.net/gd.jpeg-ignore-warning' U* h4 B. B( s' G) P# m
  1689. ;gd.jpeg_ignore_warning = 0
    " s' ?' n! }! x  L" e

  1690. ) w4 x" s$ f# g* `: S: j% J* ^
  1691. [exif]
    ) {, G6 ~* X- E! Q3 g: u) E* b
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.% x1 B6 z. c4 Y3 ]0 s
  1693. ; With mbstring support this will automatically be converted into the encoding+ I, B- h! Q4 ^
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding6 W8 y* k2 ^" K7 e2 |* x+ P! Z
  1695. ; is used. For the decode settings you can distinguish between motorola and
    7 e! U& e1 O% W3 U  O) n$ S, I
  1696. ; intel byte order. A decode setting cannot be empty.( C! e( _( {5 a! b) B
  1697. ; http://php.net/exif.encode-unicode. J. h, S. k7 o% J5 j! F7 X
  1698. ;exif.encode_unicode = ISO-8859-15. A( K6 z' w' t3 k2 b9 ]/ G# X
  1699. 9 V2 R2 f' |4 {5 D
  1700. ; http://php.net/exif.decode-unicode-motorola; z* b+ w1 y$ w; H% ]
  1701. ;exif.decode_unicode_motorola = UCS-2BE3 L( U: w2 J# S7 C! }
  1702. 5 C, b1 l: K3 \
  1703. ; http://php.net/exif.decode-unicode-intel, _# P9 |# y2 B0 P) ?. Q- `
  1704. ;exif.decode_unicode_intel    = UCS-2LE. J3 s; ~, T- S4 o3 \4 e* g
  1705. # A; g3 ]) Z, v9 t! W  r
  1706. ; http://php.net/exif.encode-jis0 O$ {( j4 Y9 j
  1707. ;exif.encode_jis =
    - x4 Z: \! Z% U, H) j) q* j" O

  1708. % D; P* J4 H1 L" Q# o: }
  1709. ; http://php.net/exif.decode-jis-motorola
    $ y6 `$ d0 E* E* j8 j: n
  1710. ;exif.decode_jis_motorola = JIS; N& W8 L- V5 h" |9 k# ?. B

  1711. 4 J1 f" ~: `7 D* v9 \8 M
  1712. ; http://php.net/exif.decode-jis-intel+ S5 I: p' E1 F+ y7 I, v% E
  1713. ;exif.decode_jis_intel    = JIS2 e$ b$ \6 \; f

  1714. # f' U; s4 ]  g+ e7 d) m9 \9 s1 ~
  1715. [Tidy]
    " W3 q- T* g8 x( G6 r0 b* O! I
  1716. ; The path to a default tidy configuration file to use when using tidy
    * {: N' \5 ~2 B6 X4 ?, d% M+ k
  1717. ; http://php.net/tidy.default-config
    0 s9 F+ b* D  t5 v5 o. a6 j
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    5 j. P7 K! k; k6 D: ?

  1719. : Y5 ~# X: N3 r' {, h5 |+ O1 V( K
  1720. ; Should tidy clean and repair output automatically?
    % I1 ^: c: Z4 B# ^
  1721. ; WARNING: Do not use this option if you are generating non-html content' C7 H. |/ {. _4 D! a( d
  1722. ; such as dynamic images( _, i" _4 i0 K& {4 C! e: h
  1723. ; http://php.net/tidy.clean-output3 n7 _7 i; {: A) R3 O
  1724. tidy.clean_output = Off8 L; O% s8 L1 ], C& k

  1725. 5 |6 F. P4 V3 w
  1726. [soap]
    # l! X" x6 L  j# K0 u3 }
  1727. ; Enables or disables WSDL caching feature.
    , Q' q1 _2 ]" {4 M, r! d4 J
  1728. ; http://php.net/soap.wsdl-cache-enabled; m$ d+ v# P, m
  1729. soap.wsdl_cache_enabled=1
    1 v3 l# `- |, D  v2 q' o" [( c

  1730. 4 A; ~8 O, y& O; ~9 d
  1731. ; Sets the directory name where SOAP extension will put cache files.% a$ k" }/ p( p+ |: H& _& [" T
  1732. ; http://php.net/soap.wsdl-cache-dir
    4 p/ g6 L$ M6 e; U2 o3 N
  1733. soap.wsdl_cache_dir="/tmp") b$ Q! y6 p: N+ ^" V$ I* z
  1734. - {- \0 v: c0 S( K
  1735. ; (time to live) Sets the number of second while cached file will be used
    2 h* i/ x& J) X% h$ ~, ]9 F' l
  1736. ; instead of original one.; ~% I1 U' C4 q5 E8 W+ k
  1737. ; http://php.net/soap.wsdl-cache-ttl/ F6 ~" X! v5 K1 A
  1738. soap.wsdl_cache_ttl=86400
    * J4 X7 f8 e8 p0 ~% O9 A

  1739. , {1 `# v& K4 Z: l" B
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    6 x7 ^0 E0 b4 l! {% g2 G; E; Q9 f
  1741. soap.wsdl_cache_limit = 5% q+ ^8 r- R- o% U1 \1 @
  1742. 5 K; j% p  g, l
  1743. [sysvshm]7 K% E  O3 _9 K6 `: K% K* U
  1744. ; A default size of the shared memory segment
      v2 G0 f; z$ l" s4 ?
  1745. ;sysvshm.init_mem = 10000- S6 K; j, Q, f7 ~5 y+ T; \& h
  1746. 1 D8 a9 d6 x# h  z/ c
  1747. [ldap]
    ( ?9 J) b) e' a9 f. `
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    3 ^1 P' k. Q3 W1 }& l; |+ f  g
  1749. ldap.max_links = -1( z4 _7 I" D0 J: W

  1750. 7 Z8 h  [: J: {
  1751. [mcrypt]# q$ H3 v( D) {" L& d# [" d; J
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    7 ~2 |1 D  p, }- J8 U0 Q# g8 [( |
  1753. 6 a+ |+ c0 o# c( a! j6 k8 i& k
  1754. ; Directory where to load mcrypt algorithms* O* G0 Y! c4 r% V$ f0 `
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), L; T3 x' b3 E% ^: P- _
  1756. ;mcrypt.algorithms_dir=' E2 i9 m& |( ~9 G/ s9 n5 F

  1757. ) q) J3 F3 W$ u! _
  1758. ; Directory where to load mcrypt modes. k- h) A( Q2 ^' w# b  {4 x
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    , N6 b% E! f! d
  1760. ;mcrypt.modes_dir=$ P  Z5 ^6 G1 F2 }: v( m% A! x
  1761. 9 ^; g0 R3 d/ k( n2 x3 m2 E7 a# E
  1762. [dba]  ^- E$ `' Q4 j& Z' a
  1763. ;dba.default_handler=; E/ N+ Y# |$ F  f

  1764. 9 }% s$ ]9 p; d$ U, R+ A
  1765. [opcache]
    # a& t" y+ P8 n" `' \8 d
  1766. ; Determines if Zend OPCache is enabled
    - U1 h5 L$ V! t; ]- e# l: f# Z, X0 k
  1767. ;opcache.enable=0
    / T6 ~5 B) x/ x& g
  1768. - m# ]# _% _0 o1 a
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ( ]  G9 ]+ w2 b! Q0 S! z+ _
  1770. ;opcache.enable_cli=0- Y& \+ k9 e0 K. a* P$ `% m; f

  1771. : P& ?; X  a3 U7 \" j* b0 K
  1772. ; The OPcache shared memory storage size.8 G" b( z6 m, E$ i; Y- C$ R
  1773. ;opcache.memory_consumption=64
    1 Z8 G# k6 S. R' U8 Y4 c& I2 Y% O

  1774. : m( C0 V& m# F3 y$ x* w  g& I. ?; c
  1775. ; The amount of memory for interned strings in Mbytes.2 k' w' F4 I9 c  t$ X
  1776. ;opcache.interned_strings_buffer=4, g# P: l2 y* J% I. |; f
  1777. # _5 S' o- z, @* c: H: r
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    : Z0 a5 e# {5 A5 \3 Z$ T6 }1 I) K
  1779. ; Only numbers between 200 and 1000000 are allowed.
    * g: k) I$ H7 R3 Q( {+ _
  1780. ;opcache.max_accelerated_files=2000- |' N  v; i# w7 l& F, j  F
  1781. * A5 f! c1 j+ I- \# l: n
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.* ~& k% F$ n7 [7 _
  1783. ;opcache.max_wasted_percentage=5
    # a& q6 o' {5 `4 A1 b

  1784. , a% v8 D6 b7 h& A5 W
  1785. ; When this directive is enabled, the OPcache appends the current working
    3 W: J8 ^/ Z6 R4 {; d9 ]1 z$ z
  1786. ; directory to the script key, thus eliminating possible collisions between3 _8 ~# t- D8 L
  1787. ; files with the same name (basename). Disabling the directive improves
    ! l# g7 k0 N$ S
  1788. ; performance, but may break existing applications.! T$ K" v3 t, U2 \' M
  1789. ;opcache.use_cwd=1
    7 }8 o8 X; f# E0 _, a
  1790. ( ^& \- n( R8 G. }2 g1 a. _
  1791. ; When disabled, you must reset the OPcache manually or restart the
    1 V$ ^  J8 c+ T9 w7 y1 i& }; A+ Y( q7 F
  1792. ; webserver for changes to the filesystem to take effect.
    0 B3 \+ n' S" t. c, M
  1793. ;opcache.validate_timestamps=1
    0 Z6 w) ?7 ?7 u- o$ n+ ]
  1794. 0 S& n- G+ A+ t( l1 c
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    1 B. k( Z- ]1 Z2 R
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    . t5 ~' g! _  Z2 j; r
  1797. ; once per request. "0" means always validate)$ k3 f3 V- u' x) P
  1798. ;opcache.revalidate_freq=2" u9 h4 u* I$ T% N  e/ K2 W! |& z

  1799. 2 Z8 V/ o$ |/ J: g% _1 F' X- }! W
  1800. ; Enables or disables file search in include_path optimization: x8 T0 V% E( m* O- t  q2 U
  1801. ;opcache.revalidate_path=0  g4 U- _6 X! A% r! `5 |

  1802. 6 I) y- X& s- \& ?1 L
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) y; c# r5 N) f' {/ V
  1804. ; size of the optimized code.
    ( K- T3 c; n' K1 D4 P
  1805. ;opcache.save_comments=1
    # H: F9 E( O; R' ?. \2 `) a# M
  1806.   m* v0 Y  n6 B, w8 p' d
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    1 o% }1 g( O! S' m
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    " w6 W9 F& ]  `
  1809. ;opcache.fast_shutdown=0
    , c% f( U1 Z, i9 ?

  1810. % h0 Q- d  F3 H1 A" {3 T1 F+ X
  1811. ; Allow file existence override (file_exists, etc.) performance feature.3 F/ x# v, R- U: G9 j
  1812. ;opcache.enable_file_override=09 T) m7 f. N# O  L9 s! B
  1813. ' `8 v1 L8 u; g+ n$ @
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ) M& C4 W& {4 ?7 G' f
  1815. ; passes$ B6 G% i4 }' M8 [: a
  1816. ;opcache.optimization_level=0xffffffff( ^7 C) J' T3 J1 l3 H, ?, `
  1817. ' I. s' X! o" u! W  P
  1818. ;opcache.inherited_hack=1
    # ]+ W( m# W& T5 y
  1819. ;opcache.dups_fix=0. J9 Z0 s7 E3 z- i( [6 f
  1820. $ {6 U( k' `! H( C8 q; |) n
  1821. ; The location of the OPcache blacklist file (wildcards allowed).; d+ t" o" q' e2 r& _
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    7 n/ Y# e4 c8 S7 G; r
  1823. ; that should not be accelerated. The file format is to add each filename3 X0 W9 K* u- N5 }
  1824. ; to a new line. The filename may be a full path or just a file prefix
    * n; w1 o! Z: S3 z$ _( t& {3 R7 ^
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www- l& F3 Y+ D5 w$ V' v8 y4 P) \
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).: {. ~% @1 A! f2 K, B6 O/ |
  1827. ;opcache.blacklist_filename=
    6 d  H8 Q) B; |& y7 v" ^

  1828. ; X8 L  {# y5 @+ A8 W8 O" r* X) S) {
  1829. ; Allows exclusion of large files from being cached. By default all files- S7 a: z+ t; F3 i# c* G' a6 v
  1830. ; are cached.2 c: L6 Q% P# W
  1831. ;opcache.max_file_size=0
    9 `0 d7 Z( K& d7 N1 x
  1832. : u3 a$ q8 O) G- }! b) Q0 ]5 g
  1833. ; Check the cache checksum each N requests.: _+ {1 [1 ~  c1 n9 v( k
  1834. ; The default value of "0" means that the checks are disabled.
    0 V! r. ]: d0 c+ T4 N
  1835. ;opcache.consistency_checks=0( a. \7 r; Y# X) F

  1836. 9 T- @5 o7 T. O9 j! r2 s! m  c
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    4 L+ p( i1 J" B+ ~3 ]
  1838. ; is not being accessed.2 W, S! R+ U# s* U" m
  1839. ;opcache.force_restart_timeout=180
    & Z( z* d- X% F* O0 g3 q
  1840. ' t9 n4 {+ M  m/ G! ^2 q& r
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    6 C1 {9 S" f% D) H( y0 K/ u/ t
  1842. ;opcache.error_log=
    5 d2 U$ n+ [" F+ W; \. F- X
  1843. : e& _0 u/ ^4 u0 r
  1844. ; All OPcache errors go to the Web server log.
      d) s: @- v9 V0 I2 N
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    " s7 T6 ~! {2 N; E
  1846. ; You can also enable warnings (level 2), info messages (level 3) or3 j0 n$ h. W' @* ^
  1847. ; debug messages (level 4).
    + R  b: y1 V) @) Y' r
  1848. ;opcache.log_verbosity_level=1: R6 c- b( _- ~6 ~  z
  1849. 4 A9 }0 h- M5 h! V7 V) w
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.2 F" t6 p* m. D9 p9 M& H& z' w9 P
  1851. ;opcache.preferred_memory_model=8 N% X! b" ]0 U) ]
  1852. 1 ^- I& j; i, f
  1853. ; Protect the shared memory from unexpected writing during script execution.
    2 G( h" w4 M6 V/ ~4 |- x5 T& B
  1854. ; Useful for internal debugging only.+ N2 R& u: x+ X0 ~" X3 _
  1855. ;opcache.protect_memory=0
    , T& _8 m7 s2 C

  1856. 0 y# @5 M- n( y! o7 s! l9 J2 f: p6 `
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is" X8 v3 i+ J' p! l: `
  1858. ; started from specified string. The default "" means no restriction
    2 l% ~/ P, w$ H3 E7 }0 S8 f
  1859. ;opcache.restrict_api=
    : U6 w; Z( I; e% K5 q# q( R/ x* _
  1860. ! J- J7 x4 X8 j1 N. I5 Q
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    # _( N3 a, G. Y6 V* s/ Q7 h; L9 N
  1862. ; processes have to map shared memory into the same address space. This/ X- d! t) i% A$ v6 Y# O2 A
  1863. ; directive allows to manually fix the "Unable to reattach to base address", k$ n$ ]' S6 e* V( E/ [
  1864. ; errors.. T" P% W/ c6 L# b5 l0 L; }
  1865. ;opcache.mmap_base=( V* r; e  [/ z/ o6 L& H# T, \

  1866. % |" t' L0 [! |1 u$ r+ D
  1867. ; Enables and sets the second level cache directory.
    ( R: K! w4 o5 ~% _4 G/ _" T
  1868. ; It should improve performance when SHM memory is full, at server restart or
    : |: x+ r6 J8 ]& y5 I/ A1 r) @) W
  1869. ; SHM reset. The default "" disables file based caching.# n1 l; x& K- d6 ~
  1870. ;opcache.file_cache=# i* ~6 V# F* w0 @) c+ S  r
  1871. ! S/ E& j: Z" s4 a; Z) ^1 C
  1872. ; Enables or disables opcode caching in shared memory.6 w- J( j, ]6 W/ T* o5 \- \9 S& l
  1873. ;opcache.file_cache_only=0
    7 v9 y" ^4 n- E1 U

  1874. : T  f$ M0 T2 w: n
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    5 k, [0 l' z4 x7 h
  1876. ;opcache.file_cache_consistency_checks=1) U3 y" K! B8 Q+ U5 g) q8 P7 N
  1877. ) i* C6 S! h; k- |' W) s
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to% _4 j# q4 S! U  y. ^
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    * C0 d9 k& I/ S
  1880. ; cache is required.) n3 \4 m, g5 _* p, I
  1881. ;opcache.file_cache_fallback=1
    % n# k2 c3 F8 Z' j4 [0 s
  1882. ! C% I& n# _8 [9 O- F9 Q* ^
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.- }7 o% B! ?' y
  1884. ; This should improve performance, but requires appropriate OS configuration.+ B- u1 @: C! r: i7 H2 S) c
  1885. ;opcache.huge_code_pages=1
    1 m* @8 _& ]- {9 f

  1886. - s) o* d3 V0 c/ [* K
  1887. ; Validate cached file permissions.
    0 h9 L. e, ^3 P& O+ V8 n
  1888. ; opcache.validate_permission=0
    2 d3 l! e2 K& c7 j; f8 V. O
  1889. " Z4 ]6 q& h2 c* \0 O7 Z2 [
  1890. ; Prevent name collisions in chroot'ed environment.1 P3 w5 p! I% ?" F1 j- ~
  1891. ; opcache.validate_root=08 D: R8 j" @6 t" a) q

  1892. ) a  ~1 H6 z7 l0 w
  1893. [curl]5 r4 I) m& u0 [2 Y6 {7 Y
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an/ M* m/ H, U5 a0 J3 t$ n& s
  1895. ; absolute path.
    2 ^  X, s+ U$ _  t& d" x  W6 _: T
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    4 d, b( i& P$ w- F0 ~; C
  1897. : A0 K4 i9 t! t- R  K
  1898. [openssl]
    $ P: |6 ]; M- z8 d7 _/ l& C" t
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem9 Q( x) m: `4 B5 M/ I
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should& T5 Q$ D; w) S' l
  1901. ; not specify a value for this directive as PHP will attempt to use the* r9 c! y  t/ _3 j; d
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    8 D: H' U! q3 S+ ^
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    : v4 t) G5 r+ Q2 V
  1904. ; option.% a5 s3 X9 D0 O& j2 Z! x
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt) v. W+ {; ~4 t

  1906. 9 Q5 n# Q! j  k, {3 S% R1 G1 K
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the. h( R0 B9 G" G( z5 H) m) {  y2 K
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    8 V3 r/ n& |( A" \& q
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    5 y  U1 i3 c; L* P
  1910. ; Most users should not specify a value for this directive as PHP will
    ) y4 }) B- h/ j. k. M
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ( S% O& X4 e$ u$ M1 G+ u2 R
  1912. ; this value may still be overridden on a per-stream basis via the "capath"; E0 k* q1 e# }2 A: q
  1913. ; SSL stream context option.
    1 y2 k; Z# a, e2 ?# b' L! g( V
  1914. ;openssl.capath=' z1 r  p+ x$ {* J& s8 o" E; g: R
  1915. - }$ s/ n7 y( a' p% D
  1916. ; Local Variables:
    1 \3 x( a$ D/ @
  1917. ; tab-width: 4
    6 C0 u* N* q$ K
  1918. ; End:
    % H+ l" m) H2 N0 {5 o$ l

  1919. ' U+ z+ j( _  }3 [. v
  1920. ;eaccelerator
    ! S* i: _2 _0 I* x- r

  1921. # Q; w1 O4 K$ r. @$ N, O
  1922. ;ionCube
    4 o$ S* L. P5 s- d3 U; j

  1923. 4 k4 t5 X0 C4 n+ b9 I5 W* j
  1924. ;opcache
    - P) F! S4 t" d' L

  1925. ) E) N0 [# D6 p: l# ^
  1926. [Zend ZendGuard Loader]: ]& P3 w& a' C
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    , ^* C" h2 u1 X1 F) z+ ~
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    + m  T# L7 S3 }2 e
  1929. ;zend_loader.enable=14 p* m1 O) E: Z8 A: S8 z6 t
  1930. ;zend_loader.disable_licensing=02 E$ q' q0 V( v2 V5 B
  1931. ;zend_loader.obfuscation_level_support=3
    9 Z2 M- a: C$ K" a% L
  1932. ;zend_loader.license_path=
    ; [9 J3 P# i3 `" M6 e

  1933. " d2 q8 z/ p( E
  1934. ;xcache
    : W7 ^4 z% [8 ^" ]3 u
  1935. % e, Q6 U. z! `6 h
复制代码
% U$ C  O2 o# j/ [5 B
5 f5 @: c% {: \. T

9 o% W& H; r+ L6 q9 w' B
+ g1 t1 g7 g1 N( y- ~
: P9 B: I. t$ [) g7 D1 a$ V" z8 O* Z/ ~; \% m) a; p4 j# r" N8 D; D7 k
9 ^' m! A3 W5 o# W5 Q. B' v8 s
PHP5.6版本原始设置0 h1 s2 j+ w: _" T" B4 b

/ d4 @: @4 h( o4 c7 Q9 W
  1. [PHP]
    9 T( v7 E% r' O  P
  2. ; E$ C9 I" a* _! U: A8 h) }
  3. ;;;;;;;;;;;;;;;;;;;
    + z9 ~5 b& |- U9 Y5 X- b  y. m
  4. ; About php.ini   ;) _. K3 M! G* w
  5. ;;;;;;;;;;;;;;;;;;;0 U* D' [# B( d2 ?' g7 k& v
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    # P3 x$ S9 v' h9 l# M2 p7 V, ?$ I) ^' E
  7. ; configuring many of the aspects of PHP's behavior.' F2 X) z, o1 k/ f
  8. 0 z# m* J2 J6 t2 x) `5 ^
  9. ; PHP attempts to find and load this configuration from a number of locations.' c( ?+ G. U4 N% N* _
  10. ; The following is a summary of its search order:8 H  a- M4 B# g
  11. ; 1. SAPI module specific location.8 b) E$ v: Q/ D. W& H4 Z
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    & l- ]8 J( \, }+ Y- `/ B1 H
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    $ X9 ^- G5 k/ i1 C+ D
  14. ; 4. Current working directory (except CLI)5 ^) B, o% K  l" t$ C% y4 x
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP! G8 m' U5 x" U, m4 k' ^8 k
  16. ; (otherwise in Windows)4 Z) y$ _5 T5 c$ _1 w' ~9 ]
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    6 h5 Y" D/ R+ y% f0 k
  18. ; Windows directory (C:\windows or C:\winnt)0 ?& s% Z/ H! H/ E1 ~
  19. ; See the PHP docs for more specific information.
    % Q- d# _' X, T8 v2 \
  20. ; http://php.net/configuration.file
    3 E3 }& i3 T$ Z

  21. 0 X  B9 {4 V0 R' x6 l! H; S9 F
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    . Y% Y/ Y( O5 a: e6 V% _
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    - y9 l$ L3 B7 L8 ^. B$ u
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    6 Y6 E. s( ]2 A# n" L! m+ C
  25. ; they might mean something in the future.
    6 z5 L1 c# p5 j9 }2 y" Q3 _
  26. " f  B; Z5 n5 t7 B3 \) t* K' j9 v
  27. ; Directives following the section heading [PATH=/www/mysite] only
    4 W1 N  _0 v# ^" R6 f$ k
  28. ; apply to PHP files in the /www/mysite directory.  Directives- J$ e0 S3 B' r3 I( w0 P; l  m9 n
  29. ; following the section heading [HOST=www.example.com] only apply to& N5 Q8 q2 c! d0 I
  30. ; PHP files served from www.example.com.  Directives set in these& S* T7 M) R  x" w# }7 r, D7 X# V
  31. ; special sections cannot be overridden by user-defined INI files or& Z% i; q$ ~; l% Z+ p
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under7 L3 t/ `  I: u0 R7 R6 t, C, R
  33. ; CGI/FastCGI.$ l' w! D9 F0 |6 J
  34. ; http://php.net/ini.sections$ P3 h$ S3 h. o/ w4 w2 Q

  35. 5 m# O; j7 i9 r9 E& i/ @: ~3 h3 c
  36. ; Directives are specified using the following syntax:* b. h7 q5 @/ A% ?8 S2 H
  37. ; directive = value
    8 G8 ]8 _. o2 k8 F% W: ~2 ]- c; {! C
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    1 Q) {9 b8 Y( A9 n9 P: o: i8 {
  39. ; Directives are variables used to configure PHP or PHP extensions.  m3 r% @# u& V/ r1 r
  40. ; There is no name validation.  If PHP can't find an expected
    0 o+ E4 s) T/ z+ g5 [$ k/ C
  41. ; directive because it is not set or is mistyped, a default value will be used.
    1 l3 _/ H( ^6 I' u2 Q, r( i# |6 }
  42. ; v8 L+ m' g+ r, j
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    2 l; ]8 j/ a. f5 I( g3 U3 `
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression2 |. \. Z& y, V3 W- K4 z* _
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a' t* [. V1 T' ~
  46. ; previously set variable or directive (e.g. ${foo})
    ) e; z  ~3 D. d% H/ ?$ a( ?

  47. ) `, n1 A& z. h2 @9 V% x
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:" _7 d: W: Y+ i. m4 y
  49. ; |  bitwise OR
    $ {+ }+ i, q. Y6 A& Z
  50. ; ^  bitwise XOR% z/ i* _7 h% H- ?1 x
  51. ; &  bitwise AND
    ' i& G0 q: ~( }" _) c
  52. ; ~  bitwise NOT
    6 x/ X$ ]/ t: [# e4 h: V+ Z
  53. ; !  boolean NOT3 k- `% j) V6 I( \2 j

  54. . u8 o  U5 W- m
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.- t+ z4 l2 u; K) n
  56. ; They can be turned off using the values 0, Off, False or No.. G9 r* y  Z5 B: {- [3 F% q6 f
  57. 6 a0 v7 M$ S; g$ @: x9 _' n7 _
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ) m) H% }) h2 I" l
  59. ; sign, or by using the None keyword:* p' N5 D7 N1 p9 r. {! y

  60. 2 r, k2 K4 z* {
  61. ;  foo =         ; sets foo to an empty string
    ' O: r6 M* L5 [
  62. ;  foo = None    ; sets foo to an empty string
    . L8 K# v" i2 W2 L) S( G
  63. ;  foo = "None"  ; sets foo to the string 'None'
    . |+ ?2 _, ?/ s% }

  64. $ }# \' `, b6 P" v* x
  65. ; If you use constants in your value, and these constants belong to a
    & J% g) ]* h; l9 Z, B
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),2 S+ I* x  i& _* m; t7 d$ z; O
  67. ; you may only use these constants *after* the line that loads the extension.
    9 z) Q4 T: Z( W  i: X$ Z: p
  68. ) |. O' y1 p/ `. J/ ~% Z
  69. ;;;;;;;;;;;;;;;;;;;; _7 G4 u! t( O, W9 w
  70. ; About this file ;0 Z! f5 w4 o$ c/ v9 p8 Q9 e
  71. ;;;;;;;;;;;;;;;;;;;
    ' Q1 L8 k; l% H1 ^0 T" Z* s7 C% i
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    6 g5 R9 t( e. P
  73. ; in production environments and one that is recommended to be used in+ M0 J- W9 ?# ?1 v; [7 H, c
  74. ; development environments.
    8 z3 R2 t8 P7 n% q8 G( a

  75. , z! u1 ]) s- L& q
  76. ; php.ini-production contains settings which hold security, performance and. f8 S9 S0 r) Y* ~. H
  77. ; best practices at its core. But please be aware, these settings may break2 F( W' _, u+ u8 G/ s' D$ o
  78. ; compatibility with older or less security conscience applications. We) }" U) F6 s2 P% X
  79. ; recommending using the production ini in production and testing environments.0 k2 T0 e5 j, r+ w

  80. 9 n) @$ N; I, D/ Q  q0 }, E% J
  81. ; php.ini-development is very similar to its production variant, except it is, N9 j1 v6 Q% e
  82. ; much more verbose when it comes to errors. We recommend using the. C$ x% o0 ^! y0 L/ k- ~0 Z2 }
  83. ; development version only in development environments, as errors shown to
    ; N  `5 Q" U' u5 {. \' g
  84. ; application users can inadvertently leak otherwise secure information.7 |" S% R7 c: Y# @, t- H0 j, K& l

  85. ; G& w( x1 B) l0 l' c
  86. ; This is php.ini-production INI file.
    # |( f3 u/ @" _. [# \& O* q
  87. ( S" c9 ~5 j8 Z7 J9 @. |8 L
  88. ;;;;;;;;;;;;;;;;;;;. `. R! ^- _% ~2 U3 S& ^
  89. ; Quick Reference ;0 c4 }! A4 ~) L$ @6 b
  90. ;;;;;;;;;;;;;;;;;;;- j! d5 Q$ V3 I9 ~
  91. ; The following are all the settings which are different in either the production
    : z8 B' ]  d" B: p( }3 I- I
  92. ; or development versions of the INIs with respect to PHP's default behavior.
      v0 a. |. z( m0 q' J
  93. ; Please see the actual settings later in the document for more details as to why0 x6 |3 G# H- G! f# D6 |8 n1 `7 m& A
  94. ; we recommend these changes in PHP's behavior.5 J  _0 M, h9 t- d* {3 }

  95. & H: l5 @1 T- ?  `- i
  96. ; display_errors$ E+ D) d! V4 t9 }* F6 p, _  j
  97. ;   Default Value: On) O* e3 F* r; ^) o; t/ b! T) s
  98. ;   Development Value: On: L- a8 T! S% M
  99. ;   Production Value: Off( l# h2 M- c, F

  100. - V/ l) q6 M. O4 a" n  |) v
  101. ; display_startup_errors0 ]7 Y3 z5 Y, t% {$ U9 b6 x
  102. ;   Default Value: Off+ j' `( J& e+ P  R! a0 K# F
  103. ;   Development Value: On
    . v; }0 z( I# t+ h: L8 X
  104. ;   Production Value: Off( `2 I" k3 w& Q$ P* L# v/ U& }: P
  105. " |* Y- Q6 P9 D) f; L0 Y
  106. ; error_reporting
    9 ^3 X- s/ v+ u4 D+ d
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED/ G* R# i) D6 F% m2 G8 j
  108. ;   Development Value: E_ALL9 }+ x& C& i2 ?$ E& B2 y
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    1 x* f/ T. ^) c' K. t: ]# h
  110. " o( P! `3 E" Q% G6 Z2 b& _
  111. ; html_errors; {8 T7 p+ S1 o" W6 V- }( b
  112. ;   Default Value: On  ~9 s- Y. |" F" K: i- i
  113. ;   Development Value: On
    7 u$ B) |/ b7 [3 M! R2 U+ z) V
  114. ;   Production value: On
    4 D+ |! N% W4 Y$ f5 Z% P$ r2 z4 F
  115. " q& P* h4 y" f' p  ?% X! L
  116. ; log_errors
    - G! j2 [6 v% l% O( p8 M, l( i8 a+ g
  117. ;   Default Value: Off" b' M8 N6 ^5 Q# _
  118. ;   Development Value: On
    ( S2 {- e# U- _8 _
  119. ;   Production Value: On
    - \/ g4 O3 C" q$ Q5 J8 G  a

  120. ! Q$ h8 K+ {; n( j2 U! v
  121. ; max_input_time8 U' e9 M& A" U8 d
  122. ;   Default Value: -1 (Unlimited)
    # r: C7 L  C2 ]8 Z
  123. ;   Development Value: 60 (60 seconds)
    8 G% [: x- I3 W( j
  124. ;   Production Value: 60 (60 seconds)
    ! x; d3 K) y6 p

  125. 3 w7 n( S: Q4 ^" F3 F3 y: q9 J
  126. ; output_buffering
    0 ^0 v) q- \0 y6 {! o2 w5 h
  127. ;   Default Value: Off( N- t; N. u3 O* V  \* @+ W
  128. ;   Development Value: 4096
    5 h5 ^( v. C+ q+ H
  129. ;   Production Value: 4096& R& c' B8 H$ M; m0 D9 x
  130. 2 X3 R' b7 G6 o7 F4 U: O3 z
  131. ; register_argc_argv$ f2 s5 w$ G8 w7 \& F1 e& e
  132. ;   Default Value: On
    ! B- o6 D. U0 F: o* C; }
  133. ;   Development Value: Off$ P/ d/ \) y; F$ n
  134. ;   Production Value: Off( G' v& }6 Y. U$ T1 h
  135. ; r- P- e- t) ~) A& x
  136. ; request_order# t, C* T+ U' C2 ]
  137. ;   Default Value: None' @/ m* }) f9 t1 h, {) i( O
  138. ;   Development Value: "GP"
    2 y' O" w- u5 K0 j3 g1 T: w. N
  139. ;   Production Value: "GP"" [4 v- F" G! d- X* w
  140. 9 O7 }+ E: s0 l1 ?, c6 o
  141. ; session.gc_divisor% D  Z+ Y! S1 t8 o; J9 ~0 v
  142. ;   Default Value: 100
    & c7 N9 S( F9 M' p+ b9 l
  143. ;   Development Value: 10009 a3 P! S$ y; v# X* m- i9 b* T0 B
  144. ;   Production Value: 10005 |' S8 v2 O- |/ D# `

  145. / ~( x% P/ |0 H8 _
  146. ; session.hash_bits_per_character0 C7 ?, `+ ]3 t7 m& r
  147. ;   Default Value: 4
    - }7 M4 l: [$ j
  148. ;   Development Value: 5
    0 X) T" I8 C$ X; J' ~
  149. ;   Production Value: 5, c% h$ G: `0 Y6 p5 v/ b
  150. * v: K) C& a0 [7 p; Q
  151. ; short_open_tag6 Q/ v2 q5 u" R
  152. ;   Default Value: On* i; h: d1 l2 q4 V
  153. ;   Development Value: Off! Q; S9 Z/ S1 t8 Y5 j# ^
  154. ;   Production Value: Off6 c2 T; M# y- l
  155. + y2 [" Y: ^8 k# W; ]& C
  156. ; track_errors
    ( o2 M6 n& U3 G( H1 F
  157. ;   Default Value: Off( X' m% I" K  D* z
  158. ;   Development Value: On
      f) z6 T, e% M" r9 }  B& @
  159. ;   Production Value: Off3 y1 v$ L# G1 i( j# a$ {0 v
  160. 3 _  K3 p9 D% ?
  161. ; url_rewriter.tags
    & [" I. U. j' R3 U6 T' [4 r9 _% q
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="8 [! |7 J( p& p/ d1 I5 [
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 S/ ]* E! N9 o
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; g& c1 P, a/ M" M( d* P8 @2 w

  165. 8 R( |! B. B# K3 G! b6 P; _/ h) @
  166. ; variables_order
      f# W9 r/ z) p; p# ^
  167. ;   Default Value: "EGPCS"
    * J; U) Y1 _' A. I2 `' M9 F
  168. ;   Development Value: "GPCS"* R' |! j8 ^8 A4 f1 j1 ~
  169. ;   Production Value: "GPCS"
    4 X, ~0 o) H6 i9 F

  170. 4 x8 a, x( @+ o% N* q
  171. ;;;;;;;;;;;;;;;;;;;;. j& d* n+ L% e( J0 A
  172. ; php.ini Options  ;
    " `# K: x* y- R
  173. ;;;;;;;;;;;;;;;;;;;;# _5 w+ }* m! d! f
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"- A. Z  ?6 j9 O( q9 p
  175. ;user_ini.filename = ".user.ini"" m! V( c  T; m! I+ ?7 W

  176. 4 H0 X5 y9 w2 }
  177. ; To disable this feature set this option to empty value7 d6 `, G& r0 C
  178. ;user_ini.filename =
    $ `) H, w  A3 o, j0 ?/ A& h- [/ |) u
  179. 2 B- Y& K( f! N% ^' Y
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ( ~  z. p. M) j/ X- ^. {
  181. ;user_ini.cache_ttl = 300
    ! y' U7 F" g! y: {: k; y2 Q
  182. * L, y- y3 g3 C5 r( ?$ l( y5 U5 H. Z+ B  r
  183. ;;;;;;;;;;;;;;;;;;;;
    & g# c4 |3 [' i/ _* c* P
  184. ; Language Options ;$ F) _0 M( d3 a% v5 G$ G$ {7 }
  185. ;;;;;;;;;;;;;;;;;;;;
    8 a' ]3 R! `* {. R' B

  186. ' o2 w# [4 p2 f$ u2 }
  187. ; Enable the PHP scripting language engine under Apache., z# ]# O$ S. [. b4 C4 @, I
  188. ; http://php.net/engine6 {4 ]% M4 T3 m" g, |
  189. engine = On
    0 L. s9 d$ g; c7 j

  190. ' P- K7 u) h0 W) G4 ]4 V# X
  191. ; This directive determines whether or not PHP will recognize code between1 r" T. k* Z" C
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ( G, h* P( k. L7 h& J
  193. ; generally recommended that <?php and ?> should be used and that this feature$ C0 D; n, Y0 i; l4 M1 x3 Q; R
  194. ; should be disabled, as enabling it may result in issues when generating XML# S, F( Q' y( p1 k, T
  195. ; documents, however this remains supported for backward compatibility reasons.
    9 {2 `  z: K9 ^; r, Z0 h. k" }% |
  196. ; Note that this directive does not control the <?= shorthand tag, which can be( l* ]% G1 Y3 A$ H- r' R: J, U5 Q
  197. ; used regardless of this directive.2 i4 P0 G7 c  U( `- B- J7 ^
  198. ; Default Value: On) T) B( ?/ T' {' O
  199. ; Development Value: Off
    7 ^9 A3 y9 g, |3 r, F% K; _* K
  200. ; Production Value: Off
    4 n8 d! }2 s0 {) m+ ^  l
  201. ; http://php.net/short-open-tag
    * ~$ |) |9 U& q
  202. short_open_tag = On
    7 T+ k1 ?" Q% f# f' s% y
  203. 3 |: |9 J% V* F" X. B6 \
  204. ; Allow ASP-style <% %> tags.8 b+ c$ N" _5 A
  205. ; http://php.net/asp-tags
    7 J$ |: ~" q9 A% z$ w0 |. i2 m
  206. asp_tags = Off
    & L+ k: N1 e$ r3 r: V6 X
  207. + x; ?3 p+ A4 G- x9 o5 O
  208. ; The number of significant digits displayed in floating point numbers.5 K+ I! h1 u* ^; V) m( F& m
  209. ; http://php.net/precision
    " Q. @- l9 {, ?4 u/ D; T
  210. precision = 14
    3 l" k' }/ T" w+ [" q: K

  211. + _9 l. Y  z) G2 V* p& H
  212. ; Output buffering is a mechanism for controlling how much output data
    : `3 \$ L" {8 j  Q1 Z8 ]* f0 \, s$ L
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    # K1 f& _4 m4 o" Z
  214. ; data to the client. If your application's output exceeds this setting, PHP" U6 y9 Y: F' k6 s3 ~6 g$ @
  215. ; will send that data in chunks of roughly the size you specify.
    0 m8 G  q) U4 r2 L
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    - E2 W4 ], _& r$ b9 n. n& t8 ?' b; y
  217. ; interesting side-effects depending on your application and web server.
    " q' O" h' i! X$ E2 J
  218. ; You may be able to send headers and cookies after you've already sent output
    ( W6 X/ k2 m3 y4 E1 g0 e
  219. ; through print or echo. You also may see performance benefits if your server is
    5 _, f' k: G( E
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ; q+ [& ?: |( @5 C/ V
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance% M/ t  b& q( y& s. }
  222. ; reasons.
    5 N$ ]. e- W8 |6 F
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    3 T( D5 g+ x. a* g# ]
  224. ;   functions.
    5 P- H3 b5 _- a6 B% B$ g5 a
  225. ; Possible Values:
    8 @, W8 R) i% ?! W5 V0 H: \" Y
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    / Q- ~) U- J$ m6 g: w, m9 C
  227. ;   Off = Disabled. _' X: V" i; ~; V5 U" U- l/ M
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    . ]. Q* e, V) D' Z5 h/ C; G
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI2 T0 X2 ^: }7 W, M
  230. ; Default Value: Off  C, B- G* |, a2 T7 m
  231. ; Development Value: 4096/ O! c: ]) Z" V+ k8 v: m" C' ?$ }
  232. ; Production Value: 4096
    3 ~* k( r7 H& m" j* C6 n( X
  233. ; http://php.net/output-buffering
    2 o- j* ~$ x$ `9 ?/ h
  234. output_buffering = 4096" Q. y1 |5 P% L- |; U! E- I7 D+ {9 a! i

  235. 5 n$ ], b; B3 ]- j
  236. ; You can redirect all of the output of your scripts to a function.  For' f" [  t" d4 ?7 O
  237. ; example, if you set output_handler to "mb_output_handler", character
    ; ?' p4 [" R+ }" X& E) o. f
  238. ; encoding will be transparently converted to the specified encoding.
    # _. k0 j$ a$ G5 p+ s8 K. D
  239. ; Setting any output handler automatically turns on output buffering.
    0 P, d0 o& k; ?: K6 q
  240. ; Note: People who wrote portable scripts should not depend on this ini$ g' O$ m* f) @2 b
  241. ;   directive. Instead, explicitly set the output handler using ob_start()." r9 T( ~. h* M7 B$ b1 y
  242. ;   Using this ini directive may cause problems unless you know what script
    4 o- a& V0 U1 ?1 R( s
  243. ;   is doing.4 K- l' L% E6 Z& f% [# i$ n
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"! V. `- @. y, B. F' Q& T5 m) A# ?6 o
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    , K% g& `& F: A& q4 G% y
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    5 S! ?$ ]& m, `# W) w3 E
  247. ;   Instead you must use zlib.output_handler.
    ) p: [8 A+ ]0 m) j$ T* w- M+ z4 C9 C
  248. ; http://php.net/output-handler
    8 U: |5 s8 i, e$ ?- ~2 }
  249. ;output_handler =; A/ j. w3 s6 A' Y
  250. 9 b7 P! h- e$ d" o* p! R: ~2 n4 q: ~! C/ P
  251. ; Transparent output compression using the zlib library: q; ]) L, O8 s  T" O. C( B: C1 O& F
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    5 Z: F1 D. Z+ B
  253. ; to be used for compression (default is 4KB)2 a8 h. F3 r) p
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    6 O. l% F$ G# S& F) R
  255. ;   outputs chunks that are few hundreds bytes each as a result of8 f# u' u3 j- O7 P5 i: o) S/ ]
  256. ;   compression. If you prefer a larger chunk size for better4 [+ I# P% `/ M
  257. ;   performance, enable output_buffering in addition.
    1 ^# m$ ?" U7 }" t& u' W
  258. ; Note: You need to use zlib.output_handler instead of the standard, ]& a8 q/ |2 B) {
  259. ;   output_handler, or otherwise the output will be corrupted.) i' X/ J" D4 s0 L. n3 w, \
  260. ; http://php.net/zlib.output-compression5 u* H- J* k! J& O+ O& ~' W
  261. zlib.output_compression = Off
    * Y1 k( m' y/ A. V1 ^
  262. % n* C* j5 n4 t" K. S7 j
  263. ; http://php.net/zlib.output-compression-level
    ! h9 n0 y. l4 Q/ y
  264. ;zlib.output_compression_level = -1
    9 l" c( O$ h3 e3 l6 P
  265. ! D% H5 T0 J5 G7 L$ s# q
  266. ; You cannot specify additional output handlers if zlib.output_compression
    + @& O0 `/ b! c- z4 b1 t8 d
  267. ; is activated here. This setting does the same as output_handler but in% d" V6 H$ |- }% T5 _
  268. ; a different order.9 U) c/ d: A6 o5 G7 b8 M
  269. ; http://php.net/zlib.output-handler/ k# D1 y; J. z5 m
  270. ;zlib.output_handler =8 h0 d3 l! L4 C+ U/ [! g

  271. / V6 w- P+ \& h. a, R5 E
  272. ; Implicit flush tells PHP to tell the output layer to flush itself5 [' i* n; K% Z, e- x
  273. ; automatically after every output block.  This is equivalent to calling the# G# }$ i  F, }  A" {" {
  274. ; PHP function flush() after each and every call to print() or echo() and each% \- ]0 l( m6 R1 z$ z/ l2 @
  275. ; and every HTML block.  Turning this option on has serious performance
    ) `/ L0 R; n2 r1 `5 u
  276. ; implications and is generally recommended for debugging purposes only.
    . b; i4 q% _4 p
  277. ; http://php.net/implicit-flush
    - u0 Y* S3 ~9 }$ q. {
  278. ; Note: This directive is hardcoded to On for the CLI SAPI" ?) W  J" P. f% Y3 y( X  U4 h
  279. implicit_flush = Off& u* o* S8 }+ ^; {( w: _7 S0 o
  280. ' _! H6 {4 K7 G; i5 n- R& I1 U
  281. ; The unserialize callback function will be called (with the undefined class') L9 a0 y6 F, e" U, C; ~5 k
  282. ; name as parameter), if the unserializer finds an undefined class
    6 ^8 R! S% K$ T7 d8 [7 W$ H4 A
  283. ; which should be instantiated. A warning appears if the specified function is
    , S5 e; @  G4 d
  284. ; not defined, or if the function doesn't include/implement the missing class.' l+ {/ b) l. t3 h/ T) m
  285. ; So only set this entry, if you really want to implement such a6 L0 W/ g, j/ {6 Z# k
  286. ; callback-function.
    ' m: F# E1 d9 ?4 ?% R3 b7 Z
  287. unserialize_callback_func =2 {% Q& ^, Z. Y

  288. 5 l4 Z4 _  g% `5 M6 H
  289. ; When floats & doubles are serialized store serialize_precision significant
    & P9 _. w$ W  ]5 ?8 c
  290. ; digits after the floating point. The default value ensures that when floats
    $ U7 C: C, H1 l. b5 q" W8 U: s
  291. ; are decoded with unserialize, the data will remain the same.5 _  ~' t* _/ e$ L% ~
  292. serialize_precision = 17
    : ^& e4 J9 O  ~7 i

  293. 4 Y5 t1 m* o' u* D
  294. ; open_basedir, if set, limits all file operations to the defined directory2 o5 L* I/ {4 `7 R! m
  295. ; and below.  This directive makes most sense if used in a per-directory  V% s, C! V" @& ?' ?8 |, Q! K
  296. ; or per-virtualhost web server configuration file.
    % s* \# c, g7 c/ J0 t2 z% }( S
  297. ; http://php.net/open-basedir& M/ v  r# {- |+ _
  298. ;open_basedir =  U- V, G9 c( q$ {, }( c; f

  299.   u% b7 Y. |7 C8 F) A
  300. ; This directive allows you to disable certain functions for security reasons.
      s- g/ M7 \2 r0 U# r5 e% b! }
  301. ; It receives a comma-delimited list of function names.! G" v% Z8 J5 \, ?( D( I
  302. ; http://php.net/disable-functions
    ( X- {0 r1 C+ N2 ^+ \
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ( \/ |! M* L3 K$ E

  304. 9 \3 A  e8 J" N! i) Z
  305. ; This directive allows you to disable certain classes for security reasons./ a1 m4 ~# i- G. x% c+ S4 q1 c
  306. ; It receives a comma-delimited list of class names., r. _: r# v& y0 n) j6 _
  307. ; http://php.net/disable-classes
    % M7 ~3 Y* U( X7 ~6 K+ V
  308. disable_classes =
    , r, p9 y' v; e3 g4 O

  309. 0 v" o( ?9 Z$ _* s$ Z' d
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in1 M3 g* p7 h& U! w0 J+ x
  311. ; <span style="color: ???????"> would work.
    . p2 ^. u3 B  A; O0 z$ K5 x
  312. ; http://php.net/syntax-highlighting, a6 l; s* g$ G, f( H
  313. ;highlight.string  = #DD0000
    % q. Z4 J* {/ |3 z. Q$ l4 r$ z3 ?
  314. ;highlight.comment = #FF9900
    ; k6 E' n+ h! ^/ i
  315. ;highlight.keyword = #007700* _1 p, F  Q) Q# J  ~
  316. ;highlight.default = #0000BB
    ' j1 g6 V9 k7 Y* D& ?  p
  317. ;highlight.html    = #000000* Z" h0 c* s: d* U

  318. 7 ^" g+ f! O; c7 r/ M. b- z
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    # ^+ A! \! I+ Q
  320. ; the request. Consider enabling it if executing long requests, which may end up+ p( g) W5 M8 P4 S
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    # ~1 C4 P  v( X  I
  322. ; is to disable this feature.
    ; s2 q- r% V8 V, Z! v2 ]7 j
  323. ; http://php.net/ignore-user-abort
    2 L* l# v. z2 o3 z6 R1 A
  324. ;ignore_user_abort = On
    7 ?( E- L8 V% z$ X' D3 l

  325. . M6 p" l6 Z0 C" r. E3 V( d4 l
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    $ v7 {) l6 O/ n
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    4 V. {" I7 F( m  `
  328. ; the file operations performed.3 _0 ]6 s8 T$ i: b/ i
  329. ; http://php.net/realpath-cache-size4 t, E6 v  |, I/ b- M9 D
  330. ;realpath_cache_size = 16k; K" _2 G( v3 W8 A, R- w
  331. 8 O6 J# ]6 l; r8 l$ e- E$ H  B2 P3 O
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    4 R& N# V$ T3 _! h5 t2 l9 I' M
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    6 c/ r# E: z! q* A5 m
  334. ; value.( x( t5 a: F4 }. e% g6 b
  335. ; http://php.net/realpath-cache-ttl
    0 s* ?5 P* T% w) S# k0 p
  336. ;realpath_cache_ttl = 120
    ) s" R1 J  K$ m+ c

  337. 3 Y3 `1 F/ F) w/ V$ {/ S
  338. ; Enables or disables the circular reference collector.
    & E; b1 [% ^4 d7 O0 M1 a# @
  339. ; http://php.net/zend.enable-gc
    # g+ C* t; B! ?! V& o( S
  340. zend.enable_gc = On
    ' N! X/ @( m- }; S9 X* B5 G
  341. 8 H2 K% L0 o; t7 `. r8 z+ \3 _
  342. ; If enabled, scripts may be written in encodings that are incompatible with5 Q) x- N- S  |( A
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such6 W2 L+ u! w# `4 k4 z" c
  344. ; encodings.  To use this feature, mbstring extension must be enabled.- U: R8 P) A+ P3 r, c
  345. ; Default: Off
    8 j; T7 f3 z% m
  346. ;zend.multibyte = Off
    9 o( W, Z2 I1 e
  347. , V$ f( `/ u$ b
  348. ; Allows to set the default encoding for the scripts.  This value will be used6 v4 |! B; ]" r) Z$ S( }& i) w
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    2 l' h$ f" V6 _' r
  350. ; Only affects if zend.multibyte is set.
    $ a  m6 N& ^4 q/ \0 ]1 _% A
  351. ; Default: ""
    2 i0 ?1 d3 x8 A6 c
  352. ;zend.script_encoding =
    4 \+ e- ^5 c7 K. X" Z$ Q

  353. 3 G- P8 ^9 D2 z: V/ P
  354. ;;;;;;;;;;;;;;;;;
    # c& s9 m- N8 _1 h: o
  355. ; Miscellaneous ;
      I& w9 m) d7 Z& O, B
  356. ;;;;;;;;;;;;;;;;;
    % u) Z% F$ G2 t# Z8 |8 K+ m0 S

  357. 3 M' d, c+ d& [5 z& S
  358. ; Decides whether PHP may expose the fact that it is installed on the server+ v1 r1 J) k/ ]# K, R0 f3 A7 u
  359. ; (e.g. by adding its signature to the Web server header).  It is no security3 f3 P9 O, y) g2 a
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    1 ^! A0 ]4 w2 O; G" Z. r7 X
  361. ; on your server or not.
    ; P) ^$ G" P1 z4 d
  362. ; http://php.net/expose-php
    / d9 \6 W- R5 B8 C" y1 {2 \
  363. expose_php = On3 P' ^9 B; v& z
  364. " x  {' {7 v9 ~
  365. ;;;;;;;;;;;;;;;;;;;
    * Z$ ^: d$ K1 D' V( }+ L
  366. ; Resource Limits ;
    - u) |) ]# _* n4 [, p8 v5 \8 |
  367. ;;;;;;;;;;;;;;;;;;;/ S  f6 |7 t. I2 T: \3 v. b& ?
  368. $ P; B2 Y5 N, a7 o9 ]5 d0 }$ W' f8 P
  369. ; Maximum execution time of each script, in seconds; ^8 L' p9 s0 y: R
  370. ; http://php.net/max-execution-time
    5 L& n6 |# T/ |( V; x5 o
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI2 g$ Y2 ^* v3 @: [: i
  372. max_execution_time = 300
    4 _: p2 ]+ U2 \- {8 E( U

  373. 1 n+ F7 r4 n( E  A5 b8 f3 n* X) |
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ; [2 q6 U8 `2 F) U: d$ e
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly7 \8 H. c1 }, X" d0 X2 F
  376. ; long running scripts.. Y$ _7 m! J3 ?
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI- F( u# Y+ s: i% }4 ?% V9 [% e
  378. ; Default Value: -1 (Unlimited)9 ^0 z* D8 d  \
  379. ; Development Value: 60 (60 seconds)2 }% a! u5 u9 G& p
  380. ; Production Value: 60 (60 seconds)
    & s8 L$ C6 k1 N9 G! d' W: V  D
  381. ; http://php.net/max-input-time. @$ d& ?3 d. K8 m# H# M- @
  382. max_input_time = 60
    # c$ D) e, ~7 N; U

  383. # q( t. M% t5 ?9 @
  384. ; Maximum input variable nesting level- j$ b1 j$ L1 f5 N
  385. ; http://php.net/max-input-nesting-level
    ; R9 p6 y' r+ N5 f( C# @
  386. ;max_input_nesting_level = 64$ U4 f2 x" O8 a' f. s$ i2 O

  387. , k' H4 P" Z4 s! n3 S1 I
  388. ; How many GET/POST/COOKIE input variables may be accepted
    7 ?- U0 N' l& p. B
  389. ; max_input_vars = 1000
    " m1 F; m, u+ {- u; |. @' p1 K

  390. 0 J" O+ q' u* a% K0 b
  391. ; Maximum amount of memory a script may consume (128MB)
    4 f  H' g/ S7 E$ K, H  N
  392. ; http://php.net/memory-limit
    ; w9 P5 ~( Y7 ^: h9 o7 x5 Q" O
  393. memory_limit = 128M
    & `% s/ z" `+ A: L3 f

  394. # _1 ]! g4 g2 [  P: n/ a! r
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    * U8 E$ }& j/ `/ x' J, Q& t
  396. ; Error handling and logging ;: S7 ~6 ^- D: L; w( g) b+ L* J4 e4 w
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 B  @( d$ G! D0 P- ]

  398. $ V: ?" ]) V9 O8 p1 D# r: ~
  399. ; This directive informs PHP of which errors, warnings and notices you would like7 \7 W9 k& T; G7 E/ J1 X' Y" i
  400. ; it to take action for. The recommended way of setting values for this
    5 C$ U7 n: B! v% i% ~
  401. ; directive is through the use of the error level constants and bitwise+ j3 B. C; A6 ]7 E5 X: ~
  402. ; operators. The error level constants are below here for convenience as well as+ {$ v& d  P% A
  403. ; some common settings and their meanings.
    % H- R4 \. {* z* @9 [
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    9 K9 X" `% v4 ^% Y5 A
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    4 c& [1 d$ O- z: o
  406. ; recommended coding standards in PHP. For performance reasons, this is the# {6 w0 \3 H: s& l
  407. ; recommend error reporting setting. Your production server shouldn't be wasting- ~+ t/ h* t, L4 e4 b+ d
  408. ; resources complaining about best practices and coding standards. That's what
    * d) T# ~6 l9 S+ g$ @3 T
  409. ; development servers and development settings are for.
    8 l; w8 L& i9 Y# ~9 e. C! N
  410. ; Note: The php.ini-development file has this setting as E_ALL. This/ \! |1 s  k% D4 |5 v
  411. ; means it pretty much reports everything which is exactly what you want during) c& _0 m2 B. S7 w6 _
  412. ; development and early testing.; J, _0 @& v" M+ u. Q6 n0 j
  413. ;
    6 {, ~" X& J: Q% O1 D5 O# a0 p
  414. ; Error Level Constants:, z# r5 Q* U% e" O" D- W
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)9 s4 a# q# C0 C$ k1 o8 d1 m
  416. ; E_ERROR           - fatal run-time errors' T- @! g3 q8 I8 t5 `& H: P7 ~- o
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors( k3 }0 a- k* t5 D
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    9 k/ |& j) Z# h7 R) ?1 a
  419. ; E_PARSE           - compile-time parse errors
    . }3 `& F" W2 f6 {! T
  420. ; E_NOTICE          - run-time notices (these are warnings which often result2 U  w8 I* W9 j4 U; q  f7 p
  421. ;                     from a bug in your code, but it's possible that it was
    & F6 M' b$ E3 J! W2 d- q$ c
  422. ;                     intentional (e.g., using an uninitialized variable and
    ( E, n0 s, D: ^& a
  423. ;                     relying on the fact it is automatically initialized to an; Z( o3 d/ x/ q4 h+ i/ V& S9 V3 K
  424. ;                     empty string)! }& A9 V% L2 R7 `
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    3 K/ U3 d8 d, U+ |
  426. ;                     to your code which will ensure the best interoperability) a5 m+ K* E0 V5 M) `' @+ p' f
  427. ;                     and forward compatibility of your code3 O- T; G- c6 G
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup: ?! P# H/ d0 x. x/ K
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    : ]& s3 g; b& I( L
  430. ;                     initial startup$ ?6 e9 m' f4 @" ^- }- V; p8 n
  431. ; E_COMPILE_ERROR   - fatal compile-time errors+ [7 r  t, f% ~* x0 A' N
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)! N, v% [8 F9 ~5 P/ Y! q5 u
  433. ; E_USER_ERROR      - user-generated error message% W1 {3 c6 R1 a2 g3 @1 N
  434. ; E_USER_WARNING    - user-generated warning message
    4 v. B! ?; J- x
  435. ; E_USER_NOTICE     - user-generated notice message
    * L; F$ ]- ?# Z1 M+ A1 g6 v
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    & g6 r* S; A0 B0 o2 H
  437. ;                     of PHP
    8 M2 ~3 {1 r1 t9 ~+ `2 x) q8 {
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    3 R. W7 }2 p2 u  ]
  439. ;
    1 R  M& Q. w, I' S0 f& C& l
  440. ; Common Values:
    6 `: ]5 ^, ^! ^8 K
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    - o0 k/ w! D0 x$ |" [
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    , w- @8 L/ D8 {" \
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)  M# \  Z$ `/ s' K! v9 i& {9 S/ D' I
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)8 H' \( w' J) @. Y7 V" E
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ( O' x# y$ b1 W) v
  446. ; Development Value: E_ALL
    * _  m- y8 \& \6 _, `
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT  p4 x$ E, x% z6 k; b
  448. ; http://php.net/error-reporting0 R8 K: F3 m- h. y$ [
  449. error_reporting = E_ALL & ~E_NOTICE+ Y7 e6 H! d; Z& E7 s
  450. / z; `8 f  L& |7 r
  451. ; This directive controls whether or not and where PHP will output errors,
    - t4 m6 o/ O1 [
  452. ; notices and warnings too. Error output is very useful during development, but
    ) J$ }0 q( \3 d- R
  453. ; it could be very dangerous in production environments. Depending on the code1 q; o! o/ l6 |
  454. ; which is triggering the error, sensitive information could potentially leak7 ]- E) G" L; k0 i6 R/ |
  455. ; out of your application such as database usernames and passwords or worse.
    2 c' p5 S$ c: k  E/ D5 A
  456. ; For production environments, we recommend logging errors rather than
    6 i1 W0 J+ A% _! Q. K) E
  457. ; sending them to STDOUT.
    3 E7 X, s9 h1 h# S# ?
  458. ; Possible Values:5 w( R# d9 q0 o( E) d
  459. ;   Off = Do not display any errors4 O% }- j+ ?1 m  V9 L
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    2 x( q6 t) c7 J* K5 N
  461. ;   On or stdout = Display errors to STDOUT* V& b& a: G% n6 q3 k
  462. ; Default Value: On2 }5 F8 w. _7 W# P9 i+ Y5 a  E- `
  463. ; Development Value: On
    4 {8 u& w3 P, H  c
  464. ; Production Value: Off9 ~0 @! K' E. l. w/ z
  465. ; http://php.net/display-errors
    & j8 n& N, }/ H$ O: ]0 S! ^
  466. display_errors = On: U/ Z; `/ o5 r2 q
  467. ' [; a6 z& n1 V' p
  468. ; The display of errors which occur during PHP's startup sequence are handled$ H/ q' z  `6 Q! N5 i
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ! W7 z8 B5 Q) K7 L9 z1 P
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    4 U  \0 W, F& A, J, V3 @8 ]% f" j
  471. ; debugging configuration problems. We strongly recommend you5 x. j( S; R! T( n6 @
  472. ; set this to 'off' for production servers.
    ) B, O  {2 M8 r$ ?# e6 g
  473. ; Default Value: Off  U6 P( V+ |9 A2 V; D
  474. ; Development Value: On9 X) n6 I' A! g$ E0 ^% q
  475. ; Production Value: Off7 n7 ~+ P1 n' D: |5 `  h4 `
  476. ; http://php.net/display-startup-errors
    . }& [/ m8 i1 m
  477. display_startup_errors = Off4 a* C2 ]/ c2 ~* Q

  478. & s4 n& ~+ b% Z" _2 ?* {
  479. ; Besides displaying errors, PHP can also log errors to locations such as a8 ]# h2 I- N3 e
  480. ; server-specific log, STDERR, or a location specified by the error_log& `( `- Z. ]. C
  481. ; directive found below. While errors should not be displayed on productions, t! C/ t  `- B, O* ^( j
  482. ; servers they should still be monitored and logging is a great way to do that.* @. _- k7 U5 g! M& Z* h+ l
  483. ; Default Value: Off
    5 D$ c* [+ j/ D" M* r, m
  484. ; Development Value: On' |3 f0 r" ?* A6 V
  485. ; Production Value: On
      s' L; R2 `- d( _+ G- u
  486. ; http://php.net/log-errors
    9 b% v# q% t& ]; z0 d  o6 P
  487. log_errors = On, v5 N/ N% p* K. q
  488. , Z6 w# X  Z- a1 k* O4 W* z$ P3 @: f
  489. ; Set maximum length of log_errors. In error_log information about the source is1 }1 `$ f  Y% n( p
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    . B0 i# O. d  ~3 k5 g
  491. ; http://php.net/log-errors-max-len( A4 L: y5 n+ Z7 ~. z6 g
  492. log_errors_max_len = 1024
    * O; [+ J/ b* N- ^

  493. 0 z& k7 V4 y1 d+ _6 N( z8 m* [2 H
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same# @5 {! A9 C+ I' J2 S$ \
  495. ; line unless ignore_repeated_source is set true.
    1 X+ q& f2 Y/ g2 U% k% r/ L, }
  496. ; http://php.net/ignore-repeated-errors
    # U. K2 I' v4 Q: e4 `# \! F
  497. ignore_repeated_errors = Off
    + b) g( G6 [2 ~% n8 g1 ?" p

  498. , ]" o: [- `( _8 V
  499. ; Ignore source of message when ignoring repeated messages. When this setting8 _" n* d! A. M% R1 Z" n. |  ?
  500. ; is On you will not log errors with repeated messages from different files or9 x& p/ l  X& }! r. l# B
  501. ; source lines.
    " Q4 N  U: N# w' I, |# V
  502. ; http://php.net/ignore-repeated-source0 I. L& {4 y1 @& M, A$ f
  503. ignore_repeated_source = Off
    ; M  T- o* K4 l# {3 I7 m
  504.   J; j$ c5 s! }  E# ?2 w
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ' z$ |) I+ o" e. ?% J. t
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ) k5 A+ b+ a# C4 H( i- [$ h
  507. ; error reporting includes E_WARNING in the allowed list
    $ q+ k8 v7 v  E4 a6 j; S
  508. ; http://php.net/report-memleaks6 h7 }6 L/ ~6 h1 f! [0 E/ W' d
  509. report_memleaks = On( ]; a. m* Y" k
  510. ; G9 X7 p- Z* R0 S3 {0 W
  511. ; This setting is on by default.
    # d. p' J3 P8 G4 [3 f
  512. ;report_zend_debug = 0
    2 `9 U1 w7 V1 _

  513. 9 Q1 B/ B) X+ h0 v$ b3 u* b
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value- t2 n4 U/ e0 q/ f0 |
  515. ; to On can assist in debugging and is appropriate for development servers. It should& U$ R/ {6 K  W: _+ B$ y
  516. ; however be disabled on production servers.
    ' j0 Z5 F" R2 F5 K% ]8 G% l% N
  517. ; Default Value: Off1 `1 o5 X0 q* ~
  518. ; Development Value: On
    5 [7 |7 O5 \+ @  \- O' K9 N
  519. ; Production Value: Off  d' h' U" F+ h2 |  t
  520. ; http://php.net/track-errors7 ?& t$ E0 j5 K0 n  j  V% ^2 ]5 q5 w
  521. track_errors = Off
    ; A4 M# d- W0 W' \& x9 z

  522. , N4 K/ [6 T0 z8 {* C7 x* F
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    9 |' J- T  Q9 J9 O
  524. ; http://php.net/xmlrpc-errors
    - k# `8 @$ ]( h# I4 z0 K2 u, E! V, m7 p
  525. ;xmlrpc_errors = 0
    2 {% ]# g( U3 [2 X6 S
  526. ' F+ f# f; ]/ z! i) U0 {' i
  527. ; An XML-RPC faultCode
    0 v( t9 ?2 V% _. V
  528. ;xmlrpc_error_number = 0% ]6 ?, s+ S7 m0 C3 v( i

  529. # h% [6 [2 c) Q' T
  530. ; When PHP displays or logs an error, it has the capability of formatting the: f8 ?% O- W0 X6 w* t  s3 p
  531. ; error message as HTML for easier reading. This directive controls whether$ ]+ _* }5 a$ A1 V
  532. ; the error message is formatted as HTML or not.
    8 G5 ^$ X1 ~: U6 w
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # k* X4 e2 y- u7 J
  534. ; Default Value: On8 f9 m7 N# o0 M9 h6 y; _
  535. ; Development Value: On
    * c5 p5 D, I( V) J+ B% O* Q2 Z6 {
  536. ; Production value: On  I0 \  h3 r! U1 _0 J( j
  537. ; http://php.net/html-errors
    8 h) x7 t; m, f* x3 O/ s1 Q
  538. html_errors = On
    " Z9 ]& r! L" d1 B3 M# S# g
  539. - V  k& j% l/ {! T+ p6 T- `/ {5 d
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    1 |5 h+ R( l6 C, y" y
  541. ; produces clickable error messages that direct to a page describing the error" j) I, f; P. z' X: g" E
  542. ; or function causing the error in detail.+ J& r% Q* c5 f
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    / V: f1 ]/ Z7 O2 e9 U' P! x+ a
  544. ; and change docref_root to the base URL of your local copy including the
    * n  J: V: ^# J% e
  545. ; leading '/'. You must also specify the file extension being used including( N+ Q. Y9 @; ]
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    8 K, g& p' v2 m% |$ r
  547. ; case no links to documentation are generated.; c. d: e# y- x% M$ m4 N" Z
  548. ; Note: Never use this feature for production boxes.  ^$ p$ H) l4 g' z$ O8 ^
  549. ; http://php.net/docref-root
    2 x1 x; s: d$ u5 L; h
  550. ; Examples3 u9 V+ `: x% H3 H) O% C0 {
  551. ;docref_root = "/phpmanual/"
    , T( x, [' V, t4 S: T5 P+ Q8 d; G" Q
  552. . u4 R$ _  V: h( q2 w/ y
  553. ; http://php.net/docref-ext2 @8 }+ \5 u! c/ z! V  Q7 K
  554. ;docref_ext = .html, F* T0 u" Q0 V# e+ V

  555. 7 _- Q" c$ _& K; ~& B
  556. ; String to output before an error message. PHP's default behavior is to leave9 p3 L8 i6 r5 C4 q1 T" ^% O
  557. ; this setting blank.
    / V* e  G( A( ?+ y+ l  J; p5 j
  558. ; http://php.net/error-prepend-string
    4 C9 X4 M, x3 k) S; a/ b4 g3 _
  559. ; Example:
    + ?% t5 V8 H5 a% k) }
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    % M4 c  Q# a* e2 ?* D0 O* W# g0 T* W

  561. ! I" h9 f* ]% ?8 P9 K
  562. ; String to output after an error message. PHP's default behavior is to leave
    ; ?) D1 [9 P5 d8 \$ \* ^$ G. X
  563. ; this setting blank.# R$ O1 `3 g- c4 q7 I6 Y
  564. ; http://php.net/error-append-string
      a+ L) T2 k: t. [3 ^- T& L
  565. ; Example:+ y$ `! [& `; k
  566. ;error_append_string = "</span>"
    ; w8 `0 s4 X% A: i' c

  567.   Z4 i: [0 S* b9 O9 H! H# M, B
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    , x! K7 R5 n. Z! Y
  569. ; empty.
    ' F/ t/ g# P2 i+ ^2 Z( M  }
  570. ; http://php.net/error-log% z6 n( e' T2 J) c0 `& p
  571. ; Example:6 _; |$ e, f9 _- W
  572. ;error_log = php_errors.log( u7 \5 }. X& l& B# x2 `
  573. ; Log errors to syslog (Event Log on Windows).4 y3 G4 G# z$ W! G
  574. ;error_log = syslog" }3 |  G1 c1 ?$ a. _

  575. 0 r5 S( T0 {8 Z  |, O
  576. ;windows.show_crt_warning& J& c% K2 J  ~6 F
  577. ; Default value: 0
    ; m) Q0 @- j5 T9 y# J
  578. ; Development value: 0
    2 j" o# ~6 H5 J4 v8 R
  579. ; Production value: 0" O5 O5 n8 {1 x/ ~
  580. 0 U% x3 P6 ^: J+ k$ v- d9 T
  581. ;;;;;;;;;;;;;;;;;
    : q7 P' F5 B2 r9 m
  582. ; Data Handling ;0 h4 r9 n9 E& p. X/ n
  583. ;;;;;;;;;;;;;;;;;
    7 @& R0 |/ `0 @

  584. 7 b5 L0 l2 K0 n% I( {
  585. ; The separator used in PHP generated URLs to separate arguments.
    & k" _+ V  g# N" q
  586. ; PHP's default setting is "&".
    8 m) h9 k( Z7 N/ K0 ~
  587. ; http://php.net/arg-separator.output* {  k% Y8 k& L7 R+ A
  588. ; Example:) Q8 v# ]4 R' v& G
  589. ;arg_separator.output = "&amp;"
    + m& G/ I5 f# t( c% c
  590. ( ^, y* [: g+ h
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ( U: O3 W) Q  }& q9 |+ ^( C
  592. ; PHP's default setting is "&".2 [6 k/ h/ ~4 L: |4 o* e2 N4 \
  593. ; NOTE: Every character in this directive is considered as separator!9 o4 g# ^% S" B
  594. ; http://php.net/arg-separator.input
    : N! T/ Y/ b( O) f( @/ @/ V: s
  595. ; Example:7 o6 A' [& N3 Q2 [% D2 h( N
  596. ;arg_separator.input = ";&"
    $ t( K% i0 G0 ]* c/ X

  597. 3 C4 c/ G% V! ?+ Z  ]: |! u) ~6 q
  598. ; This directive determines which super global arrays are registered when PHP' R( S( I# p+ [
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    " v( B; T+ c9 r& p2 E2 j
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty- B& V5 ?& N/ L5 c
  601. ; paid for the registration of these arrays and because ENV is not as commonly/ e3 T1 y5 G5 M/ y
  602. ; used as the others, ENV is not recommended on productions servers. You
    9 h$ U, m2 R; n: k1 [
  603. ; can still get access to the environment variables through getenv() should you
    " R5 @# J" e4 X5 W
  604. ; need to.) [3 J/ Q, j# t. ]+ \  b4 y
  605. ; Default Value: "EGPCS"; p" T( z( p. ?# z% ]3 E$ @
  606. ; Development Value: "GPCS"
    4 d6 M& @* ^& y0 Q
  607. ; Production Value: "GPCS";& M8 V2 H& m3 x3 m8 d$ ]- \
  608. ; http://php.net/variables-order
    : O# h# O. s! F' S2 [: N+ H
  609. variables_order = "GPCS"
    6 Z8 K1 ~& h5 Y6 \% x" B

  610. 4 t/ ]9 G( K% C& d1 C/ x
  611. ; This directive determines which super global data (G,P & C) should be6 ~) N3 {- C3 p
  612. ; registered into the super global array REQUEST. If so, it also determines/ G. {4 ]8 ]/ y: v
  613. ; the order in which that data is registered. The values for this directive
    , O, V4 M& r2 J' a' m* y" [7 o" b5 r
  614. ; are specified in the same manner as the variables_order directive,+ {# T. Z& M8 M1 J5 ]5 z% a
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    / P. E+ `# j* W. b; n1 n- X* X
  616. ; in the variables_order directive. It does not mean it will leave the super+ u6 R  O4 U9 b2 x# }
  617. ; globals array REQUEST empty.
    * u: I6 r3 |4 |1 ]' o3 @# e
  618. ; Default Value: None
    ) ~3 W1 v# n8 G7 ]7 ~6 B
  619. ; Development Value: "GP"0 I- W& g1 p3 E6 J  V: i
  620. ; Production Value: "GP"
    ! j; R7 y% T3 n, @* G$ x5 u  `. x
  621. ; http://php.net/request-order; T, `1 F0 o0 j" f! N) G
  622. request_order = "GP"
    5 p, b9 y; A0 X# g9 j

  623. 2 H, ^9 W' f+ f2 Y, e+ K) [
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    * h6 _8 N+ J* \
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    7 ]2 @  s9 K' D
  626. ; is invoked. $argc contains an integer representing the number of arguments
    $ m; x: A% \# j
  627. ; that were passed when the script was invoked. These arrays are extremely
    ( F9 e7 n! U. X( G& I: H" l
  628. ; useful when running scripts from the command line. When this directive is
    3 S$ b4 @) K+ D6 D! A  t+ o/ c
  629. ; enabled, registering these variables consumes CPU cycles and memory each time5 `2 W) D& H0 v. c% n, |: z1 s
  630. ; a script is executed. For performance reasons, this feature should be disabled
    5 z7 F5 r! D; P4 R- b
  631. ; on production servers.; ?3 t+ d. c7 Q" g2 q" h/ ?; L
  632. ; Note: This directive is hardcoded to On for the CLI SAPI) c$ v/ Z' n$ ^4 w
  633. ; Default Value: On
    # |) [5 `/ ^# k0 y* m- U, ^0 [
  634. ; Development Value: Off
    , w# N* ^) e' `5 S" V9 a0 k8 y
  635. ; Production Value: Off9 F/ N; [5 j0 \2 u
  636. ; http://php.net/register-argc-argv
    3 Z) v! @& D' R) ^) D5 k7 Q% N* G" H
  637. register_argc_argv = Off# O9 o7 p% O# L, }3 |5 R4 r
  638. + u  ?. h& |4 ?% {6 `* H7 _
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're- s- S3 A2 f5 X. N- L
  640. ; first used (Just In Time) instead of when the script starts. If these3 l" `6 i) A; j. a) Q1 Z* _
  641. ; variables are not used within a script, having this directive on will result
    ! j7 {9 L3 A) ]
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled/ ^% ~7 Z, E3 P7 l7 r% Y" y
  643. ; for this directive to have any affect.* q: `+ H) ~5 R2 M
  644. ; http://php.net/auto-globals-jit$ x( G! P4 I' \% c; Z/ x# ~# w
  645. auto_globals_jit = On! o9 ^( N+ `$ z5 y

  646. & K4 F% V9 p% e9 t) A
  647. ; Whether PHP will read the POST data.
    7 X# X( U5 K5 T2 v9 q) G
  648. ; This option is enabled by default.6 Y% T3 n! ^( \; H
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ) L6 t5 q  {: F" ]3 H
  650. ; and $_FILES to always be empty; the only way you will be able to read the+ B8 O3 ^. D4 r/ |) Y; w
  651. ; POST data will be through the php://input stream wrapper. This can be useful+ ~8 i' g7 c" [" ?% S: b( q' r1 y
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ) f  r# z# [- h: j
  653. ; http://php.net/enable-post-data-reading
    4 c% l2 w9 c( g1 U7 F7 _$ l6 G3 ]
  654. ;enable_post_data_reading = Off$ ^8 J( w6 D+ V+ Y( Y
  655. ' o( E3 m0 R  Y% H& U% y* C! V
  656. ; Maximum size of POST data that PHP will accept.* G+ G! q) [: ?7 ]9 {) Q+ ^
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading; c5 J: U7 f  ?& ~7 ?" P3 j( f
  658. ; is disabled through enable_post_data_reading.6 d  v# x/ r8 y, D8 E8 h$ W% x
  659. ; http://php.net/post-max-size
    . K% g. u- T: b+ H2 G3 M: v% w
  660. post_max_size = 50M7 W/ M. n8 C- A' I

  661. 9 c! y: ?: G8 J  u* ]
  662. ; Automatically add files before PHP document., U5 u, [8 S6 _6 f4 {4 E
  663. ; http://php.net/auto-prepend-file
    0 R! v# h# u  G* @6 n; d+ q+ [  R
  664. auto_prepend_file =
    / \" q" z' P; C1 O5 }. T3 }

  665. 8 F# J( F. E% Z
  666. ; Automatically add files after PHP document.
    0 W; N+ V* ^2 E6 p9 F. ^( X
  667. ; http://php.net/auto-append-file
    1 ]# v0 r3 p( ~2 Y5 c2 B$ O
  668. auto_append_file =
    3 l! X6 M; @9 D% }- t: S

  669. % e# d1 s1 c- E
  670. ; By default, PHP will output a media type using the Content-Type header. To' [; H. e' S! Q; K- b% Y; }
  671. ; disable this, simply set it to be empty.
    , E% w' n& W" _+ C. s
  672. ;& |- J. B# C" V# v
  673. ; PHP's built-in default media type is set to text/html.
    ' n0 ~7 U4 n) S6 x
  674. ; http://php.net/default-mimetype
    7 j6 O; L3 f5 g0 x
  675. default_mimetype = "text/html"* }# X; c) Y, v5 x& W$ h

  676. 6 V4 M, B& g: j- v! P5 t8 M9 A
  677. ; PHP's default character set is set to UTF-8.
    ) u) y  h: [9 D, @; L
  678. ; http://php.net/default-charset
    1 s$ j7 `; w# a4 H
  679. default_charset = "UTF-8"3 |. ~6 ~3 o9 F2 D# X% M+ {
  680. $ h* G9 R, T3 {# S& ?; M3 N0 H7 x( |
  681. ; PHP internal character encoding is set to empty.
    / _$ L2 M; n+ Q5 j1 t5 v
  682. ; If empty, default_charset is used.1 d. G4 _& B  M, U% c
  683. ; http://php.net/internal-encoding
      Q. M& s% p- B1 S1 }
  684. ;internal_encoding =
    8 n  G3 I/ J2 p# a

  685. ; n/ x/ f. ?3 H* V; T: k. P5 J
  686. ; PHP input character encoding is set to empty.% G' b$ e: I2 L* K
  687. ; If empty, default_charset is used.
    # w4 Y7 W* g6 X1 c$ K
  688. ; http://php.net/input-encoding: Y9 d" R8 d0 `7 }$ W  ^6 _, X
  689. ;input_encoding =
    ! f! X. |5 R7 ?6 q! O

  690. , R' m# T$ c2 L5 u2 i1 _
  691. ; PHP output character encoding is set to empty.# r  G( u: o) L! z, y) [: C+ d, R) H
  692. ; If empty, default_charset is used.
    $ A" I+ t& q% e8 i% ~6 s
  693. ; See also output_buffer.: J0 {$ Y8 C" {9 f! K
  694. ; http://php.net/output-encoding% B+ G& P2 f! L& I
  695. ;output_encoding =
    $ l% a- Z" z6 E- H+ V
  696. 4 `+ i  E+ `% r8 h5 T
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    6 ]4 K% V  e7 q- S
  698. ; to disable this feature and it will be removed in a future version.; e) [% W. _; r5 |
  699. ; If post reading is disabled through enable_post_data_reading,
    ) |+ q: ]* J7 R/ t! E  s0 g
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.  E  w# ~* a3 `. ]
  701. ; http://php.net/always-populate-raw-post-data& @/ s9 |# M  n9 v- R  t4 y
  702. ;always_populate_raw_post_data = -1
    % K5 o( g. t2 C' V" A- _

  703. 8 v) U" Z; Y' f% p/ x2 i6 p
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;9 `+ W% q! t2 ?/ ^7 |8 |: M, `9 T
  705. ; Paths and Directories ;
    ' P; A9 f* {! ^6 s- P
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    - V! |/ a9 \! ~: \; ]

  707. . s; S  C/ M+ m! T, B1 `6 p
  708. ; UNIX: "/path1:/path2"- C. i0 q! J- B( {, c* @
  709. ;include_path = ".:/php/includes"; s+ c. ?+ I2 k% i1 c* g- s
  710. ;
    : k# `- K7 k. _8 i* V* l3 @  y1 g
  711. ; Windows: "\path1;\path2"
    ! n+ z6 K1 [0 `; _2 D3 U
  712. ;include_path = ".;c:\php\includes"* K& M. F8 `1 F+ y  B
  713. ;+ @( K: H/ }/ z& x
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"7 m* k+ o& x6 V# `8 _  d6 C1 P
  715. ; http://php.net/include-path1 I$ w- X* Q3 ?" G
  716. + ^( c' L4 Q4 p3 F3 B
  717. ; The root of the PHP pages, used only if nonempty.( ^6 m( g: ]- J8 S
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root' c; u* E/ F% B' X: D& C9 `" x
  719. ; if you are running php as a CGI under any web server (other than IIS)- N6 h" t6 ]8 D7 b: f7 i# g
  720. ; see documentation for security issues.  The alternate is to use the  ~5 y+ U9 p) s7 y( {& S- e
  721. ; cgi.force_redirect configuration below& t) x' w! s9 D- U
  722. ; http://php.net/doc-root4 J+ U$ I& ]2 f) Z% [3 H
  723. doc_root =, V) p: t4 i9 \( F6 _9 F
  724. 1 g8 p- i: S; Y9 {. \
  725. ; The directory under which PHP opens the script using /~username used only0 s; T6 q9 q& R2 Y/ ~
  726. ; if nonempty.) k4 l* d  @  Y" z; a* @0 h' t
  727. ; http://php.net/user-dir) c+ _/ V2 b# U3 }7 }' T
  728. user_dir =
    9 K  U* I% D9 A* \+ C. y; k  p

  729. 1 M  n0 `. h' [: N- S
  730. ; Directory in which the loadable extensions (modules) reside.
    6 R% l; W! @( e8 c! ?7 s0 ?- P8 e
  731. ; http://php.net/extension-dir
    / G7 s  f! h6 f$ Z5 V
  732. ; extension_dir = "./"
    ! G7 A% Y# @0 V9 a
  733. ; On windows:' o+ n- C8 d) V  Q" F# N! p
  734. ; extension_dir = "ext"
      o% O. D" d6 `- ~0 f& L( N

  735. ! r  q$ k9 M+ y7 o
  736. ; Directory where the temporary files should be placed.
    4 E; s' H# n! D- X% o
  737. ; Defaults to the system default (see sys_get_temp_dir)# }8 O1 u$ o6 h# A  z  [, J
  738. ; sys_temp_dir = "/tmp"
    ) N- v% }! E2 H6 w8 ]; k
  739. ) U; k! F; [0 B! ^& y% ]; S9 k* W
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work1 y& m% V8 Q, j" Z1 ]) G: e
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
      x  a7 H5 Q" f/ V$ j% e1 i7 j
  742. ; disabled on them.
    9 Y5 J4 I. L; H7 S, P" q
  743. ; http://php.net/enable-dl
      k) |2 D% X* f0 b& S
  744. enable_dl = Off# |7 z) |+ f. L0 n' N, t1 N  e

  745. ; J1 B- ?4 ~3 p7 e
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under0 M( L7 @  {/ D: p) M0 x0 v
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can9 j% z6 m  G: O
  748. ; turn it off here AT YOUR OWN RISK
      l) {1 Q) W" ]( O
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    : b% C0 I/ t6 m% m
  750. ; http://php.net/cgi.force-redirect
    % S% q1 P+ ?" t
  751. ;cgi.force_redirect = 1. o1 A7 I. \. J+ }

  752. 0 S& ]4 g. G6 d: V3 i
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with$ W. N% K; S/ P1 l
  754. ; every request. PHP's default behavior is to disable this feature.  e6 D' \, k: g5 k$ k5 D# V9 o9 Z
  755. ;cgi.nph = 1
      g) o  q* `- ]4 {
  756. ( m8 {% x* A& Z7 i" B
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape" s8 a; z# B# J, K) p3 ]
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    7 p: w' Q4 @* g/ c& N4 A
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY* Q9 I% Z( O% x% e$ \; Q
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    # ^3 k2 c) z+ v+ G8 C5 R/ i
  761. ; http://php.net/cgi.redirect-status-env
    . y, k! L% Z. W& d; }6 n
  762. ;cgi.redirect_status_env =
    & u  h! ~2 r. d( n
  763. , R1 m2 y, {% h1 @) d" @
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's  v" i+ {' t4 K' A! W0 e. I
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok3 A% T$ B7 E/ [. j# @! b5 u( h7 z
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting+ V. a6 o/ b7 _1 r" V
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    $ c8 o# A4 J4 }- T- Q" s/ q* d
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    4 i1 h# @$ {$ U. Y9 M
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.; ], R+ r8 \  U3 H6 N# @; c! Z
  770. ; http://php.net/cgi.fix-pathinfo
    6 {4 w! {% u- ]
  771. cgi.fix_pathinfo=1+ A* b, y! @3 T3 A3 ]) e& J

  772. $ B1 D) f5 p# G' j& _, h0 w& A0 t
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside( ~9 N& Q- i9 Q
  774. ; of the web tree and people will not be able to circumvent .htaccess security.5 i1 r7 V1 G1 n) Q1 Z1 Q" ^
  775. ; http://php.net/cgi.dicard-path& E5 n$ _# M+ n/ [- m
  776. ;cgi.discard_path=1# x$ m. r& n( u$ `( Y
  777. " L/ N7 D3 ~, |5 r* C6 ^, z
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate9 m3 B0 j0 E% W2 y" H
  779. ; security tokens of the calling client.  This allows IIS to define the+ s0 {. j% p% Z' x" T# c1 K7 f3 z* p
  780. ; security context that the request runs under.  mod_fastcgi under Apache" F/ R, ?; H. n1 l
  781. ; does not currently support this feature (03/17/2002)
    - A1 r" A2 o. p( ?
  782. ; Set to 1 if running under IIS.  Default is zero.1 t' U9 r  Q% C
  783. ; http://php.net/fastcgi.impersonate
    " x# h5 m, U' K( S  f8 \$ s  {
  784. ;fastcgi.impersonate = 1
    2 E, S0 G; L. ^- `- I
  785. - V* |* W$ X6 S! B, w' _" R( }4 }
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    3 D, _: s% ?( o+ E" \  p
  787. ; this feature.
    & p/ r8 Y- I/ R) O7 n
  788. ;fastcgi.logging = 09 C# P; w2 R" B" v6 i! G

  789. 4 Q* K0 g5 t. i4 @
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to2 q2 F+ L" V7 b- a3 [: d" o2 O
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    . Y: |* l% C+ U. w1 N
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    ( P/ F+ \* z/ E% e2 \
  793. ; RFC2616 compliant header., J7 j2 v3 v" a  b8 r
  794. ; Default is zero.; @& I" p% H3 d- v& x
  795. ; http://php.net/cgi.rfc2616-headers& ~" \' L: R) t1 t6 }
  796. ;cgi.rfc2616_headers = 09 R: }1 ^5 E" q5 }& o

  797. 2 T" `2 F* y. h1 ?
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    8 J! _2 C7 n0 K' ^/ U
  799. ; (shebang) at the top of the running script. This line might be needed if the8 @" d; }* Z' Y/ w
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    " B: w. J* n* M& \- k" D7 L
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ' A) T9 {+ U1 ^# i! ?$ X
  802. ; http://php.net/cgi.check-shebang-line
    , E6 E$ d5 i4 \- C
  803. ;cgi.check_shebang_line=1
    * r) V1 d$ j7 e, t1 `

  804. 8 o7 ]+ V" ]7 @- S% m
  805. ;;;;;;;;;;;;;;;;; [" b/ w  t- Z3 q9 U0 \
  806. ; File Uploads ;
    * \  C- T& c4 J7 Z  r0 I( ~
  807. ;;;;;;;;;;;;;;;;
    4 X$ v: b6 ]/ N% p6 O* w

  808. , {9 F* [9 k2 W0 I6 x: G
  809. ; Whether to allow HTTP file uploads." J, q; S$ D6 I6 p* ~) {
  810. ; http://php.net/file-uploads% a5 ^4 W; B  ]' Q1 I! K9 d
  811. file_uploads = On
    . C, a+ r5 S  I8 _5 ^% s( v- f5 z6 t& A
  812. 7 t8 A# }& R8 H
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    4 @+ j% W3 n5 j* Q; ~
  814. ; specified).
    ; H" _5 d( A  f4 |+ u$ Z
  815. ; http://php.net/upload-tmp-dir! q! V" S1 k5 ~1 l9 D. v
  816. ;upload_tmp_dir =$ I1 T/ V" C# U9 V; [/ d$ n, E

  817. 4 w, |5 }/ [2 F; Y( R
  818. ; Maximum allowed size for uploaded files.
    7 f7 {' E6 ~6 @7 @; v: o
  819. ; http://php.net/upload-max-filesize+ p  G! ^0 X& E
  820. upload_max_filesize = 50M
    % ]2 H: V' U! N7 ]& p5 T
  821. / A. ^+ I4 E2 v  X8 s
  822. ; Maximum number of files that can be uploaded via a single request6 O& W: {8 `4 ]5 ^
  823. max_file_uploads = 20
    3 O  w5 n1 \. E( ~

  824. $ C( J4 }5 ?* A. c
  825. ;;;;;;;;;;;;;;;;;;
    $ \* p/ W; y7 C6 M- A0 }8 X
  826. ; Fopen wrappers ;+ ?1 N9 z* O' X( k% W
  827. ;;;;;;;;;;;;;;;;;;9 Q8 }+ l, E, R8 H5 t, i; k

  828. 4 t$ A1 N5 d( i1 ^! L- |
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    2 r8 s! B* Y+ x' c" l. b
  830. ; http://php.net/allow-url-fopen- |2 e; u5 Y4 T& `
  831. allow_url_fopen = On
    ! o& }4 @1 c( l
  832. # O0 c* ]4 I' E& {
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ( [6 J/ z; t3 v
  834. ; http://php.net/allow-url-include
    4 h. r, E) R1 f8 n/ Z$ C& I, |
  835. allow_url_include = Off
    , G3 A# U* t) p: W# f

  836. - P; L1 U- d: M7 k" o
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    + t6 I" U9 o9 q' L
  838. ; for this is empty.( Q9 Q2 g; K4 O- `
  839. ; http://php.net/from
    0 g/ R: x" \7 Q6 N% v
  840. ;from="john@doe.com"4 n! _9 _9 D: I( [. q
  841. 9 S9 I4 Z0 m' A5 @
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    ' r7 c' T* G0 @; d* C. a
  843. ; http://php.net/user-agent: v" i. [: w. p; N4 o- x" L- P
  844. ;user_agent="PHP"+ c3 P0 ~3 `( l8 B0 }( U
  845. # x! i  g4 ~( U
  846. ; Default timeout for socket based streams (seconds), s! b. d! G( ^. L# i. s
  847. ; http://php.net/default-socket-timeout
    3 K2 _. G) v+ f0 a; O
  848. default_socket_timeout = 60
    $ n8 x: i6 `9 S4 i3 C+ C5 ?

  849. ! o7 A1 S2 G1 Q( F& [2 d1 F! \" k7 t
  850. ; If your scripts have to deal with files from Macintosh systems,
    . A  T% _; ?! b& z; H4 z
  851. ; or you are running on a Mac and need to deal with files from* j( W/ X0 v# o3 p" }, [0 K; g
  852. ; unix or win32 systems, setting this flag will cause PHP to1 H- m! T0 n9 ~. b8 X. m2 [) O
  853. ; automatically detect the EOL character in those files so that; ~% O5 H# x' O3 i5 X% c3 ?. ~( d
  854. ; fgets() and file() will work regardless of the source of the file.
    3 ]4 |* A6 \2 j- `
  855. ; http://php.net/auto-detect-line-endings
    5 T& B6 k4 A% f& r6 U- R
  856. ;auto_detect_line_endings = Off+ u1 B$ i/ P, i! y# ^
  857. ( T# d" r/ o/ G# w9 x  R/ |
  858. ;;;;;;;;;;;;;;;;;;;;;;8 b, {$ D0 d. h' q) I/ K  F
  859. ; Dynamic Extensions ;
    & ]% R' c8 U" ^) V
  860. ;;;;;;;;;;;;;;;;;;;;;;
    % n* y! q; H* J% r( R: F  e% \
  861. " ?1 z3 k" _# L  G" U
  862. ; If you wish to have an extension loaded automatically, use the following3 U% b1 E- S3 d0 X" x  E
  863. ; syntax:  I% D/ J, \, [' U5 [- i
  864. ;4 S0 c0 y6 B; d
  865. ;   extension=modulename.extension
    ' n+ X0 x) `# @; \9 b7 a; M
  866. ;
    - L9 X5 P: A1 M7 Y6 X9 W& \
  867. ; For example, on Windows:
    0 ]8 d8 T( f" n
  868. ;) y% k. L* k4 K% ^
  869. ;   extension=msql.dll* _2 V2 i% M9 I9 j: x
  870. ;
    2 o; V" ?4 @4 r" D+ y- |7 r
  871. ; ... or under UNIX:* B+ J' i: V7 O$ b$ D
  872. ;
    ; {- y, O9 I, `
  873. ;   extension=msql.so# b3 z4 b/ G4 v9 C7 a/ ?
  874. ;
    3 A+ x* ^' ?" D8 @
  875. ; ... or with a path:6 r1 ?# o% k# Y/ o" }
  876. ;
    / N) j5 P! s; y5 ^$ {
  877. ;   extension=/path/to/extension/msql.so* C) G+ m. {+ n0 h+ S( A) E5 s
  878. ;
    - T+ `* p' z" C5 D  G5 l8 E8 {; `
  879. ; If you only provide the name of the extension, PHP will look for it in its& W- B' @7 j6 B
  880. ; default extension directory.# G. L2 m" M$ k4 k$ m
  881. ;3 S1 P, l" Q. v
  882. ; Windows Extensions
    ' H. e7 J  _. u- m# I0 a6 R5 v
  883. ; Note that ODBC support is built in, so no dll is needed for it.9 p0 Z4 M' ^4 h4 _3 T- O4 S2 m
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    0 I, h* Z; \3 c5 a! X, F
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    9 q/ h# l/ X: y0 Z
  886. ; Be sure to appropriately set the extension_dir directive.
    7 |! q9 l- c% a% P4 s7 f$ g' }2 \
  887. ;6 o, Z! C) A% p5 U7 |* e
  888. ;extension=php_bz2.dll
    5 \4 R6 z  t+ H! k! ^
  889. ;extension=php_curl.dll5 c' e. u* V) i9 l
  890. ;extension=php_fileinfo.dll. B) Y9 A1 H1 o2 @: j$ D
  891. ;extension=php_gd2.dll* C) ^1 }( C9 l! B5 s
  892. ;extension=php_gettext.dll8 r* V3 Y; e2 B' m; j1 |
  893. ;extension=php_gmp.dll, I, T/ {( @$ ?- m7 O4 m% n
  894. ;extension=php_intl.dll
    + P$ T3 }  v; `, R
  895. ;extension=php_imap.dll9 z# e2 a. z% u8 f5 U/ ^3 i2 T
  896. ;extension=php_interbase.dll$ M6 K. [) W9 t7 M) Q
  897. ;extension=php_ldap.dll
    + ^9 k" S5 N! b8 m
  898. ;extension=php_mbstring.dll
    3 c* @0 w% q6 C! P% Y
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it5 c- P* P3 Q; f' R( V9 P1 O5 |
  900. ;extension=php_mysql.dll
    * B: ~9 \/ l. l/ [3 f2 A. b
  901. ;extension=php_mysqli.dll
    & B/ b0 z" r: U( ?2 v' r& \1 v
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client& Y$ |; B" Z1 B2 w
  903. ;extension=php_openssl.dll8 m+ {3 B9 B9 r  i3 n, d3 p2 _* c
  904. ;extension=php_pdo_firebird.dll
    / r. F" [! F) Z5 z  f, r& v: I
  905. ;extension=php_pdo_mysql.dll5 s7 v/ }1 `; K
  906. ;extension=php_pdo_oci.dll9 b, h$ k/ Y' X7 L6 H: s
  907. ;extension=php_pdo_odbc.dll
    , @+ {3 }8 N! w2 b6 Y: t7 T
  908. ;extension=php_pdo_pgsql.dll
    2 V6 e; d8 r( ]/ _0 E1 J- W9 D
  909. ;extension=php_pdo_sqlite.dll. g: \$ j7 l* f2 M/ @  P* k' `
  910. ;extension=php_pgsql.dll3 r8 m6 R2 q6 X  P" A* _9 I
  911. ;extension=php_shmop.dll5 J- W8 [$ Y* N; O) g1 p  b( g/ f) E) e

  912. % A; a) K! a3 V8 w- [" O1 h
  913. ; The MIBS data available in the PHP distribution must be installed.
    6 [2 s7 d- M2 K9 d/ }! D7 S
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    5 }6 a, V, @$ U  d0 Z+ A  t
  915. ;extension=php_snmp.dll/ d5 J  v3 X. G2 y. f

  916. 2 g* W+ v0 `: z* l$ t& P, \
  917. ;extension=php_soap.dll* u3 t- @; @, A
  918. ;extension=php_sockets.dll
    $ h( z, @& H0 n' G4 w1 T: O0 o& e
  919. ;extension=php_sqlite3.dll
    1 p  u  N, q* }: v1 L
  920. ;extension=php_sybase_ct.dll
    , L2 b" ]8 a0 s7 r  ?. W2 o
  921. ;extension=php_tidy.dll
    / J( G2 F3 |  Q
  922. ;extension=php_xmlrpc.dll# |$ P8 @4 e5 g
  923. ;extension=php_xsl.dll' k2 X) Y' L6 Z/ r

  924. ; q) ^- L9 u) |9 ~
  925. ;;;;;;;;;;;;;;;;;;;
    + Y6 G& Z$ R) m( s
  926. ; Module Settings ;( z3 r5 x% F2 ~- }: \3 o
  927. ;;;;;;;;;;;;;;;;;;;
      B0 K  ^& L8 \) \3 K# x7 L! i
  928. ) i, v: `# `7 e7 q7 v# E  i" J
  929. [CLI Server]
    5 n: S+ `: M" h. @( E
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    - B+ L8 w) \4 `. o. |. k
  931. cli_server.color = On4 o7 N/ T% {  m6 f

  932. & B5 K' a; I% j6 J5 Z* y' L$ s# o
  933. [Date]4 P' A& Y7 V2 T$ ]
  934. ; Defines the default timezone used by the date functions
    * T, d  `) N' g# Y
  935. ; http://php.net/date.timezone" M/ R  @0 L0 l1 l7 H
  936. date.timezone = PRC6 U" \1 {! O, P# C* O
  937. 7 o3 B9 c6 y7 I; V
  938. ; http://php.net/date.default-latitude
    8 C/ `3 H4 L. l) D
  939. ;date.default_latitude = 31.7667$ y; f7 j7 T4 g1 w  D9 P

  940. & q' ^) j5 _; s+ i2 Q
  941. ; http://php.net/date.default-longitude
    # e; t- l! [4 D
  942. ;date.default_longitude = 35.2333+ C. a9 {8 B5 ]5 e7 j' C$ y: u
  943. 4 L0 @& j7 S" B  z! \' o& O+ A
  944. ; http://php.net/date.sunrise-zenith
    % ]$ _2 ]; a  x: {4 ^
  945. ;date.sunrise_zenith = 90.5833330 K0 L" t* w3 g1 H* v8 V

  946. 9 [4 m1 u6 Z" L% O; J( @0 ?
  947. ; http://php.net/date.sunset-zenith
    # y/ ~8 h+ U( G
  948. ;date.sunset_zenith = 90.583333
    1 z$ {( l# x5 y% M

  949. ! h2 A9 j" v2 R# P. j
  950. [filter]
    ' Z$ c. @0 }9 q- G& i; _  W
  951. ; http://php.net/filter.default  z3 c# C( Z- \6 k, B: Y7 V
  952. ;filter.default = unsafe_raw, {  w! ]8 Z: l  h
  953. * j' l7 h. y+ Z- N5 {, t7 P
  954. ; http://php.net/filter.default-flags
    & s* I* V: ?: W# d) x* b& |! x
  955. ;filter.default_flags =
    " @" R3 e: n/ P6 l. L
  956. ; _8 d$ U. O+ _& _$ I0 I5 L
  957. [iconv]& k" U- U& r* M0 s
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    2 F& c4 Z  ]! A1 |$ U3 E0 y
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.2 d8 B0 ~- ]3 G8 ~
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding4 b& M. I! p4 t+ r
  961. ;iconv.input_encoding =
    $ }9 g! k0 Z- x+ l1 J. B% [
  962. # c0 [- o& @, _* `' y
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.) ~2 _8 q$ |& q* v! p
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    " r" @; i% J8 X/ u. c/ W7 h
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 n. X. c% _0 [# B, a
  966. ;iconv.internal_encoding =/ C+ h* Q* x& x& \! g8 G
  967. # s, D$ t, g6 e: V, V
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    1 }& t# [# X4 I# I3 p( p8 w
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ) u% I7 l* {8 t
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding8 g+ }  q+ `1 R* ^* ]
  971. ; To use an output encoding conversion, iconv's output handler must be set
    ; A8 ^5 ]& Y4 w+ j" |& X, u
  972. ; otherwise output encoding conversion cannot be performed.
    5 }" z4 z/ @# Y$ O1 m
  973. ;iconv.output_encoding =3 S" ?) N7 i: p0 {% O- E% M

  974. ' Z2 e6 l0 V, z- A
  975. [intl]
    ) L, v# c# S  }
  976. ;intl.default_locale =) v2 {) F9 [- c& f( c& G. w$ V
  977. ; This directive allows you to produce PHP errors when some error; z; C/ O! @% C7 U: {. G# t/ e
  978. ; happens within intl functions. The value is the level of the error produced.
    ' D' S% g, G8 U6 E
  979. ; Default is 0, which does not produce any errors.
    ; Q7 l, u3 d) _' P
  980. ;intl.error_level = E_WARNING0 G2 H3 S8 C( M* c' _
  981. ;intl.use_exceptions = 0
    0 [# s  }5 F! v( Q
  982. 2 w4 n& V! U3 ~  G7 N
  983. [sqlite3]9 _; c! t( ^. V$ ]7 p% J: c1 }
  984. ;sqlite3.extension_dir =
    7 w( b3 U5 Y1 i$ }9 E
  985. 4 y7 P7 ^4 q5 O0 F2 A: D. g& c% c
  986. [Pcre]- ^1 K6 J# X2 F% }
  987. ;PCRE library backtracking limit.0 C2 B1 X( L: b2 q$ {/ O) G
  988. ; http://php.net/pcre.backtrack-limit7 A4 t; v$ U8 m( ]
  989. ;pcre.backtrack_limit=100000
    $ G' S; L* o: O; M% @3 H

  990. 5 C8 {; I8 Y! p% e9 F
  991. ;PCRE library recursion limit.
    4 R$ A9 ~3 U' ]( R, T8 L
  992. ;Please note that if you set this value to a high number you may consume all1 H0 i- N) j1 V6 y! w
  993. ;the available process stack and eventually crash PHP (due to reaching the
    + @7 \7 M  s* N& r4 R" E& r
  994. ;stack size limit imposed by the Operating System).
    # N, {' V' E0 l' }
  995. ; http://php.net/pcre.recursion-limit2 y9 Z. z* P, {" Z% f; E  _3 U- U
  996. ;pcre.recursion_limit=1000006 j! R* d) M$ I  `  W( d9 @7 u( W
  997.   \! N7 z, N  r! C* |
  998. [Pdo]- t+ e8 O8 h* s& p" r7 p" f, m
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    2 u  A: \/ |" z  \
  1000. ; http://php.net/pdo-odbc.connection-pooling; F; i* m1 h4 F4 N
  1001. ;pdo_odbc.connection_pooling=strict; h& b+ M. {, t% h9 @% k

  1002. ; j3 C1 K8 l0 e# t. u
  1003. ;pdo_odbc.db2_instance_name4 g3 u/ u6 ^( ^" x3 z
  1004. ) h" _5 A6 O  D9 `7 w5 I
  1005. [Pdo_mysql]5 Q8 Q2 @0 ?9 w: o
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 e" h6 U' I% U/ ^, I* k* E
  1007. ; http://php.net/pdo_mysql.cache_size
    ' C' u! O6 t/ |2 \4 T; S. d
  1008. pdo_mysql.cache_size = 2000
    - p: M# S6 n3 A

  1009. - V# G$ A% M1 [  h+ }
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      Y! s2 P8 [8 P0 z( H2 q* ~
  1011. ; MySQL defaults.1 b/ v6 B9 v- m+ f. Y
  1012. ; http://php.net/pdo_mysql.default-socket- [+ n2 Y% N( D1 D4 P
  1013. pdo_mysql.default_socket=' J: t3 n0 m8 I! f# T
  1014. # S6 [0 i" o+ A! N$ |7 `6 |
  1015. [Phar]
    9 u% z( Q1 s1 `) H
  1016. ; http://php.net/phar.readonly' V6 K' X8 c1 E% {$ `9 T) V
  1017. ;phar.readonly = On
    - Y( |5 k8 H' G* ^, h% ]  R- [( e# y: u
  1018. ) x3 b) p  U7 {% L/ _5 l8 \* M5 i
  1019. ; http://php.net/phar.require-hash6 E; _5 p, m( ]1 t* @  A' \- E
  1020. ;phar.require_hash = On
    6 U4 y4 D4 V+ Z2 c

  1021. ' w( a( u/ p$ ]8 ]8 k% W8 o. o8 @
  1022. ;phar.cache_list =
    / Q# Z8 B/ ?( ~& C

  1023. & s7 d) U: V/ c9 _
  1024. [mail function]
    0 K5 t( t; F3 Z# J9 a
  1025. ; For Win32 only.
    & A+ f' \& e9 E  g& s
  1026. ; http://php.net/smtp8 S% }) G& @' A$ @( H
  1027. SMTP = localhost- z( h7 B. k  H$ M+ M! @
  1028. ; http://php.net/smtp-port8 x; l# ?% W) h; n' M) L7 {6 `
  1029. smtp_port = 25: i1 `$ h5 ^; T
  1030. 3 d7 ~' a' ~: ~  C; i+ q0 G( m
  1031. ; For Win32 only.
    . l- l- d. J- o- ?1 L
  1032. ; http://php.net/sendmail-from; P& Y6 X+ v8 |% k' U* Z6 s
  1033. ;sendmail_from = me@example.com
    2 U% X. Q/ p; P( x0 j
  1034. ) N8 ^& V2 U9 H) t0 L7 K
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").. z' ^  @( q! _# }
  1036. ; http://php.net/sendmail-path
    0 o" O4 d2 X/ m% G9 g
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    * p0 \, A( \! A

  1038. ! l+ n! o0 K/ @* U
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    % h2 C3 u9 a4 v
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ; P0 `  n: g7 I- `" g2 Q+ x# w+ k
  1041. ; the 5th parameter to mail().
    4 v  v+ B2 e. Z: B4 F; ^
  1042. ;mail.force_extra_parameters =
    7 m; f# W: L9 M( a7 x6 \

  1043. , ]8 W8 N( [! o+ p7 E
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    4 Y7 R$ `) _$ s% q
  1045. mail.add_x_header = On
    : Y) M! a+ {$ s* u
  1046. 7 t3 e6 s& @( c) j( Q  |0 |
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ( W' \* z: P( e
  1048. ; the full path of the script, line number, To address and headers., Q1 c1 n+ _0 W
  1049. ;mail.log =
    / ~: f- k: g3 I5 W
  1050. ; Log mail to syslog (Event Log on Windows).
    $ @% n  \; o! J- Q
  1051. ;mail.log = syslog/ z. A( |  |# O# Q& }

  1052. & t, J; H' r+ V0 r  V
  1053. [SQL]
    $ b( m0 Z/ w; n3 e: c# l  G
  1054. ; http://php.net/sql.safe-mode0 L. q9 i5 A5 C' ]0 H
  1055. sql.safe_mode = Off& y# [8 S( y0 i/ a+ L

  1056. 2 P# Q* P. N6 z2 ?6 k
  1057. [ODBC]
    . W  H7 t, y. B0 C6 G1 J
  1058. ; http://php.net/odbc.default-db
    0 k, W  B4 \: X2 r6 i+ o. z$ [
  1059. ;odbc.default_db    =  Not yet implemented& q' J6 I0 l5 f
  1060. 1 V0 E% r$ J9 {4 W
  1061. ; http://php.net/odbc.default-user; Z0 i2 C) S8 @
  1062. ;odbc.default_user  =  Not yet implemented8 U1 P& E: W; T

  1063. # H0 S' ]/ `& M9 k; d
  1064. ; http://php.net/odbc.default-pw
    * h2 v' V- \) B4 z* t1 @" E
  1065. ;odbc.default_pw    =  Not yet implemented( j7 ?  f, U6 E) |
  1066. / I8 [* y' K( q' ^% k% ~- s
  1067. ; Controls the ODBC cursor model., G, t: A: l+ E2 H, G& B9 C
  1068. ; Default: SQL_CURSOR_STATIC (default).6 p) U+ q# F- x- f+ n, T. W
  1069. ;odbc.default_cursortype# T: T7 U" Y) t% x' r$ J" O9 l

  1070. 7 R2 U" Z% O8 N. R3 ^! ]: k" k6 z
  1071. ; Allow or prevent persistent links.
    5 e- T2 F8 q! e' A1 K' ?& H
  1072. ; http://php.net/odbc.allow-persistent
    4 P; E. E$ p" m  U
  1073. odbc.allow_persistent = On
    ! A3 b0 O/ |4 [. |- E
  1074. 9 `  l! Z% E5 @1 O9 E' N" x: j
  1075. ; Check that a connection is still valid before reuse.
    # T4 E' ?* d9 _0 N
  1076. ; http://php.net/odbc.check-persistent) |, t( E; d" N% g0 c2 r  N" \
  1077. odbc.check_persistent = On* T: u1 J) X- M0 o# G
  1078. * l) u  I; y4 _5 D, f3 s4 Y
  1079. ; Maximum number of persistent links.  -1 means no limit.
    & H$ Y/ ?8 a( z1 ^+ q2 Z- q
  1080. ; http://php.net/odbc.max-persistent* K. m: ]4 k8 C: Q" E0 y. Z
  1081. odbc.max_persistent = -1
    3 [3 T; m4 n5 n' u! a! [# O
  1082. ' \+ }( l& o7 v
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) u+ J$ R, D6 d+ E8 T; @
  1084. ; http://php.net/odbc.max-links% R0 A) a; M2 j8 p. R1 q0 F
  1085. odbc.max_links = -1* p' K! p$ x  L1 O3 I5 }

  1086. 5 N6 J- M. G, z
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means2 }2 }# ~7 v6 X
  1088. ; passthru.
    * k+ n7 G5 g  |- Y9 l+ }
  1089. ; http://php.net/odbc.defaultlrl. J$ F( K0 R* x  `7 ~. Q( S
  1090. odbc.defaultlrl = 4096
    , [5 V$ U1 g# h+ N0 N4 x$ g
  1091. 2 F) I0 D! ]- E& M3 b7 U
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.* f* Z; }  @/ H+ A
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation% H$ G. K2 r+ k7 @7 I
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode7 T. d0 d3 N: v- J1 K0 u5 Q1 [5 I
  1095. ; http://php.net/odbc.defaultbinmode
    1 l5 t4 U, C! N2 O
  1096. odbc.defaultbinmode = 1) e% e% m  ]( C" f

  1097. & ~% L6 R+ j1 [! f# @; [
  1098. ;birdstep.max_links = -1
    0 u& O9 j) r* e7 R' r! M2 r$ D/ E' `$ y

  1099. ' X( U% j! s! ?4 L: h
  1100. [Interbase]
    1 p' R$ I) v/ l; |' i2 X7 q; K
  1101. ; Allow or prevent persistent links.1 U- M( j. L3 `+ d( W' x/ c% K3 J1 D
  1102. ibase.allow_persistent = 1
    0 U9 ~1 j5 E: T6 G  a8 _# ]  o# Y' k$ j

  1103. + X" P5 C! l+ M- S( T; t) `% {3 Y: ?
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ( r6 t! G  `2 _/ \: W
  1105. ibase.max_persistent = -1
    3 e/ H! A$ q3 ^9 y" }

  1106. 8 l. J% S! _2 J- i4 I
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * h7 E+ B& E3 E) t5 U& @- J
  1108. ibase.max_links = -18 a4 U2 r1 }' _3 z9 H9 m) S' }
  1109. / X( k! @  H" @! B8 A
  1110. ; Default database name for ibase_connect().
    ' n# u6 v3 ]. N: W  l
  1111. ;ibase.default_db =
    # s6 k; d* `+ |9 I4 }% u
  1112. ( q# D8 q7 {& D, X$ P  E4 R
  1113. ; Default username for ibase_connect().% D1 c* \  w% {5 _
  1114. ;ibase.default_user =8 ^, ]1 p/ ^. n1 Z* m; a8 \
  1115. & K, d/ c1 o* E, ~/ _
  1116. ; Default password for ibase_connect().
    / x; d9 E* _" v* j( S. l
  1117. ;ibase.default_password =
    2 R8 F: v; R+ n' t) z' j* f

  1118. ! O2 R4 r& D" ]% y' P
  1119. ; Default charset for ibase_connect().
    , I  {# W# N8 l0 r  h
  1120. ;ibase.default_charset =  [; E" n9 F+ Z" F2 P! A
  1121. / X1 q! K7 y) O7 }# q, d" _
  1122. ; Default timestamp format.
    $ v9 D1 J) j" |2 E2 m
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ! k. J0 O: Z3 J" j8 y. N( X
  1124. : B5 \# ~  F6 u1 r
  1125. ; Default date format.
    ) X' J) I8 n: v/ r- [* p2 C( t
  1126. ibase.dateformat = "%Y-%m-%d"
    ( C4 j2 m, R# K

  1127. 9 O8 ~; B$ Y3 \2 S1 r
  1128. ; Default time format.
    7 X5 E  ~, e) X! a6 u' k9 Z
  1129. ibase.timeformat = "%H:%M:%S"# a: @$ Y" M4 ]* @
  1130. $ r% W0 g" V/ ^7 r; F0 ~
  1131. [MySQL]
    # b1 x" }& L8 h( U0 m2 l
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements& I0 U# ^6 b4 {6 V8 S5 o" W5 g7 _( {
  1133. ; http://php.net/mysql.allow_local_infile6 r. `% n2 u1 {9 J4 M# q
  1134. mysql.allow_local_infile = On0 g* G5 L9 V" }# m+ K8 T$ q" t

  1135.   d) A$ ?7 L/ }, B& s0 S% w
  1136. ; Allow or prevent persistent links.' X$ W2 Z* {3 k8 _5 L
  1137. ; http://php.net/mysql.allow-persistent
    ) a* I  ^4 M+ N0 ]5 R: E# x
  1138. mysql.allow_persistent = On
    1 ~6 ~& b; M& Q7 j8 ?* n

  1139. 1 [) u  O3 Q" i5 }1 L3 o
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
      R, N" I4 E. j% Y" O3 i$ o
  1141. ; http://php.net/mysql.cache_size
    $ r2 w0 Y$ [/ Z& \5 R
  1142. mysql.cache_size = 2000+ ]9 x0 d( \* |7 W; a

  1143. + y0 a- W7 \+ t  S' r9 s4 a  x
  1144. ; Maximum number of persistent links.  -1 means no limit.9 o5 W, m! C1 F/ P
  1145. ; http://php.net/mysql.max-persistent) z2 p! b1 {& d# C, {: b$ m* o; j; @
  1146. mysql.max_persistent = -1
    / Q& w% B8 ?7 |! i

  1147. ( R. H9 w0 l. c+ A/ T+ U) z
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 I/ Q, f+ J9 F0 i
  1149. ; http://php.net/mysql.max-links. x5 t* V; \8 y" D
  1150. mysql.max_links = -1
    0 g9 q% O' a+ Z, y( I! @
  1151. 5 m3 B) z2 ^8 f5 w, N
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    6 Y! B$ W8 {9 D2 G* k; P
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    & o! S, O. {& X; T
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look4 H! X$ k; @- @" N
  1155. ; at MYSQL_PORT.
    * Y& v' a* W! [0 S5 p0 g
  1156. ; http://php.net/mysql.default-port
    ! A  f* ?. a3 R" U
  1157. mysql.default_port =+ z- E+ N! \/ `% \$ b4 {$ H  c

  1158. 2 d" @8 p8 o1 z  Z! y
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : r, p/ c# V7 ~$ A) X
  1160. ; MySQL defaults.
      s* i! M$ F: j1 q$ T* S
  1161. ; http://php.net/mysql.default-socket  n& u! B6 X# C, K( w% N
  1162. mysql.default_socket =
    & \4 c/ ]0 |/ v$ F) W( g) v

  1163. 6 N- i6 u. W& A4 v4 H3 |
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).  {0 ~0 D% g2 Z1 G2 ]: m' O8 K
  1165. ; http://php.net/mysql.default-host
    / y! F( s4 M5 j  o$ t
  1166. mysql.default_host =8 u+ ~% T% y: M" t* V+ V5 P

  1167. * ]* g6 P8 S3 K. _0 E
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).+ W$ X7 c, }# {$ T  V  Y
  1169. ; http://php.net/mysql.default-user
    . p' R& W2 Q& A( H7 w5 ?9 @% t
  1170. mysql.default_user =. O$ C- i- k2 V5 ^( N$ X  A

  1171. + Y& a. p- q7 I- `' F; W! i
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode)./ p* j3 h9 e+ `% f9 s$ O; o
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    $ d4 Z9 n! ?5 A$ t$ q
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")4 E6 u0 \% |& W% i
  1175. ; and reveal this password!  And of course, any users with read access to this& q; h- f" [& M5 |  ~: m* o5 K1 _
  1176. ; file will be able to reveal the password as well.
    : b3 z% m; x" o$ L
  1177. ; http://php.net/mysql.default-password2 ]; ~" C  O6 ~3 r
  1178. mysql.default_password =
    7 s8 k" s5 P/ X! P

  1179. 5 p# Y. y! z: O/ W- c9 T( E
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit5 P- Q) @( g. s
  1181. ; http://php.net/mysql.connect-timeout
    " ]  _$ c+ y1 \2 |+ n; @
  1182. mysql.connect_timeout = 600 y6 B; k$ E9 k: q. l& d) f) [: S7 a

  1183. - A2 d8 k3 y' g/ |1 H% j3 O/ Z% m
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    9 M9 T# d1 [; @7 C& f. ?
  1185. ; SQL-Errors will be displayed.2 B! k: P& ~2 E$ v: \2 a
  1186. ; http://php.net/mysql.trace-mode5 Q6 i. V- a+ F9 Y( {
  1187. mysql.trace_mode = Off* C; P# N6 J1 q5 Z* B

  1188. 2 w, ~, p9 ?4 }
  1189. [MySQLi]
    $ @9 y' \2 N. n' h, P7 n, a

  1190. ) B* h( ~8 S2 x% H* g6 r" T& D/ _
  1191. ; Maximum number of persistent links.  -1 means no limit.
    4 o& ^$ p8 T. g$ i- Q" o
  1192. ; http://php.net/mysqli.max-persistent: ^, |" |2 k( s9 s
  1193. mysqli.max_persistent = -1
    ! H0 k, U! J8 m+ Q. ~  @5 ^

  1194.   }: x! D# `# U' s; V) K6 [
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements/ G7 ?" [4 Q2 R, P
  1196. ; http://php.net/mysqli.allow_local_infile
    ; B  X0 v1 s, X# ]
  1197. ;mysqli.allow_local_infile = On
    - _1 X5 {+ H/ X( Q
  1198.   p& p) V* @7 e9 V
  1199. ; Allow or prevent persistent links., r& p' M$ n3 `. C" ]) S0 `# Y. V' d0 H1 V
  1200. ; http://php.net/mysqli.allow-persistent
    + @; j7 X) T8 _* l: T
  1201. mysqli.allow_persistent = On
    ' ?" ^0 L% x4 R. m
  1202. 6 c2 h) e; Y9 Z& O) f- B: C5 w
  1203. ; Maximum number of links.  -1 means no limit.9 U: X9 N9 O$ V' Q; H! [4 B( o
  1204. ; http://php.net/mysqli.max-links
    - L7 R. F9 h& g' e
  1205. mysqli.max_links = -1
    ' d0 o8 o- C& H3 p; B
  1206. % Z+ A  t  C7 U, L+ a
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache& k0 H# ^9 g7 P3 Z" c' B
  1208. ; http://php.net/mysqli.cache_size
    * @# f" M. @# p) W
  1209. mysqli.cache_size = 2000
    3 r' ^9 m4 [: m& z, X

  1210. * a$ i, m/ Y# G$ \, K6 X
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ; M/ m! c  i6 Z9 M$ A4 t* Y+ T% e
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the4 l9 ?9 K: a! ?  _2 I" V; H3 j
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    0 o! e2 ~3 u/ S* ^4 P
  1214. ; at MYSQL_PORT.
    5 _; `; [( E, `3 |# }1 D* A1 Z
  1215. ; http://php.net/mysqli.default-port' b4 U$ g% s, o9 M) h
  1216. mysqli.default_port = 3306
    & l6 ]4 l& |: k7 k

  1217. $ W& Y* U9 l" Q/ x6 u
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & k% V. @9 ~: i& Z
  1219. ; MySQL defaults.
    5 y. N4 y8 c. n6 u$ s" b1 a
  1220. ; http://php.net/mysqli.default-socket2 P8 L. Q* `; O
  1221. mysqli.default_socket =/ v* w& X6 a* n, N% [
  1222. ; y  E$ E! r/ d" a$ p" U
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).# f! T5 I7 Q1 O
  1224. ; http://php.net/mysqli.default-host
    ) j  n4 ~- y2 k+ L
  1225. mysqli.default_host =) @) @( U5 R# k5 Z- d0 h  [

  1226.   ^6 D1 @: F1 t) I  m
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; J% m/ a. ^  }" J
  1228. ; http://php.net/mysqli.default-user% o% [; \0 f# R3 q% C% q
  1229. mysqli.default_user =
    / e) j. A' V$ \8 \/ Q
  1230. 6 o3 s: C( L/ |# ~+ S1 P( }
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    7 ^, Y* ~3 G: h5 k4 G: V
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.& R3 C5 N4 J/ h/ n9 p) t
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"): Z1 J: c- t) L% ^+ {- [
  1234. ; and reveal this password!  And of course, any users with read access to this
    : ?) G: [( s/ t# O. C1 ?
  1235. ; file will be able to reveal the password as well.
    , t% {% }" y% U" d
  1236. ; http://php.net/mysqli.default-pw; b' M- w1 r3 S0 S# Y* l
  1237. mysqli.default_pw =
    3 m* ?; Z( U9 X- {! W, b, l

  1238. " n6 G' d. r7 g/ y' T& c
  1239. ; Allow or prevent reconnect1 ~! y$ T! H5 W4 u
  1240. mysqli.reconnect = Off2 s* w! L3 W; J5 S: V( M8 G) i
  1241. " C6 V4 W9 [1 U* @
  1242. [mysqlnd]) Y: D0 l! b2 `
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ; X1 }; K9 M, _2 i0 |. B
  1244. ; used to tune and monitor MySQL operations.
    $ z4 i3 R7 o9 a* [2 I' n* g4 M
  1245. ; http://php.net/mysqlnd.collect_statistics; E" Q* c: \5 k* i. J
  1246. mysqlnd.collect_statistics = On% b, n, B5 I5 P' K+ x0 b3 ]

  1247. 2 d: @- E, X( a" o) [3 T
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    7 d6 N5 q! P5 x
  1249. ; used to tune and monitor MySQL operations.
      T7 J- I- N  p. M
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    # V9 B2 \+ v6 R2 G1 c
  1251. mysqlnd.collect_memory_statistics = Off+ {. ?- R2 [/ o6 R, B% P
  1252. , E8 ~4 g- f( ^7 L$ g7 W& V: m5 D$ k
  1253. ; Records communication from all extensions using mysqlnd to the specified log2 e: w# P1 P% z. U4 T) H
  1254. ; file.
    $ X! a, S8 g9 ]1 t1 N& J- H
  1255. ; http://php.net/mysqlnd.debug  G1 Z- O0 P$ K/ ~2 `: R
  1256. ;mysqlnd.debug =3 W9 [9 T8 @3 ^8 w
  1257. 3 g$ ^. N4 v2 K( O: U' p: P
  1258. ; Defines which queries will be logged.9 b8 {0 u" }3 I
  1259. ; http://php.net/mysqlnd.log_mask
    " j5 C4 o) }& c% m& v  |
  1260. ;mysqlnd.log_mask = 04 i3 \# ]& j5 q8 o; m; e* x! K* z

  1261. 3 |* P3 G, ~# h$ ~2 l) U) C
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    1 ~1 s0 }' e! i$ S4 d& @. l; u9 _! B5 V
  1263. ; http://php.net/mysqlnd.mempool_default_size1 n$ `- r* p6 w: [" Q- r
  1264. ;mysqlnd.mempool_default_size = 16000
    ' G! I9 y) J* ]: h& y& G& O
  1265. ; U  R; S7 w3 y
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.( X# i* V/ N2 p& Q7 y
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    5 d% L) r+ j. D) F' j4 U
  1268. ;mysqlnd.net_cmd_buffer_size = 2048' `! p4 K( ~" y5 l" [8 R
  1269. 6 ]2 L; Z* p& c1 F1 Y
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    % C* D# \" J: }5 I
  1271. ; bytes.
    4 E- p  ~0 k+ ?$ y' \' v+ j* |
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    " v) [& y, n0 [+ F0 b
  1273. ;mysqlnd.net_read_buffer_size = 327684 X0 s0 ?" ?8 ], u7 E
  1274. 0 u0 x- Y8 E+ Y
  1275. ; Timeout for network requests in seconds.
    2 h' }7 G% c2 p
  1276. ; http://php.net/mysqlnd.net_read_timeout( [/ H  b6 Q  \8 B
  1277. ;mysqlnd.net_read_timeout = 31536000
    & Z; b, e$ d: J# D8 y  z

  1278. $ Q5 L6 Z( i/ F* h- c9 u7 S9 G2 X
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    3 F% U0 b6 ^4 f
  1280. ; key.+ a6 V4 g' k1 Y2 r5 }
  1281. ; http://php.net/mysqlnd.sha256_server_public_key) d4 y( u. r; C8 D" e1 r! N
  1282. ;mysqlnd.sha256_server_public_key =" ]; B# ?, f+ @; Q, A) d
  1283. & _' I4 d% K, v3 P' ]  I
  1284. [OCI8]) {$ v6 K  q  ?: }4 U& G

  1285. ( b: }! c9 t- \4 H& S; V5 N2 [" q$ B
  1286. ; Connection: Enables privileged connections using external
    - I" C- t2 g- g- [* o# a0 I* z
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)) T$ v  Y  L6 U) `$ r; N2 D
  1288. ; http://php.net/oci8.privileged-connect
    ; K( ?+ B! h: O/ Y! \) Q  u
  1289. ;oci8.privileged_connect = Off
    3 s' b* j6 r/ [5 q) o4 [
  1290. # G* @, [: ^- u  O* W
  1291. ; Connection: The maximum number of persistent OCI8 connections per9 z6 m1 `: D# Q$ \
  1292. ; process. Using -1 means no limit.- g7 L/ j$ n- S6 I% U  w
  1293. ; http://php.net/oci8.max-persistent3 ]- J3 J' R9 h: n8 p: ^. f) {
  1294. ;oci8.max_persistent = -1, u' {: F5 R6 ~7 P0 Q
  1295. 2 `7 N, D* z2 j
  1296. ; Connection: The maximum number of seconds a process is allowed to
    : Y) [/ J; R+ M, v* k
  1297. ; maintain an idle persistent connection. Using -1 means idle( `; h: W' s2 ]7 e9 D% Q2 v; r4 ?
  1298. ; persistent connections will be maintained forever.
    6 f7 x8 P' y5 e
  1299. ; http://php.net/oci8.persistent-timeout
    & h1 ^. r! x9 O" S7 x7 y" M
  1300. ;oci8.persistent_timeout = -1
    ; ^5 A% M  b6 a' o

  1301. 5 F& @( C5 X! k6 u3 A6 j* M
  1302. ; Connection: The number of seconds that must pass before issuing a
    / s9 G1 ~, O, d2 \$ T7 S
  1303. ; ping during oci_pconnect() to check the connection validity. When
    , e3 Q1 O: l5 ^0 K  J+ L+ |! p+ y! d
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    % r# \  J3 M$ P/ a" M1 j
  1305. ; pings completely.
    1 U, u' K- u/ _9 |4 R" q0 B
  1306. ; http://php.net/oci8.ping-interval
    5 c" D: q; r5 |. D+ p! S% X3 w8 d
  1307. ;oci8.ping_interval = 60
    % \" `  a# o1 C# d

  1308. 0 A- w. l; T2 _; g! X6 `! [+ m& l
  1309. ; Connection: Set this to a user chosen connection class to be used" F; J' N" ^! P; g' l4 T8 Q
  1310. ; for all pooled server requests with Oracle 11g Database Resident" b3 P( c5 O) T+ h4 \+ Z2 W3 i# r
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to& D" R+ J% R1 ]6 Q+ I
  1312. ; the same string for all web servers running the same application,
    , u! b, }+ |, O0 P
  1313. ; the database pool must be configured, and the connection string must
    + }* C8 y" t: G7 h
  1314. ; specify to use a pooled server.5 `0 w+ _( f# N: S* y/ b
  1315. ;oci8.connection_class =
    & t5 n- L4 w) Z% `1 J. A% n" T6 n

  1316. , Y1 I! m. l4 J/ U
  1317. ; High Availability: Using On lets PHP receive Fast Application
    - y5 P8 W! c  t( m3 D3 g1 P) L" m% ]
  1318. ; Notification (FAN) events generated when a database node fails. The
      _3 P" q! L2 ^1 B) x
  1319. ; database must also be configured to post FAN events.7 Y2 C3 u( b5 A: a
  1320. ;oci8.events = Off2 R5 G) v# n; W1 r0 f1 O

  1321. - b0 O. k; U+ ^5 a# s
  1322. ; Tuning: This option enables statement caching, and specifies how- ^) ]1 S$ F% H( k1 u5 ?5 h
  1323. ; many statements to cache. Using 0 disables statement caching.3 f* W. r% t' c1 p& C, v" G. e. Y+ e4 v
  1324. ; http://php.net/oci8.statement-cache-size
    ' w- ?( O/ d# ?$ Z  N0 o/ s7 x
  1325. ;oci8.statement_cache_size = 20
    $ T& B- i' o. _/ Z) z* m

  1326. * ~6 {0 m' G, x6 K
  1327. ; Tuning: Enables statement prefetching and sets the default number of) E8 e. V" v: R5 l/ K# N6 z; [
  1328. ; rows that will be fetched automatically after statement execution.
    $ B2 R* R  |  a0 |- F* |0 F
  1329. ; http://php.net/oci8.default-prefetch
    ( U2 V& h# R0 n) R
  1330. ;oci8.default_prefetch = 100' f  E1 k3 N) w- d# i
  1331. 1 C/ c) Z( [, K1 W! ?  M  W
  1332. ; Compatibility. Using On means oci_close() will not close/ Q) _8 E- C9 M0 f
  1333. ; oci_connect() and oci_new_connect() connections.  C0 E, n- ~: q1 J& s' ]
  1334. ; http://php.net/oci8.old-oci-close-semantics
    + ~" n# |7 z, c7 r
  1335. ;oci8.old_oci_close_semantics = Off
    ( K. q- m& Z: q4 n/ O

  1336. : y  t4 O2 q' x$ ~- D6 ~0 R" F
  1337. [PostgreSQL]6 D: q  c( v$ v2 Q
  1338. ; Allow or prevent persistent links.
    : `2 ^& P! Y  B' w7 r
  1339. ; http://php.net/pgsql.allow-persistent
    % v  q$ V3 B( K7 }; V: d
  1340. pgsql.allow_persistent = On$ p0 L( S8 x# X+ k3 T4 e5 x

  1341. " A7 M& H; ]2 K9 f
  1342. ; Detect broken persistent links always with pg_pconnect().
    * w9 `! z& m2 a1 i" h( d, x
  1343. ; Auto reset feature requires a little overheads.. `# b. H7 H; ^" v' S& g
  1344. ; http://php.net/pgsql.auto-reset-persistent
    0 u# v0 E$ S" S: u% \4 ~' i/ s
  1345. pgsql.auto_reset_persistent = Off
    # C/ e8 F& j  O6 d# e, J

  1346. # U! T) r0 n7 X# Z! o
  1347. ; Maximum number of persistent links.  -1 means no limit.
    % m3 e% T* z+ i
  1348. ; http://php.net/pgsql.max-persistent1 s* I- H& b- K& h+ v
  1349. pgsql.max_persistent = -17 S9 e& L/ w$ j; f9 v) S
  1350. ; W4 v! K  [- C9 D4 C* U% l
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.' {* {* q2 D: r& R
  1352. ; http://php.net/pgsql.max-links" B; s5 n4 n5 n0 j9 E7 y+ I
  1353. pgsql.max_links = -1
    5 B0 W6 l% _( u1 Z4 D) n

  1354. 1 g& c8 a8 W3 f3 u
  1355. ; Ignore PostgreSQL backends Notice message or not.
    6 u3 l) |, N* x7 v. o
  1356. ; Notice message logging require a little overheads.' \! U$ w& ]% g5 [
  1357. ; http://php.net/pgsql.ignore-notice8 r. M2 g4 f% H+ l1 {) U
  1358. pgsql.ignore_notice = 0
    9 f  N8 O! C( s' H0 q0 I. \* T

  1359. * }" J1 L+ y" P; E7 i# [8 b4 ]+ h- ^
  1360. ; Log PostgreSQL backends Notice message or not.
    # u. b% {8 o& P
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.* |6 p% o6 ~7 p9 r/ }
  1362. ; http://php.net/pgsql.log-notice. W+ V7 o1 k- I' l) f
  1363. pgsql.log_notice = 0
    0 X0 O$ W: ^; j* h% D  E

  1364. % z  o+ `5 w; b9 j$ n' ~7 K/ O+ Y
  1365. [Sybase-CT]( _: o, v' g, Z' ?* Y
  1366. ; Allow or prevent persistent links.8 C( w$ ~* U2 {3 v  d
  1367. ; http://php.net/sybct.allow-persistent, l7 C) e3 o+ O; D3 |/ ?+ Z3 ~; S+ f
  1368. sybct.allow_persistent = On
    & ?8 m) I; N, N. b8 {2 O1 b  n9 P

  1369. # W  x( ^9 z3 O0 L6 w& R. R6 _, U
  1370. ; Maximum number of persistent links.  -1 means no limit.: {9 i  m0 \; }/ m) Z
  1371. ; http://php.net/sybct.max-persistent7 [. ]/ N) r! j$ ~1 i
  1372. sybct.max_persistent = -10 T0 Y& M# ]5 D- K

  1373. 8 }/ y+ a" K0 m: a; m/ I% c! h
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 j3 G* Z8 {. D" c5 o4 q
  1375. ; http://php.net/sybct.max-links
    ( N% }8 C/ @1 A- h4 k( L, V) b
  1376. sybct.max_links = -1' s  p4 h2 l. A, M
  1377. 7 i( U; u2 g9 p+ Z4 A2 x" i3 m7 G
  1378. ; Minimum server message severity to display.4 W% m' G; G+ _0 j- r
  1379. ; http://php.net/sybct.min-server-severity4 C- }: w8 I3 \+ B
  1380. sybct.min_server_severity = 10* D% T' J0 ~3 s* v! n. p
  1381. . h8 @$ M0 E- o5 ]0 Q4 {8 }
  1382. ; Minimum client message severity to display.- t4 i0 M$ Q" D, x8 f
  1383. ; http://php.net/sybct.min-client-severity. r, |; ]/ f7 r/ V. U( }& b9 W
  1384. sybct.min_client_severity = 10" b. S; o+ y1 L% W9 j7 {9 Z

  1385. ( q! k! o" z" ^4 H0 f
  1386. ; Set per-context timeout) c1 t* U1 X! w0 u, I: f
  1387. ; http://php.net/sybct.timeout
    8 K- M( ]5 o, u/ l3 m% d
  1388. ;sybct.timeout=& @" ?/ N$ D( V3 F: V' F8 J# {

  1389. 2 H1 Q2 M: E' c1 y& |9 R0 o1 G) G
  1390. ;sybct.packet_size
    * j4 E# E- c" o0 L' g7 s
  1391. 9 m$ I  w5 @( O7 k; {; G( ^2 ^2 b
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    ! g5 O- B% T4 ]% T
  1393. ; Default: one minute' F, ]( j2 ?3 W2 }) [; x2 S
  1394. ;sybct.login_timeout=
    # K6 s: p' H# O9 Y6 n

  1395. 0 p2 U9 s/ U0 j& s7 E
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ( M: h  P0 U8 I& f6 f
  1397. ; Default: none0 p5 n: M1 W/ k8 {9 r# H1 {
  1398. ;sybct.hostname=+ s/ s0 V1 ~0 B9 y6 R0 I0 [5 N
  1399. # P% v( ^% \+ {' j7 W; E7 c* y- j) g
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".6 [4 h* H4 n  O% u
  1401. ; Default: 06 _( y$ q4 J' F
  1402. ;sybct.deadlock_retry_count=7 v2 |9 T. U( l, a

  1403. * ~/ j9 Y5 e1 Q9 b" j* y2 y
  1404. [bcmath]
    ! g8 i' k# i& @1 R
  1405. ; Number of decimal digits for all bcmath functions.) x5 k1 s2 f& ^0 O% d, }9 \6 Q  _
  1406. ; http://php.net/bcmath.scale
    0 r6 r+ H7 U5 P5 g, H
  1407. bcmath.scale = 09 F+ X% N3 m5 W: s( L, ~5 m- p6 m

  1408. 0 }6 h+ t' c: m: k* B- x
  1409. [browscap]
    3 N6 r$ L$ L1 m( m/ s& {' F+ A
  1410. ; http://php.net/browscap. D+ d2 y2 p7 _6 v. P4 F
  1411. ;browscap = extra/browscap.ini' d- u( z5 U- h& v% G1 r8 W

  1412. # A) t- p0 c/ p4 v- `/ d
  1413. [Session]
      _8 A- w6 O5 {2 i4 ]
  1414. ; Handler used to store/retrieve data.$ y! ^! F$ c% c4 v5 V: S
  1415. ; http://php.net/session.save-handler
    1 ~6 r# _7 d4 i; w# I, J+ ~: v0 j9 |& f
  1416. session.save_handler = files2 Z6 Z5 S/ e" w& U# i# C. r" w8 Q

  1417. 6 @" x8 \: w$ T6 Z3 l. _( ?
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    ! M8 C7 p7 f% F8 Y! }1 O
  1419. ; where data files are stored. Note: Windows users have to change this
    ) `8 A2 P% `2 ~1 W9 H+ H
  1420. ; variable in order to use PHP's session functions.# F7 Y/ P( _9 T; ~; L  ?7 _
  1421. ;- h( ~; U, ?/ ]' A! B) [8 `
  1422. ; The path can be defined as:- ~9 }# ^% M" a; W+ n
  1423. ;
    : y3 o2 d0 Q% H# R
  1424. ;     session.save_path = "N;/path"
    7 y- `! w9 p# w. Q  g
  1425. ;: a4 t) N( F! }
  1426. ; where N is an integer.  Instead of storing all the session files in
    1 M  K, j0 k9 B7 r
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
      x5 R) U, h6 B
  1428. ; store the session data in those directories.  This is useful if
    + C! p* {9 {+ S; C
  1429. ; your OS has problems with many files in one directory, and is9 j( Y7 T- q1 |# r: M5 b
  1430. ; a more efficient layout for servers that handle many sessions.' K  o: y' G1 D
  1431. ;
    ; H3 G; F* ?5 D' b" Z" S8 `
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
      e! g; n* J  l- n+ L8 _1 o# `8 w
  1433. ;         You can use the script in the ext/session dir for that purpose.5 u3 \! j( e/ |. U3 x
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    5 X6 D' {) P' g: T8 j
  1435. ;         use subdirectories for session storage3 ^3 H, G2 K" W$ G; R, z) Q1 `7 S
  1436. ;' @* E3 f' C* s( O4 m- [1 t, R
  1437. ; The file storage module creates files using mode 600 by default.$ X5 ]; Z$ ~6 ^$ d6 H9 W5 T
  1438. ; You can change that by using
    ( X1 d' v( O* T3 f7 Q2 @
  1439. ;
    ) ~6 ~" g9 ]( @4 X5 d' U
  1440. ;     session.save_path = "N;MODE;/path"
    ; O4 E/ I* ]3 s# }! P* Q
  1441. ;1 f% N9 R& V- E) R. n: o8 q. ]
  1442. ; where MODE is the octal representation of the mode. Note that this4 n- }* V  E. B: k0 O8 J8 l) l- W. Q
  1443. ; does not overwrite the process's umask." ~' W) T+ s+ X
  1444. ; http://php.net/session.save-path
    1 `1 U0 S* L0 \# L5 E2 |! O
  1445. ;session.save_path = "/tmp"
    9 B8 n. G8 m8 J6 Z
  1446. ; d3 P4 |  L$ e
  1447. ; Whether to use strict session mode.
    * k" M7 A" B2 v9 @3 T- O
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate' B3 \* Z% W1 B9 G' h
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    3 O' ~' j4 P+ M6 d0 I
  1450. ; applications from session fixation via session adoption vulnerability. It is5 Q! n+ }$ {0 Q+ K  T4 k! y
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ; k3 g3 D" g* u: a4 i
  1452. ; https://wiki.php.net/rfc/strict_sessions
    * i7 c8 r" y4 B* F
  1453. session.use_strict_mode = 0( n' u# @: B4 p) J
  1454. 2 r  C3 d6 E8 ?& q9 [8 T9 C
  1455. ; Whether to use cookies.7 {7 w& m% O- f' o& _" q
  1456. ; http://php.net/session.use-cookies
    0 m3 B5 l) X( m
  1457. session.use_cookies = 1
    / x0 h# ~* Y8 {) D9 y
  1458.   q, b) B) u2 y0 b- L5 ~' k
  1459. ; http://php.net/session.cookie-secure
    : Z; T( V+ R1 n$ o4 m4 Z; e
  1460. ;session.cookie_secure =7 t2 e& |" z% D  c  |2 \
  1461. / E5 R0 d1 @$ W1 r0 Y; a
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
      j0 P& {: q% ^" \4 H
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    * c" n9 z& a6 l% W
  1464. ; session hijacking when not specifying and managing your own session id. It is
    5 _- ~: U: `5 k- E0 W  o
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    2 J9 J; ?8 A/ B/ d/ L/ D: g
  1466. ; http://php.net/session.use-only-cookies" }6 Q3 }) l% [7 {- Y7 R
  1467. session.use_only_cookies = 1
    ' X8 D8 M4 J, g3 l7 x4 r

  1468. ) Z! l9 z' C4 _1 Q& F8 Z  [8 [
  1469. ; Name of the session (used as cookie name).) G0 c9 o8 {, t/ j  Y
  1470. ; http://php.net/session.name
    2 f* f7 x/ z; U$ X! N  D
  1471. session.name = PHPSESSID" o- N* g: x5 F. M

  1472. % E$ A/ w/ ]) ~5 e  R
  1473. ; Initialize session on request startup.8 H! n7 z  B( O: r3 {( G0 j+ H7 p
  1474. ; http://php.net/session.auto-start$ u0 }+ e2 d# {
  1475. session.auto_start = 0
    7 \* H- S0 E! w- O9 ?
  1476. : }$ y/ z5 p: o
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    3 A3 V) l3 R6 a9 U( n% z0 p
  1478. ; http://php.net/session.cookie-lifetime- [+ M4 A/ k8 {7 V
  1479. session.cookie_lifetime = 03 K7 D$ |. I' u& r

  1480. % ]/ g# W4 d# W% _* o7 _$ S
  1481. ; The path for which the cookie is valid.5 s3 u3 K7 m& C& n3 j1 S" _
  1482. ; http://php.net/session.cookie-path
    - _0 i( c# ]+ Q
  1483. session.cookie_path = /) A! e/ }6 m' F: X+ a" l

  1484. - j& T4 y0 Y( D+ F. _8 U
  1485. ; The domain for which the cookie is valid.8 ?) E4 {* A6 p- P3 [# b: {
  1486. ; http://php.net/session.cookie-domain
    $ {0 d! T* b; _1 K/ M
  1487. session.cookie_domain =, D5 z( Y' O8 z# k
  1488. 7 D+ I3 y4 z: e. m8 a* d$ ^! _
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    , B# b+ v* t4 p# J3 R4 m; t  ?$ n- A
  1490. ; http://php.net/session.cookie-httponly: }5 ^- K* F1 a, G
  1491. session.cookie_httponly =% l) {% g. @+ }- {" h% e0 p

  1492. / c" I) z$ O) H. h
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.' \, K( B! B  ?7 H/ {( n* `% S$ h
  1494. ; http://php.net/session.serialize-handler
    $ c; i1 H" e% L4 [
  1495. session.serialize_handler = php9 \' B! i+ m* F& s. A2 A3 U

  1496. + b3 u1 }" I0 {/ ^" L/ a/ h
  1497. ; Defines the probability that the 'garbage collection' process is started4 @  v; E$ H. z& I+ W
  1498. ; on every session initialization. The probability is calculated by using, C8 n- E! g* O, `* j! \3 ]( e8 o
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator% l( U# g( c$ }6 n+ V9 I* [
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
      v6 ^4 d8 N" j' R8 }3 c% l
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance% t( f) {9 v4 A! |) e8 `
  1502. ; the gc will run on any give request.8 C' @* ^% t* |. e0 N+ |7 N
  1503. ; Default Value: 12 g- t1 S$ R  s8 T* f3 X$ v
  1504. ; Development Value: 1% x; f/ h. Q0 Q7 I  h
  1505. ; Production Value: 1' e  X  ]1 m% z/ {4 P  P
  1506. ; http://php.net/session.gc-probability, w' P7 ]4 T: Q
  1507. session.gc_probability = 1
    ! h" e* O) E* @, q  p. ?. F

  1508.   F& h+ g) {9 V
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    ' C* H- i$ R* \
  1510. ; session initialization. The probability is calculated by using the following equation:1 h6 {" t0 D2 V2 k$ ?; z2 k
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and" j# V  g- z1 Y) A  g  W
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    # O" U& z4 f5 z' ^; U3 f: w6 _
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance$ u! q% o% B. M, S
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you0 P( _* X9 t9 G; `" V3 w: W& J- L
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    * p. O% d  K* M3 [% y7 U% Q( r
  1516. ; this is a more efficient approach.& G. p3 o- f/ I+ |" g8 K; H" i
  1517. ; Default Value: 100  W9 C, n0 ?3 g- D; A+ o: Q
  1518. ; Development Value: 1000
      V  X& w% ?7 s3 B# \
  1519. ; Production Value: 1000
    ; ?5 s, y5 t2 b' \3 _
  1520. ; http://php.net/session.gc-divisor& F; @) E# X7 M8 S& Z
  1521. session.gc_divisor = 1000) @8 n- x0 P# F3 O9 j
  1522. 1 y7 _2 E6 Z" J7 b( [
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and! `+ {; E* M" C8 u# d
  1524. ; cleaned up by the garbage collection process.
    / u4 F2 m, o4 m3 g6 P' w  T0 f
  1525. ; http://php.net/session.gc-maxlifetime
    ( c1 A: R0 e2 e% _* W; u  N
  1526. session.gc_maxlifetime = 1440
    * I; O, ~7 O9 T& b
  1527. 3 _7 y( f) O" ]7 L9 E
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    2 x$ h3 _1 R- k4 Z) p* I% G4 }( g
  1529. ;       (see session.save_path above), then garbage collection does *not*8 G* f; [$ Q' D; U* u; t+ z, K0 b
  1530. ;       happen automatically.  You will need to do your own garbage
    . M: u4 t. V1 F
  1531. ;       collection through a shell script, cron entry, or some other method.' z8 K1 d3 h6 Z! O9 K, X! Y
  1532. ;       For example, the following script would is the equivalent of0 f0 n! p  u# p6 c
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):# C+ H4 Q7 V" j
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm5 ~3 a- E% ~, S

  1535. . |4 [9 L7 c$ [4 a4 R( C
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.: F+ b0 [' i2 e. O
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    . B( s  Z) [) f% y+ C5 O  z( n
  1538. ; considered as valid.6 c/ g7 T) Z# b6 ~5 J0 M
  1539. ; http://php.net/session.referer-check2 P! E3 S2 Q  M+ h
  1540. session.referer_check =
    ' P* I; o9 Z2 @3 [7 K: V" A+ \
  1541. ! ^2 {8 W' A, h  f, H2 ~6 x0 V( m: e
  1542. ; How many bytes to read from the file.8 S( i2 O. l9 o
  1543. ; http://php.net/session.entropy-length
    # S' z1 ]4 Q; [- m+ n$ J6 y
  1544. ;session.entropy_length = 32
    - B$ S9 N; T8 i& z4 ]4 q5 }  Q
  1545. 7 M9 ]. F1 r6 d) k0 [4 P% Y
  1546. ; Specified here to create the session id." n( @; ~( K$ A7 l$ g3 Q5 F
  1547. ; http://php.net/session.entropy-file
    ) Y  O( n1 |( s: y1 ]* R* c  }/ z
  1548. ; Defaults to /dev/urandom( W# C3 d8 I( W; r" l
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    0 O! M+ _7 _% ~, U
  1550. ; If neither are found at compile time, the default is no entropy file.
    , H: r! ]: \% M
  1551. ; On windows, setting the entropy_length setting will activate the
    9 G2 p" W0 a6 {
  1552. ; Windows random source (using the CryptoAPI)
    & N0 `! ?$ d( U' \0 R- S7 `# N/ V
  1553. ;session.entropy_file = /dev/urandom
    3 m  x7 y0 q4 g/ [. _7 _
  1554. 5 O& r; k/ z2 E5 ^1 a$ @
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects3 ^; ?# v! K7 S
  1556. ; or leave this empty to avoid sending anti-caching headers.6 b+ }/ f! ^1 }
  1557. ; http://php.net/session.cache-limiter
    6 k* B! c& q6 j3 @' s
  1558. session.cache_limiter = nocache7 |# q4 w' \( }( U% D1 Y; X
  1559. + M1 t! Y' ^& R; N; `
  1560. ; Document expires after n minutes.
    ! y$ W- o' F: i3 U) X
  1561. ; http://php.net/session.cache-expire
    $ t% G+ r: Q( k: U& j5 L
  1562. session.cache_expire = 180& ^) Z1 b% p2 T2 w$ {$ e0 _4 m5 E

  1563. " l; _% O1 x# u7 u0 S! c
  1564. ; trans sid support is disabled by default.: J  e: D8 a! g4 n2 o
  1565. ; Use of trans sid may risk your users' security.9 D$ {9 }) N7 n! x. p
  1566. ; Use this option with caution.
    6 i- G, b% a" z% S) _! P! ~1 o
  1567. ; - User may send URL contains active session ID
    4 H* w5 |; S: Y4 ?
  1568. ;   to other person via. email/irc/etc.
    ; d9 M* Y6 E  N. T5 y
  1569. ; - URL that contains active session ID may be stored- V2 ^) z1 P& q" T
  1570. ;   in publicly accessible computer.) ]2 I/ t8 E$ ]
  1571. ; - User may access your site with the same session ID) L3 @" _. P: P+ F3 }
  1572. ;   always using URL stored in browser's history or bookmarks.0 q0 A( I/ X& L, o3 W
  1573. ; http://php.net/session.use-trans-sid2 b3 j# T; j4 n1 Z" c5 S
  1574. session.use_trans_sid = 0
    ( w  k3 V# f' D7 g8 u0 b+ \
  1575. 1 [( d* N, j4 T6 n
  1576. ; Select a hash function for use in generating session ids.6 Y* a- i2 l3 e' g5 x3 K- v/ q/ e
  1577. ; Possible Values4 F. M: z$ E% ]
  1578. ;   0  (MD5 128 bits)
    $ R, b# m5 R5 z+ h' |! P
  1579. ;   1  (SHA-1 160 bits)6 o; D; h0 f  K# {2 h+ ]+ v
  1580. ; This option may also be set to the name of any hash function supported by& b4 j! J( `4 i5 R4 A. }( Z. K9 G
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(): K! k) i1 H9 a0 R+ k! r& I3 O' K
  1582. ; function.2 w! i( A" s) v+ E/ H! g/ S7 b
  1583. ; http://php.net/session.hash-function
    ( s. ~2 t0 l5 G& k# @
  1584. session.hash_function = 0
    . o2 p) F# c" ?9 p( _% d3 F

  1585. 2 Y# K2 ^% ^, m
  1586. ; Define how many bits are stored in each character when converting
    7 r" ~6 j" B: I8 ?* Q5 J5 w9 x
  1587. ; the binary hash data to something readable.: O1 F5 P2 B9 t" |
  1588. ; Possible values:0 [# z5 F' k* k. M* F; o
  1589. ;   4  (4 bits: 0-9, a-f)0 T2 D1 S4 I! G3 |, E# O
  1590. ;   5  (5 bits: 0-9, a-v)
    ' k1 w' b# L" I1 s
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ' g) R2 Z$ y% h# r6 I
  1592. ; Default Value: 4
    1 f# ]; X' K( q2 m2 n
  1593. ; Development Value: 56 J& E8 j9 L& O' u1 d9 L. t
  1594. ; Production Value: 5! ^9 m  J, a( `4 S2 w
  1595. ; http://php.net/session.hash-bits-per-character  k5 @/ \; q& F8 M& T# w( d
  1596. session.hash_bits_per_character = 5  m$ \$ J+ K& w& F

  1597. 3 i; G/ {( w1 |8 W! @
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.8 P. I; j, {, I- C( E7 o
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    6 E9 V2 l' Y" ^0 X
  1600. ; add a hidden <input> field with the info which is otherwise appended: k$ f' j' u. F8 [5 F' r
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.1 p) D2 n- J1 e* Y4 _/ R* A
  1602. ; Note that all valid entries require a "=", even if no value follows.
      b3 e% J6 K, K  D3 P
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="% l! u# y- t3 p; e3 h! k6 C
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 R3 F% d6 k" W/ s+ w5 p# s( f1 k1 K
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & K* o5 ?% a; c: N! W8 z. W+ ^2 i
  1606. ; http://php.net/url-rewriter.tags( ~$ C* t& x; w" F9 W
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; c7 L; X, @( q  r

  1608. ; L( x* I; M0 Y8 H  O, c
  1609. ; Enable upload progress tracking in $_SESSION7 x; a8 v4 B. H8 L; t
  1610. ; Default Value: On7 m9 V3 [0 t9 Z& i: W) v
  1611. ; Development Value: On; t* _" u. n: A
  1612. ; Production Value: On2 Z# g- _6 @( z
  1613. ; http://php.net/session.upload-progress.enabled! U9 K2 i( _1 H) X( O8 _
  1614. ;session.upload_progress.enabled = On
    ; b& {$ D% Q! h" q1 B

  1615. 2 r1 a* g. I3 L4 |& W
  1616. ; Cleanup the progress information as soon as all POST data has been read# J" ?% w: o7 S/ U
  1617. ; (i.e. upload completed).
    7 e0 T' p" [$ V
  1618. ; Default Value: On8 X! Q/ T9 A: X4 \) i4 _1 H
  1619. ; Development Value: On
    $ o0 H. M, U" T! a0 D6 `& `
  1620. ; Production Value: On0 Q+ q1 c. I$ I% ?3 E
  1621. ; http://php.net/session.upload-progress.cleanup
    1 N! {, U% _: b: Z0 H
  1622. ;session.upload_progress.cleanup = On0 Y1 K6 v, G) L6 h" M0 s
  1623. ' m) C* ?2 T. N# p0 p  ?
  1624. ; A prefix used for the upload progress key in $_SESSION& J0 o9 [2 k% h  j  g" n5 k
  1625. ; Default Value: "upload_progress_"% K( J4 [# j% H1 ]$ x" W- U9 t
  1626. ; Development Value: "upload_progress_"
    & ^5 K3 r. w. z) t! L4 ~' e0 j6 }
  1627. ; Production Value: "upload_progress_"
    - Q1 X: `# q. p& v, e7 z1 e) d
  1628. ; http://php.net/session.upload-progress.prefix) i' w1 P+ h( D- B0 f8 z
  1629. ;session.upload_progress.prefix = "upload_progress_"3 |$ R+ f$ v) s

  1630. ; J/ B2 M0 L! ]5 C* f1 U# ?
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    , F+ s0 C  H& x& ^# D9 h6 N
  1632. ; containing the upload progress information
    % F2 J1 M. F1 B6 R8 k# o1 d- E8 P
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' O, q6 ^) _2 v# f* [4 u
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"5 N: P- _# M) O# P
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS": m2 w! l$ p: H1 K7 a  W; k7 |" A
  1636. ; http://php.net/session.upload-progress.name
    2 D. y! K' c4 v7 l3 D, T3 n
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ! h* s8 R& o+ l

  1638. / d4 e) P7 P9 U7 O4 s
  1639. ; How frequently the upload progress should be updated.* z6 i! C# A7 ^
  1640. ; Given either in percentages (per-file), or in bytes3 E. l. q9 O0 K% Y
  1641. ; Default Value: "1%"
    8 K1 a# d# A2 S* Y/ L2 X* {  J
  1642. ; Development Value: "1%"7 a2 o1 W. Y# B, g! U5 b) a
  1643. ; Production Value: "1%"
    % s$ \7 N; ^3 S0 F* d( p3 p
  1644. ; http://php.net/session.upload-progress.freq
    6 C# K: ~& ~6 ~5 U1 r
  1645. ;session.upload_progress.freq =  "1%"
    * C1 i& i& C0 i
  1646. " D! }! X4 k# |0 w+ n' Y' n- H% A
  1647. ; The minimum delay between updates, in seconds
    * J  f7 F+ Q: ^3 I
  1648. ; Default Value: 1
    4 K; o' H; t- }5 Z6 A
  1649. ; Development Value: 1. D5 u9 A' T2 }" @
  1650. ; Production Value: 13 E2 J) H4 N1 w: F5 c7 L
  1651. ; http://php.net/session.upload-progress.min-freq
    , ?' c3 u! d) _, G! @) u
  1652. ;session.upload_progress.min_freq = "1"; }6 Y" I6 h7 L. S) u: x
  1653. * c8 q+ y! O( Z
  1654. [MSSQL]1 k4 N! c& G# g6 D
  1655. ; Allow or prevent persistent links.
      z7 u& ]+ N3 t" K
  1656. mssql.allow_persistent = On
    0 w3 D7 B' b# L: E

  1657. ; b2 ~5 A& L; @
  1658. ; Maximum number of persistent links.  -1 means no limit.% J/ G4 J6 j2 q! ~" I
  1659. mssql.max_persistent = -1
    . B& p+ U" [8 S6 ~/ J9 K& M! }/ G: _/ j
  1660. 9 [' s$ f: g" b3 R
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    0 `' R! C/ g; ^: ^# s
  1662. mssql.max_links = -1
    / A6 U4 g9 P4 |0 H/ v# x

  1663. $ u  f# J, ~6 z, g! @
  1664. ; Minimum error severity to display.: d7 h9 b9 f/ ~2 [0 `, E; F( O- V
  1665. mssql.min_error_severity = 10  U+ h) t! T. Y& [7 L) Y
  1666. + R; g- @  y! X# H
  1667. ; Minimum message severity to display.
    . \1 V- c; M  J6 M0 n+ T
  1668. mssql.min_message_severity = 10, J, C3 r1 ~% O$ {* H

  1669. * C4 y  D/ x! S4 s2 N
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ) N6 M5 L& @4 J* l- Q, d; P7 e
  1671. mssql.compatibility_mode = Off
      o; P! |4 t2 _: `  G

  1672. + Z0 D: ^% v' n/ S# [
  1673. ; Connect timeout. y% \8 A8 X# _# F. `1 ]
  1674. ;mssql.connect_timeout = 5
    / H3 q, r/ L7 I' L% J! Y, ^

  1675. 8 I; h+ I8 h9 _; `% O* g
  1676. ; Query timeout
    7 l! p! L7 H4 {# x1 {  {
  1677. ;mssql.timeout = 60; H& H3 F8 P  N

  1678. 8 x- i# X; y  A  X7 s  z
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    , X/ z6 |& W% [
  1680. ;mssql.textlimit = 4096$ }+ e8 R& [6 W& B
  1681. $ _! ^& P* X$ T- _8 h( f
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    $ C) N1 f0 l. W9 e8 `. b  T
  1683. ;mssql.textsize = 4096
    9 X3 r5 u5 E- r' Q( ^
  1684. 8 m' e8 E9 I# Z% _
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.0 u! d/ |0 q  }9 d9 _
  1686. ;mssql.batchsize = 0/ W% t. K2 d7 w, u& t6 I8 r9 l
  1687. ) E) o3 S+ j7 E" G$ q. S" ?
  1688. ; Specify how datetime and datetim4 columns are returned
    & R! `. k9 O+ Q2 k( I% V6 f9 e
  1689. ; On => Returns data converted to SQL server settings. K$ @6 S' j/ q+ u' L
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss0 }# C  N$ V" ]+ k. D
  1691. ;mssql.datetimeconvert = On
    / F: |' m" v( p9 f9 t% t. ~

  1692. 8 P0 J9 ^# z# Y1 J# `
  1693. ; Use NT authentication when connecting to the server
    , p, T6 f- X+ k" ^9 S& a
  1694. mssql.secure_connection = Off+ n! h' y9 X6 r1 r
  1695. 9 h* M% A- G1 g
  1696. ; Specify max number of processes. -1 = library default
    8 @) [1 }+ Z5 v+ p, [: k
  1697. ; msdlib defaults to 251 V* k/ T4 W, r: D1 j& r$ g7 s
  1698. ; FreeTDS defaults to 4096
    8 d+ P0 L" k3 i2 @1 e5 U) z
  1699. ;mssql.max_procs = -1
    ( L- ?4 a" T" U0 m

  1700. * [0 c3 y- n8 v) [3 F& d, z5 I& z
  1701. ; Specify client character set.
    $ k$ j* {, i' a( D6 J
  1702. ; If empty or not set the client charset from freetds.conf is used
    2 H9 P1 f! t8 O  w- _
  1703. ; This is only used when compiled with FreeTDS6 E+ A1 k8 I1 T: f2 g* ^7 r
  1704. ;mssql.charset = "ISO-8859-1"
    , y7 c  w% X1 i( F
  1705. 8 c) w" t* ]; Y/ P* T
  1706. [Assertion]
    ) N5 n! {4 W# C
  1707. ; Assert(expr); active by default." a) I+ d4 p1 [7 u1 a
  1708. ; http://php.net/assert.active
    ) \( J8 P4 n: F) B2 C
  1709. ;assert.active = On
    : b8 Q7 p& m& I( a' Z' h- Q  h

  1710. 6 s( F; ?1 e5 `' E
  1711. ; Issue a PHP warning for each failed assertion.9 T" ]% Q% s1 g0 i, w7 r# i
  1712. ; http://php.net/assert.warning# @5 g' Z  Q/ g" l; ~
  1713. ;assert.warning = On8 J( o" D$ A. V" E  h5 B: V& o

  1714. ( A( C( Y- Z+ Q+ M" h8 q
  1715. ; Don't bail out by default.8 w9 ?/ b8 Y5 A. i" y
  1716. ; http://php.net/assert.bail, l2 K; A( F  ^* M( a! E8 S# W
  1717. ;assert.bail = Off. e/ e" a/ ^: x% G, k7 Z( s6 X
  1718.   {  j% ]" R3 ]8 s, P+ u
  1719. ; User-function to be called if an assertion fails.9 |0 k" c0 S# {' J5 y: [
  1720. ; http://php.net/assert.callback
    4 L; T+ Q* S( p0 d/ `" Z8 f
  1721. ;assert.callback = 0  v# z, a+ B5 D( t2 q

  1722.   N, H  ~7 o. ]* ]6 }3 T& ?! \5 _
  1723. ; Eval the expression with current error_reporting().  Set to true if you want' E3 z$ \  r0 o/ S& q' p
  1724. ; error_reporting(0) around the eval().
    # b" f7 J+ v: g  v  H8 `' K( p) x
  1725. ; http://php.net/assert.quiet-eval4 `+ r/ t' ^; l( l- A; ~* M3 }
  1726. ;assert.quiet_eval = 0* C2 O& A- T0 e
  1727. 5 {. z# b5 E6 c+ W
  1728. [COM]6 o9 k9 K9 u5 _% r4 v
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    0 r/ f9 m3 ?9 Y
  1730. ; http://php.net/com.typelib-file
    ) ]1 I3 b' H: h
  1731. ;com.typelib_file =% `# z! h7 ]* X8 T8 `4 H. |# p, p

  1732. ! ?9 u; d7 W1 Q, X
  1733. ; allow Distributed-COM calls0 a$ E; u6 q! _
  1734. ; http://php.net/com.allow-dcom- K: T7 x8 E  V+ P8 j2 E- o3 N
  1735. ;com.allow_dcom = true( u! x8 o. n* }  l9 n" [

  1736. 4 S- w" Z3 ~$ s4 G3 H2 N0 q# a, p
  1737. ; autoregister constants of a components typlib on com_load()6 {) S- u2 P! N& }- J
  1738. ; http://php.net/com.autoregister-typelib
    2 Y6 |4 Y  _6 ^/ @4 O2 g$ e
  1739. ;com.autoregister_typelib = true$ T4 l8 ?+ o6 Q
  1740. 5 d# F7 \2 Z( D% \
  1741. ; register constants casesensitive
    6 m' C2 h6 _/ k$ ^7 Y* m' x
  1742. ; http://php.net/com.autoregister-casesensitive6 O7 g  a7 K& h+ H
  1743. ;com.autoregister_casesensitive = false
    . q  ]+ y2 X( Z! O+ Z  P

  1744. : q' D" m1 o6 m- Y
  1745. ; show warnings on duplicate constant registrations
    % {" L' r+ Y2 a
  1746. ; http://php.net/com.autoregister-verbose8 u; e/ E! f* w" y2 n$ Y7 s; b1 x
  1747. ;com.autoregister_verbose = true! ~6 W# a4 o0 N. n4 z1 B' `

  1748. / F* _. o$ G/ B# j# p
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    / p3 B& ?# h) Y  a
  1750. ; Default: system ANSI code page/ y; Q: m  M9 V) K
  1751. ;com.code_page=' ?' n. z( j! u
  1752. # _1 x( N+ _, F
  1753. [mbstring]
    9 P# H2 @* g" ^' W& a1 v
  1754. ; language for internal character representation.8 e: j1 u& u5 @2 ]2 S
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    % N4 X0 r( p, g
  1756. ; http://php.net/mbstring.language- \: C1 z3 [) a; @: a
  1757. ;mbstring.language = Japanese/ [5 o! {( L" }+ Z; I" D* U7 X& S
  1758. / X( Z. Z: P* H8 c9 r
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 L) o# @7 |' p( s* g. ?5 B( h
  1760. ; internal/script encoding.7 e- ]* t/ u& i" a
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)+ b( H1 ~! x7 j
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    , B8 L, h! [# L) F0 w
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) S9 X' B7 Q1 x3 Z: M; W7 N
  1764. ;mbstring.internal_encoding =
    * N% y# V, b. P; J8 \, Y2 @$ o

  1765. & o* h; {0 L6 Z
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    $ z: P1 \- q3 P. E
  1767. ; http input encoding.
    * P( _/ ]( y. y* K0 T( R
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    : V* M) J# j/ a8 X% A* n
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used." c5 A8 h" c2 Y/ C
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    : F# M$ i7 ]! M* X2 f/ y
  1771. ; http://php.net/mbstring.http-input
    7 B5 J4 I4 Y/ X  S% [
  1772. ;mbstring.http_input =1 v# R- e! ^8 s% g

  1773. & I( e; i, z6 F* v
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    # q- q* @1 n( j) F1 e* E, O
  1775. ; http output encoding.: V7 ~2 s3 Z/ `8 S
  1776. ; mb_output_handler must be registered as output buffer to function.
    6 K, p& ]2 q% Z# q% I! z
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    4 p8 L& ~! P* c6 m9 b
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ; Q' z. B# L$ k8 }- Y
  1779. ; To use an output encoding conversion, mbstring's output handler must be set# v8 f/ {1 O& G7 Y  R; d
  1780. ; otherwise output encoding conversion cannot be performed." e% d' f0 k# p  l9 ]; R( h0 C9 Q
  1781. ; http://php.net/mbstring.http-output
    # v# k3 P( y& {
  1782. ;mbstring.http_output =2 n4 O5 ]/ V) X1 ^  H: T) h% f
  1783. ' T, t3 a( I2 h% P0 q
  1784. ; enable automatic encoding translation according to
    ' ~8 E& |0 w3 \. ^) I
  1785. ; mbstring.internal_encoding setting. Input chars are" X5 v) a! ]* _* L  p/ [
  1786. ; converted to internal encoding by setting this to On.4 x1 p3 }' h. D& R
  1787. ; Note: Do _not_ use automatic encoding translation for
    . c0 a$ E% C* S
  1788. ;       portable libs/applications.4 j  `4 w# O5 e: }$ W
  1789. ; http://php.net/mbstring.encoding-translation
    0 _" Y6 U. P* [$ P& C( y" p: X+ P
  1790. ;mbstring.encoding_translation = Off
    4 d' ]( k7 l0 W3 Y

  1791.   G, m& B9 ], S( B
  1792. ; automatic encoding detection order.
    7 s2 {1 p0 \6 e$ h
  1793. ; "auto" detect order is changed according to mbstring.language3 d5 z6 E# C" J$ u. F0 ?
  1794. ; http://php.net/mbstring.detect-order
    ! G- a* v9 y6 R! W  Y% }
  1795. ;mbstring.detect_order = auto
    1 t) A2 m# g( ~! e

  1796. 6 L5 x/ a0 f4 I) w! b+ a6 _4 l
  1797. ; substitute_character used when character cannot be converted4 G+ j; ~% i" C& B9 k% O+ f+ F
  1798. ; one from another* P* N' d( [  d" W
  1799. ; http://php.net/mbstring.substitute-character
    + K: Q! Q* v: H" W( r6 Q9 o. J! P
  1800. ;mbstring.substitute_character = none# B* T; H5 _3 J9 l2 C

  1801. ; m9 D  m) x2 @4 }5 Q7 \' t
  1802. ; overload(replace) single byte functions by mbstring functions.4 [4 W1 r) I( p* Q9 d3 e5 O
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),8 F' V+ e6 U  z
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.$ f# y6 d: y! j* [
  1805. ; For example, 7 for overload everything.( p3 b5 J" A* t1 N1 h
  1806. ; 0: No overload
    2 Z6 N$ J8 ?& [4 H. ~6 j
  1807. ; 1: Overload mail() function
    & n5 J9 {  Y( p% R+ u% d# h) u- @) g
  1808. ; 2: Overload str*() functions
    ( p6 r: k6 g, Y& s' O
  1809. ; 4: Overload ereg*() functions
    , f2 \! i  P+ ~( P3 p$ _
  1810. ; http://php.net/mbstring.func-overload
    # i: v  d' c" D6 \' s
  1811. ;mbstring.func_overload = 0
    8 o8 R$ {9 G* R. N$ N  \

  1812. : l2 E. O7 W1 w8 k- Q, W: h5 t
  1813. ; enable strict encoding detection.
    6 j5 ~; L) `& h- _* Z
  1814. ; Default: Off
    4 j5 M4 b# @. Y7 _% o
  1815. ;mbstring.strict_detection = On0 T( |' ~1 h. n  t

  1816. $ k. s: ~: L, N2 |
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    . n5 v) h2 F& h; C8 Q  v
  1818. ; is activated.
    % W, ^: m. r5 M, ?' G
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml). B/ ]+ I3 T8 z) {9 {3 Y
  1820. ;mbstring.http_output_conv_mimetype=- [1 m0 N; Q/ d: P. ?) b

  1821. ; |. z4 r% o9 T! a% F- [) G$ k+ b
  1822. [gd]# k" c# p* F; G* w" v( O' [$ e
  1823. ; Tell the jpeg decode to ignore warnings and try to create% B3 F  M! n# N1 Q" e
  1824. ; a gd image. The warning will then be displayed as notices
    / t2 R: h3 B$ Q/ C6 }
  1825. ; disabled by default
    ! e3 E; ~( S( u; G* Y) Q- D2 m8 @( F
  1826. ; http://php.net/gd.jpeg-ignore-warning/ d6 F" \3 Y1 ?! N/ O5 ~3 l/ f% g1 `
  1827. ;gd.jpeg_ignore_warning = 0, T) e  s6 E. ]" T! V- u  R

  1828. * w5 W! a7 m& Y- S. p
  1829. [exif]1 W. g) y1 M8 Q! W) P
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    , z4 ~% Y: P3 ~' \% n
  1831. ; With mbstring support this will automatically be converted into the encoding
    / Y: H& I" s6 @) H* W
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    * S2 t2 }6 A2 E; ~9 N% s# M2 t" x  U
  1833. ; is used. For the decode settings you can distinguish between motorola and
    4 V1 a5 Q; s9 g  U- f& j0 @) T( n
  1834. ; intel byte order. A decode setting cannot be empty.& R: |; Z3 q' J
  1835. ; http://php.net/exif.encode-unicode* ^* k& b; P% z% O! t" u; d7 o
  1836. ;exif.encode_unicode = ISO-8859-15
    $ t- @9 Y- Y/ z$ N$ v
  1837. + q5 @7 j% U5 Q* F2 B( f" b* a& `5 t
  1838. ; http://php.net/exif.decode-unicode-motorola
    " P6 w) d# P" ~5 {+ d
  1839. ;exif.decode_unicode_motorola = UCS-2BE, n+ A5 q8 W( Q. M
  1840. ; A1 A; p" X7 p* }8 O
  1841. ; http://php.net/exif.decode-unicode-intel
    + b+ W& o+ f0 C3 \
  1842. ;exif.decode_unicode_intel    = UCS-2LE% @& h$ Q  N& V% Q
  1843. % {: T9 |' s7 B1 y1 F' ]
  1844. ; http://php.net/exif.encode-jis
    9 C* [5 X1 P! |9 p% A
  1845. ;exif.encode_jis =/ B  Q. t+ j7 _9 D  l

  1846. * m5 X; y( @/ I; m- z7 k
  1847. ; http://php.net/exif.decode-jis-motorola
    8 }* d( s; I, M# x
  1848. ;exif.decode_jis_motorola = JIS
    & b0 A, {4 Q+ A% ~" U6 p

  1849. " F: I( M7 u1 k4 k
  1850. ; http://php.net/exif.decode-jis-intel3 F" D/ Y: k. I, O4 {4 b6 F4 l- X- K
  1851. ;exif.decode_jis_intel    = JIS
    + u1 O: }9 o+ e/ ^9 r

  1852. 6 l4 f! D) v* C2 Z# C6 b
  1853. [Tidy]1 N/ K! u: }  Z2 s. }8 |* j
  1854. ; The path to a default tidy configuration file to use when using tidy
    + }4 |# t$ d* r4 [# ]5 K/ h" r
  1855. ; http://php.net/tidy.default-config
    2 E2 e% R  _% o$ j# L2 R" Y! O0 ^6 U
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg% N' G* O2 X- y3 o( M

  1857. ' I  G( q8 K  L9 h8 O: I. X
  1858. ; Should tidy clean and repair output automatically?  W6 L! Z! t# A  v
  1859. ; WARNING: Do not use this option if you are generating non-html content
    ( z) I: J0 @1 b/ [: Z
  1860. ; such as dynamic images
    8 F' ?, N0 W, J! q' \& j& v" h$ Q* Q/ o
  1861. ; http://php.net/tidy.clean-output
    ! T! Y7 {! L/ l$ o, e0 c
  1862. tidy.clean_output = Off
    0 m$ @$ m/ m! X
  1863. & g, @* t& C) H5 s5 h) j5 J
  1864. [soap]
    8 o& B& ^0 _0 p; |: \7 m
  1865. ; Enables or disables WSDL caching feature.
    + _" o3 X2 Z: b0 K2 R
  1866. ; http://php.net/soap.wsdl-cache-enabled
    7 g" O& p; I; v! A
  1867. soap.wsdl_cache_enabled=13 i, b( l) U: F1 q3 o# @# D

  1868.   ~8 M& ]" e1 D
  1869. ; Sets the directory name where SOAP extension will put cache files.
    9 e. o9 d! N! e
  1870. ; http://php.net/soap.wsdl-cache-dir* q# p; G8 R$ Q# n
  1871. soap.wsdl_cache_dir="/tmp"
    * Y5 z6 h2 P# z
  1872.   s; d# n7 v1 l2 n% a) w
  1873. ; (time to live) Sets the number of second while cached file will be used  `; |* u2 k; [* @, F! i" ~
  1874. ; instead of original one.
    3 p1 S' E7 Y/ U+ x+ S
  1875. ; http://php.net/soap.wsdl-cache-ttl8 E7 }% j% z+ V7 i8 B7 G# G; Q! v4 t
  1876. soap.wsdl_cache_ttl=86400
    5 ~: w) a$ ~4 E. t- ^

  1877. " ]5 L9 q9 H4 a  s; V3 O/ g/ t: [$ C
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    1 f& _6 F5 f0 m. @0 [% E2 N, }
  1879. soap.wsdl_cache_limit = 58 u3 `0 D& {8 w6 `; _

  1880. 6 x9 S$ m6 s" T+ ]2 v$ v
  1881. [sysvshm]1 u6 S* @. C2 F4 s; M: H6 ?. w% ~
  1882. ; A default size of the shared memory segment5 v" t1 Y# p$ k
  1883. ;sysvshm.init_mem = 100000 ^" x; R2 v. u! {# N

  1884. 0 G7 J7 g0 w/ K: d
  1885. [ldap]. W" y- L& H) a  r: j
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    6 }# H  w2 T" c0 e  e# O4 }# J
  1887. ldap.max_links = -1  g7 u3 l, [: L- M
  1888. & X3 Q. M' `- @+ j0 s
  1889. [mcrypt]
    8 j" F0 M2 n/ n) d$ [  ^+ h
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open' J5 D4 X$ a* D8 M! f& f! Y/ a8 O% m

  1891. 3 b2 ~" H( z$ k# [
  1892. ; Directory where to load mcrypt algorithms- z# N/ {4 P! Y) f0 R
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)% [; b( R! A" I& ], u
  1894. ;mcrypt.algorithms_dir=
    / p+ R0 _( q1 I  g0 J

  1895. , W, q" s8 o/ g. ~
  1896. ; Directory where to load mcrypt modes
    / V! r  Z) k9 N. s
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)& [7 w% ?! Q+ f5 V- p) j6 {
  1898. ;mcrypt.modes_dir=
    9 R1 J2 q: Q# h3 i7 P" V) b

  1899. 6 ?2 {8 t4 W: v/ c; ~# P& T8 }2 J
  1900. [dba]
    * |. l: J8 z  c7 d
  1901. ;dba.default_handler=
    - c+ i) y. b( m' J& M& ^! i

  1902. ) k1 }# x0 o8 j' z
  1903. [opcache]
    & [+ r& g! K1 X( [3 i
  1904. ; Determines if Zend OPCache is enabled
    7 j& b. |% S, Q
  1905. ;opcache.enable=0
    , b. ~2 c' c7 t$ w7 e6 E
  1906. " l, ?2 J- {' K, V
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP. E! t8 [! W% h, O$ D
  1908. ;opcache.enable_cli=0! m+ l; h6 t" m- }( H9 {
  1909. * @+ X1 o3 H2 N9 H2 p  s
  1910. ; The OPcache shared memory storage size.
    ( q4 L7 P# u, o4 T" \
  1911. ;opcache.memory_consumption=648 v7 k( }" j$ \+ `

  1912. 0 w( B  [( S. G) T
  1913. ; The amount of memory for interned strings in Mbytes.
      e$ o5 M/ a6 s0 u
  1914. ;opcache.interned_strings_buffer=4
    - o" B/ @: \3 a  R) i
  1915. 2 Z, ~% E3 j) _  |; `3 k
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.8 N& B& ~3 f- Y
  1917. ; Only numbers between 200 and 100000 are allowed.
    " S3 k$ a  n1 P+ m  n" K
  1918. ;opcache.max_accelerated_files=2000! M% S% t  y& D2 J* r& Y8 N

  1919. 5 N2 d& t4 f: ~* B6 D
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    : _$ Q( |0 o/ `) _- `/ |
  1921. ;opcache.max_wasted_percentage=59 v/ c- P- B) e! Q; F' h$ P

  1922. $ u) y: t; o: U1 y" N( h
  1923. ; When this directive is enabled, the OPcache appends the current working
    ! {5 R8 F+ R" D
  1924. ; directory to the script key, thus eliminating possible collisions between. V1 [2 R# g& B; Q9 \. Z3 Q' J0 Z' R
  1925. ; files with the same name (basename). Disabling the directive improves
    2 Z- r* F% J- V7 f4 C
  1926. ; performance, but may break existing applications.
    8 `! I- Y  X& T& x0 C( o( `
  1927. ;opcache.use_cwd=1
    ; [% S; }) _- @/ Z: T/ J. Q
  1928. 6 G* M' u. {) o0 E$ D' X
  1929. ; When disabled, you must reset the OPcache manually or restart the7 E, R2 U* V9 `; E2 Q3 f& f
  1930. ; webserver for changes to the filesystem to take effect.
    1 X# F$ I% _/ J( d* h! r
  1931. ;opcache.validate_timestamps=1
    3 F9 v* z8 ?! ~6 w9 _* O, L+ G
  1932. - K- H/ M  D& J% v
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    2 F- i- A) `" c' \+ |5 ^- {$ ^+ G
  1934. ; memory storage allocation. ("1" means validate once per second, but only% W* v% G8 f8 n+ ~
  1935. ; once per request. "0" means always validate)
    / Q& {5 e$ Q9 h
  1936. ;opcache.revalidate_freq=2
    ' B. M: |: ]6 f/ f0 B- u( ]% y: [

  1937. 6 u7 V' O% k: T+ Z( r- E# A9 f, `- y
  1938. ; Enables or disables file search in include_path optimization
    ; t# a+ H7 I* f
  1939. ;opcache.revalidate_path=0
    . n+ ~3 d  Q! X% N0 h

  1940. 1 Y% y" Z; H+ q/ Z1 c0 `
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the& R9 F2 I9 d+ |0 O! M
  1942. ; size of the optimized code.
    3 s: @  o' w5 B, |9 i" Q
  1943. ;opcache.save_comments=1* K* Y5 g! d  d0 {2 O% l8 Q

  1944. . }2 j3 t  S, [; y9 f: S7 u
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"6 j# [+ M1 v* N$ ]) E& z0 U7 Y
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ! v4 O8 J0 T" R+ R5 M) A
  1947. ; that don't need them anyway.
    + Y2 E& |% {  E8 C6 @* E9 I
  1948. ;opcache.load_comments=10 c8 y4 Q  h# g3 E

  1949. * i- V0 V. y: ^* f' J, q
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code+ }& n6 P( O+ `  O- k
  1951. ;opcache.fast_shutdown=03 N9 t% N/ o( \" L% b+ @/ s

  1952. . W0 q) U! K8 h9 C9 k
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    * [' J( j9 `; q
  1954. ;opcache.enable_file_override=0) \4 y2 B' ^6 A% y! Y9 q; s
  1955. 7 F  M/ a. M( c- ^
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache' F, I. o! t& T5 C: ^. z8 `- [
  1957. ; passes4 [) r. T. q5 A/ K
  1958. ;opcache.optimization_level=0xffffffff
    1 Q" M# M% Y) A& ?/ s2 Z  x9 O

  1959. / ?8 P9 f, r: }2 u: o4 \
  1960. ;opcache.inherited_hack=1
    7 ~' n% W) \/ ^
  1961. ;opcache.dups_fix=0. U0 n' m9 g1 p" K

  1962. # N& L$ d" B* {) _8 T( E* Y2 S3 D: f
  1963. ; The location of the OPcache blacklist file (wildcards allowed).' z' F; N8 {& {- v( P( w0 M
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    2 F+ [6 h- b- s/ e  @! ]* ^% u
  1965. ; that should not be accelerated. The file format is to add each filename
    8 X) t5 Q5 k8 S' N9 e
  1966. ; to a new line. The filename may be a full path or just a file prefix% c, @6 M6 u* g: B% Y) y/ R
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    * K2 x- b+ D" {
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).0 x5 M3 U% Q- t3 b" P5 L' _8 }
  1969. ;opcache.blacklist_filename=
      k* X0 Y6 z5 m1 R; }# N: O
  1970. 5 M  K# e& p) f9 p& U& S
  1971. ; Allows exclusion of large files from being cached. By default all files
    * S; I9 ^6 C" f* d) q5 Q. [0 ~7 y9 G- X
  1972. ; are cached." O& ]" o0 t* R: D0 \# K
  1973. ;opcache.max_file_size=0
    ( O& q% U- R0 A: h) D, ^6 K. N* ~

  1974. 3 m" h% r9 X* n0 v$ T
  1975. ; Check the cache checksum each N requests.5 @' }' C( {; b, S
  1976. ; The default value of "0" means that the checks are disabled.# y8 D- i/ u5 S; d" \' }
  1977. ;opcache.consistency_checks=0
    . d' ^* c0 p3 z0 \  n8 h
  1978. / `4 |) H  E( F6 T5 A$ ^
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    3 Y% ]$ u0 E+ [$ @# r7 Q/ H
  1980. ; is not being accessed.: z% N0 A) g' A* Y1 _/ O
  1981. ;opcache.force_restart_timeout=1801 c/ \+ ~6 C" O' g) C1 \- s0 `
  1982. 6 ~9 g1 j3 o0 Y1 J
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    8 F1 x! m# i  b# @2 z
  1984. ;opcache.error_log=, @7 H3 `8 Z  Z' x; h
  1985. 2 N) G0 O* \: }4 R& R7 Y
  1986. ; All OPcache errors go to the Web server log.; I+ f2 N& k; K. N' Z( C, E
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ( M; O% g0 H( F' d/ E5 A& `
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ; W! I8 ?" S2 S6 c0 V
  1989. ; debug messages (level 4).+ s$ |! ^4 x7 I& |9 G- |
  1990. ;opcache.log_verbosity_level=1
    3 m/ N5 F3 v" X
  1991. . j' d- R) X/ Z; _5 v# V
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.- p) a# K& R# u# q( b5 ?: O% @; y) b
  1993. ;opcache.preferred_memory_model=
    9 C: m$ z0 Q6 j: y
  1994. 3 z* p2 x2 x# B/ w/ A5 _! u
  1995. ; Protect the shared memory from unexpected writing during script execution.
    ( |( K, i0 u8 S: x, d4 N
  1996. ; Useful for internal debugging only.
    6 h/ R) s5 j% i5 i3 n' {& R: B
  1997. ;opcache.protect_memory=0" y: t2 X3 b' L; M
  1998. + O) L& O. [' j7 \5 ^+ @
  1999. ; Validate cached file permissions.
    ; a: R; E4 O- m2 J* S2 p
  2000. ; opcache.validate_permission=0$ Z9 W5 K: D$ [
  2001. 5 X7 s( |" p- d/ y! X6 G
  2002. ; Prevent name collisions in chroot'ed environment.
    7 N2 ]0 ~- \- M' a2 p9 W7 B
  2003. ; opcache.validate_root=02 d  r- o( u$ K  o( i5 ?0 T( l* c

  2004. ( v" L/ y! U& C% F: r# d
  2005. [curl]
    ! ?4 D; R( c% b$ p/ `2 D
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    9 ]5 @2 d' q/ C8 ?
  2007. ; absolute path.
    / [' i' B6 w/ t$ r5 G
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    " P' t2 Y5 P. a2 {1 W1 F

  2009. ( b+ g  ]9 W* P+ s
  2010. [openssl]1 X* u! b0 Q5 K9 k& e: o# }
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem/ a& a- s& L, k8 X) u/ y' \5 A
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    - `4 l5 h, j7 K- _
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ! t7 u7 M4 N, n: y+ }  i% [
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    8 Y# p" \; C+ r6 a9 i6 }. e5 G
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    , o8 \' U$ x: r  z8 Z: Y
  2016. ; option.
    ! w. l: s4 ^+ f% y7 ?. i! b
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    6 {3 B4 o& I8 C  i$ v0 [
  2018. 4 p/ J! T  `$ Z3 U( F, w% k  g9 M
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ; }- C0 I+ c2 J% n1 \$ q, P
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    7 o% E% v+ V* X
  2021. ; certificate. This value must be a correctly hashed certificate directory." \* x- t0 Q* w6 k
  2022. ; Most users should not specify a value for this directive as PHP will
    8 ~# A/ }, h' H) X
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,1 d' O+ o- X: C$ X5 V$ z  ]3 A
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    / s% ~3 v8 y# h% f3 U
  2025. ; SSL stream context option.
    5 t& c2 x* {3 f% V9 h
  2026. ;openssl.capath=
    % m5 W2 R+ p  z4 {) l5 J

  2027. 5 j2 E4 q9 P6 o- g
  2028. ; Local Variables:
    . u7 ~* i0 y. ^) n7 e
  2029. ; tab-width: 4
    9 y. v9 @( J, [7 p% B' G* @
  2030. ; End:
    ( R3 C5 x9 n0 \8 N% ?; P

  2031. & R/ w/ q! I7 h4 I" d& D
  2032. ;eaccelerator# h( E# \) R7 @  J6 J

  2033. 7 V" ?' h% V+ a+ i, N6 [! b8 K4 ]
  2034. ;ionCube! l, f, g+ K; l4 h

  2035. 1 o; J7 w, N' |  m+ D' {- ?
  2036. ;opcache9 q( ^+ E! ?0 P* B: J. t2 K/ K

  2037. ) h$ J; [4 T8 q0 P0 t+ c0 q- t
  2038. [Zend ZendGuard Loader]
    , q- P  e1 X  I7 |; b0 K0 m
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    % P4 r/ x! A3 n0 J
  2040. zend_loader.enable=1- m" H( ?: W" \5 l- f, Z
  2041. zend_loader.disable_licensing=0
    * J" I# L- W: Y. @# ?
  2042. zend_loader.obfuscation_level_support=33 \$ j2 v7 K* V1 T
  2043. zend_loader.license_path=1 x7 X% Q0 Q+ E; G% x2 t" C3 s4 W

  2044. / [/ U& _% {0 z* A8 t$ e
  2045. ;xcache
    ' o& i$ f7 I4 V9 T! v

  2046. ; E9 y3 C( n; I& u/ x1 Y
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
4 }/ L+ s, _. t! D$ q$ J4 h; w" |& u  @2 K0 O" t
2 y/ z$ C" t5 u. J; j
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,/ A, f4 I( g0 f& E

5 P' C1 O! N* G* k- C# p! qDiscuz!程序版本选择:
: ]" _4 _( E+ l0 f# x站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,( c) H3 P& T3 d
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:  l; {* f( p; }9 Q# d
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。6 r2 o1 I8 z% {  G7 M* h  O

5 ~4 E! b/ A+ {) ^Discuz!插件模板版本选择:. r6 Y' y  {0 K" H! R& B
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
6 L- ^6 w0 I+ h针对这个问题做个统一的普及:. W" w2 S6 v5 f. _8 v+ F) L
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
0 k" M+ g; W& S# @
. U" u# v# W7 g  x# K所以
) D- M" i! J' ^8 U7 ~5 B适合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的二级域名。3 C9 s& }5 s$ q4 A' S5 \
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。- n$ t6 u) z$ g& h4 |
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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