分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
7 t9 ?* r# ~" H: q. s. ?
+ U1 ]# x6 O& Y: p/ d
  1. [PHP]
    6 o- J3 z4 O" b, g! U6 f9 X

  2.   B! M% y: S4 D! _; q% e
  3. ;;;;;;;;;;;;;;;;;;;. p2 y1 p$ {; B
  4. ; About php.ini   ;8 W7 V4 t; e" t" Y  q  ~, A: L$ Q
  5. ;;;;;;;;;;;;;;;;;;;
    3 i; ]; V7 ^& V! k' x( H* C( p
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    # U5 d+ y+ a- W) M: K  X! b
  7. ; configuring many of the aspects of PHP's behavior.
    - L! |( G! D, _. D# t# X# i
  8. 9 O6 L( z. a8 m2 g
  9. ; PHP attempts to find and load this configuration from a number of locations.* h5 X! W2 k; A* u( {
  10. ; The following is a summary of its search order:
    ( R% ~! w0 L; T- N6 I
  11. ; 1. SAPI module specific location.6 P$ P, Z. `( F( W" {% l8 n
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    7 c# Y2 @8 f$ E7 h( o* e( R
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    " q5 u4 |) w* ?5 T" r# g2 ^1 r
  14. ; 4. Current working directory (except CLI)
    & H# @" c" A( I! k# j
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    - @9 W/ U) q9 c$ [0 {& d
  16. ; (otherwise in Windows)
    5 G$ T$ f+ O: J6 e  F) ~
  17. ; 6. The directory from the --with-config-file-path compile time option, or the0 F: C3 d) M  S) [; M% h& _) ?
  18. ; Windows directory (C:\windows or C:\winnt)4 K1 E" U4 c8 B5 P
  19. ; See the PHP docs for more specific information.- S5 \! V6 e; P3 l0 H' o
  20. ; http://php.net/configuration.file0 r8 G/ ]7 ~9 w3 n! i+ M

  21. 3 s4 `+ I$ c' B  I  G3 d( e
  22. ; The syntax of the file is extremely simple.  Whitespace and lines$ H9 w4 A7 |: e: y. ?' f
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).# M) `5 l2 {  y) ?6 n* G
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though( l6 F2 f$ g5 e$ U5 c0 T
  25. ; they might mean something in the future.) R' f" D5 v1 V" E
  26. 5 K9 D/ V; `  O6 |' i8 b
  27. ; Directives following the section heading [PATH=/www/mysite] only4 r! U, s& l5 d% e
  28. ; apply to PHP files in the /www/mysite directory.  Directives/ w8 u7 X" j. _& e, h7 X) G
  29. ; following the section heading [HOST=www.example.com] only apply to
    & \7 N, W$ l' X
  30. ; PHP files served from www.example.com.  Directives set in these# Z3 O  w. B& Y. @) s: t; m: C$ @
  31. ; special sections cannot be overridden by user-defined INI files or
    8 H$ z# J! r6 \' o
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    & Y) P, m$ m/ C' n
  33. ; CGI/FastCGI.% r: l  M( ?' I/ Q$ \4 c
  34. ; http://php.net/ini.sections
    1 Z: p$ e2 N7 z3 x
  35. + L8 s% ~" e2 L3 z" E6 z
  36. ; Directives are specified using the following syntax:
    4 m, s7 H2 q3 m" C' c$ n$ \, `
  37. ; directive = value
    2 F5 Y1 v* n( ?4 L+ W/ d6 [% e
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.) o7 f7 u% k( s# a: @
  39. ; Directives are variables used to configure PHP or PHP extensions.+ s0 d% G# Y1 a3 n
  40. ; There is no name validation.  If PHP can't find an expected
    . J: P' G: y" d3 U
  41. ; directive because it is not set or is mistyped, a default value will be used.
    2 C$ T$ c7 W/ I! u" E: ~; X8 n2 L

  42. + \. ^! {9 Y+ a
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one! r+ |2 O, X# \7 g; w  O
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    , l$ F9 }4 Z6 X" z0 q1 Q$ W
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    0 v& T6 d3 O  N5 M8 y
  46. ; previously set variable or directive (e.g. ${foo})
    ( I0 i* [  |' C6 {$ C# O/ a8 V/ {- \

  47. 3 T+ Z' D+ @6 l  @! j7 _
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:  r5 r% }/ o2 ~
  49. ; |  bitwise OR, q4 f( }9 D2 `% K- U
  50. ; ^  bitwise XOR" J2 K+ D2 ]* u* @
  51. ; &  bitwise AND2 I' ~4 O5 J0 |: Q' m% [
  52. ; ~  bitwise NOT
    ) p3 Z& `# o1 Y
  53. ; !  boolean NOT. ?) H2 P  L* j: ^& ~  X
  54. - V& {  o* c) D5 U# }( d8 K
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    6 H0 |/ C  i0 J/ I
  56. ; They can be turned off using the values 0, Off, False or No.
    " F, O1 r% ~: v' m3 D

  57. , \5 {0 v0 g0 l9 H& ^# e
  58. ; An empty string can be denoted by simply not writing anything after the equal! I7 U8 n( y7 H0 R+ o
  59. ; sign, or by using the None keyword:
    + v' Q' k# v6 J2 v- |8 Z: x& C
  60. + M; }" [  |$ T' j! c0 ?
  61. ;  foo =         ; sets foo to an empty string+ s; j, L9 {, C; B
  62. ;  foo = None    ; sets foo to an empty string5 S; t! T7 v% t- B& z
  63. ;  foo = "None"  ; sets foo to the string 'None'
    & c  v; ?' |: x& L, q7 q3 n
  64. 5 n' g- x9 W& ~2 Q; F6 ~
  65. ; If you use constants in your value, and these constants belong to a4 ^' G: r5 `- h% O; k- K  S; R0 v; r3 m
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    % k  |" N, V6 r  c! e5 b
  67. ; you may only use these constants *after* the line that loads the extension., G6 q0 A# n, s7 U8 L

  68. " \& m$ Y3 d1 |1 M" S8 L
  69. ;;;;;;;;;;;;;;;;;;;, k" m# D& [. x% r8 K
  70. ; About this file ;3 a+ u4 ]% d" G: ]+ u
  71. ;;;;;;;;;;;;;;;;;;;1 S7 k; i# r) z4 @4 n
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    / z: n- E. j) r6 Z) P9 m" j
  73. ; in production environments and one that is recommended to be used in$ \: Q( c4 @1 P3 P# P
  74. ; development environments.
    ; ~" H+ {0 v  o7 c6 r6 ?1 N- E
  75. % ]( _  q9 b2 \! m$ q( B/ y
  76. ; php.ini-production contains settings which hold security, performance and; z! m) e. t0 v( z& y) Q
  77. ; best practices at its core. But please be aware, these settings may break# V( z% k( Z1 d6 l  e1 z
  78. ; compatibility with older or less security conscience applications. We
    5 x  x4 e) \. ~0 k: a3 F
  79. ; recommending using the production ini in production and testing environments.
      V* \2 B0 i+ {; a; V

  80. $ {% \. j" {4 B  ?
  81. ; php.ini-development is very similar to its production variant, except it is
    - ^) ~4 z. V) @/ C, c7 W3 K& p
  82. ; much more verbose when it comes to errors. We recommend using the
    * A. Q  G4 Q7 m
  83. ; development version only in development environments, as errors shown to
    " L) W/ q) S) i, }  [2 G6 M
  84. ; application users can inadvertently leak otherwise secure information.
    : }6 h  y  C' C. n

  85. , x7 N6 z1 u; K+ ~+ }/ J3 a; j
  86. ; This is php.ini-production INI file.' ?, A! V6 u0 `" b1 t
  87. $ m8 H4 r9 M/ @( t1 J
  88. ;;;;;;;;;;;;;;;;;;;) ]. j# h2 P! `: ], V. M0 p
  89. ; Quick Reference ;8 T. s$ v8 m9 u3 ?! f2 R9 V
  90. ;;;;;;;;;;;;;;;;;;;6 }& \! j$ T/ u- S
  91. ; The following are all the settings which are different in either the production
    1 A  m( G  g' G; ?  h( y& t( z  Y
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    , t+ |* P/ _9 @6 p
  93. ; Please see the actual settings later in the document for more details as to why4 q- P* S+ f. H% ?1 J6 A
  94. ; we recommend these changes in PHP's behavior.
    + D8 |9 S" S: G7 L
  95. # d, c6 u8 `. X1 s8 J2 ]* y8 {. u
  96. ; display_errors
    ! X) q* q9 @: _; _' B
  97. ;   Default Value: On
    9 F; g' t5 `0 \: D
  98. ;   Development Value: On
    * ?0 w7 H8 Y7 _# X9 h2 o) ?6 _
  99. ;   Production Value: Off: G; U6 h, x% A

  100. 7 }* r+ v( D% I( f& F4 b& P) v
  101. ; display_startup_errors
    # O/ Q, K: k. [+ V
  102. ;   Default Value: Off% v  [$ e+ a& s2 O$ t) I! M0 b  g
  103. ;   Development Value: On; ^& `6 s0 ~- ~9 b# _; x
  104. ;   Production Value: Off7 F4 Z9 U9 `9 Z
  105. ) j# _- E& v9 W. @% O- v
  106. ; error_reporting" ?# V) b/ c% N( V' P* t' N
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    " D3 a- K' a1 i* _* q
  108. ;   Development Value: E_ALL5 u# g5 }6 x0 v( X, P* m3 c/ g' A
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    6 j( H& M: W; v) d! A% W* w/ u

  110. 4 w! {; s5 l) y) k+ w4 h; d% J
  111. ; html_errors* ?/ l; p, E- J' Y
  112. ;   Default Value: On
    * S, A$ E. ^3 G0 L+ _, n$ z8 e
  113. ;   Development Value: On
    & E! ^5 f& x2 y8 H' P
  114. ;   Production value: On
    # v, T+ n& x/ n
  115. + j( n2 m/ q8 f% x5 a# Z- b
  116. ; log_errors
    7 U" `8 ?. u1 D6 i
  117. ;   Default Value: Off( l2 Q$ D" r) J( d$ B, C9 u  j
  118. ;   Development Value: On
    : H$ n' y; q1 k; B; O
  119. ;   Production Value: On* K( F' `% v# i+ \* i
  120. . p$ X# b0 A& t  ^" V$ k: w" [2 ~
  121. ; max_input_time9 U! a, p0 L2 R. i9 O3 Z& x' x1 _
  122. ;   Default Value: -1 (Unlimited)
    ( D. B$ A" n3 H  D1 o, E9 q( v
  123. ;   Development Value: 60 (60 seconds)) f% n" @  i. u; H# a3 l
  124. ;   Production Value: 60 (60 seconds)
    : _3 w1 n8 I- R6 W

  125. ; \$ g/ L4 P2 o0 t$ z. T& j4 p0 n' B% G
  126. ; output_buffering
    ! X% P9 Z7 ]: v/ U
  127. ;   Default Value: Off
    " Z- A9 l7 H9 ^
  128. ;   Development Value: 4096
    * T' o7 u2 b3 H/ T$ m3 B
  129. ;   Production Value: 4096
    7 C/ |- }: a/ N6 }$ }: [# U2 R
  130. * p" h' H2 J4 T, j, {5 K
  131. ; register_argc_argv$ Q& a! }7 l) ]* u+ c- P4 W2 \! ~
  132. ;   Default Value: On
    5 N4 G: r/ v, l
  133. ;   Development Value: Off- @" u7 T( U) ]* {
  134. ;   Production Value: Off# w- d* X# Z* M0 f# s1 l0 `; ^/ f
  135. 6 ~' ^4 ^- F2 G7 L) {) |
  136. ; request_order1 K5 n) W! U( K* }; P+ n$ m
  137. ;   Default Value: None( V5 X* y/ c( r
  138. ;   Development Value: "GP"1 x0 P' E  ~5 V
  139. ;   Production Value: "GP"" w6 W  S7 X! r. ~
  140. 7 }( b8 r. F8 _3 b0 J  q
  141. ; session.gc_divisor: i5 b0 k2 F* j
  142. ;   Default Value: 100
    , S, g. r  P' f& w
  143. ;   Development Value: 10002 t' J6 v* B! G
  144. ;   Production Value: 1000
      b% x( W! K" r6 m( z/ E
  145. 4 a* v# s4 w# s7 [7 L8 o
  146. ; session.hash_bits_per_character3 B: T) k2 G! X1 H0 K! k6 [
  147. ;   Default Value: 4* M/ n3 ^5 p  F" A4 U
  148. ;   Development Value: 5) p% W$ X7 ^, Y* c2 w+ V
  149. ;   Production Value: 5  S% L1 n8 R1 ]. K
  150. " y0 M' A, l( X9 Y
  151. ; short_open_tag
    8 a" j" G8 T+ D. V( B* I
  152. ;   Default Value: On
    9 L7 [, l& e8 @4 D& }' V! ]
  153. ;   Development Value: Off5 M3 t; z# `# j1 t- v
  154. ;   Production Value: Off+ Y6 f' w0 W* x( n9 |) B

  155. 3 z$ j% |! I9 N  s0 W% `* I
  156. ; track_errors7 x( r; v) Q. Y: ]+ |
  157. ;   Default Value: Off
    & U) ?; p9 R$ Z3 H
  158. ;   Development Value: On) d" p, Z9 Z! V% r2 o' J, k
  159. ;   Production Value: Off" T* M: t" M7 `! ?; D

  160. " y- v/ w2 Y! o4 T# ?
  161. ; url_rewriter.tags
    3 G+ h: C- q' H6 e
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ) f& c. b- ?1 x# k! ?, B& Y
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% j, _) n! V; E3 f
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ O: o( s$ B+ `
  165. # \$ M& N, U; o# z4 q! x$ w6 g  A, V
  166. ; variables_order& Y; V  U+ x! _+ H7 X* M
  167. ;   Default Value: "EGPCS"0 w% D0 z5 z+ r- P; ~. R% U
  168. ;   Development Value: "GPCS". b4 I8 Y* L+ w& Y) j" D8 I- N; m9 y
  169. ;   Production Value: "GPCS"; H5 }7 x% K  ]) s" g6 q6 V

  170. ' q4 Q4 I; i' P5 a: b* I+ G- y8 T
  171. ;;;;;;;;;;;;;;;;;;;;& I2 X$ b- p( \3 \& Q. z
  172. ; php.ini Options  ;
    * A6 Y" o4 A% n0 C2 I
  173. ;;;;;;;;;;;;;;;;;;;;" t/ W1 ^8 d6 ~- m6 r4 V
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    + N- @) q2 }4 e: ]; Q! N5 f
  175. ;user_ini.filename = ".user.ini"
    6 A! f; v: I& H8 A$ r8 Z' c

  176. * e+ `" o2 S! h! \- l8 }( W
  177. ; To disable this feature set this option to empty value
    , g* t$ |8 J# ?4 Y6 W
  178. ;user_ini.filename =( e" ]4 a; M* ^

  179. # {- T9 z# z3 r
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    3 H- n1 L3 c. R3 H6 g( m/ L: ^
  181. ;user_ini.cache_ttl = 300- y6 P  w* J  G" X9 K3 d

  182. 8 }5 Y8 Z4 W( q( ~1 \9 R
  183. ;;;;;;;;;;;;;;;;;;;;; N, n9 I; F; D3 D9 s* v. P4 ]
  184. ; Language Options ;
    - G3 @; h3 f5 c: r" j
  185. ;;;;;;;;;;;;;;;;;;;;8 e- w& `, C4 O7 m6 ?. T6 |2 X7 I
  186. + S% @9 z7 Q- @1 R; G, e* J$ z
  187. ; Enable the PHP scripting language engine under Apache." y  B. M- O4 b0 S
  188. ; http://php.net/engine. p+ V" h" ^# a9 s; l/ L, B
  189. engine = On4 A8 e1 L, N5 K2 r

  190. - I* L7 A8 @& ]# u3 f% ]; j' I" O7 E/ {4 \
  191. ; This directive determines whether or not PHP will recognize code between
    % z% @# _* e" e8 s3 b- G, P3 `
  192. ; <? and ?> tags as PHP source which should be processed as such. It is5 j! z" Q, |  C0 o
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ) \/ m, X/ W/ D+ g% _  m
  194. ; should be disabled, as enabling it may result in issues when generating XML
    4 Y) l1 k# T. D+ ]- f
  195. ; documents, however this remains supported for backward compatibility reasons.! D( Y8 s* t4 }4 T9 V& `& e
  196. ; Note that this directive does not control the <?= shorthand tag, which can be0 y( P3 |( y. g: I& A# d
  197. ; used regardless of this directive.# U0 E9 e+ a5 Q% x0 g  L) Z' a
  198. ; Default Value: On; H' V7 b# o% P, V  k
  199. ; Development Value: Off' e3 Z9 `( r9 x- a* R
  200. ; Production Value: Off
    ' ?) ]- G7 J8 |1 v) I" Z0 T
  201. ; http://php.net/short-open-tag
    ( d5 U$ {  K% S
  202. short_open_tag = On( C4 @" t8 |5 J. b: r
  203. , `2 ^, k5 i7 ]$ s: R: R- X
  204. ; The number of significant digits displayed in floating point numbers.
    0 u) [& A8 O5 k- c6 X9 L
  205. ; http://php.net/precision/ ], y8 |4 {  P% R- J' ~
  206. precision = 14
    6 g! m( V$ @8 f8 M
  207. 1 w8 w& ^+ b8 J. S% ]+ O* f
  208. ; Output buffering is a mechanism for controlling how much output data8 R9 }, h3 [$ M& H9 w
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that& ?1 ^6 x- t) l7 ~3 v* \
  210. ; data to the client. If your application's output exceeds this setting, PHP
    , D! Q2 ]6 Z2 H' n; k- E# k/ u
  211. ; will send that data in chunks of roughly the size you specify.
    ; Q/ |3 g- H# [( o( v7 o
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    : |: l2 R" K+ i: L7 M3 O
  213. ; interesting side-effects depending on your application and web server.
    3 x& n8 @2 U0 q3 k. l2 O9 b" V! i; Y. u
  214. ; You may be able to send headers and cookies after you've already sent output( @: m8 X( \+ `& p; L! o
  215. ; through print or echo. You also may see performance benefits if your server is
    ( b: U; [  I; w: T) Q1 {
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    & h1 J; F! ]& U7 N1 q4 l
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    , a0 R6 ~- m& x- A, X
  218. ; reasons.. V, t$ y1 [. ?7 x+ f& n2 s( i6 E
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ( O3 J( V0 V) X  z/ d4 _# ^
  220. ;   functions.
    & L2 U0 S+ d8 H
  221. ; Possible Values:
    & w. [% ^* W' \
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    7 ~7 Q5 c1 m6 j6 H
  223. ;   Off = Disabled$ y3 M( Y& E- b, a( S  ]" S% ?8 f
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    $ x( j# w6 b9 r5 K- N- @3 y
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI& H3 G* h& [7 N
  226. ; Default Value: Off
    % K- Z7 W2 B& H, z& n
  227. ; Development Value: 4096( ?- K  D; X  N3 ^7 \3 L% z: y
  228. ; Production Value: 4096& v& O1 ^4 j- B( F3 D) a, y( L3 h
  229. ; http://php.net/output-buffering
    " `' e- K! r4 P7 E" A/ C+ z
  230. output_buffering = 4096* B- g6 c) L* E
  231. ' ~% u3 ~2 D6 o! z- v
  232. ; You can redirect all of the output of your scripts to a function.  For
    3 E1 Y# _$ h, X) Y* U: Z' ?4 Q- a
  233. ; example, if you set output_handler to "mb_output_handler", character2 K5 N$ {/ Z! A( s4 T7 e0 [, I
  234. ; encoding will be transparently converted to the specified encoding.
    4 O5 z# M% Q# z+ y, R9 u1 Q
  235. ; Setting any output handler automatically turns on output buffering.8 H& Y! _( T+ f6 P$ @" D
  236. ; Note: People who wrote portable scripts should not depend on this ini8 V8 N) |- U$ ]4 p
  237. ;   directive. Instead, explicitly set the output handler using ob_start().4 f+ V! e, ?2 P  z
  238. ;   Using this ini directive may cause problems unless you know what script# H) H( r) [) q1 F/ K. f+ }- m
  239. ;   is doing.
    ( G& _4 x. |$ o7 p5 o0 c
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"; K* \. o, `0 Z; c8 S" G" k
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ) M& s; N' d" O: M4 A
  242. ; Note: output_handler must be empty if this is set 'On' !!!!1 [1 D1 R5 G/ Y; R' ]/ Y0 A
  243. ;   Instead you must use zlib.output_handler." n' E6 W2 q6 h( K% Y/ [8 g
  244. ; http://php.net/output-handler1 Y& ^1 N8 {8 ?3 W
  245. ;output_handler =
    . d  |& q6 v( k" t4 n* J; p

  246. # c/ K. X! K# p
  247. ; Transparent output compression using the zlib library& ]7 M& L8 h) n+ \$ O
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    - G% k! L( s. l; x
  249. ; to be used for compression (default is 4KB)$ f/ R& c5 D2 M& [9 @7 n
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ; A1 Q$ \. k9 A9 X1 {# J
  251. ;   outputs chunks that are few hundreds bytes each as a result of2 J. p: X8 v/ X. U7 x2 k
  252. ;   compression. If you prefer a larger chunk size for better/ R! D# J$ }! U! p6 j5 f
  253. ;   performance, enable output_buffering in addition.' B7 X' K5 I$ S9 B- M3 d
  254. ; Note: You need to use zlib.output_handler instead of the standard8 y6 D! ?6 w1 R) Z% m5 b) {
  255. ;   output_handler, or otherwise the output will be corrupted.* @4 U7 C  {) z3 D( n
  256. ; http://php.net/zlib.output-compression6 o0 d: b! J  |( E1 N
  257. zlib.output_compression = Off
    - A( S  c6 U" p2 |- @2 i2 V

  258.   s/ [) j" ~0 n* q; h8 ^- P2 W, ^' f
  259. ; http://php.net/zlib.output-compression-level
    ' _' C4 D, }! s' V4 h
  260. ;zlib.output_compression_level = -1+ ^' ]: l! _' b& F* f

  261. ( {. I* S. Z8 l7 ^! p" q# z
  262. ; You cannot specify additional output handlers if zlib.output_compression: i0 D  A7 H5 |0 {4 a" O
  263. ; is activated here. This setting does the same as output_handler but in
    " i& O/ d5 C6 _7 N" D
  264. ; a different order.0 U2 q+ l4 N1 j6 N; o  H
  265. ; http://php.net/zlib.output-handler) r# m/ Q3 ^. N9 L& P  y/ v
  266. ;zlib.output_handler =
    $ v- w& l/ f$ K# w9 W

  267. & {2 h+ H5 ^4 I$ O* N' o! P
  268. ; Implicit flush tells PHP to tell the output layer to flush itself+ P- G# R/ m. b' Q  f, f. ~8 p
  269. ; automatically after every output block.  This is equivalent to calling the
    - H0 I( V- I% M* k' _4 Y+ g
  270. ; PHP function flush() after each and every call to print() or echo() and each! T: n3 P4 @. S$ |' z
  271. ; and every HTML block.  Turning this option on has serious performance
    2 ]) f% l: V3 Q! D+ I  s3 F
  272. ; implications and is generally recommended for debugging purposes only.
    + Z$ Z. W! P( ^" Y+ ~* @
  273. ; http://php.net/implicit-flush& H; u2 a& q# b* k( J  p
  274. ; Note: This directive is hardcoded to On for the CLI SAPI! ~, k! a2 u( z5 ~
  275. implicit_flush = Off
    ' f, O- p: d$ ^' S2 m/ H. P. i. r: i

  276. * r; e0 {( Y4 R7 X+ \) h
  277. ; The unserialize callback function will be called (with the undefined class'9 r& n# k2 k* f: V1 _4 g
  278. ; name as parameter), if the unserializer finds an undefined class. d8 g' h. p' Z/ n% I
  279. ; which should be instantiated. A warning appears if the specified function is
    ) O5 q6 ]; X, d' v( m- Q, J* z
  280. ; not defined, or if the function doesn't include/implement the missing class.
    8 V0 j0 I, y1 x- _0 x  r
  281. ; So only set this entry, if you really want to implement such a
    1 F  _2 _- }" U: w3 d
  282. ; callback-function.# W/ @6 n4 g! [3 E
  283. unserialize_callback_func =
    ; i- _! ^( ?+ y  w8 `+ R9 ^

  284. $ y  B7 t4 {9 Q5 O$ c3 T
  285. ; When floats & doubles are serialized store serialize_precision significant1 L9 N% ?: @6 v2 z$ P: [2 B( K! b
  286. ; digits after the floating point. The default value ensures that when floats
    , K% w9 I2 G- S* F2 f. h0 h
  287. ; are decoded with unserialize, the data will remain the same., g- k; i8 V( R0 @$ ?
  288. serialize_precision = 17
    4 \+ p1 J! S1 e. Z% I' W. Z
  289. 0 _2 E& g& ~7 Y5 ~0 T
  290. ; open_basedir, if set, limits all file operations to the defined directory  B: b$ M8 \4 a0 l9 J; w6 K; e
  291. ; and below.  This directive makes most sense if used in a per-directory( g* O1 b% e6 ^3 ^
  292. ; or per-virtualhost web server configuration file.
    3 L6 N2 M2 g5 H2 {  j
  293. ; http://php.net/open-basedir9 e* H8 X) V/ o, g: }, N. x
  294. ;open_basedir =
    & r: L1 m9 h1 ~4 z& ^

  295. ( }/ _4 [# |. @5 ?
  296. ; This directive allows you to disable certain functions for security reasons.4 h8 s, C! ~! u
  297. ; It receives a comma-delimited list of function names.
    2 M; j7 H; _" E9 h) |3 Y) }$ f0 t
  298. ; http://php.net/disable-functions" `* B& h+ @7 E
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    7 N- H4 U9 P! E- B
  300. ; U1 P& A% j! T  {
  301. ; This directive allows you to disable certain classes for security reasons.& W4 V9 t8 U& c/ R% S9 |* ?* H
  302. ; It receives a comma-delimited list of class names." x' O% G" P- J9 D' r3 l
  303. ; http://php.net/disable-classes: y3 I8 L) X2 k' I
  304. disable_classes =7 i) p: \5 [; ~9 S2 ?

  305. + {0 U# E+ u% C1 d5 v
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    $ M4 x0 K6 C: U7 Q6 J, _
  307. ; <span style="color: ???????"> would work.
    + [9 J& V# X. w. O4 v% s* \
  308. ; http://php.net/syntax-highlighting5 ^# {# H  N- a
  309. ;highlight.string  = #DD00008 F. h- W' J, r* J% `+ r
  310. ;highlight.comment = #FF9900  F- X+ E+ F3 ?; n0 R0 S
  311. ;highlight.keyword = #007700/ s, j  I+ Z6 f* g8 f. D) V) V
  312. ;highlight.default = #0000BB
    , D7 A; A$ B% a* {1 R7 S" \
  313. ;highlight.html    = #000000
    & F; K' n: `" u: P/ p4 y

  314. 4 b+ k* \6 n# l) D! o' a6 ~2 H. m" h0 ~
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    6 o% c3 M* [2 M/ l. g
  316. ; the request. Consider enabling it if executing long requests, which may end up( r0 n5 [* c! m1 K; T' ^
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior+ x, b9 F2 Z, B+ N  R- b, O# I. h
  318. ; is to disable this feature.
    ! S; k7 X) p9 `! J- u
  319. ; http://php.net/ignore-user-abort* K1 W; q* p  P1 ]4 \
  320. ;ignore_user_abort = On
    7 g6 q  N! `2 Y; A, l8 F3 `9 g# v: Q
  321. 1 h6 Q1 l# V9 q5 w; s  @
  322. ; Determines the size of the realpath cache to be used by PHP. This value should. o, m2 |$ L& ^% \/ Q, j* `
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    + y2 y- g: {% g
  324. ; the file operations performed." R. x( W" n; k8 v2 w
  325. ; http://php.net/realpath-cache-size! h' H5 \: l- M2 C
  326. ;realpath_cache_size = 4096k
    9 ]  A; \! m% l, U

  327. - c8 p' }- E) t5 O" y2 ~/ u5 w
  328. ; Duration of time, in seconds for which to cache realpath information for a given0 J5 G! j' z  ^7 U% e2 D
  329. ; file or directory. For systems with rarely changing files, consider increasing this9 Z% ]$ k* a& F
  330. ; value.+ O' l9 {. @2 ^/ v4 A
  331. ; http://php.net/realpath-cache-ttl
    . G5 l6 ?* b9 S! G/ y0 z
  332. ;realpath_cache_ttl = 120
    2 p; w5 C  {  s$ X* G! E
  333. / Z& q$ F. Q2 y$ v2 ~/ g
  334. ; Enables or disables the circular reference collector.
    2 K1 m! y! x8 B2 y3 C1 j
  335. ; http://php.net/zend.enable-gc& ^; F9 t3 R5 ]9 K$ R3 O. z
  336. zend.enable_gc = On
    2 D5 d# `# G& D' {0 e  w

  337. + _% Q& c5 N8 Z; z+ U' \: N' v
  338. ; If enabled, scripts may be written in encodings that are incompatible with  F& L4 S: m' S
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ; u" l5 l! u; F& ?0 }
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ) n8 V% F  _. M; E
  341. ; Default: Off
    6 m" f4 t2 D! F
  342. ;zend.multibyte = Off% S6 p$ p6 `+ V4 B
  343. 3 k8 P2 g, \, i6 l
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    $ ^5 e! Q7 {+ C# l' G
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    1 l) q3 y) J# D
  346. ; Only affects if zend.multibyte is set.
    * M& l+ y( o1 ~& P
  347. ; Default: ""
    ! ^& y1 j, o( w6 ]
  348. ;zend.script_encoding =
    8 Y. t) |3 D3 [* R: ?, W7 r

  349. 3 L. ~$ \# X# `. Y: A8 s
  350. ;;;;;;;;;;;;;;;;;
    0 g. @( V$ o" r
  351. ; Miscellaneous ;
    ' Q' \3 k1 X- W' x) W- u
  352. ;;;;;;;;;;;;;;;;;
    6 \5 |: v6 `0 l- R; d

  353. $ R6 Y& }2 D. E! }3 _- Q! D
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    # G' P& ^& L1 o; n
  355. ; (e.g. by adding its signature to the Web server header).  It is no security. v% u4 d9 `8 q: ?
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    3 _7 c( b5 Z' h1 \2 M2 [) {
  357. ; on your server or not.
    0 |+ Z+ {. H. A, U& L
  358. ; http://php.net/expose-php
    * o) J& h0 _; {/ t# E* v
  359. expose_php = On
    ( V" r) ]# E# A" o
  360. % h: B; D& N5 g( E1 r7 ?$ U
  361. ;;;;;;;;;;;;;;;;;;;
    3 n, G4 ]! p4 Q$ v  I& t' b; c
  362. ; Resource Limits ;0 Y2 v. \/ E) C: D: U5 R- s7 ~
  363. ;;;;;;;;;;;;;;;;;;;& j; {9 |3 Q6 k' I. i
  364. 6 J6 m/ v# ?2 v: J: A3 C+ _1 k
  365. ; Maximum execution time of each script, in seconds& P' T9 c* ^. x5 U' U; M
  366. ; http://php.net/max-execution-time
    3 J4 q, P4 G/ u: _0 c3 e
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    8 D) _9 ^' Z: X6 d
  368. max_execution_time = 300
    $ |: A* b0 Z' L0 _% L2 E+ T& u
  369. $ C  O% j* a; t& q
  370. ; Maximum amount of time each script may spend parsing request data. It's a good! J5 G, B& J5 n0 c, ]7 d  \2 `
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ' q& Z: h+ U1 n& q5 q0 d* H
  372. ; long running scripts.
    ' Q% H* [$ p( ?
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    9 a& k- h  y% o% g2 q5 f
  374. ; Default Value: -1 (Unlimited)+ [7 T8 y, f# ~" ~& l
  375. ; Development Value: 60 (60 seconds)
    + U" _% ?* v9 Z/ k5 i' W8 A
  376. ; Production Value: 60 (60 seconds)
    * C! j: {" g# l) z' L8 x; r$ B+ ]
  377. ; http://php.net/max-input-time7 s! H2 n6 U" o
  378. max_input_time = 609 J; ]4 q0 M2 O. N) N' W

  379. 0 R0 M3 a8 I  r! k. ?$ l
  380. ; Maximum input variable nesting level' V/ e! W. Q" s" L: r
  381. ; http://php.net/max-input-nesting-level6 M, {9 o( v, R+ z2 M4 V3 ^
  382. ;max_input_nesting_level = 64# @6 N3 W6 [6 _* u% Q

  383. : T4 r  K, E; q) m$ S3 L( Y+ T/ [
  384. ; How many GET/POST/COOKIE input variables may be accepted+ c1 f) l3 p$ {  E9 ]5 M
  385. ; max_input_vars = 1000
    # K' W' Q% \$ G' J5 T

  386. ; X" h! O3 D: V: C, X2 E
  387. ; Maximum amount of memory a script may consume (128MB). N. n% d: k7 u8 Y  h/ k% W' n
  388. ; http://php.net/memory-limit+ X$ U9 H: o6 j, A: V! g
  389. memory_limit = 128M' A% V) p  V7 S( G- r7 \; s

  390. 0 g  W+ r; @4 N* J% h$ V
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      P$ R; I2 @( L) x0 U
  392. ; Error handling and logging ;0 y8 h( }# v) n+ e8 p9 I* {
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , I1 s* p9 W: G7 f0 C) Z; ^

  394. 3 q/ d! j# _& W2 @
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    3 q* ]  w# A9 p5 x; a- t6 R
  396. ; it to take action for. The recommended way of setting values for this' F  M' J: R: b! T0 n) A
  397. ; directive is through the use of the error level constants and bitwise
    . O$ N7 ?. @% ~6 ], q4 `
  398. ; operators. The error level constants are below here for convenience as well as& U( s( c* l! l5 B1 s
  399. ; some common settings and their meanings.
    1 l. _' O4 X, t) a* w6 {6 n4 }
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT* s+ T- |" o- ]* n/ [+ y
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    0 F: v% e1 |% o" M
  402. ; recommended coding standards in PHP. For performance reasons, this is the- f- |0 {' J; O, `* N
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    $ \& ^; e; Q- t& R
  404. ; resources complaining about best practices and coding standards. That's what
    0 I4 @, D/ A. z  q/ J
  405. ; development servers and development settings are for.' X! j# c, @0 \: z1 v/ x* f/ d) X
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    + w) t4 i2 v' }9 S; r. n
  407. ; means it pretty much reports everything which is exactly what you want during" f2 _* v$ V& I) R. L5 k  v: u8 y
  408. ; development and early testing.
    " [& M. H) k9 a* U8 K. a% e7 H
  409. ;
    1 O5 w. T3 O* [% d  M1 b; A6 `1 ~
  410. ; Error Level Constants:; b5 [9 K6 H8 d1 v7 A
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)( L2 ]2 D9 o9 ?. A8 d+ F3 B  Z
  412. ; E_ERROR           - fatal run-time errors
    : ]  @8 e2 w0 K- s/ ^8 E( B1 d8 t
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    % V7 u3 p8 v- G/ d0 B5 a# L
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    ) \5 q. F6 j) z
  415. ; E_PARSE           - compile-time parse errors
    # d7 P  b. \& _9 c9 A
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    7 }) i1 ~" B. [& n+ i5 M$ q
  417. ;                     from a bug in your code, but it's possible that it was* u& F  U# G: T& F
  418. ;                     intentional (e.g., using an uninitialized variable and
    / E! K; Z. \; w& R' Y3 V
  419. ;                     relying on the fact it is automatically initialized to an
    7 Z# n. y/ f& U
  420. ;                     empty string)
    * j, G$ p3 X: u0 k* y) r
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    0 [' T/ X9 Y& ^9 W3 x
  422. ;                     to your code which will ensure the best interoperability
    $ M8 b# r+ b( a3 ?* }5 Q
  423. ;                     and forward compatibility of your code
    8 j  x6 j/ O' y# u* S4 z9 }
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup5 |& H, U6 {" O4 B- V- O
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    " m9 N2 v, f- y! l( l- L' j
  426. ;                     initial startup
      e0 {! q6 V8 m
  427. ; E_COMPILE_ERROR   - fatal compile-time errors4 D8 d8 E2 v3 E: ~
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    4 o1 `' X: Z7 M( k0 {$ D5 @
  429. ; E_USER_ERROR      - user-generated error message+ z3 ~9 Y# `4 s' {5 v! g* W
  430. ; E_USER_WARNING    - user-generated warning message( _' ?# A0 S% y$ z& O
  431. ; E_USER_NOTICE     - user-generated notice message
    * o$ I# @4 E7 Q5 o) t
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    # X: G7 ]5 O- u+ Q1 |# p' l" L0 `
  433. ;                     of PHP
    4 [9 ]0 r) x: v5 @' K6 C6 B4 ]
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    6 L# h4 r- e6 c7 P7 B! X
  435. ;
    2 Q: _5 h0 u& V  `- a3 r* @
  436. ; Common Values:2 m/ s  e* U" w2 H
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)  P: G. }) F/ j  C* Z  C% h
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    " O* @; u1 w" f, W6 _/ Q( }
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    , U( [' W! {% X& T
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)* p! O8 {( E$ }7 }' a9 P
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED+ D/ N% |; e- t7 a- b
  442. ; Development Value: E_ALL
    : G) @5 x4 f* x
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT! w* }  `( w+ ?5 y% f
  444. ; http://php.net/error-reporting5 b. f2 w5 A6 R: E$ v! J" M+ v
  445. error_reporting = E_ALL & ~E_NOTICE
    6 Z: O% Z6 \( _4 @

  446. 1 S0 E- N+ g" W; X- c
  447. ; This directive controls whether or not and where PHP will output errors,
    8 k. l  z3 S4 u8 Y
  448. ; notices and warnings too. Error output is very useful during development, but
    5 g  Z% V7 N8 q% x1 f
  449. ; it could be very dangerous in production environments. Depending on the code+ A( j: l( e6 m, Z) p
  450. ; which is triggering the error, sensitive information could potentially leak
    6 Z6 R; G# n5 d7 U8 @* c3 d
  451. ; out of your application such as database usernames and passwords or worse.
    ; ]6 M0 p2 M+ V( y) K) F
  452. ; For production environments, we recommend logging errors rather than9 p+ t& {0 T  d; }8 h% B
  453. ; sending them to STDOUT.
    8 x8 r3 {7 p9 s$ ?
  454. ; Possible Values:& H6 U5 d" z( m* e- t- M
  455. ;   Off = Do not display any errors$ A4 {5 m. c7 D' {. L1 h2 J! b, G
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!); K( x3 L6 h) d$ @- Z$ o
  457. ;   On or stdout = Display errors to STDOUT- _- M5 q2 b# Z2 G8 g# _- w+ O
  458. ; Default Value: On9 w1 K+ a0 ~9 |: b6 Q6 o8 \
  459. ; Development Value: On
    + k- ^1 u9 z' X0 p) N
  460. ; Production Value: Off
    : i; G4 i2 e$ I6 y6 _
  461. ; http://php.net/display-errors
    3 Q4 K1 T6 e( F" w# ?* u5 D- X
  462. display_errors = On
    # [0 e- }$ ^" F+ J' z: V
  463. ) J$ m* ]4 n1 `% `
  464. ; The display of errors which occur during PHP's startup sequence are handled
    ' ~. J  K# h' X0 `$ M. t2 B: e: Y
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    5 m# |+ X. ]: U* @+ d5 }; R1 V
  466. ; errors from clients. Turning the display of startup errors on can be useful in5 \$ b' V  j" a
  467. ; debugging configuration problems. We strongly recommend you* q' \" l! S$ a2 E+ D& k
  468. ; set this to 'off' for production servers.2 U# T1 U3 r* }3 E: D2 U# @
  469. ; Default Value: Off
    7 N" O; P* C1 l* e2 h1 z
  470. ; Development Value: On3 u& s4 [$ v2 l1 V' }
  471. ; Production Value: Off. Z* E7 L1 d) \9 I$ m: l3 B; z! K0 s
  472. ; http://php.net/display-startup-errors
    " g/ m( g' E$ F  T: J
  473. display_startup_errors = Off
    7 {4 l6 g5 c4 N9 S1 ~

  474. * c0 ~% A+ P' u+ v, r7 {- a
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ; {. z5 O6 ?7 ^) f! c5 K  J
  476. ; server-specific log, STDERR, or a location specified by the error_log. R* b- b8 g! D7 x& @6 w1 u3 B
  477. ; directive found below. While errors should not be displayed on productions
    3 _" a5 h& a; I6 Y  m
  478. ; servers they should still be monitored and logging is a great way to do that.
    / p: H9 o$ \0 p! F4 R
  479. ; Default Value: Off5 Z7 X) G& E+ \6 x% S
  480. ; Development Value: On
    # E) M: B1 f0 x. \1 I1 u
  481. ; Production Value: On
    & c$ @6 i7 H' J
  482. ; http://php.net/log-errors
    0 b9 O" i# I: b- K' [
  483. log_errors = On; R0 s/ b9 K  y9 G( S# W$ E- K
  484. % T  m+ m6 S0 T+ }# k0 u* X" Y
  485. ; Set maximum length of log_errors. In error_log information about the source is
    8 H( w! q2 z9 C! [: u- Z% j  h
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    8 q) I+ P  V6 g& q9 d( a3 w% |
  487. ; http://php.net/log-errors-max-len
    3 l* s! `4 q+ N" F
  488. log_errors_max_len = 1024
    8 I& X* S: Q4 [# `& D6 u! _+ O( U" N
  489.   k1 n# Y7 ]' }( S4 K4 }% l4 U
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same9 I3 p" W) k5 H7 C
  491. ; line unless ignore_repeated_source is set true.
    5 w& r8 {) ?& z1 E3 b' F! V1 c! P
  492. ; http://php.net/ignore-repeated-errors  i0 R+ u  {. {) J
  493. ignore_repeated_errors = Off& b5 g1 G; L: P: s3 v
  494. / F) U: y# y3 A
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ( @' E2 n, L4 x" Q* q' c7 v
  496. ; is On you will not log errors with repeated messages from different files or/ }  |' o3 C- b6 h; v7 c& \
  497. ; source lines.7 k; q% _7 o/ M* b
  498. ; http://php.net/ignore-repeated-source
    ( F2 ^3 K& Z1 M/ _, |" ~/ {
  499. ignore_repeated_source = Off3 `: ?! |( n" w: {9 [

  500. / D2 W; h3 W( v, y" A' Q( f$ Z2 j
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on1 @$ O: X0 e. D
  502. ; stdout or in the log). This has only effect in a debug compile, and if; l, o0 X- Q1 w$ `! g; Z0 c) |
  503. ; error reporting includes E_WARNING in the allowed list
    , g6 O0 O) I4 p, k0 H
  504. ; http://php.net/report-memleaks
    - D9 h) k/ ^% V0 W5 e' H- Y
  505. report_memleaks = On& k# T! m1 P/ ]0 l, e6 P' `
  506. $ G/ k* T# l/ q! U, {
  507. ; This setting is on by default.
    / n4 c5 I% D  p2 f! z' O
  508. ;report_zend_debug = 0
    8 y! z# x( \: ?8 i. P" h- C7 f9 K

  509. % k- U, q0 b3 }& z
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    $ N8 J, w& Q: n- Z; `
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    + C7 h+ P/ T- o2 u0 |
  512. ; however be disabled on production servers.
    & E2 S8 o6 F0 }4 ]' A6 Y2 d: g
  513. ; Default Value: Off/ `. Y. f3 S& u; J6 v
  514. ; Development Value: On
    . e% W6 e* s2 M8 B$ |
  515. ; Production Value: Off
    4 K; P# O( Z+ {! v4 f1 m; E
  516. ; http://php.net/track-errors9 W; y4 q/ j3 F: Y& R  |
  517. track_errors = Off
    8 w: l1 E/ X8 O' s

  518. ! s+ I% v2 Z' |% S+ {
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ( K4 e5 Z) d7 M  F0 W1 C: f( J# d3 H
  520. ; http://php.net/xmlrpc-errors
    0 o, ]& [7 o: J2 n: }
  521. ;xmlrpc_errors = 0
    . p# i  ?6 x* {; y  }6 m

  522. + k* k! K6 ^& P% X
  523. ; An XML-RPC faultCode
    8 i) I* C. V$ O" [1 u# |7 Z
  524. ;xmlrpc_error_number = 08 O) S9 c' }2 ?. z2 E4 d4 z1 d

  525. & b2 Z2 C6 @( {
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    / v0 V( u% o$ y
  527. ; error message as HTML for easier reading. This directive controls whether
    , V- r8 O- w: S
  528. ; the error message is formatted as HTML or not./ b% n5 h% z' Z- B1 p, ?
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    6 w  ~; S8 S  N, x, h9 D
  530. ; Default Value: On6 O9 J$ j6 |$ U6 a0 m, L
  531. ; Development Value: On
    " l1 u$ [4 L5 x- e* p& @, h
  532. ; Production value: On" @( Q/ p$ [1 b8 y
  533. ; http://php.net/html-errors7 c& h' M% I* X# i1 J5 p$ h
  534. html_errors = On0 O. t1 y8 V  s9 R( ?7 g
  535. / t) C1 S% P) O" G5 D$ e- l
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ! c* p  q6 ^& B6 J7 {1 J/ j0 C/ Z
  537. ; produces clickable error messages that direct to a page describing the error
    . u$ G* s- ], c4 \3 {) A3 A- w
  538. ; or function causing the error in detail.
    8 W7 P" [7 m2 |: \
  539. ; You can download a copy of the PHP manual from http://php.net/docs( m( U9 r2 P  J* z' H
  540. ; and change docref_root to the base URL of your local copy including the
    2 s" b, O/ x1 n. U- [
  541. ; leading '/'. You must also specify the file extension being used including$ |* `& ?3 ?3 g5 U
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    6 C5 x9 S6 t# e0 s; s
  543. ; case no links to documentation are generated.
    & Q9 n$ u: C$ \6 ^
  544. ; Note: Never use this feature for production boxes.. f3 A# n# [/ i8 L3 ~1 g9 W
  545. ; http://php.net/docref-root
    1 S5 l/ i& t- \7 \( r  T
  546. ; Examples$ v: V! m& s! L6 U
  547. ;docref_root = "/phpmanual/"
    0 @) ?! s: k& j
  548. & _7 ~& G5 E! e, m7 w
  549. ; http://php.net/docref-ext
    9 L9 T. G8 m  u6 C- _3 k
  550. ;docref_ext = .html, q% g& {+ j, B3 A

  551. 1 W4 V9 P  C% C! f; X9 }: \7 R6 g
  552. ; String to output before an error message. PHP's default behavior is to leave
    2 W+ d: h+ s# v( r+ q& e
  553. ; this setting blank., i4 a! `8 Z1 C  F$ Y
  554. ; http://php.net/error-prepend-string
    2 @+ v' J3 m1 _* ?. b
  555. ; Example:
    , K8 Y  M9 r' g7 c" Z
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    / j3 s: M5 F& i" x

  557. ' Y& m, b, M+ T9 V! N# t0 H
  558. ; String to output after an error message. PHP's default behavior is to leave
    : J1 q1 Q0 ]" t6 k: Z6 D
  559. ; this setting blank.3 ?2 w3 M/ h, t  s- w" C
  560. ; http://php.net/error-append-string, M& U/ {  _" x  z. |- \9 b# E
  561. ; Example:
    7 |7 y. K( J0 q7 ?
  562. ;error_append_string = "</span>"0 S* q$ W; f% k8 T8 o
  563. 7 s; U. h. T, M# E5 t8 u- B
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    # C3 z4 m1 ~+ V+ n1 v. d" b) G1 F
  565. ; empty.8 s3 W" P' L: L6 W. U; J
  566. ; http://php.net/error-log! j+ [# X" U* n  Z/ c# ]
  567. ; Example:
    0 w" m8 N3 n' Q
  568. ;error_log = php_errors.log* y  x+ j: R  Q/ P
  569. ; Log errors to syslog (Event Log on Windows).# x% A) M& y* ^
  570. ;error_log = syslog
    ' d7 l; `' }4 K

  571. 7 z+ Z% P+ i  V
  572. ;windows.show_crt_warning
    " t- L) f3 \: O% Z1 A
  573. ; Default value: 0
    / t6 v$ X1 w9 m" `# h4 r
  574. ; Development value: 04 |0 s4 S& y2 ~+ r
  575. ; Production value: 0
    5 g, f4 l, L! T/ n; ^& J6 V! H
  576. 2 p: H) Q5 [! d# N  A! U2 {
  577. ;;;;;;;;;;;;;;;;;
    ( k4 ~: ]  x( t4 ~: D- i- S
  578. ; Data Handling ;5 t3 E" u# t! O. C5 D# C4 i
  579. ;;;;;;;;;;;;;;;;;
    9 M8 Q' M" i, @
  580. ! u1 V7 M' A, M9 h
  581. ; The separator used in PHP generated URLs to separate arguments.
    5 m. r9 ]' k3 H  B% F7 D
  582. ; PHP's default setting is "&".
    / p( W; w) m* T6 _6 z$ r
  583. ; http://php.net/arg-separator.output$ S; V6 r& x: D0 e# u4 S
  584. ; Example:
    - s: e6 V: l- R1 T) o; f& C9 o
  585. ;arg_separator.output = "&"# L4 J3 K( y; @: T- G$ O
  586. 2 D- z4 w, [1 l# s- Z* M0 F
  587. ; List of separator(s) used by PHP to parse input URLs into variables.! Y8 p8 X4 v; O# C6 t5 ~" l) y
  588. ; PHP's default setting is "&".( L& ]2 p4 U7 G0 G. C
  589. ; NOTE: Every character in this directive is considered as separator!! H$ C$ X4 ?$ k& ]; A" R1 ]9 a
  590. ; http://php.net/arg-separator.input  U  L, m: M0 ?9 T* I
  591. ; Example:
    5 b) W( l6 E9 n0 g# d( X
  592. ;arg_separator.input = ";&"
    ; t4 T2 P) n8 U0 e% c7 k  R) ~
  593. 2 ~1 O, I0 B9 p1 X* E+ m
  594. ; This directive determines which super global arrays are registered when PHP
    " r, p' C5 N+ ~# s7 z# x
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super; [0 Y  b2 m* S- b: U
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    1 z/ ~, E0 u- U9 B  q/ Q6 M# N
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    $ y# y6 p7 y- h3 I3 q  k; K
  598. ; used as the others, ENV is not recommended on productions servers. You
    * ~: a& N# f$ n
  599. ; can still get access to the environment variables through getenv() should you
    1 ~5 h1 R- p! q( E0 h5 E  j' z
  600. ; need to.1 q* I$ t4 c  a* C) t6 y# k
  601. ; Default Value: "EGPCS"
    % y, l/ ~4 d! X- ]
  602. ; Development Value: "GPCS"
    3 e; i# T  o6 b) F% b2 I
  603. ; Production Value: "GPCS";" |" }- f- H9 X/ b0 ^4 b* F$ h7 {
  604. ; http://php.net/variables-order6 @( b# k7 |& p/ y) b
  605. variables_order = "GPCS"
    0 q0 o* b# v7 y5 M/ f! I* ?( i
  606. 2 J& g4 g0 a8 K, \
  607. ; This directive determines which super global data (G,P & C) should be
    / T/ b) z/ b7 x2 p" p
  608. ; registered into the super global array REQUEST. If so, it also determines' \2 ]/ A7 B! {/ E
  609. ; the order in which that data is registered. The values for this directive0 l: r+ ~% w4 [7 ?2 f9 l: m
  610. ; are specified in the same manner as the variables_order directive,6 o# Q4 s! R* Y! j5 a( u: q; A+ ^
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    8 j9 ~1 ^0 |! {6 m$ `* q
  612. ; in the variables_order directive. It does not mean it will leave the super+ a5 R; [1 ^% E- o) \
  613. ; globals array REQUEST empty.
    + F. Y4 h! m$ E$ ^
  614. ; Default Value: None
    5 O0 N4 y( L/ x7 V
  615. ; Development Value: "GP"; r& R; K6 Y0 I+ \
  616. ; Production Value: "GP"
    - G3 q* k3 B8 D4 y3 E" b
  617. ; http://php.net/request-order
    ) K% u0 O4 }, j8 f- c$ A- e! }6 |
  618. request_order = "GP"
    , Q4 Z4 ^' t% P$ ]* T" [5 @- h, T

  619. ( d. Q* y+ G7 N9 b  N9 E+ [  T, F
  620. ; This directive determines whether PHP registers $argv & $argc each time it; h' Y' _  f8 ~
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ! C& N6 n& R* C$ D/ i
  622. ; is invoked. $argc contains an integer representing the number of arguments
    % q9 C1 y, h, g6 b
  623. ; that were passed when the script was invoked. These arrays are extremely
    5 c# F) E9 Z; D; R# C5 H- z+ ?
  624. ; useful when running scripts from the command line. When this directive is* M3 D3 i8 Z$ `" k8 i
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    ' O& e2 _* b7 x3 o. [
  626. ; a script is executed. For performance reasons, this feature should be disabled2 j8 ]# z' ~! m$ B' u! H; u
  627. ; on production servers.
    # y0 {5 q6 f" o4 h
  628. ; Note: This directive is hardcoded to On for the CLI SAPI- y4 n" g+ \  O  H! p6 r' ?& _
  629. ; Default Value: On
    / w: l. U  y, g8 v) I* A9 B
  630. ; Development Value: Off. d- @/ _0 S% s' j- O
  631. ; Production Value: Off% E8 y% R1 J& c# G. Z' a
  632. ; http://php.net/register-argc-argv
    4 q. \% t5 o& [5 K: Q0 H# B/ \
  633. register_argc_argv = Off! [- s7 C# ]% S

  634. 4 K) e1 E# W( k! @% T8 \9 c/ b8 h
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ; L% J- ^( T, J
  636. ; first used (Just In Time) instead of when the script starts. If these
    6 D$ F1 ]1 x) j0 |7 R6 W
  637. ; variables are not used within a script, having this directive on will result/ _  J8 w; c' P1 O! {; N% K$ r
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled# d2 {8 P7 z% C  h
  639. ; for this directive to have any affect.5 s* P8 Z' \) _2 f) a1 r# i) o0 e, U
  640. ; http://php.net/auto-globals-jit
    ) }* B& p1 J( L% r
  641. auto_globals_jit = On
    ! L4 U; O6 V3 D% ?! d* J
  642. / J6 @9 w& \9 M) v3 V3 W9 r! e% x- M8 d
  643. ; Whether PHP will read the POST data.3 f1 k& S4 G8 }7 j1 y% S
  644. ; This option is enabled by default.
    & ?: P0 Q. C- ^% P3 f9 ]
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    7 j$ A* F2 ]+ R& L
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    / F; r$ L& ]" u
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    * c2 A: H% \! ]6 {5 X
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.& `* M' p$ j! ?) o# \# f
  649. ; http://php.net/enable-post-data-reading: ~" O1 M3 a: _5 j5 e8 T) o
  650. ;enable_post_data_reading = Off
    $ `, g+ y2 q  j% @1 y/ H
  651. ! u" z( p  G* j0 e3 z
  652. ; Maximum size of POST data that PHP will accept.
    8 [) q$ ~, X6 [) }, }  ^, \7 f
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading# V4 }+ k3 U  M  |; t
  654. ; is disabled through enable_post_data_reading.  L1 u" I# {, X1 l- y- @) t  B
  655. ; http://php.net/post-max-size0 q' p0 p# z# R) Y
  656. post_max_size = 50M/ _' q; Z7 Y- C, m

  657. $ F7 ^- D2 K4 ?) q, [5 V2 S/ h0 r
  658. ; Automatically add files before PHP document.7 `! b. R0 P  u, _
  659. ; http://php.net/auto-prepend-file
    : A+ _) B3 k7 H/ I; N2 k
  660. auto_prepend_file =$ n2 @, _5 I$ `/ x" M4 _" L! p: A
  661. . ?. \% B+ ]5 n8 m
  662. ; Automatically add files after PHP document.
    * b! S( z3 Y2 U2 Q: _0 w
  663. ; http://php.net/auto-append-file* J8 C4 m$ R4 {; `7 L  z+ s$ O
  664. auto_append_file =
    8 M9 o0 y  g0 Z" v+ e
  665. 8 u1 f  U6 V" J& B" b/ y# v8 A5 J
  666. ; By default, PHP will output a media type using the Content-Type header. To
    4 `# L- n- u0 N! F- K
  667. ; disable this, simply set it to be empty.% x2 |- Y: S6 S, V: d' F7 j. c0 j
  668. ;
    ) W* _% o& P. a5 z! ], Y; Q
  669. ; PHP's built-in default media type is set to text/html.* ]8 [# D( D% E
  670. ; http://php.net/default-mimetype
    . X# d: M" Z0 B/ ~
  671. default_mimetype = "text/html"# V/ P! U; c4 c4 c- D( K
  672. ! v+ a4 d( F( ?! q, K% Z9 s1 s
  673. ; PHP's default character set is set to UTF-8.8 `  d# J1 ]9 K
  674. ; http://php.net/default-charset! P! W) H7 d( n) c
  675. default_charset = "UTF-8"
    ! ]7 P4 U2 N" x) ^! v( N

  676. 1 d5 b( x+ Y. ^) x# Z4 `* Z
  677. ; PHP internal character encoding is set to empty.0 I, K. c( X3 h3 _+ s; K' H0 R4 a
  678. ; If empty, default_charset is used.* K# V$ n) f' w5 q1 O
  679. ; http://php.net/internal-encoding
    # @5 v* y: c% x( _
  680. ;internal_encoding =1 e  u, X( A# X- m
  681. + N: C: `# c( \' m0 {( o
  682. ; PHP input character encoding is set to empty." Q! F' e2 _0 w  K2 C
  683. ; If empty, default_charset is used.
    ( V5 f, n; K- y' B! L
  684. ; http://php.net/input-encoding
    1 T$ w, w3 E3 _: K3 I" b( Y4 |
  685. ;input_encoding =  U/ k+ G1 F/ J7 @: p, P
  686. ! K  w5 Z) N" S( p- ~& P; ~
  687. ; PHP output character encoding is set to empty.
    3 O3 F. F& O- d% [& J
  688. ; If empty, default_charset is used.
    7 L  i7 K- ]3 M+ }5 v' t* s- J  W
  689. ; See also output_buffer.. e7 t0 l8 A- I1 m
  690. ; http://php.net/output-encoding
    / ^) \) D/ M4 d" C( z8 \" `
  691. ;output_encoding =
    5 }. O9 X7 W$ S9 g% V+ y5 `
  692. - q; @) r3 G, \) X6 l. h
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;, f8 j' B5 E. C5 z8 D0 S
  694. ; Paths and Directories ;5 D4 b7 s; K* L  j( W  `) h! p" o
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;! L" {( W9 w1 ]% H; L; {6 l2 U8 J

  696. + e& T+ ~& N' ~# E) u: ~
  697. ; UNIX: "/path1:/path2"
    9 x% G! Z  i2 K: z! n  p$ F
  698. ;include_path = ".:/php/includes"
    3 `4 a6 Z5 g# j! x+ S1 i% P
  699. ;* h* n% `  P% Z2 M
  700. ; Windows: "\path1;\path2"' j8 O# R: n: Y6 L7 G
  701. ;include_path = ".;c:\php\includes"
    & i$ M7 ^, G. f) H. n$ Y
  702. ;3 `8 l. ~: u+ X* s& X% C. O
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    6 _: \! `8 H% ^( d0 Y9 T
  704. ; http://php.net/include-path9 G3 b& g, a4 T) k: B
  705. $ `, p/ t' f( d6 z2 G# x0 |
  706. ; The root of the PHP pages, used only if nonempty.
    ( W! ~* u/ C% u' |
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    * G3 m9 ^; w6 ^, ]; u
  708. ; if you are running php as a CGI under any web server (other than IIS)
    . K& |6 M3 L8 ~5 @
  709. ; see documentation for security issues.  The alternate is to use the8 w0 a& N0 H9 S  A
  710. ; cgi.force_redirect configuration below
    - s$ j3 h1 M7 T- f/ H8 e7 h
  711. ; http://php.net/doc-root
    2 Q( Y, b: n0 n4 M1 }: q$ Q
  712. doc_root =; t. p% A5 J! A' Y

  713. 0 L; D0 n2 ^9 d) n  q: F$ D
  714. ; The directory under which PHP opens the script using /~username used only+ s( D$ w" I0 v4 C+ ]: H0 W* U. `7 u
  715. ; if nonempty.
    - T) ~5 s* i- j
  716. ; http://php.net/user-dir  `! i. T6 _6 h0 B
  717. user_dir =
    ; F8 x3 R/ C" Q
  718. ! B1 U! V2 F" x4 W8 L
  719. ; Directory in which the loadable extensions (modules) reside.# ?/ o. p8 w3 ~
  720. ; http://php.net/extension-dir
    $ ~: {8 U4 u% l+ F
  721. ; extension_dir = "./"
    0 @0 W1 o  [4 l* _) q- L2 Y% g
  722. ; On windows:& b+ o8 ~& J' V
  723. ; extension_dir = "ext"; Y9 E1 |$ F- y) g

  724. - j+ Y4 d6 f; c6 {/ [. `( I( E
  725. ; Directory where the temporary files should be placed.
    . x$ i7 a) i4 f3 Y
  726. ; Defaults to the system default (see sys_get_temp_dir)
    + T9 V; {- S/ W
  727. ; sys_temp_dir = "/tmp"* p) X) c  W0 t) {' l/ X

  728. ! v6 L0 x! C- t& @( a" B% @. C
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ; f3 g4 {: x  `5 m$ W
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically* u# h& ^3 k" w! S% A, L
  731. ; disabled on them.$ s" }7 _/ q5 [3 i: I
  732. ; http://php.net/enable-dl
    7 _! Y0 Y7 s" \8 s. @; C6 P
  733. enable_dl = Off; Z1 F, }: \9 D) Q. U* d) s. U, e
  734. ) u5 Q* Z, v: z  B: r$ R- k
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
      h( I" a+ I0 \% z! `5 G
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ; {' @6 R; H5 s4 N7 d
  737. ; turn it off here AT YOUR OWN RISK5 o- L* A2 F/ Z  H. _3 T) l# U
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**0 g' v5 P, \3 J& [
  739. ; http://php.net/cgi.force-redirect
    ; U: y, g2 [0 s2 d& {8 T# x2 B. n; Z
  740. ;cgi.force_redirect = 1
    1 O. y$ a6 t# A  v- [: ~
  741. ; Q1 f2 Z# n9 C: V  u/ x2 @' ^
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with2 S$ d7 Z$ i. ^0 |' E3 n# t
  743. ; every request. PHP's default behavior is to disable this feature.
    8 w6 i$ A  w* g) D. T% F
  744. ;cgi.nph = 1
    ) J  e" E# o8 a, N1 l) v& m9 B
  745. & ]! G: }/ Z& _# x
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape" o9 @: V; ^# g
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    9 i# y+ n$ o% W& m; i1 u1 s" U
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY+ _& j* Q, z0 s: d! [
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    1 b7 a7 t. x* d' j" g, Z
  750. ; http://php.net/cgi.redirect-status-env1 V$ m: n5 ?5 F- q0 h3 T
  751. ;cgi.redirect_status_env =4 V8 X7 V; x9 [# m1 [% }

  752. " _  ~4 e% D' g' r. F- v6 {
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's; l  P; k: Z6 a  E8 R
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok4 a0 n8 q$ `( A3 |9 `
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    2 ~6 a* m7 c, s8 F* z
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    % R1 C  z! M+ m  W$ r1 f0 O
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts! [  {* O* n5 c) ~
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    . c1 `  g* ^+ l" }( C3 X3 ]5 L
  759. ; http://php.net/cgi.fix-pathinfo7 c3 [4 u6 R/ M4 x1 t
  760. cgi.fix_pathinfo=1* }$ h( T, m, y0 Y% H

  761. ; u: d. y3 n1 k0 I; u8 F
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    & e9 D. _  z5 h' x
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    5 g0 ^0 Y9 W' t/ x: ~" t6 F4 ~
  764. ; http://php.net/cgi.dicard-path
    % Q2 v( {  g8 `9 z2 @% C
  765. ;cgi.discard_path=19 |: R2 J  N2 V# C1 \
  766. ( t( N2 h7 j# g$ V6 R; r* {
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    # m% K$ n% ]8 ^# H
  768. ; security tokens of the calling client.  This allows IIS to define the
    : _) S$ l  `" V; ~
  769. ; security context that the request runs under.  mod_fastcgi under Apache3 Y( o' r; s4 g3 V" i$ G  z1 p
  770. ; does not currently support this feature (03/17/2002)
    ) g% {+ e9 H& m
  771. ; Set to 1 if running under IIS.  Default is zero.
    6 O& B2 ?  b4 b5 F* M: [" M$ x
  772. ; http://php.net/fastcgi.impersonate
    " I7 B/ e9 `2 |2 R
  773. ;fastcgi.impersonate = 1
    % b+ A- w' n4 k9 o8 @6 z7 a

  774. 4 o$ w: u+ i1 C1 Y3 N4 {  \- ^
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable- h( @9 x/ ~$ r
  776. ; this feature.9 q% M. |% F9 m, ]5 w# C0 i( I
  777. ;fastcgi.logging = 08 {+ n1 g1 t# k/ H8 @
  778. + S, _0 h$ O) Q  R& y6 J
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to! o1 _  M- x: a! |. X( F* R- L( S
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    2 c" B' x) {. r2 z" W6 O
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    8 l' e* I) D- T- w# D4 k. j1 t
  782. ; RFC2616 compliant header.
    + R' J/ ]1 D! I" J
  783. ; Default is zero.
    # W" ]2 F% B, G8 I' L
  784. ; http://php.net/cgi.rfc2616-headers
    9 E1 o/ F5 R! r+ i( q& E) f5 X  M' g
  785. ;cgi.rfc2616_headers = 0- M# q) ~1 _! V% N" d$ N  C

  786. % W/ }; @4 C% b# B9 y
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    " `4 a" E! I% A3 o
  788. ; (shebang) at the top of the running script. This line might be needed if the
    % V7 [" k) @1 ?" }8 X9 V
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI; u0 S5 A+ \: _5 ^, |0 U& A
  790. ; mode skips this line and ignores its content if this directive is turned on.4 L$ f0 f! O6 p
  791. ; http://php.net/cgi.check-shebang-line
    & s2 `- L0 a- U; {6 `
  792. ;cgi.check_shebang_line=1( H% l" v4 I; S  B2 _: j7 q
  793. % {4 c( C7 i. @: L, Q1 d" W
  794. ;;;;;;;;;;;;;;;;
    , ^  W) C! J, q9 v) l2 _
  795. ; File Uploads ;
    - s  R) v+ r; j
  796. ;;;;;;;;;;;;;;;;
    + T3 c; P* z- o4 f: A2 Q
  797. 6 {( w  Q' A# _3 X" F
  798. ; Whether to allow HTTP file uploads.
    ' @8 f) Z% o8 n/ \
  799. ; http://php.net/file-uploads
    6 L) E1 k$ J, Y' `- g
  800. file_uploads = On
    + \6 e. B3 k9 V1 H5 r% m
  801. / u1 c  C; M6 P7 E5 L& [
  802. ; Temporary directory for HTTP uploaded files (will use system default if not5 l. n' D9 p6 }. [% D+ {
  803. ; specified).
    . ^9 t+ e+ t; v! {- j( j1 Q0 g9 E
  804. ; http://php.net/upload-tmp-dir1 s  g0 ^* E" }" ^4 h  c# w
  805. ;upload_tmp_dir =! p) T; z2 h$ T# n

  806. . {! g( Y" E$ E* P0 h% ]
  807. ; Maximum allowed size for uploaded files.
    3 X+ d5 z& q8 E$ v
  808. ; http://php.net/upload-max-filesize
    4 n! L: ?& E3 |0 h! S' S
  809. upload_max_filesize = 50M
    & m0 t& l7 f: x# e/ A
  810. 5 ~1 Y. f# f; f4 U
  811. ; Maximum number of files that can be uploaded via a single request
    ! e) n. M. o; Y" ^6 j
  812. max_file_uploads = 200 h7 z) j5 D/ G- i# R0 R! g
  813. 0 m, S- e) a* q% b! X
  814. ;;;;;;;;;;;;;;;;;;+ `. {* s, k2 I+ ^7 s4 X
  815. ; Fopen wrappers ;3 S# m' K% e6 a% [/ n7 E7 g
  816. ;;;;;;;;;;;;;;;;;;% i; y$ ~1 r8 ]

  817. % q7 d8 `# p" D7 o
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.& f+ ^( E/ g+ m% \7 E- H/ o) Z
  819. ; http://php.net/allow-url-fopen
    7 I, j- X/ w5 p0 O
  820. allow_url_fopen = On4 Y, @# [( a# K9 R) n

  821. 3 R/ W3 x& H& t. S: }# |8 @: Q5 K
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.  R4 f8 m; l6 m8 y
  823. ; http://php.net/allow-url-include+ n- M8 q8 ?9 v1 s
  824. allow_url_include = Off( O# O1 ^6 u8 }$ X% i
  825. 8 J9 |- [' Q3 ?0 @
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    0 O. N2 t+ t4 g
  827. ; for this is empty.
    3 o* D( K* V4 P5 x
  828. ; http://php.net/from; v6 N; n% g+ Q' ^5 E5 p4 Z
  829. ;from="john@doe.com"! q' i% R4 v( c9 S. B3 ]+ }- P

  830. ; v3 @, F( Y0 N; K4 O0 M7 y
  831. ; Define the User-Agent string. PHP's default setting for this is empty.  n: k/ r. m% \; Y
  832. ; http://php.net/user-agent5 d& Q  |, A2 l
  833. ;user_agent="PHP"' H9 Q1 I/ D$ a0 k! Q

  834. 3 e5 G6 F0 Q& e6 @! |& X
  835. ; Default timeout for socket based streams (seconds)
    . ^1 l( \0 C4 D9 ]3 ?
  836. ; http://php.net/default-socket-timeout1 @* B8 F$ Y& V+ e+ T8 l
  837. default_socket_timeout = 60; ?/ m% `' k* ~# C- t( p6 m

  838. " q: R& b8 q( w  Q2 a. p
  839. ; If your scripts have to deal with files from Macintosh systems,4 S6 r  T, u! t9 p4 R& p' y8 V: u
  840. ; or you are running on a Mac and need to deal with files from
    ; _- ~. ~# ], f/ _6 z8 O
  841. ; unix or win32 systems, setting this flag will cause PHP to# V/ Y0 _9 f! D# }. o
  842. ; automatically detect the EOL character in those files so that
    * a) M4 m: L, A; P# @
  843. ; fgets() and file() will work regardless of the source of the file.
    3 e6 z) {' A: j' R
  844. ; http://php.net/auto-detect-line-endings2 T  n( C7 Z* O
  845. ;auto_detect_line_endings = Off* r# ^. R$ i# b7 ~1 y

  846. # G2 P6 C8 y$ B. {0 A% f
  847. ;;;;;;;;;;;;;;;;;;;;;;, @  C; F' u) U% k- I, L
  848. ; Dynamic Extensions ;
    4 k* U0 i/ w% G7 C7 }, c; k
  849. ;;;;;;;;;;;;;;;;;;;;;;
    # m  f# G" E; o

  850. + j1 o3 _/ {6 [/ ?/ S
  851. ; If you wish to have an extension loaded automatically, use the following! l+ D6 {' y7 ?
  852. ; syntax:
    4 U- V9 L9 l- T: z1 ^
  853. ;
    # x! W) X/ U& e* q" c7 J
  854. ;   extension=modulename.extension8 v+ ?1 l: a8 _# s+ h; u) I
  855. ;! {8 L7 w( d6 N7 D  {* \% b7 j
  856. ; For example, on Windows:  f' k$ t9 a: s& e( `
  857. ;
    ( e3 c9 w8 ^" w1 ^8 Q
  858. ;   extension=msql.dll$ @. c3 F2 F6 {- s2 Q! N8 \3 Q
  859. ;
    ; b) s1 K9 J2 r$ a
  860. ; ... or under UNIX:
    $ `8 ^& o6 R6 \8 b2 I
  861. ;+ k( U" ~9 M" f3 R  `
  862. ;   extension=msql.so
    . @/ q) \- d0 y! U4 t* {; d7 K* T- U4 T
  863. ;
    6 M+ n" D- O# `9 h' Z4 J
  864. ; ... or with a path:# p: @. ~' u5 g1 L. v+ @, H
  865. ;/ b) y( k! f- j3 O$ t8 n
  866. ;   extension=/path/to/extension/msql.so
    , A$ u! Y" d$ l) H, e( X, Y
  867. ;
    1 Z" R3 o4 F! g  O8 A
  868. ; If you only provide the name of the extension, PHP will look for it in its% [) l  P6 c6 k& v, w* Q# t
  869. ; default extension directory.7 n! z* t  k: X& c$ b% {
  870. ;3 g, ~: X  }, @, s' L1 O5 W
  871. ; Windows Extensions- R% U! D' q# `0 x' d5 w
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    6 G2 v/ i0 X. j4 n4 A
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)( T0 E( v# X6 `% l  h, n* z
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    . b, [6 n' b6 J! _1 v1 T
  875. ; Be sure to appropriately set the extension_dir directive.4 [8 h5 d9 g. I) c" e/ J2 |3 C
  876. ;
    $ J/ u9 j* }1 I' ~" e; X
  877. ;extension=php_bz2.dll
    ' q* z) ~# ^8 u0 O- q
  878. ;extension=php_curl.dll
    # }5 v- e( q8 l8 y. l
  879. ;extension=php_fileinfo.dll- A* T7 M" }$ L
  880. ;extension=php_ftp.dll0 c. l' c4 i7 }: {/ w9 B
  881. ;extension=php_gd2.dll2 B$ e8 w% e9 u4 V8 m$ I* i! Q4 J( h
  882. ;extension=php_gettext.dll6 E! {' X' I6 K5 w6 L
  883. ;extension=php_gmp.dll/ @% J2 O! A$ I. s, ^. Z( n6 H( c
  884. ;extension=php_intl.dll' w& u+ Q; h! Y9 k! X( p, c% J
  885. ;extension=php_imap.dll
    ; H: \% W4 K4 {  q: J& b6 l
  886. ;extension=php_interbase.dll! V3 y5 N$ R; G$ {% L" S
  887. ;extension=php_ldap.dll
    * Z: e) O9 {6 _* |7 F9 F0 S
  888. ;extension=php_mbstring.dll
    , m. _6 p, ?  z2 ?  e
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ( ^5 c2 g; D3 \8 m) B
  890. ;extension=php_mysqli.dll2 R% ^5 ~  a( Q6 Y- Y
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    6 w0 {8 _6 O8 i  g- C
  892. ;extension=php_openssl.dll
    . f0 q+ x8 K0 e5 q
  893. ;extension=php_pdo_firebird.dll( K# u' W5 h; T* E- i
  894. ;extension=php_pdo_mysql.dll; e" L% x2 q8 J* d- |/ K) W8 v
  895. ;extension=php_pdo_oci.dll+ \* H) C4 o& x8 |
  896. ;extension=php_pdo_odbc.dll2 C% q) `, K0 U0 T
  897. ;extension=php_pdo_pgsql.dll; _( @  Y$ A5 u+ x. J8 y
  898. ;extension=php_pdo_sqlite.dll
    . `) E7 u% B( W4 S
  899. ;extension=php_pgsql.dll$ R) n7 m* `4 }
  900. ;extension=php_shmop.dll
    : f8 L8 f" S5 e* J. ?
  901. . _, e1 `, U: n& C3 h7 s8 V
  902. ; The MIBS data available in the PHP distribution must be installed./ `6 }7 y7 A+ y$ F/ t0 q5 M0 o, K% d( c
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    . P4 m" I" t" i) H9 f. R4 o* ~' N
  904. ;extension=php_snmp.dll
    2 i9 f# ~! A5 Z# q9 Z
  905. - e8 c& R" p, q
  906. ;extension=php_soap.dll  [) ^9 Q( H+ h4 ~4 R+ M
  907. ;extension=php_sockets.dll
    , T2 J" J( Q% \3 ~4 ?
  908. ;extension=php_sqlite3.dll4 Y( S' A- O. j* n" C' b$ J7 `
  909. ;extension=php_tidy.dll% u7 `, A7 r. G1 ~0 j
  910. ;extension=php_xmlrpc.dll
    ; P( i% A# p- @1 i
  911. ;extension=php_xsl.dll. w: R* i) O" X$ [# k
  912. ) i% {& c7 S* ]! @; Y0 t& ?3 i
  913. ;;;;;;;;;;;;;;;;;;;
    6 ?" t! b4 O; @2 _" I
  914. ; Module Settings ;  Q" ], }/ g% b# `# ^
  915. ;;;;;;;;;;;;;;;;;;;
    6 K* K3 d" J- i5 ]& V2 F, b' \7 V& B2 @

  916. 1 ?/ ^1 P# r( }1 u% o
  917. [CLI Server]
    ! d) X0 {1 ]' O0 I  l7 q$ c
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    0 k8 ^7 a, _. j# R* x  k
  919. cli_server.color = On
    ) x: r, F3 V' C- ~- B  z+ t9 o4 C; u

  920. " _( g8 N$ m) u: n0 N2 r/ q
  921. [Date]! l! L6 P8 E" f/ R6 \8 h
  922. ; Defines the default timezone used by the date functions4 W& h) {3 i$ k2 T/ w* L4 f& M
  923. ; http://php.net/date.timezone) O+ h1 O" ^6 K" Y, B! C
  924. date.timezone = PRC
    1 `/ K4 p8 J( J8 D/ w5 a

  925. 0 `. R9 F; B& B7 s8 i1 S/ s% u6 Q
  926. ; http://php.net/date.default-latitude% u0 S# G5 P/ q
  927. ;date.default_latitude = 31.7667! R! j+ Z1 B/ E% F. V* ^

  928. 7 S: v# U% s% D, s. \: c0 p
  929. ; http://php.net/date.default-longitude
    . P8 r3 i" s5 _8 e
  930. ;date.default_longitude = 35.2333
    8 S6 q0 T  Z# {4 w; A
  931. 5 X' N* j7 y/ o3 C
  932. ; http://php.net/date.sunrise-zenith0 _) k- d7 `( }: b1 u$ ~/ ^: i* R
  933. ;date.sunrise_zenith = 90.583333# k, _7 P( o9 P( K$ @/ [

  934. 5 U; D/ H! w; E
  935. ; http://php.net/date.sunset-zenith* K5 Z( P: r6 u$ R  M
  936. ;date.sunset_zenith = 90.583333
    / g0 q, Q1 d) D# m

  937. $ f2 D2 N4 M8 [/ g
  938. [filter]! M, p6 G! Y0 E4 O" d6 X
  939. ; http://php.net/filter.default7 R# e. R% z7 _0 d
  940. ;filter.default = unsafe_raw
    . V; e: P; \3 Y4 H- f( h( X

  941. 8 d2 y, g! S: O  M
  942. ; http://php.net/filter.default-flags
    # S0 g2 y+ X4 v& b( b* g& L
  943. ;filter.default_flags =3 n4 u  ?: e8 O" d, r% t

  944. . v' ?7 y! U( n  h2 g! {
  945. [iconv]+ a, l# N( f! [5 j
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ' _' h# H; q# E: Y1 u
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    7 u* D$ L. I) R- @4 s3 ^( V  b# Y8 o
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    : C/ i* T5 m$ X: a* b
  949. ;iconv.input_encoding =
    / q7 {' L  u: O$ U3 l

  950. ! F  w- ]) b3 [, [# b
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.9 a$ P' k* @8 `; G
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.+ c& G/ S9 {  `, e; x0 q! k/ ]
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding, i! I+ C  s' N0 f
  954. ;iconv.internal_encoding =
    % X9 T- P1 w+ T: @$ o5 I' B
  955. + U6 a% D7 u$ c* Y8 G
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.9 B' X6 _% k5 \
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.8 u; o0 W8 j" I1 o) k9 {1 C* p6 x
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    4 e2 _/ m7 Y8 r( @- Q, p
  959. ; To use an output encoding conversion, iconv's output handler must be set
    + D9 @" m, J$ Z) H+ A
  960. ; otherwise output encoding conversion cannot be performed.
    " P  s5 E# A8 U! L
  961. ;iconv.output_encoding =- [2 u0 d' r* g' r7 \) k

  962. 0 O/ p# S" D6 m6 x
  963. [intl]
    $ x. W- h" }$ l% |6 ]+ S
  964. ;intl.default_locale =& ?: x& R* T8 d3 h
  965. ; This directive allows you to produce PHP errors when some error
    8 [6 c  x  A! s4 H
  966. ; happens within intl functions. The value is the level of the error produced.2 t; Q( a! Z% L1 ]! U
  967. ; Default is 0, which does not produce any errors./ U& c8 T' @8 s5 |: `) a0 N  U
  968. ;intl.error_level = E_WARNING  u9 D; r1 I. x& j% d1 @- k2 ?& _
  969. ;intl.use_exceptions = 0/ _1 \% u( f6 Y& w- Q; u' L
  970. 6 ?9 Z* \# e! |
  971. [sqlite3]' b+ J+ @* O* m( P( v1 v
  972. ;sqlite3.extension_dir =
    2 S4 n) l" [# I# d1 \

  973. 7 w4 N* S0 @8 s9 e  l
  974. [Pcre]3 b) i! `! D5 U1 L. R, G
  975. ;PCRE library backtracking limit.% n5 I- a& A5 I+ a/ w$ o
  976. ; http://php.net/pcre.backtrack-limit
    1 C3 B0 \1 ~; X% S0 K' @) C
  977. ;pcre.backtrack_limit=100000  k! j5 {  k# t( w' [

  978. ! e3 }% c; |) f/ U) n
  979. ;PCRE library recursion limit.
    - x0 I4 [4 A" p
  980. ;Please note that if you set this value to a high number you may consume all
    4 N  r0 A6 o# f/ q5 ]1 I* Z5 ?
  981. ;the available process stack and eventually crash PHP (due to reaching the
    " E' ~) u2 C( z& h: f% Q+ ?
  982. ;stack size limit imposed by the Operating System).
    * l6 a5 v" f  _
  983. ; http://php.net/pcre.recursion-limit
    , @/ L) p, M. D* z+ N% L( b
  984. ;pcre.recursion_limit=100000
    + A  D$ a2 p# U7 y* N) k7 m
  985. * k* I. `, W0 K! M% M" U
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE1 q0 T' G: y8 B7 `6 {
  987. ;library to be compiled with JIT support." o8 J2 l" h; r+ K8 b
  988. ;pcre.jit=1
    - ^5 h7 w: ^- j4 c5 |% D; A/ j. ?

  989. " f8 _# `0 l. `3 s7 Y8 |1 F5 C
  990. [Pdo]; A5 o4 g7 h8 e  o" ~
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    - N- C8 A6 b" Z# J( A' D5 Y; U6 C
  992. ; http://php.net/pdo-odbc.connection-pooling
    ( h/ f, y! [/ _4 `
  993. ;pdo_odbc.connection_pooling=strict. I$ M6 V- l( I+ A- D: }& t1 I
  994. - U; u: S9 }5 \6 T& W( _' P
  995. ;pdo_odbc.db2_instance_name
    & u3 N. X* ]& l& Q

  996. ' x$ T5 B1 {! p% d$ r
  997. [Pdo_mysql]% X4 N0 i, Y: U5 H$ `5 K: z$ e( N
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache1 c  h: H0 y6 u) w8 g
  999. ; http://php.net/pdo_mysql.cache_size
    ' Z- D; A: E! W# w
  1000. pdo_mysql.cache_size = 2000
    4 Y* P, z4 z7 W% \
  1001. 3 ~  T0 o% I8 M/ ]9 W
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 ^. C. F) S2 x. G2 M. @  a+ x: O
  1003. ; MySQL defaults." C6 C7 |$ N/ W" h# @# h
  1004. ; http://php.net/pdo_mysql.default-socket
    8 h0 F. `% J, P3 k/ K
  1005. pdo_mysql.default_socket=# Z7 y0 r# I& N7 m  M% D
  1006. 1 e$ `: H0 d9 x/ Q" T4 [8 Q4 Z
  1007. [Phar]
    : o& a/ S- x- J( H
  1008. ; http://php.net/phar.readonly/ N! q: G7 Q. t0 q# O. p8 W
  1009. ;phar.readonly = On
    1 |! P* ~" g5 n

  1010. $ X7 c, Z* f; w( ~* O
  1011. ; http://php.net/phar.require-hash8 T% Q* |3 l1 }* K
  1012. ;phar.require_hash = On
    & X. I1 P& w- T4 c4 @. W

  1013. " z/ Q& \0 D- K2 V/ x
  1014. ;phar.cache_list =" D) w; F/ f5 `) [# M3 {2 F, e

  1015. / q8 b1 [0 Z6 f, C
  1016. [mail function]
    / B7 A. \. h; O2 m6 B, ]! n
  1017. ; For Win32 only.2 @/ L0 O' Q6 p6 E
  1018. ; http://php.net/smtp
    + `, L, I1 w# s: ?0 Y; \  l
  1019. SMTP = localhost
    ( \6 p" F- l' N) @. o  A. q
  1020. ; http://php.net/smtp-port" G) Y- b: [% g
  1021. smtp_port = 255 z0 K* d$ i0 ^: ]

  1022. + I) I( ]$ y5 P. p, `2 B: o' x1 N
  1023. ; For Win32 only.
    + F- s9 b! A  R* `" P" N
  1024. ; http://php.net/sendmail-from
    * o5 E# k+ Z1 R% j- p$ l. Z- K. t
  1025. ;sendmail_from = me@example.com
    , P" d) ~, f/ R, k) t. a2 r) J

  1026. + K" m9 }% k$ `1 a, z- w4 s
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    0 b  G6 u+ \* ~  g4 F$ d
  1028. ; http://php.net/sendmail-path
    , V4 s# r* z9 o% h8 F4 z1 R
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ( |9 e/ k7 ^% b$ W0 T- z! ^' w

  1030. ( G+ Z3 L/ i/ O* T) E' d
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    1 O  D  R& b* }/ e5 |1 J4 t/ m
  1032. ; to the sendmail binary. These parameters will always replace the value of1 l/ R, ^3 \) I/ G. L
  1033. ; the 5th parameter to mail().
    1 [  B& }  x, ?: }5 P( }
  1034. ;mail.force_extra_parameters =2 A' }. }  ]. l  R0 z4 |% B: y
  1035. ! G; Y+ s* O4 ^% Z$ [- Y
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename9 I2 J7 r( c" k( a6 ~. l4 l) X
  1037. mail.add_x_header = On" c! U+ G, ^& C. B9 x

  1038. 5 l9 V) O' t  ?
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ! }6 g; `4 ^: z# q
  1040. ; the full path of the script, line number, To address and headers.' e2 {! R' f' }* n0 p
  1041. ;mail.log =
    7 c/ [; P1 u' u0 j
  1042. ; Log mail to syslog (Event Log on Windows).
    $ G5 B7 t  z6 k4 @
  1043. ;mail.log = syslog4 T3 g/ ~5 v  U/ \. s

  1044. ) t) \& u/ ^$ d3 Z5 {
  1045. [SQL]
    + @7 e1 R, F5 Y3 H& E. Q! S
  1046. ; http://php.net/sql.safe-mode
    1 b2 Q' w0 D- M- @" w/ _/ h$ L
  1047. sql.safe_mode = Off4 P) b  Z; r, ^* N8 ~
  1048. 5 c9 b" u$ s5 c! c" h( ?
  1049. [ODBC]) ?( S* v. G9 [, A' K
  1050. ; http://php.net/odbc.default-db
    ) p7 Y% l- n. t+ G* G
  1051. ;odbc.default_db    =  Not yet implemented$ c) \. B$ \0 u2 e
  1052.   y0 N  ?% K$ ^( o. z
  1053. ; http://php.net/odbc.default-user
    7 X5 s& H$ A5 y, S+ I
  1054. ;odbc.default_user  =  Not yet implemented5 f/ e. s8 d+ m
  1055. # ^: i. @! Z! t8 {/ S
  1056. ; http://php.net/odbc.default-pw
    ' U( H. y5 l) _  F4 v
  1057. ;odbc.default_pw    =  Not yet implemented
    / x0 i3 m* ~7 B. f6 J3 v* m8 q

  1058. " r* w3 V9 x1 {; K7 ^" w
  1059. ; Controls the ODBC cursor model.
    . N' q& G* L! g5 o, x
  1060. ; Default: SQL_CURSOR_STATIC (default).
    8 D# j1 W+ ?  l, }2 |4 n
  1061. ;odbc.default_cursortype
    " F1 B! H" i1 o! F9 G

  1062. 6 z. x$ W# x& O) k$ I! G3 g
  1063. ; Allow or prevent persistent links./ g/ u  t: |, M1 B% I5 C6 h
  1064. ; http://php.net/odbc.allow-persistent
    & p. p  g" c0 [  l
  1065. odbc.allow_persistent = On3 P' }% b" N* S

  1066. # ~+ A# ?4 l  p, }( J3 b
  1067. ; Check that a connection is still valid before reuse.% d' v' C# w) L& B' Q
  1068. ; http://php.net/odbc.check-persistent
    # k6 B# l7 g7 Z8 ?" {9 x6 X
  1069. odbc.check_persistent = On: M0 p% ^" J9 G# Z# v; G0 {
  1070. * B7 S  R1 d/ O; b9 m) y9 u
  1071. ; Maximum number of persistent links.  -1 means no limit.
    5 N* r. ~; L; k7 i
  1072. ; http://php.net/odbc.max-persistent
    " H2 f& ~/ z$ `& X6 }
  1073. odbc.max_persistent = -1' Q2 O$ |( ]9 x9 x
  1074. : ]% ?8 B. |6 m
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.$ l8 Y- U6 P3 G- r: ]
  1076. ; http://php.net/odbc.max-links/ Y( U% |6 J! w, m8 O& E
  1077. odbc.max_links = -15 x% N$ |3 Y$ b
  1078. - i, h5 F, T6 L: e
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means8 T, g4 E- E) z5 p4 s
  1080. ; passthru.: m" s5 o- f$ A* W* G9 f, B
  1081. ; http://php.net/odbc.defaultlrl
    3 a( ?- \! a: p0 W$ {# t% ~8 `  U
  1082. odbc.defaultlrl = 4096
    1 z% ]9 C# ?& W, @6 G; }. W  l; w

  1083. % Z" `4 R- B2 Q
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.  v9 t3 g0 D1 P( C0 J8 Z$ r# Z/ }% {# x0 ]
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    7 E+ u6 S/ j! R  M0 ]8 C
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    ' i1 Z8 s1 h8 u  n  t
  1087. ; http://php.net/odbc.defaultbinmode# o( y/ D" j! q5 Y# D; g
  1088. odbc.defaultbinmode = 1
    3 U" F: Z( s2 O
  1089. 4 S2 y- a% T% B7 d9 N5 ^5 {" w
  1090. ;birdstep.max_links = -14 W% ~; T* W- a% s

  1091. 2 I# ]8 Z, X  v1 C* R) a# ]
  1092. [Interbase]
    % S2 p/ [6 l! R
  1093. ; Allow or prevent persistent links.
    ) A1 K& k* |" {  M3 W
  1094. ibase.allow_persistent = 1& H1 a0 q% P" w% B: ^- g

  1095. " C: H( U% B) |. u0 A
  1096. ; Maximum number of persistent links.  -1 means no limit.* ~9 u6 W& }; V; C2 h6 V
  1097. ibase.max_persistent = -1" t  p3 b4 L( h

  1098. + k' Y$ c' n4 n7 \
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# w  p- o) d1 }' ~! |
  1100. ibase.max_links = -1
    3 X: [7 q& G" `

  1101. 0 |  I' C$ q, s: P) T8 N# p
  1102. ; Default database name for ibase_connect().
    8 x# r% e& Q3 p& w4 N  I
  1103. ;ibase.default_db =# M( Z$ j7 L$ X# ~8 g0 }

  1104. ( G- w$ p; `. m
  1105. ; Default username for ibase_connect().
    6 }  t1 e6 X- n$ R
  1106. ;ibase.default_user =
    - i! x' M% _! D* z* N: s+ @

  1107. ) p. P+ }7 [' S; `3 f3 N8 _
  1108. ; Default password for ibase_connect().) J  w" `" f; X# p3 E
  1109. ;ibase.default_password =; J) W) c# Y! _0 e

  1110. ) S6 S: r6 U. t1 @
  1111. ; Default charset for ibase_connect().
    ' o% L  f5 @2 V# c
  1112. ;ibase.default_charset =
    & z$ J. A. g  ^9 E" F  X& Y
  1113. . q( |* C% E$ e6 t
  1114. ; Default timestamp format.
    $ \9 g) t- D: W6 n9 p
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    + H- G. M$ D3 m( v  J4 `! o" M1 J

  1116. $ D9 c) P" t8 p' Y/ o/ |9 x+ y2 `- R/ l( I
  1117. ; Default date format.* Z4 ~* t$ o3 h" _' Q# `
  1118. ibase.dateformat = "%Y-%m-%d"
    . d4 n4 k# k! [8 C
  1119. 1 Z  C4 j; E+ U4 P; `5 K  @
  1120. ; Default time format.2 ~7 r) b( j( S* n0 p8 R- f9 Q
  1121. ibase.timeformat = "%H:%M:%S"& b5 I' c0 L3 s3 l
  1122. ) l+ `  V; g! f) k
  1123. [MySQLi]
    & M9 @: `( Y$ f4 Y& [8 ?
  1124. 6 _( t0 |1 u; u- ~1 V
  1125. ; Maximum number of persistent links.  -1 means no limit.
    4 u" Q) t- M4 _) n& P  @
  1126. ; http://php.net/mysqli.max-persistent
    8 T# N! i7 E( k6 E; Q( n
  1127. mysqli.max_persistent = -16 Y$ X+ f5 h+ m0 D
  1128. ' w8 ?" l! `( h
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ' E! V1 m0 }7 ]  |& Z
  1130. ; http://php.net/mysqli.allow_local_infile
    1 u2 F" D1 }8 \* ~
  1131. ;mysqli.allow_local_infile = On
    9 Y3 [/ c! m# R3 q

  1132. , X4 H" Q. r6 O+ r
  1133. ; Allow or prevent persistent links.+ u( j% T: n. R4 F2 Z2 K2 c/ V
  1134. ; http://php.net/mysqli.allow-persistent) b, {# R; m' M* z0 u2 X# q
  1135. mysqli.allow_persistent = On, {* _  k  n2 G' ]
  1136. , w2 V* k' u2 U
  1137. ; Maximum number of links.  -1 means no limit.  A: W- H- w1 N% _" F0 h
  1138. ; http://php.net/mysqli.max-links1 v6 S1 e/ A5 ?  ^' B# m
  1139. mysqli.max_links = -14 E! j# l. K) T1 I. w( o- H
  1140. ! [0 j- C4 N: Z7 f. o7 M$ D: Y& }
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache1 b- J# ^' q9 d- W8 a6 \+ \/ b: A
  1142. ; http://php.net/mysqli.cache_size
    0 ~& G: l6 y* }9 R! Q8 [
  1143. mysqli.cache_size = 2000. z( G4 u2 D. Y. G
  1144. * U% N: a1 Y0 Z2 ~( e# r* Y; U
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    % h8 i; G' k; Z1 ~! y4 ]" _" G
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the( w0 L& a4 J5 p2 S0 V
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    6 l# ]" z' W! f" M$ _) a! [; ^
  1148. ; at MYSQL_PORT.
    5 x: ?; X# w) p$ k
  1149. ; http://php.net/mysqli.default-port
    - ~' V% p& n0 R* d) x( {" V
  1150. mysqli.default_port = 3306% F$ T( ]+ K" D/ B2 i  Q+ n% C: I' I) p

  1151. ! A! F3 ]; ?/ x9 x8 U
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in! `" R: J$ Q. _) C3 Q
  1153. ; MySQL defaults.
    & y; L6 s- z& b4 S/ Q1 Y2 U3 K
  1154. ; http://php.net/mysqli.default-socket2 T8 \0 z; M) e6 q! w
  1155. mysqli.default_socket =
      o* x  k7 _5 F& E) h( h! m, Q
  1156. 9 F( s8 r1 O9 ?3 j' g9 F  M$ T- {
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    - @! Q. I- b3 L7 r9 M
  1158. ; http://php.net/mysqli.default-host! p0 W; a1 F* ^
  1159. mysqli.default_host =
    1 H& u2 I& j- Q0 `

  1160. 5 r, y& S* ^2 T" R& ]) G0 L, n
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    1 U# J  O- s4 p9 g6 H! a
  1162. ; http://php.net/mysqli.default-user
    ; n0 o! x% M% m
  1163. mysqli.default_user =# `( W& U+ N- B5 U5 r0 |5 [
  1164. 0 d6 e& n3 k+ _) G! S
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    4 f7 z# i3 y% k$ \# z
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    + E: P5 d& D( j4 I* H6 `
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")' r# K$ U! A4 V! L
  1168. ; and reveal this password!  And of course, any users with read access to this7 L% E0 Q3 m6 I+ d  x( x7 R
  1169. ; file will be able to reveal the password as well.2 p$ c4 ?5 H# Y; L8 W' n8 e+ N9 g
  1170. ; http://php.net/mysqli.default-pw  Y- \7 ?% E7 c$ a1 s
  1171. mysqli.default_pw =6 V* C: P4 C3 w- s1 O

  1172. 3 w' Y, X7 A3 X0 v- v
  1173. ; Allow or prevent reconnect4 q" R' k* a3 y
  1174. mysqli.reconnect = Off
    5 _% o5 K1 [8 y5 D( S2 o# Q  F
  1175. 6 P% q* q; [( b2 q7 P; ~2 t
  1176. [mysqlnd]0 F# ]! z/ |0 h: I8 O0 _
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be: W- J! t3 D: h0 A+ d5 d
  1178. ; used to tune and monitor MySQL operations.
    1 W- j( I; T3 h' B( ~% P; S
  1179. ; http://php.net/mysqlnd.collect_statistics
    - l  k" N( ^" ]+ ]5 h; x; k/ U% s
  1180. mysqlnd.collect_statistics = On9 ~$ e2 e9 ]/ U& p8 F

  1181. 9 l2 _; P7 Q3 v6 q" J* r5 W" I
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be4 _1 d" _' S8 b8 p
  1183. ; used to tune and monitor MySQL operations.
    . {( @* ^: ~9 x  m  x+ f: I0 b
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    ) h) p0 u) k8 i/ G! R4 i/ h
  1185. mysqlnd.collect_memory_statistics = Off
    8 N# Z9 W& |1 K3 q2 s" Q

  1186. - ?& c2 a  Y" i" H6 {, y
  1187. ; Records communication from all extensions using mysqlnd to the specified log- |8 K) _% h8 i0 \
  1188. ; file.3 f0 A7 L( h& ^) q
  1189. ; http://php.net/mysqlnd.debug0 D# J& w/ U1 t! ?8 t: E
  1190. ;mysqlnd.debug =
    . u3 A/ _* X3 {# L1 M4 S0 y
  1191. : K8 X" N; D( N& Q& ^& {: s
  1192. ; Defines which queries will be logged.. M+ M& g, X  `8 P  m
  1193. ; http://php.net/mysqlnd.log_mask
    : `) S7 |. d9 V) ~
  1194. ;mysqlnd.log_mask = 0
    ( ?7 k6 y: b) J6 F9 D* M

  1195. 4 H0 p5 ~* E0 V+ [) f& K# |$ P
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets." P& j; d' @" v
  1197. ; http://php.net/mysqlnd.mempool_default_size. N. S; g- W" Z0 ~7 b  u7 f
  1198. ;mysqlnd.mempool_default_size = 16000
    9 L, ~6 z2 y5 g$ w. D3 G; j
  1199. 7 A" b9 E% M9 ^" H; `
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ! I/ b/ J9 _/ s) V6 Q, y3 \
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size$ ^1 B! F* Y$ q! a% ]: R
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    4 f: k2 B$ f2 ~9 L$ Z$ ~
  1203. 4 f  b; p4 z  ^6 ]
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    0 |3 @4 C7 p2 e
  1205. ; bytes.! L$ j4 r: E1 D9 K- Z
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    , K1 j: ?1 B5 Q" Q7 E
  1207. ;mysqlnd.net_read_buffer_size = 32768
    7 D, L' \9 C" x1 x! k

  1208. 5 w) Q2 E, \. m# d3 V
  1209. ; Timeout for network requests in seconds.& b* q2 D+ e. E: Z' k: A' |! C
  1210. ; http://php.net/mysqlnd.net_read_timeout
    9 T5 |0 N% W, A; L  T
  1211. ;mysqlnd.net_read_timeout = 315360004 a, g2 D  [8 K+ G
  1212. ' n$ j( }0 S/ s; R
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA) }2 }/ ^  I5 i! [
  1214. ; key.7 o% Y5 q0 {+ v0 ^
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    , Z$ E2 s- e* w6 W
  1216. ;mysqlnd.sha256_server_public_key =
    % Q# W5 u+ ?. a5 f' h5 `

  1217. . n- h6 U; `8 Z  W3 O# P
  1218. [OCI8]5 ], `0 u' }) K' |
  1219. ( F$ f$ _6 n' a8 }$ W
  1220. ; Connection: Enables privileged connections using external, C9 Q$ S, p$ H, c" b( ?8 G! v
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    % j) _) ]' i( _( w- y  E
  1222. ; http://php.net/oci8.privileged-connect
    * J2 C$ Z( c2 ]$ A8 A
  1223. ;oci8.privileged_connect = Off, z- i: s6 U  @/ Q
  1224. % R1 L6 T; y: j9 {# [$ Z# {+ W
  1225. ; Connection: The maximum number of persistent OCI8 connections per2 U/ W) V+ x6 W9 ~0 I$ W
  1226. ; process. Using -1 means no limit.
    0 G' b- U7 `: ]+ E. \# g
  1227. ; http://php.net/oci8.max-persistent
    ' j2 T' Y& L9 u7 O
  1228. ;oci8.max_persistent = -1' X" ]+ x4 c% j7 h5 R
  1229. % D) M1 r" M' D. E& M1 g
  1230. ; Connection: The maximum number of seconds a process is allowed to$ y6 K: R5 `: I, W4 h* }! r
  1231. ; maintain an idle persistent connection. Using -1 means idle
    * z- A4 s* G% R. m
  1232. ; persistent connections will be maintained forever.2 B, B: F/ ], ]! w! }
  1233. ; http://php.net/oci8.persistent-timeout. g3 t1 U; ?) Z( U: M' Z  ]( m2 m; ?
  1234. ;oci8.persistent_timeout = -1* U9 u8 w3 _1 F* r% T

  1235. - H3 D6 i7 A4 z! R! s
  1236. ; Connection: The number of seconds that must pass before issuing a1 F4 h0 p1 J! q+ P
  1237. ; ping during oci_pconnect() to check the connection validity. When8 D2 e8 s1 R+ R4 c
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    - u9 S  K- }& g/ J4 B- G
  1239. ; pings completely.
    ; p1 J+ q) \  x  D% m3 h% q
  1240. ; http://php.net/oci8.ping-interval8 l4 {5 U" b, A: n+ d+ [
  1241. ;oci8.ping_interval = 60. D5 q; a0 t# m$ w. o) H5 G

  1242. 0 G& i( ^8 I2 e  @; i
  1243. ; Connection: Set this to a user chosen connection class to be used" s- x7 i- b8 o% s- f
  1244. ; for all pooled server requests with Oracle 11g Database Resident+ e0 U, R) p4 ]) `) t6 a
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to% {- \/ T9 h& Z" o: |! Z
  1246. ; the same string for all web servers running the same application,/ C9 l- A/ K$ F/ `# Y
  1247. ; the database pool must be configured, and the connection string must
    * f8 j" H) `- {8 |2 d' c+ n5 g
  1248. ; specify to use a pooled server.
    / E8 I! A2 ~5 ]1 w0 l
  1249. ;oci8.connection_class =
    9 N9 x0 w9 J4 L' p# e$ R
  1250. 2 [: d* T* Q: [% ^, @& H  I" F% f
  1251. ; High Availability: Using On lets PHP receive Fast Application7 a5 a4 D% n; K) c4 k- P3 K
  1252. ; Notification (FAN) events generated when a database node fails. The8 m/ o6 D7 z0 h" e% Z1 g) a1 i
  1253. ; database must also be configured to post FAN events.
    ! ]6 j) f% O5 _( c2 b* Y
  1254. ;oci8.events = Off
    * m6 f  x* A6 P. ?% E2 ^4 B+ L

  1255. 3 G! D. y, f  w; I6 a# h- e
  1256. ; Tuning: This option enables statement caching, and specifies how5 V$ w4 h, K/ \. {2 m; C" E
  1257. ; many statements to cache. Using 0 disables statement caching.0 l: ]% R$ X+ w# M. w; B2 Z) N
  1258. ; http://php.net/oci8.statement-cache-size) w, R- v6 f- w3 t4 D4 `5 c
  1259. ;oci8.statement_cache_size = 207 e) z* v9 H9 g; N4 e
  1260. 4 V% c& z2 V0 C+ J1 J# n! J
  1261. ; Tuning: Enables statement prefetching and sets the default number of" U; \+ H  c& }8 _( B$ a
  1262. ; rows that will be fetched automatically after statement execution.0 A+ @& n" w. N5 @9 l
  1263. ; http://php.net/oci8.default-prefetch
    ( v% h* k4 i- \. P
  1264. ;oci8.default_prefetch = 1007 f# f( b  S. |
  1265. 8 M8 n% V6 r8 i$ q
  1266. ; Compatibility. Using On means oci_close() will not close- B( _6 _, V/ r& [. ~
  1267. ; oci_connect() and oci_new_connect() connections.
      g7 J, D; d' U/ ]5 d
  1268. ; http://php.net/oci8.old-oci-close-semantics2 y' g8 d/ X" T. t2 w4 G7 [" u! H  {, U
  1269. ;oci8.old_oci_close_semantics = Off- o4 E# q! l7 V  d

  1270. 4 [4 W6 s1 r3 x0 w& a
  1271. [PostgreSQL]; w. C1 z/ b$ f% d6 ]& M6 x; G
  1272. ; Allow or prevent persistent links.
    - c9 y! P6 Q1 U! F
  1273. ; http://php.net/pgsql.allow-persistent9 I7 Y" V9 Z# Q9 V2 e& H$ C
  1274. pgsql.allow_persistent = On
    : b* d/ E; r! o% J; z

  1275. 9 o! U/ C" @8 t0 j$ ^( l# c
  1276. ; Detect broken persistent links always with pg_pconnect().
    ) `& f4 T+ s* N& q# }' X! L2 l; X6 p
  1277. ; Auto reset feature requires a little overheads.
    % y2 S$ d) F* }3 B
  1278. ; http://php.net/pgsql.auto-reset-persistent1 U, c& b5 ?1 K3 ?( \8 W( b+ ?
  1279. pgsql.auto_reset_persistent = Off/ C* q' J$ [3 }' e& K6 n
  1280. ) Y9 R7 k" z4 z4 F5 b; T; j- j
  1281. ; Maximum number of persistent links.  -1 means no limit.- f% c/ _- R6 `6 D8 [
  1282. ; http://php.net/pgsql.max-persistent* J$ x! t; @% S6 E
  1283. pgsql.max_persistent = -1
    1 n2 [8 y, h  ]
  1284. % g% k* O# ?. h, ^* c
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    4 c: ?6 U3 F; q$ d- Q5 u
  1286. ; http://php.net/pgsql.max-links2 Z' K4 Z, g6 F4 K. C) u9 O! v; l
  1287. pgsql.max_links = -1
    ) t- ^/ I8 E2 E3 W/ G

  1288. & f3 d* `0 h8 ^$ n/ q, X$ c
  1289. ; Ignore PostgreSQL backends Notice message or not.
    2 N$ z" ~3 z" z* {. z
  1290. ; Notice message logging require a little overheads.( G! T9 O4 |8 r! Z2 N: x1 c2 k
  1291. ; http://php.net/pgsql.ignore-notice
    0 l# W7 N% t& {& `9 [5 p! L
  1292. pgsql.ignore_notice = 0: Z& s# L2 N8 U& w% \; G$ ?
  1293. 1 X9 X0 n9 g4 F
  1294. ; Log PostgreSQL backends Notice message or not.4 u  g2 P3 X: C. g
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    9 R: l, R, E8 D' I  i/ T6 h
  1296. ; http://php.net/pgsql.log-notice7 m0 r, u& z1 e$ n- Z) A
  1297. pgsql.log_notice = 0& ^+ o) u+ f/ T5 N; A, p* @0 w
  1298. 9 c9 W5 m3 Y. z7 T4 Y5 H5 [
  1299. [bcmath]
    0 G: a5 f3 I7 Y9 L: d* M; l
  1300. ; Number of decimal digits for all bcmath functions.
    9 Q: G# k" I- z0 }& B0 y4 L
  1301. ; http://php.net/bcmath.scale: L  ?: h/ V! J# F9 N" K. e
  1302. bcmath.scale = 0! x( l. ^6 k8 L) t' V( ]/ B

  1303. 2 r7 E) Q2 t5 _# k% N
  1304. [browscap]  f. N: j" n, h6 |3 H
  1305. ; http://php.net/browscap
    ' p9 y1 e9 K' l) i' k# Q$ J
  1306. ;browscap = extra/browscap.ini( A5 _7 t% N6 [
  1307. $ y' |7 d2 m. ~+ j; |, Z
  1308. [Session]
    + }8 H7 x, R8 e& T) _0 Q
  1309. ; Handler used to store/retrieve data.
    ' B% Y1 o7 }; B7 F
  1310. ; http://php.net/session.save-handler( d" [$ E, K* P' h, y7 m6 K) d
  1311. session.save_handler = files3 v/ Z: u- v7 W4 j$ v

  1312. $ ~& N6 b! m. o& J% c! @
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    * ?7 [$ j0 `8 F8 c" W, Q
  1314. ; where data files are stored. Note: Windows users have to change this" u! ?$ \4 [, U* N+ h7 ?" g
  1315. ; variable in order to use PHP's session functions.
    9 K4 V% T# I$ r. |' K
  1316. ;7 a8 N% H1 K- y! `
  1317. ; The path can be defined as:
    8 ?" b* R* W* B9 [" K
  1318. ;
    9 L) |7 S( L$ Q( R2 L
  1319. ;     session.save_path = "N;/path"( c- U% t: G# B
  1320. ;
    ) |& N; P: f0 K- K% \) i% H3 x4 m( a
  1321. ; where N is an integer.  Instead of storing all the session files in
    7 j) U  f- a6 p( ^
  1322. ; /path, what this will do is use subdirectories N-levels deep, and0 l% K& G8 s- v& O2 H: [+ D
  1323. ; store the session data in those directories.  This is useful if
    $ ]4 D( e9 g- O1 d3 e
  1324. ; your OS has problems with many files in one directory, and is8 k0 }* r% L% m, W
  1325. ; a more efficient layout for servers that handle many sessions.) N" M; ?! @* o& D# b6 D) p
  1326. ;
    9 G; `! f5 k2 T( w  a! A
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    9 z" H& n8 t/ F, n
  1328. ;         You can use the script in the ext/session dir for that purpose.
    # W& i, z3 Z+ a
  1329. ; NOTE 2: See the section on garbage collection below if you choose to$ S+ ?9 @4 P# t  W
  1330. ;         use subdirectories for session storage
    " X) @7 K: i+ z  J. ?& o
  1331. ;0 d* z" h; D* z2 s. P
  1332. ; The file storage module creates files using mode 600 by default.
    ! B/ |% m' M$ W: ]5 g3 p2 S  G8 `4 A
  1333. ; You can change that by using
    3 B  L" R- E. v. k/ _
  1334. ;1 g# c2 z2 n. |% b0 m7 m
  1335. ;     session.save_path = "N;MODE;/path"
    1 U- t+ K: [% Y: d' H1 j. `9 u
  1336. ;
    ( a  E  o7 d( s$ e/ j4 ~' j
  1337. ; where MODE is the octal representation of the mode. Note that this
    9 \7 d3 b- E( N- ~( Q
  1338. ; does not overwrite the process's umask.; h0 `1 ~  g. l0 e; B( ]9 M
  1339. ; http://php.net/session.save-path
    ! z) ?/ [* H1 R! @# x
  1340. ;session.save_path = "/tmp"
    2 F$ C3 e8 `' U) c( D( O; H
  1341. , Q% I! M+ `2 s' b2 s
  1342. ; Whether to use strict session mode.9 }: f. P0 c% U# a
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    8 Z2 D8 d9 A6 a+ o$ c
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects" _) @& v, X" I3 m! k
  1345. ; applications from session fixation via session adoption vulnerability. It is' h7 r6 {3 }8 Z3 K/ i! o, `
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged., V. }' V" C8 D
  1347. ; https://wiki.php.net/rfc/strict_sessions( v1 _2 S; F! E! |3 Y- T
  1348. session.use_strict_mode = 0
    ) H8 q" `4 q) w; w& Q2 H7 b
  1349. : ?! ]3 n9 S' b+ Q( O& t
  1350. ; Whether to use cookies.
    ) o0 U" i+ J* ?3 c
  1351. ; http://php.net/session.use-cookies
      u! }+ }' {$ Y8 M, W+ _
  1352. session.use_cookies = 1
    - I' [/ E! y5 J/ ~

  1353. . W9 Y! |3 O  W) U# d/ g
  1354. ; http://php.net/session.cookie-secure8 I$ t+ S4 U5 e/ @* M
  1355. ;session.cookie_secure =
    9 }( Z; _. r! B( R2 F

  1356. 6 c" {$ p5 d- {' ?/ A: A4 \
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    : Z  p0 I( D. b
  1358. ; the session id. We encourage this operation as it's very helpful in combating6 A  c% H9 T/ {* Z/ w" {
  1359. ; session hijacking when not specifying and managing your own session id. It is
    ) L) X1 u( r/ [( P: `: p
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    : T" ^4 }  P0 v6 `2 ~1 F/ y
  1361. ; http://php.net/session.use-only-cookies
    5 l5 k3 U& o$ O# D4 B' t
  1362. session.use_only_cookies = 16 C* b* J4 N9 F  }! G! v% T5 H, O

  1363. " S) }- l$ _9 p7 n" _1 K, d
  1364. ; Name of the session (used as cookie name).
    5 v+ Y6 K0 ~& q2 z
  1365. ; http://php.net/session.name/ Q! j$ D- X( v8 J
  1366. session.name = PHPSESSID5 \' Z+ ^8 e  I! p* e; T5 x

  1367. 4 j2 D' a* f) m, f& j( ?
  1368. ; Initialize session on request startup.
    5 s2 y" s" B! L
  1369. ; http://php.net/session.auto-start% u3 \2 G" u/ F, H
  1370. session.auto_start = 0* V0 y+ O% V) P( u# f

  1371. + @8 G6 Z. f6 w8 a
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.& \/ G, J9 B4 o9 v
  1373. ; http://php.net/session.cookie-lifetime( L" z) `8 m+ ~0 b, _
  1374. session.cookie_lifetime = 03 [% f: A! W" ]0 T- ]
  1375. ' U5 W  M0 O9 w. F' V
  1376. ; The path for which the cookie is valid.. s+ [5 {: K$ d4 B
  1377. ; http://php.net/session.cookie-path4 D, I( W, ]2 J
  1378. session.cookie_path = /3 f- e  x* F. \: Z3 f  G5 l

  1379. & _8 Y# |' D3 ^
  1380. ; The domain for which the cookie is valid.8 _4 _6 o' e% y/ W! W: V3 V  @
  1381. ; http://php.net/session.cookie-domain0 y0 l( x; B7 n6 D
  1382. session.cookie_domain =
    ) h4 d' \. R) n& A

  1383. / H8 i! G* z% b) K; m, {. r4 L& ~
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    7 r2 Y8 O# D+ p  x; N2 B$ @
  1385. ; http://php.net/session.cookie-httponly
    3 K8 N- e5 F+ |3 T$ O& a
  1386. session.cookie_httponly =
    ' S, J  x4 k+ y+ U/ s

  1387. 5 \. s. H6 j. F9 Y5 X
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ; h; n  q) y1 N& g/ G5 j
  1389. ; http://php.net/session.serialize-handler
    2 G; G- ^2 [8 S0 r
  1390. session.serialize_handler = php
    : U1 H/ y0 _, v  d/ a* E
  1391. " B/ |+ E/ D) e) C. ~: Q! N
  1392. ; Defines the probability that the 'garbage collection' process is started
    # ?9 Y' H: U# k; k1 J& q
  1393. ; on every session initialization. The probability is calculated by using
    ' C/ c  a9 M! w% Y0 ^4 P9 U9 i3 ?
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator' t+ `" K' o% p& c  a) H+ R
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 15 g+ }. s: c  l( P
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    - x, u  F* W3 w- _' Y
  1397. ; the gc will run on any give request.& W$ A# e+ d- A# t$ A
  1398. ; Default Value: 1
    2 u1 p) e  y3 m9 I2 t& I
  1399. ; Development Value: 17 D: g7 p+ n# ]) r+ z% ]
  1400. ; Production Value: 1
    . a# X3 }7 f+ I  ]7 Z0 K) h( z
  1401. ; http://php.net/session.gc-probability
    0 x' o) L7 D; l1 f# |
  1402. session.gc_probability = 1. T# t$ `. ^1 g4 T

  1403. / y4 ~; Z' E$ G6 [, G) }; X8 ^
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    " l7 C* D0 L4 h9 I- R, n+ j( B/ G
  1405. ; session initialization. The probability is calculated by using the following equation:
    9 F1 o2 K( K- _6 [4 U1 d
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and) t5 d) H1 g8 [0 R! R
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ' N5 d+ Y( M9 Z9 \
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 t/ V& ?+ {7 h, @% r- E% G$ t% w
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you# @, E5 D. n+ _. P
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,2 D8 t: g8 S! c# d8 V
  1411. ; this is a more efficient approach.! Q3 @0 W0 d- W) b  u5 P( B$ E
  1412. ; Default Value: 100# L$ M  V' _0 v' A3 M
  1413. ; Development Value: 10000 Z5 E/ b4 g, `# y8 ]8 {- J0 U
  1414. ; Production Value: 1000
    5 ~0 ?7 l! f5 c: E
  1415. ; http://php.net/session.gc-divisor
    - J+ t& ~7 N1 D! f
  1416. session.gc_divisor = 1000
    " S- J( V! B+ w# d- g! t
  1417. 5 n3 W% i) f3 V8 `- W, T) h; ^8 T
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and+ Y: G1 b# a; k; _" i3 l
  1419. ; cleaned up by the garbage collection process.
    & |* T8 E/ o! d& D+ O! {0 Y, ?
  1420. ; http://php.net/session.gc-maxlifetime
    # U! i% M* V( M& V( Y, ]4 f. [
  1421. session.gc_maxlifetime = 1440$ |9 q) i# m" m5 n8 V! ]* v
  1422. 7 G7 B. ]& w: s$ J% r
  1423. ; NOTE: If you are using the subdirectory option for storing session files1 A' y& L0 @2 D: l
  1424. ;       (see session.save_path above), then garbage collection does *not*' _) l$ m, D2 B7 I* q( `
  1425. ;       happen automatically.  You will need to do your own garbage
    0 j: Y  Q  y+ s
  1426. ;       collection through a shell script, cron entry, or some other method.
    % b( H! e3 F" d' X% T
  1427. ;       For example, the following script would is the equivalent of2 P5 Y0 ^7 D1 K
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ; X0 {' A: j4 z6 [$ ~
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ( ^, h9 ^2 R$ L) _

  1430. 6 F& R, q2 z6 K4 ?0 q
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    0 `" `' ]1 q" V* n
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    1 r. r5 r6 X4 r$ h
  1433. ; considered as valid.) z4 _) r, d) `
  1434. ; http://php.net/session.referer-check
    3 g* K. Z. {( F& K" N. n
  1435. session.referer_check =
    1 e+ Q! z% h! g

  1436. ( ?. s! t  e3 Z# H) Y: Y5 |
  1437. ; How many bytes to read from the file.
    1 [$ }- \0 M2 T8 x0 g6 b
  1438. ; http://php.net/session.entropy-length) h3 o8 }3 ^' C! Q% u
  1439. ;session.entropy_length = 328 U/ C4 O4 t) z+ ~1 i# Q1 L4 v  q3 B2 B
  1440. # ~% D4 _9 w2 q8 F! h
  1441. ; Specified here to create the session id.* G5 N5 |' b% e9 i* n: e
  1442. ; http://php.net/session.entropy-file: e$ ~1 l/ T# W
  1443. ; Defaults to /dev/urandom& j% ?9 X% ?2 _4 y& k  g# e
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    # e7 k1 R1 q2 H! k
  1445. ; If neither are found at compile time, the default is no entropy file.. {; g4 x+ h+ i  d% ]( Q
  1446. ; On windows, setting the entropy_length setting will activate the  C: j& z4 T8 i; v, T5 f- X+ G
  1447. ; Windows random source (using the CryptoAPI)% {* E' C7 M( h  P: O) a
  1448. ;session.entropy_file = /dev/urandom
    ; {. O' ~" c8 [4 d" u3 x& S- Z

  1449.   |* o" B; B1 z' `( y: V1 |
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects  I) w7 R; I, `9 I4 y& b+ |- h
  1451. ; or leave this empty to avoid sending anti-caching headers.' x% d( i, P  ~% B
  1452. ; http://php.net/session.cache-limiter. z: W* e4 o% |( G. ]
  1453. session.cache_limiter = nocache
    ! o# \& I+ [! e$ s) R* U

  1454. 1 T  B3 E0 m9 t8 L3 E
  1455. ; Document expires after n minutes.
    6 ?# F( K7 _- R5 R  u4 W
  1456. ; http://php.net/session.cache-expire
    & N" ^1 S3 C& h
  1457. session.cache_expire = 180  a' a: h# V4 h# k- L' Y7 e
  1458. " b. |" y8 z$ K. v7 ]! ~& X" d
  1459. ; trans sid support is disabled by default.
    * J0 k. i1 R& _0 c" Z/ [
  1460. ; Use of trans sid may risk your users' security.  w* j# j- h5 B4 f
  1461. ; Use this option with caution.
    6 M: H) G: W" W8 ?3 \
  1462. ; - User may send URL contains active session ID; f  L- M: ~! J+ C2 R% v
  1463. ;   to other person via. email/irc/etc.* Q. x' D* O( w8 [
  1464. ; - URL that contains active session ID may be stored$ U1 Z( _- c1 q; p+ n5 T
  1465. ;   in publicly accessible computer." C$ ~) X9 u7 e. Q* w5 h) j
  1466. ; - User may access your site with the same session ID" [; a: [( M- `3 V% D8 }; ]
  1467. ;   always using URL stored in browser's history or bookmarks.
    ( F- S+ e, ?; ?4 t( J1 A
  1468. ; http://php.net/session.use-trans-sid
    - Z" {' M$ _. r, e0 y" o( r
  1469. session.use_trans_sid = 0
    % q- [8 g; y! A" X$ I6 A
  1470. + j5 o$ }5 H1 v' M7 O- }+ f
  1471. ; Select a hash function for use in generating session ids.
    & @$ p+ ^  W* ?1 N
  1472. ; Possible Values
    & X$ M% a4 u- k6 m$ }; k
  1473. ;   0  (MD5 128 bits)' J% ^1 H* B/ c% y( K8 u
  1474. ;   1  (SHA-1 160 bits)
    7 {% q' h  W7 G8 a: j
  1475. ; This option may also be set to the name of any hash function supported by& \  y! z# n  }: U
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()3 z+ N7 Y9 [7 K, j  c% i6 o! Q
  1477. ; function.# I9 s% g' Y/ H9 V
  1478. ; http://php.net/session.hash-function
    ( }2 g: v/ V. B& L2 J5 |: e
  1479. session.hash_function = 0
    4 U0 C; h8 g) r  K

  1480. 4 A( Q% v3 A# k6 p3 I" v* M0 ~
  1481. ; Define how many bits are stored in each character when converting- h4 L' w2 K" m) S  C
  1482. ; the binary hash data to something readable.
    + {) j# Z7 S7 p. e) `
  1483. ; Possible values:
    8 u' i+ h! o3 ]) f) V1 b
  1484. ;   4  (4 bits: 0-9, a-f)
    - `; B0 R4 ~2 Q
  1485. ;   5  (5 bits: 0-9, a-v)+ ~2 H3 t. X0 a; U
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    7 n1 J' f) C( R
  1487. ; Default Value: 4' f7 H* [* U. I0 u1 ?+ Y
  1488. ; Development Value: 56 P# o( O5 t$ D
  1489. ; Production Value: 5
    ) {1 |" _3 k9 {3 w
  1490. ; http://php.net/session.hash-bits-per-character' ~, d- z+ a! q- f
  1491. session.hash_bits_per_character = 54 s( ?% P& H9 L2 A% S  S

  1492. 2 _! X  `. J. [) O/ ?0 C
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.8 ]2 T  k0 M6 L: R% d5 H/ @
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    % Q7 r: u$ P, S% R
  1495. ; add a hidden <input> field with the info which is otherwise appended2 h1 o) ?& C( m& h
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    9 V: C7 j3 @( w( m
  1497. ; Note that all valid entries require a "=", even if no value follows.4 f" |( o" a: X% }
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="4 Q/ ?  k# T7 s7 I- c
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  y, X& r+ D; P" N0 [
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 D" }5 ?0 Z: Y& z8 T( M
  1501. ; http://php.net/url-rewriter.tags, }( m/ S* m+ P
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    - q9 v, m6 ^7 `3 @) ?8 v- V/ L8 `

  1503. 6 w0 B2 ]7 y9 j. S
  1504. ; Enable upload progress tracking in $_SESSION
    . ?3 p. ~9 k, X+ ?8 W7 P2 `
  1505. ; Default Value: On
    5 e, q. P- K" N1 n$ L( A1 V; T+ j
  1506. ; Development Value: On
    ) K% K  C: C" B" k
  1507. ; Production Value: On
    ! h0 y& z) \5 i+ Y7 S- _
  1508. ; http://php.net/session.upload-progress.enabled
    , n' [+ z( [/ t4 y  u
  1509. ;session.upload_progress.enabled = On! m* Q, P6 w2 G# [
  1510. # K! ]- T' j$ q" b3 k
  1511. ; Cleanup the progress information as soon as all POST data has been read
    . X0 T0 G0 O7 t6 q' g3 F5 }9 F& ]
  1512. ; (i.e. upload completed).
    ( B% u6 c: y/ E$ a
  1513. ; Default Value: On
    8 O6 d$ x& N7 `; t
  1514. ; Development Value: On
    - ]2 A+ @' z( z3 h' \5 }; Z
  1515. ; Production Value: On
    2 a, k9 E5 u4 r7 u' p3 O& O
  1516. ; http://php.net/session.upload-progress.cleanup
    ) r! v3 g2 c( }' @' t
  1517. ;session.upload_progress.cleanup = On/ k9 J1 e7 m; p" ~

  1518. % R4 a5 n2 s8 F+ j) e, k3 X
  1519. ; A prefix used for the upload progress key in $_SESSION/ p5 F& p8 Z" B/ h: \3 N, s& y
  1520. ; Default Value: "upload_progress_"
    7 ^( v6 T* I8 b& `1 x) ~
  1521. ; Development Value: "upload_progress_"$ X/ s: x4 b* ~, ^7 Z
  1522. ; Production Value: "upload_progress_"
    6 X! ^, t) k3 `! ?. s
  1523. ; http://php.net/session.upload-progress.prefix2 j/ l( k3 I6 i7 u. h
  1524. ;session.upload_progress.prefix = "upload_progress_"
    4 s4 [8 m* y: }7 ]9 {0 S* s
  1525. 7 e0 i; w- a/ }5 m6 p: E1 E, {
  1526. ; The index name (concatenated with the prefix) in $_SESSION# V5 N6 S5 B  a  T
  1527. ; containing the upload progress information' }- ?/ ^# f* G$ Z( b
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"7 D; K/ U3 ^; p+ O1 G! ]/ Y
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"4 A9 o/ o2 ?6 o) f  c, [
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"! P. A0 w8 X. o; f2 [6 d
  1531. ; http://php.net/session.upload-progress.name
    ( g% F8 E5 z+ e* x1 l9 Z
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS", k7 a; Q. B0 I

  1533. ' B  s5 X% c2 b# ^0 q
  1534. ; How frequently the upload progress should be updated.1 _" @1 {2 ^7 `- F1 F5 }
  1535. ; Given either in percentages (per-file), or in bytes
    : F$ m! X. U+ k% W
  1536. ; Default Value: "1%"$ U4 c- ]& g. w' ]  _
  1537. ; Development Value: "1%"
    $ k4 t+ `9 [% V
  1538. ; Production Value: "1%"
    ; j4 O. i5 J3 ~" u
  1539. ; http://php.net/session.upload-progress.freq
    1 G" w+ ^% ^. z9 N" A6 ^- c
  1540. ;session.upload_progress.freq =  "1%"5 j$ g, M4 `1 M  z

  1541. 2 ]5 y+ c* p( }
  1542. ; The minimum delay between updates, in seconds4 m& ?/ e. N& ~1 u
  1543. ; Default Value: 1* t/ P4 {* H1 o6 f
  1544. ; Development Value: 1
    6 a+ j6 c7 F7 a2 O* v
  1545. ; Production Value: 1
    ! y; M5 B. i* [* g+ w2 [
  1546. ; http://php.net/session.upload-progress.min-freq. n8 R4 K6 x3 e3 h1 ~
  1547. ;session.upload_progress.min_freq = "1"
    + \# I1 F  M) y; G
  1548. # k, `5 d: n/ v8 x) k$ E. ^
  1549. ; Only write session data when session data is changed. Enabled by default./ r# Q8 R, Q5 x' n0 b
  1550. ; http://php.net/session.lazy-write
    , }* z3 P9 V/ @4 f7 @) s$ M" Z
  1551. ;session.lazy_write = On* L0 B: O, Z3 V7 W

  1552. $ Q! ^, [* O! J/ s$ `# G' b
  1553. [Assertion]
    % U" t7 l4 o# a! ~, N( L9 z+ ^
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)3 S8 ?- |: G5 h7 G! z. _
  1555. ; -1: Do not compile at all
    ! X& g" t! T5 Q; }1 \
  1556. ;  0: Jump over assertion at run-time
    * V" x1 s' L% T! N- R  \* |* h( @
  1557. ;  1: Execute assertions
    - ^- z% m8 f( I, M- ]. ?- x6 h0 v0 f
  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)
    - \& l' J- Z0 b& ^( H1 i
  1559. ; Default Value: 14 S, R. v, J2 n" H- f
  1560. ; Development Value: 1
    / E1 D1 h8 |% j; @6 k) q. u$ H- f
  1561. ; Production Value: -18 C  I# Z; q$ `/ @: v: o0 `. g
  1562. ; http://php.net/zend.assertions
    " [2 b1 l; e: F4 v% ~
  1563. zend.assertions = -14 j: `9 T! B1 c8 q
  1564. 0 c( T5 h( x6 [. I# I( f! C
  1565. ; Assert(expr); active by default.( ]/ `4 N8 ~3 D) ]# G+ q
  1566. ; http://php.net/assert.active6 {; T6 y% s; l9 g
  1567. ;assert.active = On) c  C: |  }/ c' t& Y4 I5 C) }
  1568. 7 k, ]+ U0 a! b- o8 a& B, N
  1569. ; Throw an AssertationException on failed assertions# j* X3 x1 I, R$ v! L
  1570. ; http://php.net/assert.exception
    ! \# x, P" H: x3 Y: d2 B
  1571. ;assert.exception = On
    . L2 Q% K7 V1 f! \5 ]: K  R6 D- K

  1572. + L) H& p! o2 \5 B6 {: O& O$ u0 u
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)5 ~6 S4 z3 G3 j3 \5 e6 q
  1574. ; http://php.net/assert.warning1 [' ]9 L9 ?' g; o8 k- h
  1575. ;assert.warning = On9 @% N7 Y1 Z: h

  1576. , \) _2 N; K% h& r1 t7 e) X. i% ~
  1577. ; Don't bail out by default.
    8 s0 A$ l- Y' |
  1578. ; http://php.net/assert.bail1 N2 F8 N( a6 m% R* G5 s5 N
  1579. ;assert.bail = Off$ q: U& W8 U' h) q3 ~% E3 \+ e

  1580. ! c( d8 L! o, r! K3 W- x  G
  1581. ; User-function to be called if an assertion fails.7 j3 O% Y: k( \
  1582. ; http://php.net/assert.callback
    ! s: C' A, ]5 D- I4 N# P
  1583. ;assert.callback = 0
    2 ^, N% Z% E4 U% G9 d7 p" t
  1584. 5 R4 Q' `, i3 H8 K+ G4 P  k
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    7 E, v9 _6 n. n4 A0 f* E" m) h1 i
  1586. ; error_reporting(0) around the eval().8 K3 f# D' f; o; L$ ^% ^
  1587. ; http://php.net/assert.quiet-eval
    $ K1 d1 }* W( V3 q$ O! r4 g. Q2 n
  1588. ;assert.quiet_eval = 0
    7 J( ~* B, M* z- {

  1589. $ N: p) F0 K1 L1 ~
  1590. [COM]
    2 `0 r$ A# I% c/ h+ `$ d0 \: ~
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ' i2 c- J9 O3 g) B
  1592. ; http://php.net/com.typelib-file$ Q3 E) G/ E& v6 [3 s
  1593. ;com.typelib_file =
    . p- ~6 x* m$ t: g% `5 M, @+ R

  1594. ( e" F6 P6 [9 l+ t
  1595. ; allow Distributed-COM calls
    0 A3 i( g0 Q- ?* S5 Q; A. Q
  1596. ; http://php.net/com.allow-dcom; q# {* U. f. c
  1597. ;com.allow_dcom = true
    6 R8 d3 c2 \" ^; s
  1598. ( t7 `$ D% i$ ~7 R% |" M
  1599. ; autoregister constants of a components typlib on com_load()
    - c# \2 R# T4 S/ B$ v$ u6 S% B
  1600. ; http://php.net/com.autoregister-typelib
    # v: E: N. q$ Z6 B% z$ X+ _
  1601. ;com.autoregister_typelib = true) W7 N1 \# [/ ~
  1602. - d; K" ?0 S8 r
  1603. ; register constants casesensitive# W1 r! ?/ L) L
  1604. ; http://php.net/com.autoregister-casesensitive
    & T/ l0 G' y( |  A
  1605. ;com.autoregister_casesensitive = false1 z4 m; n5 g9 x' x4 l* |0 G
  1606. % ~  m5 E$ ?7 V3 O" H
  1607. ; show warnings on duplicate constant registrations: Y! _( _- D" J7 j1 }1 M" E
  1608. ; http://php.net/com.autoregister-verbose! I; C' e3 Y. e
  1609. ;com.autoregister_verbose = true9 Q; u+ L: M( j- c: E& m
  1610. - ?+ U+ Q) T6 k6 d6 X$ n2 g* \
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    : h) o4 y: n6 I' `7 _! F  o$ D
  1612. ; Default: system ANSI code page; r0 t  E# s0 ^# W7 L* R
  1613. ;com.code_page=0 k- ~8 R. S5 w0 B/ K
  1614. ( h( H4 Q9 N' X' ]  _7 s9 }7 `4 a
  1615. [mbstring]7 x  s; k( c' e, s3 O& x  f, e
  1616. ; language for internal character representation.# |, }9 Z0 P" h" `
  1617. ; This affects mb_send_mail() and mbstring.detect_order.# C/ X0 I. |( C* S3 }
  1618. ; http://php.net/mbstring.language; @; S0 |. k) m3 O. l  s0 D
  1619. ;mbstring.language = Japanese
    " v- s6 k- y+ y

  1620. % P; k# o0 P% z; F6 j
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.! f! D1 Z; n3 C/ a* y+ C" L
  1622. ; internal/script encoding.
    / P7 J9 F  q- L: d3 M
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    9 g  @7 V! j0 b  p# b- Q5 X
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 d. E4 s0 j2 Y3 x4 i' ?# b
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / ?7 [* n4 i( Z0 P9 ]
  1626. ;mbstring.internal_encoding =/ ^0 P) P% M4 v' g8 V7 r9 Y

  1627. 1 F: c0 e" a6 ]+ z/ Y( i' u
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.4 A; y* C& c) X4 ]8 X, ^. w* }: ~
  1629. ; http input encoding.
    " S* R; Q/ p; c5 ?8 @
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.; w6 e: i5 _# e- M1 Q* I& H
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ' p; a) H! [, s. k1 Z+ Q; @
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    & W/ a3 Q# }* M: {" t
  1633. ; http://php.net/mbstring.http-input
    6 ]0 ^4 o. @% T
  1634. ;mbstring.http_input =, A3 k/ }+ }4 R

  1635. ( }0 a1 C, A) t
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.5 S* Q. O$ z+ \1 d
  1637. ; http output encoding.
    * l1 q' d; @1 C4 s
  1638. ; mb_output_handler must be registered as output buffer to function.2 a& s( f# u8 b3 u
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ! h9 [3 R$ O& \5 a
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output9 I$ m( J) m* z$ ]% l, Q' ~$ W
  1641. ; To use an output encoding conversion, mbstring's output handler must be set, U3 {) L9 M' R# e2 R+ @
  1642. ; otherwise output encoding conversion cannot be performed.+ b1 c$ x$ m4 m7 A8 v. s
  1643. ; http://php.net/mbstring.http-output
    4 C) r% t3 s' t! {
  1644. ;mbstring.http_output =
    1 S" c3 ~5 _. Y! R, v3 t# p: V

  1645. 8 j3 {5 o6 ?5 v! x* A$ J
  1646. ; enable automatic encoding translation according to4 R* ?. f, w3 U
  1647. ; mbstring.internal_encoding setting. Input chars are
    ) u; B) p9 g1 }$ J
  1648. ; converted to internal encoding by setting this to On.
    ; m6 y* Z. B+ }$ {9 Y# S
  1649. ; Note: Do _not_ use automatic encoding translation for1 t: \" y+ ~4 ~9 R
  1650. ;       portable libs/applications.. S7 r0 I0 T: ~: N4 Y! d+ q9 b
  1651. ; http://php.net/mbstring.encoding-translation
    & N$ ?- v9 n- Y
  1652. ;mbstring.encoding_translation = Off
    % S' X4 ]. F- B: T* f  {5 |  j
  1653. / C7 F3 u9 r2 @5 ^$ j& k, q; Z1 I
  1654. ; automatic encoding detection order.
    % u4 u$ j3 J, t: j4 b9 `
  1655. ; "auto" detect order is changed according to mbstring.language( k  x: R, T" Q2 f# k
  1656. ; http://php.net/mbstring.detect-order
    ' C  u" _" w9 x/ j2 }# A
  1657. ;mbstring.detect_order = auto
    0 R4 n* f9 A& a3 ]; z5 g

  1658. " X8 B, r; P* ~1 {6 w6 j3 A
  1659. ; substitute_character used when character cannot be converted5 Y9 d" e" g  x3 R: F
  1660. ; one from another1 b, d5 t( n) e: e& H  ?
  1661. ; http://php.net/mbstring.substitute-character
    . Z2 b) }* S( M- a( L8 `( E4 F5 B
  1662. ;mbstring.substitute_character = none
    7 [) K: i& y" {9 T: D
  1663. 2 @/ F+ R0 L! [4 @
  1664. ; overload(replace) single byte functions by mbstring functions., d' q3 ^" b- x; o% g
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),4 {, ?2 C+ o8 m1 W0 o& h
  1666. ; etc. Possible values are 0,1,2,4 or combination of them./ {0 K# U1 v% _# F& \6 C+ X9 _
  1667. ; For example, 7 for overload everything.
    - G* g$ y- a2 t$ U0 {: M! q# @
  1668. ; 0: No overload) ]$ j1 z5 `% a- N5 m4 d. W
  1669. ; 1: Overload mail() function5 m  C$ \4 Q; f
  1670. ; 2: Overload str*() functions
    6 e& D/ j  Z0 b
  1671. ; 4: Overload ereg*() functions4 _& z. l/ r6 O$ J9 @; g
  1672. ; http://php.net/mbstring.func-overload8 ?. a2 o1 h+ s% {' m7 r9 m
  1673. ;mbstring.func_overload = 00 s- g. ?2 {/ [

  1674. / u1 c6 l. a2 o$ d; v
  1675. ; enable strict encoding detection.
    . W8 L9 i$ S2 e1 @: O- h4 O2 b
  1676. ; Default: Off8 X3 o) x  _. O; P6 e6 _
  1677. ;mbstring.strict_detection = On
    * b; l! k$ t* \8 i* o

  1678.   f8 S" V) y( H! ]1 N$ m
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ! V; K1 g# L. F& ~
  1680. ; is activated.+ ]! i+ H/ u/ f" n: ?! U7 }
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    / o" H4 H( m. z7 u! g  B$ Z4 Z! y3 ~, u
  1682. ;mbstring.http_output_conv_mimetype=
    1 Y! ?" O6 u  u9 y4 U
  1683. 6 n+ j" `& ?! S9 A
  1684. [gd]! f- l6 P. G. Z0 D. v
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    9 I0 g5 U* e# I9 k! E
  1686. ; a gd image. The warning will then be displayed as notices
    , e. ^3 O4 w9 T+ L3 u7 ]
  1687. ; disabled by default6 B) x/ s! U4 E
  1688. ; http://php.net/gd.jpeg-ignore-warning$ p5 ]1 I2 k( n  u6 j* G" H" [9 I
  1689. ;gd.jpeg_ignore_warning = 0
    / d) H( P; E3 _1 {: o+ e: `8 j

  1690. 2 h& z" n+ a6 [
  1691. [exif]5 z+ W) z1 b5 n& L; ^
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.& }* s& w4 K" c
  1693. ; With mbstring support this will automatically be converted into the encoding
    / v/ d5 ^4 A; K) [$ a, ~
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    * w$ c7 D; t0 V& U4 V7 S
  1695. ; is used. For the decode settings you can distinguish between motorola and
    " n- X( Z8 |2 G* O) ~' x4 d% M) K( z
  1696. ; intel byte order. A decode setting cannot be empty.
    ; {! l+ Q; ^4 V7 d% T% Y9 e, \
  1697. ; http://php.net/exif.encode-unicode; g! s1 i. g* G/ B% y
  1698. ;exif.encode_unicode = ISO-8859-15- C& B, M$ m4 ?
  1699. + V, h& ~! L/ ^, C& }: s+ s
  1700. ; http://php.net/exif.decode-unicode-motorola
    ' F5 J! M# g* r5 t$ ~0 _, P
  1701. ;exif.decode_unicode_motorola = UCS-2BE0 N" H' K3 _" h1 m; R8 L

  1702. 7 u# Q5 Q# d& }4 k
  1703. ; http://php.net/exif.decode-unicode-intel
      E! d' Y8 r+ d- M7 `
  1704. ;exif.decode_unicode_intel    = UCS-2LE* u, L' z  C/ E$ j; R- D
  1705. 1 X  L7 `1 n; s  s; p9 E8 C2 V2 n; ~
  1706. ; http://php.net/exif.encode-jis
    & y: f4 V. b8 t, e
  1707. ;exif.encode_jis =
    5 }, X7 V$ O* Z. y( H3 l6 w

  1708. 2 `: i4 n, [: @; j
  1709. ; http://php.net/exif.decode-jis-motorola3 e# b+ f8 W( _9 r: x- K/ b
  1710. ;exif.decode_jis_motorola = JIS- N9 r, V6 l( j0 y# v
  1711. 3 C. j: J- ^& B: [- O- U4 ]
  1712. ; http://php.net/exif.decode-jis-intel" e# O, `: h8 ?& w; m" {; C* T0 O  Q
  1713. ;exif.decode_jis_intel    = JIS7 \8 R; J4 U4 d% ?7 w9 k+ `4 Z" @

  1714. ) _! I5 {0 C" q" m/ e5 O  U/ d/ m
  1715. [Tidy]
      T, i% L' k5 r) f
  1716. ; The path to a default tidy configuration file to use when using tidy
    , ]9 N. b6 C2 C/ n8 S
  1717. ; http://php.net/tidy.default-config4 V  E; Y# Y9 w3 w3 |. f3 B
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    , n0 P' N6 f: y. k9 t( O

  1719. ! f- |: ?' x1 F# J9 u
  1720. ; Should tidy clean and repair output automatically?6 T4 n, T4 `9 v7 P
  1721. ; WARNING: Do not use this option if you are generating non-html content: D7 d* G, g1 X$ Q
  1722. ; such as dynamic images
    , x- ?/ J. o* ~
  1723. ; http://php.net/tidy.clean-output# D+ U! P! w" G
  1724. tidy.clean_output = Off
    # K; x* t) w8 I: g) ^

  1725. / Q3 I+ o1 {& F# |  P5 K
  1726. [soap]
    3 m6 r5 F. S/ r$ O! r2 A2 z
  1727. ; Enables or disables WSDL caching feature.7 v% S1 o+ {7 v5 C" R
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ) ~) f' v. ]7 X: }4 g- T
  1729. soap.wsdl_cache_enabled=1) M* i3 {6 p& q7 T3 S) A0 p

  1730. 6 G2 d! k5 K0 P) m; c+ C
  1731. ; Sets the directory name where SOAP extension will put cache files.2 `' k+ {" U3 M, E0 }
  1732. ; http://php.net/soap.wsdl-cache-dir' Q0 G9 Y% o8 X1 H' s$ B  P. \0 j" T6 K
  1733. soap.wsdl_cache_dir="/tmp"
    ' r$ @% s: a* G! @* k. i& o

  1734. # a9 p, W5 Q) Y; r" }
  1735. ; (time to live) Sets the number of second while cached file will be used( a0 |9 v' s4 f% g( @6 `, ]
  1736. ; instead of original one.
      j9 H2 ]- ~- A7 U. p2 }8 u3 f+ Y- ^
  1737. ; http://php.net/soap.wsdl-cache-ttl
    8 ?9 h9 h% }1 r6 k8 K  R/ h
  1738. soap.wsdl_cache_ttl=864001 j4 n* ^2 m9 j# ~3 ]

  1739. : T. h" i: u7 M5 Y- n
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)5 k7 H) \1 q) X6 ]
  1741. soap.wsdl_cache_limit = 5
    9 f) W, a3 ]8 P2 |  L0 I9 R
  1742. 1 B# e' X& ^( _& c  r0 N
  1743. [sysvshm]
    % L8 y7 X4 S' J
  1744. ; A default size of the shared memory segment: @' {* N! V# b5 \
  1745. ;sysvshm.init_mem = 10000
    8 a5 q* _* W: J- }$ S  S5 V7 d

  1746. # z2 h) E# f! R3 M. l9 t. i
  1747. [ldap]+ h3 h  s9 F. u7 u- |7 s) T
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ) `7 p6 i( r2 W- |3 W' }
  1749. ldap.max_links = -1
    + i- P5 d7 |8 M; [. a% G* `6 f

  1750. " n: g* N, h7 U1 ~; @
  1751. [mcrypt]
    # L; C/ W$ g* C6 H1 |1 C, R$ x+ ^. v
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open9 P; |6 b' y7 A$ D6 ]1 ?) \; R0 ]' W
  1753. 8 ?" m- j* r: e% y
  1754. ; Directory where to load mcrypt algorithms, V0 Z# k* x# h8 k: T
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)$ D0 z1 A+ Q  c5 [4 s' _9 [) O% q3 e
  1756. ;mcrypt.algorithms_dir=0 t7 z9 n6 K/ Z+ D' h9 c

  1757. 0 X* \0 a: W& ]" n7 ]& t  o
  1758. ; Directory where to load mcrypt modes' V* J; u: Z# ~) I
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)- B- P0 e5 e' P5 F
  1760. ;mcrypt.modes_dir=
    0 o' v7 R1 c: v$ D6 {" f7 n

  1761.   Q8 d9 j. }, B5 z
  1762. [dba]
    % H+ N' q; H( f
  1763. ;dba.default_handler=9 Z0 e9 k+ i' a: \% l
  1764. $ |# Q- p! J; L, Y/ G9 x: K+ d
  1765. [opcache]
    - u: V( Z3 C$ Q( `
  1766. ; Determines if Zend OPCache is enabled! r* c. \: j9 t0 @0 {6 f, I
  1767. ;opcache.enable=0
    * Y9 U# h8 k4 j8 Y  e- l3 g; s
  1768. - |: f1 |: q+ j8 u7 F: I! }
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    : @  y5 v' J% f' h4 ]- n" d
  1770. ;opcache.enable_cli=0
    " f% C9 l# S; V! O. H5 b4 k% t
  1771. , l+ A8 F6 P- Q$ q2 N6 a3 @
  1772. ; The OPcache shared memory storage size.
    7 r3 y7 J' ^& L% f
  1773. ;opcache.memory_consumption=64
    . O8 z) P1 i$ ?5 \1 \# f
  1774. ' e, d: K9 T; T$ n. h
  1775. ; The amount of memory for interned strings in Mbytes.
    8 U& q% r5 h" v! K5 A' N6 s+ a
  1776. ;opcache.interned_strings_buffer=4' P: _. L; F( m# {' p

  1777. ) {7 @% O0 L5 k# ~4 v4 m
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.; ~0 e# [+ z+ z8 F; u
  1779. ; Only numbers between 200 and 1000000 are allowed.
    2 M$ X. S) E2 C# O4 r- P
  1780. ;opcache.max_accelerated_files=20005 z7 V* P: a5 e. a$ k
  1781. / f9 `2 j/ @- m- d& X& H& {
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.# W" W* U( W# u& Z* Z2 \; H
  1783. ;opcache.max_wasted_percentage=5  S- k: z) ]# x4 y( [$ f( s
  1784. 1 {. `& T0 I2 @; {; ^" a+ R( G
  1785. ; When this directive is enabled, the OPcache appends the current working' t( b9 R' m, z& p6 O5 E
  1786. ; directory to the script key, thus eliminating possible collisions between
    ' P" `, A% u0 j: n- A
  1787. ; files with the same name (basename). Disabling the directive improves5 D; @- b2 X. q5 k
  1788. ; performance, but may break existing applications.
    # t! i% \4 t+ r( s" l
  1789. ;opcache.use_cwd=1
    ( o$ q# Z* u, f1 t
  1790. - ^* q* n$ @3 v; c7 e4 e8 T1 _( |
  1791. ; When disabled, you must reset the OPcache manually or restart the: H, a1 P+ I+ n: @
  1792. ; webserver for changes to the filesystem to take effect.6 O' R2 W6 J1 Q, `7 h6 N
  1793. ;opcache.validate_timestamps=1
    - D4 B1 u" ?0 j; b) j
  1794. ; l; ?7 s- x+ |. u7 o
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    , x* O' n: ?4 O: W5 s) R- f
  1796. ; memory storage allocation. ("1" means validate once per second, but only; S2 d5 k& R$ `  C
  1797. ; once per request. "0" means always validate)
    % A/ J1 z6 S5 O4 O
  1798. ;opcache.revalidate_freq=2
    ) {& a  p9 X& c* n5 i5 p; U" Y, `

  1799. $ m* J0 T# }6 j4 d
  1800. ; Enables or disables file search in include_path optimization4 K7 ]/ |0 ~4 h9 |6 S$ T0 c- G  p9 r
  1801. ;opcache.revalidate_path=0
    * Q; ?. D; c, a% m2 h- L; K- R
  1802. $ L- b0 o+ c# @! O0 p) J) H$ O6 c
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the( n; ?4 V6 i, i
  1804. ; size of the optimized code.3 ?: s! ^' W' m
  1805. ;opcache.save_comments=1
    / ^$ u( A# B9 c- l  c$ u
  1806.   y/ G  H! q7 H/ x* r# Z; e
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    % R# U6 S6 R1 {& v& \5 k
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities." Z! |5 J3 t2 d( @# o& U
  1809. ;opcache.fast_shutdown=0
    , f$ a( F- E8 n6 d  I, R" h
  1810. ; S2 d* q' q6 X8 ~1 a9 ]. v
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    . ^- U; S' z+ L* C* ~
  1812. ;opcache.enable_file_override=0
    * C% p5 n3 K2 r
  1813.   V' @, H0 e, |
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache- o2 }! ^" ]/ V& w" w
  1815. ; passes
    2 o6 f$ A4 R, m" K& F! w* a2 a
  1816. ;opcache.optimization_level=0xffffffff
    + m% A0 j6 ^7 \+ d
  1817. , }" t% X* T$ ]; n* n. `
  1818. ;opcache.inherited_hack=15 _: \# D0 w+ Y2 ~5 G) r" Z
  1819. ;opcache.dups_fix=0
    , j- i7 C' C8 {8 L( L) z& d
  1820. : M: `7 ]( F$ b- {; ]: o3 n
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    # Y8 Z, p5 n5 J6 [; ~% n
  1822. ; Each OPcache blacklist file is a text file that holds the names of files& r5 V. H- O; I
  1823. ; that should not be accelerated. The file format is to add each filename
    9 y8 K6 p- p) w9 o
  1824. ; to a new line. The filename may be a full path or just a file prefix) g' f  {0 ]2 E  }
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www0 E$ S3 l2 n$ |, G$ z3 s
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).6 O/ }0 L' ^  D' l0 |) K9 e9 v
  1827. ;opcache.blacklist_filename=
    * w; g% g' d5 X' H! G9 D

  1828. 5 N( r4 [- q. ^5 V
  1829. ; Allows exclusion of large files from being cached. By default all files
    + k! U1 g( U& D% H. Y' ^9 Y
  1830. ; are cached.0 e' |7 P3 q4 Z' A5 ?
  1831. ;opcache.max_file_size=0
    % ?. }4 E- G5 ]5 Q
  1832. 8 \! a" X% M' @6 R5 n! {5 @
  1833. ; Check the cache checksum each N requests.+ r. q* q5 X9 H
  1834. ; The default value of "0" means that the checks are disabled.
    + J: U0 @0 A& X, i
  1835. ;opcache.consistency_checks=0: |+ \% _/ I; F! N; [6 [- u7 v! |
  1836. 7 K" a$ Y% h- Y' f/ J, y" k
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    # G  I' Q! S! f2 _) L0 Q# f4 t# J
  1838. ; is not being accessed.  e- ?& ]7 E$ r9 S
  1839. ;opcache.force_restart_timeout=180
    0 E* k% V$ [: B" u% k
  1840. + `& o. ^, m  n
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ( c4 y5 I. O2 N  B1 ~' |
  1842. ;opcache.error_log=) c; }; ?" R7 X- x- c3 w7 Z# Q

  1843. 9 X  U7 k5 |* _* b  M# Q6 ]( h( I
  1844. ; All OPcache errors go to the Web server log.$ R( t5 M8 n" W3 @2 l) x
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    : d0 n* w1 ~" ?
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    8 L* F5 `6 D  B9 I# D. q
  1847. ; debug messages (level 4)., s$ K3 T5 L' v! k* P
  1848. ;opcache.log_verbosity_level=1( N8 M' S6 @5 s: x, ~  V$ o9 K( o

  1849. $ H; j8 J  d8 O& z) {$ G/ `
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.3 Y/ X) _) S( Z9 N4 h
  1851. ;opcache.preferred_memory_model=% I. t$ i6 t2 H* t* m$ Z
  1852. , a( E6 @( Y2 Z1 A1 M2 y  n
  1853. ; Protect the shared memory from unexpected writing during script execution.1 }2 W3 L5 H. s( V$ m  z  c; L
  1854. ; Useful for internal debugging only.' Q& y# |( j" n) m6 E
  1855. ;opcache.protect_memory=0+ Q9 G9 \1 J$ V5 P
  1856. 6 s( Y4 q0 Q. S) T  m
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is1 d% u# P2 m6 o' r* ~5 z
  1858. ; started from specified string. The default "" means no restriction7 `6 W. z- i+ B, r
  1859. ;opcache.restrict_api=
    ) O' i; [' m& V) a# I

  1860. 7 ~5 T2 `, {5 y' Y; M9 k
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP; @- S, `1 M- e# \
  1862. ; processes have to map shared memory into the same address space. This' R% I9 @6 y1 y
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    ' t% i+ w$ l) e; _8 S7 [! d5 y
  1864. ; errors.
    # ^+ @$ c* ^" x9 Q# G
  1865. ;opcache.mmap_base=
    ! L% u  D! f9 N5 G6 @2 @

  1866. + s2 F: ^9 p* W4 a3 G6 v& s" [
  1867. ; Enables and sets the second level cache directory.
    & @5 C# O2 ~  H% u9 ?, T  V* o
  1868. ; It should improve performance when SHM memory is full, at server restart or
    # N& l5 i2 t. f
  1869. ; SHM reset. The default "" disables file based caching.
      F$ Q: i7 B& N7 R( \; a' D7 P
  1870. ;opcache.file_cache=
    - n: |; Q1 V& r- A
  1871.   \( z* [  [# Q7 i# X9 P, ^6 ~
  1872. ; Enables or disables opcode caching in shared memory.
    , J4 z/ e# X0 a% b
  1873. ;opcache.file_cache_only=03 ?0 P) C+ @& V" z7 m# @2 D. h3 Y- {

  1874. 3 ]) z7 _' P4 G, @& [7 W. @
  1875. ; Enables or disables checksum validation when script loaded from file cache.; M: ]) L6 v8 u) w: k& G8 a% M
  1876. ;opcache.file_cache_consistency_checks=1: O  S% h6 B- U7 E& `* y+ V( R
  1877. 5 x; P  j' c- n! n. I; h, {
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to6 d; Y$ L8 q" M, r
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file3 v, I3 Y& a" C9 s
  1880. ; cache is required.
    : J, i8 k5 I) C9 c0 g
  1881. ;opcache.file_cache_fallback=10 S. ]/ f3 ~' F1 P! v
  1882. 3 \) k0 o& r9 a$ I. ?" X
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.6 n; k6 F% I1 B9 {# n. C
  1884. ; This should improve performance, but requires appropriate OS configuration.
    7 |# T$ i& W7 N" t3 h% r1 {9 R, P
  1885. ;opcache.huge_code_pages=1
    # E+ r( e% Y# Q
  1886. : t- W( G  ^) n  N  w7 n0 i
  1887. ; Validate cached file permissions.
    6 x, b, g+ W2 c( ]
  1888. ; opcache.validate_permission=0
    : U- J+ N4 k( A. G
  1889. ( t  [6 e! k& F2 c) A8 x/ u
  1890. ; Prevent name collisions in chroot'ed environment.
    . B) x; ~6 l, g
  1891. ; opcache.validate_root=0
    & Q2 q" B  J4 W. f

  1892. 5 H6 r" E% y" A2 c
  1893. [curl]
    - p& p( Y" q7 m, m
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an; `* C, Q; l5 ~+ T+ _) q& w
  1895. ; absolute path., a9 P% n* [2 L* B% z! ]" ?9 o! R: t
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt( @: u+ I2 M# d

  1897. $ j$ m- o0 o  V: E% H* \/ F
  1898. [openssl]
    * f( j' p& J) z: _8 r
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    * n, z/ l3 `! k! ?/ g. C1 m
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    % y5 G! _% \3 I6 @6 I- g
  1901. ; not specify a value for this directive as PHP will attempt to use the+ v8 I8 T3 F2 Y0 \
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    & b3 j* P& [' ~8 a2 X; n/ |1 Y
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context" K  K' ?: j& D4 z8 [8 O
  1904. ; option.
    ! P* y! z/ K, w5 x$ S6 k
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt+ Y8 [4 e0 E1 R3 G& r' Z+ c. M

  1906. 4 O  t( z0 \2 M" T3 J
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    * {5 ]) f9 k% h5 u0 w- C  o
  1908. ; directory pointed to by openssl.capath is searched for a suitable5 `2 p+ r# R: L; c9 A/ @3 D- f
  1909. ; certificate. This value must be a correctly hashed certificate directory./ Z. R3 f: Q! c7 u
  1910. ; Most users should not specify a value for this directive as PHP will3 s" w9 N( M3 N9 b3 q! B
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,0 o4 u. Y5 e7 v, P; m. L2 g
  1912. ; this value may still be overridden on a per-stream basis via the "capath"+ o: t& B% j( T0 G* e
  1913. ; SSL stream context option./ M$ W6 n9 p% L: K( O
  1914. ;openssl.capath=
    5 N+ U1 O6 N* ?4 a& Z% r

  1915. ( d* U# A6 ~4 P) ^# k
  1916. ; Local Variables:
    . I) o) T* L! g1 ^' x+ M  w
  1917. ; tab-width: 4# \7 I. X$ H0 A  q' `
  1918. ; End:
    5 f0 z) U. ~* ~2 o5 W$ b
  1919. 7 s# }' j! U" {- t+ @0 @
  1920. ;eaccelerator
    ' R4 d* J6 |) j& K7 A

  1921. $ P$ `; V- N/ O1 D/ s# [6 ~+ f' s7 t3 `
  1922. ;ionCube
    / C/ J& ^/ R) v2 s( V- R

  1923.   ]: O# r" z; b' l- ^/ i; `
  1924. ;opcache
    + v4 n! B  `" T. r& i) ?+ F
  1925. 7 [4 u6 e% Z! o" [* e# N
  1926. [Zend ZendGuard Loader]  Y% V* G" c! |4 j
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.9 G/ L; {& j) T3 ~9 l. K! ~$ _
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    : }* o. s+ b$ e2 I+ l  l
  1929. ;zend_loader.enable=1
    " T( J5 n% U7 O# t
  1930. ;zend_loader.disable_licensing=0
    # ~1 `4 E5 Y/ X  T8 D
  1931. ;zend_loader.obfuscation_level_support=3
    7 |' R" R1 v& y  x7 |8 a( \  s
  1932. ;zend_loader.license_path=4 [' H  p3 F& S4 L  m
  1933. # d2 p% b! i; q/ X, |6 ~& x, p
  1934. ;xcache7 `; Z! g0 ^% b  H1 t, y
  1935. ! N" T/ z* V6 G' t" V: f, F
复制代码
; B  q, q' @: S$ D6 P4 e
6 K& P+ Q4 j! h/ I2 g% y  H/ X

' Q4 c4 a$ `; S' ^, e' g, B1 i* w
) H# v1 U5 U1 \5 w
: D, z. h  d7 R4 G4 m3 @$ `4 l( f  ]' X9 u. F( d  a* D4 O' ^- W( a; w. N

! |. L# s' H# l% f4 `7 wPHP5.6版本原始设置- T+ Z* `* n! M

, B. z" \, Y" N+ G
  1. [PHP]
    - i7 K+ C2 I. M, g! T

  2. " y! f/ j, I: O$ W0 h2 h
  3. ;;;;;;;;;;;;;;;;;;;
    4 j* n/ @5 \7 g
  4. ; About php.ini   ;
    3 M$ s' Y7 Q; y
  5. ;;;;;;;;;;;;;;;;;;;; G  y4 `1 m$ V, n  J7 C  A$ x7 c( x
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ; e2 ?7 {( @' d& T9 f
  7. ; configuring many of the aspects of PHP's behavior.* b$ r) n  w+ J# r2 m
  8. % Q) w9 L) I8 F+ |
  9. ; PHP attempts to find and load this configuration from a number of locations.& Z; M3 z. m9 Z0 X/ t  _& L; C
  10. ; The following is a summary of its search order:
    ) x$ I  a3 d9 n3 {
  11. ; 1. SAPI module specific location.# A- K; m7 {5 i
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0): o! J3 m4 x6 s* W# j$ ]( _
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    1 h/ w2 o) T9 p
  14. ; 4. Current working directory (except CLI)! f0 a$ q  d$ C( b0 K
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    & Y% d7 r  D9 ^+ I) c5 W8 T
  16. ; (otherwise in Windows). l, ?/ \' y9 H! M% l' d: ?2 ?" s
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ) R1 s+ Y6 y0 h3 e! k4 v& q
  18. ; Windows directory (C:\windows or C:\winnt)
    + P0 L8 A# i6 _2 n; G0 P7 V0 `
  19. ; See the PHP docs for more specific information.
    3 _' i- P, \" y5 o8 ~
  20. ; http://php.net/configuration.file; j# N9 k$ \) v! m6 l% m

  21. 3 J$ o" j) `: j' s8 U: B1 `
  22. ; The syntax of the file is extremely simple.  Whitespace and lines' j  }- M1 s. o: l2 b! O: }& l5 F% y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).1 C! K. a0 D7 V/ _. [
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though! n2 J+ i0 i. `# g
  25. ; they might mean something in the future.
    7 e( O4 @/ {; W' C: S7 Y4 o

  26. ) \3 J3 X5 J8 @2 W
  27. ; Directives following the section heading [PATH=/www/mysite] only5 I/ Q) A( w' t/ j  J9 j! Z( y- c
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    4 C2 J# `3 T& ^) U3 s# z
  29. ; following the section heading [HOST=www.example.com] only apply to
    & u7 k3 }" S0 Y
  30. ; PHP files served from www.example.com.  Directives set in these8 i) S6 F1 y3 B" c# r. \
  31. ; special sections cannot be overridden by user-defined INI files or  ?; R  S7 _$ G  S
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under8 Z+ Y( P) q/ S5 W* r
  33. ; CGI/FastCGI.- l! B$ f+ g' |+ B
  34. ; http://php.net/ini.sections
    9 T4 t9 M% u& K, U/ @: t0 ]

  35. / v8 G) R/ [6 T8 a
  36. ; Directives are specified using the following syntax:( z8 g6 r" {/ s6 ?: |9 P
  37. ; directive = value, m: L0 A0 B! D: g, l
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.) @3 q. ]1 B+ R
  39. ; Directives are variables used to configure PHP or PHP extensions.
    " v' r0 `" d" R( D7 c
  40. ; There is no name validation.  If PHP can't find an expected2 w: P5 o. C/ ?' [- j. p
  41. ; directive because it is not set or is mistyped, a default value will be used.7 v& x/ _' N* {; J+ p: U0 E

  42. % ~& ?0 w' I, p( Y; O" l) K: Y+ Y/ P
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one  o  D# A; I& w2 K* n9 a/ j
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    # k, ?" c$ ~; l- y
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a& ~+ Y8 ]2 x; Y; Z/ v, V
  46. ; previously set variable or directive (e.g. ${foo})5 A0 }; `/ y' I! r) a

  47. : B! w5 R7 h8 u, P+ E+ a
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    : W) Z* D( @% {# ?' ?
  49. ; |  bitwise OR4 j+ L" }# I7 y
  50. ; ^  bitwise XOR
    : F1 K2 M0 \; C6 P5 {6 b
  51. ; &  bitwise AND7 N, q4 U8 `6 u
  52. ; ~  bitwise NOT
    5 `3 }* D) F# r) O( ]
  53. ; !  boolean NOT
    8 \) G0 ^3 A! g

  54. 8 D: ?* z4 f  z
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.! ?% q8 l; P2 q  \0 i% F
  56. ; They can be turned off using the values 0, Off, False or No." J: m! Q9 N7 s, |9 N9 L$ G$ m' g
  57. 6 ]  R6 h! y& E  [1 @( k
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ; _7 W' F' E  a% D
  59. ; sign, or by using the None keyword:
    9 T1 X; Q. V5 q* x0 U( i; s
  60. 5 o& a0 R+ R8 w. l1 K
  61. ;  foo =         ; sets foo to an empty string# `8 i4 `9 T5 D5 g, b
  62. ;  foo = None    ; sets foo to an empty string
    % H4 s3 f, Q, k! z
  63. ;  foo = "None"  ; sets foo to the string 'None'2 R: B. z- C- _; l# X
  64. 3 o0 E, v2 w5 P
  65. ; If you use constants in your value, and these constants belong to a- `  z# f% U. S2 w6 d
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension)," Y! Q! J- x+ I! `# ?& L
  67. ; you may only use these constants *after* the line that loads the extension.( u. q: ]  T+ W" P. g' P) |

  68. 4 I9 p. k' ]5 x+ o4 [9 _$ @
  69. ;;;;;;;;;;;;;;;;;;;
    % e3 W7 i4 R/ L9 C
  70. ; About this file ;2 }7 y7 H0 k& r' W& g- S
  71. ;;;;;;;;;;;;;;;;;;;* u8 d& J' J- y# C* y  e+ V+ o
  72. ; PHP comes packaged with two INI files. One that is recommended to be used5 N7 P; {: Q( G1 f6 c
  73. ; in production environments and one that is recommended to be used in
    " i  }6 e) h) l" z4 r. g
  74. ; development environments.( Z) Y3 x+ {  U+ s# `) e8 e

  75. 7 [3 d  L9 s- s1 w7 D& X
  76. ; php.ini-production contains settings which hold security, performance and
    ' D+ \) U6 u/ G- Q3 C
  77. ; best practices at its core. But please be aware, these settings may break8 d3 T" h6 Y! ]) s# m# B
  78. ; compatibility with older or less security conscience applications. We9 n  x& g0 Q- A, E2 q
  79. ; recommending using the production ini in production and testing environments.9 v/ n0 p/ m& w3 s' G& T0 M
  80. ' z2 l3 O! A# O( K( j8 Z
  81. ; php.ini-development is very similar to its production variant, except it is
    . t( v6 z9 s7 H! c2 f0 T$ q$ u" l' n
  82. ; much more verbose when it comes to errors. We recommend using the6 L, p4 r3 j( T  b. W5 |1 F
  83. ; development version only in development environments, as errors shown to; V0 D" L! v9 O* q$ z
  84. ; application users can inadvertently leak otherwise secure information.; o+ s/ V# e, D" J
  85. 4 O! h+ f2 t  H1 @+ m
  86. ; This is php.ini-production INI file.8 t; Z, p7 s& A/ G( ~: s" p
  87. ' K) G# A* p7 Y" ?" c4 D
  88. ;;;;;;;;;;;;;;;;;;;
    * G5 e, _3 j; [8 {. \  l
  89. ; Quick Reference ;! [' c& B% S# S1 u* l0 \
  90. ;;;;;;;;;;;;;;;;;;;- d+ S" h3 C6 n
  91. ; The following are all the settings which are different in either the production
    : C% c) ~5 M  ]3 @$ E) b: e
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    4 ~9 Z# l1 w1 w* f8 G
  93. ; Please see the actual settings later in the document for more details as to why
    0 x' L8 [3 S  |" Y5 z: @, j* @
  94. ; we recommend these changes in PHP's behavior.
    0 [* `8 D# ^7 o6 ~$ u  A1 ?
  95. ( ~, }& k% S& E" A1 \
  96. ; display_errors
    8 I: `' T% T- R, |' G# a
  97. ;   Default Value: On# _" H2 i6 E, i+ _! N4 c
  98. ;   Development Value: On
    : e) N" t' h: X5 ]4 A: R) J+ z
  99. ;   Production Value: Off& o5 A# S& t0 h% ^2 u
  100. ; U; \7 a7 ]# O/ R$ @: M
  101. ; display_startup_errors* s3 Q/ i& U8 e& |/ w
  102. ;   Default Value: Off
    - }2 l& `7 U1 P4 C
  103. ;   Development Value: On% r3 L, R8 M9 J
  104. ;   Production Value: Off
    8 p/ j) A3 A' l$ w& D; H) A8 c

  105. ) \% P4 e, I1 ?2 |. t
  106. ; error_reporting
    4 ^) E) `6 a2 S8 A! O0 N
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    6 B8 A; d* S4 m/ t2 W8 w8 ~
  108. ;   Development Value: E_ALL3 g7 `9 m% K" c5 w  e2 p0 H# t
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT# p1 c+ S$ Z# R
  110. 7 L7 p$ r& o+ V) X, i
  111. ; html_errors) x( F5 L6 X( z# d
  112. ;   Default Value: On
    * ]3 {( L& b, Z; d8 A* u6 q4 f% [
  113. ;   Development Value: On
      k+ U9 E; P& p9 Q% \1 u$ g0 {
  114. ;   Production value: On) U/ C% w4 g0 h
  115. 9 E% O% r( ~8 T, R( T( a1 D1 h) f
  116. ; log_errors* D# }$ k9 X5 s7 F
  117. ;   Default Value: Off' p8 v* [6 X' w0 ?$ r: O5 o0 j
  118. ;   Development Value: On
    - @  s& D3 d/ d# f, @4 J5 u2 J6 n
  119. ;   Production Value: On6 w1 \) p' A9 C+ V. u

  120. " n: h7 }- f9 I
  121. ; max_input_time3 j# U/ m! @6 E/ a8 t- d
  122. ;   Default Value: -1 (Unlimited)4 o/ |) r8 h, ^
  123. ;   Development Value: 60 (60 seconds)
    & Y% z: A% \/ `4 }; W6 m
  124. ;   Production Value: 60 (60 seconds)# Z# R2 i. O# s6 o/ {/ w

  125. . l8 V3 H3 t0 [# T& Y2 K
  126. ; output_buffering
    2 V8 m1 s4 n( B$ [
  127. ;   Default Value: Off
    ' P, F1 E! D6 Y! d. ?
  128. ;   Development Value: 4096
    5 \7 W" a0 w. }/ R' l8 J
  129. ;   Production Value: 4096
    ( ^& C6 t. o0 R7 I; U
  130. 5 b$ h% O6 W; H; V! W
  131. ; register_argc_argv1 a* a+ x) v. U" u5 @
  132. ;   Default Value: On1 O! @3 v+ h* u4 @0 _
  133. ;   Development Value: Off
    , C9 T# g2 f3 }7 P: }& A
  134. ;   Production Value: Off% K: O. @( Q: v* N* |3 u/ e5 U* H

  135. , T  A6 D5 x3 K( G& D
  136. ; request_order
    / ]) l( u  D$ F3 }
  137. ;   Default Value: None6 F+ \9 k: s5 g& U
  138. ;   Development Value: "GP"
    + m8 i. U/ \7 G1 L
  139. ;   Production Value: "GP"1 X2 k2 o# V! s6 Z
  140. 5 S5 ^: R3 G3 `3 v  u
  141. ; session.gc_divisor
    5 a8 l! P& j7 A: E1 F3 f
  142. ;   Default Value: 100) W: ?# O6 E, d& Z1 X/ B- L0 _
  143. ;   Development Value: 1000/ y4 }2 `. ~4 J+ o) G# p
  144. ;   Production Value: 1000
    ) {) c' v9 |# ~* B/ F% |2 K
  145. / E4 y; o% _, V8 I5 w; x7 j
  146. ; session.hash_bits_per_character
    % f% l3 K0 }! V$ w- p* i% q
  147. ;   Default Value: 4
    9 N. l. D, ^+ m( j0 ], o- s* a6 r: j
  148. ;   Development Value: 5/ ~: x1 o3 C3 w- Y  R# Z- D) h
  149. ;   Production Value: 5; g$ ]5 n0 d( R; N) A0 f
  150. : ?: r7 @0 G) J6 s3 t
  151. ; short_open_tag
    % q! c( z( T; o2 Y
  152. ;   Default Value: On
    3 T2 [: e' }5 i/ L7 x
  153. ;   Development Value: Off
    ) _  _1 H( Z0 _$ @3 S
  154. ;   Production Value: Off7 ^; n3 y" r7 J4 G8 F
  155. * `  F6 ?4 ~+ j' V
  156. ; track_errors
    ; Q! ~2 ?! I/ l9 M+ [5 M" @3 n
  157. ;   Default Value: Off
    # H' c: N$ [0 r0 q6 c2 y
  158. ;   Development Value: On
    7 o" a$ H7 E6 {5 w3 m
  159. ;   Production Value: Off! X. e) ~9 G* t$ ?+ w! k/ l1 q0 l
  160. + T7 _) G+ c0 z- Y. b: Q# A* L1 _
  161. ; url_rewriter.tags% \; L# v# X1 ?, Q- Q1 e
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    4 N% ~4 P- g  r" X6 ~& ?' D- z# `
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry". W- r+ A3 O7 O2 @$ B2 _
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry": f& w! s& B* f% U+ u: Q

  165. ' ~! {( o3 H  C2 v4 r  @  h
  166. ; variables_order5 O) C& D. P$ ]  D
  167. ;   Default Value: "EGPCS"
    8 x6 v3 j: S" A. c, y) K
  168. ;   Development Value: "GPCS"
    $ Y4 c6 h' e) @- U' y$ N
  169. ;   Production Value: "GPCS"# i% l+ A0 @" H3 \- Z" h  Q/ E3 }
  170. 5 M. [6 D4 ~* f3 v) G
  171. ;;;;;;;;;;;;;;;;;;;;, j$ Q  P- Z2 R7 |/ _; E
  172. ; php.ini Options  ;
    " R+ {  I' e9 H- `; @5 I
  173. ;;;;;;;;;;;;;;;;;;;;0 F0 L1 u5 d8 I" b" A* j* v8 Q
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    3 _3 n# U8 `+ ^- Z, u. O! J
  175. ;user_ini.filename = ".user.ini"
    8 m- d9 u( c; o+ s& H* I

  176. 6 b( P% z* ?8 d( c8 ?
  177. ; To disable this feature set this option to empty value0 A* J+ K4 B2 h! V
  178. ;user_ini.filename =
    ! M# e0 c# i$ n& |. G

  179. ; r& Y  |# z: x2 o  }
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ( t4 n+ r; o7 S# Z, z& G
  181. ;user_ini.cache_ttl = 300. K5 v4 C% N- W1 b# w' A/ G" p

  182. / _. c, _4 Q5 t. W6 L% {* y: |3 }
  183. ;;;;;;;;;;;;;;;;;;;;
    ! Y& v# ]* ~  |! D! p+ u' ?
  184. ; Language Options ;
    ; T5 k7 a2 Y0 B8 |$ H3 o5 Z
  185. ;;;;;;;;;;;;;;;;;;;;/ b; r" o1 r4 D% t8 ?1 p) [( L

  186. 3 t- c& o, x* L0 t8 O
  187. ; Enable the PHP scripting language engine under Apache.
    3 c# \: _8 K+ J- H+ X
  188. ; http://php.net/engine+ \/ O; o1 O$ O. W3 l: W" F5 |& H( V
  189. engine = On% ]$ e: V2 ]$ Y! i3 ?

  190. ( B& a2 L7 @3 B7 I
  191. ; This directive determines whether or not PHP will recognize code between
    7 {- e1 ~) ^# T2 j
  192. ; <? and ?> tags as PHP source which should be processed as such. It is0 ^$ Z& t& Q- t- i" f# \+ n
  193. ; generally recommended that <?php and ?> should be used and that this feature
    # G9 n& Q! Z% b% g
  194. ; should be disabled, as enabling it may result in issues when generating XML
    3 s( |3 z; g& E0 g) n
  195. ; documents, however this remains supported for backward compatibility reasons.
    ! h9 J4 ^  C0 e8 i. x9 i5 j5 |, P
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    + g+ z' D2 f3 A6 J
  197. ; used regardless of this directive.
    4 Y4 u- j; n, ?/ J- ]
  198. ; Default Value: On5 g! ]2 ]" K6 d, R! i
  199. ; Development Value: Off
    ! f% Z/ e0 @" ~: b# f4 A
  200. ; Production Value: Off$ O, A3 o% U: h0 |6 d2 H7 \
  201. ; http://php.net/short-open-tag+ b/ [" S* [  b( @* `
  202. short_open_tag = On
    ; Y( p, E9 s* O! W  C: `
  203. # x4 J7 h3 r+ a) Y7 n  `& v7 V2 g
  204. ; Allow ASP-style <% %> tags.' o, l. j+ N( D# P7 X" Y+ R
  205. ; http://php.net/asp-tags
    2 ?9 g" |( ?9 {9 x! z2 R6 C
  206. asp_tags = Off5 B2 G& j) I1 _5 j: B& B8 _- e# {
  207. $ [. ?# V' }3 P& O# g8 [5 ]- Z6 p
  208. ; The number of significant digits displayed in floating point numbers.! J3 J* v, G/ G  v7 H3 y
  209. ; http://php.net/precision
    ! U1 k: y' M9 L( L, u
  210. precision = 14
    $ Q" q8 g7 d& b+ j& g
  211. 1 T; L3 a8 i4 Q
  212. ; Output buffering is a mechanism for controlling how much output data* b& S: w$ ^8 Y
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    2 n0 \& R: X$ A+ a3 k
  214. ; data to the client. If your application's output exceeds this setting, PHP
    3 m2 R. c) d+ s, x! O& h
  215. ; will send that data in chunks of roughly the size you specify.
    7 G/ \4 S8 m* c  V( t
  216. ; Turning on this setting and managing its maximum buffer size can yield some/ c  B7 o4 Y4 |, i" E& v
  217. ; interesting side-effects depending on your application and web server., {5 B: T6 W" r1 p: d8 W
  218. ; You may be able to send headers and cookies after you've already sent output8 u# O  u  d8 i3 B
  219. ; through print or echo. You also may see performance benefits if your server is
    ; [" V1 U$ C9 v* ^
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    * n( @# p, S" n, V
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    - _3 K0 }, a' Y4 B% S' m: z8 @
  222. ; reasons.$ _$ C/ q& v$ x
  223. ; Note: Output buffering can also be controlled via Output Buffering Control! z/ v  |+ D. a  f. O3 t/ t7 w
  224. ;   functions.
    # n6 J2 {5 ~& m9 n7 U6 ^$ ?2 O+ c
  225. ; Possible Values:- `" o( a, }# F0 R$ y2 t; R8 P, c3 S
  226. ;   On = Enabled and buffer is unlimited. (Use with caution): D! M  |3 \0 ~5 d7 ?
  227. ;   Off = Disabled& ^9 K" ?9 a7 E/ `
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ) y% K- [( I% _9 x4 C
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI6 {( o5 K0 g" K" i- F
  230. ; Default Value: Off
      A) L2 ~1 A" y7 s6 _5 m
  231. ; Development Value: 40968 f0 Z3 ]" q% Y
  232. ; Production Value: 4096+ t/ a+ x3 j6 S" I+ \) u
  233. ; http://php.net/output-buffering
    ) i$ o$ l' @( t3 b% ]- P
  234. output_buffering = 4096
    ' [( J; \$ \7 \4 t
  235. 0 K. G0 u; o2 u: [& y. b+ @7 u  t& E
  236. ; You can redirect all of the output of your scripts to a function.  For
    ) D& c* B+ i; V; J; g
  237. ; example, if you set output_handler to "mb_output_handler", character
    8 }- v7 r1 ^8 E( ]; \5 u6 z% c
  238. ; encoding will be transparently converted to the specified encoding.
    , c" w% w' \8 f
  239. ; Setting any output handler automatically turns on output buffering.' \4 k  r6 z4 L1 Q+ T$ Q
  240. ; Note: People who wrote portable scripts should not depend on this ini7 [% s0 ?) Y/ |3 _3 {
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    - u4 G, t7 Z3 M- w
  242. ;   Using this ini directive may cause problems unless you know what script4 X* [8 A0 `* B% A
  243. ;   is doing.3 K  [8 [7 c5 V. A2 w/ U" n
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"- N5 f) s+ V- [  U1 R
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    1 D5 b: j- {$ r, n
  246. ; Note: output_handler must be empty if this is set 'On' !!!!; J( i5 t& b. z, [) D
  247. ;   Instead you must use zlib.output_handler.
    8 @+ x, m  n+ {7 k- B9 U
  248. ; http://php.net/output-handler
    : X. I$ a/ K) C7 d7 E
  249. ;output_handler =1 d! a8 z7 L2 X. C
  250. 9 e7 L7 V) g9 y! M4 Z! G5 F
  251. ; Transparent output compression using the zlib library
    , \' V2 v) k% h( F" X! ?( V9 p
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    / U! Y% Y8 k, K4 P; `5 ~
  253. ; to be used for compression (default is 4KB)
    " y0 L( d+ t: t$ a
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
      Q9 q* P' P7 D/ h& S- t8 M
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    ( x, Y) }8 O* M- g3 Z3 N3 ]( F; T
  256. ;   compression. If you prefer a larger chunk size for better. F- X4 N( U& A( n7 _( H
  257. ;   performance, enable output_buffering in addition.5 {& j" T  Z/ `. V
  258. ; Note: You need to use zlib.output_handler instead of the standard: G* Q4 [6 \9 k0 F$ g
  259. ;   output_handler, or otherwise the output will be corrupted.
    , N( |* d6 Y% A, k2 Z
  260. ; http://php.net/zlib.output-compression1 X% X$ h% G: [7 r  Z. A6 b
  261. zlib.output_compression = Off
    + j$ i) m+ f# v7 L& g$ e! r0 j, w

  262.   Z2 ]5 r8 S- T( C6 A3 }
  263. ; http://php.net/zlib.output-compression-level* ?: K9 I0 _8 i0 J2 P; Q
  264. ;zlib.output_compression_level = -1" @0 J, [& K" ~9 {2 K. j
  265. " y2 I* _  i/ k, x$ p/ `! A( I# p
  266. ; You cannot specify additional output handlers if zlib.output_compression) q- i/ v9 p9 ^' k1 ^1 k0 h" a
  267. ; is activated here. This setting does the same as output_handler but in9 c2 Z- ~+ c3 v# c" [  |) U* }2 o
  268. ; a different order.
    ) g$ f: X; C* c# q2 f: T0 z' U' u
  269. ; http://php.net/zlib.output-handler
    , M* ^4 V) _! J
  270. ;zlib.output_handler =: o) ?/ X3 W* r( O
  271. 1 Y3 B: O6 E" g! u6 V
  272. ; Implicit flush tells PHP to tell the output layer to flush itself  b2 C  T' ?. G. ]
  273. ; automatically after every output block.  This is equivalent to calling the# }' G8 Y9 ]) R, D3 D1 w6 x8 t0 Z0 ~
  274. ; PHP function flush() after each and every call to print() or echo() and each! c: ]' s) F& ^$ H6 B# v  y/ d+ D
  275. ; and every HTML block.  Turning this option on has serious performance
    , k$ W3 F/ k! R) F7 ]
  276. ; implications and is generally recommended for debugging purposes only.8 a) K- y7 ~; @! I
  277. ; http://php.net/implicit-flush
    7 b! o- H) \/ ~9 R& R7 H
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    2 ?6 L& ^! [; ^" d! |& [% |# z
  279. implicit_flush = Off% h# D6 f, g8 B4 h

  280. ( b% |. C0 X& L5 l9 O) `
  281. ; The unserialize callback function will be called (with the undefined class'$ l/ J$ e. H9 z% A
  282. ; name as parameter), if the unserializer finds an undefined class8 Y/ @: ]% ]3 a; ?: ^3 D, c
  283. ; which should be instantiated. A warning appears if the specified function is! k$ b; Q( o' }( v7 }; U1 _' D
  284. ; not defined, or if the function doesn't include/implement the missing class.* U/ j1 i8 @3 P3 S
  285. ; So only set this entry, if you really want to implement such a- Y* i! Q, y. L5 I9 O
  286. ; callback-function.) ^& I$ H- }% ]6 M4 Q, i
  287. unserialize_callback_func =' t' ~: P8 J) M7 R% y1 x0 N2 J; q/ W
  288. & R, p+ U  l5 R# ~& m6 _
  289. ; When floats & doubles are serialized store serialize_precision significant
    % k# V# i, ^- T6 o  {6 E. O! {; v
  290. ; digits after the floating point. The default value ensures that when floats
    9 Q: D2 {: X( Y; U! K+ O
  291. ; are decoded with unserialize, the data will remain the same.* e& @; y& a7 d& x. _! m- b
  292. serialize_precision = 17
    7 t, f; h. X& i3 i# J! d* a
  293. + ^6 t2 [& c6 ]  e3 F
  294. ; open_basedir, if set, limits all file operations to the defined directory
    # N" Q" I9 \7 r$ C2 C- L+ n
  295. ; and below.  This directive makes most sense if used in a per-directory0 Q$ X# k3 S% P  p# f
  296. ; or per-virtualhost web server configuration file.
    ) A8 ?5 ]: W0 v2 C8 E/ x5 t
  297. ; http://php.net/open-basedir
    9 T1 W* f5 s; F" a0 \6 U
  298. ;open_basedir =" C0 V& }* Q7 k2 n! a# i. f
  299. 5 t& R; g6 ?5 y, X
  300. ; This directive allows you to disable certain functions for security reasons.
    ; Y  K+ |; ^: `3 K
  301. ; It receives a comma-delimited list of function names.
    ; v! o$ H' u/ [! a- o" i0 E
  302. ; http://php.net/disable-functions9 |  z' I% s9 |4 w. O( v6 P* w8 @" ?
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    7 {: Z) v+ Q# _
  304. 4 F. k0 K7 J3 K: {! r
  305. ; This directive allows you to disable certain classes for security reasons.3 l1 D+ `3 E& K/ |+ N0 k% i
  306. ; It receives a comma-delimited list of class names.
    8 c9 Q- v( e/ p: E
  307. ; http://php.net/disable-classes
    . v. I9 O7 R: e9 d9 v8 s
  308. disable_classes =# V" y4 V  d" E# @& ]" D

  309. & K0 J, U7 j5 h- l! h, d
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    5 F$ v; i" k- F1 [8 F0 ^
  311. ; <span style="color: ???????"> would work.4 U5 E/ x8 j1 }' x. D* ?2 F0 J1 ]
  312. ; http://php.net/syntax-highlighting# \) L9 d* l! T$ V! d) W6 v  ]
  313. ;highlight.string  = #DD00004 R2 E% x7 m% K5 A% R" u7 `$ ]  D
  314. ;highlight.comment = #FF9900
    ) L1 Z9 n. j( f
  315. ;highlight.keyword = #007700! I% p8 ]/ |$ s! d& W1 g
  316. ;highlight.default = #0000BB8 W* D& {  H+ H0 r/ n
  317. ;highlight.html    = #0000001 B( w  l0 C- s- `  \( n7 D

  318. 7 h: V& u; `( A3 |& N
  319. ; If enabled, the request will be allowed to complete even if the user aborts2 E7 x7 X6 d3 D
  320. ; the request. Consider enabling it if executing long requests, which may end up
    3 J8 H/ b: D1 j5 I# c1 F* P
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior1 j3 U- e1 j/ g! e
  322. ; is to disable this feature.) I4 a% O: \1 l7 ^
  323. ; http://php.net/ignore-user-abort! ^( O& ]& V. s8 W$ e+ g
  324. ;ignore_user_abort = On* \6 F: r# b$ x$ J& M% x' X  k
  325. + i2 N7 y, ~. a6 O' h6 N$ W+ K
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    3 J, v) n) T$ n" m
  327. ; be increased on systems where PHP opens many files to reflect the quantity of4 P4 }7 W% O8 ?! z
  328. ; the file operations performed.
    ' B, D) n! f4 \- S, P+ s
  329. ; http://php.net/realpath-cache-size# d4 _' |+ W4 w( |/ `: W+ |
  330. ;realpath_cache_size = 16k
    4 V. A8 v% C4 w* N

  331. 0 ]% E. I- Q8 R5 D0 G$ l' v( V
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    : j9 N' {+ e/ A& c0 ?
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    : Y1 i) Z$ K, q  ~5 m
  334. ; value.' j$ V2 \$ F& `4 J+ ?! k) @  K
  335. ; http://php.net/realpath-cache-ttl/ E% R; Q/ c1 r+ [
  336. ;realpath_cache_ttl = 120
    : `; g, U% V: e; N) H" z0 K; ^- B
  337. 9 S: d. S# o, |4 k+ R) U
  338. ; Enables or disables the circular reference collector.) t5 `) j* \: |0 ]% d
  339. ; http://php.net/zend.enable-gc. e" _8 _4 k3 U0 _) h% s( t! B
  340. zend.enable_gc = On7 |# [, U& B/ b& X( f$ ?) C0 \
  341. % `) H7 \. E+ J5 g2 b4 v/ m
  342. ; If enabled, scripts may be written in encodings that are incompatible with9 Y1 M2 Q0 W% A
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
      r! x, G4 G* s3 ]* Q
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    7 z# t9 j6 L& d4 p& B6 K+ y
  345. ; Default: Off! _* [  r( X4 h9 k
  346. ;zend.multibyte = Off/ a# V  K- _" @- R

  347. : E+ l" Y; o+ d
  348. ; Allows to set the default encoding for the scripts.  This value will be used2 f2 L8 H9 {4 p* p$ ~" H: V
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.) c- j6 g, W1 C: s" H
  350. ; Only affects if zend.multibyte is set.
    5 R% z- }2 Z7 R! l0 [& e+ ?4 Z
  351. ; Default: ""
    7 X( P7 D0 I2 Q2 h. o, M  [
  352. ;zend.script_encoding =
    - m2 @5 F9 G! o1 d9 z( n
  353. : n- _( ?) K! F) ]: h2 U8 g
  354. ;;;;;;;;;;;;;;;;;5 e  [4 P  r& T9 D3 m# u" y
  355. ; Miscellaneous ;7 i) p% R" R1 b2 ?
  356. ;;;;;;;;;;;;;;;;;/ r; g2 x' `7 F" u/ \! s" F

  357. & C5 y6 C; I6 T% x1 \7 V
  358. ; Decides whether PHP may expose the fact that it is installed on the server" U; e0 ?, Z/ N4 g  t+ o
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    3 ?- X' C. a/ M/ z
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    - J9 c& S% ~, V! F$ _
  361. ; on your server or not.9 Q  f( O5 O3 P# T5 D; Q
  362. ; http://php.net/expose-php3 [. [- v  ~( h( ~% r# P( d' L
  363. expose_php = On* A: _8 m, X7 q
  364. 2 t" U$ {$ p, z3 N2 b; U
  365. ;;;;;;;;;;;;;;;;;;;% ?; p9 X; _8 h  e: Y( p
  366. ; Resource Limits ;: z, y! U+ m0 M% c7 j1 e
  367. ;;;;;;;;;;;;;;;;;;;9 P3 o$ E4 n6 Q$ F' E4 @
  368. 8 P" k3 d; K1 o6 x1 B) g1 I7 t
  369. ; Maximum execution time of each script, in seconds
    - p; Q- h3 t, }: y$ T% C. N( X0 T
  370. ; http://php.net/max-execution-time6 a/ ]6 s! z) ~- a
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ; }( y! l3 p3 u8 Q8 H
  372. max_execution_time = 300' B& g8 Y; Y) j
  373. 6 j9 j6 |7 ]) j. T' s
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    " p- |  s4 U$ }1 A
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    1 f& r3 w. ]5 _$ r- c
  376. ; long running scripts.
    & c2 Y5 G/ @5 h/ v
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI. D. e. w0 c) M& J  T5 x
  378. ; Default Value: -1 (Unlimited)
    , ?" s  u5 l; a9 e# _- a$ u
  379. ; Development Value: 60 (60 seconds)
    9 O/ \' c. Y  x8 Z' ~
  380. ; Production Value: 60 (60 seconds)
    2 W4 R; R# |3 n' I7 G  V" f
  381. ; http://php.net/max-input-time4 J7 S9 V9 h3 l9 W
  382. max_input_time = 60
    6 i' c. `2 y& _

  383. " P% d; ?3 i9 F1 H2 [5 W
  384. ; Maximum input variable nesting level
    " Z2 W! ]$ n1 l9 [; b0 c8 `  A
  385. ; http://php.net/max-input-nesting-level  e3 N* h+ K9 M4 O3 d
  386. ;max_input_nesting_level = 64
    - u! a) u/ a2 X6 r% m9 g

  387. 5 Y0 n6 O- D. _; F8 J7 B
  388. ; How many GET/POST/COOKIE input variables may be accepted
      R8 O2 w4 G& E  [: ^7 t- o7 [
  389. ; max_input_vars = 1000. A- k; _& e( J. R2 a& E- {* b
  390. 7 k# G9 V# s6 f
  391. ; Maximum amount of memory a script may consume (128MB)# \! E* k" d: `; u5 e5 A3 v: L$ d/ N
  392. ; http://php.net/memory-limit9 B; S1 l* L- L3 B% W& d, n
  393. memory_limit = 128M
    + S3 I8 m5 V9 P& z9 a
  394. & Q; b& e: X! B) s1 @2 G* N
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7 O  Y4 J" ^) `4 i
  396. ; Error handling and logging ;5 K( q7 Q; S$ V/ E$ P7 G# K
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $ q  O. {  N7 ^0 A

  398. 4 q! B5 l( L, o) X! L: y+ b% ~
  399. ; This directive informs PHP of which errors, warnings and notices you would like; T: P2 ?! B4 F& T
  400. ; it to take action for. The recommended way of setting values for this- Y  S7 b# C+ M2 g6 \3 i/ q
  401. ; directive is through the use of the error level constants and bitwise
    5 U* R& `8 A6 B5 T5 S
  402. ; operators. The error level constants are below here for convenience as well as1 X# @, M& b6 K% K% S) R: X
  403. ; some common settings and their meanings.4 c( ]' }( l8 m4 ?. p0 [- M
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT" O$ I5 p8 f6 S2 X8 t$ @1 R: {
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and5 c, t2 G6 U+ u9 ~$ M1 T
  406. ; recommended coding standards in PHP. For performance reasons, this is the4 Y2 u5 x& f3 q' x& P7 @
  407. ; recommend error reporting setting. Your production server shouldn't be wasting/ ^5 {& ~0 S1 O' [5 t6 S
  408. ; resources complaining about best practices and coding standards. That's what
    & g# F# }; b: m/ S' z  x
  409. ; development servers and development settings are for.  C  [; ~6 |- y* j
  410. ; Note: The php.ini-development file has this setting as E_ALL. This- K. s7 v) k( ?6 X% T( a
  411. ; means it pretty much reports everything which is exactly what you want during) `; E. {& \4 [. T2 a3 V
  412. ; development and early testing./ }& u1 H* P5 q3 _: @9 I
  413. ;5 B: g! a  {6 d+ U  G# F: M# u
  414. ; Error Level Constants:
    ' f  r/ W; t2 [* r+ {
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    7 e, e- |& ~, R, k) C* b  l
  416. ; E_ERROR           - fatal run-time errors7 w/ V1 s' U+ v* L  Y7 x
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors! K' q2 C# ?8 P0 Y# }) ]* o# d
  418. ; E_WARNING         - run-time warnings (non-fatal errors)' ~4 {& r8 K) U; ^" m/ L
  419. ; E_PARSE           - compile-time parse errors9 B! g1 Q- d/ W, ?( Z  J
  420. ; E_NOTICE          - run-time notices (these are warnings which often result# @* M) e* N' a
  421. ;                     from a bug in your code, but it's possible that it was4 ?+ ?% k' l! ?6 H1 d4 N2 t# I
  422. ;                     intentional (e.g., using an uninitialized variable and# y% F. J" r( k* z; b
  423. ;                     relying on the fact it is automatically initialized to an
    / q2 m0 V. ]" L
  424. ;                     empty string)3 ~5 l, l1 ~5 W5 U- c/ V, `1 N
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    & a% `3 g7 m% C# H3 H7 M
  426. ;                     to your code which will ensure the best interoperability
    , P% d/ j& a+ s: O( h6 {2 k
  427. ;                     and forward compatibility of your code
    - K9 x+ |6 V& o* m* L
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    & V  d& {6 ^* u7 A% \% p
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's+ \0 r. L# l8 w) r  W* `. i# ^
  430. ;                     initial startup
    9 ]" N2 l- H" v' |$ L4 m
  431. ; E_COMPILE_ERROR   - fatal compile-time errors) H$ }/ j4 L3 x) y. ^3 R0 |* @
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    6 l. g3 V4 f% F; V  W! `) N
  433. ; E_USER_ERROR      - user-generated error message4 S7 r6 Z/ ~3 K, {! i( t" a3 Q
  434. ; E_USER_WARNING    - user-generated warning message( p+ a$ ~; `6 E; E
  435. ; E_USER_NOTICE     - user-generated notice message
    0 q4 E: G4 P. @# s
  436. ; E_DEPRECATED      - warn about code that will not work in future versions8 l- ~% G4 d$ q$ O3 v
  437. ;                     of PHP) m  f* A. y/ H. _6 u6 B
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings; }) X0 ]) k# V8 l
  439. ;
    ! \+ A; ~& }# j. c8 e! g/ \
  440. ; Common Values:2 S  }# f1 E/ d
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)! x9 a/ e* I! u" h% \4 ^2 Q
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    1 s4 `+ [6 L$ R+ h1 P! V
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)5 g0 U( {5 {  [" q* E
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    , h& N: d5 a- f- F, W4 J1 P: m
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED0 ]0 d( C, I3 `  L6 r
  446. ; Development Value: E_ALL- v1 Z' y' ^$ p/ [
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT" g) R: s/ k3 E( o5 W8 I
  448. ; http://php.net/error-reporting
    6 {! ]+ i4 S3 m0 x6 U# g9 I( q
  449. error_reporting = E_ALL & ~E_NOTICE
    ) F) w( `% x! j0 V; A: W( Y1 a
  450. ) q  y2 X; U& g+ G: S2 z
  451. ; This directive controls whether or not and where PHP will output errors,( Z3 N9 ?3 H+ ?, l& K) ]% u! ~8 o. [
  452. ; notices and warnings too. Error output is very useful during development, but
    & K. B* P1 y$ W
  453. ; it could be very dangerous in production environments. Depending on the code
    + d! S. d, L. L' P5 |
  454. ; which is triggering the error, sensitive information could potentially leak
    ( E5 `- `' z, ?* o5 L8 g
  455. ; out of your application such as database usernames and passwords or worse.; ?7 V( F, Z" n, G$ u2 b1 ^+ X8 {
  456. ; For production environments, we recommend logging errors rather than6 k1 l% J2 z4 o+ _1 e" {) c' _
  457. ; sending them to STDOUT.3 {* j% \2 i0 h8 A4 |- m1 P: u4 Z
  458. ; Possible Values:0 m: O5 a- C2 n
  459. ;   Off = Do not display any errors( p8 T! H- h% u2 ^" k2 K
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    + w# o9 l+ o9 c5 A* x+ O
  461. ;   On or stdout = Display errors to STDOUT
    . F+ c, U1 X+ U) v7 T1 S! t, ~
  462. ; Default Value: On
    $ E' m% [2 ]9 v- M& C  x
  463. ; Development Value: On" D" J9 r! @  N# C. l8 @
  464. ; Production Value: Off
    1 l1 D9 |& o2 N8 S( V
  465. ; http://php.net/display-errors
    / b# V. M8 ?, _4 v' u0 l' t
  466. display_errors = On
    # g# a) i. B! C- Y% _+ N9 }
  467.   G, L% Y4 ^9 L: i/ x
  468. ; The display of errors which occur during PHP's startup sequence are handled
    # F8 V3 m2 u' m" T9 c
  469. ; separately from display_errors. PHP's default behavior is to suppress those5 \" x; U& U2 g  _3 w  g& g( \
  470. ; errors from clients. Turning the display of startup errors on can be useful in% N; p8 `+ n: g8 A8 `6 W
  471. ; debugging configuration problems. We strongly recommend you
    + F# o/ W4 u) @$ E# Y. @2 v
  472. ; set this to 'off' for production servers.4 W- S8 g# A8 Y" w' W7 v( Q
  473. ; Default Value: Off
    $ k* @9 k5 V7 H& u0 p
  474. ; Development Value: On
    : @! ]  I( r& Q1 z7 |+ s3 U
  475. ; Production Value: Off
    , `3 p! N: J' C% E/ w% m; [+ K& w/ a
  476. ; http://php.net/display-startup-errors' R. b* E* Q0 N8 V, E" l
  477. display_startup_errors = Off
    3 ]( I' B+ @/ }' K5 \9 D

  478. $ ^" _3 r5 q2 L( b8 ~1 K
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    ) n: l; L5 p  g: \
  480. ; server-specific log, STDERR, or a location specified by the error_log  h- a4 G& M2 l2 M* p: ^; v8 F
  481. ; directive found below. While errors should not be displayed on productions
    0 I& g: N( P' R8 v" o; ~
  482. ; servers they should still be monitored and logging is a great way to do that.
    6 x: z5 F+ j# f/ {
  483. ; Default Value: Off
    ' d; v$ [9 P6 {  K0 \# ~$ u
  484. ; Development Value: On
    & y# `: z  v- h8 c, k# e! h2 Q
  485. ; Production Value: On6 A5 D3 i( [% u$ p, U" g
  486. ; http://php.net/log-errors0 L$ @) g* i' H+ j; D( K
  487. log_errors = On
    9 A5 }# Z4 v8 F. Z
  488. 9 S, a% Y1 {* u, \) R
  489. ; Set maximum length of log_errors. In error_log information about the source is7 o9 n! c$ H! p+ I; o3 W
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    : W& r: |  ]% b1 [4 f; L2 `1 S# w
  491. ; http://php.net/log-errors-max-len9 T( ?6 Z3 E: U, P# t
  492. log_errors_max_len = 1024+ }' ]2 z6 l3 w  p

  493.   U' h1 l3 J8 r0 Y9 d
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    " V2 N2 @- B6 O
  495. ; line unless ignore_repeated_source is set true.4 [8 O+ U9 E6 Y" G& N; [  r
  496. ; http://php.net/ignore-repeated-errors
    9 Y# r7 [9 [$ w7 U
  497. ignore_repeated_errors = Off. I/ z6 r7 O0 H$ @% ^  H/ X
  498. 2 }2 @) `( O% A/ r' e) b+ D- s* G$ Z
  499. ; Ignore source of message when ignoring repeated messages. When this setting3 Z# E+ ?2 D9 z" z+ C* P( j5 g
  500. ; is On you will not log errors with repeated messages from different files or
    & I5 Z! d2 Z4 d) [" t
  501. ; source lines.. i5 C: G& P+ U
  502. ; http://php.net/ignore-repeated-source
    3 H1 \$ F* M1 F. v& W$ o
  503. ignore_repeated_source = Off% K9 o' n3 _8 M7 G" @5 r0 @# x  c
  504. 7 {+ q/ A* M; R7 |& o# {7 o' q! C/ \
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on, G& C  l- V2 O) t3 k! Z) u
  506. ; stdout or in the log). This has only effect in a debug compile, and if" b% l$ _9 A: h$ F9 H
  507. ; error reporting includes E_WARNING in the allowed list, I6 ~9 f: E/ e, P
  508. ; http://php.net/report-memleaks. @0 C& m- `! u+ H4 f. _6 W7 c
  509. report_memleaks = On
    , i, }( s6 g( a
  510. 2 g( X; S9 L6 X
  511. ; This setting is on by default.
    2 I/ z4 R3 q, s, k& e
  512. ;report_zend_debug = 0
    " B5 b" A( s  b5 @& D
  513. & [, D8 u+ W3 W3 Y
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value0 V" {2 S8 Z2 _! n& q0 w  w
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    0 T/ b9 X0 G, ^. Q7 E8 I
  516. ; however be disabled on production servers.
    % d4 \* X5 g0 F8 r. X. i
  517. ; Default Value: Off
    7 H2 I! A; g5 l; C/ R( R  T+ v
  518. ; Development Value: On% m  x3 I! D! m' C9 ^( `
  519. ; Production Value: Off, c+ U  d3 I4 R* E: }2 o) p
  520. ; http://php.net/track-errors
    8 g) h5 ]& V7 `0 B
  521. track_errors = Off
    3 l5 y) ^$ d% F: K9 s* i- ]2 ?. b
  522. 2 l$ Q4 Z5 T# V
  523. ; Turn off normal error reporting and emit XML-RPC error XML
      u3 u. G+ i( d' v- E
  524. ; http://php.net/xmlrpc-errors/ j& \: [/ }7 @) e! b2 A* }
  525. ;xmlrpc_errors = 0
    - }3 Q) W4 ^' W# ^% v+ |

  526. 7 m' ~! w. a9 n' h- w) ?4 P
  527. ; An XML-RPC faultCode" [3 v  Y* l9 n
  528. ;xmlrpc_error_number = 0
    6 K4 d6 T4 b7 J( L; H* E

  529. & I- Q4 |- _. B) L% }. r5 Q
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    / a  c$ p! ?* F  k
  531. ; error message as HTML for easier reading. This directive controls whether9 s+ _- F  V7 t+ F. f' T2 a5 r
  532. ; the error message is formatted as HTML or not.; J- Q: d. n% Y5 f/ R
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI+ ~+ @/ P6 G, I+ k
  534. ; Default Value: On
    $ E. }* g+ m2 c: S6 C0 }
  535. ; Development Value: On
    / K1 L+ Q% _# `  w, Z3 s# G- s
  536. ; Production value: On. ?. B) v8 K* i+ L$ _0 \
  537. ; http://php.net/html-errors: k$ c6 Z6 [  `4 h' x6 a5 [
  538. html_errors = On% y. P1 V8 C- k3 B9 R
  539. 1 W/ s' x/ o$ K' V5 e% g
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ; U% m3 H/ M. Z8 F7 [8 U3 w
  541. ; produces clickable error messages that direct to a page describing the error
    & J) L- R- p+ Q
  542. ; or function causing the error in detail.
    8 r4 Y4 o9 v* _! |7 y% r
  543. ; You can download a copy of the PHP manual from http://php.net/docs- D4 Q1 _. ^% i0 C  K
  544. ; and change docref_root to the base URL of your local copy including the5 g5 |$ G. Z0 w" Z1 J. Y" M$ ]; G
  545. ; leading '/'. You must also specify the file extension being used including1 Y: d4 s" e% n
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    . y: m; z7 _8 y- G3 d- k
  547. ; case no links to documentation are generated.
    3 j* }# M! z1 c2 A
  548. ; Note: Never use this feature for production boxes.
    6 h, P1 b9 m- S) A4 p+ m
  549. ; http://php.net/docref-root. t' k, L9 C: G' f' ?' h, c
  550. ; Examples
      U1 V! x6 Z* [" V  O: J
  551. ;docref_root = "/phpmanual/"
    1 N* ]# e0 R6 e) L4 U1 c$ c: y

  552. 3 {* q! j: q* p# q
  553. ; http://php.net/docref-ext' A1 D3 R2 g; ]" V% r
  554. ;docref_ext = .html
    " O, S+ v1 O# Y9 y- ^+ b% N

  555. ) K; Q2 T4 j0 ?& T2 t
  556. ; String to output before an error message. PHP's default behavior is to leave
    & t9 A* Y/ i1 p- z' j3 `# j- n
  557. ; this setting blank.. v3 E# o  g  X
  558. ; http://php.net/error-prepend-string
    4 X/ V1 X' S  V/ p8 F% z, ~
  559. ; Example:
    : }* L1 H/ A/ Q' c9 f! w! F2 X0 c
  560. ;error_prepend_string = "<span style='color: #ff0000'>"5 u4 \( o& e$ ~& h3 L7 P+ k

  561. ; T% [/ l4 f9 P" [" Q( P% f" x  E
  562. ; String to output after an error message. PHP's default behavior is to leave; A7 \& ]' m4 Y( l
  563. ; this setting blank.
    1 [$ S/ |* B$ w' \
  564. ; http://php.net/error-append-string
    $ W9 v0 b3 W3 p8 P! Y
  565. ; Example:
    * h+ [2 |" {1 C- J
  566. ;error_append_string = "</span>"
    $ H6 `& V) j: l3 z( N
  567. 7 ]) A8 K0 Y1 w  n! c
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    5 X3 Y3 H' m7 G+ U% h$ H0 ?
  569. ; empty.! `* |3 T% V' [& e
  570. ; http://php.net/error-log
    - P+ J  z6 S  P1 u1 R+ _; `. g+ k
  571. ; Example:. R2 B/ ?5 x5 \1 l1 X7 Q
  572. ;error_log = php_errors.log8 W! t6 z3 {- I6 K% m  R7 G
  573. ; Log errors to syslog (Event Log on Windows)., p) d9 I- {' }9 c
  574. ;error_log = syslog
    # p' v: U) S5 }5 h5 L

  575. * e* Q$ E, S: K. }
  576. ;windows.show_crt_warning, ?( n/ [8 l  M! Y2 n: ]+ j" K
  577. ; Default value: 0
    4 `' c0 V) ?7 k
  578. ; Development value: 0/ r" F% p0 f% {* |8 n, S4 `- r
  579. ; Production value: 0
    * x5 \7 P+ A. z' D9 Y, g

  580. 8 @7 u3 F8 ~( \+ \; F1 F% Z
  581. ;;;;;;;;;;;;;;;;;
      s6 z4 f, D+ |: x- _/ l7 K& h
  582. ; Data Handling ;
    # n7 ?. |6 [- a3 _9 i, J9 `5 l
  583. ;;;;;;;;;;;;;;;;;
    + i; f% m4 P. p- I% R2 K9 _' T

  584. 9 e8 I2 J5 F. _+ }5 |
  585. ; The separator used in PHP generated URLs to separate arguments.8 g# o) N. t: Y
  586. ; PHP's default setting is "&".+ Z. C# D4 G* X6 X. E) ]' H
  587. ; http://php.net/arg-separator.output
    * g+ ]2 R# z2 z% j
  588. ; Example:
    . [' r$ c. A; ]& a( Q# j( B
  589. ;arg_separator.output = "&amp;"+ ?2 w* g. ~# i+ a/ r. y0 f
  590. 6 W! j! M& ~2 U2 @( [1 N$ X
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    9 I2 a: H& D3 m- g
  592. ; PHP's default setting is "&".$ Z5 k) r5 B$ `8 \% H/ h
  593. ; NOTE: Every character in this directive is considered as separator!
    ; ?# ~) R+ J, {
  594. ; http://php.net/arg-separator.input  }9 l7 y/ `! q8 C2 F& D% C" I0 b! L
  595. ; Example:$ c# e) d3 g# g0 `  _
  596. ;arg_separator.input = ";&"
    / Z4 X8 ]6 B6 w# \/ _
  597.   Q4 f4 S& Q( U$ r5 L( w
  598. ; This directive determines which super global arrays are registered when PHP
    0 ^- w* D8 ~. L0 ^8 i) ~
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super( m' m' Q: J( E0 M& d& D7 p' Y
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    & @% s5 I7 H& x8 s2 ]$ D, H
  601. ; paid for the registration of these arrays and because ENV is not as commonly  B5 F8 [. h" F& d( S! l
  602. ; used as the others, ENV is not recommended on productions servers. You! f% ]/ D9 P/ t; G; q$ H
  603. ; can still get access to the environment variables through getenv() should you5 M5 y/ Z7 O* k
  604. ; need to.  D; h9 G! T; j
  605. ; Default Value: "EGPCS"  {# D& e# U' o
  606. ; Development Value: "GPCS"; [9 y. i: G+ k1 `) f6 R
  607. ; Production Value: "GPCS";
    8 Z) m9 G# k" o: v
  608. ; http://php.net/variables-order
    ! K: b$ ^' G- H" O6 J
  609. variables_order = "GPCS"4 o6 s6 ]% r' O; L3 N5 t

  610. 1 S, m/ w" h' ?
  611. ; This directive determines which super global data (G,P & C) should be
    + t" v5 Y' j$ t
  612. ; registered into the super global array REQUEST. If so, it also determines( R5 j" c: Y8 [3 E" X
  613. ; the order in which that data is registered. The values for this directive
    . a" c6 g4 T, o1 M
  614. ; are specified in the same manner as the variables_order directive,/ O1 o+ e) j' P; a! I) ^
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set& F) k; L( E( r% h
  616. ; in the variables_order directive. It does not mean it will leave the super+ x9 u- z6 M* o* i/ q6 @8 v) b
  617. ; globals array REQUEST empty.& H$ _. ^9 ]; ^' j6 W$ G
  618. ; Default Value: None9 O( a$ u, S( X; ?7 D- B
  619. ; Development Value: "GP"# z/ F% V4 j# q% |+ Y/ Q
  620. ; Production Value: "GP"
    - @4 m3 a4 @6 W
  621. ; http://php.net/request-order
    : |& l8 S, h6 a3 _! M
  622. request_order = "GP"+ t" }% q* n/ E) h, K+ E
  623. 6 Y+ F( W1 K9 Z' f
  624. ; This directive determines whether PHP registers $argv & $argc each time it) |) i: P7 S/ T6 R$ d
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ; m1 q( H  m# t
  626. ; is invoked. $argc contains an integer representing the number of arguments3 X; z8 k# M) u* \& E
  627. ; that were passed when the script was invoked. These arrays are extremely' y5 W' H* c  h
  628. ; useful when running scripts from the command line. When this directive is
    6 j, m  {- G0 ^6 ]) X+ I
  629. ; enabled, registering these variables consumes CPU cycles and memory each time7 Z5 A; z$ Z! J% A: {$ v
  630. ; a script is executed. For performance reasons, this feature should be disabled
    % w. \' f# C1 s) T/ D, T
  631. ; on production servers.
    / e/ c) n5 s& y6 ~
  632. ; Note: This directive is hardcoded to On for the CLI SAPI: w, M6 q: I, \1 Z3 u9 `9 t9 u& Z
  633. ; Default Value: On
    # `1 P) [+ |. |$ u3 P4 X
  634. ; Development Value: Off  f) z) r& c' Z1 j
  635. ; Production Value: Off$ o# H/ Z; J( [1 q. b
  636. ; http://php.net/register-argc-argv
    4 R( F' C' `& l$ T; g3 @
  637. register_argc_argv = Off3 o" D( A# F. @' d4 F# y* r6 m
  638. * x0 _- B7 l( T5 B
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're7 Y  {9 F% x% f5 M
  640. ; first used (Just In Time) instead of when the script starts. If these
    1 I1 [) y# [; i& S0 P# v
  641. ; variables are not used within a script, having this directive on will result
    2 _$ j# k2 a- Q0 X
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    . b7 Q9 s9 G5 E5 s, T
  643. ; for this directive to have any affect.
    ! j  R+ K* q+ t; x* p
  644. ; http://php.net/auto-globals-jit
    ! W) h  R$ X) g: V0 ~  |' O; C6 z; i
  645. auto_globals_jit = On
    : `% b: {4 `" @$ s9 e- W7 o
  646. ' C$ ~  Z) w' ^' \- T; Q# q8 S
  647. ; Whether PHP will read the POST data.
    9 l/ T( v1 q' n
  648. ; This option is enabled by default.
    * V4 U" D4 U( j9 L1 x  d
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    5 J5 _' @4 ]2 \+ y/ E  L0 A
  650. ; and $_FILES to always be empty; the only way you will be able to read the: y, B2 C/ [6 S8 W9 U8 h$ d0 C* ^+ Q
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    8 i" X/ z: D& c7 O# F: h5 n& i$ w  P
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.9 l5 z4 s- z9 Q, \
  653. ; http://php.net/enable-post-data-reading  `$ A6 S& R& \5 X- Y
  654. ;enable_post_data_reading = Off
    ' @& u8 O  B) I  |' [

  655. : k$ C- e. O# Q. J# t
  656. ; Maximum size of POST data that PHP will accept.
    * |1 m; M4 U/ t; Z
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading( M, q, q) R1 o4 T. U
  658. ; is disabled through enable_post_data_reading.
    8 O/ M3 q9 Y& K) C8 u+ }, B  g
  659. ; http://php.net/post-max-size9 f3 K* N  A/ d  ]" X
  660. post_max_size = 50M
    % S4 A' j7 F- H
  661. 5 g9 w& p# m4 n; F0 H
  662. ; Automatically add files before PHP document.
    4 M4 t; y  z* y* J1 H6 _
  663. ; http://php.net/auto-prepend-file8 S% F! k2 p6 x+ l2 Y4 V+ X7 g0 y
  664. auto_prepend_file =
    + E: @' n8 L; b  N

  665. 1 Z" w4 ^4 I4 p
  666. ; Automatically add files after PHP document.
    . m4 d  s" N  t+ A/ w
  667. ; http://php.net/auto-append-file7 v  S4 S/ f9 H3 h
  668. auto_append_file =( ]' p+ U, B/ r; t; ^( S

  669. 7 K, O& I4 M4 w- t5 K/ i; v
  670. ; By default, PHP will output a media type using the Content-Type header. To
    * _5 M  V/ O# e
  671. ; disable this, simply set it to be empty.' @: B. S! a' g% ]" V% \, l
  672. ;: r( q' t( ~; a7 ^! H
  673. ; PHP's built-in default media type is set to text/html.3 T2 h8 {9 P- y9 i- f) R% I
  674. ; http://php.net/default-mimetype
    / h' y' m, b2 _  c* n7 J3 d9 f' W$ G
  675. default_mimetype = "text/html"
    9 d& g  t$ z. U  B  {9 W

  676. 3 m8 V& O" A7 U) A
  677. ; PHP's default character set is set to UTF-8.. e; M$ [" d; [5 n/ v1 |, I% G
  678. ; http://php.net/default-charset2 @2 o" p5 D8 S4 U: ^7 f
  679. default_charset = "UTF-8"
    9 L: z# m1 A/ b1 S( }( t

  680. ( _+ w% ~& n0 T/ G( h& E& m/ z$ F
  681. ; PHP internal character encoding is set to empty.9 }, X  v5 q, A
  682. ; If empty, default_charset is used./ F3 ~+ X2 `9 s( t
  683. ; http://php.net/internal-encoding
    ! F1 _% g; X0 m* B8 ^+ Q
  684. ;internal_encoding =, F) v2 U8 h; J" P  N
  685. 4 \+ ]9 P8 c7 \. }
  686. ; PHP input character encoding is set to empty.
    . G2 ~, i2 \$ w* D
  687. ; If empty, default_charset is used.
    - P' c8 j6 Z  e7 U+ j8 c. n
  688. ; http://php.net/input-encoding8 W& R* M, ]% l. o0 X
  689. ;input_encoding =
    2 l& b3 W# M8 [1 E1 U: A
  690. 6 X* q3 |; q, o- e9 B
  691. ; PHP output character encoding is set to empty.
    + A3 t% }1 _. w7 s
  692. ; If empty, default_charset is used.
    8 _- O- v: E( Y2 j8 o' x$ Z8 z
  693. ; See also output_buffer.  k& i( @6 h) @$ n- z2 Q
  694. ; http://php.net/output-encoding" ~1 L* D1 f4 F
  695. ;output_encoding =/ h  `5 D) k& ~, u3 `
  696. # v" s( C  N8 c( t: ^
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is% h4 V/ C" A+ V
  698. ; to disable this feature and it will be removed in a future version.
    $ W+ d9 T9 w( W  {
  699. ; If post reading is disabled through enable_post_data_reading,
    + H$ r5 [) e$ ]# b
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ; a) P1 h  s2 Z: d3 C7 F1 U
  701. ; http://php.net/always-populate-raw-post-data5 z+ h) k: K7 i/ D
  702. ;always_populate_raw_post_data = -1
    % P- l% v; v0 V  c9 @) c

  703. 2 X& \, D- l* X" g2 z
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;8 ^1 Q5 U8 b5 ^
  705. ; Paths and Directories ;
    ) ^" [# w6 ~9 S4 s  f
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    8 J, g  [4 B& k

  707. 8 r' \) a4 K" t* F
  708. ; UNIX: "/path1:/path2"
    , t: f  C/ e  }1 z( G" v) |
  709. ;include_path = ".:/php/includes"1 l2 W- _" \6 m1 Q) s7 n% B+ b
  710. ;
    8 V' I$ s) n9 x" F' K4 z2 I
  711. ; Windows: "\path1;\path2"' ?8 l$ _) Q" W$ Q+ s
  712. ;include_path = ".;c:\php\includes"
    ' e, ~8 {% }8 P" b0 }$ o# O8 |) P
  713. ;8 Y- [- ^0 N3 m
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    # }9 Z3 H* E% G4 p0 g- T! Z; h3 N
  715. ; http://php.net/include-path3 u- M% t( I" `0 u& p* s$ R; N! ]
  716. . w0 ?5 }* ~# y. A* L8 n9 E
  717. ; The root of the PHP pages, used only if nonempty.2 |; O5 o( Y4 H) O
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root. u6 y/ f+ \0 n! A6 q" m. B5 t' D& U
  719. ; if you are running php as a CGI under any web server (other than IIS)& I- |3 Y8 O/ _- [  C
  720. ; see documentation for security issues.  The alternate is to use the
    + J# J' s0 D8 \1 s/ V1 U: p
  721. ; cgi.force_redirect configuration below
    ( O$ C/ {6 K3 x  k  E3 q& h
  722. ; http://php.net/doc-root2 n6 u  G" U+ u, i8 K) Z' G
  723. doc_root =7 {: y/ o7 e- `1 n4 I. x. @
  724. , j+ {" S1 J% j! S
  725. ; The directory under which PHP opens the script using /~username used only; |1 L; T( m; B" i. _  F5 \
  726. ; if nonempty.( Z7 B& j; x. S# S. Z: u
  727. ; http://php.net/user-dir
    ; Y+ }7 O$ w9 b% ~+ T
  728. user_dir =& T: V  M$ \: k: ~$ v# S

  729. / d$ y* }* M; a6 q6 P4 i) p4 ]
  730. ; Directory in which the loadable extensions (modules) reside.
    8 c' ^4 v$ D) |- w2 ?! z
  731. ; http://php.net/extension-dir: g/ U7 B9 D9 I( w6 ^7 `; _
  732. ; extension_dir = "./": e% i( i4 t, E  l6 R  n* ?
  733. ; On windows:
    ) y) Y6 V5 M* ^- e5 z+ I; F
  734. ; extension_dir = "ext"% \+ F% r2 M4 E$ q" t: z9 C& |
  735. 8 d( d( ?. M; i$ k$ m) x
  736. ; Directory where the temporary files should be placed.
      M' @/ s+ F% j9 T% Y; |8 T
  737. ; Defaults to the system default (see sys_get_temp_dir)& k" Y% h$ R& q" u
  738. ; sys_temp_dir = "/tmp"0 Q# h5 c& {0 K  A' v2 N  c

  739. 4 g+ F- n5 m, N" w+ q
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    / L6 d: J5 X, e' y: b7 R9 p; r, E* ]
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically$ f' S* Y) ^2 k& L6 i  g
  742. ; disabled on them.
    / f0 b( n4 R! L- s* m2 @, U+ ?+ }3 H
  743. ; http://php.net/enable-dl
    0 O- y) u& I6 t) o( W
  744. enable_dl = Off
    4 u. C8 x5 u/ b; _
  745. + V) f9 i7 {9 ]- k6 g! C& Q: N( P
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    " [6 Z0 [9 ]) `- d2 |
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    , }$ n: c/ K& [9 l6 X
  748. ; turn it off here AT YOUR OWN RISK. T; `0 l! X) W$ |& ^, I1 ^' {
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    0 {  }; K. `8 I" W
  750. ; http://php.net/cgi.force-redirect( [$ {' i: E, B- F1 |
  751. ;cgi.force_redirect = 1
    % o' x2 ^# Z2 v" p5 [
  752. 5 b2 N- D5 A8 o6 D. v. |' ]( K
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with- L; l4 G# i7 L7 u- i
  754. ; every request. PHP's default behavior is to disable this feature.
    0 L$ r5 x5 N4 F1 h" X
  755. ;cgi.nph = 1: Z7 D- v: f- |# {; d% H

  756. ' [. M' J1 U3 e5 A) P
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    % X# F) Q1 J4 d/ D% C7 X
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; E7 e7 f/ R, c+ R, x7 W7 M" O
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ( u  o. h4 l% ]' w" F
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.3 {0 F5 ~& I$ j
  761. ; http://php.net/cgi.redirect-status-env
    - ~/ s" k( r0 G
  762. ;cgi.redirect_status_env =
    $ Z# t/ J$ V+ m  B

  763. 2 O3 {# W  n3 B* x7 p! }4 f  d
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    $ L# a7 f4 @$ W# [
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok% i) ~8 v/ q$ \! a5 W8 v. m; E7 ?
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting/ n7 f: Z0 K+ O( V% }0 q
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    - b  ^8 i- ?" P9 B- Y
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    " l: _* h5 j) T) R4 \+ o
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.; W9 g0 u7 L% A# I. F
  770. ; http://php.net/cgi.fix-pathinfo  O" e, z& i5 v8 @9 t; ^0 s" }% q
  771. cgi.fix_pathinfo=1
    , p' Y  F! [0 ?  H( d3 `
  772. . s! J5 x  ]0 Q/ D7 A0 H
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    , l+ n) w9 ^! |9 |) J, k2 F
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ( I8 S0 j3 i+ U: V
  775. ; http://php.net/cgi.dicard-path
    % t6 _. v" A9 V+ p' z6 n+ K# A
  776. ;cgi.discard_path=1
    " i2 h! V$ J  H, j. G
  777. 8 J9 ~% \. c, j9 m0 n, Q
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate6 c  v; G; n2 i# c2 j
  779. ; security tokens of the calling client.  This allows IIS to define the) H# I4 B9 {( J$ n: U7 U4 {5 ~
  780. ; security context that the request runs under.  mod_fastcgi under Apache6 b# d. [5 Q3 h
  781. ; does not currently support this feature (03/17/2002)
    + ?4 Z3 p( P4 u8 w% s% N. Y
  782. ; Set to 1 if running under IIS.  Default is zero.
    : W# t0 \/ d2 y% U, ^
  783. ; http://php.net/fastcgi.impersonate
    & ~  C0 l5 E0 V0 [4 i, M
  784. ;fastcgi.impersonate = 1
    ' R5 ?5 c+ @' W
  785. $ A6 C1 {- V5 E% N
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable( }& M  S6 B/ v& ^; }, s
  787. ; this feature.
    6 ^2 r/ D1 r* I2 r
  788. ;fastcgi.logging = 00 t; m" a1 ^) [1 i
  789. 8 t1 z- r" J) V( i# U
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
      A! J% F* x* [+ ^; p( I* C
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that. f9 c- o) B0 G7 J& b& x
  792. ; is supported by Apache. When this option is set to 1, PHP will send5 c6 D& a4 k7 e
  793. ; RFC2616 compliant header.
    & C; u- V( Z" Q' n0 T$ B
  794. ; Default is zero.
    5 {7 B1 _) C  E1 b5 T0 q. M/ N
  795. ; http://php.net/cgi.rfc2616-headers: E1 k5 {9 B0 B" G
  796. ;cgi.rfc2616_headers = 00 z; t: J4 z" b1 S

  797. : q8 L2 y' R" m2 _$ S
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    / f7 h4 x8 S$ T" Q4 e
  799. ; (shebang) at the top of the running script. This line might be needed if the  v8 H3 `3 y/ r2 ]  t6 a' J% f4 p
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI# s+ N1 _4 S* f: d/ h
  801. ; mode skips this line and ignores its content if this directive is turned on.
    + o; X& z0 D& y8 P" C( T) b$ }
  802. ; http://php.net/cgi.check-shebang-line+ p" Q) w6 F$ Q2 H. {$ |
  803. ;cgi.check_shebang_line=1+ v3 Y" r9 C$ n2 X7 Z+ m

  804. $ z' \( P+ `5 a# G
  805. ;;;;;;;;;;;;;;;;2 m0 X0 T* j( J0 y3 X: N
  806. ; File Uploads ;
    7 M. C, V: \2 g5 {* E
  807. ;;;;;;;;;;;;;;;;
    / f; I$ P% j8 y2 U
  808. & A3 I! c' f, w  \/ C
  809. ; Whether to allow HTTP file uploads.3 z6 H, H! ]8 U2 L; R( K" T
  810. ; http://php.net/file-uploads
    ' P! F0 r7 l1 @5 q8 v
  811. file_uploads = On
    " U" l# o/ f! l0 a
  812. ( Z/ L9 c; I2 H! j, J  b  @
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    . S' x; c1 S/ H6 k! i! K
  814. ; specified).
    ; M' m8 d7 D7 m5 w  w2 U# D5 l8 b, F7 V
  815. ; http://php.net/upload-tmp-dir
    " a: f  M/ u" Y( e/ r( f. {' X
  816. ;upload_tmp_dir =1 |3 R2 y0 w& R! p2 @8 g
  817. , A) y# ?) p5 U% {( A" I
  818. ; Maximum allowed size for uploaded files.
    + q; z& U  J; A0 Q0 s4 N& d5 H% ~
  819. ; http://php.net/upload-max-filesize
    : ~% `0 R- }) T$ ^6 K
  820. upload_max_filesize = 50M5 h& r/ ]# q" g3 K7 m0 f3 Q
  821. , ?3 @% p) P8 s
  822. ; Maximum number of files that can be uploaded via a single request, }* R5 r2 n- [) S
  823. max_file_uploads = 20% ^/ D+ {# k) `$ B9 [) A2 e

  824. 7 t; _5 b- O2 ?( g) W: L) ~8 b2 O8 s
  825. ;;;;;;;;;;;;;;;;;;5 {5 _4 e$ |: X% h7 S5 ^2 p# B; r& Y% ^
  826. ; Fopen wrappers ;* w9 ?: J2 ]' d7 p7 A' x
  827. ;;;;;;;;;;;;;;;;;;
    ( ^! ~% p' U' I/ E8 t& O3 N: x
  828. ( s4 ?* ?% j' B$ t  U
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ; a) c9 i" R0 n: l
  830. ; http://php.net/allow-url-fopen1 l# h! S# r8 A: l. L. U
  831. allow_url_fopen = On
    " x) n4 T- z7 R  G: |- u
  832. . a% ?9 S4 D( m' c; |
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    9 m4 d9 g: r& Q: w7 k1 l
  834. ; http://php.net/allow-url-include
    2 R7 h: q' a. U; c( h
  835. allow_url_include = Off6 g+ X- S& x: d  _

  836. " ]- \) |0 f& `
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    0 h4 m( F: ]/ C1 ~3 h+ y
  838. ; for this is empty.
    1 ?+ ~. l  Z2 J2 H# {( @
  839. ; http://php.net/from" Y) W: M, L/ S# U
  840. ;from="john@doe.com"& X( {2 E/ y+ I: ?8 F
  841. # S- n) o3 d% j5 W! c- J8 Z
  842. ; Define the User-Agent string. PHP's default setting for this is empty.- N& c" y' O# R) a. u) L/ K& M
  843. ; http://php.net/user-agent0 d" @6 ^0 h" o+ |
  844. ;user_agent="PHP"6 L7 \; ~0 `1 S& s  x, p

  845. + E4 {- L. E$ [' O5 Y' D
  846. ; Default timeout for socket based streams (seconds)  z5 [+ r& s  N7 k$ s
  847. ; http://php.net/default-socket-timeout4 m7 j+ D8 d) q; I0 [. P" \1 K* M% e
  848. default_socket_timeout = 60
    * [' N8 x& g( U* J1 k: I

  849.   z8 I& `9 p3 ^+ l- G* y
  850. ; If your scripts have to deal with files from Macintosh systems,
    7 }0 `9 U8 _, N2 B
  851. ; or you are running on a Mac and need to deal with files from
    # W4 l4 W9 P% ~; D2 x4 d
  852. ; unix or win32 systems, setting this flag will cause PHP to5 w$ h3 V+ n/ V; h4 j
  853. ; automatically detect the EOL character in those files so that5 E: H* ?2 u; p2 n9 k+ L, q8 a
  854. ; fgets() and file() will work regardless of the source of the file.: C! {% i! j, P6 E- X# V
  855. ; http://php.net/auto-detect-line-endings
    ( M* Q( Q* o- G6 `* _2 v: U3 }
  856. ;auto_detect_line_endings = Off
    6 Q. O6 n  j  s: ]- }+ A

  857. / \" ]' J( B5 e" E0 N5 F
  858. ;;;;;;;;;;;;;;;;;;;;;;
    4 P) J+ y0 \- ~9 ~0 F5 ]
  859. ; Dynamic Extensions ;( N8 V/ ^  H, E8 F3 e7 ]9 q
  860. ;;;;;;;;;;;;;;;;;;;;;;
    $ B- h2 g& R4 T( M3 J+ v

  861. 5 r+ D% Z' q+ [! t0 L8 a* S
  862. ; If you wish to have an extension loaded automatically, use the following
    7 S6 ~- U7 g  B0 [9 B: b. E
  863. ; syntax:
    9 y/ I# o9 l( R$ A* s$ ]
  864. ;
    8 b/ N) o0 [* k. f! }% [
  865. ;   extension=modulename.extension: K5 P; a6 B2 o0 J
  866. ;# l0 [" S0 w! ^( d
  867. ; For example, on Windows:) V4 g7 Y* i% F) B8 ^' Q# `
  868. ;+ Q# K1 \# P( ^: I! W' K) X
  869. ;   extension=msql.dll$ ^. z: j$ i/ V: _; t7 k, \9 }7 H
  870. ;
    , W* L* v) ?0 T. V8 a& _
  871. ; ... or under UNIX:/ G6 d8 D4 w9 H4 l4 _6 W; M
  872. ;
    2 t$ N+ m- L" b$ _4 z, O4 G6 S# u
  873. ;   extension=msql.so' \- K; e  w6 G6 e4 `
  874. ;- `- v3 S3 d  K$ I9 T+ w" m& f
  875. ; ... or with a path:
    * C1 n. }6 M& @, l5 J
  876. ;
    ! n, H4 A; b* Y- s
  877. ;   extension=/path/to/extension/msql.so
    . C7 l* |) W' H( _- D9 S
  878. ;- V6 b% `% d' }1 i
  879. ; If you only provide the name of the extension, PHP will look for it in its- U) H) ?6 W+ ~/ G* B
  880. ; default extension directory.
    ; p5 |! @# O  Z
  881. ;
    2 C: @2 ]0 {, i: q2 p; z
  882. ; Windows Extensions
    4 n9 R( u1 r+ Q  @) ~$ Y/ J
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    0 q) V( _0 T" e2 o- h2 a/ a8 ?
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)' f( t- d* r/ L  B5 q! M5 H* u
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).8 N0 D9 n" @9 z+ D3 N1 N* B
  886. ; Be sure to appropriately set the extension_dir directive.
    + B+ n7 P) i6 }; T  p! `' [
  887. ;% m( O" X( M9 p% [: {, {
  888. ;extension=php_bz2.dll
    3 w3 L. x# A" V
  889. ;extension=php_curl.dll, H8 ~8 S1 x; z
  890. ;extension=php_fileinfo.dll
    ; z, ]! \% p6 q: `1 ]! Q
  891. ;extension=php_gd2.dll( |8 z% ?, m  ?/ F6 |% _
  892. ;extension=php_gettext.dll1 e  z; t4 Q, |* h. j
  893. ;extension=php_gmp.dll
    / q, n) |' J! ^8 x. E4 b5 o+ |
  894. ;extension=php_intl.dll! U& J* ~1 g* T; b/ a
  895. ;extension=php_imap.dll
    * n8 ~  F" s( ]$ ^* ]
  896. ;extension=php_interbase.dll) g' d, R- H  V. X; T+ r* y( z
  897. ;extension=php_ldap.dll8 `" ^; p9 I: T. U! @) L
  898. ;extension=php_mbstring.dll) I" @3 W6 ]  \6 j1 ?: N5 @
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    / @% W& j/ R7 o" S
  900. ;extension=php_mysql.dll3 t7 z, \% J# b2 E, t6 J
  901. ;extension=php_mysqli.dll
    9 t. B1 e% ~% N  M; i4 }
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client/ {* y2 p. Z3 t, S+ O4 `6 x- g3 _
  903. ;extension=php_openssl.dll
    9 l! q; P- |5 ^3 s; Z
  904. ;extension=php_pdo_firebird.dll- u7 Q" R3 H9 a6 s3 D
  905. ;extension=php_pdo_mysql.dll2 j2 c1 `, ~5 P) }, b& c( r& H
  906. ;extension=php_pdo_oci.dll0 A" d# o# @* }6 z5 J; M5 O, N
  907. ;extension=php_pdo_odbc.dll
    # i& D: }* t% M; x2 [
  908. ;extension=php_pdo_pgsql.dll. \2 Q) f# W; a! i8 N$ @9 u( H
  909. ;extension=php_pdo_sqlite.dll
    0 i+ e$ G: Y9 z$ M) p4 c
  910. ;extension=php_pgsql.dll, r8 M3 e, a5 d4 M9 F: Y& J7 [
  911. ;extension=php_shmop.dll+ t. H* S! _* V2 `0 R* \: d+ d

  912. ( W. x% _$ X) {7 k. ^  p' ~+ e
  913. ; The MIBS data available in the PHP distribution must be installed. # C/ V8 J( d; O/ A. ?  d. _
  914. ; See http://www.php.net/manual/en/snmp.installation.php 0 D' H+ F  Y8 q
  915. ;extension=php_snmp.dll: K+ w1 q$ U4 l) x" D% m

  916. $ F7 u: R1 ^8 Y; w1 O
  917. ;extension=php_soap.dll+ k  u( P+ w* N. T
  918. ;extension=php_sockets.dll
    7 {( L/ c& n9 M  q, U3 d( Q9 w: D- X
  919. ;extension=php_sqlite3.dll
    " v+ c3 l7 `- o2 S  K
  920. ;extension=php_sybase_ct.dll
    2 @2 g" T9 i9 R/ H% {
  921. ;extension=php_tidy.dll  S9 c. N& ~8 z4 h$ B: v% C# X! u
  922. ;extension=php_xmlrpc.dll
    " s/ o3 b' Z. g' t
  923. ;extension=php_xsl.dll
    ; ]; j! F6 w% ~' ~& S' a
  924. 6 K( D4 E; Z8 x7 \) ^
  925. ;;;;;;;;;;;;;;;;;;;" K4 O+ k0 f0 _' K
  926. ; Module Settings ;
    $ _# O9 p  a+ }/ O1 j9 C
  927. ;;;;;;;;;;;;;;;;;;;$ T6 Z$ o9 r: p

  928. 7 V" k: A* ?. P- C
  929. [CLI Server]" d: M0 b. u% e  N# @& `# Z! a
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    & z  E: x0 Q% n/ W  r1 [
  931. cli_server.color = On
    2 v( g2 {# p) r. ^9 k4 _- B$ q: q
  932. % c( j3 w$ d7 c5 y$ x  Y& o% d
  933. [Date]
    0 V8 E4 e3 I0 I$ I; s9 S# ^! d* _
  934. ; Defines the default timezone used by the date functions
    6 ?' K2 H- k/ [/ N
  935. ; http://php.net/date.timezone
    . F( F  r( v1 R) Z
  936. date.timezone = PRC
    * W- b! x' u6 ?6 n; z: k( q8 n

  937. 8 E/ V6 k$ c8 u9 t! x; I
  938. ; http://php.net/date.default-latitude
    ) ~( h  B0 _; n) b
  939. ;date.default_latitude = 31.7667& {0 S1 Z1 ^3 O9 [: U1 J' C" g" h
  940. ( v3 E4 L; h$ y4 K- w+ e4 t3 Z5 w
  941. ; http://php.net/date.default-longitude
    : T7 O0 H. }3 L) t1 W# t% j$ h
  942. ;date.default_longitude = 35.2333( h+ V4 p- g0 P8 _( h: |; v

  943. . x. e2 J! }* x2 U! t, l
  944. ; http://php.net/date.sunrise-zenith
    3 ?/ J2 M- \& z+ m
  945. ;date.sunrise_zenith = 90.583333) l9 E9 `9 f, d6 M( S' }! X1 h) y

  946. $ ~* V& ~; V$ A; x" d
  947. ; http://php.net/date.sunset-zenith
    4 ~& ~, i( i0 b4 q$ {" H( O
  948. ;date.sunset_zenith = 90.583333
    7 [+ X6 ^- X! e# a

  949. , B6 m$ g" H- x+ U* {
  950. [filter]
    2 K- C1 w- c! k7 J* j% Q; v
  951. ; http://php.net/filter.default% {0 z1 x( p1 d( y1 f
  952. ;filter.default = unsafe_raw
    ) J. g: w2 M- u4 }

  953. 1 B& h( A# V% Z% S4 {
  954. ; http://php.net/filter.default-flags* P1 D/ x) N; U1 q
  955. ;filter.default_flags =- V0 w8 q( c9 q" M

  956. # I' v( D$ {2 a9 f8 C# s
  957. [iconv]
    3 ~! {* |/ T; D" K
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.4 y% b! ~' K1 ?1 @6 c5 _
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.! n8 ~+ k. }. V' u' P
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    6 ?# C6 r0 M2 \' ~. S" Y( ~6 s
  961. ;iconv.input_encoding =
    / ?6 ^0 N4 `8 ]
  962. * i3 N( F" n. Y- J4 p8 b
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.- h8 o# Y7 U, l: V
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.- L# ]  ?. ?9 V; h
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ S6 \' D) ^2 d6 r# @6 a8 u& p) v  A' ^
  966. ;iconv.internal_encoding =
    7 q; a9 ~$ y4 @3 y, h/ o+ A3 i

  967. ' {7 r$ |& [( U) U
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
      X: S: F3 ]8 S9 x$ |# k' I! O( C
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.' g$ O- F3 C1 b  z0 f6 G; X
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding0 {: R$ f  Z9 N3 @7 z% O
  971. ; To use an output encoding conversion, iconv's output handler must be set
    6 @: U; G- Q+ f2 l$ @9 M9 M; f8 @
  972. ; otherwise output encoding conversion cannot be performed.7 p/ X9 O, ]. h% M1 G4 q% l
  973. ;iconv.output_encoding =
    " y8 v+ I5 E+ L- K9 M# [

  974. 9 ^- \9 Y/ Q& k: g: d8 m* w( h$ q
  975. [intl]; b( [( J  s2 ]5 X
  976. ;intl.default_locale =  O& @% C0 q9 P: T) ?
  977. ; This directive allows you to produce PHP errors when some error
    . J( F: }+ _  f6 B! w
  978. ; happens within intl functions. The value is the level of the error produced.$ v+ b1 w3 ~) }' w
  979. ; Default is 0, which does not produce any errors.
    - [6 u+ E0 ^3 }
  980. ;intl.error_level = E_WARNING
    9 n  M8 _+ h0 r
  981. ;intl.use_exceptions = 0
    ( {# M% S) M& N) Z

  982. $ g0 r5 j2 F" [8 n
  983. [sqlite3]# l7 ~  W- M# ]0 B5 v1 l
  984. ;sqlite3.extension_dir =
    9 m1 Z) J6 t8 L

  985. + z) D4 j. W4 v  a
  986. [Pcre]
    ' ~6 L" N: J0 W' ]! l# ^) o+ y2 l; h
  987. ;PCRE library backtracking limit.+ r7 R/ ~6 `. K, d0 w
  988. ; http://php.net/pcre.backtrack-limit
    2 v4 O6 G. u! d# R3 R7 k
  989. ;pcre.backtrack_limit=1000000 W, Q9 W' d: a. d/ E7 P

  990. # J/ ?3 m/ ]8 W+ W0 J
  991. ;PCRE library recursion limit.
    5 B0 ~% L! o% A+ k8 \
  992. ;Please note that if you set this value to a high number you may consume all; Y" X2 ^3 N- N. }/ o
  993. ;the available process stack and eventually crash PHP (due to reaching the
    1 ^2 }5 M, H- j* L2 f
  994. ;stack size limit imposed by the Operating System).
    9 p: S& O+ o( }, J9 A
  995. ; http://php.net/pcre.recursion-limit
    * S4 X% \. ?- {1 R, R6 Z
  996. ;pcre.recursion_limit=1000000 Y; f! ?: g) I. C* d+ Y6 z

  997.   q0 `7 X$ m1 D  G' q
  998. [Pdo]+ I- q' }+ v" [  p5 a, H; M7 [
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"( s  K3 \5 Q! Y6 J
  1000. ; http://php.net/pdo-odbc.connection-pooling
    3 P6 u; {& _' L3 L4 g
  1001. ;pdo_odbc.connection_pooling=strict: n" U& i! |+ l
  1002. ( R' I: |( K) w3 c! p1 n
  1003. ;pdo_odbc.db2_instance_name
    $ D- K3 r" A3 z7 l

  1004. 0 ^% ^# T! Q6 c. l# I; L" [
  1005. [Pdo_mysql]/ n' j, l  n5 r1 i4 E& Q
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 k3 [0 q, d- j2 N4 p& q
  1007. ; http://php.net/pdo_mysql.cache_size
    4 X! ]3 g1 o. Y9 c; O; D# K8 G
  1008. pdo_mysql.cache_size = 20008 k4 _* \  j# `6 Z& o

  1009. . T$ a# R% a9 O& ?
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ U' _. [. u" n  v
  1011. ; MySQL defaults.+ t9 F1 v7 ]0 K- ]. I
  1012. ; http://php.net/pdo_mysql.default-socket- l) X: U. E! h
  1013. pdo_mysql.default_socket=
    . N$ Q4 N; ?1 k, K" }1 U) a

  1014. 5 x, b( |" x: d& Y" X
  1015. [Phar]& A: Z! \8 {% x% N9 W6 @
  1016. ; http://php.net/phar.readonly6 I* O- ^# [  A/ f# A4 g
  1017. ;phar.readonly = On: {4 Y$ \5 [5 W9 l8 o7 v9 Z" Z
  1018. , n# m6 r: J& s* T5 @; _. f4 P+ }' h
  1019. ; http://php.net/phar.require-hash
    # _. d5 |2 K: g: _% ~# b
  1020. ;phar.require_hash = On# k% ~3 O9 _/ X0 c+ T# X+ T/ D6 t
  1021. 8 u, c7 y  {, e$ o5 l3 J8 y( |
  1022. ;phar.cache_list =
    3 `6 q$ n% o% @, N- E$ T+ e
  1023. $ @7 d" A  u, k( X9 L
  1024. [mail function]
    . Y- J' h) I% N$ l5 X
  1025. ; For Win32 only." h/ R( d5 A6 U2 U1 n1 `3 ~
  1026. ; http://php.net/smtp; O! b; F8 M- Z5 @
  1027. SMTP = localhost: |3 G$ k1 W) ], P* W9 a. ^) M
  1028. ; http://php.net/smtp-port* c- C5 a* v. P0 E2 E) C* n
  1029. smtp_port = 25
    " s9 S' J  L& \. R) R' m' }8 {

  1030. 1 c" t% j) U1 P% f* J
  1031. ; For Win32 only.
    % _1 k( o/ Y" p- ~1 R3 g2 E
  1032. ; http://php.net/sendmail-from& p2 I( ]: M- O* I  O
  1033. ;sendmail_from = me@example.com
    2 h& ?7 I8 |/ ~- S7 ~) y% J* v
  1034. 1 P3 X' J3 k- T+ G2 W$ o
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
      X' |" v; o, P  Y
  1036. ; http://php.net/sendmail-path1 }4 N: \& r* X9 c9 z8 z7 V
  1037. sendmail_path = /usr/sbin/sendmail -t -i- i0 C( ?, R/ q
  1038. + v1 ]/ T8 j7 y
  1039. ; Force the addition of the specified parameters to be passed as extra parameters( I8 h% M  I) H: J" ?' D& h9 P
  1040. ; to the sendmail binary. These parameters will always replace the value of
    # t5 c2 S" v2 U7 v, y, z
  1041. ; the 5th parameter to mail().
    $ N) m! u" P" Y( ]' E. W1 a
  1042. ;mail.force_extra_parameters =
    ; e& v2 y" A8 H: M
  1043. 6 E9 t1 @; H* U0 l# X7 Z
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    % O( g2 @7 s# p4 c2 W5 S
  1045. mail.add_x_header = On
    $ i' A5 r3 _( n( J5 X( I

  1046. + R3 I! ~  H$ X" y- k5 g
  1047. ; The path to a log file that will log all mail() calls. Log entries include" ?; g( [$ `+ T2 {2 U1 X8 k# O) e
  1048. ; the full path of the script, line number, To address and headers.
    ( ^+ C: m" }8 r& Z2 n- x) ~
  1049. ;mail.log =* d7 V- o/ r; e' ^
  1050. ; Log mail to syslog (Event Log on Windows).: L* }  g" a! s& k: E2 j9 s
  1051. ;mail.log = syslog4 g" H# A# v5 x; m) Z  y3 Q+ F$ W

  1052. 9 H& t: L: r4 F) N+ u( P2 g
  1053. [SQL]9 e) n) B' F4 R
  1054. ; http://php.net/sql.safe-mode& F+ M5 }) U* d* w9 H- }& w
  1055. sql.safe_mode = Off
    . B# [; \2 R2 O/ b) I0 |: z1 `8 r

  1056. ) _) {9 r0 `4 J8 w) |
  1057. [ODBC]
    ! e2 _& |: s9 d
  1058. ; http://php.net/odbc.default-db
    : l' x" B9 n/ u& @
  1059. ;odbc.default_db    =  Not yet implemented
    4 {8 M4 O. [. p3 g% e
  1060. * D$ @& s5 W2 }/ D" t
  1061. ; http://php.net/odbc.default-user% {! K3 [- W+ D2 W5 g- L4 o3 Z
  1062. ;odbc.default_user  =  Not yet implemented
    6 N* \6 u" A4 V9 {. j7 B9 _
  1063.   c: D4 C; ^* k0 l& ^
  1064. ; http://php.net/odbc.default-pw
    5 m* q* C+ Q( \- `
  1065. ;odbc.default_pw    =  Not yet implemented
    # g' |6 p# c( R( C6 }+ g* u
  1066. ' r5 L) e3 f; K: B+ Y+ j9 K
  1067. ; Controls the ODBC cursor model.  H2 R3 s+ t/ @; i$ c
  1068. ; Default: SQL_CURSOR_STATIC (default).9 Z/ y3 x9 W" [! a% f' O( Z3 i/ ?
  1069. ;odbc.default_cursortype
    / |6 @+ {' t) B: n$ V$ e
  1070. * a6 A9 h7 Q* l
  1071. ; Allow or prevent persistent links.
    % R# A2 e- @. u. X, u
  1072. ; http://php.net/odbc.allow-persistent* n% ]4 X' |; p* i' G
  1073. odbc.allow_persistent = On# }) y& T  M- d: |$ ^
  1074. 1 W; W+ Q! F# c  m# N
  1075. ; Check that a connection is still valid before reuse." l( N7 e, }! ~& P
  1076. ; http://php.net/odbc.check-persistent
    6 A* @, h3 g2 z8 D
  1077. odbc.check_persistent = On
    ! z: E4 x1 C1 U# D

  1078. * I% Z5 e  S0 f4 y
  1079. ; Maximum number of persistent links.  -1 means no limit.- ?! s9 s' ^/ d9 k5 Z+ M
  1080. ; http://php.net/odbc.max-persistent
    ! p1 s8 `  @5 V0 r4 `
  1081. odbc.max_persistent = -1' M+ I9 o: g/ O, c
  1082. % N( G3 A6 _1 Z" e) d3 L! I1 x
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 d: M6 V' a# G% @
  1084. ; http://php.net/odbc.max-links; V  \2 ~6 c+ O/ d$ y
  1085. odbc.max_links = -1
    . u0 u  V& r2 R" \+ }% v0 T  ^- G
  1086. ! I5 J( ]& b$ a$ B1 c
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
      o, |) I, R* S# n8 Y: ]
  1088. ; passthru.
    , \9 I* V* E6 a3 U
  1089. ; http://php.net/odbc.defaultlrl6 T* q, N3 k8 T; s: P4 a
  1090. odbc.defaultlrl = 4096
    0 H/ i9 V8 q. d) F( u

  1091. + K6 G: n& k% j$ Q7 k4 p
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.& u; @' p, o% I& G, g- y
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    8 O/ r+ F$ V) s9 ]( n6 z( h' t3 a" I
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode/ ^. }3 N5 G5 t
  1095. ; http://php.net/odbc.defaultbinmode% c; a# z& Q2 Q6 _
  1096. odbc.defaultbinmode = 1/ B# R) F/ W1 d2 U
  1097. & w. B6 S" n/ M
  1098. ;birdstep.max_links = -1# z- [% k. |0 ?) ]0 @+ c+ J& K

  1099. 4 G" }: N* a4 S6 I7 @9 B
  1100. [Interbase]0 K8 E! j% p4 ]. W' M; k: s( B
  1101. ; Allow or prevent persistent links.8 d/ ^# g* v- e, l. B! M3 C4 o: O
  1102. ibase.allow_persistent = 1
    & a% F' ^: K( v# k8 P
  1103. % o+ {3 j! @! `' c# e- L
  1104. ; Maximum number of persistent links.  -1 means no limit.
    3 ~2 Q0 n/ }5 H8 M
  1105. ibase.max_persistent = -1
    7 `" O" d) I8 z& a

  1106. : @) i! G5 j5 W8 ^. {& c
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; e& _4 j6 K5 g# d/ p5 Z
  1108. ibase.max_links = -1
    ; N5 }0 o) q' p+ Q, g& g0 @+ b
  1109. 8 k1 t$ S  B0 D' l7 D0 u( \/ g
  1110. ; Default database name for ibase_connect().3 G) \! ~3 s7 y6 @) E7 g
  1111. ;ibase.default_db =# O& u8 f2 k- H3 F" g
  1112. 4 h& h8 w+ X2 r; }) i  I
  1113. ; Default username for ibase_connect().9 O/ N, \) c1 Y6 S* r" A
  1114. ;ibase.default_user =* h6 v9 O# X" ^" @( [- A; Y  k
  1115. 2 `( j& }' z/ u: \% P
  1116. ; Default password for ibase_connect().
    % T8 e4 \* D5 U, z1 r
  1117. ;ibase.default_password =1 r4 x- S' M! f0 l* ?9 _3 L6 `

  1118. % U' S; E5 j/ b0 d: p
  1119. ; Default charset for ibase_connect().
    ! h/ v5 w5 |8 \8 V9 m
  1120. ;ibase.default_charset =
      |" D' ?+ L1 |$ _. D

  1121. 0 ^9 H: }" ?  @- s9 U) }
  1122. ; Default timestamp format.
    , p* z3 l! x$ X, F
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    2 v2 Q% _0 Y1 {/ c  |$ e# x9 L
  1124. # i" ]& x) O  V' Z. v
  1125. ; Default date format.
    & v1 a1 [0 r* S2 `# O" ~# ~
  1126. ibase.dateformat = "%Y-%m-%d"# C7 m/ f0 w) F4 g' I0 n! a2 B' R
  1127. 0 d' ~% g1 O  P
  1128. ; Default time format.* T# \# I5 c. z; {6 m6 N
  1129. ibase.timeformat = "%H:%M:%S"
    ! n4 y2 c% ~8 n% N
  1130. 1 a" x  Q2 v4 Z" g/ C
  1131. [MySQL]2 R: d# l. x( }8 ?
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    4 p# q) B# D. l$ P: [# N$ ]
  1133. ; http://php.net/mysql.allow_local_infile
    / ~4 Y4 |6 r$ X8 U, S
  1134. mysql.allow_local_infile = On
    4 D; p! b1 G+ c2 w; e, ?

  1135. 4 L7 v& n( Y- |3 ]4 k3 a8 `
  1136. ; Allow or prevent persistent links.
    4 Q7 n& o5 ]. B( W2 S1 Z
  1137. ; http://php.net/mysql.allow-persistent0 L/ U0 @" [& V0 V, P6 O) V
  1138. mysql.allow_persistent = On) _7 Y  ~  I. Q( `
  1139.   Y1 n6 s) m! b/ \# O
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / d5 N7 C$ S. A9 q1 J6 S
  1141. ; http://php.net/mysql.cache_size
    * g$ {, K; h( ~/ Y6 \2 l/ r5 R
  1142. mysql.cache_size = 2000
    + u4 E( |( W1 O1 x1 t7 J$ m+ F9 @

  1143. * U! y: A: U1 I* H! i  I& e4 J
  1144. ; Maximum number of persistent links.  -1 means no limit.) p: L* l% I/ u* ?; V9 f# z
  1145. ; http://php.net/mysql.max-persistent
    3 {" L7 G7 o5 G& P1 _
  1146. mysql.max_persistent = -18 a. l5 C. A3 J' \* {1 {+ l; W

  1147. 7 w8 c: Q3 ~6 H+ {
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* ]5 b6 |( e2 [7 C: a% ^6 o7 G
  1149. ; http://php.net/mysql.max-links
    # i1 {) g1 E  R/ R( m) I
  1150. mysql.max_links = -14 w5 r; F3 C3 H1 G

  1151. / L5 t+ g1 S, T
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    7 R, T$ N8 n2 y
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the8 g, R3 C% t3 h
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ( d4 W! N" i3 X$ \( b
  1155. ; at MYSQL_PORT.
    0 O. j# a3 a+ w. i/ b. i
  1156. ; http://php.net/mysql.default-port1 {4 j2 [8 [% ~" r7 Y# _, x
  1157. mysql.default_port =2 {1 X' d+ P( P3 d

  1158. ! a! x/ j& t- W% D( e2 ^
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * `9 F1 B8 a9 K& j
  1160. ; MySQL defaults.
    : q) \7 f2 c2 @% _
  1161. ; http://php.net/mysql.default-socket" E8 K: n  n  F, X
  1162. mysql.default_socket =
    / p5 j0 |: s8 H0 q' D

  1163. ! u/ {' h# ~: s1 y6 d5 g; b0 E
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).* f/ d7 Q' u+ h9 f
  1165. ; http://php.net/mysql.default-host
    + e. X- }+ g" m  T
  1166. mysql.default_host =
    0 f2 Z" Q$ j! U) `

  1167. / _: K2 ~& [- i! P
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).# I) Y8 V8 D5 r8 f7 L/ R
  1169. ; http://php.net/mysql.default-user
    . A9 U3 b/ s/ a  `- f
  1170. mysql.default_user =
    ' \2 w% [, ^" y3 y" Q/ X3 _! y$ |
  1171. # `: Y5 c7 z) t* l, Y4 N
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    8 [  z/ h1 k- O' q
  1173. ; Note that this is generally a *bad* idea to store passwords in this file., T; Y$ @8 {( K8 }2 ^  C
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password"): e/ t  V/ k6 v/ d6 |+ c- E
  1175. ; and reveal this password!  And of course, any users with read access to this; x9 `2 i/ d8 ~  u. N8 ^& ?
  1176. ; file will be able to reveal the password as well.$ c% A: ~: T/ _$ ~
  1177. ; http://php.net/mysql.default-password, Q6 ]% Y7 D) \. r1 m
  1178. mysql.default_password =: T* [8 o, }; j8 d2 F! K: z" K

  1179. ( n4 S/ H+ M. N; Y, f1 R0 d
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit$ J- u! E% d4 V, }1 P* k
  1181. ; http://php.net/mysql.connect-timeout0 v  B$ ~0 {! Z
  1182. mysql.connect_timeout = 60
    ; K1 W2 ~6 X( i+ Y

  1183. & ~6 [* j% i  n* S( h( C9 }, Y
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    0 |7 R! j% V4 E
  1185. ; SQL-Errors will be displayed.$ g: T9 M, }; J# [+ g3 W- R
  1186. ; http://php.net/mysql.trace-mode8 u( p+ D* P5 ?) v
  1187. mysql.trace_mode = Off3 a7 V$ x9 n6 ^+ S8 `2 V
  1188. 8 ^! {: K  S9 e/ ^/ M  W
  1189. [MySQLi]" J! {6 \, I6 ~5 }2 Q  k

  1190. 3 @3 T$ }# S6 T3 T% y" d9 T
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ' N- z% {6 q6 P2 K! s
  1192. ; http://php.net/mysqli.max-persistent
    / V0 O- s. L2 m4 F! \" k
  1193. mysqli.max_persistent = -1; ^4 u2 I: I1 g  G6 `2 ^6 ?
  1194.   S# d# L9 p9 j* n  Z1 B: ]9 ]
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    8 b) P/ g& n6 h7 r
  1196. ; http://php.net/mysqli.allow_local_infile
    4 c+ N0 [9 H, N/ r* e; T+ b! x8 u
  1197. ;mysqli.allow_local_infile = On; b! ?, _) v5 u: S+ N
  1198. ! P6 i! {7 K$ D% _. B, N6 Z+ H
  1199. ; Allow or prevent persistent links.
    + ~4 g# }3 {6 g0 Z! W. h+ R% ^( J
  1200. ; http://php.net/mysqli.allow-persistent
    + W8 u2 h( u6 e- F- V
  1201. mysqli.allow_persistent = On
    7 p+ b+ ?' K( d2 L+ V2 F  L5 ~

  1202. 5 T9 r" P  [3 u+ I2 r5 ]5 D8 {
  1203. ; Maximum number of links.  -1 means no limit.
    " E% a: G) O0 D4 ?% |2 M' N9 P
  1204. ; http://php.net/mysqli.max-links# }6 s7 |* Q' ~8 R- j* |
  1205. mysqli.max_links = -14 v" X+ U+ A' g8 A: D
  1206. % [/ k/ ]% L% D  }9 |+ t
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
      S. u- A; t2 @: y, ~: V' a
  1208. ; http://php.net/mysqli.cache_size' q; H' L& u. z
  1209. mysqli.cache_size = 2000
    - |! _7 V) Y) Q  ]2 C) w; j

  1210. - C4 O9 R# |& k8 O4 z. [
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use4 v$ z: X" M% X
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ' G+ z. V' k1 V- m$ y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    4 y3 U" [: a$ C
  1214. ; at MYSQL_PORT.' y$ l# J$ x, O
  1215. ; http://php.net/mysqli.default-port
    : B1 z: E. M4 f; [" E9 @: `
  1216. mysqli.default_port = 3306  H4 `8 O# d' m' q8 r* g  U

  1217. 7 [# s" r# g0 |) \+ C
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in8 c0 g; ~/ X+ I/ h
  1219. ; MySQL defaults.
    ; U" c7 K9 ?* L  R- _3 m  L
  1220. ; http://php.net/mysqli.default-socket, f: C) y# V9 `4 X  a
  1221. mysqli.default_socket =9 ^4 D3 F, W. E$ h  d

  1222. & o4 B. L+ R, Y; q) {
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ( ^" I4 w# S8 V: ~
  1224. ; http://php.net/mysqli.default-host
    $ `& X. _# s5 C2 H
  1225. mysqli.default_host =
    + d/ k7 @* w# E; X, g2 V

  1226. , C" U' C% z6 `6 ^/ u% p+ B
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    9 @! k: y( [9 s$ b- \& o
  1228. ; http://php.net/mysqli.default-user7 h' k3 t. G' @
  1229. mysqli.default_user =
    . F' q; K! d& @$ @% a
  1230. 1 M; ~0 B/ K- v% d/ `
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).% Y0 t" ]* ~  |
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.5 D0 q; ]. Q" i) H9 @) z
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    4 L$ Q8 F; O$ h) N4 V) `9 I* {, X
  1234. ; and reveal this password!  And of course, any users with read access to this; e( _& p0 n  R, ?' j
  1235. ; file will be able to reveal the password as well.$ L$ n  S7 L7 w, E
  1236. ; http://php.net/mysqli.default-pw! S0 i  A2 y; R
  1237. mysqli.default_pw =
    ) {4 i2 t" B, T
  1238. - m& |  c/ n, c, l7 L- }/ @
  1239. ; Allow or prevent reconnect
    & E# V/ h- T6 C+ O& t2 F! j
  1240. mysqli.reconnect = Off  Q+ t% P6 Z3 D$ n8 J; Q* d9 E2 I

  1241.   [0 M/ D0 |- Y0 D3 X
  1242. [mysqlnd]
    ; k4 h7 n9 K  ^+ P' M1 ~+ t
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    6 ~1 y9 _$ r/ {  j- t- \4 e! v) i6 w
  1244. ; used to tune and monitor MySQL operations.
    4 k6 ~  @1 {& _2 e' e$ z
  1245. ; http://php.net/mysqlnd.collect_statistics
    ( A" Q0 L2 m$ ^1 \/ @. h
  1246. mysqlnd.collect_statistics = On1 a9 R# z  {0 _4 C0 [
  1247. 2 d7 `5 ?# @1 H* {
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    8 F# S, P$ n; g/ x: \1 K. {2 s
  1249. ; used to tune and monitor MySQL operations., ^, B1 C/ q5 y* b
  1250. ; http://php.net/mysqlnd.collect_memory_statistics5 B, X8 e" q4 i% G% b7 x
  1251. mysqlnd.collect_memory_statistics = Off
    ; O  ~$ \4 B# r6 f3 [. ~: `% t9 h) }
  1252. 3 R2 [( M3 S  C' r  V
  1253. ; Records communication from all extensions using mysqlnd to the specified log% Z0 P8 D$ B- i3 [/ Q5 \3 J! ^
  1254. ; file.
    2 o, y5 ~- D  X" U+ n* f$ G5 X, o# r
  1255. ; http://php.net/mysqlnd.debug
    2 Q8 Z# S- R9 Q/ W3 B( N3 w
  1256. ;mysqlnd.debug =
    * n9 Y. ~! x, c
  1257. : `8 r* r* U0 h$ s! `
  1258. ; Defines which queries will be logged.7 A4 g  K  U8 D, r
  1259. ; http://php.net/mysqlnd.log_mask: j9 y4 Y! ]( b5 T" d
  1260. ;mysqlnd.log_mask = 0
    6 N6 i; M/ N1 m. T8 k, E
  1261. $ P+ Q1 A3 Z& u; V+ j- A$ p+ Y
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    : `+ ~, t$ x/ A, B* p5 @3 p
  1263. ; http://php.net/mysqlnd.mempool_default_size
    % Q9 U0 a2 |" [2 E
  1264. ;mysqlnd.mempool_default_size = 160001 |7 |  x5 c  l, }* h

  1265. 6 f& i, `3 |' T3 c# g" e9 ^
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.- Q1 ?$ u  p& e* l
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size8 {) t4 ?9 ~- A
  1268. ;mysqlnd.net_cmd_buffer_size = 2048$ ]1 [3 p; T. \; A; X5 S
  1269. # V9 f7 u( q) Z. i- w# x
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in# E4 l9 ~/ P* z  M$ y
  1271. ; bytes.2 o% u- P6 E4 ~
  1272. ; http://php.net/mysqlnd.net_read_buffer_size' e) K' G8 C9 Z: M0 J: Y$ {
  1273. ;mysqlnd.net_read_buffer_size = 32768
    7 N6 N/ G& ^( T0 \- ]4 f

  1274. 2 i- m* _( T1 x" E7 ^% T/ i
  1275. ; Timeout for network requests in seconds.
    1 N2 X% P6 Y3 m2 O8 x
  1276. ; http://php.net/mysqlnd.net_read_timeout
    5 j; h, r; o" r, C& d
  1277. ;mysqlnd.net_read_timeout = 315360000 Y- h8 B# N6 Z
  1278. , s" y- j2 Q, P5 p
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    / @* R6 v: R5 ~& p
  1280. ; key.
    4 q5 |. D2 B1 G0 @' t/ F/ O
  1281. ; http://php.net/mysqlnd.sha256_server_public_key$ Q7 ~: R- S0 H4 C
  1282. ;mysqlnd.sha256_server_public_key =6 c% M3 w9 F: X

  1283. / c0 |: V4 d' P* [0 v: K, P4 K
  1284. [OCI8]7 ~( ]. k  Z, P8 J% y  X$ w. K

  1285. " K7 [- l2 x0 [" z
  1286. ; Connection: Enables privileged connections using external
    # F# M) x- H( G. ]( w
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)0 j( J" w+ n4 p8 `/ @. f6 J
  1288. ; http://php.net/oci8.privileged-connect0 R7 A. t* m9 E: \' Z# P
  1289. ;oci8.privileged_connect = Off
    + W+ Z2 z7 m) p1 R  ^- w

  1290. + j- w9 V0 @/ ~% ?  c! z1 U
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    ; h6 M% y3 G, ^3 g+ R
  1292. ; process. Using -1 means no limit.* n( w+ A+ L+ u2 }& f, D, t
  1293. ; http://php.net/oci8.max-persistent0 L- A. a% V' `; Q( C0 B9 R- D
  1294. ;oci8.max_persistent = -1! Q! ?$ M. f; U
  1295. 0 R/ r% E( m$ O! \1 ^) w, M5 x/ r
  1296. ; Connection: The maximum number of seconds a process is allowed to
    ( O5 F6 e- Z5 i$ \3 g# j
  1297. ; maintain an idle persistent connection. Using -1 means idle) l7 n- l0 [$ P  b' d/ m* Y0 D
  1298. ; persistent connections will be maintained forever.1 w  S8 o  E9 F0 n: H& g9 Z* k
  1299. ; http://php.net/oci8.persistent-timeout
    ( {* a! R$ D7 d
  1300. ;oci8.persistent_timeout = -1
    & X! Q1 ]; ~$ ?- b7 d

  1301. ; F, ~0 Q# g, q6 A) d4 s+ B9 @  t
  1302. ; Connection: The number of seconds that must pass before issuing a
    - z7 |1 W* t6 k+ v" k9 l' M! f
  1303. ; ping during oci_pconnect() to check the connection validity. When
    0 w- ?, R3 q% Y" o; Z+ i
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables7 w( F3 C, F! M0 c( S
  1305. ; pings completely.
    * n- y" K! Y7 Z5 K: i
  1306. ; http://php.net/oci8.ping-interval
    2 S. l& B& f. W6 ?% z
  1307. ;oci8.ping_interval = 60, u  H$ U6 ^1 N# b# n

  1308. " Q+ w. x: G9 T' T
  1309. ; Connection: Set this to a user chosen connection class to be used( g( b9 q0 V" X/ d6 l5 f/ E
  1310. ; for all pooled server requests with Oracle 11g Database Resident& x) u- I4 I) B5 M2 a4 l2 x4 n, R
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to  x5 L7 x  ]7 n; u  Q1 Y6 {
  1312. ; the same string for all web servers running the same application,2 G% K7 t8 o; ?& v  X5 X
  1313. ; the database pool must be configured, and the connection string must. D0 c# F0 E" M5 L
  1314. ; specify to use a pooled server.
    4 E% X% \, W4 Q3 j
  1315. ;oci8.connection_class =
    9 g, t& O2 z9 u( w3 ~2 t5 Z

  1316. " e' Y7 a2 J- k; ?. h, A7 B, D
  1317. ; High Availability: Using On lets PHP receive Fast Application5 _. u0 x4 A# B
  1318. ; Notification (FAN) events generated when a database node fails. The
    ( F& y( U& [& T3 I) a: s! {" H
  1319. ; database must also be configured to post FAN events.
    # \% G9 E" q0 x7 Y: Z' n
  1320. ;oci8.events = Off4 R+ }& V' P2 S' M

  1321.   ^5 h! I; Y: P9 C; Q) o4 J
  1322. ; Tuning: This option enables statement caching, and specifies how$ h: P- T5 y0 ^% Q$ e1 }7 P- R( m
  1323. ; many statements to cache. Using 0 disables statement caching.
    1 p+ ?8 e/ t9 u$ H5 F, J8 x& H/ L
  1324. ; http://php.net/oci8.statement-cache-size' m/ J# K( g& ^
  1325. ;oci8.statement_cache_size = 20
    ) x: r, S5 T' D9 Z
  1326. % q6 z7 y! A$ F( t& T- B
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    : ~0 v+ b' @& I- V; f
  1328. ; rows that will be fetched automatically after statement execution.2 w' ~8 r: F+ ^: Z% G0 i
  1329. ; http://php.net/oci8.default-prefetch' U6 s: F7 ?4 L9 j! h
  1330. ;oci8.default_prefetch = 100: A2 Q8 a( |% _: o9 T

  1331. , h# Y. Q8 q* C) E6 k% v; ^
  1332. ; Compatibility. Using On means oci_close() will not close
    : B1 w# D6 Z7 N5 a* T. T/ t
  1333. ; oci_connect() and oci_new_connect() connections.) c7 Y( r, V% D9 f! j6 h/ k7 L+ _6 J
  1334. ; http://php.net/oci8.old-oci-close-semantics. X4 \% ^8 D# r2 Q# z
  1335. ;oci8.old_oci_close_semantics = Off, N0 k" z/ K- y& c; Z

  1336. ' F- k  B) y, d( k
  1337. [PostgreSQL]: ]" J/ E$ P/ V
  1338. ; Allow or prevent persistent links.
    7 c' z8 m8 d: K' f) k
  1339. ; http://php.net/pgsql.allow-persistent+ u8 G; h* j. Q: j! @  z* W
  1340. pgsql.allow_persistent = On% E6 [( |+ q' U1 `# V9 c
  1341. 8 a' F) [, N( }5 L& E
  1342. ; Detect broken persistent links always with pg_pconnect().
    * d& @4 g) `" b- t! S+ ~4 S
  1343. ; Auto reset feature requires a little overheads.( ^' p( l' c, O4 B
  1344. ; http://php.net/pgsql.auto-reset-persistent) F' b) G! K$ Z+ B. V; D
  1345. pgsql.auto_reset_persistent = Off. P7 v$ E) B: S- z6 s( f7 d

  1346. / A% R/ o% y8 l+ C9 N
  1347. ; Maximum number of persistent links.  -1 means no limit.
    5 G4 Z8 v, V+ g" w4 K3 t7 H2 E
  1348. ; http://php.net/pgsql.max-persistent9 o6 p) X; t. O/ P' N9 \
  1349. pgsql.max_persistent = -1
    + }4 x  e( C# }5 S4 t$ S+ [

  1350. + D3 S" Y  f' x
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ q; A* f  |9 }; h7 L* H, q
  1352. ; http://php.net/pgsql.max-links
    4 q- X! Z) }8 {0 e7 D4 M
  1353. pgsql.max_links = -1
    / S, Y/ ~0 z3 m* \0 D4 t( L8 f

  1354. 7 ^5 G+ ~$ E; P% n$ g& O" |3 |2 O
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ) c3 c# \$ x7 ~7 G+ L" F
  1356. ; Notice message logging require a little overheads.& y& V  X( y7 h
  1357. ; http://php.net/pgsql.ignore-notice2 P' Z9 g+ v* c3 Z) L
  1358. pgsql.ignore_notice = 0
    0 q+ _. ~* Z0 h% z! K" M

  1359. 5 E, y6 |! i6 ?5 ]
  1360. ; Log PostgreSQL backends Notice message or not.
    6 |1 I, X. i1 Y1 \2 f- `6 H+ Z* x
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.# g3 _" m$ l7 ^. T
  1362. ; http://php.net/pgsql.log-notice
    7 E: x5 j& R0 N* I: [* H
  1363. pgsql.log_notice = 05 t, q- W+ E' i4 c& I0 N' x; `
  1364. 3 R+ t& |) f: u6 B5 `
  1365. [Sybase-CT]
    - D/ W- `+ [) G' X# f
  1366. ; Allow or prevent persistent links.2 D" }, F3 Z$ m5 `: w, ^
  1367. ; http://php.net/sybct.allow-persistent
    4 k3 n0 g$ m" `4 i/ Y0 p
  1368. sybct.allow_persistent = On
    # g% ~7 z+ O9 N. H
  1369. , x5 c' y( H, s. G6 b
  1370. ; Maximum number of persistent links.  -1 means no limit.
    & M0 t# A6 O. l8 [& W! {* O6 M6 c2 k8 }
  1371. ; http://php.net/sybct.max-persistent9 e0 f: w3 ]$ G! {* x1 `9 ]
  1372. sybct.max_persistent = -1! U7 m6 P" h' P$ z5 T0 S

  1373. 1 ]2 F# z; o2 X, z! a6 }0 Q- B
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 |  R8 Q& C( E3 }1 p6 A# B
  1375. ; http://php.net/sybct.max-links! d$ g( ?! ?# E+ I7 w  \0 U
  1376. sybct.max_links = -10 ^7 D, A  [! w- w8 a$ Q/ I
  1377. 2 z! p7 \" i- T
  1378. ; Minimum server message severity to display.% O: \: X; ]5 T* l6 P) m+ B
  1379. ; http://php.net/sybct.min-server-severity
    + F- K. h( a& E  T$ [  t' |
  1380. sybct.min_server_severity = 104 T' E  [, a) w* z* [' t4 v

  1381. # m# x/ e0 O5 s
  1382. ; Minimum client message severity to display.
    & D8 K* ^  q9 m9 e
  1383. ; http://php.net/sybct.min-client-severity! G0 a) y2 M" E: ?, Q2 X8 }" W
  1384. sybct.min_client_severity = 10; c4 h. N* f$ @+ t/ r# s

  1385. # [7 g( n  g2 E  b. z4 y) Q2 I
  1386. ; Set per-context timeout
    5 ]$ L! p$ k' J9 P  A6 f, K
  1387. ; http://php.net/sybct.timeout
      ]5 c  P: Q" U/ ^# J5 S
  1388. ;sybct.timeout=7 L5 X; q% r* Z3 t$ q; Y0 W
  1389. 8 K! k6 \( ^# i9 c1 C3 g
  1390. ;sybct.packet_size' M! Z$ h- a2 u: s7 \) Q6 z3 X' K

  1391. 9 w5 v$ |" ?* G5 v
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.6 w/ X) p! J+ c- J
  1393. ; Default: one minute
    , I  ~2 M" j7 u) y. t, r( }
  1394. ;sybct.login_timeout=- Z  C0 g2 U5 Y. \- o% ]/ Z
  1395. 3 {% C7 x# n: B2 g7 ~: f
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    + C( D+ S# K% A2 v
  1397. ; Default: none. ^! l5 a' E: z1 o4 y; ]2 A
  1398. ;sybct.hostname=) p! ]3 ?5 m9 b5 G! @

  1399. : j% T5 Q% u3 d: |% D1 @: O
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".2 B$ u" q7 Q. X: \7 j" S9 R
  1401. ; Default: 0
    / a: |( u& Q& g5 A( C/ U: z
  1402. ;sybct.deadlock_retry_count=
    7 s( M: j# i7 n6 ]. V
  1403. % s- c! j. s& ?( o
  1404. [bcmath]
    ' F6 y2 y. r4 }7 j1 B/ {
  1405. ; Number of decimal digits for all bcmath functions.& U& p' m) s7 e' o: f
  1406. ; http://php.net/bcmath.scale
    0 L+ Y+ b; k5 r- s( J( N8 t
  1407. bcmath.scale = 0
    / M$ J2 z. R& W
  1408. 1 R5 o( l: F, {8 O& X
  1409. [browscap]; R! o! I& l' b* ?7 U5 s6 ?
  1410. ; http://php.net/browscap" t9 b/ [  K$ P- c6 W
  1411. ;browscap = extra/browscap.ini
    ; M" l% J/ [. f2 B) @3 c6 f& i

  1412. 5 S! C& ]( i! y- M$ U
  1413. [Session]
    2 u# C, U* J9 n% T+ M5 N
  1414. ; Handler used to store/retrieve data.5 V6 b8 Z2 {% n) z8 I2 f# U0 n1 l& a
  1415. ; http://php.net/session.save-handler* v1 B/ w; |0 {! k& |& D- J' T
  1416. session.save_handler = files
    & ?% H% w! ~9 Z5 `5 y& B1 r
  1417. 5 m/ b( h( h3 D
  1418. ; Argument passed to save_handler.  In the case of files, this is the path3 ^$ n# [+ r( y* w) t5 h
  1419. ; where data files are stored. Note: Windows users have to change this
    9 {( @) U' Z* N0 K/ T
  1420. ; variable in order to use PHP's session functions.( u- H" Q  E  p$ L, |3 Y
  1421. ;2 {: o# M1 \% ]
  1422. ; The path can be defined as:0 [, {$ g7 {' O; Y1 n, j( V7 T
  1423. ;8 e1 |+ f% F* P+ u) K
  1424. ;     session.save_path = "N;/path"
    2 ?$ n6 ^' y; `  G" U; |6 E
  1425. ;
    " X9 r+ }4 K) m$ G/ C2 |5 e
  1426. ; where N is an integer.  Instead of storing all the session files in
    / \4 o3 w: l5 s
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    * M' U; w1 p% y. M1 j% w: k
  1428. ; store the session data in those directories.  This is useful if7 S, v% G- Y% x- I$ U4 s" C
  1429. ; your OS has problems with many files in one directory, and is
    & h: f  x0 K& o$ Y' \
  1430. ; a more efficient layout for servers that handle many sessions.
    * U# _5 l) m6 Q! H4 a, `3 I
  1431. ;; C2 w- h' }7 |1 r$ o
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    8 q# K! z+ ?- M0 R1 Q, H
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ' @0 I  ]' H: l9 F3 \; \9 b& U
  1434. ; NOTE 2: See the section on garbage collection below if you choose to) j+ {0 u* I, V# H& @9 ?, n( r
  1435. ;         use subdirectories for session storage
    9 n8 z" [  b( o: c
  1436. ;! s" [4 E# o; l( I
  1437. ; The file storage module creates files using mode 600 by default.
    * W2 f4 o  P3 y: K( T
  1438. ; You can change that by using* H9 A9 t5 e5 W. W
  1439. ;% r* T" G( @6 o" s4 L# ^1 Q1 y+ q
  1440. ;     session.save_path = "N;MODE;/path"; n  L5 a1 a  p+ f( U3 U5 ?
  1441. ;
    3 I$ s7 Y: ^# n& D
  1442. ; where MODE is the octal representation of the mode. Note that this  u0 s/ o; j9 Y1 \1 J2 s
  1443. ; does not overwrite the process's umask.
    5 p9 U6 g/ V, t# h( E+ s4 g- G: B9 V
  1444. ; http://php.net/session.save-path
    : y& M. @6 ^' ^+ l' C
  1445. ;session.save_path = "/tmp"
    / _, l& |4 b6 }8 u
  1446. ! E  Z5 v, P. w' n
  1447. ; Whether to use strict session mode.
    5 x$ B+ u5 t/ M4 T; w" s5 }
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate% x2 {$ x, b/ A' o( w( k) Z
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    7 v0 K0 \7 I& M# I- u! t& Q# U
  1450. ; applications from session fixation via session adoption vulnerability. It is
    5 b  p7 r9 {* u# S
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    6 V! {1 Q. |( }9 ]7 R1 f" f. O
  1452. ; https://wiki.php.net/rfc/strict_sessions
    1 s: \7 e7 \! y
  1453. session.use_strict_mode = 0
    % F7 S7 x4 X; n7 c

  1454. - v/ t5 E  v6 U& \% [* P
  1455. ; Whether to use cookies.
    5 ]1 z+ @8 ]8 s- k6 Y8 d
  1456. ; http://php.net/session.use-cookies
    5 k4 N8 P; k6 d3 |0 J
  1457. session.use_cookies = 1
    % E9 a- [# Y* ]) L8 I1 i: M0 H

  1458. ( E# G/ ^" H, P  U
  1459. ; http://php.net/session.cookie-secure
    # ?; {, w8 a+ ]4 i  A: t
  1460. ;session.cookie_secure =
    ' Q" @4 m( E2 M# n3 q

  1461. , k2 k8 O7 k9 J' g  Q
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining; p: t: H: l2 R/ O
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    ; P5 Q# I7 p( d
  1464. ; session hijacking when not specifying and managing your own session id. It is
    - |, {1 p  @7 @: C. W$ I( ?) E4 i1 I
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    $ J# \8 f2 ?, w. b
  1466. ; http://php.net/session.use-only-cookies0 f' K+ ~% U3 _
  1467. session.use_only_cookies = 1
    : J9 a% A# |* r* F% {7 m1 Y6 w% {

  1468. 0 b) x4 z% m/ Y+ J; ?
  1469. ; Name of the session (used as cookie name).
    / C8 ]: H- W* s, |. n
  1470. ; http://php.net/session.name
    : d. J+ M: m* ?* M  v6 ~; {
  1471. session.name = PHPSESSID
    ; S1 i4 S9 [) A9 A7 I' U
  1472. $ A: G6 z, ]0 X, F$ u
  1473. ; Initialize session on request startup.6 s* [- O$ }( e" x4 G* _* n
  1474. ; http://php.net/session.auto-start
    + w6 i+ A! f+ U% u8 e& I
  1475. session.auto_start = 0! @2 @( A; Y3 T+ Z* P  \  o- F

  1476. % ~% F5 w' P5 f" j$ G$ e
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    * ?4 A- @3 \2 f" k2 |4 ^
  1478. ; http://php.net/session.cookie-lifetime& J5 F9 c( s7 a! E. N9 |
  1479. session.cookie_lifetime = 0+ j! Q, w- W$ k
  1480. 7 L0 L4 y1 x5 O0 L0 t: n7 ^4 z! `6 d
  1481. ; The path for which the cookie is valid.) G; s( ^/ I0 e- _- y5 }# L
  1482. ; http://php.net/session.cookie-path
    ! T7 R7 u' ]7 o2 @, w, k
  1483. session.cookie_path = /
    2 B. Z4 j% K9 ]+ {
  1484. 3 |- O; b  Z* `- r
  1485. ; The domain for which the cookie is valid.2 s# z+ C6 ~  E
  1486. ; http://php.net/session.cookie-domain
    : t2 \3 E9 \; Y5 K/ d) z' O
  1487. session.cookie_domain =
    ! R" C  E# N7 ?9 {

  1488. % A. h5 y, a' p' n, O: `0 n
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.3 C! h* E( T4 [. y( d
  1490. ; http://php.net/session.cookie-httponly8 h- T! {4 e/ P' u: r  z' R3 e* t
  1491. session.cookie_httponly =% R# ]" \1 L5 }0 o8 ?/ ~1 N! I
  1492. * }2 S( V- X: H( G0 T
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ; C5 R" S% R; M  U+ l, J
  1494. ; http://php.net/session.serialize-handler
    ' l% u! b0 z3 {- J
  1495. session.serialize_handler = php+ `5 b# y6 M0 T4 |2 P+ K  V' i
  1496. 3 x) r5 V6 ]' R; O7 n
  1497. ; Defines the probability that the 'garbage collection' process is started7 j; D6 @9 U3 O# L% F# _9 `# P
  1498. ; on every session initialization. The probability is calculated by using
    9 y9 n) u% K* B5 M3 G) e% \2 h  W
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    0 t  a( f( d2 t4 C3 R& p8 D
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1( }4 W1 a4 R8 R; C
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance# o8 N# A$ L: z6 W( X$ j8 O
  1502. ; the gc will run on any give request.0 L3 z. R2 f: t0 ^# r) U/ G
  1503. ; Default Value: 1
    ( k6 }' K! |8 n2 E0 b
  1504. ; Development Value: 1. e! y  i6 ]( {6 k6 A
  1505. ; Production Value: 19 I! F8 q& a2 |" S4 @* N
  1506. ; http://php.net/session.gc-probability" }* r" q) k. D
  1507. session.gc_probability = 1$ E: U+ A, m( Y' Y$ y* c. e5 H  T9 U! g

  1508. 7 x% F1 C0 x3 h1 B3 h- _
  1509. ; Defines the probability that the 'garbage collection' process is started on every2 `6 _6 K9 L8 C
  1510. ; session initialization. The probability is calculated by using the following equation:" f2 o. l) @* `# u: ~% |# a# u1 B
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    3 `# \# j1 {/ S1 {* N
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    8 D' G! r: l' E$ H) s6 e6 }
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance, F2 s! u+ o. @% j, T1 f! l: ~
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you, @8 Z* w9 r, I% G, v7 x
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    * R: G7 U; S5 k& z/ o) P7 L
  1516. ; this is a more efficient approach.
    , y% D' o- u3 }, z) S" |' s" @( q! l
  1517. ; Default Value: 100
    ( Q" H9 E; O& }0 ]7 O0 b0 W' O& G6 i
  1518. ; Development Value: 10009 y0 f* s' G  g# k2 i% ]
  1519. ; Production Value: 1000
    & L5 \0 y' E( _/ u9 H
  1520. ; http://php.net/session.gc-divisor7 L, N# W; i& o7 E9 V# R
  1521. session.gc_divisor = 1000
    5 x1 U! V& z, m$ ^8 D( {; M
  1522. 1 X. S) |) Z2 Q* {
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    * ^  `; C! ~5 q/ ]* h2 |" e
  1524. ; cleaned up by the garbage collection process.! g, R* o  r. |) X8 O
  1525. ; http://php.net/session.gc-maxlifetime
    . B8 l6 {; a/ R! Y8 }  t  s5 F4 {
  1526. session.gc_maxlifetime = 1440
    + c: A* [1 ?& M5 M5 Z$ q

  1527. # k! R& P7 i& Q
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    % ]+ u+ O3 c; [2 N( |) M1 r
  1529. ;       (see session.save_path above), then garbage collection does *not*
    , ^$ R) p9 a! R% m: D$ @1 K/ A+ m5 b
  1530. ;       happen automatically.  You will need to do your own garbage+ N% z% e" ]1 \0 ~) o3 m
  1531. ;       collection through a shell script, cron entry, or some other method.6 K/ j8 ]% W0 ?8 S3 c9 k* n* Q
  1532. ;       For example, the following script would is the equivalent of/ C5 l1 N) Z3 N4 i5 K1 ?
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ' ~$ b% K" f! N' E2 @# b$ d
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    6 r5 H+ M( n$ r4 O" p# I6 Y% p. l( f
  1535. + b2 w7 ^1 }# R1 [& C- D
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    : Q- T8 E) P# d( K2 v; @) ]
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    4 `! g) k% w  N  v. v8 n
  1538. ; considered as valid.
    , i) ]5 a+ k% m$ y) D0 P$ \' \/ J
  1539. ; http://php.net/session.referer-check
    , R& G0 A( i& g6 C. d, X
  1540. session.referer_check =
    " k+ o6 K9 L; \+ }" z
  1541. 2 M2 Z( a- N" {: e4 ~* e8 U
  1542. ; How many bytes to read from the file.
    1 C: `1 z9 a6 d. A9 Z( y
  1543. ; http://php.net/session.entropy-length$ x4 [/ C9 S- b# a" c0 A
  1544. ;session.entropy_length = 32) x" U6 b2 i; u4 L$ L" }1 j! \) f

  1545. , T3 G- Z) A$ G' X! u/ ^
  1546. ; Specified here to create the session id.' K9 ^; ]1 o3 P. Q! y5 ^- R8 q1 d
  1547. ; http://php.net/session.entropy-file, p8 o& l+ W8 V! t2 y
  1548. ; Defaults to /dev/urandom
    % W% n- p. M8 \# g* W" B
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom$ S8 E! B  o# w  h0 R$ W
  1550. ; If neither are found at compile time, the default is no entropy file.9 A7 a  V( L6 C- L* y
  1551. ; On windows, setting the entropy_length setting will activate the- a9 v) u* O7 |/ r
  1552. ; Windows random source (using the CryptoAPI)
    * ^! a5 t5 d+ Q8 C+ O9 v
  1553. ;session.entropy_file = /dev/urandom
    + u# L7 |" r, G

  1554. 5 n# M3 Y4 N/ v" a) P" Y" _# p
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    . O) X1 h. i; C
  1556. ; or leave this empty to avoid sending anti-caching headers.
    : D# }2 V* l, d% V4 p% }; n
  1557. ; http://php.net/session.cache-limiter
    % h1 I' _. o3 I
  1558. session.cache_limiter = nocache7 Y2 O1 S0 H' r5 F% R
  1559. 9 t) h# s" |2 ^, ]- K
  1560. ; Document expires after n minutes.3 Q8 t/ ~; |6 |
  1561. ; http://php.net/session.cache-expire) H* X$ u7 _: p7 J
  1562. session.cache_expire = 180) j- h4 B% M1 K) W: M1 g: H

  1563. 0 y+ z8 m4 U, q9 N
  1564. ; trans sid support is disabled by default.
    2 D* V8 w* G% I) L# y
  1565. ; Use of trans sid may risk your users' security.
    ) V+ Q, a/ z5 w
  1566. ; Use this option with caution.
    1 E! C# U6 @, Y0 `# b* k
  1567. ; - User may send URL contains active session ID
    0 s) j; y% v; |! ~
  1568. ;   to other person via. email/irc/etc.
    7 \; d# X0 {4 O" g: {9 `
  1569. ; - URL that contains active session ID may be stored
    0 Q  Y' W3 g1 M& S, M& r: E  V4 H
  1570. ;   in publicly accessible computer.
    - q5 g. d+ E+ I5 U; Z* g
  1571. ; - User may access your site with the same session ID
    $ @' X7 ]  @2 O
  1572. ;   always using URL stored in browser's history or bookmarks.
    , F1 y: V7 ^* e
  1573. ; http://php.net/session.use-trans-sid) ~, P7 n9 s. i% @# t
  1574. session.use_trans_sid = 04 J% t0 \( ~, e/ {& o6 s

  1575. : p( T9 k1 Y* T' U  b' b# W
  1576. ; Select a hash function for use in generating session ids.
    4 ?- l) F# K. k2 O" I
  1577. ; Possible Values0 I- ?* h6 L' k$ {
  1578. ;   0  (MD5 128 bits)
    / j. P' A. Q8 ~- [3 s9 n, q
  1579. ;   1  (SHA-1 160 bits)5 i4 s' ]$ `1 G0 M  v
  1580. ; This option may also be set to the name of any hash function supported by
    / b  Y' B6 L5 \$ i! r8 @' V2 ~
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    0 Q2 ^1 j. i8 \9 |8 T. Z
  1582. ; function.5 z9 {( s5 E$ a9 `- ~) X$ B4 z  _
  1583. ; http://php.net/session.hash-function0 O  n( L. k% J3 r  F: R4 x6 e
  1584. session.hash_function = 06 I; E/ d, \# X' Y: f5 {

  1585. * A' p9 y  |' S& p$ c
  1586. ; Define how many bits are stored in each character when converting5 f0 ]& D; }! ~) T7 f# |
  1587. ; the binary hash data to something readable.. ~1 H: J; U) I' ~, d2 k  q2 q
  1588. ; Possible values:! I& j5 A7 G& z
  1589. ;   4  (4 bits: 0-9, a-f)
    ! _( _2 O8 p& T& s% c8 V" S) U
  1590. ;   5  (5 bits: 0-9, a-v)4 S  x/ y' E+ a+ q' {+ X+ y6 p
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    1 g$ y$ C! b  ~6 z3 D- i
  1592. ; Default Value: 4
    3 X: d: }2 y; R) M' ]
  1593. ; Development Value: 5/ C( w% l5 J  x' t4 x& R2 d
  1594. ; Production Value: 5
    ) j: ^0 ]6 G8 x& ?  c% q
  1595. ; http://php.net/session.hash-bits-per-character
    : \0 l/ |! s0 g- B5 c6 }) F7 a: }
  1596. session.hash_bits_per_character = 5
    ' k1 X/ g2 ~  i" Q# n

  1597. ! F- o9 m$ |9 R: M
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.: ]- }: h/ Z5 B1 X9 h. n
  1599. ; form/fieldset are special; if you include them here, the rewriter will8 y7 P- q+ y" O2 W0 ^/ H' s! Z( Z4 Z) q
  1600. ; add a hidden <input> field with the info which is otherwise appended1 _8 A' U$ f2 h: m; H
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.' z/ o! o" a0 l. v. U( l2 o, `
  1602. ; Note that all valid entries require a "=", even if no value follows.
    $ x( X- g# Q; x5 `) A  U8 f* P
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="3 ~0 s+ P8 o# q$ a' q
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 j% q9 \& P7 ~4 B. `) B, Q1 ]
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" m9 K. p* i9 D3 v5 a8 I0 q/ E
  1606. ; http://php.net/url-rewriter.tags
    - A5 T% h8 H* K, C% L* R. |
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    + Z5 K7 e  Z  J9 \2 W

  1608. * R2 _5 _  Q) }3 [/ F0 @; q- S
  1609. ; Enable upload progress tracking in $_SESSION
    3 Y* N3 Y- _, j: \: V
  1610. ; Default Value: On# z4 k; _* ]3 f  {. n5 P
  1611. ; Development Value: On
    6 X6 a8 X8 O* R9 u; N" @! |
  1612. ; Production Value: On
    ) B7 w# D% f  v0 c
  1613. ; http://php.net/session.upload-progress.enabled
    3 v2 r  ^' |% R) P' ?
  1614. ;session.upload_progress.enabled = On+ f: s9 @; F! |, v9 O

  1615. ' w  _+ f3 v7 Z) l
  1616. ; Cleanup the progress information as soon as all POST data has been read
    & p+ y) D. Y6 `8 `
  1617. ; (i.e. upload completed).
    6 _3 s4 p$ e) c$ |! ^
  1618. ; Default Value: On
    % Z8 v% Z8 S* V
  1619. ; Development Value: On. |! K& v, v9 `7 c
  1620. ; Production Value: On4 F5 j! C  G) H  y
  1621. ; http://php.net/session.upload-progress.cleanup# z7 W4 \! C$ W8 b
  1622. ;session.upload_progress.cleanup = On
    $ H. H, h2 D3 C( R! k3 i
  1623. / @* V# d" U3 r4 Y& G% L, V  m5 ~
  1624. ; A prefix used for the upload progress key in $_SESSION
    , X1 J* U# W4 P4 H2 P
  1625. ; Default Value: "upload_progress_"0 _& W; K) V+ I. V) k, o- l3 O
  1626. ; Development Value: "upload_progress_"
    9 L/ v  p( q% G' E
  1627. ; Production Value: "upload_progress_"  a" [& ^! h6 D, m' W
  1628. ; http://php.net/session.upload-progress.prefix0 [+ Z2 g2 ?8 j( }  {. y6 N
  1629. ;session.upload_progress.prefix = "upload_progress_"8 f7 y1 y7 b: c- O
  1630. / @! `: _2 f+ ~$ z  F, F
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    ) Q+ `8 N0 m* _2 U
  1632. ; containing the upload progress information
    6 \: W2 Q$ P) V# O
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"4 W9 P% m& A' Y/ i' }
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : _3 K8 C  w. B1 h# S% d$ \
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    6 c. B: R- n  f& S
  1636. ; http://php.net/session.upload-progress.name% T. _8 i$ `, \9 t
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"2 E1 f& x7 r5 H# i

  1638. ) L% E% ?) W6 B- n4 g5 S9 L& a
  1639. ; How frequently the upload progress should be updated.
    5 Z& V. h7 o- K7 Q
  1640. ; Given either in percentages (per-file), or in bytes# d7 m* D' T: N0 A# x3 a% ~+ N
  1641. ; Default Value: "1%"
    0 M3 a3 z$ S! J& _' l' A# G) `& E- e
  1642. ; Development Value: "1%": D# @& Z+ j8 K
  1643. ; Production Value: "1%"
    2 S3 T% U$ z' N! ~9 W7 A4 H+ o# u
  1644. ; http://php.net/session.upload-progress.freq
    ! @: d- c- Y  K
  1645. ;session.upload_progress.freq =  "1%"3 m1 v* A9 X7 u: t2 r

  1646. ) Q3 o, c( l, D9 C. e8 |. Z! F
  1647. ; The minimum delay between updates, in seconds1 S6 t+ ]+ @" Z
  1648. ; Default Value: 1# X  {& k+ h. J- M0 f1 R/ P
  1649. ; Development Value: 1
    : X' d) k7 b) V, ?6 j8 u
  1650. ; Production Value: 1
    5 ]# n/ w& i8 Q0 ^7 |% L/ [" c0 p+ `
  1651. ; http://php.net/session.upload-progress.min-freq. I9 Q# Q/ c6 w1 \
  1652. ;session.upload_progress.min_freq = "1"
    " k* t. D) ]4 F& M% a( D- N

  1653. - Z1 `  {+ i8 N' ?! o1 @1 G
  1654. [MSSQL]
    $ @7 `' N1 ]6 A
  1655. ; Allow or prevent persistent links.
    + p# T& N) n/ a+ Z
  1656. mssql.allow_persistent = On- ~; \# e1 d3 D6 i; X
  1657. 2 |0 @% ~  A7 g5 J+ F, f
  1658. ; Maximum number of persistent links.  -1 means no limit.
    * ^! R7 b2 {: p9 {1 E1 c
  1659. mssql.max_persistent = -1% p) `4 h: p9 j5 P) I
  1660. 1 \) _( I! W: }- i) t, e
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    1 [1 h) J0 d; n7 Y/ O8 X- j1 z
  1662. mssql.max_links = -1
    8 R1 G- G6 D5 F6 I4 D1 M) D; S
  1663. " e" V! u3 K' e: I; E1 C
  1664. ; Minimum error severity to display.
    6 ?2 L" s: h5 l- e
  1665. mssql.min_error_severity = 10- B; B7 s2 I0 D  Y4 z/ g
  1666. & p9 L( b" w9 b' j
  1667. ; Minimum message severity to display.
    ! p: S+ T4 |& r# S! K/ I1 A9 O
  1668. mssql.min_message_severity = 109 k/ ~, g3 ^  o! @% y

  1669. : O- D% b; r& `1 H$ k
  1670. ; Compatibility mode with old versions of PHP 3.0.
    2 {# v; Y/ i. z9 @
  1671. mssql.compatibility_mode = Off4 c+ g4 y8 b4 @3 s
  1672. 1 B( j6 Y# d/ ]' H( n
  1673. ; Connect timeout
    8 v& g0 @3 @% ~+ X3 Z
  1674. ;mssql.connect_timeout = 5; `; F% @- X. Z. d0 a  m+ Y7 {5 Q
  1675. * R! e/ _8 C# Q! \% S
  1676. ; Query timeout
    7 h* u! w% @) c# A) y
  1677. ;mssql.timeout = 60
    8 y- e( ^5 y/ ?2 k& A$ H5 B0 |( d
  1678. # G$ A* k# w& }( G2 C# P. ~9 n$ K
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    - f% C. |, W% w# o% ^, @
  1680. ;mssql.textlimit = 4096
    0 j$ r. M+ Z) C) q, F7 h; F
  1681. ! B  a8 P" s6 S
  1682. ; Valid range 0 - 2147483647.  Default = 4096.  d0 _; u" E4 ~7 `3 {
  1683. ;mssql.textsize = 4096' \7 w$ |6 }* z

  1684. 9 ?0 a) u& G6 X' ^+ H! R- w. K
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.' _/ r) n6 j1 v9 w
  1686. ;mssql.batchsize = 0& z) m' Y) T* L5 c+ W4 t

  1687. 5 H, z7 A* H2 u( P0 q
  1688. ; Specify how datetime and datetim4 columns are returned  T; m' U$ d+ ]- ^
  1689. ; On => Returns data converted to SQL server settings
    $ Q  t3 M# [% V+ y+ }
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss. z$ s( \" l5 i$ F! I
  1691. ;mssql.datetimeconvert = On, |/ R2 s6 q8 B" Q0 a) D# h5 D
  1692. ! M- ^( \2 B9 c9 u/ P1 m
  1693. ; Use NT authentication when connecting to the server
    % t5 j0 |+ X" b! K) T5 G
  1694. mssql.secure_connection = Off8 ?4 B; Z& f7 V6 H* b' [" a
  1695. : r# C& Y  H/ E) v; T
  1696. ; Specify max number of processes. -1 = library default6 R5 n+ T% V6 j9 ~0 ?! S' ]2 B
  1697. ; msdlib defaults to 25
    " v9 V  x2 A" N7 o% Y$ F8 f
  1698. ; FreeTDS defaults to 4096
    - y( Y. k' ?5 O' [' e
  1699. ;mssql.max_procs = -19 t$ P3 C( g  u$ N

  1700. % f( v) ]9 x! A" {% N* \; O7 X
  1701. ; Specify client character set.+ r2 ]* h0 @- l0 S9 n% t/ T. I
  1702. ; If empty or not set the client charset from freetds.conf is used
    " o( K- B; F/ z1 g" S& U* u
  1703. ; This is only used when compiled with FreeTDS; Z, k& X1 G1 A' i1 H" }( B
  1704. ;mssql.charset = "ISO-8859-1"
    ! @; O2 B8 H3 y& w
  1705. 7 `/ V: q- [& \5 b6 M' P. }
  1706. [Assertion]  X* R/ h) ?3 I
  1707. ; Assert(expr); active by default./ d! U, u8 m, E0 z3 w8 _
  1708. ; http://php.net/assert.active
    & f. K' P  A) ^% o1 h
  1709. ;assert.active = On, j' G' e( h$ ?& H" A0 [' }  @

  1710. # x( p  t4 }0 s. Z0 n5 `6 g
  1711. ; Issue a PHP warning for each failed assertion.
    ( m4 R( @) p& w& Q& P2 U
  1712. ; http://php.net/assert.warning* }! K7 ~4 i0 ^9 E
  1713. ;assert.warning = On- U' x: y9 _# C) i# m) R  U
  1714. ! U7 `' i( t" U9 p1 C6 i' G
  1715. ; Don't bail out by default.
    - d: L2 {6 H2 @; I
  1716. ; http://php.net/assert.bail
    3 A2 C1 g, Q3 ]0 T! J
  1717. ;assert.bail = Off2 N5 p- [1 A* B& d" ?% R7 i' P

  1718.   B$ s: W8 \! Y4 d& _/ {$ S
  1719. ; User-function to be called if an assertion fails.
    0 n. N) f4 }- ?
  1720. ; http://php.net/assert.callback
    ' c4 E: t' F1 C: x( C3 @2 F/ l; z
  1721. ;assert.callback = 0
    ' C! s7 A5 y6 r- _. y/ f

  1722. : C, j; R" I- k: \1 f7 s- z( L
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    & X7 Q# W9 f& d" z4 [- e' z1 l/ U
  1724. ; error_reporting(0) around the eval().4 K- G+ K2 b8 ~
  1725. ; http://php.net/assert.quiet-eval
    ' L5 I2 i+ K- n2 G6 e
  1726. ;assert.quiet_eval = 0
    ; a  ?2 D% p6 o7 B: o3 y! c
  1727. ! P7 U- g# O6 C* ~" \
  1728. [COM]
    + Y* @0 K& ]0 I9 J
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs: H) y& V8 ~# H9 L
  1730. ; http://php.net/com.typelib-file
    + `- j( A. _7 }3 E, Z' c
  1731. ;com.typelib_file =! |# F& ]5 ?/ v: Y& k# P

  1732. 8 H4 v. ?  C! ]- L$ q+ ^$ K  N
  1733. ; allow Distributed-COM calls2 p! T; U* V+ d$ H- z
  1734. ; http://php.net/com.allow-dcom
    " U- A/ j# |& g2 n9 v
  1735. ;com.allow_dcom = true0 u. h3 `- ]; u) ]

  1736.   o" x1 X$ Y4 X9 \
  1737. ; autoregister constants of a components typlib on com_load()6 l  o! U/ g5 j3 L8 n- M* k$ \
  1738. ; http://php.net/com.autoregister-typelib: X7 b2 Y( x+ A- G
  1739. ;com.autoregister_typelib = true
    ! m8 B4 D, G6 `1 z/ F- _$ F$ k  q

  1740. 5 u; ~  q' n, }
  1741. ; register constants casesensitive. [+ M! J" b! H2 r! q) n4 \
  1742. ; http://php.net/com.autoregister-casesensitive
    ) f% f4 m8 \! T' P  D# S- h
  1743. ;com.autoregister_casesensitive = false
    9 ^' L/ i- I; k! m4 G7 c
  1744. - w/ T) f2 R: ]
  1745. ; show warnings on duplicate constant registrations& n! o/ n& N) i
  1746. ; http://php.net/com.autoregister-verbose* k3 x1 o! J9 O' z) f) |
  1747. ;com.autoregister_verbose = true
    7 F! X* k" f9 J+ A) G$ q
  1748. $ X9 c0 T5 ^) y  x! |! u$ ^
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    % ~! U2 A4 S2 ]8 z% n. f
  1750. ; Default: system ANSI code page
    7 s: |6 d8 T2 N$ g1 Z
  1751. ;com.code_page=
    . I  E+ y# D7 B7 `- T

  1752. + f" y( p' s3 ~1 I) V
  1753. [mbstring]
    ( v; G% c8 o9 M/ h0 B
  1754. ; language for internal character representation.
    1 u, x  W9 C8 C: x  O2 ^
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.# _0 G( f9 `2 f. A
  1756. ; http://php.net/mbstring.language4 D- c- z, b  o
  1757. ;mbstring.language = Japanese
    2 r( l0 R0 ~, k% V
  1758. * S* r; H8 w* p9 [& Y) v# U
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.* [# I0 n& m  S5 J5 q' J' T
  1760. ; internal/script encoding.8 e: ]* n9 m2 f, c9 U' E. i5 l
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)6 Q1 {, t1 m- B; W; ~
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.# Y, }( q. f/ m( i
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding- p$ l$ \3 r2 c
  1764. ;mbstring.internal_encoding =) `: @1 V% [4 D/ _( v! C* r+ _) I+ n

  1765. 5 U+ \  ]/ I) }4 L
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # K# i+ _: ^3 [7 n! l% y2 q" T
  1767. ; http input encoding.
    7 D8 G% g( _" q8 T: p9 c
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
      u/ F( L9 t  n; a/ p" J/ ~2 ]
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.& h6 q! f# K: k( c
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input+ E9 o7 N# w/ b6 D# L- L( l
  1771. ; http://php.net/mbstring.http-input! X' F0 E3 o0 [( y
  1772. ;mbstring.http_input =
    7 t% }/ A6 X) k2 P
  1773. 4 _1 w# l/ [" t7 n
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead." `' y' \4 p3 V2 ~7 c
  1775. ; http output encoding.+ Y4 E' e$ M" d! [# s/ [
  1776. ; mb_output_handler must be registered as output buffer to function.
    * r8 _' m1 K. Z9 S- p
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    4 K- J& }. C; U- `
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    5 ?) g3 g, ]" [# w0 P
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    + }& l  D( {, N+ A0 p6 e% J
  1780. ; otherwise output encoding conversion cannot be performed., n# p5 y* |+ D# t# S, H
  1781. ; http://php.net/mbstring.http-output; @) @, L/ q; h* d3 b
  1782. ;mbstring.http_output =# ^: K; {- y6 k
  1783. / e+ U* ]& G. ?* F! r
  1784. ; enable automatic encoding translation according to$ x/ _; _2 d+ l
  1785. ; mbstring.internal_encoding setting. Input chars are# ~; x' z- A% ^
  1786. ; converted to internal encoding by setting this to On., o/ s- p6 j  ^$ R- ~
  1787. ; Note: Do _not_ use automatic encoding translation for
    3 d- }3 c2 d! ~9 w2 g% u
  1788. ;       portable libs/applications.! A9 J. Y. N3 c
  1789. ; http://php.net/mbstring.encoding-translation
    * n& {" m! |! I6 ]( S- o& I; C+ Q
  1790. ;mbstring.encoding_translation = Off' ?/ z2 y4 U* C0 w* @! q3 ~

  1791. 7 K1 S' H. y* }% I- m7 g
  1792. ; automatic encoding detection order.7 c) U; e: z5 b1 ?' I* N
  1793. ; "auto" detect order is changed according to mbstring.language" ?  x& B  J" w* {/ F& E
  1794. ; http://php.net/mbstring.detect-order4 t$ `# Z+ Y* a7 c, d0 F& h
  1795. ;mbstring.detect_order = auto
    . D: D8 y8 G! L

  1796. 0 S; s  e: [3 i( g! C% M) E: q
  1797. ; substitute_character used when character cannot be converted: c5 h5 Q* A9 f. o
  1798. ; one from another: r* r( t8 N# w8 _7 G4 s
  1799. ; http://php.net/mbstring.substitute-character& H. J' K/ n0 _/ C- s
  1800. ;mbstring.substitute_character = none
    7 g+ }# i* u' R* J9 s6 u! |+ i

  1801. 1 [: H) ~  h+ H! }7 K
  1802. ; overload(replace) single byte functions by mbstring functions.8 m' c2 ~4 O8 g  K5 r6 r, H' k( W
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ( {; f4 z% B4 H. V! e
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.- v% T) v( y. M# `
  1805. ; For example, 7 for overload everything.
    5 n$ R2 L; ]% R+ j$ d
  1806. ; 0: No overload
    ( Z5 \( f5 M6 p' S1 E) J( [* F
  1807. ; 1: Overload mail() function
    # a2 k- I% B  Y/ @
  1808. ; 2: Overload str*() functions
    0 {1 B+ H% Y# P- d4 t
  1809. ; 4: Overload ereg*() functions" P2 ^$ L7 G. I+ ^* f
  1810. ; http://php.net/mbstring.func-overload$ V6 d% w* W: Z, l$ {1 {  {0 H
  1811. ;mbstring.func_overload = 0+ Q+ |- k* [4 z* I! y3 T, [7 g& p+ c
  1812.   E3 P- W* [; Z9 A- [$ F7 l
  1813. ; enable strict encoding detection.! f( u. X5 M6 y; U# E
  1814. ; Default: Off
    # n7 x: [$ n! s' @) }
  1815. ;mbstring.strict_detection = On1 @  a# |8 H& Y. V0 }2 [! @
  1816. & Q+ V6 V- s3 ]6 ]; G: Z$ I: |' _
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ; d) X; v/ n5 _; p- t& J
  1818. ; is activated.
    ) w* l& [/ @+ j+ `: T% v9 f8 _
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ! m" Z) |$ j- U' w$ h: Q# W% |; ^
  1820. ;mbstring.http_output_conv_mimetype=
    % r7 x: r) c9 L6 j0 Y7 c' T
  1821. 3 G% B0 N& Q# j( q) a! {1 N, `
  1822. [gd]
    6 H: @0 h# K# O& v2 v
  1823. ; Tell the jpeg decode to ignore warnings and try to create& d; o3 p% O: v  q& p- j
  1824. ; a gd image. The warning will then be displayed as notices
    . z: Q8 h% [  _9 ?! _1 A3 s' ~; j
  1825. ; disabled by default3 H6 e# Q' T4 H3 ~( N/ k
  1826. ; http://php.net/gd.jpeg-ignore-warning3 _& X# p4 q+ v$ t  J/ c) I
  1827. ;gd.jpeg_ignore_warning = 0- P5 c" n6 Z% U% ^1 b

  1828. ; z8 H, p/ b+ |- \  m1 E
  1829. [exif]- F) Z: f8 @' a9 q; W$ n3 }
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.+ ^4 x3 O4 l0 F5 n5 g
  1831. ; With mbstring support this will automatically be converted into the encoding& ~: f1 j! S& V9 Q- v3 T; i
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ) l5 T: c) @5 F; m6 x
  1833. ; is used. For the decode settings you can distinguish between motorola and
    ! _1 L4 e6 I7 r9 U
  1834. ; intel byte order. A decode setting cannot be empty.6 A2 q3 H+ G; C! E2 A% _
  1835. ; http://php.net/exif.encode-unicode6 A9 J6 L( g) o- ]+ Y/ N; o8 x
  1836. ;exif.encode_unicode = ISO-8859-15
    4 G0 m6 T$ {% D2 o
  1837. 8 H7 U# M+ i: e6 R! {0 n) e/ w# x
  1838. ; http://php.net/exif.decode-unicode-motorola
    5 M) }  ~" q2 d( Z
  1839. ;exif.decode_unicode_motorola = UCS-2BE0 [0 I6 q7 y' p; x, ^; h5 s4 ]
  1840. ( e& Y' [( h+ {. H& P
  1841. ; http://php.net/exif.decode-unicode-intel
      D/ P2 z+ l" o' O. w
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    $ {! i) F, V- F  H
  1843. # T! b  ]! c5 D, w6 _) E
  1844. ; http://php.net/exif.encode-jis. o, V7 B% X# G- ]+ ?
  1845. ;exif.encode_jis =. h2 m; _& M3 ~! ~& X% j

  1846. / i( x  P: ^6 Z7 |0 T5 m
  1847. ; http://php.net/exif.decode-jis-motorola) b' T. v; V6 }; q; V* T$ ~4 O
  1848. ;exif.decode_jis_motorola = JIS8 ^# D$ @2 X( i, Y6 m3 U& j; M2 O
  1849. / M5 P% `7 t; z# U
  1850. ; http://php.net/exif.decode-jis-intel7 I* ?% i" o. @, F9 Z8 w
  1851. ;exif.decode_jis_intel    = JIS' D6 Q( c6 J/ P2 H
  1852. * g- F/ j) Y6 M
  1853. [Tidy]
    % s0 c  W$ J7 x! }8 X& m
  1854. ; The path to a default tidy configuration file to use when using tidy
    ! u2 o% F$ D' ?/ o: X1 ?2 Q
  1855. ; http://php.net/tidy.default-config% I4 q+ p8 v6 l
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg1 b( Y0 B- `, ?8 M% ^; H

  1857. * p% {+ k! |# d
  1858. ; Should tidy clean and repair output automatically?9 \/ \$ C4 b2 t9 y% o
  1859. ; WARNING: Do not use this option if you are generating non-html content
    3 c3 u; ^* i$ e: h
  1860. ; such as dynamic images' \5 d6 B0 v: w
  1861. ; http://php.net/tidy.clean-output
    4 \3 D( E* k* M7 o! N- |! B
  1862. tidy.clean_output = Off( _" G" F) T! W7 }; U3 [* {

  1863. ! j/ q( p1 y. u0 {
  1864. [soap]
    ( n) i$ {8 l* L
  1865. ; Enables or disables WSDL caching feature.' h6 m$ J3 X! b+ P/ k. W( O
  1866. ; http://php.net/soap.wsdl-cache-enabled- B8 i& V+ K( ^8 k
  1867. soap.wsdl_cache_enabled=1) G0 T3 j& t$ X6 {$ w9 a
  1868. & x# T& a8 {5 t* Y9 K" ~( }
  1869. ; Sets the directory name where SOAP extension will put cache files.; f" C$ l: Y& T( j: O9 l
  1870. ; http://php.net/soap.wsdl-cache-dir
    $ }' s' z& J# }2 x
  1871. soap.wsdl_cache_dir="/tmp"- v+ `3 k+ l' d" E6 b! I
  1872. - B* v" K5 |9 Y- G$ c9 o: ~0 L
  1873. ; (time to live) Sets the number of second while cached file will be used
    3 Q- j6 X; f, z
  1874. ; instead of original one.8 V+ p: [7 ^8 L; s% ^" i1 r
  1875. ; http://php.net/soap.wsdl-cache-ttl, |$ Z: \' Y0 ]
  1876. soap.wsdl_cache_ttl=86400
    , l7 M' z$ L: O) A
  1877. ; O; D0 N7 I# H5 |0 M0 P
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ; ]' {5 f* ]! _# h# @7 U* h! f+ h: `
  1879. soap.wsdl_cache_limit = 5
    ! e; U; D" Q+ b! w

  1880. ! [  H& f- _2 R# @% _
  1881. [sysvshm]
    , _- _0 }' d  y- ^; I( T  `
  1882. ; A default size of the shared memory segment  [& x: {8 }' H& Z* m' P2 Z
  1883. ;sysvshm.init_mem = 10000
    1 u! W! ^. w; G5 Y' N

  1884. ( a( q3 }7 I" ^0 s5 Q$ d
  1885. [ldap]" j4 |9 u- t& F% Q6 \+ b
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    9 ]2 N1 d& N( x9 Q% k! Y# ?- S6 M
  1887. ldap.max_links = -1
    % P; u( U' V. ?

  1888. ! P4 L7 v$ J  U
  1889. [mcrypt]0 {4 \, `5 }6 n8 ^. Z* _3 `
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    " l" k6 O, W+ Q! j
  1891. & f' K. g+ X$ u: C7 z
  1892. ; Directory where to load mcrypt algorithms  ~: Y2 g- s0 m
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    % J1 T! i+ i( k; V; ^( K
  1894. ;mcrypt.algorithms_dir=
    * ~7 ~2 j5 I$ z: N9 p$ p: f

  1895. $ P! \; o" o' _2 Z$ H* D, {
  1896. ; Directory where to load mcrypt modes
    0 {, V2 N8 _4 c% u9 M
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* A9 o/ I1 y9 O7 b
  1898. ;mcrypt.modes_dir=; z  l: S3 Q+ f8 u/ S$ R2 U
  1899. ; E. ^% T$ ]% m0 |
  1900. [dba]3 e+ J+ w1 u  k4 u9 {
  1901. ;dba.default_handler=* C0 ~- I0 \. ]
  1902. ( c+ O' `7 R1 e. X7 W
  1903. [opcache]; a3 \+ C& p" w  d6 y2 w  T
  1904. ; Determines if Zend OPCache is enabled- g' n# I4 A1 p- G, }
  1905. ;opcache.enable=09 n' q' l) L) s. X6 x9 o" o0 L

  1906. ( X4 Q  R! X' P+ B  Y
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP+ F" Q3 j& L8 l! N" q
  1908. ;opcache.enable_cli=0: s$ L* X$ b4 Q: M+ k! A; u

  1909. * }* h9 N/ G& u. g
  1910. ; The OPcache shared memory storage size.' O1 C. K0 t( u- N0 e
  1911. ;opcache.memory_consumption=64
    , R" ]$ V+ W7 N" i

  1912. 1 K% a, U. Y" B
  1913. ; The amount of memory for interned strings in Mbytes.0 v6 p! x) y7 f: M" @4 t7 O
  1914. ;opcache.interned_strings_buffer=4( H& M+ L* u, A/ m* E3 A
  1915. . b8 i0 Y' v2 r( s2 R- n
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.3 O, i/ z* C/ E# @
  1917. ; Only numbers between 200 and 100000 are allowed./ @% T4 e2 F3 s  i, F8 U/ R5 K
  1918. ;opcache.max_accelerated_files=2000+ b( t0 Y9 k# s& j, s, s

  1919. & d3 z' Z0 y* c3 |3 M
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ( t4 o& `8 L( J* k1 i" [
  1921. ;opcache.max_wasted_percentage=5
    2 k: O& G* @% j+ P3 {; |
  1922. $ Q5 s8 }1 y/ ?. m" `) o# @" u
  1923. ; When this directive is enabled, the OPcache appends the current working
    . d" r6 T3 ?9 b0 O0 N
  1924. ; directory to the script key, thus eliminating possible collisions between
    0 K$ _  r; I5 H, @
  1925. ; files with the same name (basename). Disabling the directive improves, \$ i- \0 ?2 p. b" V0 T* ~1 K
  1926. ; performance, but may break existing applications.
    2 O! l$ v, w. }: X
  1927. ;opcache.use_cwd=15 h. B2 G0 c. j6 k( D

  1928. , G/ A9 [0 i# Z, c) r! n8 R
  1929. ; When disabled, you must reset the OPcache manually or restart the- v/ ]5 y+ f1 k* x# C- m; l
  1930. ; webserver for changes to the filesystem to take effect.
    & i3 A4 h+ i9 V( d. q
  1931. ;opcache.validate_timestamps=19 X9 U( R8 H( g* d5 x

  1932. 4 Q* b! S% I9 T5 J1 r
  1933. ; How often (in seconds) to check file timestamps for changes to the shared% Z* L: s9 G' X" N9 S4 l' {
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    % O8 e& p! F- s0 ^. G/ {
  1935. ; once per request. "0" means always validate)
    1 {' \2 T; C$ o2 K) ^# I
  1936. ;opcache.revalidate_freq=2; ^1 W$ w: ^" n" ^- ?1 ^5 E8 R7 b
  1937. 2 T: t/ b3 B: K6 x
  1938. ; Enables or disables file search in include_path optimization
    ) ^; c- c! l( X5 G
  1939. ;opcache.revalidate_path=0
    0 B# q9 \; m/ o$ H4 N0 \, z& D

  1940. 3 t% Z: C! K6 s. t, S$ u$ g. _
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the( U4 P4 h4 b0 g. ^# {! o" }# e
  1942. ; size of the optimized code.6 x7 O* T5 n8 T; s, y
  1943. ;opcache.save_comments=1
    : g$ ], w2 s' n4 _5 o, G; P1 w

  1944. 9 h2 m! l  Y! p. D5 P; f
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    5 S9 X2 i: B5 Q
  1946. ; may be always stored (save_comments=1), but not loaded by applications( Y! T8 P9 C$ {
  1947. ; that don't need them anyway.+ W" S* }/ I" q* ]. ^8 Z% v
  1948. ;opcache.load_comments=1
    4 Z1 m' _. h4 q

  1949. . O) m7 b2 ]; J* ]
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ! w" `; |- G& O# R8 ]# V
  1951. ;opcache.fast_shutdown=0
    ( o5 S) Z2 n6 l& h

  1952. 7 q* o& H( u7 K/ @
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    % d) O& R7 l9 X# V% ?
  1954. ;opcache.enable_file_override=0, `5 M0 N8 y2 R% {
  1955. - c4 [" ^# W3 T* o$ i0 C/ r
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache; h* i" _3 T4 X$ m. n# \) h
  1957. ; passes$ L6 @0 V3 {& |" L4 e' s8 I
  1958. ;opcache.optimization_level=0xffffffff
    * u, I, B- ^( K2 \1 R/ h- G
  1959. ! M  I6 v/ d6 l2 E. z
  1960. ;opcache.inherited_hack=1
    2 X* V- ~9 q5 f; `( w1 r! c
  1961. ;opcache.dups_fix=0
    9 ?: J( [4 P  ?% ~6 i: q# ?: `: c$ i
  1962. # h% _3 L" q5 G) H% r" d
  1963. ; The location of the OPcache blacklist file (wildcards allowed).8 g+ \4 ~6 ^3 o: ?' x, Y
  1964. ; Each OPcache blacklist file is a text file that holds the names of files& \& Z) @2 K6 p2 n+ D; W. B
  1965. ; that should not be accelerated. The file format is to add each filename: U/ |$ w3 w+ o% n2 C
  1966. ; to a new line. The filename may be a full path or just a file prefix- t- v* r: a) w  J- m; {  |
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www3 w0 k3 d4 k# f. k& U6 H* Q
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).3 E8 j' D2 @( `6 g# s1 i6 z
  1969. ;opcache.blacklist_filename=- E* p+ f' i7 k7 ]  Q; k% W4 N

  1970. * D% V1 r0 k+ V, n! q/ h( L
  1971. ; Allows exclusion of large files from being cached. By default all files/ N  Z9 Z* `: [) {9 k/ i3 K- @" b7 g
  1972. ; are cached.
    7 k: o/ j1 h. A6 S
  1973. ;opcache.max_file_size=0: e* T7 b$ q+ J" q' ~
  1974. ; T2 r+ R, `. x' r, J
  1975. ; Check the cache checksum each N requests.! m; P7 H- F; M# w& }6 L: H- a
  1976. ; The default value of "0" means that the checks are disabled./ A! D$ b7 Y8 u! R, l+ C0 Z
  1977. ;opcache.consistency_checks=0) F. A7 w. E; }/ z) I

  1978. : E# k* j# H& O+ {: Q6 \* ]( l
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ; Z7 W  \  f8 `1 m: I* R+ j
  1980. ; is not being accessed./ H0 G  A3 ~6 D. X6 {
  1981. ;opcache.force_restart_timeout=180
    % X, I3 R! p8 l2 q  [

  1982. $ h& A2 _& Q* @8 L( h# d5 S# K8 _# Y
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    # _" z6 u. t0 x% E. w* j) m" y
  1984. ;opcache.error_log=+ O$ {, G+ `/ F  j/ I+ y7 k6 z
  1985. " c/ O3 j6 m- }, W6 V" c  G( h
  1986. ; All OPcache errors go to the Web server log./ U( O2 A; v9 _" S. \# O# ?
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    9 @& l1 t: o1 u( X8 k
  1988. ; You can also enable warnings (level 2), info messages (level 3) or' X) V  d, d$ O- z$ M: `; i
  1989. ; debug messages (level 4).$ B7 H  l- `( A7 T: v: y
  1990. ;opcache.log_verbosity_level=1
    $ j4 P1 J" l7 x

  1991. 1 c& w3 Y( j5 k" f& B+ O
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.  y! O9 f0 v7 h: g! K+ B
  1993. ;opcache.preferred_memory_model=) q# r% \+ r1 f  R: j

  1994. ( L3 h  L& Z7 k1 z0 I' n" D
  1995. ; Protect the shared memory from unexpected writing during script execution.7 N" n" D2 |. `  D1 ~
  1996. ; Useful for internal debugging only.
    * m2 {2 Z5 }  d* l7 u
  1997. ;opcache.protect_memory=0
    . ?9 J1 F0 T7 i; T" E0 g/ p

  1998. 8 l0 b: l* o+ I4 Z
  1999. ; Validate cached file permissions.
    9 M1 |6 Q0 I# u! i* w( Z
  2000. ; opcache.validate_permission=0$ f- h4 @3 R" Z8 h8 ?" I. y
  2001. 6 Y$ c/ I4 G$ ]
  2002. ; Prevent name collisions in chroot'ed environment.7 Y; L% D) T# [9 U& ]" x/ G9 m4 u  e
  2003. ; opcache.validate_root=0
    1 `9 P+ O+ k1 X4 i/ o

  2004.   b% A& O6 c7 k& u% c; Y. d
  2005. [curl]
    + x% u; ^' C9 A3 z
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ' Z9 P1 y+ P. y. E
  2007. ; absolute path.5 W0 r- ^# x# t3 T' r
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt! G* E1 z1 M# c0 P: N4 ^
  2009. 0 q4 I3 d5 L/ J+ I1 B
  2010. [openssl]
    $ {% F2 k- z5 I$ F' D5 ^' h" B
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    & B9 A2 w5 G: V
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should) d8 S* q- F4 h" l# q, l1 |
  2013. ; not specify a value for this directive as PHP will attempt to use the
    8 Q% a. z0 G( d1 L  N5 P
  2014. ; OS-managed cert stores in its absence. If specified, this value may still( l% t0 a6 E5 H, c5 A( N
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    - ~% ^! X! ]8 q* N) z/ r
  2016. ; option., y3 e* H. N0 b1 p
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    # j8 \3 [$ m, D' Z  D

  2018. ' d  _4 f2 H! n& l, e
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the! e8 H4 s4 L% e3 m9 T% t( {) l
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    2 u$ ~3 {* U8 }7 R8 L- r, f
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    + ]1 ?  J( u8 a6 r5 U
  2022. ; Most users should not specify a value for this directive as PHP will
    ! K" P3 h% j& j# o( x" d
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,2 v3 T! X$ N* F& K- }
  2024. ; this value may still be overridden on a per-stream basis via the "capath"- L, x" K$ L- ^/ {( ~
  2025. ; SSL stream context option.
    8 A& A1 \( h  O- ^* Y; G8 B
  2026. ;openssl.capath=
    9 c$ }: D; e! s

  2027. 7 [4 Y/ R! g2 N0 K8 r
  2028. ; Local Variables:
    ! D( }: ~9 X1 |, Z# V7 j  U
  2029. ; tab-width: 4$ a! b5 ?* k9 L$ V
  2030. ; End:! Z7 v7 i/ |/ ]' j* g( t

  2031. & L* c& \$ V7 n4 b5 [- _1 W) H3 e
  2032. ;eaccelerator$ I% v! i$ Z; a& ?1 k, k1 y
  2033. 8 A7 O. R- y( J  h' _
  2034. ;ionCube
    ; A6 O, A  B8 n# w; P9 o

  2035. " z7 ^( s) k& l0 c
  2036. ;opcache6 s- Q2 o. q7 x$ C: y" @
  2037. 3 G% R. Q" e8 s8 K: m
  2038. [Zend ZendGuard Loader]2 @' U$ o3 o5 a4 Q  }9 h
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ' g+ O+ h+ s( r$ b3 n4 G# J1 {. A
  2040. zend_loader.enable=1
    2 }, C# ]- C; |/ M- R  g
  2041. zend_loader.disable_licensing=0) C" T- S' y8 x, B. |- g. _
  2042. zend_loader.obfuscation_level_support=3/ M, g* s7 b! `# }% p" D. i
  2043. zend_loader.license_path=7 o9 e8 @& X/ D
  2044. ) G  ]! O, |, Q! K
  2045. ;xcache
    7 i9 E2 v; U3 r0 f/ r
  2046. : Q* O9 r, ?, ]
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
' m; U+ j: Z1 U' A3 w' ]# Z5 F+ ^# l3 ~( @- P) m0 b* a

' |; d0 m* O' ]0 H  m; x: H& P; WDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,3 t' q$ P6 w; |* t8 R7 E0 A; E# K* n
- j3 q1 H+ |8 r6 N
Discuz!程序版本选择:3 V' Z( ]" L. k0 M. M0 \: B# ~
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
( {! z$ {; J1 {# x不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:8 u* P+ E  i$ i" y
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
: ~$ g+ F& r6 S; _! Z2 k
4 t6 ]/ w: _! xDiscuz!插件模板版本选择:2 x; I5 u1 V+ w) A6 A- p2 f
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
) `; J$ P; b8 W针对这个问题做个统一的普及:5 ^; }1 ]5 L; |- J: h
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
. [: V8 X4 W0 a0 s9 L! K1 e! O, X4 d: G, Y, ]% k9 F1 T/ D: g2 a
所以# Q1 {4 \& X( o) a0 e
适合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的二级域名。
8 m( F5 i7 b4 A. x* f6 f打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
6 |% P( c- J; e) G! U8 s1 J. o1 k* E注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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