分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0$ a$ H) i; J. s  Y( B8 M1 Z

5 n. Q5 v3 N$ u5 u& a3 Q) C3 S8 v3 {2 V
  1. [PHP]
    " n' @7 I$ q, ~7 E* R
  2. / X% p- r- d* i# C1 i0 i
  3. ;;;;;;;;;;;;;;;;;;;# g" ?/ m3 P' |1 S/ n
  4. ; About php.ini   ;0 m" c4 E# _( B- t+ O- _2 R5 H
  5. ;;;;;;;;;;;;;;;;;;;
    , F5 P) `* W& ?6 i  u  Y
  6. ; PHP's initialization file, generally called php.ini, is responsible for; l3 Z7 V0 h- {% ^$ a$ T/ z' P" R
  7. ; configuring many of the aspects of PHP's behavior.( H. B/ f6 h$ o- v
  8. 3 m6 J' o# d2 ^
  9. ; PHP attempts to find and load this configuration from a number of locations.
    " g3 g) K5 \0 V
  10. ; The following is a summary of its search order:
    ) U! h9 {' W* n. x
  11. ; 1. SAPI module specific location." l6 v& S$ }' p, d
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    0 r1 W) v, N! h' x& X3 L
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)8 V* p: }4 U+ Z" U* @
  14. ; 4. Current working directory (except CLI)& y0 @4 l# e) |+ I$ O! r( o
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ; I& c! J' Q2 r
  16. ; (otherwise in Windows)
    ; g; F; ^0 N- |) O  ~" |. ~
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ' f: I& A8 c1 o+ g  o  }. U
  18. ; Windows directory (C:\windows or C:\winnt)( C2 R9 C5 g2 T, ^* I& a
  19. ; See the PHP docs for more specific information." E& x8 V4 W3 Y; t1 p; Y
  20. ; http://php.net/configuration.file2 D( i. l. n$ X, z! U) D

  21. 1 Y& m4 T) m% h, h% k
  22. ; The syntax of the file is extremely simple.  Whitespace and lines6 P/ A& d; Q8 i2 N! {5 q
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).8 d  p0 V8 Q. ~- O$ `4 H
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though+ \1 x2 s- h0 \1 l- ^- D: y: w
  25. ; they might mean something in the future.
    : e( [- e) {& o! k2 H

  26. 6 Y2 F7 V* ~0 u" H3 e. O: c
  27. ; Directives following the section heading [PATH=/www/mysite] only( o# E' U& f1 A! h) i7 `
  28. ; apply to PHP files in the /www/mysite directory.  Directives$ l$ H/ W9 C7 p7 a
  29. ; following the section heading [HOST=www.example.com] only apply to
    ! B" \6 t7 D) q3 U4 i- g
  30. ; PHP files served from www.example.com.  Directives set in these. S3 I. ^# u6 T4 b/ w& _
  31. ; special sections cannot be overridden by user-defined INI files or
      ]- y2 W% d& O4 m' \
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    % F9 V- X% Y( r% n) T+ S3 [3 l
  33. ; CGI/FastCGI.- s" I, r0 T6 w5 o! P" s7 ~
  34. ; http://php.net/ini.sections3 o5 z! p9 n  \! Y! v( W8 z; a

  35. # D' J7 w  J1 B5 K8 o& T
  36. ; Directives are specified using the following syntax:
    + F9 m8 ?1 [6 ~1 q8 w7 o
  37. ; directive = value
    & U' Z0 c% F0 L; I
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.3 B: I6 i- A" {  ]( E8 w3 u& g
  39. ; Directives are variables used to configure PHP or PHP extensions.
    , q) s* D, S) U' x2 v
  40. ; There is no name validation.  If PHP can't find an expected
    : t) j1 y& Q3 v1 @) P% C
  41. ; directive because it is not set or is mistyped, a default value will be used.
    4 {- _4 V$ R; q5 ]
  42. 5 u' r4 |+ G* N6 B% q  n
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one2 ]) N$ \! f. @& v# ^: y% o# n
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression" N- Q" _- t8 h& K( D+ V
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a/ z) ]+ x. {+ ?- g6 M: |# i
  46. ; previously set variable or directive (e.g. ${foo})
    0 |  r; o. q0 D/ {% G

  47. / h: K/ l8 J! ?, O8 \
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    3 ~5 T( H, e7 O7 g
  49. ; |  bitwise OR0 w4 I' [; K3 i& g5 m1 b3 r* g, M
  50. ; ^  bitwise XOR, k6 E% t0 Q" X& e5 d
  51. ; &  bitwise AND
    - h) m$ j% ^$ {! x' z0 Z$ L
  52. ; ~  bitwise NOT8 X& Q/ O' e7 j' k, C6 v- A! Q
  53. ; !  boolean NOT
    & G. \2 P" U2 f; H# z# H

  54. 8 j- r# e, f2 l) B
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.& r/ B5 I( W$ ^
  56. ; They can be turned off using the values 0, Off, False or No.3 S! F) q+ X7 k% G$ J, G
  57. & f9 h" m7 s8 g# f# u) O* ?- b
  58. ; An empty string can be denoted by simply not writing anything after the equal1 c  t, d1 a$ s& Y# {
  59. ; sign, or by using the None keyword:2 q6 c, y" Z1 `5 o" r2 I

  60. 4 W1 X1 b: O, y1 X) J+ Z$ h
  61. ;  foo =         ; sets foo to an empty string" k) L) |: L. s6 k) v( q8 Y
  62. ;  foo = None    ; sets foo to an empty string. ]2 y2 E( P" Y; C* K  v
  63. ;  foo = "None"  ; sets foo to the string 'None'8 N$ l8 s, j% ^4 f. _

  64. 6 h" Q) A* a+ S7 r5 B+ [. L9 R
  65. ; If you use constants in your value, and these constants belong to a
    2 d, }9 ^6 v- `) W& V! c
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),6 `% s. C% Q& g6 M
  67. ; you may only use these constants *after* the line that loads the extension.- o5 ^5 j. Q: ~5 F5 ?

  68. 1 v1 Q( i/ f+ w' @+ l- d6 S
  69. ;;;;;;;;;;;;;;;;;;;% e7 w& v" c. G* V2 U8 a1 Z1 f4 ?
  70. ; About this file ;
    ( e; K7 `1 o9 m; F
  71. ;;;;;;;;;;;;;;;;;;;. Q! e7 c" a( g: Z; ^5 A) r9 }- r
  72. ; PHP comes packaged with two INI files. One that is recommended to be used2 r9 v. h8 J& `5 }
  73. ; in production environments and one that is recommended to be used in
    : y/ N$ q# @; @/ v! q+ m& p( g1 `, X
  74. ; development environments.
    % P! T: j* K; U7 H3 T

  75. # g5 ^( F* d: T1 l* x
  76. ; php.ini-production contains settings which hold security, performance and
    . _+ t5 k3 l9 T( ~" G2 ]0 f
  77. ; best practices at its core. But please be aware, these settings may break$ V" v' Y  A' {0 @% K1 B. O
  78. ; compatibility with older or less security conscience applications. We
    5 H% w! }: x0 ^4 |
  79. ; recommending using the production ini in production and testing environments.4 s4 q: Q5 }6 I9 S+ u
  80. , p+ I: p- z3 D# [
  81. ; php.ini-development is very similar to its production variant, except it is. U9 Z8 ?5 t0 E5 r% w( H
  82. ; much more verbose when it comes to errors. We recommend using the$ d% t- Q- a% \; X' s" c0 G
  83. ; development version only in development environments, as errors shown to0 P: k4 u' B$ v( y8 B9 r9 A5 u% k
  84. ; application users can inadvertently leak otherwise secure information., P  o5 Z8 s. w
  85. & y( p' N+ ?$ j/ ]& z/ k0 P# s$ d
  86. ; This is php.ini-production INI file.7 A8 \8 X+ \+ a: s. j
  87. % a5 R: X+ W3 A
  88. ;;;;;;;;;;;;;;;;;;;  N9 N: |5 |* u' y% J) U0 z) b
  89. ; Quick Reference ;# v( r2 ?/ c# Q& r
  90. ;;;;;;;;;;;;;;;;;;;
    , R$ Z; w  b# a5 P1 @( w* _/ o4 T
  91. ; The following are all the settings which are different in either the production8 w; B0 C& N2 B  w# b. g3 T
  92. ; or development versions of the INIs with respect to PHP's default behavior.. u3 x" E7 {! m2 K& n) R! s' J  a6 M
  93. ; Please see the actual settings later in the document for more details as to why1 O0 ~; {1 O. ~$ K
  94. ; we recommend these changes in PHP's behavior.6 c* G. e/ I/ m- k/ o0 M  S

  95. & D. O9 X' M: ]# w1 N4 r
  96. ; display_errors2 v# V5 S$ a& L% y
  97. ;   Default Value: On
    4 ]) G- l9 P2 P6 A7 O) n
  98. ;   Development Value: On/ ]. l- G2 k2 H4 A8 n
  99. ;   Production Value: Off
      A. W& q9 B# v6 T
  100. & k0 l& s, d3 _# o8 h: l5 o5 R
  101. ; display_startup_errors4 {9 I& F0 ~0 c8 y& R9 t
  102. ;   Default Value: Off# {6 K, v& T7 \# _1 W6 x
  103. ;   Development Value: On
    7 r9 y8 M1 U8 Y; Y/ X1 |, D
  104. ;   Production Value: Off
    & F7 _: |( L. O5 w4 R6 H

  105. # f; }9 g, G+ \& P. _+ _' F
  106. ; error_reporting7 D6 k: z+ p$ Z& w+ @7 W' O
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 |# w0 `9 k2 g5 C) w
  108. ;   Development Value: E_ALL+ X1 h: U, g6 P+ k4 G5 D  k
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ) b* ]  I: F2 Y- w2 \
  110. 7 p1 A2 H' A; M3 J9 E, Z* w- T
  111. ; html_errors
    # [% v5 `+ @- l: l! U. U
  112. ;   Default Value: On
    ' ]  f. r1 s3 H3 G8 Y
  113. ;   Development Value: On+ c- U, S2 Q' F
  114. ;   Production value: On$ ?' V* c, `& `  A9 G9 d
  115. 4 V5 K7 I. A' `( R. J9 |
  116. ; log_errors
    + |; U2 s+ d& o' ~6 N
  117. ;   Default Value: Off
    # @1 l5 x$ T% e8 L3 i
  118. ;   Development Value: On! m. i* l& v0 v0 n; l
  119. ;   Production Value: On
      X; A0 m7 Z' S0 |
  120.   {! m1 E9 ]" |2 U
  121. ; max_input_time
    6 j- r6 u3 V, b* s+ Y
  122. ;   Default Value: -1 (Unlimited)
    7 Y9 T3 E( t/ d! s0 W
  123. ;   Development Value: 60 (60 seconds)4 e/ }/ @6 |6 L! _8 n) d* j& p, N
  124. ;   Production Value: 60 (60 seconds)# q* D5 e# g$ x

  125. 4 I/ e% T  f" x. b$ }
  126. ; output_buffering
    2 n/ d+ _& K$ |7 c3 @, y% @, N
  127. ;   Default Value: Off
    & J. F: R- ^7 _0 r: I2 Y! S) b
  128. ;   Development Value: 4096# N+ B0 R2 G7 Y& O/ ^; F* K' @
  129. ;   Production Value: 4096) z3 X2 P7 e6 D

  130. 7 q* o" O* }2 y+ i
  131. ; register_argc_argv, {4 B$ I; k6 B
  132. ;   Default Value: On- b2 Z- A0 e2 {$ c1 n5 S
  133. ;   Development Value: Off2 F' A9 V3 L! x
  134. ;   Production Value: Off
    0 s0 Y+ |9 [! {+ W/ v6 O
  135. 9 @$ Q9 t& ^  M3 V: D# |
  136. ; request_order
    ; O3 z0 {9 V4 g. p+ p5 J* m" v' Z
  137. ;   Default Value: None
    ! G) e% v  P2 g( |- s/ W0 Q; C$ l
  138. ;   Development Value: "GP"
    ) v. _, [% Q! A* B& x7 s4 n4 b3 r
  139. ;   Production Value: "GP"6 y; c7 T- |& x/ n# v8 [
  140. 4 [* y9 L6 [. l$ V! `/ u( G
  141. ; session.gc_divisor
    : s' y, g3 B. r9 N, t- |. _
  142. ;   Default Value: 100
    7 C0 h# z) C* i7 d& k2 b
  143. ;   Development Value: 1000
    3 P& `0 L# D6 z$ F; [* r
  144. ;   Production Value: 1000& s: J8 J" k6 w+ O) |8 K; n

  145. ' O6 M6 F! r) O
  146. ; session.hash_bits_per_character- q$ [/ l' z/ a9 f
  147. ;   Default Value: 4+ M, X7 E( V; y: n1 V
  148. ;   Development Value: 5
    9 Y4 g9 w. ]  A# [* V7 x
  149. ;   Production Value: 5
    . z: N4 K2 `$ |: L$ y% ?
  150. ) P7 G( T3 G7 k  I' P" z1 S
  151. ; short_open_tag: s. c! W% f/ o! o; y
  152. ;   Default Value: On
    8 p  q# T. ^9 @5 {$ d
  153. ;   Development Value: Off
    # F- M6 d. t0 _
  154. ;   Production Value: Off& W! S( Q# l" F

  155. ! e8 M! z  J- p3 l) \
  156. ; track_errors
    1 |' o- H4 J# F, z
  157. ;   Default Value: Off1 Q9 m+ l. p: k+ @
  158. ;   Development Value: On
    , E; c& s+ S) V9 r
  159. ;   Production Value: Off
    ) u* W; g" ?, W

  160. ( [9 x, p* m' Y; C) Z* ?+ Q" ^$ J
  161. ; url_rewriter.tags. c% a  Z0 x, L3 q8 d) G
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=", Q* ]; ]9 j. k
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"3 Y! w$ h& ?5 y7 h3 T
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , Q/ C7 L! F* h0 @. s8 j
  165.   ^. r) J6 u/ f: S2 O7 k. D
  166. ; variables_order
    . O. j5 G$ q8 V. C0 J
  167. ;   Default Value: "EGPCS". G( H( \+ o  Y# a' q
  168. ;   Development Value: "GPCS"
    7 L0 {% {/ O! c
  169. ;   Production Value: "GPCS"; s: i3 n6 M, M, A) e* W! L
  170. ) Q2 K: s! j! ^' z& \
  171. ;;;;;;;;;;;;;;;;;;;;
    % ]$ O0 U; Z6 j
  172. ; php.ini Options  ;
    + U4 z( |& S! B" Q& D
  173. ;;;;;;;;;;;;;;;;;;;;
    3 @. U  `2 x: k
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    , c8 B8 U- h8 [% X% g# I
  175. ;user_ini.filename = ".user.ini"
    ! b4 V  m/ j; @& `$ {, B$ C& m

  176. $ R6 ^* u" J7 t3 G0 T( Q$ Y" Z
  177. ; To disable this feature set this option to empty value9 F8 Y& |7 X+ f% c; x+ }8 t
  178. ;user_ini.filename =' u6 y' x2 c" k5 ]: R
  179. 6 p- l! r, D& x6 T5 J% n
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)/ T) W, G2 y9 T9 `. O9 w; p3 a: i
  181. ;user_ini.cache_ttl = 300
    & R/ ?+ |! ~" b5 s: w0 D' k

  182. ( S! M! E5 F; P5 m: j3 ?6 {
  183. ;;;;;;;;;;;;;;;;;;;;& r4 \' z  v) N  S
  184. ; Language Options ;
    * T: P7 S5 V% }! i
  185. ;;;;;;;;;;;;;;;;;;;;+ f! U6 A1 [9 C

  186. , M1 b; G( I4 {
  187. ; Enable the PHP scripting language engine under Apache.( s; M; S( d4 I2 h; c& l
  188. ; http://php.net/engine/ G7 d# f: n  }+ k) h" F
  189. engine = On& V/ J0 Z6 D, r/ g

  190. 4 `6 X5 x& w% p! s
  191. ; This directive determines whether or not PHP will recognize code between# S5 N6 G/ C6 U* P  ~% K5 i' w) i
  192. ; <? and ?> tags as PHP source which should be processed as such. It is' H4 e/ ~3 O8 k5 ~4 ?. F
  193. ; generally recommended that <?php and ?> should be used and that this feature
    - F# V  x1 J* \' ]
  194. ; should be disabled, as enabling it may result in issues when generating XML
    3 T* [1 ~3 _8 h9 w( t- R
  195. ; documents, however this remains supported for backward compatibility reasons.: c, B5 j& ]5 ~3 s; h& W' N
  196. ; Note that this directive does not control the <?= shorthand tag, which can be+ W( |; A3 Q5 _: B# J7 w5 }1 y1 v
  197. ; used regardless of this directive.
    & B6 V/ Z) k7 e' H
  198. ; Default Value: On
    0 l6 G) m4 |1 V( M
  199. ; Development Value: Off
    2 b1 |  @, i$ s% C7 d* R
  200. ; Production Value: Off5 T7 S9 }5 q) g5 b2 T0 c
  201. ; http://php.net/short-open-tag  m1 O4 D1 G  k7 e
  202. short_open_tag = On' }5 J% u& ^) T" D6 @9 H

  203. ' i) K( ?; Z: x  K0 S
  204. ; The number of significant digits displayed in floating point numbers.
      b9 T; Z8 z: Z0 `
  205. ; http://php.net/precision
    5 j- A9 n- A/ h/ M, ^
  206. precision = 148 W3 h) {; {* l/ p9 z+ m' X" P
  207. 4 k: u! o: T2 e* Y* k8 o+ o! `
  208. ; Output buffering is a mechanism for controlling how much output data) Y. D; |. [: t3 G! u1 @% ~0 y: E
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that! I* Y  M2 w% B+ p& O
  210. ; data to the client. If your application's output exceeds this setting, PHP' g/ j, u; R8 I7 K
  211. ; will send that data in chunks of roughly the size you specify.7 d& R9 l% k9 X& e" s! q6 ?
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    + s0 \" q) D* c3 S2 c
  213. ; interesting side-effects depending on your application and web server.) h' X. x2 `9 ]
  214. ; You may be able to send headers and cookies after you've already sent output
    1 H6 R1 r" ]  U' u* b+ e" I. q" Z7 w
  215. ; through print or echo. You also may see performance benefits if your server is: ?) z# r7 T+ F4 y
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    2 f; B" D# g3 G% `. W: P# n
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
      |* p# q/ _3 j" c/ [& ?5 q; F  ]
  218. ; reasons.
    # f9 U9 p$ i# o
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    2 Y) ^- L$ f; [" a4 R5 p
  220. ;   functions.7 v) J  |$ r! o# y+ [
  221. ; Possible Values:
    . b9 E6 Y* j, j
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)! s' O, `9 b: F) ^, }3 ]
  223. ;   Off = Disabled7 @& T4 J# F) `5 ^$ ]0 V
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ) k9 F2 p) D8 z) E
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI4 p& L4 C; E  r. i
  226. ; Default Value: Off
    % Z" R; H& k( m2 F! Z4 ^
  227. ; Development Value: 4096
    6 o/ U" D  o; p8 ?
  228. ; Production Value: 4096
    : K% d! U: V" v2 [! g
  229. ; http://php.net/output-buffering8 Q( Y4 G- K$ g% H6 Z, L2 Q+ h8 N
  230. output_buffering = 4096
    . }1 g; U/ {; o3 c* \4 R( Y
  231. , s/ }0 a) ^: _& z# i  d0 c' s
  232. ; You can redirect all of the output of your scripts to a function.  For5 Y$ \4 S! ]% R
  233. ; example, if you set output_handler to "mb_output_handler", character
    ' B# }. ]* w. i6 M4 j/ a; z7 K
  234. ; encoding will be transparently converted to the specified encoding.) F6 J! b5 ]( r& R
  235. ; Setting any output handler automatically turns on output buffering.0 p  R$ Q! b4 Y( O  ]2 T' f* ^- r
  236. ; Note: People who wrote portable scripts should not depend on this ini/ G0 v) s9 D1 J1 C
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    5 w7 q7 @7 P8 ^* B8 E0 Q
  238. ;   Using this ini directive may cause problems unless you know what script! j/ V5 C3 p) O8 Z6 w
  239. ;   is doing.2 U5 c3 t# w6 N4 L' D- M) @
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"+ d* ~2 |8 k9 J+ F9 _% ~* f( y2 t' E
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".+ a+ G9 v% y+ s5 @, s
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    8 [: z6 m" P+ k# ]4 l- _
  243. ;   Instead you must use zlib.output_handler.; T( D- c3 p. p, W% a/ k% O% x
  244. ; http://php.net/output-handler' x% V& _2 |* K1 M: M5 ]
  245. ;output_handler =4 ~/ ], V5 {! ]0 m. E8 y
  246.   j1 y8 T& b/ R5 v
  247. ; Transparent output compression using the zlib library
    9 a! e8 f  S6 a( e( N0 P" e
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    1 v- _. N! n# Q
  249. ; to be used for compression (default is 4KB), X( n9 u% H1 ^+ l8 {) d7 F6 c% e
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    . r2 _3 A# }* |; ~% ]# O
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    + ^- G+ L( y1 H3 s9 B  ]* `
  252. ;   compression. If you prefer a larger chunk size for better2 B! S% R$ S" p) m7 z
  253. ;   performance, enable output_buffering in addition.$ Z1 h7 K" M' U3 S
  254. ; Note: You need to use zlib.output_handler instead of the standard+ s" o: f+ [2 ~
  255. ;   output_handler, or otherwise the output will be corrupted.% ~' x( J: \$ y0 C3 }: @% y
  256. ; http://php.net/zlib.output-compression4 d" K: b( e' D5 b- Q8 O& O
  257. zlib.output_compression = Off
    " s- J6 u+ j2 z0 F3 R& X

  258. " J' N  O9 \: D* O
  259. ; http://php.net/zlib.output-compression-level+ ]9 S' C( f' |
  260. ;zlib.output_compression_level = -1
    ! O3 Y( D* Y/ _) {2 F& u
  261. 7 s! s! `# Y2 |/ g6 z: @
  262. ; You cannot specify additional output handlers if zlib.output_compression& d  n/ h- J- f+ q# `
  263. ; is activated here. This setting does the same as output_handler but in. m7 q6 B4 }7 [1 Z8 T) e4 m
  264. ; a different order.3 [& J5 T/ p$ E$ w, F' V
  265. ; http://php.net/zlib.output-handler
    7 q) g% E! t6 Y( p
  266. ;zlib.output_handler =
    " {+ ^) D: d5 c" W( d+ {
  267. / @- a3 X# Q1 b; ]
  268. ; Implicit flush tells PHP to tell the output layer to flush itself5 x0 J& T- a7 g) O  o9 I9 p
  269. ; automatically after every output block.  This is equivalent to calling the
    4 R1 E' Y6 I7 I0 K" }& B
  270. ; PHP function flush() after each and every call to print() or echo() and each% u3 y, O$ k5 G9 j
  271. ; and every HTML block.  Turning this option on has serious performance
    . D3 a/ S6 r5 c  P0 t2 P. b
  272. ; implications and is generally recommended for debugging purposes only.. j2 ^/ [" c) s& n& l
  273. ; http://php.net/implicit-flush
    3 [( ?: m% [- W0 u+ X* r, _8 s
  274. ; Note: This directive is hardcoded to On for the CLI SAPI! S, Q9 n. r0 R0 P
  275. implicit_flush = Off
    # d- U/ u/ T  z7 P/ K
  276. % {& P$ d7 n* x% T& \
  277. ; The unserialize callback function will be called (with the undefined class') U' N# K; f. U' y1 \6 O: W
  278. ; name as parameter), if the unserializer finds an undefined class
    . X, M+ G7 Q6 c0 j  w0 Y3 E: b
  279. ; which should be instantiated. A warning appears if the specified function is
    - S/ V, Y% n3 w7 S- u8 l
  280. ; not defined, or if the function doesn't include/implement the missing class.* K, H# k. A8 a4 J0 M
  281. ; So only set this entry, if you really want to implement such a# I, r) o4 \! h' K1 G+ W4 ~
  282. ; callback-function.
    6 e( h& t, @6 a/ c9 M0 E$ {1 W
  283. unserialize_callback_func =) y! }5 B' H$ ^1 v
  284. 0 D  o9 R+ N3 B7 L* f# {0 @
  285. ; When floats & doubles are serialized store serialize_precision significant
    4 g& i$ r9 q5 R* J1 ^2 ]  X1 U8 J. H
  286. ; digits after the floating point. The default value ensures that when floats5 p: B( U8 ^4 ~" T. E
  287. ; are decoded with unserialize, the data will remain the same.
    4 N4 ^$ }! O# y4 |7 p1 I  u
  288. serialize_precision = 17
    - i) g  n+ g) X4 R9 |! A) H6 G

  289. # V( h2 W. z0 z; V  h: d
  290. ; open_basedir, if set, limits all file operations to the defined directory  I! p: K+ `: E
  291. ; and below.  This directive makes most sense if used in a per-directory
    + P% T, i1 s, x5 k* T
  292. ; or per-virtualhost web server configuration file.5 T1 p; [" u& j4 `( u
  293. ; http://php.net/open-basedir8 n& o; o& C" L' r) I) \" J
  294. ;open_basedir =
    ) d4 X! _" P4 Q, C( M& E) F
  295. 0 W* `0 R6 {0 `. R
  296. ; This directive allows you to disable certain functions for security reasons.! A4 _- U6 s4 {/ b
  297. ; It receives a comma-delimited list of function names.
    9 r3 C: B0 `+ x6 A3 Y: r  ~, U
  298. ; http://php.net/disable-functions* b" ~" j, n; u  t  K6 u. n
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
      p2 C/ V6 J( O
  300. 2 c% P0 y1 P- X; f. S* G
  301. ; This directive allows you to disable certain classes for security reasons.
    + I- V5 j$ {1 O' O1 M7 ]
  302. ; It receives a comma-delimited list of class names.' G7 {- V8 i8 N. g, l& ?2 O
  303. ; http://php.net/disable-classes' f# N; G6 C" C9 e7 B
  304. disable_classes =0 ~  }# j; D2 G9 U1 O7 R4 c

  305. 7 B; f0 `+ ^! e
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ( V' u( R+ B5 i0 u0 ?& r: u
  307. ; <span style="color: ???????"> would work.6 j8 J' ^2 s3 k# D& a" Y
  308. ; http://php.net/syntax-highlighting, u- k2 f' R2 |: p, \' N
  309. ;highlight.string  = #DD0000
    . U# M" {& w- ]- I: S" R
  310. ;highlight.comment = #FF99009 ^" X5 ?8 i9 c& k8 [/ ?$ K
  311. ;highlight.keyword = #007700/ A2 |5 x4 z& d+ g$ w1 g- q
  312. ;highlight.default = #0000BB
    " ]( l6 q5 u4 [9 @! E" N
  313. ;highlight.html    = #000000
    2 Z" y5 K9 f- t4 ~$ P' B

  314. . v( Y" m# ]1 J0 h$ q) l' x2 [
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ; x6 {; A8 m9 l4 A3 G3 M
  316. ; the request. Consider enabling it if executing long requests, which may end up
    5 J$ ]% b" n- _6 C
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior; V( ^& [/ Y& e, o' U  C
  318. ; is to disable this feature.
    , j* b0 M2 [7 I- M2 T- y
  319. ; http://php.net/ignore-user-abort; S! \, [, L0 I3 j1 u2 B& F6 |) J
  320. ;ignore_user_abort = On/ j* W& K2 g  U7 ~0 c" k
  321. 2 a+ _( z! r0 I9 r: N
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    1 N* T+ d1 s) t7 s' I1 @& F" Q
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    " y+ L) q  g) Q3 x( f0 E5 n
  324. ; the file operations performed.% i! u" W, [" `$ x( g2 A
  325. ; http://php.net/realpath-cache-size
    7 V6 H' D3 _) B2 ~% x+ y1 Y. ^
  326. ;realpath_cache_size = 4096k
      `' Y% D0 Q$ U# Q: B- k
  327. 1 \+ E: h3 t  h" O* x1 B
  328. ; Duration of time, in seconds for which to cache realpath information for a given5 t5 ?- q$ ~! L1 M
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    9 J0 ~0 n: U7 G" O& N, S
  330. ; value.
      ?9 Z9 N2 J- s( j1 ~
  331. ; http://php.net/realpath-cache-ttl: D4 G; z1 _" |- S6 v
  332. ;realpath_cache_ttl = 120) y+ u9 K7 Z* d; r

  333. 6 E! Y+ l# s) q
  334. ; Enables or disables the circular reference collector.' j, ?: y2 i$ ?- |& ^: y% R% `4 O
  335. ; http://php.net/zend.enable-gc
    # x9 R- s- X! y6 {. R
  336. zend.enable_gc = On* Y) e: h4 ~9 L

  337. * E- z( U- f) x& Y$ u4 [
  338. ; If enabled, scripts may be written in encodings that are incompatible with& h" [  o6 u4 U  ^0 e0 F- ~
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    7 C) k5 U# c' t3 k) [
  340. ; encodings.  To use this feature, mbstring extension must be enabled.* o6 \/ j8 p2 E: s# |9 j  D$ S8 Y
  341. ; Default: Off7 U, x2 G$ y- k. d6 D' F6 R
  342. ;zend.multibyte = Off) k8 Q! u; Y6 N7 S: |
  343. $ [4 J2 D5 |  I2 C& M3 x
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ; \5 L" x2 n7 \4 S' _
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.  n6 W6 l: Y* x: b/ w. ?
  346. ; Only affects if zend.multibyte is set.1 ^$ \# k: f& ^" _" L
  347. ; Default: ""
    ! E. `6 \2 c/ J5 ^
  348. ;zend.script_encoding =
    ( J+ z/ ?  T; J) J$ [
  349. # h! C4 y8 Z9 V" l5 E8 H
  350. ;;;;;;;;;;;;;;;;;
    , L! M. t. g: t  e/ l% j. p
  351. ; Miscellaneous ;
    1 O2 l. a  @: {1 i- f: b2 P
  352. ;;;;;;;;;;;;;;;;;
      X) b# j% A, K; Q0 K8 p7 D
  353. 8 T1 [& \3 y3 S" u
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    / E- A  F& j6 i1 @9 [' p; T) Y
  355. ; (e.g. by adding its signature to the Web server header).  It is no security' [' d6 y% A2 N2 L! I
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ) ?4 m; `0 O5 k' c7 i' w6 A9 h
  357. ; on your server or not.
    # |4 |6 E$ ?; c7 K3 c# ^. R
  358. ; http://php.net/expose-php
    3 {  {! X1 V/ p8 J" y7 y$ n
  359. expose_php = On
    - _; S  G: s$ C1 c3 V4 u7 D

  360. / L! o, g- A" }- B8 \- u1 j
  361. ;;;;;;;;;;;;;;;;;;;; x& V5 R9 B1 x6 m+ [8 I
  362. ; Resource Limits ;, i, ^6 {+ i- {/ R, ]
  363. ;;;;;;;;;;;;;;;;;;;
    & I6 d2 ]7 ?3 [. _
  364. ' n3 {" N! R/ @0 J4 D6 S
  365. ; Maximum execution time of each script, in seconds
    6 K( p' Z% j4 p) S
  366. ; http://php.net/max-execution-time% X: J( O; u% ?# a  M5 C- w5 j
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    # C# o0 X" A$ @) _% q& W
  368. max_execution_time = 300( s/ ]# o) M3 I4 T4 V
  369. ( F% K  {; W: [3 J  P# p1 M$ i, k5 t
  370. ; Maximum amount of time each script may spend parsing request data. It's a good% _$ d7 r- Q% D
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ( Q/ Q$ i2 w0 {' Z' W, n8 q/ [
  372. ; long running scripts.
    ! j. [: |7 e7 t  v4 ?0 M
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    " |! i$ I- A$ Z; H
  374. ; Default Value: -1 (Unlimited)6 R) i. t  w- Q5 u+ G( h0 s$ j
  375. ; Development Value: 60 (60 seconds)
    3 u) W4 v: p; R2 m
  376. ; Production Value: 60 (60 seconds)
    9 y2 t6 N1 _4 K- q. U. A
  377. ; http://php.net/max-input-time4 T2 @- M! i( v9 \, D
  378. max_input_time = 60
    / B3 n$ }( q' h3 p0 x- V

  379. & d! h1 v- U! c# E1 L. A
  380. ; Maximum input variable nesting level
    4 V8 D2 u% t+ K; R+ L$ K
  381. ; http://php.net/max-input-nesting-level9 m  z" C+ {: s$ I. r0 B
  382. ;max_input_nesting_level = 64
    $ X$ I5 Z2 o9 A, r
  383. ! _2 _& s. z6 E8 Q/ P4 `
  384. ; How many GET/POST/COOKIE input variables may be accepted* L, k: {4 M! J. ?+ y4 L% P' \1 i
  385. ; max_input_vars = 1000
    ' E/ w+ W5 H! W  G

  386. / [7 \/ t& M5 z3 Y" b
  387. ; Maximum amount of memory a script may consume (128MB)
    6 c! G( k6 w- t+ n% ^
  388. ; http://php.net/memory-limit0 o$ M6 j  W% }3 F
  389. memory_limit = 128M
    6 c3 M9 E5 R. }3 o5 O

  390. * E: I# _! h! T% h2 p! J
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 n5 h: ~/ S4 X
  392. ; Error handling and logging ;  }5 F" a2 f7 {
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( `/ n  y/ a* j
  394.   P! x; d) g  r" x( o/ V0 f
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    2 X/ G7 g5 L! B
  396. ; it to take action for. The recommended way of setting values for this, b/ Y8 U0 h- r" r# _4 D6 K8 w
  397. ; directive is through the use of the error level constants and bitwise4 P) [: z: f# a# a" x- h  V
  398. ; operators. The error level constants are below here for convenience as well as* k& }. a' o- W( W$ q- L
  399. ; some common settings and their meanings.
      C5 d! Z. Y3 ~+ \0 ]9 K3 r+ V( w
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT7 D: i/ x8 M, ]- H: i% s( }# ]' E7 S
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and' D8 K7 M2 t6 o. z* ?: P% B3 R
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    " {/ h5 z: Z2 B( H4 n5 a
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    8 o5 [8 l8 b# d' ~
  404. ; resources complaining about best practices and coding standards. That's what
    & U9 ?( @4 y/ v% k8 b
  405. ; development servers and development settings are for.2 y, E# C$ J1 y# b# J
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    8 v  c4 {3 k4 m7 y  q
  407. ; means it pretty much reports everything which is exactly what you want during" V: G8 ?0 ^& H& H/ a/ \
  408. ; development and early testing.
    . W9 t. a& r- a# X. L" P- f6 d/ k$ r$ \
  409. ;
    # t9 F2 J; X3 t- a
  410. ; Error Level Constants:
    7 J3 j# U6 I+ K. H* y- R
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! X/ A4 T- I9 u: O4 i+ |5 _
  412. ; E_ERROR           - fatal run-time errors- E6 t- F" w& O; y7 d; l
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors6 c2 p7 E% ^  E( {
  414. ; E_WARNING         - run-time warnings (non-fatal errors)4 S- p5 y7 C/ J- @
  415. ; E_PARSE           - compile-time parse errors5 o: ~' _# G: L* a2 S1 h# I
  416. ; E_NOTICE          - run-time notices (these are warnings which often result3 [& p* d1 D  X6 [1 u; _
  417. ;                     from a bug in your code, but it's possible that it was
    2 G) t5 ?, Z( ~( o8 y# m" |2 c/ Z2 D
  418. ;                     intentional (e.g., using an uninitialized variable and
    1 Y+ h8 k1 k. \6 ^( M
  419. ;                     relying on the fact it is automatically initialized to an. B- u: }  H% n- L+ c
  420. ;                     empty string)
    ; Y% n6 J( z& l
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes. U; n; S/ @: q9 A( [' @
  422. ;                     to your code which will ensure the best interoperability* f# G9 G9 [& u& e) n! P/ s
  423. ;                     and forward compatibility of your code9 v- M; W- S7 V: E- P+ T
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    2 `, R' p0 m& G$ |% g+ }6 V
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ' k" L8 {; x" D
  426. ;                     initial startup% e, U/ c9 [6 U9 a  X
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    ' t8 O$ v7 s# b  y
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    5 n) g& S6 u' D1 Y4 V* j# u
  429. ; E_USER_ERROR      - user-generated error message
    7 g; T  S8 L( d, k
  430. ; E_USER_WARNING    - user-generated warning message
    ! u( G4 x  w  N, f) C
  431. ; E_USER_NOTICE     - user-generated notice message
    ( A% W% X! `5 f
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    % F5 _5 o) j0 V* d
  433. ;                     of PHP
    0 R: C  v7 b; c7 X8 i8 \$ @
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings, P1 a6 t" a" h& I5 \  D
  435. ;
    : V  n7 E6 y* x( Y
  436. ; Common Values:2 \, M) T0 J  [! Y4 e; I* _
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    / }4 {+ |& v! g. S% C
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices): Q+ J  A- c- A
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)+ M1 ^  Z4 V  B1 @. T* v. ^9 l
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)6 d$ \* S% t3 [/ ?; C
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED4 F  j; e6 a& i' w
  442. ; Development Value: E_ALL* C0 M9 V6 U5 I: {* m& k8 s) b8 C
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " e+ U) J: ?, B
  444. ; http://php.net/error-reporting
    5 `0 w1 r* u+ @# J
  445. error_reporting = E_ALL & ~E_NOTICE
    4 G7 U, h$ X8 D
  446. / L% |. n0 q+ Z% K
  447. ; This directive controls whether or not and where PHP will output errors,9 X0 G1 S9 _( a1 \+ R
  448. ; notices and warnings too. Error output is very useful during development, but5 }+ C4 f& u: E6 T! r9 Q9 E6 @
  449. ; it could be very dangerous in production environments. Depending on the code
    / m! m4 T8 I* R: q- u; \6 x( p
  450. ; which is triggering the error, sensitive information could potentially leak
    4 F+ n' Y9 F4 g" H/ N9 Z6 A
  451. ; out of your application such as database usernames and passwords or worse.8 c, d3 z; z$ L) O, o, r& Y6 S  f5 \
  452. ; For production environments, we recommend logging errors rather than5 ]& j2 Q' v( f. J) H
  453. ; sending them to STDOUT.# i1 p8 |0 v( ?
  454. ; Possible Values:7 Q$ S* }9 ]& u9 }# _! s
  455. ;   Off = Do not display any errors' U0 m: i' T0 N8 `- L
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)2 C- K, x" [: r" Y2 B5 G
  457. ;   On or stdout = Display errors to STDOUT
    : z, h# q' C  h% F
  458. ; Default Value: On
    4 L0 W( [7 G. q) @; X+ n
  459. ; Development Value: On
    + H7 H% p6 O) O) q  W8 ~* V/ B
  460. ; Production Value: Off1 T# k0 M. C5 M/ u
  461. ; http://php.net/display-errors
    * `: F3 d  W, a& E1 c1 [- z# Y" F
  462. display_errors = On- F2 K+ t. k9 ]% T4 z( s) t+ X' f, v' Y
  463. 6 v* r- V* Z4 M! r! x
  464. ; The display of errors which occur during PHP's startup sequence are handled
    5 c5 L0 Y1 S2 x$ c: Q- I
  465. ; separately from display_errors. PHP's default behavior is to suppress those
      B' f) x3 k, A2 D$ `+ v$ P# D
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    , ]! |. P+ i+ c1 r1 R% m
  467. ; debugging configuration problems. We strongly recommend you
    # h! G* W& z  }; Q( N( m
  468. ; set this to 'off' for production servers.
    8 H, H0 c; H* K- V# w6 G( x* q% G
  469. ; Default Value: Off
    % G6 B% z% M# N  _+ W" a6 @2 ^6 @1 D
  470. ; Development Value: On8 f2 i* X8 h; |
  471. ; Production Value: Off
    & }1 S! X- \. @* M
  472. ; http://php.net/display-startup-errors
    2 U+ f( D; X# K! K$ h7 i2 R4 Y
  473. display_startup_errors = Off& \/ H! x9 R- W
  474. % S" x" b3 P4 C% C# O
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ) ~1 p2 e( n2 H4 ~  D  i* O0 }4 v
  476. ; server-specific log, STDERR, or a location specified by the error_log
    % k, Z5 Y( F5 i" _$ U
  477. ; directive found below. While errors should not be displayed on productions6 e4 ~+ m( S! r9 s4 S0 Y" b
  478. ; servers they should still be monitored and logging is a great way to do that.
    + i* O! y% \; g7 b+ P4 D
  479. ; Default Value: Off
    % w+ I- B" v# a6 u5 _
  480. ; Development Value: On* [) E8 T% L8 M6 L) F8 [
  481. ; Production Value: On
    1 O% @+ b8 Q; T. C; x
  482. ; http://php.net/log-errors
    + c6 H# V% h  \# {
  483. log_errors = On& P0 ?7 d* t& u' V+ N# T2 Q2 u
  484. ' d. m! H3 m" L
  485. ; Set maximum length of log_errors. In error_log information about the source is' S- v/ l1 q! ~6 F1 o2 J& }3 Q6 h
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    % g3 }8 ^+ g, M
  487. ; http://php.net/log-errors-max-len
    0 F6 B# H& p3 A/ T; x
  488. log_errors_max_len = 10241 ~1 B8 W/ k9 d+ O. D2 t

  489. 0 D) G4 g1 r% F
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    4 G2 F4 O8 I' S9 r' g& H
  491. ; line unless ignore_repeated_source is set true.
    9 N% @, W6 b/ u) Q9 B7 L7 k2 _& b
  492. ; http://php.net/ignore-repeated-errors3 D0 s7 M. D1 X# U2 E5 }
  493. ignore_repeated_errors = Off' x$ f4 R, y* S% _0 w) R$ o8 `

  494. , z% g, }3 j) K7 l
  495. ; Ignore source of message when ignoring repeated messages. When this setting( `" D( \3 \7 ]) Z( Z/ q4 v8 u
  496. ; is On you will not log errors with repeated messages from different files or5 h5 ~3 i+ N' e1 Y
  497. ; source lines.& L2 G# D2 o( D+ j
  498. ; http://php.net/ignore-repeated-source/ \- ]) n5 Y  K3 q* J1 E
  499. ignore_repeated_source = Off
    ) h# _5 s* f0 A5 x8 Z1 T
  500. , P, p1 G* [% |( g- @! Y3 e7 G# X
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ; `! @6 W% W6 X
  502. ; stdout or in the log). This has only effect in a debug compile, and if% K% `2 t& u0 w! _3 D9 G" V
  503. ; error reporting includes E_WARNING in the allowed list0 H! h; N% R% P* v5 d- R
  504. ; http://php.net/report-memleaks
    / a; b0 d* M2 `, A
  505. report_memleaks = On
    9 B2 h& N( H1 B, e

  506. . t. z8 @. V( B% t
  507. ; This setting is on by default.7 I9 h) q+ g, z! E1 _: r
  508. ;report_zend_debug = 0( f. y3 P" u! u9 C$ u, K

  509. 0 D! G& @! `4 f; a. y) |2 e$ ]
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value. k& _9 g, p+ Y% k8 M6 y
  511. ; to On can assist in debugging and is appropriate for development servers. It should4 L1 L0 |* }! l+ Q7 D. u/ F
  512. ; however be disabled on production servers.
    * N- m, @$ \: D8 l7 b
  513. ; Default Value: Off( i4 _* K2 Y1 N( r1 S# ^1 w% Q
  514. ; Development Value: On
    / c' w$ o! i0 s. v& U1 _" l
  515. ; Production Value: Off
    ; L/ ?; X6 C% W, D  f
  516. ; http://php.net/track-errors) U" o  A% q3 C4 E2 H- A
  517. track_errors = Off
    ) N" |- f; L8 @2 X
  518. - b  ?/ F. I* A" Z$ X
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    1 {: ~9 Y4 h( o1 Q' C
  520. ; http://php.net/xmlrpc-errors
    / C" L4 Q" [" b* v) D0 B
  521. ;xmlrpc_errors = 0
    ! a2 w' I* [: s
  522. % ~7 @6 s+ ^) l+ W4 I5 G
  523. ; An XML-RPC faultCode& ~7 C' Z0 E# _+ t! O
  524. ;xmlrpc_error_number = 07 ^7 Q& E$ ]' _1 H+ `) a
  525. 2 P  A8 [9 T. h2 r2 b# f
  526. ; When PHP displays or logs an error, it has the capability of formatting the& y  Z4 F  H9 |5 A4 [
  527. ; error message as HTML for easier reading. This directive controls whether
    ' J* Y4 r8 w' P6 {) v
  528. ; the error message is formatted as HTML or not.$ s( ?2 O) P  D& f
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    4 l7 G) s3 U# Q8 L& h; |
  530. ; Default Value: On
    . k$ s: u) H. q9 X+ O3 R
  531. ; Development Value: On
    ( H+ f! [$ O% B; ?* z/ x, d# B  {, g
  532. ; Production value: On
    - [" P0 z: [2 {$ g
  533. ; http://php.net/html-errors
    6 x- ]; o6 f& _
  534. html_errors = On9 Z+ h% e4 n- z& s
  535. 0 n3 o7 m1 u: w/ f; v
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    , E; ]9 E2 D/ v5 M, ?' b
  537. ; produces clickable error messages that direct to a page describing the error
    ! P. `- a$ s0 S; Z6 _/ w
  538. ; or function causing the error in detail.1 [* K; Z+ e* L4 s4 v
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    8 F7 b4 @" ~* W% b% W* T/ L
  540. ; and change docref_root to the base URL of your local copy including the
    * t  A% l: {2 A: i: b- S
  541. ; leading '/'. You must also specify the file extension being used including0 k" Y$ `" P. p2 [6 g9 t, S
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which5 w2 E- H- `9 q" o7 N
  543. ; case no links to documentation are generated.
    1 ~3 B* I5 W! \! @5 Y
  544. ; Note: Never use this feature for production boxes.! F  E  R+ G9 j, \
  545. ; http://php.net/docref-root  x: p. b) d& k1 a3 m
  546. ; Examples
    ) A/ H1 z- U- `6 x7 o1 ?7 g
  547. ;docref_root = "/phpmanual/"
    , \9 v: F% }6 a

  548. + W# s4 B6 p. I5 v; p. i
  549. ; http://php.net/docref-ext6 i9 n, w: p2 ~# ~& @
  550. ;docref_ext = .html
    8 U- o) p  F: e

  551. 3 \$ g& o$ B5 b7 g( o. _% g
  552. ; String to output before an error message. PHP's default behavior is to leave
    * E; l3 H6 [) T
  553. ; this setting blank.
    2 q% i2 x, \' Z3 Y/ J1 L) d
  554. ; http://php.net/error-prepend-string
    ; i! M; Y  k* e
  555. ; Example:" L  L2 h& ~* V3 J; e) a& s0 M
  556. ;error_prepend_string = "<span style='color: #ff0000'>"! G$ x: K! W- [7 X

  557. 5 Z* q3 _9 ~- P
  558. ; String to output after an error message. PHP's default behavior is to leave9 k" v0 _3 `0 q; L7 |' g
  559. ; this setting blank.
    / [7 g2 @2 e; I: j& Y& I: q  h
  560. ; http://php.net/error-append-string
    ; t2 ^& n/ a- B* Q
  561. ; Example:
    . [$ I! P- q* U! [" L; ^' n
  562. ;error_append_string = "</span>"
    . \0 N, y7 B5 x' {5 H
  563. 5 L# F' A# W% z6 Y
  564. ; Log errors to specified file. PHP's default behavior is to leave this value; N+ h7 W! t0 e3 E4 Y5 G
  565. ; empty.; c( q6 |1 a: ?  @. ^( ~& J
  566. ; http://php.net/error-log
    - ?& A+ N4 h% K1 B5 b9 q
  567. ; Example:, j$ M0 F* F6 X) x$ o" V
  568. ;error_log = php_errors.log  A% ~' ?& f( z
  569. ; Log errors to syslog (Event Log on Windows).* ^6 E- \6 y4 {
  570. ;error_log = syslog
    $ H+ Q) n* f" x7 _/ m  \9 n, p

  571. - }+ ^4 \0 K& |/ k) N- q
  572. ;windows.show_crt_warning  J* V( ~0 J  c" f" A8 _3 i9 _
  573. ; Default value: 0+ b6 R0 i6 l/ Q0 l
  574. ; Development value: 0
    " I% B5 {2 V; `5 n. V0 E0 g$ G
  575. ; Production value: 0
    5 m. W6 l0 t- ^0 O! K. X

  576. # q; c/ N) G. m# B* M
  577. ;;;;;;;;;;;;;;;;;- W+ L+ j: C  t
  578. ; Data Handling ;: f7 u) e( Z* t- F* J4 ?# [
  579. ;;;;;;;;;;;;;;;;;
    " R" i0 ^  I* d0 r0 J
  580. 7 l5 G# R$ |7 g5 a) {1 U9 x3 O9 b( l
  581. ; The separator used in PHP generated URLs to separate arguments.
    0 {+ ?: \/ M+ @/ k" b3 w
  582. ; PHP's default setting is "&"." x; j( O7 U6 q1 E" s4 m* @
  583. ; http://php.net/arg-separator.output
    4 I2 w; S* |$ w8 Q# J/ P  V4 Y
  584. ; Example:
    ( O5 V& G+ l: j5 a
  585. ;arg_separator.output = "&"
    7 r0 n; Y, K2 t% \1 \7 a' |+ `
  586. " ]! x+ V$ `& B; @; [" {  o
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    0 y" P; y% |8 t) N8 b+ l
  588. ; PHP's default setting is "&".5 B% M7 D" S/ y3 G
  589. ; NOTE: Every character in this directive is considered as separator!
    # J7 R. A7 G, v9 b6 h
  590. ; http://php.net/arg-separator.input4 d$ I) s. {, u, d! C" K5 }
  591. ; Example:) M7 ?' u$ _/ }( }! R% n
  592. ;arg_separator.input = ";&"
    , Y$ i5 q; n6 E: {0 N" V

  593. 7 a! @, V, {1 ~- S
  594. ; This directive determines which super global arrays are registered when PHP
    & X8 G5 ]) H4 _0 q0 a* Q9 m) m
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super+ Z% L  {, m  i- d. i! b, g; V
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty1 X" ^) T, o, b
  597. ; paid for the registration of these arrays and because ENV is not as commonly. N4 f$ v* o3 |: D/ e8 J9 r. U
  598. ; used as the others, ENV is not recommended on productions servers. You/ z) l5 ]3 E3 ~  H9 Y9 ~
  599. ; can still get access to the environment variables through getenv() should you
    " ?! J$ ]& X) Q
  600. ; need to.
    ) Z% z% J, b+ l& A4 s
  601. ; Default Value: "EGPCS"* k' }2 @5 I" J" g; j5 z
  602. ; Development Value: "GPCS"
    / c# L* V9 X3 T5 u6 g
  603. ; Production Value: "GPCS";' w/ t% X9 i+ v- ]0 Y3 ^4 x8 \
  604. ; http://php.net/variables-order: M$ S' o( c/ B
  605. variables_order = "GPCS"
    3 e5 \9 W+ K. R) r- Q1 J& U

  606. ' x. ^) M  r4 R: P7 U7 `
  607. ; This directive determines which super global data (G,P & C) should be
    ( u$ n  t- Y4 _9 X9 Q5 Z6 u
  608. ; registered into the super global array REQUEST. If so, it also determines! R* `9 W0 ]) T  l# C" N/ C
  609. ; the order in which that data is registered. The values for this directive( W6 b* [5 o9 q! c
  610. ; are specified in the same manner as the variables_order directive,2 z: m( {, O$ _! @0 l  q
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set- }3 O; v: t5 Z2 g% c& [& x
  612. ; in the variables_order directive. It does not mean it will leave the super) G3 ~! {+ A6 r8 {  ^6 @" l% m
  613. ; globals array REQUEST empty.
    0 t" v; ~8 i8 w7 C1 Q
  614. ; Default Value: None# [( E7 D; j) E! D6 {7 g+ H) E$ _8 Z
  615. ; Development Value: "GP"$ w- n. S6 N. K: c8 t3 v
  616. ; Production Value: "GP"
    / e6 T9 Q* ~! W7 W/ ?* E
  617. ; http://php.net/request-order
    . ?1 B" x0 T  t
  618. request_order = "GP"
    9 b9 V8 E# S: Y: ?; T9 A9 s# i& x9 S

  619. ! B8 Z4 ]% ~3 J( V" w
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    1 q" y! w9 ]1 U8 |1 C
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ( q' \3 W+ T+ ]) K. A2 T
  622. ; is invoked. $argc contains an integer representing the number of arguments' p5 D$ N4 `2 `: F
  623. ; that were passed when the script was invoked. These arrays are extremely" \! A4 o: r1 D/ z  @% M
  624. ; useful when running scripts from the command line. When this directive is' t9 Q2 `  @. W2 X% Q
  625. ; enabled, registering these variables consumes CPU cycles and memory each time7 _. q  i5 o" J7 E8 f
  626. ; a script is executed. For performance reasons, this feature should be disabled
    : x9 A- I2 U4 E) S8 X$ S
  627. ; on production servers.
    1 C8 m$ B( A# d
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ! ?* w/ \6 A$ Q8 }/ v
  629. ; Default Value: On' O# V" i( M- F# \* J
  630. ; Development Value: Off4 f) K. W( a: J- k( T5 \
  631. ; Production Value: Off
      Q( V1 p8 k! U! d
  632. ; http://php.net/register-argc-argv2 |* \2 U( Q" {
  633. register_argc_argv = Off7 p2 N! j) g" W$ N9 t8 q+ B
  634. 4 P. R9 U; q" w
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    $ C! X8 o. d  _  `0 k1 x
  636. ; first used (Just In Time) instead of when the script starts. If these
    : @' P0 S% b! f- p( ~
  637. ; variables are not used within a script, having this directive on will result8 A* a# ~: b. K& O/ h
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled6 \& \" c6 u0 L5 e
  639. ; for this directive to have any affect.# W) a+ m( O6 |9 a; u
  640. ; http://php.net/auto-globals-jit" n8 I8 {4 D% v& l" c' u- @
  641. auto_globals_jit = On
    & [4 `3 [. i. k# [; w' A& U# {  X

  642. 8 y) X1 d0 Q( o
  643. ; Whether PHP will read the POST data.- e4 y/ f  E( k3 z6 }
  644. ; This option is enabled by default.6 o: g! J. z3 {: R& w$ ^
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    + A- H3 Y$ B/ ~! N* g( ^2 F
  646. ; and $_FILES to always be empty; the only way you will be able to read the* o7 O. h; o. s( u3 |5 t
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    $ [4 v  h' f$ `2 N0 T
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.+ D6 H$ [# n. V( Y% v& G
  649. ; http://php.net/enable-post-data-reading
    " r7 ~2 h: U$ z) t1 j
  650. ;enable_post_data_reading = Off* o$ A) V0 S: Z1 L9 U

  651. ; F* X/ Z$ I$ s8 X' l
  652. ; Maximum size of POST data that PHP will accept.' |: W/ |; R6 `, R! y$ Z
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading6 k& |) v6 |  v
  654. ; is disabled through enable_post_data_reading.
    ) D4 w5 V" S1 i$ R' m- u. Z
  655. ; http://php.net/post-max-size
    8 |6 l% Y( O- l& G  \
  656. post_max_size = 50M
    # I' e: [8 [. a. x" @

  657. ' I% U  g/ z& Y2 w9 W, ?( c2 C
  658. ; Automatically add files before PHP document.+ q2 u$ ~0 ~9 e8 p
  659. ; http://php.net/auto-prepend-file% C4 A1 R0 }% h, z7 S3 y) F/ f
  660. auto_prepend_file =
    , U) g/ @$ R4 g: L+ l7 C1 b$ u+ H

  661. 5 \, }( V) T" w( v1 |. z2 g/ A* u
  662. ; Automatically add files after PHP document.+ h0 [; q& ?8 \; _% h9 q
  663. ; http://php.net/auto-append-file% N7 M7 A7 k+ j9 Q
  664. auto_append_file =
    / ?2 v# u  T; u

  665. & Y+ P) [8 Y: Y& A5 P  m
  666. ; By default, PHP will output a media type using the Content-Type header. To
    . X7 G" b3 m( w5 y
  667. ; disable this, simply set it to be empty.  P* J- ]" w! e5 k6 c
  668. ;8 V. N$ M& o: X* V$ C
  669. ; PHP's built-in default media type is set to text/html.6 U* {! K2 e7 w
  670. ; http://php.net/default-mimetype6 g/ m, y7 x6 I# r" O2 ?
  671. default_mimetype = "text/html". D( v4 O% h1 b
  672. , I3 s5 D4 j* m0 |# u8 z* Y1 a
  673. ; PHP's default character set is set to UTF-8.
    3 ?2 B5 n' `' q* K$ I: t
  674. ; http://php.net/default-charset
    5 ^" a* S2 H5 Z; ]' R
  675. default_charset = "UTF-8"
    ' _+ O1 Q8 e0 l, O; _2 \1 u1 }: R
  676. 9 [  x# H1 F, h9 n
  677. ; PHP internal character encoding is set to empty.8 m8 R2 l" h' w% i% g4 H
  678. ; If empty, default_charset is used.
    5 H; G  S# n3 N" c
  679. ; http://php.net/internal-encoding
    7 ~) f& K' u2 U! H& z
  680. ;internal_encoding =
    7 C5 e) z# B/ T" D  g9 `. Q2 Z. b
  681. ( U3 k5 U. a% k( o
  682. ; PHP input character encoding is set to empty.
    ( X4 @. E& m% Z
  683. ; If empty, default_charset is used.3 Y# x" K! d5 i! Z; N
  684. ; http://php.net/input-encoding! ]! p# C, V5 K. p
  685. ;input_encoding =
    - j7 \  l: m! ^( @" |' f
  686. 2 t) j1 k  J1 u# ~; t, p7 F
  687. ; PHP output character encoding is set to empty.
    / I+ c0 K( ]2 J. s9 ?
  688. ; If empty, default_charset is used./ A: \% o4 ?% V; j0 a
  689. ; See also output_buffer.
    6 c' L- O" A# c- i: ?' O% R
  690. ; http://php.net/output-encoding
    ( m& S0 D6 K& }2 y: W
  691. ;output_encoding =3 Z% ~( Z9 B2 p( ^7 r4 _. D
  692. : L' ]2 F$ Y+ A# C0 K
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    # S9 M9 j( f; M, {
  694. ; Paths and Directories ;* P- K( a& r) d) q0 B1 D0 A+ q
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    7 N% Z! ~; Q/ l; u8 V. S$ H3 y

  696. & X6 [, P4 v6 X
  697. ; UNIX: "/path1:/path2"
    . c: I# u4 O' K$ L% P, A/ J% c
  698. ;include_path = ".:/php/includes"+ p9 a) Z4 ]* H, O4 ]
  699. ;) {# l# v: e# Y5 N. C" N
  700. ; Windows: "\path1;\path2"
    . i7 q* g. U) b1 W  V, Y6 W! B
  701. ;include_path = ".;c:\php\includes"/ ?& a/ q& b7 \9 G8 N2 ?- ~7 y
  702. ;
    2 v  J" L0 d$ l. J' H% p
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    $ [; V8 n/ D  y  w5 w
  704. ; http://php.net/include-path
    5 @& x0 y; `( C8 d- G

  705. ) }/ b7 H  g. M
  706. ; The root of the PHP pages, used only if nonempty.. z3 ^) ]& p+ h
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    3 E: b& k1 h4 Q, @
  708. ; if you are running php as a CGI under any web server (other than IIS)0 A. O  M. y/ @5 E) o( E
  709. ; see documentation for security issues.  The alternate is to use the# x5 K3 C, J; B8 Z+ Y
  710. ; cgi.force_redirect configuration below$ I6 K, v" _3 ?* ]
  711. ; http://php.net/doc-root
    * }9 ~+ O& S" U6 J& ?4 ?* ^
  712. doc_root =
    # P, Z' x3 w& P. w
  713.   t0 ~  H( A% j5 F4 O. N
  714. ; The directory under which PHP opens the script using /~username used only
    8 y9 s$ g6 r) J
  715. ; if nonempty.
    ; e/ H" a* ?, o* t# X1 r
  716. ; http://php.net/user-dir
    & W: ^8 k- p: D$ r& b
  717. user_dir =" s9 C- p5 ]# x8 S1 M3 o/ L

  718. - Y7 F" M& V8 r
  719. ; Directory in which the loadable extensions (modules) reside.
    9 N6 t+ Q, P% l6 ?- x' T6 c
  720. ; http://php.net/extension-dir
      w! U7 W" ?  h
  721. ; extension_dir = "./"4 `2 A- \0 b* w9 e. [" {. d
  722. ; On windows:
    : g. H4 T  I$ a# u8 m8 h( b! }
  723. ; extension_dir = "ext"
      y- u4 c3 E. s* Z
  724. 8 O: d/ n# f9 C1 ]2 Z5 b
  725. ; Directory where the temporary files should be placed.
    3 O% G8 v- k; |% K; M
  726. ; Defaults to the system default (see sys_get_temp_dir)
    . p4 a& I1 s$ {+ x% J7 u" x
  727. ; sys_temp_dir = "/tmp") g2 S' r* w' i" @5 _7 i6 E
  728. / U/ e2 ~7 [% V" }1 h6 Q, a2 V
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work+ G9 X4 d( F& @/ Y( f+ p' b
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically, i  j" e; R3 O) Q. I8 T
  731. ; disabled on them.  q: T3 Y* j& S# p: o* e5 f: Y
  732. ; http://php.net/enable-dl- u8 }# X/ X, m
  733. enable_dl = Off# c" G2 t2 _- D/ M
  734. $ [" F2 `4 C9 \/ v8 L
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    & |: P6 @3 J2 T8 \
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ; t7 @2 E8 f7 \$ w. a7 h1 K" M
  737. ; turn it off here AT YOUR OWN RISK
    / n# v; p+ s: T5 n5 O0 u9 G
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**5 U. d! R0 X+ d4 C8 p
  739. ; http://php.net/cgi.force-redirect+ p1 W3 M2 }; a* w
  740. ;cgi.force_redirect = 1( d- P6 I0 L+ O* m. @1 s
  741. + j+ b! X  \5 X
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    % n( {8 V; m  b' x! f, r% n
  743. ; every request. PHP's default behavior is to disable this feature.
    ' C8 x* a* L2 x; J
  744. ;cgi.nph = 1" K& Z0 ^1 D6 c7 y
  745. , H1 K7 F' S; ?" H3 R( Z
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape. l5 Y% T. [. G9 P2 h
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP% y" F, ^# e* B! l8 o2 i6 D3 N! w
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY$ B5 [9 i! _& ?7 r
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    2 k) s$ ]1 @- r8 M8 Q& V( G
  750. ; http://php.net/cgi.redirect-status-env6 l4 G7 t' S1 @0 g# `, b
  751. ;cgi.redirect_status_env =9 N: a$ H0 z/ s/ S* x* f/ @3 W1 ~0 V
  752.   i5 H( X  }! Y7 a
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's" x3 _: W7 X9 c* K+ O
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    - Z: b7 R. L! F
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting* _1 Z5 E  h+ M4 [, u  A
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting: j% z  H; e7 G! E
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    9 C' k% \; m1 S5 ]+ H$ G
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.: W3 e' U) I& C, }
  759. ; http://php.net/cgi.fix-pathinfo
    # i  t3 s! Z3 l8 v! Z2 T$ A
  760. cgi.fix_pathinfo=1
    3 T, s7 o% H, B' _# c
  761. 6 a3 p1 m: ^# ]8 \+ [
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside& E, N' E& v% H
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    4 I3 Y& m9 g9 D% Z7 B$ a
  764. ; http://php.net/cgi.dicard-path/ F( _! y  H' I
  765. ;cgi.discard_path=12 J+ p1 q7 G$ ^9 j! \, X( m
  766. 5 D+ {7 P" G: X$ _+ W. `
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    5 V6 X% f- W7 n) N1 _  ]* y
  768. ; security tokens of the calling client.  This allows IIS to define the
    ' w- I! O; q2 r) S9 B) E+ q
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    $ r* z( ]; O, q1 }( b
  770. ; does not currently support this feature (03/17/2002)$ d3 m9 H3 |9 O; z! ^$ z
  771. ; Set to 1 if running under IIS.  Default is zero.
    6 ~5 _0 [7 y0 d( ^4 Y* R& j
  772. ; http://php.net/fastcgi.impersonate2 N; _$ [! N3 l! I1 f, K9 f3 m
  773. ;fastcgi.impersonate = 1
    1 k9 _2 p0 }9 y5 `

  774. & T% p6 Q0 o$ D2 f! N8 Y0 w
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable3 i/ j" U7 a9 j5 A/ a$ J
  776. ; this feature.1 I; v) `$ Q5 p/ }; J% E  i( k3 [
  777. ;fastcgi.logging = 0- ^, d8 ^- y% _% z  t. j

  778. ! `5 d1 m8 r. L8 x. n, A/ C& O) g
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to% ?8 V  C/ h" M- n
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that6 q" a5 K1 ?- Q! y% N
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    8 ~' c# r) t6 {* x! w% b  ^" A
  782. ; RFC2616 compliant header.
    0 p) T2 Q) h, E; e
  783. ; Default is zero.( V2 t& @, B4 d' n9 S
  784. ; http://php.net/cgi.rfc2616-headers% e  Z( q0 A; [7 C$ ?  l- L
  785. ;cgi.rfc2616_headers = 0
    + |( g1 p3 e! |) L6 d
  786. 1 G  e. H; d& {& t) V
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!/ c0 C' A4 t5 w2 n. z9 t
  788. ; (shebang) at the top of the running script. This line might be needed if the
    - w2 l$ u: D( I3 ?
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI2 h5 p: W5 h' M1 R; l
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ) T* y  b% Q3 k% b# S
  791. ; http://php.net/cgi.check-shebang-line! r0 Z  J) B7 Z
  792. ;cgi.check_shebang_line=17 I7 _# \  J9 J  a; I5 g
  793. 9 D" e4 s9 w& V# W) i
  794. ;;;;;;;;;;;;;;;;
    & l0 s% M4 m+ [% r) L
  795. ; File Uploads ;
    + S+ @- u& f# I( Z0 H+ i  T" ~; }
  796. ;;;;;;;;;;;;;;;;
    # \: y8 ^5 b* K& _+ D
  797. ! f7 k2 p& ^9 U) }& n
  798. ; Whether to allow HTTP file uploads.
    ) x# T& [, c* p" m. r
  799. ; http://php.net/file-uploads" x$ f5 j- a1 }; J: w7 ?
  800. file_uploads = On
    4 V4 u0 P' ^7 ^, y
  801. 7 r5 d! J3 n- _6 `" q+ f
  802. ; Temporary directory for HTTP uploaded files (will use system default if not. S/ i1 y: O. \" Y
  803. ; specified).
    4 J6 B8 w8 q- X' `$ u" i& g0 x; P1 _
  804. ; http://php.net/upload-tmp-dir
    1 X2 W0 s6 _0 }4 A
  805. ;upload_tmp_dir =$ K8 r0 j- C& X- u$ u

  806. / \* M6 Z9 z. t. \9 a' |3 d
  807. ; Maximum allowed size for uploaded files.: D2 X/ o1 F) B2 q; G1 x2 d7 r$ E
  808. ; http://php.net/upload-max-filesize
    / M' E- K2 n/ E/ ^! p4 \2 I
  809. upload_max_filesize = 50M1 _& e6 u& K/ o& |8 q& \' O
  810. . s. V' R4 Y( W3 F% Q' v
  811. ; Maximum number of files that can be uploaded via a single request+ X$ D! O6 f1 s7 J
  812. max_file_uploads = 20
    , T# M' Q% `9 ?3 `, T
  813. 4 t3 o$ k9 ]8 U7 s' I! P5 V
  814. ;;;;;;;;;;;;;;;;;;
    0 k" N7 r7 s1 s. f; b/ Y
  815. ; Fopen wrappers ;/ W5 L; w$ s3 l- _; I
  816. ;;;;;;;;;;;;;;;;;;
    ' y1 U% _/ U% A1 h
  817. 3 t: l+ I+ |7 k/ e1 A
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ( ?! g( K  l1 J
  819. ; http://php.net/allow-url-fopen/ ~1 c. h( I# p2 U) F
  820. allow_url_fopen = On( P! c/ s! B( v% B

  821. 2 V/ I; v3 p  o# s$ x
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files., {2 n+ O. _# s6 n( D$ k, J
  823. ; http://php.net/allow-url-include
    5 }' K2 X' O/ `; Y' B( k- U
  824. allow_url_include = Off
    5 ?- M8 @  Y  {
  825. * Z2 I( z2 E0 B3 r! q6 p9 `
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    " k7 ]4 b6 C% p6 r% i
  827. ; for this is empty.
    , G+ L  G, z( [1 ^, |/ h8 l+ S
  828. ; http://php.net/from
    + W7 K, J- u, V
  829. ;from="john@doe.com"
    $ P- {- J' }3 h4 v' L

  830. . W' \/ V4 L( Q+ m. [: x
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    5 \( L3 x$ O9 p: g3 _9 E
  832. ; http://php.net/user-agent
    & P" W4 t6 ?9 B% d& a2 m& D) J
  833. ;user_agent="PHP"
    5 ~9 L9 d* |+ \! T9 _
  834. + R4 n& o+ x3 `! i+ J0 L# v
  835. ; Default timeout for socket based streams (seconds)  x. A' X7 F! P# B7 l/ n" K, B" y& m
  836. ; http://php.net/default-socket-timeout
    . M# x" [) N/ L1 S
  837. default_socket_timeout = 60
    , P! j# C! N# N8 @

  838. ) _8 Z8 a7 X% a
  839. ; If your scripts have to deal with files from Macintosh systems,
    / B! |2 F8 N6 y! Z' J. c. |" m/ ]
  840. ; or you are running on a Mac and need to deal with files from6 r# J3 N; g3 F6 E. a1 }
  841. ; unix or win32 systems, setting this flag will cause PHP to
    9 u# W8 ]1 ~, H6 Z* C0 W! F. X
  842. ; automatically detect the EOL character in those files so that
    / x3 F+ g9 T$ J' z. J1 g
  843. ; fgets() and file() will work regardless of the source of the file.
    . T. n5 v0 B. G& t
  844. ; http://php.net/auto-detect-line-endings
    " y' e8 K2 s/ H% b$ `
  845. ;auto_detect_line_endings = Off3 a- P4 t- L! k# C+ U; l
  846. 3 d. O, V+ e) [/ M$ _. v% @; S% ?! `
  847. ;;;;;;;;;;;;;;;;;;;;;;- H* ]" v6 n/ E- I
  848. ; Dynamic Extensions ;
    / m! ?: X# G6 L0 Z1 ~5 i/ H
  849. ;;;;;;;;;;;;;;;;;;;;;;
    * {& q7 p# g( _2 q" k

  850. + e. v1 K4 l+ Y+ Z4 c" t* n3 e% N
  851. ; If you wish to have an extension loaded automatically, use the following
    " |, g% U  I: v2 n! s
  852. ; syntax:
    6 l( V0 u, o: u
  853. ;
    ; k( C- E- r+ d. v* M6 W- f. j4 H" b8 ]
  854. ;   extension=modulename.extension
    , \% A2 [: v$ u! M
  855. ;& @2 L/ k  d1 o$ s
  856. ; For example, on Windows:
    . R" j( F0 Z+ U$ O) \3 Z$ W
  857. ;( |: W. h. {  i4 G! C  J, e! l! m
  858. ;   extension=msql.dll) z, D" R$ k* P: n- r+ L4 l6 Z
  859. ;% o2 O! x0 q' F5 s' N# }4 L
  860. ; ... or under UNIX:
    , I* [6 D, I. ]! x7 T
  861. ;$ f' @2 q  f8 }; _1 p
  862. ;   extension=msql.so
    9 u6 j  L3 w  O- g/ f
  863. ;* l0 r$ s6 l9 _
  864. ; ... or with a path:! D* w3 ]5 v* A8 m, C: Z
  865. ;& e: X: \8 `+ ?5 ~; ^! ]- ^
  866. ;   extension=/path/to/extension/msql.so# k' ^/ B) v* j3 y3 p7 r- ^
  867. ;5 M! \& P' r# x# h% V% o4 V
  868. ; If you only provide the name of the extension, PHP will look for it in its
    $ j' m& K" m9 L$ d0 E
  869. ; default extension directory.
    % c9 J* U0 c5 {  D# T# k; ^" t0 `
  870. ;5 R9 Z5 W3 s; v( @
  871. ; Windows Extensions
    3 ^- k  D( J' @
  872. ; Note that ODBC support is built in, so no dll is needed for it./ Y/ K8 d. D4 _( F3 u
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)$ R4 h* L, \/ M% s8 e$ U
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).+ r3 U' a4 M* T# H' M/ w
  875. ; Be sure to appropriately set the extension_dir directive.7 L7 w# U6 P' Z1 |
  876. ;% S5 A9 D9 x) C
  877. ;extension=php_bz2.dll
    " g6 e/ R/ `" ^& |- i1 I/ D+ k* }! ~# B
  878. ;extension=php_curl.dll/ [+ w8 Y' }3 @7 u/ }  P9 J
  879. ;extension=php_fileinfo.dll
    9 [" w- o1 r. p
  880. ;extension=php_ftp.dll; F" c. w: ~/ C! Z7 r+ c
  881. ;extension=php_gd2.dll, n0 V) i: ~7 L" W9 \( R  [
  882. ;extension=php_gettext.dll% F$ E1 u. V, h, r% N( y; D2 T; A2 P9 a
  883. ;extension=php_gmp.dll5 S8 y  W! g, q1 f$ J  D
  884. ;extension=php_intl.dll$ T9 O* ?- f5 D" q- X7 z2 e
  885. ;extension=php_imap.dll% H7 ^- S+ `' k' w; ^8 ~
  886. ;extension=php_interbase.dll
    . u' Q* q  s) N$ E$ Y
  887. ;extension=php_ldap.dll
    / U# d; s2 o- @/ V6 B' {( r
  888. ;extension=php_mbstring.dll+ Y* x8 a$ a" g9 I7 w
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    7 {4 N& h7 l! ~  t! R1 s- |
  890. ;extension=php_mysqli.dll$ R. n: [+ a, |  P( e; u
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    0 Z( }4 x1 K; K8 W, A+ m& }- A* G3 x
  892. ;extension=php_openssl.dll. @% @, `* C  U& L) z% t6 a
  893. ;extension=php_pdo_firebird.dll
    % V5 N* t2 C7 h; W- j, V
  894. ;extension=php_pdo_mysql.dll
    1 F9 w  H1 M2 v# E! V$ m
  895. ;extension=php_pdo_oci.dll  z: d+ _: Z3 S& D: w* q
  896. ;extension=php_pdo_odbc.dll5 e- d9 ^! Y- N' @/ `) d
  897. ;extension=php_pdo_pgsql.dll
    & Y0 P) A& f. u* i, Z' N+ P
  898. ;extension=php_pdo_sqlite.dll
    . S. N& b9 V7 Z* i. y( J; R2 U5 f
  899. ;extension=php_pgsql.dll
    3 N3 C3 y! c8 s- m6 g/ @2 k- W
  900. ;extension=php_shmop.dll
    , L6 G% ?5 ~! v1 M2 u

  901. 2 S. d% ?4 I% g
  902. ; The MIBS data available in the PHP distribution must be installed.  p# W: B1 K! X6 ^0 j
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ( J9 {. O3 a: B4 P% h
  904. ;extension=php_snmp.dll
    ( o! T* U+ s/ Y' R( T( H4 G

  905. 8 R5 t5 k8 @) X( v& P% Z
  906. ;extension=php_soap.dll6 c7 x1 c8 I8 `: |9 b' Q
  907. ;extension=php_sockets.dll5 S& |: p- Z. i; Y5 _. X4 r+ Q  H/ }
  908. ;extension=php_sqlite3.dll
    " T, X+ A4 Q3 N3 C
  909. ;extension=php_tidy.dll
    # C' X; ]8 F; ~
  910. ;extension=php_xmlrpc.dll4 p4 Y( D( l9 G0 {; m' U- p0 A
  911. ;extension=php_xsl.dll: t/ N) }- g! ^& e; M" M2 C

  912. + i$ J; u' j+ j: g. n; w# H
  913. ;;;;;;;;;;;;;;;;;;;
    : X1 R8 B: o9 k* W7 P! q& k
  914. ; Module Settings ;& V( Y! s+ p3 N. m& O( g
  915. ;;;;;;;;;;;;;;;;;;;
    1 V- ^2 }, G8 C% ~$ j0 m
  916. % i, _5 t: h9 v# R$ ^
  917. [CLI Server]( e7 m- y/ S. _/ C. n
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.3 |; Y: [8 U9 U9 J- m( s
  919. cli_server.color = On& ~! D/ s5 Z% W8 P
  920. 7 |  F6 r$ t  G
  921. [Date]
    1 J  N+ z8 |: T1 ]
  922. ; Defines the default timezone used by the date functions
    5 z. x& b( h! @, F! W2 L. a6 V
  923. ; http://php.net/date.timezone
    6 F) n4 t& F' n/ ~# i) Q
  924. date.timezone = PRC: c" O6 E5 q6 m

  925. 3 Y2 y9 L4 X2 b5 h; A
  926. ; http://php.net/date.default-latitude
      |  ]( b, E+ M7 E1 v+ ~9 y
  927. ;date.default_latitude = 31.7667! g$ |- o# W% ]) Q" i
  928. & F* d6 O' L) J: g! H( _
  929. ; http://php.net/date.default-longitude
      s; @5 n' g7 c3 L* d( [; N
  930. ;date.default_longitude = 35.2333
    5 n7 T8 E) t% q, Q# @1 `8 c. T

  931. * F) }* |7 m) b$ [) U( \
  932. ; http://php.net/date.sunrise-zenith
    , O" j% G* K+ _+ J  @4 G
  933. ;date.sunrise_zenith = 90.5833334 ~- U8 t- n& t% X
  934. " V% J- y& C" T3 ^' X
  935. ; http://php.net/date.sunset-zenith# G& X4 I/ P; g; [- z
  936. ;date.sunset_zenith = 90.583333
    & L: g. M% j) D
  937. 1 J3 o! D3 `% O# x0 m; b" b! v
  938. [filter]! i4 R) y& W; E0 Q8 o
  939. ; http://php.net/filter.default4 x5 `& O+ e* l+ Y- G6 z
  940. ;filter.default = unsafe_raw
    ; j. ~3 d/ I  W% ~, j' h

  941. : `5 n3 q- @: R) e2 `# W
  942. ; http://php.net/filter.default-flags
    - l* S: `! o4 y+ M( \' Q6 {6 H
  943. ;filter.default_flags =
    * X; H" T9 F3 ?+ ~! W( ?

  944. ( @  m9 F2 U. r5 p# B
  945. [iconv]1 q( T/ P5 @- X
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.- b- @% N' v$ o1 z
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    - q$ b: W* T: d; q# b8 z
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    / ~0 @" e4 O2 H% ~. l' T
  949. ;iconv.input_encoding =- F) `& Y: v! m' }: m2 r# w5 Z- Z
  950.   t8 i2 T6 ]$ _. c7 K
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.& f$ t% U% w) e! N) {) T1 |
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.. D7 r5 Z1 p  `! r1 s2 F7 g
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    8 w* v( \3 C+ ~0 F* X, ?& S
  954. ;iconv.internal_encoding =
    / v3 t8 p+ F5 o1 `: n: I( G- A
  955. : Q: m" j$ E4 J3 y4 C! a8 u
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    9 ~8 i* d! q8 }0 `6 M6 S
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.( v/ S' |9 p% [9 E
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    4 ^2 b3 h  c, K' o6 H( i- r, I
  959. ; To use an output encoding conversion, iconv's output handler must be set' s# ~6 O& I1 Z- }
  960. ; otherwise output encoding conversion cannot be performed.
    - h1 S# O) e# \
  961. ;iconv.output_encoding =% J, B/ W5 I* W

  962. - O; |  J2 h4 [2 o( C
  963. [intl]- C7 K" D$ w& e
  964. ;intl.default_locale =
    : e! a. e/ @; ^' q$ d
  965. ; This directive allows you to produce PHP errors when some error& T' ?1 R  c, D5 O5 ^/ K5 ]5 Z' y9 P* n
  966. ; happens within intl functions. The value is the level of the error produced.
      K% c) y: B1 u7 l2 P
  967. ; Default is 0, which does not produce any errors.4 Z/ }$ h6 x7 g6 ?9 r! ]7 T
  968. ;intl.error_level = E_WARNING
    4 J7 Y& [# T( H
  969. ;intl.use_exceptions = 0; U: F; ^+ U8 a. J! T

  970. 8 i  V( b9 ?3 R1 t
  971. [sqlite3]5 U0 q3 ^& ^( R  H1 H9 m
  972. ;sqlite3.extension_dir =
    ) b$ n, N9 Z8 C, r7 p+ y2 {
  973. % X& y) n+ ~/ f1 ?
  974. [Pcre]' k4 ^4 a- S" q
  975. ;PCRE library backtracking limit.
    ! v8 }3 v+ ~( {/ v. D0 b
  976. ; http://php.net/pcre.backtrack-limit
    7 m9 k8 M) }, q" u: y3 P6 ^9 m
  977. ;pcre.backtrack_limit=100000! S; w  z. j& D9 v/ E# b# Q- ?+ `
  978. - B9 r0 f- Q7 y9 x0 U2 o0 \
  979. ;PCRE library recursion limit.) t* T  ^- z5 e
  980. ;Please note that if you set this value to a high number you may consume all
      T0 K$ M( q# M1 I3 N  H$ b
  981. ;the available process stack and eventually crash PHP (due to reaching the
    & h8 |! p% D  B. g* s
  982. ;stack size limit imposed by the Operating System).& d; h7 }/ U9 m9 Y$ q! X
  983. ; http://php.net/pcre.recursion-limit
    8 y2 T7 H; c9 T8 k5 c3 ~
  984. ;pcre.recursion_limit=100000
    / t  G& ]0 v; D4 d' t5 |  C

  985. : C. g1 R2 n: a
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    , b4 R7 W0 r, ^  A" M( y2 Q$ S
  987. ;library to be compiled with JIT support.
    # s% V2 [/ n; T! T0 `
  988. ;pcre.jit=1
    / V9 F! G' G9 t* c4 _
  989. 5 E& d$ Z6 F# Q$ ~: V# }+ u
  990. [Pdo]  Q( f4 O2 r( U& k
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"+ y) b" S# B& y& B1 r4 R
  992. ; http://php.net/pdo-odbc.connection-pooling
    0 _8 i* k7 Z% R4 N3 ~7 i" |: Q3 w5 o
  993. ;pdo_odbc.connection_pooling=strict! Q0 @5 w% O  [
  994. ) [' F4 @# t% y1 r' R7 U' G% B
  995. ;pdo_odbc.db2_instance_name
    3 R6 q& z; ?2 N+ t

  996. / y' `) j% P" Y- F
  997. [Pdo_mysql]
    , ]3 x1 j7 ]! {( z
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache) x9 e! e, l  ]
  999. ; http://php.net/pdo_mysql.cache_size" v; I3 p  r7 n$ {; i2 T! k. f; E
  1000. pdo_mysql.cache_size = 2000
    - I+ D) P) p$ a" S, g2 a
  1001. + ]* O4 i1 S  d0 T2 r5 P
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in1 y! `, V; @/ r2 V
  1003. ; MySQL defaults.. t, ?: c" P" Z1 N
  1004. ; http://php.net/pdo_mysql.default-socket
    3 m' R1 z( n+ O! [
  1005. pdo_mysql.default_socket=
    9 d$ _' Q' r/ c

  1006. " h: f% K: A/ s1 F: y2 c
  1007. [Phar]+ F' L0 }! K0 h- f! N  A* f
  1008. ; http://php.net/phar.readonly
      X) j' R8 [! D7 ]& k# q+ ?! g
  1009. ;phar.readonly = On
    * X" A. @4 g5 p: `4 H; x4 B

  1010. $ X6 j$ f5 c+ S
  1011. ; http://php.net/phar.require-hash
    ' ?6 H. r" R! @. ^2 F
  1012. ;phar.require_hash = On0 f" r8 x) S7 \+ J, b# R. P! l. _

  1013. - J) K, ?' {1 j% [+ c
  1014. ;phar.cache_list =# y4 k: u9 k- P* n
  1015. 7 [; q8 h- @$ L$ f1 F2 j9 j
  1016. [mail function]1 j1 L1 O1 |5 H" n2 p7 q
  1017. ; For Win32 only.1 h( L0 v, B# `* ?" k
  1018. ; http://php.net/smtp7 E4 c$ X' t" U
  1019. SMTP = localhost
    : Z4 {9 T5 g  Z2 B2 @$ a
  1020. ; http://php.net/smtp-port  c: {2 E0 J: C4 S4 J/ U
  1021. smtp_port = 25
    6 d- n3 g! S6 H4 {+ a* m; o
  1022. / r- ]& q- M' }
  1023. ; For Win32 only.
    0 y1 _1 Z+ Z2 l$ K8 R
  1024. ; http://php.net/sendmail-from  e9 ~$ S+ y; Q- b4 D' l3 e6 q
  1025. ;sendmail_from = me@example.com7 ]0 [/ U! s! g! @
  1026. 8 \( w5 B+ X$ v6 o
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").  A8 I: N8 u5 M" D0 k
  1028. ; http://php.net/sendmail-path! D& _1 [9 l3 {+ R/ Z
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    1 n7 _6 |: k4 {
  1030. ) k) D4 N# d, s* O
  1031. ; Force the addition of the specified parameters to be passed as extra parameters' l0 D. _; |$ P1 n1 E& l  R; u
  1032. ; to the sendmail binary. These parameters will always replace the value of+ G$ I0 l% S$ W5 Z
  1033. ; the 5th parameter to mail().
    ' D% r3 g' `9 _+ e8 c8 o' |% ]
  1034. ;mail.force_extra_parameters =
    4 S$ c0 t/ R5 S* {5 h7 d' D
  1035. ( C! T9 z/ R2 o4 D9 k2 O
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename; z, e* I: X* O+ \2 n' R
  1037. mail.add_x_header = On) F1 F5 p! k1 ^2 B1 @
  1038. 8 a8 f) q* W' v7 R! S1 L: Z
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    : ?3 {- `" \/ n( G7 O
  1040. ; the full path of the script, line number, To address and headers.
    ) N) s; \, D/ s/ x5 p( Z
  1041. ;mail.log =# Z6 b. z/ I+ H9 g& o
  1042. ; Log mail to syslog (Event Log on Windows).
    ; }# p* L) L# l1 y5 D: Y
  1043. ;mail.log = syslog
    3 ^5 j5 \4 O) H: ?0 _: \
  1044. / A1 L$ }% U5 x
  1045. [SQL]
    & e$ t! Q6 b, {+ N% y
  1046. ; http://php.net/sql.safe-mode
    1 P: v, K+ {& `) x
  1047. sql.safe_mode = Off3 b' c, X/ i, Q. Q3 `' X* u- I
  1048. " a/ G4 j- D5 q0 k2 r. B
  1049. [ODBC]
    + o3 C3 M- s* H& V, ?9 M
  1050. ; http://php.net/odbc.default-db7 [( }. v, ~7 [! Y0 c
  1051. ;odbc.default_db    =  Not yet implemented
    2 E5 m. t; E* x) _# t0 L

  1052. 2 p" H7 Q2 C* W9 C9 W
  1053. ; http://php.net/odbc.default-user
    " j  E2 U2 {" p  o
  1054. ;odbc.default_user  =  Not yet implemented
    : \2 K  p* S: i$ m! ]

  1055. . s! d& }8 A# p2 s4 D7 B
  1056. ; http://php.net/odbc.default-pw
    ! X9 I+ g1 E3 w. t* P
  1057. ;odbc.default_pw    =  Not yet implemented. f2 t( q% ^# u  O

  1058. & w& q/ l# J1 a1 c
  1059. ; Controls the ODBC cursor model.
    ; C! }2 |" d3 R# R0 T, Z4 y
  1060. ; Default: SQL_CURSOR_STATIC (default).
    # t( h- M% z3 [- \0 ]- `: Q
  1061. ;odbc.default_cursortype6 D- Q2 i! l5 v; C( [; q

  1062. 9 i4 e* Q% D0 k/ I) J3 x9 X- [
  1063. ; Allow or prevent persistent links.
    - T. y4 l% M1 _' r3 }/ f! Q% X
  1064. ; http://php.net/odbc.allow-persistent
    3 w$ ^' i1 N# }% D4 b% I5 A! t
  1065. odbc.allow_persistent = On
    % B5 I7 p) @4 o" ?
  1066. * ~5 p' a: N( |* C# g6 N) w0 t
  1067. ; Check that a connection is still valid before reuse.( X  E& A2 N& n7 ~7 K
  1068. ; http://php.net/odbc.check-persistent9 q9 x- h9 v* ^0 I* E
  1069. odbc.check_persistent = On
    - t6 i3 o. q  |* z7 |  Y0 S6 D( G

  1070. 6 P) q) k) l1 b" y5 T: K
  1071. ; Maximum number of persistent links.  -1 means no limit.+ g5 }0 h* ]! K
  1072. ; http://php.net/odbc.max-persistent' |$ R6 k4 E0 p& }
  1073. odbc.max_persistent = -1" I5 v) P! j% N6 u5 J
  1074. 8 X  U* F7 ]5 f6 N, @) M. L/ M
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    " s; ~: B- H9 ^5 u
  1076. ; http://php.net/odbc.max-links
    4 e/ ?- O# j% Z! {9 q: _# p2 X
  1077. odbc.max_links = -1  Z8 [" x, J7 g/ K1 W& Y4 e4 i) T  t
  1078. 1 t4 V1 W6 S* l) D; [2 v$ _. B
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means: \- ?4 i' Y. o; g' r
  1080. ; passthru.
    + k( Q9 d  ^8 P/ T$ f! h! V) i9 b- i
  1081. ; http://php.net/odbc.defaultlrl
    $ a7 `# v$ W" n9 B2 O2 q, ^/ F, d
  1082. odbc.defaultlrl = 4096. v  Y5 ~: X, k
  1083. 6 Z# |0 U6 W$ }  T
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.0 }. l0 C2 r. S9 R) M
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation' y2 Z. w2 a& R, [
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    7 Q: e; g. |; C0 k
  1087. ; http://php.net/odbc.defaultbinmode
    7 W/ @, u& O( P. I0 j! g8 P
  1088. odbc.defaultbinmode = 10 Z% F; w% S( ^& X2 F9 N( d) k
  1089. . r$ E) v+ R9 ?9 b- _
  1090. ;birdstep.max_links = -1
    6 t* Q9 d3 z1 n% C3 h' H  _

  1091. 2 ]% U/ G) E7 r6 s* y
  1092. [Interbase]
    " t' Z4 O9 }8 y& J: ~; X8 V
  1093. ; Allow or prevent persistent links.
    % s3 }3 h( ^- @9 q6 y& P
  1094. ibase.allow_persistent = 1, p4 C" m3 F+ K( w) i4 O
  1095. & T  y4 b8 i* ?( \: G: i
  1096. ; Maximum number of persistent links.  -1 means no limit.8 Z  a2 m7 t6 j1 F
  1097. ibase.max_persistent = -1* L& H1 `% v& y) o. S  F
  1098. ' }" \, r& j* S2 K3 d4 s( B9 e
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 D- C- B! \- C0 Z+ [; g
  1100. ibase.max_links = -1
    6 @  T# B+ T6 Z2 S" x

  1101. 6 ?) w7 n8 q3 \6 A- T$ H  x6 }
  1102. ; Default database name for ibase_connect().' T* `8 ^" q( M$ j4 t- `$ |
  1103. ;ibase.default_db =
    # O9 C: w! [1 S, o/ Z* s

  1104. + _: Z3 `( P8 ^' m7 y6 j8 y7 H, _
  1105. ; Default username for ibase_connect().2 U2 H4 i' A* x# y0 C
  1106. ;ibase.default_user =
    & F7 ?/ w6 z! J) X

  1107. 2 E) m( k" |) x# {% K; n6 i
  1108. ; Default password for ibase_connect().
    3 c) Y8 g% W. J: w, W7 v
  1109. ;ibase.default_password =1 d& E1 m8 G! _, P

  1110. # M/ Q6 p% i( q6 w8 ?, [( h  }
  1111. ; Default charset for ibase_connect().
    ! f3 e% i- Z# Y: W: P
  1112. ;ibase.default_charset =
    $ J- R& q9 ?+ e9 A. e1 b1 s2 v; P
  1113. 9 X" I  c' W; X! C! A
  1114. ; Default timestamp format.2 h& y* z3 X, g7 f8 k3 {, I0 L! o4 F( W
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    7 m7 d, D9 t5 h7 G5 |
  1116. ; g# ^9 P* k% k7 h1 Y" c% d) `
  1117. ; Default date format.# ^" B# {5 q9 e" u
  1118. ibase.dateformat = "%Y-%m-%d"; Q* U" y  `- o0 |- M

  1119. % Z2 p' r* i" E0 o, _
  1120. ; Default time format.
    : R& _7 H. f3 n+ S% n9 u1 m
  1121. ibase.timeformat = "%H:%M:%S"
    - s) b% `0 D7 f. o- u

  1122. 4 B, o9 b8 U* N& `
  1123. [MySQLi]
    ; a- I: `* q5 G) Q5 F$ L
  1124. 6 c5 N9 q" ]4 q$ ]# k8 ]; i9 i
  1125. ; Maximum number of persistent links.  -1 means no limit.
    & j5 B  R# k1 D! C1 _9 i6 a6 b
  1126. ; http://php.net/mysqli.max-persistent  s" w4 B- k9 W! M2 f( s
  1127. mysqli.max_persistent = -1
    5 N+ j0 W+ K; ?/ ~7 T  i
  1128. + O* k( W9 R4 u: K, v. T! B
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements3 G9 Y9 V% b1 b% e! Z3 o7 W9 Z; A( O
  1130. ; http://php.net/mysqli.allow_local_infile+ W& C4 b, ?/ n& C/ G
  1131. ;mysqli.allow_local_infile = On% g. l/ n! D0 {& a
  1132. 5 D: s4 B1 a- q" T) H3 d/ O
  1133. ; Allow or prevent persistent links.
    % d+ G- u! R3 M/ W* k! F- B# F
  1134. ; http://php.net/mysqli.allow-persistent6 X+ h/ i* {$ N% H, G! ~9 I; t6 }3 n
  1135. mysqli.allow_persistent = On
    # s) ^# x' }1 A- j  m
  1136. 8 v( g! X' O. K5 ~3 v
  1137. ; Maximum number of links.  -1 means no limit.
    ) y' l- u, O  ^0 `+ u: P( s/ x6 R
  1138. ; http://php.net/mysqli.max-links
    ; b3 ?; M3 J8 C3 C; {4 r2 B8 @+ a
  1139. mysqli.max_links = -1
    1 E! F+ A, S/ E9 t' }+ ]2 {
  1140.   b6 h* f4 l+ C* I$ _8 d
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 `- Z: `) t. x1 A; m; o1 R
  1142. ; http://php.net/mysqli.cache_size
    9 f. n" B6 m% b# s/ C! [5 i- _
  1143. mysqli.cache_size = 20001 L' _: j; v5 d5 q2 H2 X2 A

  1144. 7 ?  k. o# `* P7 L. P) A! g/ [1 j
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    4 I9 Z9 X, |% I( F2 O
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ( L: D; _; S' ~4 P" E) ^
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ! H2 h5 z# M7 l$ }" R0 O
  1148. ; at MYSQL_PORT.; A: Z6 t: `% l8 {) w/ i
  1149. ; http://php.net/mysqli.default-port
    ( \+ C% F- P. z
  1150. mysqli.default_port = 33065 }8 E& Q. M$ C* F
  1151. ) |3 V; k6 j: E9 C2 J1 h4 w
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in' _! ~8 X& k3 v' l4 z0 K+ ^
  1153. ; MySQL defaults.: ?) y- t4 u, y' Z
  1154. ; http://php.net/mysqli.default-socket1 |4 ?, y' b" }0 D+ E" a/ K
  1155. mysqli.default_socket =& G$ f5 J: r0 f# w2 Y
  1156. 1 U0 E% X# L+ F* w! J
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).0 L4 k0 b; ^! e) z: G. b
  1158. ; http://php.net/mysqli.default-host
    ( }9 ^2 _' |% ^+ _7 f
  1159. mysqli.default_host =/ d8 ]1 i) R3 l: J; z  T
  1160. 4 `  A+ @9 y9 E& S6 }) D
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    & E6 {* Z8 B5 H% P
  1162. ; http://php.net/mysqli.default-user
    $ D) D! @9 D5 D! p8 C8 Q
  1163. mysqli.default_user =% h# K3 U5 H( X9 ]. V

  1164. ! x( f# n1 ]+ w  g
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    + V( g/ L6 y( o! v7 w
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.' C7 I: C, E. C. T
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")7 ?, O: F4 S: l" m$ x
  1168. ; and reveal this password!  And of course, any users with read access to this
    9 Z  k: J  o4 {0 a( Y. f8 a
  1169. ; file will be able to reveal the password as well.
    , B& z0 {5 M9 U& I9 v. [# [
  1170. ; http://php.net/mysqli.default-pw: Q$ J: o8 e. b% g- Z: s
  1171. mysqli.default_pw =
    5 S, a. E6 ?) v# v  i( ~2 I

  1172. ( F$ q( @: A; L9 r! s/ h3 M
  1173. ; Allow or prevent reconnect/ H1 @* b! m2 i2 _! _3 |
  1174. mysqli.reconnect = Off% v; p; w! y$ k4 E

  1175. 2 C1 n1 j6 V. z+ M% T8 |
  1176. [mysqlnd]2 ^; y! S3 W& q; A$ K' K: b/ x, |
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be4 A* h# p# o; F/ S; t
  1178. ; used to tune and monitor MySQL operations.
    : t6 H6 Q# M$ y0 F
  1179. ; http://php.net/mysqlnd.collect_statistics8 q; X1 N% m7 F
  1180. mysqlnd.collect_statistics = On
    ; ^; g( E! \' L5 o- X/ {, W

  1181. 9 h0 x# V2 j% n3 R
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    1 t3 r4 a0 F! A
  1183. ; used to tune and monitor MySQL operations.9 W0 }% J6 w4 m  u$ \: D
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    ' \9 S; O# }3 V' \8 G: r
  1185. mysqlnd.collect_memory_statistics = Off5 o4 X2 M1 {8 |6 {7 P4 d) Q+ ]
  1186. & F* t- C- L! s
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    ' I8 O) _4 j& V; d1 ~/ ?! V' r. ]
  1188. ; file.
    ! `, \  R+ t- M+ |
  1189. ; http://php.net/mysqlnd.debug( O% f+ l1 i& @$ X+ F- t
  1190. ;mysqlnd.debug =8 i: Y7 z4 X- ~( F* p1 X
  1191. / m; s) Z' @/ s; l! P' b
  1192. ; Defines which queries will be logged.
    & j! z+ m* R2 b2 Q( W. C: k
  1193. ; http://php.net/mysqlnd.log_mask
    8 {. ]$ S$ e" [! d
  1194. ;mysqlnd.log_mask = 0
    ) w. G' c# b: R" r6 I0 [
  1195. 8 ?2 R) y( S* o
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.4 Q2 c' @5 U1 n# |' U- S
  1197. ; http://php.net/mysqlnd.mempool_default_size5 j# p) H( v  H2 L
  1198. ;mysqlnd.mempool_default_size = 16000
    1 S- C' v  F2 c0 s8 H9 W/ @6 o

  1199. : O: T/ r' ]: U; n+ K  M
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.& v2 L( i0 v' c' g. w( g
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size. ?2 c2 o* R7 w) S  _0 o! y+ h
  1202. ;mysqlnd.net_cmd_buffer_size = 20482 q' D! J/ y$ c3 {

  1203. 2 `5 R: P7 K' z5 J& C
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in7 q7 N* {) D# p- K2 Y+ V* Q
  1205. ; bytes.
    1 i  O5 s6 a& {& O" G. k
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    , P9 a6 o8 V7 b* G. h) [% l+ r
  1207. ;mysqlnd.net_read_buffer_size = 327682 r- C6 G0 g; P+ ~7 t9 G

  1208. ! F! T" Y1 x  E8 R/ ^* e  V
  1209. ; Timeout for network requests in seconds.
    7 x% m0 c0 R% `  N. ~2 v
  1210. ; http://php.net/mysqlnd.net_read_timeout3 f, ]: P: M  `$ B6 C3 g6 O0 v
  1211. ;mysqlnd.net_read_timeout = 31536000) E* q7 v0 ]& Y$ X

  1212. 5 ?" }1 V4 N6 Q; @1 `3 m, d
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
      Z6 n# `$ U) Q, c
  1214. ; key.; ~) T3 d, r6 [
  1215. ; http://php.net/mysqlnd.sha256_server_public_key$ V1 O8 |( U6 q9 g. \, p- o9 Z5 r
  1216. ;mysqlnd.sha256_server_public_key =
    $ b: Q6 E4 c1 x' A; t2 w
  1217. # q" g: {' a2 C; e5 @
  1218. [OCI8]. A, m: q1 X  ^3 Y, P

  1219. 0 D0 j+ ~. Z0 f0 q: ~! ?8 @: q
  1220. ; Connection: Enables privileged connections using external
    1 b2 i1 i. t- T/ L# W, r& ]
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    % F% F* v; a  J
  1222. ; http://php.net/oci8.privileged-connect% k7 R8 {  u" o
  1223. ;oci8.privileged_connect = Off4 G% R5 w* e  L" P5 v  ]7 e
  1224. * V  R4 K7 a! G' t3 E
  1225. ; Connection: The maximum number of persistent OCI8 connections per# l4 w/ E3 }5 v" C# J" k, g8 W
  1226. ; process. Using -1 means no limit./ R' b) `' a" P+ q; e
  1227. ; http://php.net/oci8.max-persistent
    * b0 D: S7 A! B
  1228. ;oci8.max_persistent = -1- s: c  v8 Y' X

  1229. 6 t4 k8 E( ^" p9 ?5 l4 m/ U9 H8 [
  1230. ; Connection: The maximum number of seconds a process is allowed to
    & c0 v* T7 R. a+ W, K
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ( e  G' E+ J/ X
  1232. ; persistent connections will be maintained forever.
    & w: ^& ]* l0 L
  1233. ; http://php.net/oci8.persistent-timeout& F( O" {: ^: f; P  k$ M2 }
  1234. ;oci8.persistent_timeout = -1
    8 J  f- e! w/ V) }1 @3 T7 K( d- y

  1235. 5 f, }3 U1 E9 w
  1236. ; Connection: The number of seconds that must pass before issuing a
    9 u- o" n' D# y# k
  1237. ; ping during oci_pconnect() to check the connection validity. When
      Q8 [# ?" v) S, n3 Y. k/ @1 v9 L
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables; ?- H( r  ~$ D* H
  1239. ; pings completely.7 |* T4 T2 F3 f4 O3 Z& f. W
  1240. ; http://php.net/oci8.ping-interval
    7 _3 ]! ~0 u6 _
  1241. ;oci8.ping_interval = 60
    ' @) B& e+ O- f, R
  1242. 3 D9 a' i6 _% K. w
  1243. ; Connection: Set this to a user chosen connection class to be used
    3 p" }* ]" S. k, C2 `& g# R; b
  1244. ; for all pooled server requests with Oracle 11g Database Resident' a* ~8 }/ A7 O# [% ~& p
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
      S2 ?, `9 O2 S4 L/ T4 }7 z: Y
  1246. ; the same string for all web servers running the same application,
    5 [" r8 n4 F2 C  y% h! V  M# ]
  1247. ; the database pool must be configured, and the connection string must
    / k! Z  t4 T4 @0 f# ?  J2 l
  1248. ; specify to use a pooled server.* |0 B0 [  B, Q5 c
  1249. ;oci8.connection_class =
    4 W2 L6 h# ?' D6 q. d

  1250. ; k. i% I! D& ]# d4 v
  1251. ; High Availability: Using On lets PHP receive Fast Application
    / X" q3 t3 V' Y, ]+ ~) o. {
  1252. ; Notification (FAN) events generated when a database node fails. The2 q) B* A1 A) k& a
  1253. ; database must also be configured to post FAN events.2 L1 ]& \* ~2 [' V9 }/ c
  1254. ;oci8.events = Off' X* B6 a% {! w3 e" i4 C
  1255. & a) l3 x7 g3 x0 }) L7 G- T3 ~5 r
  1256. ; Tuning: This option enables statement caching, and specifies how* z2 B; \4 ]8 V- `4 g1 r! M, I
  1257. ; many statements to cache. Using 0 disables statement caching.. q* _  l4 k5 E7 q' J
  1258. ; http://php.net/oci8.statement-cache-size
    $ i/ v6 h/ K0 p9 Q& C
  1259. ;oci8.statement_cache_size = 20
    1 P4 F- O  l: t7 U, P7 s( ~3 ~4 i
  1260. + p1 |" V5 P' E
  1261. ; Tuning: Enables statement prefetching and sets the default number of# x5 o0 O2 K2 B7 p& {% x! X( |% Y
  1262. ; rows that will be fetched automatically after statement execution.
    ) c' v3 V+ b2 j
  1263. ; http://php.net/oci8.default-prefetch
    8 m% n. w) w3 f* m% M/ b# X  B. f  F
  1264. ;oci8.default_prefetch = 100
    - [, l( |/ C9 P  G& u' h
  1265. $ D5 k( Y; Z) ~# T
  1266. ; Compatibility. Using On means oci_close() will not close
    8 R3 m  B- U" u8 `' q9 A) b# S
  1267. ; oci_connect() and oci_new_connect() connections.
    2 F- T0 H, P5 l* I" ?
  1268. ; http://php.net/oci8.old-oci-close-semantics  U- ^- S9 N  P. v
  1269. ;oci8.old_oci_close_semantics = Off
    0 _2 l6 B2 b: A7 F3 ~3 p
  1270. 1 H6 H+ [. G2 o5 R7 ]7 \& a+ y- n, Q
  1271. [PostgreSQL]
    7 l$ e. Z, S! }! w7 ~8 U
  1272. ; Allow or prevent persistent links.
    3 o" l8 L0 L: y6 R  \! R: d
  1273. ; http://php.net/pgsql.allow-persistent
    ' d+ {  h7 A" L- q: z" Q' c
  1274. pgsql.allow_persistent = On
    + x& o5 b. {4 V/ e# v
  1275. ; J1 Q! m: f, e+ E
  1276. ; Detect broken persistent links always with pg_pconnect()., i. r) x! g0 {3 s6 q& V
  1277. ; Auto reset feature requires a little overheads.
    ' T5 H4 t' ?' D  Q
  1278. ; http://php.net/pgsql.auto-reset-persistent/ n& o1 `# `3 w) R
  1279. pgsql.auto_reset_persistent = Off% q$ L, L& Q$ ^. Z( T4 p' [, B4 t

  1280. 9 d; W, R) Q# [1 a5 k6 r+ B
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ( j+ Q" o* I( F
  1282. ; http://php.net/pgsql.max-persistent* j/ [0 m: l5 {: q5 B8 K! W$ d
  1283. pgsql.max_persistent = -1
    * a; U. I$ _6 M. z
  1284. + U/ A/ ^  r# r5 [( e, F9 v9 k
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    & I5 L: }. E3 s9 B7 a
  1286. ; http://php.net/pgsql.max-links7 T/ a6 k9 q# i: ^
  1287. pgsql.max_links = -1
    ! [; E# T' w6 z! d* a/ Q$ k

  1288. " K- V: }" A( o
  1289. ; Ignore PostgreSQL backends Notice message or not.& g) g7 }7 T3 F7 w2 u7 z+ d
  1290. ; Notice message logging require a little overheads.8 V; Q( H/ S7 g; p% y" ]6 C
  1291. ; http://php.net/pgsql.ignore-notice$ I; m8 m. V; N) F4 D1 {0 H) r. f
  1292. pgsql.ignore_notice = 06 ?2 d- K4 B* k2 D2 P& a& c

  1293. * w* l# F# p2 ~$ J/ B$ T, G, b
  1294. ; Log PostgreSQL backends Notice message or not.
    + F! `1 y6 K$ Z6 k. q
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    2 C+ E: D- k. s8 {% ]7 `$ f6 u' u  P
  1296. ; http://php.net/pgsql.log-notice+ [. Y  x: o, b$ r
  1297. pgsql.log_notice = 0
    - c" r1 H' W* b' A" f# Y7 Z

  1298. 5 `- t& I4 }$ L6 j! }; \
  1299. [bcmath]
    $ G9 ?% q. U3 Q9 e( ?; Q, c
  1300. ; Number of decimal digits for all bcmath functions.
    # }# }1 T3 W: u0 K! \% m; v) m+ f$ Y
  1301. ; http://php.net/bcmath.scale
    # e+ d- F% i5 r1 L
  1302. bcmath.scale = 02 e3 I( D  V- y
  1303. 2 A/ t$ |, M9 ?7 y5 {+ J* z/ ^
  1304. [browscap]0 m' g& e# h, a+ @/ m' j
  1305. ; http://php.net/browscap
    5 B7 ^: ^# ?9 I& Y6 s
  1306. ;browscap = extra/browscap.ini
    / N7 v+ {% \# l' F0 ~
  1307. $ _9 @, G- E4 X( r
  1308. [Session]
    5 P& \4 `  U- I$ J- \" S" o: N- f$ F
  1309. ; Handler used to store/retrieve data.$ O# z: J5 t4 Q% K8 s* a3 B. f
  1310. ; http://php.net/session.save-handler( v  t: R) ]4 G4 x- g4 _& {  ?4 z4 m' T3 J
  1311. session.save_handler = files
    # ?  z) D: t4 F: E5 A
  1312. $ b( @5 s: g# h  }
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    ! c* I+ ?# o" m3 h
  1314. ; where data files are stored. Note: Windows users have to change this
    8 \, C- B" X5 }2 s( O- ~: H; o9 h9 E
  1315. ; variable in order to use PHP's session functions.' X' }4 A$ g. r# e3 ?
  1316. ;$ F7 }# e* L! Z- i0 @3 y
  1317. ; The path can be defined as:
    " p0 y* j9 u0 r) z
  1318. ;3 ?# ?( t; S, B2 ]* S/ h
  1319. ;     session.save_path = "N;/path"2 r6 o9 a, P! _: m
  1320. ;/ ?: ~" @8 M3 u2 M3 n
  1321. ; where N is an integer.  Instead of storing all the session files in; ]9 }3 ^! ]( v" C/ e( \3 b0 |9 e* z, M7 S
  1322. ; /path, what this will do is use subdirectories N-levels deep, and5 }. P6 S( Q& K6 k8 L" \8 i% C" L
  1323. ; store the session data in those directories.  This is useful if" `" w) s  n3 k. P
  1324. ; your OS has problems with many files in one directory, and is
    , h4 B* ]& e2 u: O
  1325. ; a more efficient layout for servers that handle many sessions.
      G- `, l% R! e! P7 W4 F
  1326. ;) s1 W- J' l, u# M; o
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ; M. f. m  |- _9 P2 K% v
  1328. ;         You can use the script in the ext/session dir for that purpose.
    ( U7 J! i7 i7 O
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    ; _. v5 L! d. l8 N8 t
  1330. ;         use subdirectories for session storage; t! ?  S3 Y& {, W% [& x3 b
  1331. ;
    6 Q" @. `6 J, M2 h/ u
  1332. ; The file storage module creates files using mode 600 by default./ W9 S8 n/ Y. S8 }" g
  1333. ; You can change that by using
    6 H( W5 o$ d5 O0 u9 r3 B
  1334. ;
    % G  V8 C6 g$ l
  1335. ;     session.save_path = "N;MODE;/path"
    * ]1 A3 x( H# ~' ^
  1336. ;
    & Q2 t# V/ U5 B! u: l
  1337. ; where MODE is the octal representation of the mode. Note that this2 }9 ~) A, j  [$ n* T9 U: P  c( y
  1338. ; does not overwrite the process's umask., S4 O6 D$ }, F. o4 w, h# w
  1339. ; http://php.net/session.save-path) J$ H* B; [4 P$ y3 P
  1340. ;session.save_path = "/tmp"
    + O. U5 D- K5 f0 [9 O

  1341. % u/ V, R0 b) z& o# k+ k$ U3 V0 l
  1342. ; Whether to use strict session mode., k/ d" ]( g* C8 Q' o
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate$ X/ V, y, t0 f1 j- |
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects; p  l2 l) [3 m4 Y1 e
  1345. ; applications from session fixation via session adoption vulnerability. It is
    : m7 c2 n0 Y! C8 J' v1 e
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.) e( {% D/ q4 v/ O* u2 z
  1347. ; https://wiki.php.net/rfc/strict_sessions+ n- M* f5 g# T* y. T
  1348. session.use_strict_mode = 0
    , r# x8 o$ d" j+ Z( U; l

  1349. # [0 i* u, j8 H7 M4 X. D
  1350. ; Whether to use cookies.
    - l1 C( C8 r- D3 [: M1 ?$ l
  1351. ; http://php.net/session.use-cookies
    7 S  j5 D* e- E9 k" o3 x
  1352. session.use_cookies = 1& F4 ~' C! H8 y& E, X
  1353. 5 C1 E  C8 D3 W
  1354. ; http://php.net/session.cookie-secure) Y$ S# E( O4 _& g1 {0 L& G
  1355. ;session.cookie_secure =
    - W+ f) X2 a! D% ]5 G6 h
  1356. 2 z" H9 p$ W0 F& J
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    9 |4 o1 n( N+ e, Y7 [/ b1 o. o0 q: o
  1358. ; the session id. We encourage this operation as it's very helpful in combating( \8 c) ^, h7 L0 H! {2 V
  1359. ; session hijacking when not specifying and managing your own session id. It is+ H7 W+ y, W$ A& m
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ( r; ]% r2 D( u7 Y- }! u
  1361. ; http://php.net/session.use-only-cookies6 ], f. Z( L/ x. p* l
  1362. session.use_only_cookies = 1
    - l  n( |' }3 O5 V

  1363. & R: O4 h; l, `
  1364. ; Name of the session (used as cookie name).
      J0 O* C) N4 H; d. L! D
  1365. ; http://php.net/session.name
    5 u4 V4 L' Z/ ?6 x2 a6 ~4 F
  1366. session.name = PHPSESSID
    . p/ g+ K$ [' q* j5 }$ X# U
  1367. 4 r- t2 H( i  j" i! {- o& [
  1368. ; Initialize session on request startup.- v  t8 w: o# Z7 D% R! Y
  1369. ; http://php.net/session.auto-start6 C* q! i0 W! ]3 r
  1370. session.auto_start = 0- q) ]1 ]' _$ c/ v* b
  1371. 2 w- k( ?. H  I7 H# v2 y  x4 s
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    6 L9 }& e" ~# h1 s7 \  q4 V. C
  1373. ; http://php.net/session.cookie-lifetime
    + Y% H1 s. R* O0 J" t! G' m
  1374. session.cookie_lifetime = 0
    # O  g1 j: s+ k- F( p3 @! x
  1375. 5 J4 V) p  d# d2 X
  1376. ; The path for which the cookie is valid.' ~' S# g8 Y& V' |" @
  1377. ; http://php.net/session.cookie-path) L2 H6 N, i1 o  S8 a2 R
  1378. session.cookie_path = /; o1 e6 k6 F5 S; d  h
  1379. # c1 |  r. A  Q' o
  1380. ; The domain for which the cookie is valid.( m% J5 p% u  C/ a% }6 C
  1381. ; http://php.net/session.cookie-domain
    : Q4 K5 c& V; c3 f$ _* B- C% K( z
  1382. session.cookie_domain =7 N. b4 h# ]8 Y9 q, n/ |) C# ?) `
  1383. ( z+ s3 E" K% c) y0 }) K, G
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.2 \8 c" V9 R  K4 h5 N: ?* Q& l
  1385. ; http://php.net/session.cookie-httponly
    . |' Y. W- x9 v) U+ k" Q
  1386. session.cookie_httponly =% P9 l# e5 F! k

  1387. & k  ~$ x  M% ]( D
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.3 I/ C% H# f% A' C- G$ d
  1389. ; http://php.net/session.serialize-handler5 |. v: ~- ~; u$ Y, B, U
  1390. session.serialize_handler = php" X+ n  y  J- U$ f( c

  1391. 6 S4 c& i0 f0 v0 Z. c/ L* q9 u
  1392. ; Defines the probability that the 'garbage collection' process is started) D' ]' w/ o* q, p9 y! ^, V
  1393. ; on every session initialization. The probability is calculated by using
    : n( \9 J% W4 G; d) r, L
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    . F8 o# l) o1 V2 T$ ^$ a
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    , {: I: n$ R! S7 f) a2 f
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    4 y, _' @" y2 m& @5 U- g5 |: L' H
  1397. ; the gc will run on any give request.. h/ k& W9 t; k& u; Q) X
  1398. ; Default Value: 19 v0 z; X& t+ ^0 [. ]$ |2 L
  1399. ; Development Value: 17 h. }- ]  H) U8 Z4 f# K" q, K7 b
  1400. ; Production Value: 1" x1 h% n) Q9 Q2 O* x& {% S
  1401. ; http://php.net/session.gc-probability  O+ b( @' q& c# @; Y6 K+ f
  1402. session.gc_probability = 19 [$ ~8 x, v% e0 c2 L
  1403. ! z1 ]) V" Q9 a2 `" {
  1404. ; Defines the probability that the 'garbage collection' process is started on every5 _- h  |6 `) W) `# h- k
  1405. ; session initialization. The probability is calculated by using the following equation:
    0 G3 n6 Q# ^( g6 n4 U
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    6 y6 W. B+ K) |( M& S: V5 }
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1" X6 a- n1 I8 }2 T- j/ B9 \
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " E+ s  M, I9 q( y
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    6 D6 Y# R0 s4 P# ^6 W8 y
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,/ V" \. q9 R& @
  1411. ; this is a more efficient approach.
    1 T+ u2 t+ f5 Y1 J* W* k0 x
  1412. ; Default Value: 100
    ; @; E! X1 o2 I$ ~( \, f- {" U
  1413. ; Development Value: 1000. A* {* e* y$ Q& i& n, Y0 h, n9 ~
  1414. ; Production Value: 1000, _5 n" f4 Y5 T- E+ }. {/ b
  1415. ; http://php.net/session.gc-divisor
    5 ^. }+ o% D5 }* Q7 W
  1416. session.gc_divisor = 1000. _- ^# v# K. G* N6 s5 Y" _" f/ E
  1417. - g9 x( L) A% V4 i
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and) ]% l1 H9 U) \# U, s) E
  1419. ; cleaned up by the garbage collection process.
    ; H4 g$ F+ l1 j* u
  1420. ; http://php.net/session.gc-maxlifetime& I0 v$ ]4 b; m& R. m) `, P
  1421. session.gc_maxlifetime = 1440
    . ]8 W5 w' j1 p: I( F+ d; o

  1422. 8 d' m: w8 C+ V7 @
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    + r7 Y7 Q% x+ E  Q/ @; j6 [# A
  1424. ;       (see session.save_path above), then garbage collection does *not*. F8 B* e* l/ Q. r
  1425. ;       happen automatically.  You will need to do your own garbage
    6 q( [% \) C( q3 W% I
  1426. ;       collection through a shell script, cron entry, or some other method.
    1 C* ]6 r2 S; Y4 o# u2 |# B; m3 e
  1427. ;       For example, the following script would is the equivalent of
    5 e9 I" f  M( M: Y
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    7 e/ W; i) I+ m9 r2 h3 O$ L
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm: h- D+ J* m  }1 l
  1430. 7 V% h3 t2 |% A0 Q. N" }, e
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.) g0 ~! J. U' C9 u7 g: k" g
  1432. ; HTTP_REFERER has to contain this substring for the session to be; S( P. V+ i- C
  1433. ; considered as valid.
    1 Z3 b0 @7 ?# o, H9 \
  1434. ; http://php.net/session.referer-check
    1 C+ g$ E1 Y% V# f
  1435. session.referer_check =
    0 g6 Y; y# d, c$ k

  1436. $ V1 h0 o( u6 X8 z& K+ ]5 p
  1437. ; How many bytes to read from the file.
    6 L0 u4 y8 g4 |/ u* N! B7 v
  1438. ; http://php.net/session.entropy-length
    ' M8 x! D! |# x5 ^
  1439. ;session.entropy_length = 320 ~# u1 x+ R; ?6 _% u
  1440. * z( }/ w' F! x
  1441. ; Specified here to create the session id.% h- _, x4 d) B+ H1 c
  1442. ; http://php.net/session.entropy-file; ?% J! F3 ]! I9 |0 ^5 ~
  1443. ; Defaults to /dev/urandom  ]- A$ `0 O; K
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom: w' U2 q$ B' y0 ?/ ]3 O6 `
  1445. ; If neither are found at compile time, the default is no entropy file.- t! R( Y& @/ _! W
  1446. ; On windows, setting the entropy_length setting will activate the# [# N) R9 t; k$ A+ C2 W& E8 h6 @7 P
  1447. ; Windows random source (using the CryptoAPI)
    ' k2 O! X. [8 A. a; r. p. k
  1448. ;session.entropy_file = /dev/urandom; h$ R5 `7 S: R* i* |
  1449. 6 ]( h* n' g  R& C
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects% |" t% k6 ]* z, E  M; s* h
  1451. ; or leave this empty to avoid sending anti-caching headers.( c  [8 S9 X, |# A, E7 Z- T
  1452. ; http://php.net/session.cache-limiter
    , w- e. J3 S, w
  1453. session.cache_limiter = nocache% Q& }$ r# @0 z' J7 v; L
  1454. 0 Q. R! k5 q. Y, a3 o4 D3 x
  1455. ; Document expires after n minutes.% n: O4 ~9 B( _: M
  1456. ; http://php.net/session.cache-expire2 t* A9 {1 _% j. H& I
  1457. session.cache_expire = 1804 x. g0 a( @. Q* ^" ^( V6 Q% v
  1458. ' F  }. n: b9 C3 c5 j( ^
  1459. ; trans sid support is disabled by default.
      D- F1 B, D9 W' o
  1460. ; Use of trans sid may risk your users' security.
    ' M/ U: r4 u1 x* a* q' \" N+ p) ^9 e
  1461. ; Use this option with caution.6 X1 t1 R* {  ]  c* Z
  1462. ; - User may send URL contains active session ID; k: A( U6 N1 ^. e/ B$ Q# |. s
  1463. ;   to other person via. email/irc/etc.: p" @7 U) W- H" \- H2 c
  1464. ; - URL that contains active session ID may be stored
    7 }$ o5 O- m) e* Q$ o/ ^& S
  1465. ;   in publicly accessible computer.6 w4 B0 k2 Y/ V/ Y$ C% p4 h
  1466. ; - User may access your site with the same session ID
    1 S0 K; Z. S- V( I( ^
  1467. ;   always using URL stored in browser's history or bookmarks.
    & y8 @* ?# K* _: v8 k
  1468. ; http://php.net/session.use-trans-sid7 v# {, V1 u! ?1 {6 M; o" S
  1469. session.use_trans_sid = 0
    ; w1 c5 ]/ {$ z" n6 }9 ?: ]8 x

  1470. ; \3 h1 L" ]& A! P- j- e# c
  1471. ; Select a hash function for use in generating session ids.% [" f5 L1 _% y- G# ?
  1472. ; Possible Values
    ; w1 q" |1 W$ I# ]
  1473. ;   0  (MD5 128 bits)
    9 a; @. Y  k+ T
  1474. ;   1  (SHA-1 160 bits)
    . Q* o, Z# W" N9 s4 }0 N
  1475. ; This option may also be set to the name of any hash function supported by3 d  u8 p% R1 z" V3 T: o( k6 s. f; l6 V2 z
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    8 p' @7 X4 B3 r7 [, m# M
  1477. ; function., F6 r; S9 H7 o  C
  1478. ; http://php.net/session.hash-function
    7 s$ D/ q1 @8 o* \$ I4 I9 E* S
  1479. session.hash_function = 0/ n  {/ _) `, c2 }

  1480. , i: g* e% w7 R6 p# D
  1481. ; Define how many bits are stored in each character when converting9 X8 h, u& `( w/ l/ B
  1482. ; the binary hash data to something readable.9 U6 w8 Q! N8 G6 s4 q$ y- M: o: R
  1483. ; Possible values:6 Z. z( W; |, E- E, O
  1484. ;   4  (4 bits: 0-9, a-f)& J/ k& e, R- |1 T3 [6 \
  1485. ;   5  (5 bits: 0-9, a-v); Z4 Y5 ?- h& j! L8 U
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")" O+ s, l0 i4 t  l
  1487. ; Default Value: 4# k1 f* q+ o/ y$ Y( o) f6 @
  1488. ; Development Value: 5; j+ m/ R* P2 [
  1489. ; Production Value: 5. q9 S7 r9 r/ C# s0 b% F9 t
  1490. ; http://php.net/session.hash-bits-per-character
      P/ v# ]/ p1 t2 s8 J3 {8 ]9 l
  1491. session.hash_bits_per_character = 5
    . N, ^4 p6 p  X& Y  i# }- k

  1492. 4 U  F  T0 a( y; e, j: p7 L; t
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    " f$ I' D$ A7 M% K& J
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    + V; W' a2 O- f1 \3 q
  1495. ; add a hidden <input> field with the info which is otherwise appended- {& f$ z/ y% S6 T- L
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.; A+ Z% E4 Z: f3 N3 Q) B5 m3 B
  1497. ; Note that all valid entries require a "=", even if no value follows.' x  c) [1 F, U4 R, \
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="/ v. U3 t' d4 ]- g; K/ |: I, w
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 G8 A+ [$ f9 }3 D' i# n
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& C  Y5 ^6 m' {7 Z: O: s
  1501. ; http://php.net/url-rewriter.tags
    ) J8 f9 Q& R- h, q
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"* u, a; I% }" Y9 w  i/ w% B$ d! B: {0 e
  1503. , c* e& N' p3 p3 Y* c. H: {
  1504. ; Enable upload progress tracking in $_SESSION
    8 v" t* z6 x4 h$ _/ Q
  1505. ; Default Value: On
    + q& J3 o5 A' i+ k5 P7 a+ R
  1506. ; Development Value: On
    # v9 T3 K! y1 f6 \5 W
  1507. ; Production Value: On
    5 h8 ^9 f: i2 g' {% ?
  1508. ; http://php.net/session.upload-progress.enabled
    , t& M! d0 ]6 a" Q' a: M  E
  1509. ;session.upload_progress.enabled = On
    ( Q1 s- ^4 @. r0 N$ Q
  1510. + x( R+ U& l/ t
  1511. ; Cleanup the progress information as soon as all POST data has been read
    : ], e3 d  [0 c3 d% g3 j, Z
  1512. ; (i.e. upload completed).
      P1 n4 V7 r: j1 Y$ J2 j' z0 f
  1513. ; Default Value: On
    ; v2 F# w1 \8 U# i
  1514. ; Development Value: On
    + A  ^8 ?( e+ k4 r. ^
  1515. ; Production Value: On. Q! a- S% d& d. i  }% @& @0 _$ A
  1516. ; http://php.net/session.upload-progress.cleanup
    4 j% K: s& v" |' J/ T
  1517. ;session.upload_progress.cleanup = On- o- j" M0 C! f
  1518. 9 L0 Z( c' u. g; G) D) C7 d7 w# r
  1519. ; A prefix used for the upload progress key in $_SESSION, `5 Z$ U! l1 f1 X* j( o* U
  1520. ; Default Value: "upload_progress_"
    * K2 E2 Y/ h5 N! H! Y% G
  1521. ; Development Value: "upload_progress_"
    ' b. x  o" t. g; R6 G. G
  1522. ; Production Value: "upload_progress_"
    % J7 i: J2 K( V. [" Q; e
  1523. ; http://php.net/session.upload-progress.prefix
    9 J) I8 T/ G$ T- ^/ Q
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ! m# u' @* T  Z- n; C8 j
  1525. + u4 Z+ j" _+ x. o2 M' p  o  c  W# _' E
  1526. ; The index name (concatenated with the prefix) in $_SESSION4 o/ y3 Q6 b& K) p( ~2 R. j7 o3 f$ L
  1527. ; containing the upload progress information6 X( i' `' W  s9 ]& c4 F3 G# U
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 a3 g( d6 {/ |
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS", @2 g/ S8 F) C( Z" n
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS", ?6 l0 g  A% r+ t& K  u
  1531. ; http://php.net/session.upload-progress.name
    4 W, E3 Z* _! K+ U7 m
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    1 v! G2 T. X) [" b

  1533. 2 b+ u% f+ f+ z
  1534. ; How frequently the upload progress should be updated.2 r! w0 \+ L" g2 L" n$ k8 A
  1535. ; Given either in percentages (per-file), or in bytes
      ?# H; ]8 W* @8 y7 r( Q' @4 h7 {
  1536. ; Default Value: "1%"
    * \% j+ A5 z* Y: Y, F' T9 B
  1537. ; Development Value: "1%"0 V8 p5 h4 C, m, ^
  1538. ; Production Value: "1%"# X/ g( w6 r8 \) ]  ~1 Z
  1539. ; http://php.net/session.upload-progress.freq5 y. X5 j) W6 u: b* P& D
  1540. ;session.upload_progress.freq =  "1%"
    " ~, h8 A/ Z0 I* Q+ S' U
  1541. " b1 g# h; {% I) D
  1542. ; The minimum delay between updates, in seconds& h& {. A8 I  s/ @
  1543. ; Default Value: 10 h9 Z6 V- j' ~4 K
  1544. ; Development Value: 1
    6 x  c8 A- H& E8 \
  1545. ; Production Value: 1% H; M% A# a6 R
  1546. ; http://php.net/session.upload-progress.min-freq9 |" _: G9 Z7 u& D' W4 H
  1547. ;session.upload_progress.min_freq = "1"
    , S+ K( u4 a1 I

  1548. # n$ |/ i7 w6 l" ^9 Z
  1549. ; Only write session data when session data is changed. Enabled by default.
    1 |4 f) z  \( W4 a0 t; |
  1550. ; http://php.net/session.lazy-write# k: _" ?5 y# R8 e( q6 M7 m
  1551. ;session.lazy_write = On6 l7 u7 u2 S8 o* s

  1552. , s0 G( `/ Q( v1 Z
  1553. [Assertion]9 m( w) e4 ~" l; ?
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ; e+ f! S7 v/ @, W; D. C% N
  1555. ; -1: Do not compile at all# f0 O2 u" Q% q& O0 c4 H1 V8 V
  1556. ;  0: Jump over assertion at run-time
    ; B1 y5 O# E  E2 i! y: d
  1557. ;  1: Execute assertions
      t3 ~& s5 o( j$ @9 D
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)+ ~7 }3 G* ~6 o! l7 v" C5 B* T
  1559. ; Default Value: 1
    , S) K6 `/ }9 n* m$ w9 H
  1560. ; Development Value: 1
    2 X2 I' |: M; ]& ^& i
  1561. ; Production Value: -1
    : C6 n! Q. ?/ d. m$ D, o6 v
  1562. ; http://php.net/zend.assertions; y; p, A9 x0 q( j1 L
  1563. zend.assertions = -1
    * f) M6 c5 M* c+ v& m- X+ y

  1564. 1 m' z& Y% ^; a" E# S( d, A
  1565. ; Assert(expr); active by default.
    9 W' H2 P# L8 ^2 C& V6 \
  1566. ; http://php.net/assert.active+ @  `4 p8 T- D* S" D( {* P# u. G
  1567. ;assert.active = On
    # ^7 T8 @/ U! ^. [) b: d9 p

  1568. 7 p) ^8 g4 V1 v, M& _. D: W7 \* _
  1569. ; Throw an AssertationException on failed assertions
    + D: K8 R5 P1 q3 w) x- E
  1570. ; http://php.net/assert.exception
    " T- U* z6 `  i) q0 N
  1571. ;assert.exception = On
    / T3 x# q2 x& P& e$ v
  1572. & Z+ r. o% f3 ^7 _
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)+ M- m3 i) }7 y! _! u% _, `+ U
  1574. ; http://php.net/assert.warning
    2 Y+ S4 d! N% F4 p+ J9 |8 z
  1575. ;assert.warning = On
    , f- h% J" ?! l& |! e# a# M/ H

  1576. 9 O, a* W& y0 _! K- ?* g  f" T
  1577. ; Don't bail out by default.
      v/ n  E8 A( [" C* F: H0 }
  1578. ; http://php.net/assert.bail" P# [+ w! R- u8 s8 D0 [- k8 ^' Q) P
  1579. ;assert.bail = Off4 S; {3 T) x/ j4 H+ ^0 r2 {" A
  1580. + v8 i7 a3 t  E& J. E
  1581. ; User-function to be called if an assertion fails.
    & y, y0 }: `  h; s0 P
  1582. ; http://php.net/assert.callback" v6 c8 Y3 p. ~8 g8 l
  1583. ;assert.callback = 04 j/ K  E4 M% o3 {
  1584. * e( n. M( W3 Y4 Z
  1585. ; Eval the expression with current error_reporting().  Set to true if you want5 p) w6 J! w6 |0 g
  1586. ; error_reporting(0) around the eval().
    : o* t( l- A  C5 |" k, p
  1587. ; http://php.net/assert.quiet-eval0 q/ B7 |! x- D& G, s4 u& f
  1588. ;assert.quiet_eval = 0
    ( h$ |9 `: Z2 m/ Q# p2 r- i3 @( s
  1589. $ F9 ?- M$ W( e, \
  1590. [COM]& j0 y) c! x: E1 Z  s/ e
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs7 e+ B6 j) d9 d/ c2 ?: c
  1592. ; http://php.net/com.typelib-file
    9 i0 l' M1 B$ k6 t: }+ I: M
  1593. ;com.typelib_file =
    ; f8 {  D. S2 g
  1594. # `! e* Y$ ]+ R( M. e' o
  1595. ; allow Distributed-COM calls
    2 t7 ?; ~( f0 w: X
  1596. ; http://php.net/com.allow-dcom
    . x4 j1 [; M: B' _4 p6 y0 g
  1597. ;com.allow_dcom = true7 ]- N$ S! p& d0 p+ I0 m3 Z8 @

  1598. $ w) A! I. t1 V& [
  1599. ; autoregister constants of a components typlib on com_load(): ^: _, ]2 v: ?& j/ z+ Y% s0 h6 \
  1600. ; http://php.net/com.autoregister-typelib
    0 Y, y9 f) L* u/ j' R% s
  1601. ;com.autoregister_typelib = true
    + ?& W) \0 b+ f/ J. P

  1602.   f; F9 u* R- I/ o% v6 l3 q9 `
  1603. ; register constants casesensitive
    ) u3 J5 u8 R8 q* S& L
  1604. ; http://php.net/com.autoregister-casesensitive8 j9 [5 P: i/ X" [5 Q' ]
  1605. ;com.autoregister_casesensitive = false
    . V$ b9 h- J& O4 [: Q" z$ S/ R

  1606. ' g$ g% y' K  c
  1607. ; show warnings on duplicate constant registrations
    + q! }! H+ X; Z' U; C" |9 ^! w
  1608. ; http://php.net/com.autoregister-verbose" P' ~/ Z" s* ^' Y0 U3 M; z
  1609. ;com.autoregister_verbose = true
    6 B) g- _* p2 S/ J/ s0 k" M
  1610.   h' E# T+ D- G, d6 q1 }) E
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    * F) s" W" ]+ v2 o) _0 ]
  1612. ; Default: system ANSI code page
    4 S# |" H- P# Q' U4 O
  1613. ;com.code_page=
    0 i5 R( e5 w, t% G) b2 Z5 m
  1614. 9 w' H5 z' S8 Z* P
  1615. [mbstring]
    . D- H  M2 d/ f. C
  1616. ; language for internal character representation.6 B" ~+ c* V, f7 P# \% u% h: j; s
  1617. ; This affects mb_send_mail() and mbstring.detect_order.7 q0 V3 ?: t+ x0 H$ t* N
  1618. ; http://php.net/mbstring.language0 K7 @$ u8 |/ h% n
  1619. ;mbstring.language = Japanese1 f  @8 X, q3 N( `8 o

  1620. : s+ g( w( @1 U- u- C$ j  ^0 o# T. d
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead./ g1 v0 j! O7 P% R% l
  1622. ; internal/script encoding.
    " o4 p5 A: ?1 p
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    * P- u; J$ A5 h" j1 t8 y
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.% c: y6 `" _1 P9 D  x2 l
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 Y7 D: z) i! E7 {4 k: B" M
  1626. ;mbstring.internal_encoding =
    & J  N  D) ^! v' U* u
  1627. ) Y  l( }" o" K* c
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.& k) [5 Z/ k$ `/ y/ U, O1 ^
  1629. ; http input encoding.! N8 @* i9 {8 O; j7 V/ j$ [7 [4 ~
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ( l' W; l5 {1 r! r# u
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    8 Q1 Q1 O9 }1 b0 G* b
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input/ L* \( s: `/ M# N7 k
  1633. ; http://php.net/mbstring.http-input
    " C* \, x0 g. b$ Q' `1 v
  1634. ;mbstring.http_input =- Y! Y* ?$ \* S( D

  1635. % D% n4 f1 E& k# `
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead." ]1 X1 l0 D! L: M7 O7 I% [5 w! y
  1637. ; http output encoding.& N$ ~$ l* x7 x$ |
  1638. ; mb_output_handler must be registered as output buffer to function.# j1 t$ p% `2 ]- A6 W
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    3 o3 d) `$ E6 h) w
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    + i( Z, M+ M, N$ `, Z
  1641. ; To use an output encoding conversion, mbstring's output handler must be set( [* w3 [) a+ v8 c$ {
  1642. ; otherwise output encoding conversion cannot be performed.% h$ d3 ~' W  N8 i$ \( g" E( y
  1643. ; http://php.net/mbstring.http-output* \5 }' n) \0 M
  1644. ;mbstring.http_output =
    ; ?! O/ x. c6 V

  1645. 4 Z1 M% l8 {( d" L
  1646. ; enable automatic encoding translation according to
    2 q( t9 y5 I3 L; g
  1647. ; mbstring.internal_encoding setting. Input chars are1 E' w% P4 S% b  v# o$ {
  1648. ; converted to internal encoding by setting this to On.2 g$ v% e# _5 \/ T* k: V. e
  1649. ; Note: Do _not_ use automatic encoding translation for; [! e9 |* H$ J. }5 u3 T1 y) B
  1650. ;       portable libs/applications.# U) ~! @" y2 }! e. \
  1651. ; http://php.net/mbstring.encoding-translation
      z+ V! l& b) z4 q7 m# q
  1652. ;mbstring.encoding_translation = Off
    + h1 D5 [% f! |7 `+ L) S9 ]
  1653. 9 X/ S! r( b6 J% e% g
  1654. ; automatic encoding detection order.
    # X' v' x0 F. ]# ]& C3 g. H
  1655. ; "auto" detect order is changed according to mbstring.language# ?# c$ Q( \4 r: y& u
  1656. ; http://php.net/mbstring.detect-order) g# m2 Y: }6 s2 M6 r! O7 y6 R1 \
  1657. ;mbstring.detect_order = auto' x. z' O& |: I5 F. ]: ^

  1658. . v- M7 ~, w) X- O& h
  1659. ; substitute_character used when character cannot be converted  L% [* w; I% w: R; g. p( @
  1660. ; one from another+ k: {3 h+ M$ ?
  1661. ; http://php.net/mbstring.substitute-character
    9 q+ G) T9 J$ D3 B- L
  1662. ;mbstring.substitute_character = none
    , k, n& C' ~& B7 d
  1663. # O+ h+ z1 R1 |8 R" O
  1664. ; overload(replace) single byte functions by mbstring functions.4 i1 d4 J8 t9 M% P
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 u5 `& d/ Z# o) e  j9 d/ i
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    0 c* b" o9 Y* b( i7 b
  1667. ; For example, 7 for overload everything.+ d$ e$ c2 ~1 M( ?) U
  1668. ; 0: No overload, j% X- x; T$ J
  1669. ; 1: Overload mail() function0 T/ S% t) G' S$ i8 X' c* _
  1670. ; 2: Overload str*() functions/ j7 ?3 v; b1 w2 o. v
  1671. ; 4: Overload ereg*() functions, [& m4 \1 t# j% X
  1672. ; http://php.net/mbstring.func-overload/ ?5 k1 g9 l# h
  1673. ;mbstring.func_overload = 0  h4 V% N# X9 C9 ?( }* d/ Q

  1674. ' H1 B2 j% `: g- h+ y, @8 k" t5 S/ H  R
  1675. ; enable strict encoding detection.9 q- \8 D. Q7 p" S
  1676. ; Default: Off
    - R2 \- E& k+ }6 s2 J: u" J- T
  1677. ;mbstring.strict_detection = On( p7 _6 ~% I; [1 |6 B; H

  1678. $ ?: T, z) ?6 `# v( }/ H$ w& Y
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ' n1 I. d8 h0 A- \" v* t- E9 {
  1680. ; is activated.
    ( M3 O' H6 @. L2 s
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)$ j3 g  L' e& _. W3 ]- |
  1682. ;mbstring.http_output_conv_mimetype=. z' \) t5 E" u3 Q
  1683. / }( f0 h- I" e" ?$ W) z
  1684. [gd]) E0 V7 {( `0 v/ H2 x
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    " M# i: n; Y5 H# a
  1686. ; a gd image. The warning will then be displayed as notices
    2 r( ^* L8 z8 n8 t6 |, S# K; y
  1687. ; disabled by default/ [# V+ z/ b7 A$ v" q
  1688. ; http://php.net/gd.jpeg-ignore-warning' w- t, L4 [; N
  1689. ;gd.jpeg_ignore_warning = 0
    0 m- }4 P: b0 Q! C% K2 o, s: H
  1690. ; a3 {4 n* t1 v" o
  1691. [exif]
      F2 Y8 i7 M; O1 h
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
      v, N, t9 X1 a/ ~( k4 @2 P
  1693. ; With mbstring support this will automatically be converted into the encoding4 l6 N5 r% ~4 M' n1 d
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding9 T2 D6 q- R* P
  1695. ; is used. For the decode settings you can distinguish between motorola and
    2 B; h, @  y" ^( T( [0 E
  1696. ; intel byte order. A decode setting cannot be empty.
    6 g" u* q5 {3 l4 o! m7 m
  1697. ; http://php.net/exif.encode-unicode
    ; l3 A& `0 B8 g6 E
  1698. ;exif.encode_unicode = ISO-8859-156 p7 Z$ f7 }/ K4 a: X8 O3 b: E3 e
  1699. 9 |5 z* M3 J3 Q! z: Z/ b6 G1 j- F
  1700. ; http://php.net/exif.decode-unicode-motorola+ n5 B, B5 }& m0 t3 L* _
  1701. ;exif.decode_unicode_motorola = UCS-2BE( H- K* O: z. S0 r; x' P
  1702. + W. d5 N6 V1 m5 h$ d- c/ W
  1703. ; http://php.net/exif.decode-unicode-intel
    7 e/ h* Q, R' X( Q: P
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ) X4 A- c- Y1 C' |  e" Q  I2 g
  1705. ' @& M" a. t. D( F8 u0 A
  1706. ; http://php.net/exif.encode-jis8 p- Y, E: X. v7 n9 _
  1707. ;exif.encode_jis =
    0 R" H$ k2 Y6 I/ W/ C
  1708. ( d9 [' O. U+ v5 |8 I1 t( A# y
  1709. ; http://php.net/exif.decode-jis-motorola
    ' r7 `! y8 l# [0 _+ |" Q
  1710. ;exif.decode_jis_motorola = JIS: I: h8 c# h: I9 Y6 d* w/ ~- E, t
  1711. ) b+ z4 j; W8 _1 i
  1712. ; http://php.net/exif.decode-jis-intel5 U: p9 w8 Q4 N. C, N: M
  1713. ;exif.decode_jis_intel    = JIS
    . f0 c+ U% j1 ~, n, F# o  h$ z
  1714. & B8 f4 v% Z# X. X2 K: y) c
  1715. [Tidy]2 O" @0 Y# w/ ?  E- N6 w
  1716. ; The path to a default tidy configuration file to use when using tidy5 h- \: P  F$ m3 C/ u
  1717. ; http://php.net/tidy.default-config' ?' J* ~' G& Q! L" p0 x! f( w
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg# b) m# Z( u6 s  Z' V! h- D. g
  1719. 4 [  w! x5 F+ ^7 g+ {, B  @1 ]. v
  1720. ; Should tidy clean and repair output automatically?% l0 K" m0 F& F$ n, m' n
  1721. ; WARNING: Do not use this option if you are generating non-html content
    % g) j# I# w% B0 S' \
  1722. ; such as dynamic images' o) G9 X" L: |- W1 ?4 U
  1723. ; http://php.net/tidy.clean-output, H8 ]$ Q7 g2 _3 F
  1724. tidy.clean_output = Off) p' w/ e$ D* L0 ]  Q
  1725. : J( k( i3 \- l% t) x
  1726. [soap]
    6 q/ n. m" n3 y2 O5 `; O" I0 i
  1727. ; Enables or disables WSDL caching feature.
    * K4 \: @( [: |9 M# U# G
  1728. ; http://php.net/soap.wsdl-cache-enabled4 V  L( [7 H5 G1 C
  1729. soap.wsdl_cache_enabled=1- O+ u* W6 _& \2 ~# S/ Y# B

  1730. ( S! B! _) N* L, @) \% T& V
  1731. ; Sets the directory name where SOAP extension will put cache files.6 Q( S- A" p4 m9 o% [# E/ p
  1732. ; http://php.net/soap.wsdl-cache-dir
    0 K: g4 ~# l/ ?' M
  1733. soap.wsdl_cache_dir="/tmp"$ j: m6 T, t6 _
  1734. ; ~' i1 V% m% D6 ~& _" s5 H$ f
  1735. ; (time to live) Sets the number of second while cached file will be used
    8 z! `! A7 l' @0 Q7 c# \7 \# J; V
  1736. ; instead of original one.
    8 _) F4 s9 H+ e. H: ~( f) K6 }
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ) B5 K  `5 ^  Z, n
  1738. soap.wsdl_cache_ttl=86400
    % J2 D* ]8 X% G* c3 s0 J$ m. @

  1739. 2 o- h) W7 {- ]5 ]6 ]5 W% e
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)8 r, h$ f3 e. D: X) A
  1741. soap.wsdl_cache_limit = 5( O( Z5 r, n2 K: I2 \& n

  1742. ! t% P* l3 @# @5 C
  1743. [sysvshm]7 c3 r0 p" Y- N4 ~0 l" a: C! v7 [/ n
  1744. ; A default size of the shared memory segment
    ; Z  l) [+ f2 t6 x
  1745. ;sysvshm.init_mem = 10000
    / k9 v2 d. x! U7 B! t7 ]" O: S  w
  1746. $ Y1 C# \9 I- P7 }4 X) Q
  1747. [ldap]
    0 Q  }+ P- {+ S0 [
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ) z% F. ^. `3 S+ T# Y
  1749. ldap.max_links = -19 f4 P7 s! ?( S) k! i! y! }
  1750. " V) @1 t+ b* H3 O) T2 J& w- b$ Z5 @
  1751. [mcrypt]
    6 g# m$ _( ?: o4 p/ C, \% x/ b
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    # g( R8 l( D% `; r4 O( y

  1753. + Q3 k, s+ O; D1 G  ^
  1754. ; Directory where to load mcrypt algorithms* G+ X: b; I) X5 Q4 P4 T
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)9 O4 c$ E( e2 `
  1756. ;mcrypt.algorithms_dir=
    3 t/ G+ i2 Q* C% \7 \9 L
  1757. & M/ L3 k5 K1 R) n4 M
  1758. ; Directory where to load mcrypt modes  i8 j$ r: J* k6 g
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)% {$ Y& Y4 T  M0 n: t( C
  1760. ;mcrypt.modes_dir=7 `( J$ M) ^6 X5 A; H1 y7 }
  1761. - I, p+ q+ M2 T
  1762. [dba]
    ( G& C& U5 W/ o4 W4 b
  1763. ;dba.default_handler=, P" Y4 i8 |0 Q6 o: c  y2 Q
  1764. 2 w) G' u* ~+ G- w
  1765. [opcache]; [; z; R/ u7 z! U& ~
  1766. ; Determines if Zend OPCache is enabled
    7 T+ s) Y: F, v4 P$ `
  1767. ;opcache.enable=0" C& `! e8 ^- A
  1768. # H" z0 L# N% ^! ^. p
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP4 q6 s9 [% I- j! b' Z% q8 D
  1770. ;opcache.enable_cli=0
    8 x0 W8 i3 l: Y! X, B
  1771. 9 ?% `4 }. f! Z& `
  1772. ; The OPcache shared memory storage size.
    % s9 R& D4 G* ]& M4 ~
  1773. ;opcache.memory_consumption=64) q3 F- P: u/ q  Z
  1774.   E! f  Q  u2 W. T  Q- Y
  1775. ; The amount of memory for interned strings in Mbytes.
    ' l3 o1 }% O* S. V
  1776. ;opcache.interned_strings_buffer=4
    1 X, o$ O2 o; P1 f. g
  1777. * L7 }$ o7 L, F2 r
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    0 V4 K, }! C# O6 V* _
  1779. ; Only numbers between 200 and 1000000 are allowed.5 p% g. K5 t$ X- W
  1780. ;opcache.max_accelerated_files=20008 A' T! ]% y; s/ y+ r/ C3 ~

  1781. ) h: a  _' b) U/ j( Z
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    5 J' o1 d; c: v% K
  1783. ;opcache.max_wasted_percentage=5
    4 z6 M, L% Q. F: c

  1784. ! i( p* P" h; T' U: |
  1785. ; When this directive is enabled, the OPcache appends the current working
    8 _5 D9 F" A5 a+ P9 G6 {% I7 ~
  1786. ; directory to the script key, thus eliminating possible collisions between
    * p4 _1 X+ c& P$ O9 J
  1787. ; files with the same name (basename). Disabling the directive improves
    2 B% y! q$ ^8 z8 L& c% N
  1788. ; performance, but may break existing applications." d/ ~/ w  ~6 E- m( O# K
  1789. ;opcache.use_cwd=11 Y4 B9 R9 l& H4 t. E5 r: o  {
  1790.   E/ x+ n. H* K3 m! Y
  1791. ; When disabled, you must reset the OPcache manually or restart the
    0 N' a( S/ l+ [" T- ^
  1792. ; webserver for changes to the filesystem to take effect.
    8 w+ c' n% z! E: ~
  1793. ;opcache.validate_timestamps=13 [4 |" j% c4 B; D" w- i. n7 l

  1794. . C& j/ v; g1 o2 b; o
  1795. ; How often (in seconds) to check file timestamps for changes to the shared2 i3 Y  p7 }3 o2 J. M+ O
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    4 W& B( C, g* Y" \, c$ }7 w
  1797. ; once per request. "0" means always validate)9 F1 f6 c" ]' j+ q2 x) _
  1798. ;opcache.revalidate_freq=2
    * @; u) Z! \2 B
  1799. 4 M) N0 V' [- t" y3 z: ?
  1800. ; Enables or disables file search in include_path optimization
    + R6 k+ Q# P3 n) C+ i+ k3 G: Q9 R
  1801. ;opcache.revalidate_path=0
    # k2 S! {0 `, \: c' v6 Y8 c- U3 v. u
  1802. 1 b  S. L. N3 \: A6 T
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    6 W: k4 _3 r& y# G( ]6 X
  1804. ; size of the optimized code.; J4 Q. O2 a! m) u$ X7 l
  1805. ;opcache.save_comments=1& \* M0 Q9 w/ K5 b- u# S
  1806. : O% b: t1 n: l) U! D8 O6 Z  V
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code- y" ^+ o/ Y3 ^, Y
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    ) E1 \/ ^7 _+ f# A5 b3 @+ r
  1809. ;opcache.fast_shutdown=0
    # G  M4 ^5 ^& _9 P. `; V
  1810. + @' P* l3 k2 K; K7 T. ?. W
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    7 |7 w% S  R* k0 b0 Z
  1812. ;opcache.enable_file_override=0
    6 H4 x* ?& g' F
  1813. - A$ @  W+ F! ]- y
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    6 t: H& B3 ^. s/ G6 d' u; I$ ^
  1815. ; passes; i+ @/ y: W9 Z3 y
  1816. ;opcache.optimization_level=0xffffffff
    4 K0 S% i( ?  @
  1817. & I0 b1 g+ q4 P$ f; R2 u2 C: X8 A
  1818. ;opcache.inherited_hack=13 C% `% j1 W, y7 H, G
  1819. ;opcache.dups_fix=0) L' q5 [  H$ D7 r
  1820. ' j# U  q, W9 V5 \# ~
  1821. ; The location of the OPcache blacklist file (wildcards allowed).3 @2 A/ B: V3 b* V5 Y
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    3 @. P0 q) y! A9 g
  1823. ; that should not be accelerated. The file format is to add each filename  P" q. X5 Q  t% _' q5 \( ?/ ?
  1824. ; to a new line. The filename may be a full path or just a file prefix. a1 ?* X6 g& T, U. F
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    3 X0 @, Z' n, w6 E3 ^$ u/ R
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    1 f0 ^% w0 o1 X3 b+ P
  1827. ;opcache.blacklist_filename=' p" _, P3 P+ p5 Z

  1828. : k7 W( u! E5 c
  1829. ; Allows exclusion of large files from being cached. By default all files
    + R" }; R7 f; C$ [8 W2 j
  1830. ; are cached.
    - A7 g7 [7 a6 r$ s' d4 I
  1831. ;opcache.max_file_size=03 k, t+ v# k5 ~5 f

  1832. 8 c3 R, }, R7 k! z- W% x
  1833. ; Check the cache checksum each N requests.% N2 W. @% J) ~% _
  1834. ; The default value of "0" means that the checks are disabled.2 R% @# V5 m+ D; |5 t, g! u% ]
  1835. ;opcache.consistency_checks=0) C8 m* M1 R) H; L; e2 g
  1836. 4 S& @# b2 q5 G
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ) C% j( L: _  L) d$ j) ?
  1838. ; is not being accessed.+ X4 L4 _+ i3 ^2 Q- M
  1839. ;opcache.force_restart_timeout=180
    0 R4 |6 s$ p( }6 g' T
  1840. + j3 p/ }, T! |; I5 T
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    * y5 f- K4 N/ v2 r# _# A
  1842. ;opcache.error_log=& _1 K( z0 E3 T5 j- k# r
  1843. 0 _5 E6 e9 Z( w  x9 P4 a6 p
  1844. ; All OPcache errors go to the Web server log.
    , r& n- R2 e* z: K2 N; D
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.8 E1 a. S; K6 e: X' ]0 f
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    % d3 Q# O7 c/ {
  1847. ; debug messages (level 4).) X0 H/ G3 T' z4 t0 k
  1848. ;opcache.log_verbosity_level=1
    ' `# ]2 }  O8 T5 t0 s
  1849. $ U' l" P% B8 V( O' m
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    # I* i, I! Z- ]$ _! \, u, m
  1851. ;opcache.preferred_memory_model=
    6 {$ x5 D3 B/ G! E' t' y3 X

  1852. 4 v( Y; X0 M6 X  k
  1853. ; Protect the shared memory from unexpected writing during script execution.$ K* b9 X: u# b4 c
  1854. ; Useful for internal debugging only.* c; V2 o$ R( w9 f
  1855. ;opcache.protect_memory=0
    * b+ A, E. B% U. I' J  o: W& i
  1856. 8 d1 n) S0 Y1 `8 I- V
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is& b7 k0 Q8 g! x: d( c
  1858. ; started from specified string. The default "" means no restriction; {: J! P, f0 I) k9 o% d
  1859. ;opcache.restrict_api=1 x, @; o9 J6 T  l' j! }' @6 A5 e$ [
  1860. / _* H# v9 C+ m" W" q/ X
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    , P* `# N. d# i; c5 ~5 O
  1862. ; processes have to map shared memory into the same address space. This0 ?8 z  L4 s, m+ e
  1863. ; directive allows to manually fix the "Unable to reattach to base address"# B* T7 ~# E9 [3 u" i$ A
  1864. ; errors.5 x7 }- t7 y" S" U: y
  1865. ;opcache.mmap_base=
    1 \# I3 l8 \; b

  1866. ; L4 o1 N' `5 J4 W3 R
  1867. ; Enables and sets the second level cache directory.
    4 b, r' x$ Y% d( j
  1868. ; It should improve performance when SHM memory is full, at server restart or4 T# g0 u3 J5 }: Q4 s0 ]
  1869. ; SHM reset. The default "" disables file based caching.
    ! ?1 T& h( O7 h5 ?, d
  1870. ;opcache.file_cache=
    # K8 d' J- x: ]# y# a6 [! s2 \
  1871. : [! U# @- S+ b% n; c5 Q
  1872. ; Enables or disables opcode caching in shared memory.* E+ @( y% Y, {% @; y: m+ U8 y& A* u
  1873. ;opcache.file_cache_only=08 N# ]7 f6 Y6 i) q' ~3 k5 L* J

  1874. - n: l) e! I6 }( V  i! w2 m) g, u
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ( F1 C2 _* m! W, E9 v! I; v
  1876. ;opcache.file_cache_consistency_checks=1* [8 I" h$ H3 E: E

  1877. ! y/ {0 K3 V# I$ _
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to; [6 M7 |# y9 Z" a; Z
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
      a; N  g( G4 s) h) |1 g
  1880. ; cache is required.
      n' u4 B2 G( S) m
  1881. ;opcache.file_cache_fallback=1
    + n* G& m4 s9 {& N2 @! I

  1882.   A+ g" x) z, D+ A# W
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    4 H' f6 h: f9 }) U# F. `; H
  1884. ; This should improve performance, but requires appropriate OS configuration.; w+ _8 _- ?2 }* [2 T) R
  1885. ;opcache.huge_code_pages=1. `" ?. v" G: x$ t
  1886. & D( K0 k. B' J3 J( n& n
  1887. ; Validate cached file permissions.
    8 g! t- h* H# K1 K( o
  1888. ; opcache.validate_permission=01 j9 B" R# n  d9 F

  1889. 5 I. b+ H4 R" r% n
  1890. ; Prevent name collisions in chroot'ed environment.% i8 d9 C" c& c6 X( @9 H
  1891. ; opcache.validate_root=06 ^5 {) E0 h( d2 v: p+ j( J. l3 q4 h

  1892. 3 [2 g6 {0 ~* U* y# w
  1893. [curl]3 n% I* g% X9 q: W- b
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    , G6 {2 U% N' i3 P# N" w& Z1 f
  1895. ; absolute path.$ }; A" Z# f5 H: I' S+ y9 b, H% d
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt- Q0 H: e' U" v, u: ?5 J/ V
  1897. 9 _% _9 s! q% R  K. H
  1898. [openssl]
    # d' W' D: Z. e9 z3 P" B# D. @) h
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem: P8 y. A" ]- L4 s6 u- I& V& K: O
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    0 S: R+ E- ]0 o/ ^
  1901. ; not specify a value for this directive as PHP will attempt to use the$ z" ]1 K' l  r3 @0 Y
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    5 N: |+ E6 I0 ?' W0 _" w
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ! x$ R; m, l0 D* Z# x" w
  1904. ; option." s) j7 }) o  Z! ~
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt+ V. c4 z6 L* b$ k. o1 J' J

  1906. 1 h  v; P; o5 A# {$ \8 q4 J( r2 s
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the# ~1 d1 G" E; \% W/ |- N: l
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    2 f( w8 W3 s( x8 e7 w! V& u
  1909. ; certificate. This value must be a correctly hashed certificate directory.5 r1 h5 z5 h/ R6 x5 B) }* v0 V
  1910. ; Most users should not specify a value for this directive as PHP will  C4 W& n/ o; S
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,7 D; ^) G# {9 L. J  i  I) D( W( {: \
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    + ~0 S' u2 ~5 B1 t2 l0 k* x
  1913. ; SSL stream context option.$ h7 S; k! t+ k2 N' z; k$ `9 Z
  1914. ;openssl.capath=/ Y  C' v7 @% [( I1 P( b% L
  1915. . N; O0 l+ t; x6 @- C
  1916. ; Local Variables:1 d9 b* B1 G$ E* G
  1917. ; tab-width: 4, M9 b" @+ g: Q: w6 p* B9 K( @$ l4 Q
  1918. ; End:
    4 s& v/ G9 h0 @: j5 N6 L( x

  1919.   v2 k$ Z1 H" t* m8 o! I. \
  1920. ;eaccelerator) a, h: t8 i$ W9 O
  1921. 6 p' \$ ^( ]  i
  1922. ;ionCube
    ' G1 v! b& |$ B7 S

  1923. 2 Z3 ]% \/ j+ R2 |+ A: ^9 _
  1924. ;opcache
    0 u' ~# F( U1 w6 _' j6 u4 ^

  1925. , r4 a5 a, P. J8 H3 ?
  1926. [Zend ZendGuard Loader]/ p8 }8 L$ P. o2 ]# Y
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.& H+ q+ c5 H5 D7 V  T
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so) e5 }" o1 z0 ~4 c* O
  1929. ;zend_loader.enable=1
    , Y$ o, C% X" ~! A
  1930. ;zend_loader.disable_licensing=0' r- p6 J5 j9 Z* c' P' Z/ |( ~+ f
  1931. ;zend_loader.obfuscation_level_support=3# B  ~* y1 C' t8 H0 ]- h
  1932. ;zend_loader.license_path=2 m7 ^2 P+ {' }8 n, S

  1933. 1 A& l( p  l; j1 c
  1934. ;xcache
    ) b# n1 n9 _, C+ L7 D6 R. N4 S
  1935. " F# H  J; u1 {: R' h
复制代码
; b$ Y1 b2 |- T1 q! i

. V' |6 W! g! }7 k1 g: p4 u  s2 q) r. v* J
, p/ f+ o$ e6 p' W* t! u
2 `6 c1 z2 ~- m& b$ M# Y1 L

* H: E. N9 @/ f, c* W- u- G0 I5 r1 e( m% G1 x9 G$ O
PHP5.6版本原始设置
$ A$ D. a' k5 f1 w6 s' c' O/ F: Z
( X# G9 J, J" {! J, ?
  1. [PHP]
    ) w5 |: a9 v4 S/ v
  2. ) |# }, X; U0 ~) x! F- h
  3. ;;;;;;;;;;;;;;;;;;;
    1 `( a# l$ u" T0 `* W8 ~
  4. ; About php.ini   ;
    $ O6 k, m3 h7 o5 f5 U) X
  5. ;;;;;;;;;;;;;;;;;;;
    6 h' S% g- y% Q
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ' R$ D, j) I0 a( b
  7. ; configuring many of the aspects of PHP's behavior.
    / Y1 H9 K3 s" d8 G- ]- v* \

  8.   G- f& n* t: k0 o3 v
  9. ; PHP attempts to find and load this configuration from a number of locations.
    / f' A7 B* {( u; U- M. [1 y
  10. ; The following is a summary of its search order:6 d9 f  [/ k7 ]% T) ~
  11. ; 1. SAPI module specific location.
      ~: ?0 _4 W9 A  J2 w; S
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)! ?( q: Y" I# N' Z# v
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    & N6 T+ @! B  H; k$ x
  14. ; 4. Current working directory (except CLI)% x- y( O9 T/ X! ]8 }: E+ n
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP" p9 H: Q; G# }6 `& z$ e
  16. ; (otherwise in Windows)/ V3 l( d7 @( A; Q3 @& a2 _
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    3 Z  g6 x% D! ]  k' P$ F' z( j
  18. ; Windows directory (C:\windows or C:\winnt)
    / j8 D. F/ ]) p1 R
  19. ; See the PHP docs for more specific information.9 ~+ h& r8 N. P$ {$ L& ~) k
  20. ; http://php.net/configuration.file
    8 B/ A- }# y' O* |9 {+ l) I

  21. ! ^. E( y5 G) P) o. t
  22. ; The syntax of the file is extremely simple.  Whitespace and lines( O, v4 f: d* D6 m7 h) k  h1 _* n
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    * @/ D& n! ?5 }5 m) U  d( B3 M
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though! t0 X: Q) i% l0 U* a
  25. ; they might mean something in the future.
    : ^1 V" ^+ N. T' @; y# u) A
  26. 8 A" `; M8 l' F/ y0 W
  27. ; Directives following the section heading [PATH=/www/mysite] only' I3 V0 R) L( X
  28. ; apply to PHP files in the /www/mysite directory.  Directives4 w- J/ E" `& F4 k5 N
  29. ; following the section heading [HOST=www.example.com] only apply to
    ( M# b& _' t- Y
  30. ; PHP files served from www.example.com.  Directives set in these+ k! e0 _- v3 N' q* O8 T
  31. ; special sections cannot be overridden by user-defined INI files or
    0 @5 b8 g( u& h% E8 `4 c
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under) z8 j9 j" T& o4 ~9 o4 W
  33. ; CGI/FastCGI.5 {( d8 T/ D- a' H
  34. ; http://php.net/ini.sections  K8 @6 d6 f5 u3 I( G7 S

  35. 9 X5 V7 C. {" Z# P
  36. ; Directives are specified using the following syntax:
    " w' Q+ H+ C0 w, C1 O% s. u
  37. ; directive = value
    3 ?2 f! ?/ Y+ l& }9 q$ I
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.  P: U6 j) M+ b  j9 w6 t
  39. ; Directives are variables used to configure PHP or PHP extensions.- ?) [& v8 ^6 g
  40. ; There is no name validation.  If PHP can't find an expected0 F; E# P" F8 d- d
  41. ; directive because it is not set or is mistyped, a default value will be used.
    : \* o. I/ m" J+ j, |

  42. 8 {! A1 a. d" b9 a7 p0 J
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one. P2 Q4 o) z+ N
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression: j& |! I2 m: O
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    0 L! c# X) D  i" j6 u) k
  46. ; previously set variable or directive (e.g. ${foo})# s# U& L7 P  o. d# q5 c
  47. " h* n1 K, Z. b6 C
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:  L! u9 E1 Z) {, _. g, J2 Q1 G
  49. ; |  bitwise OR
    , s  R) C* E  ]5 ?9 F% m
  50. ; ^  bitwise XOR1 z, V1 j4 j9 ~6 j
  51. ; &  bitwise AND
    4 Q7 x/ {. k, O- r2 l8 ^6 C& w& ?( p
  52. ; ~  bitwise NOT, K$ S( \* O8 M8 c
  53. ; !  boolean NOT, l' H1 S4 m0 M% Z# Y1 S' U

  54. . u& H* z! R/ R
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    7 X' f; F' R4 o- j" G/ w& s  j6 [
  56. ; They can be turned off using the values 0, Off, False or No.
    9 j1 `3 w6 a7 _2 g1 C
  57. 4 m& f" s1 M) l" {6 h$ b9 S4 X9 a
  58. ; An empty string can be denoted by simply not writing anything after the equal
    / W1 f' |$ G$ j
  59. ; sign, or by using the None keyword:
    # A; j% _3 ]& ^# i
  60. - b3 n& c' h+ P( ]8 T' n* \- @
  61. ;  foo =         ; sets foo to an empty string
    1 G; _' j; w3 I! G$ H& r9 ^6 G
  62. ;  foo = None    ; sets foo to an empty string3 @  @  n% Q& y
  63. ;  foo = "None"  ; sets foo to the string 'None'8 z+ ~/ n+ r+ u( C0 k8 i, z/ w

  64. 7 L) M4 _4 \, n6 l, c- |6 Y  P
  65. ; If you use constants in your value, and these constants belong to a
    , a& M1 I& ~4 n) K  e$ U# X
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ; {+ ?' V9 j9 p' O
  67. ; you may only use these constants *after* the line that loads the extension.( i0 X2 {  l! Y8 S
  68. 2 h; _- g3 g' l- M1 P! A9 `' n
  69. ;;;;;;;;;;;;;;;;;;;) {0 v- ]& b& O# w! a6 g% f5 h
  70. ; About this file ;( P" ?. X4 a4 X- K: i" z3 J
  71. ;;;;;;;;;;;;;;;;;;;
      I( v& x3 ^& Q4 v- g
  72. ; PHP comes packaged with two INI files. One that is recommended to be used1 I0 _7 `  o. U
  73. ; in production environments and one that is recommended to be used in
    8 v8 Y$ }6 z+ o9 c& L6 D
  74. ; development environments.
    7 i9 V! p3 F: B4 _. K* z  c4 B
  75. * f% l+ }+ v  J3 [3 Z
  76. ; php.ini-production contains settings which hold security, performance and
    % u) o" B1 \8 b$ G
  77. ; best practices at its core. But please be aware, these settings may break5 w) r/ N& Y8 g% U; \' h
  78. ; compatibility with older or less security conscience applications. We% U7 D# `, l1 H/ V3 f! {6 p
  79. ; recommending using the production ini in production and testing environments.% K& ?: c% i" k" i! x

  80. ) g) R0 v$ o5 A5 P
  81. ; php.ini-development is very similar to its production variant, except it is
    # R$ \9 J2 v# w; d+ ?
  82. ; much more verbose when it comes to errors. We recommend using the
    " x* i1 Z9 r- t- e; _8 k- y' b
  83. ; development version only in development environments, as errors shown to) `3 s# r6 f* F1 r& O$ b' c
  84. ; application users can inadvertently leak otherwise secure information.
    9 ?2 V* z+ ^+ Y- [0 q  q! ]  C0 c

  85. ; M) g  v! ~7 l% u$ z
  86. ; This is php.ini-production INI file.2 k% a5 D' h! U& E. u
  87. . x& H! k4 I( Q) O
  88. ;;;;;;;;;;;;;;;;;;;& ^9 P3 P6 q# M" e2 D: h
  89. ; Quick Reference ;
    & _9 A- v: Y4 S, U& }/ V6 D/ Z
  90. ;;;;;;;;;;;;;;;;;;;
    % R/ y8 h( e9 `
  91. ; The following are all the settings which are different in either the production
    " M9 H" p- c. d" C6 L4 t
  92. ; or development versions of the INIs with respect to PHP's default behavior.9 V  B9 m! ^( _$ j% S& |+ C" E, g
  93. ; Please see the actual settings later in the document for more details as to why
    ! l& O1 g! k% y8 d) ]" C
  94. ; we recommend these changes in PHP's behavior.! Y1 O/ Q2 k  R' l, U( x' _7 T
  95. $ |0 {" z% i( n# C! `
  96. ; display_errors$ o5 q& \; s) p
  97. ;   Default Value: On5 M' h  F; t4 B* Q0 L
  98. ;   Development Value: On
    . x0 D2 y2 u' g2 W4 ?0 y) p# E
  99. ;   Production Value: Off
    / x1 e8 P7 V7 f! k9 _0 y

  100. & ^# ~$ W# f  ]# k3 b
  101. ; display_startup_errors
    0 R) ~9 g) x& l* F0 P% \2 r
  102. ;   Default Value: Off  i7 ?) S; s6 Y2 P9 ]) k$ K
  103. ;   Development Value: On
    , `3 [2 e9 o6 T5 Z! {
  104. ;   Production Value: Off
    % w. }- A+ y. Z& ^2 }
  105. 8 M5 V3 {! X. w" K! g. E0 u" n! l
  106. ; error_reporting
    3 y8 O+ f) r: \, ^; {0 z
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; a! \% l1 r9 q8 p$ ]
  108. ;   Development Value: E_ALL
    . f, k4 c, i1 h" r" Y1 _3 z
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 N# Q% |2 f: q( R
  110. * G5 R3 C8 y2 c1 V( j$ N* `3 ?  v
  111. ; html_errors
    4 Z. r  w7 y% G! T$ {$ `; o" M* q, y" q
  112. ;   Default Value: On
    $ E1 T4 [/ f$ C- Y+ v
  113. ;   Development Value: On; V* V9 d" k0 C' D) d/ N/ D: E& M3 d
  114. ;   Production value: On
    6 j6 I0 s0 f+ b4 C

  115. / J: {6 o5 m9 p( M: J+ P
  116. ; log_errors% p2 q: v& G0 l9 s! o
  117. ;   Default Value: Off5 P$ _) x/ V4 R3 c
  118. ;   Development Value: On
    + r7 f0 u* |! C
  119. ;   Production Value: On# U* t+ F" J1 B- }' R3 z" C. T

  120. * I4 O3 ^' D+ H5 o+ f' o0 ?' a& r( c
  121. ; max_input_time
    - k1 m2 R4 H2 |$ T
  122. ;   Default Value: -1 (Unlimited)
    & W' h* f9 j4 s$ t
  123. ;   Development Value: 60 (60 seconds)
    6 C' ?, H9 u$ r$ p" L  c
  124. ;   Production Value: 60 (60 seconds)' r2 s2 _, h9 Y7 @
  125. 3 t7 q4 G+ N8 Z! E& x- @
  126. ; output_buffering
    + e/ J& A5 x" c$ v/ Q* L3 q2 g- D
  127. ;   Default Value: Off; O. A' X4 r2 x# P' ~1 H
  128. ;   Development Value: 4096
    5 G7 e( u3 Q2 O2 S
  129. ;   Production Value: 4096
    3 X- _  a# t/ ^" Y% ^9 X' [" w. t
  130. ! b* S+ @6 N" D5 Q
  131. ; register_argc_argv9 H2 {9 M( |9 }
  132. ;   Default Value: On
    ( X; P5 \; H! t5 y! M
  133. ;   Development Value: Off
    6 E+ k( Z, |  H" T' M* Q1 I
  134. ;   Production Value: Off
    1 l5 [) K. p. `7 `; Z( ?' u

  135. 3 X3 {- |/ R" I
  136. ; request_order8 @6 F) F$ p, o) D- L
  137. ;   Default Value: None. o4 x1 C" \2 V9 k" w- J* a! Q1 i
  138. ;   Development Value: "GP"- u2 O( s' k4 a; v$ e
  139. ;   Production Value: "GP"
    ! {% L, Y7 ~4 J

  140. ! e$ [" `/ e( p5 r% {& q9 m
  141. ; session.gc_divisor+ T1 j  B7 b6 F+ a3 R
  142. ;   Default Value: 100
    $ j, z( x" I" I$ L( E" @
  143. ;   Development Value: 1000$ ~+ C% m/ g5 O7 S: a/ I. [
  144. ;   Production Value: 1000
      _5 S  d2 V1 }- O% ^+ V

  145. 2 C7 t' ], T0 q4 n' s+ d, Y
  146. ; session.hash_bits_per_character& W$ C, p1 s/ s6 ]0 x* x# \
  147. ;   Default Value: 4
    6 r, E) v  J/ I2 X# i: K3 r, S
  148. ;   Development Value: 5
    $ q6 b6 C1 j0 e9 s0 q
  149. ;   Production Value: 5
    ' W+ y. s3 y& ?6 D5 {2 l0 U
  150. 6 p; l* o' V  g$ }9 g
  151. ; short_open_tag
    ' T- y9 s/ B" ^6 V5 `; t
  152. ;   Default Value: On
    " h. n4 ]) z6 S5 D
  153. ;   Development Value: Off
    : w" k$ D( k8 K/ L
  154. ;   Production Value: Off2 l# O9 S& e( v" d, w- u( `
  155. " [5 W& k3 X! @# M2 @7 |
  156. ; track_errors
    7 F& W/ p; [6 ^* J% A( B
  157. ;   Default Value: Off8 T" y& k, X- ]* ~
  158. ;   Development Value: On4 _+ r' V5 g% A. ]& b* C
  159. ;   Production Value: Off7 c0 t5 w6 q9 C' q. D+ L7 |

  160. 6 Z, E% h# I& f3 }% ^+ d/ S8 F5 O
  161. ; url_rewriter.tags: P! s6 W9 t! F0 @) l  R# \
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    . A' o! B) i4 d
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# P6 V; J) ~$ |0 |5 a7 F% U; f
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ N6 F& U; k( S/ r. @+ n
  165. ' m3 T* R1 U0 h$ A1 r) \) K
  166. ; variables_order8 p' F+ F+ Q, m/ x+ z) q; j! `
  167. ;   Default Value: "EGPCS"
    ; P& w0 L' t1 _% D  Z8 H. e. @
  168. ;   Development Value: "GPCS"6 p3 j' Z& p* g' x: n1 l9 o$ B
  169. ;   Production Value: "GPCS"2 w% k7 u) m" J. p
  170. 8 Q* B& ^" L$ h1 z! C2 k: W: G
  171. ;;;;;;;;;;;;;;;;;;;;
    ' ]6 x" B2 Z4 v/ m% g, Z4 Q
  172. ; php.ini Options  ;
    # k% U+ n  I$ l* b% t
  173. ;;;;;;;;;;;;;;;;;;;;
    % `+ D  Z5 L) [3 h* D
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    , P0 x! Q7 T3 B. @, ~5 F
  175. ;user_ini.filename = ".user.ini"( e( U5 i5 T. B- S9 t* ^

  176. : y  t. u7 Q) B5 o5 n, R! D- k0 Y5 R
  177. ; To disable this feature set this option to empty value/ |7 A. X- f# T/ \
  178. ;user_ini.filename =
    ' t0 B3 g+ O* K  h1 A4 w
  179. 4 d8 o1 l7 {1 A2 j* _2 m9 \5 O
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    1 [" u7 }! G8 v' a6 s( @7 O; D1 [
  181. ;user_ini.cache_ttl = 3001 B, k& i" z# R8 O
  182.   S" e# l  x2 A
  183. ;;;;;;;;;;;;;;;;;;;;7 S6 W% B" u& f! G8 z9 q5 Y! t
  184. ; Language Options ;* |/ V5 |( Y2 w
  185. ;;;;;;;;;;;;;;;;;;;;8 S2 n% y4 n' ^- p+ L' J
  186. ! t: }0 B9 }% O2 }; I
  187. ; Enable the PHP scripting language engine under Apache.
    " H, c$ b' x3 I( X8 y) F& {5 D
  188. ; http://php.net/engine
    % _5 m3 R; F( e5 J& ?7 Q; ]
  189. engine = On
    . j" t( H( P% S5 R7 M
  190. 4 E7 _* ~8 b& n% W4 g
  191. ; This directive determines whether or not PHP will recognize code between
    / `2 w0 O/ A+ H, H% O9 V6 _
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    6 N8 E4 o5 {6 S
  193. ; generally recommended that <?php and ?> should be used and that this feature
    8 _( I! m7 V1 D+ \7 z- x3 E) D* q
  194. ; should be disabled, as enabling it may result in issues when generating XML/ B7 e2 u3 X, [5 i
  195. ; documents, however this remains supported for backward compatibility reasons.
    , Z/ A3 f0 G+ a  K; Z# ]
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    3 R/ |. c9 j. Q5 R9 X/ f
  197. ; used regardless of this directive.
    % B/ s; R" N% u4 d3 ~
  198. ; Default Value: On
    ) q8 x. ?4 S& ~* G5 y% |0 k4 \
  199. ; Development Value: Off. ]: D# v, M, F6 n# {
  200. ; Production Value: Off1 d5 S9 {/ E' A7 U$ g5 b
  201. ; http://php.net/short-open-tag
    + z1 D  \4 e! \# A! L/ k
  202. short_open_tag = On" H, _. Q; ]! |

  203. ) S- E2 y5 x6 @& v4 I# g- J
  204. ; Allow ASP-style <% %> tags.
    ; ?( \& W+ v3 u1 q+ a' o
  205. ; http://php.net/asp-tags' e- U5 p5 @! a+ T$ S
  206. asp_tags = Off
    0 I5 Y: r7 l( i/ ~( V3 P  {$ j' z
  207. . F+ ]' t5 W, I" |
  208. ; The number of significant digits displayed in floating point numbers.. s1 i0 ?8 [, {! f
  209. ; http://php.net/precision
    / l9 ^8 E& g. R( g% G
  210. precision = 14" X' o/ @7 O8 w
  211. 5 p  C4 t8 r$ q
  212. ; Output buffering is a mechanism for controlling how much output data
    8 r$ Z  j- g; c6 k1 S7 j5 c
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ' m8 k' O5 @! H
  214. ; data to the client. If your application's output exceeds this setting, PHP
    4 N6 R" G  @* W% \& m/ R
  215. ; will send that data in chunks of roughly the size you specify.
    * C1 ~% A4 N# ^3 g  o1 q9 v- t, b
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    9 T' t( [- l# X5 @8 @! a& A% X
  217. ; interesting side-effects depending on your application and web server.4 A# O( r7 k* L/ |+ I, a
  218. ; You may be able to send headers and cookies after you've already sent output- k# Z' D( h# J+ l* X* {
  219. ; through print or echo. You also may see performance benefits if your server is
    8 \2 A& p& u  e& I- d: E
  220. ; emitting less packets due to buffered output versus PHP streaming the output, t0 d; R) J, Q0 y+ m) [- E
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance) \3 Z3 Q- t% Y
  222. ; reasons.
    , B! z8 c. w: ~) |- a
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    9 Y% s1 J, j% K/ Q: Y; U/ V
  224. ;   functions.
    * K) k" u! `' {8 d
  225. ; Possible Values:$ \% `. l6 i  r/ D6 l; q$ F
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)1 j% i& W% e" j
  227. ;   Off = Disabled$ f2 o+ Y- J$ j# {% S3 G
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.; J) U3 [- N, l2 M, n9 A& p4 }
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    & x  e6 o' w- N. Y% \' K1 H+ `
  230. ; Default Value: Off4 @9 k, I9 H; w7 F! |& S6 F, T
  231. ; Development Value: 4096" h  r. j2 a( o" h
  232. ; Production Value: 4096" Y+ K, Z& Q7 S0 s( [
  233. ; http://php.net/output-buffering% S8 K- g+ U* @: S9 a% G/ H
  234. output_buffering = 4096/ d0 V8 k: B3 b; R1 c/ d4 }
  235. 9 P6 ?+ t% j8 n6 i$ T
  236. ; You can redirect all of the output of your scripts to a function.  For
    , U: ?, {; d7 p+ P% L& V* b/ x5 A
  237. ; example, if you set output_handler to "mb_output_handler", character
    , ]) p5 u+ {! `% R. ^8 s
  238. ; encoding will be transparently converted to the specified encoding.' R7 ~! k1 T& e3 Z! a2 D: g; v
  239. ; Setting any output handler automatically turns on output buffering., I6 `5 V, F& T6 w
  240. ; Note: People who wrote portable scripts should not depend on this ini! l7 N/ g! J+ _4 i3 I! m) Z3 v5 ]
  241. ;   directive. Instead, explicitly set the output handler using ob_start().( C9 F3 ~7 ]" S2 P0 M4 X
  242. ;   Using this ini directive may cause problems unless you know what script* l2 j  `2 {; l  k1 w) M
  243. ;   is doing.1 b7 P3 q# k! f+ \7 w4 w
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    & ^2 j; C1 X: T8 Y* _$ C' W
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".1 S' L- A7 f) S
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    8 K) x4 Z/ x2 M
  247. ;   Instead you must use zlib.output_handler.
    2 X8 f7 J+ _3 U6 U& A: c; D5 k
  248. ; http://php.net/output-handler
      k  C9 A% Q/ `! i
  249. ;output_handler =
    . T$ L2 g& F/ y& v

  250. / w6 ^' e0 g; \  f- T: V" \
  251. ; Transparent output compression using the zlib library
    & L4 o8 I+ p5 L- O/ a
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    - W( ^" Y9 g/ _0 W
  253. ; to be used for compression (default is 4KB)
    - j! l8 S! h1 u- w9 L+ D
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP  {* s4 G: Z. W3 D! K8 K9 b* u
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    7 s7 r1 p7 e8 Z
  256. ;   compression. If you prefer a larger chunk size for better6 _/ [/ `5 h0 ]5 }
  257. ;   performance, enable output_buffering in addition.2 b' L( ^% t( q. [: X: r' m
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ( T! l2 U3 F; Y0 k4 X
  259. ;   output_handler, or otherwise the output will be corrupted.
    3 b" l. U( L5 s! P- {( V( w. O  @
  260. ; http://php.net/zlib.output-compression
    6 C7 I' B/ e6 l
  261. zlib.output_compression = Off
    . Y4 P! ]" s$ [( E
  262. & T0 ~) K1 ^. ~# c$ j/ n
  263. ; http://php.net/zlib.output-compression-level/ E, G1 p! Z$ ^4 A# J5 e
  264. ;zlib.output_compression_level = -1, H1 }" W' g1 ]* d
  265. ) |+ k9 p$ L) @
  266. ; You cannot specify additional output handlers if zlib.output_compression
      _; ?! b7 o5 \, t2 Q7 Z! G
  267. ; is activated here. This setting does the same as output_handler but in
    " C7 o+ m. s$ H: x/ f$ E
  268. ; a different order.
    ) g, F2 R; m1 a# Q
  269. ; http://php.net/zlib.output-handler
    * N: T. }  u. E: A" Q5 q- F
  270. ;zlib.output_handler =" L8 Z1 a5 V3 ]0 [3 B  E4 l
  271. * y- k& y' y/ p! l! G' ?& B
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    5 ^5 r' i/ V  _, ^0 m% g4 _9 M; E4 j
  273. ; automatically after every output block.  This is equivalent to calling the6 H, ?1 B0 f2 j% @
  274. ; PHP function flush() after each and every call to print() or echo() and each
    1 J! c" M; [' S6 L' V
  275. ; and every HTML block.  Turning this option on has serious performance6 H2 h( Q" @/ F% e* v
  276. ; implications and is generally recommended for debugging purposes only.
    4 W$ Q4 T0 l7 o. E* U7 W5 Q( L! D
  277. ; http://php.net/implicit-flush
    9 X3 j2 B: R! @% {6 N; d
  278. ; Note: This directive is hardcoded to On for the CLI SAPI6 l7 o! j$ l% _/ q$ c, F
  279. implicit_flush = Off
    0 V4 b7 {: O' t, ]0 ^% K3 c. g+ p

  280. & x; [, [3 G; L$ |4 b" b6 r
  281. ; The unserialize callback function will be called (with the undefined class'4 C( s; F6 [4 K9 \
  282. ; name as parameter), if the unserializer finds an undefined class
    1 _  G$ T5 W, A) W! c3 [
  283. ; which should be instantiated. A warning appears if the specified function is& h% h, \2 J: u& ?* v, o
  284. ; not defined, or if the function doesn't include/implement the missing class.
    # a0 }' s, Q3 Z( {; ~. M
  285. ; So only set this entry, if you really want to implement such a
    5 Y/ E0 H. {7 r+ c* c6 m& v
  286. ; callback-function.1 B: w/ Y* V  @" r6 n
  287. unserialize_callback_func =0 \2 [5 Z9 P) _( Q

  288. 4 }) N1 B; ^: \1 ^5 o
  289. ; When floats & doubles are serialized store serialize_precision significant6 }0 T8 A1 }7 w( h* ?' L4 m- r
  290. ; digits after the floating point. The default value ensures that when floats9 w& Y/ @( B( f4 B
  291. ; are decoded with unserialize, the data will remain the same.# F6 `* v3 G" [# T# u, y
  292. serialize_precision = 17
    % F8 ?: i) Z2 q& u
  293. * ^4 r, k4 L' N
  294. ; open_basedir, if set, limits all file operations to the defined directory
    , K" t* B5 ]+ i$ @
  295. ; and below.  This directive makes most sense if used in a per-directory
    . R% _' q, T- C$ r7 m/ l
  296. ; or per-virtualhost web server configuration file.
    $ D4 d6 R: ~* s) f+ \4 Z
  297. ; http://php.net/open-basedir, _' t( L* ?+ N1 W3 L
  298. ;open_basedir =' E1 V- N2 d6 ~. b, m
  299. 8 j% G$ Z0 c6 _6 n
  300. ; This directive allows you to disable certain functions for security reasons.
    " I5 U& B6 J  r# t; O7 _$ _
  301. ; It receives a comma-delimited list of function names.8 [) ]" I2 u( }( J9 p8 U8 X( C
  302. ; http://php.net/disable-functions
    : B1 u1 `$ U5 I% ~
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru9 {( }5 W5 y- e7 p3 S7 w
  304. " U, o2 Q  R) o% A4 L. V! o
  305. ; This directive allows you to disable certain classes for security reasons.$ e0 ~  i& x0 }1 O
  306. ; It receives a comma-delimited list of class names.' }0 A- _& X' X% O; o# {- r
  307. ; http://php.net/disable-classes
    " M" {3 o% `1 ]' ]$ T
  308. disable_classes =
    & o- J' P) x- e( Y
  309. ; J  N4 a2 Y, ~
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in. I4 l4 i; C( n
  311. ; <span style="color: ???????"> would work.
    + K4 ~, P8 ^0 ?2 z7 z7 K3 A
  312. ; http://php.net/syntax-highlighting/ l& I/ u+ @3 Z9 N
  313. ;highlight.string  = #DD0000
    & u$ e9 w, o6 `( u
  314. ;highlight.comment = #FF9900# @7 \3 I+ u+ W) J( m% r7 ?$ X
  315. ;highlight.keyword = #007700
    4 f% e/ B3 w& Y* \6 B
  316. ;highlight.default = #0000BB2 ]! @8 @; t/ r* V: ?6 J+ I- q
  317. ;highlight.html    = #000000- m+ f$ V% s1 a7 C" g4 r7 }0 [6 j. f

  318. ; A0 i5 V5 m  M9 @. \
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    3 V/ b0 U# I, m
  320. ; the request. Consider enabling it if executing long requests, which may end up
    - A3 I& ^" n/ J/ ?2 X: m/ P
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior) E  J( _6 S) D& v
  322. ; is to disable this feature./ t- D3 Z. O, [" L  G( }7 C
  323. ; http://php.net/ignore-user-abort2 K. s' e6 ~+ U% I4 \! p& S
  324. ;ignore_user_abort = On
    ! g" h3 m- q; [+ X. `

  325. , n+ q  R+ p4 T; k4 o
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    7 ^- a: h& l3 Q( ~
  327. ; be increased on systems where PHP opens many files to reflect the quantity of- U$ O9 B0 `6 w8 E, N  `
  328. ; the file operations performed.) B  w$ Z( G7 i7 x
  329. ; http://php.net/realpath-cache-size) M  F2 q* {( `- L1 i& \( U9 x2 ~, V
  330. ;realpath_cache_size = 16k
    - s5 R/ ?* `; }) v$ q, D6 j

  331. # g5 {3 v) ~3 Y+ Y( y
  332. ; Duration of time, in seconds for which to cache realpath information for a given0 r4 m6 d4 b! J
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ! B+ Y6 E0 }: r7 d, T
  334. ; value.
    * u/ N! X; a7 _) ]
  335. ; http://php.net/realpath-cache-ttl8 s1 a0 _. I, A8 W2 \, O
  336. ;realpath_cache_ttl = 120
    ( n- A. W9 J" |) c. w

  337. 4 ^2 I/ Q- Y4 E) [: J- t. D
  338. ; Enables or disables the circular reference collector., l* l) J0 j5 K# p! m
  339. ; http://php.net/zend.enable-gc
    0 r  i( m9 s6 ~7 P7 e6 C+ U5 l1 E
  340. zend.enable_gc = On$ m: i7 g+ Y1 V) a4 _" g. }! @% V
  341. 1 E. ]. Y/ w! l/ L
  342. ; If enabled, scripts may be written in encodings that are incompatible with" s7 P% t) K+ h9 J- k/ |
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    . o. i" M/ s& D+ E
  344. ; encodings.  To use this feature, mbstring extension must be enabled.5 R, _/ Z8 O' @3 a; N+ y
  345. ; Default: Off
    . Q$ Q8 p. T  ]: m+ p
  346. ;zend.multibyte = Off" D/ ]; C/ a+ ^. W! S: l
  347. 8 r; _( E) B! \) l& w  h0 B# Y
  348. ; Allows to set the default encoding for the scripts.  This value will be used7 w" E) @8 F+ }* A8 B5 N
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    # h. a# [0 v- z. m# i) Z
  350. ; Only affects if zend.multibyte is set." O. \/ s$ P$ j& N0 z) `9 }
  351. ; Default: ""
      R7 P! I- x& q6 O
  352. ;zend.script_encoding =4 O9 p1 }% j1 g& H" {) p+ X
  353. 8 n" j* t: ]' t7 A' d, H! H
  354. ;;;;;;;;;;;;;;;;;* G& T; X8 U4 ]/ h! O# w+ R
  355. ; Miscellaneous ;$ `3 y& Z0 U7 t& A1 S" X
  356. ;;;;;;;;;;;;;;;;;% R( D: k) K! c8 y$ s& y

  357. " S/ @" G( |2 |, r( P* |$ p( _
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    & a+ \, L/ l4 J$ Q9 u* R5 i
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    1 p( X5 Q% E$ w8 z! q; w1 n
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    ; n; c. j& ?9 k
  361. ; on your server or not., t! R, W, R. g% B7 G7 ~
  362. ; http://php.net/expose-php
    % m$ |) r7 \" h" h/ ^& R
  363. expose_php = On
    ! B; ^! m$ `. A0 M

  364. 1 d; N) Z. Z! }* |' U  h8 [
  365. ;;;;;;;;;;;;;;;;;;;
    2 e8 a) M: K1 F$ Q
  366. ; Resource Limits ;: j! I3 b7 z. t8 y, s
  367. ;;;;;;;;;;;;;;;;;;;" Q& X$ a# p4 R
  368. , M7 X0 N$ N" U/ w6 n$ j3 f
  369. ; Maximum execution time of each script, in seconds; b, h* e$ q0 U3 R# K) A
  370. ; http://php.net/max-execution-time1 X6 ^- t) s' J# w& }5 A! y
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    7 A6 s$ s+ L/ _* G  Z) E/ X& F
  372. max_execution_time = 300, `. N8 m/ H$ U. ]! L
  373. ) R" e3 A8 M% }! y5 Z/ }# w
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ' |! M) j% w' ^& r4 ~
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    * Y0 H% v( E) E- u
  376. ; long running scripts.4 D' J& s3 w; {6 l8 W, l
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI# c, T+ d1 x9 y* ~
  378. ; Default Value: -1 (Unlimited)
    4 p1 h+ w4 P; V0 A% G& ?
  379. ; Development Value: 60 (60 seconds)
    ! n2 q1 a) \6 X3 L- m
  380. ; Production Value: 60 (60 seconds): t0 @+ Z- q+ I& s0 [  c; J
  381. ; http://php.net/max-input-time9 U1 H- e6 N+ k& e% }% \9 r
  382. max_input_time = 60
    0 D3 M. k2 x9 V; s+ ~6 Z& V% s4 O; ?

  383. 5 P9 \& r6 n! O# o* l9 Q4 V, i
  384. ; Maximum input variable nesting level' K: a, W. K5 u6 |4 N1 ?: F! u5 ?
  385. ; http://php.net/max-input-nesting-level& a- r- _& E* Z; |/ F
  386. ;max_input_nesting_level = 64" k" G: O4 i2 u4 @6 d3 P

  387. : f; @7 X( F+ O. m6 g) A% \6 Z. Q1 t
  388. ; How many GET/POST/COOKIE input variables may be accepted! G. T* L1 _; s2 z+ R
  389. ; max_input_vars = 1000
    # ]: I" f3 s" X9 L  k# @9 v- {

  390. ; t) v2 K% ?- N, E9 G
  391. ; Maximum amount of memory a script may consume (128MB)3 m) q$ Z% y9 c2 A, b& }
  392. ; http://php.net/memory-limit4 Q# ?3 {6 q* u* b  c- Z) H% a
  393. memory_limit = 128M
    - V& Q( d9 a1 z$ I( c

  394. 3 Q" P" t4 }- e% `& ?( p9 Y1 X
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    % K' u) Q3 Z$ c: h+ q+ |, y& E
  396. ; Error handling and logging ;0 i# y+ H3 n$ N  Y
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;  M; V; j% ?: h1 _

  398. 0 g8 z# v7 o% Y  s
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ' y. D1 Q8 E) J& V
  400. ; it to take action for. The recommended way of setting values for this# H6 c. F# F3 R; n6 D( g
  401. ; directive is through the use of the error level constants and bitwise- n  o3 U, }/ P% M7 H; V: r3 V
  402. ; operators. The error level constants are below here for convenience as well as
    9 r+ {' V7 d0 d; X' V
  403. ; some common settings and their meanings.1 x( a/ L1 X% k9 S, O
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    9 x- Q5 e. a! n! C7 b2 Y; Q
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and  n- k; i* C  s  n# F
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    % j- t8 ?! J4 Q( t$ O9 j
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    . K: W7 y; j& o# `- E" v0 K
  408. ; resources complaining about best practices and coding standards. That's what
    2 g* H# o  W: J5 a
  409. ; development servers and development settings are for.4 R: L7 W! j2 J' l7 {$ I5 g4 X" f* ~
  410. ; Note: The php.ini-development file has this setting as E_ALL. This) y3 X" d# O( F8 C3 W
  411. ; means it pretty much reports everything which is exactly what you want during  q3 o0 w" v2 ^& P: i8 K8 S
  412. ; development and early testing.( y; f( Q! y- a+ k) h3 M! [, c5 v
  413. ;
    $ t! Y/ u: L4 y
  414. ; Error Level Constants:4 t/ y8 Z% E- e2 k! F# l
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    $ Z. W1 R2 B! g. B: V
  416. ; E_ERROR           - fatal run-time errors- B9 e8 o$ S3 G' t, L( q
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    0 A( N$ s* U; e& Q, I0 `* b+ t
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    " S9 c3 k! |) T! @4 B% R
  419. ; E_PARSE           - compile-time parse errors: N  M$ Z2 w5 h: q
  420. ; E_NOTICE          - run-time notices (these are warnings which often result; R: d. c9 F6 N: z, e
  421. ;                     from a bug in your code, but it's possible that it was
    ' ^; h3 n# H7 Y1 ^; M2 l) [) C! ]
  422. ;                     intentional (e.g., using an uninitialized variable and
    5 k- a1 ^, K6 `1 B
  423. ;                     relying on the fact it is automatically initialized to an
    ; o3 b2 o3 a; ^' |+ h( D
  424. ;                     empty string)
    9 |! T0 B, Z& _/ u5 h6 a$ v( S
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes- D$ j2 z" l4 t( Z9 A8 N
  426. ;                     to your code which will ensure the best interoperability+ E9 V$ X# [* |8 X
  427. ;                     and forward compatibility of your code
    9 o( S7 q" U" }% m6 w# v. f( v
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup- \9 U. \& Z, D5 C2 c
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    $ n. s4 ~" b! n9 {
  430. ;                     initial startup
    ! O, _8 f. U. N5 J
  431. ; E_COMPILE_ERROR   - fatal compile-time errors7 m# B/ J+ g! N# Z
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)( r  w, U9 j4 s$ ~
  433. ; E_USER_ERROR      - user-generated error message
    & j* E0 G  o& }! [% t% Q
  434. ; E_USER_WARNING    - user-generated warning message
    ) N7 J" a) X$ K( f/ W' P$ W% [
  435. ; E_USER_NOTICE     - user-generated notice message  K5 h/ _- c& t2 c/ o
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    . T$ G: B$ g% _8 c
  437. ;                     of PHP
    " o8 B0 u  }& D- i$ G- ^
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ( g6 J. [) h- E
  439. ;
    - b' o6 o' j6 ^% b' j
  440. ; Common Values:1 J2 J" `) I, U- k8 f
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    8 F" m, I5 q+ F" ]
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    * |! R! u; O* j9 f3 ?
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)( S: X* z; B0 p! h. A- S2 X0 r
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    % v5 ^$ e. F! ^: r( v  R/ L
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , W/ t/ G& g2 l# Y$ q; }3 I
  446. ; Development Value: E_ALL
    ( H, V( Q# t* u4 W
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 @$ T( b% |' }4 U8 {
  448. ; http://php.net/error-reporting
    5 D/ u* o# _( ~7 M
  449. error_reporting = E_ALL & ~E_NOTICE
    : O. F) E  p: w+ @+ p. [0 h

  450. : H$ X$ p/ U  @
  451. ; This directive controls whether or not and where PHP will output errors,
    ! x8 l6 l! K0 m% Q' ?4 t
  452. ; notices and warnings too. Error output is very useful during development, but
      Q  V; x1 K9 H; ~
  453. ; it could be very dangerous in production environments. Depending on the code
    ; w% l7 J$ Y7 w4 i2 Y& F
  454. ; which is triggering the error, sensitive information could potentially leak
    % K4 O' ]: Q7 F" X5 x
  455. ; out of your application such as database usernames and passwords or worse.
    + [# _) x5 z# G4 }) w3 C
  456. ; For production environments, we recommend logging errors rather than& R( O5 o) S9 z/ [0 Y
  457. ; sending them to STDOUT.
    ! T; F( {) j2 t, W# O: U7 z
  458. ; Possible Values:
    " }2 f- L7 H, C6 X2 L) i4 {5 r
  459. ;   Off = Do not display any errors
    " N& Q8 L1 g  a5 `& Q, W
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ) h' J# Q% G" ]% G# K8 l4 D" c
  461. ;   On or stdout = Display errors to STDOUT
    0 m+ [7 D! t, K* {( Y# j" N  y
  462. ; Default Value: On
    2 ~; e. W" u/ V: ~) f1 P
  463. ; Development Value: On
    # z2 M2 v( g# h4 ]
  464. ; Production Value: Off6 U8 H6 h- V# H7 @4 C. m7 ~5 R% `# t$ C
  465. ; http://php.net/display-errors  A: z3 u% H4 M# r+ @0 q; u% N
  466. display_errors = On- d6 I+ D' e  ^& X3 d2 W

  467. * k3 u. h+ B! q8 y% J
  468. ; The display of errors which occur during PHP's startup sequence are handled" O( @: s6 E! _7 G7 o% A
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    / f) p6 @) r  G. y( P- S2 E5 d
  470. ; errors from clients. Turning the display of startup errors on can be useful in, t% |" t9 I  i8 V3 b
  471. ; debugging configuration problems. We strongly recommend you
    ( P! B0 q1 v  V0 W+ E( O
  472. ; set this to 'off' for production servers.
    0 `! s2 F- [; C8 |* [4 }
  473. ; Default Value: Off
    - \1 E' X" S' E+ b% P4 @3 N+ ^5 \
  474. ; Development Value: On
    ) S& c" t& s8 O! N
  475. ; Production Value: Off& z) G1 v5 u& v% h+ k( r
  476. ; http://php.net/display-startup-errors3 U4 M% E6 Q$ o
  477. display_startup_errors = Off5 z9 s( _) q, ]
  478. 7 A6 n: B9 @( M- ^5 Q: @4 ~
  479. ; Besides displaying errors, PHP can also log errors to locations such as a/ ]. v( }  E) e8 b/ a/ ]% |0 p
  480. ; server-specific log, STDERR, or a location specified by the error_log
      x* p5 k1 Z6 F( G1 U1 [; z5 ^
  481. ; directive found below. While errors should not be displayed on productions
    - O' r, h2 e8 I7 [. ]
  482. ; servers they should still be monitored and logging is a great way to do that., }$ Q6 Y) g4 @
  483. ; Default Value: Off( ~" E5 A! g3 O0 H% C1 I7 L+ E( j
  484. ; Development Value: On" \; L3 A! }2 O& o) E+ D
  485. ; Production Value: On0 A" e. ^/ d5 Q5 q7 C
  486. ; http://php.net/log-errors/ Y; P. {2 ^) C# p# n$ ?7 K+ q/ M
  487. log_errors = On3 D5 J; W5 l* [5 D: I9 P* Q

  488. 2 s& \7 i  D* C
  489. ; Set maximum length of log_errors. In error_log information about the source is) V8 ^1 \9 z& E# a7 n* p1 Y
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.# E, E/ H2 S1 L8 ]/ _
  491. ; http://php.net/log-errors-max-len
    ( }2 q1 g' N, [8 |# i0 |/ G6 \: f
  492. log_errors_max_len = 1024
      G. P  Z2 T" ]8 b: S4 }
  493. 2 p+ a6 U+ G$ x+ r" A/ k
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same/ y$ Z# Y3 N3 _. C2 y- x
  495. ; line unless ignore_repeated_source is set true.
    : J  D9 U, C, x) ~$ z
  496. ; http://php.net/ignore-repeated-errors
    " d+ ?! K0 o" q) ]8 r8 |
  497. ignore_repeated_errors = Off2 u+ n2 a: v0 U- L6 }
  498. ! y" J* l7 v+ V/ @! c
  499. ; Ignore source of message when ignoring repeated messages. When this setting7 C4 a' N2 \5 ^# q% `
  500. ; is On you will not log errors with repeated messages from different files or
    . v5 e+ c* R9 e6 A4 M$ g
  501. ; source lines.9 [+ @! P; }2 m& r7 ~+ @
  502. ; http://php.net/ignore-repeated-source
    ) Q5 W3 |  b& L* q( b/ f$ |
  503. ignore_repeated_source = Off
    ! \! y0 L- l. o, r. u
  504. $ I7 `8 z+ I; R% _
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    9 Z0 q. H; Q3 f/ l
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ) H+ i0 o% @2 R7 [2 P
  507. ; error reporting includes E_WARNING in the allowed list4 m. v  t$ |: r( `2 L
  508. ; http://php.net/report-memleaks
    ' d' T1 u1 P! S" ^
  509. report_memleaks = On! |/ [- f' w7 s# K4 d/ _6 R

  510. 6 N( @5 N; {$ C( A& E) X% G2 [& H
  511. ; This setting is on by default.3 q, x' H+ r- a- w0 I
  512. ;report_zend_debug = 08 D( n, Q& t% j" O7 c) M( b0 p

  513. 3 q5 ^! l6 ]! N1 a5 h3 |. u( e
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    % ?# G( n+ z9 `
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    5 T6 ?2 g7 X! Q2 r9 l
  516. ; however be disabled on production servers.
    ( J* r! E3 w0 r/ r" @
  517. ; Default Value: Off
    - F6 K9 b5 a( Y: ~4 F
  518. ; Development Value: On$ k1 f# f  N5 W9 d1 H  p: j
  519. ; Production Value: Off
    $ x3 V& a+ C3 V4 t  b1 x7 z5 E
  520. ; http://php.net/track-errors
    . E2 e" a# W3 F* B9 \7 ]
  521. track_errors = Off0 G5 D2 R) f( @  Q
  522. 1 S6 v) G. ^# m3 o& O! z6 \( }
  523. ; Turn off normal error reporting and emit XML-RPC error XML% y- A. h5 ^$ s5 `- l1 y+ p
  524. ; http://php.net/xmlrpc-errors. ]5 z2 y  |7 o* A2 p' p
  525. ;xmlrpc_errors = 0
    * P- a0 l8 ~( N8 c. E
  526. + \* M; r3 U) @. J2 ^- ?
  527. ; An XML-RPC faultCode
    ' J6 E5 }8 Q, M  a0 t
  528. ;xmlrpc_error_number = 0
    8 `( W$ R- S! a& I
  529. 3 d6 h  Q! U  S( f% S& Q( d
  530. ; When PHP displays or logs an error, it has the capability of formatting the: Z, S$ F+ I! ?; j: U. s
  531. ; error message as HTML for easier reading. This directive controls whether) [# X5 y' H5 _% m, a! i) ~" u
  532. ; the error message is formatted as HTML or not.
    ) Y; F: \# l% U5 v+ e! \# U& g
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI+ u3 M% c, o% o' J4 n! v  ~5 S
  534. ; Default Value: On
    ! Y- k/ o7 D" R& ~" Z- V
  535. ; Development Value: On: E9 l2 n+ H! R: W! Y
  536. ; Production value: On8 x1 u# o+ a  X
  537. ; http://php.net/html-errors8 o: v, E7 P' G: j7 k9 y
  538. html_errors = On
    & q- I5 f- N4 w! a8 T/ M4 k  z

  539.   G0 Y; ^1 k5 R9 C
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP0 E  z' B3 C1 U' l+ u7 X; k
  541. ; produces clickable error messages that direct to a page describing the error
    ; Z2 \$ A% b0 m+ M$ g
  542. ; or function causing the error in detail.) n1 F2 q) M& o; q. W3 F. l
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ( d2 @( `8 J' j& \) k$ ^$ z
  544. ; and change docref_root to the base URL of your local copy including the( M3 {' g' c( [! a
  545. ; leading '/'. You must also specify the file extension being used including
    & |! C" W2 B, U5 S
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    7 T2 L; E7 X& }/ x
  547. ; case no links to documentation are generated.
      Y3 ?! t7 y: H! y+ Z; \
  548. ; Note: Never use this feature for production boxes.; P& {4 o$ Q0 a
  549. ; http://php.net/docref-root
    " B* o" I! C! R- q& W
  550. ; Examples
    / s+ g7 g1 a4 V2 {- r9 G6 G
  551. ;docref_root = "/phpmanual/"
    % ]8 ?% s0 X% f
  552. 6 a: b. z  B) L$ k3 }2 ]3 g
  553. ; http://php.net/docref-ext
      ]- I, G9 k% A" Q) |5 D
  554. ;docref_ext = .html
    " Q6 X2 H5 G* T( N$ v. g; z
  555. ) J- }1 f  {' }
  556. ; String to output before an error message. PHP's default behavior is to leave
    $ f0 U1 i8 P7 T: w: D
  557. ; this setting blank.
    3 E8 h! t9 _5 F+ K0 D! C
  558. ; http://php.net/error-prepend-string
    ; s/ c3 c- g9 {! E8 Y  K  V
  559. ; Example:
    9 ]6 ]6 ^* b7 w/ v1 h
  560. ;error_prepend_string = "<span style='color: #ff0000'>"8 e: [/ K& L* q, \% C) C; @

  561. 5 N- B% l  O" g/ g5 s
  562. ; String to output after an error message. PHP's default behavior is to leave* E; j* E7 b$ c% {: t# E1 `
  563. ; this setting blank.
    6 G  m- f1 p$ I, D- S% v) C' J- B
  564. ; http://php.net/error-append-string
    2 C# B4 _  G; H  p/ Q, {5 N0 q
  565. ; Example:4 U2 x4 j! [) Q
  566. ;error_append_string = "</span>"/ ~% s7 C! h, |1 @$ f* \
  567. + ]4 ^5 O0 t. `+ Q( m
  568. ; Log errors to specified file. PHP's default behavior is to leave this value/ \! d/ e% F* t# n
  569. ; empty.
    + t9 i1 t, q9 |1 M/ L$ y
  570. ; http://php.net/error-log
    % \' \$ R$ Q  e8 |$ s9 V2 j
  571. ; Example:
    ' E" P! r- J* f+ i" ~$ z9 [
  572. ;error_log = php_errors.log: D6 R. Y7 G& X
  573. ; Log errors to syslog (Event Log on Windows).
    " M0 S4 y" G6 p
  574. ;error_log = syslog9 [9 Q" J$ r6 [9 B
  575. . ]. f% ~5 x# T0 K. c
  576. ;windows.show_crt_warning) K! H2 D1 K3 D: Q
  577. ; Default value: 0
    1 V  U+ Q& r7 L2 E% b- ?
  578. ; Development value: 0
    / d& j: `- _6 a6 [
  579. ; Production value: 0" M0 R# F! Y; L: u# ~5 E

  580. ! c+ j$ c' @5 n: m% ^& w7 r
  581. ;;;;;;;;;;;;;;;;;
    9 X7 }4 b2 x$ x2 t! K2 H. a
  582. ; Data Handling ;/ Z! X9 V4 z* r" a8 l' w
  583. ;;;;;;;;;;;;;;;;;: I7 n" ~8 l2 h# s# A  Z, A. o
  584. 9 D% X+ j2 J2 I5 w! t' I! t
  585. ; The separator used in PHP generated URLs to separate arguments.
    / b: G! f+ t) d4 x* w% }
  586. ; PHP's default setting is "&".$ N/ k$ r7 a+ E8 U& Q( G
  587. ; http://php.net/arg-separator.output8 i' b$ p8 A8 G3 w4 q% ^
  588. ; Example:- k* E6 x& U/ c$ o% m+ ]0 G
  589. ;arg_separator.output = "&amp;"
    ( @4 D+ @3 o5 Q: k6 P, ^

  590. & l" ~  R) g7 V. G- s" A
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ; @. A& R' W- U2 F
  592. ; PHP's default setting is "&".
    : T$ u7 l3 z- n
  593. ; NOTE: Every character in this directive is considered as separator!9 f/ q+ h5 q3 i! s+ q" M
  594. ; http://php.net/arg-separator.input9 B' \; r0 m+ \; B: S
  595. ; Example:
    9 ~3 u& S! i0 u1 g5 \
  596. ;arg_separator.input = ";&"
    % n2 m) e  |% \1 n! I6 j

  597. $ t3 b  q3 z; |8 w
  598. ; This directive determines which super global arrays are registered when PHP' C+ H; z( O2 ~: v' _' ]
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ! w& o- y2 p& T$ h
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty6 N! W' P9 T) ]0 N
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    $ l7 G' s! {3 Z: F  \0 @
  602. ; used as the others, ENV is not recommended on productions servers. You7 B7 ]+ t4 [9 x6 T5 \# S2 o, {
  603. ; can still get access to the environment variables through getenv() should you
    ( i; o" U7 j6 I& D/ Z8 }4 w
  604. ; need to.
    % K) U8 G( {3 W1 H5 u6 d/ Z2 A) m
  605. ; Default Value: "EGPCS"( l# {  S2 P$ Q& @6 D# \
  606. ; Development Value: "GPCS"
    % ?/ ~7 q9 g7 Q" n
  607. ; Production Value: "GPCS";& _+ L7 c  Y2 D6 Q* l) n- _
  608. ; http://php.net/variables-order
    + Y% q. d; w. L  c
  609. variables_order = "GPCS"6 y" [& K! {1 M, D. E

  610. % _1 b9 W6 n$ }8 x4 O, E, R
  611. ; This directive determines which super global data (G,P & C) should be: K8 Q8 I8 e! o- l& A
  612. ; registered into the super global array REQUEST. If so, it also determines
    # [0 E1 S5 q8 F7 U
  613. ; the order in which that data is registered. The values for this directive
    # z% z; \. M+ O" e4 ^
  614. ; are specified in the same manner as the variables_order directive,1 [. ]$ K7 j0 V0 J+ y
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    - {9 m9 [. t3 f' a/ R" t  ?
  616. ; in the variables_order directive. It does not mean it will leave the super
    ; C% i9 s5 i  a$ P4 O
  617. ; globals array REQUEST empty.! [2 d2 ~" l6 b8 y9 a: T
  618. ; Default Value: None% E& H; V2 x7 C0 `
  619. ; Development Value: "GP"
    8 A, d/ Y" C( Z% z% _; |5 J) z+ b
  620. ; Production Value: "GP"7 f4 J" Y$ Q. b
  621. ; http://php.net/request-order8 N0 B2 T- z- \) P  w% V3 m" h& j
  622. request_order = "GP"
    : i, {( u3 L- @- W' E4 A
  623. : V; A5 g' A& g6 T* X+ V  G
  624. ; This directive determines whether PHP registers $argv & $argc each time it# l2 o4 }4 `. ~& _" _! \
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    7 `: c7 Z2 K6 ~0 m/ n  v- D$ `
  626. ; is invoked. $argc contains an integer representing the number of arguments, J8 `; E" S, x6 |6 Z
  627. ; that were passed when the script was invoked. These arrays are extremely, i3 C0 v, [& V# Y3 D0 ?% `
  628. ; useful when running scripts from the command line. When this directive is
    6 I; I. [: r+ X9 a
  629. ; enabled, registering these variables consumes CPU cycles and memory each time. @; ]5 l3 l" b. Z
  630. ; a script is executed. For performance reasons, this feature should be disabled6 m0 i* Y7 M. ?
  631. ; on production servers.7 u! F  k# r4 }8 a) [! m
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 z$ z* i; h3 L6 O! X6 E1 U+ o
  633. ; Default Value: On" |/ y7 e: Y! q. t1 G  r
  634. ; Development Value: Off
    6 U, E! W( Z- X5 n+ \7 F
  635. ; Production Value: Off
    ( V. V' ]/ x8 {7 i7 y# M5 E
  636. ; http://php.net/register-argc-argv# D6 h1 q8 F! _( F* a6 c
  637. register_argc_argv = Off
    # _" P0 c# w3 b% N  U8 J! T1 z

  638. , t8 \3 q- f% Z- O8 }( p
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're2 b1 W$ h: E2 V6 u8 t
  640. ; first used (Just In Time) instead of when the script starts. If these
    9 c' ^, U/ X3 @3 \
  641. ; variables are not used within a script, having this directive on will result
    - V) A* S1 W! v" @. W' O' ]: {
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled# q& f) s2 [" ^# Z* k- J
  643. ; for this directive to have any affect.- c- v  _; k% _+ x9 P* y
  644. ; http://php.net/auto-globals-jit
    , B- `9 e) m7 g
  645. auto_globals_jit = On  `1 }# G% }: S: m: h2 p) ~% G% M

  646. # Q2 G2 V+ l" c6 j2 l6 Z# D
  647. ; Whether PHP will read the POST data.. h- r8 O+ d2 Y
  648. ; This option is enabled by default.
      m! f4 k& l8 v4 B
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST! J' }* Q1 y/ e
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ) y3 M/ k1 |4 b0 }
  651. ; POST data will be through the php://input stream wrapper. This can be useful) ?0 b  ~/ A; k4 w9 M7 C
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.) V* D) x3 n. {' N$ F
  653. ; http://php.net/enable-post-data-reading' V. M# f- j3 P
  654. ;enable_post_data_reading = Off
    ( e$ P7 E* s: S9 w, T# a
  655. 4 _1 c0 K' t" ~. i4 T. k' Z1 y& z
  656. ; Maximum size of POST data that PHP will accept.4 P/ u: f( N" X/ {& p3 M9 F
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading- Y/ T* e) M3 J* |. z' k/ j* f
  658. ; is disabled through enable_post_data_reading.$ r% W1 q. G2 _
  659. ; http://php.net/post-max-size- r: @+ u; t5 f5 ~: T, k: E
  660. post_max_size = 50M% y% O+ V. f6 _/ B: k4 y, v  R

  661. 4 U0 _9 h  L3 C/ |2 M) K
  662. ; Automatically add files before PHP document.
    / u( V; b& L2 K( ]: `
  663. ; http://php.net/auto-prepend-file
    8 y* b7 e6 s8 M
  664. auto_prepend_file =5 }; E4 T( v4 i2 k, ?. z

  665. 6 h- h6 x5 O7 n
  666. ; Automatically add files after PHP document.
    9 N: f9 A/ R# H
  667. ; http://php.net/auto-append-file  c3 m0 x! @4 E  T% D3 G
  668. auto_append_file =. p8 o5 ^- u% h9 Q1 g' g

  669. ) n( @  a9 V8 G7 W4 L; Y1 O
  670. ; By default, PHP will output a media type using the Content-Type header. To
    7 R% Q+ C$ h8 G+ l' b' C* J
  671. ; disable this, simply set it to be empty.: D/ E3 I8 n3 ?
  672. ;
    # z! r4 q& i/ W+ b
  673. ; PHP's built-in default media type is set to text/html.
    8 j5 a6 o% n* {3 l
  674. ; http://php.net/default-mimetype
    ! J$ f; s$ `* }1 O) n8 h
  675. default_mimetype = "text/html"! C5 X3 k& h' p" \2 }: ?2 O7 H" Q
  676. / i6 I5 \& t/ m5 L
  677. ; PHP's default character set is set to UTF-8.
    / ~8 P8 _, @1 `1 O
  678. ; http://php.net/default-charset" N; F& F1 r" a' M4 ]' w% p) F
  679. default_charset = "UTF-8"- e3 ]# V  p( W" O3 r

  680. ) B+ n; M: [. R& G, t0 i4 i
  681. ; PHP internal character encoding is set to empty.
    2 v' e7 `2 k6 Q/ [3 k
  682. ; If empty, default_charset is used.
    # o9 U8 M# m8 b
  683. ; http://php.net/internal-encoding, [5 T; d6 w0 k) E
  684. ;internal_encoding =2 W1 Z7 X% ~% B) ]1 t: x

  685. " Y% W; ]6 V) j$ I+ N5 m
  686. ; PHP input character encoding is set to empty.
    ( U' P( N& j1 c+ D# j+ I4 t, E
  687. ; If empty, default_charset is used.# G7 A1 `1 `1 ]% N
  688. ; http://php.net/input-encoding
    ' T# P" }4 b- x) }1 E& g  t
  689. ;input_encoding =1 _+ b+ o( ^8 k4 r  ~6 b3 q

  690. ) O; P7 [& ?- \! z3 W
  691. ; PHP output character encoding is set to empty.
    - K  N* m3 X" L
  692. ; If empty, default_charset is used.
    # W+ X" u( \9 z% Z1 K: y
  693. ; See also output_buffer.
    ) P2 m, k4 ~8 P0 j
  694. ; http://php.net/output-encoding' s' Y/ M+ G2 B( t4 Y6 h
  695. ;output_encoding =3 ?0 O2 O0 L) a' u5 r9 I" q

  696. 8 g6 k6 n! j: Y7 _
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    / z4 N/ b( v9 k6 }  O
  698. ; to disable this feature and it will be removed in a future version.% w7 \4 ^/ c  l- Q% F# j/ u
  699. ; If post reading is disabled through enable_post_data_reading,# n- a$ P. p6 c5 [% N
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    - m/ z  A; f) l% @3 K+ Z. }
  701. ; http://php.net/always-populate-raw-post-data& t) z) Z# v5 V! i9 N( J) L! u
  702. ;always_populate_raw_post_data = -1: Q! V& A8 ]: t3 b0 z1 t/ H/ ?

  703. 3 V8 _# ]/ f/ _7 ~1 I
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;( G5 G3 G3 I3 O& K' q7 o, `
  705. ; Paths and Directories ;( p( w% [3 T1 U( \* K+ O, e& c
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ( r. g( T- ~2 I* a- ~

  707. ; G; B3 m& V% i, {% M
  708. ; UNIX: "/path1:/path2"
    * E3 E5 ~4 l6 u! {1 ]9 x& @; h1 m
  709. ;include_path = ".:/php/includes"$ O6 l. c3 [% p9 U, j; q5 c
  710. ;8 p0 ?% O& q2 ]6 \
  711. ; Windows: "\path1;\path2"0 Q! |7 `6 ^) m0 ^: F6 j4 ?! O1 R$ H
  712. ;include_path = ".;c:\php\includes"( v# J) w8 B- Q* B, {) l
  713. ;
    + Q4 f) k$ y* P. q+ S  ~1 K
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    / x4 u! _/ w1 h& g) @) Q
  715. ; http://php.net/include-path
    / J" n) L7 e3 U" f1 S4 P$ a6 n7 D
  716. 2 S6 g: b/ s4 `  ?0 u
  717. ; The root of the PHP pages, used only if nonempty.: A5 I. R4 h3 \" h) L+ s5 Q$ U, Y
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    # E1 \) i+ X2 t& Z6 ^! \
  719. ; if you are running php as a CGI under any web server (other than IIS)- b9 a6 A' v8 \; [( A
  720. ; see documentation for security issues.  The alternate is to use the% m, H7 ^% q* |. D5 a
  721. ; cgi.force_redirect configuration below0 `7 T0 F4 y. q' P$ ~1 f; i
  722. ; http://php.net/doc-root
    2 U1 [) {6 `: T) g8 ^! |8 e
  723. doc_root =" H5 |- ^! i4 S: h3 G% l) Y

  724. ; D% D9 l1 X( p/ ^9 N$ {+ w
  725. ; The directory under which PHP opens the script using /~username used only- p7 V0 e( Z5 t# T
  726. ; if nonempty.
    5 j, Y6 i! w7 e
  727. ; http://php.net/user-dir' S" Z; ]3 {0 g& e4 m
  728. user_dir =/ T$ j' T: k. d. O+ n
  729. * a" z2 M" d# h( p: _
  730. ; Directory in which the loadable extensions (modules) reside.
    ' Y: a$ Z* R1 S1 R7 r
  731. ; http://php.net/extension-dir
    ( s4 V" d% Z% V, n
  732. ; extension_dir = "./"6 C8 Y! E8 d9 d! K2 V
  733. ; On windows:. {6 {2 T- v' l9 q( c1 C; M
  734. ; extension_dir = "ext"
    8 i9 F; j8 R. O/ _5 `
  735. + z% |" V$ k& N. P
  736. ; Directory where the temporary files should be placed.
    ' q0 L# t$ }; ~% Y, q/ _2 x
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ' z" D9 c' V& E3 B7 w
  738. ; sys_temp_dir = "/tmp"
    % U. E' ^. Q! ~) o' @' i

  739. 9 }3 d3 Z1 c; ^/ r- l/ F
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
      J# s+ R* G! F, h) A; P
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically. y3 E* \, [% I" O6 I3 K' E9 v
  742. ; disabled on them.' E, v7 Q$ e3 v# \. T
  743. ; http://php.net/enable-dl0 w( T: j4 r$ j$ G2 b2 m9 T; b
  744. enable_dl = Off7 ^9 A% F, C. [4 ~0 E3 V- k( }( M
  745. 2 ~" x& {* r7 j9 z
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under5 u  ^$ ?  w1 H1 ~3 n* v- }5 I0 J
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    $ A. q7 T; D/ e7 I
  748. ; turn it off here AT YOUR OWN RISK+ W8 _) ]! S' b
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**5 d+ w# T5 A5 K6 N1 m
  750. ; http://php.net/cgi.force-redirect
    1 g+ F+ F/ T" R! v$ h- O
  751. ;cgi.force_redirect = 1' ]" W3 L8 M! r$ z1 b6 O' [
  752. 8 y" H) B5 T: G
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    1 W! ~, b1 |! G: Z
  754. ; every request. PHP's default behavior is to disable this feature.9 R3 ^8 K/ z* N( H$ i
  755. ;cgi.nph = 1- l& Q1 R& ^& \! _( [

  756. ' E! G$ E! X7 X
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    0 N$ L0 h4 m8 Z+ J. E
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    : g& h3 p  L& m5 P
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY0 C3 s  Z! E/ v- X8 K
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ! H+ F& g, M+ v* s" k7 u
  761. ; http://php.net/cgi.redirect-status-env: ?. h$ ^) b+ j- y7 J8 @# t
  762. ;cgi.redirect_status_env =5 i9 q: _, D0 n: q  d/ X
  763. 6 {! p4 b4 Q) ]$ `8 ~& I2 _  b
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    % k' d: A% J3 L4 B* g0 I) x
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok4 y  C6 J% h* P# z# L
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    . q+ r1 i( S3 I5 i0 S
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    / ]8 G$ n+ Y- a: r6 M4 y4 g
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ' q6 K* _1 k  u5 B% V/ \
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ) ?7 K, @% P2 r: S/ w9 Z
  770. ; http://php.net/cgi.fix-pathinfo
    ) P* t3 u: `( p
  771. cgi.fix_pathinfo=1
    ; N5 i. g% q1 m. o+ B8 j+ i

  772. 6 c' g% y" f" b9 ]7 T
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ; D0 {/ q5 g; l/ y6 P' c# A
  774. ; of the web tree and people will not be able to circumvent .htaccess security.9 v2 u4 H! x- z4 j. b) d# `+ N
  775. ; http://php.net/cgi.dicard-path
    " b" |7 k1 s) a, ]0 g* N1 B
  776. ;cgi.discard_path=1
    3 o3 k2 w) i' \# P' G) Y
  777. + }9 u) ~* w: v) ~
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate) ?2 I: e4 a( X3 v, s  M8 r6 I: J: [
  779. ; security tokens of the calling client.  This allows IIS to define the
    % t1 o! [  |) N9 a$ K5 u
  780. ; security context that the request runs under.  mod_fastcgi under Apache- V8 N% b$ k6 i; ?% h9 R+ N) x6 Y
  781. ; does not currently support this feature (03/17/2002)7 \$ _/ C- \- s4 X9 e+ h5 f
  782. ; Set to 1 if running under IIS.  Default is zero.
    # T/ W& e  c/ R1 c- j
  783. ; http://php.net/fastcgi.impersonate* ^! ]9 n; M1 Z2 b8 R
  784. ;fastcgi.impersonate = 1
    # A: t* L9 r7 c

  785. ; h' \; N! B9 a
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable  |  V. Y1 ~2 v8 \2 u5 q, H
  787. ; this feature.
    & R! `! L5 k# e+ E2 V6 v# m
  788. ;fastcgi.logging = 0
    ) ]; U/ s( S( f& p$ f

  789. 2 ]8 V& i* B8 b4 ~
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to* ^4 V3 x( S9 J" t* p' ?
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    % D& }, Q9 v# j: Q9 c# j& N
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    1 P$ D- b% K+ Y5 M
  793. ; RFC2616 compliant header.* `2 T- @2 u6 b
  794. ; Default is zero.
    1 m* p2 N! G& R1 u
  795. ; http://php.net/cgi.rfc2616-headers+ f9 T1 {2 X/ e, ~
  796. ;cgi.rfc2616_headers = 0
    ' J" H. `. e  ]4 ], o% I
  797. 0 B- [3 J7 g/ z8 N; l4 p- |
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!' x7 b# @( {+ o. U  X
  799. ; (shebang) at the top of the running script. This line might be needed if the# B0 {  a. \' e. j( y5 j9 w9 z6 i
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    2 N. q) u8 x: @5 P
  801. ; mode skips this line and ignores its content if this directive is turned on.
    $ y' z/ r" H4 ?* F1 D. r5 j
  802. ; http://php.net/cgi.check-shebang-line3 m+ f1 q6 ~0 \0 v; C# g5 D
  803. ;cgi.check_shebang_line=1) x, N3 C) @% v7 d' J$ C( F

  804. / m8 X% M/ h, Y3 M
  805. ;;;;;;;;;;;;;;;;- X: P- \" M; }% `" u
  806. ; File Uploads ;( p. i( t; ^  Y" c' Y
  807. ;;;;;;;;;;;;;;;;% j& L* r! k( W! E! i

  808. 8 s4 x- X; i& |& H
  809. ; Whether to allow HTTP file uploads.* I) [0 E% n2 s9 x$ E
  810. ; http://php.net/file-uploads% x) o; N: F8 U! ?3 T
  811. file_uploads = On+ G/ O$ s; K9 E' `' w3 e$ n

  812. 1 X; ~7 I% H  t7 v* H
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ' P# b0 S8 c) `9 J. D. c1 }
  814. ; specified).
    - S) K! B# C2 W
  815. ; http://php.net/upload-tmp-dir* Z& V, g2 k( {. x) z8 T
  816. ;upload_tmp_dir =
    0 J: o4 _3 c5 M+ I
  817. 9 c5 ^) i1 i: |8 K' z* W) N
  818. ; Maximum allowed size for uploaded files.
    6 a( L+ U8 `8 k$ `! d0 ~; t$ E
  819. ; http://php.net/upload-max-filesize
    1 |/ h8 I* H, I( \9 x
  820. upload_max_filesize = 50M
    9 ?2 ^9 N: N$ |0 ~

  821. ' e* b5 p" j* ?" n) q! W! B! G$ s' ~
  822. ; Maximum number of files that can be uploaded via a single request
    ) f: s+ f2 v( V; `5 r5 {$ g/ H
  823. max_file_uploads = 20' H$ G- q' g' t0 ?
  824. 5 d! I- Z4 v8 O
  825. ;;;;;;;;;;;;;;;;;;) |/ t; L+ X- a  }
  826. ; Fopen wrappers ;
    , `$ _# b$ A* [1 m. p# N: E9 H
  827. ;;;;;;;;;;;;;;;;;;. V$ }1 L/ {0 u# l

  828. 3 \( \9 p+ n3 v1 a4 C
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.$ y  X- ], H: f, s( ~
  830. ; http://php.net/allow-url-fopen
    & x/ D; f* ]9 {9 I$ d# E
  831. allow_url_fopen = On% i8 [$ h9 u3 [0 Q( Z, K/ i

  832. 1 n$ E% K, T' M! D% l$ j* D! q
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    . _/ q9 B& D( p  [" |. e! \8 p
  834. ; http://php.net/allow-url-include
    ! f" u2 [7 |" B8 y6 T) N/ ^( ^5 t
  835. allow_url_include = Off+ w6 X7 m# D  y/ r
  836. 7 i' X  D  t' M9 m% H2 S
  837. ; Define the anonymous ftp password (your email address). PHP's default setting5 C% g( p( i  b/ |6 t
  838. ; for this is empty.( U2 `. _  Z5 I8 L
  839. ; http://php.net/from2 D# |7 @( A) O- k# B
  840. ;from="john@doe.com"
    / C3 P9 A. z0 t' t0 S. R: q

  841. ! }( Y: k( a, s/ Q0 c
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    " D* H1 a; \; G2 Z: F
  843. ; http://php.net/user-agent6 b7 v$ _5 j9 Y; w, c
  844. ;user_agent="PHP"& v/ E: u1 ]8 I5 i5 t

  845. # }! J7 V1 `$ n3 S$ f
  846. ; Default timeout for socket based streams (seconds)
    * R4 H5 ]6 j3 Y0 {. }
  847. ; http://php.net/default-socket-timeout
    5 K/ C. }" {/ m
  848. default_socket_timeout = 60
    , v3 j- x9 x: Y. d; s3 ~6 }% W5 S

  849. 8 Y3 @1 d$ C+ q- _# ^3 e" }* I
  850. ; If your scripts have to deal with files from Macintosh systems,
    % ]" G* o5 J6 S3 [6 b
  851. ; or you are running on a Mac and need to deal with files from
    ' U8 {2 H2 f" d' [( Y; u
  852. ; unix or win32 systems, setting this flag will cause PHP to: |$ |4 p2 M# N5 ]
  853. ; automatically detect the EOL character in those files so that
    ' e  C* ]$ I, i1 E- x% g3 n- k
  854. ; fgets() and file() will work regardless of the source of the file." R; O1 I5 u& H- f/ w4 {, L  s
  855. ; http://php.net/auto-detect-line-endings
      c0 A" {$ \' s0 K  f% l
  856. ;auto_detect_line_endings = Off
    + F: N$ c( ?0 K3 C5 k

  857. 7 a1 `, M3 \' M+ T* N; M* T
  858. ;;;;;;;;;;;;;;;;;;;;;;
    * W: A, c& u( n9 p( z4 V4 C' c
  859. ; Dynamic Extensions ;$ h# ?0 p. W' @, D. i/ a! @2 \8 w5 U
  860. ;;;;;;;;;;;;;;;;;;;;;;" o1 r3 u  |6 J# Y2 _  k

  861. % T4 V9 L; U+ ]+ u, U. |" c
  862. ; If you wish to have an extension loaded automatically, use the following* ~& X5 ^3 p5 i% x4 b7 L& F
  863. ; syntax:9 _* Y8 w- a( f3 p- O" B3 E
  864. ;
    ; T( q5 z* G- v( `/ J4 l9 N  q" l! x
  865. ;   extension=modulename.extension8 G& J0 g5 S7 I. K- l/ Y
  866. ;0 P2 s! D$ O% g; _/ T0 @- y- W3 E
  867. ; For example, on Windows:  k7 R9 X  D& p9 h" E! S/ h' n
  868. ;) ~! h# {# O$ f7 M4 K
  869. ;   extension=msql.dll
    5 `8 j7 S) V6 U" T" k5 P& X+ h
  870. ;
    3 i/ ~# f4 _* ~1 a$ a3 P) j* k
  871. ; ... or under UNIX:; A& n/ H6 W( G( _
  872. ;
    $ f1 K4 ~& g1 W' w% _5 d
  873. ;   extension=msql.so) r6 b0 L4 Q& u' q: x
  874. ;- L4 o( h7 g4 I8 p1 b5 ~' |2 |
  875. ; ... or with a path:: Q4 G7 C# D3 _, S7 {* a' J* ^
  876. ;/ p6 L' [0 |# d
  877. ;   extension=/path/to/extension/msql.so
    , {5 M$ A1 y5 }6 x
  878. ;
    5 ~, H9 h: I6 b4 r6 P5 o$ {) Z7 l
  879. ; If you only provide the name of the extension, PHP will look for it in its
    2 [* p1 z2 G( p+ `
  880. ; default extension directory.
    # _" o( V1 Y8 w9 V0 e9 D
  881. ;
    # z$ y7 e' G# }, S3 s
  882. ; Windows Extensions
    . _7 o' R: @3 i! J
  883. ; Note that ODBC support is built in, so no dll is needed for it.3 [  U  M% ?% x+ i
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5). |% E! K2 P/ D/ U7 W7 o+ k0 J
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).% ]+ N# S6 g+ [) n# r. e/ t7 S
  886. ; Be sure to appropriately set the extension_dir directive.
    ( B& |$ v7 y5 L7 v1 D' P
  887. ;
    $ c; f4 k  P8 a9 c" [6 X! t
  888. ;extension=php_bz2.dll
    + B  N- E8 x' E# U* \5 ?
  889. ;extension=php_curl.dll
    2 X$ e* }+ _1 Y/ J' B( p8 l1 j
  890. ;extension=php_fileinfo.dll6 u  r6 b" Z  n2 N; l0 T
  891. ;extension=php_gd2.dll
    6 \; q! ~6 u  w" ~
  892. ;extension=php_gettext.dll! |" ~3 i, S$ R# {0 |
  893. ;extension=php_gmp.dll2 m' U4 Q4 S0 ?4 o7 E4 z7 w) l
  894. ;extension=php_intl.dll9 S# a  {$ m0 q1 x4 S
  895. ;extension=php_imap.dll, ]  C  H5 ^8 L
  896. ;extension=php_interbase.dll9 c/ ~# k6 D& w$ q7 U- y: N
  897. ;extension=php_ldap.dll
    " m5 P" g  o$ y+ _1 Z( U+ x
  898. ;extension=php_mbstring.dll
    0 H- y8 v" y% t. J  T
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    / V6 G( o3 ~) v" T0 }5 u
  900. ;extension=php_mysql.dll
    ' a% d# g: b6 q! ?
  901. ;extension=php_mysqli.dll
    / x2 x3 o% B6 q- Q- v
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    # h+ {8 r* F8 m3 E3 z- d. o
  903. ;extension=php_openssl.dll( c  a9 u: _% h9 j! P( u3 c+ s
  904. ;extension=php_pdo_firebird.dll0 k5 P; c5 M) w1 |, R# Z
  905. ;extension=php_pdo_mysql.dll$ }3 m$ i$ E4 Z! C
  906. ;extension=php_pdo_oci.dll# D) _# j' \& _1 t' `; {7 L
  907. ;extension=php_pdo_odbc.dll
    4 p) P& O/ b- \3 x% Y: W
  908. ;extension=php_pdo_pgsql.dll
    ( a0 r, O: s- P: S- y! G4 B; s0 P
  909. ;extension=php_pdo_sqlite.dll
    * C: a# Z- |5 p5 c
  910. ;extension=php_pgsql.dll& l9 f1 z- Y) v/ Y0 W7 M% C
  911. ;extension=php_shmop.dll
    ' x" p# y5 \  u! I

  912. " ^( C. e# ?6 s4 H
  913. ; The MIBS data available in the PHP distribution must be installed. 3 [4 ~* u, x( |- Z, W* Y7 u  V+ p
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    , A2 f0 Q1 e0 `. U
  915. ;extension=php_snmp.dll' O- m* c& V: C$ |# p
  916. ( T5 r" V- q/ q8 u# S( ~. k3 Z. z# W
  917. ;extension=php_soap.dll3 `0 G9 a- j* H1 ^
  918. ;extension=php_sockets.dll7 k& R$ q  k) \/ ]
  919. ;extension=php_sqlite3.dll
    ; U$ ]: Q: M* v! h4 o
  920. ;extension=php_sybase_ct.dll
    * i6 Z, Q! M3 l* p* b( J
  921. ;extension=php_tidy.dll
    : ~- l$ F1 u$ L& i4 @
  922. ;extension=php_xmlrpc.dll, a( E6 [2 q! M! g
  923. ;extension=php_xsl.dll
    $ _+ Z6 h" ^. r9 R

  924. 4 {0 `' ]' Y; J, S
  925. ;;;;;;;;;;;;;;;;;;;' D/ i: W+ l$ H: s6 T
  926. ; Module Settings ;
    ' S/ l8 W7 J0 G& w* z
  927. ;;;;;;;;;;;;;;;;;;;
    # N, ]3 D+ S0 W4 m% s/ ~  R

  928. - I( G# G- z: a7 n; D+ @
  929. [CLI Server]
    ! ]  e* `0 t. M. T& C8 B: X9 G, e! V
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.% h2 A- w! F/ V, A" d
  931. cli_server.color = On4 l& C9 G0 D. y3 R. H8 I
  932. % m$ p0 u$ s5 z- i3 [8 r  I
  933. [Date]
    6 I5 {4 K; n$ o, k1 U; W0 }1 s
  934. ; Defines the default timezone used by the date functions
    $ F+ F0 x+ Z! T( f/ b: z
  935. ; http://php.net/date.timezone& Z* `; M4 F: A3 V; b6 }4 w9 \4 ^
  936. date.timezone = PRC
    3 B; c- ?6 p; J& C, K: r9 R

  937. + d5 c/ N( \3 m# f( W
  938. ; http://php.net/date.default-latitude; V' j$ c( G5 E" \  z8 |9 T/ _
  939. ;date.default_latitude = 31.7667
    4 ]: l' a8 h" v/ u# R9 D- L5 r! h1 R

  940. ) j# b$ }0 O6 q6 F+ z9 J$ T4 T
  941. ; http://php.net/date.default-longitude. m, N& l! d  Y" s& n) V
  942. ;date.default_longitude = 35.23336 y7 X5 ]: b. ?  W
  943. " |' L6 b6 D. H2 ~) c7 p: x6 @7 ^0 c
  944. ; http://php.net/date.sunrise-zenith
    : \: S7 y) V/ O  b. {2 [
  945. ;date.sunrise_zenith = 90.583333
    % u2 B1 f4 q' Q& |/ T2 }* Y& s$ v

  946. 3 S+ z8 S* b2 A  c
  947. ; http://php.net/date.sunset-zenith
    $ [+ u% [; B* z6 x
  948. ;date.sunset_zenith = 90.583333
    : Q; ^+ O& N! I2 _& ^; P

  949. . m! R2 b1 t/ \
  950. [filter]
    2 f+ S6 O: [1 n
  951. ; http://php.net/filter.default
    & k- y& p# m* `7 w4 o
  952. ;filter.default = unsafe_raw
    ( V( |' {) u, Q* h9 [9 H6 B2 _, `8 e
  953. " b  I5 ^- ^2 b) u4 g: m
  954. ; http://php.net/filter.default-flags
    ' s) n2 Y) J/ D+ `8 i$ K1 J
  955. ;filter.default_flags =
    9 [: n- x$ \9 u2 e
  956. ' z3 V# X) C$ ~& R8 S
  957. [iconv]
    ! @/ U' O2 |7 J! i4 x- h
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    3 M" ]% M# j3 H& v2 l4 t+ J
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    0 j* B$ \. q' j; C: O6 n8 W
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ) ]- T; ~. d) D8 p; H8 m
  961. ;iconv.input_encoding =; e& N# L( a1 v$ f1 Y
  962. / s" W. U6 S7 T. \
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.& e" F3 F8 b* U8 _  i5 P
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ( I: t' ]" R! ?0 a9 ]" {
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding# s( \) m3 [! K3 x7 @
  966. ;iconv.internal_encoding =
    - n- D) P6 G% L1 ^. Z% V: d
  967. & F# _. z) N/ K) p( [
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 K7 l, [  s# N6 W7 U% O
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used." a) ]7 D5 K  E! U* E2 X
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding) I: d2 c- v+ g& ?# R8 ?
  971. ; To use an output encoding conversion, iconv's output handler must be set# p, U' ?: i5 o
  972. ; otherwise output encoding conversion cannot be performed.. ?# i% i2 `* Y4 t/ O: T$ m& [
  973. ;iconv.output_encoding =- a2 F) h8 a; k0 q6 U- g# p7 ^
  974. 6 e$ z2 }( I9 E: t: b
  975. [intl]
    5 Q, k$ q6 O# T; |: W( b; I# x
  976. ;intl.default_locale =# |: B& e( c& p6 W6 H+ U
  977. ; This directive allows you to produce PHP errors when some error+ Y2 U2 H8 X  G" }6 W/ W
  978. ; happens within intl functions. The value is the level of the error produced.
    4 f: P$ y- z, ], O5 b2 c6 F
  979. ; Default is 0, which does not produce any errors.
    4 g2 B1 P1 e/ Y, |0 I, \
  980. ;intl.error_level = E_WARNING
    ' m* C2 i/ A$ M! N& F; S3 ~6 V
  981. ;intl.use_exceptions = 0
    4 P  ^* W1 r, [2 n% i: c* m9 N

  982. ! G. C4 c$ y3 V6 }& M* Z; i. J4 w
  983. [sqlite3]
    $ l# V8 v0 [# P
  984. ;sqlite3.extension_dir =: k2 c5 `" g  y2 @9 s& U: b, x4 L
  985. + u8 F2 M7 K  S2 M% \* y. K( ]
  986. [Pcre]- b  F3 l) ~" ^! H& [
  987. ;PCRE library backtracking limit.6 }- d8 i2 C) G
  988. ; http://php.net/pcre.backtrack-limit
    ; ^1 h2 G& Y% h3 u1 K6 l+ V
  989. ;pcre.backtrack_limit=1000005 t% x. w: R7 i: S
  990. $ k* T. K' y7 t8 l
  991. ;PCRE library recursion limit.
    3 s/ ^: a  i( {# v
  992. ;Please note that if you set this value to a high number you may consume all
      x$ Y. z: |. _0 h  `
  993. ;the available process stack and eventually crash PHP (due to reaching the
    7 E, O4 L( Q) d/ J
  994. ;stack size limit imposed by the Operating System).
    3 G# k+ g1 u" [+ _7 |' a
  995. ; http://php.net/pcre.recursion-limit  P* [+ j2 p3 a7 @( ^! A. T
  996. ;pcre.recursion_limit=100000" I- J  S/ {; Y
  997. % D0 j* _) P1 G
  998. [Pdo]
    , F2 h1 a3 a+ w5 u3 W& q
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off". ?/ i" g2 K. r* O, ?( G3 o1 t
  1000. ; http://php.net/pdo-odbc.connection-pooling$ y' m* g( A+ P& G7 s: ~
  1001. ;pdo_odbc.connection_pooling=strict
    2 v' E9 F2 L- b" i0 F) N

  1002. % b' x9 G; D  y
  1003. ;pdo_odbc.db2_instance_name
    . }6 V7 U, z- V: ^9 h  q7 S, d
  1004. . }6 F6 F0 W8 K/ N
  1005. [Pdo_mysql]) p8 S# P6 G) |6 r* K
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - \) t, X3 T* P0 k0 ?
  1007. ; http://php.net/pdo_mysql.cache_size5 k9 X, Q8 h, ?" Y
  1008. pdo_mysql.cache_size = 20003 ~! [8 ~! l* C& Y+ I4 y
  1009. 4 ?: D/ a/ Z% m$ u* x# K, N
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 f0 Z$ b# s+ {7 C
  1011. ; MySQL defaults.
    . x8 o6 t8 X6 d
  1012. ; http://php.net/pdo_mysql.default-socket' o2 S3 O2 {1 H7 R/ W
  1013. pdo_mysql.default_socket=/ f* p! U8 d% D) k( E" V
  1014. # a5 k5 w: I% t$ `8 s
  1015. [Phar]
    ! S( W  Q% S) M( X: D+ c1 Q4 ?; E
  1016. ; http://php.net/phar.readonly) a) \: o; j0 _4 d3 a3 s
  1017. ;phar.readonly = On
    7 M8 Q8 I) l1 V) ^, ~2 E
  1018. 9 o% X# e. \/ Z! u9 ^" l/ I& p  m
  1019. ; http://php.net/phar.require-hash) O3 K: {1 d$ h% S
  1020. ;phar.require_hash = On+ t& y0 [; l) A2 K; V

  1021. : b5 p) }, _! o8 s7 l' c
  1022. ;phar.cache_list =
    7 m. Y8 [! W, v5 }( p

  1023. ! ~: }1 r4 {- K) p$ p; ?
  1024. [mail function]
    1 j0 Y2 L. T2 i& g8 N- S( l8 `2 V
  1025. ; For Win32 only.
    ( Z) Y4 X4 j" W* T! }, P
  1026. ; http://php.net/smtp/ b" k0 n7 _: @9 A! S
  1027. SMTP = localhost, z2 x' S6 U5 C& n' S" x0 }
  1028. ; http://php.net/smtp-port
    + m' w$ E( m. `7 F, I9 ~* L
  1029. smtp_port = 25, X. k2 O, H/ @- I

  1030. 7 O# C* n/ I6 u  e
  1031. ; For Win32 only.7 n4 U% L+ }3 J' R. n2 u8 y. t
  1032. ; http://php.net/sendmail-from
    8 q( o( s; G$ y6 V0 z4 v
  1033. ;sendmail_from = me@example.com
    : O% [$ _: b7 A0 ~( j) |* ~

  1034. $ [0 q$ K4 Q% j6 x. v: ?! |4 @
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i")." E7 @6 h& P2 J) P) ?0 {- @
  1036. ; http://php.net/sendmail-path
    ; a7 [0 L" N+ j+ u1 E2 ]) O) H
  1037. sendmail_path = /usr/sbin/sendmail -t -i* f8 t0 W- U$ j  i& Q& ]$ M8 q

  1038. 6 Y6 c( y6 P6 t6 C$ M
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    / c" v* D' i, r
  1040. ; to the sendmail binary. These parameters will always replace the value of
    % T. v) X* O+ ?, }$ I& |: H, n; g
  1041. ; the 5th parameter to mail().
    $ k. J' O- F; h0 ~  d% y
  1042. ;mail.force_extra_parameters =/ G! u) h2 U6 N; O; i  M

  1043. % B- n5 D' S/ u8 ]2 R
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename& J# I; o' p; @, i+ F/ n
  1045. mail.add_x_header = On
    " k9 m6 n2 }8 y% Z( j5 @
  1046. 3 E5 B: H, ~8 r( m8 H
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    8 ?  z) q% i9 Z' |3 H# m
  1048. ; the full path of the script, line number, To address and headers.
    6 u7 n7 U8 G. t; v6 d
  1049. ;mail.log =( y- R/ r0 e2 [% ?2 w( f; |' ~: j
  1050. ; Log mail to syslog (Event Log on Windows).
      B$ d* Y% ^3 g3 T' _2 x; ?
  1051. ;mail.log = syslog
    4 r9 m- D6 V+ ~, C
  1052. - X! J3 r- m5 n% Z) N0 O8 \
  1053. [SQL]9 K# j- e, k! B* A& B$ ~+ l
  1054. ; http://php.net/sql.safe-mode& Q$ k0 }( h( b! a( d0 B- N; S
  1055. sql.safe_mode = Off
    # G& i6 f$ P( r8 q3 {3 j7 A

  1056. * A* v" ]' p+ W
  1057. [ODBC]
    % \  m( B2 M9 @/ h& E
  1058. ; http://php.net/odbc.default-db
    ( @8 S* z/ u3 H: w
  1059. ;odbc.default_db    =  Not yet implemented
    $ m4 K) k4 \1 o0 g& J

  1060. 5 t* y. y& I# `2 F
  1061. ; http://php.net/odbc.default-user  {% g/ @1 B! t
  1062. ;odbc.default_user  =  Not yet implemented
    0 ~3 E2 E- t7 |% L% A: W
  1063. + S2 S- f  \% W, o3 D( B
  1064. ; http://php.net/odbc.default-pw2 ]1 H% D5 q2 b' A
  1065. ;odbc.default_pw    =  Not yet implemented% g; f) t, b6 D: B9 N/ C

  1066. " m/ ^1 {3 H* W  |* t  U
  1067. ; Controls the ODBC cursor model.
    & L6 Y' s; v9 Q* m" s( \+ C
  1068. ; Default: SQL_CURSOR_STATIC (default).& s5 G) N3 u! d( F& A
  1069. ;odbc.default_cursortype
    5 N6 }# e" r4 `& H

  1070. 0 _5 I. c8 y' G0 [/ K; @- ^0 l
  1071. ; Allow or prevent persistent links.. }7 e, G- v* j/ {. j5 D
  1072. ; http://php.net/odbc.allow-persistent
    ( G1 C3 Y# q) k% R5 S
  1073. odbc.allow_persistent = On2 o+ {1 _3 s: f3 m7 r$ U
  1074. 5 g6 L& u6 ~6 E
  1075. ; Check that a connection is still valid before reuse.
    0 g* A5 l; s* ?- z0 |) d/ I
  1076. ; http://php.net/odbc.check-persistent
    # G8 T3 B9 b% Q; i# s4 d2 n
  1077. odbc.check_persistent = On, y0 ]/ R: O: F0 W" d3 `
  1078. # Q, n7 a: e. [/ }1 t( Y
  1079. ; Maximum number of persistent links.  -1 means no limit., L$ x. ]8 N6 E4 x, G& k- W
  1080. ; http://php.net/odbc.max-persistent
    ' C4 w2 ~, b, A7 N% B2 _9 N
  1081. odbc.max_persistent = -1
    ) g/ C* V! {5 k/ ?( L- L; w5 S
  1082. 0 K0 t7 b; L- F5 o8 H
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." M! [9 Z0 L' S" E
  1084. ; http://php.net/odbc.max-links. V2 H- \1 a4 c: `- h, F5 ?
  1085. odbc.max_links = -11 x" k5 q- B) q0 N3 l" B
  1086. ! m, M7 P5 S; b7 X( j% t( W% y
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means$ A: Q) }+ |# H' n
  1088. ; passthru.8 F& H$ \* a- z& X" ^
  1089. ; http://php.net/odbc.defaultlrl5 f/ c8 t& J, M+ |& y. M
  1090. odbc.defaultlrl = 4096
    # N) h. ~6 f& d/ D. c

  1091. ; ]9 D/ ^# b& {  ]3 p8 H- h$ A4 g
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ; w: a- e/ M, U5 ]
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    * N6 u. Z* G9 \: a1 p9 l
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode% t3 L0 z" o& T/ f
  1095. ; http://php.net/odbc.defaultbinmode6 [1 R: D8 u. {! T& ^& q
  1096. odbc.defaultbinmode = 1$ m( d6 L, b7 @) T: x/ g

  1097. $ k  x& I/ Q& p" Q5 I/ N
  1098. ;birdstep.max_links = -1
    . B( \# C9 g. [! G/ \. ~4 n' l
  1099. , b) t; N  q3 F$ u- m! o- ?& H
  1100. [Interbase]
    . p$ G0 I( H2 o7 v+ r" h5 i
  1101. ; Allow or prevent persistent links.& Q5 `; _) ^  i3 L+ X1 x
  1102. ibase.allow_persistent = 1- D; _- k& Z; M$ w
  1103. & O# Z1 _* S  B
  1104. ; Maximum number of persistent links.  -1 means no limit.
    : \7 A- v  s2 t5 }
  1105. ibase.max_persistent = -15 \4 A4 h- m. z" I0 Z
  1106. ' n" F9 T( C$ d8 t* U' E1 }
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 H* {9 x! s4 o/ |# [# M* k3 c
  1108. ibase.max_links = -1. S) Q5 b% o  h- ?( @  d6 D

  1109. * z( ^  V1 E& m
  1110. ; Default database name for ibase_connect().
    , N( G1 M7 y9 p( }2 a' G
  1111. ;ibase.default_db =
    * l' p% b3 [7 i2 z

  1112. ! ~$ R3 S3 B9 G# g/ a5 ]% i
  1113. ; Default username for ibase_connect().
    , z. c2 n1 \. Z! Z
  1114. ;ibase.default_user =8 `$ d) S* n. f1 ?$ \9 ~
  1115. 3 G# t: m: ~6 B' ]$ z6 y
  1116. ; Default password for ibase_connect().
    1 }# V4 ?. u5 s, U7 I( Y9 y
  1117. ;ibase.default_password =
    - O  ]0 Q$ P3 M% Z
  1118.   n( ]1 B6 p& M) i% {# H. g
  1119. ; Default charset for ibase_connect().0 ^+ |' J- B, o. K# X5 p8 a
  1120. ;ibase.default_charset =
    4 a- c# V; B, {- H4 ?4 y. F$ V! d4 B
  1121. 5 J! h1 e( k- z. _7 r5 Y
  1122. ; Default timestamp format.8 v) ]! m; P/ K% z# |
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    * q" P+ c& Z9 M
  1124. - I6 k5 e7 y" ]# z; Z9 J* P6 A& r
  1125. ; Default date format." {0 G) q' r$ K* [/ c( C8 v7 I. V
  1126. ibase.dateformat = "%Y-%m-%d"' g! v8 M4 c" z0 o5 z
  1127. 9 j; }& d$ k3 }4 H! k3 U( n9 e2 ?
  1128. ; Default time format.+ U* |$ c6 {. L. V+ ^0 \+ l
  1129. ibase.timeformat = "%H:%M:%S"
    * z0 O; M) U0 a- g/ ?  n2 C

  1130. 0 e  e- b5 h2 v8 A2 ~* ~9 t7 Z
  1131. [MySQL]6 x2 _! u5 Z$ @$ g% B
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    5 h# c) i8 W+ n0 B
  1133. ; http://php.net/mysql.allow_local_infile9 L. R+ |- J+ Z& L( p% y, o% B
  1134. mysql.allow_local_infile = On) e1 b  r' Z$ a# k4 r

  1135.   c) z6 l& i$ J  L- x8 P3 j) Q
  1136. ; Allow or prevent persistent links.
    / A& `( ]# r5 y2 ]+ r: m
  1137. ; http://php.net/mysql.allow-persistent
    2 I, V5 W( E- b7 C3 \6 x2 P4 X  |( N# e1 {/ @
  1138. mysql.allow_persistent = On
    * A; \6 L: |; }; s; H2 [" O
  1139. / ?' `# g3 x; v8 R7 l: O! L: V+ \
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache" v6 Q3 B0 W5 I3 Q4 c8 O% H( r! ~4 R" C
  1141. ; http://php.net/mysql.cache_size
    5 D- {; ?5 j8 W- C" t; s! R
  1142. mysql.cache_size = 2000
    - e/ y/ h0 |1 O: u
  1143. , G: n  y/ _1 ~, B
  1144. ; Maximum number of persistent links.  -1 means no limit.# j% @7 \7 w. n7 p3 P4 l2 f
  1145. ; http://php.net/mysql.max-persistent- o4 @9 @/ p6 P# F8 \4 J& |
  1146. mysql.max_persistent = -1
    & a1 I- m6 J$ ]9 a

  1147. & f( I! K/ r1 Y
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 F1 b0 r/ ]' ~# u0 I
  1149. ; http://php.net/mysql.max-links" U+ r* y& h8 E/ N6 {$ p' a/ u1 @! f/ H
  1150. mysql.max_links = -1
    / G8 n) ?0 S* r! s' p: s
  1151. ; h% l7 t$ C9 K# O1 Y" d9 E
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use# T" V6 [1 B" ~
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    - C+ ^; r) x9 F/ t7 R5 R- e
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look/ ?8 t) V) k, Z  l9 }
  1155. ; at MYSQL_PORT.# ?) h2 i8 U* d, T5 J: e
  1156. ; http://php.net/mysql.default-port/ @- T" f6 E, K6 [3 L
  1157. mysql.default_port =
    * H* T, a+ g/ M- `
  1158. 5 |0 L8 r& T- W/ Q
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in" P0 F9 r6 @$ o4 a* Q
  1160. ; MySQL defaults./ b4 c% Z, l% [* y3 C- ~+ |
  1161. ; http://php.net/mysql.default-socket, T( f3 v# H0 U
  1162. mysql.default_socket =  I% ]) I. U( [: j5 ^, l

  1163. 3 S# w4 Y% v  ~6 g
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).' N8 v! C, y4 ~0 n, D. w
  1165. ; http://php.net/mysql.default-host
    8 V6 S% l% o7 H5 J6 v7 P! R
  1166. mysql.default_host =0 [) _8 v% W4 U1 A( P8 z

  1167. 8 ~$ [9 u4 r/ K% ]" @1 x8 X5 K* @
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).: z; ?! h1 F; E& u2 r9 ]3 f) b, K" a
  1169. ; http://php.net/mysql.default-user$ U% b; [' Z. a
  1170. mysql.default_user =& p0 w; n5 K3 @( P4 ^

  1171. # e, T. E1 o- m3 a9 _9 p
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    6 D7 L7 B- U1 r  D" y" ?
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    ' a6 j/ _. {- V/ t9 t- V$ N) ]
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")# H5 v# A$ }5 M2 B0 T
  1175. ; and reveal this password!  And of course, any users with read access to this
    8 B+ F& r/ R/ Z' }( E4 R
  1176. ; file will be able to reveal the password as well.
    ' p" c! \( h& I5 B/ X5 B
  1177. ; http://php.net/mysql.default-password8 A; Z: k* U. k* p: ~, U( ?
  1178. mysql.default_password =
    / Y2 i- h: e& R7 @" v, ?
  1179. ) Z% i# \9 e& Z
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit- m; a' F, J0 a( ^) D! r0 j
  1181. ; http://php.net/mysql.connect-timeout/ v" H) ^7 M& W! L- R6 W  c9 [! X
  1182. mysql.connect_timeout = 60
    , Q, S/ [- P8 c7 q
  1183. 7 J& V6 G1 V; y! T, H7 k
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and" ?* y; L3 u, E& j( s
  1185. ; SQL-Errors will be displayed.0 R, H% E+ O% R9 r
  1186. ; http://php.net/mysql.trace-mode
    . t: k: C2 f* I( m  c( z3 H* P9 W" M0 O
  1187. mysql.trace_mode = Off7 F1 a$ o9 h& G7 [8 ?
  1188. . g. T- L3 U, z# F
  1189. [MySQLi]# N4 [6 ^0 [6 b; X3 X5 v- J1 B

  1190.   r! P7 @; F, W4 O4 X" B
  1191. ; Maximum number of persistent links.  -1 means no limit.: y( N7 h  f) \
  1192. ; http://php.net/mysqli.max-persistent
    ' M8 c+ T0 Y+ W# y9 j
  1193. mysqli.max_persistent = -1! [. J: P/ Y8 f3 C  d2 S

  1194. $ ]: v! G/ C% B" `/ S* x
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements( |$ {9 W8 {" ~7 b& M* W) A/ r
  1196. ; http://php.net/mysqli.allow_local_infile# q9 r6 b  R) I" e* _3 p" |+ r
  1197. ;mysqli.allow_local_infile = On
    2 f$ S$ z# B' I& V! V) x* N

  1198. . X% u) t* [0 A
  1199. ; Allow or prevent persistent links.! t- `( t$ L0 j* b2 ?+ f+ {; b( ?/ \
  1200. ; http://php.net/mysqli.allow-persistent
    ) M2 T5 y' U- G4 |
  1201. mysqli.allow_persistent = On! i1 [) o8 G# L0 x. S" F4 \
  1202. ( ?% c0 r( e0 d8 G& t/ `
  1203. ; Maximum number of links.  -1 means no limit.* m0 Z/ Z2 R; b' `- N
  1204. ; http://php.net/mysqli.max-links
    9 y& C% ~# J' E- M! l  p' z
  1205. mysqli.max_links = -12 }* t6 X+ Y3 |' i  s

  1206. ; r8 S1 L& O0 P* C; I  Q
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    3 W, Q0 H0 N* b
  1208. ; http://php.net/mysqli.cache_size
    # M' C  j+ P. o8 F
  1209. mysqli.cache_size = 20005 Q9 G0 @; |) ]1 F

  1210. ! w5 f! F* w# y8 h3 y3 I2 X
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use! X) v) F; a6 @& j) @- G
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    & k& _* w6 n7 |7 o
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    % `9 u! [9 Q' k2 E( }" S7 l! x0 @, K1 p
  1214. ; at MYSQL_PORT.& t& C% k: y; s+ \
  1215. ; http://php.net/mysqli.default-port5 \- W6 K9 o  z- f
  1216. mysqli.default_port = 3306' @# r; S* W! s/ e) f5 b; o

  1217. . m  W8 O) o* T& S, w4 ?9 s. H
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    - m/ ]0 `% L/ c- @; @* |2 f
  1219. ; MySQL defaults.
    + u/ ^. a, @& @7 }8 D; p
  1220. ; http://php.net/mysqli.default-socket
    0 L: b: S& q0 f
  1221. mysqli.default_socket =0 o5 F- ?1 ]" a
  1222. $ i; V! a" t+ S! Z: M
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    9 r2 F$ ?* @/ W) [( d  r/ x
  1224. ; http://php.net/mysqli.default-host/ k" g) n9 P+ l& |0 n( n2 W
  1225. mysqli.default_host =
    / h. V' @* Z3 J& C5 J
  1226. 3 J, w2 G1 u7 |" c$ ^
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    $ w- h* E0 W2 Q6 n# {* X2 O
  1228. ; http://php.net/mysqli.default-user, ^" v/ `& u4 t5 l! |7 G
  1229. mysqli.default_user =
    * y; D5 E$ I  V8 u- g+ s+ N

  1230. ; C+ k* g2 W) v$ N! i
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).! C9 j% |' u/ [6 F% K' t  \- F: K
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.+ f/ l1 c# Z: k! Z! J5 P
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    & O/ j9 n9 ~& T# R1 t! [; A
  1234. ; and reveal this password!  And of course, any users with read access to this
    " ~# o$ x5 z8 f) Z* A, C9 E) G
  1235. ; file will be able to reveal the password as well.
    7 }7 Q% c, F% W% J# ~! a8 ?1 I, a) \
  1236. ; http://php.net/mysqli.default-pw
    - b+ M( U; N4 n6 o& }& S0 V
  1237. mysqli.default_pw =
    % f$ G  M# ^% U/ w6 y4 c$ H

  1238. $ n; X& m4 a. S, k/ b4 w* y/ u
  1239. ; Allow or prevent reconnect' B( A. y1 [' r, t: w3 [) [2 m8 Z
  1240. mysqli.reconnect = Off$ Z6 U( `) b$ X8 O& L/ _6 d3 ^

  1241. ! g4 c" `  i0 ]$ B. C
  1242. [mysqlnd]( P" i3 O" n2 ~8 X& ~# t
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be: D1 _, W. @! I# o, e8 L
  1244. ; used to tune and monitor MySQL operations.8 i& O/ P5 P; j. I0 @0 @
  1245. ; http://php.net/mysqlnd.collect_statistics
    % A5 L/ c3 B: t
  1246. mysqlnd.collect_statistics = On0 O5 {9 v/ k+ }

  1247.   H2 B. w( x! z( P3 G! @
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    + P) S9 I+ }- y+ c3 a& c: K+ E+ k
  1249. ; used to tune and monitor MySQL operations.- D  R- s! \/ [. W& K# _
  1250. ; http://php.net/mysqlnd.collect_memory_statistics$ O% b- G$ i) J* K; V! F
  1251. mysqlnd.collect_memory_statistics = Off% z* \3 j  S% M

  1252. $ U! r( h' b9 s* Q- J% D# K
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    - U, \* R8 m% I0 }6 m
  1254. ; file.9 |; G% }) W1 I
  1255. ; http://php.net/mysqlnd.debug
    . L8 H# q9 k9 k% I% Y" m# ^6 ~
  1256. ;mysqlnd.debug =8 Q3 x; |% W0 G8 B4 T& \# H

  1257. ! c& E6 T( b3 Y! H0 k
  1258. ; Defines which queries will be logged.
    7 q0 H% r- ^: O- k
  1259. ; http://php.net/mysqlnd.log_mask
    $ ~- R* Z' n$ T  L; A8 D8 [3 K
  1260. ;mysqlnd.log_mask = 01 D1 `, l6 X- A% S

  1261. # T( ?- b  T9 {7 ]# K0 ^
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.# h7 I: j4 \; n' r2 j7 e
  1263. ; http://php.net/mysqlnd.mempool_default_size
    / E5 B' i: L; K* |3 i
  1264. ;mysqlnd.mempool_default_size = 16000
    8 F% J6 d( @# J# z0 ^+ ~% Q4 w/ s  V2 j

  1265. 3 w: Z) C5 g4 ~# x% z. K+ B1 t/ B
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    5 R+ W( N  A, i% d# p$ Y
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size  g$ J: L! G5 c; A9 e% G$ s
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ' Y& Z/ D9 d0 l

  1269. ; J" n5 J- y9 i+ y: k/ v8 K3 |
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in' E6 a. N% c/ K; J% n3 \# ?0 C& E
  1271. ; bytes.( ~- H* i2 E4 c( v3 g2 [
  1272. ; http://php.net/mysqlnd.net_read_buffer_size3 U  ?+ ~6 i& V. ]; C
  1273. ;mysqlnd.net_read_buffer_size = 32768( Q7 E4 Q( F* J/ Y7 E8 z/ B

  1274. # \' C/ m& m( b5 _$ }
  1275. ; Timeout for network requests in seconds.& N, {/ O: Y/ n* J7 D0 Q
  1276. ; http://php.net/mysqlnd.net_read_timeout
    , C8 Q- ?: l+ P2 [9 Q
  1277. ;mysqlnd.net_read_timeout = 31536000
    3 e0 W- T2 R4 M- I) f0 E* Z) [
  1278. 0 e8 O. V; A' l) A& Z4 O! J
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    # |# `& w4 [8 h1 W7 e/ Z/ r2 Y
  1280. ; key.# O/ P& \& r5 b$ L
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    2 ?# y$ ~4 W) K5 I
  1282. ;mysqlnd.sha256_server_public_key =
    6 B; b5 F* N9 K' [
  1283. 1 E% J/ t% X, `1 U# K
  1284. [OCI8]: Q9 N/ r7 z+ F

  1285. % r" a, i' c( i# b- _
  1286. ; Connection: Enables privileged connections using external3 \, d  q5 `9 H; g  g  ]
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)  g# g- w0 ~: S# w" T; A0 R5 l
  1288. ; http://php.net/oci8.privileged-connect% Q) v6 U2 N. \. f6 Q- v! Y; ]
  1289. ;oci8.privileged_connect = Off
    6 F6 J; Q9 g& w+ z

  1290. 6 t5 h; |6 E$ E6 \3 w' g; q) ~3 G
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    5 I+ z) O, n5 h, K+ y+ J
  1292. ; process. Using -1 means no limit.
    3 `9 x/ W; \- {5 e, [' m
  1293. ; http://php.net/oci8.max-persistent  l. g' v8 Y4 O0 H# m
  1294. ;oci8.max_persistent = -1
    0 R( S2 d5 h" j- C- o

  1295. / X9 p6 g" @/ b# s- R2 j
  1296. ; Connection: The maximum number of seconds a process is allowed to
    9 Z; Q) E( r3 i  y$ N+ r1 P; }6 R6 H
  1297. ; maintain an idle persistent connection. Using -1 means idle
    9 D6 |- P7 a# {6 I2 b# F
  1298. ; persistent connections will be maintained forever.
    , `" ^  O' v0 k) g: @! z9 j
  1299. ; http://php.net/oci8.persistent-timeout) q$ B1 J, P2 d1 g, u& V" t
  1300. ;oci8.persistent_timeout = -1
    ; v# |1 v% ~3 ]5 L. ]

  1301. ' b6 \# q; O$ N. q7 u
  1302. ; Connection: The number of seconds that must pass before issuing a
    & ~8 X+ H0 t& Y6 K% I( W
  1303. ; ping during oci_pconnect() to check the connection validity. When
    % F( Y. N8 h8 L% R) u( C0 u
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables, N3 Y7 X; g; A. l- P3 j! q
  1305. ; pings completely.$ }/ m( o  ]( A' i
  1306. ; http://php.net/oci8.ping-interval
    % j  Q  J- p2 d% p* c
  1307. ;oci8.ping_interval = 609 v1 O, S+ l5 b" M
  1308. . ~7 {* T" A8 n6 @6 a. |
  1309. ; Connection: Set this to a user chosen connection class to be used# L/ b7 s. B0 ~! x) C- ]
  1310. ; for all pooled server requests with Oracle 11g Database Resident3 Z7 s% S2 ^1 X
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    # ^2 y' R) m2 w+ Y( k6 f& B! x! L
  1312. ; the same string for all web servers running the same application,
      c- M4 p2 u% G1 a0 s0 H# b! y' v
  1313. ; the database pool must be configured, and the connection string must7 W/ o1 R4 O& ^0 a
  1314. ; specify to use a pooled server.5 C1 {3 o$ {3 Q! w7 d1 a" h
  1315. ;oci8.connection_class =2 r: f% p. c0 @$ x' G! K( `( _/ p/ k
  1316. 6 ?% @) o; F# M0 C0 ]
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ( w% {( x' H# r4 F7 U( y$ g) G
  1318. ; Notification (FAN) events generated when a database node fails. The
    6 l0 w7 h# Y. B
  1319. ; database must also be configured to post FAN events.+ a# G, B8 v) A# W. E! i2 y" n2 ?, u
  1320. ;oci8.events = Off; h8 a5 i! }2 b5 G& m  F

  1321. # r+ s$ Q. t+ T
  1322. ; Tuning: This option enables statement caching, and specifies how
    " ]+ T3 d/ J3 O% o+ s" N$ Q* t
  1323. ; many statements to cache. Using 0 disables statement caching.
    6 |, |0 Q. k( a7 U4 u$ F( g
  1324. ; http://php.net/oci8.statement-cache-size
    + I: }" v3 F( H" ~' R/ T4 I  }- Q
  1325. ;oci8.statement_cache_size = 20
    # D1 p7 y- N1 c' p' t* ?
  1326. ! ?6 V1 t- m; Z0 A  O# J! \0 r
  1327. ; Tuning: Enables statement prefetching and sets the default number of7 J! v+ V, x. L) @4 q. w
  1328. ; rows that will be fetched automatically after statement execution.- z4 G( p0 o5 _7 e
  1329. ; http://php.net/oci8.default-prefetch
    . F: v# z* p4 K) D( V
  1330. ;oci8.default_prefetch = 100
    . f% B) D$ N' O* F* z* a

  1331. 5 L- O3 ]8 `2 k; x- p2 |
  1332. ; Compatibility. Using On means oci_close() will not close
    0 h8 L6 }- u: `: P+ ?1 W2 z
  1333. ; oci_connect() and oci_new_connect() connections.
    , ^" N4 Y6 w, M& C4 r, E* M6 N
  1334. ; http://php.net/oci8.old-oci-close-semantics, G' V- e  u) @! A
  1335. ;oci8.old_oci_close_semantics = Off! v4 \( h6 N: `& h
  1336. / v% `" I1 k6 i5 P  m( b
  1337. [PostgreSQL]
    1 @- x5 o+ [1 q
  1338. ; Allow or prevent persistent links.+ `8 b+ f, P% {( W  N
  1339. ; http://php.net/pgsql.allow-persistent! ?5 T0 y+ N( b2 M/ F& L* o
  1340. pgsql.allow_persistent = On0 w) t% `0 V5 U0 k9 A

  1341. + }" q" V2 T# R4 _
  1342. ; Detect broken persistent links always with pg_pconnect().
    , m2 d" g+ z  t; X# F0 q% q
  1343. ; Auto reset feature requires a little overheads.
    % Q+ l) l/ g9 l+ a5 Y
  1344. ; http://php.net/pgsql.auto-reset-persistent
    . @8 ^3 q/ p1 s. U2 O# L
  1345. pgsql.auto_reset_persistent = Off, S$ z( y3 E- P! l
  1346. $ y! `6 w$ B# `- Q+ [4 k! @
  1347. ; Maximum number of persistent links.  -1 means no limit.9 u# s- Y4 R( g% Y
  1348. ; http://php.net/pgsql.max-persistent
    ) ?" X8 E# L: `) X: s
  1349. pgsql.max_persistent = -1
    5 J; H2 Q. |8 g8 l+ V
  1350. . A+ Q  e; c/ J* o- j* K1 G
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ U0 f. D* b# I* C& A+ r, L  D
  1352. ; http://php.net/pgsql.max-links
    $ m1 ~$ v  U0 U  Z" u0 ~
  1353. pgsql.max_links = -1
    1 I+ s2 f- i: k+ p1 l1 Q1 b6 I
  1354. ( A, q# q7 d2 n
  1355. ; Ignore PostgreSQL backends Notice message or not.
    * U  w+ K! `9 R. {5 t2 E
  1356. ; Notice message logging require a little overheads.
    % d; ]" M" w* n( m0 \; O3 \& ?
  1357. ; http://php.net/pgsql.ignore-notice
    ! n* A& `) i" b" {  A4 i( ?
  1358. pgsql.ignore_notice = 0
    5 O/ n5 A2 \! N7 b2 H4 [
  1359. * }2 S) M% w  f# A7 E! f1 A
  1360. ; Log PostgreSQL backends Notice message or not.
    & ^9 p5 O: f( l, J7 F/ [! Q
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    9 i8 A4 M; [4 R! @3 c/ q
  1362. ; http://php.net/pgsql.log-notice
    + P+ R* G8 S. }7 H6 T; L  w
  1363. pgsql.log_notice = 0
    : R! C& a( R- K( R5 T& }
  1364. 1 a7 B7 s) i# J' a) G: ?
  1365. [Sybase-CT]
    2 L! g* L( V4 }
  1366. ; Allow or prevent persistent links.6 D! a; i& D- O4 y: q6 K
  1367. ; http://php.net/sybct.allow-persistent5 H! [( y6 \% t9 ?% _& L; w! O" V
  1368. sybct.allow_persistent = On
    8 B3 U- O8 k4 p

  1369. * M" P0 C& D' t+ I6 B! {: g) Q1 a
  1370. ; Maximum number of persistent links.  -1 means no limit.- I1 U6 n6 P: n& }2 E) ^: I
  1371. ; http://php.net/sybct.max-persistent' w+ \) E. G  s9 O5 ~! q6 U
  1372. sybct.max_persistent = -1  L% b: {1 ?0 b* p3 U
  1373. & A( c8 v* Z5 y+ X+ D2 o8 [) E' o
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ K+ ?' e4 O+ Y5 _/ i- ]
  1375. ; http://php.net/sybct.max-links8 E- K' }# i# R! G
  1376. sybct.max_links = -1  @) k8 J! l7 A1 O) d) H) w' {2 ~

  1377. 9 {# W9 l. D6 S% |& ?
  1378. ; Minimum server message severity to display.) p3 E/ e9 {1 X6 m3 t
  1379. ; http://php.net/sybct.min-server-severity
    4 B# K, ~$ J4 y7 G- _$ _* c3 V2 y
  1380. sybct.min_server_severity = 10  T& r' v4 a7 H5 Z

  1381. 6 w, ~% o9 r# s8 B1 {  f# ]
  1382. ; Minimum client message severity to display.- f1 a. m; x) G; f
  1383. ; http://php.net/sybct.min-client-severity: J: v( q4 Z! V
  1384. sybct.min_client_severity = 10
    + q. ]# k6 ]2 q! T1 z1 o2 @5 H* ?

  1385. ; [, V9 V( ?! z
  1386. ; Set per-context timeout1 N3 ?7 R6 I3 o5 N$ X" c4 Q
  1387. ; http://php.net/sybct.timeout, `6 e, H. Q- T( S% m* |, V5 v% K
  1388. ;sybct.timeout=) F! C) q: {0 n6 w9 a

  1389. ) m  i& V  C- e2 @  V# O- X
  1390. ;sybct.packet_size
    . ]* S7 A* i6 z8 H1 I4 Q
  1391. 5 S! {4 C/ ^8 X9 L) m
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    2 Y! n$ t/ ]/ h9 u5 j9 [- x
  1393. ; Default: one minute
    9 X4 u  b+ ?$ j1 Z1 D" U
  1394. ;sybct.login_timeout=
    5 i6 `; b7 N$ D% t, u

  1395. 5 n3 C) f- b3 ^, p. c
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.- r6 E4 k. y& h- K. u  j
  1397. ; Default: none
    " g9 d+ W$ i" W6 r
  1398. ;sybct.hostname=# ]4 }: L2 b. `+ F7 B
  1399. 6 r( f6 x% A7 ^! K
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever"." v! [' y7 \. {! L
  1401. ; Default: 0
    9 `- k0 b3 Y* o1 z7 ~
  1402. ;sybct.deadlock_retry_count=; t* J4 s  g. |; s) [$ o! d4 G
  1403. & ]9 A$ z' K8 x. K, f6 e0 N1 X  a
  1404. [bcmath]* e- C$ ?4 C2 e: v
  1405. ; Number of decimal digits for all bcmath functions.  b# Q1 t8 [/ N. n( F! ]4 O
  1406. ; http://php.net/bcmath.scale% c: {$ J' V1 i8 q( D
  1407. bcmath.scale = 0
    + @" l' f& x) N2 A

  1408. 5 Q  E/ h* J  z' g' b# {
  1409. [browscap]
    ( a# b+ |7 ?1 P: j7 ~: F8 e
  1410. ; http://php.net/browscap! i: L. M/ [) B# w% J; Z& k
  1411. ;browscap = extra/browscap.ini% v% I; u3 P# i8 ~. e. {

  1412. 2 Y, l% c/ X' [0 y6 n, O
  1413. [Session]% h. d5 H* o8 H7 [9 A
  1414. ; Handler used to store/retrieve data./ n* a! G8 R3 g5 F8 J
  1415. ; http://php.net/session.save-handler9 G$ t% ^4 |2 O6 `" _
  1416. session.save_handler = files! ~# ^( J! h3 \, A% D
  1417. : c6 }6 q* q. W1 U& ~
  1418. ; Argument passed to save_handler.  In the case of files, this is the path! ~7 l# }) f4 Z, P
  1419. ; where data files are stored. Note: Windows users have to change this
    . d: K* s$ n7 K8 B$ s
  1420. ; variable in order to use PHP's session functions.
    . P: @/ d. k- m& ~4 }" a9 _
  1421. ;& C% W: `& k" \: a. }* [
  1422. ; The path can be defined as:- T3 b9 v# y4 I6 F
  1423. ;
      _+ `! ^+ ^  }' P, C
  1424. ;     session.save_path = "N;/path"
    2 v* ^3 B! H4 p0 @7 e3 I( |
  1425. ;, Q! e& t$ A/ q" ~: J
  1426. ; where N is an integer.  Instead of storing all the session files in8 n9 ]7 I" Q: W2 b! p
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    ) z! |5 N8 C  \% ]
  1428. ; store the session data in those directories.  This is useful if8 v; {1 W8 k  V- G, ^5 b! v
  1429. ; your OS has problems with many files in one directory, and is
    $ g. a# m9 [& v* I+ r5 R
  1430. ; a more efficient layout for servers that handle many sessions.
    2 J0 g# b9 y! K. c
  1431. ;  }2 Q4 r/ h5 D3 D" J
  1432. ; NOTE 1: PHP will not create this directory structure automatically.' Z& F! Q0 Y8 l5 w5 ^
  1433. ;         You can use the script in the ext/session dir for that purpose.
    % n7 f2 l* j/ v2 ?" r: Q
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ' O, X: b  h( [: q: _- [
  1435. ;         use subdirectories for session storage
    " x! r4 E2 ^& N) |+ g
  1436. ;
    % _6 m& E& v5 ]6 n% ?1 z, x
  1437. ; The file storage module creates files using mode 600 by default.
    2 |& V3 u. U7 }' D2 Q2 y
  1438. ; You can change that by using' x) J& g3 |+ m  I! F2 @
  1439. ;
    ' @; K6 h  ?, V
  1440. ;     session.save_path = "N;MODE;/path"! o1 b: O8 R' x5 ?/ p
  1441. ;
    ' r9 x2 W% A5 m) r0 T) r
  1442. ; where MODE is the octal representation of the mode. Note that this
    6 c3 ]* U: P7 c* r8 d
  1443. ; does not overwrite the process's umask.
    6 u$ M( u8 p1 f0 q- ], m
  1444. ; http://php.net/session.save-path
    0 ~  b+ B6 K5 U" q* [8 Y* d
  1445. ;session.save_path = "/tmp": M7 c# b% z, A# |* W1 Y. A& P4 I8 Y

  1446. * N+ g4 I* X$ [
  1447. ; Whether to use strict session mode.! `/ P, ~" Y+ G- ?4 ^
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    3 Y' f5 g  H. |5 J3 W) P
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects5 `( F$ N; X5 _: U- [( @! b
  1450. ; applications from session fixation via session adoption vulnerability. It is5 l1 e& H2 y4 l7 m7 c: \7 a
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.: Q& f$ u. p1 s# W, u
  1452. ; https://wiki.php.net/rfc/strict_sessions
    3 j7 n6 X! D/ x! |7 v: a
  1453. session.use_strict_mode = 0
    3 t( [& Z( R7 `" g! t
  1454. 4 f; n( k4 P  Q) q! m8 }( h7 R
  1455. ; Whether to use cookies.
    2 f- R( K" r3 y1 P. x7 `5 [  a
  1456. ; http://php.net/session.use-cookies
    " d. p$ e3 v  D( p6 R. ?1 u0 C! F+ ]
  1457. session.use_cookies = 1# ^- z& x: D' E. s- b/ b4 ?
  1458. ) t0 U* U9 k. |3 P/ Q; K
  1459. ; http://php.net/session.cookie-secure# z7 }; A( e5 J3 a; k+ P# E
  1460. ;session.cookie_secure =5 l, q) U: m1 n% i7 b! a
  1461. 4 a- E& b# _$ M- N( F( }
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    + v0 l9 z% f2 O! X* \; ^
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    3 k" Q" A+ j! h3 @% L
  1464. ; session hijacking when not specifying and managing your own session id. It is
    3 E: I; O# K  d- `) A1 W
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.4 ]; g" @! `3 J; ]# a' x& w" l
  1466. ; http://php.net/session.use-only-cookies+ {- }+ N/ j/ }8 C
  1467. session.use_only_cookies = 1
      C/ x) P8 h$ Q6 C; L) y
  1468. 3 p% X  X+ x6 g9 x
  1469. ; Name of the session (used as cookie name).+ [9 s- h4 {  x# Y; G# k' |( U
  1470. ; http://php.net/session.name1 ^( U# x8 e. V( ?) S0 M
  1471. session.name = PHPSESSID
    # _3 }/ s& V: p* ~' V
  1472. 8 J+ v1 B$ Y- P7 J* q& n: z% x
  1473. ; Initialize session on request startup.
    / Z/ I& y& B5 |& |% P7 o: T9 g& f
  1474. ; http://php.net/session.auto-start
    + `3 V" m7 d. j# Y9 j" r5 H$ y" A
  1475. session.auto_start = 0
    ) [7 T. u- }- V/ S( M0 c7 L
  1476. 3 K5 R+ n, r/ R6 W" F# P' g% |
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    - ^! B" o# k! f
  1478. ; http://php.net/session.cookie-lifetime
    4 Q, B% X+ R9 `0 n9 q
  1479. session.cookie_lifetime = 0; C+ N. `3 C3 r8 L: |+ d

  1480. ) L+ V$ V8 y* j
  1481. ; The path for which the cookie is valid.
    6 r. C1 f/ @& e$ ~" ^/ e7 R, N4 s
  1482. ; http://php.net/session.cookie-path& x; }" ^1 b1 d1 d& |
  1483. session.cookie_path = /
    % o+ h( U* b* Z0 r( x; r

  1484. ; y4 A6 _7 ]! T4 Y; u& i
  1485. ; The domain for which the cookie is valid.
    : {! P& v3 y" n, v) h
  1486. ; http://php.net/session.cookie-domain1 ^" |; J% n4 `
  1487. session.cookie_domain =
    8 {5 A( z: y) G! e
  1488. & n5 n) L% Y4 I* b6 V- {( r1 E
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    5 B7 b7 ^1 R  f2 e
  1490. ; http://php.net/session.cookie-httponly
    0 H! e+ [) ?1 Q+ V/ H& Z) U0 o
  1491. session.cookie_httponly =
    % T3 G, `, `0 g% i/ d* U
  1492. * H) B9 Q1 v- e9 c
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    / N7 a" \5 B- N0 V& x/ S
  1494. ; http://php.net/session.serialize-handler
    6 c) U0 \6 @' m) B& ?' K
  1495. session.serialize_handler = php( O  S6 y* M: ^) u& v
  1496. & }8 `# w* ~( ]6 d8 ]
  1497. ; Defines the probability that the 'garbage collection' process is started! ~6 T9 O/ w/ J1 g* l; B
  1498. ; on every session initialization. The probability is calculated by using
    3 h1 [: x" G5 g7 t
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    8 c6 m. h4 Z% k/ f0 W4 _
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 14 y( ~- @4 @, E7 j  p
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    - j7 }+ e+ b0 x, Q
  1502. ; the gc will run on any give request.3 B6 r; @  g9 K8 U. N5 ^, l- B) K$ K( C
  1503. ; Default Value: 1
      Y; ]2 }! {: o- V
  1504. ; Development Value: 1
    & f) D5 }3 ]' ~. Q/ U
  1505. ; Production Value: 1
    & u' |) d! j4 V; ?
  1506. ; http://php.net/session.gc-probability
    # {8 o* l$ _7 ~! _$ @- j
  1507. session.gc_probability = 1
    + Y, G. H- L& b3 b2 k/ C4 A

  1508. & s$ g% u( r9 x" R$ o
  1509. ; Defines the probability that the 'garbage collection' process is started on every9 \6 e$ n5 o( j
  1510. ; session initialization. The probability is calculated by using the following equation:- a2 t. y7 d( x/ v5 F" f' Q
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    " e3 X  i/ \" C
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1$ n8 P, o* \# n1 A
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance# z. {# Q3 O7 S! _, v5 ]1 p8 N3 k  I
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ' R3 V% p1 f+ c, T7 F
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ! h: p9 |8 ^7 B+ `6 i) Z. Q
  1516. ; this is a more efficient approach.
    % ?1 l: M3 Q* K
  1517. ; Default Value: 1006 \% ?, I* [) l- {) e
  1518. ; Development Value: 1000
    ' U  o0 x- c. o+ r; Z3 i
  1519. ; Production Value: 1000) c, m) w" G' S' |. x' D
  1520. ; http://php.net/session.gc-divisor5 G. h* O( J& E+ n) M9 }
  1521. session.gc_divisor = 1000
    + d2 E2 ^, q2 v1 @5 f

  1522. $ k! i* M/ r7 U
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    ) J$ k$ }! G. ~; z1 ]" H. v  q
  1524. ; cleaned up by the garbage collection process.7 `: U6 o1 V" |' {+ S+ ^3 Q
  1525. ; http://php.net/session.gc-maxlifetime
    6 }# q. S2 J, ]
  1526. session.gc_maxlifetime = 1440
    : l+ ~0 h! |7 k# g

  1527. 2 }; d2 n; ?" w4 A) F4 w
  1528. ; NOTE: If you are using the subdirectory option for storing session files) W/ D; z3 n8 i/ a1 P
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ( [, ]2 L% O9 I# g5 v! T
  1530. ;       happen automatically.  You will need to do your own garbage$ W! d% o/ B  f( r* @
  1531. ;       collection through a shell script, cron entry, or some other method.
    % U5 {0 p6 H7 C, `6 G
  1532. ;       For example, the following script would is the equivalent of/ S+ D4 z& M( Y' l
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):) O& z! X0 P" v: d5 m
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm8 _6 N; B* G  A
  1535. ' a2 @0 }* H. A0 N/ V
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.) R! R+ g9 ]9 p- f& y, X' _/ T2 ^# L
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    + ?' L4 u" S. x# ^, M
  1538. ; considered as valid.6 b" z! j! A$ e& k( F3 D
  1539. ; http://php.net/session.referer-check
    , c9 U' H% ]6 I1 T
  1540. session.referer_check =
    1 J* S% e% X6 N* d

  1541. + t+ z5 B8 @% T6 p( n
  1542. ; How many bytes to read from the file.
    5 D; H* j( Z5 }/ v" I/ N
  1543. ; http://php.net/session.entropy-length
    # V- F0 O. |% E/ x3 D: u0 s" u8 e
  1544. ;session.entropy_length = 32- M' j, P4 T' ~2 r# n9 k

  1545. ! S$ Z" p/ R  ^# l; u6 d% _
  1546. ; Specified here to create the session id.- ~6 c3 p: i  W) j
  1547. ; http://php.net/session.entropy-file& e) I) E5 `! Y% V6 C
  1548. ; Defaults to /dev/urandom5 i( C  n4 @! O: M* F4 ?* _+ T8 H
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    . u9 q/ W. V/ P: o1 r$ E3 w1 Q
  1550. ; If neither are found at compile time, the default is no entropy file.
    ; f9 i4 }* |. G
  1551. ; On windows, setting the entropy_length setting will activate the! E2 f0 j# q  h  N' t4 z( {
  1552. ; Windows random source (using the CryptoAPI)
    ! c$ M9 D# e3 y3 M
  1553. ;session.entropy_file = /dev/urandom0 ?% p1 V. K4 s6 Y9 F3 n

  1554. - }; F6 r  O9 a) _
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects! r, m7 K: l  G6 W+ A: S
  1556. ; or leave this empty to avoid sending anti-caching headers.
    9 E8 Z, p1 Z( Y8 m! k
  1557. ; http://php.net/session.cache-limiter1 E! S! U  c: E# F  g
  1558. session.cache_limiter = nocache1 j' L3 _' R/ x7 c$ a, T* b, `
  1559. % H' I3 b( {6 b5 v2 H' f0 X1 Q
  1560. ; Document expires after n minutes.% [( j) |, X* F5 q  S- r2 ?* R' I
  1561. ; http://php.net/session.cache-expire
    % m2 k8 H) ^. y7 q% X! f* g
  1562. session.cache_expire = 1803 O9 S1 N, w' e  I9 W

  1563. ! ~/ z6 A+ B- f" Q; q; |
  1564. ; trans sid support is disabled by default.
    " ^  n6 n  l; I  J. n' @7 y2 _2 l
  1565. ; Use of trans sid may risk your users' security.
    7 E- T6 _2 F+ Y
  1566. ; Use this option with caution.
    $ E( H/ n, u. P- [) C- M
  1567. ; - User may send URL contains active session ID
      p2 \. P! H/ A8 {" M/ T& M
  1568. ;   to other person via. email/irc/etc.
    % e' g- U2 p: |
  1569. ; - URL that contains active session ID may be stored2 P! b4 R' a9 \* ?
  1570. ;   in publicly accessible computer.0 Z; d6 |) s8 s; p) F$ f* |
  1571. ; - User may access your site with the same session ID2 |) I5 [9 E4 ^0 o9 X8 v( \
  1572. ;   always using URL stored in browser's history or bookmarks.
    4 e4 J" ?) r) r4 V! m/ t" \6 V
  1573. ; http://php.net/session.use-trans-sid
    + |8 z7 y/ k. i  P$ W
  1574. session.use_trans_sid = 0
    . Q  Q0 c' m* e3 N; f; L% G3 z) c

  1575. 1 M, G& \- ^" g' ]
  1576. ; Select a hash function for use in generating session ids.
    6 H0 A5 @  m0 @$ T
  1577. ; Possible Values
    ) T1 F. k3 {3 x1 |3 _- L, L4 d
  1578. ;   0  (MD5 128 bits). W8 S% d+ o: F6 N; P2 m% ?$ S! E
  1579. ;   1  (SHA-1 160 bits)7 T3 s" a& o. R! Z
  1580. ; This option may also be set to the name of any hash function supported by
    1 b. z, C5 [+ G/ f' @
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()1 N# |- ?/ T% x/ R! q% `
  1582. ; function.
    ) ^. V5 Y# g+ L6 y9 v) t% a. W
  1583. ; http://php.net/session.hash-function
    ( o) C! E6 M6 v4 ^
  1584. session.hash_function = 0  g1 W$ ?( j. \
  1585. * t. w4 q$ {  d6 @/ ?  x. B0 K# ]
  1586. ; Define how many bits are stored in each character when converting$ u4 j5 |* z8 O  K! m6 R- z
  1587. ; the binary hash data to something readable.
    0 y8 d3 j% Q# s' }3 E& [( R( F% c; T
  1588. ; Possible values:4 m3 [* J, L8 F/ I  R( d
  1589. ;   4  (4 bits: 0-9, a-f)
    4 K( y% L8 e( H; s! ]. h
  1590. ;   5  (5 bits: 0-9, a-v)# c7 a) J. P( t! X4 x7 L- ^1 f
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","): B' X: `" c% B& b+ `9 U  _- i2 j
  1592. ; Default Value: 4
    3 B9 Y6 o% U5 `5 u
  1593. ; Development Value: 5+ J* ?8 P; F0 D" }
  1594. ; Production Value: 5
    ; ?( E% c& B1 b) U+ s  {7 ~
  1595. ; http://php.net/session.hash-bits-per-character1 {' C- Y; a- p+ X. e! o0 M& u
  1596. session.hash_bits_per_character = 5/ p* n3 [& A' C, s

  1597. 4 Z! d- K: Y+ i4 x. Z* f
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.: Q' p& x. H& n, y$ ]& g/ l/ R
  1599. ; form/fieldset are special; if you include them here, the rewriter will3 z+ j6 K! r" K) {' i) H
  1600. ; add a hidden <input> field with the info which is otherwise appended
    8 J2 u2 T, V. Y  A) ^( i
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    & g" s  x/ r, s8 g5 y
  1602. ; Note that all valid entries require a "=", even if no value follows.' r" v3 V+ U  \, ?: Y+ ^" g
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="$ m+ M6 a1 T4 V; n5 H& [
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 A1 n) z4 x4 \8 [! `; U
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & ~5 ~8 C  J& `: n1 k
  1606. ; http://php.net/url-rewriter.tags6 \( x# ^. y6 e/ G/ v8 Y4 n
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"6 q0 o0 b/ L1 Q3 w
  1608. , b. Y, B: s0 @# Q/ y. w; L- D
  1609. ; Enable upload progress tracking in $_SESSION
    # j# Y% Y# ^0 p
  1610. ; Default Value: On
    ; h( W. }& N2 \, T; x/ ]. ~
  1611. ; Development Value: On3 j* l/ E4 K: p/ p
  1612. ; Production Value: On6 E4 |9 k! w- u3 p) Z
  1613. ; http://php.net/session.upload-progress.enabled
    % J. T; I0 E9 |+ \# l) n/ O
  1614. ;session.upload_progress.enabled = On
    . u8 d0 v( H( Z4 v% W

  1615. " I2 N  _  @; D+ J$ K
  1616. ; Cleanup the progress information as soon as all POST data has been read
    / v: ~0 H; w( i6 K) r
  1617. ; (i.e. upload completed).
    5 D4 l- ]- V6 O0 c" `
  1618. ; Default Value: On
    8 A- k8 E: Q; b! @2 X
  1619. ; Development Value: On8 K% V- i4 |2 _
  1620. ; Production Value: On
    ; O( T$ x' R4 A! S, p3 @2 _- _
  1621. ; http://php.net/session.upload-progress.cleanup
      F; ]" C9 n3 O7 X2 f: n8 d* ?
  1622. ;session.upload_progress.cleanup = On7 Y6 v% P1 y9 A. w9 f, n
  1623. 9 |, D0 o; Q. M* P9 f
  1624. ; A prefix used for the upload progress key in $_SESSION
    ! N3 a6 A; v8 a1 L/ C
  1625. ; Default Value: "upload_progress_"' C* O7 Q; _: E& i2 H  k  n3 y
  1626. ; Development Value: "upload_progress_", f+ o0 i: e- G$ t" j8 R! J
  1627. ; Production Value: "upload_progress_"
    " m  d* K/ {2 T8 M4 x  r) ?
  1628. ; http://php.net/session.upload-progress.prefix
    $ c7 f8 S$ q* r2 k, a1 Y# k
  1629. ;session.upload_progress.prefix = "upload_progress_"1 n2 _$ U3 g0 J  s8 e
  1630. % G0 c# H- H+ \4 r2 h
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    3 T, p# f6 m" t. J
  1632. ; containing the upload progress information2 F& n. s  R# I+ B, W2 n
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 m2 ?7 A& [! s* ?& b3 Q
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 a$ `4 a& H6 t# E0 t: e5 G- O2 [
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"$ D9 d! Q. a% u  G
  1636. ; http://php.net/session.upload-progress.name! ?, `; s. O% P4 U" k# b1 |2 \
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"' T9 c; Y# f# q) D6 Q1 w+ S
  1638. * e+ Z0 ^# M  N/ a: ]5 Z
  1639. ; How frequently the upload progress should be updated.
    % Y) }& W, h2 h6 \" o; r% ~% i( R
  1640. ; Given either in percentages (per-file), or in bytes
    7 P9 E  G& a* y
  1641. ; Default Value: "1%"
    ! @+ @2 l9 C9 N3 a, F4 w1 F
  1642. ; Development Value: "1%"
    ) [4 }% W+ J  \: [$ \; V
  1643. ; Production Value: "1%": A: R( k4 k/ a/ Z9 ]* T' M
  1644. ; http://php.net/session.upload-progress.freq
    7 n4 q! Z4 _$ Z0 I& g
  1645. ;session.upload_progress.freq =  "1%"
    ) i: f- r9 G0 h; J3 W

  1646. * P% u& A$ i- l0 r& e
  1647. ; The minimum delay between updates, in seconds
    5 R* `* X* l* o. Y
  1648. ; Default Value: 1* V9 R1 b% {* W& g+ V
  1649. ; Development Value: 1
    / c- X5 q2 x+ o6 \* k5 n4 Z
  1650. ; Production Value: 1" i# y0 N: C4 F" w
  1651. ; http://php.net/session.upload-progress.min-freq7 Z% H7 C1 t1 V( e
  1652. ;session.upload_progress.min_freq = "1"
    * i* ~+ H. B; a: A

  1653. ) n9 G& H6 G# K* F
  1654. [MSSQL]
    ) W) Y; y" i( g" Z0 B
  1655. ; Allow or prevent persistent links.
    " }  J- a% ~5 S. g- U4 d) a" u1 P
  1656. mssql.allow_persistent = On/ v1 G  r8 z4 {" o  T: ?1 |3 j
  1657. 4 q: d2 E( Q' l# W) C7 r9 i+ ~
  1658. ; Maximum number of persistent links.  -1 means no limit.
    9 ?8 W4 i' }0 I% k" L8 r
  1659. mssql.max_persistent = -1+ {; v# c8 l6 C* R8 v' ?  L6 R# A

  1660. - M; W) z! n4 P. t2 N# f7 [/ g: r$ E
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.: ~, F3 q) L9 d$ W
  1662. mssql.max_links = -10 u1 G/ ?9 w% _: o* O

  1663. 0 r% g0 W5 f+ x+ {5 r% _* O& o
  1664. ; Minimum error severity to display.1 J" f, y) e2 H% ^' |) o
  1665. mssql.min_error_severity = 10
    5 D* b9 H& {# B' C1 x. L5 \8 ^
  1666. 2 T) O( }! C: x6 }& c& b
  1667. ; Minimum message severity to display.+ d6 }8 e" g/ ^7 p) A. J5 C
  1668. mssql.min_message_severity = 10
    ) c. L' w; P; D2 X% s

  1669. & M; D6 P$ D8 [- U2 y' x
  1670. ; Compatibility mode with old versions of PHP 3.0.
    " ^& y' b' P1 L- w3 |* f
  1671. mssql.compatibility_mode = Off
    ' Z& K: l! F" x; J7 T) ]9 ^' q; q

  1672. " S. l# R% ^- _
  1673. ; Connect timeout9 U1 H4 m- F% b2 h7 ]# j( \, T
  1674. ;mssql.connect_timeout = 5
    " h* b  J( l+ x! ?

  1675. ! r6 n; C* T8 L$ N* H
  1676. ; Query timeout; @4 H1 B" ^6 ^# P& _) e
  1677. ;mssql.timeout = 60
    . f! K$ \- v: [/ N! {  b2 @
  1678. ' ^7 h' q9 R( B2 E
  1679. ; Valid range 0 - 2147483647.  Default = 4096.2 F: U: [8 ]# g: B& f) [- k
  1680. ;mssql.textlimit = 4096
    $ K; B3 q& P* v! I: S* P
  1681. 5 T' _% T7 n/ w9 L& V8 l& @' a
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    / h# _8 X" c; W
  1683. ;mssql.textsize = 4096
    + i8 s! p" ^5 l5 P& l

  1684. . a9 P/ x5 |+ \1 O: G" T* c
  1685. ; Limits the number of records in each batch.  0 = all records in one batch." i1 Z# L" y, p5 j& v
  1686. ;mssql.batchsize = 0
    + Z+ s* w7 V) [" F. E/ f

  1687. + S) W" I$ J7 k& [* @4 m9 k
  1688. ; Specify how datetime and datetim4 columns are returned4 A& V! E% n: W
  1689. ; On => Returns data converted to SQL server settings9 F' y. y( f4 E9 \2 t, q' v% n
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    $ j( K) f& u, L; D, Q* D! Q& L& @
  1691. ;mssql.datetimeconvert = On0 }# e% L5 {% B+ Q
  1692. 1 y# v$ W7 V# G8 J( n5 |
  1693. ; Use NT authentication when connecting to the server$ B9 U# Y8 o5 c$ y6 K$ ~( z
  1694. mssql.secure_connection = Off
    0 d  a8 Z: O0 ^" m2 {1 X
  1695. 0 v/ i( V5 n+ B: i4 S
  1696. ; Specify max number of processes. -1 = library default
    3 ?& f5 ]- Z) E% q( e; y9 `/ K3 Z
  1697. ; msdlib defaults to 25
    & b9 O6 Y6 ~9 i7 J6 X- E7 l7 S# y
  1698. ; FreeTDS defaults to 4096
    4 Z7 N/ I" [+ k2 O# g. o8 u
  1699. ;mssql.max_procs = -1
    7 Y( \- E* B1 q- H
  1700. , ?3 o/ q( J& }4 k; h
  1701. ; Specify client character set.+ c, {7 s/ y4 i( d( \
  1702. ; If empty or not set the client charset from freetds.conf is used! O( W' w6 ]5 H$ v, _' N1 y+ Z
  1703. ; This is only used when compiled with FreeTDS
    * |8 f; ]. h: J0 D- p* r
  1704. ;mssql.charset = "ISO-8859-1": i" ~- ?/ K+ J! I7 Z6 V2 N8 v! I

  1705. ) {+ T+ ]! S5 C/ u" F4 H; I, F
  1706. [Assertion]
    * e  D0 p. r7 v: w
  1707. ; Assert(expr); active by default.. @  q' z. |4 S
  1708. ; http://php.net/assert.active
    6 g: h7 E( c1 h0 K2 b' b, k
  1709. ;assert.active = On
    1 E( n* g8 [( {0 C' ~
  1710. ! e  B) m7 o, N  Q6 h- M
  1711. ; Issue a PHP warning for each failed assertion., n4 K% R* m5 y; m8 |
  1712. ; http://php.net/assert.warning
    ) W& v$ @; e, h9 Y  N
  1713. ;assert.warning = On2 C: ?; k# ^1 N1 v
  1714. / w4 b: S7 n9 N1 F) z2 M) M
  1715. ; Don't bail out by default.
    6 N' v; Y4 k2 K" m0 I
  1716. ; http://php.net/assert.bail
    * K) g+ y5 U3 D  m
  1717. ;assert.bail = Off
    ; i* A1 S- e5 n- Y3 M$ P
  1718. 6 n# @9 q2 v( E0 t( [# O
  1719. ; User-function to be called if an assertion fails.9 N( S+ v) _$ p/ j! C, K
  1720. ; http://php.net/assert.callback9 p: q$ T. }/ `/ L" Q1 \' K: L9 z! }
  1721. ;assert.callback = 0
    ( L% k2 z, A, I0 R% q2 t
  1722. # E/ ]5 Y5 o: x9 ?2 E& H
  1723. ; Eval the expression with current error_reporting().  Set to true if you want6 ?+ _( `8 e. @7 _* y
  1724. ; error_reporting(0) around the eval()./ ~% K" V. ^) j2 M6 A( k* j8 `: c
  1725. ; http://php.net/assert.quiet-eval
    8 ~7 G7 B: U6 h% m* t
  1726. ;assert.quiet_eval = 0/ k( T( H4 f8 \

  1727.   |9 y; G! N8 t' \9 f; v
  1728. [COM]( L. v1 i0 n$ Z8 Y% c1 i% Z% V
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    + `. U; j/ f; d* N+ X6 E
  1730. ; http://php.net/com.typelib-file2 t- C3 S- A% r' ^
  1731. ;com.typelib_file =* y# H: A  G# ~4 N- V, H

  1732. / p7 u: A8 i6 b/ M
  1733. ; allow Distributed-COM calls
    " x0 S6 V/ J. v6 E9 q
  1734. ; http://php.net/com.allow-dcom
    ; [, y9 R# ~. _6 a, \7 V2 T
  1735. ;com.allow_dcom = true
    1 i# b/ S2 {  S: A0 F
  1736.   O# T- p& e# b9 p
  1737. ; autoregister constants of a components typlib on com_load()# v% j% n7 _" u! A* M! |2 j
  1738. ; http://php.net/com.autoregister-typelib$ ^  L0 P( L( ~* n, x+ C
  1739. ;com.autoregister_typelib = true# g1 b5 p' @# ?+ U# X

  1740. 0 t  K# I# C2 ~( G1 B
  1741. ; register constants casesensitive# D) |" Y6 _9 `* V+ m
  1742. ; http://php.net/com.autoregister-casesensitive
    # W( z: j9 H9 N) u
  1743. ;com.autoregister_casesensitive = false* a8 Y! H) \. I+ ^# m* {% l
  1744. : `9 c/ V4 N5 b! f
  1745. ; show warnings on duplicate constant registrations0 m- V& g5 i2 i, D' c0 t( R3 w  Y. L
  1746. ; http://php.net/com.autoregister-verbose
    0 n& ], P- r" a5 O% T- C5 F$ Q
  1747. ;com.autoregister_verbose = true
    ' A. K- U8 Q7 i6 [6 R) C
  1748. , {2 T6 D( L5 o+ ?3 ?
  1749. ; The default character set code-page to use when passing strings to and from COM objects.+ ]; X4 c. P- Y4 D' V$ J
  1750. ; Default: system ANSI code page
    # K5 s/ C! S8 j7 \* z
  1751. ;com.code_page=
    ! `7 ]4 t* U0 j. d

  1752. 1 `3 m  c: s8 F' T" \5 o& Z
  1753. [mbstring]# L& j& h% e& i6 b
  1754. ; language for internal character representation.- R' S$ u: X: O0 C  Q+ a* W& v1 f
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ; E8 q( T. D* k6 b1 `
  1756. ; http://php.net/mbstring.language; [$ G! m$ e" w- Z3 t$ ]! h
  1757. ;mbstring.language = Japanese
    " v6 z7 G9 c: @- @3 b+ A: }+ ]6 Q

  1758. & C, g' [7 c8 X7 }9 f' l' ~) ]
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.7 L) O, m: ^9 Z% a
  1760. ; internal/script encoding.2 T( O- N9 D" D6 [) B+ l
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)4 \7 p, A4 U3 z- m  U. f% m# W
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used." p6 z1 f; F8 n0 p3 ?9 q
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding$ g3 q* u$ v- O; v  V
  1764. ;mbstring.internal_encoding =" I; v0 r1 @& Q" X4 e
  1765. ( ?+ n9 [5 [( B6 e: j
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    7 v' j) U7 b/ x0 W5 U' p  I2 m! R
  1767. ; http input encoding.. p/ P3 f5 y# G/ Z& V, w+ v
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.; l- p8 K% n9 @, p5 l
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.. m- S3 _% Q7 m" W
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    " j! O+ `$ ~5 l  @$ b2 v
  1771. ; http://php.net/mbstring.http-input
      q2 w6 H- q4 d
  1772. ;mbstring.http_input =3 i6 b! c8 {& @2 |
  1773. $ L3 [$ }$ v, P: P3 j
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    . H+ z( X2 f, k. Q% u
  1775. ; http output encoding.
    8 C/ P7 w+ o3 V6 U
  1776. ; mb_output_handler must be registered as output buffer to function.
    - e. O) X; ?; z, @" @( V
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
      S7 L7 t: w" W
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output/ p4 p* H. b( z" t
  1779. ; To use an output encoding conversion, mbstring's output handler must be set& B% v5 ^! P3 F0 f6 W
  1780. ; otherwise output encoding conversion cannot be performed.+ \5 y* v6 j5 F
  1781. ; http://php.net/mbstring.http-output! {% q# Q) G( F9 o$ [3 @9 ?7 s
  1782. ;mbstring.http_output =
      o- t0 g! K6 C& q4 I7 m1 @

  1783. ! m+ x# N3 P& }/ \- ~! a  a) t
  1784. ; enable automatic encoding translation according to9 G$ G* S: J2 X8 ?+ ?6 t
  1785. ; mbstring.internal_encoding setting. Input chars are
    9 _9 Q$ {, z. D. q; \; ^; Q' D* u: N7 [
  1786. ; converted to internal encoding by setting this to On.
    0 N5 z, X( x. C6 y+ ]$ B$ w  y
  1787. ; Note: Do _not_ use automatic encoding translation for
    7 O' O" M4 X/ c- v  ^  S% ^
  1788. ;       portable libs/applications.& A3 p1 h+ N+ ]0 w
  1789. ; http://php.net/mbstring.encoding-translation
    ; ^! U1 Q* W: h. u
  1790. ;mbstring.encoding_translation = Off! K& h$ u/ a# Z  B  X& V5 r. \0 Y4 ~

  1791. 3 d. A8 A8 H* g% ~# ]
  1792. ; automatic encoding detection order.
    * E9 C% X% |/ W) ~  G
  1793. ; "auto" detect order is changed according to mbstring.language$ i0 R# W* S, W$ w/ i- G
  1794. ; http://php.net/mbstring.detect-order& q( _4 f+ C' d- v9 @
  1795. ;mbstring.detect_order = auto7 d3 ^0 G: ^' ^0 F$ c* K) ]" p2 J
  1796. 5 x! P: ~; t  g2 f, n# B0 R! O, L
  1797. ; substitute_character used when character cannot be converted
    - E6 S: d7 n: t! Y, y4 e" G* X0 v
  1798. ; one from another
    # Q& a7 J; y' K7 H  I! m+ D
  1799. ; http://php.net/mbstring.substitute-character
    ) `, R% m  \/ q6 E) L) c
  1800. ;mbstring.substitute_character = none
    9 m6 {4 V) |, {8 \( i6 T0 ]
  1801. . N3 G" P3 y  ?5 ~- }
  1802. ; overload(replace) single byte functions by mbstring functions.
    , r* a* }' j) }. U0 R8 Z' A
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),( r; p/ @$ K0 t* K- W- P8 K
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.# r! a4 i9 Q( Y6 O, E
  1805. ; For example, 7 for overload everything.
    " l+ n- K* e# k: |" v% S7 b, b
  1806. ; 0: No overload
    ) m" [" P) ^+ l% q% I+ Q5 n
  1807. ; 1: Overload mail() function8 m$ a7 }5 g" A, P: I7 {, [2 {; H$ [
  1808. ; 2: Overload str*() functions
    2 f* l" y9 h" K. e7 X2 H( J" g+ k
  1809. ; 4: Overload ereg*() functions7 d2 j0 o; J' N+ g
  1810. ; http://php.net/mbstring.func-overload! s7 q) F5 j6 V% R' E' P. w& f* {
  1811. ;mbstring.func_overload = 0
      C, X1 T1 x+ k' J7 R# l

  1812. + z+ I8 M6 _. y" t5 b1 B/ X
  1813. ; enable strict encoding detection.
    % r: S! x  W3 Q1 o6 d8 D
  1814. ; Default: Off0 L) X: X7 K' X: j1 g5 S
  1815. ;mbstring.strict_detection = On
    1 J& m- s" N1 m+ i
  1816. 0 ?" s/ r+ |$ o. k. `* i
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()- }% I; f' y* k
  1818. ; is activated., ~# g: p# ]. h
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)# C; F% N/ B# h% c5 R, t
  1820. ;mbstring.http_output_conv_mimetype=; O3 r' ~9 X3 X  Q& y$ c
  1821. 1 c9 f: C* [( `9 R
  1822. [gd]
      E1 T2 D+ H' F9 g. |5 p6 Y! Z
  1823. ; Tell the jpeg decode to ignore warnings and try to create1 R( V; c# ~; p! z0 ^# `" y" V& {
  1824. ; a gd image. The warning will then be displayed as notices  H1 @0 I( _. t% I/ F" s
  1825. ; disabled by default$ l, Y1 t7 W! t3 y' u" C
  1826. ; http://php.net/gd.jpeg-ignore-warning
    # S6 i7 Y1 `4 x9 T2 ]
  1827. ;gd.jpeg_ignore_warning = 0
    - R: `9 |* E3 r/ {" Y
  1828. ' J& f3 f* {& m
  1829. [exif]
    3 H4 [8 |: E, h; C% n6 Y/ a
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.! b8 ]2 q4 a1 X  [
  1831. ; With mbstring support this will automatically be converted into the encoding8 Y7 i6 Z0 ^# B" U: ^- X+ j
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding5 X: r/ ?( X" p8 [- G
  1833. ; is used. For the decode settings you can distinguish between motorola and+ t* |0 c' D+ a) P! `
  1834. ; intel byte order. A decode setting cannot be empty.
      W. h: [* h9 q0 q
  1835. ; http://php.net/exif.encode-unicode! F1 E- b7 X  k, j3 x  ?
  1836. ;exif.encode_unicode = ISO-8859-15
    / T& l3 B/ W% m9 ^
  1837. 0 n1 M! G+ ~4 S6 m) b
  1838. ; http://php.net/exif.decode-unicode-motorola0 p% p; e0 |7 ^( Q6 ]* x
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    ! c4 |- ^" s4 B1 y+ }6 x+ p; N% t
  1840. " [. z. Y4 S: e6 f/ H
  1841. ; http://php.net/exif.decode-unicode-intel
      C" l! }- ^' Y, ?$ x) k
  1842. ;exif.decode_unicode_intel    = UCS-2LE/ I8 v# ~# K/ @" i( t: n
  1843. 6 j0 |9 t% q/ B6 t
  1844. ; http://php.net/exif.encode-jis
    9 O3 C7 c: X* p8 V' q2 l# h
  1845. ;exif.encode_jis =
    ! n2 l7 S" U" r1 j
  1846. , D* `* K" A% Z2 H
  1847. ; http://php.net/exif.decode-jis-motorola; I! l9 h8 [& g* p) s! i
  1848. ;exif.decode_jis_motorola = JIS; \8 {, P6 S0 {' e6 l: M6 W
  1849. 7 z0 T9 A; K' {% C' Q
  1850. ; http://php.net/exif.decode-jis-intel* s8 |1 R. V) T4 D6 Z4 @
  1851. ;exif.decode_jis_intel    = JIS
    . h5 ~8 K9 B/ L4 T9 h
  1852. 7 C. Y7 {" y, g0 b% b" f* X0 `
  1853. [Tidy]
    ! i) S. i5 K) p) L' B1 q$ }# h
  1854. ; The path to a default tidy configuration file to use when using tidy
    3 k, P, U! p1 Q. G) ]
  1855. ; http://php.net/tidy.default-config2 _) P# O2 W0 O3 d4 _1 _2 v
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg# {- J8 G3 \  m; w8 R( b
  1857.   A8 Y6 E: i# L8 e! g0 F
  1858. ; Should tidy clean and repair output automatically?5 Y( b- B+ Q& |9 \
  1859. ; WARNING: Do not use this option if you are generating non-html content" f" N8 k3 E, H5 b
  1860. ; such as dynamic images
    : x9 V' R6 ~% ?- y: i# F$ ?
  1861. ; http://php.net/tidy.clean-output
    ; ?* r1 o# \' Y, H! F, Z, n9 i# a
  1862. tidy.clean_output = Off
    1 U" o' \7 m) R

  1863. 1 ^$ {6 U4 T, [" e, w
  1864. [soap]
    / W( Z. z6 g. ^( k) M
  1865. ; Enables or disables WSDL caching feature.; P- [$ K7 }% r4 `
  1866. ; http://php.net/soap.wsdl-cache-enabled
    # E- E* O1 V; j& S
  1867. soap.wsdl_cache_enabled=1
    - ~4 H  e" ?! T( `2 {0 ^
  1868. 5 b7 \! {, N6 W
  1869. ; Sets the directory name where SOAP extension will put cache files.2 V! R& y: ?7 _7 v* t* @7 K  Q
  1870. ; http://php.net/soap.wsdl-cache-dir
    / W  m2 x& M# O: Y3 x
  1871. soap.wsdl_cache_dir="/tmp"* G1 U  A' J/ E/ R

  1872. ' ]( Y  U+ X3 @
  1873. ; (time to live) Sets the number of second while cached file will be used
    " k- G, T5 r4 @+ u6 W% M/ v( R
  1874. ; instead of original one.
    ! }( C3 _/ Y6 l3 Z$ N
  1875. ; http://php.net/soap.wsdl-cache-ttl
    + h3 t- Q6 }2 ^) v
  1876. soap.wsdl_cache_ttl=86400
    5 t: d. \1 s6 K, s+ S
  1877. 0 t7 y- |" ]: X9 f
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    5 ?& z0 c# P6 a0 W
  1879. soap.wsdl_cache_limit = 5
    3 C% D, O( Q4 i* n3 P7 L% l
  1880. - `5 O7 N# D& Y' {9 c% V
  1881. [sysvshm]
    $ r8 r6 q; ^' l2 |* M) i+ l" f3 I% g- r
  1882. ; A default size of the shared memory segment9 b, L' J1 S0 A* f
  1883. ;sysvshm.init_mem = 10000
    ( @. W* A. _8 Z- [7 B' ~3 X3 v

  1884. + h9 z7 j: ^5 X* X; z
  1885. [ldap]. l0 [8 Z% U2 A$ @& k
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    ) O. x# c% D( t3 [( @3 B
  1887. ldap.max_links = -1
    ( g- H# C! z) V( O  x

  1888. ' C; p& d: n* J! R
  1889. [mcrypt]: V. n- y' `, _7 S7 k! J. }
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open* L2 O2 e) i/ ~! A& h4 R8 k1 A
  1891. ; y; w) K# v9 L7 M. R
  1892. ; Directory where to load mcrypt algorithms
    ; Y8 b# v3 s3 M5 h& {; m
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    $ b9 Z$ I) B' K" q
  1894. ;mcrypt.algorithms_dir=8 v! A2 \( D9 i* K

  1895. + C8 B5 G3 h' O
  1896. ; Directory where to load mcrypt modes
    % J# h/ R: d1 ^
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): x8 F& U/ ?; u- F
  1898. ;mcrypt.modes_dir=  k) a/ a) A# {; s. o

  1899. ) o) `3 A0 J4 }4 e6 n; X- w) `
  1900. [dba]
    * M: y3 }. C* m2 P1 k2 a
  1901. ;dba.default_handler=# n; v7 w, c, b6 |5 k

  1902. & f5 a3 Q% f0 c9 K+ r
  1903. [opcache]
    $ E! h# Z+ j& P9 a6 X; A
  1904. ; Determines if Zend OPCache is enabled+ B7 g; Z# @$ i$ }( Z) M9 n9 f, g
  1905. ;opcache.enable=0: g, d# c# V0 s" Z
  1906. 3 K9 Q: I: D9 v9 Z
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    0 r: {6 x5 C+ k6 `) W# c
  1908. ;opcache.enable_cli=0
    4 M  r0 Y. Q" T" q. w

  1909. * ]3 e. F/ G% F
  1910. ; The OPcache shared memory storage size.: n5 G3 o. G! @& |
  1911. ;opcache.memory_consumption=64
    # v& ~0 D: U; Z$ R2 Z

  1912. 6 }. T3 R2 m# w1 G7 a
  1913. ; The amount of memory for interned strings in Mbytes.
    5 p4 z$ x( Q! F& b9 ]& O% L
  1914. ;opcache.interned_strings_buffer=4
    6 b# H. u# m! d0 R) I' N! Q
  1915. " @2 R" _3 X$ l2 H- u# Z* q
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.  \7 |+ ^" M+ I5 ^/ W$ d9 q
  1917. ; Only numbers between 200 and 100000 are allowed.- v2 P" d  \; q1 U( Z, _; V
  1918. ;opcache.max_accelerated_files=2000
    6 z; n3 [2 ~) n, m, n: H# i$ H

  1919. 1 H' P( a2 D0 m3 G" D
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    $ t& j' O) Z( P, R* b: q
  1921. ;opcache.max_wasted_percentage=5
    " j% v+ L2 N: U2 w% Z" j9 S

  1922. ' n* B; x4 }. ?, {# Y% L% ]- f$ y4 `" S
  1923. ; When this directive is enabled, the OPcache appends the current working
    0 a. j9 Y1 [% v1 Z% s( m$ w
  1924. ; directory to the script key, thus eliminating possible collisions between
    8 F; w. m: d8 \
  1925. ; files with the same name (basename). Disabling the directive improves) d" {# K% f/ h/ E4 W# l$ r
  1926. ; performance, but may break existing applications.
    / U( W( t7 B# A
  1927. ;opcache.use_cwd=13 g# r" F- i8 p& J$ G

  1928. 8 d& h* B  Q9 _. y, r5 R7 Q$ r
  1929. ; When disabled, you must reset the OPcache manually or restart the& p9 A: I4 S* y2 e) t. o" s' ?
  1930. ; webserver for changes to the filesystem to take effect.( n5 U& I( ?% ]" _  k0 M% v7 J
  1931. ;opcache.validate_timestamps=1
    - V1 v' Y# m0 E' q. B% i5 Y
  1932. 3 M5 i' J- V9 `6 J% Z* Q& @
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    ( E% N( Y1 H7 O( z7 U3 c; b+ y
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    & d6 R- L' F' S$ |
  1935. ; once per request. "0" means always validate), r% g/ R# X# Z
  1936. ;opcache.revalidate_freq=2
    9 ^, J  o7 [: }, W0 p

  1937. ) S4 J& Y6 m% `2 i
  1938. ; Enables or disables file search in include_path optimization
    2 Z7 U8 T- A$ \: Z
  1939. ;opcache.revalidate_path=0
    7 |: W0 Q0 J6 B& g! E9 Q- |

  1940. 2 E) t" A2 B( F, h+ a, g& j, z! {
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    " q, |/ Q* W( J
  1942. ; size of the optimized code.) ~, Z2 `) `2 k$ N' N6 d
  1943. ;opcache.save_comments=1" X4 f) g! S" U: V: k3 H* m
  1944. - T& J9 H2 t7 ]( J5 G2 [2 s
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"3 B6 J5 Z0 h7 ]* y7 r/ a; t
  1946. ; may be always stored (save_comments=1), but not loaded by applications, @6 L4 \3 ~+ G8 S; m5 C3 e9 m
  1947. ; that don't need them anyway.
    . a$ t/ M2 P& v% Z3 |3 V$ U
  1948. ;opcache.load_comments=1
    , f) O% h$ B1 P7 Q1 v9 x7 L! x: s
  1949. 2 M& X: @7 U) A) S% u
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    $ ~* j$ g) @' x6 ~( F$ w0 f3 Z) R- l
  1951. ;opcache.fast_shutdown=0' D2 ?% b1 ?7 J+ J' j

  1952. : h" f* z2 a+ X( D& u) F
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    8 a7 D8 O) M- X2 r
  1954. ;opcache.enable_file_override=0. V+ l% I  u- v4 @, ^7 K# s8 U
  1955. 7 S. V2 X* O7 b2 W4 `
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache6 }. q& b' @- [5 e
  1957. ; passes
    7 G  x) h0 f+ G( }
  1958. ;opcache.optimization_level=0xffffffff
    5 S: q5 a) A, D7 @8 f

  1959. 1 V& T- n$ t6 c; b' k
  1960. ;opcache.inherited_hack=1
    ! n9 a+ P* _1 k0 f, ]! ^1 I7 V# @
  1961. ;opcache.dups_fix=0( O" |) J& c" X. K/ q. }3 A) t7 b9 t

  1962. ' i  a7 u: N; Z6 Z5 n$ g7 L, Z: _
  1963. ; The location of the OPcache blacklist file (wildcards allowed).; S/ a& J7 b; ~
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    0 g) T/ O7 u7 l. t0 Q
  1965. ; that should not be accelerated. The file format is to add each filename
    & z, u  c# Z% \. W) b* M0 y
  1966. ; to a new line. The filename may be a full path or just a file prefix
    5 L. c% y, f- H3 j7 ]
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www* J2 |. x7 b0 A* A2 w1 Z. t
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    $ q/ F) ]% \+ w
  1969. ;opcache.blacklist_filename=% x; P% P' h- _! o9 B

  1970. / \7 F! j1 _- [2 S/ `( \
  1971. ; Allows exclusion of large files from being cached. By default all files* d3 W7 u9 l0 b7 o
  1972. ; are cached.
    ( f; ]& z3 h2 g
  1973. ;opcache.max_file_size=0
    : K& Y1 b& g- @6 a6 f  J
  1974. 9 H! \% ^. o7 Z2 y1 f) L# j- j
  1975. ; Check the cache checksum each N requests.% h; E8 }% W! H/ }! p, p& Y% E
  1976. ; The default value of "0" means that the checks are disabled.
    + k. H/ F. \& Q& a$ }$ y
  1977. ;opcache.consistency_checks=0
    # e( q- H6 e4 w4 z* n1 A
  1978. . e! J- O: U1 b5 r4 Q3 {) ^
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ( y3 J3 D% r$ x/ ?: b& o
  1980. ; is not being accessed., _4 j' ^. ]8 J" z: E/ l# U
  1981. ;opcache.force_restart_timeout=180
    8 m8 Z3 {+ n5 ]4 \7 \2 U
  1982. 0 o. m/ g" J" s
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    8 V, H1 t9 p! p4 y1 H5 [
  1984. ;opcache.error_log=; p4 P7 @5 _5 y; T2 H
  1985. # Z# d8 F7 h* p9 D! u7 h& S8 l
  1986. ; All OPcache errors go to the Web server log./ Q" y' l: V7 j
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.- z) R* l+ K& N# a
  1988. ; You can also enable warnings (level 2), info messages (level 3) or+ ]7 U4 [" ^* _) v: F
  1989. ; debug messages (level 4).
    4 X: e3 A0 v, g
  1990. ;opcache.log_verbosity_level=1
    5 d: }4 F  d# |; N! D3 r. ~
  1991. 6 c8 F: Y# v) X' B+ f
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    * A9 A2 H5 D* t: ^3 z
  1993. ;opcache.preferred_memory_model=
    ) Y2 W4 B! @5 z# q' q

  1994. + d( K. H3 T8 f) P
  1995. ; Protect the shared memory from unexpected writing during script execution.
    $ A' H9 ]" m- Q
  1996. ; Useful for internal debugging only.
    / h+ }+ l, P9 ?" R8 `1 n
  1997. ;opcache.protect_memory=0
    8 U. b" I1 u0 ~' }7 F3 j) \

  1998. ) m+ ~& @9 P4 }: g' ^
  1999. ; Validate cached file permissions.* j$ Y; o. h3 O2 _
  2000. ; opcache.validate_permission=0
    5 v- G- y4 W3 Y7 a
  2001. , {2 Y6 P# U) z9 e/ S1 D6 H' ?
  2002. ; Prevent name collisions in chroot'ed environment.* a% A* |: {1 E" Q* f
  2003. ; opcache.validate_root=0) o: D+ J0 w! o, q9 i* ~

  2004. * s1 X+ C  e: T; m0 d, @/ u- s
  2005. [curl]- u3 L+ `' |2 ~2 g
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an  [4 G3 r  A' j4 |2 J* M8 u; ]$ S9 x) H9 Q
  2007. ; absolute path.
    # ]; ]: a8 c8 G6 n+ ]: {' T, N
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt; D  ~$ z3 [% }
  2009. + u7 ]: O% z: r6 e4 O  L
  2010. [openssl]
    7 j6 K% j( }  a6 n
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem1 C' u% b$ H5 |# F
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should) x8 q6 e7 v  @5 x9 n# j3 V+ U: y2 b+ \
  2013. ; not specify a value for this directive as PHP will attempt to use the- ]: n( v6 N& O
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    1 z( E0 t$ m6 H! u5 k3 P
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context, X1 V: ?. {* R3 u! E# v! v
  2016. ; option.
    3 J% V3 v9 @1 y! T' S2 ]- e
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 z. Y% |8 ^# z' w: y
  2018. 8 p! X# g+ ^/ I( x
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    * b( J# l3 e: r0 w. S! x% T
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    # n, }; }6 \/ O" \4 g0 u2 O2 t
  2021. ; certificate. This value must be a correctly hashed certificate directory.$ @4 O+ N: T6 }# @* G9 a* P
  2022. ; Most users should not specify a value for this directive as PHP will
    8 R. B0 ^2 ?5 W( N9 N2 x' q
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    / |" E, W( X& u+ `
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    1 Z  y3 N; p0 L: m
  2025. ; SSL stream context option.4 R8 W$ q' G4 [* D  U
  2026. ;openssl.capath=
    " s( _4 F% Y9 o
  2027. ! ?( \5 {$ K3 @# f( M+ u* i
  2028. ; Local Variables:6 D! D7 w/ G0 n6 x) F
  2029. ; tab-width: 47 ?' u! X' R/ G* K
  2030. ; End:; T2 ^. Q8 S* X$ E, R3 `4 R
  2031. , @2 m7 z! ]2 J. s; e5 f
  2032. ;eaccelerator5 A2 J- H8 r/ k

  2033. - F' ^- ]4 U& P3 O1 ]# G
  2034. ;ionCube
    . Z7 H: q/ }, r6 g3 W' t: q

  2035. ' D0 @  ~$ i9 g  R! D2 |
  2036. ;opcache$ X9 x# Z2 i% {+ V
  2037. 3 c3 k: I: k' Y1 P2 @  d& t
  2038. [Zend ZendGuard Loader]
    8 h% s% E! ^+ a: L
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so4 Q8 u7 Y3 j% s' w4 y. C
  2040. zend_loader.enable=1
    . ~5 N8 l4 l9 D, F% ]
  2041. zend_loader.disable_licensing=0
    / r/ l; d( c' R0 }
  2042. zend_loader.obfuscation_level_support=3; g1 }' x5 i" x) j& o- E7 F
  2043. zend_loader.license_path=
    & F7 g$ u6 |2 T2 p

  2044. 4 @' u9 E# b8 G% g. r6 `3 E: S' ]/ |
  2045. ;xcache2 ]: ?" t! C8 Y: Z4 F
  2046. . R' J, y8 [# I+ ~( x; y9 s
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
/ ~9 Q  _( X+ E; E8 y) X
0 D' ?+ F* v9 r8 S5 N
) p$ d: i, c) y; M7 F; E/ y+ ]Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
7 A1 _! R9 T1 ?  e) o& g
( F! J% B2 ]% Y" s% DDiscuz!程序版本选择:' w+ A/ j; g& n5 [" _
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
. {0 J# g  X7 U+ ?7 Q3 G不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
: p/ I. y+ s* wDiscuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。# l# w2 C! s- \" n8 ^

* ?1 C, ]  H' B$ z* d1 t; lDiscuz!插件模板版本选择:
. |) K% F6 I4 G) p很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,) L" Q& y$ @& r* r  F% ~: u
针对这个问题做个统一的普及:# U8 g4 F3 _6 Z& v  ]' r% o0 m9 r
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。& Q  T* i, p: N% i/ `. w6 k

2 w; N9 Y" t. b) |) [1 L0 p# W/ n所以
: n2 B% ?" a2 j6 T' w' D5 W' y适合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的二级域名。
7 T% @+ D  `0 `5 H; j4 e+ s打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
% j9 t; d8 Q( K" W$ Y/ ?/ A注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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