分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.01 _! S6 M( u7 [

2 e  ^. r* X# q% h
  1. [PHP]! U- y* u% n8 U" V1 k
  2. . E/ x* [2 j) G9 F
  3. ;;;;;;;;;;;;;;;;;;;
    $ q1 Y& o, a) f0 y
  4. ; About php.ini   ;
    . V) `( H1 Z; A. w. X
  5. ;;;;;;;;;;;;;;;;;;;- i+ k4 V% |+ E$ U3 Q
  6. ; PHP's initialization file, generally called php.ini, is responsible for9 i5 r4 W  H/ D0 z
  7. ; configuring many of the aspects of PHP's behavior.! w$ G2 F1 a' I6 n8 @
  8. # a+ @8 j' ?: q
  9. ; PHP attempts to find and load this configuration from a number of locations.! f6 u# g* R: t" A7 E3 B
  10. ; The following is a summary of its search order:
    : Z" P; V$ K) h, @0 r
  11. ; 1. SAPI module specific location.4 s3 y/ Y, G' ^# k% V
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ! m3 I/ f7 C' y9 V
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    4 T6 @5 Y5 ]5 D
  14. ; 4. Current working directory (except CLI)( u8 G9 g5 T/ _$ q& [9 o
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    - c+ W, p; H; Q
  16. ; (otherwise in Windows)) J4 v( `; t5 w  U
  17. ; 6. The directory from the --with-config-file-path compile time option, or the5 D( h7 c- Z8 Y( I0 ?$ u
  18. ; Windows directory (C:\windows or C:\winnt)% Z) Z4 i2 f+ y8 P* M2 t) P: |' G; @
  19. ; See the PHP docs for more specific information.
    / O' }# ~0 f; V1 h' O$ y9 J
  20. ; http://php.net/configuration.file# h- N0 c$ o9 M

  21. % {5 w% }7 P3 K! g5 y4 G, i
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    6 h# F6 m) w( M  K6 S3 L
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).! w' D) m  g1 c+ \' N' j: Y
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    . D5 S& C* A) t: }
  25. ; they might mean something in the future.1 F$ _7 V8 U1 Y& {- a- N) w' ^" J
  26. 3 Z/ J8 Z% Y; G( b- Y
  27. ; Directives following the section heading [PATH=/www/mysite] only
    6 ~7 K, Z+ V0 Z5 V
  28. ; apply to PHP files in the /www/mysite directory.  Directives5 r, O3 |9 g& K* J" `, }1 e
  29. ; following the section heading [HOST=www.example.com] only apply to; A, H& v' x8 B+ G
  30. ; PHP files served from www.example.com.  Directives set in these
    6 g* Y) y( X. k% C/ ?( G5 h
  31. ; special sections cannot be overridden by user-defined INI files or
    5 L1 q5 z1 S4 L& e
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under1 i0 o! r+ d& K8 C0 w
  33. ; CGI/FastCGI.
    * J: c0 a% {3 }5 {
  34. ; http://php.net/ini.sections- o8 u) @0 h# @' |) I

  35. 0 h" e1 l3 X/ w1 e
  36. ; Directives are specified using the following syntax:. ?, y+ d  j% f, Q7 h6 @
  37. ; directive = value
    : i+ C- p5 W2 u( C
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    : M8 ~. Z' J/ t+ p
  39. ; Directives are variables used to configure PHP or PHP extensions.* B- F8 J) f+ M, G( k8 {
  40. ; There is no name validation.  If PHP can't find an expected
    8 A; U7 B* Q/ L3 j! {7 s9 w& J# U
  41. ; directive because it is not set or is mistyped, a default value will be used.# Y) T6 G/ n2 l" s$ [

  42. / p) [. d0 x3 y# A
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one) ^' }* q1 A( G
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    9 G0 t) h6 c) |
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a( f2 Y; `4 n5 o- u1 F
  46. ; previously set variable or directive (e.g. ${foo})6 `( ]3 \4 {$ W1 C/ ?) j8 m7 ^
  47. ; D0 ?% t3 A( ~; b& n  s8 ~
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ' ~  w5 e0 q$ ]/ u  b: V6 h, S
  49. ; |  bitwise OR' l" c6 m" p9 R3 |
  50. ; ^  bitwise XOR' E( D) y8 H9 s: z( s
  51. ; &  bitwise AND5 c0 u5 o+ Q2 E' ~
  52. ; ~  bitwise NOT( P2 T  b6 a" y+ p1 P* q5 T' S( }; X- ~* t
  53. ; !  boolean NOT* N! y2 `0 I' e
  54. & o7 }9 z& j" c3 [) i* W3 }
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.4 }# O( }5 T( ]- A6 r' E
  56. ; They can be turned off using the values 0, Off, False or No.8 t& Q9 n& c7 t$ `! d' N* }

  57. , ^! C9 |' A- G# G( J
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ) f. _: J+ h% `  r# B2 c/ B' \+ j
  59. ; sign, or by using the None keyword:
    $ l4 O% [/ q; o$ V, t  d

  60. 9 {5 q! H( G4 J1 K. u3 ~) X
  61. ;  foo =         ; sets foo to an empty string" T% ?$ [' N$ G5 [3 K8 U  o
  62. ;  foo = None    ; sets foo to an empty string
    : `" O7 n; D0 H1 s: S/ f
  63. ;  foo = "None"  ; sets foo to the string 'None'% M& d  W& A9 n- s4 b' c* M

  64. + Y! B+ Y) x& _) s5 R
  65. ; If you use constants in your value, and these constants belong to a) x" Z* Y6 r) R" J, u( n; S
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),  E! r5 K$ H5 H$ p; V5 c$ c
  67. ; you may only use these constants *after* the line that loads the extension.
    1 w8 N+ ], L0 I( }5 U
  68. ; D( ~) E4 F3 A' ~' M1 w
  69. ;;;;;;;;;;;;;;;;;;;
    - J% o0 E. _9 q3 L
  70. ; About this file ;# P2 ]: y; G) p; b. b
  71. ;;;;;;;;;;;;;;;;;;;
    , o+ q( I; A: \" ^% r: |4 j7 f
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    + N/ O) o2 ]: P9 q) n+ ^
  73. ; in production environments and one that is recommended to be used in
    % h7 b1 p' B5 Q5 f' f% B
  74. ; development environments.  @# U* [( y9 G/ Q

  75. " I9 j3 I: C( b6 U/ O
  76. ; php.ini-production contains settings which hold security, performance and
    : }  T4 ~7 l+ U1 h& N9 I( u- v* Y/ u
  77. ; best practices at its core. But please be aware, these settings may break
    - D4 m! B5 V* {
  78. ; compatibility with older or less security conscience applications. We
    : D2 W/ X8 c  s  x& ^9 O7 g
  79. ; recommending using the production ini in production and testing environments.4 l* k/ D6 k. `8 Z0 W8 H8 U

  80. 1 i. N# ]' S2 G& {# Z  B
  81. ; php.ini-development is very similar to its production variant, except it is5 X/ j" ]0 W, c) ]0 o
  82. ; much more verbose when it comes to errors. We recommend using the3 g( d9 U- ^$ e; }2 L+ m
  83. ; development version only in development environments, as errors shown to! Y' j1 h: T& H$ y0 W
  84. ; application users can inadvertently leak otherwise secure information.
    7 }5 ?9 O0 n" J! g/ X3 m

  85.   o& Z* v. z+ o8 c2 `; ^! F
  86. ; This is php.ini-production INI file.
    / k: R% O( j- J- u& f

  87. . s. q) s  p* ?- R6 e
  88. ;;;;;;;;;;;;;;;;;;;
    ; B0 l7 ]1 z$ M  S6 @4 e7 p5 u
  89. ; Quick Reference ;
    4 n! }6 g; `( p8 u# n& s, C4 K
  90. ;;;;;;;;;;;;;;;;;;;
    : M* @: L9 O+ W/ t: a
  91. ; The following are all the settings which are different in either the production; N2 W6 L: F& s) t! j
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    " ~1 I, K0 |% j& P
  93. ; Please see the actual settings later in the document for more details as to why
    / k7 B0 Q& u4 n9 x& @# T
  94. ; we recommend these changes in PHP's behavior.7 C: T! ?+ H/ S  y( d5 H
  95. % {( h/ E9 Q2 f2 n2 H- v' ?
  96. ; display_errors
    % @  N8 K. c) T1 e" V0 T
  97. ;   Default Value: On- \9 r' V, g* L
  98. ;   Development Value: On
    " ], ~0 s3 s, W* K9 y5 M
  99. ;   Production Value: Off
    ; U) U! }+ W' a" @9 `

  100. ! s8 b$ o( a! Q6 ?+ o/ \
  101. ; display_startup_errors
    3 N5 j5 y0 R' l3 ?% X/ z% D# c) j
  102. ;   Default Value: Off
    / Y1 l: {, F  U
  103. ;   Development Value: On
    : @! A2 {) b' k- M% A) B
  104. ;   Production Value: Off
    / q  q: d5 V7 V+ _/ m
  105. $ V- c% a% d1 L( e' G
  106. ; error_reporting/ d0 e- p! y% [. J7 J
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . i, a: h7 a4 L+ }
  108. ;   Development Value: E_ALL
    ! g# j; s) Z: M
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    - P8 s% [9 ^8 c0 {: e& F
  110. * W) f, }% M" [$ q! |
  111. ; html_errors
    8 W( D4 L9 O" x) s# @& N
  112. ;   Default Value: On" L/ q4 w$ H! w: Q2 Q
  113. ;   Development Value: On
    5 t2 s+ N+ D3 M/ [3 n- i
  114. ;   Production value: On
    7 o; g1 J# G" v( ^8 |

  115. 4 d9 \2 `: L$ o( H3 K9 u
  116. ; log_errors' L' }% g8 Q( ?$ }
  117. ;   Default Value: Off
    , \  c7 v1 I" V9 u  q% M3 W
  118. ;   Development Value: On3 K' P& b" m  n9 A" H1 P4 g+ q
  119. ;   Production Value: On
    8 t, Q- \1 S8 Q  ?6 V
  120. - ~8 E' {" ]$ W
  121. ; max_input_time" J/ h5 q8 d) G' L5 o
  122. ;   Default Value: -1 (Unlimited)8 ~+ o, \3 n- m1 B2 O$ e
  123. ;   Development Value: 60 (60 seconds)! ?: v  x$ O6 `1 Y9 M8 Z& v5 }
  124. ;   Production Value: 60 (60 seconds)4 L( l/ B: b7 g$ f' _9 c
  125. " u' g7 j& H* @
  126. ; output_buffering7 g- ^" i# |+ s
  127. ;   Default Value: Off
    ! S& ?# T% h! c, K6 \
  128. ;   Development Value: 4096
    2 g$ X# G& @: D2 `( l/ S
  129. ;   Production Value: 4096
    $ z5 W5 \) G5 N0 G: t) Y
  130. & q5 z. a5 m5 M4 O4 P# i
  131. ; register_argc_argv, |5 c6 I/ q! z0 o, q# w7 y& W
  132. ;   Default Value: On$ d6 v$ D4 L# w
  133. ;   Development Value: Off
    $ w1 u1 e0 k# n. C
  134. ;   Production Value: Off4 O) W' G6 Z/ _+ ]  Q7 e2 e7 M8 O
  135. ' c0 L3 i0 D* P5 m; w9 H0 |
  136. ; request_order$ d3 s8 ?9 z" P4 H5 j
  137. ;   Default Value: None9 ~/ z) B: m  L9 g2 t$ [
  138. ;   Development Value: "GP"
    - R" r( V2 n9 ?; K9 Y# d
  139. ;   Production Value: "GP"
    ' l$ c& P- w  u1 N

  140. 2 {8 z6 Z' F( a# l; e, I8 F
  141. ; session.gc_divisor$ X: I# o: G4 J8 I
  142. ;   Default Value: 1005 m$ R% b9 ^6 [& S
  143. ;   Development Value: 1000) j9 t) e  H) m* f  m
  144. ;   Production Value: 1000, @7 I7 }5 v+ |# J
  145. ( V2 W* e1 U$ z' P
  146. ; session.hash_bits_per_character
    2 w; k) |) \! w/ o) T" s8 J
  147. ;   Default Value: 45 M! I9 c, q' N8 D: X& W" D8 `
  148. ;   Development Value: 5
    ) r+ d; Y7 a, q. [5 h9 J
  149. ;   Production Value: 5
    % a" `8 ]) ]2 @% c2 e0 U/ @0 y
  150. + A+ |( C& r% f8 I" D
  151. ; short_open_tag* `4 [' o4 Q% E& d
  152. ;   Default Value: On+ W' [- |2 i7 \# ]$ G. V
  153. ;   Development Value: Off$ D2 q1 R) I. P: g% K% }6 n* N
  154. ;   Production Value: Off
    $ P0 z( b0 H% b0 K' ]9 Z4 m. ~
  155. 5 x* h1 r# Y: g( l  F, A/ j
  156. ; track_errors
    3 q4 F* y! V( j+ _" y4 f  [% m: x/ C
  157. ;   Default Value: Off
    5 E; t) Y+ S$ b( A( F. [
  158. ;   Development Value: On4 I4 |% i- \1 V4 M
  159. ;   Production Value: Off
    ; j3 |* \1 Y, {0 E$ d& Z9 q

  160. $ f  b- a! F% Y! e' ^
  161. ; url_rewriter.tags. N6 M; z) ?- m2 }3 o- F
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="1 a/ ?* _! O( ~. {3 B
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 z, M8 d; M9 N2 M" |
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' n  q' T7 E& L! Q+ A; l
  165. - q! m* ^9 t& P/ @8 }% J7 q% e% L
  166. ; variables_order
    # S  N9 E, c1 K5 v! h# l- A
  167. ;   Default Value: "EGPCS"
    ' G$ k/ n/ G9 [
  168. ;   Development Value: "GPCS"3 n3 u9 m" q+ N; o) G8 F
  169. ;   Production Value: "GPCS"
    - A  \$ w, A# M0 N& P1 X7 k

  170. ; z  t7 ]% E, B. V
  171. ;;;;;;;;;;;;;;;;;;;;
    " A, ~! _: o2 p3 w* |7 c
  172. ; php.ini Options  ;
    $ P5 y" [+ q' n
  173. ;;;;;;;;;;;;;;;;;;;;
    0 G+ r& }# B$ v: W4 I
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    $ n/ ]# J5 N! q8 R% G- |
  175. ;user_ini.filename = ".user.ini"4 [& Y* X1 ]1 n4 t6 s

  176. ( s" H3 J0 f& l6 h
  177. ; To disable this feature set this option to empty value1 @& {7 B' k' }+ w" J
  178. ;user_ini.filename =
    $ K9 V! ~  q1 I3 Z
  179. 5 M' X7 [& N: W6 r/ ?& H
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)& F$ k, ~  q0 i1 O
  181. ;user_ini.cache_ttl = 300
    0 N2 `( }2 W/ `/ ?+ j& ~3 J
  182. % A/ x5 A, E4 H0 Z/ }& c
  183. ;;;;;;;;;;;;;;;;;;;;+ F# ~* }. ?7 K4 O# ]) X
  184. ; Language Options ;
    . V7 K5 ^( c& x* q$ Q
  185. ;;;;;;;;;;;;;;;;;;;;
    8 y4 V5 A8 m) n0 O2 @

  186. ( B! q$ ?$ w* p, _# D+ h! ?
  187. ; Enable the PHP scripting language engine under Apache.) W2 u+ Q' u# k& W  e
  188. ; http://php.net/engine# \/ t! l2 f+ n# }8 |; [
  189. engine = On  P0 \0 L8 K5 E

  190. 8 G  V2 w% T) ]3 y/ p
  191. ; This directive determines whether or not PHP will recognize code between/ R+ c% I- l) A1 r0 _! s5 K
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    7 g& n2 [( B1 h0 D0 s. I
  193. ; generally recommended that <?php and ?> should be used and that this feature! r9 n( O( t. @" Y# }0 _
  194. ; should be disabled, as enabling it may result in issues when generating XML4 P! O. |4 i6 k. j. L' E
  195. ; documents, however this remains supported for backward compatibility reasons.
    3 ]% L0 z( ?& A1 g. p/ R1 ]3 Y
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    . ?0 }# n- i/ \
  197. ; used regardless of this directive.9 m7 z6 }* w0 @4 {4 G
  198. ; Default Value: On
    4 t  @$ ?' |9 h& M* y3 @' w8 \
  199. ; Development Value: Off
    1 Q1 r, N4 ~1 v( R3 j$ S8 [
  200. ; Production Value: Off; E& U9 I3 b6 J. ~( i9 v' U
  201. ; http://php.net/short-open-tag
    3 p# z& Y4 ?+ \; V& f$ H( m
  202. short_open_tag = On
    - V8 y: [( E: A- d$ @4 ?8 l6 h

  203. ; `9 Z3 {3 b) a: L  q. r8 A3 v
  204. ; The number of significant digits displayed in floating point numbers.& r, [0 {* [8 {1 M# X
  205. ; http://php.net/precision
    2 k# b. z- D0 e( W+ _6 l% N) e6 `" u
  206. precision = 14
    % e- z& O7 {) N* ?6 O8 D

  207. ; P$ g: @- I% |) q: T; H$ T
  208. ; Output buffering is a mechanism for controlling how much output data% M& @& y! S0 @% ^7 B  I* X/ d
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that" I6 U! T- ~( [" b
  210. ; data to the client. If your application's output exceeds this setting, PHP
    0 O, f; r  y2 c
  211. ; will send that data in chunks of roughly the size you specify.
    % ]+ g4 `- `- {" N$ F
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    2 Z2 p* M" A, J$ v% P7 z
  213. ; interesting side-effects depending on your application and web server.
    0 ?8 I5 `: H; |! B6 f
  214. ; You may be able to send headers and cookies after you've already sent output
    / w# y4 H( p* {* W$ `" H
  215. ; through print or echo. You also may see performance benefits if your server is$ s* R/ v( x. Q: \& Y, W$ F1 ~) l
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    / e) F# N0 Q% G1 Q/ s" n# E
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    + f, l" L2 Y. [9 Y4 w$ d- j# U
  218. ; reasons.# S$ \4 O$ w) ~9 K
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    3 d, d( Q+ p. F; {; s9 l5 Q$ [) y
  220. ;   functions.! B5 P& {3 A. |" l
  221. ; Possible Values:
    ) w* k8 ?6 {: q% Z6 t* g; e; R
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)$ I' X8 s. b% K( X1 j: J' I
  223. ;   Off = Disabled! m4 ~4 U) ^( @% v
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
      m% }: i) S% f3 E7 l- X
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI+ \* s# m9 S/ L! u. \0 ~
  226. ; Default Value: Off
    3 G1 f: D) u- X! [' d
  227. ; Development Value: 40967 D8 A9 y; A8 L, L! Y" k! A* W( Z
  228. ; Production Value: 4096
    # o1 B, X8 [0 u
  229. ; http://php.net/output-buffering+ Y+ o6 Y: I6 q2 y% {1 \; K$ p1 F' r
  230. output_buffering = 4096
    ( J# i, ^7 m2 `5 H/ s

  231. 9 ~' f/ C. f* X; b7 C! D# f! U
  232. ; You can redirect all of the output of your scripts to a function.  For  F% y7 n' g% [5 y
  233. ; example, if you set output_handler to "mb_output_handler", character
    % h0 W, p4 R" ?6 e  }% f" k
  234. ; encoding will be transparently converted to the specified encoding.) |6 h5 y" C% T1 |3 ?/ e7 i
  235. ; Setting any output handler automatically turns on output buffering.' O7 d) g5 a7 z: f/ Y1 J
  236. ; Note: People who wrote portable scripts should not depend on this ini
    ( D- Y( t! y1 \/ G9 Z' N
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    - m4 t' N3 Q* d8 Z- N9 ?4 {
  238. ;   Using this ini directive may cause problems unless you know what script
    % S! u9 s0 K" ~
  239. ;   is doing.
    % i8 N0 O0 @' t/ B& d
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    9 ~& A+ V7 u( L- O' C/ g
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ( G9 g" r- x) S) A% I( G
  242. ; Note: output_handler must be empty if this is set 'On' !!!!( v; `7 p6 Y0 L% y3 }0 `7 @1 v9 \
  243. ;   Instead you must use zlib.output_handler.& @8 n, Y8 U9 p( X7 D$ G' b9 M( i, z
  244. ; http://php.net/output-handler
    - Z. F& t( X3 N: y
  245. ;output_handler =9 t5 e8 f  O, O! \7 N
  246. . ?6 M, I. C" O8 }- d' Y- C
  247. ; Transparent output compression using the zlib library
    7 o0 n' X- R/ f" y
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    & u& J/ ~/ V2 {
  249. ; to be used for compression (default is 4KB)
    % A5 x6 S* F# b4 G# n- w
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    1 ]# k/ d' {. S0 ?$ `. ^6 R
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    6 E( }4 M2 U  t
  252. ;   compression. If you prefer a larger chunk size for better2 h! h5 F3 ]& F. }
  253. ;   performance, enable output_buffering in addition.
    # v7 h5 o$ r0 V- S1 J) F. v9 M) H
  254. ; Note: You need to use zlib.output_handler instead of the standard
    # t9 A  q. Y4 d0 v  U! k: H
  255. ;   output_handler, or otherwise the output will be corrupted.
    5 V2 J$ [* h+ {3 B. A* z
  256. ; http://php.net/zlib.output-compression
    3 c% o9 i" Q2 F; b, ]/ t
  257. zlib.output_compression = Off
    5 h+ p1 h2 I2 c
  258. ; |/ h: A+ ]7 g' O" ^! H) X1 V( ?
  259. ; http://php.net/zlib.output-compression-level: k4 Q1 F' W/ ~: `
  260. ;zlib.output_compression_level = -1
    8 y& u! P; k$ |8 A& Z

  261. ) L3 Y% O% P% y. A
  262. ; You cannot specify additional output handlers if zlib.output_compression4 ]: g1 ]- I3 p" n
  263. ; is activated here. This setting does the same as output_handler but in
    6 |. d( A$ Z' W, z' E6 @5 l0 n
  264. ; a different order.
    , f3 k# ?1 i' l2 C( b
  265. ; http://php.net/zlib.output-handler4 m/ a+ l6 t9 J- i
  266. ;zlib.output_handler =5 [8 Z4 R$ s5 v3 A" e# U
  267. $ [+ {; t! |; l: X& h/ u! V
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    6 b, v- f+ G  f- E
  269. ; automatically after every output block.  This is equivalent to calling the7 K1 [: e( }" o1 L
  270. ; PHP function flush() after each and every call to print() or echo() and each3 K9 D$ l. D  _* K* `% `
  271. ; and every HTML block.  Turning this option on has serious performance
    - a5 V  l/ y7 ?- \, @3 x+ w# Z
  272. ; implications and is generally recommended for debugging purposes only.0 D  b+ t6 g. B3 n
  273. ; http://php.net/implicit-flush) q. j5 r1 O9 m3 m9 H+ c
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    ) l3 x+ L1 \# B# P/ K
  275. implicit_flush = Off
      A# t" }9 Y% q8 k7 L& s
  276. , @) l+ _; b" R3 o1 W- r
  277. ; The unserialize callback function will be called (with the undefined class'. [( V* p- ~! y5 ?$ X( s8 i& S9 `; j' u
  278. ; name as parameter), if the unserializer finds an undefined class
    6 X7 J8 n5 V; \" k4 J
  279. ; which should be instantiated. A warning appears if the specified function is/ }& l: q3 k! d; {
  280. ; not defined, or if the function doesn't include/implement the missing class.
    5 C/ ~5 u6 t  \! ~, V/ r' k
  281. ; So only set this entry, if you really want to implement such a/ {3 q6 z- p8 Q3 A
  282. ; callback-function./ l. F3 c. z6 D! q" a+ Y  I; ?
  283. unserialize_callback_func =
    # N3 c* w/ H3 \5 u

  284. * k' B9 ~+ d( _9 _
  285. ; When floats & doubles are serialized store serialize_precision significant
    3 m2 N/ @8 l6 q# ~* V
  286. ; digits after the floating point. The default value ensures that when floats
    + g0 J& B8 B# w8 K! Z' q% z
  287. ; are decoded with unserialize, the data will remain the same.
    ( m; A4 c* \! e3 E
  288. serialize_precision = 170 ?# `) r* L5 |9 o: J
  289.   z4 C% T7 P; o. Y! l& Q
  290. ; open_basedir, if set, limits all file operations to the defined directory
    % @* n* Q; f: X5 _
  291. ; and below.  This directive makes most sense if used in a per-directory
    2 k9 R. J$ g2 B9 J& O. w
  292. ; or per-virtualhost web server configuration file.9 N% R# j+ r2 m  _2 ^. O6 I
  293. ; http://php.net/open-basedir% V9 k2 p; g- b5 j
  294. ;open_basedir =& i9 X/ w8 Z  r' W6 p) p$ Z
  295. % o2 @' q8 _/ h5 L, N; E
  296. ; This directive allows you to disable certain functions for security reasons.# V  ?8 B4 C2 V7 X$ _; h
  297. ; It receives a comma-delimited list of function names.+ n  ~  ^' a" q, w& }' `3 c0 n
  298. ; http://php.net/disable-functions% V8 j" U* L2 Z8 E% D! S
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru" E6 J* ^6 j$ F$ ^1 S3 u

  300. 1 Z# [  V! {) f5 @/ q+ K" l
  301. ; This directive allows you to disable certain classes for security reasons.
    & a+ `( |& J  l6 K' J
  302. ; It receives a comma-delimited list of class names.
    2 y: c- R/ z0 Z) j5 M
  303. ; http://php.net/disable-classes8 t  g, J1 c9 n0 d# b) `! [
  304. disable_classes =
    9 }9 ~4 |! E6 w( J

  305. 4 x8 b" g# I# J& u; O
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in( ?# u+ H) I3 z2 T6 ?
  307. ; <span style="color: ???????"> would work.4 L- ]6 s" Z4 j. P
  308. ; http://php.net/syntax-highlighting
    5 {) A* l7 y0 |( n! B! z
  309. ;highlight.string  = #DD0000
    4 \& N# a0 u( j! d( E
  310. ;highlight.comment = #FF9900& @( ~8 Z6 s$ z+ w' s. U2 t
  311. ;highlight.keyword = #007700
    - |. ^2 E" d$ k1 x) q
  312. ;highlight.default = #0000BB) `- ^2 Y" p8 f& X/ w( H6 j% d4 a
  313. ;highlight.html    = #000000* }: N7 P  j8 r9 _

  314. ! `: }! ^+ `5 n* ~5 R
  315. ; If enabled, the request will be allowed to complete even if the user aborts! p  C0 }5 U0 O' |! s! \
  316. ; the request. Consider enabling it if executing long requests, which may end up
    5 V0 C" n% d3 o$ @) P( s2 q
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior: v6 a/ u; e! [& w
  318. ; is to disable this feature.8 {& f9 f  o& l$ N8 a5 P' c
  319. ; http://php.net/ignore-user-abort7 ~6 J/ a% q9 I: p  K
  320. ;ignore_user_abort = On3 B8 D) V. l& d0 Y) X* g; B

  321. ! {4 q% o  N7 N4 z. i
  322. ; Determines the size of the realpath cache to be used by PHP. This value should! z' ~7 f6 v$ W4 A" K  Q- y
  323. ; be increased on systems where PHP opens many files to reflect the quantity of4 N4 S/ y  @# a$ D& t
  324. ; the file operations performed.) C. U- O5 w8 a  u- z3 Z/ i
  325. ; http://php.net/realpath-cache-size
    - E% u0 Y; g! O$ a2 v* z/ i
  326. ;realpath_cache_size = 4096k& V$ S: E9 v6 O, r- n+ W3 }# O
  327. - }5 z' o: Q# u. Z( v8 a
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    7 y2 x, ~  M! F
  329. ; file or directory. For systems with rarely changing files, consider increasing this4 O3 I* l0 T# d$ W) s/ G
  330. ; value.) B$ R0 [9 s: w. p7 U# x! q3 L: p
  331. ; http://php.net/realpath-cache-ttl
    9 f. k' r& a( e8 x9 d
  332. ;realpath_cache_ttl = 120- v' H4 X- g3 r& o, m
  333. ' S/ o2 Z8 F8 f, t- s/ i* F
  334. ; Enables or disables the circular reference collector., O- v3 X2 c& X
  335. ; http://php.net/zend.enable-gc
    , |4 v; X4 i6 q  i7 W) K. P1 X- D
  336. zend.enable_gc = On
    4 F3 ]* K# u& y  _9 |7 P
  337. 0 y% [% _) _0 y; d
  338. ; If enabled, scripts may be written in encodings that are incompatible with* P8 v$ F  V+ V. h
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    1 D9 G% x- H! D: |
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    - m# a+ j; z' m  o
  341. ; Default: Off
    + F  ^" A: n6 ~* _( ]
  342. ;zend.multibyte = Off0 {0 ~( c, s* a
  343. ' A0 T2 {5 {2 p, p+ ]$ ]4 S" z# Y! q
  344. ; Allows to set the default encoding for the scripts.  This value will be used! @. _5 w8 u" h9 P0 G+ M8 l& k
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.3 o8 t1 ^4 [( E9 H! x
  346. ; Only affects if zend.multibyte is set.
    % g0 p: `6 b1 n" n. ]
  347. ; Default: ""
    " o- u$ `' O! Z7 A' w7 h2 f  ^9 ^( w. O
  348. ;zend.script_encoding =0 O; d& \* }: U2 X. L, S1 S+ |

  349. 9 ]7 B+ W! |  N! ]$ ^* v
  350. ;;;;;;;;;;;;;;;;;
    ' F; H7 U. K& ?/ l9 p7 u2 R" y
  351. ; Miscellaneous ;" {& W6 V8 h- i
  352. ;;;;;;;;;;;;;;;;;" @. v/ |2 I+ T5 V7 D9 ]3 `
  353. - v4 P% N. p! g8 B) }7 x  o% j
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    8 D( x$ W8 L' p- O, B( m+ u
  355. ; (e.g. by adding its signature to the Web server header).  It is no security) F* `6 g( @% k$ Z3 {2 }
  356. ; threat in any way, but it makes it possible to determine whether you use PHP# U) |$ \% a' `2 n% C1 S& A+ o* a
  357. ; on your server or not.
    ) D/ l1 S3 U. K5 w  i
  358. ; http://php.net/expose-php
    , W' s% R% O! O, ~( D
  359. expose_php = On# `! n( ~% N" \6 r4 |

  360. 7 I- f0 c+ f8 {" s
  361. ;;;;;;;;;;;;;;;;;;;- M9 [' ~1 @8 m* K; y9 t4 g; U
  362. ; Resource Limits ;
    $ D0 q7 V! L! f& g7 _. |
  363. ;;;;;;;;;;;;;;;;;;;
    6 G, D6 p8 a. y8 {* n" Z
  364. ) t9 s! s3 ]( O4 S0 X
  365. ; Maximum execution time of each script, in seconds
    1 r; f* A5 P: x7 U. w- E6 P( z
  366. ; http://php.net/max-execution-time" }. X" y/ _' `4 y
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    & H* [* ~- W) `
  368. max_execution_time = 300
    $ f; L- y! \8 ~3 a

  369. ) a6 k$ L0 j3 z$ u( ~
  370. ; Maximum amount of time each script may spend parsing request data. It's a good% y: d' R+ [; u5 D0 @2 f" ]
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly: b% w5 t. O6 f& b  i
  372. ; long running scripts.* C# B# ^* `; ?/ K0 K: a9 m
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI! o$ T; T( b2 ?
  374. ; Default Value: -1 (Unlimited)
    , B( h) ^, N+ J8 q2 Z0 b6 t1 Q+ t
  375. ; Development Value: 60 (60 seconds)
    ( @$ k/ j# L  f# c/ J
  376. ; Production Value: 60 (60 seconds)/ n) X2 d* Z& e2 `: C+ x
  377. ; http://php.net/max-input-time
    7 A/ O3 E( a' v4 u
  378. max_input_time = 60, q' B" Y  R4 t' H+ g/ M8 M
  379. : B0 F, B  n) z5 X, G5 E4 n
  380. ; Maximum input variable nesting level# X6 [5 u  n( D2 c
  381. ; http://php.net/max-input-nesting-level5 ]7 x) W+ z3 a
  382. ;max_input_nesting_level = 64
    % g' O3 T1 g' p+ r4 p' o6 q2 d
  383. , @0 h5 [0 z3 f5 k5 Q
  384. ; How many GET/POST/COOKIE input variables may be accepted
    7 c5 \4 N( ~* _) T
  385. ; max_input_vars = 1000
    , P1 [+ y& I" R+ W3 a4 t

  386. 8 q/ c5 M: \  O6 `' O+ ^
  387. ; Maximum amount of memory a script may consume (128MB)0 N/ f+ _1 I9 J5 s* m  [6 Z
  388. ; http://php.net/memory-limit3 }0 Z$ v% B5 T4 ~
  389. memory_limit = 128M# V5 ]- E) X2 B# A' i- r' M1 h! M
  390. 8 L+ {5 M2 D7 g, c
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; n. A4 L( e4 B, ]
  392. ; Error handling and logging ;! G5 z0 f: G) l8 D/ Y! w1 g" I- `: J
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 M6 v6 L6 y# j( l( {

  394. $ k3 z/ r9 s$ s3 l% F9 O" [$ p/ r
  395. ; This directive informs PHP of which errors, warnings and notices you would like, Q) e' c7 {6 r; H: M
  396. ; it to take action for. The recommended way of setting values for this* q  K; y! @7 T  p' @
  397. ; directive is through the use of the error level constants and bitwise7 j& r% I: V% K. D7 e. O: ?
  398. ; operators. The error level constants are below here for convenience as well as7 `5 |7 B4 R! |4 N
  399. ; some common settings and their meanings.' S9 I0 J3 l) ~: J/ ]) z
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 k. _7 l& p; u
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and7 z7 L. Z% W; K- ]  F- M/ @
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    3 [: U$ p) C6 s0 i/ f
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    # K; `" s/ W& f. T' f2 v" ~
  404. ; resources complaining about best practices and coding standards. That's what7 B! o" }) ]- m6 _
  405. ; development servers and development settings are for.+ X: P" G! V$ M
  406. ; Note: The php.ini-development file has this setting as E_ALL. This9 |* O8 S; N+ T) ]
  407. ; means it pretty much reports everything which is exactly what you want during' S$ d1 x; o% G8 g# T+ Z) f1 }
  408. ; development and early testing.3 D  o7 }! K$ N# ~) t! v
  409. ;
    0 J5 L, ^4 A/ E; Z3 A
  410. ; Error Level Constants:6 u4 i: c+ C: b) z0 v% o9 y
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)- w1 V* U7 e# M7 o7 N% y
  412. ; E_ERROR           - fatal run-time errors
    6 K3 N- f. i7 |( t* K' [3 l, i9 Q
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors0 d: R; l( W3 z2 V- F* U2 Y
  414. ; E_WARNING         - run-time warnings (non-fatal errors)! {& v8 \9 k  W& j5 o
  415. ; E_PARSE           - compile-time parse errors
    # Q2 R$ t8 D. T9 @3 X# p
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    + F6 k6 s# Y5 A6 ~# l; X
  417. ;                     from a bug in your code, but it's possible that it was
    " l- L0 M* m; M& l1 I$ m, C1 S- Y: K+ K
  418. ;                     intentional (e.g., using an uninitialized variable and1 _7 K0 X9 ^' M/ x
  419. ;                     relying on the fact it is automatically initialized to an( _$ A# ?, \6 c" X+ J! |( T9 c  ^
  420. ;                     empty string)+ X- W" ?# d* f4 k6 k$ y, d4 d" S1 W
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ' l+ B- x' X; z% e6 B2 h) K
  422. ;                     to your code which will ensure the best interoperability! I/ e, t! _& m) ]. G" l9 T9 {8 \- |) D8 @
  423. ;                     and forward compatibility of your code3 A4 e: l7 Q8 {9 K7 |+ f, H
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup, o% [0 v" c8 G; Y) K9 u! Q  |
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's  U4 f- N" `! |- r4 K
  426. ;                     initial startup- G4 c1 c2 @; ~9 T* {7 d, N9 f
  427. ; E_COMPILE_ERROR   - fatal compile-time errors8 Z2 `  c# [5 q9 v* x7 g0 u# d  R
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    . ^* B4 M3 z0 y9 _; R* f
  429. ; E_USER_ERROR      - user-generated error message
    8 P; P5 J2 X5 x  K
  430. ; E_USER_WARNING    - user-generated warning message
    7 s6 r) a' @6 Q
  431. ; E_USER_NOTICE     - user-generated notice message
    , z8 g( G4 B4 i3 e% @
  432. ; E_DEPRECATED      - warn about code that will not work in future versions( d) R( a$ L: S  \; J0 K9 m
  433. ;                     of PHP
    " |' w" ~8 X9 M9 U& ^
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings/ _( `. w+ M( M& j2 u. W4 O
  435. ;* p( M% l6 w6 w3 P6 C3 M5 b
  436. ; Common Values:
    ( d4 W8 @% Z1 T8 V6 S8 t/ k$ X" C
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    . f5 q! K: T) x: o
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ; L6 g: C# n- D; a1 j' M) z
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)% v, E. Z2 [$ |' \$ P' b
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)! r0 ?9 @' S: F- X( a9 l
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # u6 S6 `) L. k
  442. ; Development Value: E_ALL+ {0 [$ \5 i' J
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    6 W, \- k4 s% E- W% ]8 E# G
  444. ; http://php.net/error-reporting
    4 Q. P- a3 Z5 v* Q% \& V" w* l
  445. error_reporting = E_ALL & ~E_NOTICE. Z8 I: |+ [1 J2 T
  446. ! t& j& x0 A& z2 B) v; `- ]( J
  447. ; This directive controls whether or not and where PHP will output errors,5 b- B% b% u4 M" B$ q% s+ g" A
  448. ; notices and warnings too. Error output is very useful during development, but
    1 h! C: e! ]8 `0 W! F
  449. ; it could be very dangerous in production environments. Depending on the code
    0 W4 v$ |' O) _- B$ H1 O* c) J5 N+ d
  450. ; which is triggering the error, sensitive information could potentially leak9 s. x7 a( B5 d
  451. ; out of your application such as database usernames and passwords or worse.
    3 Y1 c2 q0 j/ u3 c' D
  452. ; For production environments, we recommend logging errors rather than
    $ m- W9 v% h* H$ J) z1 y5 C
  453. ; sending them to STDOUT.
    0 t9 J+ Y  W  n2 s( A4 y2 F
  454. ; Possible Values:
    % m% c9 S( U3 g. ]: t) A
  455. ;   Off = Do not display any errors
    8 C3 l6 W- L6 j$ O, o
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)" N+ C4 X- k4 P$ @
  457. ;   On or stdout = Display errors to STDOUT
    , k( |* q& V3 b
  458. ; Default Value: On9 s, E1 @, h' H% K
  459. ; Development Value: On
    7 T# h4 ~, T6 _8 g
  460. ; Production Value: Off
    * v" K+ |1 [1 \6 x# l. z
  461. ; http://php.net/display-errors
    / H" A6 g& b. X
  462. display_errors = On# ^8 m6 |2 m+ h  f: W( W5 `% Z0 ~
  463. & n, f# @/ j  t' ?( j, n* D* F
  464. ; The display of errors which occur during PHP's startup sequence are handled" {: T2 v$ l/ x: s' u+ c7 ^
  465. ; separately from display_errors. PHP's default behavior is to suppress those3 C* ~7 l5 L6 @* g% M' \
  466. ; errors from clients. Turning the display of startup errors on can be useful in* n% h4 O( v' P, t& @1 J/ T2 e
  467. ; debugging configuration problems. We strongly recommend you
    & L- G4 u* H6 C8 S
  468. ; set this to 'off' for production servers.- Z( s' j0 s$ ^
  469. ; Default Value: Off. o8 c3 u( ?6 w
  470. ; Development Value: On
    2 F$ i0 G3 _, j2 e% h2 c0 N
  471. ; Production Value: Off
    , J; f) q! u* h, \# A
  472. ; http://php.net/display-startup-errors
    - |; F$ _6 H9 X& K* y9 q! i
  473. display_startup_errors = Off$ Y9 G' _+ G/ Z& K4 N  U& o$ u$ N* x
  474. % J/ a8 G  m  |( {: Q
  475. ; Besides displaying errors, PHP can also log errors to locations such as a/ C3 P) h6 t- F3 S+ G
  476. ; server-specific log, STDERR, or a location specified by the error_log
    : c# v4 s* g1 ]7 x6 O" {
  477. ; directive found below. While errors should not be displayed on productions
    8 [" j' L- ?% ]5 B/ V7 ~0 E
  478. ; servers they should still be monitored and logging is a great way to do that.5 }% P' \/ m# X7 b8 Q7 v7 J
  479. ; Default Value: Off
    / ~9 I8 F: }+ }
  480. ; Development Value: On3 r- U; r* E% c8 s+ B$ J
  481. ; Production Value: On0 p. l- B: ^2 ^  _" p8 U' w2 R
  482. ; http://php.net/log-errors) ^, W, _% E- S- `8 n- x
  483. log_errors = On
    9 w. d2 c6 C- m* W
  484. % U- J( {' g6 P& y5 K# f6 ~
  485. ; Set maximum length of log_errors. In error_log information about the source is6 K, x# V. h. [' T+ F# G
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    / {" n4 r5 f7 ^( K2 s6 `
  487. ; http://php.net/log-errors-max-len
    5 W6 R; p' I% x- ^* {7 ^: w% e
  488. log_errors_max_len = 1024
    ! i2 {: j+ o: Q
  489. : ?3 \, X! J" F& s
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same# K, @3 a" k1 C. I
  491. ; line unless ignore_repeated_source is set true.. M* ~- Y; _: I
  492. ; http://php.net/ignore-repeated-errors; [3 d* V. K$ e% y
  493. ignore_repeated_errors = Off1 ~8 h1 c# z1 c# p9 G. w, ]# \
  494. 9 ?" F( i: _6 B" V# L* T
  495. ; Ignore source of message when ignoring repeated messages. When this setting8 y$ i* F  O+ ?2 D
  496. ; is On you will not log errors with repeated messages from different files or
    , E6 C8 X$ y! @$ c& x* B# o4 K
  497. ; source lines.* q& `; P8 o# y( k8 Y$ g. A! H
  498. ; http://php.net/ignore-repeated-source) `( m! U" O; q9 z# h% `
  499. ignore_repeated_source = Off) K7 Y7 M8 [: k  O2 V

  500. , F9 \/ n+ @: }6 Z
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on/ i5 P% [8 r* A4 J2 p
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ' ^  F* L1 Q5 {7 `- f
  503. ; error reporting includes E_WARNING in the allowed list
    : _2 }4 {4 X: `3 A: B" T( s1 B
  504. ; http://php.net/report-memleaks
    " e/ |* \) C) J0 l5 [4 P5 `' w! w
  505. report_memleaks = On( e5 g1 h) u, ?1 M  Q
  506. * ?. v6 I5 K( h8 F; o! v. \
  507. ; This setting is on by default.
    ; c& `$ w, Y! Y* A- I5 o
  508. ;report_zend_debug = 0
    . M! v- T* ?7 ?

  509.   h* ?) L* ]7 O5 y% w
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    % t% f/ ^) z) l  r$ p
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    3 h/ b- Z( \( G- X' R1 P
  512. ; however be disabled on production servers." s2 i; M9 o& T" r7 [
  513. ; Default Value: Off: v- N- Q8 V1 s0 d. ~
  514. ; Development Value: On
    $ R+ Y3 V0 e& a+ X) \
  515. ; Production Value: Off
    4 Z9 ^+ X' u: M( H7 o- s8 m
  516. ; http://php.net/track-errors" r& E) d& r3 h; y' h
  517. track_errors = Off
    4 k* @; J2 e! z! d: J7 u% m! l0 G

  518. ( b+ F+ |0 E1 Q6 E$ a" i, M
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    & p5 o% i' s: I" ^4 K0 A  ?
  520. ; http://php.net/xmlrpc-errors! m" F. t% O, |: I7 e9 E. n
  521. ;xmlrpc_errors = 0
    " G4 s4 C7 i) V# k$ o9 V. Z
  522. 9 i! x1 u5 \4 t' ?4 m$ w$ s
  523. ; An XML-RPC faultCode% ~: B! ?6 E: f# w. ]) S9 p
  524. ;xmlrpc_error_number = 0
    - \% g& |0 e# D9 i6 O
  525. 7 M- R/ v, z' a2 O
  526. ; When PHP displays or logs an error, it has the capability of formatting the( M% `9 v; C8 F- u% T
  527. ; error message as HTML for easier reading. This directive controls whether/ p) N$ g# |' K  h: B+ Q
  528. ; the error message is formatted as HTML or not.
    4 S/ I# e% X. m3 g+ p0 U& c6 R- [
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI/ L, H9 x( K9 b! j" Z9 L& p
  530. ; Default Value: On+ M" Y% k6 y5 r
  531. ; Development Value: On
    $ V- K* p% u2 O
  532. ; Production value: On5 i: ]" `+ ]% X5 O
  533. ; http://php.net/html-errors) A# U# n5 ^7 O0 ^6 R  M1 S% p
  534. html_errors = On5 u, g, B4 H) \4 X+ {; E1 n0 S
  535.   L9 S; C2 B( `; }0 _9 z) `
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP+ y$ D2 |- O: _7 Q1 N* e/ b
  537. ; produces clickable error messages that direct to a page describing the error
    1 \7 L, m! m* G( w' h2 D
  538. ; or function causing the error in detail.. M" G- K9 e# c2 A# K; q+ L
  539. ; You can download a copy of the PHP manual from http://php.net/docs2 a* a# M  ?9 x+ q4 G; D( X$ d! N) N% e
  540. ; and change docref_root to the base URL of your local copy including the
    ' P5 B: z; i" ?  D8 K
  541. ; leading '/'. You must also specify the file extension being used including
    ) J; u' q, j! y; b
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    , ?+ F3 w3 g% h% Z( K* }7 }
  543. ; case no links to documentation are generated.
    , J) _8 [+ R; P
  544. ; Note: Never use this feature for production boxes.# u5 o) e4 E" k, B9 j% R( _
  545. ; http://php.net/docref-root; H4 T8 H) B4 X- Z" f4 d- u
  546. ; Examples
    . u! {# \/ u# C2 E. a
  547. ;docref_root = "/phpmanual/"  Z# D: T9 M) F$ ^' z$ j
  548. 9 W" \3 l, I5 u# E
  549. ; http://php.net/docref-ext8 v& B1 D8 P+ N9 W, Z
  550. ;docref_ext = .html
    % N; T$ H& `2 b% p4 |

  551. 5 j% h- t! p. s  d% A
  552. ; String to output before an error message. PHP's default behavior is to leave. z# [" \. a! ?7 n+ b; D  \
  553. ; this setting blank.
    2 }$ v: Y3 W, Y8 u. c6 Y, p
  554. ; http://php.net/error-prepend-string, d' \; [. L( r; {' X+ L
  555. ; Example:
    + F9 j% e( @: D: A
  556. ;error_prepend_string = "<span style='color: #ff0000'>"5 b+ A1 O$ A) C" A$ {

  557. 7 Q) Q$ U- d8 [9 ^) ^8 ^
  558. ; String to output after an error message. PHP's default behavior is to leave
    6 T/ Y( s( e1 h/ O
  559. ; this setting blank.% Z* S# C8 l3 e& O) l
  560. ; http://php.net/error-append-string
    ; K5 g2 i- C& j! y
  561. ; Example:
    6 V  W6 G: n& R7 t# v9 X" J# I0 R
  562. ;error_append_string = "</span>"! t% I7 m- \; S- X9 z! w& m4 Z

  563. . E/ C- ^% |; _, O. y. C
  564. ; Log errors to specified file. PHP's default behavior is to leave this value) k9 a4 |) X6 A2 l$ j" P6 i
  565. ; empty.
    0 W( L& U& l5 ^+ \- Y4 A: n% J+ {
  566. ; http://php.net/error-log9 o0 ?- V5 {& p  y  E+ y8 r1 X
  567. ; Example:' N9 X, ]3 \+ J' V2 z) C
  568. ;error_log = php_errors.log
    ! ?' I7 C) R0 A+ g7 D/ Y: p
  569. ; Log errors to syslog (Event Log on Windows).2 `( F  _# W" o( s) V$ Z
  570. ;error_log = syslog
    : e/ a& b$ D2 x
  571. & l" g3 i8 e+ K5 i  Z
  572. ;windows.show_crt_warning% `$ o# P5 u/ n3 R0 e
  573. ; Default value: 06 o% r6 ?, T# u
  574. ; Development value: 0
    4 S4 n7 m- F, R0 k0 b
  575. ; Production value: 0
    % _& t" B2 Q, `7 {7 @: N% E1 d- j

  576. + Q- e; T6 P$ T' `. q( o- |' P
  577. ;;;;;;;;;;;;;;;;;3 J" V3 l7 ~+ O9 ^3 r. R9 |7 P
  578. ; Data Handling ;9 [( X& U  J: Q6 W% N) u! s2 I
  579. ;;;;;;;;;;;;;;;;;3 u$ y. t) h$ a& ~4 B, J$ M

  580. 7 a6 z/ v& t' w* U  F! m9 @
  581. ; The separator used in PHP generated URLs to separate arguments.
    7 _* Q0 }- r- D$ e/ O) p
  582. ; PHP's default setting is "&".
    ) |. |1 w/ f/ P7 f
  583. ; http://php.net/arg-separator.output) O( ]' z+ Z9 G" g% o1 J
  584. ; Example:1 N* U2 x/ i- w" ^7 r
  585. ;arg_separator.output = "&", X1 N& _: t) B; x

  586. % C7 V2 K0 o/ U: n
  587. ; List of separator(s) used by PHP to parse input URLs into variables.8 r* C9 [$ ^3 j
  588. ; PHP's default setting is "&"." q, w5 [! W4 N
  589. ; NOTE: Every character in this directive is considered as separator!
    9 V, F, }4 u) D6 g" ]
  590. ; http://php.net/arg-separator.input
    ; t/ E, |6 @$ ~  M2 H
  591. ; Example:& U+ O2 t, x' W8 H  b9 {" m
  592. ;arg_separator.input = ";&"
    " w7 q8 n8 Y2 r, Q. l

  593. 1 [: i5 S3 s) F  N+ [- x4 K: {
  594. ; This directive determines which super global arrays are registered when PHP; T+ e( C, B* [0 c. b6 a
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super& F% B' U  l3 H/ _
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty0 k( V0 l9 k8 l& d, b3 ~5 T5 q, g
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    9 b5 `4 G+ Z$ P2 X% n" M3 [% x
  598. ; used as the others, ENV is not recommended on productions servers. You
    $ J- ~) |% G) y' g! ?" F0 o
  599. ; can still get access to the environment variables through getenv() should you9 o  J, m' ~; A
  600. ; need to." w; K- z9 S5 b4 p6 N
  601. ; Default Value: "EGPCS"
    % |6 `% G0 @5 S5 h
  602. ; Development Value: "GPCS"; O, Z0 U& |+ W) G2 B
  603. ; Production Value: "GPCS";
    ' ?6 ~' N8 H# q2 x! C9 U
  604. ; http://php.net/variables-order
    5 p3 P, g1 c. C% t, ~. I' b# c+ D& G
  605. variables_order = "GPCS"1 y! S$ d/ h. c, M4 G
  606. * s6 `+ G! e3 B" m+ m
  607. ; This directive determines which super global data (G,P & C) should be
    & n1 y5 i9 {$ r' [$ ~
  608. ; registered into the super global array REQUEST. If so, it also determines
    8 n! V9 b& ~3 P- a: p8 U: `4 V
  609. ; the order in which that data is registered. The values for this directive
    & b, K  L% ]6 o( n
  610. ; are specified in the same manner as the variables_order directive,
    3 \& }$ I6 ]* ?. h5 I' ?6 W: }
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    7 Y0 u' R  \* O! Y& f% G+ H8 B# X
  612. ; in the variables_order directive. It does not mean it will leave the super# N- H# g  o+ s2 ~$ ~0 T  `
  613. ; globals array REQUEST empty.
    7 |$ _9 Z4 q( i$ T+ s. R# H% f3 |
  614. ; Default Value: None
    / D; C" e# G, L) X9 c
  615. ; Development Value: "GP"4 G8 I+ X( v; A1 e* G5 _) y" O4 C
  616. ; Production Value: "GP"% R/ J+ v% }" P5 B7 i6 S4 }# d
  617. ; http://php.net/request-order
    5 t) _, X* }% M" N6 a) G
  618. request_order = "GP". L/ z7 W& P7 Z, a
  619. , u( q2 h, T8 ?/ Z
  620. ; This directive determines whether PHP registers $argv & $argc each time it& }" Y' s7 z; T% Y6 Y
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    , L+ E# N, D" V" G& A' b$ z: O
  622. ; is invoked. $argc contains an integer representing the number of arguments  H/ O+ Y3 S" e3 c) i( ~& T
  623. ; that were passed when the script was invoked. These arrays are extremely
    ) o/ O+ o3 a: `7 Q9 g
  624. ; useful when running scripts from the command line. When this directive is
    " I/ y! Y* }' M5 B: y5 ^; o; a
  625. ; enabled, registering these variables consumes CPU cycles and memory each time6 \4 F; V/ c) t) @9 S8 t7 e
  626. ; a script is executed. For performance reasons, this feature should be disabled! C  \/ V. O7 l4 W: Z2 z
  627. ; on production servers.
    6 X! O; y8 `/ I" i& J: r+ d
  628. ; Note: This directive is hardcoded to On for the CLI SAPI: e, ~. Y# }4 W1 \
  629. ; Default Value: On: c) a2 X- ~6 t, B
  630. ; Development Value: Off
    ; [, f3 z2 `6 c. Z( E
  631. ; Production Value: Off* N2 U9 y( x6 }4 \# Z
  632. ; http://php.net/register-argc-argv
    + u" m/ D, }/ [0 J5 b0 |7 G
  633. register_argc_argv = Off
    / |" y* S% {" d2 H
  634. ! J& G' t% K. G4 A7 t! S7 f
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    5 Q* [' c3 V8 [, f- J2 `0 x" {) K1 |
  636. ; first used (Just In Time) instead of when the script starts. If these
      [# c' }8 C9 C/ q
  637. ; variables are not used within a script, having this directive on will result
    " e1 U/ V8 a7 V/ d; j, q7 u
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    0 H& p- {1 Z3 N7 H
  639. ; for this directive to have any affect.
    8 A- b* w5 ~  V8 r1 g5 i
  640. ; http://php.net/auto-globals-jit
    & z: s# W# F- ^. K2 K2 t, d
  641. auto_globals_jit = On
    0 Y: Q) D+ x# E" u0 G8 ]

  642. 2 D# A! s! c5 P! u5 b. p1 O
  643. ; Whether PHP will read the POST data.
    ( [' R# _5 I$ d1 H
  644. ; This option is enabled by default.
    " E: ~$ u8 F  n6 M+ Z
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST/ n: e" i& j6 @( J2 P# L
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    1 j( j  R, m5 y( y- D4 B
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    / L  j) p4 j% X# P" a, f
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.2 ?6 B' e" S/ V% M
  649. ; http://php.net/enable-post-data-reading4 f- J7 ?0 `3 N0 f- H% K/ p
  650. ;enable_post_data_reading = Off
    + w( Y+ V4 R( V, F2 c( O
  651. 2 c- ]9 y# o4 m1 H7 q" H( K- u- Z
  652. ; Maximum size of POST data that PHP will accept.
      ?9 b6 U) P* B- f- f
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    / j' M4 ^* G3 Z& g* \
  654. ; is disabled through enable_post_data_reading.
    , ?8 @8 H+ W' W
  655. ; http://php.net/post-max-size3 p" B6 @/ ?! L- j% h0 F
  656. post_max_size = 50M7 i3 t8 J! l1 V$ h+ |7 M
  657. % F3 Y% @/ P% N! o- [, u+ D" ]
  658. ; Automatically add files before PHP document./ T) X- I& Z! y5 E+ @
  659. ; http://php.net/auto-prepend-file
    , o; t' b" ~0 f: K2 o( T& g# [
  660. auto_prepend_file =/ g" H* {8 U/ ]1 Z5 P9 Q0 E/ A
  661. - N) C0 [) n: Q1 H/ w$ _6 j; u# [
  662. ; Automatically add files after PHP document.
    0 T1 K  q# K/ t/ l, W# C) F0 R
  663. ; http://php.net/auto-append-file
    ' o7 k6 L' z4 Z. Y6 [; a" U! @
  664. auto_append_file =5 M3 z4 F* `% W3 c! e$ S6 s

  665. , o" _& ]  l, d0 K+ |
  666. ; By default, PHP will output a media type using the Content-Type header. To
    % n4 }" D( {2 o6 u7 w1 U* @( K
  667. ; disable this, simply set it to be empty.
    ' V6 T: J, f! @8 a
  668. ;
    1 A# [6 t: \# ]1 S) {* u
  669. ; PHP's built-in default media type is set to text/html.
    0 M% |4 s8 [* O* G; C/ Z( w
  670. ; http://php.net/default-mimetype7 D  E% Q9 T: j, w. O8 N1 `: ^# e1 p/ X
  671. default_mimetype = "text/html"- b, i, U1 L+ ~& D

  672. / h- [+ E& x+ m4 V# `7 B0 |0 b
  673. ; PHP's default character set is set to UTF-8.: n8 `, o  H( n, M0 k2 {  \8 k1 M9 ~
  674. ; http://php.net/default-charset2 B4 F9 n& s1 _* S* e. F0 K
  675. default_charset = "UTF-8": @9 c9 }* y+ b$ H4 b& B( H3 K1 e: m

  676. $ H6 r# O. O& E( V' R
  677. ; PHP internal character encoding is set to empty.6 Z% ~% T: B6 Y( ]4 C; R! h3 B
  678. ; If empty, default_charset is used., [) G5 w2 ^) Y+ ~6 c0 N- d( V5 |1 i6 D
  679. ; http://php.net/internal-encoding
    ; Q* P$ R: ?/ ^, A1 o' T
  680. ;internal_encoding =6 V, Y2 _/ \- P" t

  681. / H- b4 O/ J# [* o
  682. ; PHP input character encoding is set to empty." q2 L; l1 R- {5 B
  683. ; If empty, default_charset is used.
    1 \' Q" C3 M& K4 a+ w
  684. ; http://php.net/input-encoding6 W6 c* ?1 I. m9 X2 ]
  685. ;input_encoding =
    - ?2 H9 f  F7 a

  686. ( y1 @! q! Q5 y  u7 u
  687. ; PHP output character encoding is set to empty.  w8 B; ]9 ~% S8 d
  688. ; If empty, default_charset is used.
    / d8 Z1 B5 k; p8 V* K
  689. ; See also output_buffer.
    , A# }  J4 D' h2 N( |
  690. ; http://php.net/output-encoding
    , q3 S' T! u% @
  691. ;output_encoding =
    % B% F1 I1 r$ @- V

  692. ; |8 P9 F; t5 R$ Y: E
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 U/ n5 u# A: N! A% G' f7 j
  694. ; Paths and Directories ;2 w: m$ W. B8 F9 d- Q
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;! k5 s6 S3 G- t1 ]  c6 O
  696. % K* x4 n+ c, A  h$ L( ?
  697. ; UNIX: "/path1:/path2"
    + {) i0 G) L6 i$ }
  698. ;include_path = ".:/php/includes"- ]' \5 B9 b2 W' [* Z- J" ^% W
  699. ;" [: b* H. k, `/ ?; n
  700. ; Windows: "\path1;\path2"
    ) I% |6 r7 S; e
  701. ;include_path = ".;c:\php\includes"5 r5 {% H3 D: X$ @
  702. ;8 u" B" R6 K+ [2 y' j9 g/ o
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"$ \; E$ P& U% _& K1 [
  704. ; http://php.net/include-path
    ) i8 `8 m. m- _& i0 q) v

  705. ! q' e+ q9 U% f5 v/ f% m
  706. ; The root of the PHP pages, used only if nonempty.8 d- B8 M0 E' l6 M
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ; _  ]* A$ b5 U) R
  708. ; if you are running php as a CGI under any web server (other than IIS)5 k* q" p8 S6 |4 T
  709. ; see documentation for security issues.  The alternate is to use the
      X: S, O1 S# |9 M6 b
  710. ; cgi.force_redirect configuration below
    ! d' j, {6 Z( }2 Y
  711. ; http://php.net/doc-root8 i% R2 M7 h0 @
  712. doc_root =6 j5 {  N9 e: e! \0 Q  x1 S

  713. * J  U4 e% j; u+ ]4 N$ `7 _9 s2 Z
  714. ; The directory under which PHP opens the script using /~username used only$ X0 @4 H6 _" H7 b9 p. ^: a6 Y
  715. ; if nonempty.' f/ a/ Y3 I" y" ~, Z' I$ g1 M: M; x
  716. ; http://php.net/user-dir+ J' K4 h; o, e0 ?
  717. user_dir =
    8 d. `- W) \$ T$ H4 W3 r
  718. - p* u9 [$ ^# R# j
  719. ; Directory in which the loadable extensions (modules) reside.* q6 B* j; \1 B# _0 E2 \8 S; c0 j
  720. ; http://php.net/extension-dir; w8 X6 u9 W3 u0 r5 k2 m
  721. ; extension_dir = "./"
    # k5 w' v8 |. v4 f# g
  722. ; On windows:
    ) z2 K- [# B5 v) F! V
  723. ; extension_dir = "ext"
    * h# H* q7 E! K% `$ L# H
  724. ' Y# E8 E+ H- h. _: F
  725. ; Directory where the temporary files should be placed./ V* z' ]# H6 b1 q7 c
  726. ; Defaults to the system default (see sys_get_temp_dir)5 |# p" A0 L0 x  C6 ~
  727. ; sys_temp_dir = "/tmp"/ {/ w' U; l' r; ^

  728. 5 k$ S/ E( p7 H  {, g2 i! d7 Y
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work: [, j/ L+ t( M: {% D
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    5 [3 l  v( ?+ g( C5 b
  731. ; disabled on them.
    ! `5 s1 Q: p: U$ n- n3 Z
  732. ; http://php.net/enable-dl
    # |# V. x& u& C5 ]& I# }
  733. enable_dl = Off
    ( S+ O7 `* a5 y" [. r
  734. 4 R3 Z. f3 G5 @+ o5 V% K  \
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    1 G7 Q/ s9 x2 @' l/ d. y
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can: l0 r  w2 @( _. p* l$ d
  737. ; turn it off here AT YOUR OWN RISK  g" S1 a" o4 @$ T
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**3 |3 a# Q& \: _3 p& P( V/ G
  739. ; http://php.net/cgi.force-redirect
    1 G+ b7 p* A0 B& j/ z
  740. ;cgi.force_redirect = 1% A& r* j) W% Y5 X, k

  741. / g. I6 H0 i& V5 O3 g
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with; k7 n/ \/ ~3 r
  743. ; every request. PHP's default behavior is to disable this feature.
    * ]1 P: a/ ]# y+ [! H1 d
  744. ;cgi.nph = 1
    7 d* {* c/ R" U. e# k# H7 D4 j
  745. $ j* u$ @/ Z0 k6 a8 I) U  R4 @
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    0 O) U7 n' h+ m. O, T! s" r
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP6 a' l: X7 o5 t$ {: h
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ; ]6 j' h- C/ J% a/ Z
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    / ]$ ?5 ^2 Q1 U; c1 [
  750. ; http://php.net/cgi.redirect-status-env
    8 Z. S8 e4 z) C
  751. ;cgi.redirect_status_env =7 W9 f. m* E' ]2 U8 s( v( h: P
  752. ' }5 z) Z7 r0 K' L9 W- M
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    3 u. i& b9 O7 F! F) I: E" L
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    3 H( T  i- Q' d6 h% u. [4 ~
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting7 k& |/ N6 A& }0 `4 x. K
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    1 v  [, p6 D  z/ O2 k4 C4 ^
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ' F" r2 {0 Y& y
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.' r* h* |4 T* x5 U: |4 V( s
  759. ; http://php.net/cgi.fix-pathinfo2 d5 e+ O6 z( n& x+ b* ^- n3 X
  760. cgi.fix_pathinfo=10 x4 o3 V' o# Z: g; p/ r

  761. 5 L" L' S+ F. P+ {: F# B: ~
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    7 a0 u* ~. O0 b+ c! j
  763. ; of the web tree and people will not be able to circumvent .htaccess security.9 c; s# M5 o$ r6 f  H
  764. ; http://php.net/cgi.dicard-path. |, M; @/ u5 [- U
  765. ;cgi.discard_path=1
    , D' \) j4 U; u6 w
  766. . p& G4 `5 U  W$ K0 ^
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    " p6 i/ L1 Z' c* @
  768. ; security tokens of the calling client.  This allows IIS to define the/ L! ^  m$ Q# T3 k$ z# W/ z' O
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    $ a4 Z+ X8 t! h, R
  770. ; does not currently support this feature (03/17/2002)5 B' q  `+ ^5 s7 |8 k2 j* a+ ?
  771. ; Set to 1 if running under IIS.  Default is zero.; j$ w, g' I0 D
  772. ; http://php.net/fastcgi.impersonate+ |* P6 |7 M5 X5 h0 A; i
  773. ;fastcgi.impersonate = 1
    7 i9 |  Q+ o- l

  774. + u7 P+ M0 \' G9 X( I0 j
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    $ Q- v" p( C( n+ X& K. o. {; }# ]
  776. ; this feature.
    ! l& ^1 g/ s1 W- w3 s
  777. ;fastcgi.logging = 0. H" u) Y/ F- k8 N0 Q1 K8 w
  778. " K. @$ W0 y: Q$ J6 k5 w! m
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ! G3 J. R3 l# {1 y; U. a
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    - D0 {0 B, t% r" _
  781. ; is supported by Apache. When this option is set to 1, PHP will send# q' U# y7 e4 i; d7 C$ `
  782. ; RFC2616 compliant header.3 {! Q# T9 G5 _
  783. ; Default is zero.( o, ~5 U* o+ `) w' Z* O3 q3 ^, ?1 _7 P
  784. ; http://php.net/cgi.rfc2616-headers' f4 `  _/ J) g" O, _/ X
  785. ;cgi.rfc2616_headers = 0' T' i: R4 f, U. t; R

  786. ; d0 n" j4 V% `- x; o
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    : c. N  R) S0 |5 n
  788. ; (shebang) at the top of the running script. This line might be needed if the& Q# _/ f) }* o9 W
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    0 w3 e; o( K: M
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ! d' j$ E9 e! S; z: k
  791. ; http://php.net/cgi.check-shebang-line
    : n+ a5 m# O& A3 {, h' Z
  792. ;cgi.check_shebang_line=1
    7 o9 f; M8 H' f, U, c
  793. 0 M4 y" f4 u$ x* t" f1 ~
  794. ;;;;;;;;;;;;;;;;
      ]' O+ ]. Q3 m7 H2 i7 F5 i
  795. ; File Uploads ;
    6 W' ]" b- M2 j7 y  z
  796. ;;;;;;;;;;;;;;;;; l7 o4 @1 D+ H) i

  797. $ U; {" t" {: N( |( O+ ^3 |
  798. ; Whether to allow HTTP file uploads.
    # f; t! v5 [- }$ _- S* c5 b& a
  799. ; http://php.net/file-uploads' Z# Y' Z1 X) A/ A
  800. file_uploads = On
    6 d, c% n/ U. [; X) ^" s
  801. 6 s$ {8 V% S" O. t; o
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ! c+ d: H& v3 c+ }
  803. ; specified).
    % w3 l5 A0 D# A1 I
  804. ; http://php.net/upload-tmp-dir8 k; f2 G8 S( m; A+ C+ k! d# F
  805. ;upload_tmp_dir =
    . T. e# ^: w; p* k: U
  806. % G; a  }1 q7 Z( W5 f" v- y( H
  807. ; Maximum allowed size for uploaded files.
    . m( g. E: ?2 {; b0 Q( x
  808. ; http://php.net/upload-max-filesize
    & w. v0 K+ g7 b1 ^$ K/ `
  809. upload_max_filesize = 50M
    7 U$ v# k$ t4 y

  810. 0 b: F7 c6 M+ P& b  M# W
  811. ; Maximum number of files that can be uploaded via a single request8 G9 ^, N+ M& M
  812. max_file_uploads = 20
    3 e+ e" H: G" Z: U& A

  813. ; y3 D  s" |, K1 |( k6 f4 w% Y
  814. ;;;;;;;;;;;;;;;;;;
    4 H. ]' l1 {& `3 g' |$ b% M0 R' [
  815. ; Fopen wrappers ;0 K8 ?: Y' P- z  k+ E
  816. ;;;;;;;;;;;;;;;;;;; n1 d, q+ ^. V5 T5 t( o
  817. % Q5 }+ T6 k8 y0 |  i# h
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    4 X, C8 D9 g& ]0 a- a
  819. ; http://php.net/allow-url-fopen
    ; {$ ]  {' A4 Y6 l3 _$ X
  820. allow_url_fopen = On" ?5 p  Y8 U: p; D1 P

  821. 9 E3 [2 [! T4 T2 Q  ~
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    $ C$ W6 W+ D0 p! r- F) Y" B
  823. ; http://php.net/allow-url-include
    3 X5 t- R$ e% I8 T
  824. allow_url_include = Off
      @0 e) V# k: B3 W) ~

  825. , [0 K% a2 H( m0 D8 ]( u$ t
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ! ~5 ^8 |+ h* q9 E1 B: |
  827. ; for this is empty.2 U9 U3 H8 s& D# q5 W+ s
  828. ; http://php.net/from7 Y8 x0 [3 P! E" i4 Z6 D7 j- i2 a
  829. ;from="john@doe.com"
    $ [% i& O- a% F, B; [4 I

  830. * e" i# M* O8 _! Q6 L# f
  831. ; Define the User-Agent string. PHP's default setting for this is empty.1 }5 k7 }* B3 L1 D
  832. ; http://php.net/user-agent
    6 W# _+ J8 v, ?; i
  833. ;user_agent="PHP"( X/ S5 ~: p% o( |
  834. 9 B: `: E( H3 K
  835. ; Default timeout for socket based streams (seconds)& N0 I6 L! {7 e, r9 B+ r
  836. ; http://php.net/default-socket-timeout' M3 F/ m$ O, C3 E
  837. default_socket_timeout = 60
    ) Y; k3 x, i3 Z* F- C
  838. . s' }1 S& K; ^3 M: G5 E1 K
  839. ; If your scripts have to deal with files from Macintosh systems,1 ?; q2 C( k2 m! T" o/ X7 f
  840. ; or you are running on a Mac and need to deal with files from
    5 v) d* i5 J+ J# ~9 Y9 T
  841. ; unix or win32 systems, setting this flag will cause PHP to) V7 Z* T* [) ~7 d: ^
  842. ; automatically detect the EOL character in those files so that; ^- U1 v+ m) `7 W  G& \% d1 ]
  843. ; fgets() and file() will work regardless of the source of the file.+ }% ~& b( O( D; s* k8 A; E
  844. ; http://php.net/auto-detect-line-endings
    6 p: M$ z8 L0 T* j* Z3 ?! D& ~# b
  845. ;auto_detect_line_endings = Off, N/ x+ v5 h9 F: I/ Z
  846. 4 }  i3 E4 W0 {& q4 n/ i
  847. ;;;;;;;;;;;;;;;;;;;;;;0 G! J) y  d3 z' D& ?/ q
  848. ; Dynamic Extensions ;2 X4 Y1 L2 r8 z6 V9 c
  849. ;;;;;;;;;;;;;;;;;;;;;;+ W6 D# v  R7 m7 q% ^4 {1 q
  850. " K  t; J& R* Y. g# p/ M& r
  851. ; If you wish to have an extension loaded automatically, use the following
    " @% `' x5 [! ~& w! F! [
  852. ; syntax:# ^. {! {0 x- V1 G8 K3 N; W3 K
  853. ;5 \$ x1 X* Q! A  k/ d' Z
  854. ;   extension=modulename.extension
    4 R/ j( `9 k$ |2 e* I1 R7 ~" m: }2 L7 \
  855. ;
    1 }( ~, `' p" @( g. G, @0 Q
  856. ; For example, on Windows:
    4 o5 C6 i. C9 n. ]" ?) y
  857. ;
    4 d7 g1 i0 K' v/ j$ F
  858. ;   extension=msql.dll8 y, j, J  t6 B; X% x- Y  L
  859. ;
    % K/ H2 K# W; d1 k7 l& V
  860. ; ... or under UNIX:
    & U& n7 x; a, B8 y
  861. ;3 T0 t9 ?6 H) k2 P6 [
  862. ;   extension=msql.so
    , U, a9 {5 J" d
  863. ;  N2 k1 O# \: n
  864. ; ... or with a path:  D' e" w# U2 U/ a; x; K
  865. ;8 T7 S0 S4 o& t7 O4 Y# X' r
  866. ;   extension=/path/to/extension/msql.so) t# a* \; ^+ P/ E, A) Y0 i5 F' ~
  867. ;# l; u) {% n; i% A' N/ u, |
  868. ; If you only provide the name of the extension, PHP will look for it in its
    / J  _/ `" u+ K# t7 B7 O6 e
  869. ; default extension directory.7 C2 ~& i8 V% W* m4 E! v
  870. ;
    : ~! k- `9 k& B: @1 j; ^
  871. ; Windows Extensions
    * a; i* B! M$ ~$ A$ Q
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    : x5 G# P. v$ u2 U3 y$ s
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    - x" x+ l& r, P0 g* ~  L" z8 a
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    0 L; q( m2 D, \- O& y7 K
  875. ; Be sure to appropriately set the extension_dir directive.
    " S4 G+ a1 Y8 U+ \
  876. ;
    6 l* C0 f9 e4 f
  877. ;extension=php_bz2.dll: u7 w% V7 D2 O. [
  878. ;extension=php_curl.dll
    ! @5 v, D7 z+ ^( t, K7 p
  879. ;extension=php_fileinfo.dll! Y* D9 @" _7 b4 `; ~2 x* e: f& v
  880. ;extension=php_ftp.dll; |0 ]5 C2 {. ]6 Z1 p' n
  881. ;extension=php_gd2.dll
    5 F, a' M( d, @( n8 t6 U/ d
  882. ;extension=php_gettext.dll6 o' W6 t. |2 }7 n2 t" J% l
  883. ;extension=php_gmp.dll
    1 K& h+ i0 d2 p: ]3 q
  884. ;extension=php_intl.dll
    5 Q2 e/ R* e6 m. Q3 f
  885. ;extension=php_imap.dll5 h5 U( i& R7 L, H5 [/ n5 N
  886. ;extension=php_interbase.dll
    - Z5 O) V" p0 M
  887. ;extension=php_ldap.dll
    ' D0 y+ s7 d, V0 @, _# J$ @
  888. ;extension=php_mbstring.dll
    3 m% Q2 W" [! z$ D0 g% U" p
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    " y1 o# \$ v6 l" a: H
  890. ;extension=php_mysqli.dll, p9 w. h1 f$ v; D( N, c" K! C
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    , X0 x; L& @( j0 v# J3 m' z
  892. ;extension=php_openssl.dll3 o( h$ g) n; [% l) ]  q
  893. ;extension=php_pdo_firebird.dll
    * `! @, t& J- y; i
  894. ;extension=php_pdo_mysql.dll: e6 x# r# d" y! y* [5 e
  895. ;extension=php_pdo_oci.dll
    ; L  ~4 a4 Q" l5 Z7 \
  896. ;extension=php_pdo_odbc.dll
      e* e. D0 u/ P7 K
  897. ;extension=php_pdo_pgsql.dll
    6 g1 I9 h, m( Q# g
  898. ;extension=php_pdo_sqlite.dll
    / Q( U( R+ [- Q) \  v( y
  899. ;extension=php_pgsql.dll2 a. \- i& b0 N% `! O4 g& N( t  W0 _
  900. ;extension=php_shmop.dll  G( p, f0 |7 U/ W* x$ w

  901. # V  j9 x. C- E* f; _3 e+ F
  902. ; The MIBS data available in the PHP distribution must be installed./ N7 a- k( C1 j, N' \' Z
  903. ; See http://www.php.net/manual/en/snmp.installation.php  V% a/ V# _7 |! i9 \( M1 A+ g
  904. ;extension=php_snmp.dll
    7 O) B& \' v# w0 M5 _
  905. # x* M  G, O" U3 X, q3 I. T( l& [
  906. ;extension=php_soap.dll  y+ V) R; a* A- P
  907. ;extension=php_sockets.dll
      u+ e  l) r5 X) Q, D6 i( W0 G# J
  908. ;extension=php_sqlite3.dll
    * n: K1 K' p, {4 l! Q: ~, L8 ^6 m
  909. ;extension=php_tidy.dll
    $ N7 m- a/ z+ a7 Z& N! d
  910. ;extension=php_xmlrpc.dll8 s" c1 d8 U3 T) L
  911. ;extension=php_xsl.dll
    . q. D( [6 {/ L1 R" N

  912. ! h0 S' h0 q7 n% \
  913. ;;;;;;;;;;;;;;;;;;;  A, L0 V. w2 \- Q1 w' @, Z
  914. ; Module Settings ;# H. z$ ~7 u, z* g; A4 D' O
  915. ;;;;;;;;;;;;;;;;;;;. c" n% X0 p! {

  916. ' s7 w2 t& Z8 N$ H5 F
  917. [CLI Server]- A' b7 ~8 d: p& q9 t1 {; A! k  i4 @
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.$ ~6 p# c  i, \* u% h: D9 n
  919. cli_server.color = On
    6 Q3 j. H& z1 ]3 x, j0 q# u

  920. ! ?, j1 r) k) Y7 n( d% V+ D& ], {
  921. [Date]: b# J: x2 y1 ?
  922. ; Defines the default timezone used by the date functions
    5 o( B) y! u  E6 w" r8 n$ a4 P
  923. ; http://php.net/date.timezone+ z* s" T0 s8 `+ ^  l4 H
  924. date.timezone = PRC
    . I! ?% ^; D/ c/ O- z0 ?8 }* v1 \7 O

  925. / o5 j- O2 n4 R7 A
  926. ; http://php.net/date.default-latitude: g/ {5 f$ F$ l7 e* o% F
  927. ;date.default_latitude = 31.7667$ e7 O, @( N9 o  N% \* ?
  928. - Y+ P+ m* a6 K/ @1 b4 o( l
  929. ; http://php.net/date.default-longitude
    2 D6 @( p9 Z) K8 r. I) w
  930. ;date.default_longitude = 35.23332 v8 v  m* H1 c
  931. 1 f& r2 r# @3 M# ?6 e/ C, A% z9 D
  932. ; http://php.net/date.sunrise-zenith; C  d1 }! r# _8 p
  933. ;date.sunrise_zenith = 90.583333
    - X6 ~& [6 v; _  q- `

  934. ( w) N% v3 d+ Y2 @& E
  935. ; http://php.net/date.sunset-zenith* ~) M% P. o* k: D3 {
  936. ;date.sunset_zenith = 90.583333; G5 H8 O6 W6 @2 M5 D
  937. # }% _9 g6 I- Y7 Y+ p
  938. [filter]
    0 x- d1 x, D, _9 z3 H3 ^5 w
  939. ; http://php.net/filter.default8 x& ?$ k' z' f; z! H
  940. ;filter.default = unsafe_raw
    ' I! _7 p/ N+ x! M
  941. " B+ J+ {7 p& ?, t! x
  942. ; http://php.net/filter.default-flags1 m0 {! v# d( \3 w0 X$ a
  943. ;filter.default_flags =9 u) `7 i' h$ J9 o" a4 \! h2 e

  944. ' W& f- @. r$ ?
  945. [iconv]4 A1 A4 n) b! ?
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.' h- B  [0 G5 f' w
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.9 @) D" I" m2 J" e( R/ J; C+ X
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    0 u* D+ A  x, ^$ [; P" w
  949. ;iconv.input_encoding =
      K9 t+ m  \  q4 B" B% e4 I
  950. ; W& X( L( K9 i( {
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.1 v1 |( |4 U1 b+ N" x9 U, }! c
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    $ g5 s( f) R0 \3 y
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding) ]7 w2 {* C% r. ?) v
  954. ;iconv.internal_encoding =
    / f  g- P7 t: @. D, ^, ?
  955. % p1 P, x1 O8 C  `0 k: c
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 L, |3 w  }  \' A& D: r2 u5 f
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    8 ?& k6 l6 Y. Y/ n& o
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding& h$ C5 T! P+ Y3 Q1 t+ T
  959. ; To use an output encoding conversion, iconv's output handler must be set
    # i0 t4 K- n+ G" A8 V9 @- K
  960. ; otherwise output encoding conversion cannot be performed.4 Q* I* m- A" E# O0 P% |8 A
  961. ;iconv.output_encoding =
    3 Q4 f4 p; t0 e$ R1 j

  962. & W7 Y8 E9 J+ J! Y' n; L. _: F
  963. [intl]
    : m, O8 S9 A; e+ Z# Q+ ?4 M
  964. ;intl.default_locale =, Z9 a# l, G4 U$ g4 T$ R; d9 K3 W
  965. ; This directive allows you to produce PHP errors when some error
    4 e  ]9 u' {# Q' _1 \# G( F
  966. ; happens within intl functions. The value is the level of the error produced.) \1 b0 l8 A( d# P7 V0 T" ^
  967. ; Default is 0, which does not produce any errors./ l7 \# j2 O$ i; A4 K( V, O
  968. ;intl.error_level = E_WARNING
      H. ^0 A" D  Y( w  s( y
  969. ;intl.use_exceptions = 07 g9 N: Q6 m9 E  W

  970. + a6 ~" ~$ L! @1 W9 ?0 c
  971. [sqlite3]+ r, B! `4 l2 e4 N" z$ o9 {- J: V
  972. ;sqlite3.extension_dir =
    2 O9 ]3 W& w" V" ~' {: g+ F

  973. ' S) e- }; ]' A! e+ R+ j! j4 h- h1 L: s# q
  974. [Pcre]& ~; `. H) u0 U0 j2 U5 k
  975. ;PCRE library backtracking limit." E) v! C+ p" d) d: g
  976. ; http://php.net/pcre.backtrack-limit: Z& e) P; l, i
  977. ;pcre.backtrack_limit=100000
    : o, J7 L8 Y4 x! _; p
  978. ' j9 S& p- z4 N& ]4 q. ?
  979. ;PCRE library recursion limit.
    - O# J, G; o4 _4 @5 ^9 L
  980. ;Please note that if you set this value to a high number you may consume all- D# G3 N4 Q' Y
  981. ;the available process stack and eventually crash PHP (due to reaching the
    8 x; Z, Y# s6 p4 I1 u5 w2 J4 w; \
  982. ;stack size limit imposed by the Operating System).  n' o1 K4 b: {' W7 O( y; j: k
  983. ; http://php.net/pcre.recursion-limit
    ' K9 l4 V% C; w9 D; S$ \
  984. ;pcre.recursion_limit=100000
    8 T5 ~3 @; f# n2 m
  985. + V+ ^  X+ j7 I
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE$ Y9 l" S7 X4 A2 n2 t4 h% [
  987. ;library to be compiled with JIT support.$ Z( I& z- n) Q9 U
  988. ;pcre.jit=19 O" g2 O% {' o( A! H

  989. # f$ [/ F" W& \5 }# |: i) z
  990. [Pdo]: h0 P, |6 F. ?
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"/ E0 Z, r; K; c, T7 R+ t* c8 @# n0 @
  992. ; http://php.net/pdo-odbc.connection-pooling
    ' K" K5 z2 d' Y0 V% l4 n% ^9 p
  993. ;pdo_odbc.connection_pooling=strict
    * z$ M1 g. H0 C7 m* n* c2 K, F0 b
  994. / q0 D$ _6 p) o2 L" u6 F
  995. ;pdo_odbc.db2_instance_name8 K9 N* k( U" G

  996.   A5 o9 ^. w- z1 M+ q9 F1 c. u3 t( D; r
  997. [Pdo_mysql]: v0 f& k, O0 @
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache( V- f! x8 N: e0 y# b  h- ?! D
  999. ; http://php.net/pdo_mysql.cache_size
    * m5 }' a( M/ C! E0 S
  1000. pdo_mysql.cache_size = 2000, _# Y  ]  v: a0 n' z

  1001. ( t  e3 q$ a  V
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    . }! N0 _8 l3 w- x2 c+ o
  1003. ; MySQL defaults.
    4 ]0 q8 N# I0 ]6 _
  1004. ; http://php.net/pdo_mysql.default-socket9 R; ~# ?3 i3 e% B0 x
  1005. pdo_mysql.default_socket=
    , p+ j1 ?* @; s) |" ]

  1006. / F5 J7 R  }3 N* l+ E9 p, Y& u8 a
  1007. [Phar]' k% o4 f2 M. x" d9 c
  1008. ; http://php.net/phar.readonly
    ! T: ]; p/ s* U2 Z1 N
  1009. ;phar.readonly = On. C/ k1 ^) d# F9 ~2 V' m
  1010. * U5 ^( V2 M. P0 U6 ~, X
  1011. ; http://php.net/phar.require-hash7 y3 c7 Z& z% ?
  1012. ;phar.require_hash = On! A. l! a1 W7 b- B5 Z& z

  1013. 5 t. w  i# a; E1 B+ F$ O
  1014. ;phar.cache_list =
    & l- c9 _  O8 }6 x2 q7 }5 R9 X

  1015. # x( r$ v3 L( m+ B/ X- k9 n  ~
  1016. [mail function]
    % v- [. ~" R6 n
  1017. ; For Win32 only.1 v* O. J  B$ J% N; }8 H
  1018. ; http://php.net/smtp7 h0 q4 n; i+ `0 j7 `- c7 L
  1019. SMTP = localhost% c5 `: G! n0 U( i- C- @* W! ~
  1020. ; http://php.net/smtp-port
    + K  f+ \* \5 d0 W' H5 K6 ?& o$ {
  1021. smtp_port = 25
    / |  }$ _3 E1 @, ^: \
  1022. - ]7 _5 q$ z! G
  1023. ; For Win32 only.
    ) F$ W' W8 h! _; `) g
  1024. ; http://php.net/sendmail-from1 A6 I/ _* x# r# g6 P  h8 u  A
  1025. ;sendmail_from = me@example.com
    * i# v! _, t! M
  1026. 7 V9 N7 k1 n* U- W7 ]
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    6 s" v1 J) Y2 ~6 S* D* ~4 G& c
  1028. ; http://php.net/sendmail-path* ?, ?* |# C" C  C6 h1 g, A. n
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    8 ]1 u3 g: Z, h* @2 C7 N1 T
  1030. " v$ t! h/ c! w* w, @
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    * u6 h; t. @! Q1 X8 ~: u/ N7 \
  1032. ; to the sendmail binary. These parameters will always replace the value of  H/ s  L. {; }& ^  ~
  1033. ; the 5th parameter to mail()., Z, n. R+ p% J; p
  1034. ;mail.force_extra_parameters =
    9 U2 r' y/ d$ m, M4 k$ B* \) r
  1035. ; }# r5 f. c& r3 L% i
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    $ y2 H4 ?. n9 Z# i) C% ]# X
  1037. mail.add_x_header = On( b! n" \# ?0 |6 s' {8 W( T/ j; M) n
  1038. ) @6 L+ T- Q" l; ?% W
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    6 L4 j/ H! Q/ T/ g- T& ~2 w
  1040. ; the full path of the script, line number, To address and headers.9 `4 s+ p1 B9 v
  1041. ;mail.log =
    % V2 S# p7 c# i" C: x; B
  1042. ; Log mail to syslog (Event Log on Windows).4 l( f+ k# [. b# d) x4 [) k8 v5 w/ r
  1043. ;mail.log = syslog
    8 {8 j7 }, L( q
  1044. 5 K/ ^3 Y5 y, s% |3 z. l
  1045. [SQL]
    9 L; p4 v! n% t9 z1 T
  1046. ; http://php.net/sql.safe-mode
    5 i6 s2 y  ^1 Y2 D. U! |' B
  1047. sql.safe_mode = Off( s; ]: O/ e, q) P8 |0 B

  1048. , x6 J6 {4 i# L, @0 L
  1049. [ODBC]& B- ]0 k7 D- m  }+ \
  1050. ; http://php.net/odbc.default-db# I/ D4 [" O- `: v; X$ ]* ]9 b# K
  1051. ;odbc.default_db    =  Not yet implemented* U: M  a0 ^8 S$ r) ?
  1052. ( h$ p/ D" |" m2 I
  1053. ; http://php.net/odbc.default-user
    # x/ f4 t$ t5 O2 ]
  1054. ;odbc.default_user  =  Not yet implemented" v; {0 A3 Q* C1 }' O2 X8 @4 d( t

  1055. " ]! \& h: m# N% ~0 f  Z! z
  1056. ; http://php.net/odbc.default-pw2 C; n7 V' Z# c% L7 q5 [" w9 [
  1057. ;odbc.default_pw    =  Not yet implemented5 B" O' k5 r: r5 m/ n) |

  1058. * C" O  M8 K& Z9 ?- F% l
  1059. ; Controls the ODBC cursor model., @& E0 r3 m3 A/ o5 r$ t
  1060. ; Default: SQL_CURSOR_STATIC (default).
      u( C% l4 I+ Y) F) ?$ G
  1061. ;odbc.default_cursortype
    ' R6 m8 `4 o7 B, ?! z" b
  1062. 4 \& e& ?: x; p. ?: J
  1063. ; Allow or prevent persistent links.) }/ r- B  \5 m8 G8 u4 V8 G2 i- ^0 J2 @
  1064. ; http://php.net/odbc.allow-persistent$ X* Q! y: S( s
  1065. odbc.allow_persistent = On: \0 Y8 l% i- m5 l: p2 M/ J7 d

  1066. ) s: f5 N6 q, z( l5 G4 ?; C1 B
  1067. ; Check that a connection is still valid before reuse.
      s0 O! w) l2 @' P
  1068. ; http://php.net/odbc.check-persistent
    2 b) ~$ N( A/ d3 ~
  1069. odbc.check_persistent = On
    0 F( e5 M) c3 X
  1070. 7 W: `% Z7 n. a- ^" j
  1071. ; Maximum number of persistent links.  -1 means no limit.
    5 h" A( B* W$ @7 `8 V4 \! S
  1072. ; http://php.net/odbc.max-persistent
    : V% K3 ?& a7 L! \9 o9 Z
  1073. odbc.max_persistent = -1& j, f! V3 f+ W' i, b

  1074. ! ?( j- H7 o( V1 ~
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! I/ L7 k# M2 `
  1076. ; http://php.net/odbc.max-links
    % [- C6 b! n* V; w" |2 Y+ u: W* b5 D
  1077. odbc.max_links = -1
    2 a7 G) O6 u$ p- Q

  1078. $ Q; W: a  `4 O8 M0 k3 h8 ~5 O
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means) E+ X/ b5 ?$ t7 f
  1080. ; passthru.3 Y; H3 ]; f$ A! f2 w+ X5 F
  1081. ; http://php.net/odbc.defaultlrl/ f$ D( w) z4 k% A
  1082. odbc.defaultlrl = 4096
    & w7 ^; N& \& D( @2 Z
  1083. ' Q. V; P1 Q# r+ l  [
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.+ e; n6 ]1 o1 K4 ?2 k! M4 }
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ' s: W/ D% R$ q& l( i# G
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode, f8 [- Y: U! i, ]- [6 [" p
  1087. ; http://php.net/odbc.defaultbinmode
    2 P' q8 }+ b3 H) d4 n& {/ O
  1088. odbc.defaultbinmode = 13 B* Z5 D+ P' F) |" V) k- C% s) u
  1089. 5 d) m" o: O5 X4 E5 B
  1090. ;birdstep.max_links = -1
    # ]( w6 S7 o9 @3 Z$ Z

  1091. 0 Y& q2 o2 J4 \: Z1 c
  1092. [Interbase]4 C1 x1 N, ?. t+ [9 I  T
  1093. ; Allow or prevent persistent links.
    & Z* R2 U: b; h, n; A! t8 b. A
  1094. ibase.allow_persistent = 1
    + o# |( n8 i0 q1 C. Z1 i
  1095. 5 w+ d7 @  P- u* Z, U# P& u
  1096. ; Maximum number of persistent links.  -1 means no limit.
    $ o) J" b# @  @
  1097. ibase.max_persistent = -1
    . U# `# x+ x6 \
  1098. 6 D0 N% B; K/ I+ J
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: P" g8 T. }; X; ]/ @6 M
  1100. ibase.max_links = -1' `" A' b! K8 i0 f6 E( z+ ~
  1101. 1 g" q! e. O6 l, I+ \4 [9 u; v3 V( c
  1102. ; Default database name for ibase_connect().
    - x4 a# L% Z. n0 n4 G7 r
  1103. ;ibase.default_db =
    9 q; N5 C/ t, B; F2 R

  1104. ; f" x6 u$ o& z, i3 G+ z7 P0 P$ Q
  1105. ; Default username for ibase_connect().1 r8 t8 o, Q- p2 x: N5 ^
  1106. ;ibase.default_user =
      p' v* G, P/ `2 {# O

  1107. ( e, _/ G; `: O, P; F! o! |" a
  1108. ; Default password for ibase_connect().
    ! D- b  k/ ]- T( S" y, H. U
  1109. ;ibase.default_password =* D6 h* `- J- d$ b9 G2 f0 Q

  1110. 3 S9 ?; s8 q4 X+ N- [% G
  1111. ; Default charset for ibase_connect().
    1 x/ Z& K/ y) j- _2 p8 v& ^5 }: Q
  1112. ;ibase.default_charset =
    2 G. u0 I( p. L% Y" _, g

  1113. 3 g7 w1 k* r/ P# u! ?3 V5 N
  1114. ; Default timestamp format.0 |! b  \$ M3 D  h2 h+ G
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"2 |2 p5 l" y+ [6 @3 r. Q6 Q0 d
  1116. 2 g( Z6 a  `9 |9 f, h! t$ \
  1117. ; Default date format.
    0 W# n4 ~. [3 w! T. L$ A# ]
  1118. ibase.dateformat = "%Y-%m-%d"/ r3 I# w# s. H  w3 s3 S
  1119. " \8 k9 {  d$ R
  1120. ; Default time format.
    : n/ M" h" r3 [/ k
  1121. ibase.timeformat = "%H:%M:%S"
    2 a4 h0 Y9 \. j: h" [

  1122. 6 Z4 m7 ^1 |2 G% ^+ U( q0 W7 f7 q- }
  1123. [MySQLi]8 ^: a- l. \  e. P3 i7 P+ A

  1124. 3 ~' W' o& f5 [5 ?. F
  1125. ; Maximum number of persistent links.  -1 means no limit.) g! F/ E/ _& m: F
  1126. ; http://php.net/mysqli.max-persistent
    9 l' B1 i) Z7 i" E
  1127. mysqli.max_persistent = -1
    * ?, P3 l) f9 w5 u! r
  1128. - r8 o7 o% J9 x  O3 d
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    6 ]4 C$ _0 Y; j; P1 v
  1130. ; http://php.net/mysqli.allow_local_infile
    ( j' R  K" ?1 H* e+ o5 h
  1131. ;mysqli.allow_local_infile = On
    ' [6 L' k8 ?" L: `4 i1 W6 I4 h$ _: V

  1132. & r" ^8 L* _. A0 G. \
  1133. ; Allow or prevent persistent links.( Z& s2 g  g* j2 b' o1 w2 e+ ~
  1134. ; http://php.net/mysqli.allow-persistent
    ( e' P. K. V$ K& T0 j3 j
  1135. mysqli.allow_persistent = On0 g+ D$ r) m' v, l* M4 A

  1136. % K* i" O+ A3 [1 w& ~' F: w/ b
  1137. ; Maximum number of links.  -1 means no limit.
    % G/ s! t3 W9 }3 J& @
  1138. ; http://php.net/mysqli.max-links2 b2 o; H  P8 X: T! o3 V
  1139. mysqli.max_links = -1, C% V: ~8 \1 u' l$ E

  1140. 4 c3 x8 \$ q5 e/ P0 a
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . \5 O* }* a9 n4 f5 ?* ?( f, J
  1142. ; http://php.net/mysqli.cache_size
    ' O7 S; A: f2 y8 S6 u: `. ?1 d6 z
  1143. mysqli.cache_size = 2000/ \4 k- E) @5 Z7 y1 R! [
  1144. 3 k. |/ d- M, Q
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use6 ]' y+ j& E2 f. i8 m! l
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ! h! [3 M( e  y1 d7 u& k! k  E' m2 z3 ~
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    . |# W9 X% k( U$ S
  1148. ; at MYSQL_PORT.3 P! J: {/ Y; c: N6 `3 k# w
  1149. ; http://php.net/mysqli.default-port6 T  @$ O# g, R, V& F' v, I
  1150. mysqli.default_port = 3306
    + I/ A; [7 s- ?
  1151. ! ~: r. @7 J; W0 w/ t( r7 ~
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ m4 A* u5 [- v3 p: p; t
  1153. ; MySQL defaults.
    ' @/ i1 v3 W* q1 V
  1154. ; http://php.net/mysqli.default-socket
    / ^% V  M5 |, C+ o
  1155. mysqli.default_socket =. l# d+ w& n) P% I
  1156. 3 ?+ |1 _8 u  A: l9 J  P
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    7 B# n5 H7 i0 E% C# m+ a
  1158. ; http://php.net/mysqli.default-host
    6 N! N3 [, o# q  b: p* i5 ~  t' F/ |
  1159. mysqli.default_host =/ \. j! S1 q, V$ n7 m- u$ t% |( }; A: y
  1160. 4 _  ^* D8 f9 q" K$ G
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    % a( |4 ^/ w- v( Q( e( y9 J
  1162. ; http://php.net/mysqli.default-user
    # G. I" x1 g! e5 H1 N
  1163. mysqli.default_user =" t5 Z& z1 ?4 B, K
  1164. 0 Q) F4 T/ n2 b+ V4 v& V
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    & Z: J, B- e" |3 ~, Z0 ]
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ( a! w, l; K+ j, u+ D
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")( o( n, h* b! ^0 E
  1168. ; and reveal this password!  And of course, any users with read access to this) M- G0 \& M8 A3 t
  1169. ; file will be able to reveal the password as well.
    5 ~( e# G" U+ u/ {4 n6 ~; V
  1170. ; http://php.net/mysqli.default-pw
    % ]9 t8 m, V+ k; ?& }1 c
  1171. mysqli.default_pw =" M6 \# L# M+ `7 O1 m& i9 R
  1172. " x; V4 I( n9 o5 |7 T6 C
  1173. ; Allow or prevent reconnect
    2 U* O, \( {5 a" l
  1174. mysqli.reconnect = Off8 K. V1 L' W7 t
  1175. % U2 o6 `$ n6 d# E* C! i
  1176. [mysqlnd]
    ! f0 ]7 p6 B- L( G. w! N# p
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be; a' h, o3 V0 k4 U" F- L
  1178. ; used to tune and monitor MySQL operations.( x% ~3 t8 a7 M" p
  1179. ; http://php.net/mysqlnd.collect_statistics
    ) s3 U" h2 D4 l+ j- K8 H& B
  1180. mysqlnd.collect_statistics = On* F) H7 ]6 X4 G" ^" T

  1181. , }9 L7 V5 Y) J
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    & N: h$ u/ L! U0 G. c: g2 u
  1183. ; used to tune and monitor MySQL operations.
    1 b4 r% C" F1 C% `
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    9 l, C( N- U6 z
  1185. mysqlnd.collect_memory_statistics = Off
    * q! E# ]# |! N) z: k$ |

  1186. ( U9 l; m# I4 ?. L8 y
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    # T7 D' l- h2 |% o  F" J
  1188. ; file.. j4 e; B3 m9 m2 M! H* P3 A
  1189. ; http://php.net/mysqlnd.debug& q' L1 D1 M5 D, Z. s0 |$ ?: w
  1190. ;mysqlnd.debug =
    " Q- Y/ C5 V. a& A. g% d2 r+ r

  1191. & ^) o- P4 g# p( r# l8 M2 Z% }
  1192. ; Defines which queries will be logged.
    ; j2 `- `* T$ O  U% a
  1193. ; http://php.net/mysqlnd.log_mask5 d7 X- `; W. a, x! k$ T
  1194. ;mysqlnd.log_mask = 0! L$ \+ @9 Q; t4 n# H" f
  1195. 8 ?, v1 D1 j; C7 O7 A- d# \- _
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.; S3 }3 O7 g: k1 I2 I+ L+ h
  1197. ; http://php.net/mysqlnd.mempool_default_size
    6 w/ `7 ^1 Z9 |( f: N6 u; ?
  1198. ;mysqlnd.mempool_default_size = 16000
    5 `$ K( J  l4 N  [; R* O+ }( m

  1199. ! _% r8 q! _2 g  j9 z* z* T
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    $ E+ M# A2 P4 H. X& h) Y
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    5 `/ M' g; e+ r  M  b
  1202. ;mysqlnd.net_cmd_buffer_size = 2048- X, {0 G# m& `, B

  1203. % B2 c* o) n" j9 _$ Y$ G
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ) U) B- q- M! M; N8 N2 p
  1205. ; bytes.
    + p% i' \/ Z8 j* f0 z% K
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    8 ?. g$ w9 X; @# U0 R
  1207. ;mysqlnd.net_read_buffer_size = 32768
    , O. \8 D- S- o& h5 g  ~
  1208. 7 p- U8 z) l- g
  1209. ; Timeout for network requests in seconds.
    # Z4 F& v" x: N" @& u
  1210. ; http://php.net/mysqlnd.net_read_timeout
    1 _& g* g/ j. j
  1211. ;mysqlnd.net_read_timeout = 315360008 P# k# l) L1 X2 W

  1212. 9 V/ M- s+ ~7 W# }, {
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    4 e% u& u6 v; |/ [( s
  1214. ; key.
    ! [* r( c8 D" ?! R- i( W
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
      _: e5 j! }: e% h- I( d  q
  1216. ;mysqlnd.sha256_server_public_key =# n# f, o6 P; b

  1217. ( t" K" u8 Q$ D$ T* s  L
  1218. [OCI8]7 Z! \1 P1 O$ _% h! N# ^1 w
  1219. * I# x6 C  }6 G0 _, p
  1220. ; Connection: Enables privileged connections using external
    . a, M, p1 Y4 M; b
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    . v6 v1 \; J! U2 [/ \6 u% I
  1222. ; http://php.net/oci8.privileged-connect
    ! g3 M& E1 t7 ]: P
  1223. ;oci8.privileged_connect = Off/ D2 G0 f( ?2 N

  1224. 9 p" ], v6 r5 w6 Q
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    5 O  v' `: D7 ~  D# ?4 A
  1226. ; process. Using -1 means no limit.  ~$ ~2 z- b, l1 M7 W5 I5 R2 e
  1227. ; http://php.net/oci8.max-persistent1 f- a% J, z! N$ t: g! Y, d+ U" X/ F8 Z
  1228. ;oci8.max_persistent = -17 ?# b9 t$ a( h

  1229. 4 c7 X6 B; ?: N; V2 c: @
  1230. ; Connection: The maximum number of seconds a process is allowed to3 O: n& E9 K5 B( x1 j0 }. e
  1231. ; maintain an idle persistent connection. Using -1 means idle
    : {/ d) V  E2 h, @. s1 f7 _2 T
  1232. ; persistent connections will be maintained forever.
    " K$ v/ E: `3 j- U
  1233. ; http://php.net/oci8.persistent-timeout, |, Z2 Z" e7 o' z
  1234. ;oci8.persistent_timeout = -1/ N& p/ g( z! ~) ?! \
  1235. ' t; [6 r: w* v
  1236. ; Connection: The number of seconds that must pass before issuing a
    7 y! b4 R& E0 q4 C
  1237. ; ping during oci_pconnect() to check the connection validity. When
    1 S7 K4 ^# h, ]( ~+ o* b: ^
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    7 o. g' Z, O& I/ M1 h
  1239. ; pings completely.
    ( O+ F, ^+ ~$ h2 u& g6 n0 b( _/ C7 |
  1240. ; http://php.net/oci8.ping-interval
    0 g5 F6 c$ s% G. ~1 O
  1241. ;oci8.ping_interval = 60
    5 P( _. S0 N  m

  1242. # }! E( V' u: j7 o& w2 ~
  1243. ; Connection: Set this to a user chosen connection class to be used
    2 l% b4 Y! f7 \( C  x" {# ~& ~! l
  1244. ; for all pooled server requests with Oracle 11g Database Resident2 @/ W  A9 k: U5 }
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ) T2 I0 @: x9 s8 u
  1246. ; the same string for all web servers running the same application,0 J% T  f* G# i2 R6 w. s
  1247. ; the database pool must be configured, and the connection string must
    6 ^+ x* d, n- a9 Z9 @* j; R' e
  1248. ; specify to use a pooled server.9 O& D  E4 S5 U4 I5 p1 y6 g& D
  1249. ;oci8.connection_class =
    # N6 V; h0 B3 I
  1250. " a, [! [) n; ^+ b
  1251. ; High Availability: Using On lets PHP receive Fast Application
      N% Q% H& c2 B4 W/ J6 g  E
  1252. ; Notification (FAN) events generated when a database node fails. The, {7 ^7 ]! O; I2 S& L2 o6 l
  1253. ; database must also be configured to post FAN events.
    + k/ @' B  ?& k! x9 q& @
  1254. ;oci8.events = Off
    - D# `% J2 b; B: y/ G8 g6 f* N

  1255. ) ]( o- i& K9 b3 b* `# U0 c
  1256. ; Tuning: This option enables statement caching, and specifies how
    . ?* t" F; e. E8 G# i
  1257. ; many statements to cache. Using 0 disables statement caching.
    ) r! W1 w3 D7 ~$ |
  1258. ; http://php.net/oci8.statement-cache-size2 }0 k) u; f! y+ d  D& N
  1259. ;oci8.statement_cache_size = 20- k' T# |* w# p3 \  J

  1260. 0 Z5 Z- z" Q2 B+ l$ y0 h. @
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    * n. N- J: L) b# o
  1262. ; rows that will be fetched automatically after statement execution.
    * ^4 X" G0 y1 H0 u8 X) W. q
  1263. ; http://php.net/oci8.default-prefetch9 v4 T6 x* H3 u; F/ Z; j, R! _- q
  1264. ;oci8.default_prefetch = 100. P# e5 ?& X- B/ \( r

  1265. : F1 I8 N1 M) A+ R
  1266. ; Compatibility. Using On means oci_close() will not close
    - K! p3 V* L/ X% b7 p
  1267. ; oci_connect() and oci_new_connect() connections.: p8 \: _0 L$ k  U! y; v8 _
  1268. ; http://php.net/oci8.old-oci-close-semantics$ k  O  f& ]- ^7 C. \  W
  1269. ;oci8.old_oci_close_semantics = Off% \  R) N5 T% V- E6 m

  1270. 8 ~; {. B; r6 c! p+ e- h
  1271. [PostgreSQL]
    . E- ]  x6 z, u$ y' F, K
  1272. ; Allow or prevent persistent links.: k2 c9 Z! k7 D' U/ Y. Q
  1273. ; http://php.net/pgsql.allow-persistent6 T$ z' j3 p9 }: K  }+ J
  1274. pgsql.allow_persistent = On% ~5 L! q0 d9 e8 }4 n1 t
  1275. , W( D% Y# \8 B/ }
  1276. ; Detect broken persistent links always with pg_pconnect().+ S& T+ Y: }* E+ a! g/ e- y( h
  1277. ; Auto reset feature requires a little overheads.* X4 `+ q8 c  Q, p& ^1 V
  1278. ; http://php.net/pgsql.auto-reset-persistent4 p( ]4 c, Z+ m' l( f$ q
  1279. pgsql.auto_reset_persistent = Off
    " F) P+ P& ]. |3 Y2 P  L
  1280. 8 t- v4 K4 M3 r1 w" v) R) ^* I! L; [
  1281. ; Maximum number of persistent links.  -1 means no limit.3 J3 E- i2 c- R7 v, u* `
  1282. ; http://php.net/pgsql.max-persistent
    1 S/ `! m: C8 r
  1283. pgsql.max_persistent = -1
    4 K/ D- n7 I0 v
  1284. % X. V) Y7 M1 n' C1 T8 ]' ~
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    , `2 o+ r- r4 a! P
  1286. ; http://php.net/pgsql.max-links; s, D+ {8 I0 P* o2 C3 m
  1287. pgsql.max_links = -1  i3 Y9 u/ u6 H& `4 b( {

  1288. ( F( }/ r3 ^2 ]8 J4 p9 b4 c
  1289. ; Ignore PostgreSQL backends Notice message or not.
    6 I1 X7 r+ z9 z$ w
  1290. ; Notice message logging require a little overheads.9 t0 q$ i# g2 _1 _
  1291. ; http://php.net/pgsql.ignore-notice
    ( c, a+ x% o0 J1 w$ T$ |
  1292. pgsql.ignore_notice = 0
    5 @4 v9 @* Z. g
  1293. ) v, L  n8 j) ~! A/ v: F
  1294. ; Log PostgreSQL backends Notice message or not.
    % t  D+ i" d. g
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    3 t+ h: F7 N2 ?. t0 v1 O
  1296. ; http://php.net/pgsql.log-notice9 \2 L- W# Z/ _" z: \
  1297. pgsql.log_notice = 08 D: {+ g' R( `- q! C! n8 o

  1298. 7 ]; m0 U. n! K9 B/ T, r9 X
  1299. [bcmath]  D" y1 k9 X7 r
  1300. ; Number of decimal digits for all bcmath functions." S* ~' \& t/ C& K) _% E' G
  1301. ; http://php.net/bcmath.scale
    4 U  F* F. v$ A9 S5 @# b, T$ h
  1302. bcmath.scale = 0
    2 J- K: [6 `$ q/ |6 \1 t
  1303. 7 s$ T& y* Q3 K; w) X! X5 r) z
  1304. [browscap]
    - i' x) z1 V& J* \! n2 r2 O
  1305. ; http://php.net/browscap
    + Z+ U& k1 e; ~( d
  1306. ;browscap = extra/browscap.ini# U7 B9 y/ V6 T! @& L8 \' f/ H
  1307.   Z% B) `; R1 y3 T" t" }, T- H
  1308. [Session]' A! A9 e8 n$ g8 i8 P, g& ]# F
  1309. ; Handler used to store/retrieve data.
    $ L3 L( O; J8 p* I- l/ c
  1310. ; http://php.net/session.save-handler4 [+ h: O! i  z- o9 `
  1311. session.save_handler = files
      g3 X9 H1 J! c) e4 V

  1312. ; X4 A9 }6 L+ D5 D# m9 `$ ?
  1313. ; Argument passed to save_handler.  In the case of files, this is the path! i; m; a5 \. g/ A1 P
  1314. ; where data files are stored. Note: Windows users have to change this0 e! y9 t; Z$ P2 A
  1315. ; variable in order to use PHP's session functions.2 O! g! v% s5 p2 S+ T6 S
  1316. ;. R/ S0 Q- H9 Y+ ]
  1317. ; The path can be defined as:
    9 e2 o" O( Y9 t. y0 C7 \6 B" t
  1318. ;, K* a! H: L& f& S
  1319. ;     session.save_path = "N;/path"
    9 m7 e5 X' F( a+ h4 ^; ~
  1320. ;
    / @* `. E4 Y( p
  1321. ; where N is an integer.  Instead of storing all the session files in
    7 v2 F3 Y# t. k: q+ J" [
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    % C! d- G5 `2 N5 h2 m
  1323. ; store the session data in those directories.  This is useful if
    & b1 J) S4 v( i) d" \; `
  1324. ; your OS has problems with many files in one directory, and is! {; B4 k6 W7 g) ]; `
  1325. ; a more efficient layout for servers that handle many sessions.3 s; V  t2 Y8 i
  1326. ;
    5 O3 P4 }. H! w8 x
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    * w9 c7 m! o0 O1 w; }: P
  1328. ;         You can use the script in the ext/session dir for that purpose.
    5 |7 D- S  b6 R% x7 W
  1329. ; NOTE 2: See the section on garbage collection below if you choose to- f+ Y( H6 l$ L* d1 V! ^. w* T/ v
  1330. ;         use subdirectories for session storage
    / ]! Y* h3 o4 L# M- J. x, h
  1331. ;/ L8 K" r: Y3 z
  1332. ; The file storage module creates files using mode 600 by default.
    + p2 {$ h- A# D0 H6 U
  1333. ; You can change that by using
    2 ^0 {9 O8 F& T: J
  1334. ;
    " \  M) M% s7 f* k" v6 S6 }+ A
  1335. ;     session.save_path = "N;MODE;/path") K! l7 k6 \- A6 \% u3 Y
  1336. ;
    - i# ~% g* J3 @  U, J, @
  1337. ; where MODE is the octal representation of the mode. Note that this
    ( c) R# h+ c+ e! _
  1338. ; does not overwrite the process's umask.
    9 ~3 u& K2 Y5 t- y, Z* x
  1339. ; http://php.net/session.save-path
    5 f) F! g. [( w: }1 D2 @7 y
  1340. ;session.save_path = "/tmp"
    + V$ `4 p! X- P
  1341. . p/ `. E) n" A
  1342. ; Whether to use strict session mode.
    8 N' G. I; E9 S$ `# R- m
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ( P  y# }# d" L7 b, C3 h! t
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects5 M8 Y2 T+ i& K. a
  1345. ; applications from session fixation via session adoption vulnerability. It is1 V$ {; `* X- }* F: K) k
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    : ^& I* i' c+ L. T+ h. l4 e( s
  1347. ; https://wiki.php.net/rfc/strict_sessions
    , B7 Q; n! c' O- M, j1 K) D
  1348. session.use_strict_mode = 0
    / M- O$ D: m* o- Z$ b/ K
  1349. 3 l9 `" d- j! ~0 I" C
  1350. ; Whether to use cookies.
    # T+ q! T+ @0 W0 l
  1351. ; http://php.net/session.use-cookies
    2 y5 R7 N* z: U' {( J) d! u5 x
  1352. session.use_cookies = 1
    . ^; P7 w& N. B' U) }8 `
  1353. & o! O4 r7 f2 S6 o8 T
  1354. ; http://php.net/session.cookie-secure9 E+ k. }' e  T9 f6 c- c
  1355. ;session.cookie_secure =& D) S! @9 h8 v! i$ [5 ^8 p; p

  1356. ! [3 a4 ]3 v: g2 V- C
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ; @8 t. R) q" [4 M' g
  1358. ; the session id. We encourage this operation as it's very helpful in combating! O/ F0 ]. s1 Y+ W1 i: D7 i
  1359. ; session hijacking when not specifying and managing your own session id. It is
    3 A! f$ Z+ Z4 z# G/ h$ Q
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.. j  U) d) g" [5 u' j
  1361. ; http://php.net/session.use-only-cookies
    2 j; K1 w: v8 j/ l, w) Z$ x0 D
  1362. session.use_only_cookies = 1
    3 T1 o! s9 K! F, _3 C6 l0 _
  1363. 5 ?% J* x( ^& z3 H0 i! a( U
  1364. ; Name of the session (used as cookie name)., Q! L! `7 B7 @! T  V' B6 }6 I5 ^
  1365. ; http://php.net/session.name% P2 d1 n' t- J/ K1 J
  1366. session.name = PHPSESSID) g9 |8 k6 F9 v6 l; ~3 i- a4 ^
  1367. " r  z) k7 \" [1 o# C. Q7 k  ?
  1368. ; Initialize session on request startup.) f3 t& {* C, v& I9 \- u" w
  1369. ; http://php.net/session.auto-start  j( v, `0 |- i/ b
  1370. session.auto_start = 0
    ; \5 u( o: y+ K0 k; f; e
  1371. 7 O) E5 Z" F' J, N
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.4 O, _& M" t; L5 L/ v0 A0 m  l
  1373. ; http://php.net/session.cookie-lifetime: Z3 B" a* i7 `& I& t0 c
  1374. session.cookie_lifetime = 0" v' n, a$ f% L0 v7 q
  1375.   g" U" B7 x) z0 d! _
  1376. ; The path for which the cookie is valid.
    , x$ }' W; ]" |. r
  1377. ; http://php.net/session.cookie-path
    7 m0 l2 ~$ k5 g( x  J
  1378. session.cookie_path = /
    ) }4 _$ |7 {. \6 O

  1379. 5 Q3 _3 V% R* `1 e
  1380. ; The domain for which the cookie is valid.3 s5 s2 Z3 y5 M$ K. q! q- h
  1381. ; http://php.net/session.cookie-domain& r/ O  ?: H2 U0 h1 F; e4 ~' i
  1382. session.cookie_domain =
    ) l( q( p4 {- ~# D" X

  1383. + P: Y1 _  i- ]; G
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ! m3 E. T* I& \+ q# O5 z
  1385. ; http://php.net/session.cookie-httponly4 |- l& d  |8 f! _6 D
  1386. session.cookie_httponly =
    3 o3 {- R: m  h5 n

  1387. 5 W( ]; A) R2 H
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    5 U9 ]; R, o6 X% X. |8 u3 g
  1389. ; http://php.net/session.serialize-handler
    0 H  a: r0 h2 Q3 c- g* w# c
  1390. session.serialize_handler = php
    ( q& O: l$ d& U1 O. d

  1391. $ F& I: \+ S7 a& U5 y- B; A
  1392. ; Defines the probability that the 'garbage collection' process is started
    9 S  ?9 Q, c. d( ]5 O
  1393. ; on every session initialization. The probability is calculated by using2 v% d/ N7 y; h( D+ K0 c% r
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator* H( u( L- N. \0 U
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    4 [+ s) ~; y* q
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 l+ ~1 N* |* [
  1397. ; the gc will run on any give request.
    8 E! F, U( A5 M9 A6 p, q9 f
  1398. ; Default Value: 1$ g8 ]4 i3 s: ^0 F
  1399. ; Development Value: 1
    * Z1 o6 h" W& V' q5 n  s: Z$ l
  1400. ; Production Value: 1- |- P0 z# |* g' {1 t' Y
  1401. ; http://php.net/session.gc-probability
    , m( J- I0 N! P+ _4 l# `6 G& D3 h2 M4 M
  1402. session.gc_probability = 1
    . o6 \  p  }- z3 x

  1403.   z) |7 E9 k% ^; {8 N
  1404. ; Defines the probability that the 'garbage collection' process is started on every
      R# }: }- ?( [8 o. r
  1405. ; session initialization. The probability is calculated by using the following equation:6 ~! f2 v6 v3 k' a- @
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and$ z, ^: F7 ]: ^6 |. X
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    % _$ j; o5 I1 ^# N$ U$ p. y
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    / U5 O/ q6 P( Y9 V$ U
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you! D/ v4 F: t8 u% N! Q) j3 g+ [* k/ i
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,3 j6 C$ ^( n$ O5 h* Q
  1411. ; this is a more efficient approach.
    , ?# w. O0 K5 M4 a' h/ h& O
  1412. ; Default Value: 1008 q& m, {: l" ]+ O' L' E& l
  1413. ; Development Value: 1000! n5 E; {3 t/ t" ~5 y7 B
  1414. ; Production Value: 1000, n- ?: ?8 H) N. ^
  1415. ; http://php.net/session.gc-divisor
    & s- b& z, W6 M# K, B
  1416. session.gc_divisor = 1000
    $ l9 s  ?. q: P" ?9 }9 y, U
  1417. 5 z! \1 j6 N3 |% s8 Q- }1 ?$ L1 C
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and& Z9 {8 o* k) ?
  1419. ; cleaned up by the garbage collection process./ R5 K" C! a7 _( l$ |5 [
  1420. ; http://php.net/session.gc-maxlifetime0 Y6 |- z7 |9 I- f) X
  1421. session.gc_maxlifetime = 1440
    : I* u$ z1 j$ g. y' @5 g0 ~$ E
  1422. $ N5 F- h! {5 p; P
  1423. ; NOTE: If you are using the subdirectory option for storing session files6 c( B" ^. y5 o) f
  1424. ;       (see session.save_path above), then garbage collection does *not*
    3 Z- H, `; L& J+ e+ h% {
  1425. ;       happen automatically.  You will need to do your own garbage
    1 T" L: ]5 X' T+ Y. Q/ I
  1426. ;       collection through a shell script, cron entry, or some other method.3 q, [2 D5 {, O5 z: f( K4 E  |
  1427. ;       For example, the following script would is the equivalent of8 q* ^9 ~; |7 }! ~# q5 A" Q6 @6 W
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    1 }- g7 q# R3 P! n; c+ R
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    8 |- Q8 v9 z& S

  1430. ! s1 a! R( b9 V
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.1 Z( ?$ @) i) j* Z
  1432. ; HTTP_REFERER has to contain this substring for the session to be; r) d) R( Z9 H2 c
  1433. ; considered as valid.8 F1 Z9 ~& y5 D) s* A! p5 R
  1434. ; http://php.net/session.referer-check
      t- X  U" o# B6 J
  1435. session.referer_check =9 S( D5 L# k) N# n
  1436. + b% g9 p4 T5 A0 r
  1437. ; How many bytes to read from the file.
    5 O$ K' F- P3 g
  1438. ; http://php.net/session.entropy-length
    ; [3 z& C( p, w3 K( j
  1439. ;session.entropy_length = 32
    , P. t# |9 b* `/ x

  1440. , `& \3 b' H5 T1 e
  1441. ; Specified here to create the session id.
    ; i1 N1 v" }0 m! ~# s
  1442. ; http://php.net/session.entropy-file( M. c/ n, F9 s( Z
  1443. ; Defaults to /dev/urandom
    " u/ [" |. d' k2 F; m) X* `' z
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    . a) a* V% ^* \, h! f0 Q3 u6 n
  1445. ; If neither are found at compile time, the default is no entropy file.% g: s4 P" p/ }$ `. J( B) @
  1446. ; On windows, setting the entropy_length setting will activate the+ m& O  r" X) `" R. @
  1447. ; Windows random source (using the CryptoAPI)$ K+ w" l5 x8 R9 A6 @- W& B2 P. I- f
  1448. ;session.entropy_file = /dev/urandom: R, u0 @1 A/ z% Q0 I4 O
  1449. + l, t) j0 j& G
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    $ E3 z8 _& y8 Z
  1451. ; or leave this empty to avoid sending anti-caching headers.
    - W" ]- H" m! D) A% l: L, A
  1452. ; http://php.net/session.cache-limiter7 G! W7 ^) ]0 Q5 Y
  1453. session.cache_limiter = nocache# S. `7 n' D1 C; H+ x; d" _

  1454.   W0 \  n  v: @/ }) r
  1455. ; Document expires after n minutes.& I* K& _' q/ v
  1456. ; http://php.net/session.cache-expire3 k0 y& [: ~) U' t, x; W
  1457. session.cache_expire = 180
    & M# Z0 A2 k' G6 o- p/ m
  1458. ; ~* |) B# g4 x- h( F9 ?5 X& X4 [
  1459. ; trans sid support is disabled by default.
    3 [5 Q) Y4 G  Y7 x7 B+ f
  1460. ; Use of trans sid may risk your users' security.# Q" U! f! N. s2 |
  1461. ; Use this option with caution.
    ( U; ]6 G- B& k% l+ C( z0 Z6 u
  1462. ; - User may send URL contains active session ID1 r- W: r) ]1 t. Y, Y# M/ o6 j
  1463. ;   to other person via. email/irc/etc.0 m5 |% v& j* Z/ X% C0 a) S
  1464. ; - URL that contains active session ID may be stored( w$ Z  \2 L6 B3 O
  1465. ;   in publicly accessible computer./ ]; i  x$ e0 h, |4 S" u7 H& b
  1466. ; - User may access your site with the same session ID
    ; r! N) h% u$ j
  1467. ;   always using URL stored in browser's history or bookmarks.
    5 Y  u! S1 }6 t! u
  1468. ; http://php.net/session.use-trans-sid
    / p9 C& }$ K! i5 u7 n( |
  1469. session.use_trans_sid = 0* }$ n) r  t8 Z

  1470. " h. V0 f% O5 [, ~; z
  1471. ; Select a hash function for use in generating session ids.: l4 q. a) h2 L; ]; f
  1472. ; Possible Values
    ; O  Q" c$ |) X1 s) E
  1473. ;   0  (MD5 128 bits)
    ' J1 C/ |6 n% x
  1474. ;   1  (SHA-1 160 bits)( x3 b$ R6 ^9 f3 W
  1475. ; This option may also be set to the name of any hash function supported by
    , i  D. d. j2 ?4 G+ X
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    3 I2 O  [0 `/ I/ F5 ~$ i
  1477. ; function.* U  U8 m' r% p1 q. i
  1478. ; http://php.net/session.hash-function
    + q4 h$ @6 w5 h/ Z
  1479. session.hash_function = 03 h3 `9 X8 M. ~4 h: S
  1480. ( g9 v/ o. R! k
  1481. ; Define how many bits are stored in each character when converting
    $ d/ h' E; |% R  \0 i% l! w: l5 C
  1482. ; the binary hash data to something readable.
    & R9 Y& A3 S+ U1 s9 o' r' _; l/ M
  1483. ; Possible values:) ]1 ^5 S4 U3 h' _1 f6 ?. }
  1484. ;   4  (4 bits: 0-9, a-f)# \) z0 o% M6 G. c( |, t  K8 m
  1485. ;   5  (5 bits: 0-9, a-v)
    3 K( u5 A9 y: x8 f% V" @  ]
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ( ^! b5 V# n" G0 P' T* v" a, I
  1487. ; Default Value: 44 g. b. I! Z# k9 k2 O6 F' ]
  1488. ; Development Value: 5
    7 d/ d/ x: G# A. q) q
  1489. ; Production Value: 5
    7 h0 e) Q9 k% ^) b9 r
  1490. ; http://php.net/session.hash-bits-per-character& ?* Y( |" ?* c) k! ]5 {4 S1 P% b, W
  1491. session.hash_bits_per_character = 5. t  z9 J1 x( o0 t2 [% b$ d% U

  1492. . E& W2 J. D: L" W: @+ A* Z
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    4 x* i. _9 ?9 j# G# R/ t0 u9 r
  1494. ; form/fieldset are special; if you include them here, the rewriter will( }) N' R# l. C/ P8 g
  1495. ; add a hidden <input> field with the info which is otherwise appended
    - X: C/ x2 s% F9 f7 \# ^" g
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.3 y+ x+ c+ u; c. N6 }" b0 N
  1497. ; Note that all valid entries require a "=", even if no value follows.
    8 R! U9 X" f# v+ p
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=": p; R+ i; X$ K( e
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 z# @# y3 d' K
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " p% d3 \/ G" P& ]9 f3 S6 G
  1501. ; http://php.net/url-rewriter.tags) B& A" i; M1 @& G2 K
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    , g( ^) y8 M1 F* N
  1503.   G: V, S7 ]5 F1 m
  1504. ; Enable upload progress tracking in $_SESSION* g, b2 k7 T# a; U% I. e4 j9 C% [
  1505. ; Default Value: On6 S) [3 g8 K" Y) K% z( t9 x' P6 x) o
  1506. ; Development Value: On
    ) b' k+ ~8 K+ |1 H7 m/ x  e
  1507. ; Production Value: On7 ]: ?. s6 `6 d/ X  z. s' b# @
  1508. ; http://php.net/session.upload-progress.enabled3 T& Y( M( c2 }# k( M
  1509. ;session.upload_progress.enabled = On
    / y2 ~9 V9 @$ K0 F& `# ]
  1510. # Q5 M8 \! g6 _' ]8 M+ s
  1511. ; Cleanup the progress information as soon as all POST data has been read
    3 v( t) D+ Q& U+ n$ Q0 V$ B
  1512. ; (i.e. upload completed).
    * ^4 Q% l8 o- z& K$ B6 f0 E7 m2 b; }" }
  1513. ; Default Value: On
    : m, O3 N+ |1 @' V' v+ R
  1514. ; Development Value: On4 S' C. _; ~% ~
  1515. ; Production Value: On
    & S1 O- D4 W# A  o
  1516. ; http://php.net/session.upload-progress.cleanup/ i& Z1 s# r. [+ J) h
  1517. ;session.upload_progress.cleanup = On
    ' M+ N  y  _# P

  1518. 4 y( J% Z6 a' n# ~0 ]
  1519. ; A prefix used for the upload progress key in $_SESSION
    " G' l) K+ q) ^# [
  1520. ; Default Value: "upload_progress_"+ B& |( i+ Z7 G2 x& `. v
  1521. ; Development Value: "upload_progress_"
    ) E: I4 M0 l1 n. X
  1522. ; Production Value: "upload_progress_"! Z/ i0 @8 ^" C6 t! c
  1523. ; http://php.net/session.upload-progress.prefix
    + s1 t0 N/ z0 d% G$ c
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ; e6 S! o0 l! j( o1 L8 ^

  1525. 6 H) x1 Y: k3 A* ]
  1526. ; The index name (concatenated with the prefix) in $_SESSION6 g+ s$ |6 Z9 ?  G/ ]0 ?
  1527. ; containing the upload progress information+ t- W3 S7 i! X# N: S# \
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"! h5 i. x9 w8 G: \- |) g& p2 p
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # L( @7 e0 e4 o; K) M) M
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # ?' l9 K6 S* n2 Y8 h5 U, C. k
  1531. ; http://php.net/session.upload-progress.name
    / e, V) `9 m4 d% }
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"4 B, c1 J8 K7 I' f
  1533.   D4 c: {  x6 @2 q0 A) |: ]
  1534. ; How frequently the upload progress should be updated.
    ! x: J5 k/ F+ t) o% I2 [$ I* P
  1535. ; Given either in percentages (per-file), or in bytes
    9 u9 m; R5 ?$ \0 c, g' u
  1536. ; Default Value: "1%"
      S' C( }4 `8 i4 V/ l( w
  1537. ; Development Value: "1%"' l9 X' _' I. \6 C
  1538. ; Production Value: "1%") L! e& I1 D: P. U* v
  1539. ; http://php.net/session.upload-progress.freq
    : I7 _, C! l1 R% y* \
  1540. ;session.upload_progress.freq =  "1%"
    + h6 H1 \# ]; I

  1541. ( _8 t, k- P1 X6 X8 W' B% A; ^
  1542. ; The minimum delay between updates, in seconds4 Q4 G) U: J. c- B' u/ a
  1543. ; Default Value: 1
    ! d) l: j2 U0 \. z8 T& ]
  1544. ; Development Value: 1
    ; G, z  ~& e  D* p5 ?
  1545. ; Production Value: 1! v9 I( c6 ]* X
  1546. ; http://php.net/session.upload-progress.min-freq
    * n, o/ V" ^5 K" h* a. {6 s
  1547. ;session.upload_progress.min_freq = "1"! o5 J& s9 c* g
  1548. 4 l6 d( X8 o1 {
  1549. ; Only write session data when session data is changed. Enabled by default.9 ?, L. L* ?; f# K! }0 }: Q% O
  1550. ; http://php.net/session.lazy-write
    ; s: d6 n% p9 U$ U! {
  1551. ;session.lazy_write = On
    3 S- o% J8 d) M1 F9 W; `! G: b
  1552. 1 o; }3 O& Z, @: \8 ^# V  U4 @
  1553. [Assertion]; m* R1 R# q# [; O4 O4 Z8 \+ k: P4 ]
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    $ O/ U) U# ?: e0 x6 l
  1555. ; -1: Do not compile at all* z$ V" a$ n  i9 c8 I( [8 {
  1556. ;  0: Jump over assertion at run-time/ G/ o2 q( ]7 k
  1557. ;  1: Execute assertions
    : b2 j  h8 a" K! E3 m9 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)$ e6 e# C+ i" [7 t7 l' V: L
  1559. ; Default Value: 1: d% M! H  x6 q) o- L# `$ }
  1560. ; Development Value: 1$ e& A. ^8 ?4 Z
  1561. ; Production Value: -1
    % y, D: L4 R/ e' T+ e5 W
  1562. ; http://php.net/zend.assertions
    - K: {! Z$ {3 x' o( e/ C: x
  1563. zend.assertions = -1
    . x$ _* K  C+ P' @9 [4 v* T; n# R, k
  1564. 7 u+ [7 J) D6 O- V' d5 U' b$ H
  1565. ; Assert(expr); active by default.
    6 e. \; b5 }) M
  1566. ; http://php.net/assert.active
    " N& ^9 [! X' ?4 x% p
  1567. ;assert.active = On% n% X1 ?) K- K# F9 H$ o& J
  1568. / q1 o4 |8 ?5 v' j0 i0 b; Y
  1569. ; Throw an AssertationException on failed assertions9 v2 ~" _: k; B% E4 T: K# j- K
  1570. ; http://php.net/assert.exception: W# k+ @1 {0 X% e- U: W
  1571. ;assert.exception = On
    * x6 X  l. }# z& K/ U

  1572. . y) B: s  v) e
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)- P. a/ R  {4 m, H4 r0 B
  1574. ; http://php.net/assert.warning' R" B9 I& }/ A% ~. i
  1575. ;assert.warning = On
    ' G3 e3 `2 Q4 C; R
  1576. ' O+ u' p7 E5 F, d$ K+ I- H# A- w
  1577. ; Don't bail out by default.  t3 f/ J3 v3 T) I% f- z
  1578. ; http://php.net/assert.bail5 n& c1 {2 w1 o/ G* [
  1579. ;assert.bail = Off5 l; R" t9 P6 P% o) a1 [
  1580. , p5 r& L2 A' U9 d% O2 J
  1581. ; User-function to be called if an assertion fails.6 ?6 S2 \& ^" T$ F& a
  1582. ; http://php.net/assert.callback3 b% @2 ^. R; _) c# B
  1583. ;assert.callback = 02 L" V+ b0 Z( g' c- S
  1584. * F7 q4 j4 L7 ?
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    8 g" u+ e- S) q) {; X
  1586. ; error_reporting(0) around the eval().- x! V. k( i) v* p
  1587. ; http://php.net/assert.quiet-eval2 E, i+ g5 N9 ^# S! a
  1588. ;assert.quiet_eval = 0
    ! i$ T) r7 A0 M4 R" o

  1589. - R7 n) J, ^  @
  1590. [COM]8 o5 I0 D3 m4 f& P0 Y' ~' B
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ' g9 U& u/ g7 D
  1592. ; http://php.net/com.typelib-file
    . Z4 [4 W/ k6 g0 a4 {' _
  1593. ;com.typelib_file =$ T% j! x4 B0 q; [9 v( T. t
  1594. 7 v& f" o" O: v8 ^
  1595. ; allow Distributed-COM calls
    ! y4 a! h4 ~  X4 {% a
  1596. ; http://php.net/com.allow-dcom  y5 h8 @2 Y5 p+ U* J5 B* ^4 ^
  1597. ;com.allow_dcom = true' K# v4 S( o; g) Y

  1598. % ]: J  N/ h# V# K1 b+ y
  1599. ; autoregister constants of a components typlib on com_load()! p4 s# Y2 |9 @  s- j
  1600. ; http://php.net/com.autoregister-typelib, A. P/ O8 d& ~; d6 V5 j+ Y
  1601. ;com.autoregister_typelib = true% e- X& Q3 L0 I, k4 x

  1602. . L+ ]% B2 x1 x
  1603. ; register constants casesensitive; Q/ r+ ?( a$ w
  1604. ; http://php.net/com.autoregister-casesensitive; j$ |& s% {  l& [
  1605. ;com.autoregister_casesensitive = false
    6 v# l# R8 B) R# M% M/ o
  1606. 3 f9 _( t9 [$ F2 B1 p: n% I
  1607. ; show warnings on duplicate constant registrations
    , ^3 G1 I# l; j; i
  1608. ; http://php.net/com.autoregister-verbose
    + W! M( ]% P" a' N
  1609. ;com.autoregister_verbose = true
    1 X5 w2 C* s1 y* k) a
  1610. , y4 U3 c+ [& p/ ]% R; j( a( g. F
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ) d4 `0 x7 y, B' u: Z) d
  1612. ; Default: system ANSI code page, V( y! l: c0 s3 G; L
  1613. ;com.code_page=9 B4 ]9 \% g5 d# r

  1614. 9 `! o( V3 k* F6 P  A2 T
  1615. [mbstring]" \; w, V! U1 j' o
  1616. ; language for internal character representation.9 I% {9 |& S( u* G
  1617. ; This affects mb_send_mail() and mbstring.detect_order." ^8 E7 J( {7 f4 K" ~
  1618. ; http://php.net/mbstring.language2 v3 x3 \+ k0 U( C
  1619. ;mbstring.language = Japanese4 v$ l2 c) }% J- {

  1620. * T, ]  T, N, b* D+ s5 v
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.& l. T$ T4 y  s/ B# T
  1622. ; internal/script encoding.) w# |& P8 z. J, }
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)# H* s$ y+ }7 w) a9 w& j+ d% e
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  h8 ~8 \  A4 m" A
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding- \5 q1 V+ B* {* y8 a2 O* D" E
  1626. ;mbstring.internal_encoding =  Q% _8 ^* W+ V8 s& Y

  1627. % m, V* F  |/ x2 y% {0 V( c- N7 \6 e
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.7 i3 s+ G& J/ Y' L- s3 f; p6 ]) E
  1629. ; http input encoding.4 W1 i/ s+ g  S3 i4 \- t+ Y; p+ }
  1630. ; mbstring.encoding_traslation = On is needed to use this setting./ M6 i. P( `* n' {
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    / ~0 _& F/ M& G* G3 n* ?
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    $ Y& c3 _! s& S+ S. z* Z
  1633. ; http://php.net/mbstring.http-input
    9 ^/ E2 S2 l/ F/ {6 _* A
  1634. ;mbstring.http_input =
    " h5 U' o9 L$ G7 Z- e! g
  1635. 2 ?* r$ f  v2 F
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead./ O5 f) w! A2 j
  1637. ; http output encoding.  A' M/ z2 @8 k9 S. R* t# X9 }
  1638. ; mb_output_handler must be registered as output buffer to function.
    2 \  C. F/ s2 U, A
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.5 o0 u- Z3 O! E& z' G( M
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ) K* P5 [1 q7 j% K6 g
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ; O; {$ Q2 P7 U/ E/ r
  1642. ; otherwise output encoding conversion cannot be performed.
    7 Z" f" [5 S$ t' Y4 g
  1643. ; http://php.net/mbstring.http-output
    # P( k1 c$ j8 _- x2 Q  ~
  1644. ;mbstring.http_output =) o# X2 z, x; V0 ]0 Y8 }8 `
  1645. ( v, G; G5 G; C* j3 s
  1646. ; enable automatic encoding translation according to+ {% u" Z& P2 T3 Q3 G; H; y
  1647. ; mbstring.internal_encoding setting. Input chars are
    # T+ ~  G. S' ^9 n2 p
  1648. ; converted to internal encoding by setting this to On.
    8 p" D& c% v  S7 S. A7 u
  1649. ; Note: Do _not_ use automatic encoding translation for; `5 `2 v7 m. s" V) j0 K9 V! f' @
  1650. ;       portable libs/applications.) M' g  x# z; L/ n- z8 H
  1651. ; http://php.net/mbstring.encoding-translation* f: o5 l1 T1 E5 G3 {8 J
  1652. ;mbstring.encoding_translation = Off: D% y7 s0 s  G/ ~- d, ^$ y' X

  1653. / c% y1 m* g! a8 R. g: q! H
  1654. ; automatic encoding detection order./ D" i, M0 e4 T. U
  1655. ; "auto" detect order is changed according to mbstring.language
    3 K; a7 X; N: r1 \, M+ J* d
  1656. ; http://php.net/mbstring.detect-order
    ' Y: C( S$ j+ ]' r1 ?
  1657. ;mbstring.detect_order = auto
    , T; J9 E, Q+ F2 S
  1658. ( t2 N6 v; _& h0 {# a, |5 E
  1659. ; substitute_character used when character cannot be converted- y) ?0 n) S# @( R8 Q
  1660. ; one from another
    , V( T$ V1 q( u, {  s2 }
  1661. ; http://php.net/mbstring.substitute-character* X1 ?; R2 a7 H& e0 Y$ V
  1662. ;mbstring.substitute_character = none3 j0 M- h" o* o5 k" V

  1663. 6 b7 z; V3 V2 }+ ?& Q% h
  1664. ; overload(replace) single byte functions by mbstring functions.
    1 p9 O/ G& i$ Q0 v% S
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),, ]0 c; S9 ~  i: h1 M
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.# o( `; I4 ?% [$ m+ {2 r5 n7 z
  1667. ; For example, 7 for overload everything.
    * b, P( }. H% a, }4 L( u
  1668. ; 0: No overload- g" L8 @) u* W3 d) d. b
  1669. ; 1: Overload mail() function
    3 `: x/ v$ `- f/ f8 G9 s  O. E( \
  1670. ; 2: Overload str*() functions0 n* _; c; S' J& o! E% W! G
  1671. ; 4: Overload ereg*() functions
    $ S' Y2 o. V; k! y% M# K- }
  1672. ; http://php.net/mbstring.func-overload
    " t0 `4 @" }! t) v0 K
  1673. ;mbstring.func_overload = 0
    - H8 U9 b, X8 j

  1674. 6 C/ I9 m5 t9 K1 T$ g
  1675. ; enable strict encoding detection.
    1 C/ q0 p* E( d. U
  1676. ; Default: Off
    ( D' [; |+ J% @% W, g4 |" I
  1677. ;mbstring.strict_detection = On
    7 W: Y$ r' J( n
  1678. 9 I. K7 D4 \" d5 c2 f
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ! V7 B1 |, N. y
  1680. ; is activated.0 p* \* J: A9 B3 [5 K
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    - J$ d2 W$ A  A; A5 L
  1682. ;mbstring.http_output_conv_mimetype=
    * y6 U' z( z  [( b4 k

  1683.   ?, K3 z. ^9 r% B& ~# e4 _
  1684. [gd]
    4 v) n0 r5 @: L. Y* X3 L5 n
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    , S5 b5 _/ g% A( o: g' S$ U* Y$ a
  1686. ; a gd image. The warning will then be displayed as notices
    ; d+ x" v* t. _0 e+ R8 j
  1687. ; disabled by default
    7 C8 T8 {6 z0 A2 r
  1688. ; http://php.net/gd.jpeg-ignore-warning
    : f: @9 R5 b0 B4 _
  1689. ;gd.jpeg_ignore_warning = 06 I- k0 L/ Y4 {

  1690. . |& I3 [4 E! @, v' z7 r
  1691. [exif]( P3 |6 @' j. }8 q; y4 V( B
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.- {' E* d- a! j7 @) a
  1693. ; With mbstring support this will automatically be converted into the encoding; t; o7 M" p# h* j# o$ B8 q
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    . }3 v( M% u  B: X, y7 J# C
  1695. ; is used. For the decode settings you can distinguish between motorola and3 i" j1 C1 w; \! u) ^& M- T) Q
  1696. ; intel byte order. A decode setting cannot be empty.
    ( W: z4 D* S: T4 u5 ^' {: j
  1697. ; http://php.net/exif.encode-unicode
    4 x- @/ V: f+ j% r3 I+ z# q- @
  1698. ;exif.encode_unicode = ISO-8859-15( n4 U; l1 L4 Q3 y
  1699. ; n, B( D2 W& G/ L; V
  1700. ; http://php.net/exif.decode-unicode-motorola/ G6 U" X, E/ k3 H( T4 R4 n
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    " Q! n. J3 m9 U/ h5 z  ~9 x; J

  1702.   m; v- v7 t# h, |" T4 Z7 b
  1703. ; http://php.net/exif.decode-unicode-intel( @% K1 r. w3 p7 f) [" x5 c
  1704. ;exif.decode_unicode_intel    = UCS-2LE  }- [3 h* k9 \- v
  1705. ! q) G6 z: X: B8 ]4 U$ [
  1706. ; http://php.net/exif.encode-jis5 K$ W8 S$ G- P# {% J; E9 e
  1707. ;exif.encode_jis =2 M8 c6 e- t/ ^0 q/ I. {

  1708. / f8 x$ U% b0 H, r
  1709. ; http://php.net/exif.decode-jis-motorola
    $ i# _' r4 s3 Z7 @9 p
  1710. ;exif.decode_jis_motorola = JIS" m3 K" H2 G. {' o
  1711. % @/ N1 z2 T7 m; a7 }
  1712. ; http://php.net/exif.decode-jis-intel* t! _, {' t  J' l2 F6 t2 a
  1713. ;exif.decode_jis_intel    = JIS4 R/ e3 f' N( Q) j7 I4 E9 K( }  }0 G

  1714. ; {( }" j6 [( r& O" c7 l4 b1 n
  1715. [Tidy]
    % X, F. Q% X* g. d8 L
  1716. ; The path to a default tidy configuration file to use when using tidy
    7 c# j+ Y6 C9 c/ {
  1717. ; http://php.net/tidy.default-config9 l+ k; _' k1 ~/ g7 _
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg, x& _# g& D: a; i: ~$ g# K# ?

  1719. 8 |. L2 L5 \( k$ L# }* d0 N( h
  1720. ; Should tidy clean and repair output automatically?
    9 p- I* Y" b; @& }! ]
  1721. ; WARNING: Do not use this option if you are generating non-html content
    : [" I: z9 u' L! M4 M9 t
  1722. ; such as dynamic images4 t& c: Z* m1 k+ n# i
  1723. ; http://php.net/tidy.clean-output
    1 i) P* M9 Q- }" I1 K. ^
  1724. tidy.clean_output = Off1 x# M: G0 c! N5 R' r$ O- R. k
  1725. ) {' I3 E0 R% d; J% h+ Y
  1726. [soap]
    3 Z& l! U& P' E& u  U# ]4 R* H
  1727. ; Enables or disables WSDL caching feature., ^+ G3 [) f* z. w  }. |
  1728. ; http://php.net/soap.wsdl-cache-enabled
    & c- ~" k+ S3 Q0 n/ l- n& ~& i: `- L
  1729. soap.wsdl_cache_enabled=1
    $ _9 u* G( ^3 K

  1730. 8 s- e5 H) h+ Z) O- n- g6 r
  1731. ; Sets the directory name where SOAP extension will put cache files.$ l. z7 h7 {8 ~
  1732. ; http://php.net/soap.wsdl-cache-dir8 X4 `5 s6 K. g/ g3 x2 R
  1733. soap.wsdl_cache_dir="/tmp"2 G7 |$ O% |& b" P

  1734. ; q3 u' T* {; Y' x" B  H
  1735. ; (time to live) Sets the number of second while cached file will be used
    , w9 v- ^$ e$ u5 N) n9 E
  1736. ; instead of original one.
    8 o! y- k2 A$ r9 E9 c- E8 E9 N
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ) c: q0 i9 l; P- _( w  T8 N) i; O
  1738. soap.wsdl_cache_ttl=86400
    & o" B. ~  J3 l  l1 N9 U! g

  1739. ' I) p$ p, @8 _. k: G" L% M8 L; E& J
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)+ [6 ]" W2 Q, N9 `# c
  1741. soap.wsdl_cache_limit = 5# d3 u; P8 D, Z. {0 d

  1742. 7 z# o. L. L! k" x( J) r1 v% V" o
  1743. [sysvshm]9 z+ i( y! W' r& v
  1744. ; A default size of the shared memory segment
    $ @: e# Z- K( N# b7 t1 D' N8 i
  1745. ;sysvshm.init_mem = 10000
    - p: K1 e8 ^8 A6 F
  1746. 3 F4 ~  |6 G' w( P& l
  1747. [ldap]
    . ]6 L; l0 l8 Q! a$ |" A
  1748. ; Sets the maximum number of open links or -1 for unlimited./ N. o9 H4 B! ]" o
  1749. ldap.max_links = -1! B" R) Y/ S6 X: S
  1750. / q# z) k+ q6 s, s9 e4 \
  1751. [mcrypt]2 w0 x& b7 o( d7 G5 \
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open; M$ @. @  d* G7 w
  1753. ! y& W9 O/ B" j, Y4 E  s) K
  1754. ; Directory where to load mcrypt algorithms
    ( ]/ L$ _, E6 o: K
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; c6 z8 B: ~0 n9 n* s, B
  1756. ;mcrypt.algorithms_dir=
    ( j) C* z& _9 `# @. Q% ~, @; Z

  1757. : f/ M( P" P  M. \- w  j
  1758. ; Directory where to load mcrypt modes6 K  m! O* O6 f1 F9 @& s2 R9 ]
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ( X$ T: C( G. K1 S( S: D
  1760. ;mcrypt.modes_dir=
      o- u& r; r* w; C& \# _4 `* A( Y

  1761. 9 d% |, `" C. }* t5 e
  1762. [dba]: d4 k4 ]$ `1 I3 J1 K
  1763. ;dba.default_handler=, ]  C$ D2 A5 P7 U
  1764.   W- ]- ?5 a6 H+ d. ^0 D# k0 v3 g
  1765. [opcache]: L, q+ U6 ^0 L  B  O, u/ j5 O
  1766. ; Determines if Zend OPCache is enabled
    : N+ |5 s1 C8 U0 L6 x& g
  1767. ;opcache.enable=0
    : m9 H. q# d, Q% G0 o$ o

  1768. 7 {, h+ e/ m! r
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP; G4 g+ l8 ?* d$ w6 b( }5 I
  1770. ;opcache.enable_cli=0( P% i/ J9 S: b+ I
  1771. & ?  K8 X+ I) ^5 ]
  1772. ; The OPcache shared memory storage size.
    , N; b) V5 f3 ]
  1773. ;opcache.memory_consumption=64
    . w5 c: l* s5 [2 E
  1774. 2 h2 t4 n+ X, P3 D1 j9 {  j
  1775. ; The amount of memory for interned strings in Mbytes.
    9 c* v! C. o+ ?9 @+ y, Y2 v
  1776. ;opcache.interned_strings_buffer=4! R* A$ F; L. S1 p$ @& l

  1777. 0 I: V+ k/ `- [5 ?  {. d
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.& n7 s4 T7 S, g$ v# `% g
  1779. ; Only numbers between 200 and 1000000 are allowed.. N4 g! \# t: v; b
  1780. ;opcache.max_accelerated_files=2000
    7 b4 m  v0 W: B$ D% m

  1781. - s- ]9 W) R/ g' e
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.; {3 J( o/ F8 @. k8 }  `
  1783. ;opcache.max_wasted_percentage=54 |( R7 r8 C3 R( @! o
  1784. 7 Q' e7 |; ]3 J& f* I9 q* }
  1785. ; When this directive is enabled, the OPcache appends the current working
    # U; Y3 o0 J# T0 ]. m% V! ?
  1786. ; directory to the script key, thus eliminating possible collisions between3 O0 Z: W) {' i* x6 F7 G4 ~- ?# U
  1787. ; files with the same name (basename). Disabling the directive improves
    & f' w; _( L3 S& p4 l7 }4 J5 M) ^
  1788. ; performance, but may break existing applications.% x' s& H% J5 t+ Z& F9 j
  1789. ;opcache.use_cwd=1& ]% m) @; c3 Q. r& h# j

  1790. ( p0 F' \; }2 t" G7 z' A$ }
  1791. ; When disabled, you must reset the OPcache manually or restart the
    ! B- S! B' p; s: R- K; X
  1792. ; webserver for changes to the filesystem to take effect.
    $ P" m" x% n. ~1 x5 @# u+ r
  1793. ;opcache.validate_timestamps=1) E! ]& e6 X( D+ M
  1794. 4 S2 B8 l* _+ _, w0 s
  1795. ; How often (in seconds) to check file timestamps for changes to the shared) W3 O+ o( ?/ N+ [- Y6 T
  1796. ; memory storage allocation. ("1" means validate once per second, but only% L1 p+ U1 U1 @% q9 `
  1797. ; once per request. "0" means always validate)
    * o, O2 J' ^' L& b" E5 p
  1798. ;opcache.revalidate_freq=2% ?  c2 ], K5 Y( q

  1799. + f9 N3 U0 Q3 P1 y; w: j0 {
  1800. ; Enables or disables file search in include_path optimization
    ( y2 S& U" \: G1 K
  1801. ;opcache.revalidate_path=03 S' T9 x% k+ n, _* z
  1802. - X" f3 y  p: G6 O* x
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the- H7 \8 n: X' q/ b2 S
  1804. ; size of the optimized code.
    0 X7 y" G1 q6 ~" n+ K1 k6 h
  1805. ;opcache.save_comments=1
    : A; ~9 E) i; C2 ~8 F( N

  1806. 1 S5 R8 x, b/ \: u" a
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ' e1 u% u9 G9 y8 I2 [% H
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    * z9 |" J1 W4 Y3 s+ J/ m/ z: O4 l
  1809. ;opcache.fast_shutdown=0
    2 k' k) }# c3 _" j. u

  1810. ; ?* P8 H; n, P* o4 C% @: M! p7 R
  1811. ; Allow file existence override (file_exists, etc.) performance feature.2 q- A2 ^' l, t% G
  1812. ;opcache.enable_file_override=0
    - U+ ~5 t0 E+ G, N6 z5 Z( u+ n

  1813. $ S+ T' K7 ]' G& e/ y- c" d- ]
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache5 K' o' C1 N2 ~: ~$ t
  1815. ; passes6 U4 w' b7 ^2 q
  1816. ;opcache.optimization_level=0xffffffff
    3 y6 \. Q0 e) K) J9 }

  1817. % c! r% c. C. ^+ L2 L
  1818. ;opcache.inherited_hack=1
    ) Z! P  _% \* m9 l
  1819. ;opcache.dups_fix=0
    ( m! o0 d3 x8 c/ Q$ d

  1820. 1 y% s1 A: d0 F- b* y% ?& z1 ~
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    5 ^# Q( u- k" Y7 K9 t- j6 y# N
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    * L9 I' S, O# J4 u9 V: p4 N  W% X
  1823. ; that should not be accelerated. The file format is to add each filename  u, E7 ]" j% q
  1824. ; to a new line. The filename may be a full path or just a file prefix
    ; A( G5 Q* `8 Z% Q' V! d) O3 W
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    & F! \/ l1 n! h' L, ?
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).8 z, z! `. ^! d  p
  1827. ;opcache.blacklist_filename=
    3 u$ b0 H0 R, v" {, A* M9 s
  1828. & d. _9 l" R% m' ]# \
  1829. ; Allows exclusion of large files from being cached. By default all files
    6 D4 S3 H, A5 ]( g1 }" r
  1830. ; are cached.
    8 d8 B% E$ F6 R
  1831. ;opcache.max_file_size=0
    8 q: U4 D2 O) j0 `# }$ y6 G+ m

  1832. ' i; L: M, b; c/ Q) s9 O5 w
  1833. ; Check the cache checksum each N requests.
    7 B7 _9 n% U: {0 i9 U! H. Q
  1834. ; The default value of "0" means that the checks are disabled.
    0 F3 l+ O( O# E7 k* D
  1835. ;opcache.consistency_checks=04 F! Q% `' o4 \# o6 D
  1836. . ^% _9 Y' Q( x$ B
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache* c4 x' y% F* Y0 i
  1838. ; is not being accessed.2 N7 {1 A! \. {" p
  1839. ;opcache.force_restart_timeout=180$ P, q  J$ E9 Z# C
  1840. 8 R+ M" j/ J' ^
  1841. ; OPcache error_log file name. Empty string assumes "stderr".! A( T2 z/ ]) K8 E4 h! [" R- R( B) Q
  1842. ;opcache.error_log=
      |+ t0 A6 X+ X4 I
  1843. $ _# D+ ?" c4 d& q; C
  1844. ; All OPcache errors go to the Web server log.
    1 `* U6 S; U. b* V: w0 n  |* W" x$ G; f
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    9 }' A5 k$ Z( i* w( |- r
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    + A8 k$ g; ?) y; C1 K
  1847. ; debug messages (level 4).) Q8 C4 k# o4 j2 \: Q% |# i# [; _% o
  1848. ;opcache.log_verbosity_level=1% _2 l* S* b: @( U" z
  1849. , Y+ t, f4 B! r3 C0 E% f
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    2 L/ @- {* [& `1 @% l7 C: @! J0 y
  1851. ;opcache.preferred_memory_model=+ d5 R. b) ]8 `1 i3 H/ j

  1852. $ z' q0 h; j7 f7 g
  1853. ; Protect the shared memory from unexpected writing during script execution.
    " S# g$ z! I8 j7 ^2 c9 c
  1854. ; Useful for internal debugging only.$ X+ ?* j4 {/ {5 r  t: ~, u% m
  1855. ;opcache.protect_memory=0
    9 k0 ~+ L, ^& Q+ p" a

  1856. 8 x7 S( B3 R$ _* H
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is4 D5 B8 M; n7 J$ L) m4 X) K2 S, A5 L
  1858. ; started from specified string. The default "" means no restriction; P- ]) x4 u7 g5 S/ d, R: s, z: i- S
  1859. ;opcache.restrict_api=
    4 O% |8 [8 T6 Q" C& D7 F- E
  1860. / x( e) x7 E$ T  Y7 W3 }7 l
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    " k! o  c2 M0 l6 ^; ^! Y
  1862. ; processes have to map shared memory into the same address space. This
    3 T) g" U; W- }# @; j. \# @% S
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    0 F5 K- Y/ D% G' O6 [8 u( H; J
  1864. ; errors.
    ; Q7 P" P7 B5 W: S3 B/ n
  1865. ;opcache.mmap_base=$ o$ w* x' C  B! U, @, z8 r( M$ X* }
  1866. 4 z$ B5 T( ~2 j
  1867. ; Enables and sets the second level cache directory.7 W0 ^! _! o1 _0 X( k- C
  1868. ; It should improve performance when SHM memory is full, at server restart or
    - w) @( e2 E+ l. y8 A8 E/ l7 T
  1869. ; SHM reset. The default "" disables file based caching.
    ; X/ @0 V4 \& x4 x% s
  1870. ;opcache.file_cache=
    & a/ r& f# F$ U
  1871. ) w4 K4 S4 ]! Z1 w2 W5 n
  1872. ; Enables or disables opcode caching in shared memory.
    4 a6 T/ D9 X( m1 B/ i+ ?
  1873. ;opcache.file_cache_only=02 w6 p5 r  @# \. v- T! G
  1874. 0 W2 h" o. S, H1 e% |
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    & e2 V( z2 Z, f" r1 g
  1876. ;opcache.file_cache_consistency_checks=1
    " A5 q  r3 `# u9 I5 Y4 e! r

  1877. " u: b1 ]/ W5 k
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    2 v  m8 B1 {# X) @6 Z$ c
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    3 o( d4 A( H6 O( Z4 [
  1880. ; cache is required.( O5 `- e/ {; H, e6 \
  1881. ;opcache.file_cache_fallback=19 I6 D& p/ B" |
  1882. 5 B3 I- {, L3 }% J) p+ m
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.% A$ n0 D, m7 |( i6 A% A( O
  1884. ; This should improve performance, but requires appropriate OS configuration.2 _% a' I0 e% \# n+ }6 A* {/ U
  1885. ;opcache.huge_code_pages=1
    : W7 `1 w% n% x6 F

  1886. ( z) v" R  x& [! F( {7 C; a
  1887. ; Validate cached file permissions.
      V) o& Q5 V, G2 _# t! X
  1888. ; opcache.validate_permission=0
    , e0 m& ~. z6 x9 O3 Y% p

  1889. " ]5 y5 i) C8 i. g4 _3 M- I- x
  1890. ; Prevent name collisions in chroot'ed environment.3 ~. }% c4 M8 I$ a- k
  1891. ; opcache.validate_root=0
    4 I) f- p' F" P1 `- O3 [

  1892. % d/ ?- Q  i1 V7 y& h: d
  1893. [curl]" t/ I, I' `8 H7 f* f
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    1 n0 ]( }2 J3 W, ?5 m2 L
  1895. ; absolute path.$ [' x  g+ [6 @- ?
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    4 d0 m7 c- Z* W
  1897. 8 H. w; M, a# M6 b
  1898. [openssl]4 R) \5 Q! |1 h! Z* j5 i
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem& j3 s" g9 @) c8 L# O0 ~' U
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    & X8 M7 Y. @7 k. T3 `$ d
  1901. ; not specify a value for this directive as PHP will attempt to use the
    ' ]1 L6 a9 Q6 J8 f  `! U2 g
  1902. ; OS-managed cert stores in its absence. If specified, this value may still% i9 }3 n( p/ _  c9 H
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    5 X1 l: Y5 d( Q
  1904. ; option.0 w* i' P9 u0 Q$ h& ~, y( d$ G& J
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt, ]% W+ q, d$ O2 i& z

  1906. 1 D- E' }& n5 g9 }
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    - v, }$ H; c! p4 I
  1908. ; directory pointed to by openssl.capath is searched for a suitable
      k# v. t: m3 B, K/ ~
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    ' i) a6 h1 g7 Y7 ]$ f. X
  1910. ; Most users should not specify a value for this directive as PHP will
    6 m8 }# ?* O( ?6 t5 ~
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,: u" K+ M/ q! m% |
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    , l, }: x% {% X' u" d( J
  1913. ; SSL stream context option.
    2 J6 f  v! W3 Y+ {4 G; a
  1914. ;openssl.capath=
    ! L# S  c3 [: Q  T' U; m# y+ y

  1915. : [2 i& z8 {) a8 x  e
  1916. ; Local Variables:! |- r& e0 L; i5 M! g
  1917. ; tab-width: 4
      w9 J9 f+ x* g- b4 Y6 z# V
  1918. ; End:
    ; X* P. C+ \" |) H4 c

  1919. 3 D* W, s% b  X: y8 E1 Z$ T
  1920. ;eaccelerator
    $ k& `$ W6 d  Y# |$ z( O% g% B

  1921. ) G. f$ U8 D- s0 v4 G  W5 q4 M# {
  1922. ;ionCube
    : F/ w+ W1 t* b# y$ h! v8 g
  1923. " J; Q0 }3 h4 X- S
  1924. ;opcache& [) J3 R7 T: v5 r+ U2 M; @
  1925. ! ]/ W( l  ]7 k8 M
  1926. [Zend ZendGuard Loader]8 V0 @+ Y  v( _& W
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    & F( {! k1 E9 y
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    * i) x* D% g( {
  1929. ;zend_loader.enable=1$ J% t: p  M2 o" B
  1930. ;zend_loader.disable_licensing=0
      R& B( M( |/ J8 Z6 `
  1931. ;zend_loader.obfuscation_level_support=3
    & B- O- p$ {0 n5 A
  1932. ;zend_loader.license_path=% F' }2 W8 l1 y

  1933. 8 d9 ]2 r3 C; m3 ?/ D
  1934. ;xcache( g  [: Y4 b7 s! D7 |

  1935. % \5 U8 s' m* _, J6 c. `
复制代码
! J4 H5 Y# Y6 L7 t$ E* j

; l3 n  f% C$ }
  O- S( g5 n+ W7 T
' z1 D( E& G, K
: B( ]* A4 |. g. \1 ~% t. U! ~) j7 Y8 h) y3 E3 B& K

" `: Y; l& V- m/ O8 K: {PHP5.6版本原始设置
7 }, ^/ ^1 K4 A9 C
' u# ~+ l( k/ m' y2 q2 g$ ]
  1. [PHP]  M7 e$ p9 C4 Q+ E
  2. ( i) Z* R& I7 r- N" V# |0 z
  3. ;;;;;;;;;;;;;;;;;;;
    ' t8 x6 F$ n* a0 D  Q
  4. ; About php.ini   ;" u0 V! C7 k( O
  5. ;;;;;;;;;;;;;;;;;;;: H( y; Z/ C. t# A/ q4 j/ l4 d
  6. ; PHP's initialization file, generally called php.ini, is responsible for3 G' m; t! }& \, _6 ?0 \
  7. ; configuring many of the aspects of PHP's behavior.4 w0 r; j/ N% s8 o$ s; Z9 A& \' a
  8. 0 S" N" I. D1 q  N( S4 P
  9. ; PHP attempts to find and load this configuration from a number of locations.
    5 {. R* x" }& z, n+ w& |; V
  10. ; The following is a summary of its search order:$ A3 N5 b- ^3 J+ \- L+ y
  11. ; 1. SAPI module specific location.
    & \) D8 ^0 B* O0 k
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    3 G0 D, q8 G$ g5 _
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ' p4 T$ i, o: J
  14. ; 4. Current working directory (except CLI)" y  c, u' w) B7 F7 h, H: S
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    / m& L7 @% ~$ `/ A3 g6 V: s
  16. ; (otherwise in Windows)" f  b* W" u$ z" E  e
  17. ; 6. The directory from the --with-config-file-path compile time option, or the6 h! ], U) F' g8 F+ i
  18. ; Windows directory (C:\windows or C:\winnt)
    9 ]$ L0 Z; v5 b1 b; K
  19. ; See the PHP docs for more specific information.
    # d( p. ^. W! S+ {7 D; y  v: d
  20. ; http://php.net/configuration.file* w# S, f6 m  \2 F  [" N

  21. 4 I: ^- O* o- @  {' c/ B" H# o
  22. ; The syntax of the file is extremely simple.  Whitespace and lines, o4 M( ^: ]! D% `$ O; G& a- k
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    . }! x% H+ x7 h% x: Z
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though' {5 W$ u+ K& M+ z
  25. ; they might mean something in the future.7 t/ ^1 y* B0 c' t

  26. 9 ~: L' x8 h: a+ W
  27. ; Directives following the section heading [PATH=/www/mysite] only
    3 s5 }4 |  |3 {  w- s
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    - V% ~0 E* I5 u/ b* H0 k) N
  29. ; following the section heading [HOST=www.example.com] only apply to
    " z4 i3 M& @1 b, S$ W+ U
  30. ; PHP files served from www.example.com.  Directives set in these5 W3 j3 [, A  I  U4 d: [- R% k9 I
  31. ; special sections cannot be overridden by user-defined INI files or
    9 F, r  g2 i2 U. B6 M0 \# e
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    8 q# ]( J# O& r8 B
  33. ; CGI/FastCGI.  ^0 a! C6 X' I1 y# |8 C
  34. ; http://php.net/ini.sections, V$ B8 C9 w0 A2 o3 C' W4 J# i0 l

  35. - b5 k2 v" C+ B( N/ n: y. [8 E
  36. ; Directives are specified using the following syntax:
    1 G% H! N/ j2 x
  37. ; directive = value# z/ Q0 L+ G  a3 `: N9 B
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.. ~3 |6 c% w( j2 y. f$ `2 D
  39. ; Directives are variables used to configure PHP or PHP extensions.) j0 d% z: H3 _4 s' N4 E: B8 L$ E
  40. ; There is no name validation.  If PHP can't find an expected
    1 T% {) a$ `; S: {' X: u' l- @
  41. ; directive because it is not set or is mistyped, a default value will be used.( _3 ]; f, a( @- H3 U
  42. # F$ Y$ G  I1 f+ s
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    # z% s# g0 T% {3 t2 H# F
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression3 B& g2 @: D4 W6 s# Z' c( N
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a  E/ w1 E4 X4 o4 p; [( D
  46. ; previously set variable or directive (e.g. ${foo})' f) y& e/ W3 y8 `
  47. ; @  Y# d6 M8 o% ]) [# i6 y
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    8 o4 @) L& Y2 R* {9 n3 p. P% B
  49. ; |  bitwise OR# J! K1 ~$ {9 x' g1 n% O
  50. ; ^  bitwise XOR- [' {! q( }; z0 A  w2 V9 }
  51. ; &  bitwise AND+ `& r# P7 O+ W( q; E3 E
  52. ; ~  bitwise NOT+ @) X9 k/ V( ?; K0 B/ p
  53. ; !  boolean NOT
    : h. T% i* x# b% s: k1 |
  54. # B1 Y! M7 s8 I; I  p/ i
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.6 F1 ~! B% H# _4 L1 V9 p8 {0 ?
  56. ; They can be turned off using the values 0, Off, False or No.1 S/ J; N7 R$ R: I, b' A- y

  57. 0 I% ]: j# z" Q# p. |7 q/ q
  58. ; An empty string can be denoted by simply not writing anything after the equal7 j# k% U! r) D3 @3 R/ W
  59. ; sign, or by using the None keyword:. h+ A3 ]( V  u8 F" T3 p

  60. 8 h2 {, t, w7 w$ L% f
  61. ;  foo =         ; sets foo to an empty string
    : t! f6 a, O( p6 _8 g" Z
  62. ;  foo = None    ; sets foo to an empty string' M/ F% L3 \& B: |  z+ u* b# W
  63. ;  foo = "None"  ; sets foo to the string 'None'
    $ A8 m- \) J0 b" j2 s" l4 d# ~6 i
  64. ( g" B: U5 g+ Y( y& i- ~
  65. ; If you use constants in your value, and these constants belong to a
    & u2 l# ~/ v' U- [1 }
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),3 s9 }+ C2 }1 |/ d4 E* s
  67. ; you may only use these constants *after* the line that loads the extension.7 l, r$ C. H! z: {0 H
  68. % S9 |6 ~( ~- {0 a. c6 |2 {# _: A6 B
  69. ;;;;;;;;;;;;;;;;;;;
    8 V, f3 Y, j* j: o/ q
  70. ; About this file ;
    2 t/ n: V# z8 Y9 T' Z4 g6 h# n8 u
  71. ;;;;;;;;;;;;;;;;;;;
    : C% q% _5 {0 P* }% o" K
  72. ; PHP comes packaged with two INI files. One that is recommended to be used$ ~+ p; Q( x" ~( |4 }3 v3 p
  73. ; in production environments and one that is recommended to be used in
    0 H3 U6 K) a- w9 v$ v2 N
  74. ; development environments.
    3 B4 ~% K% {- G, `; k! f4 i$ Y
  75. - P- V+ c5 C/ U+ Y
  76. ; php.ini-production contains settings which hold security, performance and! T, C7 J: Y0 k
  77. ; best practices at its core. But please be aware, these settings may break( W) ^* o4 a8 I6 Q6 A! b: I
  78. ; compatibility with older or less security conscience applications. We
    9 U) |: }2 T2 n. x
  79. ; recommending using the production ini in production and testing environments.
    8 V7 h6 y! U  G" v1 R8 u# Q( q: X

  80. . t0 G0 s7 U7 X4 z0 p3 s
  81. ; php.ini-development is very similar to its production variant, except it is
    " e7 L& ?7 A3 O* ?
  82. ; much more verbose when it comes to errors. We recommend using the
    , s/ O4 Q- m. A! V6 g  t
  83. ; development version only in development environments, as errors shown to
    # m  J# l  R) a& v9 _' g
  84. ; application users can inadvertently leak otherwise secure information.7 H0 j% o* @& C2 ~+ i  N

  85. 0 y" Q" t" o9 t4 s0 W, p6 }
  86. ; This is php.ini-production INI file.
    1 }. L: f& h/ G. Q7 [

  87. ; L9 ]3 y# b3 N# o" e, E) z# s- |
  88. ;;;;;;;;;;;;;;;;;;;( g( [0 U# F* e4 V& R1 v# ?
  89. ; Quick Reference ;
    ' }0 P: E4 n& M  p5 J; B8 G
  90. ;;;;;;;;;;;;;;;;;;;
    ' z6 O6 H8 L$ e2 t. z+ N: h0 E
  91. ; The following are all the settings which are different in either the production3 p. `2 Z4 j+ v. Z+ Z! g
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    % P1 A; _  V7 [2 A) F
  93. ; Please see the actual settings later in the document for more details as to why& d6 B: I, |. x. l( l% i1 v; r
  94. ; we recommend these changes in PHP's behavior.$ T  J$ m" D4 O5 h
  95. # n  x7 S. d) J+ T4 s" ]6 `
  96. ; display_errors* s2 t6 v8 P* j3 W. H3 G4 h0 v( D
  97. ;   Default Value: On' I1 w2 V* _; }2 W0 b% O; v7 ^
  98. ;   Development Value: On/ |* Q; H9 R4 \
  99. ;   Production Value: Off) l5 G# ?5 k2 _  f) J3 y/ a
  100. $ S! N, \3 o; M. F/ }
  101. ; display_startup_errors, G7 Q8 }6 Y" ^; c6 H
  102. ;   Default Value: Off
    ) q1 S4 n" x$ Y8 h( b
  103. ;   Development Value: On7 j# ?0 Y) ^) p9 Q7 ?' W
  104. ;   Production Value: Off
    % }9 B+ T, Q; r+ {) _/ K  X" b- f

  105. ( z/ p8 O% s% e; i0 p$ D. @" M/ r
  106. ; error_reporting
    2 i# S( s4 Y( o
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ' _; Z3 a7 R# w$ i/ b1 V1 X/ z
  108. ;   Development Value: E_ALL
    - ]0 X5 }, h' w# s. P; `2 P
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    2 I' o' [6 o3 e- |
  110. + n. T; d1 ]$ b2 v' M4 p/ Z  L
  111. ; html_errors
    0 P4 y, Z) V  ]" `* \, q
  112. ;   Default Value: On
    - t, k) T8 ]3 @9 {. p: T
  113. ;   Development Value: On3 E% A- e& E6 G8 |" S, K8 p3 I
  114. ;   Production value: On0 B* p9 y0 |6 V  q" Z$ S  s# ~
  115. 4 @7 C. |9 d# b  w5 Y& X
  116. ; log_errors
    ; K; o# w( ~- {$ o8 p% t. \1 t
  117. ;   Default Value: Off; j7 {5 x* ^+ R2 K5 i, k1 D+ O; I
  118. ;   Development Value: On
    3 w$ w. m% V' B6 s0 Q( a% q8 }
  119. ;   Production Value: On
    , R+ [; n6 g+ j7 ?  }4 W1 B+ x

  120. 8 F9 Y! N& u* X# D+ e( B2 g; e
  121. ; max_input_time+ X: J* p, n9 P# P6 o5 w
  122. ;   Default Value: -1 (Unlimited)8 @# n0 Q) l0 S( \( \1 i
  123. ;   Development Value: 60 (60 seconds)
    9 |  K6 m0 W8 g0 R- N, s: h/ l
  124. ;   Production Value: 60 (60 seconds)
    ( x7 w* ]5 R% R, c8 y
  125. 2 {) {; j/ l5 V+ m  M
  126. ; output_buffering
    , I; D! h; g9 ?
  127. ;   Default Value: Off2 J) z, t; C4 ^& K: f1 m* n7 o
  128. ;   Development Value: 4096
    ' Y& \( u( L* d9 ?& j8 g
  129. ;   Production Value: 40960 A$ [' U5 m) V6 ]  X. [9 E
  130. 6 ]8 R4 @/ z! }+ a9 g0 y
  131. ; register_argc_argv
    + x6 Z0 P: C) R# C8 i: s
  132. ;   Default Value: On
    7 N5 E$ u, O3 [& {/ j
  133. ;   Development Value: Off. t6 S# ]' h! c5 L; B/ N& Z
  134. ;   Production Value: Off$ T: z; e; J1 M
  135. 7 }8 L  K8 @' L3 x1 C9 p
  136. ; request_order) O' A" M7 z* a
  137. ;   Default Value: None$ z- t( z& U4 k: S# X4 B+ x
  138. ;   Development Value: "GP"
    ' s$ v$ y, b/ E
  139. ;   Production Value: "GP": Q8 P. w* f7 p8 U4 m

  140. 7 q+ {# x+ l5 G# @: p8 V
  141. ; session.gc_divisor
    6 \. I* w+ G/ u$ d: w0 p. ]
  142. ;   Default Value: 100
    ) F; r7 b' S6 F5 n+ s2 ?/ g, G
  143. ;   Development Value: 1000) P! M8 v# {& y/ j, g" w
  144. ;   Production Value: 1000
    9 ^- U/ ]; M8 g. `) ^% _

  145. ; b4 W+ _- M8 R8 u2 \
  146. ; session.hash_bits_per_character
    ' G: D! {" j/ Y% O6 n. g7 c% O4 Z
  147. ;   Default Value: 4
    3 g: h: W1 [* E" _$ Q# ^5 a8 e/ C
  148. ;   Development Value: 5
    1 U- N* }8 T+ Q9 f& S
  149. ;   Production Value: 5
    ' t$ D  c) m, F' ~- v1 @

  150. / H9 a. t1 }1 j* k
  151. ; short_open_tag
    " I/ `6 J% G/ M4 H7 W  ^3 w, m! H
  152. ;   Default Value: On
    & x9 _# n+ d. E  F0 L
  153. ;   Development Value: Off
    4 z% ?5 Y9 [7 ~9 X. T
  154. ;   Production Value: Off, O# x( H8 ?* @
  155. ' Q' @/ @' d2 T, n
  156. ; track_errors7 Z9 [6 ]0 y8 A: p1 w
  157. ;   Default Value: Off
    2 C! x& {! w4 d8 Z) H: @
  158. ;   Development Value: On
    , j8 O$ y# q( c# o  |& ^  {
  159. ;   Production Value: Off
    / e+ _8 F9 {9 `1 Y) Y
  160. & x- ]3 G9 M! g4 s; ?
  161. ; url_rewriter.tags% O7 i! Y$ t5 P) O
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="( N1 A5 _: r# E6 P
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 R6 o# q/ n% N
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; E) m  `" N7 Z0 U( m9 A7 Z
  165. 7 ~1 u" ?& R: }$ R- z
  166. ; variables_order$ ?5 @. D& H, z3 b+ N& l
  167. ;   Default Value: "EGPCS"6 s  o& _8 j  I) h; i
  168. ;   Development Value: "GPCS"( `0 V0 D( Q- r* `" P4 t" ]$ T
  169. ;   Production Value: "GPCS"
    5 m7 Z" ]* t" A$ n6 N
  170. 4 `" K. w, z3 `0 Z
  171. ;;;;;;;;;;;;;;;;;;;;  }1 ]$ ?' [% ^$ v" ?( `5 p
  172. ; php.ini Options  ;9 S( p8 [$ O0 {3 \
  173. ;;;;;;;;;;;;;;;;;;;;) Y% ]& ?. f" r' v
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    5 Y* V: j% T# j7 w
  175. ;user_ini.filename = ".user.ini"
    6 z1 |  d- _3 G0 Y1 U
  176. , F. g0 a1 Q5 ]4 Y
  177. ; To disable this feature set this option to empty value
    % |! }# u. t7 F* G+ s
  178. ;user_ini.filename =4 Z8 \' v  Y) v* `8 }( Y3 P
  179. ) _, e4 a# H& t1 z" @
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    6 o+ N1 d7 J) q! Y# ?/ r/ `8 o
  181. ;user_ini.cache_ttl = 300
    , ?, j3 L) o- n/ a! V
  182. 9 r( i4 m% F1 s) R; k- n
  183. ;;;;;;;;;;;;;;;;;;;;8 Z9 |! q/ _2 B% K  K
  184. ; Language Options ;$ ?" O5 H+ S; N, c$ H8 ~
  185. ;;;;;;;;;;;;;;;;;;;;; x* ?- f7 U9 e" t  Q+ C3 j$ L

  186. . ^+ g; V: S7 L7 r* Z* X0 }
  187. ; Enable the PHP scripting language engine under Apache.3 A9 V$ U7 w: u2 j- w6 v& |8 h+ B
  188. ; http://php.net/engine) w5 P9 p, R' R
  189. engine = On
    & e" S! s- B2 Y

  190. ' E" c4 \% c" R2 N  E/ \9 D
  191. ; This directive determines whether or not PHP will recognize code between0 v% h) x3 y: `$ Q2 R
  192. ; <? and ?> tags as PHP source which should be processed as such. It is4 q% K% X" f  x5 E
  193. ; generally recommended that <?php and ?> should be used and that this feature
    1 r3 p$ C+ Y  O8 H5 p( \+ k
  194. ; should be disabled, as enabling it may result in issues when generating XML  a+ y1 \8 `2 T+ P' M8 M+ @
  195. ; documents, however this remains supported for backward compatibility reasons.
    / q6 c. l! I4 E% [- ~- `8 L1 V
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
      f4 L# ]/ x% J" D# O; V6 J9 [
  197. ; used regardless of this directive.
    , F7 {2 S8 L1 D8 z  G, _/ E; Q
  198. ; Default Value: On6 r2 b7 |, K4 ?
  199. ; Development Value: Off1 h& P( L# S' t- u6 b  d
  200. ; Production Value: Off+ E( g( f+ B/ T0 y1 V- _8 h& u: c
  201. ; http://php.net/short-open-tag0 o) e4 d% |1 U$ Q4 o( ^
  202. short_open_tag = On! a+ [6 P1 K: P6 }( n

  203. : f4 |* C! w5 A/ w" O5 C1 l* t
  204. ; Allow ASP-style <% %> tags.
    ! H4 L+ C( A1 q: |
  205. ; http://php.net/asp-tags" {1 D. M" A8 _) k( w
  206. asp_tags = Off
    2 I. e, j2 R! X( Q" `5 L2 G; m

  207. $ }8 v/ w8 ?5 M# H6 }
  208. ; The number of significant digits displayed in floating point numbers.
    - }& ]' F# Y2 g( f) L5 |& S
  209. ; http://php.net/precision
    6 b. x* i  c# o: e! ]
  210. precision = 14/ D2 A# r3 u8 h' r4 |4 T( U
  211. + {8 {, J( h* ~5 l- d3 L
  212. ; Output buffering is a mechanism for controlling how much output data8 F4 ~3 D! A1 @9 {$ y2 W( _
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ! [1 O0 l- e3 }2 y+ ]8 Z" p! U9 f
  214. ; data to the client. If your application's output exceeds this setting, PHP
    2 Y) a0 g- ?6 D0 y' N) L, p
  215. ; will send that data in chunks of roughly the size you specify.
    1 U% M/ M! U- H3 d/ W- g" ?% s' A
  216. ; Turning on this setting and managing its maximum buffer size can yield some; u, z' O; C% Z8 ~4 Z% |8 c. P2 t
  217. ; interesting side-effects depending on your application and web server.
    $ U7 h- M. S. ^! a# @
  218. ; You may be able to send headers and cookies after you've already sent output
    # B. \9 I4 i2 z5 [% J4 J
  219. ; through print or echo. You also may see performance benefits if your server is% h, N" u1 C( I' ~
  220. ; emitting less packets due to buffered output versus PHP streaming the output4 t8 y# B+ G% w1 k8 R& y; S0 |& N) ~
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ; n2 v  p, J4 p# f
  222. ; reasons.
    4 G! N7 `/ z& \) G3 e
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ' }- e, n, }1 h$ v* [0 A
  224. ;   functions.
    / D4 u& `3 Z5 \* l. q! v6 O% [
  225. ; Possible Values:
    ' ~) h& O; R* B$ j  B
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    7 A0 [( ~% y) r2 L4 P
  227. ;   Off = Disabled7 S% v6 D  C( R! |1 y' g# \
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    : N; N+ [7 \: d9 c9 d
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI6 n. U: o- F0 Q0 Y' Y" u
  230. ; Default Value: Off
    . O* R7 o# Z& U) d
  231. ; Development Value: 4096
    + Z! X. m( L6 D" l% ]
  232. ; Production Value: 4096, ^$ G; Z, N" V
  233. ; http://php.net/output-buffering0 E% m1 X7 R! y5 @3 s& `
  234. output_buffering = 4096
    6 N0 E/ i, u; \- w. c6 @1 `2 `) g$ A. Q  f
  235. 2 ?6 L( f" s$ S( n1 z0 U* _/ C
  236. ; You can redirect all of the output of your scripts to a function.  For
    0 L  J. R: d. Z$ Y6 j% g
  237. ; example, if you set output_handler to "mb_output_handler", character1 D- I  `3 C$ ]5 i4 S0 U
  238. ; encoding will be transparently converted to the specified encoding.: p8 p" u" _8 }! U" H4 V7 T
  239. ; Setting any output handler automatically turns on output buffering.% p* N& L. s9 P! m
  240. ; Note: People who wrote portable scripts should not depend on this ini
    & b' @) [; O1 d% t1 c! J' g
  241. ;   directive. Instead, explicitly set the output handler using ob_start().9 o* |, K* X, W7 t' L2 R
  242. ;   Using this ini directive may cause problems unless you know what script
    : c8 b+ f2 U8 x' L1 g$ m
  243. ;   is doing.
    7 U! M4 Q+ n# f3 P9 I
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    & T$ z9 A1 u) Z* I
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression"., {: \+ O" O% I9 ~( _/ |
  246. ; Note: output_handler must be empty if this is set 'On' !!!!7 z- z8 s! k2 e$ l: Q
  247. ;   Instead you must use zlib.output_handler.! K$ u8 K) U* l( q0 s7 b/ Z8 W
  248. ; http://php.net/output-handler4 v) `$ `5 w3 y8 r
  249. ;output_handler =
    0 W" @' K& o# [
  250. ) ~2 Z6 q5 D, _  F/ D
  251. ; Transparent output compression using the zlib library
    9 G$ K5 d$ Q$ o9 v
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    8 q2 ?, e8 r. m. w! w- {
  253. ; to be used for compression (default is 4KB)
    2 @  t/ {3 C: r5 z3 L3 E. J) l
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    0 i. {' u9 l+ f' G: M9 m
  255. ;   outputs chunks that are few hundreds bytes each as a result of3 G% v8 l3 L2 o7 F- s$ ^
  256. ;   compression. If you prefer a larger chunk size for better, J7 H* B% q- E4 y' x
  257. ;   performance, enable output_buffering in addition.
    + G+ y- S( R0 G2 a3 M/ W0 Q
  258. ; Note: You need to use zlib.output_handler instead of the standard
    + L- ?  ?- Q8 o1 `; V/ u  x" d* ?
  259. ;   output_handler, or otherwise the output will be corrupted.
    0 J5 H' X- V* f$ g5 _1 e  a7 H
  260. ; http://php.net/zlib.output-compression4 k. |6 x" X- o) d7 y/ z7 I
  261. zlib.output_compression = Off. H$ k& `7 F( s9 G" L2 X: O
  262. 9 m) @' z7 Z5 L5 X$ R7 P
  263. ; http://php.net/zlib.output-compression-level) H/ t2 `: s5 k: m
  264. ;zlib.output_compression_level = -12 t  k2 ^# }- v* W) J4 B0 ^# N/ b
  265. 0 A* V& _; X7 D6 H  \! ~
  266. ; You cannot specify additional output handlers if zlib.output_compression
    # `) U) q" P- v( F. I% w+ Y* h5 C
  267. ; is activated here. This setting does the same as output_handler but in
    5 }* }/ j% E3 Y5 p0 _( _
  268. ; a different order.' z6 W1 I' ^( {# ~
  269. ; http://php.net/zlib.output-handler
    ) M% K4 ?+ Z9 L+ j2 d- }; L7 B
  270. ;zlib.output_handler =
    " k  V! L6 m! l/ J4 {
  271. 7 ]9 B  P8 I& t% @0 }
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    5 P/ @. g0 s; o0 C2 k
  273. ; automatically after every output block.  This is equivalent to calling the/ l  G- w, M3 M8 A/ h1 ]
  274. ; PHP function flush() after each and every call to print() or echo() and each. g1 ~0 t4 ~0 g! S$ w$ ^
  275. ; and every HTML block.  Turning this option on has serious performance
    2 k$ c1 k( h3 k( I' z1 E+ `' o
  276. ; implications and is generally recommended for debugging purposes only.
    2 F9 P! B9 K6 b6 _3 u
  277. ; http://php.net/implicit-flush
    9 V1 S+ W8 M8 |/ @+ n
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    3 a# p( L9 V3 s  ~! _% ~& w% X: x
  279. implicit_flush = Off: k8 m+ h# }; v: a$ E% `; y

  280. $ U. a6 P1 Q5 @% F! r, d4 K1 ?
  281. ; The unserialize callback function will be called (with the undefined class'6 S6 Q2 N* g/ ?4 A" ^
  282. ; name as parameter), if the unserializer finds an undefined class+ q  i0 i  `7 J+ P
  283. ; which should be instantiated. A warning appears if the specified function is7 C1 j: L/ I2 Y1 D6 {
  284. ; not defined, or if the function doesn't include/implement the missing class.3 p  e$ V! M7 p+ N$ q: e$ Z* z, w
  285. ; So only set this entry, if you really want to implement such a7 v5 a# u0 r  s
  286. ; callback-function.
      v" P. Z2 T4 G) m$ ~! h
  287. unserialize_callback_func =
    $ m9 p, O( B- K) `2 q) T2 r

  288. 8 \" d8 Z5 J) W: S" f
  289. ; When floats & doubles are serialized store serialize_precision significant: X8 Z' {6 h2 h6 Z
  290. ; digits after the floating point. The default value ensures that when floats
    * c, X) Q- Q( t) U
  291. ; are decoded with unserialize, the data will remain the same.
    3 S7 H  F) I) l: E2 j
  292. serialize_precision = 17+ u( ], ?" J# c7 `4 u

  293. - [2 P' g0 a/ z1 N! j
  294. ; open_basedir, if set, limits all file operations to the defined directory
    - q/ v" G* y6 K  b
  295. ; and below.  This directive makes most sense if used in a per-directory0 H& ]3 N' O4 o8 Z+ Z  e
  296. ; or per-virtualhost web server configuration file.
    4 p) U0 w2 D$ ]4 e4 b
  297. ; http://php.net/open-basedir3 j6 t( {& [. `+ l
  298. ;open_basedir =
    9 N% x$ J! ?& N- f4 o' c

  299. * ~& u; T% H3 a& I4 \) y
  300. ; This directive allows you to disable certain functions for security reasons.
    ; W* s! C; x1 \- H' U- h* T% y: f
  301. ; It receives a comma-delimited list of function names.* q8 C4 e( ~1 m
  302. ; http://php.net/disable-functions
    / U, [1 z  X4 j% Z4 X# [* i  ^+ Q) M
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru6 _* R& x0 h' W3 f& {8 w) a

  304. ! v, o- T: r1 p0 Y3 K( Z8 r
  305. ; This directive allows you to disable certain classes for security reasons.
    5 }7 l+ }- x3 |5 A
  306. ; It receives a comma-delimited list of class names.
    " L3 Y! q0 G7 x( l: G- y% r, A
  307. ; http://php.net/disable-classes
    ! ?0 O& U& T( P
  308. disable_classes =
    : }" x. l1 A  Z1 {
  309. 7 Z. w, \2 ?" V- n8 N& L) X& D
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in9 o) I/ B6 ^3 B1 ]6 S8 F
  311. ; <span style="color: ???????"> would work.
    ' |' [# |6 _# X& v
  312. ; http://php.net/syntax-highlighting0 K  W7 e# a) J. z" |' o
  313. ;highlight.string  = #DD0000+ @" y( u# m/ [4 E  w: J# P
  314. ;highlight.comment = #FF9900& B) O' J+ L/ C
  315. ;highlight.keyword = #007700, s$ J) l. l. w5 [3 K
  316. ;highlight.default = #0000BB
    2 I% c" F* U4 T& [) v8 p
  317. ;highlight.html    = #000000
    7 W1 s7 T2 B7 `) g4 ~) f. F
  318. 1 |6 m" y# ]% z% z
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    9 N0 u7 |7 I- @$ i. ^. D: k! m( O' E3 o
  320. ; the request. Consider enabling it if executing long requests, which may end up7 t# w& V# f$ ?) S: q8 U6 P, {
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior( `* t8 r" U! i0 N
  322. ; is to disable this feature.
    . Z8 f/ J  [7 I* ?: V- m# o
  323. ; http://php.net/ignore-user-abort) @6 [5 d2 [# U( k
  324. ;ignore_user_abort = On
    ! Q+ j1 g( t( ~$ Q& l7 \
  325. 9 @/ b8 m1 y7 b* n* u2 }
  326. ; Determines the size of the realpath cache to be used by PHP. This value should. y# M) W" P  q& Y& r
  327. ; be increased on systems where PHP opens many files to reflect the quantity of. x+ a% M/ `( p' n
  328. ; the file operations performed.% B) a; h* @( y5 n4 z% w: a1 ]
  329. ; http://php.net/realpath-cache-size
    % \$ t/ n, t% X" R  P* C5 p
  330. ;realpath_cache_size = 16k! F0 r, Z0 ^% J

  331. * r  q- U3 ^2 h8 v( L" ]
  332. ; Duration of time, in seconds for which to cache realpath information for a given7 Y8 o# k) S" t1 X
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    % F# d- ~  @* M" V. e, ?) {
  334. ; value.& _' F0 z8 j2 e. q. K$ }
  335. ; http://php.net/realpath-cache-ttl
    " f+ o  C# T: s% u1 ~; y
  336. ;realpath_cache_ttl = 1205 A" X! a1 K  A% a
  337. ( w  I' O! U5 [+ f- m
  338. ; Enables or disables the circular reference collector.
    # N0 A6 a' D( r8 t$ d4 X
  339. ; http://php.net/zend.enable-gc
    ; u% \& u% D" U
  340. zend.enable_gc = On% F" @# k- S1 X3 l! M9 G' E

  341. ( F- p4 p+ d, j; }- q" i6 g
  342. ; If enabled, scripts may be written in encodings that are incompatible with$ M& p( X/ i( D5 U
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ' u1 z" j. T& z' R
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    3 E6 O1 E2 [% K! E( q. a) @
  345. ; Default: Off
    5 [2 y- l3 Z1 X7 t/ G
  346. ;zend.multibyte = Off$ {7 D0 d$ C5 n# C. K% I$ |

  347. + u) p$ _/ e# k/ {; \2 ~% d; @
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    # C+ s2 |# j% x4 ]) U, |& \! N' B
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    $ r/ w0 }+ e3 i1 Q
  350. ; Only affects if zend.multibyte is set.
    $ I& n+ d" r1 I$ ~6 x$ X
  351. ; Default: ""0 E  R6 s/ \: Q: P& B& Y8 a
  352. ;zend.script_encoding =& h6 Y3 Z2 `, Y4 T

  353. : ?/ u7 ^, a3 z+ f7 ~, h
  354. ;;;;;;;;;;;;;;;;;* x4 v! m6 f* ^8 O1 @
  355. ; Miscellaneous ;
    0 D' e  f0 W, y" i
  356. ;;;;;;;;;;;;;;;;;
    0 C, U5 Z5 Y! s8 J$ l

  357. ; C% l5 B+ T/ y) H4 z
  358. ; Decides whether PHP may expose the fact that it is installed on the server3 A, V6 o: ?& _4 m: t
  359. ; (e.g. by adding its signature to the Web server header).  It is no security2 J, W8 Q0 U( N8 ~4 b
  360. ; threat in any way, but it makes it possible to determine whether you use PHP8 f% L  S! B2 `% l( g' ]
  361. ; on your server or not.
    . {( w; w" j) [8 X: @0 H  }
  362. ; http://php.net/expose-php
    * m- g" M9 {; W, o1 Q7 q
  363. expose_php = On: _+ [8 p. ?: u9 J3 ]% E
  364. # m+ W8 T  Y" v5 b7 G
  365. ;;;;;;;;;;;;;;;;;;;8 C" P. g6 _" ?! b3 ?7 l2 @
  366. ; Resource Limits ;
    $ \! F9 l$ O# M) S0 \
  367. ;;;;;;;;;;;;;;;;;;;
    % P6 d! |& Q! l' t+ m. g
  368. & U, V: v* g7 C7 I- A
  369. ; Maximum execution time of each script, in seconds' k4 c) n' g8 B$ S2 k0 ]) D3 u
  370. ; http://php.net/max-execution-time
    7 a5 {0 Z9 ?( [1 m" I
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI2 K9 d) r8 S9 o
  372. max_execution_time = 300  J: {7 v; {) a' u
  373. 5 U6 l/ {! M" G/ s
  374. ; Maximum amount of time each script may spend parsing request data. It's a good4 {2 D# ]: S4 E
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly2 n  g- r  Y. k) ]
  376. ; long running scripts.
    ( l8 |' y# @3 m5 J
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    / W! e/ w, \2 n
  378. ; Default Value: -1 (Unlimited)7 m- a1 G1 d; [* i9 t8 {: y. p% q
  379. ; Development Value: 60 (60 seconds)
    1 w8 {% o# m* ^6 q4 e* R! g8 F
  380. ; Production Value: 60 (60 seconds)2 v$ L5 k9 E# w: ~
  381. ; http://php.net/max-input-time  k$ Y6 h. M5 V
  382. max_input_time = 60
    # ]& [+ o9 o% v* M9 e, G
  383. : X4 s; J* o$ \. N6 i
  384. ; Maximum input variable nesting level
    " H1 ?( J/ |, s7 G
  385. ; http://php.net/max-input-nesting-level( ~9 S4 p, c3 i! n# n2 l# t7 Z
  386. ;max_input_nesting_level = 64. a  f) V3 @9 ~- p, w
  387. % V# j- M3 ?6 R0 [) t' p2 R/ T
  388. ; How many GET/POST/COOKIE input variables may be accepted: H+ A- w. I! X+ @+ t" ]
  389. ; max_input_vars = 10009 G1 o& r0 {" H

  390. * x$ Y( M& j- a
  391. ; Maximum amount of memory a script may consume (128MB)
    8 Y' T1 p5 I( u3 L$ A, m5 P6 \
  392. ; http://php.net/memory-limit  |8 c- u+ E7 L+ g8 O
  393. memory_limit = 128M
    ! M3 H4 _  h' t7 H& o# g

  394. ) g7 ?9 H( Z5 A
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 f, h1 _) X: z) u% m
  396. ; Error handling and logging ;; ]6 x0 o: E8 L7 j
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    " P! `9 c- v- \9 d* o- h8 c
  398. + L3 P4 r5 Z7 W% h  E# _
  399. ; This directive informs PHP of which errors, warnings and notices you would like2 k2 z9 }! s0 ~6 n' t
  400. ; it to take action for. The recommended way of setting values for this+ M) C& `1 B- j$ k. c
  401. ; directive is through the use of the error level constants and bitwise" {4 ~  r, s( Q. E, T5 r
  402. ; operators. The error level constants are below here for convenience as well as' Z/ `4 E& C: ]* B% k% T% U$ W8 p; m
  403. ; some common settings and their meanings.1 d2 O& C- T2 C' i8 b
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT, G( S' [. j9 p( ]% w
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ' h* |" s- H* w& w# W3 E) c
  406. ; recommended coding standards in PHP. For performance reasons, this is the) X9 U! \, L$ g6 G
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    3 N6 Y* ^* Z  ~1 Z( h% C2 o/ s. W
  408. ; resources complaining about best practices and coding standards. That's what
    0 }, ?( i; u/ F9 _
  409. ; development servers and development settings are for.0 W4 M, }  u: x9 R1 ^7 R
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ' ~- q, N5 s9 c
  411. ; means it pretty much reports everything which is exactly what you want during
    3 k. E& s8 i6 N* `3 p( ^
  412. ; development and early testing.
    " @$ d3 f1 A7 E( s4 H
  413. ;
    7 D) P7 ~0 N( S: ?# D5 c
  414. ; Error Level Constants:3 D1 _- v) I. F$ |
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)8 d% ]" N5 X! v2 n( ?( g$ o
  416. ; E_ERROR           - fatal run-time errors
    4 h. Q* D7 V( {7 Y  p. E
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ) {, F! W9 j: D3 y2 q) v% i
  418. ; E_WARNING         - run-time warnings (non-fatal errors)% c3 V+ W+ V. l0 I0 @
  419. ; E_PARSE           - compile-time parse errors( Y- c+ o" k- I: l& D) f) j5 r
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    : r/ U0 q6 w' ]6 q3 P$ l3 M
  421. ;                     from a bug in your code, but it's possible that it was
    * Q8 C4 N& j7 r& e
  422. ;                     intentional (e.g., using an uninitialized variable and+ v( I" `4 F1 Z4 d
  423. ;                     relying on the fact it is automatically initialized to an3 d* b, D$ l: @; `7 _0 P2 f& f
  424. ;                     empty string)* j+ R% ?2 Q- C+ w
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    $ y5 D9 Y* H# N5 ~6 Y2 Z' z
  426. ;                     to your code which will ensure the best interoperability' {0 z9 _, C* f/ e2 \! [
  427. ;                     and forward compatibility of your code
      t( F: Q' j) m
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ( h- i9 L: |( |. a4 c' F
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's' ?$ K' v( b5 s0 `) q) T6 W7 q
  430. ;                     initial startup
    6 C3 U6 h  n* Z$ s: p# C
  431. ; E_COMPILE_ERROR   - fatal compile-time errors+ X0 u& B* \* F
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)0 r7 B1 a. V* \6 A; v) m
  433. ; E_USER_ERROR      - user-generated error message- l" U$ C; Y* f8 U5 [
  434. ; E_USER_WARNING    - user-generated warning message1 J: V, R& U- Y
  435. ; E_USER_NOTICE     - user-generated notice message" u- W7 K3 @! l8 `$ n  e. t0 T: u
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    : A4 y7 E/ [  b4 ^  r
  437. ;                     of PHP
    + M1 K! j- g! f
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings# L1 L( g* ]+ G! T) L( p' @8 o
  439. ;' ?/ U3 k. h7 p2 h, R) h
  440. ; Common Values:$ J+ m& ^( d" j" B6 `) m0 Z7 j
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)0 R- q. B0 X7 j6 t
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)/ M" _+ m# |0 m- k# C9 S
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)3 n8 V8 H4 v+ W/ a
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors). l4 h. T/ u% J4 a' o6 T
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED6 T. r' y% j, M  F+ I' }
  446. ; Development Value: E_ALL
    , }8 K9 k( H$ {0 \3 `" F
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT% ]$ `$ p; L/ E" ~  A% l' k( j
  448. ; http://php.net/error-reporting- l; U) U2 W5 Y5 V$ J# N3 f
  449. error_reporting = E_ALL & ~E_NOTICE
    4 |1 J; T* [5 r/ W

  450. 6 ?3 d" F: v8 t/ x: W6 _
  451. ; This directive controls whether or not and where PHP will output errors,
    . a$ v; e/ V4 U3 K5 K2 G$ q4 Q
  452. ; notices and warnings too. Error output is very useful during development, but  I& q9 M0 F4 K+ B. g
  453. ; it could be very dangerous in production environments. Depending on the code& z, @8 p6 S6 C) i/ s2 \& E3 E( f
  454. ; which is triggering the error, sensitive information could potentially leak
    & p  e- ]; ]8 T9 |' a, t8 |  r
  455. ; out of your application such as database usernames and passwords or worse.# b; O+ ~8 p* m) G3 l2 r1 R, l
  456. ; For production environments, we recommend logging errors rather than
    7 h) T% V+ P9 H
  457. ; sending them to STDOUT.
    " [/ I: b1 ?+ e- ?4 H( C9 h8 M
  458. ; Possible Values:' K( D9 D" _6 y
  459. ;   Off = Do not display any errors
    % x/ r* b1 c7 B7 l9 `
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ' E# r' P1 }. a6 E
  461. ;   On or stdout = Display errors to STDOUT
    2 }' H3 \6 a# T# m. M+ l
  462. ; Default Value: On) X2 V4 i5 }* e
  463. ; Development Value: On
    ) x8 N  z3 s6 u/ s6 X1 M
  464. ; Production Value: Off
    3 }, V$ b: m1 F3 o2 R* W
  465. ; http://php.net/display-errors- z! v% ^3 w; z3 f9 ~
  466. display_errors = On) T1 G* o. W4 ~7 W. j

  467. ' e5 L" x& y* }$ o2 W
  468. ; The display of errors which occur during PHP's startup sequence are handled
      E" d: P* d4 C9 o6 i& {
  469. ; separately from display_errors. PHP's default behavior is to suppress those! I, ~' I9 {) g" B: }* F8 O
  470. ; errors from clients. Turning the display of startup errors on can be useful in
      K8 Q7 r/ c" f, U- r( N! A
  471. ; debugging configuration problems. We strongly recommend you+ c2 J; T/ \, L
  472. ; set this to 'off' for production servers., w% B& e; |2 J# T7 Y4 k
  473. ; Default Value: Off
    % B, O$ _; x# r1 l( l* w# ~4 G( _
  474. ; Development Value: On- B  ~: `4 K$ A) _8 ]1 q
  475. ; Production Value: Off
    1 z$ X# t; p& j8 L! e: s
  476. ; http://php.net/display-startup-errors
    ' Q* O! r8 [! g% `4 x
  477. display_startup_errors = Off6 b! s3 t* B9 g! w
  478. # W; t: y( L; f2 b* R9 U: F) h3 ^; U
  479. ; Besides displaying errors, PHP can also log errors to locations such as a( J# P8 j8 D( D3 C+ y4 H0 ]. [
  480. ; server-specific log, STDERR, or a location specified by the error_log
    , L( F: {: p9 [+ B4 d  c% T
  481. ; directive found below. While errors should not be displayed on productions9 V; @, K7 B( [0 w' Q" c  W9 A
  482. ; servers they should still be monitored and logging is a great way to do that.
    ; N- k# H/ N- e% L! F4 x
  483. ; Default Value: Off
    : f8 o( M9 m$ J$ H
  484. ; Development Value: On
    - D7 L0 j2 c# o' E$ L5 u8 F3 |; Y
  485. ; Production Value: On! v. Y1 N4 ?. O/ l
  486. ; http://php.net/log-errors
    ( {0 g1 K' V8 |! a, k. B
  487. log_errors = On2 U/ [& W2 a. \8 ]" I' J0 q5 X2 z" T
  488. ) @  U; b/ A8 ^, }. I
  489. ; Set maximum length of log_errors. In error_log information about the source is
    ( }5 p1 ?- N* l$ s8 p0 L
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    $ T9 ^1 C  U; r( R
  491. ; http://php.net/log-errors-max-len
    8 d) |- t- o! Y4 q; E& Y+ t
  492. log_errors_max_len = 1024
    & Q+ ], q+ F3 ~, M, g$ ^
  493. 1 ~% }$ R( `5 l6 L% x. p% @" {
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    2 h4 t# U2 p) \4 S* y
  495. ; line unless ignore_repeated_source is set true.2 J+ {' R( g! p
  496. ; http://php.net/ignore-repeated-errors
    ! ]: P/ t) c' [. A" D
  497. ignore_repeated_errors = Off
    ) K# p) {3 }7 i8 Z+ n# J- @

  498. ( p& i9 T* V' Q
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    4 M$ t9 J0 d/ F- e
  500. ; is On you will not log errors with repeated messages from different files or
    3 x9 g9 g: L5 x* j& S# Q: R4 C+ W
  501. ; source lines.
    3 w/ O( T1 P' v0 V% a0 {* D, O
  502. ; http://php.net/ignore-repeated-source
    . F5 U/ T# _3 h# O1 T6 X* Y
  503. ignore_repeated_source = Off
    7 p3 {' h. R& E# E2 F1 Z$ Z

  504. + F% ]. Z# o+ B; K
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    " R. j9 U: W( I$ q5 P
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    8 s  e/ ]2 a' ~# z
  507. ; error reporting includes E_WARNING in the allowed list& k  s/ w/ P3 {  b/ V, t
  508. ; http://php.net/report-memleaks
    & p+ O/ p1 _# J4 a8 L% g
  509. report_memleaks = On
    0 m2 \# C# V" P# X0 F3 p
  510. * c3 {+ T% L3 [& S. O; P  ~
  511. ; This setting is on by default.$ K: r( ^, j7 R( B  Q" R, ~
  512. ;report_zend_debug = 0% F" m/ o' x: B

  513. : J' f/ l# h8 e7 F
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ; f  k" R& ]0 |  _
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    - {* f2 n- z  {# d
  516. ; however be disabled on production servers.
    ' {9 H0 l! j. Q% u% @" m' `
  517. ; Default Value: Off0 t* t4 D5 @# i; y+ a
  518. ; Development Value: On
    - M  F% F: E1 u$ z' Y% K; u
  519. ; Production Value: Off
    . n/ z* t7 _# }
  520. ; http://php.net/track-errors
    3 f( |1 H( D! T: `1 E' D( k9 L
  521. track_errors = Off2 E+ r! z2 \5 D% Q+ G& b3 X
  522. ' n8 |6 \% n/ o/ }! }5 D3 j
  523. ; Turn off normal error reporting and emit XML-RPC error XML: R# x+ q/ j( y, `
  524. ; http://php.net/xmlrpc-errors
    ; \2 V) A1 T/ R" O2 u- |
  525. ;xmlrpc_errors = 0
    6 D" T2 }+ L1 F' W

  526. % B+ R# o8 F' C( E$ s9 C5 C& L
  527. ; An XML-RPC faultCode
    # H* E# [* w" n8 v
  528. ;xmlrpc_error_number = 0; U6 R; K, _# @, I, E% b5 ]  d8 p
  529. ' |  G  ]( N4 B
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    2 T& w) j* B! K8 i' X8 n
  531. ; error message as HTML for easier reading. This directive controls whether
      Q& `2 e% W! a/ F# d! ~: J6 F
  532. ; the error message is formatted as HTML or not.- e) `; B- b7 I9 X, X) K
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    $ A7 O# ?, n: q/ ~1 r1 E# \
  534. ; Default Value: On, U- H; Q/ M* R# L: C
  535. ; Development Value: On
    6 H0 B1 d! K8 a& y% L
  536. ; Production value: On
      p9 ?" z. D+ L% c6 f! _
  537. ; http://php.net/html-errors" J# F8 h7 R  t
  538. html_errors = On! L, _/ b' }$ r7 [2 Q+ \) @! g9 `
  539. : c% [6 j& ?  B) o4 t5 ]" d
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP. M6 \' |5 W9 Q
  541. ; produces clickable error messages that direct to a page describing the error' a9 W! l% E6 o$ H8 g) ?* W
  542. ; or function causing the error in detail.) u( o/ z- M- u6 \' j: P
  543. ; You can download a copy of the PHP manual from http://php.net/docs4 W9 f( u! p3 [/ U* I8 a
  544. ; and change docref_root to the base URL of your local copy including the4 Z. Q% g8 R% P- _
  545. ; leading '/'. You must also specify the file extension being used including- n0 ]# d  o5 u2 {2 |# z- x
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    $ y% i2 G1 s2 m* v% E7 L; M0 H
  547. ; case no links to documentation are generated.
    * u9 Z" w5 d" q" c- X" I3 q
  548. ; Note: Never use this feature for production boxes.
    / K2 w! n3 k8 W4 L" i( g  O
  549. ; http://php.net/docref-root. k9 n6 \! Y  j' t
  550. ; Examples
    * x# P5 e  u# h& n. ^" X
  551. ;docref_root = "/phpmanual/"
    * U, g2 |; g8 h) G& p/ Y

  552. $ d+ A2 k2 S1 ~' s
  553. ; http://php.net/docref-ext! e2 ]% f8 k) E; x  Q
  554. ;docref_ext = .html' S$ l' w8 R+ E3 t  e: o0 |

  555. & B. ~" U9 P7 ?% X
  556. ; String to output before an error message. PHP's default behavior is to leave
    - h' X. @( V+ [4 E
  557. ; this setting blank.
    " r, E" u; k3 l
  558. ; http://php.net/error-prepend-string5 {+ p% }( [3 T; L$ Q. n4 s  D
  559. ; Example:
    / A+ q7 {2 S/ `) I7 k
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    : B' r: x1 A8 Q' H$ x: s! h) Z- Z
  561. : @0 O2 D/ `7 X' G9 {8 P
  562. ; String to output after an error message. PHP's default behavior is to leave
    $ k5 t2 q; l: I' J
  563. ; this setting blank.
    2 Y1 I+ j& E7 N' o
  564. ; http://php.net/error-append-string" X- P' T; t# y" j
  565. ; Example:' N0 \' ~+ i5 k9 M$ T1 R
  566. ;error_append_string = "</span>"# M; G" J; f* i- c
  567. $ O& G  f* ^! ]6 L
  568. ; Log errors to specified file. PHP's default behavior is to leave this value8 E- h' j8 M* a6 K% W/ e
  569. ; empty.
    0 E, I9 e+ ]2 b7 v- n# j. v
  570. ; http://php.net/error-log& ?  `6 M+ }1 b! p* b
  571. ; Example:
      W0 `+ S7 b. I6 {& D- A
  572. ;error_log = php_errors.log! d1 |0 h0 ?2 [+ Q5 c& c/ |
  573. ; Log errors to syslog (Event Log on Windows).: j5 z( `. E+ [; p$ c
  574. ;error_log = syslog# M7 B3 B6 U/ L/ H3 e
  575. $ w4 m0 P! A' I2 S+ [) E
  576. ;windows.show_crt_warning' k# u0 Q3 w, v0 p2 s
  577. ; Default value: 0
    : e! d" ?) ~7 L1 J1 b3 b0 h) a
  578. ; Development value: 0
      T; D: H. Y# [$ J4 z$ e9 ]2 L
  579. ; Production value: 0
    1 G9 q6 {& b" E. t: j4 q. |; Q: }) k
  580. % h, D: F5 G3 l/ i+ E
  581. ;;;;;;;;;;;;;;;;;
    3 Y9 i, ]2 ~' f" `# A! I/ }
  582. ; Data Handling ;
      x& D+ C1 O* o3 l- K
  583. ;;;;;;;;;;;;;;;;;" a* f6 L4 b( E, A; b1 \

  584. ) W. s  `0 ^2 K- P
  585. ; The separator used in PHP generated URLs to separate arguments." K/ `" K6 R5 P$ H, p. k
  586. ; PHP's default setting is "&".. O) @0 S* W# v7 k' `( Q
  587. ; http://php.net/arg-separator.output) `$ }  _0 S( G# l
  588. ; Example:
    # ^" w- M0 c0 x( \; w) ?
  589. ;arg_separator.output = "&amp;"$ c' K3 i1 l- t3 y' o8 i2 |
  590. " z7 ^- X$ m2 i1 z3 ~# X1 X0 h
  591. ; List of separator(s) used by PHP to parse input URLs into variables./ N4 z, V+ G' v. i* K
  592. ; PHP's default setting is "&".
    7 w3 Q; z. I6 X/ ~
  593. ; NOTE: Every character in this directive is considered as separator!8 u" G$ `2 o+ |* e9 q3 m! X2 M
  594. ; http://php.net/arg-separator.input
    / J& `- i) {% e8 B6 [/ S  b
  595. ; Example:+ N, ]3 ~7 _3 v
  596. ;arg_separator.input = ";&": F/ q8 }: k0 l4 o1 s! F

  597. 2 D7 z- y  e. X/ w7 c
  598. ; This directive determines which super global arrays are registered when PHP
    " P, F1 A$ W4 v0 f
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super( _; K+ A3 i  G/ f" `& \1 }
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty6 C- b9 K" |% _( U% U+ [
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    1 N* r- I# [" L' B6 l8 O
  602. ; used as the others, ENV is not recommended on productions servers. You
    $ C) g" H) J2 b2 j) N
  603. ; can still get access to the environment variables through getenv() should you# Y/ {1 }+ m, r9 N3 T/ \; G
  604. ; need to." E/ z8 Z! M6 g: }5 {9 ?3 A% d$ u
  605. ; Default Value: "EGPCS"
    6 `$ V+ _7 Z5 C9 y
  606. ; Development Value: "GPCS"
    3 _- s: g1 c* H3 a
  607. ; Production Value: "GPCS";; l/ z4 W/ l8 C( P
  608. ; http://php.net/variables-order
    & v* w1 f$ P8 h) Q2 _
  609. variables_order = "GPCS") n  A) e5 a; k8 b3 t# K& v1 U( ~
  610. / S  {8 d$ B; r. s9 i
  611. ; This directive determines which super global data (G,P & C) should be' I- t1 x0 `% o2 s7 [3 j# f
  612. ; registered into the super global array REQUEST. If so, it also determines$ Z$ X5 H# h1 u0 {; r
  613. ; the order in which that data is registered. The values for this directive
    & a* Y# H* e; w
  614. ; are specified in the same manner as the variables_order directive,
    , V# [' z& t( f5 j! W/ d9 P3 {
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    # a! G  }0 Y* B1 k5 P7 y# a0 b
  616. ; in the variables_order directive. It does not mean it will leave the super, \& g1 u% d# N
  617. ; globals array REQUEST empty.- I: d) c/ [8 N! W1 _3 H; u
  618. ; Default Value: None6 O! l2 A9 E! x' b5 Z) @
  619. ; Development Value: "GP"
    ; G- C' _& }6 y0 [6 d5 ~2 q
  620. ; Production Value: "GP"& h/ X, X  W2 A. y# K8 M
  621. ; http://php.net/request-order  M/ {8 j) J1 ]$ Y9 E0 Y
  622. request_order = "GP") g, v8 J3 F9 \  X( |

  623. " c, o  w7 s! Y# O) x0 k
  624. ; This directive determines whether PHP registers $argv & $argc each time it4 ]' o& k  |* l) {
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    7 B; ^! X4 w. k# v5 Z  G
  626. ; is invoked. $argc contains an integer representing the number of arguments' |0 O2 A7 T( u+ T. D+ |* I
  627. ; that were passed when the script was invoked. These arrays are extremely
    7 s7 |  F* r7 x& i
  628. ; useful when running scripts from the command line. When this directive is% W+ r0 \$ O7 s# h
  629. ; enabled, registering these variables consumes CPU cycles and memory each time2 |/ j# p1 K) G! t
  630. ; a script is executed. For performance reasons, this feature should be disabled7 T2 ^6 F6 ~3 b
  631. ; on production servers.
    / Y! h/ I, m2 J( P7 S
  632. ; Note: This directive is hardcoded to On for the CLI SAPI" L0 q0 W1 O' ~1 ~2 M9 M
  633. ; Default Value: On- }/ k8 q! j5 l1 |, z: h
  634. ; Development Value: Off
    # d4 M3 E  K2 X- x1 L/ f2 Z
  635. ; Production Value: Off0 J0 P) V$ I! l3 m, E+ g
  636. ; http://php.net/register-argc-argv
    % t- {! y' K3 r* |* d/ P
  637. register_argc_argv = Off
    % r$ H3 V, i5 \) n1 L
  638. 9 d% U* B% N. R) m( l0 h- c7 j7 d. {
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're3 d0 d+ B% p6 f4 |- R2 ^
  640. ; first used (Just In Time) instead of when the script starts. If these2 X0 y* i3 S% Z! ~% u2 F5 @
  641. ; variables are not used within a script, having this directive on will result0 r; O5 M3 O1 d) ]- y
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
      A/ Z. H" A+ Z, S& i& v9 j
  643. ; for this directive to have any affect.
    3 R+ ~. e% P7 v- R: u
  644. ; http://php.net/auto-globals-jit; P0 z4 c( K" G# v( q6 o
  645. auto_globals_jit = On% r5 `, Z: j' o& l4 i& i/ p

  646. : c; j# K4 `, v* t& A0 C
  647. ; Whether PHP will read the POST data.6 `7 F7 f9 y0 m9 K6 W7 t
  648. ; This option is enabled by default.- X+ }7 `& G8 l- n% X- E# S4 l
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST+ }& Z* e8 I0 t3 P
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ! F* s: Q( K. }- ~/ ]) F
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ( u# H2 {/ b& w+ P! j% x4 |& v% J
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.( C% B2 z* J2 u3 N9 J
  653. ; http://php.net/enable-post-data-reading
    & a# K/ y/ Y" W" i" s8 G  [
  654. ;enable_post_data_reading = Off
    - {; m  g9 ?) @! v

  655. ' H& i: o  A/ n& M9 o
  656. ; Maximum size of POST data that PHP will accept.! W3 H% K6 ~* s8 d# u
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading! [  [: s4 q$ Y
  658. ; is disabled through enable_post_data_reading.( L7 R; M3 V7 ^  r# R' w
  659. ; http://php.net/post-max-size5 g$ f  H: b0 e$ F
  660. post_max_size = 50M
    ' o3 g' z& G6 \
  661. 7 f. h6 K9 G6 g* o( L/ ^0 Z
  662. ; Automatically add files before PHP document.
    / `9 c# N2 S# `, R; M1 h
  663. ; http://php.net/auto-prepend-file
    7 f" ^$ i% `6 A$ @' [
  664. auto_prepend_file =
    0 B: S7 k( Z. r0 ]6 C
  665. 6 o& t0 x' f+ t+ w  n1 Y9 {1 B1 A
  666. ; Automatically add files after PHP document.
    . n& W& c8 z. h8 u/ N5 N
  667. ; http://php.net/auto-append-file4 t  P: Y: ~0 O- N1 M. B
  668. auto_append_file =" A0 P# {0 G; d6 C  w" ]( w

  669. + ?) u3 [, v# N
  670. ; By default, PHP will output a media type using the Content-Type header. To
    * R& ~0 \3 _$ q; z/ z9 Q: J! @
  671. ; disable this, simply set it to be empty./ t: }. z+ y1 l2 F
  672. ;
    ; A+ |/ F$ u* _1 X9 d( f6 c( A5 V
  673. ; PHP's built-in default media type is set to text/html.
    8 j( @# U5 i" z  Y( o
  674. ; http://php.net/default-mimetype  E/ E- X0 T( w& `+ x. Z- ~# t
  675. default_mimetype = "text/html"
    : w6 D& u* A5 X7 K
  676. : ]$ {/ j4 r$ [5 t5 o
  677. ; PHP's default character set is set to UTF-8.8 F# g; d( [& U# V( ]
  678. ; http://php.net/default-charset
    . e* `. s* `4 X* M9 g
  679. default_charset = "UTF-8"
    ) r+ [$ A  d$ c" |

  680. , v: l4 a) F* `& e% ]' `$ g
  681. ; PHP internal character encoding is set to empty.
    " m& C0 V7 m- E
  682. ; If empty, default_charset is used." }( ?/ z# k# a: V  K6 L
  683. ; http://php.net/internal-encoding
    $ ^8 t: M+ I. g& A, k
  684. ;internal_encoding =  a7 w8 S6 q/ N' p: [" t0 o
  685. ! V* X3 L" @+ D# R! e) r
  686. ; PHP input character encoding is set to empty.7 V8 A7 {$ \: k
  687. ; If empty, default_charset is used.( |- g; ~3 Q6 J  A: s, i( ~
  688. ; http://php.net/input-encoding7 a5 ]/ z0 ?4 J! i7 Z
  689. ;input_encoding =7 N9 R8 r# L4 B$ E

  690. / B4 o3 ~/ }' }7 u( W" P5 Y5 c4 G" s
  691. ; PHP output character encoding is set to empty.0 s# v' h0 j  V
  692. ; If empty, default_charset is used.% H( n: K5 s7 a8 T# V+ M: p
  693. ; See also output_buffer.  }, {$ h8 K+ q! ]7 \7 n
  694. ; http://php.net/output-encoding
    " ?& g9 [) Q% D0 v2 n
  695. ;output_encoding =4 z8 I8 N3 B8 L8 y( Z
  696. . g( t9 U6 y$ S" {. o
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ( e7 b) W, O8 T8 A3 i0 ]
  698. ; to disable this feature and it will be removed in a future version.
      _: y7 e) C" o6 w
  699. ; If post reading is disabled through enable_post_data_reading,0 j% C+ ^2 Z3 K
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    / M- w' P1 W: g( v. G2 u
  701. ; http://php.net/always-populate-raw-post-data, X3 e) `6 P( z; Z
  702. ;always_populate_raw_post_data = -1
    " L/ v) t6 s8 f# ~
  703. 0 s: @, |% q  n
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    + e; V- P6 u4 A
  705. ; Paths and Directories ;& u! x5 y7 D- ]. s; w
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;! l$ c: o- l( i8 l1 T+ _2 {/ Y0 H

  707. % [( Q! \; v) r
  708. ; UNIX: "/path1:/path2"
    7 X. C. y0 F- @: X$ [
  709. ;include_path = ".:/php/includes"2 x4 b4 K; R' }% @
  710. ;$ ]$ m( W& G' T% h4 H, g/ b7 E
  711. ; Windows: "\path1;\path2"( M) G$ P, u+ [) F
  712. ;include_path = ".;c:\php\includes"
    + ~. r& t7 ^9 r9 Q3 T
  713. ;: r! G: M6 U& ^' b+ S& A
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"* X" [7 o- c8 j9 s
  715. ; http://php.net/include-path, Z4 q, |" j) Q+ y

  716. % L. c% P; e# y$ z7 _
  717. ; The root of the PHP pages, used only if nonempty.  Q' v; g4 `7 x: o/ _* s
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ' Y7 L. w' X9 V& D6 C/ M9 N0 `' a
  719. ; if you are running php as a CGI under any web server (other than IIS)
    - S- @5 N: j- I6 R
  720. ; see documentation for security issues.  The alternate is to use the3 ^$ @0 J! o2 N, ]+ F
  721. ; cgi.force_redirect configuration below
    $ n: ^+ g+ l8 b' T
  722. ; http://php.net/doc-root
    ! ?& }+ K. |, s' R/ B
  723. doc_root =# U6 a) `& c- l& Q4 b

  724. ( `4 ?/ |. U9 f9 F2 P  ?6 ]
  725. ; The directory under which PHP opens the script using /~username used only
    7 i: D1 m0 W, _: M6 a8 A
  726. ; if nonempty.1 l+ Q, ~( V% @. s9 s
  727. ; http://php.net/user-dir
    - k1 p& |9 l8 F
  728. user_dir =7 s2 W; C; b+ ^# k. w
  729.   g5 L& o, ?  l" Z8 m4 X. k: k
  730. ; Directory in which the loadable extensions (modules) reside.  a0 a& r% q5 d& H* {+ U1 l: [  p
  731. ; http://php.net/extension-dir
    . g5 H; H3 c9 \; Y' I& V9 ]
  732. ; extension_dir = "./"
    1 w. L$ h. J- Y/ u& G! q0 X" O) R
  733. ; On windows:
    $ O  g# b) n9 T
  734. ; extension_dir = "ext"' H& B: X2 L' E8 T: t
  735. % q& m) W6 K9 J3 `+ E
  736. ; Directory where the temporary files should be placed.* J6 b+ v8 x' M
  737. ; Defaults to the system default (see sys_get_temp_dir)# ^& D- w# {0 L0 B/ s
  738. ; sys_temp_dir = "/tmp"0 c% R7 c3 L) t( Z7 r0 ~1 v
  739. 6 Y. w3 {2 y5 A8 X
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    - f8 X: u$ z( _+ x
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ( U( {3 R* V: H$ x
  742. ; disabled on them.9 A% U: d+ n  Y1 U: X: @
  743. ; http://php.net/enable-dl
    3 [. X% [. G! r  l  s* ~
  744. enable_dl = Off
    8 t7 m0 G+ ]/ S) u- L

  745. 2 H, \2 ?$ S$ C: A" o
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under' f- J& Y# B2 K' B. o$ `0 ~% Y
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can+ d. a5 Q% R& f  o& N6 ]
  748. ; turn it off here AT YOUR OWN RISK7 Y  L; F# C1 \8 `/ `
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    6 `$ a+ |8 S6 H* ?  a. Q# f
  750. ; http://php.net/cgi.force-redirect
    5 g/ c5 K! s& j; f# P
  751. ;cgi.force_redirect = 1
    6 I: B$ K" c% J* c

  752. 3 `" O$ M+ Y( }  {# `
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    1 M# Z# A9 [3 N; w
  754. ; every request. PHP's default behavior is to disable this feature./ N4 n! X! d! }( G( b% y
  755. ;cgi.nph = 1
    " B/ V; k4 f8 h3 V1 x2 |

  756. & w! n, Q* t  B6 l% ]
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ; a" y1 F* e5 @( _  c" @- S
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP' Q7 Z7 i/ A% |" m- U* W
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY& ]. k6 V2 q& t) B
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    3 Q; b0 [' Z0 y8 [9 \- ~- w
  761. ; http://php.net/cgi.redirect-status-env2 {- X1 k4 h1 H. H- M# i2 U
  762. ;cgi.redirect_status_env =
    * a$ p& M. B9 u/ f" w. \
  763. $ s4 y! N$ s# K
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's9 p5 X) V) T+ X. \" v
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok1 j1 X$ w5 L6 C9 F+ M, t7 C
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ; @0 n# P6 Y. `. T# }" M
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    & z5 Q# }' O2 O7 _( ^: A: i+ k" q
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts% ]8 l4 Z1 @& I* x6 y$ l0 U8 l! d5 ^
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.& w1 x9 z+ u$ N5 s# S  j
  770. ; http://php.net/cgi.fix-pathinfo( x6 y# }4 w; P- L
  771. cgi.fix_pathinfo=1
    9 Z* I* J; a: p9 Q0 P% J8 Z
  772. - N" e( m/ u3 j0 D+ D0 i0 {
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside& \& k: d0 ^& P; Q
  774. ; of the web tree and people will not be able to circumvent .htaccess security." w) H  v) o6 j/ q3 j6 H
  775. ; http://php.net/cgi.dicard-path
    + @5 w' z, M& S1 Q# S9 [% t' ~/ C
  776. ;cgi.discard_path=1
    4 B" S; H/ o  t" {* U
  777. 1 _( d- T. ?, G, Y$ ^
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ; d' p% T& a/ I' R. W
  779. ; security tokens of the calling client.  This allows IIS to define the
    ; H( ?! `6 n  |& G9 M7 g
  780. ; security context that the request runs under.  mod_fastcgi under Apache' P. `" i. \+ I" G3 n( K
  781. ; does not currently support this feature (03/17/2002)
    8 @1 }; @$ J9 Y* o/ n* f9 l) e/ Q
  782. ; Set to 1 if running under IIS.  Default is zero.
    # I! Q. \! v9 x% w
  783. ; http://php.net/fastcgi.impersonate
    8 W% f5 c! O' M6 @
  784. ;fastcgi.impersonate = 13 i6 \2 G+ N% m- E
  785. ; A- h% P6 F% s1 ^
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable( p0 r% }$ o3 P2 ^+ s+ X: I
  787. ; this feature.
    5 _1 C' \- h6 i$ M7 C* |
  788. ;fastcgi.logging = 0
    ; R1 e# t* N/ k- W% f

  789. . h+ `0 p8 o4 E0 z, Y* b3 R" |% j
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    9 Y& N3 V2 Q0 [3 f; V: C& G
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    6 E. d3 h5 T- A. e, [" ]# f
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    ! F8 k, `* v# M5 N, @6 w& M* B
  793. ; RFC2616 compliant header.$ d4 x: b9 t+ `0 U; p
  794. ; Default is zero.& F8 l; j7 W3 @$ k# l9 S! m+ F; Y! ~
  795. ; http://php.net/cgi.rfc2616-headers, a0 |9 Y/ M, D* N' W- N: W
  796. ;cgi.rfc2616_headers = 02 h& C+ m) Q7 g" R7 h
  797. : X8 f) I, ^, p; f# X' B6 Q- P9 O) v
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ) ~2 ~* o0 N( c3 R, H" ]5 o
  799. ; (shebang) at the top of the running script. This line might be needed if the2 `1 U4 S1 a6 t* T: s' r9 C
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI* Y  Q: H, [" O1 z
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ; c  P6 ^% u- u
  802. ; http://php.net/cgi.check-shebang-line, N* |! e  I7 f. ?0 s* v0 P7 b
  803. ;cgi.check_shebang_line=1
    5 o. V  ^% c+ W% u1 v; K
  804. ! D- ^* C- @* u5 d1 E7 I9 ~9 H
  805. ;;;;;;;;;;;;;;;;+ E) Y4 k3 M* |2 c+ ]1 u% {
  806. ; File Uploads ;
    - x' B7 @% Z2 M5 f' c
  807. ;;;;;;;;;;;;;;;;) i5 i5 B4 \8 D4 V

  808. 7 F7 Z$ ~8 |/ ^. n" m
  809. ; Whether to allow HTTP file uploads.
    4 x8 h8 K5 X) h0 E, M: W
  810. ; http://php.net/file-uploads4 s9 P4 I$ T0 A$ c* g, k+ O
  811. file_uploads = On% w& Y8 W# [0 v4 b+ K) C% l
  812. $ h& a% ]3 g/ U+ V5 s
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    . C7 j/ K& Y0 K# u
  814. ; specified).
    3 W: X& h0 S! ]" X: R* i  M5 n; i
  815. ; http://php.net/upload-tmp-dir
      F+ S: o. F! n+ U/ Q! ^' U
  816. ;upload_tmp_dir =2 m; X, D( ?0 b! k7 U7 c9 [/ b( ]
  817. 0 [3 e1 `2 V1 M: I
  818. ; Maximum allowed size for uploaded files.
    ( M1 n- ^' L6 s9 ~8 C
  819. ; http://php.net/upload-max-filesize
      ^7 T" D& {' O
  820. upload_max_filesize = 50M" p( `  o+ m+ l/ C+ ?- J
  821. 1 `) X0 b  Z% ?
  822. ; Maximum number of files that can be uploaded via a single request
    . A4 K3 P% b( T. {; I& g0 M
  823. max_file_uploads = 20# R+ z* r' ~" r7 L1 y, i* t
  824. ( w5 L, {& g4 z7 s: ~
  825. ;;;;;;;;;;;;;;;;;;+ z2 i) G% P1 a4 g; x$ i
  826. ; Fopen wrappers ;5 [& `# c8 x% M7 l2 Y" `
  827. ;;;;;;;;;;;;;;;;;;+ ~9 ~/ @3 l& g) d

  828. " Y; s4 r4 f3 i  s1 G. R
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.0 @  `$ l4 z2 g  d. G+ m
  830. ; http://php.net/allow-url-fopen
    ; F4 Y* F5 D" j% S( n
  831. allow_url_fopen = On8 V/ m6 E( a+ j7 H; S" ?( c6 f6 o

  832. 0 V& w) B! n0 X* c" a7 y: w( D4 I
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.5 \5 Y! Z2 p7 W: R; X
  834. ; http://php.net/allow-url-include" @; h! Z! P+ I
  835. allow_url_include = Off
    ) B+ N8 J& J0 N3 ~) i1 o2 [2 w

  836. / M9 R6 C# }, D( P
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    . {1 W$ u0 l4 B* v6 M5 _
  838. ; for this is empty.) }6 C0 Z5 b& A' v
  839. ; http://php.net/from$ [1 n/ Y7 O/ {! W5 l- o5 {( M
  840. ;from="john@doe.com"$ K1 O9 e% B$ x1 O4 [

  841. 9 M5 n& @6 E$ S" c- d$ X
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    / C- l4 R) V# d+ C& Z
  843. ; http://php.net/user-agent  q5 V0 ~' L" A0 F8 {# @, y
  844. ;user_agent="PHP"
    + \0 {! S0 H5 f9 a

  845. 9 U2 Q9 r+ i3 h1 R* Z# B
  846. ; Default timeout for socket based streams (seconds)8 z7 u. D, i/ f: ?9 x
  847. ; http://php.net/default-socket-timeout
    3 E. D8 @, F0 {3 i  K  W
  848. default_socket_timeout = 60
    , u* V! t" ^! @; Y; F' Z9 o4 T. d

  849. % E0 }/ Q: r; R
  850. ; If your scripts have to deal with files from Macintosh systems,0 h  I0 f8 I7 c; O0 V  T+ O
  851. ; or you are running on a Mac and need to deal with files from2 }! A6 r! n! c
  852. ; unix or win32 systems, setting this flag will cause PHP to% W0 b" o) j0 R* K- ^6 c
  853. ; automatically detect the EOL character in those files so that8 k7 l2 e2 r$ S; B
  854. ; fgets() and file() will work regardless of the source of the file.0 C+ B# d1 y5 F# F5 E9 t* i
  855. ; http://php.net/auto-detect-line-endings, t& O  J- Q4 c6 d  @' k
  856. ;auto_detect_line_endings = Off8 [1 h3 N& q( R/ R+ P' E
  857. - ^7 S7 G3 B. g/ c
  858. ;;;;;;;;;;;;;;;;;;;;;;
      w& S1 U6 x8 J; }
  859. ; Dynamic Extensions ;
    - @1 m6 k& q: u4 J7 T
  860. ;;;;;;;;;;;;;;;;;;;;;;3 G" n4 @) s, H+ s% ~

  861. 6 y" C) U) ^4 r" U& c7 A$ r
  862. ; If you wish to have an extension loaded automatically, use the following. L( s. {$ S+ k4 s, C. P
  863. ; syntax:
    3 O  k! O, t: V3 p
  864. ;
    % f0 w& ?- [6 }: j7 Y2 f( n& A
  865. ;   extension=modulename.extension4 X7 U( p$ N. O0 h3 I4 ?) r
  866. ;% ]8 h& B) P& D. ]+ }
  867. ; For example, on Windows:
    3 z  B1 B- m: y  }: f, A+ g3 f4 Y: Z
  868. ;" D; S3 {0 x+ Y- S- l) C
  869. ;   extension=msql.dll* ], i' m1 C+ A* A
  870. ;7 G5 z5 R3 c4 `8 h! _: O
  871. ; ... or under UNIX:, k* ~% I; X3 |$ Y, g, A
  872. ;5 K9 o6 y; |' i0 b! A/ c' Z7 ]
  873. ;   extension=msql.so5 N$ `  N" l0 l( c: P
  874. ;0 R  A, [3 u& t$ E$ G& K
  875. ; ... or with a path:% ^" ~* ?4 T5 @+ K
  876. ;
    5 K( {) m- L: A) {( ~) J
  877. ;   extension=/path/to/extension/msql.so
    $ `: D+ _% I0 q$ |! J; i
  878. ;) C% y; [5 t1 J) |. `; w: Z0 e; R
  879. ; If you only provide the name of the extension, PHP will look for it in its) M7 A9 e; s0 N9 Y% S
  880. ; default extension directory.2 f  L: o+ \0 ~. ?3 M
  881. ;
    ; n; W$ c0 z0 A$ {* e/ \, j- t
  882. ; Windows Extensions
    # T$ U# g( `. h
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    4 n% ^- p, S  z3 V1 O3 V
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)4 I" R4 v6 K- [; N# H
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    : N, L5 }7 n) m2 w* W
  886. ; Be sure to appropriately set the extension_dir directive.) N8 }$ H9 ?2 n7 t9 J& w
  887. ;
    5 a7 v! {; R" s, e
  888. ;extension=php_bz2.dll# B5 a; e3 w0 s$ ~4 h* ?3 ~1 \
  889. ;extension=php_curl.dll9 A$ R& m# j( }! s! v8 L0 F/ B
  890. ;extension=php_fileinfo.dll$ F/ t+ t" ]* h4 T+ j. u
  891. ;extension=php_gd2.dll
    $ E/ y$ {& D' X. u4 }
  892. ;extension=php_gettext.dll" X5 A- Q& t2 B# [7 `+ W+ I
  893. ;extension=php_gmp.dll' k5 H' X8 l" V$ Z
  894. ;extension=php_intl.dll
    * _! F+ H# P; ~
  895. ;extension=php_imap.dll
    + a' m( I, l% }1 c/ z
  896. ;extension=php_interbase.dll/ Q1 d3 ]6 p' z  r; H0 F6 `
  897. ;extension=php_ldap.dll7 O( b- x" b! S3 d* b; v0 L" i
  898. ;extension=php_mbstring.dll9 d0 C4 S7 q# I' I% A
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it, l$ b2 Q6 G- I8 I' I1 w9 z- C* m
  900. ;extension=php_mysql.dll3 C: X( o: K% s6 C* u1 T
  901. ;extension=php_mysqli.dll" b5 w( @& S6 Z- u8 U* b
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ( Z4 _# T8 R  C+ E9 L
  903. ;extension=php_openssl.dll
    9 w1 c9 G( e6 u3 h8 O/ y) c0 h3 ?
  904. ;extension=php_pdo_firebird.dll
    $ Z, ^: P$ o* n: Q6 j, S
  905. ;extension=php_pdo_mysql.dll5 n# g$ p# s4 W' b* }
  906. ;extension=php_pdo_oci.dll+ g$ G7 N8 g" s! w- R
  907. ;extension=php_pdo_odbc.dll( n. N$ Q- y% `  D* `6 k9 h% W
  908. ;extension=php_pdo_pgsql.dll
    ; s8 S, {( t* C7 i
  909. ;extension=php_pdo_sqlite.dll# `8 N+ q! U% V4 h
  910. ;extension=php_pgsql.dll7 l( b3 o1 z5 q' z0 P, s4 L
  911. ;extension=php_shmop.dll, v1 A4 Z' t3 L- S) X9 C
  912. . }7 h- U- j* R5 V/ F1 y$ c% g$ E: o
  913. ; The MIBS data available in the PHP distribution must be installed.
    . f2 M3 \0 c3 c
  914. ; See http://www.php.net/manual/en/snmp.installation.php # Q2 R- E7 Z: z3 W& P
  915. ;extension=php_snmp.dll5 p+ ]5 f6 S3 L3 t2 K

  916. , k+ N5 C! d3 @
  917. ;extension=php_soap.dll( V" c( Z  ^% p+ Z
  918. ;extension=php_sockets.dll
    8 a! n1 q  B0 K: a: K
  919. ;extension=php_sqlite3.dll! K; E2 Y- X& P5 ^; V
  920. ;extension=php_sybase_ct.dll5 `/ L0 P& h0 K
  921. ;extension=php_tidy.dll
    5 _$ v7 U! E0 ]) \
  922. ;extension=php_xmlrpc.dll
    . T7 J1 H7 I  [" y5 U8 w
  923. ;extension=php_xsl.dll, h% H8 \4 R# d% S0 t6 n
  924. % p, X4 ]' \* o: _* j' L- n
  925. ;;;;;;;;;;;;;;;;;;;, Q0 @* A3 R! j8 {4 W
  926. ; Module Settings ;* j8 Y7 W( Z, P# ^5 }  G
  927. ;;;;;;;;;;;;;;;;;;;8 f" S) G  c) {* Q" }3 m4 Z
  928. 5 X8 C! p  w5 P2 N
  929. [CLI Server]
    # H% @4 ^. }1 a9 Z
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.  ?% O9 J" T$ F: v* V% k" n
  931. cli_server.color = On
    * a# k2 k) t% x3 l2 g

  932. : z9 h' s4 D, H1 {7 z0 j
  933. [Date]* D8 w- V/ n/ p8 ]; x3 Z
  934. ; Defines the default timezone used by the date functions
    : o* ~/ K# k* R; w' p9 B1 a! {; J
  935. ; http://php.net/date.timezone0 u* I; z% w% y. A! F1 Z  z
  936. date.timezone = PRC0 D. f: f! F# ]2 e* O
  937. / t6 t8 b% X+ ?- f
  938. ; http://php.net/date.default-latitude
    6 }, C' c( O( K. S2 ~1 z
  939. ;date.default_latitude = 31.7667' V% i; g" h7 O( x2 M8 l
  940. 6 J/ H0 S4 `2 R& A. p- `
  941. ; http://php.net/date.default-longitude
    / f) @) V2 T: n; ^5 E7 F- v, g, W
  942. ;date.default_longitude = 35.2333
    . \: y- S  l: l( K: O) b5 n
  943. 5 T- z7 H: q! z* c! [1 y
  944. ; http://php.net/date.sunrise-zenith% B  Y0 V$ S* f0 [% v
  945. ;date.sunrise_zenith = 90.583333
    & Y3 a' s8 ~( r8 J3 n
  946. 8 q: h( d$ j. e8 ]! n- U+ t, U6 N; k
  947. ; http://php.net/date.sunset-zenith
    ! z/ i( _5 j  T  u& h
  948. ;date.sunset_zenith = 90.583333
    , r2 e1 i% ?1 f0 ?4 k( a

  949. ! W$ A, _1 ?6 e3 f1 B0 z' L; q3 G% s
  950. [filter]
    - |2 i% `& D* F+ M; g
  951. ; http://php.net/filter.default
    : D% i- `% v$ u" i3 _
  952. ;filter.default = unsafe_raw7 z1 p- F# m- u( S' ]

  953. / m& R, ?1 K& x: C/ x
  954. ; http://php.net/filter.default-flags7 }6 D5 Y) \. R$ _/ @8 s; S3 w
  955. ;filter.default_flags =9 T" @+ {1 V' Q3 y

  956. / r( y/ _2 T6 d1 H3 n
  957. [iconv]
    9 b  ^# ?# L! p6 W* W
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    , e+ f2 p. k6 M. }
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    3 b% f- M! Y7 @5 K1 i& l
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding2 k' ]- v$ G) q4 @: z% H$ L) ~
  961. ;iconv.input_encoding =1 D& S; m# I9 G7 m& P8 M: U

  962. " F7 e( K' Y3 G4 r4 i0 x
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    & y5 m! b: |: S6 P1 a* x+ G: L6 x
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    9 D3 @5 p% s1 U- n% K6 g" c! @
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) U" m2 q3 J. K# J
  966. ;iconv.internal_encoding =, p3 p9 \& ]3 I& p5 @
  967. 0 j5 T, u* K8 n, c0 W9 k/ ^
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.. |! h8 c/ t9 S- `* f+ M! }
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    # |4 g, A; n3 B3 u/ {0 f+ y
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding) ]( q6 _1 X; K; u* ^; w: }  B8 l
  971. ; To use an output encoding conversion, iconv's output handler must be set
      M9 \* ^% O( d" ^( u1 y$ |
  972. ; otherwise output encoding conversion cannot be performed.5 A% Y; ?" }1 k6 B$ ^. I
  973. ;iconv.output_encoding =
    + |$ s) w. X  g, x5 T. i
  974. . c* ]3 q- A4 I
  975. [intl]) U7 w6 J( W) `, N! Z# z$ \
  976. ;intl.default_locale =( Y, [+ d: r! c, v! @( b$ V
  977. ; This directive allows you to produce PHP errors when some error+ c- K" I0 u3 H% E
  978. ; happens within intl functions. The value is the level of the error produced.. g# m  P/ J( ?4 C
  979. ; Default is 0, which does not produce any errors.
    4 o5 p) O9 ^  J# w1 o
  980. ;intl.error_level = E_WARNING
    " V( v, T" A# D) {5 u% d
  981. ;intl.use_exceptions = 0, C, M9 J1 P( R2 m' Z
  982. 5 i  K7 f6 i8 q  \
  983. [sqlite3]! s7 ]5 x& L7 L# w  K% O
  984. ;sqlite3.extension_dir =
    8 k$ x; A' Y- {; }
  985. 0 |6 ~) i4 Q0 T
  986. [Pcre]: e' U* Y" p6 t% P
  987. ;PCRE library backtracking limit.; a9 `' a+ `# z. |4 m6 N2 i5 o
  988. ; http://php.net/pcre.backtrack-limit
    " ?3 d( Y1 g* h6 o8 H5 g. d
  989. ;pcre.backtrack_limit=100000
    - y5 h2 `& N. J1 L& v
  990. ) ?. v  o; ^8 u$ u9 S
  991. ;PCRE library recursion limit.
    9 y3 q; E, X  w  ?3 w4 s
  992. ;Please note that if you set this value to a high number you may consume all
    8 k/ ^7 I6 r' p* y( s: o
  993. ;the available process stack and eventually crash PHP (due to reaching the
    ) V- x; R4 T. S0 G" p1 |+ t& |
  994. ;stack size limit imposed by the Operating System).
    3 p& x3 ~' i/ T6 A6 R
  995. ; http://php.net/pcre.recursion-limit
    ; L$ H1 {) ~$ b% s! @( K# m: c
  996. ;pcre.recursion_limit=100000
    2 y( G% V4 Q! o3 n' N! Z9 T
  997. * {: J$ u: q7 I: a( k
  998. [Pdo]
    . f0 e# I& `" w
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    / F* q1 c* Q0 n% u+ e( K
  1000. ; http://php.net/pdo-odbc.connection-pooling% `0 r2 G$ G4 ?2 `' C' x% Y; i
  1001. ;pdo_odbc.connection_pooling=strict
    % b  T& }. s2 L3 S9 y' W

  1002. ' [2 p) e5 n* F% T. q' J4 c5 _/ {& U
  1003. ;pdo_odbc.db2_instance_name1 U# f- `" c, J  n8 C( y: P3 W

  1004. * x' r% }6 r$ l4 E* Y, R: N/ i
  1005. [Pdo_mysql]4 R, E. u. n& S
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache. W; g8 V, l: p% O
  1007. ; http://php.net/pdo_mysql.cache_size
    2 S- k: |9 U3 P& f
  1008. pdo_mysql.cache_size = 2000
    ) Y( [5 p" o3 y* m" ?' b0 [9 x

  1009. ' {; M" s7 g0 w- O! Z
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 q$ O- |' U/ P7 |6 d+ \
  1011. ; MySQL defaults." b% C+ }) V7 q" f
  1012. ; http://php.net/pdo_mysql.default-socket4 ?  Y$ f- ?8 `
  1013. pdo_mysql.default_socket=9 N+ x; V1 R: |0 ^
  1014. 9 w1 s- x1 x, q( B# O: G3 g
  1015. [Phar]
    & I7 S5 b  Z0 \4 B' ~
  1016. ; http://php.net/phar.readonly9 ^# |: a2 h, r1 r& C
  1017. ;phar.readonly = On
    : O" P& q7 h& e5 W
  1018. : u% z8 L* J& B& v& o2 Q: |; N
  1019. ; http://php.net/phar.require-hash
    $ q! H6 p: \* `. N$ y
  1020. ;phar.require_hash = On* ?- J9 v- |4 z4 L$ a1 q* ~) R
  1021. 2 D% ~; b! M/ c( m7 _
  1022. ;phar.cache_list =6 Z; P" Y/ [. M% P
  1023. + A9 o6 b+ K+ h0 b! u  e( |7 W
  1024. [mail function]3 z: K& O# G# i* e+ v
  1025. ; For Win32 only.
    , g  }/ \, n7 P6 p; i) D( [
  1026. ; http://php.net/smtp
    8 ~( L% ~* P' k' K
  1027. SMTP = localhost* o' ^$ t3 q* i0 k6 Y) P
  1028. ; http://php.net/smtp-port
    $ c# X- `& {/ p* x
  1029. smtp_port = 25  V) f, a9 w, J3 \/ {$ Q4 M

  1030. : z+ M3 V6 K* `4 }. `  O
  1031. ; For Win32 only.1 L' L4 H9 n( d& ]3 u
  1032. ; http://php.net/sendmail-from
    2 U* `) |8 |- T; v- ]# P
  1033. ;sendmail_from = me@example.com, ?& M/ ^- L' f6 l5 `9 H
  1034. + b3 [6 _. p9 n& G/ ^$ p
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").* Q$ e7 {( a1 ]
  1036. ; http://php.net/sendmail-path$ C% U, v3 V) f! ~- h5 A- G
  1037. sendmail_path = /usr/sbin/sendmail -t -i5 y5 s' g/ N9 v. _, N5 |8 u
  1038. 4 v2 n$ F; W  C. Y  `. T
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    9 X& m) I9 [9 A; |. b) u2 G4 {4 ]
  1040. ; to the sendmail binary. These parameters will always replace the value of, S: [3 u1 \4 y# P# v* {
  1041. ; the 5th parameter to mail().
    8 p9 h% y! w- }  w; O+ S/ n
  1042. ;mail.force_extra_parameters =
    * J8 a( t! S2 M" D0 o8 R
  1043. ) B2 {4 N4 z9 G3 J$ y
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    9 ]" `) G5 s: t9 x! D  i
  1045. mail.add_x_header = On
      q" Q9 I: N! s% Z" ?
  1046. ; j7 D0 p1 Y- d3 L7 s
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ; a  F. r% ]6 `( @9 @
  1048. ; the full path of the script, line number, To address and headers.1 Q5 @# o* U) }5 d5 d
  1049. ;mail.log =
    ' I+ K( q# h) a" h1 Q8 n8 @; R
  1050. ; Log mail to syslog (Event Log on Windows).! k9 c6 T, n, ?5 E: [
  1051. ;mail.log = syslog
    - ?: |4 u- S/ x! W5 J0 S

  1052. 5 t/ {6 i8 x1 z+ A% y2 m8 g  R/ E1 z4 E0 A
  1053. [SQL]
    - i! K3 l1 y+ V1 d7 m- q
  1054. ; http://php.net/sql.safe-mode, n/ Y' l8 H* D% P; O
  1055. sql.safe_mode = Off9 J0 K: C! a: @% ~  x6 z" |

  1056. 4 [4 L9 e/ h% [4 r3 j
  1057. [ODBC]
    : N3 f8 X. l7 {# H  a1 n
  1058. ; http://php.net/odbc.default-db/ r1 Q: n6 V) ~: P8 |
  1059. ;odbc.default_db    =  Not yet implemented
    , f5 C* R0 _4 `1 R3 i

  1060. 5 A( X1 |1 a: D( h2 W8 ?
  1061. ; http://php.net/odbc.default-user( C) P# n" Y/ Y+ }6 W+ h! {6 E5 s
  1062. ;odbc.default_user  =  Not yet implemented9 T( [9 |. O# t* N( L+ H- a! \' L
  1063. ( D: K9 R0 c- z1 _$ Y6 p3 b2 g" C
  1064. ; http://php.net/odbc.default-pw
    2 v# O* A$ ?* x+ n- K
  1065. ;odbc.default_pw    =  Not yet implemented# o- i5 M6 R; s/ j
  1066. ( p& k" ^# l: H
  1067. ; Controls the ODBC cursor model.
    & q3 z4 n& W8 y' r2 t) a
  1068. ; Default: SQL_CURSOR_STATIC (default).0 ~# D% B/ ]0 X- Z, H7 C$ l
  1069. ;odbc.default_cursortype" Q/ S; O. y2 z! Y" m
  1070. * @+ p* [! R7 a4 e  j" S+ G
  1071. ; Allow or prevent persistent links./ t6 K9 T$ M% F5 L; k' m& n1 y
  1072. ; http://php.net/odbc.allow-persistent
    # G" A& [4 h/ Y& A& x( U1 D
  1073. odbc.allow_persistent = On# r# J2 E5 D# |' Q
  1074. 0 @% `% ^) |6 `+ T
  1075. ; Check that a connection is still valid before reuse.
    9 {) R% b6 J" x5 j3 H) k* n
  1076. ; http://php.net/odbc.check-persistent" A5 Z, w9 ~: E
  1077. odbc.check_persistent = On2 d) z0 v) b' @8 b# E- j- v, A4 E

  1078. , P0 u' z4 x6 \+ q
  1079. ; Maximum number of persistent links.  -1 means no limit.
    . f- s( A% `  X# Y4 P) s5 q9 H+ ~
  1080. ; http://php.net/odbc.max-persistent1 ^7 o' r% w! i
  1081. odbc.max_persistent = -1
    7 M. W8 O% ~0 M/ E  m0 W  x6 a
  1082. 2 ]9 r) K7 [$ A7 m5 w( N
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: _$ e% g) ^0 H$ @/ y; D8 N
  1084. ; http://php.net/odbc.max-links/ C2 g. w1 s, x4 q$ L; w
  1085. odbc.max_links = -1
      A# k8 \8 W: _" ]

  1086. 3 O5 l. I: F8 {) S) z
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    $ R# S$ q  X, |& o$ z9 m
  1088. ; passthru.
      Q% O/ W/ S; V% U; o
  1089. ; http://php.net/odbc.defaultlrl
    7 V1 K; H( @9 R- X* R
  1090. odbc.defaultlrl = 4096
    8 N7 ?, i/ w; _- t  a6 d) g
  1091. 7 s# L1 ?  g, h
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.( v/ F3 K( P" s) D
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation5 z' M  o4 G! h- Z; a
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    * G1 c3 |% G8 P
  1095. ; http://php.net/odbc.defaultbinmode6 W3 i6 w$ z' x( x2 g- E+ O7 F
  1096. odbc.defaultbinmode = 11 R1 e; W- q0 d1 ]! Z# p# A( V0 w
  1097. 8 s8 R% ~1 X% v5 c8 I8 [7 |
  1098. ;birdstep.max_links = -1
    2 Q9 P( J: w; U
  1099. $ H; s7 M* p' a3 |! I
  1100. [Interbase]+ x* |3 f7 E' L1 @0 L& i
  1101. ; Allow or prevent persistent links.
    6 l  [7 O6 m8 F0 c6 |" ]3 U
  1102. ibase.allow_persistent = 1. I" K0 g( S) w

  1103. ( m2 C. G  ?0 ?9 z, T  k% b
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ; L/ c1 X( d# t$ i8 m
  1105. ibase.max_persistent = -19 W" a! Y+ \( K# L" y' L' f7 O  c
  1106. 9 C' U. o9 w  {3 X2 o
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 Z3 U" `) x$ r6 I# f
  1108. ibase.max_links = -1
    / z4 g% D/ `- x* [0 x/ _
  1109. ) j2 s9 m3 J, z; v
  1110. ; Default database name for ibase_connect().
    ! T7 H/ g" G! {  u. B5 d
  1111. ;ibase.default_db =/ e  }1 R$ e3 O( Q
  1112. ! _; `: n: N/ _8 m# I/ G) Z* @5 V) p
  1113. ; Default username for ibase_connect().
    8 J# U" q  w$ D: D! M& j0 Z( \
  1114. ;ibase.default_user =# a' l: H' M! O  ~0 ?2 |; {4 l: a8 ^
  1115. 7 g8 J6 L# I; @) e5 t
  1116. ; Default password for ibase_connect().( v* H) }2 x$ ~- f! Z+ m& R
  1117. ;ibase.default_password =
    8 [/ b  C  m# E8 [4 K* p
  1118. ) E8 @2 y, e8 X4 Z3 S
  1119. ; Default charset for ibase_connect().# o8 k/ U) \$ x& v
  1120. ;ibase.default_charset =5 L/ q# E1 X! f4 y* F1 k9 D  j' ~
  1121. 4 Y( ]" [, [; ?1 s3 ^- Q/ d" {
  1122. ; Default timestamp format.7 y& w/ ^4 u0 }. A
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"# g. {" I# B9 Z7 I  o
  1124. 8 Y. x' ^& i, u5 T- S. O
  1125. ; Default date format./ M4 n. T7 F; b1 w3 g
  1126. ibase.dateformat = "%Y-%m-%d"
    # e3 Y% T1 y5 d6 e
  1127. ' |- E6 ^# e' X9 m" y9 O' m
  1128. ; Default time format.4 ~1 y! L- x: P4 p! e
  1129. ibase.timeformat = "%H:%M:%S"# x  x5 P( e2 _4 L, f
  1130.   O# U4 M+ O/ X# Q% C
  1131. [MySQL]  \: M( U( O1 w8 e  h0 l+ V6 m
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements! T2 `0 n+ j3 I& T+ w
  1133. ; http://php.net/mysql.allow_local_infile0 \# D% ^* m+ G- u3 }
  1134. mysql.allow_local_infile = On
    * ?( F/ q+ w, D# |, y7 P/ n+ @

  1135. ; B4 E- u- ]5 p$ N
  1136. ; Allow or prevent persistent links.
    ) l4 n# Y! F+ h. G9 q
  1137. ; http://php.net/mysql.allow-persistent0 M+ I9 `5 S, `
  1138. mysql.allow_persistent = On
    6 A, ]# }0 [# r2 S: b  i; C

  1139.   z$ u: F) H& k% p; K
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    6 F- W+ i1 s& ^8 e
  1141. ; http://php.net/mysql.cache_size3 A' l9 G/ ~) Z7 ]4 D% y& g
  1142. mysql.cache_size = 2000& F0 q! Q6 [+ U4 ~. [
  1143. + @# G# D& M( y. e1 g, c
  1144. ; Maximum number of persistent links.  -1 means no limit.) B# A) h( r! ]. ]1 ]0 K7 m
  1145. ; http://php.net/mysql.max-persistent! o7 p' \. H" F! [$ Y% M. }/ M3 ~
  1146. mysql.max_persistent = -18 T' W# w' U) g$ k
  1147. # D2 d4 \6 T+ Z
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; J, e9 J1 X+ g# N; l
  1149. ; http://php.net/mysql.max-links
    ' |, s( c5 f* T( b% [: d; M
  1150. mysql.max_links = -1
    , I& a& q2 F. D1 K! o3 H# f8 M
  1151. / ^. t0 F' w- [) E( ]4 M
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    9 B; B. A. d# K* K
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the& n2 s* I$ V# w$ _
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ) w. I; n: \7 x. K
  1155. ; at MYSQL_PORT.$ [; ^3 R! r9 ?1 b
  1156. ; http://php.net/mysql.default-port- a0 \' O% J2 |& A
  1157. mysql.default_port =1 T* P* p, q0 u1 f1 U8 x. c: t& r, w5 c+ m, `

  1158. . D5 x: K5 Z! q% i0 D3 ^: \' V
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ }$ c$ m6 a: |6 [2 J+ s5 i
  1160. ; MySQL defaults.
    & v2 W9 `# P: n5 ]
  1161. ; http://php.net/mysql.default-socket/ ?! F" u1 e7 A8 A
  1162. mysql.default_socket =
    4 v, `& s9 f9 O& t. U  E1 c, N
  1163. 4 q' O2 ]. q5 b( t, }; {( ^
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    % }% R, J/ u5 t: G# V
  1165. ; http://php.net/mysql.default-host
    5 z7 f! R3 y3 L8 Z7 R9 d9 t6 A
  1166. mysql.default_host =( t8 A/ u9 x' r/ y% W+ m" r) _

  1167. $ _% H+ _8 H9 H0 L% e
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode)./ @3 B2 e; _, U. f) R9 f
  1169. ; http://php.net/mysql.default-user
    - H. N9 n1 \! |% j
  1170. mysql.default_user =
    $ R2 T+ J, u/ }3 H. I8 t

  1171. ( a/ B3 b* L. {4 n& Q( _% @, u
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).  r5 E3 W% X. B( n0 ]
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    ' g* E9 e' \; j0 j- F# \
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")" S" _2 ^; m) _) P
  1175. ; and reveal this password!  And of course, any users with read access to this6 u" }7 R) M* B3 P
  1176. ; file will be able to reveal the password as well.
    8 Q: Z4 g% H& @( d# G
  1177. ; http://php.net/mysql.default-password
    ) Q8 }- |! m# V; I
  1178. mysql.default_password =3 }+ R3 h( e& W- h8 j
  1179. 2 s" O- [5 C2 V
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit) S- `/ H  x8 p+ K% p& |
  1181. ; http://php.net/mysql.connect-timeout
      A0 h1 U: V5 e, w0 f% a' S+ i
  1182. mysql.connect_timeout = 60- @+ i% W8 k4 N2 \

  1183. $ f8 f6 n6 j! `6 `) {- I
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ; f+ c1 |# }) O6 J3 ^2 \9 |
  1185. ; SQL-Errors will be displayed.
    ( U8 r" E) R1 @- l! ]5 D) p
  1186. ; http://php.net/mysql.trace-mode: p7 R2 p" ?  O% x
  1187. mysql.trace_mode = Off' J4 K! S4 `- S1 ^' e+ ~
  1188. , a$ \( }: l! l
  1189. [MySQLi]
    1 `! l4 V* B! a& d! }0 v1 O, n

  1190. . r4 q* a- A* z. {/ l0 s
  1191. ; Maximum number of persistent links.  -1 means no limit.
    , X. n9 ]8 n4 y5 p5 [; Q, e; m9 y( B
  1192. ; http://php.net/mysqli.max-persistent5 ~9 x; H6 G+ }$ b9 w. y
  1193. mysqli.max_persistent = -1
      b, a* o8 @& h/ [2 i  j% n8 V6 t3 @

  1194. - W; O7 Z3 i# r4 b& E( H
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements2 N& g/ i" ~4 L% T; N+ D5 j
  1196. ; http://php.net/mysqli.allow_local_infile
    4 i) J6 R. i) f
  1197. ;mysqli.allow_local_infile = On
    * l  Y+ B! A  W) z/ r

  1198. ( V) x7 r5 L  p
  1199. ; Allow or prevent persistent links.; W( [/ f; F6 x: Z
  1200. ; http://php.net/mysqli.allow-persistent  T+ E  [% X4 }) L# A; Q# ^
  1201. mysqli.allow_persistent = On) q7 J# H# Q0 h
  1202. + E& o* ~: P3 N2 ?; k2 f' K
  1203. ; Maximum number of links.  -1 means no limit.
    3 t; B: l! Z+ E3 B4 l* R+ B: x7 t9 f
  1204. ; http://php.net/mysqli.max-links
    ( D* X! S" e$ J; c) |3 s9 [- W7 `
  1205. mysqli.max_links = -1. ?( C  _& S& x* U; \& o6 U5 _

  1206. % L# g9 Q! a0 C4 |
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache) a$ N" F( l+ Y( }
  1208. ; http://php.net/mysqli.cache_size
    ; u$ K7 ~+ l8 y3 \* t1 U
  1209. mysqli.cache_size = 2000: t" T6 w! [3 o# W
  1210. * l  u5 }" U4 S# @
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use" e1 {) C) G5 p5 H, C8 e
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ n0 i# B( N, ?+ \4 i, b
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    % Y, ?- e6 n  r7 T* T
  1214. ; at MYSQL_PORT.
    - \4 ^' `+ K! o
  1215. ; http://php.net/mysqli.default-port
    * }  K- ?/ z. D
  1216. mysqli.default_port = 33067 V; U1 D, ]7 R1 W3 i6 u

  1217. " r9 e6 K5 t7 u4 V4 z1 D2 I
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in" M# N' A, o; `+ H
  1219. ; MySQL defaults.4 v) W' @8 w' G9 K: ~
  1220. ; http://php.net/mysqli.default-socket, {5 o% G( d3 D: K
  1221. mysqli.default_socket =" H5 _) @6 w! s! c% x$ J

  1222. " a) b& D% O* n8 q0 S
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).# Y2 o) Y2 ]# |* O! E7 T
  1224. ; http://php.net/mysqli.default-host0 W1 w! Y. a% J0 v9 v8 A( X
  1225. mysqli.default_host =% R4 z: [6 M) b, a# z9 ^$ {3 q/ }2 u3 c

  1226. # k# s) ?; c+ ?+ D/ M
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).) P, Q3 A4 w$ y5 @$ k
  1228. ; http://php.net/mysqli.default-user
    9 {8 x5 {/ d% y7 s, G& v- V$ N" M
  1229. mysqli.default_user =% \' u  Z/ l8 e! d+ N1 o
  1230. ) s& E, y# T9 {3 I( x" ^
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ' q0 I0 G+ o* B6 h0 A4 X
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    0 O! y( @3 ~/ l- ~, ]
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")2 D" q* k2 ~) _7 u8 {6 x
  1234. ; and reveal this password!  And of course, any users with read access to this
    9 H7 b) D8 r) i5 h
  1235. ; file will be able to reveal the password as well./ m' J6 }$ Q" ?! v/ N" x
  1236. ; http://php.net/mysqli.default-pw9 n) e3 B" h7 E$ Y% i% ^( ]& Z
  1237. mysqli.default_pw =$ n* j  l6 k+ M( Q' s' ]5 C' a

  1238. . {2 y% E, @  x: p- E  c
  1239. ; Allow or prevent reconnect
      }# B) G  }& S! Y% g4 \
  1240. mysqli.reconnect = Off
    " ^7 ?' P, G5 ^; y' v

  1241. 7 X/ P& b+ Z2 c- d
  1242. [mysqlnd]
    * O0 {9 z; E1 x* {
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    5 M) T8 i* g# q5 t+ j
  1244. ; used to tune and monitor MySQL operations.
    6 T1 `2 N% J7 _" M& a5 S* J' S, {/ L
  1245. ; http://php.net/mysqlnd.collect_statistics  z, Y0 A9 {( ~5 Y7 U3 `% Q
  1246. mysqlnd.collect_statistics = On
    6 E, C' |# s: w% G

  1247. . A; f5 i- P. g8 c9 J( M: i
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    & k4 `7 u5 Z3 Y- f
  1249. ; used to tune and monitor MySQL operations.! n9 y6 X0 `6 u
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    + F- H+ S  y  e6 D0 Z
  1251. mysqlnd.collect_memory_statistics = Off
    % G8 X/ x. ?2 \. _- k& W
  1252. 2 Y9 @" V0 z4 {- v2 \
  1253. ; Records communication from all extensions using mysqlnd to the specified log! u1 D5 G+ {0 u! k
  1254. ; file., d1 d/ C- ^" T, u' \
  1255. ; http://php.net/mysqlnd.debug+ C0 s' C0 l  B0 u6 i
  1256. ;mysqlnd.debug =
    5 g. `: U9 ~2 z9 j
  1257. : `7 O9 W2 m/ H0 K% K" z/ B8 o
  1258. ; Defines which queries will be logged.
    ! M% @, j- p% k- x* i! e
  1259. ; http://php.net/mysqlnd.log_mask
    * [" ^& Z* f9 V7 }
  1260. ;mysqlnd.log_mask = 0
    % h; t" V5 v" f/ Z
  1261. $ ^% M" B+ B: V+ G  r
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.; W4 ?( \: }5 [: M
  1263. ; http://php.net/mysqlnd.mempool_default_size! S* ~# ?% y: q$ \1 M3 d! U+ ^
  1264. ;mysqlnd.mempool_default_size = 16000
    ! p) P5 t8 N  l7 P3 G0 b' a! j+ r

  1265. + n7 W1 Y1 j. b' ~6 e
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.2 C5 q5 V% d' [7 j7 |. q6 W9 L
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size& T4 U5 i; b3 b
  1268. ;mysqlnd.net_cmd_buffer_size = 2048/ x  m+ S. I/ {8 p

  1269.   v5 r9 u8 v6 {" S8 \" H6 h
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    + e0 c" }( T" f0 y
  1271. ; bytes.
    : E$ M4 J! u: N6 ]. |; `9 B
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    2 _. c& X& M5 v  o; f8 ^" r% d
  1273. ;mysqlnd.net_read_buffer_size = 327682 K+ q1 g- d8 M3 N$ P
  1274. . A+ `) Q: j" W$ @7 J# |
  1275. ; Timeout for network requests in seconds.
    7 t5 k2 {+ j* v" i# s0 D% M6 W% H$ s- d
  1276. ; http://php.net/mysqlnd.net_read_timeout
    7 W( h% |; ?, l+ U; }6 m
  1277. ;mysqlnd.net_read_timeout = 31536000
    8 E, g- F  a* ~& M
  1278.   \. O( M, f  f* l  C" F% Y0 D
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA* a) x, J. f- q; C9 l
  1280. ; key." ?( g4 {1 r! T! e8 v6 h* T
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ! J% n: R/ i$ m; ?/ y" ~3 s# m! A% J
  1282. ;mysqlnd.sha256_server_public_key =/ S3 b( K8 \  U+ D* g

  1283. 0 Q# ?: G% I4 j
  1284. [OCI8]# Q& y- y; x8 t. o7 Q
  1285. ( ?7 ~; c; |' C- q8 v( I
  1286. ; Connection: Enables privileged connections using external9 D. R+ |2 u. U# M3 x" F" Q) f
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA). @: E! W  u  D7 H" j
  1288. ; http://php.net/oci8.privileged-connect
    . @' l2 @4 L# r; ?6 I( y
  1289. ;oci8.privileged_connect = Off- c5 D& l' \* c# O

  1290. 0 _- A. ]% P1 S6 ^1 M+ e, |
  1291. ; Connection: The maximum number of persistent OCI8 connections per4 R# s" S" W1 O# g9 w* {
  1292. ; process. Using -1 means no limit.
    1 E% f8 I* n1 c  D
  1293. ; http://php.net/oci8.max-persistent, A! d2 U7 @  C9 ]) K
  1294. ;oci8.max_persistent = -1
    3 x9 m7 N/ e7 N9 \
  1295. 9 T9 y8 k8 r# M, o4 L$ c  M
  1296. ; Connection: The maximum number of seconds a process is allowed to$ s$ p9 C; B; w4 D5 l+ U* `
  1297. ; maintain an idle persistent connection. Using -1 means idle$ Y9 o1 C  g2 D; u
  1298. ; persistent connections will be maintained forever.
    6 O; Y, B$ S) V7 _: \( s) Z
  1299. ; http://php.net/oci8.persistent-timeout7 D% J" H) a2 C. E  g2 B- V  q
  1300. ;oci8.persistent_timeout = -1
    " |7 b7 L% f2 ]& D, A+ a$ r

  1301. # [% O( g0 q$ u! A8 }8 O& p6 W
  1302. ; Connection: The number of seconds that must pass before issuing a
    5 S  t9 H$ L6 [* K2 y! k, G/ I. {7 H
  1303. ; ping during oci_pconnect() to check the connection validity. When
    & g; Z  {4 E+ S8 u7 `* Z
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables0 ]& U# H+ b. s3 c, q$ Q# [
  1305. ; pings completely.9 u1 v% m' ~) b# M  M
  1306. ; http://php.net/oci8.ping-interval$ [" V. Q9 i% b9 ?
  1307. ;oci8.ping_interval = 606 ?5 P1 H1 `: Z9 `" c
  1308. 0 o/ |" g5 k" l1 m
  1309. ; Connection: Set this to a user chosen connection class to be used
    & B7 {$ F5 G. D' D/ d
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ; p+ L, z$ @$ G3 L
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    * p! k3 z6 q6 \0 p
  1312. ; the same string for all web servers running the same application,
    5 G$ ]; J  x' H) y8 H3 o
  1313. ; the database pool must be configured, and the connection string must
    , f3 `" S) @( y
  1314. ; specify to use a pooled server.
    % [- K6 e! B5 N& O
  1315. ;oci8.connection_class =6 I' i6 R, A* H9 {* p* F

  1316. 5 S; q; _* G- Q! M& u1 K
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ' F9 q  ^8 Z4 }2 J* W1 u
  1318. ; Notification (FAN) events generated when a database node fails. The
    5 X8 t3 l% b1 t1 t. |. R2 d6 ^6 s5 E
  1319. ; database must also be configured to post FAN events.+ X& h$ \* M- z" [& q. q
  1320. ;oci8.events = Off5 j: p6 P2 C8 O. O
  1321. ) U' J  a1 ]. ^5 K
  1322. ; Tuning: This option enables statement caching, and specifies how
    $ q9 k9 _) ]1 o3 {2 ~
  1323. ; many statements to cache. Using 0 disables statement caching.( f7 }8 Y9 A* S# ~& G. I
  1324. ; http://php.net/oci8.statement-cache-size& A- l* A$ U  k! P
  1325. ;oci8.statement_cache_size = 208 j' c1 n0 ]1 t& b0 g
  1326. , E) B4 G. {: i* ^( i% S8 b4 s, ~. L/ e
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    $ O$ m7 s% ]% Y2 O* a
  1328. ; rows that will be fetched automatically after statement execution.
    ' B/ B- S/ o* o% X* k$ Z
  1329. ; http://php.net/oci8.default-prefetch
    ) T/ ?7 c# }6 E) W1 H
  1330. ;oci8.default_prefetch = 100/ s, C& D. \' }. v  P" Q
  1331. 9 s, B& l* g# Z9 k* l
  1332. ; Compatibility. Using On means oci_close() will not close
    : B6 j# b7 g% Y: s8 f* P
  1333. ; oci_connect() and oci_new_connect() connections.
    5 C  U, n" e7 x7 X; F
  1334. ; http://php.net/oci8.old-oci-close-semantics
    0 x, \1 ~4 v6 k- E! W
  1335. ;oci8.old_oci_close_semantics = Off
    ! S% `. O4 s3 c. M0 z8 C

  1336. 3 I# u4 j" J* s
  1337. [PostgreSQL]6 L- o- [2 f; Y( R, `1 ~
  1338. ; Allow or prevent persistent links.
    7 F- X- L* [* j1 z1 v! y) T
  1339. ; http://php.net/pgsql.allow-persistent
    ; U' B3 @; W4 r$ @; [2 n0 \
  1340. pgsql.allow_persistent = On
    . B3 Q3 g) M4 m9 r

  1341. " f. [7 Q6 ~0 U1 s! y" I
  1342. ; Detect broken persistent links always with pg_pconnect().; t! j  s* A# F0 S! u
  1343. ; Auto reset feature requires a little overheads.4 a9 ?% S1 o. |6 J0 D( r7 {
  1344. ; http://php.net/pgsql.auto-reset-persistent
    & z7 ~# X- Z; Q4 \& U, h' H% o4 d6 L* ]
  1345. pgsql.auto_reset_persistent = Off  N$ b- ?& u7 ]0 ]4 `
  1346. ) l1 f$ [/ n; O8 Q7 m9 F
  1347. ; Maximum number of persistent links.  -1 means no limit.
    ) E9 O( y) m( \( B7 s
  1348. ; http://php.net/pgsql.max-persistent3 r* Y$ o- `6 w$ y4 O0 Y2 ]
  1349. pgsql.max_persistent = -12 ?8 \9 g' W/ P' r- N9 X

  1350. & m, @# q# k# Q; x  [* R
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.( ?9 _6 t; E, c3 e2 o7 g' [6 r' o
  1352. ; http://php.net/pgsql.max-links1 X+ Z7 O3 g$ F
  1353. pgsql.max_links = -1. A4 b, e, V' Y0 _* E. f

  1354. 9 B1 c/ @5 E3 d; Y" s: w
  1355. ; Ignore PostgreSQL backends Notice message or not.
    + x1 c+ o% S- @; }  Q! P* I
  1356. ; Notice message logging require a little overheads.# s( p) R( }! ?& h
  1357. ; http://php.net/pgsql.ignore-notice! N& K. b2 q- o; r, o
  1358. pgsql.ignore_notice = 00 N, S) e! }4 `8 q9 a5 o4 a

  1359. & @- ?+ `0 a1 k7 O7 ^. `
  1360. ; Log PostgreSQL backends Notice message or not.' F- J: W+ O7 e# X
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ' ~4 V2 E6 {; Q1 v
  1362. ; http://php.net/pgsql.log-notice
    / D  e9 k- N; C/ ^* O: K+ Z7 c
  1363. pgsql.log_notice = 0
    1 }. M$ B/ D* b2 b
  1364. ' x3 u5 [; B" d* C0 }
  1365. [Sybase-CT]
    . i7 n/ Z) A$ j, O+ @. Z/ j. u' E
  1366. ; Allow or prevent persistent links.
    " E$ ^0 \) N7 P# {* f) [+ z
  1367. ; http://php.net/sybct.allow-persistent9 h& ?. R1 c! w6 }  G* ^& @
  1368. sybct.allow_persistent = On1 d: y  O( V  _

  1369. % _& }6 R7 \8 A3 c% ^* F
  1370. ; Maximum number of persistent links.  -1 means no limit.
    2 K8 k& I8 F; R( a* p% }
  1371. ; http://php.net/sybct.max-persistent
    ; r7 n9 u4 |% w/ ?9 e3 B0 `
  1372. sybct.max_persistent = -1
    + I& x) |+ C! C! y9 n8 p

  1373. # ?6 P( T' f5 h' ]
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! D+ X8 R" W& Z# a( ^3 H
  1375. ; http://php.net/sybct.max-links
    / ?. l: p# d1 P; F1 `! R/ {& ~# b
  1376. sybct.max_links = -1! l% Q( d% {: [$ P8 l5 ]- S% `2 u1 D

  1377. : z+ S! ~  @, m7 V; g1 N( F0 p
  1378. ; Minimum server message severity to display.
    % W' M& S% G. S9 h- U% N  X5 T
  1379. ; http://php.net/sybct.min-server-severity  \! J2 f$ z$ Q+ c* G
  1380. sybct.min_server_severity = 10; Y* O+ m2 P1 Q- v% n- G
  1381. - u0 U3 b$ L0 I- @. n' H" P
  1382. ; Minimum client message severity to display.5 O: P! i/ T/ H, S
  1383. ; http://php.net/sybct.min-client-severity# O( ^8 o4 M: w! G  i5 R
  1384. sybct.min_client_severity = 10
    $ o; E$ r  g2 v
  1385. 9 H9 n9 f0 ?7 R+ z2 X& I9 _
  1386. ; Set per-context timeout* c4 |+ u2 B! Q5 ^
  1387. ; http://php.net/sybct.timeout1 J1 ?0 X6 F# e, O! W; `
  1388. ;sybct.timeout=
    + n( a" t5 ^" s0 u, L( y

  1389. & P% D# k+ {8 f* P0 o4 S& Z$ M3 M
  1390. ;sybct.packet_size" U/ s3 h$ t' s
  1391. # t% t& K/ P4 I4 Y
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    7 L$ @4 _/ S! t$ u9 c
  1393. ; Default: one minute( \& C) G5 ]; S, J1 F" S, P
  1394. ;sybct.login_timeout=+ N1 o% I& D% s7 T
  1395. 6 ~! n! ?2 V% O$ }" a4 k. q
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.' o' K) }9 b" G; Z) K
  1397. ; Default: none
    ; |; b' l  q, D
  1398. ;sybct.hostname=" h7 l0 O6 s% r+ {2 A% p+ C

  1399. 8 A7 S7 W+ m# P# e# @: W
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".( h; u/ m  m" [* X% t
  1401. ; Default: 0) K& W* k+ I' |( x! `, T: x# T5 k
  1402. ;sybct.deadlock_retry_count=
    : X$ B4 c0 n) p; H! u& d' d% X1 T* R

  1403. " r! \$ X# s% q" Y- {
  1404. [bcmath]+ i! v2 e8 m* }* i: V
  1405. ; Number of decimal digits for all bcmath functions.
    / u- j% U" {. {" W/ o
  1406. ; http://php.net/bcmath.scale
    4 u2 V+ L1 J: _/ ~" q
  1407. bcmath.scale = 0) z3 Y' h. L8 n# X
  1408. 7 h( z. N4 s) q' i
  1409. [browscap]
    ! ?" v0 @  p' S! a" D2 {, Z- C
  1410. ; http://php.net/browscap
    , I# q  e9 p' D, f! V" w
  1411. ;browscap = extra/browscap.ini$ Q: t9 ]( `4 A5 n; j" r
  1412. ) R9 b% V7 Y; o
  1413. [Session]
    3 O2 R# r# ~. X5 L$ p) _/ t7 l
  1414. ; Handler used to store/retrieve data.
    8 Y3 f  p* B  c; i, q4 I1 l: }) h7 R
  1415. ; http://php.net/session.save-handler8 D1 M% V3 y4 R+ n! C* X
  1416. session.save_handler = files
    , ~1 |& K  `9 T; l

  1417. ! }8 L. v5 n% ?1 Z
  1418. ; Argument passed to save_handler.  In the case of files, this is the path4 E; }( y% U. O4 J0 z0 Y8 o
  1419. ; where data files are stored. Note: Windows users have to change this
    + O! z- n: p5 s2 r! e2 K3 b( E
  1420. ; variable in order to use PHP's session functions.
    / f& E- Q+ F2 M2 d5 y
  1421. ;5 l5 Z6 `0 n$ ]) x/ P+ d
  1422. ; The path can be defined as:  k5 e8 U( W, i4 [# R3 O, H7 z
  1423. ;
    , a4 n1 U1 K/ {
  1424. ;     session.save_path = "N;/path"7 S8 i+ @1 q* }+ R! n$ T) L0 f5 V
  1425. ;
    8 E  H+ G$ ?' w" A7 G
  1426. ; where N is an integer.  Instead of storing all the session files in( F+ F( N* ~1 F- A0 n
  1427. ; /path, what this will do is use subdirectories N-levels deep, and/ I9 Q0 k. \# I- O! R
  1428. ; store the session data in those directories.  This is useful if7 Z. m$ i& V% {; y- I
  1429. ; your OS has problems with many files in one directory, and is
    1 e- m$ x; \! |6 B8 P5 \/ f$ y
  1430. ; a more efficient layout for servers that handle many sessions.
    " u' T' {  h9 R" [9 N
  1431. ;
    & A: ]& g3 b* ?% y
  1432. ; NOTE 1: PHP will not create this directory structure automatically.! m, c! ~$ r$ o1 U( }1 p$ T% x
  1433. ;         You can use the script in the ext/session dir for that purpose.) |7 Z. H3 U$ w- l
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    , D% S6 Q5 z( c3 ^
  1435. ;         use subdirectories for session storage, O0 ~$ o0 u) m' F! c% W2 e
  1436. ;0 k  p$ o3 z9 T% d
  1437. ; The file storage module creates files using mode 600 by default.. j3 D4 d5 v/ B) `4 A
  1438. ; You can change that by using# O. ^" k6 d% \5 u/ D. h) [
  1439. ;
    / p' Q( y. ]) A0 s( V
  1440. ;     session.save_path = "N;MODE;/path"% L  D2 C" L1 D7 {0 s% H$ V
  1441. ;
    8 M3 E# y# q+ h& Y" @* [! W
  1442. ; where MODE is the octal representation of the mode. Note that this' m' `, w! y- {/ }" Y( T2 P! c
  1443. ; does not overwrite the process's umask." g) i- |3 I6 G& [5 p
  1444. ; http://php.net/session.save-path
    " }3 H0 r2 W& ]2 r. ~9 \+ U: v
  1445. ;session.save_path = "/tmp"2 {+ d. g' i+ F9 \
  1446. 3 S" ]& [9 j" H# m' S* U
  1447. ; Whether to use strict session mode.( s" K: }6 c* d! _
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate$ G2 }  N1 W- A2 a1 \( z' H9 Z& `  Q
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects3 F, X) l5 K# g3 f' Z
  1450. ; applications from session fixation via session adoption vulnerability. It is& a, A* T+ A$ v! i7 n( M
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.& N; n# M8 v0 M+ X  M: W
  1452. ; https://wiki.php.net/rfc/strict_sessions& Y: a: q+ U4 ?  u$ ?- L( A6 `1 [
  1453. session.use_strict_mode = 0
    3 L7 i& @- U" x* p3 W  F, Q. s9 h
  1454. , y/ p$ \- l2 x7 o2 y
  1455. ; Whether to use cookies.
    ; p0 g2 z/ q8 n: C- x. P' W: l
  1456. ; http://php.net/session.use-cookies7 c( c3 b" {7 E( Q4 C3 w
  1457. session.use_cookies = 1
    " d7 D( j. ~$ z) h, O
  1458. $ M$ Z8 L' R& C# l6 z: x
  1459. ; http://php.net/session.cookie-secure7 h/ _# b5 T% x9 d4 g6 i; ~9 D* j
  1460. ;session.cookie_secure =5 K9 F$ s& |5 d8 t- _
  1461. / t, A1 N+ i9 V( }, A, P
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    * [4 R) O2 R) V
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    7 L2 Y$ @; ^# ]+ ~$ }4 t8 o
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ( {+ j$ u" @  Y( d& \
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ' _6 Z5 a( X! P
  1466. ; http://php.net/session.use-only-cookies
    : x+ \( S  d& K2 {* ]. D
  1467. session.use_only_cookies = 1( t: V0 p5 E; k" g9 E
  1468. 9 N: ~# V" A' j9 B: }6 Q' K. B
  1469. ; Name of the session (used as cookie name).  X9 u9 z- O  r; }1 h! s
  1470. ; http://php.net/session.name
      s2 Q& ~& E, y" H
  1471. session.name = PHPSESSID0 n# ]3 M& F, s$ W* H: \  T8 S

  1472. ; L! a$ W2 Z% |$ p' }+ Z) Y$ I
  1473. ; Initialize session on request startup.
      j& T2 Z9 E4 [# \
  1474. ; http://php.net/session.auto-start
    3 K3 H. s, x( M$ t3 X
  1475. session.auto_start = 0
    5 A4 @9 E% ?, Y& j/ h# I
  1476. 3 \! r  R+ |2 S9 y1 K- [
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    # t2 v# t- I  M+ T
  1478. ; http://php.net/session.cookie-lifetime
    5 b( L* u! X! S! n( k
  1479. session.cookie_lifetime = 0
    4 i3 Q( H9 ?4 t) j8 U2 u$ u
  1480. / }: Q( ^9 D) C- `4 ?* y$ A( |3 Y
  1481. ; The path for which the cookie is valid.
    8 @' v: F! J& U8 f' T' c7 r
  1482. ; http://php.net/session.cookie-path9 K7 f9 `: d. z' m
  1483. session.cookie_path = /  A' z% O1 F* K6 g
  1484. & G' h' l. K( H& `) y$ i( T$ D7 ~
  1485. ; The domain for which the cookie is valid.
    ( Z! p8 Y4 M0 ?/ F' |; e& z- f  e: X
  1486. ; http://php.net/session.cookie-domain% U; F! m# c5 G4 S
  1487. session.cookie_domain =0 R9 i9 C' C. G: u

  1488. 6 g$ A& z5 w* ?  \' t
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    4 r1 |, E6 b3 D# I! D
  1490. ; http://php.net/session.cookie-httponly
    8 g) g4 F. h; U" D7 x' d
  1491. session.cookie_httponly =  J* G/ m/ |' j$ g+ T* j. R$ h
  1492. 3 {4 E* K0 P$ q" E# a4 n  W0 ]# j
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.4 B( B9 L7 ?9 {3 s4 _
  1494. ; http://php.net/session.serialize-handler
    & K9 E4 [, `6 B# C* ]
  1495. session.serialize_handler = php9 ~/ I* F; Q5 e! P9 ?; j9 s
  1496. 5 m7 @& H/ u" O8 |% |" M2 e9 d) D
  1497. ; Defines the probability that the 'garbage collection' process is started& c4 m) H/ w1 r
  1498. ; on every session initialization. The probability is calculated by using
    ! q6 z" K8 \# \7 a3 w
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    7 M; V4 T1 U4 @+ {1 Z
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    , }' K6 S* _% d" ~% s0 h# x
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ) ?( C9 p. M4 _" H3 N
  1502. ; the gc will run on any give request.) b# V$ H. K" G! n
  1503. ; Default Value: 1
    * z$ z  |2 D: C* H0 R6 m
  1504. ; Development Value: 1
    1 Z& n- G4 b0 L' G: k- f4 O
  1505. ; Production Value: 18 B$ h0 Z# h: t/ k! s! b
  1506. ; http://php.net/session.gc-probability. u& y0 u% a/ P1 x# p7 h
  1507. session.gc_probability = 1
    ' e, i9 G3 ?( `" ?
  1508. ) i& j* L/ s8 |" T$ C7 N8 `
  1509. ; Defines the probability that the 'garbage collection' process is started on every0 o: V0 w2 e! V4 z
  1510. ; session initialization. The probability is calculated by using the following equation:0 ?, n, J4 ~) S. c8 X8 T
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and! Z% ]  L! D! S
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1& I# ]8 q0 n% V) Y$ w9 F
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance9 `9 W" h' y' ~( z+ x
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    % E! Y/ x$ N; w+ U) ~/ Q# X6 m
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,0 \& A( W3 b6 j& z; T7 r
  1516. ; this is a more efficient approach.
    3 N- H3 x: n0 K, N( ]% O
  1517. ; Default Value: 1005 C2 M. _4 |6 c0 q" H4 L
  1518. ; Development Value: 1000
    + X6 A# V9 S7 U- \3 d+ v
  1519. ; Production Value: 1000
    : p! d" q/ F, s: o4 O
  1520. ; http://php.net/session.gc-divisor) B' X9 _+ ~3 A8 @! ~% q
  1521. session.gc_divisor = 1000: ~/ I. U2 ]& N' R9 ]: X, n

  1522. 3 K: W. z2 a- M  p) `
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and! h; A  _8 J. J; H
  1524. ; cleaned up by the garbage collection process.
    5 V0 l3 i4 Q/ d4 w7 N' h
  1525. ; http://php.net/session.gc-maxlifetime# ~+ N$ L; ^# C3 r% {+ A/ h* k
  1526. session.gc_maxlifetime = 1440. t$ N( V1 w5 T0 K; @$ n4 m

  1527. + J. g: P6 {; C0 d# L
  1528. ; NOTE: If you are using the subdirectory option for storing session files$ Z5 g# A# Z8 v9 @
  1529. ;       (see session.save_path above), then garbage collection does *not*2 r/ |  g' j* K1 B$ @3 g) Q3 v$ S
  1530. ;       happen automatically.  You will need to do your own garbage
    2 L. U) i6 l$ B: u4 F) @1 F( M
  1531. ;       collection through a shell script, cron entry, or some other method.7 z% }& g% \+ z7 B
  1532. ;       For example, the following script would is the equivalent of
    5 w; b; W/ K7 B% t4 n
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ( R- k: c) x0 T# h1 ?$ Q
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm5 ~& P9 g" N8 @7 v4 l  |2 I

  1535. , l1 R. R8 U/ ]6 I* _! W8 f- V
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.% G, h2 @8 g6 s; J, j. C
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    ! D  v- `- l8 ?) H1 |- X0 m- F0 W
  1538. ; considered as valid.
    ! r7 v8 _! `( Q' P" B4 e
  1539. ; http://php.net/session.referer-check
    ; P, T2 ~5 b% p! d3 j  ?
  1540. session.referer_check =; P# Z( D) l, `- n3 n
  1541. 3 v+ G8 ^+ {3 b! A! A3 r$ R) i
  1542. ; How many bytes to read from the file.
      {2 I$ D' ~2 v2 }
  1543. ; http://php.net/session.entropy-length
    # C+ W7 p% f( _
  1544. ;session.entropy_length = 32$ w' @" X$ ^9 i( w0 {# S6 p

  1545. 9 w2 m# C, |2 x+ j4 N* e. }3 F
  1546. ; Specified here to create the session id.3 w9 A  m- K: l% c! U
  1547. ; http://php.net/session.entropy-file- q5 S1 ?( O9 M' q; w
  1548. ; Defaults to /dev/urandom
    : e* b6 N0 H! n) W: e$ V' d
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ; d" Q2 r. M+ j- @
  1550. ; If neither are found at compile time, the default is no entropy file.
    / @! |2 {: @5 u3 B3 z0 g
  1551. ; On windows, setting the entropy_length setting will activate the
    1 F! ?$ |; G' V4 M+ F3 q8 A' K; |: b
  1552. ; Windows random source (using the CryptoAPI)& b/ e3 k. Y# k% q# p6 G
  1553. ;session.entropy_file = /dev/urandom
    " V. M  S6 H# x; ?& V  Y* b

  1554. ( ~9 z) c7 @! m
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects1 |1 J, [/ v7 b1 }/ m
  1556. ; or leave this empty to avoid sending anti-caching headers.
    ) q* X6 [! n* [2 R& S
  1557. ; http://php.net/session.cache-limiter- z; v: f/ h6 _0 ~8 ~. m7 P
  1558. session.cache_limiter = nocache
    : x. A3 M6 T, J
  1559. ! L8 u2 J4 ?5 o  x
  1560. ; Document expires after n minutes.5 |' S# V3 M1 k( T
  1561. ; http://php.net/session.cache-expire, @+ ~% p% y( {
  1562. session.cache_expire = 180
    5 r3 W+ o, L1 x0 T

  1563. 0 t$ c" I8 W5 K0 j1 E" d
  1564. ; trans sid support is disabled by default.3 B4 k) F: g% _) R) h. k6 X
  1565. ; Use of trans sid may risk your users' security.
    9 G4 U5 C- Z! b+ H8 N
  1566. ; Use this option with caution.# c: u2 E8 B' X% X$ N0 z
  1567. ; - User may send URL contains active session ID: R. O. x" C/ i0 f8 {) D& l
  1568. ;   to other person via. email/irc/etc.# g7 h4 u; C: `9 I
  1569. ; - URL that contains active session ID may be stored
    7 W) ]  |8 D) @# U5 B
  1570. ;   in publicly accessible computer.
    6 m5 F0 [! N3 r$ a; N
  1571. ; - User may access your site with the same session ID
    " l% W+ q& N+ @, Q
  1572. ;   always using URL stored in browser's history or bookmarks.# q! [! G/ y9 u2 p; g9 Z* g
  1573. ; http://php.net/session.use-trans-sid8 A* |' E9 g* M* |, w4 \
  1574. session.use_trans_sid = 0
    " `% F& s5 c3 r5 B9 y# `3 |$ l
  1575. ( N, R- m  y/ c7 K
  1576. ; Select a hash function for use in generating session ids.
    : s* D. R( q8 |4 n
  1577. ; Possible Values" r  w0 h; W) i0 i
  1578. ;   0  (MD5 128 bits)
    % }6 J; d- W2 _9 K' E  {
  1579. ;   1  (SHA-1 160 bits)+ g+ F& q' g8 z3 y# C4 {
  1580. ; This option may also be set to the name of any hash function supported by
    / E! r7 T& c+ t: V4 L" |: j8 ^
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()3 H1 u( W$ S: ]' [1 c# A: i
  1582. ; function.
    # J; Z: T8 ?0 Y# m: x( ^
  1583. ; http://php.net/session.hash-function
    $ w: f( }: C* D3 U) b
  1584. session.hash_function = 05 R; }5 f( L. ?0 A, H
  1585. - p7 Z% b: I$ I0 T
  1586. ; Define how many bits are stored in each character when converting4 d! y+ E, e* ?
  1587. ; the binary hash data to something readable.
    $ r! L0 c$ d! ?) H+ E7 s4 S3 L9 R
  1588. ; Possible values:
    # O- O6 J' m$ D+ ?: \. Z& S2 I
  1589. ;   4  (4 bits: 0-9, a-f)( G" ^  J5 Q2 D4 d2 W
  1590. ;   5  (5 bits: 0-9, a-v)
    ; m& d/ p& C' a
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    . P! @+ r0 S' D5 Y7 K) l- M
  1592. ; Default Value: 4
    9 n: {7 T5 X9 o( p2 M) X
  1593. ; Development Value: 5  a6 h5 I, z1 B  g- @* S
  1594. ; Production Value: 5$ o  I5 O) ^. n2 ?" [
  1595. ; http://php.net/session.hash-bits-per-character
    3 Y0 [  s! H6 h) ?# D5 ?* U( k
  1596. session.hash_bits_per_character = 5( s, c9 Z$ u+ S

  1597. 8 I/ o! F5 U5 O: N7 C
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    1 K% |9 M; g: L: a
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    9 c0 R, A6 N0 ^" R4 \4 j
  1600. ; add a hidden <input> field with the info which is otherwise appended6 F6 y. d; `6 V& Q/ f/ o1 b
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    3 [8 Q8 L  Z8 p
  1602. ; Note that all valid entries require a "=", even if no value follows.
    / u( P# z. ^2 u8 C; h
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="* [. C! t1 D; T) C; K5 E
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# y. V/ R  C6 o5 O/ v
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 n! X; O& d+ w. q3 w% P
  1606. ; http://php.net/url-rewriter.tags9 L: x% E4 V# Q
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 ]# k& O! _2 z: ^2 R
  1608. ; `0 o: }# |5 g" f! Y% D
  1609. ; Enable upload progress tracking in $_SESSION  j4 ~( v7 ?# Z6 q+ ~
  1610. ; Default Value: On
    7 E- a' d+ u9 F
  1611. ; Development Value: On4 Q7 f* [6 c1 f) J7 f1 s
  1612. ; Production Value: On; z! ?$ u6 `$ E
  1613. ; http://php.net/session.upload-progress.enabled  d# D+ y2 O! L: S
  1614. ;session.upload_progress.enabled = On: H/ A0 J& ~4 r' e/ U. s3 X. L! n

  1615. 0 w3 @% I1 S4 H/ h* j% Q  R: m
  1616. ; Cleanup the progress information as soon as all POST data has been read
    0 Y; Z) M0 l* I4 T) w5 l$ y; _
  1617. ; (i.e. upload completed).+ `+ ^$ X' x" x( }+ u& z. P+ s
  1618. ; Default Value: On
    + j" k  e) w' U0 G2 W) y8 c  ]
  1619. ; Development Value: On
      H$ e4 a- M& n: ^- n- E5 {4 N
  1620. ; Production Value: On
    3 `' x3 q: j3 N. H7 Q, m4 c
  1621. ; http://php.net/session.upload-progress.cleanup9 `. C% ]7 E( H1 P' C
  1622. ;session.upload_progress.cleanup = On
    ! d: x" \' M9 Q& {( U$ I

  1623. 6 K8 H; v( J; [
  1624. ; A prefix used for the upload progress key in $_SESSION
    4 q! \/ U2 S6 y, n$ ]! Y* I
  1625. ; Default Value: "upload_progress_"
      f; D& G1 j+ U4 w0 ?# c7 @
  1626. ; Development Value: "upload_progress_": Q9 G8 s% a' I
  1627. ; Production Value: "upload_progress_"
    ! Q/ J- D- F. ?8 b; |
  1628. ; http://php.net/session.upload-progress.prefix
    ) N) g; S9 e& b
  1629. ;session.upload_progress.prefix = "upload_progress_"8 m: b5 ^' A& s) I7 e/ C0 t; b' b

  1630. 7 I/ V  d# V" m, F6 I" C( [: |
  1631. ; The index name (concatenated with the prefix) in $_SESSION
      l! B' {! V2 e$ s
  1632. ; containing the upload progress information1 z4 p; S/ |, T, [
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * {4 ?. b: [$ U, h9 v
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 m$ Y( m3 b" D2 u+ \! ~
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"6 U' V. w5 S2 H9 I* f- m6 f1 l
  1636. ; http://php.net/session.upload-progress.name
    $ o: _6 g6 {+ ?6 M
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"% P! p* ~5 H( ]! Z2 z

  1638.   ~# Q: k9 |5 w+ e. {# D* S/ C  u
  1639. ; How frequently the upload progress should be updated., U7 E; ~' y5 J  n' s
  1640. ; Given either in percentages (per-file), or in bytes/ D4 [, J1 \: C5 X7 V1 |& \3 p4 u
  1641. ; Default Value: "1%"; X/ W  S: ]0 v. E$ `8 a
  1642. ; Development Value: "1%"
    & g/ A  Y6 i  x: g
  1643. ; Production Value: "1%"8 l1 `+ r5 N8 Q, A
  1644. ; http://php.net/session.upload-progress.freq
    3 t; U( p8 d0 H+ ]# }3 o
  1645. ;session.upload_progress.freq =  "1%"3 g* D3 o6 E+ s' f

  1646. 0 @" l$ a* x8 T$ D
  1647. ; The minimum delay between updates, in seconds
    , W. ]* M. @& }' U8 b3 o
  1648. ; Default Value: 14 h% k5 @" k) c' T
  1649. ; Development Value: 1
    % @% h4 a  _7 [  p) d6 g! }/ e( c
  1650. ; Production Value: 1- a4 N9 L" ~0 w  j$ m! e$ l- r
  1651. ; http://php.net/session.upload-progress.min-freq
    . D0 t3 b6 r. z
  1652. ;session.upload_progress.min_freq = "1"
      {* n6 ?3 l8 N& \+ w# r. I
  1653. 0 Q5 ?. Z9 J* \* y) M$ @, B% C
  1654. [MSSQL]( `7 S  B: f/ m# d8 r/ u
  1655. ; Allow or prevent persistent links.: {" s" R" j- t! H
  1656. mssql.allow_persistent = On' [5 i# p6 I) o% Y  W
  1657. 4 Y7 d+ J) E' g* ^) c" v& h
  1658. ; Maximum number of persistent links.  -1 means no limit.5 W* V8 G3 m( e% a/ \3 J7 ^
  1659. mssql.max_persistent = -1
    & t5 l! g% K! ^8 _  B4 @3 i
  1660. ' j  T/ }# @# A
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    + y; N, h5 e4 [' I
  1662. mssql.max_links = -1( r2 B8 J& O2 b6 t/ J+ J7 T. ]
  1663. 6 d7 }, k8 u- w) a! h( B
  1664. ; Minimum error severity to display.( O$ s3 t5 x+ l9 Z7 `
  1665. mssql.min_error_severity = 10
    ! N) S( y6 F& S+ _
  1666. 5 ]" b  _1 u6 N8 K
  1667. ; Minimum message severity to display.
    3 J+ T6 d+ e' h" ~
  1668. mssql.min_message_severity = 109 w; y6 Q% B& s  `- _: g
  1669. % h4 W) g  }$ Y6 O/ M) V0 x
  1670. ; Compatibility mode with old versions of PHP 3.0.: `+ x. Z) q) T1 `# x
  1671. mssql.compatibility_mode = Off( [( O$ D  J+ h
  1672. " f8 E3 S; K. \; R+ H
  1673. ; Connect timeout
    ( Y( v! k: D3 m5 Q; J$ l. j
  1674. ;mssql.connect_timeout = 5  K9 m5 `, c/ T* k! _

  1675. 5 m0 t7 I& j+ S: l) B7 D. i# t& ?
  1676. ; Query timeout! M3 ^" p" J% W' {) j
  1677. ;mssql.timeout = 60/ H# P6 P  }: c2 L' M

  1678. 1 ^  l9 T, T1 e; q' o( S
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    7 }5 R2 d' H: B, ^5 X- |" @# D. c
  1680. ;mssql.textlimit = 40960 G* E+ y- A( L4 q" h- _7 x

  1681. 6 a$ o1 i/ [- L: }% ?9 Z
  1682. ; Valid range 0 - 2147483647.  Default = 4096.2 l( L- d) K  _
  1683. ;mssql.textsize = 4096
    , g6 G2 N6 U, p& i) @; k
  1684. & r- P" W  A# I% ^- e/ f
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    , w" l# F5 G; X0 b- W! y/ e
  1686. ;mssql.batchsize = 0& c) I# b9 h& C& S5 A* N

  1687. ' ^+ F: h5 }3 n0 }& b4 D
  1688. ; Specify how datetime and datetim4 columns are returned
    5 p# m0 X" W( q
  1689. ; On => Returns data converted to SQL server settings0 c5 o  U3 ?+ \( O5 z5 W5 ~
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    0 G0 d* [& L6 L; l( i* O: m& C
  1691. ;mssql.datetimeconvert = On
    4 B( u9 H9 r+ N+ Y4 C! C( v
  1692. + C* \* V: V  e2 W0 }) F  Z, N" f
  1693. ; Use NT authentication when connecting to the server9 D3 ^. v' r6 j: N/ B+ X$ r! C
  1694. mssql.secure_connection = Off: S! Q' a$ N" u& o) S
  1695. " v- _- ^) f7 U/ a
  1696. ; Specify max number of processes. -1 = library default
    , R- p0 H! f& H, r% k8 J6 Y2 y
  1697. ; msdlib defaults to 25* b/ d5 A5 Y# \! P
  1698. ; FreeTDS defaults to 4096$ L, a( z* w3 f5 g+ ?  X
  1699. ;mssql.max_procs = -18 H' _+ x( G  W, j" I

  1700. 9 Z1 n' r1 \& W6 C6 o
  1701. ; Specify client character set.* G7 P$ j: s% Y9 [' k) A: s, Y
  1702. ; If empty or not set the client charset from freetds.conf is used
    / `) H: \  d1 B5 X. r3 _0 {
  1703. ; This is only used when compiled with FreeTDS$ @! S/ q: o2 J1 E& w
  1704. ;mssql.charset = "ISO-8859-1"" ^/ h" t, C* u3 j
  1705. " A" t" ]% ~4 K5 w# K0 t: a9 e
  1706. [Assertion]$ A7 x7 B) O6 G' @. M: m7 Z
  1707. ; Assert(expr); active by default.
    & J" y3 i# }# n! G' q/ ], D: b
  1708. ; http://php.net/assert.active
    4 S$ o( Y( W! Q  ?. ]
  1709. ;assert.active = On
    & h( s1 N2 g, R/ n" y5 B6 m
  1710. " U! Y6 V# m& ]2 c
  1711. ; Issue a PHP warning for each failed assertion.2 k) i  o* R, X6 o( y
  1712. ; http://php.net/assert.warning# q) T# w- `! ^  w, r+ E# j
  1713. ;assert.warning = On
    ) g1 h7 d# G  Z  I4 r7 z$ S/ Y% K

  1714. & a, ]. \# @# s6 R8 ]7 q
  1715. ; Don't bail out by default.% \) y; c* t# t
  1716. ; http://php.net/assert.bail( z! |% e% X9 Z% x
  1717. ;assert.bail = Off
    9 [1 s( m7 C: g) ?+ e" `

  1718. ) P" X( C# U0 }9 d. n: q( s
  1719. ; User-function to be called if an assertion fails.
    4 s  q1 I! Z; v0 ^3 e. ?& r& W
  1720. ; http://php.net/assert.callback" _- |. ~% k9 a1 L
  1721. ;assert.callback = 05 L) Y4 M1 D/ _1 _7 d7 Z* d
  1722. % i8 \9 c6 C1 J5 T. U7 K& N8 M6 `& J' @
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    % D/ h. G9 R0 P
  1724. ; error_reporting(0) around the eval().
    , K0 J0 j* Q8 u) Y& I& M
  1725. ; http://php.net/assert.quiet-eval; `0 [2 |' }- l* _% ?6 ?, z
  1726. ;assert.quiet_eval = 0
    ) J1 P$ b' h3 A

  1727. & I1 ]6 {$ w2 }3 o4 F& e# C
  1728. [COM]
    6 F) l7 G. }  \* |" F
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    6 Y( S5 ?3 u: R& |" c; G
  1730. ; http://php.net/com.typelib-file+ C7 g% O$ M) U+ J  j$ }+ V
  1731. ;com.typelib_file =
    * s  L$ f3 o2 i% B
  1732. * Y9 @% ^3 ^4 ~5 [
  1733. ; allow Distributed-COM calls
    7 F% o3 a0 X# _* k; f
  1734. ; http://php.net/com.allow-dcom0 U& A, c* W* x# r7 T$ z
  1735. ;com.allow_dcom = true! @; }) a0 i3 P& `) v7 O; i2 j

  1736. ( K0 l, T4 [& q; ^8 c3 f; x
  1737. ; autoregister constants of a components typlib on com_load()* }) s/ q# J0 V. X2 A  a% ?
  1738. ; http://php.net/com.autoregister-typelib
    ! N  T" n- n3 L0 c$ _: J2 e
  1739. ;com.autoregister_typelib = true7 `) `4 Y% q4 v+ @% F. D

  1740. ( v8 v+ V/ \; U1 l
  1741. ; register constants casesensitive
    5 S$ V  r+ i( o8 s% |
  1742. ; http://php.net/com.autoregister-casesensitive, `: `4 C; W% L- ?  z/ [0 P6 \
  1743. ;com.autoregister_casesensitive = false) P" V( V( J5 y  j. p

  1744. ) n, n: ?7 n' k6 q$ @8 O
  1745. ; show warnings on duplicate constant registrations
    " ]$ ]8 Y7 ?4 P; ^
  1746. ; http://php.net/com.autoregister-verbose& b% C; y; ]* f2 t' _
  1747. ;com.autoregister_verbose = true
    6 {7 ^% n/ o5 m2 d: ?

  1748. # y( C4 }0 s' y7 p. q% c" R  `+ t7 ^
  1749. ; The default character set code-page to use when passing strings to and from COM objects.  p/ \: ~- K' {- c& T" Y. M( ]% i
  1750. ; Default: system ANSI code page4 L7 t0 @; T' d- v3 I! e4 A
  1751. ;com.code_page=
    4 ~' {! o2 S+ @" L' W% F1 i

  1752. " }6 }$ `5 p+ ]' q6 y- D1 Z
  1753. [mbstring]. W+ C/ s7 F7 z! ~6 o$ h, U
  1754. ; language for internal character representation./ w8 `  n% ]9 p1 b+ S  O' @% e
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ) C- v' V; J+ m% w% q: c
  1756. ; http://php.net/mbstring.language8 A$ m8 E6 @: s
  1757. ;mbstring.language = Japanese
    ) s& _2 ]* \# r( Z% Z

  1758. " a& l' _, ^- z! _  d9 H
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    : i- g8 g+ X! [+ y
  1760. ; internal/script encoding.5 d7 C$ y* e9 i9 y
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    6 X' Z) x. ^5 r( W" E7 r7 @
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.. ?( H) P# E& A3 ?+ s
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding2 c0 K" L% W$ `
  1764. ;mbstring.internal_encoding =% {! X& t+ G2 d9 U6 P2 v8 w) }
  1765. , w: s* f% T# i9 [& g! P
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead./ l! }' X1 [7 _  y# W0 s6 X
  1767. ; http input encoding.: p& G& N, S7 z/ {: R  H# M* ]
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    % |* H. F3 {* G* |3 b' [% `
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    6 N" S, K2 |5 ]3 g2 \8 x2 c
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input( |8 y4 `: k# j3 c( \( w- z/ g" w
  1771. ; http://php.net/mbstring.http-input
    / s. z  }0 A' V; n; Z0 n. x% f" Z: f
  1772. ;mbstring.http_input =
    3 f7 Z4 f$ S1 a% E# u1 S7 \

  1773. 2 @" l' ^7 p1 g: q. |& Z; {8 b
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.: ^0 ]. _7 d9 b. Y! Q( R) k# X
  1775. ; http output encoding.
    & e% {# o! ~: Y6 _0 L
  1776. ; mb_output_handler must be registered as output buffer to function.
    8 W( X8 b  \5 J! Z/ r8 b
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    - T- @  {: v9 y# w8 w& ]
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    7 K0 Q3 f+ B8 r/ b5 M3 G6 f1 ?
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    . h; i. G% C- c2 Q' Q5 p7 p- H! J
  1780. ; otherwise output encoding conversion cannot be performed.! X. g( d/ k1 p: M- g5 `* }$ b  B
  1781. ; http://php.net/mbstring.http-output! ]1 u  m% y: w
  1782. ;mbstring.http_output =
    6 s! @) U! P- f0 e' M9 X+ Q

  1783. 6 f' o  [# v+ B6 l+ p! h; w, ]
  1784. ; enable automatic encoding translation according to
    0 F5 e: E7 `9 X' h
  1785. ; mbstring.internal_encoding setting. Input chars are  k3 `0 \/ D2 o
  1786. ; converted to internal encoding by setting this to On.+ H6 p( r, }: Y8 M( I
  1787. ; Note: Do _not_ use automatic encoding translation for- q7 q# n" s8 z+ x" E
  1788. ;       portable libs/applications.
    ' h1 n" ~  h) h. C# E
  1789. ; http://php.net/mbstring.encoding-translation7 m$ e1 l/ S1 [; O) r
  1790. ;mbstring.encoding_translation = Off
    $ a- x6 {0 R! W. \0 i. _1 J! d

  1791. & S! U# o% T' e" X' }* p! p
  1792. ; automatic encoding detection order.; r' K5 X1 s: u  F
  1793. ; "auto" detect order is changed according to mbstring.language
    & u7 m, A" w6 H1 R1 N7 P
  1794. ; http://php.net/mbstring.detect-order2 E1 a6 R, K9 `' F5 m: f
  1795. ;mbstring.detect_order = auto3 k1 C+ }# V( Q1 y

  1796.   }! f% J* _% }+ R6 ^) j; q
  1797. ; substitute_character used when character cannot be converted
    . S( j& ~( n8 A, c
  1798. ; one from another1 a. @  p2 w+ D7 v- I
  1799. ; http://php.net/mbstring.substitute-character3 C9 R( G0 n, o! a, q/ {* R
  1800. ;mbstring.substitute_character = none/ \* S5 X8 o( a" p% H0 j

  1801. 3 _3 @1 w; y) Q2 W$ x' x
  1802. ; overload(replace) single byte functions by mbstring functions.6 |* |2 d- j4 W9 U
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ) \9 x8 I/ B5 w7 C/ l+ P. S
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.+ ^, `8 `( S, r/ E. ]1 x; h
  1805. ; For example, 7 for overload everything.
    2 z3 v, `3 v3 @" @7 A9 r
  1806. ; 0: No overload  w( a9 n( l5 ~8 z$ U+ C# P0 @
  1807. ; 1: Overload mail() function
    ' o$ `4 v! Z0 ~0 F) s* _3 _4 v! v
  1808. ; 2: Overload str*() functions
    0 ~: l+ N8 C2 I8 h
  1809. ; 4: Overload ereg*() functions/ m$ \4 l" D" _, q1 B' _$ E4 ^
  1810. ; http://php.net/mbstring.func-overload) B9 d0 }6 @6 e; `6 \% z  ^
  1811. ;mbstring.func_overload = 0
    5 l! ^" r" p9 [8 S8 U; m
  1812. ( N+ A: h" C, ]8 ^: v
  1813. ; enable strict encoding detection.
    9 _, \4 {+ q- v1 Q0 U) l
  1814. ; Default: Off
    ! a- y8 y4 a2 m1 n1 W/ f7 y" p
  1815. ;mbstring.strict_detection = On( D* e9 @- u5 }& n

  1816. 7 p: K, [& T6 @( d8 H
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()) M3 G% G1 U# c! N: b2 C+ y
  1818. ; is activated.
    7 ]9 N1 Q' w1 A# c& S! i( _5 c0 Z5 @
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)* p/ A0 J' d; u! Y1 W& O
  1820. ;mbstring.http_output_conv_mimetype=
    " _: Z: Q" C5 D/ R- p% ?) ^
  1821.   n( B! m6 R1 w: ]; v- ^1 k
  1822. [gd]
    2 U5 Y& u, \" S) W# c$ H
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    1 P! ]( P. B' x/ ]' k( R2 [3 }7 A
  1824. ; a gd image. The warning will then be displayed as notices7 R; r- O: ]# V, I, _* v% f. N' H
  1825. ; disabled by default% N' z* ~8 G, X' V9 U3 T/ h) H
  1826. ; http://php.net/gd.jpeg-ignore-warning" T+ M$ ?: F5 M) X  c; O1 d' S3 n0 D
  1827. ;gd.jpeg_ignore_warning = 0
    & H  f  O  F' m3 i; X
  1828. / Z3 t  g9 v9 u$ }# @& `
  1829. [exif]
    ! [0 @- h+ P( ?5 S! N1 O; Y
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.: m* H7 }/ U6 a9 Y4 ?) Q0 {
  1831. ; With mbstring support this will automatically be converted into the encoding9 s% `+ H" m3 ?; b+ U6 U+ j
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding* {0 A: J/ l* {, V& M
  1833. ; is used. For the decode settings you can distinguish between motorola and3 _1 P6 Z3 t  u1 `9 Y& g# d1 w: e
  1834. ; intel byte order. A decode setting cannot be empty.- |; X. n# ^; \! r: g& A: U
  1835. ; http://php.net/exif.encode-unicode
    1 D2 g7 z: r! I9 q. F
  1836. ;exif.encode_unicode = ISO-8859-15
    9 _& M+ `" Q8 W1 A7 D

  1837. ' B" K3 R) Y2 d  H' U  E: T
  1838. ; http://php.net/exif.decode-unicode-motorola
    $ _: F7 u- i" N. A& h
  1839. ;exif.decode_unicode_motorola = UCS-2BE/ ]5 X- v, E. k& S* G

  1840. 7 ]1 J4 s+ g' L3 A  E; g* Y$ W
  1841. ; http://php.net/exif.decode-unicode-intel  \: w0 j- G8 U
  1842. ;exif.decode_unicode_intel    = UCS-2LE4 q/ d& U& I! @! ~

  1843. 4 C6 r& m0 e. `$ w: i
  1844. ; http://php.net/exif.encode-jis
    % x1 g! u) y* v9 S
  1845. ;exif.encode_jis =
    * V" P9 a% h( P" \1 S
  1846. * o+ |- S3 p7 z) p
  1847. ; http://php.net/exif.decode-jis-motorola
    0 O$ M! W# V# `* y; X
  1848. ;exif.decode_jis_motorola = JIS
    . [2 @+ R! j) }; y3 i, Y5 V* M3 s

  1849. & \( d0 x0 |( \: r
  1850. ; http://php.net/exif.decode-jis-intel& n6 i& Z! N0 C$ g$ d6 W
  1851. ;exif.decode_jis_intel    = JIS
    / T) T; D' I/ m& T6 H9 \; S: ?

  1852. / h8 z$ o! U4 I0 Y- ~
  1853. [Tidy]
    0 Y! q$ @0 I% s% A5 q6 S6 z  D
  1854. ; The path to a default tidy configuration file to use when using tidy# m0 }( d& ~5 }) b4 @% }
  1855. ; http://php.net/tidy.default-config  G! t5 F" k0 @7 x: n+ q
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg( `5 S4 C, T5 j5 [0 `
  1857.   E/ Z; O8 ?# P  A; E/ E* w- M* f
  1858. ; Should tidy clean and repair output automatically?
    : U1 u0 a2 c+ z  }0 a- [# r. U8 F4 @
  1859. ; WARNING: Do not use this option if you are generating non-html content- m' q/ s. x' {0 ~4 ?! `
  1860. ; such as dynamic images
    0 |6 i8 \+ w9 |2 A& \9 v* c
  1861. ; http://php.net/tidy.clean-output
    ! G: r7 u) m7 g' g, Q- [
  1862. tidy.clean_output = Off" y. y4 f1 P% n/ O

  1863. 1 I/ a+ Y- P) \. g" F
  1864. [soap]( |& d5 x. ?2 z5 A2 n) g4 f  i
  1865. ; Enables or disables WSDL caching feature.
    , ?, o: t1 Z8 [& A) h) T
  1866. ; http://php.net/soap.wsdl-cache-enabled" k& m, {  j3 O8 D# h
  1867. soap.wsdl_cache_enabled=1( H' x2 ], N! L. A  n

  1868.   `* ^& c3 v* K6 ?& [
  1869. ; Sets the directory name where SOAP extension will put cache files.& ?) T* F$ h8 S) D) K
  1870. ; http://php.net/soap.wsdl-cache-dir% k5 `( v+ i" Q) e: P
  1871. soap.wsdl_cache_dir="/tmp"
    1 M; Z7 s9 G/ V) s0 s# N: x% h

  1872. , j. n( O  r" j6 G2 e
  1873. ; (time to live) Sets the number of second while cached file will be used+ A" p: ?# O2 J% E- @
  1874. ; instead of original one.
    . E$ Y( d9 t& B% D' _
  1875. ; http://php.net/soap.wsdl-cache-ttl" D' j7 m# u7 F; X, E
  1876. soap.wsdl_cache_ttl=86400
    # Z. d5 ~- t1 w8 D

  1877. % W$ ^3 h6 F1 _7 W0 h' p
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    $ Z) a3 }; B4 {+ j# z! J& m9 j9 I
  1879. soap.wsdl_cache_limit = 5
    4 X8 }& _: G1 B# e' p

  1880. ( |3 @$ A) I" S+ i- w( W" g' i1 j2 ~
  1881. [sysvshm]
      k3 _( F! F8 G6 G$ K' e
  1882. ; A default size of the shared memory segment
    , d. Y6 ?) x. B# a
  1883. ;sysvshm.init_mem = 10000! p  P! z2 j8 B6 Q4 d' C; R
  1884. - }& u$ S" {1 `: g  i
  1885. [ldap]7 f3 D9 z8 b: L1 P
  1886. ; Sets the maximum number of open links or -1 for unlimited.# d) L: V  |* S( j
  1887. ldap.max_links = -1( A# b# k: L+ V4 [# v; s- M. x

  1888. % R+ k: h' A0 T' h
  1889. [mcrypt]
    2 m* p( w7 t7 V
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ' T! H# i* N% M
  1891. 6 @( D5 P- p! B# ?! ?9 y2 ]
  1892. ; Directory where to load mcrypt algorithms
      ~7 J1 O6 @( c% T0 z5 X
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ! X8 ]- b* F( g$ e1 z. d$ C/ `
  1894. ;mcrypt.algorithms_dir=
    * q/ ^* D4 @6 u: P. @+ ]$ o: j
  1895. 3 D) T& C, n# ?! N9 x/ {
  1896. ; Directory where to load mcrypt modes
    8 b& B4 f+ Z. {9 w
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      K4 R; r, `1 a, N
  1898. ;mcrypt.modes_dir=7 R9 [8 W, U3 O% }7 y3 G! ?3 S# O) x" D  |

  1899. # d9 T, k6 @( S0 z0 P0 |
  1900. [dba]
    . R* _5 s1 e1 j4 t" O; Y4 ~
  1901. ;dba.default_handler=1 g% e4 ]. J2 M7 z+ B

  1902. : P/ f5 v& f. N+ S' s3 S
  1903. [opcache]
    3 L1 {; v* ?! n1 c. ]- t8 f
  1904. ; Determines if Zend OPCache is enabled
    . R! C1 V! {: R1 {/ l: H9 F
  1905. ;opcache.enable=0
    " X$ n( _- n1 k0 Z: x$ B

  1906. + A* N' T. {. U( g8 V8 h
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP7 ~8 B& Q, B$ U1 ?/ N* [$ K
  1908. ;opcache.enable_cli=0
    , |. l5 |7 D- V7 z7 i0 y! o
  1909. 8 O# o: h! |( K6 s- L
  1910. ; The OPcache shared memory storage size.1 o) c8 }: q6 i$ D" S
  1911. ;opcache.memory_consumption=64- v( J- W  _( ~$ [  U+ _+ |

  1912. % r; D2 e# L7 @6 z+ c% c6 w* y/ n
  1913. ; The amount of memory for interned strings in Mbytes.* z; `6 M0 i* a$ L
  1914. ;opcache.interned_strings_buffer=4. t( M, }+ H5 i- M' W8 ]* w
  1915. % c  q! T# d; C
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.) z' }, i& O/ [! V; E1 N; b
  1917. ; Only numbers between 200 and 100000 are allowed.) b5 i/ W) m& @" u( j3 ~
  1918. ;opcache.max_accelerated_files=2000( F! L" k8 f# O+ H- G2 T7 a

  1919. ! C( \* Z7 T! X7 Q* Z! i
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled./ E0 a8 L! H; _: H
  1921. ;opcache.max_wasted_percentage=5
    ; W2 h% _7 M  b1 V, n
  1922. : U% z* ]; ^6 a1 t; W
  1923. ; When this directive is enabled, the OPcache appends the current working/ `( R" A5 n: C6 O. L
  1924. ; directory to the script key, thus eliminating possible collisions between
    $ C! t# ~0 ?* j3 |
  1925. ; files with the same name (basename). Disabling the directive improves
    ' f' q( V6 k) E! p9 \3 }' n0 K- g
  1926. ; performance, but may break existing applications.
    / z: R. }) Z* l% T- F7 W+ L; Q" D" S
  1927. ;opcache.use_cwd=1
    - N3 J: V, q# ]# C% g( M* |; o: M: U7 w
  1928. ( @, T) w) `$ \- a& s7 }
  1929. ; When disabled, you must reset the OPcache manually or restart the5 |2 K# L' B* v) @# D3 J' y
  1930. ; webserver for changes to the filesystem to take effect.
    ; d# j; i5 h7 h) {
  1931. ;opcache.validate_timestamps=1( k7 E) K% y' F' d* d0 z, c

  1932. 7 e0 f4 |& d7 q! v. c  |
  1933. ; How often (in seconds) to check file timestamps for changes to the shared: _$ }* C9 L4 D% O7 l
  1934. ; memory storage allocation. ("1" means validate once per second, but only! {! `" M0 w! K; w  k  h1 l- O
  1935. ; once per request. "0" means always validate)3 r$ ~% i( N) S! U4 e/ c
  1936. ;opcache.revalidate_freq=2
    # O+ p' {0 E' K! b- j  D

  1937. # I  p+ C) p9 T9 g, y
  1938. ; Enables or disables file search in include_path optimization2 c; |/ }8 X2 H" ]
  1939. ;opcache.revalidate_path=03 @1 @3 _( y- y  R: ~; x
  1940. - p2 T4 E  N7 |) B" B4 w8 X
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    $ \9 x: o0 y. m; o7 Z' p# l1 p* Z
  1942. ; size of the optimized code.
    2 O: r' A# M  t% j0 K
  1943. ;opcache.save_comments=1# F3 `& B7 n$ [7 c( f, D

  1944. 0 a! ^. p( I4 q8 v4 U3 s
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"  t. w; k; x7 B
  1946. ; may be always stored (save_comments=1), but not loaded by applications. q8 g6 @9 H) c, c5 v
  1947. ; that don't need them anyway.
    ! h9 U2 z, C+ \
  1948. ;opcache.load_comments=1& d7 b' X* T! `& p( f2 M
  1949. ' c! b9 n4 @; E& B+ a
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ( E1 l( r; A3 T! w& p
  1951. ;opcache.fast_shutdown=0
    1 _5 d2 k& @) y% b% ^  K7 ^" K- T
  1952. * A9 Y: x- K: `0 g7 o+ q& M
  1953. ; Allow file existence override (file_exists, etc.) performance feature.5 q: C, z: ?! J0 v9 a
  1954. ;opcache.enable_file_override=0/ l  S/ m. u7 G+ ]: ~, Y
  1955. % _$ f" }; J' J; c; G0 G" b
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    9 f! I; R/ u" \( ?
  1957. ; passes
    ) N) E+ h" A+ ]3 W8 O+ ]
  1958. ;opcache.optimization_level=0xffffffff
    : f3 t/ m8 k! L% C- b2 p& E* r9 Q
  1959. - X/ c8 M1 V4 I1 Q
  1960. ;opcache.inherited_hack=1# `$ v, K- {( B+ z! Z9 B9 G1 Z
  1961. ;opcache.dups_fix=0
    % N9 s6 I8 i' j" a9 b
  1962. 1 `# ?! ^# v4 ~, r
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    % K$ a# O$ ^# |4 O2 }
  1964. ; Each OPcache blacklist file is a text file that holds the names of files# S& c1 o2 Y1 c3 F2 f; q
  1965. ; that should not be accelerated. The file format is to add each filename
    1 k/ ?4 T6 i: p
  1966. ; to a new line. The filename may be a full path or just a file prefix
    4 \% P1 ?: K, e# [" n& U0 J8 L
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    - T- }( ?) r, }
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    6 B* k5 u! Q  Z# f5 t7 ~) W
  1969. ;opcache.blacklist_filename=0 }3 }: P+ z3 T. _- B' x

  1970. / y% p  E8 b2 c3 J, |8 Y0 v+ `
  1971. ; Allows exclusion of large files from being cached. By default all files
    # ^* @" E1 C# y  T. ?
  1972. ; are cached.
    " Q2 e6 ]4 @# I0 ]: I
  1973. ;opcache.max_file_size=0
    9 }7 A$ [6 R8 I; t5 c# `

  1974. & o7 }* [4 x7 {2 Q# H) q+ @
  1975. ; Check the cache checksum each N requests.- j. x1 S* q( `# ^6 t
  1976. ; The default value of "0" means that the checks are disabled.
    % A5 d" v2 |; `2 P3 P1 u
  1977. ;opcache.consistency_checks=0- r! }, K, ^/ R- N

  1978. ( w& ~" j$ _* Y1 ^" G( {5 `. Z
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    % ]# C% |  c6 `+ f
  1980. ; is not being accessed.
    7 v3 E' k( Q. m. Z' n, p
  1981. ;opcache.force_restart_timeout=180
    ! a7 `; O. S9 c0 z, Q+ Y

  1982. + V5 J. \( G) s  Z) t
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ( s# M( M2 A, C3 J
  1984. ;opcache.error_log=$ }) z- r# k5 \: }- ?# @* t2 H
  1985. : M' ~- ^2 t5 D" {' V8 Y% E; B
  1986. ; All OPcache errors go to the Web server log.; J2 f: \. X4 k4 x
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.0 k* n8 p3 E7 F' B4 x! W; ]- u) q% x
  1988. ; You can also enable warnings (level 2), info messages (level 3) or: b, `( b) L) \! K5 X
  1989. ; debug messages (level 4).7 J& s( s# K! H7 n
  1990. ;opcache.log_verbosity_level=1" A6 x0 Q4 z  u6 `' e8 x% k2 r

  1991. ( P5 B1 j& `6 K5 n
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.# \( |, u* c! G; Y$ O/ L1 [
  1993. ;opcache.preferred_memory_model=8 A. w) K9 E) Z! [7 r* H) Q' C

  1994. * Z) k9 p7 |* d4 `% j
  1995. ; Protect the shared memory from unexpected writing during script execution.
    9 a) u4 U+ v5 {) z
  1996. ; Useful for internal debugging only.
    ) Q. a2 |3 a& M" a
  1997. ;opcache.protect_memory=0
    : @' N& A3 f; W2 x
  1998. * i4 d$ p  @( m, A
  1999. ; Validate cached file permissions.
    5 b3 U. v8 ?4 X9 Q3 }- E" z0 b
  2000. ; opcache.validate_permission=0
    ! k4 X. p6 }1 ]2 N8 A

  2001.   @$ Y+ g- ?# P8 [/ F9 ?! W% L
  2002. ; Prevent name collisions in chroot'ed environment.2 D8 E3 s+ S7 c8 M( v: F
  2003. ; opcache.validate_root=07 A1 R$ {7 P# T. U
  2004. 1 s  o1 V) r1 v, g7 X& x8 J
  2005. [curl]3 z5 O& h3 O, O  w* W$ [
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    & Z( s. e  E; b
  2007. ; absolute path.& G# l! c. c$ }) E$ K' g
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt' U3 B6 P- |2 ~; k( i

  2009. # F! w2 a  q% _8 e
  2010. [openssl], n3 p; d% Y* E3 P7 c
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem% y' a8 v6 C$ j7 `) X! s2 j$ L
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    9 S/ [  B6 |4 R/ {
  2013. ; not specify a value for this directive as PHP will attempt to use the
    - ~4 D  [& `  p. S2 e% d
  2014. ; OS-managed cert stores in its absence. If specified, this value may still' O7 |3 Q' ]# N7 ]+ N
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context, h* y3 R3 R# x( K$ X7 o
  2016. ; option.
    ) w6 a! d2 H" o7 N+ T  r7 r% U. e
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt/ D$ i% h  n8 j3 Z
  2018. * T! Z) N0 x  Q5 A
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    5 A* E' T# _) R7 }7 @# O6 |
  2020. ; directory pointed to by openssl.capath is searched for a suitable; m( r( i1 U# z7 c8 u' j, `; |+ q
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    , ]$ E! ~8 I9 }$ E( b
  2022. ; Most users should not specify a value for this directive as PHP will
    5 ^# w, B  L0 E8 @
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    : H0 p0 {5 S% ?5 ]) I6 s
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    6 R2 C" [4 b$ I3 |, g8 b
  2025. ; SSL stream context option.
    6 R+ v. A: k% D6 T& _; H
  2026. ;openssl.capath=
    % m, P( s  F0 y: @- l  T+ ^

  2027. / L0 W/ q( N, S5 o, N
  2028. ; Local Variables:
    / ?( M- Y, ]( J2 v; P
  2029. ; tab-width: 4
    . @1 p, ?0 {6 p5 Z' U) b3 B
  2030. ; End:
    + p% S, L! w' m" z. {2 M
  2031. 0 S* L$ ^, h4 c
  2032. ;eaccelerator. l8 o0 `4 W  p1 E# w' H
  2033. 2 Y/ k% u  p) U' R% t$ C
  2034. ;ionCube
    * t5 ~  Z3 J# |9 q

  2035. $ U, X% p2 H" Y. n+ C
  2036. ;opcache
    + T" }+ z* @5 T1 i7 ]# t

  2037. 9 v- k5 F$ u% t0 N. C. i# R5 T. ^
  2038. [Zend ZendGuard Loader]
    : C. e7 X0 F& R( R* t. B
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    3 g* w4 J! X9 _  R" ]
  2040. zend_loader.enable=17 {% R" j) d7 a& g  `9 A* s
  2041. zend_loader.disable_licensing=0. Z5 I$ R0 G8 I$ O8 f
  2042. zend_loader.obfuscation_level_support=30 A2 y" ^3 c6 ]7 L1 y5 L/ ^  A) l2 h
  2043. zend_loader.license_path=& ~% n% d2 m! E" |: k
  2044.   |5 p3 H8 k; y9 ^
  2045. ;xcache
    3 s3 o6 _) z8 e
  2046. 2 E+ G, L+ ?4 s" g4 f
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
# b8 B& j2 e  M  ~' L& c2 M) S0 \/ ?' v/ t& Y, u) r  h: K( I( f
, d3 E! y6 h- S# e5 r0 I& I6 D% B
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,) ]3 @! l% M. }7 m  _+ Z4 c

$ F1 F+ m' M4 `% }$ v3 bDiscuz!程序版本选择:% N8 x( ?1 O+ b8 ^- \
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,2 K! L. m( `7 _0 r$ s
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:4 L: I4 W; C& \$ V
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。! O6 I. c# E8 \( s9 ?  G
7 S  L2 Z. g* V) u( r3 T
Discuz!插件模板版本选择:
% O# r2 @! j0 y很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
4 O& \" f; h, Q  b针对这个问题做个统一的普及:! R: \8 T0 c" G9 m. b' w
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
6 k  Y) W  e1 o1 p2 P4 B2 z3 s0 A, e$ ?6 D1 X! P( O, ~# S3 n3 h
所以9 o- ~( z; H, C# \0 }* a( U
适合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 G6 J# R" D3 U9 R) W( g
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。4 V4 W/ D; L4 W7 c1 G( y1 A9 q0 C
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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