分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0) W' m1 K; o3 M- H# X
. z- R' X$ G- h( D9 w
  1. [PHP]
    9 q& f2 o  O; {( e7 G$ t! x
  2. 2 f; Q1 s0 V. K5 ^
  3. ;;;;;;;;;;;;;;;;;;;! G( D( |/ m. c' R
  4. ; About php.ini   ;
    ; t9 v# q, H% P
  5. ;;;;;;;;;;;;;;;;;;;
    5 M. k' V5 v' x# Z% a
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    4 b" k. L# Q" v$ c& g3 g8 B
  7. ; configuring many of the aspects of PHP's behavior.
    ( `1 X  c; p- h( p; U7 K% v: h

  8. + ?" R0 `3 b- @" u; E7 f$ [
  9. ; PHP attempts to find and load this configuration from a number of locations.
    $ ^% q9 v! ?+ E% ]; w
  10. ; The following is a summary of its search order:
    ) g: o$ [# j0 v7 x) q8 Q5 {1 c
  11. ; 1. SAPI module specific location.
    1 h# `+ q  i9 U  H
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    / L) ~. P; ]8 k. d
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- O) @2 W% n/ Z! i2 y2 U/ n
  14. ; 4. Current working directory (except CLI)3 E2 c' }' |/ w+ y3 a' ?& N, {
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    # m- P& ?; p. n% U
  16. ; (otherwise in Windows)
    5 D3 j4 H- f! k" i! K0 h6 e
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    0 x7 _$ {4 S3 b8 q
  18. ; Windows directory (C:\windows or C:\winnt)% m% A) X0 q  J  J$ H" n
  19. ; See the PHP docs for more specific information.# G/ y! r6 L8 ?+ N+ _" C  ~5 j
  20. ; http://php.net/configuration.file
    # g  c- q& t1 |
  21.   n! d# G3 g7 S# p, i9 q
  22. ; The syntax of the file is extremely simple.  Whitespace and lines; I) E" z- ]) S3 Q5 i! x0 |- `
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)./ d8 L" V0 m, R8 G3 O
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    2 m0 [0 Y3 n- h" f
  25. ; they might mean something in the future.
    & Y; c  P& p6 Q6 o9 P4 X; V' Q

  26. ; G7 w' _+ X6 g  \* B
  27. ; Directives following the section heading [PATH=/www/mysite] only, H2 R- A& _8 U
  28. ; apply to PHP files in the /www/mysite directory.  Directives3 ?( J+ y; `5 |1 z4 [
  29. ; following the section heading [HOST=www.example.com] only apply to
      s- G" T* H* K8 X- R# Q
  30. ; PHP files served from www.example.com.  Directives set in these
    4 e$ R$ k4 A! x! p
  31. ; special sections cannot be overridden by user-defined INI files or
    . X5 y: ~$ s% |& C$ d( g$ }* S( C; u; t
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    . }5 S: d) g6 _/ X, C* z6 T' O
  33. ; CGI/FastCGI.# u* K4 I% }" A% A9 C5 f
  34. ; http://php.net/ini.sections9 m, {( Q+ Y0 Z  H. K0 z
  35. . Y" Z1 _" `+ T- W$ g5 |; H, Y& [0 B
  36. ; Directives are specified using the following syntax:( \+ @' }5 k% Y3 s# `
  37. ; directive = value
    2 {8 y. J6 E; v$ S; m9 n3 ]
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    8 ?& _/ x+ U1 ?+ j" c0 G
  39. ; Directives are variables used to configure PHP or PHP extensions.
    . G2 s' Z0 O3 L+ J3 z
  40. ; There is no name validation.  If PHP can't find an expected
    7 _: ?2 M( A' \$ c" x) h0 P. o5 m0 p
  41. ; directive because it is not set or is mistyped, a default value will be used.
    2 _/ C9 {$ q$ S" t/ A
  42. . {& X: _' J# q7 G7 X& a9 s7 T, X
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one9 {' h$ [3 z4 q, Z: C" b' y
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    4 T1 ?0 o) Q6 b8 v& u
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    , ~9 e: n% ]+ O, P; c# r" W7 v
  46. ; previously set variable or directive (e.g. ${foo})1 u/ s& r) c# D+ _
  47. & M% n7 n& {: T) U2 h
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:3 k$ M" S6 O, P8 q0 t; T, P% W9 B4 E7 F
  49. ; |  bitwise OR/ V+ G& A& B7 O) E) C5 A
  50. ; ^  bitwise XOR8 x& j" c. B& v* w
  51. ; &  bitwise AND' z, v- L" X4 x8 T+ H7 u# L/ D* b( ^
  52. ; ~  bitwise NOT* `$ ]4 L/ ]/ n
  53. ; !  boolean NOT
    - l# _0 D8 x1 S$ G& v7 B
  54. * t8 c0 `4 R0 Q  N9 G& `) J! t4 i1 u, d
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.3 b0 v$ |: l- B2 i5 [/ h
  56. ; They can be turned off using the values 0, Off, False or No.9 c. H$ d- \" W" F

  57.   Y; z# q( s0 [( f" |0 ~
  58. ; An empty string can be denoted by simply not writing anything after the equal3 P3 z$ z" D0 Q
  59. ; sign, or by using the None keyword:
    - S) `/ n) _5 U( p

  60. ; k) T# j5 v' P' V* ]$ ^
  61. ;  foo =         ; sets foo to an empty string
    + y$ |; K# B2 u6 A( R& I& R
  62. ;  foo = None    ; sets foo to an empty string; @( N" y" n5 B4 V
  63. ;  foo = "None"  ; sets foo to the string 'None'
    6 i  H5 S0 ^" k' R% X8 W1 K& w
  64. & L4 y8 r* A- k5 {) w8 M' m
  65. ; If you use constants in your value, and these constants belong to a; l7 O- O$ X- f$ O* A
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),- }& C; b5 ?0 n4 @
  67. ; you may only use these constants *after* the line that loads the extension.% W( z2 `, M/ q% N7 F- t
  68. ( a' ~/ C' R) C5 s4 o
  69. ;;;;;;;;;;;;;;;;;;;
    , O) h: e; y+ ]0 F; f7 J$ c; W
  70. ; About this file ;( Z& Y0 m! R. t; k6 l
  71. ;;;;;;;;;;;;;;;;;;;6 ?% F5 k! A6 H2 |" D
  72. ; PHP comes packaged with two INI files. One that is recommended to be used7 c4 s, D9 t3 T/ s1 b
  73. ; in production environments and one that is recommended to be used in
    ( e, Q4 |- E' t$ r2 ]) U
  74. ; development environments.4 u7 G2 Z& q8 ]+ n
  75. 0 c% j8 U* x& {
  76. ; php.ini-production contains settings which hold security, performance and* e; T# x; ~  B3 H7 K; ^* ~
  77. ; best practices at its core. But please be aware, these settings may break7 Y) p+ O3 J% L, G' l/ K2 Y
  78. ; compatibility with older or less security conscience applications. We
    : [" @- N+ a8 u# ^3 |
  79. ; recommending using the production ini in production and testing environments.
    % Q  u- W; o, S1 O' F: M0 k4 U
  80. 7 E: b! T* S6 a: x, [/ S
  81. ; php.ini-development is very similar to its production variant, except it is$ t4 `3 G' b: j# n6 w
  82. ; much more verbose when it comes to errors. We recommend using the
    + D4 \+ ^( m2 |' l4 X$ v
  83. ; development version only in development environments, as errors shown to: s5 T3 `  J) |) U2 k
  84. ; application users can inadvertently leak otherwise secure information.5 p( \! N+ U2 o/ O

  85. : C- \  I4 Q8 k* S
  86. ; This is php.ini-production INI file.
    4 H2 t4 `7 I. |

  87. 9 K  ?. s/ a/ f  q0 P- O8 R  Z# ?6 x
  88. ;;;;;;;;;;;;;;;;;;;7 [5 z; s5 x! s
  89. ; Quick Reference ;8 s& C5 I7 L* k7 `3 C
  90. ;;;;;;;;;;;;;;;;;;;) y! _: W2 E8 @2 e+ m; ]3 A
  91. ; The following are all the settings which are different in either the production; y1 A' g$ J8 f* ~6 _8 O& G
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    9 q! A2 k* X1 Z( }
  93. ; Please see the actual settings later in the document for more details as to why* o* F8 p- B3 y* Q; m
  94. ; we recommend these changes in PHP's behavior.
    1 }' s. B1 e; q/ k
  95. , z) I' P+ j$ D9 o. a, o0 r
  96. ; display_errors
    ! j2 M1 ?1 @2 m- q. n& [& C: V
  97. ;   Default Value: On
    : t1 R) b9 U3 L) e) I
  98. ;   Development Value: On
    4 r# _! J5 z, U8 X, K
  99. ;   Production Value: Off
    ( `# b' A  T. l: V9 L/ Q

  100. , ]* O& u( P9 B" |8 E. H7 Q. W
  101. ; display_startup_errors
    * E3 g6 U$ x: p1 g& h4 f2 f$ Q
  102. ;   Default Value: Off
    3 ~- ?" r# U$ y) }
  103. ;   Development Value: On  C, W$ O/ v2 L
  104. ;   Production Value: Off
    / L+ l6 E6 E3 z1 s

  105. 5 A+ O4 r8 V% `* {0 A
  106. ; error_reporting- U3 T2 i- G) s/ R  p
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED1 n+ \1 O7 ?8 m5 @/ Q; d3 m
  108. ;   Development Value: E_ALL
    + @, x, b6 U- z, B  C3 P
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT! Q" [: s, Q& Q* |4 C- [

  110. 5 z8 b/ Q3 A5 Y6 W0 \. p
  111. ; html_errors5 a6 h. b- n/ a) \! [$ c
  112. ;   Default Value: On( P* k& j& ^  J4 E, y7 o% R
  113. ;   Development Value: On
    % X' _4 H/ \5 @) I" A
  114. ;   Production value: On- P4 t: ?0 X2 Q& i

  115. ( Q0 _3 k' V* p! r7 V
  116. ; log_errors8 s9 d# S5 [5 R
  117. ;   Default Value: Off
    5 C7 o! m6 j5 T6 v8 J
  118. ;   Development Value: On
    9 y; B' a. [- |7 m7 b$ ?: _: S
  119. ;   Production Value: On& o5 ^  M$ G1 g& L$ v
  120. 1 j9 m" \6 z4 p( Y% f' w% l% D0 g: ~& C
  121. ; max_input_time
    3 E1 P2 J- q' V8 E
  122. ;   Default Value: -1 (Unlimited)( ?( k2 V) Z% u) H* _$ y# q5 }: @
  123. ;   Development Value: 60 (60 seconds)$ x  x: Q8 ^1 Z8 f+ m4 v6 j
  124. ;   Production Value: 60 (60 seconds)7 y4 A& ^! S; ~- ?6 Z) @+ |
  125. 5 B  N1 m4 T# h: k0 e2 L9 H3 v
  126. ; output_buffering8 g  `- D5 j) O3 H$ W0 w7 x
  127. ;   Default Value: Off
    + }4 B  p4 Z  |: z8 v; E
  128. ;   Development Value: 4096
    # E& q- c6 {  C7 g* U; D
  129. ;   Production Value: 4096& c# t$ J2 G1 x! o- l$ \$ g

  130. 4 d- v3 T. K+ K
  131. ; register_argc_argv% q% }) U6 b( |6 @8 E
  132. ;   Default Value: On2 {  D/ K) c8 ?5 ]1 I9 L7 E( q' S
  133. ;   Development Value: Off2 R8 {/ U, p0 l; s( g: Q
  134. ;   Production Value: Off
    ' k, _/ p, D) b; z$ [

  135. 9 i7 }$ {! g* S$ l$ ~9 K/ b
  136. ; request_order: s1 G7 Q% I6 V4 a; \9 s
  137. ;   Default Value: None
    6 S, }& f0 C/ D: \9 L3 r9 N% |
  138. ;   Development Value: "GP"
    ' l' u3 S9 S/ x6 B8 `, E( q- |1 y
  139. ;   Production Value: "GP"
    6 R4 @& Y* \+ y0 s8 ^
  140. ( a9 k& [& ]% q
  141. ; session.gc_divisor3 t5 z4 a- h+ i) ^  n! \' c5 g% s4 E
  142. ;   Default Value: 100' K! \& `3 i1 }" Q
  143. ;   Development Value: 1000
    4 q/ {# V, }5 Y, X" U
  144. ;   Production Value: 1000+ n' W8 n0 v' K. W' q9 k2 \
  145. % m: `3 m0 x4 D
  146. ; session.hash_bits_per_character& i; L4 O  k3 q0 A1 P9 T1 ^
  147. ;   Default Value: 46 _+ [; j7 @% r
  148. ;   Development Value: 5; h4 @! L1 h1 k; O9 y! i; K
  149. ;   Production Value: 5% C- E/ Q1 _+ C: K! n

  150. . q& h- t0 q, g' z# \4 F5 E, O
  151. ; short_open_tag  B6 q; g1 W: O2 e3 _2 [3 w. v
  152. ;   Default Value: On: E. E7 l4 h, p' u+ a
  153. ;   Development Value: Off
    9 L* M+ u) I4 B+ G1 f1 C
  154. ;   Production Value: Off
    % \1 h1 k2 d) R

  155. 3 J+ D/ R) K% K; \% d
  156. ; track_errors& H! A& z) q3 ^
  157. ;   Default Value: Off
    ! h, O. J* A; f2 e( d. m: S  q
  158. ;   Development Value: On
      V" a  _/ S, o0 x' K; t4 j
  159. ;   Production Value: Off) v' x6 M* c6 m* U7 p8 ~: h

  160. ; K& P3 F; V" M. g7 C( q
  161. ; url_rewriter.tags
    8 [8 B/ h* e; g' Y. n8 K: ^
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="$ d* A( L0 ~2 ?% M7 V. Q
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 s8 R4 o" Y, {& y% H8 n
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' k9 E9 N) S# J8 q2 G! m4 @: z
  165. ( T% A4 Q5 ^- S& q' \9 l, V* g7 t
  166. ; variables_order/ i* j- e: C& x8 ^+ [$ D
  167. ;   Default Value: "EGPCS"9 @4 ]" e9 d8 `2 Y; O
  168. ;   Development Value: "GPCS"
    ) @6 ?; ~  T( l0 P
  169. ;   Production Value: "GPCS"$ p, {. t( i, \2 R0 G  l

  170. ! Q" j: r  G6 J/ R
  171. ;;;;;;;;;;;;;;;;;;;;* u9 a- v% t, \8 i, N$ f$ x
  172. ; php.ini Options  ;4 i; |* x  c/ I* A
  173. ;;;;;;;;;;;;;;;;;;;;
    ! m. X+ k" Z- k! H" f2 |1 Z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"# B) _- X( \) E: r7 K5 H
  175. ;user_ini.filename = ".user.ini"
    % O/ C3 n  x  T( t3 i' q
  176. 0 w" I! w- `' k1 @0 q
  177. ; To disable this feature set this option to empty value* B! G  D2 D+ A, Z
  178. ;user_ini.filename =
    + s& r0 k0 T0 \$ }3 S. c
  179. 4 b' s( R4 |  b
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ! s- p4 X8 b) \3 W
  181. ;user_ini.cache_ttl = 300
    , [" D% M- ~1 [3 \  G; x

  182. $ b6 \/ @- J1 g, o) [, X7 F9 J
  183. ;;;;;;;;;;;;;;;;;;;;
    ! U* ~: c& Q" |8 ]# l* o
  184. ; Language Options ;
    - B1 q% V7 X" Z5 T6 Y! s; o
  185. ;;;;;;;;;;;;;;;;;;;;
    3 e& G! t6 W2 ]" s: k0 P) D- S

  186. 1 S' W" t; I: J- ]2 a- Z3 P' D
  187. ; Enable the PHP scripting language engine under Apache.
    9 J# t& r3 p. x! m6 K0 ~
  188. ; http://php.net/engine
    , U$ Z- h3 L% R9 d/ |* \
  189. engine = On
    $ I0 c8 C7 K! X: \3 l, w
  190. , L: q- G, z. s1 K) Z# h0 ?
  191. ; This directive determines whether or not PHP will recognize code between/ D4 B9 e) ^+ D: p
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ' c: U/ L# P9 o$ H: ]* I- q
  193. ; generally recommended that <?php and ?> should be used and that this feature9 V, M6 [; F0 @: U& G
  194. ; should be disabled, as enabling it may result in issues when generating XML
    + y& b- T( a7 x7 B
  195. ; documents, however this remains supported for backward compatibility reasons.
    * }) b7 l. R6 p2 i# u# e; _0 t" M5 v3 K
  196. ; Note that this directive does not control the <?= shorthand tag, which can be. w3 A) f5 R/ l3 E1 P0 u4 v
  197. ; used regardless of this directive.
    & Q7 T& C" k) d& @1 P
  198. ; Default Value: On
    4 L3 B& ]8 C& |: Z  n" j- @
  199. ; Development Value: Off1 Z+ y2 R! B# }
  200. ; Production Value: Off5 j0 m9 I! f2 x7 s0 @8 E' N4 G% b
  201. ; http://php.net/short-open-tag; J6 y* k& P& f5 N
  202. short_open_tag = On6 r" G, y" u2 A* l/ R' Y1 t7 T

  203. - c. [& }% A. m6 R, N* j
  204. ; The number of significant digits displayed in floating point numbers.
    2 n$ p5 e) b) e
  205. ; http://php.net/precision3 g  Z: d* E; ?- W
  206. precision = 14. [# Q0 s6 P. `7 r
  207. 4 w/ {* t8 x/ w" l
  208. ; Output buffering is a mechanism for controlling how much output data: L/ ?0 O6 O! J8 m
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    0 R  y: y# Q8 L: i# Q
  210. ; data to the client. If your application's output exceeds this setting, PHP* H/ V1 _( O0 M6 e, j" ?* m- K
  211. ; will send that data in chunks of roughly the size you specify.
    . v6 f2 I0 B! L, A$ a
  212. ; Turning on this setting and managing its maximum buffer size can yield some5 z5 x; r7 t1 h2 J$ h7 W$ d. d" D
  213. ; interesting side-effects depending on your application and web server.: V6 f: M, J9 Y. \! X4 P
  214. ; You may be able to send headers and cookies after you've already sent output! z+ w* ]9 K. ^3 X* f
  215. ; through print or echo. You also may see performance benefits if your server is
    , ?% v; v5 [3 W$ [
  216. ; emitting less packets due to buffered output versus PHP streaming the output6 \, Z8 q: S* w3 K7 g4 E9 l
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance- s- _8 G! A9 B- B7 N# W: f+ S
  218. ; reasons.
    ( f" M& x# G6 a" U% R/ ?3 }
  219. ; Note: Output buffering can also be controlled via Output Buffering Control  M0 Q, `! W8 X# T8 W& p
  220. ;   functions.
    3 X! L6 a5 B" k7 c4 ^5 B
  221. ; Possible Values:
    4 _2 i- d4 x! F0 o9 |  Q
  222. ;   On = Enabled and buffer is unlimited. (Use with caution): B$ s/ @8 D$ w7 K9 Q
  223. ;   Off = Disabled
    7 K# |2 X. Z6 f; L; Z8 w6 W
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    7 U1 s8 g* d; C
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    & u- _2 A+ ^' X
  226. ; Default Value: Off' n1 D; d8 [" A" w% R8 \
  227. ; Development Value: 4096
    ; d  V6 Y. {1 ~3 Q1 p
  228. ; Production Value: 4096* j" F2 U* A. \( k) W
  229. ; http://php.net/output-buffering
    % V0 V. U+ g, `9 ~
  230. output_buffering = 4096
    ; [( r5 {8 `4 U! y
  231. & J$ b  O) G- j. P
  232. ; You can redirect all of the output of your scripts to a function.  For
    ' O% \% N; ?: M8 f9 |5 f, b; d
  233. ; example, if you set output_handler to "mb_output_handler", character4 b9 z8 [8 p0 \4 C
  234. ; encoding will be transparently converted to the specified encoding.
    ! n" k: F- z/ A8 I
  235. ; Setting any output handler automatically turns on output buffering.0 P* R  l% s8 \8 G* Q
  236. ; Note: People who wrote portable scripts should not depend on this ini3 z+ u& x( I: Y, @) z
  237. ;   directive. Instead, explicitly set the output handler using ob_start().% |- L; R$ h& H5 x: F
  238. ;   Using this ini directive may cause problems unless you know what script
    * \% E* O! W) k3 I, ^7 V/ D$ F# p9 I
  239. ;   is doing.
    " C( w; R8 Y9 f& Q) ^, _$ ^& e
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    " _+ E5 o* Z4 h/ u" C. I
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".* v5 Z  h/ a5 h$ k( {3 O
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    - w; i' \8 x+ n$ O& I9 T
  243. ;   Instead you must use zlib.output_handler.
    : d. E7 b7 o; S% Z% J- F8 o
  244. ; http://php.net/output-handler# o9 _8 \% Q5 n/ {) L/ r7 r
  245. ;output_handler =
    " C5 w& z# Y! ^7 b' S. b- J9 x6 A

  246. 3 r" B% i" l+ E% O+ K$ H& Y
  247. ; Transparent output compression using the zlib library
    $ K  `: S; s4 X% O( S3 ]  e
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size, c6 |% H. |4 a2 n3 G
  249. ; to be used for compression (default is 4KB)
    1 y7 I0 r0 s. g5 N0 e% R& C
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP( {  @8 E% _7 O& l5 \  x+ {
  251. ;   outputs chunks that are few hundreds bytes each as a result of/ x, W5 ~8 C" j0 I
  252. ;   compression. If you prefer a larger chunk size for better+ |# c% |: x' m& z
  253. ;   performance, enable output_buffering in addition.7 C) H) d1 y1 B+ m7 q5 u$ X
  254. ; Note: You need to use zlib.output_handler instead of the standard% d% ]$ Y3 i+ F  {* ?4 w: U% w
  255. ;   output_handler, or otherwise the output will be corrupted.
    " n' {( }8 A, L  Z( I2 a
  256. ; http://php.net/zlib.output-compression
    / ], ]! a/ l* j3 J
  257. zlib.output_compression = Off/ t0 q) a9 w. e! _

  258. ' H" n9 L( r/ A: M6 t
  259. ; http://php.net/zlib.output-compression-level
    , H' q+ H$ Y  q9 [9 z
  260. ;zlib.output_compression_level = -1
    ! }+ E# i' b# u
  261. ; s5 ^  [1 w$ x- g6 m
  262. ; You cannot specify additional output handlers if zlib.output_compression
    5 R4 i# _/ n/ }/ Q& N8 f8 U' h
  263. ; is activated here. This setting does the same as output_handler but in. o% k/ n5 ?7 y! V7 y9 u1 X5 i# v6 w
  264. ; a different order.
    9 o4 w* W" W- c3 o/ @8 A* U
  265. ; http://php.net/zlib.output-handler6 q1 A& a( a; n
  266. ;zlib.output_handler =
    & q% Y4 h6 q0 V2 e

  267. + i# q1 x* J# D6 X! _. y( m
  268. ; Implicit flush tells PHP to tell the output layer to flush itself# G$ ^6 B& ]" s0 J( r; N3 `' P
  269. ; automatically after every output block.  This is equivalent to calling the1 X) u7 v( W$ R( i. i6 ?
  270. ; PHP function flush() after each and every call to print() or echo() and each) `' K  c: [# n, s
  271. ; and every HTML block.  Turning this option on has serious performance% Q9 S  C' ]. P8 T
  272. ; implications and is generally recommended for debugging purposes only.
    . c2 v5 D  C( X0 A
  273. ; http://php.net/implicit-flush$ r  w, J( w7 r2 h
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    / F( u6 U* n- k( C
  275. implicit_flush = Off
    / O( z2 q, F  M( z- ^; p: H6 c

  276. 0 ]5 P2 h+ v% e1 V- _9 n
  277. ; The unserialize callback function will be called (with the undefined class'' s) {4 ^/ B; \6 J# Y% \
  278. ; name as parameter), if the unserializer finds an undefined class6 z4 H4 t  z. r9 z- b6 i# h
  279. ; which should be instantiated. A warning appears if the specified function is
    4 G, Q2 ~9 J" |
  280. ; not defined, or if the function doesn't include/implement the missing class.( _7 e$ d2 c  i7 K
  281. ; So only set this entry, if you really want to implement such a
    : v, @4 S4 J) o' @
  282. ; callback-function.3 A$ i1 e( x& @; d$ R0 ~
  283. unserialize_callback_func =
    ; @8 [3 m( b1 _& B
  284. ; c7 ]- u+ v3 _: ^; o# H0 W# P1 l
  285. ; When floats & doubles are serialized store serialize_precision significant
    . o" m- @  p0 X: D
  286. ; digits after the floating point. The default value ensures that when floats# x, Q1 m4 [9 }& K( M
  287. ; are decoded with unserialize, the data will remain the same., C) J: a/ T, m1 \$ |
  288. serialize_precision = 17( D" E, t( ^% r  ~' K( J

  289. 0 h3 t# g" {1 O3 N
  290. ; open_basedir, if set, limits all file operations to the defined directory
    : C4 E% o+ \! a1 _; N; B: h6 n$ [; s1 j
  291. ; and below.  This directive makes most sense if used in a per-directory
    1 _+ I9 Z/ m5 C
  292. ; or per-virtualhost web server configuration file.
    ) T  M; P1 D1 e/ w: Q% J
  293. ; http://php.net/open-basedir
    ; ?, H: G; t, z+ z# r0 J
  294. ;open_basedir =
    # j* O; |# Y7 }/ Q" O* ~* B! p
  295. 6 B4 @# h& W; X4 u
  296. ; This directive allows you to disable certain functions for security reasons.* T* ?/ [9 @! x. s0 r
  297. ; It receives a comma-delimited list of function names.
    3 |! }* u, u& F1 d, d
  298. ; http://php.net/disable-functions* @9 c8 v: s. ~+ Z4 x$ `
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru) b' }9 h5 b7 k7 U2 C

  300. , e! c3 `) ?2 k) ^9 ?
  301. ; This directive allows you to disable certain classes for security reasons.
    % T) [$ \# C- u0 b7 P
  302. ; It receives a comma-delimited list of class names., E5 f4 C: p6 R) z
  303. ; http://php.net/disable-classes
    7 j6 U: K9 B2 ~" s* }
  304. disable_classes =& g" x5 w2 y1 {5 W' S* o

  305. % _, h9 C& b. R# u0 a# D
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    + g- F+ A$ p7 S8 e# @' u9 S, C
  307. ; <span style="color: ???????"> would work.; J4 L. u, ^0 {9 ^, `5 X: I
  308. ; http://php.net/syntax-highlighting9 d" B9 e- e5 r' W3 G/ d# }+ S
  309. ;highlight.string  = #DD0000
      m6 T# S( A! W+ P! s+ Q
  310. ;highlight.comment = #FF9900$ b/ u5 b' s' h
  311. ;highlight.keyword = #007700
    7 o7 I5 O8 v- B+ v2 f8 X1 `: d
  312. ;highlight.default = #0000BB! D- c8 q# T) D
  313. ;highlight.html    = #000000" E( H# ]3 I  P; t; o

  314. . i' M$ z' B4 F
  315. ; If enabled, the request will be allowed to complete even if the user aborts! _# i( v' L+ J( F! B: t4 \
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ) T& g8 F& J* N% l/ z3 ]; ^
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ! U* U9 b# R; ?4 z% U! I8 y" {
  318. ; is to disable this feature.& y# y; n9 Q# S! e7 V  `
  319. ; http://php.net/ignore-user-abort/ I8 D3 S9 K. \- G% E6 ?
  320. ;ignore_user_abort = On
    & K8 b& m) m, f( o0 Z# P$ w
  321. 1 [. \0 U& m$ O0 ]8 ~
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    5 A9 [7 ]0 D5 [3 {
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
      V3 I& |$ Y  U! }) C# f* {, R9 a& o6 u
  324. ; the file operations performed.
    3 ]( f: i0 y8 K% q- V& {
  325. ; http://php.net/realpath-cache-size3 ]  C3 S5 P% R/ V8 F7 B
  326. ;realpath_cache_size = 4096k3 d# G" `6 }# w. Y

  327. 0 n9 I: H2 n* e4 ]
  328. ; Duration of time, in seconds for which to cache realpath information for a given7 }. p% @1 F9 r4 f* d
  329. ; file or directory. For systems with rarely changing files, consider increasing this5 Y6 M" F$ u% T4 r  ~# k5 T
  330. ; value.# U, ^% N+ y: A) l: p7 q  b9 s
  331. ; http://php.net/realpath-cache-ttl* x+ g, ~4 f0 i- w  Q; U; n
  332. ;realpath_cache_ttl = 120
    1 k9 X; ?; X$ g9 b! H. p1 U2 n
  333. 4 o( R/ H$ K* V
  334. ; Enables or disables the circular reference collector.
      m" E2 c6 i2 t8 ?! F
  335. ; http://php.net/zend.enable-gc9 K. ]. j3 R# e
  336. zend.enable_gc = On3 X: Q3 K( d, a

  337. 5 w2 H+ z  |* Z: g) {" Y
  338. ; If enabled, scripts may be written in encodings that are incompatible with0 e5 o7 E" T$ {( t, g  g4 L* X
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such. _! \, d" s+ h. R9 x* b
  340. ; encodings.  To use this feature, mbstring extension must be enabled./ w4 H+ u$ N- C9 Q! ?
  341. ; Default: Off: ]9 F; t- r' `3 N; Q0 @& E
  342. ;zend.multibyte = Off
    + n$ F* _, Z; M

  343. - U) \, ^* Q6 c7 X' t" @" e# B
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    & Y; Y5 J. @, \/ |! A9 [
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ; N; e3 T5 @3 l. O. j  M! w0 b
  346. ; Only affects if zend.multibyte is set.$ T3 d8 Y9 @% I) u% z5 u
  347. ; Default: ""
    / \1 ^+ k/ a8 F. r9 e  M8 H
  348. ;zend.script_encoding =/ `5 p+ U* f( P* ^: r0 a' ]% R
  349. 3 ~8 x) u; W: B
  350. ;;;;;;;;;;;;;;;;;
    7 D9 ^( T9 {% _% x
  351. ; Miscellaneous ;- R3 \0 E5 h2 o8 u6 }
  352. ;;;;;;;;;;;;;;;;;
    7 g& f( K& b, u; t

  353. 0 b7 G0 ~) p' `5 A! H3 @" M
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    # }/ T+ v/ U% L3 |3 f* D
  355. ; (e.g. by adding its signature to the Web server header).  It is no security; ~4 i- V* m5 R* `; k# Y; ^) T
  356. ; threat in any way, but it makes it possible to determine whether you use PHP" ?& x& I: U0 p! |8 X
  357. ; on your server or not.
    + x+ q* D/ R9 n7 T! r% \4 e
  358. ; http://php.net/expose-php
    $ |* C1 ?. x- _5 q
  359. expose_php = On
    ! m  Y  N2 P/ f+ t' x7 m. i1 [
  360. " A6 o- L1 k' b  [  ~# W. {3 b* o/ u! Y  R
  361. ;;;;;;;;;;;;;;;;;;;# @! r0 {3 n5 v: Y. v
  362. ; Resource Limits ;) z+ f/ w9 K7 K% J( `! D' r
  363. ;;;;;;;;;;;;;;;;;;;% I8 U, v4 e" z4 @  Z  Z

  364. % u+ Q* P  n) @% x8 T
  365. ; Maximum execution time of each script, in seconds
    7 Y9 ?6 `4 A# d4 o' m3 R8 y% S
  366. ; http://php.net/max-execution-time
    ) z5 b  f- H/ i) w3 W
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI. s/ v- J+ r' Z5 h  A
  368. max_execution_time = 300; |" V' p+ k) I* Y3 J
  369. 3 T% G' X* }; `/ z: t% n9 v* D
  370. ; Maximum amount of time each script may spend parsing request data. It's a good7 W9 s8 S# \4 q& V8 r
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly3 D* s" [( x" n( S
  372. ; long running scripts.  o( }$ e# q) b8 W
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI) Y2 C3 T3 I" h/ g2 e- u$ E) _
  374. ; Default Value: -1 (Unlimited)
    3 z) S9 L' X8 b$ O7 h; H
  375. ; Development Value: 60 (60 seconds)( w8 J& B' F& ~
  376. ; Production Value: 60 (60 seconds)/ k/ j6 V5 Z, F  J* U: [
  377. ; http://php.net/max-input-time
    # e  j  V5 f" c4 z
  378. max_input_time = 60
    1 V; v6 g3 o* c8 a) D

  379. * z2 b* S# n0 `/ ]8 r
  380. ; Maximum input variable nesting level: @2 w# K" a$ W
  381. ; http://php.net/max-input-nesting-level
    $ @" E2 q: A. y4 b# o
  382. ;max_input_nesting_level = 64$ a  Y- [( H* U! {! I
  383. - p+ S& [& I) o/ g- P+ u
  384. ; How many GET/POST/COOKIE input variables may be accepted0 ], t% ]+ y$ s8 w. X
  385. ; max_input_vars = 1000  t! M: k0 V! C) x' Q% V: N# t

  386. " ~; ]  A0 R5 ]* Q- L* P
  387. ; Maximum amount of memory a script may consume (128MB)8 N9 X# W" i5 u8 x: D# C
  388. ; http://php.net/memory-limit# u2 o* r, |4 a
  389. memory_limit = 128M1 O0 V' i0 f0 ]% D( q, j

  390. . w0 V4 q* }# F- E! r
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ( W7 t- v  U/ h& Y7 A6 l) J. P
  392. ; Error handling and logging ;
      N! Y- |7 k; h, r
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $ F. O9 o5 F+ w# Y" F
  394. 5 v1 e1 C3 X( ~
  395. ; This directive informs PHP of which errors, warnings and notices you would like8 ^9 M$ d7 T" \
  396. ; it to take action for. The recommended way of setting values for this! H8 x$ A8 ~/ [# v9 u
  397. ; directive is through the use of the error level constants and bitwise
    ) h( i/ w4 ]8 X* Y5 l
  398. ; operators. The error level constants are below here for convenience as well as
    / g7 X0 @! K( z0 C
  399. ; some common settings and their meanings.# j" W9 n1 T  ^  d" p
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 F! }4 F7 y5 [+ k
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and9 s, \6 x0 b/ v- ]- s4 k
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    $ e+ |3 y5 v% L; m( P0 o
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
      [. {2 d( G8 ]! p+ L+ v
  404. ; resources complaining about best practices and coding standards. That's what
    5 k0 ?6 R  p! I! c9 y5 {- H
  405. ; development servers and development settings are for.
    6 C3 P: _# X: M+ t
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ( x# G8 U4 r1 W
  407. ; means it pretty much reports everything which is exactly what you want during
    & L9 a3 |8 [) L: L8 c
  408. ; development and early testing.& F) }2 F- m+ u8 f" a/ S. y
  409. ;. ^0 C+ M$ l# U  z
  410. ; Error Level Constants:
    * W6 D- G$ N& G0 Y
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)3 p6 z4 U3 H$ k, x+ h3 U& z2 j
  412. ; E_ERROR           - fatal run-time errors
    / f1 u4 D2 s+ R! s
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors$ y- I1 u; e$ P8 [
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    7 o/ v6 v0 j. n, B. ]& r1 L
  415. ; E_PARSE           - compile-time parse errors
    " j$ x- i$ O6 k& M0 H
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    7 ~9 U# I" F& T: I  \5 J+ o4 c
  417. ;                     from a bug in your code, but it's possible that it was+ C; o, u7 a0 ?1 A3 g0 H
  418. ;                     intentional (e.g., using an uninitialized variable and' f4 n- F) S) k' b" W# k6 S' Y, q# @
  419. ;                     relying on the fact it is automatically initialized to an0 d5 i3 F9 T5 b
  420. ;                     empty string), e+ }( X7 B1 T% b" p
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    0 ^' ^# {) T7 t. c3 i% n
  422. ;                     to your code which will ensure the best interoperability
    - J4 {8 d4 J0 X5 c
  423. ;                     and forward compatibility of your code
    3 x/ |( n% Z8 C. A4 j* s% h2 d
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup& T- V1 v, H8 K& Y
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    * A9 _6 d9 J  q- V; B* \+ P9 h7 k
  426. ;                     initial startup
    ) O0 q4 \. T' o5 u; K+ ^
  427. ; E_COMPILE_ERROR   - fatal compile-time errors4 K# L2 N. v& u* `" W3 E
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)9 |9 Q' U- X$ ~  b! q7 t. @
  429. ; E_USER_ERROR      - user-generated error message
    6 U- Z7 }$ B9 }
  430. ; E_USER_WARNING    - user-generated warning message
    0 j& P7 p3 O! n5 |, W" E
  431. ; E_USER_NOTICE     - user-generated notice message. K) h3 |4 W: f" M6 S: H/ d# z
  432. ; E_DEPRECATED      - warn about code that will not work in future versions. Y% P) D; _5 z+ I* W$ S& n' U5 m3 w
  433. ;                     of PHP3 y2 z3 c; Y' A4 x1 h
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    - u, ^' ~% L- p( L
  435. ;/ v! V; @, F9 V$ c6 L: m: D
  436. ; Common Values:
    * Q) K, h" m4 h* n
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    1 e* m* k5 x5 B4 k6 y* S
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)0 A  b+ o2 `. f. l
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    % D* G* U7 Q, z% T- T/ v. |8 [% E# U
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    6 z$ a: V' Z6 V" Q3 ]
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED1 \. z$ v: K# B' \5 @! A
  442. ; Development Value: E_ALL* K" F* y1 e" m
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, ~) W  ^- R/ S$ W
  444. ; http://php.net/error-reporting
    8 v8 I% `' I( n; R9 k$ V% b
  445. error_reporting = E_ALL & ~E_NOTICE3 ]' J- a* U( k+ C# G: N) n/ t
  446. 8 ?8 q+ R* v% r( {% c. Z
  447. ; This directive controls whether or not and where PHP will output errors,4 |% L' e7 V8 S3 ?( L9 K
  448. ; notices and warnings too. Error output is very useful during development, but
    ; |8 A$ ~' _* T0 H9 A
  449. ; it could be very dangerous in production environments. Depending on the code
    8 D) Y* F4 J7 ]/ C+ P4 C7 v4 U
  450. ; which is triggering the error, sensitive information could potentially leak
    8 A% {! l8 ^* t# R. s8 |1 `
  451. ; out of your application such as database usernames and passwords or worse.1 d( W; L2 V1 D
  452. ; For production environments, we recommend logging errors rather than
    5 X1 t* f. b6 w  W  G
  453. ; sending them to STDOUT.3 \; _. `0 }+ X+ _4 d: e  a' y
  454. ; Possible Values:: `" J5 f1 V$ g/ l! W7 e8 F) \3 a. O
  455. ;   Off = Do not display any errors
    ; O* B( Y% Y: o% y0 e/ T( J
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    8 C3 W  K% @! F, E8 }
  457. ;   On or stdout = Display errors to STDOUT* d* B5 K3 h$ Q6 z7 n
  458. ; Default Value: On
    1 D) I. U* d1 g! S" d9 A) L
  459. ; Development Value: On
    5 i  A# S, H0 ~
  460. ; Production Value: Off
    6 a9 M+ a3 Q# N
  461. ; http://php.net/display-errors1 W% Q2 s( H) V1 {: ~4 j
  462. display_errors = On$ U# P+ J( m# z& P  P

  463. * |: J4 d3 U' p- W
  464. ; The display of errors which occur during PHP's startup sequence are handled
    ' y$ \! ?4 E$ e
  465. ; separately from display_errors. PHP's default behavior is to suppress those
      D) y+ F: M; x9 @; y) w
  466. ; errors from clients. Turning the display of startup errors on can be useful in1 n: w: t. K. X
  467. ; debugging configuration problems. We strongly recommend you
    " \. B( ?5 X, Q# ?  G
  468. ; set this to 'off' for production servers.! h2 u+ A+ V! j! q
  469. ; Default Value: Off
    " e5 z# p6 G3 J$ j6 O3 \
  470. ; Development Value: On
    4 m, l3 g6 t! J9 s" L& S8 V/ j
  471. ; Production Value: Off+ R2 _4 V5 i3 e
  472. ; http://php.net/display-startup-errors7 j/ f& |6 k. |" S* \- \
  473. display_startup_errors = Off
    6 o# q" R" A' _
  474. " g: K" m4 j/ {- q7 L% s4 ~- R3 e3 R
  475. ; Besides displaying errors, PHP can also log errors to locations such as a" h4 f1 r" C' |/ B
  476. ; server-specific log, STDERR, or a location specified by the error_log
    / V: E' z/ e7 p1 K1 L
  477. ; directive found below. While errors should not be displayed on productions! W& X5 h! H# g
  478. ; servers they should still be monitored and logging is a great way to do that./ P- P( v4 C- |
  479. ; Default Value: Off# i9 N! f( T* E" a; I
  480. ; Development Value: On2 B+ d0 J) W8 Q3 |2 k" n
  481. ; Production Value: On
    $ c7 \6 `+ h$ S' p  X: s
  482. ; http://php.net/log-errors4 C, r' t4 B2 Q
  483. log_errors = On) Y5 c& F" g/ G
  484. ; a  `! ~( V& z7 E! u
  485. ; Set maximum length of log_errors. In error_log information about the source is" V6 A& ]/ Y8 J, ^% A
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.& p" R3 j0 e1 H
  487. ; http://php.net/log-errors-max-len" E1 r, a* E8 l
  488. log_errors_max_len = 1024( a' p* f/ b5 G% k

  489. 9 y. {! U  B# m9 x- @
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ; X8 n7 o, \+ F  z* F* p, b
  491. ; line unless ignore_repeated_source is set true.: r* ^) W/ V3 s% W: ]
  492. ; http://php.net/ignore-repeated-errors
    % s4 v) L+ v/ f0 E6 m9 T: R8 P
  493. ignore_repeated_errors = Off
    ) u2 _% I3 |/ v! e
  494. 6 T0 F- q; g7 D( t" h* j" N
  495. ; Ignore source of message when ignoring repeated messages. When this setting3 e3 r8 a) P1 Y$ N0 w& ^
  496. ; is On you will not log errors with repeated messages from different files or
    " P/ s: @# w" H" Y
  497. ; source lines.& n3 t7 g  {9 [$ u6 E3 C$ C: ~9 V
  498. ; http://php.net/ignore-repeated-source1 b$ \& p2 {, G6 [4 s: \' {
  499. ignore_repeated_source = Off# H# ^/ K* b: B& K" Z
  500. , p2 N6 K. R" W9 ?( O. N+ E" L
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on) }! R1 x" y4 {: H& \
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    9 \2 ^. f2 m! W$ K! n5 _
  503. ; error reporting includes E_WARNING in the allowed list4 e& g" e+ v- r* k
  504. ; http://php.net/report-memleaks7 e' ^9 O! A0 O
  505. report_memleaks = On
    4 W& p7 o. u9 s& V$ J1 a% \1 @
  506. - g. b( o  V5 D7 r8 u3 P6 S5 g
  507. ; This setting is on by default.* F. V  U/ e& {) H% i2 B/ t
  508. ;report_zend_debug = 06 o; U2 @0 I0 _5 ^* D

  509. : x8 @9 d3 E& B7 Y; U
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    6 m1 ^, j, {) @( \- F
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    6 I4 J. c. z& G# F2 _; v$ V. ~
  512. ; however be disabled on production servers.6 ^4 `; m5 P0 N2 }0 h' a% Q; x; w& ?
  513. ; Default Value: Off
    6 t4 {0 e! O4 U
  514. ; Development Value: On$ v0 z; V0 N, d
  515. ; Production Value: Off
    ) H. G% q  J% k, N: \! W# u
  516. ; http://php.net/track-errors' Z0 z% c! d* ^0 F, c
  517. track_errors = Off: j' r2 {8 @$ N6 N0 k! C

  518. . X% Z& m5 e. s: t) r
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ' E* k6 c+ {9 p6 `
  520. ; http://php.net/xmlrpc-errors  b6 J4 Y$ K6 H% S0 m
  521. ;xmlrpc_errors = 0  D7 G- Q% ^3 m* W" @

  522. + L# `5 J* U8 o2 J- j
  523. ; An XML-RPC faultCode; B3 u% F0 j! Y
  524. ;xmlrpc_error_number = 0
    ; _, V0 m+ ]# A% h4 D* S1 h! d

  525. $ [! @8 \! `, `: F9 {. h& K
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    7 V8 z4 ^: Q8 k$ e1 s. W6 N
  527. ; error message as HTML for easier reading. This directive controls whether5 Q1 J% @5 ?* e
  528. ; the error message is formatted as HTML or not.) Y4 r7 ~* j; T# U
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI1 z9 d6 o. l. T+ k; L
  530. ; Default Value: On4 f( k2 g3 Q, w% y9 t
  531. ; Development Value: On
    : m, \' {1 f/ G0 v
  532. ; Production value: On
    , F: C$ F( w8 T: {7 H! p% ~8 q
  533. ; http://php.net/html-errors( m& P. G- _7 o) g6 ^2 J# P2 d" U
  534. html_errors = On$ @) D  O$ O0 @
  535. : m( }& }/ p1 q& @
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP9 e) u- {! L& s0 w3 U
  537. ; produces clickable error messages that direct to a page describing the error+ D6 V8 N, g' B1 p' ]1 ^" z
  538. ; or function causing the error in detail.5 s# \- p# ?( R# b
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    7 H4 N3 f; b2 I
  540. ; and change docref_root to the base URL of your local copy including the( G9 x3 g7 J+ ^* A+ W8 ~
  541. ; leading '/'. You must also specify the file extension being used including& g5 v6 X! i9 i# R9 U- \
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ' g4 Z: |5 A, K, s0 a6 M
  543. ; case no links to documentation are generated.2 Z" R3 g2 I! U* s  d- z! x- S8 F
  544. ; Note: Never use this feature for production boxes.
    6 R' {' M; w' G: H* b6 L
  545. ; http://php.net/docref-root* U8 s0 m. f! V/ ?5 a; ?" Z6 o; k
  546. ; Examples
    / S: ]3 f' K4 }  [9 {% z$ `
  547. ;docref_root = "/phpmanual/"
      O$ M) j3 c1 _0 @0 z# b9 G  M  m
  548. 9 t, \, f8 `, @! u& x' G9 ^# I/ K
  549. ; http://php.net/docref-ext8 _& b+ r: X( B6 V- z1 F
  550. ;docref_ext = .html% L! D& Z/ K5 I3 Z) D- j% [

  551. / X: P" l, R" }  o8 [; }: Q4 L
  552. ; String to output before an error message. PHP's default behavior is to leave
    9 y% d! ~$ V$ v( n# t3 H
  553. ; this setting blank.
    3 ?6 v$ V# C9 [
  554. ; http://php.net/error-prepend-string- p# o4 ]: _) ]; m! Q7 N; x- i
  555. ; Example:5 V" G0 g  P1 [$ u: N! H! b$ E
  556. ;error_prepend_string = "<span style='color: #ff0000'>"8 X/ B+ R2 r- p8 `

  557. - y2 U: {" Z1 G) o4 ]
  558. ; String to output after an error message. PHP's default behavior is to leave
    . G; \& |1 ^4 {% V# h  Z7 ?) g
  559. ; this setting blank.
    1 Y- w. |: I2 q' N) t' w
  560. ; http://php.net/error-append-string
    * `; Q! \2 e& y
  561. ; Example:. F7 D+ G! ~/ G+ ~' @
  562. ;error_append_string = "</span>"7 Z2 g: U% Z, Q0 ^9 i
  563. 9 D' b9 B" H. G1 p: {2 y* s7 B
  564. ; Log errors to specified file. PHP's default behavior is to leave this value3 k" X3 h6 D* K7 T
  565. ; empty.
    4 f4 A* |$ D$ x! U9 P7 g
  566. ; http://php.net/error-log
    1 B9 d9 X, [# p( K
  567. ; Example:* P7 K" p8 e% f% x1 E
  568. ;error_log = php_errors.log+ }$ Z& {" |4 o1 h% z
  569. ; Log errors to syslog (Event Log on Windows).6 `4 b/ I0 g$ n4 f
  570. ;error_log = syslog
    * I$ F8 W8 s' \$ B! N( q, @6 W* W
  571. 8 D" ]: C% i/ F  @: P
  572. ;windows.show_crt_warning2 ~" j: B% a3 C# e: M7 O
  573. ; Default value: 0$ y7 w! U$ H* x- `- r6 T. j- g2 ]  b
  574. ; Development value: 0
    * `, H! W. G- R0 N# l( B7 v8 r
  575. ; Production value: 01 Z# m9 n0 v3 V4 m

  576. + P& I7 }7 N. q. l$ N0 ?" y7 d9 t* m
  577. ;;;;;;;;;;;;;;;;;
    5 |! m8 Y) M1 w& y
  578. ; Data Handling ;; T7 D" L3 m6 H2 F) `! u
  579. ;;;;;;;;;;;;;;;;;, l2 c4 x9 |' r. h+ a8 }7 W* y
  580. , t- `( {" ]5 G- e2 f) R
  581. ; The separator used in PHP generated URLs to separate arguments.
    - \' u7 k3 C$ L
  582. ; PHP's default setting is "&".
    2 j+ Z: }: Z3 v6 l9 W/ J. H3 E
  583. ; http://php.net/arg-separator.output
    * U& ]6 `& c; {% v+ Z1 p6 u: J! u
  584. ; Example:
    & k4 t! L( r+ |" T
  585. ;arg_separator.output = "&"
    ! e+ T5 y+ z3 M* ?; A

  586. / y* z# _! i9 J8 s
  587. ; List of separator(s) used by PHP to parse input URLs into variables." y7 ~5 d0 t3 F5 ]+ q: i. X$ K9 H# X
  588. ; PHP's default setting is "&".6 _, Y( E) Z5 B$ \5 V
  589. ; NOTE: Every character in this directive is considered as separator!
      D$ Z0 R3 A. T8 {
  590. ; http://php.net/arg-separator.input6 o3 L1 S0 Y/ O5 e/ t; K
  591. ; Example:
    ! L3 m4 V) g* `* N
  592. ;arg_separator.input = ";&"+ }% o4 V$ R% K6 V( @

  593. ( q3 A% \7 J: z! U& N
  594. ; This directive determines which super global arrays are registered when PHP
    1 n. D% V# t/ a2 D4 V. |9 M
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super% u  @8 M- r( A7 y
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty8 [  O( i  r1 B# N* f: I% ?) {8 F
  597. ; paid for the registration of these arrays and because ENV is not as commonly9 c# p. g2 H+ \
  598. ; used as the others, ENV is not recommended on productions servers. You
    ) _) F6 M  [1 _: C$ _: S7 _
  599. ; can still get access to the environment variables through getenv() should you& H: U: A# p/ o2 V9 S/ u- O& @
  600. ; need to.
    3 i1 [2 ?3 w+ z! O$ i, `
  601. ; Default Value: "EGPCS": C' Z6 i; L. u* R% p% ?
  602. ; Development Value: "GPCS"
    + V! l3 U) G) z
  603. ; Production Value: "GPCS";
      B  r# K( ], M. E7 \. T% R; c
  604. ; http://php.net/variables-order
    7 A) s1 M) Z8 u$ d" `  @
  605. variables_order = "GPCS"
    5 A: H) g: b0 w/ j
  606. ! I: r5 N% ~4 ^$ t( }- n+ K* e
  607. ; This directive determines which super global data (G,P & C) should be6 o, q1 i* c4 V- v. X; s
  608. ; registered into the super global array REQUEST. If so, it also determines  `7 X  V% @# L3 g; m* c  ~
  609. ; the order in which that data is registered. The values for this directive9 i9 @6 e# K5 p/ l1 w4 S
  610. ; are specified in the same manner as the variables_order directive,
    : d9 S3 a# Y- Z0 T5 j( w$ F" }
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set$ j( o# {* X$ I: k5 }7 V0 Y
  612. ; in the variables_order directive. It does not mean it will leave the super4 }$ X: q% C0 N* {8 Y
  613. ; globals array REQUEST empty.* X& g. i' \6 o: o1 i' Y
  614. ; Default Value: None" k& P) Q0 Z( ^& c6 }) p- U) [5 T
  615. ; Development Value: "GP"
    ! V, G) g6 B: q) A5 Y
  616. ; Production Value: "GP"/ @1 W* l% `( R6 J9 a& G
  617. ; http://php.net/request-order9 ^% S0 W7 F& s! U
  618. request_order = "GP"- z0 ]2 d' J0 m" y7 m
  619. , `% |% `) u- U( T$ r" @0 t
  620. ; This directive determines whether PHP registers $argv & $argc each time it4 Q* e- o9 w1 c
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script( ?7 ^3 H7 ~' V+ I7 x7 a  D) P+ y: e
  622. ; is invoked. $argc contains an integer representing the number of arguments7 q/ _3 d* m- j# m' u8 X2 y
  623. ; that were passed when the script was invoked. These arrays are extremely+ ~" ^6 b0 u% `- u& p; @. v
  624. ; useful when running scripts from the command line. When this directive is
    ; d7 a# t$ x% b  z7 I5 F9 ?3 z" Z1 I1 m
  625. ; enabled, registering these variables consumes CPU cycles and memory each time, G9 |0 W! F) P6 N( A3 o
  626. ; a script is executed. For performance reasons, this feature should be disabled
    7 B, L0 e1 x& J. p" m
  627. ; on production servers.
    1 Y1 X& M. L& c% S8 @
  628. ; Note: This directive is hardcoded to On for the CLI SAPI' ~! M  p1 L; C4 S2 U- x9 b, Y; F
  629. ; Default Value: On
    , O% h9 {0 Y4 y3 |- \! f5 k" \
  630. ; Development Value: Off$ C: }% t- ~0 h5 |
  631. ; Production Value: Off
    7 e8 c& w4 P1 n8 ^; k3 W
  632. ; http://php.net/register-argc-argv5 v* V# }6 {  |
  633. register_argc_argv = Off6 N4 U) e2 J, S% b) l

  634. 2 X% S. f  K- U: ~0 E2 x
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're' D. b  J& \: L' z. S7 f2 c
  636. ; first used (Just In Time) instead of when the script starts. If these
    ; b3 {4 N3 ^! }! ^% a0 ?
  637. ; variables are not used within a script, having this directive on will result) x& ^' R- K: }9 j. x- Q
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    2 |. J1 n, t# I
  639. ; for this directive to have any affect.6 x2 p- L. D) t4 }# A2 M
  640. ; http://php.net/auto-globals-jit
    ' l, w' l! ~$ I5 N: Q+ S  V
  641. auto_globals_jit = On/ Q1 t, s9 U, q3 h# @% y* C

  642. - U; T+ I+ Q: X8 z% j5 {
  643. ; Whether PHP will read the POST data.( U" T( ?" M# C9 p/ B, n
  644. ; This option is enabled by default.+ R  B  A0 o+ H, h
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    & j# v4 @3 x3 I2 p" D
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    ' A1 V6 k# z; P7 D' K, y' y2 P
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    + R+ ]2 }4 n" r1 M- d' D
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.' q- R( ]% q1 f& {6 c; j' C: Z2 z8 J
  649. ; http://php.net/enable-post-data-reading
    9 v5 b4 l0 }3 }. O
  650. ;enable_post_data_reading = Off# x: H/ _0 H! K  [( D

  651. : a8 g1 \7 U9 @. m  J( n2 {* Q1 n, \
  652. ; Maximum size of POST data that PHP will accept.
    / i( d# N! D2 x7 F/ U: X1 a$ F9 h
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    - C; m, a6 s7 B* r. u
  654. ; is disabled through enable_post_data_reading.% S& {; v  e! |# m1 e6 F
  655. ; http://php.net/post-max-size% u/ O6 A4 w9 \1 k( v
  656. post_max_size = 50M
    4 F7 o' ?+ ?7 \/ {& `
  657. 5 r- a8 l5 r. D$ }
  658. ; Automatically add files before PHP document.; E& I: q; P& a+ A! n1 u
  659. ; http://php.net/auto-prepend-file
    / Q' p" P/ T" ^/ r0 T
  660. auto_prepend_file =
    ( J$ z% Q  [; U; \- E  {
  661. 7 W. o% S* }9 e# ?' ?* m( v
  662. ; Automatically add files after PHP document.1 W4 P- G  X* Q) z. ^
  663. ; http://php.net/auto-append-file
    5 Q" x. `: W0 t- I. `( v
  664. auto_append_file =
    0 I& H& y1 |. W

  665. . m% H4 e) S9 {/ \
  666. ; By default, PHP will output a media type using the Content-Type header. To
    9 k6 r( O" k$ J
  667. ; disable this, simply set it to be empty.
    9 ?) m& Z; \5 K
  668. ;4 w- i5 C1 ^, U; \! q  c1 l+ S
  669. ; PHP's built-in default media type is set to text/html.8 R5 g5 M1 Y+ v
  670. ; http://php.net/default-mimetype8 `8 B( C8 [- Y$ O# |  v  p7 ?
  671. default_mimetype = "text/html"6 G: J1 k5 F3 H0 v" b' F
  672. & u: {7 e; M; _* @# I
  673. ; PHP's default character set is set to UTF-8.
    1 x' l8 f+ o8 z/ g7 x: _
  674. ; http://php.net/default-charset
    : C5 P; _$ @3 {8 |9 \
  675. default_charset = "UTF-8"
    # x' C; x' _5 e! U

  676.   e  Y' h5 H8 |7 N1 Y! c4 p$ q  m0 E2 U
  677. ; PHP internal character encoding is set to empty.% N% I& J3 y" y1 h5 w* L
  678. ; If empty, default_charset is used.5 g+ d* U+ }% ]6 T" G1 j$ r
  679. ; http://php.net/internal-encoding
    ! i3 R& l& e& S& n$ y, u3 u  y& m
  680. ;internal_encoding =1 ?( R+ B" D; l, j& Q& B

  681. " q, ?. {8 V4 i3 {. j
  682. ; PHP input character encoding is set to empty.4 B2 _; F; h- y9 r% E2 E- q
  683. ; If empty, default_charset is used.( b9 r% \/ s( n! E6 E- f2 G
  684. ; http://php.net/input-encoding+ t0 C3 c6 b. }1 z( v  d: [
  685. ;input_encoding =
    0 e  A. t5 I; }  Q* i4 [8 n

  686. 6 j; K( q+ W* D8 {6 s
  687. ; PHP output character encoding is set to empty.  E! u" ]) c* y" q3 o
  688. ; If empty, default_charset is used.
    7 \8 q8 m% @2 ^. p% r7 w1 \
  689. ; See also output_buffer.5 ^5 N' H3 z4 c3 e! c" G
  690. ; http://php.net/output-encoding2 n! @" J0 n% G+ o$ Q6 E% D4 `
  691. ;output_encoding =* g5 `" r$ s' W/ M- H

  692. * U) z4 ]) z6 g5 x  Y
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    5 R0 f3 y) U$ [5 C  L6 Z
  694. ; Paths and Directories ;
      O+ h7 F% A' @* P
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;+ Y# B0 a7 ]! G% k; @. p

  696. & n7 G$ f% W6 Z/ x0 s: c
  697. ; UNIX: "/path1:/path2"
    3 \" r7 M% N% F" X2 e! @
  698. ;include_path = ".:/php/includes"
    / }6 ~2 E* y7 ]/ S; V
  699. ;5 E# Z0 A2 a0 E; G& B* G
  700. ; Windows: "\path1;\path2"
    ' Z! X' P, P# y$ @# w" `
  701. ;include_path = ".;c:\php\includes". x  X" {$ T) d4 {# q2 V: z1 `5 [, A
  702. ;
    - @$ h; S  A8 U  e7 j) M/ p
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    7 ]+ t# V/ a6 _6 K. M" h7 i8 Y3 p+ h7 j
  704. ; http://php.net/include-path
    1 T% z: r$ ^8 k" U: m

  705. 9 W# n6 a% A! N% a
  706. ; The root of the PHP pages, used only if nonempty.
    7 t/ v1 g* V7 Z3 @
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root2 p; b6 l% o7 L4 F- ?" c& [
  708. ; if you are running php as a CGI under any web server (other than IIS)
    3 ]$ {9 c: S/ \! I; ^$ v
  709. ; see documentation for security issues.  The alternate is to use the
    + a/ e$ N% n2 @' O* i
  710. ; cgi.force_redirect configuration below
    % F& H, q, k, B$ r, w
  711. ; http://php.net/doc-root, W7 j7 ?# {4 ]; w
  712. doc_root =$ _. n- O6 N+ g0 ]7 W

  713. ' Q0 D' k0 `/ T+ r$ g
  714. ; The directory under which PHP opens the script using /~username used only
    8 W) y, ^) q0 m5 C: D' K
  715. ; if nonempty.
    ' B5 s6 V. C( _$ ]
  716. ; http://php.net/user-dir
    ' p) f& R. B+ A" Y. a
  717. user_dir =* p  ~( p0 X6 H6 S( g
  718. 0 s2 t& Y% Y% Z6 L
  719. ; Directory in which the loadable extensions (modules) reside.* M. U5 J/ W% C1 j% B8 {8 C0 E
  720. ; http://php.net/extension-dir1 b$ D5 W% G+ m+ S
  721. ; extension_dir = "./"3 V- X( N( w; J$ u9 j( o: V; e% Y
  722. ; On windows:
    6 [( ]7 i8 T+ g, s& M/ H4 ~
  723. ; extension_dir = "ext"
    # n* q# q! Q; I

  724. - S7 R! K& ^" P1 X; g
  725. ; Directory where the temporary files should be placed.
    * g1 S8 c* I/ ~6 E$ Z5 G3 g# ^
  726. ; Defaults to the system default (see sys_get_temp_dir)
      s. _. v- g& u  L5 e  j& F" m+ |
  727. ; sys_temp_dir = "/tmp"4 F% n* o2 r6 f" _
  728. / G! o4 \. x" e+ |0 e9 q
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work0 k; |  i5 R/ l1 ]- C- Q
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    - _# q+ }' Z" v2 e
  731. ; disabled on them.  S% d6 o- S9 Y
  732. ; http://php.net/enable-dl; s0 I& s& r/ v" q
  733. enable_dl = Off9 m7 A' [1 F7 \$ |
  734. 4 Q" \* ~4 M, }0 B7 D
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    - N/ |: F, ~: D2 M. T& J
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    / K( N  B& |1 i3 L
  737. ; turn it off here AT YOUR OWN RISK- v' \) |, d+ J( i2 X
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
      A2 |7 B1 ^% k3 N' \. Z
  739. ; http://php.net/cgi.force-redirect" Y6 P& E7 a/ k: d1 _! d6 B# _
  740. ;cgi.force_redirect = 1; a# p  |, G) H4 G5 n* ^  x7 [! Q

  741. 1 ?& V& U6 @1 q
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with; b7 U* d$ ]% U
  743. ; every request. PHP's default behavior is to disable this feature.1 a7 i7 e# b( E% q
  744. ;cgi.nph = 14 V1 y5 {- B6 {; }

  745. : A/ y+ w7 Q# y  U
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape1 s! t! f4 h/ s5 N/ X5 u
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ( @6 S5 k2 g$ U4 d
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    1 H* t  A; I4 }' l, k3 |/ w( s6 w
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    : ?8 O/ I, n; M2 \7 U7 r7 E
  750. ; http://php.net/cgi.redirect-status-env& Y- T, X2 e6 a, S! F5 v
  751. ;cgi.redirect_status_env =, d  e& J! G: ]/ Q
  752. ( Y( A; L6 p% e! i% F
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's: T; J+ c, |. g0 k" D4 O
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    " W8 y! q1 A# f+ c% l7 T; o
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    0 n, K9 S$ N0 y) Q6 t- }
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
      U7 Y+ s" m! z' @/ p& d% K
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts) o" o4 W& j$ M; o- Z8 p1 @
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ; v7 i9 V* P: d
  759. ; http://php.net/cgi.fix-pathinfo
    / _+ C) w  `4 k" x" f9 y8 i/ B
  760. cgi.fix_pathinfo=1
    5 `. i# I: S: r9 E. R

  761. ! v1 |  c, t' H) m: E7 ^
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside. M6 {% H+ H% x% f
  763. ; of the web tree and people will not be able to circumvent .htaccess security.; H& H; _$ g" O! `& H" ^# {
  764. ; http://php.net/cgi.dicard-path4 ^4 ?5 f/ F- h" c! j" b
  765. ;cgi.discard_path=1
      G/ R! w! g0 I* J) S' z

  766. & h( F( j7 ~& `1 A+ b* `5 P2 n
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ) \% x$ t( n% _  Z- ^- ~+ ]
  768. ; security tokens of the calling client.  This allows IIS to define the
    2 J& P$ j& D' |3 \5 E/ T4 I8 `
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    . O. O+ q5 K+ o" z  K
  770. ; does not currently support this feature (03/17/2002)1 m: Q3 G! [7 J. e6 Q! e
  771. ; Set to 1 if running under IIS.  Default is zero.
    # v( o4 a1 q  U
  772. ; http://php.net/fastcgi.impersonate# _8 k6 t' p6 ~& i( S, D8 }
  773. ;fastcgi.impersonate = 17 U! V" v, B* N
  774. + u& @$ ]; G; b1 [3 b) K' D
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    + Q5 _) R5 z" @/ k
  776. ; this feature.  z- W  L) _: u' C1 @3 k! P
  777. ;fastcgi.logging = 0
    * x0 B; C9 [$ k0 I$ v# ]
  778. & S0 D( ]" s8 W" C4 I
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    . M$ Z# M4 v5 |
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that/ C2 D- _1 @- Q) V
  781. ; is supported by Apache. When this option is set to 1, PHP will send7 ^" P+ K, j1 X1 |; Z1 `; P6 {. u+ e
  782. ; RFC2616 compliant header.
    % E  A6 L$ q1 {9 i- [
  783. ; Default is zero.: p! ^8 m7 T7 u
  784. ; http://php.net/cgi.rfc2616-headers2 t7 q+ Z, N* k" F1 z/ i$ i2 L2 m3 D
  785. ;cgi.rfc2616_headers = 0
    2 V7 s3 R" l& [

  786. : o+ a/ ~9 h2 x2 o
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ) P2 g0 _7 p. |/ D" r7 H6 g  }; b
  788. ; (shebang) at the top of the running script. This line might be needed if the
    7 Y( c3 v2 Z3 p8 \: ]
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI6 H3 [$ T2 L2 y8 g
  790. ; mode skips this line and ignores its content if this directive is turned on.
    % E8 t0 |# g8 v8 L1 f
  791. ; http://php.net/cgi.check-shebang-line- D# Z+ `  d: i- Y! b
  792. ;cgi.check_shebang_line=1
    % a0 C4 \1 g& f8 F2 b& C- z

  793. 8 M$ S" a% K/ }( g& d( A
  794. ;;;;;;;;;;;;;;;;" m0 f0 F- M% o( i- i6 {1 c
  795. ; File Uploads ;
    8 ?4 w1 z0 E2 N
  796. ;;;;;;;;;;;;;;;;
    * _; N" ^' m1 q( z8 D% x! D

  797. ' ?& }3 h* x, V. w$ ~! H
  798. ; Whether to allow HTTP file uploads.& l7 p+ Z% z+ W# a! _0 c
  799. ; http://php.net/file-uploads
    2 b: l4 H% q9 `. s
  800. file_uploads = On( b4 `3 w: z6 m1 e! O# K

  801. * u  O: B1 U# _
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ! e. D' `, {, y: W# s
  803. ; specified).
    # n1 |1 h2 Z/ o; W7 J9 Z8 r
  804. ; http://php.net/upload-tmp-dir# E4 g! w/ z* C
  805. ;upload_tmp_dir =5 \$ C1 D6 Q$ f' I8 ]% i" ^
  806. & }: g% G: V# n* l! b/ _) d: c  f
  807. ; Maximum allowed size for uploaded files.
    1 B& A: V3 T; O
  808. ; http://php.net/upload-max-filesize
    % q1 M4 F1 ]* R9 F
  809. upload_max_filesize = 50M) b1 k  @/ D3 W# h1 k2 v# f: j4 K

  810. - R/ a/ N: a! Y) s  t0 j" _
  811. ; Maximum number of files that can be uploaded via a single request7 I: s9 h6 W/ X+ h: ~, Z6 Z
  812. max_file_uploads = 20' a3 b- F2 Y+ Z/ }" M
  813. 0 W- m5 _& q9 |
  814. ;;;;;;;;;;;;;;;;;;# x) p% l- y  _  c0 L/ s
  815. ; Fopen wrappers ;
    7 C- F( X6 k  Z" I
  816. ;;;;;;;;;;;;;;;;;;" E6 F+ o9 k3 ^6 C: b" r* c
  817. 6 X0 C9 q$ g4 p3 j
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.$ h1 Q" t$ v5 ?: T
  819. ; http://php.net/allow-url-fopen  F* E; W5 Z5 S3 h1 J& z
  820. allow_url_fopen = On
    , K4 j3 s7 ^0 h) \: t% G

  821. : X7 f* e2 N, K
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.# g0 b5 a: t+ c
  823. ; http://php.net/allow-url-include( H6 A) A) a' e
  824. allow_url_include = Off* g6 g' }0 @5 B& f/ L. y

  825. * Z9 i* n/ Y0 i
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    . G) I$ j( R8 [
  827. ; for this is empty.  F  |3 @; m8 C3 }
  828. ; http://php.net/from
    / u+ U, n& u* O9 N1 |7 V
  829. ;from="john@doe.com"
    ; l3 |# F6 X" v* Q! j
  830. $ `8 p) U4 J7 Y' ?, P
  831. ; Define the User-Agent string. PHP's default setting for this is empty." `' ^" ]) \. P" r
  832. ; http://php.net/user-agent
    . j3 J- C( l1 R* }
  833. ;user_agent="PHP"6 E5 ?/ b: z  H7 a

  834. : |+ A  U  }& Y' Z
  835. ; Default timeout for socket based streams (seconds)& A' q8 l1 m, {
  836. ; http://php.net/default-socket-timeout6 ]* y1 [& f4 W2 z/ c+ e
  837. default_socket_timeout = 60* M& Y8 E' a) S% Q: Y& o+ o
  838. ) @. Y" G: l6 {6 A1 x3 ^
  839. ; If your scripts have to deal with files from Macintosh systems,
    9 P: ^2 @' I! s; e3 R
  840. ; or you are running on a Mac and need to deal with files from
    + ^! w5 c0 |. @# N9 y
  841. ; unix or win32 systems, setting this flag will cause PHP to
    $ w# B3 W; Y; ^
  842. ; automatically detect the EOL character in those files so that" E+ ~$ O, }; F+ \) s- D) b  {
  843. ; fgets() and file() will work regardless of the source of the file.
    ) }/ F1 Z9 S1 F* f) f. ^# m
  844. ; http://php.net/auto-detect-line-endings) L) ?% M" r( P
  845. ;auto_detect_line_endings = Off
    * f( s0 ]+ u. J( ?

  846. $ F2 n4 i) }+ q6 z0 _3 l4 a8 G' U
  847. ;;;;;;;;;;;;;;;;;;;;;;* }, g1 Z! S  A) h/ `
  848. ; Dynamic Extensions ;
    . Q/ \( x1 q: P
  849. ;;;;;;;;;;;;;;;;;;;;;;
    9 j  Q2 u) A& o9 w6 J

  850.   {2 \5 T& t0 \; e
  851. ; If you wish to have an extension loaded automatically, use the following6 {4 C; u& p, D/ j
  852. ; syntax:
    + e2 }; ?) {3 k+ M
  853. ;/ Y% Y) L  s% B( A6 N6 b* L9 }
  854. ;   extension=modulename.extension
    3 V6 d/ S) q+ o! a/ V/ L
  855. ;
    ; D9 o2 z$ k0 y# n6 s" r8 a
  856. ; For example, on Windows:4 K$ R8 J3 z2 O1 u  e
  857. ;
    6 y+ g, R0 c9 `; L
  858. ;   extension=msql.dll
    % m7 ^% L8 w6 }; b( w0 K2 d! a4 \8 C
  859. ;- Y9 ~5 }6 T3 Y0 [. D
  860. ; ... or under UNIX:6 w2 m( v) F5 _* I( K5 M
  861. ;& d" m4 ^0 W* X% O! b( A! _0 a  f
  862. ;   extension=msql.so
    2 y$ R+ F, O# _/ [
  863. ;
    . _# @$ {/ m, k9 \/ T7 k
  864. ; ... or with a path:% E! R- ?" ]2 O* g- Q: w
  865. ;" x& \& x1 M8 _: K
  866. ;   extension=/path/to/extension/msql.so
    2 D( b8 o3 A/ s! v' X
  867. ;
    5 k: S$ ^6 |/ x6 j  e' {
  868. ; If you only provide the name of the extension, PHP will look for it in its& f7 h5 }" s& j0 k# r0 r( ^2 h' L) D
  869. ; default extension directory.
    * `; I3 ~8 [4 ^. j* u9 E# @
  870. ;
    6 \5 h3 d- z. W$ `1 Y0 x1 g
  871. ; Windows Extensions( @* d* Y/ r9 n# d
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    + B. C% J& h8 |1 ?, ?2 Q
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)3 S9 x8 S2 r" _: ?1 c
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    4 T/ L! t+ ]* \  W
  875. ; Be sure to appropriately set the extension_dir directive.
    1 b3 q( k  ^- E! s# }3 N
  876. ;
    8 s# s: |' D$ G
  877. ;extension=php_bz2.dll4 [! T( b# M5 k6 Y1 d. A
  878. ;extension=php_curl.dll0 S" c! b8 n  U
  879. ;extension=php_fileinfo.dll
    ' Q( b, n( J) ?! G8 ^* n3 B
  880. ;extension=php_ftp.dll
    - O2 F) ^- T+ S
  881. ;extension=php_gd2.dll
    + r' ]0 D' O1 {2 I$ U
  882. ;extension=php_gettext.dll
    . u0 D8 }7 d+ o7 X
  883. ;extension=php_gmp.dll9 g" O/ |* G, Q' |9 e
  884. ;extension=php_intl.dll+ m, X+ h( k  E; H; I/ t" X
  885. ;extension=php_imap.dll
    . ^  N3 Q) v" C! h7 A, ^
  886. ;extension=php_interbase.dll; J. C- t, B* s. w/ C, \
  887. ;extension=php_ldap.dll
    ( U1 }+ U, N* B! r" \6 S* B9 J# W
  888. ;extension=php_mbstring.dll7 H; U0 S0 C1 I4 W
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it( M: M4 Q* m3 q
  890. ;extension=php_mysqli.dll
    1 U7 G6 u" @1 }+ {3 a- `$ d
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    9 s" _; s6 U8 p; R- }5 _/ [2 |
  892. ;extension=php_openssl.dll
    - t" Q3 P5 L% M# H! [3 J
  893. ;extension=php_pdo_firebird.dll3 q! ~8 f: J/ h; N
  894. ;extension=php_pdo_mysql.dll  E2 O8 {2 H, g6 ~  X8 v
  895. ;extension=php_pdo_oci.dll
    6 Q, {  V- r& B7 n
  896. ;extension=php_pdo_odbc.dll
    ( n* G) ?" e3 {6 w; D1 I  K4 q1 q% W; e
  897. ;extension=php_pdo_pgsql.dll
    2 Z, K8 N7 Q# T; N
  898. ;extension=php_pdo_sqlite.dll
    ; ~/ b# @# P9 _, T7 G0 t- @8 f) r
  899. ;extension=php_pgsql.dll* [7 h: _) ]% ^, i
  900. ;extension=php_shmop.dll5 h/ T6 Z8 v! C( u' K" w9 {0 {
  901. 0 d. R$ P; S" H. J( v0 f
  902. ; The MIBS data available in the PHP distribution must be installed.8 a2 T; D2 o/ C( E! Z; z0 H% c
  903. ; See http://www.php.net/manual/en/snmp.installation.php; ~5 v' n$ P, r  o; \
  904. ;extension=php_snmp.dll) A/ N, A6 h! ^* t0 ~6 q2 B7 a
  905. $ t6 B$ X/ }! G! V
  906. ;extension=php_soap.dll
    $ y( w0 v! ?9 s& F9 ]% q
  907. ;extension=php_sockets.dll" Y5 G7 V7 l2 l+ v2 j% s: y
  908. ;extension=php_sqlite3.dll# h6 J; k- }3 [, R; _
  909. ;extension=php_tidy.dll1 P' V  S8 ?8 K+ H4 O7 ]8 [: ~' n
  910. ;extension=php_xmlrpc.dll5 x  h, Y4 T& T
  911. ;extension=php_xsl.dll* T7 F$ |2 t* Q1 w& n/ s! T

  912. 6 h4 }' v. f( e" S+ s# O0 m8 n5 \) |
  913. ;;;;;;;;;;;;;;;;;;;9 ?; C& e& H8 H, z5 j
  914. ; Module Settings ;( V. \: b; u* c. ]" z) U& n7 Q
  915. ;;;;;;;;;;;;;;;;;;;
    & M- y' q6 l* @& T; ]
  916. % |$ c3 L* j' ~; a1 M5 h
  917. [CLI Server]# Q/ x. d+ W, G9 m1 H$ N2 s# F  p
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.# W! n+ T6 w1 P! ?- s
  919. cli_server.color = On2 a' y# x4 B' h. y( {& l4 U

  920. ! K: q0 J& {1 B  ?# A7 g
  921. [Date]) C5 `# M! A- k& J! ]
  922. ; Defines the default timezone used by the date functions2 W# F/ r' q" }
  923. ; http://php.net/date.timezone
    0 i: z' e( R- d
  924. date.timezone = PRC7 y/ j1 f) g( _" U

  925. 3 @9 F; D$ J/ z2 M! W0 e7 r
  926. ; http://php.net/date.default-latitude% h. T* O& d4 i0 r1 o; V
  927. ;date.default_latitude = 31.7667
    * E) R) \+ Z4 D+ y5 o% I# H  a( ]
  928. 0 N/ [1 X2 q. y2 K% |8 ~
  929. ; http://php.net/date.default-longitude
    4 U, v( r, O( E
  930. ;date.default_longitude = 35.2333
    6 R: a1 G9 X" O
  931. 5 c1 ~9 Y6 {' c0 @; V5 c( q- `4 o# z
  932. ; http://php.net/date.sunrise-zenith" G& D) H- \8 Q0 q* N, y* N  q
  933. ;date.sunrise_zenith = 90.583333
    / C' R0 M: {7 u5 a% ?/ u7 C
  934. 4 p  ?& X- A" I  ^6 }4 c1 k7 P
  935. ; http://php.net/date.sunset-zenith- b0 f, b$ U1 u3 H+ c( m
  936. ;date.sunset_zenith = 90.583333. t3 T) J+ _2 m  h% v
  937.   R  {2 {9 R  a& v8 J2 j+ y7 C3 a6 c
  938. [filter]3 q) G! k( S+ s( n
  939. ; http://php.net/filter.default0 g% i, Q0 X- d9 d/ n% I5 z
  940. ;filter.default = unsafe_raw/ u3 l8 |& @; _

  941. / \) v8 A8 R, n: E8 k) f! ^
  942. ; http://php.net/filter.default-flags
    ) L7 }- b. ?  |9 s) ~. s' v
  943. ;filter.default_flags =) J# S- v6 o$ j: l1 y: n

  944. 6 p* Q/ k9 V4 R1 B! m7 N
  945. [iconv]9 N3 D( f0 q: L8 W
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    2 p/ y5 O0 `! _: d* C0 f
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.: L- @9 n+ T) X& i! \+ _+ o2 |
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding. O: v2 I1 f  K& L$ y5 z+ ]0 z1 ?
  949. ;iconv.input_encoding =# [; R9 ^3 o6 s+ x
  950. - T' n) e! ~: [: z
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.1 U  t$ n1 E; s& G
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 Q& a& `- B! F. U* c
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 O0 @9 r, k$ X7 a* ]$ `3 q
  954. ;iconv.internal_encoding =* ~8 E/ ^: U! ?

  955. # B7 [. N9 K* V
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.' w4 b0 W7 ?; p+ }% v) t
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    + y- {8 e0 I, Q5 T$ {& @
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding( J' @8 m% g, v, @. S
  959. ; To use an output encoding conversion, iconv's output handler must be set
    " U7 B" Z. B  U* w# y
  960. ; otherwise output encoding conversion cannot be performed.0 }' i2 `1 \5 Z+ b
  961. ;iconv.output_encoding =
    9 g" e4 K6 x6 G% q
  962. ! \# t+ u4 g. m3 }$ G
  963. [intl]$ r* X2 g: e: L% u$ G
  964. ;intl.default_locale =. O2 h8 L2 M7 x4 ~
  965. ; This directive allows you to produce PHP errors when some error2 T: J# @8 H/ W. I( S# @1 `
  966. ; happens within intl functions. The value is the level of the error produced.0 z" h, P$ L$ r$ ^$ S4 d& J
  967. ; Default is 0, which does not produce any errors.- w+ W5 K4 e# V1 D8 _7 o
  968. ;intl.error_level = E_WARNING
    4 [. V1 f, T: i! }, Z3 m" y* E$ z
  969. ;intl.use_exceptions = 0; d5 @3 c# o! A: ?

  970. 0 P& U' e8 v3 D. \, M9 z+ Z5 c
  971. [sqlite3]
    # s4 t# `* }5 K
  972. ;sqlite3.extension_dir =
    , i1 A& v. I( }7 m) z; T

  973.   ~3 h/ n0 b$ |5 e, X) u& \$ F
  974. [Pcre]
    # m9 N  z1 j0 X2 B/ W. B2 I
  975. ;PCRE library backtracking limit.( _9 ^' S7 w3 o' V* T2 P; _8 p
  976. ; http://php.net/pcre.backtrack-limit3 |, V" F2 x. J+ A! I1 T
  977. ;pcre.backtrack_limit=100000
    ' ^' o9 k; Y* Q

  978. ! i# J4 o" p6 @' r
  979. ;PCRE library recursion limit./ a6 m  f) r) ~( \# b% l
  980. ;Please note that if you set this value to a high number you may consume all
    5 {' q; `; ~; n9 ]9 h5 ]% S
  981. ;the available process stack and eventually crash PHP (due to reaching the
    - I5 m' z# j* ^
  982. ;stack size limit imposed by the Operating System).1 L; E8 R( ^2 l1 Y# M) N
  983. ; http://php.net/pcre.recursion-limit8 F: w6 b  E+ J+ _# G
  984. ;pcre.recursion_limit=100000% H* R9 ^1 Z# _
  985. & _$ z0 `: @' Q4 J# `2 w1 U' S  q
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    " G6 ?/ N  h+ d6 a* ]( e
  987. ;library to be compiled with JIT support.
    - \. E. W; h9 s5 v; A- \$ W1 Y0 i2 F) Y$ \
  988. ;pcre.jit=1
    . @/ W0 J5 u& g  A7 q
  989. 9 k4 W# x5 p% m0 q: Q
  990. [Pdo]
    # |" j8 J: K/ B
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"+ y6 h# g# V. T- ?* `
  992. ; http://php.net/pdo-odbc.connection-pooling# X# [" }1 R: }
  993. ;pdo_odbc.connection_pooling=strict
    , v; L( C& }) p" E. Z

  994. . b- ^) I+ q- \) U# W: V! `
  995. ;pdo_odbc.db2_instance_name
    9 n$ q+ @: q! p  x) k, U

  996. . O+ Q" F0 w5 ?+ [1 ~, j
  997. [Pdo_mysql]
    + p7 V$ ~6 \+ G* d- A0 b8 t
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache6 M( |& Q& q7 {
  999. ; http://php.net/pdo_mysql.cache_size, Q& X  G; B5 t7 v  f8 p
  1000. pdo_mysql.cache_size = 2000
    / x$ \; R/ \7 v$ c, b$ F" C
  1001. * k' h, t2 Z+ ?& p) ~
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ f1 R3 `8 u, \
  1003. ; MySQL defaults.( D9 t. I/ c, ?
  1004. ; http://php.net/pdo_mysql.default-socket
    ( o0 X  N* O  F9 y* l* I6 ~
  1005. pdo_mysql.default_socket=
    ! [6 }8 a. n3 H

  1006. . {9 H3 @( m( V) q$ l8 ~! V
  1007. [Phar]
    1 n! L! `1 g. d% v7 r' ]7 U0 i* x
  1008. ; http://php.net/phar.readonly
    4 s" b3 Q' }5 v
  1009. ;phar.readonly = On+ s7 q3 S" [; C  u4 o! x- Z2 l

  1010. ; ~2 K. X: q2 C  @5 _" J
  1011. ; http://php.net/phar.require-hash* A! R( m3 O# l* s$ U( b% i) d5 `
  1012. ;phar.require_hash = On) l' c9 [. S5 Z2 {& Q

  1013. * @3 }9 I) w2 D; e; m5 `
  1014. ;phar.cache_list =2 B+ g4 S) |: y/ n% d! T3 m

  1015. ' L0 ~- Z: F8 b# u" B
  1016. [mail function]7 H/ L# q. S# J) q& @$ h
  1017. ; For Win32 only.
    : {) L& o& R- O8 D/ y6 }% w* i. W
  1018. ; http://php.net/smtp
    $ m* x) ]! D# \' {
  1019. SMTP = localhost; m& V% {/ [$ F0 n) T, Y
  1020. ; http://php.net/smtp-port! ?5 ]1 F* ?' k7 ?. O" h; i! L
  1021. smtp_port = 25
    ! p* W' }4 u0 ~3 v( g# D' f
  1022. * q3 c: R3 ~1 r
  1023. ; For Win32 only.
    ' ], r7 P  T; G) Q3 t: v3 P
  1024. ; http://php.net/sendmail-from
    ! E6 |2 Y: Q1 ]5 v9 o, @
  1025. ;sendmail_from = me@example.com
    6 {! T5 w+ b. [2 N
  1026. " x0 J0 g6 V  U: e: ^
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    2 p. p3 L: M, J9 m
  1028. ; http://php.net/sendmail-path% \: m0 `/ E8 Y, q& v  u  ?
  1029. sendmail_path = /usr/sbin/sendmail -t -i* I9 J: [1 N! u; [7 t: B0 Z) n  ?- m
  1030. 5 K' M- i0 \% w, X$ `9 ]
  1031. ; Force the addition of the specified parameters to be passed as extra parameters% J& _4 T# k4 T$ }8 W" P9 {6 p
  1032. ; to the sendmail binary. These parameters will always replace the value of
    . a. W% g" {- G' n* {& }, D7 g
  1033. ; the 5th parameter to mail().' j+ L3 X  D$ ]  n% E0 Q9 z
  1034. ;mail.force_extra_parameters =
    7 s8 H" }% ^4 b
  1035.   p* ^: V; I3 ?
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    / K& E1 b4 h- `+ O' z
  1037. mail.add_x_header = On
    7 h; G( |# _) W; k0 Z
  1038. 7 W6 E0 D6 ]& c3 x+ T
  1039. ; The path to a log file that will log all mail() calls. Log entries include! v0 x: h0 Q, A9 Q. p5 F
  1040. ; the full path of the script, line number, To address and headers.9 p2 O" V( D7 P+ T8 P( h
  1041. ;mail.log =
    2 L) f- s' K9 i4 b2 n* D1 D
  1042. ; Log mail to syslog (Event Log on Windows).
    4 p2 ^/ g* L6 \* M; n% s/ r
  1043. ;mail.log = syslog+ P  ^' ?2 J1 n) u- M0 k9 z* A/ M
  1044. 6 ]2 o1 z" R9 E
  1045. [SQL], `7 D; H; B# v2 t9 w1 Z" w
  1046. ; http://php.net/sql.safe-mode+ V1 L2 B! p8 D0 i* i8 e0 `7 J+ N
  1047. sql.safe_mode = Off
    + ~: n+ p, |' K6 T5 v& N
  1048. + x" R/ M/ h3 u' [# x
  1049. [ODBC]
    * z% _2 }2 h8 B
  1050. ; http://php.net/odbc.default-db+ y3 ~  z: n9 g* }7 U. n  G5 s
  1051. ;odbc.default_db    =  Not yet implemented$ H6 _" u0 e% v2 F
  1052. 0 r, I6 E1 U0 x" k
  1053. ; http://php.net/odbc.default-user
    8 a8 s+ B; c2 f; ^, \
  1054. ;odbc.default_user  =  Not yet implemented4 B" l9 u0 p: H% I; t
  1055. 7 |' j8 q, f" I! {
  1056. ; http://php.net/odbc.default-pw
      O$ m1 Y1 ~- t" K% A# p
  1057. ;odbc.default_pw    =  Not yet implemented+ e, }' ]7 J3 `5 J

  1058. % f( `4 U# z+ Y3 y8 Z& G
  1059. ; Controls the ODBC cursor model.# Y0 [6 R8 A' y" ~3 q$ u( h1 d* E
  1060. ; Default: SQL_CURSOR_STATIC (default).
    , Y: q4 Y  T, P- H8 G/ i
  1061. ;odbc.default_cursortype
    / h7 _  I5 G  I. S2 j  p1 ^
  1062. ( m# M" A* g" x& T
  1063. ; Allow or prevent persistent links.
    & L+ ^# C& {0 @# ]! F
  1064. ; http://php.net/odbc.allow-persistent
      }) n( L& f3 H$ m6 L
  1065. odbc.allow_persistent = On: J3 c) H* ~5 P$ g$ ~

  1066. 1 X; h( R! `1 b: W' D
  1067. ; Check that a connection is still valid before reuse.
    + S# f5 \( `" p' q3 H/ h
  1068. ; http://php.net/odbc.check-persistent
    : [0 W! Y! ~% P' w
  1069. odbc.check_persistent = On. B" q9 O8 x) g4 r0 v' p) X7 ]& j& s

  1070. 8 W/ W; S4 M% A. ?4 E. i% F) ?
  1071. ; Maximum number of persistent links.  -1 means no limit.
    7 G2 T! d* U$ [, j
  1072. ; http://php.net/odbc.max-persistent+ r. U0 Z8 t( k9 [
  1073. odbc.max_persistent = -1  c+ d) a8 t- N' Z9 H1 v/ [

  1074. + _$ O$ k. y1 P7 ^) ]* V
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.3 M* a* ~. @* B0 e' g
  1076. ; http://php.net/odbc.max-links
    5 T$ u) G2 D8 z. E9 i$ }
  1077. odbc.max_links = -1* R" l3 {* e5 f3 k# {8 _& k

  1078. : x/ s; F' l0 Q. F4 C/ G% f/ r
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    $ R; y( t! U# n( f; E5 [: }- \
  1080. ; passthru.4 }% p# \) ]+ b
  1081. ; http://php.net/odbc.defaultlrl
    / h- E) G) k$ u4 m& n; i' m
  1082. odbc.defaultlrl = 40967 u% ~6 z1 k. H6 V3 K' |( _* p+ h

  1083. 2 e  n! @/ p8 Q) G: P4 i
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.& z* s; q0 |: a: [9 K; c5 v
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation; o( m1 Y* m+ h
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    1 c8 C, r3 A$ p* x3 H! R6 @8 i. C' q
  1087. ; http://php.net/odbc.defaultbinmode, P0 @: M2 l! |2 L; W3 |9 P( O
  1088. odbc.defaultbinmode = 1
    + `. ?1 u6 u/ ?! Q, d6 B

  1089. * b% r7 I! d8 u; F
  1090. ;birdstep.max_links = -10 T) r6 l/ }: s+ L

  1091. 6 N# J  U6 z5 J& W  w7 G* W
  1092. [Interbase]
    . f# n+ X  A0 `0 k: b/ P- L" s
  1093. ; Allow or prevent persistent links.! Q5 R; w+ |  Y* o: }# Z9 n  ?
  1094. ibase.allow_persistent = 15 a. S- p+ I+ K. g0 ~$ O

  1095. % O) W0 i* Q, p- w" g. B5 b
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ' g  a% {0 p4 @, f1 e- E. T
  1097. ibase.max_persistent = -1
    * H: t% z& [* e' _

  1098. ! l9 f! |# ^7 W# g1 b, M
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: W# U# y* F4 s7 Y1 W' B& R
  1100. ibase.max_links = -1
    : B% d1 w8 C2 L) q6 u

  1101. $ c, g! B: G+ D% q% P" x1 W- C! u/ o
  1102. ; Default database name for ibase_connect().
    - e7 ^# T! M. ~
  1103. ;ibase.default_db =
    ( l8 s/ g! ]6 [
  1104. 5 E6 R* V5 l+ I# r. |9 E
  1105. ; Default username for ibase_connect().* ?( ?. }$ h4 g3 y! U1 p( L
  1106. ;ibase.default_user =, M8 m1 t0 n" ~' M% J& {  i5 B+ z
  1107. $ W) y+ A1 c1 \& l  a3 Q' I/ x8 u
  1108. ; Default password for ibase_connect()." P2 P. g2 I+ g6 f3 a: k) X& s
  1109. ;ibase.default_password =
    4 b! E5 }& O8 x( q3 ^  ]+ t

  1110. 6 T, p' B' b; O3 E! C
  1111. ; Default charset for ibase_connect().6 o5 t) B  u7 G: G" k" O+ o! n
  1112. ;ibase.default_charset =
    ) a; L2 a* \1 }
  1113. . u1 E: @! l' x" E! A
  1114. ; Default timestamp format.
    ' S8 C. o2 @( ~
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    & y3 e0 E) c0 Z5 y5 [  x9 a9 Z+ Y

  1116. : c' K9 |) G: y; ~* I7 f
  1117. ; Default date format.
    6 {$ d, |1 q" e$ P5 I4 Z; p
  1118. ibase.dateformat = "%Y-%m-%d"8 Z* s' {3 d0 f% b3 h0 Y, K( E7 |

  1119. # x1 d# P$ q: O3 F* q7 Z
  1120. ; Default time format.& Q  ]6 d* D2 l! q' s: [! R
  1121. ibase.timeformat = "%H:%M:%S"
    0 W* R+ R$ v0 c" e6 v8 F
  1122. 3 S/ E5 Z6 p9 y
  1123. [MySQLi]
    0 C4 D8 P/ l% }, Q- J  X, l  _
  1124. ; B$ p8 k2 m3 [5 p
  1125. ; Maximum number of persistent links.  -1 means no limit.- S6 @8 T6 l$ \7 P4 \- B
  1126. ; http://php.net/mysqli.max-persistent
    + k! Z. z$ O; c2 L, Y, D4 h/ v
  1127. mysqli.max_persistent = -1# P" O8 I1 z3 i& F: p) O4 n

  1128. & A, v' w  ^0 U6 J8 V6 C1 j4 L2 m
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ; T4 Y( U( b; c+ f2 w; j- U
  1130. ; http://php.net/mysqli.allow_local_infile# V  A$ r' H! ^. j$ p. g* @) r
  1131. ;mysqli.allow_local_infile = On+ l' m4 C5 U) @, X1 d  x

  1132. / X3 a& H1 c7 k7 a5 D4 g2 h: p
  1133. ; Allow or prevent persistent links.7 y# j; O; `2 r' {: f
  1134. ; http://php.net/mysqli.allow-persistent
    6 J7 y( G* a5 m2 K2 |
  1135. mysqli.allow_persistent = On4 o4 @) B" I( G+ g5 r
  1136. & r& T9 H2 i3 o* ^
  1137. ; Maximum number of links.  -1 means no limit.
    ! [# V- @7 y& Q( W6 n0 T
  1138. ; http://php.net/mysqli.max-links6 W" V/ E, v3 ~  e+ n3 l% Z3 g
  1139. mysqli.max_links = -1+ C! T4 O9 X0 v5 v% ~

  1140. ; J: U2 S! X. t: ?- W( Q
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! ~; V- @9 k9 G5 Q3 T0 s
  1142. ; http://php.net/mysqli.cache_size
    ) p; m, f- m6 H! E, x# K% x3 x
  1143. mysqli.cache_size = 2000
    & _! `3 R; q/ L; q/ Q! j4 V: X

  1144. 7 u" \4 }; @+ m0 y
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    / C2 [, c* f  c1 a
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the: u8 v8 o$ `* z' X3 x* u
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    / f  H$ r( g$ p: R
  1148. ; at MYSQL_PORT.
    " W; {+ }& H- j+ b' V- E
  1149. ; http://php.net/mysqli.default-port6 j/ Q% d% V5 G; v* z
  1150. mysqli.default_port = 3306
    3 A& E) P; d' T: s2 i
  1151. 8 U- Y5 ~! w1 }' Q! k8 r
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 ~- }3 T4 P) @$ _* @1 Q7 D, d( e
  1153. ; MySQL defaults.
    8 v& H( ~0 h5 N+ s- p8 F  Z- B- w8 M
  1154. ; http://php.net/mysqli.default-socket
    8 |/ u" p. x- g' n( ]. r! X
  1155. mysqli.default_socket =
    7 }6 e, _7 E( [& a
  1156. # @6 c. m3 ~* }/ i, J; r1 M
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).+ C: a6 @  x  ]/ X# _' b; }
  1158. ; http://php.net/mysqli.default-host5 }- s8 y3 u/ ]& V1 f
  1159. mysqli.default_host =- B' f$ [% b) j% W- d1 m  \
  1160. 6 \. b9 j3 _/ ?3 O& M9 C8 N* b4 {
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    + @! Q. `0 q8 R( n2 H
  1162. ; http://php.net/mysqli.default-user$ @4 o- _/ Y. Q# ?9 N6 r
  1163. mysqli.default_user =4 [+ D9 j: N5 S5 y5 k- v
  1164. . e& p, O1 b8 A/ ?/ e0 ~/ R
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).# ?9 O& A1 o! m2 U
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    3 m8 h4 r. j, m( F# ?
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    , \! A7 r, d2 l
  1168. ; and reveal this password!  And of course, any users with read access to this0 R6 i$ ^( I# \" Q  I( h& I8 c
  1169. ; file will be able to reveal the password as well., L. ~9 v1 r5 |; B  T$ N! W
  1170. ; http://php.net/mysqli.default-pw
    / n/ B, n- s$ H/ j
  1171. mysqli.default_pw =
    4 F) K' |: E2 m& h1 C5 `& Y( r  P! G, L

  1172. # a! M" g7 D  ~/ i# {  d+ U
  1173. ; Allow or prevent reconnect. V4 h. d' h7 }
  1174. mysqli.reconnect = Off3 U# X# D2 \  u! f, h( Z. }

  1175. 8 C, g6 @( c% f/ f/ Q1 I6 _3 H
  1176. [mysqlnd]
    9 U% T1 s, j& p; `: G% N% u4 S4 D
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
      m' E7 j4 J6 S7 e7 @
  1178. ; used to tune and monitor MySQL operations.1 H5 n8 Y. C$ A8 O
  1179. ; http://php.net/mysqlnd.collect_statistics
    * ^8 O# ^/ f  B" Y9 ~2 T. R/ h
  1180. mysqlnd.collect_statistics = On
    / T; S8 {' G$ ^' x1 b! ?
  1181. 5 R9 @0 W) g( X5 G! c7 w" S
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    6 D6 J: L' _4 _$ ~) f! m
  1183. ; used to tune and monitor MySQL operations.7 e) {! {: I7 W$ P
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    ; I; A! D6 X& Q
  1185. mysqlnd.collect_memory_statistics = Off
    6 y+ F. F" U! g4 q" G! K' y
  1186. 7 f, [7 m" q8 `
  1187. ; Records communication from all extensions using mysqlnd to the specified log/ r% W$ A4 N" F- V0 T
  1188. ; file.
    6 q$ }9 W: Z9 X9 i
  1189. ; http://php.net/mysqlnd.debug
    5 F7 u/ b# d$ ^# {; ?
  1190. ;mysqlnd.debug =5 W( j% u6 |& V& b* _( j

  1191.   [7 z% ^2 B  w- _) v
  1192. ; Defines which queries will be logged.7 Z5 u2 C& Q' e
  1193. ; http://php.net/mysqlnd.log_mask4 g+ l3 X: v' j, O: Y
  1194. ;mysqlnd.log_mask = 0, Z4 v' t1 ~/ H5 ^
  1195. 1 R3 d( i! R& Z6 F2 j
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.9 e3 S9 D! {- f% X. D( }
  1197. ; http://php.net/mysqlnd.mempool_default_size
    # r: m/ F; r# f
  1198. ;mysqlnd.mempool_default_size = 16000# x$ W( _" c4 H. e; U3 j

  1199. % \1 l* c- X$ q" |% K. _  R/ U
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.; E+ H# q  H/ d3 p& f
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ! c9 c! E: W0 ^7 ]5 t6 g2 M& _& x! l
  1202. ;mysqlnd.net_cmd_buffer_size = 2048+ D3 p9 `- b) k$ }5 G6 f

  1203. ' V7 V& S; K) K2 M" C- ~' Y) K
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in& I9 T7 e) Y$ ^
  1205. ; bytes.
    / C- k2 u8 j9 T# ]
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    0 l# }6 Q8 [# U- m. ]
  1207. ;mysqlnd.net_read_buffer_size = 327685 Q( J4 N  a5 ~- x* M- y& ^' J4 ~
  1208. 3 e* U( @6 c( b0 \7 z
  1209. ; Timeout for network requests in seconds.! |: R. C- T1 ?! Y! t1 F
  1210. ; http://php.net/mysqlnd.net_read_timeout  t+ t8 @- L$ J: D. [, c5 d
  1211. ;mysqlnd.net_read_timeout = 31536000  ~/ A! D; x: a$ o+ @4 t  O

  1212. 8 }% ]* s8 ^& j  n% a/ T' z
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
      q1 C1 n0 c0 ^3 G5 |1 C
  1214. ; key.
    % ]0 i  m" S# X
  1215. ; http://php.net/mysqlnd.sha256_server_public_key0 [$ o- ~. I1 z& P( w  D1 `
  1216. ;mysqlnd.sha256_server_public_key =+ i' h) f, o3 b1 E1 O/ H
  1217. 6 w7 F4 J, J$ J/ O& b
  1218. [OCI8]3 t3 K6 e( r) C$ M9 }/ C

  1219. # f3 U9 [$ i& H0 O3 O
  1220. ; Connection: Enables privileged connections using external6 @3 g% F' A1 ?
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)  h+ Z; ?) [: R& B  B# w9 t1 U
  1222. ; http://php.net/oci8.privileged-connect5 o$ b6 b9 m& e2 U
  1223. ;oci8.privileged_connect = Off! ^4 x4 b/ y$ h. t7 f
  1224. ' l+ k: m! P+ u5 ~" |
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    6 M! l. W5 u  J& c) r, g: I0 {
  1226. ; process. Using -1 means no limit.. E$ k  h8 {+ f- P
  1227. ; http://php.net/oci8.max-persistent% L- ?9 W; ~) X/ O# }
  1228. ;oci8.max_persistent = -1
    : X" i& `( w- l0 @: z( m  D

  1229. 7 N1 n, ?" b7 v1 Z) O' i5 m
  1230. ; Connection: The maximum number of seconds a process is allowed to
    8 K' }0 y( a  D1 V" x: H6 o5 A7 ~
  1231. ; maintain an idle persistent connection. Using -1 means idle
    # T# t! v* c' b1 l2 L
  1232. ; persistent connections will be maintained forever.  |6 @" c) _! _
  1233. ; http://php.net/oci8.persistent-timeout
    $ e% Q. u0 R% W0 p
  1234. ;oci8.persistent_timeout = -1
    * [1 s% M' F8 d8 v7 H/ ~* h

  1235. $ n( c1 j6 M, u  ^' X9 K, B; P! d
  1236. ; Connection: The number of seconds that must pass before issuing a
    : R: U; P5 A1 M2 `9 Z
  1237. ; ping during oci_pconnect() to check the connection validity. When
    . V3 e! @  C% s  ~0 R7 T$ k$ ?' H
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables1 G& m6 V( `. E/ r4 A/ B& I3 S: s3 i
  1239. ; pings completely.7 K: g# p( v  d" k& r
  1240. ; http://php.net/oci8.ping-interval6 M7 H! I1 V9 j
  1241. ;oci8.ping_interval = 60' V6 X, ^7 m4 S
  1242. / \/ S( ^! W$ X+ K2 N. i
  1243. ; Connection: Set this to a user chosen connection class to be used. g% }0 p7 @5 {4 t+ ]0 X9 P) H
  1244. ; for all pooled server requests with Oracle 11g Database Resident& ], x, D3 @5 K, t: h( B3 S
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to5 G6 p& W5 a4 ?2 C
  1246. ; the same string for all web servers running the same application,8 E5 n. c- ]1 ?) L
  1247. ; the database pool must be configured, and the connection string must8 x# U; w; _" Z: M
  1248. ; specify to use a pooled server.% i% u4 K# r& ^2 V# Q8 ~& R. Q
  1249. ;oci8.connection_class =  |3 c9 y. Y) b) s
  1250. " j% R7 o4 P4 |' P0 q
  1251. ; High Availability: Using On lets PHP receive Fast Application
    + r: `. P0 W1 m% m% P
  1252. ; Notification (FAN) events generated when a database node fails. The
    ; p3 P+ n) v( J) R+ H: I' o, i
  1253. ; database must also be configured to post FAN events.) a4 A1 ~0 ]. H% q2 {4 v, D
  1254. ;oci8.events = Off8 m0 G4 W  E, Q1 g9 J
  1255. 9 K( ^& K7 c) _- A* V5 I7 |" E
  1256. ; Tuning: This option enables statement caching, and specifies how* d6 b0 M5 h& M; w7 D0 B$ v
  1257. ; many statements to cache. Using 0 disables statement caching.
    9 q- |; C3 O1 F+ I6 t
  1258. ; http://php.net/oci8.statement-cache-size5 S& P$ V' C/ l8 D: y- c
  1259. ;oci8.statement_cache_size = 20
    5 X1 \/ i2 Y. n* y9 ?, Y

  1260.   @3 T* _8 J* l1 k. n' R# O
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    / X' F' ~% _' v1 S7 y. h' e9 Z) h
  1262. ; rows that will be fetched automatically after statement execution.
    . t& h0 d" X3 V' h& G8 y/ {, ?
  1263. ; http://php.net/oci8.default-prefetch9 e8 }- c" ~* ?
  1264. ;oci8.default_prefetch = 100
    9 R9 M5 G6 h& o. n
  1265. * {, ?7 }2 W  A. t. [
  1266. ; Compatibility. Using On means oci_close() will not close4 O9 H. f% Y. i1 V- H0 [
  1267. ; oci_connect() and oci_new_connect() connections.. Q+ [6 o" g/ R3 @9 x& {
  1268. ; http://php.net/oci8.old-oci-close-semantics- e' G: w0 D& }& ?" b" `
  1269. ;oci8.old_oci_close_semantics = Off% Z9 P0 d/ [( b9 G2 m  f
  1270. - g0 d0 L: ?- Y3 N# ?
  1271. [PostgreSQL]5 M4 P) M- m- J1 u" H
  1272. ; Allow or prevent persistent links.5 z. `$ {1 J) O; t, ]5 F+ W. e
  1273. ; http://php.net/pgsql.allow-persistent
    3 B5 q  j7 ]1 t- c
  1274. pgsql.allow_persistent = On! G/ B5 ]3 s% {0 L0 H. `0 r

  1275. + p  \% h3 i8 F' X2 O" [
  1276. ; Detect broken persistent links always with pg_pconnect().
    ! X* G' [1 Z3 P% t. }( }: `$ G
  1277. ; Auto reset feature requires a little overheads.- }- Z7 j8 @7 [5 b2 O
  1278. ; http://php.net/pgsql.auto-reset-persistent
    4 H* Y6 r8 l. R6 Y1 k" V6 `
  1279. pgsql.auto_reset_persistent = Off' Y1 S, }. X( _

  1280. : S7 a& K9 S+ H9 h" p
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ' j/ n% J  Q6 V/ p) ]* X0 ]
  1282. ; http://php.net/pgsql.max-persistent0 z, a& m: l* D; Y, h
  1283. pgsql.max_persistent = -1
    . R, y, N% a: v" _$ r" M9 x

  1284. $ ~! `" [8 ?% t$ m" e4 z
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    1 G, N8 j. Z$ _. c. }' S( {1 k
  1286. ; http://php.net/pgsql.max-links
    % Y+ b" L7 P  R8 H8 p; E4 v* e' A8 r$ N
  1287. pgsql.max_links = -1
    " h' @* T( T9 ]! j7 G; v4 [* i
  1288. " \8 y1 z$ ^$ y7 y8 V+ u
  1289. ; Ignore PostgreSQL backends Notice message or not.& }! P1 {% Q/ B
  1290. ; Notice message logging require a little overheads.* E, U% x" w% ^4 R5 H7 Z+ E1 y8 I
  1291. ; http://php.net/pgsql.ignore-notice3 W& b) H1 u& v4 O* w0 h% V
  1292. pgsql.ignore_notice = 0
    5 B2 i1 i/ M8 [% x4 @( k0 X) m0 Y3 w
  1293. : y& i: Y1 ~$ E- T4 i  E/ r
  1294. ; Log PostgreSQL backends Notice message or not.8 R. C. @1 Y( d7 F
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
      s( _! \3 N: L# K! H
  1296. ; http://php.net/pgsql.log-notice4 b+ l: ]: G' `, a. f
  1297. pgsql.log_notice = 0
    0 _0 S1 }6 N% W/ t

  1298. , b. M$ V" z6 r  I9 [
  1299. [bcmath]! m( U. V9 D) j" P" w6 c  x
  1300. ; Number of decimal digits for all bcmath functions.
    ! c4 _0 y$ V. Q) F9 a
  1301. ; http://php.net/bcmath.scale
    8 W0 q/ [6 i' L
  1302. bcmath.scale = 0
    4 m3 ~9 \/ N! q3 `; }9 Z9 `* Y9 i
  1303. 9 Z, h: {% @' X+ g6 P
  1304. [browscap]( D0 i1 N' f7 [' Z3 A
  1305. ; http://php.net/browscap
    2 T0 A3 l- `% A" p0 k; v
  1306. ;browscap = extra/browscap.ini
    6 \  u. j- F" H8 l

  1307. ) V& @, i0 D  Z0 u
  1308. [Session]
    4 w% F* j' J! @1 \+ I: O1 Z6 o
  1309. ; Handler used to store/retrieve data.
    % b8 r$ [2 U0 X; u& e( O
  1310. ; http://php.net/session.save-handler# L! l7 E, n9 b; J
  1311. session.save_handler = files  z8 U, J8 L$ d1 ]' c' L. ]  Q

  1312. ( f' v# G: Q5 J+ Z9 e2 O3 Z( i
  1313. ; Argument passed to save_handler.  In the case of files, this is the path$ l% @( Q* s' F' T, N
  1314. ; where data files are stored. Note: Windows users have to change this
    / z7 P7 b# S! o" L& R, I' i
  1315. ; variable in order to use PHP's session functions.$ K) i: V& Z, {: S" Y4 o- G( x
  1316. ;
    " ?' D& ]- y- C* W5 v- F
  1317. ; The path can be defined as:
    3 L1 j' L. R+ r  Y) l& W. u
  1318. ;6 r0 F5 }0 P- j% h
  1319. ;     session.save_path = "N;/path"+ T/ a) \) P; M
  1320. ;' w' k5 D3 s" {) Q9 P5 z0 U3 I
  1321. ; where N is an integer.  Instead of storing all the session files in! D+ [+ U' G+ J8 a$ G6 m# |
  1322. ; /path, what this will do is use subdirectories N-levels deep, and" _  p. g& ]; ^% w1 s2 v5 D
  1323. ; store the session data in those directories.  This is useful if
    3 h- w: f; C& a: t/ o" \
  1324. ; your OS has problems with many files in one directory, and is  g/ D, ]. a) i
  1325. ; a more efficient layout for servers that handle many sessions.
    6 q( S0 p4 y$ M- Y0 C
  1326. ;6 ?, D2 B9 u3 ^6 |
  1327. ; NOTE 1: PHP will not create this directory structure automatically.6 {, c4 B4 T4 X: B( Q
  1328. ;         You can use the script in the ext/session dir for that purpose.
    / F8 b; B! k4 t4 L* u4 j* D
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    5 R1 ~% d% H9 j) i
  1330. ;         use subdirectories for session storage/ h* T3 K- n5 I1 ]" g0 ]
  1331. ;% x; b+ M. H* A
  1332. ; The file storage module creates files using mode 600 by default.' X3 `3 k# D: b! A
  1333. ; You can change that by using; a& t' w: B! i4 Z/ W/ Z; X. ]
  1334. ;' M. C- C/ o) X5 n2 }8 S5 ^- t$ `
  1335. ;     session.save_path = "N;MODE;/path"' r: O7 f9 E0 V# B
  1336. ;
    " K3 q- }, v5 C3 O9 |& ?
  1337. ; where MODE is the octal representation of the mode. Note that this
    ) e3 m1 u$ }  z+ N
  1338. ; does not overwrite the process's umask.1 P' N; A5 A3 b$ V. B# V# }
  1339. ; http://php.net/session.save-path
    " B0 _7 }% d0 k7 [$ S
  1340. ;session.save_path = "/tmp". Z5 H$ [" O* a2 v3 C
  1341. + Q9 i9 `" q7 D/ B& X7 m
  1342. ; Whether to use strict session mode.
    2 k- b- e+ s3 e
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate3 @7 b1 \  z6 s) H% v0 `
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects" X+ G/ t% t" q. g! s  \
  1345. ; applications from session fixation via session adoption vulnerability. It is$ U: F# h9 A9 _! H
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ! D" u" s( ~& X5 c
  1347. ; https://wiki.php.net/rfc/strict_sessions
    8 b% Z. W5 \/ Q2 s5 Q
  1348. session.use_strict_mode = 0# H! p" t7 a* i! @6 ?

  1349. " {6 x) G# k- N( |& m
  1350. ; Whether to use cookies.
    & d6 e7 B6 E+ H; c
  1351. ; http://php.net/session.use-cookies+ s( n. k. |/ k7 x
  1352. session.use_cookies = 1" S4 u' k, f5 ~" v* {9 e

  1353. 8 m" H$ p6 X5 j2 `) `
  1354. ; http://php.net/session.cookie-secure
    5 }7 Y& f: Z6 B9 u- q& A
  1355. ;session.cookie_secure =! c7 M4 K* P$ B7 r; N# V9 ?

  1356. 8 v- n, ?. p0 h* _; ^
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ' C0 Z# z# L; K0 w, M- N
  1358. ; the session id. We encourage this operation as it's very helpful in combating3 v+ k8 V; ~& d/ k9 q
  1359. ; session hijacking when not specifying and managing your own session id. It is$ S( M- e$ F' W/ j2 W
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start./ V, H  c$ d# |( A+ X# J% V
  1361. ; http://php.net/session.use-only-cookies* s; h2 h: e# o! Q7 t) e2 ^
  1362. session.use_only_cookies = 1" b" S9 X/ T5 S# f+ S! Z

  1363. / F  s1 f5 v& f9 a- R' d: _' G
  1364. ; Name of the session (used as cookie name).
    ; D/ {, Q' v' w$ n
  1365. ; http://php.net/session.name
      i) @' M6 F; P) }) J! \3 h5 s" Q( u. n
  1366. session.name = PHPSESSID
    9 F! K" }0 L8 `8 U: A( c

  1367. ) `) Y& t3 r8 p* i3 S  }
  1368. ; Initialize session on request startup.' ?+ X6 I4 D6 K
  1369. ; http://php.net/session.auto-start
    7 j' N  |/ r. |9 ]* P- ^
  1370. session.auto_start = 0
    4 N5 I) n  b6 B9 e" `3 d, Y

  1371. ' A7 k; I, Y7 @$ m
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.+ W: q% {) L3 @+ }+ E8 A
  1373. ; http://php.net/session.cookie-lifetime
    9 T" J3 f. s" _8 S8 b: B, ]; I
  1374. session.cookie_lifetime = 0) D" N* K" `* `# K

  1375. ( b$ E: T3 |" y8 F1 h: n% O2 M
  1376. ; The path for which the cookie is valid.; E# r6 A, t6 n+ V1 a# A& G
  1377. ; http://php.net/session.cookie-path0 g4 Q  S7 L; x) |& b) t6 S
  1378. session.cookie_path = /
    ' f7 p" R' x# g
  1379. # x& H. t$ c% {( x# l( {7 \
  1380. ; The domain for which the cookie is valid." q/ o; E  q  w7 J8 G( O6 h3 O
  1381. ; http://php.net/session.cookie-domain
    " v6 Y) j/ G# [/ M
  1382. session.cookie_domain =- h5 J4 j) r6 a2 a

  1383. 1 a* c. b. J: p/ ~2 a
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    : Q; Z# [% }: y# H
  1385. ; http://php.net/session.cookie-httponly
    : N1 i0 n. D  C0 z. B" k
  1386. session.cookie_httponly =# ?  A  X6 Z4 ~0 t) `4 a* V

  1387. $ k6 _0 p2 r& V
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    + G4 z  Y9 Z2 B9 V% m$ U. B: p) O; a
  1389. ; http://php.net/session.serialize-handler
    5 ^) L4 u  T) `
  1390. session.serialize_handler = php
    ; U6 n" N( }5 [5 F% V+ S

  1391. ! v  `$ V/ i1 V; ?
  1392. ; Defines the probability that the 'garbage collection' process is started: [& g* S, Q8 S2 ]6 j
  1393. ; on every session initialization. The probability is calculated by using/ C5 O7 k8 i: U. f
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator. X! p* d' n& e0 ?
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    # E& b' t: P# Z7 M6 Z
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance6 k% q9 H* n% V# Q# K! K3 H6 A4 w
  1397. ; the gc will run on any give request.1 }1 l8 n. V8 K
  1398. ; Default Value: 1
    0 R" ^* g6 ?* h' N
  1399. ; Development Value: 1
    6 @  a4 d, W* g2 S
  1400. ; Production Value: 1/ l( N; k  k/ ~1 ]4 Z
  1401. ; http://php.net/session.gc-probability
    0 R+ u7 f: s1 W. J. j2 b' p
  1402. session.gc_probability = 1
    : B" B9 u. ?2 s% U6 q$ S* _+ N

  1403. " @) P1 a( V* [, U/ X
  1404. ; Defines the probability that the 'garbage collection' process is started on every4 C9 u) K& R9 F; p& U9 {
  1405. ; session initialization. The probability is calculated by using the following equation:
    % D( E( I0 x3 {2 T
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and8 }/ \" F" s; ]5 z( _" |" p& Z. A
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1$ Y$ z6 i/ J+ i: O" \, ]' q
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 Q5 U' `: I) i2 M4 ^& T1 o
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you3 m0 ?0 c0 R6 g) D+ v7 U
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,# b( T( \+ F$ h" x$ r
  1411. ; this is a more efficient approach.6 H+ d3 F! D, @" {9 {
  1412. ; Default Value: 100
    1 W$ f7 u+ A4 V3 n# l( k. k1 O0 p
  1413. ; Development Value: 1000
    5 ~+ ^' l2 j& D( r7 S
  1414. ; Production Value: 1000" p3 a/ B% i. p( _) {5 H
  1415. ; http://php.net/session.gc-divisor9 W; {. r& O, G" d8 ?+ ]
  1416. session.gc_divisor = 1000  T9 W# q& x4 a. H
  1417. ( v' e7 {8 ]3 r3 {; z- N3 Y
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and9 `% G) Q$ h. |; G. ?
  1419. ; cleaned up by the garbage collection process.9 N6 f# ?! _4 B- s! \8 V% G  I7 V
  1420. ; http://php.net/session.gc-maxlifetime# E  G) E& [" `$ r9 w* [% S9 z
  1421. session.gc_maxlifetime = 1440
    $ I# ]' t2 W5 y* e1 |5 v* [. O
  1422. % P1 {( W2 e) g; b
  1423. ; NOTE: If you are using the subdirectory option for storing session files" H+ m5 g; {! E- E. Y
  1424. ;       (see session.save_path above), then garbage collection does *not*
    1 p1 o8 `9 y) g$ g7 y& C
  1425. ;       happen automatically.  You will need to do your own garbage2 c$ Z# r5 N2 a0 _- L. `
  1426. ;       collection through a shell script, cron entry, or some other method.- C* Y3 L  _6 q1 X
  1427. ;       For example, the following script would is the equivalent of5 f: v2 ?* z" F) K
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    - ~) @5 u, T$ S
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    # r5 d" m/ F# y2 V9 j  x

  1430. 3 L% ~9 d$ N# K4 W7 B" j  N0 L
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.1 `" {3 c" |! T. L) {" o  J
  1432. ; HTTP_REFERER has to contain this substring for the session to be) ]) s) X& u! }( m$ @
  1433. ; considered as valid.+ k2 W9 V# \0 W
  1434. ; http://php.net/session.referer-check5 h& X" [7 g) I$ c
  1435. session.referer_check =
    $ E% O% G/ k' j/ ~! s& z, l

  1436. ' f/ J, ^7 y3 g6 e! Y* d* J& i
  1437. ; How many bytes to read from the file.
    6 @$ s: |& R- Y& z) L
  1438. ; http://php.net/session.entropy-length$ e5 z# s5 F( s, ^% s2 V2 T( R( L
  1439. ;session.entropy_length = 329 Q: o* W: [/ S  A* r

  1440. ! T% q- `. o4 d6 q
  1441. ; Specified here to create the session id.* I% l3 F9 C& P  H0 ?% y* H
  1442. ; http://php.net/session.entropy-file8 L8 X, U8 Z0 ]3 m& u9 q
  1443. ; Defaults to /dev/urandom+ i, C& }5 |3 ]% c; W
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom6 D$ J$ `3 ?" p4 U6 \, m
  1445. ; If neither are found at compile time, the default is no entropy file.4 |! h$ Y. m0 T9 b( W/ D( [0 p
  1446. ; On windows, setting the entropy_length setting will activate the
    ! e7 p, |" f6 W! X8 `
  1447. ; Windows random source (using the CryptoAPI)! z% d' m2 }. ?8 p9 X, S
  1448. ;session.entropy_file = /dev/urandom
    9 m7 U  b( \0 W/ \( o1 o
  1449. / \$ h9 g7 z4 z, y
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    0 T7 V$ F2 h* h; F
  1451. ; or leave this empty to avoid sending anti-caching headers.- ]+ M4 Z* N6 C& w; l' o. W
  1452. ; http://php.net/session.cache-limiter! x% G8 w4 T3 d; S8 f; o2 |& q
  1453. session.cache_limiter = nocache, h0 g1 a  P" V* d+ J: d+ Y5 n
  1454. 3 b# ]9 k* |# K1 l0 Y6 b. c
  1455. ; Document expires after n minutes.3 ?0 U4 L8 ?+ H% R6 M2 ]3 y7 L* p
  1456. ; http://php.net/session.cache-expire9 u9 @1 V: m- e# n$ a
  1457. session.cache_expire = 180
    + a4 [: [. f; O8 m0 k; V% M
  1458. 7 n* G7 Z$ B: ^3 G  @
  1459. ; trans sid support is disabled by default.* k; z& n1 z2 k
  1460. ; Use of trans sid may risk your users' security.
    & O) A0 `$ p) D1 a! ~5 Y( F1 I. a
  1461. ; Use this option with caution.
    - g8 M5 A- R1 x4 }) Y/ j+ c
  1462. ; - User may send URL contains active session ID# q" h& X% L) w' Y
  1463. ;   to other person via. email/irc/etc./ F4 i. _- j* i0 J( N( j6 {
  1464. ; - URL that contains active session ID may be stored# W7 H$ p7 H8 V% {8 Y
  1465. ;   in publicly accessible computer.1 N; z  y. Y8 O- w
  1466. ; - User may access your site with the same session ID
    / l: t7 T, y8 v" p9 ]# g( h. b; x
  1467. ;   always using URL stored in browser's history or bookmarks.
    6 z+ d# [0 X4 e
  1468. ; http://php.net/session.use-trans-sid% K1 G5 p3 z5 U: S7 M" q  V+ e6 P8 @
  1469. session.use_trans_sid = 0
      @( m' J2 b( u4 L7 b& q5 c

  1470. 6 Y3 U1 z6 u/ l, s
  1471. ; Select a hash function for use in generating session ids.
    $ }3 ^8 x/ }1 L. o6 c8 v* L3 U8 C
  1472. ; Possible Values
    7 c$ Y% F' P4 v+ x
  1473. ;   0  (MD5 128 bits)/ O) l' o2 P" X9 C
  1474. ;   1  (SHA-1 160 bits)( Q# ~1 c5 K7 h# ~- L) z; }. a
  1475. ; This option may also be set to the name of any hash function supported by, P" G3 s8 D9 Q! R) d# S
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()  R8 W) z) B3 k: I5 M
  1477. ; function.8 v& \/ @( V& {
  1478. ; http://php.net/session.hash-function
    1 w' `% z6 W  P
  1479. session.hash_function = 0# b3 D% A. W7 |; _0 L; x1 n" ^2 k3 s
  1480. 1 h& S4 O; y8 L# H! j
  1481. ; Define how many bits are stored in each character when converting+ g. _; j3 m" Z( \! d1 e. o
  1482. ; the binary hash data to something readable.$ \) g% M5 j( w6 j2 V
  1483. ; Possible values:4 b1 C2 [9 F" X- J0 h8 V
  1484. ;   4  (4 bits: 0-9, a-f)6 `* K9 v  h* |3 b
  1485. ;   5  (5 bits: 0-9, a-v)
    , n2 o/ E1 j+ h- q6 n8 W' M1 i, ^
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","). Y& e: A4 l% ^+ a
  1487. ; Default Value: 4
    1 {- U8 v6 r, w2 k3 x' ^0 M
  1488. ; Development Value: 5) ]" V7 s2 y" r( ]
  1489. ; Production Value: 5
    ' c8 }# c+ c9 k+ N4 n
  1490. ; http://php.net/session.hash-bits-per-character2 D0 p3 U) i8 \
  1491. session.hash_bits_per_character = 5
    $ J, j$ J( j. z& N) @; ?

  1492. ( p6 R2 o$ i4 y9 _+ |
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ! p& i. U, }) ?) u6 ^
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ; U% X2 c- q" }+ @
  1495. ; add a hidden <input> field with the info which is otherwise appended$ t9 X( l$ T- o: Y
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    1 Q: c  x% _' |* |2 v4 v/ g! q
  1497. ; Note that all valid entries require a "=", even if no value follows.' {! S& v( u7 h: f
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    + v: [4 }  h% B0 s+ t
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % _* q- E$ A. n
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# F9 Y' \' @* k  J! u5 C
  1501. ; http://php.net/url-rewriter.tags
    $ E! b0 |5 z! z+ h% G5 t
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"2 K. f6 r+ p6 H
  1503. 1 C! S( J# C1 B+ ~
  1504. ; Enable upload progress tracking in $_SESSION
    8 ?4 ^1 v, n, c$ T) e
  1505. ; Default Value: On, ?( H' L; D! T
  1506. ; Development Value: On
    6 X5 r# G2 ]; ?3 K/ f0 ?9 {
  1507. ; Production Value: On( `. J; X  A: M, P0 p+ H+ z+ `
  1508. ; http://php.net/session.upload-progress.enabled; X( K5 F2 a( E; s, W- u  W3 g
  1509. ;session.upload_progress.enabled = On
    $ s$ Y' t4 j; S* {* [8 `1 W$ n
  1510. 1 u( _1 y8 C* I) c/ G; N
  1511. ; Cleanup the progress information as soon as all POST data has been read
    & n* ~5 V6 |0 ?( @
  1512. ; (i.e. upload completed).
    1 {, u8 Y0 V; p* o* ]
  1513. ; Default Value: On; G: r* l: J4 \. f2 J' u% s, p
  1514. ; Development Value: On* T! n# G. `% b
  1515. ; Production Value: On5 I* X% x7 T4 ^6 I
  1516. ; http://php.net/session.upload-progress.cleanup
    # r( ]3 V% T( z- g& [( s
  1517. ;session.upload_progress.cleanup = On9 h, t& m9 q3 t% H' ?' A+ @3 @
  1518. 3 i8 J; E- D+ ~6 T! g! v2 T9 ^9 p
  1519. ; A prefix used for the upload progress key in $_SESSION
    9 Q* L! }3 I( y: D2 V* h: ^
  1520. ; Default Value: "upload_progress_". O. y' v  T% m4 \6 n/ g" e$ ^0 J& m2 r
  1521. ; Development Value: "upload_progress_"% l% \7 p, G5 g! }  N% r1 F
  1522. ; Production Value: "upload_progress_"! x! o8 `) w8 r; J6 t/ d
  1523. ; http://php.net/session.upload-progress.prefix
    3 A3 }% S# m# h% }
  1524. ;session.upload_progress.prefix = "upload_progress_"& g1 o, B2 |4 S) a. d
  1525. 4 ^* P( W- F8 F* M$ `5 @
  1526. ; The index name (concatenated with the prefix) in $_SESSION' F/ y: s% L* N2 Y
  1527. ; containing the upload progress information
    8 B- `2 f/ d" o' z, E7 p$ \, i3 M; m8 N
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"9 }% G# W1 l, l9 F8 n
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 _& V/ D0 G4 ?
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS". T! z6 C3 j+ Q" \7 m
  1531. ; http://php.net/session.upload-progress.name8 g- C8 z* W0 {- A
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"$ p# b5 x" G, k% i+ a+ h
  1533. 8 `: S( [5 P- D, I4 Z: t
  1534. ; How frequently the upload progress should be updated.
    # U0 A" o! v" t5 V4 ~* N$ s/ E
  1535. ; Given either in percentages (per-file), or in bytes: s- [% [. R7 B$ Y; B4 X
  1536. ; Default Value: "1%"' O! d* J. A% `
  1537. ; Development Value: "1%"
    * \8 }  `* Q# f5 z% V
  1538. ; Production Value: "1%"
    6 d! ?; b6 G$ s/ b; {
  1539. ; http://php.net/session.upload-progress.freq
    2 H5 A* C8 R# R
  1540. ;session.upload_progress.freq =  "1%"
    7 g3 F0 Q$ O7 C& t( U' {: N

  1541. 6 d5 J( z/ }" t' B* i' m/ l. I
  1542. ; The minimum delay between updates, in seconds8 H. P9 C! N0 k; A4 p9 m' S
  1543. ; Default Value: 1$ e2 o, A" V, \- M8 J% t( e
  1544. ; Development Value: 12 B, `: T) e4 c6 g
  1545. ; Production Value: 1: \5 g' w( ^+ s4 }
  1546. ; http://php.net/session.upload-progress.min-freq4 f7 U  _4 I! G9 z7 i$ A% Z
  1547. ;session.upload_progress.min_freq = "1"
    5 K+ {6 e+ I: W9 p3 I
  1548. 9 F/ t6 u5 N( O& o! w% R, s
  1549. ; Only write session data when session data is changed. Enabled by default.
    3 v+ {! Q$ c: e( W
  1550. ; http://php.net/session.lazy-write/ H6 o7 T7 O& h5 I, y) N
  1551. ;session.lazy_write = On% m& R$ U, R$ q/ R' J! B

  1552. ! T6 z/ C! u) l, H4 [; a9 ?! @
  1553. [Assertion]
    0 j- T+ w" Z: H  g) B) l( r7 i! J
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)+ q% }, ^- e2 C6 I% }: {1 U
  1555. ; -1: Do not compile at all3 Q; m. s/ s, T8 [7 o7 |
  1556. ;  0: Jump over assertion at run-time
    9 w5 h* _6 i4 `( |1 J
  1557. ;  1: Execute assertions2 H% M0 D, }: \/ A% m  [8 f$ W
  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)
    : ^3 \* P* k& {1 T
  1559. ; Default Value: 1
      W& k$ g& V' X0 n, M4 i
  1560. ; Development Value: 1
    ( P6 R( L) j6 G4 r9 ]; A9 X
  1561. ; Production Value: -12 m% t' l- Q4 a0 u
  1562. ; http://php.net/zend.assertions( j6 R# ~3 t2 W& ]4 @
  1563. zend.assertions = -1' |$ U& S8 N- s8 W! Y8 H, S
  1564. 3 D  G+ s1 d/ w! X1 D6 p( i" a
  1565. ; Assert(expr); active by default.+ K/ e4 @2 t* u$ I/ X8 V) K( b
  1566. ; http://php.net/assert.active# M7 i6 Q2 j' i0 U$ S0 T
  1567. ;assert.active = On
    * L% z" o; `8 r& }; d

  1568. $ S5 M8 `2 _8 q  Y6 {
  1569. ; Throw an AssertationException on failed assertions5 c- t' q. {2 a, T0 Z+ H7 H
  1570. ; http://php.net/assert.exception
    1 N  T# T% d" }& r5 \2 I
  1571. ;assert.exception = On
    ' \7 |9 ~- l2 L# f/ W

  1572. 9 J& p) y/ G9 v, L( m
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)) A# W8 f) R: v" U5 O
  1574. ; http://php.net/assert.warning
    " _9 S" L! r$ Q+ P# V+ B
  1575. ;assert.warning = On
    6 V  ^0 Q0 ^$ L6 n) A% J2 E' O
  1576. : y% G7 R8 u% M# b! a- y3 b2 Q
  1577. ; Don't bail out by default." i# q4 |8 Q. y+ `6 D
  1578. ; http://php.net/assert.bail
    9 C: D; V. o( ~& N/ v# Z* n" A
  1579. ;assert.bail = Off9 F# s6 u0 U) I4 v& Z8 C: l$ w

  1580. 3 [( X$ r; V% n2 O3 o2 t( a. D5 P
  1581. ; User-function to be called if an assertion fails.8 u+ N. p. y$ u$ j+ Z- V9 o
  1582. ; http://php.net/assert.callback0 c' N3 ~2 t; y  Z
  1583. ;assert.callback = 0
    9 |1 g& k- V0 ?4 I5 T) u% I

  1584. / o1 o6 ]& Q+ z8 z& z
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    0 U! F3 Q4 D4 g+ f; O
  1586. ; error_reporting(0) around the eval().) X9 R* |1 b! f9 P* c1 k; V
  1587. ; http://php.net/assert.quiet-eval
    - g1 M, u& R3 D
  1588. ;assert.quiet_eval = 0+ _1 }; `( u' Y- R! ~0 B3 F

  1589. ( y$ x8 x2 k! l
  1590. [COM]
    , u5 n; s; ]) o& L0 x# h. T3 E
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs7 i* o: n" g- ~; G2 E4 {# V; s4 `" N
  1592. ; http://php.net/com.typelib-file
    - E# X$ y8 Y% u# M
  1593. ;com.typelib_file =
    6 T' p4 B+ J  R# p0 U

  1594. ; y, l, u+ D7 ~8 \5 a, I/ |
  1595. ; allow Distributed-COM calls
    3 y/ R/ y* s1 V/ R0 G3 }
  1596. ; http://php.net/com.allow-dcom9 t4 l! F  y4 n! I
  1597. ;com.allow_dcom = true
    * Z+ r5 F0 f' j2 y

  1598. 1 ~2 V- e% H. G
  1599. ; autoregister constants of a components typlib on com_load()
      B0 q2 d' ?1 {. X) G5 P" x6 c
  1600. ; http://php.net/com.autoregister-typelib
    , S) l7 Z) A$ l; t) D2 C; z4 I
  1601. ;com.autoregister_typelib = true, I8 e+ q) @2 E1 j

  1602. ( S4 e0 T1 K; D! V# a. u
  1603. ; register constants casesensitive
    " t! z  X2 U9 `0 J0 P
  1604. ; http://php.net/com.autoregister-casesensitive
    ) Y# d! z; ^0 w+ t
  1605. ;com.autoregister_casesensitive = false
    . U9 I5 _7 [1 x5 ?6 y" G
  1606. . i! S) c& v! O% {5 q* y" d
  1607. ; show warnings on duplicate constant registrations0 J3 m8 H% S2 q; v1 ~! v% ]
  1608. ; http://php.net/com.autoregister-verbose
    , r( y+ X$ y4 b. L% Z. N3 g
  1609. ;com.autoregister_verbose = true
    : B% s& ]/ i% _* w/ F0 I
  1610. * t3 d5 w. z* D/ Q( O) M; Q
  1611. ; The default character set code-page to use when passing strings to and from COM objects.6 y3 d2 g) v* h- [5 h
  1612. ; Default: system ANSI code page
    + `6 j5 U0 b, ~8 G, E5 _- \8 F$ @, o' z
  1613. ;com.code_page=5 v6 k! M  V* t
  1614. 3 z7 g* `* \! D" W0 n
  1615. [mbstring]# Y* }, H! c# ~) P
  1616. ; language for internal character representation.
    1 D" t; L" l& g+ E: K( A# i
  1617. ; This affects mb_send_mail() and mbstring.detect_order.: {) U8 v* Y  |: G! _/ v
  1618. ; http://php.net/mbstring.language# g4 r8 _1 C2 g6 b! j  J
  1619. ;mbstring.language = Japanese
    7 [# I+ U$ p7 b* U" ~6 O

  1620. 3 F6 C& S; n5 N3 X) M2 e0 _! Z( J6 }
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.. {4 a; S! _5 S4 [+ @  e: z
  1622. ; internal/script encoding.
    ' V( p6 V8 j  m4 a+ }: H
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)2 n$ e- U4 d: f( ?- y
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    - c5 B, U6 s; B! R3 b5 q
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) X) B/ a  S$ S
  1626. ;mbstring.internal_encoding =0 a, d4 N" w: D( _1 w
  1627. ' e  V2 L* U& k# i- G6 o
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    + J; {* w( p0 z$ T9 e, N5 ~: B
  1629. ; http input encoding.9 f. H/ w, w: U5 J
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    0 C9 F% t. j* X: t7 b
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.& S: c- `* ?5 C: ^* ?
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input2 N  j* M4 a$ _, g
  1633. ; http://php.net/mbstring.http-input
    # R2 ]5 S2 @% D( J8 t$ ]3 W2 j: L
  1634. ;mbstring.http_input =
    / n- ]! t. ]. q! ^6 S8 t

  1635. * w( f* m( d$ Q$ f
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    . |5 [/ R1 x2 a% b8 g# y
  1637. ; http output encoding.- ~3 U7 K2 O4 S0 H, T! R& |- t  P+ B
  1638. ; mb_output_handler must be registered as output buffer to function.
    9 j9 v. K& A5 o/ z9 b
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    6 L: I9 I& M1 o2 a! p
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    * D$ Z1 a; ]# H8 P  P
  1641. ; To use an output encoding conversion, mbstring's output handler must be set; k1 l6 i- T5 M6 f$ c
  1642. ; otherwise output encoding conversion cannot be performed.; K7 f2 v' Y3 Q( n9 c# b
  1643. ; http://php.net/mbstring.http-output' v, H- t7 m4 v0 l
  1644. ;mbstring.http_output =
    9 S; G4 I0 ^/ @. r: G9 {
  1645. $ p% ]+ ~! c2 L
  1646. ; enable automatic encoding translation according to
    , t! F- }: c8 H* H
  1647. ; mbstring.internal_encoding setting. Input chars are; p2 T, y% u2 l9 I  n
  1648. ; converted to internal encoding by setting this to On., L, G) S  i4 k$ Q
  1649. ; Note: Do _not_ use automatic encoding translation for: O- X" x) x* B# g  J' t
  1650. ;       portable libs/applications.
    : P; c( u' M2 A5 a( g& f& P, X9 ?
  1651. ; http://php.net/mbstring.encoding-translation
    2 O6 ]- t4 M0 s. W; ?
  1652. ;mbstring.encoding_translation = Off7 {, v6 [1 e7 _1 d3 J3 m7 w

  1653. 2 K- X8 o7 X: n
  1654. ; automatic encoding detection order.
    4 ?# H$ Z3 D& P% y: D2 y; p( H
  1655. ; "auto" detect order is changed according to mbstring.language' _! T+ @# w& N
  1656. ; http://php.net/mbstring.detect-order  m, Z9 O6 |3 z) S$ q* ]3 Z1 K
  1657. ;mbstring.detect_order = auto6 t  |; r' ]7 D  h) J, Y0 x  g( R9 [4 m
  1658. 8 o& G* N+ L- T3 \3 ?6 V) N
  1659. ; substitute_character used when character cannot be converted3 H) f# ^% r6 e- X, v+ M
  1660. ; one from another4 A- D  f) k3 h$ Q- _8 t# b
  1661. ; http://php.net/mbstring.substitute-character8 c" Y1 R0 E3 L8 x- |
  1662. ;mbstring.substitute_character = none
    , k6 T. {# L$ U3 D% j

  1663. % v8 l7 H8 R+ ^% Z
  1664. ; overload(replace) single byte functions by mbstring functions.1 B; ]8 r+ A: @/ i5 E( z( ?
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg()," a; {0 O/ R9 F
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    : ?4 }$ r# m4 E3 f2 Q8 c( ]
  1667. ; For example, 7 for overload everything.! S2 M6 H; K, v0 y: ]9 O+ O
  1668. ; 0: No overload
    ' Z6 b- n( w( M. J9 u0 b" n; n- W
  1669. ; 1: Overload mail() function: H& ?% {. M0 R
  1670. ; 2: Overload str*() functions
    5 f3 ]! N* h) k2 f2 O7 k
  1671. ; 4: Overload ereg*() functions
    $ a' A( ~. b- t
  1672. ; http://php.net/mbstring.func-overload; `  ]" y' C& Y+ b# x' x: e
  1673. ;mbstring.func_overload = 0/ L- I  f% ?- R; [3 n* g3 {
  1674. + I2 T( p9 ]% v+ Z5 D
  1675. ; enable strict encoding detection.0 j: t* E# u+ ?; U
  1676. ; Default: Off
    0 ]5 U3 K: B2 b: ?& a( a1 s  O
  1677. ;mbstring.strict_detection = On
    . @) R- R! M. u  ?4 d3 J  c5 c
  1678. 4 p8 Z* F$ C, L0 X' E$ q; _7 G
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    - J1 x% J, q$ j
  1680. ; is activated.3 C. t, K- ^7 B7 K9 m
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ( s- O6 |; z6 c0 U$ C9 q9 q+ w
  1682. ;mbstring.http_output_conv_mimetype=
    6 y/ O1 D  T# K' c8 v( B$ H

  1683. % i3 \4 b/ h: E+ o$ i
  1684. [gd]% X0 [3 |; D3 O6 y% @0 C! |
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ' j1 f; ?; X9 l4 a
  1686. ; a gd image. The warning will then be displayed as notices
    6 ^2 o7 V: ^2 P) y0 Q8 A
  1687. ; disabled by default
      u3 g" ^: p- R7 ?" w5 l2 \
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ! z* G( ?8 k7 J( b) e: m0 B
  1689. ;gd.jpeg_ignore_warning = 0& h, q' `; M, T; q* U

  1690. 2 o+ F8 W4 j7 |& f! D3 }! ^' d4 t/ ?2 o
  1691. [exif]2 g- k- n4 r3 i" v  r, n
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    3 `* y4 ^7 S5 g  ~  |
  1693. ; With mbstring support this will automatically be converted into the encoding' G+ \6 \' [$ u- T6 [( w7 x
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding2 ?' t+ @' J# y0 S" R
  1695. ; is used. For the decode settings you can distinguish between motorola and
    $ E! r' |6 R2 N. Z- l- E" U8 f
  1696. ; intel byte order. A decode setting cannot be empty.7 V2 W, I' d# i. E5 v) D" ~
  1697. ; http://php.net/exif.encode-unicode" ]( R. i1 {9 l: \7 A! k4 W
  1698. ;exif.encode_unicode = ISO-8859-156 ^" x2 U6 Q+ }  @3 q* d7 ?5 m
  1699. : r* s- A2 c6 e: _) E
  1700. ; http://php.net/exif.decode-unicode-motorola, Q2 J$ K$ i- L% e; x
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    8 f- _5 X, `4 ]! d4 m& S2 N& v" x

  1702. # p9 W& B8 D" P2 j" J- h
  1703. ; http://php.net/exif.decode-unicode-intel
    ; Q! `4 |, E) I$ U3 Z% K* k
  1704. ;exif.decode_unicode_intel    = UCS-2LE& {$ v. ]& K8 o8 N- k
  1705.   W/ C7 E+ f, \/ c
  1706. ; http://php.net/exif.encode-jis
    ( M/ P0 n! P6 X5 R$ T. {) r
  1707. ;exif.encode_jis =
    ) @& @1 ]9 O; S- e5 n
  1708. 0 L. ^1 X' u- d& W. N# |, Y
  1709. ; http://php.net/exif.decode-jis-motorola# j3 n8 l! c6 ]2 [, s5 Q6 E8 S! s
  1710. ;exif.decode_jis_motorola = JIS# K" @/ T+ E4 w% d3 L! Y
  1711. $ [: n1 n; i( ^2 a* b8 V
  1712. ; http://php.net/exif.decode-jis-intel6 I; F9 T1 S( c/ ^$ G
  1713. ;exif.decode_jis_intel    = JIS  W% a. m" `1 b

  1714. ) O! k) Q; L4 Y( B. J4 L
  1715. [Tidy]
    + X: H% M- d( B" F
  1716. ; The path to a default tidy configuration file to use when using tidy" R- I, V0 d0 w
  1717. ; http://php.net/tidy.default-config9 S0 T5 q, Q: a; h2 e# _6 B: s
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg. X  G+ B# o/ M

  1719. ! \+ W/ D8 x, j1 q+ m8 U
  1720. ; Should tidy clean and repair output automatically?3 y% _6 o1 @9 g  H* v) p0 E. S/ K
  1721. ; WARNING: Do not use this option if you are generating non-html content. ^$ G+ E/ m2 t$ \
  1722. ; such as dynamic images
    ' J- R: O+ a7 j- }$ R$ D
  1723. ; http://php.net/tidy.clean-output2 D& l5 R2 T9 y% Y  F5 \
  1724. tidy.clean_output = Off
      \2 w- t" o. \, Q) E4 \

  1725. ! P" F( e8 `* d: l& l& [8 Z8 l
  1726. [soap]
    9 x: X: m2 N: \. y2 F9 d
  1727. ; Enables or disables WSDL caching feature.
    " f( p1 c6 A) z5 e$ t- v0 X
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ; i1 a- O* y$ D* X- @* Q4 r# L
  1729. soap.wsdl_cache_enabled=1
    ! ~( b4 H0 Y. H- x1 o2 c
  1730. ( D2 A( W3 w0 c, H
  1731. ; Sets the directory name where SOAP extension will put cache files.
    6 T$ f5 S* H3 Y/ p! I
  1732. ; http://php.net/soap.wsdl-cache-dir
    - a6 \- _( d2 \  R; m( Y
  1733. soap.wsdl_cache_dir="/tmp"
    % z1 a6 J3 p4 i( e9 H% p

  1734. * {& d% j4 C% V2 M( ~
  1735. ; (time to live) Sets the number of second while cached file will be used# H9 I( g4 f# F( [
  1736. ; instead of original one.
    3 a* g2 z! M+ x+ }% c
  1737. ; http://php.net/soap.wsdl-cache-ttl. g: ]8 t2 E0 L- E* N& Z; x9 t; a
  1738. soap.wsdl_cache_ttl=864006 A7 D9 E; i6 F# y0 T' W
  1739. , R% M+ W9 y) t9 Z) T
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)$ ?% {& @) \' C+ {' n  z+ ?
  1741. soap.wsdl_cache_limit = 5% ^  H; r2 m; y
  1742. - u/ J7 r% c" h- A; j" }8 D( \
  1743. [sysvshm]. A  f/ {  t9 m7 I* ?! N, ]! w/ P
  1744. ; A default size of the shared memory segment- R1 @, h( A& G# I1 `9 I& q5 r1 [- y. x
  1745. ;sysvshm.init_mem = 10000
    + {- `- `9 d" d

  1746. 0 j' a5 f3 g% I* P) [( \
  1747. [ldap]
    * l( ?, I" [- ]9 \; p5 s3 Z
  1748. ; Sets the maximum number of open links or -1 for unlimited.& y* _0 E& Z5 v$ y2 ~! x+ q
  1749. ldap.max_links = -1/ N) Z' i9 n: M3 I/ A: @* A
  1750. / }) f: U- h. M$ [' I
  1751. [mcrypt]
    : w  D( Q- E0 Q! Z5 W! _' N
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ; j, D, v5 b( f2 G
  1753. , d7 K0 K7 r9 w3 ^
  1754. ; Directory where to load mcrypt algorithms9 N) Z5 v$ \0 V$ s9 U7 J: j
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; p0 S2 _4 I  p+ I/ E) I0 y+ Z
  1756. ;mcrypt.algorithms_dir=
    & s. }+ S" |% `
  1757. % _# j6 i: s. E) j! x
  1758. ; Directory where to load mcrypt modes1 Z  X5 X/ p( k0 T
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 Z8 }7 P2 {' P1 A8 p
  1760. ;mcrypt.modes_dir=! G1 Z) E+ {$ ^' `4 L# u

  1761. 2 x! P. I" G4 d7 s$ Z3 ^6 ^
  1762. [dba]" G) v" U0 g  |7 o: N5 J
  1763. ;dba.default_handler=
    ' b3 ^6 e+ g) D+ V: t3 ]
  1764. 6 W0 {( i" {# k8 {5 b- v# F
  1765. [opcache]
    3 {' v* P  ?6 X* b( C; r
  1766. ; Determines if Zend OPCache is enabled
    7 [: Q/ [& Q- D( U
  1767. ;opcache.enable=0
    4 Y8 `* @" c) h$ y  U
  1768. & p" W5 X4 C1 R0 s. _3 C
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    # v, H* X4 N3 U: Q+ R7 F8 U/ I
  1770. ;opcache.enable_cli=0/ b8 F! b; Q# K) v6 D+ h

  1771. " \, F. B2 J4 `9 |+ u
  1772. ; The OPcache shared memory storage size.2 N' Q) k/ m" u/ g1 ]
  1773. ;opcache.memory_consumption=64
    1 f6 C: ~; f2 _: _9 @5 N

  1774. # T1 m  v* D8 w" p) k9 s
  1775. ; The amount of memory for interned strings in Mbytes.. O# K; l, U' \
  1776. ;opcache.interned_strings_buffer=4
    5 E' Y0 I$ \- f, W" r  b
  1777. , S9 _' ?; e- o+ ~
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.- h; ?1 [2 |/ T# ?+ |; z& q
  1779. ; Only numbers between 200 and 1000000 are allowed.* F6 b/ E( W7 ^) i$ q0 s8 p
  1780. ;opcache.max_accelerated_files=2000
    & m  P7 |! g- V% c* ~6 e* {) e

  1781. 9 A" b2 V4 C9 X$ n$ r0 A9 C
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ! X, S- w3 S" i5 [
  1783. ;opcache.max_wasted_percentage=5' D7 Q8 s7 A7 A- U5 A
  1784. % B* J5 j$ l: i0 B2 d6 N6 P
  1785. ; When this directive is enabled, the OPcache appends the current working9 `$ d) H7 \  L% l' I
  1786. ; directory to the script key, thus eliminating possible collisions between
    ) F2 ]/ s8 M& A( H* ]$ h8 m) Z
  1787. ; files with the same name (basename). Disabling the directive improves
    : F* h' P5 x7 X  N" `' T
  1788. ; performance, but may break existing applications.$ E) j  o2 ?* ^+ c3 \
  1789. ;opcache.use_cwd=11 U& g" f0 E) i3 E7 D1 R! X5 U3 k: V

  1790. ) a& i* }+ n* C8 \; r* m5 t. v) ^0 M
  1791. ; When disabled, you must reset the OPcache manually or restart the
    0 |+ _- N' L5 r* c. c
  1792. ; webserver for changes to the filesystem to take effect.
    5 g2 U( ^8 f, r: |8 h
  1793. ;opcache.validate_timestamps=1
    ! [8 ^& V# c( N1 H9 T# y
  1794. 4 }+ I* T$ M5 G
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    1 y* o. \: J9 r0 K, C
  1796. ; memory storage allocation. ("1" means validate once per second, but only! T7 a/ J2 D6 d+ l2 k
  1797. ; once per request. "0" means always validate). x$ E/ [7 M  ]5 M, \4 N3 T# T
  1798. ;opcache.revalidate_freq=2
    / E- N! X: {3 I/ L% z
  1799. 9 A5 `2 f; ~, N6 e
  1800. ; Enables or disables file search in include_path optimization& N3 C. T+ C, C
  1801. ;opcache.revalidate_path=06 x7 k; u2 r+ M; y( s9 i+ Z- {

  1802. ) a2 K! n' @5 u7 r- h4 I
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    7 F. Z) l% }4 p
  1804. ; size of the optimized code.
    0 G* S8 G5 p" `% M: L
  1805. ;opcache.save_comments=1
    - v& `% b( p* b2 D2 i1 y! q
  1806. , C% |6 H: u9 H. p% f4 ~, d. r
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code" c& Z) |/ _3 j* E( K1 C8 u
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.# R# w7 n+ y+ M
  1809. ;opcache.fast_shutdown=0
    7 B7 ?( a: @$ x5 K* X! R5 N$ e5 `$ ?
  1810. ) q& `+ z) w' d" y* i( F; X
  1811. ; Allow file existence override (file_exists, etc.) performance feature.  v3 [& O5 u# u& x8 ^
  1812. ;opcache.enable_file_override=0
      n$ I/ Z6 [. S) @2 D8 r

  1813. 3 T; N3 z4 H% t- ^6 h% D$ P
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    9 r) r1 b8 e9 A) |
  1815. ; passes
    ! E( _3 p1 n* U$ W7 V9 |- l
  1816. ;opcache.optimization_level=0xffffffff% w  P2 O% |6 J* \' X/ Y. \

  1817. ' O- C9 d0 R% D9 T9 @
  1818. ;opcache.inherited_hack=1$ u, n9 f+ U* g' L' c
  1819. ;opcache.dups_fix=07 F$ l# z0 b8 U: C
  1820. # Y& ?7 o9 Q! \, ~) t$ q
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    7 @& r+ ^/ G+ A) C
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    3 v. N1 o# @& |0 w
  1823. ; that should not be accelerated. The file format is to add each filename
    / g5 a# K: q+ _9 p& `9 g/ ?1 v* w! W  ]: Z
  1824. ; to a new line. The filename may be a full path or just a file prefix2 j( a2 z' g  m! ?" ^
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ; w( l$ V4 A) x2 S/ y4 d# V
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ! F3 r' ?+ o% D1 k( q) G6 F
  1827. ;opcache.blacklist_filename=0 P- T( ?% s) i* V
  1828. 6 c, {, n2 U' s1 H) L& r
  1829. ; Allows exclusion of large files from being cached. By default all files2 U* u$ _, O: [1 e9 ]( p. [
  1830. ; are cached.
    ) a6 ?& m6 q1 B: u! {& d
  1831. ;opcache.max_file_size=0* g% C( C+ u" j" \, t' T# q, v
  1832. 2 `  t- G: U( C: b
  1833. ; Check the cache checksum each N requests.; T6 ^  j7 k) q6 R( S) \
  1834. ; The default value of "0" means that the checks are disabled.) \$ k6 y+ ~* ~( ]6 x. ^7 R
  1835. ;opcache.consistency_checks=09 w8 f( i4 u7 Z; Y: `& a

  1836. ) m) g0 b6 ?2 I6 d. }4 @5 @* ^+ y
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache" v; u) e0 \/ z
  1838. ; is not being accessed.0 h% E) c- U( N; s: i$ m9 _
  1839. ;opcache.force_restart_timeout=1802 \" b. P. b$ K) }9 N( U2 E! X# W* \1 y
  1840. 7 D9 t8 o. z3 k& l
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    8 |: K) f1 s" q. N; w2 }
  1842. ;opcache.error_log=
    2 z) |) _- n8 @! K8 L/ q7 U# b
  1843. 4 D6 j3 m+ P/ O3 H. E+ I
  1844. ; All OPcache errors go to the Web server log.9 X, N9 x6 g0 ]5 A
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.3 b/ K. F* G5 o' r6 _/ g
  1846. ; You can also enable warnings (level 2), info messages (level 3) or  ?/ B2 g* f3 A* [1 v
  1847. ; debug messages (level 4).% D$ c2 V, I, b. \
  1848. ;opcache.log_verbosity_level=1
    , M3 L9 \3 g3 R5 `: C  Z
  1849. ; ~, e1 _8 Q! t. P: d2 h  g
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ) A0 b% c  ?, ^1 M* y
  1851. ;opcache.preferred_memory_model=& w( L8 M; a# x9 d) v3 s

  1852. 4 z' Z, }* X& o$ [# c: g
  1853. ; Protect the shared memory from unexpected writing during script execution.
    : @7 w" K1 I; s2 K/ f
  1854. ; Useful for internal debugging only.
    5 m3 y+ l6 L# c) A: j9 n$ M
  1855. ;opcache.protect_memory=0
    7 q: E/ m9 X" n' Y9 i

  1856. * C+ B! F, G( `
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is2 m+ a; H4 D) ?. I! y* k
  1858. ; started from specified string. The default "" means no restriction' V( e- p% D! \5 P$ f0 |) H. }" y
  1859. ;opcache.restrict_api=* d' S0 a6 h: {7 ^3 C7 X

  1860. 1 Y) M, ?8 A8 s) s8 X* a* k% y* F- T
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP& _2 Y" E! G; k- Z9 ?) M1 \
  1862. ; processes have to map shared memory into the same address space. This" @+ m& {7 q% j4 T. H
  1863. ; directive allows to manually fix the "Unable to reattach to base address"! B' v3 Y5 d1 O" \" Y
  1864. ; errors.
    ( ^! O7 {7 F+ @! {& n
  1865. ;opcache.mmap_base=3 l- ^+ Y2 e7 ^
  1866. - x  K- s6 e' F4 q' k- ?/ f7 N6 N
  1867. ; Enables and sets the second level cache directory.: v7 _/ [  a6 ]5 k: I9 e* a
  1868. ; It should improve performance when SHM memory is full, at server restart or# N  p  i. ~5 a3 b$ L2 M
  1869. ; SHM reset. The default "" disables file based caching.6 f$ M7 E7 A# E! E2 I$ i
  1870. ;opcache.file_cache=, b0 u) q, w- m, C. Z6 T  l

  1871. 2 j/ ]$ t0 @; O# ^
  1872. ; Enables or disables opcode caching in shared memory.
    # k' k' i+ A( D( Z5 Z
  1873. ;opcache.file_cache_only=0
    5 w  N, D# y7 [, @" D4 |. k

  1874. % F- U7 L- x/ f9 j
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ! c1 L7 x5 I7 a: W
  1876. ;opcache.file_cache_consistency_checks=1
    : }+ s3 |% W) m/ E4 N8 ~

  1877. / _6 {+ [& ]: |7 d
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to- [# \& y3 P4 ^6 k  n4 g
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file/ j' P. ^/ _" B
  1880. ; cache is required.: @4 ^, {' g7 ?7 v% ?
  1881. ;opcache.file_cache_fallback=1
    % b- }3 e$ }& z0 m+ G; l
  1882. $ u! X0 N# G. G' \" _
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    1 \, ~0 h6 n& ^4 J' j: J
  1884. ; This should improve performance, but requires appropriate OS configuration.8 T3 A. K; V6 J. X
  1885. ;opcache.huge_code_pages=13 D9 t: t$ P* a; a$ `3 [

  1886. 2 r! `* R: s* H
  1887. ; Validate cached file permissions.
    1 e+ A* M$ j, `3 I
  1888. ; opcache.validate_permission=0
    . s5 f! v/ ?2 W- x! A* u
  1889. + Y+ \5 b$ c# Q1 J! j
  1890. ; Prevent name collisions in chroot'ed environment.
    6 _' b; t8 b0 x/ T
  1891. ; opcache.validate_root=0
    $ F0 b+ @! k. C' ]$ t0 R  t2 j* o
  1892. 9 z2 C6 |7 a& S) r
  1893. [curl]' L' M( ^: k% ~
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an9 ~5 _0 g0 Q1 b% [; ^
  1895. ; absolute path.  r& ?6 p  G  D% V
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    , d' n5 \0 ^1 V2 {  P2 T

  1897. - S( p3 K# _) c; O
  1898. [openssl]+ v! @- D& q; o+ b2 d
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    7 n! g3 a3 K/ Z4 k4 q3 t
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should; f( F( Q: h9 C+ X
  1901. ; not specify a value for this directive as PHP will attempt to use the7 z% b% Z8 ~/ a% j2 r/ a7 t
  1902. ; OS-managed cert stores in its absence. If specified, this value may still6 U' r4 S: `5 Q2 W
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context& F2 p) @! N- m3 C2 ^. W/ ]
  1904. ; option.4 ^, r( `% a) A4 T4 O7 w  ~
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    1 s) l& O4 q, g$ \
  1906. $ w- B& @  x4 {4 `/ M
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the5 o3 v. J3 Q+ {! L% a0 |* N
  1908. ; directory pointed to by openssl.capath is searched for a suitable: m1 p  `, q5 z
  1909. ; certificate. This value must be a correctly hashed certificate directory.5 ^7 b5 R& o; \- H" p; m: ^+ w
  1910. ; Most users should not specify a value for this directive as PHP will
    9 D7 _* {5 [( p
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,) T0 u3 x6 v6 a5 ?  J0 o3 r. P% [
  1912. ; this value may still be overridden on a per-stream basis via the "capath"3 W0 N8 }/ ?& B1 V" Z+ ]) h, F% Z# o
  1913. ; SSL stream context option.
    $ x2 x1 W! Q6 s" F9 z
  1914. ;openssl.capath=
    ! }3 Q1 Z  v# f; U

  1915. 9 z5 J) e0 d' c& A% S
  1916. ; Local Variables:$ i' g; `' J7 P' v4 j" ?0 ~
  1917. ; tab-width: 4) |$ f  q  b; p2 ~
  1918. ; End:
    $ |& a! ]; g% I: s. }) Z4 d
  1919.   F4 ], d" u# W% ]
  1920. ;eaccelerator  H% L* u& Q5 {5 e
  1921. : L; \. I  j2 w. Y  N
  1922. ;ionCube
    + G1 E! c$ }4 i% i

  1923.   h& O9 E& I/ f( y* l" N
  1924. ;opcache# d* K8 N. J; |+ m; s
  1925. % a( E3 X  m0 O
  1926. [Zend ZendGuard Loader]/ o1 [* a" V( @$ y$ N! Y& Q; b
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.& `9 V. n. w! F4 O# m+ m; h
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so( P- `3 `8 V: Q* C+ f7 N
  1929. ;zend_loader.enable=1
    2 k, U9 X( W0 T3 @4 R# h5 _% E
  1930. ;zend_loader.disable_licensing=0& k# ?$ P, R$ U
  1931. ;zend_loader.obfuscation_level_support=3; ]& Q+ @8 w, |' d
  1932. ;zend_loader.license_path=
    6 P+ I3 T: v- T) E7 M) w% d

  1933. $ n; J7 v+ l8 I. ]* b5 v
  1934. ;xcache
    ' F  u% v/ E$ _- Z

  1935.   Q1 h1 g- \& k( j/ Y
复制代码
3 l/ |( i1 i( v( h
/ Y! ]1 L) S/ U4 U. i

  y+ h  Q$ X. D0 z: E: q/ j3 m  e) e6 I* z  |

: ]1 u: ~3 j% o3 a, E! H3 V5 T  R% E1 Z7 T) ^9 l

" C2 t/ e! c- j( U; QPHP5.6版本原始设置+ B% ^' B% O# t1 q$ W. l
! x9 h0 `* D8 `% q* ~; O: s5 n
  1. [PHP]
    2 J: ?( [% t+ w' q9 X5 `* E: X  c
  2. % n2 H6 W5 v& {3 u8 s9 f2 c% `% l' d' [
  3. ;;;;;;;;;;;;;;;;;;;
    3 E! B4 U9 d, r# J
  4. ; About php.ini   ;
    ; G- u/ V' S6 d2 M* ]" @/ x
  5. ;;;;;;;;;;;;;;;;;;;0 \3 Q! {8 T1 l" {0 |& k
  6. ; PHP's initialization file, generally called php.ini, is responsible for/ X9 Y+ u$ A) s- f5 X" L
  7. ; configuring many of the aspects of PHP's behavior.; Z( I$ j# {9 j
  8. ) F' _( D7 X8 J: D5 M: P
  9. ; PHP attempts to find and load this configuration from a number of locations.4 b, u0 p& V5 C/ J: V, v
  10. ; The following is a summary of its search order:
    1 z+ i) \) ~4 U
  11. ; 1. SAPI module specific location./ y# p/ H7 ]- z; v
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    0 n" h9 u. h8 E$ t
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)2 C3 y8 p5 o# b* P  l
  14. ; 4. Current working directory (except CLI)
    & ]6 S6 A- `2 b; k% L! C
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
      ]& [2 h/ g4 B  `" B
  16. ; (otherwise in Windows)
    0 d" y& b- \, Y7 _$ N
  17. ; 6. The directory from the --with-config-file-path compile time option, or the! \, V+ R1 R$ j. m
  18. ; Windows directory (C:\windows or C:\winnt)
    3 |% z' ~8 q# L) @* F
  19. ; See the PHP docs for more specific information./ h# r9 }  x. t1 D. _6 X: Z2 e! S
  20. ; http://php.net/configuration.file
    ) i$ X/ j1 n3 k/ K

  21. ( z8 ?/ V9 R0 j& L- j$ t0 x
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    # p% F( _! I' D& K2 y2 v
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    " T& F( B! j4 T( Z5 a
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    % L9 O5 p# H- S- \
  25. ; they might mean something in the future.5 w  F8 ?/ C# W4 \, N

  26. # K) C' g# y/ S7 N9 A0 R
  27. ; Directives following the section heading [PATH=/www/mysite] only5 h) |: @, _- {. e
  28. ; apply to PHP files in the /www/mysite directory.  Directives5 h, S9 \: T4 e- d) G8 r
  29. ; following the section heading [HOST=www.example.com] only apply to
    ) D7 V8 m$ C3 z0 {
  30. ; PHP files served from www.example.com.  Directives set in these
    / E! _3 A8 S2 y+ o, Z, ~9 ~; S
  31. ; special sections cannot be overridden by user-defined INI files or3 J. T: m* ]. y6 w: Q( g( c: O
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    - q+ C( C3 h$ X/ y0 V3 M
  33. ; CGI/FastCGI.
    & H) n5 u6 ?; P- D' }. a
  34. ; http://php.net/ini.sections' c, R1 U% L- m  \
  35. ' u6 W6 Q3 \4 [# _- N
  36. ; Directives are specified using the following syntax:
    ( z! z( r# x# O0 v4 q
  37. ; directive = value8 X" M) F- l5 q9 E0 c/ z
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar." @3 [5 k$ E) ^# O3 i) A! S
  39. ; Directives are variables used to configure PHP or PHP extensions.
    6 V7 x- |$ k# _  U) e( u5 s8 e
  40. ; There is no name validation.  If PHP can't find an expected
    6 \7 o) r; q  O4 ]2 ?
  41. ; directive because it is not set or is mistyped, a default value will be used.9 ^, I4 r- n/ `: @
  42. + D/ G! t1 T! h6 u0 j* c- D
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one& d, z+ z. Q/ A! [( q! G) V
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    + [) J+ x( i( m! T$ d- @( H. Q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    . {  w! |1 Q, }3 s4 m0 n* p
  46. ; previously set variable or directive (e.g. ${foo})* [7 @  V6 `) E: |- j1 B0 A
  47. 2 @% ]# W. [5 F& ?7 l- b3 q
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    3 l2 p+ }5 g8 H( f  @
  49. ; |  bitwise OR' G' S" L* y6 k. H5 R& q
  50. ; ^  bitwise XOR
    - X8 o( b: h9 e$ w
  51. ; &  bitwise AND1 Z) \) A. ^- Q( m' ?% E' H) J
  52. ; ~  bitwise NOT8 y1 \5 {! u& z7 ?: x
  53. ; !  boolean NOT
    ' c9 @& A% K6 l
  54. 7 z5 f- O# d4 \, T6 Y9 [# Y  c  ?
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ; @! I3 t* o: k7 ~4 y! Z0 g" A$ j0 q# O
  56. ; They can be turned off using the values 0, Off, False or No.+ T7 i+ l- o8 }; K4 U
  57. 3 i7 q, ]; t& e; }* v7 j
  58. ; An empty string can be denoted by simply not writing anything after the equal
    6 {  D- q" y$ w
  59. ; sign, or by using the None keyword:
    $ n4 I$ N5 c( A- |9 }

  60. & p  j" h5 K4 J6 T9 G
  61. ;  foo =         ; sets foo to an empty string
    - w4 L1 k5 J0 Y+ |$ b3 ?
  62. ;  foo = None    ; sets foo to an empty string0 J! Q; T+ j4 F0 ]( @; J! t, E  [
  63. ;  foo = "None"  ; sets foo to the string 'None'& r) ~" H" u, _" A/ T

  64. 2 o1 }# l1 _: J  P
  65. ; If you use constants in your value, and these constants belong to a
    & Q/ g/ [) |3 A% h, P
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),8 T9 i3 j2 _; q) l, r+ J
  67. ; you may only use these constants *after* the line that loads the extension.
    " `9 W8 w1 {5 O" G* x% N1 H
  68. ! f" z8 N; r; B1 W; S
  69. ;;;;;;;;;;;;;;;;;;;; u0 i' d6 |& j2 [! ^; C; G
  70. ; About this file ;
    0 n0 [4 u1 K7 l* ?4 p  j
  71. ;;;;;;;;;;;;;;;;;;;% |8 a/ r1 w9 y
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    7 K) c. N, z* C( T5 a* A
  73. ; in production environments and one that is recommended to be used in: C4 x/ F3 q6 O% c
  74. ; development environments.
    ) y, u0 X) ?4 U8 Z5 p) s

  75. 6 {: g2 H2 H& z4 t1 O" X; I) @
  76. ; php.ini-production contains settings which hold security, performance and
      A9 `7 D5 Z& n6 u1 H- a
  77. ; best practices at its core. But please be aware, these settings may break/ g1 N( ]: U: N4 l8 ~/ g& ~- Q( u
  78. ; compatibility with older or less security conscience applications. We$ V  V# x  h8 z1 @
  79. ; recommending using the production ini in production and testing environments.
    ! V3 F: B8 P$ H* {& D
  80. 0 j2 B# u3 \0 x- G7 p  |: h
  81. ; php.ini-development is very similar to its production variant, except it is* [5 n8 I8 {. ^" k7 E1 U
  82. ; much more verbose when it comes to errors. We recommend using the, _. d) h5 t3 }9 L5 E" K, M
  83. ; development version only in development environments, as errors shown to# i2 ], B* w/ J1 I
  84. ; application users can inadvertently leak otherwise secure information.
    ; ?) F& o5 B) e7 z% ]' u( l, J
  85. 4 Y! B$ _. J2 _6 G: G' P, ^
  86. ; This is php.ini-production INI file.
    : Y# Q5 @5 B' C9 K4 G, U  }
  87. 7 w* x* i2 S: Y6 n$ P0 D/ ?
  88. ;;;;;;;;;;;;;;;;;;;
    ) n" S! g2 D* D( X) o& ^
  89. ; Quick Reference ;% c! Y' l8 a& P- r! m& L7 a  p. X" R
  90. ;;;;;;;;;;;;;;;;;;;
    & n* u9 m6 _( A- y" P
  91. ; The following are all the settings which are different in either the production( G( ]4 B- t& _8 `# \# g
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    % T# h0 z. z# W
  93. ; Please see the actual settings later in the document for more details as to why
    # q8 ^4 @! a8 A; T/ s: H! F
  94. ; we recommend these changes in PHP's behavior.) R0 M+ ]- }: G0 y. |, T
  95. 3 b! G& x% R- R8 V# B3 _
  96. ; display_errors
    # O- |  F4 Z" L, S: \/ i3 f- f  g3 m
  97. ;   Default Value: On
    # [: v( s1 H. w4 Y2 J& n
  98. ;   Development Value: On1 {5 J9 K0 v3 a: r! e$ X4 m8 \
  99. ;   Production Value: Off
    6 n4 u4 y0 M' g

  100. 5 p" X) d8 R! ~  M
  101. ; display_startup_errors
    7 X7 M1 a6 j6 b  N# @+ F/ |/ A
  102. ;   Default Value: Off
    # o. g' S0 [% n  I
  103. ;   Development Value: On+ B7 Y0 s, g& A# S' D" g
  104. ;   Production Value: Off
    / ]6 p) i& e2 d7 s) S
  105. ( K3 N4 ^& X; ~9 r! N
  106. ; error_reporting7 t  x& Y' m/ v; ?8 x) B$ d
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED5 G) O, {& g' a( m8 T# ~
  108. ;   Development Value: E_ALL
    2 g  ?: V. s6 b- H
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, M( r0 E. _" }, b- p8 ?

  110. 3 _! w8 N- ~& j; b
  111. ; html_errors2 N6 Y/ Q6 V$ Q8 z$ x  D1 j- [
  112. ;   Default Value: On& u+ d0 b# g* k. k& {$ G
  113. ;   Development Value: On
    : T( l  m9 e( v/ a: L
  114. ;   Production value: On
    7 \/ E0 h7 Y2 O  r. m
  115. 3 g1 u4 x5 d( Q, j
  116. ; log_errors  M* g8 O6 ?0 l& O6 @! @
  117. ;   Default Value: Off
    9 h  ^* a! T* `! C
  118. ;   Development Value: On: t& w8 }8 G6 X3 ?( X* r3 [  t1 t
  119. ;   Production Value: On
    $ p6 y$ x( d* m. j/ t- L- B

  120. 1 {& G% l0 Z% T( u) V* y. a
  121. ; max_input_time4 C3 Y0 @3 X' P  A) p8 ~: Q
  122. ;   Default Value: -1 (Unlimited)0 M; g: M& m0 Z# I" a
  123. ;   Development Value: 60 (60 seconds)6 [! C4 w7 c" b
  124. ;   Production Value: 60 (60 seconds)1 g  o- x9 e6 D5 n# W& e( H% ]

  125. ; ~. B' N, l  N
  126. ; output_buffering3 z) C7 h3 m8 f# D7 z
  127. ;   Default Value: Off
    8 e6 u/ f6 Q4 `" K: t. U! s
  128. ;   Development Value: 4096
    8 D8 k; P2 a+ w$ v
  129. ;   Production Value: 4096
    6 X( c# m7 Y0 \$ J; X2 s" N+ U1 y

  130. # L, k4 y8 s7 J5 \# x) W
  131. ; register_argc_argv) s: F/ K8 @7 ]% O. O& p
  132. ;   Default Value: On8 N" t2 [5 Z4 F: p7 z1 f% t) z3 O$ d
  133. ;   Development Value: Off, G- C# H: b. V* y8 c9 A
  134. ;   Production Value: Off
    2 l8 W- o0 l& d9 Q2 n7 ~! V

  135.   ~" k2 X5 Q6 p2 g. i9 A2 O
  136. ; request_order
    1 I, R7 o4 _. |% r  R1 C$ j
  137. ;   Default Value: None
    4 O) D3 J' o- g+ \6 V6 |/ J( }
  138. ;   Development Value: "GP"
    2 k% Z& z+ p! p/ }( {* U
  139. ;   Production Value: "GP"3 [7 x1 o5 p: o+ ~% r1 X

  140. 1 y0 x" \3 v1 S- H
  141. ; session.gc_divisor
    . v+ |/ m" a' _4 K
  142. ;   Default Value: 100# d# @. f5 T' V
  143. ;   Development Value: 1000
    5 B& Y5 O+ u* k/ [
  144. ;   Production Value: 1000& e6 O  D0 D6 g* }9 t! n

  145. 1 c0 Y/ o( |9 c. e- {1 x7 Q
  146. ; session.hash_bits_per_character
    2 G! s. L) s6 G
  147. ;   Default Value: 4
    : c* ~5 k5 ~1 {# k( q. ^* n! S' T
  148. ;   Development Value: 5
    ! }! T5 ?1 l3 @+ o. b0 Y6 }
  149. ;   Production Value: 5
    / b! `! ~8 o0 ?: H+ `8 F

  150.   }3 n+ Y( L# f5 r4 c/ p
  151. ; short_open_tag
      Q  o, Z" d9 A( R, c/ q  I
  152. ;   Default Value: On# @3 R2 ]: ^; L5 a, _4 K# d
  153. ;   Development Value: Off3 Z5 T* x# [5 V9 n7 m; L6 ?; {! o% q
  154. ;   Production Value: Off0 S; `# R" L1 w- T& V) P) S

  155. & f( `& C# @4 s1 Z$ E$ k9 ?# u
  156. ; track_errors
    % n5 e6 U! U' J" q6 D
  157. ;   Default Value: Off+ g* G3 ]0 ~' Y+ V9 [
  158. ;   Development Value: On
      Q4 T; j6 R' Y* r; b# \. E. H
  159. ;   Production Value: Off2 v& B7 a4 V  M$ _
  160. 3 d6 P5 u! t( f- W+ p+ e
  161. ; url_rewriter.tags8 x5 i, ^' L9 Z" R. V
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    : O' }1 A7 a# s' x3 A
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": D2 w6 r' W0 Y7 q
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 k: b% q; Q1 \& K
  165. / F4 a  J. F: l+ j& F. f# {
  166. ; variables_order
    2 Y9 d) C1 p. l9 L! B! Q/ F
  167. ;   Default Value: "EGPCS"' [/ ]% O7 |' z
  168. ;   Development Value: "GPCS"
    ( ^/ z' O+ m" z  Q, ?5 @; p
  169. ;   Production Value: "GPCS"' |% b2 P  W) f2 |5 v

  170. , |1 V( Z: n- Z! r9 H3 N* c
  171. ;;;;;;;;;;;;;;;;;;;;
    9 {: ~0 H, S0 f% u7 y, @
  172. ; php.ini Options  ;
    / _0 t9 d5 T! l* K+ f5 l0 {5 L
  173. ;;;;;;;;;;;;;;;;;;;;4 U8 ~  e" N& }0 R: G
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"5 f3 S% C9 z: x8 F, Z& \* I
  175. ;user_ini.filename = ".user.ini"5 J, c% u2 H6 o4 }2 z/ e
  176. : F8 @  `" t" s4 z
  177. ; To disable this feature set this option to empty value
    : f2 ?8 o) w) }3 L* }9 F% ~2 b
  178. ;user_ini.filename =+ ]- C8 ?" Y! b; k+ ?" t; l3 r

  179. $ ?  P9 V, Y5 E0 q
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    " F& x( G  j: _8 c" [# R
  181. ;user_ini.cache_ttl = 300$ Z( z' T" ^( A  q: A) n1 E
  182. " {# M/ v2 @8 i) h! _; ^6 k  B
  183. ;;;;;;;;;;;;;;;;;;;;1 b: s- B# H, x
  184. ; Language Options ;
    7 n* T: N' e4 S* l/ M
  185. ;;;;;;;;;;;;;;;;;;;;" ~: V6 ?. a$ j8 J9 t& R! Y* a+ _
  186. , c& R8 x1 y% G9 H2 j! }& v! Z
  187. ; Enable the PHP scripting language engine under Apache.. j, n$ I2 r0 c/ t# T
  188. ; http://php.net/engine: Y0 t' B6 D; `% ]( y* P. P, `
  189. engine = On
    ( f3 L: ]4 c' M! Z* j+ T$ t
  190. * F+ K9 Z8 n( V$ i
  191. ; This directive determines whether or not PHP will recognize code between2 V5 v8 d% S4 {( M# Q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    8 M' `1 V: I( w* a3 z5 ]
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ) s/ d1 l$ x0 a5 B
  194. ; should be disabled, as enabling it may result in issues when generating XML
      @2 z; g, z0 `: k2 S) e( l
  195. ; documents, however this remains supported for backward compatibility reasons.
    2 `, h8 D& E' X' A1 y; h1 @" L
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    * z: q: J% |8 u- A4 q
  197. ; used regardless of this directive.3 i, k2 K8 s+ c8 a6 O7 g$ @0 n
  198. ; Default Value: On
    * C6 y0 P  J/ Y) ]/ G# n# K' M
  199. ; Development Value: Off
    3 p& e! K8 ?# @4 H/ F: y
  200. ; Production Value: Off0 ^) b3 C# H) w8 G
  201. ; http://php.net/short-open-tag8 w$ ~# G# g8 L9 c. R
  202. short_open_tag = On( J, M1 |6 X- v8 Y5 r

  203. % P6 X/ i: D8 W7 Q
  204. ; Allow ASP-style <% %> tags.
    + H. ?8 E# v" h7 h# V; H
  205. ; http://php.net/asp-tags
    4 D5 r0 a5 r3 P1 C
  206. asp_tags = Off9 E5 s+ Q# A5 z# ^
  207. 2 _& w$ Q8 Y3 a9 q, x
  208. ; The number of significant digits displayed in floating point numbers.
    7 h" [+ ~7 o) a& Z4 @2 i
  209. ; http://php.net/precision, H" {! q! |' K6 r
  210. precision = 14' Y# O& ^# M* e5 u& v
  211. 6 Z+ S2 S5 y( W$ b& l
  212. ; Output buffering is a mechanism for controlling how much output data
    ; k; ^; q- c. e' ]
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that) r1 I& r4 B5 K/ }
  214. ; data to the client. If your application's output exceeds this setting, PHP
    8 J, C' J0 U7 o* r+ M8 x
  215. ; will send that data in chunks of roughly the size you specify.% K+ |  y9 M6 O$ V
  216. ; Turning on this setting and managing its maximum buffer size can yield some1 g! u6 x0 m6 D" z) M
  217. ; interesting side-effects depending on your application and web server.3 A1 B; q! X. v! i- Y& U" B
  218. ; You may be able to send headers and cookies after you've already sent output7 N8 o2 p1 [# [
  219. ; through print or echo. You also may see performance benefits if your server is
    9 }- ~7 p: s2 W6 o
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    : z8 Q5 R9 }& f! ~
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance: ^5 I% I1 `" d  [
  222. ; reasons.. V2 \: w- C; N. v! G
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    * ^6 f/ L+ a- m" e5 {3 h' b
  224. ;   functions.
    1 U$ G' v, ?; y6 k5 n$ X4 ]4 A
  225. ; Possible Values:! D3 ~2 g- V, `5 _
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    6 l& C/ n  m6 G5 _. p
  227. ;   Off = Disabled  f! i( K# C& ]% S$ W6 u
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.' C% ^/ f* n: E  D
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; E9 r# h# ]2 g2 f8 m
  230. ; Default Value: Off
    / H% F) n9 o  y4 B' W% _
  231. ; Development Value: 4096, C; ]% ^$ ~7 F3 T
  232. ; Production Value: 4096
    9 ^8 ^1 g+ B- b* G
  233. ; http://php.net/output-buffering9 v' C6 I; w5 P% a
  234. output_buffering = 4096
    " b/ K5 E' @, H0 R3 d6 O

  235. - X% K9 w' v0 F. B8 o# T7 \
  236. ; You can redirect all of the output of your scripts to a function.  For! E6 D- J7 W; ^: h/ w
  237. ; example, if you set output_handler to "mb_output_handler", character+ S' f; \  F6 X5 `4 v
  238. ; encoding will be transparently converted to the specified encoding.
    3 a+ Z, g% n7 i. B9 q' b/ i2 `
  239. ; Setting any output handler automatically turns on output buffering.. Y' u6 O) z5 z1 z1 `! ]
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ; O( I) s$ U2 G# i; a5 M
  241. ;   directive. Instead, explicitly set the output handler using ob_start().3 n! f: ^! |- }; S! T
  242. ;   Using this ini directive may cause problems unless you know what script5 W4 m) ]8 {# v  X9 @- P
  243. ;   is doing.
    + C6 L1 X5 @8 C) X; [: Q/ \
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    0 F, i' Y; r" i  Z: u/ C
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ) X# ^6 x) }3 ~. m
  246. ; Note: output_handler must be empty if this is set 'On' !!!!- f% V4 E( G: E8 c/ |6 O, V
  247. ;   Instead you must use zlib.output_handler.
    9 c( }) s3 ^1 I8 m; _$ i
  248. ; http://php.net/output-handler0 a. u( d7 H$ h
  249. ;output_handler =
    6 {. H3 K6 d  s. P
  250. : f0 D2 b' `( d9 ^; `1 ]" `) z
  251. ; Transparent output compression using the zlib library1 m8 ]- y' A6 |* ~5 W9 h% E5 v
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size' q/ T: J/ _4 y" p
  253. ; to be used for compression (default is 4KB)
    ( D- X3 }4 [/ P6 J& @
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP* i& B; X, U+ ^! [
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    ! X3 V" O2 o" G
  256. ;   compression. If you prefer a larger chunk size for better5 ~* g6 M" p) @* P: d& d
  257. ;   performance, enable output_buffering in addition.
    , S) d, v; J5 |+ z+ o# J
  258. ; Note: You need to use zlib.output_handler instead of the standard
    7 T/ x, J1 h$ S
  259. ;   output_handler, or otherwise the output will be corrupted.
    8 R. D8 C5 v6 m0 |$ h9 d
  260. ; http://php.net/zlib.output-compression. j7 H1 {6 G$ s, r9 R5 W
  261. zlib.output_compression = Off
    8 r0 _4 D1 G. ^, `; D; i" N4 [
  262. ) A* O( K: S3 `6 o% \
  263. ; http://php.net/zlib.output-compression-level
    8 ]1 m' ?9 I& D8 Q/ `
  264. ;zlib.output_compression_level = -1
    + c+ ?6 l4 ^) ^( Y
  265. ' a9 r/ j0 c+ @( L- ~6 S
  266. ; You cannot specify additional output handlers if zlib.output_compression
    . [6 ~3 p7 F- @8 X3 V) N/ |
  267. ; is activated here. This setting does the same as output_handler but in
    3 L- T$ \1 t& }; _$ ?" a, m) }
  268. ; a different order.
    + T' y2 m; m+ m6 E" f* s; W2 S0 j
  269. ; http://php.net/zlib.output-handler
    2 o( C% G3 M$ `7 \, u+ r) \' c/ A
  270. ;zlib.output_handler =9 l1 v) J  R  G/ Z" R0 f

  271. ( y- y/ S0 ]6 j# H
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ' B& b3 @+ H; }  Q' k/ L' R
  273. ; automatically after every output block.  This is equivalent to calling the- g+ p% P7 k5 m8 Y
  274. ; PHP function flush() after each and every call to print() or echo() and each
    + g9 _, _& `0 x. |5 O
  275. ; and every HTML block.  Turning this option on has serious performance
    - e' s; m# \$ N% r
  276. ; implications and is generally recommended for debugging purposes only.
    : `9 q& d3 C9 H- x6 E% \% O1 P
  277. ; http://php.net/implicit-flush1 X$ u6 }9 [. q
  278. ; Note: This directive is hardcoded to On for the CLI SAPI% X9 {$ e5 W- x) \5 M
  279. implicit_flush = Off
    * H& m  _% z/ S" X( e/ f6 b
  280. # I, K/ Q: C1 s0 V/ O, O  d
  281. ; The unserialize callback function will be called (with the undefined class'
    - d1 j' u, e) |1 {/ f
  282. ; name as parameter), if the unserializer finds an undefined class/ l' n7 S- l, y2 D' [' i
  283. ; which should be instantiated. A warning appears if the specified function is
    2 u3 H$ v" T0 ]0 N
  284. ; not defined, or if the function doesn't include/implement the missing class.
    0 b+ b, r0 Q6 B- e
  285. ; So only set this entry, if you really want to implement such a7 `& F0 y8 B/ I# x  b  i! _
  286. ; callback-function.
    ; c9 A; M5 l; I3 d2 O& h
  287. unserialize_callback_func =0 P8 @/ A0 a2 Q2 }1 I6 H, A! U/ N
  288. - R9 V* U3 @' d7 W: L3 O
  289. ; When floats & doubles are serialized store serialize_precision significant
    ' k1 G; I4 L4 O$ ?, i7 e7 c, r+ E
  290. ; digits after the floating point. The default value ensures that when floats
    " u* I$ S' c4 ^- H
  291. ; are decoded with unserialize, the data will remain the same.! t$ g$ |* H7 i5 i
  292. serialize_precision = 175 W+ C/ J' g5 j
  293. 6 U( i* K# H9 W
  294. ; open_basedir, if set, limits all file operations to the defined directory
    ) q1 x5 K, C" X' D2 o; ]% x* E- L" a
  295. ; and below.  This directive makes most sense if used in a per-directory
    # k7 t; o1 C4 `$ G3 Y
  296. ; or per-virtualhost web server configuration file.4 I. n$ p% c9 w2 c3 f) b
  297. ; http://php.net/open-basedir
    4 P) \5 V" g; w8 F# |# x
  298. ;open_basedir =
    : L4 K" {/ @# r8 i% w! O( t( L

  299. % O/ ^# H# s# I
  300. ; This directive allows you to disable certain functions for security reasons.' q' W7 g6 r4 j# j
  301. ; It receives a comma-delimited list of function names.
    ; e( G: f0 t4 h2 f: x! y8 q
  302. ; http://php.net/disable-functions% ?# H9 S1 Q6 R: o8 ]& c( S/ }
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    / S# `" a  n2 }; y1 v
  304. 0 Y# a, N3 g" h0 z+ N+ s$ G
  305. ; This directive allows you to disable certain classes for security reasons.
    & A' I1 j! S& y
  306. ; It receives a comma-delimited list of class names.: ?- j7 i6 r6 g, t5 M
  307. ; http://php.net/disable-classes
    + d  T8 m1 f" s5 p# K" j9 ^( a
  308. disable_classes =  G. P& S$ e+ t+ A( u" q" u( Q

  309. 2 {: C# G' L! W; n
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ' x& O$ Y+ I, _1 H
  311. ; <span style="color: ???????"> would work.
      v- v8 F: n& d* _3 }
  312. ; http://php.net/syntax-highlighting, `# j* d, Z! A) p  g2 r6 k
  313. ;highlight.string  = #DD0000
    ' l+ \, h* U2 K/ Z1 C
  314. ;highlight.comment = #FF9900
    1 S* c( ?, x, Q# a* o$ I% a5 ~
  315. ;highlight.keyword = #007700
    ' u% E( x/ q6 {! @: l
  316. ;highlight.default = #0000BB
    ( k4 {" c4 i, K4 ]5 _& i& V/ e: G
  317. ;highlight.html    = #0000002 P( A7 H/ J8 N/ B6 C3 O* H

  318. % H6 J9 b, B( E7 @
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    " f( x2 i8 a7 J! H6 a
  320. ; the request. Consider enabling it if executing long requests, which may end up. j0 g9 L! ~# b0 ]" S
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ; c! }6 O6 H! j7 Y4 n. y
  322. ; is to disable this feature.) e4 y* F/ `0 L5 r& o8 \. U, W) ~0 |
  323. ; http://php.net/ignore-user-abort  r5 a$ J  r! ?  s  G- q* W2 C! E4 }
  324. ;ignore_user_abort = On
    & v) s( c% ]: ]+ v& [% w3 p
  325. * V( [, }9 M' b. b0 B! n( q
  326. ; Determines the size of the realpath cache to be used by PHP. This value should% ]& [! R) h+ K: x. {. V& u, ]
  327. ; be increased on systems where PHP opens many files to reflect the quantity of  c" ~2 K6 v- s, l6 O/ x5 l- f+ b
  328. ; the file operations performed.7 o/ J) B9 f& j  f5 \8 N8 N
  329. ; http://php.net/realpath-cache-size
    ; L8 i2 r  t0 e" N6 Z# d7 a
  330. ;realpath_cache_size = 16k3 k- h: a: f" }; R

  331. $ }" Z; T5 X& h% u! u. v; c+ }, x1 E
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    * b& ]3 S  f+ K; f! x9 n
  333. ; file or directory. For systems with rarely changing files, consider increasing this3 R: ?6 v; e: r% v( h( A* _1 S; a# i5 k
  334. ; value.( A3 Z& {# ^% q3 u* g# T
  335. ; http://php.net/realpath-cache-ttl
    : [; E8 V  d9 K6 f
  336. ;realpath_cache_ttl = 1206 ~! _( N2 G( o, y8 W' ?* z; y
  337. ) B" {8 {+ E  l, u% b# g- j- t. w/ D& o
  338. ; Enables or disables the circular reference collector.! u, d0 _0 G& N. U
  339. ; http://php.net/zend.enable-gc4 i! F' e' I3 P7 w5 j  ~
  340. zend.enable_gc = On& m' n1 D  e) ?4 e0 B6 P
  341.   E, n& w* O) `. r# `; [2 d
  342. ; If enabled, scripts may be written in encodings that are incompatible with& G! @8 c( L' Q$ c( ^
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such: b' K( w) y" z0 p$ ?0 P- Q
  344. ; encodings.  To use this feature, mbstring extension must be enabled.# }, M8 |' C& g. A
  345. ; Default: Off
    " z8 G+ j+ f& k% @
  346. ;zend.multibyte = Off
    ; k5 @7 W' e  [( T

  347. - Z9 K, S* c' V4 G1 g+ V7 U
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    - ?. r' M- f' \) S0 [
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ' H% m' h+ H: O' {: F% H
  350. ; Only affects if zend.multibyte is set.' h! a- m- y2 \  L/ {. Q$ n- C
  351. ; Default: ""
    2 Z. D$ g/ {# u8 y
  352. ;zend.script_encoding =
    * d) E& W& V. s" P
  353. # l% i# V  z% j
  354. ;;;;;;;;;;;;;;;;;3 {9 z9 H. p6 d! F. K, }) Q3 e
  355. ; Miscellaneous ;
    3 w8 M7 Y# r2 w3 R. O' }# O6 ~! d; ~
  356. ;;;;;;;;;;;;;;;;;
    7 v6 U# B6 k5 k" R- z9 I8 f
  357. * s: G3 h9 z6 F( \; R
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    ) S$ k) K9 I* \1 g% D# x
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    " l" Q- r1 g2 L. o+ D
  360. ; threat in any way, but it makes it possible to determine whether you use PHP( m8 J1 X/ Y; q# z$ a$ k
  361. ; on your server or not.+ d* P( s0 E" X5 A+ X/ D3 k
  362. ; http://php.net/expose-php# @0 Z. r: ^5 f5 d7 ?" T* y" R* f
  363. expose_php = On
    ( N. T1 U* W3 |$ R

  364. ( X; i8 d  D% Z; ]" y' Z, I! @
  365. ;;;;;;;;;;;;;;;;;;;
    * G2 v) j( T; A  k4 T0 G
  366. ; Resource Limits ;/ P1 b$ z. V/ E! C$ t( W. O
  367. ;;;;;;;;;;;;;;;;;;;( x' S2 T4 [8 m+ O5 J

  368. 2 }0 d8 I4 s9 D4 G3 V% F
  369. ; Maximum execution time of each script, in seconds: K7 {3 J9 G$ D6 k0 O$ {4 [
  370. ; http://php.net/max-execution-time
    ( h/ k9 [8 Q) t( ^; k7 Q5 ?
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ) I4 Q$ p, c$ w  o4 L) k
  372. max_execution_time = 300
    3 q# k  {! s1 ?. q1 a
  373. 8 E# _) G5 W% z6 D3 [" W
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    " p$ _( }* L4 g4 `2 j  g( Z
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly) F6 h- C0 K( m/ @. m+ L8 [  B
  376. ; long running scripts.
    7 I; b+ L1 p# }8 L/ g. Z7 G! @
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    7 E+ M& b1 L* g3 G1 ~1 m4 W
  378. ; Default Value: -1 (Unlimited)
    : a/ O3 q/ z5 b& e: v
  379. ; Development Value: 60 (60 seconds)4 {) r$ H/ }+ J7 }' I3 s
  380. ; Production Value: 60 (60 seconds)
    " I" g  D9 t8 s% B, K9 ^+ c& Y5 O7 W
  381. ; http://php.net/max-input-time  i$ W3 R' d1 F
  382. max_input_time = 60  W# V1 F4 Y2 x6 ]0 ]7 V3 f

  383. 0 ~1 V+ |; x2 @" f5 O" T
  384. ; Maximum input variable nesting level
    ( x% ~9 l4 b0 y; @
  385. ; http://php.net/max-input-nesting-level0 }! {/ s3 ]% y
  386. ;max_input_nesting_level = 64
    " L; I6 `: x) u% s4 w" H4 ?7 Q
  387. , w# X1 n% K- U0 t  F
  388. ; How many GET/POST/COOKIE input variables may be accepted
    + k" \$ B' g3 E9 r- v- r, N
  389. ; max_input_vars = 1000
    ; E) E  X2 P, T9 J6 h# R

  390. ' o+ N% J& V2 U& f  K% Z
  391. ; Maximum amount of memory a script may consume (128MB)
    ! q* v6 K2 O. I8 I6 U) Z
  392. ; http://php.net/memory-limit
    - P* n; \9 @1 Z7 g! |9 y
  393. memory_limit = 128M
    # n, S. I, @( A6 X# V& \$ @

  394. ' k' Y3 I# i: D1 t# h7 H$ [2 R3 u
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 k( w  k+ g$ {, v
  396. ; Error handling and logging ;
    ) i3 ^% ?2 g' F: C& H1 |3 D
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    - O8 K8 o: }8 @$ ]* r4 W
  398. 1 d- F1 {. k2 t# n% T
  399. ; This directive informs PHP of which errors, warnings and notices you would like9 _/ U6 c6 ]; a3 W2 K! S' {* H
  400. ; it to take action for. The recommended way of setting values for this
    ; q$ q( g; E: `6 G$ |
  401. ; directive is through the use of the error level constants and bitwise  d+ P' V; @$ Q; M( w" e& C0 E3 M
  402. ; operators. The error level constants are below here for convenience as well as  F6 w9 [% n' W
  403. ; some common settings and their meanings./ j, s, ]& Q7 {  ^" b
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    + t0 U* J5 D- v- b# B4 C% h
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    , @8 \! H5 H/ r
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    9 J9 s6 T! ^* ?2 x1 |1 Y4 ?
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    * I' {- J% K0 w# Y* u+ @7 V
  408. ; resources complaining about best practices and coding standards. That's what/ X$ `: ]" P; ?: M$ `3 l
  409. ; development servers and development settings are for.  N9 i( c6 V9 P/ ]! h# l/ V5 Y
  410. ; Note: The php.ini-development file has this setting as E_ALL. This) n6 E; q9 N" U; n& l* Z9 @; d
  411. ; means it pretty much reports everything which is exactly what you want during9 D3 j2 K* C# a$ W# q$ G; g( g& x- J
  412. ; development and early testing.* s; Q+ `2 M. L) N6 z
  413. ;; r  T( i; P) P
  414. ; Error Level Constants:
    ; U  J: q- ~" m+ E* @8 P
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    $ L7 S% [) B" H, ^4 L% k
  416. ; E_ERROR           - fatal run-time errors1 w* t1 l! I/ y+ r- t5 z) S1 ~( S
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    % K& \8 k, W& B$ v( o: W, @
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    - P9 v, h0 |- c+ c9 M
  419. ; E_PARSE           - compile-time parse errors7 |. s7 \* }4 h& r2 f  c3 e  |8 U
  420. ; E_NOTICE          - run-time notices (these are warnings which often result' E( ]" |+ j& \  V- J
  421. ;                     from a bug in your code, but it's possible that it was$ K6 X" M* l& x5 c
  422. ;                     intentional (e.g., using an uninitialized variable and
    ! k& k  E& C8 F
  423. ;                     relying on the fact it is automatically initialized to an
    - T- I( t! E7 Q, x7 e
  424. ;                     empty string)
    / H9 P. f; H9 K
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    7 [; d9 c* L" V* \
  426. ;                     to your code which will ensure the best interoperability0 U, q4 i7 J3 E4 u3 u( B
  427. ;                     and forward compatibility of your code5 T3 z2 {+ S; e" j% `5 `' j% k
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    3 }7 C) L; H/ G: P
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    " U5 s% `3 ?6 O
  430. ;                     initial startup3 _/ U& M* n# A, w' a( M8 B
  431. ; E_COMPILE_ERROR   - fatal compile-time errors: s4 a  ]" Z" N7 @
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)  ^  A* h1 d  [- l" F. u: Z
  433. ; E_USER_ERROR      - user-generated error message; Q% U% m% m0 S3 y) n, h0 i$ @! S
  434. ; E_USER_WARNING    - user-generated warning message
    ' M/ e- F9 ^' s3 N* _# X
  435. ; E_USER_NOTICE     - user-generated notice message  j: ~) ^* b8 v4 O1 \
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    ) a* g  ]2 @. ]( W
  437. ;                     of PHP0 }! [: T! F' Z6 a- ^& D' F
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings, E" A' [( ~+ z) D8 N
  439. ;, F9 ?  _7 y3 h+ W0 }
  440. ; Common Values:/ l' l+ s" c: W7 ~- T
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)! R, T9 [4 e3 A- h+ @7 C
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    8 a4 W9 t7 k, r$ _% D. a- D- A
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)  t% t9 p3 e3 ?: o
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)3 B; R9 J9 y! \; O
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; C) A& d  e8 j1 P4 v5 g1 x+ N- G
  446. ; Development Value: E_ALL
    % g# v+ o) t8 n
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT4 `' E( a9 i3 h% }
  448. ; http://php.net/error-reporting
    - L9 n  N& Q- b. g" ?5 j! L5 ^1 B
  449. error_reporting = E_ALL & ~E_NOTICE
    / d) F$ O1 V- F4 ^

  450. , W1 K- z+ _4 g7 R
  451. ; This directive controls whether or not and where PHP will output errors,
    6 K* S/ K, j  Q8 C- h  ^
  452. ; notices and warnings too. Error output is very useful during development, but
    - u( X0 \- _& u! e: @
  453. ; it could be very dangerous in production environments. Depending on the code
    , ^/ K& ?! G& T- [
  454. ; which is triggering the error, sensitive information could potentially leak, t$ w5 u, S% z& l! N2 y4 X
  455. ; out of your application such as database usernames and passwords or worse.1 g& L; M# ], `6 G: t2 e
  456. ; For production environments, we recommend logging errors rather than) i+ c- Q% o( x- C+ S3 y% V) _2 Y
  457. ; sending them to STDOUT.$ ~& f6 D' @' ^3 M6 k; ]( s
  458. ; Possible Values:  m/ u: {6 ^! r* ~8 I
  459. ;   Off = Do not display any errors8 J5 A" i  _! w- o/ M0 E
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    6 q, A! {7 w+ H
  461. ;   On or stdout = Display errors to STDOUT
    " D2 j# y6 N) w$ t$ y1 h7 B
  462. ; Default Value: On% {! g+ {! o! Q9 @4 g
  463. ; Development Value: On
    0 F# d. ]/ W; K1 f. W
  464. ; Production Value: Off
    ' ]& A+ @1 n; x. d
  465. ; http://php.net/display-errors
    & }% j; |% }' ]* c
  466. display_errors = On
    % A7 ?  y) ^1 Q( Q
  467. 9 {5 E+ g& i( }4 V1 ^& L) f2 ?3 C) m
  468. ; The display of errors which occur during PHP's startup sequence are handled
    9 t3 o# I: H9 F, G4 q4 h
  469. ; separately from display_errors. PHP's default behavior is to suppress those; L! K1 |. r/ L: e% g
  470. ; errors from clients. Turning the display of startup errors on can be useful in& ?# S& Y% N2 ~. E, @
  471. ; debugging configuration problems. We strongly recommend you, `$ Q( o0 N1 o1 T7 F2 [8 j
  472. ; set this to 'off' for production servers.
    - I3 {, o5 R, b& R* E0 r
  473. ; Default Value: Off
    ) `0 _7 l5 p4 T' S( {
  474. ; Development Value: On
    5 _) m+ {7 e; W& F  Q
  475. ; Production Value: Off! j1 T! h2 J  m! I; j% _
  476. ; http://php.net/display-startup-errors
    $ I/ p, z; J# S
  477. display_startup_errors = Off. T$ M$ u; |4 S+ ?' O
  478. $ q- w7 h) |: e% ]
  479. ; Besides displaying errors, PHP can also log errors to locations such as a  M7 y" r$ P/ k$ N, L
  480. ; server-specific log, STDERR, or a location specified by the error_log1 f& L, {" l* f. f
  481. ; directive found below. While errors should not be displayed on productions, r0 {: ~1 n) `7 d& V7 b' u
  482. ; servers they should still be monitored and logging is a great way to do that." o. W5 ~+ S6 T; g
  483. ; Default Value: Off. T5 f+ J# k  Z- b: c
  484. ; Development Value: On
    $ v+ \7 g  U( _7 Q
  485. ; Production Value: On7 F! `% Q% O) m, D" r" Z6 L
  486. ; http://php.net/log-errors
    6 ]" ^8 {! R& v+ I* O6 x- z3 i. E
  487. log_errors = On
    $ A2 g; ~6 |7 E* M/ u* s/ F

  488. 4 H* T, z, m) X& C' M
  489. ; Set maximum length of log_errors. In error_log information about the source is: w* v) ]( H: b: _; _
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    5 F( _% t' Q. \5 `: o% L8 M( w6 P  h
  491. ; http://php.net/log-errors-max-len5 v7 ~2 D, \( ?) I
  492. log_errors_max_len = 1024
    ) h, F+ x! n, c( s
  493. 9 ]/ z/ ?9 @/ V6 i5 E
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    0 |" Z5 U6 y, x. r- ^
  495. ; line unless ignore_repeated_source is set true.3 T2 ^1 m- g1 q
  496. ; http://php.net/ignore-repeated-errors& C( s+ F' G/ [* t
  497. ignore_repeated_errors = Off
    9 c% c0 M- e* e; b5 a
  498.   U' O( h$ D( m5 o; o0 B5 C4 k) Q* {8 j
  499. ; Ignore source of message when ignoring repeated messages. When this setting' T4 }- ?" i3 H2 b" f. x2 R
  500. ; is On you will not log errors with repeated messages from different files or8 D2 o% d; H4 C: v1 }
  501. ; source lines.
    , M* g  q( Z* |9 ~# c" }4 u
  502. ; http://php.net/ignore-repeated-source
    . w$ f# `+ [" n+ Q! l9 k/ `$ c! m
  503. ignore_repeated_source = Off
    , e6 B% {. r' w' |

  504. ( ~  y: [$ r( ?
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    % {, ?; R+ r1 @
  506. ; stdout or in the log). This has only effect in a debug compile, and if7 f. n$ o" h/ d4 k* N0 I
  507. ; error reporting includes E_WARNING in the allowed list
    2 c6 K" `7 E2 l- S
  508. ; http://php.net/report-memleaks! j6 Q# F+ X; ]; t
  509. report_memleaks = On
    ! @- ]% F/ `1 J% p: \. u/ p3 ?" [

  510. 9 d5 D- |) K# T& q) ~1 V& h% p
  511. ; This setting is on by default.6 ^1 n4 U9 `& K0 [* C
  512. ;report_zend_debug = 0
    ' W$ s! M& S2 W# Q. o0 C- ?' b
  513. 5 ]3 s. H( }4 ^6 \9 s
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value3 S3 Y: Y) B) n8 n
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    8 L6 w* o: n- X# Y) ?. y
  516. ; however be disabled on production servers.
    , ?, w; ^+ }( O& Q0 g
  517. ; Default Value: Off
    # \* i5 @6 l4 m" l
  518. ; Development Value: On$ f1 |, J8 R) j1 F8 E: \: V1 V+ Z
  519. ; Production Value: Off
    & A* `3 p! a5 e9 a- J
  520. ; http://php.net/track-errors
      V$ L  r! S6 X8 V6 T
  521. track_errors = Off- ~! l1 t1 F4 o+ U2 b0 h8 v

  522. 0 I) Y6 |: A2 _* Y7 T
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    3 f! E9 {. j, B5 V" }0 V+ }" K
  524. ; http://php.net/xmlrpc-errors
    ! L# Q( @% W  s3 D4 D2 R
  525. ;xmlrpc_errors = 0# w% z! |1 d; s1 a& n7 @

  526. ! Y# `7 R) p& h
  527. ; An XML-RPC faultCode, N; Z" h" \) `0 q! w2 G# ^
  528. ;xmlrpc_error_number = 03 _, F# M& L6 n( A1 Y! C: e2 c

  529. : z0 K' s0 q% u
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    , ~+ W0 }) h% f; T7 Q% B2 [2 |4 E
  531. ; error message as HTML for easier reading. This directive controls whether: O  [6 ^$ v; \( O
  532. ; the error message is formatted as HTML or not.
    0 k) @  d* P" W2 H
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ! B1 \) M) V0 T$ P
  534. ; Default Value: On. }* K" g0 s' `! E+ T
  535. ; Development Value: On9 A6 K- D6 b. J
  536. ; Production value: On
    1 I& h" I- K( x4 ]) x2 b
  537. ; http://php.net/html-errors' ]" L1 t4 J6 h6 B( Y7 n8 ]* V
  538. html_errors = On
    : X- S- u; h+ s" b; }+ R
  539. , F7 ~  y# u2 n" s1 _/ P/ C- U
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    % A: R3 V2 M$ q0 l/ |) b
  541. ; produces clickable error messages that direct to a page describing the error2 r- o& s5 L$ T7 f7 b
  542. ; or function causing the error in detail.$ t& n8 v; @$ w+ B9 c! e
  543. ; You can download a copy of the PHP manual from http://php.net/docs. P) U! B3 ^; V- i' R
  544. ; and change docref_root to the base URL of your local copy including the4 i: a2 K( W( {' c3 G
  545. ; leading '/'. You must also specify the file extension being used including
    * a( G+ S7 N* @+ U
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
      q* A1 K+ P3 Z  y5 P0 U
  547. ; case no links to documentation are generated.& z. U8 o! w1 d3 H. D% e! r/ x- [
  548. ; Note: Never use this feature for production boxes.
    ' F% D7 O+ T4 G+ O2 S8 V
  549. ; http://php.net/docref-root8 e( f! a! p( w
  550. ; Examples* h0 U& v  |3 D
  551. ;docref_root = "/phpmanual/"
    2 f6 `7 G! @, J6 ~
  552. * \: I1 a1 v) L7 f* o5 r/ a" }
  553. ; http://php.net/docref-ext/ W8 y2 M2 Z( s* I
  554. ;docref_ext = .html* Y+ C5 Q0 P+ f8 z* m+ f

  555. * p  r  m8 A, t/ m1 A* ?6 F' x
  556. ; String to output before an error message. PHP's default behavior is to leave9 |4 F  r% Q% r. b  O! p" Y4 M
  557. ; this setting blank.6 T, f7 `( K- d/ p  ?% h( o
  558. ; http://php.net/error-prepend-string) p5 B6 r- k8 x3 c. d9 P$ W7 ?5 b
  559. ; Example:
    1 h, J. R2 v0 H* w9 K- T) Z
  560. ;error_prepend_string = "<span style='color: #ff0000'>"' U- w+ }: m  x* C8 S3 T

  561. 9 }$ W6 s: g* l' F: _
  562. ; String to output after an error message. PHP's default behavior is to leave0 ?  K% R7 v: x
  563. ; this setting blank.
    & Z) u& H  d) Z% w2 T
  564. ; http://php.net/error-append-string
    9 a3 I8 l* S4 k+ o! v, W, I( t
  565. ; Example:
    ! U" s* i0 p8 i  ^, [6 c6 O; R/ E
  566. ;error_append_string = "</span>"7 c9 {1 z" |* m' c) X7 X

  567. : x5 d' u$ v  X8 G7 `
  568. ; Log errors to specified file. PHP's default behavior is to leave this value5 J# d( Q/ W# r. c
  569. ; empty.
    4 D. [  C5 d4 }: u
  570. ; http://php.net/error-log+ }! d4 S& x+ J- S
  571. ; Example:
    3 i% E" m1 I8 s  \" e
  572. ;error_log = php_errors.log
    , F* R! H8 a! I
  573. ; Log errors to syslog (Event Log on Windows).( W1 J1 @/ h3 }/ ]* P3 \4 ~
  574. ;error_log = syslog- L8 u  T& w4 [
  575. + R2 c9 a/ K+ _6 h" ~! r" @' S5 W  @
  576. ;windows.show_crt_warning
    ; c" O# K% Q, j3 t4 }
  577. ; Default value: 0) ?, r* u. N% |! e$ K- z
  578. ; Development value: 0
    ' W* b7 S6 d% m, t9 q* e8 ~
  579. ; Production value: 07 }( ~# `4 |& r; h+ l, i
  580. , V( g+ k  {# g2 |+ ?
  581. ;;;;;;;;;;;;;;;;;
    - j4 [, D. l  U) ^6 R/ k7 z) j
  582. ; Data Handling ;
    + R' s7 g% |" e, Y' k
  583. ;;;;;;;;;;;;;;;;;* W+ {2 Y2 _1 n$ u* [
  584. + R, }' q) ]  H; I6 v
  585. ; The separator used in PHP generated URLs to separate arguments.
    / X$ |% q5 A. c
  586. ; PHP's default setting is "&".( E5 C) w; V  t
  587. ; http://php.net/arg-separator.output2 s4 |9 L: `" Q+ b$ x1 o) r
  588. ; Example:( T: p7 W9 e/ R6 e6 X, X& R
  589. ;arg_separator.output = "&amp;"
    1 a4 L4 O# Y# W; D

  590. ) H, O1 s3 k4 L8 [2 f; K2 {; E
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    4 ]' k3 {  e6 }4 f' g
  592. ; PHP's default setting is "&"./ Q) z7 ~+ T8 z" }5 p" ~
  593. ; NOTE: Every character in this directive is considered as separator!6 s% F( [( J4 b; y
  594. ; http://php.net/arg-separator.input
    " l, B4 {: e7 F& A
  595. ; Example:! M. |3 o: H! f' [. K3 f. w/ s
  596. ;arg_separator.input = ";&"
    8 |' R! T! c3 e) m

  597. , P% ]6 S. I/ a7 h- g, N
  598. ; This directive determines which super global arrays are registered when PHP; `2 J- e* w! \8 q% q
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super/ V& O3 O& J9 W/ R9 c( W
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    3 x( V0 `# {$ r
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    . t6 H3 _2 `: r" N" V
  602. ; used as the others, ENV is not recommended on productions servers. You
    . x, V/ o$ J4 \; _) M2 b8 ~: @
  603. ; can still get access to the environment variables through getenv() should you$ I/ q1 ?& Z5 O
  604. ; need to.
    " ~9 P( t( D& }% s2 z
  605. ; Default Value: "EGPCS"
    / c' P7 B* T5 J% s) C
  606. ; Development Value: "GPCS"; s  n' y+ Y0 X6 A  t0 Z' F
  607. ; Production Value: "GPCS";
    3 a$ s& E' {( s5 S5 I# }4 M
  608. ; http://php.net/variables-order
    & r. w  M, }1 P% n
  609. variables_order = "GPCS"  h' U6 d& P3 P  [

  610. % e! o, f, O; J
  611. ; This directive determines which super global data (G,P & C) should be
    2 s, R* T/ S8 s8 q5 r
  612. ; registered into the super global array REQUEST. If so, it also determines
    ) {; x! c* V. A( m  S9 E
  613. ; the order in which that data is registered. The values for this directive' i7 M# Y# E( s( |
  614. ; are specified in the same manner as the variables_order directive,3 A5 |6 w( j' A8 o+ G+ P* F
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set* p  [& C% c+ i$ E- \3 w6 h. `
  616. ; in the variables_order directive. It does not mean it will leave the super  v, D# _. g. T3 R+ R
  617. ; globals array REQUEST empty.
    9 U) R6 N7 H8 r. c) O
  618. ; Default Value: None
    6 b; r. {4 s8 k4 T! Z# T* p6 A
  619. ; Development Value: "GP"+ E7 d( h) Q5 R
  620. ; Production Value: "GP"; x2 L$ L+ U8 O0 h$ m% k
  621. ; http://php.net/request-order. l: H& H: S( J4 g& y
  622. request_order = "GP"
    $ E5 g$ O6 L, ], @9 s) Z- ?- h
  623. , G; b9 `4 Z$ Z. z! q
  624. ; This directive determines whether PHP registers $argv & $argc each time it- _% P) e3 ], h
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script! F( N" H1 ~$ ~' \# |5 g
  626. ; is invoked. $argc contains an integer representing the number of arguments& @# s/ @7 D% ~! n
  627. ; that were passed when the script was invoked. These arrays are extremely
    * c# P3 W- i! {$ N' Y  Z
  628. ; useful when running scripts from the command line. When this directive is$ f6 ^" B& a$ U; S4 u# O
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    # C7 G$ I; y2 n
  630. ; a script is executed. For performance reasons, this feature should be disabled
    1 u0 e/ e( l$ C8 c/ y  \. f/ w
  631. ; on production servers.
    9 M4 s) m1 f! J) x9 s  @6 }9 a
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ) J- U* a0 W' R: I3 Z* b! @
  633. ; Default Value: On
    2 H6 {& l+ X5 G% t9 @" s3 m
  634. ; Development Value: Off
    ' w. z  p+ R  P* Z' q7 E, D4 T1 @
  635. ; Production Value: Off( I+ M+ e, C: ^8 M7 Z; c! \
  636. ; http://php.net/register-argc-argv
    & s* v' W; d3 P8 d2 r
  637. register_argc_argv = Off
    ! Y+ d+ [5 R  u8 J& I

  638. 9 n  }* Z& G) t/ ?
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    3 b% `0 T4 u+ w9 n" ]* y
  640. ; first used (Just In Time) instead of when the script starts. If these, T& x# q; _  l% K/ b
  641. ; variables are not used within a script, having this directive on will result; S8 i, c4 g1 n- \
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled2 v$ A0 e8 `$ C( O$ u
  643. ; for this directive to have any affect.
    " L+ j/ x- m- Q/ A: d& F# d* m, j: @
  644. ; http://php.net/auto-globals-jit, I+ g+ S* G6 G) e* ~/ H
  645. auto_globals_jit = On* j! |! Z7 G6 D1 x* c1 O- x1 T! E7 {) _
  646. - s  I$ D  J; y; M1 `
  647. ; Whether PHP will read the POST data.7 ]+ s8 J% C! Q1 y
  648. ; This option is enabled by default.
    ) t. Q( _) x8 l9 o
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST0 O& @$ }& d- M! ^! {, U+ \' P2 X
  650. ; and $_FILES to always be empty; the only way you will be able to read the2 _2 v& p' k4 i0 h& P2 }1 ]: c& ?
  651. ; POST data will be through the php://input stream wrapper. This can be useful) Y. Z" H4 P! a" {! u) n* E
  652. ; to proxy requests or to process the POST data in a memory efficient fashion./ k3 J, Q5 ]+ E" j( ?
  653. ; http://php.net/enable-post-data-reading8 R# e& y" J  o5 Q9 B% J
  654. ;enable_post_data_reading = Off
    ! V4 d8 h6 A  J* s5 k7 u

  655. 0 d+ |* o( \7 X  K; {  N  n+ Y
  656. ; Maximum size of POST data that PHP will accept.: p0 ]- ]  `& y* n( n/ ?8 P/ h9 q
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    8 T: C% I& ^* `9 s4 K5 C5 f
  658. ; is disabled through enable_post_data_reading.$ n4 {  Y5 f- h
  659. ; http://php.net/post-max-size' E% x( d( }4 H
  660. post_max_size = 50M) p! K  l" o( F# Z7 R$ b

  661. 1 F" O- `* _$ R, t/ ^
  662. ; Automatically add files before PHP document.8 f: R- v9 s( e. R8 z  N9 T
  663. ; http://php.net/auto-prepend-file
    5 P2 F% `  {  @
  664. auto_prepend_file =
    6 L, S+ D# \, w
  665. 1 R- c4 q+ [. u3 ^7 k/ w+ G
  666. ; Automatically add files after PHP document.- M( M5 Y8 D! Z6 r+ N8 ^
  667. ; http://php.net/auto-append-file& ^7 B8 j+ [: s) H/ ~
  668. auto_append_file =" I' M6 T+ x9 U8 D, x

  669. 0 H7 T) ]; f2 d' v
  670. ; By default, PHP will output a media type using the Content-Type header. To
    " a1 |0 O8 q# R# W7 T0 B
  671. ; disable this, simply set it to be empty.2 {2 o  G2 o- A7 n- n+ M; q: B
  672. ;# T# X  |) d6 L) t& u
  673. ; PHP's built-in default media type is set to text/html.
    0 V% G/ j$ [: u* t
  674. ; http://php.net/default-mimetype
    & \* N$ W! h" I/ U$ r
  675. default_mimetype = "text/html"
    + D: x9 L$ f2 t/ z
  676. ' ?3 z' X8 h9 Q0 L4 @8 `
  677. ; PHP's default character set is set to UTF-8.+ [+ e7 m2 n7 d4 Y# _3 W
  678. ; http://php.net/default-charset1 Z! _/ A, q# ^6 U1 U4 }
  679. default_charset = "UTF-8"& K( ~$ B# }- E+ ^# e
  680. ) J! K) S" [: b6 o: M) D
  681. ; PHP internal character encoding is set to empty.! ^% G( D- _" [* i- @' \
  682. ; If empty, default_charset is used.
    ' \* ?4 {" R* [( ^
  683. ; http://php.net/internal-encoding
    0 B& m8 `5 S, E! f2 _
  684. ;internal_encoding =5 B% ]6 K8 b/ }: F' \/ |
  685. , \- O* i& l( p  r( R( c
  686. ; PHP input character encoding is set to empty.4 e/ Q! X! L$ T' G# x
  687. ; If empty, default_charset is used.2 m1 R. A$ u! `, A! t
  688. ; http://php.net/input-encoding  Z- j& P. f+ O+ `
  689. ;input_encoding =
    ( C7 S/ E/ T0 _: r
  690.   j+ [3 J+ v0 X1 Q* M' y
  691. ; PHP output character encoding is set to empty.
    & _4 @9 S4 N! N6 }- B# e
  692. ; If empty, default_charset is used.  U' h6 V: X' h7 ~$ w) `
  693. ; See also output_buffer.
    + ~; [- f: A9 P4 _( v$ {  I
  694. ; http://php.net/output-encoding7 n8 H+ X% H. |& ~
  695. ;output_encoding =
    # Z- I3 V2 I5 e3 {

  696. 3 s. M* O4 V8 z8 M$ \
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is9 }. V+ T6 I+ z# n, A
  698. ; to disable this feature and it will be removed in a future version.
    - x' I" U- [" {' n
  699. ; If post reading is disabled through enable_post_data_reading,, W& d$ r- ?  F/ |1 K2 s0 @1 y
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    - Q* q6 ^( e7 i/ Q4 _5 O. e
  701. ; http://php.net/always-populate-raw-post-data
    * l" @% x1 F) ^0 ]7 F
  702. ;always_populate_raw_post_data = -1
    5 a$ G3 L( R# N+ M8 x1 Z) l

  703. ; [. C' G) N! [$ g! P2 t7 P
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;  S( s8 |1 C, u* ?8 q: I
  705. ; Paths and Directories ;- B3 V+ T. j  L, J; _( [: j0 A+ b+ K
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
      q7 c9 H0 ^- M0 Z5 |
  707. , M" P) m5 k( M9 {: j; O/ T
  708. ; UNIX: "/path1:/path2"
    3 N5 @5 ?9 Y7 J7 g
  709. ;include_path = ".:/php/includes"
      h% I9 ~0 x6 t/ N- h# i
  710. ;
    $ F; @" n, ?" ]
  711. ; Windows: "\path1;\path2"
    % [- }, M# J" r5 N2 \
  712. ;include_path = ".;c:\php\includes"
    4 U( c+ j1 d0 j0 W
  713. ;4 @4 f6 [5 J! v9 f1 g; Z
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"# x: `/ b& L6 Q& l
  715. ; http://php.net/include-path
    7 o! B3 b; L2 ~3 a5 I- B( w9 v

  716. 7 D) K- E( V) z' G
  717. ; The root of the PHP pages, used only if nonempty.- U, E# y) S( Q- G
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    , G* T  s9 }" d% |, m
  719. ; if you are running php as a CGI under any web server (other than IIS)
    $ p2 D% a3 S/ J: d. v7 R4 {
  720. ; see documentation for security issues.  The alternate is to use the
    ' C4 b0 Z6 [) Y+ h
  721. ; cgi.force_redirect configuration below
    4 }, k2 m* H' I( G6 i8 B
  722. ; http://php.net/doc-root
    $ {) i0 K2 _8 ]+ b/ y( Q
  723. doc_root =
    . K# Y7 g4 D, T  w6 @

  724. 2 P% \) U0 H$ C" P7 K
  725. ; The directory under which PHP opens the script using /~username used only5 \4 x2 u" ^9 B1 E5 E' K5 v
  726. ; if nonempty.
    4 }) I- I- A- u% _, y. C2 b. h/ N
  727. ; http://php.net/user-dir9 t$ h+ B# i, }5 r( |1 v
  728. user_dir =, K7 m3 _0 W6 J+ @3 j( [/ `, ?
  729. * z& ]& c# j1 w* M% A' v; ?  @
  730. ; Directory in which the loadable extensions (modules) reside.$ j: W& m: K$ R- b- B+ Z2 G* T
  731. ; http://php.net/extension-dir8 I5 }7 A$ Z/ O3 u
  732. ; extension_dir = "./"
    + F1 P' ]2 Q% i. J4 y
  733. ; On windows:
    / p3 ^, C& I# L! f# q& {
  734. ; extension_dir = "ext"& b  e: E$ k' R+ J3 f
  735. & x6 j0 }4 F: ?% f
  736. ; Directory where the temporary files should be placed.% {# ^; H- ?6 q1 k
  737. ; Defaults to the system default (see sys_get_temp_dir)0 U0 q( g7 P/ R
  738. ; sys_temp_dir = "/tmp"
    ) p  R) }! \3 ]0 c, c( `
  739. * @! L- j+ Q3 W4 J( R! p& E4 ~  c
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    $ D/ w( f* l( a( J4 @) |6 y
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    $ B) @! z: X  w8 x
  742. ; disabled on them.+ H6 n7 a" d+ n- Z( O+ }
  743. ; http://php.net/enable-dl
    + W$ \! J3 Z: V5 I
  744. enable_dl = Off3 e  d2 ~" `# T  A) I
  745. 3 y( k, {( z/ W! T1 ^( Z- C
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    4 ^. t! ]: L& ?. B: Y5 I
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can) e. [) G# v: e  S' i: O2 o5 o
  748. ; turn it off here AT YOUR OWN RISK
    % o6 C, {& U" k4 `8 ^  Q, z3 {
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ! L, j. h/ f" L, a2 \
  750. ; http://php.net/cgi.force-redirect
    + j2 O! B2 y& \! o2 U$ Z$ B) U0 T
  751. ;cgi.force_redirect = 10 h! p  q6 T, z9 B" |( g

  752. : n3 ?6 Z: i8 V* D; x0 r' |% O; }3 E
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with) O- w" n& [) k* C; s$ q( j5 i' n8 B
  754. ; every request. PHP's default behavior is to disable this feature.; O2 s) U" v# B) n- h0 |# M
  755. ;cgi.nph = 1
    # i" I" p4 M+ l% `% s$ k) ^8 g
  756. " N  r" M. D4 I- S
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape) p0 [4 s+ u) {( J. y
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; H$ r# L/ b9 F) v
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY4 G. [, G1 V+ b
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST./ [0 f7 d2 v; s. s, _" b, o
  761. ; http://php.net/cgi.redirect-status-env- G) U* B, ^) ]. N% w' w' S6 A3 d6 v9 ]
  762. ;cgi.redirect_status_env =
    6 D/ a9 ^! R% Z2 c' L8 |+ k
  763. ) y7 ]4 O9 w) V# }8 [7 R6 x2 v
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's4 p. D, I3 \  F8 ]# I+ ]
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok! f& B( |: o6 N" D4 j
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting- x, i( Y! D9 W2 r% p. @5 p4 Y) I
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    8 {4 `6 {5 i+ C* ~/ f+ o
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    & ]: ^0 V4 G, T* N
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED." [% K. L/ r) ]/ ]
  770. ; http://php.net/cgi.fix-pathinfo
    - I# I" M$ n* X. S& p5 Y; ?8 q  z, j( h
  771. cgi.fix_pathinfo=1% Z: N' V' Q2 W( {5 R, |! h

  772. 7 y9 `5 J" i5 q- W2 x4 q! R) I
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    & [- B" y# m& K+ o7 @7 `+ ]
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    8 _3 p7 `$ W5 Y. N
  775. ; http://php.net/cgi.dicard-path4 I/ I- m; E/ l% X7 b
  776. ;cgi.discard_path=1+ _. H* }2 f- i4 C( h2 {* r
  777. ' ^, E, ^: O' `# i
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate( l6 c( m( ~' s9 R% K1 p; v
  779. ; security tokens of the calling client.  This allows IIS to define the
    / I& h; x1 k% }9 `5 A
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    # K3 D6 w: W% l( l& {# o* z' D% G
  781. ; does not currently support this feature (03/17/2002)
    2 R; u- t* {, U- a
  782. ; Set to 1 if running under IIS.  Default is zero.) w* S* g% f5 W
  783. ; http://php.net/fastcgi.impersonate
    7 u+ H5 K$ n" B: j
  784. ;fastcgi.impersonate = 17 \& M8 E! N, b4 O" E/ B4 p) k
  785. 8 i2 z' Q! n) I9 ?5 X2 v0 V4 L
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable! u/ L& i) ~5 j5 F# x9 Q' ^
  787. ; this feature.& V2 M& N, v/ C8 z( h
  788. ;fastcgi.logging = 04 e+ ^7 |5 P9 Z3 t

  789. 9 o( u0 }: f" d; [
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    - M. H- z8 u4 D% z1 \
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that" i+ Q# T" y% C6 L- T$ J4 ?+ K% x
  792. ; is supported by Apache. When this option is set to 1, PHP will send, q- L* R8 a1 O  Z
  793. ; RFC2616 compliant header.- s7 N; [: j4 T
  794. ; Default is zero.
    2 a  N! G& S) w/ m% t
  795. ; http://php.net/cgi.rfc2616-headers! _0 Y8 ]6 D; h4 @; |* Q
  796. ;cgi.rfc2616_headers = 0& K; U, p# t, k5 q/ e3 F  [

  797. 8 f- _1 S, ]: C1 e
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!* C* w4 m/ n# z! k" s7 G
  799. ; (shebang) at the top of the running script. This line might be needed if the, f- Z4 a& Y. v7 t/ M
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI! `' [! `( z( P" s: O- s
  801. ; mode skips this line and ignores its content if this directive is turned on.5 |" l" r' N* p
  802. ; http://php.net/cgi.check-shebang-line
    , e2 L6 L/ O# U
  803. ;cgi.check_shebang_line=1
    1 q% k. c  \: M  s' ?

  804. . r: ^# M4 t; y+ I3 ^6 O6 |6 E
  805. ;;;;;;;;;;;;;;;;6 y0 A: \7 i- y  q" K0 z  @
  806. ; File Uploads ;" K; Z+ q1 M) P& D8 [
  807. ;;;;;;;;;;;;;;;;
    # F) N/ y+ A, {9 Y7 C) `; j6 N& {
  808. , n1 C9 U' X6 }# }) ~$ g6 g+ ]* }
  809. ; Whether to allow HTTP file uploads.8 z# R, P$ r# U: C1 v' ~. b0 V
  810. ; http://php.net/file-uploads* I9 g8 \  r& c( }
  811. file_uploads = On7 g+ X% f' M! X/ M* d- v/ j
  812. & q& I' D% a/ w6 V1 q( J& {, g
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ' `9 P2 D) l6 }3 B; {0 v
  814. ; specified).
    3 f% ]' |1 b, s; B  j5 G7 Q' M
  815. ; http://php.net/upload-tmp-dir
    7 Q# K# `) d* k2 c! u
  816. ;upload_tmp_dir =* H+ `, h7 i4 R

  817. 0 j; J% }! }1 i& }
  818. ; Maximum allowed size for uploaded files.- A+ u( N0 m$ e) p+ g' a
  819. ; http://php.net/upload-max-filesize
    $ r) ~; r% D5 K+ A) ~# r! ~
  820. upload_max_filesize = 50M' O" }5 j) U4 F5 v$ C; ?) t
  821. 7 H' v8 i$ S" N$ [
  822. ; Maximum number of files that can be uploaded via a single request3 L9 C* N' A" w) _
  823. max_file_uploads = 20" t3 n3 n  L+ J; m2 H+ w/ T
  824. 0 C7 Y& v, @* z3 U1 t2 a
  825. ;;;;;;;;;;;;;;;;;;- \" o0 q! e4 q3 J! o; [
  826. ; Fopen wrappers ;7 L( P; F+ V7 Y  O# ~
  827. ;;;;;;;;;;;;;;;;;;4 R8 H, w: i) L3 |& ~
  828. + k0 \# U+ `3 ^. s, _
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ( R0 m: T5 b  v) t) K6 Q; x4 K1 v
  830. ; http://php.net/allow-url-fopen
    4 t8 ?0 M% Q, E/ L6 W8 ?  G0 ?
  831. allow_url_fopen = On& v4 J6 j5 b; G: X) o
  832. & `) v! q. S4 |0 y- @% M' D
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    6 Q& @# C! Z; ]0 ^4 A
  834. ; http://php.net/allow-url-include: i9 S3 ]0 w1 B7 M4 f
  835. allow_url_include = Off
    $ n  ^' V1 B- k% p
  836. 8 K9 v2 a  O1 _% z* z3 A
  837. ; Define the anonymous ftp password (your email address). PHP's default setting$ O9 H* p, W: }* w9 e, o& W7 L
  838. ; for this is empty.
    . ]1 g) }0 u. m5 q
  839. ; http://php.net/from
    . d5 y6 b: ?# D3 n: ]
  840. ;from="john@doe.com"
    5 U% f7 Q5 M9 A: h% _* ]6 }
  841. 8 u' ~( P. h; m9 C9 o! h
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    1 ~% t4 }1 f7 T0 C7 e
  843. ; http://php.net/user-agent" F9 h7 X/ G; `
  844. ;user_agent="PHP"
    8 b5 R7 ~5 {5 P) z; w: b9 X
  845. 2 g9 c& z) n- A/ V
  846. ; Default timeout for socket based streams (seconds)
    # ], i2 `4 ^, ?$ ^
  847. ; http://php.net/default-socket-timeout
    6 S, w( ?! S" I
  848. default_socket_timeout = 60
    $ B9 w, b3 Z( U3 g& o0 z5 \2 v
  849. 1 t3 M; X5 q8 @/ G' M  f
  850. ; If your scripts have to deal with files from Macintosh systems,& G9 C! m  F( Q9 c
  851. ; or you are running on a Mac and need to deal with files from
    3 D# w( ?  T5 p+ Y& M& @1 I
  852. ; unix or win32 systems, setting this flag will cause PHP to* i8 p' t: U4 w3 H; n0 K8 w/ N
  853. ; automatically detect the EOL character in those files so that: I* j( L/ h! u6 [
  854. ; fgets() and file() will work regardless of the source of the file.
    , B: P' S* I, h& w# |
  855. ; http://php.net/auto-detect-line-endings
    5 r( L* V. v7 D' k& m" A! f4 {
  856. ;auto_detect_line_endings = Off5 K) [$ J% K( A7 ^

  857. 0 H1 h% C5 ~7 ~" N3 _- @
  858. ;;;;;;;;;;;;;;;;;;;;;;
      Z: q1 c4 s+ ?& _6 r
  859. ; Dynamic Extensions ;5 p) i: A) W. }
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ( [$ |7 q2 M, L9 Q9 {. A! {

  861. 3 }  a9 c" _9 H/ w
  862. ; If you wish to have an extension loaded automatically, use the following: @& x6 }! |0 t1 F0 w  l1 k1 A: c
  863. ; syntax:4 O5 _. Y) u8 Z9 h$ f
  864. ;! I7 N# r1 \" O. v- L. K' \, W
  865. ;   extension=modulename.extension
    / j" h; C% ^+ E3 O, `6 Y* Q8 S
  866. ;
    6 @1 C, H4 s3 S0 V4 n  P, U
  867. ; For example, on Windows:7 I& U. V8 N8 y
  868. ;. C/ [+ H4 f: E  q" C! g- e
  869. ;   extension=msql.dll4 N. d! a- [1 A- X. E3 Q7 p1 n
  870. ;
    4 D4 s2 k5 ~) [
  871. ; ... or under UNIX:
    5 G3 c2 m3 P) M3 {+ E
  872. ;
    1 ?6 r8 E) `1 N
  873. ;   extension=msql.so* P; x8 z0 x9 H  B( g
  874. ;' y1 l; u. J' p( w/ Q) k
  875. ; ... or with a path:
    " G& R) B3 M' Z3 W9 Y
  876. ;9 u8 L8 W4 ~0 m  S( M) q3 z
  877. ;   extension=/path/to/extension/msql.so
    6 ]  y9 j1 X" }* m
  878. ;9 G; n; t7 m: N' a& f+ X
  879. ; If you only provide the name of the extension, PHP will look for it in its- ~8 s, f- S+ P
  880. ; default extension directory.& G' f# s5 T8 Y1 e+ n: A% \
  881. ;7 }+ y, k8 Z$ K# f
  882. ; Windows Extensions7 x9 A: X7 K* F; {
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    / i( h( n% p; v
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5). Z, w7 b* l3 v( C) w4 k& E
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    6 F. W3 M+ A; E/ E3 O, l: a* A
  886. ; Be sure to appropriately set the extension_dir directive.
    7 g$ K6 M9 t% |+ e& k7 Y8 F, r
  887. ;: E+ j- u8 a; x; x  \9 H
  888. ;extension=php_bz2.dll9 f1 F0 C" w& H; J5 E( S. Z% ^6 f7 Y
  889. ;extension=php_curl.dll+ ^' I1 S6 y1 N$ R" Q
  890. ;extension=php_fileinfo.dll/ W- J. u# t! ]% q: t* v+ H
  891. ;extension=php_gd2.dll5 A8 w# G6 s& k! o& |
  892. ;extension=php_gettext.dll& ]: l0 T% p2 s
  893. ;extension=php_gmp.dll
    ( c$ ]# m) m; x  Y1 M- t% _9 M
  894. ;extension=php_intl.dll
    6 @; ]1 A2 g1 O8 V6 Q* l6 X
  895. ;extension=php_imap.dll
    ( X' y7 C4 ~- r( Z5 o" y
  896. ;extension=php_interbase.dll, M! _4 \+ V0 a+ b. a' z
  897. ;extension=php_ldap.dll
    $ u* L& |7 H- I
  898. ;extension=php_mbstring.dll! [3 @* h! r1 @! f. V
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ; i9 }, e& j. c
  900. ;extension=php_mysql.dll
    ! o) D8 g0 R, ?
  901. ;extension=php_mysqli.dll
    % `3 |  Q: i9 X$ g: u) f
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client2 R4 P2 H  C" T% N
  903. ;extension=php_openssl.dll
    ) S  d! e' C, A1 H9 b' r
  904. ;extension=php_pdo_firebird.dll
    7 F% m* A8 @: B7 e
  905. ;extension=php_pdo_mysql.dll, {0 t! X5 M7 k+ N2 V+ |3 [3 @
  906. ;extension=php_pdo_oci.dll
    % e. b" u& E5 V8 w! Q# p9 z
  907. ;extension=php_pdo_odbc.dll
    ( r) _4 E6 b) R. k: \
  908. ;extension=php_pdo_pgsql.dll
    * e  H- Y# {$ w
  909. ;extension=php_pdo_sqlite.dll7 v7 n; n* c0 w+ ^. b' _
  910. ;extension=php_pgsql.dll1 S+ @1 q+ c+ u" E" w, ?+ w
  911. ;extension=php_shmop.dll
    : ~* v$ G5 K4 I2 ?0 s
  912. ) o. v# c; ^4 g6 z8 r
  913. ; The MIBS data available in the PHP distribution must be installed.
    ; e; w2 F& g, B% n5 C% |
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    & N2 l0 b( I7 ^4 h- X
  915. ;extension=php_snmp.dll& @" R- l* j/ Z2 @+ ]

  916. 6 Y9 R) P+ N) |; D5 E
  917. ;extension=php_soap.dll
    7 X) w) y8 @: M6 u) q% a
  918. ;extension=php_sockets.dll
    3 P1 o& d& U7 _" v
  919. ;extension=php_sqlite3.dll- l+ V% O6 P  K' d4 X/ H% Y6 _3 W) c
  920. ;extension=php_sybase_ct.dll
    + I) A: y) t6 a4 a5 d
  921. ;extension=php_tidy.dll
    / M9 V4 k: u  V) e4 k
  922. ;extension=php_xmlrpc.dll
    ' h- M" a, G" o- E5 \) ?5 f* \: x
  923. ;extension=php_xsl.dll
    . \3 y* v) [2 Y; [5 N

  924. $ J# x! j4 G' s+ J
  925. ;;;;;;;;;;;;;;;;;;;
    ) A. }& ^% S7 D! g/ x
  926. ; Module Settings ;0 F, q. k7 @; Q8 O' U
  927. ;;;;;;;;;;;;;;;;;;;' ?6 C. L6 V" w$ E" R& R, v

  928. 6 C6 o0 V, P& e
  929. [CLI Server]
    4 {/ _1 e6 q" `% O2 i- S2 a
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    $ q1 N8 ?- e  A$ L% i: J
  931. cli_server.color = On
    * a" o, Y) y# f4 e4 W5 q

  932. ; B! H5 C  U8 k2 e
  933. [Date]
    ! f/ A3 P% L# z; J+ V( h  G
  934. ; Defines the default timezone used by the date functions  z1 v  i' Q# t- B) C- j4 B
  935. ; http://php.net/date.timezone
    4 u0 B, P: F* q6 n# ^
  936. date.timezone = PRC0 o4 J! z4 R! ~0 a9 E6 @: P
  937. : ~, ?9 _1 F+ ]/ C: z
  938. ; http://php.net/date.default-latitude  a# S& i" R' m4 Q
  939. ;date.default_latitude = 31.7667  C/ g' A. k4 x' z4 }8 U" z
  940. / B6 Z+ t2 s  [
  941. ; http://php.net/date.default-longitude# [, m; w8 l* q8 q( a
  942. ;date.default_longitude = 35.2333
    / S' {1 k- T4 ~' j0 T

  943. 1 |! D% N; d, G
  944. ; http://php.net/date.sunrise-zenith
    9 v, t5 L5 s8 s+ k6 K* l- g
  945. ;date.sunrise_zenith = 90.583333
    - {" ~, g" p7 H' y' S5 g" O

  946. 2 w0 ~4 Z! j+ m) L  Z
  947. ; http://php.net/date.sunset-zenith1 _7 L! G& O+ ?0 r& \
  948. ;date.sunset_zenith = 90.583333
    0 r, ~/ |% n- S8 p: y
  949. 2 L/ M4 H; h! f/ J
  950. [filter]3 G! x: Z/ Z; ~& \" o
  951. ; http://php.net/filter.default8 V. i; r0 b8 n$ k
  952. ;filter.default = unsafe_raw0 ^' X. `3 o: {% b! h! Z

  953. * M. }: b6 P! G; \+ I) U% o
  954. ; http://php.net/filter.default-flags- U# ~$ r5 b  B+ ^. d; f6 d
  955. ;filter.default_flags =
    0 d0 u) ]) _: z/ ^3 P: y  n6 F

  956. ! j, V+ w+ U  ~( Y/ U
  957. [iconv]: r9 G5 Y- D& t
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.7 a6 F' F; M( v* k- s, M
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    " P6 q/ ^/ u% B5 j
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    * D. a$ h- ]' D4 U0 G4 @
  961. ;iconv.input_encoding =
    " i* ]% ]/ _0 Q" [1 _
  962. 8 Z2 u, x; w+ P& N. H- U! K: p
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    , q2 Q. \2 g7 s4 _8 g  K
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    - p9 ]& H/ K" t1 I
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / c; z4 J4 ~$ Z( e5 W* X5 L# f
  966. ;iconv.internal_encoding =
    ) x8 m& @0 s5 y, O

  967. ) a! y' ~: c3 M' E  n: K2 l; y! d
  968. ; Use of this INI entry is deprecated, use global output_encoding instead./ \. n- R$ S: w
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.3 X8 \3 g; C- u8 \' A* @- H
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding8 w! P- ?8 V* N  a% X0 c; Z
  971. ; To use an output encoding conversion, iconv's output handler must be set& v8 b2 H7 L/ @+ J3 l
  972. ; otherwise output encoding conversion cannot be performed.
    ; Z& s6 [% o% ?
  973. ;iconv.output_encoding =# i+ X6 X; s5 m2 V

  974. 5 o/ g. b  A' ~: f
  975. [intl]
    - f  _3 C9 B1 n  |) B" f
  976. ;intl.default_locale =3 x. e2 m$ o- j( x3 j
  977. ; This directive allows you to produce PHP errors when some error
    & s  F1 G  k7 j& ~. e
  978. ; happens within intl functions. The value is the level of the error produced.
      r# g$ k8 v( i  r; e' h0 A7 k
  979. ; Default is 0, which does not produce any errors.% x1 H: p* L0 p4 e4 Y3 S& p+ Z
  980. ;intl.error_level = E_WARNING% W' P  F7 Y* K, x
  981. ;intl.use_exceptions = 0
    , x' s9 H& C: b8 |

  982. 8 y5 Y6 a& U5 I% L( ]; }- n
  983. [sqlite3]- T) w6 Q4 n0 r3 q2 y( u( ?) w8 Y
  984. ;sqlite3.extension_dir =
    ( B4 M7 k  q, h  i) T; I

  985. 0 Q- G- g1 N+ z4 l
  986. [Pcre]
    + H4 K, ~6 h# K& I$ ]( x8 [
  987. ;PCRE library backtracking limit.7 k" E+ H2 d3 ?: ]! P1 _! s1 ]
  988. ; http://php.net/pcre.backtrack-limit% ?+ q& d4 `& W; k, ]" k
  989. ;pcre.backtrack_limit=100000
    3 y: p/ c' B6 u3 {7 x; [
  990. 0 _: Z0 p5 m% f
  991. ;PCRE library recursion limit." I0 e! L4 }' H! ^
  992. ;Please note that if you set this value to a high number you may consume all1 I( e8 C6 q" Q5 \) f
  993. ;the available process stack and eventually crash PHP (due to reaching the
    9 `( _5 }# }. c2 v+ I
  994. ;stack size limit imposed by the Operating System).+ p; W/ T- ~9 E. y. q
  995. ; http://php.net/pcre.recursion-limit+ l, q' W' B% p4 v: Q
  996. ;pcre.recursion_limit=1000000 n  x2 e. j. f! q/ J. F1 T7 F5 s
  997. , J0 ?0 O9 W' \$ p- [& n& Y
  998. [Pdo]
    # r  F1 |8 {; J; B2 u; A
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"* W- S: n0 C% z1 A1 n
  1000. ; http://php.net/pdo-odbc.connection-pooling
    2 D  T1 P1 y' W3 J
  1001. ;pdo_odbc.connection_pooling=strict
    7 Y0 c( Q8 Q! p

  1002. 7 L& _4 S6 d" X5 A/ z
  1003. ;pdo_odbc.db2_instance_name" x, G; A* ]. z- h* @( E
  1004. 5 d7 i! ]7 J9 {# u0 k  ^1 L' m! E
  1005. [Pdo_mysql]* Z% h0 s. j4 M/ S- C
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; @9 @3 ~+ t* c7 S( |
  1007. ; http://php.net/pdo_mysql.cache_size% G5 h: J' ^- ~2 P/ {  e
  1008. pdo_mysql.cache_size = 20007 @6 }* f+ Z, Q! y
  1009. ) @, T4 v' o# ~
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 e: ?* P* [4 q' ^6 @
  1011. ; MySQL defaults.
    9 Q7 Q# }7 Z& x: s9 R# e
  1012. ; http://php.net/pdo_mysql.default-socket
    $ C7 Y' K6 b$ E$ j; S8 i1 C' n
  1013. pdo_mysql.default_socket=8 O' @% w+ e. d! v( b
  1014. 3 w% c7 S! N$ A3 B
  1015. [Phar]
    4 }) \/ v0 ]; G, [! p' b
  1016. ; http://php.net/phar.readonly& x" N, a/ T7 |, a
  1017. ;phar.readonly = On
    , @- |. E5 v% _( ~. Q6 o

  1018. ( B. Q! V( I3 U, r
  1019. ; http://php.net/phar.require-hash9 k( r6 s  D8 i0 F8 e
  1020. ;phar.require_hash = On
    1 c0 [9 T+ H3 Z2 y

  1021. 8 m4 J1 x/ t2 |  y9 |5 w' ~
  1022. ;phar.cache_list =5 h0 W3 a" f3 W

  1023. 6 t; D+ Z4 U$ H: s& z2 ^
  1024. [mail function]; g+ @7 s0 F+ ]) D8 L; J
  1025. ; For Win32 only.
    6 S: ]$ F0 a* |
  1026. ; http://php.net/smtp3 l" ]: R$ B* {& v$ v) o& L, g( t
  1027. SMTP = localhost
    0 R7 f; ?" E, a& Q
  1028. ; http://php.net/smtp-port3 |# m+ g( b) X* [1 ]4 d" W
  1029. smtp_port = 25" R: x+ N3 e& p$ Y/ {1 ^
  1030. - x7 Y% n) c: D3 m  q
  1031. ; For Win32 only.
    9 e6 L! _: Y2 a4 z; U( L% I& m
  1032. ; http://php.net/sendmail-from( P4 F  e; o7 i& P! u* T1 G
  1033. ;sendmail_from = me@example.com% K" Q2 @* ^$ ?6 L% W% z0 ?1 N
  1034. ; ]8 T+ ~/ {9 `$ e0 n/ u0 ?2 ]
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").0 y6 V( R8 ^- R) J, o7 {
  1036. ; http://php.net/sendmail-path
    5 M) y+ d1 V1 e2 }4 ~0 w
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    5 t0 B1 {' v  i' k

  1038. 5 ^4 d$ R4 _1 ]' Y* E& }
  1039. ; Force the addition of the specified parameters to be passed as extra parameters" F% @2 R8 {9 F3 K
  1040. ; to the sendmail binary. These parameters will always replace the value of
    7 S+ x5 f1 r* ?4 B) `7 l$ e
  1041. ; the 5th parameter to mail().
    0 T; e4 g1 e- E6 K0 g
  1042. ;mail.force_extra_parameters =+ Q& D( C7 g( m" R3 Z

  1043. ) V& Y2 o1 N" \. g" i
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    . @/ V7 _" @( C; j1 S5 Z
  1045. mail.add_x_header = On
    % T2 A  c. F" y3 B5 N
  1046. ) Q: W5 p' x" t7 z& H" @
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    " t+ \! }. w. x* e
  1048. ; the full path of the script, line number, To address and headers.
    & y2 E1 Q- }0 @, o. X$ ^/ B
  1049. ;mail.log =
    % m+ I7 h8 i7 L# \4 e8 s
  1050. ; Log mail to syslog (Event Log on Windows)./ J- V# F3 O0 H% c7 k$ u' Q( d& [7 k
  1051. ;mail.log = syslog2 g. A1 m  n+ K: @) W) o/ c

  1052. ' j+ l  P( V* E) ~$ {
  1053. [SQL]
    5 m. L% U" l$ ~! J+ y# L
  1054. ; http://php.net/sql.safe-mode
    , q' V# q3 T, m% c
  1055. sql.safe_mode = Off  P, Q6 p, C9 X

  1056. " D$ q& V4 q; R+ @6 n
  1057. [ODBC]
    5 o4 W2 X' a" d2 @+ P- {+ g
  1058. ; http://php.net/odbc.default-db8 Y  ?  r: |& Q2 H& i
  1059. ;odbc.default_db    =  Not yet implemented
    . a, }2 N- N: i+ _' ?
  1060. / b7 P2 F! p1 B+ Y2 b4 @" g9 A
  1061. ; http://php.net/odbc.default-user- q% D5 e/ \+ n0 u+ e) s
  1062. ;odbc.default_user  =  Not yet implemented! G: k  v$ x! ]! S" P

  1063. 7 _: y' |# {7 ^
  1064. ; http://php.net/odbc.default-pw2 l8 ~0 I8 [. f. M3 |
  1065. ;odbc.default_pw    =  Not yet implemented+ v% i  Z5 x  e; i0 @* r
  1066. # R  W$ u& h! g+ J
  1067. ; Controls the ODBC cursor model.; R* ?9 ~" ]4 _# N: S7 X" `* b
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ! t* x# |# L( g5 C3 j. {8 b" x+ ]
  1069. ;odbc.default_cursortype
    ; u: t6 x7 q1 c
  1070. / m% U% d* P9 Y) a2 j: ?  J
  1071. ; Allow or prevent persistent links.9 b4 C$ [$ j/ p% s
  1072. ; http://php.net/odbc.allow-persistent( P% d' P; q& o: j, C. a: ~6 S
  1073. odbc.allow_persistent = On
    % i2 ~3 z, \3 V! J! Z# t
  1074. $ e4 `6 V9 g1 J; E2 ]2 l: _, d
  1075. ; Check that a connection is still valid before reuse.
    0 ?5 a1 q+ N9 R/ Y& n
  1076. ; http://php.net/odbc.check-persistent+ ]( k, y3 Y# x, `+ E& e
  1077. odbc.check_persistent = On9 J. c* ?3 y' `' E$ Z) b) a& D

  1078. 1 U) Z7 s5 p6 G' \' h, R! i4 ]) S
  1079. ; Maximum number of persistent links.  -1 means no limit.
    # C+ s$ y, Q; |, ]
  1080. ; http://php.net/odbc.max-persistent% @9 f$ b9 \7 d8 C# E& {% v( |
  1081. odbc.max_persistent = -1
    2 B! e2 x, B2 c: A! M" s
  1082. ) B( N  N, \6 P$ U7 X4 l! Q
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' F! U- o: A( Y/ o
  1084. ; http://php.net/odbc.max-links! Z) ~0 J7 o9 i' Y5 N- j' @
  1085. odbc.max_links = -1
      a4 V7 }1 d" Q& Y: Q. {

  1086. 6 @) Y7 n# D; \' P/ e: A( o
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means, r' j% g! E) w' k
  1088. ; passthru.
    ) H, K4 ~5 _8 L  h
  1089. ; http://php.net/odbc.defaultlrl* [7 F: x1 H5 @% k
  1090. odbc.defaultlrl = 4096
    & F* G8 K5 b4 I# D; Y) N! K
  1091. 7 z* i3 \7 W' q# d, ^1 H2 T# R& S
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    6 M; j7 n% a% l4 x9 Q  q
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation9 y# l5 F% l1 K4 I
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    5 k* j! D' b  @- B  z3 Q$ U* o
  1095. ; http://php.net/odbc.defaultbinmode/ a- c, u  o1 C2 L
  1096. odbc.defaultbinmode = 1: E8 {  `) s" @) Q3 T* l: F

  1097. 6 N  f$ l6 f; \. k
  1098. ;birdstep.max_links = -1
    % u- L% k" \& C# ]4 [% @

  1099. % d" k! P1 c: i! a3 z+ p% `, h
  1100. [Interbase]" ^# E* X& z' U9 K8 m: ~+ \
  1101. ; Allow or prevent persistent links.- P) B. f. P2 E8 Z! Y1 n! c, U9 A
  1102. ibase.allow_persistent = 18 G, @& s' A$ a; s7 S' ~- U- X
  1103. # {6 x. g, Y' M& ]* x  F+ I4 k) P+ g+ [
  1104. ; Maximum number of persistent links.  -1 means no limit.0 M( M: I/ V3 |5 w4 {) ~
  1105. ibase.max_persistent = -1- Y8 E$ ]! D  Q

  1106. 1 s& B$ y. }9 Y3 |
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; C1 x% N# @/ a8 o" |( c
  1108. ibase.max_links = -1
    5 j( j4 U7 `9 H) s: h6 j9 K
  1109. ! q$ v- a, _0 E* p( {: S5 }+ v
  1110. ; Default database name for ibase_connect().
    8 y0 f, k" z2 h5 W/ R3 z: ~9 }
  1111. ;ibase.default_db =8 Z; V, E3 q# o2 K) s4 i

  1112. * F( m* h/ @$ v
  1113. ; Default username for ibase_connect().# |6 `4 k$ b  Z
  1114. ;ibase.default_user =3 F  z$ G. B( e1 ^9 s* u
  1115. , |: e7 k* T- F/ [1 A) |
  1116. ; Default password for ibase_connect().! I0 h: H! [! a6 \) x6 y+ M; p
  1117. ;ibase.default_password =, ]8 h6 Y/ k7 l& l
  1118. 5 V: P# Z1 g0 S7 q5 g( t
  1119. ; Default charset for ibase_connect().
    0 d% c% }( \, d" l
  1120. ;ibase.default_charset =5 T. g' J8 r* T$ f/ t

  1121. # B' K# g0 j0 m7 {+ C. c& ]7 p' F! M
  1122. ; Default timestamp format.( F/ @1 ~; Q) r. r
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"3 Z6 V( d6 m- Y3 O' X

  1124. # Z6 L3 N4 ^1 _( m4 u1 P3 B
  1125. ; Default date format.
    1 x7 s1 x# u7 m* v% Q+ d
  1126. ibase.dateformat = "%Y-%m-%d"4 {: w6 s* U8 D6 v. D! [5 B6 h
  1127. 8 r/ ^# _7 }' s5 X! Q8 U. h
  1128. ; Default time format.+ m1 p0 A% ~, ~6 t# k# d) ^& ?
  1129. ibase.timeformat = "%H:%M:%S"/ n) S/ y, u. K0 n3 Z! D/ N0 G  f
  1130. 9 P3 t$ z# {8 q. p* ^0 `. n
  1131. [MySQL]
    9 _; X( a1 w6 \( K
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements$ u; \# Z  h+ f
  1133. ; http://php.net/mysql.allow_local_infile+ l3 {0 Z& p1 p/ F7 A& [
  1134. mysql.allow_local_infile = On1 ~$ J% r2 O; \# Y$ J7 N- a

  1135.   f2 O" b* ]4 U" V, ]1 _8 U
  1136. ; Allow or prevent persistent links.
    7 c$ S+ u8 Y6 Y& c1 `- s
  1137. ; http://php.net/mysql.allow-persistent
    4 \6 ~" J% }: ^. m8 p
  1138. mysql.allow_persistent = On
    5 h, F! N, X6 `$ I0 |5 K
  1139. 9 h- o) h, }3 K# j) B% Z
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache: b1 i; i1 r  @; W- E2 @( K9 n
  1141. ; http://php.net/mysql.cache_size
    2 T4 Q, f# }$ n& J
  1142. mysql.cache_size = 2000
    ) R7 Z8 u1 X8 i2 |& B# k! \9 l
  1143. 9 g& r4 m- }  ~) n5 U* `5 x) I$ N3 C
  1144. ; Maximum number of persistent links.  -1 means no limit.
    1 s4 e/ V0 q; Z* [% T5 K
  1145. ; http://php.net/mysql.max-persistent
    8 j! x6 @! J7 c+ D+ r9 g1 |# K
  1146. mysql.max_persistent = -1
    9 P: u/ H" M; w

  1147. " B# ^; G, O& |8 V& S
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ) G4 h- n, M  i! t: u) O' |% z
  1149. ; http://php.net/mysql.max-links
    6 L7 `/ X' Q, P7 U2 j/ e( N' `9 w
  1150. mysql.max_links = -13 i# Q( M0 E7 ~% z4 r  |' F

  1151.   g$ t# \8 h" ~) K& D" P" M& {7 t
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use$ D. M0 X" b0 P+ K, Q+ p
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the) f) D2 i9 P- V* a! N
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look/ O7 x/ L7 j. z# [; p. Z1 }7 ?
  1155. ; at MYSQL_PORT.
    9 T# z$ r1 a) Y1 x8 R
  1156. ; http://php.net/mysql.default-port: ~# r  f. j& W2 ?' ]9 `- J6 b1 ~
  1157. mysql.default_port =
    ) s- T) S7 R4 f+ @  e+ X

  1158. 5 v( R9 c2 O+ W
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in: Q2 d# _; ^& U
  1160. ; MySQL defaults.+ v6 C5 o; o% w9 O( D5 z! b
  1161. ; http://php.net/mysql.default-socket
    2 X2 E$ n0 Q1 F6 Q3 o- f  f7 x
  1162. mysql.default_socket =% i4 {9 ]4 W5 O& m. ^2 r

  1163. * |4 O- c3 c( U7 Z9 N! z) z
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).& }3 ?. O% S& ]# R& {
  1165. ; http://php.net/mysql.default-host
    + D: h; a% ^" M3 g/ z
  1166. mysql.default_host =. m' V; E* J6 G2 I4 C
  1167. " Y2 {; V: t* j) H
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).. j* I( B' Z& R% C3 N
  1169. ; http://php.net/mysql.default-user
    & k& J' o% r+ I* a0 U
  1170. mysql.default_user =) `* o4 D& O! F9 \  n
  1171. 3 A0 D1 |, `8 g0 k& ~# e
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).5 f/ F' A# F: s" K0 p. f( m
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.) b! }" `" E; \8 B& B
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ! s+ l6 M0 h1 ~$ C( k1 ?
  1175. ; and reveal this password!  And of course, any users with read access to this
    / t+ i( v& x6 R
  1176. ; file will be able to reveal the password as well.
    & I" u: x% r" [, W1 n+ Y
  1177. ; http://php.net/mysql.default-password
    , d. ?+ ], j$ Q% Z- V+ [) k' ~
  1178. mysql.default_password =
    $ n/ l( D4 s* ?7 A/ q$ U' |! a
  1179. 4 ?& e4 _2 O- N. u) s' c0 E
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit! m1 m5 `" s% p( H7 I, U
  1181. ; http://php.net/mysql.connect-timeout
    7 \  m2 l3 j* G2 U0 X
  1182. mysql.connect_timeout = 60+ t+ ^! A0 @7 X8 H7 o0 `; {. s) E- z, ]

  1183. 7 W4 b& b7 A0 T7 U9 S. e9 B/ B
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    - v  e7 b$ ]5 U6 R' N- {
  1185. ; SQL-Errors will be displayed.
    + i4 O+ S8 h: c. l" q
  1186. ; http://php.net/mysql.trace-mode
    5 g. t7 W8 c* ]6 _
  1187. mysql.trace_mode = Off
    . ]& k: v! t# t) _& f7 G

  1188. $ n  N& @+ Y/ [
  1189. [MySQLi]- L6 |7 c8 ?+ D- K
  1190. 3 b& M0 {6 a% \" g; ^8 M
  1191. ; Maximum number of persistent links.  -1 means no limit.% A! |  m# G& r2 f1 q8 o
  1192. ; http://php.net/mysqli.max-persistent9 [* [8 k, ?( J$ L) {% n
  1193. mysqli.max_persistent = -1: q# I0 L6 S% H6 l5 Z' Z" {0 l& i

  1194. ( s( N! |( L' I. ?; m, \* s0 ?
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    1 k9 y; H5 }  i+ v/ T7 Q
  1196. ; http://php.net/mysqli.allow_local_infile! D/ t, a7 v* K
  1197. ;mysqli.allow_local_infile = On
    : `1 p, }) ^6 ]5 _+ P# d! m7 j
  1198. ! c" \9 x* z2 S. X
  1199. ; Allow or prevent persistent links.( j3 d( V5 L0 n/ O; i# V1 H9 u% \1 U
  1200. ; http://php.net/mysqli.allow-persistent  W) F4 C" w/ W4 w( c7 {
  1201. mysqli.allow_persistent = On& k: `- Z* `: q) a! F

  1202. : A9 t6 [3 y0 I5 `
  1203. ; Maximum number of links.  -1 means no limit.3 F- r9 j( z4 u1 k- _3 o& S
  1204. ; http://php.net/mysqli.max-links
    ) V& O8 t5 C  @' h3 l
  1205. mysqli.max_links = -1
    ! f3 \1 |  [( V0 a7 _

  1206. ) p" T9 Z! ]! i' X
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ g4 P8 K  g4 P9 i1 u# ?, u
  1208. ; http://php.net/mysqli.cache_size0 @- K: V% c1 M* v+ i
  1209. mysqli.cache_size = 2000
    4 ~9 I% ^  u! R# d
  1210. ) m  ^4 Y- C# ]
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    * h- r! {6 o" u7 E* b
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the8 u4 Y5 l; ]0 t0 S% V1 V* H. x& B
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look# D. W# S6 E$ m* Y: `+ n7 I" w
  1214. ; at MYSQL_PORT.# ~; A& @! q# ^$ J
  1215. ; http://php.net/mysqli.default-port% T. L3 o- _9 A8 `3 J" `) }% E
  1216. mysqli.default_port = 3306- w$ K2 L* s" k& j6 @/ q3 m

  1217. 8 _# f. M" ^% w
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in# j1 g2 s' x6 q
  1219. ; MySQL defaults.) d0 n  k: x) D! f" N
  1220. ; http://php.net/mysqli.default-socket9 W' m  w" r) I
  1221. mysqli.default_socket =
    9 g, k) b# g; y

  1222. ! t3 f) P0 r7 z: P0 \3 U. C
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).  T( s- X# D- ^; x! [
  1224. ; http://php.net/mysqli.default-host
    0 G' \6 F! o0 c
  1225. mysqli.default_host =; ]& @, V0 J; m

  1226. 3 i7 V( J1 Y9 b) C! `/ Z
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).. ^) ~- t& s3 G$ O& t4 @" Y% _0 _" o
  1228. ; http://php.net/mysqli.default-user
    / D, D# [! J. H7 r
  1229. mysqli.default_user =
    0 B; X7 ~% f5 z1 i& B  I

  1230. % S# U4 T; u* @! `: L: z
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).- h% Q8 [6 Z6 [5 A
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.* G6 B, j: n0 {' k4 P  p0 c
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")7 S, }6 \0 P. z
  1234. ; and reveal this password!  And of course, any users with read access to this/ h. a  \( p% [: _
  1235. ; file will be able to reveal the password as well.
    # ~! h" m! a( x% `: |
  1236. ; http://php.net/mysqli.default-pw8 f& M1 _0 q  V
  1237. mysqli.default_pw =
    / b# W" v$ T5 d; f
  1238. ; \  ^, D" C. v; ^! P( Y
  1239. ; Allow or prevent reconnect
    # z5 e' M: O* P5 @
  1240. mysqli.reconnect = Off: I) d+ s, N* M' X# X9 f- b9 [

  1241. 0 ?- q9 \7 g) m
  1242. [mysqlnd]& u+ l' P; v  w% q* }
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    3 S8 }3 |" I8 W
  1244. ; used to tune and monitor MySQL operations.
    ) E# m, h6 h' o5 E( S4 Y
  1245. ; http://php.net/mysqlnd.collect_statistics6 H# t5 h6 f# M) O& T  t. \5 I* M
  1246. mysqlnd.collect_statistics = On: H4 g- U: `$ r5 @3 a

  1247. " g9 I5 f( k* _# {( R" K+ L
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    3 D+ h( b+ ]4 c1 a& `0 f6 g. }
  1249. ; used to tune and monitor MySQL operations.
    8 L) `# E% w8 f
  1250. ; http://php.net/mysqlnd.collect_memory_statistics' l$ s! l9 q8 `
  1251. mysqlnd.collect_memory_statistics = Off
    ) E4 w* B* c( l5 H

  1252. # G. J4 u7 p+ ]2 u. e9 {
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    " ]6 r$ I: |' u0 u: \3 A9 y5 a% R
  1254. ; file.
    6 {0 g! U: B! C& j. o+ Y
  1255. ; http://php.net/mysqlnd.debug
    5 Z/ q9 f' C9 O& d
  1256. ;mysqlnd.debug =# u4 v+ q! H# E6 w
  1257. 3 `: J. a: c! V2 m0 J* A
  1258. ; Defines which queries will be logged.* u3 E& l7 a1 W7 _6 R4 ]
  1259. ; http://php.net/mysqlnd.log_mask" V3 s4 q) r8 Q$ ]( m
  1260. ;mysqlnd.log_mask = 0
    3 I9 a+ P/ d% \$ v
  1261. ' g- l' G  t+ y7 C5 @
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets./ c5 Q! n0 ^3 H
  1263. ; http://php.net/mysqlnd.mempool_default_size% g- f) t1 _' Q3 Y3 i: E( r+ Z" E
  1264. ;mysqlnd.mempool_default_size = 16000: A  P, Q$ S$ y- ^

  1265. : @- T$ n2 c8 w$ |
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    & D- V- N  S8 c! s8 z+ W" B/ J
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    5 B+ A3 J; x" u+ E- {8 }( m
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    1 [; {8 T0 j0 P  E+ y

  1269. ' H- z. b4 H; t" ~5 d
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    9 Y, [" T' T& V. m( e
  1271. ; bytes.& l2 K2 {2 r& ]! t8 J9 F4 i
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    ( b; r9 q* e: D% @3 R$ p# R
  1273. ;mysqlnd.net_read_buffer_size = 32768+ n$ j* ?1 ?/ H  _
  1274. 6 M3 N; [! J3 g; g
  1275. ; Timeout for network requests in seconds." |  w) D# U+ q# N! J
  1276. ; http://php.net/mysqlnd.net_read_timeout
    6 Y, I: H: M& s5 ]* \
  1277. ;mysqlnd.net_read_timeout = 31536000
    3 Z" N5 o7 y2 M

  1278. ! \# v; p" ~, B: r1 m8 _# E
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA# \0 z, u2 g9 _+ o
  1280. ; key.( r+ c" a3 u$ D$ ?3 y/ M
  1281. ; http://php.net/mysqlnd.sha256_server_public_key  t( v  o& l" w) r+ [9 m
  1282. ;mysqlnd.sha256_server_public_key =
    - V' o( H( [& p" e

  1283. ( w6 [5 T8 M. E% l' G5 A# G& {
  1284. [OCI8]* v! w9 M; ~3 R: L/ l
  1285. + l- g9 N; z# T0 @4 x9 m  s4 i- H
  1286. ; Connection: Enables privileged connections using external3 ]$ @. v% g3 y, o' E
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    % p2 w! U8 `7 D* ~& z+ G( Q
  1288. ; http://php.net/oci8.privileged-connect; u5 w2 Q2 ^' N2 _/ _$ \  [
  1289. ;oci8.privileged_connect = Off
    # L5 F6 ?0 P# O( U; F

  1290. . L) h- ^% F$ {( \2 O9 R$ I
  1291. ; Connection: The maximum number of persistent OCI8 connections per# y2 @$ n: e1 W$ {
  1292. ; process. Using -1 means no limit.0 [  `0 H/ v8 z
  1293. ; http://php.net/oci8.max-persistent2 [3 C. H1 K! N  z$ F( l* M
  1294. ;oci8.max_persistent = -1
      p4 z# Q! r9 S& X& E  O" l
  1295. . |$ u" i' d, J8 h$ C
  1296. ; Connection: The maximum number of seconds a process is allowed to
    * d4 m6 m1 L# s/ t/ F* a
  1297. ; maintain an idle persistent connection. Using -1 means idle1 q7 }( G, I4 S' ~
  1298. ; persistent connections will be maintained forever.# @7 z; T/ M. m3 i" ^) ?% r* j
  1299. ; http://php.net/oci8.persistent-timeout
    ) l4 a1 m' e5 @( y; q6 r2 n
  1300. ;oci8.persistent_timeout = -1
    8 M1 L0 }& V. M; b# |& k, S, \6 \% M

  1301. ! }; l! l; ~' z) `2 l3 S5 u
  1302. ; Connection: The number of seconds that must pass before issuing a
    7 s' i6 c9 D+ }( o4 y& x
  1303. ; ping during oci_pconnect() to check the connection validity. When
    0 ]" }% U' t6 T. w3 O- X% c0 M1 ]; L
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ) K4 [% N5 R1 P  N4 G! [, R
  1305. ; pings completely.  e; r3 S" e0 k& T2 `5 G% b
  1306. ; http://php.net/oci8.ping-interval
    . }& B2 z. C* l6 u. V" Z" Y, e" z
  1307. ;oci8.ping_interval = 601 y+ d4 l+ c& _$ f5 \0 o
  1308. 2 l, c, X+ ?; t- U$ G$ N
  1309. ; Connection: Set this to a user chosen connection class to be used+ k0 l; t- _* V4 x. [: N1 ?
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    , Q" B: b4 y( N) G1 Z) T
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
      r0 z! T8 w" B0 m9 q* ]( Z4 R  \1 l7 h
  1312. ; the same string for all web servers running the same application," p' f4 `( r9 G, O
  1313. ; the database pool must be configured, and the connection string must; i: l$ Y9 E2 n6 n8 S* E
  1314. ; specify to use a pooled server.8 M, T  a7 H* _" ?
  1315. ;oci8.connection_class =
    % x% \  a" H& d: J8 w

  1316. 1 U1 I, u& n5 F
  1317. ; High Availability: Using On lets PHP receive Fast Application
    4 F" \; R; u6 N
  1318. ; Notification (FAN) events generated when a database node fails. The6 c) O$ h/ D5 t" v! Y
  1319. ; database must also be configured to post FAN events.  |7 \/ i5 r  R5 |; T- N+ v
  1320. ;oci8.events = Off1 r  d/ e: a. i9 }$ m! b
  1321. / C4 i8 e' g- @( N$ }! h* u% L7 a& {
  1322. ; Tuning: This option enables statement caching, and specifies how
    . J  k* [8 V& I4 s" m
  1323. ; many statements to cache. Using 0 disables statement caching.
    + Q0 O& {0 y6 T) u% ]7 P
  1324. ; http://php.net/oci8.statement-cache-size
    / T) w* m) M! Z% F# y& b4 J# E- C# q* @5 J
  1325. ;oci8.statement_cache_size = 208 M$ R7 ~% N. _, Z, ?& ]4 B  g- M* W
  1326. 4 o5 e0 h/ a7 y4 M3 ]7 I. j
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    2 U* M) B! I( u8 L7 V* E
  1328. ; rows that will be fetched automatically after statement execution.. |8 U' N+ U' E1 g/ n+ b" |
  1329. ; http://php.net/oci8.default-prefetch: i& z* Z6 W+ C$ P- K
  1330. ;oci8.default_prefetch = 100! ^- ?+ n- w5 x2 _$ j) x! ^
  1331. - M' k% c2 q/ {$ a  p) ~& s
  1332. ; Compatibility. Using On means oci_close() will not close
    4 y( G& w5 r' Z
  1333. ; oci_connect() and oci_new_connect() connections.
    / K! o  m) G  G* ~$ a8 d- q  A
  1334. ; http://php.net/oci8.old-oci-close-semantics
    7 q8 ^" x' @: g+ c, p5 Z# ~  {
  1335. ;oci8.old_oci_close_semantics = Off
    ! `  b4 F6 e8 S3 |, U6 p
  1336. 1 n( J( K2 T1 a8 ]
  1337. [PostgreSQL]
    # l" P0 U) J5 a1 A
  1338. ; Allow or prevent persistent links.! D+ P( h. R/ x0 q; a! T
  1339. ; http://php.net/pgsql.allow-persistent
    9 V5 d6 W: v  X
  1340. pgsql.allow_persistent = On+ e: O  e3 Y( n2 ]. l

  1341. $ g- A/ B' G5 `! H; Q3 C) ?  u/ Z
  1342. ; Detect broken persistent links always with pg_pconnect().
    8 s7 j0 G9 U, N# s( `( ^
  1343. ; Auto reset feature requires a little overheads.! @" [! u8 r- ~. g' w
  1344. ; http://php.net/pgsql.auto-reset-persistent
    $ d$ \: P, c1 j- e5 ?2 `* _$ W
  1345. pgsql.auto_reset_persistent = Off5 M" K3 A; r$ o
  1346. ( Q& f  |% J& F9 _" i0 t
  1347. ; Maximum number of persistent links.  -1 means no limit.
    7 k2 G. ^/ M  n0 D4 \* O) C
  1348. ; http://php.net/pgsql.max-persistent$ C- i5 P9 J7 s1 `$ Q- w/ R
  1349. pgsql.max_persistent = -1
    - k/ _) v) |- w$ i: o1 R. T0 W

  1350. , `; ]3 L$ |! O1 ?( D- X
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    , k# J! v' Z: A$ F  G% S6 W
  1352. ; http://php.net/pgsql.max-links/ b7 V+ `( c8 V
  1353. pgsql.max_links = -1
    ; A, V. b1 c5 @6 H0 F5 n) f# b2 h
  1354. + K& [5 f( `; v5 A; ~
  1355. ; Ignore PostgreSQL backends Notice message or not.
    2 _0 y9 o6 t7 o9 j6 |& r
  1356. ; Notice message logging require a little overheads.
    $ Y$ i$ S) v4 T4 \% w
  1357. ; http://php.net/pgsql.ignore-notice# B! E+ n% q' [
  1358. pgsql.ignore_notice = 0% J8 R" z; r/ l  M* ~" Z+ G  z& I7 V
  1359. 1 n$ X; C4 w$ M4 L2 s1 ]! O5 }
  1360. ; Log PostgreSQL backends Notice message or not.% g! T' Z+ ?- a! s0 C5 Y+ h
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    - a' w" }0 h; D7 ]: r) O$ S+ i
  1362. ; http://php.net/pgsql.log-notice3 u% c  i2 ]5 A
  1363. pgsql.log_notice = 06 ?, `- @$ N0 A

  1364. , [: p% K  i  \) b% g  K5 {
  1365. [Sybase-CT]+ @; }, T, |! Z* P
  1366. ; Allow or prevent persistent links.0 @$ y9 k4 y5 E; V/ f; U' @
  1367. ; http://php.net/sybct.allow-persistent4 u& P! F6 z; ]: o0 K: G  B
  1368. sybct.allow_persistent = On
    , X( H  _8 K" \5 C' g
  1369. 1 v  Y# o0 P# Z% Y# `
  1370. ; Maximum number of persistent links.  -1 means no limit.: j; L9 M$ P+ ^  P$ P: o; v, J
  1371. ; http://php.net/sybct.max-persistent
    # f4 u: P$ c6 w1 H( Z9 i* [
  1372. sybct.max_persistent = -1& l3 l3 u7 ^' P" i9 v. y. B& b

  1373. 7 r( r# h, S# }( d9 ~
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % I! A# l" {/ q  y
  1375. ; http://php.net/sybct.max-links
    2 w! l2 G+ R$ x
  1376. sybct.max_links = -13 q4 y, U) p9 o# q  V

  1377. % j) T: a: m+ B2 m& {# `. l. U! B
  1378. ; Minimum server message severity to display.
    ! M! @: V8 @7 g7 L: n
  1379. ; http://php.net/sybct.min-server-severity9 X9 D1 A& `% e5 U- r
  1380. sybct.min_server_severity = 10
    ) v% T7 m- M) [2 |

  1381. ( i0 N8 ]7 P4 M+ q- w
  1382. ; Minimum client message severity to display.  W; {9 G* j! m4 m# a/ C
  1383. ; http://php.net/sybct.min-client-severity3 i, M* [! D0 b" e
  1384. sybct.min_client_severity = 10
    $ t- l9 W& o% D- W5 G5 Q' J0 x) s* @
  1385. ) \/ [2 E5 z7 \2 M
  1386. ; Set per-context timeout" w9 Q' T3 v/ o# B+ M
  1387. ; http://php.net/sybct.timeout
    ( j' c& @* t! i, e+ Q* S5 x+ q
  1388. ;sybct.timeout=/ b: ~1 M5 U9 _* \

  1389. 1 A  J6 N1 K/ N" c, Z
  1390. ;sybct.packet_size8 T) n. G7 x8 f( y1 `9 `
  1391. 4 b8 l! E+ \7 P( ~6 a
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    0 \. T& J" |1 C- m+ S( D" F
  1393. ; Default: one minute' }5 M7 D# l  J1 d- t7 H+ f
  1394. ;sybct.login_timeout=* M; s0 z6 n/ H7 t* D; {
  1395. . l# M- M0 V% p# ]! _
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    % r: @9 ?  W' H  D2 j, O
  1397. ; Default: none
    8 r7 X* x% r2 X  Q
  1398. ;sybct.hostname=
    0 \9 [! b$ ~3 [* C4 q6 I
  1399. " A! y' B" E/ R3 g. N5 v: }
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".7 M& p9 n& X) ]3 D
  1401. ; Default: 0
    1 @/ V, e) s, S' l. M, i
  1402. ;sybct.deadlock_retry_count=
    % i7 t+ x8 T# H% N% m' x
  1403. 8 R( h" Z# a1 q9 N
  1404. [bcmath]
    . l; `# b( D6 y
  1405. ; Number of decimal digits for all bcmath functions.' V9 k3 N8 k+ r  k+ i. A
  1406. ; http://php.net/bcmath.scale
    / G% b+ \! l: Q. {! F
  1407. bcmath.scale = 08 O: H/ i4 [# J& M* I! _$ ]  h

  1408. , w+ T" Q. C; ?- R  q) [) {
  1409. [browscap]$ E; ?) t- J2 T$ u" r0 J* [/ M
  1410. ; http://php.net/browscap: G0 m" B* r% H* P4 }
  1411. ;browscap = extra/browscap.ini. W/ l8 a$ _9 v
  1412. ; v  |" L2 X: y0 U5 }# U
  1413. [Session]
    - @5 V; Y6 X% W
  1414. ; Handler used to store/retrieve data.
      @* N5 S5 _' i4 d# j
  1415. ; http://php.net/session.save-handler/ A' _/ k7 B8 P
  1416. session.save_handler = files
    % w5 z: {: C1 ?

  1417. . ?& I5 `" g/ ~
  1418. ; Argument passed to save_handler.  In the case of files, this is the path  Z1 {  ]5 X9 s0 v' u, E
  1419. ; where data files are stored. Note: Windows users have to change this5 u$ I% _% a* }7 F
  1420. ; variable in order to use PHP's session functions., e" B: R! _- z6 E; i$ v4 \
  1421. ;
    ( `1 e# l) v3 P# m! G6 G, o" Z: M
  1422. ; The path can be defined as:# a1 j9 d. v! n4 ~- r  c& l
  1423. ;* w; X4 ^) ~6 J
  1424. ;     session.save_path = "N;/path"
    # b9 i! \) d* s! J% r# p4 ]
  1425. ;
      I3 x& k2 b/ G8 E- B7 C
  1426. ; where N is an integer.  Instead of storing all the session files in
    ' `! g* g9 Q' \- j
  1427. ; /path, what this will do is use subdirectories N-levels deep, and% q( Q5 R% r/ q
  1428. ; store the session data in those directories.  This is useful if
    * I" ~) l1 f" p0 j
  1429. ; your OS has problems with many files in one directory, and is) [5 S( c4 @$ Z8 |( b8 e# k
  1430. ; a more efficient layout for servers that handle many sessions.
    1 W# q' ^; G7 K! |5 a
  1431. ;
    , s+ Q# z8 W. s# T, Z/ {
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    3 X2 c. n1 o5 ~1 b+ x
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ' R4 W0 @( A9 u# U$ W
  1434. ; NOTE 2: See the section on garbage collection below if you choose to" A5 J5 V; @: ^. i* C- v$ S& t
  1435. ;         use subdirectories for session storage( J" g1 B# g5 t" k1 U
  1436. ;' P4 a5 ^4 T" E7 X9 j6 R
  1437. ; The file storage module creates files using mode 600 by default.
    * k  u& ~) p! K6 k: Q
  1438. ; You can change that by using! c, C0 V$ }# W8 F( k: Z
  1439. ;7 c5 z' r! U- {3 ]5 C
  1440. ;     session.save_path = "N;MODE;/path"
    * i3 u: p& N8 x5 }
  1441. ;
    4 g8 U3 `. o! ]# Q6 [* J
  1442. ; where MODE is the octal representation of the mode. Note that this% }7 K# M, B3 Z! ~5 \( U& m
  1443. ; does not overwrite the process's umask.: Y3 _% H4 m" w% u9 ?$ U$ Y
  1444. ; http://php.net/session.save-path
    " n, U1 ?1 c6 q  P+ X
  1445. ;session.save_path = "/tmp"4 k. K/ W- y& y
  1446. 8 ?0 g4 B" f# M' X/ c
  1447. ; Whether to use strict session mode.
    . I7 A. D+ D6 O( J% _" E- U
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    / X% z' E3 `5 m! H- Z2 o
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects' H  y/ F; \9 `& r0 d
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ! q% u; g+ v" u: b- r
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    - x8 M# ]5 j0 j+ E" ~$ b6 x% Y
  1452. ; https://wiki.php.net/rfc/strict_sessions* H  I! L" U" K. p) Z( ?% {
  1453. session.use_strict_mode = 0
    ) \  n' }1 j" n8 ?" ?+ w) @3 r& d

  1454. 5 [3 G3 h' V- F7 I  X; ~9 @
  1455. ; Whether to use cookies.
    7 O; Q/ b5 ~+ @# s" {( Z; i" s% {
  1456. ; http://php.net/session.use-cookies( v( E% E* ^% G
  1457. session.use_cookies = 1, L/ T4 J* m# }: G( S; F4 G
  1458. 9 y5 d  u* t4 s: a- I! F: `
  1459. ; http://php.net/session.cookie-secure1 M# L3 ]7 e# Y( H) u
  1460. ;session.cookie_secure =9 _3 z7 Q7 z, g3 H4 S
  1461. : m8 P- t: O% E% i) F
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining( @* m7 S6 W9 t( H) m* w( X
  1463. ; the session id. We encourage this operation as it's very helpful in combating
      R6 F) m% o5 @
  1464. ; session hijacking when not specifying and managing your own session id. It is
    0 k" y4 B8 `( v; e& M7 U
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.9 u& b$ x0 P: Z5 z/ K4 b# K
  1466. ; http://php.net/session.use-only-cookies
    % T& v3 o% @; b9 v& C
  1467. session.use_only_cookies = 17 k/ f) x5 R: V2 i+ V1 w' ~

  1468. 5 }* g2 S$ [* }
  1469. ; Name of the session (used as cookie name).
    1 x: V- U2 Q; u" }2 n, I
  1470. ; http://php.net/session.name
    + L) m% t! f' M. P0 b0 c' d
  1471. session.name = PHPSESSID
    ! n% a$ D; A2 X3 l) e

  1472. $ @1 ^. d' {0 {: i
  1473. ; Initialize session on request startup.+ p/ d& c3 M  l6 k# J# c- p6 t
  1474. ; http://php.net/session.auto-start
    0 L5 Q$ E- N+ `6 d/ }
  1475. session.auto_start = 0( r8 R; v$ P1 I5 B" l5 x
  1476. - A5 ?* m  ~/ S# w2 V8 \1 ]
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.2 z" G* l4 |1 t% s0 \9 E# e# f5 Y
  1478. ; http://php.net/session.cookie-lifetime. E' V# t8 c1 W8 s
  1479. session.cookie_lifetime = 0
    3 L6 [; C/ I2 R6 {" b8 O: `5 B$ Y; _

  1480. 7 u& U) U' K+ ?# i
  1481. ; The path for which the cookie is valid.% s) a4 x3 H3 H+ u2 m% z
  1482. ; http://php.net/session.cookie-path
    $ ~1 J7 [) F7 P4 x5 x( w
  1483. session.cookie_path = /( p. A9 v6 ]# ?; G: r8 d
  1484. / J: Z1 G  g+ v8 q# O: \" Z
  1485. ; The domain for which the cookie is valid.
    % b0 [7 d7 P0 R( Y
  1486. ; http://php.net/session.cookie-domain2 E( {) u+ v# e. `- y
  1487. session.cookie_domain =: J4 k5 J  n2 i

  1488. + [. L' D# Q& A4 c) i6 u/ |
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ' T/ I' X: ~% V7 V8 p; |% @$ @/ `3 R
  1490. ; http://php.net/session.cookie-httponly! c6 D: c1 y: l$ l
  1491. session.cookie_httponly =# o+ G$ n+ m1 V
  1492. $ e& R% O+ ]3 d" }( _9 j
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.6 E* ^. t* B5 W) a/ S' x5 r+ j
  1494. ; http://php.net/session.serialize-handler& s- }% ]( l/ m% w* T
  1495. session.serialize_handler = php# [* U9 G7 {& t! T0 h: v( @2 l

  1496. 6 y6 }- B8 g1 b
  1497. ; Defines the probability that the 'garbage collection' process is started0 n. N1 j" y& ?/ N* U, ]- B
  1498. ; on every session initialization. The probability is calculated by using
    # Z9 r$ w% O; k: h, c6 J
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator4 d7 J. g. |4 l
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 15 U; X) _* s+ [7 I- g6 w
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance# L( ~1 U$ [  r/ r
  1502. ; the gc will run on any give request.3 g# F! ?6 t; P8 t6 x9 B: l
  1503. ; Default Value: 13 H/ a' Y1 m5 A& ]+ o
  1504. ; Development Value: 1
    , J/ {1 G( z/ D- d* C7 T
  1505. ; Production Value: 12 T' h" \  k" v8 T- @
  1506. ; http://php.net/session.gc-probability! z1 ]8 q* p; h0 `& _5 I: m" @" {
  1507. session.gc_probability = 19 n: N" D( k- |+ K2 p
  1508. 3 n% ~  M# r! S6 Y
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    # j( G% j6 F/ j- w
  1510. ; session initialization. The probability is calculated by using the following equation:. p; X; [7 W$ ?( g- y+ j
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and7 M2 a8 }% P9 v1 i) R  M
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1! o* P! u. u2 |( M
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance! d; H; d9 I1 t/ w5 j. r
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you! F7 Y, S# u1 W8 R
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ) s# |' s$ D3 S  ]- I$ Q5 B
  1516. ; this is a more efficient approach.
    / e1 z! z4 g) t9 T* M- ~% J
  1517. ; Default Value: 100* s, ]  t3 [- ]& o# F
  1518. ; Development Value: 1000/ Y, y5 _6 G+ p7 E- n, l
  1519. ; Production Value: 1000
    * P7 i- E4 r; ~4 _, ]# Q6 g/ L
  1520. ; http://php.net/session.gc-divisor# r6 m0 z" ^" \. b* s  @6 d( S
  1521. session.gc_divisor = 1000
    8 O9 h' X# I0 q; r2 o6 `1 P

  1522. ) R% y+ M% K* b0 S0 V: G" _- c
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and4 G9 e  Y$ U4 _) C8 v4 k
  1524. ; cleaned up by the garbage collection process.
    ! r3 O" D. H" S- l, d) G4 m
  1525. ; http://php.net/session.gc-maxlifetime& R$ W5 M( {* J8 D  _
  1526. session.gc_maxlifetime = 1440
    % I: @' {$ W  l# Z9 [

  1527. 5 x- r6 L; I/ n( M( T
  1528. ; NOTE: If you are using the subdirectory option for storing session files4 d3 N) y/ e% n+ D0 p
  1529. ;       (see session.save_path above), then garbage collection does *not*
    " h$ c% R( f/ f- ~" _1 P
  1530. ;       happen automatically.  You will need to do your own garbage+ ^: E' [, T3 E# @- y# q. W( C% Q
  1531. ;       collection through a shell script, cron entry, or some other method.
    % d2 C! H. [5 q+ s" a2 d( e
  1532. ;       For example, the following script would is the equivalent of
    - s* C* b+ f( p( J7 Q7 K& u
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    5 {9 R5 Z% }: e
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm$ q* h; D# E. Q6 Y& U9 A
  1535. % Y, A" _( ^; e5 q! E8 }
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    % Q/ p0 d% o" a7 e0 W1 ?9 H% L
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    5 C  U0 V% u6 x6 l
  1538. ; considered as valid.
    6 [2 i8 z+ [3 t/ [0 z
  1539. ; http://php.net/session.referer-check
    ' @1 C+ J" N+ F; }& r
  1540. session.referer_check =  V8 s  Q( Y7 S; B' ]  C' v
  1541. * F, G5 e# h9 H9 F
  1542. ; How many bytes to read from the file.
    , b0 c: u. j( V- U" i" b5 k' z6 P. V
  1543. ; http://php.net/session.entropy-length& A0 P, N7 j% i. h
  1544. ;session.entropy_length = 32" D/ N5 V( V& D- H1 k. B
  1545. ' i$ k7 R$ n) R3 b  H9 ~. h
  1546. ; Specified here to create the session id.
      s- {, _% ^/ D- }
  1547. ; http://php.net/session.entropy-file
    9 `7 R8 f! l# b
  1548. ; Defaults to /dev/urandom" A# _1 C$ P6 ]4 g8 H. @. z
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    8 Q, \( ~# \& Q
  1550. ; If neither are found at compile time, the default is no entropy file.
    & y1 Y3 p5 H% H5 b: C/ `
  1551. ; On windows, setting the entropy_length setting will activate the
    / Q$ B: l# ^( N: {  K
  1552. ; Windows random source (using the CryptoAPI)
    - j3 I! L, ]5 N5 \; G9 A* \
  1553. ;session.entropy_file = /dev/urandom
    ) N4 v- ~+ m4 J7 v

  1554. - C: n7 R( ]2 Q7 X- J
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects4 O0 a4 i5 Z, q* A+ S1 [" |: R
  1556. ; or leave this empty to avoid sending anti-caching headers.* V% y- r+ O6 _6 X, M
  1557. ; http://php.net/session.cache-limiter
    0 Z# x& z4 u, ?8 R3 X! }
  1558. session.cache_limiter = nocache0 d* k4 }6 W4 z; k$ U' B5 R9 c

  1559. 5 [, C# G+ f: k" ?) ~! ?5 R6 G
  1560. ; Document expires after n minutes.$ a# K7 f: ~& x# k
  1561. ; http://php.net/session.cache-expire! `0 v5 j5 y, R! F4 d4 @2 j6 b
  1562. session.cache_expire = 180
    + ~7 _% i* ?) n) T, o$ Y
  1563. 6 T7 H( S, G; [. m3 ]
  1564. ; trans sid support is disabled by default.
    : ^7 p! u/ E/ g/ e! G# h5 {8 J
  1565. ; Use of trans sid may risk your users' security.
    * k5 n) P9 U! Z" H
  1566. ; Use this option with caution.2 X8 C$ F; S+ d! x) T* K/ I( @
  1567. ; - User may send URL contains active session ID4 s! k( T. c6 b, `
  1568. ;   to other person via. email/irc/etc.
    & K  e$ c: N: [+ `9 |; q
  1569. ; - URL that contains active session ID may be stored
    # H- R0 Z9 P% b8 n: W; ?  _
  1570. ;   in publicly accessible computer.2 D9 q# V$ r; w
  1571. ; - User may access your site with the same session ID
    : i+ J! y9 t) a3 i& e& g
  1572. ;   always using URL stored in browser's history or bookmarks.4 E. I, `8 v) a/ I  m8 ?, |# S: [
  1573. ; http://php.net/session.use-trans-sid
    ( \5 m* ?3 y/ P' U
  1574. session.use_trans_sid = 05 Q* T3 o6 k9 w+ y" c4 F" a
  1575. 8 \' Y, o2 L* v, o2 Y% ~- @
  1576. ; Select a hash function for use in generating session ids.8 L0 b3 n* ^9 x5 b
  1577. ; Possible Values
    + ]( L8 K: ~; L- U
  1578. ;   0  (MD5 128 bits)- {. ?& _; o4 K
  1579. ;   1  (SHA-1 160 bits)1 X, E! C0 n' _  B! S
  1580. ; This option may also be set to the name of any hash function supported by
    4 |  _3 j7 V3 S5 d6 z
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()  m' j4 H/ @) \6 f6 @
  1582. ; function.
    4 i: [6 {: a% f2 r+ F! Z. h1 [
  1583. ; http://php.net/session.hash-function
    : k. y) K8 F8 W$ m4 v" |3 ~( {
  1584. session.hash_function = 0
    : @( E: U0 {1 T- M- {9 ]. M
  1585. 8 D! K" }* o0 @- k/ s! ^; _/ p
  1586. ; Define how many bits are stored in each character when converting/ }: Y& Z! p) u, i; Q7 u
  1587. ; the binary hash data to something readable.1 a7 _2 A& v; {9 x" `
  1588. ; Possible values:
    8 M  I! {0 W; t  e$ l
  1589. ;   4  (4 bits: 0-9, a-f)+ k( r1 _% l7 N: r! J2 h4 d
  1590. ;   5  (5 bits: 0-9, a-v)5 k1 Y: ^' D" B- k% z9 d( o3 U4 m
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    + n9 {$ [. @. U8 ?8 r) A
  1592. ; Default Value: 40 q3 h9 q1 N/ Q2 f' D4 H9 n" b
  1593. ; Development Value: 5% k# C$ \% D, d. P
  1594. ; Production Value: 5- M* M4 o, _( R: f6 e
  1595. ; http://php.net/session.hash-bits-per-character9 i% [+ o8 X$ Z1 ^! p+ Q
  1596. session.hash_bits_per_character = 5% d2 c2 y4 w6 S

  1597.   A) c6 X. N$ n+ E9 ?, ]  K
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.7 {; n' r" `5 H4 B. X5 s! v9 d" N
  1599. ; form/fieldset are special; if you include them here, the rewriter will4 A! ?7 e" H! P' p2 ~1 Q3 k
  1600. ; add a hidden <input> field with the info which is otherwise appended+ ^" F# }+ o9 C+ c% r8 a
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.1 l) [) y+ Y  t. K' n, M; Z
  1602. ; Note that all valid entries require a "=", even if no value follows.
    6 }$ J" g9 @* d( y& Q" S6 V7 g3 d. g
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    1 R: D2 Y1 r( E
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 O4 B. b, z1 ~) K9 I& `
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& w/ ]' {* y- [2 s2 r5 |; E2 X7 z/ q
  1606. ; http://php.net/url-rewriter.tags
    , C& i/ z/ Y  r3 w
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 b% Y3 A& O- y4 d0 K
  1608. - ^6 o' Y* C9 M( f/ G' i
  1609. ; Enable upload progress tracking in $_SESSION
    ) |$ E. k( ^& `2 L
  1610. ; Default Value: On
    6 E( }0 a! W/ n6 r
  1611. ; Development Value: On2 ]: W! c4 k# m' X( |' l
  1612. ; Production Value: On& ?9 ^4 X7 d, _
  1613. ; http://php.net/session.upload-progress.enabled, v& `( y+ [/ R  O! H" d
  1614. ;session.upload_progress.enabled = On9 A1 x" K# I, }8 V! v
  1615. ) Y/ R3 w* \7 l* J. B. [
  1616. ; Cleanup the progress information as soon as all POST data has been read
    8 z% R0 @* c& v2 q& f
  1617. ; (i.e. upload completed).
      E" B0 N9 S  w7 W0 o$ l- K
  1618. ; Default Value: On
    9 u( |+ |) o( D1 F' t5 G
  1619. ; Development Value: On
    # h+ ~: n2 w8 R6 x
  1620. ; Production Value: On
    $ K; P6 P6 \; }: o$ v
  1621. ; http://php.net/session.upload-progress.cleanup
    / m9 R; x* c/ G* u. c5 [
  1622. ;session.upload_progress.cleanup = On" n) s. H  J0 x/ \

  1623. / B9 I: A6 t5 r1 S% o$ f1 M
  1624. ; A prefix used for the upload progress key in $_SESSION
    # b, K) q4 Z+ \+ s( b
  1625. ; Default Value: "upload_progress_"
    9 [' p4 \7 c" U  `# ~
  1626. ; Development Value: "upload_progress_"
    / `4 b* Z. m/ z3 y
  1627. ; Production Value: "upload_progress_"+ E" }. S( W! j, l  `" h
  1628. ; http://php.net/session.upload-progress.prefix
    % O5 C9 V& ~4 t+ g
  1629. ;session.upload_progress.prefix = "upload_progress_"
    % Z2 b/ r# ~3 }' D
  1630. : h' B3 G7 D% R5 \6 I
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    4 `% z4 l. @6 g2 v' s7 o5 ], f4 \
  1632. ; containing the upload progress information' `9 ?$ _% O" s" ^; O. b9 ~
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"% [) K; _$ }( P( E+ O& K& d
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"- `: H  X, E7 {2 J* O0 q
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"' f2 N* ]; ]" \( e" {+ O0 k
  1636. ; http://php.net/session.upload-progress.name8 E+ v. I; c/ r5 G
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    % z  u9 r  U( ~" @( W% a6 U% A
  1638. # G* }$ X  L7 _9 j
  1639. ; How frequently the upload progress should be updated.
    ; K1 y7 b" k0 u: _7 D: @
  1640. ; Given either in percentages (per-file), or in bytes
    , j, V! ?& S' q
  1641. ; Default Value: "1%"
    ) j& h+ o( A6 g+ j7 D1 n. c4 H: i2 z
  1642. ; Development Value: "1%"
    + q( M& f+ e) |9 Y+ Z9 I
  1643. ; Production Value: "1%"& n7 I7 ]$ Q! h8 G( q: S+ S
  1644. ; http://php.net/session.upload-progress.freq
    ' B: ~1 X* @/ q% l
  1645. ;session.upload_progress.freq =  "1%"# N& u- m' @8 e
  1646. 7 B+ {  u- z7 M/ w$ v/ G
  1647. ; The minimum delay between updates, in seconds
    , D* V# V: m9 f* ^+ M
  1648. ; Default Value: 1
    1 z$ |" z" U: G. ?& ~0 K
  1649. ; Development Value: 1
    $ c; Z. K, f0 ?' G3 N$ @8 W% E4 D' j
  1650. ; Production Value: 1, P  u" |( M* [2 x
  1651. ; http://php.net/session.upload-progress.min-freq
    : Y$ S) H& ~9 o+ W. |
  1652. ;session.upload_progress.min_freq = "1"
    2 {3 k1 \- V# m. A" Y( Z0 m3 c, u, Z
  1653. % U1 Y- l$ T. ~' k
  1654. [MSSQL]
    ( c4 `9 m$ O' Z4 E! ^
  1655. ; Allow or prevent persistent links.
    3 F! z" R; m4 L+ H( ~: r
  1656. mssql.allow_persistent = On! M- R8 i; l" @

  1657. . d3 U& a1 x! ~* |1 G' i# S* L
  1658. ; Maximum number of persistent links.  -1 means no limit.% B; R" y) a2 o& y* }+ H
  1659. mssql.max_persistent = -1$ e. c7 S5 J" J5 p0 v# `

  1660. 4 t+ K, c1 Y- q  Z+ N, X
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      i; U8 |) w* V+ h( m/ E* j! U
  1662. mssql.max_links = -1
    " P1 `9 a% R0 O6 `- @

  1663. " c2 {2 P2 T- f- Q+ r
  1664. ; Minimum error severity to display.9 D3 ~- J5 N) _  s" z5 H8 j
  1665. mssql.min_error_severity = 10
    : j: S' E0 f% Q

  1666. , m% {$ Z9 ?- \5 J/ y
  1667. ; Minimum message severity to display.
    3 N  ^4 d; ?$ f4 g6 F9 I1 x
  1668. mssql.min_message_severity = 10! [+ W* i+ ^8 {$ P: ?- g8 d0 y. @
  1669. 0 u- g) k$ |6 S. D# E" K
  1670. ; Compatibility mode with old versions of PHP 3.0.6 @0 @- x; C6 `0 F% y+ j) u/ }
  1671. mssql.compatibility_mode = Off
    7 `- G, ]/ @. {, g7 c
  1672. % Y5 E' S5 B" j9 F) ?* z5 T- D
  1673. ; Connect timeout
    + d: E1 T0 ]5 {  K& z2 D8 r* K
  1674. ;mssql.connect_timeout = 5
    3 _: I0 A2 n8 V: w, B
  1675. 7 a! g, b  h6 n
  1676. ; Query timeout
    ! {4 m3 {% O8 `# t; q- b
  1677. ;mssql.timeout = 60( S% l2 D9 F$ Y! W& a
  1678. 1 |* C- ]) E, l; Y" u
  1679. ; Valid range 0 - 2147483647.  Default = 4096.8 G0 E$ J* k' y1 Q
  1680. ;mssql.textlimit = 40964 U' Y1 e6 \% z1 i+ Z9 ~

  1681. 7 l7 H' y' B! t' [/ z/ x+ o; p
  1682. ; Valid range 0 - 2147483647.  Default = 4096.1 m+ m8 `( V% S2 L* Z
  1683. ;mssql.textsize = 4096
    * L2 |) {: p: f, p' L; ?" @
  1684. # W; |% r3 w2 X. i- L0 @$ Z7 a! b) x
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.  l2 ~4 M0 c; s  }, U; T
  1686. ;mssql.batchsize = 0
    % D% w" _& c$ u
  1687. ! x  N" `) u, F
  1688. ; Specify how datetime and datetim4 columns are returned% P( p; K$ h; C
  1689. ; On => Returns data converted to SQL server settings
    $ v& Z0 Y% y6 w# k0 {+ J, T$ U2 I
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    8 ], ~1 j  o" X8 k
  1691. ;mssql.datetimeconvert = On
    3 D1 {$ }# W; x' G
  1692. 7 O1 f4 ?  b% F: C" h
  1693. ; Use NT authentication when connecting to the server, L# w4 J3 d( g6 o( Z+ t
  1694. mssql.secure_connection = Off
    ; l8 ~( J6 \( k) m6 \

  1695. $ j- y' f, l+ v: Y9 Z
  1696. ; Specify max number of processes. -1 = library default
    % T1 y: C' C4 C7 p
  1697. ; msdlib defaults to 25) d) r0 m( g' b
  1698. ; FreeTDS defaults to 4096
    , o% X. |" ~0 x) t# |' C( i6 g
  1699. ;mssql.max_procs = -1
      W* P0 U0 I# ]% k5 S
  1700. ' \7 P5 ~1 q& j- n% m2 c' y
  1701. ; Specify client character set.3 A8 @- d0 K+ H" d5 l. d7 k, q+ K
  1702. ; If empty or not set the client charset from freetds.conf is used# Z  G2 J& [2 G' N6 K
  1703. ; This is only used when compiled with FreeTDS, \" h/ d# K; R# r
  1704. ;mssql.charset = "ISO-8859-1"
    ' ?+ d3 R3 |0 z! n' p9 |

  1705. * |# P: _0 [2 C4 N" X
  1706. [Assertion]4 q& I8 b2 J1 e; D
  1707. ; Assert(expr); active by default.
    9 i& h: [# ?5 F! O& F( U4 }* S- V* H, J
  1708. ; http://php.net/assert.active9 h( ]5 m9 {7 n( F, r0 i9 c' u
  1709. ;assert.active = On
    : U5 [" y! j) M0 b+ y+ Q9 C. i
  1710. % D  H. T$ V/ m
  1711. ; Issue a PHP warning for each failed assertion.
    % d( k3 e9 N& d% }6 v/ j) i
  1712. ; http://php.net/assert.warning) j9 q! E5 ^( O9 I, x  M
  1713. ;assert.warning = On
    3 q, Y7 ~0 D5 n

  1714. ( Y8 F1 g* }! n. p
  1715. ; Don't bail out by default.
    ' n* [3 n1 o1 P: n* C
  1716. ; http://php.net/assert.bail
    2 C& T6 J1 Y' r% U# c# J+ Y' {
  1717. ;assert.bail = Off
    , S+ ~! a" u2 v4 s" q% P; W
  1718. - \. K  ^9 V0 G+ F+ R
  1719. ; User-function to be called if an assertion fails.% G6 R& K) t, T$ `( ?
  1720. ; http://php.net/assert.callback9 s/ d! b6 Z8 d1 |* J# R
  1721. ;assert.callback = 0
    , s0 H; G; v- m$ e* g( o, S

  1722. ) ?  P* j; ^- |. k: g, A
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
      @& z5 R1 g' I4 [( D* S
  1724. ; error_reporting(0) around the eval().
    2 J2 \6 e0 H! H1 d  i  b9 q
  1725. ; http://php.net/assert.quiet-eval+ ?2 \; d) J1 r4 Q; M8 A, c3 P+ ~
  1726. ;assert.quiet_eval = 0
    2 {1 _# f$ ]7 \/ v# I' k

  1727. 9 L. `/ I: l' C: g1 e: r) \
  1728. [COM]
    ( {& p  o8 G; S* T7 r7 ]# t8 ?4 ?
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
      `4 l5 D/ A0 [1 h2 N* }. g
  1730. ; http://php.net/com.typelib-file
    7 C9 {; q/ O: p
  1731. ;com.typelib_file =; |9 O' z0 e; e" T9 i- r
  1732. 5 e7 F4 [9 g8 A, c
  1733. ; allow Distributed-COM calls
      ?; I& Z1 j" B9 D2 o% s) N
  1734. ; http://php.net/com.allow-dcom
    % J' M4 c$ s! d0 z5 x
  1735. ;com.allow_dcom = true) K" S8 [6 U( I2 v

  1736. 2 y3 ~/ e0 d% O, h% n" l
  1737. ; autoregister constants of a components typlib on com_load()9 ~( b5 ~' j) C3 P! L
  1738. ; http://php.net/com.autoregister-typelib
    ) S2 ~& @0 k3 e+ \1 z4 s/ ]
  1739. ;com.autoregister_typelib = true# F9 y, l$ T' {
  1740. & L5 d3 b! U+ H+ @0 T' J( t3 h* U
  1741. ; register constants casesensitive( i  z: U+ F4 I/ [
  1742. ; http://php.net/com.autoregister-casesensitive5 j" D( q& U# [  u6 g* X2 S9 d
  1743. ;com.autoregister_casesensitive = false; P0 c/ m. ^* B) Q6 k3 e; g
  1744. % V0 H2 h( k4 o
  1745. ; show warnings on duplicate constant registrations$ T8 S; ~1 t7 [
  1746. ; http://php.net/com.autoregister-verbose
    8 Z6 R6 r& p/ p! ?/ M
  1747. ;com.autoregister_verbose = true
    ; w  |0 O8 q6 N/ _( E3 ?3 ?3 a
  1748. # @; |7 C( z8 U5 x/ i0 u" P' s
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    7 {3 T7 s( v4 \" I8 ?( C$ |
  1750. ; Default: system ANSI code page' n- L6 J5 O8 |% L$ j  r
  1751. ;com.code_page=
    / S; k' F% E9 \1 a3 Q# X+ w0 D9 F

  1752. 6 c& ]6 T. u9 q
  1753. [mbstring]
    + X; e, [" k$ i7 N( W/ c7 P
  1754. ; language for internal character representation.2 U1 W1 A8 w" |/ \: d
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
      n3 {* a0 ^* j- \6 z+ Q
  1756. ; http://php.net/mbstring.language
    . y& [/ _- N1 ~8 f7 Q9 W
  1757. ;mbstring.language = Japanese
    " E# q# P9 d0 E& I6 e' c# f8 s

  1758. " f5 S2 V) G+ b$ y) A. N! O7 B
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.! ]& h$ ~8 D; v' D& y
  1760. ; internal/script encoding.% ?1 N2 w1 B  `: x9 E' |9 l/ g
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    2 e( w- o- X+ R$ R
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    7 r+ ]5 k( P0 O$ f# \
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 n7 A# y8 E. j, m
  1764. ;mbstring.internal_encoding =  D/ U2 D" d0 f2 @) Q( m3 Y
  1765. ' I, G/ t! K# d3 Z$ Z, \  p
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    . D# j# F; R) x( _8 \: v  V% I$ |
  1767. ; http input encoding.
    3 F9 [7 d3 s) h
  1768. ; mbstring.encoding_traslation = On is needed to use this setting./ U0 b/ C. p) w& }4 e
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.4 o4 [- ^# e2 ?! ^& y  q% I- K
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input; d5 r! A- W$ ^3 k1 p
  1771. ; http://php.net/mbstring.http-input9 t5 S) q! a( l, U. O9 T0 D
  1772. ;mbstring.http_input =6 a: Q* Y: e1 D# h
  1773. 1 F  I' L. l4 b! D* l, u& L! m
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    5 T2 v0 H4 l  v) l8 r$ P# |
  1775. ; http output encoding.7 n) s  R3 H/ i. ~8 y8 ~7 [2 H! c- ?
  1776. ; mb_output_handler must be registered as output buffer to function.
    5 {8 \' w7 z2 G
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.! P$ ]! x. Q" @
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output0 V8 x, k8 I6 C5 E' F
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    5 V# _( J3 L; d# }9 g
  1780. ; otherwise output encoding conversion cannot be performed.
    6 F, ]- S2 s. z8 h2 ?
  1781. ; http://php.net/mbstring.http-output
    2 M3 v* @3 |- F8 P! G* Z
  1782. ;mbstring.http_output =+ h$ f. l" \, r. L( \! Q% f; l) h) I

  1783. 6 D) h: _( V: A* N, v( e% L* o/ N4 B) M
  1784. ; enable automatic encoding translation according to3 S( v1 m  h  g  T3 j% U. o
  1785. ; mbstring.internal_encoding setting. Input chars are/ V. x% u6 J' u# W2 v- l
  1786. ; converted to internal encoding by setting this to On.
    " }9 S7 ~* K% r# ~
  1787. ; Note: Do _not_ use automatic encoding translation for
    0 ~0 e! f1 V" A# J$ ?% h1 }# U# _
  1788. ;       portable libs/applications.
    % m$ ?/ X: m- ^- P1 K8 j
  1789. ; http://php.net/mbstring.encoding-translation
    0 c5 ~7 H2 p! L
  1790. ;mbstring.encoding_translation = Off' s. G. i- N: w% g
  1791. / S# R) \0 D# x2 U  L& W% G) @
  1792. ; automatic encoding detection order.
    2 i1 z! f- ~5 y+ k( _) u4 b6 V
  1793. ; "auto" detect order is changed according to mbstring.language% V& H9 {0 Q8 E  I. Q, m
  1794. ; http://php.net/mbstring.detect-order  O& ?2 u* ^. l% D- L8 c
  1795. ;mbstring.detect_order = auto+ z( K4 o  ]% ?

  1796. $ F3 q% e0 o+ [  O: H
  1797. ; substitute_character used when character cannot be converted; Y: e4 i) ?# j
  1798. ; one from another1 x1 j/ a5 f2 Y) G
  1799. ; http://php.net/mbstring.substitute-character, M  D" Q% }' t3 ?0 b! j0 j
  1800. ;mbstring.substitute_character = none- l( S& x5 O( J: E: A

  1801. 7 r' m9 }) O2 r) R! W
  1802. ; overload(replace) single byte functions by mbstring functions.5 d; h4 `# d( c' P0 [$ E, E* b
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),7 A, D7 j% b( ?9 m+ m/ L
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.! I9 }. |2 p2 s4 Y1 [$ W2 \
  1805. ; For example, 7 for overload everything.
    7 p; R$ d/ |9 x8 O; i4 g) f! p% y
  1806. ; 0: No overload
    8 ]. r3 u$ L4 M8 z3 d; r
  1807. ; 1: Overload mail() function4 \* x* U) g! n5 j$ o
  1808. ; 2: Overload str*() functions* k1 ^9 ?% n; j+ @4 \( z
  1809. ; 4: Overload ereg*() functions* V6 n/ m6 [0 d. k8 E  |- I
  1810. ; http://php.net/mbstring.func-overload5 L# M6 ~" M* q5 a0 `0 M4 L! Q
  1811. ;mbstring.func_overload = 0
    ) I- D( l% ~4 l
  1812. 2 h; E8 z- o1 c4 E1 t" a& l
  1813. ; enable strict encoding detection.
    & H8 c0 D- d, y5 X
  1814. ; Default: Off
    7 N( @/ N% u4 A# k# `- N" ?+ X  O
  1815. ;mbstring.strict_detection = On7 ^: G$ X$ P+ k' X4 N. p( n. f

  1816. + X9 _0 O) ^& B, {+ l- {1 [
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    1 j) g- d* h8 ~& m
  1818. ; is activated.
    6 Q$ P( W: L0 k8 p
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    # T8 C9 b% A  G7 o$ C- z
  1820. ;mbstring.http_output_conv_mimetype=7 V, ~% |1 X  E. i9 I8 i
  1821. % K7 \# K3 B7 C5 T
  1822. [gd]3 h3 y# U$ Z$ }
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    % P% k" ]# r$ Z
  1824. ; a gd image. The warning will then be displayed as notices9 {3 C) `- \  n4 j
  1825. ; disabled by default
    " g0 u- H& F9 I( m: }
  1826. ; http://php.net/gd.jpeg-ignore-warning( W0 }2 p" t) A3 k
  1827. ;gd.jpeg_ignore_warning = 0
    ; Q7 U$ S& Y% j1 \

  1828. / I) O( F/ T% J; Y) @- ]5 ?
  1829. [exif]9 K0 h; o; o* ?  |1 Z
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.2 B" K: ]" n1 ~& b9 p
  1831. ; With mbstring support this will automatically be converted into the encoding1 U) `$ m% v& c2 {  r8 J# O. V
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding( |* Q. I) y2 O  T3 }; i
  1833. ; is used. For the decode settings you can distinguish between motorola and
    - [3 z+ t9 s% q) G, J+ j- t1 D
  1834. ; intel byte order. A decode setting cannot be empty.$ o( U" e3 h4 e* r
  1835. ; http://php.net/exif.encode-unicode8 s0 X' U* q7 E8 O( V2 X, [
  1836. ;exif.encode_unicode = ISO-8859-15/ T4 P6 r3 F* N" S8 x$ j
  1837. 9 x- V% w# S% a( \, F
  1838. ; http://php.net/exif.decode-unicode-motorola
    # x& t, L7 n, e6 W. c/ ^
  1839. ;exif.decode_unicode_motorola = UCS-2BE, ^6 z! M# C; `. @6 I

  1840. 9 t, W6 E7 f2 h
  1841. ; http://php.net/exif.decode-unicode-intel
    6 F  t8 ~7 H1 r4 h1 D
  1842. ;exif.decode_unicode_intel    = UCS-2LE4 h2 d7 m' W6 s! r! Q
  1843. 7 r! M, x6 w6 u, x
  1844. ; http://php.net/exif.encode-jis
    5 r" n6 M4 L( u) m7 Z' k1 i
  1845. ;exif.encode_jis =# B1 G, }& J" X  T* R( h4 K

  1846. % ?/ T4 V- s* Y; M6 M; ?" k2 l) w1 Z
  1847. ; http://php.net/exif.decode-jis-motorola
    8 d. E  C5 p- g8 G% t0 H
  1848. ;exif.decode_jis_motorola = JIS) _$ q' Y+ b+ g% h3 W3 Z6 L

  1849. , d" [( M# P7 _& s, n- \
  1850. ; http://php.net/exif.decode-jis-intel3 B1 k$ u1 y3 [' J+ f/ z, m
  1851. ;exif.decode_jis_intel    = JIS- g# o4 O( |8 |5 s( h% w0 X+ M
  1852. ( l$ ~% V0 F9 w! k% v
  1853. [Tidy]
    $ E8 I, E6 v% s; L( M' I
  1854. ; The path to a default tidy configuration file to use when using tidy  j# r6 M6 b+ G7 z/ J! b
  1855. ; http://php.net/tidy.default-config6 D$ b! E9 H8 A1 `
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg' L# m/ M6 \. \. P( I

  1857. + I, n8 w9 n0 n; j- p
  1858. ; Should tidy clean and repair output automatically?, R  D' E4 j" H3 h+ g2 k. W4 [
  1859. ; WARNING: Do not use this option if you are generating non-html content
    + q3 q7 Y1 @# T  K$ E: m) |
  1860. ; such as dynamic images* h* q/ @! [  M% x3 L1 G
  1861. ; http://php.net/tidy.clean-output
    # `8 A7 Q& U! w- Q, p$ s7 ?1 |0 i
  1862. tidy.clean_output = Off  M  U$ {. M# h# G

  1863. . ]% n! a. d3 e: P9 Y' `  H
  1864. [soap]
    & O8 g* f2 \1 B
  1865. ; Enables or disables WSDL caching feature." W3 ^% F4 N1 F4 }
  1866. ; http://php.net/soap.wsdl-cache-enabled; i. D. ^2 i% u3 {
  1867. soap.wsdl_cache_enabled=1+ N' S7 N2 u: R4 |  K8 X1 f

  1868. 5 ?, p6 s9 b8 l$ l: o, v  Z. u
  1869. ; Sets the directory name where SOAP extension will put cache files.0 {) @2 x! M$ Q! u0 H
  1870. ; http://php.net/soap.wsdl-cache-dir% ?( P( q$ _& z4 d6 Y
  1871. soap.wsdl_cache_dir="/tmp"* a; F% }! ]7 t7 t3 j8 x$ P6 t

  1872. 3 _3 T+ f- \& E& ~% U$ e
  1873. ; (time to live) Sets the number of second while cached file will be used
    7 ]8 @) V% D0 K! T# y
  1874. ; instead of original one.
    0 x, S' U# l* g
  1875. ; http://php.net/soap.wsdl-cache-ttl1 x' U: R8 l+ y1 W9 S
  1876. soap.wsdl_cache_ttl=86400
    5 z* R' f3 l6 J! x" g( ?
  1877. + [' M/ i4 f0 e+ O
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    8 R7 I  _6 g/ M, i) E( ]! a
  1879. soap.wsdl_cache_limit = 5
    + l. u% z0 U1 }9 P+ d

  1880. $ ~" a. g: J3 U$ ~# h
  1881. [sysvshm]' C+ i. w. f( L0 y% I. @" A
  1882. ; A default size of the shared memory segment: L6 O( l- A5 n4 Y
  1883. ;sysvshm.init_mem = 100003 N# m. g3 \2 J1 {

  1884. 7 M+ h/ E! x. m; `& \2 A
  1885. [ldap]
    ; ]4 d$ _; a* F! Y% d" z
  1886. ; Sets the maximum number of open links or -1 for unlimited., m+ e* k, i, u; E
  1887. ldap.max_links = -14 a: P, T3 Y3 [. [/ {0 d- }6 H
  1888. : x7 A* ?( ^/ c' W* D
  1889. [mcrypt]
    : v7 F7 e% K1 p) H3 f% p( z3 p
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    * A8 c1 P4 H* x2 k! D

  1891. , O6 x; k* C% c
  1892. ; Directory where to load mcrypt algorithms
    7 i7 h2 [; N& A/ _7 O$ j7 K% v8 L7 @
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    / T. E) O8 F/ Z& D: v8 f2 y# \" v& ?
  1894. ;mcrypt.algorithms_dir=- F* c6 `: A: [) ]/ J
  1895. * U4 f5 _4 c, ?0 z1 p
  1896. ; Directory where to load mcrypt modes
    " l2 a* f9 u- x6 }$ [. p" m
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)6 j; k* E, R/ |# N$ X3 \
  1898. ;mcrypt.modes_dir=& C6 p, p: @5 J9 ?0 D* H; K5 y
  1899. 5 h- O1 D5 H/ d9 I, {, X- s# G4 }
  1900. [dba]
    ' p5 Q5 d. x" b9 u" `0 V  l: x
  1901. ;dba.default_handler=
    ; M; y* U/ o; E* `) o5 h0 [, o

  1902. ) q4 i2 G8 d# J. m" a! A1 S# g- [2 T
  1903. [opcache]% @/ ?1 r# x# W
  1904. ; Determines if Zend OPCache is enabled
    " {8 E7 d- q) B" Z) p3 E6 `9 Y/ V
  1905. ;opcache.enable=0
    3 j1 J: a; q2 I; a2 C

  1906. $ H' ^9 X5 S8 a( l; W
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    : k% ~& p. Y1 H2 B2 {" a# ]
  1908. ;opcache.enable_cli=03 j; i& \* C0 b; ?8 `

  1909.   B0 b4 Q/ _& j4 `0 g- T
  1910. ; The OPcache shared memory storage size./ L" _% F+ f4 Q* o
  1911. ;opcache.memory_consumption=64% W0 p( \- Y& z# j
  1912. $ w  q8 Y# S9 W& i& F3 L
  1913. ; The amount of memory for interned strings in Mbytes.
    : }  J5 w. u( T- h7 B# d
  1914. ;opcache.interned_strings_buffer=4$ B5 y3 z4 z+ e5 m) z

  1915. ' N5 b0 @$ O! p3 r( `; a
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    " |% X1 {* d2 _% B- H2 u7 p* g
  1917. ; Only numbers between 200 and 100000 are allowed.( y# O, T$ K, S! g; D( i
  1918. ;opcache.max_accelerated_files=2000
    ! s3 O) ^$ [( V# D
  1919. + l/ o1 N0 \6 N+ T" o% y
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    + K& C' Z1 A3 K
  1921. ;opcache.max_wasted_percentage=5$ A+ M* |5 K. k5 n; n' x4 z+ F  `
  1922. : N: {( i' u+ |4 e/ x5 {! u6 K
  1923. ; When this directive is enabled, the OPcache appends the current working
    : ]( k7 D2 z" u; E
  1924. ; directory to the script key, thus eliminating possible collisions between
    . z6 O$ {4 w0 ?+ X8 d
  1925. ; files with the same name (basename). Disabling the directive improves* q8 d2 e- l, P. b' s
  1926. ; performance, but may break existing applications.4 @+ l0 v, M( q0 D4 U, [
  1927. ;opcache.use_cwd=14 c* [' }8 V( x" {4 l: J

  1928. / M# B( x- O% X, x2 F
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ) \& l* d4 S( q* g
  1930. ; webserver for changes to the filesystem to take effect.
    ! |; P- ]% Q3 C  X% k5 @5 N% }" Q3 a; H
  1931. ;opcache.validate_timestamps=1
    9 B* {5 _5 W+ N% k( s! W2 V

  1932. 1 D$ T2 i& m! Z2 B0 l3 i
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    " S' Y- v% F4 ^3 t5 N
  1934. ; memory storage allocation. ("1" means validate once per second, but only/ Q) M4 q& G2 S4 c! B& m
  1935. ; once per request. "0" means always validate)5 S' S3 x% p4 F3 e/ Z1 N
  1936. ;opcache.revalidate_freq=2
    # E2 ^7 g2 W, [2 o5 u) W
  1937. 7 d6 @5 A; P4 x3 o( z6 n
  1938. ; Enables or disables file search in include_path optimization+ n: x! Z( E- I% |
  1939. ;opcache.revalidate_path=0. i8 n6 j3 T' s2 y& o. Z0 n/ A5 V* `
  1940. $ b7 R/ Y' s8 p. e0 d9 q/ w
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the: ?7 }7 [% x5 U8 g
  1942. ; size of the optimized code.
    0 L; l$ W& g% b5 H/ C2 o
  1943. ;opcache.save_comments=1
    ' E, A; F+ ~% Y* @) l
  1944. # a4 I" J( h1 Q: H- s2 t' d4 G
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ( X& M. r% E, f+ F
  1946. ; may be always stored (save_comments=1), but not loaded by applications0 ], N$ h: h1 {2 c4 l! r. ~, G/ ~
  1947. ; that don't need them anyway.
    - S/ x/ Z# E; J7 s9 g
  1948. ;opcache.load_comments=1
    ' {1 ]! T+ @4 g* d+ J
  1949. 2 s3 E. E" ~# I! {3 [) k$ s
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code3 K, J) |" u# N( b
  1951. ;opcache.fast_shutdown=03 B9 a8 B7 Y9 G7 ^" l

  1952. 7 e5 Z( q6 Q2 O
  1953. ; Allow file existence override (file_exists, etc.) performance feature.4 k2 L( ]6 q( o/ H7 o
  1954. ;opcache.enable_file_override=0# d6 i7 A9 g8 u; x# h2 [  V( A
  1955. 3 H& J+ j$ K- d. b
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache3 I. @' ?: ^% w) Q* }
  1957. ; passes
    ; o: T4 R# q9 \  V# m& R. _
  1958. ;opcache.optimization_level=0xffffffff
    , k+ [6 y$ n# [' \# d! z  w
  1959. $ D# R& U0 N7 u
  1960. ;opcache.inherited_hack=10 S- V' V' C3 m5 }; a$ W5 \
  1961. ;opcache.dups_fix=07 o+ L/ I# p  K8 i/ ?

  1962. / U4 p, t0 Y  q% o! L' d* b
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    / s. M5 k% S+ x) F
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    & d* i/ T, p- |' m
  1965. ; that should not be accelerated. The file format is to add each filename
    : C% i7 z3 m+ D$ s  M4 Z. K$ z9 R
  1966. ; to a new line. The filename may be a full path or just a file prefix9 `" @4 W8 v& U' |0 F/ U
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ! }2 K0 z, m  [0 `, [
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).2 @6 E0 J  V- O. `2 J7 U
  1969. ;opcache.blacklist_filename=; O1 C& W/ S. [1 n- U4 w1 N
  1970. , g. x2 g; ^  @8 ?! T
  1971. ; Allows exclusion of large files from being cached. By default all files
    2 D3 V4 o, l, \& |+ g& C
  1972. ; are cached.
    3 q# T& o+ K) Q% c& q; g- G+ t' L
  1973. ;opcache.max_file_size=0( i# Y; F* x, V* y2 U

  1974. / s) t/ u2 r1 O4 {: k
  1975. ; Check the cache checksum each N requests.2 m- ]$ w2 D: `5 ?
  1976. ; The default value of "0" means that the checks are disabled.
    ; |; Q" L! I4 b7 @' _% p* ~) i$ m
  1977. ;opcache.consistency_checks=0( p6 }2 z3 J0 Z' H' w
  1978. ( L, F+ f* G/ X3 Z% [/ O; j& A! }
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    & `. L3 j( J2 j
  1980. ; is not being accessed.
    8 C6 K: T+ ^; H+ r9 y0 |' P$ i
  1981. ;opcache.force_restart_timeout=180
    1 z5 V7 \7 @4 t" g$ ~

  1982. ' ?9 j. L+ V+ E: v% v, O. F
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    7 Q" t9 b+ V) w; J
  1984. ;opcache.error_log=! q) \6 Z) J! ~5 h& m0 m4 u
  1985. 6 _- P/ _  |7 s, ]3 \
  1986. ; All OPcache errors go to the Web server log.
    ' k, l/ J- Y+ R% k/ y
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    9 m% J4 {8 A! a& O- j2 ~2 W
  1988. ; You can also enable warnings (level 2), info messages (level 3) or( Q. T+ V  V) `8 r# F0 C
  1989. ; debug messages (level 4).
    & A/ [) r& v9 N5 J- S1 C
  1990. ;opcache.log_verbosity_level=1
      U/ k8 K2 F/ X* ?3 n/ T

  1991. ( w; D+ B4 z- ?/ @" W
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.6 }  A! V7 P0 S
  1993. ;opcache.preferred_memory_model=
    % b+ {( a1 Z7 F; w* U

  1994. 0 P1 z3 l' \, p$ e5 a
  1995. ; Protect the shared memory from unexpected writing during script execution./ i; C8 x* O9 i; S' U5 b
  1996. ; Useful for internal debugging only.
    # r# f* u4 B- a- q1 f
  1997. ;opcache.protect_memory=0
    ' R0 a  B" s. Z0 c% n

  1998. 5 V- n- r4 o+ o8 k& _9 l% a
  1999. ; Validate cached file permissions.
    1 K* `3 c) ^, N% @
  2000. ; opcache.validate_permission=0/ l3 n% j- s: Y( i
  2001. % N! m" s5 R* O  E: E1 U! {5 a) x
  2002. ; Prevent name collisions in chroot'ed environment.) j  H1 X- o; z& {, H- O
  2003. ; opcache.validate_root=0
    ( z' A  B9 I$ h! y, d

  2004.   R, ~$ |, v0 ~  m+ S
  2005. [curl]
    * a1 v  Q6 |+ j2 F4 z' A
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    , @, Y4 m3 ~. L! S
  2007. ; absolute path.5 q5 T7 Y9 r2 h0 l$ L+ z
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt1 w- D# {/ c/ j# e$ G: A1 a
  2009. % I9 u3 s8 b6 _* q: O/ h
  2010. [openssl]- l' G; [+ t6 x) y5 W
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    2 `) K& w2 [5 b. Y' }. G8 l% c
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
      @3 R8 J+ P# C9 a5 d( m# H
  2013. ; not specify a value for this directive as PHP will attempt to use the/ I/ F4 ]) u9 o3 F
  2014. ; OS-managed cert stores in its absence. If specified, this value may still5 K$ s5 U+ D" c* {
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context) E$ c) I8 P5 A, H
  2016. ; option.
    % {& B# v% B+ P6 l9 z
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt* d9 a+ b. J9 u; Y8 }; _3 V1 ~; u

  2018. , E) F+ j( b0 {: [0 r
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ( p1 J3 e& i* X0 ]+ [
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    8 C0 {% O8 V+ n/ g
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    $ h6 B4 t+ N# X4 K- L, b2 e
  2022. ; Most users should not specify a value for this directive as PHP will! R/ B9 ]% j8 |: |* n4 ~
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,! E7 [5 ~1 _6 f% E, [/ E
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    2 _) F$ j; z4 m0 Y, K
  2025. ; SSL stream context option.9 \, s- P" H* k  `
  2026. ;openssl.capath=
    8 `+ }4 O, I% N+ l
  2027. ) E  \8 A( q2 S5 k
  2028. ; Local Variables:/ {1 m1 T! w1 m$ d+ m
  2029. ; tab-width: 4) n+ J! K7 n) J" K
  2030. ; End:/ I0 c3 ~' ^' J, _4 v+ n
  2031. ) N% ~6 |$ [) m( [0 d( ]
  2032. ;eaccelerator
    " v. x3 o; t. _6 |, c
  2033. 4 u1 h8 w- ^( C( G) E  {
  2034. ;ionCube4 r( ^/ p& k" I# P  j

  2035. ( r/ p+ y/ ^3 V- s& e
  2036. ;opcache
    ( Y6 R2 ^3 J, }1 E

  2037. ' T+ k0 a8 x& \
  2038. [Zend ZendGuard Loader]
    / j/ w; F& d: D" e5 y
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so4 W) ?* g) n" Q3 |7 D* U( y3 Q
  2040. zend_loader.enable=1
    ) [3 I+ z  f% t
  2041. zend_loader.disable_licensing=0
    $ }4 H4 u/ j3 g
  2042. zend_loader.obfuscation_level_support=3
    # q3 t8 e% v! V0 U% Y
  2043. zend_loader.license_path=
    # f. m* S2 x# w+ }0 @: ]

  2044. " I* H5 t/ b7 V, T1 f# B& `: \
  2045. ;xcache( e% R8 d; C2 ~& E5 Z

  2046. + d* \8 X$ h; c  R% b* N9 I' [, A
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692* Y% O/ G8 Q% t
' o( _$ v6 t- W3 \. B

; W3 [$ p) Q( V, M4 ~+ G! MDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,. _# C7 n6 U+ r/ M  k

0 p/ u5 b, s' E% e( K+ [: ]1 }Discuz!程序版本选择:, l* G# g5 |. b: i- \1 A: w2 L
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,! o, W: ^7 G* Y+ \& ~# R0 ]
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
+ Q8 ]: r* Z+ X6 X' aDiscuz!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。+ q  O4 u- u! ], O$ S9 z* Q8 _
% t7 k/ c* B: u2 h# p
Discuz!插件模板版本选择:
- ?( ?9 |1 k: i$ x& |+ L4 C3 `- H1 h3 x很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,( J2 Y+ Q, v4 }2 V
针对这个问题做个统一的普及:
" x3 }: K0 Z& nX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
3 f" p! ]( z1 `; T2 y# K7 v. e
所以! P$ r- r2 X- P3 P; p0 M
适合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的二级域名。
1 Q5 _8 V7 }; K7 Y打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
' g8 c. @& w/ ]8 a! ^8 j注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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