分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
. F4 h: |/ T1 C0 n! a9 ?$ ~: Y  N5 F' b: ]3 Z
  1. [PHP]
    5 l# W& w( Q& R4 r3 f

  2. 1 }3 \7 p& \7 G2 U6 e2 A  O/ Y
  3. ;;;;;;;;;;;;;;;;;;;: e& ~. W* g' K: p) D. ?9 }
  4. ; About php.ini   ;
    5 N( p% c8 \% ?
  5. ;;;;;;;;;;;;;;;;;;;
    7 E" J5 u, q1 `; ~0 ?
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    0 X4 v/ H- P% [
  7. ; configuring many of the aspects of PHP's behavior.- g3 w* P& q: S2 [; [: r" [

  8. & t7 H4 y6 w, p4 M
  9. ; PHP attempts to find and load this configuration from a number of locations.
    0 b  y5 W: @4 f8 v8 ~
  10. ; The following is a summary of its search order:3 W4 i6 A3 C/ t& W1 @5 U
  11. ; 1. SAPI module specific location.& s, z* g! S) b3 {0 G6 t. ]4 m
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)1 @7 P  _8 d- M
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    6 b) Z+ `6 q* o5 o' T
  14. ; 4. Current working directory (except CLI)' B$ s: l2 Q2 K: z; g
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    , v& r* `' T# B; a$ j
  16. ; (otherwise in Windows)
    9 `6 p9 b* s4 b. |
  17. ; 6. The directory from the --with-config-file-path compile time option, or the" }# o. |6 e. T
  18. ; Windows directory (C:\windows or C:\winnt)- s% z' s3 @7 a
  19. ; See the PHP docs for more specific information.
    $ i- U& L% |0 I6 T3 {/ R
  20. ; http://php.net/configuration.file
    ' |' I  G  F5 l2 Q

  21. 9 w. e/ P; n! H* I' l
  22. ; The syntax of the file is extremely simple.  Whitespace and lines* E# T- C+ W! u* D4 ~, m
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    , s" v- S- k- v" y2 g1 x
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    - {% m  ^. ]- M- E% _& j% B( p
  25. ; they might mean something in the future.0 D4 y" r0 z$ @0 ]) Z2 ]6 @6 v
  26. " E/ ~: c8 I! ?) h% Z% i; ?) O
  27. ; Directives following the section heading [PATH=/www/mysite] only
    7 E9 S9 K% o& j; p
  28. ; apply to PHP files in the /www/mysite directory.  Directives  Y$ O0 w- N6 b. W9 u- X
  29. ; following the section heading [HOST=www.example.com] only apply to9 s, g* |2 t1 A4 l9 p+ k
  30. ; PHP files served from www.example.com.  Directives set in these& C/ |7 v5 @/ }2 ]
  31. ; special sections cannot be overridden by user-defined INI files or3 H9 F+ E" j: T5 p6 x# Y3 S
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    # i8 Q) q5 l# }. Z
  33. ; CGI/FastCGI.
    ! p! y+ b- j1 `. Y
  34. ; http://php.net/ini.sections
    8 T# K5 n9 p8 N7 b) g

  35. 4 z6 c; h0 F9 E2 n9 r
  36. ; Directives are specified using the following syntax:4 T' a* D) q. B* d  Y
  37. ; directive = value
    # k$ m3 z/ E4 D
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.; P$ n# R0 p- b) [5 s8 ~6 R
  39. ; Directives are variables used to configure PHP or PHP extensions.3 I1 O; t. `& s) s, O/ U) {
  40. ; There is no name validation.  If PHP can't find an expected# R( v! C- {6 t: s$ d7 T
  41. ; directive because it is not set or is mistyped, a default value will be used.
    7 D+ _4 T4 j) z7 u) p
  42. & n8 ]6 C( Z1 s; C+ Q5 F8 w5 k5 ^
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one, `' t4 a- j9 H9 h: ~0 C
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression7 S+ B' ?: m6 q5 S" U
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    9 c0 H4 }. X' s; O% d. Z
  46. ; previously set variable or directive (e.g. ${foo})
    3 \+ Q& ^0 a' ^) z

  47. - r# m3 j# |) a4 ~# F2 }
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    8 |* j! p. w6 t$ x9 Z% j
  49. ; |  bitwise OR
    : h8 s$ U, D0 N; p: \6 B: m
  50. ; ^  bitwise XOR% j: F+ g  t% w! \5 k
  51. ; &  bitwise AND
    ) T9 ?, q: q/ T$ Q3 V0 _
  52. ; ~  bitwise NOT6 q4 `& J, r( A% e/ |/ F  w7 j
  53. ; !  boolean NOT
    ( R' P/ `: f- e5 I0 Y4 u) J

  54. 3 @2 X  Z5 C/ e$ Q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.8 V2 C+ A) O/ v: Y
  56. ; They can be turned off using the values 0, Off, False or No.
    $ p, u$ {) T9 w6 ^: w; E6 L' a
  57. & R' x( d0 v: N3 b( u+ [* ?: S3 \! A
  58. ; An empty string can be denoted by simply not writing anything after the equal9 e: o+ j8 H' e1 `
  59. ; sign, or by using the None keyword:3 q  v* P) Z  W, i; o2 |" n6 J" u2 u6 U
  60. 3 q+ L4 h2 _. v) W" a. W4 l% b; y
  61. ;  foo =         ; sets foo to an empty string
    4 h% f7 |$ l5 X/ X; o2 r9 M. W& i
  62. ;  foo = None    ; sets foo to an empty string
    ' h( K2 F/ n4 L; S% h" T
  63. ;  foo = "None"  ; sets foo to the string 'None'
      s$ Z5 B: c" P. Q! O
  64.   U9 V/ A; a: f- R  u% d# _
  65. ; If you use constants in your value, and these constants belong to a5 E/ z; s- z! s1 G" l% C
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    / K: z" z: {) f2 m& @, @- c: Z- t  I
  67. ; you may only use these constants *after* the line that loads the extension.
    % r9 n6 ^, E0 j, b
  68. ! @! K0 |: D" a& o
  69. ;;;;;;;;;;;;;;;;;;;' ]9 c* q, |7 b8 ~" \
  70. ; About this file ;
    : d& t7 |* Y' ^1 h( X/ y) T
  71. ;;;;;;;;;;;;;;;;;;;
    7 `0 Z1 O. q8 U0 u; ], n0 _/ O
  72. ; PHP comes packaged with two INI files. One that is recommended to be used- F8 s2 i8 s( ~4 N& a- T
  73. ; in production environments and one that is recommended to be used in
    3 d2 U/ O6 V, ]
  74. ; development environments.6 G- d7 e4 s% ^: v1 G' [

  75.   @' m$ B4 i+ {' e# Y0 c0 B! p
  76. ; php.ini-production contains settings which hold security, performance and. Y7 f: S# k4 {! ^4 o* U6 }
  77. ; best practices at its core. But please be aware, these settings may break% d7 W/ B/ s/ i
  78. ; compatibility with older or less security conscience applications. We- u7 \7 k) [& t! M) y; \9 h8 c# {
  79. ; recommending using the production ini in production and testing environments.+ T9 n1 p! M' d2 B. E, U7 a
  80. 1 W& [" B; W$ c7 u6 {+ O+ A( W+ ^
  81. ; php.ini-development is very similar to its production variant, except it is
    . h# A: _0 `8 e) n
  82. ; much more verbose when it comes to errors. We recommend using the
    ) C5 \0 n1 s/ A* l) i: _
  83. ; development version only in development environments, as errors shown to
    1 E) u) A9 ~3 E
  84. ; application users can inadvertently leak otherwise secure information.
    6 M1 z/ _9 v9 ^. h2 m9 J3 Q: J8 b: c

  85. & n. z% ]/ i6 Y  @+ [$ y! X
  86. ; This is php.ini-production INI file.8 d6 L( p1 O* x( S$ R

  87. 3 T) u# p! k8 j# \# A% O! _# z
  88. ;;;;;;;;;;;;;;;;;;;
    + R9 F. r( U2 I
  89. ; Quick Reference ;
    , V5 R' x4 A3 J+ d- ?
  90. ;;;;;;;;;;;;;;;;;;;8 x+ j: |, e# v+ J6 F
  91. ; The following are all the settings which are different in either the production- q3 C. m0 E: F) A2 E3 Y6 J6 i
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    4 [* [5 R# @# d( M7 o  N$ a
  93. ; Please see the actual settings later in the document for more details as to why
    6 o. o+ {/ @* S' u5 c/ Y
  94. ; we recommend these changes in PHP's behavior.- d4 s& S; q1 j. ]0 F; @9 B

  95. - l' j3 T9 n1 b$ N  n) k- P$ G
  96. ; display_errors
    % y9 K' v0 C5 X+ M$ V& i
  97. ;   Default Value: On& ^2 W# s: y0 j0 ^/ Y
  98. ;   Development Value: On
    # \2 i# S( F" _8 y7 ~7 I
  99. ;   Production Value: Off
    : D+ Q+ F( d2 \  X8 q: k

  100. & r7 A; `2 j/ y3 [/ m$ b
  101. ; display_startup_errors
    * b$ r5 }: \. A4 r* j
  102. ;   Default Value: Off
    ' O$ W6 f% j0 N- L1 D- k* Q* C
  103. ;   Development Value: On  [1 G) B7 K8 u2 ], n: ~9 D
  104. ;   Production Value: Off1 ?; K; r9 a- _% P: T  N
  105. * X( r: g5 u" C
  106. ; error_reporting; j" |7 U- r6 Q4 \% c" w# a
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ! X% N- L7 z0 j9 \8 V
  108. ;   Development Value: E_ALL) ?/ [! O3 M1 ^( \: {# }- W, Q
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    / [0 w9 [& d6 i, N1 N" F: P

  110. 1 b. Z7 t. N+ C# J. _  f
  111. ; html_errors" l  o! [% z& }" x
  112. ;   Default Value: On+ ~& t' A+ R* R( K
  113. ;   Development Value: On
    $ `0 E' m  {0 g
  114. ;   Production value: On
    , y% Z1 B+ B! |+ [# M/ p
  115. % l3 p/ G4 |7 @8 f! Z. r
  116. ; log_errors
    3 J8 D% ^7 t2 T9 |( m  r0 X& t
  117. ;   Default Value: Off
    ) G/ \  w/ C5 H( K: b7 J
  118. ;   Development Value: On, L6 h* K! o6 l1 ~" M( c
  119. ;   Production Value: On. {% o1 z3 _6 h) {, u8 ~" H

  120. & ^$ j( O# a8 [& a, z. t
  121. ; max_input_time
    0 d" R& X, R& L+ s0 e
  122. ;   Default Value: -1 (Unlimited)
    # X! H, l/ m6 f/ m; [7 S' `
  123. ;   Development Value: 60 (60 seconds)
    " I- ^2 j( P4 n# J" u
  124. ;   Production Value: 60 (60 seconds)4 r% M! i4 j! y; i$ g3 u: y( M
  125. ( H, X% ], ?) }8 O$ l
  126. ; output_buffering
    2 C+ j$ A, z1 Y% H6 R
  127. ;   Default Value: Off
    # x1 o) R/ E) k( x3 r3 p. V
  128. ;   Development Value: 4096
    # r; y7 E# A2 e5 c1 A
  129. ;   Production Value: 4096
    " c- j# X$ a$ |( [. X5 H, r
  130. * o* M# ]& Z& n: I
  131. ; register_argc_argv/ z) [$ k0 V; j1 A# e) Y
  132. ;   Default Value: On* V# v9 O: O* r0 D* B2 X
  133. ;   Development Value: Off  x5 m+ R( v+ ^! m8 D
  134. ;   Production Value: Off
    ) W8 k0 I# V4 @7 A( Y' P

  135. + n+ `! \: a3 ~, W* s0 B; l
  136. ; request_order
    8 B  w$ _. f% Q  p
  137. ;   Default Value: None
    ; w2 Y+ |* l& G: ~
  138. ;   Development Value: "GP"" |0 W0 L+ l3 I. K
  139. ;   Production Value: "GP"0 p7 ~- \' K4 i5 K& C& |) h
  140. * Z* j& ]7 w% }4 ?8 _/ A
  141. ; session.gc_divisor6 v5 O# A* R+ Z0 u( ~
  142. ;   Default Value: 100
    4 O7 f1 c/ B' [* o: O2 t$ ~9 z1 i0 @5 v
  143. ;   Development Value: 10003 p# R& s  n3 @/ \6 P
  144. ;   Production Value: 1000
    % E! K) e( K# L+ }  A) x

  145. * v8 _& H& r0 c; U8 Q5 c/ u5 U
  146. ; session.hash_bits_per_character4 R( q* T7 A- g5 c7 z% o! k6 n, T1 E
  147. ;   Default Value: 40 m0 K) a9 f2 Q7 c% P  f
  148. ;   Development Value: 5
    2 b  v9 F# E# [* ]. i
  149. ;   Production Value: 5
    4 s* g( l3 ~: R& C: f

  150. , c$ t; U3 g; e% W0 q
  151. ; short_open_tag6 O+ G- H2 r; z( C
  152. ;   Default Value: On' Q* t8 ]( Q; \, q, U, A, N
  153. ;   Development Value: Off
    ' c1 F& M; n+ W3 a: f+ T# m: ?
  154. ;   Production Value: Off
    ! `; o" @% N: e4 J1 b% ]. h

  155. ! Z; ?6 G" a6 i  s9 s/ T/ U
  156. ; track_errors& s$ l! K5 @: o7 F* n, w. i
  157. ;   Default Value: Off9 T  l. V, C/ A
  158. ;   Development Value: On
    2 X" X2 h" f8 G1 Q
  159. ;   Production Value: Off  D# f) z5 j( r/ m

  160. 5 x+ L; d" Z5 {* R. ~% m; K! g7 _2 s
  161. ; url_rewriter.tags
    : n! j- U) x8 \4 {: b- @
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    3 K9 }' f5 Q1 @' R9 I; ?0 \
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! M1 L4 k- v# R) {
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 `5 n' {- I; J2 w, T- Z. m

  165. * ~5 b# o  f4 _8 |6 `; z2 p: S+ E* P
  166. ; variables_order9 d- \. ^8 C3 o0 d$ \
  167. ;   Default Value: "EGPCS"
    8 }7 C6 k& i# R) Q( Q
  168. ;   Development Value: "GPCS"; c; q$ t' L# |" _
  169. ;   Production Value: "GPCS"
    4 K: L# T$ l* x# y! D

  170. ( ^+ A' }  Z3 }- b; U# Q4 J$ ^+ E
  171. ;;;;;;;;;;;;;;;;;;;;; M# r0 @- @5 v; C" @7 `
  172. ; php.ini Options  ;
      _' T4 F( p! d/ e' I, p! D3 c2 W
  173. ;;;;;;;;;;;;;;;;;;;;' |0 E0 [: a0 f" K$ Z+ n9 {
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    0 {* m+ }5 n4 R. d% w; _$ U9 P
  175. ;user_ini.filename = ".user.ini"
    4 w6 }; @! w# Z, m
  176. 4 y9 K+ d- L: Q/ b0 R$ S
  177. ; To disable this feature set this option to empty value( d! Q5 D; p' E7 i( r" i& G" S
  178. ;user_ini.filename =
    - T2 P# ^7 g3 m' I* R9 w2 `0 \6 X

  179. & p& S. p' {. x* k& m+ x' T. p
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ( s) V9 b% S# }$ Y6 s# F
  181. ;user_ini.cache_ttl = 300/ l. l. s1 v: ~4 I  T$ F7 U  \
  182. ; r0 p5 |; b& C' k- J
  183. ;;;;;;;;;;;;;;;;;;;;2 k( x$ {2 s& y% ?; P
  184. ; Language Options ;3 ?6 p$ o: m8 Q& T! Z9 ^, y/ O& [
  185. ;;;;;;;;;;;;;;;;;;;;
    8 d" _6 Q7 D- E. I

  186. 3 Y3 t: M0 M2 X1 z, {
  187. ; Enable the PHP scripting language engine under Apache.7 v/ w; W3 ]4 O3 l% v0 O9 o
  188. ; http://php.net/engine
    8 [/ [' \8 d6 p9 f
  189. engine = On
    : N9 i- ~- _1 f' P5 H9 ^
  190. $ \" K9 q4 p8 f  [1 `/ D0 N
  191. ; This directive determines whether or not PHP will recognize code between
    2 i! _: R" C/ d" S6 m
  192. ; <? and ?> tags as PHP source which should be processed as such. It is/ }5 L/ t. r( g- I2 ^
  193. ; generally recommended that <?php and ?> should be used and that this feature
    * \" c1 `' H& n
  194. ; should be disabled, as enabling it may result in issues when generating XML4 P6 g5 i. A) ?, ~. |% P7 y) }  |" _
  195. ; documents, however this remains supported for backward compatibility reasons.
    3 i) f" q  s" l, B5 w/ {$ r
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    $ j6 x1 }8 @9 f$ H* \
  197. ; used regardless of this directive.
    - v8 ?; z/ Q+ j8 a9 y) U0 I
  198. ; Default Value: On. m$ x9 V3 V! p" k3 J9 L
  199. ; Development Value: Off
    2 [3 H. f# ?# ^
  200. ; Production Value: Off6 {: m# q5 j/ B2 E% w) |, c1 _
  201. ; http://php.net/short-open-tag
    ) b- L1 l. d: L' h
  202. short_open_tag = On$ Q3 w! Y  [: U8 f/ `
  203. 8 s0 m, ^+ ^& j4 |  g
  204. ; The number of significant digits displayed in floating point numbers.
    9 d) a) H1 r/ H: W# j6 c
  205. ; http://php.net/precision
    # D$ q/ l% X' z9 Z8 d
  206. precision = 14% r1 x2 X# O  R5 a8 L, w& t* G

  207. , V, r5 q1 p9 J' h' I# y
  208. ; Output buffering is a mechanism for controlling how much output data6 O1 @- @/ @% A; \
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that) e5 i# U% T3 }
  210. ; data to the client. If your application's output exceeds this setting, PHP
    $ U2 A& ]5 O% m- g) ?* k
  211. ; will send that data in chunks of roughly the size you specify.8 }+ }% J( U% l; A' J
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    7 S- `+ D$ ?5 z5 w1 K  i
  213. ; interesting side-effects depending on your application and web server.6 Q  Z/ d8 d) Y$ G$ y
  214. ; You may be able to send headers and cookies after you've already sent output
    8 Y2 k% s& P8 @! u# r
  215. ; through print or echo. You also may see performance benefits if your server is5 s2 M  x* y* I3 x% n5 g8 W
  216. ; emitting less packets due to buffered output versus PHP streaming the output  D! c5 |+ |9 A
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance/ w0 q7 v2 f; }* Y  F: T
  218. ; reasons.
    ' V+ J  Z* d, s! Z
  219. ; Note: Output buffering can also be controlled via Output Buffering Control, d+ N5 J9 G* Q6 w9 w# r$ d
  220. ;   functions.+ `. D* D6 c  v# R  K7 J. Y
  221. ; Possible Values:. g$ \* D7 w5 T$ l
  222. ;   On = Enabled and buffer is unlimited. (Use with caution). S' L4 h" _6 a8 p" G) ~
  223. ;   Off = Disabled
    ) r' e7 V2 w: `7 [0 c- q
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes., c. L  a0 k) ^( \& |
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    " R8 B9 j  `' X. i
  226. ; Default Value: Off' l/ [9 }! M! v( J& h1 r; T( m, p
  227. ; Development Value: 4096
    " T, o, }3 b2 F% {  k
  228. ; Production Value: 4096
    3 P+ h6 B& _' c
  229. ; http://php.net/output-buffering
    & ?) q- b* X: j" Z  D
  230. output_buffering = 40962 j% [7 R4 V( Z* z

  231. " |, c7 Y* Q4 i2 ~- [# _  K
  232. ; You can redirect all of the output of your scripts to a function.  For
    6 Z$ T0 Z2 @! _
  233. ; example, if you set output_handler to "mb_output_handler", character, }6 j3 @0 X2 x+ p  p" y
  234. ; encoding will be transparently converted to the specified encoding.
    , E0 g/ r: S2 m* Z3 K. f
  235. ; Setting any output handler automatically turns on output buffering.6 }; F7 U- a/ ]% W+ Q3 D) r
  236. ; Note: People who wrote portable scripts should not depend on this ini2 d! T; V- W; [
  237. ;   directive. Instead, explicitly set the output handler using ob_start().$ ?7 B+ k& T# h% j9 o) m
  238. ;   Using this ini directive may cause problems unless you know what script
    2 z. Y7 T' e* z5 H  y
  239. ;   is doing.7 x8 f3 \9 `$ m0 T& {
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"6 q+ A! D2 E" w! P" O) ~
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    + ?# }: Z0 o) x4 _  |, z- _  f
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    * p& ~3 z* k: m8 ?, w
  243. ;   Instead you must use zlib.output_handler.
    # q' \3 a* g' G- ~( a" c  m
  244. ; http://php.net/output-handler- S9 V6 [* `+ d! G( m
  245. ;output_handler =
    4 z# E* n  W, E6 c2 }: Z

  246. 6 u, p* ?' u* |/ z9 o( \
  247. ; Transparent output compression using the zlib library
    ! b, o  q  g4 n5 r
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    2 O5 p3 t5 K0 O+ b  J: {
  249. ; to be used for compression (default is 4KB)0 r6 r6 _3 @1 N. v& `
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    8 J( n. b& |) v5 \0 ^
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    6 ~2 Q; H% }, I; r5 k# R5 ], j/ Y
  252. ;   compression. If you prefer a larger chunk size for better
    ; @# ^; H' h/ y; Y- |' a& B$ f
  253. ;   performance, enable output_buffering in addition.
    9 ~8 I. f! |% ?, W! G7 B& J
  254. ; Note: You need to use zlib.output_handler instead of the standard
    + \% H8 m& z+ ^6 ~" H
  255. ;   output_handler, or otherwise the output will be corrupted.
    6 p) f4 F2 l0 T! B; f0 @0 ^# v5 {
  256. ; http://php.net/zlib.output-compression
    + L2 t. z3 W$ |
  257. zlib.output_compression = Off' Z1 B3 w; f, s6 @0 S0 H& p

  258. & ^6 |5 W& H& A1 f8 ^
  259. ; http://php.net/zlib.output-compression-level
    5 `0 _% z% {; W% Q; o: n
  260. ;zlib.output_compression_level = -1
    0 O7 ^! r; b% O; m+ i- k/ \# \
  261. 0 E+ P# m- u! d& J# t$ ?
  262. ; You cannot specify additional output handlers if zlib.output_compression
    . q% D- q' ~5 t! _
  263. ; is activated here. This setting does the same as output_handler but in5 X! w0 E4 p. U- i) F
  264. ; a different order.
    , ]9 Z8 m/ X$ v1 O+ L
  265. ; http://php.net/zlib.output-handler
    , T4 w: n$ b, F- L# X# f
  266. ;zlib.output_handler =# m& L) n8 f* W: i/ c( O9 Y+ f

  267. ) k* a: y- w* e7 `+ x
  268. ; Implicit flush tells PHP to tell the output layer to flush itself% G( ~7 S, [1 G( q3 W% Q) c& R% x
  269. ; automatically after every output block.  This is equivalent to calling the' F6 ?  h, z5 L" K  X) Y
  270. ; PHP function flush() after each and every call to print() or echo() and each0 I! d$ y! }: U* s: q
  271. ; and every HTML block.  Turning this option on has serious performance6 q5 R) Z+ l- a5 L# E
  272. ; implications and is generally recommended for debugging purposes only.& y4 D/ [7 [2 H' n( V2 c* p
  273. ; http://php.net/implicit-flush, l2 c- P* F" n1 T
  274. ; Note: This directive is hardcoded to On for the CLI SAPI% U# T1 _- [$ O' p1 |
  275. implicit_flush = Off
    ( J6 d) a; g) n. o: ~+ g, }

  276. * F& L; u$ a  O1 _! c: `- N
  277. ; The unserialize callback function will be called (with the undefined class'
    ) B7 s2 R5 }+ }7 v, f
  278. ; name as parameter), if the unserializer finds an undefined class
    1 d" e4 C, X! B  J  q7 F; a: \
  279. ; which should be instantiated. A warning appears if the specified function is% Q* j/ j" x( k# L# u
  280. ; not defined, or if the function doesn't include/implement the missing class.
    5 u) p5 C; j1 s$ E- y' H; i- F) y
  281. ; So only set this entry, if you really want to implement such a
    0 }$ p- M% ~9 h0 a% [% l
  282. ; callback-function.
    & s. m- e& {0 X0 A" P& {  \# O
  283. unserialize_callback_func =$ f9 ~  G1 M, O4 X
  284. ) N/ r- t0 f) B. P9 X6 L1 _
  285. ; When floats & doubles are serialized store serialize_precision significant
    5 i" j2 s# E2 c, `1 m
  286. ; digits after the floating point. The default value ensures that when floats
    + h3 O2 A/ N  Q1 I; H) D9 @
  287. ; are decoded with unserialize, the data will remain the same.
    ) `) v& t% j5 h* [
  288. serialize_precision = 17$ ?- r! o, K$ Y/ a
  289. " M0 c+ [5 Z- S* F6 C$ k2 [
  290. ; open_basedir, if set, limits all file operations to the defined directory
      l, e! I' P4 P1 t* u: I4 q
  291. ; and below.  This directive makes most sense if used in a per-directory
    - ]$ ]: K* U8 H2 V. m
  292. ; or per-virtualhost web server configuration file.
    ) s2 `+ y7 C' @( A: }( s; a  V
  293. ; http://php.net/open-basedir: i% t7 h* K4 F" F6 C* q) y
  294. ;open_basedir =
    , a' F2 h3 S9 t7 `+ B8 e+ [
  295. $ Z  w0 X+ U+ J7 C
  296. ; This directive allows you to disable certain functions for security reasons.+ v/ S5 H+ C" L7 d0 l: F
  297. ; It receives a comma-delimited list of function names.# k: a9 F) S( ~& Q6 r( D7 w8 f
  298. ; http://php.net/disable-functions- |; Q; p& \6 t" a+ |8 s
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru1 O' Y/ s& ]" B
  300. " q4 f% ^5 K/ A. I
  301. ; This directive allows you to disable certain classes for security reasons.  E, P, Z. G0 ~
  302. ; It receives a comma-delimited list of class names.& c0 u$ }; b& }2 f7 l3 Z
  303. ; http://php.net/disable-classes
    % B# `1 j7 Y2 q8 I7 [" \
  304. disable_classes =
    - P/ p' h8 |) `+ y. G$ E7 l. }: p  H
  305. * k! I6 D5 {2 l: i! m# ?
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    8 M: e, J9 e) q  k( w6 a; t9 i
  307. ; <span style="color: ???????"> would work.
    & \1 j0 Y3 c# x$ e
  308. ; http://php.net/syntax-highlighting
    $ D& S, X( C# S! f/ w
  309. ;highlight.string  = #DD0000; s; D: G1 Y! X# k( m/ A1 _
  310. ;highlight.comment = #FF9900% X9 I6 W+ K/ W5 {$ O
  311. ;highlight.keyword = #007700: b0 m: Q& S( Y" y; [! W( M, t
  312. ;highlight.default = #0000BB
    9 r0 X! s% u4 h/ N5 Y! n; b+ w! V) W
  313. ;highlight.html    = #000000: j1 G) Z+ z0 c, G$ k5 y7 j
  314. 6 ~; x- }. q" [* ^4 G+ T$ a- ]9 t
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    % r/ `" O2 L) Y
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ( b/ M$ r. c& X0 B& r5 g4 a: _
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    1 v8 F: K  F6 t" M( i. @2 W
  318. ; is to disable this feature.
    ( J- h) U; J1 c$ V
  319. ; http://php.net/ignore-user-abort
    ) G3 r$ D0 `! v! }- X, N) I# {3 u. H8 D" d
  320. ;ignore_user_abort = On8 Z. U* n! U( @( Q  E+ t: K

  321. ) v1 s$ Y* Y! ~! Y2 e& |
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    " S) A& @9 x: @; j* B. {
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    1 `% k, s- {1 j+ ?8 V2 q+ z6 h" H/ z0 v- F' [
  324. ; the file operations performed.3 }+ o0 i2 Z3 g* d' n' p8 `" E& _
  325. ; http://php.net/realpath-cache-size4 Q# b4 @. V9 D: i2 H) s  @$ |
  326. ;realpath_cache_size = 4096k! @4 p! W7 L/ R+ M% d
  327. 1 _7 f8 g; {7 e! f
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    , f9 r4 h% p3 L; C# f, h
  329. ; file or directory. For systems with rarely changing files, consider increasing this2 Y" q5 R2 \) I5 W
  330. ; value.
    - N( B2 V0 L4 `3 O0 M) W5 i0 K& V
  331. ; http://php.net/realpath-cache-ttl
    ; w) k$ n; a6 f' U& v8 M! h: C
  332. ;realpath_cache_ttl = 1209 V, I8 J) K6 M0 x0 M4 i

  333.   P2 r: ?- M7 z8 }# d
  334. ; Enables or disables the circular reference collector.& }- `$ I: P% H! Y- U2 d; X
  335. ; http://php.net/zend.enable-gc
    2 D/ a+ C* w2 f8 @) B
  336. zend.enable_gc = On
    + a0 E. Z! {5 o! @  e1 Z
  337. ( m! H$ l$ h1 Q" ?% K8 Q; ^
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    $ q/ R% ?9 P. y: X
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    * j" L- W% P5 h' l. ~5 @
  340. ; encodings.  To use this feature, mbstring extension must be enabled.2 M' |/ V- l* L  a! B
  341. ; Default: Off5 X& H1 `0 A/ D8 y* k
  342. ;zend.multibyte = Off
    % o/ x8 r$ x0 f; {) I

  343. 8 g7 W6 [; I" d0 R
  344. ; Allows to set the default encoding for the scripts.  This value will be used  T1 B- `+ K0 Z; Y$ Y# C! O0 ^9 D# u
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.: S' y+ z( F/ i3 T+ H: Z/ O5 Z1 P
  346. ; Only affects if zend.multibyte is set.
    6 G: U7 {- _& e/ W5 q, ?3 N
  347. ; Default: ""
    " Z0 e7 \- E+ c2 Z$ v
  348. ;zend.script_encoding =& ]8 l; `+ b/ a; J% b

  349.   f1 u# k0 z; R6 M. ^. `) _  O  R& W
  350. ;;;;;;;;;;;;;;;;;) ?6 O, B* e8 w+ f6 v
  351. ; Miscellaneous ;$ h7 D, ?/ o$ H( G7 c6 I# l% C
  352. ;;;;;;;;;;;;;;;;;
    , B1 D" ?" r5 b& O2 U0 x% e) J
  353. 3 p+ ?& Y  n& A3 V* x1 {
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    $ z# M6 D0 g7 R- [
  355. ; (e.g. by adding its signature to the Web server header).  It is no security% F" V. c& |0 @: Z/ U
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    & l5 X& S; `5 {2 a$ C
  357. ; on your server or not.
    # }7 z0 t) }6 H
  358. ; http://php.net/expose-php
    - p/ C: g9 O+ n% Q1 w6 l  }
  359. expose_php = On* d! V9 x% O0 N
  360. : u, {) K* [/ d/ {% X
  361. ;;;;;;;;;;;;;;;;;;;
    1 e6 m' ~( n9 [4 A) ^& R! a$ P
  362. ; Resource Limits ;
    ' ]8 t; \6 x$ j; q
  363. ;;;;;;;;;;;;;;;;;;;
    $ u* e) B, Z2 u
  364. & L0 A, H1 V5 \0 Z
  365. ; Maximum execution time of each script, in seconds) u1 a4 ]7 _: x2 ~; \' P
  366. ; http://php.net/max-execution-time
    * s/ ~% H6 {* h& P
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    3 Y3 `' D8 a, t9 j1 i2 f
  368. max_execution_time = 3001 {% J/ H4 T2 j- ^" p
  369. 7 d' X* r* M! N* S$ e* Y) q* u, t, ~* `
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    2 W1 ?" `5 {9 L
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    3 @6 f7 ?2 w( \
  372. ; long running scripts.% G8 `7 T+ `/ J3 q: a
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    5 Q# U7 C3 ]+ d& K1 |
  374. ; Default Value: -1 (Unlimited)0 ~. K4 I% O" O/ ]* x$ a
  375. ; Development Value: 60 (60 seconds)
    ! A$ l2 [+ r( ]1 I# h# N$ t$ F
  376. ; Production Value: 60 (60 seconds)* v* Y9 a1 x8 D4 F5 R2 b$ d
  377. ; http://php.net/max-input-time  _! Y( ?9 M9 ^3 v9 J; C- I, {
  378. max_input_time = 60
    , Q1 O$ ^) b" b

  379. 8 c# d7 ~; _! B  Q1 f, w
  380. ; Maximum input variable nesting level
    ) }+ \( I% b, G' b! U1 @* ~% f
  381. ; http://php.net/max-input-nesting-level$ `! m. a' |  n) C5 H
  382. ;max_input_nesting_level = 64- P' U& Q+ i3 q, c9 v+ S
  383. ' W" i* ?0 }  G+ Z
  384. ; How many GET/POST/COOKIE input variables may be accepted# {3 e5 J7 u3 [% R$ G" \
  385. ; max_input_vars = 1000
    1 V7 O# b# f1 E: g+ E. E+ C, ~

  386. ; s3 r: d# t% Q8 X. d& B7 W
  387. ; Maximum amount of memory a script may consume (128MB)
    4 O2 N% Z$ F' c5 d9 ^7 W
  388. ; http://php.net/memory-limit
    ! T, a, G$ }. p+ B) L0 W7 B
  389. memory_limit = 128M
    " q' X3 v! j5 X% ]
  390. / C5 b- `8 z( x
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    " `6 D6 e+ J/ s& X7 d
  392. ; Error handling and logging ;
    3 Y5 M9 D- \8 d8 a- n
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    % Y6 @- R& q2 ~$ d1 i/ T6 X# g6 r

  394. " z+ E0 s; g; u5 g
  395. ; This directive informs PHP of which errors, warnings and notices you would like. |7 G5 \' e0 |" p4 J
  396. ; it to take action for. The recommended way of setting values for this
    ) y1 z' `8 [" u' n. D4 s/ Y
  397. ; directive is through the use of the error level constants and bitwise: q# H/ r6 `  x1 c8 ^
  398. ; operators. The error level constants are below here for convenience as well as6 _8 u" P# E3 l, a
  399. ; some common settings and their meanings.+ J  k- W* ]5 h4 d
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 H; o0 w& ^$ i
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and' T) Q$ P, I8 [8 T& f+ q. c
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    ) ~: A* [$ J1 [; K
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    - l) c& E7 ?8 g+ p* o) G! l
  404. ; resources complaining about best practices and coding standards. That's what4 {; e( N- V4 o+ @
  405. ; development servers and development settings are for.
    & L' z* T7 I3 W1 i7 {2 P6 H6 K
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
      d; G" k5 A2 i" _# A. F+ ]
  407. ; means it pretty much reports everything which is exactly what you want during* r; R4 p2 V+ W& `6 {1 T- P' s
  408. ; development and early testing.
    " T; \7 Z; C+ S( P( u& O/ g
  409. ;
    & J. }/ Z- t& B  O1 z9 ?$ X
  410. ; Error Level Constants:
    ) O/ g( F1 G: d* N; Y
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)6 k3 g4 T- s5 U7 V, t" [
  412. ; E_ERROR           - fatal run-time errors9 I: ~1 I; }) H1 [# i( P# O
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors: G  p- [9 U0 x, a2 a' Q" L
  414. ; E_WARNING         - run-time warnings (non-fatal errors)2 M$ X+ j6 A/ U4 i: y
  415. ; E_PARSE           - compile-time parse errors
    " d, z  X4 T1 r
  416. ; E_NOTICE          - run-time notices (these are warnings which often result* g9 A9 o. E4 X. Y
  417. ;                     from a bug in your code, but it's possible that it was3 \/ Z0 Z7 ?. P& Y2 G2 t4 P
  418. ;                     intentional (e.g., using an uninitialized variable and: _1 _' m* L' S) b7 i/ I3 S
  419. ;                     relying on the fact it is automatically initialized to an+ a3 ?5 g2 l$ l8 _' r" j
  420. ;                     empty string)3 v! H1 j( E3 p" m; D7 g' n. M
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    1 L! \1 q( c8 q1 J; O- W! t: ^
  422. ;                     to your code which will ensure the best interoperability$ K9 @* Q' l7 k* n3 R, R( h
  423. ;                     and forward compatibility of your code% ?! x% l* s6 C5 S! {
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup6 U! i* ]* R2 l4 Y$ t" c/ T
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's" ~; ~/ {0 K4 \* ^! b1 p
  426. ;                     initial startup' f# ?7 N3 ?/ u0 {5 z! `' ?
  427. ; E_COMPILE_ERROR   - fatal compile-time errors( s5 |% [6 v; _  R3 J* T
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    3 s! i* K! u& v0 ~* z7 T+ _3 a! G9 y
  429. ; E_USER_ERROR      - user-generated error message
    ' N. O0 v, U' K
  430. ; E_USER_WARNING    - user-generated warning message0 m$ ]+ g9 S, q8 J
  431. ; E_USER_NOTICE     - user-generated notice message8 o& D7 Z! S, J& N; h' p" ]1 N
  432. ; E_DEPRECATED      - warn about code that will not work in future versions& W* c- x/ q; F+ V- Y
  433. ;                     of PHP
    # j- Z+ _' Q) S, Z2 z$ Y
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings, [6 W+ C  T& z! u
  435. ;
    * i' c- x# y7 j. S3 b  \0 D$ k9 l
  436. ; Common Values:1 C+ ]' _) F0 t, c; E8 T! v
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)# W) T" G9 J" e) t% O: Y5 x0 \
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    9 b- ?; v# @! M7 R; Z9 n
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)2 ~; A7 X# T) `4 q+ v+ L' M
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    0 x2 n# I; A5 s6 N/ B$ h
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . |! }% V+ j  I
  442. ; Development Value: E_ALL
    + {1 {9 \* ]8 c
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 v6 j- i3 _( W0 O- e# }
  444. ; http://php.net/error-reporting
    " p  c7 w" `! |# D' Y! I
  445. error_reporting = E_ALL & ~E_NOTICE1 D; N6 E9 `; S# I8 u; [
  446. ; G% O6 V, O8 f* K% t, u
  447. ; This directive controls whether or not and where PHP will output errors,
    $ D9 c: O% R/ x" n! m7 A# k
  448. ; notices and warnings too. Error output is very useful during development, but
    7 n& I, `2 t8 _  W
  449. ; it could be very dangerous in production environments. Depending on the code
    3 o; l! i1 u% z2 m4 E
  450. ; which is triggering the error, sensitive information could potentially leak* |) @" n9 w2 q7 G( `; O' z7 E
  451. ; out of your application such as database usernames and passwords or worse.
    4 `3 i# u) m$ ^! i
  452. ; For production environments, we recommend logging errors rather than
    ( @* Z9 T/ U4 K: d) a  ~
  453. ; sending them to STDOUT.
    ! Q5 y, D$ r! L1 B; P, C8 ?
  454. ; Possible Values:
    ( P1 ^% ~% a( W2 \5 U
  455. ;   Off = Do not display any errors! R; m8 N' C( `, }- R  H; O
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
      {1 H$ J- g* Q+ H$ c
  457. ;   On or stdout = Display errors to STDOUT4 O3 S3 ^& P& V5 n! P
  458. ; Default Value: On
    ! ~$ z1 {" x' P& A! s
  459. ; Development Value: On; B0 \" z8 f, m0 I9 l
  460. ; Production Value: Off" `. w# J  t! V4 o# X+ y
  461. ; http://php.net/display-errors4 {4 x. D' y- m7 M8 p
  462. display_errors = On
    2 J( V/ L4 Z0 C

  463. # F6 y( J, s9 G( |) R+ N2 h
  464. ; The display of errors which occur during PHP's startup sequence are handled
      P. O, J! N  ?. x7 d2 m
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    2 `) K! \4 e" R  m7 B' ]: h
  466. ; errors from clients. Turning the display of startup errors on can be useful in* k* n$ H. S4 X: ^$ [. U3 Z9 B
  467. ; debugging configuration problems. We strongly recommend you
    ; C' S& C0 B3 F$ U+ Y  ]; x. X
  468. ; set this to 'off' for production servers.# Q4 v6 x7 o& S# k+ ?; i/ a
  469. ; Default Value: Off$ |; |! l" C# P+ H3 U
  470. ; Development Value: On; B8 K6 i; K3 f7 e4 b4 }
  471. ; Production Value: Off
    % G# I7 X7 O5 I6 \0 k6 Q$ h
  472. ; http://php.net/display-startup-errors
    . A8 n1 K4 Z* r$ B5 u$ K2 t. X
  473. display_startup_errors = Off7 g( f6 `4 L5 }& r! K

  474. : Y2 G% X1 P0 K& K4 s. {3 q
  475. ; Besides displaying errors, PHP can also log errors to locations such as a4 z+ [/ k, _8 ~+ `/ z
  476. ; server-specific log, STDERR, or a location specified by the error_log' T9 Q" `, J. `3 V  ]
  477. ; directive found below. While errors should not be displayed on productions
    ! Z' a0 F& Y) M, f
  478. ; servers they should still be monitored and logging is a great way to do that.3 y+ g  i* ], Q$ ?
  479. ; Default Value: Off
    4 L' I6 J6 a) |& K* R: P/ k
  480. ; Development Value: On
    & n2 Y. \# ~1 h/ Z7 ^
  481. ; Production Value: On
    # }; W0 E' G; E2 R
  482. ; http://php.net/log-errors4 V; J$ l2 k3 b; Y0 ]! C
  483. log_errors = On( \/ A* [9 x; \# F3 ?3 m" L
  484.   t# K5 ?: B( l" s/ D/ Y# H" A; l
  485. ; Set maximum length of log_errors. In error_log information about the source is) ~3 n. B# {5 n7 p  K
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ( i; o, l( _( Z6 Z: o3 I0 u
  487. ; http://php.net/log-errors-max-len  b; D# q0 S8 ]6 r6 T
  488. log_errors_max_len = 1024( g5 x" I* I/ H% \* _2 W. {
  489. ) i5 q; e* M& T3 T- @. L; B+ r
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same% D# L/ G0 N; Y0 `" j
  491. ; line unless ignore_repeated_source is set true.# R$ @. r3 m' G4 D3 o+ T
  492. ; http://php.net/ignore-repeated-errors0 T* u& K" l0 G0 \. y* K
  493. ignore_repeated_errors = Off3 j+ E9 m+ U+ O' c! z

  494. ( y, c3 A, e8 ]9 N
  495. ; Ignore source of message when ignoring repeated messages. When this setting7 ]3 E+ I! C0 _) b' r+ N
  496. ; is On you will not log errors with repeated messages from different files or4 H; e" F5 k; `$ p/ W2 z
  497. ; source lines.' y8 b+ ]; a5 W* u" }0 Y% _- R
  498. ; http://php.net/ignore-repeated-source
    8 r* q* z2 ^* x5 s
  499. ignore_repeated_source = Off# I- U, K1 w9 S' o
  500. ! [" d" Z, o1 X0 L3 c- B$ ~: B
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ' P8 F6 U& F9 W* k3 `; J
  502. ; stdout or in the log). This has only effect in a debug compile, and if" I5 T2 M) ~' r) G) Z
  503. ; error reporting includes E_WARNING in the allowed list
    ) P/ b9 t% n1 U4 B
  504. ; http://php.net/report-memleaks
    7 w+ e, G/ H6 G% G7 c
  505. report_memleaks = On) \' x& _  G4 |: C) J' N

  506. : I* z/ ]2 O: ^; Y
  507. ; This setting is on by default.
    " z0 r9 Z% J& Z- W" y4 v9 H
  508. ;report_zend_debug = 0
    $ t; I6 Z9 e& k( o+ I+ t" Y! Y9 d
  509. ) h2 R( V' [; z2 n
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value# [5 i' H6 E. p7 m& B
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    * G7 c/ Y% G* l
  512. ; however be disabled on production servers.
    / D9 z/ y, y: p8 k
  513. ; Default Value: Off/ \8 e- T3 c; Z9 h. M- X
  514. ; Development Value: On2 ^) L2 k- j6 p! H5 C+ v) F
  515. ; Production Value: Off7 O( s$ Q) @& x, b) O
  516. ; http://php.net/track-errors
    9 C! w" G1 h4 |& q# K1 f5 w
  517. track_errors = Off
    + e5 ]3 ^) h- c9 w0 q; v6 m
  518. , m8 d; z  `+ v1 G
  519. ; Turn off normal error reporting and emit XML-RPC error XML+ M& t& A1 `; n9 O7 p
  520. ; http://php.net/xmlrpc-errors9 ^, ?3 k1 z6 u$ W/ |- W" n
  521. ;xmlrpc_errors = 0# L% F3 x! ^; g: u; ]% Y6 }

  522. 4 ]% P; D$ {* P, _; I
  523. ; An XML-RPC faultCode
    + C" C- q# d. G+ L/ j
  524. ;xmlrpc_error_number = 0
    " z) j1 g  J( k& e% e. E

  525. 5 E) D9 t, e0 U! P  p+ F
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    0 @* H0 c* q/ u1 p; o
  527. ; error message as HTML for easier reading. This directive controls whether
    % i7 q! i9 V; c  ^
  528. ; the error message is formatted as HTML or not.- ^9 h8 R" U4 S  ^) c- f
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    + S- V! p% M  V" l" J
  530. ; Default Value: On; E% s7 x/ X2 j
  531. ; Development Value: On5 x) G0 V6 Y7 a" H/ [1 H  B- f: Y
  532. ; Production value: On
    ) a+ w& x4 x) `. p9 v
  533. ; http://php.net/html-errors6 x' e8 L' M- g" E; Z
  534. html_errors = On
    ' E8 K+ O4 C3 p- w; R" t, q
  535. " i1 u  F1 J- p% ?, T" y, @
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP$ }! u1 G* d8 ~+ H
  537. ; produces clickable error messages that direct to a page describing the error
    ! c; F  c+ _$ i% K! [( L4 ?& P
  538. ; or function causing the error in detail.
    , n- Z0 P  u$ }: U) C
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    + k4 T5 @) A, }8 N' o- H. G
  540. ; and change docref_root to the base URL of your local copy including the$ X; m# t/ \1 X" `7 J5 q- [+ F
  541. ; leading '/'. You must also specify the file extension being used including7 J$ ]  r( u5 W3 r, [
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which1 n- q  t. m. n/ I
  543. ; case no links to documentation are generated.' q4 O  k6 J. [8 x  I) C
  544. ; Note: Never use this feature for production boxes.
    0 K; n1 l+ t5 U3 a$ g
  545. ; http://php.net/docref-root
    4 q; Q  w7 O' p- |* V. x
  546. ; Examples- I; N$ Z$ u% b4 ^
  547. ;docref_root = "/phpmanual/"5 t7 `1 C# T+ i' }! b6 R
  548. 9 a; U! _3 N  S+ W6 j' ^) c
  549. ; http://php.net/docref-ext2 W( q( p1 a4 x' e5 y4 D4 G
  550. ;docref_ext = .html
    . p3 S) W5 v3 K
  551. * ~% ]6 l, [1 h- n3 {. U7 {( I
  552. ; String to output before an error message. PHP's default behavior is to leave
    ( E$ k- W& t% \6 h- k# ]
  553. ; this setting blank.8 \+ l+ v; K% h% ~+ q2 m
  554. ; http://php.net/error-prepend-string
    & d' Y% y3 m2 N2 v
  555. ; Example:
      Y9 v2 S) H; ^3 k6 B2 N: \: `
  556. ;error_prepend_string = "<span style='color: #ff0000'>") w8 o  q+ v$ y8 w* {

  557. 6 K( A, n+ i( J4 o( r& V
  558. ; String to output after an error message. PHP's default behavior is to leave
    " I7 C( l7 f( j
  559. ; this setting blank.* J$ }* y+ I; O3 a
  560. ; http://php.net/error-append-string
    ; a) ^7 o. v" o# _+ x. B
  561. ; Example:0 h  d6 D5 {: o+ G4 R; A
  562. ;error_append_string = "</span>"2 b0 P' h* R+ y: {# e. q/ l

  563. ( w! }( c( i! c8 u: q/ _" ^( y
  564. ; Log errors to specified file. PHP's default behavior is to leave this value$ U- B' i! n# D; Q% f5 y  K
  565. ; empty.3 ~% {: s$ M6 ?9 X4 c- k/ G
  566. ; http://php.net/error-log6 G3 H+ `3 m+ h3 z# D
  567. ; Example:
    " y, e2 [& T; D8 _8 |0 Y  E
  568. ;error_log = php_errors.log
    : O7 L) u# q) t
  569. ; Log errors to syslog (Event Log on Windows).
    - F' [5 g. k. B# N6 S
  570. ;error_log = syslog
    & }' D2 u: ?4 C& W* n' J

  571. / Z7 Q* C; d0 F, o
  572. ;windows.show_crt_warning
    1 U3 g8 m+ _! A) Q* w
  573. ; Default value: 0
    9 p1 S1 m* H6 B' @$ L
  574. ; Development value: 0
    % _& s: p5 k1 p7 U3 m0 f, `
  575. ; Production value: 0
    6 S& ]: `) n6 q  C. X

  576. 3 P5 Y" c+ T/ |# r& ?: w
  577. ;;;;;;;;;;;;;;;;;
    0 A/ f+ h: @; y- @, ~$ I
  578. ; Data Handling ;
    ! u' j- H! I! @
  579. ;;;;;;;;;;;;;;;;;# C- l4 X* J2 S( ]  c: H; L! J

  580. ( u! u% ^$ O( g5 R6 K
  581. ; The separator used in PHP generated URLs to separate arguments.0 T: C' H6 }- O
  582. ; PHP's default setting is "&".
    % N5 \7 i$ |8 R1 p2 n$ _2 ?* ~, x
  583. ; http://php.net/arg-separator.output, A  O0 ~$ R4 I+ X% k
  584. ; Example:8 t2 O% J! n; M) w! H4 P& m
  585. ;arg_separator.output = "&"
    + ]  S. }9 x4 Z! e" p5 a
  586. : @* T0 v* Y9 D- m
  587. ; List of separator(s) used by PHP to parse input URLs into variables.9 w3 }* c. m' F4 [5 `3 z  C
  588. ; PHP's default setting is "&".
    6 _/ f" }+ {' t& l/ F
  589. ; NOTE: Every character in this directive is considered as separator!" _( V6 R  a, H" K3 V3 r0 u( _
  590. ; http://php.net/arg-separator.input- z1 d; h% S4 E9 T
  591. ; Example:. i8 s- W( J: O% D5 y( `& c0 v
  592. ;arg_separator.input = ";&"
    * ?' [) z9 I# r9 r$ ^7 P% i
  593. ) L/ T- P6 y" k9 J7 g
  594. ; This directive determines which super global arrays are registered when PHP, K: I5 n/ D7 E1 a9 l, R
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super- z  G  A) |2 E8 O# S
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty5 }0 U  X' b3 C
  597. ; paid for the registration of these arrays and because ENV is not as commonly8 q+ G" O, l4 N4 I9 u$ e8 `
  598. ; used as the others, ENV is not recommended on productions servers. You5 F, k% r! r  ^+ d
  599. ; can still get access to the environment variables through getenv() should you
    5 R  e6 k3 E* q
  600. ; need to." f' I$ t9 a/ c/ g
  601. ; Default Value: "EGPCS"
    / j  B2 a- d* Z" m9 q+ I! D
  602. ; Development Value: "GPCS"5 y6 @4 D9 M3 q; @8 L% c+ u
  603. ; Production Value: "GPCS";0 g1 v% b$ Z/ |* f  v" C2 x8 ~
  604. ; http://php.net/variables-order& M, D; m, v7 P- \5 N  I8 }
  605. variables_order = "GPCS"
    - d3 f9 ]! S- C7 a$ S
  606. $ }2 U0 ?# p  N9 P
  607. ; This directive determines which super global data (G,P & C) should be* ]/ ]8 {; ~, ?& B2 O8 ]  @$ `$ [
  608. ; registered into the super global array REQUEST. If so, it also determines
    ! O0 H! ?: p2 S1 m2 N0 j
  609. ; the order in which that data is registered. The values for this directive
    $ N& Y# y$ Z$ H# r5 l
  610. ; are specified in the same manner as the variables_order directive,6 r8 f% V6 M% s  a( _. @, k. _
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    / w; b" |3 Q2 v
  612. ; in the variables_order directive. It does not mean it will leave the super
    ' u% G7 d7 p. `/ z9 O
  613. ; globals array REQUEST empty.
    + ?8 q" U% u7 t( N- W8 x+ c: Y' C
  614. ; Default Value: None
    / s# x2 X+ T! o
  615. ; Development Value: "GP". J% n' Q9 @* N" I( |
  616. ; Production Value: "GP"
    , F# f5 _. b4 e8 w
  617. ; http://php.net/request-order
    ; w0 u8 l3 U0 i. Z% g' s
  618. request_order = "GP"" R/ f) A( @$ m$ h+ P% a4 ^

  619. 9 D% X* z/ V; Q5 \
  620. ; This directive determines whether PHP registers $argv & $argc each time it9 k/ Y" n6 M3 p% P& R, M
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script9 }% p) r7 S& ?3 ~
  622. ; is invoked. $argc contains an integer representing the number of arguments% k) [, g% A5 r. V
  623. ; that were passed when the script was invoked. These arrays are extremely
    # A8 L6 H9 Z; L8 \
  624. ; useful when running scripts from the command line. When this directive is; u9 U7 m6 Q' X6 y
  625. ; enabled, registering these variables consumes CPU cycles and memory each time. A. }8 j! z" _4 E1 G7 [6 w
  626. ; a script is executed. For performance reasons, this feature should be disabled; I+ j5 |) D) o
  627. ; on production servers.) w' N9 a, t4 ^% k2 M4 [/ {
  628. ; Note: This directive is hardcoded to On for the CLI SAPI' _" F" Z1 X+ u5 b6 A; Z  d7 P
  629. ; Default Value: On
    6 q$ T! F0 P6 Q: _
  630. ; Development Value: Off
    # x) v' B4 k1 u( E  _
  631. ; Production Value: Off
    2 v% V4 b" R! s  p$ F5 S; {# r
  632. ; http://php.net/register-argc-argv3 F6 c, _0 W0 U: I
  633. register_argc_argv = Off
    6 w2 O4 h% r. j2 A7 `- g- p4 F- V
  634. ; i1 Z% A& t; O
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    # C8 C! [" D: C$ }/ i
  636. ; first used (Just In Time) instead of when the script starts. If these* o5 o1 |. U: u8 p: A1 S7 I
  637. ; variables are not used within a script, having this directive on will result4 K5 I" H+ e; _3 w, C
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ' B0 i1 H, c( n
  639. ; for this directive to have any affect.
    " H: l# Y: t% y$ i1 X0 b5 s
  640. ; http://php.net/auto-globals-jit+ B, i2 ~8 N5 B0 P1 l5 p( a
  641. auto_globals_jit = On# X' l8 Y$ e+ n- b
  642. , M, T2 y: Y3 f8 u# {5 _+ P6 r
  643. ; Whether PHP will read the POST data.
    9 e) \: r# H$ F) k/ j/ y" ]& R
  644. ; This option is enabled by default.3 `3 _# D# E" y& K
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST: K7 v' Z* z4 ]$ n* _
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    4 r  h, k1 }# e9 d3 q
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    : D! \* q  ]% v" D0 ^: o
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    3 f* }0 t+ y# t* N
  649. ; http://php.net/enable-post-data-reading
    4 w+ @7 l6 e6 O& k
  650. ;enable_post_data_reading = Off
    4 u& Z/ b1 P3 J8 Y) O( ?

  651. + J( G5 o& W6 \8 b$ p
  652. ; Maximum size of POST data that PHP will accept.' r9 A1 Z: }, h( u+ m% F2 A- ]$ ~
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    7 F, a. S, M7 m  w, C+ @
  654. ; is disabled through enable_post_data_reading.
    ) s- G: O2 u0 \  ?# J8 `5 q* j7 e
  655. ; http://php.net/post-max-size( U0 g! d3 v- N/ \
  656. post_max_size = 50M. D/ I0 i( y+ c3 W6 q
  657. , @2 L4 k, l( i. f6 V
  658. ; Automatically add files before PHP document.
    ' \% E9 d* g7 O* O# Z( o5 E; Q2 d% p
  659. ; http://php.net/auto-prepend-file
    7 B8 J! `: L: }' {6 V" M+ n
  660. auto_prepend_file =
    0 s1 B6 H1 b& U% J' n# [

  661. 4 u% D/ U* ?) b' V4 j+ Y3 G+ l; C
  662. ; Automatically add files after PHP document.5 e8 T- x- v' P7 c! ?5 H5 V  u" U
  663. ; http://php.net/auto-append-file* D, J8 @5 M. e
  664. auto_append_file =6 @# p- F' I$ s$ e; |
  665. 3 F% v* p2 W5 U% W7 `) R: r
  666. ; By default, PHP will output a media type using the Content-Type header. To& A# V) D% ?2 {* C0 v! k. d
  667. ; disable this, simply set it to be empty.
    $ W* Z* O5 V3 H1 t
  668. ;
    2 `6 N; Z  c5 C7 ?0 x2 o# E, }
  669. ; PHP's built-in default media type is set to text/html.' f8 x( [. b1 [( h. _, G* G
  670. ; http://php.net/default-mimetype1 f& ^* b1 k* f8 w: _8 {
  671. default_mimetype = "text/html"4 _7 h& q! x4 {- M7 F

  672. 3 s3 }1 E0 w' Z. w7 s
  673. ; PHP's default character set is set to UTF-8.
      w0 J  I$ Q8 `5 g/ q# B6 y
  674. ; http://php.net/default-charset
    ; c; Z3 k7 P9 A0 _  V2 F' i  K9 o
  675. default_charset = "UTF-8"
    ; b* x8 X7 T& |; [" b! c6 g
  676. , F2 y7 `" ~2 L$ u- b  Z* l
  677. ; PHP internal character encoding is set to empty.
    ; m' _' n' v8 D
  678. ; If empty, default_charset is used.
    . ]1 S1 p& L. N0 L0 ]- r: Z
  679. ; http://php.net/internal-encoding
    - \: w7 G4 J; R6 S" L8 o" }5 t* B, y" `
  680. ;internal_encoding =
    2 m3 s; B) _- Q" A( U7 u

  681. ; d5 N! w9 s! v# l9 m
  682. ; PHP input character encoding is set to empty.  {8 x+ m2 J' |- j- K
  683. ; If empty, default_charset is used.
    ; [% X' c5 f$ A, J+ `4 d6 H. l- k
  684. ; http://php.net/input-encoding* _& _# j# ?5 ^5 ?  S2 x* Q! t. ^
  685. ;input_encoding =
    ' Q* G& A' V: b, {, h8 n
  686. ( b0 \, b0 B$ u5 O9 k7 c+ l; r
  687. ; PHP output character encoding is set to empty.* j' l. j" q( g! r
  688. ; If empty, default_charset is used.
    $ V  l1 D2 q* B" U4 |
  689. ; See also output_buffer.
    5 D3 L8 C! N+ ]9 ~# [
  690. ; http://php.net/output-encoding/ p9 t: n4 K5 \9 O1 o0 M" O4 m
  691. ;output_encoding =: `) `! h0 D, M2 v+ E6 }+ \" s

  692. 0 }- s; w" ~* f4 V
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    7 l. M# k. F  D1 p5 V" T1 w0 t
  694. ; Paths and Directories ;" y% b; g3 |; C; n. f
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;* Y- A: t9 R6 Z/ R
  696. ( C' u  z+ ?: w* s
  697. ; UNIX: "/path1:/path2"
    6 A9 Z$ Y, o9 ^7 I4 P( w+ b8 P
  698. ;include_path = ".:/php/includes". K. M6 \# ~. {% r, N9 ?
  699. ;. C5 c* O4 u9 C4 u; U
  700. ; Windows: "\path1;\path2") q& b; ~5 J% F* Y
  701. ;include_path = ".;c:\php\includes"* l  Z% j; I! v5 s7 a9 ^
  702. ;
    6 T1 L; ^1 X* j1 |
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    5 i! [! g& N$ q! n; }! X/ f: x
  704. ; http://php.net/include-path
    8 p1 o+ y! V  @( J* s) }

  705. : `# @  r9 v% }5 c) d8 Z- I
  706. ; The root of the PHP pages, used only if nonempty.
    $ H3 c$ r  i1 ?6 \0 M; E
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root! [9 Z5 T! N* V8 R. r; H, b0 i
  708. ; if you are running php as a CGI under any web server (other than IIS)9 w; l& @2 _+ z+ c, x
  709. ; see documentation for security issues.  The alternate is to use the
    $ V$ k" C9 y- c- d1 V
  710. ; cgi.force_redirect configuration below
    # z# T& _* m" X6 |. ~5 j
  711. ; http://php.net/doc-root( S6 y/ F, k0 e( c2 h5 x
  712. doc_root =
    5 ?) Q" w1 ~# l" ^# R

  713. 5 [5 Z, H2 A6 T
  714. ; The directory under which PHP opens the script using /~username used only! l5 C8 o7 M) q2 n' N' a
  715. ; if nonempty." s' X# J% X; Q0 D2 ~, g
  716. ; http://php.net/user-dir
    : F6 o% r; j& B5 T7 r
  717. user_dir =
    5 D/ ?! s: @3 S* U4 d3 B

  718. + h: Q7 u  X: z3 G- T
  719. ; Directory in which the loadable extensions (modules) reside.
    1 K$ j0 o: m* m" q3 g
  720. ; http://php.net/extension-dir
    1 f4 D* M6 B- ]
  721. ; extension_dir = "./"( j" ]* s2 r4 D( l* s/ L$ X
  722. ; On windows:- l  N" w0 K! P4 I- a( N! p
  723. ; extension_dir = "ext"
    4 H. m6 K8 c: B# c7 `
  724. : N+ Q" Z! k% Y- e$ P) K8 l* O2 b
  725. ; Directory where the temporary files should be placed.3 Y7 M' X/ C% c$ X3 d: \
  726. ; Defaults to the system default (see sys_get_temp_dir)
    : D, H3 @7 M- Q2 O' Q7 c3 V; P
  727. ; sys_temp_dir = "/tmp"* d. u/ L- z  W8 U
  728. ; [. A) S7 V. M- a0 T
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    1 e8 g4 X* N+ s0 H
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically- L5 m( u; p4 ^: D
  731. ; disabled on them.
    % e  m  B- b1 J0 C6 Q" E1 S6 J
  732. ; http://php.net/enable-dl
    / c! C; N$ ?. L) e! L6 m: H9 p
  733. enable_dl = Off& l; ?# [4 }# l
  734. % r; w5 I+ e2 N2 q+ f$ P
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    & Q0 O- w5 {2 [4 W- U: j, I
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can9 Z6 d8 {8 M9 W% h
  737. ; turn it off here AT YOUR OWN RISK
      @1 e0 K# `4 w8 H# V
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    " t: B5 V$ L  U- y# _$ w
  739. ; http://php.net/cgi.force-redirect
    ' K2 ~# v1 i7 w4 l" V7 v
  740. ;cgi.force_redirect = 11 d4 P0 L1 S6 P+ O" E7 L; G
  741. 3 F/ E/ S4 ?: b% A$ \
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    8 {6 F/ ^$ `9 o- l' X( ^
  743. ; every request. PHP's default behavior is to disable this feature.
    7 b; I4 v/ f( f8 g" a
  744. ;cgi.nph = 1
    ; X3 Q6 f% k) ~! k' O. P' G2 x, [, [
  745. , a9 u0 W: i; R+ _  \( p. a
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape6 `; w0 _( c" e' I0 F% f8 M* a
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    % _- V' P! ]  a0 a3 C
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    % f$ x/ |6 Z- Q: o. q" L# \
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    " }8 d6 P) ^* \, M2 J) I: J
  750. ; http://php.net/cgi.redirect-status-env. Q  c: Z6 v8 O' f2 ?" ]/ T/ D
  751. ;cgi.redirect_status_env =$ n1 m  Q5 b. @; p! p

  752. % R8 s0 d) R" J5 T% d2 z
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    4 d4 D6 R9 S1 M
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    1 Y% Y8 e# G5 F9 Z/ _0 C
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting" }4 s4 a; E( f! b1 r
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    # N& q! t& T1 E5 O0 \+ ^. |
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    , w& u7 S& r% V3 V
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    - I4 y; D% F7 g1 c
  759. ; http://php.net/cgi.fix-pathinfo; h  |! o( y/ J& B
  760. cgi.fix_pathinfo=1
    1 N  r) L8 {! \/ i; n
  761. , V! _3 ]2 o$ ^5 r
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside+ O! u  d# w. C5 l! o7 {, X6 s) \
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    . o/ I# k2 ]2 D
  764. ; http://php.net/cgi.dicard-path
    $ h" x! b( ]( ?
  765. ;cgi.discard_path=1
    , m- ]5 }! u8 ]/ x" _/ ^# c& x
  766.   W! @7 L6 T4 H2 F9 }
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate4 ^' Z. B" |; K# w
  768. ; security tokens of the calling client.  This allows IIS to define the
    ( P; T* R% J9 ?1 Q2 u' Q
  769. ; security context that the request runs under.  mod_fastcgi under Apache# T' I' ]; B# @1 j
  770. ; does not currently support this feature (03/17/2002)# S6 {% ^; b; |# Q* G$ \1 P- `1 X
  771. ; Set to 1 if running under IIS.  Default is zero.+ }* B+ E4 g! ^+ }7 u" X
  772. ; http://php.net/fastcgi.impersonate  i& M3 N8 U0 v; ]
  773. ;fastcgi.impersonate = 1% W/ \5 W# |5 C. f  [4 R, V4 e

  774. $ R7 X5 b5 k+ Z, ?, |1 X- }
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    / ]1 f4 ]( ?( l$ j- v( y
  776. ; this feature./ y5 B4 m' r( C( j
  777. ;fastcgi.logging = 0
    $ W/ t4 l3 i) T% p+ Y

  778. 6 g9 i0 j0 z8 X2 v# z7 X
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to. D( x% x" w: E5 ]
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    : f( w  H: ?3 {0 l9 L: r; P
  781. ; is supported by Apache. When this option is set to 1, PHP will send# X, J: Y& I* k2 J8 y( |' ?( R
  782. ; RFC2616 compliant header.  I& Z3 Q3 I8 B& g" O- X
  783. ; Default is zero.6 G( V- |3 E& ?& d( M
  784. ; http://php.net/cgi.rfc2616-headers
    ) W) `2 C$ e# n9 G  H. C+ S
  785. ;cgi.rfc2616_headers = 0* X* ]& t8 K  o# P& D# s
  786. * r4 m; V8 E& {, E+ u% h4 X  K$ v
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    2 U6 F6 o' W& G9 ?
  788. ; (shebang) at the top of the running script. This line might be needed if the
    # v4 e0 g- v/ v& `4 Q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    6 e0 l/ r; g+ m; _7 X$ }3 v
  790. ; mode skips this line and ignores its content if this directive is turned on.+ q8 V- V. }% R9 M* {
  791. ; http://php.net/cgi.check-shebang-line$ [& `& }5 |/ h. E
  792. ;cgi.check_shebang_line=1- ]5 Y) [8 E2 F( K, Z5 [) w
  793. / i9 _. y% ?) i: ^6 U) p1 I
  794. ;;;;;;;;;;;;;;;;2 h) ~, v6 A4 N4 \* H2 z
  795. ; File Uploads ;
    2 }, U1 n1 i2 R" l
  796. ;;;;;;;;;;;;;;;;
    % l: A& L# y6 u) F4 P0 ?# m, y
  797. " R0 U+ z% k8 I
  798. ; Whether to allow HTTP file uploads.
    " y" C* l' C5 k
  799. ; http://php.net/file-uploads2 ]( `2 ]5 O; _& u  h
  800. file_uploads = On
    ; s* S& ^/ H0 D

  801. " f, c! S7 [$ g/ x. e" I
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    # [, M2 [3 `5 A5 `
  803. ; specified).
    . C: o8 W( D! o/ }% |$ b
  804. ; http://php.net/upload-tmp-dir1 X( V2 V- C. w! h
  805. ;upload_tmp_dir =
    ; m6 s" l* q+ P. y

  806. + m. [. m. n, ?+ Y
  807. ; Maximum allowed size for uploaded files.
    1 p. Q! x, M) J" H7 s
  808. ; http://php.net/upload-max-filesize
    2 f" S  e- o4 I
  809. upload_max_filesize = 50M
    / V5 K5 }6 p3 P5 e8 X2 p/ t5 X
  810. & u* ]$ }8 {8 v  I
  811. ; Maximum number of files that can be uploaded via a single request# x, N* U3 f' `
  812. max_file_uploads = 20
    0 Y+ ~' M1 a5 M" Y8 h5 l) s
  813. 3 u. r- @1 _: k( ^! H9 j
  814. ;;;;;;;;;;;;;;;;;;
    & Y5 k0 V' H( f% D5 i* _! c/ \+ K' _3 r
  815. ; Fopen wrappers ;
    9 R; u+ q% }" H0 b
  816. ;;;;;;;;;;;;;;;;;;
    5 K. ]  t2 X: t" f

  817. ( d6 r- ~* J  I
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.% Y  v4 J$ b% B( v2 C% @
  819. ; http://php.net/allow-url-fopen
    9 ^# ?" X' A9 |7 x3 ?% J
  820. allow_url_fopen = On
    * O2 k) p& p- `. _, F. j2 ]

  821. + T! U7 m8 d1 I
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.4 n- [( e% E; e6 r0 i
  823. ; http://php.net/allow-url-include$ e) y2 g0 W) A, I  G: c" W1 p% d9 ?
  824. allow_url_include = Off# u4 A/ s, P  o" B; j# b! n/ N+ U

  825. % g, |) M4 L) n+ r5 @' e( I3 G) E
  826. ; Define the anonymous ftp password (your email address). PHP's default setting: d. u% k5 Y, ^* C' e
  827. ; for this is empty.# ^8 X: N# ?6 _1 y
  828. ; http://php.net/from$ I. k1 X- f3 a0 E& q6 t
  829. ;from="john@doe.com"8 s- `2 u) Q4 \5 r
  830. & L5 e9 g/ O, m. o. x
  831. ; Define the User-Agent string. PHP's default setting for this is empty.0 \! R& J% }! a
  832. ; http://php.net/user-agent( u; b7 E' C  l) R6 p
  833. ;user_agent="PHP"
    ) s  m/ i4 K" ^- f- g" p& t
  834. 4 U1 ], D& a2 _( z
  835. ; Default timeout for socket based streams (seconds)7 h( `4 z- s& x1 t
  836. ; http://php.net/default-socket-timeout/ |! B9 [7 H' L& x
  837. default_socket_timeout = 60- Z# y; S8 {/ Z7 u
  838. ( Q% N/ X3 E  }9 }' J
  839. ; If your scripts have to deal with files from Macintosh systems,
    * ~6 h; |3 K: H$ q
  840. ; or you are running on a Mac and need to deal with files from
    - n( a& k7 i3 t; f" e$ y# `' h0 g
  841. ; unix or win32 systems, setting this flag will cause PHP to8 T9 p% k+ O+ q3 }4 n' |# j2 }
  842. ; automatically detect the EOL character in those files so that
    , }: T* _; V' C0 g: W2 N! z1 Q
  843. ; fgets() and file() will work regardless of the source of the file.* @# i( I# x( d4 {( K9 V" w
  844. ; http://php.net/auto-detect-line-endings
    9 q! }1 ?/ L* \* w* A/ a: Q/ T. P0 R
  845. ;auto_detect_line_endings = Off
    & W+ b# f3 q. D
  846. # e1 d6 e5 \5 |7 g0 q3 Y4 g
  847. ;;;;;;;;;;;;;;;;;;;;;;4 U2 _: @# H. V: @, v: f4 c1 G
  848. ; Dynamic Extensions ;) q8 b( i, n9 Z# g
  849. ;;;;;;;;;;;;;;;;;;;;;;& Y  d. B$ D( c  {9 }. G

  850. 0 ^4 F' _0 G/ q, a5 u$ N/ |
  851. ; If you wish to have an extension loaded automatically, use the following
    / C* i2 O  `, k; p6 f1 K$ z4 q
  852. ; syntax:' d) }9 d# e3 c/ ]
  853. ;
    * Y) J" \- V" k! ?
  854. ;   extension=modulename.extension9 y! x! |4 T/ i; r3 z: R
  855. ;
    ! N) ]4 o* @# K; E) h8 Y- `
  856. ; For example, on Windows:1 G8 L/ ?( f5 v1 z6 ]2 e
  857. ;
    8 q; [% U; z. ?; h
  858. ;   extension=msql.dll% W! J  J. {  ^) q8 J3 b0 D
  859. ;/ s: |1 R# k3 c- J9 }5 I
  860. ; ... or under UNIX:. _( E5 @0 w9 V5 D
  861. ;
    6 V% e- R. C1 Q3 ^
  862. ;   extension=msql.so2 F1 J0 H& `/ R: _
  863. ;
    ) v- g* d/ c4 x- X' g3 r3 R3 G% f
  864. ; ... or with a path:* b* D6 y3 T; c2 }, T" W+ r
  865. ;- X* c& m3 l* k, Z0 {  C: m8 |3 ]
  866. ;   extension=/path/to/extension/msql.so
    ; g/ \- [- n! G
  867. ;
    : b  s) x) B. t+ ^+ ~
  868. ; If you only provide the name of the extension, PHP will look for it in its
    $ p* W( k9 P1 Z$ d  I8 q
  869. ; default extension directory.
    : Y4 ^; T: b; t+ Q/ {" c% G3 z) k
  870. ;% b8 P( o" m9 F3 ]% m; u6 x+ A. h
  871. ; Windows Extensions5 [! M$ e- H- H7 n
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    : z& N" G$ x/ A& r
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+), T8 c% b* d# s5 w" H
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).1 t$ p6 D5 l1 v3 I( M1 T; k
  875. ; Be sure to appropriately set the extension_dir directive.& Y$ v/ e! l! k$ T: w
  876. ;
    ) |9 }# v, p9 \# v
  877. ;extension=php_bz2.dll+ v+ B  q2 l% x) z. r$ ^/ G
  878. ;extension=php_curl.dll* D- Z7 G' B- g9 O% R
  879. ;extension=php_fileinfo.dll
    ( p4 p: y; F& a, `1 A# e+ ~( s
  880. ;extension=php_ftp.dll
    * h9 ]1 v) j  C4 W( o
  881. ;extension=php_gd2.dll
    & e5 h3 L1 i9 T2 W: C: L
  882. ;extension=php_gettext.dll' W6 F7 w' V- w! ~& }# b& o+ F+ B
  883. ;extension=php_gmp.dll9 k4 ^3 ?, d2 T. \+ q. \, N
  884. ;extension=php_intl.dll
    $ n- u9 \9 F! a! z1 C$ n
  885. ;extension=php_imap.dll
    8 O# S+ @# @  C3 J3 |
  886. ;extension=php_interbase.dll
    # y$ `, P2 i" Z6 r: ~
  887. ;extension=php_ldap.dll5 h0 w+ B" l- W9 R1 L! y
  888. ;extension=php_mbstring.dll- J! `, R9 F8 p  v  R
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ' L$ a3 [6 ]4 ^4 f. l" H8 X
  890. ;extension=php_mysqli.dll
    & P, y" ?9 S% u, g$ ~9 W  \; i
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client- s) l3 t7 a2 ~! w' i( U6 v6 U  `  ~
  892. ;extension=php_openssl.dll
      \, Z3 ]/ Z' `% N% W
  893. ;extension=php_pdo_firebird.dll
    9 G( {6 s6 o$ L4 x8 l
  894. ;extension=php_pdo_mysql.dll8 O9 o& c% e# ?9 ]. t$ d& f6 o3 G/ V
  895. ;extension=php_pdo_oci.dll- z' k9 a" h( n  Q) ?& t
  896. ;extension=php_pdo_odbc.dll1 I* S) }8 Z! X9 k  w
  897. ;extension=php_pdo_pgsql.dll+ w" s! r' U2 M) T5 H
  898. ;extension=php_pdo_sqlite.dll
      p' L, f$ j9 y5 p8 Y0 @& {; F: c
  899. ;extension=php_pgsql.dll: s) Y+ J& r1 x
  900. ;extension=php_shmop.dll
    ) x) c$ C( ~9 E  L: ?& q
  901. ' j  \+ ~7 U4 b/ ~8 m
  902. ; The MIBS data available in the PHP distribution must be installed.
    # j5 T6 b7 j6 j9 r) a; j) e
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    7 P! E! y; H! F; w
  904. ;extension=php_snmp.dll5 o* q, ~/ l* y9 L
  905. . u( v' W; V. l" `0 i+ o
  906. ;extension=php_soap.dll
    " x- {0 f: w) d
  907. ;extension=php_sockets.dll! W  C. }' @9 I5 ]0 {
  908. ;extension=php_sqlite3.dll
    : c: l$ o7 ]& g5 ?8 w
  909. ;extension=php_tidy.dll. h( b! I, D0 A5 p. X! q
  910. ;extension=php_xmlrpc.dll6 Y) ~/ l6 V) C- ]$ `, O- i5 H
  911. ;extension=php_xsl.dll
    7 a. Q$ w* X) o( q- Q

  912. , l, i+ y- ~$ k' p: H/ r: P
  913. ;;;;;;;;;;;;;;;;;;;; G/ f" L, w( Y
  914. ; Module Settings ;
    * H3 l& n, H, `* `% ^- {- @
  915. ;;;;;;;;;;;;;;;;;;;+ p  v3 M: e, m0 _) q. E

  916. # t3 V6 U3 z5 Q( @& n$ h8 \
  917. [CLI Server]
    8 |  D- B8 x; P4 r
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.  p; x7 p0 p% _5 N8 o' q+ ?
  919. cli_server.color = On
    7 F3 U3 h, b/ q/ ]/ t* ]
  920. 9 P/ ?. ^: g. {# Q( H, Q
  921. [Date]& J; u* z: c, `* F6 C2 o5 k3 }+ I
  922. ; Defines the default timezone used by the date functions2 |9 T4 @- J+ [' j7 K7 ]
  923. ; http://php.net/date.timezone
    & B0 f6 [$ j" u' d! D% t1 B
  924. date.timezone = PRC
    - G; X2 Q1 V8 R1 A

  925. , I- L" p, N: I: }% J' o6 ^1 L9 Y, S
  926. ; http://php.net/date.default-latitude
    $ P; R2 }. n9 d0 y
  927. ;date.default_latitude = 31.7667
    " N# A5 l; b0 c! u  P2 v% T/ u
  928. , b: J% S, b( ]5 g+ x3 G
  929. ; http://php.net/date.default-longitude
    3 O7 n+ v) |7 O  S) a
  930. ;date.default_longitude = 35.2333& M% w( d% f* w
  931. : ~0 |5 S0 o" z0 B$ d3 v; O' ^
  932. ; http://php.net/date.sunrise-zenith8 o# m( {- |9 _5 ?+ \; Z9 g
  933. ;date.sunrise_zenith = 90.583333
    # E+ H; a5 P+ v; H
  934. . A7 e- B. t7 b; R3 U
  935. ; http://php.net/date.sunset-zenith
    1 r4 D! v9 @! I& l- \
  936. ;date.sunset_zenith = 90.5833331 h/ k- a, }; J3 M" o6 h2 z9 I0 y  w

  937. 1 |) Y# |3 I9 t
  938. [filter]# I, H) q9 n. M3 d
  939. ; http://php.net/filter.default
    1 {# \& r" `. D) F
  940. ;filter.default = unsafe_raw
      ~. c9 _6 ^/ F. @
  941. 7 R& p- ^3 B. c7 O5 N/ n6 @
  942. ; http://php.net/filter.default-flags' n1 F0 H; g9 b4 J' }
  943. ;filter.default_flags =
    + p) o" c' W; a# _9 H. a
  944. * s9 k7 C$ W5 {! e
  945. [iconv]
    3 a. v- P: X5 h% B
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.! H9 ?8 ]5 r6 L: _: M( Z0 b
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.: Q* M! q0 e3 g) _. b" B: {4 h5 i! ^3 E
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding# j2 R1 U/ K! M1 }8 ?/ R/ B
  949. ;iconv.input_encoding =
    , A* L5 i! |6 T# s8 X% A6 m0 W. Z
  950. / `" `" r) P) u( _& `9 u- O
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.- Q) v! t4 p7 B4 E
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
      m* c' M, B( i. b1 Q( x
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding' J8 e0 }( k2 \4 B, d9 Y2 i
  954. ;iconv.internal_encoding =
    * U- _) p: {) i$ c7 h/ g/ d& [

  955. + H* E6 j7 T( E% }
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    5 T, r$ O0 Q1 J6 y( p3 z
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    " M0 g0 p& P5 H  f  {* P8 W
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding' t9 u+ k8 t7 W' }- P9 U
  959. ; To use an output encoding conversion, iconv's output handler must be set
    6 \* O+ K. x/ |$ [4 y& h
  960. ; otherwise output encoding conversion cannot be performed.
    9 N7 T' }) g' T5 C1 h6 V% `  G
  961. ;iconv.output_encoding =1 s& l( {, A- ~3 a8 W7 C
  962. & n' C2 x4 x, x% i
  963. [intl]
    ( s% U  A, d4 I* h* Q
  964. ;intl.default_locale =
    & w$ _9 h4 ~% M
  965. ; This directive allows you to produce PHP errors when some error# j5 N1 q9 v: i7 g; {% D
  966. ; happens within intl functions. The value is the level of the error produced.! A4 a$ C+ v* n% x8 c
  967. ; Default is 0, which does not produce any errors.
    3 r3 A& N. Y; e; u: |
  968. ;intl.error_level = E_WARNING
    7 F% _! ~6 ^1 N. n) a4 J, H
  969. ;intl.use_exceptions = 0
    # w2 ^( W3 }6 \0 p9 z( T3 W

  970. % ~' ?& [8 h6 u  Y7 @
  971. [sqlite3]3 [! F- g. K( S  Y
  972. ;sqlite3.extension_dir =/ T" N+ T5 ^+ f0 @+ D

  973. ( m: N$ K! g0 v
  974. [Pcre]
    ; H& |( d1 i- w% @
  975. ;PCRE library backtracking limit.+ X5 `2 C  g: @4 Y2 e, T- j1 H8 L* h6 y
  976. ; http://php.net/pcre.backtrack-limit
    ' _& W/ X% B# q2 S
  977. ;pcre.backtrack_limit=100000
    2 W/ q1 u3 v& j" O1 j. |
  978. , I5 D! F* e9 `: I
  979. ;PCRE library recursion limit.# }4 Z6 V, i" g
  980. ;Please note that if you set this value to a high number you may consume all
    7 n! q* t1 ~4 C9 e
  981. ;the available process stack and eventually crash PHP (due to reaching the
    0 P( d5 g& v% w$ ~- ?& |
  982. ;stack size limit imposed by the Operating System).
    : X3 e  b6 [* D  e3 {! m. i3 N
  983. ; http://php.net/pcre.recursion-limit. L/ n- i8 |% s- i& }% Q" x/ r
  984. ;pcre.recursion_limit=100000
    & _; i; B8 z$ M6 M" V

  985. 3 _9 T5 b! @  R' l) y% W
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    1 \9 S! h8 u/ s0 E/ u' Y5 ?
  987. ;library to be compiled with JIT support.) d& A9 R: D" [7 h) @# o5 C: y8 U
  988. ;pcre.jit=1( J( W" u, U3 B, V: U6 F- T# ~
  989. 4 u1 l3 I) a. p- i# A, k1 Q
  990. [Pdo]/ L" j% `& K* B1 O
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off", D) G! L3 b% M4 S7 q( w
  992. ; http://php.net/pdo-odbc.connection-pooling
    # J+ }6 _* \$ U4 z+ ^: _  l5 j
  993. ;pdo_odbc.connection_pooling=strict; V8 q  y! q7 I, j

  994. , b) E% x; G' Q- z4 Y( o
  995. ;pdo_odbc.db2_instance_name* Z! L7 v+ x& g0 Q- q# G8 p" N
  996. 7 Q% t4 F2 b- R& |4 {# [* M
  997. [Pdo_mysql]
    5 _6 G) v7 W5 i  |6 W# P/ J  o9 r
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & i2 _* _3 t8 N, \! C
  999. ; http://php.net/pdo_mysql.cache_size/ K# c. p3 J  ?6 d2 f5 k/ _
  1000. pdo_mysql.cache_size = 2000
    8 ]2 _+ F% |6 @- G- B

  1001. ) H  w7 B' n, G8 d* c9 V% i
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in! |) ]9 k4 o& |6 ~  Z9 ^
  1003. ; MySQL defaults.
    - Y( m4 F7 h9 Y+ {- F
  1004. ; http://php.net/pdo_mysql.default-socket( }) ?$ {: l6 k+ u; z
  1005. pdo_mysql.default_socket=# x' x7 Q& M6 U& v

  1006. 5 z: |% X8 z) j! g3 c
  1007. [Phar], X0 j: L9 U- F1 R$ D# q4 }
  1008. ; http://php.net/phar.readonly2 M  l( U! w6 g) }# J
  1009. ;phar.readonly = On$ j: T9 [) k; e# i2 ?7 f

  1010. 7 x" }" C; s0 e' Y" s6 ]
  1011. ; http://php.net/phar.require-hash
    + r5 Q( J3 i" s* T; o6 X! |1 ?
  1012. ;phar.require_hash = On. M5 {6 R/ M- I
  1013. % G. ~* [4 [) G4 z, B  e( s
  1014. ;phar.cache_list =7 [0 e5 t$ \4 k3 F3 R

  1015. 6 ]6 @4 u1 p* j5 |9 G
  1016. [mail function]3 d3 {" l* i3 F( j% s# c# L4 _
  1017. ; For Win32 only.
    * l4 b6 C+ H7 l% ~6 Q/ O+ ^! B* `
  1018. ; http://php.net/smtp% H/ _! d5 V3 X5 N4 g, k) ?
  1019. SMTP = localhost+ U6 R' f2 i" L  l: {6 \; w
  1020. ; http://php.net/smtp-port" ~  f  b9 Z4 \% x8 X) H
  1021. smtp_port = 25
    & B( r/ ~2 ^! o4 E* y
  1022. 2 v8 {6 f) g! U$ @! E# R
  1023. ; For Win32 only.. m2 V6 u$ K% V2 A+ t$ n0 S. P0 m
  1024. ; http://php.net/sendmail-from
    ' ]! u' _  K! E; N
  1025. ;sendmail_from = me@example.com
    " c+ T9 ^7 m3 p2 b
  1026. 4 s3 h2 O; v2 R
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").+ o0 |. g5 n. Y( O
  1028. ; http://php.net/sendmail-path
    3 O6 @5 s) ]4 `3 b
  1029. sendmail_path = /usr/sbin/sendmail -t -i/ {& w5 k) ^' X# x

  1030. 4 G* O4 `  c2 @) @9 `
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    7 D3 P+ q9 H; O4 X# w5 j, Q  c" k
  1032. ; to the sendmail binary. These parameters will always replace the value of
    9 _" P  G) r3 F0 o$ z) m
  1033. ; the 5th parameter to mail()." O' e& G/ ^4 ]4 ^( k
  1034. ;mail.force_extra_parameters =( J5 `1 C2 O& }. A4 q) o; N* r
  1035. & n+ I3 ~6 m* Q! K. E" ~0 {1 C
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    7 A( q; v! c! r8 [
  1037. mail.add_x_header = On
    + z5 O" @) z0 ~6 M# X9 Y
  1038. " I  S% ?7 ]5 O" l/ ?' G
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ( _& g/ U; t6 m  z+ H" H3 E
  1040. ; the full path of the script, line number, To address and headers.: N- S0 }/ [4 m4 v$ O
  1041. ;mail.log =6 d% z7 `' Q; @
  1042. ; Log mail to syslog (Event Log on Windows).2 \  O" @2 H- o6 q, L  f: M: ]1 A
  1043. ;mail.log = syslog  h8 w) V. h9 v4 K

  1044. ( r. q7 G2 L" u, w1 F: e  @9 n5 o9 E
  1045. [SQL]$ g* }( C# P$ i- e; ^! P
  1046. ; http://php.net/sql.safe-mode
    & Z7 N" J# V6 V4 m3 J' o
  1047. sql.safe_mode = Off
    * P- K4 M. W4 Z9 b' ?* v8 E

  1048. + b% ^# L+ k+ ?& e9 ]) W- G/ n& I% |
  1049. [ODBC]
    9 @) b% E* ?: [( R2 @
  1050. ; http://php.net/odbc.default-db- u7 m+ H/ f0 |* ]& r, }
  1051. ;odbc.default_db    =  Not yet implemented8 d* [2 L$ ^7 u0 n  v# y; C6 ~

  1052. 3 J* v7 H+ i/ v3 }2 w) c" w5 ^
  1053. ; http://php.net/odbc.default-user& m- \; X% ?: |/ t* y
  1054. ;odbc.default_user  =  Not yet implemented8 A  g' O# x5 V3 O) _. V4 x

  1055. - o2 @- w9 X( D5 _7 I7 E
  1056. ; http://php.net/odbc.default-pw
    ! e7 u& _% D# u8 P
  1057. ;odbc.default_pw    =  Not yet implemented
    . v+ q3 S5 y. V. h" [& b+ I
  1058. 2 Z5 [' v% r4 ?& f* J4 w
  1059. ; Controls the ODBC cursor model.
    % @+ M" p: `- g$ \$ ]9 K# v* r
  1060. ; Default: SQL_CURSOR_STATIC (default).
    9 G: G" {0 \; i3 p& T
  1061. ;odbc.default_cursortype
    8 z$ ]6 f4 R/ ~8 P; s+ b8 i

  1062. ' s( T+ ?; O/ ~6 _. T1 T
  1063. ; Allow or prevent persistent links.
    : R% u7 G3 y2 D1 t% C7 e6 B8 W' S& h
  1064. ; http://php.net/odbc.allow-persistent
    ) |; L/ T8 j9 N9 a8 v5 P) V
  1065. odbc.allow_persistent = On
    4 S" |* ]3 X5 w! C$ k$ p
  1066. 3 \9 D, H8 L0 k# J; w2 g+ [
  1067. ; Check that a connection is still valid before reuse.  u9 u9 H  q, s7 A
  1068. ; http://php.net/odbc.check-persistent, E4 m5 j( _" d9 T. _7 D
  1069. odbc.check_persistent = On( w6 \3 N$ G' \0 t
  1070. . z4 _' [. X) X
  1071. ; Maximum number of persistent links.  -1 means no limit.
    5 s) q% s+ n% k' f+ C( ?
  1072. ; http://php.net/odbc.max-persistent! P' p  `- P+ e# S
  1073. odbc.max_persistent = -17 y5 y  n. u: E7 c% a6 I& ?
  1074. 9 Q! b2 i4 G+ y9 R! n* I
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 z2 b% ?& P3 t  \8 s
  1076. ; http://php.net/odbc.max-links3 a4 p* a0 A# z6 c4 @
  1077. odbc.max_links = -1; Z7 P, _$ w6 Z- `% l9 A# P0 @

  1078. 7 C6 p2 A8 s# ^  I# Q; g
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means, k: d4 f+ N* V; ~7 R3 h
  1080. ; passthru.
    ) P7 d  C: C3 n
  1081. ; http://php.net/odbc.defaultlrl/ [1 {. X  {8 }8 a+ `  V
  1082. odbc.defaultlrl = 4096' L, I1 p; V5 b# l/ m, V# x
  1083. & G: ?, }( [! z
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.& X* W& R& _3 _/ O
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation2 m0 I" o: x* G2 Z; A! }0 i
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    ) n) Y4 D7 t0 u4 X5 E4 H0 O
  1087. ; http://php.net/odbc.defaultbinmode
    ' k( c( R$ g1 i1 g# }
  1088. odbc.defaultbinmode = 1
    8 E- g0 ^- E. a. O: x* |5 z8 l/ Q# _& G
  1089. ; O( U7 ^: X  R/ P% t7 K' V2 }
  1090. ;birdstep.max_links = -1
    6 E- a3 |$ A+ \& W5 k

  1091. $ u$ o0 o3 ^: m$ w5 C' L& q% X; E
  1092. [Interbase]
    $ g1 |, N  F  M2 C3 E
  1093. ; Allow or prevent persistent links.: E3 _, K4 Z$ T' }$ {6 j
  1094. ibase.allow_persistent = 1
    . K) A- B2 C* B3 n  k  u
  1095. : T2 q; d" r3 |3 V1 d
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ! ^& f7 i9 l+ \! ]. A& u* C, g% j; w
  1097. ibase.max_persistent = -1% D8 P8 k0 A( M- u1 M; W

  1098. 4 \8 g4 x: ?3 U1 _0 }, {* u( O
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ q1 c2 G) H- @- V3 u/ r0 A; B5 Y9 G
  1100. ibase.max_links = -1% P  @* s& c# M+ C

  1101.   Z! t6 J" C& E4 u9 U3 |  G" G$ [
  1102. ; Default database name for ibase_connect().
    ; V( Y6 Q1 V7 Q" g8 d# R8 s
  1103. ;ibase.default_db =& `; k& H& u+ S1 }; g6 x

  1104. * x- }/ {, H5 Z6 p5 _
  1105. ; Default username for ibase_connect().; C0 G! A- V5 p+ W) x7 {* R
  1106. ;ibase.default_user =" j7 j" \. A# l2 w
  1107. 9 c( a+ s+ M* K' Q( _
  1108. ; Default password for ibase_connect().
    6 ]& [! t$ n, z! _
  1109. ;ibase.default_password =' k7 I4 q. G! \) i4 v# U4 V
  1110. ) V$ \8 Y( U/ X' N% ], l6 D
  1111. ; Default charset for ibase_connect()." q+ V: n8 M7 ~4 {4 ]0 D
  1112. ;ibase.default_charset =6 u0 w! F1 i! \" v4 e7 {

  1113.   E! c) m9 N" }% E: T5 l% [6 K6 V
  1114. ; Default timestamp format.
    6 `3 ^! v0 Y; V) V8 y$ V
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"/ B1 z9 n% I4 b& {* J* Q

  1116. % l2 h5 R  w; ?5 O- P6 Z' s' D
  1117. ; Default date format.; U, q; h$ n3 g" ?
  1118. ibase.dateformat = "%Y-%m-%d"+ K" `4 A1 k; g5 h8 K( i! b

  1119. ' z; i2 K( w2 _, ~
  1120. ; Default time format.1 N5 n% J7 ]% K
  1121. ibase.timeformat = "%H:%M:%S"& z: P+ W/ Z' _0 x* a- _

  1122. , v+ s. k" X2 i2 c+ Q+ h" E
  1123. [MySQLi]" r% e+ [3 Q# `

  1124. ' B1 {, D" I! {: a3 U4 G* C' P
  1125. ; Maximum number of persistent links.  -1 means no limit.; U5 v' c" A& s  W4 V
  1126. ; http://php.net/mysqli.max-persistent
    / f8 }" f& K% w7 D) J& v
  1127. mysqli.max_persistent = -1
    5 `9 \8 N2 o1 v5 _3 C. {& B
  1128. ) D& K- R$ ~, G9 q+ Z
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ; h+ o2 Q  }) R9 O4 E6 N
  1130. ; http://php.net/mysqli.allow_local_infile
    ( g! _/ q4 N/ T9 @9 H7 d
  1131. ;mysqli.allow_local_infile = On
    + P5 Y7 s, n9 i
  1132. ) g, v0 x4 e/ S# O% B
  1133. ; Allow or prevent persistent links.
    + d, l0 B2 s( s3 N
  1134. ; http://php.net/mysqli.allow-persistent( j; v( s* a( u5 ^* }( W
  1135. mysqli.allow_persistent = On
    8 S9 a* N& ]9 h
  1136. % t9 ?! q2 D0 @! N* }( J4 d
  1137. ; Maximum number of links.  -1 means no limit.: ^  r( c( M( x* J9 {' B- e
  1138. ; http://php.net/mysqli.max-links
    ( J; b! D$ |% z7 I0 `/ ~4 W
  1139. mysqli.max_links = -1% I' w- v' y# Y% R* t+ \

  1140. 2 W+ c! o0 \% i& U6 W; R
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache! G' e( _, O4 G4 T: ~. _  b8 o
  1142. ; http://php.net/mysqli.cache_size
    ; L4 Y5 Y% Q7 Z. K; A
  1143. mysqli.cache_size = 20004 k1 Z5 |! Z& s( }' i- b

  1144. 3 ?7 S/ g; i1 z
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use2 b  X0 o/ ~$ Y: [+ j8 [+ M) P
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ) Q. ~" l( h0 G" R6 X
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ) J  ~+ j6 }2 R2 O  J; K" r" s
  1148. ; at MYSQL_PORT.
    ! B2 ~3 U7 F' t
  1149. ; http://php.net/mysqli.default-port
    * Y, S* ^; [" F) z, a
  1150. mysqli.default_port = 33064 k% g' u# F& i) ]% R

  1151. 8 x( ]1 `2 a  H/ `8 ]# P, z& |
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    1 Q, N/ v6 l5 W
  1153. ; MySQL defaults." Q7 A$ J. w/ H3 q, h) R
  1154. ; http://php.net/mysqli.default-socket
    - U, U: @6 I8 k6 j# C
  1155. mysqli.default_socket =
    + S% c$ q" H2 a3 T' b$ i
  1156. 9 A  N5 l2 R, w4 V$ i
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).) j+ s& z8 q" w6 V! [, g
  1158. ; http://php.net/mysqli.default-host( M  w# ]/ |- h9 P
  1159. mysqli.default_host =& l4 E8 ^0 B$ z( p5 `8 `9 O9 @
  1160. 3 k4 B$ v0 H1 c/ v
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    % S* Q4 @+ g7 S) |5 w4 ], p
  1162. ; http://php.net/mysqli.default-user
    3 s9 F9 c) _2 i3 D" O0 p
  1163. mysqli.default_user =
    6 c$ n7 s! p' A8 [, d

  1164. $ s+ u- ]! M5 c
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ) y, Z# |8 x& L0 T& Z5 g' i! f8 I
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.' s$ W" R3 S* w' x/ V3 }0 r# X' c
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"). |  [" Q8 m- i$ I+ [
  1168. ; and reveal this password!  And of course, any users with read access to this# C& S; ~! R3 ^+ A$ H# r
  1169. ; file will be able to reveal the password as well.! J/ y6 }3 F' T5 }2 E; {
  1170. ; http://php.net/mysqli.default-pw; t5 t% N' a/ _
  1171. mysqli.default_pw =6 k" @& |7 H9 X% @% x+ @: E
  1172. 8 L4 N; Q) x/ N: E# D: D
  1173. ; Allow or prevent reconnect* u, E. b7 v& Q% \5 M& Y" C
  1174. mysqli.reconnect = Off
    , s5 @7 ~% @) j1 E

  1175. 8 H' K; G9 u# y! ?4 |" r. K: X
  1176. [mysqlnd]
    - }1 {1 C7 m- R' }. x
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be, b1 ?# V5 O( l! Z& Z* W
  1178. ; used to tune and monitor MySQL operations.& ?% J$ _( u9 f, _$ p
  1179. ; http://php.net/mysqlnd.collect_statistics& [$ M8 x1 `! j* }5 Q
  1180. mysqlnd.collect_statistics = On
    + b1 t/ u. K2 Y/ r( ?

  1181. ; E0 B- ]0 U+ G( K
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be, G0 K8 F- l$ V- x+ k
  1183. ; used to tune and monitor MySQL operations.+ ?' A1 k2 O3 i
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    8 g7 @9 q" c; }4 B# E( s9 x* _2 B
  1185. mysqlnd.collect_memory_statistics = Off: q! U  G5 @6 C( r) i6 {! V* U+ V6 j9 I  S
  1186. 2 p! t" t3 }. R8 _% R3 O
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    2 l& _8 o5 v# ^0 Q* Z- ]+ S. U
  1188. ; file.
    9 `* r  Q3 [) Z! B6 K
  1189. ; http://php.net/mysqlnd.debug; V, W  y) M- E. z- K6 O: D
  1190. ;mysqlnd.debug =
    8 B7 O, f( c  R2 Y; H

  1191. * v( A, `. [: s7 w: ?+ M% l' q
  1192. ; Defines which queries will be logged.$ d5 ~. K( }& L
  1193. ; http://php.net/mysqlnd.log_mask
    - D' Q/ X9 y* n( }
  1194. ;mysqlnd.log_mask = 0
    ; M% S: ]$ D% S. T& L

  1195. : i% [1 M; m4 S( A
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    9 {3 Q& |6 M0 X. D3 y
  1197. ; http://php.net/mysqlnd.mempool_default_size1 a6 p8 H0 n! c
  1198. ;mysqlnd.mempool_default_size = 16000
    + X7 E0 B" a& i4 U
  1199. ' o0 o0 N& Y" y4 J( y6 R" i
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    & D5 ?# F5 T' p! b
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size- @3 X' C6 |. A! E) k6 F  w
  1202. ;mysqlnd.net_cmd_buffer_size = 2048* f2 A' q- v' C4 ^; e0 {! [
  1203. 4 E& K1 t; k1 `; u, Z5 h' \& A2 i6 w
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in  g3 U( \" }4 E% f8 Y  I" m# o
  1205. ; bytes.( z* w" L5 f( c9 V- a9 w7 a$ x; z
  1206. ; http://php.net/mysqlnd.net_read_buffer_size: |' m8 V+ ]: G( c6 T
  1207. ;mysqlnd.net_read_buffer_size = 32768
    0 P- N+ {6 J  X2 p
  1208. 8 M4 q$ r( M. [3 B2 H
  1209. ; Timeout for network requests in seconds.+ V/ x1 n4 O% ~- W- x5 z& ^
  1210. ; http://php.net/mysqlnd.net_read_timeout
    5 M! d4 V: S  g; D' X5 A7 [5 e
  1211. ;mysqlnd.net_read_timeout = 31536000, O8 y5 J1 S  V: c

  1212.   I# T% z# n* T7 D# y  J5 y
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    4 P* ]  w1 ?4 P
  1214. ; key.- \5 E# ^& F  }. `  _+ r  [+ D  [
  1215. ; http://php.net/mysqlnd.sha256_server_public_key! s" Z# L. O' }5 S2 I9 }1 S8 b5 i
  1216. ;mysqlnd.sha256_server_public_key =6 i; b0 w7 Y! I- r
  1217. 3 ~$ s5 I5 M2 i
  1218. [OCI8]% m8 L1 K: R( k# l7 f% T, n- M
  1219. 0 |8 \; Q2 h/ D
  1220. ; Connection: Enables privileged connections using external$ j- y. _/ x; d6 U, t
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    - z! b2 {  p) l* H+ w
  1222. ; http://php.net/oci8.privileged-connect
    * n$ J( C6 d6 m! v% H8 @/ i- d
  1223. ;oci8.privileged_connect = Off
    , K3 G; g5 q$ n, l8 L" h

  1224. 7 w, @9 H' L: \" d6 O$ e! ^+ f
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    4 [) i* M9 I+ ~" |  X  M4 D" s
  1226. ; process. Using -1 means no limit.
    " C/ F1 J9 b5 h- W6 m: W( Y
  1227. ; http://php.net/oci8.max-persistent
    8 K5 B) T) Q; V  j$ w$ h: E
  1228. ;oci8.max_persistent = -1$ J3 q: ?4 ^  b9 Q, i& a

  1229. 7 Y* W/ D# E' |- t; N
  1230. ; Connection: The maximum number of seconds a process is allowed to
    1 \6 V" H  E. W$ ^; q
  1231. ; maintain an idle persistent connection. Using -1 means idle
    6 G$ F% }& R1 o% C! `, y: Y
  1232. ; persistent connections will be maintained forever.
    0 S% [2 T9 @9 H4 I
  1233. ; http://php.net/oci8.persistent-timeout
    ' p4 K* b& n- N/ b- }
  1234. ;oci8.persistent_timeout = -10 K8 \: {8 S4 M- R/ u

  1235. / M: j7 L8 v- s, @5 {
  1236. ; Connection: The number of seconds that must pass before issuing a# ?5 h9 R& ~2 O
  1237. ; ping during oci_pconnect() to check the connection validity. When
    7 E) t1 ]! m+ v: `0 I1 p
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables. @3 Q, K% j/ }! W3 }
  1239. ; pings completely.
    0 I# @- ]) f# ~% H3 w) ^! J
  1240. ; http://php.net/oci8.ping-interval3 I! A% q- |# @7 _* w
  1241. ;oci8.ping_interval = 60
    7 m% A& }( o; t+ z3 `- D* `

  1242. 6 H. h1 W% V9 i+ p1 ~
  1243. ; Connection: Set this to a user chosen connection class to be used9 R9 F1 W. `+ p7 E! q" t
  1244. ; for all pooled server requests with Oracle 11g Database Resident+ p1 p( H9 E# V  f# }! M
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    8 b* m! h9 }# m; ~
  1246. ; the same string for all web servers running the same application,
    7 o) o7 T8 D, _* ~1 |
  1247. ; the database pool must be configured, and the connection string must! [/ h7 z1 X8 ]9 D; K
  1248. ; specify to use a pooled server.& E* m2 ^( h( ]  h* ~- a( M
  1249. ;oci8.connection_class =9 k0 ]( y! N6 x$ i
  1250. % u' v, E; R  g7 y
  1251. ; High Availability: Using On lets PHP receive Fast Application
    . p0 f) a2 J' d6 ~5 g# x
  1252. ; Notification (FAN) events generated when a database node fails. The
    . ], l) `2 Z0 y0 U" Z6 p. W
  1253. ; database must also be configured to post FAN events.
    + F/ m) m4 e; T! g9 r; c) s  t
  1254. ;oci8.events = Off
    : N# \6 Z- m; @  W( R2 g

  1255. , ~1 F8 t1 d" I/ B5 N, X
  1256. ; Tuning: This option enables statement caching, and specifies how/ _3 O/ a* `( M3 ]  m
  1257. ; many statements to cache. Using 0 disables statement caching.
    + Q: t0 o: v/ `4 }0 f# N$ P. z
  1258. ; http://php.net/oci8.statement-cache-size
      e. I6 D0 x  ^8 e& g: v+ d
  1259. ;oci8.statement_cache_size = 209 |+ Y( F- a# ^4 ?7 E6 c
  1260. 6 ^, V3 N& ?& h' L8 a* o9 n
  1261. ; Tuning: Enables statement prefetching and sets the default number of9 N( ]8 Z- p2 h+ F
  1262. ; rows that will be fetched automatically after statement execution.
    2 Q( E. }* V2 h( P$ x; }0 p# W' D
  1263. ; http://php.net/oci8.default-prefetch! m1 F9 a8 q- ^6 n5 ?/ a
  1264. ;oci8.default_prefetch = 100
    2 o/ g/ y: B: G/ Y! l9 w
  1265. * v3 Z  d" {% K; D# `4 e
  1266. ; Compatibility. Using On means oci_close() will not close7 {  e) \' }4 _, |
  1267. ; oci_connect() and oci_new_connect() connections.- F: t7 L. \$ U% `( J
  1268. ; http://php.net/oci8.old-oci-close-semantics
    6 i/ v$ Q1 x. f. b& G+ g+ |
  1269. ;oci8.old_oci_close_semantics = Off
    6 k' K  W: r, q' |; |# p4 T3 f1 I
  1270. 2 ^# a9 r% Y( C6 J0 X/ ^) S
  1271. [PostgreSQL]3 |& ~$ o2 U3 M( a6 B1 _6 a
  1272. ; Allow or prevent persistent links.* z/ L" }; B7 I0 f$ o. m
  1273. ; http://php.net/pgsql.allow-persistent
    & H/ v1 l, K  e2 s# L
  1274. pgsql.allow_persistent = On) `7 N9 N2 T- s+ C4 p- T* J5 A$ X

  1275. 9 f( t7 |$ Y  u; I
  1276. ; Detect broken persistent links always with pg_pconnect().4 G, B/ }+ d8 \2 e
  1277. ; Auto reset feature requires a little overheads.- P1 f: ~3 M0 L; M- C$ E/ x8 T
  1278. ; http://php.net/pgsql.auto-reset-persistent% t5 p: N  Y% ~
  1279. pgsql.auto_reset_persistent = Off
    ' c' ^, I' J! J  x* W
  1280. 0 j% U6 E5 m0 ^/ o8 b9 m
  1281. ; Maximum number of persistent links.  -1 means no limit.
    4 m! {( i) q# ^% f7 w
  1282. ; http://php.net/pgsql.max-persistent
    3 h+ c% V$ F& Q! t8 m- B
  1283. pgsql.max_persistent = -1
    9 U8 u( p# U/ A9 v: }; e/ E

  1284. - ?8 N! J3 C( r2 b, x! p
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    3 x! N; i( i3 u% J1 J
  1286. ; http://php.net/pgsql.max-links
    3 E% U+ g7 Y1 f0 P1 m$ K
  1287. pgsql.max_links = -19 K2 Q0 d, ~" ^7 s

  1288. # M! j3 E7 }) a; H+ L* Y$ c
  1289. ; Ignore PostgreSQL backends Notice message or not.
    ( V+ l- _6 S8 C. n" o
  1290. ; Notice message logging require a little overheads.# j9 F9 c# C" T2 j
  1291. ; http://php.net/pgsql.ignore-notice
    * }4 s6 P" z; ~1 ]% R7 v- [
  1292. pgsql.ignore_notice = 00 _- K' B4 J: Y% w

  1293. 0 {2 R8 O7 _& Z5 n
  1294. ; Log PostgreSQL backends Notice message or not.
    + D# V( r1 P2 F% W; C5 s
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    5 [: W( K2 b% j7 M5 z" e9 p
  1296. ; http://php.net/pgsql.log-notice  I, v: r0 m3 |7 a
  1297. pgsql.log_notice = 0
    ' `) t* q) m3 J0 u3 T; ~
  1298. 7 M! t2 l! F! O$ [" I# y; {1 {
  1299. [bcmath]
    9 T& a( `* v- d: [  P9 ?) w& z" e8 z
  1300. ; Number of decimal digits for all bcmath functions.1 a5 q5 _2 _6 O
  1301. ; http://php.net/bcmath.scale
    & i; Z+ j7 z9 G
  1302. bcmath.scale = 0( i/ t7 \2 n# r0 M' t6 }
  1303. , ]  u1 N0 r4 o) v
  1304. [browscap]% q4 ?3 c+ s& W, G- S4 \' s: E
  1305. ; http://php.net/browscap+ R% F! ]- X: _5 Z  p9 m
  1306. ;browscap = extra/browscap.ini! I( n- E+ m1 d  g. ^  t, J
  1307. / r0 z! e1 N' I3 Z
  1308. [Session]
    0 \4 V* \: k4 S' i
  1309. ; Handler used to store/retrieve data.9 G, b0 u3 l! f3 b" P0 v8 o6 P! m
  1310. ; http://php.net/session.save-handler
    - c' g: w/ B1 s# i' v, O& I0 E0 K
  1311. session.save_handler = files
    9 Z' U- v9 ^4 a' w7 `

  1312. 8 H  m( Z" E1 u6 M
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    " P. v: C) b' ~; b# s
  1314. ; where data files are stored. Note: Windows users have to change this
    ' u% Q, l$ _0 M! h( a
  1315. ; variable in order to use PHP's session functions.  c  O+ W( u! u" V9 B5 j
  1316. ;
    2 x* }0 K6 C, d; ?9 f7 E3 [6 x5 W, `
  1317. ; The path can be defined as:
    5 R5 w  x" B' a9 g" J& K
  1318. ;
    3 }' S0 ?8 X8 h6 W  U
  1319. ;     session.save_path = "N;/path"0 }6 ~4 N. n- i: W6 m
  1320. ;1 g7 M9 @, D) N  S6 `
  1321. ; where N is an integer.  Instead of storing all the session files in" w# R! E# b2 s7 I# k3 \$ }
  1322. ; /path, what this will do is use subdirectories N-levels deep, and0 L( I! W8 `8 {! G; a
  1323. ; store the session data in those directories.  This is useful if/ C- G  n2 t7 D; N, E
  1324. ; your OS has problems with many files in one directory, and is
    ! I: K' Z- ~0 N
  1325. ; a more efficient layout for servers that handle many sessions.' A$ Z. M# G- R; G. Y& s) e
  1326. ;! F  Q2 A, ^/ I% b% `2 H. C8 k
  1327. ; NOTE 1: PHP will not create this directory structure automatically." n0 ^8 Z/ x5 r, q9 C  R
  1328. ;         You can use the script in the ext/session dir for that purpose.
    : \0 f; j. K0 i
  1329. ; NOTE 2: See the section on garbage collection below if you choose to, K  ]6 N9 E# [& H2 K
  1330. ;         use subdirectories for session storage
    * s! B' x7 V$ M# X) U* j
  1331. ;
    * D, s, p% M( L- n. [) J
  1332. ; The file storage module creates files using mode 600 by default.
    # \4 S& t* U' v+ ~
  1333. ; You can change that by using
    & B2 K- M* J# r
  1334. ;
    ! h, h+ O8 e2 X2 M5 x
  1335. ;     session.save_path = "N;MODE;/path"
    $ g" v* \8 \$ f6 `, O( O
  1336. ;
    ' p5 c, Q! Q8 H- G9 I9 `; R
  1337. ; where MODE is the octal representation of the mode. Note that this+ G$ C' i9 c& n8 a
  1338. ; does not overwrite the process's umask.1 l9 W/ I! v9 O  G( b
  1339. ; http://php.net/session.save-path
    9 j" \  U( r8 }! M
  1340. ;session.save_path = "/tmp"
    ! q+ e3 P" g" ~# X2 T7 P! F
  1341. " M: c+ j2 v. Y' D! w8 X3 ^
  1342. ; Whether to use strict session mode.
    1 b) Q% E1 K+ z2 q, z* @( o( e
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate' F0 i% S. K7 `# c
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ) G% H8 i, ]- S! ^* I( v0 L! Z1 X
  1345. ; applications from session fixation via session adoption vulnerability. It is3 D/ t& O4 v2 Y3 m
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    4 K" m& P: P3 d; b. t/ r
  1347. ; https://wiki.php.net/rfc/strict_sessions6 M* y' c7 P# Y, a3 e
  1348. session.use_strict_mode = 0$ S: V9 C2 F% N' u: h9 t0 k7 _
  1349. ( K6 H- [8 i! v0 z8 f1 J
  1350. ; Whether to use cookies.% `0 R& X+ d* P+ k/ c
  1351. ; http://php.net/session.use-cookies5 J3 Z0 C! J( D
  1352. session.use_cookies = 1
    4 |" A( f1 I1 v3 @. X1 U  p. p

  1353. " Z8 T3 I0 N7 F5 H2 B
  1354. ; http://php.net/session.cookie-secure
    . D& m, M6 i0 r' A& ?$ M3 v
  1355. ;session.cookie_secure =
    * C' U+ ^& H2 {2 g

  1356. 6 F4 v2 e0 }7 _" n% @
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    9 S: W* S1 _/ f2 M8 }
  1358. ; the session id. We encourage this operation as it's very helpful in combating& \/ V) p8 x1 J$ x; q' x: W$ D; m
  1359. ; session hijacking when not specifying and managing your own session id. It is' R! X  @' W* Z1 H: q
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.2 y: u( |" |" B* ~
  1361. ; http://php.net/session.use-only-cookies
    - `/ s( S) ~: Y4 Z: Z4 b0 ^6 L7 K' l$ Q
  1362. session.use_only_cookies = 1: R; H# N9 Z4 r: q

  1363. $ v5 b' I: p8 d/ ~+ D
  1364. ; Name of the session (used as cookie name).
    7 Q# r3 X) r0 [/ C1 ]# @( f( N
  1365. ; http://php.net/session.name
    % m7 Q+ o! l- N- O( x- l) z1 g1 ]
  1366. session.name = PHPSESSID8 a8 f5 p7 p1 f8 G

  1367. + J8 }. o0 C; \& l
  1368. ; Initialize session on request startup.
    % b5 B+ z# Y3 W$ C4 q
  1369. ; http://php.net/session.auto-start4 b; |) [$ t: y9 ~+ O  h
  1370. session.auto_start = 0
    1 J: Z, H! o" R# t2 _  _8 X
  1371. & H# ?4 h$ z( w& h
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.$ ]9 B& |5 W+ e; {8 L) ?
  1373. ; http://php.net/session.cookie-lifetime
    1 f; p, ~8 p% h# N+ P& [8 D
  1374. session.cookie_lifetime = 0
    4 b8 ]0 f6 [" E

  1375. 6 V( A0 T4 `! W- ~6 u
  1376. ; The path for which the cookie is valid.  z7 f/ u6 ]! P+ D' p& d
  1377. ; http://php.net/session.cookie-path
    7 ~/ O+ O- c/ \8 u1 b) q
  1378. session.cookie_path = /5 P3 T2 n1 w; J, g! r% d
  1379. ! H& A. ]$ ~+ r+ X  S
  1380. ; The domain for which the cookie is valid.% M+ b: k. l% F9 W9 f
  1381. ; http://php.net/session.cookie-domain$ E. p& p2 l- A+ P, I
  1382. session.cookie_domain =. a2 p9 [  r  o. K2 [" `/ d
  1383. 1 Y! y6 S4 h/ ?0 ^, F% C
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    & L, S% I  E6 {9 `9 r4 j
  1385. ; http://php.net/session.cookie-httponly& j& p* y% q7 s* _
  1386. session.cookie_httponly =
    9 t! A3 R! D+ X& j- z

  1387. 6 {. a6 C3 P3 _
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    . _1 m+ z$ r9 f8 n! j, E" X
  1389. ; http://php.net/session.serialize-handler$ X0 I% Z! b; l& j' M4 B: A- Q
  1390. session.serialize_handler = php
    $ o/ @) l/ N; z
  1391. + B* |' H9 e$ R1 u; ~3 W) G
  1392. ; Defines the probability that the 'garbage collection' process is started# ~/ I+ g: t6 s5 i3 a# j. z
  1393. ; on every session initialization. The probability is calculated by using
    ' f! P+ ]7 M) q4 V) `
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator- a4 X! Y! s: N& g. N6 B* r
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    - v, J' j0 q/ E! n4 [' L
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 ]+ [  N8 U* k0 O! P( R
  1397. ; the gc will run on any give request.
    ; a7 E0 F8 L; a
  1398. ; Default Value: 1
    * ?+ v% Q! o# R6 j
  1399. ; Development Value: 1
    + Q0 D, F, ?, f. z: p, D7 M
  1400. ; Production Value: 1' l) f' [- W+ t/ Y6 }1 b3 Q
  1401. ; http://php.net/session.gc-probability- b! h3 w7 S2 W
  1402. session.gc_probability = 1
    . @3 f) J2 Y" G1 r

  1403. # N: R( z1 d0 w4 x8 h' Y) k
  1404. ; Defines the probability that the 'garbage collection' process is started on every2 ?# Q+ c" Y! [& T' R7 J
  1405. ; session initialization. The probability is calculated by using the following equation:2 @* u1 G! N7 o; ~; F( X. G
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    / x8 j2 t( q$ a; G( j! ?
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1! s* H; n/ A& Z
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    * ^- e: [# z& C; i
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    0 f) }' b9 e( F2 B
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,. L0 s$ K( a* `: h4 O: k) `
  1411. ; this is a more efficient approach.$ j  g. L% K+ ]& {# X7 A( ]
  1412. ; Default Value: 1000 }8 S( E2 B5 G2 ~! b
  1413. ; Development Value: 1000
    : G0 k# j9 q/ B& Z* e2 l: A' }& I9 X
  1414. ; Production Value: 1000; z# y$ H; }- n" p7 ~3 Z3 H4 b
  1415. ; http://php.net/session.gc-divisor
    3 |4 [, M# R; y- j( N) d( u3 Y1 i
  1416. session.gc_divisor = 1000
    , o5 `1 J1 g  U  L

  1417. : G" X& |  S  J9 w
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    # P+ |$ o$ c& v% F* R
  1419. ; cleaned up by the garbage collection process.
    6 z0 W. }$ e0 C6 [  a: s7 g, T
  1420. ; http://php.net/session.gc-maxlifetime
    / m1 C( S; i( }  d0 C& a
  1421. session.gc_maxlifetime = 1440
    - X  Z7 G2 l8 Z, p: U, F
  1422.   h% b- P6 L" f; v# h
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    5 N$ O# W; D- Z) `3 K
  1424. ;       (see session.save_path above), then garbage collection does *not*; s; n: ?4 `% P
  1425. ;       happen automatically.  You will need to do your own garbage
    5 {# F& S1 u4 P" I
  1426. ;       collection through a shell script, cron entry, or some other method.+ n* k+ P" t" K6 W3 s- T. t
  1427. ;       For example, the following script would is the equivalent of# m; b+ @5 I( p$ _
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):! P# F; ]6 \+ _+ u( D1 X/ t1 |
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm  F/ G$ x, _% ?$ S% s

  1430. ) G3 }! v% t4 i" x
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ( F/ ^; L8 y3 ?$ l8 m
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    0 i6 x" c' E/ H, m& E7 K0 i
  1433. ; considered as valid.
    ' t) u2 o) m, Q+ u- x0 V' i
  1434. ; http://php.net/session.referer-check
    2 a7 G3 m- d# F; I8 [
  1435. session.referer_check =4 [9 }: g" e+ L+ C# a7 e

  1436. & y& p5 Y; b- [+ X& n9 h: J" K
  1437. ; How many bytes to read from the file.
    ( a9 t5 P- G% P6 g
  1438. ; http://php.net/session.entropy-length
    5 P# F/ X( i0 e8 g
  1439. ;session.entropy_length = 32
    . m+ r* ?- j" Z% \) u( t

  1440. ' X& Q# D% N+ n2 F5 }8 C
  1441. ; Specified here to create the session id.
    3 X5 ]; j" }0 a
  1442. ; http://php.net/session.entropy-file
    ) D$ x. V, w, R+ p% U# z( X
  1443. ; Defaults to /dev/urandom1 q0 Q3 l* V6 b; q
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom! e, |0 m' w/ N$ |9 `
  1445. ; If neither are found at compile time, the default is no entropy file.: {9 _0 z: j9 f) ]" k; t
  1446. ; On windows, setting the entropy_length setting will activate the; o2 ?/ v1 U! c$ W7 ]- ~$ j* _
  1447. ; Windows random source (using the CryptoAPI)
    8 \: V- ~9 \; F- c; E
  1448. ;session.entropy_file = /dev/urandom
    ( j' |* f$ z% o' N
  1449. 6 W6 v  i/ A; z% _* F, e
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    5 L$ V- E! P; r
  1451. ; or leave this empty to avoid sending anti-caching headers.5 @. ^3 e+ {* z" i# \9 z
  1452. ; http://php.net/session.cache-limiter3 R; P8 y  }# K& C
  1453. session.cache_limiter = nocache  ?* ^) q. u# k1 J" P

  1454. 6 w! ?7 _+ Y1 s6 k) g! @1 x+ @7 b
  1455. ; Document expires after n minutes.
    : U' k3 ?1 F# A( ~3 j
  1456. ; http://php.net/session.cache-expire
    . X  y, T9 A- K
  1457. session.cache_expire = 180
    * {1 b, K! _. X- e
  1458. + l- J, [( T; R9 c, @2 @: W
  1459. ; trans sid support is disabled by default.( h$ C$ f0 f+ B* [! |! L0 Z+ O
  1460. ; Use of trans sid may risk your users' security.
    4 G; C1 ~5 o, o& B( L
  1461. ; Use this option with caution.
    + l$ K, h6 v. J5 Z! |
  1462. ; - User may send URL contains active session ID
    " j$ w# l: H: o; j! N
  1463. ;   to other person via. email/irc/etc.. @7 M: T3 {2 O$ f
  1464. ; - URL that contains active session ID may be stored
    5 \0 b! v6 l& C" l% ~( W6 \; k" f
  1465. ;   in publicly accessible computer.
    # Z7 O( |7 Y5 b* e
  1466. ; - User may access your site with the same session ID$ S. f" k' ~2 z% i3 [' p1 B
  1467. ;   always using URL stored in browser's history or bookmarks.8 u. K* Y% W9 x* n  R
  1468. ; http://php.net/session.use-trans-sid+ G  {) m- H5 z' N4 Y7 M  J
  1469. session.use_trans_sid = 0
    * [4 s6 {- q- r8 w* V  }: ]

  1470. * H. l" X! K) ~
  1471. ; Select a hash function for use in generating session ids.9 r/ ~3 E* d' O0 C* q* p2 t7 P
  1472. ; Possible Values
    4 N$ y/ x' \- F. A. B
  1473. ;   0  (MD5 128 bits)
    * I4 ~9 b) w0 S; ~& B2 x* d
  1474. ;   1  (SHA-1 160 bits)
    / `4 ^  C$ f6 O5 [  Y) o
  1475. ; This option may also be set to the name of any hash function supported by6 o4 l. K4 I6 ~9 O) R$ [
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    $ F" F- o( ~" S7 K$ y; `
  1477. ; function.
    6 X; c7 j7 N9 S% u1 c; @
  1478. ; http://php.net/session.hash-function
    % B4 b/ Q: _: |1 g; |3 J
  1479. session.hash_function = 0' U' y+ \$ w! b
  1480. + T. w1 l- [% _9 t+ L1 C* Q
  1481. ; Define how many bits are stored in each character when converting# I& R6 w7 S+ u5 \
  1482. ; the binary hash data to something readable.
    + Z* P) E$ L) s/ ~9 z2 X* {
  1483. ; Possible values:1 ~4 D' O  W/ [' U: z
  1484. ;   4  (4 bits: 0-9, a-f)9 ~1 o, z+ o* k& \
  1485. ;   5  (5 bits: 0-9, a-v)( P+ p' e$ C. q4 ^- W2 p3 c
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")% W8 l  o1 q4 c5 {8 e; [
  1487. ; Default Value: 4
    $ e1 S  V  q- Y9 q
  1488. ; Development Value: 5
    : D3 U% @8 ~2 n0 t7 ?
  1489. ; Production Value: 5* s* I, |) L8 j: W; U7 p
  1490. ; http://php.net/session.hash-bits-per-character
    $ L# h9 r" i8 [4 g9 G9 E2 x
  1491. session.hash_bits_per_character = 5
    ; X8 a  g" ]. L* Q: D  a  c

  1492. ( {3 `) l" R. V8 M( d! d
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    " m* S$ P: P9 j5 C% g
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    0 x5 y, b( x- |. d
  1495. ; add a hidden <input> field with the info which is otherwise appended
    7 z. R/ u0 n% M/ h3 j
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.% U/ x' b$ y* H5 M' I
  1497. ; Note that all valid entries require a "=", even if no value follows.
    / L- f2 s5 h' h4 H
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    , B9 b" O1 j3 s8 t. F2 q0 z
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' d; ~- R! J$ ]3 S- U) \3 G  r6 {
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# J, \  A2 ^: U1 a! e. A' @" Y
  1501. ; http://php.net/url-rewriter.tags
    % k8 A9 I7 X3 f" _, t  Y& m9 C8 W: o
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    + J! b' N* p; h3 t! o, w5 o

  1503. 7 c& V9 m, ]+ n2 N
  1504. ; Enable upload progress tracking in $_SESSION/ U1 @; J7 S/ ]' r* q, F; |% w
  1505. ; Default Value: On
    ; S' D1 \1 S) g
  1506. ; Development Value: On5 ]% K$ E2 z7 E8 D  s
  1507. ; Production Value: On4 j0 C0 p+ z7 x
  1508. ; http://php.net/session.upload-progress.enabled( Y$ t- D5 O( \- T* \& N
  1509. ;session.upload_progress.enabled = On
    ( o  ?  e2 r' z; u
  1510. . E8 Z+ x+ U2 n8 I
  1511. ; Cleanup the progress information as soon as all POST data has been read
    $ {# A# \0 V% ?( y3 M) T' B
  1512. ; (i.e. upload completed).4 G1 j7 P4 T. G" ~; ?5 p- c
  1513. ; Default Value: On
    3 {' X( h* q' S6 S/ F- r
  1514. ; Development Value: On( V1 v3 j* ^2 o  ^& Y
  1515. ; Production Value: On& y: R! _5 p2 s, J4 s
  1516. ; http://php.net/session.upload-progress.cleanup2 N: X5 e% R" P$ t8 y
  1517. ;session.upload_progress.cleanup = On
    3 z9 u& N& x% `1 u/ \/ w' Z

  1518. * y% L( W; E0 ^) G+ `! W5 _
  1519. ; A prefix used for the upload progress key in $_SESSION) l+ b' A; q" z" G. m# I
  1520. ; Default Value: "upload_progress_"
    5 T+ M% Z3 Z1 z9 X8 d3 P
  1521. ; Development Value: "upload_progress_"
    6 s  L1 X$ ?1 c2 y& X
  1522. ; Production Value: "upload_progress_"* ~: p/ u5 u- D: K
  1523. ; http://php.net/session.upload-progress.prefix, d" D% s7 B! w, J
  1524. ;session.upload_progress.prefix = "upload_progress_"! U% T  z! l; `. i

  1525. : N( f0 L$ J% h' d& Z
  1526. ; The index name (concatenated with the prefix) in $_SESSION! X% [* I, z, w4 ~
  1527. ; containing the upload progress information5 ^0 \7 z% V2 k* b7 e& R+ O& [2 Z
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"! f% w' U# ^5 G9 _) D' r3 W. y
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    % K# ~/ b6 b' ?9 K5 ^5 S
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"6 @# c; n# {- s
  1531. ; http://php.net/session.upload-progress.name# A  l" O2 p/ ?7 Q0 k
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"  @. ~: @! H; G$ p0 E

  1533. * x& X  }7 e# Y
  1534. ; How frequently the upload progress should be updated.- ]8 E' J, t8 X1 s, M1 W. P: @
  1535. ; Given either in percentages (per-file), or in bytes
    # F$ ?. r. e! y& ~+ Q& d
  1536. ; Default Value: "1%"
    , B1 P9 G# {% O. s! B. W  _
  1537. ; Development Value: "1%"; \2 c# w+ v/ l, g
  1538. ; Production Value: "1%"
    1 |* p8 _9 V0 c% P& L
  1539. ; http://php.net/session.upload-progress.freq3 h1 s" r& I4 H* |
  1540. ;session.upload_progress.freq =  "1%"8 O1 `, [: Z6 C7 M: e

  1541. : @1 E# C  u$ ], l
  1542. ; The minimum delay between updates, in seconds
    4 Q0 Y0 T" ]1 d: Q( ^/ C
  1543. ; Default Value: 1
    2 `6 D0 a4 _  P3 U& w# K
  1544. ; Development Value: 1
    + Q+ T# {2 H9 Z7 Q( r5 `
  1545. ; Production Value: 1
    3 M8 }) u+ y& r2 o1 E
  1546. ; http://php.net/session.upload-progress.min-freq4 I% ~2 O3 A  s
  1547. ;session.upload_progress.min_freq = "1"
    ( o' d& h0 `+ `% G" `$ N6 @7 o* x

  1548. * n+ `( b1 G+ c9 ?0 J6 O, d9 n1 _. K- W
  1549. ; Only write session data when session data is changed. Enabled by default.
    0 g% ~" J+ r) j, q3 `' E
  1550. ; http://php.net/session.lazy-write
    % F/ S' W( y8 \# z+ C% [2 z1 P# S; x
  1551. ;session.lazy_write = On
    + @5 O0 p+ y) }" W* o' |6 A
  1552. 2 V$ V& v3 W' M; V* a+ J9 z
  1553. [Assertion]- a' l8 ]0 n' T: H; @
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    1 e- e# q* D  f, I
  1555. ; -1: Do not compile at all2 |5 Q( @( q2 B- i! q- M$ w
  1556. ;  0: Jump over assertion at run-time
    $ s2 x( `5 K; _- Q
  1557. ;  1: Execute assertions# J% ?( a! X$ C9 |3 n$ ~! x* v2 i
  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)
    7 E, b3 l% i7 M% D2 w3 y
  1559. ; Default Value: 1
      |% H2 R0 Y8 a  U1 D
  1560. ; Development Value: 12 B6 V- d: s* i# _7 K5 t4 M
  1561. ; Production Value: -16 m* }: J4 B* L% L9 L; l
  1562. ; http://php.net/zend.assertions
    4 [' G2 `3 h: p8 I) f0 j
  1563. zend.assertions = -18 k7 ^# x( M5 a  G& E

  1564. 3 G# ?. U* i1 k5 T3 ?  y
  1565. ; Assert(expr); active by default.
    . F* s+ ]! D4 ]
  1566. ; http://php.net/assert.active8 v) U. t- B2 W; D4 g" C) r; v  V/ P
  1567. ;assert.active = On7 ~5 a; a/ ]4 T+ c3 l: d

  1568.   k* Y8 z( E" g: ^/ R
  1569. ; Throw an AssertationException on failed assertions4 Y& Z% N. z& p: a
  1570. ; http://php.net/assert.exception# r9 g' \5 `! M' K
  1571. ;assert.exception = On' p) L$ o/ a' w" n
  1572. / t& F( C+ o/ R  S
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    : _' _1 u. I7 l8 N/ k) @8 o
  1574. ; http://php.net/assert.warning! \; v. k6 s& v! {4 i( [% r
  1575. ;assert.warning = On
    * @( i6 _/ U2 W* L) T+ [* o
  1576. ( m- {# |' |+ O6 z! Z
  1577. ; Don't bail out by default.
    # Y& ~. x3 B) s# s- {, c  Z# v
  1578. ; http://php.net/assert.bail
    ; g% b8 l- [$ Z' p- p
  1579. ;assert.bail = Off! a% Q1 ?# N) V3 U8 D' w* W

  1580. & s+ p& A( D' c0 A
  1581. ; User-function to be called if an assertion fails.' @8 p( v( A$ a6 c7 F( |
  1582. ; http://php.net/assert.callback
    ' j2 E$ L3 l* `
  1583. ;assert.callback = 0, z' `' I3 Q, Q  q" q
  1584. + o3 R1 D) u% x0 i/ n' n
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ! D. n0 K1 T$ s- S) m
  1586. ; error_reporting(0) around the eval().3 q9 w: W( B6 b. ~5 ^3 a
  1587. ; http://php.net/assert.quiet-eval
    ) {) V) h+ _; ~0 p7 ?) i& b
  1588. ;assert.quiet_eval = 09 u+ c3 h! g) ]  W7 j2 \1 v

  1589. + U* e: b' J% r0 {" O3 |5 u
  1590. [COM]2 ]8 r$ n  P) k- a6 S3 |9 j! D: {5 E
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    - f# E3 o/ ]' a9 j
  1592. ; http://php.net/com.typelib-file
      X# v+ G# p' e
  1593. ;com.typelib_file =& x  O; M3 ~: ^

  1594. , }9 k9 c. D2 n
  1595. ; allow Distributed-COM calls* g4 N: }- f. E; Y$ k5 I  Z
  1596. ; http://php.net/com.allow-dcom& O- `5 K" @1 P( f  s' D! J" s" |
  1597. ;com.allow_dcom = true
    , ]+ c; O2 u2 C8 v
  1598. ! H' K1 q+ U2 R
  1599. ; autoregister constants of a components typlib on com_load()2 c, {/ ^- J- o( h, \
  1600. ; http://php.net/com.autoregister-typelib
    # E% V; Q8 K  a+ |2 z6 l
  1601. ;com.autoregister_typelib = true
    ( ~' V; v: B3 _- F( ~. W
  1602. " {" _! b+ S  H! T* T& Q0 O- X% u
  1603. ; register constants casesensitive
      J- H& r9 A& c0 W/ s
  1604. ; http://php.net/com.autoregister-casesensitive" f& G# ]+ m; F2 r
  1605. ;com.autoregister_casesensitive = false* C% K# E! u) a; |  N
  1606. % |% c+ N! l: m4 m1 A
  1607. ; show warnings on duplicate constant registrations
    3 H6 z. W$ T/ p7 s0 |) @
  1608. ; http://php.net/com.autoregister-verbose& K+ v# d7 S. E1 v- ]& L9 Z7 f
  1609. ;com.autoregister_verbose = true. V4 U# F- R! x6 ~8 K

  1610. 4 Z* [) q! {1 {0 I) ]
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ; W# G: A0 G5 B
  1612. ; Default: system ANSI code page8 O" ~7 a4 Q8 G9 V4 |
  1613. ;com.code_page=
    9 R4 w8 I& A0 D3 v$ S) X* b

  1614. 5 h9 S- L8 ]1 C( Z" }- G
  1615. [mbstring]
    3 r& x7 L0 q) L1 p: I  ]
  1616. ; language for internal character representation.4 x/ A) p& X# P1 ^& J6 [
  1617. ; This affects mb_send_mail() and mbstring.detect_order.& K' M; S5 P. @  q
  1618. ; http://php.net/mbstring.language9 p% c( o7 a4 f- L. i& c( t
  1619. ;mbstring.language = Japanese
    ( g" {% e3 P: q

  1620.   n& R; o) ]! f7 M; T& ^1 X2 W
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.  N5 y: P: [8 K" s* b2 I/ G8 S4 P5 k' i
  1622. ; internal/script encoding.
    / t: r( [% Q0 i8 H4 M4 h  d
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    . h! p2 J0 C) F  h; }8 V$ i9 z
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : g% k. O  H. p7 R" Z  b
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding; q5 N$ n+ l; g. _
  1626. ;mbstring.internal_encoding =
    - s8 L: x* K  s' K
  1627. + E4 Z  C% h3 R6 j% x' n  M) k7 W4 z
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.! R" d, i5 O+ U2 c5 g" P
  1629. ; http input encoding.5 Z+ q, c8 {: W, o3 K$ Q
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    9 U& q: i9 |* z% s  l6 T% b1 p
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.. z5 C% v/ {: c- i$ `
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    # G5 a6 C4 T4 ~& L9 }
  1633. ; http://php.net/mbstring.http-input- G* p) @: c9 Z
  1634. ;mbstring.http_input =
    % X4 ^+ K  ]( U) f2 C
  1635. ( v+ e4 j& I) B. C, N) D' T
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.. Y* B6 L  `# z7 k7 S; p; s, U4 Q
  1637. ; http output encoding.
    3 }% o: u' F# I# I
  1638. ; mb_output_handler must be registered as output buffer to function.
    - R5 Y# P8 p. M! p5 z
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.; c, N/ E+ P4 g7 Q9 I& w
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    & W. h$ h2 o2 [: i) @* V
  1641. ; To use an output encoding conversion, mbstring's output handler must be set8 X" @& w4 G5 s: A  t
  1642. ; otherwise output encoding conversion cannot be performed.
    ) l% y) y% ]* y  o
  1643. ; http://php.net/mbstring.http-output
    ( |, Q. b8 h% }4 R! K$ |
  1644. ;mbstring.http_output =
    5 f  u* d  v' q3 u9 k

  1645. $ s: T* Y$ ]1 A& y! J
  1646. ; enable automatic encoding translation according to, Z( d( P! l& G  k0 g& C& y) r
  1647. ; mbstring.internal_encoding setting. Input chars are
    9 }6 l6 ]5 d7 m) q
  1648. ; converted to internal encoding by setting this to On.' E7 e* I. w+ k9 h/ D) W
  1649. ; Note: Do _not_ use automatic encoding translation for
    3 q4 s5 W& W# v( j$ U& c' y: {7 b
  1650. ;       portable libs/applications.0 p* Y% C5 |2 _6 M* Q+ o7 [. M8 a
  1651. ; http://php.net/mbstring.encoding-translation9 }- f$ b; O5 Z" H
  1652. ;mbstring.encoding_translation = Off5 A- D4 [# L( F8 ~

  1653.   F3 x  h6 d  b- `. a
  1654. ; automatic encoding detection order.
    8 q1 W/ l% Y( C- W- i/ c
  1655. ; "auto" detect order is changed according to mbstring.language) H+ d5 h, l7 C8 r, d  F$ J8 n3 c
  1656. ; http://php.net/mbstring.detect-order& Q9 W8 X* f$ X7 w
  1657. ;mbstring.detect_order = auto) [9 h  K  A1 D+ r- v
  1658. 0 l  M8 A9 h3 v' y
  1659. ; substitute_character used when character cannot be converted' L: O# Z8 V& K: n: X& N' o& Z
  1660. ; one from another
    $ g+ [% C. Z" `& W9 x6 w
  1661. ; http://php.net/mbstring.substitute-character
    # _9 ]" z1 l3 n8 z$ ]) t# f
  1662. ;mbstring.substitute_character = none( q# m# B) {/ c: w, i
  1663. 5 p/ A5 i8 |0 W( x
  1664. ; overload(replace) single byte functions by mbstring functions.
    . H" `7 M4 O- E9 J! R: R8 {
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),* d  y! _3 ~" @' u. C+ j
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    1 b0 K% H' V5 n5 Y5 [6 y
  1667. ; For example, 7 for overload everything.; @; j" }' L# d5 k
  1668. ; 0: No overload
    / [, q% M  u: w$ m% ?3 Q, K
  1669. ; 1: Overload mail() function
    , m% b0 ~" D. J0 Y
  1670. ; 2: Overload str*() functions  v& E2 G5 ?  i3 z1 q9 z6 c! ^
  1671. ; 4: Overload ereg*() functions: T* h' L) r. @& `$ k$ Q5 _
  1672. ; http://php.net/mbstring.func-overload
      m) k$ X2 [* O: ?  v- n  J* m. d
  1673. ;mbstring.func_overload = 0
    * C, B5 r" f9 n7 e; e! v; T& Z

  1674. # K# J; O6 r, S/ h9 c
  1675. ; enable strict encoding detection.
    + N; l5 [. J. {1 V! F; |& S
  1676. ; Default: Off
    0 y- K& \& c/ }
  1677. ;mbstring.strict_detection = On0 H8 t# {' g2 ?1 o) H; R
  1678. . Q, u) l& v  z  y6 ?/ ?
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    " E1 l* p0 I1 E" ^
  1680. ; is activated.
    9 F4 T% a4 T  a& h  r" K& V
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)! r1 e4 |7 G( `- o
  1682. ;mbstring.http_output_conv_mimetype=
    - q. C) A& |, {9 n; g; W
  1683. * M' _9 y" V  n: \( v3 ^1 D. _
  1684. [gd]
    1 K" [6 z* s3 P  h6 V$ l2 O
  1685. ; Tell the jpeg decode to ignore warnings and try to create; O% ?& g  D7 @
  1686. ; a gd image. The warning will then be displayed as notices
    2 t* h# E4 T6 a
  1687. ; disabled by default1 e; [8 ?( K. E
  1688. ; http://php.net/gd.jpeg-ignore-warning
    9 e0 c. q& }) A  i5 r
  1689. ;gd.jpeg_ignore_warning = 0
    ! b$ ?: |) ~9 Q# Q6 d: h4 h

  1690. , g% v1 p: x/ j# i
  1691. [exif]
      N' a: n4 I) ~5 L4 ]) k$ W6 x
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.# U2 \% B& s0 M0 t! ]3 R
  1693. ; With mbstring support this will automatically be converted into the encoding6 Q; V% F6 \4 B
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    & F" ^9 G& w9 e/ p  U6 P
  1695. ; is used. For the decode settings you can distinguish between motorola and
    + r3 z3 a- p' A
  1696. ; intel byte order. A decode setting cannot be empty., |. b/ ~1 Q1 R6 _9 V, `8 F0 U5 O
  1697. ; http://php.net/exif.encode-unicode
    ; |! e" d, L5 d- }' p: L/ R: p
  1698. ;exif.encode_unicode = ISO-8859-15& ~! w( b& W/ M2 Q! K! }: \. i
  1699. $ h8 j+ P# \% F9 P1 k0 [. N' P
  1700. ; http://php.net/exif.decode-unicode-motorola$ y! g, Q  w( }9 U/ p; {! h' V
  1701. ;exif.decode_unicode_motorola = UCS-2BE* {/ g; y/ n+ M$ T

  1702. % \" ?( r. J) {+ q( _
  1703. ; http://php.net/exif.decode-unicode-intel/ {8 h3 I: y2 _+ s! d* _
  1704. ;exif.decode_unicode_intel    = UCS-2LE1 [9 P5 y, V5 A% x+ n

  1705. - X! {' S2 l/ m; O
  1706. ; http://php.net/exif.encode-jis
    + {1 |. V. @, A. Y3 P6 |' c3 \
  1707. ;exif.encode_jis =
    4 [+ X7 g5 m! [  A
  1708. ' k( h9 r5 m3 _! J  I% `
  1709. ; http://php.net/exif.decode-jis-motorola  l$ [" _4 }- @1 S! C
  1710. ;exif.decode_jis_motorola = JIS
    % ~, }& y( [- X6 j- a
  1711. ! O" K3 c8 U, n$ j9 D, A0 E
  1712. ; http://php.net/exif.decode-jis-intel6 C, D+ [/ k6 V& B, A* a0 y
  1713. ;exif.decode_jis_intel    = JIS
    7 a& U0 _- w3 P6 J' u3 _* Z

  1714. 9 A7 ^1 @5 Y5 ^- [" M; \4 Y2 [. k
  1715. [Tidy]4 D# W& j6 N" j, h0 C
  1716. ; The path to a default tidy configuration file to use when using tidy7 u7 z3 v3 [/ B# M, N; i
  1717. ; http://php.net/tidy.default-config
    ( h" \0 ^1 {! X" p  w* C1 K
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg/ ?. C, y5 }, n
  1719. " Q  l9 s) u( t: }8 u
  1720. ; Should tidy clean and repair output automatically?( c1 T  G1 ]% a: c
  1721. ; WARNING: Do not use this option if you are generating non-html content, D% t# j( V6 b" v" F
  1722. ; such as dynamic images7 J# d; b& M8 Y7 B
  1723. ; http://php.net/tidy.clean-output
    ; `! t+ g7 q0 U2 ]  s) V* B) p
  1724. tidy.clean_output = Off
    7 x. j' W: a' n$ C0 A
  1725. 8 T9 Q& B( R2 `$ J+ d8 T6 Y
  1726. [soap]6 S" c( E2 m3 z
  1727. ; Enables or disables WSDL caching feature.
    7 J. H% L) e0 g- t
  1728. ; http://php.net/soap.wsdl-cache-enabled- ~1 N: ^6 c" B* y* O) \
  1729. soap.wsdl_cache_enabled=1
    ( B% X& D7 t2 X  D2 _" T% v

  1730. # A7 V6 C0 d# t
  1731. ; Sets the directory name where SOAP extension will put cache files.
    3 e; U( X* j" e/ \7 m% Y
  1732. ; http://php.net/soap.wsdl-cache-dir$ Q  L; Y' e' Z. H% r/ D8 b0 J- p
  1733. soap.wsdl_cache_dir="/tmp"; h8 n* a* _9 j7 M! T

  1734. 2 C# d; ?/ S- s# ^/ @, }0 k. y  Q
  1735. ; (time to live) Sets the number of second while cached file will be used
    ( N  ^4 o; I/ ~# o; P# a6 E
  1736. ; instead of original one.
      ~. S! P' {0 Z5 s' V1 J
  1737. ; http://php.net/soap.wsdl-cache-ttl
    9 a  h$ K, t8 w# F7 ~
  1738. soap.wsdl_cache_ttl=86400
    1 u8 c- x+ [# C
  1739. ' K/ j4 i/ D# B* ]
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)3 u. D! N' `" T0 m5 D1 k5 a5 g' w  b
  1741. soap.wsdl_cache_limit = 5. |* `! L' b7 C
  1742.   F" D1 d% R5 N  C) s# z
  1743. [sysvshm]/ c4 l3 s' l; I, a* A5 ^
  1744. ; A default size of the shared memory segment
    : V8 }  O5 \5 d/ e* b: @
  1745. ;sysvshm.init_mem = 10000# x2 l  I; h6 o% n4 v3 `
  1746. 3 e: }8 a2 \# `/ O3 {: e: r
  1747. [ldap]
    2 g+ b( L! D8 ?( a0 G
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    $ c4 ^  I0 b, P0 k' ?. H
  1749. ldap.max_links = -1, ^  |) [- z1 N2 ~; j; e8 P9 ~

  1750. , U2 u" t' m+ P. c
  1751. [mcrypt]
    5 g  Z6 q: m3 M# \! W8 z
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open1 O, T9 N& A$ {( R' ~" C( ]( E, g
  1753. : H( ~4 V' C  t/ K
  1754. ; Directory where to load mcrypt algorithms* f4 [! w6 }: h/ C" I
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    7 l7 v5 L8 k* k" z8 a! ^
  1756. ;mcrypt.algorithms_dir=3 v. w7 `$ r+ ~' y5 j) V8 x) d
  1757. & m9 n$ d! _1 p
  1758. ; Directory where to load mcrypt modes
    # a: z9 C8 J* g" _& Q: E4 _9 m' ?4 C
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt). |) u" F1 P' y4 }7 o# Q3 E, [: Z
  1760. ;mcrypt.modes_dir=
    , M6 x9 ]" X' }1 u' }" ]( x

  1761. 3 H' X( q- c2 }% n, ?9 U- U( H
  1762. [dba]
    % U" U3 o, D9 I7 s6 i3 I+ r
  1763. ;dba.default_handler=
    7 A' D% C$ m, ^* D+ N9 k
  1764. ; n- Q8 M3 c* Y$ F
  1765. [opcache]
    & r, I7 i; R9 P* O: p/ G2 n1 _
  1766. ; Determines if Zend OPCache is enabled
    0 B& s  W( t9 I% C
  1767. ;opcache.enable=0
    $ E7 [: c& ?5 }; o/ b% k# N
  1768. ' @, w8 e& I# F5 c" x! ~
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP8 ?7 B" T! @: G& u$ F: o* X- F
  1770. ;opcache.enable_cli=0- j1 Y$ z) Y; S- K& b) y
  1771. # p7 a& `" u- Q8 Q
  1772. ; The OPcache shared memory storage size.; I& E( I6 Y  N: i2 s
  1773. ;opcache.memory_consumption=64. s! X. `5 \  V, ^
  1774. 6 m( J7 L. {6 {' u6 H
  1775. ; The amount of memory for interned strings in Mbytes.2 d- K% ?& Z8 N. ]) L
  1776. ;opcache.interned_strings_buffer=4" X0 Z, W6 h* W; X" F. j' b
  1777. , r7 h" r, l+ Y% m
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.% }3 z& \2 F9 B
  1779. ; Only numbers between 200 and 1000000 are allowed.- g& a/ `' u" C3 V, b$ J# P
  1780. ;opcache.max_accelerated_files=2000  n: c& ]0 n3 L- W3 D
  1781. # q% C4 U# b) R% c2 Z
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    0 u; \0 C2 H2 n" e4 ^7 E
  1783. ;opcache.max_wasted_percentage=5
    ) B4 @! l7 G6 O0 ]! s% J$ ]

  1784. * A# u* ]6 ~$ m4 r6 S
  1785. ; When this directive is enabled, the OPcache appends the current working* n2 }8 y4 `+ U6 ~5 x, h
  1786. ; directory to the script key, thus eliminating possible collisions between' N1 d1 K( M4 ^
  1787. ; files with the same name (basename). Disabling the directive improves
    7 f3 L4 K# h$ y  `# O0 T6 A
  1788. ; performance, but may break existing applications.5 b4 b: L6 Z9 l- x7 [
  1789. ;opcache.use_cwd=1! Y7 B2 [& n0 f6 [
  1790. 2 X4 S; @: J1 w! p1 G4 w* b; I
  1791. ; When disabled, you must reset the OPcache manually or restart the5 e9 S7 ~3 x) e: F5 S" B
  1792. ; webserver for changes to the filesystem to take effect.+ p( \. B2 f" o
  1793. ;opcache.validate_timestamps=1
    : d" Y6 }$ Y! k: P5 V
  1794. ! d& U: Y. ]2 j; p
  1795. ; How often (in seconds) to check file timestamps for changes to the shared. N9 M9 c* k5 u; }$ n8 b5 U- N" v
  1796. ; memory storage allocation. ("1" means validate once per second, but only0 f" u& o1 N7 P+ V9 @
  1797. ; once per request. "0" means always validate)* V0 N4 d& l$ h# r. u( x1 U* ]0 o
  1798. ;opcache.revalidate_freq=2
    : O  f( U, X( w! R# f1 @6 [

  1799. . T) L# `3 M8 p. u$ ?
  1800. ; Enables or disables file search in include_path optimization
    , C0 t6 }0 \2 I$ L
  1801. ;opcache.revalidate_path=0
    ! W7 _- I. Q5 I) W  r, y1 N9 `
  1802. 7 X  g7 G. C9 |5 [& ?
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ! Q" U. h- w- f0 A
  1804. ; size of the optimized code." M& n+ S+ W% Y" W
  1805. ;opcache.save_comments=1
    6 N  w- o) E9 L6 m7 k5 e1 o; f
  1806. 0 E' @3 i. d1 r; |: e% b
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code5 T9 c1 P3 ~& L( @- T
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.: P6 ^! m1 b" t1 P* Y1 Y( j
  1809. ;opcache.fast_shutdown=0
    + y# Y/ G, P# H$ q3 A2 [

  1810. * g' q, P# T# h8 k4 v" i
  1811. ; Allow file existence override (file_exists, etc.) performance feature.& Z' ~% y8 m$ y1 c% l4 H3 e
  1812. ;opcache.enable_file_override=08 D; u0 b) o  g: |$ W

  1813. * Z; h' Z9 Z5 D
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    / _1 w) h4 p; q$ q- W9 L( d
  1815. ; passes
    . ?) ?, o; B3 p3 f
  1816. ;opcache.optimization_level=0xffffffff$ s% Y6 X9 \) q" B* Q# T# L

  1817. 5 n; Z/ Y$ C" }" P; @- f; |  j
  1818. ;opcache.inherited_hack=14 d) ?. T& i9 o1 {$ H; O
  1819. ;opcache.dups_fix=0
    5 U5 t3 `6 c: E! y5 b
  1820. 1 u/ Y! V- g0 B
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
      S& B+ U. ?" c; @8 S  u4 Y+ @6 c
  1822. ; Each OPcache blacklist file is a text file that holds the names of files" s& r+ {3 z0 K  F" O( ?9 h
  1823. ; that should not be accelerated. The file format is to add each filename4 @$ Y# ~& x4 {* `
  1824. ; to a new line. The filename may be a full path or just a file prefix9 E+ }" Q; y/ ~
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www7 I) A% g4 C  p
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ) ^% i( b# p4 X4 F& ^1 u7 A
  1827. ;opcache.blacklist_filename=
    1 D6 |4 f. q- f5 I+ j0 s

  1828. 5 ~" {5 Z5 v. p7 u9 F3 T
  1829. ; Allows exclusion of large files from being cached. By default all files3 z; w* \: h3 y5 E4 Z
  1830. ; are cached.' \, S9 z) |; ^
  1831. ;opcache.max_file_size=0  H( u7 A! W  l, F7 H
  1832. & X  y9 v  W9 F8 E1 N1 a
  1833. ; Check the cache checksum each N requests.
    & ^: X7 m; T8 A; V$ W. Q2 n
  1834. ; The default value of "0" means that the checks are disabled.; i* k6 \7 c' y% D
  1835. ;opcache.consistency_checks=0: ~0 y' D7 F/ V3 c( |( G

  1836. ) U1 e6 I+ z. N0 r: W, F# b1 y
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache" \9 I4 I4 {1 T  ]9 ?
  1838. ; is not being accessed.1 k9 F2 R7 k8 y
  1839. ;opcache.force_restart_timeout=180% I# f" _& [- R; @
  1840. " z, p, s3 F& b7 q5 X
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    & Z9 J' a+ y( ]" z. v" K
  1842. ;opcache.error_log=
    ) e$ e9 w) }; b  {

  1843. 6 {2 Y! |1 u' q5 t" K; Y
  1844. ; All OPcache errors go to the Web server log.
    . S# v' k; {7 I0 d) U
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    1 o5 T+ y& a: a4 k  a8 s. z* R
  1846. ; You can also enable warnings (level 2), info messages (level 3) or; U+ M. `' ~' T4 a7 O$ }
  1847. ; debug messages (level 4).
    " |5 d* l" n& L: v- \( g
  1848. ;opcache.log_verbosity_level=1, b) M8 c6 c* z9 v6 F

  1849. " J+ T* ?" k0 U) f& `" c3 m) K" C
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    + F0 a- o7 Q* A: S" a
  1851. ;opcache.preferred_memory_model=. E$ h. E8 [( K% [, @

  1852. : ^6 f, a7 ]3 G! H. J+ V4 T
  1853. ; Protect the shared memory from unexpected writing during script execution.
    , O( d2 u- A0 Y. q1 R1 A3 R
  1854. ; Useful for internal debugging only.* i; p6 v: v/ P2 ^- ]! s0 {( z
  1855. ;opcache.protect_memory=0
    $ v3 U7 M: E) x- J) B6 U

  1856. 9 J+ m. A, R6 s# \* W
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    7 _9 j0 C% ]: B
  1858. ; started from specified string. The default "" means no restriction4 ^# m5 P  u' S" R8 e6 N7 m. e
  1859. ;opcache.restrict_api=
    & i% ]- j/ p+ l) f+ S' X" N/ ~; b5 ]

  1860. . s; Y% b3 Q7 }! u7 F
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP4 F) v4 Z  j& V5 b
  1862. ; processes have to map shared memory into the same address space. This- \- J2 [, R8 P' {
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    + w: b6 n' B# z' @. Q: L# \
  1864. ; errors.
    / v; S: H9 G# ~3 ^* w6 R
  1865. ;opcache.mmap_base=
    9 b5 d9 V2 f) h

  1866. 4 [3 f- K: I4 X( A5 ]6 N
  1867. ; Enables and sets the second level cache directory.8 x. p- E  |; |! T+ V- f9 F% W
  1868. ; It should improve performance when SHM memory is full, at server restart or3 r/ G' I3 @' L" E% P5 m
  1869. ; SHM reset. The default "" disables file based caching.
    9 S( Z% `4 w5 S5 C, W" I
  1870. ;opcache.file_cache=$ L* ^3 F/ p+ c0 a7 Y
  1871. & y9 [. F, I, N7 I3 c2 t9 H, b5 y
  1872. ; Enables or disables opcode caching in shared memory.
    # v% n  m9 i9 v8 q0 L
  1873. ;opcache.file_cache_only=0
      E- c' Y; n1 I; P8 o6 c' v- A0 P$ I

  1874. / @* W7 r: |, b* J9 V- [: O- p
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    . D" H3 q2 ^0 S& {
  1876. ;opcache.file_cache_consistency_checks=1
    # v5 J- g. N% H2 E% c

  1877. + E6 H' F6 {' l0 h# K7 w- [9 ~" N
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to1 o! \' S. O, G" j
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file4 R( E; ?7 N8 ^5 A: P
  1880. ; cache is required.
    . b, I& f: A5 x0 F
  1881. ;opcache.file_cache_fallback=1
    ' q7 u2 l- o0 `  n

  1882. 0 m* A) `% f6 H6 _* g# x
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    # I. G- ]: R. z7 J- t
  1884. ; This should improve performance, but requires appropriate OS configuration.
    2 y$ H  e, m$ m( _+ Q
  1885. ;opcache.huge_code_pages=1
    , P0 Z* U! @' V
  1886. 7 B; J; o+ c# v, P) e% t
  1887. ; Validate cached file permissions.
    - U0 v6 N$ i% z3 S7 t" `6 |' v! g) s
  1888. ; opcache.validate_permission=0
    9 u; E! C0 W7 S* E
  1889. ! G$ h% N* P4 e6 {% O" C
  1890. ; Prevent name collisions in chroot'ed environment.- U  I* \& y/ V4 e' j0 ^
  1891. ; opcache.validate_root=0
    0 F! B4 R6 k3 b/ q0 M# {# ^9 d
  1892. ' O  c5 B% p+ ^9 Z6 z& I6 C) @- J
  1893. [curl]
    ' o' \6 M" H7 b; x  T5 @% P
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ! }& t" f9 L& @
  1895. ; absolute path.
    / @3 N/ E0 g1 p2 `) X8 o
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt2 b% d& b9 @4 {* [4 Q
  1897. 2 m; `$ H( ?! [; n
  1898. [openssl]. E% O/ a/ U2 g# H: s
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem2 {% h" g- `' x' h5 I1 |0 b
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should5 `, x) ^+ S1 u: I
  1901. ; not specify a value for this directive as PHP will attempt to use the: u: h# B; K" s! Q
  1902. ; OS-managed cert stores in its absence. If specified, this value may still* r) h+ N/ Z6 ]& ]) v
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context7 ]. W- I2 W! T3 K' ?6 D
  1904. ; option.
    1 `. \6 A6 t+ N: I0 o6 [
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    " y  s4 K3 x1 |) ?0 R
  1906. 7 e- D! h! N2 M. f; t; L! J, G  \
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    ) @& p  m, e7 k& Z0 H/ _# S
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    - C/ T9 |. j4 D. T* t
  1909. ; certificate. This value must be a correctly hashed certificate directory." S. j+ j9 [+ L! i; C; d/ g& A0 [' _# P1 _
  1910. ; Most users should not specify a value for this directive as PHP will
    $ N) w  |# T4 _/ J; u
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,8 B5 X6 e# `, v
  1912. ; this value may still be overridden on a per-stream basis via the "capath"9 k5 f; `. S0 ]9 W
  1913. ; SSL stream context option., M; A8 Y! i, |1 b* X5 o  u; I: g: _7 z
  1914. ;openssl.capath=) Y6 {0 K3 m' m2 n# z* Y
  1915. * l$ w# W. ?+ S9 C
  1916. ; Local Variables:
    ( i. H' R' y/ P- _& ?$ Q" ^6 D
  1917. ; tab-width: 4
      Z. I* C! o) T6 B- D
  1918. ; End:+ {$ i" b* B  B
  1919. " ?  O. T8 e) E6 }' O- ^$ U+ `
  1920. ;eaccelerator) \3 F: p6 w7 Q4 t; ]3 J' [
  1921. 2 D* r: t1 F( ?2 f! N; Z
  1922. ;ionCube
    : D) m1 D/ J( C; h. z0 x" m& N

  1923. 2 H! r2 O: }8 ]* U7 x) W
  1924. ;opcache
    + ^5 W: F2 r2 ]! d/ e+ {

  1925.   B) j4 R  E( G8 _  v7 ~. P
  1926. [Zend ZendGuard Loader]8 U; R+ n  Z, H; S5 [* j$ a
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    # A+ w% C' b: R6 J% g
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so. W. q. q8 [8 d3 _
  1929. ;zend_loader.enable=1% D# i- S7 C* a! M
  1930. ;zend_loader.disable_licensing=0
    + J7 O$ T8 _, r5 v" c
  1931. ;zend_loader.obfuscation_level_support=3
    9 w+ F+ U- K- t: d
  1932. ;zend_loader.license_path=6 T6 B2 |: V& x' d0 m1 N/ T+ s

  1933. 5 ]9 w: M! T3 X2 x$ A% j) W  ~" G) d
  1934. ;xcache
    : H- ~% D3 {8 p3 k! j; y* Q
  1935. & S! ]& e/ x" l' d4 d2 V* s
复制代码

" p7 S0 ?9 J5 M
4 E8 _. a3 S4 Z; ^
9 N, C8 b( `2 F" F2 p4 j) a8 ?$ z# ~
1 ^3 L% c2 V7 `2 A. V" l

4 U; {0 N, ^  I
, @) N5 A2 f3 ~PHP5.6版本原始设置3 B, }0 A: ?' F1 w( b: j2 U% o
5 D+ q+ ]$ U' `2 U3 p: j
  1. [PHP]# Z% I8 `) u$ Y0 @

  2. ; |9 Q+ u# f% g- ~; |. e
  3. ;;;;;;;;;;;;;;;;;;;
    0 C" u7 S& U8 N" u- ~8 q! R
  4. ; About php.ini   ;  c& r* s; n( F7 s" h2 f
  5. ;;;;;;;;;;;;;;;;;;;
    ) ^3 }, x: s, p
  6. ; PHP's initialization file, generally called php.ini, is responsible for0 Y( [* G5 F2 {) Q0 z  \7 t9 l# r
  7. ; configuring many of the aspects of PHP's behavior.0 K7 ~' B# S; U9 H8 I4 j
  8. ) I4 z/ Z& w6 A
  9. ; PHP attempts to find and load this configuration from a number of locations.
    2 }8 f+ U5 E: t
  10. ; The following is a summary of its search order:
    . S0 k4 V4 w1 b8 S- s. O
  11. ; 1. SAPI module specific location.# J2 c) s$ I$ k( F) A
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    . ]+ [. [! V/ n- z, O" ~
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    / n0 k4 L, V  n; _- r  n, Z
  14. ; 4. Current working directory (except CLI)
    : L* Z1 G- G" |, `
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP0 m. C& X! W4 l9 L. N
  16. ; (otherwise in Windows)
    8 ]  _$ a' D) B8 y: w6 @% `  x
  17. ; 6. The directory from the --with-config-file-path compile time option, or the& P* c8 k9 y( b9 h
  18. ; Windows directory (C:\windows or C:\winnt)' h- B6 ]- p( V% ~$ f
  19. ; See the PHP docs for more specific information.$ u, P6 D: D) z
  20. ; http://php.net/configuration.file
    5 b( A3 V% q$ |- [( a
  21. 6 p) Q7 y' s' \% i1 k* u
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    5 [2 i' i! y! ?5 n6 x, }
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    " M1 h7 c7 `; K
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    1 a8 E9 S) a  f8 }" ~0 d3 }
  25. ; they might mean something in the future.
    3 f0 n( R% b" ]7 H* ]: F5 k
  26. 7 E, q, F+ v9 W, r+ v' G
  27. ; Directives following the section heading [PATH=/www/mysite] only
    % _$ ~1 h! P' K9 o3 E
  28. ; apply to PHP files in the /www/mysite directory.  Directives! Y9 }( n2 }4 f. q
  29. ; following the section heading [HOST=www.example.com] only apply to. h1 R: ?. g* j7 O
  30. ; PHP files served from www.example.com.  Directives set in these
    2 @5 d( a$ C$ ~! A- ]6 R
  31. ; special sections cannot be overridden by user-defined INI files or
    3 S# k  i" z, }, H% H- M
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under1 V$ w; P9 s1 j
  33. ; CGI/FastCGI.! F5 E, e7 T: G
  34. ; http://php.net/ini.sections6 U; E" m: t; C( n  [

  35. 9 g1 q. A: y, W* C+ S+ B) L( L
  36. ; Directives are specified using the following syntax:
    , |# ^/ O3 d7 ~9 l, m7 H0 p
  37. ; directive = value
    ( N' W& ]' \8 O
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    . i& X1 O* D8 ]
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ( F/ R% |6 i( n( r3 z
  40. ; There is no name validation.  If PHP can't find an expected  l1 c* u' V* @& S
  41. ; directive because it is not set or is mistyped, a default value will be used.  k: A7 |' g0 D3 Q. [

  42. 2 c. S, p, p5 N* C. z( U
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one* ^! t* u8 f" h: y' s0 L) |
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression& C" T/ [; z8 h, w  d0 P% v6 |2 s, W
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    / V5 E$ C/ O. F4 Y* L
  46. ; previously set variable or directive (e.g. ${foo})! e8 ~, @9 E4 z0 M& D4 u
  47. - x  ]* H& L% g$ B  O3 i/ M
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ! Q/ z8 X. E# M$ L" S$ }; q' s+ e
  49. ; |  bitwise OR
    9 S/ r% R2 e1 L" e  x- w
  50. ; ^  bitwise XOR. \) i/ C6 T: c: l0 G
  51. ; &  bitwise AND" [1 a0 a# u0 O7 {5 E1 @
  52. ; ~  bitwise NOT
    , X) ^0 m9 O3 a% Z$ H
  53. ; !  boolean NOT
    3 j. F+ h4 J6 ~8 m

  54. 5 [2 E% z$ j* u5 A: G; }
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.: i, v, }7 o! O% Y# s7 s/ k9 Y
  56. ; They can be turned off using the values 0, Off, False or No.
    * x( I; ?2 ]  D( U
  57. + [7 t6 d( R& W& ]
  58. ; An empty string can be denoted by simply not writing anything after the equal( A# _% m5 V4 B/ [. f
  59. ; sign, or by using the None keyword:% \* a# s0 _7 p% B" s
  60. 7 k1 n5 v* G# V: `( ?6 }
  61. ;  foo =         ; sets foo to an empty string4 R" f; x. h6 N& C
  62. ;  foo = None    ; sets foo to an empty string# H- A1 o& Q+ y' g# M
  63. ;  foo = "None"  ; sets foo to the string 'None'% z( U9 g; S: v* q4 _

  64. ) _4 A5 x9 i  e) t
  65. ; If you use constants in your value, and these constants belong to a
    $ F: C7 s9 ^4 D3 o1 [
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    8 _) m. x+ u3 Q# D! R1 |; }+ f
  67. ; you may only use these constants *after* the line that loads the extension.
    5 E+ `4 x5 ~" V" P" {- _

  68. ; I$ v. \& r2 R! v. ^" \) {
  69. ;;;;;;;;;;;;;;;;;;;" `2 F5 t: L+ q. C. w
  70. ; About this file ;
    ' C% u+ Y: v6 M$ [
  71. ;;;;;;;;;;;;;;;;;;;* A  I+ |2 J' |4 O+ H# N/ G) w
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    : F7 ?" Q9 h* @% g& A$ |" D
  73. ; in production environments and one that is recommended to be used in  e4 v# ~4 O4 {8 o6 `3 N
  74. ; development environments., }1 k0 H: Y: i- E9 r

  75. 4 L3 E; y1 \8 X4 @( n' D
  76. ; php.ini-production contains settings which hold security, performance and
    $ F/ a; ~9 V* o3 h9 \: c
  77. ; best practices at its core. But please be aware, these settings may break# M/ z* l1 _, n' }
  78. ; compatibility with older or less security conscience applications. We  x& C. Y2 `4 U
  79. ; recommending using the production ini in production and testing environments.. Q" Y& |( ?8 H6 E5 H8 V

  80. 9 C( l7 E, a5 p- f- @
  81. ; php.ini-development is very similar to its production variant, except it is2 Z  w' Y" I) q1 h
  82. ; much more verbose when it comes to errors. We recommend using the
    & ?2 W' f; }4 G' t. x' }
  83. ; development version only in development environments, as errors shown to: O+ r2 W7 x/ U0 T6 ~9 F
  84. ; application users can inadvertently leak otherwise secure information.  t3 h! _, C3 F# {) D
  85. - U- O+ H9 R  G" [: ^: H; c+ Q
  86. ; This is php.ini-production INI file.
    ( y( t% B# ?# s1 s; V
  87. : T) q, A* w9 ?0 |' k, i" O6 t) {
  88. ;;;;;;;;;;;;;;;;;;;7 D5 p9 `8 K/ }: t: n- q
  89. ; Quick Reference ;% @# d9 ~7 ~4 P  D
  90. ;;;;;;;;;;;;;;;;;;;
    ( O) L7 J. i/ j& H7 L
  91. ; The following are all the settings which are different in either the production8 _& z; q, N$ Y, }) @2 T4 a) m
  92. ; or development versions of the INIs with respect to PHP's default behavior./ }% A+ ^1 q& b7 R9 l/ }9 Q
  93. ; Please see the actual settings later in the document for more details as to why
    4 L& G7 c6 n% \4 p6 |, n- b# v
  94. ; we recommend these changes in PHP's behavior.- ]( u: \0 B, N) k0 R" c% I

  95.   {" ?! I' [0 ~
  96. ; display_errors6 K( I' f$ Q9 ]! H( o' l# i* V
  97. ;   Default Value: On8 Y; S! c4 k! b* C. r
  98. ;   Development Value: On& s7 S* Z; c( t
  99. ;   Production Value: Off/ K" z+ q: F5 {% {

  100. 1 T3 `2 s4 R, X2 x
  101. ; display_startup_errors: O+ k; I4 Y3 m& H) z
  102. ;   Default Value: Off) k! n9 d; ~0 Q$ N3 V
  103. ;   Development Value: On2 M2 D& }% U! R7 Y, {
  104. ;   Production Value: Off
    - `: ?  R. X: ^& {0 a

  105. 3 V4 U: M8 m1 x/ M; i$ N7 J% F
  106. ; error_reporting
    # q$ j  W5 u: C7 A# a
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    % p' W. q/ k6 Q" f# D. _
  108. ;   Development Value: E_ALL
    " d! k# f; n3 C2 i2 N
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    * t, B% _1 G! t

  110. 4 ]7 b/ ?; s6 m* m
  111. ; html_errors* ]. E9 c3 S! _+ b+ o  W# K& ]
  112. ;   Default Value: On
    ' M; s% _5 ]& B: k, K# |; t9 l8 M
  113. ;   Development Value: On& Q! L# J9 ?( E; K# u
  114. ;   Production value: On  ]6 o2 M! H$ r- T8 \

  115. 4 N# e3 G1 F9 r& b) D) U% N
  116. ; log_errors5 Z" E$ q5 i( Q4 c
  117. ;   Default Value: Off
    # Z: K1 P5 e' i- {* C/ w  D5 l: v
  118. ;   Development Value: On
    / I% k+ d$ D: x& D/ H
  119. ;   Production Value: On+ S7 C) `7 n# c; c" T% k4 M

  120. - k, L! y- s; k+ n8 j0 C
  121. ; max_input_time
    , n7 p# N! \4 f" x* m5 A' Q
  122. ;   Default Value: -1 (Unlimited)
    6 m7 K$ q, M* ~. m  b
  123. ;   Development Value: 60 (60 seconds)
    " I# L; T% O5 g. ^! X" f  {
  124. ;   Production Value: 60 (60 seconds)) w: S" m& X- v7 D! O) S

  125. # {6 P* m+ M& c  G# D
  126. ; output_buffering
    4 \( d; S. j+ ?4 ?& @, n# x
  127. ;   Default Value: Off
    : d+ D! W7 u! ]& z# n- ~5 A
  128. ;   Development Value: 4096
    + o% C. v! _  }5 Z, w# j2 ^1 C
  129. ;   Production Value: 4096
    + l$ `3 ?& U: g" H- L

  130. 9 O( M7 ~: G* Y. g
  131. ; register_argc_argv
    $ R6 {. z. h+ w' b' ~) Y8 w# ]6 A
  132. ;   Default Value: On3 j; z: E! j  y+ D( {0 `1 ]3 e
  133. ;   Development Value: Off6 r3 c0 s2 w$ r1 B1 z, D  }
  134. ;   Production Value: Off
    $ O& I/ Z9 c5 E' ~% V9 M1 T4 q
  135. # R+ @5 g2 V  S" o
  136. ; request_order0 u' @( \+ u; @  }1 z: `* l
  137. ;   Default Value: None
    9 m# B6 b3 f# c  `
  138. ;   Development Value: "GP"
    3 ^4 m! q, R' ?4 T3 o3 l
  139. ;   Production Value: "GP"  O/ m1 W' O' e1 J/ z7 V

  140. " U' w' o1 q2 t7 z& B5 j
  141. ; session.gc_divisor+ }( }5 |" ]6 I
  142. ;   Default Value: 100
      f5 i) M: N0 E2 |5 _
  143. ;   Development Value: 1000, m' L3 B: d6 r8 }3 ~& Z$ Q
  144. ;   Production Value: 1000
    - H; ?- |  r. `+ {. V2 q1 c, ?8 @
  145. $ W7 Q; q- @) Q0 x9 j3 |, M
  146. ; session.hash_bits_per_character
    4 h4 U: T% e; E+ n2 l/ ~: b% ?
  147. ;   Default Value: 4- |6 P$ v0 C4 \  T/ H! d
  148. ;   Development Value: 53 c5 F) ~" p  V7 P  _' d) M
  149. ;   Production Value: 5+ ]$ e" V( t. e. s7 z4 g
  150. 8 _/ o1 |8 N/ Y* w0 x" |# X% P
  151. ; short_open_tag
    0 \2 t; n; e, s
  152. ;   Default Value: On
    2 Z5 ^# h* P% W4 |3 r$ O" I
  153. ;   Development Value: Off
      W7 \, @" f3 ?
  154. ;   Production Value: Off
    4 F4 Q7 {" T3 h) }; k+ P
  155. 8 [7 ^* U  j+ j3 Z/ ]( p/ k
  156. ; track_errors
      J# d( C6 B  i6 ]6 s$ B
  157. ;   Default Value: Off
    # z' O4 v6 m. g: q5 ~' x
  158. ;   Development Value: On
    : p& _* Q- W% s4 A; z9 H+ i
  159. ;   Production Value: Off
    9 O' `5 ~- r) c4 B$ s/ a
  160. 2 E& a7 o, e$ Q
  161. ; url_rewriter.tags
      X( Q& q  W" y! I) f" P# G, s
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    & S7 b* R7 B# X( m8 x+ I* z& L5 H' j( A
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry". M( X; f0 p! I- ~! u
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* G% U' }4 x: R" J) q; E
  165. ( W' g- E" p, \' q
  166. ; variables_order
    % r+ r- i  T# q1 [& W
  167. ;   Default Value: "EGPCS"
    ) d  h. T( U5 F$ I
  168. ;   Development Value: "GPCS"" z# S% j! W& Q0 n$ _* J
  169. ;   Production Value: "GPCS"
    $ V& Q9 Q/ ]) U% }4 a% j8 \
  170. ; i3 V! C$ s  \. s  q
  171. ;;;;;;;;;;;;;;;;;;;;, y( u) H4 _  P# U
  172. ; php.ini Options  ;4 K. N$ ^* X0 U$ {+ o; J# n, Q& n
  173. ;;;;;;;;;;;;;;;;;;;;" d& _& q' Q; n* Y6 z2 q
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini": V% a8 `5 |3 {- x' B! a2 s/ g
  175. ;user_ini.filename = ".user.ini"
    ) z( W) x: K! @4 F9 @% [

  176. . b* a- @2 Q/ D# c% `) n
  177. ; To disable this feature set this option to empty value
    ; L0 [4 @# Z9 |) t7 a; g# K) q
  178. ;user_ini.filename =
    ( u1 x0 n1 a3 F

  179. % ?  A+ G9 j- P. Q2 P
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)9 l+ c7 d& p8 J
  181. ;user_ini.cache_ttl = 300, n- L  e) ]. G) d  l. b  E9 A
  182. + I4 z. W# g: p' h7 p
  183. ;;;;;;;;;;;;;;;;;;;;
    " s7 ?, O! ]2 E. j& G; X
  184. ; Language Options ;
    ( S  |5 c' z: l: g
  185. ;;;;;;;;;;;;;;;;;;;;) x9 \& a" `# ?

  186. + D7 w; |/ d/ L5 H
  187. ; Enable the PHP scripting language engine under Apache.! J) M9 K+ q- T7 h+ ]5 ~
  188. ; http://php.net/engine
    " r5 k4 x* x7 F6 ]# G9 P; b
  189. engine = On( z( @+ A, T0 Z# `$ e& q" I' H

  190. 6 V% K& s- I2 u5 K
  191. ; This directive determines whether or not PHP will recognize code between
    ) x7 W8 e3 c6 i$ d: P, `
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    * }/ r. ^5 p& W$ G+ S
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ! u% K* u2 ?6 V/ X, [6 p2 d, d
  194. ; should be disabled, as enabling it may result in issues when generating XML
    9 L3 A4 t6 }1 Y( g; A3 z: m- u+ t
  195. ; documents, however this remains supported for backward compatibility reasons.
    1 ^2 ~% i8 ?/ s$ o6 [
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    . d1 i! t5 {. G7 C" Q; a- B% U
  197. ; used regardless of this directive.% w: N* B: C1 g0 S6 U
  198. ; Default Value: On
    3 R; h  k0 W0 c$ k
  199. ; Development Value: Off
    8 V# \. V& [2 U) c* Y" g
  200. ; Production Value: Off3 z( f, k7 s6 K2 O. `3 l
  201. ; http://php.net/short-open-tag
    ) K, _6 {( r& H9 \
  202. short_open_tag = On% U3 m4 q% \- r' A

  203. / F3 b/ F; e' }
  204. ; Allow ASP-style <% %> tags.
    & [' Y5 d2 ~5 t' E9 d
  205. ; http://php.net/asp-tags+ h% T& t/ W- G* h% J; j
  206. asp_tags = Off
    & B2 \+ K1 ~( q/ i! I
  207. * |$ p  c2 I* s2 R
  208. ; The number of significant digits displayed in floating point numbers.
    - C- Q3 i! @+ o4 m# P# q+ l, k. Y
  209. ; http://php.net/precision: i% U  x: V& z( d
  210. precision = 14
    7 U7 p0 \$ j" r4 q/ j" W
  211. 5 d: \9 C" y) L6 k
  212. ; Output buffering is a mechanism for controlling how much output data
    3 ^# ]5 a5 i# O% Y+ ?( o$ ^
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    $ Y  ]- P2 |8 Y: x- @
  214. ; data to the client. If your application's output exceeds this setting, PHP
    " e) A0 z  d+ `' D5 |! P4 V* w
  215. ; will send that data in chunks of roughly the size you specify.
    : w5 e: t3 o2 [9 o
  216. ; Turning on this setting and managing its maximum buffer size can yield some8 ~: A, @9 m0 C6 J+ C' m
  217. ; interesting side-effects depending on your application and web server./ `, i& o: I& o" o
  218. ; You may be able to send headers and cookies after you've already sent output0 N$ r4 B! [$ o$ ]# R
  219. ; through print or echo. You also may see performance benefits if your server is) }5 S: A" e% ?0 `/ q4 d' [: x
  220. ; emitting less packets due to buffered output versus PHP streaming the output$ ~* |5 ]3 y5 N3 T+ a2 }3 S
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    3 Y3 R% t  ]: q  O& i$ c' u
  222. ; reasons.6 ~* x$ I+ a, b) Y  ?
  223. ; Note: Output buffering can also be controlled via Output Buffering Control2 x& C; ~, t# z& C0 \; z$ P
  224. ;   functions.
    ! {; P" m7 t; X6 ]0 U. j; g
  225. ; Possible Values:
    5 @( q. K. t$ ?3 h. z
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)  G5 u" r$ G2 O7 I& R! i
  227. ;   Off = Disabled
    8 K( x# M) \8 U+ T+ h; I9 z
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes./ y/ C- ~6 |) N% S3 p
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; f, Y" M0 O: j! U/ e
  230. ; Default Value: Off. {9 _0 g: L( P' m4 s7 @
  231. ; Development Value: 4096
      l6 S  A$ e* d
  232. ; Production Value: 4096
    $ H' s7 l! L5 }% y6 g2 n
  233. ; http://php.net/output-buffering: S& d1 K! T, n3 q9 f
  234. output_buffering = 4096
    * p  S0 G) U' h, X$ W0 A' f
  235. 6 r1 Q! Y; j" z7 B
  236. ; You can redirect all of the output of your scripts to a function.  For
    : k9 q& c" G0 i# T* j8 l& t" [9 z
  237. ; example, if you set output_handler to "mb_output_handler", character
    & S2 t0 R. n8 Y  }7 f" e" T5 I# @- _
  238. ; encoding will be transparently converted to the specified encoding.
    . I0 H( o* P3 b' R& [/ ?
  239. ; Setting any output handler automatically turns on output buffering.  k5 h$ c( r+ L0 r$ W+ J' @
  240. ; Note: People who wrote portable scripts should not depend on this ini
    , ~% I, n+ A6 `, n
  241. ;   directive. Instead, explicitly set the output handler using ob_start()." b: O% _2 G4 e8 ~* b, R$ M5 a
  242. ;   Using this ini directive may cause problems unless you know what script
    % j; M7 W9 ]- r3 u1 g
  243. ;   is doing.
    . |$ D' ]% x4 {; ^  ~" B
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    " H. a: I5 E/ ]! _; M
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    + y% K0 W1 p2 r  q& F
  246. ; Note: output_handler must be empty if this is set 'On' !!!!: [* M7 U% I/ z( V3 f
  247. ;   Instead you must use zlib.output_handler.
    5 {& I% k: y3 H6 d
  248. ; http://php.net/output-handler
    : q3 ^9 ^- p' `5 ~
  249. ;output_handler =1 n+ @' h( @" R7 L, L

  250. 7 [, L+ G2 ^7 n7 r
  251. ; Transparent output compression using the zlib library) F+ I9 t+ @" V! W9 v6 _9 g' u% a' b# h
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    3 W. K9 B: C- a
  253. ; to be used for compression (default is 4KB): }* Q4 j4 z' A5 J
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ' z; m0 Y4 ~4 g- X' D3 _. w
  255. ;   outputs chunks that are few hundreds bytes each as a result of; F8 ^# i8 M' `* K0 f0 H, z' ^
  256. ;   compression. If you prefer a larger chunk size for better( ]' _  ~* b% J: F
  257. ;   performance, enable output_buffering in addition.
    ( t% y; _. U  Z1 t; S. `3 C
  258. ; Note: You need to use zlib.output_handler instead of the standard
      L# _5 W, A- z) B& \6 A
  259. ;   output_handler, or otherwise the output will be corrupted.
    + D9 X) L9 i8 O+ p% g
  260. ; http://php.net/zlib.output-compression
    ! D: J5 y, o& a0 Q
  261. zlib.output_compression = Off2 L2 k. {# d' a4 Q

  262. ; }& a7 B6 H$ b# M( U8 O
  263. ; http://php.net/zlib.output-compression-level
    . r0 I0 `, h& @+ v7 Y$ P; p+ G% c2 S
  264. ;zlib.output_compression_level = -1, G. [+ j! p7 W  Q0 Z
  265. 7 Q- o4 U0 G7 f; N* j& p; X. d
  266. ; You cannot specify additional output handlers if zlib.output_compression  s) U" Y8 t& P& o, _6 i/ `; c
  267. ; is activated here. This setting does the same as output_handler but in" L6 o- Z5 b; b0 N
  268. ; a different order.
    ' v! H0 C. G! l! y0 r/ S
  269. ; http://php.net/zlib.output-handler
    5 M! C$ m, i' S0 }4 }! P8 k; v" {
  270. ;zlib.output_handler =
    6 Z# |' u: R; d( y& t0 V
  271. & h; }5 M) ~- g* z
  272. ; Implicit flush tells PHP to tell the output layer to flush itself% E: W" i3 m% P8 [- P& [$ z
  273. ; automatically after every output block.  This is equivalent to calling the& N! m+ {- n- `: b
  274. ; PHP function flush() after each and every call to print() or echo() and each- ?! X( ?: d  v! }
  275. ; and every HTML block.  Turning this option on has serious performance
    0 T0 l# L+ {) f9 V
  276. ; implications and is generally recommended for debugging purposes only.
    : O: `% E- ]) V& a' _2 p: i, G4 _# L
  277. ; http://php.net/implicit-flush6 \, R$ ]1 r9 l$ ^& \* d$ W
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    1 q$ ^/ L3 ?' G2 N) }
  279. implicit_flush = Off; o& c, T* `$ C& p
  280.   e6 s; C. @" T2 C( x* E5 f; p
  281. ; The unserialize callback function will be called (with the undefined class'
    $ D- w7 A% x- T, S  i
  282. ; name as parameter), if the unserializer finds an undefined class
    & n6 }* t4 q* i& B; m: e
  283. ; which should be instantiated. A warning appears if the specified function is
    1 o1 P6 j2 C1 C7 l8 z+ u
  284. ; not defined, or if the function doesn't include/implement the missing class.
    3 B2 L: c: n4 ?/ f. i- l8 H+ d
  285. ; So only set this entry, if you really want to implement such a4 r$ s; ~, d. }' I
  286. ; callback-function.  E8 i4 z2 `" u2 q' _9 \9 m
  287. unserialize_callback_func =
    2 a" V( A# o, S

  288. 8 ^* w+ ~! r( E1 l+ a
  289. ; When floats & doubles are serialized store serialize_precision significant+ V+ L1 w4 G' h* ?% L
  290. ; digits after the floating point. The default value ensures that when floats0 |/ ?4 T$ [/ @3 W2 f
  291. ; are decoded with unserialize, the data will remain the same.
    ( P% c- d! w+ e" _& ~, z
  292. serialize_precision = 17
    ) m3 M7 r8 r' w) u( P2 J4 K

  293. 3 d* q: b. p4 z$ I  n
  294. ; open_basedir, if set, limits all file operations to the defined directory% t& L/ o) @. h7 k1 H; _
  295. ; and below.  This directive makes most sense if used in a per-directory9 U% P6 p5 O# h4 v) t. s
  296. ; or per-virtualhost web server configuration file.5 x: I; O) y6 N: c) o3 H
  297. ; http://php.net/open-basedir5 r# y- Q8 j3 L
  298. ;open_basedir =
    0 N3 l2 P' K+ l( y/ o
  299. ! T; c, q3 h/ q% Y0 a
  300. ; This directive allows you to disable certain functions for security reasons.) E! J) k3 {$ F' V
  301. ; It receives a comma-delimited list of function names.
    9 O# d: o9 G$ o, M$ W* W' P" ^- b
  302. ; http://php.net/disable-functions4 U) R4 J( H2 @5 }6 ?+ J
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru! j  x9 v# i' `( ?; H: W

  304. * H+ ^! _/ f: y  _0 O0 F/ Z4 Z# S' z3 k0 u
  305. ; This directive allows you to disable certain classes for security reasons.
    * F/ g  j  Q8 e) f
  306. ; It receives a comma-delimited list of class names.- C( i4 u, v8 \) a& N  }9 T
  307. ; http://php.net/disable-classes; ~2 e/ r1 B8 H7 |& G
  308. disable_classes =- ]* \- ]/ t( |/ _0 o$ |( _
  309. $ f9 g6 d* f3 ?
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    5 |( n2 }5 ]# q. ^
  311. ; <span style="color: ???????"> would work.
    : n) A+ K% c' D# [8 e, i
  312. ; http://php.net/syntax-highlighting0 l  D$ h6 V$ e6 a0 v
  313. ;highlight.string  = #DD0000# q3 Q9 D3 ?% G/ S
  314. ;highlight.comment = #FF9900
    5 `  A% m) E! D1 K4 f
  315. ;highlight.keyword = #007700
    6 J5 m# p- S: c; U& Q
  316. ;highlight.default = #0000BB
    . m/ B* C! Z3 m1 ]1 r. ]# J0 u
  317. ;highlight.html    = #000000
    ) o; F. h6 U4 T

  318. 8 p  A$ g; C& z( {6 @
  319. ; If enabled, the request will be allowed to complete even if the user aborts& g9 m% L) w" q; Q, V6 K: U5 A
  320. ; the request. Consider enabling it if executing long requests, which may end up- J* b2 o6 h) I% c' l) C9 K- b
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    5 y9 Q+ E9 f" U: q: u* f
  322. ; is to disable this feature.
    & V/ r$ N6 x9 w0 u6 b
  323. ; http://php.net/ignore-user-abort, T; t8 W! }( T1 c* O4 f
  324. ;ignore_user_abort = On
    5 ^& M2 w9 h& B( Z

  325. ( [$ Q1 q5 Q: f5 o
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    $ n2 c7 l+ ], P, M  O
  327. ; be increased on systems where PHP opens many files to reflect the quantity of# u- H* ], o) p
  328. ; the file operations performed.7 ~$ n7 C! L4 b9 J5 \6 U
  329. ; http://php.net/realpath-cache-size% f) P2 o. @3 q' ?- J, M
  330. ;realpath_cache_size = 16k
    ) l" d; E5 R) J1 l
  331. ' v9 Z5 G+ Q( ]1 T9 M' y7 Z
  332. ; Duration of time, in seconds for which to cache realpath information for a given' _1 L! c: _5 E5 L- V$ d& s
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    * M% I* m4 {2 g; {: S. s
  334. ; value.
    + t( Y9 }7 r: |4 E9 x2 \
  335. ; http://php.net/realpath-cache-ttl
    9 I2 ~7 J5 I1 T& m. V8 k7 d% J
  336. ;realpath_cache_ttl = 120
    6 R/ H! R& ^% S: n

  337. - t' k+ u4 W  H- P( \$ C& Z# R
  338. ; Enables or disables the circular reference collector.3 m+ Z$ U! x2 i' q3 D2 _5 j
  339. ; http://php.net/zend.enable-gc
    5 U9 a' k( u) \. `! X. U0 _$ S# I
  340. zend.enable_gc = On
    ; Z; L0 l( D) n, |# d8 |/ G0 P

  341. 2 A; `7 |0 X) U( h4 M( a
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    0 R! P. ?1 C+ @
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    , c8 K. y8 b( }% i& ?, k
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    & N' E" Z  q- F; m4 E# @# u
  345. ; Default: Off8 ]+ Z' k, q, {7 w- I; U5 b0 U9 ~4 f
  346. ;zend.multibyte = Off+ D1 @" [/ X+ v! @& j% [$ `5 G
  347. 3 c- s' M- a) i5 D! b4 Z& r: R
  348. ; Allows to set the default encoding for the scripts.  This value will be used* ^+ X2 I! [8 d4 \& w6 i9 J2 }
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.# I! ~% k& H. q6 w" [  N. ^
  350. ; Only affects if zend.multibyte is set.+ Y1 S9 ^) A  `. H7 D
  351. ; Default: ""( U0 e& V, d# \
  352. ;zend.script_encoding =2 ~4 X# b4 @- o5 X: V8 M- c

  353. ' b3 \. X! J* _+ d5 G
  354. ;;;;;;;;;;;;;;;;;- w5 T& H/ d4 T$ n" M
  355. ; Miscellaneous ;
    ! h3 o& ]  F: {4 z. [7 z- t
  356. ;;;;;;;;;;;;;;;;;
    , a! I  }' G0 ]# p; F0 S" ?: W
  357. $ G4 N. x8 n) K7 y
  358. ; Decides whether PHP may expose the fact that it is installed on the server0 |9 q7 Z6 w0 u+ o# j  I, w* g
  359. ; (e.g. by adding its signature to the Web server header).  It is no security8 @. w' I5 r* }; m' S$ a6 f
  360. ; threat in any way, but it makes it possible to determine whether you use PHP5 I, K& y% K  F, l. _
  361. ; on your server or not.* h, I5 W* d4 q+ u- |
  362. ; http://php.net/expose-php* ^4 K) Y* w4 D7 N$ s. o% p0 ]
  363. expose_php = On
      g/ i4 ?! V7 I0 @/ t- E8 c
  364. # I) l  j5 |) S% S
  365. ;;;;;;;;;;;;;;;;;;;; U7 }  x3 Z% i; c2 D6 j
  366. ; Resource Limits ;
    " O8 T1 q' Q9 N* ]
  367. ;;;;;;;;;;;;;;;;;;;
    6 e3 O/ |( F6 Y* X; c6 E  `

  368. 8 Q" S2 H4 ^5 [- f: l8 i  T
  369. ; Maximum execution time of each script, in seconds
    , H& I" W, k( W
  370. ; http://php.net/max-execution-time* @" N; _2 Q, Q% r
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ( P) p) g7 M) i/ ~% T7 `0 Z
  372. max_execution_time = 300
    0 O7 j4 F8 N8 Y
  373. 6 x; a$ K* t( v
  374. ; Maximum amount of time each script may spend parsing request data. It's a good3 K8 ?, ^/ j3 q7 r1 r
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly. @: |8 _' C- `1 i3 h5 m. d0 R
  376. ; long running scripts.
    1 R8 E, S& a1 L; r& b! ?3 O; H
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    1 T" v, _. s- h. R% l
  378. ; Default Value: -1 (Unlimited)1 W- P( ]3 c, H+ |$ A) O. `$ k- ~
  379. ; Development Value: 60 (60 seconds)
    0 [$ z& P$ N) U; P9 y  R) G
  380. ; Production Value: 60 (60 seconds)$ I5 i+ F7 g+ L# ]( _9 N
  381. ; http://php.net/max-input-time1 d, \; p; `9 g* _, e' A
  382. max_input_time = 60# t$ z+ ^; G' {+ M
  383. * r' ]7 b, [1 b& I8 E* H
  384. ; Maximum input variable nesting level5 m9 N1 @; \  R. p
  385. ; http://php.net/max-input-nesting-level/ g0 x& V+ t( Y9 A. {# L' Z
  386. ;max_input_nesting_level = 64
    $ w/ i- f+ {8 Y1 s* V8 I4 ]
  387. ; M8 Q" R: O- U" e- C, h5 C& P% Z
  388. ; How many GET/POST/COOKIE input variables may be accepted
    / J1 [' y! H* c
  389. ; max_input_vars = 1000
    6 L( A3 E6 C# K
  390. & M6 w" b- @$ v+ q% _' m
  391. ; Maximum amount of memory a script may consume (128MB)
    / Z8 U, b" m) W; i) T+ q" ]
  392. ; http://php.net/memory-limit$ r0 @% g* i2 {! v
  393. memory_limit = 128M) j/ d: c; G) N( `# {- O9 @/ _

  394. ' h3 r0 r- w5 s0 [' u5 W0 b9 Z* x
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2 i8 o% S9 d: E+ ?; V
  396. ; Error handling and logging ;
    8 y8 o- H9 F" Y7 m/ i
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ! S: n0 |- |* j4 I* q, ^$ U

  398. - V8 S+ F# K4 H! V  V& d" F, J
  399. ; This directive informs PHP of which errors, warnings and notices you would like' `, `" z- z1 }' v) M$ \! O* Q
  400. ; it to take action for. The recommended way of setting values for this
    " X; A9 K; _& C# @' N  j, g5 z* K
  401. ; directive is through the use of the error level constants and bitwise
      a/ ]* s; x" _1 Z; e: `% K( k
  402. ; operators. The error level constants are below here for convenience as well as
    + U5 U% M  u0 q0 ]9 l
  403. ; some common settings and their meanings.8 S0 X/ _5 M# l8 q9 Z0 A
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    : A% M' v( Q$ D4 x6 G% l
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and$ c% C; `4 e2 j) K; w- O/ _1 w
  406. ; recommended coding standards in PHP. For performance reasons, this is the# \& z; M. L4 B! ^7 g  U4 W
  407. ; recommend error reporting setting. Your production server shouldn't be wasting+ U: r' T# v0 B) W, y! ^" Q, X: z
  408. ; resources complaining about best practices and coding standards. That's what1 t1 q# ?! P2 E* X+ e5 Z( ^: k
  409. ; development servers and development settings are for.
    0 C& s+ }2 T7 k" m  g9 A
  410. ; Note: The php.ini-development file has this setting as E_ALL. This& o9 a! P$ y2 l' u5 ?
  411. ; means it pretty much reports everything which is exactly what you want during
    2 W& g9 b8 ~$ B9 B
  412. ; development and early testing.0 @- e' b) m( c  t5 C& X
  413. ;& p' p/ u) H$ L& G  t
  414. ; Error Level Constants:, ?4 ~: q2 T1 g. v- d. W
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)- J0 o. ~" ]$ J, i& L3 _
  416. ; E_ERROR           - fatal run-time errors5 Y4 k( [5 y+ v) b8 o
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    4 e4 N0 Y1 N* v% w) z% I
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    / i9 a8 F' `$ d* k- j" X" {- ?
  419. ; E_PARSE           - compile-time parse errors
    ! K! ^% w5 S( b
  420. ; E_NOTICE          - run-time notices (these are warnings which often result8 ~0 y+ y- A  N; w* Y% L
  421. ;                     from a bug in your code, but it's possible that it was3 G0 B) E- W: X
  422. ;                     intentional (e.g., using an uninitialized variable and
    / a2 b" c& ]3 M3 p6 j5 S" l2 E. E
  423. ;                     relying on the fact it is automatically initialized to an
    6 s: U. `: P* F% K/ q
  424. ;                     empty string)- h0 R3 N5 x0 ~7 Q5 ]2 Y! K, L
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
      w0 Z& F; G1 `
  426. ;                     to your code which will ensure the best interoperability
    ) q! T: q* A. Q  T# ~  J7 k
  427. ;                     and forward compatibility of your code* E5 B# M. B+ y
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup" w# f0 m! _+ T
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    * p  a0 D. j& f* x6 g0 n
  430. ;                     initial startup
      J* W8 }  s+ F( Y" J. d
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    # H' T& m/ l* y
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    $ w/ N4 Y( P# ]+ }
  433. ; E_USER_ERROR      - user-generated error message
    1 u" }! R8 }4 y4 j% H7 ^
  434. ; E_USER_WARNING    - user-generated warning message& f% @  O( w$ c
  435. ; E_USER_NOTICE     - user-generated notice message
    / u6 ?9 o5 L4 [6 Y( c0 S! w- \
  436. ; E_DEPRECATED      - warn about code that will not work in future versions+ y) K; F. Y# N/ p4 k& t: g
  437. ;                     of PHP" l4 Z; ]$ c3 G* R) d
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings1 V; Q. t+ r/ ~' s' S- V
  439. ;
    2 p3 O5 Y) I) k" S+ C
  440. ; Common Values:
    9 y) ?0 }1 J: w, I
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    . e! Z3 b+ S( h, ^
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)  N7 P* z! j; S+ ^! r7 S
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.): \" E3 v' |; _7 _5 |' S0 Q( w
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)6 `- J7 _% q( E% ]' |0 S
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED# T' i( U. K) v
  446. ; Development Value: E_ALL
    - X/ n! T+ k( K6 z3 I" m2 x0 \
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( ^1 k( n2 M* p% L
  448. ; http://php.net/error-reporting+ U0 v# e! a( W: Q
  449. error_reporting = E_ALL & ~E_NOTICE
    3 `4 ?  K) M  H8 Z8 E- X# g

  450. . x4 E( v5 O9 B. m9 W
  451. ; This directive controls whether or not and where PHP will output errors,
    4 P: M6 ^8 ?8 [. a  q
  452. ; notices and warnings too. Error output is very useful during development, but6 u3 D' T3 G0 j
  453. ; it could be very dangerous in production environments. Depending on the code# g) \% \# M  B$ `/ F% |8 d
  454. ; which is triggering the error, sensitive information could potentially leak6 U# D3 x4 \- ^2 V( l
  455. ; out of your application such as database usernames and passwords or worse.
    8 c, H; i. F# q& e1 H  ^' v3 I
  456. ; For production environments, we recommend logging errors rather than
    6 ~" j9 _! }" l+ L7 }: g
  457. ; sending them to STDOUT.6 }+ ?: r, f- o$ v4 A( c6 o% X( V
  458. ; Possible Values:( t3 z6 P( h2 w8 V& v  A
  459. ;   Off = Do not display any errors  g; [4 H  _9 X9 \5 k" I$ h! \
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)4 Y8 q3 r; O; Q( J
  461. ;   On or stdout = Display errors to STDOUT2 N0 u: }# u% G) h7 v
  462. ; Default Value: On+ l* [: c2 A% {/ b
  463. ; Development Value: On
    : n4 c7 k% n8 Q/ I
  464. ; Production Value: Off) F5 N3 L- a+ F+ \3 y
  465. ; http://php.net/display-errors0 u$ s7 n% g0 S" A; U4 M
  466. display_errors = On1 Z, x# c+ z! A/ E
  467. - W4 g6 K! X+ F2 g5 z9 l# N& @
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ! }7 m! Q6 S; S5 L1 J
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    3 ]. C( P% Y3 \/ g9 v  T, o8 r
  470. ; errors from clients. Turning the display of startup errors on can be useful in" R" p: u$ H! R7 ^) ?
  471. ; debugging configuration problems. We strongly recommend you
    8 F$ C& J( [: C0 y& P& N
  472. ; set this to 'off' for production servers.1 G  E8 t5 A+ P- M$ _5 L) b  f
  473. ; Default Value: Off* g, E6 K+ I& I) b& ^2 f! g
  474. ; Development Value: On. P" L) R: k  X4 a" l  T
  475. ; Production Value: Off9 @( n+ M1 i" q, r4 F
  476. ; http://php.net/display-startup-errors
    % f5 G; }  h) I' E- w- V
  477. display_startup_errors = Off# k/ f6 n' K1 _+ ]4 d/ D
  478. % y  [* w6 m, @; }. ~
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    6 p3 w. |5 ~( G& o
  480. ; server-specific log, STDERR, or a location specified by the error_log+ f; V1 l8 s5 e* Y- j8 {+ u
  481. ; directive found below. While errors should not be displayed on productions
    $ \( @5 ?' |, c7 W: H5 n- N9 W
  482. ; servers they should still be monitored and logging is a great way to do that.. S8 n- s7 N5 L( @+ R* S( x
  483. ; Default Value: Off
    % V6 V( Q6 Z; N( @7 h8 [. s
  484. ; Development Value: On  u+ I& s2 {5 }5 b3 ^
  485. ; Production Value: On6 v9 F! r2 o# s8 `
  486. ; http://php.net/log-errors% f* J+ E! B. i% I, K: k
  487. log_errors = On
    . G/ E' m2 o6 ^* T
  488. : g3 r; G' N4 M  L2 P2 a2 @' N
  489. ; Set maximum length of log_errors. In error_log information about the source is
    % }/ T3 C" u) T4 d
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    : w/ I7 X! _% v
  491. ; http://php.net/log-errors-max-len
    ' z( T2 M% v3 ?0 K$ r& Z$ }' V
  492. log_errors_max_len = 10245 W; y9 U) R8 }4 [: p; ^

  493. . `# W! |. }$ l2 K
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same* |# }, q7 w9 s" W2 U
  495. ; line unless ignore_repeated_source is set true.; Q5 g+ ^& A" q
  496. ; http://php.net/ignore-repeated-errors
    2 H" m* O$ `$ A5 C" P- l
  497. ignore_repeated_errors = Off7 @! O1 ~/ t+ G* H3 R0 t/ R7 a6 h

  498. ; q7 \% J. D7 E, E9 u" n
  499. ; Ignore source of message when ignoring repeated messages. When this setting+ a8 ^1 c9 l( L) J
  500. ; is On you will not log errors with repeated messages from different files or
    # }0 p" K' ~- O0 r9 C
  501. ; source lines.# X/ `: [+ G; D. x1 D
  502. ; http://php.net/ignore-repeated-source
    ; K/ ^) x& T4 n" ]! r
  503. ignore_repeated_source = Off9 a3 `" P8 P2 G+ E

  504. * j" N1 ^7 H4 @
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on1 |$ `# |- e' j8 Z
  506. ; stdout or in the log). This has only effect in a debug compile, and if2 n2 E/ G' T2 t& d% S+ d6 x
  507. ; error reporting includes E_WARNING in the allowed list( o# Y* Z9 p1 p5 J
  508. ; http://php.net/report-memleaks, W8 _, Q; d  g: o8 n4 J3 V
  509. report_memleaks = On4 |& ^4 P+ m4 y: @; K' T4 k
  510. " ]. J/ |$ L3 ~
  511. ; This setting is on by default./ U8 }1 t. {+ f7 O) D/ E1 M
  512. ;report_zend_debug = 0
    % V; \* C0 u$ \9 i" {# C1 X

  513. % {% x4 C4 V: c  @) J
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value$ X) ?  f1 s! g6 p% z$ _" z
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ) K5 I, C9 ]$ G4 F
  516. ; however be disabled on production servers.3 l9 P  A# _( C; C
  517. ; Default Value: Off) y% ^5 X3 H+ }
  518. ; Development Value: On
    7 E5 h6 I- m; b6 E
  519. ; Production Value: Off/ ?5 [) J2 Z$ z  I5 B
  520. ; http://php.net/track-errors# M4 }& M% o  k+ ^# t5 B* F) y
  521. track_errors = Off& t: @6 z; V, b6 f7 ]# @! Y
  522. - m8 D( R" [: P3 P  R: J
  523. ; Turn off normal error reporting and emit XML-RPC error XML, O! W* s0 l3 [' Q8 W
  524. ; http://php.net/xmlrpc-errors
    , b- j# b5 e) L; a
  525. ;xmlrpc_errors = 0
    . F: z; e' G6 |; r
  526. 9 [: h! N; m/ H% O1 Q$ ]  R" a
  527. ; An XML-RPC faultCode6 f6 G1 l) n- G" @2 u8 E
  528. ;xmlrpc_error_number = 0
    9 U0 S# G( W+ t9 g: h5 q7 K  j

  529. 3 X3 ?% W/ z: T$ D: p* N9 `1 Y
  530. ; When PHP displays or logs an error, it has the capability of formatting the/ R5 `$ `1 E# L" i
  531. ; error message as HTML for easier reading. This directive controls whether$ b- l4 U- i" \; Z; Y
  532. ; the error message is formatted as HTML or not.
    4 m  I. r! h" m' k8 z3 j
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    1 b2 Z' w) L$ T6 D( g
  534. ; Default Value: On
    4 T# ^* x& v* W! S" `; {
  535. ; Development Value: On! Q  a3 V7 U8 W' r+ X
  536. ; Production value: On
    ' \; `8 O& o% s) P2 y, }; S0 |; O
  537. ; http://php.net/html-errors
    ( Y0 G/ W: p( F5 _
  538. html_errors = On
    7 o& p& {0 F( K

  539. 4 A, C: ~. G- A1 A% c( N7 ]3 a! W
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ) l* ^, F% g1 \3 d7 M" ?1 U, M0 w
  541. ; produces clickable error messages that direct to a page describing the error# @/ k& `. G% ]- |' x2 ^  x. u
  542. ; or function causing the error in detail.# v" m% l. f8 L% G- |0 f8 [
  543. ; You can download a copy of the PHP manual from http://php.net/docs# n6 E# L' k+ X! `4 ]- ?
  544. ; and change docref_root to the base URL of your local copy including the
    1 Z8 P! p  |) V; H, h
  545. ; leading '/'. You must also specify the file extension being used including; v" @9 V1 I4 [( C5 Z
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    & i8 r: G  n# z( P; |
  547. ; case no links to documentation are generated.! p8 g$ F  t6 |. W0 E- n" ~9 Y
  548. ; Note: Never use this feature for production boxes.
    ; j8 ?1 q( E& r- R" f
  549. ; http://php.net/docref-root
    ; t( l: }8 ~0 D$ `6 d& P
  550. ; Examples
    8 e# t1 n0 }; [( b* t
  551. ;docref_root = "/phpmanual/"
    5 O1 I7 z9 t: I* ?) j2 {; d

  552. $ M" m2 Q0 t& A: c. k( ~1 u. ^5 E) ~
  553. ; http://php.net/docref-ext
    & A3 [7 S" D  ~, G2 E4 M
  554. ;docref_ext = .html
    2 G, A9 }* I& T* S  N5 r
  555. ( F7 g/ s$ I8 @5 X. h8 p3 ~% D
  556. ; String to output before an error message. PHP's default behavior is to leave' B" S- S- `3 _6 I
  557. ; this setting blank.* r# h: y4 j9 s  E4 D
  558. ; http://php.net/error-prepend-string) s+ x" K9 j1 W
  559. ; Example:8 l. P1 s1 z3 e  \  X4 e% ^4 q6 l
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    5 W0 d. L$ \+ b- d6 ]% `
  561. 7 N) q* S  e2 M& S$ C$ M! Z
  562. ; String to output after an error message. PHP's default behavior is to leave& g! V1 _" U5 ^, k7 {7 [
  563. ; this setting blank.
    ( m. a! O* d8 G
  564. ; http://php.net/error-append-string5 S2 m$ I7 n$ @& W6 O  F
  565. ; Example:2 p3 A9 M$ {2 D: t, B
  566. ;error_append_string = "</span>"3 c  w( E) M" r1 H; h  P+ v

  567. / I' B7 s4 V: D  ^  m7 r! }( w" e+ q
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
      X9 L- a& H7 M0 U$ E( v
  569. ; empty./ m+ c% c8 [' {
  570. ; http://php.net/error-log" P2 n5 [* M0 j' L* W& T4 S
  571. ; Example:
    , k. [# {% R; m, ~7 U4 r
  572. ;error_log = php_errors.log6 q8 w  l8 L# S" r$ Z3 @1 q3 @
  573. ; Log errors to syslog (Event Log on Windows).5 s$ c1 A4 @! {4 @2 k$ z6 {
  574. ;error_log = syslog
    8 k3 s+ F5 v3 {  t8 u8 Y

  575. 5 h* h0 f4 Z0 \% ]% d. T
  576. ;windows.show_crt_warning7 t3 Q) d. n$ M' j; c
  577. ; Default value: 0
    . s# ?" j+ I+ k& r
  578. ; Development value: 0
    ) s. t- B, O! C; ~: x# |
  579. ; Production value: 0, F6 D6 W/ E6 m/ h$ ~. F2 E
  580. % ]% d! ^& U9 D- A0 Z
  581. ;;;;;;;;;;;;;;;;;; b! e+ x/ ?4 q+ @
  582. ; Data Handling ;
    " S' q1 H) j' Z* k: e
  583. ;;;;;;;;;;;;;;;;;
    7 o- M) p' h0 B# R
  584.   h' _3 `$ f; j& K1 r* N
  585. ; The separator used in PHP generated URLs to separate arguments.
    % W* O  y" \  B1 H) a. p6 C" _
  586. ; PHP's default setting is "&".' j& V2 @; Z; u* {
  587. ; http://php.net/arg-separator.output3 S+ z+ m( f+ F
  588. ; Example:
    6 P; ]  Y7 O- n9 p- u6 a
  589. ;arg_separator.output = "&amp;"
    ! l# Y, C) W- d+ I* J+ B
  590. - G" G  J: C7 `1 O% J4 k, u& a& ]
  591. ; List of separator(s) used by PHP to parse input URLs into variables." j: ~3 N5 ~1 d3 D, W, j
  592. ; PHP's default setting is "&".
    / \8 m1 i# |) X) J) X
  593. ; NOTE: Every character in this directive is considered as separator!) x& p% E* m" O# u' x3 l! a! t, A1 G' J) u
  594. ; http://php.net/arg-separator.input
    1 y# g5 a% h! |
  595. ; Example:0 a7 ~6 n6 q5 U
  596. ;arg_separator.input = ";&"! {/ F  F* }2 I, o4 ~0 e3 K5 k5 {/ e
  597. 6 p8 D$ T4 W- ~) o/ E( V! H, K; V
  598. ; This directive determines which super global arrays are registered when PHP' [9 r8 O# f* M$ _1 ^9 n
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    1 {2 E! p$ T% B
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty( G6 e0 ~, D6 Z7 l
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    2 q2 b+ P7 y3 R  c: z4 c: a
  602. ; used as the others, ENV is not recommended on productions servers. You
    ) X( q* t+ Z( @( k- ~
  603. ; can still get access to the environment variables through getenv() should you
    4 u/ s% w% ?2 I$ X% y( H
  604. ; need to.! [8 ?. {9 u0 K! u
  605. ; Default Value: "EGPCS"
    . A5 d! c7 D  m, V) l0 W" p5 Z$ h+ z  e
  606. ; Development Value: "GPCS"
    # R# d1 X- i1 |; ?9 a" I3 c
  607. ; Production Value: "GPCS";
      C% B0 m; \; `1 `+ ]$ A
  608. ; http://php.net/variables-order
    ! f; g8 h" R3 q5 Q! e+ |
  609. variables_order = "GPCS"
    1 G+ z8 m: I. C

  610. ! S7 P! P9 g9 g$ l, T
  611. ; This directive determines which super global data (G,P & C) should be
    , |% M" I# c; m, X) G) V5 z$ s
  612. ; registered into the super global array REQUEST. If so, it also determines4 H, |2 H1 A2 f( z2 w/ J- N. c
  613. ; the order in which that data is registered. The values for this directive
    9 ]4 L' K/ B9 h
  614. ; are specified in the same manner as the variables_order directive,
    # X+ F$ s8 D5 z, B3 c
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set- x+ V" ]# l6 d) I+ Y' Y3 W- c: y8 l
  616. ; in the variables_order directive. It does not mean it will leave the super2 c' L7 ]4 d/ L% U+ H
  617. ; globals array REQUEST empty.2 r9 r8 N2 ^# B' z3 i) o$ `
  618. ; Default Value: None4 b# H5 M0 t" A( w- L1 q- Y
  619. ; Development Value: "GP"
    0 Q8 @+ f& A" o$ Y8 [
  620. ; Production Value: "GP"
    - a; V+ a" g8 k! J% j, K; i
  621. ; http://php.net/request-order0 O' E' Q- i: P3 N
  622. request_order = "GP"* {; k  J, B: t6 Y

  623. 3 E: d) R' U# o5 y7 @
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    & ?( @% A% o* U: l; |
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script, i; a' Y  _3 r" E/ M6 h2 w( H
  626. ; is invoked. $argc contains an integer representing the number of arguments
    0 O: N  o# R1 k/ m$ j
  627. ; that were passed when the script was invoked. These arrays are extremely
    ) @, w( x% P$ u
  628. ; useful when running scripts from the command line. When this directive is
    " z& p3 i& f2 g6 {  J: f. ^: p
  629. ; enabled, registering these variables consumes CPU cycles and memory each time% P; J) k' W# z2 ~7 M
  630. ; a script is executed. For performance reasons, this feature should be disabled
    " _) }+ Y, _3 X1 r
  631. ; on production servers.
    ) g, Y; ]6 s9 ~; P% v% `
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    9 W; x4 u/ q6 @) D; t! ~
  633. ; Default Value: On
    " ?/ n/ C' r. m! k
  634. ; Development Value: Off
    # O; ^3 ~2 a3 B! ^  O
  635. ; Production Value: Off6 a3 ?# R, B: {$ ?
  636. ; http://php.net/register-argc-argv6 u6 y2 t1 V# K# e
  637. register_argc_argv = Off
    " H0 q, I) x/ D% k  W
  638. 3 ^' I7 y! Y0 \: E1 `% j
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're8 d& i& ]/ f5 M+ `: @* g
  640. ; first used (Just In Time) instead of when the script starts. If these
    7 D4 B5 V5 X% E: i+ D
  641. ; variables are not used within a script, having this directive on will result
    ( S- g4 z7 D2 b& O: H9 b0 Q- e
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled; ^' r9 h6 h" p
  643. ; for this directive to have any affect.5 F- A7 [3 p, D; g" C: }
  644. ; http://php.net/auto-globals-jit+ Y% j1 Y$ J: }/ r8 v4 A* R
  645. auto_globals_jit = On
    . Y8 w4 \# p  f  {1 R, @  \$ H& k
  646. ! ?; m* q2 P4 \" O& u
  647. ; Whether PHP will read the POST data.
    8 R+ W6 U4 h, i8 p9 c
  648. ; This option is enabled by default.( l$ H( Q. p# ]: B: B& i
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ! m4 G. C, [& \" D0 a
  650. ; and $_FILES to always be empty; the only way you will be able to read the5 X! g" p6 m0 l
  651. ; POST data will be through the php://input stream wrapper. This can be useful$ s4 a/ q5 G* \1 m" R6 P
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    & q4 R& W* H) j" g
  653. ; http://php.net/enable-post-data-reading$ i, C/ Z, K. E8 i+ G. J) @+ \
  654. ;enable_post_data_reading = Off
    . v! h5 [& |4 v* C# D' s6 H
  655. . _: t. ~' F. k# y
  656. ; Maximum size of POST data that PHP will accept.
      W. `7 z7 F1 G  q, x0 [
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    * n. E4 ]4 m/ B9 @" p  U1 M7 `7 m
  658. ; is disabled through enable_post_data_reading., o0 z3 ]1 A, s& p5 C/ Y
  659. ; http://php.net/post-max-size
    : p0 R2 q! |: f. y8 M) K* i
  660. post_max_size = 50M7 [3 z+ d9 v1 H; X4 Y
  661. ! R6 y& g* R6 u1 O# F! Y' O( Z
  662. ; Automatically add files before PHP document.  w* q) k3 T% P" h1 T6 S) N% G
  663. ; http://php.net/auto-prepend-file
    : F# W' w7 y9 ]
  664. auto_prepend_file =
    ' M  a9 Y% |3 x+ ]  x6 l  P7 E
  665. . D  j# H% a4 s; u) g# m
  666. ; Automatically add files after PHP document.
    + p. E% p  z/ V' v, b- Q
  667. ; http://php.net/auto-append-file8 N/ s4 c% W& V8 l
  668. auto_append_file =, H1 q4 `+ C. b0 Q" A4 o/ o

  669. 3 U, E  [6 o6 g. X' C
  670. ; By default, PHP will output a media type using the Content-Type header. To
    7 b; O& Z+ t" U& m  }* ?2 F  U
  671. ; disable this, simply set it to be empty.
    1 \: G: s, z: U6 z
  672. ;
    / _7 u" x1 d& f- w( [. L8 Q
  673. ; PHP's built-in default media type is set to text/html.
    # q. k% W' s! v1 x+ T7 ?1 Z
  674. ; http://php.net/default-mimetype
    ! f( K5 y0 u; V* R: d: z
  675. default_mimetype = "text/html"+ ~5 x- w6 g0 B1 o0 x/ |# P

  676. 7 O% G3 P: [! Y9 n! y; ^
  677. ; PHP's default character set is set to UTF-8.. U1 k0 C: `( j7 x1 M0 J$ j8 h
  678. ; http://php.net/default-charset6 _- D2 B. ~: c( I9 z) Z
  679. default_charset = "UTF-8"' k- D% p/ I: S' C0 _- a

  680. 3 }2 o& I; g/ A4 U% t- v1 L
  681. ; PHP internal character encoding is set to empty.
    8 @  V8 w# z- F( m
  682. ; If empty, default_charset is used.! K* J9 O" ?" q, P" Q" H7 [0 d* p
  683. ; http://php.net/internal-encoding+ D/ B: ~+ F/ i) l, b+ r7 I  P
  684. ;internal_encoding =! b4 c& b, T# ~: U, U7 ?6 v  S
  685. . g! E  w( W* B9 _0 B
  686. ; PHP input character encoding is set to empty.' `4 }! V1 q5 b8 M9 P7 F
  687. ; If empty, default_charset is used.
    9 v9 R( O0 S, y  N
  688. ; http://php.net/input-encoding' q/ }6 F( ?( d2 e; V
  689. ;input_encoding =
    0 y5 \7 j1 }+ H8 G1 x

  690. 2 c% [% d8 R" X- P
  691. ; PHP output character encoding is set to empty.
    % n/ o, q  n6 ~2 x% j
  692. ; If empty, default_charset is used.- A8 {8 y4 Z2 M  E: m
  693. ; See also output_buffer.
    7 w/ f* {4 \' I- Y5 a
  694. ; http://php.net/output-encoding
    2 K+ j+ w9 b2 |% P; f/ b$ Z; D
  695. ;output_encoding =
    & b$ f: z9 B: }  s! t9 h% l
  696. 3 ?" c4 A; o7 w
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    3 D/ ^' i7 O; Y% M: e  ~
  698. ; to disable this feature and it will be removed in a future version.
    7 N4 r$ B+ d" F9 u0 B
  699. ; If post reading is disabled through enable_post_data_reading,, L9 A3 w. S, S, @. g
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.. w6 a* z% U5 n; I$ I3 }6 E. {
  701. ; http://php.net/always-populate-raw-post-data! G" f+ S: \3 F
  702. ;always_populate_raw_post_data = -1
    9 i( X. Z9 I- M8 L7 w; Q' A+ C

  703. # W  m$ C2 g, P$ S
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;* m" O7 p5 z& y
  705. ; Paths and Directories ;" Q# k% M  j7 Q; V
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;6 X$ ]2 b' z- t7 `# Q' I! ^
  707. # l1 |8 s& m$ q( f7 @5 ^) ]
  708. ; UNIX: "/path1:/path2"% s& X3 b9 h2 v5 V+ @# p% t9 Z. s
  709. ;include_path = ".:/php/includes"
    4 W- }1 M4 X: ?$ ~$ z& D, B6 c' v
  710. ;
    5 `+ S& m! K0 c+ A. _* O
  711. ; Windows: "\path1;\path2"4 R+ r0 A7 t3 e& |) j
  712. ;include_path = ".;c:\php\includes"% q+ b( h7 g( I4 b) T. c5 _
  713. ;
    ) ^- T0 @: u4 C" J) n
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    - Y; P6 y6 j" s% n
  715. ; http://php.net/include-path! k5 y: o# C6 b
  716. * d$ |7 ?' A6 S* V- ^7 Q
  717. ; The root of the PHP pages, used only if nonempty.% ?" C* r, R$ }5 Q1 c: L0 z( _
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root0 _7 K6 D7 `; K- a3 ~9 i
  719. ; if you are running php as a CGI under any web server (other than IIS). ?2 t( g# ^! c. P( O
  720. ; see documentation for security issues.  The alternate is to use the
    ' w8 ~9 O& G2 n# \. ]/ b: @
  721. ; cgi.force_redirect configuration below" m  g8 Z- F. n8 e
  722. ; http://php.net/doc-root9 h' o+ e* [1 i2 ~0 |! E
  723. doc_root =$ W: T! F; s3 Y) k; D% }

  724. ; ?& k4 n2 P: x7 J
  725. ; The directory under which PHP opens the script using /~username used only9 z; |5 L4 x' \
  726. ; if nonempty.
    ( e2 O( Y- j/ n" r) g! B  V9 ~) h
  727. ; http://php.net/user-dir+ r5 |' `. ~% T6 t; e: u- q
  728. user_dir =* d$ C- J- ?7 b
  729. ( o. V9 v' [2 T  \/ l
  730. ; Directory in which the loadable extensions (modules) reside.
    3 M$ z) Q( Q  n0 {0 _- {
  731. ; http://php.net/extension-dir
    8 u) {3 g+ Z% C3 U0 U
  732. ; extension_dir = "./"! _9 T" R8 w% q, j+ d3 D
  733. ; On windows:6 }. _6 r- g7 a1 }) }, N: G
  734. ; extension_dir = "ext"# u$ x# B8 [3 P

  735. 8 h+ a! f- B( ?: a: n( r; k3 R
  736. ; Directory where the temporary files should be placed.
    5 F; J. w6 u3 A/ l' p  g/ Z
  737. ; Defaults to the system default (see sys_get_temp_dir)) m% s1 k! d# Y2 b8 ?
  738. ; sys_temp_dir = "/tmp"
    , g" H0 B- R# I8 H7 t8 A9 Q9 }

  739. 9 m1 S/ X$ g* f/ ~5 Y
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work' l0 T" k6 q  |6 I2 N: n1 I: q/ B
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ( x! p9 O8 C$ n, [5 y
  742. ; disabled on them.
    0 T0 e2 B; w; k. Z5 R2 r+ {
  743. ; http://php.net/enable-dl( Z. m0 j; T# W
  744. enable_dl = Off5 l: W# H! W0 l' w2 B; a  f( k
  745. ' X$ e* V  E0 y) ~( V2 z6 _
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    - s9 R' O4 \2 u6 ~7 L9 I5 {7 D
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    6 q; U; |0 g# U
  748. ; turn it off here AT YOUR OWN RISK
    # \$ k/ d) m: a+ m$ Z* X3 N4 C
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**( A2 w8 s4 P2 d, r$ W  @1 t; ~
  750. ; http://php.net/cgi.force-redirect
    + c  M0 O9 `- }" U: F
  751. ;cgi.force_redirect = 1  {% t1 j( B8 P; P9 x

  752. % c( \& {& F% R
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    + f' J% v) m" V9 W# |
  754. ; every request. PHP's default behavior is to disable this feature.# S0 q( D' v( F/ @4 C
  755. ;cgi.nph = 10 h& x8 ?, M% [3 F# V' B- `5 b! L

  756.   E  A* f1 N1 Q/ I& f) g; w# ^
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    1 K) {$ a8 ^, j$ Z' m/ h( S
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; x" A2 {9 l, f0 k3 }
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY  p5 P& {2 M- N* Y# J/ k
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ) S! T7 _; N: |2 W
  761. ; http://php.net/cgi.redirect-status-env
    " T5 M7 A& M- Y, ?8 n+ @
  762. ;cgi.redirect_status_env =; T. ?; Q+ f( z; |+ R" w1 `

  763. " K3 K& u" [  ^$ G- \
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's+ i* |1 D5 w4 F/ P
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    $ I  N/ I% Q0 Z/ i5 T* T. g9 ]* C
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting" V( E2 s0 i4 k* U4 A% g
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ) N, u  P. i, d5 t) \% ?
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts% x7 l6 a+ P) @- J4 B, w/ d
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.8 R0 o" M7 x6 t* Y0 C
  770. ; http://php.net/cgi.fix-pathinfo
    2 [# {% R' t! j6 Z
  771. cgi.fix_pathinfo=19 a0 I  K" p( b$ r+ B4 l% q

  772. 5 v4 j9 ~: w8 |3 o, s) r; R! G. q
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    : f" }* g. n: a
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ' s/ x, J4 l! m% V2 _5 d- i
  775. ; http://php.net/cgi.dicard-path* ~3 I$ b% N4 c5 W9 @& b" P
  776. ;cgi.discard_path=1
    2 V$ E- R7 S: r9 d

  777. $ q- Y7 N! U' g, o1 p
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
      s  T5 e' @, l8 L  Z
  779. ; security tokens of the calling client.  This allows IIS to define the
    ( Y; h6 x$ _) A4 N
  780. ; security context that the request runs under.  mod_fastcgi under Apache+ F- m. C; R$ f
  781. ; does not currently support this feature (03/17/2002)8 O, v' n- Z  z$ }
  782. ; Set to 1 if running under IIS.  Default is zero.* ]) b3 l( U* `3 N" j* L; B
  783. ; http://php.net/fastcgi.impersonate: d* ~; E* Q* H  z4 Y; V) w
  784. ;fastcgi.impersonate = 1$ M) ?, S% m9 ?0 f( a! k
  785. 8 L1 S- _0 I6 @6 S+ C+ ~3 }# m1 K
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    6 m, T% Q2 P% W& P
  787. ; this feature.0 q& \& C- q5 h4 S
  788. ;fastcgi.logging = 0
    ( H; Y& S. Q- A8 G7 d1 ]5 d

  789. 4 T/ x5 z' w4 P3 V
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to2 x1 d9 c2 H  l5 |9 W
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that0 o  k6 ?+ r- ]) Z& D/ t8 U2 D+ m" Y
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    " p8 V9 T: x/ t( L9 {' n
  793. ; RFC2616 compliant header.) L' L6 K# [( o. a% k
  794. ; Default is zero.
    5 l4 w; {8 `6 T1 a6 ~
  795. ; http://php.net/cgi.rfc2616-headers
    7 B/ Y. B/ ~6 b" K! p9 Z
  796. ;cgi.rfc2616_headers = 0
    . F7 F5 x" ]( Q

  797. 3 }5 h! c4 a1 Y1 d9 f; S+ V( [0 L
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
      A# q5 `' z6 _$ V" v: |
  799. ; (shebang) at the top of the running script. This line might be needed if the# x: |0 S5 [2 v: K# i7 [
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI% D9 C6 [+ p, C# c$ t* l8 ]
  801. ; mode skips this line and ignores its content if this directive is turned on.% b; ?) C5 L$ e
  802. ; http://php.net/cgi.check-shebang-line% x& v- L/ p( v# R8 Y' n# u2 ]
  803. ;cgi.check_shebang_line=1
    4 J1 O/ }& H+ ?

  804. " c2 }# n7 D6 z+ `6 h
  805. ;;;;;;;;;;;;;;;;) m% o1 f8 a/ k8 ^# ^
  806. ; File Uploads ;
    + B" V" x( C/ ^9 ~6 f" U
  807. ;;;;;;;;;;;;;;;;( R7 v, c  S- W  n, ]8 j8 W; E

  808. ) t/ ]. q/ q/ ?% g4 a" g8 V# q
  809. ; Whether to allow HTTP file uploads.
    / A- X/ [) A; w8 J5 [2 s
  810. ; http://php.net/file-uploads3 ]) b) r" r7 n4 c
  811. file_uploads = On
    ' A9 \: K& b9 S6 {7 U/ k) w6 ?

  812. + a% d* ]8 o+ Z* w, C  |6 R- h$ \7 n
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ! p9 T' S( ]3 K/ _/ ^" }
  814. ; specified).
    1 h8 d  W4 a# V6 e* v
  815. ; http://php.net/upload-tmp-dir7 [9 C: o# U) [
  816. ;upload_tmp_dir =
    - ~" ~; _+ A* R* x$ _; r( F

  817. 7 U- f, b; O8 g/ s7 _5 S
  818. ; Maximum allowed size for uploaded files.
    6 {9 @" A7 {  ?: T
  819. ; http://php.net/upload-max-filesize
    # v( m: F; K" p1 c
  820. upload_max_filesize = 50M4 b$ l( u9 C3 F, {( u( q
  821. ) m/ \2 e8 y: [" p
  822. ; Maximum number of files that can be uploaded via a single request9 ~# T; F" S/ w8 Z# ]  v( I# M
  823. max_file_uploads = 20. `0 R; V# f% h) f9 t) s- _
  824. 1 i( x) k! ?% ]' H, P5 ?5 ]4 I
  825. ;;;;;;;;;;;;;;;;;;
    2 J% ^4 G" C: Q/ \
  826. ; Fopen wrappers ;
    8 S( G# e7 v. ^2 ^& h
  827. ;;;;;;;;;;;;;;;;;;. ^- ^8 ^2 t, d! j, v0 U
  828. - B% }3 A9 u! t$ O; q) o
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    9 c6 B- L) V  Y0 d
  830. ; http://php.net/allow-url-fopen  ]  U: [. m. m; C
  831. allow_url_fopen = On- }& p( b& g, W3 h: M) s

  832. . v& D: u2 N# E/ l% @6 A
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.6 o2 E* u$ b' ?- f8 m
  834. ; http://php.net/allow-url-include; {, k3 J- }! b/ l, k# |
  835. allow_url_include = Off
    0 q) l! j& v, X, |8 y- s. \

  836. ! Y. x& j) j9 m( p1 R6 g2 p9 j
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    & t( s8 D4 h3 Y7 B2 g$ `! D
  838. ; for this is empty.
    9 d* k1 }4 V, d
  839. ; http://php.net/from
    * V: v5 j- R' l* x3 ^" M+ e
  840. ;from="john@doe.com": Q" Q: m  G+ v/ Q4 v4 \

  841. 5 Q% P% Y8 [. r3 C4 I7 E
  842. ; Define the User-Agent string. PHP's default setting for this is empty.4 `2 ~% s3 N( h" Q+ F" Y
  843. ; http://php.net/user-agent
    3 Z- s5 _5 l* _3 ?# R
  844. ;user_agent="PHP"
    8 G, F, a9 h' Z9 h: r6 m; K
  845. : y9 w1 m# A( k
  846. ; Default timeout for socket based streams (seconds)
    $ X( k" W; Z- s+ m. h* ]
  847. ; http://php.net/default-socket-timeout; P+ C- X! B- Z3 V; ~( S1 F8 O
  848. default_socket_timeout = 60
    8 h& L8 G. K9 F- e4 F0 T! \

  849.   Z3 E* b$ P! o
  850. ; If your scripts have to deal with files from Macintosh systems,
    ) E  ]7 o5 W& s" J8 t5 }& w
  851. ; or you are running on a Mac and need to deal with files from
    , j) H% H4 P+ G7 G9 v
  852. ; unix or win32 systems, setting this flag will cause PHP to
    : S0 p) y/ d& j  a
  853. ; automatically detect the EOL character in those files so that
    + U' g  m! {4 {" ?
  854. ; fgets() and file() will work regardless of the source of the file.
    1 V9 U. [- i8 G7 F$ g
  855. ; http://php.net/auto-detect-line-endings
    6 l. ^$ C, J+ }& f
  856. ;auto_detect_line_endings = Off* D& V9 y' @5 {' S& [  Z1 \: P
  857. # u5 o" f  f% x5 c
  858. ;;;;;;;;;;;;;;;;;;;;;;
    4 W8 P: f" L- }
  859. ; Dynamic Extensions ;
    " }" P. T  F% e: p
  860. ;;;;;;;;;;;;;;;;;;;;;;
    7 |3 K4 V( f8 p
  861. ( [, S: {! o5 o- m' q
  862. ; If you wish to have an extension loaded automatically, use the following0 P/ A) l6 z* n- Z0 r, T
  863. ; syntax:4 T; v$ R6 s1 P* a( j' M5 z3 d$ T6 n
  864. ;' z( O* ^+ S4 u- B% i6 D
  865. ;   extension=modulename.extension/ l+ V, r5 J2 J8 y* a$ w: E1 @
  866. ;( H# v& G/ r# f. G; ~
  867. ; For example, on Windows:
    ' ?9 l" ~) v5 J7 L& t
  868. ;$ Z+ ?# X. N: V- _" _4 b5 V$ |6 H* ?
  869. ;   extension=msql.dll3 b1 v$ D; ~$ p9 U& ]  b6 m- ^
  870. ;
    ; n9 J  {2 I. p8 R6 D( J
  871. ; ... or under UNIX:
    ( e3 `7 A9 k- l
  872. ;, N9 T) X  p: v7 n6 x. H  Q
  873. ;   extension=msql.so0 p/ ^* p- k8 [; v* @+ t
  874. ;. M) `& N! S0 M  p! U  {: W1 c
  875. ; ... or with a path:6 Z3 [+ l. [9 ]2 @
  876. ;6 W% V) E+ f: B) G
  877. ;   extension=/path/to/extension/msql.so6 Q7 k  V9 {* o$ D8 d
  878. ;3 t% \' x% M  l; L" h3 f) N8 @. R
  879. ; If you only provide the name of the extension, PHP will look for it in its! }& N2 j7 ^+ z  ?
  880. ; default extension directory.
    : q% `4 g) b: x! z8 p% i$ g7 p
  881. ;
    / K/ ^( N5 ?3 g% C( V9 L. `
  882. ; Windows Extensions# b7 D. w' q- k' B* c; \5 y
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ) ?$ _0 M- I+ P7 ]$ S, k
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ( }" ^- Y4 l# W' E
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).: `, e8 e- W1 O/ c) w# T
  886. ; Be sure to appropriately set the extension_dir directive.  d0 O" G) W+ U0 R) j" V) |: ~
  887. ;
    6 W9 ^" F" B. l1 p2 Z
  888. ;extension=php_bz2.dll
    1 T5 Y% T- R" X8 s) Z  x) O* f4 f
  889. ;extension=php_curl.dll
    & M  {; w  W: w- `
  890. ;extension=php_fileinfo.dll
    . A! `8 n9 L; q2 G1 g9 d: h
  891. ;extension=php_gd2.dll
    + Q' p. y4 e; g9 t1 V
  892. ;extension=php_gettext.dll5 ?) g; K) O: W
  893. ;extension=php_gmp.dll
    1 e0 G7 E4 G! m, b8 T1 z7 q
  894. ;extension=php_intl.dll" [8 N$ `, @) G/ z% z! ?! N6 Y' ?3 N
  895. ;extension=php_imap.dll
    & @2 e2 }" E8 s- K  I! I, O
  896. ;extension=php_interbase.dll
    6 ]8 _0 v7 `# w+ j7 W% E
  897. ;extension=php_ldap.dll5 S* ~) D5 g; b. Y! L. Z" M0 n, `
  898. ;extension=php_mbstring.dll) ]+ ^7 f! H2 c4 g
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    1 M6 x0 \* m1 X: p
  900. ;extension=php_mysql.dll
    7 @7 C  j7 H7 g& o
  901. ;extension=php_mysqli.dll
    / w; N- Q" S# W) N' a4 S7 N
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client4 t3 U2 T" y9 _+ i/ J$ _
  903. ;extension=php_openssl.dll
    ) I+ y' Z. P( L3 @/ m  m
  904. ;extension=php_pdo_firebird.dll, o0 i1 f6 H# a' D( o* m  m
  905. ;extension=php_pdo_mysql.dll
    5 j' ]* j, D( V: u7 S9 Z
  906. ;extension=php_pdo_oci.dll
    4 S9 _* B( Y4 h- G
  907. ;extension=php_pdo_odbc.dll
    # ]" z3 I6 [" a5 K- A
  908. ;extension=php_pdo_pgsql.dll. D( l) u# H" ~2 H9 k
  909. ;extension=php_pdo_sqlite.dll+ b/ |2 E% Q' A  f2 K5 ~( A
  910. ;extension=php_pgsql.dll
    3 x* d( V# _# X8 E  X. G6 f* B; [
  911. ;extension=php_shmop.dll
    5 u8 `6 v6 n, q2 D. s
  912. ( F0 }! |- @. ]3 J: r1 v4 y
  913. ; The MIBS data available in the PHP distribution must be installed. . m: X( {# {3 e
  914. ; See http://www.php.net/manual/en/snmp.installation.php ' I# _5 M; D: m' W4 J
  915. ;extension=php_snmp.dll0 R7 `# Q% l1 x( M: b! T

  916. 7 h" B2 }6 q& w1 m. m
  917. ;extension=php_soap.dll4 c( R7 c1 y6 g0 I6 _  D
  918. ;extension=php_sockets.dll& c7 p$ m0 e: f  M  c! ^7 S( A
  919. ;extension=php_sqlite3.dll
    ' y1 e! b/ w$ o. A& a  q* v( {/ ~! Y7 _
  920. ;extension=php_sybase_ct.dll2 V7 h8 y0 n  G3 a) F( z( i4 Q$ L
  921. ;extension=php_tidy.dll
    % E+ Q- m( E2 s/ {/ P: H- a* e
  922. ;extension=php_xmlrpc.dll- e" T2 M  r+ s9 e
  923. ;extension=php_xsl.dll7 F, e4 @7 d4 L( w0 ]# K+ l- }
  924. 2 D1 c9 b+ Q2 ]' h5 H
  925. ;;;;;;;;;;;;;;;;;;;
    3 }" f% C5 G- c; Z# E$ E, ^# B" K
  926. ; Module Settings ;
    2 \% M& Q" i2 T  ]1 }) ^
  927. ;;;;;;;;;;;;;;;;;;;
    % M  d9 ^8 R, b6 f4 A* [

  928. 7 {6 m' i" y! g) o& G/ a
  929. [CLI Server]9 a0 [+ ?2 ^& s2 Z2 h
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.6 ^; l; _% S# U. L4 u" j. E
  931. cli_server.color = On4 S7 r& R) h5 H/ {' \
  932. & f* O7 h' b4 c1 `7 Z1 Q5 f
  933. [Date]$ _& o* v& \; f: W" J; B7 C. |
  934. ; Defines the default timezone used by the date functions( r; g  e1 O7 W2 y1 O
  935. ; http://php.net/date.timezone
    & B' i7 i) x3 R" d- C, ~( c: ^
  936. date.timezone = PRC
    ' K9 d# ~0 A/ c) C

  937. 9 J; e+ W/ i3 h' N
  938. ; http://php.net/date.default-latitude7 V, x$ W' Q1 n5 C, T* e
  939. ;date.default_latitude = 31.7667
      s* ?4 Y. p( b8 }4 z2 X) e

  940. 6 \8 L) T8 k) `3 v6 ?
  941. ; http://php.net/date.default-longitude& n' d5 i3 F* F0 c+ l
  942. ;date.default_longitude = 35.2333& P# h) G, A) M6 e: i% \3 V

  943. 0 ]1 B) a* @0 |' |
  944. ; http://php.net/date.sunrise-zenith2 L8 Q9 p  M6 T
  945. ;date.sunrise_zenith = 90.583333
    : V5 \. k' n# G& I+ K

  946. 9 d: N: s3 `7 V" i
  947. ; http://php.net/date.sunset-zenith
    - k7 Q( ~; U# n; Q- m. y
  948. ;date.sunset_zenith = 90.583333
    & j. V; d' J6 e
  949. " a% z: P$ ]9 [- d2 p
  950. [filter]
    ; k9 Y) S# z" l0 t& h$ o* d
  951. ; http://php.net/filter.default
    $ d) H6 I$ f+ h( I6 m0 Z8 y
  952. ;filter.default = unsafe_raw
      e- s. w9 z" `: W2 M% e# c# S

  953. # [6 B7 Y  A4 Q8 q
  954. ; http://php.net/filter.default-flags
    : T" c* ~$ @- d( o* P) G
  955. ;filter.default_flags =
    - G' F, f8 T% V' ^+ `) w5 x  G

  956. ' P7 e6 N/ \/ g: t" `5 k
  957. [iconv]
    - b9 q5 K# U2 K0 m; M. M$ L' ?
  958. ; Use of this INI entry is deprecated, use global input_encoding instead." d/ u$ m+ D2 a2 ?  q
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.( V. G9 Q) B, f) U4 P
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding+ F5 N6 H) o# v! ~+ q! }& Q+ ~
  961. ;iconv.input_encoding =4 k5 [' Z/ L3 J* g+ d5 z- g" N
  962. ; O1 e! S1 A, x% c
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    7 _) y$ }1 O) v  z. N
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    7 ]+ \' o/ I" _+ g$ u0 t7 f! g
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    9 Z) Y9 ^- s! G: P$ f8 M6 }: J0 @
  966. ;iconv.internal_encoding =
    $ F4 k* q/ y! S% N7 i6 x
  967. , X0 [9 M! s: p, F
  968. ; Use of this INI entry is deprecated, use global output_encoding instead." o" a+ i" H' |5 N. @
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.$ h; L# q+ Z% Q0 D* m5 b
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
      ?, ^; W% s2 r9 n
  971. ; To use an output encoding conversion, iconv's output handler must be set$ r, P% g7 j2 R! b
  972. ; otherwise output encoding conversion cannot be performed.
    & c0 r, J+ s" Y8 @& O; z
  973. ;iconv.output_encoding =4 w6 P+ y1 J/ X' S* V
  974. 4 s$ j( b+ {. d4 e: a, v: z! E3 E
  975. [intl]' q' J( K- f' i7 o- j5 K. W
  976. ;intl.default_locale =
    4 ?( |/ q1 |; G: P. ?- g
  977. ; This directive allows you to produce PHP errors when some error+ ~9 m0 k! t+ C" P5 l) X
  978. ; happens within intl functions. The value is the level of the error produced.
    : Y6 g) o( t4 I3 e; ~3 ^
  979. ; Default is 0, which does not produce any errors.
    + E/ ?( J" V* r3 p1 u' y4 H( s
  980. ;intl.error_level = E_WARNING
    ' l/ S/ o1 U- q! W; r
  981. ;intl.use_exceptions = 0  R7 _+ p' ]  d8 ~0 }

  982. - J1 `" ?( y% X; R4 G% A: X/ `% r
  983. [sqlite3]" Q8 L* ^7 w+ S/ P, G: {8 p
  984. ;sqlite3.extension_dir =! C4 g4 F4 I; {4 }

  985. 3 }% [: ~. Y" Z8 `' ?+ ?' w9 Q
  986. [Pcre]
    # R. b- E" K1 _5 M+ A# z% A
  987. ;PCRE library backtracking limit.! ?. W1 [. ]9 I* L! T# K
  988. ; http://php.net/pcre.backtrack-limit8 ]  ]1 }8 h4 l" R0 e# G/ C, k
  989. ;pcre.backtrack_limit=100000. |) ^4 P8 f) B3 I* a% O1 b# E

  990. $ {! E- _" h/ l3 C6 R
  991. ;PCRE library recursion limit.
    $ i% e: Q/ r. h8 e+ U$ p
  992. ;Please note that if you set this value to a high number you may consume all3 o" _! u4 r1 v8 z0 a% E" h$ z
  993. ;the available process stack and eventually crash PHP (due to reaching the, X1 l+ j2 l$ N* u' j/ p  Y8 s  i7 m' w
  994. ;stack size limit imposed by the Operating System).' {3 H  H2 d4 |0 H" x' K3 F
  995. ; http://php.net/pcre.recursion-limit7 q) X6 \+ F% h/ h4 {, t
  996. ;pcre.recursion_limit=100000+ ~; u% {9 O) x1 ~. h

  997. 7 b& g$ L1 g; _" u) K9 C3 L$ t
  998. [Pdo]
    3 w) @. E* R: `
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"1 x/ C% R+ i) c6 s
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ! [' l8 S; g) T- x& Z
  1001. ;pdo_odbc.connection_pooling=strict1 n: _8 T/ y% v
  1002. . y$ {1 M; V0 f! Z- y' X% N7 Z, ^
  1003. ;pdo_odbc.db2_instance_name
    4 R+ x2 h% k: n& c0 f. |3 ]2 c% k8 J
  1004. ' n9 R0 n' c( S, N
  1005. [Pdo_mysql]
    ; ~1 [. z0 G* d+ d& Y5 b
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . \2 N; o  m7 T  R  }
  1007. ; http://php.net/pdo_mysql.cache_size4 g0 d' f! L! {3 f: z# o# h
  1008. pdo_mysql.cache_size = 2000
    - t# l5 m0 N& p6 Y# b" N3 q

  1009. . Z7 H2 P0 w2 K; e0 ]) \
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; B( s9 Y$ M( {4 J" t5 \( O0 o! K
  1011. ; MySQL defaults.9 y9 `& N% ?( n4 C! J2 N" L
  1012. ; http://php.net/pdo_mysql.default-socket* k9 l0 L: \, ]
  1013. pdo_mysql.default_socket=
    " D: m% P2 U  f$ o; U- I

  1014. 4 N7 f  I$ U" }; D  k
  1015. [Phar]6 {: ?, ~5 K$ h# i0 q
  1016. ; http://php.net/phar.readonly
    8 B( k" Z8 _8 o9 ~5 F- g+ h
  1017. ;phar.readonly = On* j- B/ F6 J! @$ Z" N  t; m9 ~0 L

  1018. " E- h4 W6 [6 B! R% i4 J
  1019. ; http://php.net/phar.require-hash
    + ^0 ?) u0 G; ^3 u9 A
  1020. ;phar.require_hash = On
    % U+ j# o, T$ c5 \
  1021. ( J6 l! S% }: O) e3 L1 n5 @
  1022. ;phar.cache_list =
    " _# t; O2 D0 ?' ~: `+ S
  1023. - d9 p/ Z2 ?" }7 r) ^
  1024. [mail function]
    / M  U; S5 u. O- e
  1025. ; For Win32 only." s& T5 I4 A. X
  1026. ; http://php.net/smtp" y& a1 {. V0 o% w
  1027. SMTP = localhost9 D( z3 V* o0 k
  1028. ; http://php.net/smtp-port
    & H, s& X$ U. h& }1 |7 \* I
  1029. smtp_port = 25
    * ^9 h. F7 M; k( x) x7 _5 i& r) h
  1030. 4 a, c. [( f1 _
  1031. ; For Win32 only.
    2 _; E! g; \/ U1 o
  1032. ; http://php.net/sendmail-from  Q! y0 o4 Z( {1 o( o! @- r3 o
  1033. ;sendmail_from = me@example.com
    * E$ l- N* }0 N. A: G/ t  C
  1034. + l/ R4 Y; U- m! y4 t
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ) s; J# d3 q" A$ c
  1036. ; http://php.net/sendmail-path  ]6 o, p% Y) \
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    " q5 ^" U* P7 u) O( F
  1038. & m/ f5 o2 U1 U- |7 H. s# t
  1039. ; Force the addition of the specified parameters to be passed as extra parameters/ P0 @# Q0 L# _& c$ N  e
  1040. ; to the sendmail binary. These parameters will always replace the value of
      G& r# h/ `5 c" g1 F3 X5 M# z4 k
  1041. ; the 5th parameter to mail().% G  v6 N, I) G" w
  1042. ;mail.force_extra_parameters =
    ( ]: d. p5 A/ W$ Z

  1043. $ e) U$ T, W  L' |) J
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    - K% X6 m7 ]1 q! _- ?: m4 V% D
  1045. mail.add_x_header = On- L% U6 k8 R; {% }% Q* O

  1046. 3 T% {  E, b1 N" r/ \
  1047. ; The path to a log file that will log all mail() calls. Log entries include4 Q- I) Q# D: W* c" y0 a5 w. \
  1048. ; the full path of the script, line number, To address and headers.
    6 i% J) Z5 Y$ y) u0 u' e7 E
  1049. ;mail.log =
    * y) O( C# ~  v. [% E% J2 E) |3 I1 y
  1050. ; Log mail to syslog (Event Log on Windows).
    1 ]1 Y9 n, b8 f( M6 u5 W
  1051. ;mail.log = syslog
    ' N9 W1 V) @: j: D  J8 w0 G7 k( m

  1052. : k% g4 u  c2 }8 ]  u. F
  1053. [SQL]
    ) |' I. b" G0 b+ g+ I* o& M5 G" |
  1054. ; http://php.net/sql.safe-mode0 y& ]$ C# u$ F" ^
  1055. sql.safe_mode = Off
    2 b$ M3 B1 h( ~+ ~, C
  1056. 6 g9 M5 L0 |' ~. t5 a9 X4 W- O$ y
  1057. [ODBC]- Y* z: r8 `: g! J  a5 M" A
  1058. ; http://php.net/odbc.default-db
    ; w$ C' |* u* Z, j, t% ?
  1059. ;odbc.default_db    =  Not yet implemented5 {- y+ i( F! h9 ~5 V

  1060. . O1 x# o! z. s6 l
  1061. ; http://php.net/odbc.default-user
    + A: |: m2 r0 _+ W3 d; v+ U' |
  1062. ;odbc.default_user  =  Not yet implemented0 ?  O) T7 u, E. r% ?+ L8 k
  1063. , u, B- M; Z" `+ X6 {
  1064. ; http://php.net/odbc.default-pw
    : W" [( _6 E& J6 a9 x# k4 @* }9 P6 M
  1065. ;odbc.default_pw    =  Not yet implemented
    : \% \9 Y0 l3 Q3 `
  1066. , g0 c' x( G9 T9 H
  1067. ; Controls the ODBC cursor model.
    4 _' o% P6 j) A) H) F
  1068. ; Default: SQL_CURSOR_STATIC (default).
    0 y& s0 ?+ W9 B( r* b  d5 r
  1069. ;odbc.default_cursortype" ]% @, l3 A, T' P( Q! i$ l
  1070. 8 q* t* i. X6 h& V. A
  1071. ; Allow or prevent persistent links.+ V# o! t  i7 L( K1 F- h, a$ g
  1072. ; http://php.net/odbc.allow-persistent0 O- x5 J( c! v
  1073. odbc.allow_persistent = On5 D- G  u) c- f' j7 }: N- E3 ^8 |

  1074. + S3 }, v0 ?& }1 L' L
  1075. ; Check that a connection is still valid before reuse.
    1 W' N/ \8 b( Y
  1076. ; http://php.net/odbc.check-persistent
    0 B+ D/ E( w2 @  j% Z2 A) |
  1077. odbc.check_persistent = On
    - L) A5 n0 `# {6 \% W

  1078. ! W( f5 \4 R' W2 @8 R
  1079. ; Maximum number of persistent links.  -1 means no limit.' K) N! ~5 w: C/ K' ^# F
  1080. ; http://php.net/odbc.max-persistent
    ' ?6 Z) ^) g8 V3 q; g
  1081. odbc.max_persistent = -10 _; f% k; f6 T: z% G! a5 ^. H
  1082. % c( J( |9 F2 F/ o: g
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! H# j( l) \7 I
  1084. ; http://php.net/odbc.max-links
    8 K' c: {. I8 Q/ p2 |) f! e
  1085. odbc.max_links = -1& q) [& o' Y- v4 E. x! k  V

  1086. $ K5 e6 d. n. @5 @2 J: s  M+ d5 y
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means+ M9 f7 t6 K5 p* S' ]
  1088. ; passthru.- b3 d! Q9 d# d$ Y" e
  1089. ; http://php.net/odbc.defaultlrl
    9 N; O! t' n4 r7 h( w
  1090. odbc.defaultlrl = 4096  A5 P& M' f' }1 m5 x

  1091. * j4 Q: u$ U' b" W: ?* j
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.4 l. P7 h' i9 x4 Q
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    , D) _+ K% T# b* {
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    2 u! M3 s2 R7 i* c
  1095. ; http://php.net/odbc.defaultbinmode8 t3 J6 Y- ]$ x& C5 i
  1096. odbc.defaultbinmode = 18 q2 D, |1 y% i# m" y

  1097. ) J$ F: w5 V& N7 s& I& O0 {
  1098. ;birdstep.max_links = -1+ s- m3 z+ e% b' [0 i8 l
  1099. ! M/ C3 _7 u) X) ]$ I- ]( e
  1100. [Interbase]
    , B  @& }' f7 _0 f; `7 ]0 n
  1101. ; Allow or prevent persistent links.
    0 l: y  y! J5 \: P8 q# x4 J5 @
  1102. ibase.allow_persistent = 1
    3 L1 K8 k7 ~9 L
  1103. 4 u( n. ]7 R% K, A) t: U
  1104. ; Maximum number of persistent links.  -1 means no limit.6 g; M; q+ p9 ~1 I; W: V
  1105. ibase.max_persistent = -1- j7 ~$ |" `0 f& }, B  U" G

  1106. # t/ l7 x" n' f& H+ G5 a2 M
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 f+ M+ u* c& B, f( \5 U
  1108. ibase.max_links = -1# K  q9 E; T5 Y8 l% L/ K

  1109. 0 z. A0 L! }$ t8 G9 T% {4 F& ?  W
  1110. ; Default database name for ibase_connect().- d" y/ @; |1 S
  1111. ;ibase.default_db =6 Y9 [6 u( A- B' Q
  1112. 9 {: C+ _/ u7 \4 t: I
  1113. ; Default username for ibase_connect().
    % L' I& q8 v6 y" _! g
  1114. ;ibase.default_user =
    3 S* G$ y* m6 q+ c

  1115. * }: ~+ B, K9 a2 y- Z, a
  1116. ; Default password for ibase_connect().  I$ \* ~: d4 j! N- r! |& O1 j2 @
  1117. ;ibase.default_password =9 f' C1 D" s# W, z8 {9 S$ K: _) l) a* d( ]

  1118. & N" J; V% Y7 T5 j! z2 S7 i
  1119. ; Default charset for ibase_connect().' i( J* P0 h+ D+ t6 Q+ v+ P
  1120. ;ibase.default_charset =
    ( \1 ?, u; R; J: r
  1121. 3 c0 e0 P$ h' w% Y
  1122. ; Default timestamp format.! c0 y3 n0 a% p) Q. H1 a
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"$ K2 F1 B) @$ i. {
  1124. , [$ j% r0 c' ]. z
  1125. ; Default date format.$ x6 d- z* v: Q. S% n& Q, R. v
  1126. ibase.dateformat = "%Y-%m-%d": a+ Q+ e' o2 V* B2 }
  1127. 7 f2 r+ S2 T) k0 d/ m! |
  1128. ; Default time format.* T! `  ^+ z; M0 x4 O* C' d4 N$ |) _
  1129. ibase.timeformat = "%H:%M:%S"6 x" p, t4 \6 p5 x& E

  1130. 7 ]+ x6 T) q0 F7 @6 C
  1131. [MySQL]
    / `' c% o/ P  \- `8 V
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# k9 Y6 |( u2 W; j3 [
  1133. ; http://php.net/mysql.allow_local_infile
    * c' j: O# m8 B3 T
  1134. mysql.allow_local_infile = On
    3 L" D; s! v0 ^0 O) @+ Q! S* B, D

  1135. 4 l) O+ P/ M6 X$ y. o# P
  1136. ; Allow or prevent persistent links.
    ) `) L! C7 a" w1 V# j; X6 K- Q( x
  1137. ; http://php.net/mysql.allow-persistent0 G% C+ g& t/ m- @! y
  1138. mysql.allow_persistent = On7 }0 g) ?" S5 p0 j- p* b
  1139. ' c* M0 o5 n( f7 F1 w6 i* |7 ~3 M
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache% A: E5 W1 \' C  W  ?5 G
  1141. ; http://php.net/mysql.cache_size. t, D. n# I# p! Y2 r
  1142. mysql.cache_size = 2000
      Y; {% o0 B$ h. {5 G

  1143. - o" K. O# @" ]+ p9 k3 k1 H
  1144. ; Maximum number of persistent links.  -1 means no limit.
    , q! y6 @- i0 R3 Z4 H( j4 V
  1145. ; http://php.net/mysql.max-persistent
    4 f) Y" I% @4 B8 [# f8 f$ [/ ^
  1146. mysql.max_persistent = -1
    9 M- r* ^0 t: n' U) y* y- H

  1147. . c2 _5 ~: x% a' J
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# z3 i. C9 R; Q- \8 D
  1149. ; http://php.net/mysql.max-links
    6 z1 p: g- V' P8 v( w2 O
  1150. mysql.max_links = -1
    ) i2 R% m1 ?  w0 @! q
  1151.   M8 t. ?- ?9 c6 ]
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use# ^! C8 B+ Z( f6 f' U- W
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the: T% E% l6 W& z/ N9 a6 @) a
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    0 O% x! z- P. l$ T& J; Z1 Z
  1155. ; at MYSQL_PORT.
    ; z( C( J: p: a% E2 c
  1156. ; http://php.net/mysql.default-port: @/ [% H; T, R* }1 ~
  1157. mysql.default_port =! r. r% ~$ V9 ?

  1158.   d1 f% _- [5 ~7 p
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in, ]/ ~. B- [5 ]/ _, A
  1160. ; MySQL defaults.
    : g% |) W  \! {  \0 q
  1161. ; http://php.net/mysql.default-socket0 }, w4 A* [& H7 }) D6 M
  1162. mysql.default_socket =
    ( H8 t* m- ]* g' j7 Q0 n" R$ R
  1163. 6 O/ _  h7 L2 s) L7 g8 G
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    # j9 ?* ~2 z1 J! e% v0 \
  1165. ; http://php.net/mysql.default-host2 t& i  p* @0 X* }* a2 a
  1166. mysql.default_host =( X. V$ Q8 x9 q; [6 Q

  1167. 8 c* Y+ D7 c6 ]7 I
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).! W( g/ G# T3 K
  1169. ; http://php.net/mysql.default-user
    * }# X' E0 z' Z* o
  1170. mysql.default_user =
    # F0 p& D6 l+ D( Y! \0 n) M

  1171.   X9 _$ G2 V5 [' U8 j+ ^, Z/ X' ~
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    - B+ D3 X# [2 i) m3 R
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.: O- G2 N3 v) k* o$ m  X, W
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    2 b% n/ }" S4 b! r
  1175. ; and reveal this password!  And of course, any users with read access to this
    & H. i( x' R/ F- p
  1176. ; file will be able to reveal the password as well.
    2 v0 {8 j2 R* P7 ^
  1177. ; http://php.net/mysql.default-password& @0 Y; H8 S$ A! ^
  1178. mysql.default_password =7 c7 x1 G. ]$ w( A3 H/ N& j+ b
  1179. 0 b! U, f: a" M/ k
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit$ ^6 X8 F) {. X1 X1 X6 ?
  1181. ; http://php.net/mysql.connect-timeout
    1 s- S. O( \+ D2 Y* Q
  1182. mysql.connect_timeout = 602 k$ v$ a" H- H. d

  1183. 3 a, o. U# k  r+ D( ^1 ^
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    $ `9 y) ^$ f4 @* R4 e6 Z4 t7 o: Y/ R
  1185. ; SQL-Errors will be displayed.: P6 |7 o8 I- H& J8 _
  1186. ; http://php.net/mysql.trace-mode. H7 K; Z" }2 y& _) [
  1187. mysql.trace_mode = Off
    9 D7 l; {/ L5 J; a& |' U3 T

  1188. ' z; K" r; T, `% \( Y  K2 D9 G
  1189. [MySQLi]
    - [: r+ P7 d' @! t

  1190. 2 P9 L  w3 ^0 m
  1191. ; Maximum number of persistent links.  -1 means no limit.6 j3 s6 s: Z2 b% `7 S+ [# b2 O" N  X
  1192. ; http://php.net/mysqli.max-persistent
    - a$ |1 b) e) `* q+ v5 f
  1193. mysqli.max_persistent = -1
    0 E& ?5 ~- o  M
  1194. 1 ?% g3 |7 d& K" b& u3 I8 b
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    8 M3 j0 N" h, A
  1196. ; http://php.net/mysqli.allow_local_infile/ z5 H5 `! y0 @) k3 ?2 H( \6 v4 w" ~' [
  1197. ;mysqli.allow_local_infile = On$ q: Q+ ~) V" J! F& K) L

  1198. 4 }6 s( }9 c5 q: k
  1199. ; Allow or prevent persistent links.
    , z/ }& U3 ~5 K% o' ]
  1200. ; http://php.net/mysqli.allow-persistent
    7 t; K6 o2 I, o5 |; w* i( Q2 t
  1201. mysqli.allow_persistent = On
    5 Q& T6 a# r5 _6 A& O' O% ~0 I% G
  1202. # {. Y' W0 _* r4 v6 s
  1203. ; Maximum number of links.  -1 means no limit.# l9 J: ?2 I( @5 ]" S7 h0 g
  1204. ; http://php.net/mysqli.max-links
    4 r1 _* ], W- X1 _# e+ R
  1205. mysqli.max_links = -1. ~: q- A6 `6 x

  1206. $ r8 F9 i/ Y+ L. E8 y5 A$ U
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    * j- }! J( o/ `$ n0 Z, H6 f
  1208. ; http://php.net/mysqli.cache_size$ I$ j( q/ o* ^" K8 z7 [7 y
  1209. mysqli.cache_size = 20007 W- G+ {7 M- q2 ?
  1210. 0 w  q1 y. B5 x8 Y
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use# K" P9 I: P  ^, ?
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ) a; ^; p, B- S0 m, g+ v
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look6 X5 F: N) P* ~+ P* ?
  1214. ; at MYSQL_PORT./ s% _1 c  E$ |. F
  1215. ; http://php.net/mysqli.default-port% x+ p" @6 `7 ^$ o0 h
  1216. mysqli.default_port = 3306' L' G  @7 _$ ~7 Q+ l
  1217. $ M0 g% r3 c; @8 a3 V- k  Z
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in* v6 V! i7 B. x: R! l' J+ ]( t# R
  1219. ; MySQL defaults.9 b6 z$ B* P# s" L, c& H; ?& \. t
  1220. ; http://php.net/mysqli.default-socket
    3 E1 l& w" V, D  x! ?9 o
  1221. mysqli.default_socket =8 d- _6 w* ]$ g1 n8 H- n+ B

  1222. : n) z8 B( x) J! [; e5 X5 q
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    , F! f) b( k; u6 f
  1224. ; http://php.net/mysqli.default-host, B% q; ~% o, g1 {( Y( W+ @5 z8 r
  1225. mysqli.default_host =
    : b4 K  z8 S" `

  1226. ; X  H3 X- i, e  W, I' }6 F
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode)./ \& D/ C4 h% h, \/ [: p$ K
  1228. ; http://php.net/mysqli.default-user/ [% E/ W2 D5 b1 s" Q) {: N
  1229. mysqli.default_user =' y4 c0 d3 K% s% _$ l% F# A3 h4 E/ y

  1230.   p0 P* y3 S5 g. F: t  u
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    9 t/ p$ I* |' l% R! K
  1232. ; Note that this is generally a *bad* idea to store passwords in this file./ X% s+ P4 l4 `" N) U
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")3 f0 \5 V7 N/ S* D5 b+ i
  1234. ; and reveal this password!  And of course, any users with read access to this
    8 M: R; R4 {9 H8 _% C! R9 m; N
  1235. ; file will be able to reveal the password as well.
    7 X3 Z0 Y& v8 H6 S7 t9 D2 D8 O
  1236. ; http://php.net/mysqli.default-pw
    8 `. k# B1 v2 j( E9 _) Z
  1237. mysqli.default_pw =4 z  I% {! g! f. ^/ L& S
  1238. " K( F( n4 [$ y( W5 u4 }4 R' ^4 }
  1239. ; Allow or prevent reconnect
    , k1 R5 z3 z) l* {* G" p$ Y3 W
  1240. mysqli.reconnect = Off
    # X5 b% B4 F" m% V! N

  1241. & H1 l5 s0 n) x
  1242. [mysqlnd]# \% \3 X/ k2 Y. @4 `
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    % h/ a0 t+ j# r6 h
  1244. ; used to tune and monitor MySQL operations.
    " \9 y) P. V# n- Y5 U4 @1 i. T
  1245. ; http://php.net/mysqlnd.collect_statistics
    8 b" d7 R$ d& S
  1246. mysqlnd.collect_statistics = On& B7 b8 ~& ~7 X4 Q8 ?2 O0 n2 z3 `
  1247. 6 M3 V! y) b) Y1 h7 P
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    3 \. h: f+ \! X7 u& X* C
  1249. ; used to tune and monitor MySQL operations.  G$ m6 R/ V3 R/ O: h7 }
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    + y! L( c0 t2 S* ~0 t  u
  1251. mysqlnd.collect_memory_statistics = Off+ n4 h  c) L1 Z3 D* m& e

  1252. + A8 h7 T# _% n, |5 l. `& D9 }/ l* G
  1253. ; Records communication from all extensions using mysqlnd to the specified log' s6 Y5 w' J& d2 s" e- \
  1254. ; file." A+ B* X" R) F3 Y5 F% K
  1255. ; http://php.net/mysqlnd.debug7 t! ?2 k5 X# d; M, n$ y
  1256. ;mysqlnd.debug =4 v2 b5 }) U$ ?" h+ z( d% A

  1257. 9 b% Z& {/ k5 J4 n0 x" b& i6 P
  1258. ; Defines which queries will be logged.4 E% J5 Q5 _/ u" s/ G
  1259. ; http://php.net/mysqlnd.log_mask
    + i4 `  ]4 B$ H9 R3 Z- j# H) `9 ^
  1260. ;mysqlnd.log_mask = 0- d( W2 }" h3 ~

  1261. : D4 d# d) t  _
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    1 ~3 u. G7 V% F0 ^
  1263. ; http://php.net/mysqlnd.mempool_default_size
    , }: o; B2 B# A2 ~$ m# c( W
  1264. ;mysqlnd.mempool_default_size = 160001 X& j7 G& N) B8 l
  1265. / A& z/ e, Q+ L+ S
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    2 a( o6 ~8 P  m/ V7 e" d: K
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    + O- P, ?, f% b8 ~% ^
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ! t- l7 i5 t1 d6 L' I+ t
  1269. . D$ k0 L- N/ E  y
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in+ z5 T3 m" @0 y% R; k
  1271. ; bytes.
    ) s% v% u* r- S( o4 W* X
  1272. ; http://php.net/mysqlnd.net_read_buffer_size7 n# ]! l* q6 q7 F" S
  1273. ;mysqlnd.net_read_buffer_size = 32768  ~5 x5 X$ y, y; s6 F% A  S* }  C
  1274. " D) R# o; s6 _5 z% T# u  r6 Y: x2 r
  1275. ; Timeout for network requests in seconds.
    ) P9 t" y3 @& q4 g+ p* ~
  1276. ; http://php.net/mysqlnd.net_read_timeout3 i* L' o4 y4 v  K
  1277. ;mysqlnd.net_read_timeout = 31536000) d( m) k" ^1 A1 m, H8 v- c

  1278. 7 w) d9 q, w6 e. Z7 u, y
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    * @0 T; a9 `. J& @8 k
  1280. ; key.
    2 U% t5 R  C8 A3 U4 C# h$ i- _
  1281. ; http://php.net/mysqlnd.sha256_server_public_key6 x& y4 L+ k& X' v4 y+ \" m
  1282. ;mysqlnd.sha256_server_public_key =. M1 {% d$ \4 p6 R6 m& n' }9 b
  1283. , R; [, S- U( r
  1284. [OCI8]( ?% v! L& d( g9 W' W6 D! L; E

  1285. + @! ^* N# ?, E* i( ^$ V
  1286. ; Connection: Enables privileged connections using external
    # k1 D0 F/ Y3 G$ A" d* J+ M
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)- C+ k; n+ e( u$ Z
  1288. ; http://php.net/oci8.privileged-connect
      r0 I' o( T  N0 j2 V
  1289. ;oci8.privileged_connect = Off
    , D" a; {; z0 H% _' h$ L0 B3 h0 x

  1290. . {5 |8 k3 r4 z, n! U( d! `
  1291. ; Connection: The maximum number of persistent OCI8 connections per+ t& G# x8 C4 w7 v' q% L& u
  1292. ; process. Using -1 means no limit.$ v; e6 S. S! ^- x2 M
  1293. ; http://php.net/oci8.max-persistent
    ! ^  [8 G% V: ]- z* l
  1294. ;oci8.max_persistent = -1
    3 a/ L% c" X  [' D7 D
  1295. : E. s- k2 u. C7 p& j; u0 D
  1296. ; Connection: The maximum number of seconds a process is allowed to
    7 p3 K) {" p& p6 Y' ?
  1297. ; maintain an idle persistent connection. Using -1 means idle6 c% A+ B; h0 }. f
  1298. ; persistent connections will be maintained forever.
    ( Y; ]# L2 ~: w: A' z9 S5 Z
  1299. ; http://php.net/oci8.persistent-timeout
      r0 i5 ~  m; V  v$ b1 E, q
  1300. ;oci8.persistent_timeout = -1
    * h+ ?0 T% Z* e
  1301. + t, V+ j! W! M2 ]' X' f% ]8 M
  1302. ; Connection: The number of seconds that must pass before issuing a
    # t( E' t; O* ]% |. p- r, b
  1303. ; ping during oci_pconnect() to check the connection validity. When7 s/ e2 Q7 T; C+ b! H: z
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables! A, ~9 A7 Z4 {6 @
  1305. ; pings completely.
    0 x9 E/ a( f# P7 I7 C
  1306. ; http://php.net/oci8.ping-interval1 |: K0 _0 u( j$ m0 ~  a; f1 ~8 q
  1307. ;oci8.ping_interval = 60
    1 ?+ C# n* ?6 {

  1308. 5 u; b) @# M( F( V
  1309. ; Connection: Set this to a user chosen connection class to be used
    ' {2 S! W7 c6 Y3 R  ?: t
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    * d4 }- E7 e* r
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    7 r. M* n$ o7 u* R
  1312. ; the same string for all web servers running the same application,
    & s1 u' Y8 @# B% K4 b; ^! V: w: M
  1313. ; the database pool must be configured, and the connection string must2 E* u9 h9 |  r+ H8 \+ Y
  1314. ; specify to use a pooled server.* n4 s7 l! s& Z% O8 H5 K
  1315. ;oci8.connection_class =
    $ _9 a5 \" Q& s) l3 x
  1316. , L4 C0 ?& i: s- y: C9 w  z
  1317. ; High Availability: Using On lets PHP receive Fast Application
    5 S5 Y2 [# o# f6 c- I1 i
  1318. ; Notification (FAN) events generated when a database node fails. The1 K( H" ?6 o$ ^- p0 ~* f' T! D
  1319. ; database must also be configured to post FAN events.% Q* U2 C4 C7 z6 e! b
  1320. ;oci8.events = Off
    ' d: [, D2 w6 K# V4 R

  1321. % o/ F7 }4 m5 m- I& R& @& F
  1322. ; Tuning: This option enables statement caching, and specifies how7 Z  t. Z# P( q$ d# A
  1323. ; many statements to cache. Using 0 disables statement caching.
    9 e; e: b: R/ n4 `8 A4 T
  1324. ; http://php.net/oci8.statement-cache-size
    2 q& k5 ]) [9 K: U
  1325. ;oci8.statement_cache_size = 20
    2 e# g) n) j! ~. V: U+ s5 u  G4 p
  1326. 8 w' Q# Z6 u7 Z9 ]* V+ e7 `; ~9 q
  1327. ; Tuning: Enables statement prefetching and sets the default number of4 C; G3 L- |2 G' I$ Y* I5 w
  1328. ; rows that will be fetched automatically after statement execution.
    # Q1 X0 M1 q; q0 Q0 m. c  l
  1329. ; http://php.net/oci8.default-prefetch0 D7 M2 m" [/ H$ D, Q4 v
  1330. ;oci8.default_prefetch = 100
    5 `$ v  E7 [1 @: e7 P

  1331. + Q6 v% t. r6 j" Q
  1332. ; Compatibility. Using On means oci_close() will not close; r0 i* A, H, ~# }" t
  1333. ; oci_connect() and oci_new_connect() connections.
    ; W. g, m+ m& N- D
  1334. ; http://php.net/oci8.old-oci-close-semantics3 P# u; M' V' `7 |  ]) I' N9 B+ O5 i
  1335. ;oci8.old_oci_close_semantics = Off2 V' p! M/ a$ Q' R( Q' T

  1336. 6 [" u9 t% Q. h8 {: H+ T# Q
  1337. [PostgreSQL]
    : S# m5 j- F9 ]$ M* G# u' b
  1338. ; Allow or prevent persistent links.9 [) Q8 A0 Q. u" l0 M1 V
  1339. ; http://php.net/pgsql.allow-persistent
    & g/ g2 ^% `& g9 t) ^
  1340. pgsql.allow_persistent = On) r  O) u! E$ f1 Z* N8 E& R
  1341. . A: V7 d! C7 r6 G  U
  1342. ; Detect broken persistent links always with pg_pconnect().
    * N% U. J5 R7 u* V/ R& x
  1343. ; Auto reset feature requires a little overheads.! I" G( b; F* e( ^9 z
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ) Z# }3 e3 r4 v8 O/ ]" i: e
  1345. pgsql.auto_reset_persistent = Off$ G- _& s" u8 J( h1 W9 n# Q2 p
  1346. # ?& c0 y6 R. y; `" i' \0 U5 i/ e
  1347. ; Maximum number of persistent links.  -1 means no limit.
    : k  y1 ^& L5 w8 S, K
  1348. ; http://php.net/pgsql.max-persistent
    8 p$ ]) H* N9 s: D9 b+ Q
  1349. pgsql.max_persistent = -1  v8 n) n4 k1 [

  1350. & k* u* U4 C5 R( {5 z' A1 Q
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit., M# p$ g! M  H( S; B
  1352. ; http://php.net/pgsql.max-links
    2 i3 l7 y' P$ g' N5 b
  1353. pgsql.max_links = -1
    1 G! o( L5 {; D1 }5 j8 t' U: E' m% W+ G8 p" S
  1354. / P9 Y2 P+ q0 W2 C
  1355. ; Ignore PostgreSQL backends Notice message or not.
    3 {, w7 p2 R4 V# N2 |/ }6 R; @
  1356. ; Notice message logging require a little overheads.. H' J- r3 v5 ^. n
  1357. ; http://php.net/pgsql.ignore-notice* }% m6 i7 }2 M7 `2 e! M. F" j
  1358. pgsql.ignore_notice = 0$ r9 D" J7 g) P9 F2 T3 _. E
  1359. * J% H7 e; o% _; K  X, ^. n
  1360. ; Log PostgreSQL backends Notice message or not.
    $ c) P% P8 H- t  f/ t. L2 p
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.8 ?( K. n) S- b6 m
  1362. ; http://php.net/pgsql.log-notice
    4 P. }3 i; V8 }9 _
  1363. pgsql.log_notice = 0
    / a$ H9 G/ o# x! |
  1364. / J/ V1 u7 k) y
  1365. [Sybase-CT]9 w" M# d# r+ {: Y/ d
  1366. ; Allow or prevent persistent links.$ s/ V- i6 ^+ L; n" g8 O; ]
  1367. ; http://php.net/sybct.allow-persistent* a* j4 f. P. g' e
  1368. sybct.allow_persistent = On7 ]5 F+ ]( T  g+ k

  1369. - w3 P# h2 V" V7 U7 \7 B; I: R* P
  1370. ; Maximum number of persistent links.  -1 means no limit.0 {; G' C& ?! c0 Z2 G- ?2 l8 o" X
  1371. ; http://php.net/sybct.max-persistent
    0 m2 X$ \5 F1 y' \/ l  m6 w
  1372. sybct.max_persistent = -1
    * t- }6 i5 o0 L$ N  \( L4 J
  1373. 5 N! L' p, S7 g* i( F! g% E
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) N# f1 S& V- [6 P; j1 [
  1375. ; http://php.net/sybct.max-links- ?, ~0 J2 {  H" y1 E3 @
  1376. sybct.max_links = -14 O4 O+ z4 [  q8 \2 `+ F& a- f
  1377. ! b# j2 H. w% n8 q( r
  1378. ; Minimum server message severity to display.9 W. v$ @3 j  _; W: R$ L; @
  1379. ; http://php.net/sybct.min-server-severity0 W8 n. E: q" y! O; c
  1380. sybct.min_server_severity = 10& [7 q6 F* N8 z5 I/ y; H
  1381. ( O( p. o. Y7 t' q/ z& c4 ^
  1382. ; Minimum client message severity to display.
    3 x' ?: m2 ], S" D8 t
  1383. ; http://php.net/sybct.min-client-severity/ V' I9 r. k- e
  1384. sybct.min_client_severity = 10- M2 \, j) U5 n' u; ^- R

  1385. / ^2 N: ]+ q( V1 a2 L8 l% l
  1386. ; Set per-context timeout
    7 J: I* X/ Y* t0 T) h" J6 E" }
  1387. ; http://php.net/sybct.timeout% ^1 i6 y- C6 B+ L! j3 w
  1388. ;sybct.timeout=
    8 \) g9 _- B/ T9 t6 E6 |
  1389. & }3 i5 ^. ^+ K
  1390. ;sybct.packet_size
    4 l  Y9 y! p3 i) b

  1391. : |' }! ?. a( _
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    % k# h' y1 N8 R& G
  1393. ; Default: one minute* ?( i! e2 ?# }1 c' `& [6 c3 ?
  1394. ;sybct.login_timeout=! r; O$ j) E; T' U' Q/ Y9 ~& o

  1395. 2 y1 }: F$ A# t8 A
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ' b% D5 s, h9 y
  1397. ; Default: none2 z9 A. _& }6 G$ M
  1398. ;sybct.hostname=
    4 ?7 |3 \$ A  d  b  F- z4 j- G
  1399. # B6 q7 ]- {2 v6 q7 S
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    2 ]! Y( f& H. G! G$ z- J  A. [5 A
  1401. ; Default: 0
    8 J$ u0 L7 y8 I6 e) z; |
  1402. ;sybct.deadlock_retry_count=" v1 `  C# a( x0 h

  1403. ( g$ X" A! Z; p; \) H1 x% S& K9 }
  1404. [bcmath]
    - _& r  s& b3 E, P/ l: W
  1405. ; Number of decimal digits for all bcmath functions.
    6 H5 L5 d+ q2 }, p: F! f7 {
  1406. ; http://php.net/bcmath.scale( {- L' U& g; y* |  @& K
  1407. bcmath.scale = 0; A! b% r  O& L$ ~8 j' _

  1408. % ^/ a2 J" u  I8 s3 q
  1409. [browscap]
    0 G; ?" p6 N( p* p
  1410. ; http://php.net/browscap
    ! ^! e( ~/ A. M$ \/ |, l$ |
  1411. ;browscap = extra/browscap.ini
    7 c% a6 ?& X  J3 I/ x
  1412. 6 ]; @' H% {/ V! T7 r0 q
  1413. [Session]
    : ]( A7 B4 T" g9 B+ W  I
  1414. ; Handler used to store/retrieve data.' _: v6 ?( ~: y) o" e" p
  1415. ; http://php.net/session.save-handler
    & w6 Q& J" i. z# F' O" C, g9 D; I
  1416. session.save_handler = files  `- I/ t7 [- f& u

  1417. $ O! W8 I, Z0 {( ?! t
  1418. ; Argument passed to save_handler.  In the case of files, this is the path; A" C+ k/ P3 a0 |; B% r
  1419. ; where data files are stored. Note: Windows users have to change this6 Z2 z  p, p9 w9 m/ B/ b4 y4 ]
  1420. ; variable in order to use PHP's session functions.: ~  ~8 c1 f( ?
  1421. ;( k# K- R$ U& t8 K0 K$ i2 z
  1422. ; The path can be defined as:
    3 Y8 t# C& P8 G5 f
  1423. ;
    3 }7 E$ K. e7 @" h) w
  1424. ;     session.save_path = "N;/path"" a& }( D$ S- q5 g: L
  1425. ;* g  J! e" O, T% _. f' }  j
  1426. ; where N is an integer.  Instead of storing all the session files in
    1 G: L; _3 E, ^" W+ C: L1 ~
  1427. ; /path, what this will do is use subdirectories N-levels deep, and/ V6 I- L2 P9 M$ n0 W' l" C
  1428. ; store the session data in those directories.  This is useful if
    / \; x) |) G6 `* f' @: h
  1429. ; your OS has problems with many files in one directory, and is7 Y8 B) t* W3 j# a9 R  g8 ?6 l
  1430. ; a more efficient layout for servers that handle many sessions.& ]4 r  X: u, |5 b) Y  F
  1431. ;
    + J+ J) a6 T8 k+ M1 |
  1432. ; NOTE 1: PHP will not create this directory structure automatically.9 K( b$ _7 Q2 V- F) d  v4 y
  1433. ;         You can use the script in the ext/session dir for that purpose.* @8 S3 P. x0 o! ^# b4 Y
  1434. ; NOTE 2: See the section on garbage collection below if you choose to# D6 w3 f+ G3 Y
  1435. ;         use subdirectories for session storage2 E" V( I8 A' M& E
  1436. ;
    0 X/ L0 `) `6 m: U1 B; `# ^- l8 A
  1437. ; The file storage module creates files using mode 600 by default.
    - i! h+ x' P* e# u) D
  1438. ; You can change that by using
    ' V1 G3 Y$ l( W7 ~" o8 P3 `0 x8 u
  1439. ;
    ! _1 O# A# H7 g/ ?6 |9 z
  1440. ;     session.save_path = "N;MODE;/path"! q0 d0 o: @# L8 n; E6 T
  1441. ;
    # o: R; T8 g" h! i6 i
  1442. ; where MODE is the octal representation of the mode. Note that this$ f% ^! Y) N6 H! Y" n& D- U
  1443. ; does not overwrite the process's umask.6 b* C- }: f1 d. @
  1444. ; http://php.net/session.save-path$ J2 x3 }2 ^8 g' e7 ^" l3 u0 _; O
  1445. ;session.save_path = "/tmp"
    ) W# g  A4 }, X6 [! F/ `9 b

  1446. $ a: E- O. w0 c( w! Q: Z
  1447. ; Whether to use strict session mode.
    1 G8 g* i8 ~8 S2 t6 {/ T
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate7 F9 x3 `8 U# ~: h' j4 Z
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ! j# o" K1 Y6 C3 M
  1450. ; applications from session fixation via session adoption vulnerability. It is$ c- V+ J% N1 l9 [( a9 b
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ( u  k1 A- o, h9 O' u
  1452. ; https://wiki.php.net/rfc/strict_sessions
    0 ?# [9 E, b6 z- E
  1453. session.use_strict_mode = 07 u2 F0 z) }: r' E

  1454. ! ]$ k3 a6 T; w+ z* n
  1455. ; Whether to use cookies.) L9 T. T9 q1 I/ m. c
  1456. ; http://php.net/session.use-cookies! \/ Q$ o: c6 ?# O2 E% B1 |
  1457. session.use_cookies = 1
    ) x8 x9 J( G1 W# i6 E

  1458. 2 }! T' @: E  a+ ^- I
  1459. ; http://php.net/session.cookie-secure
    8 d& t* X+ [- p% D, D8 C
  1460. ;session.cookie_secure =) L9 y: |5 `0 U. @7 z' F

  1461. ' N# v+ T! w& g8 p* ~
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    : ~: f5 a4 y! V- t( n: j7 F1 J
  1463. ; the session id. We encourage this operation as it's very helpful in combating) ~; ?9 q! t( o5 N
  1464. ; session hijacking when not specifying and managing your own session id. It is
    # D; ]! P2 F4 ~8 R& i
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.0 l0 m# D4 |- e) R4 `; L- ^5 b; J
  1466. ; http://php.net/session.use-only-cookies  |0 V3 w" W- y0 w
  1467. session.use_only_cookies = 1
    / z3 @+ C+ \# z$ G. i: b

  1468. 1 ?0 V$ B6 O- e0 ~- ^; m7 a
  1469. ; Name of the session (used as cookie name).
    * ?: r. F1 ]: d* c/ Q% _
  1470. ; http://php.net/session.name
    / z$ }9 _: d1 j9 ]" P% U
  1471. session.name = PHPSESSID6 E: r4 J' q& e# r5 n! y
  1472. 8 k' g' e5 z+ A0 L, a- a; W6 b
  1473. ; Initialize session on request startup.
    / J" M) k) J3 A8 M5 ^
  1474. ; http://php.net/session.auto-start
    9 y  |8 u7 Z3 S
  1475. session.auto_start = 06 ]) i- }4 a1 _$ ?8 d8 S
  1476. # W/ e6 p7 x$ B1 k1 ~
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    + o6 I& }7 w; r' V
  1478. ; http://php.net/session.cookie-lifetime! j# S* J& K+ W3 w% j6 K4 m8 M
  1479. session.cookie_lifetime = 0
    6 j5 Y/ j2 Q+ Z: l! X2 \* S! v* E
  1480. 7 W% g; O! w+ z; E7 i+ t
  1481. ; The path for which the cookie is valid.% H* p) A. d5 r# @! c! b
  1482. ; http://php.net/session.cookie-path
    1 l9 |) b. M- v8 |3 q& S
  1483. session.cookie_path = /  t; ^& v+ e) A( q
  1484. : A4 c7 r7 b# l" G+ J
  1485. ; The domain for which the cookie is valid.
    # i$ _9 S9 ]1 d# w
  1486. ; http://php.net/session.cookie-domain9 m+ O  X* L7 k
  1487. session.cookie_domain =
    7 J) d/ }" E, X% V6 `% c4 J) e
  1488. * G; W2 v0 ~6 {9 q2 s
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ( p7 [6 {/ e0 q% w
  1490. ; http://php.net/session.cookie-httponly" r, R0 k6 `& I
  1491. session.cookie_httponly =
    2 O, D/ i: n  R) o4 n7 o
  1492. ) |0 T! Y1 n! y, j5 r% D1 o# r/ J
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    # F6 U. g7 Q/ ~
  1494. ; http://php.net/session.serialize-handler3 u& _# X2 |7 n, \* Q( D
  1495. session.serialize_handler = php
    7 ]  [1 T) Z. s- |1 |

  1496. - x! h2 B. c) t5 s# X, Q
  1497. ; Defines the probability that the 'garbage collection' process is started/ \( ?- H" D2 {* C: C7 H- J
  1498. ; on every session initialization. The probability is calculated by using
    ) U$ [# e5 ^' _& \: l
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    $ ^8 r: L5 q& g3 |, Y5 y0 i
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1& r: t7 E+ n& |
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    + B0 y! x$ `: _5 `, c
  1502. ; the gc will run on any give request.9 s1 _2 p; ?+ t' c& H8 v4 S
  1503. ; Default Value: 1
    3 \; X: M4 |+ e6 ^/ R& ^
  1504. ; Development Value: 1
    1 N, k" s8 O$ ~2 ^: t
  1505. ; Production Value: 1# u! S9 [2 S5 T
  1506. ; http://php.net/session.gc-probability
    + W, L1 s6 ?. \
  1507. session.gc_probability = 15 B0 ~1 Q# G3 t
  1508. 9 d7 ?0 X/ O! L! o
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    0 U, X5 n, p4 m3 ~% k0 _9 N; R
  1510. ; session initialization. The probability is calculated by using the following equation:
    ) L! k  `" y9 H8 K3 _
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and+ `; ?+ w& s( f4 I: h  l
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1# ]- s: r5 p5 v2 P
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ; R3 ?- N3 W& Z$ u% L
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    1 }" k' k, L0 F. N" l2 t/ [) C
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    & `* _" e# \4 N! b) o! f
  1516. ; this is a more efficient approach.( N5 y! u% v* S) n
  1517. ; Default Value: 100# S+ I5 m& d$ m8 U/ ?
  1518. ; Development Value: 10007 t' ]  L6 q* b+ z
  1519. ; Production Value: 10002 Z, z$ x0 g; o6 o; l
  1520. ; http://php.net/session.gc-divisor8 d0 p0 |3 W. R" S( ~0 j. d& l
  1521. session.gc_divisor = 1000! t/ D4 Q) F" [5 H# e
  1522. 5 j. c) O/ q/ c& b
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and' x# F. P3 E9 p5 M4 Q6 k& E
  1524. ; cleaned up by the garbage collection process.
    ' V" r8 X5 Z4 V/ K* V0 X
  1525. ; http://php.net/session.gc-maxlifetime: m4 E8 ^$ e- j/ T- D  D
  1526. session.gc_maxlifetime = 1440( `! G( d/ Y" Z% S

  1527. ! f1 X1 P+ J9 x# y' n3 Q
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    # H* O- ]; A3 k- x6 Z' P
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ( e1 p- K& G& e7 N* D8 j
  1530. ;       happen automatically.  You will need to do your own garbage
    + S* r" v* p/ R
  1531. ;       collection through a shell script, cron entry, or some other method.5 p; z  n1 `7 N0 u
  1532. ;       For example, the following script would is the equivalent of
    2 T2 m8 @# ?- G4 W/ {+ l
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ; a( G5 T8 r$ c& Y" R, k
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ( O, h4 W6 H" g& @

  1535. / E" B' s9 L( L9 C9 P9 _' S& u) L
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.( a+ {/ I8 r1 I
  1537. ; HTTP_REFERER has to contain this substring for the session to be4 `# h3 L, M0 y
  1538. ; considered as valid.
    2 J2 Y. {. }" S& Z
  1539. ; http://php.net/session.referer-check
    4 J+ t  v; e) h
  1540. session.referer_check =7 b- n& j0 P2 U0 v! {

  1541. 0 \& u" ]5 L8 |  x
  1542. ; How many bytes to read from the file.6 W4 l) k* U. S, F
  1543. ; http://php.net/session.entropy-length! {: ]# X1 w- Y
  1544. ;session.entropy_length = 32" L8 A0 u" q1 ~

  1545. 5 t2 r- f8 g0 f* w* T
  1546. ; Specified here to create the session id.
    $ g' P, ]2 o3 y  ^' w: m" P) e
  1547. ; http://php.net/session.entropy-file
    ( E% r) r) W$ g1 l- q
  1548. ; Defaults to /dev/urandom
    , p) V6 B1 C7 ^
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom5 b& c8 B$ b: t8 U8 c
  1550. ; If neither are found at compile time, the default is no entropy file.% I9 W8 a6 }& k8 P% M, H2 M
  1551. ; On windows, setting the entropy_length setting will activate the
    0 M" B& |6 e: Q* U2 J  ^1 x8 V
  1552. ; Windows random source (using the CryptoAPI)) \3 C$ _+ f  @3 J
  1553. ;session.entropy_file = /dev/urandom  E+ f& {6 S, E4 i' z! F

  1554. 9 b6 b# f6 n# O/ x% p) }' S) V
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects8 }( A* }/ f$ R/ Q; C: c  D6 Y
  1556. ; or leave this empty to avoid sending anti-caching headers.
    , L' s1 q: W5 w
  1557. ; http://php.net/session.cache-limiter( \1 e/ H2 g' b8 x7 R
  1558. session.cache_limiter = nocache
    3 R$ J7 F3 ]) h- @9 C3 u/ T3 _8 ~
  1559. : H! _( A- m7 h1 j6 w. z
  1560. ; Document expires after n minutes.
    & ^& H7 u4 {* A3 l! @
  1561. ; http://php.net/session.cache-expire
    1 T/ s) R* G/ S8 w# [
  1562. session.cache_expire = 180
    8 ]1 p& W1 v/ ]7 G

  1563. 6 G( O  f) e) U
  1564. ; trans sid support is disabled by default.
    : |( J. @% a& i# b
  1565. ; Use of trans sid may risk your users' security.
    3 r1 T( m$ Z! _! F( x
  1566. ; Use this option with caution.
    # Q  K8 n0 K! m/ E# n" A
  1567. ; - User may send URL contains active session ID- O! c. M' u$ H$ i) f& v( w
  1568. ;   to other person via. email/irc/etc.2 J" o2 X* n1 R# I: T: h2 p/ [" E
  1569. ; - URL that contains active session ID may be stored! T, W! O1 ^% p0 r" Y
  1570. ;   in publicly accessible computer.4 n3 f3 L; }+ L# x. e
  1571. ; - User may access your site with the same session ID
    % b4 l4 z& d) \8 g4 I
  1572. ;   always using URL stored in browser's history or bookmarks.. w! S- U, u9 G1 [1 a5 S1 v2 P
  1573. ; http://php.net/session.use-trans-sid. _( H$ m: {* z) B3 q
  1574. session.use_trans_sid = 0
    : t6 S. A% }% [6 |, }4 |( A- @
  1575. 2 f4 ~: ]" D+ i$ r, c, {
  1576. ; Select a hash function for use in generating session ids.
    , p0 r1 r2 a( ~2 M8 t1 D0 t5 r
  1577. ; Possible Values0 |' _$ E1 ]. F: g
  1578. ;   0  (MD5 128 bits)9 L5 S# K9 P  B4 Q2 Z
  1579. ;   1  (SHA-1 160 bits)  V* p! r7 b' w( w- c
  1580. ; This option may also be set to the name of any hash function supported by& p4 G+ D8 W. u* W( J5 \% \
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()/ o4 I  @* N) y
  1582. ; function.8 S( `$ I5 F: W* W
  1583. ; http://php.net/session.hash-function; g  u: p% p. c  S
  1584. session.hash_function = 05 V0 Z9 |* x! e" J; T9 ~* s: W' @' `

  1585. & H. D3 H4 k; {
  1586. ; Define how many bits are stored in each character when converting
    / X, {! U' c: Z8 p
  1587. ; the binary hash data to something readable.
    0 P. J9 v" d: H3 o& r- m! q
  1588. ; Possible values:8 M2 S$ H6 J3 O8 m' `3 U
  1589. ;   4  (4 bits: 0-9, a-f)3 M# i3 W5 q$ a/ m) F/ F) T  C
  1590. ;   5  (5 bits: 0-9, a-v)* j2 p6 ^9 o, ^7 ^$ _& W+ T! v
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","): @2 N# @# v# R( f9 V) j
  1592. ; Default Value: 4
    7 [; ?( j; n# M1 I
  1593. ; Development Value: 5  }# n4 O& }6 `4 y
  1594. ; Production Value: 5
    . P0 i$ C9 u- ?" u" U, y
  1595. ; http://php.net/session.hash-bits-per-character
    , r1 `8 j2 r9 S9 c
  1596. session.hash_bits_per_character = 57 `& E- K$ }2 C" j+ U% B

  1597. - v5 @; c9 j& R" r7 Z
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    8 T( Q" b2 Q) y
  1599. ; form/fieldset are special; if you include them here, the rewriter will+ y, @: }5 D3 E$ q5 R/ m
  1600. ; add a hidden <input> field with the info which is otherwise appended' T' f2 B' W, A" ^" R! Q
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.3 k2 n3 a8 k/ J3 W% \: ~. R% E
  1602. ; Note that all valid entries require a "=", even if no value follows.
    $ d  v" H4 r& U- K. b
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="! s1 f$ Q1 i+ M+ U) I
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ p4 d, J1 @$ v. E
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) ~  b" O# l& {+ S
  1606. ; http://php.net/url-rewriter.tags
    ) j& Y* C- }5 U8 v) }+ ~' [' |; l
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry". T) j9 p& g% Z! {; C

  1608. ' ~& j, g5 q4 ?) S" c
  1609. ; Enable upload progress tracking in $_SESSION
    2 n5 M( C% u3 K( f# N% W
  1610. ; Default Value: On$ m2 Q, u5 J; V8 _+ ^
  1611. ; Development Value: On
    + R# @& m' E3 G1 Z5 [
  1612. ; Production Value: On5 {/ x- D2 \0 W' N1 Y8 M
  1613. ; http://php.net/session.upload-progress.enabled6 n; n% Q' i2 b
  1614. ;session.upload_progress.enabled = On
    $ _2 ^5 n6 q+ m8 }" g3 @4 ~

  1615. % ~0 T% k" C% O
  1616. ; Cleanup the progress information as soon as all POST data has been read) F  N0 J1 f- }, g
  1617. ; (i.e. upload completed).+ [" h) I4 q1 p: w5 \/ Z; l
  1618. ; Default Value: On" V9 v. Q$ B! [& Z7 D8 A
  1619. ; Development Value: On7 I; [5 U( R, Z# V7 V% {' U
  1620. ; Production Value: On7 V# E! W3 T$ q  o
  1621. ; http://php.net/session.upload-progress.cleanup/ B0 u! c4 q  U% D% G7 X  `5 c3 x
  1622. ;session.upload_progress.cleanup = On( T; @. z7 W( k* L: u7 ]
  1623. 8 f+ K6 G3 a# o% W! x
  1624. ; A prefix used for the upload progress key in $_SESSION
    % l# r- P: ^3 u0 K5 l! q
  1625. ; Default Value: "upload_progress_") @4 i2 f, g& h& V' `- }* j
  1626. ; Development Value: "upload_progress_"
    8 O4 O# n  C3 `7 l! c. B
  1627. ; Production Value: "upload_progress_"
    * b5 E% T$ j5 x  O( f2 L9 k' Q7 ~* c  k
  1628. ; http://php.net/session.upload-progress.prefix6 i# x, b4 X; O0 [" O8 p" y5 A
  1629. ;session.upload_progress.prefix = "upload_progress_"2 i! U# v* D% S" @
  1630. / Y" }9 ^9 q# E  }
  1631. ; The index name (concatenated with the prefix) in $_SESSION+ {. }6 ^  X% U
  1632. ; containing the upload progress information! _6 `  a$ b, }( g
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " m, }/ F1 h  T9 Q
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " U9 I+ G: V9 a+ d* X7 Q3 o! P1 }
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! Q+ E; M$ ~/ j4 |
  1636. ; http://php.net/session.upload-progress.name! s. r5 n1 t& d
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ' v- Z. E8 s  `  G
  1638. 9 s. I/ L+ S, ?' k7 F- q" b: j3 e
  1639. ; How frequently the upload progress should be updated.
    4 B1 z- Y; l. [" g' ?! T0 W3 {
  1640. ; Given either in percentages (per-file), or in bytes
    , X" B; q/ G# X
  1641. ; Default Value: "1%"
    4 t7 q; M' _3 m6 x3 x3 d6 V0 O
  1642. ; Development Value: "1%"
    9 C( A; D1 o9 Z* u5 n- Z
  1643. ; Production Value: "1%") T7 z* J) c) D0 L8 N, i% x
  1644. ; http://php.net/session.upload-progress.freq
    3 k% f4 y9 ]. m* ]- |  e" p
  1645. ;session.upload_progress.freq =  "1%"
    $ Z  Z% R( n/ \7 B

  1646. . q; U* @6 }2 F- u4 K  p
  1647. ; The minimum delay between updates, in seconds
    0 _+ V' X& R2 u8 @
  1648. ; Default Value: 1
    * q; @; P* f% s. N7 j. X
  1649. ; Development Value: 1
    / r4 y. U' R  X
  1650. ; Production Value: 1/ _( `1 @% T! k* }2 m: C3 }- |
  1651. ; http://php.net/session.upload-progress.min-freq
    1 u: @$ t& \% G7 t; F+ u# L
  1652. ;session.upload_progress.min_freq = "1"' H4 P% S! [5 u  K9 J

  1653. # ~  C! F) P6 M% z& S: L
  1654. [MSSQL]# w3 \$ q- I9 j) T- R9 I
  1655. ; Allow or prevent persistent links.1 t. P9 U/ z! r3 G
  1656. mssql.allow_persistent = On; Z, r' i6 s% z# @" j' ?
  1657. 7 q; H5 j# Z: L, I
  1658. ; Maximum number of persistent links.  -1 means no limit.: S$ B# N( t; j! L3 x- J
  1659. mssql.max_persistent = -16 R" R- d( g5 y+ v( b
  1660. 1 J; B+ c" x  }- a( D6 n+ ~& J
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    / ]0 p1 k6 K- ?. z" i, v0 F
  1662. mssql.max_links = -1: _# x. h; Z/ s( e* D8 E  ^
  1663. 5 Q5 s) ^( d  T- l
  1664. ; Minimum error severity to display.) r" u; Z6 @5 E
  1665. mssql.min_error_severity = 10" m; }& N$ n$ @- g' D( o' S
  1666. . x1 C+ ~2 [8 S: M* d
  1667. ; Minimum message severity to display.
    8 t: R9 s5 i' `7 M  |9 k) P
  1668. mssql.min_message_severity = 10  t' Z9 S8 t' i3 a
  1669. 4 f5 L9 j& Q, W
  1670. ; Compatibility mode with old versions of PHP 3.0.5 h6 S) F: C* ~9 H+ h7 _
  1671. mssql.compatibility_mode = Off
    " b' `; H' y0 E/ F7 x( ^5 c7 G# `( E3 x
  1672. 0 d+ y0 I5 e' ~
  1673. ; Connect timeout, G% a9 I9 n$ A8 t3 q
  1674. ;mssql.connect_timeout = 5/ N$ f- \  O) `( ?* r
  1675. 1 J6 L, E/ j9 l3 L; W$ B
  1676. ; Query timeout; V, s3 H1 G+ {) J- t* ]8 r8 Q3 U
  1677. ;mssql.timeout = 609 y/ w- w$ }& L* [2 y- a! k" F

  1678. & U7 E1 ^7 Y3 f% S$ N/ o
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    9 B+ y. J1 B- m8 L
  1680. ;mssql.textlimit = 4096
    ; P% ~7 W+ Y% n. j
  1681. - j4 Z( R$ I1 a  M0 J! a* n8 P& i; d2 l
  1682. ; Valid range 0 - 2147483647.  Default = 4096.( j( u9 \+ f* J8 w, Z0 V! ?5 K
  1683. ;mssql.textsize = 4096
    : ]. I; ]. _) y
  1684. 6 Z, x6 a( e+ `+ X
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.7 A) y- P$ b* M' L
  1686. ;mssql.batchsize = 0
    5 \0 d% ], t3 @% l8 X

  1687. # t; v, |/ \- i/ H2 d9 `( A
  1688. ; Specify how datetime and datetim4 columns are returned; f: K( \+ ~( w' o0 y" U" Q( h
  1689. ; On => Returns data converted to SQL server settings
    4 L' ?4 [/ ~3 N: o8 r& M
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss1 g9 T( {: k! Q
  1691. ;mssql.datetimeconvert = On6 j& _. ~2 U7 H9 p$ [

  1692. 5 p; r0 U' J. w" H
  1693. ; Use NT authentication when connecting to the server/ b2 P* m! |+ a' Q  t9 O$ \" t
  1694. mssql.secure_connection = Off
    1 o1 h6 d1 f( U) m9 T

  1695. 1 H) O2 n" R! R0 z: J2 X
  1696. ; Specify max number of processes. -1 = library default5 Q1 i9 l" k2 l2 w
  1697. ; msdlib defaults to 25
    9 ^* a# U3 k" q4 a* H
  1698. ; FreeTDS defaults to 40961 |5 q, x+ o9 |6 i8 Q1 u/ F
  1699. ;mssql.max_procs = -12 G# Y0 r) `# R. M
  1700. / N* }4 w$ ]  J9 Z) c
  1701. ; Specify client character set.- C) x4 O! j* Q% b
  1702. ; If empty or not set the client charset from freetds.conf is used
    6 C- w9 Z# G# \4 [
  1703. ; This is only used when compiled with FreeTDS% d6 |" [7 z0 n* s" q% m
  1704. ;mssql.charset = "ISO-8859-1"
    + t0 ^$ b$ ], r" a9 K, c& x6 a
  1705. ( D9 o- T& D! t
  1706. [Assertion]
    % V2 T* [% p, v$ g, H0 |* E
  1707. ; Assert(expr); active by default.; k" f3 o) B: w; R( G
  1708. ; http://php.net/assert.active$ u: c: o! @) Z5 F
  1709. ;assert.active = On
    $ ~% h3 s3 l2 r

  1710. 7 f5 i$ N4 e+ `9 l1 g. j
  1711. ; Issue a PHP warning for each failed assertion.% Z/ o) [& j0 h3 N
  1712. ; http://php.net/assert.warning
    ) O; b7 O0 O2 K" }, ]
  1713. ;assert.warning = On& g9 ^6 c- }, K6 e
  1714. 1 S/ o: C: c: M  Q
  1715. ; Don't bail out by default.) M/ J3 Y9 Q) G1 ^# c! T
  1716. ; http://php.net/assert.bail$ C% @6 z+ f( o/ c  A* T" s; t
  1717. ;assert.bail = Off- D, q) @+ G2 z# R2 |8 B# \

  1718. 5 c  s$ A- k" p
  1719. ; User-function to be called if an assertion fails.
    , n1 \* }( `; v+ M
  1720. ; http://php.net/assert.callback6 ~3 L3 F- f$ F, s& M5 U
  1721. ;assert.callback = 0
    , b" P( Z3 [% v/ H: q
  1722.   I' i6 f  L% C0 A) ]
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    . g. j6 D  C( }; O
  1724. ; error_reporting(0) around the eval().
    2 h2 c0 M  M, w' [- J4 n& K/ m* [# O+ g
  1725. ; http://php.net/assert.quiet-eval
    : b( W& w; c$ |  P/ Z
  1726. ;assert.quiet_eval = 01 H" A( C' {, _* @+ b
  1727. # H( E8 X' c* t% B6 E% `
  1728. [COM]3 }6 |  G7 _+ C* M9 h: W( ~
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    / ]9 T* ~0 G+ `% e& A/ |& `' s
  1730. ; http://php.net/com.typelib-file
    " Q& d3 R/ c: \5 i3 z* J* S! i9 W  u
  1731. ;com.typelib_file =
    : l" G( ?$ o3 ]. l5 {8 C2 m

  1732. . B/ K3 A0 f0 I. J$ {# t% k
  1733. ; allow Distributed-COM calls
    2 S: D) U) |/ J; h2 l
  1734. ; http://php.net/com.allow-dcom
    ; k" v; z7 a" ]$ u2 N
  1735. ;com.allow_dcom = true
    6 U. }4 o, `( s- u. X
  1736. 4 I1 M' o5 l1 H
  1737. ; autoregister constants of a components typlib on com_load()
    / z" ^3 c7 q# N! W
  1738. ; http://php.net/com.autoregister-typelib5 t  d1 W" N( A( E7 x% u' N
  1739. ;com.autoregister_typelib = true  f0 [# `: J0 j+ I. d

  1740. , s8 t# k+ `& H# b
  1741. ; register constants casesensitive4 ~" v  h6 M2 }& O  K
  1742. ; http://php.net/com.autoregister-casesensitive1 \0 o4 B; K' F2 @/ \
  1743. ;com.autoregister_casesensitive = false
    9 I5 `( Y& F" v. @( }% H
  1744. & {) m; G3 M+ P" q" b. Q
  1745. ; show warnings on duplicate constant registrations
    6 ^! r) Y5 C) [  @4 e1 E. B5 ?3 o& |
  1746. ; http://php.net/com.autoregister-verbose9 O/ o7 d. V) @" v, a2 S6 `
  1747. ;com.autoregister_verbose = true
    3 e) a7 u0 n! @- N( N. I
  1748. - X! d  d0 h/ T8 Z
  1749. ; The default character set code-page to use when passing strings to and from COM objects.7 f0 Y" \  z' z$ L! R8 b( ]& V
  1750. ; Default: system ANSI code page
    + ~# b" D1 c9 }- H. l% {
  1751. ;com.code_page=
      F. _* z/ Y# e0 ?
  1752. 3 o1 t3 f* l- M8 i& C1 \3 L
  1753. [mbstring]* A8 Z: q# |- u" x! ]5 f$ W! }
  1754. ; language for internal character representation.; q$ j$ b; g- [  M9 ?
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.0 \6 W% @3 L5 ~( ~
  1756. ; http://php.net/mbstring.language- k: x7 o0 O/ A6 f8 o
  1757. ;mbstring.language = Japanese" |( {# v- V9 ~/ Y
  1758. 3 I/ F, D  C3 M# o6 L# ~7 V( S
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.7 X( J7 W) y+ K7 \3 `, q5 [+ o
  1760. ; internal/script encoding.5 s& t# c, N. K3 L6 R& m- @; Z8 \6 s
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)$ U) P+ Y0 Y; d/ W% k# v( s- b
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.+ b$ S1 h% F3 l( j7 u& j
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding' G& Y" O9 n* Q
  1764. ;mbstring.internal_encoding =
    # f& S0 S) p  O  L5 N! E

  1765. 1 g5 t) H5 O( ^( K( T; r0 h& d5 o
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    % m" r, b( I, E; b8 O7 ^
  1767. ; http input encoding.7 v# d0 k: e$ B
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.4 @# L& b5 v" M$ D) |" ^; C
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.' x/ D% _: f# f# `0 H% W" E
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ( t3 L( |0 x2 }& m
  1771. ; http://php.net/mbstring.http-input  R/ o# E+ F: X7 e& R& j; V
  1772. ;mbstring.http_input =
    ! J; \# p3 F  b$ M7 Q0 m0 E

  1773. ( @( R( ~- ~6 {4 q* _; n8 h# L7 R/ j
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.) }( R; B8 Q) b3 Q7 o9 _- F
  1775. ; http output encoding.
    3 n4 U0 Y% z' p  z, P# z
  1776. ; mb_output_handler must be registered as output buffer to function.# y0 j) c  J$ {2 I( S1 V
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.& q+ M+ e+ B- z, |- v
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output+ H' |, O; c& x5 D7 e
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
      Y  ?1 n  ~; n, p. H9 J
  1780. ; otherwise output encoding conversion cannot be performed.8 i. T- z* [) f8 V
  1781. ; http://php.net/mbstring.http-output
    + f% v% @, b" {
  1782. ;mbstring.http_output =
    3 i% ~+ R+ e: Q  a" k3 D. w

  1783. 7 z3 j  J& h4 {7 Y, f4 J+ z
  1784. ; enable automatic encoding translation according to
    4 p6 j5 |" l1 T1 B$ W/ m. X
  1785. ; mbstring.internal_encoding setting. Input chars are! n( w8 n9 D7 m4 E; d
  1786. ; converted to internal encoding by setting this to On.+ @0 e7 }- Q/ i( @1 X
  1787. ; Note: Do _not_ use automatic encoding translation for
    6 y5 ~! O, c* C$ I
  1788. ;       portable libs/applications.# O* I% `* x2 b- R% p# Q/ h
  1789. ; http://php.net/mbstring.encoding-translation
    5 P7 q  d, O: y6 h/ \: y2 A
  1790. ;mbstring.encoding_translation = Off
    7 ?. \2 ]7 N* D* @) _7 z0 F

  1791. & J9 T9 A4 J- i) D* {
  1792. ; automatic encoding detection order.
    & s7 R4 y, v2 ?8 ~. U. |$ Z2 Z
  1793. ; "auto" detect order is changed according to mbstring.language: n2 s& m7 G6 O* [  z
  1794. ; http://php.net/mbstring.detect-order
      {& M; R5 k  o$ B7 z) Q
  1795. ;mbstring.detect_order = auto( w4 p8 r. S' S: v& s7 G
  1796. 4 t6 A: i- ]3 N
  1797. ; substitute_character used when character cannot be converted
    7 \0 C) ?1 P3 j2 \8 e
  1798. ; one from another. p9 Z! `( T6 d7 a" G5 i- {7 s
  1799. ; http://php.net/mbstring.substitute-character
    1 x* u) k! \# W5 E( l
  1800. ;mbstring.substitute_character = none
    0 H# ~5 @, [0 b3 X: W0 M$ b3 O7 B1 Z' O
  1801. - ^% \; s# S9 B9 t
  1802. ; overload(replace) single byte functions by mbstring functions.
    " s6 c6 z$ N4 ?" z1 c- C( ?
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    - [7 j/ [) o* P2 I
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    & C; _: v( Z' Q' V. G8 Z7 p8 F$ N; u
  1805. ; For example, 7 for overload everything.% h* K* {& u2 E/ S3 a: l
  1806. ; 0: No overload  Z! d: S2 P! q6 D+ n; u* Q& N
  1807. ; 1: Overload mail() function
    - j$ s) d- E& l2 e& z/ {1 s$ s
  1808. ; 2: Overload str*() functions  a) O2 L9 I! d2 O8 [4 D+ e: r6 @) K
  1809. ; 4: Overload ereg*() functions
    0 J; Z9 u* Q! P; B: n
  1810. ; http://php.net/mbstring.func-overload
    2 z+ v+ H/ A. S, L: R9 G
  1811. ;mbstring.func_overload = 0
    / _1 O1 M2 l2 t+ B4 V) ~

  1812. % D, x1 ~' P. Y2 |; U( x
  1813. ; enable strict encoding detection.
    8 Z1 H$ L3 l/ f5 J
  1814. ; Default: Off
      I  U9 z8 D% {+ b& B9 }
  1815. ;mbstring.strict_detection = On7 S" F0 w% R0 a; T+ ^  M
  1816. 5 v8 M& y5 ^- T) H) `( ?8 d
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    $ Q/ Q! d0 g! D, ^& Y! o( U' ^  d
  1818. ; is activated.9 Z" J2 f4 |' }5 k7 s/ ?# Z$ A
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    $ v0 s* d! H6 g. G5 F; _
  1820. ;mbstring.http_output_conv_mimetype=; b! s7 v/ Z! W% n

  1821. ' `& J* w2 C, g/ t% K! k( B
  1822. [gd]4 x9 Y! W% c# s; T" U( }0 f  r8 f9 M* p
  1823. ; Tell the jpeg decode to ignore warnings and try to create" V. Y. }$ Q5 W: `) j) x+ d6 ^, v( C
  1824. ; a gd image. The warning will then be displayed as notices7 ?# ?8 b, v. g2 y) X5 o6 L0 Z, v
  1825. ; disabled by default
    $ ^! q* A9 }" e$ ?0 B$ N8 C
  1826. ; http://php.net/gd.jpeg-ignore-warning: t  d5 x3 Z8 D4 X/ k( H
  1827. ;gd.jpeg_ignore_warning = 0% T$ Y0 P5 l; H  R7 a& D$ f

  1828. / k) O/ P9 n4 g1 _4 {
  1829. [exif]
    : H4 C' r  p0 ~5 ?+ ^$ L
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    8 Q/ G0 K- K' r1 L. |5 S
  1831. ; With mbstring support this will automatically be converted into the encoding, z3 l* V/ j# `  d
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding: r% G& I3 S2 Z! ^2 ^
  1833. ; is used. For the decode settings you can distinguish between motorola and1 ?' T* J; e3 P8 J3 ?
  1834. ; intel byte order. A decode setting cannot be empty.
    8 L4 r* l( z" C5 y9 C( F
  1835. ; http://php.net/exif.encode-unicode3 N7 ~9 r: n: K# W
  1836. ;exif.encode_unicode = ISO-8859-15
    1 N7 t( D4 B  d  k2 h0 ~
  1837. 6 p/ q3 D& H5 h: r; M+ c0 ^/ c
  1838. ; http://php.net/exif.decode-unicode-motorola- M! V- M( v$ v. O+ i! i* c2 C
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    * E, p! g6 o- }: p

  1840. ; d$ u) b3 ?9 \, E1 f
  1841. ; http://php.net/exif.decode-unicode-intel
    6 ~% Y. m/ {0 }. ~; z8 [
  1842. ;exif.decode_unicode_intel    = UCS-2LE
      ~- r7 |& B+ _( i6 I( C7 @

  1843. " N  L# D% L6 y4 T0 d& R
  1844. ; http://php.net/exif.encode-jis
    & D% \% [  [0 f
  1845. ;exif.encode_jis =
    1 Y6 t3 ?& q5 Y: M

  1846. ' ?/ C$ n4 F* T6 I' |
  1847. ; http://php.net/exif.decode-jis-motorola8 o/ g: C# y, k) h/ ^  }( W
  1848. ;exif.decode_jis_motorola = JIS
    9 G& J  c1 X& k* z' l9 a1 k/ b7 u
  1849. & N+ w2 m& h5 ~2 [6 F) Q# U
  1850. ; http://php.net/exif.decode-jis-intel
    # H) g8 F) l9 P1 n
  1851. ;exif.decode_jis_intel    = JIS( M/ e# H! ~/ H
  1852. . U% m" y* S, Z; n: @+ {" C
  1853. [Tidy]* q2 k& d: c& t8 c0 A" g
  1854. ; The path to a default tidy configuration file to use when using tidy
    & e7 {6 E% T) B* i0 o  J1 k
  1855. ; http://php.net/tidy.default-config2 b/ e" L1 Y4 |- Z* u2 t# f2 \
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    6 ~3 T6 }) A8 ^8 [  R* |

  1857. 2 H  G# n( N) ~; q) |- H. _' S
  1858. ; Should tidy clean and repair output automatically?9 M1 F9 p' A  V, k$ d
  1859. ; WARNING: Do not use this option if you are generating non-html content
    % [9 Z3 p/ {( e9 ^2 o/ \4 {+ Z0 u
  1860. ; such as dynamic images
    + X) E! D5 H: Z. v! u
  1861. ; http://php.net/tidy.clean-output! {$ g' d. P* d( I9 K3 @" x. f
  1862. tidy.clean_output = Off* \3 ^& s% m5 x9 v( _

  1863. - P( h( m* R9 ?1 I5 M: t
  1864. [soap]
      y/ P" Z$ q: h/ B- B
  1865. ; Enables or disables WSDL caching feature.7 k3 L# w/ _4 e9 M0 S0 O
  1866. ; http://php.net/soap.wsdl-cache-enabled% d3 }! p+ V: N) ~1 l5 I! ]0 F
  1867. soap.wsdl_cache_enabled=1. {5 I2 s/ V! }
  1868. ! H3 @  L7 f1 C& H" m
  1869. ; Sets the directory name where SOAP extension will put cache files.
    ' A, O9 v& g" }" Q5 Z& T
  1870. ; http://php.net/soap.wsdl-cache-dir
    5 M2 U+ v% m6 l* r! o
  1871. soap.wsdl_cache_dir="/tmp"/ j% B& k% Z1 ^  }: E

  1872. 4 m- o1 R( \9 i8 |
  1873. ; (time to live) Sets the number of second while cached file will be used# V! w5 l2 b, U; J( v
  1874. ; instead of original one.
    8 @# l6 a4 m4 g+ g
  1875. ; http://php.net/soap.wsdl-cache-ttl6 F. p: E  s: p2 y4 j  _) e
  1876. soap.wsdl_cache_ttl=86400
    4 P, ?$ p6 y5 R4 [* O! G7 f
  1877. 4 ]5 W  n9 Z/ `9 _6 U+ Y! z
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)' F# f; x+ m7 u+ Q: G6 g
  1879. soap.wsdl_cache_limit = 53 S3 c2 Q. N5 @9 n' ?
  1880. - @% H5 L; D6 |  b- N, [% K/ Q
  1881. [sysvshm]
    5 a( V5 w. t( h, Y( l# z
  1882. ; A default size of the shared memory segment
    ( y2 s/ u( M, G: B4 |- L
  1883. ;sysvshm.init_mem = 10000
    ' J5 t# k6 K6 f1 [+ u

  1884. , I: a  V, Y$ d
  1885. [ldap]
    : o6 H$ W# |" o( M# f
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    8 T2 Z" o5 _' X7 u( ]
  1887. ldap.max_links = -1
    , P! Q$ C* e5 f: ]2 S) {6 k$ _' [: j3 n

  1888. 0 T9 T: S. n  l. Q# v; O3 `# d
  1889. [mcrypt], x7 f% A& r1 i- |( D, [0 F
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open4 E& v0 s! m# c$ G5 q
  1891. : \+ W3 L+ \/ E* b; W! J2 \
  1892. ; Directory where to load mcrypt algorithms. e5 @; T& T$ m, |
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    - \! f7 x" Q7 r+ `- A6 B
  1894. ;mcrypt.algorithms_dir=- p: o! U7 M; _) b

  1895. , S2 B# c# x$ l$ l. S2 I3 S8 b& `3 O
  1896. ; Directory where to load mcrypt modes% `- D% m5 I0 E4 V. w
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    3 W8 r( c2 v( g; f
  1898. ;mcrypt.modes_dir=
    1 R) m  a  x; X" {+ T

  1899. 1 M5 Y. H) i0 E3 _0 L; z
  1900. [dba]: h5 G" z/ r  r
  1901. ;dba.default_handler=
      h- l) Z, |7 ~: n' W
  1902. % I  p& h0 I* q9 A& ^
  1903. [opcache]2 l2 V/ p/ A! n0 I# ^
  1904. ; Determines if Zend OPCache is enabled# _6 x8 a# x! t  i# V# \; {3 u9 b7 F
  1905. ;opcache.enable=0
    3 i( M9 Z; Y! G' M# i' e5 `. R
  1906. $ j2 C5 X/ n; |. L$ R
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP* y" H: [3 p* t( O2 i/ Z
  1908. ;opcache.enable_cli=01 p+ L) c: ^% d3 k
  1909. . B( W; X* e" H4 u
  1910. ; The OPcache shared memory storage size.
    . |- G: A7 M' w! D' G) x; }5 w# l
  1911. ;opcache.memory_consumption=64
    # o- U- `! ?1 H6 R! u
  1912. 8 D9 C6 `& D3 f4 r9 \+ X4 x" K
  1913. ; The amount of memory for interned strings in Mbytes.
    * c$ h1 C3 D% _# y: f
  1914. ;opcache.interned_strings_buffer=49 \+ Q3 N$ e# O0 E- X+ a
  1915. ; J1 R2 _# `% c9 T9 k9 x  L
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.- T; _- d: h0 ?
  1917. ; Only numbers between 200 and 100000 are allowed.0 o+ ^1 \1 Q) M4 C+ a6 K! W
  1918. ;opcache.max_accelerated_files=2000
    2 B( o  f- R+ F& k0 L

  1919. ; u+ x9 D- ?  u7 N& E0 n9 k% n
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    6 X* i" T! F% g* D1 T/ b9 g
  1921. ;opcache.max_wasted_percentage=5
    5 R1 Y  C3 o% ~9 ^/ X
  1922. ( B) y+ m8 T& \) o7 r5 t2 y
  1923. ; When this directive is enabled, the OPcache appends the current working
    ; l& e5 @0 P1 W5 q% w5 m
  1924. ; directory to the script key, thus eliminating possible collisions between9 k. Y  u/ f3 `8 I" I! o
  1925. ; files with the same name (basename). Disabling the directive improves
    0 K9 h6 o" z$ C8 [$ B9 v% l
  1926. ; performance, but may break existing applications., Q/ G3 w) o% c8 o. P: a
  1927. ;opcache.use_cwd=11 t# g/ S; v4 j% M& o

  1928. 2 c; |2 |; t0 Y8 }4 K; @
  1929. ; When disabled, you must reset the OPcache manually or restart the4 K* S6 V7 v" W; C3 F
  1930. ; webserver for changes to the filesystem to take effect.
    3 k+ T0 h/ M0 n! f
  1931. ;opcache.validate_timestamps=1  J+ i/ Q+ ^. x
  1932. 1 \- u; _, |! P
  1933. ; How often (in seconds) to check file timestamps for changes to the shared: k2 D7 Y1 p) b, u5 Y  d/ n, n
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    ( I. R$ ]" M' Q5 I/ f" ]
  1935. ; once per request. "0" means always validate)0 x' K# H4 K- T6 U! K
  1936. ;opcache.revalidate_freq=26 f7 W1 c$ k5 g2 n/ L
  1937. - Q: D& i2 |; [& q+ s
  1938. ; Enables or disables file search in include_path optimization; ^' O. q: J  g" V7 A3 B
  1939. ;opcache.revalidate_path=0" C; g5 q. F; t( I( ]& Z" M" m

  1940. 3 I  X' A6 c. u
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    " ?6 \/ E' t7 H& o  B: }- E% `9 L- g6 w
  1942. ; size of the optimized code.8 e( h& @" H- s1 `
  1943. ;opcache.save_comments=1
    : Q+ }8 e( W7 |) \

  1944. ; S: K8 J& O! r; K
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ) H- r) B# f$ x' y; _: m4 l
  1946. ; may be always stored (save_comments=1), but not loaded by applications% ]/ x( G1 @6 w7 @
  1947. ; that don't need them anyway.5 j+ q( b& O; R, d$ R7 b3 g) e( H
  1948. ;opcache.load_comments=1
    5 l7 ~8 d  ]9 T. a# r; Y8 X

  1949.   Z2 `( t, k9 W
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code: ]$ t' Q* `: Y& n; y
  1951. ;opcache.fast_shutdown=0( Q4 U5 y+ p2 r% s$ w# g

  1952. + z+ S+ g# p% ^0 [; l5 T
  1953. ; Allow file existence override (file_exists, etc.) performance feature.& W, i% |% ?" X  Z1 Q4 W
  1954. ;opcache.enable_file_override=0
    6 _- j1 @" o# C

  1955.   P; j  v: j0 T
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache" E) h6 d5 {  F' y' `
  1957. ; passes" L0 f1 y1 v5 T) ^
  1958. ;opcache.optimization_level=0xffffffff
    1 ?! T4 Z! U, }

  1959. * a& Y, h- I6 H4 s
  1960. ;opcache.inherited_hack=1
    1 N' [, s5 I1 _
  1961. ;opcache.dups_fix=03 b( s2 P- P% }; g! t& C9 \9 k

  1962. 8 @, G4 |1 _  u; }+ Y5 J
  1963. ; The location of the OPcache blacklist file (wildcards allowed).4 R- w+ f# c9 [" @1 K" F8 H
  1964. ; Each OPcache blacklist file is a text file that holds the names of files3 c+ i- I& G+ g: v" x
  1965. ; that should not be accelerated. The file format is to add each filename4 w: j, G5 z4 B- \3 S
  1966. ; to a new line. The filename may be a full path or just a file prefix
    $ i& g! X; e' \$ Z1 P
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
      g. X, y0 |. E0 \1 C
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).8 F; z# j! D* w0 |
  1969. ;opcache.blacklist_filename=' y0 w4 B9 y+ ]; f9 u
  1970. 4 ~  G& f& }1 j
  1971. ; Allows exclusion of large files from being cached. By default all files
    : I) F0 U# x2 E
  1972. ; are cached.
    " k0 a+ W0 G& O/ C
  1973. ;opcache.max_file_size=07 p9 q1 V$ s6 O9 P/ W
  1974. 5 i* o. f9 ^( }' R5 t: P0 I4 a6 M- G
  1975. ; Check the cache checksum each N requests.  g  R6 m+ x0 F$ {) z3 V0 ~
  1976. ; The default value of "0" means that the checks are disabled.  l$ A  \3 F9 W0 w! D
  1977. ;opcache.consistency_checks=0
    ' E: F5 o  l$ z6 f4 l
  1978. . ]- v+ r6 q+ A# G; w8 K# C
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    6 v7 f4 Q. O" t
  1980. ; is not being accessed.
      b3 ]& @$ E8 k" w; U7 {
  1981. ;opcache.force_restart_timeout=1800 K! l% r; N  u% z3 f( j

  1982. " x% O; _- H) W2 Q% u! [
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    8 a1 @* W( ^" ]  ~( B
  1984. ;opcache.error_log=
    2 W2 y/ V$ H8 y- E+ R

  1985. % b) Q- `1 N% z; U+ R- ?
  1986. ; All OPcache errors go to the Web server log.$ q( _( e7 k5 E: h
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.' Z" o' v* ?% A" z7 c
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    / M; ^' c+ w* ?4 M& l' O( b
  1989. ; debug messages (level 4).
    6 v0 ^! _- p( y* [* [/ n6 D8 ^
  1990. ;opcache.log_verbosity_level=12 L% _$ v1 s6 B! J- W) T

  1991. / h1 H' U! f% Y) x5 r
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    # R/ ?$ X, O6 C
  1993. ;opcache.preferred_memory_model=3 \1 y' z9 O9 V6 s( Q

  1994. ' S: K7 x6 t3 J5 w8 @; E( h
  1995. ; Protect the shared memory from unexpected writing during script execution.
    : i9 h0 ^! k$ m0 G& A3 H
  1996. ; Useful for internal debugging only.  p; Q' X/ i, m
  1997. ;opcache.protect_memory=0/ s" k8 G# E  \8 {* C4 f

  1998. & g  }# @, M  F4 X& E
  1999. ; Validate cached file permissions.( ^$ r4 o* J/ Q
  2000. ; opcache.validate_permission=0
      @* ^6 D' t) B" b' h' |" r+ ~

  2001. " Y+ o, Y- B7 Z3 e- x3 U: `
  2002. ; Prevent name collisions in chroot'ed environment.7 [: V1 r" X' W! X5 Q
  2003. ; opcache.validate_root=0
    9 K# v0 c5 F! F4 K/ B% U

  2004. 0 t# @" G9 }) t+ b7 P* y/ g
  2005. [curl]
    9 ~6 w( @: l/ B5 N
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    # H/ u$ |% R5 r- q: w7 W
  2007. ; absolute path.( c5 p; C8 p7 O. Q* p6 U7 F4 x
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ; g1 x" f, P# ~2 l' v
  2009.   q( F; H# d: z- j% L. D% F
  2010. [openssl]# G1 t- B" K4 F; }
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem* q" K7 d' }. Y9 F/ S, d" \1 Y  V
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should0 _& F! q( l, J
  2013. ; not specify a value for this directive as PHP will attempt to use the" e; A7 b* D2 y1 Q: H
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    . n3 M) R+ `/ t4 y- S
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    / n% J& J1 y3 V4 V' B: s- B* R
  2016. ; option.
    1 b5 K2 ?) s- P$ ]) q  H' a
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    4 D, y9 C* e$ @, q

  2018. 5 x( [+ j: |3 a2 [  S& Y
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    5 q7 V5 b) M: \, m* I
  2020. ; directory pointed to by openssl.capath is searched for a suitable, d& M9 ~& [/ x. B, }
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    , Y2 |( _$ L5 z# j
  2022. ; Most users should not specify a value for this directive as PHP will: j+ a  I- v& V9 p0 j( X
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    % R; t7 M' F! f1 e! \/ w
  2024. ; this value may still be overridden on a per-stream basis via the "capath"% B6 a2 W# x" ?  C
  2025. ; SSL stream context option.
    + R" R2 E- V; Y) W$ \# Q, s6 H
  2026. ;openssl.capath=
    0 o. ^+ t2 U+ M1 K: ?# m
  2027. ( m. F  J. u, Y; i* _
  2028. ; Local Variables:' p: ]7 g( H1 v0 }. o
  2029. ; tab-width: 4. r4 B9 P" G# e" u+ b
  2030. ; End:
    2 f5 ^* S$ c8 g0 n" k  A2 \1 w
  2031. 1 E/ o$ l4 C5 N; G! t2 c5 c
  2032. ;eaccelerator
    0 A# ~3 d) G  _" H
  2033. ' d$ `  p" T# d' d/ J7 H
  2034. ;ionCube
    2 h* `. j6 a2 j: V6 X
  2035. ; R( t; D" r$ ?- F4 \* g
  2036. ;opcache% m6 E; L% y& Z: x7 {3 o
  2037. 4 M; b: b3 j* U3 l% |7 L
  2038. [Zend ZendGuard Loader]5 B% _- B1 J5 @0 T- }- F. y  G' ?
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    4 G: J3 i# [) J$ y. i
  2040. zend_loader.enable=15 ?5 [. o+ {, @% c  f0 t: {7 h" C
  2041. zend_loader.disable_licensing=05 S# j2 U/ N/ Q7 G
  2042. zend_loader.obfuscation_level_support=3' z. t7 R8 R+ C" K
  2043. zend_loader.license_path=
    $ P& s. Y' c" O

  2044. 6 [' @, X/ ~5 g+ ~
  2045. ;xcache+ H9 ~0 a  D6 F9 C) E3 f

  2046. 7 V( ~, s) M* J2 Q) {- _1 U
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692- T. k0 Q9 @& e  R' q

% Y% K# _8 H' R( \7 U/ q+ j4 w' D0 {' r, b, n$ G4 T4 ^
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,3 N+ M$ R7 L8 e- Q

" m" r& ]* K3 SDiscuz!程序版本选择:
& x$ |  N/ v* Y5 u2 f, w站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
4 I: x" o& i; \0 e( J: V4 L* h不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:) A: z# c: M5 O0 r. A3 i
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。8 {/ ^! O/ h3 U# m: G
! c. e1 I) f$ I) F2 z
Discuz!插件模板版本选择:
' Q2 ~. @4 Z! D  N( f很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
6 R. N: i% |! D- r) e" d" F针对这个问题做个统一的普及:
4 b) r: s: A+ Q* ^% u  @) sX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。+ A6 K/ ]  c$ o; l  A  t* E
# k4 m# |8 A6 k1 e% d
所以0 h0 N& T2 g7 a
适合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 w0 \0 L, `0 m$ f) H3 [打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
: Y) _# O5 m4 n, r$ `注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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