分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
8 H4 J, f% j+ A) n) @
* C! H( F; B$ ]- W
  1. [PHP]
    2 l- A0 z4 _: z3 J2 Q. i( A6 Z

  2. , V/ U( N2 R8 D8 B3 i5 ^, C* N# P1 ~
  3. ;;;;;;;;;;;;;;;;;;;& e& N8 c& @/ r) c; Z
  4. ; About php.ini   ;3 a6 _7 T7 Q) _% r) ~7 `: o
  5. ;;;;;;;;;;;;;;;;;;;
    1 d) Y7 W8 O4 a5 A
  6. ; PHP's initialization file, generally called php.ini, is responsible for  Y/ b# _( w) `( k7 S
  7. ; configuring many of the aspects of PHP's behavior.. h9 m( j$ U$ m' G
  8. # L3 I1 M& p9 o$ p9 X" o. N
  9. ; PHP attempts to find and load this configuration from a number of locations.. h' C: {1 j0 v
  10. ; The following is a summary of its search order:
    1 r6 C4 l# X. Z; @# ]: k; N
  11. ; 1. SAPI module specific location.
    ! q5 q& O2 K! V
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0): c0 J& ^7 Q$ d& [0 m
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    5 B, G+ t$ g4 J+ Q! B" H
  14. ; 4. Current working directory (except CLI)4 c- D2 }& a8 M  w' x$ u2 H
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    , Q' Z" ^8 P  O# w7 g
  16. ; (otherwise in Windows)
    * {4 }, ^- l! y6 n: z, Q- u
  17. ; 6. The directory from the --with-config-file-path compile time option, or the0 I6 C" L: H& j2 }  G8 V+ @) u! c
  18. ; Windows directory (C:\windows or C:\winnt)
    9 g, m* o- g# p. S/ \% A
  19. ; See the PHP docs for more specific information.
    * q4 f* T9 w/ f, e) x8 r& H
  20. ; http://php.net/configuration.file3 Z, [+ D# _7 L) F/ _! |- W3 n

  21. % ~/ x9 }/ ^7 }6 n: {' _% O
  22. ; The syntax of the file is extremely simple.  Whitespace and lines; O2 I6 t. y: h, C. ^* V
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)./ i6 @; p2 [2 p
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    2 |5 U. W; y( f) _* l6 y8 k4 d& Y
  25. ; they might mean something in the future.6 l1 q) Y% {" u5 ]0 J" g- \

  26. / j4 s9 ]7 F( Q: r: D% B+ {1 l! j1 I; j
  27. ; Directives following the section heading [PATH=/www/mysite] only: Z/ K% L: j6 Y* f7 F
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    & E7 I% z6 v7 @: n. W
  29. ; following the section heading [HOST=www.example.com] only apply to# a4 {# C/ }2 O: s% [: i5 }
  30. ; PHP files served from www.example.com.  Directives set in these& C+ v) R. @3 W% a
  31. ; special sections cannot be overridden by user-defined INI files or' U& g; b% L# [# p5 Z2 W  T
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under4 o; @3 K0 Q8 D# ?3 [- ~
  33. ; CGI/FastCGI.
    5 X4 J" Y" A+ F6 ?
  34. ; http://php.net/ini.sections& h1 l$ R! D6 M0 B, A( H8 N  w7 j
  35. 5 V6 ~. F/ m3 g7 L1 G8 C2 m) T6 E
  36. ; Directives are specified using the following syntax:
    ' t& s) X8 ~# F2 I; Z* F7 J0 ?
  37. ; directive = value
    4 c( H- x8 Y" K2 j
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.8 M* X! H$ B) u/ \: {' b+ K
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ! F0 g& h6 J) g* @2 S; Z$ a2 G- A
  40. ; There is no name validation.  If PHP can't find an expected
    - U7 F, }. X$ F! p2 x" H
  41. ; directive because it is not set or is mistyped, a default value will be used.
    9 O7 t& L. h; F9 G# A( U7 V
  42. & x' n+ }8 z5 e+ g
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one: S, p9 W; k# W& B# I; v
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression9 k3 o3 \- k) w! \0 ?
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    " h3 l, m/ m  m+ f
  46. ; previously set variable or directive (e.g. ${foo})0 L% g4 x; S% v
  47. # g6 k. [2 K: H2 A! c
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:7 T0 Z2 z  S" j/ }3 S' F
  49. ; |  bitwise OR% O- t' f+ u" M; O: o' l
  50. ; ^  bitwise XOR+ ]1 V1 p3 t$ F3 f& e& B+ J2 t
  51. ; &  bitwise AND$ z& o% `. Y- P* R
  52. ; ~  bitwise NOT
    ; L% u3 R3 H- d! ]6 {
  53. ; !  boolean NOT
    " E0 X7 m7 \2 T2 e
  54. & B4 v" @- K5 Q1 _3 m
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    * f5 X1 f& B* t
  56. ; They can be turned off using the values 0, Off, False or No./ Z4 x7 q( f: \" a
  57. 6 o8 G& A+ j3 T) G
  58. ; An empty string can be denoted by simply not writing anything after the equal
    & B, g+ W4 v" ?1 A. r8 ?! V
  59. ; sign, or by using the None keyword:& b: ^- F& y) ?) W$ k

  60. 6 s4 H: _, s6 a. ~
  61. ;  foo =         ; sets foo to an empty string
    . W' x# k7 c0 S5 a( g
  62. ;  foo = None    ; sets foo to an empty string: c4 H; v1 M( R9 h! D2 T
  63. ;  foo = "None"  ; sets foo to the string 'None'
    7 O4 J7 Z, v4 Z0 F4 \/ O

  64. + r0 t7 R( |6 K& n; g# f1 v1 a9 N
  65. ; If you use constants in your value, and these constants belong to a
    , X' j" }, ~0 u9 v
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),  ^2 m( q! \. e" Y6 g3 X
  67. ; you may only use these constants *after* the line that loads the extension.
    7 x( g' z$ p( i+ ^% Y$ H8 _2 B
  68. 9 k# L$ j( T. i6 D, I& n2 W
  69. ;;;;;;;;;;;;;;;;;;;- K+ G9 P- a8 S2 d! m$ x* v8 _7 C
  70. ; About this file ;4 m; @9 g- T2 Y0 J8 f8 u/ W8 {
  71. ;;;;;;;;;;;;;;;;;;;0 ?* M! Z# e6 V1 o- P
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    . H1 P. ~6 `% w' Q1 t
  73. ; in production environments and one that is recommended to be used in8 B8 s2 h" d% e5 b; O+ U2 r
  74. ; development environments.
    * Y6 q% `1 D2 ]0 G

  75. ' C) ?: \$ k: O5 q) s
  76. ; php.ini-production contains settings which hold security, performance and
    8 b  t8 M2 R' U' G/ D* ?
  77. ; best practices at its core. But please be aware, these settings may break: w- \2 ~0 `' Y( M# d
  78. ; compatibility with older or less security conscience applications. We* m; Z# A; u7 E2 B
  79. ; recommending using the production ini in production and testing environments.
    . [+ {  p; b6 \& t$ q/ K9 R

  80.   b# q2 F: [/ g9 ~& ]/ S
  81. ; php.ini-development is very similar to its production variant, except it is6 O) v! f7 Q5 w$ {, z
  82. ; much more verbose when it comes to errors. We recommend using the  k- _. c! X) b
  83. ; development version only in development environments, as errors shown to
    4 j  l2 e2 X: G- ~& `) Y
  84. ; application users can inadvertently leak otherwise secure information.
    ) i. E% V' A) ^3 k& N

  85. 7 d$ @( Z0 L! U
  86. ; This is php.ini-production INI file.1 ^. x' C* i' {& e4 t  t& K
  87. ; Q- Q; P0 ?  i: Z8 [- E
  88. ;;;;;;;;;;;;;;;;;;;
    + k7 Y" H# l9 f& ^; o6 j8 F
  89. ; Quick Reference ;3 z2 p8 K6 S: e" |$ P* |
  90. ;;;;;;;;;;;;;;;;;;;
    9 y* i: Z" V- s& j9 m
  91. ; The following are all the settings which are different in either the production
    4 w1 k/ d# \6 y5 w" C/ T
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    * Q) r/ X! f+ j9 N
  93. ; Please see the actual settings later in the document for more details as to why, [7 N" _5 _- j
  94. ; we recommend these changes in PHP's behavior.
    8 b( Z7 D: D2 S
  95. & N1 B/ i9 J+ t' T2 x' _
  96. ; display_errors
    & [9 y3 X: `  F
  97. ;   Default Value: On8 `' Q  Q* e# z% X, X+ D
  98. ;   Development Value: On, M6 M0 s; e! w% P2 R
  99. ;   Production Value: Off
    " m! o: j5 Y" b: j
  100. 1 w* j! H+ l5 P# |# }5 P
  101. ; display_startup_errors
    * M' _7 o& @  T6 G2 K" e0 R
  102. ;   Default Value: Off: r) z, Q9 S$ O# \+ r
  103. ;   Development Value: On* Q. s4 {3 U$ Y0 i( o
  104. ;   Production Value: Off
    - v" u- v. E0 V5 h1 L4 i- H, Q& ]% Y
  105. 0 `5 _* O) S+ s  W
  106. ; error_reporting
    + a8 m) g: o! ~& ^8 G, k4 z% K6 b0 O
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ' c: F+ h1 j+ g& \, h
  108. ;   Development Value: E_ALL# |3 F! O5 c( g1 J
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    : b) N1 v, G) e* ]3 a0 @

  110. ) Q; N8 @( i# |3 y1 E7 \
  111. ; html_errors
    7 K% \$ a+ ~- C3 T2 h/ N
  112. ;   Default Value: On# F4 @% I4 X" t( H* M
  113. ;   Development Value: On
    $ n+ v7 i: [. H  A
  114. ;   Production value: On
    1 Y0 E2 u1 }5 J" m  b, {

  115. 9 @# Y8 }0 ?: K, X% z1 ^
  116. ; log_errors
    3 r8 H4 G! |4 l, x' X* _
  117. ;   Default Value: Off; F6 ]: l3 p5 R1 O+ H' _
  118. ;   Development Value: On
    3 V, n9 f# e0 }+ y' m
  119. ;   Production Value: On
    % V1 _0 ^* E- Z

  120. + F) ~! V; v$ e. C; U( n  v: k
  121. ; max_input_time4 m  m, H. x+ p( @
  122. ;   Default Value: -1 (Unlimited)  n2 `0 ?' @- {! o* D. U
  123. ;   Development Value: 60 (60 seconds)
    ! ]! X- J2 H) \
  124. ;   Production Value: 60 (60 seconds)
    ! N; e. U6 Y8 z5 o: A* ^! N

  125. 6 g4 j' }+ k; g* Y7 x
  126. ; output_buffering8 a" s# D( P' z& v
  127. ;   Default Value: Off
    - o2 f) d7 _4 I7 L0 q9 y; ^
  128. ;   Development Value: 40962 `. {8 V+ g0 X7 L
  129. ;   Production Value: 4096
    ) {: F# ~  j. _
  130. + |- A8 z% O4 c8 N  Z6 D
  131. ; register_argc_argv$ c& q0 d+ w' L+ ]( t
  132. ;   Default Value: On
      |/ q; V# }8 o3 o
  133. ;   Development Value: Off
    # ~( g8 U0 N4 ^& N: k8 h, u" f% H  [6 y
  134. ;   Production Value: Off
    ! o0 A" s. C, z* T' V

  135. 3 Q1 [/ T0 I; l, J
  136. ; request_order
    9 Z* p! w/ V0 j- a2 p1 z. L8 ^
  137. ;   Default Value: None$ L3 j2 ?, |; s4 }  i
  138. ;   Development Value: "GP"5 U0 S6 z0 D6 p$ A
  139. ;   Production Value: "GP"
    ( d( [# }% s" h% l& A
  140. 4 Q" \. J+ i9 Q0 e
  141. ; session.gc_divisor
    0 T) C' \0 r0 Y" j" a' t
  142. ;   Default Value: 1007 M4 f+ n7 W( l+ X
  143. ;   Development Value: 1000' K) G3 X$ I" o9 |
  144. ;   Production Value: 1000% W" O& [' n" I, ?/ t. b' |

  145. 6 W" v, x. D: L4 u( A
  146. ; session.hash_bits_per_character* j2 r# c% o& h( @7 I$ r
  147. ;   Default Value: 47 y4 N5 ?7 R- W5 ^" q/ ?
  148. ;   Development Value: 5+ o7 b4 p' l: O1 C6 T
  149. ;   Production Value: 5
    5 @; x2 f, q7 ?5 v8 J+ ^% Q
  150. & t; j! v' F4 E8 L4 z
  151. ; short_open_tag: s0 K. B5 p2 e! J: y: I  o
  152. ;   Default Value: On
    5 H) _) t2 u5 c/ `1 N, f
  153. ;   Development Value: Off
    . ~9 g, [5 c# S) o( E; O* I  }0 H
  154. ;   Production Value: Off& N( t/ j! Y  w% e* u( S* V: ]1 l

  155. 8 h0 z0 O6 a1 b4 X$ m
  156. ; track_errors
    2 B, e1 w& m& P& e; w
  157. ;   Default Value: Off) `5 K$ r+ Q$ A* c% m7 m+ [% k
  158. ;   Development Value: On
    + V1 n. R& g1 I4 c3 G; ^5 M
  159. ;   Production Value: Off, t- f8 l  l0 U, r( [
  160. 0 `: @7 v* ^5 y/ x4 H$ D' Y
  161. ; url_rewriter.tags  X. ]6 u  o7 M3 U: R  D, _: v
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="( V. {2 T5 z9 m: R3 U
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 B/ a# J" I/ N# f4 a- l
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 X% B6 N+ J4 [3 \, I+ @( V/ Z
  165. ) j6 x8 Z/ S- i# |6 H
  166. ; variables_order# T3 [1 ~( e& R; \9 q
  167. ;   Default Value: "EGPCS"; c) Z0 F% E/ `5 T% s
  168. ;   Development Value: "GPCS"
    , o7 }; j8 `+ E$ u/ Z
  169. ;   Production Value: "GPCS"
    6 B+ R6 }' C/ J0 g; L

  170. 5 d5 r7 c8 ]* c( E, ]$ ~
  171. ;;;;;;;;;;;;;;;;;;;;
    & n% N8 M3 ?) |7 D2 m# ~$ J
  172. ; php.ini Options  ;
    ' O0 P! D! n# h% `& H( z6 u' m
  173. ;;;;;;;;;;;;;;;;;;;;! H3 I. y2 R% X* w0 w. M
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    $ E# j( j6 @5 l# M! n
  175. ;user_ini.filename = ".user.ini"
    ' P. z1 L/ s8 y6 Z' w8 @( B
  176. 5 Z+ g& y/ W" v( z$ t4 U6 a" l$ o
  177. ; To disable this feature set this option to empty value4 F, j9 [% y( o3 X. A4 f
  178. ;user_ini.filename =4 }" i  ]; V: W; v2 p
  179. 7 C3 A2 X/ x  X3 o) b, [4 {" `+ U
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    8 K7 _: V& U- {. I' }4 j7 z
  181. ;user_ini.cache_ttl = 300, I; Y0 r: U7 V3 o

  182. ' y- B7 B9 \  `6 {
  183. ;;;;;;;;;;;;;;;;;;;;+ i, C" R8 [1 e# x, n
  184. ; Language Options ;$ t# U3 Q& P: {. B1 L+ P
  185. ;;;;;;;;;;;;;;;;;;;;
    + r2 }: A/ ?  m' ~! K$ H

  186. & O  L+ l! R% O( p4 i" y3 v  H
  187. ; Enable the PHP scripting language engine under Apache.! }9 ]4 s  b* P7 |5 E' m/ X: e4 F
  188. ; http://php.net/engine
    # r" m7 y9 {' H
  189. engine = On9 @. G- a: D/ b
  190. $ v3 B0 r1 y0 b7 ?& n
  191. ; This directive determines whether or not PHP will recognize code between8 @* E9 @8 \5 z1 y) `) ]
  192. ; <? and ?> tags as PHP source which should be processed as such. It is/ Y' j/ n# v7 D7 w; p& O$ [: B
  193. ; generally recommended that <?php and ?> should be used and that this feature
    / H! l6 T& E5 ^
  194. ; should be disabled, as enabling it may result in issues when generating XML
    - m1 B. f$ |2 [. S* o0 `8 Y8 T. Q
  195. ; documents, however this remains supported for backward compatibility reasons.& y1 U7 R4 y8 w$ a, q1 O
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
      Y: C. |, o0 F# m/ y9 b% H
  197. ; used regardless of this directive.! ~, U0 b4 A6 j6 M
  198. ; Default Value: On; p: A# E- s3 R
  199. ; Development Value: Off. Y' i/ |+ j6 |1 h# `& {( u
  200. ; Production Value: Off% L% x( ?& l" U" B
  201. ; http://php.net/short-open-tag. g/ Y  L- W+ e
  202. short_open_tag = On
    6 w+ B  K4 I7 j- y& l

  203. ; u% n% R. m' u8 P( ]
  204. ; The number of significant digits displayed in floating point numbers.! S, J, E: g0 Y* q0 R3 n  E& v+ X
  205. ; http://php.net/precision
    ( M* j9 H  b* A  f6 N& c
  206. precision = 14
    # A3 M" c9 u& s. z- l" {, n
  207. " u6 c  v. K0 {' f1 Z4 k
  208. ; Output buffering is a mechanism for controlling how much output data
    ( G5 d5 T: O+ c
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that( n. N4 Q, L) ~2 c) t4 d! I, x$ C
  210. ; data to the client. If your application's output exceeds this setting, PHP
    $ D" Q9 A, w- x& i
  211. ; will send that data in chunks of roughly the size you specify.
    8 Q. Y+ x1 U( A
  212. ; Turning on this setting and managing its maximum buffer size can yield some. i5 W  Y: c# V. a6 n0 O: Z
  213. ; interesting side-effects depending on your application and web server.4 ]' w+ B) F6 E
  214. ; You may be able to send headers and cookies after you've already sent output4 r- ~+ E8 t% H* q) Z- B& x
  215. ; through print or echo. You also may see performance benefits if your server is
    & _; G$ Z8 A3 ]& W. F
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    # w0 u0 E6 x; |# {9 i( A  D
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance3 r% k6 n' I6 ^2 d6 Q
  218. ; reasons.0 M0 U/ E2 R% E3 q5 p  G8 A
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ) B3 n2 Q+ A' ?$ o
  220. ;   functions.% T9 ~5 e/ T0 g) [+ W
  221. ; Possible Values:
    ( |. W, b; d- k- ?; B7 r
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    1 ^: }$ J% ?! ]9 z  v
  223. ;   Off = Disabled7 H3 r1 `! H$ [- I' L! q
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.; R; U# L* z- r8 f; [9 Y, ^
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI) V3 B4 D+ [$ j: l. A! }7 `7 z
  226. ; Default Value: Off
    5 _$ \, o% k8 k' V! ^+ w
  227. ; Development Value: 4096
    5 @: Y/ s5 d5 `4 w
  228. ; Production Value: 4096$ C7 j: h- r; {
  229. ; http://php.net/output-buffering
    / e- v" ~  A% @# H4 ]% @' a
  230. output_buffering = 40964 \2 z- r& ?. q; |% s
  231. ( @6 B, S9 Z' C& ^4 ^/ f0 T! _
  232. ; You can redirect all of the output of your scripts to a function.  For
    9 d2 k( n* `% i/ y0 c& [$ {
  233. ; example, if you set output_handler to "mb_output_handler", character( D8 W! [( k# n$ @7 y
  234. ; encoding will be transparently converted to the specified encoding.& s; R* b: [# t5 F9 e
  235. ; Setting any output handler automatically turns on output buffering.
    ( H: N9 ]1 X; D; t
  236. ; Note: People who wrote portable scripts should not depend on this ini
    # K9 S$ H( g( ~# Y8 q
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    ! R' v3 d& s. L  i5 k; q
  238. ;   Using this ini directive may cause problems unless you know what script' u  A  k8 c/ q+ @4 k. ?3 o
  239. ;   is doing.1 |" h. }! c5 U: k3 J
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    5 w2 a4 Z& C$ d
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".$ k$ l; a9 H& R( k8 u& e
  242. ; Note: output_handler must be empty if this is set 'On' !!!!9 _' R9 a( h1 |6 t* F
  243. ;   Instead you must use zlib.output_handler.0 S  j& ?0 A4 ?9 s* \- z2 d
  244. ; http://php.net/output-handler
    ( {# {' Q/ m' B; t& B1 [2 c3 b
  245. ;output_handler =
    / B! z8 g+ S" `# q7 R& X
  246. 4 v6 K7 o8 }* i$ L) u- P8 G6 B* z
  247. ; Transparent output compression using the zlib library, u8 e/ ?0 O5 j) a6 P
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size6 h7 u# D9 X- _% S4 L9 J
  249. ; to be used for compression (default is 4KB)1 p) L3 x' C+ S
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ( b0 X+ w: c7 f. D
  251. ;   outputs chunks that are few hundreds bytes each as a result of/ Q! P# {9 o% d: c" B
  252. ;   compression. If you prefer a larger chunk size for better% a) @) Q5 D9 b% C! W7 T
  253. ;   performance, enable output_buffering in addition.
    & V' d; s0 c. {5 d/ s
  254. ; Note: You need to use zlib.output_handler instead of the standard; P, ^% [5 {$ g+ D' @3 D$ ~
  255. ;   output_handler, or otherwise the output will be corrupted.1 U- V2 A. p' y
  256. ; http://php.net/zlib.output-compression& z# |. o0 d( q1 ]
  257. zlib.output_compression = Off
    2 e; v# y6 v+ H7 O5 ~. c, ]9 W

  258. : D( F# e$ q, l3 C. j" Z7 Q, `
  259. ; http://php.net/zlib.output-compression-level
    # W7 R0 C2 w. ~, [$ \' r
  260. ;zlib.output_compression_level = -1
    4 I+ W1 _( L- b1 r+ L+ q) o9 R8 T0 N
  261. 7 O- P4 t& [! d, i8 P/ B+ R
  262. ; You cannot specify additional output handlers if zlib.output_compression
    7 O& j8 l+ _. A& M5 J8 t
  263. ; is activated here. This setting does the same as output_handler but in
    2 z& y7 q# o' [" ?1 M
  264. ; a different order.
    " p( P, Z! z4 d! R8 ^
  265. ; http://php.net/zlib.output-handler
    8 q9 w) N7 i- ^) p! D
  266. ;zlib.output_handler =
    ! P4 ^% ?% m9 U# `, G
  267. / x* I( ?1 ]8 g( H& M# C" c5 K
  268. ; Implicit flush tells PHP to tell the output layer to flush itself, e! X+ y7 L' B7 r' ?$ S
  269. ; automatically after every output block.  This is equivalent to calling the
    ; |: P# |" x+ Z7 Y- L5 R; f
  270. ; PHP function flush() after each and every call to print() or echo() and each
    1 }0 H* n, e, _2 K8 M" K
  271. ; and every HTML block.  Turning this option on has serious performance
    1 _# O0 g; B( A5 E7 g- Z
  272. ; implications and is generally recommended for debugging purposes only.7 ~: Z. m7 \: E5 o
  273. ; http://php.net/implicit-flush
    + f7 u$ i5 S2 G/ H" B7 p
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( S6 T- H8 T8 E, V+ M- d
  275. implicit_flush = Off1 I4 F" X; T0 y& U

  276. ) v! h+ \2 o+ N" ?- T3 L3 b: X( B
  277. ; The unserialize callback function will be called (with the undefined class'7 Q+ \! _' L# {, x1 J; n+ e
  278. ; name as parameter), if the unserializer finds an undefined class
    ( _2 I! E0 r; R5 ]( k9 Q
  279. ; which should be instantiated. A warning appears if the specified function is
    : U8 O! H. N  z5 X2 W
  280. ; not defined, or if the function doesn't include/implement the missing class., Z1 x  u5 W' w, x
  281. ; So only set this entry, if you really want to implement such a& ~! _# ]2 l$ m. v$ B
  282. ; callback-function.% L) o" C- H: O& H, l! {
  283. unserialize_callback_func =# k0 p$ {5 b* T3 e- e, a

  284. , u* j3 S0 `1 b7 d0 |" t
  285. ; When floats & doubles are serialized store serialize_precision significant
    $ W" m* n3 P7 R* y" }  v, R
  286. ; digits after the floating point. The default value ensures that when floats2 y/ e, ?7 \% }
  287. ; are decoded with unserialize, the data will remain the same.2 E" W4 ~2 l! R6 t! p3 b
  288. serialize_precision = 172 o) m/ W. {# o$ D. N. U8 u

  289.   f$ E" q& ?+ d' f
  290. ; open_basedir, if set, limits all file operations to the defined directory4 x5 I5 S: i: M6 g: l* u' h
  291. ; and below.  This directive makes most sense if used in a per-directory
    - _# `" C( \. D% q" F1 |
  292. ; or per-virtualhost web server configuration file.
    ( ?, ~" y& \+ ~; D, i$ h
  293. ; http://php.net/open-basedir
    # z) j5 Q2 U. U) ]0 p: ?
  294. ;open_basedir =
    . |& B( t3 d/ F7 ?' m5 U6 L" I

  295. / |: ~, h) O( R1 ^7 t/ R
  296. ; This directive allows you to disable certain functions for security reasons.
    # K0 H8 {/ E* l7 E" w
  297. ; It receives a comma-delimited list of function names., q# x% _  @2 P1 |- k7 t0 p* ~3 H
  298. ; http://php.net/disable-functions* o/ ~% K, g# e- ~% C! ]# n. \
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru7 d# h5 S4 b2 [( ^# i; q
  300. ' k' }  N7 S* M8 f4 c( m# K, s; ^
  301. ; This directive allows you to disable certain classes for security reasons.
    $ r% c$ S1 g% x; m' R6 ^
  302. ; It receives a comma-delimited list of class names.- }8 G6 Y5 C& `! k6 j' ^& ]- V
  303. ; http://php.net/disable-classes# x* ^  U( G! t  w
  304. disable_classes =
    ( y0 ^. U' }9 I: n* v' x9 E

  305. 7 C& N2 C5 o; a. M/ y: d
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in$ Y2 t; l9 b- w* h  ?9 _
  307. ; <span style="color: ???????"> would work.
    2 A* K8 M% g& f$ o
  308. ; http://php.net/syntax-highlighting; I4 Z. P* i& D: l, ~/ i
  309. ;highlight.string  = #DD0000
    " w+ e% L+ m) ^) }9 T
  310. ;highlight.comment = #FF9900! O. l. f! X' {) V5 ?! a0 q! x- }
  311. ;highlight.keyword = #007700
    ( d) ], j. i: S( G, B6 F
  312. ;highlight.default = #0000BB4 f. S+ {  l2 r  y- V7 t) j
  313. ;highlight.html    = #000000
    $ J5 p2 Z) G' j* X8 x9 ?4 D9 z

  314. ' h- N, l! o/ T+ M0 i  [7 H
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    $ ^7 u. W8 C8 [; P) }
  316. ; the request. Consider enabling it if executing long requests, which may end up
    0 N7 W) D0 c7 H& A
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior, J- c# i0 a5 D) l  c) r
  318. ; is to disable this feature.2 d% D) J, X+ S8 D, s3 P4 i
  319. ; http://php.net/ignore-user-abort8 l' o. ?5 B5 `( Q8 J. u# v
  320. ;ignore_user_abort = On7 t6 Q0 e3 d+ y4 A  r( s5 I
  321. 8 e/ y7 v; C) q1 F: j% Y6 c, j: p  l
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    % z6 n/ ?+ d7 p: Y
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    $ @* A  ?! t3 T5 ~# G: n9 J3 r* ~9 H2 P
  324. ; the file operations performed.
      y/ F+ W* }" n7 S
  325. ; http://php.net/realpath-cache-size
    - y- ~% c+ B5 `% W" H( M
  326. ;realpath_cache_size = 4096k7 M' \  w  f% j, _" }. \
  327. 7 O. L( [+ M7 Z  G7 N  M
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    9 b, c% x  @7 k! j" W7 e% @
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    5 A# U1 ]+ E1 T5 B% L% x
  330. ; value." C4 ]; u; }  W. n4 R. Z9 K
  331. ; http://php.net/realpath-cache-ttl
    # S% f( G  i; H6 Q" f# c
  332. ;realpath_cache_ttl = 120$ E8 T0 ]" g2 ~5 P3 e

  333. $ I( V8 G4 M3 h/ Y3 y% v
  334. ; Enables or disables the circular reference collector.1 G4 `1 N2 m; ~/ \* S' R* c
  335. ; http://php.net/zend.enable-gc
    ' Y* B7 Z+ h8 U" q
  336. zend.enable_gc = On
    : y! y3 x" B0 W: G
  337. ' L! p( ?1 y7 T" H
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    0 ]8 s4 i6 {2 P; E( M3 ?! a
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    / V) V: ~/ I' Y) f, F
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    % o) h3 i4 O7 D8 z6 C8 E
  341. ; Default: Off& H( _8 q# x  a% f* A0 w' d
  342. ;zend.multibyte = Off
    9 n4 d, _, P, w" G- P$ i

  343. + v, A- ^0 S8 v# R! E5 W
  344. ; Allows to set the default encoding for the scripts.  This value will be used4 k6 D0 D- N9 {" m
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.) M6 A" m& J' r
  346. ; Only affects if zend.multibyte is set.- K2 g) T  ^) [6 c+ u
  347. ; Default: ""5 q% C1 l  M' S5 w6 x
  348. ;zend.script_encoding =
    ! d; b9 P! @8 `% H

  349. / V8 V, C) n2 `/ j/ I, E; j
  350. ;;;;;;;;;;;;;;;;;* L7 v$ n9 @" `7 Z
  351. ; Miscellaneous ;
    , x0 B' S2 c4 Q) I* w
  352. ;;;;;;;;;;;;;;;;;
    - c/ t2 {; K0 ^, m' S: R9 m9 {5 ]$ p: x
  353. ( n: B3 X  a, B' [0 G
  354. ; Decides whether PHP may expose the fact that it is installed on the server5 U4 x1 i. N7 h3 A( \: O
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    8 J# x! y: f/ [  w$ A) ~# {
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ( q$ @7 ?  Z  h( `! X
  357. ; on your server or not.
    7 F! N( \! \: p/ G" d/ U
  358. ; http://php.net/expose-php# b) x) n8 x3 M* @
  359. expose_php = On
    " E. P; l9 {- F0 }+ V5 u7 S% e

  360. ' l" h8 K+ c0 K9 x1 H1 L
  361. ;;;;;;;;;;;;;;;;;;;! B, p7 n( @2 H, ]; \8 A9 }
  362. ; Resource Limits ;
    . c' o! y5 A. g+ ~3 Z, x2 b
  363. ;;;;;;;;;;;;;;;;;;;, t4 {6 W9 T; E( N
  364. - B# c/ q, b5 f- v( o  O6 R' p
  365. ; Maximum execution time of each script, in seconds
    * r1 P/ n1 E, P% B* f& S
  366. ; http://php.net/max-execution-time7 S* G- y, [' U1 H" X% a4 e7 r2 [
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ; ~* G5 {6 M  [6 T7 d
  368. max_execution_time = 300/ b4 q& V4 M3 S

  369. , A  w+ C* v$ P0 M8 m( D5 Q+ K) c6 q6 |
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    - |. r1 p5 J% [0 I2 b; z& \
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly, r- I0 H8 v+ a6 e" Z2 t1 F
  372. ; long running scripts.2 N9 ]& H1 {$ X0 C) w' f
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    * s* r# ~8 p% M. x- z
  374. ; Default Value: -1 (Unlimited)  ?+ u% L4 D( \+ a7 x
  375. ; Development Value: 60 (60 seconds)
    & r: r$ b! h( [. g5 C
  376. ; Production Value: 60 (60 seconds)2 o. X- L3 Q. }3 B) I
  377. ; http://php.net/max-input-time- ]# F% f8 T1 T, U0 ~/ H- i  q
  378. max_input_time = 606 a( T: M3 \, `) u) b7 K
  379. , _; e7 f& w) d# b
  380. ; Maximum input variable nesting level, Z3 f2 |. Q/ P8 b! j
  381. ; http://php.net/max-input-nesting-level
    0 o, j3 s; Q" R$ u9 Q
  382. ;max_input_nesting_level = 64
    , G0 Q+ {1 t" W0 P7 Q' f: C
  383. ( F2 H( |) `( ?% p; J% W5 L
  384. ; How many GET/POST/COOKIE input variables may be accepted
    " Q; Y$ X- k/ h+ V+ y
  385. ; max_input_vars = 1000. u! d) u3 U# r. w$ _

  386. $ w  b! G5 q9 d2 y; t5 {. }( Q
  387. ; Maximum amount of memory a script may consume (128MB), l+ l: o8 X/ K$ y1 I; r  o
  388. ; http://php.net/memory-limit* v& I" D" J" P5 t5 D
  389. memory_limit = 128M
    ( ~+ G# A+ O* |0 k! ^1 {

  390. 0 k/ a. Q+ G: k; d
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    # q% y/ u4 c- q% R
  392. ; Error handling and logging ;
    3 \. q; H! Y& ^3 t% [( p
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    + N  ~5 z* i; y# p8 I3 K( Y4 N

  394. , v' E& y: J$ l% ~/ e& Q* u' S" V: k5 y
  395. ; This directive informs PHP of which errors, warnings and notices you would like5 i' N6 T/ a0 U# M3 ~$ t  f
  396. ; it to take action for. The recommended way of setting values for this) W) u1 D+ Z& K+ y' O
  397. ; directive is through the use of the error level constants and bitwise
    0 w) G1 r+ T6 K& N0 |
  398. ; operators. The error level constants are below here for convenience as well as) X$ d4 {) O$ t
  399. ; some common settings and their meanings.3 v# H) |1 l% S* k" f
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    , {) n2 x6 r# Q/ c+ a
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ; }$ ~: T# J. J# L; b
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    8 h7 Q2 t5 e) O3 R9 Z  E" q
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    / N1 B  B1 }9 a. D: L( R
  404. ; resources complaining about best practices and coding standards. That's what
    1 x7 L' Y2 A2 ^+ P! u! G
  405. ; development servers and development settings are for.6 Z$ b5 M6 ]# A
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ) j/ ~# Y, X; c2 v/ s, k
  407. ; means it pretty much reports everything which is exactly what you want during/ ?$ o1 g, P2 }/ ^! d  W
  408. ; development and early testing.$ Y) \9 m( B; {& Y& m; S/ Y
  409. ;
    8 V( m1 c7 |5 y# G) G' [- C
  410. ; Error Level Constants:
    6 A8 q4 F6 {3 p- w9 O
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)7 S2 h6 H8 U. z: ]( ^- p
  412. ; E_ERROR           - fatal run-time errors% K! E( h" M' V$ B& T( M/ z
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    / V2 f% J" c. S) w4 X9 t: Q/ L
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    3 Z( g5 o; `$ T; g2 B$ b" k
  415. ; E_PARSE           - compile-time parse errors1 [* A* h" ~# w/ i' u
  416. ; E_NOTICE          - run-time notices (these are warnings which often result! W8 }5 L4 ~& P4 m, E1 S7 b6 Q
  417. ;                     from a bug in your code, but it's possible that it was8 W+ W! \; V- N! r3 L8 i
  418. ;                     intentional (e.g., using an uninitialized variable and
    : m* {3 c' l+ ?! o+ }* [2 R
  419. ;                     relying on the fact it is automatically initialized to an$ `, `6 S$ ~! k; m- ?
  420. ;                     empty string)
    $ C+ i, }7 Q1 y4 s3 ]  \: j3 T
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes  ~7 S+ X6 x  N8 d- a5 I4 F
  422. ;                     to your code which will ensure the best interoperability
    ! {- U: @6 \1 p! W5 u
  423. ;                     and forward compatibility of your code
    , a7 y0 v( \# G5 M
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    # @. f6 S2 e( S3 e9 k
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ! M/ o7 t: h% C3 ]1 e
  426. ;                     initial startup" z- R  ^8 x5 d; n, H/ Z: L
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    & P# H4 C, ~) T6 r8 s$ d
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    / _$ Q6 H% S' }: W: H' q
  429. ; E_USER_ERROR      - user-generated error message' W  ?* Q, m; [+ \1 E# r/ n
  430. ; E_USER_WARNING    - user-generated warning message
    8 N4 _" L0 D1 [5 }* v; c8 K. w
  431. ; E_USER_NOTICE     - user-generated notice message6 I) t; p/ d) I7 a/ M
  432. ; E_DEPRECATED      - warn about code that will not work in future versions( h- R. u  S8 ]" X0 {3 Y. j
  433. ;                     of PHP
    6 q0 d: c  C4 ^/ K6 n% f+ [3 U, Q, U
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings; z4 O2 O8 Q# O& Z* Q4 P% N
  435. ;
    " j# s2 L$ l, V/ M
  436. ; Common Values:2 `7 F" m7 t; ?- j8 k
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.). w. V$ o( }' `' o, x
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)8 i1 ]0 }: Q" K: r, y3 ^* }
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)  @- _8 I+ X. \9 Q' W2 q& y
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    5 U0 Z: Q  h6 h, Y
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED6 A1 {7 l6 A$ u. t0 N5 B
  442. ; Development Value: E_ALL
    ' W, u* U) r9 f/ }
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT) l6 R* w, [  M- o2 z6 ^" L
  444. ; http://php.net/error-reporting
    9 f4 m, l5 _# }, y. f, x! z6 U( Z
  445. error_reporting = E_ALL & ~E_NOTICE
    5 R' A6 |  m1 i3 ?: i4 U" w" M

  446. : Z; G/ k9 `2 P) c
  447. ; This directive controls whether or not and where PHP will output errors,+ }; j) O0 n* E0 j/ n0 Z9 o
  448. ; notices and warnings too. Error output is very useful during development, but
    ( v/ p3 {# G8 N+ T! u- j1 Y
  449. ; it could be very dangerous in production environments. Depending on the code
    ; w6 j( H! a4 w
  450. ; which is triggering the error, sensitive information could potentially leak
    % K9 p: A. N9 W6 i* S
  451. ; out of your application such as database usernames and passwords or worse.
    & d- \! g3 b; [- v& ~! i
  452. ; For production environments, we recommend logging errors rather than4 p, q" J/ \# |0 _1 r* K
  453. ; sending them to STDOUT.
      `" J+ p, o$ F" B' W* O
  454. ; Possible Values:
    1 K5 T; J9 ~: L7 v- r0 e9 E
  455. ;   Off = Do not display any errors  P: p+ `% \. v* S
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)& J) m& @* o6 `. l4 ~5 d8 l6 G
  457. ;   On or stdout = Display errors to STDOUT
    3 M& r+ w3 W" Y: H- W
  458. ; Default Value: On1 L+ G3 M: {7 H& H
  459. ; Development Value: On
    + |  V, C$ s3 L
  460. ; Production Value: Off
    , ]7 N" @8 V* X1 M3 e4 g& _) d
  461. ; http://php.net/display-errors* D1 r+ A# B' u
  462. display_errors = On# o& u. m3 P2 A' V% v2 ^) `5 t
  463. # U0 |. W5 F. _! v: |: J/ {
  464. ; The display of errors which occur during PHP's startup sequence are handled' }& @# e2 c0 u; c! l+ y% D
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    1 {5 m2 G( U; ~9 s- {1 P& q
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    9 O8 m$ i8 A+ v/ \6 |0 {
  467. ; debugging configuration problems. We strongly recommend you
    - B9 h; _3 |3 w6 `  q# r. v) t! @
  468. ; set this to 'off' for production servers.) y2 t) s8 u6 M
  469. ; Default Value: Off
      E% F4 P+ r2 Y) b3 I: c
  470. ; Development Value: On, Q* P+ b2 |: [+ V
  471. ; Production Value: Off  F( Q; ]& e/ e1 g! Y8 _' _
  472. ; http://php.net/display-startup-errors* {+ l! |8 X5 K$ Y7 `" f
  473. display_startup_errors = Off
    , j9 Q) j/ L+ Q( g3 V4 ~
  474. 0 r3 k) D" b9 Z7 ?( r: S1 O/ \3 x
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    + X# X  j3 e0 Z, Y: m! x
  476. ; server-specific log, STDERR, or a location specified by the error_log
    : z5 G  c0 D% `* ^( J4 e8 |
  477. ; directive found below. While errors should not be displayed on productions
    # q1 F) S5 S% V& M
  478. ; servers they should still be monitored and logging is a great way to do that.3 Z% Y7 g. P3 j9 v' G+ v+ U
  479. ; Default Value: Off5 N9 k" |$ u3 g
  480. ; Development Value: On( K/ g7 T2 Z& v" g' t: @
  481. ; Production Value: On
    # K4 Z. l% _! h2 k6 F- h* K5 R
  482. ; http://php.net/log-errors
    , Z( z+ u( k+ S
  483. log_errors = On$ ~0 c2 W. P2 q  q6 ^

  484. 5 h, _" G0 x# x( q
  485. ; Set maximum length of log_errors. In error_log information about the source is
    2 F' |# j# `! u8 {% l
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    5 |7 s4 V/ q! O0 q
  487. ; http://php.net/log-errors-max-len5 \8 I9 u' K& M1 a: q: R+ b
  488. log_errors_max_len = 1024
    ! N! B% o8 |/ X+ X6 b, u6 J
  489. 7 q9 B+ I* T+ ^
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same+ _0 I- {( c# z5 Y3 W
  491. ; line unless ignore_repeated_source is set true.( j4 I( ~* j; T' X
  492. ; http://php.net/ignore-repeated-errors
    ! `$ k# y, f0 M. h0 [: k  t1 O8 O
  493. ignore_repeated_errors = Off* a# `; v  @# @3 Z( _2 e( v
  494. / O) g- D. w) \5 K. J. V/ M. T
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    0 Z' x5 b/ p  ]* P; ]$ g$ V
  496. ; is On you will not log errors with repeated messages from different files or
    " f' v( q3 \7 ~& n
  497. ; source lines.
    . P" G1 P% F. R! H2 O( h
  498. ; http://php.net/ignore-repeated-source8 ?5 Z9 X" g/ B* y4 u# C  s
  499. ignore_repeated_source = Off
    - R( @3 L' D% y. h/ t

  500. ) {. b2 I2 _- |6 a* V% ?
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ( S/ y' K) N. G
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ; x" d3 t- P  T+ k8 x$ @
  503. ; error reporting includes E_WARNING in the allowed list/ E6 [) e' i. `8 k5 B
  504. ; http://php.net/report-memleaks( t* v% ?$ E# n
  505. report_memleaks = On5 r; M' |& y9 E

  506. - i- e% O6 e7 u6 ~& J- O
  507. ; This setting is on by default.9 K  Z7 e1 |. {) |4 F
  508. ;report_zend_debug = 0
    - U8 i- M/ c* }$ n2 |2 t" }

  509. ! V# z, [% `8 S
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value; \+ ]' B, u! {# _4 m# e' W
  511. ; to On can assist in debugging and is appropriate for development servers. It should8 f! r0 n* O- J& T0 ]
  512. ; however be disabled on production servers.
    % `# B' \( P2 T: {' b- g1 b
  513. ; Default Value: Off
    % y1 H: H. G; C$ _
  514. ; Development Value: On
    % K3 d; ]3 y9 V$ C! @, K$ k6 v
  515. ; Production Value: Off* a& v5 V6 |* f- r+ ~0 H
  516. ; http://php.net/track-errors6 u& V! z1 p; B
  517. track_errors = Off$ \, f( i' B: |* t7 a

  518. ! e# r& {5 j  a# c2 ^
  519. ; Turn off normal error reporting and emit XML-RPC error XML% a. _0 N4 |1 g" S5 k- @7 m
  520. ; http://php.net/xmlrpc-errors
    ' S( _) Z3 v* r- O; e
  521. ;xmlrpc_errors = 0
    3 A: O, ?. L! ^  @2 T8 [
  522. 2 d0 Z3 S2 ^) ^$ Y2 a9 Q' ^3 }: c
  523. ; An XML-RPC faultCode! l( R. D; ]. b) D1 [, E
  524. ;xmlrpc_error_number = 08 E! K) I3 ~" D# Z
  525. 2 [/ ~6 V" N3 B( T/ N' O
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    ( |' o8 V* P5 c$ E
  527. ; error message as HTML for easier reading. This directive controls whether
    2 ^$ `, [; T9 j% w3 f( {- t
  528. ; the error message is formatted as HTML or not.
    , s/ C2 q2 M8 q& I: ]/ w
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    , a1 M: B3 d: N& r' r1 U+ b
  530. ; Default Value: On7 ?3 S7 O# @9 R8 B: b& j' G5 |5 G
  531. ; Development Value: On
    " D# D8 I( d' a' u
  532. ; Production value: On- b9 V' f" Z0 Y. W  U3 ?* X1 d
  533. ; http://php.net/html-errors
    4 a6 ]( ^* c+ t' Z
  534. html_errors = On' P# M8 L" H, y$ ]7 @4 N/ N
  535. " N7 b  w) I0 S& ^
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP# e( Q) R" Z$ i5 S3 w" C9 l
  537. ; produces clickable error messages that direct to a page describing the error
    ( u5 p# ~: z) Q3 ~
  538. ; or function causing the error in detail.- L! N6 t  i# R; V! l
  539. ; You can download a copy of the PHP manual from http://php.net/docs3 l/ k' x6 L+ Q& {1 z
  540. ; and change docref_root to the base URL of your local copy including the1 ?8 R% i" F7 {+ g
  541. ; leading '/'. You must also specify the file extension being used including
    / o3 i( V% e6 a$ p2 c
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    : T0 t" n. v& _0 R, K) x- f
  543. ; case no links to documentation are generated.
    0 u9 S2 V  V7 x$ l/ t3 F; ~0 @
  544. ; Note: Never use this feature for production boxes.
    5 u5 ^) D! G  T9 r& U4 q) c
  545. ; http://php.net/docref-root
    . B) `7 z& j+ a% E. K
  546. ; Examples$ M, A1 z2 B) c
  547. ;docref_root = "/phpmanual/"
    & ?2 `9 M% W1 K1 y
  548. - D: y& Q, a  q) m, N; S
  549. ; http://php.net/docref-ext: u4 ?* `' m6 {
  550. ;docref_ext = .html
      E# C) x5 o. i& o3 Y* e
  551. - {2 ^. J5 s7 E; {) F
  552. ; String to output before an error message. PHP's default behavior is to leave
    / C" D+ t. {0 h  u; O4 ~2 \9 U
  553. ; this setting blank.# w2 |$ {' M3 ^1 o4 B
  554. ; http://php.net/error-prepend-string
    ; z1 _: I0 s7 w1 ?0 B% U$ F0 G1 U
  555. ; Example:0 p  E( e! ?) {/ j, b# y& m9 n
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    " ^/ \0 O) k$ R& z+ V- M

  557. . V4 y% g- ]& `4 d! c
  558. ; String to output after an error message. PHP's default behavior is to leave5 y( x/ U$ R% T4 T
  559. ; this setting blank.
    ) ^' o! M, ?( S$ H0 v- ?( Y0 U
  560. ; http://php.net/error-append-string
    : L+ M- l" E4 T  f- ?6 y
  561. ; Example:
    : P8 d2 s4 b5 Q9 ?  K5 A
  562. ;error_append_string = "</span>"6 I% R  \1 B6 [1 O  G
  563. / G  v4 T8 |( ~; \. k
  564. ; Log errors to specified file. PHP's default behavior is to leave this value7 ~, j* L3 N0 N! e
  565. ; empty.
    2 {& J9 S$ A# J2 U
  566. ; http://php.net/error-log
    ! r) I! _; @- a( m, q) J
  567. ; Example:
    # ?/ g8 {2 b' h- B- L, c
  568. ;error_log = php_errors.log
    7 X9 h  p# ]9 P: g9 @
  569. ; Log errors to syslog (Event Log on Windows).) [) U: P* `( M9 p' u  _
  570. ;error_log = syslog
    - v6 c3 m% g) @9 k; O

  571. $ A& O8 Q1 Y+ z& J9 N- x9 {
  572. ;windows.show_crt_warning# M: a1 L" }2 B( {; ?2 m3 j' H
  573. ; Default value: 0$ n2 P$ A1 K7 |+ S6 V; q; b. C
  574. ; Development value: 0# }/ Z* A/ M3 _9 b
  575. ; Production value: 0
    $ r7 c: E- h! e6 A- P2 |2 o
  576. 5 a  n& Y/ f: S
  577. ;;;;;;;;;;;;;;;;;- |# f- o1 e8 }  L3 s  O/ o
  578. ; Data Handling ;
    $ S$ P" J" q) p: g8 [( M' U( d
  579. ;;;;;;;;;;;;;;;;;: h% ~/ `& l  l/ d
  580. " L$ z  \8 D) q' \, H2 q8 _
  581. ; The separator used in PHP generated URLs to separate arguments.3 b% ?8 `$ M! e, L, \8 w! n
  582. ; PHP's default setting is "&".% C& u& }2 Y$ }- B9 U4 c* ^
  583. ; http://php.net/arg-separator.output
    ) |2 ~, I+ \7 _, H  p. U. w0 V
  584. ; Example:, z$ y' \( D: o3 m; t6 x& K+ `
  585. ;arg_separator.output = "&"+ Z- |( N+ @: e2 T& |; ?
  586. " F" b# o4 g* @
  587. ; List of separator(s) used by PHP to parse input URLs into variables.$ Z+ t" u; ]) g+ Y) O6 M+ T( y
  588. ; PHP's default setting is "&".( x5 ~' p0 P) `, e6 t1 q+ @4 {
  589. ; NOTE: Every character in this directive is considered as separator!
    " I- S5 P4 M4 Q; m
  590. ; http://php.net/arg-separator.input0 t5 G5 K) D0 J. [3 W
  591. ; Example:
    - B- o! b  U, o  E  F% p
  592. ;arg_separator.input = ";&"
    ' V6 h: a5 z# C! |- \) p& N

  593. ( h# x# P# J( l0 f' Z. M
  594. ; This directive determines which super global arrays are registered when PHP
    " U8 |( O- m7 l# ^8 z( J. N
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super4 P# C- K; Y3 K2 ]+ j" q2 W; {' q8 s
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty: B* H9 D( i9 W  }4 n" t
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    9 i& l: H: W6 I0 v, ^
  598. ; used as the others, ENV is not recommended on productions servers. You6 e( b% N! H! e
  599. ; can still get access to the environment variables through getenv() should you. D. S/ a5 ?: K+ d! o6 t9 m; I
  600. ; need to.
    8 Q* _; ]$ _5 ^, f' P& S4 y
  601. ; Default Value: "EGPCS"3 d& J! P' v; {' E+ `* A
  602. ; Development Value: "GPCS"( G' r, x* O: Z; x( w+ Y
  603. ; Production Value: "GPCS";2 N: l  b, }& p" G6 l" S
  604. ; http://php.net/variables-order
    6 I0 o6 o) x3 e! {
  605. variables_order = "GPCS"
    : s( h/ h! R+ f" B% p/ O* k
  606. ; E4 i2 M  N) |+ c$ t' D* E
  607. ; This directive determines which super global data (G,P & C) should be( l) I) n, J8 V% }9 ~- R
  608. ; registered into the super global array REQUEST. If so, it also determines4 x9 s0 h: n7 F  Q
  609. ; the order in which that data is registered. The values for this directive
    ! F0 e3 U4 `$ `. W/ Q7 {# M; x( P, g
  610. ; are specified in the same manner as the variables_order directive,4 |  q7 b7 y1 t& P9 m: y2 Y
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
      F$ u2 y; a" C% Y  Q) l' [) N
  612. ; in the variables_order directive. It does not mean it will leave the super- r3 |$ \2 ^' V6 Q7 F9 N
  613. ; globals array REQUEST empty.
    8 a0 _2 r7 k9 [+ j
  614. ; Default Value: None
    ; E% r2 [; T* J
  615. ; Development Value: "GP"! f1 A: X) \# U# E' p8 }
  616. ; Production Value: "GP"1 L# \# R. }( i( v+ z0 Y
  617. ; http://php.net/request-order
    4 `2 ~0 `3 W0 q& [; M
  618. request_order = "GP". M' }7 F4 i/ p" a: r! H6 Q
  619. 1 w, i2 q: B  w2 z% W6 I' R
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    1 a  |( a; E9 w
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script5 x9 L4 T' s6 f. p3 C# R8 T
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ; Z" w" L! ]: A4 Z
  623. ; that were passed when the script was invoked. These arrays are extremely
    ! Y: B4 t* t  `4 D
  624. ; useful when running scripts from the command line. When this directive is1 t2 h$ b, |. [2 {$ G) A0 |) V
  625. ; enabled, registering these variables consumes CPU cycles and memory each time8 S+ H7 r8 X* f. x$ r- b
  626. ; a script is executed. For performance reasons, this feature should be disabled
    9 M$ K+ Q4 Z, N" i; P( B4 ?
  627. ; on production servers.
    # P1 r0 M" f0 o8 X( o0 a
  628. ; Note: This directive is hardcoded to On for the CLI SAPI7 J) o9 U  e+ L  X' l" ^3 _
  629. ; Default Value: On
    0 l3 N5 m2 S* [- l) O# ~
  630. ; Development Value: Off
    * X3 a; Q- L/ g7 f5 ^& p; P  i0 U4 V
  631. ; Production Value: Off4 Z- p$ c! r9 T! r9 M- h) J* N
  632. ; http://php.net/register-argc-argv7 x, a! a, e2 y4 f0 r" D
  633. register_argc_argv = Off
    ! Q6 P. K$ v3 F5 P4 n# V

  634. , p7 n$ S" _+ d, Z; E  j2 y3 o/ P  m
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    * W# e9 z/ h  o7 ?' a" j% b
  636. ; first used (Just In Time) instead of when the script starts. If these
    # d, n5 @+ h* N& g( J1 ^* N
  637. ; variables are not used within a script, having this directive on will result
    4 O6 y! x* U" n
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ! z5 p3 Q0 n% \/ l; ^& G& |
  639. ; for this directive to have any affect.$ o! x! S) Y: e; b7 f
  640. ; http://php.net/auto-globals-jit: j: C+ S, E4 w* B& S9 {' g
  641. auto_globals_jit = On" c8 q. B& y3 I4 J; H, n
  642. $ Q* a4 O, {' c3 G
  643. ; Whether PHP will read the POST data.
    + i! F. a+ {" K( }
  644. ; This option is enabled by default." D+ v. ?0 b" k: v3 S3 Q0 u
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ) x5 z6 p8 n; ]- Z3 [! y* d
  646. ; and $_FILES to always be empty; the only way you will be able to read the# X( Q' @  ^% H9 `
  647. ; POST data will be through the php://input stream wrapper. This can be useful( Q# z$ }" O8 u8 q0 z
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.# p! `" m* B5 i
  649. ; http://php.net/enable-post-data-reading
    + e$ x3 z" p" a- b7 Y: O
  650. ;enable_post_data_reading = Off0 r( X1 `" N5 G  D+ ]+ D
  651. * g4 L! C" {$ d; w  p" l6 M$ R
  652. ; Maximum size of POST data that PHP will accept.
    ) z, V* l) m' X! _4 C" I& i7 |
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    - w5 I( p3 z; j) _5 u
  654. ; is disabled through enable_post_data_reading.
    0 H1 A" M1 H* ~
  655. ; http://php.net/post-max-size
    : r9 h+ K: n" g) q/ b# V
  656. post_max_size = 50M
    0 [) b/ k) g5 T# T2 g8 M* f: u
  657. 3 ~1 v+ \6 K7 B! s3 N* S5 Q
  658. ; Automatically add files before PHP document.
    7 x4 I' @3 O+ ~2 W& W7 s8 P
  659. ; http://php.net/auto-prepend-file
    1 R- P' y  l/ E$ f# i8 a7 @
  660. auto_prepend_file =
    0 F& k; D# I9 c0 ^" q
  661. , ~, h( h+ F( X" z- m3 L
  662. ; Automatically add files after PHP document.
    & v0 h( M. d4 q: [: ]
  663. ; http://php.net/auto-append-file$ p  ~& z9 C) a! l; Q: ~
  664. auto_append_file =
    * f: Q/ V1 ^& o$ ~% G! A- z* ^

  665. 7 o% u' h; D4 k
  666. ; By default, PHP will output a media type using the Content-Type header. To
    : h% B$ u" `, v! N) y6 I- B
  667. ; disable this, simply set it to be empty.
    7 {& o2 Q; W# n: p% ~5 N$ [) \9 v! c
  668. ;
    7 s- u3 ~- y2 U8 a9 T
  669. ; PHP's built-in default media type is set to text/html.4 Y5 h7 F$ Q/ w, y+ b9 A3 x
  670. ; http://php.net/default-mimetype" E  o- Y. A  T0 T
  671. default_mimetype = "text/html"
    % u8 _2 x' X3 y# T% w
  672. * y6 j' H' {/ F/ z) w
  673. ; PHP's default character set is set to UTF-8.
    , i  v" G  ?1 p
  674. ; http://php.net/default-charset3 o; k( H/ n1 t  w
  675. default_charset = "UTF-8"$ s; r- h& u" M8 x1 A

  676. 9 r; ]9 S! J& \: n, E7 C! P' R( `
  677. ; PHP internal character encoding is set to empty.& K; w, m2 B0 U! g, @4 X9 @+ `
  678. ; If empty, default_charset is used.
    * u9 J2 d4 A* n2 d3 [" G4 Q
  679. ; http://php.net/internal-encoding: N7 I% y2 r1 d4 Z: l5 u
  680. ;internal_encoding =4 U7 ?$ P4 B9 B  q

  681. : Y' v" ?/ U! V+ J# Z% a- j
  682. ; PHP input character encoding is set to empty.
    0 h! w, w; t% W. H9 s" s' F- W
  683. ; If empty, default_charset is used.+ t: i5 n- d* L) c1 Q( T3 h- u
  684. ; http://php.net/input-encoding
    ' r* H% A& u  r9 Z
  685. ;input_encoding =! z( ~) N% v# A
  686. # u& u( s6 g7 }0 n
  687. ; PHP output character encoding is set to empty.! W) m1 I! v' q( L
  688. ; If empty, default_charset is used.2 {5 T# p0 \% L
  689. ; See also output_buffer.  y6 s0 }* V* [. Q" H$ W; v7 S
  690. ; http://php.net/output-encoding
      ~8 Q3 x9 h4 e
  691. ;output_encoding =# V0 H3 }6 s, h; m

  692. 8 [" H2 J- _: _& J% ~8 j( q
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    8 d3 z& P5 a- P( u# n8 c
  694. ; Paths and Directories ;
    ( K; {$ p  h% W( z0 y
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & v2 b- E% o7 i' X  R0 R# ?

  696. + l) A0 R7 z$ c* K5 n) ?! g1 K
  697. ; UNIX: "/path1:/path2"
    . L* ]* a/ h6 {8 u; B' o7 G& V
  698. ;include_path = ".:/php/includes"$ t1 P* `0 B' \! E8 m
  699. ;
    " ^7 j$ h6 n4 B9 z; r6 F6 _1 }/ g' C
  700. ; Windows: "\path1;\path2"
    3 {5 e9 O9 q& g5 H
  701. ;include_path = ".;c:\php\includes"* r! U9 C; n6 e& \/ y9 e) N% p
  702. ;
    , S+ E6 |( f% g* M3 r  @( U& c* b
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ! q! x  K1 }$ B: c
  704. ; http://php.net/include-path
    4 G: Y6 g, \% W
  705. 0 i# c% P- d1 R6 _8 {+ B
  706. ; The root of the PHP pages, used only if nonempty.' }6 M5 I7 C  F
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
      [8 O0 ^) |; T! k7 L) c
  708. ; if you are running php as a CGI under any web server (other than IIS)7 ^( L. {% Q( m4 \: e2 T& h2 `
  709. ; see documentation for security issues.  The alternate is to use the
    ) c2 |; J) t* t: z! s9 @, Y
  710. ; cgi.force_redirect configuration below
      \8 _9 E8 w6 C4 p
  711. ; http://php.net/doc-root
    2 y6 U( b+ t8 R, R: b$ Z( [
  712. doc_root =) l+ H% }) v7 K0 i. h+ V* V

  713. " _7 b6 y. ^# }% G) t1 ?( @( o
  714. ; The directory under which PHP opens the script using /~username used only% ]& A  q0 |9 ~' ?
  715. ; if nonempty.3 q& s6 @; f* K" ^+ V) c
  716. ; http://php.net/user-dir
    7 {4 X" K) `% I0 Z
  717. user_dir =9 G$ {* K! ]. z0 h" o' G  N
  718. 7 ~4 p5 s7 K% i- x+ \6 C7 E# g9 q2 `
  719. ; Directory in which the loadable extensions (modules) reside.3 W4 y# |- w' M- N
  720. ; http://php.net/extension-dir
    3 [: y7 i9 w, N( r$ e) z0 x
  721. ; extension_dir = "./"
    & y8 U1 Z6 u7 |- O$ H# W4 L  H
  722. ; On windows:
    9 q! H2 P( s6 b; E( l: J
  723. ; extension_dir = "ext"
    ' F! ^1 k& f4 {

  724. ! ^% t/ V# [. _, |
  725. ; Directory where the temporary files should be placed.
    5 w/ F# _+ d" w/ K! {; I$ d: P* N; O
  726. ; Defaults to the system default (see sys_get_temp_dir)8 j8 D0 l* g' L% F* F& Q8 n0 M
  727. ; sys_temp_dir = "/tmp"! V  e4 K5 `# A3 ~& r/ F0 r, D8 F
  728.   Q. b8 J+ u& S
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    % `; i8 H. o1 H* s
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    * i: q2 t. F" ]1 _1 r4 E! a  E
  731. ; disabled on them.
    / W! t& @  H1 N! `
  732. ; http://php.net/enable-dl" V& S7 h4 I6 S5 B0 X* F
  733. enable_dl = Off
    : a" s* I) V3 g$ b6 F5 G! U
  734. & f% _3 Q/ K! J4 x  t5 u# \
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ! q; W: k! x) s5 H5 \( R/ B
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    3 ^  R* g5 Q6 o  d7 o5 M
  737. ; turn it off here AT YOUR OWN RISK
    % Y2 p) S6 P* R$ f2 r; ~8 K. X7 Z, v  b
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**' e9 f# ?% J" W3 w; q. F5 L
  739. ; http://php.net/cgi.force-redirect
    3 ?8 T8 i8 J6 O7 `, K; W
  740. ;cgi.force_redirect = 1; [9 K7 D8 ]" k0 y

  741. * d( x% T' B+ }# Y, g& a0 v
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    5 {3 [8 U. x* {+ h+ c
  743. ; every request. PHP's default behavior is to disable this feature.
    4 @3 z5 K5 K0 {- |  Y6 w$ R
  744. ;cgi.nph = 1
      }, b- Y& l7 M3 S' z
  745. ; L8 _7 s& [* S0 X( X
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape- `- P) z. [6 a7 M% g) o$ L
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ! g/ Z$ }% p( @, s0 i9 ~
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    * G- m$ f8 X8 K
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    " K; d0 n: k( m/ G" J" X. y+ K
  750. ; http://php.net/cgi.redirect-status-env2 p! I- L4 {/ M/ ^9 j
  751. ;cgi.redirect_status_env =
    8 l, y1 p5 Y2 D( l/ k
  752. ' L1 L2 _) w' C8 i. ^' k+ ^8 L5 |% K
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's1 g$ o( y/ q% Z
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok: g5 U' x! y/ D( S* f
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    0 ^4 ~2 n/ `9 |4 K
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    . U9 Z# c- M. u( L
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    " [( I7 O) O% I6 `  ]: {
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.7 E+ ^5 T0 `0 C/ X
  759. ; http://php.net/cgi.fix-pathinfo$ H+ a# O. ^8 d& H/ q( L
  760. cgi.fix_pathinfo=1
    & W+ p: e+ B. N0 c

  761. ' r, u$ O+ F* f1 Q; f  h& m: Q
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside1 T2 F$ N* y) @% I" P# K; r, e
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    & V/ |& d5 A: N* o7 A: z8 c" e
  764. ; http://php.net/cgi.dicard-path7 ~; \, S* t- ?8 O% i
  765. ;cgi.discard_path=1
    3 z. x9 Y! g; N4 T

  766. 0 I4 O9 w5 c2 l/ i' V
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    % y  j/ h; M3 y9 i# A" k
  768. ; security tokens of the calling client.  This allows IIS to define the
    + o( n) S# h2 P- P) h/ p
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    $ k; g) A( m( u' m* c* v- S
  770. ; does not currently support this feature (03/17/2002)) C6 A! K& E# i  M
  771. ; Set to 1 if running under IIS.  Default is zero.
    . q  X& v2 m2 O# q+ o- P
  772. ; http://php.net/fastcgi.impersonate: m" a9 p% G; `2 A5 Z
  773. ;fastcgi.impersonate = 1
    6 c' @2 Y1 c6 u# L: g% Y

  774. 1 Q: W1 c! A- F! v
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
      g, I- S7 P& \" i- l7 E0 ?* l
  776. ; this feature.
    4 X$ ~/ C. J* ?; U& J* C
  777. ;fastcgi.logging = 0, V: }9 X6 B7 I- D/ p: i0 S* P

  778. ! L! ~) m' V4 P; V
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to+ J5 R* X0 @# b2 V
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that4 a! m, t* D) p/ @2 K$ @. z
  781. ; is supported by Apache. When this option is set to 1, PHP will send* Z3 R5 {& D& f; y% _
  782. ; RFC2616 compliant header.7 S+ b9 \; i: ~& z" f  {/ q; T4 m* K
  783. ; Default is zero.2 F2 s5 s" ?$ l
  784. ; http://php.net/cgi.rfc2616-headers8 n) v- `" g0 a! Q. S
  785. ;cgi.rfc2616_headers = 06 p, e3 J6 ^/ y  u/ P' e

  786. " f1 @9 x# [; G& @
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    # c  f9 [5 Z! ^/ x" R) O
  788. ; (shebang) at the top of the running script. This line might be needed if the- @. O- b4 \% ?7 @  C3 C, D$ r
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    6 u( ~, i2 |2 p; H2 C" D
  790. ; mode skips this line and ignores its content if this directive is turned on.3 C1 K' S/ T3 x6 F3 h, r' Q) L7 d
  791. ; http://php.net/cgi.check-shebang-line
    / \( u0 R% n/ i2 q
  792. ;cgi.check_shebang_line=1  ]; J* t6 I* a  r/ M3 f* C% c, V

  793. 6 L5 ~/ l1 A: O3 d- C# e' A
  794. ;;;;;;;;;;;;;;;;
    ( D0 W. x8 u, ]6 `# w2 C* ^
  795. ; File Uploads ;
    6 V9 z% [1 y2 H/ C/ C8 m  I
  796. ;;;;;;;;;;;;;;;;
    - L8 ^! I0 b; r9 I

  797.   v) B  f* J4 v# J5 N4 A' x
  798. ; Whether to allow HTTP file uploads.
    , c5 a+ S) g+ c) r. I4 O4 t
  799. ; http://php.net/file-uploads
    ! i' v" A9 X8 A; E: ~
  800. file_uploads = On4 \: n' t8 f: U8 J6 H8 g% [

  801. , Y+ w+ [9 Q  w. s0 A, v: ~6 ?
  802. ; Temporary directory for HTTP uploaded files (will use system default if not( r/ k' K" ?; [. H+ C6 C# D+ q
  803. ; specified).& K/ E, ~$ G% n* B& q8 g
  804. ; http://php.net/upload-tmp-dir
    9 Q# y4 E  F# o& k5 U% \! R9 m; b5 l
  805. ;upload_tmp_dir =
    . }* E3 I6 ^- u6 L

  806. # q0 ^& @( Q9 G6 C+ B/ s$ ~8 M2 a
  807. ; Maximum allowed size for uploaded files.7 z6 Y8 Y: c3 U
  808. ; http://php.net/upload-max-filesize
    0 E6 k( V5 @8 a# t9 f# O0 ?
  809. upload_max_filesize = 50M* G; a2 m' d- X/ T+ q
  810. 5 c- K8 \3 y8 r; {/ e$ ^) Y
  811. ; Maximum number of files that can be uploaded via a single request
    ; _* y2 v6 ~9 W+ R, [
  812. max_file_uploads = 20' M) |1 a5 @- F
  813. ( G8 ~7 l- N( e! f. W/ N1 C7 r
  814. ;;;;;;;;;;;;;;;;;;; n2 m1 w7 i8 J5 i
  815. ; Fopen wrappers ;
    7 o. \' W+ F# u9 A3 b: S; b
  816. ;;;;;;;;;;;;;;;;;;. Z2 ?* |7 j, ^/ e$ @

  817. 4 Z. e1 m- T6 @' t* y
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    $ x7 U( r6 L1 j. W  h
  819. ; http://php.net/allow-url-fopen
    ! K8 K7 O9 _( ?8 v# Q9 j
  820. allow_url_fopen = On: P9 W9 B$ M: d, v

  821. 2 J! B+ C; y$ ~: s
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.' M! P! t( i: N6 i5 Y5 k. V( `% S
  823. ; http://php.net/allow-url-include/ y# _! u) [! G0 k/ G3 t
  824. allow_url_include = Off
    . {1 }( M& a" C+ q5 E& S* |* i2 a

  825. ( ^, }) P  X! n+ Y
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    + m$ C4 a/ J; @
  827. ; for this is empty.
    4 B7 a' E' l8 h" O7 N  W3 Z3 q; f
  828. ; http://php.net/from
    - {: ^! D$ q& m0 B& S' ]
  829. ;from="john@doe.com"
    1 M: U3 g8 p+ h$ C& h
  830. ( c  N- B) ^( _% c
  831. ; Define the User-Agent string. PHP's default setting for this is empty.5 g8 _7 b* [2 _. s6 h# Z6 Q
  832. ; http://php.net/user-agent+ d; \/ i/ @8 z2 A8 I$ D! n( y( ]. z! {
  833. ;user_agent="PHP"
    - R1 g5 k1 E; b/ V) s6 x

  834. " E" C  p2 |" y1 ]
  835. ; Default timeout for socket based streams (seconds)# H! j) U! Y6 a: }1 j
  836. ; http://php.net/default-socket-timeout2 ~# D1 c+ o1 S/ K5 o
  837. default_socket_timeout = 60
    8 o* P" G% X: W' f

  838. 7 c5 c. j  |6 r& K. P
  839. ; If your scripts have to deal with files from Macintosh systems,
    : `! ~# i; p, U' n
  840. ; or you are running on a Mac and need to deal with files from
    / j% l! o; R2 O
  841. ; unix or win32 systems, setting this flag will cause PHP to
    / {" g( ^+ H$ A$ f
  842. ; automatically detect the EOL character in those files so that- Y0 q# X. J6 y2 y( a+ r" G9 O
  843. ; fgets() and file() will work regardless of the source of the file.) t) G7 A5 J/ L8 K0 _4 ?3 K
  844. ; http://php.net/auto-detect-line-endings9 a, {) e% s2 F% `/ w+ z% |  h
  845. ;auto_detect_line_endings = Off
    # j$ `" U4 _+ f( O) t+ Z' D
  846. , s  o- e1 n% G) x* w! d* o( h
  847. ;;;;;;;;;;;;;;;;;;;;;;1 ^- g3 j9 p/ ^  a2 z- U! G/ w8 x7 R
  848. ; Dynamic Extensions ;+ l1 @5 x0 U. \) ^2 Z
  849. ;;;;;;;;;;;;;;;;;;;;;;% Z& s5 m( t" X* \& q
  850. / q! p* |) t% E+ G
  851. ; If you wish to have an extension loaded automatically, use the following
    5 O, }- V0 F% p7 @( z9 U  x
  852. ; syntax:
    , ^3 L$ m! C5 v; J
  853. ;
    . \; @' G: ^, ~4 U6 `% L3 C" Z
  854. ;   extension=modulename.extension0 Z- H6 n8 y2 ?' `
  855. ;
    1 b2 C. J. ]& m2 q% B+ S8 y
  856. ; For example, on Windows:
    ; {, \8 X- {* m9 P
  857. ;
    4 @* m/ O9 h, ]: C
  858. ;   extension=msql.dll4 t! u& n; t# i/ a' j. B
  859. ;* d4 H, L* u% d. b2 R" @% _
  860. ; ... or under UNIX:1 ^2 r. x* c  A* Y
  861. ;( |. J  {% h# R2 J" A% i8 M
  862. ;   extension=msql.so
      h& U* M! c' V: R* ~
  863. ;$ t9 \# u7 W! w. ]2 Z
  864. ; ... or with a path:
    # y- \/ n" f; E5 I
  865. ;
    + m. O1 \* t- ^( _
  866. ;   extension=/path/to/extension/msql.so& Q/ e  H, ]4 T$ }9 G1 v
  867. ;% f. s6 N2 c5 S8 ^7 }( c
  868. ; If you only provide the name of the extension, PHP will look for it in its, z0 l  f" a) R/ c! K
  869. ; default extension directory.
    + {0 A% y. f& |/ \
  870. ;7 {  O, w) f* O$ I
  871. ; Windows Extensions1 B% h7 ]% {  n' O" z5 R
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ! e1 w6 I  [6 C4 J8 ?/ |4 X, T% b
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    . J* M8 T0 s; Z, D7 A% B
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).& D- W8 @7 v7 O! j
  875. ; Be sure to appropriately set the extension_dir directive.$ l$ H! h6 J# q4 P$ x0 ^
  876. ;
    3 i9 f  c2 H7 ]) |9 W
  877. ;extension=php_bz2.dll
    0 l. G0 W2 _; M8 F* {
  878. ;extension=php_curl.dll5 y: c' l5 X; R8 ]/ H2 w7 z
  879. ;extension=php_fileinfo.dll  V3 Z0 m( c2 K% e
  880. ;extension=php_ftp.dll& ?  R9 n' s- G; [: M0 M- l2 e
  881. ;extension=php_gd2.dll
    ! g1 |4 `# J3 h6 _% _
  882. ;extension=php_gettext.dll
    : Q/ x! O- L1 S0 R* I# m
  883. ;extension=php_gmp.dll
    8 d4 G$ w; p) s0 Y/ V8 d
  884. ;extension=php_intl.dll
    + @5 H9 ^" @  p( h6 f) F
  885. ;extension=php_imap.dll
    - i# F+ n; S: H' U: L7 K5 ~
  886. ;extension=php_interbase.dll
    + _- ~) R) [. `; M  g% w+ S
  887. ;extension=php_ldap.dll
    " o, O3 u1 t0 M6 x7 |0 R
  888. ;extension=php_mbstring.dll
    $ V$ d- F3 P' ~
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it7 ~  x* F- p9 `2 `
  890. ;extension=php_mysqli.dll2 ?1 A; n. o8 u* Y. {0 }$ j
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    $ w( ^) p3 ]( M" ~5 w
  892. ;extension=php_openssl.dll7 k: x0 O3 F2 I: @- C
  893. ;extension=php_pdo_firebird.dll
    / u7 p& u' S+ F- U
  894. ;extension=php_pdo_mysql.dll
    . e6 C. D  r% Q( q, E: b
  895. ;extension=php_pdo_oci.dll, _$ `  W" B* e! j. _
  896. ;extension=php_pdo_odbc.dll
    2 K3 s" p# {6 q" F( Y5 d8 [
  897. ;extension=php_pdo_pgsql.dll
    . K. J4 Z, E0 e9 ?0 s5 m$ x
  898. ;extension=php_pdo_sqlite.dll
    . K4 W$ ~* `* x5 V% M) D
  899. ;extension=php_pgsql.dll- r9 s& G! @/ R7 M# R$ ^# ^
  900. ;extension=php_shmop.dll4 U8 w' n" o+ y* Z" y
  901. 1 x7 R4 `4 ]' q( \
  902. ; The MIBS data available in the PHP distribution must be installed.
    3 M0 F, N5 r2 v7 ?7 `' B+ X- N
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    % _3 m3 o! h. B, D, T
  904. ;extension=php_snmp.dll
    3 p% `$ ?( N7 ~& \
  905. ; o( E% V6 @2 d/ `$ R
  906. ;extension=php_soap.dll) ?8 \4 ], L$ x+ i
  907. ;extension=php_sockets.dll0 x0 i  l, D+ j3 Z
  908. ;extension=php_sqlite3.dll
    , Q" Z# Y/ ~2 K& C+ g8 j+ J: d
  909. ;extension=php_tidy.dll$ M9 N* B6 Q+ D: k4 |+ e4 f
  910. ;extension=php_xmlrpc.dll
    8 f- d* F; y6 D3 O$ m2 {
  911. ;extension=php_xsl.dll0 j1 E( _( T  |' |

  912. . ]8 h" s. V5 g! L3 p
  913. ;;;;;;;;;;;;;;;;;;;
    ! s% }6 H/ O2 g" T0 H: A  A7 \' i
  914. ; Module Settings ;$ l- [) P/ [  G2 p, m
  915. ;;;;;;;;;;;;;;;;;;;
    ( d# `7 t( q9 s. z0 U
  916. $ j* n7 p$ ~) S
  917. [CLI Server]
    $ _0 e& W( ?. O: C, Q* D
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    6 [# a7 y! _; b; g: A8 y
  919. cli_server.color = On
    + q7 E  ?6 o. q+ e' T

  920. 5 }$ D8 Z+ S' w7 V" Q
  921. [Date]& s+ G$ E2 x$ a6 a/ X. D
  922. ; Defines the default timezone used by the date functions+ |0 u2 b" X8 N! P9 T
  923. ; http://php.net/date.timezone
    9 t# X' z; g9 Q/ G* k
  924. date.timezone = PRC
    % L2 X% _( p! @3 x% T* G
  925. & E% ~4 Q; T" v  u
  926. ; http://php.net/date.default-latitude
    4 H7 L- r9 b7 I
  927. ;date.default_latitude = 31.7667
    + B% y- n; I6 Z2 i& f6 |. _- r

  928. & k! N- x9 N* m/ \
  929. ; http://php.net/date.default-longitude
    " y8 ?% P3 Z& b0 J2 G% S# _$ H
  930. ;date.default_longitude = 35.2333
    - T0 o2 D& `  H) z! U- z

  931. 7 G, b' u3 D* c3 v. f5 L$ \
  932. ; http://php.net/date.sunrise-zenith
    . l2 ~5 H' t# o# T6 A9 I0 d4 a
  933. ;date.sunrise_zenith = 90.583333, H- W; |7 |3 G0 ~3 R; }
  934. ' L% S7 i0 ^. G; R9 i9 a( x
  935. ; http://php.net/date.sunset-zenith; Y8 z9 Q9 r& B/ B6 ~' L
  936. ;date.sunset_zenith = 90.5833334 w' v# v/ f4 x4 }" S$ U2 r- ^8 {$ j; |$ @/ s

  937. - b; Y& y% u0 V4 Z) L$ ~
  938. [filter]
    + {- u; K9 a* M4 p' e; P
  939. ; http://php.net/filter.default
    / {" j( m" ?( ^6 P- [% }
  940. ;filter.default = unsafe_raw
    4 j* Q( f/ n5 I2 F& X' k

  941. 7 D0 X1 y" s- h, i1 d; W; d
  942. ; http://php.net/filter.default-flags
    + l3 K5 u* A2 |1 |) q
  943. ;filter.default_flags =" s: W$ ?+ f: e9 g3 j( o, g; T& Q
  944. 4 n  m" D% O, t9 }; C  V
  945. [iconv]
    1 @8 J5 D3 S9 h# O" E
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.+ a+ @' j0 \" ]& r
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    0 \0 f- v3 t5 ]4 E0 [: r/ V4 f& G6 a3 P
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    % q- D/ b0 F! e8 R: I
  949. ;iconv.input_encoding =- b' x; \0 I+ e7 Z- `; Y( K

  950. ; @! x" o, [. ?, A0 q6 e4 B- ~* H
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " X# F( ]$ x% @5 p
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    $ M" a7 \$ T6 d
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ( H; B5 S  D% [$ C( e6 A5 U* f
  954. ;iconv.internal_encoding =3 B: G$ f3 i9 D- }/ J4 ~

  955. - F3 E3 K4 _; o, w, }- [3 g$ h$ ]" Y& t
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    7 r# L8 Z& H3 f, `' o
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.# z8 s: ]/ Q. ^. U# e7 E* a0 A
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    4 B' E; q- S! o9 ~6 l
  959. ; To use an output encoding conversion, iconv's output handler must be set
    7 \; u. r4 K, I$ O* D
  960. ; otherwise output encoding conversion cannot be performed.
    : p' v: u2 t1 C1 B: H/ s5 q6 I
  961. ;iconv.output_encoding =6 T' z9 x0 t) v( N1 q
  962. 0 f) o' o+ J8 B% y- |7 J
  963. [intl]; f  F1 q( n- D& ]. J! G
  964. ;intl.default_locale =7 s7 p# S; e6 ?9 p, e+ V
  965. ; This directive allows you to produce PHP errors when some error
    , l: e8 N9 ?6 R  `. ^
  966. ; happens within intl functions. The value is the level of the error produced.
    # w5 [) m; @9 z/ z& A# p6 `" R
  967. ; Default is 0, which does not produce any errors.
    9 ~$ n& {0 Q- v3 h8 N
  968. ;intl.error_level = E_WARNING8 x. N/ x: z" P/ P* M5 ]. Z6 Z
  969. ;intl.use_exceptions = 0
    - @. h1 M, Z8 l0 {

  970. 6 t; y( w5 a9 ~6 J. x
  971. [sqlite3]9 M! c8 ], D3 N- @
  972. ;sqlite3.extension_dir =
    4 }5 A1 U3 v& e

  973. 3 ]8 A# j. a% C" ^) r% u8 a
  974. [Pcre]4 n( J( ]7 S9 R" l9 C5 i2 y  b# |" B7 B
  975. ;PCRE library backtracking limit.
    7 r3 f6 _. I- O
  976. ; http://php.net/pcre.backtrack-limit3 i1 s4 _8 T( E6 K( u/ g
  977. ;pcre.backtrack_limit=100000/ B+ X5 r' H2 L9 y+ s9 e! r5 I

  978. 6 N" X; Y) R9 o" L
  979. ;PCRE library recursion limit.5 ~2 ]! U* ~8 x. z; G3 Y
  980. ;Please note that if you set this value to a high number you may consume all5 F/ h6 I* f3 m" f; R+ C
  981. ;the available process stack and eventually crash PHP (due to reaching the* X4 H' u0 h) W/ _
  982. ;stack size limit imposed by the Operating System).
    - |7 V. W, d$ N" \6 x6 i
  983. ; http://php.net/pcre.recursion-limit
    ! J( }. {( o. c' m- @6 i
  984. ;pcre.recursion_limit=1000003 N3 V) J. r' p& o$ B- v+ s
  985. , m& z" }9 g1 f9 v
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE2 \! K9 I# c4 `, ?) e
  987. ;library to be compiled with JIT support.6 \: t" r4 ?6 g1 U
  988. ;pcre.jit=10 S- }  A/ S5 c( L
  989. 4 L0 f8 G0 N: t# b
  990. [Pdo]. m9 y# e" c, {7 D, g9 g/ K
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    3 x% Y' V7 f5 U
  992. ; http://php.net/pdo-odbc.connection-pooling, z6 V( Z0 `% _7 T; N; L
  993. ;pdo_odbc.connection_pooling=strict
    0 X9 p9 F9 ]  W6 i0 N2 a7 G, L
  994. , @3 t# G& l4 Q$ D  K8 [. J* t
  995. ;pdo_odbc.db2_instance_name
    # x2 e* q$ G  v: J
  996. % L  a9 u1 ]0 t
  997. [Pdo_mysql], o7 e/ a4 i$ X% n
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & _; ]* |) T; W2 c( Q5 W
  999. ; http://php.net/pdo_mysql.cache_size2 b$ @/ O# U/ z3 g
  1000. pdo_mysql.cache_size = 2000
    9 c$ Z3 u2 F! x
  1001. * |! R+ o; ^$ f5 i/ z* d- |& m
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in% |: v! E: ^: H* O
  1003. ; MySQL defaults.
    3 p/ y5 |: H& A
  1004. ; http://php.net/pdo_mysql.default-socket+ @/ j0 f; j, \' f1 K4 f
  1005. pdo_mysql.default_socket=
      i  I8 ]( A. X  j
  1006. 9 B9 [! @5 n6 {6 `3 C4 r5 j* `
  1007. [Phar]& B* o3 ^3 z& _3 |2 ]. x& o
  1008. ; http://php.net/phar.readonly
    - R4 f4 ?: N5 _
  1009. ;phar.readonly = On- I4 E7 `+ v9 P/ y9 l% }. h# S2 _

  1010. / |5 Q8 a! ?9 e) }. M! x
  1011. ; http://php.net/phar.require-hash2 A/ V" c, R% E, P6 D
  1012. ;phar.require_hash = On( S$ b4 [# v( R! O% P
  1013. # e$ P# r& Z; `3 R
  1014. ;phar.cache_list =
    ) }1 A3 [8 R2 M8 ]1 v5 s+ s/ [

  1015. 3 a: w+ _% T- s8 L) Z4 T
  1016. [mail function]
    : u. P/ w6 h+ {9 T$ Q; k% x0 y
  1017. ; For Win32 only.
    # ]- ^# l: B* Q! [7 u& P1 ]
  1018. ; http://php.net/smtp7 S& |' r; I& T/ q) x8 ]8 H- D0 T) D
  1019. SMTP = localhost
    3 {1 p: h6 v6 n1 D' M, a4 |
  1020. ; http://php.net/smtp-port
    * r8 M/ [6 k/ Z% t' }  ~
  1021. smtp_port = 25: j" `8 x! ^1 q" @' ]

  1022. / d: X2 n8 `8 N0 ]
  1023. ; For Win32 only.+ b: a, w' |) T3 m0 q6 L* s
  1024. ; http://php.net/sendmail-from9 @( m0 f- o% Q# N$ j+ ?
  1025. ;sendmail_from = me@example.com' S& a2 d6 j) T# i
  1026. ) W3 ?& O# ~5 P9 Y+ y" a" u
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").8 C/ F9 k; g- c: I0 F
  1028. ; http://php.net/sendmail-path. y! ^% J- G! ]( p! Z
  1029. sendmail_path = /usr/sbin/sendmail -t -i- O. ^9 b' j3 ~  l2 s6 N0 T

  1030. % s+ _1 p* g# x) |
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    2 z7 e7 ]6 _+ d$ N/ @6 N
  1032. ; to the sendmail binary. These parameters will always replace the value of
    / s) r2 S8 P  l$ @) p3 j/ ~
  1033. ; the 5th parameter to mail().
    ) A; j9 h, g8 g; N0 I; x+ ~
  1034. ;mail.force_extra_parameters =
    9 O8 x6 n, s" s1 p6 j

  1035. 4 `" V' j1 P5 T
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename7 M5 R  o8 l1 a/ G, \0 j
  1037. mail.add_x_header = On
    7 K0 P. e  M6 B) z% O4 c/ ]: n
  1038. ; U: \3 l2 a% K' d$ D  O
  1039. ; The path to a log file that will log all mail() calls. Log entries include9 Y: q6 u2 e1 y9 o
  1040. ; the full path of the script, line number, To address and headers.
    & T; Y+ b* S* |; B# z' j  Q* u
  1041. ;mail.log =
    ; B, h& q) @2 }$ ]6 T; Y$ t/ n1 `  c
  1042. ; Log mail to syslog (Event Log on Windows).
    % o$ m. x) Q' \, I6 f& T5 w, ?2 T
  1043. ;mail.log = syslog
    1 q! K0 N5 a9 Y/ |! A& j

  1044. " Q$ L0 t8 O7 R4 z3 V
  1045. [SQL]+ w6 O% b! _# D; q# V; J  D( S
  1046. ; http://php.net/sql.safe-mode2 F+ i5 Z& K' `1 |
  1047. sql.safe_mode = Off
    4 O! @5 g: v7 [  D

  1048. ( p) Z5 i( w# c
  1049. [ODBC]
    / s, b. l8 `" Z) t, m2 n
  1050. ; http://php.net/odbc.default-db( R$ a' Q: ^* y; E7 s: F
  1051. ;odbc.default_db    =  Not yet implemented
    ; ~9 n& B5 n. R0 r2 t6 V5 F0 x
  1052. & A) B$ Y' M. W6 [
  1053. ; http://php.net/odbc.default-user
    1 b) ^  G0 g" N( o* O0 M
  1054. ;odbc.default_user  =  Not yet implemented  T9 N$ M7 d; T: I( L& W! y' B& n

  1055. % B& U! Q- m- `" n7 k# {! H
  1056. ; http://php.net/odbc.default-pw
    / D0 h3 L' R! z  e8 G
  1057. ;odbc.default_pw    =  Not yet implemented! k1 b: U6 T8 Y) ~/ v9 r3 a0 W+ l: ]

  1058. ; E6 L5 ?  ~$ e3 l  R! X/ c
  1059. ; Controls the ODBC cursor model.0 Z4 W1 J6 g; s/ x& V* D
  1060. ; Default: SQL_CURSOR_STATIC (default).) p1 [5 }; _  i; B( C8 h; A6 S
  1061. ;odbc.default_cursortype6 O4 i# k/ \# }/ i
  1062. + `' U  Q- ~- k/ V8 o5 f/ O' k
  1063. ; Allow or prevent persistent links.
    4 I+ S8 ?9 s" E# a
  1064. ; http://php.net/odbc.allow-persistent' D/ q& p0 t% z( L
  1065. odbc.allow_persistent = On/ X# b  D$ ]$ t- o

  1066. / R5 Q' M/ L! m) B- c: A  ?. r
  1067. ; Check that a connection is still valid before reuse.
    + k. Q% O& @! A5 C/ y
  1068. ; http://php.net/odbc.check-persistent
    . Q2 C* i  _4 h/ o4 C8 Q
  1069. odbc.check_persistent = On4 I& o1 e4 j: c6 t  {

  1070. $ [- A7 W  h; C  l$ a5 r$ U
  1071. ; Maximum number of persistent links.  -1 means no limit.; M3 g  z# f9 o2 ]; t( f
  1072. ; http://php.net/odbc.max-persistent" C4 \+ Q( O4 z' z, O1 i
  1073. odbc.max_persistent = -1
    ) L/ z3 K4 \; B6 p9 s& l

  1074.   I7 z: A. M; U: w* L: Y
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.+ V, w# U8 C* @1 _0 e
  1076. ; http://php.net/odbc.max-links
    7 u4 W* V2 j% Q4 y) {
  1077. odbc.max_links = -1$ Y; z* x1 }, i1 [$ t
  1078. 6 U2 u+ A4 f1 M# A$ {
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    / o/ ^; ?/ c9 `) T
  1080. ; passthru.
    * R4 N8 [+ S6 A
  1081. ; http://php.net/odbc.defaultlrl
    7 A3 B- g2 G' D! q
  1082. odbc.defaultlrl = 4096
    . L) G4 v; ~- j! O
  1083. . x8 b7 S* z% F3 c7 Z
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    & {' A; w1 b0 g5 `
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    7 q; A2 F1 o, S/ x0 {/ B
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    4 K. Y% b/ ]6 E3 Q9 v& t4 C
  1087. ; http://php.net/odbc.defaultbinmode+ A2 x# R" A1 }+ d3 w# a
  1088. odbc.defaultbinmode = 1
    2 v; L, a4 x* r2 F
  1089. 8 J! H7 D# F. S! H& W. G
  1090. ;birdstep.max_links = -1- P8 M# v, \! j
  1091. . h) F/ t) M- z( j- g0 c
  1092. [Interbase]
    1 K0 @, `( }  ?: t0 o  v9 _9 r( p2 L
  1093. ; Allow or prevent persistent links./ K' d& o7 v6 e3 J9 v
  1094. ibase.allow_persistent = 10 z1 u1 J' t# |) y7 s

  1095. 3 R* o8 Z& P! k! D
  1096. ; Maximum number of persistent links.  -1 means no limit.) e' I& s! L4 q$ o
  1097. ibase.max_persistent = -1& p9 F* @! ~& Y: ?: o0 [6 q" F

  1098. * a( m& K4 x* `
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & F* Y, g+ c/ i9 A8 G0 ~4 o
  1100. ibase.max_links = -10 I- [+ f2 P+ V) L2 x

  1101. 4 u/ y+ x- ?' q9 Q
  1102. ; Default database name for ibase_connect().
    " L1 g( n( a% ~0 ~
  1103. ;ibase.default_db =
    0 \% u, ]; H# z$ R
  1104. 7 `6 I$ k! o) o  h1 l/ G' h5 R8 E
  1105. ; Default username for ibase_connect().4 W. F6 C) O1 S! V
  1106. ;ibase.default_user =  ^% L' M: P) s4 F. `1 b" ~
  1107. 1 g* I- H* U  ~  p- s6 W
  1108. ; Default password for ibase_connect().9 W5 D2 Y  X0 M& E8 h8 _! b
  1109. ;ibase.default_password =
    - M0 L- }" A* X) J6 R9 g
  1110. " x  H: \. d  H; F! Z+ Z
  1111. ; Default charset for ibase_connect().
    / s! ]5 b& b' _7 N' L; ^
  1112. ;ibase.default_charset =
    8 w- i4 E6 Q3 j# V& [  Z  ]' b

  1113. $ v, b, z: w0 R) O
  1114. ; Default timestamp format.
    8 Z0 ], r( {+ ~1 O% I6 ^
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ! B; j! ~1 u: f2 k' P

  1116. : L! z+ K6 ^( a6 H( {* O
  1117. ; Default date format.- G. i, _! i5 `# D) u" ^; P# v8 f
  1118. ibase.dateformat = "%Y-%m-%d") o  i! r* z9 u- H, q! {  B
  1119. ; ~) y' W; ?* @& J# r- A1 I- O
  1120. ; Default time format.
    + a7 f- U- i3 Z* Y/ j; G- b
  1121. ibase.timeformat = "%H:%M:%S"
    1 ?7 `4 N5 h( f) J
  1122. - t# L8 h6 T. X1 q9 u- I  K
  1123. [MySQLi]
    ' @- c7 T, c% N) Z: z8 M, h8 u
  1124. 2 |* W, t3 o- o( x! y" S
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ) z) h' k3 ]& J8 p
  1126. ; http://php.net/mysqli.max-persistent
    ) M; M# s: [6 a/ G" I- }/ t
  1127. mysqli.max_persistent = -1
    ! h! A" L: Y# E6 G7 J" {1 [

  1128. $ l2 m4 ^5 J* y
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements& P! n: A. |( B9 e
  1130. ; http://php.net/mysqli.allow_local_infile
    3 t3 W7 K  r, u) x2 o7 z6 c
  1131. ;mysqli.allow_local_infile = On
    : M% K" t; P; j
  1132. 5 [! J: m3 I" E7 U3 e
  1133. ; Allow or prevent persistent links.( m+ A4 z( v/ `: U5 r
  1134. ; http://php.net/mysqli.allow-persistent
    # w; m  I6 _( A3 _1 x* K
  1135. mysqli.allow_persistent = On
    # Q2 n  {' P0 u
  1136. ! S7 ~. b6 @8 ?: S2 x
  1137. ; Maximum number of links.  -1 means no limit.5 i( S/ d. B. [1 D; X
  1138. ; http://php.net/mysqli.max-links
    3 v  Z( N) ~4 K
  1139. mysqli.max_links = -1/ b3 ]9 {( F/ F0 B( I* w3 R: ?2 o

  1140. : {; q) o" ?, P: \- Q7 ]3 Z
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    6 U6 H4 |" [+ b/ q
  1142. ; http://php.net/mysqli.cache_size
    * {: g6 t! n' \- N& ?) W/ Z
  1143. mysqli.cache_size = 2000% ]5 |8 C6 a- r7 @4 m9 ^8 X1 o

  1144. ) d4 Z3 f1 t3 |4 ~' F
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use, D2 \) k- g0 C5 k0 T1 B& B
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ) @. G! a5 W2 D1 @
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    6 k4 J% U  D7 h3 a+ i5 x$ A( c
  1148. ; at MYSQL_PORT.
    + j5 p3 O- \5 |) L
  1149. ; http://php.net/mysqli.default-port! o6 O6 `( g' g$ O, ?
  1150. mysqli.default_port = 33063 P0 I* W9 Z; ]/ _
  1151. - b. b' o3 v9 |/ y& k7 w
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ i1 }' ~6 K3 R! B  x' ?8 E
  1153. ; MySQL defaults.1 {7 g5 a$ A  z0 u: G
  1154. ; http://php.net/mysqli.default-socket0 A+ h' H2 S: t0 M0 D9 I
  1155. mysqli.default_socket =2 i4 u- [: ~  f/ g, R% Q
  1156. " K  ~  k, B! w& p
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ; M2 X3 ]1 d; p+ ]+ \
  1158. ; http://php.net/mysqli.default-host
    3 \7 N$ O* N% Z5 `) m- _- E
  1159. mysqli.default_host =$ x, L3 D5 k& ~! l2 Q

  1160. 1 e% p1 O8 x% I' ^2 \2 J
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).5 R! p. v( H: c) W
  1162. ; http://php.net/mysqli.default-user$ }* Q4 ?% }% q4 z0 B
  1163. mysqli.default_user =
    / v$ d" P$ N9 x
  1164. 6 O- |4 c3 n+ B  b! W4 E1 C
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ) K8 v# u4 L( D, c) D& x! i
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    1 z  J! }" J4 @8 S: |- E
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")/ o6 B  L+ |5 ]: l* u( w
  1168. ; and reveal this password!  And of course, any users with read access to this) w% L+ I9 x4 U/ ~& x
  1169. ; file will be able to reveal the password as well.
    # X3 ?/ Y% m- i% g. |6 D
  1170. ; http://php.net/mysqli.default-pw
    , S& ~8 N* s" g( K
  1171. mysqli.default_pw =! {, y9 b) |( W1 g* c

  1172. % W8 ^# T: u" X3 v& k
  1173. ; Allow or prevent reconnect
    ' e% G. w$ l8 K2 H3 I
  1174. mysqli.reconnect = Off
    ( b. e  M6 Q+ v* b# F% m: i: a

  1175. & Y& k" d* `% R8 u* k- M
  1176. [mysqlnd]& h8 h' u* U  c$ r) s( K
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be$ H7 B3 \5 h; p( |2 {. ]! G
  1178. ; used to tune and monitor MySQL operations.5 u. U+ s/ e2 G2 g
  1179. ; http://php.net/mysqlnd.collect_statistics
    : t, ]3 ^9 L% r  w! L
  1180. mysqlnd.collect_statistics = On
    1 K6 E4 P) d6 ~& x$ J' H3 m

  1181. . {1 J5 P: J: S0 h9 Z0 d3 u
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be- N2 ~3 @4 @* D8 A, `( b7 S
  1183. ; used to tune and monitor MySQL operations.: q7 G7 c* T3 ~) _- Z1 d7 N
  1184. ; http://php.net/mysqlnd.collect_memory_statistics3 ?5 [7 F4 ^$ l6 j' e' p
  1185. mysqlnd.collect_memory_statistics = Off
    & |0 C6 ]+ u$ `; |, x& y) ~; R, F* ?
  1186. * A" U0 w' d% ^+ ^8 k1 @
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    - N/ l" y8 }6 ~1 a9 a; y! E
  1188. ; file.: U- d8 F" J) v
  1189. ; http://php.net/mysqlnd.debug
    # ?1 }* p. G0 x4 p) t( v; x4 O
  1190. ;mysqlnd.debug =$ l' v4 g7 i7 G$ L* |8 _

  1191. ! {3 a5 s0 T  J: W
  1192. ; Defines which queries will be logged.
    * ]5 R# D+ {7 E( e( x8 E
  1193. ; http://php.net/mysqlnd.log_mask
    6 o! f* W1 {" [9 g' `6 L- e4 l
  1194. ;mysqlnd.log_mask = 0( ~3 _' h6 B( q) ~" ]3 I( Z: Z

  1195. ; a0 x0 r- {9 U' n# n* b
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.4 z) x( r$ A9 E5 Y
  1197. ; http://php.net/mysqlnd.mempool_default_size2 Q6 n3 N2 x6 Q+ P$ z  y9 U
  1198. ;mysqlnd.mempool_default_size = 16000
    - c0 I+ f: Q0 e, m4 @7 f/ Q

  1199. % k# A8 `; N' {, C
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.4 p% ?4 M! r( E) h) A
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    * Y; r. ~% q4 W
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    $ I% z+ A( t" {3 D8 Z
  1203. ! [# K8 a5 Y7 c( s1 Z" q
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    * G8 H5 q1 ?$ h5 h! h: {# Q
  1205. ; bytes.& T" ^6 V1 J* I9 m  B7 |
  1206. ; http://php.net/mysqlnd.net_read_buffer_size( B4 p8 U1 `* V! \& S; O& A
  1207. ;mysqlnd.net_read_buffer_size = 32768  f  |& z2 o8 G/ c" F; ?+ C
  1208. + n" o3 _8 Y" A! ?) f1 B+ h
  1209. ; Timeout for network requests in seconds.
    " q+ U' @3 E$ U% c/ ^4 l
  1210. ; http://php.net/mysqlnd.net_read_timeout* }' Z2 y, \6 n2 q, @$ I6 V5 u
  1211. ;mysqlnd.net_read_timeout = 315360004 ~# H& Z1 H+ E! I

  1212. 3 a; Z: b& j4 h
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ( c5 s$ s8 U. L! {( Z
  1214. ; key.# K  ?0 t# x1 j
  1215. ; http://php.net/mysqlnd.sha256_server_public_key5 ?8 ?" f: y+ V4 H
  1216. ;mysqlnd.sha256_server_public_key =* v0 Z. T9 }7 g3 k, g; y
  1217. 2 t# K! ^& y& N
  1218. [OCI8]
    5 p. `7 ^. h5 y2 W$ q2 x$ o

  1219. % {' L6 l! J/ `0 X
  1220. ; Connection: Enables privileged connections using external3 L% W$ @, d$ H6 Y) G0 K
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)3 I8 O3 i7 }  J  F# ]) B- F8 {
  1222. ; http://php.net/oci8.privileged-connect
    / H2 f' R1 m8 Y  S5 n
  1223. ;oci8.privileged_connect = Off
    $ W5 t. {8 J/ B. O

  1224. " ~$ C7 a9 i0 j% X$ J+ N( o
  1225. ; Connection: The maximum number of persistent OCI8 connections per# t2 ^. y2 l0 x% z
  1226. ; process. Using -1 means no limit.
    - _" ?5 M, J6 L, ~  d. g4 z
  1227. ; http://php.net/oci8.max-persistent3 D4 d( g# Q" x) o
  1228. ;oci8.max_persistent = -14 @, b( O7 v* J$ @; r

  1229. ; f5 T# M. j! F
  1230. ; Connection: The maximum number of seconds a process is allowed to5 ~5 f- K& T. P. x. B( Z
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ; M6 x# ~" l4 c' }' [0 t
  1232. ; persistent connections will be maintained forever.
    6 c/ E7 \) f3 a8 q  A
  1233. ; http://php.net/oci8.persistent-timeout
    / P5 D/ W8 [; L' s* e
  1234. ;oci8.persistent_timeout = -14 ?3 m8 ^: x3 q2 ~

  1235. ' o/ F( \8 a# J& W" E7 ?2 F
  1236. ; Connection: The number of seconds that must pass before issuing a$ _2 ?( \' k: ^; v$ ]" C3 i8 c
  1237. ; ping during oci_pconnect() to check the connection validity. When
    ) A& M" }, G) ]$ z
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables5 k' k+ |: r5 z+ X7 T# X/ M
  1239. ; pings completely.9 K6 w0 s+ m! w9 C9 B& T1 ^
  1240. ; http://php.net/oci8.ping-interval
    + h; Y+ v5 z5 {/ E; j& ]4 X4 Q9 @+ q
  1241. ;oci8.ping_interval = 60
    ) k- T  Q% K7 i9 {
  1242.   [) i. U( U4 J: E
  1243. ; Connection: Set this to a user chosen connection class to be used
    ; P( {/ Y9 ^2 P5 \4 @/ p" Q+ V( b
  1244. ; for all pooled server requests with Oracle 11g Database Resident9 G' o% u3 \% m# J% c+ e' W
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to6 `0 @  Q' k3 P4 ~; c
  1246. ; the same string for all web servers running the same application,
    9 N0 \: F" m4 Z, b8 r- u& r5 ?8 I: R1 `
  1247. ; the database pool must be configured, and the connection string must
    & @1 B0 }1 K5 n5 h- M
  1248. ; specify to use a pooled server.$ l9 j2 k, {1 b
  1249. ;oci8.connection_class =
      C' G" U- q- _' A9 l

  1250. 9 J4 w% z( M0 a+ C
  1251. ; High Availability: Using On lets PHP receive Fast Application$ @: l! F5 m$ T
  1252. ; Notification (FAN) events generated when a database node fails. The
    ' A1 S3 F' l: D+ l, B
  1253. ; database must also be configured to post FAN events.* W5 U" n. V; Z7 z
  1254. ;oci8.events = Off9 E* S4 Q" G9 }0 ~: T5 q6 O

  1255. * I, m; _3 n& W0 E( ~
  1256. ; Tuning: This option enables statement caching, and specifies how
    4 S+ q+ o. Y$ O( l9 b" J
  1257. ; many statements to cache. Using 0 disables statement caching.6 {+ h$ @4 K, P. G
  1258. ; http://php.net/oci8.statement-cache-size
    " d0 }5 I( U% _' @/ ?7 t& v6 m) n
  1259. ;oci8.statement_cache_size = 20* v# ]. ?- N. u1 w4 |0 d
  1260. - T7 [3 ]- f# s! O* C8 i7 M0 A
  1261. ; Tuning: Enables statement prefetching and sets the default number of7 I6 j/ s9 M3 B7 L8 h' o
  1262. ; rows that will be fetched automatically after statement execution.# |. @% |  ?/ }( F$ G/ h( r0 |
  1263. ; http://php.net/oci8.default-prefetch! T$ [+ R0 i0 F# F4 E, u: P
  1264. ;oci8.default_prefetch = 100
    : E* e+ T& j4 s

  1265. ( \* I4 i! R, \0 B9 c. e0 c; ]
  1266. ; Compatibility. Using On means oci_close() will not close
    ' R, I' C  ~# a1 t8 [. K
  1267. ; oci_connect() and oci_new_connect() connections.
    3 J! [+ G( D0 ~/ e+ q
  1268. ; http://php.net/oci8.old-oci-close-semantics7 m/ x. C% r4 t/ x
  1269. ;oci8.old_oci_close_semantics = Off& }6 C/ L6 l9 o/ \5 c* U" C' ?
  1270. 6 y7 V& Q4 D" W2 X  `( }
  1271. [PostgreSQL]
    ) V2 t# a1 S7 W* O0 g7 z
  1272. ; Allow or prevent persistent links.' p+ }; x. P; R
  1273. ; http://php.net/pgsql.allow-persistent
    : z9 W6 p- b: W2 u+ X2 K9 t3 r9 l
  1274. pgsql.allow_persistent = On
    4 f" G+ f9 E. I( i. v
  1275. 8 P3 J) Y- C5 Y3 W; c8 X2 K
  1276. ; Detect broken persistent links always with pg_pconnect().& p) W/ Y/ @! H
  1277. ; Auto reset feature requires a little overheads.6 F6 P- @; M. \
  1278. ; http://php.net/pgsql.auto-reset-persistent
    , w: B2 V6 k  u* @: J1 P
  1279. pgsql.auto_reset_persistent = Off
    ( C+ ]5 m# Y/ O6 T0 X& O

  1280. + h$ |2 E+ h( u5 T# l* H
  1281. ; Maximum number of persistent links.  -1 means no limit./ |: _5 [# k' u9 F/ ]; u' x
  1282. ; http://php.net/pgsql.max-persistent
    ; d; e6 C: t: t9 ~! r
  1283. pgsql.max_persistent = -1
    ) K/ [: X9 J: h8 z3 D! E7 m
  1284. 9 s' d0 Z8 y6 I& l$ z) z
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.; r6 \; g3 V! v, [3 o9 t' Q# x
  1286. ; http://php.net/pgsql.max-links% t/ L1 d7 E% w
  1287. pgsql.max_links = -1
    3 S( G$ q6 I7 g) C/ N" _. B) ]8 {
  1288. : c8 m2 V) t) s8 F) u, j# H3 \
  1289. ; Ignore PostgreSQL backends Notice message or not.
    ) q4 D, r: x8 C: k$ M% S
  1290. ; Notice message logging require a little overheads.: }. l/ h2 B3 x9 C1 A
  1291. ; http://php.net/pgsql.ignore-notice
      u4 _; W9 ~5 x, i7 l% ~4 q7 ?
  1292. pgsql.ignore_notice = 0
    . `, s! [9 Y( S6 ]* w7 T" ?

  1293. , E, a/ A* ^5 d. W
  1294. ; Log PostgreSQL backends Notice message or not.
    0 Q* p8 a9 J2 B) G8 C; t! E
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    , G/ o. w- n" O
  1296. ; http://php.net/pgsql.log-notice. P6 C4 G2 P9 j' m) D7 `
  1297. pgsql.log_notice = 0; a) w. x( ~$ F- _
  1298. # U2 [. b& F3 _/ p$ y4 H6 f. R
  1299. [bcmath]: d% h* [! {7 ^' ^" X$ k1 o, i' k0 O
  1300. ; Number of decimal digits for all bcmath functions.
    ) }3 @4 B. E+ C+ u& b# J
  1301. ; http://php.net/bcmath.scale
    $ K+ ?8 b# k7 V: P1 k# A
  1302. bcmath.scale = 0  D* k3 G; Z: e  A" ]+ h

  1303. 0 L- ]1 `+ z: h4 j' l+ u. d
  1304. [browscap]
    % r; {  `) f- U3 i6 E4 T: K
  1305. ; http://php.net/browscap. k% \& @2 z6 \& v
  1306. ;browscap = extra/browscap.ini8 G" p( [  ]) _4 |4 H

  1307. * |/ }( B: q3 s* ^8 |: V9 X
  1308. [Session]5 x0 Z3 W( {# q) c( {
  1309. ; Handler used to store/retrieve data.
    3 |6 ~/ W1 m: @9 \6 k
  1310. ; http://php.net/session.save-handler9 x. |/ t& J2 M4 @% _, @) j
  1311. session.save_handler = files1 f: t" P8 a$ \1 z# r8 B& _9 p* r
  1312. ! q0 d; H1 l" J
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    5 ^% |% U" Y8 m
  1314. ; where data files are stored. Note: Windows users have to change this
    ( f( I2 Z( l/ {$ f! H; i
  1315. ; variable in order to use PHP's session functions.
    ' t! o" C1 W0 o0 s4 A, z
  1316. ;
    # k7 i) u9 A. ^8 `. g" e
  1317. ; The path can be defined as:/ \" r; b: M6 J8 C/ D9 Z, s
  1318. ;7 \& v* q; U  V$ Q, c/ ?
  1319. ;     session.save_path = "N;/path"% P: M1 I7 U; M7 S* r; D9 s  [
  1320. ;  F. k, g1 [' {1 l& a& }: M: d
  1321. ; where N is an integer.  Instead of storing all the session files in
    # B" H+ E7 j4 `
  1322. ; /path, what this will do is use subdirectories N-levels deep, and* B' m6 @, o# C
  1323. ; store the session data in those directories.  This is useful if
    + {$ {8 t. o9 ^% o+ d7 X
  1324. ; your OS has problems with many files in one directory, and is9 \( Z9 X5 C! |
  1325. ; a more efficient layout for servers that handle many sessions.
    ; ]2 ^! G4 |9 @+ F: e; p/ }
  1326. ;
    5 [4 F1 p" o8 P$ d: @- ~
  1327. ; NOTE 1: PHP will not create this directory structure automatically./ z% n2 j- F2 B0 U5 L. J, j3 ^! r
  1328. ;         You can use the script in the ext/session dir for that purpose.7 \+ X) w; I) W) l3 G, z: E
  1329. ; NOTE 2: See the section on garbage collection below if you choose to/ y8 V$ S8 t( d* C4 k, [3 I
  1330. ;         use subdirectories for session storage
    4 l9 {; V' J' o3 |
  1331. ;! L, Q: }1 {9 k/ t& d/ F, `3 b
  1332. ; The file storage module creates files using mode 600 by default.. _& n- {+ j$ u- O
  1333. ; You can change that by using$ H2 ^( @/ P2 y" l+ P# ]
  1334. ;/ t' v+ N9 u$ o7 t1 j$ o4 n% I
  1335. ;     session.save_path = "N;MODE;/path"! q( n0 f1 \( i) ]
  1336. ;. l# Q: o7 _& n! K. X7 F8 i7 H
  1337. ; where MODE is the octal representation of the mode. Note that this8 p& [9 @) f/ @3 W5 F
  1338. ; does not overwrite the process's umask.
    1 \& j) z, ?/ s* o3 D8 f7 r5 W
  1339. ; http://php.net/session.save-path
    / l/ }" B: u& n0 K
  1340. ;session.save_path = "/tmp"# c; W6 j* ?6 S5 A# N5 B
  1341. 5 [+ @( O4 |0 Z! @0 M1 v1 P
  1342. ; Whether to use strict session mode.. o0 J1 `7 E. a8 f# w
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate7 d( u% B$ h  c
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    + L* b# M5 f* R  x3 k. C* B- Q- q/ a
  1345. ; applications from session fixation via session adoption vulnerability. It is3 M9 F5 X) s8 e! D  N- o- g$ U+ i
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.7 i: R$ x/ j' `* v
  1347. ; https://wiki.php.net/rfc/strict_sessions7 h4 |: o  ~6 a3 i+ [  S
  1348. session.use_strict_mode = 0
    & I, p, S: p+ {' n# j3 a0 Y# L

  1349. 6 p9 D; j7 E( l* H
  1350. ; Whether to use cookies." i, ~4 {; {9 o; \* _
  1351. ; http://php.net/session.use-cookies" J. {1 I2 M6 n/ Y
  1352. session.use_cookies = 1' T7 Z; R* w5 }7 m# N8 E; A

  1353. ; ~( G" E6 Q) ?9 G' e2 Y, p6 ^5 K
  1354. ; http://php.net/session.cookie-secure
    1 ^  l9 ~2 F9 A) D
  1355. ;session.cookie_secure =
    : H( b0 V& G% V  x9 v

  1356. % s& U; B+ x7 D
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    # j6 s6 y/ C! E7 {) H$ |+ Y+ x% x
  1358. ; the session id. We encourage this operation as it's very helpful in combating) c/ V; X7 `; e4 M; E
  1359. ; session hijacking when not specifying and managing your own session id. It is
    ; X+ I" s, k3 y  z, O
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    : l0 \& [: h7 G2 {$ h2 t
  1361. ; http://php.net/session.use-only-cookies
    9 s1 c- v/ b, _! E3 c
  1362. session.use_only_cookies = 1. t  [; k% t, h" w. |4 _* S: E& }

  1363. + V# o3 W- B) u8 I' W& F& O
  1364. ; Name of the session (used as cookie name).
    8 h! Y$ ~* F5 `$ v# j8 K
  1365. ; http://php.net/session.name: T& u7 D) p8 H, `; I6 j
  1366. session.name = PHPSESSID/ H3 f& x" L: b  e  k  r* a
  1367. 9 U8 _( O4 p( w; v) {% _* M
  1368. ; Initialize session on request startup.
      R% C# x: R- ]1 R, {
  1369. ; http://php.net/session.auto-start' w% n, z7 X6 f. Y& `
  1370. session.auto_start = 0
    ( L7 V% d: }2 w. [' i- W% B$ _
  1371. & b' E7 v# Z1 h
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    . F) J+ k) Q4 F$ B" {* z! V7 q0 X
  1373. ; http://php.net/session.cookie-lifetime: j# F) I! r9 p" x; I
  1374. session.cookie_lifetime = 0$ A3 l3 [$ s5 Y% w6 W9 J% t
  1375. ; K1 O/ d6 T1 e3 s* Q% }5 H
  1376. ; The path for which the cookie is valid.
    : e% p7 o" f2 W6 e& j7 B5 W
  1377. ; http://php.net/session.cookie-path2 [6 g0 o2 }- a" t( ]9 A  ~7 x9 [
  1378. session.cookie_path = /
    $ [( Y; }4 z# c4 o9 L, B  ^

  1379. ! b( S  z3 W8 r
  1380. ; The domain for which the cookie is valid./ r/ z% v2 [1 e. \$ H! c
  1381. ; http://php.net/session.cookie-domain! @( a6 i( B% ?& _9 }
  1382. session.cookie_domain =
    6 N8 H- L8 S3 G

  1383. " f! l. j. e* H& d; |
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ; Z' `' }: l" b8 {% `$ a
  1385. ; http://php.net/session.cookie-httponly
    ! x% `# u; v; t& t9 a: l* K2 q  l0 \
  1386. session.cookie_httponly =2 U8 G4 w+ e' D5 i% @+ H$ S( r
  1387. 8 s4 Q( b/ {# K5 F/ Q9 N( k6 U
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.5 N% z' ?: Z; z8 P( t: t
  1389. ; http://php.net/session.serialize-handler
    9 R- q: v) B0 M- K0 ]
  1390. session.serialize_handler = php0 ]4 q& q! \3 D7 B, r! p  C/ }

  1391. % q" j" v1 I7 x" m, R' N& |
  1392. ; Defines the probability that the 'garbage collection' process is started
    ! D- d9 e% p% O6 W; l# n) p+ S
  1393. ; on every session initialization. The probability is calculated by using
    1 ]) V$ ], H% _  T
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator: t" v6 r4 Z0 Y# c
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ! N0 I' z; M0 K8 t, B
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " l, p$ N5 W) N8 ?
  1397. ; the gc will run on any give request.
    $ X1 |$ ?5 f$ d* G7 K1 E
  1398. ; Default Value: 1
    2 z( S; L$ q, X" G, H
  1399. ; Development Value: 1
    6 b% ~, [' v! {: s
  1400. ; Production Value: 12 e0 l9 b0 h3 G  e& z3 R7 r, k6 z
  1401. ; http://php.net/session.gc-probability8 r6 ^& u* S7 U0 G3 Z( N5 E
  1402. session.gc_probability = 17 W! W$ f/ a4 m* J' s# c5 T: H$ }
  1403. - u1 k3 [2 I$ V4 C1 g
  1404. ; Defines the probability that the 'garbage collection' process is started on every. C0 C: T* J/ f5 R5 C) @
  1405. ; session initialization. The probability is calculated by using the following equation:
    / h3 g" k+ J) y0 I, N7 w2 o
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and& S: f; q& G- G6 @. T) m, l1 w" t" d
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    " a3 C0 B: t, ?
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    + J! j5 G8 X! O% R
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you( x4 x8 C+ \7 }# a! a
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,, P. \1 |8 M. R; V- d* _
  1411. ; this is a more efficient approach.) w" ]- O# r6 K- M+ e5 N
  1412. ; Default Value: 100# d3 Z( d4 K( a, x/ T" k
  1413. ; Development Value: 1000
    0 W+ Y) h  Y1 Y' t1 F6 \0 P. P
  1414. ; Production Value: 1000
    9 M: H" a4 }4 ?* N+ Q3 j8 q
  1415. ; http://php.net/session.gc-divisor
    ! p; x% T, D$ K3 {: b$ O2 C7 b
  1416. session.gc_divisor = 1000
    , a5 U" A1 @/ }0 I2 V1 W
  1417. % N  P# A+ {7 E. e+ ^( d. K
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and# G/ f6 E8 c- y0 _
  1419. ; cleaned up by the garbage collection process.; U" Z4 Z; x. N7 n. \7 z" [6 C
  1420. ; http://php.net/session.gc-maxlifetime, z$ t" _/ s( h
  1421. session.gc_maxlifetime = 1440, N: W# @3 _0 r" y
  1422. 7 j9 }( N, N# o3 z
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    : ~" T% Q8 e6 d& Z7 ^7 b# }
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ' C% l( u6 ^- D' y) M
  1425. ;       happen automatically.  You will need to do your own garbage
    # @" G9 w  A. _$ {( w2 o4 n/ Q
  1426. ;       collection through a shell script, cron entry, or some other method.
    * h6 |  a- e3 r- W* `4 m
  1427. ;       For example, the following script would is the equivalent of7 y1 O* }' I$ S4 p# x4 x6 r% ?
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):9 [' O! Z1 P8 F" ^% o
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm! S0 A6 H% H1 D- P. x" D
  1430. , G3 c# Y/ J- w$ v; K5 d
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.3 e$ a. w( |9 l
  1432. ; HTTP_REFERER has to contain this substring for the session to be* }; y. G0 \/ M+ Q0 z; q
  1433. ; considered as valid.
    + n( G, B5 Z- _* r  q/ Z
  1434. ; http://php.net/session.referer-check6 }$ z# A/ Z/ A; D  r: r& I
  1435. session.referer_check =
    + F4 E3 P' T2 O! I5 j& e/ q" J
  1436. 1 q! f' e+ I+ N. ~
  1437. ; How many bytes to read from the file.
    - t" b# u' a" P
  1438. ; http://php.net/session.entropy-length/ ?( i) |, I" N  u- F; X- H) i- w
  1439. ;session.entropy_length = 32% D- ]( p$ ~6 G8 u: J4 {$ [* {$ N
  1440. / Z3 q" y1 n6 w
  1441. ; Specified here to create the session id.3 v6 e6 K& [; X) C! @, }$ \
  1442. ; http://php.net/session.entropy-file
    ; R* k2 v' U3 A; z" J3 n9 |8 ?
  1443. ; Defaults to /dev/urandom8 q. {: @! f2 J' m* r7 g
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom* y1 l# T( B# C5 A# M" K
  1445. ; If neither are found at compile time, the default is no entropy file.
    ; Q# ~1 x$ P' ?; w& K/ f( V
  1446. ; On windows, setting the entropy_length setting will activate the" @% X1 n  l/ I* r( K# B/ Z; q# h- H- ^7 R
  1447. ; Windows random source (using the CryptoAPI)
    9 ~6 J0 S. b6 p( {0 X
  1448. ;session.entropy_file = /dev/urandom8 x' R6 B* R: K' v0 }& s
  1449. % D5 y" J5 q2 o
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects# b; y0 V) l; c3 p! w/ z
  1451. ; or leave this empty to avoid sending anti-caching headers.
    : y& e* g. D, Y  s" U) G: W+ Z
  1452. ; http://php.net/session.cache-limiter
    , e) z0 ^9 ]& Z. y; H
  1453. session.cache_limiter = nocache0 u& E; i$ n' g4 l, m

  1454. * T% H" a* X3 }! ^
  1455. ; Document expires after n minutes.
    3 D, @7 x. p  }8 m+ S4 @0 p( t
  1456. ; http://php.net/session.cache-expire- @, p, [; w1 j/ a* u
  1457. session.cache_expire = 180
    % U. }; s! b! T0 f6 V' X

  1458. 1 p6 z. D! n- \! u5 T1 n0 R0 {6 T
  1459. ; trans sid support is disabled by default.
    & h6 _, b3 j& l$ l, p1 B* b
  1460. ; Use of trans sid may risk your users' security.4 L% Q; Q0 q8 S0 v$ O/ N
  1461. ; Use this option with caution.  c( \" d3 m$ W
  1462. ; - User may send URL contains active session ID
    0 f2 d' |9 x9 k% Y- F" U" G: R
  1463. ;   to other person via. email/irc/etc.
    9 p8 F2 q' V6 z. k  i3 o; C
  1464. ; - URL that contains active session ID may be stored
      T2 Y  z* D! q( D
  1465. ;   in publicly accessible computer.
    5 e6 P& ]6 d3 X( v% |6 a% T6 ^* H
  1466. ; - User may access your site with the same session ID
    6 R* B" z- S9 c4 ]& x; ~6 d
  1467. ;   always using URL stored in browser's history or bookmarks.. l8 _9 R/ ~. U1 X
  1468. ; http://php.net/session.use-trans-sid
    3 b6 [) @, w; z+ T+ K
  1469. session.use_trans_sid = 0- H" t/ o- Y* o* \
  1470. 3 G" ~1 _& \, M$ z  \( m
  1471. ; Select a hash function for use in generating session ids.! h6 n. E. s  P5 N$ \
  1472. ; Possible Values
    ) U+ n2 |7 c0 p+ r% w" `
  1473. ;   0  (MD5 128 bits)
    . M- {$ ?9 Z  S8 X9 G' W' N4 o
  1474. ;   1  (SHA-1 160 bits)4 B& |* w7 N8 z+ F# Q7 _
  1475. ; This option may also be set to the name of any hash function supported by! U2 B: f0 K1 }# e/ A
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()( ^2 b' W  L3 Y% i" t/ k" h. v
  1477. ; function." o4 ?% W9 Z) Y+ Z% X
  1478. ; http://php.net/session.hash-function
    ) z" M7 f' V0 l4 E+ G
  1479. session.hash_function = 0
    & a, o& g. J3 \8 H, O! ^4 V7 G
  1480.   U2 ^0 ]+ t% j2 ^9 c4 X4 Z' z
  1481. ; Define how many bits are stored in each character when converting
    " g. r2 R$ ]2 {
  1482. ; the binary hash data to something readable.  R4 V2 q0 D0 |) T' [. h
  1483. ; Possible values:' h9 b; c  u  H, p8 @. R# v8 x
  1484. ;   4  (4 bits: 0-9, a-f)6 v# }& `" s) ^& ]
  1485. ;   5  (5 bits: 0-9, a-v)
    8 ]2 P" a- X% o9 I9 \
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    5 X) |( y4 d6 D
  1487. ; Default Value: 42 U; u0 k; [! q0 N8 @
  1488. ; Development Value: 5
    , V: O/ s. E0 Y& `; ~
  1489. ; Production Value: 54 F( n4 o2 V2 q
  1490. ; http://php.net/session.hash-bits-per-character5 q# m) N, a5 b( u
  1491. session.hash_bits_per_character = 5& m* |6 k0 e  \; ~+ D

  1492. 5 E/ i# f! @9 s3 E5 C
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    + g2 R1 D- ^- v" s' R- k9 ~
  1494. ; form/fieldset are special; if you include them here, the rewriter will& q/ D; k3 C( m5 {1 l+ s+ P
  1495. ; add a hidden <input> field with the info which is otherwise appended
    9 c7 j0 x' g, K8 N
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    % m" Y* T! k* C* I# T
  1497. ; Note that all valid entries require a "=", even if no value follows.
    / _9 Z, w: ~! C1 j4 n, I
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="2 X) @( ^) o+ i) F
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! P) q/ F+ q0 |/ T1 m
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % K% u8 s+ s2 ]
  1501. ; http://php.net/url-rewriter.tags
    ' [- {( l, K1 h6 m
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"* _6 G5 L0 K' Z/ Y' B& ]
  1503. 8 _; F+ ~0 n1 E
  1504. ; Enable upload progress tracking in $_SESSION
    9 b( O+ G, n) ?
  1505. ; Default Value: On
    & [. v' I& s: A4 r) k6 F' k
  1506. ; Development Value: On# z' P( T" S/ m  r
  1507. ; Production Value: On: v/ o' c% X, b, o7 d: N
  1508. ; http://php.net/session.upload-progress.enabled
    5 Y$ |" Q/ H) `9 R3 f
  1509. ;session.upload_progress.enabled = On
    9 C3 R5 ?* w6 C4 |7 @. H5 _
  1510. 0 h2 X- h5 C1 d. T: Q
  1511. ; Cleanup the progress information as soon as all POST data has been read; ?0 |7 O% e# d  X/ M3 J4 v1 s
  1512. ; (i.e. upload completed).1 F) r/ V: A' W. y) V
  1513. ; Default Value: On1 A# G+ y2 H5 M, Z) K
  1514. ; Development Value: On
    5 I0 H, U0 |  l6 v8 A
  1515. ; Production Value: On  x5 x3 l" f1 d5 r1 E
  1516. ; http://php.net/session.upload-progress.cleanup
    " z6 z, g4 V4 }; @, [
  1517. ;session.upload_progress.cleanup = On) x  L  a6 w5 l* z+ I

  1518. , h  |( B: ~) y  {7 o
  1519. ; A prefix used for the upload progress key in $_SESSION0 W- t5 O6 A7 X0 w/ h: s" V  A
  1520. ; Default Value: "upload_progress_"
    / i: }/ o" [( V
  1521. ; Development Value: "upload_progress_"
    9 q/ V, u& r! E) u7 q1 ^
  1522. ; Production Value: "upload_progress_"% _+ g0 j, h6 ?  w/ O: I7 P8 J
  1523. ; http://php.net/session.upload-progress.prefix
    $ Y- `3 r$ F2 z/ _1 Z
  1524. ;session.upload_progress.prefix = "upload_progress_"3 Z: u' {  s, W. _. P
  1525. ( u1 |2 R+ `# ^) S9 v0 `% Q
  1526. ; The index name (concatenated with the prefix) in $_SESSION. j( @' a% v- w& n
  1527. ; containing the upload progress information
    $ c% x4 L' e, j* i
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ M1 a1 I0 u4 y  H! Y
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"4 M, Y3 M/ f, V- a
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " \3 s( q& q$ m# _3 W6 w
  1531. ; http://php.net/session.upload-progress.name
    2 y" D: H" q( H, j! R, ?
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"1 w* Y/ r1 N' m9 B
  1533. ; `0 ]+ ~! @, u# v
  1534. ; How frequently the upload progress should be updated.
    , W+ ?: s3 ^7 ~- {6 P+ |
  1535. ; Given either in percentages (per-file), or in bytes4 }$ I7 g7 D& {1 }
  1536. ; Default Value: "1%"9 [: X& O. W, f) `5 v
  1537. ; Development Value: "1%"
    ) \0 W& p2 E) f, m- i' _5 [
  1538. ; Production Value: "1%"( d; r: X& G/ p9 I" ~5 O
  1539. ; http://php.net/session.upload-progress.freq, E& z. O( m$ t- F6 |
  1540. ;session.upload_progress.freq =  "1%"
    2 S. T; \$ Y6 p9 N; b
  1541. - G* n" R9 h. @$ G; |3 |; w
  1542. ; The minimum delay between updates, in seconds
    2 }6 a: a0 _( f8 y- ~
  1543. ; Default Value: 14 R* k+ _8 g0 A- k" C
  1544. ; Development Value: 1% g$ r: f* q4 M9 P! P- y! ]
  1545. ; Production Value: 1
    ( \8 ?+ \) G8 s3 b. Z! r: g
  1546. ; http://php.net/session.upload-progress.min-freq
    4 C- P! B3 \7 n# X
  1547. ;session.upload_progress.min_freq = "1"
      ?7 y" V! U$ N) G* P6 x. Z
  1548. : w5 p" L- B% h
  1549. ; Only write session data when session data is changed. Enabled by default.8 Z2 y5 F+ F$ b, u7 }1 w2 Q
  1550. ; http://php.net/session.lazy-write* `$ s. z& R- N- `$ c
  1551. ;session.lazy_write = On
    0 k* r, V% A# Z0 w# K
  1552. 7 r3 k" b3 G* R
  1553. [Assertion]$ a8 Z) B4 Q8 {' ^
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    . M" b3 a4 ~2 Q& \9 u( j
  1555. ; -1: Do not compile at all
    7 b* T: M1 Y- v! ?9 }) F
  1556. ;  0: Jump over assertion at run-time
    ' x- L* ]7 q' F5 ]
  1557. ;  1: Execute assertions
    / h; g& E% W! n2 r) }
  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)8 B* z& k, x& C; B
  1559. ; Default Value: 1
    ! k) |5 t/ |- {7 x- m7 q8 G, f* Y
  1560. ; Development Value: 1
    ' T6 a9 g  V& S$ b+ ?" h
  1561. ; Production Value: -1+ I: \  _2 f- h
  1562. ; http://php.net/zend.assertions0 v- @7 o& K- ~2 {# `! s8 q
  1563. zend.assertions = -1
    7 Z+ Q' o$ L  y) y8 ^

  1564. 7 g, F& `3 K! G, {, n
  1565. ; Assert(expr); active by default.) g/ D: ~4 q, N; A- @1 B0 v7 k# w
  1566. ; http://php.net/assert.active4 j% }/ S, T7 W; I. Z& z
  1567. ;assert.active = On
    0 E: O6 i, {$ y$ m3 S% V0 x) F3 v
  1568. 9 i) [6 T1 c& A. P8 f: t* O
  1569. ; Throw an AssertationException on failed assertions5 H7 `2 c% \' n- R
  1570. ; http://php.net/assert.exception7 v1 [( l: N2 N1 b/ E6 ~: |
  1571. ;assert.exception = On" P5 W( i) ?& h# e

  1572. ! }: s# D4 e7 S
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)0 s; y+ s1 G- {# K' e$ ^  w
  1574. ; http://php.net/assert.warning! x; p+ n2 M* l4 J+ j" y: O4 y
  1575. ;assert.warning = On4 Q3 {' x" }% }8 e, H* Z
  1576. & w  ~8 ?" j. \$ O2 r& F
  1577. ; Don't bail out by default.
    ' E9 x1 W% B( R2 s4 R2 \7 J) p
  1578. ; http://php.net/assert.bail
    1 K; W: S- r2 n2 x3 f( K# m
  1579. ;assert.bail = Off* f7 Z9 V! [. `( \0 t- @3 X& p3 c

  1580. 8 |( t- ~  ~/ _2 T  {& r
  1581. ; User-function to be called if an assertion fails.% Y1 ^- m( F4 t: I5 P
  1582. ; http://php.net/assert.callback2 t5 x" H" O4 f3 O! l; \+ r' c& ]
  1583. ;assert.callback = 0
    ; \9 T( B8 U, }( q, X

  1584. 5 G& h7 P. T# ?* p5 a# _8 D
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    , V, J1 e8 G* m3 o
  1586. ; error_reporting(0) around the eval().
    ' e- Z8 |( z- R% ]2 M8 X
  1587. ; http://php.net/assert.quiet-eval' J1 M) N: }# P7 f2 q2 |1 P* m
  1588. ;assert.quiet_eval = 0' s8 m; r, }; t7 a3 D/ F

  1589. , p, s: w/ Z0 A/ z& G7 M
  1590. [COM]2 P: H6 e3 }! |: C
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ' c3 [" Z4 v8 j; J4 x, t: {
  1592. ; http://php.net/com.typelib-file" B  ~1 J) e# `; M2 }5 p' n  J
  1593. ;com.typelib_file =, |/ @2 ]* i8 Z5 M- p( b8 x
  1594. 2 Q4 X9 o+ Y/ a
  1595. ; allow Distributed-COM calls4 W, T6 X+ [  t# T9 r- I+ d( {3 _
  1596. ; http://php.net/com.allow-dcom0 N5 }7 G8 K/ J# T
  1597. ;com.allow_dcom = true6 h" Q( g( W/ B4 s9 A6 {- ]$ m) ?1 `
  1598. $ M* U" n% i! q/ a: ^
  1599. ; autoregister constants of a components typlib on com_load()
    0 U. F8 o$ \" o4 U( \
  1600. ; http://php.net/com.autoregister-typelib, a2 s9 b. n  ^% T5 j8 b  d# J
  1601. ;com.autoregister_typelib = true
    . L; |$ y7 v7 Y: L* X) o: `( [

  1602. ! G; J4 u/ y5 g3 I
  1603. ; register constants casesensitive2 R7 c  m& `7 b' Y
  1604. ; http://php.net/com.autoregister-casesensitive0 i/ k/ B* i$ c0 J+ }) `
  1605. ;com.autoregister_casesensitive = false9 r5 @2 j  F* |( d) x
  1606. 9 b7 d# o: |7 F8 G4 |7 N2 E
  1607. ; show warnings on duplicate constant registrations
    ( K$ q6 p: f: k5 M
  1608. ; http://php.net/com.autoregister-verbose
    ( a$ f. j/ h9 g) U: T
  1609. ;com.autoregister_verbose = true
    : d! h' N, z& \' S( s2 J
  1610. / q' a4 w: b) b7 ^6 {4 v" V
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    3 s- r" ]/ q  V3 g- |2 c/ y! t
  1612. ; Default: system ANSI code page
    $ k0 y9 @' u" I% B! z; t
  1613. ;com.code_page=* ]3 C) s/ H4 n7 w
  1614. . n+ a# R+ M' M* S/ G8 Z
  1615. [mbstring]6 H7 T4 V1 v! n- P* l
  1616. ; language for internal character representation.- z$ v4 {% G( b0 f! S
  1617. ; This affects mb_send_mail() and mbstring.detect_order.4 a* ~+ n) l4 F
  1618. ; http://php.net/mbstring.language
    0 J' X8 h4 ^4 A6 S2 d
  1619. ;mbstring.language = Japanese  ^4 `2 [  |$ J# M
  1620. # R0 Q8 |( S4 D, {$ F$ M# O3 O' F
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    3 C) Q4 E' ?9 u! H" v2 o8 G/ a
  1622. ; internal/script encoding.
    / C6 R* t" H' x+ J
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)1 `- i- ~, E+ X' A
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    & z- O% W" ~4 H1 |
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding. H4 d( A' L4 Y( ~7 G
  1626. ;mbstring.internal_encoding =3 l) N9 i4 P5 q4 W3 Q0 C/ Z; L1 t0 e
  1627. 3 ]6 S) @7 o) A5 i
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.* e# k  ]1 X4 A. G
  1629. ; http input encoding.. p, }) L4 Y$ |; [1 U* k! Z% Q9 n
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.0 j$ z# D5 V1 h! b# `5 [
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ; D* H. V4 u3 N
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    - V2 m+ d4 Y; P3 {
  1633. ; http://php.net/mbstring.http-input
    7 P2 K8 L+ ^' D, l5 M. L# k
  1634. ;mbstring.http_input =4 N/ r7 {% J$ D

  1635. & o4 [7 z2 S4 N
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    + p' i. F( w3 y* d0 |5 a8 R/ ^
  1637. ; http output encoding.$ v5 d# g# i5 K/ F
  1638. ; mb_output_handler must be registered as output buffer to function.
    0 d3 V# B- ?& G1 c& P+ I8 X1 o! _
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.1 _( `# f" p2 Q0 V$ V2 A2 l
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ( J3 |& W2 O) y9 a" l/ c
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ! Q  ^! _2 Y3 D" j5 b( e
  1642. ; otherwise output encoding conversion cannot be performed.! ~* I( @" `$ H( s7 \5 l- c
  1643. ; http://php.net/mbstring.http-output6 A$ X. \1 R/ t7 {% @$ F: ~
  1644. ;mbstring.http_output =
    " b, |5 L& e1 Y8 e6 E* F: G
  1645. 1 R$ A3 s; {, v6 D
  1646. ; enable automatic encoding translation according to
    8 C+ O' T/ l' I
  1647. ; mbstring.internal_encoding setting. Input chars are
    5 {' b- q, b! M3 y
  1648. ; converted to internal encoding by setting this to On.. z( {* G/ h* H
  1649. ; Note: Do _not_ use automatic encoding translation for4 `/ i' u) a/ l6 b: D
  1650. ;       portable libs/applications.
    7 y5 ?) ?4 M5 @& q* H& h3 W" Z+ h1 L
  1651. ; http://php.net/mbstring.encoding-translation
    6 E0 q! H8 l" N
  1652. ;mbstring.encoding_translation = Off) B9 y3 P6 R/ p. ?
  1653. 3 g; @, q3 V+ w: }
  1654. ; automatic encoding detection order.
    . {& |- M7 @$ y" N0 h
  1655. ; "auto" detect order is changed according to mbstring.language$ d) U, E2 q; C! r
  1656. ; http://php.net/mbstring.detect-order' F3 a; t1 S- E# `: r3 y
  1657. ;mbstring.detect_order = auto
    $ ?8 c6 {+ O! A: ~, h
  1658. & X' T3 i& @4 O" G
  1659. ; substitute_character used when character cannot be converted
    : S( E. y4 O8 v* s
  1660. ; one from another
    % w8 \5 z. y/ Y) @; W
  1661. ; http://php.net/mbstring.substitute-character4 w. u+ D) ~1 @' Y# O" s1 O# S
  1662. ;mbstring.substitute_character = none( V0 W/ x  F! |- A) l( F' Y1 k

  1663. ! t' x0 ~( S8 y6 Y: k( D+ @. V
  1664. ; overload(replace) single byte functions by mbstring functions.
    8 Z: `, g% {: {2 N$ v; `
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),, r5 t1 X( X8 o  m" N
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.' ~+ k1 ^" ^- Z6 J& K
  1667. ; For example, 7 for overload everything.
    4 c, ?% y4 n8 m# W8 ?; U' E, ?
  1668. ; 0: No overload
    . H- S; V( |7 c& C+ Z4 k9 N
  1669. ; 1: Overload mail() function
    ( W' H/ `7 [( x6 l8 ^
  1670. ; 2: Overload str*() functions
    6 |$ j. V1 s1 u8 X" ?8 \- e
  1671. ; 4: Overload ereg*() functions
    + y6 j; w! l) R( T) B0 `, X; p+ Y
  1672. ; http://php.net/mbstring.func-overload6 k$ b6 `  Y/ A+ n( F2 Z
  1673. ;mbstring.func_overload = 0
    7 J6 }9 a2 g2 h% k6 P

  1674. . |+ l# y. x( e
  1675. ; enable strict encoding detection.# u7 L4 g' {5 [. f( W9 a" N6 J
  1676. ; Default: Off! ~! D* v3 Y  Q/ a% n5 z
  1677. ;mbstring.strict_detection = On6 d" V3 n5 v" d$ K

  1678. " x' d7 s: T$ g: ~' e, W
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()9 a% Y$ c# t# y" }4 Q/ C0 }
  1680. ; is activated.
      J4 a* a, N$ H  t0 P
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)4 s% h& [1 c4 G
  1682. ;mbstring.http_output_conv_mimetype=
    , K* R0 {7 @- n) [# R$ y0 W

  1683. 0 z# O' P/ y( ]0 }- e0 i
  1684. [gd]
    * H  o$ m2 W  d& S' |& N3 P( S
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    3 U7 v) j9 D0 w( g7 _
  1686. ; a gd image. The warning will then be displayed as notices
    ; i7 {, J! l* O
  1687. ; disabled by default
    , Y0 `# M& t' J' n
  1688. ; http://php.net/gd.jpeg-ignore-warning" R3 A/ N" ?6 G
  1689. ;gd.jpeg_ignore_warning = 0
    7 J* T2 C3 j6 `( z9 h
  1690. ' p8 e: M* |% X, W/ j
  1691. [exif]+ ?# y! d9 x  v, U1 r( |
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.- x( U! h1 ]3 g6 O
  1693. ; With mbstring support this will automatically be converted into the encoding' J/ \1 l" J7 ?* H# D) }5 I4 l
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    - q9 `( s& c7 @0 h  x* F
  1695. ; is used. For the decode settings you can distinguish between motorola and9 G+ |/ a9 _5 D8 `( A
  1696. ; intel byte order. A decode setting cannot be empty.0 k, _/ _' l2 `  S
  1697. ; http://php.net/exif.encode-unicode" z' q: y0 Z( @6 I
  1698. ;exif.encode_unicode = ISO-8859-15
    ) N; L$ J9 r8 A5 j
  1699. + ^" h1 G7 b! D. w2 |4 U
  1700. ; http://php.net/exif.decode-unicode-motorola/ C' W! d0 i8 a  \" h
  1701. ;exif.decode_unicode_motorola = UCS-2BE) `6 E# i4 o5 n: z2 A
  1702. $ V" b6 X' k$ r& m) ]! O" F
  1703. ; http://php.net/exif.decode-unicode-intel
    1 h; W1 _, n. R9 f* \/ q9 h) b
  1704. ;exif.decode_unicode_intel    = UCS-2LE1 H8 ]0 F# N( X
  1705. 0 q! |% S5 L5 [3 I( V
  1706. ; http://php.net/exif.encode-jis
    9 h9 o  R- O9 M) `  O
  1707. ;exif.encode_jis =0 q+ ?$ h5 f+ i% T9 }) v, x1 _
  1708. 5 v* r$ f0 w$ d& h+ r# i0 y0 d
  1709. ; http://php.net/exif.decode-jis-motorola
    . }- ^, I" e3 G2 V6 \6 o; o
  1710. ;exif.decode_jis_motorola = JIS
      T, m! M( s- O' t' j& ]( T5 K" u) j
  1711. $ d  u0 m/ j2 F2 F6 x3 {
  1712. ; http://php.net/exif.decode-jis-intel
    2 c9 G/ j5 D* O  T# Q' b
  1713. ;exif.decode_jis_intel    = JIS: a/ {/ a$ h9 ^# H, M% [! h
  1714. $ A- S% G& X3 J5 d- W
  1715. [Tidy]
    9 Q" ]) g8 z+ c8 ]' H9 d# \/ w3 Z
  1716. ; The path to a default tidy configuration file to use when using tidy- J( d+ @) B/ q  Q
  1717. ; http://php.net/tidy.default-config. b6 \9 [- Q. {: R( U( }: }
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg  m: C+ k5 J  F- p9 p

  1719. " `4 Q) v" s. T) M7 \
  1720. ; Should tidy clean and repair output automatically?
    ( i/ J0 ^: }  ?) q: `. J# @" L
  1721. ; WARNING: Do not use this option if you are generating non-html content. [( z$ E, `' g* V- J& d1 w) P2 _
  1722. ; such as dynamic images1 E6 J) S9 w9 M9 j5 V
  1723. ; http://php.net/tidy.clean-output& t0 x/ M% L, v0 h# M, _
  1724. tidy.clean_output = Off+ M* [7 G7 }2 q

  1725. & x. x+ K2 t1 D! r2 ?9 A$ \2 m
  1726. [soap]0 b4 |5 B$ I. o. u' t
  1727. ; Enables or disables WSDL caching feature.6 o7 H& h1 T3 H+ A/ I. g
  1728. ; http://php.net/soap.wsdl-cache-enabled+ i5 z2 V" j, g& s0 `3 [
  1729. soap.wsdl_cache_enabled=1) w( A$ a# P, Q$ C( R; G' f& h

  1730. 2 }8 J8 U) h7 D) Q' V6 r/ E
  1731. ; Sets the directory name where SOAP extension will put cache files.2 h9 \, T* e. @0 M$ l" P+ M
  1732. ; http://php.net/soap.wsdl-cache-dir' x4 N. E! l+ b: e$ B
  1733. soap.wsdl_cache_dir="/tmp"
    2 S. _, P, u- m  s! h# N6 f
  1734. 2 ?2 K$ T) y& r/ c
  1735. ; (time to live) Sets the number of second while cached file will be used0 @  s7 A5 X0 t. Y4 _, I6 c+ u- B
  1736. ; instead of original one.  Z. S8 A* h& O& x+ R: I) H9 s
  1737. ; http://php.net/soap.wsdl-cache-ttl7 ?2 N7 v9 w! s% X6 \
  1738. soap.wsdl_cache_ttl=86400
    ' m! T- E' }, z3 o% W+ n9 q
  1739. : R" i  j' Q, m1 h
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)- E5 K  G" h( `0 h, I; S4 E( D" w
  1741. soap.wsdl_cache_limit = 51 \5 [8 M* D3 q$ L& A" z

  1742. + y7 K) m3 ?& y( U4 b/ s
  1743. [sysvshm]4 N! m/ j/ A! W8 W. k* y
  1744. ; A default size of the shared memory segment
    7 d7 A/ y# h  H1 t
  1745. ;sysvshm.init_mem = 10000
    3 l" @6 `* k* j, ]4 r$ s1 ^
  1746. $ D8 b1 @, l/ g+ b- ?
  1747. [ldap]
    ( [) a- ]7 b3 k1 H" b9 X3 p
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    7 o2 s  Z3 F: o5 P
  1749. ldap.max_links = -1
    , ~1 O5 C& |" C6 c9 t* i
  1750. 5 D% A( c' {6 B7 K1 A" A
  1751. [mcrypt]. X7 K9 \' l3 w4 \' N6 H6 s
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open3 D* a, w2 i5 G9 M

  1753. 8 ^, ^4 k5 a0 k
  1754. ; Directory where to load mcrypt algorithms- R, }; S  L% o
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)" a( v  i4 b6 P* |
  1756. ;mcrypt.algorithms_dir=
    & R7 L4 w4 C7 B; r0 W/ z

  1757. , I$ y( ]0 _" K: ?
  1758. ; Directory where to load mcrypt modes
    7 `  F, a/ a$ t" M2 k2 f. x
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    % F/ X4 z, C1 l; V  M, l
  1760. ;mcrypt.modes_dir=4 {/ k! |" P( e2 Q7 K

  1761. % }4 c7 s7 a% x
  1762. [dba]
    ; M! a0 b" U9 ~( b( Q0 Q4 @
  1763. ;dba.default_handler=
    4 m* J3 c/ O, {; C( o! o
  1764. 9 m) a! q8 x+ q8 S1 f1 c
  1765. [opcache]
    . e3 S/ Z9 N+ t
  1766. ; Determines if Zend OPCache is enabled- W( ]: {6 R  C0 d2 k0 C* Q
  1767. ;opcache.enable=0
    2 L! G3 z% z* f8 O, v; N  z" ]- v" `
  1768. . T( O/ W: g4 p& j9 D# C( A: E  m
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP6 Y- g2 ?! ]# [0 o  ?
  1770. ;opcache.enable_cli=0: U! y2 v0 w/ n1 _2 [( q! p. m
  1771. 7 J- B% U& ~6 F( i" ^: k
  1772. ; The OPcache shared memory storage size.
    5 Q( b7 ?0 e/ h% D
  1773. ;opcache.memory_consumption=64
    % ]$ B) x0 {6 F0 W: ]0 N
  1774. : }2 _( i( ^7 J% N. e! d) V; _1 W+ ^7 G
  1775. ; The amount of memory for interned strings in Mbytes.: e" q/ z* f. V, A
  1776. ;opcache.interned_strings_buffer=4
    ; A/ t9 s* Y' l7 \, _8 f& ]

  1777. % {$ ~! Z* [5 i6 g
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.  a4 W- E: ~# N6 o0 f( _! Z/ m3 h
  1779. ; Only numbers between 200 and 1000000 are allowed.8 z  a3 m% _- E4 i* W5 `
  1780. ;opcache.max_accelerated_files=2000
    $ w: ?% W" C  p( f% ]  q( U
  1781. 0 X+ _9 b$ G- z  H- t* d6 F) Q
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.1 l4 h; ^) x' N- ^8 s
  1783. ;opcache.max_wasted_percentage=5, d8 x! P8 b9 @
  1784. % |- M. k! e. Q+ F1 c
  1785. ; When this directive is enabled, the OPcache appends the current working1 R- m$ G( q, B5 ?3 R9 r3 s
  1786. ; directory to the script key, thus eliminating possible collisions between5 z* R' h5 \3 Y+ \. a; s' f
  1787. ; files with the same name (basename). Disabling the directive improves
    ) d7 c+ f, @7 w3 m1 r6 f) D# ^
  1788. ; performance, but may break existing applications.
    + {- y) `: S. C1 g2 V/ h: x. k2 T
  1789. ;opcache.use_cwd=1$ A# B. z5 H8 ~" h

  1790. ! U. k, ~, V- t/ t+ x% m
  1791. ; When disabled, you must reset the OPcache manually or restart the) I* E  q& d9 K1 l+ t5 U' w
  1792. ; webserver for changes to the filesystem to take effect.
    . d* E9 \, u7 z) M
  1793. ;opcache.validate_timestamps=1
    1 f# b# t! x0 _% V

  1794. & K; F' L3 X- V' b5 q% [
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    5 w2 F* _6 f1 z+ j
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    4 M/ u# K7 x; X7 k) Q2 M, H
  1797. ; once per request. "0" means always validate)) H0 c  D: ?$ l
  1798. ;opcache.revalidate_freq=28 @: f. i5 d7 Y6 E1 }

  1799. ! i" p, C# P3 Z" a% H
  1800. ; Enables or disables file search in include_path optimization5 s; _3 v" k3 {) {, H4 q
  1801. ;opcache.revalidate_path=0
    , H# I3 U1 d9 S4 r. u$ T2 j7 B

  1802. & s/ ^2 B9 u' z6 @4 a  g
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the  f- N* J( k# M* p* S9 z& j
  1804. ; size of the optimized code.
    : g8 V5 k+ Y6 W) d# r+ b
  1805. ;opcache.save_comments=16 @  H! Q6 `7 @+ a% d
  1806. # X& O# J! i% N3 p
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code- k" s' e$ X0 a. D7 G
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    ! K$ y! _" K2 M( x' L
  1809. ;opcache.fast_shutdown=0: p+ Z% z, ]2 H' N
  1810. 1 h6 t$ u$ _: S# y6 Z7 o) V$ G
  1811. ; Allow file existence override (file_exists, etc.) performance feature.# C7 z6 i( O3 z
  1812. ;opcache.enable_file_override=0
    * R" ~4 v! E8 a7 F: Y
  1813. ! Q9 `) O" F; H0 s6 b
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache9 g  D1 J9 y! a5 @9 l& I- q0 Y
  1815. ; passes
    8 z! B) P9 B. V+ s! b
  1816. ;opcache.optimization_level=0xffffffff. w4 H. q$ `$ i* J  M5 Z# Q# n
  1817. 9 U9 u: K* G3 P" ^% T& M
  1818. ;opcache.inherited_hack=1
    " V" ?( V6 ]. l) w8 g: v
  1819. ;opcache.dups_fix=0
    ' Y8 n( {' T, l1 q) Q: |" x, K+ g

  1820. # I* C& a5 c% L( n# C3 J/ J
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    " N7 f  T0 g7 n; }; ~
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    ( j$ u, r6 c# R4 \  X# o! N1 Q
  1823. ; that should not be accelerated. The file format is to add each filename, l. v) \% Q1 ?0 a$ ?  y  w! L7 |
  1824. ; to a new line. The filename may be a full path or just a file prefix: J5 c# l/ T7 b5 ~3 H3 T; b8 c7 |
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www# t: ?8 E/ y8 m& E+ o+ o  k& b
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    # ^2 w: k& [, ?* W/ G9 Z
  1827. ;opcache.blacklist_filename=& F  r3 o3 v% U

  1828. , T1 O8 ^& @" s+ X
  1829. ; Allows exclusion of large files from being cached. By default all files
    ; c" }# P1 ?4 R" R% X, w3 {
  1830. ; are cached.3 Q3 Q. N/ v; w5 ]
  1831. ;opcache.max_file_size=0! B$ E" h2 G* j: K. O- y
  1832. ( C% I7 q' X4 F5 X+ m+ e- q7 B" T; k
  1833. ; Check the cache checksum each N requests.
    . x7 X9 J' s; j
  1834. ; The default value of "0" means that the checks are disabled.
    . j. ]% L9 X% U
  1835. ;opcache.consistency_checks=0
    & m8 A/ r* d' u+ w5 ]
  1836. 7 E5 x* y9 X$ r$ N* @; U
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    $ Y7 @5 l1 Z; `2 m
  1838. ; is not being accessed.
    . D2 [" y% ^2 @0 }, G( X$ v. r
  1839. ;opcache.force_restart_timeout=180
    8 ^" v3 j- s. n+ E, b* S3 ^5 u
  1840. 2 @/ Z' F+ D# U5 }1 X, E$ H
  1841. ; OPcache error_log file name. Empty string assumes "stderr"." M9 Z6 x0 z2 c3 |( E
  1842. ;opcache.error_log=
    " t9 v! j1 K" X6 _" E0 `! J7 P

  1843. 7 N9 P3 P+ \' P$ L
  1844. ; All OPcache errors go to the Web server log.
    ' ~9 G5 e& l- l; O6 q8 B4 C
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    * w" [- {$ B. ?9 r, Q* k. f
  1846. ; You can also enable warnings (level 2), info messages (level 3) or$ F  o/ x; ?+ R# r& i+ s( f$ S
  1847. ; debug messages (level 4).
    7 q# R5 a' k3 O1 ]2 O) c
  1848. ;opcache.log_verbosity_level=1
    5 ~/ N$ N/ J0 p$ Y7 m
  1849. ! \9 W- L+ b8 M0 b( s1 X
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.  L! b( o6 G$ }+ D- m) q! D2 X
  1851. ;opcache.preferred_memory_model=
    ! L% H) ]  M- E2 n

  1852. 7 ]( p1 `  X1 R7 Y8 g8 n* m3 K& d
  1853. ; Protect the shared memory from unexpected writing during script execution.
    $ d9 r% f% v  k& A- r
  1854. ; Useful for internal debugging only.
    $ E4 F) R  m0 _6 ^
  1855. ;opcache.protect_memory=0
    8 _& Z! Y* _/ n0 V: ~" c6 O# o
  1856. 0 L# K" W- @- |# U+ [
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    + P) V! G( O6 m& M4 D) J
  1858. ; started from specified string. The default "" means no restriction
    0 C5 Q9 U: k0 N
  1859. ;opcache.restrict_api=; C5 J7 V. r' F* c; w1 s8 `1 s
  1860. ( h: X3 i2 L& R0 o, X
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP: J. c8 A" Z6 Y% B  s1 M
  1862. ; processes have to map shared memory into the same address space. This3 f" Q; o4 c6 G6 S" f
  1863. ; directive allows to manually fix the "Unable to reattach to base address"; J, \8 B' b8 q$ M
  1864. ; errors.
    " C+ x4 L; |% ~$ r. Y4 x# H8 z
  1865. ;opcache.mmap_base=( R5 B% o3 L. H
  1866. 1 i3 C5 v$ \6 g" c$ g6 P
  1867. ; Enables and sets the second level cache directory.0 m, d/ u6 o& l' x
  1868. ; It should improve performance when SHM memory is full, at server restart or
    4 D1 o. H# n+ T/ I
  1869. ; SHM reset. The default "" disables file based caching.- W: H9 d$ U9 ?% Z# r' m
  1870. ;opcache.file_cache=
    8 S% l& t$ r- X, m3 E- \. i' Z4 I7 c

  1871. ! f* d/ y+ F, [6 ]; v, ^2 ]
  1872. ; Enables or disables opcode caching in shared memory., y9 ^9 a, x- X
  1873. ;opcache.file_cache_only=0
    ) a" o( W& y# a; J0 E( U

  1874. & S1 ^. e7 ^, M% e% Z2 u) a' ]
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    $ B) g9 P# h* l6 H- ^
  1876. ;opcache.file_cache_consistency_checks=1
    ) F) B1 d  o& W: \) Z
  1877. , u9 l5 d& i0 n3 I; P, K
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    8 Q: g2 k* I" l2 D- l; }
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    - ?: H) Q6 s; a7 ~
  1880. ; cache is required.
    # c. p7 H5 ^' c( a" M
  1881. ;opcache.file_cache_fallback=18 M& S$ b, X) g) k" ^! O% b
  1882. 2 x# \1 u  t4 r, q
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    0 G( O' E% B$ p/ v% O8 `+ ]
  1884. ; This should improve performance, but requires appropriate OS configuration.4 k* I& l) v7 ]. V# O% H
  1885. ;opcache.huge_code_pages=1
    ) R2 s5 I& z2 ]) w4 a: ~  I, C

  1886. - |5 W% t; G" |4 q$ @  h
  1887. ; Validate cached file permissions.7 ~& Z, q8 F& l) r- b0 t" _1 \
  1888. ; opcache.validate_permission=0
    0 R8 J% ]$ Q7 q6 y. D

  1889. 4 d3 S4 w* t1 ^! I* H. h
  1890. ; Prevent name collisions in chroot'ed environment.6 e# h4 q: V  u6 C2 y
  1891. ; opcache.validate_root=0- ?% J2 Z1 `4 c! J# D+ }
  1892. 1 {9 [, d- W- c6 b- p- }. [1 t6 J
  1893. [curl]5 [6 E& ]( z# U
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an% I& @# u- D2 I! ]4 k) e$ a
  1895. ; absolute path.
    ( ^+ r9 p) g2 }' C+ e. h8 L
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    7 P4 c) n+ w0 i( c( ^
  1897. 6 m9 b8 B6 e% p0 Y; H
  1898. [openssl]
    5 K# I# W3 h& Q1 G$ U6 p7 K
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
      v4 Q4 A7 U' Y+ ~! R3 K; f- o# v/ I
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    : l+ S+ ~5 f; g! U
  1901. ; not specify a value for this directive as PHP will attempt to use the
    * j7 T) F$ ^+ C) Q  V9 n8 c
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    5 A( ]# {. K% i3 X' C
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context! ^8 p. |2 z+ l, f. b5 p7 l4 _( j
  1904. ; option.  P: g6 E8 I+ k3 g; S$ @6 f: |
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt5 s) |6 A4 q3 F5 q3 W3 R7 b0 M

  1906. : X  R' h% V) u
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    " i/ U* Z3 g1 m6 l6 `
  1908. ; directory pointed to by openssl.capath is searched for a suitable* ]( S0 }- a* f1 ?3 ?4 A
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    3 p' A% K& b( _! c4 J& x
  1910. ; Most users should not specify a value for this directive as PHP will
    $ [0 x  f, i2 ^( t
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,! W! y! k$ k. `$ ]$ W
  1912. ; this value may still be overridden on a per-stream basis via the "capath": ^" u3 G( ]3 s$ h6 X* \/ l
  1913. ; SSL stream context option.) |- Y* K& ^5 C3 s
  1914. ;openssl.capath=
    8 L7 N1 L- J3 z# _. p

  1915. % g$ R, P/ ^1 s, v" U
  1916. ; Local Variables:7 @' l0 d/ @* g* t. l% P
  1917. ; tab-width: 4
    . C/ ^1 h: e( P4 B5 b& G, Q( _" `' T
  1918. ; End:+ W- `* [2 d6 J- Z+ d9 Z
  1919. / Y$ D% _9 R: v9 ^. f% S
  1920. ;eaccelerator; m1 a& ^" G& ]+ J8 b. E5 h

  1921. ' {0 T2 H: x$ ^* s0 S
  1922. ;ionCube1 q6 R9 [* w$ t1 ~+ m7 j5 p0 l! f
  1923. & B4 o5 O' ^3 Z) a/ ^5 O
  1924. ;opcache
    7 Z& D6 [; N2 R- a

  1925. 8 F- M1 Z: c" P/ N
  1926. [Zend ZendGuard Loader]" G9 o% Y$ c' O  G4 L! Z0 K- i. w; P
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ! X7 W$ Y4 A9 `
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so9 r+ A/ X( U" E
  1929. ;zend_loader.enable=1
    . ?# ?/ P& u6 w, j( {" C8 T" Z$ D
  1930. ;zend_loader.disable_licensing=02 T/ f# E. ^. ]6 w
  1931. ;zend_loader.obfuscation_level_support=3
    - S3 q% y# r7 j9 B. i/ G; ^
  1932. ;zend_loader.license_path=
    ' ~1 S- Q& K8 b! _6 m: B1 H
  1933. / A% r. y! ~, v- O7 s
  1934. ;xcache
    1 e% G8 h3 v" W# u
  1935. ' e8 Z+ A( ^4 l  u# x  {4 S/ k
复制代码

1 k/ V0 D; O8 X# h- F) k9 O
& Y" p8 V* Z" }, c1 A4 X, H9 H) D# i: T" @7 K2 V
3 ]; W1 Q9 l' V* P# V, O
2 w! D  C: ~2 L4 z& c

& h2 n# x& z: ?+ x
5 ]9 O, o. @0 x7 `0 \PHP5.6版本原始设置' v. v5 ?1 R! h2 S8 f

' [; Y9 M/ s( ?: F- \' y
  1. [PHP]
    & q# J1 d- q) j$ G& Q
  2. . {# V, l. r: ~4 q3 J
  3. ;;;;;;;;;;;;;;;;;;;
    6 P" i, X+ d: \
  4. ; About php.ini   ;7 \- h& f& J( P
  5. ;;;;;;;;;;;;;;;;;;;
    ' m4 J' D" c! R, r9 J, {9 O9 R
  6. ; PHP's initialization file, generally called php.ini, is responsible for$ t1 `0 b9 }% q% b5 H
  7. ; configuring many of the aspects of PHP's behavior.3 x3 ~+ y3 F1 ?# o

  8. ) A- w! m: V7 z2 n* i" c1 V
  9. ; PHP attempts to find and load this configuration from a number of locations.
    6 m# V* f  L. T  D4 \7 Z! z
  10. ; The following is a summary of its search order:( O1 |4 _0 a6 R# R1 W: V1 e3 p8 i
  11. ; 1. SAPI module specific location.
    " Q5 [) C# U+ O0 Q, P& Q0 N/ O
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)7 h2 R# ~2 I  }3 S: h8 z
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    7 \7 w5 y0 @' T. }' c
  14. ; 4. Current working directory (except CLI)
    4 x3 ?1 Q! p8 p0 _: r
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ) P+ U  s. ~. }- j7 w
  16. ; (otherwise in Windows), B9 s/ ?( H9 a( p# w
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    % {; v7 g9 I" v' q* V
  18. ; Windows directory (C:\windows or C:\winnt)" R$ x: a; i* m' S2 I
  19. ; See the PHP docs for more specific information.
    ; M- k& E7 ^( r5 [3 X( b" |# X: {5 p
  20. ; http://php.net/configuration.file
    * y5 j9 g5 t) c# g2 @3 Y

  21. 2 E! c  B% U3 k! x8 u/ t
  22. ; The syntax of the file is extremely simple.  Whitespace and lines5 ?! e* f% L9 O! u0 K- J' w
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    * Y. q  K9 x) v5 M+ N
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
      Y. n0 i# A: U4 D* l4 F
  25. ; they might mean something in the future.4 Q3 F: t9 @2 M" ?# l" A. Z
  26. 2 R, ^4 }0 D" `/ S0 J
  27. ; Directives following the section heading [PATH=/www/mysite] only+ W/ Y: A* i8 e" S4 t8 j* V
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ; W, q) B: q  G, O/ A
  29. ; following the section heading [HOST=www.example.com] only apply to
    2 q* i0 ^$ }% b9 X
  30. ; PHP files served from www.example.com.  Directives set in these
    " A' e3 z) E% S8 r* p
  31. ; special sections cannot be overridden by user-defined INI files or
    3 k1 i  h0 c$ C4 [6 A' s
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    6 z/ @3 s2 D0 _
  33. ; CGI/FastCGI.
    3 T- m; U: h: F2 ?) U; F* w
  34. ; http://php.net/ini.sections4 ?. J) G9 Z" }4 a* ]8 u
  35. 9 u: f& a( X8 g* x: n3 W4 F
  36. ; Directives are specified using the following syntax:
    5 W3 z7 O& e+ F
  37. ; directive = value
    " E& f( \! a5 @  t" |2 _
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.* r7 Q' s0 Z0 u/ t  c
  39. ; Directives are variables used to configure PHP or PHP extensions.
    + \/ C' [$ f  a4 `2 g
  40. ; There is no name validation.  If PHP can't find an expected
    & W, M+ S! j* M% \, o
  41. ; directive because it is not set or is mistyped, a default value will be used.. ?$ M3 J8 B, k8 r

  42. - Q  v8 E- G& r0 A
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    4 }, I2 V1 W% O: g! {0 ^1 ?  O2 K! T
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    8 n5 T& V0 t8 T2 I5 m) y$ H: l
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ) z5 U* E4 h, Q! f6 W+ a& u
  46. ; previously set variable or directive (e.g. ${foo})  K1 x, V* W( t* z1 e% I

  47. , }, c+ x. F0 x" `/ F
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:$ ~3 a5 W3 K6 a' W
  49. ; |  bitwise OR
    # Z* n; s0 K  H/ A7 I
  50. ; ^  bitwise XOR
    & O; }9 a5 N1 D8 C7 h+ \
  51. ; &  bitwise AND4 E) V* h. B. Z5 B- |) t0 f! h
  52. ; ~  bitwise NOT
    / j* C+ H0 @/ Z" d
  53. ; !  boolean NOT. I6 J2 {$ C2 {; H& F$ K" J# ?5 `

  54. 1 H3 r! L' i! L$ M' z
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.) V9 M! F; I" B  O$ E. r) x
  56. ; They can be turned off using the values 0, Off, False or No.
    0 Q2 r1 V6 F. s( m  I- u& U* S
  57. 9 B/ G3 y2 ~9 f/ ~$ J1 X. ~- p
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ! n) e# T$ p! x2 ^. `. }8 d( B
  59. ; sign, or by using the None keyword:
    6 g, W  k! P0 u0 J8 ?

  60. ' K1 f. L4 E- f; Y2 F
  61. ;  foo =         ; sets foo to an empty string- ]0 Q- T/ x" y+ b8 H
  62. ;  foo = None    ; sets foo to an empty string
    / z  }' N* A/ z; Y2 Z: A
  63. ;  foo = "None"  ; sets foo to the string 'None'
    , K6 V2 y* ?7 @9 o. z1 ]: n
  64. ' g5 z$ G- m$ }' y& R+ _& N
  65. ; If you use constants in your value, and these constants belong to a( @$ U- _( D1 A; t  ^
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),( k6 j/ ]/ }6 Q
  67. ; you may only use these constants *after* the line that loads the extension.
      `% w3 D) s0 z9 C0 U" U+ J" I& u/ z
  68. 7 T2 Q# W1 o6 j& _; t; C; g8 [
  69. ;;;;;;;;;;;;;;;;;;;
    : ]8 D" Y8 S* |8 X) B
  70. ; About this file ;" A! M( ~1 K7 @/ r* r4 P
  71. ;;;;;;;;;;;;;;;;;;;
    + b. G& b* @2 f8 y& K  _
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    # A: Q! I# z* @6 s0 S
  73. ; in production environments and one that is recommended to be used in
    , R0 j5 X! v. n
  74. ; development environments.
    0 z/ e% y0 k, s5 D8 I2 R+ }
  75. - q; _, G" T# E2 O! t
  76. ; php.ini-production contains settings which hold security, performance and
    ' z# t7 S9 ?. Y' I" z- y5 Y6 l
  77. ; best practices at its core. But please be aware, these settings may break
    8 {+ c: F. U$ U5 b' \
  78. ; compatibility with older or less security conscience applications. We
    ) u8 [9 l, b/ Q. w1 N
  79. ; recommending using the production ini in production and testing environments.9 I5 L8 i: s) `% `; P: l
  80. & W. v& F! X: ]# i
  81. ; php.ini-development is very similar to its production variant, except it is
      {9 ^8 I1 e4 T9 r  w6 M& N3 n' k) {; d9 k; R
  82. ; much more verbose when it comes to errors. We recommend using the
    / C3 w8 Z* n! U% ]% f
  83. ; development version only in development environments, as errors shown to
    & ]2 |) _8 _3 t7 g; O7 c3 M# W5 {
  84. ; application users can inadvertently leak otherwise secure information.. f: k' B( g2 T- n; p
  85. # g$ }) R0 b4 G/ G& T- W1 @/ g
  86. ; This is php.ini-production INI file.
    0 e, g6 F! H9 ?1 z6 d' K
  87. 9 n+ r/ ~6 U4 X$ w$ w
  88. ;;;;;;;;;;;;;;;;;;;
    5 s* C; P) q' z6 u! s
  89. ; Quick Reference ;7 W( n3 H4 J# A. ]1 z! s' \
  90. ;;;;;;;;;;;;;;;;;;;
    $ l0 Q& u) x9 i+ J# h
  91. ; The following are all the settings which are different in either the production- m, x5 N' w1 e+ q
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ! d" I( m% v( n. e6 F% Y9 @' Q
  93. ; Please see the actual settings later in the document for more details as to why
    ! f9 E7 f6 u: ]
  94. ; we recommend these changes in PHP's behavior.
    * g+ s/ G; n2 B" _
  95. 7 k/ e; x2 I7 ]. a/ B
  96. ; display_errors
    % F# s! u! E* q
  97. ;   Default Value: On
    3 o: @* E# G- n1 d' c" a5 b
  98. ;   Development Value: On
    ! K" ~$ V- h& K) Q  W6 k3 R2 Q& c% c
  99. ;   Production Value: Off. y4 t, K! o- V: y# F

  100. # O; s9 F, y% n7 o: c& k" l- u
  101. ; display_startup_errors- M$ O" x8 R" @. b/ u* h
  102. ;   Default Value: Off* e5 J" ~, D* s% I
  103. ;   Development Value: On
    ) K- w, k  A$ G
  104. ;   Production Value: Off
    9 V# C! d4 ?; l" J7 p
  105. : S. J; N& v$ R9 ?! F9 ~5 L
  106. ; error_reporting
    7 g! V+ O; [" `' \- Y
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    6 [6 k8 L( n& y7 o
  108. ;   Development Value: E_ALL
    ( @8 N6 w) b0 o. ~
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, b( B' R. p0 i2 D, |( o7 V: N
  110. $ H5 @. G7 W0 Q
  111. ; html_errors
      ~6 N& e4 }# @) a* j
  112. ;   Default Value: On
    , Z7 j5 }! s: A
  113. ;   Development Value: On/ M- z& v; X" E8 M  \& S; B
  114. ;   Production value: On, `# y4 d+ [9 P  U4 }8 l/ _8 r

  115. 8 ^5 J" c2 W" P0 P
  116. ; log_errors# |8 ~- j- Q! a- D( P  P
  117. ;   Default Value: Off3 N, K! q' ~2 T3 \6 q$ F9 G
  118. ;   Development Value: On" ?! M/ H( F6 ]
  119. ;   Production Value: On
    5 U6 @6 s7 }" l  i6 ?2 L% a' F

  120. 8 N  W1 K+ N6 T) J( R! R
  121. ; max_input_time
    - ]1 c/ S- ~/ N
  122. ;   Default Value: -1 (Unlimited)
    + T% I! E& u, d; h2 W/ `
  123. ;   Development Value: 60 (60 seconds)- y- \1 n0 B4 A! l& r/ `
  124. ;   Production Value: 60 (60 seconds)* E, p# l0 @8 @5 D

  125. ! i$ Y0 k: V; ]$ N) g  p8 G/ N
  126. ; output_buffering* X' k3 Y2 C6 o# W" q( c3 E1 U
  127. ;   Default Value: Off/ C1 ]; S3 K& r% {* P
  128. ;   Development Value: 4096' W0 f$ H( J# b! |
  129. ;   Production Value: 4096# l& V6 K/ Z% o# ^

  130. . g4 ?2 v. V: ]$ N- @& E1 t
  131. ; register_argc_argv
    ; N3 y6 Y3 K  O9 C6 Q8 a  [- C/ _- c4 _
  132. ;   Default Value: On% ~1 l8 L) U3 J+ T2 F
  133. ;   Development Value: Off
    4 g( p! ?: R5 Y! ~$ h- s9 p  Z
  134. ;   Production Value: Off! f5 F) ]- ]1 H  M# _; U9 `; F
  135. - R7 I. M! D% h: Q" {1 j
  136. ; request_order- c9 m) d( j, g9 R. p
  137. ;   Default Value: None/ G$ w" k# t6 ?) q% b/ u9 W7 V0 Z
  138. ;   Development Value: "GP"
    8 e6 j8 B5 N2 l4 p  q
  139. ;   Production Value: "GP"
    # {3 u9 S+ a& G" ^( `" @
  140. 3 n6 m1 k2 H, {) j! ~
  141. ; session.gc_divisor$ ]# b* ~8 ?/ i& L
  142. ;   Default Value: 100' B) k6 K* |; o$ r: u8 e
  143. ;   Development Value: 1000
    / U3 \# p% e6 S- F
  144. ;   Production Value: 1000
    & u9 H( W# B0 }8 R' R1 u. s
  145. * C0 m( c3 R* I, |
  146. ; session.hash_bits_per_character' f6 B. H( n* t  y" W9 t
  147. ;   Default Value: 4
    4 Z4 I! ?" B0 @. H+ Z
  148. ;   Development Value: 5* M) t1 r) O* n$ G. r; ?8 F
  149. ;   Production Value: 5
      A. L0 ~- o6 B; X$ @9 N, Y! Z% f
  150. ' g" f4 Q& l- J. G
  151. ; short_open_tag
    7 H* C. I4 u8 g, u! g
  152. ;   Default Value: On2 {5 d3 x) w/ e$ r
  153. ;   Development Value: Off1 T. @5 `- x8 v4 [% W7 E- w
  154. ;   Production Value: Off* h/ t" y$ r6 d1 [2 _& d# m
  155. 4 m- g4 |3 {# x0 b" p4 A4 S3 J
  156. ; track_errors
    * d! r8 D, }& O4 V" x( y
  157. ;   Default Value: Off
    ) L( T2 n. W& Z  h5 t) H' W; m# g
  158. ;   Development Value: On
    ; x7 w1 M. w' u, j+ n9 u
  159. ;   Production Value: Off& `' a; U6 t) J+ y4 ^
  160. ; G6 V6 _+ g1 S" I+ X
  161. ; url_rewriter.tags8 Y4 d- G/ z" _6 W/ P
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="5 Y) C; x3 ]2 m; u  n
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% E7 Q# ?/ N8 {2 D
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 N. u9 I. C/ O% K0 F1 e; t
  165. : q0 q1 F8 ^1 z( c; R( w; U. e
  166. ; variables_order
    ) ~& h. T+ d9 P! {
  167. ;   Default Value: "EGPCS"$ y! T  C" b/ ~2 ^; }) f# @
  168. ;   Development Value: "GPCS"
    9 }1 @; N* [" ^* I1 i* q6 O# ?
  169. ;   Production Value: "GPCS"
    ( q& Z; [% k& }; e

  170. - c% B' W8 i; y# T0 e
  171. ;;;;;;;;;;;;;;;;;;;;
    1 m+ ]. B; J. X3 c) o0 G3 D
  172. ; php.ini Options  ;
    ; K- k+ w# h3 A9 P& ^, _# E
  173. ;;;;;;;;;;;;;;;;;;;;: I* c7 ^2 u' V1 m6 V
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"0 y4 `- F. d/ ~$ o8 ^1 v' d# X
  175. ;user_ini.filename = ".user.ini"# s5 T- V" \" W! g. ?, \5 U* J6 A

  176. * j( {  o: \/ k% v$ h2 s, P
  177. ; To disable this feature set this option to empty value
    5 V) m5 Y- a9 H/ d* t
  178. ;user_ini.filename =
    & s. H4 w4 D% D! Q. T

  179. - z" a0 ?" y2 M! j
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    : t/ Q* r8 _. c) z" b! d
  181. ;user_ini.cache_ttl = 3005 K# d' y7 x  K! `, Q$ x/ k* E
  182. ' I3 S  e( _5 {0 m
  183. ;;;;;;;;;;;;;;;;;;;;( P& H- J  l& P) A; K
  184. ; Language Options ;
    + R! V# l: X4 }
  185. ;;;;;;;;;;;;;;;;;;;;. N4 G( Q2 o/ |2 r. Y2 ^

  186. % z4 I% B0 W: X  R4 F3 h
  187. ; Enable the PHP scripting language engine under Apache.
    . V  e1 P. j* x. e" ^0 d3 H
  188. ; http://php.net/engine: m5 _$ c& @! Q% S4 }
  189. engine = On. f  s/ T- b% A9 N

  190. ; e8 z' V: o  z. k- w
  191. ; This directive determines whether or not PHP will recognize code between
    $ o4 c  k( l' P% ]
  192. ; <? and ?> tags as PHP source which should be processed as such. It is3 }1 h# `* T) ]; W% d' G
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ( S4 I( E5 b: B! t1 m
  194. ; should be disabled, as enabling it may result in issues when generating XML7 F% M& P9 d7 P& k( R
  195. ; documents, however this remains supported for backward compatibility reasons.: ?# ]4 J  C) F2 q" I4 J3 s5 P7 e  K
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    5 P4 W7 t6 c+ H! g0 k4 o
  197. ; used regardless of this directive.
    ) Y7 {' o6 v, Z$ S) h& ^* [! B
  198. ; Default Value: On: k! F$ n9 K2 f: b$ d* v
  199. ; Development Value: Off
    ; X) R! }) s9 k+ z1 d  E
  200. ; Production Value: Off! C$ @% v( U- M
  201. ; http://php.net/short-open-tag+ T3 p/ e: S7 S- g' q. G* b4 B
  202. short_open_tag = On
    , ^! N8 K8 f8 T, s0 n! \
  203. 2 M' X) l/ [- ?: H
  204. ; Allow ASP-style <% %> tags.
    % m% D! M! I2 E7 M! I5 l% W* x
  205. ; http://php.net/asp-tags4 U% s; z; t# l- Q! M! V3 [( K8 S
  206. asp_tags = Off
    4 y4 W9 V- R' ^0 l! Z% |7 l/ V3 v
  207. & s9 i0 K+ `. L& J
  208. ; The number of significant digits displayed in floating point numbers.
    ( |- X' c2 C0 c$ q
  209. ; http://php.net/precision8 ]" R+ [, i' ?% ~2 t
  210. precision = 14
    1 ]% X- z. h2 w/ p2 c2 @. {6 j1 L; J; X
  211. 3 c. a. s4 H5 B4 L% J% q
  212. ; Output buffering is a mechanism for controlling how much output data
    % ]+ i# Z- M6 ]# }
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that! L& p. q- `4 o: b& i7 o2 J
  214. ; data to the client. If your application's output exceeds this setting, PHP
    % s' _+ `. Y* o& H2 u( C9 H
  215. ; will send that data in chunks of roughly the size you specify.
    2 T/ `' S  q0 y0 z1 E4 h
  216. ; Turning on this setting and managing its maximum buffer size can yield some  L" \0 {" z7 H
  217. ; interesting side-effects depending on your application and web server.
    " t8 J& x  Y: T4 t. c1 d
  218. ; You may be able to send headers and cookies after you've already sent output
    3 \3 A, B! O- r7 F3 A7 K6 E! y  q6 s
  219. ; through print or echo. You also may see performance benefits if your server is
    6 ~' E! Q" d; a& [- x
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    3 c) X, H$ }. \9 H- V7 y
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    7 Z# I& f( e; @" N4 \
  222. ; reasons.
    2 y: b7 \3 {( O" t/ H5 j
  223. ; Note: Output buffering can also be controlled via Output Buffering Control  \* G% n" N& O7 U
  224. ;   functions.
    ( o* t# q) y+ @; C
  225. ; Possible Values:
    ! T5 w* P9 Y% h" ?; E1 R
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)& B3 s3 S) A  Y# F6 d
  227. ;   Off = Disabled
    " Z& A0 T  `3 t8 _
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ' q2 N6 u. ?" t5 E( r' V; j/ `# j
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    & j; l, ^+ t6 v- x$ C4 I
  230. ; Default Value: Off
    9 o* g6 O9 t4 z( p& U+ W% y- m
  231. ; Development Value: 4096& N8 D# j6 y- [  S0 b) ?4 }. @
  232. ; Production Value: 4096$ i! N0 y$ Q$ r2 U. ]
  233. ; http://php.net/output-buffering) b" E9 z0 W  T& j
  234. output_buffering = 4096
    ( l& m# h4 s3 \% D7 p6 {2 \
  235. , m/ M' D1 C# h# T3 U( m. U
  236. ; You can redirect all of the output of your scripts to a function.  For
    * H, Y  v, a1 v4 D/ Y9 R$ L
  237. ; example, if you set output_handler to "mb_output_handler", character; v& x  M3 P( e$ T
  238. ; encoding will be transparently converted to the specified encoding.
    : g0 o6 b  M0 ]
  239. ; Setting any output handler automatically turns on output buffering.* m( Z+ r, z) Z/ n' d. i5 C
  240. ; Note: People who wrote portable scripts should not depend on this ini- s6 m+ m6 Y% S# C$ |
  241. ;   directive. Instead, explicitly set the output handler using ob_start().$ o2 n+ Y/ r+ i( W$ h
  242. ;   Using this ini directive may cause problems unless you know what script$ E6 |: k3 f& Z' W8 f
  243. ;   is doing.6 {8 }/ s6 Y& Q3 O$ p6 o" R
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    " p+ d9 r) L/ |3 M
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    7 }* o3 \6 y) T% T# U6 G. V
  246. ; Note: output_handler must be empty if this is set 'On' !!!!7 \( O- x6 A& ]5 [9 N" }
  247. ;   Instead you must use zlib.output_handler.8 U- W& V" g4 h2 `
  248. ; http://php.net/output-handler
    , o# I+ E0 r& L. {; B* M  o8 ~
  249. ;output_handler =
    ( ?4 b$ u9 J8 e% L: }

  250. % G4 ^3 d6 K0 x
  251. ; Transparent output compression using the zlib library
    ! ]# D6 C' z! ^2 A* I" r
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    , o' R$ [; _" i' Z, @
  253. ; to be used for compression (default is 4KB)
    1 m6 Q+ q! j4 ^4 t6 u2 J
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    . j+ v9 {" \$ Z% A5 }
  255. ;   outputs chunks that are few hundreds bytes each as a result of; T" D+ S. b/ ~, K( L" A8 l* @3 {
  256. ;   compression. If you prefer a larger chunk size for better* k( y7 U; m: Q7 w, @: r
  257. ;   performance, enable output_buffering in addition.
    ( W$ G& X1 L+ G" n6 K+ l+ h
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ; \# k- f- o% K
  259. ;   output_handler, or otherwise the output will be corrupted./ w( x* Y% Q: l8 b1 F, T
  260. ; http://php.net/zlib.output-compression
    - O' k% o; Y+ q% Q
  261. zlib.output_compression = Off  I. D* ~: E% [, F

  262. 0 ]) f# I$ B4 W& Z# i+ \4 s  d
  263. ; http://php.net/zlib.output-compression-level0 E; X2 L+ J- s* q* B
  264. ;zlib.output_compression_level = -1
    % u$ ^! K1 ^0 h( {* r% C+ [

  265. " x+ K# |, S; t- D5 D# B" B7 h
  266. ; You cannot specify additional output handlers if zlib.output_compression4 Z. U. r2 h) e' ]7 i" v# E
  267. ; is activated here. This setting does the same as output_handler but in2 e4 ^6 q4 ^& m" J" y3 V4 n8 U
  268. ; a different order.2 u9 O! v" v* z* Y' w% Z
  269. ; http://php.net/zlib.output-handler
    / x9 ]; M/ ~& e7 e* c" t! C, X
  270. ;zlib.output_handler =
    % Z7 ^0 `# Q" A* b3 h1 z( p
  271. 4 v# g* I  a3 v
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    4 S7 f( |5 s+ ?) W3 i
  273. ; automatically after every output block.  This is equivalent to calling the8 ?7 `  N; D6 w; b5 Y5 d9 T
  274. ; PHP function flush() after each and every call to print() or echo() and each2 T( K4 Z0 R( T- E3 V$ [
  275. ; and every HTML block.  Turning this option on has serious performance
    8 O" ]& i& H  C. \2 I
  276. ; implications and is generally recommended for debugging purposes only.; ]0 J& z3 }. T
  277. ; http://php.net/implicit-flush
    2 E( }1 G4 n" s) M
  278. ; Note: This directive is hardcoded to On for the CLI SAPI9 [, r+ g8 z3 n) u' E
  279. implicit_flush = Off
    8 v2 `  u" I5 b! q, w0 \  }
  280. & {6 F6 |  r& U: q% m  H8 {
  281. ; The unserialize callback function will be called (with the undefined class'
    5 e, T2 `, H& T$ M1 Z. N
  282. ; name as parameter), if the unserializer finds an undefined class3 @& k1 A8 u% u3 A4 m
  283. ; which should be instantiated. A warning appears if the specified function is1 a6 Z  r" S  J& {
  284. ; not defined, or if the function doesn't include/implement the missing class.! y1 ~8 q9 F" g7 {  Z0 z! G8 d  \
  285. ; So only set this entry, if you really want to implement such a  c4 D$ H* F. M" W3 F* }0 c
  286. ; callback-function.- q. j& X9 W. P8 K. D
  287. unserialize_callback_func =
    $ y& I+ l& x6 w1 N) h5 O4 o# X% M5 x
  288. % ~- f3 |3 r5 b: d
  289. ; When floats & doubles are serialized store serialize_precision significant
    & `# U1 [* T6 v; L1 v( t
  290. ; digits after the floating point. The default value ensures that when floats
    8 @4 n. f( K! {- Y( _0 }/ Z1 m
  291. ; are decoded with unserialize, the data will remain the same.2 m5 h; `* t- v3 H; T. u
  292. serialize_precision = 17
    7 G6 s. _7 I% l, c7 R$ J- b1 L, u
  293. ' }; A5 n' a1 \+ E, C8 V
  294. ; open_basedir, if set, limits all file operations to the defined directory
    . }' m0 H( A; z# e
  295. ; and below.  This directive makes most sense if used in a per-directory4 g& @: D" o  W* [! z$ |
  296. ; or per-virtualhost web server configuration file.
    9 M# m  A  V' v9 y0 ]& O8 O
  297. ; http://php.net/open-basedir  P% H: ?- c" i  v0 a; c
  298. ;open_basedir =
    ) i9 f4 J; S6 d/ }

  299. / B+ e8 r; X3 U3 G6 r( Q
  300. ; This directive allows you to disable certain functions for security reasons.& D& [2 t2 z- }( B" z# |
  301. ; It receives a comma-delimited list of function names.
    ' ]6 Q9 @+ ^( ]
  302. ; http://php.net/disable-functions1 ]/ k0 u" o) v* u
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru# O" ^) P. {" t; [$ t( P* B" L

  304. ! O( \5 f3 E1 Q( _  }
  305. ; This directive allows you to disable certain classes for security reasons.2 ]0 }- g1 L2 f4 H
  306. ; It receives a comma-delimited list of class names.
    # a) B* g4 B6 G/ W) F6 V3 [' N
  307. ; http://php.net/disable-classes% }' u5 b- q2 c& S
  308. disable_classes =/ W) ^' ]) O+ k

  309. ' U2 O# r8 z+ N+ h- Q% L2 n( {# U/ x
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in3 O5 W6 n- O' X4 a7 U% ~& a
  311. ; <span style="color: ???????"> would work.
    1 x8 k! B6 Y7 V$ ^. |# ?
  312. ; http://php.net/syntax-highlighting1 f* t: }! f& Z$ Q$ N8 M8 `
  313. ;highlight.string  = #DD00004 P7 S' {" {6 @+ `
  314. ;highlight.comment = #FF9900
    ' m. C' ]) K( Z5 i; c
  315. ;highlight.keyword = #0077004 e; E; A" x: z
  316. ;highlight.default = #0000BB$ H- v7 E  u$ n+ C$ _. ]; D
  317. ;highlight.html    = #000000# ]. z. U4 J; V
  318. 7 G' K# h# E7 h: z3 @, N
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    + c/ |& r0 f  K
  320. ; the request. Consider enabling it if executing long requests, which may end up5 n: f1 R; ?; a5 U' @
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior7 P6 @' K& O  E3 G; o% ]( g
  322. ; is to disable this feature.. g! k% @4 A  @5 e. Q
  323. ; http://php.net/ignore-user-abort
    9 K. n0 C( Z" h2 T. B. E9 X
  324. ;ignore_user_abort = On
    9 s& H) m. X) p
  325. $ M( I7 i4 I& P; O: d0 G+ L
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    8 I$ r1 q, R+ q8 N# |2 {9 ?
  327. ; be increased on systems where PHP opens many files to reflect the quantity of) U- F: ~  G/ f( b; S/ f$ [
  328. ; the file operations performed., o$ }; c' y; ?# s/ A$ j
  329. ; http://php.net/realpath-cache-size) q3 l- G9 m0 P5 ~2 K  h
  330. ;realpath_cache_size = 16k2 ?: ]" |. N6 z) D0 T3 T
  331. * |4 ^! a/ F+ j# U7 Z) A
  332. ; Duration of time, in seconds for which to cache realpath information for a given. o8 s& y0 J" n  X, b# g9 U
  333. ; file or directory. For systems with rarely changing files, consider increasing this1 f4 I% g7 a9 d  P- V+ K
  334. ; value.3 z) A  }5 x' f& t3 L
  335. ; http://php.net/realpath-cache-ttl
    - ^2 M* n7 g; j7 Y8 e  ?
  336. ;realpath_cache_ttl = 120
    9 H6 F) L2 ]+ R3 \( ?* V
  337. 9 \# k# `; @7 j" V
  338. ; Enables or disables the circular reference collector.3 `- N6 L+ e6 B
  339. ; http://php.net/zend.enable-gc
    ; L! ?: n' ?% i& E
  340. zend.enable_gc = On
    0 h- E' v9 S- v( [6 `$ C
  341. + N) Y$ Y, k$ t- u1 \3 s
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    1 {5 [- M; t5 ~9 @0 G3 M
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
      S! c) K1 Z( N; J8 p0 o
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    : B: `4 X# i% w
  345. ; Default: Off
    * g7 F8 c1 W6 @5 u! C$ f( @, H" Z. S  ?
  346. ;zend.multibyte = Off2 V; {8 M" P0 h+ T3 w3 f. l

  347. * K9 v  U1 }. u: }1 w9 S8 Q' `
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    # r2 V% d; f7 \: g& J* M/ l5 b
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.& p+ ~8 `! K/ X# l& }
  350. ; Only affects if zend.multibyte is set.; m/ J4 T' l2 z2 W- x9 ^+ J
  351. ; Default: ""& s) J, j  J3 Z5 c8 P" }& i
  352. ;zend.script_encoding =  N/ Y  z8 c3 X$ v7 r0 U

  353. + H( ~0 s+ ^! }$ Q$ a" A8 x, t7 l
  354. ;;;;;;;;;;;;;;;;;$ w9 M: d& F- J  ~
  355. ; Miscellaneous ;- J: q- N6 l, d( a9 v7 t) }
  356. ;;;;;;;;;;;;;;;;;
    4 Z& I+ q& n; C' E

  357. & A4 p( D  n" Z& I
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    1 _! r: A; V7 P
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    0 V, j: L- p7 c6 r
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    4 o6 E3 B: z* p" i) e6 ~% Z# Y
  361. ; on your server or not.
    6 k& t3 W8 k+ ?( C2 b' T1 u4 z
  362. ; http://php.net/expose-php
    ; v1 m3 t; d+ A$ J" q% R+ K
  363. expose_php = On
    : ~6 P3 A: M* X% ^; P
  364. * r" Q/ F" [$ b+ ?
  365. ;;;;;;;;;;;;;;;;;;;- V( [' I5 g- _/ i4 l
  366. ; Resource Limits ;) i" Q0 ]7 R7 n/ U5 N5 ?  q, i5 A
  367. ;;;;;;;;;;;;;;;;;;;! b7 z; W+ J% {; x

  368.   v: t7 C6 \& m. P4 {
  369. ; Maximum execution time of each script, in seconds2 y; J( H6 L! ]/ C0 K( Y2 Y
  370. ; http://php.net/max-execution-time# H2 a1 ~5 i- e3 ]
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    0 d! ^* X0 `! q' [
  372. max_execution_time = 300
    . }9 H) p, j+ s

  373. * u& p' ~: ^: D0 V
  374. ; Maximum amount of time each script may spend parsing request data. It's a good- J! F3 S* q5 o- ~% G
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly- R* _& O4 z- g( E+ L
  376. ; long running scripts.2 w1 W( |  N+ k$ l: T" W
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI/ Z! T, V$ `( d1 b: }- E
  378. ; Default Value: -1 (Unlimited): \$ W. T$ A" |( m  x8 g
  379. ; Development Value: 60 (60 seconds)! z0 K; D8 w7 |$ i! A" R$ h9 g
  380. ; Production Value: 60 (60 seconds)& w9 E3 Y' c5 ?3 P; {
  381. ; http://php.net/max-input-time5 k& b5 u5 W2 R
  382. max_input_time = 60
    + o. K% D/ F$ l' _5 n& m3 r& h

  383.   u) b1 H" l+ ^8 n8 k; B+ j
  384. ; Maximum input variable nesting level
    4 E" N9 [2 m2 P% s
  385. ; http://php.net/max-input-nesting-level
    7 i3 Q( k8 |, g- m" y
  386. ;max_input_nesting_level = 64( y" h1 v1 K6 g, P' ]6 W
  387. - I7 {+ ~% A' u* C+ `+ ^( J( T
  388. ; How many GET/POST/COOKIE input variables may be accepted7 B" G8 X0 L$ X  Z. y9 F
  389. ; max_input_vars = 10008 t) P) f6 K0 M1 s) L

  390. / R9 Q! A/ X* f
  391. ; Maximum amount of memory a script may consume (128MB)9 D: o! w9 L' _- x
  392. ; http://php.net/memory-limit  K) o% w  \+ P4 q
  393. memory_limit = 128M
    & @: c5 ^5 E1 d  g8 G1 p' m

  394. & a; F0 m; Z7 J3 j" {
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;% ^  j# U0 a  n) f
  396. ; Error handling and logging ;  `$ o; T; k- Z$ B0 @
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ n) }9 P% I; F  t* O

  398. . ]+ s+ G! }6 T
  399. ; This directive informs PHP of which errors, warnings and notices you would like7 {2 ]8 `% }0 Y, j
  400. ; it to take action for. The recommended way of setting values for this
    $ d: q' M( j% ?" W
  401. ; directive is through the use of the error level constants and bitwise
    # H7 T1 W/ c: ]& I; M0 ~  f- {
  402. ; operators. The error level constants are below here for convenience as well as4 [' e3 \% v- m! b& G
  403. ; some common settings and their meanings.  U  A! M/ d$ o
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    4 _. K, R" I" M
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    8 y6 {6 I6 p& g0 l' v! p" F1 F
  406. ; recommended coding standards in PHP. For performance reasons, this is the  q3 Y5 I) H* H* D$ ?
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    3 ]) ?' V! z  {' k1 z; v
  408. ; resources complaining about best practices and coding standards. That's what+ ?" x9 t9 _4 G2 i
  409. ; development servers and development settings are for.
    4 I7 a( T3 m* U" G; ^
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
      C+ R: C6 ^7 K) S) u6 ]9 s8 n  a
  411. ; means it pretty much reports everything which is exactly what you want during9 i! K' I. E1 m9 \
  412. ; development and early testing.1 Q) l; U6 k  _6 V( R( X+ _
  413. ;
      ?. l! q, ]7 A  s* G4 [$ K
  414. ; Error Level Constants:6 N, X7 ^; [( i- {
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0); m9 h. V8 h( u7 D5 c
  416. ; E_ERROR           - fatal run-time errors' S# T8 ^) G6 ^! U. \# D: `, L7 p
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    6 u+ n  j4 a: G0 O# j* L$ [1 m5 j0 R
  418. ; E_WARNING         - run-time warnings (non-fatal errors)# k! P6 T; e0 h. R
  419. ; E_PARSE           - compile-time parse errors) N; c' T- C6 [7 d
  420. ; E_NOTICE          - run-time notices (these are warnings which often result! h* x: y0 e7 D, l# j9 I
  421. ;                     from a bug in your code, but it's possible that it was
    6 }3 |/ t2 w! f0 V' t' r6 P
  422. ;                     intentional (e.g., using an uninitialized variable and
    * T; L! I; N) q# i+ u5 W
  423. ;                     relying on the fact it is automatically initialized to an
    . a4 F+ J+ t% ^' P- j( K% u& ~
  424. ;                     empty string)' y1 \6 I* l* }0 l8 ~
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes: p; G, `8 \- u$ X4 m
  426. ;                     to your code which will ensure the best interoperability
    6 o# p; ^- w5 c( W7 w; Z4 x" F
  427. ;                     and forward compatibility of your code* m. W; J" E& {+ ?9 D/ r
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup# l, @1 C9 d9 ~& u  v
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's( z7 `2 |3 I  c6 V
  430. ;                     initial startup
    ; @4 X& g: x7 Q
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ' t( q7 u3 c; S6 Y6 I5 T
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)* m$ ^) e5 S, ?1 A& D8 O
  433. ; E_USER_ERROR      - user-generated error message
    9 @. R! b  r/ T( a- E
  434. ; E_USER_WARNING    - user-generated warning message
    " u) V5 o9 L7 J+ l
  435. ; E_USER_NOTICE     - user-generated notice message2 ~( {$ m( C, ?, Z- @
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    2 f" f4 C8 k+ Y/ X: E
  437. ;                     of PHP
    7 A5 ~- M1 A& D
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    4 s" i8 B* j) j- w' l
  439. ;
    - m  I' ?% |- n8 b
  440. ; Common Values:
    ' S( _% m8 s3 A
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)0 V( W" Y# e/ f" Z  T8 B, f
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices). u2 `+ c; e# Z/ t
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    . o, y) u' @1 B" x& h, Y
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    . m7 ^& D1 Q/ N) D
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . \. t8 Y' {: F, k# x8 n- P) A
  446. ; Development Value: E_ALL3 G) a6 g+ k# |7 L2 R6 p# _& A
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT  Y$ t! h7 {+ G+ S( [
  448. ; http://php.net/error-reporting0 ^* }6 w! f( i2 K
  449. error_reporting = E_ALL & ~E_NOTICE
    % |, D* N0 P4 @

  450. 7 Q6 I" H7 O- s/ P. {
  451. ; This directive controls whether or not and where PHP will output errors,
    : |& D1 |3 U, i  X0 g# y
  452. ; notices and warnings too. Error output is very useful during development, but/ i9 U! J! n6 D2 m4 s: b
  453. ; it could be very dangerous in production environments. Depending on the code
    9 }8 X$ ?0 ^3 X7 k, P
  454. ; which is triggering the error, sensitive information could potentially leak8 e9 I$ x( t; b  O! \3 k2 d
  455. ; out of your application such as database usernames and passwords or worse.& e3 ?' K: i$ U: P8 A
  456. ; For production environments, we recommend logging errors rather than( v4 N6 b- ?. p5 h' V
  457. ; sending them to STDOUT.$ D' L5 G6 |5 Z* d* [1 K
  458. ; Possible Values:
    9 s3 j& o6 u7 u& T  q' m! y: S7 I
  459. ;   Off = Do not display any errors. g: m7 K* o- A0 \3 J& ^
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    - x. e( g! X8 d) `' j' h  x
  461. ;   On or stdout = Display errors to STDOUT( l* t. N" G% j, x! O% X* w
  462. ; Default Value: On
    5 E& t' B, _$ i# Q" U* {5 T
  463. ; Development Value: On$ ?2 `/ W$ u! n! l% O
  464. ; Production Value: Off
    & f5 U- H2 {6 t2 D9 k3 _3 y( j8 ]
  465. ; http://php.net/display-errors
    8 j' V1 W5 k! y, C, d4 d
  466. display_errors = On& I0 C: J5 n+ \/ [- S* t0 D% C

  467. 0 j4 g6 C& E4 t
  468. ; The display of errors which occur during PHP's startup sequence are handled( r, J6 x% E* A4 o* t
  469. ; separately from display_errors. PHP's default behavior is to suppress those4 e5 i' I: I* P" {: o! i
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    , _* g% x8 V! A; z, X  @
  471. ; debugging configuration problems. We strongly recommend you
    " B. x3 ^& l; g
  472. ; set this to 'off' for production servers.! V% {, M! {+ j" N
  473. ; Default Value: Off9 R- a  A+ q  Z- b, F3 Q
  474. ; Development Value: On
    . U" K; e2 a% n4 U# L
  475. ; Production Value: Off" m9 x6 N9 D7 m" w; C/ f& @
  476. ; http://php.net/display-startup-errors# i) O0 ], O' K; U
  477. display_startup_errors = Off
    ! F' L( Z! _8 }

  478. 3 D/ }1 Y  y( r* r, a1 I7 S) r
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    6 S9 t' j: D1 s: ~1 }& D# Y0 E
  480. ; server-specific log, STDERR, or a location specified by the error_log
    . b2 d* @/ t) G, n, K! o3 w# v. ]
  481. ; directive found below. While errors should not be displayed on productions# d* q- i9 w6 K) ?1 I% N* m
  482. ; servers they should still be monitored and logging is a great way to do that.9 j) f7 w9 J4 x& M  Y: k. N1 O4 u! a
  483. ; Default Value: Off' y, J5 a  @% E. T3 g4 c
  484. ; Development Value: On8 i6 \: M2 T( t. Z0 x5 m& v
  485. ; Production Value: On
    1 X1 u3 W% A. q$ N' k
  486. ; http://php.net/log-errors
    0 u6 `: O! ~( m3 v
  487. log_errors = On
      l* ]4 t5 A- y; G1 j, y* l5 a" A
  488. ; s! s( K, G; \: T( |
  489. ; Set maximum length of log_errors. In error_log information about the source is
    & r  n! @  X6 @
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.; ~' j3 h8 ~1 ~6 }  c$ z0 A7 V4 f/ A
  491. ; http://php.net/log-errors-max-len0 q' u  f! e2 V
  492. log_errors_max_len = 1024
    0 f9 v; T( h  y

  493. * `% y9 |& J) |3 k: @( |
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same$ [" D/ r  t4 @0 E
  495. ; line unless ignore_repeated_source is set true.
    / t4 u, y( T5 }8 w5 z; v
  496. ; http://php.net/ignore-repeated-errors
    4 Q" ]3 U5 i9 C: Q4 R
  497. ignore_repeated_errors = Off
    / K" g8 ~) e' U. l: ]3 g+ L* N5 l
  498. 7 r- E0 k3 r4 P0 h
  499. ; Ignore source of message when ignoring repeated messages. When this setting' X; d/ H' v& U4 I; f( w7 P
  500. ; is On you will not log errors with repeated messages from different files or$ q' o( y% v2 n
  501. ; source lines.& z  w) f" \# M7 V* [
  502. ; http://php.net/ignore-repeated-source
    7 Q; I1 T* R; W. y7 F
  503. ignore_repeated_source = Off$ {  V5 A/ K0 q8 |4 u/ `

  504. ! d, t. O9 Z' R+ p! G8 q3 w
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on5 p7 v, z" _+ i' Z
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    + P. K5 n- f  B4 s6 F# n
  507. ; error reporting includes E_WARNING in the allowed list5 R$ s. B! H7 w" R/ u  Q& y
  508. ; http://php.net/report-memleaks8 j1 K, _6 s1 X$ |6 y9 I0 Q( d( t
  509. report_memleaks = On
    3 s4 v3 j9 s- s% _! ^

  510. 6 K' S% J2 S" Q$ Y  g3 B. D& v
  511. ; This setting is on by default.
    : A, u; H# G# B- F8 c- X) m8 G
  512. ;report_zend_debug = 0( l( V) G' T, a

  513. ' b4 \, J4 {  l) g. ?+ R4 Y
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value! z6 D. i; v: L2 h
  515. ; to On can assist in debugging and is appropriate for development servers. It should6 l/ m. {! ?3 Y; u% A- d
  516. ; however be disabled on production servers.
    6 Z- X, |6 j" b
  517. ; Default Value: Off
    ! V) D5 \4 d( S2 c/ g5 @( Z9 t
  518. ; Development Value: On8 z. g+ W4 K. k  M& d8 z' L
  519. ; Production Value: Off
    % x+ A2 c7 w( E' t- {
  520. ; http://php.net/track-errors
    & F1 v4 ^4 |" n: j2 m) f
  521. track_errors = Off
      @( P& B" ~! a% ~+ d; h1 [) c
  522. % w" O9 _+ K! O: K* e
  523. ; Turn off normal error reporting and emit XML-RPC error XML6 l; x4 {9 u: s6 G( u
  524. ; http://php.net/xmlrpc-errors
    4 F8 y$ P9 h4 n) ]( `. S& d
  525. ;xmlrpc_errors = 00 H+ }& }' W8 R. |; V. w6 @
  526. $ ?4 g/ [8 b9 T/ R1 z- h9 M
  527. ; An XML-RPC faultCode
    ! e* L2 x, A" B' \' V  \
  528. ;xmlrpc_error_number = 01 e5 R' K* M7 X8 D/ S- r
  529. 5 W' G# _* ^  @3 ]  T& [
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    " Q" W/ M9 G4 _
  531. ; error message as HTML for easier reading. This directive controls whether
    5 Q7 P2 S3 @8 t' g0 a* Z
  532. ; the error message is formatted as HTML or not.
    ; |9 n1 ]* E* E! i4 H. x) ^
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI4 G8 [4 L3 Z! R* N
  534. ; Default Value: On& C: c) Q* c) b% j- ?5 H
  535. ; Development Value: On
    % J5 C& [$ i3 M8 P% Y
  536. ; Production value: On; V/ m4 g  _- R8 k0 K( U# W  e+ I' l
  537. ; http://php.net/html-errors
    & j$ H; T" q# c2 S# [8 y
  538. html_errors = On
    5 L1 d6 T9 ?0 `, E( `$ Y

  539. 4 H- W" |0 V* s& ]9 k
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP- d+ A; q0 e" g! Z% {1 K- J
  541. ; produces clickable error messages that direct to a page describing the error
    8 @9 V! n' A! q1 H" z
  542. ; or function causing the error in detail.
    ; [2 m2 j6 \3 }( D% d
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    - _9 h. h' _  X" S
  544. ; and change docref_root to the base URL of your local copy including the3 n# ^% K- Y  Q. M5 R" ^
  545. ; leading '/'. You must also specify the file extension being used including- ^6 W/ ?' g0 _. \+ P9 w5 F
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    0 M* G  S  ~" J5 _
  547. ; case no links to documentation are generated.. W4 }. n& N! s- S- v; E* B9 r+ c" n
  548. ; Note: Never use this feature for production boxes.: o  s1 s/ G9 b) w
  549. ; http://php.net/docref-root5 Z/ r- _, p+ O& u! X
  550. ; Examples& c' B% Z$ \* g5 N; L) Z9 [& L
  551. ;docref_root = "/phpmanual/"
    ! V! b! F' X5 X5 F

  552. 3 M2 ^! m4 s0 G: q! ~, [  K; \- D
  553. ; http://php.net/docref-ext
      a) ^+ w3 m0 M+ f' W
  554. ;docref_ext = .html
    2 x% V% k, o5 H! u$ R% l1 T

  555. 1 M* ]) E- G6 [  A9 A+ a& s+ z
  556. ; String to output before an error message. PHP's default behavior is to leave  F$ F5 l8 P, @5 Q
  557. ; this setting blank.
    4 x, a# F8 Z( L' Y7 \' M4 @
  558. ; http://php.net/error-prepend-string
    / u2 O. ^4 \( X& F" |
  559. ; Example:
    ! M" M- w: X, s9 C* d
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    ; r1 E" @; }* X: Z+ T
  561. ; c1 E; G7 }& Y, n0 F
  562. ; String to output after an error message. PHP's default behavior is to leave
    9 r0 s7 Q" _" N3 ~  q( c. ]; m
  563. ; this setting blank.
    3 q. N; c0 g+ ]* X  y
  564. ; http://php.net/error-append-string" o' K2 q- Q4 ~) d5 j5 q, @: N
  565. ; Example:
    7 `3 \7 c' b5 A& e9 Q6 c, Y, D3 B
  566. ;error_append_string = "</span>"  L& ?9 z  V& o. u1 M: u% l$ B

  567. 9 U- B7 R+ S0 l" z4 Q$ E! }
  568. ; Log errors to specified file. PHP's default behavior is to leave this value4 K  O3 b: V6 W% e
  569. ; empty.
    % Y- f# |, I* G4 z& f
  570. ; http://php.net/error-log
    : u9 E0 B! ]( [0 x0 Z5 H7 Z4 X$ O6 x
  571. ; Example:4 k; ?. t0 y) g8 _; j% Q
  572. ;error_log = php_errors.log
    " D  A4 I7 j  V2 J$ z4 _& N
  573. ; Log errors to syslog (Event Log on Windows).& e- Y" ]) J- d- ]4 `
  574. ;error_log = syslog4 ^, h' {( r& n. v: p$ V, y
  575. - M" q9 m3 M" r2 \7 c/ K5 u
  576. ;windows.show_crt_warning
    " D3 i" `1 i& C0 G
  577. ; Default value: 01 C. }! q( a7 y; y, `2 \0 [# U. L$ D8 p
  578. ; Development value: 0' q& m& ~! D; y2 X  u
  579. ; Production value: 0% N! N& V; u& y  ]5 P

  580. 5 w  ~6 Y* ~2 Y: \. Z9 ]
  581. ;;;;;;;;;;;;;;;;;
    ' N' \( w9 F1 `7 R
  582. ; Data Handling ;
    7 k6 R( D7 f4 [4 u$ ^) G  O, c3 V
  583. ;;;;;;;;;;;;;;;;;% o0 q7 U6 i- s
  584. & q1 T' V3 ^9 i* C
  585. ; The separator used in PHP generated URLs to separate arguments.' L4 }! p% T0 m9 e. ^( x/ N& d- r- E
  586. ; PHP's default setting is "&".1 R; D# L$ @8 m0 h8 D
  587. ; http://php.net/arg-separator.output' n8 g& }+ y1 C  y
  588. ; Example:( d  k' m: `2 {4 q* h
  589. ;arg_separator.output = "&amp;": ]/ U" ?! |% c; |& C: {; ?- G: ^
  590. & K$ ]# t1 h6 N4 K0 x3 \. c1 W) e
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    3 l9 {6 ]% k% V1 ]2 }: X
  592. ; PHP's default setting is "&".
    + B+ P+ B  s$ Z. K$ q- ~
  593. ; NOTE: Every character in this directive is considered as separator!
    . w" J9 `2 v: `" n/ x" ^9 U- B. f  h5 c
  594. ; http://php.net/arg-separator.input
    5 {) W; `: D  E( j8 l$ k& q
  595. ; Example:
      a+ M9 C1 e' g- P. R9 h
  596. ;arg_separator.input = ";&"
    5 M$ Z0 [/ m. k- X. C
  597. 3 n, s* ^( A" S
  598. ; This directive determines which super global arrays are registered when PHP$ M, S/ [( y& ]4 o1 g0 C, i% B& j! M+ @4 ]
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    + ~8 S3 f& I/ ^' F; O+ j9 N
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ' Y$ u1 X5 q! `8 Q' I6 s9 X: y
  601. ; paid for the registration of these arrays and because ENV is not as commonly+ t) m" T! }9 j
  602. ; used as the others, ENV is not recommended on productions servers. You
    # p2 m; T; A1 C4 n
  603. ; can still get access to the environment variables through getenv() should you
    6 l/ m- l7 @7 t4 m
  604. ; need to.
    ) }" U0 {6 N6 C% G/ Q4 W. P
  605. ; Default Value: "EGPCS"
      y1 b* O! }3 s1 M
  606. ; Development Value: "GPCS"  B$ @. s7 o4 \  W* R0 D/ x/ g5 T  u
  607. ; Production Value: "GPCS";9 n' \- V) c: b: c5 k6 q% o+ y  k. R
  608. ; http://php.net/variables-order
    * j" y# A+ g& M8 j2 q1 _7 {
  609. variables_order = "GPCS"
    # V% x* @: J& k+ h

  610. ( Z5 Z5 P3 v- D1 Z+ K
  611. ; This directive determines which super global data (G,P & C) should be" R* {  l8 ?) s
  612. ; registered into the super global array REQUEST. If so, it also determines: @: K# ?) P; e- B1 J
  613. ; the order in which that data is registered. The values for this directive
    7 f' p5 E6 G% ~7 p7 v
  614. ; are specified in the same manner as the variables_order directive,
    % Z9 h0 [9 K8 m) c
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set; I8 q# f* H: W' b
  616. ; in the variables_order directive. It does not mean it will leave the super
    $ Q0 G6 w, o& U$ Y# y3 _) ]
  617. ; globals array REQUEST empty.
      W+ c9 x- h6 K6 ]: @
  618. ; Default Value: None
    5 T& a) O" d: n3 l# |
  619. ; Development Value: "GP"
    $ G4 N' j. \* J! n
  620. ; Production Value: "GP"
    ( o1 m) K/ Y& P) c  K: O+ q. W
  621. ; http://php.net/request-order  L  _* k+ H/ b4 m
  622. request_order = "GP"
    & ?' e/ ^+ H- I$ b
  623. + Y+ m1 J/ {6 E
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    0 o$ v" M7 |; ?% x4 s+ ^
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script" H: ^- L! M; c' c  A
  626. ; is invoked. $argc contains an integer representing the number of arguments
    & [$ ^2 c! ^' a- q
  627. ; that were passed when the script was invoked. These arrays are extremely
    / V2 v' D/ c- Y2 M& U0 A
  628. ; useful when running scripts from the command line. When this directive is- C9 a  ]1 @  S% y# l0 i+ r
  629. ; enabled, registering these variables consumes CPU cycles and memory each time" D8 a6 O% Q4 A1 O
  630. ; a script is executed. For performance reasons, this feature should be disabled
    - A9 G! R/ D3 R+ G& k/ l+ o; F
  631. ; on production servers./ u/ Y2 b) _: R, O& C
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 C2 b& `. c; \% s/ F' j
  633. ; Default Value: On& V4 @8 ]# D1 _: S1 [4 ]
  634. ; Development Value: Off
    $ |7 e7 W; S. ^
  635. ; Production Value: Off
    & q, _3 U: O  s" s0 a: u
  636. ; http://php.net/register-argc-argv4 a' u; I2 A0 E+ ^3 z$ s2 Z- j  c
  637. register_argc_argv = Off
    6 g' s. X' W' {/ w

  638. . x7 l% s- s* @
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're5 A  O1 b4 t% Q- w# O
  640. ; first used (Just In Time) instead of when the script starts. If these6 E! e) [9 M. T
  641. ; variables are not used within a script, having this directive on will result
    . ?8 d& b' G) C0 h
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    * _& i2 G' d" N% c8 P
  643. ; for this directive to have any affect.
    8 B2 j# h! p$ C: D6 R
  644. ; http://php.net/auto-globals-jit) F% s' b2 U8 f7 p2 ]+ n! K2 F
  645. auto_globals_jit = On
    2 k/ o. }, M+ Y' E) B1 x7 @" J8 v: ~
  646. & k; i1 t. k+ [/ G! m% T  v
  647. ; Whether PHP will read the POST data.* c3 R: Y2 v* A* z" @' N
  648. ; This option is enabled by default.5 [. L  Q; j% B% _0 L4 X. R
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST3 t8 T& }6 `( J) ]) W* f
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    : j9 p. ~* C: W3 Z+ F; S% p
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    4 ~( I0 R" g3 M% S$ q
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ! b: \8 F5 a- j! t+ k/ l. f
  653. ; http://php.net/enable-post-data-reading9 |: h, m/ ]5 E* Q2 [, n
  654. ;enable_post_data_reading = Off
    ! U: V$ C5 q6 w, C5 X* Y) f) H

  655. 7 B* E# {& _* G- ^3 j
  656. ; Maximum size of POST data that PHP will accept.
    1 c# N0 R- \# Z& Z
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    . i, k* R+ j$ D- `! z
  658. ; is disabled through enable_post_data_reading.) K2 e  O' ^: h+ C# z  Y
  659. ; http://php.net/post-max-size. I. `! O( n7 R0 `- [
  660. post_max_size = 50M
    , v- W" t! \2 N8 E

  661. 4 v$ J$ e1 W. y, C1 k- @/ a
  662. ; Automatically add files before PHP document.3 \/ |3 B2 J9 {7 ~# L6 f
  663. ; http://php.net/auto-prepend-file
    , f  u* i( f" ?0 I% D9 ?: x
  664. auto_prepend_file =, C+ \2 D1 |9 e# c: i/ M

  665. 5 G2 t$ B9 {# H" q
  666. ; Automatically add files after PHP document.9 `# K# z% ?# T9 R* c
  667. ; http://php.net/auto-append-file
    ; {8 Q+ z) t& E6 }" x
  668. auto_append_file =
    9 w& r+ G) D8 i5 |
  669. , G; J3 W& m  O: i
  670. ; By default, PHP will output a media type using the Content-Type header. To) t, O6 R1 ~! v
  671. ; disable this, simply set it to be empty.
    : o1 m- V% b* d, z$ C( F. Y
  672. ;) p7 Z; O+ U5 l+ Z$ p
  673. ; PHP's built-in default media type is set to text/html.% f. j( |/ g6 i# A' S" V! A
  674. ; http://php.net/default-mimetype
    % b, I( Y- M0 z- [6 r5 q2 Z
  675. default_mimetype = "text/html"
    $ N- k' h# Q5 T! O

  676. * ]& E/ R) ~8 ~- N
  677. ; PHP's default character set is set to UTF-8.
    5 D5 k5 K5 i( i0 z# P- t* r/ A
  678. ; http://php.net/default-charset5 e9 q# }. [9 V, R( D1 C
  679. default_charset = "UTF-8"
    ' \7 \# N) E# Q$ N! o

  680. ' T' B+ `" ~7 `, A* [" Y) C
  681. ; PHP internal character encoding is set to empty.- ]3 L6 }' r1 H) s0 x: U
  682. ; If empty, default_charset is used.8 N' k: x5 a# F% p7 S
  683. ; http://php.net/internal-encoding
    $ h8 P% a/ u- \- S0 f4 O
  684. ;internal_encoding =
    5 ]: X* a; |9 M5 s* B& y9 m

  685. 6 Z, x0 b- u9 W" ]
  686. ; PHP input character encoding is set to empty.- C7 v9 L6 Y6 }, ^8 C
  687. ; If empty, default_charset is used." Z; i/ @" K( W$ O# k# J
  688. ; http://php.net/input-encoding
    2 {; H/ ]3 _3 g# f
  689. ;input_encoding =% t9 h6 Y- G) x2 n# X

  690. ' k+ [& R" C0 M" {
  691. ; PHP output character encoding is set to empty.  y) P, a' z2 \$ l+ Z
  692. ; If empty, default_charset is used.
    0 f, g) A3 o, V& k0 e7 {/ V2 A1 f* c2 F
  693. ; See also output_buffer.
    * [% n7 D0 @' q$ n8 h' ?' ?
  694. ; http://php.net/output-encoding0 L( B" X5 H  |$ i6 s/ q& D% e4 L
  695. ;output_encoding =
    2 v/ ?. D  A/ N
  696. 0 R; N/ J' [2 `9 y
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    " G2 K$ t: S+ ^0 Q3 b
  698. ; to disable this feature and it will be removed in a future version.5 \, ]7 G3 Y9 f
  699. ; If post reading is disabled through enable_post_data_reading,: }' ]8 P! L/ |# l1 c/ P
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.2 K' h& d; @, f* k- v7 o. E
  701. ; http://php.net/always-populate-raw-post-data
    5 A1 a+ O/ x' Y: R: P  y
  702. ;always_populate_raw_post_data = -16 t% i7 u9 Y, x8 t

  703. 0 D5 v1 r5 K: \8 q* C! f9 Y5 n: w; v
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & I) Y( l! j) h5 t5 G' E6 x
  705. ; Paths and Directories ;* r- h  G6 @$ F% p/ p
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    4 y8 w, H/ l4 X

  707. * K5 o! Q1 p# c4 c
  708. ; UNIX: "/path1:/path2"1 F! I  [$ P: A3 U6 `8 @1 A
  709. ;include_path = ".:/php/includes"! x! A8 b. j& {* X  q- @
  710. ;
    ) w/ V$ g( h7 K6 c
  711. ; Windows: "\path1;\path2"
    4 l! i& \8 U! F3 @' ~1 r6 K0 C4 n
  712. ;include_path = ".;c:\php\includes"
    3 g7 R) N. w7 r) Y- c( y0 c, j9 I
  713. ;" G; T$ C9 N) H# q# E6 g
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"9 f" n' z0 f) E/ D& N* z
  715. ; http://php.net/include-path" @) w( d% R* A) h& j3 q9 v

  716.   L5 [) [" j5 {' b( ^+ E
  717. ; The root of the PHP pages, used only if nonempty.
    . }* k- k0 r3 T- d5 b7 R. @, Z1 ~
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root. c( B$ s3 Q& q8 s. E+ p9 A
  719. ; if you are running php as a CGI under any web server (other than IIS)+ N- c4 s9 x/ u% u0 o
  720. ; see documentation for security issues.  The alternate is to use the
    , }4 E% Z4 [5 j9 u; R
  721. ; cgi.force_redirect configuration below
    0 j0 s3 f& e2 o* [7 Y0 y# Y
  722. ; http://php.net/doc-root
    ' n9 i2 s) i+ C6 C/ f) T  g6 u
  723. doc_root =+ g, o5 T8 k* p# s: L  v  H* x

  724. " w- U0 M# U2 A" e1 }( n* ~
  725. ; The directory under which PHP opens the script using /~username used only: j/ x0 ~( P, f) X, E
  726. ; if nonempty.
    ! X& _! e- A6 j( _0 }
  727. ; http://php.net/user-dir
    $ Y; a* m+ e- S% }& n
  728. user_dir =. ?- j6 z# n* n' y# t/ \3 k
  729. 9 y5 N$ H  `* V- j
  730. ; Directory in which the loadable extensions (modules) reside.
    2 O. J1 }9 Q; Y. T* H. b
  731. ; http://php.net/extension-dir
      S( y1 A( E4 W' |( y5 k" S
  732. ; extension_dir = "./"
    / @% g& M: D/ J" Q
  733. ; On windows:; K) c  l  S* P7 k+ `4 x) t
  734. ; extension_dir = "ext"  S0 b7 m6 P* G3 B
  735. $ u! C3 \0 e9 f3 E4 a
  736. ; Directory where the temporary files should be placed.# o  l1 X$ b2 z2 s
  737. ; Defaults to the system default (see sys_get_temp_dir)# s: e" v' R/ P1 `9 [7 S
  738. ; sys_temp_dir = "/tmp"6 b+ l7 Y. F" c5 o/ f) n
  739. 3 e4 J: S) P; Y8 j4 C4 o
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work6 w- N4 a2 _" ^( g1 d3 z
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically4 a8 V0 o" l% X6 o+ ]
  742. ; disabled on them.
    ! \1 l  o0 V; ]
  743. ; http://php.net/enable-dl
    $ u7 h) Z- ?1 V# _* P
  744. enable_dl = Off4 [9 h0 e' M; U% ?
  745. 1 t1 @6 v7 Y* K4 [0 m3 H
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    3 C/ b' p: {# T. _  j7 b
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    - w  G0 t/ b* B: c6 e: W# F/ \
  748. ; turn it off here AT YOUR OWN RISK
    , [1 }+ E/ G/ a1 D
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**+ O! y$ R: M* ~- @
  750. ; http://php.net/cgi.force-redirect
    , Q5 l+ {0 |$ m/ l& X
  751. ;cgi.force_redirect = 1% W( b& J0 c* c
  752. 5 W$ I6 r$ _) a6 K
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    . J& z9 r! n; W% I! K
  754. ; every request. PHP's default behavior is to disable this feature.# c/ n/ a  n5 [7 C* l
  755. ;cgi.nph = 1* }; x- U5 M+ u
  756. - e, Z- V- R* ]3 U
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    * B0 `! r( Q' o! A! G" u
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP0 f% y0 V& h( E- o* u0 g
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY7 b; N5 M3 w) F9 f
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.' f4 n, \, T( v. E9 T; W
  761. ; http://php.net/cgi.redirect-status-env# [8 S( i- A" l; m- k8 a" X
  762. ;cgi.redirect_status_env =0 D: `* \" ?8 N/ N

  763. ' F0 c; {5 b- e% }: r
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    9 i' P/ _) p8 E8 l0 r% F
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ! D1 ^: D! B0 S0 [* y6 v
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    # a6 s7 x0 g7 D( G, F: o$ H
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    $ ~* p$ I3 o% O2 M
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts, K3 I, v/ u7 T; E0 E- Q0 S
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    3 K1 [; }0 k. L# P* Q
  770. ; http://php.net/cgi.fix-pathinfo& P- s& m' f8 E0 X& q( [, V  Z  l
  771. cgi.fix_pathinfo=1! v( }* B: i+ i# x" e  M1 E' s

  772. ; }, ^6 q' n1 J0 t- J" E
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    : i4 N9 R) c6 E
  774. ; of the web tree and people will not be able to circumvent .htaccess security.: ?5 b' a/ R/ ^& ~: k
  775. ; http://php.net/cgi.dicard-path
    ; D  C! D6 R! N9 C6 t. \. O+ D
  776. ;cgi.discard_path=15 ?) _7 O( Q% c/ w4 l9 K3 \* j

  777. ; D0 z* h+ W! b+ @2 y1 @2 G0 R
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate9 b. V! X5 |; h
  779. ; security tokens of the calling client.  This allows IIS to define the! T5 S; m0 c) H
  780. ; security context that the request runs under.  mod_fastcgi under Apache" k4 w8 H0 B/ C+ i" r
  781. ; does not currently support this feature (03/17/2002); k# G/ F+ b' ^: O5 ]/ _
  782. ; Set to 1 if running under IIS.  Default is zero.
    & {/ ?5 W1 u, ?2 \" H1 x. \8 G8 Z0 e
  783. ; http://php.net/fastcgi.impersonate) Y( y9 |# r* p
  784. ;fastcgi.impersonate = 1
    & T2 U% F) F) g) [. k/ k0 z/ ]

  785. ' u, X$ n( D. Y- l7 R
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ; X' D$ E# y& v8 _& W2 n
  787. ; this feature.
    * j% B6 Q7 g& k& z- ^* y
  788. ;fastcgi.logging = 0
    * H; `; s3 ^% C9 F# I0 Q' M6 D

  789. 2 n7 O$ Y/ V2 `% i
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to4 p6 r; U' l7 T
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that* A% q' }7 _; Z# T  \
  792. ; is supported by Apache. When this option is set to 1, PHP will send# Y: V  h% H" {1 Z( ^. z
  793. ; RFC2616 compliant header.
    8 T* h7 y  P. H2 E# W. N
  794. ; Default is zero.
    , V2 f" y' d, X% E% W  V) n
  795. ; http://php.net/cgi.rfc2616-headers: N6 W/ Y" V# G% {$ U. ~* Z0 V
  796. ;cgi.rfc2616_headers = 0
    / a% `: \: Q, v1 I

  797. 2 ^% _% j" n* X! u
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!) m% Q# A; z/ q+ j2 e! y4 g. X
  799. ; (shebang) at the top of the running script. This line might be needed if the1 ^2 z0 `( \: P) @, A: W
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI4 y$ n! t/ g. Y3 {/ U
  801. ; mode skips this line and ignores its content if this directive is turned on.
    2 H4 a/ U  l& ^; |4 Y
  802. ; http://php.net/cgi.check-shebang-line" I2 G5 _- N0 b
  803. ;cgi.check_shebang_line=1) b9 R. m& m0 {

  804. 2 T) J* ~7 e7 M) M% c
  805. ;;;;;;;;;;;;;;;;3 F9 i$ t& o- X! k/ r+ x* A
  806. ; File Uploads ;7 F4 F) k. r' l" D; Q) c
  807. ;;;;;;;;;;;;;;;;7 n' _' G7 N( L5 `1 L( M% K
  808. $ i* _- X, S( i
  809. ; Whether to allow HTTP file uploads.& F- v* r  x; {& k5 Q' V
  810. ; http://php.net/file-uploads8 h8 o+ t( J- H
  811. file_uploads = On3 F% H" R* E# d$ X: }

  812. $ z' c, f5 f  Q7 _+ `1 y- r; O+ _; ^. U
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    # L. ]$ o7 z: R# a
  814. ; specified).( R0 c( \0 M  A3 F
  815. ; http://php.net/upload-tmp-dir
    , C9 r9 b8 Z! }2 J2 [
  816. ;upload_tmp_dir =
    3 M' o' Y% z' W) o% L

  817. * E  k- L# O( h# {3 s
  818. ; Maximum allowed size for uploaded files.8 `0 k) `' ]: V! ?; K
  819. ; http://php.net/upload-max-filesize# B. h; k" @( A& C- ]
  820. upload_max_filesize = 50M; B" u1 k, j- {- C% E& r

  821. 7 E5 h* p6 q  t+ R
  822. ; Maximum number of files that can be uploaded via a single request3 [+ q( J* b4 g9 m7 y1 ~3 ]# i, Z
  823. max_file_uploads = 20% z+ w/ {" H1 F

  824. ! U6 [/ n. O4 {2 F2 \  A
  825. ;;;;;;;;;;;;;;;;;;- [- a0 @4 p8 ~' w, r- e  T
  826. ; Fopen wrappers ;
    7 ^7 K. r$ R" s
  827. ;;;;;;;;;;;;;;;;;;
    ) [( n& h( D7 ~* ~2 _: C! l

  828. % v+ V; ^- |: s. q! n
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    " f, b2 s- @' Z# {/ s- x
  830. ; http://php.net/allow-url-fopen( P; {& Z/ h; [6 f2 R
  831. allow_url_fopen = On9 H& _% V  ^) q# o+ g4 C
  832. " ^( F1 j1 H! Z. s5 m5 _
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.& b. ?6 p1 Z; H
  834. ; http://php.net/allow-url-include
    : Y) B; Y, s8 |7 W/ _6 D  v5 B
  835. allow_url_include = Off
    % Z8 O' _4 t1 k

  836. 6 T# V8 a! U% B; f/ T% g
  837. ; Define the anonymous ftp password (your email address). PHP's default setting' I; |3 ^; w6 ^; w6 {- I: L
  838. ; for this is empty.
    , o9 r7 K" G) f/ }# \& |/ D% t& c7 f
  839. ; http://php.net/from
    & b- D: _2 H* O8 _" F
  840. ;from="john@doe.com"
    7 K8 R; ~- |# R9 B# f1 B8 P1 E

  841. - v3 ^% f  W$ ~8 k& Z9 K
  842. ; Define the User-Agent string. PHP's default setting for this is empty.6 |" X* q5 m' {) ~  A
  843. ; http://php.net/user-agent& R0 f3 ]2 C8 z
  844. ;user_agent="PHP"3 l; k+ B$ p" U9 |

  845.   B  M$ i1 ], {
  846. ; Default timeout for socket based streams (seconds). `4 N" Q7 T4 L, G. C1 o: O
  847. ; http://php.net/default-socket-timeout
    * h3 L7 \: ]3 U: I
  848. default_socket_timeout = 60& P' V6 _9 x& |
  849. 4 x) O7 S3 t9 H+ J: I2 u
  850. ; If your scripts have to deal with files from Macintosh systems," k! J  s% P, ?$ S; Z
  851. ; or you are running on a Mac and need to deal with files from
    4 F+ n2 \1 E/ w9 t% ~# f7 B
  852. ; unix or win32 systems, setting this flag will cause PHP to  X/ v# j) d) ~; Y
  853. ; automatically detect the EOL character in those files so that
    . Z7 y2 B; C  y
  854. ; fgets() and file() will work regardless of the source of the file.
    3 M# k4 Q* ?7 ~7 D- y, p  j- u
  855. ; http://php.net/auto-detect-line-endings
    ! Q+ H0 k! F; i4 S
  856. ;auto_detect_line_endings = Off
    + W! Y; l% w: C+ k1 y
  857. : T* ]8 R0 e" v6 @7 n
  858. ;;;;;;;;;;;;;;;;;;;;;;2 U4 T  X3 _+ a) o$ E' j% J2 K
  859. ; Dynamic Extensions ;
    1 T+ y  v% s# t
  860. ;;;;;;;;;;;;;;;;;;;;;;
    8 `0 w: Y; P1 I) d1 q3 j2 Y

  861. ! x6 x9 M7 m( z3 U5 i. d" y
  862. ; If you wish to have an extension loaded automatically, use the following6 ^+ J0 N% \! {! Q, M
  863. ; syntax:9 h  K/ L6 {7 m2 o2 R  ]  }
  864. ;
    . ^5 j5 B) h2 u7 P7 [2 F
  865. ;   extension=modulename.extension
    5 l+ A; z$ \+ |- ]9 Z- B# d6 `
  866. ;* n) M% Q5 _$ ?
  867. ; For example, on Windows:) ~  L% u4 N4 p4 ]6 M4 e
  868. ;9 F8 i2 d4 X+ [# A* D
  869. ;   extension=msql.dll$ z! u9 @( t" V( g/ z% j
  870. ;
    & X$ E  y7 Y$ P/ K& P% p4 E  W
  871. ; ... or under UNIX:
      D- `' Q) p6 W
  872. ;& ~. v9 h4 l! i
  873. ;   extension=msql.so
      c2 e# N1 r2 T) s- {
  874. ;
    * o9 M5 Q, Z# q1 C% I' H
  875. ; ... or with a path:
    % C7 i/ q2 j) _( C5 R
  876. ;
      i9 X! g* @( ^- R5 D- ^
  877. ;   extension=/path/to/extension/msql.so; k$ p2 d8 \/ D2 d
  878. ;3 e+ X2 c0 `, F4 b6 G8 i2 y) |. N
  879. ; If you only provide the name of the extension, PHP will look for it in its2 x# W6 K! S  J. u1 P; T, Z
  880. ; default extension directory.5 `$ W* o6 f9 q+ O# @9 X
  881. ;' Z8 Z+ o( H3 X
  882. ; Windows Extensions
    / V. @$ b' y) }0 A, a: z
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ) J& \! ]; J9 B) s
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5); u+ k  z" J( v& N/ ~' `
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).- Z; A: E) H$ J; E& m! ?
  886. ; Be sure to appropriately set the extension_dir directive." ]. o+ I0 X! ]2 V4 E
  887. ;& ?3 Q4 L- l7 U/ e$ Q
  888. ;extension=php_bz2.dll! x' ?6 C0 a5 o( K4 g
  889. ;extension=php_curl.dll
    8 b3 _- \3 G4 o$ u0 D' z
  890. ;extension=php_fileinfo.dll6 i! |2 v% y  B' V1 T
  891. ;extension=php_gd2.dll: ?1 d' u& e3 Y
  892. ;extension=php_gettext.dll
    * L0 T4 D. L8 f' }
  893. ;extension=php_gmp.dll# w. }0 j* d$ h1 L9 K" J
  894. ;extension=php_intl.dll9 E$ h; t  T, Q. {% M" t
  895. ;extension=php_imap.dll
    0 q5 o  P! I* M3 \8 O$ ^
  896. ;extension=php_interbase.dll$ d6 K, q6 J# S' t+ G
  897. ;extension=php_ldap.dll
    ! ]- x. E4 m+ ^+ R
  898. ;extension=php_mbstring.dll' @* h5 u& k: {& C
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    " R+ g9 S5 J0 K! X
  900. ;extension=php_mysql.dll
    ; S8 O3 y2 i6 X  _
  901. ;extension=php_mysqli.dll
    9 M- [! n; o9 s2 K
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client) Z: Z8 F0 P+ v/ }: x4 x8 o7 x' x! K
  903. ;extension=php_openssl.dll
    # z5 Y3 |' y" u! r
  904. ;extension=php_pdo_firebird.dll! x9 Q; t5 |# A
  905. ;extension=php_pdo_mysql.dll
    2 k) T( R' Y$ \0 E7 Q7 i1 m
  906. ;extension=php_pdo_oci.dll
    " q" F* D" V: a5 w5 G5 \" c
  907. ;extension=php_pdo_odbc.dll( \% ]2 Q( M  J" ]; f5 `! {; u; ?
  908. ;extension=php_pdo_pgsql.dll
    + \  X- V+ m$ v& \4 L  f
  909. ;extension=php_pdo_sqlite.dll
    6 s4 e( D# p; I( k) @1 n
  910. ;extension=php_pgsql.dll$ u; c' I/ R( R( s& O* |
  911. ;extension=php_shmop.dll
    - w5 y! a* k8 h# T
  912. 8 r# A) A! Q% L9 c4 l
  913. ; The MIBS data available in the PHP distribution must be installed.
    # g: F9 W; g6 J# q5 k: @1 P4 U
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    5 }3 j$ d- Z2 E4 o3 z( M8 n; |
  915. ;extension=php_snmp.dll
    9 r6 M, C" W  V% l$ G8 `8 T
  916. / f6 X1 v0 f' {1 A1 n
  917. ;extension=php_soap.dll
      f5 K* T* `# c2 a2 G6 Z# p
  918. ;extension=php_sockets.dll
    2 ~& \7 r2 ~% @: U' \- d
  919. ;extension=php_sqlite3.dll
    : M4 X8 h" q  d5 L; O
  920. ;extension=php_sybase_ct.dll/ R$ V- R4 D" n4 {0 ^! F
  921. ;extension=php_tidy.dll3 h' j7 G7 \. R7 S
  922. ;extension=php_xmlrpc.dll
      j5 ?5 K) s# S# B% x( W
  923. ;extension=php_xsl.dll
    ' C% I0 K3 {( ~9 I1 l* f" @! B' t
  924. $ I! E0 ^$ d+ Z* F6 E2 ~
  925. ;;;;;;;;;;;;;;;;;;;
    ' C8 \3 N" Z/ k4 T/ F
  926. ; Module Settings ;) L3 U; p$ I- b6 [( G& G
  927. ;;;;;;;;;;;;;;;;;;;" d; U9 X4 T% z6 R) b$ Q$ s, }

  928. 9 v* }- u" r1 P" t7 B9 [! L) _1 ~. c! ?
  929. [CLI Server]3 L. v* U" D' k( S0 ^% v$ ?
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    8 F7 S1 C5 a- a" s& m% G' {
  931. cli_server.color = On
    / I+ I8 z6 i) U2 d, P( {
  932. $ j* w; D, T1 a; O5 y/ E  f$ V
  933. [Date]* `4 l- ~- ~: u3 m5 |0 J4 m5 z
  934. ; Defines the default timezone used by the date functions
    ' o, s! P, X" ~" ~1 ]- y
  935. ; http://php.net/date.timezone6 r, W' c# ]# ^' |0 [3 T
  936. date.timezone = PRC. B  z3 q7 p2 B

  937. - K$ W0 j& F3 e0 J9 \
  938. ; http://php.net/date.default-latitude3 q$ x; f  j8 |. d0 ~* K
  939. ;date.default_latitude = 31.76677 _8 t" [2 ~) i- B2 i# n) G: f

  940. , i7 N$ i% o! h
  941. ; http://php.net/date.default-longitude
    & A! `+ p2 L4 D' }
  942. ;date.default_longitude = 35.2333; C% N! l, [4 m  q

  943. 3 _  ]) ]+ u) t
  944. ; http://php.net/date.sunrise-zenith' m8 n& N; Z8 O- g; P0 f
  945. ;date.sunrise_zenith = 90.583333
    ) N( P5 ?' f; O4 {& t' x! Q
  946. 0 T7 m4 @3 m$ J  D7 U
  947. ; http://php.net/date.sunset-zenith7 E4 c0 R7 j7 y  B7 _! l; U# o
  948. ;date.sunset_zenith = 90.583333
    ; a. N5 b3 j& ?

  949. - s6 o, u5 D6 w- T
  950. [filter]
    1 ]$ }6 ^! G/ ~* n# H5 N! A
  951. ; http://php.net/filter.default
    9 o- u. w! K/ @& d1 \
  952. ;filter.default = unsafe_raw
    $ A" |5 S# `% m1 X

  953. % A3 D  P( n" i  ]4 Q/ T
  954. ; http://php.net/filter.default-flags
    2 f2 [) G9 C: {+ P" s6 p
  955. ;filter.default_flags =
    2 C/ a+ s6 p' |4 ^! F( k) Q# y
  956. # p* `) _: ~0 e/ I" Z+ u+ W
  957. [iconv]
    9 K8 Y% j3 C3 w+ D" B2 ?
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ; v; H7 \, U! r$ t/ A* E
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.% A; p* y  e; y
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding- F0 W, r: ]+ a
  961. ;iconv.input_encoding =
    2 Z+ g6 _5 I: @! R
  962. " l% f; F% p; n$ O2 ^
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    , q5 x$ h! r0 z, ~! V; D' h
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  X% g' I! Q& L% C- N
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% c0 S4 t: Z0 i! Z0 E% C& g( e
  966. ;iconv.internal_encoding =" i% g3 v* g" B0 ~

  967. : x+ P, d- q4 n" ]) a- W% M
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    % v7 ~( ]! X# n5 R2 l& A2 l
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.4 h. b  }( T. r0 }6 _$ a8 C
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ; f. `- R/ y1 n) W1 Q$ n2 {* g
  971. ; To use an output encoding conversion, iconv's output handler must be set. n* v( Q; ]: d1 @  ]6 G- q& O
  972. ; otherwise output encoding conversion cannot be performed.
    9 M7 H2 O  a0 l' i/ |) f' M' r1 p
  973. ;iconv.output_encoding =
    ; T9 M! |5 v1 ^: ~4 o( J: ^
  974. ; X$ E& H) I1 |# b) ^
  975. [intl]; ^' ~/ `2 a9 d4 \
  976. ;intl.default_locale =
    : F) R# f8 J) S& u3 v1 V. K/ }1 ~
  977. ; This directive allows you to produce PHP errors when some error/ q& P/ H3 O2 K8 y3 X. @
  978. ; happens within intl functions. The value is the level of the error produced.7 h+ T) S' Z! m2 Q, t
  979. ; Default is 0, which does not produce any errors.9 {% S# ?6 u' c- F
  980. ;intl.error_level = E_WARNING: }% O% ~0 j% n  m
  981. ;intl.use_exceptions = 0
    $ r# d7 h4 m: C; p, K! I
  982. ) Q7 z" u$ l. h# ]% F. H
  983. [sqlite3]
    ! U; F2 ]5 M1 q2 U5 `* y! A/ R8 T
  984. ;sqlite3.extension_dir =0 H. e- W/ c: W. _2 w! l

  985. 0 \  C1 W2 e0 \6 f0 N9 ~3 N
  986. [Pcre]
    7 i& P: V! N4 d
  987. ;PCRE library backtracking limit.( t' }2 e0 H& c, r$ c" @% f
  988. ; http://php.net/pcre.backtrack-limit& o0 j& O0 T! m
  989. ;pcre.backtrack_limit=100000+ }' |, n( n/ i% o
  990. - o* y. M7 {# m6 e
  991. ;PCRE library recursion limit.  \  G1 z. h$ ]. i1 V6 I# X' \
  992. ;Please note that if you set this value to a high number you may consume all
    % d" i& E( V; y
  993. ;the available process stack and eventually crash PHP (due to reaching the
    - l1 V# l* [8 U0 R3 L
  994. ;stack size limit imposed by the Operating System).% L: v' m6 U- E, j# S# d
  995. ; http://php.net/pcre.recursion-limit
    3 F" F- M) \& R" c8 |: v
  996. ;pcre.recursion_limit=1000004 n9 X9 G) O; B. J3 b0 f
  997. ( w9 A5 h; s. X  W1 j' p$ z* r' y
  998. [Pdo]: {& P/ V6 A3 W$ I6 a
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    2 U4 W* ?' L6 K2 c+ P# l7 x
  1000. ; http://php.net/pdo-odbc.connection-pooling
      J) t  w+ g, b9 J2 B
  1001. ;pdo_odbc.connection_pooling=strict6 r  a2 a- R( a
  1002. 5 C1 I, ~7 |1 c' X( {+ X; ]
  1003. ;pdo_odbc.db2_instance_name
    % \9 E- q6 e. g& c7 p9 l

  1004. 5 i8 x8 I$ ~6 E8 l: l$ A, M
  1005. [Pdo_mysql]$ B+ C2 p3 @2 a% k) W4 ?
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache; s. v; \8 f7 t1 l# b# H; f9 _/ l6 ?
  1007. ; http://php.net/pdo_mysql.cache_size7 I- R" i# x* _3 |# y1 j
  1008. pdo_mysql.cache_size = 2000+ o2 i5 U3 i2 K! e, o; E

  1009. , h. j: u4 d8 u
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ |" |3 w7 \  E2 w
  1011. ; MySQL defaults.7 C" j" }! C8 `0 S4 I
  1012. ; http://php.net/pdo_mysql.default-socket
    " p8 _$ Q2 h0 M3 W: R% ]. b9 e6 i- S
  1013. pdo_mysql.default_socket=
    / o+ ?& [! M% I/ @
  1014. 7 E- b% }5 c  n$ }
  1015. [Phar]: d5 ~$ ^! }0 d3 W
  1016. ; http://php.net/phar.readonly
    ! a: m: m( z6 i/ n5 }1 J
  1017. ;phar.readonly = On
    0 S$ S# l7 c9 ^- B0 {: j8 b

  1018. $ q* M8 s, @, J' J- T$ I6 h
  1019. ; http://php.net/phar.require-hash$ y' `" R( Z1 k: i1 X: e
  1020. ;phar.require_hash = On
    . p. E, y( U0 v- W

  1021. . F8 y% X0 x4 q- k: m' Z
  1022. ;phar.cache_list =: ]4 l' b% ]2 V. E% z3 g

  1023. ( x% Y: C) ^# Z/ q5 B0 h
  1024. [mail function]4 m* h) B; ~) d2 E+ ]
  1025. ; For Win32 only.9 \, Y1 p3 t) y% }# v
  1026. ; http://php.net/smtp
    ! e/ Q5 s1 e4 f# W7 w) u& I8 f% f, [
  1027. SMTP = localhost! _" h/ A% |8 u0 d# ^
  1028. ; http://php.net/smtp-port* \+ Z  t8 c  e) _! f
  1029. smtp_port = 25" Y2 d; {2 l) _3 U$ L7 I
  1030. 0 b8 `' v+ P' f1 v
  1031. ; For Win32 only.! g# ~! N+ ~  v2 @0 {6 o, D' X6 L
  1032. ; http://php.net/sendmail-from9 Q3 ?/ b8 Z8 n% Y& F
  1033. ;sendmail_from = me@example.com- d2 i( X4 H0 @# e
  1034.   N; Q, J  ]9 h" k, j
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").( @- K  ?1 ^: z; ~" K; {
  1036. ; http://php.net/sendmail-path7 i7 g, q% G$ U" \7 e# V
  1037. sendmail_path = /usr/sbin/sendmail -t -i( r: T: g3 o" p2 Z8 H9 Q
  1038. , m, l$ I: Q$ z
  1039. ; Force the addition of the specified parameters to be passed as extra parameters4 n( A* s# P1 I1 V, {: f4 ?
  1040. ; to the sendmail binary. These parameters will always replace the value of
    % U8 Z3 n* _, ]3 S2 A: t
  1041. ; the 5th parameter to mail().7 y& Y% n6 v% S( G- X. `, b
  1042. ;mail.force_extra_parameters =' u/ W9 ]: d. u3 z& X. e0 y# N# U

  1043. 0 \+ u! ~; _$ h  r7 E( T1 M9 I
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ! S% E$ v# u" Z! N) Z3 W' T
  1045. mail.add_x_header = On
    / W' r4 L& L6 J' L# g2 G

  1046. $ k, j8 x8 m" S8 Y
  1047. ; The path to a log file that will log all mail() calls. Log entries include( E$ L9 P6 u, D3 W) Q1 @' F
  1048. ; the full path of the script, line number, To address and headers.
    % S* F$ O9 S9 p1 s% @! H
  1049. ;mail.log =4 T/ K0 V) ~( `0 T( \6 U7 J7 {
  1050. ; Log mail to syslog (Event Log on Windows).9 z+ O: s( F: M2 c- @7 X  b
  1051. ;mail.log = syslog; _& d' I. r5 H6 i% J7 c! k

  1052. / J7 F* `1 e% [: r( r: D0 _
  1053. [SQL]  Y4 X+ e  R  V+ |+ Q
  1054. ; http://php.net/sql.safe-mode( r$ K/ o' l; x6 g: B3 [
  1055. sql.safe_mode = Off+ k6 |& {/ B# c0 i5 L  b" Y! O6 g

  1056. ! \. m( d+ r/ E5 e4 R% }3 Z6 A; T
  1057. [ODBC]
    & p# M' ?/ w! L" |! A* O5 U& Z
  1058. ; http://php.net/odbc.default-db, b" e8 e; ]5 ^* D! \# {
  1059. ;odbc.default_db    =  Not yet implemented/ }( M9 f4 r. U" C" ~

  1060. 5 R* g% c2 d) y, a5 [5 I
  1061. ; http://php.net/odbc.default-user
    ; J+ P3 k0 Z( i; [
  1062. ;odbc.default_user  =  Not yet implemented% y; ^$ z; J1 n# K
  1063. 9 d* L. N7 g; w0 K8 \0 M
  1064. ; http://php.net/odbc.default-pw
    & f4 b. ~" h5 X" [1 S
  1065. ;odbc.default_pw    =  Not yet implemented3 S( x  S& R& }& w+ N- i8 ?7 f, H

  1066. % |3 \# a8 R" G% J
  1067. ; Controls the ODBC cursor model.
    0 ?) A3 Z/ T: Q3 D; ^) l- t
  1068. ; Default: SQL_CURSOR_STATIC (default).
    3 T' g- U% f* K1 e! F6 z& C
  1069. ;odbc.default_cursortype8 j9 j& {- ?7 p! y! P: m
  1070. ' e& h7 u4 [8 {" I2 |0 j$ r! w& V
  1071. ; Allow or prevent persistent links." Z' \( z. |! Q7 X
  1072. ; http://php.net/odbc.allow-persistent4 l7 E) N$ b/ d  G0 X1 \+ [2 z
  1073. odbc.allow_persistent = On
    * d" D4 F! I# ?, q5 M* P7 u+ b
  1074. 3 P# M. P; f! k- B
  1075. ; Check that a connection is still valid before reuse.
    # {0 t) h$ h% D) y: d" @. ]% @
  1076. ; http://php.net/odbc.check-persistent; ~( W- g2 R# ^( W. w6 P0 ]1 s; m
  1077. odbc.check_persistent = On7 X8 u) a5 s7 i

  1078. + h& j, h- s7 g7 Q. y' c& A
  1079. ; Maximum number of persistent links.  -1 means no limit.
    & x9 Q. ]# |$ S: d$ J" I
  1080. ; http://php.net/odbc.max-persistent
    ( g& X+ k8 h' b5 q  I9 X
  1081. odbc.max_persistent = -15 f+ `, J$ }  l: C# h

  1082. / Q& d! R" \3 ~" z
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.6 n- @/ ^% t6 v9 p. M
  1084. ; http://php.net/odbc.max-links
    8 {/ f3 F( i6 {7 l8 A" Y
  1085. odbc.max_links = -1/ C# W0 L% i- N, j/ t1 `: h$ t
  1086. 9 B1 r8 N8 @, r5 ]0 i4 t
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    2 ]2 W* r5 [6 G" J. u
  1088. ; passthru.+ o% W0 T! k. c" `; C3 B
  1089. ; http://php.net/odbc.defaultlrl) V) T3 n. b" S
  1090. odbc.defaultlrl = 4096. W6 t/ B; C; e5 v' x
  1091. $ S) P3 \' M& G0 R! }
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.5 n6 P1 q: H* O, [$ j0 q
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation2 Q6 W. s$ p+ e
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    0 |( O% Z# L/ ?$ j* g7 O3 d
  1095. ; http://php.net/odbc.defaultbinmode( d9 n2 P, b7 z/ b! p) h) z
  1096. odbc.defaultbinmode = 1
    2 D4 g, B; ]8 ?( A) z: S  s- a
  1097. $ T- J; M6 `7 T9 D4 @4 `* O4 }- e
  1098. ;birdstep.max_links = -1
    5 P; r" y* b% N6 P9 H
  1099. 6 }6 n+ j* X& z0 p* ?: h- f
  1100. [Interbase]
    - F* @5 K0 Q, R9 U' u
  1101. ; Allow or prevent persistent links.
    ' `9 l0 a% M: Z1 P% H+ h
  1102. ibase.allow_persistent = 1# ^% S1 v/ _4 n6 Z/ T% V/ E5 z9 V

  1103.   ?! \5 s9 n3 m7 Z
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ( p! P: J. `; h
  1105. ibase.max_persistent = -13 d/ X; [/ ]$ G. e
  1106. 1 N' H- y, z% v( {8 D) o9 c
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ! E9 F; d7 ~2 ]  h
  1108. ibase.max_links = -1" \* U4 R* j4 c! ?# t0 I
  1109. $ p$ L* x" G5 Z% ^4 ?. S  V
  1110. ; Default database name for ibase_connect().6 V/ z7 O% w9 p& J1 `
  1111. ;ibase.default_db =3 r7 r( k- J; x& q1 k

  1112. : P, N: o9 _; n' o/ |; v
  1113. ; Default username for ibase_connect().' n/ P( r2 g7 e) c
  1114. ;ibase.default_user =6 p, m& W8 ?; F. m( y# S
  1115. ( D/ t" i/ r9 |6 V& |
  1116. ; Default password for ibase_connect().
    * H$ P- ^5 J! k5 k$ C0 v" O6 J# W
  1117. ;ibase.default_password =- \/ p% i- l. H% c
  1118. ) C" F: ^3 k; q2 H  x6 t6 W& t
  1119. ; Default charset for ibase_connect().
    + {" Q* }, ?/ c3 G& R( e3 |! z
  1120. ;ibase.default_charset =
    # Y1 R; r  c, w& ^( @5 s2 x) Y
  1121. 7 s2 v& t5 P+ t) _" k% V. U
  1122. ; Default timestamp format.
    " G% M5 `% d+ S. J; B# A% z
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    , c9 j2 V% D$ P: ^, g- g) t
  1124.   Y( a  i2 X3 J, w' z# k# h- K
  1125. ; Default date format.
    5 s0 N6 S5 t8 m7 s/ X
  1126. ibase.dateformat = "%Y-%m-%d"% K5 u+ O5 q+ T3 l) v# k
  1127. : p+ e( O) l6 V% x  |- ~
  1128. ; Default time format.
    0 m" t4 r9 V8 U( x% A
  1129. ibase.timeformat = "%H:%M:%S"
    7 o8 e+ D3 j6 J; ]
  1130. 8 U3 p8 `. q- r
  1131. [MySQL]; |5 ]5 B4 q6 `: e" s% ]! [+ s
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    7 T# ]# R- G- s7 x9 E3 E" [1 [  f
  1133. ; http://php.net/mysql.allow_local_infile: k( T6 [$ C7 O; j, Q: S9 z
  1134. mysql.allow_local_infile = On
    ) B6 U' E: X& m4 M1 z/ l: z1 \

  1135. % I& j3 P& P. n) Y! [* K7 h
  1136. ; Allow or prevent persistent links.. L+ i6 ]& o) W, U9 c6 d5 P5 z, {
  1137. ; http://php.net/mysql.allow-persistent
    7 H) _! g; \* C$ \' C3 L& c
  1138. mysql.allow_persistent = On
    + z& x3 @: v* D! V

  1139. ' f; D8 P/ |3 y+ A  ]3 }
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    % b% R! I  C9 A% J  p$ E/ h
  1141. ; http://php.net/mysql.cache_size7 d. H- }% I+ F( \+ C2 o
  1142. mysql.cache_size = 2000
    * n1 l" t& q2 o  y8 l" W1 ?$ k* h

  1143. 9 X3 O% S0 J1 Z8 \/ C( q
  1144. ; Maximum number of persistent links.  -1 means no limit.
    + K8 p; X0 @; u; D
  1145. ; http://php.net/mysql.max-persistent
    5 K4 V5 l. Y* d+ ]4 A7 j& i0 c
  1146. mysql.max_persistent = -1
    / E% B& M% \7 S

  1147. 6 s) p$ _+ _8 C  ?5 B
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ) G' ?0 j( x  i/ L
  1149. ; http://php.net/mysql.max-links3 o, H; M' T  z' Z1 ]
  1150. mysql.max_links = -1
    ; M+ g3 J3 N4 W' A
  1151. 9 K. I8 k- n  e9 `
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use: v$ l. l0 w8 W' {  t
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    - d" }% x: c  \' r- R
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + e( c. a) D9 S3 k/ z
  1155. ; at MYSQL_PORT.# z0 _! N5 Z2 u! c+ B! d* z
  1156. ; http://php.net/mysql.default-port
    : H1 [3 J7 l( f4 y6 i6 j% D( m, K; E/ H
  1157. mysql.default_port =9 x) b' _8 c& u, F4 b6 W

  1158. ; {7 m- s2 S2 P3 Q6 N
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    $ W# W% H- {- m' F/ c+ T! G
  1160. ; MySQL defaults.
    3 O$ _3 E! f% u, c7 Q7 N$ P/ o/ Z
  1161. ; http://php.net/mysql.default-socket
    3 K% X* }( {' p* c5 P  D
  1162. mysql.default_socket =
    0 i/ X# G4 T& I
  1163. 8 {  M1 a; h. R0 z# \
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).5 }: a4 l, k# a7 o# ^, q
  1165. ; http://php.net/mysql.default-host
    " H2 W/ K" {& a$ H
  1166. mysql.default_host =
    1 v: J9 G: z. L2 v# O6 U
  1167. + x8 k+ J, t6 G' m9 y2 a( C  f& p
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    8 W5 q2 L1 I( o/ P" e
  1169. ; http://php.net/mysql.default-user
    ; G4 g4 g- m) [7 v7 s
  1170. mysql.default_user =
    / F4 X( f7 o6 f5 k" i0 d

  1171. 5 s1 _& O3 w/ P; u9 M7 Q7 B7 G) Q
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    6 _$ w8 [+ \8 c' @& G
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    # m0 }8 U9 \* p. E
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    5 R. [" U% \" ]
  1175. ; and reveal this password!  And of course, any users with read access to this- h8 q, [) ~' \% s' v+ ?3 i3 z1 Q+ H
  1176. ; file will be able to reveal the password as well.& V! i1 X( m9 W) s( z
  1177. ; http://php.net/mysql.default-password2 k4 y3 I  ~! b: k- V
  1178. mysql.default_password =5 J1 I, |. |7 d* Q& H

  1179. , e: C8 m3 d% c7 t- y4 z9 k" C9 l1 i
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    - V# C8 z: X3 Z, ]& d1 D& Y) m4 {4 R
  1181. ; http://php.net/mysql.connect-timeout8 @1 h' L! {# T" z4 w- ]8 U8 P: ]
  1182. mysql.connect_timeout = 604 [( y: g: v: l+ M
  1183. 7 U6 C6 G* r; X8 Y* _5 ~# L
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
      Q: |7 D1 ^# {
  1185. ; SQL-Errors will be displayed.
    1 b( y, O9 [" u% V4 e
  1186. ; http://php.net/mysql.trace-mode  {: P! g% {8 l% x' N, k+ G
  1187. mysql.trace_mode = Off
    ; U1 X9 T) [' K& C! Z' s( o
  1188. # r" |9 k- s) A9 Y
  1189. [MySQLi]
    : \+ C1 y1 x; g/ T/ K
  1190. ' U2 z* t0 C( ~/ A8 J# }0 G
  1191. ; Maximum number of persistent links.  -1 means no limit.
    , n) ?) P  ~- f
  1192. ; http://php.net/mysqli.max-persistent
    0 [, m, |  \$ s" w! H6 l  a* d
  1193. mysqli.max_persistent = -15 m# b: R* U4 u9 [/ H) u! y/ s
  1194.   V+ I$ x+ z% }' l! z
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    4 p/ e0 J: T: \
  1196. ; http://php.net/mysqli.allow_local_infile+ N; G4 Z  Z+ t' m( S: }- s1 t( A% K
  1197. ;mysqli.allow_local_infile = On
    5 L& C, b/ K( W7 n
  1198. ; u* B( l: o. ^$ Z& k9 @" @$ [
  1199. ; Allow or prevent persistent links., t' i; ^! M. P, E- G1 x, c. p0 u
  1200. ; http://php.net/mysqli.allow-persistent
    3 ?! t- i9 K7 ]* `+ k
  1201. mysqli.allow_persistent = On% t5 B6 F" Z# V8 o" E! g

  1202. 7 S$ `) N9 D" u; }8 w* I
  1203. ; Maximum number of links.  -1 means no limit.# x: b5 C) O6 {& F' f& T
  1204. ; http://php.net/mysqli.max-links
    2 R' u* u& k* J  a& \  y( r
  1205. mysqli.max_links = -1
    % V0 ~$ [. t7 ]' m. P4 w! B

  1206. 2 r+ j8 K* [3 l% T. o. V* G
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    7 [, q9 P) }7 e# k. H: Q
  1208. ; http://php.net/mysqli.cache_size
    & u2 X# l6 i# H. N
  1209. mysqli.cache_size = 20009 ]# V3 J, T4 H2 d

  1210. 6 J5 c+ @5 A9 M
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use6 n0 l* `* P: p1 k5 Y4 U: K2 ~, c+ h
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the3 x' ~9 w5 O' y& \" q8 M1 g  v) B
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look; ?9 |0 p; K+ c; I
  1214. ; at MYSQL_PORT.1 r: e' U, @  {; Y# i
  1215. ; http://php.net/mysqli.default-port
    # e" z" Z; N- D: T, l) |2 e& R
  1216. mysqli.default_port = 3306! q4 ?' q: Z. ]; z# X6 Y/ B

  1217. & @! {7 j- U1 ~9 s& h5 m
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & k/ W, G4 E$ f( n
  1219. ; MySQL defaults.. }! Q' Y1 g. w( j3 `! P( m
  1220. ; http://php.net/mysqli.default-socket$ H( t7 {% o1 ], V- u
  1221. mysqli.default_socket =1 `0 O' K  h% [
  1222. : J2 s2 U2 }3 [( M" b; {# d
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).: v/ m5 b. s6 G" C2 W" J2 R
  1224. ; http://php.net/mysqli.default-host
    # w) @9 \2 P! ?  c: m1 n
  1225. mysqli.default_host =( |6 Z6 {+ Z3 C9 ~  E
  1226. * `1 k/ W) ~/ S5 N, @( E8 \* P
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    8 _- Y8 Z: B2 S$ x; j. s
  1228. ; http://php.net/mysqli.default-user
    ( v# n; c+ h  }/ J" Z& b7 b) C
  1229. mysqli.default_user =
    " V7 D8 J! z4 n! n
  1230. 2 A# ~  s* |, ]& J  M! n& t- {. U
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).5 e! p$ i: X* w& w# @
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.7 G7 v! m6 U; I
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    % N$ B# H$ U) @: z/ R
  1234. ; and reveal this password!  And of course, any users with read access to this4 I. x* x9 k8 C9 N: V3 h
  1235. ; file will be able to reveal the password as well.
    4 c: P4 }. ~/ H4 {
  1236. ; http://php.net/mysqli.default-pw
    % H8 V& C2 l  \1 H/ M$ Q, L
  1237. mysqli.default_pw =% w% M' ]$ x- q, g* h% y3 @9 b
  1238. 9 m) c% V& F7 i6 T
  1239. ; Allow or prevent reconnect
    5 e4 I# f* n% S+ Y
  1240. mysqli.reconnect = Off
    , j" G( Y6 k: A' n8 S; r
  1241. 1 p( p/ L/ o6 V2 Y1 ^# `/ j4 v8 j
  1242. [mysqlnd]$ D4 v2 ^7 y3 L0 h
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be! `  s! @* W% }/ j; w" M
  1244. ; used to tune and monitor MySQL operations.
    - Y! c! i6 ^2 s4 }
  1245. ; http://php.net/mysqlnd.collect_statistics+ g8 G2 o1 ]5 L- e
  1246. mysqlnd.collect_statistics = On
    ! M' @. E1 d+ q# l- I2 T5 K
  1247. 2 @# j1 z/ F  {  a  w  {- |7 H
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    + ?0 {7 R" H. q' D
  1249. ; used to tune and monitor MySQL operations.
    3 F  u6 r# I$ H: P
  1250. ; http://php.net/mysqlnd.collect_memory_statistics" t- l3 e3 \# s) a. n- P* R
  1251. mysqlnd.collect_memory_statistics = Off
    * j5 c$ f" ]' a. `4 ]# q
  1252. 4 T. y7 T& U* U) m
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    0 f/ M: b4 ^2 s" w
  1254. ; file.6 w: [) m! e4 f# B
  1255. ; http://php.net/mysqlnd.debug- W4 c2 `+ `" c2 W& `  E
  1256. ;mysqlnd.debug =. d9 u9 |9 T- `9 T/ z

  1257. 5 `1 S" O: j8 P- ^
  1258. ; Defines which queries will be logged.$ [$ {6 T$ }  P9 @
  1259. ; http://php.net/mysqlnd.log_mask) {* S: t7 x* ]9 H% }
  1260. ;mysqlnd.log_mask = 0
    ) K6 U( X7 j1 `5 W* M

  1261. # F, J* o% W* Q" U
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.5 o2 ]  K& X" l- ?2 I
  1263. ; http://php.net/mysqlnd.mempool_default_size
    ' _2 o! r' J; i$ K! w# u5 J
  1264. ;mysqlnd.mempool_default_size = 16000' ^6 A' u$ z- [! S+ K
  1265. ) Q0 g$ n9 ~( k: q( z
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    * `/ Q8 u) T4 W! f
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size: ]: i3 k# J6 f) I7 w! f% }6 V# D
  1268. ;mysqlnd.net_cmd_buffer_size = 20483 Y- a6 G) y, G, z, x

  1269. & V3 V# S/ f& }
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    # E& U2 z4 v, _4 C
  1271. ; bytes.4 R# \4 O+ T& w2 o
  1272. ; http://php.net/mysqlnd.net_read_buffer_size6 J9 K! i0 ^/ i, ^
  1273. ;mysqlnd.net_read_buffer_size = 32768/ V) p$ I6 G; @* X
  1274. + a; {# c9 E- W' |* b4 E, R+ P
  1275. ; Timeout for network requests in seconds.& \- R# G4 u( i6 F# y) P
  1276. ; http://php.net/mysqlnd.net_read_timeout
    & B1 {; S7 H4 I7 t
  1277. ;mysqlnd.net_read_timeout = 31536000
    4 o7 H! M7 q5 N1 O
  1278. $ g; K3 e% ~6 y5 x) z0 ~* e
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA) g2 `7 B+ t# H' @7 _. Y" U
  1280. ; key.
    ; f8 L* s) {0 x6 z& e* H
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ! w4 u2 S) T: b$ E
  1282. ;mysqlnd.sha256_server_public_key =$ A5 c0 R* W/ A

  1283. ) S7 n3 h) w0 P* Q8 v
  1284. [OCI8]  P! P+ h) ~5 I% @: Z* `

  1285. 7 R! P  b+ G1 d2 k8 c& U2 S0 l
  1286. ; Connection: Enables privileged connections using external6 O, x7 R7 Y7 X$ A
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ! ~( d+ ?* D9 c2 m% x
  1288. ; http://php.net/oci8.privileged-connect
    5 A$ n) `' S# \3 p- F
  1289. ;oci8.privileged_connect = Off2 D+ w  D* U2 Z9 p: K" P

  1290. 4 W8 b  k% @- G) K3 d
  1291. ; Connection: The maximum number of persistent OCI8 connections per$ j, M' D$ P4 L* ^+ B7 W
  1292. ; process. Using -1 means no limit.$ P) @4 G# n1 b4 ?5 m
  1293. ; http://php.net/oci8.max-persistent
    $ F( e& M$ `% k3 u4 ]: G: U
  1294. ;oci8.max_persistent = -1
      d. S% G+ j3 U$ E+ U

  1295. " u- S5 N& O1 F# f. k* Z
  1296. ; Connection: The maximum number of seconds a process is allowed to+ [. w& ~. [& h/ w) s
  1297. ; maintain an idle persistent connection. Using -1 means idle
    4 w9 Y  O' v$ q9 e
  1298. ; persistent connections will be maintained forever.! w8 X% F: C7 d
  1299. ; http://php.net/oci8.persistent-timeout
    ! Q! a7 {* e+ v* ~8 N
  1300. ;oci8.persistent_timeout = -1$ I+ @( _; O3 Z& [0 M! u

  1301. 8 z  J- X' l8 ^& q. H) |, u( e$ y5 }3 B
  1302. ; Connection: The number of seconds that must pass before issuing a) p' V' E/ C- m& N: o* E. a
  1303. ; ping during oci_pconnect() to check the connection validity. When0 l% x% j8 r5 n" L" ?2 Y3 ^8 H
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ( o0 q+ i/ C1 N. T2 c7 m% k: Q8 T
  1305. ; pings completely.3 O9 K* S: }* Q% l: Y
  1306. ; http://php.net/oci8.ping-interval
    + y- ?8 c6 U' a' L
  1307. ;oci8.ping_interval = 60
    ; L! ]' q: w( @' Q

  1308. ! t" ]; L' S& X: h3 t, o2 }9 S
  1309. ; Connection: Set this to a user chosen connection class to be used& n! P  y' S6 c( `4 A. |  F
  1310. ; for all pooled server requests with Oracle 11g Database Resident, B! s, L# E, h+ \6 j% C! y2 w$ T
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ( D; F" q0 t' k. D. d
  1312. ; the same string for all web servers running the same application,
    2 X0 Y0 D' C' A" p8 ^  R) X
  1313. ; the database pool must be configured, and the connection string must
    " q- a2 W) Q# a" A
  1314. ; specify to use a pooled server.
    , r5 J8 e4 |4 U" a; w
  1315. ;oci8.connection_class =
    # H) }3 [- ^4 q
  1316. 8 F) @# `1 [4 U; _
  1317. ; High Availability: Using On lets PHP receive Fast Application
      q7 I1 I* o& d5 p, M* U
  1318. ; Notification (FAN) events generated when a database node fails. The8 H  [: d; e6 w
  1319. ; database must also be configured to post FAN events.( a* T/ V5 U2 p  n& ]
  1320. ;oci8.events = Off' P6 h3 {- \( u! {% I

  1321. 4 a# \& H+ q; ^
  1322. ; Tuning: This option enables statement caching, and specifies how5 y2 _+ f5 S2 [8 c
  1323. ; many statements to cache. Using 0 disables statement caching.
    " W2 [9 d9 q& l" o
  1324. ; http://php.net/oci8.statement-cache-size8 X% ]: |0 J9 R1 H
  1325. ;oci8.statement_cache_size = 203 g6 k1 [5 @6 w5 G7 R
  1326. - u" X$ q+ Z6 U7 g) r6 l
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    + [7 O; |" Q) K
  1328. ; rows that will be fetched automatically after statement execution.
    . d0 T3 o6 l1 Y. c  a  _3 T) q
  1329. ; http://php.net/oci8.default-prefetch2 k  Y: A$ l6 A
  1330. ;oci8.default_prefetch = 1004 q( t; c' I7 a  L5 ?
  1331. # T3 W; U& s2 i! `/ ]5 I1 r- H8 c
  1332. ; Compatibility. Using On means oci_close() will not close. o/ {2 H8 |- N; y
  1333. ; oci_connect() and oci_new_connect() connections.
    # V. T1 j" m1 M, x' Z
  1334. ; http://php.net/oci8.old-oci-close-semantics2 X) p: ]4 p# o
  1335. ;oci8.old_oci_close_semantics = Off' X- L7 E4 K* h4 P7 R; \
  1336. 2 H5 n) j. O) O9 |
  1337. [PostgreSQL]: i6 b# K2 K/ V* [" s, k; B
  1338. ; Allow or prevent persistent links.' ?9 p6 T% }$ ]7 V3 V/ X0 |  Z
  1339. ; http://php.net/pgsql.allow-persistent
    2 i+ y  f- ~+ l& Q- Q# A
  1340. pgsql.allow_persistent = On
    9 m/ v) c: \8 H3 O0 _4 y7 J6 ^' _
  1341. " i- K( J! G/ z* B& C7 |+ x/ ]# a
  1342. ; Detect broken persistent links always with pg_pconnect().& p% N$ Q4 j+ Q9 |8 b) M9 b
  1343. ; Auto reset feature requires a little overheads.4 H& h& V; B8 X# h$ ?
  1344. ; http://php.net/pgsql.auto-reset-persistent5 C9 t% V8 Y! F3 i0 e$ Q$ q- f
  1345. pgsql.auto_reset_persistent = Off
    . W2 Z& m% ]" ~# j0 }. }# K; y

  1346. $ v5 y! G: U, g0 U
  1347. ; Maximum number of persistent links.  -1 means no limit.3 C: l. G4 q& Q) s
  1348. ; http://php.net/pgsql.max-persistent1 K! W! V% w6 c3 s
  1349. pgsql.max_persistent = -1
    # s3 e, _( d& D5 t
  1350. - v( O; y  g& l8 s! R2 _) a2 N
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    % v7 P7 A/ j! O, u
  1352. ; http://php.net/pgsql.max-links
    $ Y- z9 C$ s: W. R; u
  1353. pgsql.max_links = -1& Z! }6 B. r  z" n/ i

  1354. 6 V$ f$ u& x1 |0 I! g$ u9 O
  1355. ; Ignore PostgreSQL backends Notice message or not.
    / o/ o6 `2 [0 n( }
  1356. ; Notice message logging require a little overheads.
    % l5 D: t7 C0 x0 `
  1357. ; http://php.net/pgsql.ignore-notice2 {8 F8 h4 M; u2 H% S3 l; T/ X
  1358. pgsql.ignore_notice = 09 Y7 A: \7 H- Q* n$ g- m1 i, b
  1359. : g; e0 [) C/ B
  1360. ; Log PostgreSQL backends Notice message or not.
    % |' Y3 ]& C* K  W* @$ H1 X
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.! t8 j. N$ W/ H5 n. _- F
  1362. ; http://php.net/pgsql.log-notice. U* a. L% @% Q
  1363. pgsql.log_notice = 06 c9 @* o, t( |
  1364. 0 t: x" |- f5 p- d: ]6 k: f
  1365. [Sybase-CT]7 z% z% ^! ~+ Q! ^7 j
  1366. ; Allow or prevent persistent links.  f- r6 ?1 c( y  x7 l; M% N3 W+ H
  1367. ; http://php.net/sybct.allow-persistent
    * D3 ^, Q( N- h( w3 N" D
  1368. sybct.allow_persistent = On
    2 Z- K; ~( |+ h" |: G) v, R

  1369. # X5 `) |( b3 G) L  B
  1370. ; Maximum number of persistent links.  -1 means no limit.5 V4 V' P; M. F# i( {" b
  1371. ; http://php.net/sybct.max-persistent1 z; I/ C! N3 s' H9 Z1 Q# r
  1372. sybct.max_persistent = -1
    ! [6 U5 I) K/ I, h- e  Q' x- m5 b

  1373. . U$ v/ d6 ?. m- A. q! l
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ! G: h6 c' s8 y- r" t: `
  1375. ; http://php.net/sybct.max-links
    : a3 a" k/ |4 b* M8 `4 S' }
  1376. sybct.max_links = -10 r, V# u! i3 Y% t
  1377. ( I  m' O5 Z- [6 {
  1378. ; Minimum server message severity to display.4 d2 I- r7 p/ f6 @
  1379. ; http://php.net/sybct.min-server-severity. c! {* P1 r+ ?  ~% b
  1380. sybct.min_server_severity = 10
    % ]& F; D" k! Q, Q
  1381. 1 N  c. p8 v7 p/ t/ ?
  1382. ; Minimum client message severity to display.  e9 M$ M+ c3 m& J. X# H' L
  1383. ; http://php.net/sybct.min-client-severity
    6 j2 Z4 N- A2 f
  1384. sybct.min_client_severity = 10
    $ w. I  a( R; {. H; C; Q
  1385. ! |7 r0 j4 Z( l  m3 g: g7 U
  1386. ; Set per-context timeout% \1 R/ Z( [. h3 x( L- `6 @4 I
  1387. ; http://php.net/sybct.timeout
    ; O/ C/ t, m$ I2 i- T2 O; Q
  1388. ;sybct.timeout=- a4 q: f; H2 H1 A- }
  1389. 2 x0 W* f! v  }; g0 ~8 }
  1390. ;sybct.packet_size
    ' w: c! o# E% ^3 F
  1391. , e7 ~8 L; i: t
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    , o) V: P+ a* q6 D, l; f
  1393. ; Default: one minute$ v. ~8 ]: j/ W# ~
  1394. ;sybct.login_timeout=% Y: y8 n6 j/ A. q: b7 G# u
  1395. ! G: u  u. a5 S
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ; \0 l# p* Z3 e; G2 n% w+ ~: }8 l* A
  1397. ; Default: none( C3 E, P: y4 e% _2 g
  1398. ;sybct.hostname=2 {8 X& G1 A) e+ w* b
  1399. : Y1 B. k, W3 G7 L( p; z
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    8 w# v( S$ k7 ~) v
  1401. ; Default: 0. G& a+ S6 z# V0 I1 s6 n
  1402. ;sybct.deadlock_retry_count=6 h$ V* e; q7 q' Y2 n

  1403. . P! y, {0 w9 j7 }: N2 i$ a
  1404. [bcmath]
    ! ?* B8 H8 T$ ~- s, B% e
  1405. ; Number of decimal digits for all bcmath functions.3 e1 Y& z/ p0 S8 u* t
  1406. ; http://php.net/bcmath.scale! O/ n) m, F9 _# }7 o
  1407. bcmath.scale = 02 Z; l; ]  e* [1 r7 ]0 O. ~, n% ]
  1408. 4 o& g- R3 n2 N  D
  1409. [browscap]
    ; D5 P4 [0 R: \+ ~3 B5 q8 L4 E
  1410. ; http://php.net/browscap5 x( \1 r  Z) B. n# p) N2 g
  1411. ;browscap = extra/browscap.ini
    & }: H$ w, E! a5 M0 E; }
  1412. # }8 S& d! g% p0 c
  1413. [Session]
    2 }. ]# D7 u& q8 f' F% e% {6 M
  1414. ; Handler used to store/retrieve data.* c, e+ ]9 p- Y9 ]! }
  1415. ; http://php.net/session.save-handler
    0 q! i. h1 r# R8 p) S" H
  1416. session.save_handler = files
    : G/ n" d  u1 y5 s. i4 d

  1417. # r5 f) K" h# ?/ f; r1 n
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    ! K% j: V8 @+ c' X5 O
  1419. ; where data files are stored. Note: Windows users have to change this
    8 t5 @, ^( S$ j7 F3 r2 v. w. w
  1420. ; variable in order to use PHP's session functions.
    ; }+ x) _1 T3 f8 x% B" `
  1421. ;5 C6 C! y7 z: Q  h+ R1 p: g/ g
  1422. ; The path can be defined as:2 n- ~4 l3 X- |3 }
  1423. ;
    " S0 U- s; F1 S. B
  1424. ;     session.save_path = "N;/path"
    0 s$ M+ ]6 z( q  I% Y' v
  1425. ;
    & ], B5 |+ a# J( ?2 x
  1426. ; where N is an integer.  Instead of storing all the session files in
    $ s- m: B) X) m. L# @$ [, D/ Z: o
  1427. ; /path, what this will do is use subdirectories N-levels deep, and* ]9 Q2 d! P0 t
  1428. ; store the session data in those directories.  This is useful if
    0 F0 o0 {  o3 V0 g# n. Z1 y  s( o
  1429. ; your OS has problems with many files in one directory, and is
    ! w. z! d; K- E  Y+ P
  1430. ; a more efficient layout for servers that handle many sessions.
    $ J9 G6 P6 z( a8 j2 M
  1431. ;
    9 k" H! V0 ]& p! P' v
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    : }* h9 x+ Y3 n7 t& X; s. |$ |: y
  1433. ;         You can use the script in the ext/session dir for that purpose.  p6 X( X# G; @& R3 B: [
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    0 a, l: J! i: A
  1435. ;         use subdirectories for session storage
    7 G% }( I5 x. O; Y& P* J$ x
  1436. ;
    # [3 V9 M9 [4 O2 H0 _
  1437. ; The file storage module creates files using mode 600 by default.% z( T: ]1 X) O; Z
  1438. ; You can change that by using
    9 \9 m# z$ h4 u# z/ U( A# W
  1439. ;
    ' V6 F' d$ f& L
  1440. ;     session.save_path = "N;MODE;/path"( [  N' A0 c9 B  K! F
  1441. ;
      ]* ]9 Q/ t6 _( c9 k2 i2 t+ E
  1442. ; where MODE is the octal representation of the mode. Note that this' l1 H8 G! f0 |
  1443. ; does not overwrite the process's umask.
    . T6 y2 U5 [4 [  K/ B
  1444. ; http://php.net/session.save-path
    % a4 H9 m/ B' H5 b
  1445. ;session.save_path = "/tmp"
    1 t2 D/ n+ Q6 Q/ w  o7 I) [' |1 w

  1446. : T4 I* @( R! a1 s" S
  1447. ; Whether to use strict session mode.: v( ^" H6 J0 J7 I, d& F/ a
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate; Y7 N2 Y  q* e8 i. ^$ k: t0 x
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects+ D. O  Q; ^. y' n. [
  1450. ; applications from session fixation via session adoption vulnerability. It is
    3 e& O7 s  q4 q$ U* h1 q( _% n3 x
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.1 x4 c+ ~$ @+ ?7 g! G- `) e. I  ?
  1452. ; https://wiki.php.net/rfc/strict_sessions" E( d* ?5 }: ?) C
  1453. session.use_strict_mode = 02 }! r3 i$ z- K' D4 H6 @5 T
  1454. + _+ p0 K! x% i/ a5 q
  1455. ; Whether to use cookies.
    ! j9 {! K% g/ b! Y- l$ W) |
  1456. ; http://php.net/session.use-cookies
    $ I  t# D5 k, W6 B' \) Y
  1457. session.use_cookies = 1
    0 h4 ]" N3 V- A
  1458. # s; f9 B3 D$ I
  1459. ; http://php.net/session.cookie-secure
    8 X! K; m; V+ s- ?! j: {
  1460. ;session.cookie_secure =
    2 n) P* E+ M- {! _1 j' T. c& ?
  1461. 8 b9 L6 y+ E# w' ]! ^  k( v
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining9 P' u# v: P1 Y& u7 x  v
  1463. ; the session id. We encourage this operation as it's very helpful in combating' e9 L$ t9 J+ r
  1464. ; session hijacking when not specifying and managing your own session id. It is
    % e% c  r& N( M/ ?
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.* P# h+ f( s* Q. s& e
  1466. ; http://php.net/session.use-only-cookies) V; n5 ~: V; `0 X, k; B' n4 t
  1467. session.use_only_cookies = 1
    / y1 }' q% S$ N) W
  1468. 7 t& b: a% n) j# O4 _4 l3 Q
  1469. ; Name of the session (used as cookie name).% P2 T/ {! k0 |6 q! k4 |
  1470. ; http://php.net/session.name( N  I6 c1 L% P, u
  1471. session.name = PHPSESSID+ v' A) |6 q4 E! P

  1472.   d9 Y9 E; ^8 E
  1473. ; Initialize session on request startup.
    3 h+ \! l1 `4 i- f/ o4 u; B( p4 G
  1474. ; http://php.net/session.auto-start
    - r3 K1 Y; b. ~* @* s; u6 r4 o
  1475. session.auto_start = 0
    5 Q* f; P* |2 q3 I  ~& R' ~5 m

  1476. & {7 R; i) ^; w2 g. q- _
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    9 C/ I+ s& Y: A& k$ t1 o
  1478. ; http://php.net/session.cookie-lifetime# v7 a  _; g' X3 K' K
  1479. session.cookie_lifetime = 07 U5 b, j# E3 y# y0 S

  1480. ( t* c8 Q( z! u% \2 w/ g" t% v
  1481. ; The path for which the cookie is valid.# L" x! h+ N8 v; T
  1482. ; http://php.net/session.cookie-path6 Y% M; Z  q( I" e! D  }$ C( q6 @
  1483. session.cookie_path = /
    % O7 c/ Y7 g" D8 z8 L  }

  1484. - y  f5 H# G8 P: B8 F
  1485. ; The domain for which the cookie is valid.$ E6 n# c( ?4 X7 i
  1486. ; http://php.net/session.cookie-domain8 x6 b& t! R2 a! q
  1487. session.cookie_domain =6 Z, H4 y( A0 w
  1488. 2 N  J+ Y! q0 k  m4 z
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    5 j/ F2 F, q9 _! h
  1490. ; http://php.net/session.cookie-httponly& M- C* r* p& t" h
  1491. session.cookie_httponly =
    7 j( |) K+ H# Q  v- u
  1492. 5 }& l) R; ^; t# B3 U5 g6 N
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.- x" G, X5 W/ w/ I
  1494. ; http://php.net/session.serialize-handler! Y- F" P5 n# K# N( P: p5 }  U# M
  1495. session.serialize_handler = php
    ) G+ V1 y7 C0 e

  1496. ; F8 d7 g* {% E( G% z
  1497. ; Defines the probability that the 'garbage collection' process is started9 e9 ]! x, r% w, {
  1498. ; on every session initialization. The probability is calculated by using# I' X' {6 k( ]2 P0 ?; f
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    * p& f9 f- T8 p  O/ }5 ^+ d7 Q9 ]
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1( `3 H4 ]9 k( n6 I! z7 f; o5 f
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    % u2 p2 [# ]" ?8 y/ [) v
  1502. ; the gc will run on any give request.' j; P" q/ f0 i, {
  1503. ; Default Value: 1. i7 }3 W& k0 l4 |
  1504. ; Development Value: 1+ D3 U  `7 J2 C, ]
  1505. ; Production Value: 13 {3 e% [1 k4 o& F- y
  1506. ; http://php.net/session.gc-probability
    ) q, M8 o& V$ b* W
  1507. session.gc_probability = 1
    6 I& s/ _0 H0 z& l

  1508. ; t' t8 I  I! y; J( q
  1509. ; Defines the probability that the 'garbage collection' process is started on every6 a" `6 H! p8 P& w. I: l
  1510. ; session initialization. The probability is calculated by using the following equation:
    5 p$ y0 c: Q! j) S
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    * [% ?- G8 l) H
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    $ e8 O8 e/ u# m& P9 {9 ?
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance' T# O+ F, M( c! V* r
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    : D! w! n0 A! [8 e( W" Q
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ; _# `% e. ^9 r3 H" o
  1516. ; this is a more efficient approach.7 I! o9 p2 @/ j, ?  _3 G0 W
  1517. ; Default Value: 100& s2 _6 m) U6 H% T8 f
  1518. ; Development Value: 1000
    7 O! q% u/ ?8 t4 A$ a/ h
  1519. ; Production Value: 10009 `2 O6 }" r0 y) Q$ P5 F! K: d8 A
  1520. ; http://php.net/session.gc-divisor
    & n5 y. K4 P' g5 }/ y# V
  1521. session.gc_divisor = 1000
    ( o; F2 C1 s# \" q1 ^% e. {
  1522. 2 M3 f* [. t2 V( J3 L
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and5 T* e' k* a5 {6 B5 r
  1524. ; cleaned up by the garbage collection process.: k9 }) k- _1 p5 R
  1525. ; http://php.net/session.gc-maxlifetime
      ]# ?3 a4 U( L: p
  1526. session.gc_maxlifetime = 1440  e. `0 Y% j! i
  1527. , D# c& f% u" j+ _9 ]
  1528. ; NOTE: If you are using the subdirectory option for storing session files' ?! S' H+ Y6 M0 g& U. O
  1529. ;       (see session.save_path above), then garbage collection does *not*5 Q4 J+ v0 j* e
  1530. ;       happen automatically.  You will need to do your own garbage
    / ?/ h, v7 X- A  w
  1531. ;       collection through a shell script, cron entry, or some other method.
    , L! c" g8 Q' d9 x
  1532. ;       For example, the following script would is the equivalent of
    1 i( X6 M0 @; ^5 ^0 ~
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    + s; l4 f$ d# P1 _) Q4 }: T
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm; U- m6 @8 L1 F: y

  1535. 4 t) A9 z$ s) y( ?+ e
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.0 ^" Y& r7 i3 _  o, E
  1537. ; HTTP_REFERER has to contain this substring for the session to be
      Y2 b" A. n( U) a2 G, {" C, p
  1538. ; considered as valid.
    6 S" {8 ?1 F! s. g
  1539. ; http://php.net/session.referer-check
    $ T6 c4 |/ T- C4 i) [1 ~
  1540. session.referer_check =- C) r' v5 X7 k, j
  1541. * b0 u6 s0 J' N, b* W
  1542. ; How many bytes to read from the file.
    $ G' I0 g. V( Y" u
  1543. ; http://php.net/session.entropy-length
    ' m1 r* s0 n. s+ O5 u
  1544. ;session.entropy_length = 32; X! ~* O$ s8 ]6 l& i! ^( y$ d( v( H
  1545. 5 o5 p/ J5 n1 j/ k4 n
  1546. ; Specified here to create the session id.
    ( N! ]% i- }" U
  1547. ; http://php.net/session.entropy-file
    ! g. ^1 T8 a5 N4 X6 U9 u. v, s
  1548. ; Defaults to /dev/urandom2 {' ^/ O7 e2 [; [' ^
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom/ Z# G/ s4 X0 i! ?% r
  1550. ; If neither are found at compile time, the default is no entropy file.
    4 r* B4 v- C* S* d2 }7 }& I
  1551. ; On windows, setting the entropy_length setting will activate the
    7 _& s# K$ r7 E8 y6 ^
  1552. ; Windows random source (using the CryptoAPI); t; k; F' ?" x1 R1 M. t! Y
  1553. ;session.entropy_file = /dev/urandom
    ( m8 C' \& i7 t! O& o3 a1 D( Q

  1554. ) D/ g  N+ }3 u0 }/ ^" M
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects+ T7 f$ d# Z2 [- T$ Z
  1556. ; or leave this empty to avoid sending anti-caching headers.6 r, E  q2 |1 v: o
  1557. ; http://php.net/session.cache-limiter0 Y- Z8 V6 n' D% H# e  |
  1558. session.cache_limiter = nocache
    " f8 Z/ J& a4 P2 k& F
  1559.   Y/ t: i7 U  ?, u& g7 D8 Y3 d
  1560. ; Document expires after n minutes.1 |. a4 g. {8 a0 \
  1561. ; http://php.net/session.cache-expire& c4 e9 \2 p' R
  1562. session.cache_expire = 180
    , Y3 d' P0 Q3 B0 P* O' m( x' V

  1563. 0 ~2 l3 V+ p' j5 c# b( J& T+ ?
  1564. ; trans sid support is disabled by default.
    ' ~! m5 }7 X3 k$ L0 K; W/ C. P: N
  1565. ; Use of trans sid may risk your users' security.0 X' Q: l0 p/ _. _  ^8 Z
  1566. ; Use this option with caution.+ l& @+ P4 n4 X0 P6 K1 U4 {6 F
  1567. ; - User may send URL contains active session ID6 D& @. D# g# T' O
  1568. ;   to other person via. email/irc/etc.
    ) R! q7 ]1 k: m
  1569. ; - URL that contains active session ID may be stored8 ]2 F' M% c, a4 S2 s) a
  1570. ;   in publicly accessible computer.4 T0 u! w/ Y) l+ F6 @3 ^+ O: D
  1571. ; - User may access your site with the same session ID, Z% x' ?3 {5 U% t) X
  1572. ;   always using URL stored in browser's history or bookmarks.
    . y/ {' k7 @- X- X) O$ g" M
  1573. ; http://php.net/session.use-trans-sid! p. ?4 H4 Q3 _7 W
  1574. session.use_trans_sid = 0
    - j- U" B# ^$ D) N, y; f

  1575. 1 q3 \- V4 V% B; i: G
  1576. ; Select a hash function for use in generating session ids.( R. J% y& z& M/ M
  1577. ; Possible Values
    $ a' }! f2 k4 r; s. _- F! t
  1578. ;   0  (MD5 128 bits)
    . G/ }. a! ?; V
  1579. ;   1  (SHA-1 160 bits)
    / y7 E1 t7 N) j5 a8 h) C" p1 g
  1580. ; This option may also be set to the name of any hash function supported by
    8 e5 Q' }! }6 T0 S" ~+ J) @
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(): e- k: C8 F/ v; L3 \
  1582. ; function.
    ; G* f$ B1 C# c5 Z" U
  1583. ; http://php.net/session.hash-function
    + `4 f9 ]* C6 l7 x5 \
  1584. session.hash_function = 0; z  S  f! b8 j: b! a2 \& v

  1585. ' j  P, Z' Q  }* O: B! u
  1586. ; Define how many bits are stored in each character when converting
    ! ]7 h, n* [; j1 V) m" a& N" Q- o
  1587. ; the binary hash data to something readable.) J' v1 ?$ x% v" ?+ N  c5 e8 [
  1588. ; Possible values:4 o' I3 ?; B6 E) c
  1589. ;   4  (4 bits: 0-9, a-f)/ `8 v* B' ?9 f, L' ^) D
  1590. ;   5  (5 bits: 0-9, a-v)
    * b* ]2 Y9 I) y7 X
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    / S9 Q* l# ^2 x% r" W
  1592. ; Default Value: 4
    / b6 ?# W0 y5 v. |3 [7 b' l
  1593. ; Development Value: 59 E/ c8 P) ^; d* p
  1594. ; Production Value: 57 P$ r& ~+ A, V
  1595. ; http://php.net/session.hash-bits-per-character4 d+ T- i8 U. e- c# N& H& r
  1596. session.hash_bits_per_character = 5$ g8 b& @0 w5 ^
  1597. : Z  s3 O6 w8 g
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.& a9 t; G7 `3 @' o6 {4 i
  1599. ; form/fieldset are special; if you include them here, the rewriter will# e1 E% T9 N1 z
  1600. ; add a hidden <input> field with the info which is otherwise appended; N1 C; p2 u. F( t# R
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.3 ?; u% R1 y5 J1 v
  1602. ; Note that all valid entries require a "=", even if no value follows.2 ^6 }2 O/ |$ B7 b3 `
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="3 d. S- g) M4 I5 @2 O, C! U: L
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 Q. h8 w5 g8 d3 c% m
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 I" z( s4 J# j2 r. T
  1606. ; http://php.net/url-rewriter.tags
    7 \0 s0 o- j! n" A3 [3 h
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"& c  j+ [; P, h; w- f

  1608. : a6 O. R9 {# S( P
  1609. ; Enable upload progress tracking in $_SESSION
    5 O5 S# l8 n6 Q5 x; D7 w0 ?& H: a
  1610. ; Default Value: On
    ! @7 @% u0 c- ?5 s& n6 Y% g
  1611. ; Development Value: On
    * j% B( b) |, k: j$ z( {+ b: M  C
  1612. ; Production Value: On9 k7 y4 ~1 \+ u4 G2 [8 Z
  1613. ; http://php.net/session.upload-progress.enabled& s- S+ a4 x9 o
  1614. ;session.upload_progress.enabled = On2 \+ ~2 Q/ k" i0 B

  1615. 4 B- b' q- w% C
  1616. ; Cleanup the progress information as soon as all POST data has been read; g7 d' V7 Z9 s1 T7 h9 y3 g
  1617. ; (i.e. upload completed).# Q9 c# I4 I/ v9 ]" ~4 O
  1618. ; Default Value: On0 w# C" A' h5 i. \! N8 U) Q8 I
  1619. ; Development Value: On- N* G" `, [" E6 B# o7 J; h8 m6 P
  1620. ; Production Value: On
    2 _  m' I# o: t( ?2 z( W, j
  1621. ; http://php.net/session.upload-progress.cleanup
    4 r. I7 t! ^6 u8 |
  1622. ;session.upload_progress.cleanup = On- {# [' Y5 t& x" }4 A* s( @1 ^
  1623. 1 \  S0 r& a) N+ A, F% \
  1624. ; A prefix used for the upload progress key in $_SESSION
    % c% g: t# x3 }2 W  q, q" ?
  1625. ; Default Value: "upload_progress_"
    " u( L. S3 l+ D9 y  ^  |' C/ W2 `8 D
  1626. ; Development Value: "upload_progress_"! Q9 B" F1 a# ?% l
  1627. ; Production Value: "upload_progress_"
    # G$ g2 M: N) Y& w9 S
  1628. ; http://php.net/session.upload-progress.prefix: S/ v( g$ w8 G% C/ V5 K( E
  1629. ;session.upload_progress.prefix = "upload_progress_"1 X3 P" Y4 K/ k1 o4 b, j* {9 s5 }
  1630. % c3 ~! G; c  f+ V0 X5 f
  1631. ; The index name (concatenated with the prefix) in $_SESSION2 G6 y$ M" q; ^4 I+ ^6 z
  1632. ; containing the upload progress information  e/ P5 @+ a9 W( o4 `
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) S) ]! J! ]+ |- U
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 V8 r' ~1 l/ ]
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    6 ]8 g! D  I8 G
  1636. ; http://php.net/session.upload-progress.name+ y/ e0 G2 y( ^* U
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"- X/ N3 A3 O9 }9 r7 t/ }5 |4 S& L
  1638. . x# A( c* E# M0 h; k% Z
  1639. ; How frequently the upload progress should be updated.) c) {# i& I4 ~
  1640. ; Given either in percentages (per-file), or in bytes; |$ n$ m8 K7 W& J% W8 i, G9 J# U
  1641. ; Default Value: "1%"
    1 E9 F. q; [& [0 g6 ?2 i$ c
  1642. ; Development Value: "1%"
    + B7 Q: G# J& b" _7 X6 u
  1643. ; Production Value: "1%"
    + F7 n- D6 O8 r& j6 M
  1644. ; http://php.net/session.upload-progress.freq
    & A, s$ k3 W! i' N
  1645. ;session.upload_progress.freq =  "1%"
    . f9 ~2 O6 v" l0 W1 A1 {) W, o3 `

  1646. , D5 N) {" x0 Y( L
  1647. ; The minimum delay between updates, in seconds7 q5 ]7 n+ P) r; |/ D# y
  1648. ; Default Value: 1
    ( J; C) }1 ?! b# u# \+ A- Z/ u( l
  1649. ; Development Value: 1* |+ @9 m! F" |3 D# s9 b9 F! O
  1650. ; Production Value: 1
    6 E. b$ L2 @3 F
  1651. ; http://php.net/session.upload-progress.min-freq# M" C$ L8 O  a: L1 z  ?; Y
  1652. ;session.upload_progress.min_freq = "1"
    + ~; @6 J) {9 K9 w% X6 p

  1653. + g% B( f  m9 U, F9 B
  1654. [MSSQL]( d# W1 \+ ]# b0 _4 r* c9 G& ^( b
  1655. ; Allow or prevent persistent links.
    " A9 g) j& E9 e$ X% c, A/ v
  1656. mssql.allow_persistent = On, B. w' ^+ q% P; [* ?! q
  1657. 1 v' _. g7 y9 Z9 V. ^$ a
  1658. ; Maximum number of persistent links.  -1 means no limit.3 x/ I: {; B2 T* w
  1659. mssql.max_persistent = -1
    . d. y+ e: C% D# a# K8 a
  1660. ! s3 B: v6 \3 D$ {! e0 n
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.' v, {& C; ]$ n( x- X2 p
  1662. mssql.max_links = -1
    1 O% x. _+ Q- S4 [4 C2 D5 T
  1663. " R' A# c+ G, v5 t
  1664. ; Minimum error severity to display.. J: X; `7 p+ r, w$ M$ L$ w
  1665. mssql.min_error_severity = 10
    , M; `( u' q$ [; j5 b/ b
  1666. ( D7 ?: I  U3 g! ^& B" V7 F+ H) A
  1667. ; Minimum message severity to display.- U' x, I! ~: t, G  H
  1668. mssql.min_message_severity = 10; E! q, C3 s7 ~4 Q$ ]0 }5 ~

  1669. 2 T) G6 o# U1 X) Q; x1 E8 A
  1670. ; Compatibility mode with old versions of PHP 3.0.# [  i/ \0 r) P/ h" W# C
  1671. mssql.compatibility_mode = Off/ V$ w0 s/ f+ g

  1672.   q; |9 f: x  D1 `% [" S8 `
  1673. ; Connect timeout* l+ X* g8 z8 u5 K: ]
  1674. ;mssql.connect_timeout = 5$ u% Q, F1 K( q
  1675.   a. ~  c' H& ~9 r, Q, e
  1676. ; Query timeout+ Q7 x" H& Y6 D( }* O5 x
  1677. ;mssql.timeout = 60  L$ u) y. W& E, O# o% q
  1678. 3 M$ ~: W$ k# J1 C
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    . i0 l) z+ n0 y# V. K
  1680. ;mssql.textlimit = 4096
    $ D2 i5 q# T  y2 {2 B! v" o/ w
  1681. 0 J! M4 m" L$ ~+ O; A
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    2 @( D6 X6 J( i! B& }( @) k( p/ w
  1683. ;mssql.textsize = 4096
    % K9 U3 R2 s* O2 J$ @: E
  1684. + ?7 o: @3 }3 A' b8 n( r8 F. P
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    % c. |, g. D. z* ~; q$ n9 K
  1686. ;mssql.batchsize = 0
    3 D3 u) q; D8 v' |! w. D$ _5 c
  1687. & H/ c1 w! b  ?; Y
  1688. ; Specify how datetime and datetim4 columns are returned# K& C  r' n& K# X' H
  1689. ; On => Returns data converted to SQL server settings" f2 B- ?5 j! V4 f/ ]
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss* y! c% l5 h: K; \0 m9 S6 b
  1691. ;mssql.datetimeconvert = On
    * R' J. l0 |; M3 y- J

  1692. 6 \# e4 [) Y) l, _
  1693. ; Use NT authentication when connecting to the server; Y3 G! x3 j. u) C
  1694. mssql.secure_connection = Off+ ^; g, V& Z0 W3 e2 C
  1695. # Q' g8 n1 `! J" R3 M4 R
  1696. ; Specify max number of processes. -1 = library default, K5 `) |9 J' F5 ]) g
  1697. ; msdlib defaults to 256 i, w# k. X5 h+ U9 ?
  1698. ; FreeTDS defaults to 4096
    ) i( ]" a0 b, i) V' F7 x
  1699. ;mssql.max_procs = -1
    8 ]1 y7 y8 t, z6 ~/ M

  1700. ! w6 N5 w! C" W& z% I
  1701. ; Specify client character set.6 _5 V4 f' d# Z% r3 f1 i
  1702. ; If empty or not set the client charset from freetds.conf is used* A1 n9 b5 Z1 y# G3 _
  1703. ; This is only used when compiled with FreeTDS3 S1 f* ~7 C" ~! p0 x8 b
  1704. ;mssql.charset = "ISO-8859-1"
    0 U# }, H0 ?/ [/ D3 k  T4 C+ p

  1705. ' ^; j$ ~4 a' R; z$ O4 k1 M
  1706. [Assertion]
    6 I7 p$ `  j5 t, Z! u
  1707. ; Assert(expr); active by default.
      e9 q  s8 T) y+ {* c" x
  1708. ; http://php.net/assert.active# j) A. z0 V# H, |8 z
  1709. ;assert.active = On
    ( M! \9 Y0 T& y

  1710. - B6 a; z9 y# a& X
  1711. ; Issue a PHP warning for each failed assertion.
    9 i9 O0 ]# C/ u" r0 e5 I$ J: ]2 z
  1712. ; http://php.net/assert.warning2 F2 T) x7 o8 `" V+ v8 d
  1713. ;assert.warning = On
    1 M8 @3 w: d$ {+ @" l1 l7 P
  1714. & R# X  w: n, r
  1715. ; Don't bail out by default.
    7 R% [0 k9 w5 s4 V& `
  1716. ; http://php.net/assert.bail; B- i; B6 L# e% t5 S
  1717. ;assert.bail = Off
    # K! }- _( z6 Z, |/ K

  1718. & ]7 g, H; I$ }" R# n; p1 {
  1719. ; User-function to be called if an assertion fails.5 u2 p5 ?: ^: d8 ]4 B
  1720. ; http://php.net/assert.callback
    9 m; J- W9 l9 |7 V
  1721. ;assert.callback = 0( B' G+ Y/ ], w' t& b2 H- ^
  1722. & P3 n9 {6 Y0 x) ~
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    . \6 V9 b/ M/ Z- z) m+ Q% \* o
  1724. ; error_reporting(0) around the eval().( q5 T3 S! P2 _1 s5 M3 n* B
  1725. ; http://php.net/assert.quiet-eval
    + b% s; k3 C% M/ Z8 a
  1726. ;assert.quiet_eval = 0
    # ?& N0 C3 j) P4 U+ f
  1727. 9 U* H0 {* x! C, N9 e5 f8 x
  1728. [COM]! @9 X2 r* L3 ]
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    2 g! Y8 F$ [* e3 X
  1730. ; http://php.net/com.typelib-file" H7 ?! K9 D3 k& Z& U0 G
  1731. ;com.typelib_file =* a) H7 T9 M) l, b. ~& J

  1732. + @% {4 s* \" F; V
  1733. ; allow Distributed-COM calls
    9 S" @( B& _$ ?# d& N
  1734. ; http://php.net/com.allow-dcom
    7 @# e* C4 G8 Q2 i& V$ q
  1735. ;com.allow_dcom = true
    2 h8 G/ F! l' t

  1736. " W1 @6 K8 R2 K
  1737. ; autoregister constants of a components typlib on com_load()
    + ?& }3 u0 f4 [: |+ Y
  1738. ; http://php.net/com.autoregister-typelib
    0 g7 p5 g: G  h& ]
  1739. ;com.autoregister_typelib = true
    1 \4 s6 k0 ^3 E+ m
  1740. , D# l3 B1 W+ C
  1741. ; register constants casesensitive
    1 K' k/ V' v! L, ^; p6 B
  1742. ; http://php.net/com.autoregister-casesensitive* o% E3 ?, w1 W# `# G7 n
  1743. ;com.autoregister_casesensitive = false( @( r" g$ z' O$ z7 A. R

  1744. 9 _$ V5 P# V1 T3 J
  1745. ; show warnings on duplicate constant registrations; s: P4 H# A- `7 D
  1746. ; http://php.net/com.autoregister-verbose. g, j8 _$ ^. Q& ?
  1747. ;com.autoregister_verbose = true2 v4 L! {- q$ }, [3 ~% l

  1748. % D, u: r% w, S3 A
  1749. ; The default character set code-page to use when passing strings to and from COM objects./ T" V$ c, k; g" X& D5 T/ g
  1750. ; Default: system ANSI code page  s( u; \  W, P3 X+ K
  1751. ;com.code_page=5 \8 H* z/ L6 `
  1752. 7 F' w; o% H/ |" j  v/ h! H( t6 l
  1753. [mbstring]! q8 q9 e% Z# q/ Y
  1754. ; language for internal character representation.
    ; V2 D2 `# a- ]# t6 ]
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ) U, d, Z' A( F; ?. E3 K% i$ J
  1756. ; http://php.net/mbstring.language2 `4 j7 J# t9 A/ Q6 \
  1757. ;mbstring.language = Japanese
    " T9 T4 b9 R/ G1 i

  1758. 4 o; g4 b! d( F/ L. T9 W
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.* \8 F( S0 _* W) S5 V
  1760. ; internal/script encoding.# L. \0 e, x, O
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    # V4 F8 s: f+ J+ v( I1 c# G
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used." _2 W  \- U& Q4 G6 b/ g
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding/ H9 Y4 D0 N% x) B: J* N- |
  1764. ;mbstring.internal_encoding =
    * C0 ]' U# j6 k9 q4 @, O
  1765. 4 ^. F; \0 F7 q  |4 k  `
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.0 i9 B8 c+ u4 j. P
  1767. ; http input encoding.' _& q8 @, S! [/ }  N; ^. B/ r
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    1 {" |& A/ z9 w2 c% q
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ! {' _! j' v) y$ F( M( T5 r
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    $ b+ L. a9 Z2 g) X5 ^! I; N
  1771. ; http://php.net/mbstring.http-input0 d8 Q; \4 A* j! m+ S
  1772. ;mbstring.http_input =
    ! _; e" L1 Z3 U

  1773. - g- B# F0 r+ H, S$ f6 h% W* q
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead., {/ h6 y) Y! J: p  @1 r
  1775. ; http output encoding.) C) A$ T2 q$ O! W) g) J  ^
  1776. ; mb_output_handler must be registered as output buffer to function.
    * S8 E" v+ H& s7 v$ u( t& z
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.9 j% H3 J* c0 u
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    2 E/ L7 i) `* f: {+ [9 o
  1779. ; To use an output encoding conversion, mbstring's output handler must be set) t1 r+ M( x* }* ~8 ?
  1780. ; otherwise output encoding conversion cannot be performed.* u7 J) `- z0 r5 J( l! |
  1781. ; http://php.net/mbstring.http-output' c1 y6 G0 J  t1 }& C' G  r$ M
  1782. ;mbstring.http_output =9 K. @1 {/ D  F* r" W! I( R

  1783. 7 f, G. a) a4 x" e
  1784. ; enable automatic encoding translation according to
    & x  J0 _/ r. x% p* U. G
  1785. ; mbstring.internal_encoding setting. Input chars are
    ' n7 F5 c  b/ S' N& M8 }1 i( H
  1786. ; converted to internal encoding by setting this to On.  i, ^+ J3 n; ~5 A* I9 t& [
  1787. ; Note: Do _not_ use automatic encoding translation for6 e! i' v  r0 b& z
  1788. ;       portable libs/applications./ H; ~# f5 J% e- A: j/ h2 u6 a; v
  1789. ; http://php.net/mbstring.encoding-translation; |6 Z7 T6 R; x8 n
  1790. ;mbstring.encoding_translation = Off
    * Y2 H7 f, I5 Q: F  B& {

  1791. ; o# L6 ?5 {  s2 v7 ^( J
  1792. ; automatic encoding detection order.7 o0 G* ^* L, ?3 N
  1793. ; "auto" detect order is changed according to mbstring.language, N- J& y1 W( B$ X
  1794. ; http://php.net/mbstring.detect-order+ H9 k/ M& G- X  X# W" a  M' A; z
  1795. ;mbstring.detect_order = auto
    ' M" v; i! `6 U# ]& m
  1796. 5 U, R% }4 i6 Y
  1797. ; substitute_character used when character cannot be converted- Y: y* S& T. B! q# d
  1798. ; one from another3 R9 ^, b8 {! G# P4 e
  1799. ; http://php.net/mbstring.substitute-character! W  c8 p0 D! e& j! t
  1800. ;mbstring.substitute_character = none
    , w( v! S5 U( Z( b
  1801. ! t; Q# g& `7 D, a- }( ]5 ~3 F- b
  1802. ; overload(replace) single byte functions by mbstring functions.( \, w$ k5 A$ z2 `6 W2 `  s
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    7 j- x$ t! r, ?6 [' y  P
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    $ S" G; w7 B4 u3 J4 D) d
  1805. ; For example, 7 for overload everything.
    ! G1 i9 W% S% c' M: s4 x6 `
  1806. ; 0: No overload( S) b9 d8 J: {3 G. ], o
  1807. ; 1: Overload mail() function7 ^; M! |  f0 u1 q  k/ ?
  1808. ; 2: Overload str*() functions
    9 c1 q. E/ s0 M6 Q7 \& k, a
  1809. ; 4: Overload ereg*() functions. S0 d" R# X+ h9 q
  1810. ; http://php.net/mbstring.func-overload- R! V1 L7 Z! {3 S" V! P
  1811. ;mbstring.func_overload = 03 F( z' `9 S; q9 z6 F  k
  1812. - Y: i/ D1 M2 ~: \; M+ X
  1813. ; enable strict encoding detection.* X4 T6 y* {1 n5 s" G& Q- x
  1814. ; Default: Off. c5 X6 P4 ]. m1 x9 U/ n, Q6 [& n
  1815. ;mbstring.strict_detection = On
    , `4 b' D+ [0 z% X# |, g
  1816. * B4 B( `  ]- e. l
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()! X  f2 O) }; i7 m4 P; j
  1818. ; is activated.* w* ~) r! b6 N. r5 i$ }
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    2 v( L* S* s8 F& \
  1820. ;mbstring.http_output_conv_mimetype=
    9 w. E3 ^0 [- n6 U. D7 E! d
  1821. . W" d- R- J; d5 e. v
  1822. [gd]: S/ x$ r) V6 L; ]' Z
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    ! F) ?3 |0 q* t" ]! U& Y% }
  1824. ; a gd image. The warning will then be displayed as notices& G% E' o0 K2 C/ j
  1825. ; disabled by default& i0 o7 {* P& s/ o" K& @
  1826. ; http://php.net/gd.jpeg-ignore-warning* z, Q& o' D7 V9 t" t$ h1 m- P& q! E5 V
  1827. ;gd.jpeg_ignore_warning = 07 l! s8 g# n+ z  F1 R/ ]
  1828. 7 F; [# q: [: b' T6 X$ [
  1829. [exif]
    $ |( s2 }2 z& X9 m2 `. g2 @
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.% b7 K6 j! {6 w/ t
  1831. ; With mbstring support this will automatically be converted into the encoding
    ( G2 v+ T, Y0 ^8 _
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding% f: P/ U: _3 |% F' W! L
  1833. ; is used. For the decode settings you can distinguish between motorola and# w* [- k9 |0 q9 J
  1834. ; intel byte order. A decode setting cannot be empty.
    ; P4 `6 t$ _& r* x
  1835. ; http://php.net/exif.encode-unicode: Y+ Y& P' b  B5 l) m9 n
  1836. ;exif.encode_unicode = ISO-8859-15
    $ J2 d$ @+ j& R* c# m# S( }4 U* g
  1837. & t6 q, W4 Z1 C; B7 V
  1838. ; http://php.net/exif.decode-unicode-motorola0 x7 E& }: b, ^# k, P8 N5 E
  1839. ;exif.decode_unicode_motorola = UCS-2BE! H" i% {. ?, q

  1840. % a+ R5 Q3 v& R( `, }  @
  1841. ; http://php.net/exif.decode-unicode-intel! p  L; _+ t6 c
  1842. ;exif.decode_unicode_intel    = UCS-2LE0 W" c9 }) O; L" h6 c

  1843. , \  k# Q$ h8 v; `5 a' P, a8 S5 H7 q
  1844. ; http://php.net/exif.encode-jis5 W' }  x3 {' L  r- l' a& Z, l
  1845. ;exif.encode_jis =
    4 x" v4 m: z1 y( H; B# r

  1846. 2 e; E3 O% ?. m& Z5 Y5 _
  1847. ; http://php.net/exif.decode-jis-motorola( V3 b- a# _2 u' N3 G
  1848. ;exif.decode_jis_motorola = JIS
    $ E; S' ~% G, ?) r. i
  1849. 5 X6 Z! D. Q. F( z
  1850. ; http://php.net/exif.decode-jis-intel
    2 @8 p& K2 g, M' c, C: Q
  1851. ;exif.decode_jis_intel    = JIS4 O: H1 R: F/ p: y/ r* \$ A

  1852. 1 H) H; e" @) n/ C, Z! y! _
  1853. [Tidy]
    5 O& j8 b; S! {' f/ \  ~8 x4 F; k
  1854. ; The path to a default tidy configuration file to use when using tidy
    6 ~& H' \. F: Y! f7 p9 D3 ~
  1855. ; http://php.net/tidy.default-config
    6 l4 K5 \/ a  h0 E+ G; R: d
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    $ b8 A! V4 m( A% ]8 V& M% Z% B
  1857. 4 d5 l1 {; ?6 Z/ L' ?1 h. A1 ~+ y
  1858. ; Should tidy clean and repair output automatically?! G4 F8 z7 t) e! D% @1 R; {) S6 P
  1859. ; WARNING: Do not use this option if you are generating non-html content
    8 X0 {5 s* |* w9 E# [& C* K: G; A
  1860. ; such as dynamic images
    ) B& e5 f5 w: d5 D/ T
  1861. ; http://php.net/tidy.clean-output
    5 P) S: ?7 v$ [4 c* A) T9 O# M
  1862. tidy.clean_output = Off. n4 a! l/ G; ?9 r
  1863. 2 Q' E) |6 e8 F/ @% v( b
  1864. [soap]2 }/ N; p; ~9 f, o8 m5 z0 j
  1865. ; Enables or disables WSDL caching feature.# s0 G+ }# v0 M5 ?# e4 S* \% i
  1866. ; http://php.net/soap.wsdl-cache-enabled
    1 M0 E. X4 N; U7 J; m9 u
  1867. soap.wsdl_cache_enabled=15 B+ b$ ~0 D! \) [. E# \

  1868. / h4 L; _; M  ^
  1869. ; Sets the directory name where SOAP extension will put cache files.
    7 s/ n, M8 j! W
  1870. ; http://php.net/soap.wsdl-cache-dir2 c3 E. e0 |6 J7 E1 R
  1871. soap.wsdl_cache_dir="/tmp"  T+ n; e3 D9 E8 S1 c" ?5 {
  1872. - V) m% e/ d5 T
  1873. ; (time to live) Sets the number of second while cached file will be used
    $ U) |) D& E1 A% [3 s1 R( P
  1874. ; instead of original one.
    : ~( y2 j3 R' h
  1875. ; http://php.net/soap.wsdl-cache-ttl
    3 u8 h1 w  c+ e  ~7 Z1 ?  f
  1876. soap.wsdl_cache_ttl=864003 D2 V6 h9 U2 |* i" s9 P* C" v

  1877. ! L3 P- S4 x. h7 L. v
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    + C* q* _! j: |& Z1 b
  1879. soap.wsdl_cache_limit = 5: Y3 d4 r% l; Q- N; d5 L& }$ a+ ~

  1880. " V4 t( G0 ?6 Z1 o: A1 k
  1881. [sysvshm]
    ' g2 {3 M5 g) F5 D" O5 e1 F
  1882. ; A default size of the shared memory segment, w: \, M' w4 l5 k0 p
  1883. ;sysvshm.init_mem = 10000
    + q, T- E* x- v0 h, L6 |
  1884. , i+ X, d; |- H% G9 r. Q& o0 Z( I
  1885. [ldap]
    # K5 }, }3 x  B
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    * n& s1 L2 i  q: e2 z$ R
  1887. ldap.max_links = -16 C' Q( W8 V8 V& ^
  1888. 2 n/ b* e. ?( H  Q4 R, r6 M
  1889. [mcrypt]9 y. V% O$ Y$ O3 V$ ^
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open! A# W, K% t0 j+ }0 h# L
  1891. ! l+ g6 K5 ?3 W
  1892. ; Directory where to load mcrypt algorithms2 r( A' g+ Y/ ]: u/ N" ^2 S
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)% l$ X- A+ j) x3 F9 t' x# t, u( A
  1894. ;mcrypt.algorithms_dir=. V- E0 r: P9 Q$ {

  1895. - Y4 r) I8 P+ d  B
  1896. ; Directory where to load mcrypt modes  i% h3 u3 D- W! Q# Z9 c
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)6 r1 W' `, |0 I/ v
  1898. ;mcrypt.modes_dir=6 R+ P3 F& I, U* d
  1899. 3 _' o4 c1 _" ?# ^# M
  1900. [dba]& E3 x: Q5 t% j$ G
  1901. ;dba.default_handler=8 u: @2 ]& s8 W) I

  1902. , S8 R( j2 B6 {- r1 K0 C' e
  1903. [opcache]& z0 {2 J5 D9 N
  1904. ; Determines if Zend OPCache is enabled
    1 F9 T$ y' f6 t+ ^$ G* E
  1905. ;opcache.enable=0
    : u! R1 U2 \7 j/ O6 @9 x: t; h
  1906. , Q9 }" t: X0 e; u/ @
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP! ?4 ^5 y3 O  \/ S
  1908. ;opcache.enable_cli=0' C5 @" f6 W+ k# o! a
  1909. + o$ s: v9 T. q* Y- Z
  1910. ; The OPcache shared memory storage size.
    + p: t7 J# Q4 ?
  1911. ;opcache.memory_consumption=64- [4 C" `* N* I5 v$ K$ W9 U
  1912. / g2 O& ^$ B: {; L4 q
  1913. ; The amount of memory for interned strings in Mbytes.( }$ D0 \% C, s4 y9 C
  1914. ;opcache.interned_strings_buffer=4
    5 A( e# _9 E; g  \! K  x
  1915. " Y! U# e4 o+ M- C+ U3 Y
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    - q6 Y0 g- V6 g, m$ G2 M7 \' _
  1917. ; Only numbers between 200 and 100000 are allowed.: ^: s9 N( ?. H% A" g
  1918. ;opcache.max_accelerated_files=2000
    ' G- a" v' X* T, r) E/ Q3 \; a, C. U

  1919. " Q) m: b6 d/ g' R. G1 B) a
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.  y; u4 X( E/ E& y; P5 a( a* O
  1921. ;opcache.max_wasted_percentage=5$ H+ @  T1 D6 n4 ?6 V. Y, b4 i

  1922. $ p/ n0 i" ~2 ^5 X# ?! k
  1923. ; When this directive is enabled, the OPcache appends the current working
    . F8 N: z+ ?3 {# r& d
  1924. ; directory to the script key, thus eliminating possible collisions between
    4 o$ X* I' q4 s1 L( u, |
  1925. ; files with the same name (basename). Disabling the directive improves4 g7 c0 U# D  Y0 o( _* \
  1926. ; performance, but may break existing applications.
    ) ^" {7 U, a' n5 H
  1927. ;opcache.use_cwd=1
    # m6 k! q7 h" O. ]  T

  1928. 8 M; M) F3 \$ M/ l
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ) |& B0 Y, [% F
  1930. ; webserver for changes to the filesystem to take effect.
    6 j# ]& C+ A4 G: B
  1931. ;opcache.validate_timestamps=1
    ' ^# t/ J7 K( h6 c+ Q
  1932. * f+ `/ C1 F1 A% D1 L( S. d( T0 I
  1933. ; How often (in seconds) to check file timestamps for changes to the shared8 Z5 D! z3 H7 w# s9 W1 q$ ?5 ~
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    0 h/ d( Z: D. p: n1 h6 ^
  1935. ; once per request. "0" means always validate)
    ! D- A% @# e6 ?
  1936. ;opcache.revalidate_freq=2
    + W* u% p- X, ^/ @. E: H

  1937. " |, D0 j/ V. f- ?
  1938. ; Enables or disables file search in include_path optimization' E# W) N3 U; k* J
  1939. ;opcache.revalidate_path=08 i5 b7 e2 ?9 x' D! x

  1940. 6 F1 S% I2 f1 t$ @4 j
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    " B9 ^0 o' v' Z* t: B  ?
  1942. ; size of the optimized code.( p. m# z  |- ?) H
  1943. ;opcache.save_comments=1; [( t9 a% B) A, {! I" u
  1944. + G* z% ^3 e; ~2 R! h! Z( a$ c
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"0 V0 L  u! |/ s9 n- m* G: v
  1946. ; may be always stored (save_comments=1), but not loaded by applications$ k  a) C0 n/ N8 R$ o9 O4 U( C
  1947. ; that don't need them anyway.* P" o# y5 }9 ^  H
  1948. ;opcache.load_comments=1  D* l# m. C3 O+ k, }% u0 g

  1949. / s  N- s& M0 r& _( F7 V
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    $ M* b) H$ W7 k
  1951. ;opcache.fast_shutdown=0
    1 C- v  x5 b$ _% p

  1952. + L' {3 V3 \9 V$ {# U0 A
  1953. ; Allow file existence override (file_exists, etc.) performance feature.& F2 S6 A' p/ ~4 e" k6 c
  1954. ;opcache.enable_file_override=0
    ( H* i) ]& C2 E
  1955. " m! _9 ~; B' l- A/ l
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache0 n$ [& {8 `- c; @+ I: H5 A
  1957. ; passes
    6 ^! E5 f$ P4 b) I4 I& ?: I% f- }
  1958. ;opcache.optimization_level=0xffffffff" ^. _' d/ A8 K1 a, O) b; z$ J3 y

  1959. 6 p# H4 K  g6 u* z, b, `
  1960. ;opcache.inherited_hack=1: g8 o) c- a# d8 N9 V
  1961. ;opcache.dups_fix=0
    + D' v$ t8 y$ e) ?9 E( k* ?6 ]& M

  1962. 9 x  D8 G- Q' u
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    7 U9 a& ]$ p+ M
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    0 M) {' M( D3 a0 h' B+ c
  1965. ; that should not be accelerated. The file format is to add each filename
    2 @  O" m- E% V" J5 w" h3 [( E
  1966. ; to a new line. The filename may be a full path or just a file prefix
    9 L. B! {$ v9 `/ _! E, S# b
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    5 I8 u6 Z2 I) F6 K3 R6 T0 o- I
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments)./ k- U( E) \6 o8 a1 Z  l$ v1 j
  1969. ;opcache.blacklist_filename=; J. k+ m1 i; \- E

  1970. 1 w9 G9 |7 q# i4 J' s
  1971. ; Allows exclusion of large files from being cached. By default all files
    2 b: R) `. k' R5 d
  1972. ; are cached.8 `$ f  g; X! X( }, _5 p! q% v- j
  1973. ;opcache.max_file_size=0$ t0 W0 |% L4 {# }

  1974. % i$ d* Y& K. v7 e3 `
  1975. ; Check the cache checksum each N requests./ N2 h* V4 Q& P3 p2 H" w; i
  1976. ; The default value of "0" means that the checks are disabled.
    : X% F; j# O8 T; D9 T4 P2 B
  1977. ;opcache.consistency_checks=0+ y8 ^. V3 x1 z, f7 I2 S; i
  1978. % V; d- A) s0 g+ e
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    $ Q/ e! M: ]( q! S8 p! N, y
  1980. ; is not being accessed.8 W: ^& x5 F% A: F6 R
  1981. ;opcache.force_restart_timeout=1801 ^: h7 G; h+ e1 H, n
  1982. * y2 m# r3 b" w( F3 O! T( v6 n% K
  1983. ; OPcache error_log file name. Empty string assumes "stderr".. L/ D: S# N1 d
  1984. ;opcache.error_log=9 h2 c4 m; U5 B9 X+ {' R4 H( ?
  1985. & y3 v9 x  X- x) T# p
  1986. ; All OPcache errors go to the Web server log.+ H* K/ }9 l; _* P3 F2 {8 u
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.5 I  L6 J+ c; ?6 e6 B' y
  1988. ; You can also enable warnings (level 2), info messages (level 3) or2 X0 t. P. N: ?. b1 J/ z' l
  1989. ; debug messages (level 4).: c! @* Q2 n  ^3 ~* ^% w6 [
  1990. ;opcache.log_verbosity_level=1
    * ~, X1 w$ e0 @( Q: B4 Z: Q
  1991. # |4 ^& C: L: z7 H# r8 B
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    . [) x. k% G0 u  ~" X; O! r
  1993. ;opcache.preferred_memory_model=' J  M4 p* o$ q  N# @

  1994. 8 B$ b3 K  W, |" C
  1995. ; Protect the shared memory from unexpected writing during script execution.
    1 V, D! M; q( I
  1996. ; Useful for internal debugging only.- R% U$ I/ r9 o8 l4 e
  1997. ;opcache.protect_memory=07 u0 U7 U- D' x! w

  1998. & g( `6 ?* |: |, W( k; @$ l
  1999. ; Validate cached file permissions.
    $ z# t* Z$ q5 @# N, k
  2000. ; opcache.validate_permission=0
    2 L0 I1 |/ j  n- j% D& e( _' [
  2001. ! a# l" M, Q) V% ^7 V! v5 H& P7 D
  2002. ; Prevent name collisions in chroot'ed environment.: Q* e+ g! f! H
  2003. ; opcache.validate_root=0
    , a: G4 U1 Z$ {$ t* \
  2004. 2 G9 J% u" x* A; [- ~, ~* Z+ ~5 m
  2005. [curl]1 Y9 Z1 o- b- N+ I9 b7 A
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an( e, p+ _8 _! X/ m2 Z8 [+ ~
  2007. ; absolute path.4 t# O0 N- E# x" m3 i
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt' I1 G- B+ j. D! ?% S' I
  2009.   B9 O9 q( ?+ \/ z2 q
  2010. [openssl]
    , `" B. ~+ j6 U7 M
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem% M/ l1 _5 w- ~( j3 u
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should0 b( L6 `' j$ f( J" h) Z
  2013. ; not specify a value for this directive as PHP will attempt to use the
      f! f8 W0 b% S- D- a
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    0 k/ b" H/ e3 c
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context+ \+ L9 y5 G% w4 v% g' [
  2016. ; option.- _. X% Q, l9 }6 k+ q
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt, {4 s3 E2 p. e6 R, Q
  2018. 6 o' K' g. G1 A
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the; A6 W/ B4 j. v' Z/ q/ C4 |
  2020. ; directory pointed to by openssl.capath is searched for a suitable9 E* m2 h% @: q2 k5 a( r
  2021. ; certificate. This value must be a correctly hashed certificate directory.5 e- b1 N; {+ u0 D3 A+ T
  2022. ; Most users should not specify a value for this directive as PHP will( A2 s$ ^& m  b- F. ^
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,  F: Y" c. O# h4 K
  2024. ; this value may still be overridden on a per-stream basis via the "capath"2 [6 B- \2 g# h" N7 ]: a
  2025. ; SSL stream context option.
    2 Q8 n1 h) _2 s5 ^7 `$ f0 A
  2026. ;openssl.capath=6 N9 r8 m; d& L8 c; t
  2027. + p% I& F, n. L2 t
  2028. ; Local Variables:
    5 d+ q2 Y: J0 w
  2029. ; tab-width: 4. _7 L  u( F6 I3 s  ^5 k2 D9 F8 T
  2030. ; End:8 s& L3 I8 g7 p
  2031. 4 ~# Q, {( i* F( W( Z
  2032. ;eaccelerator
    5 w! ~- C% v6 F; n, W

  2033. 4 S( ^; b+ c  d* E- Y5 P
  2034. ;ionCube8 v; S* W( O# O5 H
  2035. & ?, e. r) B, Z% u! p' S
  2036. ;opcache# A; l7 ]( T3 P' s. V- j0 A1 q$ e

  2037. 6 L# K; @( [$ `. B$ T/ @
  2038. [Zend ZendGuard Loader]( C( ?9 L1 l) r1 }
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    0 ~3 }7 e1 h5 \8 x% ]
  2040. zend_loader.enable=1
    9 z. q# |1 t5 l
  2041. zend_loader.disable_licensing=0) D! h0 u8 |! H; M3 H+ \
  2042. zend_loader.obfuscation_level_support=37 |3 W8 m& x) Q. Y" p' ?! T7 p& _
  2043. zend_loader.license_path=
    + S( w/ L$ {4 O4 Z$ N. X

  2044. 6 v: T/ J( w! z0 M& W; p
  2045. ;xcache) v% u# V7 G  a& Q0 U
  2046. ) a+ ]; [, K  x3 N5 U2 E
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
. l$ A$ i- s, Y$ O' M' @% H# H% W2 W, e7 ]0 b* `* A' z6 F

4 k) X7 Y8 x$ M: B2 H" j- DDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
7 i( g. X6 ?1 X5 c& O  P6 r! X: N) ~' V  T, J9 J2 d) x* |5 }
Discuz!程序版本选择:
: v' y, k. e4 B& {: e8 G站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
# r/ |- ~0 A: g8 s不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
/ Z; o' N* s* U5 mDiscuz!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。+ |0 U" a. ]. e0 V# B& U
% j9 E* s* v8 s3 B
Discuz!插件模板版本选择:4 `8 `5 ^2 z) A3 q
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,7 l; V4 I; t- p* Y
针对这个问题做个统一的普及:. f: m0 F6 g/ `1 U
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。0 b  p2 g) i3 c+ I4 i
  [9 t0 x3 N. @+ i
所以
9 K" b5 e. m  V' b适合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的二级域名。/ \# J4 y% f) k1 I) w9 g7 m6 m
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
' R% o* w6 g1 d8 |5 i7 I. m注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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