分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0) I* Y* a: x' x& B
; H8 J" e! K4 t! ^: q0 g
  1. [PHP]
    6 i8 T3 A' W+ O- {6 }, w7 u

  2. & K  u" r5 O2 {! W! i6 a
  3. ;;;;;;;;;;;;;;;;;;;  l% [6 g8 g/ @, W
  4. ; About php.ini   ;8 y. M; L6 i: d8 K4 v1 f9 D
  5. ;;;;;;;;;;;;;;;;;;;
    # n6 f3 j: _; s" |
  6. ; PHP's initialization file, generally called php.ini, is responsible for7 \# j0 h. o8 F% ~4 P5 b& ?3 q0 R
  7. ; configuring many of the aspects of PHP's behavior.
    : d8 z& J2 S! W0 Q6 {* w3 o% p

  8. ( u" i6 z2 }. z1 E
  9. ; PHP attempts to find and load this configuration from a number of locations.
    # ~& q7 U; [  p3 H$ y& y
  10. ; The following is a summary of its search order:. J7 l6 C2 z, O
  11. ; 1. SAPI module specific location.
    . r1 F8 y; r: k  e( T
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)" u5 Y; N/ V3 a& L& ?4 V% g
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ) Q# z- n  n) T; p# U
  14. ; 4. Current working directory (except CLI)
    : k9 ~3 m8 \4 b  t
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    9 ~1 M8 E/ V, M; O: e
  16. ; (otherwise in Windows)
    2 ?5 O& {) f/ _5 v6 B7 G
  17. ; 6. The directory from the --with-config-file-path compile time option, or the0 X: p  r: U. ~& X2 N
  18. ; Windows directory (C:\windows or C:\winnt)# B" Z; W# [0 G) v, u2 i
  19. ; See the PHP docs for more specific information.8 A- t* X4 v% R5 o, m( T
  20. ; http://php.net/configuration.file  N. Y7 e$ \2 ^. E, O; s$ z* B( q

  21. : {+ {7 B  i% e8 \
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    - c) o# R' u. e  T; T2 U! Y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).  N5 n( j' E2 x+ q% a
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though/ l  s) Z( b0 B$ J5 c0 X" \
  25. ; they might mean something in the future.$ i% m2 q  A# _4 Y* h+ f) V

  26. " R8 ?6 B( q% U7 f9 f, i
  27. ; Directives following the section heading [PATH=/www/mysite] only- p5 `" X! E" H) Y3 v' H  h
  28. ; apply to PHP files in the /www/mysite directory.  Directives% @' w0 i) [; n: o! U
  29. ; following the section heading [HOST=www.example.com] only apply to
    : J! E/ S7 L% E8 R! l. |) }
  30. ; PHP files served from www.example.com.  Directives set in these
    & M. |& x+ ~: ^% e5 |, n
  31. ; special sections cannot be overridden by user-defined INI files or+ Z; Z; _/ s% h* x' r+ b
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under2 L* T" K% e# @0 y5 z) y
  33. ; CGI/FastCGI.
    - e2 O2 x+ L4 ]& R
  34. ; http://php.net/ini.sections5 Z9 e' ?0 x6 |1 s% b0 g% H
  35. 0 }, W5 y0 X+ U* @& G3 c
  36. ; Directives are specified using the following syntax:
    5 l1 J  Y: R$ x' _' h1 q7 Z
  37. ; directive = value  C: j0 h  I# B4 v) `) l
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    4 ?9 G; x8 e1 J2 l9 t
  39. ; Directives are variables used to configure PHP or PHP extensions.. s4 H- V  s3 {/ b- }5 e
  40. ; There is no name validation.  If PHP can't find an expected
    # V% }& _0 r+ z
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ( v- W" l# d9 f  [+ S+ Y+ m  O

  42. ) ~, Z0 C% U3 p
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one: i6 d! g& `) l2 j# V* B2 h
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    , M" U3 O7 `8 n9 A3 _2 v; t  e
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a# \; P: N- }$ b& Z# K, ?9 W: T1 Z
  46. ; previously set variable or directive (e.g. ${foo})
    - l" m/ h% g( d. S2 S+ y) s

  47. ; [" ?' h  s! b. h. T& ^
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:; ]0 R6 D8 e) [! h1 s5 f$ q, X
  49. ; |  bitwise OR
    ! h! F4 ^0 l0 S0 A; k% _' {
  50. ; ^  bitwise XOR
    3 F5 H7 O; y# B3 v( ~& `
  51. ; &  bitwise AND
    / t! r+ X6 U% `+ K) S9 ]
  52. ; ~  bitwise NOT
    ! u# f) ]; ^* }' @. T# v$ ]5 {0 ?/ I
  53. ; !  boolean NOT% u0 V' w0 s9 c+ k; r/ p
  54. ; V2 v( p( i7 U
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.7 N/ Y0 S) |+ w4 }# Q' W
  56. ; They can be turned off using the values 0, Off, False or No.6 H0 P; k/ z, r, e; v* x" Z

  57. 4 B- x. k7 f0 ~+ n4 G! r
  58. ; An empty string can be denoted by simply not writing anything after the equal0 a- u, f+ Y. a! O, s
  59. ; sign, or by using the None keyword:
    ' I4 B& J* f! ?3 r3 `& L
  60. 8 u" \/ ~1 g4 C* r3 W0 u+ i
  61. ;  foo =         ; sets foo to an empty string/ p, A2 d5 U! g& E+ k& L' @
  62. ;  foo = None    ; sets foo to an empty string* V' |, t/ Y$ H1 ?# w9 e( D$ @) n. Q
  63. ;  foo = "None"  ; sets foo to the string 'None') s$ F( T" h: [" M
  64. % z* s. B; Q6 [: t
  65. ; If you use constants in your value, and these constants belong to a1 N! {7 A) c- m. b7 N
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),. {: H' Y. t9 R: J
  67. ; you may only use these constants *after* the line that loads the extension.
    8 |% X' n0 [' P) g

  68. 4 h5 H2 \! L* T9 S( X& F/ ]
  69. ;;;;;;;;;;;;;;;;;;;( C1 k# }" B, Z9 b* t
  70. ; About this file ;
    2 S' u+ }$ r2 p" p, [
  71. ;;;;;;;;;;;;;;;;;;;+ U  T# B3 t0 \
  72. ; PHP comes packaged with two INI files. One that is recommended to be used: }. y. I; }) p) y" u* }1 U  o# J
  73. ; in production environments and one that is recommended to be used in
    ! }+ {$ u8 D* G9 }, Q0 r4 P! Z
  74. ; development environments.: A8 E# F6 M6 Q" R

  75. # G1 t* u3 P2 c- {1 a7 f
  76. ; php.ini-production contains settings which hold security, performance and- u& l: a# v3 }/ u9 t
  77. ; best practices at its core. But please be aware, these settings may break
    0 E& \  T* [  `
  78. ; compatibility with older or less security conscience applications. We
    1 }# y2 Z$ L- u( G9 _. A
  79. ; recommending using the production ini in production and testing environments.
    % L! G' o& C( y9 {. u. }- g

  80. + t1 U) L/ O" k8 y
  81. ; php.ini-development is very similar to its production variant, except it is7 c$ p( B/ S5 h6 X4 M
  82. ; much more verbose when it comes to errors. We recommend using the1 b( y4 V' p& h' }
  83. ; development version only in development environments, as errors shown to" s1 H/ x6 y9 B# ?$ L
  84. ; application users can inadvertently leak otherwise secure information.% T; ~) Q! B  [* `2 J& Q6 `+ [6 ]
  85. ' Z2 U6 S9 y' ~9 f1 R! O, s
  86. ; This is php.ini-production INI file.
    ( H9 h8 S7 O  O( E7 {
  87. ) f8 }- x' E2 @( R6 t' \  q  l6 C
  88. ;;;;;;;;;;;;;;;;;;;
    ! p2 R5 ~$ v. u2 S
  89. ; Quick Reference ;: P9 B/ i  a, Q
  90. ;;;;;;;;;;;;;;;;;;;9 N+ r4 w, F$ A2 h2 G5 f# ?- p9 Y$ Z0 P
  91. ; The following are all the settings which are different in either the production
    , Q9 Y6 K/ I" p: {; v6 Y
  92. ; or development versions of the INIs with respect to PHP's default behavior.
      d3 ~/ ~/ Y- c  Y1 o# A
  93. ; Please see the actual settings later in the document for more details as to why
    3 @( ]+ D  j+ U5 @4 @
  94. ; we recommend these changes in PHP's behavior.' I0 X" e6 D0 r+ M/ U8 z
  95. . l: a! A/ p; `0 m  Z3 F
  96. ; display_errors
    8 y( \/ ~, G1 h9 P
  97. ;   Default Value: On% T5 K/ B1 R# a+ y
  98. ;   Development Value: On
    ) ?5 H8 v' I8 W7 R2 s; E
  99. ;   Production Value: Off
    & {9 V  `% Y7 y) f! H
  100.   I" G  W, Z: i3 o  ]7 R
  101. ; display_startup_errors
    # H( b0 }2 b  q. S5 ~% j( H
  102. ;   Default Value: Off, @9 t" Y, J( n( D" |
  103. ;   Development Value: On( h( v: W; {6 `9 {; a
  104. ;   Production Value: Off
    2 @  I, p5 l' q* V  l- R

  105. + h+ m- Z' _/ r3 r0 ]4 g
  106. ; error_reporting
    $ `& U8 o  N# n: y
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 q; x& j+ }6 O! z4 C
  108. ;   Development Value: E_ALL0 Q5 f- M, u) Q$ P/ i" [# N! @
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT" ~, n) y9 G  v! W

  110. / M1 v0 I8 {1 i# T# x. |
  111. ; html_errors
    $ _' V& K3 F  \! P5 u; Z5 u+ ]
  112. ;   Default Value: On! S  D' W! d: D' w( R/ }4 U  g
  113. ;   Development Value: On
    . M" G7 `/ ?' p) h$ I& K# E! J
  114. ;   Production value: On
    7 P0 h" E$ P. V* j
  115. $ c; S- |) o0 Q- H3 w
  116. ; log_errors. N8 S3 t7 a  t8 G5 F5 ~
  117. ;   Default Value: Off: l/ Q: r( @8 X. {# \
  118. ;   Development Value: On* m9 |* A& [+ |. o1 j. `& v
  119. ;   Production Value: On
    : o9 j9 h6 {1 t: d
  120. 0 n) |  S; q, ?
  121. ; max_input_time
    3 b5 V  p0 ^. C' m0 E# i
  122. ;   Default Value: -1 (Unlimited)2 X0 i# w! _( s2 R0 S
  123. ;   Development Value: 60 (60 seconds)* O4 F' {3 m4 f
  124. ;   Production Value: 60 (60 seconds)
    # A, P* u+ M) K7 L& _

  125. 4 w' J6 J  U1 ^, I
  126. ; output_buffering4 k# J# M, c- F  m
  127. ;   Default Value: Off* e$ I& l$ j, }3 {' r+ f4 q$ \
  128. ;   Development Value: 40966 e! O% R0 E0 k2 D1 }3 z, B' c
  129. ;   Production Value: 4096
    ! Y+ h- w3 J; g% m8 e8 g9 H

  130. . f' ]) h, S* v) U, x6 Q
  131. ; register_argc_argv" A" S* N, [; z* _$ [$ M" i
  132. ;   Default Value: On: W9 s! X) G* i. a# u! t
  133. ;   Development Value: Off
    8 X8 _$ t# R2 `+ F- f9 H$ M
  134. ;   Production Value: Off
    + y% Q1 ]' J: _0 j: _
  135. & h5 B2 v1 E; q/ _& e7 I
  136. ; request_order
    2 \4 j) Y2 ~2 n' E! z
  137. ;   Default Value: None( E) l- u" q4 ?0 V% D
  138. ;   Development Value: "GP"
    5 i9 ^6 B1 r* a1 y# y- A, _
  139. ;   Production Value: "GP"
    ( l  I+ K- G* S8 w+ j

  140. 5 X. @: i" c$ a: c$ {( H7 W" x! b0 [
  141. ; session.gc_divisor
    # Z6 y9 {  P) e3 N( ?5 l0 v
  142. ;   Default Value: 1001 B& C2 d% Y% S. S
  143. ;   Development Value: 1000
    8 `5 S$ N, R* E$ r1 F+ e
  144. ;   Production Value: 1000% J% F  g$ V# G. g2 O) J; g/ x

  145. 8 R) m5 W* Q+ o9 o# ~0 R# k6 B
  146. ; session.hash_bits_per_character
    . p. V7 D: U' N/ M+ c) z
  147. ;   Default Value: 4& T9 @  g: f, k0 D2 p
  148. ;   Development Value: 5
    ) A5 Y3 Y" n+ I1 n! K& Q3 F8 U1 f: k% _
  149. ;   Production Value: 5
    ; x) i# }  A% o/ c% n

  150. # c, m) `; v& ^: f0 `
  151. ; short_open_tag
    6 j" R8 f: M1 N. s9 t9 Z
  152. ;   Default Value: On$ z" ]3 ~0 [$ f$ _& j; A: ^8 I
  153. ;   Development Value: Off
    & \; C% A" C9 n+ N7 g
  154. ;   Production Value: Off
    0 U& f3 a* w7 b6 X
  155. 2 ^% x' V% \! R$ d
  156. ; track_errors( n; d+ ?5 ~; v& h0 G* i' W7 @
  157. ;   Default Value: Off
    & o& S2 u7 k9 w* n0 o; l) H
  158. ;   Development Value: On3 ?$ v4 ?: ^  _9 D. X5 {
  159. ;   Production Value: Off
    1 N+ o) E* a) Y0 R8 C2 d% f+ z
  160. * P, M4 c; z# ?1 [
  161. ; url_rewriter.tags9 ^( ~- v1 R5 ~
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="5 @! d/ y+ C. y% r! B/ P% y/ H+ b
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 Y, U* X! t; O
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 \" H; W/ ?1 Y0 g+ n- o
  165. 3 Q2 w" a3 P5 ?3 Q
  166. ; variables_order
    0 _. A/ O+ l3 Y5 e' v1 h5 F5 M9 t
  167. ;   Default Value: "EGPCS"
    9 f  f- s: j. P/ C7 j2 l
  168. ;   Development Value: "GPCS"
    , j/ I* T6 S5 }2 m  Q4 z  \! Y
  169. ;   Production Value: "GPCS"
    2 K# x* S& S$ s# H4 Z$ h' F# W
  170. , c" }% `$ ]9 t& o2 q
  171. ;;;;;;;;;;;;;;;;;;;;
    , A$ C- E& x! d, }
  172. ; php.ini Options  ;' N! f6 D4 X0 B1 n( T$ U1 n2 t6 S  N5 I( s
  173. ;;;;;;;;;;;;;;;;;;;;  C% ~$ r" H* k/ c
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini", y9 w2 [' g6 p9 \+ t
  175. ;user_ini.filename = ".user.ini"5 x* d  ~# F  F

  176. ! {+ m- g, s) |
  177. ; To disable this feature set this option to empty value
    4 W0 \! @/ D0 \8 H
  178. ;user_ini.filename =
    * P- V) X$ Q7 A
  179. 1 }/ g5 ^5 j: x2 B5 Z* M* V  X% }
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    3 V$ d% Z0 F. Y' J4 x8 M+ i
  181. ;user_ini.cache_ttl = 3004 A) L. \3 `) V( ?' E
  182. + E4 o. T/ E9 c' B+ ~
  183. ;;;;;;;;;;;;;;;;;;;;
    . N0 S6 j" h  l% ~
  184. ; Language Options ;( j3 t  |* Q- T/ ]# U+ s
  185. ;;;;;;;;;;;;;;;;;;;;; C2 O7 f% E! Z9 ]& L! T4 E) g

  186. ) h9 F- F: w! B( W3 c8 l+ ?; w' ~
  187. ; Enable the PHP scripting language engine under Apache.
    5 Y! M+ P: Z; u' A
  188. ; http://php.net/engine7 t( X' k- k- V8 Y% ]' @/ n
  189. engine = On
    : Z, G/ ^3 p9 D) E1 h

  190. 4 ^* h9 j! k6 o& s  X- x
  191. ; This directive determines whether or not PHP will recognize code between
    3 j* y, w2 ^' _( z4 c0 C6 U
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    1 J! F+ n9 z7 b) O
  193. ; generally recommended that <?php and ?> should be used and that this feature5 B4 q8 U% |4 x+ W  N$ A7 D
  194. ; should be disabled, as enabling it may result in issues when generating XML  [& D4 j' m& c  Q& @2 N2 Z* C
  195. ; documents, however this remains supported for backward compatibility reasons., g' \4 j  H1 L! ?
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ! }$ n( N( q( s7 `
  197. ; used regardless of this directive./ j1 m: H$ A! F! ^+ t
  198. ; Default Value: On
    & |2 T2 E1 O, ]! r$ c: W, q
  199. ; Development Value: Off" N4 N0 m! w2 f* o2 R
  200. ; Production Value: Off
    ) w5 @& `: Q! d/ u, M2 r1 \
  201. ; http://php.net/short-open-tag
    - C4 a$ a6 ^6 W/ `5 f2 ]  ]$ ]$ H
  202. short_open_tag = On
    . e8 m) K% b; m! u  |% Q

  203. : T7 n8 o& W! ~
  204. ; The number of significant digits displayed in floating point numbers.
    2 ~$ u% Y/ [3 Z( E" P
  205. ; http://php.net/precision
    8 D# U0 Y4 s5 M
  206. precision = 14
    ) R% d* N1 p  j" X
  207. ) R7 e  ^  b1 x
  208. ; Output buffering is a mechanism for controlling how much output data
    ) Z& R6 s, e4 O+ T' {
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    # T! \2 c, L% w& F! R, W5 l  d5 \4 D; C
  210. ; data to the client. If your application's output exceeds this setting, PHP
    " |. j7 c) z8 V# g" d( {" b
  211. ; will send that data in chunks of roughly the size you specify.* W  @! ]* E: o  z0 i; d$ r1 b0 _
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    + @  }3 a8 B0 i1 O4 Z! R0 I2 f
  213. ; interesting side-effects depending on your application and web server.; Q2 c- A, ?/ c4 l4 b- ~" I9 g7 V
  214. ; You may be able to send headers and cookies after you've already sent output
    ! y) F; E6 L" ^( Y: b9 \
  215. ; through print or echo. You also may see performance benefits if your server is
    ' n# Q  J2 H: k/ [0 n
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    3 w- p# a9 p2 o9 O6 |4 k. B
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance: s+ I5 Q2 Q+ V" P6 J
  218. ; reasons.
    3 P2 ?7 p: ~& C8 L6 }; ~
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    % i: I  `1 B+ D9 O& `. W* b
  220. ;   functions.
    7 S6 A) D! j( p6 p+ |7 m6 r7 z
  221. ; Possible Values:6 _0 ?& z5 \$ H
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)9 v0 e5 S/ z+ f2 n+ M9 x& a9 R! x* Y
  223. ;   Off = Disabled( `9 n' ~: R1 h. k
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ' v- |5 p0 ^/ O' E
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI8 h6 J7 _# \) k) {  X, V
  226. ; Default Value: Off
    0 z4 @4 s8 Y) v4 J% @
  227. ; Development Value: 4096
    ( ?2 s+ c+ y" G$ ~0 r
  228. ; Production Value: 4096# ^) D  N; s5 x: u1 _. s# \% k
  229. ; http://php.net/output-buffering
    * E4 Y1 h6 s( c$ W* _" _3 Y7 w
  230. output_buffering = 40963 m7 K" R2 _& K. O
  231. 7 X/ I! u  p3 \
  232. ; You can redirect all of the output of your scripts to a function.  For( ~: Z; m4 U( p9 I/ X* K
  233. ; example, if you set output_handler to "mb_output_handler", character6 q% @0 K/ B& V
  234. ; encoding will be transparently converted to the specified encoding.
    8 D$ U+ j: p/ \- s
  235. ; Setting any output handler automatically turns on output buffering.
    ; r7 Q: W! x+ F1 s7 ^
  236. ; Note: People who wrote portable scripts should not depend on this ini# o  c) E6 Y/ }/ {+ ]+ @3 h
  237. ;   directive. Instead, explicitly set the output handler using ob_start().( v# O$ y& T, t8 K
  238. ;   Using this ini directive may cause problems unless you know what script. J: U: d( I3 Y- I0 F5 d
  239. ;   is doing.
    $ o0 I* a2 s7 x' S8 h' x
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    9 t8 T7 [2 J+ q5 e! U& Y) C
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    1 M( x0 V/ W% A4 [. c
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    - }8 P* j$ W3 S7 f7 \0 l
  243. ;   Instead you must use zlib.output_handler.
    9 w, i& ?7 ?4 O, }: Q/ e' b
  244. ; http://php.net/output-handler
    8 U0 j) k: P. T" w" \! l& v
  245. ;output_handler =
    0 ]+ L1 u$ k4 n
  246. " P3 I5 \7 ]2 f- i, W# b
  247. ; Transparent output compression using the zlib library7 d2 Z8 B+ }0 _% n; L) N6 y
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size( a% Z: d: z8 C( ]  H" @) \& x
  249. ; to be used for compression (default is 4KB); x  @: v+ l$ G2 P$ j
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP- l$ }. K5 t' @& {0 [
  251. ;   outputs chunks that are few hundreds bytes each as a result of# |. @5 a( K7 ^0 z
  252. ;   compression. If you prefer a larger chunk size for better
    ! s6 Z4 F$ U- p$ `' ^
  253. ;   performance, enable output_buffering in addition.
    5 D6 ^, s$ J) M  l' b- p
  254. ; Note: You need to use zlib.output_handler instead of the standard
    8 x- h4 A( P7 ^0 _5 z6 C0 P
  255. ;   output_handler, or otherwise the output will be corrupted.
    / v9 [% v9 R( ?7 G! g
  256. ; http://php.net/zlib.output-compression
    , B2 ^+ }1 D; X: y8 [* \$ |
  257. zlib.output_compression = Off
    7 v& Q4 k: o2 U& |
  258. - ^4 R, c4 U- c  E+ l7 D# T
  259. ; http://php.net/zlib.output-compression-level, G/ F$ C& c- j! h$ m% O* Z: d
  260. ;zlib.output_compression_level = -1! B9 c: j- e. n+ J! n* I) w

  261. 2 C5 H: F0 w! q  I/ a* t' d5 b3 c  j
  262. ; You cannot specify additional output handlers if zlib.output_compression
    # ?: d1 n6 `- m  G/ Q
  263. ; is activated here. This setting does the same as output_handler but in
    # M7 {: B. L6 v# |
  264. ; a different order.
    9 c! v* ]9 C+ `7 r6 l% e! s
  265. ; http://php.net/zlib.output-handler
    9 n* G' ?( {" ]/ m1 A
  266. ;zlib.output_handler =
    ) x: `( _- G" e$ N

  267. 3 T7 N0 U0 [8 X. `' p
  268. ; Implicit flush tells PHP to tell the output layer to flush itself* E/ W' F! ]& k9 y2 k
  269. ; automatically after every output block.  This is equivalent to calling the" \6 g" k1 m0 a3 C2 b3 b* x+ i8 a! e
  270. ; PHP function flush() after each and every call to print() or echo() and each
    , I5 z; O& V7 _8 Z6 C2 h4 P
  271. ; and every HTML block.  Turning this option on has serious performance
    3 V* B, J% E% F9 I/ L
  272. ; implications and is generally recommended for debugging purposes only.
    ! \" f& c) p$ I
  273. ; http://php.net/implicit-flush2 K5 r! K2 u4 m
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    9 F- I& c. Y% a
  275. implicit_flush = Off+ d( j( y" W# ?0 Q- b; `2 |7 M. |
  276. " t5 Y$ u6 s0 L
  277. ; The unserialize callback function will be called (with the undefined class'  B8 R3 S* I3 B0 W; `* q# k' F
  278. ; name as parameter), if the unserializer finds an undefined class
    : s. A/ z7 z+ x7 M& h
  279. ; which should be instantiated. A warning appears if the specified function is
    ) _# `( l  M- ^
  280. ; not defined, or if the function doesn't include/implement the missing class.+ _5 Z' a, D5 B
  281. ; So only set this entry, if you really want to implement such a& e+ p+ m% z* N6 G( g
  282. ; callback-function.( K! u$ D5 Q4 y: \' _3 c
  283. unserialize_callback_func =
    # z' c- @4 h0 o$ a
  284. " {0 \8 D1 N) g, X0 Y# Z+ f
  285. ; When floats & doubles are serialized store serialize_precision significant
    0 q" P% l  R( }9 F9 d/ r! g( C) Y
  286. ; digits after the floating point. The default value ensures that when floats1 h7 J0 `4 E' x8 c
  287. ; are decoded with unserialize, the data will remain the same.% I) q1 y$ u) F* q1 Y& E/ o5 _
  288. serialize_precision = 176 j' f7 ]# ?1 Q. c4 g# t. T+ H- b, C- Q
  289. 9 j7 I) I2 L, @; q8 N
  290. ; open_basedir, if set, limits all file operations to the defined directory9 ?$ p, {# o2 _8 P
  291. ; and below.  This directive makes most sense if used in a per-directory
    ' {( T' O0 g$ Y* k3 o+ C
  292. ; or per-virtualhost web server configuration file." i$ `6 H% E3 f: s
  293. ; http://php.net/open-basedir; Q  b0 T( m! S7 ~# }
  294. ;open_basedir =# c- l# Q( R3 S9 T5 m

  295. ! ^0 F; F& u/ Y4 M5 e7 v" P, R! u
  296. ; This directive allows you to disable certain functions for security reasons.
    ) [  S/ \/ q% j
  297. ; It receives a comma-delimited list of function names.: Z& Q4 Y% l: D/ j  ]; T
  298. ; http://php.net/disable-functions/ U$ g8 Z/ H7 _& R
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru' {2 J2 n& q( t( o+ t. r3 t+ I

  300. # w& L- o0 k- ]( H# F
  301. ; This directive allows you to disable certain classes for security reasons.
    # r. I" w4 V: e2 T4 [
  302. ; It receives a comma-delimited list of class names.% n& l3 m. [& `) B9 Y3 ]
  303. ; http://php.net/disable-classes. Z% `$ H3 B; _; N; ]2 ~, L& F
  304. disable_classes =
    $ i- V7 E: ~/ ^/ M2 J

  305. & u  P# t' K. Y, w1 [
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    - y1 M( N& ^  V& N4 t6 y- b6 x% A
  307. ; <span style="color: ???????"> would work.
    . B- z- v8 a2 T4 E: O* T8 m
  308. ; http://php.net/syntax-highlighting
    + g. R; @' @9 r0 X' E! H% g0 A9 J4 J
  309. ;highlight.string  = #DD0000
    8 J# z: V) ]/ c5 L$ L7 ~, t
  310. ;highlight.comment = #FF9900/ J- v" t' e* W- T6 ~* h
  311. ;highlight.keyword = #007700/ P& ^$ {: T7 M+ D: l! M! v
  312. ;highlight.default = #0000BB
    + G$ h& E9 u9 d9 [$ h* n4 T4 |
  313. ;highlight.html    = #000000
    ; P9 N$ x# w9 s! n

  314. , P; m' L; P$ Q/ g5 {  q' G# U4 J8 h
  315. ; If enabled, the request will be allowed to complete even if the user aborts, s- ~- _* h( o- Y# e: c
  316. ; the request. Consider enabling it if executing long requests, which may end up% O4 p/ J2 {# s! s$ j
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior  _1 k. k( l& h  Q4 R2 u. x
  318. ; is to disable this feature.
    0 `  ?6 }5 V7 o/ i. q1 I
  319. ; http://php.net/ignore-user-abort
    , `/ z  T0 u3 G
  320. ;ignore_user_abort = On8 }: P0 l$ h* P' i# `' M/ k( E

  321. + t. y+ b% P* @" i
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    % }( }* ?% G9 L8 r) m3 ]
  323. ; be increased on systems where PHP opens many files to reflect the quantity of2 K* @7 D( }" a; ?; ]- ]2 H& q) \
  324. ; the file operations performed.9 I7 l5 {4 V3 u, Y* c4 E1 v  w
  325. ; http://php.net/realpath-cache-size
    . b0 A) a5 x# |2 U  o/ q
  326. ;realpath_cache_size = 4096k
    % e1 \9 Y2 J( ^4 \& ]
  327. - v9 J; B2 J9 g+ Y. {
  328. ; Duration of time, in seconds for which to cache realpath information for a given! A' S7 V% Q: L" c4 j
  329. ; file or directory. For systems with rarely changing files, consider increasing this" |/ {1 G$ w. F0 ~6 Z# l% e
  330. ; value.' p' ]# u$ R# W
  331. ; http://php.net/realpath-cache-ttl% r. i& r1 h6 _2 O% N6 t
  332. ;realpath_cache_ttl = 120) Y/ o  ~. n- I, U
  333. + f& j9 p& }/ y) l3 f- |
  334. ; Enables or disables the circular reference collector.
    5 L- o! B8 o7 e8 ^
  335. ; http://php.net/zend.enable-gc# X) B( g# D: Q: r! c
  336. zend.enable_gc = On
    7 D* D( c; G$ b( }2 H; M- }1 ?

  337. + \9 k" E, A; d, u/ v7 v7 m
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ' M- K" A' y$ ^" V
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such1 {0 N/ j, S- X! u. |
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    , W0 r8 _, G# K' q; u- L. y/ j
  341. ; Default: Off
    ' Y* M. h1 i' w7 @$ O
  342. ;zend.multibyte = Off  ?# K& w1 s% X- ~% Z0 U
  343. + M; g1 [- @0 |9 B& y' G& f
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    2 Q, d! Q& v, b; ^& |" K+ ?3 A
  345. ; unless "declare(encoding=...)" directive appears at the top of the script." a. T( Q) O) c' u% E+ G$ N
  346. ; Only affects if zend.multibyte is set.: u4 @0 P* j6 h! H
  347. ; Default: ""
    ! u4 W8 q' |. ]$ u
  348. ;zend.script_encoding =" I! M7 e  k8 N$ t
  349. 3 D1 g& A; z" T9 B2 c
  350. ;;;;;;;;;;;;;;;;;
    " w  k5 q" n/ i! n8 v& D8 r% E
  351. ; Miscellaneous ;
    . Z( h( U' V$ P: m; L
  352. ;;;;;;;;;;;;;;;;;
    " ^' Y, f3 y, ^

  353. 7 H- U  e, ^# @
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    0 H) z" y: [* y9 i0 e0 A) U
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
      z& j" u& ^  {& z1 b& W! _: M% e
  356. ; threat in any way, but it makes it possible to determine whether you use PHP  k/ D( C- U* t4 @1 q) d1 o
  357. ; on your server or not.
      x  d3 x6 `% O6 S7 Z0 ~
  358. ; http://php.net/expose-php
    " S1 O0 D8 e/ R; S" y
  359. expose_php = On9 r- f" x6 x- Q' @9 s. F
  360. * M9 N6 A/ K1 w/ `
  361. ;;;;;;;;;;;;;;;;;;;
    3 ]$ {( ~( w+ l3 l1 D5 C5 C
  362. ; Resource Limits ;# L' W! O' _! X! h, t5 a5 F
  363. ;;;;;;;;;;;;;;;;;;;
    5 Q1 e" u1 k0 k0 A; Z8 ~
  364. 0 x" E/ Q/ a: K2 e
  365. ; Maximum execution time of each script, in seconds7 e# L1 m- o8 e+ b) r
  366. ; http://php.net/max-execution-time
    0 x5 [6 }. C1 y8 {; a
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI+ z& M7 X2 T) h7 j; V# J
  368. max_execution_time = 300
    1 ~& n- [7 |7 {; w% g7 J# Z+ p

  369. " F, R6 ~) j; h3 @7 W$ u
  370. ; Maximum amount of time each script may spend parsing request data. It's a good* r4 T6 {8 y$ d
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly  T/ s2 a; e! E5 n
  372. ; long running scripts.' K2 f( i* g0 f9 h& \
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI- x! R' h% c0 C. @6 h
  374. ; Default Value: -1 (Unlimited): q1 _2 x3 J! Q! {! o  h" I
  375. ; Development Value: 60 (60 seconds): p7 A$ `7 V; T& h5 h( Z
  376. ; Production Value: 60 (60 seconds)% f, I, j+ v+ g; L7 G9 R
  377. ; http://php.net/max-input-time6 Y- Z# [$ T) N
  378. max_input_time = 60
    7 V3 z7 C: v$ }% O) \  F
  379. " K: s) \$ \0 _' B
  380. ; Maximum input variable nesting level
    / a# U# G5 I& ]+ W, Q  b3 @
  381. ; http://php.net/max-input-nesting-level. F/ `  R" F/ e# P' \  i
  382. ;max_input_nesting_level = 64: J8 D, L3 R1 _8 y, q" J8 c( ?
  383. * n" [2 f5 }/ z! u
  384. ; How many GET/POST/COOKIE input variables may be accepted
    3 h3 h! ]) ?/ ~  f
  385. ; max_input_vars = 1000
    4 h7 Z  P% R/ P- @1 h
  386. 7 T) e- ]' b# D
  387. ; Maximum amount of memory a script may consume (128MB)
    + [+ c" p. a9 q9 z$ u1 T
  388. ; http://php.net/memory-limit
    5 W7 n# U4 B- V& _4 w7 Q+ T2 ^
  389. memory_limit = 128M6 Z4 A7 x8 E* |5 p2 d% ~- I

  390. 7 Z9 @: |2 y5 d, g
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : O7 H9 x8 Z) k, M% l3 h
  392. ; Error handling and logging ;
    $ `+ g; i: d# e, E
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 _2 e; {3 L) |
  394. : y! _! u" _' ~7 X3 q& q
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    5 ?: u/ c; Y' m2 V$ l* T
  396. ; it to take action for. The recommended way of setting values for this4 E: Z, G7 q8 S4 L. B
  397. ; directive is through the use of the error level constants and bitwise, P: e( ~0 G8 A4 [) Z
  398. ; operators. The error level constants are below here for convenience as well as
    : F1 \3 T0 S2 K8 F" ~7 \
  399. ; some common settings and their meanings.# d. X" Y7 G9 S# S; R; c
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT3 l% ]" Y) W$ G$ O+ \
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    0 @( a3 S: Q* I2 n" O9 U& Y: _4 Q
  402. ; recommended coding standards in PHP. For performance reasons, this is the1 ~# i8 R' ~$ G! {! c) b. p. I9 N
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    - m- c4 ?2 }# k
  404. ; resources complaining about best practices and coding standards. That's what
    6 J4 s4 t8 s! W8 O$ i% @
  405. ; development servers and development settings are for.5 L: @( J0 Y6 J; s0 Z# y
  406. ; Note: The php.ini-development file has this setting as E_ALL. This$ f" d" Z2 c6 f8 q5 a+ P* e
  407. ; means it pretty much reports everything which is exactly what you want during/ r! G+ ?# y/ i
  408. ; development and early testing.
    , M- b* X! K3 d1 S1 Z
  409. ;# ~  C: T! y* }6 w4 k
  410. ; Error Level Constants:; k  u7 W2 W$ \/ R3 b
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)! r& @# j6 I2 l+ t2 K2 Y! n/ W
  412. ; E_ERROR           - fatal run-time errors2 u2 W4 T. m) G/ I3 ]$ h- y$ N
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    - f& g' [+ |/ C/ q! V$ g
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    , r- P6 i: ~, C9 s  n5 ^3 E$ N
  415. ; E_PARSE           - compile-time parse errors3 X, [, H1 m8 r8 m$ t
  416. ; E_NOTICE          - run-time notices (these are warnings which often result3 e0 w) s6 Q- f2 H" N" Z
  417. ;                     from a bug in your code, but it's possible that it was
      b# a1 J+ F% s
  418. ;                     intentional (e.g., using an uninitialized variable and! @% [/ I; N9 [& C* x. h$ Q  n
  419. ;                     relying on the fact it is automatically initialized to an$ L% R9 `8 }+ A+ V7 b
  420. ;                     empty string)* ]* K  ?* H% P# K
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes7 ~7 L* m8 ?! T& ]% J& |! ]
  422. ;                     to your code which will ensure the best interoperability) E; c; C* D$ v
  423. ;                     and forward compatibility of your code
    / g2 V  M! O- W+ {, c  z
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
      }, E: q' X: E, E" |5 r
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
      {* o/ n3 |" d- F1 v7 L+ o
  426. ;                     initial startup" A' g7 A5 E. q, \. b& v
  427. ; E_COMPILE_ERROR   - fatal compile-time errors9 n$ S. b2 D' M( t
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)0 y8 r: ?! d$ M5 d+ z! m* G( v
  429. ; E_USER_ERROR      - user-generated error message
    / |' g9 Z( L9 f- a& E
  430. ; E_USER_WARNING    - user-generated warning message' p& G1 d1 l5 w( z! G1 G: v
  431. ; E_USER_NOTICE     - user-generated notice message
    ' @. x- \: n! P& e/ U  J4 t% e
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    9 o+ w% Q4 }; b8 J
  433. ;                     of PHP
    + s5 {# F# J2 O0 q- B! j; c
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings3 }5 d# g) j# G; v' K- G" ?
  435. ;
    , G: A! j7 o7 G2 F* w9 G
  436. ; Common Values:
    % J) F4 E% Z  ^
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)1 w# [; n" |) u. y
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    # y" G4 E7 [- k  g
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ) f) P4 R0 L5 p- b
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)! @( V+ J7 y' ~* n& @
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED+ t0 M0 Y( w/ Z6 w, n4 S
  442. ; Development Value: E_ALL9 i, f7 [7 Y" W# W$ I
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT# T6 j0 B% y0 D. U; ^. j
  444. ; http://php.net/error-reporting) |1 N4 Y( `: U$ z! m7 P) S
  445. error_reporting = E_ALL & ~E_NOTICE
    * z7 \. y0 k- S8 @$ _4 ~
  446. * f4 ^8 v" M6 e
  447. ; This directive controls whether or not and where PHP will output errors,2 Q0 I: ]2 }! h7 \/ L( W
  448. ; notices and warnings too. Error output is very useful during development, but3 ~2 Q: w% }* o2 e1 N
  449. ; it could be very dangerous in production environments. Depending on the code
    + z" A* R' F7 g3 G, k. {( s/ K
  450. ; which is triggering the error, sensitive information could potentially leak" x; T( [$ s/ a! d! s# D
  451. ; out of your application such as database usernames and passwords or worse.
    7 `, }+ {4 P  o, V
  452. ; For production environments, we recommend logging errors rather than$ U$ U- z" w4 ?; Q- r# M8 W
  453. ; sending them to STDOUT.( N6 T5 x5 y( a8 A( C( i( q
  454. ; Possible Values:
    8 l: P, \2 r1 x1 f: B7 z( j5 X8 w3 E
  455. ;   Off = Do not display any errors
    + `& I2 y4 f' n2 q6 `
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)7 H4 P9 L' m" y
  457. ;   On or stdout = Display errors to STDOUT1 J! j# A, i( [! {
  458. ; Default Value: On: C0 t9 ?  B$ O
  459. ; Development Value: On( E/ v" g/ M" s* c& p! v: M( K7 f
  460. ; Production Value: Off
    ; S/ K2 t5 h/ U% {  W
  461. ; http://php.net/display-errors
    4 s3 p5 {- e1 g
  462. display_errors = On. F% x$ ]& V0 W/ X# [8 @

  463. $ l% u6 ^- C+ j: }* v
  464. ; The display of errors which occur during PHP's startup sequence are handled
    - |3 w' \2 }5 j
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    ! d4 }0 }* |, |0 q
  466. ; errors from clients. Turning the display of startup errors on can be useful in$ }7 I4 J/ t+ P. k4 Y5 q9 Z: a
  467. ; debugging configuration problems. We strongly recommend you
    ; N9 K8 d$ _3 d, Q/ u& _) Y, w9 A
  468. ; set this to 'off' for production servers.
    - ^& s0 ?9 e0 y' m
  469. ; Default Value: Off
    4 b* W2 Q- O( P5 x7 |
  470. ; Development Value: On6 F5 e: j  L* M
  471. ; Production Value: Off
      C; y* q. V  l( o  `$ z
  472. ; http://php.net/display-startup-errors% y& e3 @  B1 s+ b! |
  473. display_startup_errors = Off
    , z% e- U1 t. N" T2 c1 ~. S) d9 W# W

  474. % ^8 u' g2 p) X* e. ]
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    2 p& i* @- W! ^) @
  476. ; server-specific log, STDERR, or a location specified by the error_log
    # V8 n) d, P. C" Q7 ^/ s8 b% ?1 Q
  477. ; directive found below. While errors should not be displayed on productions" p5 o2 Y6 O2 ^  H7 _1 ?
  478. ; servers they should still be monitored and logging is a great way to do that.5 }8 Y6 @" B% r2 B, z8 K
  479. ; Default Value: Off
    & C& g5 e! X3 p9 Q2 o% J# `) D
  480. ; Development Value: On
    - y9 `* f$ w& y, \8 R5 \; j- w
  481. ; Production Value: On% _; M7 P. s, a
  482. ; http://php.net/log-errors
    * J7 Q* u% c6 ~9 N
  483. log_errors = On) V, n% f* q! `7 j8 a, f0 r) P: K# j; ~

  484. 8 Y) K5 l+ G9 c0 }- W
  485. ; Set maximum length of log_errors. In error_log information about the source is
    4 V6 ^6 ~3 t' ^
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    " J3 e( g/ Q. H/ y
  487. ; http://php.net/log-errors-max-len! P* K% L9 R7 a* A. v: f9 H' B/ F
  488. log_errors_max_len = 1024
    % b, M( Q) A2 g

  489. - K9 s6 d* M: U6 b+ q7 v2 E+ u
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same1 w5 f3 i& V1 E
  491. ; line unless ignore_repeated_source is set true.
    5 x9 [4 h3 R1 d6 L5 L9 Q# _
  492. ; http://php.net/ignore-repeated-errors
    4 X- b! M( `0 u  c5 m7 K
  493. ignore_repeated_errors = Off
    + ~& \4 w5 ?8 Q/ Z6 x8 }6 a

  494. ) ^# ^$ U' o8 N& N7 q% `
  495. ; Ignore source of message when ignoring repeated messages. When this setting  h$ e+ Q0 r# B) t
  496. ; is On you will not log errors with repeated messages from different files or
    & z# t) M, \. f. Y/ ^( C' W- t! `) L+ ^
  497. ; source lines.3 |% E" [, i4 ?# ?8 V
  498. ; http://php.net/ignore-repeated-source
    & ?+ k  H1 `5 f2 q" \+ M) _
  499. ignore_repeated_source = Off: x9 v6 R- Q4 u

  500. 0 F/ a3 B4 b: p: \
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on: `# h- M6 Q8 G
  502. ; stdout or in the log). This has only effect in a debug compile, and if" v! k7 c% Q* x8 X+ M! ^4 U
  503. ; error reporting includes E_WARNING in the allowed list
    $ j5 C) S3 }4 V8 _
  504. ; http://php.net/report-memleaks
    / [: J% U6 R6 t! F9 q) p
  505. report_memleaks = On, Q  C: w; s0 O8 e' I

  506. ; O2 g  k% `  j  I
  507. ; This setting is on by default.
    $ u9 [$ S" X7 `0 P
  508. ;report_zend_debug = 0
    ; }. \+ \9 n' G- h0 H
  509. - H1 T1 X1 @  S* t- n8 _# e
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value8 ^& ?  l& c) H6 [' P" p3 \9 u# l' W
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    $ _' e3 n& i5 U
  512. ; however be disabled on production servers.
    3 s' ~3 P0 F& j- L% Q) P+ T# V
  513. ; Default Value: Off3 K# m3 e8 q7 I4 c! _
  514. ; Development Value: On
    / U: j! v- l# z4 C* N: G" @5 ?
  515. ; Production Value: Off! y2 s. n- I3 D( v' w
  516. ; http://php.net/track-errors( g" U0 L9 u' Q- A( t
  517. track_errors = Off, q% ~% t; D- l3 ~, m
  518. % N. \: J( `" G% O/ V6 N! }7 F
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ( N3 y/ g, L' G/ v
  520. ; http://php.net/xmlrpc-errors
    8 v9 }, h: [# @' n: _
  521. ;xmlrpc_errors = 0
    ; z8 p4 V1 x9 N( T* g' K* N

  522. 9 U' ~% g* @8 T1 A, N' |
  523. ; An XML-RPC faultCode
    & O# a" Y: J! B, N0 l
  524. ;xmlrpc_error_number = 0# H0 m& V' y% U  G8 e% Y
  525. . V- V. C9 [. L" i8 C* [% u
  526. ; When PHP displays or logs an error, it has the capability of formatting the. A, v9 ~. v& @
  527. ; error message as HTML for easier reading. This directive controls whether
    ) i1 r0 M* N) C! z
  528. ; the error message is formatted as HTML or not.0 r+ J' c6 x8 K7 X( I9 B6 `
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI* w9 x; b/ w# T
  530. ; Default Value: On
    , X6 l: ~# S% X2 Z$ n, b
  531. ; Development Value: On* J. }' z0 B) K9 J% L1 k# q' E
  532. ; Production value: On
    : Z) }& x( u" v
  533. ; http://php.net/html-errors) _  D) ?) X) g$ R
  534. html_errors = On) l1 G+ [$ W* ?" E$ K0 M9 Y

  535. + U1 K2 s9 S& h: N( b) l
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP; W- I# t% g9 i
  537. ; produces clickable error messages that direct to a page describing the error
    . }; W* j+ ^' Y
  538. ; or function causing the error in detail.
    . a- V5 r) u- O$ u) L
  539. ; You can download a copy of the PHP manual from http://php.net/docs# w3 r7 Y1 D6 [8 N0 q1 l3 h; M3 ~
  540. ; and change docref_root to the base URL of your local copy including the- g8 i, d9 q5 I
  541. ; leading '/'. You must also specify the file extension being used including+ D6 n  U& g- Z  s7 g# f
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which$ D& ]$ |2 p# P( _9 z' \( n0 @
  543. ; case no links to documentation are generated.( F! F  D4 n/ J! k& d& g7 l
  544. ; Note: Never use this feature for production boxes.
    3 l+ _% }' q9 y! a+ m, b8 h
  545. ; http://php.net/docref-root2 ?  X& B! ^& [
  546. ; Examples# R2 L, s+ G2 G9 T
  547. ;docref_root = "/phpmanual/"$ Y$ v- p6 g7 P7 Z& e. ^- V% r
  548. , B, k. I! l! A* R1 v0 H
  549. ; http://php.net/docref-ext. H+ l2 P# h/ {2 V" K3 H
  550. ;docref_ext = .html, x8 z6 t* O4 R

  551. : L9 _' o0 {1 }* r% x
  552. ; String to output before an error message. PHP's default behavior is to leave
    ' _3 R7 ?, c. J: [4 s
  553. ; this setting blank.
    9 d# g5 O- O$ O5 g8 v
  554. ; http://php.net/error-prepend-string
    3 [9 x- U3 u4 D2 s6 c
  555. ; Example:
    , r4 L8 ]0 x- A6 e# f
  556. ;error_prepend_string = "<span style='color: #ff0000'>"" W4 `; F9 I* m2 ~- p

  557. ! o4 R: [" R+ g& {) ?0 t
  558. ; String to output after an error message. PHP's default behavior is to leave
    0 l" [5 a( o8 w7 p( Z) M6 c; `
  559. ; this setting blank.7 @8 w5 y# e; w, r* N# D
  560. ; http://php.net/error-append-string
    / a/ ~" m1 h, P/ Y4 n. u
  561. ; Example:' X) ], k6 V7 H* ], W
  562. ;error_append_string = "</span>"% a- f0 y, a) B/ q" [4 }

  563. 1 Z8 a+ C! f8 f4 ~& g
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    % p4 `+ V3 i! o! E  q
  565. ; empty., i7 a4 o( g$ Y% e2 G
  566. ; http://php.net/error-log
    9 r0 j9 R  K: G3 T- L
  567. ; Example:
    % g4 x: Q3 @. A8 t: y# U
  568. ;error_log = php_errors.log- _# @, X8 h) C; g+ P# u: S
  569. ; Log errors to syslog (Event Log on Windows).
    6 M2 i3 w0 X1 {. A/ L% Q
  570. ;error_log = syslog& [  t, J- x' M# F6 `9 b
  571. & R9 e: F" t1 }. f2 L
  572. ;windows.show_crt_warning& A+ G6 C9 D. H; N! Q/ L6 }9 ]' n
  573. ; Default value: 0; n/ U+ I; w7 b" o
  574. ; Development value: 0
    - n. g% R& K- Z$ b- p. P: ~/ m2 K; p
  575. ; Production value: 0$ I; i; a9 @) g& b  \
  576. + R7 G% h+ @% {8 W+ U1 l
  577. ;;;;;;;;;;;;;;;;;5 N/ \2 g5 u, C7 f9 I* S# [2 o- g8 I
  578. ; Data Handling ;7 D9 F9 b8 Y9 K4 B6 e
  579. ;;;;;;;;;;;;;;;;;6 T) W- i* ]1 ^+ ?, _
  580. ) T7 w! }2 m- ?0 n% n
  581. ; The separator used in PHP generated URLs to separate arguments.
    1 j4 f. l. z+ n" l
  582. ; PHP's default setting is "&".: D+ T" Z& D( C0 D0 b/ }
  583. ; http://php.net/arg-separator.output
    1 F# V. {5 Q8 F- o
  584. ; Example:
    & _; v. t% n/ a1 h! r( }
  585. ;arg_separator.output = "&"
    5 Q" {% k: q- H" K2 d

  586. ' C. V7 y5 q( _1 u) R. @% b. A
  587. ; List of separator(s) used by PHP to parse input URLs into variables.- K' M7 K2 L' h9 B0 M' i
  588. ; PHP's default setting is "&".' E! d$ s0 g, E; r
  589. ; NOTE: Every character in this directive is considered as separator!
    ; h* L2 a/ X0 T  }
  590. ; http://php.net/arg-separator.input( J$ k  h. i, j' O
  591. ; Example:' _: w* u8 H8 I% w( M0 R- D
  592. ;arg_separator.input = ";&"
    - {* h) ?2 y* O/ }

  593. 4 P5 R2 o& x( V$ b3 J
  594. ; This directive determines which super global arrays are registered when PHP5 t5 `/ `3 u: r- S  v
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super: g% w. H- u, B5 b
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    & t% i4 D: |; y) n$ }
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    % b8 B# Y& r' P# S
  598. ; used as the others, ENV is not recommended on productions servers. You/ ], T# L8 z" V- h
  599. ; can still get access to the environment variables through getenv() should you) y" _: T& ^! D! {8 A- T
  600. ; need to.
      `  n$ O; I+ \9 g
  601. ; Default Value: "EGPCS"; u4 n* X. x: M: p
  602. ; Development Value: "GPCS"
    7 p6 {7 c1 s+ V/ n! \, o* Y2 H
  603. ; Production Value: "GPCS";+ f- }* L$ S5 V/ E8 a) k
  604. ; http://php.net/variables-order
    ( }$ a3 f# \+ I( Y; V. Z
  605. variables_order = "GPCS"  H' P. a" J. n( m8 C6 c

  606. ; o7 k; Q2 @0 O
  607. ; This directive determines which super global data (G,P & C) should be/ Z% D' X% B" \
  608. ; registered into the super global array REQUEST. If so, it also determines
    3 G+ {# d! N' K4 `
  609. ; the order in which that data is registered. The values for this directive
    % p: f) }7 V: Y# h( {' _: _8 a
  610. ; are specified in the same manner as the variables_order directive,
    * k) ^. U+ W6 W2 q0 p3 o
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set" Q2 n& q! i  @" q% |3 W- X
  612. ; in the variables_order directive. It does not mean it will leave the super
    8 q! [& C' x% u1 t, k/ n/ M
  613. ; globals array REQUEST empty.
    " C$ s5 \! R( C
  614. ; Default Value: None4 [; f: N  ?1 ?2 z8 I& {; \
  615. ; Development Value: "GP"
    ! l: k2 A5 x: {* ~6 n
  616. ; Production Value: "GP"6 K. D+ w, b6 r- E
  617. ; http://php.net/request-order
    , g, c: G# r4 Z6 d! h2 n6 _4 I
  618. request_order = "GP"
    : z- j0 ^/ d. T5 @/ `/ q) f* H

  619. 0 k7 G( f8 i8 J
  620. ; This directive determines whether PHP registers $argv & $argc each time it3 I% }3 }- X+ I0 r+ _) s
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script; Z4 t, B" t# d7 w1 t  c3 ^! J/ q
  622. ; is invoked. $argc contains an integer representing the number of arguments( C5 P5 ?9 z1 ?" ^, N6 E! s: W
  623. ; that were passed when the script was invoked. These arrays are extremely
    & ?. B5 \: y$ c) f5 m% p
  624. ; useful when running scripts from the command line. When this directive is* A' s6 f4 l- [5 |6 L0 z3 P; I8 t
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    / i1 h- o$ _$ S8 v; }
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ! D# Q7 t4 \8 W% w% a! M
  627. ; on production servers.
    2 o6 R1 G( N2 E8 w
  628. ; Note: This directive is hardcoded to On for the CLI SAPI& H' @8 @7 G  \1 t" K" Q
  629. ; Default Value: On
    " F& S! b/ V+ M! d# v  h& R
  630. ; Development Value: Off
    ( W8 x  u2 z- p. h
  631. ; Production Value: Off9 W7 M4 V9 p" D: `; W
  632. ; http://php.net/register-argc-argv
    8 }/ M: {. b2 Z/ S: z' e
  633. register_argc_argv = Off
    . z% p0 o* C5 f1 R
  634. ; q' l% v, h# X5 `1 M' `
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    + p1 b' o) T  S+ H5 B* `  y
  636. ; first used (Just In Time) instead of when the script starts. If these
    6 T8 }2 o0 B8 \8 g' s" u* U
  637. ; variables are not used within a script, having this directive on will result8 ^2 y1 J% G) l$ k
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    % R/ ]4 R7 U. h6 f* g
  639. ; for this directive to have any affect.
    + R- v& p2 ~: v
  640. ; http://php.net/auto-globals-jit
    : `7 T, v0 T  ~
  641. auto_globals_jit = On
    " i  z9 A% [$ i& i& @* ]3 b
  642. ; r+ k7 T5 z! I0 x2 _
  643. ; Whether PHP will read the POST data.5 `  N+ z8 y" T1 m+ G# P6 E
  644. ; This option is enabled by default.. V! d* R/ u  r: e+ T( R7 V' S
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST4 m4 E0 C2 V0 |
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    5 z0 ?4 K. A0 x, e0 ?8 o
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    + O2 {: J3 g: [: T& X
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    - f- j& O" G( U8 K8 y8 }
  649. ; http://php.net/enable-post-data-reading
    $ d- N4 h. p9 w+ [
  650. ;enable_post_data_reading = Off) L' o* z2 i3 i

  651. ! s2 ]: W$ h% R2 C, S+ g
  652. ; Maximum size of POST data that PHP will accept.( M! n8 h" n1 K& O, {/ @
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading0 B$ X' o4 [" f7 j( R! K6 l4 k! |
  654. ; is disabled through enable_post_data_reading.2 R& ^2 ]/ T" m
  655. ; http://php.net/post-max-size
    7 m0 n) M" z: B! {5 D2 v8 T0 Y6 F
  656. post_max_size = 50M
      @' N! Q3 E1 J4 S( f

  657. : i- d2 c. H# u: |* b2 g! |
  658. ; Automatically add files before PHP document.
    ! ~  i" C# U, b, S
  659. ; http://php.net/auto-prepend-file, @3 e) R# `( U' D, D# J6 }: ~$ H
  660. auto_prepend_file =
    , d5 d8 `  G  `) c/ u. Q
  661. ( L& l, r. D- ^8 P& h: M# i
  662. ; Automatically add files after PHP document.4 T7 u4 z+ m$ n& |4 ?9 Z  R
  663. ; http://php.net/auto-append-file, T3 h/ M! }- B
  664. auto_append_file =
    2 B2 B+ |$ T! t- Z; p
  665. 9 J2 f( O% ?7 D4 Y
  666. ; By default, PHP will output a media type using the Content-Type header. To0 K: r$ Y, U( m1 u. w4 x& T
  667. ; disable this, simply set it to be empty.! E& U( y- ~, f
  668. ;
    3 `* R4 e1 I- r! A& F! P2 @
  669. ; PHP's built-in default media type is set to text/html.
    " G- K" \- f+ u* A- L( u  e# o  S
  670. ; http://php.net/default-mimetype
    9 C0 n/ _4 O" Q
  671. default_mimetype = "text/html"
    + ^; w& d  g. [& n

  672.   X# w7 N) g: i6 H& @7 L- m3 }
  673. ; PHP's default character set is set to UTF-8.
    6 J% p. ^& d" |2 E
  674. ; http://php.net/default-charset3 A1 |. a, E1 D. l9 y- N. F% T
  675. default_charset = "UTF-8"
    ( O8 `. t, A9 F5 M9 @/ x

  676. 1 s8 \/ d) p# c
  677. ; PHP internal character encoding is set to empty.8 O# x& F9 T4 [6 f) S
  678. ; If empty, default_charset is used.
    : O/ {* w1 Y0 {4 ~
  679. ; http://php.net/internal-encoding  u7 F6 C0 E0 D" m9 t! ]3 R
  680. ;internal_encoding =
    ) X5 N, w  ~  U
  681. ; J) G! u$ P% q2 Z, N0 U+ O  N
  682. ; PHP input character encoding is set to empty.# D* U- w8 K. O2 b4 [7 A
  683. ; If empty, default_charset is used.0 G$ Z% G4 |7 i. h: w' T5 ~$ X4 d
  684. ; http://php.net/input-encoding" f6 s9 O) p4 P9 ^
  685. ;input_encoding =
    0 I" Z( h0 f/ g, ^

  686. 7 O, c7 w, L0 K  Q6 k% y4 E6 @
  687. ; PHP output character encoding is set to empty.% y2 h4 d' [6 v3 P4 M8 t. T
  688. ; If empty, default_charset is used.: H, G* A; _) u( A. Z
  689. ; See also output_buffer.
    5 P0 o( P3 Y- J9 i/ }
  690. ; http://php.net/output-encoding9 q' A% p# r# a' q7 h. `
  691. ;output_encoding =0 `; H  U9 w2 `' w, `4 a. r

  692. : [# j2 |4 b2 U% O1 H- W: ]
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;6 U! o3 O! H% Q$ x4 x# J
  694. ; Paths and Directories ;
    ; |' f& U: L2 i
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 j# I7 N& J3 _
  696. ' x3 m, o! j" }! I7 V
  697. ; UNIX: "/path1:/path2"4 J  l( k0 Q" @- X0 g( a4 O5 c5 T
  698. ;include_path = ".:/php/includes"' R' e0 O! c2 `9 E% `  G2 A
  699. ;
    9 {  T& a1 r; K* }3 L
  700. ; Windows: "\path1;\path2"$ D4 D' u- @% b# C2 j$ v; r) K
  701. ;include_path = ".;c:\php\includes"
    . G/ c" c! i' i0 G! g
  702. ;) \: z: y& a. g  r
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"! M/ c& j$ @) c. s7 Q
  704. ; http://php.net/include-path/ q3 z2 i1 D) c. J
  705. : \# P# p. G2 P/ @9 v* A, H
  706. ; The root of the PHP pages, used only if nonempty.$ X: W3 m. z  N0 O+ Z5 Z! Q
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root) p+ G- A2 j2 ?2 o5 s4 x
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ' C* ~; U7 {% e- }% B( e0 s! G( v
  709. ; see documentation for security issues.  The alternate is to use the
    ( K& m) J/ H  e: L" f# V! d
  710. ; cgi.force_redirect configuration below- x7 p$ K  J/ W  B
  711. ; http://php.net/doc-root5 Y  E$ c4 m0 O% G& w7 @
  712. doc_root =9 s; N5 q9 M' k+ h+ x

  713. 4 q7 [# k3 H) B0 ~# r6 H
  714. ; The directory under which PHP opens the script using /~username used only
    9 e3 U6 {2 o& o. l) N; [+ I
  715. ; if nonempty.
    " `  X9 q7 P& [( S2 |
  716. ; http://php.net/user-dir
    , r0 [- h* a+ n$ ^' ?% h; Q7 D# C
  717. user_dir =
    . |, |; i7 {- @% r

  718. / c0 L6 j" n2 |4 t, Y2 u9 d& D
  719. ; Directory in which the loadable extensions (modules) reside., m  j2 x' Y$ n6 @0 L+ {
  720. ; http://php.net/extension-dir7 J- ^6 J0 {4 l
  721. ; extension_dir = "./"1 R% ~8 ~" t( Y' s+ \* i! e# Q
  722. ; On windows:9 n+ G2 K* G% \0 V6 [! z
  723. ; extension_dir = "ext"
    ; Y2 A! ?" w8 m% {. F7 {

  724. 1 m, x7 e& D' X1 s
  725. ; Directory where the temporary files should be placed.
    * ?. r* v. Y6 C# P9 v
  726. ; Defaults to the system default (see sys_get_temp_dir)
    6 v) n2 {# R& |3 E5 x
  727. ; sys_temp_dir = "/tmp"
    . L% ~9 r  |0 O% K0 d' C: y* i. k

  728. # _& q9 y4 \! M8 ]8 @
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    & E) Y" B, Q. L+ c( x/ z  N
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically1 a6 J* b5 q6 W3 ?3 {
  731. ; disabled on them.
    0 b8 P- g, m' }
  732. ; http://php.net/enable-dl6 U8 p% ?( I* L. w$ J) @! X
  733. enable_dl = Off
    " a/ H5 x$ x# _# k( O5 S; G) S

  734. : G8 S" [: W$ U1 L
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under* s4 G  A: @6 q( `7 U
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    0 v: U$ N6 P2 C
  737. ; turn it off here AT YOUR OWN RISK) v1 m& y6 v6 T4 B& _
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    # T. Q2 B6 _/ \4 ^' H
  739. ; http://php.net/cgi.force-redirect
    / h/ @  g6 x+ J1 `) m
  740. ;cgi.force_redirect = 17 G8 c- w, c! ?: y# C+ h! r
  741. 2 X% H0 L7 f* e( l
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    % Y+ V# C, D1 s
  743. ; every request. PHP's default behavior is to disable this feature.0 }9 R, A7 @9 i) s$ X  U& i
  744. ;cgi.nph = 1
    % @1 R% \* E5 F

  745. # s& ~  z, j: F  G
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    2 n1 U7 N! d) ?  k$ |
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    . G& W; H, f1 `1 R: H
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY2 I& T; ]4 L7 K- l( _: S3 U
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.7 o% z; A& j8 v: l# K! v
  750. ; http://php.net/cgi.redirect-status-env9 ^5 c% e3 z1 d9 j
  751. ;cgi.redirect_status_env =
    . A. N; Q' f: P# {8 U0 \: b

  752.   P) Z/ @' S/ z! s8 n0 ^
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    % |6 W& ], ~/ ]& b/ a
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok1 V1 f6 D" [( b3 `4 k; ~
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting& f  u( L' s$ y
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    / P$ T  k6 P1 @' i& a* {& n
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    / c* t; S' @8 w# }' |' }
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    " y* |% ~& |2 A; R) S6 E5 T
  759. ; http://php.net/cgi.fix-pathinfo
    . W" [/ I& g* ]7 b& u0 H
  760. cgi.fix_pathinfo=1
    5 P8 t- j) k* G% H

  761. / e! e6 h# F  f) k( [9 Q$ z
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside" \1 F8 a& G7 ~3 W% ]9 g5 F/ S
  763. ; of the web tree and people will not be able to circumvent .htaccess security.0 r, n/ h7 k, H7 T% ^
  764. ; http://php.net/cgi.dicard-path
    5 D* q# m9 n. Z9 {
  765. ;cgi.discard_path=10 K$ ?4 w5 O  o2 B+ S8 ]
  766. 7 d1 D! [7 k. V# w- Q: |! b
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    & Y4 i! u7 Q+ _, s$ F
  768. ; security tokens of the calling client.  This allows IIS to define the
    ' S+ Z% a# a: {# |% p' @- @3 S. q/ B
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    6 `9 V) x' t2 k( f# Z8 F" {- V. Z
  770. ; does not currently support this feature (03/17/2002)
    - \9 ]$ E& d2 I  L* n- A1 y/ q
  771. ; Set to 1 if running under IIS.  Default is zero.- x! v, ~6 f" v- T/ Y. n5 S
  772. ; http://php.net/fastcgi.impersonate* Y; _# H! R+ }& Q4 \9 _
  773. ;fastcgi.impersonate = 10 x& j* `, ?; |
  774. ) b0 n7 G* H0 _2 s9 q
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    0 z# Z& ?. ?$ R0 l4 c
  776. ; this feature.4 U- ]+ v, ^0 y! A
  777. ;fastcgi.logging = 0, ?" b5 Z# F/ y# Y$ I7 S
  778. ' t" G6 q# G: s! Z; s8 \
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to. G/ S. J, B5 t' ?& i
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that6 X  d) x0 K: E/ ]: Z# f
  781. ; is supported by Apache. When this option is set to 1, PHP will send% ^3 y# b) @$ Q- g( M& b/ A. r
  782. ; RFC2616 compliant header.
    & y2 b3 Q( a9 ?3 Q
  783. ; Default is zero./ {& D1 }  s4 |: v
  784. ; http://php.net/cgi.rfc2616-headers1 b& b! f( n0 [5 Z& i# J
  785. ;cgi.rfc2616_headers = 0$ [$ n% h+ w/ q6 F5 M
  786. $ ~* z3 g0 B  O# n. ]
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    / N) ]0 }8 }* t' ]
  788. ; (shebang) at the top of the running script. This line might be needed if the
    ! W! |; H/ D, d6 n# j
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    # }1 h8 i' W0 B. S6 z$ c
  790. ; mode skips this line and ignores its content if this directive is turned on.8 s: f6 T+ q0 X* i
  791. ; http://php.net/cgi.check-shebang-line; e2 R. q2 Z# X4 Y/ n5 R, e
  792. ;cgi.check_shebang_line=1
    $ \9 T! H: F0 C

  793. 5 k/ z/ a7 z+ x5 R- N8 x% ]  p
  794. ;;;;;;;;;;;;;;;;, D1 C  ?( j7 u  [" _0 x( ~
  795. ; File Uploads ;/ J$ `- J' ~( y, W
  796. ;;;;;;;;;;;;;;;;7 E/ J, ^! `, d

  797. / u/ q: s3 a% q, B1 I  g$ l6 M9 d
  798. ; Whether to allow HTTP file uploads.
    8 I/ m  `! r6 ]: l" Z, T" b. \/ q
  799. ; http://php.net/file-uploads
    4 f" @* C: c7 h
  800. file_uploads = On+ V: d; @3 U5 h* u, O/ D+ C

  801. 6 Z- Z6 I" A% |# O9 Z. j1 m+ j+ i
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ; O7 {! Q/ K' B3 k4 M5 J9 B" t3 ^
  803. ; specified).
    % ?' _9 {, X; R, b4 v. {1 g. E1 j0 S
  804. ; http://php.net/upload-tmp-dir
    + X+ O6 _. J9 h; l9 E
  805. ;upload_tmp_dir =
    % a- Q* H: r4 \. j( R
  806. # r/ z3 {& P" S# W- q
  807. ; Maximum allowed size for uploaded files.
    # m$ |- b" }( q* S* z& ]! ~
  808. ; http://php.net/upload-max-filesize
    + q2 e9 P& _; C, }8 O2 l
  809. upload_max_filesize = 50M; S  [) |+ Q5 \4 c& V
  810. . k2 g; ?' w  u& f4 C8 X
  811. ; Maximum number of files that can be uploaded via a single request$ V: [( B6 |$ ]  S; z& p
  812. max_file_uploads = 202 z- W3 j# v, K! B1 S9 F
  813. ; G8 I# u$ m) O7 e
  814. ;;;;;;;;;;;;;;;;;;8 [; c. V/ y$ u7 x9 e: Y4 G
  815. ; Fopen wrappers ;8 ^1 W7 ]  W$ V, S. O# k
  816. ;;;;;;;;;;;;;;;;;;
    " W. |- ?0 Y3 R
  817. 2 `" y) a" t/ s4 \
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    5 Q- |1 D. }( U
  819. ; http://php.net/allow-url-fopen0 }" Y/ p" N. {( G
  820. allow_url_fopen = On
    # k/ P5 G% Q% A. S' [% ~

  821.   U4 o" F2 _# G) e; Y% [8 H
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.: t: J7 X) P# C- I; T1 Y
  823. ; http://php.net/allow-url-include
      P; p8 }% u6 q$ ^7 i
  824. allow_url_include = Off
    3 M/ _0 L* {- i9 t/ `: r
  825. , J- I# J# x, Y+ m; `; P3 m8 x$ x
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ! y) _7 x, Q# Y' ?! l. w/ K
  827. ; for this is empty.8 A% ~1 ?; D1 L
  828. ; http://php.net/from
    ) J- g2 r5 K0 f) P
  829. ;from="john@doe.com"* j- F! N; x3 \0 J1 Q/ z( a

  830. % }5 J& ?+ ]/ m/ l) k: ?) Y+ s
  831. ; Define the User-Agent string. PHP's default setting for this is empty.4 A: t8 ~( k. b
  832. ; http://php.net/user-agent: w+ P6 {+ R6 d. R6 `' A: m
  833. ;user_agent="PHP"
    ( |- l. V2 k( `1 A, C4 N
  834. * G5 o8 f$ z; X0 i: i; y) p% U
  835. ; Default timeout for socket based streams (seconds)0 K$ d& a1 Q5 N5 E+ X" ]1 |; S. d
  836. ; http://php.net/default-socket-timeout0 i9 K  i% j; T0 B
  837. default_socket_timeout = 60% Y: B0 \3 W  X" W  O
  838. 7 N8 Y1 A0 e# B, I* x
  839. ; If your scripts have to deal with files from Macintosh systems," D3 T4 u1 s1 [. |# R9 [$ b. m) d
  840. ; or you are running on a Mac and need to deal with files from0 E4 n1 b! n$ \  X; Y/ S1 j8 F( @
  841. ; unix or win32 systems, setting this flag will cause PHP to
    " P) @9 Y+ {( j; v' b: h
  842. ; automatically detect the EOL character in those files so that( w8 Y( z  T" M8 B! g; w
  843. ; fgets() and file() will work regardless of the source of the file.9 S' D3 v- j' f6 F) x! Z! X( I2 y
  844. ; http://php.net/auto-detect-line-endings
    / w2 }% g/ I9 Z, i+ Z' Y) Y- R
  845. ;auto_detect_line_endings = Off( {) y! O9 P, c. V& z+ L9 z

  846. 1 u  i# F" f  O! V! M7 F' `) a
  847. ;;;;;;;;;;;;;;;;;;;;;;8 g5 O/ f: ^: a. b. o2 F: T7 \
  848. ; Dynamic Extensions ;! n; V) _. F+ r$ Y" C
  849. ;;;;;;;;;;;;;;;;;;;;;;
    ' l+ H5 \7 V0 `5 ~+ r# W2 [) e
  850. # Z" p9 [: v. g4 c: H$ L* @4 Y
  851. ; If you wish to have an extension loaded automatically, use the following
    7 L3 m9 y: Z: w0 G! b0 D: N# t4 t- g
  852. ; syntax:7 ^$ D/ Q( @  X2 r
  853. ;! C) M# E4 \% ?2 ~8 `( J
  854. ;   extension=modulename.extension
    - [4 [( Y: p5 R+ m' ]9 T% E; m
  855. ;
    2 C; g' F1 [" G
  856. ; For example, on Windows:# I; @" ]# C! A. K) V5 \: k/ Y
  857. ;/ i1 |5 O. \1 t: ^# _: Z
  858. ;   extension=msql.dll
    * S% X) ]: t0 D# u# \. h! z: ]
  859. ;( U( L% {# c9 B
  860. ; ... or under UNIX:
    5 Q6 O7 L( K& d) g
  861. ;
    # j8 J) l, k1 S) J1 W2 j% d5 D" W" }
  862. ;   extension=msql.so
    0 Z1 L( v) t/ |% V) k9 L
  863. ;
    & }9 v; b" k% s7 L' d3 x# f) A+ Z
  864. ; ... or with a path:
    / q9 H; }8 K6 n( H
  865. ;
    ) z% t. D: Z( c! T
  866. ;   extension=/path/to/extension/msql.so7 V8 z( h! a6 x1 b! J
  867. ;' x' ^( |' Y7 C- s- f: }
  868. ; If you only provide the name of the extension, PHP will look for it in its
    & `6 R" ~0 A" g4 A* ?, E8 m
  869. ; default extension directory.
    # ?5 K" G' x# Y9 q: k) X" D
  870. ;
    , E6 j6 z) [- n7 o$ E- }9 V  @
  871. ; Windows Extensions
    - E6 E% S" c7 Y9 l1 U
  872. ; Note that ODBC support is built in, so no dll is needed for it.
      S) P2 T* D. u
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
      X- y2 w9 [& G/ y+ Y' X
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    $ p: [% P- f' K, y
  875. ; Be sure to appropriately set the extension_dir directive.& d+ L4 G5 P4 V# t
  876. ;; C1 |  g7 k# ~  Z" U' ]) f
  877. ;extension=php_bz2.dll4 S7 W2 }- [2 [
  878. ;extension=php_curl.dll" h6 I% z; f  n& \; e- g! ?6 P* D
  879. ;extension=php_fileinfo.dll8 l/ ]- Z/ _! k
  880. ;extension=php_ftp.dll" `# v7 M7 Y  l/ a. P' M! y
  881. ;extension=php_gd2.dll3 S# L; w4 G/ x+ C
  882. ;extension=php_gettext.dll- I' ]  @6 j8 P! D+ V3 b4 t& G
  883. ;extension=php_gmp.dll
    , @% c7 X% d$ p! ^* V! e: x
  884. ;extension=php_intl.dll1 t$ R( k+ X( ^% C! N) a) q
  885. ;extension=php_imap.dll
    6 C, ]- t* A2 Y) s+ o2 O) x9 d4 z) F0 _
  886. ;extension=php_interbase.dll
    / m3 K- ~5 ^" N! x
  887. ;extension=php_ldap.dll
    4 ^6 `/ L! w& k) g% w6 f
  888. ;extension=php_mbstring.dll6 ]0 h5 i2 K9 e$ g
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it2 f# Y0 Z9 S. i& w/ x* m
  890. ;extension=php_mysqli.dll/ T, J' y4 y* ]4 k
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client* }2 _+ m1 c3 I. f+ Q" C/ W* r6 f
  892. ;extension=php_openssl.dll2 {9 I7 a$ v2 i( Y' W9 M% m( k
  893. ;extension=php_pdo_firebird.dll
    ! G" f, T7 |0 L$ n
  894. ;extension=php_pdo_mysql.dll, q0 p* E6 S9 j* r; Y+ Q4 \
  895. ;extension=php_pdo_oci.dll7 l8 S! `9 w3 J7 L% @* r
  896. ;extension=php_pdo_odbc.dll
    0 B" ]( c& ^6 }2 ~$ C9 p
  897. ;extension=php_pdo_pgsql.dll
    5 ^% E: k* [( W- D" F
  898. ;extension=php_pdo_sqlite.dll/ ~) Z% A) N8 q7 r! s" p% R9 P
  899. ;extension=php_pgsql.dll
    # V  h; G3 }$ q8 X; r, A. b: @
  900. ;extension=php_shmop.dll
    - {1 ^/ K& P& c6 x, I9 \' p' _
  901. $ N0 A1 a% p, T$ Y  `4 x. u3 u
  902. ; The MIBS data available in the PHP distribution must be installed.; F8 I8 _. ~8 k0 N( E
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    0 |, M+ |4 q* Q$ y9 k
  904. ;extension=php_snmp.dll( h) _' F  q: C+ Y$ l

  905. , x9 Z$ D# Q, I% `3 ~
  906. ;extension=php_soap.dll
      f0 l: O% G4 T7 O
  907. ;extension=php_sockets.dll' H: G' E! \" O3 k5 s; f$ ^6 u' S
  908. ;extension=php_sqlite3.dll3 @2 U; T( l1 a7 \! A/ [
  909. ;extension=php_tidy.dll
    - B9 N; ~* `  F" g* N( ]
  910. ;extension=php_xmlrpc.dll
    & H8 O. c2 C: X% s# Y/ k( z6 M
  911. ;extension=php_xsl.dll! t3 y& f  t% o9 ~

  912. % N7 j/ n- H& e' V0 ~4 d0 D6 A: C
  913. ;;;;;;;;;;;;;;;;;;;/ w6 s% u7 e) A& K$ ^# T: P4 A  H( o
  914. ; Module Settings ;
    % z% U. U3 }1 O7 ~* K, a3 q: }
  915. ;;;;;;;;;;;;;;;;;;;. J' F7 X5 s) k
  916. 0 `/ h% L2 u6 B! Q$ c$ r$ v  q
  917. [CLI Server]( e7 u6 A) e& i8 p% _
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.+ j$ m3 Y- H/ B$ |- G. }
  919. cli_server.color = On
    " A  o3 x7 n4 R0 U* s2 O
  920. 1 d- r) A8 T) j
  921. [Date]! \7 D& H( p3 ~1 l5 `) s' j$ d
  922. ; Defines the default timezone used by the date functions  |+ k6 R- ^# q* h& N) o
  923. ; http://php.net/date.timezone0 U, Q" i% V; g6 ?
  924. date.timezone = PRC
    : U" f, d3 L! y# T1 c, @

  925. # a1 w4 Z3 v8 R, q6 P, |& e
  926. ; http://php.net/date.default-latitude3 Y& L, T" C. [
  927. ;date.default_latitude = 31.7667
    7 |  k5 X& e1 C& U7 s4 L

  928. 4 R; X- S# m9 G$ T3 t+ }, c) o
  929. ; http://php.net/date.default-longitude1 T. B5 r& Q/ }# h- P
  930. ;date.default_longitude = 35.2333
    7 F  y5 K% T5 H3 G. k. `* Z
  931. * w% `: Y: s" ]; j6 W" m
  932. ; http://php.net/date.sunrise-zenith
    . H. T$ `" U8 t1 V# u9 n) m" O8 p
  933. ;date.sunrise_zenith = 90.583333' P, t/ I( {- Y/ `* r: X4 Y

  934. ) }1 Y$ }0 X& Z7 X3 l
  935. ; http://php.net/date.sunset-zenith+ Z* x" L/ O4 S2 a" [# [# {
  936. ;date.sunset_zenith = 90.583333
    . Q/ i; K; F; B! D/ }

  937.   T1 ?8 W% ^* M! P( y# M* o
  938. [filter]
    9 F/ F+ c$ r2 v' Q5 d( t
  939. ; http://php.net/filter.default
    5 E3 y4 H, e, o8 j4 C4 y6 S
  940. ;filter.default = unsafe_raw* l! ^( C5 G  ]( d, _9 y0 T

  941. 5 F& S5 j( M5 X& N5 x
  942. ; http://php.net/filter.default-flags* Q4 D! ?4 F5 J: @  [- C
  943. ;filter.default_flags =
    ; ~7 g# i  D* O% k2 x

  944. 0 c" B1 v6 Q$ g& b5 s# H
  945. [iconv]
    + q6 @# b" c9 U0 S
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ! ?, C/ t( ~2 c2 l7 Y
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    7 R$ M5 p, l. |- z0 K1 J7 U
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding( B- l* G1 T$ U& \' o1 X6 Q
  949. ;iconv.input_encoding =
    - _4 D3 m2 j, T8 J! k
  950. + x7 [8 A$ {  Q) I) I
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.+ o4 [" e! z: G* y, ]! F7 _2 A
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    # x0 l- s/ Y% [. A- t* R3 |4 T. g
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding( T( g! D8 D1 b- N$ o) u
  954. ;iconv.internal_encoding =+ }  Q- e" a; M1 C' `1 N" T

  955. 5 D  d/ p9 s& L% ?- _/ T/ f& v
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    " Z5 B% i- H0 G9 ?5 @. Q* j! d4 a
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ( e  u& Y1 v, E0 z: b
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding2 Y4 r  |( U- N$ X; v4 z# W" m
  959. ; To use an output encoding conversion, iconv's output handler must be set9 F" Z  @. ]3 l7 d: V1 U
  960. ; otherwise output encoding conversion cannot be performed.
    $ m# }; s8 n, h8 e
  961. ;iconv.output_encoding =
    1 M' W1 w9 b% x
  962. 3 i) e2 m; }% U/ a! M- i
  963. [intl]2 z! {" G6 U' o1 b( a. V! Z" x
  964. ;intl.default_locale =
    6 L9 R1 e# V4 X+ ^( {
  965. ; This directive allows you to produce PHP errors when some error8 y- }. ~9 j2 |  J5 m5 M" z
  966. ; happens within intl functions. The value is the level of the error produced.. U3 [. d1 X# }5 u5 s9 d
  967. ; Default is 0, which does not produce any errors.
    " F8 z" N4 Y4 J2 i; T
  968. ;intl.error_level = E_WARNING
    0 K0 @2 S! k& g6 Y# `! S
  969. ;intl.use_exceptions = 0
    8 Z5 I. o7 T0 \, c' _. F

  970. ! t2 K; t4 f; Z& v
  971. [sqlite3]; t7 u3 h/ q, n; f1 @1 Z5 R+ k  Q
  972. ;sqlite3.extension_dir =) A# p/ n3 }# M" \  Z

  973. 1 m6 n+ ]% Y" J& r0 {
  974. [Pcre]
    9 j" i+ ]( D  A- b# V0 i
  975. ;PCRE library backtracking limit.: h% g8 }% J# ^( C# t  e3 U
  976. ; http://php.net/pcre.backtrack-limit3 P- P3 w5 m# ^
  977. ;pcre.backtrack_limit=100000
      Z: f% [+ S" S1 A8 U

  978. " e5 r& x# w* u7 G2 L0 h
  979. ;PCRE library recursion limit.
    # b4 \; i! E& e  o
  980. ;Please note that if you set this value to a high number you may consume all+ @4 o0 b4 ]2 D( W6 ?8 ~$ Q
  981. ;the available process stack and eventually crash PHP (due to reaching the
    0 @+ V1 s9 p$ c
  982. ;stack size limit imposed by the Operating System).
    4 g( O  |9 t. j- {( D
  983. ; http://php.net/pcre.recursion-limit
    0 j( f# z+ R! k6 j  @
  984. ;pcre.recursion_limit=100000
    2 _' I/ ?! X  Q  [# u# w5 U
  985. 7 P4 v) t# K5 _: N; w) \; R
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    - y: `6 D$ }1 J- i
  987. ;library to be compiled with JIT support.
    $ }# B, V$ l' _4 L" Q# F  d; P
  988. ;pcre.jit=1
    ! W) o& }( E- n/ a1 S" w1 J: l

  989. 2 x) X: g' S* I  y, s+ X, I
  990. [Pdo]9 E; [6 q* ]# F$ [
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    % m. |8 _4 d1 I8 P
  992. ; http://php.net/pdo-odbc.connection-pooling
    . M; a! N3 u  U5 ^: C1 A2 G5 b& z  Q
  993. ;pdo_odbc.connection_pooling=strict
    5 y$ u* X# L# r/ y

  994. $ p" j( C( W/ n( \, k( Z
  995. ;pdo_odbc.db2_instance_name+ k6 i3 @0 m1 I0 G# y: C

  996. : o/ h, Q0 l+ r) }  P+ J7 M
  997. [Pdo_mysql]
    & s1 k/ ?7 J* K- u2 X/ `) r! z' k
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    * [5 i6 s, p. K
  999. ; http://php.net/pdo_mysql.cache_size* _, e0 \0 _9 J/ Y
  1000. pdo_mysql.cache_size = 20001 Z, q: u* O3 V/ p$ o* e
  1001. + g& Z; }! s4 e: S& d# t5 M9 n" \
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / o9 d  s, E, j( J) ?
  1003. ; MySQL defaults.
    ) T3 w% v8 ~2 I, }
  1004. ; http://php.net/pdo_mysql.default-socket
    + S+ f) b! C4 ~& o$ ?5 R; `. x
  1005. pdo_mysql.default_socket=( V6 F' w8 S( p4 C/ R( d- V$ }: ~
  1006. + p+ p1 B8 \0 E0 D# l6 r
  1007. [Phar]
    0 r- L8 O# m; d# |
  1008. ; http://php.net/phar.readonly5 ^% T1 E, |2 S2 p- Z
  1009. ;phar.readonly = On4 q: N; b  h7 [5 x
  1010. 9 b5 ~6 q6 x' U3 Z5 M& y) n) I9 B# I
  1011. ; http://php.net/phar.require-hash) f- X1 a' {9 u8 S8 Q
  1012. ;phar.require_hash = On$ q" {; Q" K- x

  1013. ' J. x. D' I/ u
  1014. ;phar.cache_list =
    6 Z# m$ D* p, L

  1015. ) `5 I; |4 N) D
  1016. [mail function]' B1 q+ }1 L. [* t2 f
  1017. ; For Win32 only.
    : _- N4 b9 j8 ?! ~' j4 N6 l2 D
  1018. ; http://php.net/smtp- B2 S. a% `0 D* A4 G6 D6 q  X; P
  1019. SMTP = localhost
    7 }& r* k/ ^2 T8 T1 n7 F
  1020. ; http://php.net/smtp-port1 Q  G$ i, s2 y& p: r4 n& ^1 u
  1021. smtp_port = 25
    # W& ?5 I" P; y* |& h; N& j6 k
  1022. 7 k# `. Z: ?3 v2 E8 U
  1023. ; For Win32 only.0 h$ q: b& `1 {1 ^  j3 r8 B
  1024. ; http://php.net/sendmail-from% E! g9 s- y5 @8 p, K
  1025. ;sendmail_from = me@example.com
    ' ~: q3 t" i" L
  1026. 1 B8 |- n. h# J3 z: R; F' Z4 S# b
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    3 D, @; n. P: t
  1028. ; http://php.net/sendmail-path
    * p' Y4 S) _$ w
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    / o% o" W, X- y7 ^- X! P

  1030. 7 M5 Z  T6 W3 V7 I7 _
  1031. ; Force the addition of the specified parameters to be passed as extra parameters$ s1 w( Z8 r3 j# w9 A* B
  1032. ; to the sendmail binary. These parameters will always replace the value of) d; s# K2 u6 A% S
  1033. ; the 5th parameter to mail().
    7 u( Z8 g2 {3 r' u# m. Y* }' X" O
  1034. ;mail.force_extra_parameters =1 G9 S* a9 b5 N! ^
  1035. 8 o5 a% }& k0 ]5 U* Y' t6 X, W
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename' G5 k/ y5 T: s" B9 H
  1037. mail.add_x_header = On
    0 ]' Z: Y" p& P2 A

  1038. ) Z# S1 k% V+ F, x
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    6 I  C4 m! E) C9 p. }* C
  1040. ; the full path of the script, line number, To address and headers.
    1 }3 f$ U; ^& P7 }
  1041. ;mail.log =, B9 u- d9 S: r0 q7 @
  1042. ; Log mail to syslog (Event Log on Windows)." @- k7 n3 \' d6 Y  y' V- R
  1043. ;mail.log = syslog
    9 T3 o- r' @$ i/ g6 Z% m! f2 }$ w6 m

  1044. 1 w6 ~# z; |  d; l: l( \3 l  t# {
  1045. [SQL]7 A' n3 Q$ ]) W* G( }+ t
  1046. ; http://php.net/sql.safe-mode. n. \% H9 v! h0 |9 X/ C
  1047. sql.safe_mode = Off
      x1 P1 |1 k) y3 q

  1048. : O7 v9 X7 V! @0 w0 _2 k7 c$ D9 E: Q
  1049. [ODBC]. g0 v. w6 Y: _( L
  1050. ; http://php.net/odbc.default-db
    3 g! N- x" y0 u, A* W* S3 L, q2 g
  1051. ;odbc.default_db    =  Not yet implemented
    5 p, M; E3 T, }; g, \* N
  1052. * K9 w) t- T. R  Y' F
  1053. ; http://php.net/odbc.default-user
    / t- y. V$ j6 f& U! p
  1054. ;odbc.default_user  =  Not yet implemented
    0 x8 l) t2 J7 o9 \1 t4 x0 k) p
  1055. $ l* A2 u  ?+ B
  1056. ; http://php.net/odbc.default-pw
    / U& v/ A2 H1 i6 T" {
  1057. ;odbc.default_pw    =  Not yet implemented: z3 U- [; O$ |, e
  1058. 0 r! x( u1 g3 H! u. W
  1059. ; Controls the ODBC cursor model.
    1 K2 n) C- d6 E1 A+ N: M  O6 ~9 u
  1060. ; Default: SQL_CURSOR_STATIC (default).
    5 M5 H% R7 h: S& `# Q$ ~% V
  1061. ;odbc.default_cursortype" v. c  `6 B: _) Y- ?# n) q

  1062. $ B' j# H9 F1 o- K2 l  Q9 M/ [: e  d
  1063. ; Allow or prevent persistent links.5 p( }( d- V8 s$ \  t1 R1 Y
  1064. ; http://php.net/odbc.allow-persistent* F! B7 ~" q$ G0 ?
  1065. odbc.allow_persistent = On
    5 m0 S! I4 U% r: S% H3 P( n) h
  1066. 9 S1 s- z, d+ K7 V. K& @
  1067. ; Check that a connection is still valid before reuse.
    ; p; {/ c" `, j
  1068. ; http://php.net/odbc.check-persistent
    + p+ g0 f! f' e
  1069. odbc.check_persistent = On
    1 O$ [  r- @9 C9 y) n

  1070. 7 u0 y( L  }- N- ]
  1071. ; Maximum number of persistent links.  -1 means no limit.
    * D) M3 Y1 F) P6 t& ]: Y# I: j2 c
  1072. ; http://php.net/odbc.max-persistent% ?/ G/ e# z% B% M% d# @
  1073. odbc.max_persistent = -1
    5 ~. J, e; r3 Y* y* g

  1074. % j$ u9 j1 u, `0 F4 A
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 Q7 m, S$ e. F3 {& J4 \5 d
  1076. ; http://php.net/odbc.max-links
    & i" h8 L# [- O& ?: `# W' t1 p% @
  1077. odbc.max_links = -1( `1 q6 M5 F5 P" j; h0 o0 L
  1078. 6 x0 A5 D5 _1 M( u8 m* Y, N: ?: d
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    & ^" B5 k/ j# w  b  x) v
  1080. ; passthru.' S7 V( y7 e8 u% H
  1081. ; http://php.net/odbc.defaultlrl
    ; p: x: w: ?9 N9 L$ E
  1082. odbc.defaultlrl = 4096" Q2 h7 R0 I$ f6 e% S

  1083. : Y! _5 n8 V, b9 M/ R" e" W6 c
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.7 R# h% V1 V& c
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation* @5 L& z! G& p
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    0 l6 T8 }% _( p. f
  1087. ; http://php.net/odbc.defaultbinmode2 U7 v/ M: g5 ?8 u
  1088. odbc.defaultbinmode = 1; S: y8 c9 |9 k( n1 U/ u* E1 Z

  1089. $ c+ v% A' ?% w1 R4 [3 V+ b) k, R
  1090. ;birdstep.max_links = -1
    ! @  F! S" g# ^! W2 [' H
  1091. 7 d, g" @1 g# s# d# {
  1092. [Interbase]
    3 t2 f2 O! v* I5 H6 x
  1093. ; Allow or prevent persistent links.
    & ]# M. {( j- v: U5 j
  1094. ibase.allow_persistent = 14 U# S7 G! i. X! t1 s# q9 s
  1095. 9 f% s/ b! ]) @, ]
  1096. ; Maximum number of persistent links.  -1 means no limit.
    0 R; K* f* E- ?; d/ {* _% s8 t
  1097. ibase.max_persistent = -1
    $ S) h  C. b6 u' i! S. p& f

  1098. ' J. m8 n0 r' l/ Q
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 O  m/ a2 L) O+ q# C0 u* h
  1100. ibase.max_links = -1  l/ L) o( |' E6 z, i% X' q% B6 b

  1101. / b3 k6 P. m6 q* H5 N5 l. O
  1102. ; Default database name for ibase_connect().) h; \/ q( Q* y* d/ c0 W
  1103. ;ibase.default_db =
    - D5 l; h9 t8 x/ S9 k
  1104. 6 \3 o1 X0 d0 K
  1105. ; Default username for ibase_connect().( k! S5 ^, ^& c5 z5 e( @) d
  1106. ;ibase.default_user =
    : F) K8 V5 h. w8 t

  1107.   K. e8 |! J% Y# e  ?7 ]9 J
  1108. ; Default password for ibase_connect().
    7 R; D& f# m8 g  Y9 w
  1109. ;ibase.default_password =
    ! q+ D% X1 m# i! e1 Q' Q
  1110. 1 W5 d4 {& `1 W
  1111. ; Default charset for ibase_connect().
    : R- E' D( }/ {9 ^
  1112. ;ibase.default_charset =
    / {% o/ M: A% \. u9 T

  1113. - ^! [: h, a$ G8 k7 J7 V! ]7 `
  1114. ; Default timestamp format.- ?$ ~8 v- E. x5 m. J; b9 \- \9 r
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"" v4 _; Z3 J+ b: ?% R9 \

  1116. % z$ |) L, L6 ?
  1117. ; Default date format.
      O. V: y9 ?- i, U
  1118. ibase.dateformat = "%Y-%m-%d"0 N" p3 H* _8 {( G& X! V
  1119. 9 M0 D3 M6 j5 G5 F+ F
  1120. ; Default time format.
    : K1 H' _+ s' b! c4 y# F
  1121. ibase.timeformat = "%H:%M:%S"
    , r6 r7 I& M/ N  K, G: |6 v

  1122. * z3 p, ]- m, J! w
  1123. [MySQLi]: G6 A3 \% L1 ?3 X+ V

  1124. 7 z8 h4 t! T7 l
  1125. ; Maximum number of persistent links.  -1 means no limit.. U4 ?: h& i6 f, ^
  1126. ; http://php.net/mysqli.max-persistent# l  F1 V# ~' _( a# w
  1127. mysqli.max_persistent = -1
    $ _! s- W; e* v' g
  1128. - M2 k4 O9 P" @8 F
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    + k  {% C$ K% x! F) ?' Z
  1130. ; http://php.net/mysqli.allow_local_infile4 w! l8 c6 M' @9 J4 j  m
  1131. ;mysqli.allow_local_infile = On) b( b* `' U* [1 M& i( @) z0 y( d

  1132. / R+ Q- y* e7 T) \; I2 V
  1133. ; Allow or prevent persistent links.
    5 D5 Q7 n" \! J2 F7 G* v
  1134. ; http://php.net/mysqli.allow-persistent7 N  l5 [1 B* U/ ^0 |! i
  1135. mysqli.allow_persistent = On  @- N/ _! s& r5 V" }. f

  1136. % f2 f7 u+ |7 v0 u1 i  Y  F
  1137. ; Maximum number of links.  -1 means no limit.& }4 I- ?3 z+ p# g
  1138. ; http://php.net/mysqli.max-links
    9 I2 D9 z" m1 k5 q! i* q, P
  1139. mysqli.max_links = -1: u6 x: q* x) M" d

  1140.   P2 j3 ?0 u. S7 R; w
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ Z( H& U7 h, p7 i
  1142. ; http://php.net/mysqli.cache_size
    ! B" \$ E" k* y  g: G, w5 W3 G
  1143. mysqli.cache_size = 2000/ o1 N. g. V* g1 H  _% |
  1144. # s+ A3 \( U8 Q% _
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use! @9 Q- c& y' e
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    , Y2 F: G: [7 P
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look" b9 f9 `. g4 l" s
  1148. ; at MYSQL_PORT.6 }8 N/ q7 R0 P( B3 b
  1149. ; http://php.net/mysqli.default-port
    6 `- r* o# u- J. Y1 z$ o9 m
  1150. mysqli.default_port = 33065 A$ L  p! V6 U! Q4 D

  1151. 6 P/ Q' r/ z9 }# N
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : Z4 M6 E. c) G6 i8 r- z& x5 @" }
  1153. ; MySQL defaults.
    % w1 ]; _! j) p8 y2 o
  1154. ; http://php.net/mysqli.default-socket9 g5 y" C( X% E) t$ Y" \
  1155. mysqli.default_socket =
    # ~9 q1 c6 T: Z
  1156.   b! T$ c' q6 ?2 d
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).1 }" {- m( U+ a* t+ N, ]' q
  1158. ; http://php.net/mysqli.default-host
    # J9 F8 C+ G! p- Y# D) G
  1159. mysqli.default_host =
    1 |7 s  J$ w! j/ z8 n  [7 t& Y- @- j

  1160. : K; a5 M7 O$ [, d- @) u
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).# g. e( {3 @  Z' s
  1162. ; http://php.net/mysqli.default-user
    5 I" E8 j: [9 z  M" S
  1163. mysqli.default_user =2 v7 _$ _3 t7 b1 H7 ^
  1164. 2 o$ j8 E5 P4 ?& `4 [
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    5 D8 x! `% d) d1 r4 C" \/ T! P
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.9 l- a2 n' e/ H) p8 V9 |
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ) d' w5 h) V; c
  1168. ; and reveal this password!  And of course, any users with read access to this
    : ?/ {( m0 d# N7 e( b5 Q
  1169. ; file will be able to reveal the password as well.3 N5 E% F" A+ I: L3 \# P, Z8 `/ T" f8 V
  1170. ; http://php.net/mysqli.default-pw
    . C, V. h/ j, G& K) X5 T
  1171. mysqli.default_pw =
    / W3 G8 C( o6 c2 _3 R! m6 X
  1172. 5 q1 T4 R( g/ w" J
  1173. ; Allow or prevent reconnect+ B: U. Z' I# u( _
  1174. mysqli.reconnect = Off
    * B' D/ @- }. S
  1175. 2 W/ P; g- b: ~% p# Q, G, q: O, J: v
  1176. [mysqlnd]* y0 E5 M! J+ ?5 `6 X* o
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ' [- \4 Y. K3 ~
  1178. ; used to tune and monitor MySQL operations.
    8 W+ ~3 m: ?" X8 x
  1179. ; http://php.net/mysqlnd.collect_statistics
    ' ]+ `$ g% o: u+ N
  1180. mysqlnd.collect_statistics = On
    0 A8 x" O$ z, n$ h6 w

  1181. & P1 u; Y- w* j) O3 a! r4 H4 a
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be$ |& h" G! V7 m! V
  1183. ; used to tune and monitor MySQL operations.
      T. D9 n9 k9 o$ X  R, H( Y( F
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    : m' ]: e- J% ?+ y9 r- N
  1185. mysqlnd.collect_memory_statistics = Off
    # L, v- x! u. t1 ?' n7 a8 W8 G
  1186. / R. u1 Q  i. |* c+ G* X
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    6 Z4 G: I3 @4 T: t6 H! w
  1188. ; file.' @8 i0 p! Z8 V1 o+ g; ^/ M: b# O3 H
  1189. ; http://php.net/mysqlnd.debug
    % n9 y3 H) O( ^, s( ~
  1190. ;mysqlnd.debug =
    ) ?% ]! _8 l( r/ J8 f
  1191. & q2 i# p( b5 C% P" c1 k
  1192. ; Defines which queries will be logged.) ~- A/ [; Y( H8 Y& h- C; }
  1193. ; http://php.net/mysqlnd.log_mask; ?8 ?% S+ b- `$ P
  1194. ;mysqlnd.log_mask = 0
    5 `  a* ^- p3 h* k# h
  1195. # q; U5 J  H$ i1 {
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    - l, k7 N  t8 c8 I' T& X
  1197. ; http://php.net/mysqlnd.mempool_default_size( ^  E$ r1 Z# p/ p9 ]) x$ x
  1198. ;mysqlnd.mempool_default_size = 16000
    + b( W. E) e/ o
  1199. : F7 B) m6 J: ?* @- s' R
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.4 }* g8 b, M  u
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    / q# }1 n1 A2 U: T& T, K
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    # B+ t9 l$ }( q7 S; i
  1203. . y) \/ C& a+ Z7 V6 x
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in$ h+ i$ |) B+ I" O
  1205. ; bytes.
    % a3 Q6 R3 C9 w5 L7 t
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    0 A/ R* C5 I* u5 T( J
  1207. ;mysqlnd.net_read_buffer_size = 32768
    3 Z; w' I2 _! V! W* {' U# B

  1208. + L0 |8 S1 A6 g, {  e& {9 A
  1209. ; Timeout for network requests in seconds.* ^  d+ k3 L; e& L
  1210. ; http://php.net/mysqlnd.net_read_timeout! u' _( u9 {6 C& u8 l2 J1 u
  1211. ;mysqlnd.net_read_timeout = 31536000- }8 c/ v5 O" d: A9 S

  1212. ( I# v- N; d( c
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ) n+ ]& P3 Z6 S) a" D4 E+ z) y# d
  1214. ; key.6 c* A  J% o. M$ q0 E. H
  1215. ; http://php.net/mysqlnd.sha256_server_public_key/ t: F* c$ ^; _7 I
  1216. ;mysqlnd.sha256_server_public_key =
    6 w. t' A4 o0 s4 m6 O
  1217.   @; h1 }/ l9 Y7 {
  1218. [OCI8]. ]( T+ R% h4 u* K1 _
  1219. 6 j9 D/ \6 t1 [3 V+ y
  1220. ; Connection: Enables privileged connections using external
    $ A0 r/ L( J! }& U( [/ d2 i
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    6 Y( F2 L* W, J' B* x, E$ d6 h$ f0 S" f
  1222. ; http://php.net/oci8.privileged-connect
    5 e7 N6 H8 C. e$ K$ R1 G
  1223. ;oci8.privileged_connect = Off( |* W; [  t. X5 W5 m
  1224.   `8 [# f6 |( S7 i5 U, \5 r) P
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    ' |7 e9 @: c4 t- t
  1226. ; process. Using -1 means no limit.8 u" w. G8 p9 R) H8 V$ h/ C
  1227. ; http://php.net/oci8.max-persistent
    3 {4 S2 i) e& R. ^# s
  1228. ;oci8.max_persistent = -1
    9 S. V; Y- L0 L2 \7 v
  1229. $ m7 y# W9 s: Y  M" J8 i
  1230. ; Connection: The maximum number of seconds a process is allowed to3 M6 T# K- I1 Q, A
  1231. ; maintain an idle persistent connection. Using -1 means idle  j- g$ W! l; q. d3 C* f5 W! N
  1232. ; persistent connections will be maintained forever.
    & I$ G, G& X4 x& z; y
  1233. ; http://php.net/oci8.persistent-timeout
    ; u& b4 I$ K. r9 x' h
  1234. ;oci8.persistent_timeout = -1
    " J# y2 n9 s+ d( t* x

  1235. - r* c$ ^6 [: J( J3 m
  1236. ; Connection: The number of seconds that must pass before issuing a: E1 c- Y2 C' h8 {& n1 A9 j
  1237. ; ping during oci_pconnect() to check the connection validity. When. k3 q( k- [; S9 ]% A' u
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables, X& m, d3 Q: _3 T. Y
  1239. ; pings completely.
    % `( M. E, F( Y* E/ g
  1240. ; http://php.net/oci8.ping-interval- m- U5 ]' o6 w( @  r2 a  J0 h# J3 g
  1241. ;oci8.ping_interval = 60
    & \5 T# e9 a1 E! w
  1242. 6 d0 O' I2 f$ M  ~
  1243. ; Connection: Set this to a user chosen connection class to be used
    ; N, {; k: F- U
  1244. ; for all pooled server requests with Oracle 11g Database Resident
      O2 b- E- I/ \, A
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    & z; H( ^4 T* ~# X4 W$ \
  1246. ; the same string for all web servers running the same application,; `* W6 X/ E( g
  1247. ; the database pool must be configured, and the connection string must1 V+ X5 x/ D8 U+ h( r( ?
  1248. ; specify to use a pooled server.
    4 L( t: F# y/ F
  1249. ;oci8.connection_class =
    7 m/ X+ n5 k2 C

  1250. ; ?9 y0 u7 y% m' R
  1251. ; High Availability: Using On lets PHP receive Fast Application
    $ i# R1 Y5 m# e, F' H, j
  1252. ; Notification (FAN) events generated when a database node fails. The
    9 o7 B  V% z0 R8 l' @
  1253. ; database must also be configured to post FAN events.- }( R6 V- E" Q: y; k
  1254. ;oci8.events = Off
    ) ~! h' T3 ~* M3 o
  1255. 4 r8 y4 ?3 }) d$ R! x& B5 s' q
  1256. ; Tuning: This option enables statement caching, and specifies how8 K4 I! A) g1 [2 Y, l
  1257. ; many statements to cache. Using 0 disables statement caching.
    9 j0 S+ b  g4 P/ b3 m
  1258. ; http://php.net/oci8.statement-cache-size
    8 D- O: u4 t$ V
  1259. ;oci8.statement_cache_size = 20+ v2 b" S9 |4 [7 T' p% k+ |3 R
  1260. 3 J# E% T/ l- H1 `. y8 e; P
  1261. ; Tuning: Enables statement prefetching and sets the default number of+ N2 G/ B) _; R' [6 g
  1262. ; rows that will be fetched automatically after statement execution.
    . n) c# T! G( v% B% o
  1263. ; http://php.net/oci8.default-prefetch6 x( B4 I4 A  d; R8 ~$ J+ N
  1264. ;oci8.default_prefetch = 100% S8 `3 G8 ~' p: ?

  1265. 2 O; E- N$ I+ K  \# y
  1266. ; Compatibility. Using On means oci_close() will not close8 a" N* S' W2 _! H' L) L6 ^
  1267. ; oci_connect() and oci_new_connect() connections.
    3 H* `& @- o: a" h
  1268. ; http://php.net/oci8.old-oci-close-semantics" {+ n' M' x: J: ?8 b7 D
  1269. ;oci8.old_oci_close_semantics = Off
    ( j5 z0 Q4 m' s0 R% ?

  1270. . t" h! }( X8 L1 a. ]- J: ~
  1271. [PostgreSQL]( z' f4 S" @% C# A3 k; _( i7 [$ R! W1 D
  1272. ; Allow or prevent persistent links.
    0 O# m7 B0 e! Q. A) L
  1273. ; http://php.net/pgsql.allow-persistent
    # H/ O: e( G2 \
  1274. pgsql.allow_persistent = On, ^6 A$ B# i) ]  }

  1275. ; M7 j1 O1 X- E1 t! c
  1276. ; Detect broken persistent links always with pg_pconnect().( Y7 R$ T: W7 ~  @, `8 b1 M
  1277. ; Auto reset feature requires a little overheads.6 g' `* h0 U" ~. h2 ^, U; a, f( u
  1278. ; http://php.net/pgsql.auto-reset-persistent- A. b$ Z& O. M3 K: o/ x
  1279. pgsql.auto_reset_persistent = Off6 i( T( f) E" v$ ]) [# X' o! W
  1280. ' N2 Z( u* d6 `! J: n7 @& D0 h' e% Q
  1281. ; Maximum number of persistent links.  -1 means no limit.. i# Y4 c& l  p& F/ e
  1282. ; http://php.net/pgsql.max-persistent
    8 K6 ^, }) ~9 n( Z, }9 j* M* w7 q
  1283. pgsql.max_persistent = -10 `1 G1 W2 j" a6 y  F

  1284. 0 E9 x0 [% s3 O6 \4 W
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.# [! g7 L1 D  |5 z/ ?0 S& h
  1286. ; http://php.net/pgsql.max-links6 T; Q; [$ W# _8 G6 w9 U- u
  1287. pgsql.max_links = -1
    5 ^4 l, W& H: O. c

  1288. 0 p8 A* `3 g, I1 t* t
  1289. ; Ignore PostgreSQL backends Notice message or not.
    ( u' i/ Q: Q0 d% M7 Q# S
  1290. ; Notice message logging require a little overheads.
    # r# J; z6 q; }/ C. s5 k0 m) t
  1291. ; http://php.net/pgsql.ignore-notice2 n+ \  X" h* e4 T: a
  1292. pgsql.ignore_notice = 0
    2 v# C5 J* Q! X: B) v$ i! [( ?

  1293. - k# F' ^4 N& r% j5 N% h/ }
  1294. ; Log PostgreSQL backends Notice message or not.
    7 G; h* N* E- D- b# u6 B
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.* p7 z) X5 o  s
  1296. ; http://php.net/pgsql.log-notice& Q8 q0 [; k+ g6 l7 S1 M
  1297. pgsql.log_notice = 0( l; V& U5 {& M% M( p3 r

  1298. 3 G/ l9 b  ^  c) y5 R1 S- ~
  1299. [bcmath]- }+ u: I2 }& W3 k+ w& ]
  1300. ; Number of decimal digits for all bcmath functions.
    2 g& I4 J% T$ e9 \- |8 v  d
  1301. ; http://php.net/bcmath.scale
    # {; |2 G6 l' C/ M7 g- u8 P
  1302. bcmath.scale = 0
    0 M) Z, C' [2 ]3 q4 ~% ^! S

  1303. $ f5 j+ T! F! M  ^8 U! ]' V
  1304. [browscap]5 f' W/ R/ B: V! }% a
  1305. ; http://php.net/browscap9 C9 H; V: T" i4 \8 L6 Y3 a% U# y
  1306. ;browscap = extra/browscap.ini
    . W* O) r; X' y6 g1 c( w- c% \

  1307. 6 E% U, l* U+ z8 ], ^. Z7 }
  1308. [Session]
    / g/ j' x* a+ m
  1309. ; Handler used to store/retrieve data.
    6 e$ ^: T" a7 |' A
  1310. ; http://php.net/session.save-handler
    ) u3 \7 {$ q% {4 `3 Y
  1311. session.save_handler = files( `! f, @& s0 i2 P2 }

  1312. ( m4 E5 {& K) |3 d% Q  O# ~* a8 t
  1313. ; Argument passed to save_handler.  In the case of files, this is the path6 |, T2 a9 N/ y1 Q- z+ ?7 C9 P9 u
  1314. ; where data files are stored. Note: Windows users have to change this
    # K7 a, l7 c4 K' {# B$ F) d  Q3 z
  1315. ; variable in order to use PHP's session functions.2 t/ P$ p+ D& G7 i
  1316. ;
    9 N* X3 L/ f& h* x9 _, s
  1317. ; The path can be defined as:
    ( J) a" H% k: Z, }. t
  1318. ;
    5 _. L9 S/ }) d2 ]6 n0 }& E
  1319. ;     session.save_path = "N;/path"4 V, f1 Z$ z1 n$ V& ^. L
  1320. ;
    & Y3 u, U* I$ D- l
  1321. ; where N is an integer.  Instead of storing all the session files in$ w7 a! c( J; t8 ^
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ! |# K1 B  u6 q# W
  1323. ; store the session data in those directories.  This is useful if
    ' V& ^, a5 M3 a2 n! b
  1324. ; your OS has problems with many files in one directory, and is
    % L" B+ y$ i: d5 t
  1325. ; a more efficient layout for servers that handle many sessions.( i9 D) [# D2 c+ q+ I
  1326. ;, Z" v* b+ B1 B$ e
  1327. ; NOTE 1: PHP will not create this directory structure automatically.7 K$ l$ k6 Z1 D8 Y3 H' @: O
  1328. ;         You can use the script in the ext/session dir for that purpose.8 h+ b6 m: J- m5 S, c8 |
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    ; y: h* D" Q. J
  1330. ;         use subdirectories for session storage7 k: f6 B$ k3 T! ]. e
  1331. ;
    % c# J3 h6 L7 v
  1332. ; The file storage module creates files using mode 600 by default.# e- E$ x% R1 z) r  p* ]9 \
  1333. ; You can change that by using$ d" l; j: L7 h
  1334. ;
    8 T! J' B6 ?* n$ N
  1335. ;     session.save_path = "N;MODE;/path"
    0 j% z8 C3 I. o! s
  1336. ;6 F( K/ I" ^/ T0 r( w; ~4 ?- i
  1337. ; where MODE is the octal representation of the mode. Note that this
    & U# ^% S$ Q, x. W# ~
  1338. ; does not overwrite the process's umask.* S) }; s0 E2 B; _5 p; X
  1339. ; http://php.net/session.save-path8 \& T7 H5 Y. h5 o- G( r6 G
  1340. ;session.save_path = "/tmp"
    3 k  f+ S6 s; |, m) B0 i( j
  1341. ! t2 F8 P* z& c9 v. v6 \
  1342. ; Whether to use strict session mode.: J& }( W4 {: `1 z5 i
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate# c' M0 A0 Y; Z. u
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects# C/ U& o8 s' m4 S
  1345. ; applications from session fixation via session adoption vulnerability. It is
    1 t4 h0 a. ^, v
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ( n) v% t- A5 W0 |$ L- u
  1347. ; https://wiki.php.net/rfc/strict_sessions7 E6 Q# f. n9 q' D. r. m
  1348. session.use_strict_mode = 0
    4 H0 b; K: ^! T' B, t  a) a9 {

  1349. " ?, u& h. M4 P
  1350. ; Whether to use cookies.
    7 q( h" t- ~, }
  1351. ; http://php.net/session.use-cookies
    : I/ d# E5 [+ U4 a* _& {, W( u0 L
  1352. session.use_cookies = 1
    : ?" q# |9 L% M, Q

  1353. * K2 z0 \2 v! o* ~) Z1 y3 ]
  1354. ; http://php.net/session.cookie-secure
    + A: m# q& p! y2 g# }) `/ s
  1355. ;session.cookie_secure =
    . y1 L* T% e  v  l2 Q" A  A

  1356. . W3 j2 L5 _- X
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    9 k) U  f8 a* L! O; a- {! r7 T5 q
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    + z' _$ J! {& q# T
  1359. ; session hijacking when not specifying and managing your own session id. It is  [$ A5 A9 h$ l0 P
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    # v, y4 X7 l' Z  G  r3 F! m
  1361. ; http://php.net/session.use-only-cookies
    7 N, P7 P" v/ k8 E( n$ @- B2 ]
  1362. session.use_only_cookies = 1, C9 U4 ~4 w3 h- p

  1363. 2 i, K( H4 S; s' _9 v, v
  1364. ; Name of the session (used as cookie name).
    2 |1 B% C6 D4 [1 X9 {, A
  1365. ; http://php.net/session.name
    & p0 C2 G& u( \! ~, Q
  1366. session.name = PHPSESSID9 O# L$ E- d' [6 F
  1367. ( E$ _6 L. Q4 \' d/ I: S
  1368. ; Initialize session on request startup." \, N7 h6 r. a5 e( o' X
  1369. ; http://php.net/session.auto-start
    8 |) f: S) x' @# E3 X" R
  1370. session.auto_start = 0
    / _+ g4 s7 a$ b/ W9 O+ X
  1371. 5 k4 `! j/ {  U$ ~
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.8 M  |4 c2 W; [5 ]8 D) \/ a; `& A
  1373. ; http://php.net/session.cookie-lifetime( V5 f$ M! K- `4 Z
  1374. session.cookie_lifetime = 0
    * }% N: Z5 u. }$ y- A

  1375. % R& q0 Q% Q- X; `( u% t
  1376. ; The path for which the cookie is valid.
    * G6 E% F0 o* u: S
  1377. ; http://php.net/session.cookie-path6 i$ `  O/ K0 _% O0 @
  1378. session.cookie_path = /
    5 w% E, G$ X: G; X1 W6 X) S3 B1 f

  1379. 4 G8 u: x$ {# D7 `: r1 f9 n
  1380. ; The domain for which the cookie is valid.
    , U8 Q! c' R1 p) b! N& I
  1381. ; http://php.net/session.cookie-domain
    4 C( n8 }- f8 ~/ T4 n0 N7 e) r  q
  1382. session.cookie_domain =
    4 `, B1 M! V4 J% A9 @

  1383. . }9 ]6 T0 `! ~  R" X) B
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    / L$ l* G* l6 ?7 |0 i
  1385. ; http://php.net/session.cookie-httponly
    8 ?6 X$ Z; D. r. o: u
  1386. session.cookie_httponly =3 L2 a% o+ U7 t  W* A
  1387. / e# |& I% g+ l6 _
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    . r5 z1 c. J6 N( g; B2 F
  1389. ; http://php.net/session.serialize-handler- o  `& A/ p* Q/ i
  1390. session.serialize_handler = php
    : f9 L$ x; z: l2 B, \6 a0 a/ h
  1391. - H0 y/ i3 \( n1 w
  1392. ; Defines the probability that the 'garbage collection' process is started* \0 E  l$ F- j
  1393. ; on every session initialization. The probability is calculated by using
    5 g2 W4 y6 a" W" c, j+ D$ p: [, G
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    5 f* D1 X5 b0 |" K6 Q
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    , Z5 t% l7 [/ B, V+ E
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    $ J5 n! G9 u$ X) `7 b, W' Z
  1397. ; the gc will run on any give request.
    4 T# R, J. J7 V# o
  1398. ; Default Value: 17 |2 E7 Y6 v+ {, a
  1399. ; Development Value: 1
    % `2 `- j( {# M& `/ q8 V
  1400. ; Production Value: 1
    " {; X* S6 X+ v  U- e1 Q
  1401. ; http://php.net/session.gc-probability: o7 x) y  p+ C1 Z1 |. s
  1402. session.gc_probability = 17 W6 w  x; C% l/ K
  1403. 7 o1 |5 ?- {& ]$ x1 v
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    * A! T5 v/ o( y% d% h  g! M) w0 P2 T
  1405. ; session initialization. The probability is calculated by using the following equation:. ?' M5 X& b, e- y) }
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and6 ^: z, X8 h- F8 o: ^
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1! e$ v9 t* o7 q6 C. s: v
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    . v" i- ~1 H* Q
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you1 m4 q% c: w0 i8 D( S* N2 q  u
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,/ G7 S2 Z' u5 s, A
  1411. ; this is a more efficient approach.% H5 P3 I7 [+ n) i
  1412. ; Default Value: 100: Q! A, ^$ F; x  K
  1413. ; Development Value: 1000
    8 d( k. S7 a3 P2 v, |$ Q
  1414. ; Production Value: 1000( |5 K$ q1 j0 @( x/ Q
  1415. ; http://php.net/session.gc-divisor
    7 S. p# C( r' j- W
  1416. session.gc_divisor = 10000 j8 A2 q! ^3 n/ O% A5 r0 z7 ^
  1417. ; l' J2 }# T: ?
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and9 G- m5 E9 _" A+ b9 Y
  1419. ; cleaned up by the garbage collection process.
    ) [: ?3 z2 J$ e( H. z1 A* l/ _. p
  1420. ; http://php.net/session.gc-maxlifetime
    " K8 O- N0 w- Q1 n) Y3 d' x4 i/ Q
  1421. session.gc_maxlifetime = 1440
    ! i: v& q! y' Q# Y0 O4 x, V, |$ l
  1422. 1 {- ~6 a0 U1 r- a2 z
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    ) T# s2 a3 [( O. a- O
  1424. ;       (see session.save_path above), then garbage collection does *not*
    4 E2 s5 G5 E6 w  R* a
  1425. ;       happen automatically.  You will need to do your own garbage
    - `/ h3 U6 t  a. K( s
  1426. ;       collection through a shell script, cron entry, or some other method.+ R  t5 R8 |+ K9 R  x
  1427. ;       For example, the following script would is the equivalent of0 a/ z; T4 H' |3 O/ s$ Z
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    " f  j" H2 t) B% U* M
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    + V2 x3 F# d5 O+ R8 z* J6 q8 y
  1430. , p4 r% r' ]3 p  I
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    6 G* T' H# a7 g. O6 y# k& o
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ; b2 A  j% G/ R6 o' B: O
  1433. ; considered as valid.
    * T, y; r  T# N4 H( @4 i0 K
  1434. ; http://php.net/session.referer-check2 N+ t9 z" T5 o0 V' J
  1435. session.referer_check =0 Z6 p* g! O, l7 T! ^4 g

  1436. 9 b# A# |# {+ G
  1437. ; How many bytes to read from the file.
    % b8 o7 y7 R! u2 e& o$ i
  1438. ; http://php.net/session.entropy-length
    ( c. o1 M! h) i
  1439. ;session.entropy_length = 32
    ' I. L. F8 x- X3 R
  1440. ) o0 r  ~3 y! }* N
  1441. ; Specified here to create the session id.
    9 c+ y) X& q$ I, C4 e
  1442. ; http://php.net/session.entropy-file* W' G* a0 |) J5 u9 c
  1443. ; Defaults to /dev/urandom
    , R5 G  g+ C9 o% v1 f: k3 p. E1 f: X
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    6 l5 c, I1 C3 _7 b. _: o
  1445. ; If neither are found at compile time, the default is no entropy file.
    % F  l$ h) X- V/ [3 T
  1446. ; On windows, setting the entropy_length setting will activate the
    , F2 Q6 l# F, `. r! T) R. f* N
  1447. ; Windows random source (using the CryptoAPI)! X, O4 b4 u! Y  j4 G9 Y8 m
  1448. ;session.entropy_file = /dev/urandom
    + k  D: Q6 x( K8 K: P
  1449. ) R( m, @, c5 x7 J& r
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects  o- J$ z* v, D9 _
  1451. ; or leave this empty to avoid sending anti-caching headers.1 _, g/ @$ m' D, ^! q$ ]
  1452. ; http://php.net/session.cache-limiter
    , ^& h$ d' {+ Z+ c
  1453. session.cache_limiter = nocache
    1 d6 ~8 Q! T) C

  1454. 3 @- v& a& T7 S0 ~
  1455. ; Document expires after n minutes.- g" M5 N& @% _- [4 p
  1456. ; http://php.net/session.cache-expire
    % F; W+ M: w* m+ E; s" _
  1457. session.cache_expire = 180
      Z- y+ W' B; T# v
  1458. # }( n4 ~% i9 A- M. i4 H0 r- T
  1459. ; trans sid support is disabled by default.
    6 |" c# j+ ~& D/ t# T2 n
  1460. ; Use of trans sid may risk your users' security.
    ' C9 ]& `; T7 ?1 I9 V
  1461. ; Use this option with caution.
    4 R+ Y- X" P) ?- N7 A
  1462. ; - User may send URL contains active session ID+ q, h" t% C7 B& R) h  x5 y4 V9 V
  1463. ;   to other person via. email/irc/etc.- }) w$ L' C7 R/ d
  1464. ; - URL that contains active session ID may be stored
    ! b5 D1 [6 N9 Z4 m
  1465. ;   in publicly accessible computer.
    2 s4 m0 X, A( k" \0 b! x
  1466. ; - User may access your site with the same session ID
    9 }/ ]. J9 [4 I! x
  1467. ;   always using URL stored in browser's history or bookmarks.
    & H6 Y8 n' f1 U* P( t) P7 m1 r
  1468. ; http://php.net/session.use-trans-sid
    9 V; j1 B) e/ s& U" b/ J
  1469. session.use_trans_sid = 0
    1 ^6 `- X* L" `$ v

  1470. ' f: w4 g: {7 M4 P5 L7 C2 Q
  1471. ; Select a hash function for use in generating session ids.% g$ h3 |! C1 o) A* [* ?
  1472. ; Possible Values- k2 j# ~* B1 \- p% V' s( K3 t# T
  1473. ;   0  (MD5 128 bits); t5 J/ c  p6 z  f
  1474. ;   1  (SHA-1 160 bits)
      V; E; ^4 C/ n, q1 a
  1475. ; This option may also be set to the name of any hash function supported by
    , N- f- C7 I7 p$ Q) n# V& c4 ^( ?
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()% ~; X' w# b1 x# }2 \* k* d
  1477. ; function.
    8 I* z7 V* r4 r- |" B' u
  1478. ; http://php.net/session.hash-function/ S& z3 q/ X% S8 |
  1479. session.hash_function = 0
    2 V* t3 U, g3 ]/ ?. ~
  1480. 3 }5 r! Z& Z, M
  1481. ; Define how many bits are stored in each character when converting/ s' }* A$ C* E6 w2 S
  1482. ; the binary hash data to something readable.% l+ Z1 N# ]4 C, L5 F: M( h. _& o
  1483. ; Possible values:
    2 w9 h+ I% A: |" r
  1484. ;   4  (4 bits: 0-9, a-f)
    ! d, }9 W+ P2 C) R2 D
  1485. ;   5  (5 bits: 0-9, a-v)' E1 Z) e8 u& _  ?
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")6 h: C8 _" P9 L$ x
  1487. ; Default Value: 45 I/ H% M9 ]# p4 _0 O
  1488. ; Development Value: 55 ?$ ]7 v; V# V% A5 l: Q
  1489. ; Production Value: 5
    $ U9 `0 [" J3 _5 C, ~( ]" f
  1490. ; http://php.net/session.hash-bits-per-character
    ) g5 `, Q) [) ^* l3 z9 E
  1491. session.hash_bits_per_character = 5
    1 y3 D3 W5 a' K% @: H

  1492. 7 v- h+ L2 F# i! H5 H9 w# g) P
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.- U/ d/ J: i2 g# e$ z
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ! S7 H! }) f6 H* b3 U: E6 h* l
  1495. ; add a hidden <input> field with the info which is otherwise appended
    ; Q5 \% h& V' g
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    , I  X3 K( L$ H3 e$ W9 t  p( |
  1497. ; Note that all valid entries require a "=", even if no value follows.* D8 ^8 Y( R+ W! ?% R; N9 i
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="9 l4 J3 o# [  Z
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % [0 e6 C6 ~0 W- X
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % d5 l1 E  X! f1 H; h* H
  1501. ; http://php.net/url-rewriter.tags7 f; W, a+ m) P) P
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! r- P4 ?' v& c2 @# I0 H+ X

  1503. ! l) \, l$ `; Z
  1504. ; Enable upload progress tracking in $_SESSION
    & {1 c6 q3 W( S! o$ S( N! ^
  1505. ; Default Value: On
    2 t9 t3 o7 W( j# r
  1506. ; Development Value: On) Q1 Z8 A9 m6 ^% i( [# d
  1507. ; Production Value: On" b: b0 e% k; C. s+ g
  1508. ; http://php.net/session.upload-progress.enabled, F8 |* Q- y4 ]8 F5 t9 C, q7 f
  1509. ;session.upload_progress.enabled = On
      W+ T" J5 c6 [% T$ ^( {

  1510. 8 Q/ e* n0 |' p3 w$ T$ e) Y
  1511. ; Cleanup the progress information as soon as all POST data has been read
    % H5 p* x# u3 ?6 }% [& f8 T& |
  1512. ; (i.e. upload completed).
    7 e" g9 F; g5 H6 T; O
  1513. ; Default Value: On8 d- @3 j% t) x8 w. ]- B: {. c3 N7 Q
  1514. ; Development Value: On
    # ^) F& R5 t* M
  1515. ; Production Value: On
    ) K) |, u, W' ?4 W: k0 n7 G1 |
  1516. ; http://php.net/session.upload-progress.cleanup4 T) N: r- t1 Q3 B
  1517. ;session.upload_progress.cleanup = On
    9 j! O$ e4 f4 ~
  1518. 2 E- X6 v; W/ s; a: F& Q
  1519. ; A prefix used for the upload progress key in $_SESSION
    5 X1 E2 [3 O3 K# x. {
  1520. ; Default Value: "upload_progress_"2 ~) u# [! p1 @' Z" ~
  1521. ; Development Value: "upload_progress_"; H" q& t  n% v7 t
  1522. ; Production Value: "upload_progress_"
    , A) Y) c2 {+ _1 t1 Z" N
  1523. ; http://php.net/session.upload-progress.prefix
    * O, X8 O7 |8 W5 u: @
  1524. ;session.upload_progress.prefix = "upload_progress_"
    + ^. v0 G6 |2 i$ E' i* ?2 X. i: T; f
  1525. % E+ }, ?5 a- j) h
  1526. ; The index name (concatenated with the prefix) in $_SESSION; l3 s2 \8 V! r( y. j9 e
  1527. ; containing the upload progress information! z: `9 G7 `( u" u
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # F& e9 r4 u, D" h& h
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # y, N; Y. j3 s" L* }4 I
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"' j/ G5 g1 a: m. c# }5 p$ ~
  1531. ; http://php.net/session.upload-progress.name
    8 R4 U' l# |% g4 ^* D
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"! |. j& C, ]7 a: B* f' t7 }3 {/ V; w
  1533. # ^% j6 T1 `9 f+ L! ?( b7 p6 z
  1534. ; How frequently the upload progress should be updated.% }. D4 J" u, B+ ^. _
  1535. ; Given either in percentages (per-file), or in bytes- G: g  \7 l- J7 k, m
  1536. ; Default Value: "1%"
    0 h6 C& I! p) I, J9 }: H$ H
  1537. ; Development Value: "1%"/ j( Y* h2 L$ Q6 d) R
  1538. ; Production Value: "1%"
    8 ~; S3 G# H4 }( v( C  J$ _
  1539. ; http://php.net/session.upload-progress.freq6 g5 E% r4 {7 |! W
  1540. ;session.upload_progress.freq =  "1%"
    6 s7 W0 G2 o1 C

  1541. 8 U7 L0 t8 a; x1 P( `' B/ u
  1542. ; The minimum delay between updates, in seconds
    $ F8 E3 r; q' i4 K: G: q
  1543. ; Default Value: 1
    5 B* u  K' x0 \" W8 {
  1544. ; Development Value: 1
    8 C$ ^% x" J3 K% x$ y) M2 B; o* m
  1545. ; Production Value: 1# u# \8 Z; }4 X
  1546. ; http://php.net/session.upload-progress.min-freq6 g# ~/ H! |. r" E/ c( C8 [: n
  1547. ;session.upload_progress.min_freq = "1"
    + R! P( @5 c; f, e( w8 B8 a$ J" ]2 h" L

  1548. 2 B: m4 h+ r0 M* X) |! B
  1549. ; Only write session data when session data is changed. Enabled by default.
    2 t& ~) Q% D" t/ ?8 B7 Y
  1550. ; http://php.net/session.lazy-write
    : Z; V+ P; S2 {9 q1 o
  1551. ;session.lazy_write = On) T8 W" u6 \  W) Q0 ]0 D* s5 ^
  1552. ' |5 ]2 U) u+ d0 Y; y: b
  1553. [Assertion]
    " o8 g, @  X8 n2 H4 I& @% f! f
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    8 b9 I, M* b# l, m+ X
  1555. ; -1: Do not compile at all
    ; U! o& O# W/ {
  1556. ;  0: Jump over assertion at run-time
    " A# r* l: N7 u  h4 q( ?; a
  1557. ;  1: Execute assertions
    3 w! I/ d6 C) {+ ~
  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)
    4 w; P# Z, n. K9 v, W: `! B
  1559. ; Default Value: 1; f! S# H$ m- u
  1560. ; Development Value: 1
    1 o1 Y/ ?9 j- ?/ G* O8 n* D1 |
  1561. ; Production Value: -1
    7 k- M+ q: m# f9 F
  1562. ; http://php.net/zend.assertions! b3 I# y4 M9 S, F
  1563. zend.assertions = -1
    ' ?" J( w! `  x: x! T: V0 I, W5 M

  1564. . T/ q1 i2 S* P1 m
  1565. ; Assert(expr); active by default.  P1 Z) K  @/ F
  1566. ; http://php.net/assert.active
    0 m0 w0 h0 O0 U$ }  m  \+ w' }5 y
  1567. ;assert.active = On
    1 M& ]: X# ?! ~; f

  1568. . N$ h9 k+ {( H' `/ m
  1569. ; Throw an AssertationException on failed assertions
    2 r* b" v1 g1 f1 @) ?
  1570. ; http://php.net/assert.exception9 h) u7 R, n( j
  1571. ;assert.exception = On
    ) X9 S% _4 g# S

  1572. 5 ^/ |# Y8 @) \( x" p
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)4 |+ n6 h4 g/ @  E
  1574. ; http://php.net/assert.warning5 V! T: f9 w, ?7 X' n- y& b% U( \# |
  1575. ;assert.warning = On+ }( t5 A& r, B, J6 c& d7 p
  1576. 0 ?) y3 d8 J. Z
  1577. ; Don't bail out by default." \, E* h, O; J7 O# Q
  1578. ; http://php.net/assert.bail
    / q( M/ o* r2 w
  1579. ;assert.bail = Off
    . Z( a3 Y" `# O6 V5 u. Q/ l

  1580. ( P3 n3 [- ?# p$ u5 J
  1581. ; User-function to be called if an assertion fails.
    , A# H3 _; g- e0 }
  1582. ; http://php.net/assert.callback0 Z( p% C8 B! Q8 b) a" C$ [
  1583. ;assert.callback = 0: T/ T2 L2 ?1 X6 m6 _

  1584. ' G4 c# P: J7 a% ~  i' s4 n5 T1 Y$ G3 R
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    + B$ q/ y( S+ ]  N" J8 ^
  1586. ; error_reporting(0) around the eval().
    ; V0 Y! F8 n4 M; l( U! L
  1587. ; http://php.net/assert.quiet-eval
    & d( S3 K* ]; r) i# Y" |
  1588. ;assert.quiet_eval = 0/ C% Q: K* a. h' _3 o2 s7 b% B, O
  1589. : G- C* l* C' R# q$ H! H
  1590. [COM]% {% u/ H/ M0 M4 c% m/ C: v
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ( Y% f3 }! M, J9 ~; k
  1592. ; http://php.net/com.typelib-file: P8 B; W2 t7 I9 ?- j( V: O
  1593. ;com.typelib_file =
    & b, ~! t- P; t7 h  J! M

  1594.   E9 }+ H9 N$ _- t8 U
  1595. ; allow Distributed-COM calls
    ; T- l* M' V: v- p6 Q
  1596. ; http://php.net/com.allow-dcom( r+ u" W6 F( {2 i) p( w
  1597. ;com.allow_dcom = true! ^5 L" a! w) h  w
  1598. ( b' D! _2 Y/ t4 c: ]
  1599. ; autoregister constants of a components typlib on com_load()
    + Q4 S3 f3 h! Z7 }( w$ f& w( `/ |/ e
  1600. ; http://php.net/com.autoregister-typelib3 |' j" f) P# o6 T, A0 ]- m! u
  1601. ;com.autoregister_typelib = true2 ]. r  R8 h# v$ c2 d5 @

  1602. ! M! Z3 x: C# \6 r( U
  1603. ; register constants casesensitive
    6 O! V" c1 I- C
  1604. ; http://php.net/com.autoregister-casesensitive
    + y/ M+ [" Y. h4 O2 l6 H" c( Q4 m
  1605. ;com.autoregister_casesensitive = false9 w$ L/ u9 D3 H+ s- L& o3 q

  1606. 3 D) h7 u' x& |7 Y
  1607. ; show warnings on duplicate constant registrations
    : N9 ^# m; D8 d) X  x
  1608. ; http://php.net/com.autoregister-verbose1 @7 I. N. X- D* f' l" \- q
  1609. ;com.autoregister_verbose = true# o0 K( l1 z' i$ p0 q9 A% L) a8 e

  1610. ! c# k. @2 |9 }
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    4 x; l' D6 I+ c2 F
  1612. ; Default: system ANSI code page5 \' k1 N9 X% t" N; y( p' ~
  1613. ;com.code_page=
    ) v# T9 Y9 E4 P; e: Y/ f8 V2 i

  1614. 7 @3 r  O2 f+ `
  1615. [mbstring]
    5 }+ ~7 d0 d4 H7 i5 v2 k0 B$ x0 N8 P
  1616. ; language for internal character representation.
    1 `& P. v* Q: L2 i: F& G
  1617. ; This affects mb_send_mail() and mbstring.detect_order.+ h! J' J- W" N8 I/ b5 D- U
  1618. ; http://php.net/mbstring.language$ }, c( @3 \  U& y! A, V" G
  1619. ;mbstring.language = Japanese
    ( E) f- L) P4 q; y+ F0 t

  1620. , m2 r" T' p3 }: r
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.  a. e" e/ N) r" Q2 F
  1622. ; internal/script encoding.
    9 L$ E" Y6 P) }  G& ^3 I
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)7 U, ^- G7 d8 W0 s% X
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    3 {; f$ I! ]" B* F; D. J
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    : N/ X" f$ k# o8 K0 J& j% Y; Y3 ?
  1626. ;mbstring.internal_encoding =
    ' L6 w+ x4 V' H1 L6 w: r
  1627. . Q$ K- E# U- w- t- L* j
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.2 H9 u& B. Y) C/ r/ }) h0 B
  1629. ; http input encoding.8 c" @( L1 l1 m2 T. }: q7 o2 t8 _
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    - ]' s3 x/ Q, R4 H& o' d
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.- U# }" O4 G3 I4 G* K
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input* P& l' {7 U/ h# @
  1633. ; http://php.net/mbstring.http-input, A6 |' m1 {$ q. a2 ^
  1634. ;mbstring.http_input =
    : `# m7 f/ z% P) R' `9 H- F+ [9 `

  1635. : Y$ p+ G9 `1 m+ f5 X; D
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.6 X: S9 \% }9 u8 U. ]# K
  1637. ; http output encoding.
    ! d# N6 d& _$ z! W* D; R! e
  1638. ; mb_output_handler must be registered as output buffer to function.% y$ w; e5 e, D3 K) i! Q8 y' {* Z
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    # ]3 E6 `8 h0 x
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output5 B' G2 y4 `4 \" u
  1641. ; To use an output encoding conversion, mbstring's output handler must be set( w6 r5 d4 `* f7 R3 @
  1642. ; otherwise output encoding conversion cannot be performed.
    & u0 D9 E" p, U; }
  1643. ; http://php.net/mbstring.http-output
    * w6 c% ~2 |/ a; b! i% T; R: j5 ^
  1644. ;mbstring.http_output =
    7 y  |! {2 t8 p6 y
  1645. ; k% I. @6 y) x  z. c% J
  1646. ; enable automatic encoding translation according to) Q) X' I6 J) w6 k6 X
  1647. ; mbstring.internal_encoding setting. Input chars are
    7 x6 @! l& Z3 n' B3 O1 K
  1648. ; converted to internal encoding by setting this to On.
    / X7 u5 i- k8 L& _. p
  1649. ; Note: Do _not_ use automatic encoding translation for$ b. w; L$ D. W- ?1 M4 L) W
  1650. ;       portable libs/applications.
    ; v% A. R) `3 S
  1651. ; http://php.net/mbstring.encoding-translation
    0 B+ z' |) [# j
  1652. ;mbstring.encoding_translation = Off
    ) u; j  x8 C! L' p% s' G7 B
  1653. $ {  p0 s8 Q2 ~* x. [
  1654. ; automatic encoding detection order.  E9 I% r& i9 c; `% Y! T/ ~
  1655. ; "auto" detect order is changed according to mbstring.language
    ) c! Z5 T# |6 l9 t9 ^9 Z" U
  1656. ; http://php.net/mbstring.detect-order- N5 a' c9 v6 K+ _! W2 n: ]: y$ e
  1657. ;mbstring.detect_order = auto+ s+ j( y7 r: E: c+ [, X  _& T

  1658. , x$ P: u, J# e! P
  1659. ; substitute_character used when character cannot be converted( ]( Q+ E: f$ L' `
  1660. ; one from another& T5 t" S! L* p9 R. }1 z+ F. ~" I3 ]
  1661. ; http://php.net/mbstring.substitute-character5 u+ M5 p0 y% T' A9 Z
  1662. ;mbstring.substitute_character = none
    , a1 b' ^+ j1 r4 q
  1663. ; n0 D3 `1 ^: u/ B
  1664. ; overload(replace) single byte functions by mbstring functions.0 ?) c8 B9 K" p% f1 }4 S
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    4 I- h2 h: g6 o2 [( R3 U7 y/ ~
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    . A% B: }& V/ Y8 {
  1667. ; For example, 7 for overload everything., [3 r& c- R( E! @7 V% ~8 U
  1668. ; 0: No overload
    " o0 ?: w" ]  _  h) P
  1669. ; 1: Overload mail() function
    ) R* t, P9 O: W, w
  1670. ; 2: Overload str*() functions% {2 M# Q! \5 ^/ w9 n
  1671. ; 4: Overload ereg*() functions
    ) [# ~0 q/ d( E( L; }
  1672. ; http://php.net/mbstring.func-overload& n2 p; d& f: n% c) z
  1673. ;mbstring.func_overload = 00 v1 F, {8 O7 w& P' \* Z

  1674. ' i! g: x( q% Z( H/ a6 c( q
  1675. ; enable strict encoding detection.' O6 s8 S5 \- y: k5 C- }9 J
  1676. ; Default: Off- K$ c2 |$ M2 |( ]& D
  1677. ;mbstring.strict_detection = On* t& f' n4 g7 Y" w, @

  1678. . U7 ~5 O' w9 L& R8 B1 @
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()* u9 E. t8 {# i4 h# B0 U/ F
  1680. ; is activated.
      A* D6 I" M5 U
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ! z2 W7 P2 P' Z; S
  1682. ;mbstring.http_output_conv_mimetype=
    4 I: O  D$ a1 u: C; \7 c
  1683. 7 U& h, ]- W4 Y- z/ S9 X2 ~
  1684. [gd]1 Y9 j2 b) ^& c/ w6 p& t
  1685. ; Tell the jpeg decode to ignore warnings and try to create& G, P! m2 v) p+ ~1 t
  1686. ; a gd image. The warning will then be displayed as notices& x9 Q% \' E- S# w. G- ~. V$ ]6 l
  1687. ; disabled by default# T5 U5 |! u# f3 A' p
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ( a! E& w% Q" v0 F. [) n$ o2 m* {
  1689. ;gd.jpeg_ignore_warning = 0
    % H- S. G# v4 p3 ]. j+ J

  1690. 5 B7 J4 A/ w' I; I; u& d
  1691. [exif]
    - K; e9 d' q+ ^+ ]+ r
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.) ~; L" w5 S1 \8 ^4 Z
  1693. ; With mbstring support this will automatically be converted into the encoding7 H: _( f/ v- ~3 q- Y
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    4 n, O3 ]( x8 G* o+ ~6 I1 @
  1695. ; is used. For the decode settings you can distinguish between motorola and5 h! x7 r  p( N5 M. }& C
  1696. ; intel byte order. A decode setting cannot be empty.6 a/ I& O7 X) U  }
  1697. ; http://php.net/exif.encode-unicode
    5 b* }3 \% m( V9 y1 j; U
  1698. ;exif.encode_unicode = ISO-8859-15" Y; |; b% @8 i1 R
  1699. . U+ h6 Y% v  N" a& L& U
  1700. ; http://php.net/exif.decode-unicode-motorola
    2 V) U* r1 O) H; l- |$ F0 w' P" X
  1701. ;exif.decode_unicode_motorola = UCS-2BE( b2 K$ d/ [1 G1 H
  1702. - r( x/ k+ J/ T( g$ e
  1703. ; http://php.net/exif.decode-unicode-intel
    6 ]9 s9 e& b# _1 j4 ~7 r
  1704. ;exif.decode_unicode_intel    = UCS-2LE: X8 j1 b( o0 ~/ y# u" z6 {  d* \

  1705. + J" |/ ^+ }/ L; B5 z
  1706. ; http://php.net/exif.encode-jis! _0 y7 j. o, ]" k
  1707. ;exif.encode_jis =3 D& j1 D# V5 l  V1 Z" Y# s+ b6 S' v% Z

  1708. * n" w# V; l4 d! ^/ a0 d# r
  1709. ; http://php.net/exif.decode-jis-motorola; y$ Q+ J6 S8 [* U4 y7 |& Y% j* B* i
  1710. ;exif.decode_jis_motorola = JIS  x8 \! ^6 O  Q

  1711. 7 o1 P7 Q8 u7 D' Q6 f1 k
  1712. ; http://php.net/exif.decode-jis-intel  M+ ~, W, V6 S7 W. X$ A
  1713. ;exif.decode_jis_intel    = JIS
    ! }0 V, H- _" ]" `

  1714. / `5 L- d- O' P% W6 t8 X
  1715. [Tidy]
    ( I! B5 I, e5 ^  X( E
  1716. ; The path to a default tidy configuration file to use when using tidy; s: V4 O% X) X0 ^8 g
  1717. ; http://php.net/tidy.default-config& r' Y! K4 x) R( w# j' v2 y5 {& U
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg6 g6 @  F" N  l* q6 [" V4 a7 W% t

  1719. 1 F: j! O% x! \! @
  1720. ; Should tidy clean and repair output automatically?: t( p; d9 N) ]8 H# x- e+ I" }
  1721. ; WARNING: Do not use this option if you are generating non-html content
    * K3 A& p6 G: m0 L
  1722. ; such as dynamic images
    , u; R5 \/ r/ X7 F& c  p( M
  1723. ; http://php.net/tidy.clean-output
    , h( u; F$ K/ _! v; D6 m- @; N, l
  1724. tidy.clean_output = Off  F0 Y4 w3 ?! @$ W" m2 B

  1725. 5 [" n# @; Z0 N( o/ w6 ~- ?
  1726. [soap]. ^( |/ ?+ X5 A( i/ w: O
  1727. ; Enables or disables WSDL caching feature.
      q# ?: m8 \1 f6 k9 Q
  1728. ; http://php.net/soap.wsdl-cache-enabled4 A. _) k' L& V( m5 a
  1729. soap.wsdl_cache_enabled=1
    % R) _0 v+ a/ R, r0 x; T

  1730. ' I, O! l& i) j0 t9 N: c
  1731. ; Sets the directory name where SOAP extension will put cache files.
    2 M9 o  f# N9 v! I$ x( W& v
  1732. ; http://php.net/soap.wsdl-cache-dir
    4 R8 Y. G) _7 d! X8 W
  1733. soap.wsdl_cache_dir="/tmp"
      c, V- I' r4 [# d7 n
  1734. ! P7 t2 s! \0 y, S
  1735. ; (time to live) Sets the number of second while cached file will be used
    ' v# M& k9 v$ b+ @2 g
  1736. ; instead of original one.# x, \. a( l* N* w: d/ Q
  1737. ; http://php.net/soap.wsdl-cache-ttl
    + x$ }, T2 [- j8 ~# q" @; i
  1738. soap.wsdl_cache_ttl=86400) d0 |1 W( V! t
  1739. 4 j, E. u9 d0 b+ @9 x) w
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    7 O4 k2 h& ?: d# \2 E
  1741. soap.wsdl_cache_limit = 5/ @* l9 Q, ~2 N
  1742. # Y+ P2 G7 e% D8 A0 i7 V- @
  1743. [sysvshm]% t8 f. F* R7 c$ z8 g( }: V# O" \
  1744. ; A default size of the shared memory segment# B& L4 ^* L) S" Y( N
  1745. ;sysvshm.init_mem = 100008 S$ g1 V0 _' X, M  G" w( e

  1746. / K5 P/ Q! A0 i) @2 t% L4 u5 X
  1747. [ldap]
    5 G/ \, W8 N$ T7 E
  1748. ; Sets the maximum number of open links or -1 for unlimited.1 j3 X; K1 p) u7 k; T6 h
  1749. ldap.max_links = -1
    + y7 S: ]0 \$ h% R8 u( Z

  1750. : u6 U( `; @6 ~# ^/ f% D9 _
  1751. [mcrypt]; K$ V! Z" s# @5 v; N$ t9 S  p
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open" U$ N" E8 G! J) k

  1753. 1 c, V: M9 B( H; e
  1754. ; Directory where to load mcrypt algorithms* e, r0 q$ d& q, S+ f
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    % O$ m4 L  |& r
  1756. ;mcrypt.algorithms_dir=
    " I2 [1 W- X. T" i
  1757. 9 _" N: ^: w! D9 o$ @; `  O( ]
  1758. ; Directory where to load mcrypt modes
    ' z0 @% z7 U$ K: I. O; o/ r3 R( d
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) F: Z# d' i+ o3 H4 [/ S
  1760. ;mcrypt.modes_dir=
    " m$ R5 c) o2 Y% G
  1761. ! `  w1 d6 i; c* O, Q( E
  1762. [dba]' e0 @8 ^" Y3 n1 F
  1763. ;dba.default_handler=8 Z; S1 d# ~- h8 E8 g

  1764. 7 y. U: _1 S2 H3 @; v( c4 ]
  1765. [opcache]
    ( n; [9 O8 b" X) @1 d  r0 G' S
  1766. ; Determines if Zend OPCache is enabled
    ( d7 D, D, F4 v
  1767. ;opcache.enable=0
    9 Y6 I& w5 {: z. L

  1768. / R3 P5 @( p8 @' U9 N
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP, B8 P9 Y& e+ H$ f" m2 [
  1770. ;opcache.enable_cli=0
    * y9 d% H# J0 ]. q
  1771. 0 R: O7 f+ U3 i0 O/ {
  1772. ; The OPcache shared memory storage size.* p" B0 K" x4 k1 m& o
  1773. ;opcache.memory_consumption=64
    " F; y$ D; v( Q6 U' j
  1774. 4 N1 T/ j0 i+ `9 M: Y, e
  1775. ; The amount of memory for interned strings in Mbytes.0 d8 i, O' ]# j* {3 E6 o
  1776. ;opcache.interned_strings_buffer=4
    9 n* O) C7 H4 D4 M

  1777. ' R$ r# J: Q. [* c) M4 S' w
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.4 g3 h4 D  E' H* x3 C. f1 c4 N
  1779. ; Only numbers between 200 and 1000000 are allowed.# C: b$ n# z6 q/ }9 X7 X
  1780. ;opcache.max_accelerated_files=2000; [  R" o& @! R: |* N
  1781. 8 P3 X/ y' v& b' Q/ E
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.) R$ b  @2 u7 i- B" Y* o8 u9 }
  1783. ;opcache.max_wasted_percentage=5$ I( }8 w5 g- u& o3 P9 ?/ c
  1784. - i# |- S8 X  Q' w& J
  1785. ; When this directive is enabled, the OPcache appends the current working
    ! A+ |7 w9 @$ [: \' o
  1786. ; directory to the script key, thus eliminating possible collisions between/ o$ z, E, e( Y2 ~3 v* c- r3 n+ j: A
  1787. ; files with the same name (basename). Disabling the directive improves
    / r4 g! l' ~8 a
  1788. ; performance, but may break existing applications.
    7 C! J" y  e) A& c6 C9 ~
  1789. ;opcache.use_cwd=1
    " M5 v2 h. S: h) l9 b: T

  1790. - e4 T* ?+ ~' E
  1791. ; When disabled, you must reset the OPcache manually or restart the: F& |( O) z( C: }" o1 i! s# {! Z1 y
  1792. ; webserver for changes to the filesystem to take effect.# N) Q+ m3 ~) B9 |$ t
  1793. ;opcache.validate_timestamps=13 b: I1 z* P/ S; I7 h0 a1 h
  1794. 2 ]  H0 \$ F+ N- w0 F' h
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    5 [0 l& g) Y) Y/ Y7 u5 x
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    8 g/ {) z% n' b
  1797. ; once per request. "0" means always validate)
    9 r7 H! i% s3 U* u
  1798. ;opcache.revalidate_freq=25 P- e' N) ], T# ?' |" I* K" S

  1799. 9 ~8 ]& S8 p& V1 Q
  1800. ; Enables or disables file search in include_path optimization3 P1 w) J! j2 P3 r) ]* H( Z
  1801. ;opcache.revalidate_path=0
    $ Z& }- b6 r$ v, M

  1802. 6 j5 u5 }. h- K( `
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the/ L1 g7 w0 Q# ^9 G
  1804. ; size of the optimized code.
    . U% M1 f/ a: w1 ?9 y+ f3 n
  1805. ;opcache.save_comments=1
    4 j5 s3 Y( N& s: l# l9 v3 C

  1806. 9 L, }$ n: b* v. K! r3 Q
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code: i( R; o* m/ j) i
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    3 L8 U' v: k% [" `0 S3 Q$ U
  1809. ;opcache.fast_shutdown=0/ g; c' f% C8 }  z9 ^

  1810. 4 c+ B6 @. h: \4 O; ~! k0 f# [8 f
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
      E1 v' s9 ^) K7 a# A( f2 ?
  1812. ;opcache.enable_file_override=0
    + a! F! X+ y' r$ k# |

  1813. ! \/ o3 `5 t% k/ g, C) n* U
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    , a: N5 |3 X8 o4 l/ h& _; Y- t
  1815. ; passes# R4 Z9 M4 h, k  ]. v
  1816. ;opcache.optimization_level=0xffffffff
    ' |5 @8 @8 k+ m" Y

  1817. 0 U8 U  {$ ]* G; Z
  1818. ;opcache.inherited_hack=1" q* q! e% u8 ^% ?
  1819. ;opcache.dups_fix=06 t0 i2 u/ j( W* m
  1820. ; y2 u! J$ ]# `6 K) A+ @7 A( ]
  1821. ; The location of the OPcache blacklist file (wildcards allowed).1 i6 H% W3 L" V
  1822. ; Each OPcache blacklist file is a text file that holds the names of files. q, h. a6 \5 k0 j+ q, S4 x. M3 i4 D
  1823. ; that should not be accelerated. The file format is to add each filename
    $ P- p# a/ q+ H+ \$ j* N/ e
  1824. ; to a new line. The filename may be a full path or just a file prefix
    : V( O( x: ~( `& d; y( ?  ?% I
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www2 ~+ d( ^' \8 r0 `9 a4 {, Q; Z& k
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).) t/ X4 n) e9 I- n1 |& A2 Z
  1827. ;opcache.blacklist_filename=
    % t1 a& V5 U0 r7 |! s# j: I' c+ W7 r
  1828. " d) {3 a8 a* ^2 w9 N5 U
  1829. ; Allows exclusion of large files from being cached. By default all files
    % M/ F$ s& n" e8 h
  1830. ; are cached.* H$ e4 d8 }' e# Z$ r
  1831. ;opcache.max_file_size=0
    ! ?1 E8 ^0 x' }0 E9 v; {; Y

  1832. 3 O* |. `1 w8 M: k8 V! r
  1833. ; Check the cache checksum each N requests.; K" U3 N8 b, q5 J
  1834. ; The default value of "0" means that the checks are disabled.& g( \0 m% Q* E' Q2 r7 b
  1835. ;opcache.consistency_checks=0
    ! l. q( [5 D* k1 u: b0 |( u

  1836. 5 U6 E; O8 B" b+ l& j* @& o& |
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache& z: J3 M0 k- b. z' c: ~+ o4 ^
  1838. ; is not being accessed., i# ^$ d3 I0 a7 f  t
  1839. ;opcache.force_restart_timeout=180
    4 l: @7 X6 {- x6 O/ B* H
  1840. ( Y9 P' ]$ A6 ]0 I7 H$ n- l+ m, Q
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    & `4 [& J# K- ]7 Z  y
  1842. ;opcache.error_log=
    8 G0 d1 T& {5 j' G& n/ X

  1843. / n6 Q. q6 F. ]* E0 r
  1844. ; All OPcache errors go to the Web server log., p9 ~; a. r) D
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.* H: N4 L  h" d
  1846. ; You can also enable warnings (level 2), info messages (level 3) or1 F- p6 [' W9 F5 p6 y" h# f% H
  1847. ; debug messages (level 4).
    6 \; z  I- _, \" }6 Y" b% u! z7 t* g7 S
  1848. ;opcache.log_verbosity_level=18 F5 O; ]! }+ H. o

  1849. . f! y3 U# E4 _
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ; u6 L3 c6 N8 x  P
  1851. ;opcache.preferred_memory_model=  N$ a, z4 T- Q( p: n  n4 d

  1852. ' M" T% ]1 D5 o5 `# @
  1853. ; Protect the shared memory from unexpected writing during script execution.
    / h0 R% k% {& W
  1854. ; Useful for internal debugging only.
    & Z" [" s) l7 S+ G
  1855. ;opcache.protect_memory=07 x. Z! G' R4 y( ]) L4 F  n

  1856. & _$ d) i6 w4 h4 i) S" n5 U
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is  W& n$ `/ {/ K1 T% e- a( y4 h
  1858. ; started from specified string. The default "" means no restriction
    ) x$ @4 d2 g9 `3 A7 @
  1859. ;opcache.restrict_api=% F/ W9 v9 F" k) W8 o4 y

  1860. / M" L9 V( o5 T" Q, d3 V; N7 o, c
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP5 M% A7 G; X/ w: C* z  v
  1862. ; processes have to map shared memory into the same address space. This7 C3 }7 U0 }( ?' T
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    / `2 E3 ?6 r$ r6 ]! E# I
  1864. ; errors.8 z- |, i  e7 D6 x
  1865. ;opcache.mmap_base=* t. r+ B* \+ a* S, }. u; Q" d

  1866. 0 n- }7 L; y2 j4 j6 x
  1867. ; Enables and sets the second level cache directory.
    1 ^& ^8 D: C: d5 `! ]8 o
  1868. ; It should improve performance when SHM memory is full, at server restart or' T! I* X& S2 y( ^" _
  1869. ; SHM reset. The default "" disables file based caching.
    8 l4 O& l) M  I. B& o& W7 }
  1870. ;opcache.file_cache=5 n  S' f$ r; f7 j: B( S+ ?% o
  1871. # c% c" \8 B, ?+ n) Z
  1872. ; Enables or disables opcode caching in shared memory.. B4 D8 l" i" {$ ^/ q* ]# ~+ H
  1873. ;opcache.file_cache_only=0
    1 @/ H7 w; N# N1 g: Z" S

  1874. % J; }8 e, g2 i" E- o- |  s' H! p2 O
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    6 X7 C% M2 q& ~. W3 ~
  1876. ;opcache.file_cache_consistency_checks=1
    9 C, F- y7 T3 F9 D2 y0 f9 V2 c

  1877. * }3 z7 V! I4 y! ~6 q& ]5 W2 i- B2 `
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    ' b. R' k% n/ x0 f' }7 Q
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file0 G; ?! g- Z4 @, a
  1880. ; cache is required.
    + ?5 ^2 s) ~" p. T+ I; e
  1881. ;opcache.file_cache_fallback=1/ E2 c) G: }$ B- w7 r

  1882. , A- t; _( `9 F5 |( _
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    ( c2 v! Y. q1 Y2 o; N
  1884. ; This should improve performance, but requires appropriate OS configuration.& C: W0 p; s3 ?7 g4 X- p
  1885. ;opcache.huge_code_pages=14 \, Q; [& ^6 [& L0 g0 _
  1886. - G- |: V* P$ ?4 m5 c( l; h
  1887. ; Validate cached file permissions.4 S9 S$ c6 w9 I( F
  1888. ; opcache.validate_permission=03 J& e9 f6 o8 m! x$ z
  1889. , [1 O( n: _! A& ?
  1890. ; Prevent name collisions in chroot'ed environment.
    1 V8 T- \0 f+ n* f* C
  1891. ; opcache.validate_root=08 ~8 G5 O! I. f: Y6 q; g+ b

  1892. 9 G' \/ [- ~; H$ g
  1893. [curl]
    $ h8 t% A- E# Z% ]. \& V$ t
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an. T2 g' L! }" a/ h& _) |- D, _
  1895. ; absolute path.: M) u& Q! ~4 c( M
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    3 a9 g, ^0 |/ w" ~- H' u! l
  1897.   ?2 H8 V8 L+ M- r& ?1 d
  1898. [openssl], q4 }) Y: ~3 r/ p! H
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem* Z- N2 B2 \1 t. ^1 \- d7 t; ~
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should& V3 F% i( f, P3 o" a! c
  1901. ; not specify a value for this directive as PHP will attempt to use the$ O9 w1 T, f6 ?( u* _7 E' q/ @9 v
  1902. ; OS-managed cert stores in its absence. If specified, this value may still( l4 U% [. S+ H; g
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    % s! p& Y/ G. r
  1904. ; option.0 I3 F, M. O* [. ?4 A
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    % f4 g) ]5 f: h5 A+ p
  1906. 7 ?) o7 y0 n' h, O- X7 U
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    8 I& j$ Q" J( e$ `( z4 y
  1908. ; directory pointed to by openssl.capath is searched for a suitable- \9 z9 f& l# Q, Q2 f
  1909. ; certificate. This value must be a correctly hashed certificate directory.( M. r8 {( _$ d0 u
  1910. ; Most users should not specify a value for this directive as PHP will
    - x6 s& W4 m3 Q$ t/ o
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,% Y4 A# \$ F2 }- H! J: r
  1912. ; this value may still be overridden on a per-stream basis via the "capath"1 w# }; r+ h, p9 w' R$ l; ~$ o7 H3 g
  1913. ; SSL stream context option.
      U0 ?- {6 b* o7 O; s5 ~
  1914. ;openssl.capath=2 A# i! u4 T3 l* u+ G- c  o: I7 s
  1915. " _  u3 Q5 R, s' `" j. F0 o
  1916. ; Local Variables:
    , }! I( L& i+ x6 P$ d
  1917. ; tab-width: 4( v/ x! v5 D: t4 g8 \
  1918. ; End:) L. }. s7 `. _# a3 G

  1919. 4 m& E+ p4 [4 \- ~8 O
  1920. ;eaccelerator5 l6 M* [8 @/ y% b
  1921. ; [: e. p# L/ S8 I2 p
  1922. ;ionCube# \7 z( c# u6 a$ }- r

  1923. 6 S% @9 z8 G( k# ?- w( Q7 {
  1924. ;opcache3 l/ r; H7 ~- |4 x

  1925. 4 }, U- `0 L0 \6 b
  1926. [Zend ZendGuard Loader]
    ! p* E9 Z( t2 V# w+ l0 D7 E
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ) [3 W, V( z# ^# r- D
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    . L. p$ ?. M: ]
  1929. ;zend_loader.enable=1
    2 o. v) J1 }5 R
  1930. ;zend_loader.disable_licensing=0/ s+ y$ f( e8 K6 n
  1931. ;zend_loader.obfuscation_level_support=36 p8 u' _& Y2 v( F1 T
  1932. ;zend_loader.license_path=) Q% K4 Y- h3 M: _8 i9 X. Q( m
  1933. ( A! @; a9 @  h- f; T! A2 G
  1934. ;xcache
    / i+ V7 {7 J2 |" ?1 \" d" [

  1935. " D" w5 m( [6 k
复制代码

9 F" ^. h/ w! ]6 |' k/ f, j4 m% r, l/ d0 j
) @# r6 Q; I; }

5 x4 v% n, \2 ^3 J/ Q* I) W7 _$ V1 s0 e

' g# ^4 {8 Z. k, Q+ d/ n: u) }8 S" H6 J1 P
PHP5.6版本原始设置! u3 {: D: I" ~
8 f' N/ v) w% C9 b/ b0 {! P
  1. [PHP]  H! i4 c& {3 Z+ @
  2. ' t& L6 H: u0 |8 i
  3. ;;;;;;;;;;;;;;;;;;;
    4 {' y2 ~- r' y
  4. ; About php.ini   ;, @: w# a# H8 o1 r6 v
  5. ;;;;;;;;;;;;;;;;;;;
    0 O1 _  ], \' m- t$ {/ h9 ~
  6. ; PHP's initialization file, generally called php.ini, is responsible for2 y3 O( V6 c! A% }) k! J
  7. ; configuring many of the aspects of PHP's behavior.
    : R: Y8 H' I- y6 y" O8 e

  8. 8 F7 }$ N% y8 o2 q
  9. ; PHP attempts to find and load this configuration from a number of locations.
    / @/ l4 s) K9 S3 @7 U! U* _: w3 Z
  10. ; The following is a summary of its search order:
    ! s0 Q; U& M% t( I9 K/ p6 g$ f. j
  11. ; 1. SAPI module specific location.2 q" M9 A& S7 z9 T- A+ k- v
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)" S* B3 d3 G! y# {. `# ~
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ( f% R# s# F1 F
  14. ; 4. Current working directory (except CLI)
    * ]' [  F- I, _, X, X: w  F- B7 @
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    1 B0 A% {7 \& {: X: j8 c  z( b
  16. ; (otherwise in Windows)$ E6 l& }5 j6 ~
  17. ; 6. The directory from the --with-config-file-path compile time option, or the2 P; |8 {# q) h; Z
  18. ; Windows directory (C:\windows or C:\winnt)* _  B' Y, ~0 T# e; Q7 t$ d8 p( G
  19. ; See the PHP docs for more specific information.
      J8 y5 T4 ]; h) B" q6 R
  20. ; http://php.net/configuration.file
    ' R$ h; ~* F- e. @4 V
  21. . D/ ^3 R! i1 ]; d
  22. ; The syntax of the file is extremely simple.  Whitespace and lines8 U# Y4 l0 L: k' {' }- X- u  L
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    * y! |4 {+ O, N9 V
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ' x1 x( K2 W: r  X$ d! u& c- i# O
  25. ; they might mean something in the future.
    / {: f# p7 {# D6 f+ C% P0 w. d. l

  26. 9 ]2 v! c5 i$ ~8 d* z; E- N  a
  27. ; Directives following the section heading [PATH=/www/mysite] only4 _" ?% p! ~6 ]8 B9 p. V3 A) R
  28. ; apply to PHP files in the /www/mysite directory.  Directives" U9 Q- e5 m' f% v0 O
  29. ; following the section heading [HOST=www.example.com] only apply to
    . j6 @6 w% n5 I
  30. ; PHP files served from www.example.com.  Directives set in these
    8 f% }& Q2 r4 e1 ^
  31. ; special sections cannot be overridden by user-defined INI files or
    2 ?0 @- p" d8 T  f  x$ Q/ X
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ' d2 s* l5 I, `  m! v
  33. ; CGI/FastCGI.
    7 ~! R4 e% r0 }& o: B
  34. ; http://php.net/ini.sections
    # ^6 R* K: g/ D/ e3 m
  35. " G& i0 e- |0 U7 |0 z) l
  36. ; Directives are specified using the following syntax:
    8 s% ?  n. r" w) B! f
  37. ; directive = value4 P. x$ g7 q% m7 u7 R3 V* V
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    2 n/ _& A; q( _
  39. ; Directives are variables used to configure PHP or PHP extensions.
    0 b# i( R2 |5 D& E7 h
  40. ; There is no name validation.  If PHP can't find an expected
    & z$ I0 ]( P' h0 v! T9 P
  41. ; directive because it is not set or is mistyped, a default value will be used.
    3 _. x* v. J; S" j9 L' {
  42. ' Y4 G$ w' H& e" h- |1 a8 Y
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ( i" [# W* |8 a8 {* i5 }5 k* K) ?
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression: ?; M7 X" M2 U# S* w3 n
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ; d; K3 f7 K# H7 u( F# P
  46. ; previously set variable or directive (e.g. ${foo})
    % W5 R0 k; a# X' G% O

  47. & ]5 N  o; a3 [
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:8 x/ \5 V) j* E
  49. ; |  bitwise OR
    5 [0 a0 H' R0 C: U' Y1 o; K3 ]
  50. ; ^  bitwise XOR* S% T; Z1 g6 a; X: z. o) C0 l
  51. ; &  bitwise AND. `3 o8 W4 D8 J
  52. ; ~  bitwise NOT9 r% t! g8 W& J2 Z* L" ^, Y
  53. ; !  boolean NOT1 G8 S. g: ~' K1 n2 R

  54. 4 D6 D3 B7 p1 s% W' N
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    7 Y; G$ `3 Z. S* V/ K
  56. ; They can be turned off using the values 0, Off, False or No.
      v- O6 M, y! `* z. B" I1 |; i
  57. , Y  y& H7 Y1 \* ]
  58. ; An empty string can be denoted by simply not writing anything after the equal( W) b! N. B4 G! t0 T) q: r
  59. ; sign, or by using the None keyword:
    & |1 a( b  u: \$ |, E+ g
  60. + L. U4 K* {4 s# A; a, |9 J5 i9 @
  61. ;  foo =         ; sets foo to an empty string
    7 y) S4 V- y/ Q9 @0 m
  62. ;  foo = None    ; sets foo to an empty string/ Q# ]! P4 ]7 _; N* H
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ( x' B. `5 b0 S. S8 }( P2 C; f
  64. ( F: X6 C! k* C3 c3 A+ G& d
  65. ; If you use constants in your value, and these constants belong to a
    ( F6 x) v. o! }! \* E- B+ U
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    5 q. k4 y! @- I3 F$ s. j
  67. ; you may only use these constants *after* the line that loads the extension.
    . Q0 p, i' [% v1 f
  68. , C0 E# ?1 v% P# O0 V2 ]
  69. ;;;;;;;;;;;;;;;;;;;; ~3 X) G; S) A
  70. ; About this file ;
    ( {  X! S% H7 k! u7 P$ y7 ^0 ?
  71. ;;;;;;;;;;;;;;;;;;;
    0 P) k  e7 i8 w: O" \
  72. ; PHP comes packaged with two INI files. One that is recommended to be used- x! \2 O. P  d* ^3 w! k2 \
  73. ; in production environments and one that is recommended to be used in% m0 `0 l( C$ J! k) z1 L# H5 x3 _3 P* s
  74. ; development environments.
    + g) M$ s! ~* K. q# s# l  Q
  75. # p# k* I2 Q3 p: n
  76. ; php.ini-production contains settings which hold security, performance and
    4 T0 v( {$ I" T9 r
  77. ; best practices at its core. But please be aware, these settings may break+ t8 o6 x) P3 x2 H' U( X  X
  78. ; compatibility with older or less security conscience applications. We
    - O: Y, f1 i: O* `
  79. ; recommending using the production ini in production and testing environments.
    % J8 y: I5 Q, B, e
  80. 4 K! m# V1 z' D$ d: q) ]# R, H8 x
  81. ; php.ini-development is very similar to its production variant, except it is0 \) ~+ p8 ]; a8 O1 W* N3 I
  82. ; much more verbose when it comes to errors. We recommend using the
    5 v) }2 R" X. k9 r# m1 k3 t1 X
  83. ; development version only in development environments, as errors shown to! C& x3 ?( D7 W1 M
  84. ; application users can inadvertently leak otherwise secure information.( p& ^; `5 S8 r. j; n: v
  85. 7 L! N5 l3 b& W: ]2 v% g2 [
  86. ; This is php.ini-production INI file.
    ( }! }" ]. L- @) }" d( i
  87. ( `$ e, h) Z7 D# w4 t% Y) N
  88. ;;;;;;;;;;;;;;;;;;;
    ! s0 h& O# J& Q# w: {, O9 s+ I
  89. ; Quick Reference ;* h  G7 u+ ]- F
  90. ;;;;;;;;;;;;;;;;;;;0 Y, s' t& H; X0 b
  91. ; The following are all the settings which are different in either the production
    ' j' ~2 W( ^" |9 P3 h/ C) {4 t9 ?, a
  92. ; or development versions of the INIs with respect to PHP's default behavior.4 ?+ }6 X$ l+ d. O: {$ D4 D
  93. ; Please see the actual settings later in the document for more details as to why
    % x4 _. L) x( X& e: r% i" M2 h) X
  94. ; we recommend these changes in PHP's behavior.
    4 f" N: {* O1 [4 l. o( ^! [
  95. , ~6 r6 X  E2 |- d4 u, B# a
  96. ; display_errors
    " @* C9 X! ~& j
  97. ;   Default Value: On% N; t& U/ F) j
  98. ;   Development Value: On. P  g( D9 L! o6 G
  99. ;   Production Value: Off
    : m, a+ d# F# u. E/ Q

  100. $ n7 \9 S7 ~5 J8 M# k
  101. ; display_startup_errors0 k8 X5 e6 o  j8 W
  102. ;   Default Value: Off
    4 V; ^, _5 b5 A% c
  103. ;   Development Value: On
    $ w  m1 S' m7 B( k  A
  104. ;   Production Value: Off5 e4 `0 K2 b8 s8 P3 @# ]( N
  105. 8 r. V; Y  E0 h- t5 w
  106. ; error_reporting
    ! t# k) z' m/ Y; v- t2 g' t
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    - R# x4 M' p3 r! H: Y# M8 X  z
  108. ;   Development Value: E_ALL
    & L% b% K6 B  V& l4 A! y1 t
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT: `- G. P& F) k, I8 F, A5 ?5 ~1 T

  110. 4 B& Y& h" F: Q4 h
  111. ; html_errors
    ( j- {7 c# a- @9 t  W, g& F( ~
  112. ;   Default Value: On1 o8 ^9 l& }9 F, ]7 d
  113. ;   Development Value: On
    1 M' R* @. S% Z- V4 n+ g
  114. ;   Production value: On
    . |6 P4 }$ Z$ O3 r0 w0 u' x; \" Z

  115. $ b0 D+ H/ g  {+ Y. [. x
  116. ; log_errors
    2 d  K, B8 H" V& k
  117. ;   Default Value: Off( I$ P! s; X) [5 {6 b
  118. ;   Development Value: On
    ( y- X; G( q4 D+ y
  119. ;   Production Value: On
    5 h$ ^9 B; S2 t; r

  120. 7 W# I- m0 R+ s% q7 M7 Q% b" i
  121. ; max_input_time& j: A& H5 Y& |# z4 g
  122. ;   Default Value: -1 (Unlimited). r1 s+ Y9 N" f5 n' }' a
  123. ;   Development Value: 60 (60 seconds)/ c7 J4 o* p6 R5 f5 f7 R
  124. ;   Production Value: 60 (60 seconds)
    + z- _( M  a( a& X) [/ {

  125. ( O' D  X$ K0 R! S( M5 y/ {4 P1 M
  126. ; output_buffering; y6 [6 h  @" Q, |3 Z9 C" {8 @
  127. ;   Default Value: Off0 f6 N0 v* E& t8 j" s7 _7 N
  128. ;   Development Value: 4096
    % K; o+ D  q0 ]4 P8 a" E% `
  129. ;   Production Value: 4096
    ! m! G* D+ [% u- Q6 T

  130. ! }  m5 B& h5 ~+ t# n; e( n/ p
  131. ; register_argc_argv
    & l, f# A+ Y+ b3 a; Z
  132. ;   Default Value: On
    ! H5 C- ?6 H$ o9 x4 x( `! c8 ]
  133. ;   Development Value: Off
    . C+ C: m2 H1 [
  134. ;   Production Value: Off
    & ^( W$ ?& F7 C

  135. ( x8 X* ~0 ]4 D$ v7 p) R4 J
  136. ; request_order
    ' w( U& N8 v- e# G0 e3 f. q4 x
  137. ;   Default Value: None
      W4 E  v) s* b8 W! F1 k
  138. ;   Development Value: "GP"& h' o: F  P& U% u& Q$ n$ u
  139. ;   Production Value: "GP"
    7 y8 E/ D2 u& G$ w, y0 N, g

  140. % q- d! s9 ~- [0 a& C* v! U+ S
  141. ; session.gc_divisor+ `; I9 z* G$ F5 t
  142. ;   Default Value: 1004 E5 L& _! ~( k/ o$ Q1 e$ b
  143. ;   Development Value: 1000; Q4 E" R7 _6 n; Y+ t5 M1 p/ H
  144. ;   Production Value: 1000* q) g+ f/ }/ i# q
  145. ! R- W; Z, `5 q  {* h
  146. ; session.hash_bits_per_character
    8 D4 p2 d; k/ L0 v6 I: l+ n0 b
  147. ;   Default Value: 4
    3 ^  I. I- N4 D: u, |. L* b
  148. ;   Development Value: 5
    5 m. V& ]" {+ B! ?
  149. ;   Production Value: 5
    : [1 T" W9 a3 |0 {. @( J

  150. 7 Q8 j' G5 t  T  m
  151. ; short_open_tag
    ' ]6 W7 X- f$ K. W# }, d& A# h$ F, E
  152. ;   Default Value: On
    8 T4 c$ _( O7 w
  153. ;   Development Value: Off; o$ [8 m0 }7 X5 O- ^; q
  154. ;   Production Value: Off7 ^- |6 T* @* J* E
  155. 8 m9 L2 n0 ?( x2 y+ {" }  m* o
  156. ; track_errors
    : J  ^" J9 Z5 V; H2 k3 W6 L
  157. ;   Default Value: Off
    5 X! p  x  M. {5 K0 P# ]
  158. ;   Development Value: On2 @( K5 S3 D, F+ n
  159. ;   Production Value: Off+ N' q2 t5 `* u3 F
  160. ' r+ \, Z  U. T! o4 O
  161. ; url_rewriter.tags
    # b' z1 A9 N. q. R: t' ]4 e
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="+ l9 @/ D% T" w8 K4 }
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% V! n! U3 z/ N4 R" s4 [
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 d2 r3 {$ P  D! a

  165. & K( W( v+ V! n8 D1 I- A% X
  166. ; variables_order
    3 A9 J+ r7 J1 B+ u6 Z
  167. ;   Default Value: "EGPCS"* B, S, o, B: H3 o/ C& d% e! O
  168. ;   Development Value: "GPCS"% R5 ?9 p/ g, }7 q  T# L1 \6 K4 z
  169. ;   Production Value: "GPCS"3 b1 s7 |& G6 d4 ^, |9 l7 ?+ Z
  170. 7 O% D  m" K$ t  ?. r2 l
  171. ;;;;;;;;;;;;;;;;;;;;% E; j/ ~) `2 K1 j0 y
  172. ; php.ini Options  ;& p. A# A) ~5 u8 X! f
  173. ;;;;;;;;;;;;;;;;;;;;8 a- I/ e: y7 n5 U$ Q1 B
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
      }" k  t8 ^+ i) x3 I" j* r" o" f9 \! ^
  175. ;user_ini.filename = ".user.ini"
    8 I9 n" `, u5 {: U1 d( d

  176. ! U) c: G  p) t4 C+ N
  177. ; To disable this feature set this option to empty value
    * h/ S' @' f! I% F5 t
  178. ;user_ini.filename =
    9 u3 l) m9 J$ ?0 g/ T

  179. : R0 X8 V5 Z$ U! h  k
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    , W2 y& ]+ N/ K
  181. ;user_ini.cache_ttl = 3009 s) g; g2 t4 I% |. d/ K' {

  182. / c, `5 G; [/ \& r- @' n" y
  183. ;;;;;;;;;;;;;;;;;;;;
    " T( b. Q: k4 w& W
  184. ; Language Options ;
    7 r/ x, x6 L5 C  J: l" T: V, @
  185. ;;;;;;;;;;;;;;;;;;;;: `2 O# o4 C) @9 l5 n4 V
  186. ! C- Y" ~+ U+ R3 o9 [. z$ z8 ?
  187. ; Enable the PHP scripting language engine under Apache.
    ) @+ A; T0 y$ J
  188. ; http://php.net/engine( {# h; P6 R# D# v# z# z+ n, x
  189. engine = On
    & `, X6 v* l( q) @. d3 N

  190. # C: o  Z( B" x+ m' t3 K* g, d; k
  191. ; This directive determines whether or not PHP will recognize code between
    7 E9 ?8 N2 G- B
  192. ; <? and ?> tags as PHP source which should be processed as such. It is- h& R. W/ Z: X; e$ S7 \$ G* \
  193. ; generally recommended that <?php and ?> should be used and that this feature
    / ^0 y& {# Z2 m
  194. ; should be disabled, as enabling it may result in issues when generating XML
    . m, m1 b8 a/ E# X
  195. ; documents, however this remains supported for backward compatibility reasons.1 V; I' l/ P4 ?! D' \
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    1 g$ B1 d  ?1 Z# X" |
  197. ; used regardless of this directive.% ~- c& U/ Q1 W" x0 y6 D" v
  198. ; Default Value: On: D9 o- v6 ]* W4 p+ y. O: Y
  199. ; Development Value: Off
    + S. P- U( C7 M' t" `
  200. ; Production Value: Off+ d1 ~7 Y) F6 W) T' D
  201. ; http://php.net/short-open-tag
    ( h' \' g% c( n9 ^9 x
  202. short_open_tag = On# K* c9 |) B% s* E, S: w# T& H

  203. 1 _' g& I0 e  ?) G+ i( Z
  204. ; Allow ASP-style <% %> tags." `4 I+ c6 V/ m) e" G( x; A+ X% [, G
  205. ; http://php.net/asp-tags: \5 e- ]' F0 L& P5 j. r/ T
  206. asp_tags = Off6 \9 ^+ ^  E4 U" u
  207. ; G  b4 s% |; s% W' M) P
  208. ; The number of significant digits displayed in floating point numbers.
    0 I, ?+ [4 Q+ @: C# b
  209. ; http://php.net/precision% R6 E. i! w3 A- U- C: f' y
  210. precision = 14" V* _0 q9 I0 I0 G7 I
  211. . D$ H4 O/ B; w1 I6 u6 K
  212. ; Output buffering is a mechanism for controlling how much output data
    3 _$ S4 U- C) E' l' u$ F! N
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    8 E9 O  B5 s& Q+ b% r2 ?
  214. ; data to the client. If your application's output exceeds this setting, PHP
    - X( _2 l, p0 m
  215. ; will send that data in chunks of roughly the size you specify.
    # ^  b5 W$ x# d& x% ~
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    & G  S/ P+ |6 k6 {" H! u
  217. ; interesting side-effects depending on your application and web server.
    + A. W( d* H! D% t% I$ E
  218. ; You may be able to send headers and cookies after you've already sent output
    " `/ `9 n2 g; s7 n3 I+ q
  219. ; through print or echo. You also may see performance benefits if your server is( d# B( P' p$ i2 n+ N
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ' q( `& d( e: a/ W, a0 @
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance7 Z* R" D' |% X
  222. ; reasons.4 J  U/ I- N* z8 o& R5 [* F- j
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    8 _: |& t' {6 ~- y
  224. ;   functions.+ k  @" E/ p0 @  b" K2 b0 K( Q
  225. ; Possible Values:" u* X  J$ c6 f4 F3 I) \  {4 j' \
  226. ;   On = Enabled and buffer is unlimited. (Use with caution). d6 A7 p) O& T2 f
  227. ;   Off = Disabled" G  g' E2 w( i7 d- g8 D: L
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.* w% d: ]& Q2 B% h0 F0 F
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    9 y/ }! v4 C6 m! V
  230. ; Default Value: Off
    2 H5 Y: |# }6 h: T" n) n
  231. ; Development Value: 4096
    ; |$ ]& {8 X& F) U5 k
  232. ; Production Value: 4096. U( @2 h! A+ e* {0 P9 [2 O
  233. ; http://php.net/output-buffering4 ]0 e! g( ~8 _* _  ^
  234. output_buffering = 40965 Y1 t0 ]+ n, q. {, V! _
  235. ' d7 H6 c9 }% Y& j1 F
  236. ; You can redirect all of the output of your scripts to a function.  For7 W# C4 H* [+ M; }- _" ?
  237. ; example, if you set output_handler to "mb_output_handler", character0 s& F& k' H0 d3 l7 j# s
  238. ; encoding will be transparently converted to the specified encoding.' Y. `; o; ?0 t. T, R
  239. ; Setting any output handler automatically turns on output buffering.
    4 p1 o8 a! b  Q- T" \
  240. ; Note: People who wrote portable scripts should not depend on this ini
    6 ^" a; u1 q/ r! M1 |9 d  g8 p
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    6 f) F; s7 j8 m" g) y% n
  242. ;   Using this ini directive may cause problems unless you know what script% e2 W# H0 G: k5 d% Q
  243. ;   is doing.: c. N" @9 C  S
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"- B$ E5 q8 F; a4 O0 h
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ) K1 l7 W% L  r  k$ J9 u
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    + p% q0 m) ^- t* y' f9 T2 K  E
  247. ;   Instead you must use zlib.output_handler.+ z1 @7 W2 o2 B' l5 {# C, p7 X
  248. ; http://php.net/output-handler
    2 Z, ~- _: D' j; t7 B* w1 H
  249. ;output_handler =4 a, D6 O$ s0 _& K2 n1 d& D% O

  250. / @# K. v+ T; S2 ]7 \, T  i5 U5 v) Y
  251. ; Transparent output compression using the zlib library# U* F* [2 i$ d
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size- r0 d, k9 b2 e  [& [8 T
  253. ; to be used for compression (default is 4KB)
    8 b/ p: M& U  `$ Q" s3 s; r- B
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP/ j6 C0 \. i3 z5 c2 _' e* Y
  255. ;   outputs chunks that are few hundreds bytes each as a result of- \" q0 t% n2 a" T6 K
  256. ;   compression. If you prefer a larger chunk size for better
    $ C) Q4 z1 `, x* [
  257. ;   performance, enable output_buffering in addition.
    ( I- S: g) g# D* q8 v
  258. ; Note: You need to use zlib.output_handler instead of the standard% P. ~% ?+ }, Y8 ]4 v8 {, {
  259. ;   output_handler, or otherwise the output will be corrupted.* J2 {1 i! P1 W* C' `
  260. ; http://php.net/zlib.output-compression4 f# b+ t6 b* F. J/ g& d
  261. zlib.output_compression = Off* ~# N9 {7 a& K
  262. , ^( q1 |) R! D
  263. ; http://php.net/zlib.output-compression-level
    3 d4 K+ j6 H6 w) d+ s) t
  264. ;zlib.output_compression_level = -1* p& d8 V3 ?7 }" Q5 T: `5 k

  265. ! v, E4 I6 t8 g: Z/ e! @
  266. ; You cannot specify additional output handlers if zlib.output_compression
    2 J: V% w1 ?+ k) t$ B. G
  267. ; is activated here. This setting does the same as output_handler but in
    * r& N' Z& D3 D
  268. ; a different order.+ K$ m1 P& c+ q+ H' K
  269. ; http://php.net/zlib.output-handler2 d1 W- Y9 }/ ?! Z
  270. ;zlib.output_handler =
    4 f! s0 i5 u4 \) \2 p% T) ?. l
  271. ( }1 A2 u: R2 ^
  272. ; Implicit flush tells PHP to tell the output layer to flush itself7 S# `1 A' f( d
  273. ; automatically after every output block.  This is equivalent to calling the
    . P; o1 \9 U, y- w! B. M: o1 j
  274. ; PHP function flush() after each and every call to print() or echo() and each. [" y. x% E- [% L8 c5 E$ B
  275. ; and every HTML block.  Turning this option on has serious performance
    & G; k2 h' I" r, j4 G! B
  276. ; implications and is generally recommended for debugging purposes only., x: e" T8 \4 N6 r3 D2 E
  277. ; http://php.net/implicit-flush2 C) y( Z# o2 w# A0 X
  278. ; Note: This directive is hardcoded to On for the CLI SAPI/ l0 D: f4 ~5 C  @0 @# n$ z1 M, M
  279. implicit_flush = Off1 P, m& ?8 r' e
  280. + d8 n$ h% M- ]5 k4 n4 s7 b
  281. ; The unserialize callback function will be called (with the undefined class'' Y8 X+ ^+ x# X$ R' B( U6 t
  282. ; name as parameter), if the unserializer finds an undefined class/ }" R. Z8 M, {0 F0 g( H
  283. ; which should be instantiated. A warning appears if the specified function is
    7 q2 o+ s! a* I8 ]' g3 \
  284. ; not defined, or if the function doesn't include/implement the missing class.
    * [8 T( g8 }2 [- d# e2 D* _% \
  285. ; So only set this entry, if you really want to implement such a
    ; h! B$ l5 I3 v$ ^- u1 t
  286. ; callback-function.
    - D# T/ G' y/ R6 }/ V7 t  e# F' X
  287. unserialize_callback_func =- d2 w3 k1 C, M+ y" y! q) {% n
  288. $ s$ y  O9 n5 ~3 j$ t2 a: p
  289. ; When floats & doubles are serialized store serialize_precision significant
    8 P5 q1 y7 N1 K% Z
  290. ; digits after the floating point. The default value ensures that when floats: {1 W  [0 n  g
  291. ; are decoded with unserialize, the data will remain the same.
    3 |2 G, I7 Q, I2 _% J
  292. serialize_precision = 17& N; o: {" O1 z8 P* }

  293. + j( o$ \6 C* T6 }/ [
  294. ; open_basedir, if set, limits all file operations to the defined directory
    8 ]) N$ [* [( N. ~" i0 c
  295. ; and below.  This directive makes most sense if used in a per-directory" d) E7 S; s, p' l* r
  296. ; or per-virtualhost web server configuration file.' P% n: x: I  G! q; z; u
  297. ; http://php.net/open-basedir0 c. W% z( n; s
  298. ;open_basedir =. o- \/ R) X' B9 A; Q
  299. 1 K4 z) A) `; ?7 q4 o4 V
  300. ; This directive allows you to disable certain functions for security reasons.
    " j, v# i. Z9 `! _  i
  301. ; It receives a comma-delimited list of function names.- J6 G; w7 E, G0 Z, k, x
  302. ; http://php.net/disable-functions
    + v0 g9 I, l( \1 D5 S8 E
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    8 k$ s; ~/ @: s7 |0 X
  304. 5 V2 Y: G" U9 \- s; U+ s2 r1 `
  305. ; This directive allows you to disable certain classes for security reasons.
    8 k; a% ?! G' K- P; V
  306. ; It receives a comma-delimited list of class names.! A, t1 h. a# N- s$ w
  307. ; http://php.net/disable-classes
    ) k& p2 k+ z8 x* y& J' b
  308. disable_classes =
    ; G  E* D/ b& J- ^

  309. 7 D; @1 T( O: O/ S
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    9 _! L. j2 J& U7 ?
  311. ; <span style="color: ???????"> would work.' B2 X7 F! _% K+ R( v9 S9 {; f
  312. ; http://php.net/syntax-highlighting& I3 R+ X9 }4 \" H, f* T2 w
  313. ;highlight.string  = #DD00000 N( i/ [  h) h& ~
  314. ;highlight.comment = #FF9900
    " M4 v! A) y& @
  315. ;highlight.keyword = #007700
    # @, w) C0 p8 d0 {" G
  316. ;highlight.default = #0000BB
    9 v) F- ^5 |. Q% g5 r: A5 s
  317. ;highlight.html    = #000000
    # S, x& l) r5 I1 W) d/ S& n0 Q

  318. 6 K5 U$ _2 w$ K! s
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    % ~: E  }" f& R4 R
  320. ; the request. Consider enabling it if executing long requests, which may end up
    4 f- |1 }* X( j3 K6 E' I
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior# Z7 u* [" A9 I' S  D* C
  322. ; is to disable this feature.
    * u  Z$ r* b4 c5 ~  Q7 J6 n2 |
  323. ; http://php.net/ignore-user-abort
    - L, y* E- a/ A8 R- i+ Z
  324. ;ignore_user_abort = On$ A. ], V( s9 R; Z5 `, N$ x

  325. 4 X; M1 t6 ]4 \0 e9 S
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    9 I, P* f8 x8 {: n5 A
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    " W1 x1 c% M* c; m$ F- H
  328. ; the file operations performed.
    . N3 [: R2 A) q# I3 `
  329. ; http://php.net/realpath-cache-size5 k5 a7 W! W6 O/ R' H: T  b
  330. ;realpath_cache_size = 16k
    ( s- N, X. m" r7 |* C- P! w
  331. / ~; f9 t. u2 F# R: Q, R
  332. ; Duration of time, in seconds for which to cache realpath information for a given0 D" T3 J8 ~0 ~' G, C& O2 b2 V$ K
  333. ; file or directory. For systems with rarely changing files, consider increasing this, n1 K5 C: u" U4 `. O+ R
  334. ; value.
    1 d! ]# w' W* D( a- D
  335. ; http://php.net/realpath-cache-ttl4 k$ \; {; k8 e( ~' n- K; B
  336. ;realpath_cache_ttl = 120
    ) C2 u$ C- Z& @1 f$ k) J/ p

  337. 8 `" c- T. ~7 X5 S+ z; q
  338. ; Enables or disables the circular reference collector.
    # C0 L- ^; e) b8 i" V0 \. I
  339. ; http://php.net/zend.enable-gc; ?' T4 n  w0 X- q: V  ~
  340. zend.enable_gc = On5 N# G4 H" H1 B9 `
  341. % p5 `4 K& j) F& r
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    1 M; }7 r5 D: e- B0 ^& u) y4 C
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    / m- b) p- ?. j$ _
  344. ; encodings.  To use this feature, mbstring extension must be enabled.# p: q- F  e; i) W* q3 i6 E
  345. ; Default: Off  [7 }6 r9 z6 Z" k* _& Z
  346. ;zend.multibyte = Off3 T! P# E3 ^! c- g
  347. 6 ?) `7 i$ m* M/ O, N, R
  348. ; Allows to set the default encoding for the scripts.  This value will be used
      H0 [( I( x! Q8 f
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    3 S! v( v0 y9 |% F
  350. ; Only affects if zend.multibyte is set.
    1 @; v& {+ |( |7 i, r/ z
  351. ; Default: ""/ M& F$ S: ~* l1 ]3 `6 _
  352. ;zend.script_encoding =  l$ ?  y7 t& |1 B+ z
  353. 8 X& k5 T) Q8 e: O7 a
  354. ;;;;;;;;;;;;;;;;;$ h8 ^0 A6 E4 ^/ s* f! Y4 K
  355. ; Miscellaneous ;$ B) x+ X2 V! e- d. j1 _
  356. ;;;;;;;;;;;;;;;;;
    : d1 u( E; C7 [
  357. 5 V# P9 n% L: V* W$ q
  358. ; Decides whether PHP may expose the fact that it is installed on the server0 M7 l$ i7 t5 O( b
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    * i# v0 d' ^. E6 a: w7 j3 _
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    9 C! y4 C: \5 R. j& G$ W0 W6 c! [
  361. ; on your server or not.
      r3 |) `3 P! g6 j4 y2 h6 Q5 W
  362. ; http://php.net/expose-php
    ) p4 w: h( l3 E- g5 ^
  363. expose_php = On
    1 f' `0 E* _6 Y7 C" s

  364. - J6 g7 {, |' \; W0 d  }
  365. ;;;;;;;;;;;;;;;;;;;
    " {9 j$ M1 {/ G$ k
  366. ; Resource Limits ;/ |' }' `1 U" F: c! C
  367. ;;;;;;;;;;;;;;;;;;;
    / I) K: e6 }# V
  368. , T. y3 H/ z, u0 ]1 a
  369. ; Maximum execution time of each script, in seconds
    * O0 {( y0 r& L* B8 A( J
  370. ; http://php.net/max-execution-time
    - ^( C: P: M. ]5 q, E- G; w
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI( Y' W' a- q2 ^, ?8 W9 s$ h5 w/ t
  372. max_execution_time = 300
    9 D' U( M; |4 i% ?1 X
  373. % @/ d) z  ], _- G
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    9 i8 c# b1 ]9 W7 U
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly( i2 O" ]" @  {" l) Y# N1 z6 {
  376. ; long running scripts.$ M# Y. O  a9 T9 I1 {* u
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    2 g8 ~& t" D4 J$ x) c
  378. ; Default Value: -1 (Unlimited)2 p# \5 C1 C2 T4 z0 R
  379. ; Development Value: 60 (60 seconds)
    ( z8 A7 F: D, `3 t
  380. ; Production Value: 60 (60 seconds)9 ?) F* P" J4 e7 ]/ ?
  381. ; http://php.net/max-input-time
    / l" x0 u! }4 z( b
  382. max_input_time = 60
    7 ?3 u6 v6 ^# n3 G0 `/ F

  383. ) r- ^+ `# o( J
  384. ; Maximum input variable nesting level: _4 x9 R0 H1 e# A9 R; @! B
  385. ; http://php.net/max-input-nesting-level9 x5 w& |8 u2 @# u# f6 O) M1 w7 a. E
  386. ;max_input_nesting_level = 641 e4 Q' V! D3 d

  387. ( e" ?3 T3 ?& ?1 ^# t
  388. ; How many GET/POST/COOKIE input variables may be accepted0 s/ ^) l* F# A+ E2 j) J8 S% @
  389. ; max_input_vars = 10003 s! J2 s5 A6 d+ a( [

  390. 7 k% P( b& \0 G5 X; e  n& S
  391. ; Maximum amount of memory a script may consume (128MB)  E  ]4 L9 |& l" W$ Y* T
  392. ; http://php.net/memory-limit  B1 j+ Y, D* m
  393. memory_limit = 128M3 |6 v& f& m( B9 s+ R# D7 [

  394. + A" w' _+ g) N9 g, ?3 x/ c
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 l* i* p5 m; }# I5 f$ I
  396. ; Error handling and logging ;2 T; V0 C! j9 E2 ?% Z# k
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 m) C  |% |$ v4 b# y

  398. / X* G- A, }7 ?( c3 v$ _( U5 F
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ' B$ x9 E7 U* X, J, X) e7 a5 y  z
  400. ; it to take action for. The recommended way of setting values for this* Q6 M: {1 ^( ]0 i  L" d
  401. ; directive is through the use of the error level constants and bitwise; t( |+ E  i6 C6 J
  402. ; operators. The error level constants are below here for convenience as well as
    4 E' k- V- c' q6 _( ]6 ?
  403. ; some common settings and their meanings.
    ( I: s* E& i2 U- `+ w9 z9 _4 x; V
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    8 C* V% E: v0 g) f0 s
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    1 q( S8 k; t0 |9 B  }
  406. ; recommended coding standards in PHP. For performance reasons, this is the7 c& O, i+ a1 X% q
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ' M) c! ]5 z# v: ^7 Q
  408. ; resources complaining about best practices and coding standards. That's what
    ! y" m+ F% [6 ?7 Z  y7 B
  409. ; development servers and development settings are for.
    ( \6 {! g# X, w6 x9 S* b
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ! f9 D* Y6 \% J
  411. ; means it pretty much reports everything which is exactly what you want during: A. T. e6 L- e5 ]& e4 U
  412. ; development and early testing.6 v& _+ D7 c  g, j( _
  413. ;% @* J0 t. H7 e: n2 X
  414. ; Error Level Constants:
    7 z* r/ G. g0 r* F
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    4 {  ~% k6 x5 ^6 j; @) q
  416. ; E_ERROR           - fatal run-time errors
    & p! K7 M" \! K4 ^8 L
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors2 q  E' _) F6 v% H+ A, h
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    ; z6 L! Y% m# J1 Y. w3 a" f
  419. ; E_PARSE           - compile-time parse errors
    / r- D0 l; u$ {) _: Q6 ^& ?
  420. ; E_NOTICE          - run-time notices (these are warnings which often result- ~& L9 ^8 N- @# W
  421. ;                     from a bug in your code, but it's possible that it was
      K* A; @" u7 u  W8 ]# q! M
  422. ;                     intentional (e.g., using an uninitialized variable and0 u4 G! @3 o2 ?6 H4 _; B5 I. v- A
  423. ;                     relying on the fact it is automatically initialized to an
    - F7 @  A4 u$ e$ B
  424. ;                     empty string)
    ' R5 K9 A  y) Q  }7 L" g, h
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes# V. F5 y) m( Q# j; A" _
  426. ;                     to your code which will ensure the best interoperability7 ~; ?( s# n5 \' S* `$ O
  427. ;                     and forward compatibility of your code) y$ I1 Z6 H6 M& S0 U
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup9 j  C+ e! R- O9 i
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    $ X$ r4 u/ d8 }; `1 i4 s
  430. ;                     initial startup; l6 x2 z, g( \" h( }
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    $ y0 t; J1 ^8 E* K7 h8 [. j/ K
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors), X* O, s1 l" v$ `' e. O
  433. ; E_USER_ERROR      - user-generated error message0 }* g/ @9 K7 G/ Q# L2 D
  434. ; E_USER_WARNING    - user-generated warning message
    5 a8 F7 S, h$ M
  435. ; E_USER_NOTICE     - user-generated notice message
    4 x0 G' V9 b  W, M
  436. ; E_DEPRECATED      - warn about code that will not work in future versions! G) m" _0 \6 |. f9 i( P6 [
  437. ;                     of PHP7 f1 W' ]9 h# X0 s, U
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings: K- {# b# }0 S# P
  439. ;' ]# H2 a/ G$ l1 l( O8 i. W4 g
  440. ; Common Values:# Y! E# g; X% U- Z
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)" x- g2 p& P( K6 \. l, o' ~
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)8 r" Z3 @5 s, J- Q' L/ }' B
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ( D4 B- A. Z* j- K9 [$ v, c! V
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    5 V2 D( f4 \) P) M9 {4 t
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    7 e( s/ }3 o2 j% i
  446. ; Development Value: E_ALL
    , V9 g# H. |# [; v5 ^6 B5 d
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    1 X5 o4 J+ G9 _9 T# c4 }8 A
  448. ; http://php.net/error-reporting4 r) I* G6 a* M6 u) c! E
  449. error_reporting = E_ALL & ~E_NOTICE
    6 D5 c7 c( F9 `! i! N& o( W1 C

  450. 7 F' i4 C; u9 i- P. ?9 S
  451. ; This directive controls whether or not and where PHP will output errors,
    7 g" A8 ~& Q$ p: c8 t) s! @
  452. ; notices and warnings too. Error output is very useful during development, but
    6 M; R! j& I. B  d& \
  453. ; it could be very dangerous in production environments. Depending on the code, [( a% }6 K0 w  w; |/ v) u
  454. ; which is triggering the error, sensitive information could potentially leak" ^% A; c8 U, @; Y& Z
  455. ; out of your application such as database usernames and passwords or worse.
    9 t, ]0 `# l2 \1 e. B# q$ k
  456. ; For production environments, we recommend logging errors rather than! f! W5 K! t4 N7 D, K( m5 x$ i
  457. ; sending them to STDOUT.: H/ m  k% I/ ~5 l  u
  458. ; Possible Values:" c  h' B; Q) m5 y
  459. ;   Off = Do not display any errors
    , S& W1 E) p. x* c
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    % j+ n, j; f# j$ q$ ]
  461. ;   On or stdout = Display errors to STDOUT
    6 A9 c( \( a/ }2 h7 G
  462. ; Default Value: On
    , l+ V7 Z2 }# l( ^, N# B: i" k
  463. ; Development Value: On  t7 H  B5 y3 z  q8 k
  464. ; Production Value: Off" j( y6 p; [5 C4 v0 {, ^: d
  465. ; http://php.net/display-errors2 d+ p# R0 ~# s( ~
  466. display_errors = On( @7 R% l2 D& T8 W, {, `$ B

  467. ( A1 [0 X# n1 z. m% A
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ; T# w1 |% K: c5 [8 W+ r  ~
  469. ; separately from display_errors. PHP's default behavior is to suppress those8 o; l$ g) t" d, B3 w
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    * |$ N4 Z; v' @2 S, c0 u
  471. ; debugging configuration problems. We strongly recommend you
    # k& J, [; u3 ]8 `
  472. ; set this to 'off' for production servers.6 J" G9 A; H; B" W+ `; [
  473. ; Default Value: Off& Q- J$ ~# L' f8 ^) o
  474. ; Development Value: On
    $ r8 C) O) Y2 q' H% p9 B+ P
  475. ; Production Value: Off
    ) f" }; |; ^8 n+ m) _. U4 ?
  476. ; http://php.net/display-startup-errors
    ( [* T* ~/ A0 k3 @2 h! v" N
  477. display_startup_errors = Off2 P4 h8 _* n' i; w2 o$ n

  478. , D# v; |! R# V) y
  479. ; Besides displaying errors, PHP can also log errors to locations such as a* O% f. X9 j4 c/ E
  480. ; server-specific log, STDERR, or a location specified by the error_log# _  v$ g/ A5 {/ F3 ^" ]4 D
  481. ; directive found below. While errors should not be displayed on productions
    : y: {( c1 ?/ P* {$ e; F
  482. ; servers they should still be monitored and logging is a great way to do that.
    * X. F" T4 }' t! @# t" {, c# i
  483. ; Default Value: Off
    9 j7 G, N8 v6 q* a3 S
  484. ; Development Value: On% N( n/ D% |4 u$ P3 J
  485. ; Production Value: On5 V% k2 B, s: I/ B$ P1 }
  486. ; http://php.net/log-errors
    / v4 ~. K& i* r9 d% Q
  487. log_errors = On# }3 x: `, g8 a- {$ g

  488. ) {. N7 y3 p" @3 _8 c, z
  489. ; Set maximum length of log_errors. In error_log information about the source is. J- C4 F0 W( ?4 N" H" g- M$ }* _
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
      [+ g4 ~/ v$ b+ J/ d
  491. ; http://php.net/log-errors-max-len
    1 d: X8 F  ]/ T1 W
  492. log_errors_max_len = 1024# L8 f5 \! t8 b/ T' |

  493. ( ]/ m3 f$ ?: T2 r$ Z, m2 K* d. W% o; l
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same8 f' J8 J8 ]+ B6 l, X2 ]7 k
  495. ; line unless ignore_repeated_source is set true.+ o8 `: N8 J0 f& _- `5 W/ w; N
  496. ; http://php.net/ignore-repeated-errors7 u% ]+ g3 F5 ]7 Q8 H# f
  497. ignore_repeated_errors = Off
    4 L+ G% w9 |0 x8 D% k4 G
  498. 8 ?. K% P3 ^& p$ {9 }3 n0 P
  499. ; Ignore source of message when ignoring repeated messages. When this setting, S; v9 o" C5 {: G3 A. b
  500. ; is On you will not log errors with repeated messages from different files or
    2 {& _/ \  Z) r. x3 I# w
  501. ; source lines.
    6 U: Z% R6 W7 y6 @
  502. ; http://php.net/ignore-repeated-source* h* s' H9 x. Y7 @: e
  503. ignore_repeated_source = Off
    ! w% ]) T2 G6 f  J7 e2 G4 p5 `

  504. # B5 ~+ O/ \2 W4 ~
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ) N) E6 ]1 H' y. l2 S, R1 T6 L9 J
  506. ; stdout or in the log). This has only effect in a debug compile, and if9 L7 F8 o! p# U2 G2 u
  507. ; error reporting includes E_WARNING in the allowed list
    0 X) r7 |* m% Z1 x5 d
  508. ; http://php.net/report-memleaks
    9 f. M4 U, F5 V2 r& m
  509. report_memleaks = On5 f4 |4 V" V: V% z
  510. % K3 n" S3 g" E4 v3 l- W' H
  511. ; This setting is on by default.3 }1 b7 [) B( x  m9 r7 ^
  512. ;report_zend_debug = 0
    7 ]4 i' l+ s* b3 Y3 r4 |8 R8 ?
  513. 1 s/ F$ x# a4 |% o% \
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    $ }  J; S8 r7 i# o) u( |8 p
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    , d, w- T% d6 x
  516. ; however be disabled on production servers.6 W/ u1 f3 B/ i- R6 i
  517. ; Default Value: Off+ u5 M3 R  z  _- Q4 w, x( [( C
  518. ; Development Value: On" C  \$ Z5 o' E
  519. ; Production Value: Off
    % o" _3 O8 g# F  J5 A
  520. ; http://php.net/track-errors
    8 l6 Q: }; a7 Z! |( u. q+ q
  521. track_errors = Off8 Z1 Y; U* L* z8 T; a+ M
  522. $ f+ r# W# y0 X$ m1 \/ A  M
  523. ; Turn off normal error reporting and emit XML-RPC error XML& a/ W( S  [, m
  524. ; http://php.net/xmlrpc-errors3 R- G2 ^- Q8 \2 K5 d4 A1 X
  525. ;xmlrpc_errors = 0  a& {7 n& F, F, j9 \% g' ]
  526. 1 A5 V+ D: ]2 ]4 v9 q0 y& ^
  527. ; An XML-RPC faultCode/ v# h  p/ j2 u8 ?
  528. ;xmlrpc_error_number = 0
    - g9 b3 N! x8 T7 c

  529. 6 v( @: R  X4 q* h: `
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    - o; K1 H/ ~5 I& X0 i, @4 B& S
  531. ; error message as HTML for easier reading. This directive controls whether
    8 F' T4 `7 h$ Z% ^) L
  532. ; the error message is formatted as HTML or not.! o" ]6 S/ ?/ A; l' K0 \/ w& {
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' t6 }' x, D- X  M
  534. ; Default Value: On
    # ?4 V/ k% ^0 M( Z
  535. ; Development Value: On7 s( [5 v: m+ A' n5 b5 M
  536. ; Production value: On
    3 v' L6 B3 j# E3 _4 ]$ N
  537. ; http://php.net/html-errors, ]/ }4 G5 ]8 A9 M0 B  q8 {
  538. html_errors = On
    : R$ g0 l( U& M3 Q

  539. - ^; x+ q  ?2 R" {1 _
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ) X' `8 l& F0 z4 Y; G
  541. ; produces clickable error messages that direct to a page describing the error! @/ e* g3 s4 F& F1 h
  542. ; or function causing the error in detail.; N1 d% c  R1 A, v3 |% E
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    : f4 |, Y+ d6 r/ S1 Q, Y+ T
  544. ; and change docref_root to the base URL of your local copy including the# U- r; O2 M* J: B# a% W5 @, I
  545. ; leading '/'. You must also specify the file extension being used including
    ' E8 J1 I0 ]" R1 R9 L
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    # ~, b7 X4 e4 h! j" a
  547. ; case no links to documentation are generated." B# z7 D( ~) P1 E3 C  l, Q& v' Z
  548. ; Note: Never use this feature for production boxes.0 D8 @* ~+ I* _. T  k
  549. ; http://php.net/docref-root
    ( S. q6 |* {9 @* ~/ U3 r! c
  550. ; Examples3 R/ o! j$ u8 }) q% w, c* a
  551. ;docref_root = "/phpmanual/"
    9 E) c% u7 m0 R* {3 S/ A2 U

  552. 6 ?8 e; _7 D/ C' ?3 q
  553. ; http://php.net/docref-ext% A3 t- D! U- W$ i* D
  554. ;docref_ext = .html& R6 z; D$ ]- w+ C7 v$ H3 H6 {2 e

  555. 1 J, y" L, z) a5 f% Q
  556. ; String to output before an error message. PHP's default behavior is to leave
    ( B6 @8 b: s# u
  557. ; this setting blank.
    0 J% ]3 E, U9 _8 n
  558. ; http://php.net/error-prepend-string, h4 }/ y* l$ r( R/ r! F, r
  559. ; Example:
    9 D5 Q; E: }& J  s  Q
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    ( N& i7 }* o: ?* I

  561. 9 A* k2 V2 D6 w7 p# U& B: v
  562. ; String to output after an error message. PHP's default behavior is to leave# A7 I; y; j% n% `' S
  563. ; this setting blank.5 c: M9 f/ a. ^. k" C4 E
  564. ; http://php.net/error-append-string
    4 F3 ~/ P/ n" P& @! G- ~
  565. ; Example:: S  v' m; L4 i  n) c6 s9 g8 O
  566. ;error_append_string = "</span>"  d8 y6 N( G, t: g$ B

  567. 8 l( q, |2 e) L0 I% m# s7 E( m6 d1 x
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    ( l  ?, S7 X/ I, [9 L
  569. ; empty.
    7 g( y7 P. N$ n$ G; I2 O8 E8 m
  570. ; http://php.net/error-log, ]+ g0 q* [. ?2 Y9 d* u
  571. ; Example:; i/ e  m$ {, e
  572. ;error_log = php_errors.log, L( L" n: K" `* @( r
  573. ; Log errors to syslog (Event Log on Windows).
    " H2 s1 P. l! j4 w' a0 x
  574. ;error_log = syslog1 S5 z. ~4 q" H% J; m' ]5 l
  575. / K2 x# f; F' ~; D" L
  576. ;windows.show_crt_warning' W% c; a7 Z$ Z0 ~" m. E( `) b) K
  577. ; Default value: 0
    + Y% f' C/ j$ n. D& }* n5 d+ D
  578. ; Development value: 08 x' j: T) B: |* ]# I4 r
  579. ; Production value: 0- A6 S6 ]& y) S4 X: U. X' c, t

  580. 6 a6 e& w( W5 V/ Y& g
  581. ;;;;;;;;;;;;;;;;;
    + z; t' J$ L, w* t# \
  582. ; Data Handling ;
    0 ~; o1 m, G) S; R8 {5 l
  583. ;;;;;;;;;;;;;;;;;* |, Q  N& K4 ^

  584. & ^$ b# I% A- [6 v  @2 A
  585. ; The separator used in PHP generated URLs to separate arguments.
    # R- A7 ^3 y; H& t
  586. ; PHP's default setting is "&".0 ]2 F% T$ k9 k; J* B
  587. ; http://php.net/arg-separator.output
    3 J% [. n. E4 _2 J$ c& I+ [' `
  588. ; Example:
    $ C& \- @; T: J  v9 ?1 Y; p% a, K) Z
  589. ;arg_separator.output = "&amp;"2 i1 u. q3 J0 w/ `' D
  590. - c5 x! r, e$ H( b8 }9 ]# t
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    & t2 h3 P# B: W: B# D, ?
  592. ; PHP's default setting is "&".
    * m. t% v* A- K0 Z
  593. ; NOTE: Every character in this directive is considered as separator!% P7 B" {; @0 h# v% B/ S  S
  594. ; http://php.net/arg-separator.input
    9 s* ~9 Y3 }. d9 ]
  595. ; Example:
    8 }9 Z( T( C2 Y& M5 k0 f/ L& r: I
  596. ;arg_separator.input = ";&"
    ) D5 P+ e6 D2 |
  597. / H  w3 v' v: q& {, C* ~% Z
  598. ; This directive determines which super global arrays are registered when PHP" {/ f& [. y5 Z/ l# _$ m
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    % M9 ~0 p2 z8 p) G5 [# i
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty6 U; b# _( E: m
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    3 y/ l1 ~( q  T) E# n1 H# k
  602. ; used as the others, ENV is not recommended on productions servers. You
    ) Y  }  E3 Z( j8 G
  603. ; can still get access to the environment variables through getenv() should you
    & Q" j0 i7 ~. p+ _4 d7 [
  604. ; need to.
    * V1 t& C* I* F$ N
  605. ; Default Value: "EGPCS"
    $ `& M6 y) V8 @7 E
  606. ; Development Value: "GPCS"
    - L' F+ q4 ~4 C. Y
  607. ; Production Value: "GPCS";
      q" w7 m$ m; E3 _6 U
  608. ; http://php.net/variables-order
    2 X6 D  B' t: Q' \- }
  609. variables_order = "GPCS"
    & z7 m9 p: H( K# P- X( l; V
  610. : u3 A3 u$ c' s, ]
  611. ; This directive determines which super global data (G,P & C) should be
    5 y- D9 H: O! b" M
  612. ; registered into the super global array REQUEST. If so, it also determines  Y8 I5 i3 N. [" H& }
  613. ; the order in which that data is registered. The values for this directive( D! U- ~% P( ~0 i6 ]% {! R; v- X( t+ h
  614. ; are specified in the same manner as the variables_order directive,
    2 v( f) q3 \( g% `, s! Z4 |
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set) ~. q6 m& ?3 L4 X1 Y. @
  616. ; in the variables_order directive. It does not mean it will leave the super2 G" S( @0 K5 g8 b: q
  617. ; globals array REQUEST empty.
    . j; y7 M7 G2 ^  P" `
  618. ; Default Value: None; p$ G$ {) h7 H
  619. ; Development Value: "GP"7 N! P. N8 U9 A/ X$ t0 `+ T
  620. ; Production Value: "GP"
    0 ^: l% d  u/ g( p& R# M
  621. ; http://php.net/request-order
    0 F1 _( Z5 ^% n/ `% s
  622. request_order = "GP"+ z  q( S: T7 V1 h, c- f6 O

  623. ' D+ b5 C! p9 A# q* ^
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    & e& V: q* s' F+ R! r7 O
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script' U* d+ _& Q2 `1 U" h& l. A
  626. ; is invoked. $argc contains an integer representing the number of arguments! g# ^1 Q  B- c0 S
  627. ; that were passed when the script was invoked. These arrays are extremely
    % k+ X4 `, }4 C* W* B4 @/ K* ^0 @( c- m
  628. ; useful when running scripts from the command line. When this directive is* Q: c6 ~& O8 V7 T; I
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    7 V: S7 ]/ I& }7 m; Y
  630. ; a script is executed. For performance reasons, this feature should be disabled
    4 p  V" e0 j1 q' h0 b) o4 \
  631. ; on production servers.$ x3 Q5 X! g( J) u8 M
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    " e) i; c! f% Y) J
  633. ; Default Value: On: O. t  a7 ~9 u- a! ^  ^! n& d
  634. ; Development Value: Off3 z' y" A( [/ c4 R
  635. ; Production Value: Off
    ( r6 w& l1 B  g2 ^2 O0 W6 `1 z
  636. ; http://php.net/register-argc-argv( q& j+ l0 U: f) ]
  637. register_argc_argv = Off
    ' \$ [9 n4 U8 t8 T2 s

  638. - H- ~8 B! U* S; C( I2 d0 w
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're: V& X. G* w3 _0 H: [# y1 `
  640. ; first used (Just In Time) instead of when the script starts. If these/ T- _. E! A7 N; v  a- ~0 T# G
  641. ; variables are not used within a script, having this directive on will result1 ?& |5 ^- K2 U
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled6 n( r  `0 Z7 r7 y7 T6 W
  643. ; for this directive to have any affect.
    * X/ R! L2 b! v6 X- ]; ^' _
  644. ; http://php.net/auto-globals-jit+ Q8 X2 k3 N" v& p
  645. auto_globals_jit = On4 N. ]/ L% L1 y8 q, I8 G
  646. + }3 l) F* Y: H, J
  647. ; Whether PHP will read the POST data.
    - \+ ^, m) w' w* k  o. q
  648. ; This option is enabled by default.  ^! R" Y7 m! }
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST: S: h2 A; H, l2 T5 H# E& [2 U
  650. ; and $_FILES to always be empty; the only way you will be able to read the$ b2 K7 _9 A& J3 }( E
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    3 |0 B" [3 g2 x/ x( T) R- J
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.( B4 Q3 Q4 U5 E' u' {
  653. ; http://php.net/enable-post-data-reading  a# h1 A0 B5 h+ {* k& A
  654. ;enable_post_data_reading = Off
    8 B5 [6 t# A# ]2 w: v3 t7 K
  655. " I8 i1 Q8 U. q& N- z% a1 @
  656. ; Maximum size of POST data that PHP will accept.; W3 A2 @  f. ?& x* j
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading( v' s0 Z/ P7 J8 _
  658. ; is disabled through enable_post_data_reading.
    5 y6 z: _$ N( O9 m; `! o
  659. ; http://php.net/post-max-size
    " O) u; u$ H% _& F5 x) m/ L
  660. post_max_size = 50M! n  v' `: Z# s1 C/ J( F

  661. / C# t7 m* H5 R7 z- h
  662. ; Automatically add files before PHP document.& e0 R# c$ r" d0 ~0 ~" L
  663. ; http://php.net/auto-prepend-file2 Q  r8 ~, W+ x4 F1 o
  664. auto_prepend_file =
    # o+ R; D# u; E2 E: Z7 J# @* B

  665. 5 O7 a  N% X( N4 p! Q
  666. ; Automatically add files after PHP document.
    , t5 H  K6 m3 ]9 B& A- I
  667. ; http://php.net/auto-append-file; u! F& W) L' `- h1 N8 o
  668. auto_append_file =$ q: T$ T, }) D+ o2 i
  669. 4 C6 o5 |: B: c
  670. ; By default, PHP will output a media type using the Content-Type header. To
    8 ~* m8 O9 T3 ^
  671. ; disable this, simply set it to be empty.
    - T* W. G- P; y0 l; H) j: J) s3 h
  672. ;; e5 f. B/ G7 Y( M
  673. ; PHP's built-in default media type is set to text/html./ s8 D2 q! F, T. D; d
  674. ; http://php.net/default-mimetype$ E* @  `4 k% ~4 N% L/ ]
  675. default_mimetype = "text/html"1 s; }, M+ V% b& m6 _: |% H+ d

  676. 3 e) D1 G% B- B
  677. ; PHP's default character set is set to UTF-8.5 F3 v1 B( Z8 |- N7 S" j
  678. ; http://php.net/default-charset" _6 G, K/ g3 m1 ^% N7 B
  679. default_charset = "UTF-8"& \& c6 {" N! o* l

  680. 2 u8 l4 f9 z0 H) ?) l( B7 i
  681. ; PHP internal character encoding is set to empty., j* X' J2 X2 ?
  682. ; If empty, default_charset is used.
      x4 C# @: s6 v1 ~3 \
  683. ; http://php.net/internal-encoding
    . k$ q5 P3 b7 E
  684. ;internal_encoding =
    6 r) |& R/ F7 X* w

  685. : N7 Y2 {# G" ?; R6 ?
  686. ; PHP input character encoding is set to empty./ p6 Y1 @# N1 `5 f
  687. ; If empty, default_charset is used.
    " ^( N* k% g" L7 M$ F. S' `: C6 z  Q+ x. Z
  688. ; http://php.net/input-encoding
    " v/ {2 l6 O- r+ T
  689. ;input_encoding =# M0 C$ Q1 g- b$ D/ e4 S6 p
  690. $ G1 `( d" P& B0 W1 U
  691. ; PHP output character encoding is set to empty.
    3 u  H" q( s9 f/ k6 n+ u
  692. ; If empty, default_charset is used.; d# N: r2 ?1 j7 p$ I+ b
  693. ; See also output_buffer.
    , L" c: y* z+ g! U7 @5 |
  694. ; http://php.net/output-encoding, Y% y$ q0 f9 u4 M7 L
  695. ;output_encoding =- ?$ ?# D7 N/ f9 P

  696. 3 ]# x# _7 s* |( `1 S9 C, [
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    $ X% c% Z- s6 I
  698. ; to disable this feature and it will be removed in a future version.
    ( _, r/ l+ g' \6 N$ `6 l& Q' X) |
  699. ; If post reading is disabled through enable_post_data_reading,( n5 E; R: H6 T) L6 j$ `1 v: q1 R
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    & }/ U$ w3 |" y5 T2 v+ y3 j
  701. ; http://php.net/always-populate-raw-post-data
    ; G9 v) p7 g- v, B% Y
  702. ;always_populate_raw_post_data = -1" i2 d2 L6 a, w6 w
  703. / O* S" ], J5 N* x- H
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    8 F2 L; z; M/ F& u; m& Y
  705. ; Paths and Directories ;
    8 B) \7 D( d3 X# f5 D) k2 ^8 M( |
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;) g9 p3 H" a) ]
  707. " |! s! w" \% H& P1 o% S8 H6 e: R5 P
  708. ; UNIX: "/path1:/path2"
    $ y+ [9 h7 V4 y! s4 Z9 S" C. z* F
  709. ;include_path = ".:/php/includes"$ v* {' t+ S" Q( y
  710. ;! R8 ^; u8 }. b% D  f& M  H* v
  711. ; Windows: "\path1;\path2"# ]: e& u' G7 S/ y( V' E6 ?1 ?
  712. ;include_path = ".;c:\php\includes"
    2 n8 }& y; e- A, M& s
  713. ;& _9 }! O: W4 h1 L% w# `: _
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"' i3 d$ p0 g: x7 y' s
  715. ; http://php.net/include-path6 Y, i7 `- `6 D, y

  716. ' l- q( {9 P+ P
  717. ; The root of the PHP pages, used only if nonempty.
    ) c" C/ ?; x/ ^, A% W+ b& |, Z- S- o
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    * B' I9 _) p$ q; A
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ; M# K+ {) ]/ H/ s
  720. ; see documentation for security issues.  The alternate is to use the
    9 d' E* M' `( X1 ~9 @7 C9 e
  721. ; cgi.force_redirect configuration below
    8 E! ^5 s# }% y. Y, }
  722. ; http://php.net/doc-root: n- y" @. U- L. r9 y/ M
  723. doc_root =
    , M; ?  }* ]3 F5 f# j
  724. 3 M- l- u. j) m; K5 [$ t4 n: q: X1 x
  725. ; The directory under which PHP opens the script using /~username used only  N9 c" H( ]+ B- d
  726. ; if nonempty.0 X0 u% o8 o. w6 Y" W; M3 D
  727. ; http://php.net/user-dir
    2 n9 x# ^' t0 K5 U
  728. user_dir =
    $ V# C7 [, S* b1 m# _
  729. 1 \6 j8 W1 v5 v
  730. ; Directory in which the loadable extensions (modules) reside.5 I; e5 {3 T( N9 U, y& O
  731. ; http://php.net/extension-dir
    + V* y# a: E0 S' V+ n
  732. ; extension_dir = "./"
    / y! C$ d" `' T1 d  K1 U4 K6 N. Q
  733. ; On windows:( ]+ R, Q9 ?3 e( O, T# q: M& w4 j
  734. ; extension_dir = "ext"& H2 C9 ^- V# i- r  y* E  B

  735. 9 V: _* M: v; p1 U) o% ]
  736. ; Directory where the temporary files should be placed.
    0 W# @0 n+ {+ w0 {5 ~7 J
  737. ; Defaults to the system default (see sys_get_temp_dir)& S# Z& i" r9 ?( M( G; J. ?/ Z
  738. ; sys_temp_dir = "/tmp") f/ U9 i7 Z' f( R; \3 Y

  739. ' S6 O( u. p" H$ }9 L% N
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work" U1 p  X: n; b. L
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically! t% j/ w2 W% N# [2 {, o+ U& R
  742. ; disabled on them.% z' C' s4 l, @) |
  743. ; http://php.net/enable-dl1 G0 a; O( N! X: O( g) y9 A
  744. enable_dl = Off
    & V0 _1 `8 J9 V, ~# ]8 F

  745. 4 h" t: r0 O% D/ o. {: `
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    7 z) x  S8 N% U- f. T8 k1 i
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ) k$ }7 k  \+ [! }
  748. ; turn it off here AT YOUR OWN RISK0 r+ P3 i8 ], Y# F; j" Z) }: U* ^3 V
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    . L6 U- K: E; E4 e3 c& I
  750. ; http://php.net/cgi.force-redirect, n# {( H# t# B9 Y9 U+ R, ^
  751. ;cgi.force_redirect = 1& G$ {. o, d. N. J4 U  Q1 e. P
  752. / c2 }  X2 m! N7 G* |' o! X% _" D" i5 }
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with& y+ N: G, Q# `: r- ~
  754. ; every request. PHP's default behavior is to disable this feature.
    / e2 f# w* `( q1 U! h- @
  755. ;cgi.nph = 1! z8 ]2 C1 F3 U) a7 o# d, c: R
  756. 2 V! u2 \" ]! Q7 [
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ; T% a1 h4 {0 y! G& Q+ ?
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP/ u; m7 r0 i5 |; Y2 X
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY3 F) ?$ M/ ?# c( }2 C5 \, j
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    % e4 w) F2 S+ ?! K7 N4 K4 n
  761. ; http://php.net/cgi.redirect-status-env3 T" u- C' X8 p
  762. ;cgi.redirect_status_env =  J  H5 ]9 e7 R0 D" A; f$ `( P& ^

  763. $ r, S% U3 w0 I, w% |
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's# \, Y+ A, ]: u
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ) i4 Z9 X- [  O
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    % }2 o* ~! z, s' G
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    5 f+ }% D! B2 @( S: h
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts3 p! l& S2 H/ p# S8 H, t0 h- t' E
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.0 k% n3 X0 C/ L; ?; r1 p# B
  770. ; http://php.net/cgi.fix-pathinfo4 d0 r/ q; m! M6 T
  771. cgi.fix_pathinfo=1' G! |( C9 z, U4 v, z

  772. - Q  i2 K6 ]* ]8 ^# z, ~
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    * e9 A: |# d& W- V, I% q
  774. ; of the web tree and people will not be able to circumvent .htaccess security.! `6 z  i4 V+ M2 r
  775. ; http://php.net/cgi.dicard-path& j% t0 k7 Y" t
  776. ;cgi.discard_path=1  m) @' ~& i7 {$ B
  777. - }5 K6 a7 j4 d! s- @: K7 K
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate9 B6 M0 Q: p/ J+ d- l/ Q" b
  779. ; security tokens of the calling client.  This allows IIS to define the% A  B7 W  l+ O& F9 i% y9 V5 ~  k0 W
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    # u5 V) B* f) m) _+ ?, t% |3 B
  781. ; does not currently support this feature (03/17/2002)% R: v' p; M5 x3 B- w9 B
  782. ; Set to 1 if running under IIS.  Default is zero.
    2 I7 t. C% e  i2 i
  783. ; http://php.net/fastcgi.impersonate
    ( j# e) Y, l2 x! m
  784. ;fastcgi.impersonate = 1
    ; L& y5 C+ j! b8 G; p+ N& l

  785.   P$ U" C; ?2 w- w3 F/ R. S3 q2 n
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    , |. a; l+ u$ u+ q/ K7 Q, j/ P$ E1 R
  787. ; this feature.
    4 J% W! }0 J( `( ~9 S$ U2 R0 x  K
  788. ;fastcgi.logging = 0; }" {7 J, H0 K" k) C+ {
  789. 7 y# f- X- s' ~7 A
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
      E1 P% e' h. i* M$ m
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    * C7 ?9 G# `# ?4 O1 h2 b
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    . C% `4 H& z% y0 }3 K
  793. ; RFC2616 compliant header.6 e4 a$ l4 f7 O  ?5 V6 ]7 c! f
  794. ; Default is zero.
    ; x7 J# y$ m2 S' x4 `) I. x
  795. ; http://php.net/cgi.rfc2616-headers3 v- _$ Z( {8 z( e2 ~
  796. ;cgi.rfc2616_headers = 0
    4 ?! M' |; N( A, m2 W0 j1 h

  797. ( K! E; r6 Z" a  c. l& k0 b7 e
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!9 d! [, @' p3 ^% k1 H
  799. ; (shebang) at the top of the running script. This line might be needed if the6 n4 J2 C+ }3 X* V1 g( D7 j
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    + R) h/ o  p" y) n) R) h
  801. ; mode skips this line and ignores its content if this directive is turned on., L$ k% i$ V- K9 w$ G6 h2 o3 |9 M
  802. ; http://php.net/cgi.check-shebang-line
    : T) y9 ]# Z' |* [# V
  803. ;cgi.check_shebang_line=1
      B, A6 g- c1 I% W# N  d

  804. - e, K8 g2 D" [  s" O, g
  805. ;;;;;;;;;;;;;;;;
    * }/ P! g3 q7 K& `) ?
  806. ; File Uploads ;
    & h0 X5 q+ T" C% o; \! v3 j
  807. ;;;;;;;;;;;;;;;;# K3 H! d; s/ s

  808. ! E/ r/ r4 w. C  b' @6 a+ W0 b
  809. ; Whether to allow HTTP file uploads.
    7 x4 N% G. N" ]- i. H
  810. ; http://php.net/file-uploads
    ! J' Z7 j+ d# K, C6 I" _! ~  t
  811. file_uploads = On( o' ?; m% b, ~. X" O5 v8 B! b+ W

  812. 1 C/ w1 \) E' r
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    , y0 g1 T# N0 y# {- T$ L
  814. ; specified).
    8 d) q3 Q0 }( S# |0 G6 @
  815. ; http://php.net/upload-tmp-dir
    ' K. [  N, c# h% e1 v. X& ^
  816. ;upload_tmp_dir =
    ! O- B2 i( ?/ [* u, t6 K# i# G/ X# s
  817. * L* m  j% b0 H1 v: T
  818. ; Maximum allowed size for uploaded files.
    ( k4 G0 Z* q1 [1 y8 e5 ]( ~, y. ?
  819. ; http://php.net/upload-max-filesize4 g, u) c$ g! ^$ ~
  820. upload_max_filesize = 50M
    ; k# {- {6 t4 @# Q' ~" V

  821. 8 D: Y# E3 X- n; G! \) p  I# e; |, M
  822. ; Maximum number of files that can be uploaded via a single request
    ' J1 ?' @  S/ T+ J# i3 R% M
  823. max_file_uploads = 20
    5 v! f! d8 v: F
  824. 4 a" \( T% Z  f: l2 Q
  825. ;;;;;;;;;;;;;;;;;;$ S' K4 z! d" _5 s. t2 L* K
  826. ; Fopen wrappers ;+ T9 w/ C6 ^% A+ b3 |7 R( A
  827. ;;;;;;;;;;;;;;;;;;" h1 }: e( U; W# a

  828. 8 n4 F% X2 z( L; q. H8 Z
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    0 n6 q) @* y! D2 x- [
  830. ; http://php.net/allow-url-fopen  b, H' v' J+ Y5 R
  831. allow_url_fopen = On  h! B9 s+ ]# \/ E/ y8 q
  832. & z+ ^4 Y9 R3 t) q6 L+ F0 A! L
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ; d1 K0 L9 V" M+ L# O& t2 V' p
  834. ; http://php.net/allow-url-include4 _) M2 v6 k7 Y& ~/ N* O% s3 j/ ?
  835. allow_url_include = Off1 Z9 P) q" i+ s, y/ {7 b3 k, U: o
  836. 8 I8 l- H. ~$ v$ l/ J6 p. v
  837. ; Define the anonymous ftp password (your email address). PHP's default setting- s. q; Z0 `" V/ \8 I
  838. ; for this is empty.
    7 h2 D% O! ^$ \( x: F- i' z) Y4 d# K
  839. ; http://php.net/from
    " x9 m0 T6 V) I
  840. ;from="john@doe.com"
    - l/ A6 L6 J! v0 V. [
  841. 7 A4 R, R/ \& U0 I& c6 S0 ^
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    ' l8 Y4 `8 {' u  N  Y1 o9 m
  843. ; http://php.net/user-agent* P# ?# N( X  y# w  O0 _  U
  844. ;user_agent="PHP") u  b% |3 Y, z9 c  [. V9 |4 N

  845. & x2 e. D2 f3 K; L5 O" ?; L
  846. ; Default timeout for socket based streams (seconds)
    ( Y7 d5 B, a, j2 I) G& @
  847. ; http://php.net/default-socket-timeout
    1 s' s" x6 j' X3 \2 t0 Z
  848. default_socket_timeout = 60
    7 `, [' a( i2 B+ K! e+ w) H5 V
  849. * E- O7 N2 H; ]# W) r4 ?
  850. ; If your scripts have to deal with files from Macintosh systems,7 P* B; i/ E/ N* e4 B0 P# M
  851. ; or you are running on a Mac and need to deal with files from
    5 t1 g; ~/ `* u2 B( T7 h
  852. ; unix or win32 systems, setting this flag will cause PHP to) K& j7 s( {+ D7 ]
  853. ; automatically detect the EOL character in those files so that
    " q% m9 s- W0 z( y/ |
  854. ; fgets() and file() will work regardless of the source of the file.
    3 i! I* Z! Q6 j) Y5 |! H; ]1 \9 n
  855. ; http://php.net/auto-detect-line-endings5 h( G2 p* S- [& W; s$ U; F' V: F5 I
  856. ;auto_detect_line_endings = Off
    - m. t2 U1 ~% y% ~' |

  857. 0 h5 U' M1 F2 N& g% L
  858. ;;;;;;;;;;;;;;;;;;;;;;
    : t5 l( _& p5 R! f" y; A" D
  859. ; Dynamic Extensions ;8 M6 Y  M* a% M- L+ x& D% r& t# o
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ' Z, r5 r9 o; {" p0 V5 A

  861. , |9 d, [5 @! @" J4 l
  862. ; If you wish to have an extension loaded automatically, use the following0 Q% N5 O6 n7 q$ b  E" G
  863. ; syntax:) _3 q: m1 c5 {
  864. ;
    0 x/ V6 C2 c8 _7 L6 l
  865. ;   extension=modulename.extension% N7 [' @* |' i; Y9 i; |* F
  866. ;
    + M' J: O+ ]; b/ y) B
  867. ; For example, on Windows:1 ]1 L0 O+ B7 Z  R. n0 o
  868. ;
    ! u, `# a6 o. U; Z7 {9 b
  869. ;   extension=msql.dll% b8 I; m% s( y8 `, \8 z9 }# r
  870. ;$ I8 x2 c. k/ u! ~2 F- q" Q9 @0 O
  871. ; ... or under UNIX:% B  F* }; M. y' ]# V2 w
  872. ;
    & f5 Y6 O" u( X4 R0 a+ h' a( b
  873. ;   extension=msql.so
    , x. [2 D5 ~1 l" B
  874. ;, D6 O7 i9 Q: X( P
  875. ; ... or with a path:- A# G  _, o" U7 O. R( P
  876. ;9 z( D3 l! v; _# D& O
  877. ;   extension=/path/to/extension/msql.so0 r5 i4 a0 ]0 a! ]- [/ R" |& o. S4 \
  878. ;  }2 B. G# I0 E
  879. ; If you only provide the name of the extension, PHP will look for it in its/ S, ~& S4 q7 \' O% N
  880. ; default extension directory.
    5 X9 M! q! a) Z
  881. ;! T# k8 f8 A( B: A5 Z' b
  882. ; Windows Extensions) ?2 `* _( T; e% c$ k
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    * |. Y4 v5 C+ L$ h- d9 h3 a- R& B
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    : s  [" Y5 Q7 x' A5 V
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    3 o, O' w* j; G0 @' p
  886. ; Be sure to appropriately set the extension_dir directive.
    " Z) s+ q3 t3 D) N5 R4 G3 i3 L2 L
  887. ;) `" d1 Y0 [* W; x/ D
  888. ;extension=php_bz2.dll. l( U! s# Z$ y0 j5 A
  889. ;extension=php_curl.dll; A: A6 m: W6 d* g; Y
  890. ;extension=php_fileinfo.dll
    ) `6 Q. ]0 S3 p' \
  891. ;extension=php_gd2.dll7 C6 V* y/ b2 V" v2 s
  892. ;extension=php_gettext.dll. `# w; Y% }3 E
  893. ;extension=php_gmp.dll
    & q- j% F4 H9 M4 k& c* J  q
  894. ;extension=php_intl.dll
    9 ]7 W7 J  r# J$ g9 ~
  895. ;extension=php_imap.dll- \6 R" r  x; ~
  896. ;extension=php_interbase.dll
    ; K/ C( y( _$ ?8 w
  897. ;extension=php_ldap.dll5 N; i$ f/ I; e) D( w
  898. ;extension=php_mbstring.dll$ n' [8 M- V# K! v
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it% _/ ^9 Q: E5 O. ~
  900. ;extension=php_mysql.dll% m$ [/ j$ b) j' Z6 `! Y/ B4 a
  901. ;extension=php_mysqli.dll5 i1 u- s. b. B: Q2 H
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client, h" B: ]* `2 R! B9 k  _- X
  903. ;extension=php_openssl.dll
    ( |. p! r+ m! a2 O
  904. ;extension=php_pdo_firebird.dll
    " K# Q4 v: s! ]5 d2 P
  905. ;extension=php_pdo_mysql.dll. q0 N, p8 M  o* r8 _1 }& W
  906. ;extension=php_pdo_oci.dll
    - _8 e- P, b; a  G- B* Y4 L
  907. ;extension=php_pdo_odbc.dll9 y2 Z7 k9 Q/ n: H2 n8 }% ?
  908. ;extension=php_pdo_pgsql.dll, V5 q$ x/ e4 ]/ B9 a& x3 H8 a. S
  909. ;extension=php_pdo_sqlite.dll
      F9 b! Z( F  K: u5 d( K# C: \
  910. ;extension=php_pgsql.dll
    ( ~# [. z7 h: z, `+ l
  911. ;extension=php_shmop.dll
    : j/ \3 G/ A: J; W: Z$ T

  912. . V, s; G1 T. Q" X4 ~
  913. ; The MIBS data available in the PHP distribution must be installed.
    ( Z# _7 t& R) P; C" f- V5 t
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    2 f) @" C7 C" C. P
  915. ;extension=php_snmp.dll7 H- o% u, D/ u- J
  916. 4 J' X( i* L( d  t
  917. ;extension=php_soap.dll; G, R$ f5 x; g9 z5 P
  918. ;extension=php_sockets.dll% G' K3 o/ c: U1 x1 e
  919. ;extension=php_sqlite3.dll
    3 o) E/ W0 _# u. M. i1 ]
  920. ;extension=php_sybase_ct.dll
    * V2 F3 X! R" Z; b9 |4 d" z/ ?
  921. ;extension=php_tidy.dll/ u8 @5 Q: E9 c$ C; B% p
  922. ;extension=php_xmlrpc.dll9 I" i% v; b9 h; v
  923. ;extension=php_xsl.dll
    1 A0 u+ d" K. }: F2 ]) f0 o# S

  924. $ U7 C3 Y! D; U  U! N
  925. ;;;;;;;;;;;;;;;;;;;
    3 G5 b1 f; N/ z0 }+ _0 n0 M, b
  926. ; Module Settings ;
    * P2 C6 s& h! j3 L
  927. ;;;;;;;;;;;;;;;;;;;
    & S$ [  Q' x, \( l

  928. : y, z4 {$ K" Z7 c4 s
  929. [CLI Server]5 S4 T9 U9 F: V- R, P( a+ m8 e
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.  L1 v' o: D$ e% ]
  931. cli_server.color = On# f. r( [% s; |  W
  932. 2 ]" X9 D& K+ ?& ~) [6 _- W1 l' ~
  933. [Date]* I- a+ q: x7 n' j; z
  934. ; Defines the default timezone used by the date functions1 }( e) w( ]; c. F
  935. ; http://php.net/date.timezone
    . s0 P( n7 E1 e! |/ `6 {
  936. date.timezone = PRC' i8 Y) n  r  K& y4 M/ l$ \
  937. & K5 S' ?# ~9 x( Z
  938. ; http://php.net/date.default-latitude% R$ ^' x$ M! i
  939. ;date.default_latitude = 31.76677 Z9 Q3 }7 l5 m; d1 R) Y+ Z3 L9 [
  940. 7 R. @+ _3 ^9 c' x  p9 q7 y, U  R  z
  941. ; http://php.net/date.default-longitude
    ( b  e9 `' E9 G- s
  942. ;date.default_longitude = 35.2333' v0 R- a* T2 {9 ?) \7 ^2 L
  943. / Y& R& _" C2 J8 T2 j# X
  944. ; http://php.net/date.sunrise-zenith
    - [5 F8 ?; C/ k0 X
  945. ;date.sunrise_zenith = 90.583333
    ' B  f1 Z) M* P4 x: p
  946. ! f2 r' {* l/ L
  947. ; http://php.net/date.sunset-zenith
    6 Z6 ?9 q0 H1 S' E( ~# Q" O, m1 l" x
  948. ;date.sunset_zenith = 90.5833330 v, ^* ~8 y3 Z2 k/ L2 s: K2 ^& C
  949. + w8 ?( b# b6 p" X  J" t
  950. [filter]: O& B! _, M+ z1 I  U1 F
  951. ; http://php.net/filter.default
    5 ^1 K; h- K" y6 ~, w  T, X/ p/ y
  952. ;filter.default = unsafe_raw
    ! Q+ K/ f& r: l

  953. ) o  m  D1 b1 w( Z
  954. ; http://php.net/filter.default-flags. J# W! h( H4 a9 L7 \0 m
  955. ;filter.default_flags =
    0 }4 O+ s$ @  r; ~" k# \) A
  956. 0 ?* O" |- Z" b( G% b9 w; E
  957. [iconv]
    & r3 x; `$ s+ t+ a$ k6 M
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ! w# p0 L7 v8 J. I8 x9 M. A
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    * Y% Y8 n8 z  P
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    : C  b: g8 Z5 i+ L! o  D9 O9 A
  961. ;iconv.input_encoding =* v0 x) `! u' n' b% d" |
  962. 8 @8 s# [& n( r3 \" G
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    6 }) Q' q, q1 E& c
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.7 T; }9 j, P+ r2 ]& ]
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding) }0 e% E& X, ^* U  \! m
  966. ;iconv.internal_encoding =
    9 E6 d. E9 a5 u, C- P6 f
  967. " \# i  S4 ~: A6 B1 r! V, o
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    $ _) J! k" L+ |# X! t6 B# v
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    % Q( z! d. N6 k, U2 i6 h
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding1 b' A4 A, N( b/ n) p
  971. ; To use an output encoding conversion, iconv's output handler must be set/ ^  K" x. b: A6 a+ d0 I# o
  972. ; otherwise output encoding conversion cannot be performed.
    # l3 v" H/ w! e# R! l4 \
  973. ;iconv.output_encoding =
    6 C3 I, \  F; V  v

  974. ! j* ]% P/ O' n0 Z/ ~( m
  975. [intl]
    ; Y7 |0 Q( T8 T) R, m2 I* V
  976. ;intl.default_locale =) n# i6 S4 j" R3 r5 W$ A
  977. ; This directive allows you to produce PHP errors when some error. m) W1 D# g8 _3 N) H
  978. ; happens within intl functions. The value is the level of the error produced.* h4 x7 i! U5 C* o" f6 d2 l
  979. ; Default is 0, which does not produce any errors.
    ) Z1 I: k6 V, Y
  980. ;intl.error_level = E_WARNING
    6 p. }1 Y8 [9 U( Y+ U
  981. ;intl.use_exceptions = 0
    9 H: Z6 q- J( i# r% g' @/ b

  982. % Q4 I/ \4 @) E5 X% x2 J
  983. [sqlite3]0 _+ `  Y! x1 W
  984. ;sqlite3.extension_dir =* Z& ?$ `8 W! i$ Q
  985. 0 ?, H4 ]. K5 E/ L- s6 V$ O
  986. [Pcre]
    % ?- n8 u+ [1 R: D
  987. ;PCRE library backtracking limit.
    + h3 |2 a; A4 t( H/ x
  988. ; http://php.net/pcre.backtrack-limit
    7 L. T. ]) r, h2 k/ j
  989. ;pcre.backtrack_limit=1000002 y) n; i' f% n% x
  990. 6 `7 {3 _( Y* a
  991. ;PCRE library recursion limit.
    8 u# z: ^" ?$ y8 n( V8 l7 v
  992. ;Please note that if you set this value to a high number you may consume all0 z, p0 i3 R- y9 D0 `8 U
  993. ;the available process stack and eventually crash PHP (due to reaching the
    ' m8 ~( E) b' u# C4 l: \
  994. ;stack size limit imposed by the Operating System).
    * z. b; _  X$ ~, x2 E5 u7 J
  995. ; http://php.net/pcre.recursion-limit% l6 i$ r1 y+ I# e( u  d, y' z
  996. ;pcre.recursion_limit=100000
    1 e9 |% _# R2 V# G
  997. , L$ j+ B' Z; [5 t" N3 Q( F
  998. [Pdo]- a5 D9 f" p) p, |
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    " @* Y0 ~9 s. z2 w6 p5 {! Y9 [
  1000. ; http://php.net/pdo-odbc.connection-pooling9 C7 j  H/ A* D3 m/ {
  1001. ;pdo_odbc.connection_pooling=strict
    . ^" C9 h* i) p0 j% w
  1002. ; [* d" U- A  v/ Z/ [
  1003. ;pdo_odbc.db2_instance_name
    ; p; m4 w. Q. @' ^% e
  1004. : `8 G4 [5 L( \; h5 d
  1005. [Pdo_mysql]/ @4 V% ^/ j4 F1 a/ d! V0 w
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    7 _3 r) r6 I# G) Y# `
  1007. ; http://php.net/pdo_mysql.cache_size
    ! A/ \* I6 z2 h+ G
  1008. pdo_mysql.cache_size = 2000; j8 ]# G4 c# N. D8 ?5 C
  1009. 6 F* u, D+ L; z: t: Z7 \/ b+ @
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in( z# ^, Y( P6 s+ G
  1011. ; MySQL defaults.: P9 _' f6 H" K- g# ^: O
  1012. ; http://php.net/pdo_mysql.default-socket
    3 G2 n' V' Y3 \* B) e7 @
  1013. pdo_mysql.default_socket=
    2 j, Y+ a; N  `$ [* ]  w

  1014. 8 A3 \6 h/ U7 J& j
  1015. [Phar]
    1 Y6 ?3 }: a6 |
  1016. ; http://php.net/phar.readonly$ H' [- y2 h. t
  1017. ;phar.readonly = On
    9 G1 C6 m0 a5 ~' ~/ A
  1018. 4 w& u! A5 {4 o
  1019. ; http://php.net/phar.require-hash; I& m' n) t2 _; R1 U1 l( b
  1020. ;phar.require_hash = On
    # H; s: I' b& s: L# c

  1021. / G0 v' |6 T# `- R/ @
  1022. ;phar.cache_list =0 }) ]# r' j. {% N9 }9 B

  1023. & G" h: j' O1 H" {, N! z
  1024. [mail function]
    9 F* F3 R4 ?" M4 M
  1025. ; For Win32 only.$ V* a/ y0 s/ i( w5 ~: g
  1026. ; http://php.net/smtp4 c/ [6 v4 j7 I( A- F0 D
  1027. SMTP = localhost
    % H1 ?8 x' j% |; P
  1028. ; http://php.net/smtp-port0 t7 Z: f* ~2 `/ ~
  1029. smtp_port = 25
    4 Z, H  |- j# m

  1030. $ R5 ^  A% z* ^/ N% Z2 c
  1031. ; For Win32 only.+ g$ V4 y  Z: L3 a- D5 L* ^1 l- t
  1032. ; http://php.net/sendmail-from
    ! K4 [" y0 l" ~1 L
  1033. ;sendmail_from = me@example.com1 v: L* K- w+ M5 |& f) [

  1034. 5 M1 X6 K  a; I1 O" \0 }1 A  G
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    2 |6 `; B3 e- ]; A
  1036. ; http://php.net/sendmail-path3 L0 p) t3 Z( k
  1037. sendmail_path = /usr/sbin/sendmail -t -i% C0 s% h% G$ P+ x+ U
  1038. 8 S8 P+ N0 h2 V0 v/ H; e& K
  1039. ; Force the addition of the specified parameters to be passed as extra parameters; L3 Z' m2 F/ v9 f$ m' Z
  1040. ; to the sendmail binary. These parameters will always replace the value of. Q. W. R% e, I9 g# }
  1041. ; the 5th parameter to mail().
    : D3 E, V8 |/ ]1 |1 m8 X& t& t2 w% o
  1042. ;mail.force_extra_parameters =
    . _# t6 v1 Z- K9 B& x

  1043. ' Z+ {2 f: i/ T. C' k% a
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename8 \$ S, E5 \; W1 a# O/ h
  1045. mail.add_x_header = On: q- |6 c( I( a5 W4 l/ ~+ a  m( Z
  1046. 1 U% U! ?, L2 c4 D3 |
  1047. ; The path to a log file that will log all mail() calls. Log entries include5 @0 y& s( i1 ~! }8 _8 D/ S: C
  1048. ; the full path of the script, line number, To address and headers.
    3 a; K5 f6 h6 f2 L& p
  1049. ;mail.log =& H0 I8 V/ H; l1 b0 s' e
  1050. ; Log mail to syslog (Event Log on Windows).; F+ T; _, G/ b0 g% O2 x
  1051. ;mail.log = syslog5 j/ P$ m: G! D$ w

  1052. 3 x6 E- R: H7 N0 B( w
  1053. [SQL]" E) k5 G$ g7 y0 B; n
  1054. ; http://php.net/sql.safe-mode( s8 ^& p, M8 I0 W9 Q1 y/ t0 {' {
  1055. sql.safe_mode = Off9 P1 [; s1 s3 T/ F' _6 v& n! Q
  1056. " Z: ^! D- B9 k6 e
  1057. [ODBC]
    2 f. |' `. m5 V% l
  1058. ; http://php.net/odbc.default-db# B. ?8 `; M' r+ N  Z( Q1 H5 v; @
  1059. ;odbc.default_db    =  Not yet implemented
    + F, t7 C5 p& ^1 A+ [& {6 P3 L1 H9 [
  1060. # A8 x3 b: ]2 L1 j; t! U8 `
  1061. ; http://php.net/odbc.default-user
      \( C" v" m  o& \6 K% }
  1062. ;odbc.default_user  =  Not yet implemented* k) A" M, g, B
  1063. 3 j/ A2 \, Y3 D0 Q7 c0 X9 K- g* J
  1064. ; http://php.net/odbc.default-pw
    . `6 k! `, u# |* R5 S* K1 M+ M
  1065. ;odbc.default_pw    =  Not yet implemented$ [5 A  p( \! p

  1066. : s3 j4 v/ R6 R# i3 c* d& w
  1067. ; Controls the ODBC cursor model.
    3 b# p  _% b2 ~1 {" l: y# h
  1068. ; Default: SQL_CURSOR_STATIC (default)./ ?$ z  s# D$ C0 F  o8 O
  1069. ;odbc.default_cursortype
    1 c! i0 [/ Z% D, }7 p# A9 }
  1070. 6 b) P" |9 i4 Y
  1071. ; Allow or prevent persistent links.5 e( A4 {7 }0 d/ _
  1072. ; http://php.net/odbc.allow-persistent
    + J% Q1 Z2 R( j7 D% B
  1073. odbc.allow_persistent = On
    % B% R+ [& r8 h# B6 L/ W. Y* \

  1074. 6 y3 M" P" M! h1 p; p3 s2 O
  1075. ; Check that a connection is still valid before reuse.+ g3 G0 j; ]* g! V1 h. u
  1076. ; http://php.net/odbc.check-persistent3 n1 l; f" F8 A5 B1 ^
  1077. odbc.check_persistent = On6 W/ C* p' E: x% M& A7 [+ B

  1078. ! V4 r; W) {( ^5 n: ]# }' `+ s
  1079. ; Maximum number of persistent links.  -1 means no limit.) R! B" l5 {4 }3 x# r4 o* J
  1080. ; http://php.net/odbc.max-persistent
    4 \) I+ x. a) p9 Z- K# u
  1081. odbc.max_persistent = -1
    ; ?6 [: _2 u" H( S3 X; G

  1082. " v" |/ s1 {* ~5 ?! F/ Z
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' ~. L! |5 s; r9 g
  1084. ; http://php.net/odbc.max-links
    5 x8 `* O' P4 r  V! i8 `+ {7 s+ D; j
  1085. odbc.max_links = -1$ I9 J4 ?4 F) \6 J$ B% x! n/ n# H* i

  1086. 2 A0 Z/ Z3 G' V* h8 p/ F
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    0 ?0 `, u" E4 I
  1088. ; passthru.
    ! v+ P4 |0 L. K  Z
  1089. ; http://php.net/odbc.defaultlrl1 s$ O6 J; _, P0 P4 @1 Q! h
  1090. odbc.defaultlrl = 4096  D2 ?& `6 W9 `% R

  1091. . Y( U; K  x$ ~# ], F# @0 {
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    8 ?" {6 I- p  Q# A8 E
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    . k4 y: D, b; @
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    / \7 Q: }: Y$ @7 c% X
  1095. ; http://php.net/odbc.defaultbinmode- s# w+ w1 S( z# m" V# I
  1096. odbc.defaultbinmode = 1
      q. T& q/ O( w8 g

  1097. . {5 R( ]1 c  U6 q$ p
  1098. ;birdstep.max_links = -1; N* h. m8 ^* q; e- B
  1099. ! `: g" C4 a8 {+ @4 k
  1100. [Interbase]
    ) j* Z. h( @" S9 a( s- t+ T- `
  1101. ; Allow or prevent persistent links.; A  n/ ]% K: o! N6 |+ t
  1102. ibase.allow_persistent = 13 W4 h5 X5 p# @* q
  1103. 6 N2 ~3 R4 V6 |. L0 c( U
  1104. ; Maximum number of persistent links.  -1 means no limit.
    * s8 s6 D# h0 o$ C4 k  P
  1105. ibase.max_persistent = -1
    & a; I) k/ w: q7 d0 v. e) X
  1106. , ^) Y' j+ Q" k& X9 A* \
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 T* ^4 Y! T' m/ s  Q2 ~9 D0 `
  1108. ibase.max_links = -1! y, D1 q/ \' k; |8 o" u, D1 n" D8 d
  1109. 3 P' I, t( @4 r' }6 U* w& L
  1110. ; Default database name for ibase_connect().
    0 S$ f& _( s* ~2 ^+ T1 w3 U* l
  1111. ;ibase.default_db =; d( y9 }- V( v$ u! o& e
  1112. 2 a2 w  }, R1 N& E5 p
  1113. ; Default username for ibase_connect().
    2 h5 ^" q, d  w# g! u
  1114. ;ibase.default_user =
    3 j4 j7 }( T. N1 [2 K2 z
  1115. : y8 @& V" U8 w2 {
  1116. ; Default password for ibase_connect().
    ' l  h8 A1 q* h3 t  r$ J' r) ^: O
  1117. ;ibase.default_password =
    " Z# O& u+ q( p4 z- m  v1 B. h

  1118. 7 G  A* U, A# M
  1119. ; Default charset for ibase_connect().+ }) ^% ]& n- f$ K( A
  1120. ;ibase.default_charset =6 t  \# _$ w' l

  1121. 8 T, d) t* z  [( p  G- j( X
  1122. ; Default timestamp format.2 \* E; l/ W9 O! g6 d- c& s
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    * H5 N5 |, ^, y' i3 ^

  1124. . K7 m: W2 n! z9 N8 R, `- l4 f) e
  1125. ; Default date format.9 _' S4 g$ j( E( [# S; I
  1126. ibase.dateformat = "%Y-%m-%d"
    & P! N8 L0 n7 F. c
  1127. ! i* z& U- ?. O
  1128. ; Default time format.
    0 G$ ~/ I; B# K8 ^7 R; A4 q
  1129. ibase.timeformat = "%H:%M:%S"
    ( _% y& {; W+ k( v
  1130. 0 M; c, Z* h2 K6 C) c3 u
  1131. [MySQL]0 U1 z9 Q  f& n1 b% v2 t/ z: R  [
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    1 |% L# z5 c" x! I
  1133. ; http://php.net/mysql.allow_local_infile
    , [  k& q6 J9 Q* J2 J
  1134. mysql.allow_local_infile = On: i9 y) n8 E: d) Z4 b+ {

  1135. & {+ B) G2 T  }$ A4 @
  1136. ; Allow or prevent persistent links.& h2 \; p# H  J- [7 l( v
  1137. ; http://php.net/mysql.allow-persistent! }9 t7 Y4 u8 l( P1 J3 y# f1 U% p% w
  1138. mysql.allow_persistent = On$ s6 h0 g0 A# V- j( O

  1139. # @4 M/ ]8 o5 O
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    6 `! L8 e, k- x% R5 y
  1141. ; http://php.net/mysql.cache_size/ s% O2 T, Y5 D
  1142. mysql.cache_size = 20003 ]0 O" R5 O' Q! N0 }, {6 D2 I" C: [

  1143. ' M; m" \, p. v4 U
  1144. ; Maximum number of persistent links.  -1 means no limit.7 j. _) @7 f# F2 Z' j) V
  1145. ; http://php.net/mysql.max-persistent
    * P+ R( m. L9 F/ W  C
  1146. mysql.max_persistent = -1
      [/ a6 w: S7 u; s5 K% d- U

  1147. # q0 M( H/ s. l, M5 o4 J- u3 z
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ) L  h5 D1 @4 |% f0 G. X$ D
  1149. ; http://php.net/mysql.max-links' L- h$ b. W4 ^0 F: A4 K
  1150. mysql.max_links = -1
    0 H2 ?3 L1 B$ v& C
  1151. / S4 j8 X8 R6 R% j: b0 {% o
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use1 n% g9 t2 d& F" d" z' q$ q$ ]
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the) j5 X! F- |9 F3 A2 @- f" p$ {, ~- j
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    % _3 O1 T/ b+ T8 b
  1155. ; at MYSQL_PORT.
    % q: e: y( g* D# @7 i, j/ I/ v: `# e
  1156. ; http://php.net/mysql.default-port+ P* ?7 G) N  D0 N, ~
  1157. mysql.default_port =  B8 |, [# @6 G0 P, t

  1158. ( w: z, P3 s+ B& d$ G7 @
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 G$ e* N1 q6 c$ Y) Y  ~" S  V, v# D
  1160. ; MySQL defaults.: R5 q+ o  \0 F) `
  1161. ; http://php.net/mysql.default-socket
    & V/ D7 U3 f- o9 C
  1162. mysql.default_socket =& `3 v& M8 {" `/ m( y- O- m7 D

  1163. ; s8 [8 o! @4 P  Y* d- V
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    2 H' C) s( W; J. N
  1165. ; http://php.net/mysql.default-host: o* _5 e% o! D
  1166. mysql.default_host =: |3 |: I- `% b& x

  1167. 7 h. w! w( n5 W; u
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    : I0 l/ A1 x( S2 o6 p8 _4 c! T: j  V. |
  1169. ; http://php.net/mysql.default-user6 ]; ?- z5 s% L" h0 g: Q
  1170. mysql.default_user =8 M4 f5 R2 _( C& l3 R" @7 _  r
  1171. - N+ ^  N0 u/ g
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).9 i( C% c7 [0 V( s& l. q5 k
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.6 G/ P  q1 c- ^% M
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")# \9 ?' r: e, z, O" i7 {4 _6 M
  1175. ; and reveal this password!  And of course, any users with read access to this
    ( h4 F  m5 ^- R8 w7 q1 O; d( f
  1176. ; file will be able to reveal the password as well.% \! {) O. {: d9 L" K' r
  1177. ; http://php.net/mysql.default-password
    % Z2 z  e. [' i( A9 r
  1178. mysql.default_password =
    0 Z4 ~' }* N  v' d

  1179. 8 F+ W1 g% r7 y! k' t5 G* Y
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    0 j9 g% G9 w  B
  1181. ; http://php.net/mysql.connect-timeout
    ( w. v, e  o6 U# c; V7 ~7 L
  1182. mysql.connect_timeout = 60. z- p4 B: L, P5 a- B, e
  1183. ( k6 G# V5 V* {/ v$ s! f) I6 B
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    5 N4 Y, u! a. r' ?
  1185. ; SQL-Errors will be displayed." Y9 P7 ^' g+ w+ b% K
  1186. ; http://php.net/mysql.trace-mode
    ( G  `' q# w5 f, q! ^( V
  1187. mysql.trace_mode = Off
    - d& U7 m) \4 M
  1188. ! T0 ]0 A, P" h, _6 v% c' W9 @# y0 Q' ?
  1189. [MySQLi]
    5 P% E4 A# g  n, o. y
  1190. " d8 w( [' m- L( O6 _/ U
  1191. ; Maximum number of persistent links.  -1 means no limit.
    4 w* ~3 {8 z- L: A0 Q, M
  1192. ; http://php.net/mysqli.max-persistent
    6 E6 G% U5 B/ W/ _  Q9 M1 f
  1193. mysqli.max_persistent = -1
    $ ?6 ^; T& o9 x# X1 @$ n& Z" M

  1194. 3 \; `1 x* m  X. ^+ k" v
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements5 d* t' m0 T9 ?/ a
  1196. ; http://php.net/mysqli.allow_local_infile
    9 F9 N* s1 d: t; k6 c) f: o4 n
  1197. ;mysqli.allow_local_infile = On( `9 ]% q  N2 O% X" L3 |

  1198. ' Z8 Y- n" T( ~9 ~/ @
  1199. ; Allow or prevent persistent links.
    / \) I" U) s: ^. Q8 z: ~
  1200. ; http://php.net/mysqli.allow-persistent
    8 d. _2 i' z) t1 K: t$ \0 R
  1201. mysqli.allow_persistent = On( `/ ]  T8 }5 B$ ~- C

  1202. ' ?0 v' S$ u# q5 m
  1203. ; Maximum number of links.  -1 means no limit.# O$ H# W: J# I, [% b, s5 v8 Y
  1204. ; http://php.net/mysqli.max-links
    % R5 S  j& A! E6 W6 s9 O: z- h
  1205. mysqli.max_links = -1# b( T  S' ~+ ?

  1206.   S0 o- s7 H, W2 F& a& L
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache" ~' n" p0 s0 E- }5 l
  1208. ; http://php.net/mysqli.cache_size, ]2 y$ t. z0 m% g& l
  1209. mysqli.cache_size = 2000
    ! Y1 s( b' j8 s5 U- l0 X1 w/ ^  s

  1210. ; D  d- A3 i; C( f& ?! S' E
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use6 }* \: v) Y5 [
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the  Y8 }* P) L" ?" f& T2 f
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look) ~; q, a  `4 E$ f0 R' k% j% J' F0 K
  1214. ; at MYSQL_PORT.
    + s; M- J. e: m. o4 ?+ L. H2 U
  1215. ; http://php.net/mysqli.default-port* g* I, Z1 l' i" g0 W* J
  1216. mysqli.default_port = 3306
    5 _: |' O8 v0 @' {

  1217. ) T+ v* r% i9 |9 i
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 }) @6 e- d3 t1 o% z+ P$ }
  1219. ; MySQL defaults.  x2 F. ]) D$ k
  1220. ; http://php.net/mysqli.default-socket$ K! N# {. [& \0 v
  1221. mysqli.default_socket =1 K; Q% T: r% |, q

  1222. 1 s5 l  |% p1 @* ?) N
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    1 m/ v% i, X9 C5 M# i. O! `1 Z# X( A
  1224. ; http://php.net/mysqli.default-host
    % X% {6 a. c* O/ E' H/ H
  1225. mysqli.default_host =: C. Z( z. t, T( S
  1226. ' r2 u. r5 s- {- T- ]1 W4 ~2 K
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).8 a4 L; A6 J( P0 v2 |
  1228. ; http://php.net/mysqli.default-user
    . n4 j: z# K' W7 z1 a$ Y' k
  1229. mysqli.default_user =/ ?/ S5 F6 ^+ Y0 I

  1230. 2 v% \, |0 s( X" c: c+ z5 g7 B
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    6 a0 x4 D3 [; w! a: ^3 ~
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    - E6 J2 U+ h' z. A0 U5 J
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")2 Y' S( q% j2 i1 }6 F
  1234. ; and reveal this password!  And of course, any users with read access to this
    : g& a  H$ ]" k7 t3 ]0 P6 H
  1235. ; file will be able to reveal the password as well.6 ^6 N7 w2 N$ s0 u% e
  1236. ; http://php.net/mysqli.default-pw
    9 ~5 P- q  U8 `# d) G
  1237. mysqli.default_pw =- _. k5 o0 ~7 L7 W5 H+ J5 T

  1238. 0 l4 {: }$ I9 W7 M; M4 m
  1239. ; Allow or prevent reconnect9 u9 i. p0 q# V1 B/ c! w" l
  1240. mysqli.reconnect = Off
    9 X! h. L9 ^" @
  1241. - z7 ~2 R) p* w* [. a
  1242. [mysqlnd]
    & W, U" B! {+ B, a4 O! l2 s( b6 D4 b
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be8 w1 _& _8 J3 G* N) i8 @4 K2 R
  1244. ; used to tune and monitor MySQL operations.
    9 ~3 G4 ~, u' G! c# [
  1245. ; http://php.net/mysqlnd.collect_statistics1 Q* \$ P* d: p+ l6 e
  1246. mysqlnd.collect_statistics = On
    , a+ {: ^+ M  J5 p
  1247. 5 T3 ~! h3 I# J& S" a: G! Q
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    4 q* [, `6 F. t8 o: z# m* k% U0 t
  1249. ; used to tune and monitor MySQL operations.
    ' `' _* ^" B" @8 Z" D. r
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    5 W. M+ |  d( N1 ]/ `5 }* T
  1251. mysqlnd.collect_memory_statistics = Off$ x! o* v" g* Y6 W
  1252. : c  D2 {% X! H! f. V) b0 O
  1253. ; Records communication from all extensions using mysqlnd to the specified log" n) P0 T! m) r8 w! T
  1254. ; file.3 e) F6 Q+ m* E: E, s
  1255. ; http://php.net/mysqlnd.debug5 T/ V7 G5 h4 ]! u9 p3 L- E
  1256. ;mysqlnd.debug =
    5 r% E" \4 C9 b3 p- O
  1257. % [9 a' R2 _5 s6 p. W3 K
  1258. ; Defines which queries will be logged./ K4 v3 r1 j7 p- J5 R
  1259. ; http://php.net/mysqlnd.log_mask
    7 W) r: {2 p5 {" l* @5 ]
  1260. ;mysqlnd.log_mask = 0
    ; B+ f$ X3 a; _+ d
  1261. ! Y: |4 x6 s1 R0 o' g* a7 r
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    7 Q  w2 T# E3 }# M2 H, O" ?2 p% T1 v/ g
  1263. ; http://php.net/mysqlnd.mempool_default_size
    " k5 r+ i% c2 p
  1264. ;mysqlnd.mempool_default_size = 16000' J' m6 b) E- p, H  c) u
  1265. 3 e  Q- ?* S, E! }+ z
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    / Z0 z- k3 k& F4 i3 E) M0 Q
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ) J7 ?$ P5 L2 R6 J/ G# j
  1268. ;mysqlnd.net_cmd_buffer_size = 2048: {" a$ ~# u! Z* P) V

  1269. 9 `! a! `! q% w1 x
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    7 K. Z# N4 s/ H- @
  1271. ; bytes.
    # e( i% K# ]+ n; ]
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    5 N/ A/ ~9 y) \  n
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ! L6 V# t+ a- U8 }
  1274. & k6 o* q& {2 s5 Y9 L
  1275. ; Timeout for network requests in seconds.( n" b$ k9 U. |6 E7 q
  1276. ; http://php.net/mysqlnd.net_read_timeout# P, N, Y! D# C/ M) Z5 X% x
  1277. ;mysqlnd.net_read_timeout = 31536000
    ) ]( ?7 c8 N; T* w# i/ H

  1278. * Z7 Y3 x2 X: R; U
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA$ o3 g" f9 a6 k4 m
  1280. ; key." h4 g2 H6 L  A
  1281. ; http://php.net/mysqlnd.sha256_server_public_key( D* ]1 [  O" D6 y9 U1 G; F1 }! n/ F" q" O
  1282. ;mysqlnd.sha256_server_public_key =) Z; k, v3 k7 z* Z; I

  1283. 5 O* ~) Z/ S& b+ \
  1284. [OCI8]
    9 r$ j6 M$ s" `. z7 W
  1285. " `% s2 @; d2 r
  1286. ; Connection: Enables privileged connections using external% k4 p! B# `! a$ l# Y
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)' K/ N  H! A3 @: y
  1288. ; http://php.net/oci8.privileged-connect% V7 t% z: T! w8 }/ T# |  N( R, V( V
  1289. ;oci8.privileged_connect = Off- Q% `/ N/ v' q. Y8 P

  1290. - F+ }0 P) W/ z2 `
  1291. ; Connection: The maximum number of persistent OCI8 connections per# G, B: t% p& s  A; O; ^7 M1 q8 |( @
  1292. ; process. Using -1 means no limit.
    - B( k5 P) s% k/ l7 N$ Z
  1293. ; http://php.net/oci8.max-persistent, F  s* Z; j# |1 i& y3 n7 M
  1294. ;oci8.max_persistent = -1) w% {/ y8 s3 U

  1295. 0 i5 Y7 }: m  h; q$ l6 Y9 r
  1296. ; Connection: The maximum number of seconds a process is allowed to
    * k/ i9 p' x( ~0 d4 k# K0 ~
  1297. ; maintain an idle persistent connection. Using -1 means idle' C9 R4 q8 y' D" S  ^
  1298. ; persistent connections will be maintained forever.
    , j1 Z( \" L+ ^4 x% W
  1299. ; http://php.net/oci8.persistent-timeout5 \/ u5 ?7 u' _
  1300. ;oci8.persistent_timeout = -1
    % y+ C  l/ B4 l5 x, b& b+ m

  1301. 9 J: C- u* I" q" F2 w- `
  1302. ; Connection: The number of seconds that must pass before issuing a" o, A; A3 J& u, `  p  p2 k
  1303. ; ping during oci_pconnect() to check the connection validity. When  [. U4 ?& f- u4 y# R* @3 l0 `
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables9 l" c# Z( ~* Z1 Z
  1305. ; pings completely.
    . b* R4 n& W# ]& A  R1 s- M
  1306. ; http://php.net/oci8.ping-interval% }) a8 z4 N& u% i, o5 m) Q1 p
  1307. ;oci8.ping_interval = 60: _5 J) V; }& |: z8 r3 h$ P. Y

  1308. % ?0 I/ h8 |; u+ f2 H
  1309. ; Connection: Set this to a user chosen connection class to be used0 ^& f1 }" m& x/ A" c/ B
  1310. ; for all pooled server requests with Oracle 11g Database Resident: [4 a, M! x% }* I
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to& q5 F- z9 Q% b$ t& u
  1312. ; the same string for all web servers running the same application,' {. }! {/ x3 P! ?, R; w0 }
  1313. ; the database pool must be configured, and the connection string must' w0 |5 s- ]% T: b
  1314. ; specify to use a pooled server.
    " t) l% ~: ?( C2 R9 F% K# y
  1315. ;oci8.connection_class =
    * d! s" \+ f' t: V1 n8 U/ b4 H
  1316. " u1 \* }/ N: G7 d
  1317. ; High Availability: Using On lets PHP receive Fast Application& r$ R% [" j5 @1 Z
  1318. ; Notification (FAN) events generated when a database node fails. The
    3 i3 G6 G, _3 _
  1319. ; database must also be configured to post FAN events.& o: @4 ?" [, p5 K; A
  1320. ;oci8.events = Off9 z. L6 H. L7 z3 Z8 Y( Q9 [, \1 \

  1321. & W# a( I* M: Q: _0 o
  1322. ; Tuning: This option enables statement caching, and specifies how
    # ~; X( }- u; U1 {) I; U. a
  1323. ; many statements to cache. Using 0 disables statement caching.
    $ C" q# d7 r7 l7 ~; D
  1324. ; http://php.net/oci8.statement-cache-size
    & U7 b* J# i" `* G
  1325. ;oci8.statement_cache_size = 204 u: y! {% s5 H: E: o6 L
  1326. : l8 M4 }+ g" h7 F& \: w
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    0 [$ D; \( `/ Y( @1 P
  1328. ; rows that will be fetched automatically after statement execution.6 y6 G! j; Q2 P
  1329. ; http://php.net/oci8.default-prefetch
    % a% K7 A7 k$ m8 h; @3 O
  1330. ;oci8.default_prefetch = 100$ P  h! T$ O' {4 i5 R/ M4 J

  1331. " a: q4 `$ K$ m* H) Z2 R
  1332. ; Compatibility. Using On means oci_close() will not close4 M' R5 p( P6 K, k
  1333. ; oci_connect() and oci_new_connect() connections.
    3 m9 C( |7 {* W5 y, g  V/ g& S- R
  1334. ; http://php.net/oci8.old-oci-close-semantics+ E" r0 }' @) H+ B
  1335. ;oci8.old_oci_close_semantics = Off/ z9 a, W& |5 [# M, Y

  1336. 0 M" u( E- J- q6 j: n8 ?; H5 i
  1337. [PostgreSQL]
    7 B. |+ r, B4 w6 ~- B" u- M9 @* _
  1338. ; Allow or prevent persistent links.! e, _8 j4 T+ w! |% i% R. C
  1339. ; http://php.net/pgsql.allow-persistent
    3 Z8 Y0 I/ {# \: k- M5 ~( ]. z$ @
  1340. pgsql.allow_persistent = On
    $ n* M4 B. G$ g& g( Z+ Q
  1341. 3 }9 Q& E0 G: Y( x
  1342. ; Detect broken persistent links always with pg_pconnect().5 A( C. F5 M" ^9 b) m. U
  1343. ; Auto reset feature requires a little overheads.
    ' C* a* K4 m. s# D# P* ^; \
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ) a( x. I' h9 ~
  1345. pgsql.auto_reset_persistent = Off
    / ^" A+ d- V% l

  1346. # K, w! k8 C2 Z. g4 R  |. w
  1347. ; Maximum number of persistent links.  -1 means no limit.: ~- H% k, Z. }; K2 {' J
  1348. ; http://php.net/pgsql.max-persistent
    . ^+ b$ M, e( j3 a) J
  1349. pgsql.max_persistent = -10 d  `: ]9 B3 t1 G, I9 h- G
  1350.   w) q6 z- p7 ]) c9 g" \2 A
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    $ Q; o6 n" L% ~( c; @
  1352. ; http://php.net/pgsql.max-links0 {/ V& K" ^' W& F; d( ?0 q3 w) H
  1353. pgsql.max_links = -1  M' K! g  q. D

  1354. . e2 _- e& m# L: J2 S% W3 q+ L
  1355. ; Ignore PostgreSQL backends Notice message or not.: S' _( D" ?) ?# i3 z+ ^* `  M0 m
  1356. ; Notice message logging require a little overheads.
    ) A% C+ Y0 E* V0 ^8 E; X# k
  1357. ; http://php.net/pgsql.ignore-notice6 e9 r3 p- N; r9 T. i5 ^' v
  1358. pgsql.ignore_notice = 0
    & K/ q) q0 i8 K: M8 c

  1359. + L6 k0 f. C' x
  1360. ; Log PostgreSQL backends Notice message or not.) Y/ x6 ]0 l! F4 a
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.& h' `4 r8 c1 F* W& p  h, I  f: M% g
  1362. ; http://php.net/pgsql.log-notice
    4 @  R% W+ Q/ {. @1 f
  1363. pgsql.log_notice = 0
    & r2 _/ a, R9 J

  1364. ! g! C& @2 O7 ?" ^2 ^
  1365. [Sybase-CT]
    $ V* h( i5 k3 X  \9 H' }
  1366. ; Allow or prevent persistent links.4 `* A' n) t! p' l4 T: X
  1367. ; http://php.net/sybct.allow-persistent
    - y2 B# ]6 p) b- h( }
  1368. sybct.allow_persistent = On5 A% Q" f- ?% g2 B; J% \

  1369. # U6 V, f0 b8 _2 c" S
  1370. ; Maximum number of persistent links.  -1 means no limit.
    5 a' F% }3 A( q4 {) `- p9 Q* ^
  1371. ; http://php.net/sybct.max-persistent: K$ ?! O- t2 `) e
  1372. sybct.max_persistent = -1; d( i! |: I# q& f  x
  1373. 6 V6 B( D0 }+ u; C' ]% R% r
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 |! ?- d9 t( Q0 Q
  1375. ; http://php.net/sybct.max-links
      `- I1 ^7 k0 m( ?, q% ~; R
  1376. sybct.max_links = -1
    + F- @$ F. w$ |& c

  1377. 8 ?  _4 `- V6 F
  1378. ; Minimum server message severity to display.
    : j0 q. y$ f  G. N
  1379. ; http://php.net/sybct.min-server-severity0 o& J+ o& v6 w, s) ~6 h
  1380. sybct.min_server_severity = 108 v+ I! X, @3 ~/ q

  1381. * t, L/ I( i+ Z$ c3 x( `. Q
  1382. ; Minimum client message severity to display.
    ) @/ X/ E: C! e$ s% k$ K) e- R4 A
  1383. ; http://php.net/sybct.min-client-severity
    4 j" |, F0 _8 b9 v( O; m
  1384. sybct.min_client_severity = 10
    " Q0 H5 A- H( y$ F' L5 D
  1385. ) \' n7 l: p; l4 [
  1386. ; Set per-context timeout$ H) @6 o0 \% ~, ]; h! B
  1387. ; http://php.net/sybct.timeout
    ; y2 o( ^" ^+ W  e# q
  1388. ;sybct.timeout=
    4 W! Q* v  \0 X" j" H, {  S+ }

  1389. 7 L' u( B1 M: J# d/ M0 d! B" B5 D
  1390. ;sybct.packet_size, y' j: L" [6 `

  1391. 6 N  G8 B9 g( i7 o3 @; z
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.9 I0 c6 a! E! ~' E0 }# j  O
  1393. ; Default: one minute9 O0 N. v" `  E/ Y: v) ~6 r5 n
  1394. ;sybct.login_timeout=- M/ o3 b! W4 D& _  @

  1395. + \  j( ^5 }: M2 U: ^* y
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.! t9 c0 c3 Y& F- i" {6 @# {# C
  1397. ; Default: none: v) j& w2 y4 l2 h/ }
  1398. ;sybct.hostname=. Q$ U8 Q( w3 o( ]
  1399. 6 E, T7 k$ Q6 v/ c" e  \3 M
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".. l$ D* S( I: P  x7 J. P
  1401. ; Default: 0$ p; G0 @) i, E4 T! F; g
  1402. ;sybct.deadlock_retry_count=: E% K) O' u! T

  1403. 9 P4 C# j* f3 e6 u3 l
  1404. [bcmath]
    - K3 ?5 B! b5 L" \, p
  1405. ; Number of decimal digits for all bcmath functions.
    ( h0 l: P& A1 l) h; h) l
  1406. ; http://php.net/bcmath.scale* j% e  g5 |) v$ Z. b
  1407. bcmath.scale = 0; c5 A8 V7 z0 h* g8 n
  1408. ( h- Y, e) N% C8 _7 q8 v+ R
  1409. [browscap]
    $ `( V8 h+ u9 y+ ?! W; m( b( F
  1410. ; http://php.net/browscap
    5 d9 o, a3 M3 N
  1411. ;browscap = extra/browscap.ini; n- U7 Y% @8 }$ E
  1412. ) f' X) f6 j# N' }* `. t
  1413. [Session]( k# U/ H7 P! p9 r$ r9 E& H4 z5 }
  1414. ; Handler used to store/retrieve data.
    + A9 |6 x6 ~$ r, z
  1415. ; http://php.net/session.save-handler% R# Z7 O1 ]8 }, P+ L. Q: A2 F
  1416. session.save_handler = files% F* \0 c* q0 y1 y$ v: ^! U8 |

  1417. % m% F, C' P$ h- R3 H( O
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    # h7 D/ ^! d: @. z$ K' W
  1419. ; where data files are stored. Note: Windows users have to change this+ t5 G  p- g! H& B
  1420. ; variable in order to use PHP's session functions.( A! k' u' q$ ^0 @- y" J1 [
  1421. ;
    & F. z6 i, D8 a) Z. X
  1422. ; The path can be defined as:0 m% H! a$ `% W+ k/ ?
  1423. ;/ E1 ^8 b: B6 \' W# o% v3 Q/ Z
  1424. ;     session.save_path = "N;/path"
    6 c' X; F. P- N  p
  1425. ;
    ! T  N, ^: j! O* c: h2 Y
  1426. ; where N is an integer.  Instead of storing all the session files in- B8 ?* I; B- @' y9 M+ ~
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    9 L0 ^) Y; D% Z, ^% Y
  1428. ; store the session data in those directories.  This is useful if
    / z, C  D' @& {$ \) _3 C3 S
  1429. ; your OS has problems with many files in one directory, and is+ K; W$ c+ Z8 T+ `
  1430. ; a more efficient layout for servers that handle many sessions.
    # H: o5 U9 b! ]/ U' Y- g; D
  1431. ;
    5 h+ `& X! r0 f* W4 ?
  1432. ; NOTE 1: PHP will not create this directory structure automatically.! ^4 v3 A4 P4 @# d* B" ^+ P$ M
  1433. ;         You can use the script in the ext/session dir for that purpose.& k7 r6 W0 y6 x9 f& r* L+ J7 M
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    $ D9 \# Q& Y5 K, d
  1435. ;         use subdirectories for session storage
    1 m5 m: u2 k3 V# J
  1436. ;; f- S- w- {" t( @# B
  1437. ; The file storage module creates files using mode 600 by default.
    5 k+ k6 a! |9 F* @) @2 w
  1438. ; You can change that by using
    0 M5 s3 }5 W2 g
  1439. ;
    . K( V& \0 [8 m$ y5 K
  1440. ;     session.save_path = "N;MODE;/path"& |. a2 a6 B5 g. h: k: H+ [
  1441. ;
    5 H* a( \* Z  V$ D. W$ s% h
  1442. ; where MODE is the octal representation of the mode. Note that this7 C; B) d8 T1 U; {/ n8 w  M5 @
  1443. ; does not overwrite the process's umask.
    ; N0 h; r7 M: _9 `
  1444. ; http://php.net/session.save-path
    - w; ~1 S! q& p2 `% v
  1445. ;session.save_path = "/tmp") U2 t9 y- `& F& a5 w

  1446. 5 e6 u0 ?+ H# }3 V3 T: s7 O% I5 ~
  1447. ; Whether to use strict session mode.0 H: J3 f/ K( r: t+ x" ?, u$ m
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate* Z& H9 q8 y. m! o- u7 H
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    , U# p6 T  r8 b+ f9 O! K% ], d9 B) d
  1450. ; applications from session fixation via session adoption vulnerability. It is
    7 h% a4 e# T  {
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    0 K/ [7 d0 A6 ^. {. d
  1452. ; https://wiki.php.net/rfc/strict_sessions8 d! h! V. T3 D' U8 G
  1453. session.use_strict_mode = 09 m% n9 `1 K# X3 {1 U9 L$ V

  1454. & ]% u) Q- ?, c% X' N
  1455. ; Whether to use cookies.3 m, [/ l  s* A4 U, N% L6 C
  1456. ; http://php.net/session.use-cookies% h% M/ I5 N: }" q
  1457. session.use_cookies = 1
    + o6 P4 E+ ^$ T& T

  1458. 7 c2 Y- m% b) H( g: ]% R, G7 T
  1459. ; http://php.net/session.cookie-secure# a( S% t6 t% ^$ T7 e
  1460. ;session.cookie_secure =; x+ a* `$ ?; Q7 J" E9 L
  1461. , o! s0 s9 [! M' P4 K
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    " Z+ Q1 {! K& L& V1 Q" b; T' l
  1463. ; the session id. We encourage this operation as it's very helpful in combating# M( {% h$ r2 j; N
  1464. ; session hijacking when not specifying and managing your own session id. It is9 G/ S% C. x. }
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.) ?  ~, h: q/ j3 Q2 L; k3 `
  1466. ; http://php.net/session.use-only-cookies7 S' D* a4 }( I3 m5 J
  1467. session.use_only_cookies = 1& {2 o* x" W8 H  F# U  M, G1 V1 R
  1468. # e* n1 T- X. @/ }7 ^8 a$ @* P
  1469. ; Name of the session (used as cookie name).) w2 [% Y1 n5 b
  1470. ; http://php.net/session.name. L5 G& _9 Z; E2 ^, z$ T3 s) ~/ c
  1471. session.name = PHPSESSID
    8 [5 L. @- }0 ]) r! [/ [  f6 `$ }
  1472. ; S0 D1 ?6 [5 W. V7 m  N' u+ f
  1473. ; Initialize session on request startup.8 V/ I6 D8 f3 s5 v' g2 [6 e# s5 v
  1474. ; http://php.net/session.auto-start5 i0 l  M% G; H
  1475. session.auto_start = 0
    8 O/ y6 w8 |3 B, k  T) v* t

  1476. " K$ ?: D: s. Z7 r% I" A
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.# q/ M4 h6 u8 z8 M/ `; X
  1478. ; http://php.net/session.cookie-lifetime
    / `- }0 S  U1 H& G" X, j: [/ _3 g
  1479. session.cookie_lifetime = 0
    , q5 ]8 `  |& f/ X6 ?$ r

  1480. 3 q* {. d  ?7 y# }
  1481. ; The path for which the cookie is valid.
    , k, y, O0 d' ?5 o% \
  1482. ; http://php.net/session.cookie-path+ B- j5 i2 b( U$ N& Q& h$ P
  1483. session.cookie_path = /
    + `8 E* v/ p: x

  1484. / d- O3 l, C% G( G; |" O) D
  1485. ; The domain for which the cookie is valid.
    . V' z8 b) Y6 a: e! P+ u3 b
  1486. ; http://php.net/session.cookie-domain
    : b- F. z& Z5 S
  1487. session.cookie_domain =
    / I5 ]( z  E6 _+ a$ s( U
  1488. 5 v1 f7 z* m0 A& W
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    : k# ?" L* z- }/ ?0 z- b' Y, N
  1490. ; http://php.net/session.cookie-httponly
    $ ~* S. W* O9 d0 ?" ]
  1491. session.cookie_httponly =
    + a5 k6 O- Y1 I4 z
  1492. - P$ ]& [' y) T8 i9 M
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    % T2 I) [& d2 f& ~( m
  1494. ; http://php.net/session.serialize-handler1 `5 s6 n! M" \( ]- d  z) j1 A% j
  1495. session.serialize_handler = php. \: R1 {' C" G  Q# p3 ], ~  ^, |/ M* O

  1496. ' i  O5 t0 L$ v1 Y0 R
  1497. ; Defines the probability that the 'garbage collection' process is started* c3 `. N' P, f$ C! v$ t
  1498. ; on every session initialization. The probability is calculated by using
    8 p' p' _( \) _7 ]; }
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    2 ^# [# k1 C) @' H
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    3 _7 j% E& V. [  s, Q6 K
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 I* m( b! B# g  f
  1502. ; the gc will run on any give request.4 D1 m& W" ]- j4 X0 _( x
  1503. ; Default Value: 1
    5 W. N7 }( O9 x1 H0 A
  1504. ; Development Value: 1
    . ]! b3 W% ?* \( D& j
  1505. ; Production Value: 1' D' s/ c7 |8 k; H
  1506. ; http://php.net/session.gc-probability  d* B5 C. j4 N
  1507. session.gc_probability = 1
    9 p  s0 l  f# ]; x( u6 o# o1 K+ e
  1508. ( Q) |. u& K. Y1 q6 k. l: m
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    * s2 |- F" t7 B) s" {$ P! n' T
  1510. ; session initialization. The probability is calculated by using the following equation:
    2 C4 l/ T* ^$ Y4 p* w
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and$ P4 Z2 K9 ~2 x- Q' [* B. _) |
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 11 k. h2 E- L6 N3 V# d; U
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 ?+ R/ d7 G8 a8 w
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you" Y4 p$ s( _: Y! M& h- R
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,3 b# a0 n5 ~1 |% K2 ^
  1516. ; this is a more efficient approach.. A/ c" Y4 C1 Y* q- r
  1517. ; Default Value: 100& P7 \: P% g! _. Q" q& Q+ K' k
  1518. ; Development Value: 1000! H; Y' L  w& o
  1519. ; Production Value: 1000( m5 Y/ N7 J+ s7 o- b, ^& M
  1520. ; http://php.net/session.gc-divisor, P3 {" n2 f2 T, R1 c
  1521. session.gc_divisor = 1000
    . d( {" q  k& E0 I& z6 M( z2 w. P

  1522. ) O" P, ]0 g5 [7 g& g" S
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and8 ]/ g1 R5 F$ l8 S7 l1 b0 s
  1524. ; cleaned up by the garbage collection process.3 t/ G5 K3 y2 }: J
  1525. ; http://php.net/session.gc-maxlifetime
    2 O: h" i$ w+ k4 c0 K
  1526. session.gc_maxlifetime = 1440! P; t+ l& I6 |+ \& b3 D

  1527. & [; Q( _! T+ e; H
  1528. ; NOTE: If you are using the subdirectory option for storing session files4 g! O$ I! H" P9 D6 [& ^3 F- m0 Q
  1529. ;       (see session.save_path above), then garbage collection does *not*, ~3 u& h/ L/ @2 M6 U4 E( E" C
  1530. ;       happen automatically.  You will need to do your own garbage
    1 `: l- e- E  B6 p: B
  1531. ;       collection through a shell script, cron entry, or some other method.+ x2 K( I8 V. d4 N
  1532. ;       For example, the following script would is the equivalent of& k/ B0 l- H- G. K# [1 p. c; D
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):6 ?% b) t/ H) @! u7 T/ ]
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    * n! x  ^! u( b  `2 U

  1535. 8 X' F* z. z% M: M& P7 v3 y: k
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.( M6 j0 J5 i, H! t3 A' e
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    : h$ V/ ~, o6 c) e# Z  M* V
  1538. ; considered as valid.
    - @/ z3 i, G' F5 k
  1539. ; http://php.net/session.referer-check
    4 s; B4 A' Z/ o
  1540. session.referer_check =
    / O5 P' \1 U) X, G0 ^. L8 N
  1541. ; t1 q9 d' J" H& @
  1542. ; How many bytes to read from the file.$ n/ J8 v* G( \4 r
  1543. ; http://php.net/session.entropy-length
    9 i' s% `/ g9 p1 q+ }3 I. i
  1544. ;session.entropy_length = 32
    % Y, i# u5 b- B) K/ O0 }% ~

  1545. " G8 H. f( B; F# g& F0 s4 `
  1546. ; Specified here to create the session id.# ?; [! ^' ~! n) I
  1547. ; http://php.net/session.entropy-file
    ! \. m+ a+ @, Q& b, E7 \: P* s
  1548. ; Defaults to /dev/urandom
    7 ^6 S0 ]  s+ {& n4 U  E
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    . Q4 ~3 ^( ~( u, L4 p7 L. ^0 O+ i
  1550. ; If neither are found at compile time, the default is no entropy file.5 M; X3 G" h& X/ B1 M
  1551. ; On windows, setting the entropy_length setting will activate the9 s% z5 Y* ~, f- `
  1552. ; Windows random source (using the CryptoAPI)! x' H1 O* z4 t! g5 I% i
  1553. ;session.entropy_file = /dev/urandom
    ! C* X/ [6 X3 s1 m

  1554. : |/ P5 m- v* @+ m8 O% |, Q
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    + e7 s1 C  s1 [7 Z
  1556. ; or leave this empty to avoid sending anti-caching headers.4 k6 I! H. _! ]6 C
  1557. ; http://php.net/session.cache-limiter9 ]# l0 j5 y% a3 E5 V! e1 u
  1558. session.cache_limiter = nocache
    ; C# n7 W( T, V8 _: w( Y

  1559. 4 t. m9 N+ G% ?  _
  1560. ; Document expires after n minutes.
    + Z+ e# Q, D. R" L2 T. R
  1561. ; http://php.net/session.cache-expire! U2 l3 g+ k7 p9 W4 D
  1562. session.cache_expire = 1805 z' }6 N9 u% N. N( O" Z: \+ x- q
  1563. 0 {, y. t/ c) b9 @2 Y7 Q
  1564. ; trans sid support is disabled by default.2 k  ?' ~. U4 |
  1565. ; Use of trans sid may risk your users' security.
    : p5 w3 |) i% O8 r; ]- ]* o. F& u
  1566. ; Use this option with caution.
    - T, `+ \- z, G7 ]
  1567. ; - User may send URL contains active session ID
    % N" r* g. [# j9 Q# [
  1568. ;   to other person via. email/irc/etc.
    $ x9 r  c. ?9 Q( U7 V) n2 p
  1569. ; - URL that contains active session ID may be stored  x# l, E! A; o' d5 w3 h
  1570. ;   in publicly accessible computer.
    % i( ]7 x1 w" H  O& k; V6 ^
  1571. ; - User may access your site with the same session ID
    ! z! C; R6 V2 a
  1572. ;   always using URL stored in browser's history or bookmarks.
    3 D  B+ U' l. U6 i. c# ~% f( p
  1573. ; http://php.net/session.use-trans-sid# T# G$ P5 g  C: E* W# J. I
  1574. session.use_trans_sid = 0
    / x; h4 C. Z9 e$ N
  1575. 5 x+ ?- Q% r- R! E; T7 s; S( r! N7 X
  1576. ; Select a hash function for use in generating session ids.
    4 {: Q4 J, x; y. z4 A5 l, E
  1577. ; Possible Values9 J: J) T  x  n2 H3 y/ }# ]7 r
  1578. ;   0  (MD5 128 bits)
    " q  v7 ^5 `5 o( e. a5 S* B2 }
  1579. ;   1  (SHA-1 160 bits): V/ z2 e* o7 |5 J+ V
  1580. ; This option may also be set to the name of any hash function supported by
    / I8 E4 \. F3 ~; P4 G8 K. w7 z
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(), v0 @- {9 L! I' k3 \2 H
  1582. ; function.
    % m! c4 ^9 ^$ R0 x3 N5 g
  1583. ; http://php.net/session.hash-function$ o( a1 s! }7 q
  1584. session.hash_function = 0' N& q! e# D' I9 s0 w
  1585. * l8 i( P) [: \: x
  1586. ; Define how many bits are stored in each character when converting+ V# g* g$ F1 @6 f2 l5 _5 Z
  1587. ; the binary hash data to something readable.: M: y4 q/ H0 V3 n% _
  1588. ; Possible values:
    5 |5 S: s0 \# G9 g6 o% C
  1589. ;   4  (4 bits: 0-9, a-f)
    : m4 `% P' t( u, c1 E$ q1 f8 [
  1590. ;   5  (5 bits: 0-9, a-v)# \+ Z) C7 h9 r8 H# z
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    4 @1 a! K" I& ?& W  Y
  1592. ; Default Value: 4+ s* t6 u5 C$ O. S0 z# H. n7 M
  1593. ; Development Value: 5
    $ b% [4 k. l( N
  1594. ; Production Value: 5
    0 F1 j% z  g6 {, W3 \8 N
  1595. ; http://php.net/session.hash-bits-per-character
    3 _4 D+ `: o9 q- X1 S2 L7 j; M
  1596. session.hash_bits_per_character = 5
    9 x' t( {* Y3 d7 C# U! F1 P

  1597. 6 }& M( b+ w( M. s  p7 n0 L
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.2 K! c: t1 ]- ]( e$ V& R$ M
  1599. ; form/fieldset are special; if you include them here, the rewriter will. R: k3 w, E- h: V: n$ q5 T/ ]
  1600. ; add a hidden <input> field with the info which is otherwise appended) g+ V+ o" b/ n$ @
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.# f6 L) z' r% j/ G
  1602. ; Note that all valid entries require a "=", even if no value follows.
    + U* B1 J0 z' M3 x
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ( @& ^' }0 k! N: B' |
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 e, `9 Z! ]- d5 }" p+ w+ K% x1 [
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : R' L  a( l8 ~# Y" L3 @
  1606. ; http://php.net/url-rewriter.tags8 D0 u8 u7 X3 d, v- ?
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    & g  W$ x* q7 i/ t

  1608. 5 u3 Y3 U! a3 V' d2 k4 Z7 Q+ {7 l. ^
  1609. ; Enable upload progress tracking in $_SESSION
    7 Z% u/ f0 n* v3 l- q5 R
  1610. ; Default Value: On/ l( h0 i; _8 n. f) V" x% }. V
  1611. ; Development Value: On# H1 [- P: ^, E: Y
  1612. ; Production Value: On. z( @5 u& |2 e# w: v
  1613. ; http://php.net/session.upload-progress.enabled% ~- [" g6 ?, t, u! ~# J
  1614. ;session.upload_progress.enabled = On
    1 @' w3 y7 A, {6 [0 H4 x' a' K
  1615. 8 U" l  W) h" x. z
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ! W1 c+ m6 z/ Y1 L6 f
  1617. ; (i.e. upload completed).: i1 i" F, s: O' x* F- {
  1618. ; Default Value: On
    : `4 N; C& K7 ~. Y
  1619. ; Development Value: On
      J' s& }2 `2 C5 `( H& R
  1620. ; Production Value: On
    ' M1 u8 ^  U* s
  1621. ; http://php.net/session.upload-progress.cleanup/ A# @% g( `4 b% q' T) B
  1622. ;session.upload_progress.cleanup = On
    . C: i- x  N( w( E8 X

  1623. ' Z8 s" y; y2 ~6 Z
  1624. ; A prefix used for the upload progress key in $_SESSION$ f4 R% J$ u, J8 l1 h8 n2 J
  1625. ; Default Value: "upload_progress_"7 E, z3 S. B6 d6 \5 O5 x
  1626. ; Development Value: "upload_progress_"
    ) h' B# }& x  z) |
  1627. ; Production Value: "upload_progress_"
    - @4 h6 N4 i: f1 p  l
  1628. ; http://php.net/session.upload-progress.prefix
    ! v& w0 ~% u: \) q4 J
  1629. ;session.upload_progress.prefix = "upload_progress_"
    0 b+ T; }( A6 g. D& s: F

  1630. 6 m6 F- \' V/ d5 L! H5 [
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    6 P- o3 F* L- J5 X- i  g
  1632. ; containing the upload progress information
    * U  s1 s$ N: F6 u9 w7 Z7 e' D; A4 N
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"9 b2 Z8 J2 ^3 h& R  K9 y9 s
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
      n+ w) ?& _: l
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"! {5 }! z9 m: A! T) c. C* }: f
  1636. ; http://php.net/session.upload-progress.name5 ~% S; P* ]- L- u' _4 E7 O8 [
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    " e0 L) x2 J4 w/ ~( N( ^4 E
  1638. $ x5 B! B* e% A+ Q
  1639. ; How frequently the upload progress should be updated.
    ' M# [9 O3 a- ]5 i2 _; ^
  1640. ; Given either in percentages (per-file), or in bytes( o+ |, T+ `+ V! @% G. A
  1641. ; Default Value: "1%"/ ^" k9 V+ r6 W' G* l6 ^
  1642. ; Development Value: "1%"
    1 b2 k6 O* p+ M& A* @; s
  1643. ; Production Value: "1%"
    0 y! g" G- U' K& G! N' S1 B
  1644. ; http://php.net/session.upload-progress.freq
    * n, S. u, F7 a/ T
  1645. ;session.upload_progress.freq =  "1%"& s0 D" Y: E4 o" n( F
  1646. & [- Q* i! h- T# i
  1647. ; The minimum delay between updates, in seconds  g1 S* t+ j3 M' T  A$ q; {
  1648. ; Default Value: 1
    . z+ n/ d' {/ e+ I- W
  1649. ; Development Value: 18 S9 q0 U4 Z  R: X
  1650. ; Production Value: 1
    ; V: H5 E" }  e: X2 \0 F* o0 X
  1651. ; http://php.net/session.upload-progress.min-freq
    . c5 g/ I& [* `* d: ^5 f
  1652. ;session.upload_progress.min_freq = "1"+ i% Z' C' ~. w
  1653. 2 P- h- o* |( c3 g
  1654. [MSSQL]0 F: J% p8 n4 T8 x# ^  s8 I4 c, P# k
  1655. ; Allow or prevent persistent links.( T: O9 S4 X  k
  1656. mssql.allow_persistent = On/ K  y: d) l2 _" m; i
  1657. 9 X) Z) S6 r2 N9 Q' _& f2 M% ]
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ) y8 k. C! @, z5 r6 B, s
  1659. mssql.max_persistent = -1
    2 A; U- z& r* Y; |3 Q0 f, c

  1660. $ B  }8 G( }; a+ \: H) [) b
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    * [, R, U2 P% f1 o2 ]9 S
  1662. mssql.max_links = -13 r9 n+ N  v4 \' y7 O

  1663. ) M  H, t% E( W# k4 W' }
  1664. ; Minimum error severity to display.. m* u7 D4 Y0 `* M5 M6 {
  1665. mssql.min_error_severity = 10
    8 X1 e" m# {, u' I

  1666. + l( `" C, y1 w
  1667. ; Minimum message severity to display.0 `2 h- f* ]0 r
  1668. mssql.min_message_severity = 108 S4 a* A+ @+ Y: N# ]0 R) M0 W$ B

  1669. 4 V) B: s: g0 J1 [! h$ \
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ' `; w- b1 B, k6 ~+ E7 p% j% a
  1671. mssql.compatibility_mode = Off: O5 B% v. a1 W0 {  S9 U- j0 A

  1672. 4 v2 a/ S; j& P: w1 Q! i/ j
  1673. ; Connect timeout/ L3 e/ w/ G" v0 r1 }
  1674. ;mssql.connect_timeout = 5
    - {0 r) N+ R3 `9 L
  1675. / z0 J5 `  e2 @" V( P" n
  1676. ; Query timeout
    " ^& J( r* L' x& |$ g
  1677. ;mssql.timeout = 607 o8 j! Y6 f+ K# D

  1678. & W) \* p% W% x7 S# ~
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ! ?4 ]7 i' p0 v+ B6 |9 s( ?6 w' V
  1680. ;mssql.textlimit = 4096
    6 C$ j0 R$ n6 ~) ]* u2 g
  1681. ' w) R* I0 g& Y7 _6 c" L0 ^- A
  1682. ; Valid range 0 - 2147483647.  Default = 4096.% L6 ]* V$ {+ l: L! s# P. I- H
  1683. ;mssql.textsize = 4096
    % ^: I; `/ ~/ V8 p
  1684. 6 v0 Q6 z2 K& B
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    4 ]1 d  C8 M8 [: \: F3 E$ F
  1686. ;mssql.batchsize = 0
    $ a8 t7 N" ?, C  \' \: S/ p) S

  1687. 9 P3 r% k; Q+ r- v1 c
  1688. ; Specify how datetime and datetim4 columns are returned
    ( C8 L; [& q6 k' {
  1689. ; On => Returns data converted to SQL server settings) ^1 J8 s! @4 A  J  J* ?
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss: v. T1 j! J9 o3 Q' Z. U
  1691. ;mssql.datetimeconvert = On6 j" C- H1 I2 B: s
  1692. ) h$ l1 F$ P3 U
  1693. ; Use NT authentication when connecting to the server
    6 w0 Q- h- X6 d; R! a
  1694. mssql.secure_connection = Off
    4 T9 B: O& a% I6 a- i% K5 J
  1695. % O6 t; G+ u# C% j
  1696. ; Specify max number of processes. -1 = library default
    2 R1 \- p& H4 }& X
  1697. ; msdlib defaults to 253 O- c# p' p: `
  1698. ; FreeTDS defaults to 4096
      B+ K+ ^; _6 M5 W3 ?  g( D
  1699. ;mssql.max_procs = -1& Q& j1 L& ~) ?8 f
  1700. % f  n" k& A% \4 G
  1701. ; Specify client character set.8 ]5 X7 L8 u3 N
  1702. ; If empty or not set the client charset from freetds.conf is used  R2 \+ U2 L8 t! {1 }
  1703. ; This is only used when compiled with FreeTDS
    : \3 o8 P1 B& F9 {( ]" X3 _
  1704. ;mssql.charset = "ISO-8859-1"+ Z7 F! J# b& @. v

  1705. 7 B6 t  y" [1 b$ O4 o, v! O! D
  1706. [Assertion]
    4 C. f; S) E0 N: b$ ^
  1707. ; Assert(expr); active by default.
    . K0 m. Y$ |! a
  1708. ; http://php.net/assert.active$ z/ T5 G% n" \, ~/ O  b
  1709. ;assert.active = On
    ) D0 O4 H" V" y. l, q* M

  1710. - c5 ~  D. F' E; _! W' d0 |
  1711. ; Issue a PHP warning for each failed assertion./ Y9 s/ Y0 \' }* s- _% R) p8 S
  1712. ; http://php.net/assert.warning
    8 V( U9 }' m# U! G
  1713. ;assert.warning = On% p" [/ P" l# I" T
  1714.   V2 \6 k& C1 l* m
  1715. ; Don't bail out by default.$ ]: |1 r7 T  ^+ Z7 ]4 G; [
  1716. ; http://php.net/assert.bail! g& H" u5 p  Z) p) U
  1717. ;assert.bail = Off+ C8 z* C: W  E) J! b4 p
  1718. " p. F% u, g# E6 `3 O1 j5 K
  1719. ; User-function to be called if an assertion fails.
    $ R4 w8 L  V' _3 T" `
  1720. ; http://php.net/assert.callback
    5 J, ^/ }; |/ o0 M3 Q( ?
  1721. ;assert.callback = 0
    ( T# {$ ~4 {( D

  1722. / h+ S8 W- U! {: y! b
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    % K# [8 F; E  a8 b! F
  1724. ; error_reporting(0) around the eval().- Z; g& M6 G" c' v9 ]. L6 C# D
  1725. ; http://php.net/assert.quiet-eval
    4 z9 v" q* E- Y. J
  1726. ;assert.quiet_eval = 0
    , t# G" I  F+ Z/ J/ w
  1727. % a4 m+ i4 l8 P
  1728. [COM]
    % |# T+ e* z* _' x
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs- ^& G- r# U& c: a+ s+ D. S; r
  1730. ; http://php.net/com.typelib-file
    / R" Y* b) ~* t: {& n2 h
  1731. ;com.typelib_file =
    - s. p0 w. @- W2 J( ]9 q, h
  1732. 3 W% t) D( ~- u4 t3 G2 G
  1733. ; allow Distributed-COM calls
    9 |- D+ n  y1 c- G3 s* K
  1734. ; http://php.net/com.allow-dcom, r. o2 b1 {. s8 `* e; J+ [9 s% p
  1735. ;com.allow_dcom = true% [1 l5 q. V' @5 q
  1736. 0 _4 |8 O1 g& r: Y7 p9 S  Z8 d8 b
  1737. ; autoregister constants of a components typlib on com_load()
    + _, O4 S5 E. _" p8 f9 `
  1738. ; http://php.net/com.autoregister-typelib
    1 M; f) r" o" e' G8 Y* k
  1739. ;com.autoregister_typelib = true
    , Q( J3 W$ c  ?! U

  1740. * m" G  r. \/ B: [# f
  1741. ; register constants casesensitive
    ; c" }: f& M; Y5 x9 i" T6 _
  1742. ; http://php.net/com.autoregister-casesensitive
    ) P) a( M9 [; ~0 k
  1743. ;com.autoregister_casesensitive = false
    6 m$ q1 N) ^$ R( z
  1744. , ~7 Z  l" }% b3 z
  1745. ; show warnings on duplicate constant registrations+ T6 A, G8 \1 k5 U, w
  1746. ; http://php.net/com.autoregister-verbose
    9 V& I3 t/ `& f! W7 l1 r% N
  1747. ;com.autoregister_verbose = true( B9 _# p& z9 ~$ d4 _: e

  1748. . g, y/ v, U/ Y/ U
  1749. ; The default character set code-page to use when passing strings to and from COM objects.* D: p9 `" f: }% n; d% I
  1750. ; Default: system ANSI code page% K% N9 j: l/ _# t8 ?% t9 O" u
  1751. ;com.code_page=7 P5 e/ o! R3 m# b; b& F. |/ H/ R

  1752. " k2 j/ B2 [$ g) T2 _
  1753. [mbstring]( [: ^+ a  A& L& [. k
  1754. ; language for internal character representation.
    5 \3 s& A1 k! X' U' w
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    5 d# v  |& |  z5 d3 d6 @. a
  1756. ; http://php.net/mbstring.language
    " t. W5 m# C/ c3 r3 E
  1757. ;mbstring.language = Japanese
    4 u3 B" A/ P- n4 q: |* Y% M) h
  1758. $ ?2 j/ X0 \% o7 k1 Q  O
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " O. e* A- ^) k9 j' O( u; l9 `# ?
  1760. ; internal/script encoding.. j& k4 R1 \$ v5 u6 a  H: N; [" H
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)" F% m) d0 U) r1 S$ c+ x
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    0 c8 B  B  {1 i" U0 ~3 s
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    4 N, I3 p2 G7 [4 `. Q
  1764. ;mbstring.internal_encoding =' U8 c1 H. ~8 N2 F* Y. Y; p2 H

  1765. . g4 q* }7 e% j0 X# [# [
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.6 D0 L3 Q* K% o- F0 l
  1767. ; http input encoding.
    8 |; O# O/ B5 ^3 B+ Y1 G' H4 ]
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.$ s1 [# ^! q2 W; ]2 J" ^: d
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    4 M8 g; C6 c6 k6 w% X
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    $ j- I0 E3 o3 V- p
  1771. ; http://php.net/mbstring.http-input( E7 h" I; r% y/ S! x
  1772. ;mbstring.http_input =7 c3 v- X+ k) `: ^8 D3 O
  1773. ( c( D( h7 ?- I5 N8 e& s
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    # X5 u* W) c# f( [. p3 U
  1775. ; http output encoding.9 H/ H* h7 ?1 `0 o$ `4 l
  1776. ; mb_output_handler must be registered as output buffer to function.( M; A3 b8 X1 n2 t
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    # C) Q- U1 b1 b- l
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
      t: p; z4 Q5 F2 [( L
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    + K$ X- K% l# l6 i; {1 V
  1780. ; otherwise output encoding conversion cannot be performed.
    - d& e/ E; C, @- p5 ?
  1781. ; http://php.net/mbstring.http-output2 r+ E! E6 }5 c" x4 O
  1782. ;mbstring.http_output =
    - r( Z! e( ?3 P$ e4 g

  1783. ; r5 `0 U# _' N' R, i# K/ Q+ H
  1784. ; enable automatic encoding translation according to. G; I0 h( x$ V; z
  1785. ; mbstring.internal_encoding setting. Input chars are
    8 R+ X1 ^7 q9 o& V: T" n# p
  1786. ; converted to internal encoding by setting this to On.
    , }0 _* D. q4 [! e6 j
  1787. ; Note: Do _not_ use automatic encoding translation for8 P5 ^. d& q; N/ R! N: Z
  1788. ;       portable libs/applications.; a4 Q* X, k' }2 m/ [- H
  1789. ; http://php.net/mbstring.encoding-translation
    1 S/ c# y) }7 x  }2 M+ j0 ]4 l
  1790. ;mbstring.encoding_translation = Off2 i9 w9 a0 k0 \7 _: J% b: X
  1791. ' B, }# S0 P3 r4 r6 f6 q# i  ^
  1792. ; automatic encoding detection order.1 L# }/ }. h( S; {, b, F- t* Y5 {4 F
  1793. ; "auto" detect order is changed according to mbstring.language+ O. `3 P( I0 k, w3 k
  1794. ; http://php.net/mbstring.detect-order
    ; u* d: ?+ }  z& c  u! h: d" v
  1795. ;mbstring.detect_order = auto0 g& F+ Z/ \& c4 [
  1796. % s- W5 r( [' }# Y4 C
  1797. ; substitute_character used when character cannot be converted
    ! D, l4 w$ E; E+ ^2 D: U& g; T
  1798. ; one from another
    3 ?0 C( I1 j& Y" t2 D
  1799. ; http://php.net/mbstring.substitute-character
    ' [$ L1 {$ e! D+ A
  1800. ;mbstring.substitute_character = none& @4 N; b2 f4 m4 b+ x
  1801. 8 i2 x9 n. L! j; S) z8 R$ [1 ~" c
  1802. ; overload(replace) single byte functions by mbstring functions./ m9 X+ a, ?# |" m
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    + L. r* ^7 _) M/ ]
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.7 n7 ]% e4 i+ m
  1805. ; For example, 7 for overload everything.
    , e3 C) j" g2 m# s! h
  1806. ; 0: No overload% X8 f& t; G8 J: @$ V
  1807. ; 1: Overload mail() function! M# |3 j2 y4 k/ u+ ]
  1808. ; 2: Overload str*() functions7 G" J. K; _- _! ?( Z0 d* P
  1809. ; 4: Overload ereg*() functions
    ; R' A" j1 N; @8 W8 R
  1810. ; http://php.net/mbstring.func-overload
    ' @' H) ^* `" q1 h$ ^2 E
  1811. ;mbstring.func_overload = 06 ]- N3 v9 w2 w0 h7 {, k/ Z
  1812.   \( ^; j8 X5 t. a/ n1 {  u
  1813. ; enable strict encoding detection.) n% `2 q4 X( X; ~7 O
  1814. ; Default: Off# N2 H7 n3 e* |. z6 O3 l+ k
  1815. ;mbstring.strict_detection = On  X) h  D; w1 I9 h7 c3 V# P) V

  1816. ; D- L  z8 ]8 R' h- H. s$ V, a
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ) {$ ^% p5 b+ U5 W' N9 }* B' e" K
  1818. ; is activated.% U) C; |3 I, w3 M
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ! u6 G' q. G0 {8 Y
  1820. ;mbstring.http_output_conv_mimetype=+ a$ T1 E/ [3 g; Y) L

  1821. % V0 ]7 t" n- [) h5 P5 |
  1822. [gd]" g7 ^4 F' A* ]" z. s- F  O! e9 T
  1823. ; Tell the jpeg decode to ignore warnings and try to create% h. P8 B- E7 F- k* K1 e  g# d
  1824. ; a gd image. The warning will then be displayed as notices
    8 q+ W. K; W/ j7 m6 ^/ v0 J
  1825. ; disabled by default
    " v' E: F' Q3 \
  1826. ; http://php.net/gd.jpeg-ignore-warning/ u7 V# j6 k( b8 P- n  ?
  1827. ;gd.jpeg_ignore_warning = 01 C& [8 Y  `; Y5 C6 E
  1828. " i$ m) D% N) y
  1829. [exif]. o, O0 v. ]4 r
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    $ ~- u) U- \# T& @' b9 R% f5 p- [. M
  1831. ; With mbstring support this will automatically be converted into the encoding
    8 ?  s* o  m, o& I- U
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding( ^' N$ d& r4 q* Z; U4 h0 Q
  1833. ; is used. For the decode settings you can distinguish between motorola and
    9 C, c: n8 f0 d, |1 e: v
  1834. ; intel byte order. A decode setting cannot be empty.  }6 ?9 x# s: ]' S" R
  1835. ; http://php.net/exif.encode-unicode; p, c6 @$ M" K' I
  1836. ;exif.encode_unicode = ISO-8859-15' w) ^# r; r7 {% `0 H8 [- B
  1837.   P3 q* r# }5 S; r. }# L0 `
  1838. ; http://php.net/exif.decode-unicode-motorola7 K8 s- y/ m9 [
  1839. ;exif.decode_unicode_motorola = UCS-2BE( _/ v# c/ }% w& j- f

  1840. ' a" W) S+ E& h' i9 L3 Q
  1841. ; http://php.net/exif.decode-unicode-intel
    ! Q1 V- g& ~2 ~4 {# D
  1842. ;exif.decode_unicode_intel    = UCS-2LE, [" g0 E" ?- ~
  1843. $ c) q4 E& J( d- W
  1844. ; http://php.net/exif.encode-jis
    3 J8 j7 T7 Q6 p& E7 R! r
  1845. ;exif.encode_jis =/ H/ H& k6 C" n( i/ @3 \
  1846. ; C1 o: v4 U  Q! N# W( i6 r& Q
  1847. ; http://php.net/exif.decode-jis-motorola3 P2 g: _& N# `
  1848. ;exif.decode_jis_motorola = JIS
    ) K# N* J0 c* o

  1849. * C; W: {3 W3 ?- S! u
  1850. ; http://php.net/exif.decode-jis-intel* S0 z* y8 T0 q  A5 R9 X; J+ M8 W
  1851. ;exif.decode_jis_intel    = JIS- W/ y+ e* ?2 c2 i' @: W; u3 U

  1852. 9 B6 z* n* I4 j6 |; b+ g; G8 E9 a0 q
  1853. [Tidy]- }4 N! ?0 T. C! g1 X( ?  M8 ^' g
  1854. ; The path to a default tidy configuration file to use when using tidy( B* O, J, g$ @, b+ v2 y8 ?) m7 N( M
  1855. ; http://php.net/tidy.default-config9 F2 I  j4 @& H& H9 i9 M: u
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ' G. A* {8 `% R: X6 [
  1857. 3 N1 M9 h% L, \& \6 C# H4 R$ Q# D
  1858. ; Should tidy clean and repair output automatically?
    & u8 R" z  p8 U9 w" H, f6 P
  1859. ; WARNING: Do not use this option if you are generating non-html content8 I3 E0 E$ v: c0 S* y* G
  1860. ; such as dynamic images
    , H+ s8 `0 C3 i: C  v
  1861. ; http://php.net/tidy.clean-output
    1 e1 G0 K! z7 l/ V, F$ L
  1862. tidy.clean_output = Off3 _/ s3 ?- a: q. U) L5 m
  1863. 5 [, H0 H8 ?1 p$ {5 Q2 L+ I
  1864. [soap]
      [! \' C/ b4 V* @
  1865. ; Enables or disables WSDL caching feature.
    # V; |+ b5 A! }
  1866. ; http://php.net/soap.wsdl-cache-enabled
    7 i4 R+ z5 B, b) t" i9 ~6 i- j
  1867. soap.wsdl_cache_enabled=1
    # i) E% _+ |" M& f8 [$ X/ Y$ y
  1868.   c( ~! E1 R7 z& ?' B9 C
  1869. ; Sets the directory name where SOAP extension will put cache files.0 j) `4 e: E6 @
  1870. ; http://php.net/soap.wsdl-cache-dir
    ; D* M" ~2 W# S/ u) f+ Q
  1871. soap.wsdl_cache_dir="/tmp"7 T& F. ?; f0 ^' Q7 N
  1872. ( s* d  G: G, d
  1873. ; (time to live) Sets the number of second while cached file will be used1 g9 ~7 K# x  K8 R/ X
  1874. ; instead of original one.
    6 k1 d0 ?, c0 Z# c: ?
  1875. ; http://php.net/soap.wsdl-cache-ttl6 a( G5 I3 L, t5 r: R8 L  x
  1876. soap.wsdl_cache_ttl=86400" `" v: b$ ~' f8 E5 L2 F  v. }* E

  1877. - Y7 N2 y& I6 Q; B1 j/ {
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ( r' A% _7 p# j  N6 r, U2 f$ B. h
  1879. soap.wsdl_cache_limit = 5
    " J& e& ]+ B) i! h5 z
  1880. , K2 X6 Z9 `; [9 v
  1881. [sysvshm]+ }( D/ s! z& x/ p
  1882. ; A default size of the shared memory segment" K- j% Q: l) \' k4 x% x8 t# w
  1883. ;sysvshm.init_mem = 10000
    $ i: @. u" ^6 P+ u3 s1 y! j

  1884. 3 `% k( F. B/ F' D( U
  1885. [ldap]* W7 _8 ]9 _$ ]6 v' ^& D
  1886. ; Sets the maximum number of open links or -1 for unlimited.: K- Q$ m% {/ }
  1887. ldap.max_links = -1
    7 D$ g" e1 `( X' ^

  1888. $ U  f2 b7 d) q) _/ c. `
  1889. [mcrypt]" S( F* d# o( P
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open( k4 x1 c0 y% q) o  _- L* U4 n: F

  1891. 3 o3 Q7 L/ s4 C/ s% i4 i
  1892. ; Directory where to load mcrypt algorithms5 @: M9 c. a- F( _
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    & b: O4 c& t! Y/ \0 ]7 d8 @
  1894. ;mcrypt.algorithms_dir=
    % y) m0 V8 P% K7 P, {3 W3 b$ J
  1895. # b7 ^1 p. B) e  _& y3 @
  1896. ; Directory where to load mcrypt modes
    - W" B' `' X& p' @8 y( D! \9 }
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 {! D/ F( W1 a
  1898. ;mcrypt.modes_dir=. c5 d2 b6 E0 ~0 J

  1899. ; q, \  o$ _3 i! Q5 P% x8 N5 p' G3 k
  1900. [dba]
    : T% Z) ~) Z* R
  1901. ;dba.default_handler=6 P( g9 w9 J9 h, @
  1902. ( c+ Z$ x1 ?. a0 j/ t% X
  1903. [opcache]
    ; q/ d! v. |( \
  1904. ; Determines if Zend OPCache is enabled
    9 o* r' |+ y3 j9 G  p! _
  1905. ;opcache.enable=0
    9 L7 p9 H9 Z  [
  1906. & L6 s1 l  v, c1 Y6 D
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP% _) h0 u# @: R, z
  1908. ;opcache.enable_cli=0- g2 a5 g4 U6 e

  1909. : v2 e2 m, A6 x/ b7 ~7 w6 y
  1910. ; The OPcache shared memory storage size.
    ) c* y; H4 n4 s* B' k) X% h1 h7 h
  1911. ;opcache.memory_consumption=64
    ( {5 }: c5 m" |8 L9 }' ^: H) r2 f+ i

  1912. / s- w- z# M1 E' ^9 N$ M& m
  1913. ; The amount of memory for interned strings in Mbytes.
    , P! T# {8 t$ Q; y# E/ W
  1914. ;opcache.interned_strings_buffer=4
    * t- r  H  o7 A3 v2 y7 i( V# ^8 v
  1915. . H" F4 V5 G0 G" W$ j9 _
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    6 L, |: V# N+ w% x5 s
  1917. ; Only numbers between 200 and 100000 are allowed.4 \# o+ s9 f4 A! s3 i" D
  1918. ;opcache.max_accelerated_files=2000- x2 `6 U5 k8 w

  1919. " `- |, w2 t$ \  i, q
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    3 z: H& d/ E0 C3 L4 g# P7 E
  1921. ;opcache.max_wasted_percentage=55 _  i# A1 x8 h

  1922. 6 H3 X3 R! [2 D
  1923. ; When this directive is enabled, the OPcache appends the current working
    , f6 R' K0 [' o) h7 L
  1924. ; directory to the script key, thus eliminating possible collisions between7 R+ A4 w  }* N# l0 ~3 s
  1925. ; files with the same name (basename). Disabling the directive improves* d' Y; ]9 k$ A) |1 {) {
  1926. ; performance, but may break existing applications.
    8 P+ B* O2 c+ T+ ^( n7 f) r% P$ u2 v
  1927. ;opcache.use_cwd=1
    ) Y# U* m" Z$ F" C0 @3 s% J( d

  1928. 7 f  `% |$ Q- z+ Z$ |$ R* l' X( ?
  1929. ; When disabled, you must reset the OPcache manually or restart the; z- B4 R/ p4 u( \5 B1 ^3 S
  1930. ; webserver for changes to the filesystem to take effect.
    & L' r+ q) T2 y0 @  E7 I
  1931. ;opcache.validate_timestamps=1
    9 @1 D/ p+ S  K
  1932.   R2 m9 o3 H2 L+ b0 ?, p' L9 l
  1933. ; How often (in seconds) to check file timestamps for changes to the shared$ P4 Q& q3 u* L" j& L
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    ' s$ w$ G1 X5 N. Q/ j% k
  1935. ; once per request. "0" means always validate)/ r4 O, w: u0 T; W0 e
  1936. ;opcache.revalidate_freq=2
    6 k/ }$ l$ B5 N5 `
  1937. 0 H9 p# @  d4 |( [, E7 J4 ^7 a
  1938. ; Enables or disables file search in include_path optimization6 a' W$ r) f& k  ?' {
  1939. ;opcache.revalidate_path=0
    7 V- o% z8 _3 n- \' ]

  1940. ( N) W9 }6 W- E# J8 C2 x+ Y% a
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    9 c1 W  T5 C7 Y8 p- q
  1942. ; size of the optimized code.
    / K9 i; P' U4 m# G( t% S; P
  1943. ;opcache.save_comments=1
    ; R. y- S8 f: [4 g+ Y- L5 e

  1944. % B' {( [, P  R
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    # I1 s9 U4 f3 g: b$ V* V, ~' V6 m
  1946. ; may be always stored (save_comments=1), but not loaded by applications+ M- j2 B* m0 Z" U; j3 V) u; Y
  1947. ; that don't need them anyway.
    2 c- ^, ?, U! ?3 C9 O& _
  1948. ;opcache.load_comments=1& i. Y7 s7 S& ~' b4 s+ x
  1949. 4 D# ]0 n7 F6 |, b
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code# v* l  g( [2 D# Z' x( f8 [! }& R
  1951. ;opcache.fast_shutdown=0
    - x' ?. b* \5 C* w4 b4 o+ X8 c
  1952. , n; |* o0 |2 o" E, \9 x/ O  ]
  1953. ; Allow file existence override (file_exists, etc.) performance feature.* w$ {2 ?& c6 W0 [
  1954. ;opcache.enable_file_override=0
    $ C# \8 m! u9 D3 l% g
  1955. + @! b' Q6 m' V+ C! e; @- ?
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    : g6 O9 g7 ^" A% v' @
  1957. ; passes
    # v5 l/ I  H) W% @! A" q
  1958. ;opcache.optimization_level=0xffffffff
    3 n# t: \& H& f3 q' Q9 [
  1959. & |- k; t. \" V$ \( ~# k- t
  1960. ;opcache.inherited_hack=1, g7 c9 d) H' D5 \  j/ t9 g( q
  1961. ;opcache.dups_fix=00 }' R! N3 l. z4 M1 D
  1962. + E5 E( a8 _! ^# `6 `9 K
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    2 e& A% `, i( a
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    . z7 v7 }1 W& x( b( b% I, P
  1965. ; that should not be accelerated. The file format is to add each filename
    2 u8 T/ K+ u& ~# o
  1966. ; to a new line. The filename may be a full path or just a file prefix. U( s' W4 x; {; Y, T
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www  b  ]9 g( w0 _9 \/ g' }( Q7 S
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    2 p0 x: c! e+ T
  1969. ;opcache.blacklist_filename=
    ) `. j1 L( M( F  e: E
  1970. 5 A1 h  d" O3 o. u  B" b" y: c% z. {2 L
  1971. ; Allows exclusion of large files from being cached. By default all files1 m+ S2 v2 p& q- w
  1972. ; are cached., k) I1 @' `6 n- _' I
  1973. ;opcache.max_file_size=0
    ! U: z/ V/ G7 n1 E) W: o5 q
  1974. 2 }% r( q2 Y9 o1 M0 u
  1975. ; Check the cache checksum each N requests.
    1 [% O4 s( Z) W9 w; d
  1976. ; The default value of "0" means that the checks are disabled." }: W$ }$ c' _8 O
  1977. ;opcache.consistency_checks=0
    % E( r6 j) s4 ~" k6 M. E" L

  1978. / M; |. p0 M" [: X+ |* Y- O
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    0 t- k3 z, I2 ]
  1980. ; is not being accessed.7 C7 J" _8 w, \; {$ j& O( l
  1981. ;opcache.force_restart_timeout=180- i' h6 y5 ?. Z0 e" F; s

  1982. 1 }$ H6 w  o4 ?9 ]3 H
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    2 I2 g1 c% _0 w2 X  @+ G
  1984. ;opcache.error_log=
      H& w& e4 z' w+ l
  1985. 8 D5 ~  ]; w* D! v. t
  1986. ; All OPcache errors go to the Web server log.
    + O% d9 }$ J" X! {
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.! T5 b+ N2 w/ c
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    3 Y. v0 P, S9 v0 A. f
  1989. ; debug messages (level 4).
    / B" }+ K. @* L1 ]/ `
  1990. ;opcache.log_verbosity_level=1
    5 ?/ t. W% t! a! a2 r
  1991. 1 g/ W1 V% D" N- Y( o  v% U
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    2 v0 {  D& B5 E6 R2 Z4 R
  1993. ;opcache.preferred_memory_model=
    ! b: k, ^/ s; p6 ~5 F

  1994. * ^& ]/ q* m" g3 q( u4 x
  1995. ; Protect the shared memory from unexpected writing during script execution.  r  E, _, N' c' V7 B  _
  1996. ; Useful for internal debugging only.1 w3 y8 c5 _7 o. K7 ^
  1997. ;opcache.protect_memory=09 T, y. w9 j2 @& r& }: _0 f& R

  1998. ; q, n6 i/ U6 W5 e
  1999. ; Validate cached file permissions.
      u2 L) b/ A0 v6 y  \; Y" Y
  2000. ; opcache.validate_permission=01 F7 I2 U5 ^  Q9 g: t7 M# X! k# ?! t

  2001. 7 Z0 u3 `% v# m' y! k5 ~/ F
  2002. ; Prevent name collisions in chroot'ed environment.) Q5 g/ [5 t9 A' F
  2003. ; opcache.validate_root=0" r( Z* u: P' f  u4 b
  2004. ' O$ [! ^- e) Q+ L
  2005. [curl]
    / [. \* ]( {. P3 w. Y5 k) h
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    % S" _' b. K5 m* x) o2 j1 R* J
  2007. ; absolute path.  `- ]' S: Z; E* ]) Q
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    1 S5 u1 T, {) `* m3 ]$ H+ Z
  2009. * L/ S5 {, O7 v6 E3 R8 X6 H8 p
  2010. [openssl]
    & \, V: [  ?# k8 H& @
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem. v, |6 T" \2 u, P* T
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
      X0 p7 V; `" @3 g. u. n* k- z3 k: M
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ; Z& k+ `% P+ R& N' }: l
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ! D& U8 b* |- G' K) t+ W  z/ k
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    3 W$ Q  Y- e  ]# c5 F1 M& }
  2016. ; option.
    ) _0 p, ^5 _, K6 J5 k% M# p
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt7 K- v. M7 B0 y" s$ o6 Y
  2018. & Y, N3 P# P- K8 x) O% R
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    : K- l% l9 o$ j6 Y/ H
  2020. ; directory pointed to by openssl.capath is searched for a suitable* n& _- C. _. q* u
  2021. ; certificate. This value must be a correctly hashed certificate directory.' L) f7 S  u8 E( b4 u; [
  2022. ; Most users should not specify a value for this directive as PHP will* d" H3 h6 V5 G& O6 M3 |4 o% j
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    $ E1 B$ d3 f) R, W5 W. k8 V( c
  2024. ; this value may still be overridden on a per-stream basis via the "capath"- T' X; K. E- \9 g# K
  2025. ; SSL stream context option.1 H1 `1 ?; f- d( O* Z; e4 y: |
  2026. ;openssl.capath=/ J( T2 W+ N! G$ J. t1 A  ]4 @
  2027.   S( `. k% g0 b) p. T
  2028. ; Local Variables:+ K+ p# b( F" [1 S" V
  2029. ; tab-width: 4
    . X7 `: q6 p  L* C$ N3 l% Y
  2030. ; End:
    / n$ h/ J+ Z- K# f1 Z3 y) L

  2031. ' ^' l2 _9 _* k5 D# U
  2032. ;eaccelerator
    & W% B* W5 u1 D$ m9 X7 C- w( ~
  2033. , ~2 H/ p6 _0 J* F1 r; |" Q
  2034. ;ionCube) A4 A" ]6 q  p( W; t2 I% l

  2035. ' k% s# a# O/ R: I
  2036. ;opcache- |6 y6 R0 I8 q" T% e. I' P
  2037. ! x$ j' ?/ k* X  D  Y1 k! ~
  2038. [Zend ZendGuard Loader]2 n( ]$ l( u; x5 F5 Y4 Y
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so1 T/ k1 |7 R: ^
  2040. zend_loader.enable=1
    % G) E+ S) H6 B! v4 g- M
  2041. zend_loader.disable_licensing=09 z. C. l0 z1 r% J  J, N
  2042. zend_loader.obfuscation_level_support=3$ N& J) A: o8 i  \8 ]
  2043. zend_loader.license_path=! x" `7 U2 K1 C) `# P+ P+ K9 k
  2044. 7 M0 O" ~  n' ^+ ]# O  u
  2045. ;xcache
    : p3 y* X2 S$ [$ r. }

  2046. - E8 K5 E9 l! K  C
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
% z% D9 I& c' v$ |3 b6 q6 B) U' Y

. q6 K, Q* F+ F$ p3 E. R2 ^6 h" iDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
6 j7 d/ s2 E* Q
; K4 d* ~' [! L. g& j2 g* C5 qDiscuz!程序版本选择:9 w0 [& O; N' B4 H4 [3 X
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,# r% V" _% D* ]3 v3 S
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
$ R1 U+ K: x- `' bDiscuz!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。
4 g+ K" w' B( x7 G6 B
) s2 Q& I! d* Z# J0 r0 u5 b: ]Discuz!插件模板版本选择:9 O& }4 I7 Q: C/ F$ |
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
: J9 S: U6 G! k$ Z针对这个问题做个统一的普及:" w" p8 q* `! Z5 _: v+ y% V
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
) E3 e( U3 ^3 u9 L, G
: s0 |+ J# A- s. |4 |所以
6 K  h, ]( B: ?6 _适合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的二级域名。
* m2 X. S  ~4 K  S' G" k% I% n打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
7 l# ]- ^1 m, l+ F% c& f0 D注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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