分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
' W8 t! ^: j, @9 }! Y1 Q0 ~# y1 n8 P6 {6 m" e* Z
  1. [PHP]
    1 V$ ^( m! ?0 K( |) t

  2. * |3 Y: F! O8 o4 \5 z  v( E
  3. ;;;;;;;;;;;;;;;;;;;9 {3 O/ ]/ j, N2 ?
  4. ; About php.ini   ;
      M7 P5 q$ Q1 v( }; k- P& p; o
  5. ;;;;;;;;;;;;;;;;;;;- A( G. P( ~) Z- D- l6 e
  6. ; PHP's initialization file, generally called php.ini, is responsible for, F; F" ~' O+ `+ {9 ^- m
  7. ; configuring many of the aspects of PHP's behavior.4 L8 I: h: {6 T  r4 J1 E8 @; M
  8. , q/ \" H! A# d0 b( y, S
  9. ; PHP attempts to find and load this configuration from a number of locations.0 F  n7 A- q9 x. D* C: R) s, {2 _
  10. ; The following is a summary of its search order:. [* g) O! i* u. H+ @9 l8 o8 J% j& A
  11. ; 1. SAPI module specific location.
    6 U3 I4 I; t( }0 E. C
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    9 E" R) R: G0 u1 W4 F: |
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)& a% q5 [; y/ q3 M: C
  14. ; 4. Current working directory (except CLI)) P6 G: `% E0 y
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP* ~% x- r# O/ u0 h
  16. ; (otherwise in Windows)* N* T7 B0 o( T  V/ v
  17. ; 6. The directory from the --with-config-file-path compile time option, or the0 F0 j& j" T- ?- N* P0 m, o
  18. ; Windows directory (C:\windows or C:\winnt)
    5 a, H8 w! V% U9 k& S! z1 L/ `# ^
  19. ; See the PHP docs for more specific information.
    % {+ B9 a/ n6 l" v  a: Y
  20. ; http://php.net/configuration.file) a& ?& x& I1 S/ \) c9 m2 r% x' e
  21. * O, B0 h8 _9 e- j, a4 E
  22. ; The syntax of the file is extremely simple.  Whitespace and lines' _7 E: m' U3 N# g
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    + E' v% i; {, _( t: t' \
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    8 C1 R& Z% V" ~! t' S
  25. ; they might mean something in the future.
    & M: }+ n& n  A( r3 m7 `

  26. * N3 ?) k  ~) H  {  c
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ! i- D" o1 g8 }& y
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    6 z  J9 O( f: x6 E
  29. ; following the section heading [HOST=www.example.com] only apply to
    - K; f3 v3 \6 v3 u
  30. ; PHP files served from www.example.com.  Directives set in these
      e4 f' y0 P, x( a2 p
  31. ; special sections cannot be overridden by user-defined INI files or
    . N; l' F) p7 v+ w1 t' ]) t* Q
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    4 P- t/ h/ J, y& q# q
  33. ; CGI/FastCGI.
    2 Y# S" P: I7 V, I3 Z5 Z2 M
  34. ; http://php.net/ini.sections! j# o# D' E0 V' b% {) |
  35. . C6 i  X) \1 K  V8 I+ V
  36. ; Directives are specified using the following syntax:
    8 B/ d! S6 z8 X$ Z
  37. ; directive = value
    # h& E+ x+ T; j& H: z
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.; U# ?! m+ N( `7 Q8 o/ F
  39. ; Directives are variables used to configure PHP or PHP extensions.
    8 D) `/ r$ x: w8 \
  40. ; There is no name validation.  If PHP can't find an expected
    - ^9 C  V6 k% G- n! h, ~9 Y
  41. ; directive because it is not set or is mistyped, a default value will be used.% l, O, x/ d. @4 O* S9 s

  42. ' y2 f. |8 l3 ~; c/ V( u/ Y# b+ u
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one- g, ?% L8 j! I. ]( K5 g
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    0 m7 g$ k6 B: T5 f: Y# d1 }
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a9 c, [0 S: y2 D
  46. ; previously set variable or directive (e.g. ${foo})
    4 T/ g5 t9 _' h8 F

  47. " ?( u" T( F$ W* N. u! E
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:5 f$ b- ?8 X! G2 ]# Z4 \, _
  49. ; |  bitwise OR
    1 ^  h5 A7 O" ^& L1 `' k# W' U5 F
  50. ; ^  bitwise XOR
    , G! K  i0 U; \! D% j. X% L
  51. ; &  bitwise AND
    - i. E( V& Z" p
  52. ; ~  bitwise NOT
    / Z5 s/ ^0 n& g( j
  53. ; !  boolean NOT
    " ^! a% E' X% ~: [$ G% x- v8 L) }

  54. 9 d& g- P. j- J! i
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    % y7 {" z. q5 b, n9 a
  56. ; They can be turned off using the values 0, Off, False or No./ J" C4 Q& M4 X- q& U, ~
  57. 8 r. E/ H9 B& M/ P- @: w
  58. ; An empty string can be denoted by simply not writing anything after the equal" ^8 R) |% n- j5 {# [
  59. ; sign, or by using the None keyword:
    9 G( S1 b8 b) P: C) x
  60. # S6 C* D5 \- j2 i9 w
  61. ;  foo =         ; sets foo to an empty string0 l* g2 c7 l1 |
  62. ;  foo = None    ; sets foo to an empty string8 q0 v0 O9 C* }4 `
  63. ;  foo = "None"  ; sets foo to the string 'None'
    * a! q5 p- E  d  g8 [5 ~9 w2 M" ^

  64. ; O8 _7 h# C. ], j# V
  65. ; If you use constants in your value, and these constants belong to a
    ' e' }$ }, c2 p+ g: m$ f$ X
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),, V9 T5 l/ S6 p
  67. ; you may only use these constants *after* the line that loads the extension.
    $ G! f2 k4 r% m3 H
  68. ; Q# p' z! U* h% b$ t
  69. ;;;;;;;;;;;;;;;;;;;
    5 U% g/ i- e' q& h" u1 ?
  70. ; About this file ;
    8 B' Y3 b# u' f& q$ ]
  71. ;;;;;;;;;;;;;;;;;;;
    " n+ c7 f. z. h3 S* c8 g
  72. ; PHP comes packaged with two INI files. One that is recommended to be used! G# Z0 ~+ R2 @' C6 h
  73. ; in production environments and one that is recommended to be used in
    1 a9 Y0 p- v& V. G) g; \$ b- h
  74. ; development environments.
    ' R8 I, M8 m$ F. w& Z. t5 `
  75. " G1 _! k6 J7 P2 }7 l7 C
  76. ; php.ini-production contains settings which hold security, performance and3 q+ ~! F# b% P8 N
  77. ; best practices at its core. But please be aware, these settings may break
    % v" u4 ~' G: k. l; |& |7 H( x
  78. ; compatibility with older or less security conscience applications. We
    $ }2 A8 M8 g- i
  79. ; recommending using the production ini in production and testing environments." {, W; q+ O# w4 x

  80. ) |8 V, I* p1 {8 [- P& D% v0 I5 M9 ^" y
  81. ; php.ini-development is very similar to its production variant, except it is7 w- X4 I. J  w9 p# T% T$ x  N
  82. ; much more verbose when it comes to errors. We recommend using the5 K8 u( r  p: J" l) q% F3 j( @
  83. ; development version only in development environments, as errors shown to# o  D$ q8 [+ {7 I% J0 Z' J
  84. ; application users can inadvertently leak otherwise secure information.
    ! R/ M5 d# p+ `1 |

  85. + [# I- F8 I1 r
  86. ; This is php.ini-production INI file.
    9 `$ B. g+ m& ]# l# y
  87. 8 ^0 l) Z$ V0 U0 i% R. S
  88. ;;;;;;;;;;;;;;;;;;;# k5 }2 }+ G( S) S" [9 v
  89. ; Quick Reference ;, y! e# s( E( i
  90. ;;;;;;;;;;;;;;;;;;;
    4 L3 m6 s7 h& k7 z3 x
  91. ; The following are all the settings which are different in either the production0 }) O- s% |0 X+ t" ]6 R
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    % w% h* a  o* W1 m. D+ }
  93. ; Please see the actual settings later in the document for more details as to why3 V' s% p2 p2 }+ o2 w6 k
  94. ; we recommend these changes in PHP's behavior.0 q' P1 o5 F0 d. C5 _' O
  95. ( o- s, t, V( c9 f
  96. ; display_errors
    / F' ~6 e) U- Y+ i' A
  97. ;   Default Value: On" r' \. S3 q# J8 @1 Z$ R  |
  98. ;   Development Value: On
    + H2 F! v) T  b: \/ O: ]
  99. ;   Production Value: Off
    ! B) `- {, I' \  X2 T

  100. & `3 c0 L- Q  J7 }* A# o
  101. ; display_startup_errors, I, v! f7 m& y1 W6 A% E$ R
  102. ;   Default Value: Off
    6 m+ o; J- \2 V: ~& d+ N* E* Y( P
  103. ;   Development Value: On
    1 @2 r. E( j9 D+ B% U0 K0 g. |
  104. ;   Production Value: Off
    / j% z# F8 J+ k
  105. ; f4 z* S: C$ G* w1 v
  106. ; error_reporting3 [  m: D8 b# m1 l
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    : z' F4 f5 M. k4 [' `
  108. ;   Development Value: E_ALL
    . @% e" L2 C9 U0 P  @, |2 b2 @" b
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT* E: e3 F+ h( j0 R1 H) Q3 X. n

  110. 8 ]0 l; n' j: I) `2 a
  111. ; html_errors
    7 L8 {' {# C1 R) l& M. Q+ L! r
  112. ;   Default Value: On' w" H! ], X/ }0 K- z0 e5 q4 l
  113. ;   Development Value: On7 k' q5 F" ?+ f
  114. ;   Production value: On! M; I# M9 a9 X; h: |

  115. 9 }, Y% j  |) H6 |" Z
  116. ; log_errors! Q! M0 y" y' F
  117. ;   Default Value: Off
    & k& W0 c0 s/ f
  118. ;   Development Value: On6 x% n+ C- J* o
  119. ;   Production Value: On
    ; Z' L( _! D- T. p) d

  120. 2 h* L' V! t! K: i1 {3 z' k
  121. ; max_input_time! t3 x4 ]1 i) G
  122. ;   Default Value: -1 (Unlimited)1 q/ L0 F; @0 l: y$ A- @
  123. ;   Development Value: 60 (60 seconds)$ b6 D! C, S6 \6 F6 R, q
  124. ;   Production Value: 60 (60 seconds)3 X" B6 {& ?( C* M2 H2 \

  125. ' U1 x, m1 F, x9 r
  126. ; output_buffering& X& o  ]# r5 e* S& r0 L
  127. ;   Default Value: Off
    8 k) z5 {. I6 `! o
  128. ;   Development Value: 4096  P$ @7 p9 s5 @2 W7 f' l, K9 V0 }+ ~
  129. ;   Production Value: 4096
    6 G1 h+ k8 o- [  b; R
  130. . |, y1 N; c  }7 l
  131. ; register_argc_argv9 |6 C4 S  I9 b1 @1 c5 N7 K# ~
  132. ;   Default Value: On, o7 N0 z" H2 D# S( d: y# G
  133. ;   Development Value: Off
    " Y2 |/ K, U" e  K9 Q
  134. ;   Production Value: Off" T1 C6 b9 E) b2 U
  135. 8 [7 @0 G0 f6 n
  136. ; request_order
    3 G( t- f  H7 l1 N& a) F
  137. ;   Default Value: None
    * ~+ T: x: F7 Z( C
  138. ;   Development Value: "GP"
    + y! ?6 d; v2 e9 x( M4 `
  139. ;   Production Value: "GP") F1 P, ?& _2 ]0 x$ O' g
  140. 8 K) P3 b8 _  b# F
  141. ; session.gc_divisor; G- ?/ @0 ]4 G
  142. ;   Default Value: 1001 J! j0 M# S5 [  c$ D
  143. ;   Development Value: 1000; z) [9 S* V8 z; U& g- J7 X$ S0 q! A
  144. ;   Production Value: 1000
    / B/ ?, d7 s: i5 Z: C

  145. * n6 L* [0 i4 ~3 B3 ^7 G$ a' `( B
  146. ; session.hash_bits_per_character) Y- d- G9 U9 p$ i9 c) c# K
  147. ;   Default Value: 4. Y5 v0 D6 c% x
  148. ;   Development Value: 55 {: U) D8 P, g
  149. ;   Production Value: 5
    & z, Z# c7 j; V4 {& H  M8 l8 R8 N8 X% o
  150. * T3 O4 U' o9 e" a1 k( h: y
  151. ; short_open_tag& `* H& y4 E6 h  w1 ]  ~: b" p
  152. ;   Default Value: On  Y2 k& \* Z( Y" ~: z0 l
  153. ;   Development Value: Off' m' Z) Q; b9 D& {( s6 h" s* x
  154. ;   Production Value: Off
    5 s1 V# c( e" g+ A  \. K9 l' G+ m
  155. 9 A  _; ~( A9 u2 E6 @1 x
  156. ; track_errors
    , D" s+ a& z5 N5 {4 B
  157. ;   Default Value: Off! }5 u4 N( O% m  Z4 t
  158. ;   Development Value: On
    . h, T8 Q7 t% A0 ~: }
  159. ;   Production Value: Off$ m/ N* Z% |/ c: P2 C

  160. ' q* f, B$ ^0 K) w6 y5 M) g
  161. ; url_rewriter.tags
    8 O3 R2 c  O1 W& E0 C  y
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    & H7 x; X0 c, ^8 U
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 J: P, D5 F# R8 \
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ ?+ a, M7 c9 |/ c: B

  165. 6 ~. t! M; M$ |& p9 T( e
  166. ; variables_order
    3 {, d0 O1 e+ K3 O  t( I
  167. ;   Default Value: "EGPCS"5 {2 z- {! |0 A2 ?+ e/ s* p
  168. ;   Development Value: "GPCS"
    0 G9 k1 h# S3 z  R" C
  169. ;   Production Value: "GPCS"
    4 ]5 U; p1 I- {# z

  170. ) ^; Z' q+ ]. i. f8 K& U2 x5 V
  171. ;;;;;;;;;;;;;;;;;;;;/ m* @2 W  d$ J) a
  172. ; php.ini Options  ;6 V: {+ R& }5 ~- F8 }2 _
  173. ;;;;;;;;;;;;;;;;;;;;
    3 |9 g- w' ^  Y* y( f
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    $ N. T- Q9 l7 o2 G
  175. ;user_ini.filename = ".user.ini"
    + m$ v. l+ z% i" p# R! Q6 m" s

  176. ( ]5 e! A) W, ~
  177. ; To disable this feature set this option to empty value
    9 H; `$ V" L: x1 D& R+ y, ~
  178. ;user_ini.filename =4 w7 l  |) d6 M& D! V

  179. ! c+ T. D* {7 a- e
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)  p/ |% R$ E) H& Y' l5 p
  181. ;user_ini.cache_ttl = 300
    ! E! `& F$ T5 q5 ^: U, a

  182. # ~" k% T/ C2 W1 `4 W( O" I. R
  183. ;;;;;;;;;;;;;;;;;;;;& U1 Y. W( N( \7 [
  184. ; Language Options ;+ z2 G* E# o3 `! x0 B7 B8 {* N
  185. ;;;;;;;;;;;;;;;;;;;;
    5 h9 D0 m0 _- \9 {

  186. ! n; l/ L6 U: y: Q% ^6 z: f1 x
  187. ; Enable the PHP scripting language engine under Apache.
    1 O5 ~" m/ G/ o! H# F; P. l5 F
  188. ; http://php.net/engine
    $ o/ Y$ r# u( p, s/ ?* W5 ^2 y
  189. engine = On1 H% i1 O: ?9 a. e
  190. 0 d+ a! y+ _: @# k
  191. ; This directive determines whether or not PHP will recognize code between
    # J/ A$ W0 p5 I! c/ B7 N
  192. ; <? and ?> tags as PHP source which should be processed as such. It is2 l" _" U7 a* a6 x, o- J
  193. ; generally recommended that <?php and ?> should be used and that this feature
    4 x- X6 e$ {3 F' c6 H4 s
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ! C' O4 O; l" Z/ X
  195. ; documents, however this remains supported for backward compatibility reasons.
    . w# H0 f1 J0 Z7 y" `# p
  196. ; Note that this directive does not control the <?= shorthand tag, which can be$ }( ~/ Q+ [; b/ d, q/ ]
  197. ; used regardless of this directive.7 y1 f! U2 ]/ S8 U! I
  198. ; Default Value: On# x1 p# ~2 ?! W/ T/ Y& S
  199. ; Development Value: Off
    9 |! a# M" o6 c
  200. ; Production Value: Off9 ~0 h9 H: Q) \3 M; D4 w6 @5 T
  201. ; http://php.net/short-open-tag- B1 |  ^0 ?; d
  202. short_open_tag = On/ W5 o( R/ W3 L

  203. / X2 x9 x) T, T+ V
  204. ; The number of significant digits displayed in floating point numbers.
    0 E$ k. W1 w! b' t0 I- q
  205. ; http://php.net/precision) \- n  L/ [- d$ T. E) p9 K
  206. precision = 14
    & s( O7 ?* W6 T- |4 O  d! R0 G

  207. ( A7 x6 U" p" q: ?# S/ l9 o
  208. ; Output buffering is a mechanism for controlling how much output data
      L4 n/ j$ u# f6 s, N$ x
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that& s  Z) k1 r0 e. _) k
  210. ; data to the client. If your application's output exceeds this setting, PHP
    7 v1 G7 {$ `" r# h6 {' e$ Q' m
  211. ; will send that data in chunks of roughly the size you specify.0 A0 S, }6 d* O5 s. L- G/ o
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    / |4 s) t: [  y3 V
  213. ; interesting side-effects depending on your application and web server.* y9 j( B# J4 t/ O
  214. ; You may be able to send headers and cookies after you've already sent output
    5 C4 D' F. Q4 E# e3 M& s& v/ Q5 }
  215. ; through print or echo. You also may see performance benefits if your server is
    & B2 b/ _" W5 k  |! u" X( Q2 R
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    / v, H2 c; s: A
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    9 f1 k- W7 e# U  C9 H: E$ R
  218. ; reasons.6 H: E5 V, ?- p% j
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    8 U7 u/ {0 J$ J: z: h
  220. ;   functions.5 _9 j' o0 w9 c3 D6 {1 i
  221. ; Possible Values:
    ) S$ @# \4 @- w# P$ p; L+ ^; p. u
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)9 S1 G4 o1 v* p$ i" M0 X/ x
  223. ;   Off = Disabled
    2 v5 E8 f# L: d  M4 H2 f
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.: i$ l" ~3 i! @- T* u
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    7 ]& t+ c! ?) p0 B2 X
  226. ; Default Value: Off
    , j6 }: y* [7 h9 G& q% `+ u
  227. ; Development Value: 4096
      \* |2 W8 S; q" @/ U
  228. ; Production Value: 4096( G/ H4 b3 `7 C
  229. ; http://php.net/output-buffering2 G4 p* e5 S2 k6 k
  230. output_buffering = 4096
    + l  o, v1 Y/ B
  231. 7 P( f* {) T+ }  w4 A
  232. ; You can redirect all of the output of your scripts to a function.  For
    ) S5 Z2 a( I! ^6 ^& U. }% B) t$ u
  233. ; example, if you set output_handler to "mb_output_handler", character' z  E3 U4 ?2 V- O, a/ F" e( B
  234. ; encoding will be transparently converted to the specified encoding.4 c" S2 f, K6 U+ i, r
  235. ; Setting any output handler automatically turns on output buffering.  k1 v& r+ ]. U# |" Z0 v$ e8 \
  236. ; Note: People who wrote portable scripts should not depend on this ini; J) s+ U" ~7 o8 Y
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    " w7 F  j# \. B9 I; V6 a
  238. ;   Using this ini directive may cause problems unless you know what script
    8 Y" I7 R$ t& k. u$ q7 `' I
  239. ;   is doing.2 F4 l: u, k( J
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    + \, u3 X7 v  V0 v
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    3 E7 e2 A% _5 R$ L8 K# C# V
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    7 n6 w' q( |! V
  243. ;   Instead you must use zlib.output_handler.
    ; r, i, R) I; s1 R  y9 ^4 |
  244. ; http://php.net/output-handler$ ~* @, P* R0 _. V) i+ E
  245. ;output_handler =# s) w9 _3 y& x$ }5 |( Z
  246. - _' t- P5 p/ C3 j
  247. ; Transparent output compression using the zlib library' ~9 h  Z( p) v' s+ L. q9 C
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    % F! L- R- d- ]% h9 C3 i1 v
  249. ; to be used for compression (default is 4KB)
    2 P$ X. E+ i6 j
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    : i: |5 o! g0 m0 a
  251. ;   outputs chunks that are few hundreds bytes each as a result of9 u6 {5 ]! J) l4 g$ U9 M
  252. ;   compression. If you prefer a larger chunk size for better) w1 E- h" H0 ]7 @0 h
  253. ;   performance, enable output_buffering in addition.1 I0 u2 I  d! d
  254. ; Note: You need to use zlib.output_handler instead of the standard7 v2 |5 C7 K+ j# Y7 J( y
  255. ;   output_handler, or otherwise the output will be corrupted., h: j; F" }. a1 }- ?- c
  256. ; http://php.net/zlib.output-compression
    - D0 l; J4 p3 o$ H
  257. zlib.output_compression = Off
    1 R/ f( I: E4 l+ E, @' e$ T
  258. 5 ~9 b& z8 s. p% i) j
  259. ; http://php.net/zlib.output-compression-level
    1 x; h0 t& h; t8 N
  260. ;zlib.output_compression_level = -1
    ( q1 A3 Y% K/ w) m2 g" k
  261. . u- v/ Q8 w* Z/ M; w9 ^# n
  262. ; You cannot specify additional output handlers if zlib.output_compression3 Z; r4 G& E: ]
  263. ; is activated here. This setting does the same as output_handler but in, e  s, y6 R5 a# F3 T
  264. ; a different order.7 C8 @* w3 e# z
  265. ; http://php.net/zlib.output-handler
    3 x) o/ M1 G( G% n& |
  266. ;zlib.output_handler =* A2 m" s( O" c/ |# y9 q

  267. 8 E! y' f" A% n; Q, w" A  e: N6 H
  268. ; Implicit flush tells PHP to tell the output layer to flush itself. b% o0 K5 s, U6 m" r
  269. ; automatically after every output block.  This is equivalent to calling the$ e! R0 a! i2 |; B+ w1 t. `! r
  270. ; PHP function flush() after each and every call to print() or echo() and each
    3 a9 {" t& ^3 e1 f4 X
  271. ; and every HTML block.  Turning this option on has serious performance
    & ^) F6 a/ a- p4 C
  272. ; implications and is generally recommended for debugging purposes only.
    % H# J% G$ ~- u; r' @& W
  273. ; http://php.net/implicit-flush; `  `; o5 M7 w6 Z, w
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    $ }' t0 R! z, P/ m4 y& u# \
  275. implicit_flush = Off; a, S% [' ?, g

  276. 6 K  e( `* r7 f! B( O# Q7 V; T
  277. ; The unserialize callback function will be called (with the undefined class'3 J: Y7 Q5 _1 {) O( ]4 z4 ?
  278. ; name as parameter), if the unserializer finds an undefined class. V( A- q, Z4 ^! s
  279. ; which should be instantiated. A warning appears if the specified function is
    7 s& j" n* T0 J" b6 _
  280. ; not defined, or if the function doesn't include/implement the missing class.! b/ n+ @# T- m6 ~$ x# H( u% M
  281. ; So only set this entry, if you really want to implement such a  Z+ ]' y  @7 Q3 u5 @! d: P2 Q
  282. ; callback-function.8 ?# Y1 g; S9 q1 ], g4 h
  283. unserialize_callback_func =
      X0 F  L3 L4 [8 q1 Y. ~

  284. 3 u: y" }: f& U# V- O
  285. ; When floats & doubles are serialized store serialize_precision significant
    1 n: C4 h9 y0 U
  286. ; digits after the floating point. The default value ensures that when floats8 {( E4 f) o3 _) A
  287. ; are decoded with unserialize, the data will remain the same.
    2 r! M: j) i, K  r4 v. A! h
  288. serialize_precision = 17
    . F  Q2 @, v7 s2 x' n
  289. 7 i; Y1 t2 S5 L& H% L! }! v
  290. ; open_basedir, if set, limits all file operations to the defined directory
    / q0 Y+ G& F7 c6 d5 D
  291. ; and below.  This directive makes most sense if used in a per-directory: v1 Z- C( ?% M# D9 l- x9 o* I+ [
  292. ; or per-virtualhost web server configuration file.$ O/ G' Y0 O' W: q0 f! `0 Y
  293. ; http://php.net/open-basedir
    3 @7 X" s8 P  O/ X& [2 M
  294. ;open_basedir =
    " ?5 R4 p. Y. ?# L3 K3 m$ p4 S

  295. / U8 q6 x4 K- Q7 A. j
  296. ; This directive allows you to disable certain functions for security reasons.
    3 o- W9 ]! I4 m$ q' W$ V. m
  297. ; It receives a comma-delimited list of function names.
    # Y: n2 j# w1 [& g' @1 ]
  298. ; http://php.net/disable-functions: L; e' ?; \/ |( y& N: N
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru7 k% j6 D& Q  R7 X, s6 G# l

  300. 3 C# O! J. m6 a/ P3 |
  301. ; This directive allows you to disable certain classes for security reasons.6 h  M/ J2 D! I# U4 }  b
  302. ; It receives a comma-delimited list of class names.
    # R3 y+ N* A5 Z/ f
  303. ; http://php.net/disable-classes
    ! t( O; r& o( V2 x4 o+ _  M
  304. disable_classes =: A$ b5 ?& q! j; W. i: _3 R9 \
  305. 3 E) p5 Y8 ], E. V7 U
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in5 P' \) e" ?7 a9 ~, C2 J9 Z4 V" D
  307. ; <span style="color: ???????"> would work.
      A( V) e' e6 B; W1 V4 N6 c8 x7 C+ Q. y
  308. ; http://php.net/syntax-highlighting. p; h  H# H. ?  |0 l
  309. ;highlight.string  = #DD0000
    4 j- d! e2 ~7 L* |8 T7 b5 E
  310. ;highlight.comment = #FF9900
    " o) m3 ]1 ]/ h( F& }" }- n, v2 l
  311. ;highlight.keyword = #007700
    # s& _  ^3 R3 v' ^
  312. ;highlight.default = #0000BB
    ' _3 P7 J, `  v2 R: X' B2 z
  313. ;highlight.html    = #000000" R: C0 R& v5 l0 i& ~
  314. ! n* P/ ^3 R/ T9 Z
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ! o/ w9 V1 D% _0 K3 N
  316. ; the request. Consider enabling it if executing long requests, which may end up
    & L& |+ l' z; m
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    # G1 ]1 o. ]+ r  t( ]( e
  318. ; is to disable this feature., G; J+ A+ |" O. r% r3 B* d
  319. ; http://php.net/ignore-user-abort3 \; ?- ~9 m  U8 j
  320. ;ignore_user_abort = On
    8 \5 w: l3 h; x+ ]$ c8 w
  321. ' l$ a6 z1 w' h
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    9 h( N$ C' Q0 q1 x* H4 H0 o
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    . R  d# B. M8 j5 }
  324. ; the file operations performed.$ t! [5 H: g% L, X, Z+ ~
  325. ; http://php.net/realpath-cache-size. Q5 _6 v, I4 X/ B
  326. ;realpath_cache_size = 4096k) @" T- o6 {; v3 K

  327. 9 B% N' i- k# H. k& }0 t0 ^
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    # m; J: Q$ Q5 \2 w4 w5 ]
  329. ; file or directory. For systems with rarely changing files, consider increasing this% z* B2 u- d- ^8 _0 ]
  330. ; value.+ y% S: J) r  v
  331. ; http://php.net/realpath-cache-ttl
    ' O2 |+ k, _+ m! l6 k- x
  332. ;realpath_cache_ttl = 120
    * P- K+ J8 b# b* o' W

  333. * z4 D8 L& H* ~" o# R& l: R
  334. ; Enables or disables the circular reference collector.  q6 Q6 a: n* ~) c: t4 m
  335. ; http://php.net/zend.enable-gc. _. K% F/ N: b: m: R
  336. zend.enable_gc = On
    - }( B! o9 z3 v& N& \
  337.   a5 Q9 K5 l- f7 ?2 V
  338. ; If enabled, scripts may be written in encodings that are incompatible with% V$ c6 K0 }* B4 F
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    7 F, ~# n" K, P/ L
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ) e" V  k3 W5 [5 ], N
  341. ; Default: Off
    : b7 b  h3 k: P, r6 C) u9 U
  342. ;zend.multibyte = Off  p  B7 O# G$ |. t) L
  343. # O( S* W, L" q- x6 v" Y
  344. ; Allows to set the default encoding for the scripts.  This value will be used+ w! a  b* }/ S' e2 w9 W9 S. S" Y
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.+ b, n$ l9 R/ r2 Q* r
  346. ; Only affects if zend.multibyte is set.  E. p2 J! I$ o
  347. ; Default: ""! G5 F% i5 c! e! R# V  G
  348. ;zend.script_encoding =
    ; A/ T/ y. q3 D0 I9 G7 m
  349. 4 z+ r7 ]# U8 V
  350. ;;;;;;;;;;;;;;;;;
    % [( o! s3 Y" D' {4 R
  351. ; Miscellaneous ;. b. Q# I& e3 j
  352. ;;;;;;;;;;;;;;;;;) Y8 r1 {3 N* I' I; v

  353. 2 w  X- u/ L4 M3 P
  354. ; Decides whether PHP may expose the fact that it is installed on the server& N+ V9 N/ n: @; f
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    / |5 v% I: W9 x8 W; W
  356. ; threat in any way, but it makes it possible to determine whether you use PHP  {3 [; Z2 P7 z. L: o3 I* m
  357. ; on your server or not.
    / e: W7 ^' t/ o( X- R: T
  358. ; http://php.net/expose-php
    % {$ F/ p& Q" k( H# s* `
  359. expose_php = On
    ; ?! h9 {# [# k: Y: U

  360. * ^3 U7 z- ~. g0 u  W2 V' m
  361. ;;;;;;;;;;;;;;;;;;;0 E5 T9 Y( X8 X" Z( u! o3 w4 c0 H8 m: M
  362. ; Resource Limits ;. h: }" n# G; g  s. Y
  363. ;;;;;;;;;;;;;;;;;;;0 C" _( i1 [: w& S; r4 C

  364. 9 m. K: X; |$ [
  365. ; Maximum execution time of each script, in seconds
    4 n  G9 Z7 P- N# _
  366. ; http://php.net/max-execution-time
    5 a3 g8 o* y6 v
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI% f  F+ B* g/ Z9 h" t9 N; w
  368. max_execution_time = 300
    + Y/ {3 m' {  _* ?
  369. - R7 w3 t' h$ _/ c
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    ; h) \5 [8 M* ]
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly. k; B7 C5 X) d8 t
  372. ; long running scripts.7 v  i$ F, c& e" t8 M$ [
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI; C' I/ Z! q. Y& E! f$ c
  374. ; Default Value: -1 (Unlimited). p9 S8 f- t2 b7 ]
  375. ; Development Value: 60 (60 seconds)! G. E& [2 V: v2 }0 l! R
  376. ; Production Value: 60 (60 seconds)
    ) N4 N; B7 [( u$ v
  377. ; http://php.net/max-input-time
    ' D# l2 u5 N/ e
  378. max_input_time = 60
    , \4 q8 o6 F  b5 b) Y- {4 p

  379. , L: y# e. a0 N: P3 k
  380. ; Maximum input variable nesting level' o2 ^5 a7 u4 B& S& L' L
  381. ; http://php.net/max-input-nesting-level+ w; M1 n. J! A5 v7 [' c
  382. ;max_input_nesting_level = 648 z6 ]( @2 O1 }$ k

  383. & ~# E+ y5 u1 y
  384. ; How many GET/POST/COOKIE input variables may be accepted, n3 b" W- H" J2 Q) i- q8 K
  385. ; max_input_vars = 10003 f0 i& a6 ~4 G/ I

  386. / r! q& h3 G' w% h
  387. ; Maximum amount of memory a script may consume (128MB)
    - w, T" _. W* k
  388. ; http://php.net/memory-limit$ ?0 ]! l4 W  b0 W
  389. memory_limit = 128M
    3 B; V: y3 _1 y6 j6 ~5 m, z4 r9 |
  390. ( U3 m" p* w$ b
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 Z7 u7 n& a3 B2 W7 k- n! ^
  392. ; Error handling and logging ;0 I+ f# z' z& W& U- r9 b* M
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    * l2 V. W, j1 K: J3 m* M' X# o
  394. 2 W$ z; S9 E. a; k& h
  395. ; This directive informs PHP of which errors, warnings and notices you would like) {( n4 N* M; t
  396. ; it to take action for. The recommended way of setting values for this
    " {2 \. G3 l' H
  397. ; directive is through the use of the error level constants and bitwise
    ) C! u3 t7 J! h4 D9 a7 d1 E
  398. ; operators. The error level constants are below here for convenience as well as
    " y8 C9 y( k) n4 L1 X$ g, B! }- ]6 U2 t
  399. ; some common settings and their meanings.! c! J. r/ ?6 N, }$ y
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT( k" ~; y1 H( E& h" w( p4 y
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    % [3 `9 d5 g6 Z/ _* h$ l! X1 h
  402. ; recommended coding standards in PHP. For performance reasons, this is the! e* s) |2 a+ B
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    6 E8 [! P" D/ l; \6 r; N
  404. ; resources complaining about best practices and coding standards. That's what3 N, J. O" u8 {# W" q6 Z% S& B( Y
  405. ; development servers and development settings are for.
    ; B; i. T% U% ]- v8 I, ]" h
  406. ; Note: The php.ini-development file has this setting as E_ALL. This! R+ p' x* _8 ]% \' `
  407. ; means it pretty much reports everything which is exactly what you want during
      N; ]' O% q8 C* ^/ m
  408. ; development and early testing.( b3 p: M( ^2 Z, K. ?
  409. ;1 d% ~' n  C7 M3 k2 \
  410. ; Error Level Constants:
    1 ~9 A0 G+ z. {9 \5 E, Z% \
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    * v8 N/ ?$ K9 A4 G+ Q7 w) y/ O
  412. ; E_ERROR           - fatal run-time errors
    ' r0 w* ?" U( V' M
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    0 Y: l3 e' a$ E9 t- X2 `2 d
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    ) ^. ^3 ]6 W- N
  415. ; E_PARSE           - compile-time parse errors& K3 j( ^/ v: N" T$ a) ~  P
  416. ; E_NOTICE          - run-time notices (these are warnings which often result+ r( F2 @* |+ V+ _
  417. ;                     from a bug in your code, but it's possible that it was
    6 m5 c9 P# E: `7 A* K
  418. ;                     intentional (e.g., using an uninitialized variable and6 J! ]+ P" L  @7 h1 T5 o
  419. ;                     relying on the fact it is automatically initialized to an" a4 s8 ?8 W7 t+ `2 g+ T5 P
  420. ;                     empty string)
    % O) ?( j* g, ~/ p! F3 U9 f
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes/ t; E, ^1 m8 X5 x
  422. ;                     to your code which will ensure the best interoperability: ~4 l2 A/ B7 @% g/ R9 L; z: `7 V
  423. ;                     and forward compatibility of your code
    ! a+ U/ F. z% q6 x6 H* J0 S
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    0 K  r. |; j* w9 y$ u/ J: C, V
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    + {4 u  A5 C- J
  426. ;                     initial startup0 }8 \0 a" l3 I5 T6 k8 l
  427. ; E_COMPILE_ERROR   - fatal compile-time errors  p1 y* D' X6 b, N3 p: {4 i
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)3 m  i0 y! a- |5 ?8 K
  429. ; E_USER_ERROR      - user-generated error message
    ; t2 Q. U, }3 K/ ~# B8 f
  430. ; E_USER_WARNING    - user-generated warning message# q9 \; l4 a8 u$ q4 f# r) J- u
  431. ; E_USER_NOTICE     - user-generated notice message
    4 X$ y# N6 H0 v( Z6 h" H8 r
  432. ; E_DEPRECATED      - warn about code that will not work in future versions7 D& M' i5 ^: |
  433. ;                     of PHP% ~% a0 t9 u/ o8 v4 T0 t
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings: x9 W6 v3 s; e9 {# }9 A; {' v
  435. ;
      A5 M4 E7 U6 u4 J7 d  P: ?
  436. ; Common Values:
    " J4 p% ?3 S0 h4 C: Q" W% k) z! x
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    0 i1 @. a/ l* ^0 s" Z) B$ {4 K% P' C
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    : L9 ?4 h* ]+ @( \3 h- V$ @
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    9 H( q" g% e5 a- z$ K+ B# E) H
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)8 t! y7 J2 z) x+ H4 i
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED% L9 y9 H# ^0 P" m4 z& A" O
  442. ; Development Value: E_ALL
    8 Z" B+ i; @) `9 @2 N; R# ~
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    7 q$ D: A# ^1 X) @5 V1 [
  444. ; http://php.net/error-reporting
    2 W) [, X' g- R) Z+ v2 c
  445. error_reporting = E_ALL & ~E_NOTICE3 P: Z: \& x. O, H8 h2 N. G
  446. & B9 B3 R/ M2 G' Z
  447. ; This directive controls whether or not and where PHP will output errors,9 k  M' b9 k5 i% H" D
  448. ; notices and warnings too. Error output is very useful during development, but
    * N$ ^. [/ t$ n( c# Z- X  \
  449. ; it could be very dangerous in production environments. Depending on the code
    4 ?% R) K. J6 @/ e* Z8 F9 {* R
  450. ; which is triggering the error, sensitive information could potentially leak
    # m4 C9 s5 s& R9 O
  451. ; out of your application such as database usernames and passwords or worse.& B6 Z7 A6 \2 i" w8 t. F/ N& Q. w
  452. ; For production environments, we recommend logging errors rather than
    ) o, f6 l! |4 X& N) N) B5 y
  453. ; sending them to STDOUT.
    % c( z* X- C+ V, E
  454. ; Possible Values:
    6 K4 [  O. n3 M, m+ P2 j( k
  455. ;   Off = Do not display any errors: Y2 ]! d7 u9 ^  l6 z" D, N2 H
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    + j4 T. z+ }: p: o% R3 |! j
  457. ;   On or stdout = Display errors to STDOUT* W/ E0 B6 t5 C9 I8 L! B$ J
  458. ; Default Value: On
    3 c; S/ v3 z: |3 {
  459. ; Development Value: On3 S+ ?; r* ~& ^: J/ E
  460. ; Production Value: Off( @* Q# z2 s4 V. C, j
  461. ; http://php.net/display-errors  e; Z: N+ c0 p5 U  @
  462. display_errors = On
    ! \0 Y# R/ f4 }* ^% g" @
  463.   i/ j* `) y) M& O2 @/ ^
  464. ; The display of errors which occur during PHP's startup sequence are handled
    % d9 S0 N) V; G3 b- [7 P' b
  465. ; separately from display_errors. PHP's default behavior is to suppress those% u! N6 U9 z' |. M( ]5 o( {
  466. ; errors from clients. Turning the display of startup errors on can be useful in4 w: z3 m4 F! Z6 O2 Q! R2 Z
  467. ; debugging configuration problems. We strongly recommend you3 G0 l; z  F! e- \
  468. ; set this to 'off' for production servers.4 D3 ~$ R2 D$ i2 Z" v
  469. ; Default Value: Off
    4 N0 O- A5 w. c6 P) t( \% Y4 |- n* z" x
  470. ; Development Value: On
    , h5 q  z  b+ ]* w' @3 @; `' ^
  471. ; Production Value: Off6 N) c, @8 i" W. Z8 D
  472. ; http://php.net/display-startup-errors! n3 h5 K) V0 @( n
  473. display_startup_errors = Off
    * c; b! _& D  k4 e# Y- Y
  474. " i0 g+ X% s9 C- a
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    8 d- c: U9 m5 L2 F% f
  476. ; server-specific log, STDERR, or a location specified by the error_log
    8 b4 F) P, Q. F! q  d3 M5 T) l6 N
  477. ; directive found below. While errors should not be displayed on productions
    ( I: G1 Q0 f  F1 r( I. o, a  J
  478. ; servers they should still be monitored and logging is a great way to do that.
    # G3 |+ N" r3 T! D. _
  479. ; Default Value: Off) j( K* w$ S+ i% J+ z2 ?
  480. ; Development Value: On8 F& u) y  i! [+ S, t; d' r
  481. ; Production Value: On
    ; t/ R% |2 T5 F& n7 Z  B* o
  482. ; http://php.net/log-errors% ~1 N+ e# L5 B# e4 A7 b
  483. log_errors = On
    1 J$ p3 T9 Z8 `, t

  484. 5 E7 ^) S- W' ?0 ]& P
  485. ; Set maximum length of log_errors. In error_log information about the source is
    8 C. Y- C( d5 n, z( o; s' {( U
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    4 [% Y1 m" x5 b" n- [: J. ~
  487. ; http://php.net/log-errors-max-len* g+ @% _9 U8 J/ A# x
  488. log_errors_max_len = 10244 H( }3 @" H3 G1 O9 D. _
  489. " O6 I% ~! ~! @/ Y5 |2 `8 \
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same$ [! Z( ?! M+ d" }
  491. ; line unless ignore_repeated_source is set true.
    , e+ q7 R+ s: T& P, L4 d" V
  492. ; http://php.net/ignore-repeated-errors
    7 D/ }7 ]: r( q* s! }: k
  493. ignore_repeated_errors = Off9 ]) m2 q7 V$ Z6 p& l" }

  494. 3 @+ c! n) {7 t$ Y4 L" [
  495. ; Ignore source of message when ignoring repeated messages. When this setting: b- d8 P$ Q$ H1 H( d
  496. ; is On you will not log errors with repeated messages from different files or$ Z: g2 }6 O2 w  U8 p3 F$ [1 {
  497. ; source lines.
    0 F7 G' e, F# h% A& g
  498. ; http://php.net/ignore-repeated-source
    3 @! D8 U; G4 R# k" M  l, `
  499. ignore_repeated_source = Off
    * N  ]+ D, R1 O4 X% T% Q  A. r6 g! T  k
  500. 7 Z4 {% U) b! J
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    6 B( b3 x5 `7 J1 f
  502. ; stdout or in the log). This has only effect in a debug compile, and if$ J1 j% T7 L; u5 _
  503. ; error reporting includes E_WARNING in the allowed list
    : k9 v9 T. d$ U* `" }
  504. ; http://php.net/report-memleaks
    8 a% Z9 m( J: t- ~0 `
  505. report_memleaks = On
    ) c4 [) s; ~3 e# b
  506. 6 y& T4 B3 X4 O1 N) `
  507. ; This setting is on by default.1 C1 [+ k% Z4 V
  508. ;report_zend_debug = 0
    ! R, ]$ N! u# D8 z
  509.   X( Q3 a' w5 m7 I' r
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value0 |9 p1 o2 @9 \1 ~5 q
  511. ; to On can assist in debugging and is appropriate for development servers. It should9 Y8 O9 g4 \; V/ w/ u
  512. ; however be disabled on production servers.
    7 I" U3 B- S/ S+ p! k
  513. ; Default Value: Off
    9 h0 }' k5 s/ ]' S/ y
  514. ; Development Value: On& y9 E! f% q$ e) Y$ ~
  515. ; Production Value: Off) @6 H, V2 e  Q* T  t
  516. ; http://php.net/track-errors3 U8 B* V4 U* L2 a6 {$ ~5 e' ]
  517. track_errors = Off
    ; C6 \( M& M5 f2 @$ Q: T; ^9 S

  518. 6 r0 I5 Y  W6 W+ C* @% h$ ]0 N
  519. ; Turn off normal error reporting and emit XML-RPC error XML) Z2 w5 e+ A9 D( L' L7 p. G) C
  520. ; http://php.net/xmlrpc-errors
    ; s, K: s+ C" \0 s. ?/ a0 g- A
  521. ;xmlrpc_errors = 02 R1 U) X" _7 M& j$ Q- I0 F* g

  522. - F  G6 J% P$ U) N: u1 `6 V
  523. ; An XML-RPC faultCode5 n1 A9 D) j+ }/ L2 }
  524. ;xmlrpc_error_number = 0
    , x- Z) @: u# z; x: r* G
  525. & l! {# U2 E: P0 e: v; J2 I
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    5 |( u; G( V/ |! L6 g& c6 S' D
  527. ; error message as HTML for easier reading. This directive controls whether! C" B5 D* |0 ?; R4 U" `2 C: p1 v
  528. ; the error message is formatted as HTML or not.
    5 @/ _4 t! @: K; g
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    9 Q7 Q7 r; p2 A* V! t; N
  530. ; Default Value: On; m( @, p: q. C; b5 d( ?" i* ]
  531. ; Development Value: On
    5 N* n0 ^2 J7 k7 v+ y6 r) K( t
  532. ; Production value: On/ Q% ?1 k) @# R0 `" e7 O( S. C) F
  533. ; http://php.net/html-errors
    0 O0 Z3 C7 w  |* c0 C2 J
  534. html_errors = On2 ]. z. h) o' `7 \
  535. % |/ a/ R; W8 O7 x0 j
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    9 ?3 g2 C& p) C% @- q+ b
  537. ; produces clickable error messages that direct to a page describing the error
    ' N: u+ }$ P& `( ^0 b- ?
  538. ; or function causing the error in detail.
    6 z9 d2 Z  c1 p* W0 w8 O$ w
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    " k% J5 u8 D# P, V8 Q( V3 B8 t
  540. ; and change docref_root to the base URL of your local copy including the9 n* Y. }2 Z, `( \% N
  541. ; leading '/'. You must also specify the file extension being used including
    0 T/ L+ t: g  H2 z$ l. o9 `# W
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    9 ]) g( t& S# r9 E' c
  543. ; case no links to documentation are generated.
    ; U" K# f& J+ f% Y
  544. ; Note: Never use this feature for production boxes.9 V- @3 C# i+ j
  545. ; http://php.net/docref-root
    - A4 L) |4 v) m9 |7 D
  546. ; Examples1 A) X' }9 P8 X
  547. ;docref_root = "/phpmanual/"  ]" p* t+ W, L* c
  548. ) w1 R, b+ i6 r( t2 L) ^
  549. ; http://php.net/docref-ext
    5 F) Q* Z% o; n( W& ?
  550. ;docref_ext = .html
    ; i0 ^7 I: x+ ]' O$ ^+ z" [# D5 G" P

  551. ! C% g& H- u' y% M/ T8 A
  552. ; String to output before an error message. PHP's default behavior is to leave
    * \' v+ u. c" J7 e' S0 p" C  A/ H
  553. ; this setting blank.: }; N' P% R: Q( ?/ W
  554. ; http://php.net/error-prepend-string
    7 u; C. S* ~: e/ l" h& }: \; F  X
  555. ; Example:( G( ~* E! L/ M; A& i) \* k; ^
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    $ w2 J" \. G( y; V* ~

  557. 6 Q+ d7 O! ~- Y! Y5 X
  558. ; String to output after an error message. PHP's default behavior is to leave
    : B  E9 C4 x; {/ w7 A8 u
  559. ; this setting blank.
    0 P$ m1 y/ \/ l2 \* e* U
  560. ; http://php.net/error-append-string
    % z/ J; [. R" d. N: z3 r3 {# t
  561. ; Example:
    " k* ^0 S+ F4 ]( I/ u) O1 _5 p
  562. ;error_append_string = "</span>"
    : i$ F4 C; W- H. }

  563. . j$ K" q, J2 n" X+ X* n. X* v
  564. ; Log errors to specified file. PHP's default behavior is to leave this value! s3 v" e, ^% W6 _6 i' i" e4 ]
  565. ; empty.
      y% T, v0 p4 x# B) u3 r
  566. ; http://php.net/error-log8 ~6 j, z  l3 R3 _8 R
  567. ; Example:; W" b5 T" A8 ?1 d
  568. ;error_log = php_errors.log
    9 D8 X. b5 Z" Y
  569. ; Log errors to syslog (Event Log on Windows).+ o: A& x2 @- Y* _2 p1 o
  570. ;error_log = syslog7 q2 d7 a$ X5 m) W
  571. ) c! c" K9 t. \! b
  572. ;windows.show_crt_warning  C  x5 F3 g6 D+ a; K  x
  573. ; Default value: 0, K! G3 o& A; O+ s8 [
  574. ; Development value: 02 ~. |; r( Q9 s3 |% k/ a( G2 m
  575. ; Production value: 0
    + p6 K5 k3 u7 @

  576. : Q, s3 T+ m) I% A0 {9 F" j
  577. ;;;;;;;;;;;;;;;;;3 w1 o2 U6 [2 [0 C* N6 i2 X5 L+ J
  578. ; Data Handling ;2 c, d. X% v- A9 S7 \" n7 V3 L
  579. ;;;;;;;;;;;;;;;;;
    / b/ _, k$ ?- A
  580. 0 \8 Q; z: d4 @9 C6 \
  581. ; The separator used in PHP generated URLs to separate arguments.5 w( |- y8 x) x! H' C5 Y# _/ }
  582. ; PHP's default setting is "&".
    . l& D" [. j& L* x
  583. ; http://php.net/arg-separator.output
    . I. ?" l: z& J5 h
  584. ; Example:
    8 \; I7 q0 Q9 T
  585. ;arg_separator.output = "&"
    " ]  i5 I- P0 {: i( n; C* m6 i
  586. 5 {0 ^1 m$ m6 @
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    3 v$ N! ?2 T7 r$ w
  588. ; PHP's default setting is "&".
    2 E6 o5 l2 \6 x/ B, ]* `( K. A7 _
  589. ; NOTE: Every character in this directive is considered as separator!
    1 r+ m& k5 o' S8 a( R3 ~8 q
  590. ; http://php.net/arg-separator.input
    3 G) f" ]) D$ O: u1 h+ G  s
  591. ; Example:
    & O1 X) q! O. `: D) N
  592. ;arg_separator.input = ";&"
    , i/ y9 A  `" Y8 U' I" I

  593. 0 C4 b0 j* G) _8 k6 _
  594. ; This directive determines which super global arrays are registered when PHP
      H  b( a! Y/ Q3 B( R  |
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    $ \3 i% y: q& c5 m: d6 B0 ?: {
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty$ X% j0 h% Q" k8 U
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    - i. f% w7 w* T! c; k
  598. ; used as the others, ENV is not recommended on productions servers. You
      I! Z. d9 c; A" e2 T6 w8 x+ G
  599. ; can still get access to the environment variables through getenv() should you. Y% m* m2 u/ m/ S
  600. ; need to.0 p3 i% O3 ^2 c+ u0 B( k0 f+ n! o9 U
  601. ; Default Value: "EGPCS"
    1 P5 i/ V# |; }) _
  602. ; Development Value: "GPCS"
    4 @. ]8 J# b+ S5 j0 M5 f8 g; a
  603. ; Production Value: "GPCS";
    4 L8 h( Z6 t: y. k
  604. ; http://php.net/variables-order" n# e7 T  e$ n$ \
  605. variables_order = "GPCS"1 ^7 K2 h) t& K. x0 j8 ?3 E

  606. 7 Q/ l9 m# d$ I$ a, A
  607. ; This directive determines which super global data (G,P & C) should be1 w3 Z- t' Z5 q: q: G. J; x  I! P
  608. ; registered into the super global array REQUEST. If so, it also determines  c! A1 P* G% L& D- v
  609. ; the order in which that data is registered. The values for this directive
    + T6 Z6 W0 p8 p) H3 R
  610. ; are specified in the same manner as the variables_order directive,! V8 ~5 W, U' R
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    1 U9 T/ `! \9 ?* ^4 L# x( l
  612. ; in the variables_order directive. It does not mean it will leave the super
    4 {0 h8 S  I- J
  613. ; globals array REQUEST empty.
    + N# H( R6 O- r' Z+ z
  614. ; Default Value: None+ b0 e1 x+ C6 w) K
  615. ; Development Value: "GP"
    " X. }4 Q5 [$ M7 K/ F  k+ J
  616. ; Production Value: "GP"' D3 Q1 h& C) O3 f& u
  617. ; http://php.net/request-order' s: A7 G1 X1 |: y; y, r) \) x
  618. request_order = "GP"$ `% b+ G4 I+ g8 A# h% @

  619. : N) W4 x2 y- V4 o) B' v
  620. ; This directive determines whether PHP registers $argv & $argc each time it% b; G2 F% v% h+ R
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script0 D5 ]+ [! S& L( o! \/ v
  622. ; is invoked. $argc contains an integer representing the number of arguments* w' U6 Q3 P2 b" N
  623. ; that were passed when the script was invoked. These arrays are extremely3 R) F$ C. J" o( u" u4 s* n0 J; y
  624. ; useful when running scripts from the command line. When this directive is
    / g. D: i; Z; O: B; L" P
  625. ; enabled, registering these variables consumes CPU cycles and memory each time5 {4 |' |$ k% b' C/ d" r
  626. ; a script is executed. For performance reasons, this feature should be disabled* S. H3 L, S! f
  627. ; on production servers.$ E' }8 D! f- a9 P" T$ W" C
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    . s1 p3 z3 W; _. S7 v
  629. ; Default Value: On
    + u+ F; h4 q! C
  630. ; Development Value: Off: T5 M' F9 R, O% A, @* E- m
  631. ; Production Value: Off9 p2 W# p, v5 W6 e. M
  632. ; http://php.net/register-argc-argv+ z, x: k3 [; Y# I
  633. register_argc_argv = Off# j" M: l# S5 a; w1 G
  634. : b+ m* J2 e: b6 n* m: N
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ) r; R5 s7 e+ P; ^& P8 E0 j
  636. ; first used (Just In Time) instead of when the script starts. If these
    ) B3 d. I6 J5 O5 ^6 x5 t
  637. ; variables are not used within a script, having this directive on will result0 N4 y/ J% l/ p8 `* `6 R! @+ _
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled6 D% g- E" H. r. c7 Q; K
  639. ; for this directive to have any affect.
    3 g# p5 E) L% [2 t
  640. ; http://php.net/auto-globals-jit
    6 `$ P4 Z5 {9 S
  641. auto_globals_jit = On4 I9 a( d/ X: m
  642. % {% V2 w* {" r0 Z, E
  643. ; Whether PHP will read the POST data.
    # T) F2 X7 _$ h8 w
  644. ; This option is enabled by default./ i8 t) ]% l( V7 B! \, p
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    / |# q- B  Q" m3 V  D
  646. ; and $_FILES to always be empty; the only way you will be able to read the9 U9 z; F  t) w! Z
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    # Z, W+ c" I. V3 ]; v
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    9 J, y/ Y* X1 t, v- Z
  649. ; http://php.net/enable-post-data-reading
    # @4 \  x. |& d' s7 r$ h5 @
  650. ;enable_post_data_reading = Off
    . p# x# ?  e2 |( [
  651.   n+ i3 p4 ]# b
  652. ; Maximum size of POST data that PHP will accept.2 b& M0 a; w% p( g
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    7 x( s: I9 i% ^" A4 q) {  T  I
  654. ; is disabled through enable_post_data_reading.! `6 p0 I' ~5 w; |0 @" J1 c7 W! f
  655. ; http://php.net/post-max-size
    ) H  }) r. o; m6 w/ p
  656. post_max_size = 50M
      A/ E7 W! w' Z( |

  657. 4 f) U! x% F% Z: ^, ^, n1 S- ~
  658. ; Automatically add files before PHP document./ |: c0 ~' x$ v  _+ [! q
  659. ; http://php.net/auto-prepend-file
    + \- O4 ?7 ^7 T) X8 ?. m
  660. auto_prepend_file =4 s' w  g* y- V1 C% U. V: h8 _# Q

  661. # i# v) S% L  ^+ R- a9 u) {
  662. ; Automatically add files after PHP document.
    3 g& j) Y3 R& g/ z: ]7 Z1 N8 s
  663. ; http://php.net/auto-append-file. I9 F% k# F8 R  n& U
  664. auto_append_file =0 @5 f4 T  N1 E5 v6 l) X
  665. & K& }5 P# s4 J5 J
  666. ; By default, PHP will output a media type using the Content-Type header. To
      D; H7 P8 t  w# _, @* ?: C; K
  667. ; disable this, simply set it to be empty.
    ! d' d6 n/ |0 u* J& I1 `
  668. ;' L+ m: S; p( n( A9 n6 M
  669. ; PHP's built-in default media type is set to text/html.% S! l$ ~4 F1 f& m
  670. ; http://php.net/default-mimetype
    . K! F5 q7 Q) @
  671. default_mimetype = "text/html"
    " z! e4 I; f  D* Q
  672. - t: S3 N0 {# a% X8 |1 w( ~, B, S
  673. ; PHP's default character set is set to UTF-8.7 o1 p" Y" r* ~* f
  674. ; http://php.net/default-charset9 k% U5 l, S6 ^# `% m
  675. default_charset = "UTF-8"
    2 Y' ]8 c6 D$ A' Z1 \

  676. % Z/ g3 C+ \+ D3 c! M. L: S# I
  677. ; PHP internal character encoding is set to empty.
    : v5 s; w) q7 e5 a- y7 j
  678. ; If empty, default_charset is used.. W; G. u) Q& A1 d( S
  679. ; http://php.net/internal-encoding
    & v3 ]! k# K' I% T' {
  680. ;internal_encoding =
    , Y; ]3 \4 `0 h& R* B- I

  681. - d  i9 q" `" Q& \2 T
  682. ; PHP input character encoding is set to empty.% V  l( r$ n& V0 I8 G
  683. ; If empty, default_charset is used.
    2 S# R/ ~1 ]9 [9 |& e1 ^- ^5 q
  684. ; http://php.net/input-encoding
    ! ^5 u" T& f7 U1 p. V
  685. ;input_encoding =
    : ?$ t( Q" t  @

  686. $ |. d2 q& s. N# ~6 y* R* F" W% r
  687. ; PHP output character encoding is set to empty., K7 S" T+ R; e5 j1 w
  688. ; If empty, default_charset is used.
    3 A( A' c* c, {. d: n
  689. ; See also output_buffer.
    2 ]* g+ p) h3 R4 I" Q
  690. ; http://php.net/output-encoding
    7 M1 t! ]! j, \- w
  691. ;output_encoding =
    $ h5 _$ m5 {" M% q6 j* x3 v
  692. ) [6 p; I9 i' N- h* |9 }) {
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;& f8 @% Y1 y* h0 L+ Z5 F- a
  694. ; Paths and Directories ;
    % Z- l/ \) X5 A1 L+ F6 o$ T! @
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;6 p& D- ?9 I/ J$ o, Z& M
  696. , m) d0 g% c+ N( c/ b
  697. ; UNIX: "/path1:/path2"* N8 a/ L3 z9 i
  698. ;include_path = ".:/php/includes"- `  m) T$ L- t* i1 J) X
  699. ;
    2 [) W8 O) Q- C3 Y) t  T
  700. ; Windows: "\path1;\path2"
    - r/ B7 ^' u, N% |2 O' F3 [. l0 s6 E
  701. ;include_path = ".;c:\php\includes"
    9 L3 i* m, `3 b' K/ O
  702. ;
    6 Y8 j2 Y, x: e& ]9 T4 s
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"' J6 ?+ u/ D( @. s
  704. ; http://php.net/include-path
    5 Q' F% R' L. }, u; r& y
  705. : V1 O5 I8 c' p/ i: j' Z
  706. ; The root of the PHP pages, used only if nonempty.
    3 g# W- `- W$ H8 t: s
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root: S$ t- U4 H3 i& A- [! g% K# |
  708. ; if you are running php as a CGI under any web server (other than IIS)
    6 Z7 _% r0 m. o9 T. ~) Q- m
  709. ; see documentation for security issues.  The alternate is to use the0 \, l& Q) }  n# D
  710. ; cgi.force_redirect configuration below6 K1 B$ g6 E& d, q
  711. ; http://php.net/doc-root
    + |+ G+ d" |  P' ^2 N
  712. doc_root =& O* {5 _  x2 g; a' z' j; r, g1 ~4 r
  713. , X, b( ^: a. c4 e( H! |4 Z
  714. ; The directory under which PHP opens the script using /~username used only
    / |: H& G+ \$ p# @- s
  715. ; if nonempty.% c8 N% F) x: C; h$ x
  716. ; http://php.net/user-dir1 P: C2 x7 m# [1 ?
  717. user_dir =0 K3 {& M2 W& @: m2 x

  718. + C7 I+ ~" L: h( g) u6 ?2 @
  719. ; Directory in which the loadable extensions (modules) reside.
      O1 @5 I1 z$ M) T7 H
  720. ; http://php.net/extension-dir. |$ h( e+ i: {  {; P
  721. ; extension_dir = "./"8 W+ x7 o5 ~9 i# q$ ?
  722. ; On windows:/ f. d( v& D6 M* b6 C, d
  723. ; extension_dir = "ext"
    + I" v8 B+ s2 h3 e" q
  724. ' D& t& l) M( F, u* ~" C
  725. ; Directory where the temporary files should be placed.
    0 J( F& b5 B9 _5 T
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ; X1 t6 D( H2 @$ Q
  727. ; sys_temp_dir = "/tmp"1 K: j+ i7 w' ~7 \3 S) g3 l

  728. ( U. k( S% Q3 Z" }3 [; _
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    : P8 q% h6 X8 o" z3 H5 i( c" L
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically+ R& F. ]5 K9 m+ W5 m) K( r
  731. ; disabled on them.3 }" g' C. n, o/ t5 F
  732. ; http://php.net/enable-dl! f$ X. F8 [1 o9 k& h, _" F
  733. enable_dl = Off
    ' T5 c4 \, O) W7 n
  734. 3 v9 Z+ u3 S( v& O0 o- e
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    $ H6 W7 Y% d% J4 x3 I! N0 e+ @/ V; n
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    / ^  R# O1 y/ ?. z
  737. ; turn it off here AT YOUR OWN RISK
    6 Z, m3 J2 V/ K
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    3 d5 E1 j6 V; Z. P( z5 j# h' m
  739. ; http://php.net/cgi.force-redirect, k' }$ h, P1 L2 a" p, Y
  740. ;cgi.force_redirect = 1
    3 z& ]  [& u. A! _* m/ T( \- p" E

  741. & X  S8 C8 C& L9 K2 H7 g9 z
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with! O! ]# a/ G, u6 _% z* n$ f
  743. ; every request. PHP's default behavior is to disable this feature.
    6 z% r; Y, F" I" p  j
  744. ;cgi.nph = 1
    0 Y0 D, E  ~! K: Q9 U1 n
  745. 1 c+ \: h8 N: r& H, y; U% I  q
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape+ T9 C2 ^( W1 p+ w" Q* E! a/ k
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP0 [5 V2 s' D; l# ~3 W
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 X6 D4 Y# y& J, n
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
      e6 T% A( i9 {! o& I) U
  750. ; http://php.net/cgi.redirect-status-env, r3 k; l5 ~) t3 A' D
  751. ;cgi.redirect_status_env =
    , v8 e: r1 e! l* W# e

  752. 7 a+ j( Y$ @! B. Z' W
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ) a$ n' ?  q3 b: s, l. W% Q1 t" L! L
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    $ ^5 Q2 L: c" Q
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ' Y+ U' D9 X9 T$ g' s8 H5 ^- X! t
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    9 @5 ]. I+ ?$ _* D- I
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    + A1 s$ X6 [" Z* `: D3 j
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.2 O" i1 ~- @- s7 a" L" G7 @
  759. ; http://php.net/cgi.fix-pathinfo
      E3 K, ^/ u- j- `7 X, Q
  760. cgi.fix_pathinfo=1, E) H! n; q  [8 H  P0 i  B) F8 E

  761. / ~3 H' \+ F  g; c3 h4 p1 `' y
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside0 O6 }7 k1 `0 V6 s. o4 B: M/ s: q9 f
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    5 b4 s. i. f: ^" P6 e
  764. ; http://php.net/cgi.dicard-path
    2 o; r) x6 ~) \: b3 ~* ~
  765. ;cgi.discard_path=1( ?$ ?" \& o% u  X) d3 |! [

  766. % b' B$ |) o- [0 r4 B, U- F
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    2 g: i0 ~& ~" Y
  768. ; security tokens of the calling client.  This allows IIS to define the
    6 J) q' H! p# {) S
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    * Y5 r8 }4 p4 Y$ ^! x' Z
  770. ; does not currently support this feature (03/17/2002)
    7 R' ^: _7 K9 y/ Q
  771. ; Set to 1 if running under IIS.  Default is zero.$ ^4 O, l) G/ d! X' }" ]
  772. ; http://php.net/fastcgi.impersonate  K% l9 v9 D$ C* u, E+ x
  773. ;fastcgi.impersonate = 1
    : a; y0 `5 f# |) }& u
  774. 8 V( T$ Q: Q& E1 V" C9 ?
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    2 Z0 R- U$ P8 _" X/ k
  776. ; this feature.( G4 P) c* Z$ U7 q1 {# ]
  777. ;fastcgi.logging = 0! U( K4 C( _4 `$ T( n

  778. 6 @4 I% @2 y6 s& N- L3 S
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    8 H5 O  u" J7 b5 |, R# X
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that0 V: k2 H  v9 ^" X5 h
  781. ; is supported by Apache. When this option is set to 1, PHP will send  L0 b0 i# x0 e
  782. ; RFC2616 compliant header.4 O- ?# ^9 ^" j
  783. ; Default is zero.
    ) t9 D/ l  Q. Q; T' Q6 u
  784. ; http://php.net/cgi.rfc2616-headers
    3 c* [1 J* K! d% w' q# Z( g
  785. ;cgi.rfc2616_headers = 0
    $ T8 g/ Q5 k3 s9 r8 c

  786. ' t+ t/ t9 U- y, I- ?
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    5 i, x) {0 y# u7 i* I! ^
  788. ; (shebang) at the top of the running script. This line might be needed if the
    + ~  W5 y7 c% }7 {! k6 e: Y
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    3 B* g+ J0 Z& B3 J
  790. ; mode skips this line and ignores its content if this directive is turned on.
    : N0 P: Q7 j% i& `3 ?3 @* F
  791. ; http://php.net/cgi.check-shebang-line
    ) o' G9 Y; B# t3 y
  792. ;cgi.check_shebang_line=1
    + `, F8 X. ~3 n, Y/ u' |) R
  793. ' B6 h3 c3 L+ V* }
  794. ;;;;;;;;;;;;;;;;
    ; L( E3 p# D3 K4 a1 b
  795. ; File Uploads ;1 k) T* ^# |4 Q9 |
  796. ;;;;;;;;;;;;;;;;$ b) v1 }/ P3 |
  797. " J  @  J6 {# R+ M
  798. ; Whether to allow HTTP file uploads.
    , A2 G) U( c1 @! z: S$ Y
  799. ; http://php.net/file-uploads& B' Q. A- g" O* D6 [" Z6 J( ^
  800. file_uploads = On- s) W* }9 \) z

  801. 6 ]" d0 f- Q+ X$ S' d# G. h
  802. ; Temporary directory for HTTP uploaded files (will use system default if not( Z) S  T' v4 I3 B. c, M
  803. ; specified).; N+ R2 U7 u$ R, t$ r- ^8 I0 o' ]9 {
  804. ; http://php.net/upload-tmp-dir  @# o& \1 }9 w  [& u
  805. ;upload_tmp_dir =5 L- y- K8 q1 |3 Z
  806. 4 F9 {8 @$ N- a$ P/ A1 q8 U
  807. ; Maximum allowed size for uploaded files.1 N# a& X* |3 v2 t: r2 t" V5 m
  808. ; http://php.net/upload-max-filesize
      \$ m2 F, I+ Q4 M+ T, e) d
  809. upload_max_filesize = 50M( {+ f$ u4 b  H; m

  810. 2 ^% j" ~! W, T/ Z5 h
  811. ; Maximum number of files that can be uploaded via a single request8 Y: W; O5 F9 m/ v) _4 n' k2 T
  812. max_file_uploads = 20* a5 d2 d! W" E2 N, o8 ?
  813. 9 }' h( U  U+ H% \
  814. ;;;;;;;;;;;;;;;;;;
    0 Q: X9 I  {( f0 v7 v& _( J
  815. ; Fopen wrappers ;: Y4 h- L% F$ r( s, a
  816. ;;;;;;;;;;;;;;;;;;+ ~/ _& V2 P' s. I
  817. ! L; v# e' ?% S  }
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.5 N* I/ G. B. a' E9 N2 I! Z8 j# L
  819. ; http://php.net/allow-url-fopen
    % t8 u- J. t/ K3 m* `5 {
  820. allow_url_fopen = On
    ) n2 O2 Y, M- G- h1 q8 m

  821. ( G# `; `4 l6 K
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.8 `8 [) z' n2 s. T! b
  823. ; http://php.net/allow-url-include
    1 c7 @% Q) L$ M- _$ {
  824. allow_url_include = Off8 S0 k: J! x: q* g+ T; n
  825. 0 u: H# l- j/ x  H8 U0 }" b4 w2 q" f
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    : f$ K9 m& E) _3 d8 f' c
  827. ; for this is empty.- I8 A# n: J* L. E' ]
  828. ; http://php.net/from
    + M1 m) N) ]3 X/ r) P8 @- _& U
  829. ;from="john@doe.com"( y7 M  T5 D* Z1 x" a' q3 T0 z

  830. ! ^1 ?3 u" o' T* ?- B& [, [
  831. ; Define the User-Agent string. PHP's default setting for this is empty." D0 k! I% f8 z! S5 [$ V# `
  832. ; http://php.net/user-agent, W6 d& i0 b+ h$ r5 ]  L
  833. ;user_agent="PHP"- m, c* t% a% c0 m
  834. 7 d8 z* o5 Y9 l0 R* x# K
  835. ; Default timeout for socket based streams (seconds)
    ! R. d$ o* O. O8 J0 y; @, T
  836. ; http://php.net/default-socket-timeout9 }% b& X7 b2 M6 |& @1 H
  837. default_socket_timeout = 606 x- ?9 l! _& l
  838.   ?" F  P1 \- l# T: M
  839. ; If your scripts have to deal with files from Macintosh systems,
    4 F$ r% ?; M# D- g6 B
  840. ; or you are running on a Mac and need to deal with files from: T$ S  c& S) Y2 k, B  r' N  O
  841. ; unix or win32 systems, setting this flag will cause PHP to8 @! w7 q9 E+ O3 W5 Y; J$ I+ U( T: V5 s
  842. ; automatically detect the EOL character in those files so that% d" g; f3 x+ D, X2 _: W1 k
  843. ; fgets() and file() will work regardless of the source of the file.
    3 `5 ?+ w. N9 d* C
  844. ; http://php.net/auto-detect-line-endings$ t: h2 E  [4 Y+ f2 c7 h% C' H
  845. ;auto_detect_line_endings = Off
    / |( [; b3 a3 q( u7 l! @

  846. 6 p' }8 y  P1 k7 b/ {  D1 `7 ]7 u
  847. ;;;;;;;;;;;;;;;;;;;;;;" I# {; n- D# C
  848. ; Dynamic Extensions ;9 i: t! z9 o6 l2 s/ |
  849. ;;;;;;;;;;;;;;;;;;;;;;
    * H/ S; t' l) F7 d/ n4 ]5 a; r6 I  j( w
  850. 1 T3 X3 o4 S6 l8 Q8 H7 Z- q' t% S
  851. ; If you wish to have an extension loaded automatically, use the following
    $ a% g& O8 f0 V, m7 @$ r- _
  852. ; syntax:" p8 I/ t- F8 h8 D  Z
  853. ;
      n% s4 H1 d% ?9 D# b% s
  854. ;   extension=modulename.extension$ W9 O2 g# t- `! Y  E* b
  855. ;- w: h/ x$ O. o* W1 T2 g& O
  856. ; For example, on Windows:7 V1 B4 F% o$ c0 G5 W& _6 j+ \2 u
  857. ;
    ! F/ M; g) {  I
  858. ;   extension=msql.dll
    : s' N- z: Y0 o
  859. ;& `& `2 C4 }9 r* R
  860. ; ... or under UNIX:
    8 f' X; k4 a# a- ?* C& X
  861. ;% A0 |# b9 T* ?) Y8 _5 z3 r! v
  862. ;   extension=msql.so
    6 S3 T+ q* }2 r2 m4 P
  863. ;
    , t, R2 C0 f5 B: O" z5 `& [+ c
  864. ; ... or with a path:
    ; _, w6 R* M+ M' e
  865. ;
    * M9 P) k, ~  `9 L  y
  866. ;   extension=/path/to/extension/msql.so
    # N/ ?9 |+ Z. C1 O% P# o
  867. ;
    0 F! C1 B1 [: J8 z; Q
  868. ; If you only provide the name of the extension, PHP will look for it in its
    . L6 l# q- {" @% L! K0 c
  869. ; default extension directory.
    + m1 C+ k+ @8 G. u" e5 n4 e
  870. ;, {4 s; ], a5 L3 [
  871. ; Windows Extensions
    + R3 h' T( U: a- y+ E
  872. ; Note that ODBC support is built in, so no dll is needed for it.5 z$ `3 f3 w: z2 R: c
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    ' H  a' Y0 @% v+ ^  [/ {
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    8 {5 c: f. [& q% K# A/ U
  875. ; Be sure to appropriately set the extension_dir directive.
    6 n+ v. k" d$ i( f  o7 M/ n* ~: C
  876. ;
    2 U7 K4 ?5 E4 u+ D1 U
  877. ;extension=php_bz2.dll0 B+ [  U4 `  O" K1 N  L- ]2 G
  878. ;extension=php_curl.dll
    6 q% D& l$ N! Y8 w
  879. ;extension=php_fileinfo.dll
    : [, E5 _1 @' g1 J% ^; E& z' ~
  880. ;extension=php_ftp.dll! D- [, _9 [4 v# k
  881. ;extension=php_gd2.dll2 m+ u) }) c) ]% C4 ]) ^- `2 \- Y
  882. ;extension=php_gettext.dll  {* k" M6 m' Y6 D( a, y
  883. ;extension=php_gmp.dll  @8 N' [" n. p# }( g
  884. ;extension=php_intl.dll! z/ }6 B6 n, t% v, Y
  885. ;extension=php_imap.dll
    : y# I8 ], b5 {8 ?" {
  886. ;extension=php_interbase.dll6 a4 Q% q( }/ n/ U1 Z8 ^$ q. O
  887. ;extension=php_ldap.dll8 r# d% D  n* l$ Y' y% v7 l  t; \
  888. ;extension=php_mbstring.dll/ n- u  Z* y/ _
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    . ^0 G: V# g7 E, |
  890. ;extension=php_mysqli.dll# C3 N* `  h# }  d
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ( u) f  t& {: W
  892. ;extension=php_openssl.dll. F: |. W5 c/ M/ Z$ W, j
  893. ;extension=php_pdo_firebird.dll5 r3 B" r) }" U' {1 h/ ]
  894. ;extension=php_pdo_mysql.dll) x2 J, f6 W& G5 n* |" G1 ~
  895. ;extension=php_pdo_oci.dll
    1 U9 ]( W6 J5 c8 t# F, x6 b
  896. ;extension=php_pdo_odbc.dll0 C/ B& ^8 m% m! F4 l- }6 ?
  897. ;extension=php_pdo_pgsql.dll
    , [, W8 c  q* S" I: H3 E0 S& y
  898. ;extension=php_pdo_sqlite.dll
    6 K7 P& ]$ [/ {0 b5 o
  899. ;extension=php_pgsql.dll( t8 o: `' G$ h. @
  900. ;extension=php_shmop.dll
    2 i5 O( i8 [1 J, }. [5 X( [
  901. % P& P" R8 c! Z" j5 ?0 q
  902. ; The MIBS data available in the PHP distribution must be installed.
    ; t3 k9 X: d2 p! g4 V
  903. ; See http://www.php.net/manual/en/snmp.installation.php0 |/ a5 c; h4 {2 A" U6 g
  904. ;extension=php_snmp.dll+ r2 _! m3 Z# @" r

  905. 7 \9 {- O0 b: G$ W
  906. ;extension=php_soap.dll
    0 g9 R8 j+ e; u
  907. ;extension=php_sockets.dll/ x+ ^* U' Z' s& c% }& q& K8 o
  908. ;extension=php_sqlite3.dll4 E% f; Q! e' A3 r
  909. ;extension=php_tidy.dll, i8 Y" z/ B. X4 X0 g) ^% e, O
  910. ;extension=php_xmlrpc.dll
    9 L% k" B0 J( H7 F
  911. ;extension=php_xsl.dll
    2 N  v& ~- w" Z' J4 b- [
  912. ) g& x  z  ?; N& _# k
  913. ;;;;;;;;;;;;;;;;;;;' m3 l% Q% ?( i, O1 A  P* j# K3 f
  914. ; Module Settings ;
    & w2 j, V  J0 z" u0 X& n) O
  915. ;;;;;;;;;;;;;;;;;;;5 E1 \6 B4 D5 `' R& g0 L8 C3 Z6 V

  916. ; R- N  z5 r# T6 r
  917. [CLI Server]
    ! A2 D, e9 t% o% k
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.* n7 R: [* \9 H) |
  919. cli_server.color = On
    0 }& U6 h4 B$ m
  920. + t; G: k' v9 l" o
  921. [Date]& z& D: }1 G4 r3 Q9 l& _. ^
  922. ; Defines the default timezone used by the date functions# L% x6 ]  b' k! H  P. `
  923. ; http://php.net/date.timezone
    ; r. C3 h0 m' L% W/ k9 d- [$ Q" O
  924. date.timezone = PRC
      V1 _( S$ I+ C% q
  925. ) l) f' }* [  Z4 S1 _" j0 R7 U; E
  926. ; http://php.net/date.default-latitude* B6 b% i9 |6 j3 g8 h
  927. ;date.default_latitude = 31.76673 j; ~% l5 E+ `8 }8 a

  928. , K6 h# d7 {" V' g' U
  929. ; http://php.net/date.default-longitude
    ' S. f5 p% x' \$ N. v- k/ ?
  930. ;date.default_longitude = 35.2333
    ' ^2 F% Y3 ^- S) F8 Z# F2 }" I

  931. * z) S3 J( r6 @( r4 x
  932. ; http://php.net/date.sunrise-zenith
    . ^+ w' `% _4 l9 J+ z/ T
  933. ;date.sunrise_zenith = 90.583333
    ) T* K1 \8 @# x% M0 B& z1 g

  934. ( B3 k7 j# O" G
  935. ; http://php.net/date.sunset-zenith0 m  u, E/ [& c* y3 @
  936. ;date.sunset_zenith = 90.583333
    " K$ N. S$ C- u# o/ b

  937. . V( d9 f" M+ V& y  m& I
  938. [filter]
    ! |3 _- V' N4 y3 {/ ~. G7 J
  939. ; http://php.net/filter.default
    6 P$ r6 o, e+ U$ H) V) q
  940. ;filter.default = unsafe_raw' [3 |9 X! n; q& n0 ?, P0 ]
  941.   b+ R6 P) R2 K6 o4 T" z
  942. ; http://php.net/filter.default-flags
    ! {* k2 C0 W; ~- K' L. U+ L
  943. ;filter.default_flags =- @/ ?/ B" U) z. `
  944. ! W9 e, [3 u$ H& J2 {
  945. [iconv]5 E3 B: t9 |0 Z, M
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.0 J2 j' @' W& [: N/ N: c
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
      u2 Y# P! W8 C/ T. o8 N  @
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding& S; ?- n+ G4 Y
  949. ;iconv.input_encoding =3 z( h1 ?( _9 y8 t  j

  950. ) m9 F2 S0 u" v/ M  m! a
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.  c) c# q+ @$ k; L( z4 }" U9 X
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! d6 M5 u3 u$ P8 n2 ]* r- [: ~
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    4 m" O6 u9 E  T1 e- ?: o
  954. ;iconv.internal_encoding =+ B6 p! T. [3 \( N0 W9 b3 }5 @# ~7 A

  955. - r/ z; O. Q0 Y1 }. l
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.  E1 |2 W9 ~, {- u; D# _: _
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.% B3 X5 ^5 `5 Y; A$ u
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding' S- r* y+ N  k% W
  959. ; To use an output encoding conversion, iconv's output handler must be set
      Z# c4 M: X& h8 D+ u5 }
  960. ; otherwise output encoding conversion cannot be performed.) a% G- I9 p% O( @( ]: ?
  961. ;iconv.output_encoding =! F$ a( N! m# T- t: K
  962. 7 p0 V  Q+ x* ~' `* h0 l, {
  963. [intl]1 [7 J4 j! U- f$ _2 h  O+ I
  964. ;intl.default_locale =
    # @+ |1 |% r( ]6 U+ P
  965. ; This directive allows you to produce PHP errors when some error
    9 ~% b$ t9 C% H6 J2 T3 q3 r
  966. ; happens within intl functions. The value is the level of the error produced.
    8 ~0 P5 T. }8 z7 E2 G
  967. ; Default is 0, which does not produce any errors.
    1 Y) n6 k, n5 l
  968. ;intl.error_level = E_WARNING# I" b- D( K7 ]
  969. ;intl.use_exceptions = 00 f9 Z, }3 |6 ?8 i# r8 ~

  970. & b  j: |/ x/ q3 W# a  B
  971. [sqlite3]
    7 i2 L4 S/ l8 I1 W3 Z
  972. ;sqlite3.extension_dir =" ]+ n* E) N. d" k

  973. $ T# f+ }3 I2 Y2 A$ p' n' w
  974. [Pcre]- `& L, _$ U2 m! H! k8 ~" s" U
  975. ;PCRE library backtracking limit.. u8 p8 z" n; D3 C9 F9 F
  976. ; http://php.net/pcre.backtrack-limit
    - a- y4 Z% Y; g8 {! R" q: \
  977. ;pcre.backtrack_limit=100000
    : e: y7 n/ `; g- l6 h! |  ^
  978. ' ]* s1 g  e2 V& v% f; ]
  979. ;PCRE library recursion limit.& t" l4 {' S4 H
  980. ;Please note that if you set this value to a high number you may consume all
    ( c5 f% A5 D; Q' c+ Z# v, z# a
  981. ;the available process stack and eventually crash PHP (due to reaching the9 k8 F, w8 o  k2 w& R5 L8 j- \
  982. ;stack size limit imposed by the Operating System).8 m/ P# o( b( `; m  ^
  983. ; http://php.net/pcre.recursion-limit
    ; C% _  w3 z/ n. m6 A/ X
  984. ;pcre.recursion_limit=100000
    + T' v3 p/ R& l( ]( b0 o9 E
  985. 8 R2 L1 x# T# E& U6 K# ^
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE( }$ C8 e9 J. n+ ?
  987. ;library to be compiled with JIT support.1 b  o& f7 J6 T$ X
  988. ;pcre.jit=1
    , W6 h! ]" k' F" u: Q

  989. - ^8 z2 H0 C, j& X6 k! ]3 z
  990. [Pdo]  V( |9 N! D! ~, J( y# \
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"9 K% _6 ?5 L* \) Y9 W
  992. ; http://php.net/pdo-odbc.connection-pooling
    2 v6 ?) p' g& l
  993. ;pdo_odbc.connection_pooling=strict
    . N1 C9 S- j/ B7 K

  994. ; x" ?3 e; A. P
  995. ;pdo_odbc.db2_instance_name
    + }+ r: r: _9 R1 P8 v

  996. 4 j, p+ f% [! K
  997. [Pdo_mysql]
    * @  o) a; F9 {6 i3 p
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 N% T" O  q/ p2 ]+ T  m
  999. ; http://php.net/pdo_mysql.cache_size
    * H' Y$ M. c" m- M8 s& [
  1000. pdo_mysql.cache_size = 2000; T2 Z/ ?& w  `8 T3 g* n! S

  1001. , m* |9 c" J, }
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in- r& j4 C. R9 e
  1003. ; MySQL defaults.8 x7 K! L0 P$ h% }6 ^: A/ `$ k" C
  1004. ; http://php.net/pdo_mysql.default-socket
    4 q! f. u# Y7 m
  1005. pdo_mysql.default_socket=8 |, P& b  e, L

  1006. 5 h; g, y' F) p4 T# J/ u. a7 P
  1007. [Phar]
    - w  h4 r7 C+ U/ f7 n* X) U
  1008. ; http://php.net/phar.readonly% E& H. j4 [; q
  1009. ;phar.readonly = On
    $ C$ q7 I3 F. _

  1010. ; x* z" e4 ~' q& j! u4 u
  1011. ; http://php.net/phar.require-hash
    , r9 f# g% Q- W. L: Z8 A
  1012. ;phar.require_hash = On7 R0 S5 ~% B" x& ?6 _, V  z0 R2 E
  1013. - a; U) |, {2 U1 V9 w& C' M
  1014. ;phar.cache_list =
    - {2 H: @; \/ R5 G+ {
  1015. : a& ]5 Z0 c: d, H: k; Q
  1016. [mail function]1 h' k$ J. y2 ]0 H6 o, @: p
  1017. ; For Win32 only.
    + A+ {- U/ E. c7 v! E
  1018. ; http://php.net/smtp, @, t# S* K5 j& \
  1019. SMTP = localhost, A6 p; _6 p# }& x+ [
  1020. ; http://php.net/smtp-port
    - v* s( |' l- F4 v8 c" M) s' d* R- J
  1021. smtp_port = 25: Y0 K1 D8 D" p5 V$ k2 |
  1022. $ M7 B# q) S# i- A; l  o
  1023. ; For Win32 only.* M) L* F$ ~5 p
  1024. ; http://php.net/sendmail-from6 n" n. Q# i- u+ t- R+ ?4 R* K6 r! M
  1025. ;sendmail_from = me@example.com
    + h2 f/ ~+ o; s% M$ j
  1026. # |( u* J6 A! d+ L
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").. k( Y+ r- e& l) \
  1028. ; http://php.net/sendmail-path
    ( F& x8 @) ]6 J* [+ M4 J6 M
  1029. sendmail_path = /usr/sbin/sendmail -t -i. `* x4 a3 `9 w% o$ b, M
  1030. + ]( H/ s" [: v
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ( e, L3 r6 T# I, m! L  m
  1032. ; to the sendmail binary. These parameters will always replace the value of) L( [7 L6 `$ D: w* H
  1033. ; the 5th parameter to mail().
    . e1 Q: @% U/ r4 t9 X( q* V- w
  1034. ;mail.force_extra_parameters =* O' a7 x$ \5 L' l

  1035. 0 d% n$ c$ ?  N5 v
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    % B2 t) c: }/ K% x2 I0 Q+ q
  1037. mail.add_x_header = On
    + ^: m9 M) o8 x  r/ Z4 }2 K

  1038. % y& I+ C/ o4 H
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    2 ]7 q5 u. h0 L, i7 R: Q- F8 k
  1040. ; the full path of the script, line number, To address and headers.
      W, i9 P! E6 f
  1041. ;mail.log =
    0 S: D8 ?4 B" O) D5 T7 Z' `# `. U
  1042. ; Log mail to syslog (Event Log on Windows).+ ^) A; [% H) K
  1043. ;mail.log = syslog
    3 g& K( V  }5 [% B: ~
  1044. ( A! F+ s9 ]. F# [8 w% ]3 F
  1045. [SQL]
    $ J- l' Y/ z3 D4 @: V% L
  1046. ; http://php.net/sql.safe-mode
    9 U& t7 ]2 u; r, l9 s0 w0 A
  1047. sql.safe_mode = Off
    + K9 I2 N6 u* `

  1048. " R5 Y+ P( E, `- b1 g
  1049. [ODBC], Z; K* O! \7 V) e8 t
  1050. ; http://php.net/odbc.default-db
    " {6 R+ o: T% f# x( P+ t
  1051. ;odbc.default_db    =  Not yet implemented
    7 o5 X  @5 f% [0 J5 l! Z! e* y9 d5 b

  1052. ( ^6 |) J1 L3 X' |0 `- b! s
  1053. ; http://php.net/odbc.default-user+ ?; u" W6 d2 F; i9 q
  1054. ;odbc.default_user  =  Not yet implemented
    1 c4 I( y' i( C( [6 o3 V
  1055. 8 w9 ]* D. P/ O0 k  A
  1056. ; http://php.net/odbc.default-pw9 ~3 k) H, W& ]9 C
  1057. ;odbc.default_pw    =  Not yet implemented
    $ r! _; k; y! U% a1 Q! v8 f

  1058. ' Q& F5 I3 R( T" ~- t% u: d6 f- ^1 n0 ?. h
  1059. ; Controls the ODBC cursor model.' F( g% S4 V$ A4 G+ z! Q
  1060. ; Default: SQL_CURSOR_STATIC (default).
      M% e. h0 W0 \4 q0 b
  1061. ;odbc.default_cursortype0 s5 W4 b2 t+ u1 P: X# P
  1062. 7 W8 r. K3 O6 A3 ]- E
  1063. ; Allow or prevent persistent links.
    6 b5 D# k) Y* x8 ]" R* R
  1064. ; http://php.net/odbc.allow-persistent, \% W. h9 }& ~2 Z2 X7 V9 k7 M& q# M
  1065. odbc.allow_persistent = On+ l4 H. b+ U6 {( U( c3 d. C7 u3 q
  1066. ) S! y4 U) y) |" h
  1067. ; Check that a connection is still valid before reuse.
    4 O# G, i9 U% m' D/ V
  1068. ; http://php.net/odbc.check-persistent
    1 T0 f- @' \+ B) s$ k
  1069. odbc.check_persistent = On
    + S0 A5 }" ^. K* K
  1070. % I4 z- r! n* g
  1071. ; Maximum number of persistent links.  -1 means no limit.
    5 ^: Y( y9 X* k) N( h
  1072. ; http://php.net/odbc.max-persistent' S2 C7 P* Z9 m2 [2 g
  1073. odbc.max_persistent = -19 e! x/ j# |/ o) G: E; P3 Q# M# X- `

  1074. % `! U5 `# p7 |4 {$ a8 Z- ]
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 B9 ~. a! J9 _. Q) F7 P- M  X; G
  1076. ; http://php.net/odbc.max-links& Z# ?: ^( N5 `8 f. o$ r
  1077. odbc.max_links = -1
    + ]/ S6 I+ b8 R& f. G

  1078. 9 q+ \7 Y/ r9 D1 z7 i" a" e
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means0 e, R  E4 s4 J) c5 f7 ~
  1080. ; passthru.1 [+ y  q- v  [7 t, W3 D5 t
  1081. ; http://php.net/odbc.defaultlrl
    ! h7 v$ u: ^$ x! d# d) {6 e
  1082. odbc.defaultlrl = 4096
    % `* C! \5 Y0 \
  1083. 0 h% _# J- H9 Z- ^" {- |
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.. W+ E4 A# [7 |% [- q. G% t/ j
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    # l$ r  D, u. Y9 E
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    % L4 p+ o' f3 v- q* G
  1087. ; http://php.net/odbc.defaultbinmode  {6 l, \6 j4 h+ q2 ~9 z" h
  1088. odbc.defaultbinmode = 1
    0 r' t) O+ \8 o& K, t  R; `& U. U

  1089. 3 T. t; v$ _2 s7 l  C
  1090. ;birdstep.max_links = -1* U1 r; F1 H% e4 M

  1091. . @% p# g0 @/ U( F/ F2 P, k/ @
  1092. [Interbase]
    $ U$ Y; s3 e, m' L/ A! e2 X3 ?
  1093. ; Allow or prevent persistent links.
    : j$ M% a, s/ X/ n0 e+ b
  1094. ibase.allow_persistent = 1
    0 N5 ~  J' Z, Y) v  O$ N% Q0 y

  1095. : k" ^1 U# u' k, y2 ^4 y# v, L
  1096. ; Maximum number of persistent links.  -1 means no limit.3 ^, g8 w, {2 z! D
  1097. ibase.max_persistent = -1
    - H  ~7 j# k% `- n# c+ ]$ w
  1098.   r: O, r0 q* P( `* C
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.. W9 x8 f+ e2 J6 ~0 w
  1100. ibase.max_links = -1; B3 ^5 C4 g2 z  U
  1101. 4 t, g8 c4 [' A7 n0 J
  1102. ; Default database name for ibase_connect().4 w% Y( G. s; }
  1103. ;ibase.default_db =
    . i, W/ c; y- q4 A' i! Y3 O
  1104. - v7 w7 l  r  m7 F* H8 c
  1105. ; Default username for ibase_connect().3 j( x6 G5 j4 f+ v* N
  1106. ;ibase.default_user =
    2 Z' c. n' E( T; h* \. X+ x
  1107. 8 D* S' {6 \: F- I; F( W
  1108. ; Default password for ibase_connect().
    2 @7 i* r; m; v# c" _2 {! }
  1109. ;ibase.default_password =
    # h6 u8 K; \& A2 f! l

  1110. & X$ w0 r% f$ I$ q$ ^! F. M
  1111. ; Default charset for ibase_connect().' v9 V& L) D* x, G; f
  1112. ;ibase.default_charset =
    ! Q' p: W/ l/ z8 K/ |
  1113. ; f. t) f, p$ w; \- H9 p1 ?& B
  1114. ; Default timestamp format.: }* W% Z! ^& R' S& }- k; Z7 R( X5 _
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"( q' @1 _& d6 i" d1 [

  1116. 1 [7 _& E, L6 g
  1117. ; Default date format.
    ! ?( j/ p& J( Y" k
  1118. ibase.dateformat = "%Y-%m-%d"
    3 Y2 j: Q- W/ L( m3 r. D3 r
  1119. , @5 H, J( j( L1 Z1 W* P# l
  1120. ; Default time format.! A0 K& N3 B8 d
  1121. ibase.timeformat = "%H:%M:%S"; }8 j0 X7 B$ w6 A4 |& b$ t, ~
  1122. / M5 j0 Q; j- i! b( o, K) P& l! i
  1123. [MySQLi]
      z7 s6 e, A9 O: p$ f1 E

  1124. + s3 V9 Z4 \& Y1 Y; g
  1125. ; Maximum number of persistent links.  -1 means no limit.  _" p7 q, N2 x% N, C
  1126. ; http://php.net/mysqli.max-persistent" _! q' X, T$ @6 h7 u( _
  1127. mysqli.max_persistent = -1
    6 Y. ~2 C6 h- {' l' n

  1128. 4 f4 o! J5 }7 v+ ?) U
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    # F% D. e. q, j$ N3 J
  1130. ; http://php.net/mysqli.allow_local_infile7 H0 N( j7 F) @& X5 ?
  1131. ;mysqli.allow_local_infile = On
    : O% R: o$ d9 ]

  1132. ' M/ k. k# U4 L6 U; y: z
  1133. ; Allow or prevent persistent links.4 ^# |& f/ c" y
  1134. ; http://php.net/mysqli.allow-persistent
    + p# m. |1 U6 t& b8 p9 S: t% \
  1135. mysqli.allow_persistent = On0 Y1 j; R5 X- W5 h, E/ w% u

  1136. ' _8 U: a. c: _; n' c
  1137. ; Maximum number of links.  -1 means no limit.
    $ I) h% L* g0 g$ t& y5 c9 I
  1138. ; http://php.net/mysqli.max-links
    7 n- ?5 T. R, j0 o; d1 n' h
  1139. mysqli.max_links = -1
    4 u  }! g% L2 H7 Q
  1140. " T1 b  y: E$ k# Z
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ' u; k# S1 y( I2 U) V
  1142. ; http://php.net/mysqli.cache_size
    , L: b2 H( C( ]. r7 ^$ l) y
  1143. mysqli.cache_size = 2000
    " x# J% W9 e" E' ~; J9 r

  1144. / H, v" Z: y! Y. K& ]6 X6 ^8 ]
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use4 ]9 E2 {1 _0 S3 R, D) j
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    7 Y# u" F% R9 h& B9 `7 Y- _
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ) X: |; T, j4 K$ v4 J3 N7 M
  1148. ; at MYSQL_PORT.  Z: V% [  s: x- A, Z
  1149. ; http://php.net/mysqli.default-port
    + _5 O- x# E) b, P* }- @/ o
  1150. mysqli.default_port = 3306
    ! h; Q; u0 W& \; C2 n4 T

  1151. % q/ K$ D5 E8 o4 d$ W
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 ^- H5 D! O7 ?& f7 X5 M8 T
  1153. ; MySQL defaults.6 x/ E; G: ]4 f- `* n3 A9 A
  1154. ; http://php.net/mysqli.default-socket" ~" I5 J: r, V- B* ^& `: ~
  1155. mysqli.default_socket =
    " Z$ S& Q: S. [, P0 e9 c  @; M

  1156. 8 w- M: P. z! @) R7 W
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    1 r7 p1 Q& T& }& w+ F  M: |
  1158. ; http://php.net/mysqli.default-host
    ' G& u6 V' t4 [6 |
  1159. mysqli.default_host =
    / p0 W' q# |0 ]+ z" Y- Y

  1160. 9 Y) n8 [6 I1 V- d& q1 N
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    & F* Z9 N- ?, h( Y8 b  ?' Y, Z
  1162. ; http://php.net/mysqli.default-user2 t# ?$ s, N- m! a8 G- ^! ~
  1163. mysqli.default_user =' v, M, x  ^9 P2 }% j! @+ D
  1164. ( {6 ~) K' Y% d! z
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    2 u" `+ L! J  w( K+ {1 F$ N5 _1 t
  1166. ; Note that this is generally a *bad* idea to store passwords in this file." P* ?. `5 x4 ~" A9 _# @
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    . }) h  z4 }& v7 v1 T
  1168. ; and reveal this password!  And of course, any users with read access to this
    5 c: b3 T0 q$ @7 R
  1169. ; file will be able to reveal the password as well.9 K  \/ s5 S# g7 O, n5 p
  1170. ; http://php.net/mysqli.default-pw, z5 ]$ |- n( b
  1171. mysqli.default_pw =
      D9 l" }; n# I# J4 B+ R! w  {4 w

  1172. $ X. m8 q( N4 E9 @" ?4 m9 ]
  1173. ; Allow or prevent reconnect! B2 k2 Y) d- E' b/ j/ P6 F' d/ a
  1174. mysqli.reconnect = Off
      d9 X" Z9 o- y7 Y) A+ E- o, K

  1175. 1 B& T1 K  @) d
  1176. [mysqlnd]
    . F1 m1 G/ m6 L9 v, Y
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be3 [3 |& f4 q# r0 Q# m: f9 k+ K
  1178. ; used to tune and monitor MySQL operations.
    % P9 N- T  j6 S8 ?! i" O
  1179. ; http://php.net/mysqlnd.collect_statistics
    1 K5 N) H5 m/ W3 u
  1180. mysqlnd.collect_statistics = On# y4 D4 {. l; p4 Z: E

  1181. ) y# l0 N& z, W* K
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    9 N+ b: H4 a  k
  1183. ; used to tune and monitor MySQL operations.
    6 O0 `3 x7 K4 t$ V# K( P
  1184. ; http://php.net/mysqlnd.collect_memory_statistics# u6 G5 i( @. v/ p- \; J
  1185. mysqlnd.collect_memory_statistics = Off
    6 S+ Q6 U, H' Z6 s) Y' v& }

  1186. 5 c! f( X0 p5 V0 \7 Z0 q& k
  1187. ; Records communication from all extensions using mysqlnd to the specified log' q2 Y( _' S) l' h7 S5 T
  1188. ; file.
    5 d5 K# `' U! U# R) z; Y
  1189. ; http://php.net/mysqlnd.debug: B9 K. j+ ~1 X' N0 X5 P
  1190. ;mysqlnd.debug =: V1 D! `: {6 J7 G) p

  1191. % [+ n+ h3 a( r; b
  1192. ; Defines which queries will be logged.
    3 [! b& x7 h4 x; q* w0 C
  1193. ; http://php.net/mysqlnd.log_mask6 }  ?, a! n( P8 E- y" v
  1194. ;mysqlnd.log_mask = 0
    0 u# M. z6 l* k8 J

  1195. 7 `: d$ Q  s3 n2 M- O; c7 E
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.  k8 D/ _( [. z+ b, M
  1197. ; http://php.net/mysqlnd.mempool_default_size; s% `3 k# }# z2 T! y( t
  1198. ;mysqlnd.mempool_default_size = 16000+ N9 H  \! x( a1 V/ ^  G
  1199. 5 X0 ~0 l( n/ u% t8 O
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    # i7 m, f8 B, @% k
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size2 D& Z& q, J! M* ^4 A) S
  1202. ;mysqlnd.net_cmd_buffer_size = 2048: b- m% H# n+ {/ N

  1203. * R! N1 k4 T% @" F2 M
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ; n: H7 I6 ]2 k3 L/ T% v
  1205. ; bytes.
    ; h% j1 u  Q! ^2 f
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    , J( T3 k/ x) P( L. Z7 M6 R
  1207. ;mysqlnd.net_read_buffer_size = 32768
    # E2 F. k! E8 F5 r1 f, h- H

  1208. 4 h/ z  K; }5 T) h
  1209. ; Timeout for network requests in seconds., n) M6 v( |$ d+ h3 z' s
  1210. ; http://php.net/mysqlnd.net_read_timeout
    2 a$ U8 M2 i& o6 h8 W, M" D
  1211. ;mysqlnd.net_read_timeout = 31536000
    9 c5 O/ ^5 F8 h: K9 ]! n

  1212. 8 y2 [, @# O, H4 A/ v3 E
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
      K. ^- P6 n& o- T
  1214. ; key.% E0 \* h) s9 {( ~# Q( I
  1215. ; http://php.net/mysqlnd.sha256_server_public_key' B4 P, ^/ b+ z/ @6 C
  1216. ;mysqlnd.sha256_server_public_key =
    ( m( n! m; T; `
  1217. 6 ^" B, X$ k: G4 v* Z& P+ t
  1218. [OCI8]: g4 M* E) Z+ Y: U  w
  1219. : a) Y0 ]3 q" o
  1220. ; Connection: Enables privileged connections using external7 _- O8 i3 [- k+ L5 j- l
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    4 r0 W6 s  t- r
  1222. ; http://php.net/oci8.privileged-connect
    3 R/ P; Z7 m/ K* z
  1223. ;oci8.privileged_connect = Off* R6 l9 z  z! x- E- q+ i2 m

  1224. $ P; G9 @) y- p9 I8 `4 L: L
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    6 V4 C3 Z& ]5 ~3 P# ]
  1226. ; process. Using -1 means no limit.! u! p& d& x/ k; p
  1227. ; http://php.net/oci8.max-persistent* \' F* u: \( A) I  K: N% ?
  1228. ;oci8.max_persistent = -1" {; P  \4 l' d. V) s8 j& w2 r+ r

  1229. 7 q" P! F! u# U# j
  1230. ; Connection: The maximum number of seconds a process is allowed to' k! O; u2 I. F- ]2 G$ ^: o
  1231. ; maintain an idle persistent connection. Using -1 means idle
    # l  P$ d" [" u4 f% z
  1232. ; persistent connections will be maintained forever.- h5 J( l, m4 [. S5 w* R. t
  1233. ; http://php.net/oci8.persistent-timeout
    ( K6 i) y, `/ r+ ^2 V7 T# s0 u, _
  1234. ;oci8.persistent_timeout = -1# Z! R5 \+ R1 V: k, l
  1235. 8 C* ^' ^- ^  ?: Y  `
  1236. ; Connection: The number of seconds that must pass before issuing a, D7 V+ J' n, ~- o1 m5 i
  1237. ; ping during oci_pconnect() to check the connection validity. When% C; e" v! N% ~- g2 ?3 L5 c
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables8 [8 @9 |( y! v
  1239. ; pings completely." \3 t6 ?+ K% a) ]
  1240. ; http://php.net/oci8.ping-interval" k6 A% u/ N+ g( j" _
  1241. ;oci8.ping_interval = 60
    ; l9 \/ i8 [: d. J6 X

  1242. 5 Q) t8 D  M6 s7 Z( |
  1243. ; Connection: Set this to a user chosen connection class to be used
    0 x4 [* I+ q' e% x
  1244. ; for all pooled server requests with Oracle 11g Database Resident* ~: Q) O8 {5 M$ O
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    " A. a5 e, j% Z0 S8 P
  1246. ; the same string for all web servers running the same application,
    6 _, o5 N9 T" V1 \2 s
  1247. ; the database pool must be configured, and the connection string must9 R8 ~- F" n( s2 c
  1248. ; specify to use a pooled server.
    8 D* m+ u9 k% o& [! V  V
  1249. ;oci8.connection_class =
    4 e% z& c! ?, J5 R- [
  1250. * T; Q- c: d1 b& J; V/ [
  1251. ; High Availability: Using On lets PHP receive Fast Application8 X+ J3 ~/ u9 U; g2 S
  1252. ; Notification (FAN) events generated when a database node fails. The% H; }3 W( z! \1 M/ j
  1253. ; database must also be configured to post FAN events.
    . V5 V1 K: l7 c/ y/ p7 a
  1254. ;oci8.events = Off) s3 d+ `4 f7 q; i( u

  1255. 4 K9 `: Z* h- b% N8 ?- B) b
  1256. ; Tuning: This option enables statement caching, and specifies how+ }" i$ `$ I# Q% H: E7 j
  1257. ; many statements to cache. Using 0 disables statement caching.
    6 I/ v9 M6 L5 K) O6 w
  1258. ; http://php.net/oci8.statement-cache-size. T" C# }* P" x* q
  1259. ;oci8.statement_cache_size = 20
    * D8 n2 N; g1 @1 Q4 i. L. H, I2 c+ L
  1260. ; ~% x2 G6 o  _8 \! U$ \6 b
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    6 @- T" F; g1 y5 W
  1262. ; rows that will be fetched automatically after statement execution.
    , n7 P3 Q" M# D- @8 l/ ?7 F* H
  1263. ; http://php.net/oci8.default-prefetch' v( L3 s7 U. l5 S5 u, b$ {, w
  1264. ;oci8.default_prefetch = 1009 w$ y  p* s+ B7 l1 K' B

  1265. : [0 F- h7 h2 @! {1 ?- z
  1266. ; Compatibility. Using On means oci_close() will not close
    $ o  N$ N7 f) N6 f( ^
  1267. ; oci_connect() and oci_new_connect() connections.
    / K/ n9 }. u. H
  1268. ; http://php.net/oci8.old-oci-close-semantics, T; {! n8 {0 }
  1269. ;oci8.old_oci_close_semantics = Off
    ) f2 n, ~! z  I! n9 d' m1 s

  1270. 2 p; z* @5 p# w6 Q
  1271. [PostgreSQL]( P6 c  c7 J* |# X! Q3 K0 Y
  1272. ; Allow or prevent persistent links.3 N; h4 f5 t* S- F- q
  1273. ; http://php.net/pgsql.allow-persistent
    2 ]) S( c9 c! B
  1274. pgsql.allow_persistent = On
    3 T) |2 l3 l2 `: q0 P  I

  1275. . L% U3 b6 S5 V) s6 a
  1276. ; Detect broken persistent links always with pg_pconnect()./ g5 c4 Z% T" j% [
  1277. ; Auto reset feature requires a little overheads.
    8 K! r* Z) a1 o# p2 C: `
  1278. ; http://php.net/pgsql.auto-reset-persistent5 M- m# j; W# m/ e! c0 k
  1279. pgsql.auto_reset_persistent = Off+ ]+ a4 J8 \  P  V8 a

  1280. 9 s+ D; l. J3 A3 `! }
  1281. ; Maximum number of persistent links.  -1 means no limit.- u4 u" Y+ L6 t5 ?2 i2 G
  1282. ; http://php.net/pgsql.max-persistent
    $ k, D6 `8 y3 [2 I: X7 j0 {
  1283. pgsql.max_persistent = -1! F! G, q/ k3 m% \9 u  I5 R
  1284. 5 K6 ]. M+ k9 a8 b* p* x6 [8 c
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.- U8 h0 N6 z- S5 L+ E
  1286. ; http://php.net/pgsql.max-links' a, X+ t/ T" r7 o: Z  h0 Y
  1287. pgsql.max_links = -1
    # s! W! `; p4 y6 a! ^5 q
  1288. $ u( p! X$ i+ q
  1289. ; Ignore PostgreSQL backends Notice message or not.
    ; }+ b  t& N6 r( ~2 k1 d1 f3 x! g
  1290. ; Notice message logging require a little overheads.
    , M8 ?/ }; i0 z9 R& i
  1291. ; http://php.net/pgsql.ignore-notice
    ( k, F& B: p# d( T0 N5 y6 M
  1292. pgsql.ignore_notice = 0) P* N3 v4 p9 p  R, N  `! G2 H

  1293. $ u" y6 E5 M% R3 \
  1294. ; Log PostgreSQL backends Notice message or not.+ H7 S( T* Q' h" ^
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.3 Y# P4 x, ]  H- Q& H1 ~# m, h
  1296. ; http://php.net/pgsql.log-notice
    " y# n. i% G' S2 Y/ I- E- J5 S
  1297. pgsql.log_notice = 0
      ~0 E8 r2 O. b4 E6 o

  1298. , P+ r, H/ z7 N, \1 L
  1299. [bcmath]2 ]2 \3 U" n2 z) [+ K+ M, O, g
  1300. ; Number of decimal digits for all bcmath functions.
      v5 T" j2 V1 m# E& w/ e( K) A! N
  1301. ; http://php.net/bcmath.scale
    - s; `  v, \) d& T0 J$ q! _" D4 r4 F
  1302. bcmath.scale = 0* W0 g3 c8 j: O9 |" ]( e
  1303. # \8 l: n+ [  s7 f
  1304. [browscap]
    * @( F, T- ^  S4 F5 R
  1305. ; http://php.net/browscap1 z/ F+ n+ t, ?8 p, U) H
  1306. ;browscap = extra/browscap.ini
    " E5 S, m$ V) t0 M& F" ?4 O

  1307. 1 ~0 D5 |- `+ k/ \: B$ E
  1308. [Session]
    + A& F. L; A9 Z- v; y
  1309. ; Handler used to store/retrieve data.; l- x6 Y; X# u
  1310. ; http://php.net/session.save-handler
    ! E# o" b' t' ^) G) W
  1311. session.save_handler = files% v5 p) `6 p% J$ ~
  1312. 8 i8 ?& T; ~3 l! U% k
  1313. ; Argument passed to save_handler.  In the case of files, this is the path$ H: R$ L2 _* @8 W( `  z6 }2 O
  1314. ; where data files are stored. Note: Windows users have to change this; @; ]& ~% ?' u' K6 S( x6 w3 h  |
  1315. ; variable in order to use PHP's session functions.+ N# n5 t" `1 y# X' T  J$ x
  1316. ;
    & }" q' j9 i3 q; ?9 ?2 E
  1317. ; The path can be defined as:6 g4 P) C7 i  G# _* f
  1318. ;6 u1 j/ \3 z) a# @; R
  1319. ;     session.save_path = "N;/path"4 f1 V2 W' y& _8 n/ o, [
  1320. ;/ M, Z7 J6 `- G0 J( k
  1321. ; where N is an integer.  Instead of storing all the session files in! R1 P" ~, x! v& d" s& [
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ' {; A+ `; j7 w8 j
  1323. ; store the session data in those directories.  This is useful if/ F( C; h2 q  I! ?* p
  1324. ; your OS has problems with many files in one directory, and is
    , c! {: C1 z- w# @8 c+ n" @
  1325. ; a more efficient layout for servers that handle many sessions.6 X. |( C& ~' U1 v* u' D/ K; k1 Q
  1326. ;
    # I; k, s, k4 @
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    " f, _9 q: c6 g( c/ u0 t7 v
  1328. ;         You can use the script in the ext/session dir for that purpose.: \  Y% _2 ?/ V% I% r0 v5 ~
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    / p4 L4 t# n3 j5 S6 r& c% y
  1330. ;         use subdirectories for session storage( T! @3 O, T" `0 j& k& e
  1331. ;
    8 V; B$ b2 m4 G& m
  1332. ; The file storage module creates files using mode 600 by default., n  {7 p+ m. |" w. T+ J6 F
  1333. ; You can change that by using$ ^" F* k9 S" Q/ [  P
  1334. ;
    $ w: A0 ?4 \/ r4 H$ W* V' s/ p
  1335. ;     session.save_path = "N;MODE;/path"5 D+ Q) |2 _1 G) c
  1336. ;+ j( L/ B' {7 {- q& Y& u) ^; A
  1337. ; where MODE is the octal representation of the mode. Note that this' D! x: z) S" h) m/ t
  1338. ; does not overwrite the process's umask.! O4 |2 j& {$ S" ]9 f& Y; I
  1339. ; http://php.net/session.save-path
    . |* f: j) c$ v: S* m
  1340. ;session.save_path = "/tmp"+ J+ Y# c) X( d0 _# L9 x: V
  1341. 7 S" P6 Q+ ^1 ?  h
  1342. ; Whether to use strict session mode.
    9 n$ R# U/ z* t4 z4 u
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    9 u$ x5 y- p' d; Z2 z' d/ K; b! U
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    * i  _8 P1 y& ^+ i- `1 l2 z4 g
  1345. ; applications from session fixation via session adoption vulnerability. It is
    ! Z, t3 X. L* s7 T# l8 n# c6 d) A
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.2 ?# `# p% `2 }3 E, L7 d5 x
  1347. ; https://wiki.php.net/rfc/strict_sessions+ |( Q# X$ j. F& v' R! ]/ R7 {  R
  1348. session.use_strict_mode = 0
    - X0 L7 l, @2 B+ ]) S) S& s  p5 G
  1349. " b' x* h  n9 r
  1350. ; Whether to use cookies.
    * F; ?" q+ d5 V$ _
  1351. ; http://php.net/session.use-cookies
    2 ?3 }; }8 f# N" v/ K# p
  1352. session.use_cookies = 14 `5 }$ J6 C' b* m$ N8 C2 K; o

  1353. ( K' S3 _4 t! |3 H( R  T3 l2 `
  1354. ; http://php.net/session.cookie-secure
    ! Q. G# J+ \2 ^; p7 X6 V" n0 D# a
  1355. ;session.cookie_secure =  M0 P* [+ N. E/ n: c0 B8 ^2 L1 _9 g
  1356.   F& s! O' S. j% L+ r  c5 |
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining, n* T& {& N" T" ~- j6 ?/ ^$ c
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    * T, Q4 L2 }% _( w2 j
  1359. ; session hijacking when not specifying and managing your own session id. It is
    9 C7 j8 _  ?$ F# [
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.! L% q+ e% g% V3 y
  1361. ; http://php.net/session.use-only-cookies
    , V. l4 v4 ~7 |% W
  1362. session.use_only_cookies = 1  |, [2 i, ~( u

  1363. ) t* r$ R7 W5 s' _- O2 `
  1364. ; Name of the session (used as cookie name).
    ( C  A7 i2 I! ~: C, E
  1365. ; http://php.net/session.name
    - e7 ^" ]" C. j5 [  R: N
  1366. session.name = PHPSESSID
    # K8 N# ]. b/ M4 m% ~
  1367. 3 i. {# g# V! @# o) Z
  1368. ; Initialize session on request startup.# `/ i/ d! ~  P2 z4 r' q5 `
  1369. ; http://php.net/session.auto-start5 ?( j. }5 S% A! u, C) c) |
  1370. session.auto_start = 0
    . u8 |( f7 q) d+ D; Y% l
  1371. . h+ g* i% E/ H+ y% n
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.& o+ j" ^% g& m$ p1 }
  1373. ; http://php.net/session.cookie-lifetime
    9 k0 r0 o4 J. i! l
  1374. session.cookie_lifetime = 0( `% n! W6 e6 ~# v0 ?
  1375. 7 X( E; \8 L4 A! ]
  1376. ; The path for which the cookie is valid.% J4 w4 s- A6 `1 F9 C
  1377. ; http://php.net/session.cookie-path3 R5 G: p; C0 i2 u$ N) [
  1378. session.cookie_path = /: m( P. |! q% c. E, [; P

  1379.   u/ Z' \+ n% s" E, B0 O$ P
  1380. ; The domain for which the cookie is valid.2 q- S- v. M0 ]
  1381. ; http://php.net/session.cookie-domain4 Y$ A7 z$ h5 c( R3 u9 ~
  1382. session.cookie_domain =
    # z8 o: r4 C, X2 H- Y

  1383. % w8 J, ]$ T* A+ @" h
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.9 n. e/ X7 m- [# I9 V" M
  1385. ; http://php.net/session.cookie-httponly: Z: O) s) y0 w% G! q! F
  1386. session.cookie_httponly =
    5 k; K% Z# G" _+ ~
  1387. , l* A/ I$ J$ L/ q; d3 q9 p
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.. A7 P5 T6 R# J0 N6 v, M! T0 i6 r
  1389. ; http://php.net/session.serialize-handler* k4 T& R9 n6 r% g
  1390. session.serialize_handler = php* Y8 E# h2 H* J  n  q
  1391. + |  H4 H' ], y* }# o- B
  1392. ; Defines the probability that the 'garbage collection' process is started, q0 z) A; }/ ~4 l$ Y
  1393. ; on every session initialization. The probability is calculated by using
    ( \" d& l5 g* J  g+ K
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    9 v" q0 h; i7 R. S1 _. r
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    2 w- o" {1 }  c- B( D9 [. D
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) P# y. e$ M, v9 E
  1397. ; the gc will run on any give request.7 V& S8 m' H+ `$ h( Z3 r
  1398. ; Default Value: 1: m! F) m) ^/ m
  1399. ; Development Value: 1
    2 W' u" l* p3 M, i, S2 Z
  1400. ; Production Value: 1
    ' O8 P! k* C4 D  }7 {
  1401. ; http://php.net/session.gc-probability
    ; `, n; `) b5 l$ G0 u
  1402. session.gc_probability = 1
    9 M( {" i4 ~2 d8 ^" y4 K. Y4 H2 r$ Y

  1403. & A8 Z; J, U2 [2 i& c; X; M
  1404. ; Defines the probability that the 'garbage collection' process is started on every6 H& @& g% k5 {; \
  1405. ; session initialization. The probability is calculated by using the following equation:
    : m( {  h' V" W# t2 p" x, Z
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and& t% t/ _/ k4 a, E
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; |0 ^* @, B; h  L* Z" p- `  x
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 u  P4 r% K) V3 W4 R( N. W$ R- l; _
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you. }: C% S6 a0 f) N0 E- f/ ]
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    5 M" ~- N) f1 ~% J# \" w( O
  1411. ; this is a more efficient approach.6 X- o. Q) d, B$ s2 S8 O2 w1 O, X
  1412. ; Default Value: 100
    6 }. c' t8 I6 o* Z/ P" e
  1413. ; Development Value: 1000; v, s2 C# e/ B) \2 }% m
  1414. ; Production Value: 1000
    9 Q, E" E, y/ ]/ d  d
  1415. ; http://php.net/session.gc-divisor9 g2 Q( _" g* X% e( i9 j1 b
  1416. session.gc_divisor = 1000
    5 n& ?) A$ M% Y
  1417. + f9 {2 R# @7 N5 f1 b3 D1 M+ Y
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    5 F6 t) |, p7 `7 K$ U8 Z
  1419. ; cleaned up by the garbage collection process.
    , D: o' L% i6 Y# Y( T
  1420. ; http://php.net/session.gc-maxlifetime
    5 N1 L5 Z& y% w5 N( V. C- R
  1421. session.gc_maxlifetime = 1440
    ' d5 e) d: n' ~0 u4 g, n, c; _+ q* ]

  1422. ; h  g2 c% Z' w  F: z
  1423. ; NOTE: If you are using the subdirectory option for storing session files' B+ ^( d3 _  `( W( `1 w
  1424. ;       (see session.save_path above), then garbage collection does *not*
    6 [( W! i) P# N+ G$ m
  1425. ;       happen automatically.  You will need to do your own garbage
    + N, [% y/ Y' J) a/ z$ |+ W
  1426. ;       collection through a shell script, cron entry, or some other method.
    # i' @- t3 l; }+ e
  1427. ;       For example, the following script would is the equivalent of
    ' ~; g; q, L; T# y' s6 V
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    * t& I3 l2 b' ?' z4 M8 v: @
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ! i' w0 C  V7 D7 C2 j

  1430. 8 C2 T2 P! p$ y5 y1 v+ W9 P
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    7 H, ^2 h! v, r5 X3 V% u! t
  1432. ; HTTP_REFERER has to contain this substring for the session to be1 e* R/ N8 n, x) \. j
  1433. ; considered as valid.
    " [* B8 R4 i9 \) j* G# v. ^6 A
  1434. ; http://php.net/session.referer-check- B1 z1 {; U% }/ X
  1435. session.referer_check =
    ; H2 {: A1 y* W& C4 d
  1436. ) I8 M+ G; W: v8 m( K
  1437. ; How many bytes to read from the file.
    9 Q6 y: m; A8 C9 V* b) Z
  1438. ; http://php.net/session.entropy-length
    ) y2 K. t1 _# b1 a! ^
  1439. ;session.entropy_length = 325 y# {3 m$ a7 j) ?! u3 b

  1440. 1 H$ M3 e- A! ]
  1441. ; Specified here to create the session id.8 A2 _$ \; c- K: ?, {
  1442. ; http://php.net/session.entropy-file
    ; O/ P* G# u& Y
  1443. ; Defaults to /dev/urandom
    ) X1 j. R, [7 U1 O0 n
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom# c; q- B3 J$ w0 ]3 o  t* l
  1445. ; If neither are found at compile time, the default is no entropy file.
    - z# T) J9 ^2 B+ z! O. g& d
  1446. ; On windows, setting the entropy_length setting will activate the& X6 e/ `1 W4 a& B. p) q2 d$ s
  1447. ; Windows random source (using the CryptoAPI)
    ! }6 a/ C' S9 Z' _' Q; W' |# V# O
  1448. ;session.entropy_file = /dev/urandom' i. n+ w7 l0 `  j, [6 @# C+ q. }

  1449. 5 `5 p; k& Z  H! @; Y3 \
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects, f8 \& s0 i: i9 W
  1451. ; or leave this empty to avoid sending anti-caching headers.
    , B+ I. _5 V- V) K7 E9 @
  1452. ; http://php.net/session.cache-limiter6 r) l1 f" D# o/ [
  1453. session.cache_limiter = nocache
    8 X7 ]5 {* Y6 [# K+ A
  1454. : T3 J1 l) g" s3 o  @6 t
  1455. ; Document expires after n minutes.% z6 C+ S, I0 M
  1456. ; http://php.net/session.cache-expire3 O6 l3 o+ h+ M* B0 C
  1457. session.cache_expire = 180
    4 y: q: r  y- p2 M3 F8 P/ y

  1458. : `7 S3 R  W8 B: u/ L% C2 J* n% i
  1459. ; trans sid support is disabled by default.
    6 P# @0 T( d( B1 _* d. q8 g, Y
  1460. ; Use of trans sid may risk your users' security.9 A" o; t* F3 c% v0 u! q
  1461. ; Use this option with caution.3 u$ D5 B: O1 i' L/ z
  1462. ; - User may send URL contains active session ID
    & [) @: e9 I4 J" }) ~
  1463. ;   to other person via. email/irc/etc.3 q1 I: f9 S% M4 C( S3 Y% ~" Z
  1464. ; - URL that contains active session ID may be stored
    % {8 q6 f) t* W4 t2 {  s
  1465. ;   in publicly accessible computer.
    2 B' c2 b+ {/ c2 s5 @
  1466. ; - User may access your site with the same session ID
    & v" ]& n% Z/ x6 F, l
  1467. ;   always using URL stored in browser's history or bookmarks.: K( ]8 K. [$ v- D' _6 {6 ]# k& Q6 p
  1468. ; http://php.net/session.use-trans-sid! Y/ B  V: p6 J
  1469. session.use_trans_sid = 0/ R% ~, O1 X4 x% C
  1470. , _0 W5 w; B9 G6 C" m1 h
  1471. ; Select a hash function for use in generating session ids.
    3 J2 `  Y# ]6 k- i" U
  1472. ; Possible Values
    ) i* m- T. l& T& U8 X. j- B
  1473. ;   0  (MD5 128 bits)
    ! \' e. z- E. I/ a5 R) |
  1474. ;   1  (SHA-1 160 bits). E+ I, j" q8 v' B+ K  s- @* k8 p2 v
  1475. ; This option may also be set to the name of any hash function supported by
    + o8 Y+ f% Y8 x8 K8 Y
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()% a" I3 w( d  R; m
  1477. ; function.
      h1 j9 s1 M! l- T# I
  1478. ; http://php.net/session.hash-function* K) C7 c% M: H  G
  1479. session.hash_function = 0/ [' H5 X" b6 ]  U
  1480.   F7 p2 _: g6 I, B4 A5 P% U7 w
  1481. ; Define how many bits are stored in each character when converting7 E8 W% @8 f! V: s9 O' {
  1482. ; the binary hash data to something readable.$ C- ^+ q4 b! W5 M' Z; D
  1483. ; Possible values:
    6 o* t0 ~, X5 h# f  L3 Q! j
  1484. ;   4  (4 bits: 0-9, a-f)
    ! w. r- ?$ Z0 j! ?; ?1 |
  1485. ;   5  (5 bits: 0-9, a-v)
    ( _: `: x# J' B! @1 h
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    4 [, w9 y9 G3 y$ ?/ d- [* O8 x8 J
  1487. ; Default Value: 4
    * S" A& n2 X4 P9 E. h8 j
  1488. ; Development Value: 5
    % L$ ?( N: L$ S" k( o7 v3 C6 t' z: R
  1489. ; Production Value: 5/ k7 |. T' d* E& B( Z+ I* i
  1490. ; http://php.net/session.hash-bits-per-character
    / j4 [4 a6 N, u1 z) L& l. M8 z6 E
  1491. session.hash_bits_per_character = 5
    / u( f9 G6 h' Z; C- L$ [

  1492. " b; a% Q# C) K
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.5 ^! p9 D9 K3 q8 x
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ; P, a* ^# |) J8 q( M5 y
  1495. ; add a hidden <input> field with the info which is otherwise appended% B' K- v5 A/ V% k4 t
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.6 d2 O3 `/ C7 u) E8 @: |! u
  1497. ; Note that all valid entries require a "=", even if no value follows.& J- a3 a% B+ j! m: g  O) J" E
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="0 V# n+ B+ O. }1 [
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 ~3 X& y  c9 u% o+ N
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- B& ~! G; ^* h8 }( Y8 m# X
  1501. ; http://php.net/url-rewriter.tags
    / s, ^: ^2 C* ^$ G
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"- \. [9 U( b+ [8 f

  1503. 8 T+ y5 x# S& \- M
  1504. ; Enable upload progress tracking in $_SESSION
    & y: y$ l! T8 w, y
  1505. ; Default Value: On
    # o; A. k( o- L' E. ^7 a
  1506. ; Development Value: On
    % g  i( M; G: Z( r
  1507. ; Production Value: On/ n: H$ A3 d) ]  a, g" N
  1508. ; http://php.net/session.upload-progress.enabled
    . U, Z1 q' }; V8 [5 u4 T- c
  1509. ;session.upload_progress.enabled = On$ M1 G9 Q) @& Q$ W. i. D, F/ @

  1510. - A# X' M$ Y& o5 Z$ Z
  1511. ; Cleanup the progress information as soon as all POST data has been read' i* K. V5 F5 \% r4 J4 T' v3 @
  1512. ; (i.e. upload completed).$ j: `: o1 F6 _; T# s! f
  1513. ; Default Value: On$ w( B: \0 y4 r, ]0 O) Z
  1514. ; Development Value: On
    % |! V/ L4 T$ x
  1515. ; Production Value: On+ J, S! Z, d4 S7 E
  1516. ; http://php.net/session.upload-progress.cleanup3 U1 |9 M( O) S: Q3 L$ @
  1517. ;session.upload_progress.cleanup = On
    0 H4 O* a) S1 v8 w

  1518. ! {9 V/ q* i5 q6 S+ _* g
  1519. ; A prefix used for the upload progress key in $_SESSION
    ; O, {9 C9 }  M% }! r
  1520. ; Default Value: "upload_progress_"
    * i7 B& B3 X: z9 E0 [% X/ a
  1521. ; Development Value: "upload_progress_"0 G1 @% z, x' V" A) u, P
  1522. ; Production Value: "upload_progress_"
      y& D" d; e3 y7 _" a# b+ N7 ?
  1523. ; http://php.net/session.upload-progress.prefix2 n( o2 k- ?3 M" a+ W
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ! C+ m$ ]- E$ Y$ b

  1525. ( I9 l8 @6 Z: N, i6 ^* g
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    - C; }: ]6 H; U+ b5 [( M- {# L4 D0 v
  1527. ; containing the upload progress information; p3 v7 V6 `1 d) @
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"2 [) E; f  b1 @6 o) h
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"  m/ R: Z' f0 K- f1 Q/ t; s
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * x9 \. v$ Y2 [2 ?' o3 W" \( u- z4 A3 }
  1531. ; http://php.net/session.upload-progress.name
    & K) \6 e/ I0 z9 }) \& @
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    0 e: l2 \% \- }2 X* B. \

  1533. - n6 d1 {+ T' _/ |8 S
  1534. ; How frequently the upload progress should be updated.( Z9 c9 Q4 x3 R! f
  1535. ; Given either in percentages (per-file), or in bytes' C3 k! K, `4 G! U3 M
  1536. ; Default Value: "1%"% _0 J- p9 v8 h( U
  1537. ; Development Value: "1%"
    # o1 b8 V" z1 }* n4 S
  1538. ; Production Value: "1%"+ m) X( Y+ ^) r. `# z
  1539. ; http://php.net/session.upload-progress.freq& k: H% c' D3 q( `3 X2 a
  1540. ;session.upload_progress.freq =  "1%"
    # g0 A" p' x' l5 K

  1541. 7 D8 O/ P% M- x, O; M+ U0 |! [4 M, h
  1542. ; The minimum delay between updates, in seconds# h5 m- I6 |6 V4 i* h
  1543. ; Default Value: 1% Z$ O8 A/ s3 H1 I3 ^1 [% C( E
  1544. ; Development Value: 1
    & Z/ J1 _) Q3 ]. F1 L
  1545. ; Production Value: 1* ~6 A- q4 D4 E1 p' n. l$ n- T
  1546. ; http://php.net/session.upload-progress.min-freq
    * i9 o. _6 t7 ?+ `, G2 {" t8 T
  1547. ;session.upload_progress.min_freq = "1"
    " m' U0 T: l7 G! T
  1548. 9 Q) B) |. t+ n* N! ?5 B
  1549. ; Only write session data when session data is changed. Enabled by default.$ k) n) U  l  z- a
  1550. ; http://php.net/session.lazy-write$ Q. Y, ~9 {0 y, n, z# ?  O- q
  1551. ;session.lazy_write = On0 {# K( @% C2 r

  1552. : V. J  ]3 e7 r5 p
  1553. [Assertion]
    . P& Q9 l* O5 B5 J9 ]) g7 f
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)& w: w, i$ _* V/ V
  1555. ; -1: Do not compile at all
    . H  k/ x1 E) u/ Y: {% r+ C. [! s
  1556. ;  0: Jump over assertion at run-time
    - u  m% C2 E( @7 c1 a! I2 r
  1557. ;  1: Execute assertions
    2 L0 q$ F8 J. w. M0 o
  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)
    0 _8 \5 j/ s) W& G" q, t! S
  1559. ; Default Value: 1  P# w9 b( r& @) ^: d3 R
  1560. ; Development Value: 1$ i* e' T$ O8 D. l3 K" \
  1561. ; Production Value: -1+ I+ d6 i  Q/ N
  1562. ; http://php.net/zend.assertions
    . n2 ]7 n3 P) b+ B. n( f: T
  1563. zend.assertions = -17 Y- e4 a) ^5 G5 F4 X
  1564. / A* e7 M1 u$ {4 R, ]
  1565. ; Assert(expr); active by default.
    ' M( G. n- o# d+ n+ T
  1566. ; http://php.net/assert.active6 K6 O- o# o2 }& o) @/ L1 o5 j
  1567. ;assert.active = On
    " s# k# C8 i' l

  1568. % C: e3 u5 E6 J" ]1 }
  1569. ; Throw an AssertationException on failed assertions
    $ f6 Z5 B9 u. B. A; }1 u- B9 l
  1570. ; http://php.net/assert.exception
    ( D1 N$ H8 t9 o8 k
  1571. ;assert.exception = On
    8 i" r1 f1 J- n) I2 c

  1572. 6 z0 }0 b) u+ v, f3 K# r9 U5 I1 v
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active): D# R- }# }3 Q4 A5 T
  1574. ; http://php.net/assert.warning
    * y8 F( ^+ |( g* N
  1575. ;assert.warning = On
    2 j7 i5 }9 r' v5 q; A
  1576. + L& R' v  H  B$ s4 b
  1577. ; Don't bail out by default.$ s& c; A& s" M: z
  1578. ; http://php.net/assert.bail% w2 k. z0 B; S' G
  1579. ;assert.bail = Off
    # x' r0 ?9 z6 \5 D) a5 r
  1580. 3 Q/ T) \1 O4 X, \
  1581. ; User-function to be called if an assertion fails.% U3 z1 k3 @8 @1 X, Q  d- m! o+ S
  1582. ; http://php.net/assert.callback
    ! M* H$ k2 _/ r" Y; k: }' _) Z$ G
  1583. ;assert.callback = 0% P4 Q) ?. q% c5 l

  1584. 1 ~5 P; _/ \* Y3 w: v) |, K
  1585. ; Eval the expression with current error_reporting().  Set to true if you want! v6 j4 i: ^5 b4 G
  1586. ; error_reporting(0) around the eval().9 P! p# k3 R: v# v* i1 `+ @
  1587. ; http://php.net/assert.quiet-eval
    # I- y4 H3 [* E8 Y
  1588. ;assert.quiet_eval = 0) u- {2 a0 q6 l- ~% Q' _+ R1 z9 {+ B3 Z
  1589. 0 Q, w/ J& A. S( A0 w8 }6 K
  1590. [COM]
    % ]8 e5 j5 @0 z5 [! T3 I8 T5 V
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    5 _' ~) e; E% U% u4 w: }) O8 V
  1592. ; http://php.net/com.typelib-file
    - r& ^. ?) O2 E7 a
  1593. ;com.typelib_file =! P" E4 u% _2 ?/ ?

  1594. ; {" x, H+ ^1 B: F3 N& K
  1595. ; allow Distributed-COM calls
    1 n( @/ c! A* [$ D, U: B
  1596. ; http://php.net/com.allow-dcom! w2 c3 o) `; B" {9 `! f2 w
  1597. ;com.allow_dcom = true
    - P6 r  C4 M/ k" S
  1598. 8 x4 Y5 S0 l$ \
  1599. ; autoregister constants of a components typlib on com_load()& P& t3 w; c9 V2 ]
  1600. ; http://php.net/com.autoregister-typelib6 `4 D( E# v" d8 K4 K9 w0 k! k' a% O
  1601. ;com.autoregister_typelib = true% M2 ~; l, Y/ T( N1 I
  1602. " L0 L6 q; W. e, z$ ]+ ]( n) j. H5 Z* w' W
  1603. ; register constants casesensitive- E; r! `- M5 N2 z+ R
  1604. ; http://php.net/com.autoregister-casesensitive: m  h: T  C/ B
  1605. ;com.autoregister_casesensitive = false
    3 n$ |9 N+ Q/ u1 G" K

  1606. 8 e0 K# p7 s2 N2 M4 t
  1607. ; show warnings on duplicate constant registrations/ S' k4 @; F, g. g
  1608. ; http://php.net/com.autoregister-verbose
    - e( b6 B% I9 }5 q
  1609. ;com.autoregister_verbose = true7 S( B: j$ J( T, B0 V) G
  1610. * W' F7 f& k! N1 m2 y$ X
  1611. ; The default character set code-page to use when passing strings to and from COM objects.7 B/ ~- W# o1 w8 S, ?, k/ p
  1612. ; Default: system ANSI code page) m( d, u1 l2 ~: `* m, r( r- X
  1613. ;com.code_page=) U; M# I, ]5 V
  1614. ! Q; f( M  j* h1 Y+ q) E
  1615. [mbstring]6 ~- b7 J+ U3 y' M/ ~% q: ?
  1616. ; language for internal character representation.+ a* E4 H" R$ b5 L  Y3 k( K
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    " Z3 r8 U& U. c! P) m+ C% e7 h
  1618. ; http://php.net/mbstring.language" L$ \5 ~4 c! G) z$ D
  1619. ;mbstring.language = Japanese* H6 C( k9 [' g0 y  ]
  1620. + w1 i( k1 @: ?  b
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.' I9 B6 R; A! K3 G5 x! g% Y. t. H
  1622. ; internal/script encoding.
    , D; \( W- e3 ?- d0 B& U
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)5 d0 w9 l+ w8 P( ]% n$ y
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.& K0 m6 s8 x' ]' \: O& {7 Z7 [' C
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding. z" F" e: a# M7 l
  1626. ;mbstring.internal_encoding =
    + N- R8 Z2 }3 l  ]
  1627. 4 N8 Q2 ]6 A# p; S/ x3 _
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.! P% h' [( j. P: o6 w/ u
  1629. ; http input encoding.- M1 M4 O" x9 G, n; X5 T) ~$ K
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.7 L& T5 {: @, x
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    3 Z/ J' `; j) J/ t0 u
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input& ~  P, k# J' D
  1633. ; http://php.net/mbstring.http-input/ [" i  U9 V, t( w# g8 D
  1634. ;mbstring.http_input =
    7 F0 b0 s2 Y) V6 j6 s
  1635. & H! S0 R) K! d
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    / i2 E- u+ T) s6 Q8 E
  1637. ; http output encoding.0 a. V/ U, v+ d/ Q/ v5 r% z7 Y
  1638. ; mb_output_handler must be registered as output buffer to function.% E* ~: T5 F: b8 i3 s
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.) ~0 r% \5 K) U8 V4 [
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ! v% M& R+ c+ D2 v- u
  1641. ; To use an output encoding conversion, mbstring's output handler must be set1 p5 ^8 J9 S) ?
  1642. ; otherwise output encoding conversion cannot be performed.! g" s" o6 \& S
  1643. ; http://php.net/mbstring.http-output2 h" R' f6 u& N% ~) \
  1644. ;mbstring.http_output =9 T2 Z! w7 j" v* I* |6 n3 M8 C1 ~

  1645. # Y- E6 ?( _; U+ h1 W
  1646. ; enable automatic encoding translation according to
    7 O  h) D7 ]! d- c9 e
  1647. ; mbstring.internal_encoding setting. Input chars are
    ; r! F: y5 w( ^9 ]+ K% E) C
  1648. ; converted to internal encoding by setting this to On.0 H: M- x; l2 h( A. I1 }- a4 P2 |# l
  1649. ; Note: Do _not_ use automatic encoding translation for
    ! n" u# P# R' P3 i
  1650. ;       portable libs/applications.
    9 _; P5 w! S. Z
  1651. ; http://php.net/mbstring.encoding-translation
    7 P9 ]' m; F6 E: a
  1652. ;mbstring.encoding_translation = Off
    2 [3 E" B! e  g9 f4 N( ?! \5 R

  1653. 3 d5 `7 ~0 g/ e: Q
  1654. ; automatic encoding detection order.+ O5 H* ]% K5 N! M
  1655. ; "auto" detect order is changed according to mbstring.language$ u: O( A5 u/ r" `, b1 l/ l2 z
  1656. ; http://php.net/mbstring.detect-order
    4 D2 u) W8 |$ y1 u) @0 C
  1657. ;mbstring.detect_order = auto% e3 K3 [# m& D  h

  1658. ( x* g/ l& J% C+ `$ N9 P# C
  1659. ; substitute_character used when character cannot be converted+ h% W+ X. H+ S; k
  1660. ; one from another: e- L; i# h. c0 q  g
  1661. ; http://php.net/mbstring.substitute-character1 m" h7 |7 e) I
  1662. ;mbstring.substitute_character = none5 z  y; }& e4 E; D
  1663. 7 X2 O0 r2 t: Z7 H/ a  r  g
  1664. ; overload(replace) single byte functions by mbstring functions.
    ) [5 f% k' Q+ Y1 M0 _% R8 Q. C& b1 Z
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    , ^* E& Y' ^. X9 y* j
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.; n2 ]( I7 c" [6 u3 Z" d
  1667. ; For example, 7 for overload everything.
    2 G/ s6 n& r' V4 }5 [* A
  1668. ; 0: No overload# f4 f: F0 S# W" Z6 G' g
  1669. ; 1: Overload mail() function+ I' Y( [" V3 b
  1670. ; 2: Overload str*() functions
    & C' i2 G7 g  v  Y' x
  1671. ; 4: Overload ereg*() functions
    % D( ^1 E9 m9 x/ c/ ]7 G0 }
  1672. ; http://php.net/mbstring.func-overload7 S1 x1 H5 B( @: Q
  1673. ;mbstring.func_overload = 0
    8 p; l3 n! L2 ]$ T3 |
  1674. 1 I" K( P$ p: L" n0 w- O
  1675. ; enable strict encoding detection.! l1 R4 D) o+ i4 z4 Y- a9 P
  1676. ; Default: Off. i0 g& k  ^' u! [6 W; E" T' g
  1677. ;mbstring.strict_detection = On) y# h; y* `! T

  1678. % {3 f$ |0 F7 U7 c" @9 V$ \4 w  ^
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    3 S7 x( q2 U. W8 A, y4 b0 L
  1680. ; is activated.
    + ^) t! [' _+ X% Y
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)  Z/ q9 ?2 M- p( _
  1682. ;mbstring.http_output_conv_mimetype=9 k/ V: u! B9 H+ C( K
  1683. 2 T4 v! i. h/ K5 E" v. q+ K
  1684. [gd]
    ) J% H" ^  I/ S5 D  C
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    7 H0 D6 g# w& Z& J2 X
  1686. ; a gd image. The warning will then be displayed as notices5 }+ t2 C. J. s/ B% m1 f1 K$ [9 m
  1687. ; disabled by default) v/ [; W1 L* B9 G8 P
  1688. ; http://php.net/gd.jpeg-ignore-warning
    " O. c1 W# O- G
  1689. ;gd.jpeg_ignore_warning = 0( W* P* n/ r; C( l

  1690. 9 S' W) Z" t2 ~( @! l' @
  1691. [exif]% Q3 D1 l7 S; E4 |/ ~  p$ O
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.! ^5 e2 V* u2 t( K0 g/ L0 s, b
  1693. ; With mbstring support this will automatically be converted into the encoding+ t6 m, ?2 U. B) J. T# H' m
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding$ d* V9 Z  M: u6 H- |5 x
  1695. ; is used. For the decode settings you can distinguish between motorola and
    6 v! g0 Y6 T) g( L; j/ m8 A
  1696. ; intel byte order. A decode setting cannot be empty.: h0 N1 M) [" U0 G! }1 C5 b
  1697. ; http://php.net/exif.encode-unicode
    9 |/ _# N/ ]8 M% \" \* ^5 K
  1698. ;exif.encode_unicode = ISO-8859-15
    + n% g) ]8 H1 s8 ?! L  b; @' r

  1699. 5 G# w5 S" o, v7 e  l# H/ E+ I
  1700. ; http://php.net/exif.decode-unicode-motorola2 a  J* q' L4 `. I0 l
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    % \4 j6 M: N  t" C2 Z  y% i0 H
  1702. * M  ]) S7 |4 F$ \
  1703. ; http://php.net/exif.decode-unicode-intel. a0 ]1 \: t8 O) k4 ^6 |
  1704. ;exif.decode_unicode_intel    = UCS-2LE# y- v& P( v  }- W
  1705. 2 j: B" s# k. E# ?
  1706. ; http://php.net/exif.encode-jis* {: \9 t$ [6 \- ^2 ^$ J
  1707. ;exif.encode_jis =  v2 n& |* U2 W: [, a7 Q
  1708. ( J6 W/ C' j  ^& d, q! F
  1709. ; http://php.net/exif.decode-jis-motorola) u) w( X3 w2 s% [5 T7 H7 Y
  1710. ;exif.decode_jis_motorola = JIS9 K* t: y  C) _7 O0 |
  1711. 1 ]% h( G" y2 B1 Z) e7 h
  1712. ; http://php.net/exif.decode-jis-intel* z5 h5 C3 p2 W  G8 {9 i
  1713. ;exif.decode_jis_intel    = JIS2 ~" ^7 G* ^! n7 H

  1714. ' Z4 X' B- ^7 Q7 _2 u: C
  1715. [Tidy]
    ( C* R% h: s2 U$ ^( }
  1716. ; The path to a default tidy configuration file to use when using tidy4 a) ]4 T# v  B- c1 |; E1 b
  1717. ; http://php.net/tidy.default-config
    . v$ A4 m; t3 N* l
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    1 h& m. N- I) g3 i; \7 H* @
  1719.   `# c0 a4 [8 _" R" \- f' L
  1720. ; Should tidy clean and repair output automatically?0 w3 I, E# u- ^
  1721. ; WARNING: Do not use this option if you are generating non-html content/ f  V" Q7 p. Z* _  G3 |. l4 A+ i! c3 Y
  1722. ; such as dynamic images
    : C, u3 z7 y! M% U* F# j+ u
  1723. ; http://php.net/tidy.clean-output. X$ ?" j1 `. F/ t' H9 v  Y2 K
  1724. tidy.clean_output = Off' e; v8 O. ?% S- V" g& n0 j
  1725. 9 S- Y" r6 N. a1 m( [; X0 q
  1726. [soap]
    8 Y. p4 ]& O/ e; t8 u7 ~5 d
  1727. ; Enables or disables WSDL caching feature.
    . w  S% `; o- E4 X! l
  1728. ; http://php.net/soap.wsdl-cache-enabled8 I+ z: \3 x* f) w6 k
  1729. soap.wsdl_cache_enabled=1
    6 f# [. G) J  E1 z. a
  1730. . N" `* \+ [# P% R& N, v& C
  1731. ; Sets the directory name where SOAP extension will put cache files.- D0 ]; M/ I, F# C9 \- I: i; N. n
  1732. ; http://php.net/soap.wsdl-cache-dir* G# ]1 J7 a, U; O9 u; R
  1733. soap.wsdl_cache_dir="/tmp"
    4 \+ V& B$ m' a

  1734. : j, m  x, g- @! o3 V( V
  1735. ; (time to live) Sets the number of second while cached file will be used
    . A" g. H1 S( }0 j% D( y
  1736. ; instead of original one.
    $ G$ e0 J5 |; Q4 w- E- z
  1737. ; http://php.net/soap.wsdl-cache-ttl3 O6 E. q+ {. [& y
  1738. soap.wsdl_cache_ttl=86400
    ; [5 L# V+ e6 m0 J4 R4 [! s

  1739. % H, a5 K9 u- d; ]
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    " i/ s7 D5 q2 @' p/ x/ Z) ?
  1741. soap.wsdl_cache_limit = 5
    $ }+ L3 Y( G( ~* e3 X

  1742. ) c7 _4 A. S& m, q; U: Y) S& ^
  1743. [sysvshm]; _% g# [" e) a+ Y* O4 W; t/ R
  1744. ; A default size of the shared memory segment
    ) F0 u6 Q  I" X/ A3 Y: k; @2 F
  1745. ;sysvshm.init_mem = 10000' @0 o' K6 o7 F! z% Z5 J3 R

  1746. 8 f7 k1 P. z; t! w! U) P  N) Z
  1747. [ldap]9 `8 X/ `$ Y: w$ y( i2 o' k
  1748. ; Sets the maximum number of open links or -1 for unlimited." }. J2 b) Q0 n* x
  1749. ldap.max_links = -1
    $ O0 }- X7 I) [1 Q( @( g1 ~
  1750. ) k$ A( [  U& D
  1751. [mcrypt]
    . {" s/ h' Z! ]( V" v- E
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    6 |/ B- R7 I0 G0 l) O

  1753. . h. O0 Y+ x7 R$ o/ R
  1754. ; Directory where to load mcrypt algorithms- p( [+ I: d: j/ j6 w. |) Y/ m& s) H' s
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)' n1 o& O2 D  s- Y
  1756. ;mcrypt.algorithms_dir=$ q* o% h! o# u! D1 Y9 n: A7 z! X$ P5 P
  1757. 4 X0 ^3 `7 ]5 w. ?* l9 A  F5 T2 o8 |
  1758. ; Directory where to load mcrypt modes
    ! o% {" X- ~( ?4 S
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    9 }5 A9 ^( |1 A
  1760. ;mcrypt.modes_dir=" S+ O& a$ S6 t, @' P
  1761. , y- ^4 P" Z: W" t
  1762. [dba]& I& V3 }% ]$ g2 ~
  1763. ;dba.default_handler=5 \0 s5 u! q) x3 L# t3 g& N
  1764. : s1 d% w2 \# r( b0 H
  1765. [opcache]9 C. ]0 Z9 z; t, W$ ?, u1 {( s
  1766. ; Determines if Zend OPCache is enabled/ Z1 t: R% T, }& P* v) Z. z# K
  1767. ;opcache.enable=0
    6 r, Y$ E( L, ~! F- ]5 U
  1768. ( x) {! Z. B8 X( [  f' J' P
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP' _5 r3 [! B# u: o
  1770. ;opcache.enable_cli=0/ W9 i5 m! c. m8 {7 \
  1771. $ F1 M- k9 Q( B
  1772. ; The OPcache shared memory storage size.
    . d. v9 I/ o2 n1 E8 T6 F8 V6 l5 R
  1773. ;opcache.memory_consumption=64
    4 A) |& Y! h, ^6 z* k- F/ u

  1774. " l5 q/ R# a8 P( N, X. {
  1775. ; The amount of memory for interned strings in Mbytes.
    5 P8 z3 q# p( C7 c' G+ U
  1776. ;opcache.interned_strings_buffer=4! e0 j" j! D* o6 p3 _8 L7 ?3 M& n$ v
  1777. $ |, u/ `' p0 }- L
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    5 V& P! R5 ]+ B% `6 i( n: D; R0 V, Q
  1779. ; Only numbers between 200 and 1000000 are allowed.
    8 n3 y: C: @/ N9 [* k/ [1 Y
  1780. ;opcache.max_accelerated_files=2000
    - m- ~8 s6 {2 g& @2 O$ d+ H
  1781. 9 e0 ~+ L& i1 [% z* y
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.! G; b9 ~4 `9 \, D+ r; n7 F
  1783. ;opcache.max_wasted_percentage=5% F" {  b. \: y! R# _0 n! Z" R# F

  1784. ! Q" Z8 J- ?7 X* G/ @% N  Z
  1785. ; When this directive is enabled, the OPcache appends the current working
    % u5 s; z/ f: u2 b( g1 L: P& |
  1786. ; directory to the script key, thus eliminating possible collisions between
    / O9 ?0 H" C9 o  z
  1787. ; files with the same name (basename). Disabling the directive improves' M& `! Y3 I( Z/ ~% P: y8 o
  1788. ; performance, but may break existing applications.5 P; R/ ~( l! s
  1789. ;opcache.use_cwd=1
    0 d& n; ?1 K' R6 O" \( p9 g

  1790. + Z; H& H$ P+ F. Z/ p
  1791. ; When disabled, you must reset the OPcache manually or restart the
    8 E; l) |' u' ?" Y0 @
  1792. ; webserver for changes to the filesystem to take effect.2 L9 q+ y% I$ W% K, l* E* n3 N
  1793. ;opcache.validate_timestamps=1
    4 C6 C0 E7 o* \3 W) V4 K# Q4 j
  1794. 4 m2 N, d, G! j4 v/ W) ]2 v
  1795. ; How often (in seconds) to check file timestamps for changes to the shared/ V4 H( f5 U. U
  1796. ; memory storage allocation. ("1" means validate once per second, but only2 S0 g) }# {& r5 B) a& H9 X  n2 P
  1797. ; once per request. "0" means always validate)
    4 f1 W/ ]8 c6 U
  1798. ;opcache.revalidate_freq=2' c6 T9 ^0 l$ ~0 @

  1799. " P  D1 l. ?- f7 V& P
  1800. ; Enables or disables file search in include_path optimization
    $ m2 {) z* \; Q- S' y& K$ j2 I2 K
  1801. ;opcache.revalidate_path=0- J+ ?9 K( v2 B$ n/ ^2 ?8 H$ q

  1802. ( ^7 X, W- W5 O' {9 V5 p4 n
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
      c' B! B$ R" J. B1 \! v+ t
  1804. ; size of the optimized code.0 F! T9 p: i( b5 i# t( L
  1805. ;opcache.save_comments=1
    & i" U, x+ {  D4 A1 f4 f+ I

  1806. 2 U/ a7 f6 k+ k# A
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    " ^/ Z; }& y* E- |' `; l+ n% r; E
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.3 `& f' M; |& Y% d6 o  A) c, B
  1809. ;opcache.fast_shutdown=02 [! K% e; e# y. d4 C: d9 L. {8 p5 K! |
  1810. . |, [* ?: s8 e/ D8 ]- ?
  1811. ; Allow file existence override (file_exists, etc.) performance feature.4 j8 ^, c9 C$ w* r+ Z. H
  1812. ;opcache.enable_file_override=0
    ' o' c% p! B6 i" M
  1813. 0 d4 ?6 I* A6 P+ @; n- ]
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache6 a( L3 g; `' r2 s( x
  1815. ; passes
    " D5 M3 `# n% a7 h/ `7 ]  p' D9 W8 i0 f
  1816. ;opcache.optimization_level=0xffffffff
    * v$ k6 D* o# G4 r, w+ O
  1817. ; }5 ~- l* ~4 L; |; d
  1818. ;opcache.inherited_hack=1! ?/ \! h, s0 K8 C3 d9 c# m
  1819. ;opcache.dups_fix=0
    ) v; \5 u* E+ o$ B, f; t( ?

  1820. & ~6 L5 X" h8 x. \3 |( I1 I
  1821. ; The location of the OPcache blacklist file (wildcards allowed).+ o& l% r: I0 ~% N4 o
  1822. ; Each OPcache blacklist file is a text file that holds the names of files6 I7 S8 p6 \' l+ V3 q
  1823. ; that should not be accelerated. The file format is to add each filename
    4 u8 I$ [3 |$ x
  1824. ; to a new line. The filename may be a full path or just a file prefix. N& V$ l0 S5 v: O; i
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www  ?, [8 E0 i' `3 o! U
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    1 n3 }" }8 L& s& ?/ }
  1827. ;opcache.blacklist_filename=) X0 l  p+ L' O" u( i! q" g! E

  1828.   R) Q0 V9 }3 q4 ?+ u& f
  1829. ; Allows exclusion of large files from being cached. By default all files+ I" N5 J) O( n7 C* }# {
  1830. ; are cached.
    / @2 h& r0 K9 F6 z/ M
  1831. ;opcache.max_file_size=0" H( b0 Y" c6 Z- Y) j
  1832. ) Y7 M6 h4 |) f9 ^
  1833. ; Check the cache checksum each N requests.: ^$ j& Q" G, A& n3 e
  1834. ; The default value of "0" means that the checks are disabled.
    % w5 F8 J" h  q! l  o  [  t% W2 ?8 J
  1835. ;opcache.consistency_checks=0* Y( Q; K- D" W* U
  1836.   ~1 M0 g0 \, O+ b+ z4 R6 N/ }
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache0 Z' _+ ~9 I. f3 {
  1838. ; is not being accessed." b7 U# [, J) {% d$ u
  1839. ;opcache.force_restart_timeout=180
    * h( Q; A* r+ B! J# U
  1840. , ]6 }( i2 q" ]8 ?0 ~
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    5 ]4 ]6 e* O% B" c$ P& k$ X
  1842. ;opcache.error_log=
    6 C! u) c/ h/ J7 y6 n' e# O

  1843.   H$ n+ |+ K  w9 f1 L+ Y
  1844. ; All OPcache errors go to the Web server log.7 m0 f9 z. y8 F4 d+ f9 J& ~; W
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged., i, t2 ]) F3 _! j8 r  n4 A7 g6 s
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    ( n. f4 C/ [: {2 P* B
  1847. ; debug messages (level 4).0 w( X' }" X4 D3 q3 q
  1848. ;opcache.log_verbosity_level=1* ^: z+ N* v4 R9 `% R7 c
  1849.   V: f, j( V# |" z; L
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    9 O! ~! M, S/ w9 ]9 c, S- r
  1851. ;opcache.preferred_memory_model=
    5 Y1 {" m+ e9 C/ O  l
  1852. 3 g0 Y; G! D" A
  1853. ; Protect the shared memory from unexpected writing during script execution.
    2 u) `* {6 G* [4 T* B; M
  1854. ; Useful for internal debugging only.
    3 f# }  p' t/ w0 |/ O
  1855. ;opcache.protect_memory=05 N  T: P- y+ q! h4 D

  1856. ' Q; {' K# b, A  T6 r5 M  f! e
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is* Q. I. ~$ |9 w4 e% Z: M# R
  1858. ; started from specified string. The default "" means no restriction
    , W; v* T/ ]5 I: j0 L1 {1 A
  1859. ;opcache.restrict_api=& g$ Q" ~2 t5 a
  1860. & ?1 n& e; q# ]: s+ b) _8 y( T
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    - A5 F" m6 j2 Y, t# i0 p9 S
  1862. ; processes have to map shared memory into the same address space. This
    ; p2 u+ h( `1 G. z
  1863. ; directive allows to manually fix the "Unable to reattach to base address"2 ]# G) a0 I$ H+ @- n& L
  1864. ; errors.
    - Q; S# e- ~; d
  1865. ;opcache.mmap_base=
    : ?9 C% L% _5 J# ?5 m' o0 }5 J

  1866. 2 ?. k0 P- q- {, g; ?1 `# C9 m
  1867. ; Enables and sets the second level cache directory.8 l6 N/ l) Z4 C% m1 e
  1868. ; It should improve performance when SHM memory is full, at server restart or" @  Q8 ~4 U" P5 J9 M
  1869. ; SHM reset. The default "" disables file based caching.
    2 w# O$ Z9 o8 C7 q9 ]
  1870. ;opcache.file_cache=& L4 Z' \. `% I( F( \. t: \( ^- p
  1871. $ M, _7 w: K( m9 t
  1872. ; Enables or disables opcode caching in shared memory.
    ; i; J, r: Q6 G* G8 z
  1873. ;opcache.file_cache_only=0
    # X9 c/ v! R" V* I  ~/ b' x

  1874. % i  x! e. S+ n" U/ d. O$ a0 Y0 Q
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    4 c4 _2 t5 f" t. y" h4 S' W/ D8 ?% y
  1876. ;opcache.file_cache_consistency_checks=1% {* N# V3 v( c6 S0 F
  1877. - n7 y. Y$ b0 Q2 J
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to# O+ o  ^: s, f- B8 I7 b+ R* D
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    5 y' x; d7 |6 A$ m$ p, M* G
  1880. ; cache is required.
    # n! f/ P' |, f0 }8 v) c
  1881. ;opcache.file_cache_fallback=17 m7 @7 Y. N% y: O9 w" |8 t
  1882. : f* J+ U9 G% s7 L% y0 S4 Z2 A
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.7 p: g+ F# L1 m3 y# Y
  1884. ; This should improve performance, but requires appropriate OS configuration.5 c# z+ Q5 x0 k7 g' j: t* G
  1885. ;opcache.huge_code_pages=1
    * C- ^! f0 n, a* ]# Q

  1886. ( r. _! i. q: P! Y+ j4 j
  1887. ; Validate cached file permissions.
    ! o+ k* X( e* W+ d
  1888. ; opcache.validate_permission=0, j* o/ l" A$ O; R6 V2 V. I" }- G

  1889. 6 Q" Z/ n( x! k# F: j3 x% ]) `
  1890. ; Prevent name collisions in chroot'ed environment.% u! v# z  f  l1 w+ J3 `
  1891. ; opcache.validate_root=0* l+ Z7 g) a. U* a

  1892. ) i  I3 D3 T# C5 v
  1893. [curl]2 b1 v- w/ ^0 R% h# L
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    2 \6 k( ?' Z" @. U
  1895. ; absolute path.
    1 t. I+ G  W6 c1 o' C4 T( R' {3 s
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    / d4 `6 e2 \' f0 M# P8 X: c
  1897. . T. }! ^4 {6 F
  1898. [openssl]
    1 _0 J' z- l8 {9 o9 U% C
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    / I- Z# s% d% O- L+ y5 M6 b
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    8 e4 c; g! u( e' X* G
  1901. ; not specify a value for this directive as PHP will attempt to use the
    & \- a5 b( R) X2 B. S6 ?) T
  1902. ; OS-managed cert stores in its absence. If specified, this value may still7 `# o4 z# C8 F+ f
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    / @7 ]3 R5 h0 h
  1904. ; option.2 v, v8 f* ]8 w9 `& y) k  c$ l. u
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ! S" X8 \# {) w1 s- }6 |5 u" _& C

  1906. 9 M. v/ M0 ~3 m5 t; p
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the2 [" \, t6 e- {$ g" {5 ~
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    1 V: M/ _* j7 J$ _
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    / p) {$ o% S% \: C/ ?
  1910. ; Most users should not specify a value for this directive as PHP will
    ! B% Q1 v& }- R  y
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    . P8 ^1 N) }  n1 W2 f7 {* l, Z& T
  1912. ; this value may still be overridden on a per-stream basis via the "capath"8 `2 ]$ d9 g( C, j
  1913. ; SSL stream context option.
    6 ^9 D6 M* r( J2 l) M! [$ K
  1914. ;openssl.capath=7 ?4 i. P* q/ ^
  1915. . [1 F% \+ x2 c/ E- P  z0 k
  1916. ; Local Variables:' _  t$ A% K  I6 n4 p4 n8 ]* r
  1917. ; tab-width: 4, X) c+ w9 m: y7 V- B' R
  1918. ; End:& x" ~9 M& s: q7 G# G- G  W

  1919. & Z! k+ h' E% X+ q! e
  1920. ;eaccelerator; T9 i4 x1 N) \- ]: u0 B9 J" P
  1921. % T+ Z$ S$ E6 a. O) v) o
  1922. ;ionCube4 ?9 m% Y4 A& Q5 i1 ~
  1923. $ g- \3 `0 ^& V' `0 s3 L' c4 a
  1924. ;opcache
    ) F3 w+ p5 o; @) j4 O: y8 o
  1925. 1 E+ }! m1 F; p4 Z$ i* g+ S
  1926. [Zend ZendGuard Loader]9 S& n: G  o# Z$ B% g; \+ r( W: P
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.  z2 I; u' w! M4 G- ~$ d
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
      Q. c( R- L9 w* q& Q: F9 X4 ~; e
  1929. ;zend_loader.enable=1
    . x0 x* O4 o8 R+ o
  1930. ;zend_loader.disable_licensing=00 b5 z7 s  I4 T5 u4 w. z6 ?
  1931. ;zend_loader.obfuscation_level_support=3
    ! N) o4 J* q7 P
  1932. ;zend_loader.license_path=, J' W  n9 v2 F7 U+ {

  1933. 7 u% E6 E: K" r5 ^6 C
  1934. ;xcache
    & D7 i9 i: d3 U" T& w
  1935. 7 P( v- ^# O) Y7 {( [) r0 u6 c
复制代码
: z2 o1 v' p  h9 I

0 G2 H. M. u. k; z( f0 b5 S
  E& A& S8 ]' W$ {
- ^( n" Q/ O3 E6 L
0 F0 [" k1 u  m# B! f# A- X  q7 B3 C

1 T) h1 u' h7 YPHP5.6版本原始设置: v" h% ^$ T. c# j, E8 `, Y7 ~3 i

8 n& v' x: m3 {8 K/ o9 ?0 Q7 Z
  1. [PHP]
    * w: C* s. S) o% B. s  I1 e. V7 f% o
  2. ; d: `# C. V& n( s4 B
  3. ;;;;;;;;;;;;;;;;;;;! [4 G' J- C7 a4 F
  4. ; About php.ini   ;
    - t: j/ d, M) e4 k5 W
  5. ;;;;;;;;;;;;;;;;;;;
    : W7 R( C% n8 p' p. U
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    8 ?* A5 [, D' ?3 M( ^- D; g  d
  7. ; configuring many of the aspects of PHP's behavior.! J2 O$ I; E) l' E8 y
  8. 0 }- z. f1 P, n" [8 l+ R, U
  9. ; PHP attempts to find and load this configuration from a number of locations.
    : K# A9 G$ {6 s) j# G
  10. ; The following is a summary of its search order:/ U- ~7 I7 Y, S* Q( J- z/ d
  11. ; 1. SAPI module specific location.9 S4 R( X, n4 {" l' o$ n) X2 \
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0); b$ m8 T" p) \$ ?
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    9 c9 U$ t3 r, G* n" n; g) X, r
  14. ; 4. Current working directory (except CLI)' H) Y; \- t% f6 d
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP5 J5 m* W/ f' f1 h$ u/ m
  16. ; (otherwise in Windows)
    8 ^' L$ E; A  H9 o8 Y# X: Q
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    3 F( }& }* P5 I# s2 c: x% [
  18. ; Windows directory (C:\windows or C:\winnt)
    0 q# S" Q# {  U
  19. ; See the PHP docs for more specific information.9 i0 k& E& u. Z
  20. ; http://php.net/configuration.file
    9 h  l/ ]0 t6 R0 r5 B4 A' G/ h4 ]
  21. 9 N  }" L% t8 L0 D: G3 s5 t
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    2 _# ^! Y& e9 \" z
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    0 i- J* `& Q  u% s. j7 \
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    4 Y8 X8 v/ p1 Y5 p9 V) Y+ P# p4 I
  25. ; they might mean something in the future.
    % a: W6 D5 W( K1 c* ]+ s9 U1 [
  26. / p& }9 t, K( m! w7 S+ N* m
  27. ; Directives following the section heading [PATH=/www/mysite] only& r9 m& f4 p" h% A5 _" b: n
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ' N; `1 D+ @9 T0 F1 W; G. x; E4 B
  29. ; following the section heading [HOST=www.example.com] only apply to
    1 n9 q! e0 M/ x$ n1 E  ]( Q
  30. ; PHP files served from www.example.com.  Directives set in these' H2 o& L3 C% T% O2 X# s
  31. ; special sections cannot be overridden by user-defined INI files or0 @" Q' \8 f* [( T
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ; y1 ^! H* i* i+ f# I
  33. ; CGI/FastCGI.: f* A! d, a! C! ^  y
  34. ; http://php.net/ini.sections
    5 w$ p$ t! O5 f/ Y7 @! k

  35. " k$ L" x- e9 [. u
  36. ; Directives are specified using the following syntax:
      X/ q6 Z( M9 h- V; o0 S/ B
  37. ; directive = value7 r$ f% \( t! n0 w: V
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    , y9 e3 N* h, t/ a8 |- U) h
  39. ; Directives are variables used to configure PHP or PHP extensions.
    / j2 v) l$ W6 @; l
  40. ; There is no name validation.  If PHP can't find an expected6 t* y* t8 C" a  }6 j0 e, U
  41. ; directive because it is not set or is mistyped, a default value will be used.
    $ e5 F: Q' r- g7 K' }

  42. ( A* b% o5 Q+ v) e' H# H# V# L2 _
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
      f3 ?. P1 P0 g6 D+ m4 ~2 }
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    0 q: q; ?4 w! V" C
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
      ?! m* `' y' l- b9 [; `7 x
  46. ; previously set variable or directive (e.g. ${foo})
    % I* y/ C! P: v: E% }3 h- x

  47. # t  K; [; N' k+ R: c
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ; l8 p* |5 K$ o5 E; @2 F) l  u1 |
  49. ; |  bitwise OR* _2 j& U% s9 }1 V5 a9 ~& R  M$ b
  50. ; ^  bitwise XOR. G$ C& ~# O' g9 b
  51. ; &  bitwise AND
    & Q8 N- v0 ^. a( q) c
  52. ; ~  bitwise NOT
    & V5 h7 ?7 ~3 ]/ j- U- h5 P1 d
  53. ; !  boolean NOT; g9 N# u. Q4 ]6 p
  54. . C& h/ b, h& A" ]8 m
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
      p+ {( f( b. \, M" r8 N, x
  56. ; They can be turned off using the values 0, Off, False or No.! e& N) G# ?2 ]% W' J( ^
  57. % p" R) T( T# A  k8 ]
  58. ; An empty string can be denoted by simply not writing anything after the equal0 S+ C- k  S/ F8 J( L" p4 Y4 e* {
  59. ; sign, or by using the None keyword:" o2 d! v, S' C0 Q2 K7 R

  60. ; k3 L2 i0 {8 ]8 ?5 j; U
  61. ;  foo =         ; sets foo to an empty string) g5 J3 w# G+ Z; _  h* J" w- |
  62. ;  foo = None    ; sets foo to an empty string# d' n( G8 I  F
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ! x* P/ r2 n6 S* R. B) |: w9 M! Q

  64. , R+ J5 [, K, L3 L4 R' U
  65. ; If you use constants in your value, and these constants belong to a8 h. V! h% p1 C& m' Z) d
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),9 A, q* O, R6 H+ Q/ N, e9 I
  67. ; you may only use these constants *after* the line that loads the extension.. E% n  O* w& a  R" m7 Q

  68. 5 [$ j2 w1 |, Z7 K+ v5 l7 t+ v  i) e+ _
  69. ;;;;;;;;;;;;;;;;;;;/ K/ q8 \' M* H; x6 P* w9 s! f, e
  70. ; About this file ;
    ) P2 j" r- R8 @; W; L3 s1 K- w" d2 H% K
  71. ;;;;;;;;;;;;;;;;;;;, X/ E% T, ^& s& O5 D, B1 t" ]9 s
  72. ; PHP comes packaged with two INI files. One that is recommended to be used& Z# w' \1 C2 u5 T% Z; {2 {9 e2 e9 n
  73. ; in production environments and one that is recommended to be used in
    ' j2 B7 {5 P. r
  74. ; development environments.: P( A& {% g+ `5 g) Y, d, {4 U4 ]
  75. " i' Y  ]! S7 k2 X4 h) H; ~
  76. ; php.ini-production contains settings which hold security, performance and8 l6 i1 c4 A9 `! H
  77. ; best practices at its core. But please be aware, these settings may break) m9 J6 h4 X: Q$ M( T' m8 W
  78. ; compatibility with older or less security conscience applications. We# ~- @# R! ?. j! Q0 _6 c, l
  79. ; recommending using the production ini in production and testing environments.5 O+ ?2 S! h2 C. O
  80. - H0 d) n, X& j- i" W6 s
  81. ; php.ini-development is very similar to its production variant, except it is
    5 m- h- l* k. }, S$ ^5 ~3 ~
  82. ; much more verbose when it comes to errors. We recommend using the
    / Y+ P0 C0 ~4 V3 ]- a) e, d/ g
  83. ; development version only in development environments, as errors shown to
    ; h0 r' z1 q- Z9 v( G' L
  84. ; application users can inadvertently leak otherwise secure information.
    / H; c" q& r5 r7 j% H: J, b
  85. 2 |0 E5 |+ t  ?2 d
  86. ; This is php.ini-production INI file.) Q3 u; |. P  f  w; J) ]

  87. 9 C7 H. Q  r/ R& h
  88. ;;;;;;;;;;;;;;;;;;;( K# i) F4 s- C0 Y0 ^/ o3 `  `
  89. ; Quick Reference ;- p5 B* ]6 `5 Z: ?" l3 ]
  90. ;;;;;;;;;;;;;;;;;;;0 d; E! H4 W# z& E) A
  91. ; The following are all the settings which are different in either the production1 k! O* i4 Y7 W/ j5 z) |* `5 d
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    " m& D6 o) D' ]3 T
  93. ; Please see the actual settings later in the document for more details as to why$ d7 ]2 g9 d0 J; k. \
  94. ; we recommend these changes in PHP's behavior.- s5 X2 N& X* R2 ^; C3 _

  95. 0 w. ?/ A# A( l" @/ k
  96. ; display_errors4 a/ r6 U$ r0 F6 ?0 C/ ~1 O6 y
  97. ;   Default Value: On# Y& g3 Q, U4 U' U5 M2 L7 o
  98. ;   Development Value: On
    + E% L7 N. C% S
  99. ;   Production Value: Off) ^1 R3 B: b% x* q- g$ b

  100. 6 v9 H9 e5 y  f5 C. O6 U. u
  101. ; display_startup_errors
    6 B# `; M2 y! ^6 [  u# c" h
  102. ;   Default Value: Off5 D) \# K, }1 h: O! L
  103. ;   Development Value: On
    , p! {8 Q/ V% K, s% z$ k. g
  104. ;   Production Value: Off
    ( Z1 C; f% c0 S4 p2 M2 e2 {( M

  105. ' Z, ]% b( @! X4 K3 V( k
  106. ; error_reporting
    ; L' y, {! ~9 [
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) j& u, C; L% E8 c7 N
  108. ;   Development Value: E_ALL
    . ~7 y7 V3 {" |* I! ?  T* @
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT5 U. l5 g; h. H# R$ E- f& l/ f
  110. + C, z/ j# C% K4 c. Y0 }, Z
  111. ; html_errors
    ) ]. d% y2 G! B; d- ?
  112. ;   Default Value: On
    ; \" w' I% T; w4 }
  113. ;   Development Value: On
    / o! ]) \7 ^: S2 {( y0 V. y1 M# j
  114. ;   Production value: On
    * k( G. D) H3 C3 L/ F

  115. ) c$ R/ G6 J9 J; q0 \
  116. ; log_errors2 ?5 r+ l9 S6 k/ k" \% E# A* J6 X
  117. ;   Default Value: Off5 k: Z* `+ _( ]
  118. ;   Development Value: On
    5 Z* L* Y" T$ ~0 d3 |
  119. ;   Production Value: On
    ) R3 F! `. d" o8 J$ P

  120. / m* a% A% R; U0 k
  121. ; max_input_time
    4 C/ A( Z* x, R# T( g
  122. ;   Default Value: -1 (Unlimited)" o$ Z# x8 C1 p
  123. ;   Development Value: 60 (60 seconds)
    1 t  o$ m% e+ L2 |5 f
  124. ;   Production Value: 60 (60 seconds)
    . z0 o4 L7 ~/ R$ m

  125. ! t. d, ]+ h/ q" E, V
  126. ; output_buffering3 k7 n5 y- X  R' P" \$ J0 K
  127. ;   Default Value: Off6 Q* `' F7 E2 N! J
  128. ;   Development Value: 4096
    6 G: ?% K) i; J) W
  129. ;   Production Value: 4096: x6 z- B7 @; K, e# J5 E, z

  130. $ B3 r% H; z$ y
  131. ; register_argc_argv
    3 E6 G4 i2 u: x
  132. ;   Default Value: On. {3 k, [! h" @5 s
  133. ;   Development Value: Off8 i' r0 l; `# c. U" T$ f
  134. ;   Production Value: Off
    5 u4 O! J" @2 t4 M* e! H8 U* [" P' n

  135. ; H) ~7 R6 \1 G, g* ^5 B" r
  136. ; request_order
    & o' U; T6 U$ C
  137. ;   Default Value: None
    - J' V8 V1 k  b. |! U# z- g0 |1 \2 f! D
  138. ;   Development Value: "GP"5 P4 ?4 B. }& K  }+ h; m& G
  139. ;   Production Value: "GP"2 x( [  M9 e* P; l9 }' V/ Z
  140. 0 O* \0 B, ?4 H
  141. ; session.gc_divisor1 Z5 E7 A) j7 M9 k
  142. ;   Default Value: 100$ O3 H. e0 J, T9 ~* k' V
  143. ;   Development Value: 1000
      v, N+ m8 n& p* I% |2 I! K( s; g
  144. ;   Production Value: 1000* @; ?! v# ^! Y1 I

  145. & X  ]: }7 O9 q% d& Q
  146. ; session.hash_bits_per_character
    # c, L9 ]9 m0 U. c0 F6 P' Z
  147. ;   Default Value: 4
    4 Z! {; r8 p1 B7 Z7 i
  148. ;   Development Value: 5
    5 A" i' o8 w3 \- E" O- A8 K
  149. ;   Production Value: 5
    : @# E+ D: |& B" E, _7 e
  150. % A4 e1 p4 o; |2 a
  151. ; short_open_tag5 M" g* J) C# A& J0 \- W8 U
  152. ;   Default Value: On
    * }4 V4 c3 M# S- N: V  G( O
  153. ;   Development Value: Off
    ' d' ^/ o, q+ z  R! }3 V1 K3 e% m5 v( |
  154. ;   Production Value: Off
    ) |  j/ v% F6 g) V" B

  155. , g  ^, ~& F! m$ N5 t% W
  156. ; track_errors/ l+ f  D5 `& c* S9 v: [
  157. ;   Default Value: Off$ o3 B/ ?. a" y! d# ]( x1 C' o9 a0 K
  158. ;   Development Value: On
    8 N, n& x; I3 L9 W. W1 L$ F9 \: v
  159. ;   Production Value: Off2 F6 X) ^. U/ V

  160. ; L" {: V2 I# q" y- e; R" Z
  161. ; url_rewriter.tags- e/ H# ^" r& @5 A* u! F$ C
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ X5 p+ b; h- E. V$ P
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 V: p/ ]. N* U5 n: c
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 C' W! N* n7 m( @
  165. + s; j, Q, k; \; ]8 q2 \
  166. ; variables_order
    $ m( h+ x; W7 g0 @) X- [
  167. ;   Default Value: "EGPCS". t6 {2 s# N# c
  168. ;   Development Value: "GPCS"
    2 I+ Y' Q+ `4 B0 ^/ K2 z. a; P  q- b
  169. ;   Production Value: "GPCS"1 e. o0 F: H# h' `; D

  170. 0 V7 l$ X% P9 g& W& b3 _& [  M0 M# H0 z
  171. ;;;;;;;;;;;;;;;;;;;;
    6 a  P7 u% k/ b
  172. ; php.ini Options  ;
    5 ?, |( \6 i6 x; Z
  173. ;;;;;;;;;;;;;;;;;;;;1 t% s, q$ {7 p+ R; n/ O: A
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    $ I( k* Q/ P, f9 x0 X0 S% X" ]' c+ w
  175. ;user_ini.filename = ".user.ini"
    + c) `2 n. J8 [/ _/ y" z4 s
  176. ( e. F) E1 E, q* m
  177. ; To disable this feature set this option to empty value6 o8 k! ~) a( L: ^1 x$ @
  178. ;user_ini.filename =7 V3 Z( N  O' F; D- g

  179. 6 N4 E2 A, R3 W& [, q
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)0 L' n# D6 u1 c  X- s% C
  181. ;user_ini.cache_ttl = 300" _! u/ R4 u1 S" y

  182. 9 @) d1 m+ |5 g. L; K
  183. ;;;;;;;;;;;;;;;;;;;;
    / m/ S9 h2 l2 q  p4 m" ]" U" }9 a) n0 w
  184. ; Language Options ;
    3 k, g9 {+ W6 c* d3 c
  185. ;;;;;;;;;;;;;;;;;;;;" K7 C& u+ Y. y2 r& }
  186. & J: a+ ?& \. ~1 l, X3 t8 m
  187. ; Enable the PHP scripting language engine under Apache.. }$ d4 r- A) I9 T$ H; t  U
  188. ; http://php.net/engine6 A. [: a' N1 Q. |1 ?* N) U
  189. engine = On* Z  u2 Q$ S; X4 E5 q: ?
  190. : _% @8 N* ]& F2 ~& y5 T$ Q- u, S
  191. ; This directive determines whether or not PHP will recognize code between2 P, A  W6 d2 H! Y. n6 K- _5 z$ B# `
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    7 U5 v3 n% G6 ^2 q" o  W+ Z
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ; y; x2 R& |$ Y
  194. ; should be disabled, as enabling it may result in issues when generating XML
    & O% Z- g. g" d4 a7 R
  195. ; documents, however this remains supported for backward compatibility reasons.' O0 l" c) Y3 q' D0 e- f% f
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ( ?% T. o0 @8 K6 e7 }$ {
  197. ; used regardless of this directive.0 M1 S/ v5 l3 u- [' }' }% A
  198. ; Default Value: On2 M' I6 X8 d$ ]
  199. ; Development Value: Off
      g4 i/ }6 `- Y4 [$ n: A% u8 o2 |
  200. ; Production Value: Off
    & [  K" z4 _6 F; Y
  201. ; http://php.net/short-open-tag
    & ^3 ^5 k4 ~0 ?8 [$ W- o3 A, s1 J
  202. short_open_tag = On5 a/ Z" F; D  X7 b% s

  203. 2 z$ i2 p" m+ a5 M8 c1 g' Y- n
  204. ; Allow ASP-style <% %> tags.0 W  ~5 y& p8 Z4 w; B' y
  205. ; http://php.net/asp-tags
    7 |9 ~7 g% u2 }1 C- G$ o9 t
  206. asp_tags = Off
    2 W2 b( H6 a4 i- A  U& i
  207. 0 G1 E% o  X! Q( D) P5 b6 U
  208. ; The number of significant digits displayed in floating point numbers.
    0 L. |+ V: Q4 @. R4 _
  209. ; http://php.net/precision
    7 v9 D9 C# g& J& Z- o
  210. precision = 14
    5 g0 }. r3 z) h( {0 y. N, M# ?: Q
  211. 5 a7 J$ k4 |, N; D- H) i
  212. ; Output buffering is a mechanism for controlling how much output data
    " l+ G$ N( _* y# n
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ; I( Y3 [! `+ f: H$ z; z
  214. ; data to the client. If your application's output exceeds this setting, PHP5 V/ b! m/ `- v3 ~+ F
  215. ; will send that data in chunks of roughly the size you specify.
    / v& D2 c# U. @$ E+ t
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    + e9 @3 }! v- @$ K' @  m) \8 h0 @
  217. ; interesting side-effects depending on your application and web server.
    - J2 w! C4 M) [# q$ k
  218. ; You may be able to send headers and cookies after you've already sent output
    0 s3 `6 k+ X& \. y0 F7 G, i
  219. ; through print or echo. You also may see performance benefits if your server is
    8 `" w" r3 c! m' n/ b9 D1 V2 L
  220. ; emitting less packets due to buffered output versus PHP streaming the output+ a) T2 z- X: [" |: q5 C
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance5 W8 a( O* K  D
  222. ; reasons." e/ P! C+ v; |& r% e3 t
  223. ; Note: Output buffering can also be controlled via Output Buffering Control- p& k7 R, r& X3 x# J* a' W
  224. ;   functions.
    / e3 D2 m( J. q$ b3 c
  225. ; Possible Values:2 _' E4 l7 t# c/ p2 z6 l
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)$ d% N' f/ e' o5 f
  227. ;   Off = Disabled
    1 A" R& a8 L/ \2 P5 [
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    + j1 |8 y2 I* x
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI% @6 p9 ~9 U( i2 R$ ?
  230. ; Default Value: Off0 m! ]7 I: ^( N# c! T3 l4 a6 ?9 c
  231. ; Development Value: 4096
    : q7 ^* J4 a5 h" _, J: Y0 A! z, o
  232. ; Production Value: 40962 z' p/ C) M" W- l
  233. ; http://php.net/output-buffering
      m( k- O9 C/ q
  234. output_buffering = 4096
    ) P5 ^4 F2 M( N# K2 [

  235. ( ^5 @  o! ?! A7 p+ n
  236. ; You can redirect all of the output of your scripts to a function.  For
    , ]4 }! ?6 m+ I8 m# Q
  237. ; example, if you set output_handler to "mb_output_handler", character
    $ p; t7 S5 f6 S+ B+ T/ b( L9 Z
  238. ; encoding will be transparently converted to the specified encoding.  s$ e. X# j3 ^( r" k& q+ G/ d4 S
  239. ; Setting any output handler automatically turns on output buffering.
    ; Z$ Y$ E! G$ M  B
  240. ; Note: People who wrote portable scripts should not depend on this ini
    / W" J6 h1 r6 a8 `! ?7 X5 C4 l& ~* b
  241. ;   directive. Instead, explicitly set the output handler using ob_start().$ T6 L, p. G+ W8 G
  242. ;   Using this ini directive may cause problems unless you know what script
    7 o7 e: u' B( V/ f( B9 V5 i
  243. ;   is doing.
    ) [- f4 {' N( j
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"1 ]. l8 \7 y, ]8 ~- q9 h
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".4 L2 n: |) s) Q* v3 O' w
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    : V) x8 }: y6 E0 R* g2 ]
  247. ;   Instead you must use zlib.output_handler.
    & h4 C; ~: P( n- L
  248. ; http://php.net/output-handler
    # L8 r, H/ Z4 A6 z
  249. ;output_handler =
    : O# }* G9 j3 U& W9 f( R7 t
  250.   f  b" X6 o0 U$ Z
  251. ; Transparent output compression using the zlib library
    0 [- A6 q' ]& R, f" M: Y9 Q
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size( {( t! t* j! b7 {. n
  253. ; to be used for compression (default is 4KB)+ U+ W9 d& }- @3 \
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP6 U& X. s3 h4 ~5 o, d6 s- [
  255. ;   outputs chunks that are few hundreds bytes each as a result of/ J" Z5 g* Q( S- X0 u7 V: \, V( d4 x
  256. ;   compression. If you prefer a larger chunk size for better/ a- i- {3 e- ^
  257. ;   performance, enable output_buffering in addition.& s/ A5 y) ?' \
  258. ; Note: You need to use zlib.output_handler instead of the standard, l0 ?/ v4 Q2 P' F5 k" @2 G
  259. ;   output_handler, or otherwise the output will be corrupted.
    ; h& l5 R$ P. ?# P. F5 E( Y  V! X
  260. ; http://php.net/zlib.output-compression' D, X) G4 p/ B( V& j
  261. zlib.output_compression = Off+ ?& K" {) O$ Y

  262. % I$ Y8 ?4 p9 W2 L- ]
  263. ; http://php.net/zlib.output-compression-level: Q5 |5 m7 d& R2 V  P; N# a
  264. ;zlib.output_compression_level = -1- }1 r0 K. W5 v& z9 h% J/ n
  265. 3 O9 {: ?% G* n' j. Z
  266. ; You cannot specify additional output handlers if zlib.output_compression1 Y0 l5 z  S! F8 C, S% [: V$ _5 c% b
  267. ; is activated here. This setting does the same as output_handler but in
    8 S& m6 x3 {7 }/ G
  268. ; a different order.
    7 m  z, M! D- h5 O3 m$ g7 Y
  269. ; http://php.net/zlib.output-handler
    2 d4 A( _& F# w
  270. ;zlib.output_handler =
    9 `& R' |- h1 J

  271. " }: @9 |. P" M0 ^. s# W& [4 P! _
  272. ; Implicit flush tells PHP to tell the output layer to flush itself' ^$ j, K+ x, t' Y
  273. ; automatically after every output block.  This is equivalent to calling the) P4 Y9 F6 l+ w7 Z& ?9 @
  274. ; PHP function flush() after each and every call to print() or echo() and each' C2 r% ]/ h6 |5 M# A# G; O2 H( F
  275. ; and every HTML block.  Turning this option on has serious performance% ~9 ~0 g+ A0 \  d
  276. ; implications and is generally recommended for debugging purposes only.
    $ b7 I9 l$ ^/ A) `
  277. ; http://php.net/implicit-flush
    ! k9 ~/ e0 C% c& r1 K( k' Q
  278. ; Note: This directive is hardcoded to On for the CLI SAPI/ g2 E5 v6 g) |$ I+ Z& B
  279. implicit_flush = Off1 L, R/ \  s! R5 e. l/ f6 V

  280. * z8 E1 d4 d2 ?0 S
  281. ; The unserialize callback function will be called (with the undefined class'
    7 r7 i1 R1 ^  i& U) U" y4 P. u; X
  282. ; name as parameter), if the unserializer finds an undefined class+ y+ `! Q* ~: H. d  }2 S2 a" U
  283. ; which should be instantiated. A warning appears if the specified function is* S) y% j/ _# E+ E% V
  284. ; not defined, or if the function doesn't include/implement the missing class.
    # n+ F$ \" s- M. g; r5 }
  285. ; So only set this entry, if you really want to implement such a
    " {: f. v3 W4 `) q, i% s
  286. ; callback-function.
    - y! X+ g* }7 ]& J0 f
  287. unserialize_callback_func =
    . K0 m8 n6 F! ~" |

  288. . s/ _6 A+ }" `7 s7 u1 M: o
  289. ; When floats & doubles are serialized store serialize_precision significant8 j4 s5 s0 M( P( h/ \$ i
  290. ; digits after the floating point. The default value ensures that when floats
    + j/ s6 U( B) j3 p5 G
  291. ; are decoded with unserialize, the data will remain the same.1 Y; f! n, |3 G. ?: n: ~
  292. serialize_precision = 17
    - L$ b( o# D3 t! x
  293. ! e: C; ]+ X) U9 c3 N
  294. ; open_basedir, if set, limits all file operations to the defined directory8 N5 E7 \; A2 u- {4 L6 e
  295. ; and below.  This directive makes most sense if used in a per-directory2 _  O' e/ o4 c) g9 X+ X
  296. ; or per-virtualhost web server configuration file.0 r7 n1 ?+ S! Q1 e: x0 P& ]4 }5 j
  297. ; http://php.net/open-basedir* Y2 x1 O2 x0 O; B- g9 C+ ?
  298. ;open_basedir =% e+ @$ R$ m7 l
  299. / @7 V4 s8 ^, A- l7 o
  300. ; This directive allows you to disable certain functions for security reasons.
    ' b" G, ^) }4 X# n
  301. ; It receives a comma-delimited list of function names.+ V5 c" H6 d: X0 ^# L3 _
  302. ; http://php.net/disable-functions
    - t; t- r  F. h5 n
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    " J. N. U+ b7 q2 F

  304. 9 g+ ~% k3 M% w. t3 |3 J8 ?- h. ?
  305. ; This directive allows you to disable certain classes for security reasons.
    ; K. @) C2 F: x( s
  306. ; It receives a comma-delimited list of class names., \* A& z2 r% F) S8 H# a
  307. ; http://php.net/disable-classes
    $ d9 z  Z3 ~2 x; |- \% d% E& t
  308. disable_classes =; |  i8 Q- n2 d- e6 a# \2 S% [; s
  309. * n1 M8 q2 A/ U) i# f( z& Q& k
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in- O/ \: D. v, L; q# K# e. ]
  311. ; <span style="color: ???????"> would work.
    * P# R* k4 I; d$ S  W
  312. ; http://php.net/syntax-highlighting6 x8 U  k0 W! E7 k; s$ a; S
  313. ;highlight.string  = #DD0000! a3 S: k! Z# J9 x8 t* g- a7 Y
  314. ;highlight.comment = #FF9900' ]& K+ @* S' a
  315. ;highlight.keyword = #007700  e( \' Y8 X0 f2 b$ o  u
  316. ;highlight.default = #0000BB
    2 d* \4 g8 y4 `5 P3 b5 q
  317. ;highlight.html    = #0000008 e$ M4 D# a/ g# j! Y

  318. ) R9 P6 P! p! e4 F% Z) B  x
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    ( D6 `7 D) z2 D
  320. ; the request. Consider enabling it if executing long requests, which may end up
    5 p' ]! P0 P% E# t1 u
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior. ^( s* E2 l% I8 X5 Y/ |1 t, |
  322. ; is to disable this feature.0 L# M9 G" F2 c% V0 P! H
  323. ; http://php.net/ignore-user-abort
    ) [/ n4 Y/ X* g2 a
  324. ;ignore_user_abort = On
    + M% R" S2 C  K0 t- D

  325. 9 q7 B' x& O/ X: S
  326. ; Determines the size of the realpath cache to be used by PHP. This value should% Y9 r. W/ [& D1 j' d, W3 r
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    5 z5 @) i% n" T. J( y
  328. ; the file operations performed.
    + N8 ^' B$ |! w, D0 J" b( Q' b
  329. ; http://php.net/realpath-cache-size
    : T. n, n3 k" R, F/ l8 S
  330. ;realpath_cache_size = 16k
    6 V  ?2 e7 X3 R# X! M3 j' V* f
  331. * ?4 M" S. K- a1 \+ x
  332. ; Duration of time, in seconds for which to cache realpath information for a given
      E! Y" s% N. u" P' W9 q3 I: B
  333. ; file or directory. For systems with rarely changing files, consider increasing this5 E* i& p, J  k) c0 i9 N6 w! G) c
  334. ; value.' W+ u$ M: Q( a
  335. ; http://php.net/realpath-cache-ttl5 U: f* [3 S& {0 O( o. U2 m, ^+ G
  336. ;realpath_cache_ttl = 1203 ^1 B% g0 Z- }; \$ {4 c0 {
  337. 2 |: B9 V: U! m: q& E
  338. ; Enables or disables the circular reference collector.+ J: S8 e; h' T' z" G
  339. ; http://php.net/zend.enable-gc3 v$ Q' M- M$ b5 o4 U* u6 p3 |: x! i
  340. zend.enable_gc = On* R( Y: j: n: f* H

  341. % R, o3 |1 \9 O; J9 M: P
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    0 j* s9 x' ~  R% m! k+ e/ d
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    + v8 o7 J5 {3 Z9 `
  344. ; encodings.  To use this feature, mbstring extension must be enabled.6 R* n8 h* s7 y
  345. ; Default: Off- r% r; f$ Q, M% n5 g6 ?
  346. ;zend.multibyte = Off
    1 t$ s6 v& Y5 G. o) C5 t  a$ C

  347. 5 T. P2 l0 a) u5 I# e4 F# D% M
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    + V0 m8 |+ l! v2 M5 g6 n( n
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ' ?$ e  h6 b! z" R! t# x+ K
  350. ; Only affects if zend.multibyte is set., D$ H% d3 y2 J6 p, O) [; n
  351. ; Default: ""
      p" S2 A9 i; o# D2 t& c
  352. ;zend.script_encoding =$ d# i  O/ k/ U3 o0 U" |7 R$ \
  353. 0 O5 N8 d- ]4 ^
  354. ;;;;;;;;;;;;;;;;;
    $ W8 w  g  y) c) t, M+ y1 c- s* _
  355. ; Miscellaneous ;
    , L* q6 o% G! v1 a+ L
  356. ;;;;;;;;;;;;;;;;;9 z$ @6 d, m7 A" O

  357. 9 z+ f, @" {0 ~4 N
  358. ; Decides whether PHP may expose the fact that it is installed on the server: B0 r1 Y5 G0 g, {; i; L' v
  359. ; (e.g. by adding its signature to the Web server header).  It is no security' R$ C+ d; n0 w* I3 n( E
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    1 e  A! {! B, T9 R/ e
  361. ; on your server or not.
    4 X. R/ _6 h8 F- {' ?/ s
  362. ; http://php.net/expose-php7 E9 K6 S4 ~+ Z) n
  363. expose_php = On
    ) E! K/ r5 h* u- v0 D2 p! \* ~

  364. 0 n2 ^. f3 l* h
  365. ;;;;;;;;;;;;;;;;;;;3 }  K* a; S/ t0 v  ?! R! X- L( u
  366. ; Resource Limits ;
    & m: I' F; o0 H- M7 M
  367. ;;;;;;;;;;;;;;;;;;;  p- ]/ p0 T. n% O3 L4 W
  368. & c  }2 t3 B" S, s! D7 o5 n$ ^1 s
  369. ; Maximum execution time of each script, in seconds
    . h; K+ O* F, m
  370. ; http://php.net/max-execution-time
    . p2 \- q& E& |
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI) {# z* S0 D) ^' |8 \
  372. max_execution_time = 300" e4 W/ n: q( x! K1 @6 E# r
  373. ' X3 @2 N5 t2 W; n
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    0 ~5 {$ @, r. U% ], M; |/ W2 U! y
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly6 z  U/ b/ A7 o/ v0 w" z
  376. ; long running scripts.
    3 C" c/ [* U% h9 D. E6 m
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI! L" w/ q/ r; ^% Y( q$ A
  378. ; Default Value: -1 (Unlimited)
    - k" d4 _* ]0 d$ E8 C
  379. ; Development Value: 60 (60 seconds)( G: H3 j( d% m" |! F- b/ C* ]
  380. ; Production Value: 60 (60 seconds)) k2 j3 A, i/ [% s3 y% Z
  381. ; http://php.net/max-input-time
    : ?4 M* B' q/ |" \* s
  382. max_input_time = 60$ t- Y9 P& i# z$ h8 e- f
  383. 9 l& N- e1 W# N' D9 ^. E
  384. ; Maximum input variable nesting level4 _' g/ V" U% c, a4 g) Z% _
  385. ; http://php.net/max-input-nesting-level
    8 t/ S$ @3 @( S% t. Z  s! d
  386. ;max_input_nesting_level = 64) m+ d8 J- y$ \* G
  387. : B% \/ }- o1 p& X0 ~. B  `, b
  388. ; How many GET/POST/COOKIE input variables may be accepted8 k5 I$ \# v; V; u
  389. ; max_input_vars = 1000
    , G/ i7 Y7 G* J* Q' a; U# E; j
  390. 1 X+ ^7 R, E5 e5 E9 u" E
  391. ; Maximum amount of memory a script may consume (128MB)' A" a5 S  S- z/ P# Y4 e" e0 u
  392. ; http://php.net/memory-limit# p& u; N7 Q2 y3 d
  393. memory_limit = 128M' n% ~. R) h' @) ^
  394. 0 ]8 R$ C! @' b  L% z2 N# O
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ! Q+ y7 ~3 D$ M6 e
  396. ; Error handling and logging ;  y1 l. S0 h) Z3 _. f
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    " `7 E5 [. j1 H4 k! `: S* u* {
  398. * {' O4 p# h- j: U4 u
  399. ; This directive informs PHP of which errors, warnings and notices you would like3 p& U* p. d7 C4 I6 }7 V6 B
  400. ; it to take action for. The recommended way of setting values for this; q; q+ a% J6 D9 b& [) r: }$ n
  401. ; directive is through the use of the error level constants and bitwise
    " C# N; V! l% I+ G0 `* Z5 }& J
  402. ; operators. The error level constants are below here for convenience as well as' I4 C: ]; p1 o# |) v# v1 \8 F1 c7 D
  403. ; some common settings and their meanings.. V, ^; {- R% |$ k1 A3 R
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    7 A4 H  r2 M+ v* ~2 \: I4 ^+ R" z/ b+ N
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and3 S3 C4 D" d2 ?$ C; m9 J6 z
  406. ; recommended coding standards in PHP. For performance reasons, this is the; z: S# C& c3 d: Y. e; N: [$ h; ]
  407. ; recommend error reporting setting. Your production server shouldn't be wasting  U% O  y9 A( N- B9 V" r6 u' ~  T
  408. ; resources complaining about best practices and coding standards. That's what
    ; k- t' g1 X7 \2 p  ]8 \
  409. ; development servers and development settings are for.+ n  P! ~( w; l" M7 I! ]) \
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    5 t/ ~! y. v) |! K% w
  411. ; means it pretty much reports everything which is exactly what you want during2 h  L$ G+ m& w; t! M9 j  m0 X
  412. ; development and early testing.; q6 b8 H7 L6 }
  413. ;
    3 y) G0 Z* m$ A
  414. ; Error Level Constants:; z% {- d3 i' O0 E8 i6 ^
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    # |* c! r! o" @
  416. ; E_ERROR           - fatal run-time errors% r" \" ~0 o$ M
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors  \) G- F9 B9 v  {" d
  418. ; E_WARNING         - run-time warnings (non-fatal errors)6 j5 B2 J- q) S6 `1 ]) K- |" F8 q
  419. ; E_PARSE           - compile-time parse errors3 q4 Q2 B+ j/ \! v2 V
  420. ; E_NOTICE          - run-time notices (these are warnings which often result+ s( V, b; L8 B1 e
  421. ;                     from a bug in your code, but it's possible that it was
    ; {% s+ h- A5 P* i4 W7 R- a' Q; \
  422. ;                     intentional (e.g., using an uninitialized variable and
    + Q! F6 p( g6 I5 w! O+ }3 K! O
  423. ;                     relying on the fact it is automatically initialized to an
    5 \7 }9 \8 m  s, V$ R' G% U
  424. ;                     empty string)
    . e9 a2 C  K! l4 y$ `5 o$ p
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes: W( p& i0 R1 n% [6 [
  426. ;                     to your code which will ensure the best interoperability# ^! x% L$ `1 a3 ?
  427. ;                     and forward compatibility of your code) `# w% I/ K# n' k  f5 j
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    & V( F3 R! ]0 K+ ^8 ^- f% v
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    * [( Z6 I2 h$ V
  430. ;                     initial startup
    + e, T  c+ S: S, n. J1 Z, h+ {: A
  431. ; E_COMPILE_ERROR   - fatal compile-time errors0 m7 _! {2 {$ B0 a( C  O0 c
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    0 J+ K8 S4 w5 Z; [2 C- p- M
  433. ; E_USER_ERROR      - user-generated error message
    . A- s0 I$ ^3 \
  434. ; E_USER_WARNING    - user-generated warning message3 \% s# w5 `! J6 O. c( k
  435. ; E_USER_NOTICE     - user-generated notice message! W. I) C' `; F! B/ H4 H
  436. ; E_DEPRECATED      - warn about code that will not work in future versions4 H4 I; m/ x% w
  437. ;                     of PHP1 U# g7 Y: q: u8 U7 b& ?( C
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    4 L) i3 L7 A  s# @( R( L
  439. ;6 K, r- W, V2 k& W! ]' H9 i5 U
  440. ; Common Values:. ^! X& g* u# h: X0 I; e7 `7 T/ h
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    / j+ `9 I. v3 A; d; a
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    5 n. u" l* Q: F% U2 n; s+ m2 ]/ [$ a
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.); N. s- ~+ [! I$ S
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)+ J: D) R6 q+ k( Z' l! A
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # }  o/ T( Q$ C# B$ E
  446. ; Development Value: E_ALL; e' G6 o! N9 {8 m* C/ b
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT! [, a& s: O5 w
  448. ; http://php.net/error-reporting
    5 ^* E" B. P' D7 _
  449. error_reporting = E_ALL & ~E_NOTICE6 t* o4 I$ G0 r. P$ P
  450. 1 R9 Y9 j( ]' `( z- x
  451. ; This directive controls whether or not and where PHP will output errors,
    . c, |9 ^8 b" y% x5 K
  452. ; notices and warnings too. Error output is very useful during development, but
    8 t2 F/ o0 p1 X  o/ S
  453. ; it could be very dangerous in production environments. Depending on the code6 D. n! n: r& F. o6 b
  454. ; which is triggering the error, sensitive information could potentially leak
    $ ?& B$ y' Y$ u" n
  455. ; out of your application such as database usernames and passwords or worse.; T+ \1 i, A4 {  N
  456. ; For production environments, we recommend logging errors rather than2 f7 B7 L4 n9 X6 I% j+ o& A
  457. ; sending them to STDOUT.
    3 z' j/ x# ?8 D% ]) X
  458. ; Possible Values:
    % y/ x) I+ W- _) [; }2 K
  459. ;   Off = Do not display any errors+ v0 j- o8 M% q5 B* P) H
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)" P$ Y% R. R9 P+ |) r8 _
  461. ;   On or stdout = Display errors to STDOUT* i5 k$ Y4 P6 k  ?2 s
  462. ; Default Value: On
      A& r( m. L: B5 R% ^) `$ s
  463. ; Development Value: On4 C3 j7 ]6 f2 f0 F: T
  464. ; Production Value: Off2 V3 r' I  M# n  f( _4 e
  465. ; http://php.net/display-errors1 j( w; |* R* R5 y- X
  466. display_errors = On# g0 l; Q. K2 q, C% s
  467. 6 |( \3 V# v+ t/ q+ {" p
  468. ; The display of errors which occur during PHP's startup sequence are handled
    5 o* _& e5 ?- D' f. o
  469. ; separately from display_errors. PHP's default behavior is to suppress those3 }# `7 j3 ~" z: V9 s
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    9 B8 w% s* V+ g5 \
  471. ; debugging configuration problems. We strongly recommend you
    / A% C- o0 ]5 m+ ?& N# C$ V
  472. ; set this to 'off' for production servers.- o8 d  {1 Z2 e( D% z
  473. ; Default Value: Off. Q2 Y3 S0 ~# |( W; y, f
  474. ; Development Value: On4 z( p+ k/ ~7 F2 E1 p- C7 H, t
  475. ; Production Value: Off) z  C# ~& [0 z
  476. ; http://php.net/display-startup-errors8 ^( |0 C: u4 }9 y+ X' p% c2 S
  477. display_startup_errors = Off" w+ z$ P2 {( d9 W3 u4 L
  478. ; l. ~4 P1 O% Z: a! W) ~. S
  479. ; Besides displaying errors, PHP can also log errors to locations such as a' l% f. q8 @4 v6 w  \0 P; B
  480. ; server-specific log, STDERR, or a location specified by the error_log; k2 l. d# J. u6 z0 ]
  481. ; directive found below. While errors should not be displayed on productions
    1 r' {! x1 M% a
  482. ; servers they should still be monitored and logging is a great way to do that.
    1 j8 l! Y, k- N* c  B
  483. ; Default Value: Off; Y* c3 e* I" j% H
  484. ; Development Value: On2 u6 d" P9 O! |
  485. ; Production Value: On5 @1 K( Q8 z' D- O) i6 C/ N
  486. ; http://php.net/log-errors9 d  k* y& a4 F9 S8 ~5 z
  487. log_errors = On: v2 T+ {% C7 Q7 N
  488. 2 O% e9 h7 _  P
  489. ; Set maximum length of log_errors. In error_log information about the source is$ h' T$ `1 I3 r0 f- `/ m% ^) ]
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    5 u  q! l# f# j; G) t" `
  491. ; http://php.net/log-errors-max-len* R/ @% B, ^9 P9 T+ j$ ]8 R
  492. log_errors_max_len = 10240 T) O, J: _* Y# N9 S
  493.   n6 F, |1 L& n$ L% _) N( |6 `6 F
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same* z% P  W8 O7 {8 H
  495. ; line unless ignore_repeated_source is set true.6 C4 [/ C- p3 V1 T) _
  496. ; http://php.net/ignore-repeated-errors
    . s7 c1 C# H) @6 ^9 ]
  497. ignore_repeated_errors = Off# W0 D: r6 D! C4 _2 B
  498. ( z1 j" a* |4 w2 D9 R! o
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    0 g6 U- g" {1 C; y  b
  500. ; is On you will not log errors with repeated messages from different files or/ b2 s9 }- Y: T2 V9 {6 i% o1 l
  501. ; source lines.' i6 E8 Y7 N2 {# K
  502. ; http://php.net/ignore-repeated-source* x* W' F1 ], E5 z+ B- S! ~
  503. ignore_repeated_source = Off
    * [4 ]& ?# A* `0 q5 m* j
  504. * }9 F( ]" n7 @+ u
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on4 _* H" G$ t" l/ i/ _& M) h/ w( U
  506. ; stdout or in the log). This has only effect in a debug compile, and if5 ~0 p0 W& C4 J
  507. ; error reporting includes E_WARNING in the allowed list& }8 E3 o; h! Q# L
  508. ; http://php.net/report-memleaks
    % E* y* G1 i* T% i
  509. report_memleaks = On/ A* m. K1 \6 |

  510. $ L& Q  n; i+ S' B9 V
  511. ; This setting is on by default.$ a' p& a- k7 g% L2 ]
  512. ;report_zend_debug = 0" v. T7 v) l/ F: K) M  z
  513. * a8 G7 l! m2 W& c, l
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value# Q6 x' o) o! Q6 t* q- o- E
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    2 J# |, [9 w+ v5 G
  516. ; however be disabled on production servers.
    4 R6 t+ k( S4 d  c9 \6 R! }+ L
  517. ; Default Value: Off  z3 H8 y% P9 [# I! G3 C" G
  518. ; Development Value: On
    # _3 c, @7 C+ {( U; y9 V+ x4 }0 [, o
  519. ; Production Value: Off
    + q# y1 W* U. O; }: o  B0 J
  520. ; http://php.net/track-errors
    " Z( Q1 g& Z- `
  521. track_errors = Off
    ' p* ?* H5 g, F2 o, u0 `- w- c8 M

  522. ; b( U" ^* ]" X  Z8 m- t
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    & c* _8 t) U& z
  524. ; http://php.net/xmlrpc-errors
    % G3 \% _* p; V) P, X) E( D
  525. ;xmlrpc_errors = 05 m8 Z1 Z  o6 K' F+ \5 B

  526. 5 a; U* y! ^1 x; a, f
  527. ; An XML-RPC faultCode/ w+ g( Z/ Q2 B
  528. ;xmlrpc_error_number = 0
    0 ~, u. v  Y+ P- H

  529. - M5 s* \* ~3 I
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    7 }$ I* Q6 R+ l/ ]4 t
  531. ; error message as HTML for easier reading. This directive controls whether1 Y3 u/ t) B7 a# U; m
  532. ; the error message is formatted as HTML or not.# |2 e. A  _5 s- @- g/ Z
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI& j( [# U7 A+ s/ V# n
  534. ; Default Value: On
    0 c; }8 [( d. x  \1 x; b
  535. ; Development Value: On
    % x2 k( K' H9 B$ R
  536. ; Production value: On
    ' `, A' A* L: k3 z5 ]; C, I  o
  537. ; http://php.net/html-errors) c) @. A: s% k: w% O( r7 {
  538. html_errors = On) o* u& k: h# v% O4 K

  539. 3 G/ Z( c: K; k1 Z. L6 i
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ! t3 C/ P! A% n/ r1 ^- c4 b
  541. ; produces clickable error messages that direct to a page describing the error
    : ]  Q0 y6 S, [; ?- \, D
  542. ; or function causing the error in detail.& g2 G9 v/ |+ W6 _( _2 p' v
  543. ; You can download a copy of the PHP manual from http://php.net/docs) T* ?! F8 N) B
  544. ; and change docref_root to the base URL of your local copy including the% |- d# p7 J% i
  545. ; leading '/'. You must also specify the file extension being used including7 O2 _% \: R9 e* {. g: c
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which+ `% p& o* B" w" ^0 U
  547. ; case no links to documentation are generated.
    5 w1 m5 ?1 T, Z. o  X1 K
  548. ; Note: Never use this feature for production boxes.
    & Z5 s$ P3 `; [% a( ]
  549. ; http://php.net/docref-root
    : S% N) M$ E! C
  550. ; Examples
    : [. [1 t5 d# d3 B. `" s
  551. ;docref_root = "/phpmanual/"
    ' V- q, r! e" p, s8 a; t

  552. # R" a; r9 H- e
  553. ; http://php.net/docref-ext7 Z) r% N# h$ w. h: `" h
  554. ;docref_ext = .html, f9 N: J( x8 q( Z9 W# r; v9 q9 C! Q
  555. " P: O: a7 C% F5 d9 w7 T1 g
  556. ; String to output before an error message. PHP's default behavior is to leave- I: e9 F: N& ?3 ^+ C: Q
  557. ; this setting blank.
    / s( Y" y  Q5 r# Q# y7 t
  558. ; http://php.net/error-prepend-string2 `% B' [$ r9 A+ x
  559. ; Example:
    ' ]; p+ d" K& C6 [& e& D+ q  S3 F
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    0 I- Q  k; ]$ @5 k" k( I
  561. 3 w# h/ F" L( k+ U  K8 i
  562. ; String to output after an error message. PHP's default behavior is to leave- j# C4 B4 ]6 x  V0 l' F
  563. ; this setting blank.
    6 [  ^( D! u* A3 {
  564. ; http://php.net/error-append-string/ n: R* E0 _8 ~$ i3 V
  565. ; Example:
    5 ]6 \. {9 ^6 }! O
  566. ;error_append_string = "</span>"9 u; ]9 |! r  B8 y* z2 {6 c' w
  567. : h% R* _! S  m& F3 K7 _. ^( M
  568. ; Log errors to specified file. PHP's default behavior is to leave this value1 q5 E2 y' }- e$ W. j2 ^
  569. ; empty.- t$ E6 l9 t! j8 O. o' y% D& p
  570. ; http://php.net/error-log" ]8 E0 R! \) Q5 u# ?9 S9 G
  571. ; Example:
    ' }- F# m+ F' n
  572. ;error_log = php_errors.log( K9 M- P+ p' m
  573. ; Log errors to syslog (Event Log on Windows).5 T5 [. h  O: G' h7 Q
  574. ;error_log = syslog
    / O0 @$ K7 r" C0 g6 H9 ^1 a2 I! W

  575. 2 D* U6 z" B  B  I
  576. ;windows.show_crt_warning
    $ g" z3 \5 A4 `5 D$ T. Z* b
  577. ; Default value: 0
    5 _2 z% l( R. {  `' g; u
  578. ; Development value: 03 S- i2 C  r& z# |4 b" r
  579. ; Production value: 07 K. g: o: c' m; y( i8 M9 U& R+ w

  580. % o* ~- u4 u- e; n' H2 |( G
  581. ;;;;;;;;;;;;;;;;;$ n+ B0 W- \2 c  M( o. B
  582. ; Data Handling ;
    5 K0 A$ o# Z. V" _7 ~
  583. ;;;;;;;;;;;;;;;;;
    * g; X& |9 r( [! d5 f* c& J
  584. 1 [2 s  g; p! m) y( B$ k
  585. ; The separator used in PHP generated URLs to separate arguments.  Y# T. U& n* x- C3 e
  586. ; PHP's default setting is "&".
    / {: s! t/ e9 b7 K+ A# n7 I2 h9 p% s( D2 t1 i
  587. ; http://php.net/arg-separator.output2 v( _# A, ^2 }3 s0 U
  588. ; Example:
    ! I8 u8 L4 O. ^, |3 G- Q
  589. ;arg_separator.output = "&amp;"
    # h" e5 X5 A1 d

  590. : y' ]" f9 G( f2 t
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    7 _9 M: j' w' t- U! C( L3 z% m
  592. ; PHP's default setting is "&"." S, r2 {! e/ e9 ]
  593. ; NOTE: Every character in this directive is considered as separator!
    $ ]; L0 R3 m. }! H0 K' [2 O" }
  594. ; http://php.net/arg-separator.input
    % X) `. L, m% ~6 `" _1 ^
  595. ; Example:
    $ L) @  d$ c3 f6 o9 F% r7 b( L1 W
  596. ;arg_separator.input = ";&"2 U) E6 {7 ]) m3 @+ |
  597. 5 b# C7 s4 `3 r  u, {+ }! `
  598. ; This directive determines which super global arrays are registered when PHP
    : _- Q: ^4 B; p/ S' S- D( `5 X
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    7 t$ |5 C$ f0 D2 d! k7 S
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty- U5 F2 n5 k# \( N' o( G* p
  601. ; paid for the registration of these arrays and because ENV is not as commonly  h0 d7 S- E! a
  602. ; used as the others, ENV is not recommended on productions servers. You
    ! a& R7 _6 I7 P0 l9 ?5 L$ B
  603. ; can still get access to the environment variables through getenv() should you
    * V2 o9 O, S! m8 W! W
  604. ; need to.6 W* X6 t) ^0 k) e+ o+ x' p
  605. ; Default Value: "EGPCS"
    9 O2 _0 {. p! o, t
  606. ; Development Value: "GPCS"7 y# C- b' P# C9 p
  607. ; Production Value: "GPCS";7 q. d) i; |+ n* X* c7 t4 a* B
  608. ; http://php.net/variables-order
    9 p8 u" E2 b1 `. o
  609. variables_order = "GPCS"
    0 U$ _+ ~+ y4 e8 x

  610. 8 \. u' F/ x$ Z5 x
  611. ; This directive determines which super global data (G,P & C) should be
    % ^1 W0 O# |, o4 V" U% M2 ?
  612. ; registered into the super global array REQUEST. If so, it also determines
    3 r5 p  A! J4 o% A1 b2 ^
  613. ; the order in which that data is registered. The values for this directive
    ( _! k9 D4 A1 Z" Q
  614. ; are specified in the same manner as the variables_order directive," }8 c3 T9 g! b6 x: [$ D: U' M
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set2 [% P, X, }/ u! M4 T
  616. ; in the variables_order directive. It does not mean it will leave the super
    * }. y- i9 I, B! z( D3 z* p
  617. ; globals array REQUEST empty.9 n( f- N' E7 X) @4 d7 r1 {. E3 P
  618. ; Default Value: None
    . j. }! [7 e9 a# @, H
  619. ; Development Value: "GP"
    8 k# y) ]- J% R; Y
  620. ; Production Value: "GP"
    / `6 j% x' ^( x  ]6 @: {5 e. x( Z
  621. ; http://php.net/request-order7 `* {5 M6 T* `9 d) p! ?9 d
  622. request_order = "GP"
    * Y1 T$ Z) A7 S0 U$ L# t5 b1 i6 T
  623. 9 o: {% R: ], n9 K+ i) K8 a
  624. ; This directive determines whether PHP registers $argv & $argc each time it  Q2 q0 U) t: ?* A% C9 n; o
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ; e/ E( d& ^) e9 @- h
  626. ; is invoked. $argc contains an integer representing the number of arguments( X0 U. f/ ?6 w6 x" ^' r
  627. ; that were passed when the script was invoked. These arrays are extremely
    . Q0 X/ Q5 F) k4 v
  628. ; useful when running scripts from the command line. When this directive is
    # K- N; A& j* m) I. _, s1 z
  629. ; enabled, registering these variables consumes CPU cycles and memory each time5 s$ E) ?' V( [1 K6 Z/ i
  630. ; a script is executed. For performance reasons, this feature should be disabled
    9 t# P; [: ~/ v. I1 Z! M& t- s: O
  631. ; on production servers.& A6 C1 w) C$ |) T
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 @; r% N  d6 ?6 i
  633. ; Default Value: On
    3 M. Y% Y. ~! y7 T! |
  634. ; Development Value: Off% D8 T4 h; a( M
  635. ; Production Value: Off
    ( z4 ^+ ]! M: B
  636. ; http://php.net/register-argc-argv" H+ `+ h$ r3 L
  637. register_argc_argv = Off  z3 ^1 u0 @# K/ I' z4 z

  638. 5 T) ^3 a' i/ c% S- d# A
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're; z2 L! I% w- e& e) Z
  640. ; first used (Just In Time) instead of when the script starts. If these3 ~; w; C; G8 P
  641. ; variables are not used within a script, having this directive on will result
    9 k% h0 P  M$ d& G  _" l. m
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    * t9 ?2 L, O. U- A
  643. ; for this directive to have any affect.
    ' V: C% @$ X$ ~- E. |
  644. ; http://php.net/auto-globals-jit
    * m$ R! n; ]. f' W4 @$ X
  645. auto_globals_jit = On
    + k2 {: P2 y2 F8 I7 c

  646. 0 j* w* Z* U; U2 l. T8 _2 b
  647. ; Whether PHP will read the POST data.) A: ?" U5 t4 J; J' C
  648. ; This option is enabled by default.# z0 \, N: ~0 X
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ! a+ F7 U: V7 t, r) _4 F
  650. ; and $_FILES to always be empty; the only way you will be able to read the1 m9 J9 ~6 W; _" J: e$ T7 ]
  651. ; POST data will be through the php://input stream wrapper. This can be useful% t$ a0 p8 r1 p8 H
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ' U9 m0 l* T8 C
  653. ; http://php.net/enable-post-data-reading
    ) F' f5 M0 R# U
  654. ;enable_post_data_reading = Off- A- y  p2 G% X7 g- T; }% Q
  655. 0 T8 k" \# G, P3 n, U& ^
  656. ; Maximum size of POST data that PHP will accept.
    0 @$ d; _( f2 J- N4 E
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
      h7 ^7 j8 l! H8 v. m2 h
  658. ; is disabled through enable_post_data_reading./ K8 G! g+ w1 A8 f% T
  659. ; http://php.net/post-max-size7 t" z" F/ [/ j) y3 [; d4 J2 C
  660. post_max_size = 50M- T0 \( v9 N. U6 k' X& x* f

  661. 4 v4 g& r5 ?4 |
  662. ; Automatically add files before PHP document.- b; g. f0 l* y$ j' G5 D
  663. ; http://php.net/auto-prepend-file: ~+ k3 O( G3 k
  664. auto_prepend_file =
    8 }! N& Q, ]) _% D  w
  665. & Q9 a$ ]7 {4 ?
  666. ; Automatically add files after PHP document.
    ( Y  I) I" O4 G( F
  667. ; http://php.net/auto-append-file
    / N' f. R3 l7 ]% ]
  668. auto_append_file =: F# [2 w. z7 v! [7 X0 N  u/ o# R

  669. 8 ~! ~8 V7 s5 D
  670. ; By default, PHP will output a media type using the Content-Type header. To5 Z3 ]# N: c- E8 n( W. K+ W
  671. ; disable this, simply set it to be empty.) m! W. ]9 [( w' A; h
  672. ;( \1 U9 B# h% S, ]' n6 E( m1 ]' p
  673. ; PHP's built-in default media type is set to text/html.  B" p# I' h& A# d3 [: d
  674. ; http://php.net/default-mimetype6 v" ^  G( |4 ^6 V: q' h- s, u
  675. default_mimetype = "text/html"6 x" o7 ?) d& j

  676. ! @/ P) \' v, @* Z; {& R
  677. ; PHP's default character set is set to UTF-8.
    1 w  W4 f* [9 \# X- a2 W0 ~, M
  678. ; http://php.net/default-charset3 T, d/ q& y) c4 r0 f& ]" X  r
  679. default_charset = "UTF-8"
    ) ~9 Y" O0 S' x# n; b

  680. 2 Y0 M2 u. q8 T
  681. ; PHP internal character encoding is set to empty.- I' X& I2 \) o. F( W, `; S) Y. k" O
  682. ; If empty, default_charset is used.
    % d/ H& p% X- \: v7 t
  683. ; http://php.net/internal-encoding9 \8 `6 Q+ F4 U+ q0 O) t7 e, g1 T1 ~
  684. ;internal_encoding =
    : s, }3 X7 k3 ~

  685. 6 z. T; X9 B- @+ t# R8 g
  686. ; PHP input character encoding is set to empty.
    & L1 V3 y5 ^) B' P+ t
  687. ; If empty, default_charset is used.* I7 ]& Y, C2 P3 b  i! }6 Z: r1 q* E
  688. ; http://php.net/input-encoding7 s% d8 @/ [5 U) z# G% [) J
  689. ;input_encoding =
    3 a$ r7 p! \) I- q

  690. : _4 Z9 j4 I* }+ K/ k* c) J
  691. ; PHP output character encoding is set to empty.! ?; ~* D. l6 W4 W  \6 x
  692. ; If empty, default_charset is used.5 x% _* T7 G& m2 a( k* E- d8 E
  693. ; See also output_buffer.9 x2 f+ d( Q% ?' {
  694. ; http://php.net/output-encoding
    ; D5 _; Q6 ^5 E/ N& L
  695. ;output_encoding =3 k& g! k- E$ i5 V
  696. : S2 }! i: x: d; \) e; t3 h& u
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ! u% l& S% p  S
  698. ; to disable this feature and it will be removed in a future version.
    2 `. H: E( F+ q$ p2 q# u* C+ }$ I
  699. ; If post reading is disabled through enable_post_data_reading,) J! Z" ^1 _6 T. f
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    " x, a; i5 p1 V% q* Y
  701. ; http://php.net/always-populate-raw-post-data
    ( h6 R4 C+ N! d
  702. ;always_populate_raw_post_data = -19 Q9 i: A+ B2 n3 T, f8 M
  703. / @9 k, Q" j: C; _
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    8 F9 V8 r4 @' b$ L* V/ T
  705. ; Paths and Directories ;
    - T  T" L, l6 E; B
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;: D! Q6 |' B. b; X- A
  707. 6 q( v' M4 I( ~9 H4 e
  708. ; UNIX: "/path1:/path2"
    : c+ p% H8 I- Y" l$ q6 F* Q. L
  709. ;include_path = ".:/php/includes"
    ) g# }. r" \* x5 B) w* }
  710. ;
    * ^2 C. Z( d' }8 t3 J
  711. ; Windows: "\path1;\path2"7 ]" j7 [: G, A2 W5 C7 N% v) x
  712. ;include_path = ".;c:\php\includes"
    , o7 f9 Q" `" }2 M
  713. ;
    7 \+ ~3 _* Z; a; _! N
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"& L& D. Y' g% s- M) r7 S- B9 U
  715. ; http://php.net/include-path
    4 f) b4 H3 x' j# E& I2 C

  716. & t2 E* }( C8 Y/ q+ N+ m" @
  717. ; The root of the PHP pages, used only if nonempty.
      S# p2 i7 u* V% s5 U0 B6 s
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root+ J8 T0 d2 [% k
  719. ; if you are running php as a CGI under any web server (other than IIS)4 @/ D6 s4 p6 l9 ^1 `
  720. ; see documentation for security issues.  The alternate is to use the
    % e+ u1 D5 G7 X" D5 P, K' m
  721. ; cgi.force_redirect configuration below1 u  a3 v5 |. e
  722. ; http://php.net/doc-root3 k* w/ R8 ?. H" W
  723. doc_root =! u% u- {2 e+ t& p! O

  724. 9 c4 v, T- ?; @
  725. ; The directory under which PHP opens the script using /~username used only
    ! Z3 A. T0 l. K0 ~" N3 J
  726. ; if nonempty.9 f2 Y& x0 o1 \! N5 r& B2 j: Y( u$ K7 Z
  727. ; http://php.net/user-dir
    $ Y% J+ H: L$ x( w: D1 q
  728. user_dir =
    / L9 G! Z6 Z) U+ _) a4 n

  729.   n, `' I$ v% M- F
  730. ; Directory in which the loadable extensions (modules) reside.( c5 `+ U6 u/ U% w! g  e
  731. ; http://php.net/extension-dir5 J( g  e3 b  o  G% z
  732. ; extension_dir = "./": Q  i4 ~! o+ R8 P# M  l+ }" B
  733. ; On windows:; f+ {- A4 Q6 \: P- t
  734. ; extension_dir = "ext"
    7 m7 ]) L& Y% f5 k! F1 \: o  {5 a
  735. - a: w1 n/ F1 K& W6 O. o
  736. ; Directory where the temporary files should be placed.& m: G0 S  X' _6 Y: j$ w! d- r
  737. ; Defaults to the system default (see sys_get_temp_dir)( B  B6 ]/ ^  b/ r  B
  738. ; sys_temp_dir = "/tmp"
    7 }) x( i9 a# w, s" y

  739. 4 B2 d% D# W# v3 y
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work$ R* f. h7 z7 H9 ^+ V4 h
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically6 X) z! S: E" P) g- r; r  i
  742. ; disabled on them.- Z* `( R% b$ D+ Q" Q2 F% y
  743. ; http://php.net/enable-dl* G  g& ?- h, w+ A
  744. enable_dl = Off
    + a- h& O- W1 R& s
  745. " Z( v  A6 z& T" z, R
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    $ ~* x6 z4 q6 ?! ~
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    : C' G# v6 @; g. F
  748. ; turn it off here AT YOUR OWN RISK" N" \1 j9 A" W7 B) q1 q# h: c: n  A
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ' z1 }. b4 j  o9 Y6 J
  750. ; http://php.net/cgi.force-redirect
    - o2 P$ m5 }& t! \5 {) k5 n7 J  b
  751. ;cgi.force_redirect = 1
    ! n1 e# f; j1 L" J" [7 r

  752. # Y1 O3 Q7 K' z6 i) E
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ; ?7 `% p- c' B( S; V
  754. ; every request. PHP's default behavior is to disable this feature.
    , l( h. f7 @# J% M
  755. ;cgi.nph = 1
    0 h* k( J4 j+ E9 _+ o; S

  756. : U. G; y  u% I( |
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    # I7 d- Y; e7 |
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    1 \; E3 f7 Q, K) \7 m
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY6 j3 J6 L* @  z; \
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.+ A  ~9 j2 m5 m5 t
  761. ; http://php.net/cgi.redirect-status-env2 f$ J* p3 N$ x) _2 G
  762. ;cgi.redirect_status_env =8 I! v6 Q& v  x% I! M5 P% {0 p# k* S

  763. 5 ?/ o" m( v! \& q) m
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's4 P0 f: U$ f) p) L" M, q
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    & K; j5 c. i5 W, R6 l
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    + q' y/ M3 M0 ~+ x+ M9 l
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    1 G* f, y% M' W- G0 ]0 u
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    3 Y/ T# A" X7 N8 Z; u6 T2 Y) g
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.& D% m$ n# Q6 V6 h. W" \: j9 d
  770. ; http://php.net/cgi.fix-pathinfo% y5 }9 W# J9 d8 Y% \! [2 A' J0 K
  771. cgi.fix_pathinfo=1! W! K* S, T7 j9 G2 u3 Z  Z# t
  772. 8 h# b. J; o& b/ j
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside  s- x7 E8 S+ l2 I) V
  774. ; of the web tree and people will not be able to circumvent .htaccess security.& |! y8 e7 D0 }
  775. ; http://php.net/cgi.dicard-path* u6 j7 Y5 Y% v2 Y2 }' \  l
  776. ;cgi.discard_path=17 p# p* Z: Z: Q: ^
  777. ' V8 j3 I# e  j: `$ z. W
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate* Q7 K5 M, ^9 T" H: H! R/ H
  779. ; security tokens of the calling client.  This allows IIS to define the
    4 H9 J9 p( K2 T, _9 W/ z& u
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    & h% E4 H3 i' r& o8 U2 W/ G" [
  781. ; does not currently support this feature (03/17/2002)
    * |) s8 D- a4 H# T& N
  782. ; Set to 1 if running under IIS.  Default is zero.1 Z. A4 R' A# m; R- Z* @- E
  783. ; http://php.net/fastcgi.impersonate: _* d' F) `9 G+ Z9 e7 J* c
  784. ;fastcgi.impersonate = 1; y, [3 V% r% {0 P- H* b( [6 V

  785.   R8 N% U6 c! E5 d$ @2 M
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable7 U. h1 y# x( X4 l+ g' i
  787. ; this feature.* ^$ @1 `4 f  j# ~6 X) E
  788. ;fastcgi.logging = 0
    6 J. |& L% c) `. M

  789. 3 ]2 `4 f( u8 O1 l
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to: Q" z' }8 {! B2 j7 V- _+ h( {
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that  G' [* a* z& |4 Z% C4 f9 z4 j( \
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    9 \; J" F3 Q* E
  793. ; RFC2616 compliant header.
    9 L- \  o4 Z, l* B8 ?! l
  794. ; Default is zero.) ?) y# k9 ~2 o1 q( J2 J
  795. ; http://php.net/cgi.rfc2616-headers2 C8 B% D  e0 F4 t! J: f; X
  796. ;cgi.rfc2616_headers = 0( c. g5 w! }8 ~1 W: q$ y

  797. + y8 A6 T; G; J
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!5 ^( \2 r: p( K
  799. ; (shebang) at the top of the running script. This line might be needed if the$ y7 h* Z/ B4 W9 _/ h; f0 \# j) h
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    " I. [% A/ p& g9 M
  801. ; mode skips this line and ignores its content if this directive is turned on.& _# Y/ Y  ?% Q* f% X2 N/ J
  802. ; http://php.net/cgi.check-shebang-line
    8 F% ]. t. @# {4 U
  803. ;cgi.check_shebang_line=1
    & M; C: S* r+ r7 r, K1 ^
  804. * N5 o: M! t% T7 e
  805. ;;;;;;;;;;;;;;;;+ l: _! u/ H  Q" |- l7 b
  806. ; File Uploads ;$ |. u* u9 j) Z3 a1 [) H
  807. ;;;;;;;;;;;;;;;;
    # p& D8 i, a% S
  808. - m( R7 h6 t, u5 C( d* I
  809. ; Whether to allow HTTP file uploads.
    # j+ B4 L0 `9 y! R
  810. ; http://php.net/file-uploads
    $ Y% P" h) T4 i, |$ n4 b
  811. file_uploads = On: p; C9 y0 \$ Y6 m8 K& V
  812. 3 Y# E& l3 s5 d. Y* t* f
  813. ; Temporary directory for HTTP uploaded files (will use system default if not/ C- P7 ^  @" _  _8 ]1 i
  814. ; specified).. p) e5 X: i! T4 c" A% R& g
  815. ; http://php.net/upload-tmp-dir) ?: c6 D4 W. a0 B
  816. ;upload_tmp_dir =& Y- s3 D$ o- j( m: M3 @

  817. 8 i. ~. y6 D* U' p
  818. ; Maximum allowed size for uploaded files.
      f6 O* G: O' D& g# U
  819. ; http://php.net/upload-max-filesize. P, w/ u# H# K) a  D- v
  820. upload_max_filesize = 50M
    9 ?& v$ P  _6 e% r0 o: v/ b
  821. 7 I* a1 p2 s! J% U8 a* W
  822. ; Maximum number of files that can be uploaded via a single request
    5 Y9 P% w( ]; X3 a  i8 M
  823. max_file_uploads = 20
    1 L5 ^! f( F; A, P% Y5 S( \
  824. / O. G( Z- O& I) d
  825. ;;;;;;;;;;;;;;;;;;
    ) a" g* X" k# g1 X- v4 r+ Q
  826. ; Fopen wrappers ;. K9 G7 g+ J/ ]) j, p+ b
  827. ;;;;;;;;;;;;;;;;;;2 R: x, B. w; W6 p

  828. ; U. \( x2 }4 p1 b/ n
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    5 K- U4 i7 q0 g$ c3 _6 |
  830. ; http://php.net/allow-url-fopen0 @& Y8 ?  z. d7 C' U9 G1 J4 P# Z
  831. allow_url_fopen = On2 _1 }! p1 d; I: i

  832. ( {7 D( j) ?1 u( H) u" T; c6 H
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.3 b% _* t5 P7 u. v7 h
  834. ; http://php.net/allow-url-include
    3 L. X5 z( K, r' k) {/ h8 g
  835. allow_url_include = Off1 Y8 [$ B- u, K7 J5 _

  836. 1 O2 z2 r7 B0 `, x/ W& Q+ G8 l
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    4 v: T  d. e+ h! r" i
  838. ; for this is empty.3 v+ D# N# l" q) s
  839. ; http://php.net/from8 A% r) G  J4 V2 B# b5 A" T1 h
  840. ;from="john@doe.com"- H) h6 L( [' u+ Y

  841. * e& s7 z; D9 m" g3 N
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
      {! D4 @# a. {7 p4 W" ~
  843. ; http://php.net/user-agent
    % D" {, o1 }' g" n( R" O
  844. ;user_agent="PHP"
    6 z- }9 H4 g6 R7 r8 c
  845. 3 n/ l8 A: J3 Z, w( l1 E1 E
  846. ; Default timeout for socket based streams (seconds)
    : m$ B& p+ n7 v4 o" K7 a8 w
  847. ; http://php.net/default-socket-timeout- x; }7 a6 `4 k/ t/ f6 D! P5 `" z) s
  848. default_socket_timeout = 60
    9 Y  e/ z  ^/ v) R" p. U! X9 h- e

  849. 5 P) g& L( w5 A0 U' ]' W  _' @  s8 A
  850. ; If your scripts have to deal with files from Macintosh systems,
    + P1 q. |& @, R" |; [
  851. ; or you are running on a Mac and need to deal with files from
    " d; T  P' _; g/ q2 t1 K& e7 t( i. P
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ' |  W' B4 e; J" R9 V
  853. ; automatically detect the EOL character in those files so that
    6 p4 E6 c$ x+ @1 u
  854. ; fgets() and file() will work regardless of the source of the file.
    * h/ |: P1 _9 @
  855. ; http://php.net/auto-detect-line-endings
    8 D2 }7 H4 s8 C1 s2 m- b
  856. ;auto_detect_line_endings = Off
    : h. I* t% o" p* K  `+ B- V

  857. , S; N0 M- r* A1 ^  C# J4 Q' v
  858. ;;;;;;;;;;;;;;;;;;;;;;6 S2 ~0 t6 U4 Z  b% ?& S& j; m
  859. ; Dynamic Extensions ;- O; ]- M3 G: d0 H8 m/ e/ V
  860. ;;;;;;;;;;;;;;;;;;;;;;9 D5 p9 h* o% G" S) ^3 e- L$ T9 k
  861. % C4 N0 \/ G8 |
  862. ; If you wish to have an extension loaded automatically, use the following9 b6 K4 O- T& M- h0 y
  863. ; syntax:
    : J2 \: q. k# F- b+ d: `
  864. ;+ M( b9 h) z9 f: ~, h
  865. ;   extension=modulename.extension
    8 L: j$ d) K/ h+ m* j
  866. ;+ d# D% Y/ ^/ w' T5 ~5 A
  867. ; For example, on Windows:1 h; @$ N+ Y5 S0 I* Y7 j
  868. ;
    ! [2 x; c3 ^& ^/ |9 p
  869. ;   extension=msql.dll
    - U) ^2 w% k3 E+ ^& _
  870. ;5 q/ R8 ?, G( S/ U* ~( C8 a  o
  871. ; ... or under UNIX:
    , }+ ]& K& T6 ?6 a! V
  872. ;& Q5 C9 x; v! p# r5 K
  873. ;   extension=msql.so0 c$ k. ]" z# F0 D# S
  874. ;
    ' K' F* e" m! G: Q$ E
  875. ; ... or with a path:
    $ a: A4 e* ?8 o# t" a2 @
  876. ;' |1 Z1 c5 k% B/ R* U$ w3 X
  877. ;   extension=/path/to/extension/msql.so7 ^8 ^9 I$ v5 Q" G" \  L
  878. ;
    2 p: |" E, i: Q, P; o
  879. ; If you only provide the name of the extension, PHP will look for it in its0 m$ ~% ]" `% B4 h$ e
  880. ; default extension directory., u! I* U% X  f2 F+ M3 F
  881. ;! P7 y2 N" V7 i# c3 m
  882. ; Windows Extensions
    3 ^6 C# a% k2 e- O9 M6 _. M8 ^6 Y
  883. ; Note that ODBC support is built in, so no dll is needed for it.2 w& K& j0 [! a% m: X' t
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)' e7 `) X0 w% B2 L2 M
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).  B% v8 |" F  I# u( ^3 b; W1 T
  886. ; Be sure to appropriately set the extension_dir directive.5 ]8 k* N9 v0 `& w
  887. ;$ ?( ~& O" f$ e
  888. ;extension=php_bz2.dll
    - F$ P  ]! B! s* E" M  ~
  889. ;extension=php_curl.dll+ X0 L6 Z' z3 u3 {
  890. ;extension=php_fileinfo.dll
    ; V" {1 h/ b0 C2 c' k% w  t  t! ~
  891. ;extension=php_gd2.dll
    $ X$ L, @0 |1 W8 e" D+ T4 R
  892. ;extension=php_gettext.dll4 E/ \- A/ n( T" K" @( D  H
  893. ;extension=php_gmp.dll$ s! V  b6 d# P& q% y  g% ^
  894. ;extension=php_intl.dll. E  K. ?" A8 C. ~/ O: R) @
  895. ;extension=php_imap.dll
    ; t# H+ o& C6 w8 i( V1 p/ ]9 `+ l) [
  896. ;extension=php_interbase.dll
    ' w8 w! r/ b% e- Q- b+ ~
  897. ;extension=php_ldap.dll) R& J! Q  B# @& s! S* j  S! {& S
  898. ;extension=php_mbstring.dll
    * N# _6 \2 g4 V4 z/ A  ]8 B
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it8 L+ z9 l" r- }3 G& N% e( e
  900. ;extension=php_mysql.dll
    $ f; C/ @+ e3 f7 }! ?
  901. ;extension=php_mysqli.dll
    " q7 t. N- S2 `. m& p7 a
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ( y* W/ B( [" j- R: _! t
  903. ;extension=php_openssl.dll
    / ]6 W  w9 P  S% [' C- v- [' F  [
  904. ;extension=php_pdo_firebird.dll
    , L; u, j( T: a) q* @4 B9 w6 U" c
  905. ;extension=php_pdo_mysql.dll7 [8 j) G+ g* Y1 w3 f: \- F
  906. ;extension=php_pdo_oci.dll
    ( f' M% b5 x/ J) s$ |) r. X
  907. ;extension=php_pdo_odbc.dll4 [. f% J2 ~: D1 N3 J, b. E0 q
  908. ;extension=php_pdo_pgsql.dll
    ; Y" z' L$ h1 j" G# h' D0 C
  909. ;extension=php_pdo_sqlite.dll
    6 y) w: Z7 f/ f' ]  O. c
  910. ;extension=php_pgsql.dll: s5 G+ t' ]! U6 c' _
  911. ;extension=php_shmop.dll, `, ]( q* K) j* K
  912. 9 d1 c! G: E1 F1 p/ X8 k# y: p2 f9 p" |
  913. ; The MIBS data available in the PHP distribution must be installed.
    ) t# w2 q: T2 T, n4 j
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    4 [  T& c0 J3 l7 g
  915. ;extension=php_snmp.dll
    0 B" X& A1 v: a( V0 ^: n
  916. 1 e/ }0 d/ F8 R% \6 @- b* z  g
  917. ;extension=php_soap.dll
    2 F& [7 Z5 |  U1 ]) l1 \
  918. ;extension=php_sockets.dll
    6 l: U. }& z5 o3 a0 ~
  919. ;extension=php_sqlite3.dll
    ( a1 T. {4 P  b( u+ t8 V
  920. ;extension=php_sybase_ct.dll
    ) A2 [# N3 K8 `$ ?  n
  921. ;extension=php_tidy.dll2 d0 g5 L0 U4 |% v/ W1 Z9 }# j( b
  922. ;extension=php_xmlrpc.dll% [: _9 i  A- K# n# \; Z7 s( Y
  923. ;extension=php_xsl.dll+ d* Y2 f% K. @. s! x/ A0 i/ j

  924. ) w' M' H+ N7 t& X: d6 h
  925. ;;;;;;;;;;;;;;;;;;;4 z- x$ O2 I" s  J  C! ~$ t
  926. ; Module Settings ;5 s- D& B3 x% ]7 y  `
  927. ;;;;;;;;;;;;;;;;;;;8 c  [+ N( q4 H: Q

  928. 8 v* |/ b3 Z0 T; y) j: O0 w
  929. [CLI Server]" o" B* {5 Y: o0 }% I! f! F# l, N
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.3 h& I& u* ~9 r. |7 P+ Q( K& k
  931. cli_server.color = On8 l, P! V+ w# D  G

  932. ' R, F$ C: n1 F
  933. [Date]
    " u+ ?; S' M6 v3 Y- J( g3 @8 w
  934. ; Defines the default timezone used by the date functions, H$ R/ H- [- ]8 @$ r! n" U$ ^: {
  935. ; http://php.net/date.timezone9 h2 ~7 V$ `& D" h
  936. date.timezone = PRC- P; L! E9 y7 l. v% R+ ?
  937. 1 h0 U" ~3 g6 F
  938. ; http://php.net/date.default-latitude0 u: k# i, D. Z; k2 b0 D4 \5 A7 n. R
  939. ;date.default_latitude = 31.7667
    0 j0 H4 P: N: O$ W

  940. & I8 X1 n* m+ F: }  G4 K
  941. ; http://php.net/date.default-longitude1 m+ s# @7 N2 o8 w% _
  942. ;date.default_longitude = 35.23337 T# ~) x4 t$ w' M) x% N: A
  943. ' I4 q, F9 L5 Z! j
  944. ; http://php.net/date.sunrise-zenith$ I, d; ?' {  A' [0 T6 f
  945. ;date.sunrise_zenith = 90.5833332 E2 \9 c& V3 W2 d! j" x7 @/ Z

  946. ; _( I3 I& {5 W& j
  947. ; http://php.net/date.sunset-zenith9 r- b) S4 D  Q& [5 R/ J& ~- q! W
  948. ;date.sunset_zenith = 90.5833339 i+ V' y8 O( b( D9 Y& E

  949. % e) f' r$ b1 Z* y, c
  950. [filter]
    8 m! m3 B' |( ^$ {
  951. ; http://php.net/filter.default6 D* J3 c* r' q$ l' C# C
  952. ;filter.default = unsafe_raw$ ?5 ?( G: \  t% \  W' |6 X

  953. + p* k$ E% M8 D8 d) R
  954. ; http://php.net/filter.default-flags# N- b* K# C0 [
  955. ;filter.default_flags =% v* M" m% A- o, W+ Z6 O

  956. 5 ]) X% X, K0 y* a# r5 u5 F
  957. [iconv]  w# H4 I0 i/ k# M8 ?
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    5 C% r; H6 G, v" X4 E
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    2 e( Y8 v! S( s. H/ ?. _* D
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ! a# d/ B0 l. H9 \0 |
  961. ;iconv.input_encoding =& F$ p$ y, D9 n+ K* g
  962. 3 e6 m$ J8 k2 b, L6 v
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.$ ^  d2 I$ g/ ^0 |& F& V
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.5 a9 p$ A. `; G* @# v. d' `
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    8 S8 ^$ ?6 }* g% h( U9 U
  966. ;iconv.internal_encoding =
    / p. j( k9 {1 d4 h& G

  967. ( L$ D" o& d9 F, L7 _* `6 x
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.  l) f! `7 P/ n( ]- b+ C
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.8 e  B% f7 M* C& r( f
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ! S2 z& o7 Z6 `. p" P2 n) ?
  971. ; To use an output encoding conversion, iconv's output handler must be set0 ?* i& T; W' z0 y/ M6 u
  972. ; otherwise output encoding conversion cannot be performed.8 H, G5 j3 ]9 \% S
  973. ;iconv.output_encoding =
    ; N; l% c$ m# x, u* o; R& b3 i

  974. 1 G: X& Q1 T, ~; a
  975. [intl]+ ~6 @5 x$ G) G. w& x2 }8 c8 `
  976. ;intl.default_locale =
    : R! z" i  x: A. g' d, v$ a
  977. ; This directive allows you to produce PHP errors when some error3 B* f) q: R. ^4 q) P
  978. ; happens within intl functions. The value is the level of the error produced.
    & o2 K8 p: w% [+ n" G
  979. ; Default is 0, which does not produce any errors.2 r3 M, ?' w  l& u. K
  980. ;intl.error_level = E_WARNING
    2 I( E$ E" n- h; X: |; [/ r- m
  981. ;intl.use_exceptions = 0
    1 p, d( `0 O6 h" d
  982. " P- t6 ]: L9 Y4 I
  983. [sqlite3]2 N' r& m  H3 G4 M. _
  984. ;sqlite3.extension_dir =1 A* j2 J/ t& D" j6 g/ b1 r
  985. . C0 D' O9 x6 {. ?( j7 U1 x
  986. [Pcre]
    $ i9 _2 D0 [8 I7 w
  987. ;PCRE library backtracking limit.  f7 r) K3 ^/ I2 q, A2 r$ N7 U8 n
  988. ; http://php.net/pcre.backtrack-limit
    ; h( u  x" _/ O+ q! d7 q' B
  989. ;pcre.backtrack_limit=100000% D9 s! y* G4 }! \  a9 _1 h- q
  990. ) [% d0 g7 g8 S5 g$ G+ C4 C/ Q
  991. ;PCRE library recursion limit.
    ) P- T2 L" z7 b- ^) k# ^1 d
  992. ;Please note that if you set this value to a high number you may consume all
    ) u- D  c; q# p# t
  993. ;the available process stack and eventually crash PHP (due to reaching the, [  e7 `- O* _5 P5 ^1 w( }7 B
  994. ;stack size limit imposed by the Operating System).( J% R& E6 |; w5 c1 k$ V
  995. ; http://php.net/pcre.recursion-limit
    # w/ i- X" h6 P/ N$ i
  996. ;pcre.recursion_limit=100000( Y) N7 h* X: \. e* t
  997. 2 A- K' e; _6 E* q
  998. [Pdo]  h. h* q& Q* u8 {- L
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
      u4 i* q2 G/ o# s: C
  1000. ; http://php.net/pdo-odbc.connection-pooling1 l9 q' V$ N1 E" U0 |- Q$ b4 Y
  1001. ;pdo_odbc.connection_pooling=strict
    ; D- q( @- U( `: S  `, \

  1002. 3 l- F3 Y. x& D2 M) c
  1003. ;pdo_odbc.db2_instance_name
    ' A) t$ T1 j* r* H6 ]% V* v: w
  1004. ' L5 z6 p. c2 O- ^+ V5 x: |
  1005. [Pdo_mysql]( ]$ C" N3 {0 R/ G3 M4 L
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 f: N. p$ J! m
  1007. ; http://php.net/pdo_mysql.cache_size
    # z" |& G$ p- b& n- W! Y; E: I# p/ G7 k
  1008. pdo_mysql.cache_size = 2000
    % _/ X, |0 {+ y% b
  1009. 5 U* P; Y  I- J7 ^
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; W4 @2 H& m9 j# x6 a, I1 W$ `
  1011. ; MySQL defaults.1 ?+ n7 B4 l0 c& t% N9 s
  1012. ; http://php.net/pdo_mysql.default-socket
    8 \$ y3 f. k1 W" x3 W& {
  1013. pdo_mysql.default_socket=1 x9 J; @+ q) m2 [" h: y% D
  1014. 4 r( Z* K6 Z) W  g/ n
  1015. [Phar]3 D  ]/ a0 ?  x5 k# f
  1016. ; http://php.net/phar.readonly3 T( I& e1 m, \. Q7 ~$ N% N
  1017. ;phar.readonly = On
    ) W: M7 ^6 ]2 D2 x$ }& p9 h
  1018. 7 {$ Q7 N1 u1 S1 Y5 F4 Q5 H- y
  1019. ; http://php.net/phar.require-hash
    7 T3 ], q  b3 \7 u, B
  1020. ;phar.require_hash = On
    ' f* A2 [3 x; J1 q. J/ K

  1021. # x  E" g  ?& u) |* ~/ [" k8 V) @6 L
  1022. ;phar.cache_list =3 }: q  N5 G, Z

  1023. ; _' J& n8 o: k3 k3 z7 x8 v
  1024. [mail function]8 y( O1 w+ r4 g: O3 R
  1025. ; For Win32 only.
    / @. s7 s5 s. L' Y8 A1 Y- W7 ]& u
  1026. ; http://php.net/smtp
    $ Y1 I* j; Q" B- U  O+ r7 g  e5 @
  1027. SMTP = localhost! D, r1 z5 W9 z# |. X% n; @
  1028. ; http://php.net/smtp-port) Z( y" C% r6 ~3 ~) n# l
  1029. smtp_port = 25" D) N, f( u# k9 @
  1030. ) m! |9 E5 p$ {, ^3 R0 H
  1031. ; For Win32 only.' |; ]# @, ?6 |- |
  1032. ; http://php.net/sendmail-from
    8 U' J9 J% K  ]$ ~+ g5 w
  1033. ;sendmail_from = me@example.com
    1 L, m: N9 }& x6 K/ E
  1034. 4 w# A/ f8 [9 n* B3 c2 P8 F! r8 K: |
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ! o7 Q0 t2 A6 O: M' c9 C  [- m3 l
  1036. ; http://php.net/sendmail-path
    ( [2 x1 M( o, a$ Q3 S6 b5 s5 _
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    1 `! h7 E2 K# L) k) c9 }' m% ?
  1038. 8 E$ v6 Q+ L0 s5 n* L( f
  1039. ; Force the addition of the specified parameters to be passed as extra parameters7 t( `! c9 J8 @) f
  1040. ; to the sendmail binary. These parameters will always replace the value of  C* ^, [9 o1 n
  1041. ; the 5th parameter to mail().& @& T5 h2 R. s0 |" c  ]
  1042. ;mail.force_extra_parameters =5 |+ r& b- c' `) y

  1043. + W1 F4 F! Y4 x7 T; }2 _
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename1 a( I; K! @1 S8 _
  1045. mail.add_x_header = On
    0 m5 \+ T' y# t
  1046. - X' I% U% P0 y4 x; B, S1 D
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    + {9 \" O% ^4 \2 G3 b$ U
  1048. ; the full path of the script, line number, To address and headers.7 R  r2 R% k, W: n/ e& C6 O
  1049. ;mail.log =  g4 t9 ^* W# T7 I- p
  1050. ; Log mail to syslog (Event Log on Windows).# J, H) V/ \- v/ R# u4 U
  1051. ;mail.log = syslog6 }+ j$ F+ w2 }* |5 E" P# N, e( L

  1052. - Z- R& F; }+ o: U" ?/ I
  1053. [SQL]6 c* I3 k7 [3 s8 W5 l3 Z) A- D* z  i" [
  1054. ; http://php.net/sql.safe-mode0 Z0 }- W' y& H  c* X0 U# H; H
  1055. sql.safe_mode = Off
    ) x6 u9 [9 E; v; I
  1056. ! u& J; S' g: G/ e/ |, V: R
  1057. [ODBC]
    ; [; B3 b' T% _' u! Z; J
  1058. ; http://php.net/odbc.default-db
    7 h* m) U: q4 y% c+ N( f
  1059. ;odbc.default_db    =  Not yet implemented% o. v2 y2 V8 F( A

  1060. 5 a1 S+ b# J3 O9 Y! J: G
  1061. ; http://php.net/odbc.default-user: N& z/ O) E' a, ]
  1062. ;odbc.default_user  =  Not yet implemented' t2 i, ]$ M# d' \4 z( t2 k! N

  1063. # E$ ~0 s, b% d; A$ ^! ^
  1064. ; http://php.net/odbc.default-pw/ f% X( m4 J: C& z" T  O
  1065. ;odbc.default_pw    =  Not yet implemented# L& x2 ~5 P* j( ]+ p/ P2 H6 |
  1066. , T0 Z7 U; [! |: p' x
  1067. ; Controls the ODBC cursor model.
    5 q, a8 E/ g( p- h
  1068. ; Default: SQL_CURSOR_STATIC (default).* n- ^$ Q. K$ u' B; F. a
  1069. ;odbc.default_cursortype+ L& s5 J* X0 S
  1070. 2 _0 u7 _! v- ?  M
  1071. ; Allow or prevent persistent links.
    & D1 L. ~+ v: r. O# l( l
  1072. ; http://php.net/odbc.allow-persistent
    : _; ^- m; E( Q) U% Z) n+ U8 K0 u
  1073. odbc.allow_persistent = On' `5 n4 C  j- Y$ k

  1074. ) P9 r6 }5 T$ q& s* J% v
  1075. ; Check that a connection is still valid before reuse.
    $ y6 {  s, A6 r4 b- s6 f5 |
  1076. ; http://php.net/odbc.check-persistent
    * |) |) E+ p4 s3 J/ M& Z% C
  1077. odbc.check_persistent = On+ h( W) b4 Q3 _" W% M: }

  1078. + P3 w9 Y1 F- n& `
  1079. ; Maximum number of persistent links.  -1 means no limit.2 _5 h, |% S+ \
  1080. ; http://php.net/odbc.max-persistent+ o# x- J& Q3 w9 _6 Y
  1081. odbc.max_persistent = -1
    : W* l) Q- k+ a3 c) j+ m% C* t3 G/ ^7 g( r

  1082. 4 v. K1 L# V4 E4 l$ V  X% ?1 ?
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % W$ S0 [" _! [4 J9 f1 X1 V
  1084. ; http://php.net/odbc.max-links
    # x' B- w& c+ n
  1085. odbc.max_links = -1' s' G( G8 I% ?5 G2 ]4 x

  1086. . \& U! D. b9 ]4 T, C$ M- N0 v0 \3 [
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    5 K' y3 s( Q2 Z% N
  1088. ; passthru.* I  W2 i. i" F4 c# w- J  H
  1089. ; http://php.net/odbc.defaultlrl
    & `4 F6 ]5 y4 W: B* K' }
  1090. odbc.defaultlrl = 4096
    . G' S/ B; w/ B& A, Y3 h! V

  1091. ! l) [/ f- n/ P8 k
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    & l: k. W1 [. Y+ u0 b' f/ ]! Y
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
      p4 D8 W, D, X( C/ @) {+ H
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode$ g" j$ `3 F4 ?4 ^( D1 n8 P( @
  1095. ; http://php.net/odbc.defaultbinmode
    / D$ E! L; g  N4 V; |0 F5 G& o
  1096. odbc.defaultbinmode = 1! B9 x- U. s: _- @& N
  1097. , ]# {5 a* O, J1 @7 X1 H, G
  1098. ;birdstep.max_links = -16 A# j: Y3 ~9 Q; f  a- c4 P
  1099. ; |( H, }1 M# ]( }) o
  1100. [Interbase]
    5 F5 |- R( X% Q# Y
  1101. ; Allow or prevent persistent links.
    & O9 n6 E, k8 X, W
  1102. ibase.allow_persistent = 1
    + d  H$ J. D# Y9 I) U2 y$ [0 J: u
  1103. . N  n& g% [% C' m5 b$ n! b, a2 W, ~
  1104. ; Maximum number of persistent links.  -1 means no limit.
    # H9 X0 f- R* O: {7 J/ U
  1105. ibase.max_persistent = -1
    + t7 A; }5 T; [# X+ G& k  M
  1106. 6 |0 l% S2 ?) q, t# e9 ~
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      M+ @0 t# h$ F3 n0 w2 e# d6 }
  1108. ibase.max_links = -1
    : C7 K- j% {/ R2 o# x/ L# d
  1109. * V2 }' h/ z& {5 v5 v& f! S
  1110. ; Default database name for ibase_connect().) o/ s  T1 _/ j# |2 v! c1 f
  1111. ;ibase.default_db =
    8 }" r/ s7 \% s7 q) u

  1112. ' i9 j, T/ |+ d0 c# |2 P8 x6 q
  1113. ; Default username for ibase_connect().& W' y7 L2 J. W# ~
  1114. ;ibase.default_user =
    ) ^5 A. t2 z( Z" j% w, `
  1115. # ~7 J% n1 V6 f) U0 `% D* _; s
  1116. ; Default password for ibase_connect().( d& z) A) a. T* W# @" k
  1117. ;ibase.default_password =
    . |! I* U& S8 U& N
  1118. 8 z8 v9 Z% [& E$ C( [' k7 o
  1119. ; Default charset for ibase_connect().4 ~6 m4 [+ J- B- \! G$ [9 g8 N
  1120. ;ibase.default_charset =) {$ r/ z4 s8 M& [% \2 b  f

  1121. 9 f/ D1 X& l/ i. K1 I; m1 [
  1122. ; Default timestamp format.
    ; [* Q3 f$ I: @- j, g
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    9 w( t+ P! l' _8 q
  1124. 1 n: H$ D5 W* B' {
  1125. ; Default date format.3 ?4 d- T1 H6 [
  1126. ibase.dateformat = "%Y-%m-%d"/ S. e+ L$ ~" W; J' h8 H& K
  1127. * ?0 i1 h3 S! J8 f: @/ N6 X3 z
  1128. ; Default time format.
    0 e% g) ^( f" U3 e1 {4 r) J
  1129. ibase.timeformat = "%H:%M:%S"
    ) ?+ V4 F* S' Z) e3 d6 c$ q% M* }
  1130. ) w) j0 f! d( K" i+ x6 a+ R
  1131. [MySQL]2 b/ [. _- J( W8 Y( p+ N
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements* M( Q* ^: L6 R+ y9 F0 |
  1133. ; http://php.net/mysql.allow_local_infile0 _& t+ @# ]. f6 G: J
  1134. mysql.allow_local_infile = On
    " U3 y, `- g; _6 J# B# q* M) O  K
  1135. 2 t% ]8 \( H3 |- z" Y  ~
  1136. ; Allow or prevent persistent links.
    - L  B- B% D! {
  1137. ; http://php.net/mysql.allow-persistent
    - g2 g) ^0 p( H! W  R
  1138. mysql.allow_persistent = On
    ' [$ V; o4 e- u. d( z) F
  1139. . ?+ A3 ^5 l; Z. n0 G
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 W( `; T, ^$ r4 J/ E
  1141. ; http://php.net/mysql.cache_size
    1 @. p+ @2 c1 t# T, |/ \
  1142. mysql.cache_size = 2000
    : X8 R( Q! `2 d( z6 P7 ?% S8 Y
  1143. % b% q0 w: B7 Z6 a
  1144. ; Maximum number of persistent links.  -1 means no limit.& t8 b3 w& i" S; W/ m- v
  1145. ; http://php.net/mysql.max-persistent
    3 j0 {% q8 u( |) {: `1 G- Z# f) ^
  1146. mysql.max_persistent = -1, L4 g! j* q" P! o/ U- z# Y
  1147. 0 t( ]; _& ]: N  y# a# U* O
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 G7 }% f  l% @
  1149. ; http://php.net/mysql.max-links
    1 u) A  E7 ]& y6 H
  1150. mysql.max_links = -1
    ! ~( F* m( v+ D% a3 {
  1151. ; m+ X1 i- _3 \  R' Q0 L& n' t" y
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use8 w4 ?' N, W. p* D9 }
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the/ Y* X1 i5 x/ c: u* Q7 B, [# G4 |
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look, {) }' o9 K  K) K% p
  1155. ; at MYSQL_PORT.' b8 K6 ^% F8 u! G3 L: M& V0 o
  1156. ; http://php.net/mysql.default-port$ l! ~" y2 @" H
  1157. mysql.default_port =
    % [8 Y0 Q) U. d3 Q6 J3 X' y
  1158. " d  y( p! t: N* i! }! r) I
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in! O8 u$ o; h, i
  1160. ; MySQL defaults.
    6 z4 P6 \6 r4 z
  1161. ; http://php.net/mysql.default-socket
    ( J# E$ x  B9 Z$ F1 `7 k, ~
  1162. mysql.default_socket =
    6 L) z7 V7 ?1 _; I

  1163. 1 E1 l2 O5 d' ]4 o4 C
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ! x3 d1 {' T- x0 p0 O# E
  1165. ; http://php.net/mysql.default-host4 A3 C+ ^; y8 ?/ x
  1166. mysql.default_host =5 E  c& `# b2 ~# C9 M' `: W2 d

  1167. 0 ?+ o4 t8 |7 g) C' d7 H8 c  H' |
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).: o+ L/ W; Y$ m2 w: [
  1169. ; http://php.net/mysql.default-user
    8 @: _/ X- `) I2 B# D- [% B* k* {
  1170. mysql.default_user =* {3 N; A4 f, G
  1171. 1 O8 J5 D9 l5 C- h( O
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    " {9 O3 X' o: I. _; z
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    7 w: ]. q+ I/ F& L, _( l
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")2 g# S, e! D% n. u9 F! C% _5 ?
  1175. ; and reveal this password!  And of course, any users with read access to this9 l$ N: C7 o9 ~# O3 o+ f
  1176. ; file will be able to reveal the password as well.
    - p$ x* p; e8 f+ X; n/ @" w! x
  1177. ; http://php.net/mysql.default-password
    7 E) y# Q8 I  T$ }: ]/ j8 r
  1178. mysql.default_password =5 d- J" e$ i1 ?3 j, y& ?
  1179. 9 u, B& O1 G! z8 R( [& k
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    & F5 L3 u6 q: Y. E4 k2 e, N2 ^
  1181. ; http://php.net/mysql.connect-timeout# h) O# J4 C1 C" @4 A
  1182. mysql.connect_timeout = 60
    8 N/ U: L7 A6 n1 g* i( i6 w2 W' Q

  1183. ! ]3 V( P# k' E# Q9 k. @* T
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    $ F' s0 w$ w* V
  1185. ; SQL-Errors will be displayed.
    5 G0 E$ f/ M6 q1 L5 \8 A; m' o
  1186. ; http://php.net/mysql.trace-mode; ^& r; A# D+ h/ Z
  1187. mysql.trace_mode = Off; b6 N: q6 E5 A; {6 O" Q* F  u3 U
  1188. 5 _% s' h; g1 y+ k7 x
  1189. [MySQLi]
      C' k3 I: X! a) X) Y9 Y3 Q
  1190. 2 @$ S: n+ R1 i' U) m8 u
  1191. ; Maximum number of persistent links.  -1 means no limit.
    3 K. a5 X* f$ @" K8 D9 ?8 O/ e& P
  1192. ; http://php.net/mysqli.max-persistent
    ! s8 R$ [0 R! Z0 L/ \# K
  1193. mysqli.max_persistent = -1
    + N3 X9 {! d5 V" V2 B# J: Y
  1194.   ~* o" y7 C  N2 g# N4 L
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ; G4 K$ l$ F8 o
  1196. ; http://php.net/mysqli.allow_local_infile
      W" [9 @8 K  c( J) q+ h
  1197. ;mysqli.allow_local_infile = On
    ) u* @, }9 T. }* A) x, B! f. p
  1198. * @7 R9 g" F6 m
  1199. ; Allow or prevent persistent links.
    % @' ~% o6 o. [/ Y5 O' H5 W
  1200. ; http://php.net/mysqli.allow-persistent; ?7 i+ g* R0 ^3 {
  1201. mysqli.allow_persistent = On+ D# N& @" p/ C5 u% U' |

  1202. " m7 {% U5 Y0 L+ V
  1203. ; Maximum number of links.  -1 means no limit.: o( ?) A  A8 G% N4 H. H: l; K
  1204. ; http://php.net/mysqli.max-links9 l% C: i  D( y7 q
  1205. mysqli.max_links = -1) h$ [* Y% T! [0 n, g! [' N' N# j$ d

  1206.   g: v2 ^* Q9 q$ a, r' _+ o* S
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache/ R! l( p% e" B6 x& a
  1208. ; http://php.net/mysqli.cache_size
    / M- s# Y5 f, ?5 z4 Y, u8 ]
  1209. mysqli.cache_size = 20006 c3 R+ h- v; S5 k
  1210. . o4 g) p2 u: s: ~9 q2 y' A
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ! h0 x: L! b) o1 m3 P
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    4 X3 h( P8 o# c8 `8 u  ~4 w
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look- i2 Q5 E4 D# M: K/ s
  1214. ; at MYSQL_PORT./ q) ]4 H/ j9 g. K
  1215. ; http://php.net/mysqli.default-port
    & F# _) D- Q$ ^+ d% ]# Y
  1216. mysqli.default_port = 3306: A$ v3 c9 f$ @" {: U4 i
  1217. ) P, |4 h! p6 b- l
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 K# X% C- x) }# n0 D1 `6 z
  1219. ; MySQL defaults.9 ~* r8 Z4 x  z0 P
  1220. ; http://php.net/mysqli.default-socket
    % R# z7 t& \4 F, ]1 K
  1221. mysqli.default_socket =
    % x6 P2 E2 l4 U6 r9 d
  1222. 1 z. p% m, Y4 Q
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode)." K8 E+ `- w- g" O+ @
  1224. ; http://php.net/mysqli.default-host1 Y0 c) ?- j7 t9 D, `4 `
  1225. mysqli.default_host =
    * c6 o) Z+ K' z4 Z& r
  1226. ) _% o. B$ s& j5 D1 D
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).. R7 `- G7 _: ^4 {0 F
  1228. ; http://php.net/mysqli.default-user3 Y6 D! J* H$ W1 h
  1229. mysqli.default_user =* R( D( }4 x1 r3 V% P1 |

  1230. ! z6 }, y' I, r9 e
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    " v  X: T7 b/ H) M( L
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.3 _6 t4 c' _  |" V* @
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")' y# q# i. ~1 w8 A
  1234. ; and reveal this password!  And of course, any users with read access to this% X% b; ^4 [5 ?" G8 m
  1235. ; file will be able to reveal the password as well.
    # C* ]# P/ g; |# @. I
  1236. ; http://php.net/mysqli.default-pw
    3 f& @; d* l+ \
  1237. mysqli.default_pw =" ?2 C5 n% \' A
  1238. 9 z7 s! ]( c% N- v4 X* N: y8 D
  1239. ; Allow or prevent reconnect  t6 w2 {' T5 W1 V8 H* k/ f; K3 ~
  1240. mysqli.reconnect = Off3 h. U+ E+ C7 y8 {3 `  X

  1241. : b6 h- I. g6 p7 L3 g: \
  1242. [mysqlnd]
    3 R! b6 Y/ j) B) \
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    * t/ ~) ?5 q" \; @3 [% t0 I  W
  1244. ; used to tune and monitor MySQL operations.1 ^/ c! q; p3 a" F" w( w
  1245. ; http://php.net/mysqlnd.collect_statistics
    ' }/ b* K" t0 R  B/ v
  1246. mysqlnd.collect_statistics = On
    $ R, i8 ~+ U* x9 ]* y" N/ b

  1247. 4 x  L1 C) P+ ]/ G" O
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be  r& d% }( }, I* r9 x; O
  1249. ; used to tune and monitor MySQL operations.
    + }4 p, r% q9 h
  1250. ; http://php.net/mysqlnd.collect_memory_statistics3 E9 O5 w; g8 i5 q
  1251. mysqlnd.collect_memory_statistics = Off
    + s6 o: f  R, k0 }* L5 C& \3 y: m
  1252. 5 k& d! n1 X1 w5 H1 n# t
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    4 f* P. k1 ~5 `7 \* U% C8 Y5 O
  1254. ; file.
      b, G* a+ |, o5 t! J0 Y
  1255. ; http://php.net/mysqlnd.debug. o2 {$ P3 g# r, |7 S5 B5 z
  1256. ;mysqlnd.debug =
    ) b0 |7 y+ M3 U2 D* x5 Y* l" g
  1257. 7 Z2 d- j  V' P5 p3 ?% k$ c* }
  1258. ; Defines which queries will be logged.
    ) O, [, n( F, r! o
  1259. ; http://php.net/mysqlnd.log_mask
    7 e! [; D/ ^4 L
  1260. ;mysqlnd.log_mask = 00 c" L! i0 X, j

  1261.   p, t: D" n: M
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.) f# y) I% j# R! \6 T. C
  1263. ; http://php.net/mysqlnd.mempool_default_size
    / A$ B( Y3 i' _
  1264. ;mysqlnd.mempool_default_size = 16000
    / h- O$ r$ z2 u

  1265. " F9 x& T6 l: y- ^
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ! u6 H6 i$ I1 R/ Y2 ~# w& i$ X: Q, M
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    - `5 x. p0 F3 {, @
  1268. ;mysqlnd.net_cmd_buffer_size = 2048/ C$ G6 S1 W. i; X0 Q$ C, M

  1269. & D3 U6 s, @  B6 {1 z6 X
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ) x. o8 _3 X: d1 C0 F2 O1 ~; }7 U
  1271. ; bytes.
    8 X$ ?: b7 ~$ F' E7 ~, l+ s
  1272. ; http://php.net/mysqlnd.net_read_buffer_size4 `: E- G7 t1 q, O3 w, i
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ! f+ J9 ~4 b: E- U5 Z

  1274. 8 j1 f" w  I. n
  1275. ; Timeout for network requests in seconds.
    8 \" D) n5 t# f8 Y) C7 B
  1276. ; http://php.net/mysqlnd.net_read_timeout
    ( S# A( D. @+ C9 [6 X: o( L
  1277. ;mysqlnd.net_read_timeout = 31536000
    + o( a3 B0 `4 u, M) W
  1278. + p; `3 ?8 l. s8 c% X9 o
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    # v& p- o1 h3 j& e/ C9 D
  1280. ; key., m! s" \  a/ c! z
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    5 R' d; Z8 m$ H% z! u+ t
  1282. ;mysqlnd.sha256_server_public_key =4 z" h- C/ ?9 o3 o' M0 o3 W6 S$ y3 S

  1283. , e8 E! ]5 j% p
  1284. [OCI8]: @! I0 b( Y) n) ?6 R
  1285. # W: N' x5 f( F
  1286. ; Connection: Enables privileged connections using external& F! v: M& I8 s+ g
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)- `: J/ c. ~& {; ]5 w  u, c& j6 s
  1288. ; http://php.net/oci8.privileged-connect
    ( F* D* @& k4 Q2 H: }, O  s
  1289. ;oci8.privileged_connect = Off- i, b8 I! Z8 y

  1290. + p. h. l  U* A7 d6 B- {: U; }/ k
  1291. ; Connection: The maximum number of persistent OCI8 connections per2 a$ a8 f0 H9 o0 H
  1292. ; process. Using -1 means no limit.
    8 l4 t2 `2 _; {
  1293. ; http://php.net/oci8.max-persistent
    & u4 u8 r* J+ x4 [+ S
  1294. ;oci8.max_persistent = -1  {/ M6 b* f* g( m

  1295. # Z+ d/ ^# }2 _0 E! e  Z& J- J
  1296. ; Connection: The maximum number of seconds a process is allowed to
    5 M# e, V# ]- F
  1297. ; maintain an idle persistent connection. Using -1 means idle: G) b4 g7 N' }( O
  1298. ; persistent connections will be maintained forever.
    % P8 q( p8 j" i$ F% J. I
  1299. ; http://php.net/oci8.persistent-timeout: y$ a2 X9 G" z# b; X& J
  1300. ;oci8.persistent_timeout = -1
    ' ?8 V) B) j. b' M8 b' n( p
  1301. & l0 t, ^, w8 t1 c1 T3 Q8 k* C
  1302. ; Connection: The number of seconds that must pass before issuing a
    * P& r. Y  y' R: X4 m
  1303. ; ping during oci_pconnect() to check the connection validity. When3 M- k/ Z4 x  k4 \2 L
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    * l: \+ w4 C& C; u+ `$ g0 r6 o
  1305. ; pings completely.
    8 G3 V; d$ Z2 r0 F
  1306. ; http://php.net/oci8.ping-interval
    5 k0 @/ c9 s, k$ P$ x' U+ |5 ]
  1307. ;oci8.ping_interval = 60
    % ~' w) V* f1 t) x

  1308. : s" x; J" c: b2 K7 L
  1309. ; Connection: Set this to a user chosen connection class to be used
    & e0 l& t1 O6 `, |
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    . X! k; A+ V$ V$ Y$ G- u; ]
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    + j( I' k9 z+ Y
  1312. ; the same string for all web servers running the same application,
    6 k  ?* S* C2 c, x5 c
  1313. ; the database pool must be configured, and the connection string must' _6 I- H" i6 a% s3 G9 x
  1314. ; specify to use a pooled server.
    4 `. k/ |6 u/ L0 i5 H
  1315. ;oci8.connection_class =& m/ [8 T4 w/ f  z! g; ~7 ~! P

  1316. # N8 y7 v! \6 E+ P) j) a3 ]
  1317. ; High Availability: Using On lets PHP receive Fast Application
    - v) \. J# J0 {
  1318. ; Notification (FAN) events generated when a database node fails. The, _5 m! [8 y3 M# y4 x
  1319. ; database must also be configured to post FAN events.5 D- h% _. h, m" D7 [# L) ~! p
  1320. ;oci8.events = Off2 d. A* {( a5 }5 T* v% J
  1321. 8 F% s+ g! q" V: J( K7 d4 _3 ~
  1322. ; Tuning: This option enables statement caching, and specifies how
    $ U9 @) K) ?5 `0 u( T0 P
  1323. ; many statements to cache. Using 0 disables statement caching.: s0 }5 k1 S, x2 k* `1 u: @6 }7 H
  1324. ; http://php.net/oci8.statement-cache-size
    % _0 m2 y! u$ F: ?+ Q" w
  1325. ;oci8.statement_cache_size = 20
    - R- J  _* m, `7 I- S% s3 G
  1326. & n* T( _/ Q+ O( E
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    , C* G  v5 K& q1 C( {6 W# Z5 x
  1328. ; rows that will be fetched automatically after statement execution.* X5 j; j7 ?' @3 [
  1329. ; http://php.net/oci8.default-prefetch4 T3 G# L9 }* k
  1330. ;oci8.default_prefetch = 100
    ( @/ U2 h" a8 H$ ~) N% y% b

  1331. & u1 R5 p; {( W0 P
  1332. ; Compatibility. Using On means oci_close() will not close- v' ^0 s( I8 l' `8 C4 A+ @/ i
  1333. ; oci_connect() and oci_new_connect() connections.
    1 T" w1 z; E: X8 y9 A* c; i+ L
  1334. ; http://php.net/oci8.old-oci-close-semantics5 Y: R2 i+ j3 ?/ u7 f% H9 j" q
  1335. ;oci8.old_oci_close_semantics = Off
    + ]% j/ Z3 E' D0 Z8 q9 g

  1336.   P$ }  h  q; d
  1337. [PostgreSQL]& R+ |2 y! y( X3 p/ o/ G
  1338. ; Allow or prevent persistent links.
    ( X! L1 y2 J8 a0 u  l8 X
  1339. ; http://php.net/pgsql.allow-persistent
    / M& x  s; N4 z; r1 D
  1340. pgsql.allow_persistent = On5 Z) i; y7 Z% q! D3 s% O; |
  1341. ( w- g3 u% g9 K- u0 p
  1342. ; Detect broken persistent links always with pg_pconnect().
    0 g$ p+ |: B2 W' n' I5 r
  1343. ; Auto reset feature requires a little overheads.
    / b, l% \; D! Z* W2 n2 F
  1344. ; http://php.net/pgsql.auto-reset-persistent
    2 p  P0 y. b% B; t% D
  1345. pgsql.auto_reset_persistent = Off, a; F* h0 ?" ~! P) P* a
  1346. # R5 n4 p/ D) h: U
  1347. ; Maximum number of persistent links.  -1 means no limit.
    , G9 [: Q8 C$ X
  1348. ; http://php.net/pgsql.max-persistent
    / e2 e; s) g, o# ]. F2 n$ T" @* J
  1349. pgsql.max_persistent = -1
    7 w* L8 g5 G# u* p4 a8 U. ]

  1350. ; Z+ p$ x+ R7 x2 S" p/ n( @
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      N3 P+ B+ Z: S1 h+ K# u9 \$ h
  1352. ; http://php.net/pgsql.max-links5 Q4 g4 z7 P+ G1 O% g
  1353. pgsql.max_links = -1
    ! i/ K( i9 {  G

  1354. - C3 A& }0 {& u/ R, R8 j
  1355. ; Ignore PostgreSQL backends Notice message or not.; I# W4 L0 J- X- _
  1356. ; Notice message logging require a little overheads.
    + C- I* G3 `! ?8 G9 z
  1357. ; http://php.net/pgsql.ignore-notice& ?) t- ]  k: {5 ?; S7 y
  1358. pgsql.ignore_notice = 0- r* o5 f# h4 |1 Q7 B% t
  1359. ; z. F, |; Z0 l+ M% _
  1360. ; Log PostgreSQL backends Notice message or not.; K* f' H# H+ v
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.* g. f" H! P# C6 q- ]
  1362. ; http://php.net/pgsql.log-notice4 i4 c: X, _  G, O( k
  1363. pgsql.log_notice = 0
    2 {5 M+ n8 w5 s
  1364.   i! Q- q7 A; t8 {* |/ A4 _: i
  1365. [Sybase-CT]3 y( ^) i% }- ^  o) Y; T" Z+ X% \1 D
  1366. ; Allow or prevent persistent links.
    % Z$ S8 l2 h. Z: D2 v
  1367. ; http://php.net/sybct.allow-persistent
    4 S% H9 b- c( M
  1368. sybct.allow_persistent = On
    0 P& T$ S' l- _: t) \: L/ @

  1369. & b5 n$ d1 F/ z# n$ j
  1370. ; Maximum number of persistent links.  -1 means no limit.8 V/ O2 b& q8 w# m. }7 |$ w) Z9 _$ u
  1371. ; http://php.net/sybct.max-persistent
    : @# t) Y0 t1 t5 W3 t3 \
  1372. sybct.max_persistent = -1
    , @9 o) R: K2 K8 a
  1373. ; p2 C6 _/ X: P0 c. w/ X2 h- C
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 M/ o" r, x5 J
  1375. ; http://php.net/sybct.max-links* ?! I9 r2 `0 _' W1 A6 ~
  1376. sybct.max_links = -17 k/ H& g- l( _% k6 l

  1377. 9 x9 P6 x  v  \8 u5 A$ I% _2 }
  1378. ; Minimum server message severity to display.: A% x  h2 f4 U8 Z6 L* P
  1379. ; http://php.net/sybct.min-server-severity
    . A6 T/ ~3 L' u4 [3 k# I
  1380. sybct.min_server_severity = 10
    5 O: Y* M( ^2 d! T& V( K

  1381. & S9 L+ R* {, D/ o8 W
  1382. ; Minimum client message severity to display.
    4 H5 h/ c( {* M" S8 w8 g
  1383. ; http://php.net/sybct.min-client-severity7 p1 [- M' q6 n, m6 t# K& o7 e
  1384. sybct.min_client_severity = 10
    * T; A9 M( m/ R0 c. K2 ]& j
  1385. 4 f8 U( d7 b3 @$ i) P  s. J5 n" Q
  1386. ; Set per-context timeout
    7 l- \! [2 I  w
  1387. ; http://php.net/sybct.timeout% K( }/ g% v, ~  Y- n% ?
  1388. ;sybct.timeout=) h4 ?6 P& h, k: V! Y. ?% s6 }
  1389. 4 r6 Q8 t! _6 t$ o2 ]: F2 }$ `
  1390. ;sybct.packet_size+ q- a2 p4 y2 w8 ], o4 O( i

  1391. 2 M2 E! f  \5 l1 p4 o
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    ! P! y4 D8 K! ]8 x* H; x; v
  1393. ; Default: one minute
    5 v: k4 Z  L' b+ R& N8 {/ W$ R$ R5 ~3 z
  1394. ;sybct.login_timeout=
    5 z" ~' t; H  h& j

  1395.   ?/ U0 V: O" R6 x: _7 \
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    7 m& _% J9 G9 g- Q; F
  1397. ; Default: none
    . @& r) ]% w  S1 P5 W$ }
  1398. ;sybct.hostname=
    4 e! w3 D7 p( W( y  ]) B

  1399. 9 x" C6 o4 j+ |( j0 @! ?
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".2 l( B* T( {, }3 h
  1401. ; Default: 0
    ! ?# H- h) t: u4 l- x/ r5 _' {
  1402. ;sybct.deadlock_retry_count=, v9 E  T6 y2 m- B! E

  1403. 4 Z- o- ^( v: G% H; t5 S
  1404. [bcmath]
    2 d1 v6 m/ ^/ I0 ~( d' l- {5 K, z
  1405. ; Number of decimal digits for all bcmath functions.; m: p3 b" b# j# D4 t
  1406. ; http://php.net/bcmath.scale
    ( J8 \" _1 s% S8 N7 x
  1407. bcmath.scale = 06 n1 `( _& x* o4 r- a8 c- @) s  Y. F

  1408. 6 G% b) ~9 T) o2 W
  1409. [browscap]8 J0 F6 F( Q! v7 s' M! b+ q
  1410. ; http://php.net/browscap. x' K' X% T7 e% j7 z
  1411. ;browscap = extra/browscap.ini
    % y0 e, z6 R2 H, l0 d
  1412. : z; }- [* \; @- O
  1413. [Session]
    - ]+ L# e5 r' U: P2 f5 q
  1414. ; Handler used to store/retrieve data.7 [1 F: M( K) G* |0 R
  1415. ; http://php.net/session.save-handler8 c4 I; y/ H/ e6 `. ~0 X4 V) m* W0 f
  1416. session.save_handler = files
    ( w0 u2 i" }1 M$ j8 ]

  1417. + Z% e9 `) z- t9 J
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    # ?  {4 |" v# D3 Y
  1419. ; where data files are stored. Note: Windows users have to change this2 x- E& Y  Q4 U; p, l8 ~+ E
  1420. ; variable in order to use PHP's session functions.% J) t4 x, X/ p+ k
  1421. ;, L3 Q8 H" V$ u! g4 C9 D8 r% F
  1422. ; The path can be defined as:0 Z* x1 M3 w' l5 w8 n0 W. D0 @& ~
  1423. ;- r3 `- H& ]1 ~  L* V
  1424. ;     session.save_path = "N;/path"
    5 t7 |1 Z6 _( C$ H, H' u: d, D
  1425. ;
    - X/ I, S/ ^7 F8 P/ e3 d2 }3 E) {- W
  1426. ; where N is an integer.  Instead of storing all the session files in
      S$ v3 M6 I% z
  1427. ; /path, what this will do is use subdirectories N-levels deep, and$ V8 B0 f" _" L- Y6 h
  1428. ; store the session data in those directories.  This is useful if  M8 ~4 x+ g2 U  A- n2 W' b/ w/ X" H
  1429. ; your OS has problems with many files in one directory, and is
    4 J' A& O& g3 u" _" A# F
  1430. ; a more efficient layout for servers that handle many sessions.* U6 A$ }# x( |( F; f
  1431. ;& Y; z9 I) d% U2 H8 u- p5 p
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    & G' G+ N% [) k: Q
  1433. ;         You can use the script in the ext/session dir for that purpose.! o- j$ I% c) P( I# |. L  w
  1434. ; NOTE 2: See the section on garbage collection below if you choose to- r3 m! t+ m. F+ |9 H' S
  1435. ;         use subdirectories for session storage
    ! F" L5 z9 W0 ?! j# M( T* D
  1436. ;$ L5 p  Z% u9 N/ c2 W- u; F
  1437. ; The file storage module creates files using mode 600 by default.- _- ]0 D2 }/ j, x3 v# Y* j  e
  1438. ; You can change that by using/ G$ W3 ?5 @3 ]+ q" f3 ~
  1439. ;
    , U+ u) h) h' j& U
  1440. ;     session.save_path = "N;MODE;/path"
    " u# [- y9 b1 [! `! H# p  Z% X
  1441. ;9 M/ U+ K  u7 e; r1 F4 O
  1442. ; where MODE is the octal representation of the mode. Note that this% V( X+ U" r) g/ P7 x: @- V& w9 n
  1443. ; does not overwrite the process's umask.
    1 T/ a5 e/ |: U) U4 J
  1444. ; http://php.net/session.save-path
    7 |1 O9 j* n" r0 x
  1445. ;session.save_path = "/tmp"
    . \+ y0 S9 C/ C+ `
  1446. " r5 ~5 \0 `  O- d/ |
  1447. ; Whether to use strict session mode.- t! [9 d2 G7 V
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    : q; a$ N! m, y2 ]7 v& w" B- _$ q
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    & s; E4 c: a& Q# z$ F; w. I
  1450. ; applications from session fixation via session adoption vulnerability. It is
    $ c% h* D9 o7 D1 v% _
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    5 d5 S9 w% Q) X6 a+ Y
  1452. ; https://wiki.php.net/rfc/strict_sessions
    . w4 I% I! w/ ~3 B
  1453. session.use_strict_mode = 0
    2 I; O0 ]8 O7 w0 j+ {5 l

  1454. 1 o- P: Q( v/ A, s, v" C8 |
  1455. ; Whether to use cookies.% r& I, K: h. Y# @0 Q6 }% \
  1456. ; http://php.net/session.use-cookies
    4 ~; t/ C- M5 h9 n
  1457. session.use_cookies = 1
    " s3 L0 [; p2 p2 _: m5 g

  1458. / H/ i; Z: U$ ^0 b# t5 v: l) u* K
  1459. ; http://php.net/session.cookie-secure
    1 d# a- V* U- c0 d( ]  ]  \8 a/ Y
  1460. ;session.cookie_secure =
    " O* r/ Z6 j4 R. O4 O1 \$ _5 c, G

  1461. / @# ^" i/ I8 x' L. t3 {5 a, e8 X
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ; g& Q# P( [, b  `
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    & K3 S* Y- D; v4 }5 x
  1464. ; session hijacking when not specifying and managing your own session id. It is- I+ ?, ^" H" d* I4 ~
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start./ t  ]5 S( `" b1 W2 \) u- t3 ^9 ?
  1466. ; http://php.net/session.use-only-cookies. j. u; S/ G, Z4 }/ @. W" t! |9 t
  1467. session.use_only_cookies = 1
    % |+ W2 w8 \7 C5 M) T$ O* T2 J

  1468. ! p( v  i  W6 T9 o. y+ x5 T
  1469. ; Name of the session (used as cookie name).5 ^( t6 ~6 Y; W7 f& f* O
  1470. ; http://php.net/session.name# b' \$ r# M8 r' ^4 b
  1471. session.name = PHPSESSID3 _) z% X  c* `* \6 q/ F
  1472. 6 s, z3 r( d, A0 M7 G! k2 x% F
  1473. ; Initialize session on request startup./ y! a6 V$ E3 ?  P, y( q, ^3 g, e
  1474. ; http://php.net/session.auto-start& Q' i0 M& {8 s- k, S/ a1 |" C
  1475. session.auto_start = 05 d& I2 N9 d9 N& S

  1476. 9 ]7 k  n2 }9 R
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.- W, K: h, y, N$ w8 t" b$ {2 V
  1478. ; http://php.net/session.cookie-lifetime  U) ?/ N/ K4 ~1 o+ }0 G, d5 F+ X
  1479. session.cookie_lifetime = 0" x! w/ b5 B7 z+ Y6 @* C

  1480. - v# T# h$ V8 l) \) x7 _
  1481. ; The path for which the cookie is valid.7 x. Z* i( a1 f: L
  1482. ; http://php.net/session.cookie-path' F. A. l" _$ R. L. x; y. E9 V
  1483. session.cookie_path = /
    8 G7 d% r& X! \1 {

  1484. ( s' b3 C  c8 [% J% E& A& s
  1485. ; The domain for which the cookie is valid.% ~1 J) h! w3 m4 `/ ]
  1486. ; http://php.net/session.cookie-domain
    , d+ l5 [: M  u% z6 ^
  1487. session.cookie_domain =  ^" C5 u- Y% {; U7 t+ }/ L2 P2 A

  1488. , a: o6 G+ I0 \
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
      F6 b7 c2 J- s1 y; _
  1490. ; http://php.net/session.cookie-httponly
    ; n) y- l% J6 H* Q4 i2 V. o
  1491. session.cookie_httponly =
    7 L5 h/ D5 x' v" Z

  1492. 9 f7 r( N* i, U& S# {8 J0 C% r
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    9 }' H+ F4 v1 K1 G+ ?
  1494. ; http://php.net/session.serialize-handler6 M8 m% [8 e5 U6 K% J0 i' a
  1495. session.serialize_handler = php- k8 I- O$ E7 D9 p! _4 s
  1496. ' u- s! |3 H+ X
  1497. ; Defines the probability that the 'garbage collection' process is started
    3 A- `0 Z% u! F! R2 z7 k( a
  1498. ; on every session initialization. The probability is calculated by using8 G- a) t9 {8 g% p
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    , Q  r: \& R+ n2 L5 _0 |' o1 O
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    6 ]; Z1 U+ F) B
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance4 x. t2 E; o" C3 |' E/ _; v+ L, z
  1502. ; the gc will run on any give request.
    6 u) h4 ?  t+ a9 n& {$ b
  1503. ; Default Value: 1
    5 W9 ^- {# X, `# G7 v+ l. T8 n, ?/ @; a
  1504. ; Development Value: 1
    9 J! e/ z: N* `5 Y: }
  1505. ; Production Value: 1
    % f  u# k# J% ^/ @# L& P
  1506. ; http://php.net/session.gc-probability
    9 M3 g5 u4 b5 \1 X4 [! A
  1507. session.gc_probability = 18 U2 F" |# m; U/ A

  1508. ! J+ V1 \+ G0 Z0 t, y( ]0 l
  1509. ; Defines the probability that the 'garbage collection' process is started on every6 @* A4 K' A$ z2 @" Q  ]
  1510. ; session initialization. The probability is calculated by using the following equation:. @# H" H& E4 l/ c
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    8 [4 D* h1 y% L4 E* P
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    * j( L* x) Z! C2 `( D  r8 J
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    $ T% ~0 T: h5 J0 Y
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you- m4 U+ ~% s0 s+ E
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    1 m" c6 [* Z  f3 L6 W
  1516. ; this is a more efficient approach.
    ) U6 _" S2 {" X
  1517. ; Default Value: 1002 V$ Q, r2 T* S( v, P: b' F, `9 s
  1518. ; Development Value: 1000( ]: C  X( k3 l& T  g% k9 C
  1519. ; Production Value: 10000 }+ y1 z- @. C6 j. z% {2 k
  1520. ; http://php.net/session.gc-divisor- n( L, s  i, V; f
  1521. session.gc_divisor = 1000
    # m# R8 o3 z3 y1 }+ w6 v. E
  1522. $ l) j8 N! `  W' W' E
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and: q) D/ Y$ o( R) d6 |! ?
  1524. ; cleaned up by the garbage collection process.: V8 A* k' _- r, I, D0 o& A+ c8 n; `
  1525. ; http://php.net/session.gc-maxlifetime
    5 c! y3 Z& W" o; ]
  1526. session.gc_maxlifetime = 1440
    5 U1 M5 {; [  N; u

  1527. ; b" M  Q: T* s
  1528. ; NOTE: If you are using the subdirectory option for storing session files) Q; Z7 q" ]  J+ C" P9 v
  1529. ;       (see session.save_path above), then garbage collection does *not*
    7 }' ?5 a# ]. H1 R. F1 g
  1530. ;       happen automatically.  You will need to do your own garbage; W2 s2 f& m0 I+ i
  1531. ;       collection through a shell script, cron entry, or some other method.
    2 [. f. y1 J2 O
  1532. ;       For example, the following script would is the equivalent of
    + J& @+ \" ^4 a1 I6 [5 u% V1 B
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    $ |& f  l1 h  S. \' B. i8 A% o
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm0 x+ F; u5 f: ^

  1535. 9 i/ q/ ]3 x$ l7 A% s% o
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    1 }) y1 W# ]* m1 G9 b
  1537. ; HTTP_REFERER has to contain this substring for the session to be9 {! E& `; D; H
  1538. ; considered as valid.
    * F/ r4 O: ]& t1 O' w. ]  K
  1539. ; http://php.net/session.referer-check
    " t2 k0 z' H, U: e, J! x
  1540. session.referer_check =6 A0 c- v4 R# n

  1541. 8 S4 Z& n& a1 S& |4 i) y# U
  1542. ; How many bytes to read from the file.2 @3 z# K4 E! T2 ^& `. U
  1543. ; http://php.net/session.entropy-length, k( p, C' h* L. S
  1544. ;session.entropy_length = 32* H  `' g# Z8 v0 G2 _) e( R
  1545. $ Q8 \1 S0 I4 S
  1546. ; Specified here to create the session id.! K) G* k3 l* F( c4 J6 v* i  G- k( [
  1547. ; http://php.net/session.entropy-file/ A3 C/ @& g$ A. r1 Q2 ~8 b
  1548. ; Defaults to /dev/urandom$ [" U& }; f3 A- {1 E
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    # B" P/ K. q) m4 m8 p
  1550. ; If neither are found at compile time, the default is no entropy file.
    , R8 \: x8 G1 w9 ^! t, G
  1551. ; On windows, setting the entropy_length setting will activate the, \) q/ I* J8 c! R8 W4 t
  1552. ; Windows random source (using the CryptoAPI)
    ; }* Q! R$ O8 ^1 P$ l* _' H: w( C
  1553. ;session.entropy_file = /dev/urandom) Q* i7 p' l7 W- }  a, |/ t" [# w9 p

  1554. % c  `0 A3 m7 c4 b
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects& _) ~; x) k: U: n  v5 o
  1556. ; or leave this empty to avoid sending anti-caching headers.
    6 f  m1 A2 k! E
  1557. ; http://php.net/session.cache-limiter( R9 L# z7 x6 K- `8 o- x
  1558. session.cache_limiter = nocache
    9 s3 ?5 f( r, R3 w

  1559. + D% z9 M3 v+ V" k2 Y
  1560. ; Document expires after n minutes.
    4 f% E1 N8 W; F* L* |
  1561. ; http://php.net/session.cache-expire
    4 T9 G4 G  Z  K' E' |
  1562. session.cache_expire = 1800 N3 _$ H* [+ a& s% }1 i2 D

  1563. + G9 V% l+ V/ X% S5 Y1 }
  1564. ; trans sid support is disabled by default.
    7 S4 W9 e, w! m/ X# W
  1565. ; Use of trans sid may risk your users' security.
    4 T5 E! ]* X% V* K
  1566. ; Use this option with caution.
    5 j, b4 i& G) d9 G; d/ U
  1567. ; - User may send URL contains active session ID/ E3 [3 y! h" _; b8 [
  1568. ;   to other person via. email/irc/etc.
    9 w1 T' i" z7 h
  1569. ; - URL that contains active session ID may be stored, U# W" q/ J" h$ X8 X9 b
  1570. ;   in publicly accessible computer.
    ; [7 z  `) K) T% G0 ?, h
  1571. ; - User may access your site with the same session ID
    * l- \  m8 U4 a
  1572. ;   always using URL stored in browser's history or bookmarks.& M0 g' E8 n" Z( S( O
  1573. ; http://php.net/session.use-trans-sid
    7 |! H3 M- Q! z6 G! m7 V( @
  1574. session.use_trans_sid = 0
    ) W  y. J5 J& u9 b! `/ }
  1575. 9 P8 E% T' h; r, E
  1576. ; Select a hash function for use in generating session ids., R. g% N  Y# M' Y8 p
  1577. ; Possible Values
    3 [3 {* W# \( f0 r$ _/ C1 j
  1578. ;   0  (MD5 128 bits)9 x5 E' r$ S" G* f
  1579. ;   1  (SHA-1 160 bits)
    3 V6 J" a3 h( ^5 ?* G
  1580. ; This option may also be set to the name of any hash function supported by
    , R- {! t5 S7 i1 O5 `8 R
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()  g& `, _* [# l
  1582. ; function.
      V: S! r; W( y6 j  J0 A8 Z& ]
  1583. ; http://php.net/session.hash-function0 W' B) c7 g) o0 K) u
  1584. session.hash_function = 08 h' c; m* e' m5 V) r" K

  1585. & |6 ]3 t$ x3 B+ d& R
  1586. ; Define how many bits are stored in each character when converting
    , }7 ?% {0 w! K" S! u0 {0 I
  1587. ; the binary hash data to something readable.: j, U0 o: q1 I) s+ v( ^1 Q" N$ ]
  1588. ; Possible values:
    9 |" v+ j1 t1 Q6 e9 C9 h
  1589. ;   4  (4 bits: 0-9, a-f)0 e" H$ M) t. N/ u3 A8 ]3 G8 J2 w! x: n
  1590. ;   5  (5 bits: 0-9, a-v)! P* P/ \6 V1 L
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    7 M, a4 ~; d) z: R, \) [
  1592. ; Default Value: 4
    9 G7 M. g% k" K9 c! K9 X) u  |
  1593. ; Development Value: 5
    + c* C; e+ W& `% ]9 u
  1594. ; Production Value: 56 }  c$ ^/ `" g# x+ V
  1595. ; http://php.net/session.hash-bits-per-character! h" @7 W4 D! T: ^+ V& s3 z- P
  1596. session.hash_bits_per_character = 5
    , v/ ^/ S7 l6 W7 U& i
  1597. . n/ K9 B" L0 ^$ c; G$ Q. ]
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags." w% X( F: R) z! ?4 }1 U
  1599. ; form/fieldset are special; if you include them here, the rewriter will" X# T) d' i5 U  t/ k
  1600. ; add a hidden <input> field with the info which is otherwise appended
    5 S4 a% y' r3 Q2 }( }$ k+ v
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.; Y6 b+ U/ A) ?4 R# @) M, ?
  1602. ; Note that all valid entries require a "=", even if no value follows.4 J" t# T5 @: a' H3 V8 Y2 x6 h
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="! O0 t. m% {' F1 x6 K( V7 g
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ A9 i5 f  g3 R* r0 d9 w
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; r, N2 C, ^6 e& P# I
  1606. ; http://php.net/url-rewriter.tags, K# D2 T2 B' D
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"0 {. Z( [' A, Q1 M. F
  1608. % o; ]' g9 t1 E$ D( W
  1609. ; Enable upload progress tracking in $_SESSION
    4 Q) p6 g# M" H1 F6 h0 p
  1610. ; Default Value: On4 p. W+ z+ K% z( k5 y# f$ W
  1611. ; Development Value: On  \& A' D0 l1 _/ j
  1612. ; Production Value: On8 ]% g- {6 W1 p3 N9 n9 z/ j
  1613. ; http://php.net/session.upload-progress.enabled1 o9 p' r0 _, D# {2 T( l; n' l6 Y2 J3 ~
  1614. ;session.upload_progress.enabled = On
    3 l! U8 _( [- ?3 @

  1615. + f) O5 |3 \7 g2 \) d
  1616. ; Cleanup the progress information as soon as all POST data has been read: w- z4 l# \/ L9 u; R/ O
  1617. ; (i.e. upload completed).+ u) i! y4 U+ M1 X) {% c, I8 w
  1618. ; Default Value: On9 o- s. f0 d2 |& g8 U) H+ E7 y
  1619. ; Development Value: On" H) ~" ~/ f: k
  1620. ; Production Value: On
    , s2 x4 k  P% F; m$ S; m! P
  1621. ; http://php.net/session.upload-progress.cleanup% G/ @' @5 ?% Q5 a  J. R* L7 [8 Z
  1622. ;session.upload_progress.cleanup = On0 q! e" i& t" O! z- {  _
  1623. 4 r3 o: K, j8 V, \" K
  1624. ; A prefix used for the upload progress key in $_SESSION' J4 I: Z% m: }
  1625. ; Default Value: "upload_progress_". v1 I1 X$ R% P
  1626. ; Development Value: "upload_progress_"+ }8 H$ q" @7 y2 G* a0 j( w' {
  1627. ; Production Value: "upload_progress_"
    ) J" M2 k( C( D8 U# K' B
  1628. ; http://php.net/session.upload-progress.prefix* l% U3 A5 M! ~6 Q; `$ M1 X  A
  1629. ;session.upload_progress.prefix = "upload_progress_"
    # H7 n  Y4 u) T8 w& `
  1630. ! \, g+ c, d( W1 |
  1631. ; The index name (concatenated with the prefix) in $_SESSION( D4 h) j: }) Q# O2 N
  1632. ; containing the upload progress information* i( Q1 B7 I  t/ t5 N- Q
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"1 [; J5 i! o3 a  ^8 K" Z
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 H, R8 w1 s4 J: h  y
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * m0 h) ~% `1 ?& [- {8 ]
  1636. ; http://php.net/session.upload-progress.name* g2 P; ?% l7 m" z+ |+ V9 z
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
      n6 m( I; S* ^2 x! ?& D

  1638. / A6 V7 Z" P4 z- B- k" f0 h2 u
  1639. ; How frequently the upload progress should be updated.
    " @0 ]' }7 |/ G6 d9 X' r: K
  1640. ; Given either in percentages (per-file), or in bytes
    ' Q& s8 v. ?% w4 O9 o; u$ f' ~5 z
  1641. ; Default Value: "1%"
    * P& a, ]# e/ i1 u2 I; z
  1642. ; Development Value: "1%"
    4 p. {$ C; W4 W7 o# O3 x7 W
  1643. ; Production Value: "1%"# z& q. r0 h( u! G: b' s
  1644. ; http://php.net/session.upload-progress.freq
    ; W( C. v0 J( T, J
  1645. ;session.upload_progress.freq =  "1%"
    - c8 B) F- F1 M
  1646. - @) s0 [* S# Y, W$ j
  1647. ; The minimum delay between updates, in seconds
    ! U- U- ?4 w8 q: a! U. h+ Q" E: {
  1648. ; Default Value: 1
    : Y, [1 I6 V% X8 B4 g! e
  1649. ; Development Value: 1
    5 C# C) S# g: M/ l0 e, a" V
  1650. ; Production Value: 1
    8 p9 Z5 c5 L5 b9 q/ p
  1651. ; http://php.net/session.upload-progress.min-freq% Z' |+ Z' ~& J0 n9 C- l
  1652. ;session.upload_progress.min_freq = "1"8 s6 l4 \. ]1 @% n3 N
  1653. ! G$ p, T( W# ?3 |& `- L
  1654. [MSSQL]
    + b7 [& B5 C6 G0 @$ o9 j( a0 N$ R
  1655. ; Allow or prevent persistent links.
    8 q- N2 W: [- ?
  1656. mssql.allow_persistent = On  S. N/ m7 E8 l) S3 E; n/ T

  1657. % c, t0 O9 p% h( I; a
  1658. ; Maximum number of persistent links.  -1 means no limit.+ p  O7 p0 w5 y& o- M& G
  1659. mssql.max_persistent = -1
    , M2 j1 K" p6 C  b' e

  1660. 9 Z6 h& M4 L6 E1 D
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    5 E6 B1 w3 ]4 _7 D
  1662. mssql.max_links = -1! f3 v+ C+ s  _: c% Y% F. j

  1663. - b* V6 q3 }( G+ Z, G% G( `
  1664. ; Minimum error severity to display.
    9 {7 O8 z% O1 m3 B: a  T
  1665. mssql.min_error_severity = 10
    ' q3 Y  j( T/ \$ i4 b+ O

  1666. % O# a2 M, y' Y- F2 p9 G
  1667. ; Minimum message severity to display.
    6 e9 ?0 l. E8 i6 C, F7 S% I- F
  1668. mssql.min_message_severity = 10
    & ?7 n5 j& Y" p( j" {

  1669. - @# N0 O/ h+ Q: Q- d6 H
  1670. ; Compatibility mode with old versions of PHP 3.0.6 x, k% p& Q( g* X9 V4 W; Q( z
  1671. mssql.compatibility_mode = Off
    " O+ g, s, ?5 e* u# R& H; x  O; _+ V

  1672. ! o4 k! Y# p, u0 ]
  1673. ; Connect timeout
    , D, q% E, c) J& E
  1674. ;mssql.connect_timeout = 5: H6 H  _: p$ J# R
  1675. ) V1 M# U4 ~$ l" I8 A! i% f4 G
  1676. ; Query timeout' X& V2 r. A! O8 Z4 X1 h! @
  1677. ;mssql.timeout = 60+ _1 N0 ~" E  t+ Y' z

  1678. 7 c, q# r: s- G) B3 ^7 }
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    7 h5 b1 f, F# J  V3 f: S" b
  1680. ;mssql.textlimit = 4096" q4 s) F6 w9 t- {
  1681. 5 V: C3 g( X; F' a% @
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    $ W0 F& H5 q( C7 t# I5 f1 H
  1683. ;mssql.textsize = 4096
    / ^1 r) t% {2 q2 A3 A: |
  1684. ' s' [# C! n6 ^  C+ l' J
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    $ N4 \4 @3 `$ O8 p1 k( b
  1686. ;mssql.batchsize = 03 F9 W# ], L- `9 T
  1687. 7 K/ T3 R' i% K3 |
  1688. ; Specify how datetime and datetim4 columns are returned
    % k5 _+ e# [" {9 h! T  }" j
  1689. ; On => Returns data converted to SQL server settings
    * Q6 j8 R% V: k) J- f& u5 J
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    & m  X2 \3 P2 O- o- N  M* T$ K! a
  1691. ;mssql.datetimeconvert = On
    1 E2 t" J  X/ ?" {- B

  1692. ! X# r$ B: y- g: a
  1693. ; Use NT authentication when connecting to the server
    # `2 h1 k/ L) V
  1694. mssql.secure_connection = Off$ D4 x2 |4 W8 |$ v2 K2 N

  1695. . U, r* \; D& _9 ^0 q# S- O
  1696. ; Specify max number of processes. -1 = library default
    . _2 F: V4 ?4 H6 a! Z
  1697. ; msdlib defaults to 25
    ( i- r) p/ K  Z+ i7 a2 {0 t% G4 N
  1698. ; FreeTDS defaults to 4096) g( H3 G, |6 z% k, @
  1699. ;mssql.max_procs = -15 O+ I7 x. f, M: z) s9 ^1 d

  1700. * K# I  ]  [- R3 Q' D
  1701. ; Specify client character set.8 w3 @- \8 F( d8 p
  1702. ; If empty or not set the client charset from freetds.conf is used
    & s$ \+ Y8 O) {
  1703. ; This is only used when compiled with FreeTDS
    ' [/ s) o7 U' H8 l$ [. W  ~/ b0 V
  1704. ;mssql.charset = "ISO-8859-1"
    4 K& i- O2 z2 u" f" ~
  1705. & _: ]! U3 ^! d( @3 j0 h8 Y8 h; `
  1706. [Assertion]
    4 w% G8 }5 D2 Z) V1 R
  1707. ; Assert(expr); active by default.9 a6 |6 e/ O9 o
  1708. ; http://php.net/assert.active9 M; ?8 l0 N' h4 w8 ]9 K8 Q3 O: }) H
  1709. ;assert.active = On
    ) T3 f0 e  i1 x
  1710. ) c+ d# B' M  T1 P8 c- V  Q& Z
  1711. ; Issue a PHP warning for each failed assertion.
    ' x1 B3 x) J& g$ h! C6 x" v7 {- `# \
  1712. ; http://php.net/assert.warning0 R+ F$ j% c% L; ?  `/ o
  1713. ;assert.warning = On( q0 h" r) t  ?1 ?# i9 j- V/ F

  1714.   ~; ~: w6 D. G- |6 C
  1715. ; Don't bail out by default.
    4 M+ N5 Z, q- z1 C/ w, A& P8 {0 E
  1716. ; http://php.net/assert.bail
    . j& W/ F3 y/ f/ F: K7 c' D( H
  1717. ;assert.bail = Off% l4 C. [7 c$ i2 W0 r

  1718. : |1 T9 A( Q1 _  q1 q' k# B5 c
  1719. ; User-function to be called if an assertion fails.% A+ P  s- y* `* w0 }
  1720. ; http://php.net/assert.callback8 G- P/ Y- u7 ?. k$ R
  1721. ;assert.callback = 0
    / B2 I8 G7 I- S
  1722.   A  T$ m3 @' c5 c
  1723. ; Eval the expression with current error_reporting().  Set to true if you want# \) e3 r: a: R; E' X& C; [
  1724. ; error_reporting(0) around the eval().
    % }. S  D$ V0 m5 q, B  T
  1725. ; http://php.net/assert.quiet-eval
    ' r! o# H2 r6 u' C# D: V
  1726. ;assert.quiet_eval = 0" \* y# L  K, \
  1727. % E3 b' _2 H' i
  1728. [COM]. S3 D; y. ~# I2 G9 X5 F
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    2 f0 d, }$ o9 {7 l4 ?7 x3 t. ^
  1730. ; http://php.net/com.typelib-file: n; F6 l5 U; [4 E+ {0 k
  1731. ;com.typelib_file =
    $ O, B: g; E+ o3 j# b; e

  1732. & y5 M* U! i% }( J' S( O
  1733. ; allow Distributed-COM calls
    9 d# G0 d/ B1 M& T5 @* }
  1734. ; http://php.net/com.allow-dcom! i& D5 a2 e( ?0 I- R$ J
  1735. ;com.allow_dcom = true
    * }. V. k7 K: Y" _
  1736. ! @2 u- |* [$ H( _) H" M
  1737. ; autoregister constants of a components typlib on com_load()
    ' P+ ~3 V/ {- p) l, c1 z
  1738. ; http://php.net/com.autoregister-typelib! u# V9 g) Z$ y  w# l4 H
  1739. ;com.autoregister_typelib = true) v" w8 i  Q, I! ]6 _
  1740. 5 u7 C% \7 X3 t" v" M7 S8 |
  1741. ; register constants casesensitive
    & y! q8 }0 _% l4 Z0 p
  1742. ; http://php.net/com.autoregister-casesensitive
    & D' L$ C9 V  }8 [) d/ ^
  1743. ;com.autoregister_casesensitive = false8 ^( i0 R& I0 n: B* q1 x! s) `# W

  1744. & h3 H# ^. K8 `# ~6 O5 L
  1745. ; show warnings on duplicate constant registrations
    / ]& K% k: J' O5 J; h
  1746. ; http://php.net/com.autoregister-verbose
    + S% P" i( B7 T3 Q1 n
  1747. ;com.autoregister_verbose = true* ]8 \. K5 @# ?/ H) x
  1748. ( T1 N9 u' l6 k1 k, o
  1749. ; The default character set code-page to use when passing strings to and from COM objects./ t3 {; Z$ d6 C, T" C7 ^- [  \2 D
  1750. ; Default: system ANSI code page
      W! b: B" |1 i& b) Q/ _9 X& ~
  1751. ;com.code_page=
    1 L# l. k/ _% a- u" t

  1752. & |' g. I; G1 c* t$ c# i+ P
  1753. [mbstring]
    0 B# s) P/ y& Z- S
  1754. ; language for internal character representation.$ U' D5 [2 q! M: Z& @
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.8 g, R5 q5 W6 E7 h- b4 k- ]
  1756. ; http://php.net/mbstring.language( j+ b: _, }+ B; {: \& N& b1 k) S
  1757. ;mbstring.language = Japanese9 v+ u" g9 w2 ]! i% U

  1758. 2 w* c/ P5 P; [' ^
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 H- K* s# O& k' }* a' l. Q
  1760. ; internal/script encoding.% E6 p/ A! G3 J( t  w+ p5 q
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    7 {/ J% ~+ ^, \' ?% K- S0 _0 v1 d
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.: e1 {3 o1 E$ e- O0 O% A
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    & ~+ f+ o2 l: g
  1764. ;mbstring.internal_encoding =
    - A# H) z9 |1 G. d( y: c2 K

  1765. % C9 y; {2 s0 ^
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.' u: r2 V" Y+ V) `3 C
  1767. ; http input encoding.
    0 }- _. u8 y( J# j8 y
  1768. ; mbstring.encoding_traslation = On is needed to use this setting., \4 f, m1 \( @4 L3 G' g5 Z, H
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.. R* G1 v0 l7 c! P  G- L5 y
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    0 p' ^; J% N: s! l0 g  s" M
  1771. ; http://php.net/mbstring.http-input
    . U2 }8 [0 D7 a/ D  ?# Z1 m7 ~
  1772. ;mbstring.http_input =# o1 H4 P& `4 N

  1773. " M% H0 W, W0 R; u7 w
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    : ^. [2 y" n1 k5 B
  1775. ; http output encoding.
    9 m# Q7 I5 m6 j5 R. w  c* ]$ V# D
  1776. ; mb_output_handler must be registered as output buffer to function.2 b# W5 z: i1 V2 H  t
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.' s) R: {% T6 H8 _8 p
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output4 R1 o, O- S: i! K! Z+ E9 p
  1779. ; To use an output encoding conversion, mbstring's output handler must be set" X9 J6 J  t3 O
  1780. ; otherwise output encoding conversion cannot be performed.
    6 |2 e* A) S' Y: R0 z
  1781. ; http://php.net/mbstring.http-output$ ^# P& T8 T) Y7 k8 J5 r
  1782. ;mbstring.http_output =
    / K  r% P; ~$ O' P

  1783. 6 G( H' V, a% ]3 ^0 [
  1784. ; enable automatic encoding translation according to, J7 ?5 J# [: L* \& x! X% s
  1785. ; mbstring.internal_encoding setting. Input chars are
    % H) W8 ^* `6 W  Z3 R  _
  1786. ; converted to internal encoding by setting this to On.* D1 x" S; s9 @1 ?& a3 T
  1787. ; Note: Do _not_ use automatic encoding translation for" \* Z! U  q& W4 r/ {- F. \# q
  1788. ;       portable libs/applications.
    8 ~0 m5 X8 O5 k: ~2 W( ?
  1789. ; http://php.net/mbstring.encoding-translation% ]- z9 S2 P) b# v
  1790. ;mbstring.encoding_translation = Off" H* ^; j- E. n1 g7 L

  1791. 7 P& i6 r* k$ [" u
  1792. ; automatic encoding detection order.
    ' P6 ~, p* H2 x7 M& c1 z' \; O3 f
  1793. ; "auto" detect order is changed according to mbstring.language) H- o- F' I4 P- g0 l+ a( I) r& X
  1794. ; http://php.net/mbstring.detect-order% R* o! G; P7 U& P% c
  1795. ;mbstring.detect_order = auto
    2 K; |0 `+ C" o1 B$ S

  1796. 9 |* P% x2 @4 ~/ o+ ~* G
  1797. ; substitute_character used when character cannot be converted
    " J, }# A9 ]) C. u' S3 x/ ]& N. f
  1798. ; one from another7 B8 k: `5 c) w+ L8 f8 w, \4 j
  1799. ; http://php.net/mbstring.substitute-character
    $ x' [3 Y" W% [& X
  1800. ;mbstring.substitute_character = none
    ; E& K3 o; U+ Y- T+ q7 ^
  1801. # r$ x4 ^$ O6 |9 h
  1802. ; overload(replace) single byte functions by mbstring functions.1 b  l# W8 |2 T3 O
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    - y/ J. L# o. B
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.4 X; d% x; q$ v# C1 y
  1805. ; For example, 7 for overload everything.- u+ T/ V, B8 Z% P8 E4 \
  1806. ; 0: No overload9 ]0 X5 a( l7 g0 M3 d
  1807. ; 1: Overload mail() function# ]! _' l: H4 m1 `9 U
  1808. ; 2: Overload str*() functions
    - c7 n% |5 {1 Z0 [+ [
  1809. ; 4: Overload ereg*() functions
    ) ^' R! }' i+ M% z$ x, w, K
  1810. ; http://php.net/mbstring.func-overload
      D3 M6 c# X: g5 _4 z8 ]$ C
  1811. ;mbstring.func_overload = 03 d& C$ {$ z; m

  1812.   k+ `  A5 L8 i3 i2 i; U9 S0 d* V
  1813. ; enable strict encoding detection.
    & H* j# b6 ~+ _( G6 ^3 x
  1814. ; Default: Off4 V% O% Q4 E4 [5 q$ t
  1815. ;mbstring.strict_detection = On
    9 `1 _9 q( p# T; d3 x7 y+ a4 W: g
  1816. ( ~4 `5 @9 l, y3 ?
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    # O- f6 V$ z, W0 E
  1818. ; is activated.
    3 b3 r" b0 y5 _; K
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    1 i  `: |' W( A" S) C- d* @" p) @
  1820. ;mbstring.http_output_conv_mimetype=( M# k% J0 v( N& P7 Z/ f
  1821. 6 |) R; V7 {- W6 q
  1822. [gd]2 F' L' K. x4 m: R0 W- P- H
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    3 d+ i0 X' i6 @
  1824. ; a gd image. The warning will then be displayed as notices1 _5 @) M, X1 l5 w8 q! \7 W
  1825. ; disabled by default$ j' ?9 S8 q" i9 f2 N8 K' n
  1826. ; http://php.net/gd.jpeg-ignore-warning: c+ R  |7 B6 _  A& T; b% T0 m
  1827. ;gd.jpeg_ignore_warning = 0
    3 F3 o0 j; T3 t+ D$ v" Z. h0 K

  1828. * h' `) q; q5 P4 i. G8 d3 d; S
  1829. [exif]
    # E/ B9 O$ T5 S# f! K2 L
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ! c9 c8 x3 P; |) X. }- Y4 N; s: d$ I$ D
  1831. ; With mbstring support this will automatically be converted into the encoding$ Z' L; g" f# a- a! E( z
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding4 I# O4 R0 I- b% x$ [5 I" |7 R$ {9 F
  1833. ; is used. For the decode settings you can distinguish between motorola and
    0 U4 D* ?/ `. U
  1834. ; intel byte order. A decode setting cannot be empty.: \) w* D/ ]& T& }
  1835. ; http://php.net/exif.encode-unicode
    " w9 n, J. ?- P' l9 `0 k
  1836. ;exif.encode_unicode = ISO-8859-15
    . n. E: O* \) M/ G# W

  1837. 0 U* c) _' |! |6 x
  1838. ; http://php.net/exif.decode-unicode-motorola
    0 V* I- H( F- U/ z* I
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    0 b7 ], j+ C  f; |) H0 v
  1840. 6 Y/ s3 w( U! y7 O
  1841. ; http://php.net/exif.decode-unicode-intel, W( T, j5 R6 X. t
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    3 M$ O7 g) W- @
  1843. ; U+ y' c, d4 l) E" Z' l7 J+ x& l8 b; J
  1844. ; http://php.net/exif.encode-jis# m) n4 z6 ~( d% k
  1845. ;exif.encode_jis =8 [: {4 b* o$ ?* Y! R, g
  1846. 4 j; C, f( F8 ^
  1847. ; http://php.net/exif.decode-jis-motorola0 X' E! n% s) f* `0 O- r
  1848. ;exif.decode_jis_motorola = JIS$ c4 ?! ~4 }- K5 {: O) B& O$ u% C
  1849. 6 V8 X- J# K% y
  1850. ; http://php.net/exif.decode-jis-intel
    0 \' {2 L, e, S( w$ ~2 K' O) N
  1851. ;exif.decode_jis_intel    = JIS
    5 L# p/ D  _" ~4 r

  1852. & e/ B+ f9 q9 Q! u$ P
  1853. [Tidy]& {  p4 l$ k) N# y) t/ R4 `
  1854. ; The path to a default tidy configuration file to use when using tidy# X0 i% G8 z! ?$ V7 l# m* p  b. ~
  1855. ; http://php.net/tidy.default-config; Q  l1 I3 J% @5 c& A) a$ Q# b
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg1 M; `( S. w6 b8 M1 V7 i

  1857. . C5 n" A: m4 x- S5 I8 n  f* ]
  1858. ; Should tidy clean and repair output automatically?0 d  ?4 E1 `. R6 C& @% K
  1859. ; WARNING: Do not use this option if you are generating non-html content
    " B$ A- e2 D9 k$ x5 ]: Q8 S
  1860. ; such as dynamic images" P) t% u* {5 V9 c; o8 v% K$ }
  1861. ; http://php.net/tidy.clean-output/ K5 L. {2 s, d1 t6 Q' G
  1862. tidy.clean_output = Off
    3 x" N* Q  E) q) a0 Z) g
  1863. % F* L) h" u+ a
  1864. [soap]" T$ A. F7 t5 f3 v
  1865. ; Enables or disables WSDL caching feature.* |5 J: o1 ^6 M5 o
  1866. ; http://php.net/soap.wsdl-cache-enabled* Q/ _' N. e+ G5 q2 i5 f+ E
  1867. soap.wsdl_cache_enabled=1) o  K) o, [  g9 m' O

  1868. 6 D0 ^- T3 t! Y9 X* Z$ |
  1869. ; Sets the directory name where SOAP extension will put cache files.
      G3 u6 M' p9 W% H2 c) @2 ~
  1870. ; http://php.net/soap.wsdl-cache-dir
    ) d% [3 }* X& ^# D5 @2 L2 E
  1871. soap.wsdl_cache_dir="/tmp"
    ! R8 }9 ]+ H7 v9 z% }

  1872. 6 X$ c7 @& O/ x. V4 I* Z6 G4 P9 P
  1873. ; (time to live) Sets the number of second while cached file will be used9 w$ @& u( P5 M  u2 h8 E3 u
  1874. ; instead of original one.
    ' c* W  g7 M' _' W
  1875. ; http://php.net/soap.wsdl-cache-ttl
    " ^  B+ t* V9 D* @( m* a: s5 @
  1876. soap.wsdl_cache_ttl=86400! j- }; }3 i& z# z6 x
  1877. * w, U2 K; Z" f9 j+ Z- Z* x" f
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
      t/ r1 W. ^5 R
  1879. soap.wsdl_cache_limit = 5! W' D' ~, q3 q' K! m1 l7 N% Q
  1880. 1 b! K. q& _3 v5 r+ ^; U1 w8 f
  1881. [sysvshm]
    1 Y9 Q  v' q5 v2 w( M
  1882. ; A default size of the shared memory segment# N4 X( w9 H8 J" C  k
  1883. ;sysvshm.init_mem = 10000
    3 Z; [. a& Z) h* ^1 R
  1884. ; ^$ j9 i$ n4 B! V) @. ?% C
  1885. [ldap]
    ! D+ V/ X" P) y2 O
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    2 d6 w9 k& e5 z( D% I
  1887. ldap.max_links = -1# b( I. g: u9 r" k" A! w
  1888. 1 X4 ?8 s" p/ f- N0 {
  1889. [mcrypt]
    4 b+ H/ D& y) c! Y. F6 K/ p% P/ a3 S
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open1 d0 ~& }+ u) Z
  1891. . P! b; s% k( l( q
  1892. ; Directory where to load mcrypt algorithms+ b, e1 C' K  l9 W& l
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)- o) u  A4 o, ~4 O: k" v" z; ]
  1894. ;mcrypt.algorithms_dir=; ^8 s9 K% Q4 I1 s' e" e2 e, i) C
  1895. ' [* z5 E$ i& Q9 }+ I; t5 f0 f7 [
  1896. ; Directory where to load mcrypt modes
    $ h+ C% Y. d1 }; N; Q4 F- s5 q- z
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    8 w* S, A+ y. @) ^, j# N
  1898. ;mcrypt.modes_dir=9 {3 C; U! C) }) {3 x7 u+ H
  1899. ; z) p! N. E( N
  1900. [dba]% g1 f' F9 u& l' y
  1901. ;dba.default_handler=
    7 {5 s3 t9 F. m$ p' U
  1902. 1 l) G; `: ^8 J! }
  1903. [opcache]$ }* o4 G; N* D! H! y
  1904. ; Determines if Zend OPCache is enabled. u2 v9 @7 a: L
  1905. ;opcache.enable=0
    ( m9 s# \# T' \2 H. q5 G- }
  1906. 1 I, r# N% y6 H7 x4 U% E; X
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    7 b7 g1 b$ ~- S; J- b8 ^4 _5 R( _
  1908. ;opcache.enable_cli=0. m5 \9 t5 }. [* U

  1909. ) h% P5 x5 z$ h# |2 i+ E: N) E6 g
  1910. ; The OPcache shared memory storage size.
    ! r# j  I0 ]) l7 s- n. }1 X  u  @
  1911. ;opcache.memory_consumption=645 l3 z2 }  [: d1 f. y8 n1 Z& v
  1912. 7 t& A  }! c" o" Q: |" ]
  1913. ; The amount of memory for interned strings in Mbytes.
    0 n2 A1 o6 H- {9 w8 ?* @) ^  `
  1914. ;opcache.interned_strings_buffer=4
    ! E. n0 t5 P& p% e5 J; I
  1915. + }5 H" N8 Y% _
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.0 p7 q4 S1 ^9 c, R7 X
  1917. ; Only numbers between 200 and 100000 are allowed.
    . l: H% Y4 `: z! T1 S: ^
  1918. ;opcache.max_accelerated_files=2000% n; _; Z( H  |0 K+ `
  1919. * u* _; J3 t7 K* h4 l: @- Y
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.: R) E4 L0 C4 A3 v7 z
  1921. ;opcache.max_wasted_percentage=57 s1 u- U5 |# G" Z9 v1 R, O
  1922. 5 v2 w/ p# _+ t9 ~
  1923. ; When this directive is enabled, the OPcache appends the current working3 S" m1 H& w+ Y! g# _
  1924. ; directory to the script key, thus eliminating possible collisions between' r  K' l: l7 D' S4 J' ], I, F# H
  1925. ; files with the same name (basename). Disabling the directive improves
      o: V1 Q5 k. ^* R
  1926. ; performance, but may break existing applications.
    ) W$ r5 p9 Z+ F& [3 c
  1927. ;opcache.use_cwd=1
      }2 y% B. R3 @- n% C: b8 G( n3 r

  1928. 3 |3 Y& l% V" V
  1929. ; When disabled, you must reset the OPcache manually or restart the
    . w; v8 c$ S* b& X
  1930. ; webserver for changes to the filesystem to take effect.9 t7 Z7 F8 O- L- t: T! M/ |( f
  1931. ;opcache.validate_timestamps=1; z7 |$ `$ G9 N% I2 b

  1932. 5 T4 x; _) E$ |5 \( f- D- G
  1933. ; How often (in seconds) to check file timestamps for changes to the shared! {  }1 q! M% J  t! s" l' l- e8 ^
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    0 S: Q4 W' s$ H5 m2 ]
  1935. ; once per request. "0" means always validate)
    * ^4 T# Y7 L3 w) F0 H$ I
  1936. ;opcache.revalidate_freq=2
    - ^* E; `8 _  ?+ l
  1937. ! w5 p  j1 _$ `& q  B( `- f5 O+ k
  1938. ; Enables or disables file search in include_path optimization; S/ ~! W" m: |. f9 o
  1939. ;opcache.revalidate_path=0
    & `) C" J! Q. `$ l# k
  1940. 5 k  h7 t) [; M- @) j
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    + `% k! g. _9 j! V' c1 t, n
  1942. ; size of the optimized code.; J# S% e+ |+ ]6 n) D, }
  1943. ;opcache.save_comments=1" J5 ^( e+ _( l) I' C1 B& a

  1944. / y4 _; ^% @# i6 [/ b$ u' ?
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments": [  J0 a" h! D. r0 E0 {, G! q
  1946. ; may be always stored (save_comments=1), but not loaded by applications/ {$ x0 s$ ]! O6 v6 q2 ^# y  n
  1947. ; that don't need them anyway.0 M$ G! W4 F; o6 e: l
  1948. ;opcache.load_comments=1
    % d; x9 q/ g: I( o' R
  1949. 5 D7 k  k8 @* c) \7 }5 b
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code" w7 r9 u8 v; J, w. u
  1951. ;opcache.fast_shutdown=0  n  Q+ W  r" S$ ^

  1952. ; v- F: {; |6 J7 U! A
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    % j( ^3 b( e3 E% T
  1954. ;opcache.enable_file_override=0
    0 n2 C+ u7 `: v5 Q4 D8 `
  1955. # c/ Z: Y% H* O# k9 O( \1 o5 ?8 g
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache% B: u, Y+ T" v8 Y
  1957. ; passes
      U5 j8 I1 L5 X& P2 e$ B4 F
  1958. ;opcache.optimization_level=0xffffffff
    , W/ u! X/ i( b- q# {& e* F% u
  1959. 6 k0 R1 D2 H" o
  1960. ;opcache.inherited_hack=12 h+ _- F. k2 `6 f1 F. ]' l: ?. Z
  1961. ;opcache.dups_fix=0! o; N4 }9 ]' \# g3 c
  1962.   `; P1 \. W* h
  1963. ; The location of the OPcache blacklist file (wildcards allowed).! W1 q9 |5 P) `. D$ r$ y+ B
  1964. ; Each OPcache blacklist file is a text file that holds the names of files% n% }0 Y6 U# {5 V8 J6 x) p
  1965. ; that should not be accelerated. The file format is to add each filename  A* o1 \8 f! S8 X9 ^  k8 J& N
  1966. ; to a new line. The filename may be a full path or just a file prefix
    + i' [" e/ M$ s% q) z1 [$ X& I; ^" _
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    4 e% {# T8 R2 L- m9 J9 W  I
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    # Q9 q0 R8 D- x
  1969. ;opcache.blacklist_filename=
    0 Z5 x* S$ [) H. B7 k% ]/ E

  1970. 0 K; K  G8 Z, p9 G2 S0 d* p2 m) J
  1971. ; Allows exclusion of large files from being cached. By default all files  Y: A# g" y# X- f  b, d" S! O
  1972. ; are cached.9 N7 Z3 D2 o1 i$ I  `- \
  1973. ;opcache.max_file_size=0+ n4 o0 D) x9 P! H2 R, ]) D# ?
  1974. 6 ]$ P0 K: D) N5 V/ T! t2 c3 _
  1975. ; Check the cache checksum each N requests.
    * F# s6 q* h- H9 C+ J' I
  1976. ; The default value of "0" means that the checks are disabled.* q, t4 m+ L( @. ]
  1977. ;opcache.consistency_checks=0
    0 Y& F' w" h! P" q

  1978. 4 H9 Q  U$ v& y( Q/ V
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    2 W. u9 s8 }  P3 ?, U3 y
  1980. ; is not being accessed.
    ) v( n! ~+ f/ g6 r
  1981. ;opcache.force_restart_timeout=180  l; _' T! E% H' a% m" c: z

  1982. 2 K4 ]+ R. u, {
  1983. ; OPcache error_log file name. Empty string assumes "stderr".3 y$ ]6 K. F0 Q( W
  1984. ;opcache.error_log=
      T" D' I: i/ o1 F: e: k& k

  1985. : _9 k) Q6 b( J" h& O! R$ u; g) L
  1986. ; All OPcache errors go to the Web server log.! d: c. {% v  `9 v; A& L; s9 z3 u
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.# u% B1 I  j8 U$ Y. ~1 U
  1988. ; You can also enable warnings (level 2), info messages (level 3) or4 L" k' q: u/ T
  1989. ; debug messages (level 4).
    9 Z6 N; N3 x/ B& V
  1990. ;opcache.log_verbosity_level=1
    & Y0 b. z0 [$ r* b1 F% T

  1991. ' j  {6 j5 u, k
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.: p1 T  h  T, N
  1993. ;opcache.preferred_memory_model=
    0 M: U5 r2 V& [! M

  1994. . M$ @1 G: @$ H, G& Y0 {" i) D1 N
  1995. ; Protect the shared memory from unexpected writing during script execution.
    : F2 g6 O" K0 o! Y" r. C% B3 P- _
  1996. ; Useful for internal debugging only.. C" e+ v: G5 q2 \8 ]# U3 n
  1997. ;opcache.protect_memory=0
    $ D( x, N; G  H8 \6 \' d7 f7 W

  1998. ) x  ^- @" G6 Y& ^8 G" z1 U1 i1 \
  1999. ; Validate cached file permissions.7 X: F0 X/ `: K, |+ S/ c
  2000. ; opcache.validate_permission=0
    8 P. o* q# u. H

  2001. ) M! y/ O: J) \: M( S6 e% O! U
  2002. ; Prevent name collisions in chroot'ed environment.8 W, c" ?( d" D* Y
  2003. ; opcache.validate_root=0
    : b5 p0 K4 v: r

  2004. . e" F: f, p% j/ }9 P0 \
  2005. [curl]
    3 c( H5 R3 H! E
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an8 v  S: y0 q3 v' c: B: W/ ?% t
  2007. ; absolute path.
    - z0 q- K( d; K/ [  U
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt5 f1 i; L- Y4 t, y
  2009. % I( U  A- f2 f( K5 T0 F
  2010. [openssl]$ |! y/ N) _$ ^! x) g
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ! d- k1 t5 R# l8 {" h3 h2 n
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ' p; m# _8 l+ R  ~' _1 v+ d9 ^" G
  2013. ; not specify a value for this directive as PHP will attempt to use the/ _$ U: c9 H3 N. P1 Q
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
      X" p1 o% _$ r4 [: d7 f
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context: l! M# ]( ?: U7 u. n- O
  2016. ; option.. {0 {. w* |; K% f9 d
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    3 r- i5 o& ~- |! q3 K% E
  2018. : h$ s# X# I: B: p" _
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    6 u* v% R5 ?( R
  2020. ; directory pointed to by openssl.capath is searched for a suitable0 y" D. a3 ]; Z' {
  2021. ; certificate. This value must be a correctly hashed certificate directory.
      [1 j% e" W$ P# B4 \
  2022. ; Most users should not specify a value for this directive as PHP will; T% ~5 z  Y& T3 Q; \
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    - h6 W+ N6 _: \' P
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    & G- p! ^0 m9 u
  2025. ; SSL stream context option.1 F9 P: y$ C3 t" S: i9 U1 ]
  2026. ;openssl.capath=9 j* R% V  ^4 y) G& U

  2027. 3 v( t! K9 O; I/ A& V
  2028. ; Local Variables:
    ) M/ c0 h% v& J$ s3 r  A0 V' m
  2029. ; tab-width: 4) _/ e% f0 K: Z
  2030. ; End:
    3 |9 z" a8 F0 @6 {! d" [

  2031. 9 k2 J; s. u* M0 |/ ^& L* C
  2032. ;eaccelerator9 Y; H- }9 @( p8 d% E+ `
  2033. % ~. |" t. |1 T& s
  2034. ;ionCube
    + E# e  Q$ s3 l# M; `6 H7 _
  2035. : g. [* x, q8 P7 }# H8 Q
  2036. ;opcache; [8 G% X, p( Y+ \8 B4 f
  2037. ' l# [; O8 r* B% r' I, u% c
  2038. [Zend ZendGuard Loader]4 v  @: z8 g0 P' M6 @
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so; b; r$ X1 J0 G4 t( L
  2040. zend_loader.enable=1
    9 H& Q. \' v9 \, Y7 O+ |9 b
  2041. zend_loader.disable_licensing=0! i- L7 M0 \  w3 o& V& Q
  2042. zend_loader.obfuscation_level_support=3' N5 J. X% P% o
  2043. zend_loader.license_path=
    & Q) R/ V5 Q% u' v4 O; G6 o
  2044. - m" O0 T" j( u9 G/ s
  2045. ;xcache- P* [/ g7 f9 s: q
  2046. 6 C! s+ M, J7 Y( e( S: F7 Z
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146925 e" s$ s" H8 x% Y
3 [0 d2 c" d% J, f/ w' d

% B: l  Z* Z  d7 _$ i; R% rDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
& X' a& Z  i% e' ^- z  z8 N& z+ M3 K: P, N
Discuz!程序版本选择:1 i/ u, R" i3 C: R6 Q& A9 o& ]+ L
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,3 ]# T: V  j9 J* `9 c( P$ A; x
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:  q0 o2 T$ C9 i. L
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
" M" d1 s- {1 Y0 F" R3 q5 h# y- i, s; @& y. g
Discuz!插件模板版本选择:
, P4 y$ \& |6 }2 i' A* i% [: Z  v很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,; z# T" t( M" V5 x. I" j% g; u
针对这个问题做个统一的普及:. k- S$ n# w  }* ~
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。$ W/ e0 J  P/ W1 {( g5 J3 T7 @
4 g7 X/ i; I$ Q6 b5 H/ {) U8 A
所以' W" a* v6 `6 _# B  ]& w
适合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的二级域名。
( d% P) R8 P0 T, B/ X- l7 C. ^打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。* j) O1 n. _- T. @
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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