分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
7 m* l8 l% d/ R$ x- F
. a, T* Y" p- R6 i
  1. [PHP]7 j; }  v" U4 Y) d% v
  2. 2 y/ i; F! s( y* c. g% e7 M
  3. ;;;;;;;;;;;;;;;;;;;5 h; N8 g$ k* R; x
  4. ; About php.ini   ;; o6 J8 q( k/ ~5 I$ f( p, b4 P2 a
  5. ;;;;;;;;;;;;;;;;;;;  ^7 u5 ]7 @* q
  6. ; PHP's initialization file, generally called php.ini, is responsible for; k; G1 {5 d$ ^
  7. ; configuring many of the aspects of PHP's behavior.
    - S3 [1 O* y/ Q6 e0 d
  8. . y7 j. P" A4 N: d! H
  9. ; PHP attempts to find and load this configuration from a number of locations.
    % s7 j  w' B3 \' y6 l- G6 ~& ]
  10. ; The following is a summary of its search order:6 @0 y! y" w3 e: x1 |, T2 m
  11. ; 1. SAPI module specific location.
    ; d2 V' a# I6 I+ _
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    2 [; f2 O- D2 e/ a( s7 G
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)4 h% Y: _2 n3 D* y4 f9 [+ c6 ~8 L- E
  14. ; 4. Current working directory (except CLI)$ u. v# X& K! D% b
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP0 Q3 f8 ~( p+ u  ~
  16. ; (otherwise in Windows)9 m4 I; c* h9 P7 B* l, c$ C  L
  17. ; 6. The directory from the --with-config-file-path compile time option, or the$ A& f( o! b$ n: y$ D5 h6 ~
  18. ; Windows directory (C:\windows or C:\winnt)# R0 k. q4 i! E4 }6 Q# }8 P* q
  19. ; See the PHP docs for more specific information.
    1 h- h: T2 D) P
  20. ; http://php.net/configuration.file8 {4 S- ~# q9 [! e& L# y
  21. , i' ~  y0 O9 t
  22. ; The syntax of the file is extremely simple.  Whitespace and lines6 _# B+ n' z2 [* ~1 C+ D
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).- E* a9 ]# R6 {3 x. o
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though2 [, T) W6 K' C! N3 c  a/ @
  25. ; they might mean something in the future.5 W5 D) w9 Z  c, ]& \1 L5 w; {6 H
  26. ' \7 y& [0 y5 t, P+ F
  27. ; Directives following the section heading [PATH=/www/mysite] only
      j: O! `# _5 R( I5 G- O/ W) u
  28. ; apply to PHP files in the /www/mysite directory.  Directives- J/ {3 q* X) q. T9 }. T& u) l5 u
  29. ; following the section heading [HOST=www.example.com] only apply to
    0 p8 @. |  d: P/ N
  30. ; PHP files served from www.example.com.  Directives set in these, S% o" H) [! `$ |
  31. ; special sections cannot be overridden by user-defined INI files or
    : [3 n) |6 _; ^) a, c
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under1 H. B+ E8 D, U( d: u
  33. ; CGI/FastCGI.
    4 n% t4 D* V' ~' }
  34. ; http://php.net/ini.sections8 ]8 e5 L" I7 W9 s0 a4 X
  35. ; q9 F) x* r' A& m6 y7 @+ a
  36. ; Directives are specified using the following syntax:6 H9 e) w7 q' K& v
  37. ; directive = value: E& k+ U# R; l$ A+ O; g* b% G
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    $ Z  H' N6 l8 c; S" X3 x
  39. ; Directives are variables used to configure PHP or PHP extensions.
    8 q/ Q, H* T3 f' J
  40. ; There is no name validation.  If PHP can't find an expected
    " K; A$ ]7 Y& _( ~8 _- R0 `% u3 G
  41. ; directive because it is not set or is mistyped, a default value will be used., J2 A: |1 R) O0 ^4 P, e+ I& m: m6 k

  42. ) U- S1 [) I3 [# n
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    2 g9 w; T7 Q& |/ l1 J
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression) o9 R; [1 |9 H0 Y( j5 ~, q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a" ^, x* \  O3 S$ |" ^
  46. ; previously set variable or directive (e.g. ${foo})
    * h1 d2 o: C3 w* H8 L8 u

  47. 4 A, z+ }$ B' d) }8 D" r1 @
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    7 ^& n; f0 l' |8 p1 h# p' `& p
  49. ; |  bitwise OR! |, Z# N, A  E5 G, R% E0 n/ L
  50. ; ^  bitwise XOR9 W1 o# J" E6 z( G& e9 K9 W: L. b
  51. ; &  bitwise AND6 R- C1 r$ H% {. Y1 Q
  52. ; ~  bitwise NOT
    : c& y; `7 i( [0 v4 y
  53. ; !  boolean NOT
    * e3 \  S1 v2 q- @
  54. % l# }& _- P7 L
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    % l6 l% t5 f* r# S6 @4 y
  56. ; They can be turned off using the values 0, Off, False or No.
    # \# G8 Z- b* m1 D/ O$ L

  57. ! n# _. I5 b# z7 ]0 p
  58. ; An empty string can be denoted by simply not writing anything after the equal! f! z6 o  |% t0 V/ z+ z3 b
  59. ; sign, or by using the None keyword:
    0 g& ^9 Y: S9 A5 l, [, P

  60. 2 T. j/ L6 h4 ^4 F2 x5 @9 a/ P
  61. ;  foo =         ; sets foo to an empty string
    + B; _9 k" L9 F
  62. ;  foo = None    ; sets foo to an empty string( v. q: x& i) N5 w$ C
  63. ;  foo = "None"  ; sets foo to the string 'None'3 T( z$ x3 L0 ~- c2 e1 Z4 m) ~

  64. 8 Y) S: W+ G. s) c* @! x2 U. v
  65. ; If you use constants in your value, and these constants belong to a) V( o& Y3 R6 x. ?
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),/ J( ~) w6 ~6 h4 V6 U- U" J
  67. ; you may only use these constants *after* the line that loads the extension.. v3 i; \5 @- D3 t

  68. ' S5 R8 W4 p; B) _% v
  69. ;;;;;;;;;;;;;;;;;;;  P3 A( C. a7 a0 G6 y* |3 S7 w
  70. ; About this file ;
    ( N8 J. f9 q* o4 F; u; ]4 J
  71. ;;;;;;;;;;;;;;;;;;;
    9 v! j6 Z* t9 @2 {
  72. ; PHP comes packaged with two INI files. One that is recommended to be used, y) I2 H, t9 B
  73. ; in production environments and one that is recommended to be used in$ C! g# Z- V- l3 i: E- q
  74. ; development environments.
    " I  r9 `6 m) U! d

  75. 4 ?3 [8 C) I( e8 E# G
  76. ; php.ini-production contains settings which hold security, performance and
    3 `+ w. V/ g4 I; U
  77. ; best practices at its core. But please be aware, these settings may break8 S8 F) W( Y6 Y
  78. ; compatibility with older or less security conscience applications. We2 ~' q) b6 j6 h$ H
  79. ; recommending using the production ini in production and testing environments.% Y2 r  p& X  k/ a

  80. 3 C; R' `1 _: m4 l7 b) M8 s. a/ X& I
  81. ; php.ini-development is very similar to its production variant, except it is
    6 B6 ^! D3 i, F0 r
  82. ; much more verbose when it comes to errors. We recommend using the, Z7 P+ I1 L5 c% h+ a' d/ h5 G8 A0 }
  83. ; development version only in development environments, as errors shown to* Y( Y( p, g( f- U& T$ I1 M
  84. ; application users can inadvertently leak otherwise secure information.
    * b6 a0 `8 ]& [/ |1 J& P( x' Y
  85. 1 l" W0 y- _2 g. N: S$ z: a3 k1 b
  86. ; This is php.ini-production INI file., h" G& h$ ^5 |, Q

  87. , v6 E$ L1 }! s$ q4 z; b
  88. ;;;;;;;;;;;;;;;;;;;
    4 x" X% E3 r7 C: K
  89. ; Quick Reference ;
    " s: K8 N) \! q  l  P/ P; S; e
  90. ;;;;;;;;;;;;;;;;;;;
    * J( X, E7 _9 A
  91. ; The following are all the settings which are different in either the production8 G/ }, n6 x  V6 M
  92. ; or development versions of the INIs with respect to PHP's default behavior.5 D& f$ @- x+ H
  93. ; Please see the actual settings later in the document for more details as to why0 N- K% b/ W! p  E
  94. ; we recommend these changes in PHP's behavior.
    - W& O- [9 f8 J% W1 f

  95. $ O6 j& q- z7 K- U; M  B
  96. ; display_errors. V) L, B' h/ N* f
  97. ;   Default Value: On
    # L! i: b# n( u+ J: w, q
  98. ;   Development Value: On
    & j" ^! @, c0 l9 M
  99. ;   Production Value: Off
    * R# G' z2 e% f$ q) J0 |

  100. " [3 I, V& n$ F% s2 _/ ~' R
  101. ; display_startup_errors
    . G+ z5 r* V: _0 Q+ V- H
  102. ;   Default Value: Off
    * }$ A; I& h. s) ^2 G
  103. ;   Development Value: On
    7 L4 w- d+ G* @
  104. ;   Production Value: Off7 l8 B1 ]6 m: ?0 P
  105. 5 _8 I& z7 f; J8 J0 G$ \) M1 M
  106. ; error_reporting
    : r2 e; y; ?! F
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    1 C+ f4 i( T; m* ^% O$ _# k1 ]) H$ `: [
  108. ;   Development Value: E_ALL: D+ |! ~" O" e1 O; y" l, |
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    1 J5 g' o& {. |" W) i/ R
  110. + c* ^" J6 {+ _5 E2 H, w
  111. ; html_errors
    ; g* {$ ^0 n/ I0 A# V" J& ]* E. z8 l
  112. ;   Default Value: On6 {5 x& R- S4 b$ U* F, K
  113. ;   Development Value: On9 `1 |; T  s. A
  114. ;   Production value: On+ h* U6 j' Q* E* b% a# l

  115. / y# W" U/ d4 h9 X) a
  116. ; log_errors
    $ U2 ^' ?. w5 `" A# s! D& D
  117. ;   Default Value: Off
    ! L9 t; {) p: s8 W2 }" g
  118. ;   Development Value: On) m$ r1 d, ]. p" @0 i5 ?% h
  119. ;   Production Value: On
    & ~5 j' c% C$ q( q4 g0 ]1 g

  120. & w; v5 k6 k! q- Q9 y
  121. ; max_input_time2 i. [1 P+ J. ~
  122. ;   Default Value: -1 (Unlimited)+ [" r: _1 C6 ^" j" N
  123. ;   Development Value: 60 (60 seconds)7 M$ d% L0 e& [6 @* \4 `: W/ N
  124. ;   Production Value: 60 (60 seconds); L3 m0 n6 U7 J

  125. 1 ^0 u3 i, n0 ?0 y( s5 n! m! @; y
  126. ; output_buffering
    ' t# G/ z. v: p* t1 z
  127. ;   Default Value: Off- s! E% A$ ~( N5 ^
  128. ;   Development Value: 4096
    1 ]- d+ k, u7 b/ G6 ]# ]
  129. ;   Production Value: 4096; A* g# X& ?8 m; F3 P" g4 }$ S
  130. * ]2 S+ X- k* l7 W5 @
  131. ; register_argc_argv8 c; j+ T7 g$ k& R' V8 @
  132. ;   Default Value: On
    8 E* V! D. @  L
  133. ;   Development Value: Off
    $ X; A8 u' a1 H$ x
  134. ;   Production Value: Off$ A* {2 a* P- w
  135. 2 _" x3 [; K/ B& g3 I& a; k
  136. ; request_order
      A+ |/ Z: W, \. @) R) v' W" J
  137. ;   Default Value: None
    " ^, y" J, q/ c* C; W3 {0 F
  138. ;   Development Value: "GP"; J. @) G  h( m/ `8 H2 V
  139. ;   Production Value: "GP"7 q- }$ H$ \" O& O" h
  140. / H' N- x( o9 \9 q) A0 ?
  141. ; session.gc_divisor2 U/ {* h% _$ ]7 D" ~
  142. ;   Default Value: 100
    - R4 c. o  N: i* q
  143. ;   Development Value: 1000
    3 B# u3 @3 {2 ?4 e% [$ W" O) @
  144. ;   Production Value: 10005 D  C# N, q4 u, t7 o$ }  w

  145. 7 k' s& Q$ z% R# Z, O- R
  146. ; session.hash_bits_per_character
    5 i( W: m. Y6 P, o( r1 M
  147. ;   Default Value: 4
    $ v0 h) q) ?1 ^" K! i
  148. ;   Development Value: 56 x" q# I4 Y' M- v$ m% |( M" M& c
  149. ;   Production Value: 5
    " v' i# X: C3 W0 A/ \! v# B

  150. 5 J5 R6 h& s2 C% Y/ ?7 b. u
  151. ; short_open_tag
    9 x% ]7 y; f: s
  152. ;   Default Value: On
    ) Q- j0 B/ j6 W
  153. ;   Development Value: Off# M  {( s3 o" _, F& S
  154. ;   Production Value: Off' ~+ r# Y8 E& N8 ~0 c* [

  155. $ @3 I: p9 Z* x$ Z) n2 M
  156. ; track_errors
    2 z$ A7 z$ s  P% D% T' o
  157. ;   Default Value: Off
    ( `  P- R+ F, R7 }
  158. ;   Development Value: On- g* y6 A9 K  s( `, G1 r0 ~+ ^
  159. ;   Production Value: Off* @0 W* {9 v! y; A0 G$ e# H4 E
  160. ( l' m( S. v8 L, G3 A
  161. ; url_rewriter.tags: J! a0 s6 T4 N* c! a# t
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    7 ?  M/ n8 _, q- u
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # F* f; A; m8 n+ g$ F" E
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : K8 f5 g  x6 R  W

  165. ( H$ E5 j  G$ {& v
  166. ; variables_order
    & z- ?# ^  s' q  Q3 I) X
  167. ;   Default Value: "EGPCS"
    - m0 R7 ]6 P1 z- H, A
  168. ;   Development Value: "GPCS"
    1 h( |: I- C7 {) e: U
  169. ;   Production Value: "GPCS"0 a3 x2 q2 ^' _) y
  170. 9 m; r  I/ w- M( f- f" g
  171. ;;;;;;;;;;;;;;;;;;;;; A8 u0 e" ]2 j. s0 D% s
  172. ; php.ini Options  ;
    + ?& N/ b5 P  |7 e' `/ `+ w
  173. ;;;;;;;;;;;;;;;;;;;;
    : D' H' L/ v8 w' _0 z' Z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"" z4 ?2 j- u  F
  175. ;user_ini.filename = ".user.ini"
    9 x8 }! o6 B0 Q: ?* J) `" f; G0 {

  176. $ U, C; j2 e7 e% L- }
  177. ; To disable this feature set this option to empty value' H2 H3 B* J/ G3 x4 S/ I- J! R
  178. ;user_ini.filename =
    " x9 G0 Q3 W! K$ I; c9 v
  179. 9 R4 w( @5 |7 j$ M
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)) m  g6 [* I' }2 U* ~# n2 a
  181. ;user_ini.cache_ttl = 3003 }4 y) h' M' F" p: `
  182. - s0 g6 e5 `' W8 n
  183. ;;;;;;;;;;;;;;;;;;;;  G) |# t$ k7 e
  184. ; Language Options ;+ r9 |0 O1 Y$ p) Q5 v
  185. ;;;;;;;;;;;;;;;;;;;;
    ! @, ~2 n" x1 [+ B. G  K3 X9 n0 r! c
  186. 1 t' V( q3 D% O" h, S" V) G' @& ^
  187. ; Enable the PHP scripting language engine under Apache.2 Z2 X' k$ B/ H( c/ R8 R
  188. ; http://php.net/engine
    . e; [/ f! K! q! \" l
  189. engine = On. v& O; T3 z( }/ e% o5 y# [
  190. " |+ X& v2 i# x$ U
  191. ; This directive determines whether or not PHP will recognize code between- X5 t8 @% [% q; @5 R
  192. ; <? and ?> tags as PHP source which should be processed as such. It is2 l! ?3 Y9 L2 @9 W9 P# C
  193. ; generally recommended that <?php and ?> should be used and that this feature
    % |: c2 N, X$ B  j9 N. o5 D$ l  `6 C
  194. ; should be disabled, as enabling it may result in issues when generating XML) n1 V. d: S3 a5 p
  195. ; documents, however this remains supported for backward compatibility reasons.
    4 H1 s6 {; A5 [$ x! c1 P
  196. ; Note that this directive does not control the <?= shorthand tag, which can be2 X( J% U% z: P. C+ F3 V" m5 Y
  197. ; used regardless of this directive.
    3 x$ @5 r8 `$ o$ o/ E6 }
  198. ; Default Value: On
    . x1 y# ~4 D: k* ^! R* M2 A1 r8 C
  199. ; Development Value: Off
    $ C/ a. c8 h6 V0 w
  200. ; Production Value: Off) Y6 g( ]3 i# ~) ~9 {8 X; U! t
  201. ; http://php.net/short-open-tag$ q- ~* Z" |5 h; M. q8 C
  202. short_open_tag = On
    ; a" A, m3 x- \3 }7 B; P
  203. ' @2 C) E5 j. Q( Y) H. @, C
  204. ; The number of significant digits displayed in floating point numbers.
    / @. m. d, G. a
  205. ; http://php.net/precision9 X0 \7 Q9 _, L. }, ?
  206. precision = 14
    7 \: S1 A. @# B# [

  207. , N6 Y7 P: ?: D
  208. ; Output buffering is a mechanism for controlling how much output data
    . C' h2 m# Q, \' z1 o1 {; p
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    $ Z- P# R) D+ G' Z: p
  210. ; data to the client. If your application's output exceeds this setting, PHP5 P$ u, }2 ~" m, l! F# \* r# A
  211. ; will send that data in chunks of roughly the size you specify., z. V# H, @& k7 R4 n6 P
  212. ; Turning on this setting and managing its maximum buffer size can yield some% P, C( S% x2 k# {& A. `/ d
  213. ; interesting side-effects depending on your application and web server.+ b2 u2 ?" O  y, G
  214. ; You may be able to send headers and cookies after you've already sent output
    8 T5 D0 ?# R  S+ V/ K7 R$ U% s
  215. ; through print or echo. You also may see performance benefits if your server is
    ) ]7 W# `6 p# M5 c4 _& l& F
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    ; S6 t; C% i% D
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance" t' a' j- l& ^
  218. ; reasons.+ W6 ]. Z3 @1 \
  219. ; Note: Output buffering can also be controlled via Output Buffering Control( R* v& O/ V6 p
  220. ;   functions.- A( J# w0 j9 |8 {
  221. ; Possible Values:  m( O9 ]* U2 T4 C) v
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)- U- b! W/ W: N8 u& b4 {
  223. ;   Off = Disabled4 t: X2 L* Y' {& [, B
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    3 f" X) c9 m' n9 L% y5 U
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI  y; V9 T+ R! z7 x
  226. ; Default Value: Off
    ) m" {! ^( n2 I+ h! Y# z# }
  227. ; Development Value: 40960 l5 z8 ]: w; V( x) O1 |( j, P- Z
  228. ; Production Value: 40967 ~" C; p& ^# X0 A0 \8 G% e0 j
  229. ; http://php.net/output-buffering
    1 g" I9 h+ y: s
  230. output_buffering = 4096
    $ }  L( }9 |7 b9 J
  231. 9 n3 l; p( d: k" @6 v6 W, J
  232. ; You can redirect all of the output of your scripts to a function.  For: M8 G% z. z7 D& }# T" g
  233. ; example, if you set output_handler to "mb_output_handler", character. U# t% E8 Q/ e2 i2 v/ G( h
  234. ; encoding will be transparently converted to the specified encoding.# f6 Z+ V' m- U
  235. ; Setting any output handler automatically turns on output buffering.- E6 K5 \' q; C* V
  236. ; Note: People who wrote portable scripts should not depend on this ini# G, r5 X: w$ T* @
  237. ;   directive. Instead, explicitly set the output handler using ob_start().% h/ c, S7 G- Y! F
  238. ;   Using this ini directive may cause problems unless you know what script
    ( y  p% H/ e0 X( Q
  239. ;   is doing.
    : i/ t- [' X) s) ?$ q9 p- D
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"3 h$ R; s0 ]( W9 _# n4 C8 X& I
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".3 R$ X: ^- z$ E  p( \- z1 J1 ?
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    # B! w* {! Q0 `  |, r9 ?2 H& Q
  243. ;   Instead you must use zlib.output_handler.
    / ?3 b" O6 T; v* I' ^! ^
  244. ; http://php.net/output-handler
    & Q3 e5 J  H5 g
  245. ;output_handler =* h5 k" \1 x# |4 K

  246. 7 u) k  t7 t9 P+ g4 G
  247. ; Transparent output compression using the zlib library
    3 i9 f4 r& O( D* s
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    - r! b4 r' A' u
  249. ; to be used for compression (default is 4KB)
    & M, Y0 q: ]& \0 C
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP7 E. j" N' o/ ^7 }% s( o
  251. ;   outputs chunks that are few hundreds bytes each as a result of6 N$ K* Q9 X: @9 r3 H* S- |
  252. ;   compression. If you prefer a larger chunk size for better
    9 ~- Q$ m2 G. |3 n/ A1 J5 l
  253. ;   performance, enable output_buffering in addition.
    ' [/ L# e0 V9 a# c( i
  254. ; Note: You need to use zlib.output_handler instead of the standard
    1 v' v: w( m5 ^8 l, ]
  255. ;   output_handler, or otherwise the output will be corrupted.
    * z& ?1 M( o  D5 z
  256. ; http://php.net/zlib.output-compression& g7 M7 f0 E3 ^
  257. zlib.output_compression = Off
    ' T/ {. a) y+ h1 C. x

  258. " g+ k6 _$ h' y" C; ^" f
  259. ; http://php.net/zlib.output-compression-level, G% q/ H! _4 t7 ]
  260. ;zlib.output_compression_level = -1
    1 X7 i( K* ^/ L! Z( H
  261. / K& k& v1 i$ b7 J
  262. ; You cannot specify additional output handlers if zlib.output_compression
    6 B# {1 f5 t: {' J
  263. ; is activated here. This setting does the same as output_handler but in) S/ g& T6 u7 Q  c# O
  264. ; a different order.! d) {5 t- r" t
  265. ; http://php.net/zlib.output-handler
    & }# N$ r, Q% z
  266. ;zlib.output_handler =
    $ U- m- A7 r2 ]
  267. # q( C9 S! f2 m0 n. A
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    : L' ~3 h, f) g: g* b
  269. ; automatically after every output block.  This is equivalent to calling the
      K& N3 I) w3 _) q4 v9 K
  270. ; PHP function flush() after each and every call to print() or echo() and each
    ' f4 V& l) O0 f8 G
  271. ; and every HTML block.  Turning this option on has serious performance
    6 f$ ?1 q3 J4 h! J# l! _
  272. ; implications and is generally recommended for debugging purposes only.7 ?/ I% [4 _- I3 q
  273. ; http://php.net/implicit-flush# k8 o2 X$ w$ y- G6 f' [
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    3 H: m) v- ]  [- a. |4 W* P2 q$ z
  275. implicit_flush = Off
    ( u$ C# [9 A. G. L  e
  276. 6 K; x& t1 R$ I
  277. ; The unserialize callback function will be called (with the undefined class'
    5 v, n8 G$ \! i
  278. ; name as parameter), if the unserializer finds an undefined class
    4 H4 R8 G/ N/ `: C8 h+ A+ B
  279. ; which should be instantiated. A warning appears if the specified function is2 C# n+ Y) e6 Q6 ~
  280. ; not defined, or if the function doesn't include/implement the missing class.
    1 ~1 I$ C6 k- i+ |$ J* ?
  281. ; So only set this entry, if you really want to implement such a2 ^7 {- l# H8 B
  282. ; callback-function." R. [. u1 X( ?7 }; Q$ }
  283. unserialize_callback_func =7 ~4 n+ V+ {% p8 o  Q: L# g
  284. & w% t5 H. q0 ?, V& X# D
  285. ; When floats & doubles are serialized store serialize_precision significant
    , Q( v# \. u& \, D% l
  286. ; digits after the floating point. The default value ensures that when floats: x8 g5 n, |: b9 y9 f$ y
  287. ; are decoded with unserialize, the data will remain the same.' [. L; N! p" x% Q. E; g8 s4 q
  288. serialize_precision = 17
    / Q1 ^- X$ F; A+ L0 b* G! V

  289. 0 f! t" t& r+ A7 ^. g- v. A$ ]& y( W
  290. ; open_basedir, if set, limits all file operations to the defined directory1 y0 Y* U. M7 K" K3 `
  291. ; and below.  This directive makes most sense if used in a per-directory( P9 W& a, i* n, K6 b0 k9 R' Z
  292. ; or per-virtualhost web server configuration file.: ?$ v' O# z( g" O0 W3 O  h
  293. ; http://php.net/open-basedir
    : T+ q8 L7 [+ Q* A$ R  \
  294. ;open_basedir =
    ! T! J) s) m% m1 y, @! N! W
  295. " y* A- F( U1 V2 i7 z9 L: z
  296. ; This directive allows you to disable certain functions for security reasons.
    5 F5 N- f# z! b. o8 R8 A& |
  297. ; It receives a comma-delimited list of function names.  c8 h4 L+ [% z" Q2 F
  298. ; http://php.net/disable-functions
    6 P6 Z% f& h3 |: \
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    7 L9 v& [- ]+ N" e6 c% b
  300. : s/ \; W+ i, G# }. A% M
  301. ; This directive allows you to disable certain classes for security reasons.
    ' p7 S" O+ `! F  M
  302. ; It receives a comma-delimited list of class names.
    * g" p% U/ i5 L* ?) _
  303. ; http://php.net/disable-classes
    * Z( h$ o  d  N( o% r( G
  304. disable_classes =* a; j- o4 w* ~

  305. 8 [) K* Q' d9 ~. Q6 o5 _
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in& l( w" [0 U: N8 A9 z2 Q
  307. ; <span style="color: ???????"> would work.( Q, E6 d( p' \
  308. ; http://php.net/syntax-highlighting1 \$ ]. ?: n) G1 P* L8 N2 L2 q) N
  309. ;highlight.string  = #DD0000
    / _2 m; d9 ~, ?1 R2 ?- c
  310. ;highlight.comment = #FF9900& C( O7 f# P, x; R3 R
  311. ;highlight.keyword = #007700% l1 x2 q% A# b; k) Y+ ^
  312. ;highlight.default = #0000BB! D; G( g: v- L5 Q6 z( g# w- F
  313. ;highlight.html    = #000000! t) R( E! I; B) \" m$ P7 f* V' k

  314. 7 i2 C& K* m8 h' _
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    - o7 `' Y! _- S/ k  f
  316. ; the request. Consider enabling it if executing long requests, which may end up; @$ d2 W7 Q0 `2 W2 U; p
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior+ J3 w3 _: n& T! x. |
  318. ; is to disable this feature.
    7 R; ^' y6 p3 u
  319. ; http://php.net/ignore-user-abort
    2 t4 m* R1 G8 U/ d! w
  320. ;ignore_user_abort = On
    * \; L, c9 x$ Z7 P& j9 ]$ O
  321.   j- Y5 g, ^$ A4 U$ u$ A
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
      @# }  Z+ Z1 z: H* R$ G
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    ' q1 m  e2 J2 p, f5 q
  324. ; the file operations performed.
    6 `2 S6 g! o9 k
  325. ; http://php.net/realpath-cache-size
    9 e. r" r8 W# x: u
  326. ;realpath_cache_size = 4096k
    - i! G" }, o0 ]  ]& q( z

  327. ) d& C; q" T3 _+ K; ^* M
  328. ; Duration of time, in seconds for which to cache realpath information for a given5 ~, c6 j6 C" v( |; J+ Y
  329. ; file or directory. For systems with rarely changing files, consider increasing this
      c* I: _2 \, t' ]. G, t: v* m
  330. ; value.% M1 Y8 ]; \, r$ i. M
  331. ; http://php.net/realpath-cache-ttl9 y! F0 M5 `' c6 Z4 Z  l7 e
  332. ;realpath_cache_ttl = 1205 u% W. N1 i$ m6 E/ E
  333. 1 l3 ~8 B1 ^! m: l$ h
  334. ; Enables or disables the circular reference collector.
    0 z6 ], ^& h9 {: V5 ^
  335. ; http://php.net/zend.enable-gc
    - D, z# k/ Q4 g2 S2 X$ J# H" t- w
  336. zend.enable_gc = On
    * o& i5 R" ?1 F! H9 Y0 [

  337. 9 C2 Q9 B* U2 \* e+ D# J: b
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    , q$ A- Q; N8 d, n) h4 I& K; c
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    " a* P9 O% l9 h6 e
  340. ; encodings.  To use this feature, mbstring extension must be enabled.5 n" w, d& q. X1 c
  341. ; Default: Off
    5 P: u- i. S( d
  342. ;zend.multibyte = Off9 k/ j- \' B0 C' ]2 O+ C9 l
  343. 3 q8 ~- [7 o3 l- ~  e' F
  344. ; Allows to set the default encoding for the scripts.  This value will be used2 I# O; b# `  o+ f+ |, V  y
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    " g" |4 B. y9 j/ e4 L
  346. ; Only affects if zend.multibyte is set.: b. W) M" M4 |0 a5 \
  347. ; Default: ""
    6 v& R/ J0 p2 P# c+ D# i; z3 j# D
  348. ;zend.script_encoding =
    6 T* }  o/ n3 k, T0 i

  349. % z" n. Y% O; y7 K0 h7 X9 j6 R
  350. ;;;;;;;;;;;;;;;;;* l( S3 F9 \$ u7 k2 n
  351. ; Miscellaneous ;; {* k$ Q! v4 \% I. d# j# J2 U
  352. ;;;;;;;;;;;;;;;;;
    2 C4 b) o; C6 q& Y; ]% _& P

  353. , p. A+ S" h! F" Y, F# a3 V
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    7 i* r* b; l7 I" i$ r  |8 Z) w1 o
  355. ; (e.g. by adding its signature to the Web server header).  It is no security* b1 j; y* k: s8 W) [, P: @
  356. ; threat in any way, but it makes it possible to determine whether you use PHP9 ]5 C" C  Z8 w2 m# @: z
  357. ; on your server or not.9 d/ y- a) K2 ~) J2 ?
  358. ; http://php.net/expose-php
    2 E: U5 i" u1 m3 J$ Z7 _: e
  359. expose_php = On, v- N, p- [1 r; n, Y8 {  O

  360. ! D6 N+ R# v# x* a; K& ]. t
  361. ;;;;;;;;;;;;;;;;;;;
    / F3 q' U; h' P; c2 P0 Y% [: J3 T$ d
  362. ; Resource Limits ;5 ~/ Z% B( w8 z$ u( \  M6 u
  363. ;;;;;;;;;;;;;;;;;;;" V! R% D4 Q  ~( R: y8 Y

  364. . k5 j) I4 L) ^/ V3 {
  365. ; Maximum execution time of each script, in seconds% N$ T" H* t$ m2 q8 T( y2 q) F
  366. ; http://php.net/max-execution-time
    ) G$ z, X1 Q- X& Z1 {) y
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI/ R3 H! V+ _. q3 @
  368. max_execution_time = 300" y8 G2 x' J* W  x9 c& c) ]$ E
  369. ( Q0 M' |3 e2 G  U& y9 L5 ^
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    : L9 t& J' A4 L* J
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly! I% K# D* d1 Z+ w1 I( n0 L' [
  372. ; long running scripts.
    ) O: \6 K) @, w  e+ A* m; ]
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    1 ~/ e7 L  `) ]* ?8 N( [
  374. ; Default Value: -1 (Unlimited)7 t9 \3 R: C( ~! u2 B% T9 `; T
  375. ; Development Value: 60 (60 seconds)/ a: T3 E' _6 V1 R
  376. ; Production Value: 60 (60 seconds)
    2 O6 V  T! G+ f5 `. ~, P
  377. ; http://php.net/max-input-time
    ! V3 b  N. Z  F  y) ?$ N) l# {! U/ I
  378. max_input_time = 60
    5 h# z( Z! l' G( O9 Q# k
  379. 1 h- ~1 }' j- K, D& Z- ]1 O$ e6 S
  380. ; Maximum input variable nesting level/ @( E# b* q& ?
  381. ; http://php.net/max-input-nesting-level
    0 h/ s0 W" C9 ~! o6 P6 N
  382. ;max_input_nesting_level = 64* D) Y$ y' y( ]! O
  383. 6 |/ Q! K  T+ i5 v- f
  384. ; How many GET/POST/COOKIE input variables may be accepted
    / O% v& A. q( L# `6 B  |! E
  385. ; max_input_vars = 1000& [% T0 a- F. S: X! @

  386. " S/ p. J4 F% L# W
  387. ; Maximum amount of memory a script may consume (128MB)" ?, n) T( i/ m8 g6 ?
  388. ; http://php.net/memory-limit) S( {' ^, L$ u+ U$ v
  389. memory_limit = 128M; _: a1 ?9 \1 L- V

  390. ; q$ G6 v9 q; \* A9 z5 b  W% l. X/ W4 W
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1 P+ L7 y, ?- m* |( Q2 s) S' N
  392. ; Error handling and logging ;
    1 t! p/ `2 b+ c# u0 t4 ?
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    4 s1 O$ P; ]: C2 _0 e" f

  394. ! b1 @4 E" Z2 ^' q; ^! K" X
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    " z! R3 x& M, I' E; t" P
  396. ; it to take action for. The recommended way of setting values for this
    + L) s) S* L" K7 F" J; a$ P
  397. ; directive is through the use of the error level constants and bitwise3 H! Y4 L+ ?$ C* T
  398. ; operators. The error level constants are below here for convenience as well as
    + A6 J& I* }( {8 F1 x5 L. k
  399. ; some common settings and their meanings.
    : b& ~0 I$ h+ P8 f( C& g5 G
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ( W$ v: h' i6 R$ L( {" L
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ; f) |% x+ F/ s9 W( F2 s, q
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    2 W/ v; w# o" c! y1 I
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    1 B% M! [4 B' i7 g  R( k  J
  404. ; resources complaining about best practices and coding standards. That's what
    & s3 w. _( E1 a! e7 j& {- T/ R6 h. N
  405. ; development servers and development settings are for., w4 }& b* C4 K. }  M- j
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    6 z  p  O* ^7 Y# ~8 n, p' s$ i
  407. ; means it pretty much reports everything which is exactly what you want during
    $ f9 O3 X5 J) Y+ G
  408. ; development and early testing.. c9 [" \8 Y+ a: v2 q
  409. ;
    * v) H# j2 W9 s) o
  410. ; Error Level Constants:) F2 |7 v, V/ b
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! {. A/ M. z2 b! ~3 m2 t. A
  412. ; E_ERROR           - fatal run-time errors
      W& _5 ~" p8 h) A
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors1 D( M( b& i$ ?5 Y8 E9 n8 t
  414. ; E_WARNING         - run-time warnings (non-fatal errors). M% E1 t* [7 f: u$ [. w4 o; b
  415. ; E_PARSE           - compile-time parse errors4 R+ e( _" Q! t0 c2 X9 _* ?$ `' v
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    4 \1 h0 g2 D# j* ]: Z7 C( c
  417. ;                     from a bug in your code, but it's possible that it was
    - v8 n( v' V/ F% W! [+ e
  418. ;                     intentional (e.g., using an uninitialized variable and
    ! {9 x( p0 ^6 H' z2 H
  419. ;                     relying on the fact it is automatically initialized to an
    . `2 t2 C  c7 z, A; t% h
  420. ;                     empty string)
    7 Z- i) w8 ~. x; R
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes' J  ^# o) Q7 ~, i( J% N" r
  422. ;                     to your code which will ensure the best interoperability
    / I. k4 k- A' z: {
  423. ;                     and forward compatibility of your code$ f! t" O4 }/ C6 w
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup. q: f+ Z. \3 ~
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    & k0 e) x( P2 h" V" g
  426. ;                     initial startup7 j& M, M- m5 B
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    6 h1 S" Z! [1 f5 O
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    * ?* W: N  N+ k& [
  429. ; E_USER_ERROR      - user-generated error message0 I5 M4 y# x/ w' d0 M
  430. ; E_USER_WARNING    - user-generated warning message: H  V) A9 B) M: D1 z2 }
  431. ; E_USER_NOTICE     - user-generated notice message
    ! B. n5 B: ]" D# \6 L8 F& d& L6 x% |
  432. ; E_DEPRECATED      - warn about code that will not work in future versions5 h6 Y7 j4 d) \! G) h
  433. ;                     of PHP! B% s9 {- X. C
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings) }& A) L" D- o2 o% t* @7 V8 p
  435. ;, X4 H9 Y9 z( Y' L  x9 P
  436. ; Common Values:. P5 D. `' d  N$ O3 C* _: @4 d  j
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    : Y) ~  f+ i7 p& D
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    . W- E2 w! ]' R$ `3 n0 q
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)* Y  B" z! W) c1 A
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)' p  Y& E9 E3 g1 M9 F( P, S
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  e( W+ G/ c* J* t! R6 \
  442. ; Development Value: E_ALL3 t: \+ S6 {+ m( P/ [. `
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT% B+ _- ]) w: {! w  d
  444. ; http://php.net/error-reporting
    " H3 T8 }! n! q9 @4 e
  445. error_reporting = E_ALL & ~E_NOTICE" i; {- n* l3 G9 y! E/ ?3 a5 D! Y7 G9 W
  446. 1 K0 H( s* |9 t& N6 A" a8 X0 g
  447. ; This directive controls whether or not and where PHP will output errors,' u3 q) @0 V2 j- n8 @2 \$ |5 }) x
  448. ; notices and warnings too. Error output is very useful during development, but
    1 o8 v! @" d$ [2 x
  449. ; it could be very dangerous in production environments. Depending on the code4 C2 c6 Z+ t" v
  450. ; which is triggering the error, sensitive information could potentially leak
    + h  I1 V4 o" ^$ R
  451. ; out of your application such as database usernames and passwords or worse.
    . e5 |# a! B$ V% W+ P5 T! S2 G
  452. ; For production environments, we recommend logging errors rather than3 K3 n( x* g7 k3 X
  453. ; sending them to STDOUT.
    * G7 _& R" c/ ]$ \0 G8 Z; l
  454. ; Possible Values:0 N5 R4 f7 K+ l. I% L4 Q
  455. ;   Off = Do not display any errors! b5 ]+ \; {: v# d. p' H/ A
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!). B+ k; t4 Q$ D' p2 `6 j5 ]
  457. ;   On or stdout = Display errors to STDOUT  C: X. S: G- D+ L5 |& }
  458. ; Default Value: On3 Q( Y9 f% X; Z- z
  459. ; Development Value: On+ H3 g0 B* b* E3 D
  460. ; Production Value: Off
    % J1 n' U5 H0 k( {: Y
  461. ; http://php.net/display-errors
    9 [2 A+ S% C+ a5 ]; @9 D7 U
  462. display_errors = On
    . O" h- B. G& X" D5 O3 W
  463. / q/ y7 W2 [( H& [
  464. ; The display of errors which occur during PHP's startup sequence are handled% A0 k0 ]! l" M" V+ ]/ D) x
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    + `; M0 J! c( S0 R9 ]; Z
  466. ; errors from clients. Turning the display of startup errors on can be useful in6 u2 |) l' p  j
  467. ; debugging configuration problems. We strongly recommend you  f4 E( ?' y$ h7 e) j, q+ `4 f+ Y
  468. ; set this to 'off' for production servers.
    ! W* B6 @, ]- t
  469. ; Default Value: Off3 ?' Q( r) y6 m6 Q% Z3 ]- r
  470. ; Development Value: On5 B& T3 w1 X6 w7 R3 N* z$ F
  471. ; Production Value: Off1 Q; A5 t+ q' A  a0 S* O
  472. ; http://php.net/display-startup-errors& u; f% }1 q0 w
  473. display_startup_errors = Off
    3 n1 |# t4 {# p, d, x# ]/ t
  474. 9 e) L  k# j5 f/ _
  475. ; Besides displaying errors, PHP can also log errors to locations such as a! ?: y; a" [  A9 Y3 ]
  476. ; server-specific log, STDERR, or a location specified by the error_log
    % I: V$ J% a8 Y8 j
  477. ; directive found below. While errors should not be displayed on productions; ^2 K0 k2 g, @! k* R
  478. ; servers they should still be monitored and logging is a great way to do that.
    ) y: q. G0 U7 o  r
  479. ; Default Value: Off
    1 G2 D4 ]- P0 X/ I+ ?4 y0 k
  480. ; Development Value: On
    * T7 V- I- j* G2 v7 `+ t% C0 H# C
  481. ; Production Value: On
    9 N3 O" ^# [5 g" o. S8 _3 M
  482. ; http://php.net/log-errors- U+ v# _+ s2 Z# [# L
  483. log_errors = On0 H7 B. q6 V4 X
  484. $ u& K3 m1 o! k* ]+ ^; X
  485. ; Set maximum length of log_errors. In error_log information about the source is" S# G# f4 T7 J  r
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    - p8 S. x1 i3 q+ W6 u, I
  487. ; http://php.net/log-errors-max-len
    6 Y& f: ?5 D  @
  488. log_errors_max_len = 1024
    5 I) u( l$ h5 L; L4 J1 G% a
  489. $ ^9 Z' K# L7 N( w3 W
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same* ^1 u) ^* H& p' `( i$ t4 ?, b
  491. ; line unless ignore_repeated_source is set true.% m: a$ F4 I: \2 ], W8 Z* I; l
  492. ; http://php.net/ignore-repeated-errors
    1 d9 R! v( D- I8 a7 `
  493. ignore_repeated_errors = Off
    $ `( R  n+ n9 ?# R, S
  494. ; I4 }; Y% s: H; I5 b5 g( W
  495. ; Ignore source of message when ignoring repeated messages. When this setting$ N7 J6 i$ b# L' Y
  496. ; is On you will not log errors with repeated messages from different files or; z- F$ n, o; U- U- R0 G
  497. ; source lines.
    . x3 C( W) ]( ~# [+ @
  498. ; http://php.net/ignore-repeated-source2 }0 a3 O' q0 k+ R( W
  499. ignore_repeated_source = Off
    2 W8 `& ?# u0 L( i+ i$ s6 H- k7 ^
  500. " [; R; j9 M# k; \
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on9 h* `# j3 E+ {" Q6 U4 d8 R7 o
  502. ; stdout or in the log). This has only effect in a debug compile, and if' a$ Y$ J7 h6 f+ k4 K
  503. ; error reporting includes E_WARNING in the allowed list
    ' a" q- N; E2 P! w% T3 \9 F+ `
  504. ; http://php.net/report-memleaks0 k6 V1 Y2 A  E" _' m& ^1 V
  505. report_memleaks = On6 ?+ p9 ^! z" c# u3 ?
  506. 6 Q" m1 A; p% x( L/ {/ A  `7 R
  507. ; This setting is on by default.
    ! \& N# b  q0 M/ Q" b
  508. ;report_zend_debug = 0, S8 o8 b6 Q3 S1 I

  509. 9 I8 I0 i, ^. C: X* t
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value0 B$ `  V" z4 N8 d6 y
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    + M4 M: W& P3 M# Z
  512. ; however be disabled on production servers.
    - E  ?* R/ y3 K. x6 O4 G
  513. ; Default Value: Off4 D& d4 A5 J9 X! u8 U( `) j
  514. ; Development Value: On
    7 O/ L$ u! I" W$ C
  515. ; Production Value: Off
    * h: l5 {3 v/ m% r4 x- T
  516. ; http://php.net/track-errors
    4 |, R# Z& `& H9 }/ c+ k
  517. track_errors = Off) O% o* Q* l3 ~

  518. & _* ^+ m/ F, `' l& I
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    - k+ @" f4 F# n, r; j1 V
  520. ; http://php.net/xmlrpc-errors
    + w/ r; a0 G" q( F
  521. ;xmlrpc_errors = 0
    0 M8 \7 i3 Z. d. X( U! x

  522. ( ~# ?2 |# l4 J/ k3 O+ \4 {: a
  523. ; An XML-RPC faultCode; x( T% t/ _5 M9 w: Q' c" J
  524. ;xmlrpc_error_number = 0
    ; \8 W' n1 \5 [/ T6 i, S

  525. ! R. W! |: X$ f. [
  526. ; When PHP displays or logs an error, it has the capability of formatting the$ x! Y9 A: ^7 ~2 ?% u) r- f
  527. ; error message as HTML for easier reading. This directive controls whether5 g" e( l5 v# K4 m: O) j4 X
  528. ; the error message is formatted as HTML or not.* I# M1 p* }8 u9 n
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI* y1 I" y- {  L; L( h/ G# f9 K0 X
  530. ; Default Value: On
    0 L% N! W" b3 i# w% d* L
  531. ; Development Value: On0 G* Z- k' |! r! H# v1 @4 l, V* r& N
  532. ; Production value: On& P# y, o7 O) ~  b) l7 M
  533. ; http://php.net/html-errors. T# h; j: {4 o1 y
  534. html_errors = On
    1 [2 _. n. s& S1 u3 H* j4 L$ Z, }& h

  535. ; t6 n) L5 v2 H5 |
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP( w! p  t! Z- h3 o0 \6 C8 E8 E. L
  537. ; produces clickable error messages that direct to a page describing the error
    / Z! e  f' p# {  d% }3 V
  538. ; or function causing the error in detail.  ?$ g# `: V5 b: f8 x
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    & T8 ~5 J' h7 L/ w7 M
  540. ; and change docref_root to the base URL of your local copy including the
    - H3 N; n! R9 H2 G
  541. ; leading '/'. You must also specify the file extension being used including* `) H' k: F1 K3 k5 i* K  A
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    2 ^2 M! e: |( i4 r( B1 u
  543. ; case no links to documentation are generated.9 A( B$ R8 V$ U0 E  [/ Q: X
  544. ; Note: Never use this feature for production boxes.! B; ~! k9 Z1 L' p0 Y
  545. ; http://php.net/docref-root# D9 ~1 n0 k2 H6 a; Q
  546. ; Examples
    0 D' Q3 J0 a9 U, l9 E) j7 o
  547. ;docref_root = "/phpmanual/"
    0 ]$ O+ S1 t9 M. K! Z2 S' G! d
  548. 2 w. O+ `& h8 l$ O% P2 X* g7 B( V
  549. ; http://php.net/docref-ext$ A7 }* j* f2 c/ ~' f2 s  U
  550. ;docref_ext = .html
    3 Y0 s) p" v. g" L& F& i

  551. 2 }+ V2 N" q& F9 S' Z6 I, Q( Q6 r% s
  552. ; String to output before an error message. PHP's default behavior is to leave8 Q! g8 d! e. \2 u: D' d
  553. ; this setting blank.
    : y6 Y" ~% {4 U7 E0 S# t. T
  554. ; http://php.net/error-prepend-string
    : L( o: ~1 r! u( V1 e6 O
  555. ; Example:; @: @9 |5 o2 F5 U. E3 k
  556. ;error_prepend_string = "<span style='color: #ff0000'>"- [  L9 u! s% O* z  B1 L

  557. 4 ]( h! ^. J& d. t+ n: U; P5 Q! o
  558. ; String to output after an error message. PHP's default behavior is to leave
    " c, q! @% h. Z5 B% e) q4 l
  559. ; this setting blank.* w+ ~" a, d' o  q2 _% J2 E
  560. ; http://php.net/error-append-string2 C% _. K, z- g9 r, R
  561. ; Example:/ W% o5 y) ]5 _
  562. ;error_append_string = "</span>", M' M$ u- l. K' m
  563. ; K+ ~5 X) u1 B/ S$ B. f; H3 ^
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    , g) ]! X5 t7 [; \# v( c
  565. ; empty., t! K. A" d# X% P0 C
  566. ; http://php.net/error-log$ z0 w; f" K7 B. ?- d! b8 X& }
  567. ; Example:
    8 S1 |5 ~8 T0 d% ]& o$ ^1 _! W
  568. ;error_log = php_errors.log
    6 {! S9 H0 C. j1 c5 c" l) `
  569. ; Log errors to syslog (Event Log on Windows).3 z3 G, S8 U+ B7 B& [# a8 i5 k* K! w
  570. ;error_log = syslog! G5 Q/ s0 ]/ v& R2 l' ?% v
  571. 1 K/ R$ D5 U& K& U6 s. |
  572. ;windows.show_crt_warning
    & L: y% k' Q3 x% J
  573. ; Default value: 0  J# F2 U/ u6 O" e( m! a, M2 G4 B
  574. ; Development value: 0" A5 ^+ A6 P! \8 P' B3 h, X! Y
  575. ; Production value: 0
    - |* f0 ?3 a+ s2 l% S+ q! l
  576. ! G/ H; P, E/ `$ ~+ [4 g
  577. ;;;;;;;;;;;;;;;;;7 M# U; ^! M2 P6 l$ z) n
  578. ; Data Handling ;
    1 C. S. F  M9 M7 q1 I# R# j9 y; G) v
  579. ;;;;;;;;;;;;;;;;;
    1 Z; r2 p2 B8 P7 [

  580. - t& ]! P! P. `# X& j
  581. ; The separator used in PHP generated URLs to separate arguments.
    : ^0 j& v! U% U! v/ ~/ F
  582. ; PHP's default setting is "&".- e! t% t' k; P) n
  583. ; http://php.net/arg-separator.output
    2 f2 s" n2 C3 f' e% Q, I
  584. ; Example:
    0 C3 k0 h( }' a+ U3 Q+ I
  585. ;arg_separator.output = "&"0 ^9 Y2 r5 }  o" n' X% u* U" J9 y

  586.   }' s- `+ u$ m! t- r
  587. ; List of separator(s) used by PHP to parse input URLs into variables.' u7 g5 u; s" H3 |
  588. ; PHP's default setting is "&".6 Z  d! {3 N/ D9 {
  589. ; NOTE: Every character in this directive is considered as separator!" X+ P9 u, r0 t; t% r0 D& b
  590. ; http://php.net/arg-separator.input
    ! B* [# f: ^, d5 q! q: f
  591. ; Example:# t2 A: }: w+ q" e( i1 u
  592. ;arg_separator.input = ";&"
    9 g7 r8 T/ c4 T2 W

  593. + p% A/ J5 R6 n9 \' x; }
  594. ; This directive determines which super global arrays are registered when PHP
    8 K- r" a9 y7 I) p; x% K6 V
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    4 _# _/ T% W2 k- i3 N* |$ R5 ?
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty/ D4 f- c- D- w0 g4 ^( L
  597. ; paid for the registration of these arrays and because ENV is not as commonly6 e* ^$ f3 t* w# p1 w0 r+ f
  598. ; used as the others, ENV is not recommended on productions servers. You
    # I8 O; [+ w1 S5 n* k
  599. ; can still get access to the environment variables through getenv() should you
    2 U- B0 s& W( m( G& Y
  600. ; need to.3 d8 O, X' v$ z
  601. ; Default Value: "EGPCS"
    + F, ^! n% d: L5 J
  602. ; Development Value: "GPCS"% V9 W3 D, {% ^
  603. ; Production Value: "GPCS";6 [4 F' o" z  b+ p* a+ }& y+ K
  604. ; http://php.net/variables-order  A/ F8 T6 V* o
  605. variables_order = "GPCS"
    , z0 O' }8 U1 Z$ G6 a
  606. 5 ?  E9 i% _! T& m& ]: b. w% C6 L
  607. ; This directive determines which super global data (G,P & C) should be3 R, z; Y$ v2 }- ?
  608. ; registered into the super global array REQUEST. If so, it also determines
    - b! L  ]; Y/ ^
  609. ; the order in which that data is registered. The values for this directive
    % b2 }! x  G9 z
  610. ; are specified in the same manner as the variables_order directive,/ W# t1 T6 _: B) D' E# Z
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set* F4 n' _. c7 _) x
  612. ; in the variables_order directive. It does not mean it will leave the super2 ], f1 S% |" T# H5 J9 I
  613. ; globals array REQUEST empty.
    6 F2 J/ j( g0 T! z" z
  614. ; Default Value: None6 a" M8 e& W: g& p! M/ v% x
  615. ; Development Value: "GP"6 {- E& H( K9 t
  616. ; Production Value: "GP"
    : Y) I$ ^' t, c5 h. x& B& f
  617. ; http://php.net/request-order2 y! @; k* f2 W- `4 d6 a' P4 X5 N
  618. request_order = "GP"
    # T2 M/ g* ?- S5 c  N7 V  L0 a6 P

  619. 2 Z/ G: g" Y2 g8 C- Y
  620. ; This directive determines whether PHP registers $argv & $argc each time it# ~( a* Y: V% y
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script) ]6 `& F( P" ^) `% U
  622. ; is invoked. $argc contains an integer representing the number of arguments+ z, M& c# R" Q0 N# D3 X
  623. ; that were passed when the script was invoked. These arrays are extremely
    $ o# D( s0 C+ l* C) S' S" V  [7 b
  624. ; useful when running scripts from the command line. When this directive is
    $ d5 ?5 ^% w# D: N
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    9 p3 n: w$ [0 i% O& h  W8 g
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ; u: r: E! [0 x! \
  627. ; on production servers.. R- r% y; A$ F8 R+ o& x
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( n/ k2 l% P9 a% c4 t9 M- R  {
  629. ; Default Value: On; K7 H& y& \/ X$ @" u& f9 C
  630. ; Development Value: Off
    1 J+ l" F: ~6 b6 ^
  631. ; Production Value: Off( _1 K; m7 e# h1 N& X+ w" Z
  632. ; http://php.net/register-argc-argv
      W4 H# S  W& I1 S! W5 G
  633. register_argc_argv = Off8 x1 F4 }: y% U$ x+ y1 K
  634. & s$ G/ d+ X# M" |+ a! [; |0 Q: G
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're$ y& z7 p. ^0 W% [- o; t$ C
  636. ; first used (Just In Time) instead of when the script starts. If these
    $ A$ k. `' Y( E$ q5 t8 {* k
  637. ; variables are not used within a script, having this directive on will result
    / q  _2 p+ l  ^  k% a
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    / o8 B+ u( q. W0 i' g- T; D
  639. ; for this directive to have any affect.! }: g: N) A% ?( j" f, K# y5 g; j
  640. ; http://php.net/auto-globals-jit4 L8 _; S* A9 ~9 Y( J, r/ T
  641. auto_globals_jit = On
    % X1 H  m$ {$ ~( I; x
  642. - J2 f  S6 `% B# t! ]
  643. ; Whether PHP will read the POST data.' ^3 s* w$ H# h  T3 L5 U' B
  644. ; This option is enabled by default.
    6 U" a  r5 D# o; R! n, K4 L
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST/ k# g/ i, J1 r. X& u& o3 X6 o. _
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    ( d: \& [0 D4 C$ t2 `: W) ~
  647. ; POST data will be through the php://input stream wrapper. This can be useful% c6 K  ]3 w$ h7 J
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
      ~3 y. V. y4 J% T8 D
  649. ; http://php.net/enable-post-data-reading
    $ X& h6 J8 E2 A+ g
  650. ;enable_post_data_reading = Off0 q0 B- T# Z5 M2 W8 C9 h; s
  651. ' N3 s" r3 C5 E1 v+ f
  652. ; Maximum size of POST data that PHP will accept.
    4 K7 i1 E& Q$ k$ \
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading3 Y8 z3 g1 U* k- k. b# `  ]
  654. ; is disabled through enable_post_data_reading.+ W! z5 a8 d) ^/ H# o' ?& V
  655. ; http://php.net/post-max-size
    ) `" Z: @7 m/ |) p5 O
  656. post_max_size = 50M
    3 \- l. i$ I2 x3 F7 E# u, N& G

  657. ' _0 z3 S, A% [
  658. ; Automatically add files before PHP document.# _/ h& o6 v9 M
  659. ; http://php.net/auto-prepend-file
    ( m0 o+ n0 ^) x
  660. auto_prepend_file =
    1 V3 M& t/ h5 z) {7 @7 Q1 ~( M/ T

  661. . O( I# I; s( m: H' |4 o
  662. ; Automatically add files after PHP document.
    , r8 R0 D0 _: G4 C
  663. ; http://php.net/auto-append-file
    / Z$ J4 s; S- z4 k5 Y& l
  664. auto_append_file =
    2 E3 d9 J8 \) t/ {; T% B" B& F

  665. 1 h" u- K  \1 P7 J
  666. ; By default, PHP will output a media type using the Content-Type header. To
    9 o; V0 u7 |% A  C! K6 e
  667. ; disable this, simply set it to be empty.
    * q# [6 J+ V7 c
  668. ;% T. Y0 c0 O9 ^# r$ S
  669. ; PHP's built-in default media type is set to text/html.
    7 x$ U% _, i% D/ i; g
  670. ; http://php.net/default-mimetype
    ; d9 E3 b8 W5 E* p" C
  671. default_mimetype = "text/html"
    . l$ v; z; u8 Y
  672. : j1 M1 P! l) d/ P$ R
  673. ; PHP's default character set is set to UTF-8.
    7 _  ?: `, @3 n0 {# H5 w# t
  674. ; http://php.net/default-charset
    6 D; ^1 z$ W& K6 ]
  675. default_charset = "UTF-8"9 D3 G0 `  i. W& P

  676. 1 u' D6 ]4 j: q! T0 |
  677. ; PHP internal character encoding is set to empty.
    7 t3 {0 }8 F/ \" _4 E( a3 B
  678. ; If empty, default_charset is used.
    ! H1 I, s4 P/ G* Z; Y+ I' O! b
  679. ; http://php.net/internal-encoding
    $ I+ M8 p) e& c7 R( |
  680. ;internal_encoding =
    9 R" a* c  J. Q8 E. D2 w
  681. ( N4 C8 A* T0 N3 Q- e* y7 q; d
  682. ; PHP input character encoding is set to empty.
    - _4 g" b% ?# s& y7 ~$ w
  683. ; If empty, default_charset is used.$ Z' {8 V4 `$ \
  684. ; http://php.net/input-encoding
    1 |3 W4 _: y) H
  685. ;input_encoding =
    4 [& f, S6 N4 Y3 d2 h4 c
  686. ; D: `$ S1 {. K+ l4 ^7 B
  687. ; PHP output character encoding is set to empty.
    ; p) c( @* A' I$ [6 {& e
  688. ; If empty, default_charset is used.- r9 o* }4 x+ {7 s# f. H
  689. ; See also output_buffer.2 T+ L2 }7 z2 I
  690. ; http://php.net/output-encoding" p( H3 d2 k$ M$ B- @! U
  691. ;output_encoding =
    # L! c8 v. c3 H$ G- ^
  692. # S2 Y, t9 y. O4 r$ ~% A$ a- l
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ! O* r: m) u/ |( H+ R+ A/ C' Q, V
  694. ; Paths and Directories ;  E+ D( S3 m: A( l% T: _
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;4 {; M; O+ r' ]- b

  696. & ?; l8 ?+ X. G' G, ?
  697. ; UNIX: "/path1:/path2"4 x4 r/ Y  M* T* ^/ B
  698. ;include_path = ".:/php/includes"
    ; @& h. p( G6 d# T5 \8 Z1 a4 O7 y
  699. ;
    1 p3 h1 {7 U! G
  700. ; Windows: "\path1;\path2"
      P3 Q4 `( N0 b+ f' W
  701. ;include_path = ".;c:\php\includes"
    : R4 S0 u5 X' d; |' _2 c
  702. ;+ Z& J8 t% Z; `- s# Y
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    0 [: O% G/ c2 c& O1 Q: A( e, C
  704. ; http://php.net/include-path" z6 z- d) k0 h1 g, f2 E6 ?1 B7 z
  705. ; Y( a' v8 x+ E# e% Y
  706. ; The root of the PHP pages, used only if nonempty.
    9 X* }! O7 ~; E! C5 \  ]" H' m
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ; E* B& \- w: `- u( s- Z8 B
  708. ; if you are running php as a CGI under any web server (other than IIS)
    3 ~' X2 Q+ p# E/ n$ _% T
  709. ; see documentation for security issues.  The alternate is to use the7 S. _+ B+ x/ b
  710. ; cgi.force_redirect configuration below
    ! P- \& l" {0 U# ~8 j
  711. ; http://php.net/doc-root3 m1 p5 ?; Q- C4 ?3 B  s4 a
  712. doc_root =" N  b0 S$ n) `# T

  713. 8 S  c' d" Y% o0 ?
  714. ; The directory under which PHP opens the script using /~username used only- B, ^7 k. D" H  v8 h4 Z0 z2 k
  715. ; if nonempty.
    ) u7 S8 g; X  y9 b. {4 F) \
  716. ; http://php.net/user-dir
    4 ?2 e0 e4 f) E2 `
  717. user_dir =3 [# s2 \- W( a; |8 i2 ^9 f

  718. ) ^, ~+ I: Q, N9 o* B  f; Z. d
  719. ; Directory in which the loadable extensions (modules) reside.
    8 a7 a4 ]6 h/ X
  720. ; http://php.net/extension-dir0 `; s! n/ S, ?7 N# _' t3 P
  721. ; extension_dir = "./"4 X* r, N# _- C8 a) r( ~
  722. ; On windows:
    ) @5 I8 r# H' U0 L/ F) i$ z
  723. ; extension_dir = "ext"" I/ g+ A0 r; h( i" V3 o. M1 x

  724. 0 b/ w6 n- ~$ b! \5 R* h/ w
  725. ; Directory where the temporary files should be placed.
    % M, p# V5 D6 T# v* J! n$ [) W
  726. ; Defaults to the system default (see sys_get_temp_dir)0 X! ?1 m/ W1 Z- u1 k
  727. ; sys_temp_dir = "/tmp"
    & x% ^/ Q# H8 J  p# ^$ ^
  728. ! `. R$ W% |& |6 i3 U
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work  a( t# X. u; d, y" _
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
      }; J  a! l& o: d* E; i# l
  731. ; disabled on them.
    , W1 v4 `, u  B, Q0 ^0 r! B: y$ b
  732. ; http://php.net/enable-dl- M1 ]2 {3 t' ~# `  j
  733. enable_dl = Off
    ( }. C! w. T- p+ u0 l
  734. % O3 O2 h, N; U1 W9 n3 ~9 ]2 F2 h
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under2 C4 H" B9 }8 i( J
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can- Y8 A0 Z+ @  f& q# ^
  737. ; turn it off here AT YOUR OWN RISK
    9 b/ e% L9 a. c
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    7 i1 S( _- \5 Z* c* c0 w3 p7 W8 b
  739. ; http://php.net/cgi.force-redirect- o" v  C: r7 r% Z/ l! U
  740. ;cgi.force_redirect = 1! S2 U' G$ E1 G, G+ s
  741. 3 `* i, u8 K3 I, X" a
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with1 u  I% N& i$ O/ F5 _8 G& o. f
  743. ; every request. PHP's default behavior is to disable this feature.
    - B/ n1 \+ I: {- u1 Y8 g
  744. ;cgi.nph = 1* q+ {3 K1 u, u$ B8 u
  745. 5 ~. L0 I7 V: l* ~) j
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape! P3 b) y8 X( G6 O" F! e7 K( n: j
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ) \7 g% c- F; d/ @8 Q/ Y  W$ P
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
      U/ O5 P7 g0 X& M$ J, {
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ( x$ {9 }$ M' V
  750. ; http://php.net/cgi.redirect-status-env* m1 @) [2 ^+ S2 i
  751. ;cgi.redirect_status_env =; h  l. r1 _- x

  752. ( n( c) m/ V8 X! w% p0 u
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ) ?  u) a( B. c- }& F) \3 d
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    " E& K/ i" Y9 W& C. z& q) E* N
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    5 U' h7 v* J3 T3 I: k
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    / T6 _) V8 ~& D# \* I" X5 {$ F
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts- x. A% e' \" c( m9 t2 n
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.# @, t- V8 e6 c
  759. ; http://php.net/cgi.fix-pathinfo
    ! i- i. e. r/ N
  760. cgi.fix_pathinfo=1
    " V# d. X7 e* x/ b9 `4 H( r. T* b
  761. 0 _; W# t  ], Q2 V' Q5 f4 M! v
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ( F4 h3 W! J$ ^8 S' a
  763. ; of the web tree and people will not be able to circumvent .htaccess security., G; D( P0 G, b/ Z: R0 b8 Y
  764. ; http://php.net/cgi.dicard-path1 m' e8 f" ]# a. D
  765. ;cgi.discard_path=1% y0 m1 g" H) H; S

  766. ) j* U  n( M+ _" r
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate% \7 M8 _) V+ t  f3 s
  768. ; security tokens of the calling client.  This allows IIS to define the
    ( U+ r3 `- l& v; y8 J3 g1 _
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    % f+ Z9 p3 G% u" n4 d3 z
  770. ; does not currently support this feature (03/17/2002)
    ( J2 k: M) x! w. {3 o9 a% U+ t& c7 K
  771. ; Set to 1 if running under IIS.  Default is zero.
    7 V& c5 g7 H; l3 }9 H
  772. ; http://php.net/fastcgi.impersonate7 [( C$ ~" I% I: d) S! N7 g1 a' M
  773. ;fastcgi.impersonate = 1) Z# v$ \' N8 [- d8 P+ s. J! ^
  774. . U" |8 _$ R8 J/ n0 K
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    / f3 h7 U( q% Y/ ~0 D) M. e
  776. ; this feature.
    5 _6 q  Y* m- a; t& [
  777. ;fastcgi.logging = 0+ z; k9 u" ^2 j- G+ y3 N+ A+ c
  778. 1 k4 P6 N; o& e9 l7 o
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to! ~1 M2 S+ Y* y, A/ e
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that$ r1 ~: ^0 N* j$ m; \" N% _
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    4 j% d; U5 |  v1 D) D6 t! F/ V
  782. ; RFC2616 compliant header.5 Z7 D; G% S; _% m1 t
  783. ; Default is zero.7 [! _5 y8 y  L" V2 e1 C+ T
  784. ; http://php.net/cgi.rfc2616-headers. m  \4 A% ?' H' e8 N9 A. g! R$ i
  785. ;cgi.rfc2616_headers = 0+ L. _$ d2 c3 K5 r" p

  786. + z1 h# z, D$ k- Q) D
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!  |9 P! e& y2 v# U: r+ t- P* a3 g
  788. ; (shebang) at the top of the running script. This line might be needed if the% i/ M. V  x( H. P
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI% J; u9 L: Q7 Y$ f' v
  790. ; mode skips this line and ignores its content if this directive is turned on.. _0 U) G# m/ e# w+ M, ^4 T
  791. ; http://php.net/cgi.check-shebang-line
    + V$ [; a: c0 e( L: n! s
  792. ;cgi.check_shebang_line=1
    # o7 F( Q- r* w, j  n1 `/ u

  793. # B- m* M2 D: R3 l% f
  794. ;;;;;;;;;;;;;;;;6 U8 A# o$ q* g. c% S& p# I
  795. ; File Uploads ;5 k% B2 W+ U7 t- ^
  796. ;;;;;;;;;;;;;;;;' N3 s1 |. L* ]7 N. [+ r# @: n" \
  797. ) t% C9 |( _& n
  798. ; Whether to allow HTTP file uploads.- ^8 Q7 a, u2 X- u8 _* C' _$ D
  799. ; http://php.net/file-uploads
    2 k" y1 K/ B; p4 M1 Z
  800. file_uploads = On5 b) D6 R8 o5 r

  801. ! u+ r0 u$ Q* m: `2 ^7 b4 R) x
  802. ; Temporary directory for HTTP uploaded files (will use system default if not2 `# `4 i9 Q, O  J: T) c0 K
  803. ; specified).
    + h% {( X& z: K1 {4 L( _5 V
  804. ; http://php.net/upload-tmp-dir
    0 o' ~# b8 H2 O* _) k, F. I; ^1 J
  805. ;upload_tmp_dir =
    * ]- {2 e; E  W# L: L& A
  806. 5 S1 @0 N$ k& P6 r% j9 D% p. H9 ^
  807. ; Maximum allowed size for uploaded files.
    3 ]+ o" B. t3 `! ^, |
  808. ; http://php.net/upload-max-filesize, ?5 Y/ g+ y" V5 Z* u9 r" O
  809. upload_max_filesize = 50M
    ! d9 o* n, W7 L% M& n

  810. / w1 P& H- s  N) q' z) ]7 C
  811. ; Maximum number of files that can be uploaded via a single request$ A4 C1 N4 Q- ?6 j
  812. max_file_uploads = 20
    ( U+ U$ h8 b+ G3 ?. L  b
  813. 9 U+ `, J7 ~9 E2 J2 t
  814. ;;;;;;;;;;;;;;;;;;
    # a7 Y# d; f4 }( x: N- F3 f
  815. ; Fopen wrappers ;
    7 V6 \0 l/ G0 z
  816. ;;;;;;;;;;;;;;;;;;: I9 i, m5 P: N8 [1 @  s" v

  817. # E  h" W* q9 B, y8 g" t; p
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.& [' Y4 d; v( Z5 ?9 ~( W8 m
  819. ; http://php.net/allow-url-fopen6 \& b5 _6 D2 w' l
  820. allow_url_fopen = On
    , t/ C+ ^' I% q1 i9 i+ w  ]6 H, i
  821. 6 f9 w% c. `" R/ Q
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.8 X3 {& A# q7 j6 s0 n
  823. ; http://php.net/allow-url-include0 F  ~  W0 x' C% m
  824. allow_url_include = Off1 c  h: s2 t( l9 v0 P" g
  825. 6 N' u# g+ V  A! G+ @* B
  826. ; Define the anonymous ftp password (your email address). PHP's default setting: Q  i( V$ ^4 i1 i
  827. ; for this is empty.; o( @$ c. w" I* |2 T' ]! Q" u
  828. ; http://php.net/from  ]9 g, |  Y( s, M* ?
  829. ;from="john@doe.com"
    * d8 V; Q% e" t* i

  830. % Y7 n# A8 |; q. a8 c/ Y, t( C0 J$ p
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    8 f% j7 `1 P! a8 a- U2 c4 h
  832. ; http://php.net/user-agent  y- D/ q5 E' u0 W! D; T
  833. ;user_agent="PHP"8 X- F+ h% P8 v8 u5 X5 h. G& T
  834. ) Y% n: x% @( \! Z4 q* F
  835. ; Default timeout for socket based streams (seconds)
    ( l$ H! o+ W3 r# `
  836. ; http://php.net/default-socket-timeout
    - G# H9 C# J6 e4 d6 V  n
  837. default_socket_timeout = 60) `* t( R2 m  v- y

  838. & ^+ y0 o( E% n# s
  839. ; If your scripts have to deal with files from Macintosh systems,
    + X( s. f2 U9 K* B. B$ }
  840. ; or you are running on a Mac and need to deal with files from
    ! {7 o9 F9 e) }
  841. ; unix or win32 systems, setting this flag will cause PHP to
    . ~& O8 K2 Y* j, }4 u9 S  e
  842. ; automatically detect the EOL character in those files so that
    3 ?9 H% ?  J6 f; v5 X( ]
  843. ; fgets() and file() will work regardless of the source of the file.+ V" c, D" d# f% Z, R! l( w
  844. ; http://php.net/auto-detect-line-endings
    * ]' X$ ?! l! s# F! I8 ~
  845. ;auto_detect_line_endings = Off
    9 G; B/ ^7 ?4 K3 Z! s( [4 ]

  846. - V1 z- Q5 w5 Z) u$ [
  847. ;;;;;;;;;;;;;;;;;;;;;;7 r. b( z: s+ }# S7 _( R
  848. ; Dynamic Extensions ;8 f! N+ `. |7 n$ @, u3 s
  849. ;;;;;;;;;;;;;;;;;;;;;;) o, R0 v/ u* t! K
  850. 1 j, A1 N. \6 l( M& j4 j! H
  851. ; If you wish to have an extension loaded automatically, use the following! V% Y" X( S4 G# F+ p- L3 ]: M
  852. ; syntax:, m% P+ F7 W% e
  853. ;  u0 A5 ~1 D( t2 d, g0 E7 h) e
  854. ;   extension=modulename.extension4 x- F- i5 u( V* V, D- ^* x; g& Q* E
  855. ;
    # W% Q/ f& n7 L! ^# l- f" J" B1 C
  856. ; For example, on Windows:
    2 @; f/ h2 e- q* n; _5 f  w
  857. ;
    $ N2 S. U$ h' M
  858. ;   extension=msql.dll
    " {4 |- {& n, I3 f+ }
  859. ;, o/ @% U) U4 j
  860. ; ... or under UNIX:
    8 Z0 Z; N  U# j0 n8 Z
  861. ;+ t' e* P. T! S- m; y% |  t
  862. ;   extension=msql.so
    % l& N# Z% D  J+ L% k% X
  863. ;
    , A1 j6 b7 U  c2 e9 x1 z- W* Y
  864. ; ... or with a path:+ [3 P: e  @$ t8 z8 a
  865. ;. S* K3 J, ?3 W) L
  866. ;   extension=/path/to/extension/msql.so
    1 I, t9 h4 h5 h
  867. ;6 ^7 |+ y7 |9 X, B0 u- B
  868. ; If you only provide the name of the extension, PHP will look for it in its
    7 d! S* K- M9 t4 v$ V* g$ N3 x* c
  869. ; default extension directory.
    2 x, y* ^" I  G2 H
  870. ;
    / b' w% O4 Q" C5 A/ Y$ c; I
  871. ; Windows Extensions
    ) O) f6 h# C6 b! W
  872. ; Note that ODBC support is built in, so no dll is needed for it., G/ \; Z2 b! a% D
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    $ u. O! K- x+ G' z7 `* W/ h; u
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).( o& N  p" N6 Z% l) r, i+ i/ U
  875. ; Be sure to appropriately set the extension_dir directive.
    ' |4 U8 {; ?7 P' @
  876. ;
    ; ~3 y5 i/ y# j7 _
  877. ;extension=php_bz2.dll  o# d* d+ E7 d3 ~! @' c+ V+ X
  878. ;extension=php_curl.dll
    6 M" f! _8 [; E4 D- p2 C9 R9 U1 \! w
  879. ;extension=php_fileinfo.dll
    2 B# ~5 {: ^- a- r) u; v
  880. ;extension=php_ftp.dll1 U% s+ [8 {( O+ [
  881. ;extension=php_gd2.dll8 ~1 \2 T- ?$ Y- `
  882. ;extension=php_gettext.dll
    % I8 _( X2 z/ W5 s
  883. ;extension=php_gmp.dll# s: a* V; \8 f4 v6 e: d8 v6 R/ ?
  884. ;extension=php_intl.dll
    ( J6 q: @7 B0 B8 t
  885. ;extension=php_imap.dll- t8 u) d% @2 T! n3 ?3 @
  886. ;extension=php_interbase.dll
    2 K5 e8 u) C6 {! s& U
  887. ;extension=php_ldap.dll# d: N$ u) [. j+ O' F; T
  888. ;extension=php_mbstring.dll
    1 z$ k3 E, x* h' S- \1 _
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    * m/ V( z0 q% [% x! a' |" n+ p: F
  890. ;extension=php_mysqli.dll2 B% ~' s" e4 D5 V3 f9 c% l0 _9 }' _
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    2 _" W  {& y) Q2 t+ g
  892. ;extension=php_openssl.dll
    0 C% u% K6 I: T$ U3 k. D( K5 ]
  893. ;extension=php_pdo_firebird.dll8 G2 g% Q0 V& M" n$ L$ Y
  894. ;extension=php_pdo_mysql.dll
    : N# o, @1 O& Y  f' ]
  895. ;extension=php_pdo_oci.dll6 [+ j  `' ^& e  q' c
  896. ;extension=php_pdo_odbc.dll0 ~* F- Y! z2 l: Y$ }$ U+ ?
  897. ;extension=php_pdo_pgsql.dll
    9 s9 p( q0 W6 d2 W) Z
  898. ;extension=php_pdo_sqlite.dll
    - n% y! }( @7 M3 U* O: `7 ?& `
  899. ;extension=php_pgsql.dll
    8 [6 x3 W) r3 y* t' Z) ~# H
  900. ;extension=php_shmop.dll8 W1 u7 |# ~8 U& w
  901. 8 L. {" f  [( f$ P4 s! T6 d0 |& l6 `
  902. ; The MIBS data available in the PHP distribution must be installed./ ~& Z9 N  s* a' y* p4 y
  903. ; See http://www.php.net/manual/en/snmp.installation.php# G" T0 V3 N" ?: F& y* {$ Z' d6 S; n
  904. ;extension=php_snmp.dll
    $ a; q! d2 U% [4 A/ u
  905. $ ~. k9 k' W1 S$ d- d
  906. ;extension=php_soap.dll) F: Q6 f7 C+ U# w
  907. ;extension=php_sockets.dll" I2 }! F- W# M$ M* {
  908. ;extension=php_sqlite3.dll2 N  T& e7 Z& D  N$ N$ M: t
  909. ;extension=php_tidy.dll
    % s* G2 G* _* l) Z; j
  910. ;extension=php_xmlrpc.dll: I% j$ R- n' n- |7 H/ ^& V
  911. ;extension=php_xsl.dll
      j- N0 O8 L3 p( w0 A1 Y4 m9 }

  912. # n/ ]) k% a+ x- s% g5 U
  913. ;;;;;;;;;;;;;;;;;;;
    9 Z. O! k% h+ t+ D
  914. ; Module Settings ;1 s' r- J! y( A& B9 x3 S! j  k
  915. ;;;;;;;;;;;;;;;;;;;
    / c! x" g  ]. h0 L8 o6 c- ^

  916. 8 U1 [6 g3 t4 J+ C8 y
  917. [CLI Server]
    7 V$ p" m# J; B! H* K& ?" i
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    1 }  i; r) q) ?1 p" ~0 b* p
  919. cli_server.color = On
    # Z0 J3 c2 q1 F* O

  920. + d' O* ]( w# o$ y3 d: p, u
  921. [Date]+ p4 w- x2 n- @% C! B9 ^
  922. ; Defines the default timezone used by the date functions2 j% s4 V0 A8 {0 ?/ |  @
  923. ; http://php.net/date.timezone
    ! o$ `$ Q5 I9 d
  924. date.timezone = PRC% v1 q7 N% e* W
  925.   D' O  ]# M) F* T( U" v7 M' i, x
  926. ; http://php.net/date.default-latitude
    : R/ I8 `  }1 H/ b" H( k* D
  927. ;date.default_latitude = 31.76676 x# o5 V1 `) s. i% k5 b

  928. $ o9 F! D9 G3 @# R
  929. ; http://php.net/date.default-longitude
    8 t& a6 n8 Z2 M$ V' S
  930. ;date.default_longitude = 35.2333
    & |6 p* a7 M. |* g1 S  a5 j

  931. / h3 _- L+ K# \, ?+ ?* V' B# v3 V
  932. ; http://php.net/date.sunrise-zenith
    3 |$ [; d/ u  r6 h
  933. ;date.sunrise_zenith = 90.583333
    ( `5 U) t' m& ~: u$ V* y
  934. ! m3 w' D6 L6 V# |0 Q' V
  935. ; http://php.net/date.sunset-zenith5 X' ]) {; L- ~) g3 R$ h0 y
  936. ;date.sunset_zenith = 90.583333
    3 i5 \7 h5 p; K% l! S  D! a! P$ B

  937. % _! q( [' s0 `6 Y6 {, A
  938. [filter]
    4 L6 d2 U* B; P4 Z4 }- P3 `  Z0 K
  939. ; http://php.net/filter.default; n: c+ G+ }. \- Q& V) b
  940. ;filter.default = unsafe_raw, a" ?. e; o; c- M+ v% L
  941. * V! e- M  R/ O4 \* x
  942. ; http://php.net/filter.default-flags
    7 i$ y. p% e' j" }& _* D: c" D
  943. ;filter.default_flags =$ S# s* o9 }6 d' O% z
  944. / O0 e5 a5 e, A# E* f3 N2 Y( [# f) j' s
  945. [iconv]
    3 ?* A" @) E# u( l9 {( f
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    + S  o' B% @+ m  f
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.# T2 w0 r% c; R" x; l
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ) I/ U" X# d. t$ f2 @
  949. ;iconv.input_encoding =
    , O- S% |! M* T+ w7 l# ]+ ?

  950. ! N+ V' P" P8 Q, \7 x9 {4 e  n
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    + i4 z# m( R) t6 }& V5 ]2 d
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ) \/ i+ [: Z  p' l6 \
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding5 a1 s  A8 ^* J/ @  ~, G
  954. ;iconv.internal_encoding =0 X& o0 p3 x& J6 x. A8 T

  955. ' f! J2 h7 |  s
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 B3 L# I! W" ]. ^; {2 e( o
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    2 Q; u# [/ ?( F% v9 y
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding1 \. p0 {- K' a; \9 T! }
  959. ; To use an output encoding conversion, iconv's output handler must be set4 i% _1 {- o) `' j$ v7 Y6 x
  960. ; otherwise output encoding conversion cannot be performed.
    ( p( }" e! I+ B, g; e# f
  961. ;iconv.output_encoding =
    / ]/ r) N6 V) t$ x  G
  962. - q! p% U  `: A0 v& \! u( y+ z" ]
  963. [intl]" c/ j2 P& ^( F  [1 u1 j
  964. ;intl.default_locale =9 ?5 ~( e1 R5 c1 o8 G2 z; e9 W
  965. ; This directive allows you to produce PHP errors when some error
    * z+ _! V7 F0 l9 ]5 w' Y
  966. ; happens within intl functions. The value is the level of the error produced.* m0 U0 ]9 O. z
  967. ; Default is 0, which does not produce any errors.4 \6 Q' [" Q7 l8 V& N! i& u) ]' k
  968. ;intl.error_level = E_WARNING7 K! q7 d- h- R& R1 q" G; G
  969. ;intl.use_exceptions = 07 V* q, O: v% }7 R; H

  970.   e8 U6 k8 v* H
  971. [sqlite3]+ A6 w, k& A: Y
  972. ;sqlite3.extension_dir =
    / Q. F2 C% X/ I" l# w

  973. ) M- h5 M' g6 v) }9 y" T
  974. [Pcre]& I8 B: I( I' B
  975. ;PCRE library backtracking limit.6 ]3 w: m3 Z$ j7 W+ Q! v
  976. ; http://php.net/pcre.backtrack-limit' u, t, q& v% m+ m& q4 w! l8 Y
  977. ;pcre.backtrack_limit=1000003 J: J1 G) f' i

  978. : B  J8 V: P& q0 ]" I" P5 W3 D5 o  u/ u
  979. ;PCRE library recursion limit.0 l! a" R* m3 J. L9 q, _/ E. i  k
  980. ;Please note that if you set this value to a high number you may consume all! n# V6 y8 A; p! S3 w: X. H
  981. ;the available process stack and eventually crash PHP (due to reaching the" [" |* V# [  V2 q8 s' I
  982. ;stack size limit imposed by the Operating System).' s' O) }, B: K( ?/ H0 n% q
  983. ; http://php.net/pcre.recursion-limit7 o: s( y4 h6 j/ p; v
  984. ;pcre.recursion_limit=100000, z3 P$ u& _7 ]0 z) u

  985. & p- }% F4 q+ _7 P# e
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE/ e% m; Q, h5 e/ T0 o, i. L! |
  987. ;library to be compiled with JIT support.
    & X2 u1 \& T1 N8 j& o3 C% U
  988. ;pcre.jit=1, c; I" A% M/ W8 n% }
  989. & B0 a# a% D4 a0 E
  990. [Pdo]
    # _9 \  W( _- ?( c3 j9 S  \8 F* X
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"2 Y* g7 G! _+ L0 m2 H0 z
  992. ; http://php.net/pdo-odbc.connection-pooling8 o# R$ U& M; T. s# ~) t. `  B
  993. ;pdo_odbc.connection_pooling=strict
    . g* q4 \3 r  b5 E9 d: ~

  994. . c& g1 t" m. H
  995. ;pdo_odbc.db2_instance_name
    5 C5 s8 v" z  I1 t1 U+ Y! X6 C
  996. 6 q/ d) H4 g- r! r4 J1 v
  997. [Pdo_mysql]# x; h6 }' y/ ~
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    % k* s! p  g" I
  999. ; http://php.net/pdo_mysql.cache_size* F) \( Z5 [% |4 `% |7 E* Q  D
  1000. pdo_mysql.cache_size = 2000
    # S, f5 A! W' {. d, G  k( w

  1001. - R" A; R. {8 y' V8 ?9 `9 w) s
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ' C7 x& [7 [( X7 g1 i  k  E
  1003. ; MySQL defaults.! t6 G7 z% x- J+ p- A' r4 j% _
  1004. ; http://php.net/pdo_mysql.default-socket
    ; x: N% g/ Q( @0 Q2 p
  1005. pdo_mysql.default_socket=; |% G& }8 Y- r( C

  1006. . L7 _% w  [3 R
  1007. [Phar]  P1 B! y0 [. l- j2 p2 d
  1008. ; http://php.net/phar.readonly
    ! u) b5 X5 Y1 I$ ~2 c- N+ H8 N
  1009. ;phar.readonly = On+ c- l6 S, e' L* A8 H

  1010. " @, t, }$ T! ]6 r7 f
  1011. ; http://php.net/phar.require-hash! m* b1 B3 f: C
  1012. ;phar.require_hash = On
    9 g9 _' ^- J% u5 ]0 f# G+ w

  1013. 2 ]! d# V, [% @2 X/ i) q8 e
  1014. ;phar.cache_list =
    - x4 }% R9 E4 e3 D
  1015. 9 X5 g0 u& |: S8 b
  1016. [mail function]) g( {* U% ]( L, z
  1017. ; For Win32 only., r- Q) B2 S+ }8 t+ f+ i5 e! ^
  1018. ; http://php.net/smtp
    1 x/ m2 L- c5 a1 O* h
  1019. SMTP = localhost
      E+ {0 ^9 ~" E0 Q# B
  1020. ; http://php.net/smtp-port4 B5 {, I, s% P+ W$ I0 i4 y5 n
  1021. smtp_port = 25; _( P: J2 V' d) @( w/ e; |
  1022. $ h: N: ?$ `0 |( @5 u; e1 O5 x
  1023. ; For Win32 only.
    / e% D9 w2 |$ L3 \2 s
  1024. ; http://php.net/sendmail-from7 t  M2 L8 U+ q  H0 ]6 b5 O( F
  1025. ;sendmail_from = me@example.com' @4 T7 d1 T! R6 U4 R6 ~0 U( M
  1026. & h8 o% t& D6 D! Q
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").1 g* c: d1 b% H# Q7 B. d% P5 w
  1028. ; http://php.net/sendmail-path  m2 X2 n( z" q' f: |% I
  1029. sendmail_path = /usr/sbin/sendmail -t -i% {4 Q1 }- |5 @+ R+ |
  1030. - P1 {) X8 s7 q$ q5 u
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    + M$ d! j' [1 H, p" u
  1032. ; to the sendmail binary. These parameters will always replace the value of1 R1 q' `0 I8 K9 h+ I
  1033. ; the 5th parameter to mail().
    ( q3 l' d  c8 d( t) i
  1034. ;mail.force_extra_parameters =. f/ @2 u7 Q1 f8 K
  1035. 5 g1 @7 C, Y; e- z- ^
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    & ~4 ?3 W& u4 W& ?
  1037. mail.add_x_header = On
    7 c) B1 D1 B( v

  1038. " A- i( n$ L1 K2 j: p  b
  1039. ; The path to a log file that will log all mail() calls. Log entries include# b. a: `! G2 M+ r1 n2 Y% w
  1040. ; the full path of the script, line number, To address and headers.
    / l# p; \% K$ L2 R# v8 M$ n8 n
  1041. ;mail.log =
    5 n8 m. A3 I( Z( I' M0 |( W
  1042. ; Log mail to syslog (Event Log on Windows).1 i1 p% E! X$ G( H) ^. _$ O* H. e
  1043. ;mail.log = syslog$ T* ^4 Q' a0 |' U+ u$ l$ X
  1044. 4 \4 I4 I- m2 l. Z8 r9 n7 v
  1045. [SQL]+ T: N) _1 P9 w
  1046. ; http://php.net/sql.safe-mode
    ! s* ~. |4 r; z5 q# \6 x: P
  1047. sql.safe_mode = Off
    / ^9 ~4 M4 f" q

  1048. ! W: K" e* o7 a+ @- D3 y$ A0 V
  1049. [ODBC]
    ; J7 ^4 E, _1 i* K5 [6 f) q1 [
  1050. ; http://php.net/odbc.default-db8 j& p4 a( S  n" }3 L# l
  1051. ;odbc.default_db    =  Not yet implemented4 g( H0 |- {, \; ?

  1052. 3 F! B  d4 t) o# G9 |% X9 ?
  1053. ; http://php.net/odbc.default-user
    ; O% {9 @; [, R! w% |+ Q5 M- q1 P
  1054. ;odbc.default_user  =  Not yet implemented
    3 k5 T$ f( u$ z; q2 w- i

  1055. 1 L& M' d( g7 X
  1056. ; http://php.net/odbc.default-pw
    ( f8 ?! |# D7 F4 S
  1057. ;odbc.default_pw    =  Not yet implemented0 H# k7 m( I: }8 G: q

  1058. : K) n2 u8 v) J0 A% T, }! _
  1059. ; Controls the ODBC cursor model.5 L! g7 L2 f6 j2 y7 ]$ c
  1060. ; Default: SQL_CURSOR_STATIC (default).
    # c* R6 g8 M! P/ `9 r' e
  1061. ;odbc.default_cursortype
    # t% V: n9 W8 e( u

  1062. . [  r4 V, _2 K: x
  1063. ; Allow or prevent persistent links.- ~) @7 Y; \9 }3 M# E$ u
  1064. ; http://php.net/odbc.allow-persistent
    : ^- v' P( ]+ Z
  1065. odbc.allow_persistent = On  z8 ?4 W& ]8 o$ O& ^. J( A
  1066. + H+ B; |, d' w* }4 w
  1067. ; Check that a connection is still valid before reuse.
    : ?$ R) o$ w: n2 E
  1068. ; http://php.net/odbc.check-persistent
    : ^2 Y, _1 |  H0 M  y3 M+ u
  1069. odbc.check_persistent = On
    5 M  @' |/ T* x, a; G/ [& E
  1070. 1 T( K& |" x) z( o5 V: N
  1071. ; Maximum number of persistent links.  -1 means no limit.* I, C9 }8 I+ L
  1072. ; http://php.net/odbc.max-persistent. A6 V' v: W& I* K$ r7 n
  1073. odbc.max_persistent = -1
    % Z) W9 |5 \9 u& V0 y# z, y

  1074. 0 D! p, r+ w7 t4 Z
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * @8 [, ?2 b4 y8 f: N
  1076. ; http://php.net/odbc.max-links
    ! v) `( x  j. ]. ?
  1077. odbc.max_links = -1
    " ?* D% ^0 D: }" d( |* `2 i
  1078. 1 D! ~% ^  Z; _- x
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    8 B" W+ l/ |( h* _
  1080. ; passthru.
    2 E- O/ f. {3 I% Q! T
  1081. ; http://php.net/odbc.defaultlrl( `8 s% j: u; V1 a
  1082. odbc.defaultlrl = 4096; q7 z1 {7 a, X! M

  1083. : v8 }! Y: \) s( k
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    # c/ K7 I- x) v
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation" b% ?6 \: f/ v3 y. u/ P
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode) |  n! g+ ?8 P$ _. C; d" d
  1087. ; http://php.net/odbc.defaultbinmode' ]$ z% A& R; W) c( A) p
  1088. odbc.defaultbinmode = 1
    . t, M# E) h3 I- u8 K) i

  1089. 9 ?) v3 U* r$ J& \* e9 {' L! T
  1090. ;birdstep.max_links = -1
    ' l! g( Q9 P# s9 U% H+ G$ E+ f
  1091. ' Y1 A1 {( m1 D0 J3 e- [- g. Y+ S
  1092. [Interbase]& E( F% x" x8 F' g0 p; u1 A0 g
  1093. ; Allow or prevent persistent links.$ {6 d- s' Z- [  E; }
  1094. ibase.allow_persistent = 1
    : @0 H9 V# c4 y. O& C! ~- M
  1095. 7 o9 H; T( p. S$ x; C/ I
  1096. ; Maximum number of persistent links.  -1 means no limit.) L% d9 ?% {% |) v. Q/ S, k
  1097. ibase.max_persistent = -1
    7 v3 P4 O! K3 F
  1098. 5 @4 K2 g% M1 M/ G9 ~: H# p
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % ~2 k2 l# k. G4 }. {( J; ~' q
  1100. ibase.max_links = -10 w; W9 Z  f/ D& K7 \2 @! T" w
  1101. ; Y  h! |; `1 R, P9 n7 ?% e2 F
  1102. ; Default database name for ibase_connect().
    + Q  J3 l8 ~6 y  s- s# V9 N
  1103. ;ibase.default_db =2 Z" J) A1 h* {; q+ {$ V% a1 }/ ?7 U

  1104. - x0 N6 d5 \( G
  1105. ; Default username for ibase_connect()." @9 Y) y; ~% A3 \" {( U
  1106. ;ibase.default_user =+ V  Q' J4 p/ J4 O; Y$ r: s
  1107. 9 }  I" [% b5 C, K5 @* R
  1108. ; Default password for ibase_connect().
    " W' B  [$ p6 A" A
  1109. ;ibase.default_password =$ M5 ]. A; B# Q

  1110. ; g1 C" E; d1 H! N# V
  1111. ; Default charset for ibase_connect().; t7 H: D; t. }; T7 E1 S' Y
  1112. ;ibase.default_charset =" t# k1 s6 `' g8 g8 X! J6 S
  1113. 0 ]: h8 o3 N0 k- Z
  1114. ; Default timestamp format., N2 m  S! E" G2 z; j
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
      o1 a6 B2 @( `$ A* J! [
  1116. " [1 @# S7 ~& F6 t6 P( C- B
  1117. ; Default date format.7 B6 c0 s) C0 z7 V( m  p% f
  1118. ibase.dateformat = "%Y-%m-%d"2 f$ b( F) q5 R+ [" q2 ]

  1119. , h- X. y$ ]9 T  a( s4 }5 L
  1120. ; Default time format.
    7 A- `* F  `- R+ i
  1121. ibase.timeformat = "%H:%M:%S"9 ?5 o: {9 T; z- }$ x% r

  1122. 8 W# y. H2 p! D+ k# L
  1123. [MySQLi]
    . z7 `6 }0 j) Q7 ?1 A+ @

  1124. - C' N' g$ o0 K! X1 a8 y! c
  1125. ; Maximum number of persistent links.  -1 means no limit.: s% T# `; t2 {
  1126. ; http://php.net/mysqli.max-persistent6 U3 y. }9 R4 Z9 K
  1127. mysqli.max_persistent = -1
    1 P+ Y; C6 N9 H7 O

  1128. ( _; Q* |9 [0 M$ m5 Z% _# T7 C  u9 s
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements. I" m8 N2 v( z  a
  1130. ; http://php.net/mysqli.allow_local_infile
    ( _8 O# u! X) T9 H/ f6 ~9 ~1 n# ?
  1131. ;mysqli.allow_local_infile = On( G8 u) r4 Y9 A9 L
  1132. 5 Z; }7 ?+ w- N% W( g
  1133. ; Allow or prevent persistent links.* F4 M6 x: X  ?/ X1 R  a* j
  1134. ; http://php.net/mysqli.allow-persistent) W6 Z) }+ n. I( J; u1 s) P% `, H
  1135. mysqli.allow_persistent = On/ W# \6 N6 ^9 D- {& ?  X* b
  1136. ; Y8 z9 g' P& r
  1137. ; Maximum number of links.  -1 means no limit.
    ; R, d& a# ?( C0 u* R; L1 e& g
  1138. ; http://php.net/mysqli.max-links
    . q9 t- `* I+ v* Z) s
  1139. mysqli.max_links = -1
    6 A0 H+ q  S3 T
  1140. : F2 y9 e( Q. o
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 ~3 G6 ~" C% f1 ~4 O6 L, K8 Y
  1142. ; http://php.net/mysqli.cache_size' z* ?2 Z' _( M6 u9 x0 e, e
  1143. mysqli.cache_size = 2000  j/ @* T" I% L
  1144. $ ^6 P. W  j- A- [+ E+ d
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    9 W! ^% h* h- _, }+ y
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the, c4 o! ?& I, {, q2 d
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look( X$ U, t5 u6 e0 X
  1148. ; at MYSQL_PORT.
    # h7 q) j" y0 Z* z3 l
  1149. ; http://php.net/mysqli.default-port
    4 _9 U7 h, N& R' ^" m
  1150. mysqli.default_port = 33067 j. M( L- A# O
  1151. 2 K# T1 D1 j  p3 d: k5 F* S
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 C! {. b0 e& t7 {2 ~) V* y
  1153. ; MySQL defaults.8 i! W, u7 H% \7 ]$ @% ^
  1154. ; http://php.net/mysqli.default-socket
    2 i# M* s) u5 K3 @
  1155. mysqli.default_socket =. L$ `4 t4 \9 D( J1 s0 n( |8 @( w

  1156. 6 o% Y. h% `: o$ U1 p7 S
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).2 t/ [. @4 Z, z' I& o
  1158. ; http://php.net/mysqli.default-host6 e4 D1 Z, L1 G, S# q% ]; P9 Q
  1159. mysqli.default_host =
    ! E  U% f7 l. I$ b9 P

  1160. - Y/ p0 Q4 W- n4 K1 L  x- o
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).9 n' t" s9 c8 \% ^9 }
  1162. ; http://php.net/mysqli.default-user: g, t. ]: k1 {2 P. i! z* o
  1163. mysqli.default_user =
    7 [1 W* O6 [/ u% N; h2 z

  1164. # l# p+ \7 [" b  n2 ~
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    : c' Q( s+ `# l' ]+ O
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.6 k3 z& B- ?8 L* r+ `9 R
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"): e2 N% D2 {% w4 k4 O7 {% [
  1168. ; and reveal this password!  And of course, any users with read access to this
    8 D* s" O4 V8 S" {2 ]+ o# @
  1169. ; file will be able to reveal the password as well.- b# x0 m0 \% c, N
  1170. ; http://php.net/mysqli.default-pw: t0 R% [5 M! N# E/ e/ Z3 f
  1171. mysqli.default_pw =7 l/ B' g; R, W) [* _5 I% u+ l
  1172. 3 P: R$ R6 N2 _$ ?6 m5 i6 F
  1173. ; Allow or prevent reconnect: o* v. |% j5 @. p; n* _
  1174. mysqli.reconnect = Off% e7 z$ k1 v: X& j+ a9 B8 {! B+ K5 j/ i4 _

  1175. ) d) w; A0 `+ f  T& q& i: Z5 e
  1176. [mysqlnd]
    : f' R' ^5 u+ S- z  `. g
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be$ P+ f/ M* e4 p+ m& ^8 r
  1178. ; used to tune and monitor MySQL operations.4 @) W0 b6 k$ a: a6 c0 D. W
  1179. ; http://php.net/mysqlnd.collect_statistics+ w6 k; P6 o0 z' I: c, {+ [' \* o
  1180. mysqlnd.collect_statistics = On
    7 F2 Z3 N8 Q% A

  1181. $ P5 f: A7 N8 c% s6 O6 c
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be6 i1 n' g9 S* I
  1183. ; used to tune and monitor MySQL operations.
    ' l0 U; `: y8 B" ~* I$ W; a
  1184. ; http://php.net/mysqlnd.collect_memory_statistics# k& y0 d6 a, z8 o, G+ p
  1185. mysqlnd.collect_memory_statistics = Off* q7 m. m  [1 K$ w) T: b. }

  1186. * r# k: Z, h. E
  1187. ; Records communication from all extensions using mysqlnd to the specified log; Y% a+ D0 e' V; T
  1188. ; file.
    . Z0 p6 p7 l5 Z3 U9 }, G/ O
  1189. ; http://php.net/mysqlnd.debug/ @3 U7 B7 v& w+ ]) {  ?
  1190. ;mysqlnd.debug =( D1 a9 R+ e+ ]7 I
  1191. 2 X8 n6 M2 ^. R5 Z
  1192. ; Defines which queries will be logged.
    6 d2 B5 n4 `% D' h$ s# C
  1193. ; http://php.net/mysqlnd.log_mask  q: C& X: F. V& C8 _8 M. @( D
  1194. ;mysqlnd.log_mask = 0, U1 Y( A9 d& |4 R! ~+ T" e7 s

  1195. . h0 a2 k; h& q# K) d
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ; Q; ^2 t. w4 [& u; y
  1197. ; http://php.net/mysqlnd.mempool_default_size' o) \* ?% `4 P" r$ Q$ E  p5 S
  1198. ;mysqlnd.mempool_default_size = 16000
    $ E: `( N/ R: }+ t  D
  1199. 6 @9 P! _7 W; Y9 {. ~$ c1 a3 K
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    . D8 O) V7 j. j7 Z$ v* o; Z6 K  x
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ( n! ]* v3 j( C8 x0 G+ p6 M) m( m
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
      z! I. x! s# |6 t2 K6 Q! w
  1203. + g. e' ~* H9 X  E7 [
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ' O/ N6 F1 x3 W$ g8 l
  1205. ; bytes.
    0 F9 {+ _8 H- W+ K, G
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    ) J$ z3 w. K, ^$ D* U
  1207. ;mysqlnd.net_read_buffer_size = 32768% J/ P1 _$ s5 d3 d( y* j8 }
  1208. " n% o& `  G! `
  1209. ; Timeout for network requests in seconds.% }" S5 x- s7 |: m1 J
  1210. ; http://php.net/mysqlnd.net_read_timeout
    + l1 Z/ ]$ `/ E) H2 S- E' x9 \/ \# ?
  1211. ;mysqlnd.net_read_timeout = 315360004 p2 i3 L+ c1 F: X: j
  1212. 5 ]7 L% E: l/ E" {! ]
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA% v7 V( o+ a& Y) L& F4 ?' J
  1214. ; key.1 Q/ X9 ^. h( x1 h. C( g$ Z
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    ' g9 g- p9 r% I5 a3 c
  1216. ;mysqlnd.sha256_server_public_key =8 [* @6 f8 o' |: F$ `3 h

  1217. ) ]% q; H+ \+ T0 S2 ?$ N& y* m
  1218. [OCI8]: N3 z  {0 s0 v. O& h
  1219. 2 @9 m  V6 U& a
  1220. ; Connection: Enables privileged connections using external
    ( B- G% L# W6 U: U
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)& C; W* r! |5 R, _4 ]
  1222. ; http://php.net/oci8.privileged-connect
      H# ~; G0 V; P; s$ z" w
  1223. ;oci8.privileged_connect = Off
    " C3 Q/ [3 D3 ]! n

  1224. 8 Z+ c* k; k9 d/ u5 y6 Z
  1225. ; Connection: The maximum number of persistent OCI8 connections per3 V8 }  I8 F8 l5 b3 K) \  S
  1226. ; process. Using -1 means no limit.  o% A9 f+ a: y$ ^* v
  1227. ; http://php.net/oci8.max-persistent
    6 |  [6 \" l% @) a! g& Y# y
  1228. ;oci8.max_persistent = -1
    ! t5 i; n' Z0 Y2 Q$ ~1 M

  1229. 4 k) A/ b/ m1 {# K. j6 P- f$ i
  1230. ; Connection: The maximum number of seconds a process is allowed to6 E1 V7 C( a9 j7 U' Y9 v' M) ^! X
  1231. ; maintain an idle persistent connection. Using -1 means idle  Q3 u- e8 @2 h% Y2 v( w
  1232. ; persistent connections will be maintained forever.
    ) N( V, Z9 w" o! m
  1233. ; http://php.net/oci8.persistent-timeout: J* X' R9 [, _) k% ^
  1234. ;oci8.persistent_timeout = -1
    ( R% m$ ?$ R: R+ P- a' u, V, z

  1235. 8 F* S6 }' J- p& u
  1236. ; Connection: The number of seconds that must pass before issuing a) G/ c/ m# v% M
  1237. ; ping during oci_pconnect() to check the connection validity. When% d% C2 ?% |) I
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    1 t3 }4 r$ o9 o1 j, u
  1239. ; pings completely.
    3 f3 k# f' R6 ~: N
  1240. ; http://php.net/oci8.ping-interval
    , g. u5 ?, D  _  g1 K9 Q: l1 K
  1241. ;oci8.ping_interval = 60
    7 s3 X- m1 J9 F7 _) i( N
  1242. 8 z( c1 }. y& J: }& Q8 [1 p! b
  1243. ; Connection: Set this to a user chosen connection class to be used
    " W0 c' C+ Y0 i; p/ B% S. }
  1244. ; for all pooled server requests with Oracle 11g Database Resident, [6 G( p% f# [( t
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    : C" c! h4 U) Z
  1246. ; the same string for all web servers running the same application,
    , T, S& n& H  S  x  o
  1247. ; the database pool must be configured, and the connection string must" Q5 x; G6 h( X! y# X
  1248. ; specify to use a pooled server.% I/ C/ X- Y. D2 H$ N/ p
  1249. ;oci8.connection_class =# r$ o( k9 ?; ~* [& K0 P3 F

  1250. ; \% @9 A5 y! Z4 \& \4 G# a1 M
  1251. ; High Availability: Using On lets PHP receive Fast Application) ~/ @5 p8 v4 k3 U; g3 x! x
  1252. ; Notification (FAN) events generated when a database node fails. The
    5 ^, \, @) X& U' o
  1253. ; database must also be configured to post FAN events.# V* z$ z1 z% B
  1254. ;oci8.events = Off
    $ N# Y4 F# k1 _% o

  1255. ' Y6 b( K7 V) F! L/ P# a
  1256. ; Tuning: This option enables statement caching, and specifies how
    ! C3 X& j* X! \, T* V, e. g
  1257. ; many statements to cache. Using 0 disables statement caching.
    9 B. E7 N' o; s0 G
  1258. ; http://php.net/oci8.statement-cache-size
    + a; E0 r7 N- `+ X1 Q
  1259. ;oci8.statement_cache_size = 20- |& z! J& A$ n) ]3 ]6 g
  1260. + R: S+ w( f% A. z! T
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    * b* P& O5 U6 u% c* d
  1262. ; rows that will be fetched automatically after statement execution.
    & X0 H: `, X: n2 R% l' u) \2 l
  1263. ; http://php.net/oci8.default-prefetch) f6 Q! q% V- ]: F' {5 X
  1264. ;oci8.default_prefetch = 100
    + A0 k# ]0 o2 M

  1265. ' `6 `6 I/ H, |& h: C
  1266. ; Compatibility. Using On means oci_close() will not close
    ' N6 S* v7 m+ U
  1267. ; oci_connect() and oci_new_connect() connections.
    & v: S7 T3 K/ w+ K- O
  1268. ; http://php.net/oci8.old-oci-close-semantics. y- v8 {8 @0 e: G% r) _
  1269. ;oci8.old_oci_close_semantics = Off
    8 ^1 w; w/ Q* g9 x9 ^
  1270. 1 F: \1 l$ a0 V, [5 V% S% L% s
  1271. [PostgreSQL]9 f9 F/ r' h; {. r$ l8 g
  1272. ; Allow or prevent persistent links.
    . _+ b8 L, Q2 x. b, e* C6 H) [
  1273. ; http://php.net/pgsql.allow-persistent
    ( W1 L- q. }8 O; a" M0 n% R
  1274. pgsql.allow_persistent = On
    * @- p- R( n1 j; H; g# M' Y
  1275. - }% |  v; r) _3 i
  1276. ; Detect broken persistent links always with pg_pconnect().
    ; E7 B1 c. H0 f7 Z
  1277. ; Auto reset feature requires a little overheads.( x! A$ v- W0 V+ m9 i6 D$ v
  1278. ; http://php.net/pgsql.auto-reset-persistent) V& l3 ]% v2 t3 h, F
  1279. pgsql.auto_reset_persistent = Off
    6 \2 g/ a$ q% ?; m5 q( c# J
  1280. - I# V! M  o% H+ Q0 V  l( M
  1281. ; Maximum number of persistent links.  -1 means no limit.
    7 v0 V" j& w" k: z; {2 e
  1282. ; http://php.net/pgsql.max-persistent
    # b1 \4 [$ ~' k
  1283. pgsql.max_persistent = -1- D! h8 I4 r! k, i$ U

  1284. / H* O3 J6 o0 e5 i
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.' j. X" n9 T& N. F! K& w
  1286. ; http://php.net/pgsql.max-links; d9 |3 C# I& A$ B
  1287. pgsql.max_links = -14 y9 I0 z2 u; }. g# m5 _

  1288. - U' t: L) D+ v! N" o. L  ^; B
  1289. ; Ignore PostgreSQL backends Notice message or not.7 A$ D& R1 m( }- T2 [
  1290. ; Notice message logging require a little overheads.
    * s1 ~" A1 N8 O- ^1 h. A
  1291. ; http://php.net/pgsql.ignore-notice
    2 `! Y1 T! Y4 }3 d% r
  1292. pgsql.ignore_notice = 0& @+ j3 y6 z4 R! u/ J. V

  1293. ' S/ ^& ]+ z' e/ R
  1294. ; Log PostgreSQL backends Notice message or not.+ @# p4 m1 H9 {5 Z
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    6 z, k" e) i! O8 o% P
  1296. ; http://php.net/pgsql.log-notice8 Z9 h' q" v$ ^( T& u8 s3 C
  1297. pgsql.log_notice = 0- K/ K( H) F; ]( p; ~

  1298. # F1 B5 S$ q: F! l; z: i
  1299. [bcmath]
    ! G1 p0 u( N' r% _+ S% p
  1300. ; Number of decimal digits for all bcmath functions.
    $ |5 {0 k- c# P! ~
  1301. ; http://php.net/bcmath.scale
    . n& G! s9 z, q* l1 ?' q0 r7 O
  1302. bcmath.scale = 0. V; ]+ \$ B0 h

  1303. : H  g4 G: G& r7 g, T9 h
  1304. [browscap]; V) L. K4 |$ u1 O9 k+ c
  1305. ; http://php.net/browscap6 ?( L9 V6 P" S. _2 [9 M3 C
  1306. ;browscap = extra/browscap.ini
    ' ^" n3 J: G: u! Z# s

  1307. 1 ~" Z$ K2 H- n/ h. _$ j! Z7 ]
  1308. [Session]" R% e0 d/ u  f" |4 v5 `
  1309. ; Handler used to store/retrieve data.
    % M9 ]8 c6 F, R$ V
  1310. ; http://php.net/session.save-handler
    7 R: b0 p/ s. Y; b0 x
  1311. session.save_handler = files
    9 I- A2 M/ O* S) P0 V4 g
  1312. 7 i$ @1 M7 d% E. v% U. @0 ~
  1313. ; Argument passed to save_handler.  In the case of files, this is the path+ U4 [, [  [) D2 T
  1314. ; where data files are stored. Note: Windows users have to change this
    * ?* Y& A& d: p. u; M/ c- I  t+ r
  1315. ; variable in order to use PHP's session functions.
      F. W: E/ ^- n: y
  1316. ;
    # O. L2 K" N7 ], f3 m0 w; o: |
  1317. ; The path can be defined as:
    " p# B! I6 @7 u* `
  1318. ;; \2 H. X4 p6 _
  1319. ;     session.save_path = "N;/path"% m. o8 k8 F( g, ?  _
  1320. ;3 V; j* y& w# F' ?- R
  1321. ; where N is an integer.  Instead of storing all the session files in/ C) a4 u' t$ `+ A. \7 z, [
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    3 Q: `8 r+ J9 `' Q
  1323. ; store the session data in those directories.  This is useful if0 p" s' q; l! Y2 d, b: X5 h4 ~
  1324. ; your OS has problems with many files in one directory, and is& b7 ]$ J9 W3 o* z0 e  Z- Y
  1325. ; a more efficient layout for servers that handle many sessions.
    & p" s1 B6 s+ t) o$ I5 B
  1326. ;; w( ~  K/ {- l5 F- O
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    3 s, ~( ~: u: ]+ X- ?+ f* `6 @5 l" E
  1328. ;         You can use the script in the ext/session dir for that purpose.: g# i: r- x% n
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    ( n) m- ?" H$ O* g1 `! ^
  1330. ;         use subdirectories for session storage
    ) u0 o- r; Y9 P( g6 Q* d3 M
  1331. ;
    / O. d" v5 M' P$ [
  1332. ; The file storage module creates files using mode 600 by default.4 D$ V" v$ T' m, a* z
  1333. ; You can change that by using. Y/ s( F+ W# t8 u7 u6 _
  1334. ;( o# s+ A! q4 }" H
  1335. ;     session.save_path = "N;MODE;/path"
    " R, E) F  Q8 l6 V9 F
  1336. ;
    # t* s* W% z% V. i
  1337. ; where MODE is the octal representation of the mode. Note that this& m. o& `/ L& K3 z; G7 n
  1338. ; does not overwrite the process's umask.
    3 l8 Z$ ]# @' B2 S" C5 ]4 F
  1339. ; http://php.net/session.save-path
    6 L/ r1 _% O. N) ]6 u$ T0 b, {. z
  1340. ;session.save_path = "/tmp"( h0 P' [0 R* v9 p% Z! J7 }
  1341. 9 r( g; u& I' `( f
  1342. ; Whether to use strict session mode.# ^# x# ]1 i; q+ G5 f
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate2 q- p4 m) y  F8 F6 G' h2 B
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    $ _& s! s" _' h3 I5 N0 S& K
  1345. ; applications from session fixation via session adoption vulnerability. It is. n, {6 f& B" b: E$ y2 T( G
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.  L! X2 ~! R4 R: ?4 E4 U6 o
  1347. ; https://wiki.php.net/rfc/strict_sessions
    " m8 o1 K  h2 ~( o
  1348. session.use_strict_mode = 0
    2 m% n8 N, G; f4 p' X; R
  1349. 7 v+ l% I, }7 ^* H
  1350. ; Whether to use cookies.) a) M2 ], b4 d5 B% c2 b
  1351. ; http://php.net/session.use-cookies
    8 R# m' z, J2 M1 U6 r5 e
  1352. session.use_cookies = 19 T! E' [2 P9 J6 {
  1353. & y" l* C7 O/ i% l/ ?, b
  1354. ; http://php.net/session.cookie-secure. J* B) T+ d1 _( ~2 g$ X
  1355. ;session.cookie_secure =0 }; K3 a9 x: _+ m

  1356. + S, b* M' y2 t
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining) m1 j7 ?, p) g- h
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    ) V7 }& K, M6 h+ Y. E1 X9 |# @/ e
  1359. ; session hijacking when not specifying and managing your own session id. It is9 J$ Q: d8 [1 z# I) y
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.% y1 f; O! q# |" Z
  1361. ; http://php.net/session.use-only-cookies) B5 ~. V# {# H, _+ J, o
  1362. session.use_only_cookies = 18 ^  |! M, \% d) Z
  1363. 1 i( Z5 F. m( I# g& a3 u3 S
  1364. ; Name of the session (used as cookie name).
      y* e- S: `6 v; x/ M  p
  1365. ; http://php.net/session.name
    ! b, e/ i* m1 V0 L3 f& n
  1366. session.name = PHPSESSID( y7 W5 U2 v( t' Z
  1367. $ P, A! N. {  l) i# G4 _9 G: Z
  1368. ; Initialize session on request startup.
    - y& f: ^5 o, k; ^
  1369. ; http://php.net/session.auto-start
    3 M, U4 Z3 r7 g6 N! b5 G
  1370. session.auto_start = 0* c  h! ]! E; G& a" Z/ p: e

  1371. 8 s/ t9 m$ @6 S9 c. ~5 n
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    * ?" r+ r6 K/ M" [
  1373. ; http://php.net/session.cookie-lifetime
    6 ]' |6 P7 Y- R8 I* J" i# K( w
  1374. session.cookie_lifetime = 0  C+ r& d, j& Y; r" I, D0 b
  1375. : E6 K/ a8 C+ F- q6 p
  1376. ; The path for which the cookie is valid.6 C6 z# c& W, p/ t
  1377. ; http://php.net/session.cookie-path) ]8 o* g4 Q5 q, ?  c5 c3 X5 E
  1378. session.cookie_path = /
    " O' a0 e# {& k- s; q; D
  1379.   v1 ?# b; G/ W; ~# i% ^
  1380. ; The domain for which the cookie is valid.. z+ o  _) R+ J' u& B9 F- F$ P
  1381. ; http://php.net/session.cookie-domain( G1 B) c+ q2 k1 j+ r- g
  1382. session.cookie_domain =
    ) q' M5 n- i% P; `2 P( p( J
  1383. 1 \) X; B! o# |; s2 {$ N
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ; ^6 Q$ m' R3 c$ A
  1385. ; http://php.net/session.cookie-httponly
    ; q3 C. Y. f4 Z* E: Q
  1386. session.cookie_httponly =1 t2 Z* n6 X# C1 G% Z

  1387. : U3 z6 j4 e2 a) e# U$ Q2 B: `/ l2 U2 J
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    . z- e: |2 t7 G/ \; G2 Q
  1389. ; http://php.net/session.serialize-handler7 ]# K/ L& z- d  w) Z
  1390. session.serialize_handler = php
    , b; G9 B+ E% b/ e
  1391. & P8 P) @5 O/ v) L  Q* p9 g
  1392. ; Defines the probability that the 'garbage collection' process is started2 o% _. p) t7 T- R4 m: N4 B% |: S
  1393. ; on every session initialization. The probability is calculated by using0 m) w+ ]" M8 V  R+ A
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    / T3 q9 {6 X+ [5 Y% Q# `
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    3 d; _3 C; n7 j9 h4 O: Z3 w* z
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) z& m9 F0 H( R
  1397. ; the gc will run on any give request.- {( k0 h; ~, j6 [
  1398. ; Default Value: 1& A7 N0 m' M4 N$ b9 O
  1399. ; Development Value: 13 O- u- ]$ C6 n! [5 t# F' {8 b
  1400. ; Production Value: 1
    3 Q3 C: q9 u) C( U: W  {4 M1 w
  1401. ; http://php.net/session.gc-probability7 Q/ m/ @" p9 G+ U1 M5 j$ V
  1402. session.gc_probability = 1
    , d- [- m" W1 B- h2 H! Y$ f
  1403. 7 @/ r- D/ B8 M, w
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ; Q9 S; b" v" ?$ R; s, d
  1405. ; session initialization. The probability is calculated by using the following equation:
    : Y& R& `, N: p' f! p4 `
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and: W) S8 R- r) X3 F/ C9 e
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1' d; I/ I3 Q, E: z
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance4 e. m  O! c8 _; @6 A% V
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you6 h, v; q/ M2 B
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ( i0 ~7 b. y: J+ X
  1411. ; this is a more efficient approach.
    ' j$ [5 j! D  U: i
  1412. ; Default Value: 100. F% U5 J# m+ [+ L+ b& \" _
  1413. ; Development Value: 1000( w* b8 S6 Q2 {9 v
  1414. ; Production Value: 1000
    8 F. m# `7 D# ~! Q
  1415. ; http://php.net/session.gc-divisor# d; Q8 l% y8 k
  1416. session.gc_divisor = 1000' |  r& Z1 S/ s. O# W8 G; }

  1417. " L( Y! a! f# X( l% C$ q
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ) v: r# u/ w. d: L
  1419. ; cleaned up by the garbage collection process.4 M2 f; g4 z6 m$ r3 v: U7 D
  1420. ; http://php.net/session.gc-maxlifetime# \/ t$ d& T9 ~- X  c$ h* R8 L
  1421. session.gc_maxlifetime = 1440
    6 \  m+ {; _) ^1 o6 H% M

  1422. / h7 z# Y7 a0 G0 Q# F; C
  1423. ; NOTE: If you are using the subdirectory option for storing session files& W- `$ s, b1 h. a* n
  1424. ;       (see session.save_path above), then garbage collection does *not*7 J+ N3 w' @5 u; @8 P' o* v
  1425. ;       happen automatically.  You will need to do your own garbage
    ! o8 \$ X9 C- d' }  ?, s
  1426. ;       collection through a shell script, cron entry, or some other method.3 k0 b6 E# z6 I3 x+ S* m
  1427. ;       For example, the following script would is the equivalent of- F8 n, [! l- r0 i6 k8 Z9 \
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    0 l7 F! ~$ n" g
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    " A' Y3 J! {) Z6 P* D! S2 f5 E
  1430. / |8 s8 n# t' c1 b" g& I
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids." {4 Y/ Q  P" a, [
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    . }5 Q2 H+ a( N" R  x! y0 i
  1433. ; considered as valid.# O% n+ k; y) m7 b: l/ }2 r
  1434. ; http://php.net/session.referer-check. ^- `4 e8 s9 n. C7 O; M5 W
  1435. session.referer_check =) b0 x- p  j, E; W

  1436.   L9 H( Y0 }# \0 Y. w/ m; t
  1437. ; How many bytes to read from the file.
    - F8 _1 @. M; o% B7 q
  1438. ; http://php.net/session.entropy-length
    0 }' J  u% X/ N  E, U" q
  1439. ;session.entropy_length = 32* [7 B/ {$ G5 T: s3 V. T
  1440. / X  g$ J% L! [
  1441. ; Specified here to create the session id.
    / r* T+ ~  t3 w9 Z1 G
  1442. ; http://php.net/session.entropy-file' l$ B2 o% |# w/ G' I
  1443. ; Defaults to /dev/urandom# l+ P, x. a9 ~4 M/ M) k
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom% I1 d+ Y& ^' i8 [5 {
  1445. ; If neither are found at compile time, the default is no entropy file.! N' @  ?' ?  j: B' G$ p
  1446. ; On windows, setting the entropy_length setting will activate the% e  H! l2 B* Z5 b. S
  1447. ; Windows random source (using the CryptoAPI)( \  l5 v0 _8 [/ @& ]5 i1 r3 O
  1448. ;session.entropy_file = /dev/urandom, {' F2 }/ @& ?* z+ Z) e; `
  1449.   w; ^0 z5 p/ N2 g3 |% Z; j8 w
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    & a( C( x. Y) V
  1451. ; or leave this empty to avoid sending anti-caching headers.! l# k1 M5 I6 j+ n) E" ]# f1 n$ }
  1452. ; http://php.net/session.cache-limiter/ K9 t6 Y. k; v) y" w
  1453. session.cache_limiter = nocache
    # g+ Z9 p. ]% q0 Y' Q6 J

  1454. ! L  S; B$ S8 k  u/ w
  1455. ; Document expires after n minutes.& N9 B/ Q' A" N4 O% Q
  1456. ; http://php.net/session.cache-expire, }7 R3 \6 t7 H" |( f' X
  1457. session.cache_expire = 180
    6 z+ s2 R1 Q0 U3 b/ |/ W8 R

  1458. 5 i6 V8 k/ v! T
  1459. ; trans sid support is disabled by default.
    ) M  m7 \) X, |7 [
  1460. ; Use of trans sid may risk your users' security.( B: r/ }7 q! x
  1461. ; Use this option with caution.
    1 ^; S/ y* ]+ L: s
  1462. ; - User may send URL contains active session ID
    3 g' b3 o5 ~6 M( l/ l: [& O
  1463. ;   to other person via. email/irc/etc.
    ) t* f- T! A& q7 Q6 Q' y7 W
  1464. ; - URL that contains active session ID may be stored
    8 `3 D5 }! _# _& l* b
  1465. ;   in publicly accessible computer.. e5 ]1 f, h' C6 o- R8 t
  1466. ; - User may access your site with the same session ID% u+ P; d2 {. _+ T
  1467. ;   always using URL stored in browser's history or bookmarks.2 ?" u+ j2 v9 S( A
  1468. ; http://php.net/session.use-trans-sid
    % ^! k" T% c, F! B
  1469. session.use_trans_sid = 0
    , e3 u8 R2 _" c& e; K" Y; [; h  f# Q
  1470. 1 v  F, w0 H, S" z4 P3 ~
  1471. ; Select a hash function for use in generating session ids.& I, N2 W: H" N  q
  1472. ; Possible Values: q- ?, l0 r4 d# ^
  1473. ;   0  (MD5 128 bits)
      g. X2 u4 C  l: {
  1474. ;   1  (SHA-1 160 bits)
    ' E5 }; ]* W3 l
  1475. ; This option may also be set to the name of any hash function supported by' H0 q$ M' \+ J" f# u6 Z/ R/ c
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()! A% ^# G+ D/ W- n. D
  1477. ; function.* T. u3 ~9 B+ f8 c
  1478. ; http://php.net/session.hash-function4 w$ y( V6 ]5 l' S9 }
  1479. session.hash_function = 05 o) w* p# H: t
  1480. + k( V* z/ U/ F* N8 S" F
  1481. ; Define how many bits are stored in each character when converting
    - k# `6 x5 C0 M* W
  1482. ; the binary hash data to something readable.
    ) ~5 A; R$ N7 {- j, s
  1483. ; Possible values:7 v9 C$ }; p) y* k% v( @
  1484. ;   4  (4 bits: 0-9, a-f)
    ; r; ?* H9 H8 A* o: ?! k/ q+ S) z5 u
  1485. ;   5  (5 bits: 0-9, a-v)
    $ e) ~9 R: c2 x2 ^! S& K  F) _
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")# l: j. _- D4 ~
  1487. ; Default Value: 4
    ( j! v* ~6 Y5 R
  1488. ; Development Value: 5: [4 v+ w: ?, y7 ~' X5 \) P
  1489. ; Production Value: 5$ m' Q5 P( V# T" i
  1490. ; http://php.net/session.hash-bits-per-character
    / V/ i( e: `; h0 O9 S% f# {0 y
  1491. session.hash_bits_per_character = 57 g. L7 D  {; ]5 O
  1492. % M  M" v6 w, E
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    : s$ o% K& Q. B% g8 t) j4 b
  1494. ; form/fieldset are special; if you include them here, the rewriter will9 g) f% _# r; B% |, e* V7 c' q
  1495. ; add a hidden <input> field with the info which is otherwise appended
    - Z7 E/ |8 b3 S
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.. ?! m6 f( r$ M; k
  1497. ; Note that all valid entries require a "=", even if no value follows.
    * f$ L" k) m0 y- }8 b
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    " [' o3 p5 B; ?' t% x' E
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 c* T+ V  r5 F6 P! v+ {
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - j* r$ q( X5 r! n6 e* {. t
  1501. ; http://php.net/url-rewriter.tags
    3 u, E) c0 E$ }& a7 T7 S
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 `- l6 d+ r, n: l9 M4 ?
  1503. 0 U+ K/ c% S# s$ C  m6 K
  1504. ; Enable upload progress tracking in $_SESSION
    / D' T0 h, s% x# u/ h, W) d
  1505. ; Default Value: On9 Y' ~" ?+ S4 B9 R/ z: x
  1506. ; Development Value: On
    0 F4 i: R# \( S3 u7 q9 u! e
  1507. ; Production Value: On$ S$ i3 I1 \0 f% s  A' Y
  1508. ; http://php.net/session.upload-progress.enabled  p0 o  f' N- `& w0 D; _6 e0 k
  1509. ;session.upload_progress.enabled = On# v2 I1 y* p; T% H3 ^- p6 t
  1510. & x- @3 v; I+ g1 M2 C; c4 w  o% R
  1511. ; Cleanup the progress information as soon as all POST data has been read$ f0 h" W2 [% h1 B0 ~, a( }( N
  1512. ; (i.e. upload completed).
    " [1 u6 j6 V5 J9 ^* R  O4 ?  L0 V8 `: _
  1513. ; Default Value: On. x& i# W+ c9 D
  1514. ; Development Value: On/ j* I. Z" }$ }" [% N4 Y- R
  1515. ; Production Value: On; C# f" {! G/ x8 P+ T" i
  1516. ; http://php.net/session.upload-progress.cleanup3 X, X9 @1 |% G3 ?1 W: z) e
  1517. ;session.upload_progress.cleanup = On1 |  L& P3 }2 e9 z% i/ E

  1518. 6 H  b$ d: F' @
  1519. ; A prefix used for the upload progress key in $_SESSION
    9 [; _& Q1 U+ _
  1520. ; Default Value: "upload_progress_"
    ' q( c5 s" T0 q" V8 H
  1521. ; Development Value: "upload_progress_"5 Y5 {6 {+ T5 `6 E. J5 [1 @
  1522. ; Production Value: "upload_progress_"* {% Q+ D- n( j3 V- {. ^& Q$ n& ^
  1523. ; http://php.net/session.upload-progress.prefix; M- d( T* ~6 O, |8 w$ S
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ' ^7 D7 P; F0 _0 P1 ?3 j6 S

  1525. * X9 K5 ~; V3 y  y6 c
  1526. ; The index name (concatenated with the prefix) in $_SESSION# Y& ], N, L  I
  1527. ; containing the upload progress information/ x( ~. E6 i. m6 L7 m
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
      Z* T' w/ L, b6 F9 E
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"7 |; F) t" @3 W
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"( j  D/ Q: s2 R& ^' C
  1531. ; http://php.net/session.upload-progress.name  `5 l2 \" V4 b& h* P( [9 p( ?+ e
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"2 n/ _# x  k5 t7 R9 _% V# V, _% m

  1533. . s, H4 z; L- x, M. Z" y
  1534. ; How frequently the upload progress should be updated.9 ]8 j5 m6 R" E  {* J  q; i% q
  1535. ; Given either in percentages (per-file), or in bytes7 S5 p8 R# O& R$ q
  1536. ; Default Value: "1%"
    ' \1 A! O  k9 Q# L1 k8 T8 I/ b
  1537. ; Development Value: "1%"! U# x8 T8 V& B/ [3 a! d+ _+ B
  1538. ; Production Value: "1%"
    : b, ~9 c% G0 N. \. ~
  1539. ; http://php.net/session.upload-progress.freq' D1 h8 R9 v9 Z
  1540. ;session.upload_progress.freq =  "1%"
    : K. C9 L2 |/ ~

  1541. ! x/ I9 w+ X# @, N) t/ Q' p
  1542. ; The minimum delay between updates, in seconds
    9 Q2 R- |5 Z0 f, q
  1543. ; Default Value: 1
    $ X/ R  N) p! f# U: j; ^
  1544. ; Development Value: 1/ i. Y: z! B, ]
  1545. ; Production Value: 1& P  i4 K; Z( s1 ~& l' e7 F; o
  1546. ; http://php.net/session.upload-progress.min-freq" c; O: w1 E4 I; ]' K& o' h. r
  1547. ;session.upload_progress.min_freq = "1"* c* v7 J/ h7 w* a* K5 g$ \! `' P
  1548. 6 h& L1 K+ u& ^9 s
  1549. ; Only write session data when session data is changed. Enabled by default.  U* S1 B  y8 r" F- i; w! T% L
  1550. ; http://php.net/session.lazy-write
    ' ]  z- W. X* L6 A: G2 M1 ?
  1551. ;session.lazy_write = On- G6 I! G; P9 w; Y

  1552. * o) }8 p* S% Z- O2 S, s- `5 Z
  1553. [Assertion]  Y# `; e+ I3 C9 w; w  u
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    $ ^% V$ _- G1 f
  1555. ; -1: Do not compile at all) L$ y) |  M1 B9 i0 ~  F8 H
  1556. ;  0: Jump over assertion at run-time# v6 _" @& G. o$ v
  1557. ;  1: Execute assertions5 e( R- `- Z. U+ d
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    ) o( c2 [! j6 a5 \
  1559. ; Default Value: 1* Z2 C: R% D! O
  1560. ; Development Value: 16 K; G& x( \$ C3 G: V
  1561. ; Production Value: -1
    ( s/ d0 J7 \; i
  1562. ; http://php.net/zend.assertions
    ; C: V  j4 ~. c
  1563. zend.assertions = -1
    5 A% j. G( ~; [2 T8 [/ r

  1564. & B/ b- m$ e1 D' a0 S5 z3 F
  1565. ; Assert(expr); active by default.( v2 r" y8 [+ L
  1566. ; http://php.net/assert.active
    : {# b  @4 e3 p. X' D& c0 J9 j
  1567. ;assert.active = On( X- Z: d1 E! O! u( @# h/ `8 J

  1568. 6 d- B5 _- B3 J, ?0 }
  1569. ; Throw an AssertationException on failed assertions
    % P  E/ Z" {5 @( S
  1570. ; http://php.net/assert.exception
    $ R+ M8 S# G: P1 Z7 h! ]
  1571. ;assert.exception = On$ }" T: K$ [3 T6 m9 L

  1572.   w1 u' n9 I0 y
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)+ u4 X5 i1 s4 }0 T. Q  D6 a5 {
  1574. ; http://php.net/assert.warning
    : @/ i, f: _! x4 Q1 L% c7 Q7 y
  1575. ;assert.warning = On) r0 g& `+ o0 M% I- Y
  1576.   c: s: R' L& J
  1577. ; Don't bail out by default.
    : v5 R- w: T4 \
  1578. ; http://php.net/assert.bail
    " ?7 j8 A2 ]2 D2 P; M4 t! ~$ H# _
  1579. ;assert.bail = Off
    & Z% b, b& T' K# j4 \
  1580. / V: L$ R. I7 W  ^2 O4 |# e7 H& ^
  1581. ; User-function to be called if an assertion fails.
    $ z; X6 k8 |0 f, W8 ~7 ~% z
  1582. ; http://php.net/assert.callback7 ~. Y. E$ Y# d& Z3 d
  1583. ;assert.callback = 0
    9 x- @/ Q8 A7 D" }; I, Q* @. c  {  }0 N# S

  1584.   Z4 [2 A! Z; ?5 J" X( t( a
  1585. ; Eval the expression with current error_reporting().  Set to true if you want. I# N; M: G- N0 Q9 U- M  p
  1586. ; error_reporting(0) around the eval().
    & j, S! P/ ]# v0 b
  1587. ; http://php.net/assert.quiet-eval, b9 A2 N9 Q9 p* y% ^9 i
  1588. ;assert.quiet_eval = 0
    ! |5 f2 o2 L4 J9 P

  1589. ( y, t/ c! G' D/ s) P  b( d8 ~, g
  1590. [COM]. \$ m" B5 ^/ I
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs( n" X% ]) e" X* _
  1592. ; http://php.net/com.typelib-file
    $ n! P5 w$ X( e# t
  1593. ;com.typelib_file =% }3 L. s$ o5 O, F

  1594. 9 G) z! u- u4 K- o6 _3 |
  1595. ; allow Distributed-COM calls
    ( a" v9 J- e& U3 t7 y$ o
  1596. ; http://php.net/com.allow-dcom
    9 d+ V: W( R0 H, |* h
  1597. ;com.allow_dcom = true
    & w+ G) P8 q3 I8 l( j# K0 ?# h
  1598. : p( e8 V+ D! t* [' f: S0 d
  1599. ; autoregister constants of a components typlib on com_load()
    5 O# p* o, C4 U$ [9 U( X
  1600. ; http://php.net/com.autoregister-typelib
    5 I. {: P  `! R: A7 P; A4 P3 T( M
  1601. ;com.autoregister_typelib = true
      J# M/ M9 H/ W- P+ O9 X' ^
  1602. 4 K  a+ M4 Y1 G0 _* Y! G! o$ S
  1603. ; register constants casesensitive
    ! Y$ m" [, B9 m
  1604. ; http://php.net/com.autoregister-casesensitive
    5 t2 l3 I; {& r
  1605. ;com.autoregister_casesensitive = false0 W7 f0 ?# m! k6 z5 i
  1606. ; ]; l2 X' P3 P' Y
  1607. ; show warnings on duplicate constant registrations
    1 q4 p6 Z* [6 [4 \! Y
  1608. ; http://php.net/com.autoregister-verbose
    ! |$ F! c- a3 v9 p, X. D8 T0 `
  1609. ;com.autoregister_verbose = true7 L6 k3 ?+ ?9 M( x- Z( Y9 p2 [

  1610. ; k7 Y* K2 i+ u' {7 T( G' X6 g
  1611. ; The default character set code-page to use when passing strings to and from COM objects.. K2 H/ ]7 V) n* \4 G
  1612. ; Default: system ANSI code page- h+ ^0 I/ {% S! k/ o
  1613. ;com.code_page=
    3 T( C4 m( ~$ X6 H

  1614. 3 [: }7 x( ], ?. |- _5 `. `$ b' O( q
  1615. [mbstring]. [$ H  a$ T7 g
  1616. ; language for internal character representation.
    # y! i5 C0 ~* {& T; j( E  T6 p; N
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    * [: J' ]$ ~8 w) V+ D9 B8 o; m7 i4 a
  1618. ; http://php.net/mbstring.language
    ; K" R2 G! F& L* [4 [# P; A
  1619. ;mbstring.language = Japanese" J6 M# A" J5 o  e+ ~3 g+ Z

  1620. 8 N9 H! `/ d& T8 @) b+ r
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.2 e9 P  X# E. K- h7 \
  1622. ; internal/script encoding.4 D1 H0 x' U9 y# [
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    6 O$ W( @( M' T; O* @  ]! s
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    9 |5 O% Y2 k# p1 P6 m' r+ O
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    2 ?7 h) P9 L8 M; R
  1626. ;mbstring.internal_encoding =
    9 U# ]  k: E5 [, C) \

  1627. - h# {1 x) g. N
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.1 s/ o+ G, x# g( W3 Y
  1629. ; http input encoding.$ _& [& N6 H# [, _, e/ z
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    - t4 {7 D" L  y7 |: Y
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.* W6 [% B" ]) c; ^* P4 C$ I
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input% V8 ^) P- N; H# P
  1633. ; http://php.net/mbstring.http-input9 p, ?# n$ w4 N+ k1 }
  1634. ;mbstring.http_input =2 R1 ~- y) J2 X* o' Q
  1635. & o2 P: Q; p0 l$ O; F
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 q8 ^7 U4 r% F2 P+ P- H6 p- M, C. n
  1637. ; http output encoding.$ @8 n( P& S" W$ C
  1638. ; mb_output_handler must be registered as output buffer to function.
    * X, a2 j  ?8 U5 ^9 b+ f
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    9 x0 h0 ]' p; b
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output. m) V8 m$ s0 h% H: L
  1641. ; To use an output encoding conversion, mbstring's output handler must be set5 [) d0 P6 ?$ I/ O3 E
  1642. ; otherwise output encoding conversion cannot be performed.9 w" J% a, N. E9 i; L( T% C
  1643. ; http://php.net/mbstring.http-output
    " ~% m- y; m" M- ?$ U+ t; a
  1644. ;mbstring.http_output =7 T& B2 r/ i4 B' M
  1645. ( f/ c* Z0 o7 L/ k& m
  1646. ; enable automatic encoding translation according to! r7 t. @# q  L$ W, i& R5 q( Y7 _$ r, [
  1647. ; mbstring.internal_encoding setting. Input chars are
    / k8 F2 K/ w" L5 O" g8 }
  1648. ; converted to internal encoding by setting this to On.+ `1 _* g3 m) ?2 f! S! y
  1649. ; Note: Do _not_ use automatic encoding translation for
    % I/ j! S4 B5 {: o
  1650. ;       portable libs/applications.
    ' f6 C- b: v, ~* K  s4 {/ p
  1651. ; http://php.net/mbstring.encoding-translation
    ' q! ]* i2 T) T' ^# t7 w- [; W
  1652. ;mbstring.encoding_translation = Off
    7 x0 f( W* b5 ^4 [  G

  1653. , P, n' g2 ~% V3 Z
  1654. ; automatic encoding detection order.
    4 ?- O8 J$ N6 L2 T% e  D# E
  1655. ; "auto" detect order is changed according to mbstring.language# _) U8 K6 E; R; H) W$ g
  1656. ; http://php.net/mbstring.detect-order
    ; k2 ?3 T7 J4 p% `& [9 t9 [
  1657. ;mbstring.detect_order = auto
    ) S1 ^, w& k" m# i$ K8 ]( z

  1658. * P' @+ Z" E9 e/ h8 @# o8 U9 v4 S
  1659. ; substitute_character used when character cannot be converted
    : ^4 K+ n) t0 I
  1660. ; one from another
    : N. B. K, k' ]+ o4 l9 `
  1661. ; http://php.net/mbstring.substitute-character# Q5 H& u2 Z7 d4 p" {# q
  1662. ;mbstring.substitute_character = none* ~9 G; U5 O5 @! Q

  1663. $ z8 P# T4 S5 Z4 u
  1664. ; overload(replace) single byte functions by mbstring functions.9 {8 M3 j8 l6 f; P
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    7 a. m4 \, J% w( {
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.: I8 u9 c9 U8 [6 C) l: K
  1667. ; For example, 7 for overload everything.  Y5 F$ [% [2 I+ V
  1668. ; 0: No overload
    , [8 C& q3 h' ]  [
  1669. ; 1: Overload mail() function, S: X0 w! V$ i( h$ M  y
  1670. ; 2: Overload str*() functions
    / h. O+ [, |1 T3 c
  1671. ; 4: Overload ereg*() functions' |) ^; H9 j/ A4 F; k3 W% y3 `4 C, e
  1672. ; http://php.net/mbstring.func-overload) u, @# n$ |' p8 Q3 \; o8 x8 p
  1673. ;mbstring.func_overload = 0
    ! I! H/ a, b6 l* E, M

  1674. 7 B% A) p9 Z, Y( A
  1675. ; enable strict encoding detection." v$ \6 p+ {6 a9 x( d
  1676. ; Default: Off* u, w' s7 T4 P' O$ @1 X
  1677. ;mbstring.strict_detection = On
    $ ~! r8 y1 S) @! |

  1678. . B" H, {. J: f* Y8 G
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    # W6 m+ I$ ]3 a
  1680. ; is activated.
    1 X9 }: [9 U( u  S& ?
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)  X7 E4 L/ E) z* v1 R, M
  1682. ;mbstring.http_output_conv_mimetype=
    . y0 a9 e$ V- D
  1683. * M! |5 K* z6 a+ ]* ^6 S4 L
  1684. [gd]1 @2 c- o$ a& p( D$ k' i+ v
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    4 u2 b9 ~8 t% h4 y
  1686. ; a gd image. The warning will then be displayed as notices
    4 P$ Y9 T& @9 B8 b5 x
  1687. ; disabled by default
    8 W0 `. c6 P3 G5 m8 |
  1688. ; http://php.net/gd.jpeg-ignore-warning) K! Q: Q" o! q0 `1 E9 h; E* C
  1689. ;gd.jpeg_ignore_warning = 0
    9 ~# _3 q8 e& _8 P3 v' q* Q
  1690. , W5 }( T( n1 W
  1691. [exif]
    2 ~+ T2 n- O) I. C7 V
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    - g/ [2 p! M, [1 E# K0 I* n
  1693. ; With mbstring support this will automatically be converted into the encoding2 B; a; f3 C- F9 p: g. X
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding( Y0 m. V- P) G0 }5 C( |
  1695. ; is used. For the decode settings you can distinguish between motorola and, V3 I  P! u1 k+ }/ D) l
  1696. ; intel byte order. A decode setting cannot be empty.3 H* C3 A/ l" s
  1697. ; http://php.net/exif.encode-unicode) P4 g7 b5 F% H0 A
  1698. ;exif.encode_unicode = ISO-8859-15
    % ^; \9 \/ e2 a4 I/ H4 U
  1699. : F8 `: g( G. y  H# I9 K
  1700. ; http://php.net/exif.decode-unicode-motorola
    6 {+ V0 R9 K8 u
  1701. ;exif.decode_unicode_motorola = UCS-2BE8 r0 O7 F( g1 x: A: ~1 h" X+ P
  1702. ( C6 B. I) j) G. H
  1703. ; http://php.net/exif.decode-unicode-intel; x. u6 Y  E2 D' e) X
  1704. ;exif.decode_unicode_intel    = UCS-2LE/ X$ t! g8 A8 O. N1 I. X3 f
  1705. 0 C+ ]: W6 T) `
  1706. ; http://php.net/exif.encode-jis
    * p% W2 h1 C, [& R0 ~( h# y) {* W
  1707. ;exif.encode_jis =0 E" n; N; i% Z5 I/ c+ ]6 u

  1708. . S6 T- I  [4 ^1 g5 ?
  1709. ; http://php.net/exif.decode-jis-motorola* |1 H. v4 w/ A/ B: b+ u4 n& S  m
  1710. ;exif.decode_jis_motorola = JIS
    1 [- M$ B/ p) D( ^6 x
  1711. & F# F2 o5 F% O. Q
  1712. ; http://php.net/exif.decode-jis-intel+ M/ z4 h% c' u% ^* }& E( {1 S  O
  1713. ;exif.decode_jis_intel    = JIS
    . L& E: y" R* c) j. T+ [, G
  1714. % e2 l3 G/ n( e" c9 u4 s3 j* _9 n" E* M
  1715. [Tidy]1 s7 k5 E0 Q; n+ s2 F
  1716. ; The path to a default tidy configuration file to use when using tidy3 C1 x$ `9 G9 z7 c  @: y
  1717. ; http://php.net/tidy.default-config
    ) B$ G: z5 ?! y/ m  I
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg/ Z9 P$ C3 _* B4 {1 z

  1719.   V' x  ~1 B+ h; d3 k; `
  1720. ; Should tidy clean and repair output automatically?
    0 h. w3 o6 [# v6 _. s; |
  1721. ; WARNING: Do not use this option if you are generating non-html content4 J0 Q3 L& I0 Y7 i- C# _
  1722. ; such as dynamic images9 m) }1 `) h+ f& s2 ~: Q+ \
  1723. ; http://php.net/tidy.clean-output
    . X( M" ^# r  ~$ D0 k6 y
  1724. tidy.clean_output = Off3 _9 d1 i0 E9 J4 [" f

  1725. ( u% X$ s: T9 J# D) w  @
  1726. [soap]
    7 j1 g6 E2 X$ M
  1727. ; Enables or disables WSDL caching feature.: }* M, g6 X* n& K& V' E
  1728. ; http://php.net/soap.wsdl-cache-enabled
    % @  J6 l' F4 _# e8 |3 t
  1729. soap.wsdl_cache_enabled=1
    ; r9 }3 x' ?0 `' p
  1730. 7 H4 j4 z' l( Q8 X
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ( N. z% t% Y1 `
  1732. ; http://php.net/soap.wsdl-cache-dir
    . p% i& w8 \3 ^, u9 ~- x
  1733. soap.wsdl_cache_dir="/tmp"
    6 y8 G# v" h& Y5 X1 D2 l+ B
  1734. ) b3 E6 J7 B% ~/ H: R( u0 m$ p
  1735. ; (time to live) Sets the number of second while cached file will be used
    & e8 M6 r3 `9 q! l# E2 {
  1736. ; instead of original one.
    8 M$ k1 Q( r% ^5 e* u" q' f8 ~$ c
  1737. ; http://php.net/soap.wsdl-cache-ttl
    % L  P6 H4 G% R. K
  1738. soap.wsdl_cache_ttl=86400
    2 Z- O) G; o0 i! S
  1739. 4 d' _5 M7 r8 B
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    % e& [# n2 \6 Q2 i
  1741. soap.wsdl_cache_limit = 5
    5 Y9 g7 d9 T6 F0 B! L

  1742. 6 w( N( V5 z- |: |* X
  1743. [sysvshm]0 F5 o  Q$ s% g2 @6 a
  1744. ; A default size of the shared memory segment  z  b5 O& P# V8 p2 N* x+ N% Z
  1745. ;sysvshm.init_mem = 10000- P' w& Q6 C* }
  1746. 2 G( m$ `3 Z. v3 Z5 b" b  X: [3 p& q
  1747. [ldap]3 O- x" \) T+ {. P/ P; s
  1748. ; Sets the maximum number of open links or -1 for unlimited.' x; Q- c  `; s8 h
  1749. ldap.max_links = -1
    & E+ n' |. K6 t3 i. s) h) i
  1750. # P2 _9 ?# e) ]
  1751. [mcrypt]' j; g+ J8 w# S( }% d$ ?# Z
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open% [6 r2 `$ A% N, g' {
  1753. + E8 V; ?% E7 C! {/ g
  1754. ; Directory where to load mcrypt algorithms
    " Q+ l* r) h( y7 ?
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* d) e' H! a! `+ f) ^" N
  1756. ;mcrypt.algorithms_dir=
    ' I! f$ |$ s( @, ^% V
  1757. * Z9 d& R( N9 J5 R% d% e' a+ A
  1758. ; Directory where to load mcrypt modes, a- D$ L- \6 m2 v  c: R
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    0 M0 b0 a' {& R, f
  1760. ;mcrypt.modes_dir=
    - Z" b6 R% m9 c
  1761. 8 N9 O% W" W* c& D( m
  1762. [dba]( t8 Z3 P( R, k" F
  1763. ;dba.default_handler=
    ' g$ F* A: M3 b' G0 F- L9 [
  1764. , u- L4 |& ?% K2 M+ s
  1765. [opcache]
    4 v' l& b  @1 s0 j; F; ]' P4 m0 o
  1766. ; Determines if Zend OPCache is enabled5 ]2 N9 P& g9 Q! ]
  1767. ;opcache.enable=0( x3 l2 o' [$ s4 J! E
  1768. 2 l& N/ c4 \+ e" E/ ?% D$ y
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    7 h% [' U: \+ x* x; A4 n% ]
  1770. ;opcache.enable_cli=0
    " i- z! j, l8 s4 }) c

  1771. 4 q9 b$ t+ V% l" O( ^0 }) r- F( g
  1772. ; The OPcache shared memory storage size.
    ' H+ V) D9 g4 v" i( p- Q5 [
  1773. ;opcache.memory_consumption=64& A3 p" T8 F5 z$ x% b4 @2 N. P
  1774. 6 _/ Y, }7 f: k/ l, w5 I+ U1 {; d
  1775. ; The amount of memory for interned strings in Mbytes.5 ~8 Q% t) o% Q6 z. l$ Q5 t* ~
  1776. ;opcache.interned_strings_buffer=4+ P* v; k) K1 c* N; M
  1777. ( z0 b8 H; a  T# x7 ]9 V. k
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    4 l7 C) @: m/ I  Z1 n8 v7 m; T
  1779. ; Only numbers between 200 and 1000000 are allowed.
    # d4 [/ @5 Y$ R3 a0 A
  1780. ;opcache.max_accelerated_files=2000
    5 V' _: i, t- R, g% w8 b
  1781. ( M' s9 o  Z2 N$ L7 i* x
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.# N" Z' ^* r- O9 M
  1783. ;opcache.max_wasted_percentage=5# [' K. u) ^$ b0 W3 r
  1784. 5 Q3 v. u8 o' s) U, G9 d2 T$ C
  1785. ; When this directive is enabled, the OPcache appends the current working
    1 c( b% [7 R  u3 e
  1786. ; directory to the script key, thus eliminating possible collisions between6 Y" j, Z" v1 X6 a* l
  1787. ; files with the same name (basename). Disabling the directive improves
    ! S5 |' Y( l0 d8 n
  1788. ; performance, but may break existing applications.
    - Q" O1 r$ g# S$ I7 K8 K
  1789. ;opcache.use_cwd=1
    7 b6 n- e. r. K3 [

  1790. " |% b; U2 i6 _* c7 n
  1791. ; When disabled, you must reset the OPcache manually or restart the2 G; S9 P" `+ y% D9 t
  1792. ; webserver for changes to the filesystem to take effect.: u2 i# {2 U3 \- o( U% ]& e/ o* S( A
  1793. ;opcache.validate_timestamps=1' E! q1 V& I: z
  1794. ! J( b( g! u; }1 b. l4 }/ I% l
  1795. ; How often (in seconds) to check file timestamps for changes to the shared0 R: V6 S) J. [# P, d
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    8 N8 G. f/ b8 q0 Q
  1797. ; once per request. "0" means always validate)
    ) W6 L9 t; Y) V4 s3 S
  1798. ;opcache.revalidate_freq=2# z2 U" j- @  e* t

  1799. + h) G: v- `; W
  1800. ; Enables or disables file search in include_path optimization4 l+ {" |/ v9 [7 `6 O4 d* n" t
  1801. ;opcache.revalidate_path=0
    , R9 u* {! [- B  l4 `  E

  1802. # Z3 }% e1 T  q) \
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the2 U0 v* L% W) P' o/ O
  1804. ; size of the optimized code.4 n2 A( ~! P3 {* l- R( i/ z7 U
  1805. ;opcache.save_comments=1
    - V: u  o) U& [" I2 s  @' f3 _
  1806. # _( G- Z2 E* \
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code3 `. B2 l9 v& p+ m
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    % X; H3 W. [$ B, j8 ~: g! a
  1809. ;opcache.fast_shutdown=07 }; \: a. K- a+ S
  1810. : C: R$ }& O; ?; K; H4 O
  1811. ; Allow file existence override (file_exists, etc.) performance feature.1 o0 g1 i2 A" V$ ?, r5 a' _- @
  1812. ;opcache.enable_file_override=0
    9 h/ h. |3 G; k) U/ I( O4 n
  1813. 4 ]; m; o' o& f' G3 k
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    : ]. y, t' j/ u4 Q& [( Y
  1815. ; passes
    ! V, y4 O( g# u. `9 T4 m
  1816. ;opcache.optimization_level=0xffffffff
    : F3 b0 F! S) b
  1817. : |2 Q  ?( p5 Z+ y5 Q
  1818. ;opcache.inherited_hack=1" p- z2 `8 j& [5 S: `
  1819. ;opcache.dups_fix=0
    2 A; X6 r: M$ _% K, n/ M9 u

  1820. : _. z; [0 _- X" y6 @
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    9 \& _& P* l0 ^! D  Z1 o! w3 A
  1822. ; Each OPcache blacklist file is a text file that holds the names of files$ B; t1 `6 P( z& h
  1823. ; that should not be accelerated. The file format is to add each filename
    4 P1 f5 E  d4 M
  1824. ; to a new line. The filename may be a full path or just a file prefix
    . [- X$ }8 e/ g6 B1 n( T
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www  q! e1 J1 v5 J# r9 s" O( S
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    8 }- {$ R2 T) o2 S
  1827. ;opcache.blacklist_filename=
    0 @- W' m; ]: B* ]/ F& F
  1828.   u# r- h9 `. U" f0 D, j) M& K
  1829. ; Allows exclusion of large files from being cached. By default all files
    + w8 P9 x8 j/ u# K$ T1 Y
  1830. ; are cached.  g) t& D* z  U" C5 g
  1831. ;opcache.max_file_size=0
    3 \* B* E6 s9 r; l  ]9 F  x# J

  1832. - j1 x0 T3 U* ?9 P
  1833. ; Check the cache checksum each N requests.) z2 t* `" B8 [  X. d. j+ \% N9 i
  1834. ; The default value of "0" means that the checks are disabled.
    ( b5 d0 J: X4 Z
  1835. ;opcache.consistency_checks=0
    7 Y4 W/ _, _- u; B0 B3 H
  1836. ' s( s( K- ?1 N' r& X
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache% v. T2 q( F5 `* `& }) a
  1838. ; is not being accessed.5 g$ |# I# n, V' i- @4 D, L: n) u
  1839. ;opcache.force_restart_timeout=1800 ^8 X+ c0 q5 ]9 i6 Z3 L  n: R! p+ O; v

  1840. 1 J8 s/ y/ {/ O
  1841. ; OPcache error_log file name. Empty string assumes "stderr".8 S# x) M5 n: R+ Z" y4 P
  1842. ;opcache.error_log=, n; N% K, e2 e3 I

  1843. 2 {9 D5 _- a" u( l/ q2 V
  1844. ; All OPcache errors go to the Web server log.% J$ Y5 o1 a; _+ a- B5 ?
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.& r$ A( b- d7 O8 O9 t3 u  U
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
      @" @8 M- J+ s! V3 o( Y0 d9 ?
  1847. ; debug messages (level 4).$ X0 j8 \$ F% M$ R6 m
  1848. ;opcache.log_verbosity_level=1
    8 ?9 k% X7 B' ]9 d& T. \& K
  1849. ; Y7 h% x9 x  N; y3 ]/ Q" p
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    8 e# F7 M) O/ Q4 U# L5 i/ T
  1851. ;opcache.preferred_memory_model=- U9 q5 e) |1 k! e  i( o

  1852. . Z3 |' c: c2 B% b0 v& Z
  1853. ; Protect the shared memory from unexpected writing during script execution.5 P) M- D  c! L8 ?
  1854. ; Useful for internal debugging only.: `7 Q/ O, I0 _( i6 d. v
  1855. ;opcache.protect_memory=0* X9 _& L: c. w: r
  1856. * v8 c% G+ Q4 r" i" M  o2 O8 v0 [
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is, ^% s7 O2 Y! ~7 s5 E9 I. l
  1858. ; started from specified string. The default "" means no restriction/ g7 k/ b, l8 k3 C9 R
  1859. ;opcache.restrict_api=" K$ f+ J# `! S& F5 N6 T

  1860. 7 u/ y2 _) _9 @: L8 c, ]+ \
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    : T; O8 ?, h3 k
  1862. ; processes have to map shared memory into the same address space. This
    4 e- {* U, e( n/ M; l5 @5 c
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    + q: J& z3 m( L7 |' T
  1864. ; errors.
    ; ?) V) l6 i- C7 F
  1865. ;opcache.mmap_base=7 E# O; p; ~0 z, P' t

  1866. + f7 t3 W# r) W( {0 V2 G  d6 Y
  1867. ; Enables and sets the second level cache directory.& W6 Q# R! g+ U( Q. z2 x! Y' y
  1868. ; It should improve performance when SHM memory is full, at server restart or$ z! L3 M( o3 ]- i
  1869. ; SHM reset. The default "" disables file based caching.* O/ J& v* ~) N& A4 b
  1870. ;opcache.file_cache=- h2 ?5 P5 K/ e# A+ o* V8 w4 f; P

  1871. 7 e* c1 t3 W' r; G6 z: v& {3 V" N/ W
  1872. ; Enables or disables opcode caching in shared memory.& Y0 b. ?, y0 }% X
  1873. ;opcache.file_cache_only=0
    5 w# M- S7 C% T$ }% u

  1874. % V7 ]  \# f* |9 |1 f4 D6 `
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    # C/ u0 D- m6 Z- g
  1876. ;opcache.file_cache_consistency_checks=1* s) O$ t6 {! |- Z2 ^2 `6 T4 h
  1877. . C5 Q- F) c( C% b% Z- k) ^! g# m
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to2 V  _0 l/ _# R, }' W  F: k
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    1 T6 O1 l6 z  X0 N
  1880. ; cache is required.; T4 f3 @% {, d0 x( T6 O
  1881. ;opcache.file_cache_fallback=1
    - n( W  x  |& V! k

  1882. # K# j2 b9 ~/ d
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.( _8 x, l- i9 E5 N
  1884. ; This should improve performance, but requires appropriate OS configuration.0 y0 f+ W: {" N# A8 c* O3 [% ?& ]
  1885. ;opcache.huge_code_pages=1# B8 e4 H; Q4 j- V' i% E8 ?

  1886. 3 [. H* r5 w; e7 }: o
  1887. ; Validate cached file permissions." o; S6 u% ]; m1 n; M
  1888. ; opcache.validate_permission=0
      @; \3 ~, \+ ]' Z6 D# m

  1889. 3 J) ~6 I/ f  P$ w
  1890. ; Prevent name collisions in chroot'ed environment.6 B( v" H  B  d  Q- D% i& E1 ~- S
  1891. ; opcache.validate_root=0, ?- b1 Q/ X9 M$ C

  1892. + P% y" F8 H% y; z- [2 `2 s
  1893. [curl]+ |* o  ^) J: [3 H& E0 A( N
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an) `( K$ g8 P$ m+ E" [/ n; Z7 c
  1895. ; absolute path.' t% l$ U7 G: u) t
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt# _4 Y& P& L$ |1 \
  1897. ) o" I3 ~5 z4 s& F% ~( q) Q
  1898. [openssl]/ n! K: {# M, [5 I9 x
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    1 m* G% W+ {& M
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should: T6 T, j( H3 r- {8 |* i
  1901. ; not specify a value for this directive as PHP will attempt to use the
    . Y3 F, D# A% @  q) k# D3 m  d
  1902. ; OS-managed cert stores in its absence. If specified, this value may still7 N) S6 O+ u" F  B
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context# D9 l# n$ K  R4 M. x7 ~6 c9 {
  1904. ; option.
    1 l: b7 w5 d7 G6 S
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt0 ]( ^( e5 i! Q3 Y2 r& [

  1906. * J9 V* P3 r: k; s) t8 e7 d
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    : E8 ^/ D, C# {8 s
  1908. ; directory pointed to by openssl.capath is searched for a suitable+ Z$ B2 J7 N! ?0 q" C- k
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    4 ?' K, V* s/ R: r
  1910. ; Most users should not specify a value for this directive as PHP will/ J7 i& ~1 M/ Q9 N; ?
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    # g5 f% n( R/ t( Q9 t! [" |
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    # Z; e/ R6 K; J/ B7 T
  1913. ; SSL stream context option.
    % z$ S9 T6 x6 x. M, ^/ r$ j
  1914. ;openssl.capath=
    " A6 a; |$ M) h" n8 U

  1915. . u# q+ V( h8 ~: v$ J
  1916. ; Local Variables:, C$ b. a. h7 i' [2 s
  1917. ; tab-width: 4
    . U6 g( T9 o3 c0 P9 `
  1918. ; End:$ X7 \" R8 {' p+ _9 t, p4 G

  1919. 3 f* M! U( Y$ [
  1920. ;eaccelerator( M4 `! a' @  v  h1 d

  1921. " F) G9 q! q1 F1 q0 ~
  1922. ;ionCube& C* M; ?4 z3 z) I
  1923. : t2 q  S6 j" D* z
  1924. ;opcache% [) N) h2 O$ ~5 S. ^# H

  1925. / t5 t- w. N% U, P8 A
  1926. [Zend ZendGuard Loader]
    * }# |2 z- h& r: o: t
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.% s# u' P% E$ `7 ]. v& k
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    & ?  J) R& E# r. ^
  1929. ;zend_loader.enable=1
    8 J5 w: O! c/ U* ?1 M# G
  1930. ;zend_loader.disable_licensing=0& t- [5 p4 c; D8 z
  1931. ;zend_loader.obfuscation_level_support=3
    6 i1 u, M# U  h8 G. r9 P: t
  1932. ;zend_loader.license_path=
    1 X& r3 `3 k5 H3 h  c

  1933. / ]3 W& R- C: U. S) n) Y' f8 t- t
  1934. ;xcache
    2 z3 E2 X+ L; ]$ r$ N/ L
  1935. 9 p! B9 ^9 N) }0 e
复制代码

' l# F8 Y" O! l! ?& Y
1 I: z" V# V' ]; H5 ?9 U; A  \! V! H' l" ?! o, Z1 r& H( Z0 y" V( a
, u2 i3 D: Y! s6 S+ D! K% b

% A% N" s; p& q5 Y
3 @& V7 Y0 u; S) Q9 E7 v$ n- h' ]( l( O" U! }# l* o1 F) e5 J  o
PHP5.6版本原始设置
% \1 B6 u' `; l9 W( X& E2 Z  D0 N& d: O
  1. [PHP]
    1 s* R9 ^0 x  R& [

  2. 8 T/ ^0 ^! l0 [* L; S: i6 Q
  3. ;;;;;;;;;;;;;;;;;;;  i3 {* J# n7 D* U$ h1 F
  4. ; About php.ini   ;
    + I9 o% e" M& o6 I( n  R" I
  5. ;;;;;;;;;;;;;;;;;;;3 P- k4 r* A# D0 I
  6. ; PHP's initialization file, generally called php.ini, is responsible for# a& Q& y8 R: {. Q
  7. ; configuring many of the aspects of PHP's behavior.
    $ b5 g9 e5 L7 J! [' x6 {0 P& Z! r
  8. 0 s' O  G7 M( e) ~
  9. ; PHP attempts to find and load this configuration from a number of locations.
    / L, P2 f* o+ ^$ p3 s
  10. ; The following is a summary of its search order:
      V) A8 o* G1 S7 o6 t
  11. ; 1. SAPI module specific location.
    + w/ h* g5 F0 _& ^( K: y
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    7 m) w- b- a0 b1 F+ m3 A
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)3 v+ `" y# k+ E6 z/ a
  14. ; 4. Current working directory (except CLI)0 ?# S' D: ?( u
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    0 I: Z) v( r- `" j! J. ~: S
  16. ; (otherwise in Windows)3 ?/ p: S( a2 q* e
  17. ; 6. The directory from the --with-config-file-path compile time option, or the/ l" O  o5 A$ v( `4 U' c1 n5 O9 Z
  18. ; Windows directory (C:\windows or C:\winnt)7 h2 c1 Y5 A% O! H7 o# c" A
  19. ; See the PHP docs for more specific information.( w. d; L, N* H! {% j0 H" s# I
  20. ; http://php.net/configuration.file/ f1 Q1 Z2 z4 X
  21. 7 C, n) u! r- v
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    8 e7 S" p" n4 u) \2 C/ p: G
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)." G, o" `5 r( e# k
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    1 ]  s+ i4 K) t, |7 D
  25. ; they might mean something in the future.
    ' r, U7 X# l) {
  26. & k. e* g3 J/ L% c' @# p6 L
  27. ; Directives following the section heading [PATH=/www/mysite] only
    6 ]/ i( F8 L" a
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    , L9 [: e6 P/ k, V
  29. ; following the section heading [HOST=www.example.com] only apply to4 w+ d% }2 U$ J$ ]% V& V
  30. ; PHP files served from www.example.com.  Directives set in these; ]% C2 x3 H; x
  31. ; special sections cannot be overridden by user-defined INI files or
    5 x; L+ G. M- b+ ^5 }. y& U
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    4 e! n7 L8 _7 V* }0 K$ d
  33. ; CGI/FastCGI.
    . D) y, T: w5 K8 S; Y7 o
  34. ; http://php.net/ini.sections
    $ w' m; i& ]( U) i' k7 [! R
  35. ' v% b# L6 R3 u8 I! v
  36. ; Directives are specified using the following syntax:& ]' D4 z% L9 c/ t7 U2 U
  37. ; directive = value; O, }1 A0 r# A' x$ K
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.8 M. B; F' y- `7 B4 C
  39. ; Directives are variables used to configure PHP or PHP extensions.4 o1 z+ q4 L% q; Z, Q* @
  40. ; There is no name validation.  If PHP can't find an expected0 R4 e  l9 }2 ]9 a; z
  41. ; directive because it is not set or is mistyped, a default value will be used.6 ~0 ]; @& H) b$ y
  42. 5 ~1 i* ?% u  p* b
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    / J6 z3 k- d4 A1 s* q: K
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ' _% G' u, {* ?0 [  i; k
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    % W' R% v+ a* S; ]- z; k) D" }) X
  46. ; previously set variable or directive (e.g. ${foo})
    " ?, X8 R# Q" w$ c; n0 ~2 X  |
  47. 1 N1 ]( x% w$ w# r' ]) i4 Z
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:% X  Z3 [7 X- d; o+ B
  49. ; |  bitwise OR; C9 Y6 }0 E/ g
  50. ; ^  bitwise XOR+ y, Q  z$ e) }1 j3 S; N
  51. ; &  bitwise AND
    % v; |4 t  n4 P. ]% W  I1 ?
  52. ; ~  bitwise NOT% G/ h! o- g7 u& }! d8 i& q) H7 H$ c
  53. ; !  boolean NOT
    ; @. i8 L+ E# w
  54. / E1 ?" D0 i. ]: }! l* G* X3 d
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.9 u4 X) q5 {6 V0 o
  56. ; They can be turned off using the values 0, Off, False or No.
    & y9 ]& |  f( C4 X3 }! ?) r) L! {
  57. 8 g" [3 d( c2 S7 F( O* S
  58. ; An empty string can be denoted by simply not writing anything after the equal
    1 ~, b0 O6 A! y2 x5 m$ V8 Y+ Q
  59. ; sign, or by using the None keyword:0 \  C) \. K9 v5 O3 @+ v
  60. 6 x' L5 h0 @% O
  61. ;  foo =         ; sets foo to an empty string
    " n% ^* V$ d! B/ r7 n- q
  62. ;  foo = None    ; sets foo to an empty string
    ; ^$ z' e! x# Q3 r1 A3 ?
  63. ;  foo = "None"  ; sets foo to the string 'None'0 v5 ]: Y8 f. e, j* H9 o7 I

  64. 3 }% z& j9 ?5 E4 f
  65. ; If you use constants in your value, and these constants belong to a5 s+ |# x" C1 @0 y7 w
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),/ D. S. Q# Q4 F2 o6 R% ~
  67. ; you may only use these constants *after* the line that loads the extension.6 k$ C+ \% L2 ^: V: e* w
  68. & I3 U4 V6 @' T& T+ `
  69. ;;;;;;;;;;;;;;;;;;;' b" j, N) R2 {3 E$ |4 F
  70. ; About this file ;: I% }  J; h  t, g# a: [' E: y) W2 ~( u
  71. ;;;;;;;;;;;;;;;;;;;
    # |; |' P& c5 A) W8 M- H6 ]2 `+ h
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    1 u2 O! l, y" s4 h5 n$ T
  73. ; in production environments and one that is recommended to be used in
    ' _2 s# w! h6 g) s* J! @, u# ^
  74. ; development environments.& e. L: h5 \4 F+ i  w
  75. ' T) Y9 V& C/ H( z+ h" I
  76. ; php.ini-production contains settings which hold security, performance and
    ( m5 u; X% Y7 b/ ~
  77. ; best practices at its core. But please be aware, these settings may break, [! W) W- m2 }
  78. ; compatibility with older or less security conscience applications. We
      l8 O: @( N2 Z. K$ C1 R: _* }5 D- G
  79. ; recommending using the production ini in production and testing environments.: J' H( i/ l3 m6 l. O8 j4 O

  80. 9 P* N7 \/ X( |
  81. ; php.ini-development is very similar to its production variant, except it is/ a0 H4 e7 q) O; N. @
  82. ; much more verbose when it comes to errors. We recommend using the
    : Y0 C' |4 b1 K6 T/ Z% F, p6 R
  83. ; development version only in development environments, as errors shown to
    ! z0 f* b5 K8 D  w
  84. ; application users can inadvertently leak otherwise secure information.% C' ^/ O! h( A- z9 F, n4 g" \
  85. * F$ J( |7 i4 |# S
  86. ; This is php.ini-production INI file.# P- H. z7 B9 n0 J6 j
  87. $ C8 x7 K8 u+ F; w. r, i) Q3 g& H  n9 Q
  88. ;;;;;;;;;;;;;;;;;;;& @/ {7 \: c$ D+ k9 p' V# p0 P* P( D
  89. ; Quick Reference ;! {3 I. a1 F+ x  a" P
  90. ;;;;;;;;;;;;;;;;;;;
    - S% J) M5 z& [% \& f( L# ~
  91. ; The following are all the settings which are different in either the production$ E: J. B& a* _: @0 m! X) d2 H
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    : w/ c/ g! m+ v5 O1 ]% j
  93. ; Please see the actual settings later in the document for more details as to why
    ! P# i9 C4 F* |
  94. ; we recommend these changes in PHP's behavior.
    ) ^) ~- t+ \: Y

  95. 5 H% Q$ i3 r, `$ ^4 u" S
  96. ; display_errors
    9 f; l/ A8 t0 d6 H& Z, X3 v
  97. ;   Default Value: On
    9 M, W: M0 k  @* q
  98. ;   Development Value: On6 O& _) N0 B8 q  I8 v
  99. ;   Production Value: Off
    2 m% ?% }: `. ]0 S: V
  100. ' ?" D/ Y* ~- b7 q/ x
  101. ; display_startup_errors
    % O6 O- a) O9 i: ~
  102. ;   Default Value: Off, p( r" u& C8 u2 S# {; j
  103. ;   Development Value: On
    2 v* k, u! j& F5 D0 {
  104. ;   Production Value: Off* b' l8 M- B1 I

  105. 5 w  w! {% n$ c2 j5 m
  106. ; error_reporting6 x7 l6 ?& P0 o: c- {; K
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ! P+ I% r, e  t1 o& i
  108. ;   Development Value: E_ALL! }5 Q) c# @  u
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , c5 }9 Z% i3 W+ V# {( H
  110. 1 m7 q- x1 P+ O2 V/ m
  111. ; html_errors$ c4 x4 O& L- T0 P
  112. ;   Default Value: On4 c* U: X# E9 e% x6 n, V
  113. ;   Development Value: On2 Y# z4 v* @* ?' C3 u& o# }
  114. ;   Production value: On
    ' ~" I8 o5 A9 f7 k6 ?( W
  115. 6 B# }- @+ `, h
  116. ; log_errors1 @7 |* E- ]) g; d4 m# n/ r$ q. m
  117. ;   Default Value: Off- e0 f7 T! |  }
  118. ;   Development Value: On
    $ k3 }+ w* b5 N* ]  G6 Y
  119. ;   Production Value: On% l2 q" ?# K7 R) h
  120. 2 g2 ~0 ^: ~. e# Y( X- ^7 u, q6 w
  121. ; max_input_time
    # A7 J8 T" d7 F: f4 h( y
  122. ;   Default Value: -1 (Unlimited)( t; p; ~* g- `
  123. ;   Development Value: 60 (60 seconds)
    # X7 j( P( A1 O3 a5 |" h. D
  124. ;   Production Value: 60 (60 seconds)
    ; M- {4 q- @, I" `4 e5 E
  125. , x, M6 N8 C% ]& _% X
  126. ; output_buffering
    ; ~( ^' Q( b8 ~) n; M) w
  127. ;   Default Value: Off4 I" ?1 W/ V) ], S+ R4 z( W
  128. ;   Development Value: 40966 T# c4 @* H$ T% ]
  129. ;   Production Value: 4096/ i7 S3 _4 X7 \. g- ]
  130. 8 [8 [; Y! x6 ?. D, Z6 o' _3 s8 i/ h
  131. ; register_argc_argv  z; r3 |8 E8 K" @, r% t9 p( R
  132. ;   Default Value: On
    # W* ^7 m! c3 M6 K
  133. ;   Development Value: Off
    6 x% m# I6 N% c3 e; Y$ Q, D& O
  134. ;   Production Value: Off4 N4 f9 ?( x3 W0 w  ?

  135. # G1 \' o  V$ h
  136. ; request_order
    . q& I$ K$ a! l* y  Z
  137. ;   Default Value: None& K* y. d7 B! @. {: L' Z. K! U1 ~8 q
  138. ;   Development Value: "GP"7 @9 \" C- _  B; v. @$ S; N
  139. ;   Production Value: "GP"
    5 z- q9 z4 z9 c6 I+ o& Y" D8 v+ B
  140. 2 _3 U$ }) F' t
  141. ; session.gc_divisor; K% ^, U( z) q& t+ c$ W1 m. K
  142. ;   Default Value: 100
    ( q9 K9 o+ h$ K+ b
  143. ;   Development Value: 1000
    & B% g7 }( I7 E$ e
  144. ;   Production Value: 1000
    / l0 h5 i. a2 n8 G- @/ y

  145. ) Q8 c; J  c6 e0 T; f
  146. ; session.hash_bits_per_character& }' P: X/ e. L& `3 U8 L
  147. ;   Default Value: 4
    ) Q% Q. Y) x. S; r
  148. ;   Development Value: 5* v" c5 `, Y2 w. X& r( d
  149. ;   Production Value: 5
    ' Y/ K" Q# B2 A* Q/ U1 r

  150. / X! }; K1 r# w+ V! Q
  151. ; short_open_tag3 p) g; q9 l2 G. F
  152. ;   Default Value: On) O9 p, x; E6 ?/ k
  153. ;   Development Value: Off
    7 U4 y* [( z3 n3 S9 v
  154. ;   Production Value: Off
    " r8 o, Q+ J4 S4 w6 p8 a
  155. 2 ?0 r0 Q( I* D( V0 M
  156. ; track_errors
    1 j" Q8 f5 B% i6 |0 @& `7 |
  157. ;   Default Value: Off( W8 C3 v" O( E/ M
  158. ;   Development Value: On
    , s+ H+ e! y4 S' d) ^/ k: L
  159. ;   Production Value: Off3 C, H6 Y' `( Z0 I8 W
  160. ( T. N0 b+ i: j/ X! ^8 _* r- z
  161. ; url_rewriter.tags
    ( F4 v- E$ \5 N* m' T4 C
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    7 @9 z( W. y' s1 w# P. ?
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ e' S' X, V$ _+ q! m1 v3 |/ B' j
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( w* ]+ X  o6 w: U! R  v# w

  165. : D& s/ s% f0 @0 q, W" g6 Z  J
  166. ; variables_order
    ' f, d+ E. A: B* f, ?
  167. ;   Default Value: "EGPCS": n' R% _9 B, h) h. r2 N' T$ O* o; Q
  168. ;   Development Value: "GPCS"
    3 E1 I" e6 M1 T; r3 @+ |! @
  169. ;   Production Value: "GPCS"
    . S/ j$ p; c% u( |
  170. ( T& v" y! Z' S
  171. ;;;;;;;;;;;;;;;;;;;;
    ' M; X9 ^# o9 x( }/ E  q
  172. ; php.ini Options  ;6 n: i% e8 A. F# J  ~. r9 [
  173. ;;;;;;;;;;;;;;;;;;;;  ], j; R; p7 I# e# n
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    % p' ~. k# Y$ U0 v/ P* \2 `
  175. ;user_ini.filename = ".user.ini"9 [3 M% X6 H. v5 o* G
  176. 0 o9 N* R8 b+ M/ O6 S7 u' ~+ x( }: |
  177. ; To disable this feature set this option to empty value2 o7 a7 L' p% B1 _5 K
  178. ;user_ini.filename =
    ! _) ], [, }, R6 X' M* _
  179. + X6 T$ }" h- N/ n- q5 o$ b
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    * E/ B8 [( l5 h8 }$ _. |. |
  181. ;user_ini.cache_ttl = 300
    ! s. O$ |- y. o, w6 J% R

  182. 5 g* D) M3 a, {* D6 w
  183. ;;;;;;;;;;;;;;;;;;;;. p  u/ M3 P! l  \. q
  184. ; Language Options ;* ~$ ?5 }7 R$ U% Z; z8 V7 _; O
  185. ;;;;;;;;;;;;;;;;;;;;+ t# ^$ z8 o( m; x  }& p3 r

  186. 6 e- I! q0 E8 l4 E
  187. ; Enable the PHP scripting language engine under Apache.2 |% t; a! d7 r1 K% u5 Y9 E/ }
  188. ; http://php.net/engine
    4 s! G/ ]: Y3 }! k+ S+ @
  189. engine = On
    3 a: l) x% O- d- x! f1 `% K  v" i# J

  190. 3 a( i! n8 f+ G
  191. ; This directive determines whether or not PHP will recognize code between
    6 z# _' I( A+ w7 z% ?4 S
  192. ; <? and ?> tags as PHP source which should be processed as such. It is& e$ S% }7 g' m2 X; t0 J+ _/ X
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ; w- M0 d5 J$ n$ b! X: F* N2 v
  194. ; should be disabled, as enabling it may result in issues when generating XML
    7 x0 v9 F/ h5 C$ X# z" N+ B7 S5 d4 M2 {
  195. ; documents, however this remains supported for backward compatibility reasons.7 i0 w$ B9 x- c' m0 E* H
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    1 G9 a2 {6 L3 c" ^) V6 ]
  197. ; used regardless of this directive.
    ! |0 q2 J4 A/ h9 A) q: D% L
  198. ; Default Value: On
    : }  x8 V0 D) Y. ?& ~0 A: v) ~* o
  199. ; Development Value: Off
    # t( T/ {1 b4 C
  200. ; Production Value: Off5 [$ |' Y  T) Z8 G
  201. ; http://php.net/short-open-tag( Z3 j, [$ [/ f. o% b/ b2 _( g5 Y
  202. short_open_tag = On9 S+ U5 G0 b# w6 p; a/ a
  203. 8 \$ i9 {+ C$ S# I9 G, b0 m+ e
  204. ; Allow ASP-style <% %> tags.3 ]: \! Y/ M3 G' J8 N
  205. ; http://php.net/asp-tags; g2 {9 I/ S, y  V. O
  206. asp_tags = Off  z9 A% X& b' i' h. `6 g
  207. / |  E! a2 U$ Z8 A
  208. ; The number of significant digits displayed in floating point numbers.1 i6 P* c* i0 a- W3 S$ k" k
  209. ; http://php.net/precision0 `9 N1 K. d3 ]6 A5 z2 f; x4 e! O
  210. precision = 14
    ' b" s! D# c; c8 C+ }1 ?
  211. $ H* n1 O( h% C. _
  212. ; Output buffering is a mechanism for controlling how much output data2 t9 W+ }& m. I" c8 J5 [' ^5 Y0 O
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ! V$ u" c8 w5 z- Y& r8 f
  214. ; data to the client. If your application's output exceeds this setting, PHP0 ^0 E, r7 A: C1 [
  215. ; will send that data in chunks of roughly the size you specify.2 j3 Z! n  s: L3 C
  216. ; Turning on this setting and managing its maximum buffer size can yield some; E9 U0 `& ?7 @, O+ W
  217. ; interesting side-effects depending on your application and web server.4 k0 x9 F- j0 m3 P" l3 k
  218. ; You may be able to send headers and cookies after you've already sent output0 ^; o" n. m- ]" y6 @, a- K
  219. ; through print or echo. You also may see performance benefits if your server is
    # u' ?- |6 ~" Z% `5 ^- L
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    . v! A; M! }* W6 ]$ T5 i1 O8 p
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance1 Z! a3 A& t9 z2 y0 x
  222. ; reasons.
    ) |  M. m8 U+ |6 p9 P6 q2 O
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    / `1 b+ N9 X- H) `3 T
  224. ;   functions.
    6 V/ A5 }$ l& Y7 A# }3 p% H/ @
  225. ; Possible Values:% W- k. F$ n& L7 q
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    9 x1 Y) T8 l, t: }; k. P' R+ A0 A
  227. ;   Off = Disabled: d! r* t9 T! W
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes./ e/ x$ `) e0 r. e& c- Z4 N
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    + y7 W& D2 a, j0 i- U
  230. ; Default Value: Off
    7 S' L  ], k9 w  F* T. l
  231. ; Development Value: 4096& ~7 b$ l. R7 a& {% {% y
  232. ; Production Value: 4096
    ' {9 \( F3 |; p1 H. N" a" l; _
  233. ; http://php.net/output-buffering, `3 F2 L2 p: d0 z* B# C9 }
  234. output_buffering = 4096
    # d+ P: D* N8 z3 s

  235. , D) I+ J9 ^6 _9 p2 t9 {6 A, @
  236. ; You can redirect all of the output of your scripts to a function.  For& ]$ I$ }. W+ ]; j- k
  237. ; example, if you set output_handler to "mb_output_handler", character
    / D1 {* A6 P! `7 v0 F
  238. ; encoding will be transparently converted to the specified encoding.
    8 l3 a/ i& E* d3 h) }, \
  239. ; Setting any output handler automatically turns on output buffering.
    5 t- c* c7 ]3 q  b  O
  240. ; Note: People who wrote portable scripts should not depend on this ini* ^" @2 G: m/ n# A$ V/ t
  241. ;   directive. Instead, explicitly set the output handler using ob_start().. h( @/ V7 q$ u5 m1 V! {" o
  242. ;   Using this ini directive may cause problems unless you know what script
    6 D" X" F; f9 D* ?+ u3 |
  243. ;   is doing.* y8 u: W- K$ O1 B/ r" P$ x3 ]
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    . z6 m6 X& k8 j
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".& |  S' Z. B5 H: o! w& j$ V
  246. ; Note: output_handler must be empty if this is set 'On' !!!!; r0 T& _* h' p1 N3 V
  247. ;   Instead you must use zlib.output_handler.9 h/ O( _* D- ]9 H5 p3 s
  248. ; http://php.net/output-handler
    ( {' O3 k- v' N/ j6 _2 U! }  S
  249. ;output_handler =
    5 b' {: S; h' J3 U

  250. 6 M4 T! q! x1 Z, S
  251. ; Transparent output compression using the zlib library
    2 q9 |* `" q: \! M- e, `0 ?
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
      B7 Z+ `4 P" F; @
  253. ; to be used for compression (default is 4KB)
    ) n6 S, h& [1 |& j% [2 N, f
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP; B. k- m" Y! }! ~7 P
  255. ;   outputs chunks that are few hundreds bytes each as a result of5 W% s9 E2 w+ Y! n# \- g
  256. ;   compression. If you prefer a larger chunk size for better* J5 V- W8 _: j
  257. ;   performance, enable output_buffering in addition.
    ; {) h* X& x3 Y4 g* T
  258. ; Note: You need to use zlib.output_handler instead of the standard1 M% T7 ^0 g. F' n
  259. ;   output_handler, or otherwise the output will be corrupted.( p% q; g& F9 m
  260. ; http://php.net/zlib.output-compression( E4 I3 x, F9 m9 M: D0 @) w) b5 Z
  261. zlib.output_compression = Off8 g5 w9 r6 ?. m7 v/ [7 `! S4 @
  262. 5 s1 Z; n" `/ i  ^) T
  263. ; http://php.net/zlib.output-compression-level
    3 B$ o  A, Z1 S
  264. ;zlib.output_compression_level = -16 a$ Y- D# q2 |# J$ H6 v2 t

  265. 2 n6 t( i7 `# s. X$ M' i" e
  266. ; You cannot specify additional output handlers if zlib.output_compression
    7 o  Q! d; d& y
  267. ; is activated here. This setting does the same as output_handler but in. k: Q% V* H& N- d& E- c
  268. ; a different order.% |: u& l+ L: V
  269. ; http://php.net/zlib.output-handler
      ^2 _5 f+ }% n- V, }& p+ `
  270. ;zlib.output_handler =
    - o; o! g! p# \, g

  271. ; P" _- H6 T! H, Q- U
  272. ; Implicit flush tells PHP to tell the output layer to flush itself& T1 i5 A' `' d& k/ d  @  w2 s
  273. ; automatically after every output block.  This is equivalent to calling the' [4 i& z8 B* W
  274. ; PHP function flush() after each and every call to print() or echo() and each4 l, ?4 r8 ?% |* Q4 F
  275. ; and every HTML block.  Turning this option on has serious performance
    0 V# c4 B' a7 L. I
  276. ; implications and is generally recommended for debugging purposes only.
    7 ^; ?6 ~' k" N9 u) O. F% K
  277. ; http://php.net/implicit-flush
    5 k$ ?# Y: U( [: b+ j, r# k
  278. ; Note: This directive is hardcoded to On for the CLI SAPI3 c5 ]4 ^8 a- h
  279. implicit_flush = Off
    ' ?8 f' k9 M7 w5 |- n- C* t

  280. # a. k$ ?8 s6 x/ U  F. ~
  281. ; The unserialize callback function will be called (with the undefined class'
    ) i0 u5 g  q/ R& I( @$ C0 d- r9 X' P
  282. ; name as parameter), if the unserializer finds an undefined class$ M: d4 N  E" B$ \
  283. ; which should be instantiated. A warning appears if the specified function is
    1 `2 ?0 ~9 k% m2 X6 |8 b
  284. ; not defined, or if the function doesn't include/implement the missing class.0 v7 g4 Y9 V7 s/ q
  285. ; So only set this entry, if you really want to implement such a; p6 ^6 w! A" I' Y
  286. ; callback-function.
    / l. j3 I$ B2 O
  287. unserialize_callback_func =* `2 [4 p: I+ ^/ e% |. v) \
  288. + K- y' d6 f! n' S* J
  289. ; When floats & doubles are serialized store serialize_precision significant+ S$ R6 E2 K  X4 q1 ^" ]1 |
  290. ; digits after the floating point. The default value ensures that when floats
      A% A- g7 }7 k1 Q% P6 E: G
  291. ; are decoded with unserialize, the data will remain the same.$ B/ A/ g) K" M. |
  292. serialize_precision = 17
    5 l% A; g1 o  }* j
  293. ' E; d& z2 {: s- b7 }* M
  294. ; open_basedir, if set, limits all file operations to the defined directory5 a' c! z7 ?% J1 }6 s
  295. ; and below.  This directive makes most sense if used in a per-directory# S+ |: ?9 y! y7 D2 O
  296. ; or per-virtualhost web server configuration file.1 J9 l6 ~4 M: Y/ M& C; p
  297. ; http://php.net/open-basedir
    ) y- a) m. ^0 [, ~3 b4 o: q
  298. ;open_basedir =
    , T% A% S2 g0 \' Y' q
  299. ) u" O. P) S* j
  300. ; This directive allows you to disable certain functions for security reasons.
    & L$ ?; s+ V; l" O
  301. ; It receives a comma-delimited list of function names.
    3 T  J, v5 c0 S  [9 p/ A
  302. ; http://php.net/disable-functions! B# B1 Y/ \+ i1 T6 ?
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    & q9 I) A; s, ~! S+ z
  304. ) Z2 `* M  ^6 }. ^7 G. I. S+ {* B
  305. ; This directive allows you to disable certain classes for security reasons.3 d) E5 k* u! L" E
  306. ; It receives a comma-delimited list of class names." p; Q7 Q- A6 u: l) |- x
  307. ; http://php.net/disable-classes2 O5 m9 s0 |; t. g5 ?
  308. disable_classes =
    8 u- @4 X# G6 h& C  Z0 G9 n6 S* ?, V

  309. # e3 _$ q" b  C
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in" |. f  R  B' R" U+ l) L, l# H, F) R
  311. ; <span style="color: ???????"> would work.
    # g+ _  q$ A4 L5 O2 U7 `: d" [% g& s
  312. ; http://php.net/syntax-highlighting  `$ J) z. W+ z0 s' b1 j5 J
  313. ;highlight.string  = #DD0000
    * P# B5 {/ \6 `5 \. B/ W5 q
  314. ;highlight.comment = #FF9900+ U: X  B& E6 B1 l2 v7 C& ~
  315. ;highlight.keyword = #007700
    : y" `$ r( L; X) I( d$ b, a& e5 G) L
  316. ;highlight.default = #0000BB8 A& y$ n+ _7 }( Z4 b
  317. ;highlight.html    = #0000006 y  G9 q0 |$ V

  318. 2 H- U0 [. e2 y& _' Y
  319. ; If enabled, the request will be allowed to complete even if the user aborts3 |% E3 ?% u! v
  320. ; the request. Consider enabling it if executing long requests, which may end up
    7 l  k+ t- Y# n8 k3 e, z: V
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior8 z  |" R8 S$ S# e
  322. ; is to disable this feature.# u6 F7 B% R2 o9 R2 i
  323. ; http://php.net/ignore-user-abort
    6 V7 Z# X' l/ z; @
  324. ;ignore_user_abort = On
    ; T- s0 w5 G( X, e5 I

  325. ) o2 C; @) n5 \7 }' K7 X
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    1 R' Y7 \. J% M3 e
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    3 x  ]8 d9 U2 h: y
  328. ; the file operations performed.0 D7 z/ b8 |2 A9 Y, z* j
  329. ; http://php.net/realpath-cache-size: {) r0 z# ~; Q! N+ ^8 U
  330. ;realpath_cache_size = 16k; j) ^& x* {- N  T$ s
  331. 5 p( ?! ?% g0 j# P! }- G
  332. ; Duration of time, in seconds for which to cache realpath information for a given4 Z7 O# r/ J, e2 g* J
  333. ; file or directory. For systems with rarely changing files, consider increasing this- ?& V$ I" O) Q, M. g9 T2 @
  334. ; value.
    3 G# @  [* I$ L$ |; m) c" r# Y+ y. t
  335. ; http://php.net/realpath-cache-ttl
    2 M8 [( ]+ u* ?
  336. ;realpath_cache_ttl = 120
    : N/ D1 I4 B. o; C5 h
  337.   E% x/ w2 j( V# ~8 v% `) r
  338. ; Enables or disables the circular reference collector.$ J7 s# v4 v. f& N# N+ l, v* C
  339. ; http://php.net/zend.enable-gc' d- ~- v. n# t; j8 w4 Q  ~
  340. zend.enable_gc = On# G( Z* D+ C2 w2 N$ R
  341. 1 I/ T, s  |$ a4 P
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    ; f5 v, V2 g8 c6 r$ @( I
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    . C$ z% B' B4 X  Y6 w; r3 j: M
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    " V  L1 B1 g: Z, }2 o  u
  345. ; Default: Off
    % @! j. P+ L) n3 l" a) R
  346. ;zend.multibyte = Off
    ( n8 q6 s, K, u! Q7 n

  347. - @' Y7 b1 b) F% }, {
  348. ; Allows to set the default encoding for the scripts.  This value will be used" s8 O  B4 g4 W, j
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.) H; L% v7 @! F! h8 c$ Z
  350. ; Only affects if zend.multibyte is set.
    3 ~. E  K# {! H/ E0 ~1 z! o/ `7 {
  351. ; Default: ""9 s6 @3 R( W+ D' ?0 ^
  352. ;zend.script_encoding =; \- o1 i# i# y  B( {7 Y. |. p1 E% h
  353. ( t" Z8 y, i/ d5 }' D8 S! o
  354. ;;;;;;;;;;;;;;;;;
    0 b! o4 u* H6 i# K
  355. ; Miscellaneous ;
    6 K+ [7 x5 n8 E/ z+ d2 ~; W! Q
  356. ;;;;;;;;;;;;;;;;;# ?. n3 B- Y; I3 y! @. ^& e

  357. & h$ I1 S9 R) j* `: ~7 I
  358. ; Decides whether PHP may expose the fact that it is installed on the server' o# R; B! g! q" o7 Z+ ?
  359. ; (e.g. by adding its signature to the Web server header).  It is no security8 L3 L  R3 s- Q2 w9 d0 E
  360. ; threat in any way, but it makes it possible to determine whether you use PHP  \' h8 F: {4 c8 S  Z
  361. ; on your server or not.- B- h: ^: f$ a+ w" V
  362. ; http://php.net/expose-php9 Q' L3 S4 `2 \% R8 `" s
  363. expose_php = On. w! J5 S- b; g: B5 n7 T$ l

  364. 5 B( w" K" u* {( c
  365. ;;;;;;;;;;;;;;;;;;;- Y- g) X/ x/ J; Y: ]0 B
  366. ; Resource Limits ;
    " B1 `9 Q3 n+ W" k9 Q
  367. ;;;;;;;;;;;;;;;;;;;
    * {4 V- D0 h' a9 I. _/ o
  368. 9 D( e6 e; b3 I. V
  369. ; Maximum execution time of each script, in seconds# _; @& C: Q! q' t0 S1 P* U
  370. ; http://php.net/max-execution-time
    / Z' {" z( J: Q* k5 J- U6 g
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI% _) h, B8 x! i
  372. max_execution_time = 300: B. I$ w( ~' S6 p$ {; j( i
  373. $ w# |) U  c6 x6 ^! p8 P
  374. ; Maximum amount of time each script may spend parsing request data. It's a good. c; `( T1 H8 l8 O
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    % D# _1 m$ [' w+ d
  376. ; long running scripts.
      H$ ?# |$ w. N) ]: z) Y, W
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    1 A* U. u3 j: x
  378. ; Default Value: -1 (Unlimited)
      q+ D& C0 V5 E0 J4 k6 `
  379. ; Development Value: 60 (60 seconds). [: O7 z* W* i4 L# v/ o
  380. ; Production Value: 60 (60 seconds)5 H6 U& D  u+ i4 z6 y2 P" o6 t
  381. ; http://php.net/max-input-time
    ! C! T. K" Q9 y4 j3 I( I
  382. max_input_time = 60
    - ?5 \* R/ H# [) g: l) P

  383. 7 G$ E- |# Y' c& V+ k# K
  384. ; Maximum input variable nesting level
    * l# `9 m2 K& N# z& l
  385. ; http://php.net/max-input-nesting-level! p$ @; j! G: f2 ^/ s* B
  386. ;max_input_nesting_level = 64, o# K$ r+ L$ C# `

  387. # n: [! Y8 E$ W
  388. ; How many GET/POST/COOKIE input variables may be accepted
    2 S4 C3 r, T5 v; @6 E! M
  389. ; max_input_vars = 10003 @) ^- q6 ?. u2 p
  390. ; C/ O+ v' ]5 U* y+ v+ e
  391. ; Maximum amount of memory a script may consume (128MB)
    - \& Y7 O8 `7 z  A5 R+ a
  392. ; http://php.net/memory-limit0 s" M! ~- M( V4 e1 i: R
  393. memory_limit = 128M
    % e1 t& C& ?, a6 J, ~, m% V

  394. 0 [4 E: j! A- b+ E$ G/ R9 `
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" Y+ U" R0 J- w4 j: o3 c
  396. ; Error handling and logging ;2 J" N/ Z% Y7 K0 }( ?
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    + Y# s) _( u2 T: ?0 i! R

  398. 0 {7 Y1 }, Y8 x, u8 @5 l  P3 P% p2 e/ A
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    # ~& \7 V# [* b& x) v- d
  400. ; it to take action for. The recommended way of setting values for this" R1 t+ Y( t! I& M" J7 {+ I. @
  401. ; directive is through the use of the error level constants and bitwise  K" J  N7 s) ^, ?+ \8 A" \6 r
  402. ; operators. The error level constants are below here for convenience as well as8 G" I; `5 {& F8 y# @" v
  403. ; some common settings and their meanings.
    3 _$ x. P8 y% _" s6 m# r  Z
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    # |$ m4 S% d( v& o, Y
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    / }' I# j$ q% D) e6 \1 G% N
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    0 E* w/ g9 R" [9 l) I
  407. ; recommend error reporting setting. Your production server shouldn't be wasting$ w3 I7 f+ j! g* ]9 r/ ~6 X% }/ h
  408. ; resources complaining about best practices and coding standards. That's what
    $ _( g7 |' Q( l2 }/ Z) J$ y
  409. ; development servers and development settings are for.
    ' L# ^0 v5 K9 ?. d2 J
  410. ; Note: The php.ini-development file has this setting as E_ALL. This6 b5 Z: v# L. D
  411. ; means it pretty much reports everything which is exactly what you want during4 o7 e- q( ]/ Q! A
  412. ; development and early testing.% d4 ?, K# T6 e0 Q
  413. ;
    : d9 ?+ e$ M  G/ K* L2 k! g" R
  414. ; Error Level Constants:
    $ T$ L; D6 S) B4 Z# C. t- N
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    $ w/ d3 T8 Y2 a9 R1 g
  416. ; E_ERROR           - fatal run-time errors9 c) w  G+ v+ c5 i( E: J
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors  f' I# ~8 ]8 }, L% M% K
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    0 t+ U0 h: q4 U! r- I& n# J* Q$ I% @
  419. ; E_PARSE           - compile-time parse errors' J7 _6 L5 B  t# L8 @3 |3 O
  420. ; E_NOTICE          - run-time notices (these are warnings which often result) f. B/ d6 {/ Q9 Y
  421. ;                     from a bug in your code, but it's possible that it was
    9 E# I& p# ]& y  _7 V' H( u& o
  422. ;                     intentional (e.g., using an uninitialized variable and4 L7 Q, K7 A( \' Y
  423. ;                     relying on the fact it is automatically initialized to an$ a' {# J$ Z/ t) ?1 S: S' J
  424. ;                     empty string)( U& A; r( r/ \$ d4 j3 ?6 d
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes* U% M/ I$ ~$ H8 T; G
  426. ;                     to your code which will ensure the best interoperability
    # q; _. e* E# u1 t* M3 }6 {& }
  427. ;                     and forward compatibility of your code( W* ~" Q+ X, L4 H
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    $ _% I$ D) `8 _2 I3 T
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's# P3 G6 C! x6 z* ?( m; d
  430. ;                     initial startup
    0 o4 V5 Z, M0 R' R; g2 i: P! Z/ W
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    0 }" V0 h% [4 `1 T
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)0 u4 J7 w# O$ b! O  x3 `( t
  433. ; E_USER_ERROR      - user-generated error message
    " r: K1 p$ v- s
  434. ; E_USER_WARNING    - user-generated warning message- J: }9 h6 ^+ P+ y  @, H
  435. ; E_USER_NOTICE     - user-generated notice message) @; [8 S: V" k1 N
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    : z8 `- v  e& U! f) r+ ]6 M* m7 ~4 r
  437. ;                     of PHP! E# |( h, Y& D6 `5 W" R
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings: U: j5 s) M  D! A+ P5 i
  439. ;
    & `) Q+ A7 u" c8 |4 O# u
  440. ; Common Values:
    ' V- I# A! ]  F
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)4 y5 l' Y: n9 m% |6 D
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    0 n" C3 J/ [+ Z! p+ V
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)4 c' E/ K% I( C# w6 J
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)% T. y, f: U- O& W, o& X
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    2 Q' H" `9 t9 c& e
  446. ; Development Value: E_ALL
    & }1 _& G. Q( H% \& u, \0 ~8 a/ q: V
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT' h8 X( w8 r+ f; H# X
  448. ; http://php.net/error-reporting8 m$ B9 u; a% ^, R
  449. error_reporting = E_ALL & ~E_NOTICE' q* B6 I4 H  {
  450. ! S7 i5 |/ V; D
  451. ; This directive controls whether or not and where PHP will output errors,
    1 `8 i+ u6 }0 d6 J
  452. ; notices and warnings too. Error output is very useful during development, but0 v- X  r( \' J% H
  453. ; it could be very dangerous in production environments. Depending on the code
    3 [3 b: t) m* I. s8 `  ^& \
  454. ; which is triggering the error, sensitive information could potentially leak
    ( G) g4 E$ o' Y7 G  {
  455. ; out of your application such as database usernames and passwords or worse.) D, S! |2 M, K" B$ Q2 y1 X
  456. ; For production environments, we recommend logging errors rather than
    8 Y1 E3 O4 [' o4 J$ B
  457. ; sending them to STDOUT.: S0 {5 Z  S# a4 J. ?! `
  458. ; Possible Values:/ U$ B+ h5 j: A  `" O
  459. ;   Off = Do not display any errors: D* L9 b  S. h- I, D& c1 s. I1 Z
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)+ ?' B0 _5 P4 Z. M+ I8 `
  461. ;   On or stdout = Display errors to STDOUT/ U) Q( s, N* t/ U/ _0 Q9 k; n+ ^
  462. ; Default Value: On
    / W/ H4 h2 |  J  b& D
  463. ; Development Value: On
    + |% f! I! \/ c' l. `. |, _* a
  464. ; Production Value: Off
    1 r( P% ]2 J6 z/ L, n  M
  465. ; http://php.net/display-errors/ l+ G" [' W, m% j; `6 G( ^7 G% k
  466. display_errors = On  _' p' c1 W$ g! }' l  B
  467. ! C; J, O+ o6 K8 i7 ?
  468. ; The display of errors which occur during PHP's startup sequence are handled# z! K' S& Q0 l4 K, q( V
  469. ; separately from display_errors. PHP's default behavior is to suppress those' V+ R9 \2 W! Q& j0 B
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    * j7 G2 J- t/ N+ D) N9 i  `5 K
  471. ; debugging configuration problems. We strongly recommend you7 w6 q) n5 k9 C" Q. q( w# ?
  472. ; set this to 'off' for production servers." n* T+ \& U' ]( o1 r, ^
  473. ; Default Value: Off
    , I  A5 g% v% a' W& A, c* j
  474. ; Development Value: On
    : D' }3 l; m; |) N0 r) X9 A2 D
  475. ; Production Value: Off3 e( e6 H8 G" A1 C, v6 S: h* @# P6 O
  476. ; http://php.net/display-startup-errors) g& t) c6 }2 m
  477. display_startup_errors = Off# k. X' ^* Q' q/ C, V
  478. 8 o! K( l% H% o7 ~8 M
  479. ; Besides displaying errors, PHP can also log errors to locations such as a# j( ~  G" X( l! A
  480. ; server-specific log, STDERR, or a location specified by the error_log
    # b& P# v7 y& C0 [/ _. o( D8 Q
  481. ; directive found below. While errors should not be displayed on productions9 q4 Z5 H2 S/ w$ n: D# i: Z; L  u
  482. ; servers they should still be monitored and logging is a great way to do that.* G4 E& l1 L( M: M! }
  483. ; Default Value: Off
    5 W1 a$ ^  [% j& F9 y
  484. ; Development Value: On
    1 ^( K( e: R1 M' o' p, J7 c
  485. ; Production Value: On5 x: B1 V, n. |9 T' M
  486. ; http://php.net/log-errors
    & F8 d/ a6 Z/ {& U/ h) u3 T& M
  487. log_errors = On) v" t7 R2 L* M& V% e% L

  488. ! p" R2 o, `: }& @$ D+ @0 c
  489. ; Set maximum length of log_errors. In error_log information about the source is
    5 L; r0 E# b! B1 `3 e$ J0 f! U
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    * X- \  Z) j3 @8 \& A$ t
  491. ; http://php.net/log-errors-max-len
    ; u: C6 c* l; A1 [0 W$ n
  492. log_errors_max_len = 1024' [/ ]" x. O7 W/ r) l) ?; y
  493. % ]3 x# \; i' A! ?3 w8 s4 B
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    4 D, G5 x' Y# E8 |' F5 S! w
  495. ; line unless ignore_repeated_source is set true.
    5 A2 O% T5 E3 H$ I" S* [
  496. ; http://php.net/ignore-repeated-errors2 J5 v$ a0 R3 J( o: m
  497. ignore_repeated_errors = Off
    0 o5 a6 f- |, {% o% ^) \" }- v
  498. , Z9 D/ I, P1 U1 s2 |5 X* X
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    - @7 r0 M" R" [% Q
  500. ; is On you will not log errors with repeated messages from different files or
    5 |" _# E9 K* W; q+ Q
  501. ; source lines.- B. c8 V# N5 e, K! I0 X) x* I: ?+ G
  502. ; http://php.net/ignore-repeated-source
    8 c2 R* G; w* U4 B9 ?+ n; C7 K/ i
  503. ignore_repeated_source = Off9 ]; P% Y2 j3 r0 ]& G# _9 V
  504. # z0 h1 e0 I# @. [5 M2 ^
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on( v8 @' q* q+ e% w& T
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ; X& f4 x# L- H3 `. |2 ?
  507. ; error reporting includes E_WARNING in the allowed list
    . r1 @5 H1 X7 H3 `( d3 S* L3 S9 [/ O
  508. ; http://php.net/report-memleaks
    ) W1 \( k$ Y( d* u( \) w4 x
  509. report_memleaks = On
    6 t3 {" d- n5 O0 S- I, N

  510. 9 H  Z. [4 n, e
  511. ; This setting is on by default." P- K$ ^$ t' }/ f9 I
  512. ;report_zend_debug = 0
    . L- u& n9 Z. h, V1 [4 r
  513. ; u/ ]/ e( v3 k) \0 y* h$ U
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value0 j- N, n- ~; S
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    % m  s) P  ]% s: w! `1 ], d! S
  516. ; however be disabled on production servers.0 ?' x/ b5 \; N* E* o2 t
  517. ; Default Value: Off
    5 E# o- _! S4 e6 ?( Q7 i
  518. ; Development Value: On
    , ^8 _% P9 e7 G8 k+ _1 f8 B
  519. ; Production Value: Off% s3 x( D* c) b; c% G0 g: T8 }) P
  520. ; http://php.net/track-errors
    1 k% D0 Z7 n4 Q) d) u
  521. track_errors = Off
    * Z! t& W' T, J# t: O  g/ Z8 T
  522. 5 Q# A- ~1 K% S  f* k. h
  523. ; Turn off normal error reporting and emit XML-RPC error XML: ~0 L. N) z5 n6 ~2 w, d) @
  524. ; http://php.net/xmlrpc-errors3 }7 J7 p  ~9 Q
  525. ;xmlrpc_errors = 0
    5 Q7 |. }' }7 K4 }; @( w' p
  526. ) d0 q2 H) u0 _# ~0 n$ U
  527. ; An XML-RPC faultCode0 Y* M5 ^* n3 ]6 f. e* I% k8 y
  528. ;xmlrpc_error_number = 0! c* N# @5 w2 z3 S
  529. 4 z0 M  l, ]6 V9 L% \* ~8 k- T
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    . |' R* L% K; A) H
  531. ; error message as HTML for easier reading. This directive controls whether
    8 l& J1 B2 y0 z4 u2 C, w" v0 E
  532. ; the error message is formatted as HTML or not.
    / O+ ^) o7 X9 k+ t) v
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI% |: ?" J5 B& Z" I' e, q) g% p  f6 Y
  534. ; Default Value: On
    2 Q" G  b" C9 m6 o8 r1 V
  535. ; Development Value: On3 V+ W9 m! L. E, V1 `, u0 j6 C7 M8 S3 @' e
  536. ; Production value: On$ P4 `) `8 w+ e2 m. u" D* r& P
  537. ; http://php.net/html-errors
    & v+ Y$ H5 x3 E& r' M2 K
  538. html_errors = On
    8 S3 t, D+ L. W0 [) A. X/ d) A: r
  539. % s# F! P' ?8 V7 }6 E: w8 z9 v
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP; `0 h( l3 f) E7 R- ], O3 w9 I
  541. ; produces clickable error messages that direct to a page describing the error
    . G7 ]+ T5 ~* G. U2 L! w# q
  542. ; or function causing the error in detail.
    5 e' G( v' K) ?1 F8 I+ Z3 I- M
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    & G5 L; A; l7 I. p% t
  544. ; and change docref_root to the base URL of your local copy including the% j* [7 {0 r1 I9 h; y: x' u
  545. ; leading '/'. You must also specify the file extension being used including- F0 x! H0 z4 p& b' C
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    9 s! r; K9 M+ v/ O
  547. ; case no links to documentation are generated.6 \$ p3 ^0 `' I# f* f, W
  548. ; Note: Never use this feature for production boxes.
    . G: ]# s  v* p4 e9 Z9 b, z
  549. ; http://php.net/docref-root/ x1 n% y5 ?) w# \, M
  550. ; Examples- u( _2 a  D! S9 h# V4 b
  551. ;docref_root = "/phpmanual/"7 q5 m# S9 f3 }8 V6 j
  552. 3 }# A) W- U) v9 m3 W
  553. ; http://php.net/docref-ext: i; R, l/ X5 N6 [
  554. ;docref_ext = .html
    9 R4 C& s/ Y% X( `

  555. : w( m: r6 l0 E& X, F$ M* I. h- o. h
  556. ; String to output before an error message. PHP's default behavior is to leave' a' H3 C* ?: e! m% g
  557. ; this setting blank.+ r$ S0 y: y7 H$ F& k% p: e0 l+ W* |
  558. ; http://php.net/error-prepend-string
    ; J# _" v& E' d4 W
  559. ; Example:* `9 `9 `; F1 `5 }! z5 R! ]4 C
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    . M# @8 l' p) |9 x$ N. X5 D- \
  561. + Z! G. E0 Q* L' i
  562. ; String to output after an error message. PHP's default behavior is to leave) w' C* Q, x& h3 p; S; b6 m1 Z7 J+ M. Z1 }
  563. ; this setting blank., Z# R& p: j  r6 }
  564. ; http://php.net/error-append-string
      _1 ^; h, v- h2 o* H
  565. ; Example:5 V1 H  b& `% U: x  b1 |- R
  566. ;error_append_string = "</span>"( X! t' u& u5 h9 B# a9 G7 v# j: F
  567. & R9 w  P1 }5 H  l6 m
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    ) G# @. b& M! g, `5 A) Y
  569. ; empty.
    6 E+ ]: S" B2 z0 q+ n. ?- \
  570. ; http://php.net/error-log; k$ L1 U8 p. s9 M6 I
  571. ; Example:; L. F, O6 x6 I
  572. ;error_log = php_errors.log
    + S9 d; H, g4 g- a7 n/ v% D
  573. ; Log errors to syslog (Event Log on Windows).
    + ^3 ~/ ?( M/ x  r1 H* W# M
  574. ;error_log = syslog8 z: X- E+ P; u8 T/ N1 J* b/ n

  575. 2 R5 f4 p! e9 \; _
  576. ;windows.show_crt_warning
    ! I8 z8 c4 x7 z1 ^' d6 S2 }0 l! j
  577. ; Default value: 0- U# i' [0 ^8 V. U0 G9 O# G
  578. ; Development value: 0
    9 f2 n# G% x) ]4 j4 ]. |. v
  579. ; Production value: 0" F3 l8 ?$ A7 Z$ C) m5 b/ w

  580. 2 G* D& I8 [( I% i  v+ k" r( U
  581. ;;;;;;;;;;;;;;;;;2 o, N" N4 `; P4 O6 c2 A
  582. ; Data Handling ;, F, h  G+ o1 N: [4 `
  583. ;;;;;;;;;;;;;;;;;. D4 X6 f$ V# B" D4 p

  584. 9 Y* _( M4 l$ }6 h, ]9 {# R/ w! }
  585. ; The separator used in PHP generated URLs to separate arguments.
    0 v% A$ A, F9 l. {6 X; R7 t4 k
  586. ; PHP's default setting is "&".
    ; h- `6 l; ~& ~
  587. ; http://php.net/arg-separator.output- B7 p6 b$ [+ I9 \$ D
  588. ; Example:
    6 x. d3 u& Q! A, u8 |! B0 p
  589. ;arg_separator.output = "&amp;"
    ) S0 X& {; e2 }# \: t
  590. - ~4 t8 B+ k$ |3 @
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    " _' O+ ^& C, T( t) a, s
  592. ; PHP's default setting is "&".+ _9 E& K: l/ ]
  593. ; NOTE: Every character in this directive is considered as separator!) Z9 i) @+ m' L9 \- {% s, m
  594. ; http://php.net/arg-separator.input
    ; k8 ~5 g4 t& e2 U. o2 Y& s
  595. ; Example:& h2 w( ~0 O/ v6 b5 A0 s, x
  596. ;arg_separator.input = ";&"5 Z2 [' A/ S" J! L/ i
  597. ) U! g8 p. q9 |9 G9 l7 h7 Y8 A0 E8 g
  598. ; This directive determines which super global arrays are registered when PHP
    $ P6 |3 h7 P6 s- C! O1 S4 ~
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    2 _6 E, ^. m; g3 ~3 U
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    - `, F: G3 f$ o. [: f
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    ; e" ]. h! [: v! `) X. Z
  602. ; used as the others, ENV is not recommended on productions servers. You
    ; d$ t7 z2 i; ?! X1 U
  603. ; can still get access to the environment variables through getenv() should you
    , z( T" L9 d) L  q' o5 Q
  604. ; need to.
    $ l6 X/ l! R" b; n/ z# V' o' L
  605. ; Default Value: "EGPCS"& N( z) g* ~4 T" _3 H1 Y, t
  606. ; Development Value: "GPCS"
      |6 Q6 {" p. N" ?$ T- o/ X
  607. ; Production Value: "GPCS";( O. T9 [$ b3 [$ s; |
  608. ; http://php.net/variables-order
    / o+ Z# B$ U' D3 P$ T5 W5 p! O
  609. variables_order = "GPCS"
    4 x* ^2 F0 h% ~9 P3 K

  610. , F3 `' d$ |' m
  611. ; This directive determines which super global data (G,P & C) should be8 M; \! t. c, j/ F; O* w. e
  612. ; registered into the super global array REQUEST. If so, it also determines1 k' L; c; ]" i+ Q  Q! e
  613. ; the order in which that data is registered. The values for this directive# P3 c$ d+ \5 h% z' p- x* v, r
  614. ; are specified in the same manner as the variables_order directive,, J6 c3 f4 z2 X: Z7 t3 \, a# h
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    4 n5 j0 b$ l) o$ [7 j5 {
  616. ; in the variables_order directive. It does not mean it will leave the super! |4 r) ^- D& ^! F' |4 B
  617. ; globals array REQUEST empty.
    7 f& r2 R  `' g7 \3 f
  618. ; Default Value: None! Q: I) T$ D' M( j2 G' a- S
  619. ; Development Value: "GP"
    6 c+ f/ I- L8 m; L; I) `" W
  620. ; Production Value: "GP"* E" T, \" K$ `
  621. ; http://php.net/request-order
    1 D9 @7 J; Y: G% ?) e$ {
  622. request_order = "GP"
    . z, m4 s4 z/ B" P7 ^/ @
  623. 4 J& {/ H4 }4 V- K% q. o% [6 U
  624. ; This directive determines whether PHP registers $argv & $argc each time it5 C: D3 p# l3 O# b
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    3 M9 e' B2 q- Z  a# e% y- K: Y
  626. ; is invoked. $argc contains an integer representing the number of arguments6 o. L3 Z2 B, E# {% ?# t, z
  627. ; that were passed when the script was invoked. These arrays are extremely
    , ^& b! m1 z" w  a4 Q3 Q
  628. ; useful when running scripts from the command line. When this directive is; O( D9 Y  U- Q  q: |0 Z/ i* b
  629. ; enabled, registering these variables consumes CPU cycles and memory each time( N$ f$ ^; f* }
  630. ; a script is executed. For performance reasons, this feature should be disabled
    1 R( U7 {0 R- _" X- X
  631. ; on production servers.
    ; K7 M) P0 Z: P: }# [( S
  632. ; Note: This directive is hardcoded to On for the CLI SAPI3 q# q' s, A2 g, l9 U2 ?. g9 d2 b
  633. ; Default Value: On! Z8 C6 S% {: r* X  f" W
  634. ; Development Value: Off
    0 o7 q3 `( J2 Y5 \1 ]+ `1 s- D% @7 n
  635. ; Production Value: Off
    6 u* i! h0 Y3 j0 G0 N& V" G' R9 t7 a
  636. ; http://php.net/register-argc-argv
    6 I# [2 S( G  p% {$ a; i
  637. register_argc_argv = Off; O* d8 C4 }4 P1 m, L
  638. " T: S) o* G/ ]* X( R( f
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    / f* Q, l1 @/ @# |' w, C  I3 J* \
  640. ; first used (Just In Time) instead of when the script starts. If these
    8 B6 }( o- }+ |" h( g
  641. ; variables are not used within a script, having this directive on will result
    5 G( G2 q/ X5 v7 O3 e  s3 P9 C2 z( [
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    & e/ y* B' i: c' {1 V! T% {
  643. ; for this directive to have any affect.
    4 x0 G; h. J1 k  y2 t
  644. ; http://php.net/auto-globals-jit
    8 }1 [( J2 @; y1 E5 t; V
  645. auto_globals_jit = On' O7 u" p6 K8 P  R, k2 `

  646. 0 k! f( @& X- M
  647. ; Whether PHP will read the POST data.
    & J& q7 `) z1 b' R1 J. n
  648. ; This option is enabled by default." A! b! ]- m& S+ {* F4 r! S
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST- m! w, L: V) W8 }
  650. ; and $_FILES to always be empty; the only way you will be able to read the- Y# r" i* ?& L7 A4 F
  651. ; POST data will be through the php://input stream wrapper. This can be useful' T# h- p- p: h; S2 W" j& Q" K
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ; B3 w0 p( u9 j
  653. ; http://php.net/enable-post-data-reading
    1 O( r( ]/ J& R
  654. ;enable_post_data_reading = Off
    . p2 b( L. D; K$ }6 Y& e

  655. 8 _0 S0 W6 y8 [# r0 c
  656. ; Maximum size of POST data that PHP will accept.+ R8 t. n5 {% L% C# V* a4 e
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading* Y) l9 g) {# L( y. o
  658. ; is disabled through enable_post_data_reading.
    % T, E/ E+ H( \2 f8 b
  659. ; http://php.net/post-max-size
    ; Y# w6 {  m( @! U
  660. post_max_size = 50M
    : y9 m- c% D6 G8 K1 k. N' ^

  661. ; _3 ]9 u+ i( [5 K: n
  662. ; Automatically add files before PHP document.
    7 ?" R! i0 k3 u& Q* b
  663. ; http://php.net/auto-prepend-file
    / [: g) _9 f* B) a( S6 Z: m$ x
  664. auto_prepend_file =1 k. l- J4 i7 m- m) w2 v7 ]1 a3 N  U
  665. , W" }- k# b" @+ x$ R, Z0 N
  666. ; Automatically add files after PHP document.
    2 Y5 m! t; n  r4 h* s, O
  667. ; http://php.net/auto-append-file
    3 A/ {- O! c, C
  668. auto_append_file =
    5 z0 g+ M" H- G# y1 i2 }6 D2 T

  669. 9 @* Q+ M1 J: r( b/ @, ?
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ; t2 e' C' s5 M$ Y2 Q
  671. ; disable this, simply set it to be empty.
    & j; D; n0 M: _( ]( h
  672. ;1 B4 d' ~1 n0 G6 r
  673. ; PHP's built-in default media type is set to text/html.( F2 p4 p* K  F; Q
  674. ; http://php.net/default-mimetype" ~5 P9 {& `% Y7 P
  675. default_mimetype = "text/html"- P" x) x, [* O+ E( T
  676. " j5 T5 U& b- n# ^
  677. ; PHP's default character set is set to UTF-8.
    2 b+ {; \3 f5 B) n2 ?0 R
  678. ; http://php.net/default-charset
    * n; K; B0 h0 o/ H
  679. default_charset = "UTF-8"
    ) D8 u% d  M# ]! a

  680. ; ^1 p- ^2 v% S! L2 p
  681. ; PHP internal character encoding is set to empty.2 P" d. L$ G1 V8 I1 C, ]4 x
  682. ; If empty, default_charset is used.
    ; E- {. b. E' X+ k% ]% D
  683. ; http://php.net/internal-encoding/ k; }# J9 M' Z2 ?( B
  684. ;internal_encoding =
    5 C" }" i  |* ?

  685. ' B. z, i' K$ w5 F
  686. ; PHP input character encoding is set to empty.
    % K" B2 A' l- G! l7 L
  687. ; If empty, default_charset is used.
    , }) m/ w  c: p$ z, u4 W
  688. ; http://php.net/input-encoding
    " R( L! M8 w3 C6 s; _
  689. ;input_encoding =* a9 t$ {1 j* t  M6 z) a7 L

  690. 5 M# X  C' @7 |* M- R: h6 o
  691. ; PHP output character encoding is set to empty.
    & D9 N. x1 R+ ]+ G  T* z2 {# N- K
  692. ; If empty, default_charset is used.3 U0 ~! w: _) o  G+ u9 S
  693. ; See also output_buffer.8 R# B( X8 t7 K/ c" W3 b7 W
  694. ; http://php.net/output-encoding
    : o0 o7 A  J6 q& j
  695. ;output_encoding =% b. C# P! M0 m
  696. ( \; z5 _; U. X( r( Z1 ~0 h
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ! {7 |+ |( `, W/ x! X+ J
  698. ; to disable this feature and it will be removed in a future version.0 M! d! J8 e5 q
  699. ; If post reading is disabled through enable_post_data_reading,! s4 {5 L3 ^% n* v& c- [" m
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.7 P3 N  \0 L: W. g* e7 p
  701. ; http://php.net/always-populate-raw-post-data! ], c1 L- t/ f
  702. ;always_populate_raw_post_data = -1
    # [; R8 G. U# f: q0 y( m

  703. ( b1 @  C4 n1 r  ^1 V( z
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    " _4 C  o# U* y
  705. ; Paths and Directories ;
    . @, d. x) D  H0 |- }4 U0 O
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;6 _% g$ T1 V! K6 H. b; Q
  707. ) \" ~( E+ f3 Y- s% H% p
  708. ; UNIX: "/path1:/path2", t3 o. w7 y; w' U! a; n
  709. ;include_path = ".:/php/includes"
    0 d2 g2 \' [2 W4 o+ m' n+ W8 b
  710. ;& Q8 H+ x& r8 Z/ `- R2 M+ R
  711. ; Windows: "\path1;\path2"
    1 H; A) _; H) c" M4 Z! a
  712. ;include_path = ".;c:\php\includes") Y; T6 N( z* o% P2 y
  713. ;
    ! `: y+ f$ ^# k* I
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear": G2 g, p9 y6 Z
  715. ; http://php.net/include-path
    5 }2 J9 }7 |% u3 K

  716. 1 x6 C$ X& l1 ^) [
  717. ; The root of the PHP pages, used only if nonempty.2 Y0 R# f% N' ?
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root$ z5 p* H/ ]6 q0 B! h9 Z
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ) T" C. [* N+ G9 E( C, H2 U
  720. ; see documentation for security issues.  The alternate is to use the
    + ^" z6 \7 l# x
  721. ; cgi.force_redirect configuration below
    6 ^2 Z+ ~% B8 D+ n4 ?7 X
  722. ; http://php.net/doc-root6 r5 P5 e, O% R) R9 o
  723. doc_root =- [5 j( @/ U6 e7 D' g9 _

  724. 4 R0 n6 m; x9 r4 A( C4 W6 Q% T7 [9 F0 R
  725. ; The directory under which PHP opens the script using /~username used only
    # {# t- ^5 F. j! t2 w5 \7 F8 Z
  726. ; if nonempty.; ^4 L' ^/ y' G2 }5 T' i$ `
  727. ; http://php.net/user-dir$ G$ ~* H; }2 g+ o+ w7 k
  728. user_dir =
    8 [  P. h. N- |3 p( b/ d7 j8 i' r- V- h
  729. % B/ e; R. j* l1 A4 Q
  730. ; Directory in which the loadable extensions (modules) reside.
    5 B! t) C9 E) l
  731. ; http://php.net/extension-dir
    0 H/ z' }0 w9 o# l0 W' q. ]0 y
  732. ; extension_dir = "./"
    " d' \7 A# _8 R- N3 O, i
  733. ; On windows:, o" {5 ^, F6 p% b) t; p$ e
  734. ; extension_dir = "ext"
    ' ]2 z9 i0 m7 H/ ^
  735. ; L  _5 L! W" X6 C0 _; i" G
  736. ; Directory where the temporary files should be placed.' b. U6 {6 T9 R. v+ k& B  z
  737. ; Defaults to the system default (see sys_get_temp_dir)
    % r9 X, K  h: a  f
  738. ; sys_temp_dir = "/tmp"
    " v! d2 H+ u: o
  739. 3 s; Z; J9 Q& {* A) p- {
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    $ u8 [+ s- k# J; ^8 d, e5 R
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ) G# w+ O. j5 @) D& `; m
  742. ; disabled on them.
    # T: y. O7 ~4 T$ d' d2 u1 `. ^7 G
  743. ; http://php.net/enable-dl9 j5 f( q4 k6 I7 v$ B. c8 p  C
  744. enable_dl = Off# _' v% m8 `' W* _8 v7 S4 c7 o) h; b
  745. " B& h6 [1 l. T% {6 K! w' z* T0 ]
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under+ f2 O* w* e8 ?
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can4 V7 d* W+ @3 D+ Y: g6 {. }
  748. ; turn it off here AT YOUR OWN RISK; V; z( @: c; u" `
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**& H* t7 p. T2 `, S
  750. ; http://php.net/cgi.force-redirect
    # a- q. u; _0 y; b: q2 \
  751. ;cgi.force_redirect = 1$ a# Q0 J! R2 @) u

  752. 5 j4 b2 n9 Z" d) j$ x; R
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with/ z$ V. w7 T1 d( l# k. d% z1 j
  754. ; every request. PHP's default behavior is to disable this feature.% f0 {% L: B5 b9 X2 p5 Q3 `7 I: k
  755. ;cgi.nph = 1
    7 n; R6 [% E3 d2 Y

  756. 9 t& @+ f& z8 s" H' g( Y, b
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape. |6 \8 l; N  B: J; t2 k
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP9 B& L" s0 Z$ d. ~+ M/ F2 z
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY% T- a" u. P; S! E! n0 [  R
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    * H% R, \7 i0 X
  761. ; http://php.net/cgi.redirect-status-env
    ) V5 P+ L% p4 g4 m' ~. e
  762. ;cgi.redirect_status_env =
    ; v( s7 B9 O( e" }9 Q

  763. ' t$ S) _, g) G4 ^; L
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    , D' _1 x# y# L4 e1 H
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    . w. k- h0 ?) D) Z( L6 K  E; |
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    , Q" O( P/ x. q2 O- ^+ x3 n4 N3 O
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting2 P$ O- Q4 n, w
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    3 [" Q  A( v$ A6 b) \
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.( l, K2 i& w$ T  ?
  770. ; http://php.net/cgi.fix-pathinfo
    3 |5 n4 c" w1 [
  771. cgi.fix_pathinfo=1
      S) {. j2 _; d

  772. $ P3 L0 J. e& t; p
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    4 C" a" [& v5 P# q8 \6 v* F
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    3 I$ V" ~. a9 S: |* N
  775. ; http://php.net/cgi.dicard-path- G( k( \6 m5 s6 C7 J; z
  776. ;cgi.discard_path=1
      {3 B5 s& _- t8 s
  777. 7 h% i& S/ O  I! b8 k; k( F: n
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    , X8 t; e8 ^8 w% r# K8 Q" q% Q
  779. ; security tokens of the calling client.  This allows IIS to define the
    3 R7 l2 }, C. _+ d" p
  780. ; security context that the request runs under.  mod_fastcgi under Apache  z8 o7 t7 ~: s7 @
  781. ; does not currently support this feature (03/17/2002)
    # F. E, _: _. i
  782. ; Set to 1 if running under IIS.  Default is zero.% t& I9 b# [' i. d
  783. ; http://php.net/fastcgi.impersonate' g* x. X8 |: F, J% i& I8 D
  784. ;fastcgi.impersonate = 1
    0 G4 t' t0 }; b. }5 N' ]' |" l
  785.   q. n. M4 `/ E9 @1 ]
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable: p7 a+ n, N$ R0 j
  787. ; this feature.
    ) Z4 k0 [$ [( r. H0 }
  788. ;fastcgi.logging = 0. ~4 ?( ^; Y- A6 B6 U; |

  789. 2 C. A8 }5 }' A$ L- c
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to' H( C5 J  z7 r0 L- R4 R
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that& U, ?/ G2 t5 i# O
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    5 g( ~% \6 e1 r5 m6 V
  793. ; RFC2616 compliant header.2 d; z! X1 F% T+ V
  794. ; Default is zero.2 l' \/ i: H( u" d. f; m
  795. ; http://php.net/cgi.rfc2616-headers
    " y( b" K4 V7 t; t3 o- W# b; O
  796. ;cgi.rfc2616_headers = 0
    8 C9 a; K+ ?; X% _

  797. " d, A! M# o" f0 B3 Z
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!8 `1 R' y# `/ k
  799. ; (shebang) at the top of the running script. This line might be needed if the
    / O1 X' R$ L$ d8 v2 H) w$ ]
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI# w* L) F" d& C, J
  801. ; mode skips this line and ignores its content if this directive is turned on.3 k+ C- S+ f; A7 h# j% k
  802. ; http://php.net/cgi.check-shebang-line& X. B$ n, ~5 \, I! f8 o
  803. ;cgi.check_shebang_line=1
    / N3 [3 F) |: K0 W! \
  804. ( K1 Y0 z; J2 g6 u  y8 G
  805. ;;;;;;;;;;;;;;;;
    6 ]7 w( ]/ k. ^( B$ K8 @
  806. ; File Uploads ;$ X/ o# m+ @$ C" ?2 n
  807. ;;;;;;;;;;;;;;;;+ P/ j7 w5 t/ d! G* T
  808. ) i$ ?# u! `2 G
  809. ; Whether to allow HTTP file uploads." ^5 C* C5 H0 `. T" O- s8 t. n
  810. ; http://php.net/file-uploads
    7 i. g9 U. N' Q* Y2 G4 h% {8 b( M. e
  811. file_uploads = On
    2 f# ~% i( M( T
  812. 2 X9 W% ?, |7 H5 ^
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    $ _, M7 U& {# c( C- K& b8 T
  814. ; specified).4 `" K$ E7 a7 c
  815. ; http://php.net/upload-tmp-dir
    " q9 C8 v- B  C3 V6 B* c% r
  816. ;upload_tmp_dir =
    . I* N/ T/ b5 W
  817. ; J% h- ~$ ]4 P% I* K
  818. ; Maximum allowed size for uploaded files.
    / @4 V5 a! j& {
  819. ; http://php.net/upload-max-filesize
    ! ?# _8 v' r7 X2 Q1 q8 S) {
  820. upload_max_filesize = 50M2 q. `  P1 Z3 S( B% m4 g6 a
  821. 2 ?& h1 ]7 K" J1 @0 V
  822. ; Maximum number of files that can be uploaded via a single request- |" {. H& m! n1 r( n2 @* P
  823. max_file_uploads = 20
    0 e/ j4 a. |7 X2 O( h: s# @

  824. 7 K9 c" s1 V) I+ P  t# _% e
  825. ;;;;;;;;;;;;;;;;;;2 ~3 ]- B3 P: R, F* O4 C/ C# }
  826. ; Fopen wrappers ;
    * |* d% }2 K/ K) Q) L9 j. z* k
  827. ;;;;;;;;;;;;;;;;;;
    6 i8 A5 s& [! c7 I! ]
  828. % c" \* Z, ^% D1 z
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ! w1 P$ p0 ?8 B6 |0 x6 g; r
  830. ; http://php.net/allow-url-fopen
    5 I" }) g2 F; u) ^3 A
  831. allow_url_fopen = On
    * W: n; _$ V) b% N
  832. ' `5 i! i0 F, q& s, F0 [
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.+ `; t2 m- D1 Q  j" Z% y
  834. ; http://php.net/allow-url-include
    " ?, Q8 @- y4 |8 u& g/ G1 x* u
  835. allow_url_include = Off
    " Y% z. }8 ~3 [5 a
  836. 7 }" w7 {6 f& r/ \! D$ u3 i- I
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    8 `" w2 U4 H% N1 `
  838. ; for this is empty.
    . B! ?. T' P# d1 @" C4 ~0 t
  839. ; http://php.net/from
    0 ^1 u% F0 N' ^8 l6 |
  840. ;from="john@doe.com"
    % V$ K4 ?7 w$ X2 y' b% K

  841. 3 D1 L9 a" _5 e6 W1 M3 b
  842. ; Define the User-Agent string. PHP's default setting for this is empty.8 P$ B4 R; W6 d9 F  V0 O+ ~) l6 {
  843. ; http://php.net/user-agent
    ' {2 o) @) O& W& Q- c4 r' F1 X
  844. ;user_agent="PHP"
    $ ]& _3 p" N' N8 p# |4 p& t. q

  845. $ J. I8 e4 o" T5 D# `
  846. ; Default timeout for socket based streams (seconds)- a6 B( F# U% w$ Q* x+ V% F
  847. ; http://php.net/default-socket-timeout$ H; E/ H3 j& I- y$ q1 ]
  848. default_socket_timeout = 60
    6 y$ v2 j. K8 q, I1 T" M% P$ f

  849. : @. u6 v2 B# Z3 e& V; T
  850. ; If your scripts have to deal with files from Macintosh systems,
    % S3 f  j/ M$ ~7 n  y7 m
  851. ; or you are running on a Mac and need to deal with files from, V' q: R' b( e+ n. E: N
  852. ; unix or win32 systems, setting this flag will cause PHP to. ^, S; y  K. J3 x
  853. ; automatically detect the EOL character in those files so that
    2 ^. ?: c0 X7 g4 q4 q
  854. ; fgets() and file() will work regardless of the source of the file./ ~8 u; U) T8 G/ f' I
  855. ; http://php.net/auto-detect-line-endings
    0 h9 c6 n3 F( r6 t, G
  856. ;auto_detect_line_endings = Off" _0 g8 x; m( N6 [' a
  857. # {2 x9 q4 u3 H! |6 b) }
  858. ;;;;;;;;;;;;;;;;;;;;;;# Q& I9 H8 ~. @' P9 Q
  859. ; Dynamic Extensions ;0 q: A; ?. q: C
  860. ;;;;;;;;;;;;;;;;;;;;;;+ B# m% F  o% Y- A3 ^) l

  861. * \! o& k0 Q6 o- {+ K
  862. ; If you wish to have an extension loaded automatically, use the following0 Y# H/ t) _% C* ?# L6 \5 X
  863. ; syntax:
    ; _/ {- f5 [8 E/ }1 M0 d8 L( P
  864. ;
    8 z3 }7 S' v% |( }1 E) p- l
  865. ;   extension=modulename.extension
    * W. \. s, F2 W8 i" ~
  866. ;+ {$ d7 {  Q* [4 F+ F9 V% g
  867. ; For example, on Windows:; a5 F) I& ?/ J: D; C
  868. ;; a; W5 [4 P+ W2 w
  869. ;   extension=msql.dll! F! R( a, ~& Y3 _2 H! H/ e! u+ I
  870. ;
    . M& F1 i1 j9 N. y3 t
  871. ; ... or under UNIX:& W6 n2 M/ N* K' y
  872. ;1 ~1 |+ r8 {- u; n4 ?8 K
  873. ;   extension=msql.so
    7 @: o3 n5 x8 q+ e, W* {  J4 J
  874. ;
    1 ~: ]3 ]; |% o8 N2 u# J
  875. ; ... or with a path:
    $ G* q; ~3 u2 x! A  U8 a) {
  876. ;9 H/ K2 s5 f) Y% s. L
  877. ;   extension=/path/to/extension/msql.so& I) i8 \1 n% S) w: w
  878. ;
    : P. D8 V# `6 p5 p+ j1 `& y; J
  879. ; If you only provide the name of the extension, PHP will look for it in its
    ; T8 Y8 x5 u$ P0 S1 Q8 ?
  880. ; default extension directory." e. U/ m& h! R1 n
  881. ;; a7 u! w& x5 \) C. |3 p# T; g
  882. ; Windows Extensions
    - p% [* x' E# {' ^4 T
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    8 H: k$ `0 E3 m' D4 d" k
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ( _: B& z; s+ H' j: k
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).& l3 ^3 G' t, R& C8 A
  886. ; Be sure to appropriately set the extension_dir directive.
    % t, O" f4 O' k: I
  887. ;
    $ E' c* j' @6 ~- m" Q# f( P
  888. ;extension=php_bz2.dll' A/ o) K# \8 n5 b1 M& R
  889. ;extension=php_curl.dll
    * ~1 {' h) e) F9 i# f" P& j
  890. ;extension=php_fileinfo.dll
    4 E* t7 \: z+ E3 h
  891. ;extension=php_gd2.dll
    ) n& m$ T8 \2 O5 H% x" t
  892. ;extension=php_gettext.dll  b0 g% _/ ]3 D# K6 Q
  893. ;extension=php_gmp.dll0 q' i. ]7 T; G6 ^* \7 c# y
  894. ;extension=php_intl.dll! {. n- v8 q! J7 k  g9 r' [
  895. ;extension=php_imap.dll
    ! w9 d; T& Z) x5 l1 F7 k
  896. ;extension=php_interbase.dll
    % e0 d7 W0 [; L6 ]  m! ~! ~
  897. ;extension=php_ldap.dll
    . v. ?- F) c* k$ a
  898. ;extension=php_mbstring.dll
    # {' {4 ?* x% M( j; E3 k  ^8 V
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    4 L9 g5 Q  d) A4 ?
  900. ;extension=php_mysql.dll7 g1 @" E0 |" {# @& t
  901. ;extension=php_mysqli.dll
    ( l% \+ j* G% j. i/ V5 {) i
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client  w4 t$ L: `7 e/ w
  903. ;extension=php_openssl.dll$ o$ T7 n7 n% T; x8 o$ E
  904. ;extension=php_pdo_firebird.dll
    ! n) U* @% B3 T6 w2 k6 y9 b
  905. ;extension=php_pdo_mysql.dll6 O) F" G4 d4 Q
  906. ;extension=php_pdo_oci.dll
    ; R% L( Q( T5 i  S
  907. ;extension=php_pdo_odbc.dll4 }$ W: d2 t7 W+ M5 J- s9 P
  908. ;extension=php_pdo_pgsql.dll" `6 k1 H2 P* s1 J' u! f6 E
  909. ;extension=php_pdo_sqlite.dll+ Z) b# v* P$ M4 _3 c
  910. ;extension=php_pgsql.dll$ e4 |( N% S3 O; L/ K' G2 }$ S/ p
  911. ;extension=php_shmop.dll
    7 z  ^# g. X* z+ l( A7 X: |' i) h1 m
  912. ( a* }+ l" }- l+ T
  913. ; The MIBS data available in the PHP distribution must be installed.
    , G  Z- B" \$ I& X$ W, a2 ~9 `; ^  ~
  914. ; See http://www.php.net/manual/en/snmp.installation.php 7 E; Q* U2 g$ u4 g& A9 R
  915. ;extension=php_snmp.dll
    ) X" w! q5 c, i

  916. 8 R/ P9 M: C' q: D) ?! L
  917. ;extension=php_soap.dll; P# q6 L* W$ P/ O& ?
  918. ;extension=php_sockets.dll
    $ v( k) S4 c- j
  919. ;extension=php_sqlite3.dll5 `  ]% g3 H$ D! H7 C
  920. ;extension=php_sybase_ct.dll
    6 x0 |( ]8 n' o
  921. ;extension=php_tidy.dll' b4 G0 P- [( Z/ f' J( N3 s
  922. ;extension=php_xmlrpc.dll
      D: K9 S$ i5 e/ A) T
  923. ;extension=php_xsl.dll
    5 Z+ C( d$ F4 ?: B, `
  924. + w4 k2 \  J8 w0 j( n# W, M7 o0 l
  925. ;;;;;;;;;;;;;;;;;;;3 r: U% F& Q! b# ^/ r' Y
  926. ; Module Settings ;
    & l! n* D. u  R5 U9 k
  927. ;;;;;;;;;;;;;;;;;;;( G7 t0 F. q+ `. y
  928. 8 K4 t1 u0 A5 A, ~
  929. [CLI Server]/ I; f6 Y+ z* k, E2 w
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.( \& ^) y2 V, W
  931. cli_server.color = On
    7 _9 p& Q" i& A

  932. . Y! i0 _7 q! E! p% ^
  933. [Date]
    5 ^& L, e" [1 {( }
  934. ; Defines the default timezone used by the date functions9 f& k$ F- V& I2 m/ T
  935. ; http://php.net/date.timezone
    * f: B9 M7 Y9 i8 n9 C
  936. date.timezone = PRC5 X1 u# |0 T7 X. A% {% P
  937. , g+ r' n& p; r: }: T% I- }
  938. ; http://php.net/date.default-latitude
    , Z- V9 ]3 Q/ d, l
  939. ;date.default_latitude = 31.7667
    - u4 a7 v0 E: Z' V( F
  940. * v9 G# G$ u' C9 |
  941. ; http://php.net/date.default-longitude
    7 J6 i5 ?! H: `
  942. ;date.default_longitude = 35.2333
    : c2 ?- v4 ~6 R6 e8 d
  943. + D, Q: m* L$ Q
  944. ; http://php.net/date.sunrise-zenith8 C5 R4 b/ J1 l. H9 U1 r! J
  945. ;date.sunrise_zenith = 90.583333
    % J" H; i1 H9 O' v, J7 N2 g, v

  946. . a. _7 \& W! [  Y- {4 `( Z
  947. ; http://php.net/date.sunset-zenith
    4 u6 ?0 p& S5 a* i
  948. ;date.sunset_zenith = 90.583333
    % T* k$ p( i/ ^' ?7 b3 B) Z- E

  949. $ A, T2 S8 ~  I& T$ h
  950. [filter]7 |7 n! l" }7 |8 ?: l, T" C" w
  951. ; http://php.net/filter.default) t" L, j& T  P: S; s- u& w
  952. ;filter.default = unsafe_raw
    ! I/ d6 ], x( A" C% N8 c

  953. ! e1 i  c) O$ Q. i5 A5 w
  954. ; http://php.net/filter.default-flags- |/ v3 _" n. J$ l2 U1 [& H, I
  955. ;filter.default_flags =
    ! J- [3 W, G( E
  956. + e0 M2 w" E! P2 q+ V% Z
  957. [iconv]
    - d; m# `8 B) Y4 @! B- }9 }: R; B+ ~
  958. ; Use of this INI entry is deprecated, use global input_encoding instead./ e1 y0 Z  V1 g5 t! O0 t  [; i
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.8 q+ E8 D7 j% I
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding7 B: _6 ]- [' ?: c1 w' R9 Q
  961. ;iconv.input_encoding =
    5 P- N5 |5 n# X% i+ f7 X; T

  962. , p0 p5 M: z  y2 D' l2 J- X  e' G
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.  x8 F3 X& W4 x( |- z
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.8 o, q  v4 j6 |2 U$ \" T$ |
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding' F4 o+ G; R0 ~
  966. ;iconv.internal_encoding =/ F1 N, A0 p: i* D- e" T& D
  967. 8 X0 `! Q2 ~$ s
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 i* N$ E+ t9 D
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    # k( ]- u/ `( A# Y. s
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ! P0 ?8 G7 x% e  h# L# C
  971. ; To use an output encoding conversion, iconv's output handler must be set) w5 j4 E/ @2 E& z2 U% p& g; w" M
  972. ; otherwise output encoding conversion cannot be performed.1 A: B2 P5 j+ C/ L
  973. ;iconv.output_encoding =- T* ]% q& x- s! ]" j/ j: E& U

  974. $ K; V: _  F9 A! Y0 `0 N
  975. [intl]
    ' l  B$ g5 k" v0 i# D
  976. ;intl.default_locale =9 i( q" B  l' v% U& C$ g2 V7 T
  977. ; This directive allows you to produce PHP errors when some error
    . n* m" W9 b1 s4 v8 d. `
  978. ; happens within intl functions. The value is the level of the error produced., u- [0 S1 W& v5 K
  979. ; Default is 0, which does not produce any errors.
    , d! O, |# M: u( f9 I- H
  980. ;intl.error_level = E_WARNING
    ) e7 {& x" A1 E: _
  981. ;intl.use_exceptions = 0
    * F# {' P0 v8 i' w) Q: ]
  982. 2 `; h" q9 f3 u9 K5 M) }( f3 }7 K1 r
  983. [sqlite3]. m: M+ X+ Z, r7 N6 J
  984. ;sqlite3.extension_dir =
    2 B) G8 ?; a3 V7 ?& w2 r
  985.   O+ M/ |: z2 m. s7 }
  986. [Pcre]0 c$ o# ]! S& I2 y
  987. ;PCRE library backtracking limit.9 l8 h: J: R8 ]7 W
  988. ; http://php.net/pcre.backtrack-limit
    # U# I# w1 C, {; T6 F: t- x
  989. ;pcre.backtrack_limit=100000
    3 Y0 ^1 \$ V; d: c% @8 s/ [

  990. . \6 D  F7 J' ?0 T' W9 [
  991. ;PCRE library recursion limit.
    3 [% G) [6 F9 ]3 H, r& P
  992. ;Please note that if you set this value to a high number you may consume all
    3 i4 ^1 `9 O- G( |4 x
  993. ;the available process stack and eventually crash PHP (due to reaching the
    / i6 C  X* T4 p! S1 r
  994. ;stack size limit imposed by the Operating System)." d" T, [( I" J: N' y8 {
  995. ; http://php.net/pcre.recursion-limit$ o6 q2 a3 C5 u! j' l: z% t
  996. ;pcre.recursion_limit=1000007 v2 o5 [. N! V3 e/ m1 z2 y: \. N
  997. . x+ u0 B) L' m: d
  998. [Pdo]
    0 u9 x; y+ p; s6 E5 O/ Q
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"& ^6 _! [' T! O4 ~1 ^
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ) _  F" O& n5 _  i/ z8 k4 j
  1001. ;pdo_odbc.connection_pooling=strict
    1 E4 [( W3 i: g% Q( @2 A0 C

  1002. ! l' t6 M5 K" z' ~. I: v, P( e
  1003. ;pdo_odbc.db2_instance_name
    * Y& P+ ^4 c' W( N( r" T

  1004. 5 `! Q( z4 H9 J
  1005. [Pdo_mysql]
    ' \8 }4 D1 j: B/ X
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache$ \, X3 C. Y$ F6 [' t6 y0 J
  1007. ; http://php.net/pdo_mysql.cache_size
    1 Q9 C5 W: Z0 J1 Q0 f$ X& M
  1008. pdo_mysql.cache_size = 2000
    . S8 \" R* H( X8 ^$ @! r

  1009. , C: Y0 A2 t( _9 y, A+ k
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % [( T: i, \+ }! Y) O
  1011. ; MySQL defaults.
    * |% K+ p# ?6 n% E" U: L* W) s
  1012. ; http://php.net/pdo_mysql.default-socket
    ) S% j* o4 G$ L! E
  1013. pdo_mysql.default_socket=
    3 A( C2 z+ ]" Q) d8 \  C
  1014. , z5 R/ b. P# N+ |7 l- h
  1015. [Phar]5 x: R; d' [2 j! O6 ?  s) _
  1016. ; http://php.net/phar.readonly  V  @# z  o% F: y) X+ }
  1017. ;phar.readonly = On) l# L. w2 B- B/ y' p3 a) H
  1018. ) z1 K: ]& Z0 T5 g0 m
  1019. ; http://php.net/phar.require-hash
    + g( _! E& c; y8 q# m5 t
  1020. ;phar.require_hash = On/ l: m$ @1 s; B; [- n9 D( ?
  1021. 1 L2 O3 R3 O  w
  1022. ;phar.cache_list =  y& Z/ o% Y- _

  1023. ) t4 Q; y$ v1 R5 ]
  1024. [mail function]: Z  _1 f0 l; t& {" ?6 C
  1025. ; For Win32 only.6 Q( C6 r/ W2 e+ z
  1026. ; http://php.net/smtp0 l- r( p6 n6 h5 S2 G5 y
  1027. SMTP = localhost  Y' o& Q; I0 t5 h
  1028. ; http://php.net/smtp-port
    / K  _- s+ ?; l
  1029. smtp_port = 25
    8 O+ r6 z3 m' q. x7 \
  1030. 8 V1 C5 X" S& I5 L2 m3 \7 |
  1031. ; For Win32 only.
    7 T& d( E3 f4 N& u$ d" z
  1032. ; http://php.net/sendmail-from
    ; L9 W! l! O! P4 H- P7 G& N- d
  1033. ;sendmail_from = me@example.com" I4 h0 T/ k4 p+ ~. ?  M$ I

  1034. 5 r' y* A0 L$ z$ C
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    . n: \/ t7 p3 I. [( U8 O2 v7 ~  w; W
  1036. ; http://php.net/sendmail-path  ^7 O/ |7 `8 K/ G* }1 z0 d
  1037. sendmail_path = /usr/sbin/sendmail -t -i2 _7 A: a$ Z" r

  1038. % c4 c0 X# t; S
  1039. ; Force the addition of the specified parameters to be passed as extra parameters* N  M* x( X7 v) Z6 b
  1040. ; to the sendmail binary. These parameters will always replace the value of
    9 d9 V, E! _, x" t/ a. [5 [7 S
  1041. ; the 5th parameter to mail().3 |8 e+ O( o7 Y; r; Q# |
  1042. ;mail.force_extra_parameters =8 M" J* p' i( `. ~9 B
  1043. * E. z* f( F3 {" u
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename6 b* g4 W8 X, O& G
  1045. mail.add_x_header = On
    ; Q/ I) H4 p! l' s7 `$ y

  1046. / J; j3 D! Q4 c8 o! r5 R8 q4 }
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    $ h, T9 G# e2 A, c- i$ o
  1048. ; the full path of the script, line number, To address and headers.
    ' P/ j8 N! p2 P7 O' x
  1049. ;mail.log =
    ( T" W+ g& H( e9 F$ D6 ^0 t
  1050. ; Log mail to syslog (Event Log on Windows).5 ?* g" z) ~/ S$ h% j3 v: |2 I
  1051. ;mail.log = syslog
    . o! ]8 E9 |& T( b
  1052. % v6 K9 _+ K  E$ ?. h5 h4 T
  1053. [SQL]
    % X. v+ V* s8 h- f+ c
  1054. ; http://php.net/sql.safe-mode7 j. x; J# i% M9 g- f, e  U
  1055. sql.safe_mode = Off
    - }2 ]  N( @  T5 ^5 B2 H. y
  1056. 5 \( D- V; U  h
  1057. [ODBC]
    / j' A, f1 }8 S) @$ p: W3 v
  1058. ; http://php.net/odbc.default-db
    " k: W- p7 {/ g3 z( F6 V4 T
  1059. ;odbc.default_db    =  Not yet implemented+ z/ p9 b/ i) c

  1060. ( L5 W4 ?8 N* `  Y) k4 c. B+ n
  1061. ; http://php.net/odbc.default-user& g3 \& a/ V) n+ l2 o' y. H! a, d3 X
  1062. ;odbc.default_user  =  Not yet implemented7 i* Y: f0 C, c2 m; I0 {8 c: W

  1063. , }5 |" o; _+ N/ R1 L9 o
  1064. ; http://php.net/odbc.default-pw" G% k  H3 S2 B4 d1 n/ p# V
  1065. ;odbc.default_pw    =  Not yet implemented9 d& t! E  P/ @; z  a

  1066. ' M) g! X* j2 u
  1067. ; Controls the ODBC cursor model.1 Z! ]' p& f. j% l$ P
  1068. ; Default: SQL_CURSOR_STATIC (default).$ `$ P4 n6 }/ }+ u, {& v
  1069. ;odbc.default_cursortype& U& P3 j- k- M' a8 M- U

  1070. 9 R' v1 w; h7 _5 Q3 j
  1071. ; Allow or prevent persistent links.
    0 e0 ^+ T, Z/ j
  1072. ; http://php.net/odbc.allow-persistent
    9 d: t! P' @# o7 q' \
  1073. odbc.allow_persistent = On% l. s+ j! s. A( I  j
  1074. ) x( Y( c, |# v) V
  1075. ; Check that a connection is still valid before reuse.7 }; ]5 F" [/ s0 @
  1076. ; http://php.net/odbc.check-persistent
    ) ?/ g  m, V( N
  1077. odbc.check_persistent = On, L6 r3 S- B: ^2 U. }  D
  1078. ( {( Y* R" _6 U6 X
  1079. ; Maximum number of persistent links.  -1 means no limit.
    . J3 ]4 V- {& M5 ~9 A. T# T: u
  1080. ; http://php.net/odbc.max-persistent
    - w$ L4 `4 q, e8 `
  1081. odbc.max_persistent = -1
    # {  K+ Y' ^& }4 d8 T3 D
  1082. - l; _* G, L: e  N1 `2 C  G; D
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: ]0 u& P2 R4 |" s* E
  1084. ; http://php.net/odbc.max-links7 L1 v- `' v' p4 ?; ?5 s
  1085. odbc.max_links = -1* ^- B  t& ~0 a6 a4 B& u0 A
  1086. 3 y" }8 L+ |; w" e. s: j2 @
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means5 s9 G/ |0 G1 G' f* M
  1088. ; passthru.
    ; @+ F0 _# O3 ]4 E5 X; d
  1089. ; http://php.net/odbc.defaultlrl
    + b3 v, e+ g# [  z7 t6 ~* ^- G7 R  A  e
  1090. odbc.defaultlrl = 4096
    " d' k. O* y: |
  1091. 6 V$ m( f) g2 p. A$ {9 I, h
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.( {" M  x( I9 Z/ [; P; P
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation4 ?; y1 |: d# h  _- E: H4 s* M
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode- b$ [0 M, K" Z4 W$ z4 c" e
  1095. ; http://php.net/odbc.defaultbinmode
    - G1 b$ ^; n9 i
  1096. odbc.defaultbinmode = 1
    ' E3 J. F# Q. c+ c# H
  1097. 6 C* \6 @& m: t- j) }: Q2 K
  1098. ;birdstep.max_links = -1
    . C. o$ _/ G7 s8 Y" `( U0 |' q

  1099. 9 i, C2 Q, g& |- J
  1100. [Interbase]
    . d6 K0 ^6 f0 t0 ~
  1101. ; Allow or prevent persistent links.( Y. [! I4 H  y& o( v
  1102. ibase.allow_persistent = 1* M  N  Q. E% a# u" k: M' m

  1103. - p3 l0 F* r0 G  j% ]
  1104. ; Maximum number of persistent links.  -1 means no limit.
    9 r. @2 E" w/ \- }/ c( o6 D; R( g
  1105. ibase.max_persistent = -1
      ?" q% R9 e4 X8 g. r4 o

  1106. $ e5 @0 q- [1 I
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 \3 k7 ]+ ]" f7 Q# g- y
  1108. ibase.max_links = -1
    / g/ Q0 f) P5 K

  1109. ; `; o% [, g6 {! M% Z2 V0 v+ `3 L
  1110. ; Default database name for ibase_connect().: W$ a" i* x$ \8 a+ G& ~  R0 y
  1111. ;ibase.default_db =* F9 a  X7 b# ~! E. r! Z5 M. `

  1112. 6 l- n9 W1 J- ^5 e  @" `
  1113. ; Default username for ibase_connect().
    / X: U4 \- v1 x7 t5 h% p' ]( P  h
  1114. ;ibase.default_user =; e" n7 j- `7 b( H! {& K
  1115. ; }8 |: u5 X( v
  1116. ; Default password for ibase_connect().
    ' y$ ~. j, f1 y( ~
  1117. ;ibase.default_password =. t7 ^; \' o5 U2 u1 F0 r, V7 V

  1118. 5 F% {: G/ @& S+ D, A
  1119. ; Default charset for ibase_connect().5 v! _' N9 ~) U% K$ B' H$ ?2 x
  1120. ;ibase.default_charset =
    & m* }0 ~' M/ Q- G
  1121. , V+ e7 t8 v/ B% b, ^1 N
  1122. ; Default timestamp format.3 E3 ]2 P% E" x8 ^) X
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"$ }" S2 l% D' R6 b7 c. G  @

  1124.   d. F9 Q+ N9 q/ ]* G) @9 B
  1125. ; Default date format.4 C, P/ I" r) F" O
  1126. ibase.dateformat = "%Y-%m-%d"4 x: e: n! b: }1 ~! ~4 b9 }
  1127. $ K# X& S) s9 y) a' @' r
  1128. ; Default time format.
    # U+ r# U- J: o3 a$ |* K
  1129. ibase.timeformat = "%H:%M:%S"
    6 F( W" z2 q3 f& p4 c
  1130. + m% Q( o6 E8 E+ q* G4 n
  1131. [MySQL]# Y; o4 L( P% |8 Q5 b
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements/ y4 d3 C$ ?, S7 P9 a# R- w5 H
  1133. ; http://php.net/mysql.allow_local_infile
    8 G& A% t2 S0 u- |& ^
  1134. mysql.allow_local_infile = On& U; k% M' N( V% Y4 D# H  z
  1135. ) \& h; j8 n9 N9 w( M( Q
  1136. ; Allow or prevent persistent links.. Y) B# h9 q$ g5 w: _
  1137. ; http://php.net/mysql.allow-persistent
    . L9 U. t, Q+ }
  1138. mysql.allow_persistent = On7 I) A- R7 y2 f

  1139. % @. `% p0 ?4 d: R9 s) I3 K# f
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( y1 L0 Q$ O7 O5 E
  1141. ; http://php.net/mysql.cache_size/ o- |1 `) V4 s/ S" l+ }
  1142. mysql.cache_size = 2000
    . P) t- O* x; y( B
  1143. : T# }8 H& z# f  p4 V; V1 ~
  1144. ; Maximum number of persistent links.  -1 means no limit.
    0 e9 [# \& Q5 b; l* ~
  1145. ; http://php.net/mysql.max-persistent
    5 a$ ^& R$ F6 R/ e% \7 C3 f9 t
  1146. mysql.max_persistent = -1
    7 d% K/ \' c: F

  1147. 2 o( ]: g  t: G3 ^
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 K) j7 ]3 Q) A4 V/ f7 _
  1149. ; http://php.net/mysql.max-links
    . d# h1 V# d0 c' }$ @' L* b
  1150. mysql.max_links = -1" H& n2 P) ?8 T$ ?5 R) e) m" H
  1151. ( D- k) O. W6 B' k6 r' i- u3 V
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    : u  i3 ~) G1 J1 M- A- p
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the. {$ j: k  u- B: x3 p2 W
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ; R2 Y$ p; Z1 v1 {- }
  1155. ; at MYSQL_PORT.- ^2 ^  M3 K0 T2 G
  1156. ; http://php.net/mysql.default-port8 E9 H- C( w/ f& q6 H2 c) N
  1157. mysql.default_port =
    $ w7 T$ [/ o: r9 z
  1158. ' ?, F8 d% u0 m. i$ b9 d/ R0 T
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    3 Z6 L2 ]6 o) C5 P" R
  1160. ; MySQL defaults." u) k2 C  W) c5 T# M
  1161. ; http://php.net/mysql.default-socket8 e' }* x0 V: k3 K; M) P3 x
  1162. mysql.default_socket =
    ( {& E' O( Y" Y% L6 t$ d/ H

  1163. 3 O  e1 K: R) h
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).( k6 T9 d6 u7 p9 f. U1 @- D
  1165. ; http://php.net/mysql.default-host
    * M0 f+ c4 B3 p8 s2 j
  1166. mysql.default_host =
    ; R5 t! Z& C7 q% b4 g
  1167. - N2 K0 Z& o8 d, f: N7 M
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    3 I  r* V. p: L. ~$ @' h$ a4 p5 K7 L7 f
  1169. ; http://php.net/mysql.default-user  g+ r& ~/ E) j7 p) O
  1170. mysql.default_user =
      O( U4 U$ D- G8 g+ F9 X

  1171. # a. z# b, x- i+ l! V
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode)." N+ ]. s9 \, l
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    + ~7 n+ J9 U) ?; B. E! p
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")+ c' d: n2 [: E- J& e
  1175. ; and reveal this password!  And of course, any users with read access to this
    . y% }! O8 {% O7 u" H6 U! s3 z; C
  1176. ; file will be able to reveal the password as well.
    7 n/ |' K3 o. ?! ^- `7 s
  1177. ; http://php.net/mysql.default-password
    % W1 Z- }, _1 H) y* h' Z
  1178. mysql.default_password =' r; x) _/ t$ t, [: P# X3 l
  1179. ( l3 T, C* Q; Q. Y/ B/ Z7 W" T
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit9 M9 Z5 D( t9 X; u" L, H- a
  1181. ; http://php.net/mysql.connect-timeout% P3 Y( o4 D' O" t9 P
  1182. mysql.connect_timeout = 601 ^, U; L; ^5 u; B4 d

  1183. . o; r9 o4 o3 ]( [
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ( M5 k! E  C. b8 C' m
  1185. ; SQL-Errors will be displayed.
    / S0 b$ P  W1 R. S* K- Y
  1186. ; http://php.net/mysql.trace-mode
    9 C" J- W6 B$ b9 ]1 |' R6 V
  1187. mysql.trace_mode = Off
    5 r( y/ B7 }5 `  u3 V: ?* Q  A2 r' M: i" s
  1188. 8 @$ K. C/ k0 L% a( J0 Y) Y3 r
  1189. [MySQLi]' y( y  M. [% W) S

  1190. 9 G0 m, A3 O% B! S( |8 ]& {  U
  1191. ; Maximum number of persistent links.  -1 means no limit.
    0 e$ t/ w& n9 @* @
  1192. ; http://php.net/mysqli.max-persistent
    ; h3 {+ ?0 D: G2 Z' e& ?
  1193. mysqli.max_persistent = -1) Y& R2 L/ g* B

  1194. 5 K# @' K) }1 v/ g, o7 O
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    * S' M5 U/ p& N5 o
  1196. ; http://php.net/mysqli.allow_local_infile
    ) s" P& V9 a6 [  p" L
  1197. ;mysqli.allow_local_infile = On$ G% J# w- T# N3 W2 |$ m' u5 d

  1198. ' h8 I: Z) c3 Z. X( e6 y) e5 T
  1199. ; Allow or prevent persistent links./ Z$ O& y8 K: e1 F+ |
  1200. ; http://php.net/mysqli.allow-persistent) d4 T; L& m+ r# A
  1201. mysqli.allow_persistent = On) U  X' g, l1 [( D' ?# U
  1202. , Y3 z0 f! z4 T5 W
  1203. ; Maximum number of links.  -1 means no limit.
    0 d1 F% ^3 o' j& S' `: p
  1204. ; http://php.net/mysqli.max-links. W2 Q9 _& m4 J6 |# i5 f9 k4 c; k
  1205. mysqli.max_links = -1& b7 C; {' R# \# y6 n
  1206. ! M' o1 k$ n. D1 a
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " a* Q3 M0 U9 }: T
  1208. ; http://php.net/mysqli.cache_size
    1 |  \' i$ F5 |+ z! k( ~
  1209. mysqli.cache_size = 20001 m, c, v3 q) u5 [/ F  l; k* B

  1210. & R" b, Y+ E( }! P
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    " p( k- K/ C, I" H# f5 v% A
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    9 t# P; B" i9 E4 A0 V
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    6 y) u. X3 [0 ?8 E
  1214. ; at MYSQL_PORT.- n9 d9 ]$ b1 T  ?  P7 E
  1215. ; http://php.net/mysqli.default-port
    - ]1 S( T  Y" l% t: t
  1216. mysqli.default_port = 33069 y  u: h( u; X7 ~' T/ i
  1217. 1 i/ u0 S9 P% ~
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    4 w  E8 N' |0 y' l& R6 Q
  1219. ; MySQL defaults.
    2 D& T. d& M: ]1 Z8 C
  1220. ; http://php.net/mysqli.default-socket
    & r' X! A& A* u$ }+ _) b2 q
  1221. mysqli.default_socket =! U, r! k) G7 I, R  {

  1222. 8 `( N2 P7 U* S' n
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).* l3 {0 q) D( ]( p
  1224. ; http://php.net/mysqli.default-host
    % ^) T* }0 [& g& ?) q1 e
  1225. mysqli.default_host =
    5 \, Z% N7 X% K) [, H* @9 [# B5 \* W

  1226. , z6 F! W3 B, m6 j0 T; U
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    5 z- R2 v, @0 |6 T, j% H' Y
  1228. ; http://php.net/mysqli.default-user1 K- x1 _& A' K+ J1 z% Z+ r9 b5 D
  1229. mysqli.default_user =, P; t% R1 y' F

  1230. 2 K" J3 q' I: F& ?
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).2 \4 M- G6 k& {( u  @( x1 `
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.: A; i. e; x9 a: ]! E# q; A# {4 k9 E
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    , j# T) U2 {2 l) M6 @' N  O
  1234. ; and reveal this password!  And of course, any users with read access to this0 ?+ a7 ?0 f# e% V! Z' o
  1235. ; file will be able to reveal the password as well.
    + r" Y5 t" E7 d; [% o4 W
  1236. ; http://php.net/mysqli.default-pw% u* ^' `" M" t( L$ Y
  1237. mysqli.default_pw =
    * g0 f( B# {4 }9 A' n* y8 t2 E
  1238. 3 j: V7 e5 K# t  R/ P9 Q. g+ k
  1239. ; Allow or prevent reconnect
    ; h  ?3 s& x3 y6 T$ \6 Z
  1240. mysqli.reconnect = Off
    * Y5 o: ]4 r3 U8 w( {5 {2 q

  1241. 4 {6 B/ ^5 q+ ]  E0 ?) |* B
  1242. [mysqlnd]
    & L# `. ?3 c  o) {6 \& A4 a
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be  o2 u4 m8 ~# l1 x
  1244. ; used to tune and monitor MySQL operations.# K! b6 B3 F' e5 t0 D/ q
  1245. ; http://php.net/mysqlnd.collect_statistics; S( a5 v: f$ J( p- \
  1246. mysqlnd.collect_statistics = On
    : E3 K) N! m( R
  1247. ( V0 v' E) ~+ ?
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be$ c* }8 {, R: p2 Z( T) M( f* j
  1249. ; used to tune and monitor MySQL operations.% W% u8 C: A# @" K
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ' W- \  _* |& H8 T' d# V1 L
  1251. mysqlnd.collect_memory_statistics = Off8 L2 L- o+ ^! X8 b6 Y

  1252. % m9 v# D( N. J- u/ g. ]
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    ) w4 R! [5 Q5 I8 w1 _* i/ ^
  1254. ; file.
    & Q0 a) [, d! H
  1255. ; http://php.net/mysqlnd.debug( U/ c7 i& J; P) Z& L
  1256. ;mysqlnd.debug =
    4 L* _# l, H: O. N& Q
  1257. 0 M8 B) [5 o+ N# n
  1258. ; Defines which queries will be logged.4 R: a. g- ~9 @  Y
  1259. ; http://php.net/mysqlnd.log_mask
    , r4 g7 T4 ]; @& U, M7 ~9 O
  1260. ;mysqlnd.log_mask = 0$ {8 i, B9 ?! V$ q. a
  1261. + T2 X. x8 t/ E4 E9 s
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ! C$ ]- l7 f' G8 [8 h
  1263. ; http://php.net/mysqlnd.mempool_default_size$ q0 I5 X3 F- B; K/ K7 ~  ?
  1264. ;mysqlnd.mempool_default_size = 16000- [% k, v- F+ p, ~* \- V
  1265. " r4 i; r; m# E: W
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.6 d& q: q) S4 O0 r7 ^  X
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size- h1 x2 f0 b) H5 W! e# d6 w4 ?
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    9 z2 h: `) V: o2 ^$ }0 t- T7 }2 Y
  1269. $ m/ B1 f8 U# A
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in4 G7 G, y/ ^8 `
  1271. ; bytes.
    ! t* @' |( J" O$ T
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    6 [6 C8 z- K0 I% m# E2 s4 K/ F
  1273. ;mysqlnd.net_read_buffer_size = 327688 X9 E5 Y3 ?$ {& d3 w% e

  1274. ) H+ J: C& i7 H4 s& E0 y
  1275. ; Timeout for network requests in seconds.- q' z+ x/ _$ S8 W
  1276. ; http://php.net/mysqlnd.net_read_timeout3 z0 F4 S' e( g. y3 k$ P
  1277. ;mysqlnd.net_read_timeout = 315360002 T# W3 \1 ^5 z1 {& V% X0 @0 l
  1278. " D; x! N( v) y8 s, y  P9 ~( q
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    % V4 i' g( q7 G  }& m
  1280. ; key.
    . Z' V, M: `* B0 ^- i7 m$ E% q
  1281. ; http://php.net/mysqlnd.sha256_server_public_key2 ^; y' u) b4 h1 u" Z
  1282. ;mysqlnd.sha256_server_public_key =
    3 C" n) V6 b- p% |6 m" y
  1283. + J  r3 l- ]: |' `5 H
  1284. [OCI8]
    # g6 H4 p$ V- m9 ^/ m8 g$ R

  1285. $ d- G4 d0 m3 b% F9 J
  1286. ; Connection: Enables privileged connections using external4 l. l2 i$ F0 s2 b9 G' s$ w
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    0 Y1 w4 V- ]  R
  1288. ; http://php.net/oci8.privileged-connect
    ! d- N" }- S& [4 l! s
  1289. ;oci8.privileged_connect = Off2 i/ y) D/ ?+ O2 u5 Y# L
  1290. 0 b" f$ p  Q5 V8 e$ b
  1291. ; Connection: The maximum number of persistent OCI8 connections per. g2 U. U5 j6 s- w$ S3 L; j6 r
  1292. ; process. Using -1 means no limit.
    % o  r$ E; l6 w2 O
  1293. ; http://php.net/oci8.max-persistent
    7 y! y$ p( y4 `* N+ G" {& ~
  1294. ;oci8.max_persistent = -1; w7 H$ s! Z+ F
  1295. - u; i/ _% u# R: L
  1296. ; Connection: The maximum number of seconds a process is allowed to  W* G: S/ a4 d& r1 P8 ~: R% n
  1297. ; maintain an idle persistent connection. Using -1 means idle0 @+ X% b+ y* |7 G: P8 d
  1298. ; persistent connections will be maintained forever.( |  B* E. Q; z
  1299. ; http://php.net/oci8.persistent-timeout: E( g/ M2 y( [/ m( K/ ^
  1300. ;oci8.persistent_timeout = -1! o  k% D8 F* a8 y9 Y9 k& L
  1301. # h/ ~' @7 J3 O5 b! d  n/ T" Q8 I
  1302. ; Connection: The number of seconds that must pass before issuing a
    / L3 K: s& |9 E
  1303. ; ping during oci_pconnect() to check the connection validity. When7 n2 n! f; h, Y/ [
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
      F- M+ }7 }$ o# s+ W2 T
  1305. ; pings completely.5 Z: S* ~8 F) M4 C7 J
  1306. ; http://php.net/oci8.ping-interval3 }3 z# d8 Y2 e( a+ U/ I
  1307. ;oci8.ping_interval = 60
    " C( ~8 O6 w  K" S) q$ O# M& i6 }

  1308. 1 N4 s1 m3 P( @* ~$ [- X/ o0 v6 J
  1309. ; Connection: Set this to a user chosen connection class to be used2 H" t# d* i6 N% l2 A; E( u7 R
  1310. ; for all pooled server requests with Oracle 11g Database Resident$ g! t. u6 L- ~+ A
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to2 n+ p2 H1 r( w% I0 S  f, M
  1312. ; the same string for all web servers running the same application,! S: r4 @4 N; p: P9 b
  1313. ; the database pool must be configured, and the connection string must
    $ |/ u' W8 i" N* x4 f
  1314. ; specify to use a pooled server.6 ?" u! Z& T" G4 Y
  1315. ;oci8.connection_class =
    0 ?0 ?8 e# ~+ P" l( Q* D6 P
  1316. $ d4 X! Z- F# x
  1317. ; High Availability: Using On lets PHP receive Fast Application* n6 U3 n9 `. {6 p, @5 c4 X
  1318. ; Notification (FAN) events generated when a database node fails. The
    : ?4 s7 m/ l( k: M( _
  1319. ; database must also be configured to post FAN events.# \6 t) A1 e' C0 P
  1320. ;oci8.events = Off
    ; G0 r$ o5 P9 ]
  1321. 9 W/ `) d  \/ O8 [8 e( ]2 l3 ^
  1322. ; Tuning: This option enables statement caching, and specifies how
    * n$ [1 C- B9 ]/ N
  1323. ; many statements to cache. Using 0 disables statement caching.
      e% \( C5 a0 k& ~
  1324. ; http://php.net/oci8.statement-cache-size
    # O' h2 L1 _1 T- i3 P- b8 T5 J
  1325. ;oci8.statement_cache_size = 20
    7 S$ w/ r1 z& J$ p3 ^' @

  1326. % l( j& I( N$ _; ~8 L3 E% ]; z0 E
  1327. ; Tuning: Enables statement prefetching and sets the default number of2 E3 M! Q# }+ x0 M
  1328. ; rows that will be fetched automatically after statement execution.0 z! J" Q% }$ B% n. x' ~
  1329. ; http://php.net/oci8.default-prefetch) ^" P1 b* m' H8 r
  1330. ;oci8.default_prefetch = 100
    % i* H$ i6 }$ v! E- ^, U6 {8 s

  1331. + B( V  _4 q) ?- M2 H9 j& ~
  1332. ; Compatibility. Using On means oci_close() will not close7 i/ P; p+ a( A2 S. i3 f
  1333. ; oci_connect() and oci_new_connect() connections.
    . q2 C4 j! g+ \- J+ j
  1334. ; http://php.net/oci8.old-oci-close-semantics
    7 A9 ^9 J. y* K# x# c* C' c
  1335. ;oci8.old_oci_close_semantics = Off( T1 m! ^% `5 {) A% Y: P4 D
  1336. ! ]7 |; _3 U- `0 K, h, z- z
  1337. [PostgreSQL]
    ) a. _$ A- p+ R, s. Q8 s
  1338. ; Allow or prevent persistent links.
    2 z$ r2 ?) t3 j
  1339. ; http://php.net/pgsql.allow-persistent
    3 i2 S! h# H* A& ^/ H% I& @+ H) n. E
  1340. pgsql.allow_persistent = On
    2 _  f9 n; T( |1 E* R% m

  1341. ' m: K4 v+ y; ^
  1342. ; Detect broken persistent links always with pg_pconnect().
    2 ~1 i* X. Y; B
  1343. ; Auto reset feature requires a little overheads.3 R$ v) }- y4 B" q3 y. d
  1344. ; http://php.net/pgsql.auto-reset-persistent$ X; c2 n7 k: ]0 F' |& X3 {$ h
  1345. pgsql.auto_reset_persistent = Off/ ]+ D8 s/ E: M0 [3 w/ q5 l& Y

  1346. . Z. F- ^+ q- V# E# }& A" y
  1347. ; Maximum number of persistent links.  -1 means no limit.
    ) F& y6 U" ?8 ?# i9 y4 H, U9 c
  1348. ; http://php.net/pgsql.max-persistent9 C; W5 d) \2 q* w8 p' S7 p7 ]
  1349. pgsql.max_persistent = -1
    % U) y8 L+ C- P0 L2 E7 h) C

  1350. 6 Y5 N, I% Q; Q$ }) o
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit./ p6 N9 |( S$ p( ^7 I- A: U7 ~
  1352. ; http://php.net/pgsql.max-links
    ! [% M8 v3 J6 {% i8 }/ _3 x
  1353. pgsql.max_links = -1
    ( z4 A5 {* w' B

  1354. & d& l' h: W( v# Q/ D# E
  1355. ; Ignore PostgreSQL backends Notice message or not.
    3 v. k; U- s* C5 d+ i
  1356. ; Notice message logging require a little overheads.
    % k$ c9 E* Z5 A) o3 ~
  1357. ; http://php.net/pgsql.ignore-notice
    6 \( N; i$ R) E5 q! d  r# `& q
  1358. pgsql.ignore_notice = 0$ L+ i% g, M, g4 V

  1359. + p/ }6 h, ?5 K/ J
  1360. ; Log PostgreSQL backends Notice message or not.+ X$ ^2 `7 A6 S1 d/ [" \
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    % n5 V4 J. j; b, _
  1362. ; http://php.net/pgsql.log-notice0 p% i6 D, h/ e
  1363. pgsql.log_notice = 00 H! S6 B( d8 l) h  a3 l; i5 [

  1364. # I4 o- [9 q7 a, J' _" F
  1365. [Sybase-CT]: V4 Z: a# [+ F% o
  1366. ; Allow or prevent persistent links.
    1 Q" K0 D- G3 _
  1367. ; http://php.net/sybct.allow-persistent
    " A' S* V6 k* }+ N
  1368. sybct.allow_persistent = On& r7 \7 v# W2 ~6 s/ a

  1369. " y. Y9 o3 c0 A
  1370. ; Maximum number of persistent links.  -1 means no limit.8 F! T* O- ~8 j+ j* P. h
  1371. ; http://php.net/sybct.max-persistent
    + B4 P* b8 |+ N6 Y" i
  1372. sybct.max_persistent = -1
    2 ?8 [3 c1 F( D/ n9 O3 ?

  1373. . v& P' {. W" a; C4 |' F1 Y4 ?, Z
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 p" m. N: V7 x9 I7 P. T3 `
  1375. ; http://php.net/sybct.max-links
    " z+ D+ l) L, o( x/ X5 G: [: }
  1376. sybct.max_links = -1
    ! L  ]# i8 d2 H
  1377. ' ^2 m; r/ K/ A4 U: r5 C- Y& L0 v
  1378. ; Minimum server message severity to display.* k( B8 f0 ?& r
  1379. ; http://php.net/sybct.min-server-severity7 H2 A2 Y# ?" {6 [
  1380. sybct.min_server_severity = 10
    7 S) i/ m4 ]9 C
  1381. 3 C+ ?. z. C3 R* w) F
  1382. ; Minimum client message severity to display.0 M/ E- a6 H3 ?' [
  1383. ; http://php.net/sybct.min-client-severity1 v3 A& ~$ V2 O3 P
  1384. sybct.min_client_severity = 100 x- h, Z+ a6 C( J
  1385. 2 k' H1 Q3 R; \8 n
  1386. ; Set per-context timeout5 _8 {0 ?7 O0 F' d
  1387. ; http://php.net/sybct.timeout/ C1 B& ?0 ]  J9 T2 }6 n* _: d
  1388. ;sybct.timeout=
    9 [# w: ^( ]& v7 p; J
  1389. 2 X9 @, q1 Y; @$ E" N* s
  1390. ;sybct.packet_size7 P- Q/ b/ Q1 `' _  a
  1391. ! w% \1 ~( M2 G  P$ W% f% y
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.  X7 ^0 J3 N& k! n1 N7 o, U; `9 y
  1393. ; Default: one minute
    % W+ A, C2 }5 X! L1 g; |
  1394. ;sybct.login_timeout=
    7 ]% y  M2 G$ }& j2 }

  1395. + i+ z  P) z6 v' _5 M# d5 _
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.% O0 y' `; r% H8 Y/ p; P+ r
  1397. ; Default: none
    - W& o; ^/ T  b5 }0 K' P
  1398. ;sybct.hostname=
    % \% J* i4 S* Y4 L
  1399. * K* ]9 Q; [0 H* \  P
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    4 z2 G+ R5 o7 p- @: j
  1401. ; Default: 0
      T1 q/ x8 F6 F$ ]+ [+ c1 x4 ?
  1402. ;sybct.deadlock_retry_count=
    ; a  Z+ {( g0 k
  1403. ' R! U% S; M% g5 t
  1404. [bcmath]- N) S2 L! X) Z3 F0 C# f
  1405. ; Number of decimal digits for all bcmath functions./ n. ]' L' O4 h4 [! K6 y
  1406. ; http://php.net/bcmath.scale! _- |7 o0 P6 f: t2 R3 ?
  1407. bcmath.scale = 0% K! j2 \/ c+ Y0 L/ e

  1408. & c2 N% v- V0 I0 Q9 t$ B
  1409. [browscap]
    3 E' `7 _9 A& e, G" s2 E) _
  1410. ; http://php.net/browscap) J) f$ _1 H+ J% a% J+ z" j
  1411. ;browscap = extra/browscap.ini: Z5 \9 b. f& E. E6 J" e

  1412. 5 P& a; t: C( G% }+ `
  1413. [Session]
    ! _9 Z1 ^9 g# ]+ Y: q
  1414. ; Handler used to store/retrieve data.
    6 T( b8 C- p6 o' K: L
  1415. ; http://php.net/session.save-handler
    # C8 O0 ^1 c3 M& D0 ]; D
  1416. session.save_handler = files1 Z/ Z- O  K0 @9 Q; a4 R* H7 f

  1417. * W) S, P- t3 F, Z# G. E% D4 W
  1418. ; Argument passed to save_handler.  In the case of files, this is the path6 U$ G$ c9 w" N) q' n
  1419. ; where data files are stored. Note: Windows users have to change this( E$ A$ F  W( S: l2 S6 w
  1420. ; variable in order to use PHP's session functions.% D# O2 q" |8 q0 B# z6 i
  1421. ;9 i8 a/ n& W1 C1 j0 r
  1422. ; The path can be defined as:
    , Q5 u. d( p( v- d  O
  1423. ;
      L% g$ N0 X7 z  F9 C2 J  b' F$ _
  1424. ;     session.save_path = "N;/path"# j- M. I& L0 l: S  V  Y
  1425. ;
    ; E. ]! `- R% A- o: r. P5 a% a8 Q
  1426. ; where N is an integer.  Instead of storing all the session files in
    1 Y' t2 S7 N" X3 w& R+ L* X
  1427. ; /path, what this will do is use subdirectories N-levels deep, and' G6 |' m9 d! V/ w* k
  1428. ; store the session data in those directories.  This is useful if/ T& ?  |6 l; U* a
  1429. ; your OS has problems with many files in one directory, and is
    ! A+ p+ O2 k3 V' u. I$ V
  1430. ; a more efficient layout for servers that handle many sessions.
    $ G; y  r  E* G+ [8 V
  1431. ;" e( ^9 x* M, ~. g; Z
  1432. ; NOTE 1: PHP will not create this directory structure automatically.6 C& J7 r) F+ n( I
  1433. ;         You can use the script in the ext/session dir for that purpose.
    6 m9 i# \0 W, E2 e. Z
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    . e. ]. L% j3 P( h
  1435. ;         use subdirectories for session storage
    ' C  |# t1 C; t3 G
  1436. ;
    2 Y% W, Y1 n, }# Y7 i
  1437. ; The file storage module creates files using mode 600 by default.
    . r7 r/ m* T1 _, t1 O9 f: n/ Q
  1438. ; You can change that by using6 c! F2 j, P! H8 [* P. M( i) V
  1439. ;7 d& u% {& \4 a2 A, l/ v/ |
  1440. ;     session.save_path = "N;MODE;/path"
    : \6 ^2 g5 z. i- a( L( J8 |4 b! E
  1441. ;5 n& X5 w( z! G6 m2 v
  1442. ; where MODE is the octal representation of the mode. Note that this
    6 V# F( ~' }  r4 }4 ^% {& {3 C
  1443. ; does not overwrite the process's umask." i: i) A1 c$ H+ s) o
  1444. ; http://php.net/session.save-path
    - [9 ~& P# X" @; {4 f+ N
  1445. ;session.save_path = "/tmp"; u: O5 i, t9 w! U5 k- _
  1446. " w& R" p6 _/ f' }2 Y
  1447. ; Whether to use strict session mode.2 d* h' R/ d' f* R
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    5 ~8 d" v$ b+ N. U
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    . V* f+ T9 ~9 ~& W
  1450. ; applications from session fixation via session adoption vulnerability. It is) T0 y$ H% O- N" o" K* N
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    - j/ D: `- A0 y* z6 X6 ], `
  1452. ; https://wiki.php.net/rfc/strict_sessions( i; ]5 e! i* ^& q+ A
  1453. session.use_strict_mode = 0
    & H2 r$ J% I% s6 _4 F
  1454. 1 i$ _9 k0 R& [0 l3 E& E3 i' O
  1455. ; Whether to use cookies.
    0 ?; S) A, y; c- c) b5 k$ w6 t
  1456. ; http://php.net/session.use-cookies. E( z/ ~4 c, U* Y% H( r
  1457. session.use_cookies = 1
    : K  Q) S/ z" s& ^
  1458. 9 h' z' d! I# M0 d; c5 y. ~
  1459. ; http://php.net/session.cookie-secure
    9 Q3 L( f: d( Q: E6 k: j* d7 F
  1460. ;session.cookie_secure =
    3 ]' T$ N) ]1 C+ Q9 ]  @! l

  1461. ! Y+ `$ i! d, N) e9 C
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ( Y0 {4 d- S8 f, ~1 E
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    8 q5 x* R* [& {
  1464. ; session hijacking when not specifying and managing your own session id. It is
    & C0 L" V% V4 J) H" i5 }3 W( s
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.% [5 C& [1 c- e7 W. F* c1 X& |
  1466. ; http://php.net/session.use-only-cookies
    1 ?- J3 K8 T6 t2 j
  1467. session.use_only_cookies = 1
    3 F* I7 j6 O8 Z

  1468. . C3 o# C0 [6 P( [; {
  1469. ; Name of the session (used as cookie name).  B9 X" y& [3 x/ s/ y
  1470. ; http://php.net/session.name
    9 Y* K( Q$ y; K0 M+ z( E* Y
  1471. session.name = PHPSESSID
    ' _: l5 [3 s- H
  1472. * V% F  D( Q2 E
  1473. ; Initialize session on request startup.& b, z; N' t, B' L# q4 a
  1474. ; http://php.net/session.auto-start$ R% @4 z& G' w4 x( S
  1475. session.auto_start = 0! G4 w' B1 a3 H/ E7 Q

  1476. 2 u, P6 T' r; f- u  ?$ i/ [* u
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.0 L: q( ^  F' o, b1 y, T
  1478. ; http://php.net/session.cookie-lifetime0 }- M8 q( o6 m2 G  f0 }7 C
  1479. session.cookie_lifetime = 0( P7 a+ }8 l( n; B
  1480. ' |' ?! h# j7 P( k3 S
  1481. ; The path for which the cookie is valid.
    9 ]3 }: g4 W$ N( q
  1482. ; http://php.net/session.cookie-path! k' y& |' S0 C' a1 g1 b
  1483. session.cookie_path = /
    ! @# E! k' o  i5 k: N( V4 t! ^. c% M7 a
  1484. 5 @6 @+ V) E5 N* z' F9 e, A  @5 v
  1485. ; The domain for which the cookie is valid.
    : {0 J5 z$ K, X& G  a8 E
  1486. ; http://php.net/session.cookie-domain. d" f6 ]. U( G$ t
  1487. session.cookie_domain =0 B( d) ^' p0 b8 K; w- W
  1488. + r5 W8 D5 D( @* D6 E  M
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    4 M( f8 g9 z. H
  1490. ; http://php.net/session.cookie-httponly" t! Q' c) r% S$ M% ]; g
  1491. session.cookie_httponly =' B5 b* w2 Z9 M# {, D4 @. [( f

  1492. . p& e9 z4 C2 z5 W* J9 P# h
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.8 ]* g! X) k/ Z# L% y' T
  1494. ; http://php.net/session.serialize-handler
    / X# n5 C. N' C5 `1 k! J% b
  1495. session.serialize_handler = php
    ) y5 \. Q; G: g; @
  1496. 0 t3 l+ `& L, g& F( J: V
  1497. ; Defines the probability that the 'garbage collection' process is started
    ) H  l( n: ~2 \# @) l
  1498. ; on every session initialization. The probability is calculated by using
    8 t3 p6 N0 n' E8 ~# S
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator1 m; e6 ?8 O3 C2 Y/ I
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    4 y/ _9 f. a3 v$ f9 I8 P- q
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance. T7 u9 ]- b9 I& p0 \
  1502. ; the gc will run on any give request.8 h3 m5 d4 L- O( L( R) B
  1503. ; Default Value: 1
    3 N3 K. x" t8 }6 d: S" K
  1504. ; Development Value: 11 Z/ }9 ~; R; d0 u( f2 a
  1505. ; Production Value: 1+ Z! [+ @. P$ `; i: \
  1506. ; http://php.net/session.gc-probability
    ; ^2 T( m6 c- Z' q
  1507. session.gc_probability = 14 |6 j5 C% Y- W1 Y2 H) h0 d! R! I
  1508. & G0 v: P' l# [/ f
  1509. ; Defines the probability that the 'garbage collection' process is started on every4 G5 m; W1 T! B* i
  1510. ; session initialization. The probability is calculated by using the following equation:
    ; L" K- B5 S/ C4 b" I5 |" i3 q
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and' [  B+ A- }4 T" |& K9 D  [1 E! s
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 12 `& a9 f. P7 C2 H/ \! W
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    $ c5 r' A. B. I0 |+ u$ y5 U/ X
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you) w  t3 g! B2 O0 n/ N& T  ]
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    . }  f8 C2 k- R2 h5 v, @
  1516. ; this is a more efficient approach.5 @2 \5 l1 Z* x) y
  1517. ; Default Value: 100
    / n8 Y5 \/ W+ r% _. [" g2 u. |1 m
  1518. ; Development Value: 1000
    3 F, t' _, y8 D$ B
  1519. ; Production Value: 10009 S3 f( C5 }% c* G- \5 i) N
  1520. ; http://php.net/session.gc-divisor
    ( j, }: e5 H4 m% y- m
  1521. session.gc_divisor = 1000
    ' v; K9 D+ g8 s/ D' I. L( a' c- D
  1522. / B/ m+ Y9 ]: h5 Q$ Q$ {& ^4 c
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    0 Z$ n1 p* c% k! n. h" P
  1524. ; cleaned up by the garbage collection process." @6 j2 w2 ^, N% w6 ]( j
  1525. ; http://php.net/session.gc-maxlifetime
    $ J$ \* l  Q- _1 B# U( a5 |
  1526. session.gc_maxlifetime = 14408 ~# B. B9 K6 d8 r7 e( s2 `
  1527. ' v) h1 b2 f, q4 y; J
  1528. ; NOTE: If you are using the subdirectory option for storing session files& J, n% A, p3 p) w! n
  1529. ;       (see session.save_path above), then garbage collection does *not*
    1 N  t. X# l- v& F: @
  1530. ;       happen automatically.  You will need to do your own garbage
    ( n) B# w/ M* a0 N! G" u+ _
  1531. ;       collection through a shell script, cron entry, or some other method.; `& ^7 a6 y6 z
  1532. ;       For example, the following script would is the equivalent of
    , Y( j$ l1 I* j1 y) x
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    & N& X- X5 i. \6 q) o
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm* b+ c+ `! i) I4 |7 L9 x
  1535. 2 l3 v; ]: O* M) Z0 j
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids., N4 ]5 S/ z" E( e6 r
  1537. ; HTTP_REFERER has to contain this substring for the session to be* x% h9 r  z; a* h) v
  1538. ; considered as valid.
    5 ~+ M; N2 B* I6 h" z( q1 P0 J
  1539. ; http://php.net/session.referer-check( Z  i' h7 Z! P+ k  w( ~9 D
  1540. session.referer_check =+ x1 L: B, t9 c4 P$ V
  1541. 1 _6 c5 A1 w2 n5 r. G
  1542. ; How many bytes to read from the file.
    0 H% O  X) U; i; w
  1543. ; http://php.net/session.entropy-length
    4 L' o: g9 l! d
  1544. ;session.entropy_length = 328 [0 w, I. L4 U) k% r0 W  R
  1545. , P. m" f; j' W( n9 ]
  1546. ; Specified here to create the session id.9 p0 [1 N% m5 h% j9 e3 ?$ b4 R$ p
  1547. ; http://php.net/session.entropy-file
    ' m. q+ Q8 V9 D$ [  t
  1548. ; Defaults to /dev/urandom9 T7 ^  Z( L' G, e1 }' q+ s
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom# T3 U1 z" w; X$ x  n! z
  1550. ; If neither are found at compile time, the default is no entropy file.
    , o; f# {8 y3 B7 }6 L
  1551. ; On windows, setting the entropy_length setting will activate the
    1 r( I: E# F& T) O
  1552. ; Windows random source (using the CryptoAPI)
    8 b/ {; R: J, d8 ~
  1553. ;session.entropy_file = /dev/urandom2 M, g' A% [3 h( k4 o$ ?) p

  1554. 4 R# `0 [- R' \& s3 n1 o6 ]) H8 |
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    5 D0 w' ?9 ~3 p% p' x! U
  1556. ; or leave this empty to avoid sending anti-caching headers.
    6 [# _" q! C6 s0 N, g
  1557. ; http://php.net/session.cache-limiter
    $ y7 G+ L6 E8 J6 \! V) o* m
  1558. session.cache_limiter = nocache
    5 S! z- P4 R% s5 q

  1559. ! Z  }! @7 X* i4 K' ]. E. U" m
  1560. ; Document expires after n minutes.# A$ ~6 }/ w! E- D$ i+ P
  1561. ; http://php.net/session.cache-expire
    ' p  I# L; c  U2 [9 n
  1562. session.cache_expire = 180
    1 ]& r1 `1 p$ Y7 o7 M% J

  1563. * w: f2 d, W/ P' Y6 x: i3 d& {( l
  1564. ; trans sid support is disabled by default.
    . j; p3 Z  v) j; o0 b) [# W7 v
  1565. ; Use of trans sid may risk your users' security.1 _9 t* k) `- ?: [6 t! W
  1566. ; Use this option with caution.) v  O8 Y: C) b) o& C, _7 P0 i9 [
  1567. ; - User may send URL contains active session ID
    / k/ N4 F# o: S3 J
  1568. ;   to other person via. email/irc/etc.
    7 u. P% K5 R9 T- N
  1569. ; - URL that contains active session ID may be stored3 f  y' u* ^) V+ z
  1570. ;   in publicly accessible computer.! a! C! ]. H6 f( j2 b
  1571. ; - User may access your site with the same session ID
    , i0 D3 m8 V1 }$ \: p& g5 B/ L3 s
  1572. ;   always using URL stored in browser's history or bookmarks.# P: h1 c6 {' \
  1573. ; http://php.net/session.use-trans-sid
    9 P; s3 v9 k0 d$ f4 j" t  t& B0 q  _
  1574. session.use_trans_sid = 0: U! z# ~, U' b; t8 ~  U* [1 i

  1575. : ^0 K7 P+ k- J
  1576. ; Select a hash function for use in generating session ids.+ X/ K0 I. U% ]9 l' C
  1577. ; Possible Values
    & @- L5 {+ r: o& L  V
  1578. ;   0  (MD5 128 bits)
    3 l& p2 b" ^* r
  1579. ;   1  (SHA-1 160 bits)
    1 G4 [) y+ r- z# c  O0 y
  1580. ; This option may also be set to the name of any hash function supported by: W* }& v$ B8 z+ C
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()2 U2 ~, K3 ]  I+ O/ W7 m
  1582. ; function.2 _7 h0 M, D% i; s& N3 B, E
  1583. ; http://php.net/session.hash-function" r6 I9 U6 C: p) q  S( [
  1584. session.hash_function = 0( b5 V! [1 n% i+ g, F
  1585. . i1 |4 t7 s$ V" y1 F
  1586. ; Define how many bits are stored in each character when converting# K- @6 n# E8 F6 w
  1587. ; the binary hash data to something readable.
    & ]/ R& P# H8 q2 K$ t/ m* q2 I5 D
  1588. ; Possible values:
    2 i% }6 T9 Y, O; \  Y/ b4 y
  1589. ;   4  (4 bits: 0-9, a-f)
    # ]+ E. B# p- u! `7 Y
  1590. ;   5  (5 bits: 0-9, a-v)
    % p4 O" d# D" G. t8 r2 X
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")3 m0 x- U3 F. T: Y! {& f5 y
  1592. ; Default Value: 42 O: I8 }6 P9 A( q& F- r3 C
  1593. ; Development Value: 5
    3 m: h& N( I2 W  }5 ]0 d: f1 p
  1594. ; Production Value: 5
    * [1 C2 q" s: o" W3 ~9 w
  1595. ; http://php.net/session.hash-bits-per-character0 O; H, O  `$ x1 m  ^! e
  1596. session.hash_bits_per_character = 5
    2 c0 a( W' ?0 K: N& _
  1597. 7 S  ]# a; l/ m2 L; r
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ; o0 W& G+ G( I2 E1 A% W
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    + v' j' ^: h- a4 B3 M( ^
  1600. ; add a hidden <input> field with the info which is otherwise appended
    5 _4 u; t. n+ X6 E. V7 z" y* _
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    6 f3 u  Q$ C$ d& b5 Q# J
  1602. ; Note that all valid entries require a "=", even if no value follows.
    # [+ e5 |& W2 ~+ r2 e  u! k
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="# n' A2 e7 R2 a, N# \! q
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 C" U9 b* s. S2 q( c2 d4 h
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( d& U$ y$ @" `1 ~& V' D( \5 E
  1606. ; http://php.net/url-rewriter.tags
    & |, n& d  d; s, S
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"2 m% q" o9 }. Q: E5 O

  1608. & b2 d# s. g$ v; F
  1609. ; Enable upload progress tracking in $_SESSION3 W1 w7 n0 @: n  R( ?
  1610. ; Default Value: On
    * z" H3 h8 j& N* S  O) l1 @
  1611. ; Development Value: On1 J  W9 T( ]! T2 y
  1612. ; Production Value: On
    1 y$ {+ U2 K5 {; v' T
  1613. ; http://php.net/session.upload-progress.enabled* z( B; P5 V$ P7 s" _* g+ D
  1614. ;session.upload_progress.enabled = On  |1 x" P+ O  ^4 z" Z' V+ P' n" D

  1615. 1 Y4 J/ \/ W2 {$ \2 {. g! D+ z
  1616. ; Cleanup the progress information as soon as all POST data has been read% R: q. i. B/ w$ D  p7 b
  1617. ; (i.e. upload completed).& {% i4 h6 t6 a& o/ b) i
  1618. ; Default Value: On
    / P; z$ w2 J- q6 a1 Q$ F4 D; h
  1619. ; Development Value: On* S# B- s) {3 b
  1620. ; Production Value: On' d5 k! _1 f. b# M6 L9 O$ O
  1621. ; http://php.net/session.upload-progress.cleanup
    : @) }( P/ [" g1 g% P  \! [2 `! H' {
  1622. ;session.upload_progress.cleanup = On
    , r# r4 h, C% V# K/ H; M

  1623. " T  K: O( P8 _: k6 F) p
  1624. ; A prefix used for the upload progress key in $_SESSION
    ' ^5 r% \% r. j
  1625. ; Default Value: "upload_progress_"9 M0 Q( H9 T" h3 h
  1626. ; Development Value: "upload_progress_"
    0 r& a7 V9 c. i! c
  1627. ; Production Value: "upload_progress_"1 D6 }" X0 E6 V; }3 ?
  1628. ; http://php.net/session.upload-progress.prefix
    % _' P* d1 ~& G& e( A& f+ L
  1629. ;session.upload_progress.prefix = "upload_progress_"
    9 s" s! X! ^( r
  1630. 8 n6 a: S4 V$ I
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    2 |- B; t. T1 k1 r4 Y3 D9 Y7 p
  1632. ; containing the upload progress information
    , A* `6 O$ c. q) g2 ~! f2 ?2 c0 y4 B2 q
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"0 [, K( d5 I5 {( f4 Q$ X+ z
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS". J, W+ ^: ^! D5 G. Z$ P4 ?
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"! c% X. D# O9 h' n' M9 y  Z
  1636. ; http://php.net/session.upload-progress.name% l* H9 @( t" m6 T3 q6 d
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"; _# P. X; E' x) Z* P/ K0 s& y

  1638. 3 h7 b9 Y1 l6 l
  1639. ; How frequently the upload progress should be updated.7 D$ {$ E7 @+ A' l- A7 C8 S  o6 V' v
  1640. ; Given either in percentages (per-file), or in bytes: @8 v% u0 K# J3 o) s! l& g' l2 U3 I
  1641. ; Default Value: "1%"3 ~  j0 M! t+ e0 P
  1642. ; Development Value: "1%". }/ u# F# a; Q8 h
  1643. ; Production Value: "1%"; E% ~* _* H3 b7 n2 C- l8 D, m" j
  1644. ; http://php.net/session.upload-progress.freq5 N+ q: g7 n! `- Z+ d5 q5 k  O: T
  1645. ;session.upload_progress.freq =  "1%"4 Y4 H* R+ [9 y8 n* e% S' Z9 h, r

  1646. . C0 Y/ n2 J+ P' {/ i% `6 }
  1647. ; The minimum delay between updates, in seconds. Q3 f5 Y7 a' y$ m+ q. D
  1648. ; Default Value: 1
    " z6 c0 b$ I1 G: p% `5 J
  1649. ; Development Value: 1
    ; W- q" m% B5 M! L: f, g7 m
  1650. ; Production Value: 1( W0 }/ |# V. z6 q. r, \; t
  1651. ; http://php.net/session.upload-progress.min-freq
    & V6 A+ z+ z: k0 O/ i  p
  1652. ;session.upload_progress.min_freq = "1"
    " L+ ]+ H) ?* W- o: h

  1653. ( u# f% d1 M" R
  1654. [MSSQL]
    & B7 o1 N: q) t- L9 B6 v
  1655. ; Allow or prevent persistent links.
    ) d* [% V' x4 e6 N0 r
  1656. mssql.allow_persistent = On
    0 }9 Y8 G  U0 @2 N% I' \% k& M% ~
  1657. : O. q& A( ^& _# R/ \
  1658. ; Maximum number of persistent links.  -1 means no limit.
    3 x3 U$ D1 M" H/ h# d  ~: c" T: n
  1659. mssql.max_persistent = -1- O: s# \; ~" q& M  r2 x1 M! ?% B
  1660. 4 s# v( D/ |- R2 @, z
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.( I# S, w4 |  B# S, b: Q; h+ r
  1662. mssql.max_links = -1
    * b4 F0 D) X% b! ?$ ^

  1663. 8 R9 E- m8 ^4 t
  1664. ; Minimum error severity to display.
    # d. T: e2 K' U
  1665. mssql.min_error_severity = 10! [+ I& H+ C! @# W0 T
  1666. * ^1 M5 B3 O$ C- i& u8 z! ^9 x" g$ O
  1667. ; Minimum message severity to display.* i+ |+ h( M: Y/ O2 n
  1668. mssql.min_message_severity = 10; o- v8 k% b5 m# }
  1669. ! o4 ]# K/ X, [' a8 _3 C3 @+ \# @- Q
  1670. ; Compatibility mode with old versions of PHP 3.0.
    $ r" W0 ~9 ?& K2 S
  1671. mssql.compatibility_mode = Off' a- I) S/ k. m

  1672. " T! r" N- f- ^, Q- g
  1673. ; Connect timeout4 q- Y, {: E& t$ v  q
  1674. ;mssql.connect_timeout = 5
    0 J* d8 z6 ]! C8 x7 L
  1675. 9 t) `6 J0 \" [! I2 p( D6 `
  1676. ; Query timeout
    & [' e- Y+ ^, ^- `
  1677. ;mssql.timeout = 60
    - V5 S1 ?, \: z: T% Z

  1678. . |# W' s' L3 [: N  J; _7 I6 A+ _
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    & Z* Q/ Y; f, i6 S! z
  1680. ;mssql.textlimit = 40964 z4 D0 U, Y8 U; W! @) G

  1681. 8 C4 l2 q8 }4 k8 ~& V
  1682. ; Valid range 0 - 2147483647.  Default = 4096.- d/ d9 u  p/ {
  1683. ;mssql.textsize = 4096
    ) D9 J% A% x( A, ~7 F% S% S8 t
  1684. ) F1 F* r7 ?5 h2 ]& P3 J
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    " f4 O$ w. L% r# p* @" v' z! Q# c2 X
  1686. ;mssql.batchsize = 0
    2 r6 L) P4 o% Y2 K
  1687. - U8 [6 [6 `- \5 K! H: M; H
  1688. ; Specify how datetime and datetim4 columns are returned
    ( Y7 G: T7 C2 M3 ], _  g: K
  1689. ; On => Returns data converted to SQL server settings
    3 C4 ^! O& p: L
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss- z" o, J' I. ^5 Q) B
  1691. ;mssql.datetimeconvert = On
    6 }( j& \- k* [) r- W  p
  1692. # ~9 b' b- H( a
  1693. ; Use NT authentication when connecting to the server8 V" x7 [' s0 _3 ]
  1694. mssql.secure_connection = Off0 X5 G! @/ t/ ^

  1695. 4 F; |) t# L9 W8 w, A8 i
  1696. ; Specify max number of processes. -1 = library default) S, E4 N3 E7 O3 e& x3 S$ B
  1697. ; msdlib defaults to 25
    : O. \+ L* @# v, y" C$ [. z# u
  1698. ; FreeTDS defaults to 4096
    0 ]: m' K0 e. b0 O
  1699. ;mssql.max_procs = -1
      Y% R& o+ |" h( ]2 W  m/ R3 s
  1700. / g! g( v4 [6 x9 K' G
  1701. ; Specify client character set.( B% u9 ~' |) c4 r
  1702. ; If empty or not set the client charset from freetds.conf is used
    : d+ }* p5 R* h) ^. r/ m9 H8 ?
  1703. ; This is only used when compiled with FreeTDS
    0 w& K% i* j' u1 H1 F6 c
  1704. ;mssql.charset = "ISO-8859-1"7 q$ M) w/ c: G+ g" P
  1705. 7 V( K8 s: D/ P/ M( X6 t
  1706. [Assertion]
    7 E. _2 `  X# q2 ?8 x/ j
  1707. ; Assert(expr); active by default.
    . R* N# v  b. t+ E' R8 J8 o
  1708. ; http://php.net/assert.active
    6 u' t  K* I; `+ U3 ^# H
  1709. ;assert.active = On
    ( p3 D8 i4 l0 T! X
  1710. 7 j4 Z- k5 I! V" [1 t4 |
  1711. ; Issue a PHP warning for each failed assertion.6 B; ^; Z# |, f
  1712. ; http://php.net/assert.warning: @9 M, y- Q; E: x7 }& ?- ~7 P6 h+ g
  1713. ;assert.warning = On
    8 T! V+ X, }( [; ]5 ?
  1714. * N* M7 n2 ^) j6 e5 \5 N' U
  1715. ; Don't bail out by default.- o( J' r0 K# g4 Z. W+ h
  1716. ; http://php.net/assert.bail, l6 \! b' B4 {" B$ c9 m9 J5 z
  1717. ;assert.bail = Off5 ]+ P) C0 d7 [: W3 S9 H! m
  1718. 3 c: C# i% q4 ]7 C( k- k9 n
  1719. ; User-function to be called if an assertion fails.: q" H' S3 Q+ ]& O8 X3 k) b
  1720. ; http://php.net/assert.callback
    . J7 m! o8 q7 [
  1721. ;assert.callback = 0
    3 r0 R5 C9 n7 _2 P, E: v/ T1 Z
  1722. 8 U) y9 k7 @; O  i% u7 k# P
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    5 A0 S& L9 w8 X  V1 p, d
  1724. ; error_reporting(0) around the eval().$ r+ T8 _1 ?% r; Y
  1725. ; http://php.net/assert.quiet-eval" W% v, E( `1 K& M: {: Q4 b- e- H
  1726. ;assert.quiet_eval = 0/ V! O; K6 _4 }7 o/ d

  1727. + h# @; O8 t6 Y1 m# h1 M) }
  1728. [COM]
    ( O/ F7 g0 L: e' E1 {
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs% {5 h( ]% _, t4 @
  1730. ; http://php.net/com.typelib-file
    7 R) C' z% K* r2 l7 @8 W3 \
  1731. ;com.typelib_file =
    5 I3 v# D' C) E7 H9 ^  Q

  1732. / b3 m0 e. s* d" i& G3 t
  1733. ; allow Distributed-COM calls
    ! h3 d' x" q' [
  1734. ; http://php.net/com.allow-dcom: D6 F+ H% \4 D3 n
  1735. ;com.allow_dcom = true0 L% b' k  N9 L) o. w$ o

  1736. ) Q1 I. [8 C5 t8 ~( D
  1737. ; autoregister constants of a components typlib on com_load()
    . g4 O8 ?0 |2 o  s
  1738. ; http://php.net/com.autoregister-typelib
    ( I7 b# z  H/ H. {5 A7 v5 J0 i
  1739. ;com.autoregister_typelib = true
    1 y4 L" i4 `( u" }' S
  1740. ! V9 O- V4 m4 y# N% f$ ~# E  O; s
  1741. ; register constants casesensitive- h- u  t$ ^2 L  v
  1742. ; http://php.net/com.autoregister-casesensitive
    ; L2 j! h+ O! ^
  1743. ;com.autoregister_casesensitive = false) i- [0 B( Y* L0 B
  1744. 5 }& o0 L( g1 {% B* D  k6 ~) s
  1745. ; show warnings on duplicate constant registrations6 j! J+ \6 C! g5 k4 Y, u
  1746. ; http://php.net/com.autoregister-verbose! r* u  c: ]$ J6 P% M: m+ p
  1747. ;com.autoregister_verbose = true
    % R3 `5 A3 y' C" ^! g/ G' d9 l* w
  1748. 2 a( Z  L. Y% L2 Q' q9 p$ h/ G
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    2 N6 X# a5 [1 q) y! O! p
  1750. ; Default: system ANSI code page$ [4 q( C6 Z3 @0 c2 n
  1751. ;com.code_page=, ~; a3 m9 ]# D& J' o

  1752. ' H9 T- S2 ^# v! w6 I6 M
  1753. [mbstring]
    * ^* g5 A% _! ?  K4 j' I2 z8 v
  1754. ; language for internal character representation.
    " _5 ?1 A" l/ [$ v. D
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    % Q/ \4 ~0 S: L% x  {' ~" h
  1756. ; http://php.net/mbstring.language
    7 s) G9 \8 {' C% V
  1757. ;mbstring.language = Japanese5 F+ A  ~& q9 y# _2 M: n6 G( @
  1758.   z7 a$ Z% f  o+ O0 r
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    0 Q' v3 B' H5 I; [2 O
  1760. ; internal/script encoding.
    2 y7 k# g5 T1 I3 i
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ( A" d! d3 p/ w. {0 S3 R
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.% s* V# C- q* K- {
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 g: p. R/ s* H8 {, t" x
  1764. ;mbstring.internal_encoding =
    - Y# {5 Q$ e; U& g5 S

  1765. * V1 M2 S" D  ]% a3 [6 N4 F
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # G& ^' d5 l5 F% C. M
  1767. ; http input encoding.
    + n* s* o1 R2 v# J
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    4 n2 x+ N4 W8 u  D
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ' J# m, a0 M& F, n8 e) \* V
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    $ w4 p- B* V: M8 Z5 _) O+ ?6 P
  1771. ; http://php.net/mbstring.http-input
    - h8 K, w+ l; B4 P6 r' u
  1772. ;mbstring.http_input =1 z; Q, H* u& [" J% Y0 Q8 \8 G
  1773. 4 F7 r$ q0 b6 W% i% G& v0 \
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    & ^( M6 P- r2 B' Q' w
  1775. ; http output encoding.
    * C/ Y7 P4 l5 W7 ~2 }
  1776. ; mb_output_handler must be registered as output buffer to function.
    0 C: Z' Q5 d5 f6 `( J3 Q
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    " \3 C- V) C( t) M, `! b" a# P
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output7 O! q5 m# E1 l0 K
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    % W6 B6 _. n& i) i# Q
  1780. ; otherwise output encoding conversion cannot be performed.
    ( J9 u/ }& o+ C
  1781. ; http://php.net/mbstring.http-output
    4 R: }$ N/ d( f- U2 C
  1782. ;mbstring.http_output =6 o1 n8 Q6 ~, T& W
  1783. 7 P0 j1 Z3 ^8 b; N; r8 Z: b
  1784. ; enable automatic encoding translation according to
    " V' b  z, {$ j6 ~- q. [+ w! N
  1785. ; mbstring.internal_encoding setting. Input chars are9 c, J6 i8 b2 V- x8 }+ T
  1786. ; converted to internal encoding by setting this to On.5 y& m# ]  I6 W" N
  1787. ; Note: Do _not_ use automatic encoding translation for
    / K1 r- k5 j! z* O, P1 }
  1788. ;       portable libs/applications.
    ) r: V( W6 M" w7 |" p% v
  1789. ; http://php.net/mbstring.encoding-translation
    ; E0 r/ _2 y7 @: Y0 k
  1790. ;mbstring.encoding_translation = Off
    3 f9 Z) \0 p, t
  1791. / ]- J* X3 }0 O9 l  s/ }" V& d5 X! t5 J
  1792. ; automatic encoding detection order.8 o) [! g) s1 l' O/ \" {9 Y
  1793. ; "auto" detect order is changed according to mbstring.language
    8 I# N* I1 y% {4 O% c
  1794. ; http://php.net/mbstring.detect-order- n0 H+ T5 I* v( V- A- \/ C
  1795. ;mbstring.detect_order = auto
    ( F5 `; l2 v( ]  A' ^+ V% a4 p7 @: l* h

  1796. - S) r" M. R$ H% @9 j0 K% ]
  1797. ; substitute_character used when character cannot be converted
    ; D2 Q1 z* h7 I4 p
  1798. ; one from another9 V( K9 [8 }5 j5 M6 n' @
  1799. ; http://php.net/mbstring.substitute-character1 M! {: w2 R2 e  `
  1800. ;mbstring.substitute_character = none
    . H) I7 B, t  y4 y( [1 x- H
  1801. 7 f) I" ~& o  i2 h; n6 }3 w) w
  1802. ; overload(replace) single byte functions by mbstring functions.
    # ?" F/ R- g  {0 j3 u+ p. `8 N0 b
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),+ u% j6 s$ `6 J7 I- i& y
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    # T! U! I7 L/ Q0 d2 ]0 C
  1805. ; For example, 7 for overload everything." J% H$ z- k. y9 A
  1806. ; 0: No overload
    9 i9 p, a3 F& ^$ Q/ }
  1807. ; 1: Overload mail() function0 f5 t0 W7 B: y& G1 f
  1808. ; 2: Overload str*() functions
    7 f9 \0 G5 Q1 d% R2 s
  1809. ; 4: Overload ereg*() functions
    4 D1 R/ r2 e$ p% m! p' H# h
  1810. ; http://php.net/mbstring.func-overload9 h. z, }0 H5 G+ \  e1 s+ w- F
  1811. ;mbstring.func_overload = 0- w* @; K+ |2 J2 t& D8 u/ k6 l

  1812. ' o# Z0 Y* m  x- \
  1813. ; enable strict encoding detection.
    5 o- R6 _% z' m
  1814. ; Default: Off
    # Z" I) w* \$ ]1 k9 x  m
  1815. ;mbstring.strict_detection = On
    " q* B8 t0 A% s& G

  1816. / N6 E, ]- q( `$ t$ O
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    4 u( N! l8 H0 v- a( c! V
  1818. ; is activated.9 c7 `  F% B, o' w
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    - r- ], `3 P; ?' L' J
  1820. ;mbstring.http_output_conv_mimetype=
    4 _+ |  k/ q7 i8 U

  1821. * ~. Y& @* A  y
  1822. [gd]; _; J- g+ Q4 x$ a; E
  1823. ; Tell the jpeg decode to ignore warnings and try to create; B" l* x. C2 L& P
  1824. ; a gd image. The warning will then be displayed as notices: h4 P3 B5 e* z3 s0 U
  1825. ; disabled by default
    - [6 k: j: ~0 B; z4 p0 {1 i
  1826. ; http://php.net/gd.jpeg-ignore-warning
    + D/ N4 V! {6 y  J7 V0 |* ^
  1827. ;gd.jpeg_ignore_warning = 0
    & p' j( Q+ d& v! j

  1828.   x" p; v3 S% p& g. b
  1829. [exif]+ z- |  g1 i7 L' R1 u( b$ D$ C
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.9 U1 F' e% X: ?0 ?& r/ M& x% Q
  1831. ; With mbstring support this will automatically be converted into the encoding
    % O* {/ I- B2 m: p5 b% f* K* a
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    % X2 p! ~" e+ ]% ?0 z5 k
  1833. ; is used. For the decode settings you can distinguish between motorola and2 L4 G( E) N/ {. D9 t$ [$ {" b
  1834. ; intel byte order. A decode setting cannot be empty.
    4 ?. @4 p! E9 n- Q
  1835. ; http://php.net/exif.encode-unicode
    2 W& K/ l# Z! w& h6 A. y# \
  1836. ;exif.encode_unicode = ISO-8859-15
    # m6 v* e& `: x7 f, J1 V$ B5 o
  1837. ; Q9 h3 @0 @0 d8 ^6 c
  1838. ; http://php.net/exif.decode-unicode-motorola7 {9 B; L6 W  t, ~- n( P0 e# z5 o' X
  1839. ;exif.decode_unicode_motorola = UCS-2BE. k% e4 U: l3 h2 h6 S
  1840. 8 @! b/ Y  ?5 T/ c" v* ?, H
  1841. ; http://php.net/exif.decode-unicode-intel" o! N$ R! a, p0 e
  1842. ;exif.decode_unicode_intel    = UCS-2LE* n* J; A  L+ ~% |" L+ H9 \

  1843. 5 l4 Q$ s2 ^- ~3 m; [" [( x7 V" s
  1844. ; http://php.net/exif.encode-jis
    ! v- P9 H3 A+ _
  1845. ;exif.encode_jis =: F/ v  l, w) R! ?0 l3 T2 h

  1846. ' `! X* l5 g, d: b0 o  C) s$ b
  1847. ; http://php.net/exif.decode-jis-motorola
    7 U8 O: `, K' y
  1848. ;exif.decode_jis_motorola = JIS
    & [- ?/ n' m% I* x) q7 N. M
  1849. * b( O6 b  T; c  {$ y# ]
  1850. ; http://php.net/exif.decode-jis-intel
    ! P, s7 I- w2 |5 D, D/ j9 g
  1851. ;exif.decode_jis_intel    = JIS
    0 v- ^$ Y% {: z7 r' e1 `: V
  1852. % u/ q+ x, F; p% z% F5 e1 s
  1853. [Tidy], q8 K" q& {, j% |% G4 Z
  1854. ; The path to a default tidy configuration file to use when using tidy
    " A, c3 d( g; c! |, ^
  1855. ; http://php.net/tidy.default-config
    % |3 }; Z3 L! f! G+ ~, Q' W
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    $ `& o, H. v1 n' K% K7 i
  1857. % G/ \' p' ?2 R/ P
  1858. ; Should tidy clean and repair output automatically?& Z8 V$ X% l+ Q; o: i7 ]/ s3 M6 ?4 Z
  1859. ; WARNING: Do not use this option if you are generating non-html content9 {3 j/ I* _% c! O: K+ r
  1860. ; such as dynamic images# F5 Q, N9 s1 y: D3 C  k+ N  L
  1861. ; http://php.net/tidy.clean-output
    ! R: ^9 U! b8 h" m
  1862. tidy.clean_output = Off2 q2 R! r" O% w  r! [5 \% i

  1863. - V/ C3 \. y& o; a- x3 V
  1864. [soap]5 j3 Z0 m: P! X) \8 m* ^) ~
  1865. ; Enables or disables WSDL caching feature.$ z) B2 `+ \# H# B
  1866. ; http://php.net/soap.wsdl-cache-enabled$ S' J' D2 ?! l( R( |- X  T: x  p
  1867. soap.wsdl_cache_enabled=1
    ' k" h$ l) Y) I. n/ \6 |2 i* H

  1868. # ]: }5 L' c" m# t0 _
  1869. ; Sets the directory name where SOAP extension will put cache files.$ I( t$ v( P8 q2 B0 H& k* l: \; `
  1870. ; http://php.net/soap.wsdl-cache-dir
    8 A, D: l5 \& K, S4 C
  1871. soap.wsdl_cache_dir="/tmp"& C9 d0 T. \* ?0 K$ b" k% m
  1872. 1 [( d! V7 L: y% R' m/ @
  1873. ; (time to live) Sets the number of second while cached file will be used8 `2 W7 j' ~6 `
  1874. ; instead of original one./ u$ k* O3 D; q$ W7 W6 p7 |
  1875. ; http://php.net/soap.wsdl-cache-ttl1 G8 Q9 B! q6 ?/ G" H' V6 I" |! M' d
  1876. soap.wsdl_cache_ttl=864003 P5 k* Q9 h* l- \

  1877. & h; Z8 ]! h* g. m4 Z
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    5 L. C$ G! `1 Y! @' x! M
  1879. soap.wsdl_cache_limit = 5
    6 w: |: t, a. }6 l

  1880. ) _- o3 P$ \! p. q) F$ U
  1881. [sysvshm]: R  r1 T5 U" S  u3 c, b
  1882. ; A default size of the shared memory segment
    / H7 j& O) W' i: v+ R
  1883. ;sysvshm.init_mem = 10000+ N, Q& Q1 q: @& q! s3 h. X6 _
  1884. : \$ Y+ I$ h& o
  1885. [ldap]
    ; @, m! A+ K% A' O2 Z# p
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    " }$ F& K4 [$ ^' z
  1887. ldap.max_links = -1+ t1 C. H3 ]. J& L: W
  1888. & `# r6 g3 n6 p2 A
  1889. [mcrypt]
    4 L( G5 b/ }: {# \6 i- F! u, C
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    6 i. O% C$ N% @$ G6 |( R/ ?

  1891. , c" c7 ]9 `3 M2 c
  1892. ; Directory where to load mcrypt algorithms+ Y. F* n5 d, T8 n7 m: ~7 o
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    : Y% j% Q$ f3 Y0 s; A9 a
  1894. ;mcrypt.algorithms_dir=
    7 j. K7 z! j1 i  {' t
  1895. * [/ _1 R+ V1 x5 M! T# ~" O3 N- K
  1896. ; Directory where to load mcrypt modes# ]) V; q: a9 X  D; T5 n
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    * t7 R$ n4 Z! q! A
  1898. ;mcrypt.modes_dir=" i; C9 @! s( q  h; g

  1899. 1 @; F3 L$ x3 e0 v) q
  1900. [dba]
    8 Y( |( N6 K6 h% @) n
  1901. ;dba.default_handler=% n  G9 |* V+ d/ E! {' Z

  1902. % {4 i# [1 g8 c$ {) p1 y
  1903. [opcache]5 j0 y" B) U. k2 F/ k) A2 Q2 @
  1904. ; Determines if Zend OPCache is enabled' m$ v! T0 _7 _3 Z# W  u
  1905. ;opcache.enable=0" A5 d8 D3 i+ @  b1 h

  1906. 6 R; ~; V; v- w
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    2 z3 U- {& T# u, {! K
  1908. ;opcache.enable_cli=0
    , u' v2 l4 j( ^. y3 [0 t
  1909. $ H1 P) G) }- N7 r8 u- s5 z/ {% `
  1910. ; The OPcache shared memory storage size.
    . ^4 r2 u* C- e! }  Z! G* P
  1911. ;opcache.memory_consumption=64: V2 ~. L+ H9 ~6 g  h
  1912. ( q; I+ G! A; a. q
  1913. ; The amount of memory for interned strings in Mbytes.
    : F& j0 g  i. m; l5 t& p' C
  1914. ;opcache.interned_strings_buffer=4
    " l+ J2 ?$ a- ^' P3 d
  1915. % o$ q9 y( A( W- {# x3 l1 \
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.; x- a$ }, i2 _) z
  1917. ; Only numbers between 200 and 100000 are allowed.6 \" b5 z0 U& Z4 A5 ^/ U
  1918. ;opcache.max_accelerated_files=2000
    * M3 r' ?! g0 \; ~; O

  1919. ! Q3 K9 v/ p% g+ v
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.% o5 u5 i% k$ n; w) V/ E+ h( R
  1921. ;opcache.max_wasted_percentage=5) F" n" O; M' _+ |  ~
  1922. - b+ V2 R. X4 _& V
  1923. ; When this directive is enabled, the OPcache appends the current working0 f  C9 L, `, V, e! A, a9 i% z
  1924. ; directory to the script key, thus eliminating possible collisions between
    2 m5 }6 R! V& \3 |. i3 {. {
  1925. ; files with the same name (basename). Disabling the directive improves
    : M/ B( [: c& H, e7 p# A* n6 O
  1926. ; performance, but may break existing applications.6 x7 ^) T/ w' l/ A) V
  1927. ;opcache.use_cwd=1. F! b" F4 F+ K0 M- q$ c; A

  1928. 7 p6 z) h  f+ Z
  1929. ; When disabled, you must reset the OPcache manually or restart the) V' x5 w7 ?1 I8 G+ S' M
  1930. ; webserver for changes to the filesystem to take effect.
    8 ]& {2 n, s% G2 d
  1931. ;opcache.validate_timestamps=1
    8 R, f  m  K9 h, F' t( U" G

  1932. - m% O) P9 C" w( O6 X. [5 g" y
  1933. ; How often (in seconds) to check file timestamps for changes to the shared9 z9 E+ E, V: E9 x* X  l
  1934. ; memory storage allocation. ("1" means validate once per second, but only1 t( }8 W, k7 p" U8 V  C" e: S
  1935. ; once per request. "0" means always validate), R# y7 C! ]7 z) H
  1936. ;opcache.revalidate_freq=2
    ! G/ J  t6 [; ]) d" k
  1937. 9 k7 f5 g* q' p0 x7 k0 B+ u8 q3 L; n' @/ x
  1938. ; Enables or disables file search in include_path optimization
    5 {: ]8 x' {% c1 L
  1939. ;opcache.revalidate_path=0+ b) X$ i. [) t9 q: H. ?  Z. P6 r

  1940. 7 E$ L8 J# K( r+ }' B
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ' Z( m: R4 p6 z; |$ M1 J
  1942. ; size of the optimized code.+ R) {/ V8 Z# Q5 F
  1943. ;opcache.save_comments=19 j1 A4 E* R, I

  1944. % [: f' I# M8 }/ `8 ?
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"- S7 c1 p% E) m+ |2 \$ S  K
  1946. ; may be always stored (save_comments=1), but not loaded by applications/ O- A6 u, p! h4 t3 n
  1947. ; that don't need them anyway.
    % u( i0 Y$ H- c* K% l
  1948. ;opcache.load_comments=13 ]5 Q& L  L( z0 q
  1949. 0 R0 x$ i4 `1 L& K: N( g8 D; O
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code% }* _6 @0 p, x$ x7 c6 J4 T
  1951. ;opcache.fast_shutdown=02 D3 G4 z  ]+ Z0 n
  1952. ! o. z/ y" O3 g$ }2 w% P
  1953. ; Allow file existence override (file_exists, etc.) performance feature.5 R  M  U) {# e6 {
  1954. ;opcache.enable_file_override=0$ J: s5 v" D. `/ a# u% W

  1955. & h& ~8 J9 t" w
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    0 Z2 W; f0 f0 U7 K2 d
  1957. ; passes' E. A+ ~, p. u% E
  1958. ;opcache.optimization_level=0xffffffff! r# K5 V. d- X: \& q+ e) l0 P

  1959. ' [" T6 B1 G1 B% x1 a
  1960. ;opcache.inherited_hack=1
    4 h  K: Z" L/ D3 j" I
  1961. ;opcache.dups_fix=00 u4 Z" C# j# p  j
  1962. + [; E; n* X$ N& J9 e0 ~
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    + D7 n+ Z# G" w! ^% p! e/ `2 z1 {% p
  1964. ; Each OPcache blacklist file is a text file that holds the names of files: R8 p- _$ i( a5 o( K' w
  1965. ; that should not be accelerated. The file format is to add each filename
    5 k% N5 ~" ?3 A- e& C
  1966. ; to a new line. The filename may be a full path or just a file prefix
    1 C, p3 E3 |! _: a2 Q
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www/ r9 s9 r( r6 k
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).& |  w$ k- p$ D- O& U0 }9 Z& p
  1969. ;opcache.blacklist_filename=0 Z1 A& \5 D* R( c8 e
  1970. & k9 n3 n) ^9 T0 v
  1971. ; Allows exclusion of large files from being cached. By default all files2 w6 Y( F/ r+ p( {7 R  e
  1972. ; are cached.
    - c( t6 c/ o$ N& I5 ]8 T' m
  1973. ;opcache.max_file_size=0
    + j9 p* J1 L+ q: p

  1974. ! m' o, Q6 l$ F: o
  1975. ; Check the cache checksum each N requests.
    ! o( [. d. O$ C8 ~, \4 s( `
  1976. ; The default value of "0" means that the checks are disabled.1 i7 e1 s  a; a: k9 s
  1977. ;opcache.consistency_checks=0
    ( f4 R- e" s; e  i) A7 [) a% I3 v

  1978. 5 B! a" |) a' k$ a9 m
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache; A0 ~8 k/ X/ u1 Q3 v
  1980. ; is not being accessed.4 Y: A2 n( ~7 t- t" y
  1981. ;opcache.force_restart_timeout=1804 z4 g- `3 M( q
  1982. + B2 X/ q% D& L# j9 p
  1983. ; OPcache error_log file name. Empty string assumes "stderr".5 W2 B; K( @3 O" a
  1984. ;opcache.error_log=
    ! q/ A2 ^' G- A8 P6 ^

  1985. 1 @/ N8 q3 Z; W- I
  1986. ; All OPcache errors go to the Web server log." i. d$ o4 B: e6 r! U' `
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.% ?' ?0 f2 V" p  p) K" f- P3 Z* `  t
  1988. ; You can also enable warnings (level 2), info messages (level 3) or  I4 U3 l, A  o" Q0 y0 f* y
  1989. ; debug messages (level 4).
    , a5 l% e) U0 `% j
  1990. ;opcache.log_verbosity_level=1/ k! H; f4 G5 q# P

  1991. ) |7 i9 H# ^' I
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    % W- q/ N1 X- n3 T& Z
  1993. ;opcache.preferred_memory_model=( U( P, T, z+ x& ~7 ~
  1994. 7 I4 B4 x) n3 O8 l$ C# v0 x6 a
  1995. ; Protect the shared memory from unexpected writing during script execution.
    % x+ c  p" c# P
  1996. ; Useful for internal debugging only., A( ~$ [% A/ ]
  1997. ;opcache.protect_memory=0
    * Q  Q8 S8 K- R! D4 N$ M5 {
  1998. , t, h7 _' d0 G! ~3 ?* ^
  1999. ; Validate cached file permissions.
    , _2 t  P0 R3 W. r+ }. N3 k# x. Z- p
  2000. ; opcache.validate_permission=0
    : F" R" q7 q- R! N  }4 D4 Y

  2001. : e! f4 p0 N' v5 s
  2002. ; Prevent name collisions in chroot'ed environment.. s/ z6 I( [8 L/ l' X' ~/ H
  2003. ; opcache.validate_root=0! ^1 i' q5 z$ N8 i

  2004. & B0 b" \: U* m$ J+ W
  2005. [curl]; |  n5 r0 a# q! ~# W2 j/ L# r# D
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an; Q. E& Q( x( O5 ?) m. B
  2007. ; absolute path.) S6 e/ Q% b" H/ F
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt1 s0 ]8 ~; O0 w: `1 F9 U- D8 F

  2009. / S5 f" t6 m* f7 }
  2010. [openssl]
    8 E. J4 u% }" d0 E$ k7 W
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem5 C+ ]% [2 X* `, n5 r% X$ T
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ( _' {9 _4 p9 @- m1 |
  2013. ; not specify a value for this directive as PHP will attempt to use the
    0 y: w0 k' j% L
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    & |0 {5 S7 J! [" E9 d4 ?
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context1 \: C% r8 i- B0 k+ Z) f
  2016. ; option.
    - }4 [" q. n$ N
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt% k: U' J! T5 v
  2018. 9 W! B& B* H' Q; V
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the$ T; t$ C4 _1 Y4 b" O, W
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    7 f; U) e$ ]# x# j; c% a8 B8 H2 b7 E
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    # t1 @/ z) |- x$ f8 e4 Q
  2022. ; Most users should not specify a value for this directive as PHP will
    # _2 h8 B) m# a( `4 A# ]: _3 l
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    % o; A9 @3 W0 _3 D. [1 n
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    ! `& m/ u& _  `5 D
  2025. ; SSL stream context option.
    1 a# Q& i- @* P9 f. V
  2026. ;openssl.capath=
    5 j$ a, K3 L, K2 v# @

  2027. 4 s9 E2 T1 ^# C( ^3 P, J/ C
  2028. ; Local Variables:
    . A# l1 j  W  b: Z* o# m8 T- w; e
  2029. ; tab-width: 43 ~' ~9 y( v+ e9 [7 R1 {2 @
  2030. ; End:6 @+ W! X+ u2 p6 a1 ~3 r, k# i9 ]
  2031. : A3 c3 Q) G; N$ ^* z, e
  2032. ;eaccelerator! w  R+ ?5 u" Y1 u0 |

  2033. " E  o+ l) x7 w7 _' ~: b
  2034. ;ionCube/ P6 v2 x/ e' F9 v/ t1 ~, F  m

  2035. + S+ g" ~+ `$ i; B
  2036. ;opcache) g+ Z0 s' J! c3 c* t

  2037. 4 p7 E% ], I" h
  2038. [Zend ZendGuard Loader]7 m$ X) F+ D. U- J
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so; P  q6 t5 S, ^
  2040. zend_loader.enable=1$ I. e* T: ^. M
  2041. zend_loader.disable_licensing=0" m0 C, p' ~$ d* F1 v$ U7 Y
  2042. zend_loader.obfuscation_level_support=3
    + ]' F2 k5 x/ Y+ A3 U, o
  2043. zend_loader.license_path=
    , ]! @  k# l- E7 W
  2044. + f4 n- J! Q& X- n
  2045. ;xcache" O( ]! K+ w( D1 k8 \
  2046. " X+ i% m& y! e- L, }
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
) i8 {. Q4 v$ F7 x5 G
9 _" m" o; [4 J
' X4 {( ^7 U' M; H9 D  ODiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来," q' r9 w! N; |; I4 L5 A

1 q. }) X' Z  G+ R3 R3 dDiscuz!程序版本选择:* C$ k4 d+ n! M% i
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
* n& X' F2 K% E+ z. D; w不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
. ^6 `3 w3 x+ j: r* q# `( QDiscuz!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。
! Y* C1 I# O% C, \! {% M0 k9 H3 e4 ]7 q. {
Discuz!插件模板版本选择:
- z" E2 ]$ p% Y. V' G! c2 ^很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,6 b6 \' S" w3 n6 v+ Y7 _% c: l. \4 J
针对这个问题做个统一的普及:7 G  r2 M1 m. A6 _9 l1 F
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。' q: U1 l* h6 f) m) O( ?

! x! D& ]9 c7 _2 s2 d2 X所以) a, ?5 l) q# v9 ]: y
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。5 u+ s7 Q: X" N. t" ?
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
3 K+ D8 G4 k3 z" ]5 E. w$ D4 X注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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