分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.01 A& g3 J* N2 j/ b1 R4 E0 l: G

8 R- O# O& l) r. M
  1. [PHP]8 Q8 s% z* f# j1 `8 C

  2. * k% `, r1 X7 e) A, L
  3. ;;;;;;;;;;;;;;;;;;;
    " b, p/ ~3 s# G
  4. ; About php.ini   ;) a3 ?" B& v- y, M4 l& z/ D
  5. ;;;;;;;;;;;;;;;;;;;: f) W* u/ c6 r+ V
  6. ; PHP's initialization file, generally called php.ini, is responsible for( o: y* B  V7 |
  7. ; configuring many of the aspects of PHP's behavior.
    , @! R- l+ c% H

  8. ! Z" G/ G; A5 _
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ) x0 H" T3 Q. x- q
  10. ; The following is a summary of its search order:
    & Y. r2 m4 {; x( x" U
  11. ; 1. SAPI module specific location.
    9 K/ Y$ T" _- d3 p
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    + t' r" N( |( }5 N: S) c6 @
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    . E0 l2 x8 i+ ^
  14. ; 4. Current working directory (except CLI)
    7 p  L6 Q: S7 G- v  N. x$ `
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP) y1 ]/ R+ A# Q2 h
  16. ; (otherwise in Windows)2 O' o( W% C- O$ i8 K* A4 k
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    7 \: ^4 V  ^' \1 v
  18. ; Windows directory (C:\windows or C:\winnt)- H/ G7 `2 U0 L+ ~. r" p6 S, Y2 H
  19. ; See the PHP docs for more specific information.
    " V9 U8 N. R- ~% r. h) y
  20. ; http://php.net/configuration.file
    " @; j  b1 G3 O3 j# [

  21. 9 D/ `$ e+ Q! Q5 R. F
  22. ; The syntax of the file is extremely simple.  Whitespace and lines8 F( w3 U5 u, q. i' q- N- {) H
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    : k+ J% L8 g# h, f% Z+ P9 V
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    6 g, }% l- R  A& q5 p
  25. ; they might mean something in the future.
    ' T1 w* a' L$ w, l. O1 \
  26. * e# q5 E) v6 e/ P6 C0 ~
  27. ; Directives following the section heading [PATH=/www/mysite] only
    # X# i1 \2 N0 p4 I+ n( c
  28. ; apply to PHP files in the /www/mysite directory.  Directives  B( x8 t5 e+ V
  29. ; following the section heading [HOST=www.example.com] only apply to: |& }! }2 d/ Z6 Z8 }' e1 u5 |
  30. ; PHP files served from www.example.com.  Directives set in these0 p: X4 R  y/ e* q* a) Y
  31. ; special sections cannot be overridden by user-defined INI files or
    ( `; Y' y+ g7 b6 m' z9 x
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under; g0 S! Y+ Y/ P2 c0 ?
  33. ; CGI/FastCGI.
    9 U* Y: }. {% c. c; w
  34. ; http://php.net/ini.sections3 W7 p5 D3 t9 S# {; l: z" C

  35. 8 H2 g+ z9 b- d  ^' X0 d9 _) K3 U& N
  36. ; Directives are specified using the following syntax:
    % K5 v# q# _- R; Z* k1 A. |; r5 F
  37. ; directive = value
    + R2 e2 z2 s8 l' B0 T# a$ z
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    8 s6 m! Y: c2 R
  39. ; Directives are variables used to configure PHP or PHP extensions.0 P  A9 @* k) `# u' K
  40. ; There is no name validation.  If PHP can't find an expected
    ( b, k/ S0 r: E8 a! l" t
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ! n9 h3 _9 C! c( C5 q, N

  42. & w# g6 B6 D$ m+ a1 E
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    * D, Q/ E$ U) P, }
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    % l/ I& |% a( u5 m+ \" l4 S. q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ; [3 y- c9 T& ?3 W8 M. t
  46. ; previously set variable or directive (e.g. ${foo})
    8 }' E/ D( y! O: @, c
  47. 3 d. B0 Z' i0 z2 ]7 a" m. E$ c
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:; H! M2 L1 W0 E$ J& b
  49. ; |  bitwise OR
    2 s* p, n! ^& Q3 M* a, g" ?1 _
  50. ; ^  bitwise XOR
    * @4 o' h3 G6 c+ r
  51. ; &  bitwise AND
    9 G% p+ ]  M% o; Q: H9 e: _- |
  52. ; ~  bitwise NOT
    + ?8 U8 d8 v8 _/ I
  53. ; !  boolean NOT
    ; C& s. @% Q$ V
  54. $ C% Z: e' K: B
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.+ n+ _* W, ~/ o' v5 C' s% D
  56. ; They can be turned off using the values 0, Off, False or No.% i4 s& Z8 Z: ?) o2 N

  57. 5 p* e! q4 R. O1 `5 S
  58. ; An empty string can be denoted by simply not writing anything after the equal* I( n9 J$ k. u# ^) O
  59. ; sign, or by using the None keyword:" W4 w+ E* C6 c3 Y, s1 t- Y, @1 c
  60. 6 V6 ]0 c$ t3 I1 k/ {# X- B3 |, t0 U5 D5 V
  61. ;  foo =         ; sets foo to an empty string
    2 S9 w: U8 Q# @6 ~! Y
  62. ;  foo = None    ; sets foo to an empty string" Y# A4 T- j0 N3 S0 R
  63. ;  foo = "None"  ; sets foo to the string 'None'/ o0 m1 E8 _) R
  64. + K8 B8 V3 a! r4 X1 l
  65. ; If you use constants in your value, and these constants belong to a* o5 \4 L' R* m3 \
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),6 \$ ^" A# A5 t7 W4 G+ n, d
  67. ; you may only use these constants *after* the line that loads the extension.
    6 x! {6 ~# Z& w: [8 A
  68. 5 p3 ?+ ^7 C" `; [4 W/ i
  69. ;;;;;;;;;;;;;;;;;;;. C1 m; r- A* X& _8 R/ }4 X) X
  70. ; About this file ;6 s. q$ a8 a7 [& t8 W
  71. ;;;;;;;;;;;;;;;;;;;
    2 `1 t+ V( ]5 N  O! F  C1 F  ^
  72. ; PHP comes packaged with two INI files. One that is recommended to be used! h2 m4 |7 o8 }# P
  73. ; in production environments and one that is recommended to be used in9 a& V3 S7 b0 a. j
  74. ; development environments.
    6 _4 |0 J/ g6 R

  75. " r. A' K% e9 S6 Q) U0 W
  76. ; php.ini-production contains settings which hold security, performance and) R- v  B! V% r& H
  77. ; best practices at its core. But please be aware, these settings may break" p9 v  J: g3 k0 g
  78. ; compatibility with older or less security conscience applications. We. X4 ?) w5 `1 E$ f( Y5 {
  79. ; recommending using the production ini in production and testing environments.
      b1 g$ T- H6 F! n  o/ i$ }

  80. % r  f) v* z9 e# \3 ]5 |
  81. ; php.ini-development is very similar to its production variant, except it is
    : B/ w% l. z* W: j" W+ R
  82. ; much more verbose when it comes to errors. We recommend using the
    : @' Q2 {( f- s' d- O9 F
  83. ; development version only in development environments, as errors shown to
    + M9 i# P$ q' x3 M& J- \3 [6 ^
  84. ; application users can inadvertently leak otherwise secure information.4 ^, p+ T* W' t" T. T; B$ d; g
  85. & s7 L* u* ]) [, P! h( H+ B/ `" E
  86. ; This is php.ini-production INI file.
    7 J4 d% D, K1 V
  87. % t: H* g6 V0 m& A0 \  B
  88. ;;;;;;;;;;;;;;;;;;;. N6 n+ q+ D6 G$ I/ m. ]" E
  89. ; Quick Reference ;6 A3 {& x9 o7 S* p# c" i4 d8 P
  90. ;;;;;;;;;;;;;;;;;;;2 \( w9 Y9 K2 f
  91. ; The following are all the settings which are different in either the production
    7 n) \* I1 Y8 p2 V1 F) |1 V- C1 v, q
  92. ; or development versions of the INIs with respect to PHP's default behavior.6 s# f3 P+ D5 D: h
  93. ; Please see the actual settings later in the document for more details as to why
    - x* \+ Z+ O, P7 k& U
  94. ; we recommend these changes in PHP's behavior.2 H1 I6 f/ g, x+ [) G
  95. $ j7 _6 e. ~$ l8 {* L2 G3 j: V. o
  96. ; display_errors8 b3 a" \5 H/ v- W' b) X6 V/ ]
  97. ;   Default Value: On* N) V! {$ `9 G1 U- ^2 S0 R
  98. ;   Development Value: On
    : [: ~3 b2 ~9 A/ T, p
  99. ;   Production Value: Off
    . S( y6 C( y1 z! e
  100. 3 d' i: a, g# @! V9 M
  101. ; display_startup_errors
    ) ^# h  s6 G% q' J7 f+ i
  102. ;   Default Value: Off
    , ^3 Z  u# Y! v
  103. ;   Development Value: On& e$ e5 D$ `3 u6 g3 N$ T( F1 [* G
  104. ;   Production Value: Off
    $ E( g8 k# v4 t+ ]% Z
  105. ) }, j+ W: {+ R) Z  U
  106. ; error_reporting
    ( I" p. P7 E; O, j
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED" _% |2 u# m7 J9 s
  108. ;   Development Value: E_ALL. T1 ^1 z1 `- D+ B
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    $ g  E+ D8 A) ~
  110. $ d5 S" P$ J9 e% K
  111. ; html_errors' g6 ^  @) B7 j, o
  112. ;   Default Value: On
    $ ]! Z3 z$ K9 i, `3 B* a5 t* Y  n9 {
  113. ;   Development Value: On; Z  o/ _- E; ^/ d2 J5 b/ _  }: B  l
  114. ;   Production value: On
    6 r9 y2 f0 r7 W* ?7 O1 Y/ G

  115. , Z) j6 H3 E' r5 o2 T0 k
  116. ; log_errors
    & t& k4 D/ j2 ?" s4 \5 |8 f) i
  117. ;   Default Value: Off
    4 n4 t& N/ \( w5 A. Q
  118. ;   Development Value: On: s) l( O6 y/ J) }2 c
  119. ;   Production Value: On
    % E/ ?+ ?1 d5 q. `

  120. ( z6 b; f* k; f% s; d' R0 Y
  121. ; max_input_time
    & Q/ ~) f6 G9 n  X8 t& ?. |1 x( g- B
  122. ;   Default Value: -1 (Unlimited). O% W  J3 M2 A# F
  123. ;   Development Value: 60 (60 seconds)
    * m) B5 q8 ]* y: H2 V6 ~/ B
  124. ;   Production Value: 60 (60 seconds)
    1 a& Z0 ]* k  }) X2 a

  125. + `! P+ {- T! ~. r4 V  E; U3 d
  126. ; output_buffering
    9 I: O9 |% F. Q3 L5 j
  127. ;   Default Value: Off
    % R' p* m( H2 \8 m
  128. ;   Development Value: 4096! t+ u1 N6 P5 j1 k8 \0 i! {7 E" q
  129. ;   Production Value: 4096
    . F$ S: D" B7 q* L; ~# D

  130.   a6 ^. S; U2 i
  131. ; register_argc_argv
    7 J$ [# i$ ]2 {  l4 ^, T3 Y  s
  132. ;   Default Value: On
    : b" A  J, r& G  T1 p: p
  133. ;   Development Value: Off
    + o$ U  Y! w9 Q8 ]7 M7 ^0 B0 Q
  134. ;   Production Value: Off
    & k( R4 i* \# ?
  135. % t1 ~4 d! {5 t, Z
  136. ; request_order
    ! N& z. a% i' p0 n; }# g
  137. ;   Default Value: None
    ; A- E; W% |) C3 i+ H1 p0 N0 g
  138. ;   Development Value: "GP"
    " n- c( |: r* U& z: o& |
  139. ;   Production Value: "GP"
    ' H2 R& s8 X2 V7 V
  140. 7 ~$ A. v1 W+ J" y  B" I: L
  141. ; session.gc_divisor
    ) g1 W* V3 j/ N/ L- x, c
  142. ;   Default Value: 100
    2 K3 A" \: x) l$ A+ n, F
  143. ;   Development Value: 10007 e1 f) F% t6 F; q6 o/ w
  144. ;   Production Value: 1000
    0 j  N% v6 Y/ w& a8 m( a0 T
  145. # f+ C8 X& `9 W( V6 r
  146. ; session.hash_bits_per_character
    - O6 `7 t9 M- k
  147. ;   Default Value: 49 O# R3 K( o& F9 f- o2 }
  148. ;   Development Value: 55 C/ @7 G0 U; g( u9 W  J  E0 ^
  149. ;   Production Value: 5
    ; D' O7 U. l4 d; O+ E& l

  150. 0 R1 K) i8 W7 z
  151. ; short_open_tag, B; f& \0 N- O4 \7 E( S; n, ]. ~3 }
  152. ;   Default Value: On% {$ ^) G4 V! p, i5 R7 s6 _
  153. ;   Development Value: Off
    7 U2 [: a+ f3 Q8 u' x0 N+ p; [
  154. ;   Production Value: Off0 e; \' N: ~/ R. {4 A* h* K! d
  155. ) ?# U! b, B6 ]: B+ `& v( `9 I, x& P
  156. ; track_errors
    6 P: }% p( S2 n# ^% H% A. G
  157. ;   Default Value: Off% a  l. G) n& o) Z) C  F" @
  158. ;   Development Value: On! y8 t; ^) f# B: @0 p/ P
  159. ;   Production Value: Off
    8 Z$ _  s. ?( |: m* l
  160. . X% A. I  ~& E* e
  161. ; url_rewriter.tags& g$ i9 Z: q% ]% r$ z4 `* }# k
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ) e2 t1 C' S# i3 U
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + _! ~2 p4 E" G$ e5 c! V( Z( _
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"3 b& v, r7 L  D* p! d  x4 h1 ?

  165. 1 b) ~% x6 n" {5 X0 O; n! P
  166. ; variables_order
    * t. }5 D! v" M( Y2 d
  167. ;   Default Value: "EGPCS"2 q/ s: i# ?. O3 j* X$ n' B9 A
  168. ;   Development Value: "GPCS"; p/ b* T$ X' I4 f# k0 Y- T
  169. ;   Production Value: "GPCS"8 A; v* w' G$ E3 J5 M# O
  170. ; n- x' w5 R* X1 j3 ^9 d; _- v
  171. ;;;;;;;;;;;;;;;;;;;;
    / }& f9 i  E  G9 w! F) @( I
  172. ; php.ini Options  ;' r) ?  w0 r% A4 M: X
  173. ;;;;;;;;;;;;;;;;;;;;( v+ ?# g+ ~: [6 Z: _4 ]8 @& h
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"7 |4 Q' r3 b7 T
  175. ;user_ini.filename = ".user.ini"
    , k: L- L5 e2 g7 ^9 ~; b3 S

  176. 2 G* C1 U/ c. T
  177. ; To disable this feature set this option to empty value
    6 z1 w1 P. m; b; W" r0 @# B: ~9 |
  178. ;user_ini.filename =" e# Z0 Q* R1 W. ^

  179. * y' f: {% I! I& U6 ?( L/ A
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    % m4 J: G& B5 g/ b
  181. ;user_ini.cache_ttl = 3001 L' ?) S+ o8 N& h( b
  182. $ Z) R( L% E; G
  183. ;;;;;;;;;;;;;;;;;;;;$ V/ y7 t! |3 r+ k% K: a6 M
  184. ; Language Options ;
    ; E; ^5 t+ \$ T4 F' ]
  185. ;;;;;;;;;;;;;;;;;;;;9 y- @5 M. k( d; r5 W

  186. " f( T" y" D4 U
  187. ; Enable the PHP scripting language engine under Apache.
    . Q2 ~# P: I! R1 Z: p. g
  188. ; http://php.net/engine
    . `/ S; J& j) i! J, i$ Z; R
  189. engine = On  ~1 a( r: `" n& w% _
  190. " ?& o. i. G. a  `
  191. ; This directive determines whether or not PHP will recognize code between# h# j: z* A  C5 M! t
  192. ; <? and ?> tags as PHP source which should be processed as such. It is* c0 @+ \# f5 Q% i/ i" ~9 F6 O/ x
  193. ; generally recommended that <?php and ?> should be used and that this feature
    9 X+ I9 }, M- K) z9 Z. }( ]8 U/ S" Z5 l
  194. ; should be disabled, as enabling it may result in issues when generating XML
      N8 {2 _3 F+ n5 o9 U
  195. ; documents, however this remains supported for backward compatibility reasons.
    ' E( L$ U8 Y9 l. P0 ^9 L" u0 Y: H& P$ Q
  196. ; Note that this directive does not control the <?= shorthand tag, which can be8 g5 r2 A& D: E$ g
  197. ; used regardless of this directive.
    . A4 D- V) l( _) j5 A
  198. ; Default Value: On
    0 X7 D- c7 P; d
  199. ; Development Value: Off
    ( G7 g6 c- ^' _+ P
  200. ; Production Value: Off
    ) L0 t  \! s5 r2 j! p
  201. ; http://php.net/short-open-tag; i" s$ H0 x' p. ?
  202. short_open_tag = On
    * k. j5 i9 Q2 A; L' l, G6 D

  203. 5 b6 W+ K, A; x3 o% B+ q) E" G$ a0 Z
  204. ; The number of significant digits displayed in floating point numbers.
    3 ?7 g  ]) g5 ^1 \: c# z
  205. ; http://php.net/precision
    % W6 C3 p7 Z! q  b1 s
  206. precision = 14
    $ d; U9 R7 z+ x6 b' Q
  207. % R* D* @) r4 \* Y  B. l9 J
  208. ; Output buffering is a mechanism for controlling how much output data
    ( i6 c- g& Q# N) n- L3 m7 P$ t( h
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    / @4 P3 ]. a- q# w/ m
  210. ; data to the client. If your application's output exceeds this setting, PHP# y; F( i; Z! `
  211. ; will send that data in chunks of roughly the size you specify.) R, S( T5 G: d
  212. ; Turning on this setting and managing its maximum buffer size can yield some( u' ~* i" M. A
  213. ; interesting side-effects depending on your application and web server.
    % b$ }4 Z, B" x' n4 Y# v3 n" \& C
  214. ; You may be able to send headers and cookies after you've already sent output7 ]8 M$ x' f1 f" P5 p) C! }
  215. ; through print or echo. You also may see performance benefits if your server is. w* Z" w, h- g! z
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    ) {# E# [4 m7 Y5 b
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance. _3 H- |  k9 V" A
  218. ; reasons.9 L, N% B+ B" ^5 w* S7 j$ P
  219. ; Note: Output buffering can also be controlled via Output Buffering Control( {/ B$ T0 p" ^) l. }( O$ [
  220. ;   functions.( l4 Y) C6 _3 H& N" Y
  221. ; Possible Values:
    . T' b- S& ~, A1 w3 T3 {
  222. ;   On = Enabled and buffer is unlimited. (Use with caution): U: V, S% k0 P! ~* p
  223. ;   Off = Disabled
    ; ^* Y% W# B- e8 e* Q! d7 E
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    % K6 {! |3 o: P$ r: j
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    0 t' B! L! a5 }0 ~1 h: G$ M
  226. ; Default Value: Off* q( t( w4 j. d$ O) G; ~( i7 d
  227. ; Development Value: 40962 s/ A+ b" Y" u8 E" ]" ^2 S
  228. ; Production Value: 4096( c5 k5 m/ |: |9 F4 M, U
  229. ; http://php.net/output-buffering
    9 B. ^1 P, `; z8 M; R& u' D$ z. y
  230. output_buffering = 4096
    # D% ?7 D( d; E# c

  231. " j. m, H) ^0 ~0 V& R
  232. ; You can redirect all of the output of your scripts to a function.  For8 t& B0 f' m- O7 I  ?
  233. ; example, if you set output_handler to "mb_output_handler", character% Z3 b4 h4 h0 a5 u! n1 s( a* a
  234. ; encoding will be transparently converted to the specified encoding.+ h, Z* S# Q9 y+ U/ t
  235. ; Setting any output handler automatically turns on output buffering.4 z8 Q& h( f; D+ I) R0 d
  236. ; Note: People who wrote portable scripts should not depend on this ini
    3 B2 G+ ?, w9 \! F8 W' w: l
  237. ;   directive. Instead, explicitly set the output handler using ob_start().' U) h8 }4 x4 S7 a# l0 X
  238. ;   Using this ini directive may cause problems unless you know what script, s8 u/ ?% _: N( t
  239. ;   is doing.
    ! ?5 Q  x# C5 e# }3 Z" W; h
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"7 c2 f! r! l7 e+ W/ K
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression"., }) g& J1 j! J& s8 Y+ b$ Q4 c
  242. ; Note: output_handler must be empty if this is set 'On' !!!!+ f, n  A- Y) t) N+ j
  243. ;   Instead you must use zlib.output_handler.0 @$ @3 \) e( g1 P- E# }
  244. ; http://php.net/output-handler
    6 ~. p0 i9 H* X5 V# v
  245. ;output_handler =
    - r2 o9 N, y( T9 z& X
  246. ' N3 I* Y4 n$ q" F, V' z2 h
  247. ; Transparent output compression using the zlib library
    5 t5 Q3 A% U. r9 l! Q3 U
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size$ R0 T* N. e4 D* F6 o6 z5 J! ?/ T
  249. ; to be used for compression (default is 4KB)
    ; E' Q8 M- K- D8 G9 O
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    / D( g( [9 a; R1 j" m# ~
  251. ;   outputs chunks that are few hundreds bytes each as a result of9 i& p7 y6 r( w2 E# \1 P
  252. ;   compression. If you prefer a larger chunk size for better6 M6 u5 f: h5 K; w5 J7 P# N
  253. ;   performance, enable output_buffering in addition.# V2 o) c7 F0 H" J6 u& \8 X
  254. ; Note: You need to use zlib.output_handler instead of the standard
    , U( q  T' Q5 m" c! r, e
  255. ;   output_handler, or otherwise the output will be corrupted.+ n) x5 G. D9 a4 h3 n' m
  256. ; http://php.net/zlib.output-compression/ k; y4 L! j2 a4 v5 W  \2 j
  257. zlib.output_compression = Off
    * u. W1 ^) Q. G3 {

  258. 4 K7 {$ @" Q$ k4 N3 [: ~
  259. ; http://php.net/zlib.output-compression-level' k6 C/ n6 y" n! m4 m6 ]
  260. ;zlib.output_compression_level = -1
    / F: o5 h2 }; Y% U1 D
  261. 8 [7 U5 L& B( R* x) a$ f2 P
  262. ; You cannot specify additional output handlers if zlib.output_compression5 r4 W! v+ H0 c( C8 P& r/ a  p
  263. ; is activated here. This setting does the same as output_handler but in- R9 o0 n3 x3 B3 w5 ?
  264. ; a different order.
    8 v5 V" m+ m7 a; V# g8 s- Q( v' u
  265. ; http://php.net/zlib.output-handler7 r" @# C. {8 B
  266. ;zlib.output_handler =- ?; G) I+ X0 d3 e  @

  267. 5 _2 B4 k  I/ O/ a$ ^' X0 [
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    6 U$ U/ S  \8 Z6 x+ W  ]- F7 m
  269. ; automatically after every output block.  This is equivalent to calling the  R# y. v: Q9 s- b7 ^, H; B
  270. ; PHP function flush() after each and every call to print() or echo() and each
    ; L# b* H+ C' }: r+ E6 L1 J! O
  271. ; and every HTML block.  Turning this option on has serious performance7 ~4 c0 z- T6 f+ y8 W
  272. ; implications and is generally recommended for debugging purposes only.
      D; r" e. U: A; ]- X$ S" E5 C
  273. ; http://php.net/implicit-flush
    3 y/ n8 s) w) U3 `5 A9 g3 O
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    * x  ?8 f" r4 d( S+ S7 f3 n1 f: r
  275. implicit_flush = Off
    5 I9 }1 s3 o& d5 `, C; ~% \

  276. 4 W/ h  }! @5 z1 \
  277. ; The unserialize callback function will be called (with the undefined class'/ y, _8 W3 w- n' j9 S2 O
  278. ; name as parameter), if the unserializer finds an undefined class
      }7 G8 v% A: f( T( q- s6 V
  279. ; which should be instantiated. A warning appears if the specified function is
    4 Y' Y" X; t% n7 c: L/ R
  280. ; not defined, or if the function doesn't include/implement the missing class.5 N' V' R; Q: L* I6 x# x5 R
  281. ; So only set this entry, if you really want to implement such a! V% J' ^- y, S5 ^& r  I
  282. ; callback-function.$ c* K$ W& n8 B8 d
  283. unserialize_callback_func =
    1 ~1 C( L3 i! y6 g/ q0 Z

  284. 2 ?1 C8 P, D+ `, T4 m) z) |6 x; j
  285. ; When floats & doubles are serialized store serialize_precision significant+ v5 }* K, L# `3 q/ S
  286. ; digits after the floating point. The default value ensures that when floats
    1 D& C* J0 H; x/ ?: `! K
  287. ; are decoded with unserialize, the data will remain the same.$ r) c, ^2 F: [. D2 u
  288. serialize_precision = 17
    ' ^0 u* X' J. e0 ]: N5 d( |% N

  289. ! _. e1 r5 ?- ?4 N- Q
  290. ; open_basedir, if set, limits all file operations to the defined directory% X0 Q6 ~+ @# F+ m/ t+ h0 q
  291. ; and below.  This directive makes most sense if used in a per-directory/ b7 F9 L& E  f# Q" o6 z4 L4 a  S
  292. ; or per-virtualhost web server configuration file.' ?; Q0 [6 X+ s$ _2 N
  293. ; http://php.net/open-basedir+ H) k7 h+ U$ A5 W. S' b) v
  294. ;open_basedir =8 ?5 m3 V  g5 }) E/ s; j
  295. 4 y+ ?- P' a( J* L7 s7 b
  296. ; This directive allows you to disable certain functions for security reasons.+ {& F7 e7 O, Y  ]
  297. ; It receives a comma-delimited list of function names.5 o/ _, p# D3 k8 P% h- d* l6 J
  298. ; http://php.net/disable-functions$ h# C8 `( w7 }4 d
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru  h* @+ a% z9 v( ^" s

  300. ( p: b$ d" S! d) |
  301. ; This directive allows you to disable certain classes for security reasons.
    $ Y7 W# K7 l4 _' q% o1 d- m+ C8 a
  302. ; It receives a comma-delimited list of class names.
    ! y8 H% Z8 P% }& v/ m
  303. ; http://php.net/disable-classes
    9 `5 v7 Q) m6 D: U
  304. disable_classes =: d% w1 J& y# q

  305. 5 w/ H6 \2 E. r9 v+ u
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in# ^% y& g  C. t7 p5 {
  307. ; <span style="color: ???????"> would work." _$ A8 l7 {/ G. I
  308. ; http://php.net/syntax-highlighting
    * {9 G7 g2 X  a. T, u1 K, p1 U/ T* u
  309. ;highlight.string  = #DD0000: `, o  `% Z) X+ V) v2 d
  310. ;highlight.comment = #FF9900
    9 b! m% C- O7 T, u* H: D
  311. ;highlight.keyword = #007700/ |4 r+ N) L8 O/ M6 ^
  312. ;highlight.default = #0000BB0 j" l, s2 z" W1 a: d, u# a
  313. ;highlight.html    = #0000004 K3 J; v+ f2 K/ N3 p, M* r
  314. 7 [- q" I$ `8 d9 e8 ?0 O
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    , T3 a# x( Y/ ^+ j/ _
  316. ; the request. Consider enabling it if executing long requests, which may end up
    , C' l' M" x, m
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior0 S. P2 S8 m' Q& W7 o" }
  318. ; is to disable this feature., r; d" c9 W: f% i
  319. ; http://php.net/ignore-user-abort0 I# s% M; W* e. V$ Z
  320. ;ignore_user_abort = On8 a" k! O+ W. Y3 E( t4 W

  321. ' ^& G, s3 N9 Z# v5 R, L
  322. ; Determines the size of the realpath cache to be used by PHP. This value should9 B; y; E" m6 M9 j! ]
  323. ; be increased on systems where PHP opens many files to reflect the quantity of3 q! }# K6 Z% i, p) L
  324. ; the file operations performed.: {/ g  s/ b, [' s7 C1 A
  325. ; http://php.net/realpath-cache-size
    $ q" T) j) W) d  x
  326. ;realpath_cache_size = 4096k) k" v5 d" p$ h' ?) G
  327. ! d7 d7 y$ x- p: G3 F
  328. ; Duration of time, in seconds for which to cache realpath information for a given$ y8 N2 Y7 w7 K) ^; G
  329. ; file or directory. For systems with rarely changing files, consider increasing this' {( S! t/ ~6 G5 L* [! O  T' r0 u
  330. ; value.
    ! o8 g( U' U) i  r& h
  331. ; http://php.net/realpath-cache-ttl
    5 l( y: z! ]( ~; t9 s
  332. ;realpath_cache_ttl = 120
    / O1 H$ b" H2 ?5 U' F3 A

  333. : w- V% X) Z. j- j7 n5 l# j% H
  334. ; Enables or disables the circular reference collector.8 X! P6 L) {4 A: i  {6 I
  335. ; http://php.net/zend.enable-gc
    6 k7 a6 ^! Q* A/ y, k' D$ u, d
  336. zend.enable_gc = On2 k. a, Y+ {6 {8 m

  337. : E  x- C$ D2 p
  338. ; If enabled, scripts may be written in encodings that are incompatible with. @( J/ k5 d: G, k
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    4 d# j$ U" _# R' V2 ^1 w- L* w
  340. ; encodings.  To use this feature, mbstring extension must be enabled.5 m. b- y3 x/ x6 t/ P$ p6 Z
  341. ; Default: Off* r' G5 @1 \- ^* r, k$ E/ X
  342. ;zend.multibyte = Off2 b: e' N9 \& G/ z

  343. ' N5 D# @4 f- }3 }
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    : D! c) z  v2 {& I# h0 r
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.* o  V& d1 I$ @+ \7 k8 a) d
  346. ; Only affects if zend.multibyte is set.
    + l% x2 W2 L( x8 p* I! W" X; }
  347. ; Default: ""3 @; ~: T: O+ t; |
  348. ;zend.script_encoding =% w. n( l1 g# C% j, w9 c4 O9 b. J
  349. 4 ^& T7 c& H' w+ E% h9 R
  350. ;;;;;;;;;;;;;;;;;" @0 v! u4 m) b, v  _
  351. ; Miscellaneous ;
    # W% f( p! F' i) [5 C
  352. ;;;;;;;;;;;;;;;;;" D& x# K3 I: E% _; d/ g7 z5 S

  353. # @' w$ B1 S5 v8 r3 c5 B# s
  354. ; Decides whether PHP may expose the fact that it is installed on the server( ~% l" O; O5 H* O" J7 M( y- Y
  355. ; (e.g. by adding its signature to the Web server header).  It is no security5 S6 |/ \! A; o) M) k) V
  356. ; threat in any way, but it makes it possible to determine whether you use PHP1 b1 U3 B8 q4 U  F" y' t
  357. ; on your server or not.
    8 ^; s* S3 o& N) z4 K$ P) P' V
  358. ; http://php.net/expose-php/ ^9 M, `  J$ G. W* }
  359. expose_php = On$ C/ q7 s; G3 h+ r! }6 X

  360. 0 K( B9 D$ s! e* U; s
  361. ;;;;;;;;;;;;;;;;;;;
    + \, Y! y4 g" L4 `7 v
  362. ; Resource Limits ;" L5 u0 `' U4 h
  363. ;;;;;;;;;;;;;;;;;;;) N3 L8 o. p+ g  M

  364. $ g* S8 x% |7 [! F  `
  365. ; Maximum execution time of each script, in seconds7 u! o$ `- [; \' c* x$ b
  366. ; http://php.net/max-execution-time
    * V2 d+ x4 p+ x' y+ c) H
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI% E$ q9 I/ S$ h$ X! g) z: W1 T
  368. max_execution_time = 3006 ?' e8 Q+ t$ J- l
  369. , }( ^( q, f3 \( }' f
  370. ; Maximum amount of time each script may spend parsing request data. It's a good; k) H4 w4 e# N; T5 U+ N) ^/ ~
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    6 m+ X0 `3 s/ S6 D' K
  372. ; long running scripts.1 m# A7 r2 T$ Z
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    , W+ @* [4 C0 _9 \# g
  374. ; Default Value: -1 (Unlimited)
    8 E" u0 j; O) C7 Q, }
  375. ; Development Value: 60 (60 seconds)
    % g4 |6 y4 x* T
  376. ; Production Value: 60 (60 seconds)6 Z: N  X, c' p# a. A
  377. ; http://php.net/max-input-time
    # A, m7 g$ I+ W9 z
  378. max_input_time = 60: f5 s+ j. h: q+ @4 J$ _

  379. ; C  F. [, l! M6 D3 A- {" P
  380. ; Maximum input variable nesting level! b! i1 n1 y3 k
  381. ; http://php.net/max-input-nesting-level7 Z/ d, d5 j- Q- n- h% K
  382. ;max_input_nesting_level = 64
    % F6 S1 ?  F3 a  H) |
  383. 0 _& [. Q$ e5 p
  384. ; How many GET/POST/COOKIE input variables may be accepted
    9 x3 ?9 A4 \6 J7 x8 o5 w/ n
  385. ; max_input_vars = 1000
    2 Z/ i' b1 Z5 X2 D) i
  386. 2 P& R' O+ k3 @" N' ?
  387. ; Maximum amount of memory a script may consume (128MB)
    , y4 _1 C( A! X# X; x
  388. ; http://php.net/memory-limit
    # f2 m- i. v0 v* K9 h
  389. memory_limit = 128M4 m2 I- H# b0 B4 v3 @( {
  390. 0 e8 b- R1 M, o& `4 W) z
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;' y( _  x: B( T/ `
  392. ; Error handling and logging ;
    * T% B+ J* |, M  A4 _
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : y. H3 ?! D8 d& L/ y
  394. # n' z# x0 C% @' k* c- o. E
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    / ^( `3 L8 F5 P+ a
  396. ; it to take action for. The recommended way of setting values for this
    1 N4 E' M& }- _( v9 W" I  X; {
  397. ; directive is through the use of the error level constants and bitwise
    6 c- B$ x9 y% |- P$ w7 ~9 K% K
  398. ; operators. The error level constants are below here for convenience as well as
    # u1 g; ]0 m, b6 P* |7 D
  399. ; some common settings and their meanings.; A; I' B; v/ Q8 R4 J, ?$ d4 {
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ; y1 v/ }9 y  \  U( n0 N& }. g
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ( i$ Y! _3 ~# o/ q( ?8 D/ I& [
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    / Q3 Q0 l! S! m* l, ~
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    # p# ~% G4 e! X4 w" [
  404. ; resources complaining about best practices and coding standards. That's what
    ; I$ @- a2 H1 P1 c5 T
  405. ; development servers and development settings are for.7 `5 _" e$ I5 H+ |& V+ z/ L
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    / d8 i/ M- }" N7 a7 x
  407. ; means it pretty much reports everything which is exactly what you want during0 W! [" C9 O. T' h6 c
  408. ; development and early testing.
    ! A0 c, b$ N  R' }
  409. ;
    ( p5 o; q) _3 X& M
  410. ; Error Level Constants:
    6 Z4 R& K: b9 o% {3 k! y2 R2 @. Z6 `
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)  ?) q( j& K3 l' R& m
  412. ; E_ERROR           - fatal run-time errors, H& D8 L/ f& j3 R  `
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    # {  d8 z) {9 ^% _* K( V0 h0 w
  414. ; E_WARNING         - run-time warnings (non-fatal errors)+ ~) ^6 u5 I4 w/ e1 s: H9 g
  415. ; E_PARSE           - compile-time parse errors
    # z% \2 U) T9 E# ~& a
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    : |0 l/ s; c$ \( c0 b
  417. ;                     from a bug in your code, but it's possible that it was
    - H' ]% F5 o. p
  418. ;                     intentional (e.g., using an uninitialized variable and% j( J; }7 V" |7 P* ]
  419. ;                     relying on the fact it is automatically initialized to an' O& e1 u$ m1 e4 T  I& D
  420. ;                     empty string)
    6 j% L* h" a2 l9 a4 f7 P. m+ |
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    : y8 s8 f# m9 q, N, z9 S8 y% x& G
  422. ;                     to your code which will ensure the best interoperability
    3 n8 y0 X) L; J
  423. ;                     and forward compatibility of your code: b% N8 ~0 V; s- q
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup5 ]: m# k0 \7 N- Q7 n/ l) b
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
      H1 d: D- }0 [9 `; ^
  426. ;                     initial startup) y* A) w4 {% p; i; b
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    # l% T: S$ U& G" {' \4 C
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)3 u  x; C' {4 n5 l6 `5 z& Z
  429. ; E_USER_ERROR      - user-generated error message: b& R' p' \3 `" {& G
  430. ; E_USER_WARNING    - user-generated warning message5 G$ c6 t% C7 z0 I, O
  431. ; E_USER_NOTICE     - user-generated notice message
    1 w. F9 U1 j% F- B
  432. ; E_DEPRECATED      - warn about code that will not work in future versions, b" t. }' G' j  a
  433. ;                     of PHP% S0 d3 O: V9 x5 ^3 A1 J# O/ C
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    7 j: }5 r* s- _
  435. ;( [. n: ^" f4 e
  436. ; Common Values:
    ) |- V0 A0 l- x4 H5 C* g, ?
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ' p* n* R3 p6 s7 P* |, H' I1 ]
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    % F2 ]' g" Z3 T
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    + n0 ~9 t  h0 y3 E! K- ]& t
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    " d; J! D/ W  P# O2 w
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    * g" q4 A+ U) b% ^+ E8 [
  442. ; Development Value: E_ALL8 Z& d. I$ N1 b5 S( {
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ' g/ }8 X: P2 l  l: `
  444. ; http://php.net/error-reporting
    : _3 r: }& Y  B) X
  445. error_reporting = E_ALL & ~E_NOTICE
    2 j8 I  q7 B8 R

  446. " b# j& `2 U& ^$ h
  447. ; This directive controls whether or not and where PHP will output errors,
    - [# P) U, ]6 x  ?4 g; s* _* w+ s
  448. ; notices and warnings too. Error output is very useful during development, but
    8 F0 T9 S& i1 o6 ?( \: S
  449. ; it could be very dangerous in production environments. Depending on the code
    ) @# Z" N% `1 `
  450. ; which is triggering the error, sensitive information could potentially leak1 N: S( x9 ^3 r
  451. ; out of your application such as database usernames and passwords or worse.
    3 q; I0 S! I7 x! G
  452. ; For production environments, we recommend logging errors rather than
    " E6 n9 h6 g8 |! N4 I3 w: ]* b. l7 W
  453. ; sending them to STDOUT.
    ' j/ h8 E" f0 V2 s7 g
  454. ; Possible Values:# S8 E3 K: ]( p4 E5 L8 P
  455. ;   Off = Do not display any errors7 Y, f( y% M! ]
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)* g: o- S+ e  X
  457. ;   On or stdout = Display errors to STDOUT
    2 P, b" t5 d1 e' |$ L3 ]( s
  458. ; Default Value: On$ L1 N7 x. Q. [
  459. ; Development Value: On9 [0 L' c1 @) ~
  460. ; Production Value: Off) t* h+ B$ O& \" k8 D+ r$ f- u5 e
  461. ; http://php.net/display-errors8 z4 D1 \+ m1 ~8 w3 D3 i: n& @7 {
  462. display_errors = On
    8 w$ t/ E7 @2 ^7 R* _+ I
  463. " |% m6 ?5 d  N  }
  464. ; The display of errors which occur during PHP's startup sequence are handled0 Y: Y1 D3 c3 ]1 H
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    - R9 k+ A7 [% o5 b/ V& T$ a7 \, I* @
  466. ; errors from clients. Turning the display of startup errors on can be useful in5 p+ d; o6 l# I1 Z
  467. ; debugging configuration problems. We strongly recommend you
    7 {4 V7 Z' B  J
  468. ; set this to 'off' for production servers.# `- O, b7 r6 t' s
  469. ; Default Value: Off
    1 {7 ~0 g  |/ n$ r1 e% J& G+ C1 n
  470. ; Development Value: On' O5 |; D) N% `, u: a
  471. ; Production Value: Off
    . p; V& H# F: ?/ f+ r0 I
  472. ; http://php.net/display-startup-errors6 O9 |0 n* V# N& A$ O+ T
  473. display_startup_errors = Off
    + j  m& D6 ]% ]  M' e, r) \
  474. * Q' }5 g9 w( e6 z$ a3 j& ~6 L8 ?* B
  475. ; Besides displaying errors, PHP can also log errors to locations such as a; o6 R6 t6 A7 |3 L# _) R
  476. ; server-specific log, STDERR, or a location specified by the error_log; r9 ]5 }( {1 D  H. S
  477. ; directive found below. While errors should not be displayed on productions3 y: m, @! u: o$ J8 Z7 c# @
  478. ; servers they should still be monitored and logging is a great way to do that.
    ( [& ~3 x% q' j; j& y7 K
  479. ; Default Value: Off) `6 Y; R# e! `& d8 T' A: P0 `
  480. ; Development Value: On- `& ^$ h. {/ R# h
  481. ; Production Value: On
    & w0 K* d( V6 B4 R
  482. ; http://php.net/log-errors  s! m: K; o7 m9 M# z* x0 B
  483. log_errors = On
    2 U! {4 X! P6 D2 v+ W& i
  484. # s" y5 B6 b6 p
  485. ; Set maximum length of log_errors. In error_log information about the source is
    . d0 j8 }9 e1 A9 u7 V! ?
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.! a9 F6 ?5 i1 z& |5 L7 G3 Q
  487. ; http://php.net/log-errors-max-len! W$ Q" t# }" T
  488. log_errors_max_len = 10243 h) q5 I4 e; r' p% e/ o3 @) P& F
  489. 1 O# q/ Y/ ~5 `  B# H  W7 @  K9 K0 @
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same9 d. Y& z+ Z, ?: t" U/ U
  491. ; line unless ignore_repeated_source is set true." ~& U' F) p6 h( ?2 s5 w
  492. ; http://php.net/ignore-repeated-errors5 [& l4 g7 a6 r# G) g; L9 m1 Z
  493. ignore_repeated_errors = Off
    9 q; w. a: l# u8 u7 J5 e

  494. 1 M) w4 k1 C0 z6 A% J
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    $ ^4 A- p# Q3 }+ F5 p
  496. ; is On you will not log errors with repeated messages from different files or( ]: H' }9 T" _/ H  x% u1 K& y; h
  497. ; source lines.) y1 e$ N( ^  H* w$ ~
  498. ; http://php.net/ignore-repeated-source2 _( N2 Y( x( j1 P
  499. ignore_repeated_source = Off$ i! \( y7 Q8 U0 Z& G8 ~

  500. . n) y) t- q* D' d
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    , }1 Y# }" y" Y; L
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    6 @2 q- p4 C- l% ^3 ^4 @
  503. ; error reporting includes E_WARNING in the allowed list
    8 {" ?. a- Z, N$ X; h
  504. ; http://php.net/report-memleaks8 ?) U! v8 @! S; l/ ]
  505. report_memleaks = On& i9 X% a# m4 q+ T
  506. ( [2 M" I% ?* R0 D5 X$ }
  507. ; This setting is on by default.
    2 I+ A3 ~0 l$ j" y
  508. ;report_zend_debug = 0
    6 {) X  I3 j7 l& ]* J
  509.   u# N! C3 d4 q7 I6 m! }- _
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value2 H" k$ _& X- {  N0 u( G
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    1 h" ^  u. f, G6 x* M4 `
  512. ; however be disabled on production servers.
    ( l9 ?% T2 a( j
  513. ; Default Value: Off
    , g9 E/ P5 |8 \$ r
  514. ; Development Value: On* ]/ B, T; c/ a: V, K8 c
  515. ; Production Value: Off
    * H' I* q9 u0 z, V
  516. ; http://php.net/track-errors, Z2 v7 A% ^$ z4 N
  517. track_errors = Off) n8 N- A  e* ~# Y4 ]( B0 {

  518. ; ?: A" u: y0 Z8 g+ _* I# |  o
  519. ; Turn off normal error reporting and emit XML-RPC error XML! z9 U2 K/ m& h
  520. ; http://php.net/xmlrpc-errors9 [- C: E# y  ]$ A8 D6 j( O4 V
  521. ;xmlrpc_errors = 0
    2 f3 a/ Y( L' ?" V/ s4 y
  522. & \7 l9 Q" M# q# I
  523. ; An XML-RPC faultCode
    7 H$ p3 o' v2 ^! ?, v
  524. ;xmlrpc_error_number = 07 d& Y  B+ r; u  y; ^$ b- G' t* w

  525. 2 P( Q) v8 c/ R5 F3 z
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    1 f$ J5 I1 k$ B, ~- |$ E9 Z
  527. ; error message as HTML for easier reading. This directive controls whether7 C% t6 O/ q7 D; h
  528. ; the error message is formatted as HTML or not.
    + D. S2 f- X/ N. C8 @
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ! J+ l* Z" k' }% p; o! Y$ f% T
  530. ; Default Value: On1 U, A0 T" w% N. R. X' y
  531. ; Development Value: On6 F8 M, w. C; t' _
  532. ; Production value: On5 W  o# Z, i# W
  533. ; http://php.net/html-errors
    / G' f+ N5 ], ?' A; i- A- d
  534. html_errors = On
    6 p! X" y5 k; t

  535. : i6 z' q; D/ b8 l- c1 N
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ) A$ R/ \2 }. E/ g
  537. ; produces clickable error messages that direct to a page describing the error
    # y0 N! _& }7 U3 b7 p! ]& T* q
  538. ; or function causing the error in detail.
    2 m* Z% _* l3 v; T9 D1 _' n
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    * v7 E: Z. @/ C9 Z, [/ i2 O, b
  540. ; and change docref_root to the base URL of your local copy including the/ y9 E4 k. V) H* @
  541. ; leading '/'. You must also specify the file extension being used including" H/ f0 J( ?1 f
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which9 b5 u! y9 q/ D2 b1 Y: A7 Y1 G
  543. ; case no links to documentation are generated.
    ) ]9 a7 W4 s' K% g9 {
  544. ; Note: Never use this feature for production boxes.
    0 G2 O1 @# E* G' p5 v
  545. ; http://php.net/docref-root
    6 N; ?% }9 e* [0 y; t" A! j. ~
  546. ; Examples
    2 z3 q! [: }2 Y8 [4 P3 G0 n9 o# Q
  547. ;docref_root = "/phpmanual/"
    ) }1 M& a8 B/ J1 h. b; T+ k
  548. , \' J0 B8 }* P4 k3 d
  549. ; http://php.net/docref-ext$ u5 T* e7 ^- o6 T% I. E
  550. ;docref_ext = .html0 o, W  W! E2 ^/ K  n: U

  551. 6 w; L! N5 I% K4 \
  552. ; String to output before an error message. PHP's default behavior is to leave
    ' ^8 a1 _6 s. F$ H
  553. ; this setting blank.
    . m" N4 `% T$ s9 Z' O2 {2 |2 R
  554. ; http://php.net/error-prepend-string0 X  t4 C3 U) \+ r' z/ j
  555. ; Example:
      t1 B! V" k% R1 ^$ o* e0 T4 h
  556. ;error_prepend_string = "<span style='color: #ff0000'>"5 T2 q$ H' {& T( o% [

  557. : O! g$ b3 E1 {. e/ v- H
  558. ; String to output after an error message. PHP's default behavior is to leave
    " |- K  H4 r% [9 i9 {
  559. ; this setting blank.
    7 }1 c6 ]9 b5 E% E+ H7 A, }/ D
  560. ; http://php.net/error-append-string: ?1 {! m  s) Q0 M7 G. M
  561. ; Example:3 H+ n" F8 u# U5 E9 O; V) N
  562. ;error_append_string = "</span>"
    , @$ {* v2 K9 W# o/ u" V- L, B1 @
  563. " T( Q( ?5 Z" l8 a& l
  564. ; Log errors to specified file. PHP's default behavior is to leave this value: ~# V5 a% n2 t9 k7 ^% H
  565. ; empty.
    7 N, p+ z  Q: s9 @/ U7 e
  566. ; http://php.net/error-log8 G1 a  R; h% ^3 h0 |! }  B
  567. ; Example:! _- n( k5 K. ^* l, O! X
  568. ;error_log = php_errors.log3 N9 T* h, L2 \/ I4 e
  569. ; Log errors to syslog (Event Log on Windows).
    0 x; l0 ?  W3 G* x, K1 g
  570. ;error_log = syslog5 u$ X1 o# b& p+ L

  571. ! C* c8 Q- j' Z3 }& N4 B
  572. ;windows.show_crt_warning& m7 R7 l, A; P1 I
  573. ; Default value: 0. v2 ]( e5 ]3 Y8 [
  574. ; Development value: 03 l/ |4 f/ J; b
  575. ; Production value: 0
    8 C& w4 R  ~0 u4 c
  576. - ^* }- D" C( A/ x" ^8 U4 s
  577. ;;;;;;;;;;;;;;;;;
    9 p( m3 S4 s5 o+ }* N( F
  578. ; Data Handling ;- A; h. f  w" e$ `% O
  579. ;;;;;;;;;;;;;;;;;
    # c0 z9 _  v& @( p; ^! B

  580. - Z# B; y5 A4 g8 y6 g9 a
  581. ; The separator used in PHP generated URLs to separate arguments.. A! }2 |& }* r2 W4 X$ M6 r( w
  582. ; PHP's default setting is "&".( T" `. I$ i% O& e) a5 {
  583. ; http://php.net/arg-separator.output
    $ y3 Z4 r( I3 {1 i5 `" h
  584. ; Example:
    . a0 Q* M/ i9 _) v0 z& Q
  585. ;arg_separator.output = "&"# N, C3 B1 Y# Y7 W
  586. ! A8 x7 }& [: V) J+ A
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    ; p) w7 `8 \8 w8 Y: M7 l% i9 J4 k& y
  588. ; PHP's default setting is "&".
    ' ]" D& u/ K3 d$ O' ~8 I9 I: y* \
  589. ; NOTE: Every character in this directive is considered as separator!7 T1 F" x; m( q/ R
  590. ; http://php.net/arg-separator.input! W! c1 ?$ `- T- v7 N' \# ?$ [1 x
  591. ; Example:, A8 A! Y- j% S7 d+ I5 K6 |/ b5 o
  592. ;arg_separator.input = ";&"
    3 ~$ X+ d3 r1 w  h/ V" ]4 P
  593. # ?/ R, @, t2 e+ ]6 T, |- B3 G  q
  594. ; This directive determines which super global arrays are registered when PHP
    $ O+ ~8 e7 \' ]3 D* Z+ h3 y
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    7 g: ~# W( m4 A. W$ Z6 `
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    + T4 Q+ C4 A! Q' r
  597. ; paid for the registration of these arrays and because ENV is not as commonly) u, F. S/ R9 K! @6 J
  598. ; used as the others, ENV is not recommended on productions servers. You
    4 ^% |* f4 W, [* }1 j
  599. ; can still get access to the environment variables through getenv() should you4 M1 {! O! h) H; G% H
  600. ; need to.
    6 V: _9 D% \+ T; ?' [
  601. ; Default Value: "EGPCS"+ T4 ]0 p$ H/ {1 ^, i1 |
  602. ; Development Value: "GPCS"
    1 v( ]) B: D/ W' ?  U% x" j& w3 p! P
  603. ; Production Value: "GPCS";4 z- V8 m! V$ z1 p1 G/ v1 x! I0 q
  604. ; http://php.net/variables-order
    2 l% F! ]" Q1 C! T) c2 F& c5 H
  605. variables_order = "GPCS"
    / v$ D/ s1 u- T* m1 w
  606. , W0 d1 y, t2 `+ c% J  a7 ]
  607. ; This directive determines which super global data (G,P & C) should be
    / c/ Q6 Z# M* \2 S2 `% w7 W9 N
  608. ; registered into the super global array REQUEST. If so, it also determines7 g  l  F+ P! i" ?
  609. ; the order in which that data is registered. The values for this directive
    2 a: A! w" p4 O6 P7 X- q
  610. ; are specified in the same manner as the variables_order directive,% Z' X4 \4 I) t- R
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ' j* P  l  M8 h
  612. ; in the variables_order directive. It does not mean it will leave the super& W  U+ `- l9 X
  613. ; globals array REQUEST empty.
    2 Z, L8 m( h' ~: K' Q
  614. ; Default Value: None& \6 X3 I9 {  R! O
  615. ; Development Value: "GP"
    3 Z# y7 ?4 v% a
  616. ; Production Value: "GP"
    6 ?. A7 G4 Y; O. d: z# r
  617. ; http://php.net/request-order7 R# S8 J3 R0 y) ~
  618. request_order = "GP"4 G$ V$ o! B8 |: f& l  @( Z

  619. - ]& f/ p9 H7 Z1 U* B
  620. ; This directive determines whether PHP registers $argv & $argc each time it8 y8 F6 `& G* N% q
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script8 {) Z9 T- |. _0 C( d$ o: N
  622. ; is invoked. $argc contains an integer representing the number of arguments8 ?" G3 [1 F) j, A5 e
  623. ; that were passed when the script was invoked. These arrays are extremely
    # T7 X+ U! L* [) F5 ]
  624. ; useful when running scripts from the command line. When this directive is6 t; S" U' \4 I% M& U
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    3 f+ K& m8 b* b! {: {' {
  626. ; a script is executed. For performance reasons, this feature should be disabled
    4 ^& K7 Q1 a9 b8 ~5 X
  627. ; on production servers.
    1 t4 L* W  X5 a+ N3 P! G1 P
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    8 c0 o) L  ?9 R' o- m( w
  629. ; Default Value: On7 a+ I7 I. i) P( \5 o
  630. ; Development Value: Off: n7 d  Q& P3 i
  631. ; Production Value: Off# V% F8 ]# i6 J; Y2 J" y- Q
  632. ; http://php.net/register-argc-argv
    # n# A# p. d  D3 ]
  633. register_argc_argv = Off
    6 d8 \* i3 c! f1 t; C/ G+ x  \

  634. % m8 W- _9 H; y( h$ v* I2 s. a
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're$ A* J* ?& L- u: {3 ~
  636. ; first used (Just In Time) instead of when the script starts. If these0 K4 y8 Q* _2 f0 C: T
  637. ; variables are not used within a script, having this directive on will result& P$ `# I, h- J  X- a/ V9 b
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    2 q! R3 @* z. z0 {7 y( }
  639. ; for this directive to have any affect.
    1 F- u6 B, |3 |1 o8 {, P$ ^( M/ W8 g
  640. ; http://php.net/auto-globals-jit, h' @& H% W' J" O2 }( [7 A5 W
  641. auto_globals_jit = On& k3 M) M. |7 `& c" E

  642. 9 C1 E8 q$ ~4 \, [7 a& `: `
  643. ; Whether PHP will read the POST data.
    : O1 i5 E' ?6 F% Q  N6 Z# P
  644. ; This option is enabled by default.
    8 V) ]9 K% }6 r/ o+ J9 B
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST6 u9 n  g( o3 O' ~7 \2 ?1 T5 B
  646. ; and $_FILES to always be empty; the only way you will be able to read the' {8 {) I4 K" y8 g
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    $ r: U# E& V" T
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    1 v* t  E6 u( w4 G5 U, m) b
  649. ; http://php.net/enable-post-data-reading2 k' I- w3 M6 t/ D3 g
  650. ;enable_post_data_reading = Off: C# G" s& M" Q0 K: Z
  651. & X" E2 V/ y) a( f3 V, }, F- R5 d
  652. ; Maximum size of POST data that PHP will accept.
    1 T" H+ z& R5 ?( D8 H5 F
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    8 K+ {2 s0 `# d- U
  654. ; is disabled through enable_post_data_reading.- `, \5 I! l+ o* d
  655. ; http://php.net/post-max-size7 x; [# n9 D4 Z* `* R$ c
  656. post_max_size = 50M
    % l$ n2 I( `6 A2 q2 m2 A
  657.   A, M- m/ I: G0 @5 k& a
  658. ; Automatically add files before PHP document.8 k" F$ x0 m2 c
  659. ; http://php.net/auto-prepend-file+ }5 f8 [+ ~* l. ?* j4 O
  660. auto_prepend_file =0 o7 u# z+ Z; E. l& O# `. |" x
  661. - X; s1 O8 X$ q/ N( I6 O$ [
  662. ; Automatically add files after PHP document.1 U6 X: R3 t" v. x6 q3 U
  663. ; http://php.net/auto-append-file
    & u! M7 |. w  x7 l
  664. auto_append_file =
      S! }, U5 l+ O8 D. k0 e
  665. : }( _  Y" A; ^% R2 r) q3 x" L7 ^
  666. ; By default, PHP will output a media type using the Content-Type header. To
    ' H. N' V4 V6 w: e4 A; a% m3 M
  667. ; disable this, simply set it to be empty.
    # j$ e5 t( a6 Y- r5 F$ O* k3 Q' M$ v" b
  668. ;
    ) C0 ~2 l2 Z( J8 y2 t' E' t
  669. ; PHP's built-in default media type is set to text/html.3 k* b/ l4 x6 F. }7 `3 G
  670. ; http://php.net/default-mimetype: w/ T- z) a5 R
  671. default_mimetype = "text/html"& P4 u; a  w6 V; X% ~* e( c' Z& G

  672. ; O: ^4 x0 J' }  A! X
  673. ; PHP's default character set is set to UTF-8.7 k" n9 S: `( Y
  674. ; http://php.net/default-charset
    / i: I* w3 Q, H# |  ]
  675. default_charset = "UTF-8"
    2 Q# G7 z. Y) R

  676. / N( T6 Y: ]' e5 f0 W. d
  677. ; PHP internal character encoding is set to empty.
    ; I$ l- c. U" |( t) D% C
  678. ; If empty, default_charset is used.+ _4 ]/ G: k2 Y" P2 T
  679. ; http://php.net/internal-encoding
    " ~! a0 S; x! x; ^
  680. ;internal_encoding =
    * L4 x# N* H# g1 g% p% \8 W

  681. 8 ]3 t; |) o: v2 b/ k) @
  682. ; PHP input character encoding is set to empty.( `0 X8 g  Q9 p
  683. ; If empty, default_charset is used.
    # |- Q  ~' |& M
  684. ; http://php.net/input-encoding
    3 U4 R) p$ N' c- `4 ~. n
  685. ;input_encoding =
    1 {+ Q; y$ C6 s3 R' }/ A) L

  686. + c5 ?! H- u2 H4 B0 N
  687. ; PHP output character encoding is set to empty.
    5 P8 j, c, \, t1 K
  688. ; If empty, default_charset is used.
    & D. G6 ^8 B$ ^) \2 A
  689. ; See also output_buffer.& Y* N, S! ]3 O. M4 Y- q* z9 w
  690. ; http://php.net/output-encoding
    4 K# {0 Z# O7 F
  691. ;output_encoding =
    ' y1 o" F# x, t, j! ~, G0 T
  692. ! K  ]" {- `! }+ [
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;6 j3 @& O" x7 C& x; o
  694. ; Paths and Directories ;  \3 B0 r, u* q# V3 H' y1 k
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    " h( @2 V& Z4 U5 I

  696. 7 {& C5 M. ~* U: [
  697. ; UNIX: "/path1:/path2"8 j8 Q4 C7 z! p9 h' L* m6 p; ]
  698. ;include_path = ".:/php/includes"
    ( j0 O4 W' [+ @3 P# ^
  699. ;  C$ q0 h; N# N4 v' {, y
  700. ; Windows: "\path1;\path2"
    8 [2 ~" \3 B. R$ L
  701. ;include_path = ".;c:\php\includes"$ K" Y- X$ @+ F+ J! F5 m% K- z
  702. ;7 s' U) e, Z9 G1 g. j0 d
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    0 T! n" k1 Q3 L
  704. ; http://php.net/include-path: x( G2 S3 ]& U, |7 i

  705. $ `: w: T; }0 s% e
  706. ; The root of the PHP pages, used only if nonempty.6 F& o- f6 P9 D( Z
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root( n% `- }, x8 a& j9 M
  708. ; if you are running php as a CGI under any web server (other than IIS)7 B4 e) ~* }$ O" Q7 n
  709. ; see documentation for security issues.  The alternate is to use the8 S/ y2 x  {# R2 l; e$ O- P
  710. ; cgi.force_redirect configuration below9 o" H/ q& L" j6 P
  711. ; http://php.net/doc-root
    . o; B/ w0 c0 g
  712. doc_root =4 x, q. `' }- L* U0 c
  713. 1 {2 I- o7 i3 H& |& }
  714. ; The directory under which PHP opens the script using /~username used only
    ( i5 i7 x; L5 I3 t) x; Q
  715. ; if nonempty.
    + g% X/ z& U7 ?8 G% c
  716. ; http://php.net/user-dir4 B' O/ W2 }. A2 c3 c
  717. user_dir =$ T- I" Q1 `6 s% \0 V
  718. # J( @( L% b) W  i7 V7 c
  719. ; Directory in which the loadable extensions (modules) reside.6 Y; ?6 L5 e9 y2 J! l
  720. ; http://php.net/extension-dir6 ]" h! i6 }. g7 r2 k8 R
  721. ; extension_dir = "./"# L4 y8 p: Y6 o1 a# V
  722. ; On windows:
    & p  O9 w2 c5 L3 a
  723. ; extension_dir = "ext"
    ' ^; O% Y( E3 Z5 @! b" {' v
  724. " j% R2 g- e& B1 G, _3 L
  725. ; Directory where the temporary files should be placed.
    8 j  C# m2 m+ q; L: D6 w8 K
  726. ; Defaults to the system default (see sys_get_temp_dir)
    5 h% ~# W/ [! h6 j( ]7 |
  727. ; sys_temp_dir = "/tmp"
    - t' ~; U( Y; |7 C
  728. + O, g, J* L. L' j+ a# V( v2 P. W
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work7 H7 `; r/ W$ q2 r* A
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    4 m3 Z, a% m) u% J9 k  Y
  731. ; disabled on them.
    ) ]0 l' D+ K# a1 W$ g
  732. ; http://php.net/enable-dl
    / U, C# }1 m# O2 L) b- _* d# T- H
  733. enable_dl = Off
    ! a3 Q; G% j9 a; i- D8 a
  734. * c- ]$ l  Y- z  [6 k' o1 K
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under$ r" w( z# {+ Z( q
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can+ b2 f9 ~+ W* `; F% o0 V
  737. ; turn it off here AT YOUR OWN RISK$ S' ]% }  r  r& O, q1 q2 e
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**7 n' B7 D+ f* ~9 K2 Q5 i
  739. ; http://php.net/cgi.force-redirect4 }9 }0 Q6 X8 A! g, }5 M; @
  740. ;cgi.force_redirect = 1
    4 G7 x6 W! g. j+ H1 C4 r6 i  d
  741. . g! c; }$ W% M3 I1 j
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with% r% @& v2 a' j5 [# Y2 \- ]( a  [* @' O
  743. ; every request. PHP's default behavior is to disable this feature." Y" a3 y6 j- J6 c+ w
  744. ;cgi.nph = 1  B/ W; e: c. H0 c3 U2 \* b2 j

  745. 9 H. f' k, T4 R- W' w4 \, E
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape6 e7 n( R9 V( N4 H! D6 _2 b
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
      X: ~8 m5 I  x% O9 ?: z  G
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    : A8 y. W. L' w$ o
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
      C4 v5 a2 h4 o6 w1 W0 Z1 V
  750. ; http://php.net/cgi.redirect-status-env
    # b) h. m* i3 H4 @% g3 r
  751. ;cgi.redirect_status_env =: x/ b6 b. w! }, c. N
  752. 8 r' g3 |6 S% M" W  M2 @# L4 I
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    & R6 T% d& l2 Q0 x9 n2 i
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok# J6 N' T. s- _! [! t0 I/ A0 ]/ y
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    5 ^$ p0 _; I& l0 ]( f0 h0 `
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    & Z, _% g( r2 h! ?0 H
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    * t2 ~2 L  k! D+ A2 }! l
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED." M9 r" B" {( @
  759. ; http://php.net/cgi.fix-pathinfo
    / n+ W5 V% O% Q. z; {
  760. cgi.fix_pathinfo=1
    # r% m5 ^/ l5 w5 F& j

  761. 2 M' `- p" O/ k; M
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside9 n: F/ `7 k9 [8 I+ _
  763. ; of the web tree and people will not be able to circumvent .htaccess security.6 w0 Q& C) x& f( ~  ]1 K
  764. ; http://php.net/cgi.dicard-path6 _& Z1 f2 Z8 h
  765. ;cgi.discard_path=1
    ( o! F9 Z' O9 T! t! f
  766. . r+ q4 z0 f& s
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    : Q, [3 x" r" [  L3 V( w& K
  768. ; security tokens of the calling client.  This allows IIS to define the
    ! Y6 e$ d0 S5 X: |$ K
  769. ; security context that the request runs under.  mod_fastcgi under Apache8 K8 _. l, b7 B+ w
  770. ; does not currently support this feature (03/17/2002)* U" L( ^* g$ v% v0 G
  771. ; Set to 1 if running under IIS.  Default is zero.
    4 r; V* y( d9 `& q- V0 f
  772. ; http://php.net/fastcgi.impersonate
    % C# y2 {; n% ]4 n+ V
  773. ;fastcgi.impersonate = 11 H" }' m8 ?5 |& `
  774. ; c: z5 E5 M' ^, Q8 W
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    8 X+ P3 v: j3 m7 Y1 S# n
  776. ; this feature.
    : T% D# N, \6 N: h% I: F
  777. ;fastcgi.logging = 0
    ! V7 m( Z. E8 d2 U4 c! _

  778. + k8 j4 M7 O0 D2 w: b& Y
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    : o1 l' ]3 C- w3 q4 a
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that% n0 q) j7 a! f" X
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    * ~+ _4 m% Z- n: n# N2 b
  782. ; RFC2616 compliant header.7 v* F" w8 D* `- I7 @" v( i- n% z
  783. ; Default is zero.$ y. w/ j3 K9 P
  784. ; http://php.net/cgi.rfc2616-headers
    5 t. O# _8 P* N2 s2 u0 S; W
  785. ;cgi.rfc2616_headers = 03 O" i/ H$ F; G0 s- y7 R
  786. 8 a# t( f% E! x* @$ L
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    / {& B& N# M' _6 j) |
  788. ; (shebang) at the top of the running script. This line might be needed if the3 U! [% D( e" i# P# Q" i% b
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI7 ~- ]* T8 ~# ]8 w- j0 _
  790. ; mode skips this line and ignores its content if this directive is turned on.+ q8 F' r+ z1 K8 y: Y* z' R
  791. ; http://php.net/cgi.check-shebang-line
    1 o3 H) ^2 h4 F( G9 x. ], i7 h
  792. ;cgi.check_shebang_line=18 H- w, ]2 l4 j' e
  793. " |2 n$ q0 i# K% s: [6 n1 \
  794. ;;;;;;;;;;;;;;;;
    , M4 h" H4 U/ F0 y1 h
  795. ; File Uploads ;
    + u& F* P; U# n8 l. t9 G
  796. ;;;;;;;;;;;;;;;;1 n$ T- S* U5 i* o7 L5 K  I

  797. $ V; J2 g& H( m* f7 n0 `4 P
  798. ; Whether to allow HTTP file uploads.
    8 k2 e& K( l4 Q( I& O' w
  799. ; http://php.net/file-uploads
    $ w$ b& m. A% p" |9 ?* W8 j' D( [/ l
  800. file_uploads = On$ O- ]2 C  Y1 S$ G

  801. 2 A' d. T6 m7 G3 o! q/ C1 d
  802. ; Temporary directory for HTTP uploaded files (will use system default if not0 H- m& e! ^' n
  803. ; specified).
    + h( d3 l) y8 |  t9 S
  804. ; http://php.net/upload-tmp-dir
    9 x$ ^6 N0 [) t1 ^2 y1 `
  805. ;upload_tmp_dir =# J6 a" B. d' ~/ }0 n3 }. x

  806. # d  `9 g: d, r+ A8 N* }
  807. ; Maximum allowed size for uploaded files.
    # D; e% |& @% u
  808. ; http://php.net/upload-max-filesize4 m# {: S5 s  N
  809. upload_max_filesize = 50M6 {# t/ G  m1 a1 f& }
  810.   m9 f  i  E  u+ Y2 \3 j, T
  811. ; Maximum number of files that can be uploaded via a single request
    , G7 w# k0 L) H) g- R  O2 N: i8 ?( P
  812. max_file_uploads = 20
    5 i6 F! w+ l. H, L; n

  813. / P! j7 u$ v, o# v$ O
  814. ;;;;;;;;;;;;;;;;;;
    ( O7 @1 t4 |( d) k* B; J8 X1 N
  815. ; Fopen wrappers ;/ _. d6 g3 P3 _3 `. W
  816. ;;;;;;;;;;;;;;;;;;
    . @: J8 @5 L! v, x6 j

  817. " y- ~+ _# B+ m
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    $ O' X$ m; i+ u  h4 X# ^0 j
  819. ; http://php.net/allow-url-fopen
    4 }3 B/ {* \/ A) i+ r7 O0 D0 N( H
  820. allow_url_fopen = On
    " r0 [' t8 n( p, Y9 O) k

  821. 2 d; K% u3 c2 }* N" V" c! l. m
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.3 X5 s* w" k7 U/ t2 ^( Z, ]2 G/ x
  823. ; http://php.net/allow-url-include
    ) B9 b9 a! q6 \5 O7 g5 o2 B+ r
  824. allow_url_include = Off
    7 r4 M' {% |# ^  T* Z' T

  825. 6 Q9 p( T; j  d6 E* h$ A: b
  826. ; Define the anonymous ftp password (your email address). PHP's default setting9 l2 G* A( Y5 b7 ^' h) u
  827. ; for this is empty.2 K) ^* I- j" O$ G+ @7 `1 q) a9 i
  828. ; http://php.net/from
    1 _; A* \( {* ~
  829. ;from="john@doe.com". B. S* G  i3 ^; G

  830. , c7 S+ J& F4 H+ }4 q; V" @
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    2 w, Q: F" Y$ u
  832. ; http://php.net/user-agent
    % ^( O! C3 n& ~' `' t
  833. ;user_agent="PHP"
    ) }. R  Z3 ]; E8 u5 W
  834. # G  h* ]5 M- f1 Y1 J9 g! x$ O
  835. ; Default timeout for socket based streams (seconds)
    0 h: C$ N9 [. |
  836. ; http://php.net/default-socket-timeout) P5 A. J  @, w" ?
  837. default_socket_timeout = 607 l' l% g* Y9 v9 A
  838. 5 H% B! n& [( ^- q, _2 h6 e* J
  839. ; If your scripts have to deal with files from Macintosh systems,8 p$ ~1 E' `, }% L
  840. ; or you are running on a Mac and need to deal with files from* Z6 ~' V1 k, L0 m4 D. F- j
  841. ; unix or win32 systems, setting this flag will cause PHP to
    ' w/ @* _& T- Y- K. M3 P0 ~% ?3 |
  842. ; automatically detect the EOL character in those files so that; u+ k" d% G/ U0 r# L: r7 c+ ~  A( a  y
  843. ; fgets() and file() will work regardless of the source of the file.; a0 e& `. X" G' I- B* m) m3 Y2 ]
  844. ; http://php.net/auto-detect-line-endings
    2 z% }% [8 V$ d8 E
  845. ;auto_detect_line_endings = Off
    * x' S) x  p; q: o+ f$ i2 J
  846. * g3 @4 `" ?0 T/ }! N1 l
  847. ;;;;;;;;;;;;;;;;;;;;;;4 d; b/ V% ^: _! I  s% U
  848. ; Dynamic Extensions ;
    1 F1 f/ ]8 n# s6 T7 Q! ~% G; M
  849. ;;;;;;;;;;;;;;;;;;;;;;
    6 Y: k+ ]5 ~7 g2 G
  850. 5 K, q$ m& X4 A) J  [! ^! w8 `
  851. ; If you wish to have an extension loaded automatically, use the following6 m% B8 M: T" g/ m
  852. ; syntax:0 \# V$ q1 R7 v2 F3 V- b) ?
  853. ;% k! V) L% O; _
  854. ;   extension=modulename.extension" }% C7 d5 I% B7 i$ I! ~
  855. ;4 _$ A: N$ j  z. p
  856. ; For example, on Windows:
    * f2 p# M0 l" g% v. I! X
  857. ;: a- N3 S5 ?5 M9 _' o: R" {
  858. ;   extension=msql.dll# k) }& K/ S+ @% I/ E$ Z
  859. ;- K8 O( a$ |; L' C; K0 ]
  860. ; ... or under UNIX:
    # _1 p* W4 I, |) I* Y+ I
  861. ;
    $ [/ a1 _) A* ~( R" F4 k
  862. ;   extension=msql.so
    4 n+ N: w6 D( D) Z& l- @( u
  863. ;: F. }/ T8 q6 h+ u
  864. ; ... or with a path:
    % t& O3 V6 g6 Q/ `$ {, x
  865. ;4 y- k$ B4 l# v) t# a6 @& f
  866. ;   extension=/path/to/extension/msql.so+ [: ?6 }+ X& Z1 Z1 T& B" g% v5 S
  867. ;
    ( ?) ~7 A. g8 f& ?# m8 i8 A
  868. ; If you only provide the name of the extension, PHP will look for it in its# C+ n3 {; D* J
  869. ; default extension directory.
    / X4 y4 G  l- \3 @: A$ ]# ^
  870. ;
    - [7 a) h8 a" G3 E- F$ L
  871. ; Windows Extensions' k: d+ C; s$ h/ m5 b6 T
  872. ; Note that ODBC support is built in, so no dll is needed for it.& c: j6 f1 Q: R4 H7 R
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    ( X! t+ P7 a; p- g
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    : `) G  s) L6 l2 I& N* q! j
  875. ; Be sure to appropriately set the extension_dir directive.5 v: R! f; ?- ?, Y5 h5 T
  876. ;
    / B" T: u7 s% n; U
  877. ;extension=php_bz2.dll
    ( g& b" F& a4 F8 c# O9 o
  878. ;extension=php_curl.dll
    # h7 H; `* @1 \, \
  879. ;extension=php_fileinfo.dll
    * l9 }* m  U2 v- ?  n+ r$ ?
  880. ;extension=php_ftp.dll
    2 R! W9 b. r$ l. j: h) n1 M
  881. ;extension=php_gd2.dll3 M9 [4 ~  }! M4 h  F. F. }
  882. ;extension=php_gettext.dll
    / l: Q* h0 Y" _" K+ D
  883. ;extension=php_gmp.dll
    / T  C, }" G+ o! y  R; U
  884. ;extension=php_intl.dll/ R9 V. y' }; h, t3 |
  885. ;extension=php_imap.dll) `6 b, t# a4 t1 G: ?" ^5 e
  886. ;extension=php_interbase.dll, D# M) R: C1 k2 S
  887. ;extension=php_ldap.dll! a; N* k) O" v  M5 C* ]- C
  888. ;extension=php_mbstring.dll
    7 U# R+ Z' V9 D/ Z4 t* @
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it: C; W8 T. ^( {/ |0 k
  890. ;extension=php_mysqli.dll* p# e: N6 X2 {- T" l
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client, B5 G4 `7 {. f$ U& D3 z, h" J$ C
  892. ;extension=php_openssl.dll
    ; J: v  X% F6 T* J$ J( L- x! P& m
  893. ;extension=php_pdo_firebird.dll
    5 U( }- A6 m0 N/ F
  894. ;extension=php_pdo_mysql.dll
      A3 y7 d/ y3 h$ e8 d, X: m& F* W
  895. ;extension=php_pdo_oci.dll/ h! Q, V/ \4 A: g- g! O) M3 B
  896. ;extension=php_pdo_odbc.dll
    1 k% v6 n* \, T8 L* C# d
  897. ;extension=php_pdo_pgsql.dll. r# @# U) j. q" i
  898. ;extension=php_pdo_sqlite.dll" v4 j' @4 s1 N2 x
  899. ;extension=php_pgsql.dll* O! R1 u2 z1 `% |2 T8 k
  900. ;extension=php_shmop.dll
    , N: F# U5 }0 w2 a  b3 J& y$ n9 H2 W
  901. $ W. v, D, M: B( `
  902. ; The MIBS data available in the PHP distribution must be installed.7 k: s+ L8 t' c3 S! j6 k
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    # Q/ z; y0 K- z3 x' X
  904. ;extension=php_snmp.dll9 \8 P& T: B$ n
  905. 7 Z' a6 o7 x7 Z
  906. ;extension=php_soap.dll
    8 w2 L! G1 x. t1 Z" D
  907. ;extension=php_sockets.dll
    ! g1 f% q: x7 g' w1 e
  908. ;extension=php_sqlite3.dll
    " D" U; p9 d, V6 \# m
  909. ;extension=php_tidy.dll
    ; s, `2 _" p8 ^+ d
  910. ;extension=php_xmlrpc.dll1 W  t: j: {; C1 m; G0 P$ `( O
  911. ;extension=php_xsl.dll
    3 n8 {4 ^+ ]1 a) j3 [" }

  912. / j. _" B; ^" Y& {" k, e
  913. ;;;;;;;;;;;;;;;;;;;
    7 }: D" `. a/ ]  g0 ^  H0 g
  914. ; Module Settings ;% ?& _0 e2 A; B% h! h$ i' s1 O
  915. ;;;;;;;;;;;;;;;;;;;
    & B- B3 t8 Z. K/ v+ Z/ u; P
  916. ; S% k' K1 J# D: k( X! _" `5 v& T
  917. [CLI Server]
    / C: b- y1 E  B! L) h6 Q
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ) y# a; S2 R/ l" j' {1 @2 l
  919. cli_server.color = On
    % n* e! H" @# U; l
  920. ) S8 j( M3 D' e! B0 _- ]' v% X
  921. [Date]1 W% M, G- |. _1 f) S
  922. ; Defines the default timezone used by the date functions
    * B% K$ U3 ^7 \- V& g+ Z* Y  s% J
  923. ; http://php.net/date.timezone
    $ o& j& |# a9 _4 M
  924. date.timezone = PRC
    4 S1 w9 R& e0 L# d: D

  925. 5 N" }4 d5 \) U
  926. ; http://php.net/date.default-latitude4 t4 G8 ]5 p# J& D4 W8 x, k
  927. ;date.default_latitude = 31.76671 @: K. c9 d2 T1 X! E
  928. . [" G4 a; y, V+ d
  929. ; http://php.net/date.default-longitude
    $ ?0 @/ L( C4 w( E5 `' N1 l
  930. ;date.default_longitude = 35.2333
    ' C: n& q+ i* B4 Q) a

  931. 7 e. o& {# l, ]2 [( g$ J3 \
  932. ; http://php.net/date.sunrise-zenith
    4 S8 ~( i9 Z& R. [' C
  933. ;date.sunrise_zenith = 90.583333  p8 |- a8 N2 f
  934. 5 \, g, ^7 p1 J. C) S2 F3 o  L
  935. ; http://php.net/date.sunset-zenith
    6 T8 ?4 p8 T3 ?
  936. ;date.sunset_zenith = 90.583333
    6 E& \8 E. H  k# v# O% A- w
  937. $ ^% i& z: @- B
  938. [filter]/ X5 V( C! W; d& J
  939. ; http://php.net/filter.default  S) S) C1 H. n7 n& m
  940. ;filter.default = unsafe_raw" i! W8 B- ]' k" F- e$ j7 \

  941. ' t  ]8 ~% c  l4 @- {
  942. ; http://php.net/filter.default-flags
    . l7 G1 n  r! ~/ V
  943. ;filter.default_flags =2 N+ v% W- _1 |, p! n/ T5 A
  944. # Y5 j5 w5 @1 `5 K& \
  945. [iconv]9 u" k: O4 l) `# o* `
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.9 m/ ]- U6 f. U8 [; _) G
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ; S" P3 J) t3 |$ @, `$ @0 u
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding4 c' Q6 @( Y7 O0 b+ f
  949. ;iconv.input_encoding =6 x: A: ?0 Q" t: `" ?

  950. 2 Z( K7 q- e, {" c
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
      `# }  b, E' E0 C  @
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.; t& `, n/ X# @- k- t9 ?/ P; r
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ! n+ ~% w2 J$ p2 G
  954. ;iconv.internal_encoding =
    ! v! a4 {- l1 X  m$ m6 K

  955. , v  c3 E- o& [+ G: q; Y$ l
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.& s' o2 ^/ A  n7 b, D
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.* a2 V( T, X& [1 B
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    . b/ Q8 y% `& J, \# S% _
  959. ; To use an output encoding conversion, iconv's output handler must be set. N, q% k3 Q( b6 }5 f+ w
  960. ; otherwise output encoding conversion cannot be performed.1 R. a( G  Q/ ^' h0 W& P$ A8 s6 M0 x
  961. ;iconv.output_encoding =
    9 r% x0 |5 g+ W3 Y

  962. 1 N# G1 Q7 U% M2 g- l  V. B  ^( K
  963. [intl]8 U3 q) m& {: v; y8 G7 |# x
  964. ;intl.default_locale =
    $ R% H' D6 _8 U% J/ ~! v* U+ a  T* J
  965. ; This directive allows you to produce PHP errors when some error: I- w! F; f% ~4 I
  966. ; happens within intl functions. The value is the level of the error produced.+ r0 T4 a5 g5 f9 R$ Z/ O0 ?% A. n
  967. ; Default is 0, which does not produce any errors.
    ' W0 J" f# f5 }" k; J5 a
  968. ;intl.error_level = E_WARNING
    ) i+ |2 @+ s4 z
  969. ;intl.use_exceptions = 0
    # Y! P1 P2 _$ g8 a  Y9 `. U/ v
  970. ; o5 c0 |* j. A' X5 w) b3 y/ B
  971. [sqlite3]! g' Q, z, I0 e/ Q6 l" u
  972. ;sqlite3.extension_dir =( S5 e0 X1 K- l( H
  973. 7 p$ B1 V; A1 B- q; `) g& U) J
  974. [Pcre]9 f9 m; D7 v) M/ I, a+ N; ]
  975. ;PCRE library backtracking limit.
    3 ?1 E2 u, V5 }( ~; P9 U0 J
  976. ; http://php.net/pcre.backtrack-limit5 i9 t0 {) b4 D" x1 |, U) n
  977. ;pcre.backtrack_limit=100000  w- f# h1 a! j" a

  978. 6 T! \* L# |: Z
  979. ;PCRE library recursion limit.
    ( }* V( _9 U  w" d/ A6 U  u# }
  980. ;Please note that if you set this value to a high number you may consume all
    6 ^/ B+ U: r; F# X5 F: a, u) C
  981. ;the available process stack and eventually crash PHP (due to reaching the) t' |8 [: n0 g. J4 K6 n
  982. ;stack size limit imposed by the Operating System).* I6 W3 U7 c' Q1 o* j( y
  983. ; http://php.net/pcre.recursion-limit3 n! W, a/ a  a+ H+ R/ o
  984. ;pcre.recursion_limit=100000
    : r8 o4 ~/ f" d) G3 i8 U

  985. * ~2 O, c' ~; X( \8 f  ^; h
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE0 R6 p0 F$ [, ~& g( z4 X
  987. ;library to be compiled with JIT support.
    $ a6 F, s, R: e, e
  988. ;pcre.jit=16 ?+ J: O7 u  Q7 o5 o
  989. 9 s' G# m  S0 \3 D6 s7 d
  990. [Pdo]
    8 h2 n, `/ a8 E5 b; u+ [
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    , y+ k! i( L$ x2 _8 N$ d
  992. ; http://php.net/pdo-odbc.connection-pooling
    & ?! q% i( t7 i8 V; n+ j7 H
  993. ;pdo_odbc.connection_pooling=strict8 h$ n$ y# J) a1 P" u  ~
  994. 6 v6 ]( [8 I5 c9 v: P' ~
  995. ;pdo_odbc.db2_instance_name
    ' o$ P( W8 z, C
  996. ( I9 p, j# S, q5 x
  997. [Pdo_mysql]
    % C( W& Y' F7 Y
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache* @# P" G  X3 n6 {: g+ J
  999. ; http://php.net/pdo_mysql.cache_size6 B8 _" C+ |( S. t! R
  1000. pdo_mysql.cache_size = 20001 p# ]% ?7 w. [- v$ f  g

  1001. 8 H& C$ n! O7 @9 H- m) K
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 J8 W6 x3 b1 b1 O" u2 s  c
  1003. ; MySQL defaults.
    ( `/ x& v5 y* Q
  1004. ; http://php.net/pdo_mysql.default-socket( w* D) Q! _3 G0 Y
  1005. pdo_mysql.default_socket=
    $ |0 @( B' f2 x' _& f/ k
  1006. 8 J' s; K: J* e7 ]
  1007. [Phar]
    * w' H5 Z3 z6 J9 `
  1008. ; http://php.net/phar.readonly9 T. q3 y0 x% y+ T' b& ?
  1009. ;phar.readonly = On
    + A' ~/ l3 s! e; K' q" K
  1010. 7 y! b2 {: U2 U5 z2 X
  1011. ; http://php.net/phar.require-hash' F' M8 |% h/ U& K6 K! c
  1012. ;phar.require_hash = On7 C# ?+ |$ w7 \( l) `
  1013. 4 i, v0 z6 o. |+ t5 q7 _1 F
  1014. ;phar.cache_list =2 @+ @: D) A5 N% m
  1015. ( y1 P- K" u  D8 M$ E4 k
  1016. [mail function]1 G% k0 Y* q! C
  1017. ; For Win32 only.6 Y0 d3 C+ C+ y& w
  1018. ; http://php.net/smtp7 q9 s6 {( b: `* e+ {- Z8 e. Q
  1019. SMTP = localhost
    & f2 ]0 B: T/ g& h) \
  1020. ; http://php.net/smtp-port6 w4 h' v2 V/ t
  1021. smtp_port = 256 K8 H7 O+ T  N! u1 E& \) P
  1022. * C+ |% G; y1 k- K4 E
  1023. ; For Win32 only.
    & L  X; H9 p% }# K4 y
  1024. ; http://php.net/sendmail-from4 ~8 ^- V$ r: D) Q/ D
  1025. ;sendmail_from = me@example.com
    - ^) ^8 Y; a! S6 s. O

  1026. " j* Y% ^3 Y9 x) Q6 b- p
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    & L9 ^9 e4 k! H9 Q- y; g+ z/ J. \* Y
  1028. ; http://php.net/sendmail-path
    8 R, v* T3 l9 E9 j
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    " y: N+ K" e; C$ d9 _
  1030. ; n! Z3 Y* h- j  [$ Y  l
  1031. ; Force the addition of the specified parameters to be passed as extra parameters. d' O6 P" q: l) Q# D. f$ F" O6 S- c
  1032. ; to the sendmail binary. These parameters will always replace the value of
    5 f& [5 W' x; n; y: u
  1033. ; the 5th parameter to mail().
    8 g2 l4 F2 G6 |0 {  K1 F* b4 A
  1034. ;mail.force_extra_parameters =7 {# V5 S8 p! d; Q3 u

  1035. " F3 E, W0 a; d" N2 y: i! n
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename6 I. q( P1 ^$ _
  1037. mail.add_x_header = On' `- m6 [$ k' M' n5 k# z& n. R

  1038. 9 w# Z5 S8 O& c
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    9 _. P4 l+ y4 F' r+ U& K2 A2 I' m
  1040. ; the full path of the script, line number, To address and headers.
    - r( l; j7 o. Y
  1041. ;mail.log =1 R' _, X+ x0 S8 `" k" i6 x+ f
  1042. ; Log mail to syslog (Event Log on Windows).
    0 S- C7 D: u" j& T5 _4 k
  1043. ;mail.log = syslog6 B& l! B8 ?+ q- A" [7 Y
  1044. 5 V7 d) ^# ?' E6 a" G/ n# x
  1045. [SQL]- q; b8 W5 H8 J* c* C. _
  1046. ; http://php.net/sql.safe-mode
    0 \; d7 ?  P# C) l/ q# C7 J  `
  1047. sql.safe_mode = Off: ~3 S! C' R: D1 }" R* y0 i2 L
  1048. 0 `) @+ q& S3 N: [! D
  1049. [ODBC]/ U8 {# ]! A" ?) _+ V' o. T% u+ n
  1050. ; http://php.net/odbc.default-db4 y/ R& j8 k0 ~
  1051. ;odbc.default_db    =  Not yet implemented
    9 c  d/ R  C1 I3 J- S- f6 f
  1052. ! K8 ~3 h- \- w& [
  1053. ; http://php.net/odbc.default-user' w1 _4 V4 }+ r+ ^
  1054. ;odbc.default_user  =  Not yet implemented
    5 r" B. s9 g2 q# @/ \  Z
  1055. : Q# M/ b# n$ @: o; M2 V! P
  1056. ; http://php.net/odbc.default-pw! W- n! F' L6 f. W& W2 q. ~
  1057. ;odbc.default_pw    =  Not yet implemented
    $ u% r0 @8 J8 {$ C7 @2 G9 X

  1058. 7 t- o" ^' j$ H' r7 Q$ t
  1059. ; Controls the ODBC cursor model.
    1 w$ B5 \# X+ X1 Q
  1060. ; Default: SQL_CURSOR_STATIC (default).
    . A  T: ~9 V' ~, u! R( t
  1061. ;odbc.default_cursortype( |2 W  I  N" T% h6 M; E& x
  1062. 5 r  r0 v9 O, V7 p6 ]0 p
  1063. ; Allow or prevent persistent links.+ h& Q( _+ g/ Z5 @  u& E8 E+ U  N8 B
  1064. ; http://php.net/odbc.allow-persistent
    , a: c& n: }% H" u
  1065. odbc.allow_persistent = On" S8 O( F- R" @. X* m+ B+ v
  1066. - {  J) R. Z5 j: M2 W
  1067. ; Check that a connection is still valid before reuse.
    6 n3 T3 \& c  B3 N/ K$ x( |1 G
  1068. ; http://php.net/odbc.check-persistent, R2 j4 n/ ]" v- X7 ~6 _
  1069. odbc.check_persistent = On
    ! c# l. d! {( K7 p# b; _+ M: M2 q

  1070. / P5 t- o+ }3 G4 U! b
  1071. ; Maximum number of persistent links.  -1 means no limit.8 G, a+ m5 h' z8 j) B
  1072. ; http://php.net/odbc.max-persistent
    0 c7 F9 a6 [% o
  1073. odbc.max_persistent = -1
    7 N! P6 L7 X) |8 v

  1074. 2 c& G) s( Y: |8 f. [
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 \# w5 l  M  F" I0 C6 f$ c
  1076. ; http://php.net/odbc.max-links0 S& g! q6 `/ ]" C4 f% {: p
  1077. odbc.max_links = -14 ]8 u5 n1 D+ x4 z$ j0 J2 F* @

  1078. / |# u0 [) q5 z! m- {5 ]' _
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ! G# l% Q" O* t+ Y' e% n
  1080. ; passthru.# i: l6 T0 r! y- F
  1081. ; http://php.net/odbc.defaultlrl
    2 [" R- x& _5 f$ K
  1082. odbc.defaultlrl = 4096
    : s6 X7 o. \3 f
  1083. 0 S* \9 w) E0 n' V8 N* l& w4 I
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    / K+ t+ V) f* h2 @. ]0 g- m% p
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation: k% d# D3 R* P2 R4 q
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    5 \2 V9 L& y+ M& m" ]7 w* k8 z  L
  1087. ; http://php.net/odbc.defaultbinmode! V! o6 c, L# M2 v) v$ l( K
  1088. odbc.defaultbinmode = 17 Z) N' O! P6 Y6 j2 r

  1089. ( \$ N1 y3 _5 l& @2 a' `4 m" a
  1090. ;birdstep.max_links = -1
    9 Q- v; X- W. c: r% F4 D
  1091. # s$ l# d  t* l' }9 f1 n
  1092. [Interbase]# ]! k8 V; D: A2 J9 f! ~
  1093. ; Allow or prevent persistent links.5 u5 X! I& {4 A( d/ m1 j
  1094. ibase.allow_persistent = 1% B, `0 h# [9 k/ k" L; `

  1095. , C% A+ C- R# W" P8 C
  1096. ; Maximum number of persistent links.  -1 means no limit.' R1 R' o. `- h2 y3 c/ X; \
  1097. ibase.max_persistent = -1
    ' ^- W, V+ Q! g! A% E3 n3 |
  1098. 0 s, D) j  X$ ]" x. M/ {+ s
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( }2 ~3 g" L% q3 t
  1100. ibase.max_links = -15 E9 }7 l9 K1 U( ~2 V& H

  1101. 0 e3 D2 N: x4 x& ^% r, A2 w
  1102. ; Default database name for ibase_connect().
    1 ~! t5 @( L% _' E' v9 T
  1103. ;ibase.default_db =1 n' A' ~" h/ M$ \  Y
  1104. 2 S* A' y, B, U- r; `
  1105. ; Default username for ibase_connect().
    : x. U) U: z, @" s1 D9 a
  1106. ;ibase.default_user =
    3 m; [  `2 A# _' B( a% ]. T, ?

  1107. 6 u- i; d* i, E2 e! Z; r
  1108. ; Default password for ibase_connect().
    + J5 N$ Z' ^: ~# \9 D4 K& q- ?
  1109. ;ibase.default_password =
    : _1 x( p+ J0 _1 b0 f* S
  1110. # i5 P1 M$ d9 {) ~" e& d$ B! b
  1111. ; Default charset for ibase_connect().7 W! M. T- H, M, Z
  1112. ;ibase.default_charset =+ M# h& N7 v9 T

  1113. 9 t+ W( T( e! y, \- h/ I6 `) U
  1114. ; Default timestamp format.* Z% o. g" }9 J$ {5 G
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    7 M. k7 U( `# o# x
  1116. $ u: w) S' i1 l) p# A7 D. @/ _
  1117. ; Default date format.1 }, U( _, N% T
  1118. ibase.dateformat = "%Y-%m-%d"
    / s5 g! H- [4 ~. ^2 C; m

  1119. ) {/ D' _  B% |
  1120. ; Default time format.
    ) ~0 F9 y1 J/ h0 U: J% m
  1121. ibase.timeformat = "%H:%M:%S"( z" u# A+ ~1 D8 e7 @. d
  1122. + ]2 v& ?( F1 T( C* I  @
  1123. [MySQLi]; G( G2 f4 X8 b! f

  1124. 5 l. z9 K$ m) D
  1125. ; Maximum number of persistent links.  -1 means no limit.
    * N* P' X$ X( v% A0 E1 \" {# I
  1126. ; http://php.net/mysqli.max-persistent  g$ _( j8 j- E1 g) c) ]
  1127. mysqli.max_persistent = -1
    & m' Z0 ^" l) s
  1128. & W% f; m& G2 \) q7 {
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    / i6 {7 ^5 ^1 M- g( P5 h" B% q
  1130. ; http://php.net/mysqli.allow_local_infile8 A9 @3 _1 i! u8 a% Q. E
  1131. ;mysqli.allow_local_infile = On6 D+ U& g: V2 J" h! l' L: Q

  1132. ) G; |, f" a' u+ F
  1133. ; Allow or prevent persistent links.
    * _3 r+ M* W7 j( T4 G7 `: \. k" L
  1134. ; http://php.net/mysqli.allow-persistent
    4 F# u/ ^% U( l0 n1 p+ ?( I
  1135. mysqli.allow_persistent = On
    ( k. Q+ Z+ J  i/ ]: D
  1136. ; s/ {0 r; L3 u6 r0 P6 U
  1137. ; Maximum number of links.  -1 means no limit.
    / \7 I7 l; M- c# @  G* k
  1138. ; http://php.net/mysqli.max-links
      k% j& r3 y& Y% _% I
  1139. mysqli.max_links = -14 |) v3 h& u9 s- K

  1140. . T6 K! d# }/ @* l3 _
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! b0 \# Y; G3 c( a% F* M" `# a' d# }! B
  1142. ; http://php.net/mysqli.cache_size
    $ E2 R3 q/ g6 [' ]; x
  1143. mysqli.cache_size = 2000
    ! P% W! g- g) a. Y5 S9 ]2 E
  1144. ' G- M3 M& d- I  \$ p& n  [% p
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use3 u, u$ e0 [5 G4 F
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    : W7 ?; T, e3 u! |+ G/ t: H; s
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look% P$ V7 a7 I  t& |
  1148. ; at MYSQL_PORT., G) B* M( J4 Y% i
  1149. ; http://php.net/mysqli.default-port0 B; V! O# A- c1 |! D, e
  1150. mysqli.default_port = 3306
    9 m" O: E5 K* d, V+ U
  1151. ) H/ B1 D; q. q( f5 {4 J% l
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ' Y3 U% Q! {3 C8 _- X; P( f2 D; t
  1153. ; MySQL defaults.
      N5 S0 T9 h( p' Z: [4 \; C
  1154. ; http://php.net/mysqli.default-socket& L8 q$ m) V  a4 A
  1155. mysqli.default_socket =2 O& T% ~, J- p: n7 k+ Y
  1156. * B6 z. o% D3 I9 v
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).* l5 W0 }; B5 B
  1158. ; http://php.net/mysqli.default-host3 ?" u7 W5 D* I$ q, f% `
  1159. mysqli.default_host =
    6 v! I/ }4 E0 \$ ?9 a+ l6 ]
  1160. 2 }- D. E* {3 y4 J3 X! o! ~$ V4 m
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; S$ o9 v# A7 k) h1 H- _- o+ H
  1162. ; http://php.net/mysqli.default-user
    - C7 |4 _2 f7 s& X
  1163. mysqli.default_user =
    ( Z( q8 x$ w4 Q2 A

  1164.   {5 [9 n, W& z& a
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).+ w) i( F9 j: p  o2 a. a! u) d
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.7 [+ W& E+ G! p* s) k# b
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")$ _& e( g' d+ _
  1168. ; and reveal this password!  And of course, any users with read access to this1 D. K4 d5 Y+ E/ N8 u( M" o+ W, Z
  1169. ; file will be able to reveal the password as well.: ?" u. q" J2 Z
  1170. ; http://php.net/mysqli.default-pw3 }' h7 G+ \) R) ?/ i4 d5 i' y
  1171. mysqli.default_pw =  p. E1 I: q. W0 X1 d$ {

  1172. , G' T6 P: O; I& [7 V% S" M) ^1 u  u6 M: c
  1173. ; Allow or prevent reconnect
    8 l! x7 ?9 d2 }5 w( `8 n& y4 y
  1174. mysqli.reconnect = Off
      {( \; K) }; D, E8 n

  1175. ; S- S/ |8 g% w: T
  1176. [mysqlnd]# L$ T2 {& H1 Q
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    + A, S7 k! b. X, ^& f0 e$ S- y! S$ `
  1178. ; used to tune and monitor MySQL operations.
    ) S) d* ?* }* T6 D# l9 z
  1179. ; http://php.net/mysqlnd.collect_statistics
    + T: I. O# N! \+ v) ]7 H8 |/ \: c& \
  1180. mysqlnd.collect_statistics = On
    ' L+ V# P" k! l

  1181. ; D- t9 s1 c9 n! |* T
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    5 o2 [; R9 |8 X
  1183. ; used to tune and monitor MySQL operations.
    , _9 t$ i! [) P$ x
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    & x( r9 b5 L+ v
  1185. mysqlnd.collect_memory_statistics = Off" l% B( n/ y# X, t6 X( g* K4 q
  1186. 9 Q' D' [  Q0 H; O
  1187. ; Records communication from all extensions using mysqlnd to the specified log- b8 q" X+ h8 O9 H- j1 k
  1188. ; file.
    6 s2 O0 K! \! q- X. |5 {" t
  1189. ; http://php.net/mysqlnd.debug
    9 W1 g  @) \* D& ?
  1190. ;mysqlnd.debug =
    - l2 a( k9 n  D: s. b& \9 z- U

  1191. - Z) H! a# r/ K& f  c
  1192. ; Defines which queries will be logged.5 u& B+ w. \( L; s/ J* X& B2 o
  1193. ; http://php.net/mysqlnd.log_mask
    / }4 h" _2 R& ]0 E2 d2 J
  1194. ;mysqlnd.log_mask = 0
    0 j$ P: R1 o& q1 l
  1195. ! e& M" S! Q+ n7 Z
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    8 P8 F  D8 ^. @4 `
  1197. ; http://php.net/mysqlnd.mempool_default_size
    - W+ `3 g* j3 R6 _1 P/ m" A2 Q
  1198. ;mysqlnd.mempool_default_size = 16000. ~+ D- U: F, r2 j" `2 V& F
  1199. + f. K' ]3 X" N& E) m
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.8 `! g2 \( |) a# H/ V
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size9 \' W% t. V  {/ z
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    ( I9 @7 B- z" G, H

  1203. # M2 Q6 ^+ q$ r& Z6 l1 r
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    & X; w, N0 ]  w' _
  1205. ; bytes.
    9 s, y! A3 A1 u
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
      M8 m( W, U( v9 c6 `% b/ h2 N. v
  1207. ;mysqlnd.net_read_buffer_size = 327681 F/ P" {! g4 E' z; Z- K
  1208. - k* @- ?- o' |& w
  1209. ; Timeout for network requests in seconds.
    0 @" @: C% b' X$ k& \. g
  1210. ; http://php.net/mysqlnd.net_read_timeout5 x9 C' l. T1 C2 D
  1211. ;mysqlnd.net_read_timeout = 31536000
    ' k: P0 L0 N! p7 N  u' q
  1212. ( s7 ]  _2 `3 G& z
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA, S* A5 E5 w, h8 j; Z9 N/ K
  1214. ; key.
    " t' V5 R3 M; ^8 K: \
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    % i, U  _. B7 F; E# D
  1216. ;mysqlnd.sha256_server_public_key =0 u' ^0 ?# v. m. ]

  1217. - l( q- `9 R7 g. E3 h1 N+ R
  1218. [OCI8]9 K0 f$ j( u. ^& O+ Q  ]: Y
  1219. 0 L$ H& o) m" c. q7 b; V9 J
  1220. ; Connection: Enables privileged connections using external
    : ]$ X% }! q' _$ P+ n) _
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ! ?+ C' M; y2 E5 q  Q
  1222. ; http://php.net/oci8.privileged-connect0 H# b, [" P! A$ M6 v: ^- |
  1223. ;oci8.privileged_connect = Off/ l& {, l. Q7 J0 P

  1224. : M9 p8 q+ d: Y( w" i
  1225. ; Connection: The maximum number of persistent OCI8 connections per$ w! k0 D+ b& o8 j$ U/ l/ Q
  1226. ; process. Using -1 means no limit.9 `* ]0 H6 o0 a; z- i  t, @+ o
  1227. ; http://php.net/oci8.max-persistent
    2 p3 m( [* J& C. _8 f2 _
  1228. ;oci8.max_persistent = -18 [/ h; f+ L  v& d- {% {

  1229. 9 r. n! f# e/ T( `* G7 u0 f
  1230. ; Connection: The maximum number of seconds a process is allowed to
    3 @. B8 R- }& `; p+ R
  1231. ; maintain an idle persistent connection. Using -1 means idle
    / L5 ^3 h# @$ b$ ]& Z8 W: I
  1232. ; persistent connections will be maintained forever.
      K* L* l& s; \
  1233. ; http://php.net/oci8.persistent-timeout1 c' R6 N7 |$ n7 c* X
  1234. ;oci8.persistent_timeout = -1
    ' H8 H+ b, |9 E3 t7 O0 g* L
  1235. & W! y+ |( t3 k. y" _: ^7 S6 @
  1236. ; Connection: The number of seconds that must pass before issuing a
    8 U- ?2 d" ?) O
  1237. ; ping during oci_pconnect() to check the connection validity. When. p% V: A8 m! C7 [4 b" r5 e1 {
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
      K  n/ K2 Q  m6 |/ b' F
  1239. ; pings completely.5 e. P3 W% l7 P! U5 w
  1240. ; http://php.net/oci8.ping-interval
    / n% i7 o/ c5 `' X+ C. f! O' O
  1241. ;oci8.ping_interval = 607 K) E$ x& E& |; R. l

  1242. 2 L: r# Y, k  f+ e
  1243. ; Connection: Set this to a user chosen connection class to be used+ T9 G, P7 T' ^# @$ b# ~' h6 Q" z$ Q
  1244. ; for all pooled server requests with Oracle 11g Database Resident  C! b% ?: ?1 p& r4 A' e1 r# g
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    & n; d& L( X/ H
  1246. ; the same string for all web servers running the same application,
    0 s5 v1 \% c, c5 a/ S
  1247. ; the database pool must be configured, and the connection string must
    * m0 R( {  h! O  C
  1248. ; specify to use a pooled server.
      j5 {: ?$ ~1 B* |8 h  O/ S
  1249. ;oci8.connection_class =/ k" a/ H9 k  }5 b$ \

  1250. 2 ~; E' Y' z2 R: j" o
  1251. ; High Availability: Using On lets PHP receive Fast Application" Q; D' _8 E# [; X
  1252. ; Notification (FAN) events generated when a database node fails. The
    * `& ]: c# l6 Y5 z  X
  1253. ; database must also be configured to post FAN events.
    5 h& H$ M; I+ }) X
  1254. ;oci8.events = Off' U3 |: Z9 W8 r* e2 [" v
  1255. 8 \2 R; e4 z# L7 u
  1256. ; Tuning: This option enables statement caching, and specifies how1 J" Z1 X0 T% ?- h! U3 ?+ }
  1257. ; many statements to cache. Using 0 disables statement caching.- L: P8 N% g3 G  @
  1258. ; http://php.net/oci8.statement-cache-size
    + J5 e4 G7 I* F; ?6 r
  1259. ;oci8.statement_cache_size = 20; V) B* Y* Y$ s- I

  1260. ' G6 \, S8 q& p$ ]6 C. R, c) @$ T
  1261. ; Tuning: Enables statement prefetching and sets the default number of! W1 x! C5 r1 p1 ]! n7 }
  1262. ; rows that will be fetched automatically after statement execution.
    3 f# c5 l- ^/ v5 `5 t1 d
  1263. ; http://php.net/oci8.default-prefetch3 b& x& x" Y7 g, X3 \
  1264. ;oci8.default_prefetch = 100+ E1 ]8 B9 I2 n
  1265. - R$ K4 i$ L# ^; c% K) b' H+ }
  1266. ; Compatibility. Using On means oci_close() will not close( c6 ]& K+ I7 x$ [  V, a
  1267. ; oci_connect() and oci_new_connect() connections.
    - n7 B3 N% q& j. m" _* t1 K0 D
  1268. ; http://php.net/oci8.old-oci-close-semantics( R( Y+ T+ G. {" k7 v3 _, u) \; C
  1269. ;oci8.old_oci_close_semantics = Off! ~0 K, I( P5 F6 P
  1270. ' ~) ?/ D/ t2 A& P- G1 k
  1271. [PostgreSQL]* N0 J4 O) y0 D% R) N$ w$ R
  1272. ; Allow or prevent persistent links., Z* h5 [4 V) Q2 u4 g% f
  1273. ; http://php.net/pgsql.allow-persistent
    * l2 ?5 N0 T2 A% I# Z
  1274. pgsql.allow_persistent = On
    ! k% {( X1 G' t5 \
  1275. 7 e4 s3 L) I: {: I, A6 U6 g! j
  1276. ; Detect broken persistent links always with pg_pconnect().
    5 i( X: I! d0 ]' K# d  [
  1277. ; Auto reset feature requires a little overheads.
    ) F9 N: M! O. H8 k" y3 X
  1278. ; http://php.net/pgsql.auto-reset-persistent
    * {7 E5 `' c2 O- ^4 D  x& ~8 R
  1279. pgsql.auto_reset_persistent = Off
    3 U3 e+ D8 L; \1 M/ V+ i' u
  1280. ! Z" ^8 D0 m- A3 {! u; ^; I
  1281. ; Maximum number of persistent links.  -1 means no limit.
    0 ]6 X& T% Y* {2 n0 h( y) ]  _0 }
  1282. ; http://php.net/pgsql.max-persistent
    4 I& ]+ ?, x% E) J
  1283. pgsql.max_persistent = -17 M0 T) L! N& C/ S& [" @9 E
  1284. 1 N) E- ~# Y2 z( g7 a
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.' z) G5 U0 G# z) d
  1286. ; http://php.net/pgsql.max-links
    ' N* Q. |6 D3 y, l6 v) j. }
  1287. pgsql.max_links = -13 o' j( J3 U( l0 y" }
  1288. : Q- L( |$ C0 h5 ~6 @2 i, ^3 ?
  1289. ; Ignore PostgreSQL backends Notice message or not.
    4 Z; u3 ]2 W7 V9 I
  1290. ; Notice message logging require a little overheads.. B( R8 }( K) A. p
  1291. ; http://php.net/pgsql.ignore-notice
    + Z, Y2 P9 w9 y/ z; z+ R0 w
  1292. pgsql.ignore_notice = 06 a% k7 g, z" H+ j/ p5 y

  1293. 9 p+ _9 t( d% n) E
  1294. ; Log PostgreSQL backends Notice message or not.
    5 R' Z" ^% z6 j7 Y1 _
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.' d8 i7 y' v  g0 @5 m: W+ r8 Y
  1296. ; http://php.net/pgsql.log-notice5 \# @+ {3 j8 f
  1297. pgsql.log_notice = 0
    8 v& j% Y  V9 j
  1298.   f. {; t: A7 F- ~
  1299. [bcmath]$ W3 Z: C; z( z; U4 m1 v
  1300. ; Number of decimal digits for all bcmath functions.
    ( e) j8 [# m) ~5 ?6 G5 t; O
  1301. ; http://php.net/bcmath.scale
    $ q+ \" N0 f6 z: C/ o
  1302. bcmath.scale = 01 @  m5 @+ s3 K5 I: x
  1303. 1 ^9 X: u1 z! \  J9 L# u
  1304. [browscap]$ P2 K2 E4 X( W2 q
  1305. ; http://php.net/browscap/ G' R7 `5 W9 b+ H4 ~3 ]
  1306. ;browscap = extra/browscap.ini
    0 @" _) l. _+ S4 Y2 P% H' Z
  1307. 3 i3 f2 e% I# o* Z3 T: x4 e( ^7 Z
  1308. [Session]
    , g/ `- b; @$ k, q8 C2 |
  1309. ; Handler used to store/retrieve data.- w& V+ [  y+ C8 T# O  A
  1310. ; http://php.net/session.save-handler; u) W0 Z2 V" ]/ y6 R6 X- w9 p
  1311. session.save_handler = files
    * }! |4 F; `$ z+ V

  1312. ' w* j4 N2 m$ a& C! L
  1313. ; Argument passed to save_handler.  In the case of files, this is the path7 C8 H0 a( R. x* U" Y0 Y2 K4 s0 H' a( F6 f
  1314. ; where data files are stored. Note: Windows users have to change this
    5 I2 V3 [- W. [! P
  1315. ; variable in order to use PHP's session functions.
    & V4 T& G2 X# [
  1316. ;
    1 i# u; p) W4 e9 f, Y
  1317. ; The path can be defined as:$ W. c6 B! {2 B3 j
  1318. ;
    1 |+ f( |5 }! B9 o* x/ ?! t7 v
  1319. ;     session.save_path = "N;/path"
    - u$ O; U, \: k2 m! P- Z1 J8 o
  1320. ;
    " e9 L+ f4 T! ^1 N
  1321. ; where N is an integer.  Instead of storing all the session files in& G; G/ y/ R% F( [/ p. A4 R$ l
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    : l( ^$ W  c* y7 n9 w+ f: y! t2 V! \
  1323. ; store the session data in those directories.  This is useful if* N1 C! H  s0 h+ E2 U, v# h5 e# A6 e
  1324. ; your OS has problems with many files in one directory, and is+ m! w! C' s& U, J" V
  1325. ; a more efficient layout for servers that handle many sessions.. F1 T, S8 m' ~( T$ o
  1326. ;
    / f1 }5 n! }" M5 Q
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    " O# Q( v& ?/ Q7 g+ H
  1328. ;         You can use the script in the ext/session dir for that purpose./ P; u$ c% G3 |, l! N
  1329. ; NOTE 2: See the section on garbage collection below if you choose to  W- |0 G* y/ q3 ^- ^. ~2 T1 v
  1330. ;         use subdirectories for session storage
      l4 `) @% ?$ b# h# m5 o
  1331. ;
    % S# T. X: o3 ^' A: H4 o, W
  1332. ; The file storage module creates files using mode 600 by default.
      I7 y8 C, s. Q/ e
  1333. ; You can change that by using3 n! R& r6 ?0 b9 }4 _& w
  1334. ;
    # G7 P- W! [8 v; g2 @6 Q7 j& t
  1335. ;     session.save_path = "N;MODE;/path"
    , m6 G9 w- m7 [/ {
  1336. ;, e3 c7 M! k- v; j1 G
  1337. ; where MODE is the octal representation of the mode. Note that this/ o: [5 o* a* {$ A5 a2 x
  1338. ; does not overwrite the process's umask.
    0 o- _' u# a! e9 S( y3 V% {
  1339. ; http://php.net/session.save-path
    . {( h9 p; Q: r$ A/ ~9 [3 R4 Y5 B: r
  1340. ;session.save_path = "/tmp"
    1 \7 ?6 b4 a' ]: G4 j2 z3 ^$ P

  1341. + b) u) y. P" \( |& D$ W$ g; }6 g
  1342. ; Whether to use strict session mode.
    # Y5 m) H: F, X; @
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    , D5 k" `+ l1 R2 E
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects  L3 z2 H5 _' y4 B' _* N
  1345. ; applications from session fixation via session adoption vulnerability. It is
    ) q3 K7 i- ~: B, [  F
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.3 ]. Q8 d! m6 d) Z
  1347. ; https://wiki.php.net/rfc/strict_sessions
    * q1 \* O! R4 o2 X0 c
  1348. session.use_strict_mode = 0
    5 @$ |0 ~- C- P6 ~" l

  1349. & o1 @6 D/ q: v
  1350. ; Whether to use cookies.$ d* i* X5 V: _& L. t5 e
  1351. ; http://php.net/session.use-cookies; k0 ^! v8 K, ?+ I/ s7 H$ D' i
  1352. session.use_cookies = 15 `( k  F. _( ]

  1353. # c+ Q& G9 P4 j% t: i, a
  1354. ; http://php.net/session.cookie-secure# x1 B# z+ ], I; T
  1355. ;session.cookie_secure =
    1 x9 B- K1 j( }( p7 T1 }* d2 f

  1356. . o" `( O; m9 {4 e$ ~$ X
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining, D+ x, i+ s/ |4 e/ R  j/ m
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    3 i0 u& W" t) f& m4 b* R" G
  1359. ; session hijacking when not specifying and managing your own session id. It is; f, }& ]& V  F/ w
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    " m2 {9 J' W1 s1 u
  1361. ; http://php.net/session.use-only-cookies  n* W* ?# r* h
  1362. session.use_only_cookies = 1# @/ R3 f, z& h# d( v
  1363. ; y/ ?2 b( |% n) t
  1364. ; Name of the session (used as cookie name).# O$ R$ n* D5 T, F3 i( w
  1365. ; http://php.net/session.name
    & E- l. h2 w* L7 w3 D% T
  1366. session.name = PHPSESSID
    " I1 i4 X- X; a# v" k; d4 H) V6 t

  1367. # U7 s1 V% H0 d% ]
  1368. ; Initialize session on request startup.' t. \% C/ h+ [0 l% [, N7 ~9 R
  1369. ; http://php.net/session.auto-start' z. i3 `# O7 H8 @
  1370. session.auto_start = 0/ q/ W; H6 V/ w# `; m4 e+ \8 Q

  1371. & D! ^. B- O- ?9 k6 i! z
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ; M! b9 e& @* z: V' j% U) a: I8 {2 f
  1373. ; http://php.net/session.cookie-lifetime
    1 X0 E) m2 x+ D, ]- C
  1374. session.cookie_lifetime = 0
    5 F  g5 T' d" J! Y" o7 h& c

  1375. 8 }& ~0 D' y; O* I4 p
  1376. ; The path for which the cookie is valid.+ b# F1 Z* C. \& m0 n3 D# n
  1377. ; http://php.net/session.cookie-path, I1 E% ~' s& c8 x
  1378. session.cookie_path = /! u% o. y7 P4 D  ^5 K" l
  1379. 3 T' O7 Z, M$ R; a/ x4 ~# z
  1380. ; The domain for which the cookie is valid.
    9 w; L' z* D8 X! p3 R/ c
  1381. ; http://php.net/session.cookie-domain
    $ _4 V- {- H1 g4 {9 f8 Y
  1382. session.cookie_domain =
    9 j5 o) g4 S+ R2 C" t
  1383. 7 V* _. g; a3 v7 L: ^" T
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.5 H" E& R& K$ Q! f
  1385. ; http://php.net/session.cookie-httponly
    . D/ w1 L+ {% u7 L4 C/ e* N. g/ f
  1386. session.cookie_httponly =& N9 |5 u- s# o8 \& }) K8 U# j0 W$ s

  1387. 3 V3 ~  G; Q# u, s+ d4 o
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    / U' T, M$ _1 `+ e: H: ?& H$ ?
  1389. ; http://php.net/session.serialize-handler6 t# ^1 I) T, z1 G$ h! }- A
  1390. session.serialize_handler = php7 B, c  u( @  g$ d0 S

  1391. 3 L) V' @) A+ k1 o& t$ }4 p5 K
  1392. ; Defines the probability that the 'garbage collection' process is started
    . X& A! H6 G" v& T
  1393. ; on every session initialization. The probability is calculated by using
    7 O4 `% k5 \4 j2 p  f- X
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ' |0 z0 R2 l; X
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    4 r, d* ^( L* i2 `+ k
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance0 ~8 @% M- q4 S9 Y7 H1 B8 l
  1397. ; the gc will run on any give request., ^' I: }( e5 z9 o& \
  1398. ; Default Value: 1& c' }: p0 }8 i
  1399. ; Development Value: 1
    ) M* ?1 a9 O0 v3 \; O. Z. @
  1400. ; Production Value: 1  E' B3 c, L/ [3 E- n8 O/ R
  1401. ; http://php.net/session.gc-probability
    8 g' Z' \( f4 S5 o9 t" x
  1402. session.gc_probability = 15 c: ^3 p" a7 @: \' A

  1403. ) m$ r4 ~" r$ ]/ P1 S8 x
  1404. ; Defines the probability that the 'garbage collection' process is started on every, I6 ]8 i2 @5 a" w) B; q  A
  1405. ; session initialization. The probability is calculated by using the following equation:% J$ I( y% V& E& F3 g8 z: A
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and8 }+ f/ v9 q+ w+ o1 d9 ]+ m, z3 o
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 14 x* V2 b, I4 r9 t( ?' t
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance/ u# C( F. R& y' \& V
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you$ e7 F5 p! \2 a- ^5 i
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    " M9 F1 b% H/ ~
  1411. ; this is a more efficient approach.
    6 N5 g6 Z2 u3 M7 a& U) N
  1412. ; Default Value: 100. t9 e& ^) _$ S& k1 A) B
  1413. ; Development Value: 1000$ q/ ~0 H4 \! C7 X' N. g
  1414. ; Production Value: 10002 Y; S& `9 `, p9 w
  1415. ; http://php.net/session.gc-divisor
    + I" J/ K2 }; @$ A( @
  1416. session.gc_divisor = 1000
    & F- V0 N* {" Q# o2 S1 d
  1417. 7 F0 s2 R" @$ d  @1 g$ G
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and# c* w/ r' A) C
  1419. ; cleaned up by the garbage collection process.
    9 R3 Z) U0 ^) N3 }! c- }: X1 S
  1420. ; http://php.net/session.gc-maxlifetime
    ) \0 K; D2 B) T) k( U" F8 B9 @
  1421. session.gc_maxlifetime = 1440
    , j3 r( I# f& [. q

  1422. , u0 V4 s4 d  h+ G5 x; n* w
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    ) h& E( ]& _+ Q4 I+ [
  1424. ;       (see session.save_path above), then garbage collection does *not*1 j, `# Z% M) l. Z* {* E7 {: w
  1425. ;       happen automatically.  You will need to do your own garbage
    2 U" j+ Z& i0 @5 t& \
  1426. ;       collection through a shell script, cron entry, or some other method.) F7 w' s/ z# \/ U
  1427. ;       For example, the following script would is the equivalent of+ B  |. z  T' G/ ^0 Q1 X
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    4 s7 x$ \% z* A7 ~" f: r
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm+ y5 A* [" f2 v# p2 k

  1430. ; z% y; @8 X  v8 |( G- c
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    " |( ~1 v5 h- F* F
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    $ M% f7 [9 k% C2 [
  1433. ; considered as valid.* X. r/ ^; E6 D( T5 Y  {! _8 i6 _
  1434. ; http://php.net/session.referer-check5 v) s+ V+ D6 X) C, P) @; d) H; r  Z
  1435. session.referer_check =/ l. L4 y3 ~5 B
  1436. . ]9 E/ X" d& w# J) ?) E6 b
  1437. ; How many bytes to read from the file.( F/ `/ N+ P, i' D/ c; W2 s" R
  1438. ; http://php.net/session.entropy-length: F+ ?3 w5 D: S. Q3 j; u* W( }
  1439. ;session.entropy_length = 32& j( {) D* C) }5 ]/ w' m3 L
  1440. ; @1 U: k$ X, n2 s
  1441. ; Specified here to create the session id.4 O; @0 u' R) b
  1442. ; http://php.net/session.entropy-file
    9 T0 \' r( l5 F# @$ Z
  1443. ; Defaults to /dev/urandom
    3 i3 Z; s' L/ G$ B7 }4 h* a% G8 B
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    0 n% z3 L5 Y1 y) @6 z
  1445. ; If neither are found at compile time, the default is no entropy file.8 |2 Z% w9 z! ~6 o: L7 D
  1446. ; On windows, setting the entropy_length setting will activate the
    * a6 c* a8 `9 M  a1 X
  1447. ; Windows random source (using the CryptoAPI)
    $ u' M1 ?% y# I$ S; i6 C6 q0 c6 y
  1448. ;session.entropy_file = /dev/urandom& s* [: T( c0 G1 R- w- i

  1449. 8 d' F7 w" _+ Q4 M$ I
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects$ O' f- h  q/ ]1 b+ J& c
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ( ^( G$ R) l" w
  1452. ; http://php.net/session.cache-limiter
    + f; `" `1 [& N0 S! _/ D# c+ X
  1453. session.cache_limiter = nocache$ a; m4 s- M$ K7 ~  i; L

  1454. 4 s6 x; E/ x" d, ?) x' K5 @
  1455. ; Document expires after n minutes.
    * H  h. q; y$ Y' v, ~8 d
  1456. ; http://php.net/session.cache-expire
    $ P4 l& I% y$ @1 C4 h7 R) c8 Q
  1457. session.cache_expire = 180
    6 m- @! h9 f% e' U

  1458. 9 r3 |& D, c' y5 S: @# o: N
  1459. ; trans sid support is disabled by default.4 U$ H6 K) ]3 r
  1460. ; Use of trans sid may risk your users' security.6 H# ]/ i4 s  y. A
  1461. ; Use this option with caution.
    # H7 M5 j  `0 [: Q' S
  1462. ; - User may send URL contains active session ID  T0 c/ e3 z9 l
  1463. ;   to other person via. email/irc/etc.( D* K0 m$ d- g5 V- ^
  1464. ; - URL that contains active session ID may be stored, ]4 F# w7 r/ p. R# ]+ h
  1465. ;   in publicly accessible computer.$ s! K7 V- j: b/ D
  1466. ; - User may access your site with the same session ID6 g4 ]; J: j" H. Q# x) q, ]
  1467. ;   always using URL stored in browser's history or bookmarks.- y) V8 O: O; L) a# B
  1468. ; http://php.net/session.use-trans-sid
    ' C3 _1 L/ y- R, Z
  1469. session.use_trans_sid = 0
    " ]8 ^. n8 R3 P0 x# ?- C& d: G

  1470. 1 d5 \# A! q% i1 y/ V8 X1 U. d
  1471. ; Select a hash function for use in generating session ids.
    9 m( O6 D9 v! s+ B7 \" y
  1472. ; Possible Values& E% n/ R' R8 k- ^3 D& Q
  1473. ;   0  (MD5 128 bits)" k+ ~9 X; p  K
  1474. ;   1  (SHA-1 160 bits). V! R7 u6 Z' ~9 Q- M
  1475. ; This option may also be set to the name of any hash function supported by
    0 M1 X, v* K2 Q% j4 }( Y
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    # H+ a3 r6 Y8 T; x; ?
  1477. ; function.
    # O  m+ G( O9 G. j5 j$ i1 W
  1478. ; http://php.net/session.hash-function
    % i' k. H  e+ |  i0 Y- I
  1479. session.hash_function = 0: s$ Q  W' K% k! d
  1480. ; x, V- L  o0 `% p( k1 Z, u  B
  1481. ; Define how many bits are stored in each character when converting9 Z) Y, S& ^2 W- j! d( ~
  1482. ; the binary hash data to something readable.
    ' ]. n' O  B  ?" \, d9 I
  1483. ; Possible values:% u; X7 n- N  w8 n) r
  1484. ;   4  (4 bits: 0-9, a-f)9 W: L' P9 P- f" V5 T$ F$ k
  1485. ;   5  (5 bits: 0-9, a-v)5 z0 s9 L- \. b6 p
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    * u) O1 x; A/ a, v
  1487. ; Default Value: 4( D' c1 M$ y% Q. M" c
  1488. ; Development Value: 50 c% u% H4 ~& ?4 H' a
  1489. ; Production Value: 50 h( g2 X& w. I: F; \( [
  1490. ; http://php.net/session.hash-bits-per-character
    & Y$ Z8 O- q, g
  1491. session.hash_bits_per_character = 5
    + d, P6 u* B. q
  1492.   w- A) P, U* i2 s# K2 D# j/ b
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.5 Y0 G. u4 V( V0 j. t
  1494. ; form/fieldset are special; if you include them here, the rewriter will5 ^* m4 I: t8 [. e
  1495. ; add a hidden <input> field with the info which is otherwise appended
    : A( n/ t( [: O
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    / P7 b: s( \: ]+ Z
  1497. ; Note that all valid entries require a "=", even if no value follows.5 |* V& ?( L+ _$ R& a
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="/ w+ m3 s  v( y3 @$ p+ w
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* w/ r7 ?0 G$ r
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & D7 W. X9 C' r  Y) h) d
  1501. ; http://php.net/url-rewriter.tags, b6 R. q4 k- a$ {+ K
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"7 @  `+ S. O. w* C
  1503. % o7 X- d: P2 r" d: n5 N) p" I! y# ^/ g
  1504. ; Enable upload progress tracking in $_SESSION
    2 w& u2 T  X, I! ^" ~0 t
  1505. ; Default Value: On
    * ?5 X- b6 V  @9 Y7 h& H! o
  1506. ; Development Value: On
    3 g, o, Q3 K: K% s. C3 n1 ^
  1507. ; Production Value: On
    7 O$ t9 x4 e0 ^  ^2 n
  1508. ; http://php.net/session.upload-progress.enabled
    , m( ~! U7 ~: B9 ^! f7 ^
  1509. ;session.upload_progress.enabled = On
    ; T. D" G, v6 w( w5 p4 F
  1510. * F1 o8 w- K' T* X7 U% v' ]: n
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ( v# F  b7 T. u
  1512. ; (i.e. upload completed).# I4 b6 c0 D3 ~, k5 H
  1513. ; Default Value: On
    1 J. q' b0 q& D7 z
  1514. ; Development Value: On
    7 B, z1 A7 V) ?4 b
  1515. ; Production Value: On
      T. [' p7 C9 n2 P
  1516. ; http://php.net/session.upload-progress.cleanup
    * d: _, W: _- f" z
  1517. ;session.upload_progress.cleanup = On; n6 T: Z6 Z/ `  c

  1518. 6 u, l& S: ~; o' k
  1519. ; A prefix used for the upload progress key in $_SESSION
    + X) ]8 ?6 Q5 l+ s- I5 {  }! |
  1520. ; Default Value: "upload_progress_"; {9 t  D- a/ }+ K
  1521. ; Development Value: "upload_progress_"9 v1 g. V/ G0 }  Y# `
  1522. ; Production Value: "upload_progress_"+ Q# L# R9 v" _+ n" x
  1523. ; http://php.net/session.upload-progress.prefix
    , k$ f& ~' }; v
  1524. ;session.upload_progress.prefix = "upload_progress_"
    0 I% u" c+ x: J. d! O. K
  1525. 6 g1 R8 C9 l$ d4 g
  1526. ; The index name (concatenated with the prefix) in $_SESSION8 W0 `1 q+ m, \
  1527. ; containing the upload progress information6 J& a& w) T  F% b
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) m" n4 Q3 t0 H
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
      _+ G" C9 @/ G
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"# `, D- V/ }0 r! L- R) }6 u2 X  ?; U
  1531. ; http://php.net/session.upload-progress.name3 G" I6 u7 p# b% y  D! _. h! T
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"; c8 W( N5 z& o$ j. D' A1 ^4 e
  1533. ' E" m/ s# E; {+ V
  1534. ; How frequently the upload progress should be updated.  ~% d4 r  y- V+ Y6 F3 v
  1535. ; Given either in percentages (per-file), or in bytes
    ' B* @* G$ D/ Y$ P- @) Z! g, G4 ?
  1536. ; Default Value: "1%"1 m5 b: j2 ^" A6 l% u  f$ x0 A: V
  1537. ; Development Value: "1%"
    7 ?0 z- q- S4 Y
  1538. ; Production Value: "1%"
    + N, {# y! Q1 x+ n3 D# L) x
  1539. ; http://php.net/session.upload-progress.freq/ w2 f8 Q1 ]9 z
  1540. ;session.upload_progress.freq =  "1%"
    8 v% ?* u3 P# N9 G  W
  1541. % T8 W; M" @' {6 O
  1542. ; The minimum delay between updates, in seconds
    + C; d9 e: W0 S* Q1 q- X9 y' |
  1543. ; Default Value: 1- G" F4 i6 z' q" K, i3 x
  1544. ; Development Value: 1
    # L7 h) Y1 R# c9 z; w
  1545. ; Production Value: 1
    $ I8 f/ l; g2 \7 ^# |. U
  1546. ; http://php.net/session.upload-progress.min-freq9 ]; N- {" Q; R& s! X" l
  1547. ;session.upload_progress.min_freq = "1"
    ) [& m* o% v# s
  1548. , g4 \1 x. a9 c4 s
  1549. ; Only write session data when session data is changed. Enabled by default.( Q) K3 H, H$ Q( C/ j& a3 M6 i# a
  1550. ; http://php.net/session.lazy-write7 ?5 C8 O5 y/ {- n& e
  1551. ;session.lazy_write = On3 g9 x. J# ~1 B& ~, X/ I

  1552. : N0 x6 J; j3 K+ I5 F) b) |
  1553. [Assertion]7 w8 k/ h9 @( ~# k0 X
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    " h1 \. d; Y& z* P
  1555. ; -1: Do not compile at all
    7 S2 V7 H, f/ R7 P4 k9 g
  1556. ;  0: Jump over assertion at run-time; c" V2 L0 Z" ~9 \9 p6 x+ C
  1557. ;  1: Execute assertions
    / v% u: \: Z/ P4 a
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    * ^3 D, B" e1 b6 z$ E, O( r. G
  1559. ; Default Value: 1- |0 H3 i% r. O# O4 z* {
  1560. ; Development Value: 1
    $ ^- e- b, b6 D9 K5 ^8 a
  1561. ; Production Value: -1; Q) r) k" U$ e  ]1 s, G9 T: h
  1562. ; http://php.net/zend.assertions/ g5 Y; R% @/ X. Y; e1 j
  1563. zend.assertions = -1
    " g; }2 F( u- P3 G+ X
  1564. ; d: ?" E) P, [/ q! J
  1565. ; Assert(expr); active by default./ [" J7 D4 r4 {5 q7 W
  1566. ; http://php.net/assert.active
    + x/ f% Z9 q7 @4 w1 E3 z
  1567. ;assert.active = On) K) }* `* E( z9 T+ C3 W

  1568. $ h' H# Q# i9 Y+ M( V
  1569. ; Throw an AssertationException on failed assertions
    + [4 ~0 }4 c) q# E8 O. T
  1570. ; http://php.net/assert.exception" p5 ]7 j0 y: S1 c$ n0 e# p. U" f
  1571. ;assert.exception = On/ j# s7 T' ^; A! W

  1572.   D' x3 o9 w! B1 \* z- w8 ^
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    " A! B6 p1 W2 ]# t
  1574. ; http://php.net/assert.warning
    " E2 g: ?" E3 d8 q" m7 s/ b; L4 r
  1575. ;assert.warning = On. V1 }- a- v7 v
  1576. / g$ F+ [% y* N6 z, R' W
  1577. ; Don't bail out by default.4 p: n! r& X9 H- i; G. u8 N2 _( |* H
  1578. ; http://php.net/assert.bail- F0 d" ?1 u. m' o' s3 d+ w6 z; R
  1579. ;assert.bail = Off
    * y# k/ `: \3 w& F1 R" q

  1580. ! \, F3 M9 a8 g4 o4 \
  1581. ; User-function to be called if an assertion fails.
    ! X9 v( }* f% ~; i6 _
  1582. ; http://php.net/assert.callback
    8 s) j& e6 Y$ g/ B# i1 a0 B" n
  1583. ;assert.callback = 02 T/ O! z5 a2 V7 R5 o
  1584. - V" x3 R- J2 B2 k" x9 \# n
  1585. ; Eval the expression with current error_reporting().  Set to true if you want/ ^  P+ j, Z2 C
  1586. ; error_reporting(0) around the eval().
    6 F6 @& k7 P% F6 L* Z2 Q) h5 M
  1587. ; http://php.net/assert.quiet-eval% c) F" y3 Y' W$ R/ J% W
  1588. ;assert.quiet_eval = 0
    , l0 y9 {3 o% ]

  1589. " ~" R6 I+ b( e. I! J: m
  1590. [COM]
    7 J' f+ M1 i* C  L! {
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs: T' J' ]4 u: G3 D. P  v2 K  d8 X
  1592. ; http://php.net/com.typelib-file
    ( g; M) z3 P/ O8 J5 x
  1593. ;com.typelib_file =
    % ~2 F8 C+ z( p- q* D" `
  1594. 6 b1 r1 S8 j9 f$ h& E" w
  1595. ; allow Distributed-COM calls
    3 x* s$ [6 y" G- y$ x/ V
  1596. ; http://php.net/com.allow-dcom# \$ r" E. @( k3 j. J
  1597. ;com.allow_dcom = true4 W/ p* |0 G3 B! i( O
  1598. , ^3 S* E1 X6 i4 K. m/ T
  1599. ; autoregister constants of a components typlib on com_load()% D# d; w4 G+ G
  1600. ; http://php.net/com.autoregister-typelib
    " j5 F+ g- d; v. B/ f2 I
  1601. ;com.autoregister_typelib = true% A# P! b2 E* r8 ]# j7 d% h6 h& _, V

  1602.   \" N' {" r3 s" w
  1603. ; register constants casesensitive
    ( T9 Z3 r' e, E" G# g/ a7 J' |
  1604. ; http://php.net/com.autoregister-casesensitive! E3 `- C4 Q  a$ w+ Q- S5 B
  1605. ;com.autoregister_casesensitive = false$ o0 U+ T$ Q  Z7 k6 Q% X( g
  1606. 7 U% t; z% d2 }# E
  1607. ; show warnings on duplicate constant registrations  s% f- O" |# p6 c7 Q% t
  1608. ; http://php.net/com.autoregister-verbose0 Q" b4 U+ i  \! J
  1609. ;com.autoregister_verbose = true9 a% e8 L( r; H+ g; S

  1610. 6 z) a5 U5 M9 |
  1611. ; The default character set code-page to use when passing strings to and from COM objects.+ C* ^9 y0 Y/ O+ m% r, o! g$ t
  1612. ; Default: system ANSI code page
    9 Y# Y: ]" j6 q; o# s6 i* U* T
  1613. ;com.code_page=
    7 w8 h" o1 b+ o. d5 C+ L# O

  1614. 3 U+ V9 h" v6 O. ^  Q! l+ _7 t, x0 O" ^
  1615. [mbstring]
    & _( A5 F! F; p' o0 W  C
  1616. ; language for internal character representation.8 _5 X: x0 }7 ?9 P* Q9 [5 B
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ' _2 F1 X5 S; m3 u4 ]
  1618. ; http://php.net/mbstring.language
    / A9 V: m8 z3 J  O
  1619. ;mbstring.language = Japanese! `  `8 E+ u+ E1 l0 ?/ L9 F) i' O
  1620. $ V' n! F" f( f8 G) K
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    : V* a: q! e+ c- w' W; I
  1622. ; internal/script encoding.
    - \: V$ ^* I& D# W- x0 H0 G0 _, s
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)" E5 v9 d" X. u8 u3 z' s9 A0 C
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    % p  L: _/ l0 c0 O8 k
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% O. c" O3 y- m8 e( e& _
  1626. ;mbstring.internal_encoding =. G/ Q8 C: m' p% f

  1627. * d! e5 D4 W; R7 G  t0 S
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.. f! L5 \- W3 X  M4 U# A4 Z
  1629. ; http input encoding.
    " c; \+ Z5 O7 w. n. u+ T* \
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.. F+ |. ^) Q* v, e' P8 ?
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used./ N; U+ ^7 X! h; f/ d( m* P& d: M
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input6 s4 q% O. `2 ]$ ?
  1633. ; http://php.net/mbstring.http-input' G+ m3 y& v* s1 A, k8 S) v# j! Y( s) `( f
  1634. ;mbstring.http_input =
      D' [; j& {" i, y

  1635. 8 W  h1 D$ m& M/ u+ z
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.% H3 y7 Y3 E! I0 s- x
  1637. ; http output encoding.* y  G6 C' x0 y
  1638. ; mb_output_handler must be registered as output buffer to function.
    8 I4 x, W. W2 J. s1 i" |
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used." s1 J% K6 b& i
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    2 D& ~1 }; C' I7 q. U& t6 g' j
  1641. ; To use an output encoding conversion, mbstring's output handler must be set: K* V7 l2 K+ `/ S. H2 e1 S
  1642. ; otherwise output encoding conversion cannot be performed.& w" e  `6 _3 g, j) y2 q
  1643. ; http://php.net/mbstring.http-output; w( ~: o& b1 ]  \) s
  1644. ;mbstring.http_output =8 d7 H/ T$ `  ^- m0 @# M$ J) U
  1645. ( s+ g7 U, j+ Y% ~
  1646. ; enable automatic encoding translation according to  |0 r5 D6 f9 r' j/ q5 v' I
  1647. ; mbstring.internal_encoding setting. Input chars are
    9 G$ f& f) H) n/ ~/ ]
  1648. ; converted to internal encoding by setting this to On.
    ) |0 m4 X& h3 L$ }5 x# J6 h# {, i
  1649. ; Note: Do _not_ use automatic encoding translation for
    ( T! f3 R# b) g0 ?/ Y6 k. D
  1650. ;       portable libs/applications." M4 e" v3 H- u: [2 O- {: Z
  1651. ; http://php.net/mbstring.encoding-translation, O0 G6 H* Y& Q9 m9 c  d' _. O
  1652. ;mbstring.encoding_translation = Off
    ' F5 G. h# n, J- k( L# C  {: H

  1653. , |( Y2 v& u0 p
  1654. ; automatic encoding detection order.
    - q& g5 @$ d, O* `1 X; X
  1655. ; "auto" detect order is changed according to mbstring.language
    ! g' \3 y% t& p# N
  1656. ; http://php.net/mbstring.detect-order
    * M! e/ ?) Q+ f- m2 Z, d( b, d. T
  1657. ;mbstring.detect_order = auto
    ' P% D" X" v/ M. o
  1658. ' K# r5 t4 R  U0 q2 j% f
  1659. ; substitute_character used when character cannot be converted
    0 D3 K7 r/ N) ]8 m
  1660. ; one from another( ]3 j1 [0 o$ x) d! `; V7 u7 |" n3 E
  1661. ; http://php.net/mbstring.substitute-character# L+ u  E. Q5 m" x" f
  1662. ;mbstring.substitute_character = none
    / Y* N9 r5 h  l# p8 u4 u6 Y
  1663. ; q7 [! z# P' M# {
  1664. ; overload(replace) single byte functions by mbstring functions.
    & b6 a3 X6 ~, `% d
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    : n& S; [+ C) }' j
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    $ b* I% \; K" L& C/ i- U* ^. O
  1667. ; For example, 7 for overload everything.1 _& m) q' D4 o9 d
  1668. ; 0: No overload5 K9 @' Z9 q" p3 [, f- S, V7 b! l
  1669. ; 1: Overload mail() function' ]- z9 m1 j/ X* n0 v& }
  1670. ; 2: Overload str*() functions
    9 B' h4 I7 Y+ X2 ~$ k4 c
  1671. ; 4: Overload ereg*() functions
    . H, _( Z1 R+ _2 A5 P
  1672. ; http://php.net/mbstring.func-overload
    % X# g; ]6 Z; g" ^0 h7 I
  1673. ;mbstring.func_overload = 0. ^; \* [( l3 v( p

  1674. ! p& v8 B7 A9 }
  1675. ; enable strict encoding detection.
    . w& v. N$ k7 d  @
  1676. ; Default: Off: e  C9 c9 y! h' O8 X& g
  1677. ;mbstring.strict_detection = On
    8 h1 F0 t- f/ J7 f* f2 h
  1678. 2 e' x( T! h8 {! T: d
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    7 r3 F) n9 p( n: ]3 V; o- f% ?
  1680. ; is activated.
    9 R, s* B! g, y8 ]3 f
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    3 E  Z5 m, t5 V* g% V* G
  1682. ;mbstring.http_output_conv_mimetype=
    4 z2 m# ?# }+ _/ h! `
  1683. - f; t3 t+ `8 m6 C4 i+ |, @* `
  1684. [gd]
    % Q* n! \1 @; _+ n7 }
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    2 c! ?" K  N$ ]& ^/ \& @  V; M
  1686. ; a gd image. The warning will then be displayed as notices
    0 p! `% h0 R8 z3 G: `5 A
  1687. ; disabled by default
    % [7 w9 b  {# m" n
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ' D  p8 M# ?, ]8 ^
  1689. ;gd.jpeg_ignore_warning = 0: A$ w: C. x  o
  1690. 1 B$ _5 A0 g! _1 x" u; ~
  1691. [exif]
    # w" J. z% F& v/ Q( f% K, B1 c: Q5 |
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    : o' p0 \4 v! ]" W2 l' i0 K8 I
  1693. ; With mbstring support this will automatically be converted into the encoding' N8 }* u- N2 {' e" ^. E
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding" `! J% m+ |$ \5 e% x
  1695. ; is used. For the decode settings you can distinguish between motorola and
    ! A0 j9 }& n& j! }
  1696. ; intel byte order. A decode setting cannot be empty.
    ; F9 t2 m0 ^$ z) x9 F$ u+ }; _
  1697. ; http://php.net/exif.encode-unicode- k: ?. H6 X& \/ U6 h( ]
  1698. ;exif.encode_unicode = ISO-8859-152 w/ k! i  r# m# C! W: T
  1699. 7 j4 u# |$ x5 n. q. t  V; C3 k$ w6 c
  1700. ; http://php.net/exif.decode-unicode-motorola" V( g+ L* B; Q
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    . J0 ]: L/ w+ N/ n: j: S3 J
  1702. " n- z. R9 y" j. ~( l
  1703. ; http://php.net/exif.decode-unicode-intel! _& a" p$ ]+ v" u0 p% ~7 N
  1704. ;exif.decode_unicode_intel    = UCS-2LE4 m& C- ^3 c3 A1 G: \  m$ ~5 b6 T
  1705. 8 J3 ~" @: h( e: u3 r% \
  1706. ; http://php.net/exif.encode-jis4 ?' |2 j$ d1 P, q" i/ G/ }
  1707. ;exif.encode_jis =
    $ n  M2 f3 A3 M% _' f, ?0 n) w
  1708. ' p5 u, E" C$ i* }
  1709. ; http://php.net/exif.decode-jis-motorola8 b  c8 k0 L: Q; g+ g1 H
  1710. ;exif.decode_jis_motorola = JIS
    7 Y1 B( U; F+ n" w+ I7 p6 N( V

  1711. # `" S+ ?5 X+ m4 F& f$ z% Z# D% O' Q
  1712. ; http://php.net/exif.decode-jis-intel
    + x; x2 C+ m; f
  1713. ;exif.decode_jis_intel    = JIS
    + s  o4 |/ W- g; F9 `  A* ^
  1714. ( F0 ]. ^8 ]+ T7 [: I
  1715. [Tidy]
    4 e  @# ~* Q. n4 l0 [0 q
  1716. ; The path to a default tidy configuration file to use when using tidy$ Y" b% r/ m( h" r- `- h
  1717. ; http://php.net/tidy.default-config. P& n) K& b7 s3 ]
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    / A0 D, w& t, B, u

  1719. 0 J% Y9 H4 A3 @
  1720. ; Should tidy clean and repair output automatically?1 T- E% O$ P; R8 q
  1721. ; WARNING: Do not use this option if you are generating non-html content- A- ]3 ?7 F! Q. Y
  1722. ; such as dynamic images0 {2 q  Y  ?1 Q7 q; l: Q
  1723. ; http://php.net/tidy.clean-output
    ( h4 N. c/ Y7 F4 }, [# d
  1724. tidy.clean_output = Off
    . d& R8 M3 y+ l; c
  1725. & e  U: Z) v1 r* p7 @' d0 G
  1726. [soap]
    5 T0 \' H4 ?+ @5 q  y
  1727. ; Enables or disables WSDL caching feature.
    ) A2 ~2 P9 Y( r4 H+ ^! l
  1728. ; http://php.net/soap.wsdl-cache-enabled6 I& P+ \9 w! g5 j2 Z
  1729. soap.wsdl_cache_enabled=1
    ( E( t6 a: G5 j' v
  1730. " ?$ ]- `, b2 E4 X/ ~# I
  1731. ; Sets the directory name where SOAP extension will put cache files., V. j: X' s* g4 |' [7 n( s
  1732. ; http://php.net/soap.wsdl-cache-dir! H. _' D2 i2 V( z, l1 t* _& B
  1733. soap.wsdl_cache_dir="/tmp"+ E7 P) k& M' y6 d; M# l
  1734. ; A7 W* H7 k; g! e
  1735. ; (time to live) Sets the number of second while cached file will be used! l! z# u* O# L# V6 ^! r" y
  1736. ; instead of original one.
    7 L/ ], q9 e& n8 H( I9 O
  1737. ; http://php.net/soap.wsdl-cache-ttl! ~+ y3 ]' W  d/ Y3 [
  1738. soap.wsdl_cache_ttl=864002 }% M; `! o( }* k9 S; o
  1739. 5 X2 R6 U* `& f5 w
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)% @& }  w0 }4 ?! _4 w
  1741. soap.wsdl_cache_limit = 51 D7 A& ^9 `: ?4 `4 V

  1742. * V4 ]0 z& X8 l: X% M4 k
  1743. [sysvshm]4 m: X8 O6 A$ w6 R) P2 K
  1744. ; A default size of the shared memory segment* m* J. p* k+ N' b( n: ~4 k! Y
  1745. ;sysvshm.init_mem = 100000 g4 `0 r) x- p+ a! C5 C

  1746. 2 e& u) K4 f2 _2 b
  1747. [ldap]
    ; R7 t7 d  A- u% c
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ( b, y  L7 @3 B; m
  1749. ldap.max_links = -1
    / T1 b# r' f. v+ Z8 c

  1750. $ S' Q# U1 F0 Z- Y9 F
  1751. [mcrypt]' A% S# w1 d$ x4 }1 U
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open: G, ^0 @$ R  e: h

  1753. " F" o* E3 z8 Z
  1754. ; Directory where to load mcrypt algorithms
    8 l! V& {+ |8 |2 a) R
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)/ o2 _6 {! S, L, R2 X. E
  1756. ;mcrypt.algorithms_dir=7 L4 w  \3 }# l5 S9 _( [5 ?! Y

  1757. * g0 a( ^. l) [% ^5 Y+ u; z  R7 m
  1758. ; Directory where to load mcrypt modes
    : n( h& s6 Q$ @& D) [$ p# V
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* [7 E" i0 X- D5 f" q/ w
  1760. ;mcrypt.modes_dir=  X! k6 d- r+ r$ @8 T4 U9 f

  1761. ! F0 t% y4 T$ M; v8 r5 A: a
  1762. [dba]
    4 p9 u$ D6 x4 T" E
  1763. ;dba.default_handler=
    % g' A: y& c) [! D3 A. ^2 W

  1764. ( |' Q8 Z+ ^4 S
  1765. [opcache]
    4 B' e1 S1 Z( n. O3 c3 T
  1766. ; Determines if Zend OPCache is enabled1 w9 ?& v. X( ^9 ~$ X; B
  1767. ;opcache.enable=0
    0 O+ n$ L3 Z5 e: M  d. }
  1768. 7 p( x- ~# o( o; I" J! ?
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP/ v% [, v9 o' Z/ E. \# I0 r1 x, H
  1770. ;opcache.enable_cli=03 P2 _8 [0 N" C+ H. T- d
  1771. ( `6 h8 I' j; q2 [
  1772. ; The OPcache shared memory storage size.
    4 Z- p) J0 _+ R$ }* M0 S
  1773. ;opcache.memory_consumption=64! z. f& M- B. c! t
  1774. % i% N6 S* x7 u* H" o4 [
  1775. ; The amount of memory for interned strings in Mbytes.
    $ t! H9 G3 G5 x+ p' H# t
  1776. ;opcache.interned_strings_buffer=4: ]6 s' w+ Q3 ?! a' s
  1777. " b, R6 w, e! v. O* W0 U* t
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.$ B2 \* y3 n$ g! t
  1779. ; Only numbers between 200 and 1000000 are allowed.+ z. t# [" J2 x* N
  1780. ;opcache.max_accelerated_files=2000
    , d! A0 p* ?  T* R3 ]1 F" N

  1781. $ V* Q" J8 i' g* m9 W6 V  T) e
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.! Y7 [2 V4 c, b
  1783. ;opcache.max_wasted_percentage=5
    + c+ o! z# i0 Y* L7 ^

  1784. ' @: y$ }8 C7 ^  f- [
  1785. ; When this directive is enabled, the OPcache appends the current working4 g+ d; w" Z. X% }  C$ a3 H
  1786. ; directory to the script key, thus eliminating possible collisions between7 K  w/ j! [4 @- P3 n
  1787. ; files with the same name (basename). Disabling the directive improves
    & Q: l+ J( H6 F6 n
  1788. ; performance, but may break existing applications.' H" D/ S0 V/ \2 e+ q9 d; C* A
  1789. ;opcache.use_cwd=1# D2 s9 ]& n6 D1 L4 M

  1790. 5 j1 y8 `# e7 l5 {) o7 V
  1791. ; When disabled, you must reset the OPcache manually or restart the1 k/ S5 U0 u4 f
  1792. ; webserver for changes to the filesystem to take effect.: j7 |& U1 A- s) v/ E3 k
  1793. ;opcache.validate_timestamps=1
    - J5 g7 T- D  ^+ l1 W$ i* b# `7 h

  1794. 3 Z5 d9 q; ]! c! x* S
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    & M- l9 e6 U+ L  L) p+ y
  1796. ; memory storage allocation. ("1" means validate once per second, but only& X( d& }0 N7 ?, H, i2 B
  1797. ; once per request. "0" means always validate)
    ! @; a* V& h5 b( ~5 L' ~2 [
  1798. ;opcache.revalidate_freq=2& A$ [( z+ k4 Q$ `
  1799. : _+ K5 j' H4 V2 C! d6 q
  1800. ; Enables or disables file search in include_path optimization# ?5 X& M: [# @' ~
  1801. ;opcache.revalidate_path=0+ D6 T3 N8 z: g7 \( L$ w

  1802. 6 [7 O# z, \! \1 P. M5 q, {$ v
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    + E4 H! q0 D% |0 R9 I7 f
  1804. ; size of the optimized code.4 r* C7 U! w! o$ [- t
  1805. ;opcache.save_comments=1; F$ z7 V* H; M# `' K

  1806. 7 }8 N9 b" Q& T: F3 t+ G
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code5 \9 N. x: H. F% _/ r
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    * z0 I; q) t" _0 l1 L/ D8 H
  1809. ;opcache.fast_shutdown=0
    ) ?8 F6 O1 s& ]* Y
  1810. , F. u6 F4 l9 U
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    , D4 y, H+ `/ U. t  E1 q# y) W7 q; e
  1812. ;opcache.enable_file_override=0( G7 F9 y# @. U) }2 j

  1813. 7 ~0 e; c8 I1 W* V+ d# x  }
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache# T- @0 A# b  c: A7 x' Y6 k
  1815. ; passes+ P+ d8 ^; P$ H& {
  1816. ;opcache.optimization_level=0xffffffff
    : M/ i( r; Y7 t6 k+ l+ x& c
  1817. * x: v% e( c. F6 d
  1818. ;opcache.inherited_hack=1
    + w4 S8 ]9 B: F& S) |/ a
  1819. ;opcache.dups_fix=0
    % G# C; s- ~9 ]4 H/ q6 }# c

  1820. 8 O9 m' A% y1 r$ G& @% K/ ~
  1821. ; The location of the OPcache blacklist file (wildcards allowed).) ]5 C, ]- R7 {, P& M
  1822. ; Each OPcache blacklist file is a text file that holds the names of files3 l) e: q' H7 F+ z) _; w' |
  1823. ; that should not be accelerated. The file format is to add each filename; `1 r) Z4 m5 l2 x- n. k: R
  1824. ; to a new line. The filename may be a full path or just a file prefix
    & q; |' S2 P! ]) o2 J
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www! \$ ^% N, B3 ^/ ~7 B/ ~& Y
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).# [8 ~& g% g' n! \, K
  1827. ;opcache.blacklist_filename=
    ; B6 K8 `5 P7 k2 P$ }! t5 S& |
  1828. 8 f, K6 Z! C; A" y
  1829. ; Allows exclusion of large files from being cached. By default all files; O* N8 B3 b  Q7 Q1 o
  1830. ; are cached.
    5 R0 M. ]; c+ ?4 P
  1831. ;opcache.max_file_size=0
    : a. z/ `/ m, A; d8 i: L2 o: V9 p

  1832. 4 P& t$ D0 s5 A5 k8 U) V4 n+ [, s
  1833. ; Check the cache checksum each N requests.
    , C8 k2 `# n4 S) r
  1834. ; The default value of "0" means that the checks are disabled.
    3 [& V6 S1 G# t. ]* O/ \. I
  1835. ;opcache.consistency_checks=0
    : A5 k" J' o. G! Y( W/ t+ V
  1836. % n; N; t1 Y1 F3 \! [6 f) ?
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache' C9 j$ j. C0 `5 @+ T
  1838. ; is not being accessed.  t5 @& G! u' H1 U2 Q* C9 @& {
  1839. ;opcache.force_restart_timeout=1803 u. ^# p1 R, y5 R2 k) l
  1840. + w: }+ D5 u! u# P  w
  1841. ; OPcache error_log file name. Empty string assumes "stderr".2 F' z' w+ x6 U) u. m7 W
  1842. ;opcache.error_log=
    + B+ y- A1 {1 [) d

  1843. ( d4 }$ E6 e- `, M& q( v  \! a
  1844. ; All OPcache errors go to the Web server log.
    1 W' B' W$ L- Y, L0 q
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    0 y$ D3 }6 k6 y2 `" l
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    7 [9 k; T, P* ]9 k
  1847. ; debug messages (level 4).( G! t# o. O+ v8 T$ M1 V
  1848. ;opcache.log_verbosity_level=1
    / J; z' g$ X6 |+ ~

  1849. / M5 f% l, {" a! V4 E0 l
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.2 g0 \/ I4 U' ]6 q- ~$ W8 B
  1851. ;opcache.preferred_memory_model=- a* e3 Y+ Y4 o! f3 c, w
  1852. 1 n. Y! H- N( V7 S$ a- a. H
  1853. ; Protect the shared memory from unexpected writing during script execution.
      r2 x* w# O! p9 |4 ^# \0 M& J! |+ f. {
  1854. ; Useful for internal debugging only.
    & ^2 w( y+ a0 R, Y8 w8 t
  1855. ;opcache.protect_memory=0
    ( i0 O$ A& g, k$ o
  1856. . J0 E& e2 _$ M7 f9 w2 }; `
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    ( w4 T( E  D3 K6 u
  1858. ; started from specified string. The default "" means no restriction
    1 ^& f& y9 i8 L6 C
  1859. ;opcache.restrict_api=8 u$ U* }9 I" _; F7 i7 F. R+ U

  1860. 8 t) l9 T  `# D! D; L! Z9 }% Z
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    , x8 v) M' d* d. x( v3 k% ^+ K* l8 K
  1862. ; processes have to map shared memory into the same address space. This6 ~7 p3 G8 M  ~( Y7 s% L$ B# b1 \
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    : k# f* Q1 |) b$ @5 K7 e
  1864. ; errors., j, i2 v3 y6 ]
  1865. ;opcache.mmap_base=& b: F" f  ?, n( Q, z) F

  1866. 1 L5 A% o' }( g! g3 A6 g
  1867. ; Enables and sets the second level cache directory.; ]& C9 I% c1 o4 Y4 n
  1868. ; It should improve performance when SHM memory is full, at server restart or# \5 {  R  x' ^8 }/ i: |$ M
  1869. ; SHM reset. The default "" disables file based caching.+ B& ~2 R: \' |0 f: z3 f
  1870. ;opcache.file_cache=
    8 l5 P0 E9 i9 T. f, K

  1871. ( |1 q/ M& S5 j: p4 J* a  O$ R' a
  1872. ; Enables or disables opcode caching in shared memory.) k# ^* m3 `- i8 }  Z1 u
  1873. ;opcache.file_cache_only=0" D. y( r: x. p/ V& T7 c% k* h
  1874. + p* c" C8 n; _
  1875. ; Enables or disables checksum validation when script loaded from file cache.7 R. U8 Z; ?5 F
  1876. ;opcache.file_cache_consistency_checks=19 u4 X" C) E; X
  1877. 6 q8 A: y' T" f4 d/ L1 T! C+ A
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to, ~+ p4 \2 s- }
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
      f% o  ~6 y& U% h1 J5 S! E
  1880. ; cache is required.
    1 R& U8 A! [+ D; X
  1881. ;opcache.file_cache_fallback=1
    ( ]' m9 U) q6 o
  1882. * I! K1 \3 O8 `+ V! e5 o% p; J
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.# p+ x6 O" N; d0 j! n3 n
  1884. ; This should improve performance, but requires appropriate OS configuration.% s+ \7 g8 M, ~; t3 s, s" M
  1885. ;opcache.huge_code_pages=1# B8 g4 d: P  |) ~: S

  1886. + V+ {. L) N. ~! `" R# _  n
  1887. ; Validate cached file permissions.% L! M2 I3 M7 x4 o4 c& R! E+ X( T
  1888. ; opcache.validate_permission=0- L3 i. g2 D& k  [( _( @! q4 l
  1889. 0 _; t5 v  O4 k' N6 k
  1890. ; Prevent name collisions in chroot'ed environment.9 c) h5 ?/ ?: W! b) H- J5 P# ]2 S- z& G
  1891. ; opcache.validate_root=0, y) C8 P1 G' v6 S% z- n- j8 W

  1892. . v0 w( X2 R1 O( ?
  1893. [curl]
    5 O$ u; w; Q. U4 s
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an& l" g, N0 \" y" L
  1895. ; absolute path./ u% }4 y- B6 S
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt* ]4 S  d9 x$ i/ r1 x9 p
  1897. 4 O7 ^" V( H! m" Y, A
  1898. [openssl]
    / A$ a$ O" r% k" g1 I; S# g4 [  q
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ( Q2 Y% E' Y; Y
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should6 V( \  Y5 G# n- ?1 U7 [# b
  1901. ; not specify a value for this directive as PHP will attempt to use the0 q2 T+ I% @; [% G8 f0 e, W
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    $ {$ D8 J, a+ \2 f# E3 o) w
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ) J3 G$ D# |& `$ t; Z; u
  1904. ; option.- r' K- e) i3 L1 I% C- H. R
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    * r  l/ Z% G9 M" }: D
  1906.   w& X0 M) z! k: f- O5 B
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the  w0 J. q5 `' B; E3 }' X/ b
  1908. ; directory pointed to by openssl.capath is searched for a suitable9 s4 a1 E, N$ {9 \0 q; W; c
  1909. ; certificate. This value must be a correctly hashed certificate directory.5 S5 ~5 C: ?$ z& W) m, q! }' P
  1910. ; Most users should not specify a value for this directive as PHP will
    7 T: ?5 W7 j2 m! m
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    : b9 R5 P# b9 {
  1912. ; this value may still be overridden on a per-stream basis via the "capath"4 a  P! d' J$ C1 M
  1913. ; SSL stream context option.
    * i7 N( R! D& s) Q% a, }, S
  1914. ;openssl.capath=( D8 J% q% |1 g" K/ N) R0 j

  1915. ; l9 z" U9 J- W0 z. E- j: m
  1916. ; Local Variables:
    ! W4 l3 |; q% k5 F
  1917. ; tab-width: 4
    + }% H% l5 J# U4 F5 p2 D
  1918. ; End:+ S& b( C4 T, J# C* @' W. W

  1919. ) B7 Y7 q  \9 a  _
  1920. ;eaccelerator; t+ a8 J1 g' R$ ~) A$ M5 v5 R, T
  1921. ; k: j2 D, w3 X
  1922. ;ionCube. H& ]3 }9 D5 S9 N, m
  1923.   s6 l" y% f4 ]* I
  1924. ;opcache
    4 d( I/ S8 |5 M  {* G! r/ A
  1925. / S7 c/ V/ v/ \' d7 w! E
  1926. [Zend ZendGuard Loader]0 d4 {1 ?" V4 L0 X0 o& @& r
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.- |3 D, v$ v* r
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    + l) O# ]) E- h$ p
  1929. ;zend_loader.enable=1  v; ~  v' c) W; Q5 V
  1930. ;zend_loader.disable_licensing=0
    ( T8 ~" b6 e( e+ c& i8 `
  1931. ;zend_loader.obfuscation_level_support=3
    ' \! f: J* R, J" [& U5 D: i
  1932. ;zend_loader.license_path=! G  I; l) G) ]0 ]& \1 c5 V

  1933. . h) o# c% \# p3 f+ y/ y+ q* m
  1934. ;xcache
    7 }; @" v/ E% W$ p  e% V
  1935. 2 i4 |% v; f  c7 l7 h4 ~5 c# \) R
复制代码
$ E, S! Y7 p$ J; E
4 s1 f) O+ q8 r3 w9 I) K. F

) S+ P; Z) [3 f: |9 f
, M) \0 ^1 Y& _2 V0 \3 f* u2 p, g
) S7 H! q: {/ k. [9 I7 Z5 X1 ?* G0 L( L+ [$ @4 O8 T( E4 u

, a; _- v1 ^8 ~! n3 I/ xPHP5.6版本原始设置
3 Z; T2 i* B( z5 v3 m) |9 Q4 W. ~& P3 s9 N6 l
  1. [PHP]; \2 O8 C7 x% t( k' c' R

  2. 8 L/ w, R$ l8 U
  3. ;;;;;;;;;;;;;;;;;;;1 _3 B' i* P8 m
  4. ; About php.ini   ;  T9 g! C+ Y2 ]: ]5 U, P8 Y
  5. ;;;;;;;;;;;;;;;;;;;4 z) j% i1 ~  b! [/ c: J) B( K6 ?
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    $ t. h% i! T6 k3 }- d  T& v
  7. ; configuring many of the aspects of PHP's behavior.4 k( D; p, r/ \+ i2 ^$ T
  8. 1 U# \7 e0 T+ ]9 C$ O& Z. `7 S. S
  9. ; PHP attempts to find and load this configuration from a number of locations.
    # \9 W- h3 W3 @0 k
  10. ; The following is a summary of its search order:: e4 A  o" V2 e2 u- ?5 w; A
  11. ; 1. SAPI module specific location.
    ) j8 e5 L+ ?$ e% P( I8 b  ^+ P
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)- ?: s$ g: m" }( e
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)8 Y: ~( e- b- z4 j7 q7 T9 r
  14. ; 4. Current working directory (except CLI)& |2 D9 k" ?+ O' D5 `. W6 c/ J0 {
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP" u% ^2 e; J3 w. V( m  o
  16. ; (otherwise in Windows): g' n& R1 E- `9 U: p. X
  17. ; 6. The directory from the --with-config-file-path compile time option, or the/ ?6 E) @3 E1 O4 ~6 H2 H# r+ d
  18. ; Windows directory (C:\windows or C:\winnt)
    $ O: V1 J1 ^8 @
  19. ; See the PHP docs for more specific information.
    8 i8 W/ m; M0 c! d. m* `2 y
  20. ; http://php.net/configuration.file
    1 R$ u) ^* E4 S# J9 }' z, f& |

  21. * p: G1 I3 W$ A7 ]4 q- M
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    : t. ?9 w4 U" u4 y: K2 R2 ~
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).3 h( q! S- O! @5 }- s9 H
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    % Q+ G1 y8 G; `; W$ [4 X9 E9 e
  25. ; they might mean something in the future.
    : s' A# p% p: f5 ], D
  26. ; t$ j5 }' q4 G& X* g7 M  k9 R
  27. ; Directives following the section heading [PATH=/www/mysite] only
    1 E+ M% x: z# r& \2 q+ L
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ; _- [( B9 R/ v, O
  29. ; following the section heading [HOST=www.example.com] only apply to3 v  d0 z( `' r0 p% g7 o
  30. ; PHP files served from www.example.com.  Directives set in these
    # V5 _& F2 p0 t6 k* s( O5 j( q. e
  31. ; special sections cannot be overridden by user-defined INI files or
    : Y# p( E" H# H0 m2 r$ I
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under- r8 p1 ]2 E* m8 s0 N! g
  33. ; CGI/FastCGI.
    * D( W+ D# t; A/ b8 R! Q9 E
  34. ; http://php.net/ini.sections
    / j& h# \1 h; [8 r. E* m

  35. / Z; n) w: @& {! R8 l
  36. ; Directives are specified using the following syntax:
      ^$ y4 l$ j' j' ]
  37. ; directive = value
    4 ?5 D( C- n8 ]2 J
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar., D" V  k& G5 ?9 U5 g4 s
  39. ; Directives are variables used to configure PHP or PHP extensions.- ^4 N2 |! A8 {; P/ g2 S, Y/ a
  40. ; There is no name validation.  If PHP can't find an expected
    ) w# c2 d- L, \/ o
  41. ; directive because it is not set or is mistyped, a default value will be used.( [9 e' q" Z7 ~5 Q
  42. 3 W2 \3 R# B3 q; Z, z
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one/ b1 v$ [7 ~3 C# Y# [
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression2 A& Z& k. P% S9 }: A
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a- c. L: Y9 J- J  \5 c$ X
  46. ; previously set variable or directive (e.g. ${foo})
    4 T: x# P; K# C$ Z+ l' S6 d
  47. ' i) m4 y" j, d
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    9 I* b0 t3 n# u$ p8 X
  49. ; |  bitwise OR
    4 b- L$ ]; }- f
  50. ; ^  bitwise XOR7 N- u  y. S! [# k, M9 t
  51. ; &  bitwise AND
    + @% E8 h. A, h/ b
  52. ; ~  bitwise NOT
    . E( s3 L) |! f* `- E
  53. ; !  boolean NOT- L0 n3 Q' K9 V8 i5 C- H6 u
  54. ) l+ F8 |0 z: O9 ]
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ! u3 d  ~3 O  R  g7 @0 v
  56. ; They can be turned off using the values 0, Off, False or No.
    4 S; D, h! r6 i, z1 A( Z) u

  57. ) k1 ^) x5 }9 o1 E
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ) z& [( U# ]; Q
  59. ; sign, or by using the None keyword:
    ) [% ]' P: [8 F4 U  n! ~4 U
  60. " V0 c* I+ r) r$ R! g3 p
  61. ;  foo =         ; sets foo to an empty string
    8 }) R4 O0 F# }5 V+ q
  62. ;  foo = None    ; sets foo to an empty string1 [# ^0 m$ _5 a" O* ]
  63. ;  foo = "None"  ; sets foo to the string 'None'  y0 @6 e1 {1 z) @" t5 V4 g
  64. ' }  g5 q; P2 V5 [% W" a: X9 f
  65. ; If you use constants in your value, and these constants belong to a
    1 k) s7 C2 P$ |) w; y) \! c
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    2 {9 B, g3 ^# P6 W1 }; K7 ]
  67. ; you may only use these constants *after* the line that loads the extension.
    + h# ?+ _/ a, O! |
  68. . k, r9 ?$ E9 d- v; B$ g
  69. ;;;;;;;;;;;;;;;;;;;
    ' F& x' C& T# k1 |% I' I) a; R8 E) `
  70. ; About this file ;
    0 e& y* j2 u4 h4 h+ R
  71. ;;;;;;;;;;;;;;;;;;;
    # N( |% q* V8 B6 O8 Y
  72. ; PHP comes packaged with two INI files. One that is recommended to be used" S% A4 n# y+ E/ T
  73. ; in production environments and one that is recommended to be used in" ]- I3 [* H' g5 ^3 K* q; T
  74. ; development environments.5 ]' G* g; D; b# B- w
  75. 8 x3 y  S8 n1 c6 J( r; L+ l: z
  76. ; php.ini-production contains settings which hold security, performance and" C% U5 A+ W/ g, L2 m3 k) }
  77. ; best practices at its core. But please be aware, these settings may break
    - q5 E! F. x8 q; ?- U% N/ k' L
  78. ; compatibility with older or less security conscience applications. We
    2 o, O4 ?  c1 n5 M
  79. ; recommending using the production ini in production and testing environments.
    " H# Q6 W! c+ ]

  80. ) |: [) h. e. j
  81. ; php.ini-development is very similar to its production variant, except it is: q% N( `6 J! d0 X& _
  82. ; much more verbose when it comes to errors. We recommend using the0 r6 e% {; r7 f6 x# g- R
  83. ; development version only in development environments, as errors shown to
    3 l6 g' M5 q9 p' m* b( V: X0 X
  84. ; application users can inadvertently leak otherwise secure information.
    ! m/ V* U. h8 c+ m9 l
  85. : w6 B# w! L# `* Y, X
  86. ; This is php.ini-production INI file.
    3 H" i7 ]% e0 Q  Y/ w! W& y5 l

  87.   Q, H' j, J. i1 J6 v
  88. ;;;;;;;;;;;;;;;;;;;5 B/ j! X- z& B. K) {
  89. ; Quick Reference ;0 O) W9 d0 W: a/ `% t4 c
  90. ;;;;;;;;;;;;;;;;;;;, w0 M; q/ N4 F. i
  91. ; The following are all the settings which are different in either the production5 c  c6 k/ d: J6 U! ]! F, K
  92. ; or development versions of the INIs with respect to PHP's default behavior.- l: i& E0 }' z/ U! n$ {+ X
  93. ; Please see the actual settings later in the document for more details as to why
      l, G$ d" Z7 W0 b3 e# V6 E
  94. ; we recommend these changes in PHP's behavior.
    ) M4 g% f" W2 x
  95. 9 p; r) u( G0 \* i- ?
  96. ; display_errors# I' a1 i. ]+ k; H# z
  97. ;   Default Value: On
    - [! i) I; t  z1 h. `$ x6 y* ~
  98. ;   Development Value: On9 o* A( q  C7 g% s/ c, ?3 u
  99. ;   Production Value: Off, G+ W, {! ^$ q
  100. 3 C' j0 F6 |- v2 m
  101. ; display_startup_errors
    ' j7 i& _9 x6 e/ E! G# M" r& h! S
  102. ;   Default Value: Off
    ( Z5 z" l2 K' v  f7 k. {" [" y# A
  103. ;   Development Value: On2 l7 M0 r$ T& H" E: g7 l
  104. ;   Production Value: Off
    $ Q% [3 c% V7 Q. j" i2 O
  105. : H8 c8 L! V7 |& @3 f" a: K
  106. ; error_reporting! H" U) S1 O* ?8 a/ S  Z9 \
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 }# P7 B7 z; L! ?  M
  108. ;   Development Value: E_ALL
    . {) T# P& J2 V8 T9 q6 T
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    # Z# V4 {: z- G5 a7 x+ J9 g
  110. 8 \3 o0 L% J0 k% G
  111. ; html_errors
    6 Q3 h5 X- G% W+ `
  112. ;   Default Value: On6 n+ u: A) t) R* ?2 {, y
  113. ;   Development Value: On
    , I8 e5 {' F! \, c' ]
  114. ;   Production value: On9 e' X( H* Q0 ?* A
  115. 8 O9 V6 u' Q: l
  116. ; log_errors
    , K5 ]+ N3 z1 U$ e( b9 N5 [
  117. ;   Default Value: Off
    & g7 O0 @5 c# l" G3 V: j1 n/ z
  118. ;   Development Value: On6 e; u) f2 i, z$ C
  119. ;   Production Value: On
    " B$ h3 z! t7 |3 U6 N; F

  120. 5 S% ?7 t) ?8 A1 g7 g) ~3 N
  121. ; max_input_time
    , z* E6 z1 ^' u" N/ p7 h6 S
  122. ;   Default Value: -1 (Unlimited)$ a  V4 @9 ^+ |. ]$ o
  123. ;   Development Value: 60 (60 seconds)
    . U9 \$ W  H- ?5 D5 Q( U
  124. ;   Production Value: 60 (60 seconds)
    9 n' z, [1 z3 y4 N$ A
  125. ( G0 N  T0 ?- L' h  Q  N: b
  126. ; output_buffering
    " f/ n  P, e/ k; Z' h* W# d
  127. ;   Default Value: Off
    7 u/ z) C- }. e; z% }: t
  128. ;   Development Value: 40968 @, v' f! D, e) L* Z
  129. ;   Production Value: 4096+ o0 c- k0 ]  O9 d7 Z
  130. - s& U4 F: a7 h+ O; B
  131. ; register_argc_argv
    0 j: l$ \, g" c) A' O
  132. ;   Default Value: On% F, N6 s& r3 }2 m) n
  133. ;   Development Value: Off
    % Q1 U! r$ e# v) d/ c
  134. ;   Production Value: Off# C( A+ F! n% l+ U; E! \
  135.   L9 W, b- W7 J8 z( `% ?
  136. ; request_order# d& r5 m- o5 x) ^6 J3 a* |. V( m
  137. ;   Default Value: None, u0 |$ T: G5 a+ V* k
  138. ;   Development Value: "GP"
    6 e9 N4 w  @4 b% s) n& B
  139. ;   Production Value: "GP"
    ( l& o# ~% i6 o' ~' h& L9 T( g
  140. 0 S4 j7 e' s4 b5 A& [% ^
  141. ; session.gc_divisor
    8 y/ h, e5 Q  a( O0 `7 @
  142. ;   Default Value: 1003 }6 M9 K3 V! F1 h0 q
  143. ;   Development Value: 1000+ \0 g) M' ^3 R! C; b6 Y; e  r2 P1 C$ V
  144. ;   Production Value: 1000
    , j& I+ q* C& B& A- T) @; `

  145.   t- C& J! k2 n: u* F  q
  146. ; session.hash_bits_per_character' O8 f! H6 W+ h1 }; F; \& `
  147. ;   Default Value: 49 M. H1 d8 J3 \% q/ f
  148. ;   Development Value: 5
    : c4 Q. p" I& P
  149. ;   Production Value: 5* R0 M  b$ ]1 w# B/ t* h
  150. & ]+ @7 Q  @$ R0 o- S
  151. ; short_open_tag
    6 E: U3 Q$ f  O( B" }; {" O5 b% Z
  152. ;   Default Value: On0 V, @5 z; I: Z; h4 d- C: {
  153. ;   Development Value: Off
    4 S# H" K+ @8 x9 l+ J
  154. ;   Production Value: Off
    3 B. d- U1 v( j2 O6 P

  155. 6 A: e3 [) t# S* ~6 M8 N1 \2 M
  156. ; track_errors
    0 N5 I* U/ E: y7 e: A% Q
  157. ;   Default Value: Off3 M+ V, u# z) o7 N# s( ~* d
  158. ;   Development Value: On( ~) s# l/ k4 ~; ?! B1 h6 P
  159. ;   Production Value: Off' i: v" d7 c( Y. N, {

  160. * u. F/ x+ G6 T+ t7 x; J
  161. ; url_rewriter.tags- r9 C6 w( R: o
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    , [0 T: [2 A- w; }, T+ _: l2 ?! G( {
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - b2 P# x5 J& i9 ]
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      n) b! }" a6 A* b; Q" a& {

  165. : S1 E, Z/ V- i3 h$ c3 s' J
  166. ; variables_order
    & \3 y9 n5 N) e1 h$ D
  167. ;   Default Value: "EGPCS". f! k2 n  G' m5 r4 i1 y4 k
  168. ;   Development Value: "GPCS"
    - ]/ h7 s9 c  x7 W0 k9 v9 q
  169. ;   Production Value: "GPCS"3 C* c; B3 c) U* N

  170. % j- T2 f- S4 q+ w8 D
  171. ;;;;;;;;;;;;;;;;;;;;& K# @  Q- y6 ~. z6 j; [
  172. ; php.ini Options  ;
    9 R* `( r5 Q# _2 @
  173. ;;;;;;;;;;;;;;;;;;;;. O( H2 o; C) E- \
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"+ I' k  y* d: v2 p  ?8 K
  175. ;user_ini.filename = ".user.ini"
    2 e* o& d5 F2 W0 K# q: K
  176. $ E0 P/ a1 s: p1 K8 _! R7 Q8 o
  177. ; To disable this feature set this option to empty value% T1 O' Y* y8 {3 F0 E
  178. ;user_ini.filename =
    # P; W: |1 I6 s. i
  179. / o% ?5 l$ `" l0 N1 G% ?; z
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)2 o4 \: n$ t5 P7 H4 p) h2 J
  181. ;user_ini.cache_ttl = 300
      w$ `1 a* F# H  G

  182. . v, f1 f4 q; N, E! I# f* L) V' ~
  183. ;;;;;;;;;;;;;;;;;;;;
    " Y: G! h% O. I8 Y3 b
  184. ; Language Options ;
      G5 T# R& }) C+ O- s6 \# X8 S
  185. ;;;;;;;;;;;;;;;;;;;;
    9 v- K0 Y+ g1 Q1 A8 `+ ]- Q
  186. 8 {- v$ p3 i8 I
  187. ; Enable the PHP scripting language engine under Apache.
    & W! x  J& W" a3 y2 k" A# ?
  188. ; http://php.net/engine
    4 e, W% N& _: n5 m2 a
  189. engine = On
    2 Y3 M# O4 |% F2 N! a

  190. 6 @& |+ [9 P! C: W! `& ]1 U; R' z
  191. ; This directive determines whether or not PHP will recognize code between
    / j5 Q6 q$ m- k/ @& I$ L+ T
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    & t; j; p+ G- F! o/ C
  193. ; generally recommended that <?php and ?> should be used and that this feature
    % |8 A/ K6 b+ M: Q( D
  194. ; should be disabled, as enabling it may result in issues when generating XML% n4 c7 {' g' q
  195. ; documents, however this remains supported for backward compatibility reasons.) H, R  p% Q2 o' c. W
  196. ; Note that this directive does not control the <?= shorthand tag, which can be1 L! N0 {8 ?2 K4 d9 `6 z) m9 e4 B
  197. ; used regardless of this directive.
    - `+ j) t( }4 e* d8 f' `9 ?
  198. ; Default Value: On& P. z- f6 G+ f) ]( R- z: o
  199. ; Development Value: Off
    ( }# w3 ^) f+ ]$ A* i! _
  200. ; Production Value: Off, h/ h. ?0 s4 f8 l+ [3 v0 [
  201. ; http://php.net/short-open-tag
    ! a, F1 [, o) d+ p: w
  202. short_open_tag = On
    " m; `2 E6 X3 p
  203. + Z# M9 M8 K) y" c
  204. ; Allow ASP-style <% %> tags.
    : S4 K, [* i; x7 u
  205. ; http://php.net/asp-tags
    - E, H: `- b3 Z$ y
  206. asp_tags = Off/ }' }9 \3 ]7 v& V* M6 Y

  207. . `' h8 d) |5 X3 X
  208. ; The number of significant digits displayed in floating point numbers.0 O+ n2 R7 E0 U0 V3 L% r$ z# p$ p
  209. ; http://php.net/precision
    . M: T+ N9 W7 u" x
  210. precision = 14
    $ ~7 \- {! S4 l. t7 A0 \% R

  211. 9 |/ R$ r( X% m" I/ p; U4 ]
  212. ; Output buffering is a mechanism for controlling how much output data- E0 x" ^% y, o, O( L3 R; I
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ( v/ }. Y: p6 K+ a5 ^* K0 v
  214. ; data to the client. If your application's output exceeds this setting, PHP% z5 g( P3 |) q! d! e' w0 U
  215. ; will send that data in chunks of roughly the size you specify.
    , U, b8 i) ]$ J6 A" \, ?: R
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    2 E7 ?" C% g/ C& e+ M2 ^# D
  217. ; interesting side-effects depending on your application and web server.
    - J3 f6 T2 L5 P/ Z7 p
  218. ; You may be able to send headers and cookies after you've already sent output
    7 T$ T$ E  x4 D* N& a3 M; F
  219. ; through print or echo. You also may see performance benefits if your server is
    & M' a; L7 r1 P9 D9 F
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    : s, ?/ f; @6 s4 [( E! |
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    8 S. z4 W; j% ?& c
  222. ; reasons.
    6 e4 v4 @; T  P) l- C: K& ^/ o
  223. ; Note: Output buffering can also be controlled via Output Buffering Control. X. _8 Y/ e0 ~- [3 `0 T, ~
  224. ;   functions.  \7 v7 Z: B$ K$ ^
  225. ; Possible Values:7 Y( U* Z- p" Y# Q
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)# p% w7 G" U" \% D6 |
  227. ;   Off = Disabled  |& t4 Y7 m0 C
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.: C/ w3 V( [3 r3 B; L4 E- N5 W
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    4 r1 a+ d& k' R- h% x# w
  230. ; Default Value: Off
    . V& @$ Z4 _0 C% q" J
  231. ; Development Value: 4096/ B2 C4 \! S. u# J: H' z5 Z
  232. ; Production Value: 4096; g  e, P4 G# j( R' ^# A6 g- R
  233. ; http://php.net/output-buffering. G$ F& T6 S5 V
  234. output_buffering = 4096
    4 |! i2 N2 k* Z4 j

  235. , ]  K8 q9 l, F' v+ O! z$ j9 {  Q
  236. ; You can redirect all of the output of your scripts to a function.  For) @, @" `. l" \+ ~- c/ [& P
  237. ; example, if you set output_handler to "mb_output_handler", character
    $ B- K2 J1 h9 ?% `, d
  238. ; encoding will be transparently converted to the specified encoding.; O2 a2 y, e, `1 ~  b
  239. ; Setting any output handler automatically turns on output buffering.$ d) R4 g. q& D4 [' _5 \
  240. ; Note: People who wrote portable scripts should not depend on this ini
      g; q8 g$ }/ l7 K$ {
  241. ;   directive. Instead, explicitly set the output handler using ob_start().* j4 g/ Y; v' n. ~) K
  242. ;   Using this ini directive may cause problems unless you know what script3 t( f8 R7 ]' H, d( I0 T
  243. ;   is doing.
    3 T* X/ k9 G" [2 }
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    + u2 N' s7 t) q9 Z, x
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".5 s8 z8 K( J" H1 F
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ; Q6 @+ A' x7 l: u" Q
  247. ;   Instead you must use zlib.output_handler.
    - j' j$ G7 E/ O+ A
  248. ; http://php.net/output-handler
    , k0 x& N: v5 n' \
  249. ;output_handler =* r1 |6 e# T( Q, d
  250. / \- M  c7 q9 K+ K" K
  251. ; Transparent output compression using the zlib library" _" B% P, j. w8 h& u6 A. W
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size4 f2 z* H2 x% _
  253. ; to be used for compression (default is 4KB)! h  e* h3 }; I* v" g% x6 B
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    * e' f4 e9 D( V& c9 @# P
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    $ ?: x1 }% I: n2 U  l; ~& J
  256. ;   compression. If you prefer a larger chunk size for better) m% j0 {. i: C( W
  257. ;   performance, enable output_buffering in addition.
    3 p; m- Y8 n0 J- q- N3 J- _5 Q5 V
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ; S( W/ u( D* ^
  259. ;   output_handler, or otherwise the output will be corrupted.* d& B8 a; R" X$ {8 p" O8 A$ w
  260. ; http://php.net/zlib.output-compression
    + _1 ~. p% F& ]
  261. zlib.output_compression = Off) W; [" w7 }- I; z$ o

  262. * @  g  s, T7 H6 M* [% }! J
  263. ; http://php.net/zlib.output-compression-level
    5 u' |8 A7 J8 P8 D/ s4 h0 B3 y; ?
  264. ;zlib.output_compression_level = -1
    5 t( {- J& J% P" a

  265. 1 ?  O2 V) J; ?* d: \. A  [3 U4 q
  266. ; You cannot specify additional output handlers if zlib.output_compression
    + F2 V: `' \& P5 ]1 v8 f; q8 A- \
  267. ; is activated here. This setting does the same as output_handler but in
    4 h! S- O0 U1 @% P# r( l6 N
  268. ; a different order.9 H& r4 s; m+ n  x
  269. ; http://php.net/zlib.output-handler
    2 I# I9 t: W4 g; s
  270. ;zlib.output_handler =
    * [8 E8 L) m: E5 I" O* a2 K1 p

  271. 1 E  F, O9 u0 A; u% D& ?) f
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    : N+ x7 V+ r8 a, x7 q
  273. ; automatically after every output block.  This is equivalent to calling the9 _0 X" Z# Y( I0 Z" r# H
  274. ; PHP function flush() after each and every call to print() or echo() and each$ @" g* I1 j: y
  275. ; and every HTML block.  Turning this option on has serious performance) ^( [8 _* I; E
  276. ; implications and is generally recommended for debugging purposes only.1 J- r, b. X2 v7 I) A0 I6 P
  277. ; http://php.net/implicit-flush$ F# z# g% v! B% i! f
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 `4 y  P# Z+ S* m& g
  279. implicit_flush = Off' \  ?4 d% g4 m
  280. : U0 S+ |* L, P) I- L4 ^
  281. ; The unserialize callback function will be called (with the undefined class', d; u8 r' n( J( W  L, N) E
  282. ; name as parameter), if the unserializer finds an undefined class
    : [1 v, X% r/ ^+ _0 j: s9 ]
  283. ; which should be instantiated. A warning appears if the specified function is
    $ B; L7 C; u9 w; Q9 \3 g
  284. ; not defined, or if the function doesn't include/implement the missing class.
    % v4 \: f. Q9 X3 h0 q* q
  285. ; So only set this entry, if you really want to implement such a
      u: L/ Z  S* e3 c1 b
  286. ; callback-function.
    7 r4 g3 }& M; {$ O' [
  287. unserialize_callback_func =  t7 S# ~6 a) W
  288. 3 K9 w2 E% _6 E1 T  n8 V  I( q
  289. ; When floats & doubles are serialized store serialize_precision significant
    $ D1 v8 G  P# e% Z. p
  290. ; digits after the floating point. The default value ensures that when floats0 `" b0 I5 ^' e/ v1 F7 g
  291. ; are decoded with unserialize, the data will remain the same.
    ; J' w7 B. P/ j/ t. g: j  w
  292. serialize_precision = 17" @( k8 o! U* h$ W, ^% O8 ~7 }

  293. : s7 S2 {9 \% `
  294. ; open_basedir, if set, limits all file operations to the defined directory
    5 O+ b: J/ N, {' i2 ~' w5 B
  295. ; and below.  This directive makes most sense if used in a per-directory) E* z, ~$ n; I
  296. ; or per-virtualhost web server configuration file.
    : V1 j5 ^6 `$ F) r" {4 d- U
  297. ; http://php.net/open-basedir
    3 U9 k3 p. M9 p) U
  298. ;open_basedir =# Q* X' s; _6 b* o3 ?

  299. * u2 d; y, F8 i9 F+ h" B4 L9 B& |
  300. ; This directive allows you to disable certain functions for security reasons.; r" N# i) D6 d
  301. ; It receives a comma-delimited list of function names.% E0 j+ {+ w' d- g
  302. ; http://php.net/disable-functions& {! W$ s+ l2 z, i9 R( `- J* C
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    9 }% r  C& ~7 F# R0 h4 T
  304. . O: _, h. C8 P7 g: @0 _+ X' v
  305. ; This directive allows you to disable certain classes for security reasons.
    : n4 U3 H% Q' Q* W$ @; T3 F9 l
  306. ; It receives a comma-delimited list of class names.
    * n" x0 {, Y4 Q  ]8 V- I! u
  307. ; http://php.net/disable-classes
    9 n' j3 j/ J! m4 {, r) A( z9 N
  308. disable_classes =
    6 S+ b# m% y4 _* \$ U6 a+ O6 b
  309. ' g$ d. r/ i% f. K& H& _
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in+ P5 n1 Y# ]  K% b5 O9 I7 o
  311. ; <span style="color: ???????"> would work.! F3 x) @9 J$ A- s
  312. ; http://php.net/syntax-highlighting
    : H7 u2 ~  m! `3 F5 o* ?1 }
  313. ;highlight.string  = #DD00009 L) M/ e/ S, ?2 p' }
  314. ;highlight.comment = #FF9900
    ) ^# o9 G/ T& X
  315. ;highlight.keyword = #007700$ L# }# ]* `6 O
  316. ;highlight.default = #0000BB
    " z, k  o" O, f' v; c: a) T
  317. ;highlight.html    = #000000
    . P& A8 v9 ]4 l
  318. , p% O1 N, D6 ~$ a
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    2 H5 L3 S, F: j
  320. ; the request. Consider enabling it if executing long requests, which may end up# R- J+ R* O2 L( w4 w* M2 x
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    0 o$ R; J, c; X6 Y4 H& S$ O) m
  322. ; is to disable this feature.
    ( g/ \3 ~: V+ A( G: F
  323. ; http://php.net/ignore-user-abort- }9 [/ f% A$ u' q6 D: Y; M  M; f4 G
  324. ;ignore_user_abort = On
    ( }& t8 \. Y# H$ ]* b6 u

  325. + L  n; Y$ D& t$ Y
  326. ; Determines the size of the realpath cache to be used by PHP. This value should5 U( i7 c! Y. w8 }0 O  k3 z8 Y
  327. ; be increased on systems where PHP opens many files to reflect the quantity of" h. o' M/ I: Z# n
  328. ; the file operations performed.: o6 V  i; O9 T8 P  P
  329. ; http://php.net/realpath-cache-size6 @# P" y0 ^4 d: A/ p
  330. ;realpath_cache_size = 16k+ i$ E9 I# U1 ?; q  Y
  331. 5 f2 [! ]% G* V
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    1 t$ A9 t! w0 w2 J$ r9 R1 n
  333. ; file or directory. For systems with rarely changing files, consider increasing this4 B% o( _4 D2 G; o4 t
  334. ; value.! U8 H5 W% j# w7 {+ u* E* N
  335. ; http://php.net/realpath-cache-ttl5 c" I8 G' a+ L  ?: \
  336. ;realpath_cache_ttl = 120
    # I. W+ i5 f' B& I0 w

  337. ( [( ^$ Z, v; O  k; M: @3 K
  338. ; Enables or disables the circular reference collector.8 B5 ~: `! n* T2 f1 w$ Y
  339. ; http://php.net/zend.enable-gc( q7 M% [6 Q, C3 U3 i
  340. zend.enable_gc = On
    ; y1 N8 K  _- u& g) G; i/ R
  341. + {& Y. F. n2 G" R! b# y
  342. ; If enabled, scripts may be written in encodings that are incompatible with; Q( J) e0 s$ g4 ~
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    0 N7 `0 Q# g4 j" x
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    - [& t4 F" l. Z+ D2 B0 h7 `
  345. ; Default: Off% i1 H9 t+ H+ E+ W7 i& H5 d
  346. ;zend.multibyte = Off
    1 f0 R" j! }& D8 H
  347. 4 `3 e; x' w4 |9 G4 s- n3 ^
  348. ; Allows to set the default encoding for the scripts.  This value will be used! v- u6 a1 W# [' G7 m  ^
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.! z& `0 m: o2 D6 L, U' r
  350. ; Only affects if zend.multibyte is set.4 [/ j" m7 a1 x0 \6 Q) m& I
  351. ; Default: ""' g5 \- v- d3 r/ b
  352. ;zend.script_encoding =) w7 m$ H+ ?" V6 q8 V( E$ w5 n
  353. 8 l5 W, R9 j5 M7 M6 j9 h* P% ?
  354. ;;;;;;;;;;;;;;;;;
    * S- \$ m7 o" L
  355. ; Miscellaneous ;/ g* I# u: }0 w$ h+ w
  356. ;;;;;;;;;;;;;;;;;0 ~9 }# A6 L/ K( i! d/ l
  357. 2 i9 x  D" y3 v9 E1 Y3 ]' A3 J5 C
  358. ; Decides whether PHP may expose the fact that it is installed on the server
      U, z5 h4 ?7 B& _% i/ j7 p+ P
  359. ; (e.g. by adding its signature to the Web server header).  It is no security, l& l& K" ?+ A' N
  360. ; threat in any way, but it makes it possible to determine whether you use PHP" i4 N; |: r+ T9 ?. A  ^
  361. ; on your server or not.8 p% g+ h/ @$ x( A8 ~
  362. ; http://php.net/expose-php
    6 M  ^- G; t7 ?; X! @. _
  363. expose_php = On
    ) b, r& G3 t, t, @1 b  z  H5 b( [

  364. + g! V& T5 \5 K% Q( G
  365. ;;;;;;;;;;;;;;;;;;;
      z$ a: s- q/ b9 B2 e$ z  Q  d
  366. ; Resource Limits ;2 m  G  e8 W* [. a
  367. ;;;;;;;;;;;;;;;;;;;4 T- |3 u5 h- k5 M

  368. 0 ~; R& J; S! r$ L! V
  369. ; Maximum execution time of each script, in seconds
    % r; p2 k) t3 B' ]* n
  370. ; http://php.net/max-execution-time
    % Y- \: c8 d* w! [8 k& }
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI: l+ P( o* O7 _, h( c' b
  372. max_execution_time = 300
    0 `9 v$ a; V  i/ j
  373.   R9 ?& ]( Q- L1 O. Q4 W
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    / |+ V3 L# f) m5 Q$ `5 F
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly. B1 }8 M! [, U) n  o2 u
  376. ; long running scripts.
    9 _+ i% ]7 x* _( o/ v4 m8 c
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI: R3 n! @' B, O( j
  378. ; Default Value: -1 (Unlimited)
    3 i( j1 z1 `; d! y
  379. ; Development Value: 60 (60 seconds)
    & ^+ _4 ]  H: v. a9 L# V
  380. ; Production Value: 60 (60 seconds)- S' a* Q8 O. `0 D' L% J, G) g& l
  381. ; http://php.net/max-input-time
    + \$ D  I  c- q  Y% E( x1 `5 g9 s2 y
  382. max_input_time = 60
    , l$ i! p0 V3 G- [" _8 x6 J

  383. - S3 I" \# k" V
  384. ; Maximum input variable nesting level
    ) l6 w  M( T. h& }% L" k% \3 x
  385. ; http://php.net/max-input-nesting-level' S* ], f" L7 n$ U: r+ K) M
  386. ;max_input_nesting_level = 64
    5 f9 D$ z  K7 u8 _

  387. - y8 U9 D& J6 ?- Y% ]
  388. ; How many GET/POST/COOKIE input variables may be accepted1 j) G: u+ \9 W; T& M$ s( B
  389. ; max_input_vars = 1000- i" n% q& g/ T3 \
  390. * `% X! r& C( D  H0 K
  391. ; Maximum amount of memory a script may consume (128MB)4 d9 S7 o8 E$ }) s/ }7 r8 s5 z3 M% S" ~
  392. ; http://php.net/memory-limit
    3 U; O$ g0 r4 I3 n# K6 e
  393. memory_limit = 128M
    ! h# W- Z5 p% H6 D5 c3 Y: m5 ?- V' h
  394. $ c; S. v. Q$ y- ]$ K( m3 R" t
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# _) @" [. x  v* Y) C+ s6 e
  396. ; Error handling and logging ;# G( }5 d  Q& {$ l
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# A/ ?; Y3 b/ @+ L+ Y! a- M1 R

  398. & E( H& Y1 [2 R9 Z# x1 N
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    , m! n7 e2 A5 x7 i+ W3 G
  400. ; it to take action for. The recommended way of setting values for this
    5 V$ z# B/ B7 k( X
  401. ; directive is through the use of the error level constants and bitwise
    : x1 Y4 i4 y7 G
  402. ; operators. The error level constants are below here for convenience as well as8 M4 P7 i. ?( c( m7 u& l
  403. ; some common settings and their meanings.' ~7 M9 _9 \- a, p+ q6 C
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    3 `( {5 E/ k5 I$ O( v0 N( G
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    $ h3 }- s( f# C' A5 |  e
  406. ; recommended coding standards in PHP. For performance reasons, this is the* _  b3 D5 i/ A
  407. ; recommend error reporting setting. Your production server shouldn't be wasting, u  R2 y& i3 m; K' s
  408. ; resources complaining about best practices and coding standards. That's what2 z, Z' x8 b% G+ _/ _# H& m
  409. ; development servers and development settings are for.
    1 e& {4 b. n- y. w
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    7 J( O0 j4 D+ q; |% _; T/ a+ `
  411. ; means it pretty much reports everything which is exactly what you want during6 C! r/ m% W! g/ _- F. c" S
  412. ; development and early testing.6 u- K- b+ Z3 Z* o1 s/ B1 X
  413. ;
    . f7 h) _5 _5 x- R$ ?6 R5 V% l
  414. ; Error Level Constants:
      ]- K9 h- f$ j, q# K
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)  I- Y2 ?* R+ k
  416. ; E_ERROR           - fatal run-time errors
    " a0 J2 m1 K5 X* N. \" }* _: z
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors" r7 f4 ]- }1 F7 j, k9 k6 O2 z
  418. ; E_WARNING         - run-time warnings (non-fatal errors)2 n* r, _% P* u- m- Y0 R
  419. ; E_PARSE           - compile-time parse errors
    : |  O& H, y) [& |$ k! j6 R0 l4 o
  420. ; E_NOTICE          - run-time notices (these are warnings which often result4 ?: ^# K# R0 r) o
  421. ;                     from a bug in your code, but it's possible that it was% ]# }; C2 \6 R5 {, W% n& ?
  422. ;                     intentional (e.g., using an uninitialized variable and
    / s* O4 ~6 x3 T9 o* A  c6 s
  423. ;                     relying on the fact it is automatically initialized to an( e9 z2 S$ X$ M, U+ y
  424. ;                     empty string)
    8 ^- ^+ z) b) h. I9 ]" \
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes7 i+ o5 t: X" E
  426. ;                     to your code which will ensure the best interoperability
    : |4 Q1 A( j# R9 ^5 w
  427. ;                     and forward compatibility of your code2 G9 Z5 m' b9 g6 v3 s3 @
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup- e& x, q3 w. j( k+ g7 X
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's3 d2 e5 W. D3 ?6 f4 l- ~( N
  430. ;                     initial startup
    ' f# S; x$ F9 {1 f( r% W
  431. ; E_COMPILE_ERROR   - fatal compile-time errors* Y! ]* p* R" X  l0 ]
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    7 c" V8 @0 q1 G. y3 A" x
  433. ; E_USER_ERROR      - user-generated error message$ |' J$ `9 `: h. L
  434. ; E_USER_WARNING    - user-generated warning message. u$ A. M7 ]; s) M. M/ G
  435. ; E_USER_NOTICE     - user-generated notice message. W; @# ~. v! T+ R, g! x. X# b+ U
  436. ; E_DEPRECATED      - warn about code that will not work in future versions; K) l* E% _& y: k/ Y' d# w
  437. ;                     of PHP& L/ G: s) H- z
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    1 ?$ B' ]2 S  g$ M/ S* A
  439. ;! v% X2 S" x2 F% {5 j; h( X
  440. ; Common Values:
    ! i: L' x, B- K- ], f$ X/ E
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    . A$ Y( l1 @1 H1 Q! b: y6 D7 N
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    7 L$ `+ ~; z2 r. E) M, D8 C, M& }% y
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    + m; m$ S7 [) I1 K# E. ^
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)/ v4 g- Q- H1 l3 v/ L4 p$ Y; W
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . a0 \" `* ]6 |8 A% G
  446. ; Development Value: E_ALL) a% k) |; M2 S
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ; B6 ^: A& K* d( d; N4 `; y
  448. ; http://php.net/error-reporting
    ' t4 A7 u& m0 z2 ?5 @5 _
  449. error_reporting = E_ALL & ~E_NOTICE
    1 y2 }' S& }( X, z' U
  450. % l; V& ^$ a4 [( ]
  451. ; This directive controls whether or not and where PHP will output errors,
    " V# j; y) Z  G% V
  452. ; notices and warnings too. Error output is very useful during development, but
    2 M, J" U! x: ?$ S7 p
  453. ; it could be very dangerous in production environments. Depending on the code
    ; [5 Y% J) w2 x
  454. ; which is triggering the error, sensitive information could potentially leak9 i9 y" `2 n9 t
  455. ; out of your application such as database usernames and passwords or worse.
    . f+ h1 m# s  |" y0 g8 J- J8 r( A& @
  456. ; For production environments, we recommend logging errors rather than
    0 r& ?. d6 O1 z
  457. ; sending them to STDOUT.# ~: R: l9 ~! s6 k! B: v: i
  458. ; Possible Values:
    9 d+ v" Q9 w( {) i  C4 X1 Q# V
  459. ;   Off = Do not display any errors
    " r/ n1 k+ f; X: N2 U: r1 s1 t( t
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)8 y0 P7 L& I3 [: O; q* p$ N: ~
  461. ;   On or stdout = Display errors to STDOUT
    , k1 t% r- @9 o
  462. ; Default Value: On6 w0 `3 S! Y$ |4 W0 N! D/ [
  463. ; Development Value: On
    " O* w# v, o' S! j: R& `
  464. ; Production Value: Off
    ) f: O0 R: s6 _) S7 n2 r4 z" u2 G; h
  465. ; http://php.net/display-errors1 U& S- ?% E  T& }5 s
  466. display_errors = On
    . T+ @; p# |6 q& U# _

  467. * V1 ]; Q: g5 T/ I$ v6 H$ d/ j
  468. ; The display of errors which occur during PHP's startup sequence are handled) t9 a  G# d% e
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    6 P3 g& u% y5 \  z9 [
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    4 u7 `% X8 ~8 j9 n
  471. ; debugging configuration problems. We strongly recommend you% u3 s& Z8 C/ |7 z) p
  472. ; set this to 'off' for production servers.
    ! Q% D5 S) W2 S. O4 L2 I: V
  473. ; Default Value: Off
    0 Y- M9 c: o4 m: ^1 Q# _% r. m
  474. ; Development Value: On- f) J+ U1 F8 O! E- `: q$ L
  475. ; Production Value: Off  n" A0 V# ^3 O- e$ A4 L5 C
  476. ; http://php.net/display-startup-errors5 L: T3 ~: b; M8 q
  477. display_startup_errors = Off. X5 p7 N) V2 W- `8 q7 C3 q2 P

  478. 8 }: c  t+ C) U9 o/ H3 t( o
  479. ; Besides displaying errors, PHP can also log errors to locations such as a# T1 f; g. D, l# i+ u9 o* A) c* D
  480. ; server-specific log, STDERR, or a location specified by the error_log% [- @9 H; @0 s( @2 W8 [
  481. ; directive found below. While errors should not be displayed on productions
    ' h2 a5 ~% @$ r7 M7 j; B/ P
  482. ; servers they should still be monitored and logging is a great way to do that.
    $ y; S' |2 @& J* k4 {
  483. ; Default Value: Off1 X* P9 |  _, p' g
  484. ; Development Value: On1 c' H# `2 h6 i+ p: X
  485. ; Production Value: On
    " m6 a# C0 K$ a% M. H: C
  486. ; http://php.net/log-errors
    # D: V" N; J+ s( k% m' g
  487. log_errors = On
    ' U) P/ k2 s5 Z5 F; s* [$ [

  488. ; ^) p7 ]. \# }  m9 z* q
  489. ; Set maximum length of log_errors. In error_log information about the source is! \0 x- d& x* {
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all." f* a( G( n3 A
  491. ; http://php.net/log-errors-max-len
    . [3 F5 K' S5 J. M+ a6 o
  492. log_errors_max_len = 1024! D2 @. Z" t- O2 z, c" X5 ]5 t! ]- H

  493. 4 Z2 z- }9 ]( X9 U9 o4 P$ t# R! Y9 L
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    . r' H- M2 ?) I( S
  495. ; line unless ignore_repeated_source is set true.0 H5 w: _% c( e- U9 ~1 j6 R. e
  496. ; http://php.net/ignore-repeated-errors" I6 U" x. O* i
  497. ignore_repeated_errors = Off
    - i& o" a; n9 D( K0 ]2 z
  498. 2 }9 L# E" G2 q: l
  499. ; Ignore source of message when ignoring repeated messages. When this setting! c  K9 ]# V( ~- C
  500. ; is On you will not log errors with repeated messages from different files or$ {, p; K1 e0 Y- Z, x% P
  501. ; source lines.- n% `, ]% A0 a4 d  K! b
  502. ; http://php.net/ignore-repeated-source+ F7 I9 y$ ^  H! F
  503. ignore_repeated_source = Off
    $ q! m1 o& a4 t
  504. 1 `+ M% n( g' E4 X3 g& y  [
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    2 x6 z5 l1 f. A' b4 F3 q
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    0 ]6 r3 }  e" h" e5 ^# s
  507. ; error reporting includes E_WARNING in the allowed list
    ! D* o( j0 g5 i& I% k3 s
  508. ; http://php.net/report-memleaks
    ; w4 W: @" j, F0 J2 n
  509. report_memleaks = On$ x1 n& X% h0 G# |) I8 Z
  510. # G, [5 |! e& \* k) z
  511. ; This setting is on by default.
    + U  _- f* R& E5 l
  512. ;report_zend_debug = 0
    + c8 R. T; n1 _7 b* _$ [1 g
  513. 1 q8 U$ I1 W: E
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    , h% V. m$ P1 T6 Q5 ]5 U7 F- Y
  515. ; to On can assist in debugging and is appropriate for development servers. It should0 A5 E5 V. F. s- q% F; f4 v
  516. ; however be disabled on production servers.
    . N# C+ [- w1 r5 O3 w+ X4 n% `1 v
  517. ; Default Value: Off1 t0 I4 [4 U& g  `: O
  518. ; Development Value: On
    - l. j0 U+ F* I; y! [
  519. ; Production Value: Off
    ; D* f9 j! O$ j% o) B5 P8 W
  520. ; http://php.net/track-errors, |- @9 S; y4 B8 s- I
  521. track_errors = Off
    7 Z" R: b# V% c' ^  A. ?+ j% \: Z

  522. ! {* K) g0 n, V* u
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    7 Q, f9 ?( Z" P; v. d# u/ q' B
  524. ; http://php.net/xmlrpc-errors
    " A7 d' N, q- K+ c/ U
  525. ;xmlrpc_errors = 0
    " U- Q# O2 A  q2 K0 k3 y/ L* r
  526. 1 v7 {2 b/ h2 x. o8 A$ t
  527. ; An XML-RPC faultCode
    8 D: S5 |1 s+ Y! n4 q. U5 R6 t
  528. ;xmlrpc_error_number = 0
    : k6 m1 S& z  Q' o6 s7 m
  529. ( w& V2 Z! {# p
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    " @& j. k6 u  c, [  d
  531. ; error message as HTML for easier reading. This directive controls whether8 \. E1 o* c5 l6 ]
  532. ; the error message is formatted as HTML or not.
    4 U) ?3 ^2 w6 g! P: u# B9 U( H/ ~
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    9 |  f' Y, B" a+ J9 V2 O$ y" Y- U
  534. ; Default Value: On' A3 A6 @$ b' c! A3 Z  ]7 Q/ W
  535. ; Development Value: On; ^0 U8 @. o- x0 K$ G# J5 Z
  536. ; Production value: On% ~; O) `& V7 c
  537. ; http://php.net/html-errors
    & V- _# i- z! N$ Q! m- ?7 Z
  538. html_errors = On2 R  Y; ]! ^( h3 x9 A2 l3 {" Z" ~' ?

  539. , l! }- O# m! M2 i# s0 p
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    + G7 _3 w7 k* O& u* X1 E# N8 W
  541. ; produces clickable error messages that direct to a page describing the error9 w9 ~" ], G  z3 }; H7 i, ], O
  542. ; or function causing the error in detail.3 |# ^8 P9 {! c" g) ^' V6 @7 z
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    , M/ O( x; i9 S5 O- |" V0 e
  544. ; and change docref_root to the base URL of your local copy including the* a$ M' l% G+ m% N7 w- v7 [
  545. ; leading '/'. You must also specify the file extension being used including
    $ d4 `  n+ x* }. [
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which  a' f: S$ R4 ?) s
  547. ; case no links to documentation are generated.
    * M8 G6 W# B0 ]3 \4 q, P
  548. ; Note: Never use this feature for production boxes.
    % C, L( N+ x  n7 y
  549. ; http://php.net/docref-root
      i9 ~+ N' R7 Y
  550. ; Examples9 c3 P: @, f. o9 h/ g
  551. ;docref_root = "/phpmanual/"5 {+ E. O1 `% s" k

  552. ! I/ _6 |2 J( P) l; I3 Z
  553. ; http://php.net/docref-ext8 r: N1 t/ Q- v2 }8 F$ a8 f
  554. ;docref_ext = .html6 r% e6 E! @$ U( `$ h

  555. 1 N4 R9 Q. {" `2 M* s* m
  556. ; String to output before an error message. PHP's default behavior is to leave
    3 U/ H- L' G) w
  557. ; this setting blank./ K# c2 X8 X7 E) w# t7 s
  558. ; http://php.net/error-prepend-string0 b" [: B8 Z2 }1 R9 ?' [5 c- N: f
  559. ; Example:
    $ n& U' j# {5 f9 A
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    " |, ]9 w, Y# z2 ?! p) Y

  561. 6 f9 k2 I) K1 p: A  v
  562. ; String to output after an error message. PHP's default behavior is to leave
    ' b' A# R3 @- P, }9 y+ `- `& t" {, H
  563. ; this setting blank.
    9 l9 _9 ~0 p/ Z4 W; L
  564. ; http://php.net/error-append-string- S5 S3 T4 |8 M) s
  565. ; Example:
    0 @- G1 R. L7 k. `1 L/ q, m( s
  566. ;error_append_string = "</span>"3 Y. J/ u$ d/ A" P! N" H9 B

  567. 5 r0 }* Z% i$ V( n" x
  568. ; Log errors to specified file. PHP's default behavior is to leave this value7 j9 l9 V( l5 y5 L0 @7 g
  569. ; empty.
    5 W/ [) N. B; S5 Q
  570. ; http://php.net/error-log
    " c  _! m- \7 e" B( |
  571. ; Example:6 `; r  T" ~  G! s  G
  572. ;error_log = php_errors.log
    - T) @! K) k& Y3 A, A) i
  573. ; Log errors to syslog (Event Log on Windows).4 O* s* a5 U* r" G
  574. ;error_log = syslog
    ) X  V( a) j) n/ `# Z
  575. 6 |/ [( c/ j5 h
  576. ;windows.show_crt_warning
    0 G( n* D3 W" w" W
  577. ; Default value: 0' r+ w6 G6 D4 S$ \( V
  578. ; Development value: 0
    # C/ @' H" h5 f/ q1 z* y  }
  579. ; Production value: 08 x# e+ I. m/ D0 ^, o1 F  f4 Y

  580. # `. D2 }! A4 g% |( _% r
  581. ;;;;;;;;;;;;;;;;;: T$ v4 b" S0 T8 x$ `! N9 q! Z
  582. ; Data Handling ;; A+ Q; J. F1 O$ |" N
  583. ;;;;;;;;;;;;;;;;;
    2 J( L- {- x8 n

  584. ) s2 K1 H; Y& g0 n2 |6 y% ~
  585. ; The separator used in PHP generated URLs to separate arguments.4 g6 n7 |' n. k" [
  586. ; PHP's default setting is "&".
    ) e- X& F8 e  s5 o2 I
  587. ; http://php.net/arg-separator.output3 d, |* ~, p3 z, q0 Y
  588. ; Example:
    + v* }/ B$ V# Z, }/ v& m: w% Y
  589. ;arg_separator.output = "&amp;"9 ?1 q9 n/ Y$ F( K4 \% ^- L6 y

  590. 4 n9 n! D" ~( E
  591. ; List of separator(s) used by PHP to parse input URLs into variables.0 w+ c/ y% \3 O2 G. M7 |% U
  592. ; PHP's default setting is "&".: H" N# h6 \+ n: F
  593. ; NOTE: Every character in this directive is considered as separator!. ?, m- X8 z+ |4 V8 l
  594. ; http://php.net/arg-separator.input
    ' Y+ K! v/ B9 R* G: {
  595. ; Example:
    7 _, x6 s  [, l9 Q
  596. ;arg_separator.input = ";&"
    ; y5 N/ o& y! x, ]+ _& e

  597. ! H8 V- l0 ~( g; Z$ Z, H
  598. ; This directive determines which super global arrays are registered when PHP
    3 J5 F4 o& J+ P6 ?1 q
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    $ ?, z- N) [' \8 W! [" T- n
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty) z  u( @& v3 @" ^' G
  601. ; paid for the registration of these arrays and because ENV is not as commonly2 c1 S' W$ u* F- _) c
  602. ; used as the others, ENV is not recommended on productions servers. You
    . e! k! g) x' I: T" O6 `; K; D; L' {# r
  603. ; can still get access to the environment variables through getenv() should you4 L" ^, d) H+ n) U
  604. ; need to.
    - j" b, f9 _" J& Z
  605. ; Default Value: "EGPCS"
    2 s6 r3 o9 c( C9 i2 v5 U9 z
  606. ; Development Value: "GPCS"
    1 H- ^2 E# e) s
  607. ; Production Value: "GPCS";
    0 v7 M) @% |3 i/ q
  608. ; http://php.net/variables-order/ e/ B: ?& j: c, n- _
  609. variables_order = "GPCS"
    5 O0 G* ]$ J) g* {4 [

  610. 2 m2 ~5 w0 c! \# h. m0 k6 d8 c
  611. ; This directive determines which super global data (G,P & C) should be
    ! g# U  e: ]$ b2 x
  612. ; registered into the super global array REQUEST. If so, it also determines
    7 O; Q& x% i% d3 N( _  R1 Q
  613. ; the order in which that data is registered. The values for this directive. ^- A5 {9 F  f
  614. ; are specified in the same manner as the variables_order directive,
    9 e/ Q/ i" v/ E: e7 Q7 r- l
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set" b+ `( M4 ~" ?% x- j
  616. ; in the variables_order directive. It does not mean it will leave the super1 @( [+ Q6 y. `: i2 n* ~" p
  617. ; globals array REQUEST empty.
    9 B, F3 r! s# ^( x' z( t, t
  618. ; Default Value: None
    4 I$ x& V/ T5 W$ F. h" d4 {% |- w5 u, T( }
  619. ; Development Value: "GP"
    ' r: I" ~$ r7 f% C
  620. ; Production Value: "GP"6 f: P0 l2 @1 ~% E( o
  621. ; http://php.net/request-order1 R' H3 Q" f) x' c
  622. request_order = "GP"
    ) Z7 n) z' g" h9 I2 I# V- W% P1 I1 e

  623. * e0 h4 G& I- p- t) w
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    - f- H$ J! z! v( g. M: w2 @
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script9 g! Q; @& Y1 [5 S
  626. ; is invoked. $argc contains an integer representing the number of arguments
    , `# B: f* U& Y. S! v7 _
  627. ; that were passed when the script was invoked. These arrays are extremely6 f, v& O% c! K$ @5 M5 b& \6 B4 F9 {
  628. ; useful when running scripts from the command line. When this directive is
    / B: b0 `! a& R  \
  629. ; enabled, registering these variables consumes CPU cycles and memory each time& S) p! w- b" Y3 g) r
  630. ; a script is executed. For performance reasons, this feature should be disabled6 u4 M6 f, h4 o/ A
  631. ; on production servers.' ?! S3 s& L7 a- Z# T
  632. ; Note: This directive is hardcoded to On for the CLI SAPI3 Y* |; m/ W" ~: [  H( W
  633. ; Default Value: On
    0 s$ |% O, p+ W/ \9 B
  634. ; Development Value: Off
    + k1 J6 ~& c0 m0 v- k: u# }& @
  635. ; Production Value: Off# ?$ e) C" x# N% t5 \! n( u, F( H
  636. ; http://php.net/register-argc-argv
    $ {1 A, s$ X' {1 X# i4 k
  637. register_argc_argv = Off5 a: \3 c' g6 L/ _* S

  638. 1 H% f5 o. ]6 |
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're: S: i3 E4 `* I% O' g
  640. ; first used (Just In Time) instead of when the script starts. If these
    ( S% j  h1 v; f; ?/ Z( k
  641. ; variables are not used within a script, having this directive on will result/ \5 G% i% m0 C! h$ f# D5 g
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    7 @3 @2 N- x( n9 v
  643. ; for this directive to have any affect.
    ) R( q9 g& s) z
  644. ; http://php.net/auto-globals-jit
    * [- X% g1 L9 C# \
  645. auto_globals_jit = On5 ^8 a$ _  V/ c# o
  646. : g8 |1 U9 u! R) b
  647. ; Whether PHP will read the POST data.
    * I: N0 [" }1 l2 D- g. {3 J
  648. ; This option is enabled by default.0 I. u/ G% z2 k0 }
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    5 D2 D6 z* @* x/ z" U7 }
  650. ; and $_FILES to always be empty; the only way you will be able to read the+ s8 S' T& y# P! q
  651. ; POST data will be through the php://input stream wrapper. This can be useful% Q% R3 k( d0 o5 l
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    , s, c2 O9 x: \1 t- P% I* P. w, F& o
  653. ; http://php.net/enable-post-data-reading
    8 V  a9 U  i$ N+ T' y3 i0 |7 [0 A7 v
  654. ;enable_post_data_reading = Off
    2 m% K# K# g. `! @+ b! v8 s% b

  655. + }' R/ e; E$ P
  656. ; Maximum size of POST data that PHP will accept.
    7 g- o! d7 [8 j, J
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading/ H, e/ c# u4 N# r5 s0 {
  658. ; is disabled through enable_post_data_reading.7 C6 Y  F! y+ I$ ~
  659. ; http://php.net/post-max-size
    ( X3 z' G, B4 Q& z( @( g
  660. post_max_size = 50M
    : `" p2 }, B9 W1 F( z- a
  661. ' v' `/ c* n3 z; H( Q
  662. ; Automatically add files before PHP document.
    " _( W& L7 K7 [" i( s  u) K
  663. ; http://php.net/auto-prepend-file
    5 d& {& }  K, C6 A% d8 \$ h
  664. auto_prepend_file =& u! q" {! t/ ?4 n% p
  665. ; r7 \& @* n  F4 L" v
  666. ; Automatically add files after PHP document.+ v  w$ r+ f' Q8 c  w0 _; s
  667. ; http://php.net/auto-append-file
    : ^9 n) n  Q2 V1 G; I3 n2 S
  668. auto_append_file =
    6 X4 p' v3 }* y
  669. + _6 d6 i5 H2 x, E9 `0 @
  670. ; By default, PHP will output a media type using the Content-Type header. To
    0 z$ D+ S8 B1 G' {) F) j. S) H
  671. ; disable this, simply set it to be empty.
    ! u  B5 `  }: {3 ?; Y
  672. ;
    * f: v7 [. N' I3 {9 q( O. y* m. {
  673. ; PHP's built-in default media type is set to text/html.+ j5 N% s4 {3 k" D3 @
  674. ; http://php.net/default-mimetype- l, i. c5 N6 e
  675. default_mimetype = "text/html"
    * z) T. f$ I% `9 _

  676. : }0 _, ]3 B& k# o2 B) I4 m
  677. ; PHP's default character set is set to UTF-8.9 n* Q7 `2 ^7 i# e
  678. ; http://php.net/default-charset: o, N! q8 q/ u% o+ y
  679. default_charset = "UTF-8"
    ' @+ k. f4 D* F

  680. ) v+ @- T! Q$ N0 L: r2 o! @; a% c
  681. ; PHP internal character encoding is set to empty.4 d2 s2 E+ H) v/ q3 q
  682. ; If empty, default_charset is used.
    5 m  e( T! t& t/ w: y( R
  683. ; http://php.net/internal-encoding( o3 M/ F: x+ n
  684. ;internal_encoding =
    ; u/ G3 d/ X. D& m, ^. n

  685. * r2 X+ z9 A: Q' t
  686. ; PHP input character encoding is set to empty.
    ! P. Q+ A# Z: l& r8 @4 K
  687. ; If empty, default_charset is used.
    % e/ O! ]/ L& S8 e9 m' k
  688. ; http://php.net/input-encoding
    " U$ s; ^( q! `+ k8 r
  689. ;input_encoding =
    7 H" t1 D" r7 \4 Q/ e5 S* w
  690. 1 j. _9 o* a$ W' Z' z
  691. ; PHP output character encoding is set to empty.
    ( J* h# F& w! E, u+ y- X
  692. ; If empty, default_charset is used.
    6 o( ]* ]' F1 K
  693. ; See also output_buffer.% M' m  ]2 m9 p3 F$ v, q  i9 I
  694. ; http://php.net/output-encoding6 R2 v# {3 E  J( Z+ ^
  695. ;output_encoding =3 a0 \' T* H5 O  D4 B/ g

  696. 9 v' {! a2 ]  k
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    7 A/ ?- y9 n, Z" D. b; y- |  ?* f
  698. ; to disable this feature and it will be removed in a future version.
    + j8 T% a) g5 l: m7 ^
  699. ; If post reading is disabled through enable_post_data_reading,
    - E; u( _9 S$ F- j7 m
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.) M7 P; G: L- z8 O! z- T
  701. ; http://php.net/always-populate-raw-post-data# O# ?: w- A8 H3 [+ W! J
  702. ;always_populate_raw_post_data = -1
    $ F1 @7 n5 B, K. s9 e* [$ v% [* `3 I

  703. ! o3 P* g/ C' x
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ y0 ?& y( u3 |. Z# \9 b1 o
  705. ; Paths and Directories ;
    0 }4 Z6 Q9 u* h' V* J' |
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    . P- M! s' R% E) Q& e6 Y4 \/ G% \

  707. , y* N" `) ]$ W3 h% L
  708. ; UNIX: "/path1:/path2"! y, U; |! w6 f1 F/ }1 g
  709. ;include_path = ".:/php/includes"# l- r; q  M. u5 K
  710. ;+ p. I) F9 u6 k* W
  711. ; Windows: "\path1;\path2"( l7 O9 g5 t# M" @3 O4 S3 o
  712. ;include_path = ".;c:\php\includes"* \5 R( ^5 u$ S6 v2 E
  713. ;7 E& D/ s( s) l$ ]  u$ r
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"8 _4 p, a- z0 h2 H  P
  715. ; http://php.net/include-path
    4 n' ]- ]8 n9 H/ j+ h7 B
  716. $ g% T" Z% c/ F& }: P1 t3 a5 t
  717. ; The root of the PHP pages, used only if nonempty.; S2 D# T5 l& r! S5 ?) c% f
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root& g1 c) ?, {6 [. |. ~, l% A
  719. ; if you are running php as a CGI under any web server (other than IIS)
    8 U! r& q: e& ~
  720. ; see documentation for security issues.  The alternate is to use the0 y& W) t  ?- {+ u" B
  721. ; cgi.force_redirect configuration below0 ]% Y' ~' N  B" _- p0 f: l4 ?
  722. ; http://php.net/doc-root9 N2 R) I( l: P8 E! v
  723. doc_root =
    ( |, T! U3 l, k8 I3 }& e9 f

  724. , ?. B; [5 ^/ D* n6 m9 w
  725. ; The directory under which PHP opens the script using /~username used only
    0 X' h# d6 d/ _7 D, ]1 h, Q; z# J7 d
  726. ; if nonempty.* `" k. W- G9 T3 k# I/ g) v
  727. ; http://php.net/user-dir& N) s5 r0 z' t/ Y1 M
  728. user_dir =0 U" A2 k. n  y: b$ B# i6 Q. R
  729. " G% p$ r' t4 H; e
  730. ; Directory in which the loadable extensions (modules) reside.+ k% D# S& B  H* V3 \
  731. ; http://php.net/extension-dir
    # w4 |3 ?: v! b7 e, e! Y% Q" [$ Q
  732. ; extension_dir = "./"% Y: n* g, \9 [$ }* v
  733. ; On windows:
    . R4 ~* e8 h3 R$ C) n
  734. ; extension_dir = "ext"% Q% F& V" s+ X, V
  735. . E0 b* H2 C: j( d, X1 p
  736. ; Directory where the temporary files should be placed.
    % O% S. {4 ~# o. T' G
  737. ; Defaults to the system default (see sys_get_temp_dir)! W3 I& a# h: W5 {2 w- i
  738. ; sys_temp_dir = "/tmp"1 w6 J$ ?, w& w/ `: r2 P
  739. 6 P+ f& S. \! ]+ L
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    + I$ H3 y7 S6 ^* H% A
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically+ m$ C8 ~- S: ~& s
  742. ; disabled on them.1 D* x6 R/ s+ ]& `( s+ k
  743. ; http://php.net/enable-dl
    $ o+ K$ I$ _5 q  Y: E* [" q
  744. enable_dl = Off
      q0 K- j6 L' P7 y# `

  745. / \- j7 p9 A' C) f3 L1 n  V+ w
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    5 C) g* }- G& u: d4 Q
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can( ^1 _( }* C3 ^( M# j
  748. ; turn it off here AT YOUR OWN RISK
    : x4 z: \5 X/ v
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    8 y. G; W/ S$ m% |5 a+ c4 \
  750. ; http://php.net/cgi.force-redirect
    * w' }$ {: i4 _  I1 S! J* o3 n
  751. ;cgi.force_redirect = 1. {) S/ Q9 [1 P8 i* W' u  |
  752. , ~. L1 a3 n/ ~4 D# c* v# k
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with& A+ t! t9 S# X) j$ T! W9 c' Y- t, s
  754. ; every request. PHP's default behavior is to disable this feature.
    2 ^5 b: D( h' G9 A2 R6 D
  755. ;cgi.nph = 1* @0 s0 C2 u7 U/ Z! `- B
  756. ; |- T( m% w6 Q: r+ k0 t: ]( ~* S
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    % O8 F2 z& h9 v
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    6 e- s9 u5 H6 |2 i4 F' p; }
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    1 J9 r! E. f  ^! m8 z
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    - V" I: ]! n/ d) w, b9 A6 n
  761. ; http://php.net/cgi.redirect-status-env! R6 m, v* e9 I: x4 e$ g
  762. ;cgi.redirect_status_env =
    9 D" s: s! b( F7 E

  763. 6 E1 F7 V" H+ P, S
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    2 [3 h* V; I8 |1 A$ s; E
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok& `6 u5 Y7 @1 s- F: O
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting% M0 ]$ X6 N4 y
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    1 v. |1 h/ E9 r  k' l
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts0 G3 {+ }) G4 o& S6 T5 t
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.6 D. d; ?( z' ~; U: U9 \
  770. ; http://php.net/cgi.fix-pathinfo8 p# r' P- g/ ~7 N) j3 J
  771. cgi.fix_pathinfo=1
    3 @) J! T: ]2 O- W6 l+ X

  772. 8 K- a& X( V1 R
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside) X6 Q3 H- @( ?5 X: r7 @& X
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
      L  S3 u. C" S3 x8 J: J
  775. ; http://php.net/cgi.dicard-path
    # u" {0 x( H6 G. t
  776. ;cgi.discard_path=1
    + _' N4 }" R6 e  V) j6 R

  777. " J# `* K7 U# g
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate7 |7 e! V; A+ o3 w6 R7 E) c2 {
  779. ; security tokens of the calling client.  This allows IIS to define the
    " ^8 Y% ]4 }1 X! {
  780. ; security context that the request runs under.  mod_fastcgi under Apache: ]# V8 g0 q; n- |* l
  781. ; does not currently support this feature (03/17/2002)
    2 ~7 P. c! A1 X9 E& q# q) }
  782. ; Set to 1 if running under IIS.  Default is zero.( C5 g/ [; [# S2 q! e
  783. ; http://php.net/fastcgi.impersonate: M5 Z4 o; U5 T- F3 Q! p2 {. X2 }0 v
  784. ;fastcgi.impersonate = 14 C% V9 w/ x- ~
  785. : h- z5 C2 F1 @! \' i
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable) {+ D# F- L' W3 C6 t4 U
  787. ; this feature.3 F% k. t+ s/ N; I7 K- U: D
  788. ;fastcgi.logging = 0
    ) m$ x* h( f0 v& P( n& T
  789. " j% e+ Y( e# m3 d: A) I4 @, o9 P
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    & S# K  q3 |- }9 S1 R2 E# t
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that8 o6 ?1 u5 O( ]8 M; z) @& B1 H* ^9 [/ T
  792. ; is supported by Apache. When this option is set to 1, PHP will send1 Y- z# T" W0 X( F
  793. ; RFC2616 compliant header.
    / ]  s4 l% ^4 |8 P6 K
  794. ; Default is zero.; K( @* ~! K, z
  795. ; http://php.net/cgi.rfc2616-headers
    # N+ }8 ]; i9 W6 l" N9 G( c
  796. ;cgi.rfc2616_headers = 0
    # \& y! o7 K' C9 V8 H0 t) o' s

  797. * q. ^, n2 A  v- F/ R, [
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    4 S& C+ h/ G  r3 L. U+ s
  799. ; (shebang) at the top of the running script. This line might be needed if the
    # c1 n, T2 Y8 C0 _7 g+ f" K/ q
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    # H3 o: b2 A9 f# h7 y* e. @
  801. ; mode skips this line and ignores its content if this directive is turned on.
    + [; O+ T% @+ D# Q1 W
  802. ; http://php.net/cgi.check-shebang-line. c0 F+ g3 S' F. ?: F1 I0 [
  803. ;cgi.check_shebang_line=1, c" W& E4 v, |1 B+ N

  804. 2 U5 g- a: q" g& X
  805. ;;;;;;;;;;;;;;;;$ ]7 |! @- w" _! v9 p& o
  806. ; File Uploads ;* H* `" }7 H; k7 f# U- A- s0 e
  807. ;;;;;;;;;;;;;;;;% ~; h2 D* n( i  Y4 y" }
  808. ! G( m) [; {# M* e! m7 a5 F1 z
  809. ; Whether to allow HTTP file uploads.
    0 L" ~# e1 b9 i+ ~" t$ u/ d( e
  810. ; http://php.net/file-uploads8 ~+ Y: Q# z2 t/ {) a' Q8 s, n& I
  811. file_uploads = On
    2 G9 S3 m' E' X1 R1 m

  812. 6 O- M) G% w$ c, U# @
  813. ; Temporary directory for HTTP uploaded files (will use system default if not6 x1 w' ?# N( N; }" a( x
  814. ; specified).. x, H- }# b3 e% n8 V
  815. ; http://php.net/upload-tmp-dir# Q7 N4 g6 t+ v/ q& {5 M
  816. ;upload_tmp_dir =7 O# ]  x& m' {  }, G

  817. * K1 _. w+ l. ]+ p5 C
  818. ; Maximum allowed size for uploaded files.& D6 h+ K! x& v0 q2 x
  819. ; http://php.net/upload-max-filesize
    ' ~4 x) p/ h% P5 ]4 O. z
  820. upload_max_filesize = 50M/ T, l. R4 k5 @" f
  821. 5 Z* ~- c0 f) s; k9 y( N
  822. ; Maximum number of files that can be uploaded via a single request& q4 |0 X* U5 k' t
  823. max_file_uploads = 207 g; L; E* q& r1 P9 J8 ~  v
  824. ; I$ m6 V; j! p  I3 R
  825. ;;;;;;;;;;;;;;;;;;: O3 ~- ]9 x5 q1 O+ X
  826. ; Fopen wrappers ;
    ) h+ A' F/ Q: K8 v7 k9 Y
  827. ;;;;;;;;;;;;;;;;;;# ~3 w5 x1 A: J5 }3 b+ _/ O8 \

  828. , v- q4 o5 Z! ?; \( [
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    . k- v: ]2 y5 e5 w
  830. ; http://php.net/allow-url-fopen
    8 ?7 @, e9 d7 T, h  a- H0 b4 P! l6 t
  831. allow_url_fopen = On' o/ F# |% n$ u& L

  832. ; Y# M+ T8 c1 ?+ O  X/ A
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.5 k2 W; y4 O% ]( @. w( `
  834. ; http://php.net/allow-url-include0 _- ?- o8 n) L: X
  835. allow_url_include = Off3 X1 M: U; {( p9 V% ]- |

  836. . U4 Y$ W' @1 \# X
  837. ; Define the anonymous ftp password (your email address). PHP's default setting  _' E! N+ g% e; M9 L
  838. ; for this is empty.
    4 S% e7 [4 C( C" ?
  839. ; http://php.net/from7 H- }' c, b7 w- e2 _1 c; e
  840. ;from="john@doe.com"
    9 b2 d. }2 y: m+ d# O
  841. # o  z4 L% h5 L7 E$ J/ ]0 ]: Z
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    " Z4 p) M# e2 Q0 q) m
  843. ; http://php.net/user-agent
    ' w! k. m) y3 q& r
  844. ;user_agent="PHP"
    . M* i" T9 f, e* a! j2 A4 ^1 h

  845. 8 x, F9 t% }/ U% D' h+ a
  846. ; Default timeout for socket based streams (seconds), T+ `, N, K* @
  847. ; http://php.net/default-socket-timeout0 R# F2 v, C) C0 ]+ I
  848. default_socket_timeout = 609 J( L3 x/ {! A" x' p3 `2 f
  849. + \) ^. c8 @3 a6 T9 ?  @
  850. ; If your scripts have to deal with files from Macintosh systems,7 _6 p+ F$ s3 A; c
  851. ; or you are running on a Mac and need to deal with files from
    9 P, @5 S- j6 H" L: z9 J+ |
  852. ; unix or win32 systems, setting this flag will cause PHP to6 C' U4 x, [9 R5 g8 Y2 J4 B& x. j
  853. ; automatically detect the EOL character in those files so that% o+ R1 K$ F- p. c% c) }
  854. ; fgets() and file() will work regardless of the source of the file.- {, t( d3 O2 a
  855. ; http://php.net/auto-detect-line-endings! C9 N# p( F. p* g1 S
  856. ;auto_detect_line_endings = Off. {) u& s! s  ?9 |3 {: W) y6 S

  857. 7 l! Q  C. d0 G* E8 P& |- C2 t
  858. ;;;;;;;;;;;;;;;;;;;;;;
    / C' ^2 [( {% s9 D  A
  859. ; Dynamic Extensions ;
    1 j6 K" F$ q1 c/ ]" p& d0 U* `
  860. ;;;;;;;;;;;;;;;;;;;;;;
    2 q- o; u/ }& {( j9 ^
  861. 9 l3 s# K. K2 t7 C+ z) k1 k- V9 V' O
  862. ; If you wish to have an extension loaded automatically, use the following
    / f1 s* c9 a; P; H9 l' y( j8 M& F
  863. ; syntax:9 i/ P# @. K6 [# r' d$ T8 G
  864. ;% B% ]* k1 @- q# U# U$ r
  865. ;   extension=modulename.extension7 s; z! f& h# s0 g, X. ?
  866. ;" w/ a1 ?; [7 _! ?4 W+ w6 U
  867. ; For example, on Windows:& {9 U/ ~" Y6 k! X
  868. ;
    * e3 ~; b5 c+ y9 E- n! |8 V& \
  869. ;   extension=msql.dll
    4 h  @+ F4 m, Z% w  `% `
  870. ;
    4 `7 s+ Z9 z  f
  871. ; ... or under UNIX:" F$ S* k" g& `& p+ m, w5 X; J9 x
  872. ;
    % m/ u4 \5 H; f( H8 Y1 k
  873. ;   extension=msql.so
    4 X1 p5 Q- J" |  u- b
  874. ;
    5 \* w/ m* A, k$ v" i
  875. ; ... or with a path:
    ' d) H4 U) z& v7 g( i; L9 [; e; m. E
  876. ;9 [2 j+ T) x, j* x$ I, u. ]
  877. ;   extension=/path/to/extension/msql.so% `7 ]# U- F* }/ m4 H
  878. ;
    & E# U2 J3 P3 L2 ]) _$ E+ b9 g" c
  879. ; If you only provide the name of the extension, PHP will look for it in its& a3 l1 O5 A' a5 I8 ]
  880. ; default extension directory.
    ' L" v4 h. F$ O( r1 t
  881. ;
    1 J* t+ K1 v% Z- e
  882. ; Windows Extensions
    - w# _. Q$ G$ O4 W# c4 ~
  883. ; Note that ODBC support is built in, so no dll is needed for it.4 z$ ~" D: P& _1 H, A2 X6 A/ n' r
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ( w' [1 C9 T7 A) ^% n2 X
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    * l' U$ Y- W- p0 G; w( _
  886. ; Be sure to appropriately set the extension_dir directive.- b& F% k. d4 e; I. _! _
  887. ;* s5 n$ L0 {4 O% S9 @1 T3 F
  888. ;extension=php_bz2.dll) D/ X3 r8 H$ w$ ]! d& Q) l
  889. ;extension=php_curl.dll' K  C# @( J/ k, |" F5 G
  890. ;extension=php_fileinfo.dll) q' G( H; R6 \9 t
  891. ;extension=php_gd2.dll& f- M" ^7 }& |6 x7 [7 m4 W
  892. ;extension=php_gettext.dll! c: I9 J  e: b& H3 h% @6 l
  893. ;extension=php_gmp.dll
    9 t# ]' c# Z$ f' I& E3 A4 ^
  894. ;extension=php_intl.dll$ E7 g' d4 B( g4 m+ ?  W
  895. ;extension=php_imap.dll3 e0 ?& s. G. M' D
  896. ;extension=php_interbase.dll$ u6 h; q9 u* \5 G! B( O
  897. ;extension=php_ldap.dll2 t: {. N% E+ w- ?7 Z; b* r
  898. ;extension=php_mbstring.dll
    8 z3 ^3 b7 @; s3 g6 U* k( J; H
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    : l6 n; c" l8 h/ N
  900. ;extension=php_mysql.dll0 c* Z6 f+ c  t) ]
  901. ;extension=php_mysqli.dll
    ; `  S) n2 z8 W
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ' i; u0 A2 N) h/ {& l, |+ r* l7 X
  903. ;extension=php_openssl.dll7 j& O- v7 \, a/ F
  904. ;extension=php_pdo_firebird.dll
    3 U; L+ j# a2 L' |4 `4 w* e4 }
  905. ;extension=php_pdo_mysql.dll
    1 n. s4 l9 {$ ]: g$ z5 E* s7 A
  906. ;extension=php_pdo_oci.dll% K6 S4 w1 P: m# ^
  907. ;extension=php_pdo_odbc.dll+ l$ e5 @( Y2 R, \
  908. ;extension=php_pdo_pgsql.dll
    $ ~+ G8 N* z0 ^" ~4 I
  909. ;extension=php_pdo_sqlite.dll8 z0 t: k, g& A0 W' H# B) o
  910. ;extension=php_pgsql.dll
    7 ]% @+ e" s: N9 d& [- r# ~* K
  911. ;extension=php_shmop.dll! a: \6 X0 K4 Q: i! M3 f" e
  912. $ U- ]# `8 t& b; C; h/ J
  913. ; The MIBS data available in the PHP distribution must be installed.
    / O2 I, H5 d8 s1 i' ?2 |! W. }
  914. ; See http://www.php.net/manual/en/snmp.installation.php 0 ?" C- L8 T' |) M
  915. ;extension=php_snmp.dll- A! j+ W9 i8 C) y% o

  916. " Z/ z- m3 F: E8 h/ F" x
  917. ;extension=php_soap.dll: M) T5 n( Q& `( h$ I; X
  918. ;extension=php_sockets.dll1 y* G2 n' F( B. o
  919. ;extension=php_sqlite3.dll
    ' Z# @% w: z- r0 v! N3 t
  920. ;extension=php_sybase_ct.dll
    , J" C+ W. ?# W( }" U/ u0 F
  921. ;extension=php_tidy.dll- t  I2 p, g+ n. e
  922. ;extension=php_xmlrpc.dll
    $ z1 @; M. y4 R- M$ e0 l
  923. ;extension=php_xsl.dll& D# ^- w7 g5 e9 O8 A6 \7 n8 g
  924. 5 ]! ^& Q- p; k% n
  925. ;;;;;;;;;;;;;;;;;;;
    - f3 s; M7 o) W$ `5 X
  926. ; Module Settings ;; ?, L& P% s( O! K7 a5 O0 H
  927. ;;;;;;;;;;;;;;;;;;;7 q6 [: H% J1 L" W6 L7 K, F

  928. ' O# z( @7 d+ O" M& x, u! J
  929. [CLI Server]
    ) t% i8 @# k+ X- p
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.( A6 B! M5 t1 x) a, r, I  Q
  931. cli_server.color = On
    4 m9 }. s1 s* @  J6 `( f7 \  o" ~" n

  932. 6 y1 y: c3 g/ D8 _
  933. [Date]
    1 ~7 N0 b/ A- ?* O3 z# v# M
  934. ; Defines the default timezone used by the date functions/ f  c+ Q. g5 p% l0 a% {! z7 Y8 n7 [
  935. ; http://php.net/date.timezone1 v$ x! I& s, w2 X% U; m
  936. date.timezone = PRC  @, u, K6 @( a5 i
  937. $ J+ V1 R0 w5 |- O7 Y- ~5 A
  938. ; http://php.net/date.default-latitude' k, w. n4 ^2 T4 V
  939. ;date.default_latitude = 31.7667
    / a. r7 C3 k; f* _- s+ j* Q6 U
  940. 8 f0 Z8 \4 [3 z9 `- U2 U. q6 _% k
  941. ; http://php.net/date.default-longitude
    # W2 J5 ]+ F# T6 R
  942. ;date.default_longitude = 35.2333
    , E  S7 z, ~( m! _2 x2 A. k

  943. / _0 |  V, Z' E4 Z: h
  944. ; http://php.net/date.sunrise-zenith
    9 |1 h% P% {( y4 J9 T( m
  945. ;date.sunrise_zenith = 90.583333  ~4 n" ]1 q+ A' C; `7 N  W+ c- K' m
  946. 8 D' W$ R: P2 P: p) c9 s
  947. ; http://php.net/date.sunset-zenith
    8 W$ b% q5 K" W, K: h! g
  948. ;date.sunset_zenith = 90.583333
    8 Z- D& F# j. x' j- [2 j

  949. / U3 z9 ~# |% ]# H
  950. [filter]
    , d/ C1 y* g0 |, m) p
  951. ; http://php.net/filter.default
    4 M- n2 w7 c. X/ r, i) S" K
  952. ;filter.default = unsafe_raw
    # Q# c4 j7 A9 Q1 W9 P
  953. . Y/ i6 d4 p7 L
  954. ; http://php.net/filter.default-flags% F4 m1 ]7 ]2 Z/ O/ m: |7 S
  955. ;filter.default_flags =6 ]5 w7 f; k# b( h  h+ V

  956. 3 f; c) W' g, g& T; u3 z, o
  957. [iconv]
    : {! A! j% N# T  F$ @- t5 S6 Y
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.# L/ `) `1 r$ ?) I
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.3 t  J3 T+ V' g
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    0 f: z  O% l; k/ o
  961. ;iconv.input_encoding =
    + B/ f& a( Z$ W, e+ ?3 Z$ s; K! @% N4 ]
  962. 1 v8 T  n2 K0 z! P( m8 s% w
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.& E; o8 k6 f7 X% I$ ]
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ Z6 z5 h" b  d% @( b* P+ L8 U
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / K2 h  X+ `$ h7 q: k- w% Z' X
  966. ;iconv.internal_encoding =
    ) n, |$ p5 y; U+ y* \: w8 h

  967. . Y& m, e) C# O$ G1 Z
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.( t8 E& J$ {) {1 N: V# B9 U
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.! `" n( A" O! P( n" l9 ~0 V! w
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding: u' `0 J, e; I
  971. ; To use an output encoding conversion, iconv's output handler must be set! U7 d9 H- u# @: t+ z, n
  972. ; otherwise output encoding conversion cannot be performed.
    9 l: p& O: |7 l9 d- K1 y' y* `
  973. ;iconv.output_encoding =1 l. Z) Y* t* J) w
  974. 6 x& K" V! I/ u9 B. z* q% a
  975. [intl]
    8 O6 U5 s+ I( I' L$ r$ G( N
  976. ;intl.default_locale =! \/ }' L: l2 b  a9 D. s/ {
  977. ; This directive allows you to produce PHP errors when some error
    - o! b: x( J. v8 {+ a9 O
  978. ; happens within intl functions. The value is the level of the error produced.
    ! n2 j. A4 Y" K/ O
  979. ; Default is 0, which does not produce any errors.
    : k1 P  u% t" M' m* m) W
  980. ;intl.error_level = E_WARNING6 u3 v9 S- i/ f( o6 }
  981. ;intl.use_exceptions = 0
    $ H! G% N1 ^  D
  982. + l2 q4 r) k8 u# W
  983. [sqlite3]
    0 v% c: ^* x2 A: F& ?4 |
  984. ;sqlite3.extension_dir =
    3 T- P$ L, d6 |6 k, v- h
  985. / E; r3 Z0 Z7 [6 n2 p* r1 V
  986. [Pcre]
    % `& K6 ^1 J" f/ ]3 `1 e
  987. ;PCRE library backtracking limit.
      @- ^1 _% b/ x$ L1 H" N1 \
  988. ; http://php.net/pcre.backtrack-limit" t  N: u0 }) ^( m% B
  989. ;pcre.backtrack_limit=100000  o1 L( K- n. a
  990. 9 [2 @9 m- [, j9 A8 h! u8 E; R
  991. ;PCRE library recursion limit.7 R1 a7 A: I/ A8 N2 S1 P
  992. ;Please note that if you set this value to a high number you may consume all5 c2 x. T# i4 G/ Q3 E: A, z3 J
  993. ;the available process stack and eventually crash PHP (due to reaching the8 C  K4 N0 Q7 m
  994. ;stack size limit imposed by the Operating System).
    - @- i# W: D9 I/ I
  995. ; http://php.net/pcre.recursion-limit
    & S9 C, ^5 x* S" Q8 F9 G) }
  996. ;pcre.recursion_limit=100000
    ! r+ H  A+ ]" B8 O6 d
  997. / K+ h8 k) ?  [; F5 O7 S" i( v( }
  998. [Pdo]
    " [: }7 f8 H, b( y9 B, s
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"$ @6 Q+ V4 _# S$ k0 G6 Y" `$ M4 ^
  1000. ; http://php.net/pdo-odbc.connection-pooling
    8 w- ^2 ?9 d* o! S! z3 D
  1001. ;pdo_odbc.connection_pooling=strict  E3 Z/ d$ U' z6 R& U" T/ }1 q! o
  1002. + h, K9 D" l& r
  1003. ;pdo_odbc.db2_instance_name
    3 S2 E# S8 Y% ^  L8 G

  1004. 4 m' V3 ~) B& A, X6 a$ }3 f4 x
  1005. [Pdo_mysql]
    . L8 l2 K6 `8 ~1 f2 j6 x; ?
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache. D: Q1 \- h( f3 e0 J; B
  1007. ; http://php.net/pdo_mysql.cache_size
    + ]5 F( V% o  Y8 F7 O  M
  1008. pdo_mysql.cache_size = 2000
    0 }" I' k; V& J4 W* X- g6 E) ^

  1009. 9 r& N( T$ q. \. u0 H0 P
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    4 K$ U; l+ A: w9 I# l1 E4 w( N, f) o
  1011. ; MySQL defaults.8 v) Y8 z# |" S' _, ~
  1012. ; http://php.net/pdo_mysql.default-socket
    ' _& }+ t! y: t" V% c
  1013. pdo_mysql.default_socket=
    ) L+ i* J$ }  B$ z

  1014. ; B' a; D1 g/ f+ w$ c
  1015. [Phar]
    - }1 `/ ~$ S# L0 o
  1016. ; http://php.net/phar.readonly
    ( S7 H) R2 D$ H0 h
  1017. ;phar.readonly = On
    ( o2 i1 i! T3 I( |4 Q# }1 [4 |
  1018. / o9 V, ]- F  [: _. J+ u7 r+ Y& C
  1019. ; http://php.net/phar.require-hash  }5 x) a8 m6 W
  1020. ;phar.require_hash = On# w& |' t$ x" N2 \9 [

  1021. , T2 B0 M4 f5 {
  1022. ;phar.cache_list =
    4 v+ L0 P' e% c; s, R5 G
  1023. ' N1 M) J1 \9 p" B/ A% Q% S1 h
  1024. [mail function]
    8 O. V# o8 }7 G, t
  1025. ; For Win32 only.
      N/ D) L- U) b3 M
  1026. ; http://php.net/smtp1 M2 l4 ]$ _5 y/ ]- b$ @4 e
  1027. SMTP = localhost0 c% d1 X: ?" k8 B4 u/ S7 J
  1028. ; http://php.net/smtp-port
    3 l- E/ b# ]8 i
  1029. smtp_port = 25
    / S1 G' @3 f" T: q3 D
  1030. 8 v% T% ?' d- I3 d( _4 Z3 m) m. j
  1031. ; For Win32 only.
    0 I( _, ?1 c, |
  1032. ; http://php.net/sendmail-from
    3 s0 H3 u, Y$ C7 ?4 d* @$ K
  1033. ;sendmail_from = me@example.com8 h9 Z! h3 }8 S3 W3 s9 V! `
  1034. 6 m6 }7 M9 f' z
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").6 _, t) c, D0 _: c' c6 Q
  1036. ; http://php.net/sendmail-path" E) g: X  C# C1 [
  1037. sendmail_path = /usr/sbin/sendmail -t -i1 b$ I$ \( P4 N

  1038. % \) \# x& X& o& O' e1 x6 q7 m
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    5 \$ W% h8 N& q4 ~; R" b
  1040. ; to the sendmail binary. These parameters will always replace the value of
    . |& ]) |5 t: L9 V
  1041. ; the 5th parameter to mail().
    ; H" n! T. r+ G  u6 `
  1042. ;mail.force_extra_parameters =% ~; S8 ~9 v' r. |6 U
  1043. 6 h# t, W, }5 K
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename. O5 Z( _+ @: D- q8 U; ]# O0 F
  1045. mail.add_x_header = On
    / U) N- G* M" V! a2 }/ p+ [
  1046. 5 b5 [7 k: N3 I7 ~1 c* k/ M7 c
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    # A$ b+ n" P5 y8 i: @/ ]* J4 l
  1048. ; the full path of the script, line number, To address and headers.5 L0 z8 c3 c8 H# D. g( w
  1049. ;mail.log =7 J; Y: G3 G% W9 Y/ U0 y" d
  1050. ; Log mail to syslog (Event Log on Windows).
    ( D3 x7 Z# M+ N/ {4 c: z7 v* m
  1051. ;mail.log = syslog. Q- J6 f. d6 D- p7 Q# v3 g. z
  1052. ' T* n: z) ^8 Y+ n0 F
  1053. [SQL]
      D/ W% X* ~- t) q( `4 b
  1054. ; http://php.net/sql.safe-mode  }, ~) w9 j4 s0 D% e
  1055. sql.safe_mode = Off8 |. d* }+ P" `# k
  1056. # d& S# l3 k: m* n7 D# k* E
  1057. [ODBC]
    3 _3 T" y6 w- H% h: {* Q
  1058. ; http://php.net/odbc.default-db
    2 M  A+ Y  ^* F
  1059. ;odbc.default_db    =  Not yet implemented& D; g2 S( P4 ~. w8 A7 h, S
  1060. % f0 E$ s6 f# \, t1 s7 C1 T
  1061. ; http://php.net/odbc.default-user
    6 p% B/ o# N, ^2 F
  1062. ;odbc.default_user  =  Not yet implemented
    4 i$ f8 Y, c9 Z, l

  1063. ( w6 r2 G4 H1 `% f0 k
  1064. ; http://php.net/odbc.default-pw
    ' j0 k5 z" ~  Z5 s0 }
  1065. ;odbc.default_pw    =  Not yet implemented# x) e$ b! V! q5 E- Z

  1066. 2 m6 y$ l8 ^9 c, B5 x, a
  1067. ; Controls the ODBC cursor model.
    % X. c2 o$ k5 }: e- w' d
  1068. ; Default: SQL_CURSOR_STATIC (default).
    9 C. w7 J6 j! l
  1069. ;odbc.default_cursortype' ~# C' w+ D4 }+ c

  1070. ' Y; T8 r/ ]& D7 z( u1 V
  1071. ; Allow or prevent persistent links.( O7 {3 d! v$ x7 Q9 A5 s6 r
  1072. ; http://php.net/odbc.allow-persistent
    ) _# [! m4 e9 C2 G3 j  X/ e3 y% F: Z
  1073. odbc.allow_persistent = On
    % ^8 T# m7 o# _- o" n

  1074. # W  @* D1 u; ^; I" a& u- f. ?
  1075. ; Check that a connection is still valid before reuse.2 d& N" A0 q( K. {0 P6 J) E) v
  1076. ; http://php.net/odbc.check-persistent
    . M: |: W$ {# |+ h( `/ b) I3 W
  1077. odbc.check_persistent = On
    ' x. s* m- `, T( W

  1078. # }' T# U( n( t+ S+ G
  1079. ; Maximum number of persistent links.  -1 means no limit.
    0 X6 b" ]: x( ^' S: f" D9 d
  1080. ; http://php.net/odbc.max-persistent4 A, B/ r9 \- ]+ T, c
  1081. odbc.max_persistent = -1- h# u* D' Z& B3 y

  1082. . U8 x; }5 v; s1 `3 d# b+ k* J
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / s; F( }: F6 C: O- z, u
  1084. ; http://php.net/odbc.max-links
    $ S0 q- E2 w* `; Z% a# `! x
  1085. odbc.max_links = -1
    " B6 [8 V- T- A2 J! m
  1086. 6 j) q5 [9 y8 f4 k4 U1 G
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means. ~1 H% s& ?1 b4 W
  1088. ; passthru." g4 D9 `6 e! }* X& g
  1089. ; http://php.net/odbc.defaultlrl
    6 g: y, D: i! g7 w: z1 t" B! o" C
  1090. odbc.defaultlrl = 4096  L) y. C2 u) E: ?9 f

  1091. 4 g- m8 \4 A* E, y
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.0 p3 [0 y8 O; Z4 f
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation( v3 G, \. }% N. Z% b) m: U1 J
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode* J5 L: Q  t  d( W3 E8 l; [
  1095. ; http://php.net/odbc.defaultbinmode
    % \* ]$ p# ?! v! G& z' U% |5 h
  1096. odbc.defaultbinmode = 1
    , S4 o5 O/ N+ V) S) j8 i

  1097. 9 v  Q& |3 g( D% r" Y
  1098. ;birdstep.max_links = -13 r* e6 [( i. ~3 s. |0 O& ~. L0 z

  1099. 1 l! A% t/ V) ]+ p  Y
  1100. [Interbase]
    % ]& b1 d/ i! i
  1101. ; Allow or prevent persistent links.2 e7 `& p6 H/ P) X/ D
  1102. ibase.allow_persistent = 1
    9 r" [2 z- x/ w9 X

  1103. 1 E3 W* a2 J4 o% N% w$ B
  1104. ; Maximum number of persistent links.  -1 means no limit.) |! L0 N$ F4 u0 Y5 O5 I4 O* s
  1105. ibase.max_persistent = -1
    ' F7 @# i. W3 |2 e
  1106. ; n; k, y9 ^3 n; q" B$ X! i) O# }
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 @- t) k. O. |% I$ P4 U$ U
  1108. ibase.max_links = -1
    - m  f, S7 o6 b; f

  1109. # u& W+ g# V; M# W5 W# y: L/ G' T
  1110. ; Default database name for ibase_connect().1 g  [; o# L* X: T  m8 a" S
  1111. ;ibase.default_db =
    5 @1 l0 @& ?' t, v* O$ \* r6 g
  1112. 4 {: z: W9 x8 s
  1113. ; Default username for ibase_connect().
    , S7 G: w& b: f0 h/ f- |
  1114. ;ibase.default_user =5 ^) G) @7 |8 q( x, T

  1115. ) v5 d$ w/ ~3 W! v3 j# K7 ]0 x
  1116. ; Default password for ibase_connect().
    1 S: [. [9 |( n1 s% L/ s
  1117. ;ibase.default_password =* P, o% {  ?" C6 D2 c! D

  1118.   x6 S( a3 X7 {3 p" W+ w
  1119. ; Default charset for ibase_connect().
    4 f# h* @8 e7 p8 }" }
  1120. ;ibase.default_charset =
    : C6 z) G$ h' B8 X0 i$ |$ y( R

  1121. % q. ~! A5 H3 g2 b( {" h
  1122. ; Default timestamp format.$ t  p* D7 x$ ^; A2 Z: u0 ?+ l
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    / N9 _* d' q3 s2 j* M* i  F
  1124. ( R3 [+ @3 f/ B5 k
  1125. ; Default date format., b8 `+ z1 I) x8 x
  1126. ibase.dateformat = "%Y-%m-%d"+ i6 p$ T5 `4 s' }" ?6 [2 w7 V
  1127. + s8 _* R* _, m7 x5 |7 p' Z
  1128. ; Default time format.' J. Q9 Z9 [9 z5 i
  1129. ibase.timeformat = "%H:%M:%S"
    & s' p3 ]5 S" t6 [& `2 E
  1130. ' G* y/ I8 Q+ M/ q
  1131. [MySQL]
    , w0 Z: \$ b7 L+ S  G
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements0 C* @3 \( z' C: R+ S' b# k
  1133. ; http://php.net/mysql.allow_local_infile# z* W3 q$ z. b
  1134. mysql.allow_local_infile = On( _5 Y& Y, ?( l2 p/ D

  1135. 7 F4 D  r$ A( ]1 c/ n
  1136. ; Allow or prevent persistent links.' v4 K9 F; ?$ Q
  1137. ; http://php.net/mysql.allow-persistent
    5 `7 A  A' u1 U
  1138. mysql.allow_persistent = On
    5 \5 o  B/ |: C: _7 |, e" v

  1139. 1 m4 b8 v2 D" k4 S0 S
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & O% W* ^+ j- z/ c8 H  j
  1141. ; http://php.net/mysql.cache_size
    1 t! @3 C5 p& r. S  O% X8 a
  1142. mysql.cache_size = 2000
    + G0 {! B; ?- F! O% w; T3 ^
  1143. 0 W2 {1 P) ]- R4 c* ~6 D
  1144. ; Maximum number of persistent links.  -1 means no limit.
    " _/ N, F! i) Z# E$ V! M) n& m  r
  1145. ; http://php.net/mysql.max-persistent
    ; m4 O, T( F( O. i
  1146. mysql.max_persistent = -19 ~" }3 a. ?& y: ]2 `# M/ x6 @
  1147. 9 K( [# F8 ]3 k6 p# [9 r* U
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 K; m. G4 M. c# Y6 y  v1 N
  1149. ; http://php.net/mysql.max-links5 A" R* [: t, r) z6 C- w
  1150. mysql.max_links = -1
    1 E, L6 X5 ^9 k) ?

  1151. 2 A. R0 ]# I' L: f2 ?# Q. `
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
      W5 W" M* P1 F' H) A
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the/ k. Z' b3 }5 l6 Q' u2 A
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look6 {8 y  [7 ?, g0 r
  1155. ; at MYSQL_PORT.4 h4 t/ z# p/ e* S
  1156. ; http://php.net/mysql.default-port
    ( v$ A+ H4 U) A
  1157. mysql.default_port =
      |; p0 ?* V5 A' G+ U% x
  1158. 5 \4 S) P8 Z' f! g& y7 u" S, L
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in# b3 Z2 m" |' ?: Z9 w9 c
  1160. ; MySQL defaults.6 `! S$ }( `1 q4 M4 J
  1161. ; http://php.net/mysql.default-socket
    . G( c2 |4 W8 p6 ^
  1162. mysql.default_socket =
    ; f/ H# |, O0 c+ P, q; L
  1163.   ^4 N( s; N9 q: x6 I3 b! |7 ~
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).6 [* {- A1 x( [: M* Y
  1165. ; http://php.net/mysql.default-host
    5 k; b" Y% s$ R% g) [6 ~' E6 D' `
  1166. mysql.default_host =
    8 f! L0 G3 F0 `# l, D

  1167. ! @- ]$ N4 j  x, b& ^/ p
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).- L7 L! s+ u2 g2 ~) d0 w; `4 c
  1169. ; http://php.net/mysql.default-user) b1 Q8 S, d3 q* l
  1170. mysql.default_user =9 |) Z7 e* G- X# H+ D3 {2 P, k$ P
  1171. 6 }( A& _: T9 |  k. V& G4 W( r" H1 L
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ; N3 r' Z5 x$ b' |
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.0 d  ~9 Y; L# t, ^: u6 G4 v' `/ l( p
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    % T  `) o8 i+ D" {7 D6 [/ [) x
  1175. ; and reveal this password!  And of course, any users with read access to this) p% W) U7 V5 J# M- C
  1176. ; file will be able to reveal the password as well.; v# j- o- e6 }/ ?$ I& H
  1177. ; http://php.net/mysql.default-password' X# g% o+ x2 h  L' k( l
  1178. mysql.default_password =. H4 ]8 m* h; X+ n

  1179. 5 _. {4 `) x4 C) L2 h% W0 H
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    2 l6 [6 A+ l8 S4 H; e- z& j
  1181. ; http://php.net/mysql.connect-timeout' ^0 b# f( b; t9 H8 z4 h3 ]* v* r
  1182. mysql.connect_timeout = 60
    : a; G  {3 `; X  g' I
  1183. % C; G$ p; ?, C: x
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and# ?+ \& F: A/ v+ [0 [0 @- ?! |2 m4 l
  1185. ; SQL-Errors will be displayed.
    6 r- C: ?7 L; h
  1186. ; http://php.net/mysql.trace-mode; ~. n5 B% }8 H; y; V6 T/ u
  1187. mysql.trace_mode = Off4 ~, O- h- ]5 S9 z. t& }+ z

  1188. 8 t3 x8 l* K+ `; p* u
  1189. [MySQLi]
    ' w% P  }5 {# X5 ~) ~

  1190. $ l# c) m) r9 Y
  1191. ; Maximum number of persistent links.  -1 means no limit.
    3 H) H8 ~' X- K. D
  1192. ; http://php.net/mysqli.max-persistent
    ( u( B3 n, f% ~3 E3 E6 \
  1193. mysqli.max_persistent = -18 i) P& p- R* {' Y1 }- g

  1194. 1 }# e( v  ~# R) S! v; k
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements$ G) X3 {9 ~" T
  1196. ; http://php.net/mysqli.allow_local_infile. b. }' y& y5 I8 |
  1197. ;mysqli.allow_local_infile = On
    * \  Y1 [2 T$ P4 v. y
  1198. * j* {& ?4 s" S  l" f6 \
  1199. ; Allow or prevent persistent links.* |( D4 l) r7 E, g6 Q+ n
  1200. ; http://php.net/mysqli.allow-persistent
    ' e- j* s# a. T& D* ^
  1201. mysqli.allow_persistent = On
    % b5 s) g" d6 H8 |6 l
  1202. ' r/ y1 o- h) j, k" {" f
  1203. ; Maximum number of links.  -1 means no limit.9 v1 x6 J/ T4 ]8 s3 g7 T1 [% m- s
  1204. ; http://php.net/mysqli.max-links! y7 {. _: d; x! L' j  }
  1205. mysqli.max_links = -10 a. x3 v+ c. k) Z- O

  1206. 9 m. ?8 M( Y/ T* C0 Y/ Z6 @
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - w  R  C$ K" q* R5 [( J" ]; h
  1208. ; http://php.net/mysqli.cache_size$ n/ R1 L* P. N& S
  1209. mysqli.cache_size = 2000" ]  q& b& d9 Z% I, ~, x
  1210. - o5 ~* E# U) N" V) P
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use8 B8 g7 R- D1 N8 B; K8 k
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ y/ [1 g+ Q) P: t; J+ o
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look+ d" z( ], X1 W& u6 c+ N" R3 |
  1214. ; at MYSQL_PORT.& z! l9 u+ ?  Y: T/ Y
  1215. ; http://php.net/mysqli.default-port
    1 [& V6 H9 c8 i! A. L  v
  1216. mysqli.default_port = 3306
    8 h1 B4 t& |! h1 |" k) f" T5 i
  1217.   P1 Q$ a; ~$ n# Z- f
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in1 L! V: j1 t$ _3 O* c2 w. K
  1219. ; MySQL defaults.
    8 d% u9 O8 {5 |6 Z& F
  1220. ; http://php.net/mysqli.default-socket
    ( f* @1 t* W( f
  1221. mysqli.default_socket =" q. w, o/ \2 i1 K& V! \! N

  1222. : {9 n8 j- y/ \% i
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ) |- I9 l8 x/ [, D  ~9 v
  1224. ; http://php.net/mysqli.default-host
    ; B; }# a3 Z7 T& q& T  f
  1225. mysqli.default_host =
    ' L8 h! k; j  g- z& a

  1226. & J+ K( D5 ^: }" D4 d
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    8 d/ U+ M* k/ ~9 w' _4 y
  1228. ; http://php.net/mysqli.default-user
    7 A; ~2 u- Z/ ]! U- Z9 r0 _
  1229. mysqli.default_user =
    + e7 w, s) I% x. m8 k" B

  1230. 9 N9 a7 r2 j& W9 R# D
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).+ V' m, A) k& q- ?/ ?/ Z" ~
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.; W+ W% p. r8 l
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"). N" D/ x) k, T( q- t5 N3 U3 l
  1234. ; and reveal this password!  And of course, any users with read access to this
    # N# Q- D4 @' ]' [2 J: v% B# x
  1235. ; file will be able to reveal the password as well.
    - _4 i- p% `1 x! W; t% J3 O. [
  1236. ; http://php.net/mysqli.default-pw  y  E$ s3 p$ Q" V) A* u$ m2 ?
  1237. mysqli.default_pw =* l( u( X% e* z
  1238. . V# o' H  N6 T% m3 c$ S) h% `0 Y
  1239. ; Allow or prevent reconnect
    * m$ Y2 O7 o5 N$ Y& h8 }
  1240. mysqli.reconnect = Off7 _% U: M. x; e- Y8 k
  1241. $ u4 R; K6 M0 s
  1242. [mysqlnd]
    , y, [  t7 V  w! W3 O8 [
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    8 g: i: ^* F) K1 W# Q
  1244. ; used to tune and monitor MySQL operations.. L, L; r/ E! T1 O9 ^
  1245. ; http://php.net/mysqlnd.collect_statistics
    0 s4 M  K) G1 |9 }; M) u! q
  1246. mysqlnd.collect_statistics = On
    - D7 ~( u8 c" G8 B. @7 M# g/ L
  1247. : C4 Y$ @) Y. R$ B! P/ U, a9 S
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be- [6 e& G' p; g! i6 m9 P
  1249. ; used to tune and monitor MySQL operations./ G, {, M: P# ]- o/ ?) ^4 S
  1250. ; http://php.net/mysqlnd.collect_memory_statistics. t! H. i. h5 ]) a
  1251. mysqlnd.collect_memory_statistics = Off
    ; r4 ?# N- _" x3 u

  1252. 6 Z1 K9 U# L6 }! l4 i$ P* l) I9 q
  1253. ; Records communication from all extensions using mysqlnd to the specified log% u" u: Q" ?* R9 R
  1254. ; file." V. g6 S/ G/ ?- ^6 X* f; p
  1255. ; http://php.net/mysqlnd.debug* ~. a% b6 c1 B  g! \6 }
  1256. ;mysqlnd.debug =
    8 _9 a, g2 @7 n/ S; }' P
  1257. # A% i! Q7 V6 B
  1258. ; Defines which queries will be logged.) R) _/ I+ B2 R. F& |
  1259. ; http://php.net/mysqlnd.log_mask
    + p& D6 O+ z. j3 f
  1260. ;mysqlnd.log_mask = 0
    * g7 @0 U& q2 k; q' J8 n
  1261. + H, o% F1 C7 S8 }6 V" `8 {
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.* Q2 i- z5 m$ [8 y. v( w9 T% g0 |
  1263. ; http://php.net/mysqlnd.mempool_default_size  N, s) |' v- i. B
  1264. ;mysqlnd.mempool_default_size = 16000
    & f  L/ B( e" H8 t

  1265. + ^; D% S; \* R' E) B
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    1 w# @7 Y( @2 h
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ) V7 v/ \* d9 [$ Z. X
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    6 n8 o3 F; P( p3 N2 {* v

  1269. 4 U$ w7 k; \! n- A
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in$ c  m3 k) o- F* V+ ~, v; j5 V
  1271. ; bytes.- I8 u' h3 m& R2 N3 q2 k
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    . h" ]% z9 i& @2 L3 ?
  1273. ;mysqlnd.net_read_buffer_size = 32768$ q7 V9 V: k2 E- q

  1274. 1 v& t6 I0 |  s" H1 f, ^
  1275. ; Timeout for network requests in seconds.
    / R$ L7 S; C- y3 |
  1276. ; http://php.net/mysqlnd.net_read_timeout
    * r1 n/ i9 X7 J: G) ]
  1277. ;mysqlnd.net_read_timeout = 31536000
    * k; O1 c" U8 `% k
  1278. 8 [0 Y. Q( o! P: S  x8 `
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA$ p2 Q8 j8 J3 X+ m: |
  1280. ; key.( p- a  b! M9 ]: M! q3 g) P6 d
  1281. ; http://php.net/mysqlnd.sha256_server_public_key, [# b' T  e8 d* z  q' k
  1282. ;mysqlnd.sha256_server_public_key =
    & n& q7 d0 |8 v/ k
  1283. ) r/ j9 b5 r' @9 Q+ k
  1284. [OCI8]$ J+ |9 o* k; C$ r4 Q
  1285. - o7 f- h! u7 Q# {
  1286. ; Connection: Enables privileged connections using external5 r* F5 ^8 E6 C* K
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    1 G6 o1 g5 X! l( x& r
  1288. ; http://php.net/oci8.privileged-connect
    7 t- ^+ f$ o6 R' e
  1289. ;oci8.privileged_connect = Off  X$ n2 G% |" ~+ o
  1290. 4 j& C" `  ?' q# P
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    8 O' N; G% D: v" l4 t
  1292. ; process. Using -1 means no limit.! }- @0 R, L7 p# z  a) C
  1293. ; http://php.net/oci8.max-persistent3 R% D4 A' `: M; m/ k2 R7 A$ b
  1294. ;oci8.max_persistent = -1
    , f" D9 r8 K  m
  1295. ( H( a) j8 ]8 m: @
  1296. ; Connection: The maximum number of seconds a process is allowed to
    3 g* P: y  U/ a6 q
  1297. ; maintain an idle persistent connection. Using -1 means idle
    $ |/ B4 j/ e" I+ ]7 V0 W
  1298. ; persistent connections will be maintained forever.. }& t, w& `. A  f$ J6 C9 k
  1299. ; http://php.net/oci8.persistent-timeout& Q) k0 \1 l( U$ \9 [
  1300. ;oci8.persistent_timeout = -1* {: Y2 g$ H" O" u: d& J  Z3 p

  1301. 4 w$ w+ ~# z. o( W! M
  1302. ; Connection: The number of seconds that must pass before issuing a8 Y4 ^& s6 ?% s+ |7 s2 R' O! L
  1303. ; ping during oci_pconnect() to check the connection validity. When- \5 ?3 Z  \0 B" B" X
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables7 ?0 A  @0 L" T, R5 O$ ^
  1305. ; pings completely.
    & W3 w. ^6 J7 e1 J! P& Q( i9 x3 W5 @
  1306. ; http://php.net/oci8.ping-interval
    2 b7 n1 K& d) Z5 l9 p4 N& G5 `! ?
  1307. ;oci8.ping_interval = 60* f  S  m- t1 o& l

  1308. " a, j2 p$ r( N, d, s% F
  1309. ; Connection: Set this to a user chosen connection class to be used
    7 R: R) y" K  D7 y
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ) {/ c$ L* }8 o5 V
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to" q6 ]( M) w* P! h5 w
  1312. ; the same string for all web servers running the same application,
    4 i3 k# J9 ?3 ]. E4 F8 {8 e8 p
  1313. ; the database pool must be configured, and the connection string must
    8 V$ T0 W* U7 Z7 z4 D6 M
  1314. ; specify to use a pooled server.
      E: V* x- T( X+ A& H
  1315. ;oci8.connection_class =! D# b* U# J% w9 y

  1316. + N# @# ?+ o5 g  B
  1317. ; High Availability: Using On lets PHP receive Fast Application
    % H/ z. B/ _+ G+ s
  1318. ; Notification (FAN) events generated when a database node fails. The
    7 g, S) t$ R, r8 x( L
  1319. ; database must also be configured to post FAN events.
    * j6 t, ~- }+ o  k1 o2 b1 \
  1320. ;oci8.events = Off
      s& r- l3 n* c# |# M
  1321. 9 x$ x. H: U- Z# W
  1322. ; Tuning: This option enables statement caching, and specifies how
    ( M' V0 J$ [4 D) Y& n# [
  1323. ; many statements to cache. Using 0 disables statement caching.( }5 R7 I4 W! o8 y
  1324. ; http://php.net/oci8.statement-cache-size7 N9 I8 V! v( L. a+ a0 p8 @
  1325. ;oci8.statement_cache_size = 204 {7 B4 T' d4 i+ w, P3 g
  1326. , O" G+ Y* `  k0 V3 t
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    0 I' D2 p- X# m6 v+ j
  1328. ; rows that will be fetched automatically after statement execution.
    ; f! W; t, f( _* @# X9 a
  1329. ; http://php.net/oci8.default-prefetch
    2 |% m! G0 c6 W9 H  o: A
  1330. ;oci8.default_prefetch = 100
    & W6 k: e, e* x) T

  1331. . l' g8 m3 z8 i2 S1 a/ k, L
  1332. ; Compatibility. Using On means oci_close() will not close3 J8 S1 b, |( p' a" c1 Y
  1333. ; oci_connect() and oci_new_connect() connections.
    # j( x, R) F7 M: F* T6 z7 ?
  1334. ; http://php.net/oci8.old-oci-close-semantics: N5 a- C- n3 `) A
  1335. ;oci8.old_oci_close_semantics = Off; j8 z. G9 A# t3 k! y+ }* P
  1336. ( }: }4 ^. d' o, x; e+ f- K* O3 f2 o
  1337. [PostgreSQL]
    3 G5 V; W0 H2 T" \& v6 v* c. D
  1338. ; Allow or prevent persistent links.
    & b$ q/ p; r  i" ?
  1339. ; http://php.net/pgsql.allow-persistent
    3 a9 n5 U3 Q, `" ~
  1340. pgsql.allow_persistent = On! m- u9 h$ C2 |# l

  1341. # q) @( S( Q, p6 d, w
  1342. ; Detect broken persistent links always with pg_pconnect().
    ! P8 N, s+ e: @0 z  V4 R3 I4 R
  1343. ; Auto reset feature requires a little overheads.5 E# Y% F' I4 s- ~" h3 o
  1344. ; http://php.net/pgsql.auto-reset-persistent2 m7 X0 m& `9 \: x- J
  1345. pgsql.auto_reset_persistent = Off4 d$ S6 p( G, R2 Y3 X; i# z0 z* |
  1346. % F( T0 v6 q4 p/ u
  1347. ; Maximum number of persistent links.  -1 means no limit.
    0 X. t: H; L! ]+ B
  1348. ; http://php.net/pgsql.max-persistent
    8 x" F: B% V4 ?, p5 y, |
  1349. pgsql.max_persistent = -1; c; R  }% j4 S& @2 b
  1350. " m7 c+ l( p) y! d4 J4 p
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ) b- N/ [: m" n& l; d1 m/ Y
  1352. ; http://php.net/pgsql.max-links
    # N" M; D1 ?) p) b5 k& x! `
  1353. pgsql.max_links = -1
    % v- @+ K8 X% P& z/ G$ q
  1354. ' D5 M: M9 v6 n2 K; D3 o
  1355. ; Ignore PostgreSQL backends Notice message or not.+ U: ^- t- S* A7 G# [
  1356. ; Notice message logging require a little overheads.
    7 @/ b  u0 Y/ B( D; b
  1357. ; http://php.net/pgsql.ignore-notice/ I. q7 s6 o0 d2 G. M
  1358. pgsql.ignore_notice = 08 H! n4 r, [" e+ n! A" @; v8 F5 g, W

  1359. # o; ?3 D$ Z7 m6 Z
  1360. ; Log PostgreSQL backends Notice message or not.
      V2 O" w9 @7 v/ _; v
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ! S+ N4 b1 O" @% Q( G( p0 \
  1362. ; http://php.net/pgsql.log-notice( L* i- t1 P  V5 Y- @0 o- ~% m8 [
  1363. pgsql.log_notice = 0/ ]& k2 j" ?3 x6 b) f0 P
  1364. / Y% X) c5 `$ C. q' l7 W& c' e/ J
  1365. [Sybase-CT]
    % u( s/ G$ @6 i+ T9 J" w$ T
  1366. ; Allow or prevent persistent links.
    + ^0 D' S% f* s) m
  1367. ; http://php.net/sybct.allow-persistent
    ' G' n0 q; O+ N1 _( c
  1368. sybct.allow_persistent = On( P6 g* }$ k- l" K3 U+ T1 I
  1369. * ]2 h2 y' N6 l7 g9 S
  1370. ; Maximum number of persistent links.  -1 means no limit.# Y3 z" C* A# G4 c$ ?
  1371. ; http://php.net/sybct.max-persistent
    / S/ ^+ z, Q2 ]7 T
  1372. sybct.max_persistent = -1* W0 e& n( C% H/ z( @8 z
  1373. ! M1 C3 r: \' M. ]4 O1 T
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 Z6 q- V- e3 C2 x( s
  1375. ; http://php.net/sybct.max-links1 R: |' n5 U% j& Y  X# D, j2 {/ i" c8 ~
  1376. sybct.max_links = -1. I. X9 W1 _! K+ q

  1377. $ Z  |/ t9 a1 L0 p" O0 F
  1378. ; Minimum server message severity to display., u" a0 i+ N) I* V$ W, y0 Q" ^
  1379. ; http://php.net/sybct.min-server-severity6 e$ C6 F# I. ~# J" x
  1380. sybct.min_server_severity = 10
    / r. u0 N) g. B. M2 ^6 o& @

  1381. 1 j) T( ]: A  `
  1382. ; Minimum client message severity to display.
    + w2 C1 C" G3 k: [! l
  1383. ; http://php.net/sybct.min-client-severity
    $ F! ?5 ?; V3 U& l( Z3 G1 Q/ w
  1384. sybct.min_client_severity = 10
    9 _- U: a* F: K- ?
  1385. . W3 i+ K3 s) @
  1386. ; Set per-context timeout% B' S6 {% x" j; _  ?2 _- l& j
  1387. ; http://php.net/sybct.timeout4 Q1 t9 I8 y; {: g8 d( y8 g6 Q! T$ P
  1388. ;sybct.timeout=
    : l+ h& g. j% V2 I/ d  x
  1389.   F4 L9 Y) L6 t2 V. Q
  1390. ;sybct.packet_size
    2 f. _. t$ j2 k* m0 m

  1391. 3 y/ z! F' a, `$ e
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    + V& e( A$ Q" k' ?
  1393. ; Default: one minute
    6 c$ W0 w6 Q, `
  1394. ;sybct.login_timeout=" a: i, V  v& a" X, B0 ?
  1395. 7 o$ O( F2 `9 _$ u. K: F
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    $ s! g$ j8 @+ V: s. s7 V
  1397. ; Default: none
    9 n3 y! P9 @+ V# D
  1398. ;sybct.hostname=6 V6 y3 M" L! m: n0 e& S
  1399. ! L: Q5 P2 m9 g; a- f2 ^  L
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".& h8 E2 X) `' R
  1401. ; Default: 0( L! i. x' {: ~* o" _0 K: h7 H
  1402. ;sybct.deadlock_retry_count=
    3 S& i5 x/ ]8 X8 ]
  1403. 6 E& f& n7 f$ [1 v& ]& j
  1404. [bcmath]
    ' |0 D% Z" ^+ A' R# @  ]/ n4 u
  1405. ; Number of decimal digits for all bcmath functions.- R5 H2 l% {2 h0 J' U# D0 _9 V
  1406. ; http://php.net/bcmath.scale
    5 W. f3 e  H$ U/ N2 V! c4 d  E
  1407. bcmath.scale = 06 B  |6 t1 R% z) d5 S! w
  1408. $ v( r9 E0 I. E* k
  1409. [browscap]
    8 K1 S$ M1 _, o6 f
  1410. ; http://php.net/browscap
    8 M5 X0 A; Y4 w& N' Q2 B0 D$ C+ W
  1411. ;browscap = extra/browscap.ini4 ], y2 b+ s2 k
  1412. & Y0 s* P( K' K
  1413. [Session]  @) i+ n) `" M- E% i* }1 \
  1414. ; Handler used to store/retrieve data.( q8 `& V$ ?2 F) }" Q, Y* _- [
  1415. ; http://php.net/session.save-handler
    ' A- @$ C: |! P6 s. T! y$ T
  1416. session.save_handler = files
    : F/ V- {0 h( N& i( j

  1417. 7 r6 Z! p! G* a
  1418. ; Argument passed to save_handler.  In the case of files, this is the path, x0 j2 j2 F: `; X' p- x
  1419. ; where data files are stored. Note: Windows users have to change this# s' ~' b! b6 w9 F
  1420. ; variable in order to use PHP's session functions.1 s. `( q4 x! ]! V% n
  1421. ;
    ; D3 @6 `4 C* B/ I; B1 L
  1422. ; The path can be defined as:
    ( ~) q2 _1 W: y2 G/ g2 B
  1423. ;' A( Y$ N) s- K7 \5 N4 y$ K. O6 c
  1424. ;     session.save_path = "N;/path"
    ( n9 |' m3 Z. Y! V: \& x, n2 x
  1425. ;8 U/ T! H1 s  Y' {/ u
  1426. ; where N is an integer.  Instead of storing all the session files in
    # p& k. J& ?' @. J& r
  1427. ; /path, what this will do is use subdirectories N-levels deep, and/ x0 [6 g4 U* t. U( v* e; e1 s
  1428. ; store the session data in those directories.  This is useful if! q4 z' z5 u- ~, ~% j+ j
  1429. ; your OS has problems with many files in one directory, and is
    & k: V& ]4 y% e
  1430. ; a more efficient layout for servers that handle many sessions.
    ; J8 `  B7 X- o
  1431. ;+ ~* {( ~* [6 r/ Z
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    & m/ x% q8 j8 f* V
  1433. ;         You can use the script in the ext/session dir for that purpose.
    " s* b7 z1 W; j- a5 i; B" T+ d
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    3 x! i! Z7 T7 q2 g7 R0 `8 x
  1435. ;         use subdirectories for session storage4 X, U8 B# p: D* D' u; n
  1436. ;
    3 {5 ^$ O. ]9 C$ a) h& j# \; U
  1437. ; The file storage module creates files using mode 600 by default.
    # q# c6 U- i/ A, H
  1438. ; You can change that by using
    ! }. L" z! V: X6 }
  1439. ;
    7 c( v! i7 V: e3 i, m, X
  1440. ;     session.save_path = "N;MODE;/path"2 P6 L3 b1 T* w. C; M
  1441. ;! k; ?( q/ x3 V( q8 l/ c
  1442. ; where MODE is the octal representation of the mode. Note that this# Z* T3 k+ c  r% E
  1443. ; does not overwrite the process's umask.4 x! s1 g6 R) s3 n+ d* ]* g5 L7 L: }
  1444. ; http://php.net/session.save-path* Z. d* ?5 A9 U- z7 |& v
  1445. ;session.save_path = "/tmp"
    0 |9 C+ F# T2 e6 r

  1446. 0 z9 d8 B/ }- U$ @6 P0 i/ B. z. K3 x
  1447. ; Whether to use strict session mode.
    - N" ^2 C+ k0 F  J/ X# I6 p
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    8 ?# @7 ]- |# I' u9 K& a% x
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    9 ?; L1 ~3 g. H
  1450. ; applications from session fixation via session adoption vulnerability. It is  Y# R% r; M8 ^% J. I$ g; c
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    + M' r/ t7 r! h5 e
  1452. ; https://wiki.php.net/rfc/strict_sessions
    4 g; v3 E! C5 k( l: K2 b
  1453. session.use_strict_mode = 0
    : b; T3 C; Z+ Z- A
  1454. / k" Y% b8 X8 @& J, k  j
  1455. ; Whether to use cookies.
    6 K1 E1 M+ r: \0 p
  1456. ; http://php.net/session.use-cookies4 {) t* B* D2 X
  1457. session.use_cookies = 1
    : A' w# ~, w; m$ b& w; D# H  r* W
  1458. , J6 E- m- O$ a4 H
  1459. ; http://php.net/session.cookie-secure
    ) B' \0 f6 ?* L- P
  1460. ;session.cookie_secure =/ r( f# q7 ]$ Z. x/ Q3 C; I9 ?

  1461. 8 o& h8 h7 s$ H- ]* `6 t) F' Z  _
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    0 `( z2 W1 j% C7 k% B! K
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    1 c5 r5 m  v) j) [" @& R1 c3 p
  1464. ; session hijacking when not specifying and managing your own session id. It is+ a' a) |9 t+ Z" {! ~# o
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.' P. H# A; }" _! o6 U
  1466. ; http://php.net/session.use-only-cookies! G1 L* |7 I2 o$ C0 U! U3 K9 b
  1467. session.use_only_cookies = 1
    ! @2 s% M; X/ {: n6 N% I5 m
  1468. ; g' I$ }* `+ j  r
  1469. ; Name of the session (used as cookie name).* C# z( ~# A- A2 m. I- }; b5 h
  1470. ; http://php.net/session.name2 ?9 x6 D" m' u1 s7 l+ W7 Y
  1471. session.name = PHPSESSID
    & p3 t4 o* W+ l9 w" t# o8 S
  1472. + ]1 Q7 ?, x( K" s
  1473. ; Initialize session on request startup.+ m6 F8 P7 G, p; a% O* x7 r* m
  1474. ; http://php.net/session.auto-start
    9 l$ d3 ^3 i0 g/ R
  1475. session.auto_start = 0
    6 p; O4 M5 p" i9 m* a$ J  x

  1476. " C( Q7 p6 O* n$ B) [7 [
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.. S  \$ a4 B. e/ w
  1478. ; http://php.net/session.cookie-lifetime' R) [8 |8 y6 n* L
  1479. session.cookie_lifetime = 03 t: _% ^6 L/ Q  G5 ^5 G

  1480. $ J( |. ?0 ]' u% p
  1481. ; The path for which the cookie is valid.8 ]) t7 D" C9 l: J/ z! b" B: g
  1482. ; http://php.net/session.cookie-path
    1 a& u/ \) q' a6 b- D
  1483. session.cookie_path = /
    ; d% N3 s' g$ |1 \: A/ d- }

  1484. ) q/ C# ^" x) B6 U
  1485. ; The domain for which the cookie is valid.: ?6 K$ H: n. k! N$ k& }
  1486. ; http://php.net/session.cookie-domain6 `- Y) B& |1 |$ x5 M& \+ L7 T
  1487. session.cookie_domain =" d  E% u7 w7 L( P: H
  1488. 9 Q* I& a( k4 C& M" u8 a& k0 P
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ) u+ o# n$ t/ C9 W1 Z; b$ E
  1490. ; http://php.net/session.cookie-httponly9 X! f: D- ^" m, t! C
  1491. session.cookie_httponly =
    ; D$ P) t0 W; ]0 T9 q
  1492. # P% P. O8 |% |# B6 t1 g0 e
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP." F/ v5 {5 ~+ l' y+ L! b9 o2 W" D
  1494. ; http://php.net/session.serialize-handler8 i+ ^/ X- t( I- K( H" h+ r
  1495. session.serialize_handler = php
    7 p) Z; c0 b9 O/ J7 j
  1496. 8 y) y) G( ^2 u! k4 i
  1497. ; Defines the probability that the 'garbage collection' process is started
    % t. R2 h1 F, i# o2 _/ l; S
  1498. ; on every session initialization. The probability is calculated by using# W, M. X2 }* Z( |
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ( w( \' }6 R; ]
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    : E6 }9 |" s5 c4 n' I/ h
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 e( h: Q2 ?1 L' b" W* k- m
  1502. ; the gc will run on any give request.$ ], M8 m8 m" N
  1503. ; Default Value: 11 \% o- S# H& V) z/ S% l- ?0 N5 c
  1504. ; Development Value: 1
    $ {7 G7 P( o; B$ P
  1505. ; Production Value: 1
    , N$ o& p  z# `5 V% D/ j" ^
  1506. ; http://php.net/session.gc-probability
    # ?6 X# P2 j0 `! e: i6 a6 P2 l
  1507. session.gc_probability = 13 W" n, t& j+ o2 p8 Q5 }( r
  1508. 1 V- x2 _6 X0 s' p+ v$ Q: v  ~
  1509. ; Defines the probability that the 'garbage collection' process is started on every6 y; U; |  B! E
  1510. ; session initialization. The probability is calculated by using the following equation:
    $ ?* i: d8 F; t$ Q# I
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and* Y7 {/ t! i4 u3 Q
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1: O7 T) E+ [& Z
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 k) B2 g* r0 i: s
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you: z7 X6 P, E3 |  }& S1 u
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    - H! }5 L) H' v
  1516. ; this is a more efficient approach.0 Q' C: R2 U' Z; }( b8 X+ Q$ p
  1517. ; Default Value: 100' O& h4 d: R8 r8 y+ e0 ?. _, e
  1518. ; Development Value: 1000
    . M$ K3 G' m$ x; \7 I3 ~2 [; w
  1519. ; Production Value: 1000
    : O: W/ `8 Q: d' L
  1520. ; http://php.net/session.gc-divisor0 @2 z( b4 B1 @6 ?! t1 s) z
  1521. session.gc_divisor = 1000
    " o7 j3 C0 D( V8 Z8 _
  1522. ' n3 Z- f. o6 v, C0 d/ Y
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and% h) N7 J8 M8 y" L: l  r
  1524. ; cleaned up by the garbage collection process." I% U6 ?0 l/ |2 w  Q
  1525. ; http://php.net/session.gc-maxlifetime9 Z, C# ^  [* p3 V$ [
  1526. session.gc_maxlifetime = 14406 u  ^" ~) @5 c+ A
  1527. $ x" F, B. _- E5 P* \' P3 r6 c) h
  1528. ; NOTE: If you are using the subdirectory option for storing session files* U0 r% @7 f0 c$ n( d% O
  1529. ;       (see session.save_path above), then garbage collection does *not*1 {' ~" v3 x% U8 A7 j) Y5 P# ]
  1530. ;       happen automatically.  You will need to do your own garbage
    ! E5 }; |. c9 V* T( K1 d
  1531. ;       collection through a shell script, cron entry, or some other method.
    ! P. C1 Y% R& p5 ?: ^+ M; I3 m% u* x
  1532. ;       For example, the following script would is the equivalent of9 L6 j) j0 e& _) s6 U; ?! Y. f0 }
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    8 {/ S8 y8 F* i! Z7 @" k) m: P
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm! ]. }4 j3 I, _
  1535. ) x4 Z7 q- N( t. j8 j
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.: V( ^8 D8 ^7 S' ~
  1537. ; HTTP_REFERER has to contain this substring for the session to be- w2 j3 e- b1 v! ]1 K2 v. u
  1538. ; considered as valid.
    ) {2 B6 {, n: Q. Y; k# \
  1539. ; http://php.net/session.referer-check
    8 D' U( t, p1 t- \9 A+ w6 e
  1540. session.referer_check =2 C4 u+ k; J. _8 S5 F% @( {

  1541. ) i# F/ E. q% `: P( `8 A
  1542. ; How many bytes to read from the file.. d* \6 N# O/ a1 N2 L0 L
  1543. ; http://php.net/session.entropy-length
    ! i) P' _( ~6 w2 x+ X
  1544. ;session.entropy_length = 32) L6 I3 V% w) ]& F' D% X; H; y
  1545. ! C6 f9 X. o, \: S4 n; H! ^
  1546. ; Specified here to create the session id.6 O7 P+ O- f& Q2 x: v3 n
  1547. ; http://php.net/session.entropy-file
    % y% `* d7 p! ^5 a% K6 {' H4 o, C
  1548. ; Defaults to /dev/urandom
    * l7 e  W' r/ g. y+ ^' }
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    + F5 A2 E7 r5 f* Y, W( \1 }
  1550. ; If neither are found at compile time, the default is no entropy file.
    / f1 o, |0 X  d) s( ^9 g& n8 x: C
  1551. ; On windows, setting the entropy_length setting will activate the
    6 _/ ^  J2 \: _% W
  1552. ; Windows random source (using the CryptoAPI)5 n2 }# ^9 d7 W/ t
  1553. ;session.entropy_file = /dev/urandom" H: F* j# c2 p3 a7 l% a
  1554. + Q- b4 g9 G! y6 _6 c, A+ y7 Y
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    / [9 A. |6 W( P+ s
  1556. ; or leave this empty to avoid sending anti-caching headers.
    3 ?6 U- K8 V* A  j  o) p. J* P
  1557. ; http://php.net/session.cache-limiter
    2 m) m" H  c0 n$ S# s, P. B
  1558. session.cache_limiter = nocache+ G9 n% n. V; i* t- T0 m

  1559. ! e" C8 N) }. B  ]
  1560. ; Document expires after n minutes.& i! _( D7 q! T& O3 _) o4 |8 ]
  1561. ; http://php.net/session.cache-expire
    7 s+ f0 y7 j/ \, Y5 l
  1562. session.cache_expire = 180
    # f: }$ C% ~/ Q+ v' I4 W! o
  1563. 6 d) z/ Q+ @2 D' H' W7 D; S
  1564. ; trans sid support is disabled by default.
    $ s& L; G- ?1 B3 r# a
  1565. ; Use of trans sid may risk your users' security.! b* b$ h7 y) X/ n3 i' B3 H
  1566. ; Use this option with caution.; [1 E0 F( F+ x7 k6 J7 q
  1567. ; - User may send URL contains active session ID
    8 p$ L) K! f1 P
  1568. ;   to other person via. email/irc/etc.
    : e8 `  @- }7 I. x( Y) C
  1569. ; - URL that contains active session ID may be stored
    $ H9 A" a, x! O) x& P
  1570. ;   in publicly accessible computer.
    " m& g0 O3 U+ X- i7 W0 H+ l  A0 E
  1571. ; - User may access your site with the same session ID
    # d) P- g" Y/ t7 }0 w+ N# J
  1572. ;   always using URL stored in browser's history or bookmarks.
    ( L8 F( r- b( r* G! t; G
  1573. ; http://php.net/session.use-trans-sid
    + k2 r, m, o: h& p& A
  1574. session.use_trans_sid = 0
    ! r7 K9 L1 [# R" _0 E

  1575. ( y3 ^1 N$ F+ v& i# w
  1576. ; Select a hash function for use in generating session ids.
    % i& g. Z' t6 P% ?
  1577. ; Possible Values/ b  N% P+ c0 v, s' H/ Z) {
  1578. ;   0  (MD5 128 bits): \% T& h2 }1 }2 @
  1579. ;   1  (SHA-1 160 bits)! i) E( [7 i7 |6 g9 w$ _
  1580. ; This option may also be set to the name of any hash function supported by) ]8 D9 D  S7 Z) w$ d/ a8 h) M2 z: x
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    . f4 u: d! a2 P* m0 N
  1582. ; function.5 V1 l' G" M+ [1 W
  1583. ; http://php.net/session.hash-function5 d$ v8 U4 R8 c. D: ^3 P' `
  1584. session.hash_function = 0
    $ N7 @7 X! R7 Z) e: U0 G
  1585. 1 D  e/ a1 ?- y9 ?! Z
  1586. ; Define how many bits are stored in each character when converting/ _5 Q( Z1 `; r- a  T
  1587. ; the binary hash data to something readable.
    - q9 \- U% M5 L6 ~1 `
  1588. ; Possible values:8 z* y) D& E5 {0 V( `, w1 N
  1589. ;   4  (4 bits: 0-9, a-f)
    " {/ ?: ^& L% r4 i* t" }
  1590. ;   5  (5 bits: 0-9, a-v)
    0 Z* F$ E* k7 T8 e) c8 ]# {4 X, X
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")3 q* \: z2 i, P
  1592. ; Default Value: 41 E0 K$ K) o, Q% Y
  1593. ; Development Value: 5
    7 a* f7 s' j( Z/ c
  1594. ; Production Value: 5% L1 I; ?% p1 F1 P
  1595. ; http://php.net/session.hash-bits-per-character9 U" W3 ?7 _$ ?) v3 _% E
  1596. session.hash_bits_per_character = 5+ F* J& t9 U5 w; H+ K
  1597. % ~5 W* z8 e2 w# g( l
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    , ^& D4 y! s# Y6 C
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ! f: O; }8 @  H! r( v
  1600. ; add a hidden <input> field with the info which is otherwise appended$ }  A9 Q, z" E, ?7 T9 w
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    5 V/ l& R) v: u) ^/ G
  1602. ; Note that all valid entries require a "=", even if no value follows.9 w) }* k/ o) f
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=", j! A8 H( A7 j6 X) R% Z
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 H, U+ r/ g' m, M
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 }$ [6 B" |5 P% B, R+ |8 L" {7 u! h7 B
  1606. ; http://php.net/url-rewriter.tags
    ! ^5 [, F3 a: u  Z1 |- Z8 U
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"9 V1 _4 W; s4 s1 \  w, |
  1608. . H& d. ~( J  x( @
  1609. ; Enable upload progress tracking in $_SESSION" i4 }9 m' P$ }2 b- v3 w8 a
  1610. ; Default Value: On0 q, }6 J8 H  w, u
  1611. ; Development Value: On
    5 l0 _  u3 |% ]9 ]5 }
  1612. ; Production Value: On* g+ N: k. t( Y
  1613. ; http://php.net/session.upload-progress.enabled
    1 A2 ?4 ?& g( t
  1614. ;session.upload_progress.enabled = On
    # S3 \8 @6 |, K& y% o
  1615. , y# v" Y& f& `5 T& g5 E: q! T
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ) H, t+ p4 m9 @% c
  1617. ; (i.e. upload completed).
    4 @* u- k; Q* k7 L
  1618. ; Default Value: On
    3 O7 \! X) b0 u& @" [. W% a
  1619. ; Development Value: On  C$ g, P2 J$ s3 O
  1620. ; Production Value: On
    7 I- ^2 k% l+ A. F# e% C# D' n# I
  1621. ; http://php.net/session.upload-progress.cleanup2 ?; }1 h4 C+ f/ [8 N
  1622. ;session.upload_progress.cleanup = On* z% q1 T# O3 S
  1623. 1 g2 y" ^2 B5 r" Z
  1624. ; A prefix used for the upload progress key in $_SESSION
    6 r. u% a6 @+ \" J
  1625. ; Default Value: "upload_progress_"
    ) [" a+ A% D5 U3 @4 f' G
  1626. ; Development Value: "upload_progress_"
    , ^, B2 h. c( L
  1627. ; Production Value: "upload_progress_"
    1 s) _/ U, ~+ N. b% b4 z5 q
  1628. ; http://php.net/session.upload-progress.prefix, a7 H' W( {$ V4 P+ e. Q
  1629. ;session.upload_progress.prefix = "upload_progress_"& k0 ^. G- H) u# b

  1630. " ~9 D7 Z1 z6 L; @$ F
  1631. ; The index name (concatenated with the prefix) in $_SESSION1 ], p# D& R% A1 \1 c
  1632. ; containing the upload progress information* p( g8 j) S* @% ]
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 r, f( t# X" |( N* N! \
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 z; ]9 p( Y' k/ U; b, t6 g
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"' t1 D7 X. ~  B0 }# c; t0 c
  1636. ; http://php.net/session.upload-progress.name% B. S8 e: Y4 N' B3 n6 P: a  \
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    # s" I3 ?) ?9 F8 U+ K, W1 U* k

  1638. 2 \0 t( l( V( m3 W2 g1 X3 l# R
  1639. ; How frequently the upload progress should be updated.
    - Y# h/ ?$ ^% \& l, w
  1640. ; Given either in percentages (per-file), or in bytes
    3 E9 D( y: x6 y( q  {
  1641. ; Default Value: "1%"
    % t: _0 ~3 ^0 T+ T$ C0 ^' W
  1642. ; Development Value: "1%"
    8 _- d$ _9 N$ t# u
  1643. ; Production Value: "1%"
    ( Q' r$ p. W9 |% e) i& V
  1644. ; http://php.net/session.upload-progress.freq. F& F& _2 H2 F/ M" }$ S
  1645. ;session.upload_progress.freq =  "1%"& C7 G' ^2 @, n3 K: y# B9 U  q$ Y0 H
  1646. $ M/ H+ D& Q# m" H
  1647. ; The minimum delay between updates, in seconds8 n9 w5 Y8 n. ?
  1648. ; Default Value: 1
    1 d' `* [$ L" H" ~
  1649. ; Development Value: 16 o; U  J1 ?* z: }' c4 ]% ^
  1650. ; Production Value: 1/ ~; `& P0 [& H0 h' y5 i  V: q
  1651. ; http://php.net/session.upload-progress.min-freq/ w6 }( [, o4 i
  1652. ;session.upload_progress.min_freq = "1", r) Q& ?' x7 _3 y
  1653. 7 V; W  [: m1 k2 a& r' o
  1654. [MSSQL]) \/ n4 E7 R. E; D
  1655. ; Allow or prevent persistent links./ Y5 ]7 w* v* F
  1656. mssql.allow_persistent = On
    7 K3 c) U1 w$ S; ~! C+ L: ~

  1657. % k6 O3 E6 U) ?& h5 H
  1658. ; Maximum number of persistent links.  -1 means no limit.6 x' T# Q2 ?, g& x" Z4 K8 ~
  1659. mssql.max_persistent = -1
    9 r$ h( ~. S& t# x9 u
  1660. 7 F& _4 `! l- }* V# x5 T
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    - |8 |( v3 G, x. b! N& y1 c4 d
  1662. mssql.max_links = -1
    - J  U* Z- R$ ?# ?0 E

  1663. 1 Q4 k# b& Q6 v2 B8 S) C9 O: m
  1664. ; Minimum error severity to display./ n- f( H$ g; A3 O" S1 K) x; J" H
  1665. mssql.min_error_severity = 10
    $ l& P8 [, C- }5 u
  1666. 9 u. J$ F5 ~. x7 g
  1667. ; Minimum message severity to display.
    ! I6 t: G' ~8 @) r+ z, N  f" ]2 D: t  D% U
  1668. mssql.min_message_severity = 10/ a' R- n3 U9 l, r7 {( U6 x% k6 Z
  1669. ; P! R! s( B6 j1 y8 T5 l' r
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ) v( j" f( C4 p0 x8 P$ M
  1671. mssql.compatibility_mode = Off1 o0 u8 I- P0 e4 ~/ l2 C5 Q
  1672. : `) u" F+ e' |  a- k+ f8 ?$ a
  1673. ; Connect timeout  q  P, u5 H$ R9 b. E
  1674. ;mssql.connect_timeout = 5! E+ t5 z$ Y3 t0 n* ]
  1675. ; d/ i0 a* j" ~# u: M
  1676. ; Query timeout
    % w, |  \+ i2 {: y  h% i
  1677. ;mssql.timeout = 60
    7 X. i; W; I" j. W8 ^

  1678. 0 q1 [0 z2 m8 q6 D& o1 R! m9 B
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    , Y! g/ H, _5 ^7 ?
  1680. ;mssql.textlimit = 4096
    ! T% Q2 B" t  g* P+ {6 d, J0 j) T

  1681.   [7 d' g- d; f; j7 G  @( G
  1682. ; Valid range 0 - 2147483647.  Default = 4096./ _' }' ^8 r3 y& ]
  1683. ;mssql.textsize = 4096$ o1 x8 I: K5 K& n- `) E! s

  1684. - H9 ]3 @0 t6 ^* B
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    . ~  q1 L4 H5 y
  1686. ;mssql.batchsize = 0$ Q6 V. K1 x' k

  1687. : \$ Q, L7 h: w' _
  1688. ; Specify how datetime and datetim4 columns are returned% y( z7 O* T5 G* i: P
  1689. ; On => Returns data converted to SQL server settings" a7 Y9 Q$ G$ l) }* @, t* U
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    / _0 m7 ?1 Y- T, `# e" ]7 `; o
  1691. ;mssql.datetimeconvert = On
    ! _" L! n9 h3 R+ t5 ?8 P
  1692. 1 w, i7 e6 {+ o% a/ X1 J3 t% C
  1693. ; Use NT authentication when connecting to the server7 v6 A6 K3 ]) s) X& z
  1694. mssql.secure_connection = Off- U7 F" D* l$ d; a4 m7 `
  1695. ( J% W  X" Y: M
  1696. ; Specify max number of processes. -1 = library default/ H, F# Y4 d) J: ~: j- G- s
  1697. ; msdlib defaults to 25
    2 l% o% R" Q) D, ^) y2 Y5 H# H
  1698. ; FreeTDS defaults to 40964 Y$ k# s0 J* v& W! ?
  1699. ;mssql.max_procs = -1
    / @" K4 H6 C& O: k

  1700. ( V2 S8 S0 M' F, I3 D) i
  1701. ; Specify client character set.
    ; u' E+ b& q1 i2 J9 @9 ?
  1702. ; If empty or not set the client charset from freetds.conf is used* p6 r( {/ G+ x8 G3 K& a
  1703. ; This is only used when compiled with FreeTDS- K0 N% a# ]) ]6 \+ S
  1704. ;mssql.charset = "ISO-8859-1"2 R4 O; a: L# b# H
  1705. & j$ V& R, D! F3 Y; {2 u; w6 y
  1706. [Assertion]" s( w5 f# l5 N2 b, A6 f) H3 C
  1707. ; Assert(expr); active by default.. |9 g, ]2 Z8 s& j3 \# L
  1708. ; http://php.net/assert.active
    / N1 L" U' m5 X' s# p- k! k+ i
  1709. ;assert.active = On, O- X  o8 U/ u3 }

  1710. 1 g7 X  A- ?# v+ a# e. f
  1711. ; Issue a PHP warning for each failed assertion./ i! B0 _; i' p: W" o5 [9 e
  1712. ; http://php.net/assert.warning
    $ G# ?) N9 M) M. g) b- W
  1713. ;assert.warning = On
    , U5 r$ p! ?2 }8 a

  1714. * o" X+ l/ b1 `  F, L
  1715. ; Don't bail out by default.9 k+ Z% R/ F, J. J7 e8 f
  1716. ; http://php.net/assert.bail3 N7 n; O4 a+ I& S  B. P+ ^2 w
  1717. ;assert.bail = Off
    % ~0 T' j  |# V7 W& u" }8 y
  1718. # V0 G0 G# }0 h9 g
  1719. ; User-function to be called if an assertion fails., ?* f2 P; ]: B8 N! {, ^8 ^
  1720. ; http://php.net/assert.callback/ k: \$ f3 L' d
  1721. ;assert.callback = 0
    " k6 Z7 ^9 v5 @8 l7 q/ u2 ?: P
  1722. ! w5 y5 q4 t0 f) W% B
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    4 n0 x( s" E( @1 v! p5 y( T
  1724. ; error_reporting(0) around the eval().# g! }6 C: g7 i0 k; q
  1725. ; http://php.net/assert.quiet-eval
    ( |6 O9 r( t7 J, W! P
  1726. ;assert.quiet_eval = 0$ E, P  N+ i0 o8 N

  1727. * j& |+ {1 \6 x4 w- J8 Q" B
  1728. [COM]; s& E9 j  k5 Z& y+ o4 _! o! e
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs. L7 x7 @( P4 O1 g/ m
  1730. ; http://php.net/com.typelib-file
    + ?% C! t" d4 T
  1731. ;com.typelib_file =  j4 T$ ~+ D1 @, C9 X# R- S9 ~! S

  1732. 6 F* l4 V0 q: p5 b. g
  1733. ; allow Distributed-COM calls: j0 s9 o2 l* }( V9 J
  1734. ; http://php.net/com.allow-dcom2 [2 L- O* z! a( Z8 p( g5 X
  1735. ;com.allow_dcom = true0 \, U9 t: o5 \

  1736. " u! [( c' x' c
  1737. ; autoregister constants of a components typlib on com_load()
    : m! D9 o3 u/ X: q4 q
  1738. ; http://php.net/com.autoregister-typelib
    2 e: s& R$ U3 w6 p$ Z6 j$ n
  1739. ;com.autoregister_typelib = true  O) N# Z1 c+ |7 E, e$ C& A. ~
  1740. , G; B" p3 C( M
  1741. ; register constants casesensitive
    1 W4 z) O$ J* S3 j; L
  1742. ; http://php.net/com.autoregister-casesensitive
    5 ~4 _" y+ U8 G3 @" t4 ~3 f0 L
  1743. ;com.autoregister_casesensitive = false, [- C6 b. J5 H6 V5 v4 _+ H% Q+ R
  1744. / R1 o& q- J9 w( p6 A8 X& F" ~
  1745. ; show warnings on duplicate constant registrations
    ; `8 V- P' d$ {; ~
  1746. ; http://php.net/com.autoregister-verbose! _$ d( W: }2 ~2 Z7 m' W
  1747. ;com.autoregister_verbose = true
    0 \( T# o# Q1 }& X4 S+ O3 S, i) z
  1748. 2 X/ d% O3 `3 {
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ; W/ ~) r- k/ P# z& X) D% F
  1750. ; Default: system ANSI code page
      o0 _7 B- y/ ]- Y: v+ }
  1751. ;com.code_page=
    4 o! q3 U$ b) I3 r$ Z# D

  1752. ( G! ?6 {. t: `, y* h! }
  1753. [mbstring]
    ! V! n! {- i9 c1 b
  1754. ; language for internal character representation.
    ; L/ j' z) \; [! |7 F
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    5 o8 ~# I9 c9 D% O
  1756. ; http://php.net/mbstring.language# c# y( F/ e6 a8 s
  1757. ;mbstring.language = Japanese
    ; d" @! y. l3 X" X" z9 _

  1758. / c, d$ B  q7 s
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.3 f% p) e: C+ C, N/ q- S
  1760. ; internal/script encoding.
    # }1 U! b# h7 z0 k# Z; d# [
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    + n6 Z# f+ o# t' q  q/ o& y( W9 q
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.' y: b' k0 B- k  a6 K8 w) j8 I' q
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , G( p2 \* d$ S5 K0 L' j- D1 t
  1764. ;mbstring.internal_encoding =
      h0 ]+ Z" U. d! U- ~9 Y2 q/ C7 X

  1765. + [& d, _  _8 u$ e! g3 t
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    7 _, E& \! c2 W; M
  1767. ; http input encoding.
    ' N3 \+ J" C' e
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.6 Z+ W7 D  U% p$ ~3 f$ e9 I
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    & X" Y; [$ I+ ?6 v& W9 `# [- [
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input% G! ]/ U5 q+ R; u0 D" n, x% S
  1771. ; http://php.net/mbstring.http-input
    2 g- }: I/ E, N& c' X7 w
  1772. ;mbstring.http_input =9 O& m) A9 ^; `9 I; A& y. \( O
  1773. 5 c$ t# A6 y3 y; u2 K
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.( o$ ~( q7 o- C  N# Z0 P$ g
  1775. ; http output encoding.1 {7 \4 h5 X3 v; c8 O! U
  1776. ; mb_output_handler must be registered as output buffer to function.
    # [1 \. p, Z. j' X+ r: u' o
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.* N$ N+ v) P3 n7 m
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output; m( n) {3 P2 h) o$ h& Y; h
  1779. ; To use an output encoding conversion, mbstring's output handler must be set& A  p2 N2 L6 G# [
  1780. ; otherwise output encoding conversion cannot be performed.
    . P, J* _7 [; G/ J
  1781. ; http://php.net/mbstring.http-output
    1 ^! U+ u) p, ~. u* V
  1782. ;mbstring.http_output =
    6 i+ g$ ^! y# n3 j1 J. @8 Y

  1783. 7 a& d! z% n& L8 x' C
  1784. ; enable automatic encoding translation according to
    $ V+ [) l% Q6 Z1 m4 M( F8 ^
  1785. ; mbstring.internal_encoding setting. Input chars are9 x/ g, _# C9 o
  1786. ; converted to internal encoding by setting this to On.
    8 w( x' w% }7 @. H
  1787. ; Note: Do _not_ use automatic encoding translation for
    0 T& \3 Y1 E# C5 }! U6 }! I
  1788. ;       portable libs/applications.
      Z+ P9 H9 f; p& g2 }( i
  1789. ; http://php.net/mbstring.encoding-translation
    6 @0 t9 O7 c. f; H' R7 i
  1790. ;mbstring.encoding_translation = Off7 ]3 B4 s$ |/ A: W, l& ?
  1791. / ^; v& `, V% ~: q, n
  1792. ; automatic encoding detection order.% W8 J- k# ?5 Z2 |/ V
  1793. ; "auto" detect order is changed according to mbstring.language
      S( i% a1 _4 s* B2 b6 _5 O
  1794. ; http://php.net/mbstring.detect-order! M& S) w: N9 I7 F8 ~; w- H
  1795. ;mbstring.detect_order = auto
    # c# O$ b8 O% u
  1796. * m0 [$ w+ q) c8 `7 K0 I1 u2 z" I
  1797. ; substitute_character used when character cannot be converted
    + F6 J- _% C6 u
  1798. ; one from another
    , q: R% Z3 C" b7 U0 U* s
  1799. ; http://php.net/mbstring.substitute-character/ j* l3 Z2 `* ]/ @
  1800. ;mbstring.substitute_character = none
    9 K' G6 w6 q# {2 t; x
  1801. 7 E: l7 Q. r2 v& S1 e5 J
  1802. ; overload(replace) single byte functions by mbstring functions.# {3 Q1 S+ T0 o8 N, U3 `5 J
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 [9 I3 G4 R+ s) W+ w5 z
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    9 `  \% o" d: _( M
  1805. ; For example, 7 for overload everything.
    9 B) a: z, |! v  \5 o& }9 |
  1806. ; 0: No overload: J2 F0 _1 y6 c
  1807. ; 1: Overload mail() function1 G  Z5 M3 h9 g3 S8 E% a) w
  1808. ; 2: Overload str*() functions
    3 ]1 l' I4 }+ G5 `% q6 o% N9 N
  1809. ; 4: Overload ereg*() functions
    3 e8 d0 e% P2 ?1 T; k0 C
  1810. ; http://php.net/mbstring.func-overload' D0 C; f4 p" J( N
  1811. ;mbstring.func_overload = 0
    2 g: T) m* F& F: `/ W8 @
  1812. 2 A3 Q1 f5 E; p6 m6 e
  1813. ; enable strict encoding detection.
    2 p% L& R2 ~8 V) ~& G8 w) S
  1814. ; Default: Off
    9 x+ L* Z1 F, v0 ^
  1815. ;mbstring.strict_detection = On3 [# m: [; x+ ~8 t% Q

  1816. 0 ?6 p. h/ [1 O6 s- {
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    % j  d. G/ u2 C. D  g
  1818. ; is activated.3 l, i9 K9 E2 Y; i4 N* a9 ?- e
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)  E. ?. i- W5 k3 K8 x% }+ H
  1820. ;mbstring.http_output_conv_mimetype=! [; [, P; W$ D+ a- B
  1821. 1 _# h2 x- L& x' }: a9 [6 Z
  1822. [gd]
    " W7 A& t6 J5 M/ V2 V' }
  1823. ; Tell the jpeg decode to ignore warnings and try to create' x( W& K* X3 G" S
  1824. ; a gd image. The warning will then be displayed as notices
    2 v7 k9 l, }; \; \
  1825. ; disabled by default4 e0 b. K/ R0 a. c
  1826. ; http://php.net/gd.jpeg-ignore-warning
    / h& U9 c8 G" P
  1827. ;gd.jpeg_ignore_warning = 0
    3 D8 q4 ?. f/ f; F. |- P! Y
  1828. 2 _3 y% {, w9 ?9 y0 Z
  1829. [exif]3 s3 F6 f+ D- f' Q
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.$ P( c1 d! M% F/ S; G2 k
  1831. ; With mbstring support this will automatically be converted into the encoding) R; N7 h, e! T& n; P( Y
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding. P( e/ P$ I5 x. u6 o1 i  m. ~& N
  1833. ; is used. For the decode settings you can distinguish between motorola and4 m, G  U  w* g. i1 G: a
  1834. ; intel byte order. A decode setting cannot be empty.
    5 O6 H5 e' J, }7 `0 b+ t
  1835. ; http://php.net/exif.encode-unicode
    " v( p( F$ S0 ^" ~; ~9 K
  1836. ;exif.encode_unicode = ISO-8859-15, H8 i! _0 F" y* i
  1837.   J, `& G  u1 \
  1838. ; http://php.net/exif.decode-unicode-motorola
    8 W; N& u" U, Y- z' b) |' }
  1839. ;exif.decode_unicode_motorola = UCS-2BE* i8 b0 G. S) x4 v/ U' u9 v

  1840. " ]' J1 k/ ]- E% {- }) h
  1841. ; http://php.net/exif.decode-unicode-intel/ d: r  m' B2 m0 K0 p9 ^
  1842. ;exif.decode_unicode_intel    = UCS-2LE. i$ U% S; R9 Q7 o3 U9 }8 h

  1843. ) E" ]( Q' o. f7 D
  1844. ; http://php.net/exif.encode-jis- y# T3 l( {9 t6 T! |. f
  1845. ;exif.encode_jis =
    5 ]* y4 m. K% c1 \9 @4 A3 y

  1846. % t/ s1 q& d" ]) N  I' {5 I, j: [
  1847. ; http://php.net/exif.decode-jis-motorola& T6 q6 P3 ^1 k4 m- l  ~$ x3 j
  1848. ;exif.decode_jis_motorola = JIS
    ' f! ]( W) l( i+ q

  1849. . p* x7 [4 L+ t7 H
  1850. ; http://php.net/exif.decode-jis-intel, j9 C  O- T$ G0 y
  1851. ;exif.decode_jis_intel    = JIS& u0 X5 P. e3 C1 Q) o

  1852. ; |. Z6 Y1 i8 A+ B* s' s7 t8 _/ Z
  1853. [Tidy]  c3 C  p1 r/ z7 _" z6 B
  1854. ; The path to a default tidy configuration file to use when using tidy, L! j; |2 n% t+ G) @: a4 U
  1855. ; http://php.net/tidy.default-config6 \- f9 D+ s/ j" Y0 c
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    5 N7 _+ b0 l5 l+ O7 r. G9 b

  1857. + k, i+ }4 T5 r/ D( ]7 h3 R/ ]: |
  1858. ; Should tidy clean and repair output automatically?) D+ T4 O& k9 s2 ?7 F) f
  1859. ; WARNING: Do not use this option if you are generating non-html content
    . D4 U. Q2 L$ W0 H' }
  1860. ; such as dynamic images
    ' J7 N3 w. h2 |+ c. K
  1861. ; http://php.net/tidy.clean-output" ?# x- [" ?6 W5 U. M) x- ~5 F
  1862. tidy.clean_output = Off0 c) s& _3 _2 D# d% k9 e3 R, ~# N

  1863. ( l6 p! ^9 X8 q# S
  1864. [soap]7 B# F" |% N% x# Z0 n3 R, B# f
  1865. ; Enables or disables WSDL caching feature.
    2 \+ ?% Z  U( _' U
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ; U- g: V& H$ g
  1867. soap.wsdl_cache_enabled=1- e' u3 u* }( x7 |( N% [( y; g' W8 U

  1868. 1 f" U% A$ Y1 @& w
  1869. ; Sets the directory name where SOAP extension will put cache files.
    + e' Z+ C8 G8 G5 O
  1870. ; http://php.net/soap.wsdl-cache-dir
    , E& t1 v5 a7 F: |
  1871. soap.wsdl_cache_dir="/tmp"! I6 ^. W( r5 Y& m) [0 W( z
  1872. ; l( H, E7 a7 Q, C% }
  1873. ; (time to live) Sets the number of second while cached file will be used1 t3 {) ]  x, i( U6 C4 t" Y/ `
  1874. ; instead of original one.; T* k) A6 z1 X' o" o
  1875. ; http://php.net/soap.wsdl-cache-ttl8 v" m. Y5 g: r( g
  1876. soap.wsdl_cache_ttl=86400
    ) c+ e, ]3 T) I4 _  i
  1877. ) w0 M5 I3 o7 U9 P5 B2 m0 Q
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ! f7 K3 i4 Q; E1 b: v! W# V9 w& @3 X
  1879. soap.wsdl_cache_limit = 5' C+ Z% L* \$ J& K! \! w+ M
  1880. % F- g. u6 j- T/ w3 \& a6 x6 u
  1881. [sysvshm]
    2 O! A. C5 ~$ [5 J: X
  1882. ; A default size of the shared memory segment! q! ]: y. }9 R, ?; `2 }  m) J$ J
  1883. ;sysvshm.init_mem = 10000
    ( a0 t  E3 O" h- j
  1884. 6 w" p! M7 e6 U. }3 x' D8 Z8 ^
  1885. [ldap]9 [( @- @; o" a& u: V0 c9 H4 h
  1886. ; Sets the maximum number of open links or -1 for unlimited.; T  Q- R; p% ~! H
  1887. ldap.max_links = -1
    & R- Y4 |6 `4 G. H2 O# l8 d

  1888. ! W$ v2 S* B. T$ E7 d- f
  1889. [mcrypt]
    " p5 ?9 ~- w( i" A. G6 Y
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open1 ~0 Z8 n9 S7 m6 y

  1891. 3 z. {0 W6 i7 _0 @9 v
  1892. ; Directory where to load mcrypt algorithms
    7 S  K& F' F2 l% h! z( V" B
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)# I1 c3 o  k8 h" ]: R+ \# e. b5 f
  1894. ;mcrypt.algorithms_dir=5 ]" B. e5 R5 n0 m6 Y
  1895. ) o8 Q% _# N$ l, Z  o% R
  1896. ; Directory where to load mcrypt modes
    # Z- n" j# C2 d; K2 C
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* n9 U$ D; K- _0 y/ Y- H
  1898. ;mcrypt.modes_dir=' r2 r" k6 F& `! j* ~

  1899. 4 O9 h# g' a& [- T- B5 p3 f
  1900. [dba]
    + g$ U, a& _. Q$ R% P, E0 L
  1901. ;dba.default_handler=& n1 \' X# }2 L. _% K$ @

  1902. $ L( K  i& t6 u5 f0 Q1 o
  1903. [opcache]1 E0 t, q: Z# T
  1904. ; Determines if Zend OPCache is enabled
    , N) Y7 f' R9 k9 L! q+ Q
  1905. ;opcache.enable=0
    0 e: l, r6 Q' n# A. O& n
  1906. ( Y  i' w2 x2 Q+ ^
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP; S, r0 S6 Y7 h( }0 W# y
  1908. ;opcache.enable_cli=0
    1 r  b  m  l0 @: z

  1909. ; |. `7 u, t' D$ @5 N+ b. a
  1910. ; The OPcache shared memory storage size.
    0 l) e4 [! _8 A. L" P) Z7 p1 k: A
  1911. ;opcache.memory_consumption=64" Q. E# B* |- G& Q. ], Y3 _
  1912. 2 t5 T' U: m6 T0 s0 x
  1913. ; The amount of memory for interned strings in Mbytes.
    * c" n2 D% l. r0 v% H. x8 X
  1914. ;opcache.interned_strings_buffer=4
    5 x( ~+ t2 Q1 m5 g
  1915. $ S- m8 u# K/ K4 Y
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.: ^( _. |( w: ?2 F& ~2 V
  1917. ; Only numbers between 200 and 100000 are allowed.* R. b/ `! s# w1 l6 L* C
  1918. ;opcache.max_accelerated_files=2000
    % |9 Q; T2 x- w2 F3 }- S
  1919. - y5 t5 i, {7 Z1 Z1 S$ @
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    3 F% U1 E6 R; K2 O- `' p4 d& U
  1921. ;opcache.max_wasted_percentage=5* s4 w' g3 ^/ u- v* }/ D4 g6 g
  1922. ) s9 e+ H% z4 |" ]( B& O  N9 P
  1923. ; When this directive is enabled, the OPcache appends the current working
    $ K# A' y8 [: q4 V* \4 ~
  1924. ; directory to the script key, thus eliminating possible collisions between, Z3 [9 [8 a6 M" U
  1925. ; files with the same name (basename). Disabling the directive improves
    0 T, n- w  A/ ^6 D; X
  1926. ; performance, but may break existing applications.: L$ |) v  O. d( _! h
  1927. ;opcache.use_cwd=1
    1 B+ G- N2 X4 O/ i- u) D8 M
  1928. 5 y6 e3 W% b6 Y
  1929. ; When disabled, you must reset the OPcache manually or restart the8 @/ g2 S' F* q2 F- s; N, K
  1930. ; webserver for changes to the filesystem to take effect.
    ' ?' b6 Y, P$ R- [/ \: R+ t
  1931. ;opcache.validate_timestamps=1
    0 e+ X! ]" I( w

  1932. ) E# H  u; o1 p! W& N$ p
  1933. ; How often (in seconds) to check file timestamps for changes to the shared/ h( D) [: S1 T
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    3 m8 v3 m$ A$ \' F
  1935. ; once per request. "0" means always validate)9 j, E' g5 s  z& z2 S& T- F& |! T
  1936. ;opcache.revalidate_freq=2# A  a+ ~% E0 {

  1937. . J9 N( |6 ~+ g3 U8 t) ]/ {" J
  1938. ; Enables or disables file search in include_path optimization0 M4 [1 m! F: B6 q/ {
  1939. ;opcache.revalidate_path=0
    2 @7 J2 R) I9 e% k% D
  1940. ; e, W1 y" n* B0 F
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    : l6 i# M6 p% H- U# |! B2 P; r1 c
  1942. ; size of the optimized code.
    2 q& ~" @. E3 q3 ~% C
  1943. ;opcache.save_comments=1
    : ?  ]5 ?$ z+ h) ]2 _

  1944. : f+ z* ~0 k9 z# x# V
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
      r4 n6 H7 O+ C& Y
  1946. ; may be always stored (save_comments=1), but not loaded by applications( l4 w& `  C% B$ ~6 E4 `7 j9 c3 J8 E8 W
  1947. ; that don't need them anyway.
    . _5 K5 N5 t3 I) _1 u! T1 k- d+ w
  1948. ;opcache.load_comments=15 @1 H" m2 \5 m* w$ e
  1949. * T3 W4 m2 C# B& G) S
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ; P: a4 d/ S, Z% H. B
  1951. ;opcache.fast_shutdown=0
    / A7 |5 q: [9 S8 t7 h$ Q. t
  1952. 1 g1 {5 F# E3 f/ F' G1 |1 S
  1953. ; Allow file existence override (file_exists, etc.) performance feature.  w+ @& u% d4 z' p  A1 Z6 H
  1954. ;opcache.enable_file_override=0
    ; ^" z' j' T3 m* E$ J; o; Y

  1955. - O  E, w5 x. C
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache9 Q7 F6 v! M% h  G7 ]
  1957. ; passes
    3 c3 t# k# j8 q( {2 k1 `- _
  1958. ;opcache.optimization_level=0xffffffff+ i9 o9 A$ g5 N# }  a

  1959. " q6 a% e: q+ k. z& |. u
  1960. ;opcache.inherited_hack=1$ V9 W% f1 b4 H
  1961. ;opcache.dups_fix=0
    8 d- m% F2 x, m$ Y/ p/ G

  1962. 3 W$ l2 f7 b4 c. @% L
  1963. ; The location of the OPcache blacklist file (wildcards allowed)." f5 ?4 U) j/ D0 [- T: M* A: L5 @
  1964. ; Each OPcache blacklist file is a text file that holds the names of files$ f; [3 ]) w5 J* r! E% a! t# |, a
  1965. ; that should not be accelerated. The file format is to add each filename; x5 E! o* U3 v$ Y" ~* t# S
  1966. ; to a new line. The filename may be a full path or just a file prefix
    4 A7 t: \1 R0 R& w9 O
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www* J' C$ ^7 h+ X3 f; }& ~5 e
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    . \( Z. Y2 N8 K0 G. @2 M, D% _; i  ?
  1969. ;opcache.blacklist_filename=. r0 N! F, r8 B' t* p, F9 g
  1970. ' S, s  _& V3 B  H- u; Y( P
  1971. ; Allows exclusion of large files from being cached. By default all files
    - O3 a7 @8 C  T4 |( O- M
  1972. ; are cached.0 i/ n% \; b7 k& H' |: c
  1973. ;opcache.max_file_size=0
    . X5 a7 B/ L; d9 Y
  1974. / T, P( L0 {, l! Z' M
  1975. ; Check the cache checksum each N requests.& J. q" W" I) S5 u
  1976. ; The default value of "0" means that the checks are disabled.# X/ o% c9 P, R2 K. h$ Z
  1977. ;opcache.consistency_checks=0
    3 A. u0 H- z4 ^% u% }0 {

  1978. , G9 I3 _6 T) E
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache6 S+ U$ M; Z  V1 T  X& {0 ^4 F6 l
  1980. ; is not being accessed.# R( W% `/ {( j  w
  1981. ;opcache.force_restart_timeout=180- D/ E9 S& U3 z) y
  1982. 9 f* z3 e& U( C! E2 D# V$ q4 a
  1983. ; OPcache error_log file name. Empty string assumes "stderr".: L  K2 T& X1 a3 U9 ?6 v( t, }: x
  1984. ;opcache.error_log=
    4 [8 ^4 O2 S4 Y+ B, o, g

  1985. 7 A* H% J3 `, _. z8 D  a8 P
  1986. ; All OPcache errors go to the Web server log.
    , p2 y( B7 p% Z2 m0 \0 H
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    , y+ g. ?' ^$ o  f+ @" t
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    % c) P5 O5 j/ t1 Q* O1 k; {
  1989. ; debug messages (level 4).' O# s5 L0 J) B1 C- F
  1990. ;opcache.log_verbosity_level=1
    % F( f0 f7 ], M+ n- \7 A3 \) U8 P
  1991. 2 v. v- D9 l! G0 h9 ~  c
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    . K# t. `9 I+ k
  1993. ;opcache.preferred_memory_model=
    + @/ S& w" |! C" w. E5 L! m- \
  1994. $ q$ R3 e. G, e" X4 @6 M7 k( D
  1995. ; Protect the shared memory from unexpected writing during script execution.
    % J2 M; v; n# b/ o
  1996. ; Useful for internal debugging only." x1 u+ {3 v. [7 A7 q. p$ ?( _
  1997. ;opcache.protect_memory=0
    ' ?/ z* o; u9 T2 g8 Y" ]1 S! X% I

  1998. . S5 h: D, x9 ]& a. G) J) A
  1999. ; Validate cached file permissions.
    & I# M) Z: h9 b7 N4 F
  2000. ; opcache.validate_permission=0+ f' {. ]; a* Z. z; h/ q/ A

  2001. . h1 _/ U* W1 ~- Z+ G% O( T3 g3 v
  2002. ; Prevent name collisions in chroot'ed environment.$ T% k5 C+ E; P
  2003. ; opcache.validate_root=0
    ( a) f& M  v# ^3 l

  2004. 4 A7 K, d" g9 E% Y. Q  t) U1 N
  2005. [curl]+ Z6 w+ I# u" X& y  h3 p
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    & M6 p5 y( @  q) R. R
  2007. ; absolute path.! D- ^4 O, B( \$ }: |/ n
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt4 d* x! E/ O6 Q
  2009. 2 v* s+ q% \9 r: b
  2010. [openssl]
      z! |/ w# S* c4 w7 A( c
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ) O  |1 k7 I7 @3 B& d
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
      x# B1 v* W! @- K+ l# D  l/ d; y
  2013. ; not specify a value for this directive as PHP will attempt to use the
    . V6 d, w; B3 {/ T" y/ ~. y+ q3 p
  2014. ; OS-managed cert stores in its absence. If specified, this value may still: `6 m  C0 P( I# a) n/ L
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context) {5 k0 o. y, z; g
  2016. ; option.
    4 A% n1 h2 r4 R' R% k
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    7 B9 q* D& y. E, z& e
  2018. 7 v6 t- O9 U+ ^- V% f0 ^
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    " p, H& o0 B. j) `: `7 f( Q
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    , l5 P* ~0 d  b% Y  Q% z$ a
  2021. ; certificate. This value must be a correctly hashed certificate directory.- p2 E" a/ l% [+ o- e
  2022. ; Most users should not specify a value for this directive as PHP will/ V' k/ M) u7 ^0 G& q* D
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ! M: h. P. J' j* T, b
  2024. ; this value may still be overridden on a per-stream basis via the "capath"- @: D* \- o2 {
  2025. ; SSL stream context option.
    , J! |7 N6 W6 ^9 T
  2026. ;openssl.capath=
    0 }3 A; l5 [  G& N) ?( b  l

  2027. 8 z- T- Q& _; l. J
  2028. ; Local Variables:
    # U  `+ S  ^# S+ J# K  Y* p
  2029. ; tab-width: 41 I* a) I( v# `$ H& r8 g6 f
  2030. ; End:
    ) c! }! D5 N& I3 d! [

  2031. ; _8 l& ?$ I6 f8 J/ o7 q) ^& }
  2032. ;eaccelerator
    # [9 M/ J0 I/ m' Q! `0 P5 H4 a

  2033. 3 H- g* \+ H  T8 d+ ~
  2034. ;ionCube
    ; J$ `) s8 ^) K7 g, p

  2035. 6 a2 e( ]3 B7 f+ i9 Q
  2036. ;opcache
    ; F) O2 `, T) L1 g  N9 @) u. o; z
  2037. 4 t- n/ I( |' F6 n
  2038. [Zend ZendGuard Loader]
    2 z) v  G' a/ l; F( N
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so$ {  J( {) n/ d# ?# \$ G3 J
  2040. zend_loader.enable=1) y+ [9 S8 [6 M9 o) q* W/ F
  2041. zend_loader.disable_licensing=0
    8 n2 i( [6 l+ F. b
  2042. zend_loader.obfuscation_level_support=3
    ' ?4 s9 Z) q1 w. L6 [
  2043. zend_loader.license_path=
    ( d" [: r- g$ \2 e0 {7 r& a0 d
  2044. ; e1 r/ n2 }7 N! o& y9 I/ ]
  2045. ;xcache. q0 L/ n0 e5 z" U" j# K# z8 r. Y! g
  2046. 4 S- h' O: k  L# }3 B: |& O
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692  k& x  l& G/ b# x' p' N8 l

. ^- v; s7 o+ J) }0 F; n: F
' W6 u1 A4 {: I* VDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
9 h2 D! y; M' j  t
$ d3 y5 M. K1 vDiscuz!程序版本选择:
3 z8 U  y8 g! ~# K8 N( N2 G% O站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
2 }0 r+ w( E8 U  M% L4 D+ m+ P不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:0 |( [: b; f4 w4 X6 Q
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
2 n- i, |4 X! h  D
$ Y& G: W, v! X- k  CDiscuz!插件模板版本选择:- ~5 h& x# s) I
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
- k# l# y# @8 B3 Z2 ]针对这个问题做个统一的普及:1 ]  Q$ A& j" R: g3 s
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。! v* Q% H& k3 z6 d5 a

, h, t0 t, H2 C7 {6 Q" `2 O所以" o/ }# }  \8 j) t/ `
适合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的二级域名。
* d0 m- {4 m- q打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
. g/ ?. y, J! B. h1 N注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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