分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0" {! f* j( s4 ]% v
; _7 o* r! `& U) F2 r
  1. [PHP]
    5 p/ y# K3 {8 |; t5 O
  2. . ^4 i. r, V0 c; q8 I* Z
  3. ;;;;;;;;;;;;;;;;;;;
    $ H, G0 @4 N# a" c
  4. ; About php.ini   ;% Y0 S  g  Z! H7 H- t! u) [
  5. ;;;;;;;;;;;;;;;;;;;0 C$ B# Q! S/ \1 X  \* U1 ]
  6. ; PHP's initialization file, generally called php.ini, is responsible for0 i; s$ y: G  N! u) d7 N/ H& \- {
  7. ; configuring many of the aspects of PHP's behavior.. n- a! s: c3 q6 _7 Z

  8. ; {+ P$ q+ [) l  S, R2 ^5 b7 x6 a
  9. ; PHP attempts to find and load this configuration from a number of locations.- Y  T! w2 W3 t0 c- T
  10. ; The following is a summary of its search order:
    8 h1 V/ x. _3 ^( h0 J  O9 D9 w
  11. ; 1. SAPI module specific location.0 c) k8 s8 k/ ]
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)) y' D3 s0 t/ L0 ]  k! W
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    / I- J! m! @! t) ^1 x6 |
  14. ; 4. Current working directory (except CLI), q5 u% e8 c$ Q6 Z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP3 j/ ~! f; |+ g# L+ J& ^) j! X
  16. ; (otherwise in Windows)$ S; T5 E1 h4 w9 p8 N
  17. ; 6. The directory from the --with-config-file-path compile time option, or the/ j! l, {0 u) e; g* b0 m* w
  18. ; Windows directory (C:\windows or C:\winnt)* z' n3 v+ X" D+ |) l# @$ U2 m& N' ?
  19. ; See the PHP docs for more specific information.! `; q. F: I( X( |- y
  20. ; http://php.net/configuration.file! y  P6 f* G, O; E/ w% V5 ?0 D

  21. 2 n" `) I7 h6 O. u) [* b& B
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    7 D% s9 m' h! S( c
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).$ b  Z: K- f3 ]8 u6 S( ]
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ( s9 x, ~1 b9 R. `6 u
  25. ; they might mean something in the future.+ w' u9 l9 p: N. B6 L8 g$ }. F9 {
  26. ; z( Z8 ], `6 K' k! E: u- w7 n
  27. ; Directives following the section heading [PATH=/www/mysite] only! P, }- V& U" h. H( ~6 N
  28. ; apply to PHP files in the /www/mysite directory.  Directives5 E$ `6 [7 J1 Q
  29. ; following the section heading [HOST=www.example.com] only apply to: f& W, I* ]& X; M* L* N
  30. ; PHP files served from www.example.com.  Directives set in these
    - b6 C/ ?/ _- G9 @
  31. ; special sections cannot be overridden by user-defined INI files or4 K( \. |9 F. \+ i( O
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under" ^7 M( w7 g  o% q# O
  33. ; CGI/FastCGI.
    - {4 y! y( s" ~+ v" f; e$ s
  34. ; http://php.net/ini.sections
    5 e; D- D! k$ a3 Q0 Q- t4 U% N

  35. 5 M, b! |8 A! i: ~; r
  36. ; Directives are specified using the following syntax:
    7 [3 o+ Q, j8 K: \- ]2 a! w: L
  37. ; directive = value; K8 X/ W2 Z) S
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    5 e& t$ B0 F0 ~% w6 L
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ( c1 ^5 u' G8 c7 }
  40. ; There is no name validation.  If PHP can't find an expected2 s$ p; A! Y  K
  41. ; directive because it is not set or is mistyped, a default value will be used.
    $ U/ H3 |) K* [" S
  42. - ]' K- j- n" d
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one5 x0 p9 o! W! k' n2 v2 Y4 ]+ g
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression, f2 W7 E0 u2 J0 n$ S; d4 z
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    4 C! V( U, l$ U, n0 B" I
  46. ; previously set variable or directive (e.g. ${foo})
    ( N: O" ?6 m+ o2 [; n
  47. 4 z$ o/ f% V) V. T& H, d! P( c6 L
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:% L2 J1 N9 w6 n9 {+ x* e! x
  49. ; |  bitwise OR
    ( q/ `% T0 t- @0 ?6 I1 S
  50. ; ^  bitwise XOR
    . G, z9 b: f. W( ~0 i* l
  51. ; &  bitwise AND
    7 V% e; }$ x4 S( I, x) G2 ~
  52. ; ~  bitwise NOT
    % l! T, j& B2 s$ J# d, O, p3 v
  53. ; !  boolean NOT
    ; S1 v! R2 K$ i9 {8 h) c  U

  54. ( Q( j* n6 l+ ?5 |& C, G! c
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.7 N0 ~/ z) o. D- ?0 P3 \) L
  56. ; They can be turned off using the values 0, Off, False or No.
    . D; Q3 Y  F2 B, }9 k( k: G0 O
  57.   i* n+ |& d  Z1 V
  58. ; An empty string can be denoted by simply not writing anything after the equal: R( r  ]% N$ |2 t- J
  59. ; sign, or by using the None keyword:0 f) u* a' N9 J* O- x4 `
  60. 6 U% c! ?' g$ ^- \9 U: t
  61. ;  foo =         ; sets foo to an empty string
    , f, \' f% r1 `) F
  62. ;  foo = None    ; sets foo to an empty string
    ! l/ m) N0 e' J, m9 o
  63. ;  foo = "None"  ; sets foo to the string 'None'' S' H9 Z5 k& l. V8 F  b& k
  64. 0 _7 K- @, K4 Y. L8 j' S! e
  65. ; If you use constants in your value, and these constants belong to a
    ) U/ ~" V& `- x, T& @" X. v% _
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ( Z/ c/ v. [& h8 U3 q# |
  67. ; you may only use these constants *after* the line that loads the extension.! }$ N+ Y) C+ v# {1 @
  68. 5 I. @. s4 m6 C- g( f+ P2 _6 y
  69. ;;;;;;;;;;;;;;;;;;;7 X* Y7 {9 {- B: j3 B7 n3 x$ D
  70. ; About this file ;8 u5 a: a  w  s2 s; F' `1 A
  71. ;;;;;;;;;;;;;;;;;;;, {0 S" p. r9 _9 t, t) T
  72. ; PHP comes packaged with two INI files. One that is recommended to be used# ]% I* g! o  X& W1 w% V6 A
  73. ; in production environments and one that is recommended to be used in
    ( V- C5 t- A3 V# C4 Q0 N- k" ^
  74. ; development environments.+ i5 ~! G- Z7 K$ l) l  D+ T

  75. ) D" o/ h3 T4 ]% ?8 h# ^6 a" l
  76. ; php.ini-production contains settings which hold security, performance and
      C. U; t: t# A9 N  \9 Q+ x
  77. ; best practices at its core. But please be aware, these settings may break  F$ G2 V/ e  v* e' N
  78. ; compatibility with older or less security conscience applications. We4 g% B  J, E3 t  e% l8 t4 s
  79. ; recommending using the production ini in production and testing environments.6 Y7 c8 o' i" ~, w$ N

  80. 9 H$ v5 }  e" E  K* P" ~
  81. ; php.ini-development is very similar to its production variant, except it is. u9 v/ e7 Y0 L, ^
  82. ; much more verbose when it comes to errors. We recommend using the' e2 Y: N5 \/ l" j
  83. ; development version only in development environments, as errors shown to
    8 u: J& N3 r& `5 S
  84. ; application users can inadvertently leak otherwise secure information.# w0 P, O0 k  w% w2 d# e8 z$ q
  85. : p0 ]3 W1 K8 p$ q2 k
  86. ; This is php.ini-production INI file.4 R5 Y6 G3 N5 v4 q
  87. - L- G$ b- \7 n# A" T& x
  88. ;;;;;;;;;;;;;;;;;;;0 `- b0 K' P# T2 F: E
  89. ; Quick Reference ;
    . l  n& o( |: j, ^& [+ o! W
  90. ;;;;;;;;;;;;;;;;;;;# W# u4 g) X, k' S$ e
  91. ; The following are all the settings which are different in either the production4 y- Q" c/ L/ ?7 @7 \  r
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    : U7 j( g+ ^9 {" Z! K
  93. ; Please see the actual settings later in the document for more details as to why! e& ~! N1 f7 u$ ~# `- G# V6 J+ H
  94. ; we recommend these changes in PHP's behavior.) x2 |& c/ y, y; p* P
  95. 4 c, N/ e2 M7 @* w' [+ Q0 W  T' e
  96. ; display_errors- q4 q, v, L' [& f5 K
  97. ;   Default Value: On
    & f$ A# A( p! |; h+ `" m' _
  98. ;   Development Value: On1 g- J! I0 E$ ^
  99. ;   Production Value: Off& h4 d) q" f6 Z# i8 D# y/ ~
  100. ! a1 R9 \# s: A9 @7 _! R
  101. ; display_startup_errors- U: x$ b; W- O" V+ F1 c: _
  102. ;   Default Value: Off) @- B. s/ }$ {+ |8 R! h
  103. ;   Development Value: On& z! w) n) O2 E! u' _
  104. ;   Production Value: Off
    # H6 m+ w; h7 o6 i
  105. ( T/ Y7 [: d* c$ v6 q) u& P
  106. ; error_reporting
    6 ?2 a1 u$ K8 e1 K# ~0 B) [7 d
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    " A  x1 U3 [* i- Y' T/ h& y% U
  108. ;   Development Value: E_ALL
    2 A( A" `( i/ f1 a7 h  T
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      `  x$ N5 F) A" W0 R

  110. ) M2 |& D' q$ @. Q' L% t7 B
  111. ; html_errors
    ; a' ^3 r* [# R6 B, u
  112. ;   Default Value: On% n! l3 C: E) t' _; v
  113. ;   Development Value: On( Z7 r9 u$ y" t2 C# b0 p
  114. ;   Production value: On
    2 F# M' K+ o2 t+ B* s& Y1 z
  115. * {8 g$ Z' G- `4 Q$ I3 P& X
  116. ; log_errors
    . ^6 I& _0 {' ~* J6 `
  117. ;   Default Value: Off
    ; K) a% n% a% }0 }  ?" n1 N, M- F
  118. ;   Development Value: On
    1 R+ B# `: n" Y7 g
  119. ;   Production Value: On
    9 C* J8 K9 B1 O

  120. . F8 m# ]$ ~8 f  s8 E
  121. ; max_input_time$ T' C7 k; `; R+ q
  122. ;   Default Value: -1 (Unlimited)- }: |% N2 M, |% B
  123. ;   Development Value: 60 (60 seconds)
    ' ?+ W& h7 y5 V' _9 F" S4 p* A8 L$ G
  124. ;   Production Value: 60 (60 seconds)- i$ h7 a" J: m0 o. `; \0 h3 u  |
  125. 3 `0 N4 j6 D4 t  r7 [
  126. ; output_buffering
    / _0 @. K$ ~1 ?: |
  127. ;   Default Value: Off$ b6 K2 G( y- r; \) r
  128. ;   Development Value: 4096
    . |3 G" v, W) C' ]" d
  129. ;   Production Value: 4096
    ! a" g! {" L& k! O. L$ {! w8 Y
  130. / U& F) {0 a' N
  131. ; register_argc_argv5 u7 y: o: x7 W" _9 T) G; e  T- `# D
  132. ;   Default Value: On4 ^! F* _; n7 _$ J! S$ \6 c
  133. ;   Development Value: Off
    0 I" w, O( @  B9 _" Y" Z+ }$ m
  134. ;   Production Value: Off. b  F/ x; N- r0 |! `0 x

  135. " n- p4 M/ c+ ?4 l* T
  136. ; request_order& O3 A2 h# O/ s5 W- Q
  137. ;   Default Value: None
    4 C) X& g. L, I* u% u
  138. ;   Development Value: "GP"
    & f, G: n1 q; {
  139. ;   Production Value: "GP": m) s) z* J6 J. C
  140. ! \: y) d8 `7 V
  141. ; session.gc_divisor
    * Q% e- K: x' I
  142. ;   Default Value: 100
    4 t! S2 M, ^' U) b6 B; D7 c4 k6 P
  143. ;   Development Value: 10001 ^3 P" U1 Q' K. r
  144. ;   Production Value: 10002 N! f7 T; L4 f

  145. # I4 P, B4 k  V
  146. ; session.hash_bits_per_character: G# Z$ Y2 E& |" r0 r+ R& ]1 X
  147. ;   Default Value: 44 _4 U8 _: R1 l3 w% y* D
  148. ;   Development Value: 5! i! G# y+ V9 L' A5 |3 _
  149. ;   Production Value: 5
    4 u1 D; R1 i* W' Q2 F8 [

  150. $ G! ^$ E' Y" r# A+ ?/ ]
  151. ; short_open_tag7 E5 r- T4 Y- ~) n" C
  152. ;   Default Value: On
    ' u( _8 N. r) {4 B/ u! E
  153. ;   Development Value: Off
    # V6 P- a$ q: i, Y
  154. ;   Production Value: Off
    $ s; Q& s! o9 I7 w7 v& P
  155. $ p: L: K& Q: m# @
  156. ; track_errors3 [* E, u$ _* _2 G1 F
  157. ;   Default Value: Off
    5 ]! d; {! o8 b, Z! M- R
  158. ;   Development Value: On1 Z$ c2 `* k) x0 V) ^0 i- n8 L- @
  159. ;   Production Value: Off
    1 w9 Z" P% I+ ?$ v# X- W
  160. 0 f0 X) t& p( k
  161. ; url_rewriter.tags
    1 R( s2 s4 J( H! `- j7 @
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * o, j$ ?  }# b3 w/ _# X$ T
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & C! |, \) d1 F. m' X' Z4 t& R
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 t; ~9 Y. F3 ^! W3 U) H* R
  165. , u  q# y9 T$ i! G8 w
  166. ; variables_order
    ) F- l/ h" x  N  D$ k8 X. U
  167. ;   Default Value: "EGPCS"
    2 {' \$ l0 e$ [
  168. ;   Development Value: "GPCS") |' s: {4 ?! \6 Z* O
  169. ;   Production Value: "GPCS"
    2 C" P5 X1 x! }" [' n
  170. 9 s% e5 k3 p. U# z' W2 B7 g' e9 x
  171. ;;;;;;;;;;;;;;;;;;;;( s/ W8 s6 L, ~) a/ p  I& ?1 J
  172. ; php.ini Options  ;) \  t; C5 x5 \
  173. ;;;;;;;;;;;;;;;;;;;;2 T& G7 D2 V2 h3 I
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    9 U4 Z/ Y1 @9 t2 g, y, I# u& ~% m3 S. Y
  175. ;user_ini.filename = ".user.ini"
    0 h) {. V1 }' b# Z2 Q5 r* K/ M% A

  176. $ B0 B' l: N& }7 K. M
  177. ; To disable this feature set this option to empty value
    ) a( D5 a; M  b7 Q
  178. ;user_ini.filename =
    ( a: u* m1 D' ~& |7 M+ @
  179. ! G3 P* k! K, b; q# A
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes): ?. W, u' j! q) s5 E5 A/ c) F
  181. ;user_ini.cache_ttl = 300
    + R& p" p5 o8 W
  182. 1 J, O2 [: N* ^* c0 p
  183. ;;;;;;;;;;;;;;;;;;;;1 a2 m/ F* w4 [6 D. B" L" s
  184. ; Language Options ;
    ( X: C! e5 x& C
  185. ;;;;;;;;;;;;;;;;;;;;/ Z0 n! o: j0 K

  186. ' A9 R& Y% t/ S; o3 e
  187. ; Enable the PHP scripting language engine under Apache.  w8 p+ A! J8 w; z3 X( U3 I3 |, V$ u# N
  188. ; http://php.net/engine3 R$ A4 P+ R* z
  189. engine = On* i7 C7 c; J# t. v$ B, M, h; I
  190.   s1 X8 i2 G( W' ^
  191. ; This directive determines whether or not PHP will recognize code between/ Z' w! a6 q9 j% p& C
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    1 H7 A+ n% c2 a- v0 ~/ a
  193. ; generally recommended that <?php and ?> should be used and that this feature
    & m, V. q8 @7 {+ B) o
  194. ; should be disabled, as enabling it may result in issues when generating XML) H4 Z* A- P& F$ P* r
  195. ; documents, however this remains supported for backward compatibility reasons.
    ' B4 u+ G0 X4 f5 y, [' N  F7 a
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    + t' W2 ~! E6 O2 f5 `& a; I
  197. ; used regardless of this directive." Q* f$ ^( u+ \, E# ]
  198. ; Default Value: On' @5 o% Y, }! Z+ y5 a* C" U! T
  199. ; Development Value: Off% V; U9 ]8 m# i5 ^8 B% B
  200. ; Production Value: Off* L1 v, J, Z& c# s. ^
  201. ; http://php.net/short-open-tag
    * `& @. m! k& o5 I. C
  202. short_open_tag = On+ u5 H! [0 |7 ]+ G! y& T4 i4 d
  203. : Q# D' Y" H9 U
  204. ; The number of significant digits displayed in floating point numbers.
    8 a. d: v2 x! p) W8 i8 Y" i
  205. ; http://php.net/precision6 P2 D/ {3 ^- Z/ M4 \  ^
  206. precision = 143 r+ Q) c% P% I2 l* k
  207. : B0 W$ }9 z- I/ o, B1 i- N
  208. ; Output buffering is a mechanism for controlling how much output data/ k5 i! b, t6 j. D. I4 v
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    5 x% V. d2 D* ^9 A+ p* R
  210. ; data to the client. If your application's output exceeds this setting, PHP
    - G0 M$ d, h/ D8 r# [' m
  211. ; will send that data in chunks of roughly the size you specify.' \' Z/ s8 J  T' i5 b9 t
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    0 e# g& C3 x4 }1 M% C
  213. ; interesting side-effects depending on your application and web server.
    0 o# T& Z6 C$ ]
  214. ; You may be able to send headers and cookies after you've already sent output9 p1 L% s( a9 Q
  215. ; through print or echo. You also may see performance benefits if your server is  f- O; a0 Q+ s% P6 N; D
  216. ; emitting less packets due to buffered output versus PHP streaming the output" \7 {- Q% [" I2 x$ C* N
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance% M7 W3 u8 O1 p! U
  218. ; reasons.% k9 R. ~& t* ^9 a) b4 m6 Y
  219. ; Note: Output buffering can also be controlled via Output Buffering Control* ^# x6 N* A( U$ Z& ~
  220. ;   functions." o  c1 O- X# k# y) N  s1 U, ~
  221. ; Possible Values:. \& e* W2 P' M
  222. ;   On = Enabled and buffer is unlimited. (Use with caution). W9 s/ J0 g8 R" `: T& @( w/ v
  223. ;   Off = Disabled
    1 n$ Q% s& Q' ?
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.6 {' J5 k4 t9 O+ P0 |) H) T6 ~
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI# e6 v8 h( t) D( \2 B) x% B& G
  226. ; Default Value: Off
    0 o$ l" y! m+ E' Y! K
  227. ; Development Value: 4096
    ) M3 O2 N& c4 {; y' w& J$ @7 d
  228. ; Production Value: 4096
    * O! D  I( J, A6 j
  229. ; http://php.net/output-buffering
    , ~( y% p! x! @0 M/ H9 N1 y( i
  230. output_buffering = 4096
    - q4 Q# T4 Q1 d6 ]

  231. 8 h; A! X5 F6 ?$ O) R- G
  232. ; You can redirect all of the output of your scripts to a function.  For
    2 g+ F) u% v- N1 O8 R, q
  233. ; example, if you set output_handler to "mb_output_handler", character
    * |4 X( p( F+ G: M( M, L
  234. ; encoding will be transparently converted to the specified encoding.
    $ o3 @4 Q, b% K+ D: v+ b% \
  235. ; Setting any output handler automatically turns on output buffering.
    : D+ U7 |  }, E* G. k
  236. ; Note: People who wrote portable scripts should not depend on this ini
    ) f( e1 G% f3 y$ d; d7 l
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    ( G- V7 X5 w7 {1 r8 H+ p1 r
  238. ;   Using this ini directive may cause problems unless you know what script
      z0 i3 x4 W# D# \; ^+ p7 h4 b# `
  239. ;   is doing.
    , j; s! E/ e3 O/ r0 D7 Y
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler": R% h4 `8 u: w' L9 R6 L
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".# D. I/ }$ o* k" o; w6 _; N
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    / k! J0 w. I- F, r7 `* {
  243. ;   Instead you must use zlib.output_handler.
    & T) C7 {$ ]/ |8 d- X
  244. ; http://php.net/output-handler3 v- T8 N( }+ P, l( ], Q. X3 q* Z1 M
  245. ;output_handler =8 a; r9 o! y. Y  {* ?+ v1 z

  246. ) W3 _& Y1 d* N/ S/ O. ~4 b
  247. ; Transparent output compression using the zlib library- g8 G: `9 o: S! N% c$ {
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size' }4 x, w" l3 _
  249. ; to be used for compression (default is 4KB); Q- N1 H$ o: V6 U1 _* O
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP9 L* E& p* V4 m. M# w9 F: w
  251. ;   outputs chunks that are few hundreds bytes each as a result of( A, u/ `" Q: N% s; j8 d& |# }
  252. ;   compression. If you prefer a larger chunk size for better* t  T& j, @( f; m* `
  253. ;   performance, enable output_buffering in addition.
    0 u  ^+ F- |( B# _: Q
  254. ; Note: You need to use zlib.output_handler instead of the standard
    8 m$ G5 m* A3 W% ~, |7 I' V
  255. ;   output_handler, or otherwise the output will be corrupted.1 o% {  ]6 K8 {
  256. ; http://php.net/zlib.output-compression
      M4 l; i' z  K  w
  257. zlib.output_compression = Off1 c8 W. t' U; s" A
  258. ' a; s) t6 x5 [" `* Y
  259. ; http://php.net/zlib.output-compression-level
    ( R+ N* I4 I4 A& w, m5 D7 X
  260. ;zlib.output_compression_level = -1
      k) N3 `$ w# ]$ }
  261. ; r0 _& Y4 Q5 P/ H, r
  262. ; You cannot specify additional output handlers if zlib.output_compression
    * n8 F" e* J$ l! {) z' a0 N
  263. ; is activated here. This setting does the same as output_handler but in
    6 Z- r# ^# Y: }* h7 w! g
  264. ; a different order.
    5 C' G& c% `* Q- A. g& t$ I) O
  265. ; http://php.net/zlib.output-handler
    ; j# J# |3 }* l) N5 n
  266. ;zlib.output_handler =
    ; j8 _1 m9 P) T5 G; q4 I
  267. 0 p1 X( {6 s0 }) I. F
  268. ; Implicit flush tells PHP to tell the output layer to flush itself; r9 S. E8 ]/ m, r) Q9 v% S/ F9 u
  269. ; automatically after every output block.  This is equivalent to calling the
    1 Y4 G5 r" j! a: S4 \) a
  270. ; PHP function flush() after each and every call to print() or echo() and each; V* Y3 o2 N1 S% n; f7 Y+ w( P
  271. ; and every HTML block.  Turning this option on has serious performance
    3 f1 K& M. t5 g, T# h. k
  272. ; implications and is generally recommended for debugging purposes only.0 W" b$ }. L5 |* R* w
  273. ; http://php.net/implicit-flush5 A, G3 q, j1 o- Y0 q$ x2 P
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    2 h  |( P% C. Z* u, h& s, m
  275. implicit_flush = Off. a8 D/ Q& s/ C" `% Z9 }# Y

  276. # Z; E. f( T. L* }
  277. ; The unserialize callback function will be called (with the undefined class'' e, ]9 F1 X8 @5 ?* d% T
  278. ; name as parameter), if the unserializer finds an undefined class
    3 l* n8 @. D7 S; D! u
  279. ; which should be instantiated. A warning appears if the specified function is' \3 [4 p2 y/ S) V! Y
  280. ; not defined, or if the function doesn't include/implement the missing class.6 f7 V7 C' T; u* O
  281. ; So only set this entry, if you really want to implement such a
    : g( N+ F* a! C6 ^% f: h
  282. ; callback-function., U: c  [5 F9 n, R) w5 q8 Z8 a
  283. unserialize_callback_func =
    $ J* D/ `% V. l; Z5 Q
  284. - C: _# ^, g0 E+ T! w% }% n$ J
  285. ; When floats & doubles are serialized store serialize_precision significant
    / @5 o5 I1 ^# O, K' d/ h
  286. ; digits after the floating point. The default value ensures that when floats- P1 h( ^1 K4 P4 K
  287. ; are decoded with unserialize, the data will remain the same.# p, ]  g: X5 W# e# `! n8 t) @
  288. serialize_precision = 17( w3 G/ k/ `: \( I5 j, `

  289. " r7 l" f6 Z0 y+ k/ ^  l$ J$ K/ }0 z
  290. ; open_basedir, if set, limits all file operations to the defined directory9 |  y9 S/ X' ~* _1 ?% n
  291. ; and below.  This directive makes most sense if used in a per-directory
    - N8 Z* A* r: S" M3 n
  292. ; or per-virtualhost web server configuration file.
    3 x9 C0 a/ V1 l( ^) p& g
  293. ; http://php.net/open-basedir1 }! F: k- S: Z9 D% n: @7 v  Z
  294. ;open_basedir =& @& }3 A% C- y7 J2 H

  295. ; p& K& l% x; X, c2 @  p  c3 V2 ~
  296. ; This directive allows you to disable certain functions for security reasons.
    . t/ q6 D% l$ E5 e$ {7 }% a
  297. ; It receives a comma-delimited list of function names.
    , o- ^$ ^, t7 J- t5 T
  298. ; http://php.net/disable-functions
    : E7 y' n( x3 ?6 d- c5 \! u
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
      I- J' W% ]( o, ~+ w! S) ~

  300. % y( p' U7 g' b$ k3 v5 P
  301. ; This directive allows you to disable certain classes for security reasons.2 p3 h: M' T; v2 g6 ~2 \. A+ ~0 v
  302. ; It receives a comma-delimited list of class names.
    ( C" i" g) v3 g* S+ i6 {
  303. ; http://php.net/disable-classes
    1 Y: e% @7 r7 |8 C5 d; X, v) d! R
  304. disable_classes =2 [. w3 m. u" j( i( b

  305. / T5 w2 e# {; v
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in' a; F- D* [  n# ~7 s4 c- Y
  307. ; <span style="color: ???????"> would work.
    7 C) E/ p/ i/ x0 _
  308. ; http://php.net/syntax-highlighting% i  W0 K4 Q1 e; `
  309. ;highlight.string  = #DD0000
    ' S- W. Z$ c* P+ ?* ^
  310. ;highlight.comment = #FF9900% I4 k. i$ ^/ M2 R
  311. ;highlight.keyword = #007700
    ) d. }% Q1 L2 ^5 c* \  D
  312. ;highlight.default = #0000BB
    " N9 V8 t0 K& M& K$ ^+ ?
  313. ;highlight.html    = #000000
    ; L4 c" Y6 i; u: M7 ^" B

  314. . M+ E6 m' Q8 q4 k9 B) f4 P' S
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    $ |8 |) P( Q$ V: V. |& n1 Q
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ( Q8 k1 r. j9 z* z. W( a% _- R
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior5 T$ p( S  y( P( U8 h
  318. ; is to disable this feature.- D' L  s: O5 \) z' s: B5 a
  319. ; http://php.net/ignore-user-abort
    ! |6 h+ V. R; y) m' E
  320. ;ignore_user_abort = On
    5 q5 {' [- t) G9 ^8 F) G9 d

  321. 7 I8 @1 ^* D( p$ K* X
  322. ; Determines the size of the realpath cache to be used by PHP. This value should2 @( X1 _; x, }
  323. ; be increased on systems where PHP opens many files to reflect the quantity of" d0 y! V3 [/ b+ j; k
  324. ; the file operations performed.
    ! p; r* ?- |: `- {2 u0 k) }6 {) X" \% x
  325. ; http://php.net/realpath-cache-size
    6 W# d9 D. x+ X. o7 D
  326. ;realpath_cache_size = 4096k) l. v* ?. p0 M: |$ z4 Z

  327. ( H  L) z5 l1 k+ y
  328. ; Duration of time, in seconds for which to cache realpath information for a given( ?$ @' w6 ]  ^8 ^* s
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    6 [. v& A" l$ `6 t' }' Q4 ~8 J5 @
  330. ; value.
    5 U8 b, U; @, N/ D  e
  331. ; http://php.net/realpath-cache-ttl
    * e& C0 d* [7 U# a! ]
  332. ;realpath_cache_ttl = 120# ^* u: O+ `4 x

  333. + i2 }0 ?7 \9 c" I  I# k
  334. ; Enables or disables the circular reference collector.7 g* ?( j$ t# Y. E
  335. ; http://php.net/zend.enable-gc) `! y( N/ d3 L6 W& i7 `. a! G- h
  336. zend.enable_gc = On
    & D8 R' |; ?$ H2 E& {, d# H

  337. $ e% e* ]4 E  {5 H1 ^; g# m
  338. ; If enabled, scripts may be written in encodings that are incompatible with4 Z2 D: X" R7 A' ^8 h+ Z
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    7 e% U" ]3 f$ Y  L7 J' N
  340. ; encodings.  To use this feature, mbstring extension must be enabled.) c2 Q, i' {8 v& j4 A' n
  341. ; Default: Off( {  Z$ |: y$ a! S* p
  342. ;zend.multibyte = Off
    7 ~) R% J: j6 N6 U8 i
  343.   D; c0 c& B- D& ^7 I
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    9 S1 z, B7 g  s$ \
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    * L9 l# l: U# v! ^) m  F) d
  346. ; Only affects if zend.multibyte is set.  W! ?" j4 F+ a5 D
  347. ; Default: ""8 F. P( h4 a! H0 @0 e8 {" D) l6 c/ H
  348. ;zend.script_encoding =
    . M% c5 X1 [2 t. y8 s9 Z1 p% ~- [, [

  349. ; u6 S0 _7 m; b/ s: h0 N% E
  350. ;;;;;;;;;;;;;;;;;1 _2 {* Y$ c8 f
  351. ; Miscellaneous ;
    2 y9 d! q. m- c2 w
  352. ;;;;;;;;;;;;;;;;;
    : i- x! [; T8 Z* ^' k: m7 B

  353. * `1 {/ N$ p; W% C
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    3 ]  q. t! z( I) J1 K8 [
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    # i, [0 n# I/ d$ {  @! p0 j9 d/ A: ]
  356. ; threat in any way, but it makes it possible to determine whether you use PHP7 d+ s: v8 s4 W6 f2 e
  357. ; on your server or not.4 J* p& O) i+ h$ `, ?! k  }- Y
  358. ; http://php.net/expose-php' n, F1 h0 G! ], ]# n# b
  359. expose_php = On
    ( ?! P: [/ F/ N. o3 E7 }  g
  360. ' i" a* d2 R) J: X* F$ D. d
  361. ;;;;;;;;;;;;;;;;;;;3 U: H. p, V3 |! x8 L1 s! R' w
  362. ; Resource Limits ;# H" h" P3 g% p) v3 m: h/ g+ Q
  363. ;;;;;;;;;;;;;;;;;;;7 u1 A! w1 [! @, T

  364. ; M  @5 O# m# I- g% ?
  365. ; Maximum execution time of each script, in seconds
    0 U& x8 e! X  W+ t. R% \, a* ?
  366. ; http://php.net/max-execution-time: s6 f1 G& F, S7 c% C6 R5 G
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI7 ]% }  f# k5 U
  368. max_execution_time = 3008 @1 o: w) t% X

  369. ! |1 R: T9 d0 i( n
  370. ; Maximum amount of time each script may spend parsing request data. It's a good+ I3 x9 E: Y& e* b5 |
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    , T6 F% G- n1 G& J5 P; \3 l% P. k
  372. ; long running scripts.: \- V+ T7 C( ~/ |% J
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    1 \9 ]: U0 a( o; T/ t
  374. ; Default Value: -1 (Unlimited)
    3 e) U8 W: `: c7 t7 V6 [
  375. ; Development Value: 60 (60 seconds)
    - P4 u2 y- f( }3 j" t! x7 b6 [3 n" g
  376. ; Production Value: 60 (60 seconds)- l; M3 d- j% z7 M- c8 r
  377. ; http://php.net/max-input-time5 D/ D8 ?) k: L# z
  378. max_input_time = 60, G5 ?8 z3 n, `2 _: g  ~

  379. ; {, b; k1 i0 O* ^: I( N+ g
  380. ; Maximum input variable nesting level
    - d7 [6 @' `; I" p
  381. ; http://php.net/max-input-nesting-level9 `- N* |0 ^; a( d- f% l0 M
  382. ;max_input_nesting_level = 648 H! R6 C. b0 l) C! p( V6 k

  383. - Y3 z4 @) W, q* K* T
  384. ; How many GET/POST/COOKIE input variables may be accepted- [/ @# ^# f: _( E. o
  385. ; max_input_vars = 1000
    5 z9 l- @; ^& S6 R0 D  I

  386. : o. E8 E7 f1 B' W; x  W0 C
  387. ; Maximum amount of memory a script may consume (128MB)$ ?6 K6 F) B. ]; D
  388. ; http://php.net/memory-limit
    2 Z0 d0 H8 ~% s2 J2 b
  389. memory_limit = 128M5 _: n+ p5 ~) O2 Q6 O, y1 h
  390. / p: d( i: B7 p9 w
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ) q5 Y: a( Z1 p/ g4 u# F  T
  392. ; Error handling and logging ;# ?3 _: B- d2 }0 w( v1 c
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ' H4 I+ v$ f1 K, e# E: }5 m

  394. ; m+ g5 k1 ?7 S( D/ d
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    " o. H, P( C/ i' `
  396. ; it to take action for. The recommended way of setting values for this
    , l: l: U! ?- b+ b5 U
  397. ; directive is through the use of the error level constants and bitwise' s6 u* x' ]/ S) Y! i' m
  398. ; operators. The error level constants are below here for convenience as well as; `& H9 `" `, f- R
  399. ; some common settings and their meanings.' H6 s5 q& J" t3 x) U$ r1 ^" R# S
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ; m( v. l. B0 v) m
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and( }6 F- D0 P, ^9 I* b% L9 b
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    ) \+ h1 C9 `8 G$ q3 [9 {% G0 y
  403. ; recommend error reporting setting. Your production server shouldn't be wasting" [) p6 D& J. P; H8 X" M5 ?
  404. ; resources complaining about best practices and coding standards. That's what
    . d( P" m! s: ]! C- `1 F
  405. ; development servers and development settings are for.
    7 V# C: j' A: t0 u& A1 U# _1 L
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    8 M1 W% S# r: C' U7 S# I$ C/ X
  407. ; means it pretty much reports everything which is exactly what you want during
    ' w2 W$ v$ C+ `4 f5 `
  408. ; development and early testing.
    2 G1 p: j' T5 j8 q: i( i
  409. ;
    - W* K; ]6 k( H) I* w/ A" V8 Z6 z; c7 h5 A
  410. ; Error Level Constants:. R/ V  N7 h, f4 ^" `
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! ^9 G7 F: g7 m# i
  412. ; E_ERROR           - fatal run-time errors0 A1 x" H' M! ~
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors# U  t& I: G8 w
  414. ; E_WARNING         - run-time warnings (non-fatal errors)- W6 ~6 z' X9 l. _% X
  415. ; E_PARSE           - compile-time parse errors% w0 u4 q3 O% w" A
  416. ; E_NOTICE          - run-time notices (these are warnings which often result( S5 \2 w; T7 z( h' F
  417. ;                     from a bug in your code, but it's possible that it was6 z3 k1 k/ A6 t' ?$ O% S* g
  418. ;                     intentional (e.g., using an uninitialized variable and
    ! A! c! M- f1 }
  419. ;                     relying on the fact it is automatically initialized to an( f7 d  N" o6 ~6 q( D% p2 v
  420. ;                     empty string)" V3 Y# V# v) k% W
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
      V/ [/ c1 G' ]* P9 P& @
  422. ;                     to your code which will ensure the best interoperability; z' G- o; b6 e7 w+ m' Q
  423. ;                     and forward compatibility of your code) i5 s$ O& h, q' ]& z6 m& f
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup( O8 w. P8 V3 ?; n
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's8 ~, \2 \' |5 _
  426. ;                     initial startup
    . d( u$ F* C+ j  |3 C! d0 t
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    2 X) s: S  @/ D/ v3 F
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    / Q( t* a+ C5 c6 U4 U' \
  429. ; E_USER_ERROR      - user-generated error message) ]3 @! P# [5 j# H0 o  A0 \' r+ n
  430. ; E_USER_WARNING    - user-generated warning message
    # j! C4 y& K' o2 ~/ ?' F3 V  e
  431. ; E_USER_NOTICE     - user-generated notice message, v! z2 o6 ^  ~" z+ \
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    ' C! v1 G' ~6 |- Z
  433. ;                     of PHP
    4 ^! D0 M. @: V7 D1 K5 M
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    . z1 ^9 @; P8 k5 l( C3 Q
  435. ;
    2 B$ N) f) R% m/ a/ I, ~! V
  436. ; Common Values:
    ' X& G3 s* K. G1 \. L# }3 w) L
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    + T0 s# t0 K: y! ~7 W  k$ ?9 B  S
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices). G( N# J* j- `) o8 J
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    # J$ T7 F7 p1 t2 Y7 D/ d8 A6 ]8 I& O$ p/ w
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors); v/ J9 S! d' G' F
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # `, t6 Q- |. k, P* c) P: S& r
  442. ; Development Value: E_ALL
    1 W6 T" A3 ?) [2 A& T
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT" F% f3 |+ {' R
  444. ; http://php.net/error-reporting
      f1 z! Z& R! _6 i+ I2 v
  445. error_reporting = E_ALL & ~E_NOTICE. j4 P1 Q4 K1 `. r
  446. ( W! p: L( ?3 n
  447. ; This directive controls whether or not and where PHP will output errors,5 C* s, z/ ^) W3 c: A! R
  448. ; notices and warnings too. Error output is very useful during development, but- m( e; t0 x% m8 }
  449. ; it could be very dangerous in production environments. Depending on the code$ z( |1 ]& I/ `
  450. ; which is triggering the error, sensitive information could potentially leak
    2 z' ]; {( ?( x2 X1 ?. m& \
  451. ; out of your application such as database usernames and passwords or worse.- C5 |2 Z" X' b" T0 [1 }$ o3 o
  452. ; For production environments, we recommend logging errors rather than2 l2 D/ ^3 N0 g+ e% X9 ]6 T- ~
  453. ; sending them to STDOUT.: U# c+ a2 z) @$ m
  454. ; Possible Values:. D( w9 U6 _* F% f( q
  455. ;   Off = Do not display any errors% o2 H3 G. z9 i  }$ B0 z! s
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    7 v4 q2 u! `/ i, ?1 x; w1 e
  457. ;   On or stdout = Display errors to STDOUT: V- ]' j# V) [$ N0 g9 q# U8 k3 H; E
  458. ; Default Value: On5 ^9 i/ Y9 t& G3 O0 @
  459. ; Development Value: On
    ) P; D  Z. a0 U  t
  460. ; Production Value: Off' w/ d; O+ W" N$ `% G
  461. ; http://php.net/display-errors
    , T' i! S$ u/ c" f$ A9 U# J8 L
  462. display_errors = On  S" @& {9 K0 [+ g3 `/ j# H
  463. " g: Q" U9 p( u1 j4 b! A, L
  464. ; The display of errors which occur during PHP's startup sequence are handled2 _. O6 o! c6 H7 L( B+ X
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    , ]. l; z  v, v* x8 ]
  466. ; errors from clients. Turning the display of startup errors on can be useful in* b( P4 Q7 ?" W7 r) ?* g( a5 _
  467. ; debugging configuration problems. We strongly recommend you
    6 t2 G1 o0 S$ }0 Q2 V
  468. ; set this to 'off' for production servers.- a" v: S/ r9 v0 m$ m1 @6 A
  469. ; Default Value: Off. i; J% z8 G9 n. Q$ v5 \( n+ {
  470. ; Development Value: On! Q! k" r7 E8 A! M
  471. ; Production Value: Off
    7 B$ }2 Z. w2 v
  472. ; http://php.net/display-startup-errors& s( y! ~) H- _
  473. display_startup_errors = Off
    % s$ w6 r7 q6 `: z
  474. - B* V5 {: t3 w) ^; d( m
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    3 k+ G' i' m6 F3 m- ~* z
  476. ; server-specific log, STDERR, or a location specified by the error_log: U' M# J$ w3 w5 X' w  x6 a1 C
  477. ; directive found below. While errors should not be displayed on productions
    ' V# @: h5 I% I# |2 H, C
  478. ; servers they should still be monitored and logging is a great way to do that.
    + t$ Q4 }- @" K/ e9 G5 v0 \& ]
  479. ; Default Value: Off. d: n. p# u2 x/ ?, ~
  480. ; Development Value: On
    + ^% d5 s0 j: k7 C
  481. ; Production Value: On
    . A3 ?  X1 o' G! a, }! i
  482. ; http://php.net/log-errors6 R5 Q' l# K6 w# g4 t
  483. log_errors = On
    / T2 D# V& |! E. j
  484. 3 u2 h' Y+ ?5 ~% K' r* B
  485. ; Set maximum length of log_errors. In error_log information about the source is7 }% t& {, x& R( q9 c; c
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.) P( r/ s8 l$ m/ U1 L) c+ V, |
  487. ; http://php.net/log-errors-max-len! L" s7 N% i" q0 b' Q- M8 F0 O
  488. log_errors_max_len = 1024' n. T$ Z6 Y( \0 U
  489. 0 B: ]' g) N% t' U, a1 \! ^9 H
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    7 a: m6 ^+ C5 B& K
  491. ; line unless ignore_repeated_source is set true.
    3 s9 o% u0 F' J/ e5 r
  492. ; http://php.net/ignore-repeated-errors
    , e$ }! ]: M6 v; N; B- u
  493. ignore_repeated_errors = Off1 Q7 z1 d: H7 [& K8 a" W# X( c" V
  494. + F8 F2 F$ f9 Z( ^+ P' E$ g
  495. ; Ignore source of message when ignoring repeated messages. When this setting" B, T; V4 N3 k% s# S0 \
  496. ; is On you will not log errors with repeated messages from different files or8 f$ A* m8 W; ?
  497. ; source lines.) `) U5 o6 I+ U$ j- W
  498. ; http://php.net/ignore-repeated-source
    & C3 V( i# H. u% \$ F
  499. ignore_repeated_source = Off# d7 e- `8 g2 `
  500. 0 l/ ]1 R1 z- x( @' a
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on( N* ?* b0 ]9 A9 j6 A- s
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    6 Q& f) @4 o% E% \8 l; W$ w
  503. ; error reporting includes E_WARNING in the allowed list
    3 @2 I1 b! Z. R
  504. ; http://php.net/report-memleaks
    # `! J) a& c' p4 }: v2 k
  505. report_memleaks = On# N0 T+ a/ t5 Z9 w% j9 G4 P8 N4 p
  506. 6 s1 O* n2 F% ?8 {
  507. ; This setting is on by default.
    - s1 Q% j+ t: k' J0 N# |
  508. ;report_zend_debug = 0; S! F$ E' ~- H4 D/ P! Z" p4 d
  509. 0 ~) y6 M/ A$ D! \* ]
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ( _* e( t& O: R; K. d8 M3 {( H
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    9 ^. c0 Y! l2 W8 \
  512. ; however be disabled on production servers.0 l) L$ I5 g4 X# r
  513. ; Default Value: Off4 i3 J1 t6 Q8 p
  514. ; Development Value: On) {8 Q/ E3 }. k0 m) |0 Z
  515. ; Production Value: Off# s+ w# R1 w: a- P" [1 S
  516. ; http://php.net/track-errors1 d. l/ x( L, R1 K% g# C
  517. track_errors = Off
    ' @9 \3 ~  B3 M# q9 ]

  518.   F: @* H; ?8 B+ u7 d7 n
  519. ; Turn off normal error reporting and emit XML-RPC error XML  K. o1 I: f/ a7 j( T( `$ F" ?; M5 b
  520. ; http://php.net/xmlrpc-errors
    4 L7 v. g% U. R0 Y
  521. ;xmlrpc_errors = 0
    : ^) _3 `' Q8 _

  522. % j' a8 |% Q' ]
  523. ; An XML-RPC faultCode% r2 O+ k: G/ I6 t1 a/ m3 z
  524. ;xmlrpc_error_number = 0" S6 c8 w% U% Z0 i
  525. . Q" Q, q% H; ^9 e8 S$ h# m
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    : n, ^+ y" z* f- B9 b
  527. ; error message as HTML for easier reading. This directive controls whether' k& U" B/ k5 m
  528. ; the error message is formatted as HTML or not.+ m# }5 N& A" M: v. }! v
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    $ K' U8 H5 N' T3 B1 m
  530. ; Default Value: On
    5 J7 D. T% y: {/ T
  531. ; Development Value: On
    3 Z( j0 H9 q) g$ D  A
  532. ; Production value: On
    % Q6 l$ j- O" ^
  533. ; http://php.net/html-errors' a$ W' N( p8 N! Z( c
  534. html_errors = On; q5 P/ A! q! c. T
  535. 1 Z6 W# h* f1 @( W" b5 F$ }6 m
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    / t! a3 M1 h& g: z
  537. ; produces clickable error messages that direct to a page describing the error" w! F0 j7 }* s. D/ I" M- S
  538. ; or function causing the error in detail.
    6 M% k! j" Q  d: I0 K( p! W* ^
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    ; G$ H2 F# A; x1 V
  540. ; and change docref_root to the base URL of your local copy including the
    ! d8 H/ V5 ]7 G$ @1 ^$ \/ D1 D/ Y
  541. ; leading '/'. You must also specify the file extension being used including
    ( H8 R! G- P% q( Z# g/ f! ]2 P
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which. k# K: u& C5 d* z9 @% c+ g- r& {
  543. ; case no links to documentation are generated.
    6 r# |- P: ~- v* M2 B
  544. ; Note: Never use this feature for production boxes.
    0 D  b7 n( w( `2 t. P- Q0 K# [. p
  545. ; http://php.net/docref-root  V  X  w" ]5 T$ m$ I  V( Q( ~
  546. ; Examples
    9 ?1 H) @: e7 k5 F
  547. ;docref_root = "/phpmanual/"4 H; Z; A1 ^- p) x
  548. % }) Y( g) g1 v0 J8 N
  549. ; http://php.net/docref-ext
    $ I0 o2 ]+ i" y" ?# h
  550. ;docref_ext = .html
    7 b$ a" m( ]9 y2 K: t# z- J. _" c3 R
  551. 9 A4 S7 d. T2 f; m0 ]. g
  552. ; String to output before an error message. PHP's default behavior is to leave
    8 g  ]9 h% r4 ~$ B
  553. ; this setting blank.
    5 Z5 N+ a2 k/ r; ~8 H
  554. ; http://php.net/error-prepend-string; C  F' m% u! P$ k3 F) i
  555. ; Example:
    " F# G4 t* z3 S% d. N
  556. ;error_prepend_string = "<span style='color: #ff0000'>"9 K! d8 J% W7 U5 U. Q6 C" H5 J

  557. . \# F. ~; d5 m& j# R
  558. ; String to output after an error message. PHP's default behavior is to leave
    5 T" e8 F$ z! z' |
  559. ; this setting blank.
    , f, S% J" j) A  @
  560. ; http://php.net/error-append-string
    3 y. q% E, K7 V0 ?
  561. ; Example:
    5 _* ~/ n" Z5 C% N1 b+ a* k: ~: N
  562. ;error_append_string = "</span>"
    5 d- X' d2 J$ n6 d; x

  563. , J' Y9 @8 C- [
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ) I4 v' Y# w+ ?* \+ T/ R& A
  565. ; empty.  K2 k. S! m" @6 T* {1 H5 K
  566. ; http://php.net/error-log
    / i& }$ u% t  |7 i
  567. ; Example:6 w/ w# T. g+ l! l6 E. b
  568. ;error_log = php_errors.log
    ! F7 |! L: \% g, b- w
  569. ; Log errors to syslog (Event Log on Windows).. J. u7 `, ?$ |
  570. ;error_log = syslog
    1 s: d" \0 G1 }$ h) r' `
  571. $ j: X2 G4 m; Z. U8 H
  572. ;windows.show_crt_warning
    0 z$ F3 I% g( a6 w" \% q% ~0 @
  573. ; Default value: 0
    9 @  P/ F: B5 `( E" W
  574. ; Development value: 0. P5 M# f  D0 Z0 m/ _- B3 o
  575. ; Production value: 0
    : k- R$ W2 E+ R6 q
  576. & U2 m4 }/ r8 X+ c; N- N
  577. ;;;;;;;;;;;;;;;;;1 Q) q* f, r5 d( H! B$ W/ S* M
  578. ; Data Handling ;2 V( v5 c2 G3 Q' X
  579. ;;;;;;;;;;;;;;;;;
    & I1 m7 S) U: q  q

  580. & r5 C2 f# G* ]3 h1 p
  581. ; The separator used in PHP generated URLs to separate arguments.( ]5 R6 a2 w3 h0 ]  P3 S0 T! n
  582. ; PHP's default setting is "&".2 v! x" Z" Z' s/ U1 v& [* O; G
  583. ; http://php.net/arg-separator.output
    " k4 m  L; C- Q. A+ e# S
  584. ; Example:$ K. y. y6 d1 b" H9 z6 \3 _
  585. ;arg_separator.output = "&"
    ! i. q* v0 A# e0 m) \4 A9 q

  586. 3 ^0 L5 |. G- m7 E, `" L, b: [
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    , L0 g- v1 ?# a
  588. ; PHP's default setting is "&".
    6 K1 U' Z7 N! L$ \3 W+ y
  589. ; NOTE: Every character in this directive is considered as separator!- z" `6 m9 ~( r' \7 s6 }) y
  590. ; http://php.net/arg-separator.input1 ^! ~1 R0 _- Y: c! ~, C
  591. ; Example:
    + p1 m+ \6 a# ^- e7 V
  592. ;arg_separator.input = ";&"
    6 S: ]4 [- T1 I7 ]
  593. ' G5 j. h, P( c$ z8 j, n) N" l
  594. ; This directive determines which super global arrays are registered when PHP# C4 V- n& A% w0 ]  D9 p$ U7 P' r
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super$ x- u% X/ C! F% S* a( Q2 h
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty: o( E& Y8 s+ `
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    # k$ ?2 b! a0 f
  598. ; used as the others, ENV is not recommended on productions servers. You0 x7 X( j& j7 J
  599. ; can still get access to the environment variables through getenv() should you$ K* z3 J7 P9 V% d8 Z( T- x
  600. ; need to.
    , B+ |3 o7 _2 m3 a% z3 ~: W% N5 X
  601. ; Default Value: "EGPCS"
    ! U/ ?* y/ E3 M' E% b& \/ w; C! [
  602. ; Development Value: "GPCS"# B' s& B$ C) u3 |5 ^! i. d, Q4 m) {
  603. ; Production Value: "GPCS";( Q+ g1 h! k% K, T6 R7 l$ A
  604. ; http://php.net/variables-order, w" L+ k8 Z1 U! H
  605. variables_order = "GPCS"
    : y1 f  J5 Z, @  J5 _
  606. / }& `, ]8 K4 B: [6 `# X9 Y' v- ]
  607. ; This directive determines which super global data (G,P & C) should be
    3 E% b, ^% H& m/ _( ?
  608. ; registered into the super global array REQUEST. If so, it also determines+ p" W, X' A0 a! S) Z, X4 A
  609. ; the order in which that data is registered. The values for this directive1 b2 g! x) P9 h- @: \% e8 P$ Z4 Z
  610. ; are specified in the same manner as the variables_order directive,
    2 U0 H; w8 [8 V, N0 W
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    " k$ s. _6 N/ ^, Q  O
  612. ; in the variables_order directive. It does not mean it will leave the super
    ! x1 B1 S$ a0 m6 f
  613. ; globals array REQUEST empty.
    . R' P4 J+ V' K2 c; O
  614. ; Default Value: None5 @$ {1 S, ~9 R5 {
  615. ; Development Value: "GP"
    7 ~4 ^+ [( ]8 L
  616. ; Production Value: "GP"
    4 @( ]  k' U/ _* X* L2 f$ L
  617. ; http://php.net/request-order6 T& Z# t+ a1 c6 v( X! _
  618. request_order = "GP"$ t7 G6 N7 r0 Z7 Y% Z* y

  619. # d6 F$ I( k* B% w3 D. Q
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    2 u* ^8 p2 Z9 u5 }( D% `
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script$ P( J3 k- q# r: C2 T' B- o- b
  622. ; is invoked. $argc contains an integer representing the number of arguments1 n  ^  l! K0 z8 p% \
  623. ; that were passed when the script was invoked. These arrays are extremely
    % P* G- k# |9 y0 i1 g
  624. ; useful when running scripts from the command line. When this directive is0 V8 X  P) w3 Z
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    7 k0 F: `& y% ]
  626. ; a script is executed. For performance reasons, this feature should be disabled
    * h& w( ]; w- f, `. H& {- b' W6 l, P* X
  627. ; on production servers.
    , g/ h9 b7 L& p/ C( o8 ?
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    + O/ H2 N1 Z+ O7 |! s% U4 N# i! A
  629. ; Default Value: On
    7 M1 l' p" l- f8 f& k# m
  630. ; Development Value: Off
    6 a3 L7 M8 W1 z7 w0 x( e
  631. ; Production Value: Off
    8 {- E# k4 k( ?) L7 b
  632. ; http://php.net/register-argc-argv" J' ]1 P3 q) J, L. E; r
  633. register_argc_argv = Off6 H0 y, ?: E( t- g

  634. ' v. M! u' Q( ?1 [
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're9 D" ?) g/ w4 i" ], q, ^# H
  636. ; first used (Just In Time) instead of when the script starts. If these
    ' ?+ R0 {" S3 w# H9 V/ X6 y; d
  637. ; variables are not used within a script, having this directive on will result& A" X" `6 E& G9 N
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
      I9 i4 b  P# e8 i. _5 x/ a# X
  639. ; for this directive to have any affect.
    & k- U% I% B# U  l) m5 [! U
  640. ; http://php.net/auto-globals-jit4 {( g8 }& \( G# L* V1 R( ]
  641. auto_globals_jit = On# W/ f. q& ^9 Q" v3 B
  642. ; Q6 H5 Q0 e; _
  643. ; Whether PHP will read the POST data.& E- `3 i/ X& K6 H3 J
  644. ; This option is enabled by default.+ j% l7 p: v! @; X  f( x$ p
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
      [/ W# y" I8 ~! j! r" y
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    : q. ~& Z3 @: w" {, u8 R# ^' k6 p
  647. ; POST data will be through the php://input stream wrapper. This can be useful. Y9 M+ f, Q, }$ c) g, t! n
  648. ; to proxy requests or to process the POST data in a memory efficient fashion., o0 a' P( ~) u% E6 w
  649. ; http://php.net/enable-post-data-reading% h3 q. U) A/ i- Q$ ~1 v2 `
  650. ;enable_post_data_reading = Off
    ) A! q" L% u% o) g

  651. 6 L! }/ Q3 A  U
  652. ; Maximum size of POST data that PHP will accept.
    2 R2 Q% N4 Z+ }" I( J$ E5 {
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading( @5 Q( c9 d5 q. z
  654. ; is disabled through enable_post_data_reading.
    : R6 U3 G4 ]+ z: q! {) w/ F+ x
  655. ; http://php.net/post-max-size
    9 a% E5 u, `% P8 N) N
  656. post_max_size = 50M
    % i7 C8 b, O+ O. b3 L
  657. * L7 L& E& x  b+ a" S( g
  658. ; Automatically add files before PHP document.; y# B' i8 Z" P1 S# V: }+ I
  659. ; http://php.net/auto-prepend-file
    ) ~6 o9 |: B% p, c; i
  660. auto_prepend_file =* b4 z" n8 i! m6 C  v

  661. 5 Y% T; c0 E' a& w) P1 D  m- u8 n0 q
  662. ; Automatically add files after PHP document.7 w3 F4 c. a6 M' [! e9 L/ G# j
  663. ; http://php.net/auto-append-file3 R. W4 l; k8 i* O
  664. auto_append_file =$ F& U1 F% J, S: a: k8 L

  665. 5 i& \% w$ v0 A% j+ v4 j0 E
  666. ; By default, PHP will output a media type using the Content-Type header. To
    4 C# x2 V$ L/ {
  667. ; disable this, simply set it to be empty.
    6 x0 p" g) J. B& `: Q) l. @
  668. ;
    4 x) w+ j  ]3 c7 j
  669. ; PHP's built-in default media type is set to text/html.
    5 B" m) |4 _5 ]& j3 M) e" [) K! o% m
  670. ; http://php.net/default-mimetype0 j9 k* e( j. w0 B
  671. default_mimetype = "text/html"  T( o. R4 r, J' y
  672. & {5 \/ h# C# [9 c& J0 ^
  673. ; PHP's default character set is set to UTF-8.9 e) i2 T# N4 Y# ^2 W/ {- q/ y
  674. ; http://php.net/default-charset. N+ k! X* L0 H5 i
  675. default_charset = "UTF-8"
      M1 N6 }9 R# M  ]3 p: ~$ e* S: q

  676. ' i( q8 R, L# Q% K, Q
  677. ; PHP internal character encoding is set to empty.7 {1 D2 n5 \  c$ T- \% }5 T) N
  678. ; If empty, default_charset is used.
    ; N( O# t* u* S! T) G
  679. ; http://php.net/internal-encoding8 ^6 x: H1 I+ n7 P5 T0 W
  680. ;internal_encoding =2 L( B! X4 S3 E4 @9 Q

  681. 0 ^' V2 V5 y5 o
  682. ; PHP input character encoding is set to empty.
    , P0 [, I1 G  g  S; h0 y
  683. ; If empty, default_charset is used.3 m! }: K! c. R4 i
  684. ; http://php.net/input-encoding
    % B$ n3 X, _& \5 G$ `  h, s3 q
  685. ;input_encoding =' R0 x" d/ A& w$ ^5 k( M" C! x

  686. 2 |# U* H6 D: t; }. L8 T- N& ?
  687. ; PHP output character encoding is set to empty.
    7 Q' `0 y! ^! _0 K8 U" Z; d! C
  688. ; If empty, default_charset is used.- V# b# q6 F' u( ~" S  {* y
  689. ; See also output_buffer.
    + A% q# G/ S8 M1 t: Z# R9 G/ @
  690. ; http://php.net/output-encoding2 z, s9 ^6 R# @2 V& ?
  691. ;output_encoding =
    # X( F' J+ p: d

  692. % C  m& R3 N1 [
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;9 w9 `! R* w$ N6 V& h( c6 }
  694. ; Paths and Directories ;
    $ I3 \# o. G4 s
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;# P$ S2 {; u0 ^

  696. - \) f- b% s3 I' ^) A
  697. ; UNIX: "/path1:/path2"
    / k, n1 |' ~$ |* B
  698. ;include_path = ".:/php/includes"+ Q' j+ I; p- a+ f# A
  699. ;/ j+ D5 V) E1 g: a
  700. ; Windows: "\path1;\path2"# L- q1 v' x6 |4 O. n8 V" \
  701. ;include_path = ".;c:\php\includes", K! g% U6 K5 P
  702. ;! V# T+ z2 |# G9 e4 \4 a2 u- @) D
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"$ U/ o2 ?9 ?( L" e4 ?. V, J
  704. ; http://php.net/include-path9 O: C7 v, \; z3 C# ^; y' Y
  705. & x5 _- D% i  G) \3 N" f0 Y1 {
  706. ; The root of the PHP pages, used only if nonempty.' `- ^. `0 y( U( M) Z8 I+ R5 e) |5 B+ f" \
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root' m! ?2 V+ b$ D
  708. ; if you are running php as a CGI under any web server (other than IIS)# _0 P$ v" f& h
  709. ; see documentation for security issues.  The alternate is to use the) F  i5 @1 z; e; D4 d, M
  710. ; cgi.force_redirect configuration below- v! h; N1 s  t. s4 C$ o
  711. ; http://php.net/doc-root/ a- y; s* {0 L7 O% |( X0 F
  712. doc_root =
    3 R: W4 M7 p' i. V3 q) C
  713. % N) c* M; f) O! d5 t* a& L7 Y8 d0 M
  714. ; The directory under which PHP opens the script using /~username used only2 E  @, Y8 ~9 U/ {8 l+ C! X
  715. ; if nonempty.
    & t- g  q' |: l  M
  716. ; http://php.net/user-dir0 {7 o' I4 k$ h# J
  717. user_dir =' a6 G) a. m8 A2 S; e5 v

  718. - n# n9 ~( a0 A- I# ]0 d
  719. ; Directory in which the loadable extensions (modules) reside.  y2 P7 A. j, }6 N9 `, G, K4 v( i
  720. ; http://php.net/extension-dir
    * n5 b. `$ I2 M1 P& d! _
  721. ; extension_dir = "./"
    5 K7 u2 s2 [! {
  722. ; On windows:
    . ?0 i. k6 D5 @# E: I9 q
  723. ; extension_dir = "ext"/ Z& p& F0 K3 d8 f1 A9 X  I
  724.   n/ {. D3 `7 F, a. U) M# M% G
  725. ; Directory where the temporary files should be placed.: x2 I% `2 M4 q
  726. ; Defaults to the system default (see sys_get_temp_dir)
    " J' w1 I  w, i: E6 i& y( D
  727. ; sys_temp_dir = "/tmp"
    & D& \, Q# @. g" `: P

  728. . `8 G. I  ]2 q( p. q% V% k5 a
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    0 q7 z$ j: q# u4 c3 P2 a
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically' M( o9 t" W' S" n8 ^7 `* y
  731. ; disabled on them.7 \% l7 _3 Z' y% h7 y5 W; o( Q
  732. ; http://php.net/enable-dl
    3 e3 E& v8 v. H# v9 X
  733. enable_dl = Off
    0 X1 C) _! C: F* K/ G

  734. 8 K8 W& _% J/ Z$ Z
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    . d. J6 P; f9 @# p3 G1 |+ M! o4 f
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    : ^6 h, T: O9 r" ^  r  D+ _
  737. ; turn it off here AT YOUR OWN RISK9 Z; F& b8 T$ z! J3 Z
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**( p9 }: H% d4 [
  739. ; http://php.net/cgi.force-redirect+ a' ~0 k/ }5 |
  740. ;cgi.force_redirect = 1+ J" Y5 G2 ~' ~2 e/ }
  741. , c) q6 x# q* b5 e( |
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    * ^2 b: V/ O/ w8 R; g$ j) _2 k
  743. ; every request. PHP's default behavior is to disable this feature.
      |4 w  \! @! V& B  B" O' T
  744. ;cgi.nph = 1: n2 \2 k6 y9 s( v: @' V9 L
  745. 9 S' U, X& y( S! s( u$ }
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    4 V7 B' [+ [3 R5 e4 a! Z/ v' B
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    1 M$ R. I% U# x& Y3 B
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY# k9 |+ ~8 x& W) k& L: G0 u9 a  [
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    : \8 c5 q. X' a* {. B6 o. _" [
  750. ; http://php.net/cgi.redirect-status-env) Q3 j2 u6 y& C& T
  751. ;cgi.redirect_status_env =1 @6 F( B, v' h$ M/ B

  752. 4 T; y' e+ P3 q" o
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's& T# v4 |: q! e* m- N: j
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok9 M# l' A9 C) d0 N" b9 K  v2 R4 W
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting1 S, V$ D, B& S
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting; m5 D. M- O4 J4 H5 f- ~
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts# h, N- o8 {. x0 c& K0 Q
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    3 u! d" P( F8 g9 z/ b
  759. ; http://php.net/cgi.fix-pathinfo5 h+ B' W8 ]& P
  760. cgi.fix_pathinfo=1! S0 o8 G! h# D5 ~/ y& h( I
  761. 0 k+ Z# a4 \# ?
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside4 |" }8 t* v9 E
  763. ; of the web tree and people will not be able to circumvent .htaccess security.& h. U7 Y% \0 p
  764. ; http://php.net/cgi.dicard-path
    4 G$ a: V/ o; Z1 d3 z
  765. ;cgi.discard_path=1- N1 }& X8 [% R+ ^! O8 P

  766. 6 ^/ k, K0 Q. {- {! r0 F
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    9 F. `4 h$ f" c' z) n
  768. ; security tokens of the calling client.  This allows IIS to define the4 b- E* t4 O8 P: X- j
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    ( R5 J1 Z" p  z' p. ?1 x
  770. ; does not currently support this feature (03/17/2002)" G0 \% [4 z0 E# g' H) J, [
  771. ; Set to 1 if running under IIS.  Default is zero.
    8 b1 z) C/ p4 S; ], g/ j- S# d0 N- t
  772. ; http://php.net/fastcgi.impersonate
    2 m3 `$ x4 T! T. Q( A! x
  773. ;fastcgi.impersonate = 12 P. ]2 a( d3 [6 P7 s3 s* z! E* q8 l! l
  774. * D5 u) i) B2 f; w4 p. ^: y
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    * [! a+ a$ e- v; e/ i7 n' g
  776. ; this feature.* G. L; v5 S3 \, C
  777. ;fastcgi.logging = 0
    5 c' b. u/ n" x' N" W# z; N
  778. ( F2 p* Q0 A) E' i7 A/ H8 x! H& H
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to. [5 o# |2 k; W1 |$ j) ~
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    & S0 x7 x# e  M9 \1 D4 O
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    # O5 `8 c/ x, N! g% _. h
  782. ; RFC2616 compliant header./ E( D# J  j3 @
  783. ; Default is zero.# _% d) h4 [' S, t: d0 W
  784. ; http://php.net/cgi.rfc2616-headers+ ~5 L* ]; p0 d8 _5 |  o, w  [  z
  785. ;cgi.rfc2616_headers = 0
    9 S7 j) {) L) l' `* |  A$ b8 Y+ G3 \

  786. ; @4 F% n& f1 F- }9 V
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!) q+ V6 _- g* u- t% l9 f
  788. ; (shebang) at the top of the running script. This line might be needed if the
    , @- X9 D0 a0 M) ?( E& l4 z8 q4 `% O' t
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ( ?  c$ Z7 {9 b* M
  790. ; mode skips this line and ignores its content if this directive is turned on.
    2 W. d- Z+ P% i' Q  ~
  791. ; http://php.net/cgi.check-shebang-line
    2 n, M* ?2 r4 R, K; E& `; e8 p
  792. ;cgi.check_shebang_line=1% s7 ]: U( t1 C, N0 v* V( _, D
  793. 4 @  L" Z5 h7 K
  794. ;;;;;;;;;;;;;;;;# w$ ?/ ]# ^  x4 [9 C
  795. ; File Uploads ;! m! W6 i; d1 I. v0 O' N8 P+ j  g7 i
  796. ;;;;;;;;;;;;;;;;
    * f; o: ]6 N4 j" `5 f
  797. 4 s3 J% W# F. o2 k: P! _
  798. ; Whether to allow HTTP file uploads.
    & N0 G2 X  r& Y  D% x( @
  799. ; http://php.net/file-uploads
    ) i2 v5 A" k" M: `
  800. file_uploads = On. ^0 k, ?- m) |

  801. & I. j- a+ T# V" o( {
  802. ; Temporary directory for HTTP uploaded files (will use system default if not: ?1 W/ G9 C. y& \) s
  803. ; specified).7 e4 }- ^5 g3 [5 A4 S) G+ [/ z
  804. ; http://php.net/upload-tmp-dir2 j) J! L* ?$ q! f8 _* ^, u
  805. ;upload_tmp_dir =
    . w2 B. ?: v: \9 q; A( U5 I+ {
  806. 7 T2 t" e$ s0 @1 Z/ B
  807. ; Maximum allowed size for uploaded files.
    3 K1 ?& P" O# ?- X$ Z6 j
  808. ; http://php.net/upload-max-filesize
    2 ^% e2 u1 K: s2 V
  809. upload_max_filesize = 50M3 S+ f% H7 ]% S+ @2 j( S3 g2 R! A
  810. ; Y" f( l. n6 @3 g
  811. ; Maximum number of files that can be uploaded via a single request
    + c/ P3 _/ e2 Q( `2 G
  812. max_file_uploads = 20/ X! l+ }7 O$ b

  813. : D0 n8 f1 g( b& a4 }; s, n
  814. ;;;;;;;;;;;;;;;;;;
    6 H" \( p: @2 K8 `, O8 Y# S4 r
  815. ; Fopen wrappers ;4 k: ^$ ?- I/ O- G/ O  E
  816. ;;;;;;;;;;;;;;;;;;
    9 D. r3 l) y' }# Z- v- W( C

  817. 4 c6 [7 ~0 g5 {6 y
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    / y$ Z# `( G7 q9 Y9 W$ f% i
  819. ; http://php.net/allow-url-fopen
    " Y& N, T# ?$ F; \$ Z( }% p
  820. allow_url_fopen = On) p# J! e8 p4 |! i

  821. 9 S  h7 ~  c( r/ E1 Q( r
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.& L2 }1 U; P- A8 g2 g9 e
  823. ; http://php.net/allow-url-include6 I% f1 p  E4 S
  824. allow_url_include = Off
    2 ^# P/ _. E1 V! x* k* |

  825. $ S* b2 ~3 f+ R6 }& {& y
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    6 K. N5 t! H$ k2 u5 @$ ~2 [$ W* B
  827. ; for this is empty.% {6 t  }0 S1 v, j9 J7 B3 y$ `! D
  828. ; http://php.net/from! i7 U7 A& p$ Q
  829. ;from="john@doe.com"
    * ^5 c+ X' p6 Z* w; P7 H! j

  830. 5 w7 c" L" ^, }/ b7 J6 V
  831. ; Define the User-Agent string. PHP's default setting for this is empty.3 h7 O4 }; Y1 u1 N
  832. ; http://php.net/user-agent
    - R6 T/ D" `2 B( v7 v
  833. ;user_agent="PHP"
    : q4 m2 G! l6 P

  834. 0 o2 Y4 ^5 b) R3 O1 m! a
  835. ; Default timeout for socket based streams (seconds): K9 k. e* j; b, Q6 u, |+ ?
  836. ; http://php.net/default-socket-timeout) {8 A0 v5 S& |! I3 v1 ^
  837. default_socket_timeout = 60
    . {, ]( U+ P+ c5 B7 n; o# Q

  838. / r( ]% o& J, j! [+ X* D. r3 x
  839. ; If your scripts have to deal with files from Macintosh systems,/ r, B3 d: a: _6 F9 G& t
  840. ; or you are running on a Mac and need to deal with files from
    8 K& w! m: q. e) S% h0 F
  841. ; unix or win32 systems, setting this flag will cause PHP to
    ( s! ~; k+ D  T8 {! T- k( V
  842. ; automatically detect the EOL character in those files so that+ Q' x% V4 s8 k: c7 v
  843. ; fgets() and file() will work regardless of the source of the file.. m8 q, i' ~7 b
  844. ; http://php.net/auto-detect-line-endings+ [" N6 h- p! C0 Q- F1 w# }, ?
  845. ;auto_detect_line_endings = Off
    " a, N4 i; l3 _7 K$ I2 L

  846. 9 E3 O5 [- U; z5 Y$ M  l# j5 f
  847. ;;;;;;;;;;;;;;;;;;;;;;, o# Q& ~! U+ r; {
  848. ; Dynamic Extensions ;6 e  o. D% w. b4 I) E" `
  849. ;;;;;;;;;;;;;;;;;;;;;;5 u1 a" }% v& q  B0 e

  850. ; G# ~1 z4 K7 }. r/ ]. M8 j4 n3 I3 Q
  851. ; If you wish to have an extension loaded automatically, use the following! u2 f! b# E7 s1 v, e6 b$ y
  852. ; syntax:0 h/ V2 J- x' q* i, j0 f" Y
  853. ;
    ) J5 L% w* D' w! N8 y  R1 B2 d3 I
  854. ;   extension=modulename.extension6 F) h. O, e$ ?0 \! g+ i9 _" o5 T
  855. ;* M8 E+ u8 t9 k4 ~1 U: T
  856. ; For example, on Windows:3 w$ }) C7 X4 ~
  857. ;0 e& ]9 _& w1 B* H2 m
  858. ;   extension=msql.dll) u. D4 n) \5 U
  859. ;
    6 n. X2 o1 ^% p2 V2 M' Q& L$ {& w
  860. ; ... or under UNIX:! a( ?2 V- Z1 D0 h) H
  861. ;* o+ |$ d) t% Y, R& n
  862. ;   extension=msql.so
      }+ f$ W+ T" l) q
  863. ;
    2 I9 p6 d" J$ F* j0 C
  864. ; ... or with a path:
    : l: c# Y; \& a
  865. ;5 I6 P6 ~2 v1 l& l
  866. ;   extension=/path/to/extension/msql.so  ?3 Q! l8 R- z2 ^$ k( J! s" H" H
  867. ;
    6 D0 ?4 }) {% U" R, z& `
  868. ; If you only provide the name of the extension, PHP will look for it in its
    # b, H" C; y& Y! }: V, g
  869. ; default extension directory.5 s; V. u' }& q- B0 U2 [
  870. ;0 b+ t" d; U- ^, ^+ J2 |* R4 Q# d
  871. ; Windows Extensions
    ) H  H% A( P- H
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    8 R/ \; T) D% Z" N% A# |+ f
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    / K7 n4 l( O+ ~) w3 D1 K" G0 Y' z
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    0 T: `2 q" y4 ^6 @9 g: [2 G8 W$ U" Y
  875. ; Be sure to appropriately set the extension_dir directive.
    1 ~8 C! f) {' }7 v2 B
  876. ;0 `7 Q0 Q! q8 ?2 `$ }, N
  877. ;extension=php_bz2.dll0 ^  E( r4 D2 h
  878. ;extension=php_curl.dll
    . p! [' u1 \# I0 v( M9 u
  879. ;extension=php_fileinfo.dll
    ( G0 r  v# v8 J- {
  880. ;extension=php_ftp.dll7 x! |. P  P0 X5 j" x
  881. ;extension=php_gd2.dll6 c4 r) v( r; U
  882. ;extension=php_gettext.dll% d" U9 `; F, h% C- E
  883. ;extension=php_gmp.dll0 ~0 p- p3 {  G" w6 t; y
  884. ;extension=php_intl.dll: W5 Q5 u, h+ W4 K! S, k& C
  885. ;extension=php_imap.dll% M9 L- R$ t3 ]0 U: a  L: Y+ l# n3 Z
  886. ;extension=php_interbase.dll; T1 o7 D3 e/ a" ^
  887. ;extension=php_ldap.dll& N7 v5 W) f' c$ Q( R
  888. ;extension=php_mbstring.dll/ q$ ?  I3 U7 Q. I, U
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it7 u0 N! s2 X; M2 G! Z
  890. ;extension=php_mysqli.dll% L9 N% N/ s; l9 a& W' H
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client  }% f! D7 ~4 r
  892. ;extension=php_openssl.dll
    2 I  ~# h9 l) G- [: A  J
  893. ;extension=php_pdo_firebird.dll$ e: m) E. j2 q# ]
  894. ;extension=php_pdo_mysql.dll
    ; V9 A" ~$ L  y  Q& D
  895. ;extension=php_pdo_oci.dll
    - z- S$ ~2 P# f6 y
  896. ;extension=php_pdo_odbc.dll
    6 ?' F# v, @; a9 u% u7 R
  897. ;extension=php_pdo_pgsql.dll9 Q0 s) h* {0 A) q3 w
  898. ;extension=php_pdo_sqlite.dll# T0 N) K( G( v4 T+ z
  899. ;extension=php_pgsql.dll
    8 w, H& g: d+ L
  900. ;extension=php_shmop.dll
    2 z3 a& h  r2 Q9 z' V4 _7 C
  901. # k5 U' Y: Y& L. S
  902. ; The MIBS data available in the PHP distribution must be installed.( x+ t2 a( }2 {4 d- C3 I6 ^' S
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    / g5 [9 K; F1 a
  904. ;extension=php_snmp.dll: n6 I# ?/ y3 g0 ]

  905. + L/ U" ~3 Z2 z
  906. ;extension=php_soap.dll
    # K6 g3 U# X( o# s6 h
  907. ;extension=php_sockets.dll. h& C" v6 K  `9 p
  908. ;extension=php_sqlite3.dll
    ( Y" H' T5 |8 R3 I4 |0 F
  909. ;extension=php_tidy.dll/ l% a2 _' f' M; F* A# e1 Y
  910. ;extension=php_xmlrpc.dll0 V9 H! p6 a6 M2 W) Y+ Q* f
  911. ;extension=php_xsl.dll
    + f1 ?( b! x; f. }& V6 @

  912. / H: K3 w. m% ^) C; c% ], T3 q
  913. ;;;;;;;;;;;;;;;;;;;
    ' o/ _1 m- \. X: k; \
  914. ; Module Settings ;
    5 _+ m$ g* ?1 K2 T6 w
  915. ;;;;;;;;;;;;;;;;;;;* G6 [$ e% U; Y" b- y
  916.   _: }; W* @" o
  917. [CLI Server]& H% o, F) }1 _& s3 L9 P
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    + \( }$ o# h: y  E) z
  919. cli_server.color = On
    / f" ?2 t7 [, i9 ?0 Z
  920. 3 u+ N7 r4 n/ h# h7 w
  921. [Date]) }( r; j: h- R
  922. ; Defines the default timezone used by the date functions
    # G% ~: J: k, h- j+ O/ u2 {1 W5 v
  923. ; http://php.net/date.timezone* f( m. M/ o5 Q
  924. date.timezone = PRC
    & W! U4 B9 T7 P4 u

  925. 5 n, I2 }, G6 Y/ f( B
  926. ; http://php.net/date.default-latitude
    1 y6 H* T: l; _& P- s2 f! K: g
  927. ;date.default_latitude = 31.7667! `1 \4 h' F7 U0 U$ E
  928. 1 O4 I7 R" M" Q6 F: i2 M- z
  929. ; http://php.net/date.default-longitude
    . p9 t% s; I; H
  930. ;date.default_longitude = 35.2333
    " W' X/ j, ^  K1 I# ~8 \

  931.   Z( O9 y  d" z1 N
  932. ; http://php.net/date.sunrise-zenith- S. e* W% C! p  ]
  933. ;date.sunrise_zenith = 90.583333
    , u  [, ]4 V" q/ t- t& e4 N

  934. " D, J/ C# l! L9 V) {# A! h: }
  935. ; http://php.net/date.sunset-zenith& `* P4 s1 l9 @0 G
  936. ;date.sunset_zenith = 90.583333& U' y# }' P5 O# @" O2 i' w
  937. 1 e# f: m2 {6 b4 D- _' ]2 h1 b
  938. [filter]* g1 y0 Z' N$ ?! X
  939. ; http://php.net/filter.default1 ]) s& p3 C* K3 M$ K
  940. ;filter.default = unsafe_raw
    ) E  L  [6 j8 v1 k0 Y& l7 X) J9 ^

  941. 1 y  Z; O. O5 {
  942. ; http://php.net/filter.default-flags
    % O# K3 b% }  B; \
  943. ;filter.default_flags =
    / i5 y$ M8 t6 C0 E

  944. 0 W( I9 p, ]+ j8 ^; ?! j/ Q
  945. [iconv]
    7 d) {; ~' ^5 Q& t
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.2 w5 c, R# |% f- C8 l/ X
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    # Y5 s' |& R/ K) ?# l. V( B' L
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding9 \" i* {: T% }; n
  949. ;iconv.input_encoding =% S# x; G: u$ R) o7 @$ S  L* P; d
  950. - O# s2 P% ^1 d, z: ^4 C- N
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    5 D& `/ n" @6 j0 C; A" e8 J9 e0 ]8 {
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.# J# E5 f; J) y" _( K1 }: n( h
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ( A5 P8 J- `8 g6 U9 V/ G) X/ d
  954. ;iconv.internal_encoding =8 o( h- F6 P7 `- `5 E
  955. % P8 E) }$ m4 ^, D* F2 l1 G  i* A  d
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 W# R2 B8 y! p+ e3 ]
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.  @+ p/ x: d( N) s: ]* q8 y% |- b
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding5 ^4 F" ?9 r1 {3 r
  959. ; To use an output encoding conversion, iconv's output handler must be set
    3 u3 k; `2 h) c! q6 x+ R) Y8 }
  960. ; otherwise output encoding conversion cannot be performed.9 `/ C0 r/ s, Q9 b
  961. ;iconv.output_encoding =
    1 q9 }4 F& M% E8 s. d* A( T" R8 o

  962. 5 b( Z  C9 s$ n- L7 {' w8 l
  963. [intl]
    / f0 V$ ]( g2 K. m- l
  964. ;intl.default_locale =
    : B# A4 D( t* K3 r
  965. ; This directive allows you to produce PHP errors when some error7 C8 f" t+ q  @# q" m
  966. ; happens within intl functions. The value is the level of the error produced.4 S" O8 w8 S/ U
  967. ; Default is 0, which does not produce any errors.
      c6 M7 ]  c0 y2 u5 G: n
  968. ;intl.error_level = E_WARNING, m" ~! E5 t( W; M6 J$ s
  969. ;intl.use_exceptions = 07 q6 z5 Q4 o# _/ D$ U' t
  970. : S1 \8 C; T: R, w
  971. [sqlite3]
    ( s+ r3 d5 s9 u& a6 i) |. p
  972. ;sqlite3.extension_dir =
    : E& U7 Q# t: W8 d' N

  973. - y- p* B( Z6 _; E
  974. [Pcre]( C" b' J5 x3 e. z3 l+ D: _  e
  975. ;PCRE library backtracking limit.
    9 T( S6 j! P  v9 v
  976. ; http://php.net/pcre.backtrack-limit
    ' \6 Q0 D1 h! w, u
  977. ;pcre.backtrack_limit=100000; x; O4 i- k4 m! V  u8 n9 V
  978. 4 k: v7 x8 i2 y/ r" @3 e
  979. ;PCRE library recursion limit.
    , \2 y# z3 N" L3 t& C
  980. ;Please note that if you set this value to a high number you may consume all: @& }3 o) p: d! E% l
  981. ;the available process stack and eventually crash PHP (due to reaching the6 x) r+ X% W( t' p
  982. ;stack size limit imposed by the Operating System).
    8 E+ r* m+ Y$ i# h/ z  U
  983. ; http://php.net/pcre.recursion-limit
    * Y" h; v9 s* M( p2 V4 v
  984. ;pcre.recursion_limit=100000
    , ~: {$ m" D8 ~2 ^. u

  985. & l4 [4 M3 A& e: f
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    6 W6 }/ v, q1 s! M' v
  987. ;library to be compiled with JIT support.
    + F2 ^( i8 s1 B) V6 I
  988. ;pcre.jit=1. N+ d4 i2 o  y; @
  989. $ t; L. y# o( D1 `  b8 `
  990. [Pdo]/ y, q3 A. \1 E
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"" S/ R. n& R3 X6 z- J" c% t, t
  992. ; http://php.net/pdo-odbc.connection-pooling3 I3 y$ l! V- k; }
  993. ;pdo_odbc.connection_pooling=strict" \* y9 I% r9 w, d; [

  994. + g" v6 H+ ]7 k9 r; @) f9 E
  995. ;pdo_odbc.db2_instance_name1 y) H, l' I' F. m) g9 N' j$ P

  996. 1 d' g# n( n3 o
  997. [Pdo_mysql]' J$ N# _9 C  J  k0 _2 A
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache4 A! l" |7 ]) U* O1 F9 @' y9 g
  999. ; http://php.net/pdo_mysql.cache_size
    8 O' o+ S  j9 @2 C  d' I
  1000. pdo_mysql.cache_size = 2000
    ! c; k- e% ~9 j' i2 G: u5 L5 k( H9 d
  1001. 2 G  }- ?# l( v' c
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    1 l* C* \- o" i+ g3 w" X
  1003. ; MySQL defaults.
    6 C" K  W. }0 V( F+ ?
  1004. ; http://php.net/pdo_mysql.default-socket  t% @7 L; v2 @5 X* x  @( X; o2 v
  1005. pdo_mysql.default_socket=  A* e5 t  \( N2 m- O; \5 ?

  1006. ! ?  a$ g5 y5 }$ n. |$ E" S" P. e* |
  1007. [Phar]
    ! G7 O. b* v$ }# [- s( z5 |& i
  1008. ; http://php.net/phar.readonly& a: _9 z: |' Y8 q
  1009. ;phar.readonly = On4 N/ f# j! T9 i$ a. U* c7 O8 [
  1010. / C' Z" s4 S2 H8 z; W# u2 I
  1011. ; http://php.net/phar.require-hash1 L, m' I" U$ w7 {9 e
  1012. ;phar.require_hash = On
    7 Z# ^3 S" E5 N1 T9 r

  1013. $ K: X1 Q  N/ s* A) H
  1014. ;phar.cache_list =
    6 h& V$ `& N- k  K# M  j
  1015. " }% ^9 R+ v) n- G6 L3 k
  1016. [mail function]
    * W6 C* @2 M1 @  F) s1 t2 P' ]
  1017. ; For Win32 only.
    2 O9 }1 I2 p4 G# d
  1018. ; http://php.net/smtp
    5 X4 e2 g0 j' F0 a4 {
  1019. SMTP = localhost
    ! _+ Q9 _  v& Z0 }2 l, d$ C
  1020. ; http://php.net/smtp-port6 k# D. R" ^% \
  1021. smtp_port = 251 Q& R8 ?' b$ y) l: [

  1022. % L" H* y* g. l- l4 g
  1023. ; For Win32 only./ y2 U6 A; P3 y0 E, X/ L
  1024. ; http://php.net/sendmail-from
    - N6 V& p+ Z8 b6 o6 o0 Z) b
  1025. ;sendmail_from = me@example.com
    ' f2 P. s* A+ l5 j" H& p
  1026. 8 O, s: Q/ s+ k. {
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    7 D% g; v. O; {1 F7 f2 g
  1028. ; http://php.net/sendmail-path* V: o% Y7 @: Z0 ?6 [; z% {
  1029. sendmail_path = /usr/sbin/sendmail -t -i
      H. H6 r( {) K; v- _# Y8 e
  1030. ; b& P# b# `  G3 G4 m
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    . e: B' C# T2 D
  1032. ; to the sendmail binary. These parameters will always replace the value of+ t; z# a: n1 s& r: B8 u
  1033. ; the 5th parameter to mail().
    6 P$ q* h1 g7 H/ Z
  1034. ;mail.force_extra_parameters =0 O  L4 _2 C# B/ M7 e; B! x7 w

  1035. & Q9 D( s/ I* B
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
      Z  ^: W9 V8 w1 ?- B1 n: H
  1037. mail.add_x_header = On
    # Z2 H0 N0 i# q- e
  1038. 8 L# `% r: {+ K$ Z7 i! A8 F
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ! j6 `) f4 ~# b
  1040. ; the full path of the script, line number, To address and headers.! G. Z3 E2 q- R+ h
  1041. ;mail.log =
    : d2 \" @3 [$ r2 S6 r8 c  f
  1042. ; Log mail to syslog (Event Log on Windows).0 ^4 S$ l  @$ f& ^' }0 `- v" t
  1043. ;mail.log = syslog
    * S$ G. p7 ?* C" m
  1044. 8 @9 k2 J) H% Y  a! Z( d: ]
  1045. [SQL]
    # X) Z" X6 R& r- E$ b
  1046. ; http://php.net/sql.safe-mode/ {$ h- @# o: g7 ?# }5 Z! E7 L
  1047. sql.safe_mode = Off- z2 G; R; e2 C2 ~
  1048. 4 y/ n: c$ k# r% y) B
  1049. [ODBC]
    6 |4 ^- [: i4 a# _* D
  1050. ; http://php.net/odbc.default-db
    0 K  z& |  K: X: Z; d: a- c* v$ i
  1051. ;odbc.default_db    =  Not yet implemented
    : k, [9 X1 G; q7 u8 \
  1052. 3 E  @* U, U) [. z6 y; s
  1053. ; http://php.net/odbc.default-user
    1 ~9 i5 ]& m) a' R3 M
  1054. ;odbc.default_user  =  Not yet implemented
    & y  M6 C$ m. ~: ^7 c
  1055. ! ?3 }+ m& d( v1 u. [7 y- h& ]
  1056. ; http://php.net/odbc.default-pw
    0 ]( d6 L: {1 n( w! Y6 Y  l' T: {" T
  1057. ;odbc.default_pw    =  Not yet implemented
    8 `9 y4 [7 _6 W
  1058. 3 ^( a" s8 U" v- q* L( w
  1059. ; Controls the ODBC cursor model.
    6 u: N( Z. A' B( m3 U0 r5 h5 f
  1060. ; Default: SQL_CURSOR_STATIC (default).
    . W* L& E  B5 c
  1061. ;odbc.default_cursortype
    ! \9 L! y* ]4 G  x  k
  1062. 6 f/ X. K7 i, ]( _; K$ u
  1063. ; Allow or prevent persistent links.: d' T7 x' y0 U. Q+ K" ?3 y
  1064. ; http://php.net/odbc.allow-persistent
    % ?, f9 k0 r4 E) O  N# G3 A( B% @
  1065. odbc.allow_persistent = On. D5 }, M& \/ I9 p. z. S4 [

  1066. & R$ J  n( E% W, Z
  1067. ; Check that a connection is still valid before reuse.9 S: S, L. l9 j( Z1 P
  1068. ; http://php.net/odbc.check-persistent
    , w8 V1 X" j" U0 X3 L/ h
  1069. odbc.check_persistent = On$ }( s  n. V. l/ ^
  1070. * g, w4 [; Z1 O- E
  1071. ; Maximum number of persistent links.  -1 means no limit.! [  u6 T; {) i# X( U
  1072. ; http://php.net/odbc.max-persistent
    4 H7 G1 o+ D/ F. ]: K; T/ b
  1073. odbc.max_persistent = -1
    3 ]+ N9 M9 N- N/ P7 K1 W6 v

  1074. 1 h3 B& d7 i$ P. Y2 p
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; }; J7 E4 x" {
  1076. ; http://php.net/odbc.max-links
    9 _0 V. f7 e: f" q
  1077. odbc.max_links = -1
    9 U* f. c7 c  ]

  1078. 4 _' ]% Z% r) i
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means6 [6 D& ~: W$ r
  1080. ; passthru.
    / N% D& y/ c" p4 {# w
  1081. ; http://php.net/odbc.defaultlrl
    ! J6 Q, U2 ~3 n9 @
  1082. odbc.defaultlrl = 4096
    # m2 L, O$ ^) G6 z3 l/ l% z
  1083. 4 C$ L; n& J& M
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    9 t) }# p7 _0 {4 \
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ( z% d0 P5 Q* S  I( O9 E: \
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    2 j8 K  p; R# J; z/ V: c  P
  1087. ; http://php.net/odbc.defaultbinmode
    : B& s: J4 @3 n$ H4 f, k
  1088. odbc.defaultbinmode = 1
    * X& Y# ~/ g: X$ [) O2 T' X
  1089. ! u' o! F; E) S9 T) z+ H& y% j# W1 d
  1090. ;birdstep.max_links = -1
    ! q. F" ~5 P' y* _- h( I

  1091. # T" {% G6 B" s2 m2 J  w: K+ t
  1092. [Interbase]
    + Q& N8 z" f& l! ^; K: k( T
  1093. ; Allow or prevent persistent links.
    . B" I9 l/ V- F' D' E8 [6 D
  1094. ibase.allow_persistent = 1
    ! u5 T8 h4 c, }
  1095. 6 d* x! H6 {+ V8 b& L: l
  1096. ; Maximum number of persistent links.  -1 means no limit.
    : L3 R% I3 Q, V( q- }
  1097. ibase.max_persistent = -1
    9 g6 k+ X" m2 y) Z" p4 j
  1098. : [' Q( W! G& p3 M) F9 ]2 |
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 y# O% Q( w" f* C' ~/ N4 N6 E
  1100. ibase.max_links = -1
    . b- c6 v* o8 l* Q3 ~1 W0 \' ^+ ]
  1101. 2 G8 s6 \7 T  J* J
  1102. ; Default database name for ibase_connect().+ s. i+ ?! Z. z  l. B4 e
  1103. ;ibase.default_db =0 f  \: S) l% M1 C
  1104. 3 x/ E) W3 n; n' l; o9 @
  1105. ; Default username for ibase_connect().* T0 a2 F* m/ o3 \
  1106. ;ibase.default_user =
    6 @1 `0 d1 o+ m( M( G% P% I
  1107. / Y% g: X# l/ ^  X
  1108. ; Default password for ibase_connect().
    9 B# p0 _$ D; N
  1109. ;ibase.default_password =
    % S  u* r9 L9 }% o

  1110. # }' U5 ]5 h# c5 t9 J" {' [
  1111. ; Default charset for ibase_connect().
    0 d9 Q& G2 I# O9 _; M
  1112. ;ibase.default_charset =
    % d  C, g- T8 n
  1113. % J. b$ e' Q0 L! G0 e0 X
  1114. ; Default timestamp format.
    ! Y) J, I# Y4 M2 `8 `3 t  S4 V8 {
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"2 C  y& z- d0 x1 \
  1116. ' m: M0 D4 k% |. a3 {' y
  1117. ; Default date format.
    8 u, h$ Q  s) P* k# E% T0 w
  1118. ibase.dateformat = "%Y-%m-%d"
    ! j7 Z9 C- {% W

  1119. 2 e4 z, t% n* B. m; }
  1120. ; Default time format./ C! h0 I) n& ~: [* ~
  1121. ibase.timeformat = "%H:%M:%S"
    ' u7 P& F% _: F& q/ x7 L- K
  1122. / f* I+ V/ Y% T  t. T
  1123. [MySQLi]7 _$ C. @$ G. ]( A0 Z

  1124. ) D! P) Y) j2 i% ~, t) B' g
  1125. ; Maximum number of persistent links.  -1 means no limit.5 W3 u# K* p) f3 E4 U* T' K
  1126. ; http://php.net/mysqli.max-persistent
    ( _5 d& c" u( B1 p+ \  n7 a
  1127. mysqli.max_persistent = -1& \' @2 r% ~- H9 o) F' V
  1128. ) X, m  B, X$ x" B
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements& [4 N) }* l! v3 k6 g" o  L8 y
  1130. ; http://php.net/mysqli.allow_local_infile
    3 u# V" f8 K& `2 Y) t( i
  1131. ;mysqli.allow_local_infile = On
    8 n; H, a! U5 m5 E4 X7 R# o
  1132. * C4 G: A* r* s( D1 f% r
  1133. ; Allow or prevent persistent links.
    ! k4 P0 v/ K# u; @* s6 J# j' b
  1134. ; http://php.net/mysqli.allow-persistent
    % S5 e# m6 c# L3 Q& Q
  1135. mysqli.allow_persistent = On1 [, i" }  a! t# A- `' M
  1136. 8 b( G8 \: z, ]  |% e9 h  k. S/ j
  1137. ; Maximum number of links.  -1 means no limit.4 f- @3 \/ R, X2 ]* w$ g3 X, P
  1138. ; http://php.net/mysqli.max-links
    " ~- X3 y! q9 ?) w
  1139. mysqli.max_links = -1
    $ H% r4 e% d  D1 C. W' s
  1140. - x8 p: b, \2 v' z
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " Q( [& a+ S' O. \* }1 `
  1142. ; http://php.net/mysqli.cache_size
    " T- {1 I( [. w( T: e
  1143. mysqli.cache_size = 20004 V  N: i% D3 e

  1144. 2 w4 }: `2 z: u6 K
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    & t0 D2 f! L% M* B
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ E# k$ |2 `. R" }6 a! W
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    * L7 Z9 U! g( x2 K
  1148. ; at MYSQL_PORT.
    9 c% ^$ V8 @7 l" @
  1149. ; http://php.net/mysqli.default-port% l$ V* N' B& ?3 {3 O$ r; T) Q. W
  1150. mysqli.default_port = 3306
    & f9 C2 x- [7 @. x' ^
  1151. 3 G4 u5 q3 T1 }; w
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ' q" W# m2 b: h! @
  1153. ; MySQL defaults.
    * t$ \* N" }: `9 e$ H0 {$ c
  1154. ; http://php.net/mysqli.default-socket
    0 y% @2 M8 s3 A! C/ {9 X- U
  1155. mysqli.default_socket =
    & P" {9 S; `4 F. G$ X

  1156. % h/ `3 x" v# x3 `
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).% d+ ]8 W" c4 E4 x
  1158. ; http://php.net/mysqli.default-host
    4 k- x2 I' X  i
  1159. mysqli.default_host =4 i3 y7 U. T+ t. l! \& R# J
  1160. 6 V3 f- v1 e" c* r
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).5 a1 N1 H4 W1 F1 V, x
  1162. ; http://php.net/mysqli.default-user! {! P8 ]3 S4 Y, `) W
  1163. mysqli.default_user =5 E/ ]; t% D* t0 Z: O9 O6 R6 \% c

  1164. + W1 s, r# k( y. l/ }6 E4 W
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).. [0 T- `6 A! `9 ?" V
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ; n  E- A+ _: b" N# O2 F4 i
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")4 X6 s: I7 M5 P# Q# R3 [6 O# I
  1168. ; and reveal this password!  And of course, any users with read access to this
    ; b6 `1 J, A. }/ E/ L- `/ J
  1169. ; file will be able to reveal the password as well.% I( }: o. N2 |5 f6 y, I
  1170. ; http://php.net/mysqli.default-pw5 `: Z6 x+ `) G) r; V  y7 s
  1171. mysqli.default_pw =
    ; A3 f# h5 [9 x' p' ^& y7 y
  1172. % `' }) `5 E# z' ]3 }
  1173. ; Allow or prevent reconnect
    & X7 n  M& n( b1 C# A' ^
  1174. mysqli.reconnect = Off# \" t& _2 a) x) l9 y  G

  1175. , W) u+ t4 J, J4 p7 z2 A
  1176. [mysqlnd]
    " T- q) y+ J9 _& K. o8 c
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be& O! I: S- v  H0 Z" S+ J
  1178. ; used to tune and monitor MySQL operations./ U/ k4 D! V, X
  1179. ; http://php.net/mysqlnd.collect_statistics+ a1 O, K) x. C; s9 f
  1180. mysqlnd.collect_statistics = On4 y- K+ |: w$ Q" {8 A) D

  1181. ( Q+ W1 j0 ?$ p! m
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be5 E2 S3 R( x( ?; a+ Z
  1183. ; used to tune and monitor MySQL operations.& p: Y6 @# Q: M( A  z9 H
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    9 @0 y8 k9 ~; F1 n
  1185. mysqlnd.collect_memory_statistics = Off% Q& x1 J9 s" u+ |

  1186. 2 N5 c3 O' b3 {# F- ^& I
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    & s( J4 T) x4 ~0 Z: j% g
  1188. ; file., c; O# X. Y" e' b  x4 Y
  1189. ; http://php.net/mysqlnd.debug
    0 L8 t" ?4 ^, U2 S1 Q
  1190. ;mysqlnd.debug =5 ]/ [+ z7 S$ Q2 S6 F, k# X
  1191.   v8 b4 F! ]- r8 u4 t8 f" m5 H( J* F
  1192. ; Defines which queries will be logged.* M+ U( w" E4 M  |, |
  1193. ; http://php.net/mysqlnd.log_mask# S- F. J) i, C0 _
  1194. ;mysqlnd.log_mask = 0
    ' _1 v* Q" L! w
  1195.   P& A) A# ]6 K0 f& Z7 W0 J
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.  n- }! l: l. C, @$ P& S
  1197. ; http://php.net/mysqlnd.mempool_default_size
    0 M) X) ~, T9 h) R! q" c
  1198. ;mysqlnd.mempool_default_size = 16000
    0 a( W; [: v( S! n
  1199. ) L- G) i# |# q+ t" R8 l- x5 K
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    2 C: R. a+ n' j0 n# k1 O
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ; X# _. I" l4 X. M) i$ R, C
  1202. ;mysqlnd.net_cmd_buffer_size = 2048! l" T9 H" }  q
  1203. * j( K9 J. `6 f1 c9 s7 N4 m  B
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    - ?' H' G7 [9 Z% U& h# z
  1205. ; bytes.; K- j5 s+ |' `# Y1 s
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    7 P3 J0 ?9 d. v7 ?
  1207. ;mysqlnd.net_read_buffer_size = 32768
    1 B( J- r2 W( t& a' T5 [* H- c
  1208. : ^, ~; f; @1 c6 e: ?; O
  1209. ; Timeout for network requests in seconds.
    # g9 H2 ~- w1 m& E
  1210. ; http://php.net/mysqlnd.net_read_timeout
    * a3 v. W3 G( S# c  b1 i$ b
  1211. ;mysqlnd.net_read_timeout = 31536000
    " C, X. J& Q9 K8 ?
  1212. ' l; ]/ X2 [& @! D
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
      T/ c  G$ n( j1 t/ a& P
  1214. ; key.
    " W7 ?1 J' J0 u" m  t0 {/ Q5 H
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    6 Q/ r4 Q. F5 Q  w- \
  1216. ;mysqlnd.sha256_server_public_key =
    + {# i( f+ ^! O  T6 }7 O$ f

  1217. ! Y+ [  `* _4 \) q% m* w* j9 u
  1218. [OCI8]
    ' t/ |. l  y( g4 a- z5 M$ A; f# K

  1219. ; b1 z; Z. O$ T. Y
  1220. ; Connection: Enables privileged connections using external% }4 J( y% c/ Z
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)( @( \+ I2 j( m. X" a# [3 o
  1222. ; http://php.net/oci8.privileged-connect8 W8 m+ u2 {+ D! `8 U
  1223. ;oci8.privileged_connect = Off+ }" a7 O! }0 m0 v- |: J! m- i
  1224.   i6 v( C& }: C- S; M! b# E1 E
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    3 }6 t3 J! ~+ ^  N
  1226. ; process. Using -1 means no limit.
    ' [7 a7 p6 f6 m: k0 z0 z
  1227. ; http://php.net/oci8.max-persistent/ X% e# L7 R8 _$ \4 ]
  1228. ;oci8.max_persistent = -1/ G' b9 `& a; A; G
  1229. 8 G( M4 q/ ]# v( G' {9 h- ^
  1230. ; Connection: The maximum number of seconds a process is allowed to/ @5 \. C) X3 X" V1 A
  1231. ; maintain an idle persistent connection. Using -1 means idle) w0 z2 `- Z" R& Y# H/ d0 N
  1232. ; persistent connections will be maintained forever.' Q( h. S( A3 I- ?5 y2 A( K
  1233. ; http://php.net/oci8.persistent-timeout: G+ a4 Q  s/ F0 T# s" u
  1234. ;oci8.persistent_timeout = -1& u" B' S7 |& \# r9 C2 i2 ?
  1235. ' S5 M  k) n" c5 Q+ _8 p6 [. }  ~8 _
  1236. ; Connection: The number of seconds that must pass before issuing a
    9 B9 b4 T4 h# `! ^! C1 C, x
  1237. ; ping during oci_pconnect() to check the connection validity. When/ N! r- L6 k- }8 W
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables: S; m8 G  B  D5 E/ W
  1239. ; pings completely.- i5 h  Y1 k, D0 [
  1240. ; http://php.net/oci8.ping-interval! b* d( i( F: c
  1241. ;oci8.ping_interval = 60/ C5 a7 A. \: i8 D" i

  1242. ' \  @# w. F& F, w9 e+ ~/ N0 s
  1243. ; Connection: Set this to a user chosen connection class to be used
    / j- Q$ V' v7 e
  1244. ; for all pooled server requests with Oracle 11g Database Resident' r  @/ X7 e% [
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to1 A( \$ G" ]$ L+ s* ]
  1246. ; the same string for all web servers running the same application,
    " J, ~! W0 J- W7 L  t3 C
  1247. ; the database pool must be configured, and the connection string must9 P3 h8 X: n# d9 G
  1248. ; specify to use a pooled server.9 T1 H3 G! o& s9 ~
  1249. ;oci8.connection_class =
    2 U! A4 `' j( x* a

  1250. 0 G1 D5 u: E: n9 J8 W
  1251. ; High Availability: Using On lets PHP receive Fast Application
    1 p8 w- x8 ~+ v: u3 z/ t
  1252. ; Notification (FAN) events generated when a database node fails. The
    4 O9 k/ t7 I0 t% i5 M: c! ]
  1253. ; database must also be configured to post FAN events.4 K8 F) ]- T; F2 ~4 d
  1254. ;oci8.events = Off: ?" r5 q" ^- i4 |; T

  1255. ! {: |: e' b+ }3 r6 f
  1256. ; Tuning: This option enables statement caching, and specifies how& f1 y# c' E! {0 R# I* d/ @4 ~+ S
  1257. ; many statements to cache. Using 0 disables statement caching.+ y+ |- I) ~- f# l. o
  1258. ; http://php.net/oci8.statement-cache-size$ P9 g3 a  Z3 ]; T( Z2 R' r! L
  1259. ;oci8.statement_cache_size = 20
    7 W/ X, a; `6 L  \1 S
  1260. " j$ j5 ~( v6 b
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    2 t: p3 Y6 n$ S/ v1 T
  1262. ; rows that will be fetched automatically after statement execution.
    " w, Z% b" h" u
  1263. ; http://php.net/oci8.default-prefetch
    " ], e4 e9 J! ?8 I7 Q$ H0 e' e9 g" f
  1264. ;oci8.default_prefetch = 100) p% N1 ^! q6 m& i4 V3 k

  1265. $ P6 s7 n/ K8 [5 q$ C, {3 r3 [
  1266. ; Compatibility. Using On means oci_close() will not close
    * R. u. g4 e$ U8 C4 |! E
  1267. ; oci_connect() and oci_new_connect() connections.
    ( \) Y# ]% f9 x8 A- m+ `4 U+ ?7 Y
  1268. ; http://php.net/oci8.old-oci-close-semantics) V8 b9 q0 V$ \% Y8 C
  1269. ;oci8.old_oci_close_semantics = Off
    ( ?0 F! \! x8 g! l' ^
  1270. + z! T' z/ Z2 f- s) L! C
  1271. [PostgreSQL]+ w+ b+ C5 y. {
  1272. ; Allow or prevent persistent links.
    ! g, Z- s- p& e: r0 o3 j* j7 V
  1273. ; http://php.net/pgsql.allow-persistent
    : d- H5 J7 }, \1 ]
  1274. pgsql.allow_persistent = On: A1 d7 i9 n3 c. c4 E, m$ A: \

  1275. : \' L, m/ P, t; a& E
  1276. ; Detect broken persistent links always with pg_pconnect().
    3 Z! s, M* e0 j: R$ M) D
  1277. ; Auto reset feature requires a little overheads.& V$ @( A, N# ]' z4 C: o7 i
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ; e% ~; R6 s5 a. e3 g' l
  1279. pgsql.auto_reset_persistent = Off
    0 y5 m! a% M. [" U5 A' I  u
  1280. - Z& ?. d  ~* {' w: r0 B
  1281. ; Maximum number of persistent links.  -1 means no limit.
    & f& t% M8 ~  y% r3 D# ^
  1282. ; http://php.net/pgsql.max-persistent
    * r2 p( m6 B# l4 j; {
  1283. pgsql.max_persistent = -1
    # Z7 ?2 u; M- U* s: z+ {

  1284. ; P6 {  m" _+ I$ L% u7 d; E. n1 C
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.9 c2 b0 U- i- C9 _  v
  1286. ; http://php.net/pgsql.max-links* @7 C4 d9 B. e% @& ^2 G% a) Q
  1287. pgsql.max_links = -17 ]6 v3 z3 _  ~0 I3 p
  1288. * O2 p1 x8 X. k; n. H% H
  1289. ; Ignore PostgreSQL backends Notice message or not.
    # g  t  i" j5 o; E; ]; C* s' z# s
  1290. ; Notice message logging require a little overheads.
    % m! O5 u) b6 X; _: e
  1291. ; http://php.net/pgsql.ignore-notice
    9 l+ C+ M$ J( J9 ]) d% B/ M- r' F/ H
  1292. pgsql.ignore_notice = 0
    ' D4 m9 v- \( n1 C' S0 v
  1293. " H# v0 H- X' w4 o/ ^
  1294. ; Log PostgreSQL backends Notice message or not.8 y' I' i* z3 {: g! R; q- \
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    9 f1 E, k2 A$ y( F
  1296. ; http://php.net/pgsql.log-notice  R% J( U3 L% t' `0 g7 K
  1297. pgsql.log_notice = 0% ?, j# O! E- a
  1298. 5 Y* w8 O: N5 @* V5 @
  1299. [bcmath]7 k: P! C+ u* y1 x5 M+ L
  1300. ; Number of decimal digits for all bcmath functions.
    * u" @& L& v1 a( _; p
  1301. ; http://php.net/bcmath.scale, Y. `3 S! E" D2 p& {* U
  1302. bcmath.scale = 0- r3 U2 Q, |: F" n

  1303. / k3 y0 Q( ~8 V1 V. L
  1304. [browscap]
    # j$ {0 D- s2 W/ f+ [
  1305. ; http://php.net/browscap2 `$ q+ Y& w" e
  1306. ;browscap = extra/browscap.ini
    ) p* C* b+ F; p
  1307. $ \) s* {1 g( |. J4 C, `; z
  1308. [Session]4 ^2 m' f4 [0 k/ R
  1309. ; Handler used to store/retrieve data.
    + }8 k' y: H; ~$ Y0 G& D0 w1 _; d4 V
  1310. ; http://php.net/session.save-handler
    / |, @3 a4 G/ H7 U. S+ i
  1311. session.save_handler = files
    $ r- Y+ J: W8 e) ^- q& _4 E4 h
  1312. , a6 V4 {# _$ r3 {7 U7 ~$ Q" ]* b( C
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    0 d6 l0 g& l% u- ]
  1314. ; where data files are stored. Note: Windows users have to change this
    % j0 X. Z! R1 d& r5 k4 j7 a& @
  1315. ; variable in order to use PHP's session functions.
    - h0 f# n, i4 ?, W# u  ?
  1316. ;
    & R! @' J; ]/ X! f
  1317. ; The path can be defined as:, x, j; L- ?5 r2 T! |
  1318. ;6 z; P1 |3 ~& {' g* M* z; f
  1319. ;     session.save_path = "N;/path"% J0 w! W9 v/ T" J# \: }
  1320. ;& E! P" |+ `' c
  1321. ; where N is an integer.  Instead of storing all the session files in# k+ K: O: ?% t& [  n: Z
  1322. ; /path, what this will do is use subdirectories N-levels deep, and. D( m" [$ y+ I0 [6 F
  1323. ; store the session data in those directories.  This is useful if
    6 f. G" v+ m* R/ y# I6 t$ F3 ^- o4 d
  1324. ; your OS has problems with many files in one directory, and is5 \3 y2 o( L+ A6 ]& v$ \
  1325. ; a more efficient layout for servers that handle many sessions.* f: U6 S3 F1 u- z9 H
  1326. ;7 K5 W: U  Y7 c0 B
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ) V( M# V0 A) |4 U0 P
  1328. ;         You can use the script in the ext/session dir for that purpose.
    ) c8 J$ R& J5 U7 S: j' t
  1329. ; NOTE 2: See the section on garbage collection below if you choose to* C, Z# X$ l" R* R
  1330. ;         use subdirectories for session storage
    ! x% R( }; i* Z9 C2 E, `6 n
  1331. ;
    + G4 t$ q- O: q, s& \* D) F  a
  1332. ; The file storage module creates files using mode 600 by default.+ u1 ^1 l/ y) D& `/ `# a7 Q- M
  1333. ; You can change that by using* ^& q- O( y/ \7 f
  1334. ;2 C3 M7 H9 O2 `5 h- L4 h
  1335. ;     session.save_path = "N;MODE;/path"+ M, @: ?! ^8 s  w  O, A
  1336. ;
      B$ Y. U5 _! I, Z. F$ w
  1337. ; where MODE is the octal representation of the mode. Note that this
    8 g# \4 _2 D; q5 n5 V: G
  1338. ; does not overwrite the process's umask.
    ; f: |+ r2 F6 p3 u+ t
  1339. ; http://php.net/session.save-path0 g$ H9 P( y0 l* K8 Z/ C
  1340. ;session.save_path = "/tmp"
    7 }$ c- c1 l* n
  1341. ! F6 P- w) _1 l2 O
  1342. ; Whether to use strict session mode.
    $ R3 G+ w9 ^# Q( E9 J6 n1 y
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    " F/ }0 \' M# N& P0 |
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    8 I. d) p; T0 Y' t# w
  1345. ; applications from session fixation via session adoption vulnerability. It is
    , g( s2 K* F9 d7 [/ s" Y4 D
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.2 a# }; u: I: ?7 G% s& k1 r
  1347. ; https://wiki.php.net/rfc/strict_sessions: {6 }, ?2 J5 I# Y# X# `, G, p
  1348. session.use_strict_mode = 0
    4 X' F! b+ }; i
  1349. ! w* S; ^1 t' ^; a0 o2 V4 _' j
  1350. ; Whether to use cookies.
      Q: l9 ~. v0 R  s* }  }! v4 ^
  1351. ; http://php.net/session.use-cookies6 F9 L3 P% A9 h
  1352. session.use_cookies = 1
    7 _$ ]+ H$ }. O: z) V- {3 h% ?

  1353. ' `) T- Y' _( y- ^; p
  1354. ; http://php.net/session.cookie-secure* |) |7 o' [( m9 i- w( {
  1355. ;session.cookie_secure =
    ; y  W" `' G& [5 @

  1356. : |! N4 `; t" r' [
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    % i& O( h0 Q! l: f! T/ T# U
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    $ T, \- `* Y, }: c# T
  1359. ; session hijacking when not specifying and managing your own session id. It is
    . Q+ }' |; Z- N0 G% G0 S3 J
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    7 }% A' @8 [; ~$ Z
  1361. ; http://php.net/session.use-only-cookies5 P7 r8 ], X' F0 r
  1362. session.use_only_cookies = 1
    0 k$ ^3 V+ l, N+ m0 ~. m6 Z5 P

  1363. ( s- B9 |* t! Y, }7 U+ g+ N2 b! t
  1364. ; Name of the session (used as cookie name)." S% k  c$ O5 J
  1365. ; http://php.net/session.name
    " b4 J. I/ Z# v% c
  1366. session.name = PHPSESSID7 u3 H+ J9 [* s3 }

  1367. ( l% O* q6 V6 L
  1368. ; Initialize session on request startup.& H2 @% f, S. y6 G; J
  1369. ; http://php.net/session.auto-start
    - m: Y2 Y) U  y* c! ^2 w
  1370. session.auto_start = 0$ Y& j( B( V% s5 r* q! \

  1371. 5 B8 ~+ M( S9 {7 {3 m/ u0 n9 }; u
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    $ z6 t5 E* g# i8 w5 A
  1373. ; http://php.net/session.cookie-lifetime
    - o. Z' I3 J* F+ ~! r: B  K
  1374. session.cookie_lifetime = 0+ A' K. r# @: ?$ C
  1375. 5 X- i. N* i& M2 [3 M7 t4 V
  1376. ; The path for which the cookie is valid.' C2 l) K0 a% @; t8 a# d4 T* C
  1377. ; http://php.net/session.cookie-path
    $ q* r0 ^- d6 p; y, ?
  1378. session.cookie_path = /$ L$ V6 r; P- h' C' W0 `1 y

  1379. ! v% w1 r! r& T& Z/ X2 C
  1380. ; The domain for which the cookie is valid.
    & n# G2 c+ G* p  H$ _# k
  1381. ; http://php.net/session.cookie-domain
    7 T# o$ \2 `) I9 V- A+ Z
  1382. session.cookie_domain =% ~; A; y- g+ I9 J7 [0 I3 p
  1383. ( P5 B/ B" m+ U- J5 B: n+ t2 |. }
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    : c  E& f  E  `" T7 N$ N
  1385. ; http://php.net/session.cookie-httponly
    ) l, j& r7 L6 t6 j% E0 N7 Z
  1386. session.cookie_httponly =
    & ?+ Z# V5 ^7 }* U. C, W
  1387. # u4 d: D& m+ J- X6 N1 E
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    + e3 J" ]+ f% L! i, O' k
  1389. ; http://php.net/session.serialize-handler3 E* r- N" h  _" v1 X
  1390. session.serialize_handler = php% s+ F) J+ x9 S& z# S: U3 D# {( }9 r
  1391. - O& [& r" U! {' U
  1392. ; Defines the probability that the 'garbage collection' process is started
    6 \( r% X8 j( Q/ N! D) [+ }9 j3 T
  1393. ; on every session initialization. The probability is calculated by using/ w0 t7 A  ?: B6 [, E% y9 q+ O
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator: ?( r5 C: b% K/ _( u& Q
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 15 E4 _. m6 n4 r- [1 G
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance: }1 o! I* V: W: f' v1 B& w
  1397. ; the gc will run on any give request.; s2 {2 ~4 X  w: n+ X. N- B
  1398. ; Default Value: 1$ p% G! Z: i" i% ?- C% Q1 M, U
  1399. ; Development Value: 1: G3 h. i- a# V" k
  1400. ; Production Value: 1
    3 ~8 [  ~8 L' {2 o- l/ }
  1401. ; http://php.net/session.gc-probability
    3 p* o+ X3 Q; u2 Q$ C5 k5 _
  1402. session.gc_probability = 1
    6 e: k1 `/ S9 E' Y; k
  1403. # W+ l& w0 r. C* i1 t- g
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ) C7 F/ s7 }) ?' m2 w
  1405. ; session initialization. The probability is calculated by using the following equation:
    + @5 p. R  W$ g. R- Y6 Q4 D
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and0 c) _; K( ~) {& x$ U( n
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1( {( @, z6 c1 P' x7 I
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 f2 w# l, W8 X0 Y  v% ^' J' k" v$ l
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you% M) d( c$ k+ Z' ]+ Q: Y& y
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,  B, q- x1 O; @, A
  1411. ; this is a more efficient approach./ k7 m) u% J+ q& G
  1412. ; Default Value: 100% w/ y: W9 k! ]* N( h4 _
  1413. ; Development Value: 1000, G# e( t) e& e9 ?- N1 N
  1414. ; Production Value: 1000
    * y" m! b* o) ]
  1415. ; http://php.net/session.gc-divisor0 d# T3 {' D2 K  R9 X
  1416. session.gc_divisor = 1000
    8 R6 o4 L3 a+ p
  1417. $ e0 C. k' R4 C2 P4 d! V, I
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    2 k$ o- q) @* h) g. j, I  N# b
  1419. ; cleaned up by the garbage collection process.
    - S. U" \$ \9 w" y
  1420. ; http://php.net/session.gc-maxlifetime* [0 E8 |" L7 B
  1421. session.gc_maxlifetime = 1440; K  w6 @0 ]: D2 l

  1422. # g. G" j" x* {( `2 |. A
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    + ^  ]5 i7 f2 a# x. g/ r- L
  1424. ;       (see session.save_path above), then garbage collection does *not*4 ~" ^; f! a1 M8 o) ]3 b+ L" S5 _
  1425. ;       happen automatically.  You will need to do your own garbage+ j- R2 @7 ]4 K( l. ]0 |
  1426. ;       collection through a shell script, cron entry, or some other method.
    , }# T+ i% Y: m, y6 v
  1427. ;       For example, the following script would is the equivalent of, a. O4 z; A0 n3 c* o
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ' K0 V) E4 }2 F" F8 Y
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ! A, W0 V2 y( s+ k0 [
  1430. " d* [7 H; D0 x0 F- R/ ^; s
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.  g. p6 d) E, g7 {! O8 a2 Q
  1432. ; HTTP_REFERER has to contain this substring for the session to be* G3 w  I( u3 B
  1433. ; considered as valid.+ n) ~' l/ x/ a2 ^! }( Z
  1434. ; http://php.net/session.referer-check; T5 |  v, I, v: T. j. E2 c
  1435. session.referer_check =
    ( x3 E. R. {" k$ G: M" C

  1436. 6 V& E2 E$ l7 d  c: C
  1437. ; How many bytes to read from the file.* H# \  ^; v9 E7 C) ^
  1438. ; http://php.net/session.entropy-length
    7 e" a1 c0 X1 H; b- W
  1439. ;session.entropy_length = 325 x3 t* h9 M: N5 T, B: ^, i2 ]
  1440. 0 T; w% N0 v/ l; B) Z3 t' S
  1441. ; Specified here to create the session id.
    , j9 {& `3 _6 H  ]. @
  1442. ; http://php.net/session.entropy-file, `' c6 G& s4 R9 E* a& C2 |7 A) v
  1443. ; Defaults to /dev/urandom
    % v) t( ^# R  F; b! j  ^& ~
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom9 U* z7 R& Z. z& ]- Q  }
  1445. ; If neither are found at compile time, the default is no entropy file.) p" o& q4 k! |& H* Q
  1446. ; On windows, setting the entropy_length setting will activate the
    5 H1 Y0 g( S* Z- a; P- L
  1447. ; Windows random source (using the CryptoAPI)
    5 C$ L  f. ?) P$ H5 d
  1448. ;session.entropy_file = /dev/urandom
    . b" h. s: X8 q: ~
  1449. 9 v* m6 ~  t0 B
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects3 d: ~% u) A' p8 L
  1451. ; or leave this empty to avoid sending anti-caching headers.5 b6 a7 _( x4 Q- T# r. m0 D
  1452. ; http://php.net/session.cache-limiter
    ( h& x( I& s. g& k- u0 Z) k
  1453. session.cache_limiter = nocache+ @# A! Y2 m- D& P( A* A3 o' l5 Q2 \

  1454. # `" }) s0 [1 r1 A! ^
  1455. ; Document expires after n minutes.  W6 I; E$ J2 {7 Y  r6 |5 _) b- U& V
  1456. ; http://php.net/session.cache-expire
    6 j& T' {" E0 H* Q: f/ K3 x
  1457. session.cache_expire = 180
    . ^& |, _" u" H2 a" f; Z
  1458. 1 T  i2 _5 g: e, `* K& B
  1459. ; trans sid support is disabled by default.
    ' Q0 H' D. S7 \$ G4 N
  1460. ; Use of trans sid may risk your users' security.
    8 |  P: N6 v1 F, M/ R- P
  1461. ; Use this option with caution.
    9 s( S8 }  I4 d7 U6 V! s2 B
  1462. ; - User may send URL contains active session ID
    : I  I. X8 n% o8 j
  1463. ;   to other person via. email/irc/etc.
    5 @$ e# ]0 B6 O
  1464. ; - URL that contains active session ID may be stored# Z& q# H! w# k8 r+ P/ U3 u% e
  1465. ;   in publicly accessible computer./ Q8 M* ~0 j/ U7 \8 U8 N* f7 C
  1466. ; - User may access your site with the same session ID
    0 L- ^- E3 p) }  J9 |5 I
  1467. ;   always using URL stored in browser's history or bookmarks.0 V/ ?5 w5 A3 c8 G3 [) F
  1468. ; http://php.net/session.use-trans-sid
    # ~0 p: P) S* |# u9 w% t( d* J1 h
  1469. session.use_trans_sid = 0
    & Q" c8 ?) f- v) i" V. N
  1470. ) [" |* h+ k$ ^$ F$ x
  1471. ; Select a hash function for use in generating session ids.1 B; M6 R: L, o) c
  1472. ; Possible Values* ^  w) X% O" l7 O: a
  1473. ;   0  (MD5 128 bits)
    + r8 Y6 [! p9 Q+ g
  1474. ;   1  (SHA-1 160 bits)
      O$ `" H1 ^# Y6 e) j/ B
  1475. ; This option may also be set to the name of any hash function supported by
    ( L. M! L/ }1 ^. \' L
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()2 ?: X% f+ t) r/ s/ J$ H
  1477. ; function.) M: P) m7 [3 t- y) k# O2 g
  1478. ; http://php.net/session.hash-function
    / R. ]1 c/ N0 I
  1479. session.hash_function = 0$ d- Y: Q/ i% X0 V5 A8 @

  1480. . p# m1 n. u1 B1 ~
  1481. ; Define how many bits are stored in each character when converting
    - x/ [* e( @2 ^$ z3 O
  1482. ; the binary hash data to something readable.
    1 \! D7 }0 l+ ~
  1483. ; Possible values:, ~) I; O/ g4 F/ e
  1484. ;   4  (4 bits: 0-9, a-f)4 H  U1 }( M9 d; ]2 U# A) F
  1485. ;   5  (5 bits: 0-9, a-v)
    5 n$ D! h. P# j) n
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    6 `  j0 e1 t1 }9 j9 L
  1487. ; Default Value: 4" W8 q1 h) `: ~$ @6 z0 V
  1488. ; Development Value: 5
    % {! C' e+ R4 z" ~  ^
  1489. ; Production Value: 5
    : `& M- v+ h( u# o" i  x: Z
  1490. ; http://php.net/session.hash-bits-per-character
    9 ]" F- n$ ~$ W6 h3 b) G$ b
  1491. session.hash_bits_per_character = 5
    ! y4 h! t# o2 ~
  1492. / e! f  T3 X: Z. C' F. r
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    & G0 |' s" M2 o0 g0 f7 p0 o
  1494. ; form/fieldset are special; if you include them here, the rewriter will$ R8 I2 }1 C) p% R& U
  1495. ; add a hidden <input> field with the info which is otherwise appended2 I2 X0 I" h: `+ ~
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    8 l. m9 y3 V2 }1 N; `
  1497. ; Note that all valid entries require a "=", even if no value follows.
    3 \& t2 f, f8 e! M, @
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="" T9 Z+ E% p% X; N. ~% C6 Q) c* a# A1 M
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 o3 I1 p4 T: h5 y: O. M' V9 g
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # a0 t, A( p$ L2 y) M  ?* z
  1501. ; http://php.net/url-rewriter.tags
    ! S% W4 W3 m, W7 f8 @  N- w! j
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"8 J1 H) l3 ]& j! H
  1503. ' a7 |8 B7 j5 h! e- U
  1504. ; Enable upload progress tracking in $_SESSION( [* L+ m0 a$ V' c. r2 z/ [9 W( P
  1505. ; Default Value: On
    , n8 e; k: N$ G# T4 f
  1506. ; Development Value: On
    + j7 E* ~8 b- M8 h' a
  1507. ; Production Value: On
    0 j8 r+ h( L4 U% u
  1508. ; http://php.net/session.upload-progress.enabled
    6 ~1 O) C. O# O# n
  1509. ;session.upload_progress.enabled = On4 J& p, {2 Q6 y+ |0 E3 l( x: d
  1510. 5 s3 ?! m5 P1 a% p5 N
  1511. ; Cleanup the progress information as soon as all POST data has been read$ S6 r1 f7 h" Y8 s6 \
  1512. ; (i.e. upload completed).0 o; l/ B  k, w& s5 _5 ?& H
  1513. ; Default Value: On& q7 K% G' F6 I7 H
  1514. ; Development Value: On! |$ p9 W- }! M2 k
  1515. ; Production Value: On# W5 t9 r+ o' d' E; q
  1516. ; http://php.net/session.upload-progress.cleanup& R& \+ w* S! f0 ~1 j5 X: V0 c
  1517. ;session.upload_progress.cleanup = On
    * A) U7 H% z  _' N" c5 m, z

  1518. ; K. H1 r; ?5 j# J: G# w
  1519. ; A prefix used for the upload progress key in $_SESSION
    ' |$ f2 ]4 e. n. z* T# w: M* H1 Z
  1520. ; Default Value: "upload_progress_"4 U9 t) x* T2 r: ?0 s! ]# w1 e, ^) `5 D
  1521. ; Development Value: "upload_progress_". O* @- Y7 t8 a4 n
  1522. ; Production Value: "upload_progress_"$ i8 b$ v. s6 a, f7 K
  1523. ; http://php.net/session.upload-progress.prefix. H. t; x- M) q9 L( {
  1524. ;session.upload_progress.prefix = "upload_progress_"
    - L5 f6 ]3 q% M# Y  C0 V

  1525. 3 d4 J' A0 _5 X: G2 r! Q% \
  1526. ; The index name (concatenated with the prefix) in $_SESSION' f! h2 W2 G8 f
  1527. ; containing the upload progress information
    % `1 Y9 D! F. f/ u4 S
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 c) r' K* |( d7 {2 }1 l0 D3 }
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ l$ K1 |5 w2 {; Z1 p
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"# {% g& M5 n; K
  1531. ; http://php.net/session.upload-progress.name- c/ z2 F3 g, X2 }
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    * V* Y9 u" X( ?) J( P$ X! |; |5 M
  1533. , X' Y) r& j" S1 `
  1534. ; How frequently the upload progress should be updated.9 g2 E( N9 Q% y" ?
  1535. ; Given either in percentages (per-file), or in bytes
    ; E6 i/ ~5 C+ f! Z( Q. A* Q# a
  1536. ; Default Value: "1%"
    0 Z( s- W6 g9 ?- s4 l6 A
  1537. ; Development Value: "1%"
    9 f5 _' t8 m+ B7 ?9 s& G
  1538. ; Production Value: "1%"
    + B& t, V0 W4 I
  1539. ; http://php.net/session.upload-progress.freq
    " n; N$ `8 H9 f8 j
  1540. ;session.upload_progress.freq =  "1%"
    / W0 H: J, d3 H( a

  1541. " |( [; X0 c" T" s9 X& R
  1542. ; The minimum delay between updates, in seconds- D0 H! d9 n5 j8 y
  1543. ; Default Value: 10 o* c/ s! g- r! T$ e
  1544. ; Development Value: 18 z. A& i6 ^: h* s# n" b. t( V
  1545. ; Production Value: 1
    & Q- `) C5 d: G' }
  1546. ; http://php.net/session.upload-progress.min-freq2 F& J% |0 A8 ?! R$ S
  1547. ;session.upload_progress.min_freq = "1"
    4 y, l+ g1 ?. P' x
  1548. 6 B+ x" G6 F1 q( o6 m. Y# k
  1549. ; Only write session data when session data is changed. Enabled by default.
    * t6 B, q7 X; \
  1550. ; http://php.net/session.lazy-write' W  q8 @% w7 M1 M7 X9 q
  1551. ;session.lazy_write = On
    ( v. W, C0 O( K# w, M; e+ V

  1552. 9 |* d* q  \5 H1 F  q0 X# g' O
  1553. [Assertion]" Q0 b; z$ C  K+ G( q% G
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)/ ]- ~- ?; W1 t  s. q* t! w# Q( S
  1555. ; -1: Do not compile at all
    3 Z8 e' R5 p4 R4 s+ v& q9 L3 S
  1556. ;  0: Jump over assertion at run-time2 [7 L3 M4 `" |- C
  1557. ;  1: Execute assertions/ k6 X+ x' A. l+ I# c
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    : p- m" c3 J# l& I! H
  1559. ; Default Value: 1
    # T$ \9 i5 O7 y9 g6 x
  1560. ; Development Value: 1
    $ S" J4 M% c  ~; }
  1561. ; Production Value: -1
    ; u6 X- q+ l- `0 [
  1562. ; http://php.net/zend.assertions' [% l  ]. k1 \3 \  g
  1563. zend.assertions = -1; u& [7 U- p9 G! K9 R, r
  1564. - e1 b8 x9 T5 z, E% r
  1565. ; Assert(expr); active by default.. v8 }. Q1 r5 Q, K
  1566. ; http://php.net/assert.active
    / L& @7 b+ V. O- i$ n2 k
  1567. ;assert.active = On) o8 e# u: S( W3 X7 t9 g: X

  1568. 2 l3 j: f+ F, |/ [, I
  1569. ; Throw an AssertationException on failed assertions
    * F% X9 i+ ?! S" \
  1570. ; http://php.net/assert.exception4 @* R  d! H# g2 j
  1571. ;assert.exception = On" n+ A) U2 @6 o5 [8 f

  1572. . z, w; Y2 `/ D* N
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    , @, Y1 p7 T. L, i8 y( ?  A, _4 l& _
  1574. ; http://php.net/assert.warning) ]( m: W* s6 N/ s
  1575. ;assert.warning = On
    ' e4 u: V$ z6 O2 b. S6 y" \

  1576. ( v- r; B0 \0 W7 w  A, }. O
  1577. ; Don't bail out by default.
    : P, {+ M3 ?% ~+ ^/ j9 C
  1578. ; http://php.net/assert.bail7 Y+ Y0 o0 ^, ^  v+ Q  v+ L
  1579. ;assert.bail = Off7 n; Q  p' z6 B% k
  1580. # O1 x1 {# \" [# u+ P
  1581. ; User-function to be called if an assertion fails.
    ! f. c' h% d' o
  1582. ; http://php.net/assert.callback
    % @/ ?; Q" F( A$ A$ e+ d  w* c
  1583. ;assert.callback = 0- Z" [, J; f/ w2 ~" l7 \1 F5 N
  1584. 8 u3 s, p: W9 Z4 L# P. I# P
  1585. ; Eval the expression with current error_reporting().  Set to true if you want8 u0 C& n9 [% b0 U: s/ N
  1586. ; error_reporting(0) around the eval().0 M( l7 q0 n3 X/ _# o; g
  1587. ; http://php.net/assert.quiet-eval
    " e9 ~' {0 B9 |
  1588. ;assert.quiet_eval = 0& r  c0 t: O6 I$ n: ?# t6 P
  1589. - f; L0 e' p; }. D/ r  ?0 u
  1590. [COM]
    9 ?: N, t& T: a' \7 t
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ( [9 q2 l+ g- ~$ H6 }8 M; F  z
  1592. ; http://php.net/com.typelib-file/ E1 h( x/ G# ?% ~1 V7 R
  1593. ;com.typelib_file =
    % ?/ j2 w& P, J

  1594. 3 e$ u# S$ V' v4 ^" V) |! F
  1595. ; allow Distributed-COM calls8 E  }+ Y; g; ^2 e, Z, K9 V: [
  1596. ; http://php.net/com.allow-dcom
    % N) a3 z7 K- E  B0 C: t0 w( P0 S
  1597. ;com.allow_dcom = true
    * T7 g+ h0 ]; q
  1598. ; K' \$ J% {( Q) e$ O/ K! G
  1599. ; autoregister constants of a components typlib on com_load()  N4 _, a; c: z$ o
  1600. ; http://php.net/com.autoregister-typelib
    7 |2 V" `: o' i
  1601. ;com.autoregister_typelib = true
    ( R" E; V! ~# c0 r- X

  1602. 8 _; O6 n  }! S0 ^/ k' C9 K
  1603. ; register constants casesensitive2 Q- p2 x& ~5 c4 D& S& M" J
  1604. ; http://php.net/com.autoregister-casesensitive9 b( y- e6 P, |
  1605. ;com.autoregister_casesensitive = false
    / c% O5 h' G1 h; `8 @* I
  1606. & l+ {+ G# k6 l+ @4 ~$ `- a% A
  1607. ; show warnings on duplicate constant registrations
    9 Q/ N6 m) Z1 s9 L" e  q
  1608. ; http://php.net/com.autoregister-verbose' h! B/ E8 ?9 r( G1 {
  1609. ;com.autoregister_verbose = true
    * x' \8 \/ [% ?" h
  1610. " [3 Q) R5 }. M# z
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    . N% x  ]0 d* M1 U
  1612. ; Default: system ANSI code page- W' Q9 t6 p; }7 i6 O
  1613. ;com.code_page=
    6 I" O& ^$ G6 Y( O( |; ~$ {" j
  1614. 4 h2 {& g* m2 a$ P4 A
  1615. [mbstring]
    & w4 p( m0 s& m
  1616. ; language for internal character representation.% c% q  v% ]0 \2 g& J, H
  1617. ; This affects mb_send_mail() and mbstring.detect_order.- T* E' J: ^& M3 v  L
  1618. ; http://php.net/mbstring.language/ ~# M) Q+ G& U' P% N) S- T
  1619. ;mbstring.language = Japanese& i2 F. L. T1 ]. m+ L- `: G
  1620. 8 x4 F5 ~3 M/ |5 K1 s4 Q! y% \
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ; f4 Q! Z5 O& U8 u" I" t  y7 q, ^
  1622. ; internal/script encoding., J* V- p/ g, l" C( K
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ! g6 a+ j1 o* G, d* U
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    * i' p" T; ~- ?. b' F0 \: s
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding! d& X3 E/ ?" l
  1626. ;mbstring.internal_encoding =
    . b* _2 R9 a  |

  1627. ) S- @3 Z* N3 b7 X9 D1 N1 F$ l
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    % \. L6 ^$ B: `3 }
  1629. ; http input encoding.! t. Y$ k; Q4 [  t% m/ Q
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.5 \3 z3 j& Q1 p+ J
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    * {' g- [3 c% \
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ; O  V9 Z; y6 g6 S0 E7 w
  1633. ; http://php.net/mbstring.http-input
    : o0 ]+ E( H* `, g" D
  1634. ;mbstring.http_input =% k, V. l1 E6 A2 T6 `
  1635. 0 D- ?6 |% P' ^+ q" f
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    5 @1 q, ~  k" n. W+ k
  1637. ; http output encoding.
    9 P. {7 @; Z( b3 u1 I3 u6 M  j/ j
  1638. ; mb_output_handler must be registered as output buffer to function.- i# `$ C) ?7 i3 T
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
      x) b5 i. Y6 {/ e3 `: m) _
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    4 B6 ~! T3 `( y
  1641. ; To use an output encoding conversion, mbstring's output handler must be set& y# A! w$ P, X5 @1 i9 G# T. k
  1642. ; otherwise output encoding conversion cannot be performed.
    , U) T& i! g9 f9 z5 a% V1 d
  1643. ; http://php.net/mbstring.http-output5 }7 h+ U6 d0 D5 Y" Z+ {9 p
  1644. ;mbstring.http_output =
    ( r7 ?+ c  u4 b6 f( X2 I

  1645. , D5 A  t4 J# g3 Z& H# i7 _4 W: P
  1646. ; enable automatic encoding translation according to
    0 m- D0 f, w/ V) d
  1647. ; mbstring.internal_encoding setting. Input chars are8 l4 y; Y2 q. @
  1648. ; converted to internal encoding by setting this to On.
    , H1 ?! |, a" q  s$ R( t
  1649. ; Note: Do _not_ use automatic encoding translation for
    $ G, e8 O, v4 `3 S
  1650. ;       portable libs/applications.) Y5 o" v6 H; }, g
  1651. ; http://php.net/mbstring.encoding-translation+ P. c) W8 a& @" G) h8 F' L
  1652. ;mbstring.encoding_translation = Off
    2 x7 X3 Z5 [: }4 L! g1 |8 o

  1653. : S5 s- r, b/ t) |
  1654. ; automatic encoding detection order.1 J0 P) K9 v+ S8 B8 O
  1655. ; "auto" detect order is changed according to mbstring.language3 n; Z; g( _  G7 ?" A- B
  1656. ; http://php.net/mbstring.detect-order  ~8 y5 x; i! V$ v' a: i
  1657. ;mbstring.detect_order = auto8 N1 i& o+ }) P. a9 _  D: b, W( D
  1658. # l8 d9 m: @9 d  W+ J5 {5 N# }
  1659. ; substitute_character used when character cannot be converted
    , n; u5 H; l  x7 A9 O$ H3 R3 ~
  1660. ; one from another# ~. a; I3 `, X
  1661. ; http://php.net/mbstring.substitute-character& N7 q+ Y8 N( E8 W6 \% J& U
  1662. ;mbstring.substitute_character = none5 E3 r. L% |8 A2 x

  1663. ( ^/ o4 }4 _. P+ h6 p
  1664. ; overload(replace) single byte functions by mbstring functions.
    + j+ j. [0 [7 H5 X2 H* H2 ]
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
      e9 |& h/ A5 T- u
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    . B( Q: C  }  L+ O8 a) [, j" P
  1667. ; For example, 7 for overload everything.6 _8 n9 b1 P- Q
  1668. ; 0: No overload5 o( H( |2 ]8 ~; z4 x) n3 ?3 a! o6 I1 c
  1669. ; 1: Overload mail() function
    , B- z4 V% n. X( p) Z) v; T
  1670. ; 2: Overload str*() functions
    2 W% {9 r3 D& ?8 d: O6 u
  1671. ; 4: Overload ereg*() functions
    ( P) r8 d0 b" J* ?6 q. P0 C- V
  1672. ; http://php.net/mbstring.func-overload
    . V' p( e& F! f6 y; Q
  1673. ;mbstring.func_overload = 0- I+ F! N/ }2 P. m: a
  1674. ; l+ l3 R4 j' |, r) w1 O
  1675. ; enable strict encoding detection.
    + z# F2 Q  \" T3 s; C6 ~7 M
  1676. ; Default: Off* M( u5 w8 d/ E( P
  1677. ;mbstring.strict_detection = On1 x- V0 U% O. x. p, u! n

  1678. " Q2 L8 T3 l" ^' C4 H) ?3 z) j- D* ]
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()$ G. w# U; ]( j7 c% M& e$ k8 H
  1680. ; is activated.- L  O  c6 ]& o# F$ E; E! L3 ~9 G! Q+ l
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)* t8 S- A+ d9 M% e
  1682. ;mbstring.http_output_conv_mimetype=8 f3 `- U7 B# L6 A) ?+ `

  1683.   A$ I9 f. x4 F, r7 m
  1684. [gd]9 {5 U6 A, U" O) o# z
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    - ^, O: z  H0 I( S2 q
  1686. ; a gd image. The warning will then be displayed as notices
    / W) a4 D  D1 @, L
  1687. ; disabled by default. x) ]/ P: U' |: q
  1688. ; http://php.net/gd.jpeg-ignore-warning" A6 T0 {  R, e' g# ~: E5 s2 W
  1689. ;gd.jpeg_ignore_warning = 0
    3 T. Z: c1 h! [# ^( T6 D# d5 Y( t

  1690. - l" @2 `- e2 a0 Y
  1691. [exif]
    0 P$ Y2 T/ v; s* a$ J: c
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.6 @( x7 I( \  [
  1693. ; With mbstring support this will automatically be converted into the encoding2 v1 |  t( _8 U) _4 |. }# ~7 s
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    5 V0 d8 p5 X' q& k
  1695. ; is used. For the decode settings you can distinguish between motorola and
    . V! @7 Y7 E: F8 J' Q6 h, m9 ]
  1696. ; intel byte order. A decode setting cannot be empty.7 l0 A+ F6 F3 [/ @  H" Z+ r% Z" }
  1697. ; http://php.net/exif.encode-unicode6 ?/ O% ]' t3 `
  1698. ;exif.encode_unicode = ISO-8859-15
    0 Z; \& ~! R2 i# z3 a- v' x6 T8 H

  1699. + L7 g" n% l7 b: v6 `1 y. Q/ F
  1700. ; http://php.net/exif.decode-unicode-motorola
    . ^# o/ [% W7 Z9 w$ J" R# q; f
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    1 }7 {# c) Y# c+ @( U

  1702. # [- O: ]) d5 S' s6 a+ h
  1703. ; http://php.net/exif.decode-unicode-intel) I; N( }2 ~# w2 M2 N
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    # ~8 b4 I0 u" G' O2 c) ^
  1705. 4 B& T9 L( U% \. `
  1706. ; http://php.net/exif.encode-jis
    9 z1 m5 @& T) j0 Y/ S% n
  1707. ;exif.encode_jis =' J4 V5 C6 H8 p# g1 I& c0 K& C9 N
  1708. ; F! O6 r  Y; M- M; p: |7 H5 w
  1709. ; http://php.net/exif.decode-jis-motorola4 f4 M! n' \' t+ J
  1710. ;exif.decode_jis_motorola = JIS
    . T9 ?. c+ ~# J( p! q* @0 w

  1711. 8 A( ~& C2 f5 _+ d# \
  1712. ; http://php.net/exif.decode-jis-intel5 S" K2 P% r  @
  1713. ;exif.decode_jis_intel    = JIS
    + X) x7 G, i6 i9 Y# Y  m3 `3 a) }
  1714. ) }" b8 a/ K: ?1 o$ G
  1715. [Tidy]5 |3 U) d( ^: H  s
  1716. ; The path to a default tidy configuration file to use when using tidy
      y; r$ Q- C; z4 }' l2 u( s
  1717. ; http://php.net/tidy.default-config
    . p: A) M. {; n) u
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg7 M9 I: Q  t5 }% y
  1719. 2 ?2 B9 x8 D! o3 [4 K
  1720. ; Should tidy clean and repair output automatically?9 x2 [# W) x+ O) Q6 N$ t0 O
  1721. ; WARNING: Do not use this option if you are generating non-html content
    , T* t, n' T8 O/ h# N7 N
  1722. ; such as dynamic images! d9 X; i1 _- L, L( y9 S
  1723. ; http://php.net/tidy.clean-output4 i1 n7 q. C" m3 r# @
  1724. tidy.clean_output = Off  `* c# i& k3 s8 s& X

  1725. - r# n$ T/ J+ f( |( T
  1726. [soap]
    6 {& `0 i( v2 A4 _8 l$ `
  1727. ; Enables or disables WSDL caching feature.6 |4 p/ \( A9 V% |- \$ g- q
  1728. ; http://php.net/soap.wsdl-cache-enabled6 C" M8 p) v: u9 S/ Q
  1729. soap.wsdl_cache_enabled=1! \/ Y: q! f. t4 E
  1730. 7 g% N, h9 [* I2 j4 L5 H' E
  1731. ; Sets the directory name where SOAP extension will put cache files., e& D1 U2 m* P- o( D" h+ c
  1732. ; http://php.net/soap.wsdl-cache-dir0 m( p9 ]% x) ~' j& E+ `
  1733. soap.wsdl_cache_dir="/tmp"( M" M- I$ m+ o. q8 d1 s
  1734. , R% M7 E4 h$ l/ s: E$ h
  1735. ; (time to live) Sets the number of second while cached file will be used3 V  A; q6 z- u, A8 ?6 T( D: Q
  1736. ; instead of original one.
    8 K; u3 i1 o! R4 I
  1737. ; http://php.net/soap.wsdl-cache-ttl; f/ {% `) t! t/ n8 V) c8 `
  1738. soap.wsdl_cache_ttl=86400/ a/ |) T. Y; O/ D

  1739. 7 d4 M  d& p: Q0 H
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    7 S# k; c2 A4 ]; C: w
  1741. soap.wsdl_cache_limit = 5
    5 M5 f# m7 Z6 r& [$ |* U8 ^

  1742. 0 t' x3 p) d: J, N8 o
  1743. [sysvshm]: l2 J& I: _4 ?
  1744. ; A default size of the shared memory segment
    ' d" `. R1 j1 W( ^
  1745. ;sysvshm.init_mem = 10000" Y% a2 J8 C# R  z2 g4 G9 j# \9 B
  1746. 7 |$ N6 l* [6 N& z: H. w7 g
  1747. [ldap]
    ! x. e  Z0 ~( ^8 |) @
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    5 Y' D# F5 @4 u" J2 J
  1749. ldap.max_links = -1
    : V- |- {3 {, p! X; l4 m

  1750. 7 C% \9 v/ z) \8 g
  1751. [mcrypt]+ o3 D7 d8 _7 Q
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    , Q9 t7 }9 b: W' w- _
  1753.   e+ j* I7 ]9 j% h! U
  1754. ; Directory where to load mcrypt algorithms! o' q$ h' P( G1 `! S
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 E% M& @9 A5 g" {: d: k6 B' I
  1756. ;mcrypt.algorithms_dir=2 W; ]7 J/ U+ n0 |4 Z/ \
  1757. 4 y$ z/ [$ m' q. O" P
  1758. ; Directory where to load mcrypt modes* x# G" C# L$ ]0 |" }
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)& Q5 `8 ^% N9 W8 g" {! ]: K; m
  1760. ;mcrypt.modes_dir=
    2 n  F( }4 R  ~

  1761. ; |; g1 N% J$ y7 X8 j
  1762. [dba]& Y) s9 e1 s' B  F$ B& n0 n
  1763. ;dba.default_handler=! x$ L: U$ i% u& _/ _! l

  1764. ( m3 Z% N; R0 s0 e
  1765. [opcache]$ S" t) I; ~( e8 g* O4 Y
  1766. ; Determines if Zend OPCache is enabled0 C! M# w' W  h& e, _+ V
  1767. ;opcache.enable=07 g1 j' e) u9 D1 z/ t
  1768. 0 [7 p9 l9 i1 d1 U1 n5 R
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ) C( ]( z0 d9 F2 N  a6 X* L' Q
  1770. ;opcache.enable_cli=0! [% n  l; E2 t8 ^" C4 R" C
  1771. 6 T+ l6 U1 l0 ]( \
  1772. ; The OPcache shared memory storage size.2 Y- W; C' B! b9 p; H
  1773. ;opcache.memory_consumption=64
    0 R% ~' A. \; z: I

  1774. ( p$ g: n8 \% b, {7 ^, _' ?4 x' P+ Q
  1775. ; The amount of memory for interned strings in Mbytes.: o$ l+ G) W) C
  1776. ;opcache.interned_strings_buffer=4
    - G; s; [7 f4 V( N4 [8 }
  1777. . F- s# e' B: L0 r. ~1 T8 }
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    & `3 [, V$ D( r/ V- K  G# p, \) N+ `6 c
  1779. ; Only numbers between 200 and 1000000 are allowed.
    1 d- n# g$ R9 B- x
  1780. ;opcache.max_accelerated_files=2000
    . E7 w' r8 g& b5 i" u

  1781. / l, J: i) J  u2 B9 a. D
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ; V, l$ s" K! Y7 {5 C' p: o8 |
  1783. ;opcache.max_wasted_percentage=5
    0 `; O" B7 C" ]7 n- v1 Z

  1784. ) h; Q) s, |: t3 k
  1785. ; When this directive is enabled, the OPcache appends the current working
    5 B+ X# K+ F2 B5 }8 a
  1786. ; directory to the script key, thus eliminating possible collisions between8 o, @  ], p' {1 v
  1787. ; files with the same name (basename). Disabling the directive improves1 M8 J# t( o: l' e/ e
  1788. ; performance, but may break existing applications.
    " f9 E) p' C/ X3 T0 e
  1789. ;opcache.use_cwd=1# B6 ~3 K: A  B1 a% Y

  1790. ! f4 A0 x; L: t( e
  1791. ; When disabled, you must reset the OPcache manually or restart the7 N# s! D* [' _* P
  1792. ; webserver for changes to the filesystem to take effect.( }5 p1 {1 H) G! w7 Z  d
  1793. ;opcache.validate_timestamps=1" P* b1 b8 _' j" k* U2 X
  1794. 9 K; d' |5 G) x
  1795. ; How often (in seconds) to check file timestamps for changes to the shared9 Q$ r& f" ~4 j5 N3 R
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    , \- w# O4 e7 \: d: f0 C: [
  1797. ; once per request. "0" means always validate)
    6 O4 w6 }) J' e" o- H
  1798. ;opcache.revalidate_freq=2/ d$ e- W" @8 K" J

  1799. ; F) B$ r# c0 T. r! W$ s9 g
  1800. ; Enables or disables file search in include_path optimization
    1 w/ c8 M( I* w
  1801. ;opcache.revalidate_path=0
    ' \( {# l$ m% v/ t8 \3 Y, p8 M
  1802. / m4 R- e; j  U& Z; N+ n, `; _
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    8 p( D6 [/ b7 m* C& e8 M; k
  1804. ; size of the optimized code.. K" Q1 d4 Q( F. g* n' _. L
  1805. ;opcache.save_comments=1. W. O; G3 |1 F$ Q/ i+ U

  1806. 2 S8 k0 Z, y. N1 {
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code% Q, B) @% ]* P* O. c7 B
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    9 B, F; J5 P9 p6 l. ^- _3 @( n
  1809. ;opcache.fast_shutdown=0
    2 \: @7 P' e" _/ ^3 n1 U
  1810. / f% Z+ K1 l' Q9 P/ q, i0 P, ]% W0 Z
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    2 j$ ~# \1 o# o
  1812. ;opcache.enable_file_override=0
    * H) J: D% L2 u: C$ L! K
  1813. 9 e5 u% |! V# ~7 T, K
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache& v7 z& k& u( _
  1815. ; passes
    . b$ g8 e# Z8 a8 I1 a" A7 |5 t; U
  1816. ;opcache.optimization_level=0xffffffff
    8 V( X/ n1 x+ Y1 i- _9 z* U3 g

  1817. 7 p* g7 n2 M- K" N( Q! s
  1818. ;opcache.inherited_hack=1
    7 {$ Z$ U: }" V; s
  1819. ;opcache.dups_fix=0
    , _, s5 p: P3 d2 N& ~* ^* h

  1820. 4 ?9 R& j. D9 f; i( E# |
  1821. ; The location of the OPcache blacklist file (wildcards allowed).3 e- a  Z% r! L9 r2 r
  1822. ; Each OPcache blacklist file is a text file that holds the names of files) P, V% o% b# b  h- s5 g, @5 L
  1823. ; that should not be accelerated. The file format is to add each filename' @9 v4 O' R4 [: p/ c
  1824. ; to a new line. The filename may be a full path or just a file prefix
    & q; _  j  \' G6 f! f- S) h# g( S
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www! W( z5 G' ^0 n: I/ f( E
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).8 x, t$ V7 c, ^. C4 o
  1827. ;opcache.blacklist_filename=
    1 e9 J: q9 m2 D- b

  1828. 0 o+ v! ]- Y' d) y) b3 G3 f7 q# e
  1829. ; Allows exclusion of large files from being cached. By default all files
    7 b& _) k+ B; m' o3 _/ Y1 {5 i5 z
  1830. ; are cached.
    5 o2 ]0 c2 K4 m1 y
  1831. ;opcache.max_file_size=0" G% K5 l! G3 O1 i# j
  1832. . M% s/ U6 h4 A9 P7 T* u; F( W
  1833. ; Check the cache checksum each N requests.' t/ ~1 Z4 b' [: ]& W' [( n
  1834. ; The default value of "0" means that the checks are disabled.
    7 @0 k2 v4 W+ O8 R
  1835. ;opcache.consistency_checks=0
    : f. o5 e: K- u6 x! L. \3 L

  1836. 3 Q/ f: F4 H' S( E* Z# P
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    : d- ?5 v% u) l, b3 B; c9 c: D- I
  1838. ; is not being accessed.
    / f- d/ S1 O  n( q+ a5 V# U
  1839. ;opcache.force_restart_timeout=1803 p9 m0 D, l' b% O

  1840. ( |. o: a$ w9 @3 h( V7 ~7 b
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ) B! I; P$ }3 e: E1 y7 f. `
  1842. ;opcache.error_log=7 g8 @) t2 M" c) G* P3 F, r- p! T
  1843. ; ]) ?/ A/ G$ Z/ M
  1844. ; All OPcache errors go to the Web server log.
    ; C8 {( L% S! U+ `& U7 E- g& H& N
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    3 l& J& h' o9 Y# e7 y
  1846. ; You can also enable warnings (level 2), info messages (level 3) or( _. K( X$ n$ ~6 U/ g
  1847. ; debug messages (level 4).. H& c5 u- z6 W% Z& C
  1848. ;opcache.log_verbosity_level=1
    & S" }4 K4 y' ?* p7 s
  1849. / ^( A4 d& R8 @2 S, T
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.9 G6 x6 e) t& g, J
  1851. ;opcache.preferred_memory_model=
    5 A8 k% h: a$ ^; A2 E5 X. q
  1852. # U3 \% v$ U' C# O3 H: y/ m
  1853. ; Protect the shared memory from unexpected writing during script execution.' e  ^! P. S8 V$ ], p& F; U
  1854. ; Useful for internal debugging only.
    ! L' e. D8 y7 t
  1855. ;opcache.protect_memory=0" n1 L6 N) g! K7 t
  1856. * |0 E; X' W" x* G
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is2 n- @& f5 B# ~8 |, s9 I+ I8 a. Q
  1858. ; started from specified string. The default "" means no restriction
    : M* R5 L6 F3 Q3 Y: r) |1 X6 |0 w" }
  1859. ;opcache.restrict_api=
    6 V4 a6 }/ P: `# {) i6 x

  1860. / `, ~  A2 w1 \! w
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP2 |; e/ [0 d6 V- s+ z6 b! V
  1862. ; processes have to map shared memory into the same address space. This
    1 }7 t% ~# b9 y
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    . n4 `9 N: t: x7 a2 O
  1864. ; errors.$ Z8 O: x5 b! B! z7 }7 Z+ o' \
  1865. ;opcache.mmap_base=8 T: R2 C2 V, W5 Q8 s

  1866. 7 ]" [2 s& @/ J; |* O% i
  1867. ; Enables and sets the second level cache directory.
    % B  D" N  |: h. l* X- k- V! }( p
  1868. ; It should improve performance when SHM memory is full, at server restart or$ s+ ]4 h9 v. N' ]
  1869. ; SHM reset. The default "" disables file based caching.
    4 F+ W3 v% v7 }
  1870. ;opcache.file_cache=5 Z% M4 X" g0 Z
  1871. + w, \  `- v1 h6 t# v. `1 m/ R
  1872. ; Enables or disables opcode caching in shared memory.
    # J6 Y; T4 r) q% r8 K3 u
  1873. ;opcache.file_cache_only=0
    ; G4 ~3 b/ A1 Z  d: i; _
  1874. , B$ S  a6 _- t$ f
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    $ w2 ?, M' x; q& l0 W. q& I
  1876. ;opcache.file_cache_consistency_checks=12 t# \- E& U' L+ }  f

  1877. % a7 A6 M: n2 e0 `
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to# k3 E" _5 j: ~2 e7 _2 `
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    " f( l  P0 q  Q+ {1 L
  1880. ; cache is required.
      V6 l& X& \# j, ^/ Z' C
  1881. ;opcache.file_cache_fallback=1( [; }: N5 D. \! W. u

  1882. 3 R+ _) Q2 n/ D0 @
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.$ j6 m0 E4 @7 L, ?
  1884. ; This should improve performance, but requires appropriate OS configuration.
    & k* `+ @" [! D! w8 a' n: G
  1885. ;opcache.huge_code_pages=1* k  [! B- u0 V8 I0 ^

  1886. ( H2 b1 e7 o8 r+ P* d
  1887. ; Validate cached file permissions.6 |2 A6 b, {+ |* z% R6 o
  1888. ; opcache.validate_permission=0, r- e1 |, F3 b$ L. {

  1889. 6 T$ m# a- w! x% |* u9 q" }
  1890. ; Prevent name collisions in chroot'ed environment.; t# A& c- n+ A- s' T! q
  1891. ; opcache.validate_root=0( c8 u4 r! f8 i  \! e# }3 m

  1892. + a' e4 K4 ]. H- S0 p
  1893. [curl]  V1 Z0 E) w5 l* x! X  F
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
      e7 K# N1 m/ Y4 e$ U% u
  1895. ; absolute path.  k& `0 U8 s4 j# l8 l
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt" k, u& Z6 V7 j5 k
  1897. / _2 J. _. c: k% [7 }( }  m
  1898. [openssl]0 C/ {) V. h( s2 v
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    4 o0 a* x4 x6 ~: P- K  B! \
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should6 A2 J9 _1 ?7 E) K: B3 F& G1 t
  1901. ; not specify a value for this directive as PHP will attempt to use the: K# u, M2 _1 {" {
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ) \6 r1 D) r: [! T# P* w# E
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context) h; ]' i" y. y7 m) Z% {: m
  1904. ; option.
    - i2 L+ m, H9 U' G, l6 ~/ Y
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    - G+ N; W" @9 S, \4 ?7 m
  1906. + Y. }. k6 E4 y- O" R
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the4 e" U) O8 G. G/ p4 c
  1908. ; directory pointed to by openssl.capath is searched for a suitable1 I+ r/ v7 C. L. V/ p3 q
  1909. ; certificate. This value must be a correctly hashed certificate directory.- R3 z9 A( s5 X
  1910. ; Most users should not specify a value for this directive as PHP will1 e. @9 |& d. W( f" F0 H
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,+ k) n$ |+ ~  y1 |: s8 T+ u$ ]5 ^
  1912. ; this value may still be overridden on a per-stream basis via the "capath": e7 m5 U$ S* H5 B; [# D0 ]& t
  1913. ; SSL stream context option.
    , u9 ]6 t; c" O2 G  G
  1914. ;openssl.capath=) ]0 f2 R9 F7 d4 U& T
  1915. $ O) P  z: `2 ^" u
  1916. ; Local Variables:
    4 Y0 [6 H8 V+ E$ Z
  1917. ; tab-width: 4
    8 H0 |7 X7 i- \4 h4 H% S9 o4 y/ V
  1918. ; End:
    0 \2 Q/ }2 i. n0 S2 U6 O
  1919. - Y4 Q% I7 ]9 q( `4 a: @, r, c
  1920. ;eaccelerator& F0 j: g4 c. a9 y

  1921. 1 ^- w9 B* `# \
  1922. ;ionCube
    : R+ p/ D& k# i

  1923. 4 p' {4 Y- j) I$ ~3 x5 e) L
  1924. ;opcache' d7 U; I/ C, z( Q! l5 i
  1925. " v; @9 }. P/ Q! U' P% }
  1926. [Zend ZendGuard Loader]  Z) d9 r, F* x8 U1 C
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.% y7 @4 d% E5 a/ ~
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so5 O& ?* n0 @% s2 u. R9 x$ L0 @. q
  1929. ;zend_loader.enable=1
    1 s7 P2 r, N4 P2 |9 ~
  1930. ;zend_loader.disable_licensing=0
    & C8 p$ p4 G9 Z
  1931. ;zend_loader.obfuscation_level_support=38 T5 I, y& O8 d
  1932. ;zend_loader.license_path=' N6 z4 G! c3 D. f9 G# @: R

  1933. ( ~! X2 o4 Z/ x# Z
  1934. ;xcache8 Y% u% G/ T& X5 k6 i+ H

  1935. 5 [4 d* O* P1 J  H% @
复制代码

+ c  ~% m$ K  f4 ^4 L" b  }8 [
  a5 f3 t3 ~& ]5 Y4 }$ A+ @
/ C! {& g. |# p6 F) |5 D, K
! q0 L0 t3 U9 v  [# w# p5 h8 k3 q& L+ ]+ G5 _. `2 J

9 K8 j8 z: a. d8 [, F8 f+ c. H1 j
- |$ v6 _+ |- _* HPHP5.6版本原始设置7 y# `. e4 l! [6 Y6 S

! W) V- O& p& H" }
  1. [PHP]
    & e0 n' O5 r& K( e0 R

  2. $ d0 s: E* @/ `+ k
  3. ;;;;;;;;;;;;;;;;;;;& R, T. G- i. ?5 d1 r0 R5 _
  4. ; About php.ini   ;
    $ i4 m/ y0 I* n6 V7 }9 W3 D
  5. ;;;;;;;;;;;;;;;;;;;
    . X2 u% @3 F- n! k6 I" z# d8 d
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ; x' @  M6 X3 ~. H% g3 J: [' X
  7. ; configuring many of the aspects of PHP's behavior.
    ! q2 k) o! i2 f  Y
  8. - N: k7 O# l: F" A3 W: |8 C+ r  i
  9. ; PHP attempts to find and load this configuration from a number of locations.3 i) U6 Q5 V8 i/ O/ v6 z7 ~- w
  10. ; The following is a summary of its search order:5 ^7 I; j' c( q9 u
  11. ; 1. SAPI module specific location.- J1 l, Q* |6 E! {- F: i
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0). [( L& q7 f6 P' n
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    1 Q4 N: r& C0 i9 [0 P
  14. ; 4. Current working directory (except CLI)
    : M3 M! p, O. {# u
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    + _+ ~: @6 V; u5 O( f& u2 @
  16. ; (otherwise in Windows)
    5 G$ Z& D4 ^( @$ h, _$ |4 M
  17. ; 6. The directory from the --with-config-file-path compile time option, or the5 K0 [8 H7 p& U2 k. h
  18. ; Windows directory (C:\windows or C:\winnt)
    5 _# s- \3 x! m9 Y- p9 ~) Z
  19. ; See the PHP docs for more specific information.
    " h( h$ U7 E2 b5 e
  20. ; http://php.net/configuration.file8 O' Y6 B2 j$ G2 m
  21.   n" w) T( {. @$ s' D) N
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    # P6 d' U' C$ P* V' f+ f% |! A
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).: A) e, f% l+ t0 Q; ^( g: y
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though0 e; w7 n2 X* |! N
  25. ; they might mean something in the future.4 E% N2 i6 u3 P9 m# H7 \: }

  26. % h' S3 `: T* O! l0 e
  27. ; Directives following the section heading [PATH=/www/mysite] only/ h5 C( s3 T& r+ X" a( `) I
  28. ; apply to PHP files in the /www/mysite directory.  Directives3 `" h! c: A( p$ V/ w# Z8 K
  29. ; following the section heading [HOST=www.example.com] only apply to
    * ]. p/ w2 W9 w1 |9 y5 G8 v9 |" k
  30. ; PHP files served from www.example.com.  Directives set in these
    7 g0 w( f2 Y% b8 `7 g3 X
  31. ; special sections cannot be overridden by user-defined INI files or
    % H/ U: T8 Z7 q+ l. V  c
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under7 r, g5 ?7 f# f/ ~
  33. ; CGI/FastCGI.6 p( n3 l: P) u- W7 u# D
  34. ; http://php.net/ini.sections3 M/ m7 K, m4 C4 Y' @

  35. 4 ]6 o- i* r( ?1 L
  36. ; Directives are specified using the following syntax:
    ) m- }0 ^# d: ?
  37. ; directive = value
    / R8 ]4 q, r/ S$ N7 {" _" ~5 `0 k
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    8 g* F& w. z6 J& Z1 F4 Q: t' |
  39. ; Directives are variables used to configure PHP or PHP extensions.
    4 T/ o& @' D' }/ f& S# g
  40. ; There is no name validation.  If PHP can't find an expected
    - Z8 L$ [; R$ w  r* C7 q+ h
  41. ; directive because it is not set or is mistyped, a default value will be used.2 j! O5 j% o8 ?* p" i

  42. ; I! H+ _* S/ g- v( x
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    6 `# O. j( z1 {5 W
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression  ?0 v& L$ p1 b/ A% V
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a) |" m  X; J1 U: W* p
  46. ; previously set variable or directive (e.g. ${foo})
    - K3 W+ A0 f; ]+ l% ?

  47. 0 K1 p0 q4 R, J6 k: n
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:% M- H: U  \# }' b. O
  49. ; |  bitwise OR
    % F1 _6 m; s8 S9 m1 v
  50. ; ^  bitwise XOR
    6 ~  x3 \0 L' a$ f
  51. ; &  bitwise AND
    * o: e; w3 I% S5 B
  52. ; ~  bitwise NOT% v' d. u& v- D9 a8 O
  53. ; !  boolean NOT
    0 R; X3 I: J; F- B3 c5 K

  54. & `0 ?' Y/ Q% ~$ A  d8 Y- @7 Q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.6 A: Q: ~; f5 [5 F% U$ y) o
  56. ; They can be turned off using the values 0, Off, False or No.
    1 b% S  e  u/ z. C, N6 o4 l
  57.   O# {. h) v1 n/ a8 E3 V  |# v
  58. ; An empty string can be denoted by simply not writing anything after the equal
    $ B& t5 c3 `, b6 y
  59. ; sign, or by using the None keyword:
    ( V) T5 S& ]: e* m5 _

  60. # n: e& S* z) ?- O
  61. ;  foo =         ; sets foo to an empty string$ f7 V+ I4 f% r- c5 |' j
  62. ;  foo = None    ; sets foo to an empty string
    * Q6 q& u& ~* @1 J* t
  63. ;  foo = "None"  ; sets foo to the string 'None'
    0 F- u0 V6 ~) J2 k' {' _

  64. . Y8 l! P5 h: u; e2 f/ z
  65. ; If you use constants in your value, and these constants belong to a
    . Y0 z7 d; B0 n7 A; j' `8 K, Y
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    $ \# d. |/ W% Z4 C$ h
  67. ; you may only use these constants *after* the line that loads the extension.+ \! K4 F, Q% n$ v6 M) l+ W
  68. / M6 S2 a- g) N% W# M# ^% D
  69. ;;;;;;;;;;;;;;;;;;;
    , F2 K' e/ T: w9 B) M
  70. ; About this file ;2 ~* d8 G: D1 g2 R: A; g) E0 r
  71. ;;;;;;;;;;;;;;;;;;;
      r! M% R5 B1 A; H( `( }& V! T
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    7 \; m! r( x9 \( [
  73. ; in production environments and one that is recommended to be used in( n# i6 p: V2 r$ ?  y* ?
  74. ; development environments.& C/ ]7 t& W, z; T
  75. ; O9 X; }! F! t- F! G: F
  76. ; php.ini-production contains settings which hold security, performance and
    " S# w7 T: J! D* R8 `4 Z; I6 V  C
  77. ; best practices at its core. But please be aware, these settings may break- ]: j8 x7 W+ ]  x' S! O0 T0 R: T
  78. ; compatibility with older or less security conscience applications. We
    ; V2 ?; {$ x7 k9 h5 J- |
  79. ; recommending using the production ini in production and testing environments.% {: ~+ ?5 [, A+ A( W
  80. : `" x  z4 d- n7 w; j- q+ c
  81. ; php.ini-development is very similar to its production variant, except it is0 q+ Z) \3 y3 E8 |" a
  82. ; much more verbose when it comes to errors. We recommend using the) |( D: g; J' P4 ^6 z
  83. ; development version only in development environments, as errors shown to
    ) D. p: D* H# W9 H6 Z8 `  F
  84. ; application users can inadvertently leak otherwise secure information.
    # O$ |9 i: M2 i: V$ c. w' [
  85. 2 ?  A- x- }, P$ R% T  x
  86. ; This is php.ini-production INI file.
    1 a; f1 t# u: T9 v* F

  87. + o: H* J1 U3 j
  88. ;;;;;;;;;;;;;;;;;;;$ |2 x( F# ^8 S1 |
  89. ; Quick Reference ;
    * t6 W) x( [4 D$ E, q, G, q7 [& L2 K
  90. ;;;;;;;;;;;;;;;;;;;
    6 r1 k# j8 n, X% o  T% i- w5 v* \
  91. ; The following are all the settings which are different in either the production
    7 _7 s$ {8 h9 {( p' i8 q
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    & N7 y) p8 q- G/ U0 V/ @* ?
  93. ; Please see the actual settings later in the document for more details as to why9 i# }, U; Z7 ~& J. }* D
  94. ; we recommend these changes in PHP's behavior.
    - s. m) d9 c+ M0 g6 D; z9 ~+ L

  95. - n, l1 h1 x+ L; w; W
  96. ; display_errors
    / |* ^; Z( a* {4 v" N. b
  97. ;   Default Value: On+ |% }0 E& p8 `9 d
  98. ;   Development Value: On
    0 r% r' f6 E1 o- m2 @
  99. ;   Production Value: Off
    3 j1 @( x8 v* c* {% D

  100. 9 {7 N& A( G& {
  101. ; display_startup_errors
    * H( S. q" R. v
  102. ;   Default Value: Off% S, @4 n( V; H
  103. ;   Development Value: On
    9 \# g# @# G; x! O# n  K
  104. ;   Production Value: Off. _" b3 B7 C" x7 o8 E
  105. * i0 N9 _% ^- g# r
  106. ; error_reporting
    % C% Y! T9 a$ }& U" H+ t$ E  a$ r: s
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED# V3 H) Z& I- [* g/ W$ j
  108. ;   Development Value: E_ALL7 t6 `9 e1 B0 q) Q5 n7 s4 s
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, x8 e" O( E8 z& T6 A
  110. 7 k/ D, T$ Q3 S) z' ]) f2 K
  111. ; html_errors/ [- |# L+ x5 N6 u8 A0 L
  112. ;   Default Value: On
    : O+ c9 E( c: v$ e4 I( _
  113. ;   Development Value: On
    5 Y# J" E4 C  M
  114. ;   Production value: On
    3 F; a, H! ]: ~, k& R! E

  115. 6 q9 M6 U' N- {/ U: h) v
  116. ; log_errors
    * O* u! C1 N# N7 X
  117. ;   Default Value: Off) z/ U4 N6 C+ N3 I8 M
  118. ;   Development Value: On
    9 b2 o* ^9 l1 J+ p, G) K
  119. ;   Production Value: On
    2 q8 W( g, x1 d7 f8 j) v, c6 y+ b
  120. 6 u9 f0 ?  p+ t/ c5 j! w: u
  121. ; max_input_time
    + Z: u, n4 p! N% v
  122. ;   Default Value: -1 (Unlimited)1 W! K6 w" s5 P7 }' [
  123. ;   Development Value: 60 (60 seconds)
    % |/ n5 B" w! \; S
  124. ;   Production Value: 60 (60 seconds)
    & s. C1 ?1 y0 b9 k1 k

  125. 4 z% R  J' G9 C+ g. L  j
  126. ; output_buffering' ], P5 i* o9 i+ ~9 _3 G
  127. ;   Default Value: Off) b4 `& }+ m9 q+ G/ t8 V
  128. ;   Development Value: 4096
    ; w: q4 j+ B9 K4 D2 d8 t
  129. ;   Production Value: 40967 D- `& L* b+ g

  130. 6 _* R. J! H7 ?. Z, R$ G
  131. ; register_argc_argv
    ) W8 {$ {$ l' j8 J1 b
  132. ;   Default Value: On' a* }! S0 k. {1 M/ ?
  133. ;   Development Value: Off
    : Y, {% \9 V7 Q, ~
  134. ;   Production Value: Off
    % P5 [- l; E& m4 T5 e

  135. ( |" L. ]$ @9 Y# ]1 i
  136. ; request_order6 x' `% E( H/ n
  137. ;   Default Value: None2 h; @' r: ], e5 t% z
  138. ;   Development Value: "GP"
    2 d1 h# W1 W, `3 O0 e
  139. ;   Production Value: "GP"
    0 k" f& _' }4 ^' x

  140.   w5 o5 q6 U9 J7 \+ g
  141. ; session.gc_divisor
    ) r$ g2 Q: h/ C# I
  142. ;   Default Value: 100
    # `0 J- s8 N: w: [
  143. ;   Development Value: 1000( g) _+ d* \' a, g
  144. ;   Production Value: 1000( _; E6 Z) }$ \- d9 _, W9 y, }. ^
  145. , Z" ?# z9 I- i1 ]( N& D1 N
  146. ; session.hash_bits_per_character3 |6 h4 c! q% G) `6 @: [* D7 B
  147. ;   Default Value: 45 Y" s5 r* b- h7 O3 o. e/ {3 H
  148. ;   Development Value: 5
    9 z% Z/ S/ K& l8 c. U; M
  149. ;   Production Value: 5
    + c  O  P! V8 P0 h

  150. " e4 A0 K& E2 ]' C( Q
  151. ; short_open_tag
    ' |2 J3 r: S) M8 n3 g
  152. ;   Default Value: On: G8 K; B- H1 P; O: a' a
  153. ;   Development Value: Off
    # T$ x/ ~0 r& F: Q
  154. ;   Production Value: Off
    * z7 H7 ^  M& ^0 M* P* ^  c' k
  155. ! z  ^& }  Q) h8 |0 n
  156. ; track_errors
    " F/ f4 A; ^# ]' A4 v5 u3 r( e
  157. ;   Default Value: Off" Q8 q' l- V) c5 A( W& K4 F
  158. ;   Development Value: On7 K. ^4 l1 _0 I# B/ O+ c
  159. ;   Production Value: Off
    0 Z7 x* @7 |. a$ d. h3 W* B

  160. / [9 q$ `4 a1 _& x, S- S  h  F+ y
  161. ; url_rewriter.tags$ v) d& Y  j% i3 O- W6 E
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    " w% O" f  O; ^& U  B; L
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 V) G; O* o6 P8 k
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' E$ T7 d. v6 s  W  k

  165. " J' P( W$ o. k; i' m2 b: N
  166. ; variables_order* w2 t: ^" ~4 R6 T$ E" k
  167. ;   Default Value: "EGPCS"
    * u/ j  R& n2 Q0 i) U
  168. ;   Development Value: "GPCS"
    4 c7 ~. |- [3 S1 W: T0 D: w7 c4 {
  169. ;   Production Value: "GPCS"6 ?" d- j* E3 B

  170. ' k6 C7 |& d! j) M
  171. ;;;;;;;;;;;;;;;;;;;;  h6 k+ R; M1 u: B: V5 f: G" K/ y
  172. ; php.ini Options  ;
    / _# ^9 a$ y3 m9 D3 d# x
  173. ;;;;;;;;;;;;;;;;;;;;
    & p7 _) ]! H, K" S) x; c
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    # q, F! d6 _2 d" D. S0 Z
  175. ;user_ini.filename = ".user.ini"& O- K2 o$ o. B: L% A+ Q) j7 n- l
  176. 3 F& Q' B/ e: n+ D1 W. s1 G
  177. ; To disable this feature set this option to empty value
    - O" Z5 t5 J* w7 y
  178. ;user_ini.filename =
    2 }* E: ?# O- a) X" Z& |

  179. " y7 b: @# s4 V! A" ?* ]
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)) n5 V6 ~6 X/ R4 ~+ N8 m
  181. ;user_ini.cache_ttl = 300* n, o8 w, c- d4 a- \' \# E$ o% E: R

  182. 1 Y/ B- o6 n5 K- w% ~& p! [
  183. ;;;;;;;;;;;;;;;;;;;;
    , I5 |1 Z) J5 c+ c2 l* g2 ~
  184. ; Language Options ;
    ( c) Z( l$ [& ?4 z, \
  185. ;;;;;;;;;;;;;;;;;;;;
    - \5 ]% l: E1 o# \) d
  186. 1 ]( w! i3 i. }! {1 W7 r. N9 n
  187. ; Enable the PHP scripting language engine under Apache./ ^) n8 e. s, R: T; q3 C& J0 S
  188. ; http://php.net/engine
    5 ?- z  I# d+ [: ~/ S" f
  189. engine = On
    2 y  u' H; d/ r0 Z

  190. $ ]9 w* D6 ]/ P2 g4 x
  191. ; This directive determines whether or not PHP will recognize code between9 e( ?$ z0 T! q+ z0 C
  192. ; <? and ?> tags as PHP source which should be processed as such. It is. `8 q8 f9 U% X
  193. ; generally recommended that <?php and ?> should be used and that this feature$ z3 t& s% ]7 W$ y% y6 W- ^
  194. ; should be disabled, as enabling it may result in issues when generating XML
    0 a$ O! V5 K2 y3 B
  195. ; documents, however this remains supported for backward compatibility reasons.1 n. {% d& \/ k) `+ m% Z
  196. ; Note that this directive does not control the <?= shorthand tag, which can be. {. J/ R1 E& T5 B
  197. ; used regardless of this directive.
    9 m( G) |' x8 H$ w3 V# X& h% U
  198. ; Default Value: On
    / S& z) x( f& X2 f. I
  199. ; Development Value: Off( }/ L5 }, {/ K
  200. ; Production Value: Off9 G& ?  V" W+ W6 Z1 P5 O/ j7 H/ I
  201. ; http://php.net/short-open-tag0 d* T) ^7 ^, Z  Z2 N4 X$ _( Q
  202. short_open_tag = On7 A$ E; I4 K- u
  203. 5 q, h2 m8 s  B6 S- _
  204. ; Allow ASP-style <% %> tags.
    3 p0 l( l. F" p3 _6 Q7 R
  205. ; http://php.net/asp-tags, Z, R0 e* ?" g; H9 h( H. E; ~# A
  206. asp_tags = Off
    8 M: h4 ?5 w6 T& i

  207. ) K. n8 C' ^' a, h
  208. ; The number of significant digits displayed in floating point numbers.' S+ I& P% y7 l* f5 @# o
  209. ; http://php.net/precision
    " c, [, y) m" N, G4 v( R% E
  210. precision = 14
    4 _6 Y( M2 k; ?% T; q, J0 q0 M

  211. ) V$ Z5 v- d8 j6 }
  212. ; Output buffering is a mechanism for controlling how much output data
    ( B# K; H; w2 @3 \
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ' \8 ?3 N. _2 Y$ B$ U5 z! n
  214. ; data to the client. If your application's output exceeds this setting, PHP" N0 E. b8 t; r; d- N2 A
  215. ; will send that data in chunks of roughly the size you specify.
    2 V% b6 {* D& h
  216. ; Turning on this setting and managing its maximum buffer size can yield some% v0 l! P* D/ N2 N  B3 w
  217. ; interesting side-effects depending on your application and web server.$ s  y% V- z! n6 D9 x1 Z: c
  218. ; You may be able to send headers and cookies after you've already sent output
    " [* U( y& s) Q6 i
  219. ; through print or echo. You also may see performance benefits if your server is  e; h0 h- M  w, V+ ^( ?
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    4 T' D, d. j5 ?
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance8 S4 l6 Q& ]  V0 b) l
  222. ; reasons.
    $ F0 J$ u- F/ N' }8 S
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    & l. c7 d$ `5 S" c
  224. ;   functions.
    ; T( X3 O$ D3 {- y: N4 J! u
  225. ; Possible Values:' ^' _7 S1 H; Z# K& q
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    , |" h! X+ S( h; p2 r" o: V5 D
  227. ;   Off = Disabled( b3 P! i2 ]8 c" o
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.( g7 D6 m( C2 `6 j+ L! Z4 A
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ( Q& s$ y" ?5 m8 p7 u) P
  230. ; Default Value: Off, Y5 Y4 @5 }9 m# `* F8 m0 @) s
  231. ; Development Value: 4096
      G$ z& V0 b# E
  232. ; Production Value: 4096
    5 |6 |) i3 t% r# y2 _4 E
  233. ; http://php.net/output-buffering
    + {/ U+ }8 `* o% [
  234. output_buffering = 40963 _. w: g$ P2 U1 y7 I0 }

  235. ( ]4 p2 M/ A3 k% u2 w  @
  236. ; You can redirect all of the output of your scripts to a function.  For
    ! N1 L$ k2 Z  O* d0 v
  237. ; example, if you set output_handler to "mb_output_handler", character. c5 o* Q$ E9 @' ^  i  N* p. n
  238. ; encoding will be transparently converted to the specified encoding.
    $ j. G. }, d4 ?% {( h
  239. ; Setting any output handler automatically turns on output buffering.
    4 E1 j0 v- q9 m! l( Z, t
  240. ; Note: People who wrote portable scripts should not depend on this ini
    7 Z% m/ V1 I+ [  O1 w6 U' K- P
  241. ;   directive. Instead, explicitly set the output handler using ob_start().8 A# M1 ~% D- c# O
  242. ;   Using this ini directive may cause problems unless you know what script
    0 U/ V0 `6 R. C& D' I; |
  243. ;   is doing.1 _1 w2 Y" C5 F9 e, Q' t& A7 K9 Y
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"* f& K; ]- q+ W$ a
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".) o% D. X5 S/ _& ]& a1 G2 [$ W- {) v! Z
  246. ; Note: output_handler must be empty if this is set 'On' !!!!+ c9 C6 @% l7 e0 l- O5 v
  247. ;   Instead you must use zlib.output_handler.2 }0 A1 \- `! f" C" l  X3 B
  248. ; http://php.net/output-handler
    % M9 F2 Z% I5 ]- R$ r7 l
  249. ;output_handler =
    # a! i) G# z# M& `

  250. - x7 A( ]% ^( o8 F: N. Q0 E0 y
  251. ; Transparent output compression using the zlib library
    - @5 k/ H) Z" B- }1 S
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size4 V5 }: o+ E* |6 Q1 r
  253. ; to be used for compression (default is 4KB), f# c+ g: f& k. m$ |& {- M
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP' B, H# i% M* V: F
  255. ;   outputs chunks that are few hundreds bytes each as a result of% a+ x5 x! U+ e/ f6 N7 L( N
  256. ;   compression. If you prefer a larger chunk size for better: W: {/ |2 E- P6 E' @
  257. ;   performance, enable output_buffering in addition.; V7 P: S4 z3 _3 ?, s
  258. ; Note: You need to use zlib.output_handler instead of the standard. @0 X2 H2 E0 y) P2 W! t5 L
  259. ;   output_handler, or otherwise the output will be corrupted.
    ! ^! {6 @: l2 e' e2 H# R. I
  260. ; http://php.net/zlib.output-compression
    # _3 T) h. |' O" r
  261. zlib.output_compression = Off
    1 c2 T6 _$ i( F& l* o, k

  262. $ C1 D7 X7 V* w3 G
  263. ; http://php.net/zlib.output-compression-level  e5 e+ N9 F* Z2 y( E3 I8 b
  264. ;zlib.output_compression_level = -1
    . v# x8 e% P* I8 B
  265. ; a0 ~: K- c4 F2 ?6 ~; E; r
  266. ; You cannot specify additional output handlers if zlib.output_compression' t3 r. a/ B$ V4 A$ l3 A4 l
  267. ; is activated here. This setting does the same as output_handler but in
    " v; W0 ]. N, c' o$ C. a5 _4 Q  t
  268. ; a different order.. w* M3 O/ Z1 r; m" Z
  269. ; http://php.net/zlib.output-handler
    3 n( }, @. A5 M4 [8 ^4 [8 `
  270. ;zlib.output_handler =
      L1 q& Y* h; h7 |
  271. - z+ `4 S% `) _# U8 c, K$ _
  272. ; Implicit flush tells PHP to tell the output layer to flush itself6 Q- Y! t/ A, |/ }4 A
  273. ; automatically after every output block.  This is equivalent to calling the
    5 i; w3 }3 G) [- B) R7 t7 \, u
  274. ; PHP function flush() after each and every call to print() or echo() and each! h" W) w* B& O, t. k8 Y: Z4 W5 J
  275. ; and every HTML block.  Turning this option on has serious performance/ l' q# O* b) \  D0 p% j) y
  276. ; implications and is generally recommended for debugging purposes only.  Y" a1 s! J) E5 e* e# I' H$ w3 J0 M
  277. ; http://php.net/implicit-flush# v/ M$ e/ o+ n2 z' H
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 k! D6 |* A8 ~5 @
  279. implicit_flush = Off, M1 K$ f% a. G

  280. 5 t5 G! ~# |5 `9 I) G: {+ K
  281. ; The unserialize callback function will be called (with the undefined class'
    2 }. Q/ V, f% X% ?# Y
  282. ; name as parameter), if the unserializer finds an undefined class
    . M0 j' Z$ n" A. P# Y* @
  283. ; which should be instantiated. A warning appears if the specified function is: x: ?7 V. z( W* K3 Q+ v
  284. ; not defined, or if the function doesn't include/implement the missing class.6 @0 v" G9 ^6 r( C3 L! t5 G
  285. ; So only set this entry, if you really want to implement such a
    ( ?" B9 j+ T9 G% a9 D
  286. ; callback-function.
    - ]8 ]9 z  J7 n1 e( s4 ?. V: K
  287. unserialize_callback_func =% U0 I5 }0 K$ c$ n# r
  288. , l' d$ D  j* s
  289. ; When floats & doubles are serialized store serialize_precision significant
    & Y( }( m8 d; J
  290. ; digits after the floating point. The default value ensures that when floats! M- d, g# r  r
  291. ; are decoded with unserialize, the data will remain the same.
    8 d6 Z7 {- u1 ^. _& B: j( X- t5 u
  292. serialize_precision = 17
    3 ~; m5 x+ Y" R6 H. n1 r
  293. ( F9 h; S! k; ^$ f
  294. ; open_basedir, if set, limits all file operations to the defined directory
    * M9 R% a8 b9 c5 H3 }8 k
  295. ; and below.  This directive makes most sense if used in a per-directory! [  B% g& _" g+ C5 Z. b7 Z
  296. ; or per-virtualhost web server configuration file.
    7 w2 s0 J9 H) c* f$ V  y% G! V
  297. ; http://php.net/open-basedir& B6 w& V1 D5 M3 x& c
  298. ;open_basedir =
    6 q7 D, r% Y2 g# S8 N. T+ D
  299. 1 g/ ^( R' o( u$ j0 l
  300. ; This directive allows you to disable certain functions for security reasons.
    $ D' M9 W  i3 m& B% ~6 Z
  301. ; It receives a comma-delimited list of function names.
    & {! m9 w6 i2 p/ T
  302. ; http://php.net/disable-functions
    4 c( o6 J" S2 q  a5 K
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru0 p0 g8 z& P# F+ q

  304. + U. c; c7 T. {2 y% G' D" g
  305. ; This directive allows you to disable certain classes for security reasons.  N9 Q) h+ o2 Q' E# F1 F
  306. ; It receives a comma-delimited list of class names.
    ( R- k* c& Y+ T' [& O
  307. ; http://php.net/disable-classes4 p3 |, n) ^! Z" x
  308. disable_classes =
    # B- u/ J1 j& L( ~
  309. ! N; e1 l9 n# E2 u4 U' F  ]! i
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in3 ^/ k( w- `2 T1 g  G7 x2 h/ Q
  311. ; <span style="color: ???????"> would work.& W, `( S+ f4 a. u
  312. ; http://php.net/syntax-highlighting
    $ _  t5 r7 T# m7 p7 T9 W2 e
  313. ;highlight.string  = #DD00007 V) l2 \' L: S3 N& \
  314. ;highlight.comment = #FF9900
    9 b6 g2 {2 S/ E. q
  315. ;highlight.keyword = #007700
    4 [- W9 l/ K" _- N7 D" _8 z: Y* ~! y
  316. ;highlight.default = #0000BB
      X$ O# m! x. K5 v/ e
  317. ;highlight.html    = #000000
    ) {; Y5 h) l% s8 C
  318. . c2 E, Y! {$ q
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    : X. X) Q' o- {+ z. U! y, V' @
  320. ; the request. Consider enabling it if executing long requests, which may end up4 R8 |, e$ N2 A# O  s4 m
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior9 I: |. B; D( F( G( f
  322. ; is to disable this feature.
    " B' Z+ u+ U* ], ?
  323. ; http://php.net/ignore-user-abort9 S4 b# N2 H: A! I) i
  324. ;ignore_user_abort = On
    " P4 ^) y: V( U2 |4 j. v' P

  325. $ G3 u+ l9 q3 F2 t- U
  326. ; Determines the size of the realpath cache to be used by PHP. This value should6 }- U: o5 B% Q8 S# W2 {8 I7 G7 q
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    # f, N" q; d/ r' s
  328. ; the file operations performed.+ O/ U4 K& w9 Z$ H; C
  329. ; http://php.net/realpath-cache-size
    4 \8 D) [# g, ]* n" E
  330. ;realpath_cache_size = 16k! C& Y9 H1 W7 I8 o- T

  331. / R5 z1 A7 o3 n1 f
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    " v7 S% a9 S% t" z$ v
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    2 o9 i' h4 ^8 e$ G$ W* w
  334. ; value." k3 l6 a+ Y! I- u% o5 \7 |
  335. ; http://php.net/realpath-cache-ttl
    6 G% t' w( s6 [9 R
  336. ;realpath_cache_ttl = 120" T) Y* W. e0 [3 ^5 G7 o9 P9 M; A& p
  337. # K, B/ T. ^) {# v% j
  338. ; Enables or disables the circular reference collector./ ~% v# @) T* F5 A0 f
  339. ; http://php.net/zend.enable-gc
    7 x# y2 Z) T( M% g- S, A4 g
  340. zend.enable_gc = On* V+ ~4 k7 _: ]- g, Y
  341. 0 y. w$ I$ f! h& T' c
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    % f& U8 X5 Q: g8 y, y2 i1 T
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such) k* O5 l3 @2 ]+ \+ f; e2 v" P
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    6 i4 D! j" Q( z; c: w
  345. ; Default: Off( C. j3 c$ V& t+ H5 E
  346. ;zend.multibyte = Off. q2 D9 [2 \$ D; s5 t

  347. / K0 J9 b1 B8 U) |, P
  348. ; Allows to set the default encoding for the scripts.  This value will be used4 `3 F, d+ i! Y9 L! M5 ?
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.4 @, J' d6 E, O
  350. ; Only affects if zend.multibyte is set.
    3 G: c, B' L9 X5 f. i5 p  G. T4 N7 N
  351. ; Default: ""
    ; i' U6 M0 V" l9 u8 z$ ?( e+ L
  352. ;zend.script_encoding =2 q4 c* s: u0 ]) M3 y

  353. 5 U2 F7 W$ g+ x. \' H: ^
  354. ;;;;;;;;;;;;;;;;;# J; O( {" i; w
  355. ; Miscellaneous ;
    ( S% l( U* c9 D
  356. ;;;;;;;;;;;;;;;;;- b9 C  ]* a  ?8 o, e/ X' \$ }

  357. 6 e& A3 o* n6 B. O, V3 }
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    $ C$ z" i8 q0 m5 V$ E
  359. ; (e.g. by adding its signature to the Web server header).  It is no security* N# Z6 L0 [8 F- S
  360. ; threat in any way, but it makes it possible to determine whether you use PHP% R3 s4 @/ p# i; g+ H1 L, n
  361. ; on your server or not.
    $ h4 n( w6 }- \# Q- d) I
  362. ; http://php.net/expose-php
    9 P, J  t- A( B: h1 Q7 Q
  363. expose_php = On
    " j( V- E( c7 J9 q
  364. 3 t: r( ]  d$ C
  365. ;;;;;;;;;;;;;;;;;;;/ x4 e/ D, X2 U4 x
  366. ; Resource Limits ;5 x" r$ f+ Z! v5 S* D! i
  367. ;;;;;;;;;;;;;;;;;;;
    " E' A+ l: S6 x, D3 o! M

  368. & O6 e) v7 o" _/ R3 r, x
  369. ; Maximum execution time of each script, in seconds
    2 S9 Y, E6 d/ ~
  370. ; http://php.net/max-execution-time
    . m# O! O3 o% |: s& |
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    3 [, Z, C" z) K, a; i& Q8 S
  372. max_execution_time = 300/ E/ \2 j1 Z, ~% c' h# I
  373. 5 S; W9 ^0 e  ^$ ~
  374. ; Maximum amount of time each script may spend parsing request data. It's a good3 f" K* [: h% N5 a
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly  H  j+ D2 o. ~5 |' d2 u; h7 h
  376. ; long running scripts.3 o; ~) B( }1 |# T" p! v/ B# T
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI5 k+ z( J3 ?4 ?0 P$ h$ W# R
  378. ; Default Value: -1 (Unlimited)
    4 U/ Z+ n+ A6 Y) Q3 U
  379. ; Development Value: 60 (60 seconds)0 @/ ]/ Q% n. i0 R
  380. ; Production Value: 60 (60 seconds)
    # ~+ ~! V' f2 }; |) r9 n
  381. ; http://php.net/max-input-time: Y# z+ ^6 `1 n" A
  382. max_input_time = 60
    " u$ P, a) d  Y7 M2 Y8 h

  383. " f5 n/ ~9 M0 M( f9 _& q9 |
  384. ; Maximum input variable nesting level0 n5 g4 \) Q8 \, F9 ]
  385. ; http://php.net/max-input-nesting-level0 @# {' _9 r) p" R) x
  386. ;max_input_nesting_level = 64+ g; j2 j4 K% o4 G6 ^0 t" N' ]
  387. - Z) x: D. W2 h9 U4 Z8 V" {
  388. ; How many GET/POST/COOKIE input variables may be accepted+ n& S0 ], f. u# V* B. P
  389. ; max_input_vars = 1000
    5 U+ m' K4 q0 j3 Z- k
  390. - Z1 p" i; i. E. Y& B
  391. ; Maximum amount of memory a script may consume (128MB); T9 @* Z/ C7 v" T) w
  392. ; http://php.net/memory-limit) ^  T, x9 r/ }1 v
  393. memory_limit = 128M2 o$ {1 |+ C6 f8 X
  394. . W" Z) j5 {8 m+ x' Y
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" O$ L* c" K8 z- o$ o
  396. ; Error handling and logging ;7 S3 g( `% o' v9 F* _# s
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 ]0 U! @: H- \

  398. ) J. Z$ {2 A3 J& T* o" {- i* S% S
  399. ; This directive informs PHP of which errors, warnings and notices you would like/ u5 L% V% x/ q' S( A; N% R
  400. ; it to take action for. The recommended way of setting values for this
    9 m6 r5 h9 S! v; z
  401. ; directive is through the use of the error level constants and bitwise% W0 R. S* s+ N0 B0 N& c
  402. ; operators. The error level constants are below here for convenience as well as
    " A. S9 ^8 D. W# N$ V$ _" e
  403. ; some common settings and their meanings.2 n# I# L3 R2 @# H: b
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT% D. |) Z0 ~- _6 f
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    # n/ o9 G( e6 N! S
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    5 U0 V5 Q; V7 h/ }3 e% ?. E
  407. ; recommend error reporting setting. Your production server shouldn't be wasting: U6 |, F+ E$ L, T
  408. ; resources complaining about best practices and coding standards. That's what
    ) Z/ P: z8 e! B- b7 V
  409. ; development servers and development settings are for.
    / `8 `" d& `* s3 X1 ~' R
  410. ; Note: The php.ini-development file has this setting as E_ALL. This0 U. R; w5 Z! b% W
  411. ; means it pretty much reports everything which is exactly what you want during4 Y6 t# R6 E+ V  U& U- u  I% V
  412. ; development and early testing.% B5 v- X" M2 T' b5 l( S
  413. ;
    ' v1 N% u# b# g
  414. ; Error Level Constants:
    ; U- M0 x( U4 }- E' X
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
      H3 P% C, g5 M% ~* T- U: p
  416. ; E_ERROR           - fatal run-time errors, T1 S; e: g) V: _, ^
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors1 C% v% ~* V. x  O- U3 a. Q9 ]( E
  418. ; E_WARNING         - run-time warnings (non-fatal errors)/ ^# e! H! W# H2 \2 J* j
  419. ; E_PARSE           - compile-time parse errors
    8 p; h3 e5 T5 t, [+ U; n
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    % m/ t. C% n! R' Y* Q/ N; _
  421. ;                     from a bug in your code, but it's possible that it was
    5 [7 Y6 a% n3 J8 h0 T9 P
  422. ;                     intentional (e.g., using an uninitialized variable and; Y8 U6 }' Y3 p2 o8 J6 O% U) g
  423. ;                     relying on the fact it is automatically initialized to an
    9 J* i9 |  T3 Y5 M7 W) ^- F1 z
  424. ;                     empty string)# F5 l1 M. m0 X3 x
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ' a4 }/ }. T1 h; q) q) \; T4 V
  426. ;                     to your code which will ensure the best interoperability# ~( ]' Z' a0 }% ?7 M
  427. ;                     and forward compatibility of your code
    8 s+ [% b& H2 j' M! J9 n
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    & i# {7 x' ]6 Q7 m% h8 ~$ `
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's' _* ~5 Z6 c" I! I& v  U& q
  430. ;                     initial startup+ F7 |5 W- H1 g; S/ I9 p( u! k
  431. ; E_COMPILE_ERROR   - fatal compile-time errors7 p! J+ O; X2 s0 K) A
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    # V4 [% D  C' W  w; j- v0 N
  433. ; E_USER_ERROR      - user-generated error message/ ^2 ^' Q+ _5 K" p2 p
  434. ; E_USER_WARNING    - user-generated warning message
    3 o  `- |& i( k6 v& A3 Z4 l1 r+ w1 B3 T
  435. ; E_USER_NOTICE     - user-generated notice message% ?7 N1 V, U" }- |  Q9 c( H: V4 k
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    % F( e$ J0 X1 F7 s) j
  437. ;                     of PHP5 A- `0 O2 U; w8 I- ?$ d
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings2 J  s8 q/ p. i. K3 @( ~* x, I
  439. ;
    , O) H+ G: {" p" q
  440. ; Common Values:
    - \! ~3 J  |8 j0 W! X
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    " p7 S) Y2 J2 }9 j8 M3 o
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ' ~: Y1 a( Z, u
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)+ Z/ ?( e7 q5 D! d1 p
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors): l5 T6 Z+ x! g5 P( T, W7 B
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    * c: w2 Y3 Y9 P6 W5 {/ S
  446. ; Development Value: E_ALL
    5 T/ m+ ^& I3 E
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 [# y; n3 w# M  |1 M- X" T. U
  448. ; http://php.net/error-reporting
      k4 h2 Y* n, J9 [" V
  449. error_reporting = E_ALL & ~E_NOTICE
    2 o3 W1 \& @% R9 U" p
  450. : e) F+ A9 @3 l' |( y7 J
  451. ; This directive controls whether or not and where PHP will output errors,
    ! J7 c- e% j3 [& @4 f$ M
  452. ; notices and warnings too. Error output is very useful during development, but$ {# |" z) X- R4 M  P+ Y" c
  453. ; it could be very dangerous in production environments. Depending on the code3 d$ W5 Y. x  {) a$ O1 c
  454. ; which is triggering the error, sensitive information could potentially leak% f0 Z4 j, B/ Z, g
  455. ; out of your application such as database usernames and passwords or worse.  `8 n5 O. s1 k
  456. ; For production environments, we recommend logging errors rather than
    5 _4 U$ G- H2 Z% l+ ^3 }  W+ o9 d0 B
  457. ; sending them to STDOUT." o6 N. n+ t( j; i/ m
  458. ; Possible Values:
    / \  |# T) B; s8 u
  459. ;   Off = Do not display any errors) Y( j2 W5 _- X" B$ j; C
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!); S: D) e+ l/ `+ B% G4 u
  461. ;   On or stdout = Display errors to STDOUT6 T6 i: x! ]5 p' {4 `) `" O
  462. ; Default Value: On
    4 x: @% G: A3 T7 r) X
  463. ; Development Value: On
    . k; [/ g) V: Z5 B
  464. ; Production Value: Off
    3 Q9 Q0 j8 X5 }+ V
  465. ; http://php.net/display-errors
    & D+ ~0 v# a& X! o" s
  466. display_errors = On
    ; Z# F/ I' N: ~0 v) `  o( i
  467. * k' a- n$ J8 U5 ~
  468. ; The display of errors which occur during PHP's startup sequence are handled
    # h7 F# i) S/ C& M$ \3 X
  469. ; separately from display_errors. PHP's default behavior is to suppress those1 E; W8 ]; u* i" y( t
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    . p  Y- T; h" i  o& k  w
  471. ; debugging configuration problems. We strongly recommend you* Y$ p% T9 V, D9 o5 z! E% z
  472. ; set this to 'off' for production servers.+ k- K& a- {" W& `8 Z2 O: L) f0 F
  473. ; Default Value: Off$ {1 K  s6 B. h
  474. ; Development Value: On. w4 ]0 r' r4 V! R  X
  475. ; Production Value: Off
    * I  N4 f  C2 z
  476. ; http://php.net/display-startup-errors: d& K, [$ B% w' j4 s1 N; T  x
  477. display_startup_errors = Off
    : s3 i0 E- X( x7 ?/ j- ?: i
  478. 9 K" k  e" w9 F. S7 Q
  479. ; Besides displaying errors, PHP can also log errors to locations such as a4 ~% _3 K9 w4 A6 |7 A
  480. ; server-specific log, STDERR, or a location specified by the error_log
    3 q% i6 N) Q. U  c4 ?6 ^  A
  481. ; directive found below. While errors should not be displayed on productions  a2 U5 m4 g+ V- C
  482. ; servers they should still be monitored and logging is a great way to do that.
    * Q) G" u3 P4 t0 X. p9 V' u
  483. ; Default Value: Off0 Y2 u3 H3 P1 E! V
  484. ; Development Value: On
    . ~) q9 q' V& T4 |
  485. ; Production Value: On
    3 u4 _; j8 y5 v* F$ B
  486. ; http://php.net/log-errors6 i& g- u3 q( W5 o
  487. log_errors = On9 U5 b5 x* ?( `# T: [
  488. 5 _2 u1 n. b0 Z( I4 P3 \
  489. ; Set maximum length of log_errors. In error_log information about the source is# n  k* Q1 s0 u' A7 \( f' P" x/ \+ r
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    * a- U" r; R7 w/ a, I2 }& S# U7 ^
  491. ; http://php.net/log-errors-max-len: l7 f, Z8 R. c9 _8 U
  492. log_errors_max_len = 1024
    # ~6 s+ y) c2 C+ }  B- u/ x
  493. * Q3 z( v/ i) f0 q
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    8 C8 |5 O( X: m4 r7 W, @
  495. ; line unless ignore_repeated_source is set true.
    - T. w3 u1 {- P8 f, s
  496. ; http://php.net/ignore-repeated-errors
    $ U$ S& S( q- J4 g- _! Z0 c
  497. ignore_repeated_errors = Off' Z$ g0 p& `6 g9 p

  498. 6 \% Z5 }% y* k  @9 e, Q
  499. ; Ignore source of message when ignoring repeated messages. When this setting% P8 a6 ^! w: h" g1 M* C! _8 I6 r
  500. ; is On you will not log errors with repeated messages from different files or* b6 B5 V9 {4 l
  501. ; source lines.2 |; |: J  }& V( ^$ l- L6 \
  502. ; http://php.net/ignore-repeated-source
      s) `* {8 q3 }( w
  503. ignore_repeated_source = Off0 M" P& O2 e$ K

  504. 4 m7 L, |6 o  ]0 F: s$ C0 I! r
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on( |0 c' b0 V: W4 C" H4 T6 X% Y
  506. ; stdout or in the log). This has only effect in a debug compile, and if" m, [3 @$ x( u; R
  507. ; error reporting includes E_WARNING in the allowed list
    6 z- [: Y9 P$ T
  508. ; http://php.net/report-memleaks4 ^" v. a& p9 h  Q% S# x" q
  509. report_memleaks = On3 n3 s. [: i0 a* o/ X$ j% K7 q
  510. ; }9 v' O/ u% ^! d' t
  511. ; This setting is on by default.
    6 N# {3 X: V: J  b/ K+ I5 ?
  512. ;report_zend_debug = 0, n, b  g: U' w3 M4 c
  513. , I6 F5 T1 V* l) i. i5 W
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value4 M3 [6 N* W, R+ P) W
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    7 m' g) y: M; v1 N1 B$ q; z% V' r
  516. ; however be disabled on production servers.4 ?* c5 H3 D+ D* m4 u
  517. ; Default Value: Off7 {& I8 U0 ]5 K, r" c8 ]7 l3 {: I- n
  518. ; Development Value: On
    4 x2 }/ u  c; H
  519. ; Production Value: Off
    5 W- e& D0 O, C) v) z# |
  520. ; http://php.net/track-errors
    0 ^3 O* s: M3 f
  521. track_errors = Off
    8 B8 h! g2 S* |' U1 x/ @
  522.   }* b9 m+ T5 R& |! E. x9 P
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ; M- m% t$ }7 `  F3 B" \
  524. ; http://php.net/xmlrpc-errors& j- C# |8 l1 ~! P  w
  525. ;xmlrpc_errors = 0
    8 i' q* n( c. k

  526. 2 M/ o4 i2 \. y
  527. ; An XML-RPC faultCode
    6 S$ P' z& }; D+ m
  528. ;xmlrpc_error_number = 0
    5 D2 H, ?! A7 ~& B' g& |

  529. 1 ^0 y* g5 ?. r7 ^
  530. ; When PHP displays or logs an error, it has the capability of formatting the( I! X- D! p, {8 ^# c' k8 ?
  531. ; error message as HTML for easier reading. This directive controls whether9 X! ]. X, `2 J% @0 n
  532. ; the error message is formatted as HTML or not.
    6 D2 k  P& K) a& @
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI3 D: f* a+ J& O; j
  534. ; Default Value: On
    ' Z) o% s) p3 R4 ^! z1 M6 f
  535. ; Development Value: On5 z- ]4 f% O6 w# z1 `" S
  536. ; Production value: On
    ' V+ s8 o/ M2 j) U: |: r
  537. ; http://php.net/html-errors
    $ k3 h- Q1 B. o& l/ \  |
  538. html_errors = On
    + [& L9 _) D1 `6 s/ ~

  539. 0 @2 M; A8 u* Z
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    - ~; I1 s. K& ?7 e, d2 a/ P
  541. ; produces clickable error messages that direct to a page describing the error  B# r3 h, j' u  P' ~" P
  542. ; or function causing the error in detail.% ]% f% {/ O( x1 ]1 ]
  543. ; You can download a copy of the PHP manual from http://php.net/docs. }& z: ^5 v/ o, s
  544. ; and change docref_root to the base URL of your local copy including the9 I) r! c* Z3 r4 A' e8 T$ m- `
  545. ; leading '/'. You must also specify the file extension being used including& i' [9 C- ]3 ?5 j+ A
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which& H7 b: _  M6 y* ]
  547. ; case no links to documentation are generated.4 {: o3 _# @5 U+ _* Q1 _* f$ X
  548. ; Note: Never use this feature for production boxes.
    . A2 [2 c9 ^! U& |5 h! \1 _
  549. ; http://php.net/docref-root
    7 C  V( t9 E/ \1 [; m+ u* s
  550. ; Examples3 w. _& l0 v: E4 b" Z; s% ]
  551. ;docref_root = "/phpmanual/", F9 ~! V0 K) W' N8 `& _$ W
  552. 7 r( T$ O2 S: |( M
  553. ; http://php.net/docref-ext. b$ {! v$ u$ |, D
  554. ;docref_ext = .html
    " y- ?0 @# f4 Z) z
  555. + B2 `' F& f+ v, G. p1 s8 u6 U
  556. ; String to output before an error message. PHP's default behavior is to leave$ h* a! D% ?4 o/ g# W' t1 t
  557. ; this setting blank.
    1 [0 a9 t8 l7 Z3 q1 L8 z
  558. ; http://php.net/error-prepend-string
    & E% f$ b* V+ v
  559. ; Example:
    $ l- a! P# N! a  x3 {
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    3 H" e6 C4 M- s( U$ [0 P" A, t/ c% R
  561. , U. L; X1 {1 i; L6 n  U
  562. ; String to output after an error message. PHP's default behavior is to leave1 F1 `$ l1 P' I& i4 z
  563. ; this setting blank.* d4 h- j& J+ J2 m
  564. ; http://php.net/error-append-string6 ]) D& k, `' T/ v( P6 f; z. B
  565. ; Example:
    - M9 V6 l: l, o% D  `  I3 V
  566. ;error_append_string = "</span>"
    ) e6 t  P+ b# G, N; z3 Z7 R$ q
  567. + s# X- M# [2 ~3 |
  568. ; Log errors to specified file. PHP's default behavior is to leave this value, @  A5 O/ a' w
  569. ; empty.
    : q( R% m$ w) d% c
  570. ; http://php.net/error-log# m9 s" b" }; u# L5 T* b
  571. ; Example:
    " e1 G. w/ S' ^# H8 G
  572. ;error_log = php_errors.log
    $ s( V1 W0 j0 Z) b
  573. ; Log errors to syslog (Event Log on Windows)./ a4 L! f9 u0 w  \/ N
  574. ;error_log = syslog
    , f. {# K& F" n
  575. ! x( g- g% v8 Q) O( c9 ~
  576. ;windows.show_crt_warning
    ' Z3 O5 a( ~0 B# c2 h
  577. ; Default value: 0" c3 f4 h, I* R6 e& ^
  578. ; Development value: 0
    & O+ g0 H2 C7 c8 @8 R! U+ K
  579. ; Production value: 06 Q% I4 }9 H  _
  580. 6 D! n, f8 B; ]* s; x
  581. ;;;;;;;;;;;;;;;;;1 q/ Z; O0 E, t+ k
  582. ; Data Handling ;
    ; [. M8 ], c. ^& e" `! n+ B
  583. ;;;;;;;;;;;;;;;;;7 Z/ k' U- e6 ]4 H  _: t. T  }
  584. * C) N% v6 a9 J; d2 B
  585. ; The separator used in PHP generated URLs to separate arguments.
    ' E/ p$ j/ C0 O) }# T$ \0 g
  586. ; PHP's default setting is "&".
    8 U) v1 h, Z' q
  587. ; http://php.net/arg-separator.output; _1 h1 o7 g$ j8 p8 l
  588. ; Example:
    8 W% Q8 F2 q9 o# _
  589. ;arg_separator.output = "&amp;"2 Y% C* S. K' W. A) M4 G0 L

  590. 9 u' P- S5 K  Z2 t
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    1 s( h6 W  y* Y: H4 X% C! T% X
  592. ; PHP's default setting is "&".- \% ?% i0 K+ w# c( P
  593. ; NOTE: Every character in this directive is considered as separator!
      t. M9 B  ~9 y3 j; Q$ x( y/ C- b
  594. ; http://php.net/arg-separator.input- N' x: J  L' S4 z( z4 Y
  595. ; Example:' [. n: ^, u; Z2 H
  596. ;arg_separator.input = ";&"2 L0 J2 p% p, U8 V

  597. " ^2 G( ~/ b5 Y" h& T+ j
  598. ; This directive determines which super global arrays are registered when PHP, o2 P3 ]( X  N, P/ a; ^
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    . H+ [5 t9 k) {' G9 O4 @
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty' T: v8 k) k& R2 M4 h
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    ; Z: @4 k8 E- R1 m' T% w( D- n
  602. ; used as the others, ENV is not recommended on productions servers. You
    4 ~1 g$ |' h4 m: t
  603. ; can still get access to the environment variables through getenv() should you
    7 Y2 S' U! q  ]1 s+ F# b5 X, M4 g
  604. ; need to.1 F6 g8 e7 g- q5 V( Y
  605. ; Default Value: "EGPCS"
    0 R% K5 ~3 a6 q) g" g* \
  606. ; Development Value: "GPCS"
    ; v! q/ q; D4 _3 [0 U- l; z
  607. ; Production Value: "GPCS";
    1 E) V- |' \9 Z, H4 L7 d
  608. ; http://php.net/variables-order
    6 b' d/ r6 _$ }4 S7 m# Y. z
  609. variables_order = "GPCS"
    2 @2 H( `, A' K9 ?
  610. 9 O9 u4 A0 `3 l) r6 Z% Q$ p7 p$ D/ P
  611. ; This directive determines which super global data (G,P & C) should be! W" M% x9 K$ x4 w$ B5 I
  612. ; registered into the super global array REQUEST. If so, it also determines9 l5 t4 Y* X7 k
  613. ; the order in which that data is registered. The values for this directive
    8 N. Y+ @  K7 ~( v4 n7 J
  614. ; are specified in the same manner as the variables_order directive,# X5 `1 G* [4 V$ }' ^
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
      T+ r8 O' C4 P, p
  616. ; in the variables_order directive. It does not mean it will leave the super; Y. I8 y% _' Q. X8 e
  617. ; globals array REQUEST empty.
    ) b; Z0 d7 N( H7 G) }7 C
  618. ; Default Value: None
    % g' Q0 I# T7 b
  619. ; Development Value: "GP"
    3 J3 q: m6 ?# A- X. m
  620. ; Production Value: "GP"
    & c# n+ w3 s4 G  _' [
  621. ; http://php.net/request-order
    . Y0 [  l; V- X8 m
  622. request_order = "GP"( P6 m! P/ l& w7 p( K

  623. / ?" s' K* C* q( U: `
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    ! I9 j- S2 p4 D, M& Z& C% W
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script+ A# Y2 D8 \* ^! M8 p: b9 J7 V
  626. ; is invoked. $argc contains an integer representing the number of arguments7 i  v7 t" t3 p: f
  627. ; that were passed when the script was invoked. These arrays are extremely+ Q- r$ Q0 _( s+ _) W3 A
  628. ; useful when running scripts from the command line. When this directive is
    1 S8 D- d6 K+ C+ _+ I; b& ~" ~& ~
  629. ; enabled, registering these variables consumes CPU cycles and memory each time; L& _" A& A( B" O6 i
  630. ; a script is executed. For performance reasons, this feature should be disabled4 Z/ C. V5 P( R8 n2 Z. D+ }1 X
  631. ; on production servers.
    ! c& ~1 W, |0 |& b# V' j4 N
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    3 X7 {) @/ W* Q( i/ w( |; B: j
  633. ; Default Value: On
    % L/ \( ~* o; c
  634. ; Development Value: Off
    8 g) c& _+ f# L, D- a
  635. ; Production Value: Off
    % m$ q5 \+ w7 K0 S7 i
  636. ; http://php.net/register-argc-argv6 l8 K! N! {0 v& N
  637. register_argc_argv = Off1 i, x7 C% C# W8 @& a# w
  638. : E: [! U  K  p) U
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're% [6 S2 ]) P3 d; L* h, z& [1 B
  640. ; first used (Just In Time) instead of when the script starts. If these$ `& Q' O$ I+ `+ N
  641. ; variables are not used within a script, having this directive on will result
    * i0 b+ m( \# ]' q  ^/ D4 {  M
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    , d$ c& L9 m# k, E3 Z7 ~" h5 ?
  643. ; for this directive to have any affect.1 A( h- ~/ t! F! P0 t3 X
  644. ; http://php.net/auto-globals-jit% F' F/ R* ?# j' Q* a
  645. auto_globals_jit = On
    , e0 u) s" c6 Z0 b

  646. " ^! J# x9 @; ^' D0 T; `3 u
  647. ; Whether PHP will read the POST data.  C% s$ s/ p3 q3 Q3 N/ P
  648. ; This option is enabled by default.0 V0 ^% k( ?3 b5 X+ E# M9 K0 ]
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST; j" h# A6 J8 W1 n
  650. ; and $_FILES to always be empty; the only way you will be able to read the8 [5 \  Z3 ]/ W, {* P  d
  651. ; POST data will be through the php://input stream wrapper. This can be useful3 _% I5 e2 ]% z- W  E
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.# _' O! _6 w2 q2 ]7 j
  653. ; http://php.net/enable-post-data-reading
    0 n/ D0 h% {7 q) N, @
  654. ;enable_post_data_reading = Off: l8 R! k! R+ P) S2 Z% R2 w
  655. ! K- Q# F  B8 k$ l: `
  656. ; Maximum size of POST data that PHP will accept.( L* h/ ?: |& e9 A6 o- w7 X
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading" M: b/ Z; H  a" N
  658. ; is disabled through enable_post_data_reading.! e4 N' o' z! @6 _4 C. {: ?; b4 G
  659. ; http://php.net/post-max-size
    ' w4 G( n* p( y  R# s6 z
  660. post_max_size = 50M$ W+ N% s0 }- A+ y+ Q
  661. 4 _: i5 R6 ]# I3 @' W/ u
  662. ; Automatically add files before PHP document.
    ) U6 i3 B1 \- B) g! A
  663. ; http://php.net/auto-prepend-file4 q3 |! m. O' y% P7 ]3 V
  664. auto_prepend_file =
    # D1 j7 s& ~& W# C8 S" A

  665.   h- y% t3 U2 f6 z, }& C
  666. ; Automatically add files after PHP document.
    + v7 H$ V" ~4 d& x3 N- L: m
  667. ; http://php.net/auto-append-file6 `. O( u. l( N$ N. r
  668. auto_append_file =
    5 s9 X4 m$ Y5 L4 `  Y

  669. ( r( O9 I- a! \" W2 Q4 L' r- ~" `
  670. ; By default, PHP will output a media type using the Content-Type header. To0 G6 G$ e8 }) W9 @+ y5 e/ B/ \
  671. ; disable this, simply set it to be empty.  m4 s2 x# W: y7 v( W$ Y; k8 ~
  672. ;
    8 O6 F/ p+ L3 e( Q; P  \0 {* B
  673. ; PHP's built-in default media type is set to text/html.
    9 w- u, f2 ^5 C
  674. ; http://php.net/default-mimetype
    ! o, z4 {2 l( z& j, o- w9 r1 b3 @
  675. default_mimetype = "text/html"
    ) z$ c9 B" W/ l% `1 r$ u- R
  676. ( ~; L, I, q# Z( Y2 ~- P
  677. ; PHP's default character set is set to UTF-8.# O' y& B' @0 V- T4 ]5 _4 N: `- c
  678. ; http://php.net/default-charset0 z% Z. b0 ^5 [! q
  679. default_charset = "UTF-8"
    9 _( |. G- K1 i1 e* M
  680.   D' ]4 Z, m0 m8 ?* d
  681. ; PHP internal character encoding is set to empty./ n; L0 o% s1 w# N
  682. ; If empty, default_charset is used.
    / Z. Z/ w5 v  k
  683. ; http://php.net/internal-encoding
    : I3 S  X) K  n+ d+ }6 p5 B
  684. ;internal_encoding =. @* v* s9 U( r, y! I1 U

  685. / v; q' Q' Y! Y- b% Y( S
  686. ; PHP input character encoding is set to empty.! m0 @6 N$ O+ C% i7 }! T0 O* m
  687. ; If empty, default_charset is used." Y8 I  A$ H; W7 X0 F
  688. ; http://php.net/input-encoding9 d/ J! u% u. q; y0 ]7 t9 e
  689. ;input_encoding =
    , Y+ M( Y7 T: H% e, `! w# j

  690. 1 \( e  I" J  V" O7 y
  691. ; PHP output character encoding is set to empty.; d7 S% n3 f0 r  |
  692. ; If empty, default_charset is used.2 g9 }; y1 _3 U1 Q: @# b
  693. ; See also output_buffer.# Z1 t- R0 \1 ?( J
  694. ; http://php.net/output-encoding' g9 g7 u7 H+ w4 p
  695. ;output_encoding =) x# K. G( |# }+ r

  696.   |( P/ J4 A0 e1 y9 }) O
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ( m- q; r5 t9 y; I
  698. ; to disable this feature and it will be removed in a future version.' X5 }6 D8 \) E7 v) ]- g
  699. ; If post reading is disabled through enable_post_data_reading,2 b' E9 `! d6 Y7 `; `8 m
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    4 E! C  y: j( u
  701. ; http://php.net/always-populate-raw-post-data. y( P  j& x- t7 H1 W1 u
  702. ;always_populate_raw_post_data = -1# Q& W: Q, @2 L, G- {

  703. / f* o! K% F% {3 G$ A! D1 f% I6 A
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ' J' h' A. ^! Y$ ^& i
  705. ; Paths and Directories ;5 f! t: ^4 n$ @) K1 }- Q
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 }- A' E# N$ o3 ~

  707. + |6 Y% c# d: \1 S; S0 `# ]: F, w7 }
  708. ; UNIX: "/path1:/path2"
    ! w2 }3 U3 s& B6 k2 I
  709. ;include_path = ".:/php/includes"
    , s/ ^3 {& z6 i9 i$ V9 A. l
  710. ;
    2 [" Z  u3 o/ q4 {( ~2 R& X0 x5 ]8 ^
  711. ; Windows: "\path1;\path2") h6 Y3 Y9 s, m0 O
  712. ;include_path = ".;c:\php\includes"9 Y; B0 r" B, S# O8 \- q/ T; O
  713. ;7 B; b. p+ U1 U9 X4 L9 [; a/ k
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    - H5 Z4 |3 d+ d+ o( Z/ \
  715. ; http://php.net/include-path
      m9 P+ O# b5 Z  b9 E7 W& ]

  716. + R7 \3 @3 M3 U' Q
  717. ; The root of the PHP pages, used only if nonempty.- y% v5 V' W: L' Y: M: Z4 Y
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root. u" ]8 _) E& W' p, E
  719. ; if you are running php as a CGI under any web server (other than IIS)- N& R3 }, z1 x, o8 L; U# a) U
  720. ; see documentation for security issues.  The alternate is to use the
    0 O5 h) y; l2 e
  721. ; cgi.force_redirect configuration below) U+ Y0 ^8 V0 V9 \6 d
  722. ; http://php.net/doc-root
    3 X: Q4 Q" S! ^) Y$ p7 G% {6 p
  723. doc_root =# A+ F7 r; S- p3 X, n* Q: Y
  724. 8 H  f8 t& o) g8 P& e' q
  725. ; The directory under which PHP opens the script using /~username used only. d$ u3 V+ R- {# ^7 H) U
  726. ; if nonempty.
    & R& d% u% F$ y  W4 Z) K
  727. ; http://php.net/user-dir# u! D; M1 B$ g( N! ?
  728. user_dir =  @  z  g3 b. M; H
  729. - i. n/ K  P/ u% f) b
  730. ; Directory in which the loadable extensions (modules) reside.* T% G; L+ n- |: p8 Q
  731. ; http://php.net/extension-dir& `: C$ i7 [, s9 A8 ^, s
  732. ; extension_dir = "./"
    $ L$ \+ A, s; _3 b* v& U
  733. ; On windows:
    / k0 _. `, e0 ^1 L3 o/ e. f
  734. ; extension_dir = "ext": P: ~/ J3 l% v) p2 g6 {0 m0 H
  735. 3 q, f: r7 }9 N' R# r' ]
  736. ; Directory where the temporary files should be placed.8 F- Y& a+ V' ?1 W* `+ O
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ; L: P' B0 x4 ]# y3 P. Y
  738. ; sys_temp_dir = "/tmp", o+ }# l, ]& [/ n2 b2 B

  739. 3 }5 O: F( W6 i5 }, i) Q: D+ G
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work. R2 X0 t5 C- z8 g" @0 a& }$ }
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    & a% q1 ]; `3 l) ~# X% d" C
  742. ; disabled on them.! @! W) b) p6 o9 O) P. i1 Q0 `
  743. ; http://php.net/enable-dl
    / @6 K/ @8 j( b" g3 C, Y
  744. enable_dl = Off
    7 Y; N( i5 m9 G9 q1 ^1 u5 d

  745. $ Y; x- o8 q% F
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    * y5 K" V# n8 E5 I' T: c, y. E1 J
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    # P" H$ P1 v' d4 U0 n5 t
  748. ; turn it off here AT YOUR OWN RISK
    ; M0 p% G8 K3 G
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    , h' w5 R) p' f5 N; n! s6 _
  750. ; http://php.net/cgi.force-redirect: ?% |2 w* q: J( u( o
  751. ;cgi.force_redirect = 1
    % P7 n& W1 H1 l$ B! w* }% N# ?" w
  752. & `& P0 c- F, o' W6 [" Y, D
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    8 R6 C2 F' g! Y: g, \  e9 u
  754. ; every request. PHP's default behavior is to disable this feature.
    3 w- m) i/ S+ R6 g6 p5 i
  755. ;cgi.nph = 1
    : Q5 w6 F/ {1 c. I& _5 P  o! i0 t

  756. 3 g2 m: K9 w3 B0 o' [' }
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    # r9 ^6 ]1 z! n; n3 J8 c
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    9 i# {6 E( F1 N; i, f" A
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY. \9 D) z8 J9 q( c% T1 i
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.) x  y' O# h3 @
  761. ; http://php.net/cgi.redirect-status-env
    6 U6 B, _" g3 D+ P3 g: B4 A
  762. ;cgi.redirect_status_env =7 S5 o) z0 s) V) Q
  763. 7 C! _" H0 |( A  D) G
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's+ X% Z6 D+ y8 Z) H: Y+ n- d2 J
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    7 [+ L  y  u' K. ?" h; \2 t
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    & o  w) A9 z/ z1 a- H
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting7 Y, E; u5 l; W1 f: L8 V( r' w& o
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts* w8 Y; u0 F* C8 i+ b2 b, ?* t
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.* q. a8 q/ I* b9 P3 \9 N
  770. ; http://php.net/cgi.fix-pathinfo
    7 ]  S: d! |, r( z! p, l$ p+ ^+ @
  771. cgi.fix_pathinfo=1
    1 D) H4 B0 E  f7 j8 K

  772. 8 Y% h. W7 u8 N3 }/ p" M) m7 @
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ' _) ]9 ^* k( e2 ^: h
  774. ; of the web tree and people will not be able to circumvent .htaccess security.. ]* J+ ]1 p1 \0 L+ N
  775. ; http://php.net/cgi.dicard-path
    ! i1 u7 t! F8 x7 F# E) p1 k
  776. ;cgi.discard_path=1* q% P9 u4 i! O2 _& L$ ?
  777. % ^9 B1 n& K2 \% i& a0 w6 I! ~* z
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate9 Y5 R6 M3 T- y
  779. ; security tokens of the calling client.  This allows IIS to define the
    $ m* ^* A. i! M; o. Y/ Y1 j
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    & y* E# d1 F  m1 [, C5 c/ K
  781. ; does not currently support this feature (03/17/2002)
    $ U9 }+ M  e7 Q/ E# R0 M! r
  782. ; Set to 1 if running under IIS.  Default is zero.3 {; D3 H/ Q* B, b" _9 h
  783. ; http://php.net/fastcgi.impersonate) j# L. w- W; j' S* V3 Q
  784. ;fastcgi.impersonate = 1
    9 a# C' o0 T3 i" s  {, X

  785. . Z; z2 x! V& w6 P3 ~% i
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    9 f( E: `& y6 Z5 D! m1 m, E
  787. ; this feature., d! U" k- T5 y5 V3 @
  788. ;fastcgi.logging = 0
    - p$ W" S$ Y% X+ Z% Q! L
  789. 4 c" n0 x/ O5 `" Y$ D- A
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to- G* G0 ], w, |+ U/ O0 p" `: w
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    * H, }. p, m# a* n8 W1 S: Y
  792. ; is supported by Apache. When this option is set to 1, PHP will send2 N  v) e$ d& r; R: @
  793. ; RFC2616 compliant header.
    4 Z' p! z- }+ D9 Q
  794. ; Default is zero.
    & c' [. N  L6 G- S8 Q0 F
  795. ; http://php.net/cgi.rfc2616-headers  g$ k. Y( C+ T7 `( c  ?: C# C1 S
  796. ;cgi.rfc2616_headers = 0
    ' j+ L/ M/ i1 a# E/ }
  797. 3 f" }) s# E6 E
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!- k- F$ @* H+ t
  799. ; (shebang) at the top of the running script. This line might be needed if the
    2 F4 D5 o5 f5 B" `1 H
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI2 w4 v% o0 T6 r3 K; U
  801. ; mode skips this line and ignores its content if this directive is turned on." n2 A" D2 A+ s
  802. ; http://php.net/cgi.check-shebang-line3 v. ^( a' V' c! Y1 V* p
  803. ;cgi.check_shebang_line=1) z+ I7 f! `% p

  804. $ f+ U9 ^( m/ p3 f0 h
  805. ;;;;;;;;;;;;;;;;
    , t, ?. a0 \5 \  m# @5 Z2 ~/ y. P9 b
  806. ; File Uploads ;. h/ v% I. A3 x' k
  807. ;;;;;;;;;;;;;;;;+ r) `; y+ Q" P6 z, i' }

  808. & C  i+ m! _: O3 t9 o
  809. ; Whether to allow HTTP file uploads." F0 c6 p! }3 u
  810. ; http://php.net/file-uploads
    ; ^: Q' w; O2 V; g
  811. file_uploads = On. o  U) ?1 C, H+ A8 w: g+ F

  812. ( z, _" J$ ]" q( Y
  813. ; Temporary directory for HTTP uploaded files (will use system default if not" m4 D3 m$ t6 ]5 ^8 F7 N& c- ?% {
  814. ; specified).0 f# x# F( [# V- t9 W8 o
  815. ; http://php.net/upload-tmp-dir
    # U8 s/ u+ g" E/ \  W1 a. l5 n& M
  816. ;upload_tmp_dir =3 w9 w; ?8 o  W5 |; A# I: p
  817. 7 n, G1 I+ u. m# U2 |) G
  818. ; Maximum allowed size for uploaded files.
    4 b/ [% G/ s- \  J) |6 \
  819. ; http://php.net/upload-max-filesize+ \! y) e9 s& Z6 q4 p
  820. upload_max_filesize = 50M
    $ U5 k! [  K" X) F

  821. 2 `8 G, ~+ Z! r, o
  822. ; Maximum number of files that can be uploaded via a single request
    : v- E- R# R- L9 N8 L0 e
  823. max_file_uploads = 20( v5 d1 r* Z) w$ s6 Q

  824. ) O/ Q+ c9 b( a# M1 Z" i& w# m
  825. ;;;;;;;;;;;;;;;;;;# v+ u$ W' R7 f! o$ m( U( j5 x9 h' m
  826. ; Fopen wrappers ;. ]0 O, c5 ?1 T% y& W: C6 v6 o3 ?
  827. ;;;;;;;;;;;;;;;;;;
    % e, e) w7 E/ T' Y+ S
  828. 4 e+ Y& b( r8 U. j3 G; v" ~
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.4 ]* T* s% e0 C
  830. ; http://php.net/allow-url-fopen
    , R& C$ F& `+ U3 K- k% z
  831. allow_url_fopen = On
    $ q% Z  i& m" X. h# F; S( e8 F
  832. : y5 L2 }3 D  l8 z
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ) z/ J- X' X( \1 D* H
  834. ; http://php.net/allow-url-include
    ) |% T. p; k; m, V1 F
  835. allow_url_include = Off
    . ~! @* w( ^. j% a) ?1 ^
  836. # W# G6 A$ f1 W7 c3 v
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    # D4 j# P* s$ d/ N' K1 V
  838. ; for this is empty.9 k, i$ \$ M: \
  839. ; http://php.net/from
    + G" _# @# {2 z( l2 N0 f
  840. ;from="john@doe.com"
    & M( v$ R1 v* D) g0 G- c" _& K

  841. / G1 T+ u: _9 D$ n2 m+ M" K- H, I
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    ' f7 P5 @' ^. s" z, s8 l
  843. ; http://php.net/user-agent! F: q' d1 Y0 ^; o! V8 _! f
  844. ;user_agent="PHP"/ _* y7 x3 u6 K. V8 Y+ u4 M

  845. 3 D+ e% \% Q* E* P4 L4 V1 x% I
  846. ; Default timeout for socket based streams (seconds)  G  q( B% {. a! z% J# \9 r4 b0 e
  847. ; http://php.net/default-socket-timeout2 ]( @" q- t, w4 T0 V* N
  848. default_socket_timeout = 60, j7 F/ l0 l  X
  849. ; G: ]6 }4 @' \5 |2 x0 i. D
  850. ; If your scripts have to deal with files from Macintosh systems,
    ! H- B2 O& S- X# v4 O' y6 G
  851. ; or you are running on a Mac and need to deal with files from+ W  X: }8 n8 |+ c7 _5 D) k
  852. ; unix or win32 systems, setting this flag will cause PHP to
    9 D- b) i: f3 T4 I
  853. ; automatically detect the EOL character in those files so that
    * |+ d. s- Y/ [) G  _
  854. ; fgets() and file() will work regardless of the source of the file.
    ; T% X% p3 i7 X
  855. ; http://php.net/auto-detect-line-endings$ n8 C% ]' l9 D$ C; T9 ?2 D
  856. ;auto_detect_line_endings = Off! e  f* t8 }8 \6 R' S4 {1 A
  857. 0 d$ H0 W: y8 F1 K9 W
  858. ;;;;;;;;;;;;;;;;;;;;;;
    - A5 ?% x- w1 S- o* Z
  859. ; Dynamic Extensions ;  v5 Y; d$ ^, D
  860. ;;;;;;;;;;;;;;;;;;;;;;
    5 l6 B4 ]) u, y! h4 C  P9 I. q
  861. % m. m/ q; ?1 i. s  Z& u4 l1 e
  862. ; If you wish to have an extension loaded automatically, use the following
    0 G8 `( d( L  v
  863. ; syntax:
    8 D5 t9 z# X' E
  864. ;
    5 k7 n2 P6 i8 P8 z5 a
  865. ;   extension=modulename.extension
    2 h9 n+ K, n$ a3 t# h4 W7 ^" k
  866. ;
    ) C6 s  m( T; f; k* }
  867. ; For example, on Windows:
    . f1 K. L1 \0 A$ H. N
  868. ;' S2 U) M6 k* z8 P; N# j! X% `
  869. ;   extension=msql.dll
    & _) Y% ?( T! Y* f8 q+ z& Q
  870. ;% b' O! Q, b2 S9 G1 g0 V& ]- j
  871. ; ... or under UNIX:
    8 K3 l4 w* y" I( _' b9 J
  872. ;9 Q8 z1 S: b. J! m# E' p
  873. ;   extension=msql.so
    : F+ u$ u" ]9 ^& U9 B$ ~
  874. ;  `6 Q& \0 g# T9 V6 J1 u2 H
  875. ; ... or with a path:
    ) L7 ~; @; A! w& Z1 w2 Q6 h; w
  876. ;
    7 }4 q1 w$ n! |/ [1 C7 u
  877. ;   extension=/path/to/extension/msql.so
    2 O5 L3 Z( y8 ]1 \
  878. ;3 H; G& K, k( a$ K5 q- i
  879. ; If you only provide the name of the extension, PHP will look for it in its+ h2 M% |; a8 k; L/ X5 U1 }* U: w
  880. ; default extension directory.* X+ o2 N( n9 `& G
  881. ;
    6 Y% E& n8 b" p3 M" `: `& @
  882. ; Windows Extensions
    7 [7 W% ?! i/ n; N
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ( P+ T+ c5 D& R9 v& q. y. P- f
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    7 B5 v$ F$ Z* n8 p& [* _
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).+ O6 H4 {- A2 d* V/ R
  886. ; Be sure to appropriately set the extension_dir directive./ |6 C0 v0 T. ]2 y
  887. ;" ?  e6 ]# z, K. ^' j. \1 z1 I
  888. ;extension=php_bz2.dll* d/ t3 I6 H/ y( P
  889. ;extension=php_curl.dll$ `9 {4 X4 b5 G: A
  890. ;extension=php_fileinfo.dll) A: F: x, {, X( {+ n. T# ^% m
  891. ;extension=php_gd2.dll
    ! r) l, d; B9 |5 B1 T
  892. ;extension=php_gettext.dll+ z1 e1 p) T" Y; l. L
  893. ;extension=php_gmp.dll& E, t4 N# m# e6 f! |; G) M$ ~1 J
  894. ;extension=php_intl.dll8 G" }# m" K( f; t' B
  895. ;extension=php_imap.dll
    5 i" ]! [* P1 }" C3 C$ g# s
  896. ;extension=php_interbase.dll/ Q2 M2 x/ [( D+ m+ p/ L
  897. ;extension=php_ldap.dll
    , Q" T7 E0 y, a+ p7 o2 a9 v
  898. ;extension=php_mbstring.dll2 X/ y: s$ J4 T
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    - L( O9 B* x8 [, C- M7 }
  900. ;extension=php_mysql.dll
    2 H0 u& M+ u$ U9 b( }
  901. ;extension=php_mysqli.dll4 M8 c" j: G2 v7 C% F. y' c
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ) i4 X" @: r; [+ ^4 Y& ]) E
  903. ;extension=php_openssl.dll2 [1 b1 ^& t) t) ^- f1 E, G
  904. ;extension=php_pdo_firebird.dll
    " ^/ u, R- q# q6 s5 y
  905. ;extension=php_pdo_mysql.dll
    ! l( c0 |) |+ u+ `8 @. H0 R
  906. ;extension=php_pdo_oci.dll
    . r: J4 I+ k3 L0 p% y7 Y  v7 {
  907. ;extension=php_pdo_odbc.dll( a& t0 l6 c' Q
  908. ;extension=php_pdo_pgsql.dll6 a* ?( O1 e4 t8 |0 h- J- Y, W
  909. ;extension=php_pdo_sqlite.dll" {. l' N$ I8 u) Y! H
  910. ;extension=php_pgsql.dll; s/ ?( c- \) d  ~% A: p9 x9 f: ?% }0 z
  911. ;extension=php_shmop.dll, N" z6 s6 V, h" J9 ^" [1 {
  912. ( [3 X( U2 c* a1 w; c' i. ]
  913. ; The MIBS data available in the PHP distribution must be installed.
    % R# F" d* Q; g) \% Y/ k( N
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    ; T/ c& k6 U* V4 N# c( T
  915. ;extension=php_snmp.dll
    ; @8 G$ w# _* P1 |
  916. ; f  G: P8 S8 n
  917. ;extension=php_soap.dll
      D6 _/ p6 ]3 q4 u" W  P
  918. ;extension=php_sockets.dll; N4 O: q2 V; u5 e3 p3 n
  919. ;extension=php_sqlite3.dll
    : n7 n* H8 J0 @8 w- W8 ]( d
  920. ;extension=php_sybase_ct.dll0 i; A7 f! W5 ~: }) g" L6 e! s; P( {
  921. ;extension=php_tidy.dll0 b- c& E2 L7 H: X0 g8 d7 [
  922. ;extension=php_xmlrpc.dll1 o4 X+ E! a. r1 K  ^2 o
  923. ;extension=php_xsl.dll+ ^1 }: E) K1 @

  924. * O) B) r" b4 T7 R9 W
  925. ;;;;;;;;;;;;;;;;;;;
    % n( A5 |  v8 b1 f3 l9 L( o% L( l
  926. ; Module Settings ;7 Z% v! [8 K# J1 P9 A* Y/ ~
  927. ;;;;;;;;;;;;;;;;;;;" S. L$ L7 K9 H& ?& N. y

  928. ; U6 }4 I/ J( u# b9 E( c
  929. [CLI Server]
    ) c# S# o- Y' ?
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    , G( C% F2 [  b0 Y
  931. cli_server.color = On& n2 s# q' y. O; ?3 }

  932. 7 x4 a) f0 N/ P# X
  933. [Date]7 o+ u+ ^( J( \9 @3 p8 x0 ~
  934. ; Defines the default timezone used by the date functions
    ! p! |3 d* z9 g3 ^: R, `, z
  935. ; http://php.net/date.timezone9 u( {, e1 r2 I) o% ?, G' _
  936. date.timezone = PRC
    * d, \6 t$ ~$ S! D# d9 }
  937. $ h  ^4 j  J4 f" M' V0 U' V; N
  938. ; http://php.net/date.default-latitude& J0 a+ a' _  |1 l, ^
  939. ;date.default_latitude = 31.7667  }( I: \; t# e
  940. ' |6 ^3 k$ \, e
  941. ; http://php.net/date.default-longitude9 U; R* N& J. ?% W1 F
  942. ;date.default_longitude = 35.23331 l4 y$ }( ]! k: S# V
  943. , c2 t. c# ^  d' s7 y7 m
  944. ; http://php.net/date.sunrise-zenith
    / o" U, k/ o: V0 x9 Q& K
  945. ;date.sunrise_zenith = 90.5833333 r  ~4 G$ t8 }: w% N% O

  946. % ^7 s" T" G5 y! F) I, b
  947. ; http://php.net/date.sunset-zenith
    " `3 B- q* G0 K4 F
  948. ;date.sunset_zenith = 90.583333
    - V9 _6 k- o' C& z) I' I6 e

  949. + S+ }$ H. n8 T' ~4 o2 x! h* u) ?
  950. [filter]
    3 ]$ \. i& Y8 |; W) |: t4 h
  951. ; http://php.net/filter.default7 t; J/ D. H9 }' M' |4 z, L
  952. ;filter.default = unsafe_raw: ^$ ^# V: @5 i- P0 a8 i" P
  953. & |% }5 ]% j) `
  954. ; http://php.net/filter.default-flags8 M4 n8 q! J: X
  955. ;filter.default_flags =( o6 u$ Y$ \8 A, v) M7 I

  956. + x2 S% ?6 |- t& b* ^* ~
  957. [iconv]% M7 Y. U! n3 A$ g/ K% a( R+ {
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    / Q9 l& j- |9 ~3 T
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.: m, \4 h, b$ t! V$ F: q6 C
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    : ]/ t4 G  h& N5 K8 T( F; b% Y$ D
  961. ;iconv.input_encoding =
    ( C* i# c& t5 _5 `

  962. 8 N: S. T" `4 P( ?0 [2 @
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    * A7 A. G/ A$ h  r; k
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.. Z% V3 j  \9 m7 N
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ Q! d( G9 ]  K2 M8 K
  966. ;iconv.internal_encoding =
    5 k0 s& p# Q2 j/ [2 |

  967. : o' I" a6 Y' h* z9 ?1 Z* S, r
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 `: @* j2 M+ r
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.! y/ W; Q: m9 ?/ @2 Z
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    - b& L( w6 H- w7 _3 _2 H
  971. ; To use an output encoding conversion, iconv's output handler must be set
    # o& P0 p% O+ @+ z" K
  972. ; otherwise output encoding conversion cannot be performed.
    6 ]$ ^5 @, a+ g
  973. ;iconv.output_encoding =
    0 L9 H8 Q2 j: c! u! Y  a

  974. 6 e7 l! a/ ?6 V% h
  975. [intl]1 ^5 ~  q6 A( d' w- ]7 K5 }
  976. ;intl.default_locale =
    2 Y( a% o% z( ?& ~! b! j1 D
  977. ; This directive allows you to produce PHP errors when some error
    ; ]% a; Q  C3 p" z- g
  978. ; happens within intl functions. The value is the level of the error produced.0 g% a" P3 P1 j! B& q
  979. ; Default is 0, which does not produce any errors.; f1 e  X7 d( C3 E) _3 Y, w  s
  980. ;intl.error_level = E_WARNING
    $ c# ^# W4 l8 e' T4 x
  981. ;intl.use_exceptions = 0
    7 s/ f/ S! o) t5 [
  982. ; M* k& u6 Q# W' Q7 T( P3 l2 [
  983. [sqlite3]3 X0 L6 `, z7 Y3 e4 E# E
  984. ;sqlite3.extension_dir =& o8 c% h  [4 B8 I% \

  985. 9 }4 H, q; u& Z3 M, ~" O
  986. [Pcre]$ x1 j2 O! [* M
  987. ;PCRE library backtracking limit.
    8 E( `2 z  A# t/ P& D- ]7 [  `
  988. ; http://php.net/pcre.backtrack-limit+ Y. Y' T$ M0 O# w+ \
  989. ;pcre.backtrack_limit=100000
    ( w+ o* W$ a0 h9 h; R& d2 a
  990. 8 d6 F" q) }, h1 [' q
  991. ;PCRE library recursion limit.0 K  R% Q6 M8 g
  992. ;Please note that if you set this value to a high number you may consume all: M$ k7 |* ]+ n: M) U! `% B/ {! e
  993. ;the available process stack and eventually crash PHP (due to reaching the
    3 M( Z. H* q$ f2 o* b, E3 _
  994. ;stack size limit imposed by the Operating System)./ _5 D$ {1 x9 r6 M: @5 o
  995. ; http://php.net/pcre.recursion-limit' U8 J( y, a; ^
  996. ;pcre.recursion_limit=100000: b$ n" z0 ^/ x7 L

  997. * u) y+ ]2 U3 d- J# {
  998. [Pdo]
    1 a! ~( }# H! _9 `2 E3 t, n
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"% Z( c0 V: g' C) d$ W$ `
  1000. ; http://php.net/pdo-odbc.connection-pooling6 q! ]. e# s3 o$ d3 a
  1001. ;pdo_odbc.connection_pooling=strict
    . u& o  G' P0 M& ^/ R$ _& }' s

  1002. ) {" Q& Y; }" ]/ H5 p
  1003. ;pdo_odbc.db2_instance_name
    : L9 x+ \4 U1 a! G* w
  1004. ! _) B# L# ^: D
  1005. [Pdo_mysql]
    % ^: W- `: \  c; G: ]* r+ n
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    5 z. i0 E; a: x3 r% \- R
  1007. ; http://php.net/pdo_mysql.cache_size
      A, i3 E4 e2 c! V$ k. w3 S
  1008. pdo_mysql.cache_size = 20004 o5 _1 i- f+ n
  1009. - t  L: T5 b1 c4 }9 h+ k  e
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + u2 d! L: Z) p2 L) @4 W
  1011. ; MySQL defaults.
    ; W$ P6 z  s( V* Y; M% {. u  H. {
  1012. ; http://php.net/pdo_mysql.default-socket4 p0 y5 A7 D4 [8 u& d4 X, a& [
  1013. pdo_mysql.default_socket=
    7 _( t4 _: u; H: c6 x

  1014. . l# K5 l  z( r' v3 U/ J
  1015. [Phar]4 X% S. x2 E- F7 [, @# a$ W
  1016. ; http://php.net/phar.readonly
      d% c. a- L7 f) E
  1017. ;phar.readonly = On
    1 [+ D  C) z6 d+ U: h
  1018. 4 A9 ^3 Z  v2 o" z, |0 S; b& F
  1019. ; http://php.net/phar.require-hash
    ' @2 |4 I, h. Q. e9 l9 @: V
  1020. ;phar.require_hash = On
    " ^9 l$ u7 F# O* Y) ?# `
  1021. 7 u0 l1 n3 U  X: C
  1022. ;phar.cache_list =
    & \0 Q. c: V) Y7 y5 X3 R' x; L  v
  1023.   L. S3 i. |8 A5 h6 @
  1024. [mail function]. }/ S$ X9 G7 [6 f# r- m
  1025. ; For Win32 only.# D0 [0 W$ V: F3 w7 T: o( g( h5 _
  1026. ; http://php.net/smtp
    ( l7 p4 m  W, ]; e( ?8 s
  1027. SMTP = localhost
    ) s% @8 Z  o  A7 M- V, u3 p- ~* m
  1028. ; http://php.net/smtp-port+ b: T/ y2 M0 e' c
  1029. smtp_port = 25
    : n& I1 m3 j" y7 l( x  W  p" ~6 E
  1030. 9 B! e$ h5 l0 J
  1031. ; For Win32 only.3 ]( d6 R$ z2 H' U/ b0 M( J
  1032. ; http://php.net/sendmail-from
    ! i+ g6 N  T3 k( v3 ^+ f
  1033. ;sendmail_from = me@example.com
    ' ^, C$ f- r' n% a8 @: {

  1034. 1 o0 D4 p! ^- [2 ]
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    . @- x9 e6 w" b
  1036. ; http://php.net/sendmail-path
    ; d( G/ u2 Q. @0 h  \$ V, q
  1037. sendmail_path = /usr/sbin/sendmail -t -i* @. V4 i, `" K. a% K- c) A

  1038. 7 ^' c* K& D9 @- G* v/ W1 }
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    % R5 k+ h, k/ o0 m" w
  1040. ; to the sendmail binary. These parameters will always replace the value of+ U$ m# t5 \- V# V+ t9 N6 D2 C9 n
  1041. ; the 5th parameter to mail().
    + c. m7 O0 F5 z; E
  1042. ;mail.force_extra_parameters =
    / B" ?" b4 o2 C: t2 |

  1043. ! A- C; O' G* T4 v, b( t
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename6 A4 z- O# `" Q  o9 r" }
  1045. mail.add_x_header = On
    0 B5 F' H. |( I) e

  1046. 6 Y5 I* V6 U7 q0 n& h  `
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    7 e: A6 v/ g7 s9 {/ _0 }
  1048. ; the full path of the script, line number, To address and headers.
    " i# K6 W% e& l
  1049. ;mail.log =& y1 Y8 B0 x& ?2 [; F! _
  1050. ; Log mail to syslog (Event Log on Windows).5 F- `6 M# ]' ]" Y. m
  1051. ;mail.log = syslog+ o8 v1 Q. \$ {3 B" e5 y$ }- d+ e' Z

  1052. ! O+ w  e% h) y8 r
  1053. [SQL]) c# {6 S) }, E% }% n9 K7 T' k
  1054. ; http://php.net/sql.safe-mode% J7 U6 d- b  g: n
  1055. sql.safe_mode = Off0 K0 G) k# U1 c

  1056. 4 C8 C6 b3 d. n1 k: S/ N& D, G
  1057. [ODBC]
    & n! I$ ?+ @" r% O6 r0 l" a
  1058. ; http://php.net/odbc.default-db+ e, Y0 ?/ ^3 y# l* M9 E9 V3 Y
  1059. ;odbc.default_db    =  Not yet implemented
    ; B& x7 J$ A( c" l/ V- d0 l
  1060. . w" B' X6 v. I
  1061. ; http://php.net/odbc.default-user
    ( |. H# L4 u+ m' ?" L: U1 G' g
  1062. ;odbc.default_user  =  Not yet implemented
    6 ~6 Y0 C' g0 R" B" e/ }/ K* e
  1063. * c6 v6 e" l; i
  1064. ; http://php.net/odbc.default-pw
    ; C* ~9 ~7 j# n0 b% ?/ n  I
  1065. ;odbc.default_pw    =  Not yet implemented
    . N2 e( x% w3 J- h; J, {* Q! `( b

  1066. % u6 R3 ^, \* ?2 ^: ?4 C/ o9 J5 _
  1067. ; Controls the ODBC cursor model.7 n+ p6 U1 h% P- b1 x
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ' {4 A; V8 v7 a! c: A
  1069. ;odbc.default_cursortype
    ( j: Q; G  t" C# G$ p1 x4 [
  1070. 5 z. p- O( D' E/ W3 z
  1071. ; Allow or prevent persistent links.8 F4 i0 m" C* N4 `0 U! G' a
  1072. ; http://php.net/odbc.allow-persistent
    3 `0 q  f; K* R+ P1 {- z
  1073. odbc.allow_persistent = On
    2 R8 h9 j, ?5 a: D
  1074. 4 n% @/ O( L5 ^% m8 g; Q) v
  1075. ; Check that a connection is still valid before reuse." G, j' T) f- T5 C8 b
  1076. ; http://php.net/odbc.check-persistent
    4 C. q+ J8 Q$ L0 b9 E" E3 i. H
  1077. odbc.check_persistent = On
    2 ]2 J  D1 }3 H& \  Z1 W) j
  1078. ; Q1 L, M% X5 M; ~$ I
  1079. ; Maximum number of persistent links.  -1 means no limit.
    % r4 j, ]  K8 ~* v. T% G6 q
  1080. ; http://php.net/odbc.max-persistent1 s4 s4 C& f1 B# t) M# Y
  1081. odbc.max_persistent = -1
    # L. @! x* _+ a/ R$ j. z3 w- s$ |
  1082. $ c9 V( b4 x4 s' n- I; J
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# a5 H+ Z+ S3 R" `
  1084. ; http://php.net/odbc.max-links
    * o* C9 C- C8 y% l
  1085. odbc.max_links = -1
    : o2 _% [+ o4 H  [- @  i+ A
  1086. 2 |$ X5 I9 G* o2 Q
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    $ |- w# Z: W* d& f
  1088. ; passthru.
    " F, H) L9 K- A, ^
  1089. ; http://php.net/odbc.defaultlrl- k3 a( e/ v4 K
  1090. odbc.defaultlrl = 4096
    : u/ |8 b: J4 h# e1 W3 h. T
  1091. 8 Y/ m0 I0 ?  z: Y& i* L% ]
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    % B7 h& j% `' ]* a
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation" e1 f) c  i) x& A+ u  W0 c
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    , V* u7 x$ t: H9 u/ b8 W% w
  1095. ; http://php.net/odbc.defaultbinmode
    3 g2 r: t" n( C" Y/ ]) Q4 ~3 `& @
  1096. odbc.defaultbinmode = 17 z8 h/ y+ J0 ^7 O. S8 d1 N% r

  1097. 5 ?# F( @( _9 g+ q
  1098. ;birdstep.max_links = -1
    * }; _4 q3 C/ {: K% l

  1099. ) }7 Z' \( _9 C8 Q% G
  1100. [Interbase]
    6 |5 o" c! X/ |& M
  1101. ; Allow or prevent persistent links.
    : s, H: E! ~: g
  1102. ibase.allow_persistent = 1
    & k( c* p- c  `7 `" r3 r) ?, s% p) A

  1103. 6 H1 Y0 R& y! {
  1104. ; Maximum number of persistent links.  -1 means no limit./ u$ D' q& q7 X& m0 O
  1105. ibase.max_persistent = -13 ]0 A* U. r7 x) U/ z" r( e
  1106. ! u1 P8 D6 P5 ^) I8 W1 W# G! G
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / T- m& v) G  I9 C0 S; Q
  1108. ibase.max_links = -1% w; k  B; J& G; H5 {

  1109. 3 C  z" s4 ?. s$ S) }
  1110. ; Default database name for ibase_connect().2 G! r1 E- j0 k" Y% W! ]
  1111. ;ibase.default_db =
    4 W+ _  J) T/ M" q/ ]

  1112. ( h4 _0 u+ A  p% ^' X- o  l
  1113. ; Default username for ibase_connect().
    $ N4 e) u. f2 o  I
  1114. ;ibase.default_user =- g3 i; Y* j- \

  1115. 4 [5 ]/ i& t8 p
  1116. ; Default password for ibase_connect().
    : |, G2 Y8 i# q# p! M5 V
  1117. ;ibase.default_password =
    ( {5 [6 b0 `( r1 r& T0 e/ c' d

  1118. & c% X$ K  p& k' b4 l# C2 v+ D- e% y
  1119. ; Default charset for ibase_connect().
    " j7 b8 D& m2 `, o9 C# `( [( C
  1120. ;ibase.default_charset =
    5 H8 z  [, q; U* j: X7 H
  1121. 3 e# a- T, o. ?1 p
  1122. ; Default timestamp format.
    2 g: }6 A% k% L- }) q6 T  m
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    6 C. d9 ]5 L# |! X

  1124. 7 B, j* m' r3 v, g2 h5 [) r- `, h3 R
  1125. ; Default date format.
    ) \; C* x, K+ ]6 k" k8 Y3 A( q+ X
  1126. ibase.dateformat = "%Y-%m-%d"8 _- c7 P& w) u/ m4 e% O6 `

  1127. 9 D5 R' V: `) \% m) O$ k
  1128. ; Default time format.3 m6 x4 }! j# Q5 G  L! W! ^! U
  1129. ibase.timeformat = "%H:%M:%S"; d% M. |1 S) {" k' R

  1130. $ \% S6 z( B7 T2 _, {/ y% t, S. E; r
  1131. [MySQL]0 |  i7 t, f. B4 n: p# a$ r9 `
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements) H2 @# O" O7 A5 r2 L' j- F
  1133. ; http://php.net/mysql.allow_local_infile- t( i4 [/ o" J# l$ i  j/ Z
  1134. mysql.allow_local_infile = On
      u8 z( j( F: d: I+ l

  1135. 5 n1 ~+ @& E+ }/ T" v' V5 A
  1136. ; Allow or prevent persistent links.
    , o+ O% \: h" ~4 Y* F* X  c( f
  1137. ; http://php.net/mysql.allow-persistent
    $ V8 S# p# a# m) U& U
  1138. mysql.allow_persistent = On5 w) {. |+ V) B- d
  1139. " s4 p: \; p6 T, e- P- H. X, G
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache' c" A% \; s$ ?' s) X
  1141. ; http://php.net/mysql.cache_size! g# O* w5 B* L+ r
  1142. mysql.cache_size = 2000: w3 i" x7 A  p% s7 }' q

  1143. 1 J' h: A' z6 c( J4 o- Q1 m2 T
  1144. ; Maximum number of persistent links.  -1 means no limit.
    , H: _* b: o$ @/ R
  1145. ; http://php.net/mysql.max-persistent
    . A" ?  z) l) N# w2 J( Y3 s( P8 W
  1146. mysql.max_persistent = -1, z2 B9 h4 Q# t# T/ p) D
  1147. * B. ?1 W8 J4 F5 E4 K: F8 {
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % o$ I, j% y6 l: y1 \
  1149. ; http://php.net/mysql.max-links
    & Z- N+ m$ a* d
  1150. mysql.max_links = -1- {: z4 V: ]; r; q# h
  1151. : |9 Q$ ?6 O+ o! J0 k7 l
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    2 Z7 G8 V1 t" W5 H! }) C& W
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    * t# @# L# c" }3 c: d: z
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ) |- E% S) v) t7 ?2 }' `- r3 x4 O, S: l
  1155. ; at MYSQL_PORT.! _$ M+ u/ S: V4 M
  1156. ; http://php.net/mysql.default-port. b/ g8 s8 Z1 n4 `* l! |! b6 a) s! i
  1157. mysql.default_port =8 [! r  E7 N; Z+ E$ s

  1158. , {: S4 z0 y6 X
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in6 m9 ~  B( U$ Q" E6 |3 K  Y$ [9 r* v6 z
  1160. ; MySQL defaults.
    & f8 ^6 D; K' i% S( h" ~+ U
  1161. ; http://php.net/mysql.default-socket) r6 k/ M! J" c% C3 ?: k9 m8 f
  1162. mysql.default_socket =  ^2 z1 ]" a  X$ d: w
  1163. . d$ l2 Z0 c' U5 T3 i
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ( k& P- z- Z9 }4 f& i- `
  1165. ; http://php.net/mysql.default-host
    7 y2 V7 s  e0 E6 [8 I6 l
  1166. mysql.default_host =
    3 h* `$ I+ A. e- V- `8 p9 [& d! V

  1167. ! t$ `/ n+ _! X6 P" ?# q% Q
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).$ R0 q! T+ Y8 a" X; K, N
  1169. ; http://php.net/mysql.default-user
    : X( D) _3 m9 c" @7 v$ y
  1170. mysql.default_user =
    % H3 A) h, E6 s( Z

  1171. 8 j" e+ B4 O: |! V  i
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    3 P( Z3 E$ g4 K$ Q: R4 q; _
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.. i7 w  ^7 z! r8 N- a
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    $ t; q9 C( }$ L5 I
  1175. ; and reveal this password!  And of course, any users with read access to this. g  y# o1 |- l9 [$ D
  1176. ; file will be able to reveal the password as well.! R. N8 V) @4 f  {) @$ ?6 p
  1177. ; http://php.net/mysql.default-password
    $ \  ^4 K- L* ~# l4 c# ?
  1178. mysql.default_password =0 E5 w# m' }9 a* [

  1179. 5 w/ N' d) c0 x" K/ D
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit5 r) b4 b  p# j8 L: n: r7 n
  1181. ; http://php.net/mysql.connect-timeout, @# V3 q: U+ W
  1182. mysql.connect_timeout = 60
    ' i+ M, u4 {1 o
  1183. , k7 |% L! Q) m# H$ @
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    " a2 o' C  M3 }
  1185. ; SQL-Errors will be displayed.
    ; ~5 q9 S4 ?! h% A- F
  1186. ; http://php.net/mysql.trace-mode
    & E6 ~* n; a2 s8 l
  1187. mysql.trace_mode = Off
    2 G1 X# y$ H0 {0 N4 Y, n" G+ V
  1188. % Y0 f+ _# [- Z  ^
  1189. [MySQLi]
    ) F" L& e3 w& b' u  j
  1190. , C& \& q1 p+ o
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ; a, {6 h6 H, L. I- r7 r% [0 B
  1192. ; http://php.net/mysqli.max-persistent
    9 A+ k) W( ]6 j! s
  1193. mysqli.max_persistent = -1
    5 J1 t$ i3 N0 ?7 f

  1194. + r# S0 y% y' o& \+ w
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements  o1 ^3 T* D# J7 I3 ]9 u
  1196. ; http://php.net/mysqli.allow_local_infile
    4 C: x7 j: M! O9 J
  1197. ;mysqli.allow_local_infile = On8 r* R3 o, W' ?! C; S$ Z9 s" s

  1198.   r! _) m& `1 i! N0 u( K$ c4 h
  1199. ; Allow or prevent persistent links./ r. ^! c; W& e5 m9 x
  1200. ; http://php.net/mysqli.allow-persistent
    6 I9 r4 p( x0 K8 y- Q9 W7 w
  1201. mysqli.allow_persistent = On
    % k6 S* m/ W4 o8 x: A
  1202. , a7 O# @5 N, q, w' S, f4 S
  1203. ; Maximum number of links.  -1 means no limit.
    # J+ X# H! T, T. ]( Y- `) r
  1204. ; http://php.net/mysqli.max-links
      h+ b& ^* w2 b) W1 z
  1205. mysqli.max_links = -13 m. o! m1 `2 W( m5 Z

  1206. 0 h1 u* k; D6 r; p9 Q
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache$ g9 O9 o7 e: J- `6 t3 s5 Y
  1208. ; http://php.net/mysqli.cache_size, d! p: r: i% d/ v
  1209. mysqli.cache_size = 2000
    2 a/ q- z- q2 @+ i

  1210. - |$ W+ N, t: s+ r
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    : U* o3 f9 _0 a  B0 t! E+ W
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    9 Q$ k+ x: i. u& W. f& u7 P
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look; z5 s9 V' ]7 [. `( \* n
  1214. ; at MYSQL_PORT.
    7 t, |$ D+ y/ M/ ^" b" b- ~" E
  1215. ; http://php.net/mysqli.default-port
    & J8 p* Q7 Q1 e
  1216. mysqli.default_port = 3306
    - g* k) k( _4 Z: Q

  1217. 4 ~% [; [( a( s& U
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in" _1 P3 v" W& G4 ?4 X5 |# ~  @
  1219. ; MySQL defaults.
    : F) L! O4 K1 X/ ]5 i2 o+ H
  1220. ; http://php.net/mysqli.default-socket
    ( G1 ~) e9 e! M& L3 T5 y0 y5 x! a) I3 V$ V
  1221. mysqli.default_socket =$ U& G. o. s: n4 O- ~
  1222. . Y& u8 P  A0 G) p
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    # P$ Y2 q/ L; J4 y" ?
  1224. ; http://php.net/mysqli.default-host
    4 E7 _2 ]; ?$ z1 W/ N. n
  1225. mysqli.default_host =
    * r8 Q0 \6 q3 Z2 F5 A% l

  1226. 6 Z- o4 r# M2 C% C: v' d( ]+ \$ m
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).7 X3 F# j% u6 H: J7 r8 K
  1228. ; http://php.net/mysqli.default-user5 Q- h( }" Q" t
  1229. mysqli.default_user =
    - }" E; u: c' c

  1230. * N& V/ f% K; G, G5 v
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode)." e4 _0 u2 Y* t, ~. w: q- \1 N
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    - L3 w0 t2 l+ L# e& _  H4 |
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    % M9 |5 [# t& t& @: V6 L+ n% n( j
  1234. ; and reveal this password!  And of course, any users with read access to this
    / m) z( X) t5 D+ I# J
  1235. ; file will be able to reveal the password as well.
    - `0 r. T% |0 f
  1236. ; http://php.net/mysqli.default-pw
    - _. a1 y* W$ E+ }
  1237. mysqli.default_pw =
    ) N: P  ^4 g( s! N. W* n
  1238. ' C0 R/ \& h" `
  1239. ; Allow or prevent reconnect7 ~, }: r+ v7 Z" J
  1240. mysqli.reconnect = Off7 c, C( ~8 k! k" ?) B( j

  1241. % F* \/ {7 f' o2 L
  1242. [mysqlnd]
    , `6 d- Z4 c1 H2 e
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    " A  y* X! D4 x3 R
  1244. ; used to tune and monitor MySQL operations.4 F# h# ?1 _$ F7 s  k: t7 j! }
  1245. ; http://php.net/mysqlnd.collect_statistics! [7 h) n  r7 M9 e0 p& B) k2 m
  1246. mysqlnd.collect_statistics = On0 ?) [# f6 L# a$ \

  1247. 9 [9 w0 Q5 j3 i: N
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be1 ?  m( w& P! Y: J8 O% |5 w, [  h
  1249. ; used to tune and monitor MySQL operations.
    - ^* T2 ^, k" C+ E( e; I* t* b! M  G
  1250. ; http://php.net/mysqlnd.collect_memory_statistics' e. i' N; ]1 Y5 i+ h
  1251. mysqlnd.collect_memory_statistics = Off
    & W5 M/ B# _, z9 m: U

  1252. / `8 ^& Z6 h% c* O. h
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    , O# A5 C+ ?( i
  1254. ; file.
    % @7 R7 J2 Z0 M% `& Y8 Y# ?
  1255. ; http://php.net/mysqlnd.debug
    # d7 T; ~  J7 t% A7 l
  1256. ;mysqlnd.debug =5 d1 Y0 E% N) F; N4 V$ z* o. z3 a7 s
  1257. ' v, F( V3 a7 T/ j/ G' E! }
  1258. ; Defines which queries will be logged.0 z# a" J0 F. D7 j/ g/ X5 a) \' ]
  1259. ; http://php.net/mysqlnd.log_mask/ y0 \4 P% H  Q7 u% ]' }; u
  1260. ;mysqlnd.log_mask = 0. }7 V. q! E. v5 \% C+ r
  1261. 0 U* h- p3 j4 p
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.# q/ n& `0 B  Q  f4 N; B- U
  1263. ; http://php.net/mysqlnd.mempool_default_size
    4 X' T. I6 I2 ^  H* n4 H% `! N
  1264. ;mysqlnd.mempool_default_size = 16000
    7 @4 |+ \+ t' T3 s8 J
  1265. 4 T3 t( i) }8 @  `; h
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.: b% N) w1 v, @: o, _9 A
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    + }% S! ?. `# s- u' u4 `3 L6 O
  1268. ;mysqlnd.net_cmd_buffer_size = 2048: P: y% U8 Z0 D1 A) _! s: f# S

  1269. 5 C2 l' B, b1 G, `# ?) X; F
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    3 W7 J% _% B* {. V: _* s# U
  1271. ; bytes.( M$ h2 k$ j7 v  \" L% a
  1272. ; http://php.net/mysqlnd.net_read_buffer_size- ?% S; Q8 C  c% L* U& p! Q- {
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ( Y6 Z; e; L. F: {7 q/ G

  1274. . G: m. P+ l2 ]9 B$ k
  1275. ; Timeout for network requests in seconds.& K5 ?: Y- v: [
  1276. ; http://php.net/mysqlnd.net_read_timeout
    * h+ I3 ~  r- L9 Q7 [/ Q  F
  1277. ;mysqlnd.net_read_timeout = 31536000
    & ~' K9 D( {$ E0 k0 v. L; B

  1278. 9 _+ }" ?+ \% a# d3 T/ o- b
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    5 r. t/ r" N; L6 D5 ~
  1280. ; key.: q" e( t8 A; F3 @9 u
  1281. ; http://php.net/mysqlnd.sha256_server_public_key. f4 I3 [1 e( O7 B: N0 g9 s
  1282. ;mysqlnd.sha256_server_public_key =/ N. _6 o/ E& c, d# S$ {. ~. c
  1283. % S% T! ~+ L" a  F9 b) W1 u
  1284. [OCI8]# s( E3 J- h' [3 M' t( K0 @

  1285. / z6 P  |6 B; m* b9 @& O
  1286. ; Connection: Enables privileged connections using external
    8 H- n) h6 L! r" p$ d
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ( q8 j8 X0 I. ?. G7 g* l! _& Q
  1288. ; http://php.net/oci8.privileged-connect2 u/ j% U9 J" m% e, U5 x
  1289. ;oci8.privileged_connect = Off
    + f! J: p/ T. ~9 N
  1290. 3 f. F/ T+ L) c, J  L3 Y$ G# K  l
  1291. ; Connection: The maximum number of persistent OCI8 connections per! v0 u8 i* I' ^- Y
  1292. ; process. Using -1 means no limit.& {8 d6 X% S! t, a" E" C  x, y
  1293. ; http://php.net/oci8.max-persistent$ X, a- V# o; Z( r$ z4 Q2 y$ J
  1294. ;oci8.max_persistent = -1
    ! ]4 h( O9 r( n  j% f' B4 a

  1295. 0 w) d2 G5 x. C/ y
  1296. ; Connection: The maximum number of seconds a process is allowed to
    ! C) r6 W: B0 c7 D
  1297. ; maintain an idle persistent connection. Using -1 means idle0 F3 `# h* I( T6 U1 d8 l1 B) c
  1298. ; persistent connections will be maintained forever.
    8 U8 C3 d9 m, Q" l8 }6 @8 j# ^
  1299. ; http://php.net/oci8.persistent-timeout
    + ^4 C6 y& h+ [. b7 {
  1300. ;oci8.persistent_timeout = -1  U9 F% d& K8 k2 s  |; a4 B9 w

  1301. 9 s  }, w4 h# r+ D* v% A) [6 w$ [
  1302. ; Connection: The number of seconds that must pass before issuing a
    * X, c5 J0 j" f
  1303. ; ping during oci_pconnect() to check the connection validity. When
      R4 b- l" j( c- W# U
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    " ], @  P) j! H* i& @6 h
  1305. ; pings completely.$ U. k- I, e& T" M) p9 x+ K5 z
  1306. ; http://php.net/oci8.ping-interval
    4 V8 s% h# T+ w5 g( k* e
  1307. ;oci8.ping_interval = 60
    ' L9 E; I4 I( K4 X

  1308. # _- ^' u$ c$ u  G4 C2 H0 L* `
  1309. ; Connection: Set this to a user chosen connection class to be used
    8 Y5 T, S( X6 _1 R7 c% l$ z
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    # H7 T8 E5 t' ^# ]" d( \: G, Y- O, B
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to* f' U3 K' {  w. m* q% m
  1312. ; the same string for all web servers running the same application,6 Z$ m7 W9 _' @& k# M# B
  1313. ; the database pool must be configured, and the connection string must$ h& G: o. G8 i$ X- B2 C
  1314. ; specify to use a pooled server.
    0 N0 R( c: Z4 X8 ]
  1315. ;oci8.connection_class =; C! N$ b7 t4 o8 {; p& h

  1316. ; I1 J) F4 E# P& Z
  1317. ; High Availability: Using On lets PHP receive Fast Application8 J( ?, Z: r+ k8 _
  1318. ; Notification (FAN) events generated when a database node fails. The
    % h$ T; Z* J. d9 K$ o& a9 A6 D' L' R
  1319. ; database must also be configured to post FAN events.- s3 _) m( e: w9 T1 a
  1320. ;oci8.events = Off( I7 C* L% U# D/ p9 X: B$ r
  1321. . E0 d1 C/ Z' G# h
  1322. ; Tuning: This option enables statement caching, and specifies how; j9 n# I1 W* a5 w
  1323. ; many statements to cache. Using 0 disables statement caching., b6 {) d% w5 I/ |4 I5 }. K  C
  1324. ; http://php.net/oci8.statement-cache-size
    : Y1 X3 ^' @% V9 D( l/ z
  1325. ;oci8.statement_cache_size = 20
    + H/ z& p% z( K2 j7 y- j
  1326. 3 {* f9 [# W9 I0 n8 L, B
  1327. ; Tuning: Enables statement prefetching and sets the default number of5 G& X. u9 w" t4 \- ]' a
  1328. ; rows that will be fetched automatically after statement execution.. z* `, B; x6 x
  1329. ; http://php.net/oci8.default-prefetch
    8 ?& c8 C4 J; C" \
  1330. ;oci8.default_prefetch = 100* m# z5 _0 i8 L! m

  1331. 4 l6 |% }. W: r# H% ?
  1332. ; Compatibility. Using On means oci_close() will not close6 s9 T; {- R* n. V
  1333. ; oci_connect() and oci_new_connect() connections.
    7 G$ q$ f% {  Z, P8 r# u
  1334. ; http://php.net/oci8.old-oci-close-semantics
    5 S0 U2 S1 Q2 ^4 C2 s
  1335. ;oci8.old_oci_close_semantics = Off
    & q; ~( y" K7 Q. N* ?

  1336. # z9 T+ c( y# A$ N6 s. A4 d
  1337. [PostgreSQL]0 k' w/ N$ a" |2 d
  1338. ; Allow or prevent persistent links.
    , m  X% C6 w2 p2 m/ h( I- c
  1339. ; http://php.net/pgsql.allow-persistent
    & e$ f9 }% n+ f5 B& K2 M5 R% p
  1340. pgsql.allow_persistent = On
    " X% I. B$ A% h2 j

  1341. 7 T; g6 o$ M) X* f
  1342. ; Detect broken persistent links always with pg_pconnect().
    ; j/ i% A5 k; c0 E
  1343. ; Auto reset feature requires a little overheads.
    6 l* e, o3 \9 b% d: Q8 Z
  1344. ; http://php.net/pgsql.auto-reset-persistent
    , t( x6 S# Z2 x, Y. x/ }
  1345. pgsql.auto_reset_persistent = Off) M, {5 f" {9 ~8 l
  1346. - b- b4 r$ `8 \! n0 E4 `4 r- M- C1 E4 @
  1347. ; Maximum number of persistent links.  -1 means no limit.
    + O/ M# x# {* s5 J7 g2 W
  1348. ; http://php.net/pgsql.max-persistent
    : Y8 h( J- G& h4 }* D
  1349. pgsql.max_persistent = -19 K/ L% t: N+ N: `

  1350. ; _( V$ A8 z2 ~& m
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.5 D3 T, G  G" y5 a) q
  1352. ; http://php.net/pgsql.max-links
    - J- \- I- G6 a) x9 a) |4 t, s
  1353. pgsql.max_links = -1
    ; x; ^( T6 n% j' L- g, }

  1354. , l5 ?. z* ~0 Q. a2 u! ]
  1355. ; Ignore PostgreSQL backends Notice message or not.6 }1 }! d' g5 x/ a; U( Y
  1356. ; Notice message logging require a little overheads.0 z" [: K9 A0 E7 p0 |
  1357. ; http://php.net/pgsql.ignore-notice- v1 q; G3 b7 d, Q0 ]8 P
  1358. pgsql.ignore_notice = 06 m4 d; @* w( q
  1359. 1 M# O$ A5 U) ^/ G) A
  1360. ; Log PostgreSQL backends Notice message or not.+ I* U! t' ?5 k8 t
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ; p" n7 y( V+ j( j. f9 f8 b
  1362. ; http://php.net/pgsql.log-notice
    1 ?$ D8 c! E8 d  l2 X' U
  1363. pgsql.log_notice = 0$ \5 i6 \; g- k: _
  1364. : J7 b  f3 i& E' b5 A+ H9 c
  1365. [Sybase-CT]
    : ~) O. a7 K  W
  1366. ; Allow or prevent persistent links.7 e3 [& y+ R" t& D% g8 P/ V$ g
  1367. ; http://php.net/sybct.allow-persistent& i* |6 o" {. P3 F# \( T9 U4 j& A
  1368. sybct.allow_persistent = On
    " m0 U2 {4 ^7 @5 O
  1369. 2 }; U, w1 Y3 T; q; j
  1370. ; Maximum number of persistent links.  -1 means no limit.
    % l* ^2 b- J6 X$ D+ {5 s' R' O, t: r
  1371. ; http://php.net/sybct.max-persistent4 U# p3 e$ c8 U& F
  1372. sybct.max_persistent = -1. ~( Y7 z& j- J' M6 G
  1373. 4 W( K6 J* a1 ~" E7 P
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 w( F4 H7 k3 T( J3 |/ u, \. u; _
  1375. ; http://php.net/sybct.max-links
    : b- e5 _5 ]$ P& g/ n* W" }
  1376. sybct.max_links = -12 _0 B. B+ a8 ?8 n8 P7 y; B) t

  1377. # u3 x2 u8 k2 \; L8 t/ G
  1378. ; Minimum server message severity to display.
    $ V; \0 x& N' g. n
  1379. ; http://php.net/sybct.min-server-severity+ f6 m7 C' I" h2 W: n/ S0 U. ]
  1380. sybct.min_server_severity = 10
    ) h& ]6 a& G, N  P
  1381. 9 G- U' ?* J% Y- j$ u3 {/ s
  1382. ; Minimum client message severity to display.
    " S. l  i( @' K2 }' {+ X8 B
  1383. ; http://php.net/sybct.min-client-severity
    2 Y$ I* {6 l5 }4 E- P
  1384. sybct.min_client_severity = 10
    $ V- W3 c( D$ A7 A1 x, q9 t' s& ~
  1385. # l; }$ _7 ~/ I2 _6 `' ?
  1386. ; Set per-context timeout* j0 b; V9 S) X% ^1 U# M
  1387. ; http://php.net/sybct.timeout
      h4 Y4 N$ [7 M" m8 n% c
  1388. ;sybct.timeout=: D' k) N: E* n

  1389. 1 s) @3 b( G; J0 F
  1390. ;sybct.packet_size
    6 G2 O: p5 j: G( g' q

  1391. & R& g7 }) j3 S, K
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.. T5 I. E1 q0 O/ v0 r8 R
  1393. ; Default: one minute
    & h+ I! \8 I3 s- Y' h3 ^' t
  1394. ;sybct.login_timeout=
    : q0 T# ]6 G0 D* r$ g- m6 X( B
  1395. 7 `  H4 c  P) [2 y( R' S/ V
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ; N) O% n# |8 R/ T
  1397. ; Default: none
    1 b  U# }/ y8 K# `- j% z1 Z5 P
  1398. ;sybct.hostname=
    ( G6 \' d, W: o3 D, \
  1399. . ~8 e# e% D. T1 w  N% {
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".# @1 f# h  o0 ]5 b+ a
  1401. ; Default: 01 \" |$ ?! X4 O
  1402. ;sybct.deadlock_retry_count=' H3 w* u7 o# P. q9 @) t

  1403. * w+ C. m3 y5 D/ f
  1404. [bcmath]( N8 X8 B  `/ H
  1405. ; Number of decimal digits for all bcmath functions.
    4 M; J! u4 U7 B3 \6 A" g  c4 P2 w( @: x
  1406. ; http://php.net/bcmath.scale
    - s% g& R8 G, m2 ~4 d% S
  1407. bcmath.scale = 0
    % T& m$ e# X- x4 v  g$ l
  1408. # t/ d4 q6 [  l7 e" ^1 W! O
  1409. [browscap]& f4 |- q# e, b+ F# \6 y1 J
  1410. ; http://php.net/browscap6 [' H6 K+ }  a4 Z/ {( I9 K0 p2 g
  1411. ;browscap = extra/browscap.ini  E- ?, T1 \$ S- g, S; r7 z

  1412. ) s# _0 D2 S. \# m  r$ O
  1413. [Session]
    . P/ s- G8 A1 _5 z8 R
  1414. ; Handler used to store/retrieve data.1 W  X; V1 u/ ?4 g& Q
  1415. ; http://php.net/session.save-handler9 Q6 j  q1 o$ Q: B0 u# v) G' h3 @
  1416. session.save_handler = files
    / g) t6 Q5 H: r' \, m) Q5 ]
  1417. 2 k' c5 G2 r/ u) \3 p
  1418. ; Argument passed to save_handler.  In the case of files, this is the path1 B: r! U# w+ c5 X
  1419. ; where data files are stored. Note: Windows users have to change this8 L) ?$ c  a3 T" G" \
  1420. ; variable in order to use PHP's session functions.7 V0 E& C( o3 B; _3 ^0 J
  1421. ;
    , V1 {1 w/ e) U! [! }) `% y9 I
  1422. ; The path can be defined as:
    2 i# U; S* o; T# O, d+ }7 x
  1423. ;
    ) @2 j% l7 |$ U
  1424. ;     session.save_path = "N;/path"* R  E/ e7 r$ a3 ]
  1425. ;5 q) r9 t# o3 L: F) f# G$ \
  1426. ; where N is an integer.  Instead of storing all the session files in: K0 v! F/ N0 c0 Y* o
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    ( l* [" n0 S4 D2 }  T
  1428. ; store the session data in those directories.  This is useful if. V# V. w: R7 D# R0 G! _: p
  1429. ; your OS has problems with many files in one directory, and is
    & o0 x' M% K5 _+ ]2 m4 S
  1430. ; a more efficient layout for servers that handle many sessions.
    8 R/ l& K1 Y4 y( n0 y9 W
  1431. ;  Q, B' G4 d5 h- i: O+ h
  1432. ; NOTE 1: PHP will not create this directory structure automatically.  T2 \1 \8 `+ `
  1433. ;         You can use the script in the ext/session dir for that purpose./ d- }* l' Y5 Y% X! y0 V
  1434. ; NOTE 2: See the section on garbage collection below if you choose to8 w/ B9 z! S5 s) ~! S) o
  1435. ;         use subdirectories for session storage" q3 v# \' w% W6 J- U, d; v
  1436. ;
    ; r4 p/ r! k' L% S, Z) U* V; @
  1437. ; The file storage module creates files using mode 600 by default.
    ; ]) X% M" a# U3 G* a3 f/ \  t
  1438. ; You can change that by using
    : |, D7 z3 }3 L- r2 b2 L
  1439. ;: t, r6 d! C( R
  1440. ;     session.save_path = "N;MODE;/path"6 `. [; v7 ?7 F( c( U) |
  1441. ;8 K0 z0 \2 l4 M; a2 \
  1442. ; where MODE is the octal representation of the mode. Note that this& M, I+ P( \& W8 u# x6 t
  1443. ; does not overwrite the process's umask.
    : v. ~- Y% _6 T3 Z' M
  1444. ; http://php.net/session.save-path
    ! Y8 k& V, {9 {' e( C0 v
  1445. ;session.save_path = "/tmp"
    . `6 E& Q6 x. J2 h8 V* I( |
  1446. / O% ?9 O! w0 N, w! ]9 ?
  1447. ; Whether to use strict session mode.
    + Y' {+ m7 Q' O5 z0 L
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    7 m% c7 X- e$ y, S- a
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects& u& [$ t0 y% u' @4 c- I
  1450. ; applications from session fixation via session adoption vulnerability. It is/ _' w# n8 v0 M( V2 c$ y& j
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    9 @6 d+ l3 b0 w/ u! T+ G! F
  1452. ; https://wiki.php.net/rfc/strict_sessions
    0 X1 B# G( A1 @8 P5 f
  1453. session.use_strict_mode = 01 [1 ?: z5 C7 p, D! a7 @
  1454. + Q+ m! d$ O% M0 x# M% f2 D
  1455. ; Whether to use cookies.
    # }1 e$ @( r  L
  1456. ; http://php.net/session.use-cookies3 P1 N6 f. Q( t, {, V" V
  1457. session.use_cookies = 1
    - `/ a' t4 V4 Z9 z
  1458. # L& {- f" q$ Y4 ^8 E% ]8 H0 Y! w2 h# `
  1459. ; http://php.net/session.cookie-secure
      s2 v* x. u' N$ g5 E) W
  1460. ;session.cookie_secure =; H: l2 D0 t% }; Q1 Y2 s, f9 w
  1461. 7 t8 ]% ~9 S% B, z) N( l% ~
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    + s! _2 F- Z; m
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    + z" B+ ^% u& ]# a- B  ]
  1464. ; session hijacking when not specifying and managing your own session id. It is6 J2 U0 N" [5 q" r
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    $ d! Z9 F# J# E  j' z$ q, u$ A
  1466. ; http://php.net/session.use-only-cookies
      c/ ?5 B: `' t$ X0 f7 v8 K
  1467. session.use_only_cookies = 1  C% \0 I/ M8 P; t7 K$ F+ K3 Y

  1468. . @/ x1 _3 B* P, _) X& i( K
  1469. ; Name of the session (used as cookie name).
    1 @" f$ ^4 |5 g# I5 h, I
  1470. ; http://php.net/session.name4 x* Y3 ?+ K6 ]1 D4 W" P
  1471. session.name = PHPSESSID3 V, E  |3 H6 }- Q# \

  1472. 9 S4 [9 R) s" \4 y; |4 A1 s
  1473. ; Initialize session on request startup.5 A& f& A8 j/ ]) o6 a# T
  1474. ; http://php.net/session.auto-start2 X9 S: x* w$ \1 A" @
  1475. session.auto_start = 0' \& k8 y) z: B( P& x

  1476. 4 ?6 c7 _% u4 c  D
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.6 c3 l1 X8 p% V7 R
  1478. ; http://php.net/session.cookie-lifetime
    + t4 U, v1 H3 r- B
  1479. session.cookie_lifetime = 0- }- x8 ^" T' E( t5 a
  1480. 2 b4 E* V; Y3 [4 O3 V
  1481. ; The path for which the cookie is valid.
    3 g; h  O- f+ D* i
  1482. ; http://php.net/session.cookie-path
    , [5 N# R7 B2 x- K1 {! `. t; V* w
  1483. session.cookie_path = /
    % s/ h  }; e% x+ `
  1484. , U* m( u8 e* O' A7 M
  1485. ; The domain for which the cookie is valid.
    + {+ h9 F* b- i1 A4 D9 B8 X
  1486. ; http://php.net/session.cookie-domain. g9 t( u* P8 `6 ]( g7 I" p
  1487. session.cookie_domain =
    $ Z0 ?( Z0 h3 e% U; l+ @, v
  1488. 9 z0 Z1 M3 Y: m/ G, ?- `1 u) {/ d
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.& i- Q; @! g# [$ x% u
  1490. ; http://php.net/session.cookie-httponly0 r" p3 t% D0 i4 _
  1491. session.cookie_httponly =  Z2 V& K# _" S) ?, g  W" U

  1492. / D- u4 y+ {3 S8 J/ ]  k& K( V
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    + Q% Q: N7 u' s/ \5 @3 y
  1494. ; http://php.net/session.serialize-handler/ b) e: k$ q8 k1 h1 k$ x
  1495. session.serialize_handler = php
    ; o, |( t1 B' ]: u/ {1 {& m

  1496. / O5 J& B" |2 V; n' q
  1497. ; Defines the probability that the 'garbage collection' process is started( R2 C0 d+ l+ Q% L, g
  1498. ; on every session initialization. The probability is calculated by using: }* s8 W* l0 X2 H. k3 L
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator2 U8 a/ G4 U2 O( N" ^" Z( J
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    7 c% l/ }. Z* F) @9 v" {
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance. H6 f2 Y5 y8 _  o
  1502. ; the gc will run on any give request.# j0 I) V. u+ G% D
  1503. ; Default Value: 1
    4 J/ Y+ b/ F3 s
  1504. ; Development Value: 1
    2 B* D, ?) W% X/ q; l/ M+ J
  1505. ; Production Value: 1
    " H1 h; |4 ]3 Z: Z: G& f+ k7 L
  1506. ; http://php.net/session.gc-probability, z9 h; o2 Y. ^) B
  1507. session.gc_probability = 1) `0 N- Q* f9 Z8 p6 ^; K2 J

  1508. 4 }6 M# s' L7 v0 ^8 ?, B! f/ Q" E& \5 o
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    % z9 L2 [9 n8 F% A
  1510. ; session initialization. The probability is calculated by using the following equation:
    ! U3 ^' n& i- t7 k: j, B
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and0 _- n6 e$ j1 X2 V% `
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    $ N8 w, K1 d  i' T
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 m  U" s0 z) P
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    : D0 I4 P* u* A* P1 I8 r* w
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    # @- o) \" H3 ~8 s: |
  1516. ; this is a more efficient approach.
      _' M% Z. E$ ?4 Z; ~- _7 Q
  1517. ; Default Value: 1008 z. Y6 b( w9 ^2 j
  1518. ; Development Value: 1000
    - R% G! e" C' ~* u4 S6 F1 ~' \+ _
  1519. ; Production Value: 1000+ G" ~0 V- N  H" i1 n% n+ I% E+ u+ [
  1520. ; http://php.net/session.gc-divisor! [/ ]' G* c1 e' {6 C
  1521. session.gc_divisor = 1000
    0 P5 B! B$ y" K  p9 x6 b  |

  1522. 5 A, o1 \. G$ N- ~2 k+ g0 u
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    $ t4 V) ~" @! _1 I
  1524. ; cleaned up by the garbage collection process.2 v8 |3 P0 M$ j: ]2 B# h
  1525. ; http://php.net/session.gc-maxlifetime; W. D$ l5 L! }: P8 J. S
  1526. session.gc_maxlifetime = 1440
    - J" s/ ]- P# x: T
  1527. . e- L% o: g' l" ^; D4 i3 x% p( |
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    % u- r9 y7 p( R, g: ?% u
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ( f3 P. W9 T8 V6 Y: _* v7 a
  1530. ;       happen automatically.  You will need to do your own garbage
    % Q4 r* \" e& k0 a9 ~. D0 ]
  1531. ;       collection through a shell script, cron entry, or some other method.
      I: d/ Y6 G4 L. s
  1532. ;       For example, the following script would is the equivalent of
    ) {0 v* K  ^4 j) w& ]8 O
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    . Y2 n- u4 e, o8 V) n9 y
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    % \1 n- f& e  X+ v. ~& _- `
  1535. 2 Z% ]# l! x/ K1 h, B: i' @% X9 g
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids./ J0 ?$ ~9 x' y4 K; q% |9 S( |6 o
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    5 u! [  O* ~, E# v7 E9 n" S9 O& E' H
  1538. ; considered as valid.4 W' d9 G" q; ^& y. b
  1539. ; http://php.net/session.referer-check8 k0 G* o$ v9 h' w: p% T- X1 b
  1540. session.referer_check =' t( R2 ?6 i) J9 ?0 S# C

  1541. ; A" J  Z3 t* h* @7 H
  1542. ; How many bytes to read from the file.
    1 E  x7 S: N% g) u$ Y
  1543. ; http://php.net/session.entropy-length
    5 j! N+ u% j5 }. @7 y9 \% R
  1544. ;session.entropy_length = 32
    2 k0 z7 C4 G" N) r$ y- P! P8 i

  1545. 1 q( o' M, X$ A
  1546. ; Specified here to create the session id.
    9 Q- J" u$ D1 s
  1547. ; http://php.net/session.entropy-file
    / M6 E' w$ e' @1 p; A# Q) y5 I
  1548. ; Defaults to /dev/urandom
    + `7 E! Y6 @( J2 n1 \- s$ A
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    / V' q6 R- o1 H* u5 @- I
  1550. ; If neither are found at compile time, the default is no entropy file.
    - \5 ~7 m! `& F# A0 d9 M  a
  1551. ; On windows, setting the entropy_length setting will activate the: o9 {4 Z: e6 G: U$ W- ]' x$ @
  1552. ; Windows random source (using the CryptoAPI)* h' w, m' o0 c1 a- J
  1553. ;session.entropy_file = /dev/urandom+ h' O) I( |, |1 {1 K4 \
  1554.   m; B9 E2 Y7 T5 d( ?2 u. l1 N
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    $ h  k1 B- |* H; W+ @/ R$ k; W. \
  1556. ; or leave this empty to avoid sending anti-caching headers.
      a2 m5 F, g+ t4 h0 P
  1557. ; http://php.net/session.cache-limiter0 h0 s$ g; q$ `
  1558. session.cache_limiter = nocache
    $ A3 B6 Q" }( Q' B2 F
  1559. : Y8 [3 B1 k+ X% v1 @& t; q
  1560. ; Document expires after n minutes., o: n& |3 j1 o
  1561. ; http://php.net/session.cache-expire
    # M# e6 ^% X% h+ V2 }6 u9 h8 j$ O+ m
  1562. session.cache_expire = 180
    2 Q6 v& Y- M8 ?  Z0 S/ a

  1563. + k$ E9 ]  [7 N( b
  1564. ; trans sid support is disabled by default.
    4 \1 @1 B7 A% w) f5 a3 Z* b& F
  1565. ; Use of trans sid may risk your users' security." }1 _& D* J  M3 D
  1566. ; Use this option with caution.. ^& [3 E  u. ~' H, |9 t- i- J
  1567. ; - User may send URL contains active session ID8 C9 J; c- W9 N+ e# y
  1568. ;   to other person via. email/irc/etc.
    0 h; ^% M' K# ~+ g# s3 q" j
  1569. ; - URL that contains active session ID may be stored3 |5 P. z: M7 a  w5 m1 [! T
  1570. ;   in publicly accessible computer.0 ]7 y; r: k3 O) ~3 L" t& u6 _
  1571. ; - User may access your site with the same session ID
    3 l9 j4 j+ S) E( @+ i
  1572. ;   always using URL stored in browser's history or bookmarks.; [2 q5 h, I; s* {  h; z$ W& M. s
  1573. ; http://php.net/session.use-trans-sid
    / o' ]! z" ^3 F/ z1 C
  1574. session.use_trans_sid = 08 P  _' |3 ?( {) K& i  N" _6 A; C2 P
  1575. 3 v& M4 i* t8 C' c
  1576. ; Select a hash function for use in generating session ids.9 _* k: u7 ~" Q/ d, m
  1577. ; Possible Values
    * i4 i* W6 o1 s# q2 x( E
  1578. ;   0  (MD5 128 bits)
    9 L4 p5 [5 N0 W  Q) F0 L. ?
  1579. ;   1  (SHA-1 160 bits)! i6 h7 W3 z3 Z# f# m& ~8 ~3 b
  1580. ; This option may also be set to the name of any hash function supported by4 ~( F$ r  j  ]+ @: o
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    . }- U$ Y5 K7 u% x
  1582. ; function.
    6 Y  T0 j0 N+ x( I% Y4 F
  1583. ; http://php.net/session.hash-function' c8 U* E" U: Q
  1584. session.hash_function = 0
    : S2 _; _7 ^5 b8 |
  1585.   }$ G6 O$ x; e- C5 ^+ P
  1586. ; Define how many bits are stored in each character when converting
    4 i. p6 Y5 }6 t" r  v
  1587. ; the binary hash data to something readable.
    8 Q, v8 P/ A! U9 s; a
  1588. ; Possible values:& Z6 b4 c- d+ H+ y. l: g: }
  1589. ;   4  (4 bits: 0-9, a-f)
    6 i( t5 D5 [3 d  m7 s  b2 x
  1590. ;   5  (5 bits: 0-9, a-v)5 A$ G% ]. B& Y1 [' Q0 S) S& C
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")7 v# j" c2 Z# F- h# N
  1592. ; Default Value: 4& z* g4 k, Y$ B. v
  1593. ; Development Value: 5
    + `6 J" u! n( z0 A7 @9 [
  1594. ; Production Value: 5$ v; S: ^" f/ C1 j3 D' P% e
  1595. ; http://php.net/session.hash-bits-per-character2 u# @( C1 ~9 r" o  \; P: w4 i7 \
  1596. session.hash_bits_per_character = 5. J7 C7 z) i. b' _# c5 [3 U
  1597. ' [2 Q3 _& I) |. J3 E8 S
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.; X% c0 A* X: {1 q' v' s! R
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    0 A  X2 b( y% _) W" z" ^7 `
  1600. ; add a hidden <input> field with the info which is otherwise appended$ M0 f: o, a% M) B: `! ^
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    & o9 Q' L0 L+ P/ R' L
  1602. ; Note that all valid entries require a "=", even if no value follows.
    4 K% d" f0 m6 t3 x) J4 R: a) o
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="; b% ~/ |# a: o
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" o! A7 c8 D) l. W
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & b& M( ?$ h! |, h% P( [6 n
  1606. ; http://php.net/url-rewriter.tags
    ; B0 a' z4 P! L
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 F+ O* _6 F+ k# e
  1608. : K/ Y( `" J& ^' p4 g* v$ Y) g
  1609. ; Enable upload progress tracking in $_SESSION
    0 m% }. y  ?8 p7 f$ Y, K: b' {
  1610. ; Default Value: On
    - i( ^7 v: z/ v# h5 X' \0 r; @
  1611. ; Development Value: On
    * @# s0 L8 u5 M& d) j, b. Z: |
  1612. ; Production Value: On# R6 p4 E( n3 f3 ]( E* ]
  1613. ; http://php.net/session.upload-progress.enabled% {4 f% o" p* |1 b
  1614. ;session.upload_progress.enabled = On# L7 x/ t; Y0 _- k" v8 s; O% f
  1615. : ~# w6 p6 b0 s% H, c8 {
  1616. ; Cleanup the progress information as soon as all POST data has been read
    0 Z0 Z; Z1 L/ _9 G6 i) m6 x
  1617. ; (i.e. upload completed).5 ^9 Q: \5 C. p
  1618. ; Default Value: On
    3 K, y1 q7 O9 s9 b& l. D
  1619. ; Development Value: On
    ! j, w) Z" h* t; ~
  1620. ; Production Value: On/ t7 w1 A" H. z9 y6 k% G
  1621. ; http://php.net/session.upload-progress.cleanup
    - {* @7 D2 l- q, i! }$ M7 I! s
  1622. ;session.upload_progress.cleanup = On
    1 L* k. r8 F5 f1 z$ Z0 l  g
  1623. % D8 _: }1 x0 \
  1624. ; A prefix used for the upload progress key in $_SESSION
    7 k) Y# c; o6 m( z  Z/ l! B
  1625. ; Default Value: "upload_progress_"# I1 l, }6 M" q! D1 E
  1626. ; Development Value: "upload_progress_"+ P5 [. c/ f$ ?+ K6 E4 o
  1627. ; Production Value: "upload_progress_", A( [: G8 U; _2 m5 o! b8 r
  1628. ; http://php.net/session.upload-progress.prefix& V4 T8 u6 F7 t4 m8 X$ I# a
  1629. ;session.upload_progress.prefix = "upload_progress_"
    $ P! \  u# b6 S" d2 x5 C# z  P7 }$ U

  1630. . K- J: N" B1 h; X( z5 t
  1631. ; The index name (concatenated with the prefix) in $_SESSION3 i" Z  O+ P# p
  1632. ; containing the upload progress information
    7 n, u, y3 `1 X% O
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # }6 t8 W- f  D/ p
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"6 l8 J2 s& z# W# q
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * w! H, _0 H& P! W
  1636. ; http://php.net/session.upload-progress.name1 c0 K- ^6 _; B# m# I" B8 o; c
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    " p8 \/ F: i7 Z( |5 V/ m: _
  1638. * g4 u+ h- W+ L* t# x" [
  1639. ; How frequently the upload progress should be updated.
    2 Z6 r# n3 A! t  u
  1640. ; Given either in percentages (per-file), or in bytes; q3 y1 v$ j& D
  1641. ; Default Value: "1%"
    $ V6 r; M! K' a: h# o' l
  1642. ; Development Value: "1%"
    . l, o2 C5 u% N, e! v; a+ L
  1643. ; Production Value: "1%"
    " e! _7 H% n. `( O7 E$ J
  1644. ; http://php.net/session.upload-progress.freq% E: F8 K# [6 v$ M" d1 G5 F% E4 {+ u
  1645. ;session.upload_progress.freq =  "1%". y1 X  g5 x% n" E
  1646. ' w4 t* x: W: I7 k$ X- B* a: `
  1647. ; The minimum delay between updates, in seconds
      S2 }! P: c; X$ F7 _
  1648. ; Default Value: 1
    9 e3 f+ \" {1 \1 m9 t" u% x
  1649. ; Development Value: 1
    8 b2 H$ @& ~6 c/ @, w
  1650. ; Production Value: 1! @8 H2 X$ i9 |3 x- H/ y1 z
  1651. ; http://php.net/session.upload-progress.min-freq# B4 U3 g8 H4 W# ~
  1652. ;session.upload_progress.min_freq = "1"5 n' E0 J  ~) O3 c4 X8 ^8 H3 p* M
  1653. ( \3 q$ D6 A+ C1 A, W
  1654. [MSSQL]
    5 P* y# O* c( `# `4 {  }8 A" h
  1655. ; Allow or prevent persistent links.
    # F  s, F$ k6 Z; K% k
  1656. mssql.allow_persistent = On3 N1 S3 |* @, R4 i% Y
  1657. ( \; Z( o; n7 X
  1658. ; Maximum number of persistent links.  -1 means no limit.
    4 |" e% J/ V. n( r" k
  1659. mssql.max_persistent = -10 `9 ]3 _  A+ V; }3 b' L9 S
  1660. 8 R. @7 ^7 T" P$ X
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    / `7 n3 Z( d  {& F+ B6 ^
  1662. mssql.max_links = -12 ^8 M& }/ |/ r( C) f; D) o8 s

  1663. : \5 Z( H+ S5 E) g! Z+ k  ^
  1664. ; Minimum error severity to display.8 G  K; R; n3 k. n' ^* B
  1665. mssql.min_error_severity = 10
    3 `7 X; ~0 G# S

  1666. $ r- Z  c' Y- x$ }) u; k7 F! C
  1667. ; Minimum message severity to display.
    $ e' O: N2 ~( O2 U$ T
  1668. mssql.min_message_severity = 10/ @' p" s9 s4 `. `( G8 k3 z" N
  1669. " j) H3 E3 V( G' e% b9 z
  1670. ; Compatibility mode with old versions of PHP 3.0.
    # Z$ U/ u1 S* }& m7 |
  1671. mssql.compatibility_mode = Off
    ; K* `3 Z+ @1 g, D" e8 N; r
  1672. / i% x/ d( {% p' s, o
  1673. ; Connect timeout
    9 J9 Q' l! H% ^0 W- j. }0 i. c: I( G
  1674. ;mssql.connect_timeout = 5
    " [* K/ u2 j  z1 O4 n2 C$ H! ^
  1675. 8 @4 r4 j: l+ X3 o+ k- O( s# E
  1676. ; Query timeout; w. ?, I7 c2 k; I: C: Q4 F
  1677. ;mssql.timeout = 60
    5 B. y# C& ]6 \1 J9 u

  1678. $ b& b3 [5 t; O" D4 h9 V6 R
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    8 {( m& o4 N( f, j% U
  1680. ;mssql.textlimit = 4096
    2 n2 s. Q; G, k: z; ]
  1681. 8 W/ H0 n& ~, u
  1682. ; Valid range 0 - 2147483647.  Default = 4096./ |: j9 t) |: s+ S- W
  1683. ;mssql.textsize = 4096
    3 N0 _! h& F0 q, t/ R
  1684. ! [% L$ O+ i/ U! K' J) H+ D
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.# d( B1 R" l( A8 o- x
  1686. ;mssql.batchsize = 0& v) G4 \3 f! r8 [9 v/ p

  1687. 4 ^2 u, @  Z$ o( [* ~( P4 @* m
  1688. ; Specify how datetime and datetim4 columns are returned6 y" C% p* R) P2 `! Q3 ]( [. ^8 i
  1689. ; On => Returns data converted to SQL server settings, t9 k2 W7 t) m4 h+ W. a5 w/ M, T
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    3 ~+ U. z0 }5 ?" }. z
  1691. ;mssql.datetimeconvert = On, _( S' C+ E' ?' i7 M1 |+ W
  1692. 0 s* a, \' ?: P! D. y
  1693. ; Use NT authentication when connecting to the server& f' |" l1 ]7 I+ A( s, y  v* @
  1694. mssql.secure_connection = Off
    - {1 p9 \. L+ o, Y

  1695. / F) k+ H% P5 Y6 u4 D5 r& i* [
  1696. ; Specify max number of processes. -1 = library default
    ( m2 `( a1 t& S# O! {
  1697. ; msdlib defaults to 25$ O7 E8 H6 r& q, I
  1698. ; FreeTDS defaults to 4096
    - b0 f: ?/ k+ r6 w( L0 l
  1699. ;mssql.max_procs = -17 t0 R" S; W! `1 W# \
  1700. 7 S" A, a7 c9 @- \! \1 m
  1701. ; Specify client character set.
    . l3 S8 i1 V- q- Q  B: x
  1702. ; If empty or not set the client charset from freetds.conf is used
    ' z% n, R- F; p5 X
  1703. ; This is only used when compiled with FreeTDS8 Y. j  x9 D" j# t. l9 k! u
  1704. ;mssql.charset = "ISO-8859-1"% f/ I6 L( V% L3 g. h( R$ x
  1705. ) R* q8 a+ E9 p; F
  1706. [Assertion]# X- h1 K2 Q' {- a+ p# ^& S6 \8 p
  1707. ; Assert(expr); active by default.: m/ ]( v/ B% L4 b( g
  1708. ; http://php.net/assert.active
    1 l2 b5 V) Y2 l+ ^; l9 i6 S
  1709. ;assert.active = On) g7 c$ A! {; o( R4 ~3 ?" A2 _
  1710. ' F9 S- d) _+ a/ x' D1 l0 D" C9 j4 e
  1711. ; Issue a PHP warning for each failed assertion.
    * R* r4 u) k3 e( S) Y6 @- y+ f  h
  1712. ; http://php.net/assert.warning
    * ?" k3 c  @' P( S+ M& Y  ]
  1713. ;assert.warning = On6 P, L( k* q$ l2 ^

  1714. 3 \0 [/ r9 Z  ~5 g/ {( b, ~8 Q$ i
  1715. ; Don't bail out by default.
    ' k0 l6 d" |7 o
  1716. ; http://php.net/assert.bail
    ) \8 N4 C: j4 G6 B7 D7 v
  1717. ;assert.bail = Off
    ( ^* T& @7 G: X

  1718.   F4 T5 _$ J% j' N" g6 Y* R
  1719. ; User-function to be called if an assertion fails." j+ m) I6 N: G/ F0 p; B
  1720. ; http://php.net/assert.callback" ]6 T1 [7 E: X8 F- T: D2 [
  1721. ;assert.callback = 0
    % o- k- Z* C& U0 p* j

  1722. 5 r. o* S% F9 B3 y  I" s  a$ i4 [
  1723. ; Eval the expression with current error_reporting().  Set to true if you want, s3 Y/ l7 ?9 k
  1724. ; error_reporting(0) around the eval().
      f3 k5 v- f( L& I+ c( C" L& H) h
  1725. ; http://php.net/assert.quiet-eval  w: d" S- L) n
  1726. ;assert.quiet_eval = 04 T! K; ?) L7 w7 C
  1727. 3 {: }( G/ W2 I
  1728. [COM]& C; M% q+ E8 T
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    1 L" E: @. r! Q. q1 J5 u7 @
  1730. ; http://php.net/com.typelib-file
    * \2 r: Z% \, {4 s- w4 r* f$ q
  1731. ;com.typelib_file =
    9 z4 O- p' {" ?/ I

  1732. & X& E* ^8 j3 e- y5 Y
  1733. ; allow Distributed-COM calls
    + F* P# v4 a* Q8 b' U0 e0 R
  1734. ; http://php.net/com.allow-dcom
    3 O- g! e* g# z/ s: S2 a
  1735. ;com.allow_dcom = true
    * L% D4 p# i3 s2 u

  1736. . ]. {' k/ }7 x
  1737. ; autoregister constants of a components typlib on com_load()  X3 O$ i7 }8 m
  1738. ; http://php.net/com.autoregister-typelib
    5 }) B) M7 J: D5 X5 x: X
  1739. ;com.autoregister_typelib = true% ?, t7 o6 T1 b+ c6 M
  1740. 1 Y" l; v$ b* {4 O' v9 m) V+ c8 d
  1741. ; register constants casesensitive
    ; X1 W5 R2 ^9 q9 Q7 o2 v
  1742. ; http://php.net/com.autoregister-casesensitive
    & G/ G+ F0 _3 e/ u6 g8 r6 x$ g
  1743. ;com.autoregister_casesensitive = false) Q# Q& k! e2 ?5 b' A. j

  1744.   y7 D, C! l8 }8 E  q
  1745. ; show warnings on duplicate constant registrations2 r9 z4 H1 S! H& E4 v( m
  1746. ; http://php.net/com.autoregister-verbose
    " N9 \! m( e: o5 V4 G; T7 k5 L! _
  1747. ;com.autoregister_verbose = true
    % u4 \$ d) b. K9 E* ?, r2 F, d

  1748. 0 t* a+ O3 G3 T& e- C6 I( s
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    # t5 n5 o6 B# Y  _7 f& p+ J
  1750. ; Default: system ANSI code page- O6 g0 ]4 W1 |9 j7 |; L# p
  1751. ;com.code_page=: _8 F# V: J' C) {* n( J/ ^  @

  1752.   e+ s. n- i/ ?! W# W1 ~# y
  1753. [mbstring]
    * U9 ]+ n3 S# M3 [/ W' R6 E
  1754. ; language for internal character representation.+ {- s/ \- e6 m- @( v  T0 S$ v- R; X% `
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ( Q9 s  h4 m6 I6 g3 }. W0 T
  1756. ; http://php.net/mbstring.language* Q/ f, t$ S; y! U5 x4 @2 I# V! g
  1757. ;mbstring.language = Japanese
    : J+ W( }0 l8 j# X/ |$ l. k$ ^7 W  ^

  1758. + B3 _: N9 P8 ]) O9 ~8 i
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.$ h: n: k; _) }( N
  1760. ; internal/script encoding.
    3 I; U' l/ d* G/ j+ E
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)/ S& c  x' s0 ~  T6 q8 D
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! L2 T$ Y; a7 ^5 @2 f3 N" Y
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding4 T( d! g5 O/ r' {! z3 u: B
  1764. ;mbstring.internal_encoding =7 n/ ~& }$ U9 r/ _& Z4 M
  1765. 4 V  b5 ^3 c( n6 q! d2 W8 e7 D
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ! }$ ~% z* S8 r2 @
  1767. ; http input encoding.
    4 I: p/ P2 J5 h  w1 {. \3 B6 E
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    : I3 ]9 q! Q. U3 y/ {% J
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    7 g  D3 f- }$ G4 w
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ) ^* `8 Y6 c4 f5 ]2 t* o& y9 K$ X; e
  1771. ; http://php.net/mbstring.http-input
    & u, N( J% E5 M8 y! B, m
  1772. ;mbstring.http_input =# j5 u6 R6 i7 d5 ^
  1773. 1 k( t! T8 g: h) o9 p
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.( p% ]% c3 o6 e% N; `: v
  1775. ; http output encoding.6 E+ L+ h2 X$ ?6 G1 j+ t
  1776. ; mb_output_handler must be registered as output buffer to function." c1 k$ w7 m5 r: k: Q* q
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    $ m, W- y9 ?/ `4 N
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    6 V1 v! T9 b- l) W* b
  1779. ; To use an output encoding conversion, mbstring's output handler must be set  q5 O, p2 k" f8 q+ {* h8 z( ]
  1780. ; otherwise output encoding conversion cannot be performed.8 U6 g. w; B  ?
  1781. ; http://php.net/mbstring.http-output) {( ?8 y& L, C. J6 G
  1782. ;mbstring.http_output =9 ?7 b# a( j; H1 b

  1783. ' ]: k" E$ |2 {$ ?& T) ]6 B+ J% i
  1784. ; enable automatic encoding translation according to# q* v7 _7 I+ [( N
  1785. ; mbstring.internal_encoding setting. Input chars are- D/ Q3 d2 L1 ~; n1 ^) k
  1786. ; converted to internal encoding by setting this to On.
    , |  C& S) D: \0 u' N
  1787. ; Note: Do _not_ use automatic encoding translation for
    . ]! ~1 Y) g6 H0 _) ~
  1788. ;       portable libs/applications.' p0 D5 q, A" t. o. Y1 ^; F
  1789. ; http://php.net/mbstring.encoding-translation8 q' B7 C# b4 X* `( H' H- U+ @
  1790. ;mbstring.encoding_translation = Off0 H! f+ r0 ]( ]' S/ `# ^

  1791. 7 V$ b# Z4 I2 _6 \9 y9 G
  1792. ; automatic encoding detection order.1 ^1 Q& o' ?8 P) B
  1793. ; "auto" detect order is changed according to mbstring.language
    ; s% x! c. N2 I# P# a, S! `
  1794. ; http://php.net/mbstring.detect-order
    2 f! o$ _9 v3 C- k6 I  Y/ n
  1795. ;mbstring.detect_order = auto
    # q! |0 I( X$ _6 U/ v) E
  1796. & A7 z8 F* [9 E  q
  1797. ; substitute_character used when character cannot be converted
    2 N: D' o4 E2 q# X
  1798. ; one from another: w8 X7 \1 w* S7 r! d. O
  1799. ; http://php.net/mbstring.substitute-character
    4 e0 P4 Z- |0 G
  1800. ;mbstring.substitute_character = none8 V/ _& n/ L  Y% l9 H

  1801. : J- K/ B% k: B" ?" N, ^0 U+ Y7 }5 o
  1802. ; overload(replace) single byte functions by mbstring functions.
      G9 G' {( L2 m
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ) e: D; @/ R( Q8 G& E$ i' u
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.9 J/ P: E2 u, a$ ^0 K5 u- m% q
  1805. ; For example, 7 for overload everything.
    - b; A& i- q- r
  1806. ; 0: No overload  h0 Z3 Y% @8 |3 ~/ |4 p4 p
  1807. ; 1: Overload mail() function
    7 n" Q$ t+ l6 G3 f! Z3 e! H
  1808. ; 2: Overload str*() functions
    : e* X, z; o( `) b( Y* |
  1809. ; 4: Overload ereg*() functions
    * l5 ?  k( P6 {
  1810. ; http://php.net/mbstring.func-overload
    % r, s9 H( b7 l3 {) U
  1811. ;mbstring.func_overload = 0
    1 w! N: \1 y( u, g* m' k

  1812. * T$ q9 {. B% o" s1 [
  1813. ; enable strict encoding detection.
    " k6 Z* V4 i  v/ ~  t) ?3 F
  1814. ; Default: Off2 {1 b3 e7 p0 ^+ z, Q9 G' T  o
  1815. ;mbstring.strict_detection = On
    : Y/ C7 b2 @2 [! u3 ^* e
  1816. ( Z. V: W0 I8 H
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    " e# R! d6 X) [; ~8 |1 n* M; N) \
  1818. ; is activated.1 o$ T9 e+ E$ F) [
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    9 C8 Q0 g' P/ w
  1820. ;mbstring.http_output_conv_mimetype=, p  D/ r5 h1 ~8 a+ d' W' ^8 B

  1821. + T8 j- t' x6 e/ L$ s0 b" y% [9 x
  1822. [gd], {; g' E3 X$ O; T& N
  1823. ; Tell the jpeg decode to ignore warnings and try to create9 h5 @. A1 i# B7 f/ x+ W
  1824. ; a gd image. The warning will then be displayed as notices
    : i4 e+ b: M9 G+ c; R( B$ \
  1825. ; disabled by default$ A7 ]& x2 O5 B9 Y: q; b
  1826. ; http://php.net/gd.jpeg-ignore-warning3 r' d& a/ A, y4 a. n5 [* Z* m: w
  1827. ;gd.jpeg_ignore_warning = 0
    3 {. u& L1 i6 e# s5 N; k

  1828. ( F* Y; ]. j+ I5 b( X
  1829. [exif]
    % C( ^0 b' [) W% [3 h+ g
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    * |6 {2 H+ V: Q3 {/ s7 U0 Y
  1831. ; With mbstring support this will automatically be converted into the encoding; t; d$ R7 y" [4 C+ }
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    7 C$ k8 Q6 g  b2 Q0 O) t
  1833. ; is used. For the decode settings you can distinguish between motorola and) E" O0 r6 P% o, C: ^1 h
  1834. ; intel byte order. A decode setting cannot be empty.- `. N# w: P5 ?. m
  1835. ; http://php.net/exif.encode-unicode2 G% ~* `- {) R5 B, b: n/ U
  1836. ;exif.encode_unicode = ISO-8859-15" L2 S9 U. {0 ]. M8 b! L; p7 E* V
  1837.   U) M) W6 I/ T$ }: C
  1838. ; http://php.net/exif.decode-unicode-motorola
    # a0 O2 ^2 m' \1 }/ I7 S8 R2 K
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    ' X) w9 o( g0 E- ^
  1840. ; x0 f. h* @( {1 d* k: w, W
  1841. ; http://php.net/exif.decode-unicode-intel
    $ K9 s7 r, O2 O5 k  t, w( k
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    / U0 k! v8 F- _7 v) u& _

  1843. / ~/ C# a$ ~- I  [8 _/ J
  1844. ; http://php.net/exif.encode-jis
    5 {/ P+ A; P& v. U0 g
  1845. ;exif.encode_jis =
    ! v; h' h2 P9 ]' _7 N
  1846. ' F( T0 ~5 C5 K$ e7 _; P& V
  1847. ; http://php.net/exif.decode-jis-motorola. e+ x0 P1 K5 z& I
  1848. ;exif.decode_jis_motorola = JIS. a, W3 ^' ]' }! w6 r4 y6 a% h

  1849. 7 g# P' J2 l! H0 D. @# i  C1 e
  1850. ; http://php.net/exif.decode-jis-intel
    # x$ S! b: B8 S% T) }$ g# G) U8 e
  1851. ;exif.decode_jis_intel    = JIS
    1 k  ^; |+ U* h/ V+ I+ B2 l

  1852. 8 o$ V1 t# G" ?* n: O- R" v4 f
  1853. [Tidy]) E% \0 ~  D4 y4 [) ~3 f
  1854. ; The path to a default tidy configuration file to use when using tidy1 e( x8 \+ q4 o6 I3 e+ D
  1855. ; http://php.net/tidy.default-config& ^/ v7 ?# }& z9 M$ i' \
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    1 M) x# E2 W7 L9 v" B  ]! ?7 \9 Y

  1857. . Y  p/ C) D6 X  x/ [( u
  1858. ; Should tidy clean and repair output automatically?
    ! c) I: W; y: m1 I8 R/ `
  1859. ; WARNING: Do not use this option if you are generating non-html content
    : Z) N# K! y$ E: W
  1860. ; such as dynamic images4 a( ]7 H1 `9 Z2 l) r
  1861. ; http://php.net/tidy.clean-output  z7 l8 B) ^. L9 j% N
  1862. tidy.clean_output = Off
    $ y/ o# T- F' o* V% |$ A

  1863. $ [1 t/ `; |+ w: H& \. Z  j0 _8 v
  1864. [soap]
    ( n' N5 {& Y' r5 ^5 u0 I
  1865. ; Enables or disables WSDL caching feature.
    2 O$ [6 A: S+ u
  1866. ; http://php.net/soap.wsdl-cache-enabled5 K& T5 U0 x7 G# a3 A
  1867. soap.wsdl_cache_enabled=1
    5 X9 U# V/ w- `# R( }

  1868. + q# ?4 o' r6 m: x7 j
  1869. ; Sets the directory name where SOAP extension will put cache files.9 v, ]( Q, s3 \) `2 O7 c
  1870. ; http://php.net/soap.wsdl-cache-dir
    : s( R2 [+ |% k! G! Q6 M7 M
  1871. soap.wsdl_cache_dir="/tmp"
    2 M1 G% ^5 e+ n( O
  1872. & K5 w: h4 q8 v5 [9 b; x# U
  1873. ; (time to live) Sets the number of second while cached file will be used" h9 Z/ r* `9 k+ \4 s  O; g* @: Y
  1874. ; instead of original one.
    + q4 g- e. ~1 J. F
  1875. ; http://php.net/soap.wsdl-cache-ttl
    7 U3 v2 e* ?# t0 |
  1876. soap.wsdl_cache_ttl=864009 ?+ \& `# e! U, Q
  1877. ; i2 q* |1 E' M; v
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    8 E' o- l! S1 m& C$ E$ S: c
  1879. soap.wsdl_cache_limit = 5
    * h3 n. N7 g1 _; @

  1880. ) K) h( Z( L3 s5 K" F
  1881. [sysvshm]# V# W1 b9 r3 c4 D: g$ I
  1882. ; A default size of the shared memory segment6 H6 [$ Z: c$ t$ l
  1883. ;sysvshm.init_mem = 10000
    ; i( D$ X- d6 x% o" o+ C' c0 C

  1884. * F& _* w5 Y" h. s. l* s  Z" ^0 u
  1885. [ldap]
    4 R' f  C8 P! ~: Y5 N  S# @8 Y8 B9 z3 W
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    1 U  Q7 g  s2 o6 ]1 o$ k8 D' i) r9 q
  1887. ldap.max_links = -1" P5 `+ [5 G+ P' v6 @

  1888. ' c" [$ @; [7 I  R
  1889. [mcrypt]
    8 ?6 X: q$ |. a5 L3 \
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open) X* G4 n2 g5 ^, D4 q7 ^
  1891. 1 L* g( m  F+ t9 W/ i; c; y
  1892. ; Directory where to load mcrypt algorithms+ q0 M; B; Z) ^6 v/ h
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; x7 [( W1 Y+ X5 i( G
  1894. ;mcrypt.algorithms_dir=% M2 F3 K! Y( }( p0 l5 r1 T. O' ~0 T

  1895. ( c; W8 o+ K8 u1 P
  1896. ; Directory where to load mcrypt modes
      y1 z, N0 ?; g6 y7 [/ i( O
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)" T. B# a) ?! i$ I- U/ v: n) Z
  1898. ;mcrypt.modes_dir=8 `6 Z* J- Y0 H4 f2 t1 U( e

  1899. - q" A1 ]2 E' Z, D
  1900. [dba]
    : ]! G( R6 {% X
  1901. ;dba.default_handler=
    0 i0 d8 F' M. g3 E# j
  1902. 7 [4 }- q9 |1 H# q5 x! Q! D
  1903. [opcache]- L& i& ?, M) ]5 h
  1904. ; Determines if Zend OPCache is enabled; S1 Y7 a& R; n& [2 F
  1905. ;opcache.enable=0
    + F' k) A  q. [' s$ ?, l+ B( C

  1906. : u. n, h; x+ o, B2 I
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP, z/ r, N9 G$ r' h4 `; F, S9 v
  1908. ;opcache.enable_cli=0
    % Z2 E& i# Q6 D% v( X" ?- u9 F

  1909. ' A2 c6 ^8 s. u5 e6 W+ r/ _: z
  1910. ; The OPcache shared memory storage size.0 a. H1 D: U0 r0 t5 A2 R8 R
  1911. ;opcache.memory_consumption=64- ^, ?, \% e( R7 G: S! @8 x. ~- C

  1912. : Y) M4 F1 J  k) f6 C9 j
  1913. ; The amount of memory for interned strings in Mbytes.
    8 k0 }$ F: P" A7 x
  1914. ;opcache.interned_strings_buffer=4
    : n8 e) Y7 ?; O& a* U4 l

  1915.   H' J' r  E/ p  }  t/ s+ t
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.& U9 g4 \4 r4 j3 d6 ~3 Y2 _4 n
  1917. ; Only numbers between 200 and 100000 are allowed.
    ; W- i7 d9 ~- H, S0 @- `0 r
  1918. ;opcache.max_accelerated_files=2000
    : Z& X) E1 |& Q2 p9 u7 s

  1919. 7 P4 [- m, K+ r: N- j% I' F0 a
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.* \$ p0 T# D! f. @
  1921. ;opcache.max_wasted_percentage=5) E9 R; _- T9 o* C& O+ u
  1922. 3 l; C# Z7 t0 Z" ^3 g" l+ S
  1923. ; When this directive is enabled, the OPcache appends the current working
    0 P, k& M1 P; r4 W5 v
  1924. ; directory to the script key, thus eliminating possible collisions between
    * @! I2 F4 n' [6 X  P
  1925. ; files with the same name (basename). Disabling the directive improves" T. C- R" h2 }  B3 C
  1926. ; performance, but may break existing applications.8 x8 t6 e/ r+ t1 u& W% p& h' W
  1927. ;opcache.use_cwd=1' ~0 {: C+ l1 Y/ D6 l; X! ^
  1928. - x. y2 A- K- c9 o% P
  1929. ; When disabled, you must reset the OPcache manually or restart the3 O& C; @: Y4 K& d* B' B
  1930. ; webserver for changes to the filesystem to take effect.
    9 o/ g' q. N% E4 G* c! o% M
  1931. ;opcache.validate_timestamps=15 u% t8 w! a2 E! h) e5 }; [

  1932. * j, @' D, [4 g4 ]2 W
  1933. ; How often (in seconds) to check file timestamps for changes to the shared5 ]7 r' o) M/ y6 @, s! v
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    , o7 S( F% K. R/ T, r+ y
  1935. ; once per request. "0" means always validate)
    + N2 ^( Y- j" M# U0 B9 [1 c$ s
  1936. ;opcache.revalidate_freq=2
    / B4 G0 ]# y" {
  1937. $ n; x. e3 F2 i! ~
  1938. ; Enables or disables file search in include_path optimization) p0 s3 Y" x" B  V: f9 E, a
  1939. ;opcache.revalidate_path=0* `  H. ^! n4 N% {# o- i3 j
  1940. ' P" h3 I: T+ S7 C: S8 v" q  i, v
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    2 D' x- g/ M$ q. Y5 M' M* }! d
  1942. ; size of the optimized code.
      Z" i% x: j! B3 n& {
  1943. ;opcache.save_comments=12 W$ F8 G1 x- M6 `) @

  1944. 1 e( T3 v. F- X! v/ p/ k2 v
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
      b6 C( y# k2 H5 Z3 ]! f
  1946. ; may be always stored (save_comments=1), but not loaded by applications/ J, d$ B0 R, l2 s, k3 T5 o: b
  1947. ; that don't need them anyway.
    ; z5 \- J8 E! q4 {. B
  1948. ;opcache.load_comments=1, Z  f1 l! R! Z7 f6 u. V

  1949. , S( ~1 f  I( k7 g8 f
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code' F! c6 b7 B2 t- f+ F
  1951. ;opcache.fast_shutdown=0
    5 l$ H& n3 `) ]" y

  1952. ) d! J% r  e9 p9 H3 l# L; k5 L  [# n
  1953. ; Allow file existence override (file_exists, etc.) performance feature.) v$ T# x& z9 S9 O8 u  \
  1954. ;opcache.enable_file_override=0; F! B9 k# Z( k& ?- _

  1955. 0 I" W1 P2 {8 c- k, m- F5 M1 U
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    & h9 S' M7 V2 D4 G4 g# `! K
  1957. ; passes
    8 f/ y$ p5 S0 x% H9 Y
  1958. ;opcache.optimization_level=0xffffffff* Y' t( \! }. }& h! I+ Z. O
  1959. , Z5 @7 W  ?1 i9 a5 L3 X% ~6 r& {
  1960. ;opcache.inherited_hack=1
    3 S% h  t3 i9 ^$ y
  1961. ;opcache.dups_fix=0
    8 H# Z; _( w+ w, d. S

  1962. 2 R  l+ Z7 }1 F8 Y
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    # \+ K, U9 ^  ]2 p$ {  N# B
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    % H8 y9 x, S$ ]# r2 }
  1965. ; that should not be accelerated. The file format is to add each filename
    : F6 W3 B" r3 g: T& }
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ) R  \$ e! l, O) O5 z8 I
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www' `  p  O: B. s6 s9 Z6 X9 y' Z
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).& r6 |2 K  m& I+ Y' ~0 Y
  1969. ;opcache.blacklist_filename=  w2 K5 J9 b( _8 S. k" X: G: T

  1970. ; a9 F; K1 }; W( d4 n
  1971. ; Allows exclusion of large files from being cached. By default all files
    $ ]: ^. D; [" u7 H/ L1 d
  1972. ; are cached.
    # }# H  }+ ^8 [: U+ h8 S1 O
  1973. ;opcache.max_file_size=07 O9 U: W! k) ?9 @
  1974. 3 t3 X+ @# h6 a0 [6 V2 @! J+ I
  1975. ; Check the cache checksum each N requests.
    % F7 h; U- U, g5 D1 X
  1976. ; The default value of "0" means that the checks are disabled.
    0 q6 `0 e) b, q. R) ], J- e
  1977. ;opcache.consistency_checks=0
    & @6 e# v6 K' G6 X7 L( }; Y

  1978. $ W4 R1 K# K+ {8 z+ w9 O
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    # x% X) N* u3 Q7 [+ `0 Q* T+ G
  1980. ; is not being accessed.
    4 W% J% |3 C' I7 f( o/ `5 d, O
  1981. ;opcache.force_restart_timeout=180$ r; T& `2 O2 U
  1982. : O8 ^# t! X  E* s
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    1 i3 x9 q8 Y8 z  q& p  T7 f
  1984. ;opcache.error_log=
    # k8 y& a% U, J' n0 q4 _

  1985. , x  \* S2 M0 f1 U/ c# T7 d
  1986. ; All OPcache errors go to the Web server log.0 s8 n$ M! b* i4 M, g  {& j+ G6 q
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    $ U* v3 I, c# R6 h
  1988. ; You can also enable warnings (level 2), info messages (level 3) or* x1 K/ x7 w+ K4 j8 e  r0 Z9 V
  1989. ; debug messages (level 4).
    % r4 q3 y2 b- [1 ]4 C* l* C% R
  1990. ;opcache.log_verbosity_level=1
    0 L4 B; v8 I5 @

  1991. ! U$ a! \. T, }7 c  P& \9 K% P
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.  Z$ ]' z6 b+ E+ I+ s/ i; V) u( [
  1993. ;opcache.preferred_memory_model=$ C. P: u) }  w( f

  1994. 8 O% U8 B8 m0 W1 e
  1995. ; Protect the shared memory from unexpected writing during script execution.8 M' h, ^' u3 k; m; M; F
  1996. ; Useful for internal debugging only.
    * f5 @% [3 M+ F  `' H2 f% y
  1997. ;opcache.protect_memory=0+ w2 ~9 d8 M+ k9 F& k' F6 @8 l

  1998. 2 H0 E8 G9 g9 i8 _" q8 Q0 x
  1999. ; Validate cached file permissions.  L. o3 e3 l" N3 A  x
  2000. ; opcache.validate_permission=0
    + C6 W- f9 a& b' [
  2001. 3 a) @2 I" k7 I& W' t" }
  2002. ; Prevent name collisions in chroot'ed environment." x) d4 A  W. k) i7 @7 }. r! n& k
  2003. ; opcache.validate_root=01 ~4 x- p  `; v4 N
  2004. # ]4 x9 s0 B; R+ q5 N& b5 ~- S& c
  2005. [curl]- o- M+ l- |3 Z/ v* B4 _
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an, b& H& z  `: {8 G
  2007. ; absolute path.
    6 c# k: |- d0 `" H2 ~+ _5 I( t2 w
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    8 Z1 k( i  T5 Z
  2009. $ W' n8 Y8 `* p7 @3 X% I3 h1 t: V
  2010. [openssl]. J' {. p: W5 T0 C; }1 S' ^+ {
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem- U  ?2 K! ]( S; d
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    & W. E) e+ U! x9 ^( u- Y% B+ l* ]
  2013. ; not specify a value for this directive as PHP will attempt to use the* O7 m8 T0 D  ^4 l0 H" K) w3 q
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    8 |/ Z2 r1 {0 g9 y; V6 @
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context% P) F( a, s8 k6 A% d
  2016. ; option.% H4 N1 o9 o; k& |
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt: m! z5 f! w& k" w6 [
  2018. - c7 ?* z! X1 {. k
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the$ g2 Z; M3 z3 T7 m8 {
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ' h) Y* R: {! i" F, _( f
  2021. ; certificate. This value must be a correctly hashed certificate directory.9 x- i4 {( B' @1 F
  2022. ; Most users should not specify a value for this directive as PHP will
    - }& p" y! s4 W9 ~. I" O1 W
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified," f( Y8 E, @; g( ?; y
  2024. ; this value may still be overridden on a per-stream basis via the "capath"6 i/ m6 _- l7 T0 [2 n9 a
  2025. ; SSL stream context option.$ |* k  o% @/ T7 m7 v( G
  2026. ;openssl.capath=
    9 C1 Z5 E0 i1 s! V9 R; W8 N
  2027. ' u! k7 L, J# F% Q$ a
  2028. ; Local Variables:( }5 l3 A3 |) d& ^1 N1 i( {
  2029. ; tab-width: 4
    & P$ R  V1 c% q
  2030. ; End:
    0 W. u4 e9 v% \4 @& u: Y

  2031. % a1 U- C. ^& v6 t9 a/ H
  2032. ;eaccelerator
    4 t7 Y* M- t8 ]0 O: b- W

  2033. ' @  |. a- D. a. j/ t2 u9 e$ L- w
  2034. ;ionCube4 _% g$ k! l8 E) B: |5 o

  2035. $ I! Y/ w6 |: u
  2036. ;opcache
    % w0 ?2 A" R. a. G0 L& [& L
  2037. . z0 C! `: Q4 e6 w
  2038. [Zend ZendGuard Loader]3 u1 `; c9 ^; d$ M
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ' y; h2 _" m: ~
  2040. zend_loader.enable=1$ J6 N$ Z+ I7 m2 o5 y/ v* \
  2041. zend_loader.disable_licensing=07 ~8 s6 r' ]$ x* d
  2042. zend_loader.obfuscation_level_support=3
    ' g  N2 @1 S$ Y+ A$ Y2 g
  2043. zend_loader.license_path=% b$ d8 k3 B4 z/ B
  2044. % a: w7 ?+ D, J
  2045. ;xcache
    . V7 n7 ~2 y, M$ a
  2046. 7 g+ v( l$ b! e( g
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692/ r9 I6 U; Q2 ]+ d

; y/ H$ w1 r: z: {, G* U1 {
5 N! a6 q4 F9 d' c& W. T1 d& F. n6 jDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
; U) u# l5 G8 P
0 ?0 ?) l3 l/ P% V. VDiscuz!程序版本选择:  e9 i: _6 N6 a# P  H
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,/ J3 [2 g1 s7 o! s& R, T
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
  ^" D( X6 K2 }/ Z7 `1 o9 f! m$ iDiscuz!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。  k: k* W6 I  N* {) c7 F2 ^; y+ I

8 s) X- f6 j/ k# HDiscuz!插件模板版本选择:: O3 @1 N* }7 n
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,2 V5 R4 \& L* l0 X7 ~
针对这个问题做个统一的普及:
. c% b' O4 V0 z  e: `. YX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。( a) h0 y2 _& ?' v! I/ u2 `

1 [' D( }$ @. m; ]# m所以+ _5 w; y- l* r* u1 O- v# o
适合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的二级域名。
' o4 w5 C5 f8 @5 ]打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
1 e/ P' I( v1 L6 O3 E! h+ J1 F$ z注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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